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_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_COCOA 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
7011 ## FIXME: This is a blatant hack
7012 if test "x$wxUSE_COCOA" != "x" -a "$wxUSE_COCOA" != "0" ; then
7013 wxUSE_PRINTING_ARCHITECTURE
=no
7014 wxUSE_DRAG_AND_DROP
=no
7015 DEFAULT_wxUSE_DRAGIMAGE
=no
7020 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-accel" >&5
7021 echo $ECHO_N "checking for --${enablestring:-enable}-accel... $ECHO_C" >&6
7023 # Check whether --enable-accel or --disable-accel was given.
7024 if test "${enable_accel+set}" = set; then
7025 enableval
="$enable_accel"
7027 if test "$enableval" = yes; then
7028 ac_cv_use_accel
='wxUSE_ACCEL=yes'
7030 ac_cv_use_accel
='wxUSE_ACCEL=no'
7035 LINE
=`grep "wxUSE_ACCEL" ${wx_arg_cache_file}`
7036 if test "x$LINE" != x
; then
7037 eval "DEFAULT_$LINE"
7042 ac_cv_use_accel
='wxUSE_ACCEL='$DEFAULT_wxUSE_ACCEL
7046 eval "$ac_cv_use_accel"
7047 if test "$no_cache" != 1; then
7048 echo $ac_cv_use_accel >> ${wx_arg_cache_file}.tmp
7051 if test "$wxUSE_ACCEL" = yes; then
7052 echo "$as_me:$LINENO: result: yes" >&5
7053 echo "${ECHO_T}yes" >&6
7055 echo "$as_me:$LINENO: result: no" >&5
7056 echo "${ECHO_T}no" >&6
7061 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-button" >&5
7062 echo $ECHO_N "checking for --${enablestring:-enable}-button... $ECHO_C" >&6
7064 # Check whether --enable-button or --disable-button was given.
7065 if test "${enable_button+set}" = set; then
7066 enableval
="$enable_button"
7068 if test "$enableval" = yes; then
7069 ac_cv_use_button
='wxUSE_BUTTON=yes'
7071 ac_cv_use_button
='wxUSE_BUTTON=no'
7076 LINE
=`grep "wxUSE_BUTTON" ${wx_arg_cache_file}`
7077 if test "x$LINE" != x
; then
7078 eval "DEFAULT_$LINE"
7083 ac_cv_use_button
='wxUSE_BUTTON='$DEFAULT_wxUSE_BUTTON
7087 eval "$ac_cv_use_button"
7088 if test "$no_cache" != 1; then
7089 echo $ac_cv_use_button >> ${wx_arg_cache_file}.tmp
7092 if test "$wxUSE_BUTTON" = yes; then
7093 echo "$as_me:$LINENO: result: yes" >&5
7094 echo "${ECHO_T}yes" >&6
7096 echo "$as_me:$LINENO: result: no" >&5
7097 echo "${ECHO_T}no" >&6
7102 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-bmpbutton" >&5
7103 echo $ECHO_N "checking for --${enablestring:-enable}-bmpbutton... $ECHO_C" >&6
7105 # Check whether --enable-bmpbutton or --disable-bmpbutton was given.
7106 if test "${enable_bmpbutton+set}" = set; then
7107 enableval
="$enable_bmpbutton"
7109 if test "$enableval" = yes; then
7110 ac_cv_use_bmpbutton
='wxUSE_BMPBUTTON=yes'
7112 ac_cv_use_bmpbutton
='wxUSE_BMPBUTTON=no'
7117 LINE
=`grep "wxUSE_BMPBUTTON" ${wx_arg_cache_file}`
7118 if test "x$LINE" != x
; then
7119 eval "DEFAULT_$LINE"
7124 ac_cv_use_bmpbutton
='wxUSE_BMPBUTTON='$DEFAULT_wxUSE_BMPBUTTON
7128 eval "$ac_cv_use_bmpbutton"
7129 if test "$no_cache" != 1; then
7130 echo $ac_cv_use_bmpbutton >> ${wx_arg_cache_file}.tmp
7133 if test "$wxUSE_BMPBUTTON" = yes; then
7134 echo "$as_me:$LINENO: result: yes" >&5
7135 echo "${ECHO_T}yes" >&6
7137 echo "$as_me:$LINENO: result: no" >&5
7138 echo "${ECHO_T}no" >&6
7143 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-calendar" >&5
7144 echo $ECHO_N "checking for --${enablestring:-enable}-calendar... $ECHO_C" >&6
7146 # Check whether --enable-calendar or --disable-calendar was given.
7147 if test "${enable_calendar+set}" = set; then
7148 enableval
="$enable_calendar"
7150 if test "$enableval" = yes; then
7151 ac_cv_use_calendar
='wxUSE_CALCTRL=yes'
7153 ac_cv_use_calendar
='wxUSE_CALCTRL=no'
7158 LINE
=`grep "wxUSE_CALCTRL" ${wx_arg_cache_file}`
7159 if test "x$LINE" != x
; then
7160 eval "DEFAULT_$LINE"
7165 ac_cv_use_calendar
='wxUSE_CALCTRL='$DEFAULT_wxUSE_CALCTRL
7169 eval "$ac_cv_use_calendar"
7170 if test "$no_cache" != 1; then
7171 echo $ac_cv_use_calendar >> ${wx_arg_cache_file}.tmp
7174 if test "$wxUSE_CALCTRL" = yes; then
7175 echo "$as_me:$LINENO: result: yes" >&5
7176 echo "${ECHO_T}yes" >&6
7178 echo "$as_me:$LINENO: result: no" >&5
7179 echo "${ECHO_T}no" >&6
7184 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-caret" >&5
7185 echo $ECHO_N "checking for --${enablestring:-enable}-caret... $ECHO_C" >&6
7187 # Check whether --enable-caret or --disable-caret was given.
7188 if test "${enable_caret+set}" = set; then
7189 enableval
="$enable_caret"
7191 if test "$enableval" = yes; then
7192 ac_cv_use_caret
='wxUSE_CARET=yes'
7194 ac_cv_use_caret
='wxUSE_CARET=no'
7199 LINE
=`grep "wxUSE_CARET" ${wx_arg_cache_file}`
7200 if test "x$LINE" != x
; then
7201 eval "DEFAULT_$LINE"
7206 ac_cv_use_caret
='wxUSE_CARET='$DEFAULT_wxUSE_CARET
7210 eval "$ac_cv_use_caret"
7211 if test "$no_cache" != 1; then
7212 echo $ac_cv_use_caret >> ${wx_arg_cache_file}.tmp
7215 if test "$wxUSE_CARET" = yes; then
7216 echo "$as_me:$LINENO: result: yes" >&5
7217 echo "${ECHO_T}yes" >&6
7219 echo "$as_me:$LINENO: result: no" >&5
7220 echo "${ECHO_T}no" >&6
7225 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-checkbox" >&5
7226 echo $ECHO_N "checking for --${enablestring:-enable}-checkbox... $ECHO_C" >&6
7228 # Check whether --enable-checkbox or --disable-checkbox was given.
7229 if test "${enable_checkbox+set}" = set; then
7230 enableval
="$enable_checkbox"
7232 if test "$enableval" = yes; then
7233 ac_cv_use_checkbox
='wxUSE_CHECKBOX=yes'
7235 ac_cv_use_checkbox
='wxUSE_CHECKBOX=no'
7240 LINE
=`grep "wxUSE_CHECKBOX" ${wx_arg_cache_file}`
7241 if test "x$LINE" != x
; then
7242 eval "DEFAULT_$LINE"
7247 ac_cv_use_checkbox
='wxUSE_CHECKBOX='$DEFAULT_wxUSE_CHECKBOX
7251 eval "$ac_cv_use_checkbox"
7252 if test "$no_cache" != 1; then
7253 echo $ac_cv_use_checkbox >> ${wx_arg_cache_file}.tmp
7256 if test "$wxUSE_CHECKBOX" = yes; then
7257 echo "$as_me:$LINENO: result: yes" >&5
7258 echo "${ECHO_T}yes" >&6
7260 echo "$as_me:$LINENO: result: no" >&5
7261 echo "${ECHO_T}no" >&6
7266 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-checklst" >&5
7267 echo $ECHO_N "checking for --${enablestring:-enable}-checklst... $ECHO_C" >&6
7269 # Check whether --enable-checklst or --disable-checklst was given.
7270 if test "${enable_checklst+set}" = set; then
7271 enableval
="$enable_checklst"
7273 if test "$enableval" = yes; then
7274 ac_cv_use_checklst
='wxUSE_CHECKLST=yes'
7276 ac_cv_use_checklst
='wxUSE_CHECKLST=no'
7281 LINE
=`grep "wxUSE_CHECKLST" ${wx_arg_cache_file}`
7282 if test "x$LINE" != x
; then
7283 eval "DEFAULT_$LINE"
7288 ac_cv_use_checklst
='wxUSE_CHECKLST='$DEFAULT_wxUSE_CHECKLST
7292 eval "$ac_cv_use_checklst"
7293 if test "$no_cache" != 1; then
7294 echo $ac_cv_use_checklst >> ${wx_arg_cache_file}.tmp
7297 if test "$wxUSE_CHECKLST" = yes; then
7298 echo "$as_me:$LINENO: result: yes" >&5
7299 echo "${ECHO_T}yes" >&6
7301 echo "$as_me:$LINENO: result: no" >&5
7302 echo "${ECHO_T}no" >&6
7307 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choice" >&5
7308 echo $ECHO_N "checking for --${enablestring:-enable}-choice... $ECHO_C" >&6
7310 # Check whether --enable-choice or --disable-choice was given.
7311 if test "${enable_choice+set}" = set; then
7312 enableval
="$enable_choice"
7314 if test "$enableval" = yes; then
7315 ac_cv_use_choice
='wxUSE_CHOICE=yes'
7317 ac_cv_use_choice
='wxUSE_CHOICE=no'
7322 LINE
=`grep "wxUSE_CHOICE" ${wx_arg_cache_file}`
7323 if test "x$LINE" != x
; then
7324 eval "DEFAULT_$LINE"
7329 ac_cv_use_choice
='wxUSE_CHOICE='$DEFAULT_wxUSE_CHOICE
7333 eval "$ac_cv_use_choice"
7334 if test "$no_cache" != 1; then
7335 echo $ac_cv_use_choice >> ${wx_arg_cache_file}.tmp
7338 if test "$wxUSE_CHOICE" = yes; then
7339 echo "$as_me:$LINENO: result: yes" >&5
7340 echo "${ECHO_T}yes" >&6
7342 echo "$as_me:$LINENO: result: no" >&5
7343 echo "${ECHO_T}no" >&6
7348 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choicebook" >&5
7349 echo $ECHO_N "checking for --${enablestring:-enable}-choicebook... $ECHO_C" >&6
7351 # Check whether --enable-choicebook or --disable-choicebook was given.
7352 if test "${enable_choicebook+set}" = set; then
7353 enableval
="$enable_choicebook"
7355 if test "$enableval" = yes; then
7356 ac_cv_use_choicebook
='wxUSE_CHOICEBOOK=yes'
7358 ac_cv_use_choicebook
='wxUSE_CHOICEBOOK=no'
7363 LINE
=`grep "wxUSE_CHOICEBOOK" ${wx_arg_cache_file}`
7364 if test "x$LINE" != x
; then
7365 eval "DEFAULT_$LINE"
7370 ac_cv_use_choicebook
='wxUSE_CHOICEBOOK='$DEFAULT_wxUSE_CHOICEBOOK
7374 eval "$ac_cv_use_choicebook"
7375 if test "$no_cache" != 1; then
7376 echo $ac_cv_use_choicebook >> ${wx_arg_cache_file}.tmp
7379 if test "$wxUSE_CHOICEBOOK" = yes; then
7380 echo "$as_me:$LINENO: result: yes" >&5
7381 echo "${ECHO_T}yes" >&6
7383 echo "$as_me:$LINENO: result: no" >&5
7384 echo "${ECHO_T}no" >&6
7389 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-combobox" >&5
7390 echo $ECHO_N "checking for --${enablestring:-enable}-combobox... $ECHO_C" >&6
7392 # Check whether --enable-combobox or --disable-combobox was given.
7393 if test "${enable_combobox+set}" = set; then
7394 enableval
="$enable_combobox"
7396 if test "$enableval" = yes; then
7397 ac_cv_use_combobox
='wxUSE_COMBOBOX=yes'
7399 ac_cv_use_combobox
='wxUSE_COMBOBOX=no'
7404 LINE
=`grep "wxUSE_COMBOBOX" ${wx_arg_cache_file}`
7405 if test "x$LINE" != x
; then
7406 eval "DEFAULT_$LINE"
7411 ac_cv_use_combobox
='wxUSE_COMBOBOX='$DEFAULT_wxUSE_COMBOBOX
7415 eval "$ac_cv_use_combobox"
7416 if test "$no_cache" != 1; then
7417 echo $ac_cv_use_combobox >> ${wx_arg_cache_file}.tmp
7420 if test "$wxUSE_COMBOBOX" = yes; then
7421 echo "$as_me:$LINENO: result: yes" >&5
7422 echo "${ECHO_T}yes" >&6
7424 echo "$as_me:$LINENO: result: no" >&5
7425 echo "${ECHO_T}no" >&6
7430 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-display" >&5
7431 echo $ECHO_N "checking for --${enablestring:-enable}-display... $ECHO_C" >&6
7433 # Check whether --enable-display or --disable-display was given.
7434 if test "${enable_display+set}" = set; then
7435 enableval
="$enable_display"
7437 if test "$enableval" = yes; then
7438 ac_cv_use_display
='wxUSE_DISPLAY=yes'
7440 ac_cv_use_display
='wxUSE_DISPLAY=no'
7445 LINE
=`grep "wxUSE_DISPLAY" ${wx_arg_cache_file}`
7446 if test "x$LINE" != x
; then
7447 eval "DEFAULT_$LINE"
7452 ac_cv_use_display
='wxUSE_DISPLAY='$DEFAULT_wxUSE_DISPLAY
7456 eval "$ac_cv_use_display"
7457 if test "$no_cache" != 1; then
7458 echo $ac_cv_use_display >> ${wx_arg_cache_file}.tmp
7461 if test "$wxUSE_DISPLAY" = yes; then
7462 echo "$as_me:$LINENO: result: yes" >&5
7463 echo "${ECHO_T}yes" >&6
7465 echo "$as_me:$LINENO: result: no" >&5
7466 echo "${ECHO_T}no" >&6
7471 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gauge" >&5
7472 echo $ECHO_N "checking for --${enablestring:-enable}-gauge... $ECHO_C" >&6
7474 # Check whether --enable-gauge or --disable-gauge was given.
7475 if test "${enable_gauge+set}" = set; then
7476 enableval
="$enable_gauge"
7478 if test "$enableval" = yes; then
7479 ac_cv_use_gauge
='wxUSE_GAUGE=yes'
7481 ac_cv_use_gauge
='wxUSE_GAUGE=no'
7486 LINE
=`grep "wxUSE_GAUGE" ${wx_arg_cache_file}`
7487 if test "x$LINE" != x
; then
7488 eval "DEFAULT_$LINE"
7493 ac_cv_use_gauge
='wxUSE_GAUGE='$DEFAULT_wxUSE_GAUGE
7497 eval "$ac_cv_use_gauge"
7498 if test "$no_cache" != 1; then
7499 echo $ac_cv_use_gauge >> ${wx_arg_cache_file}.tmp
7502 if test "$wxUSE_GAUGE" = yes; then
7503 echo "$as_me:$LINENO: result: yes" >&5
7504 echo "${ECHO_T}yes" >&6
7506 echo "$as_me:$LINENO: result: no" >&5
7507 echo "${ECHO_T}no" >&6
7512 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-grid" >&5
7513 echo $ECHO_N "checking for --${enablestring:-enable}-grid... $ECHO_C" >&6
7515 # Check whether --enable-grid or --disable-grid was given.
7516 if test "${enable_grid+set}" = set; then
7517 enableval
="$enable_grid"
7519 if test "$enableval" = yes; then
7520 ac_cv_use_grid
='wxUSE_GRID=yes'
7522 ac_cv_use_grid
='wxUSE_GRID=no'
7527 LINE
=`grep "wxUSE_GRID" ${wx_arg_cache_file}`
7528 if test "x$LINE" != x
; then
7529 eval "DEFAULT_$LINE"
7534 ac_cv_use_grid
='wxUSE_GRID='$DEFAULT_wxUSE_GRID
7538 eval "$ac_cv_use_grid"
7539 if test "$no_cache" != 1; then
7540 echo $ac_cv_use_grid >> ${wx_arg_cache_file}.tmp
7543 if test "$wxUSE_GRID" = yes; then
7544 echo "$as_me:$LINENO: result: yes" >&5
7545 echo "${ECHO_T}yes" >&6
7547 echo "$as_me:$LINENO: result: no" >&5
7548 echo "${ECHO_T}no" >&6
7553 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-imaglist" >&5
7554 echo $ECHO_N "checking for --${enablestring:-enable}-imaglist... $ECHO_C" >&6
7556 # Check whether --enable-imaglist or --disable-imaglist was given.
7557 if test "${enable_imaglist+set}" = set; then
7558 enableval
="$enable_imaglist"
7560 if test "$enableval" = yes; then
7561 ac_cv_use_imaglist
='wxUSE_IMAGLIST=yes'
7563 ac_cv_use_imaglist
='wxUSE_IMAGLIST=no'
7568 LINE
=`grep "wxUSE_IMAGLIST" ${wx_arg_cache_file}`
7569 if test "x$LINE" != x
; then
7570 eval "DEFAULT_$LINE"
7575 ac_cv_use_imaglist
='wxUSE_IMAGLIST='$DEFAULT_wxUSE_IMAGLIST
7579 eval "$ac_cv_use_imaglist"
7580 if test "$no_cache" != 1; then
7581 echo $ac_cv_use_imaglist >> ${wx_arg_cache_file}.tmp
7584 if test "$wxUSE_IMAGLIST" = yes; then
7585 echo "$as_me:$LINENO: result: yes" >&5
7586 echo "${ECHO_T}yes" >&6
7588 echo "$as_me:$LINENO: result: no" >&5
7589 echo "${ECHO_T}no" >&6
7594 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listbook" >&5
7595 echo $ECHO_N "checking for --${enablestring:-enable}-listbook... $ECHO_C" >&6
7597 # Check whether --enable-listbook or --disable-listbook was given.
7598 if test "${enable_listbook+set}" = set; then
7599 enableval
="$enable_listbook"
7601 if test "$enableval" = yes; then
7602 ac_cv_use_listbook
='wxUSE_LISTBOOK=yes'
7604 ac_cv_use_listbook
='wxUSE_LISTBOOK=no'
7609 LINE
=`grep "wxUSE_LISTBOOK" ${wx_arg_cache_file}`
7610 if test "x$LINE" != x
; then
7611 eval "DEFAULT_$LINE"
7616 ac_cv_use_listbook
='wxUSE_LISTBOOK='$DEFAULT_wxUSE_LISTBOOK
7620 eval "$ac_cv_use_listbook"
7621 if test "$no_cache" != 1; then
7622 echo $ac_cv_use_listbook >> ${wx_arg_cache_file}.tmp
7625 if test "$wxUSE_LISTBOOK" = yes; then
7626 echo "$as_me:$LINENO: result: yes" >&5
7627 echo "${ECHO_T}yes" >&6
7629 echo "$as_me:$LINENO: result: no" >&5
7630 echo "${ECHO_T}no" >&6
7635 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listbox" >&5
7636 echo $ECHO_N "checking for --${enablestring:-enable}-listbox... $ECHO_C" >&6
7638 # Check whether --enable-listbox or --disable-listbox was given.
7639 if test "${enable_listbox+set}" = set; then
7640 enableval
="$enable_listbox"
7642 if test "$enableval" = yes; then
7643 ac_cv_use_listbox
='wxUSE_LISTBOX=yes'
7645 ac_cv_use_listbox
='wxUSE_LISTBOX=no'
7650 LINE
=`grep "wxUSE_LISTBOX" ${wx_arg_cache_file}`
7651 if test "x$LINE" != x
; then
7652 eval "DEFAULT_$LINE"
7657 ac_cv_use_listbox
='wxUSE_LISTBOX='$DEFAULT_wxUSE_LISTBOX
7661 eval "$ac_cv_use_listbox"
7662 if test "$no_cache" != 1; then
7663 echo $ac_cv_use_listbox >> ${wx_arg_cache_file}.tmp
7666 if test "$wxUSE_LISTBOX" = yes; then
7667 echo "$as_me:$LINENO: result: yes" >&5
7668 echo "${ECHO_T}yes" >&6
7670 echo "$as_me:$LINENO: result: no" >&5
7671 echo "${ECHO_T}no" >&6
7676 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listctrl" >&5
7677 echo $ECHO_N "checking for --${enablestring:-enable}-listctrl... $ECHO_C" >&6
7679 # Check whether --enable-listctrl or --disable-listctrl was given.
7680 if test "${enable_listctrl+set}" = set; then
7681 enableval
="$enable_listctrl"
7683 if test "$enableval" = yes; then
7684 ac_cv_use_listctrl
='wxUSE_LISTCTRL=yes'
7686 ac_cv_use_listctrl
='wxUSE_LISTCTRL=no'
7691 LINE
=`grep "wxUSE_LISTCTRL" ${wx_arg_cache_file}`
7692 if test "x$LINE" != x
; then
7693 eval "DEFAULT_$LINE"
7698 ac_cv_use_listctrl
='wxUSE_LISTCTRL='$DEFAULT_wxUSE_LISTCTRL
7702 eval "$ac_cv_use_listctrl"
7703 if test "$no_cache" != 1; then
7704 echo $ac_cv_use_listctrl >> ${wx_arg_cache_file}.tmp
7707 if test "$wxUSE_LISTCTRL" = yes; then
7708 echo "$as_me:$LINENO: result: yes" >&5
7709 echo "${ECHO_T}yes" >&6
7711 echo "$as_me:$LINENO: result: no" >&5
7712 echo "${ECHO_T}no" >&6
7717 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-notebook" >&5
7718 echo $ECHO_N "checking for --${enablestring:-enable}-notebook... $ECHO_C" >&6
7720 # Check whether --enable-notebook or --disable-notebook was given.
7721 if test "${enable_notebook+set}" = set; then
7722 enableval
="$enable_notebook"
7724 if test "$enableval" = yes; then
7725 ac_cv_use_notebook
='wxUSE_NOTEBOOK=yes'
7727 ac_cv_use_notebook
='wxUSE_NOTEBOOK=no'
7732 LINE
=`grep "wxUSE_NOTEBOOK" ${wx_arg_cache_file}`
7733 if test "x$LINE" != x
; then
7734 eval "DEFAULT_$LINE"
7739 ac_cv_use_notebook
='wxUSE_NOTEBOOK='$DEFAULT_wxUSE_NOTEBOOK
7743 eval "$ac_cv_use_notebook"
7744 if test "$no_cache" != 1; then
7745 echo $ac_cv_use_notebook >> ${wx_arg_cache_file}.tmp
7748 if test "$wxUSE_NOTEBOOK" = yes; then
7749 echo "$as_me:$LINENO: result: yes" >&5
7750 echo "${ECHO_T}yes" >&6
7752 echo "$as_me:$LINENO: result: no" >&5
7753 echo "${ECHO_T}no" >&6
7758 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-radiobox" >&5
7759 echo $ECHO_N "checking for --${enablestring:-enable}-radiobox... $ECHO_C" >&6
7761 # Check whether --enable-radiobox or --disable-radiobox was given.
7762 if test "${enable_radiobox+set}" = set; then
7763 enableval
="$enable_radiobox"
7765 if test "$enableval" = yes; then
7766 ac_cv_use_radiobox
='wxUSE_RADIOBOX=yes'
7768 ac_cv_use_radiobox
='wxUSE_RADIOBOX=no'
7773 LINE
=`grep "wxUSE_RADIOBOX" ${wx_arg_cache_file}`
7774 if test "x$LINE" != x
; then
7775 eval "DEFAULT_$LINE"
7780 ac_cv_use_radiobox
='wxUSE_RADIOBOX='$DEFAULT_wxUSE_RADIOBOX
7784 eval "$ac_cv_use_radiobox"
7785 if test "$no_cache" != 1; then
7786 echo $ac_cv_use_radiobox >> ${wx_arg_cache_file}.tmp
7789 if test "$wxUSE_RADIOBOX" = yes; then
7790 echo "$as_me:$LINENO: result: yes" >&5
7791 echo "${ECHO_T}yes" >&6
7793 echo "$as_me:$LINENO: result: no" >&5
7794 echo "${ECHO_T}no" >&6
7799 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-radiobtn" >&5
7800 echo $ECHO_N "checking for --${enablestring:-enable}-radiobtn... $ECHO_C" >&6
7802 # Check whether --enable-radiobtn or --disable-radiobtn was given.
7803 if test "${enable_radiobtn+set}" = set; then
7804 enableval
="$enable_radiobtn"
7806 if test "$enableval" = yes; then
7807 ac_cv_use_radiobtn
='wxUSE_RADIOBTN=yes'
7809 ac_cv_use_radiobtn
='wxUSE_RADIOBTN=no'
7814 LINE
=`grep "wxUSE_RADIOBTN" ${wx_arg_cache_file}`
7815 if test "x$LINE" != x
; then
7816 eval "DEFAULT_$LINE"
7821 ac_cv_use_radiobtn
='wxUSE_RADIOBTN='$DEFAULT_wxUSE_RADIOBTN
7825 eval "$ac_cv_use_radiobtn"
7826 if test "$no_cache" != 1; then
7827 echo $ac_cv_use_radiobtn >> ${wx_arg_cache_file}.tmp
7830 if test "$wxUSE_RADIOBTN" = yes; then
7831 echo "$as_me:$LINENO: result: yes" >&5
7832 echo "${ECHO_T}yes" >&6
7834 echo "$as_me:$LINENO: result: no" >&5
7835 echo "${ECHO_T}no" >&6
7840 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sash" >&5
7841 echo $ECHO_N "checking for --${enablestring:-enable}-sash... $ECHO_C" >&6
7843 # Check whether --enable-sash or --disable-sash was given.
7844 if test "${enable_sash+set}" = set; then
7845 enableval
="$enable_sash"
7847 if test "$enableval" = yes; then
7848 ac_cv_use_sash
='wxUSE_SASH=yes'
7850 ac_cv_use_sash
='wxUSE_SASH=no'
7855 LINE
=`grep "wxUSE_SASH" ${wx_arg_cache_file}`
7856 if test "x$LINE" != x
; then
7857 eval "DEFAULT_$LINE"
7862 ac_cv_use_sash
='wxUSE_SASH='$DEFAULT_wxUSE_SASH
7866 eval "$ac_cv_use_sash"
7867 if test "$no_cache" != 1; then
7868 echo $ac_cv_use_sash >> ${wx_arg_cache_file}.tmp
7871 if test "$wxUSE_SASH" = yes; then
7872 echo "$as_me:$LINENO: result: yes" >&5
7873 echo "${ECHO_T}yes" >&6
7875 echo "$as_me:$LINENO: result: no" >&5
7876 echo "${ECHO_T}no" >&6
7881 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-scrollbar" >&5
7882 echo $ECHO_N "checking for --${enablestring:-enable}-scrollbar... $ECHO_C" >&6
7884 # Check whether --enable-scrollbar or --disable-scrollbar was given.
7885 if test "${enable_scrollbar+set}" = set; then
7886 enableval
="$enable_scrollbar"
7888 if test "$enableval" = yes; then
7889 ac_cv_use_scrollbar
='wxUSE_SCROLLBAR=yes'
7891 ac_cv_use_scrollbar
='wxUSE_SCROLLBAR=no'
7896 LINE
=`grep "wxUSE_SCROLLBAR" ${wx_arg_cache_file}`
7897 if test "x$LINE" != x
; then
7898 eval "DEFAULT_$LINE"
7903 ac_cv_use_scrollbar
='wxUSE_SCROLLBAR='$DEFAULT_wxUSE_SCROLLBAR
7907 eval "$ac_cv_use_scrollbar"
7908 if test "$no_cache" != 1; then
7909 echo $ac_cv_use_scrollbar >> ${wx_arg_cache_file}.tmp
7912 if test "$wxUSE_SCROLLBAR" = yes; then
7913 echo "$as_me:$LINENO: result: yes" >&5
7914 echo "${ECHO_T}yes" >&6
7916 echo "$as_me:$LINENO: result: no" >&5
7917 echo "${ECHO_T}no" >&6
7922 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-slider" >&5
7923 echo $ECHO_N "checking for --${enablestring:-enable}-slider... $ECHO_C" >&6
7925 # Check whether --enable-slider or --disable-slider was given.
7926 if test "${enable_slider+set}" = set; then
7927 enableval
="$enable_slider"
7929 if test "$enableval" = yes; then
7930 ac_cv_use_slider
='wxUSE_SLIDER=yes'
7932 ac_cv_use_slider
='wxUSE_SLIDER=no'
7937 LINE
=`grep "wxUSE_SLIDER" ${wx_arg_cache_file}`
7938 if test "x$LINE" != x
; then
7939 eval "DEFAULT_$LINE"
7944 ac_cv_use_slider
='wxUSE_SLIDER='$DEFAULT_wxUSE_SLIDER
7948 eval "$ac_cv_use_slider"
7949 if test "$no_cache" != 1; then
7950 echo $ac_cv_use_slider >> ${wx_arg_cache_file}.tmp
7953 if test "$wxUSE_SLIDER" = yes; then
7954 echo "$as_me:$LINENO: result: yes" >&5
7955 echo "${ECHO_T}yes" >&6
7957 echo "$as_me:$LINENO: result: no" >&5
7958 echo "${ECHO_T}no" >&6
7963 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-spinbtn" >&5
7964 echo $ECHO_N "checking for --${enablestring:-enable}-spinbtn... $ECHO_C" >&6
7966 # Check whether --enable-spinbtn or --disable-spinbtn was given.
7967 if test "${enable_spinbtn+set}" = set; then
7968 enableval
="$enable_spinbtn"
7970 if test "$enableval" = yes; then
7971 ac_cv_use_spinbtn
='wxUSE_SPINBTN=yes'
7973 ac_cv_use_spinbtn
='wxUSE_SPINBTN=no'
7978 LINE
=`grep "wxUSE_SPINBTN" ${wx_arg_cache_file}`
7979 if test "x$LINE" != x
; then
7980 eval "DEFAULT_$LINE"
7985 ac_cv_use_spinbtn
='wxUSE_SPINBTN='$DEFAULT_wxUSE_SPINBTN
7989 eval "$ac_cv_use_spinbtn"
7990 if test "$no_cache" != 1; then
7991 echo $ac_cv_use_spinbtn >> ${wx_arg_cache_file}.tmp
7994 if test "$wxUSE_SPINBTN" = yes; then
7995 echo "$as_me:$LINENO: result: yes" >&5
7996 echo "${ECHO_T}yes" >&6
7998 echo "$as_me:$LINENO: result: no" >&5
7999 echo "${ECHO_T}no" >&6
8004 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-spinctrl" >&5
8005 echo $ECHO_N "checking for --${enablestring:-enable}-spinctrl... $ECHO_C" >&6
8007 # Check whether --enable-spinctrl or --disable-spinctrl was given.
8008 if test "${enable_spinctrl+set}" = set; then
8009 enableval
="$enable_spinctrl"
8011 if test "$enableval" = yes; then
8012 ac_cv_use_spinctrl
='wxUSE_SPINCTRL=yes'
8014 ac_cv_use_spinctrl
='wxUSE_SPINCTRL=no'
8019 LINE
=`grep "wxUSE_SPINCTRL" ${wx_arg_cache_file}`
8020 if test "x$LINE" != x
; then
8021 eval "DEFAULT_$LINE"
8026 ac_cv_use_spinctrl
='wxUSE_SPINCTRL='$DEFAULT_wxUSE_SPINCTRL
8030 eval "$ac_cv_use_spinctrl"
8031 if test "$no_cache" != 1; then
8032 echo $ac_cv_use_spinctrl >> ${wx_arg_cache_file}.tmp
8035 if test "$wxUSE_SPINCTRL" = yes; then
8036 echo "$as_me:$LINENO: result: yes" >&5
8037 echo "${ECHO_T}yes" >&6
8039 echo "$as_me:$LINENO: result: no" >&5
8040 echo "${ECHO_T}no" >&6
8045 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splitter" >&5
8046 echo $ECHO_N "checking for --${enablestring:-enable}-splitter... $ECHO_C" >&6
8048 # Check whether --enable-splitter or --disable-splitter was given.
8049 if test "${enable_splitter+set}" = set; then
8050 enableval
="$enable_splitter"
8052 if test "$enableval" = yes; then
8053 ac_cv_use_splitter
='wxUSE_SPLITTER=yes'
8055 ac_cv_use_splitter
='wxUSE_SPLITTER=no'
8060 LINE
=`grep "wxUSE_SPLITTER" ${wx_arg_cache_file}`
8061 if test "x$LINE" != x
; then
8062 eval "DEFAULT_$LINE"
8067 ac_cv_use_splitter
='wxUSE_SPLITTER='$DEFAULT_wxUSE_SPLITTER
8071 eval "$ac_cv_use_splitter"
8072 if test "$no_cache" != 1; then
8073 echo $ac_cv_use_splitter >> ${wx_arg_cache_file}.tmp
8076 if test "$wxUSE_SPLITTER" = yes; then
8077 echo "$as_me:$LINENO: result: yes" >&5
8078 echo "${ECHO_T}yes" >&6
8080 echo "$as_me:$LINENO: result: no" >&5
8081 echo "${ECHO_T}no" >&6
8086 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statbmp" >&5
8087 echo $ECHO_N "checking for --${enablestring:-enable}-statbmp... $ECHO_C" >&6
8089 # Check whether --enable-statbmp or --disable-statbmp was given.
8090 if test "${enable_statbmp+set}" = set; then
8091 enableval
="$enable_statbmp"
8093 if test "$enableval" = yes; then
8094 ac_cv_use_statbmp
='wxUSE_STATBMP=yes'
8096 ac_cv_use_statbmp
='wxUSE_STATBMP=no'
8101 LINE
=`grep "wxUSE_STATBMP" ${wx_arg_cache_file}`
8102 if test "x$LINE" != x
; then
8103 eval "DEFAULT_$LINE"
8108 ac_cv_use_statbmp
='wxUSE_STATBMP='$DEFAULT_wxUSE_STATBMP
8112 eval "$ac_cv_use_statbmp"
8113 if test "$no_cache" != 1; then
8114 echo $ac_cv_use_statbmp >> ${wx_arg_cache_file}.tmp
8117 if test "$wxUSE_STATBMP" = yes; then
8118 echo "$as_me:$LINENO: result: yes" >&5
8119 echo "${ECHO_T}yes" >&6
8121 echo "$as_me:$LINENO: result: no" >&5
8122 echo "${ECHO_T}no" >&6
8127 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statbox" >&5
8128 echo $ECHO_N "checking for --${enablestring:-enable}-statbox... $ECHO_C" >&6
8130 # Check whether --enable-statbox or --disable-statbox was given.
8131 if test "${enable_statbox+set}" = set; then
8132 enableval
="$enable_statbox"
8134 if test "$enableval" = yes; then
8135 ac_cv_use_statbox
='wxUSE_STATBOX=yes'
8137 ac_cv_use_statbox
='wxUSE_STATBOX=no'
8142 LINE
=`grep "wxUSE_STATBOX" ${wx_arg_cache_file}`
8143 if test "x$LINE" != x
; then
8144 eval "DEFAULT_$LINE"
8149 ac_cv_use_statbox
='wxUSE_STATBOX='$DEFAULT_wxUSE_STATBOX
8153 eval "$ac_cv_use_statbox"
8154 if test "$no_cache" != 1; then
8155 echo $ac_cv_use_statbox >> ${wx_arg_cache_file}.tmp
8158 if test "$wxUSE_STATBOX" = yes; then
8159 echo "$as_me:$LINENO: result: yes" >&5
8160 echo "${ECHO_T}yes" >&6
8162 echo "$as_me:$LINENO: result: no" >&5
8163 echo "${ECHO_T}no" >&6
8168 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statline" >&5
8169 echo $ECHO_N "checking for --${enablestring:-enable}-statline... $ECHO_C" >&6
8171 # Check whether --enable-statline or --disable-statline was given.
8172 if test "${enable_statline+set}" = set; then
8173 enableval
="$enable_statline"
8175 if test "$enableval" = yes; then
8176 ac_cv_use_statline
='wxUSE_STATLINE=yes'
8178 ac_cv_use_statline
='wxUSE_STATLINE=no'
8183 LINE
=`grep "wxUSE_STATLINE" ${wx_arg_cache_file}`
8184 if test "x$LINE" != x
; then
8185 eval "DEFAULT_$LINE"
8190 ac_cv_use_statline
='wxUSE_STATLINE='$DEFAULT_wxUSE_STATLINE
8194 eval "$ac_cv_use_statline"
8195 if test "$no_cache" != 1; then
8196 echo $ac_cv_use_statline >> ${wx_arg_cache_file}.tmp
8199 if test "$wxUSE_STATLINE" = yes; then
8200 echo "$as_me:$LINENO: result: yes" >&5
8201 echo "${ECHO_T}yes" >&6
8203 echo "$as_me:$LINENO: result: no" >&5
8204 echo "${ECHO_T}no" >&6
8209 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stattext" >&5
8210 echo $ECHO_N "checking for --${enablestring:-enable}-stattext... $ECHO_C" >&6
8212 # Check whether --enable-stattext or --disable-stattext was given.
8213 if test "${enable_stattext+set}" = set; then
8214 enableval
="$enable_stattext"
8216 if test "$enableval" = yes; then
8217 ac_cv_use_stattext
='wxUSE_STATTEXT=yes'
8219 ac_cv_use_stattext
='wxUSE_STATTEXT=no'
8224 LINE
=`grep "wxUSE_STATTEXT" ${wx_arg_cache_file}`
8225 if test "x$LINE" != x
; then
8226 eval "DEFAULT_$LINE"
8231 ac_cv_use_stattext
='wxUSE_STATTEXT='$DEFAULT_wxUSE_STATTEXT
8235 eval "$ac_cv_use_stattext"
8236 if test "$no_cache" != 1; then
8237 echo $ac_cv_use_stattext >> ${wx_arg_cache_file}.tmp
8240 if test "$wxUSE_STATTEXT" = yes; then
8241 echo "$as_me:$LINENO: result: yes" >&5
8242 echo "${ECHO_T}yes" >&6
8244 echo "$as_me:$LINENO: result: no" >&5
8245 echo "${ECHO_T}no" >&6
8250 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statusbar" >&5
8251 echo $ECHO_N "checking for --${enablestring:-enable}-statusbar... $ECHO_C" >&6
8253 # Check whether --enable-statusbar or --disable-statusbar was given.
8254 if test "${enable_statusbar+set}" = set; then
8255 enableval
="$enable_statusbar"
8257 if test "$enableval" = yes; then
8258 ac_cv_use_statusbar
='wxUSE_STATUSBAR=yes'
8260 ac_cv_use_statusbar
='wxUSE_STATUSBAR=no'
8265 LINE
=`grep "wxUSE_STATUSBAR" ${wx_arg_cache_file}`
8266 if test "x$LINE" != x
; then
8267 eval "DEFAULT_$LINE"
8272 ac_cv_use_statusbar
='wxUSE_STATUSBAR='$DEFAULT_wxUSE_STATUSBAR
8276 eval "$ac_cv_use_statusbar"
8277 if test "$no_cache" != 1; then
8278 echo $ac_cv_use_statusbar >> ${wx_arg_cache_file}.tmp
8281 if test "$wxUSE_STATUSBAR" = yes; then
8282 echo "$as_me:$LINENO: result: yes" >&5
8283 echo "${ECHO_T}yes" >&6
8285 echo "$as_me:$LINENO: result: no" >&5
8286 echo "${ECHO_T}no" >&6
8291 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tabdialog" >&5
8292 echo $ECHO_N "checking for --${enablestring:-enable}-tabdialog... $ECHO_C" >&6
8294 # Check whether --enable-tabdialog or --disable-tabdialog was given.
8295 if test "${enable_tabdialog+set}" = set; then
8296 enableval
="$enable_tabdialog"
8298 if test "$enableval" = yes; then
8299 ac_cv_use_tabdialog
='wxUSE_TABDIALOG=yes'
8301 ac_cv_use_tabdialog
='wxUSE_TABDIALOG=no'
8306 LINE
=`grep "wxUSE_TABDIALOG" ${wx_arg_cache_file}`
8307 if test "x$LINE" != x
; then
8308 eval "DEFAULT_$LINE"
8313 ac_cv_use_tabdialog
='wxUSE_TABDIALOG='$DEFAULT_wxUSE_TABDIALOG
8317 eval "$ac_cv_use_tabdialog"
8318 if test "$no_cache" != 1; then
8319 echo $ac_cv_use_tabdialog >> ${wx_arg_cache_file}.tmp
8322 if test "$wxUSE_TABDIALOG" = yes; then
8323 echo "$as_me:$LINENO: result: yes" >&5
8324 echo "${ECHO_T}yes" >&6
8326 echo "$as_me:$LINENO: result: no" >&5
8327 echo "${ECHO_T}no" >&6
8332 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textctrl" >&5
8333 echo $ECHO_N "checking for --${enablestring:-enable}-textctrl... $ECHO_C" >&6
8335 # Check whether --enable-textctrl or --disable-textctrl was given.
8336 if test "${enable_textctrl+set}" = set; then
8337 enableval
="$enable_textctrl"
8339 if test "$enableval" = yes; then
8340 ac_cv_use_textctrl
='wxUSE_TEXTCTRL=yes'
8342 ac_cv_use_textctrl
='wxUSE_TEXTCTRL=no'
8347 LINE
=`grep "wxUSE_TEXTCTRL" ${wx_arg_cache_file}`
8348 if test "x$LINE" != x
; then
8349 eval "DEFAULT_$LINE"
8354 ac_cv_use_textctrl
='wxUSE_TEXTCTRL='$DEFAULT_wxUSE_TEXTCTRL
8358 eval "$ac_cv_use_textctrl"
8359 if test "$no_cache" != 1; then
8360 echo $ac_cv_use_textctrl >> ${wx_arg_cache_file}.tmp
8363 if test "$wxUSE_TEXTCTRL" = yes; then
8364 echo "$as_me:$LINENO: result: yes" >&5
8365 echo "${ECHO_T}yes" >&6
8367 echo "$as_me:$LINENO: result: no" >&5
8368 echo "${ECHO_T}no" >&6
8373 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-togglebtn" >&5
8374 echo $ECHO_N "checking for --${enablestring:-enable}-togglebtn... $ECHO_C" >&6
8376 # Check whether --enable-togglebtn or --disable-togglebtn was given.
8377 if test "${enable_togglebtn+set}" = set; then
8378 enableval
="$enable_togglebtn"
8380 if test "$enableval" = yes; then
8381 ac_cv_use_togglebtn
='wxUSE_TOGGLEBTN=yes'
8383 ac_cv_use_togglebtn
='wxUSE_TOGGLEBTN=no'
8388 LINE
=`grep "wxUSE_TOGGLEBTN" ${wx_arg_cache_file}`
8389 if test "x$LINE" != x
; then
8390 eval "DEFAULT_$LINE"
8395 ac_cv_use_togglebtn
='wxUSE_TOGGLEBTN='$DEFAULT_wxUSE_TOGGLEBTN
8399 eval "$ac_cv_use_togglebtn"
8400 if test "$no_cache" != 1; then
8401 echo $ac_cv_use_togglebtn >> ${wx_arg_cache_file}.tmp
8404 if test "$wxUSE_TOGGLEBTN" = yes; then
8405 echo "$as_me:$LINENO: result: yes" >&5
8406 echo "${ECHO_T}yes" >&6
8408 echo "$as_me:$LINENO: result: no" >&5
8409 echo "${ECHO_T}no" >&6
8414 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-toolbar" >&5
8415 echo $ECHO_N "checking for --${enablestring:-enable}-toolbar... $ECHO_C" >&6
8417 # Check whether --enable-toolbar or --disable-toolbar was given.
8418 if test "${enable_toolbar+set}" = set; then
8419 enableval
="$enable_toolbar"
8421 if test "$enableval" = yes; then
8422 ac_cv_use_toolbar
='wxUSE_TOOLBAR=yes'
8424 ac_cv_use_toolbar
='wxUSE_TOOLBAR=no'
8429 LINE
=`grep "wxUSE_TOOLBAR" ${wx_arg_cache_file}`
8430 if test "x$LINE" != x
; then
8431 eval "DEFAULT_$LINE"
8436 ac_cv_use_toolbar
='wxUSE_TOOLBAR='$DEFAULT_wxUSE_TOOLBAR
8440 eval "$ac_cv_use_toolbar"
8441 if test "$no_cache" != 1; then
8442 echo $ac_cv_use_toolbar >> ${wx_arg_cache_file}.tmp
8445 if test "$wxUSE_TOOLBAR" = yes; then
8446 echo "$as_me:$LINENO: result: yes" >&5
8447 echo "${ECHO_T}yes" >&6
8449 echo "$as_me:$LINENO: result: no" >&5
8450 echo "${ECHO_T}no" >&6
8455 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tbarnative" >&5
8456 echo $ECHO_N "checking for --${enablestring:-enable}-tbarnative... $ECHO_C" >&6
8458 # Check whether --enable-tbarnative or --disable-tbarnative was given.
8459 if test "${enable_tbarnative+set}" = set; then
8460 enableval
="$enable_tbarnative"
8462 if test "$enableval" = yes; then
8463 ac_cv_use_tbarnative
='wxUSE_TOOLBAR_NATIVE=yes'
8465 ac_cv_use_tbarnative
='wxUSE_TOOLBAR_NATIVE=no'
8470 LINE
=`grep "wxUSE_TOOLBAR_NATIVE" ${wx_arg_cache_file}`
8471 if test "x$LINE" != x
; then
8472 eval "DEFAULT_$LINE"
8477 ac_cv_use_tbarnative
='wxUSE_TOOLBAR_NATIVE='$DEFAULT_wxUSE_TOOLBAR_NATIVE
8481 eval "$ac_cv_use_tbarnative"
8482 if test "$no_cache" != 1; then
8483 echo $ac_cv_use_tbarnative >> ${wx_arg_cache_file}.tmp
8486 if test "$wxUSE_TOOLBAR_NATIVE" = yes; then
8487 echo "$as_me:$LINENO: result: yes" >&5
8488 echo "${ECHO_T}yes" >&6
8490 echo "$as_me:$LINENO: result: no" >&5
8491 echo "${ECHO_T}no" >&6
8496 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tbarsmpl" >&5
8497 echo $ECHO_N "checking for --${enablestring:-enable}-tbarsmpl... $ECHO_C" >&6
8499 # Check whether --enable-tbarsmpl or --disable-tbarsmpl was given.
8500 if test "${enable_tbarsmpl+set}" = set; then
8501 enableval
="$enable_tbarsmpl"
8503 if test "$enableval" = yes; then
8504 ac_cv_use_tbarsmpl
='wxUSE_TOOLBAR_SIMPLE=yes'
8506 ac_cv_use_tbarsmpl
='wxUSE_TOOLBAR_SIMPLE=no'
8511 LINE
=`grep "wxUSE_TOOLBAR_SIMPLE" ${wx_arg_cache_file}`
8512 if test "x$LINE" != x
; then
8513 eval "DEFAULT_$LINE"
8518 ac_cv_use_tbarsmpl
='wxUSE_TOOLBAR_SIMPLE='$DEFAULT_wxUSE_TOOLBAR_SIMPLE
8522 eval "$ac_cv_use_tbarsmpl"
8523 if test "$no_cache" != 1; then
8524 echo $ac_cv_use_tbarsmpl >> ${wx_arg_cache_file}.tmp
8527 if test "$wxUSE_TOOLBAR_SIMPLE" = yes; then
8528 echo "$as_me:$LINENO: result: yes" >&5
8529 echo "${ECHO_T}yes" >&6
8531 echo "$as_me:$LINENO: result: no" >&5
8532 echo "${ECHO_T}no" >&6
8537 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-treectrl" >&5
8538 echo $ECHO_N "checking for --${enablestring:-enable}-treectrl... $ECHO_C" >&6
8540 # Check whether --enable-treectrl or --disable-treectrl was given.
8541 if test "${enable_treectrl+set}" = set; then
8542 enableval
="$enable_treectrl"
8544 if test "$enableval" = yes; then
8545 ac_cv_use_treectrl
='wxUSE_TREECTRL=yes'
8547 ac_cv_use_treectrl
='wxUSE_TREECTRL=no'
8552 LINE
=`grep "wxUSE_TREECTRL" ${wx_arg_cache_file}`
8553 if test "x$LINE" != x
; then
8554 eval "DEFAULT_$LINE"
8559 ac_cv_use_treectrl
='wxUSE_TREECTRL='$DEFAULT_wxUSE_TREECTRL
8563 eval "$ac_cv_use_treectrl"
8564 if test "$no_cache" != 1; then
8565 echo $ac_cv_use_treectrl >> ${wx_arg_cache_file}.tmp
8568 if test "$wxUSE_TREECTRL" = yes; then
8569 echo "$as_me:$LINENO: result: yes" >&5
8570 echo "${ECHO_T}yes" >&6
8572 echo "$as_me:$LINENO: result: no" >&5
8573 echo "${ECHO_T}no" >&6
8578 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tipwindow" >&5
8579 echo $ECHO_N "checking for --${enablestring:-enable}-tipwindow... $ECHO_C" >&6
8581 # Check whether --enable-tipwindow or --disable-tipwindow was given.
8582 if test "${enable_tipwindow+set}" = set; then
8583 enableval
="$enable_tipwindow"
8585 if test "$enableval" = yes; then
8586 ac_cv_use_tipwindow
='wxUSE_TIPWINDOW=yes'
8588 ac_cv_use_tipwindow
='wxUSE_TIPWINDOW=no'
8593 LINE
=`grep "wxUSE_TIPWINDOW" ${wx_arg_cache_file}`
8594 if test "x$LINE" != x
; then
8595 eval "DEFAULT_$LINE"
8600 ac_cv_use_tipwindow
='wxUSE_TIPWINDOW='$DEFAULT_wxUSE_TIPWINDOW
8604 eval "$ac_cv_use_tipwindow"
8605 if test "$no_cache" != 1; then
8606 echo $ac_cv_use_tipwindow >> ${wx_arg_cache_file}.tmp
8609 if test "$wxUSE_TIPWINDOW" = yes; then
8610 echo "$as_me:$LINENO: result: yes" >&5
8611 echo "${ECHO_T}yes" >&6
8613 echo "$as_me:$LINENO: result: no" >&5
8614 echo "${ECHO_T}no" >&6
8619 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-popupwin" >&5
8620 echo $ECHO_N "checking for --${enablestring:-enable}-popupwin... $ECHO_C" >&6
8622 # Check whether --enable-popupwin or --disable-popupwin was given.
8623 if test "${enable_popupwin+set}" = set; then
8624 enableval
="$enable_popupwin"
8626 if test "$enableval" = yes; then
8627 ac_cv_use_popupwin
='wxUSE_POPUPWIN=yes'
8629 ac_cv_use_popupwin
='wxUSE_POPUPWIN=no'
8634 LINE
=`grep "wxUSE_POPUPWIN" ${wx_arg_cache_file}`
8635 if test "x$LINE" != x
; then
8636 eval "DEFAULT_$LINE"
8641 ac_cv_use_popupwin
='wxUSE_POPUPWIN='$DEFAULT_wxUSE_POPUPWIN
8645 eval "$ac_cv_use_popupwin"
8646 if test "$no_cache" != 1; then
8647 echo $ac_cv_use_popupwin >> ${wx_arg_cache_file}.tmp
8650 if test "$wxUSE_POPUPWIN" = yes; then
8651 echo "$as_me:$LINENO: result: yes" >&5
8652 echo "${ECHO_T}yes" >&6
8654 echo "$as_me:$LINENO: result: no" >&5
8655 echo "${ECHO_T}no" >&6
8662 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-commondlg" >&5
8663 echo $ECHO_N "checking for --${enablestring:-enable}-commondlg... $ECHO_C" >&6
8665 # Check whether --enable-commondlg or --disable-commondlg was given.
8666 if test "${enable_commondlg+set}" = set; then
8667 enableval
="$enable_commondlg"
8669 if test "$enableval" = yes; then
8670 ac_cv_use_commondlg
='wxUSE_COMMONDLGS=yes'
8672 ac_cv_use_commondlg
='wxUSE_COMMONDLGS=no'
8677 LINE
=`grep "wxUSE_COMMONDLGS" ${wx_arg_cache_file}`
8678 if test "x$LINE" != x
; then
8679 eval "DEFAULT_$LINE"
8684 ac_cv_use_commondlg
='wxUSE_COMMONDLGS='$DEFAULT_wxUSE_COMMONDLGS
8688 eval "$ac_cv_use_commondlg"
8689 if test "$no_cache" != 1; then
8690 echo $ac_cv_use_commondlg >> ${wx_arg_cache_file}.tmp
8693 if test "$wxUSE_COMMONDLGS" = yes; then
8694 echo "$as_me:$LINENO: result: yes" >&5
8695 echo "${ECHO_T}yes" >&6
8697 echo "$as_me:$LINENO: result: no" >&5
8698 echo "${ECHO_T}no" >&6
8703 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choicedlg" >&5
8704 echo $ECHO_N "checking for --${enablestring:-enable}-choicedlg... $ECHO_C" >&6
8706 # Check whether --enable-choicedlg or --disable-choicedlg was given.
8707 if test "${enable_choicedlg+set}" = set; then
8708 enableval
="$enable_choicedlg"
8710 if test "$enableval" = yes; then
8711 ac_cv_use_choicedlg
='wxUSE_CHOICEDLG=yes'
8713 ac_cv_use_choicedlg
='wxUSE_CHOICEDLG=no'
8718 LINE
=`grep "wxUSE_CHOICEDLG" ${wx_arg_cache_file}`
8719 if test "x$LINE" != x
; then
8720 eval "DEFAULT_$LINE"
8725 ac_cv_use_choicedlg
='wxUSE_CHOICEDLG='$DEFAULT_wxUSE_CHOICEDLG
8729 eval "$ac_cv_use_choicedlg"
8730 if test "$no_cache" != 1; then
8731 echo $ac_cv_use_choicedlg >> ${wx_arg_cache_file}.tmp
8734 if test "$wxUSE_CHOICEDLG" = yes; then
8735 echo "$as_me:$LINENO: result: yes" >&5
8736 echo "${ECHO_T}yes" >&6
8738 echo "$as_me:$LINENO: result: no" >&5
8739 echo "${ECHO_T}no" >&6
8744 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-coldlg" >&5
8745 echo $ECHO_N "checking for --${enablestring:-enable}-coldlg... $ECHO_C" >&6
8747 # Check whether --enable-coldlg or --disable-coldlg was given.
8748 if test "${enable_coldlg+set}" = set; then
8749 enableval
="$enable_coldlg"
8751 if test "$enableval" = yes; then
8752 ac_cv_use_coldlg
='wxUSE_COLOURDLG=yes'
8754 ac_cv_use_coldlg
='wxUSE_COLOURDLG=no'
8759 LINE
=`grep "wxUSE_COLOURDLG" ${wx_arg_cache_file}`
8760 if test "x$LINE" != x
; then
8761 eval "DEFAULT_$LINE"
8766 ac_cv_use_coldlg
='wxUSE_COLOURDLG='$DEFAULT_wxUSE_COLOURDLG
8770 eval "$ac_cv_use_coldlg"
8771 if test "$no_cache" != 1; then
8772 echo $ac_cv_use_coldlg >> ${wx_arg_cache_file}.tmp
8775 if test "$wxUSE_COLOURDLG" = yes; then
8776 echo "$as_me:$LINENO: result: yes" >&5
8777 echo "${ECHO_T}yes" >&6
8779 echo "$as_me:$LINENO: result: no" >&5
8780 echo "${ECHO_T}no" >&6
8785 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filedlg" >&5
8786 echo $ECHO_N "checking for --${enablestring:-enable}-filedlg... $ECHO_C" >&6
8788 # Check whether --enable-filedlg or --disable-filedlg was given.
8789 if test "${enable_filedlg+set}" = set; then
8790 enableval
="$enable_filedlg"
8792 if test "$enableval" = yes; then
8793 ac_cv_use_filedlg
='wxUSE_FILEDLG=yes'
8795 ac_cv_use_filedlg
='wxUSE_FILEDLG=no'
8800 LINE
=`grep "wxUSE_FILEDLG" ${wx_arg_cache_file}`
8801 if test "x$LINE" != x
; then
8802 eval "DEFAULT_$LINE"
8807 ac_cv_use_filedlg
='wxUSE_FILEDLG='$DEFAULT_wxUSE_FILEDLG
8811 eval "$ac_cv_use_filedlg"
8812 if test "$no_cache" != 1; then
8813 echo $ac_cv_use_filedlg >> ${wx_arg_cache_file}.tmp
8816 if test "$wxUSE_FILEDLG" = yes; then
8817 echo "$as_me:$LINENO: result: yes" >&5
8818 echo "${ECHO_T}yes" >&6
8820 echo "$as_me:$LINENO: result: no" >&5
8821 echo "${ECHO_T}no" >&6
8826 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-finddlg" >&5
8827 echo $ECHO_N "checking for --${enablestring:-enable}-finddlg... $ECHO_C" >&6
8829 # Check whether --enable-finddlg or --disable-finddlg was given.
8830 if test "${enable_finddlg+set}" = set; then
8831 enableval
="$enable_finddlg"
8833 if test "$enableval" = yes; then
8834 ac_cv_use_finddlg
='wxUSE_FINDREPLDLG=yes'
8836 ac_cv_use_finddlg
='wxUSE_FINDREPLDLG=no'
8841 LINE
=`grep "wxUSE_FINDREPLDLG" ${wx_arg_cache_file}`
8842 if test "x$LINE" != x
; then
8843 eval "DEFAULT_$LINE"
8848 ac_cv_use_finddlg
='wxUSE_FINDREPLDLG='$DEFAULT_wxUSE_FINDREPLDLG
8852 eval "$ac_cv_use_finddlg"
8853 if test "$no_cache" != 1; then
8854 echo $ac_cv_use_finddlg >> ${wx_arg_cache_file}.tmp
8857 if test "$wxUSE_FINDREPLDLG" = yes; then
8858 echo "$as_me:$LINENO: result: yes" >&5
8859 echo "${ECHO_T}yes" >&6
8861 echo "$as_me:$LINENO: result: no" >&5
8862 echo "${ECHO_T}no" >&6
8867 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontdlg" >&5
8868 echo $ECHO_N "checking for --${enablestring:-enable}-fontdlg... $ECHO_C" >&6
8870 # Check whether --enable-fontdlg or --disable-fontdlg was given.
8871 if test "${enable_fontdlg+set}" = set; then
8872 enableval
="$enable_fontdlg"
8874 if test "$enableval" = yes; then
8875 ac_cv_use_fontdlg
='wxUSE_FONTDLG=yes'
8877 ac_cv_use_fontdlg
='wxUSE_FONTDLG=no'
8882 LINE
=`grep "wxUSE_FONTDLG" ${wx_arg_cache_file}`
8883 if test "x$LINE" != x
; then
8884 eval "DEFAULT_$LINE"
8889 ac_cv_use_fontdlg
='wxUSE_FONTDLG='$DEFAULT_wxUSE_FONTDLG
8893 eval "$ac_cv_use_fontdlg"
8894 if test "$no_cache" != 1; then
8895 echo $ac_cv_use_fontdlg >> ${wx_arg_cache_file}.tmp
8898 if test "$wxUSE_FONTDLG" = yes; then
8899 echo "$as_me:$LINENO: result: yes" >&5
8900 echo "${ECHO_T}yes" >&6
8902 echo "$as_me:$LINENO: result: no" >&5
8903 echo "${ECHO_T}no" >&6
8908 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dirdlg" >&5
8909 echo $ECHO_N "checking for --${enablestring:-enable}-dirdlg... $ECHO_C" >&6
8911 # Check whether --enable-dirdlg or --disable-dirdlg was given.
8912 if test "${enable_dirdlg+set}" = set; then
8913 enableval
="$enable_dirdlg"
8915 if test "$enableval" = yes; then
8916 ac_cv_use_dirdlg
='wxUSE_DIRDLG=yes'
8918 ac_cv_use_dirdlg
='wxUSE_DIRDLG=no'
8923 LINE
=`grep "wxUSE_DIRDLG" ${wx_arg_cache_file}`
8924 if test "x$LINE" != x
; then
8925 eval "DEFAULT_$LINE"
8930 ac_cv_use_dirdlg
='wxUSE_DIRDLG='$DEFAULT_wxUSE_DIRDLG
8934 eval "$ac_cv_use_dirdlg"
8935 if test "$no_cache" != 1; then
8936 echo $ac_cv_use_dirdlg >> ${wx_arg_cache_file}.tmp
8939 if test "$wxUSE_DIRDLG" = yes; then
8940 echo "$as_me:$LINENO: result: yes" >&5
8941 echo "${ECHO_T}yes" >&6
8943 echo "$as_me:$LINENO: result: no" >&5
8944 echo "${ECHO_T}no" >&6
8949 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-msgdlg" >&5
8950 echo $ECHO_N "checking for --${enablestring:-enable}-msgdlg... $ECHO_C" >&6
8952 # Check whether --enable-msgdlg or --disable-msgdlg was given.
8953 if test "${enable_msgdlg+set}" = set; then
8954 enableval
="$enable_msgdlg"
8956 if test "$enableval" = yes; then
8957 ac_cv_use_msgdlg
='wxUSE_MSGDLG=yes'
8959 ac_cv_use_msgdlg
='wxUSE_MSGDLG=no'
8964 LINE
=`grep "wxUSE_MSGDLG" ${wx_arg_cache_file}`
8965 if test "x$LINE" != x
; then
8966 eval "DEFAULT_$LINE"
8971 ac_cv_use_msgdlg
='wxUSE_MSGDLG='$DEFAULT_wxUSE_MSGDLG
8975 eval "$ac_cv_use_msgdlg"
8976 if test "$no_cache" != 1; then
8977 echo $ac_cv_use_msgdlg >> ${wx_arg_cache_file}.tmp
8980 if test "$wxUSE_MSGDLG" = yes; then
8981 echo "$as_me:$LINENO: result: yes" >&5
8982 echo "${ECHO_T}yes" >&6
8984 echo "$as_me:$LINENO: result: no" >&5
8985 echo "${ECHO_T}no" >&6
8990 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-numberdlg" >&5
8991 echo $ECHO_N "checking for --${enablestring:-enable}-numberdlg... $ECHO_C" >&6
8993 # Check whether --enable-numberdlg or --disable-numberdlg was given.
8994 if test "${enable_numberdlg+set}" = set; then
8995 enableval
="$enable_numberdlg"
8997 if test "$enableval" = yes; then
8998 ac_cv_use_numberdlg
='wxUSE_NUMBERDLG=yes'
9000 ac_cv_use_numberdlg
='wxUSE_NUMBERDLG=no'
9005 LINE
=`grep "wxUSE_NUMBERDLG" ${wx_arg_cache_file}`
9006 if test "x$LINE" != x
; then
9007 eval "DEFAULT_$LINE"
9012 ac_cv_use_numberdlg
='wxUSE_NUMBERDLG='$DEFAULT_wxUSE_NUMBERDLG
9016 eval "$ac_cv_use_numberdlg"
9017 if test "$no_cache" != 1; then
9018 echo $ac_cv_use_numberdlg >> ${wx_arg_cache_file}.tmp
9021 if test "$wxUSE_NUMBERDLG" = yes; then
9022 echo "$as_me:$LINENO: result: yes" >&5
9023 echo "${ECHO_T}yes" >&6
9025 echo "$as_me:$LINENO: result: no" >&5
9026 echo "${ECHO_T}no" >&6
9031 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splash" >&5
9032 echo $ECHO_N "checking for --${enablestring:-enable}-splash... $ECHO_C" >&6
9034 # Check whether --enable-splash or --disable-splash was given.
9035 if test "${enable_splash+set}" = set; then
9036 enableval
="$enable_splash"
9038 if test "$enableval" = yes; then
9039 ac_cv_use_splash
='wxUSE_SPLASH=yes'
9041 ac_cv_use_splash
='wxUSE_SPLASH=no'
9046 LINE
=`grep "wxUSE_SPLASH" ${wx_arg_cache_file}`
9047 if test "x$LINE" != x
; then
9048 eval "DEFAULT_$LINE"
9053 ac_cv_use_splash
='wxUSE_SPLASH='$DEFAULT_wxUSE_SPLASH
9057 eval "$ac_cv_use_splash"
9058 if test "$no_cache" != 1; then
9059 echo $ac_cv_use_splash >> ${wx_arg_cache_file}.tmp
9062 if test "$wxUSE_SPLASH" = yes; then
9063 echo "$as_me:$LINENO: result: yes" >&5
9064 echo "${ECHO_T}yes" >&6
9066 echo "$as_me:$LINENO: result: no" >&5
9067 echo "${ECHO_T}no" >&6
9072 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textdlg" >&5
9073 echo $ECHO_N "checking for --${enablestring:-enable}-textdlg... $ECHO_C" >&6
9075 # Check whether --enable-textdlg or --disable-textdlg was given.
9076 if test "${enable_textdlg+set}" = set; then
9077 enableval
="$enable_textdlg"
9079 if test "$enableval" = yes; then
9080 ac_cv_use_textdlg
='wxUSE_TEXTDLG=yes'
9082 ac_cv_use_textdlg
='wxUSE_TEXTDLG=no'
9087 LINE
=`grep "wxUSE_TEXTDLG" ${wx_arg_cache_file}`
9088 if test "x$LINE" != x
; then
9089 eval "DEFAULT_$LINE"
9094 ac_cv_use_textdlg
='wxUSE_TEXTDLG='$DEFAULT_wxUSE_TEXTDLG
9098 eval "$ac_cv_use_textdlg"
9099 if test "$no_cache" != 1; then
9100 echo $ac_cv_use_textdlg >> ${wx_arg_cache_file}.tmp
9103 if test "$wxUSE_TEXTDLG" = yes; then
9104 echo "$as_me:$LINENO: result: yes" >&5
9105 echo "${ECHO_T}yes" >&6
9107 echo "$as_me:$LINENO: result: no" >&5
9108 echo "${ECHO_T}no" >&6
9113 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tipdlg" >&5
9114 echo $ECHO_N "checking for --${enablestring:-enable}-tipdlg... $ECHO_C" >&6
9116 # Check whether --enable-tipdlg or --disable-tipdlg was given.
9117 if test "${enable_tipdlg+set}" = set; then
9118 enableval
="$enable_tipdlg"
9120 if test "$enableval" = yes; then
9121 ac_cv_use_tipdlg
='wxUSE_STARTUP_TIPS=yes'
9123 ac_cv_use_tipdlg
='wxUSE_STARTUP_TIPS=no'
9128 LINE
=`grep "wxUSE_STARTUP_TIPS" ${wx_arg_cache_file}`
9129 if test "x$LINE" != x
; then
9130 eval "DEFAULT_$LINE"
9135 ac_cv_use_tipdlg
='wxUSE_STARTUP_TIPS='$DEFAULT_wxUSE_STARTUP_TIPS
9139 eval "$ac_cv_use_tipdlg"
9140 if test "$no_cache" != 1; then
9141 echo $ac_cv_use_tipdlg >> ${wx_arg_cache_file}.tmp
9144 if test "$wxUSE_STARTUP_TIPS" = yes; then
9145 echo "$as_me:$LINENO: result: yes" >&5
9146 echo "${ECHO_T}yes" >&6
9148 echo "$as_me:$LINENO: result: no" >&5
9149 echo "${ECHO_T}no" >&6
9154 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-progressdlg" >&5
9155 echo $ECHO_N "checking for --${enablestring:-enable}-progressdlg... $ECHO_C" >&6
9157 # Check whether --enable-progressdlg or --disable-progressdlg was given.
9158 if test "${enable_progressdlg+set}" = set; then
9159 enableval
="$enable_progressdlg"
9161 if test "$enableval" = yes; then
9162 ac_cv_use_progressdlg
='wxUSE_PROGRESSDLG=yes'
9164 ac_cv_use_progressdlg
='wxUSE_PROGRESSDLG=no'
9169 LINE
=`grep "wxUSE_PROGRESSDLG" ${wx_arg_cache_file}`
9170 if test "x$LINE" != x
; then
9171 eval "DEFAULT_$LINE"
9176 ac_cv_use_progressdlg
='wxUSE_PROGRESSDLG='$DEFAULT_wxUSE_PROGRESSDLG
9180 eval "$ac_cv_use_progressdlg"
9181 if test "$no_cache" != 1; then
9182 echo $ac_cv_use_progressdlg >> ${wx_arg_cache_file}.tmp
9185 if test "$wxUSE_PROGRESSDLG" = yes; then
9186 echo "$as_me:$LINENO: result: yes" >&5
9187 echo "${ECHO_T}yes" >&6
9189 echo "$as_me:$LINENO: result: no" >&5
9190 echo "${ECHO_T}no" >&6
9195 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-wizarddlg" >&5
9196 echo $ECHO_N "checking for --${enablestring:-enable}-wizarddlg... $ECHO_C" >&6
9198 # Check whether --enable-wizarddlg or --disable-wizarddlg was given.
9199 if test "${enable_wizarddlg+set}" = set; then
9200 enableval
="$enable_wizarddlg"
9202 if test "$enableval" = yes; then
9203 ac_cv_use_wizarddlg
='wxUSE_WIZARDDLG=yes'
9205 ac_cv_use_wizarddlg
='wxUSE_WIZARDDLG=no'
9210 LINE
=`grep "wxUSE_WIZARDDLG" ${wx_arg_cache_file}`
9211 if test "x$LINE" != x
; then
9212 eval "DEFAULT_$LINE"
9217 ac_cv_use_wizarddlg
='wxUSE_WIZARDDLG='$DEFAULT_wxUSE_WIZARDDLG
9221 eval "$ac_cv_use_wizarddlg"
9222 if test "$no_cache" != 1; then
9223 echo $ac_cv_use_wizarddlg >> ${wx_arg_cache_file}.tmp
9226 if test "$wxUSE_WIZARDDLG" = yes; then
9227 echo "$as_me:$LINENO: result: yes" >&5
9228 echo "${ECHO_T}yes" >&6
9230 echo "$as_me:$LINENO: result: no" >&5
9231 echo "${ECHO_T}no" >&6
9238 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-menus" >&5
9239 echo $ECHO_N "checking for --${enablestring:-enable}-menus... $ECHO_C" >&6
9241 # Check whether --enable-menus or --disable-menus was given.
9242 if test "${enable_menus+set}" = set; then
9243 enableval
="$enable_menus"
9245 if test "$enableval" = yes; then
9246 ac_cv_use_menus
='wxUSE_MENUS=yes'
9248 ac_cv_use_menus
='wxUSE_MENUS=no'
9253 LINE
=`grep "wxUSE_MENUS" ${wx_arg_cache_file}`
9254 if test "x$LINE" != x
; then
9255 eval "DEFAULT_$LINE"
9260 ac_cv_use_menus
='wxUSE_MENUS='$DEFAULT_wxUSE_MENUS
9264 eval "$ac_cv_use_menus"
9265 if test "$no_cache" != 1; then
9266 echo $ac_cv_use_menus >> ${wx_arg_cache_file}.tmp
9269 if test "$wxUSE_MENUS" = yes; then
9270 echo "$as_me:$LINENO: result: yes" >&5
9271 echo "${ECHO_T}yes" >&6
9273 echo "$as_me:$LINENO: result: no" >&5
9274 echo "${ECHO_T}no" >&6
9279 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-miniframe" >&5
9280 echo $ECHO_N "checking for --${enablestring:-enable}-miniframe... $ECHO_C" >&6
9282 # Check whether --enable-miniframe or --disable-miniframe was given.
9283 if test "${enable_miniframe+set}" = set; then
9284 enableval
="$enable_miniframe"
9286 if test "$enableval" = yes; then
9287 ac_cv_use_miniframe
='wxUSE_MINIFRAME=yes'
9289 ac_cv_use_miniframe
='wxUSE_MINIFRAME=no'
9294 LINE
=`grep "wxUSE_MINIFRAME" ${wx_arg_cache_file}`
9295 if test "x$LINE" != x
; then
9296 eval "DEFAULT_$LINE"
9301 ac_cv_use_miniframe
='wxUSE_MINIFRAME='$DEFAULT_wxUSE_MINIFRAME
9305 eval "$ac_cv_use_miniframe"
9306 if test "$no_cache" != 1; then
9307 echo $ac_cv_use_miniframe >> ${wx_arg_cache_file}.tmp
9310 if test "$wxUSE_MINIFRAME" = yes; then
9311 echo "$as_me:$LINENO: result: yes" >&5
9312 echo "${ECHO_T}yes" >&6
9314 echo "$as_me:$LINENO: result: no" >&5
9315 echo "${ECHO_T}no" >&6
9320 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tooltips" >&5
9321 echo $ECHO_N "checking for --${enablestring:-enable}-tooltips... $ECHO_C" >&6
9323 # Check whether --enable-tooltips or --disable-tooltips was given.
9324 if test "${enable_tooltips+set}" = set; then
9325 enableval
="$enable_tooltips"
9327 if test "$enableval" = yes; then
9328 ac_cv_use_tooltips
='wxUSE_TOOLTIPS=yes'
9330 ac_cv_use_tooltips
='wxUSE_TOOLTIPS=no'
9335 LINE
=`grep "wxUSE_TOOLTIPS" ${wx_arg_cache_file}`
9336 if test "x$LINE" != x
; then
9337 eval "DEFAULT_$LINE"
9342 ac_cv_use_tooltips
='wxUSE_TOOLTIPS='$DEFAULT_wxUSE_TOOLTIPS
9346 eval "$ac_cv_use_tooltips"
9347 if test "$no_cache" != 1; then
9348 echo $ac_cv_use_tooltips >> ${wx_arg_cache_file}.tmp
9351 if test "$wxUSE_TOOLTIPS" = yes; then
9352 echo "$as_me:$LINENO: result: yes" >&5
9353 echo "${ECHO_T}yes" >&6
9355 echo "$as_me:$LINENO: result: no" >&5
9356 echo "${ECHO_T}no" >&6
9361 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splines" >&5
9362 echo $ECHO_N "checking for --${enablestring:-enable}-splines... $ECHO_C" >&6
9364 # Check whether --enable-splines or --disable-splines was given.
9365 if test "${enable_splines+set}" = set; then
9366 enableval
="$enable_splines"
9368 if test "$enableval" = yes; then
9369 ac_cv_use_splines
='wxUSE_SPLINES=yes'
9371 ac_cv_use_splines
='wxUSE_SPLINES=no'
9376 LINE
=`grep "wxUSE_SPLINES" ${wx_arg_cache_file}`
9377 if test "x$LINE" != x
; then
9378 eval "DEFAULT_$LINE"
9383 ac_cv_use_splines
='wxUSE_SPLINES='$DEFAULT_wxUSE_SPLINES
9387 eval "$ac_cv_use_splines"
9388 if test "$no_cache" != 1; then
9389 echo $ac_cv_use_splines >> ${wx_arg_cache_file}.tmp
9392 if test "$wxUSE_SPLINES" = yes; then
9393 echo "$as_me:$LINENO: result: yes" >&5
9394 echo "${ECHO_T}yes" >&6
9396 echo "$as_me:$LINENO: result: no" >&5
9397 echo "${ECHO_T}no" >&6
9402 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-validators" >&5
9403 echo $ECHO_N "checking for --${enablestring:-enable}-validators... $ECHO_C" >&6
9405 # Check whether --enable-validators or --disable-validators was given.
9406 if test "${enable_validators+set}" = set; then
9407 enableval
="$enable_validators"
9409 if test "$enableval" = yes; then
9410 ac_cv_use_validators
='wxUSE_VALIDATORS=yes'
9412 ac_cv_use_validators
='wxUSE_VALIDATORS=no'
9417 LINE
=`grep "wxUSE_VALIDATORS" ${wx_arg_cache_file}`
9418 if test "x$LINE" != x
; then
9419 eval "DEFAULT_$LINE"
9424 ac_cv_use_validators
='wxUSE_VALIDATORS='$DEFAULT_wxUSE_VALIDATORS
9428 eval "$ac_cv_use_validators"
9429 if test "$no_cache" != 1; then
9430 echo $ac_cv_use_validators >> ${wx_arg_cache_file}.tmp
9433 if test "$wxUSE_VALIDATORS" = yes; then
9434 echo "$as_me:$LINENO: result: yes" >&5
9435 echo "${ECHO_T}yes" >&6
9437 echo "$as_me:$LINENO: result: no" >&5
9438 echo "${ECHO_T}no" >&6
9443 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-busyinfo" >&5
9444 echo $ECHO_N "checking for --${enablestring:-enable}-busyinfo... $ECHO_C" >&6
9446 # Check whether --enable-busyinfo or --disable-busyinfo was given.
9447 if test "${enable_busyinfo+set}" = set; then
9448 enableval
="$enable_busyinfo"
9450 if test "$enableval" = yes; then
9451 ac_cv_use_busyinfo
='wxUSE_BUSYINFO=yes'
9453 ac_cv_use_busyinfo
='wxUSE_BUSYINFO=no'
9458 LINE
=`grep "wxUSE_BUSYINFO" ${wx_arg_cache_file}`
9459 if test "x$LINE" != x
; then
9460 eval "DEFAULT_$LINE"
9465 ac_cv_use_busyinfo
='wxUSE_BUSYINFO='$DEFAULT_wxUSE_BUSYINFO
9469 eval "$ac_cv_use_busyinfo"
9470 if test "$no_cache" != 1; then
9471 echo $ac_cv_use_busyinfo >> ${wx_arg_cache_file}.tmp
9474 if test "$wxUSE_BUSYINFO" = yes; then
9475 echo "$as_me:$LINENO: result: yes" >&5
9476 echo "${ECHO_T}yes" >&6
9478 echo "$as_me:$LINENO: result: no" >&5
9479 echo "${ECHO_T}no" >&6
9484 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-joystick" >&5
9485 echo $ECHO_N "checking for --${enablestring:-enable}-joystick... $ECHO_C" >&6
9487 # Check whether --enable-joystick or --disable-joystick was given.
9488 if test "${enable_joystick+set}" = set; then
9489 enableval
="$enable_joystick"
9491 if test "$enableval" = yes; then
9492 ac_cv_use_joystick
='wxUSE_JOYSTICK=yes'
9494 ac_cv_use_joystick
='wxUSE_JOYSTICK=no'
9499 LINE
=`grep "wxUSE_JOYSTICK" ${wx_arg_cache_file}`
9500 if test "x$LINE" != x
; then
9501 eval "DEFAULT_$LINE"
9506 ac_cv_use_joystick
='wxUSE_JOYSTICK='$DEFAULT_wxUSE_JOYSTICK
9510 eval "$ac_cv_use_joystick"
9511 if test "$no_cache" != 1; then
9512 echo $ac_cv_use_joystick >> ${wx_arg_cache_file}.tmp
9515 if test "$wxUSE_JOYSTICK" = yes; then
9516 echo "$as_me:$LINENO: result: yes" >&5
9517 echo "${ECHO_T}yes" >&6
9519 echo "$as_me:$LINENO: result: no" >&5
9520 echo "${ECHO_T}no" >&6
9525 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-metafile" >&5
9526 echo $ECHO_N "checking for --${enablestring:-enable}-metafile... $ECHO_C" >&6
9528 # Check whether --enable-metafile or --disable-metafile was given.
9529 if test "${enable_metafile+set}" = set; then
9530 enableval
="$enable_metafile"
9532 if test "$enableval" = yes; then
9533 ac_cv_use_metafile
='wxUSE_METAFILE=yes'
9535 ac_cv_use_metafile
='wxUSE_METAFILE=no'
9540 LINE
=`grep "wxUSE_METAFILE" ${wx_arg_cache_file}`
9541 if test "x$LINE" != x
; then
9542 eval "DEFAULT_$LINE"
9547 ac_cv_use_metafile
='wxUSE_METAFILE='$DEFAULT_wxUSE_METAFILE
9551 eval "$ac_cv_use_metafile"
9552 if test "$no_cache" != 1; then
9553 echo $ac_cv_use_metafile >> ${wx_arg_cache_file}.tmp
9556 if test "$wxUSE_METAFILE" = yes; then
9557 echo "$as_me:$LINENO: result: yes" >&5
9558 echo "${ECHO_T}yes" >&6
9560 echo "$as_me:$LINENO: result: no" >&5
9561 echo "${ECHO_T}no" >&6
9566 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dragimage" >&5
9567 echo $ECHO_N "checking for --${enablestring:-enable}-dragimage... $ECHO_C" >&6
9569 # Check whether --enable-dragimage or --disable-dragimage was given.
9570 if test "${enable_dragimage+set}" = set; then
9571 enableval
="$enable_dragimage"
9573 if test "$enableval" = yes; then
9574 ac_cv_use_dragimage
='wxUSE_DRAGIMAGE=yes'
9576 ac_cv_use_dragimage
='wxUSE_DRAGIMAGE=no'
9581 LINE
=`grep "wxUSE_DRAGIMAGE" ${wx_arg_cache_file}`
9582 if test "x$LINE" != x
; then
9583 eval "DEFAULT_$LINE"
9588 ac_cv_use_dragimage
='wxUSE_DRAGIMAGE='$DEFAULT_wxUSE_DRAGIMAGE
9592 eval "$ac_cv_use_dragimage"
9593 if test "$no_cache" != 1; then
9594 echo $ac_cv_use_dragimage >> ${wx_arg_cache_file}.tmp
9597 if test "$wxUSE_DRAGIMAGE" = yes; then
9598 echo "$as_me:$LINENO: result: yes" >&5
9599 echo "${ECHO_T}yes" >&6
9601 echo "$as_me:$LINENO: result: no" >&5
9602 echo "${ECHO_T}no" >&6
9607 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-accessibility" >&5
9608 echo $ECHO_N "checking for --${enablestring:-enable}-accessibility... $ECHO_C" >&6
9610 # Check whether --enable-accessibility or --disable-accessibility was given.
9611 if test "${enable_accessibility+set}" = set; then
9612 enableval
="$enable_accessibility"
9614 if test "$enableval" = yes; then
9615 ac_cv_use_accessibility
='wxUSE_ACCESSIBILITY=yes'
9617 ac_cv_use_accessibility
='wxUSE_ACCESSIBILITY=no'
9622 LINE
=`grep "wxUSE_ACCESSIBILITY" ${wx_arg_cache_file}`
9623 if test "x$LINE" != x
; then
9624 eval "DEFAULT_$LINE"
9629 ac_cv_use_accessibility
='wxUSE_ACCESSIBILITY='$DEFAULT_wxUSE_ACCESSIBILITY
9633 eval "$ac_cv_use_accessibility"
9634 if test "$no_cache" != 1; then
9635 echo $ac_cv_use_accessibility >> ${wx_arg_cache_file}.tmp
9638 if test "$wxUSE_ACCESSIBILITY" = yes; then
9639 echo "$as_me:$LINENO: result: yes" >&5
9640 echo "${ECHO_T}yes" >&6
9642 echo "$as_me:$LINENO: result: no" >&5
9643 echo "${ECHO_T}no" >&6
9650 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-palette" >&5
9651 echo $ECHO_N "checking for --${enablestring:-enable}-palette... $ECHO_C" >&6
9653 # Check whether --enable-palette or --disable-palette was given.
9654 if test "${enable_palette+set}" = set; then
9655 enableval
="$enable_palette"
9657 if test "$enableval" = yes; then
9658 ac_cv_use_palette
='wxUSE_PALETTE=yes'
9660 ac_cv_use_palette
='wxUSE_PALETTE=no'
9665 LINE
=`grep "wxUSE_PALETTE" ${wx_arg_cache_file}`
9666 if test "x$LINE" != x
; then
9667 eval "DEFAULT_$LINE"
9672 ac_cv_use_palette
='wxUSE_PALETTE='$DEFAULT_wxUSE_PALETTE
9676 eval "$ac_cv_use_palette"
9677 if test "$no_cache" != 1; then
9678 echo $ac_cv_use_palette >> ${wx_arg_cache_file}.tmp
9681 if test "$wxUSE_PALETTE" = yes; then
9682 echo "$as_me:$LINENO: result: yes" >&5
9683 echo "${ECHO_T}yes" >&6
9685 echo "$as_me:$LINENO: result: no" >&5
9686 echo "${ECHO_T}no" >&6
9691 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-image" >&5
9692 echo $ECHO_N "checking for --${enablestring:-enable}-image... $ECHO_C" >&6
9694 # Check whether --enable-image or --disable-image was given.
9695 if test "${enable_image+set}" = set; then
9696 enableval
="$enable_image"
9698 if test "$enableval" = yes; then
9699 ac_cv_use_image
='wxUSE_IMAGE=yes'
9701 ac_cv_use_image
='wxUSE_IMAGE=no'
9706 LINE
=`grep "wxUSE_IMAGE" ${wx_arg_cache_file}`
9707 if test "x$LINE" != x
; then
9708 eval "DEFAULT_$LINE"
9713 ac_cv_use_image
='wxUSE_IMAGE='$DEFAULT_wxUSE_IMAGE
9717 eval "$ac_cv_use_image"
9718 if test "$no_cache" != 1; then
9719 echo $ac_cv_use_image >> ${wx_arg_cache_file}.tmp
9722 if test "$wxUSE_IMAGE" = yes; then
9723 echo "$as_me:$LINENO: result: yes" >&5
9724 echo "${ECHO_T}yes" >&6
9726 echo "$as_me:$LINENO: result: no" >&5
9727 echo "${ECHO_T}no" >&6
9732 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gif" >&5
9733 echo $ECHO_N "checking for --${enablestring:-enable}-gif... $ECHO_C" >&6
9735 # Check whether --enable-gif or --disable-gif was given.
9736 if test "${enable_gif+set}" = set; then
9737 enableval
="$enable_gif"
9739 if test "$enableval" = yes; then
9740 ac_cv_use_gif
='wxUSE_GIF=yes'
9742 ac_cv_use_gif
='wxUSE_GIF=no'
9747 LINE
=`grep "wxUSE_GIF" ${wx_arg_cache_file}`
9748 if test "x$LINE" != x
; then
9749 eval "DEFAULT_$LINE"
9754 ac_cv_use_gif
='wxUSE_GIF='$DEFAULT_wxUSE_GIF
9758 eval "$ac_cv_use_gif"
9759 if test "$no_cache" != 1; then
9760 echo $ac_cv_use_gif >> ${wx_arg_cache_file}.tmp
9763 if test "$wxUSE_GIF" = yes; then
9764 echo "$as_me:$LINENO: result: yes" >&5
9765 echo "${ECHO_T}yes" >&6
9767 echo "$as_me:$LINENO: result: no" >&5
9768 echo "${ECHO_T}no" >&6
9773 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-pcx" >&5
9774 echo $ECHO_N "checking for --${enablestring:-enable}-pcx... $ECHO_C" >&6
9776 # Check whether --enable-pcx or --disable-pcx was given.
9777 if test "${enable_pcx+set}" = set; then
9778 enableval
="$enable_pcx"
9780 if test "$enableval" = yes; then
9781 ac_cv_use_pcx
='wxUSE_PCX=yes'
9783 ac_cv_use_pcx
='wxUSE_PCX=no'
9788 LINE
=`grep "wxUSE_PCX" ${wx_arg_cache_file}`
9789 if test "x$LINE" != x
; then
9790 eval "DEFAULT_$LINE"
9795 ac_cv_use_pcx
='wxUSE_PCX='$DEFAULT_wxUSE_PCX
9799 eval "$ac_cv_use_pcx"
9800 if test "$no_cache" != 1; then
9801 echo $ac_cv_use_pcx >> ${wx_arg_cache_file}.tmp
9804 if test "$wxUSE_PCX" = yes; then
9805 echo "$as_me:$LINENO: result: yes" >&5
9806 echo "${ECHO_T}yes" >&6
9808 echo "$as_me:$LINENO: result: no" >&5
9809 echo "${ECHO_T}no" >&6
9814 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-iff" >&5
9815 echo $ECHO_N "checking for --${enablestring:-enable}-iff... $ECHO_C" >&6
9817 # Check whether --enable-iff or --disable-iff was given.
9818 if test "${enable_iff+set}" = set; then
9819 enableval
="$enable_iff"
9821 if test "$enableval" = yes; then
9822 ac_cv_use_iff
='wxUSE_IFF=yes'
9824 ac_cv_use_iff
='wxUSE_IFF=no'
9829 LINE
=`grep "wxUSE_IFF" ${wx_arg_cache_file}`
9830 if test "x$LINE" != x
; then
9831 eval "DEFAULT_$LINE"
9836 ac_cv_use_iff
='wxUSE_IFF='$DEFAULT_wxUSE_IFF
9840 eval "$ac_cv_use_iff"
9841 if test "$no_cache" != 1; then
9842 echo $ac_cv_use_iff >> ${wx_arg_cache_file}.tmp
9845 if test "$wxUSE_IFF" = yes; then
9846 echo "$as_me:$LINENO: result: yes" >&5
9847 echo "${ECHO_T}yes" >&6
9849 echo "$as_me:$LINENO: result: no" >&5
9850 echo "${ECHO_T}no" >&6
9855 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-pnm" >&5
9856 echo $ECHO_N "checking for --${enablestring:-enable}-pnm... $ECHO_C" >&6
9858 # Check whether --enable-pnm or --disable-pnm was given.
9859 if test "${enable_pnm+set}" = set; then
9860 enableval
="$enable_pnm"
9862 if test "$enableval" = yes; then
9863 ac_cv_use_pnm
='wxUSE_PNM=yes'
9865 ac_cv_use_pnm
='wxUSE_PNM=no'
9870 LINE
=`grep "wxUSE_PNM" ${wx_arg_cache_file}`
9871 if test "x$LINE" != x
; then
9872 eval "DEFAULT_$LINE"
9877 ac_cv_use_pnm
='wxUSE_PNM='$DEFAULT_wxUSE_PNM
9881 eval "$ac_cv_use_pnm"
9882 if test "$no_cache" != 1; then
9883 echo $ac_cv_use_pnm >> ${wx_arg_cache_file}.tmp
9886 if test "$wxUSE_PNM" = yes; then
9887 echo "$as_me:$LINENO: result: yes" >&5
9888 echo "${ECHO_T}yes" >&6
9890 echo "$as_me:$LINENO: result: no" >&5
9891 echo "${ECHO_T}no" >&6
9896 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-xpm" >&5
9897 echo $ECHO_N "checking for --${enablestring:-enable}-xpm... $ECHO_C" >&6
9899 # Check whether --enable-xpm or --disable-xpm was given.
9900 if test "${enable_xpm+set}" = set; then
9901 enableval
="$enable_xpm"
9903 if test "$enableval" = yes; then
9904 ac_cv_use_xpm
='wxUSE_XPM=yes'
9906 ac_cv_use_xpm
='wxUSE_XPM=no'
9911 LINE
=`grep "wxUSE_XPM" ${wx_arg_cache_file}`
9912 if test "x$LINE" != x
; then
9913 eval "DEFAULT_$LINE"
9918 ac_cv_use_xpm
='wxUSE_XPM='$DEFAULT_wxUSE_XPM
9922 eval "$ac_cv_use_xpm"
9923 if test "$no_cache" != 1; then
9924 echo $ac_cv_use_xpm >> ${wx_arg_cache_file}.tmp
9927 if test "$wxUSE_XPM" = yes; then
9928 echo "$as_me:$LINENO: result: yes" >&5
9929 echo "${ECHO_T}yes" >&6
9931 echo "$as_me:$LINENO: result: no" >&5
9932 echo "${ECHO_T}no" >&6
9937 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ico_cur" >&5
9938 echo $ECHO_N "checking for --${enablestring:-enable}-ico_cur... $ECHO_C" >&6
9940 # Check whether --enable-ico_cur or --disable-ico_cur was given.
9941 if test "${enable_ico_cur+set}" = set; then
9942 enableval
="$enable_ico_cur"
9944 if test "$enableval" = yes; then
9945 ac_cv_use_ico_cur
='wxUSE_ICO_CUR=yes'
9947 ac_cv_use_ico_cur
='wxUSE_ICO_CUR=no'
9952 LINE
=`grep "wxUSE_ICO_CUR" ${wx_arg_cache_file}`
9953 if test "x$LINE" != x
; then
9954 eval "DEFAULT_$LINE"
9959 ac_cv_use_ico_cur
='wxUSE_ICO_CUR='$DEFAULT_wxUSE_ICO_CUR
9963 eval "$ac_cv_use_ico_cur"
9964 if test "$no_cache" != 1; then
9965 echo $ac_cv_use_ico_cur >> ${wx_arg_cache_file}.tmp
9968 if test "$wxUSE_ICO_CUR" = yes; then
9969 echo "$as_me:$LINENO: result: yes" >&5
9970 echo "${ECHO_T}yes" >&6
9972 echo "$as_me:$LINENO: result: no" >&5
9973 echo "${ECHO_T}no" >&6
9981 # Check whether --with-flavour or --without-flavour was given.
9982 if test "${with_flavour+set}" = set; then
9983 withval
="$with_flavour"
9984 WX_FLAVOUR
="$withval"
9990 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-official_build" >&5
9991 echo $ECHO_N "checking for --${enablestring:-enable}-official_build... $ECHO_C" >&6
9993 # Check whether --enable-official_build or --disable-official_build was given.
9994 if test "${enable_official_build+set}" = set; then
9995 enableval
="$enable_official_build"
9997 if test "$enableval" = yes; then
9998 ac_cv_use_official_build
='wxUSE_OFFICIAL_BUILD=yes'
10000 ac_cv_use_official_build
='wxUSE_OFFICIAL_BUILD=no'
10005 LINE
=`grep "wxUSE_OFFICIAL_BUILD" ${wx_arg_cache_file}`
10006 if test "x$LINE" != x
; then
10007 eval "DEFAULT_$LINE"
10012 ac_cv_use_official_build
='wxUSE_OFFICIAL_BUILD='$DEFAULT_wxUSE_OFFICIAL_BUILD
10016 eval "$ac_cv_use_official_build"
10017 if test "$no_cache" != 1; then
10018 echo $ac_cv_use_official_build >> ${wx_arg_cache_file}.tmp
10021 if test "$wxUSE_OFFICIAL_BUILD" = yes; then
10022 echo "$as_me:$LINENO: result: yes" >&5
10023 echo "${ECHO_T}yes" >&6
10025 echo "$as_me:$LINENO: result: no" >&5
10026 echo "${ECHO_T}no" >&6
10029 # Check whether --enable-vendor or --disable-vendor was given.
10030 if test "${enable_vendor+set}" = set; then
10031 enableval
="$enable_vendor"
10032 VENDOR
="$enableval"
10034 if test "x$VENDOR" = "x"; then
10041 echo "saving argument cache $wx_arg_cache_file"
10042 mv ${wx_arg_cache_file}.tmp
${wx_arg_cache_file}
10046 echo "$as_me:$LINENO: checking for toolkit" >&5
10047 echo $ECHO_N "checking for toolkit... $ECHO_C" >&6
10049 # In Wine, we need to default to MSW, not GTK or MOTIF
10050 if test "$wxUSE_WINE" = "yes"; then
10051 DEFAULT_DEFAULT_wxUSE_GTK
=0
10052 DEFAULT_DEFAULT_wxUSE_MOTIF
=0
10053 DEFAULT_DEFAULT_wxUSE_MSW
=1
10057 if test "$wxUSE_GUI" = "yes"; then
10059 if test "$USE_BEOS" = 1; then
10060 { { echo "$as_me:$LINENO: error: BeOS GUI is not supported yet, use --disable-gui" >&5
10061 echo "$as_me: error: BeOS GUI is not supported yet, use --disable-gui" >&2;}
10062 { (exit 1); exit 1; }; }
10065 if test "$TOOLKIT_GIVEN" = 1; then
10066 for toolkit
in `echo $ALL_TOOLKITS`; do
10068 eval "value=\$${var}"
10069 eval "$var=`echo \$value | sed -e "s
/yes
/1/" -e "s
/no
/0/"`"
10072 for toolkit
in `echo $ALL_TOOLKITS`; do
10073 if test "$has_toolkit_in_cache" != 1; then
10074 var
=DEFAULT_DEFAULT_wxUSE_
$toolkit
10076 var
=DEFAULT_wxUSE_
$toolkit
10078 eval "wxUSE_$toolkit=\$${var}"
10082 NUM_TOOLKITS
=`expr ${wxUSE_COCOA:-0} + ${wxUSE_GTK:-0} + ${wxUSE_MAC:-0} \
10083 + ${wxUSE_MGL:-0} + ${wxUSE_MICROWIN:-0} \
10084 + ${wxUSE_MOTIF:-0} + ${wxUSE_MSW:-0} + ${wxUSE_X11:-0}`
10087 *-pc-os2_emx | *-pc-os2-emx )
10088 NUM_TOOLKITS
=`expr ${NUM_TOOLKITS} + ${wxUSE_PM:-0}`
10091 case "$NUM_TOOLKITS" in
10095 { { echo "$as_me:$LINENO: error: Please specify a toolkit -- cannot determine the default for ${host}" >&5
10096 echo "$as_me: error: Please specify a toolkit -- cannot determine the default for ${host}" >&2;}
10097 { (exit 1); exit 1; }; }
10100 { { echo "$as_me:$LINENO: error: Please specify at most one toolkit (maybe some are cached in configarg.cache?)" >&5
10101 echo "$as_me: error: Please specify at most one toolkit (maybe some are cached in configarg.cache?)" >&2;}
10102 { (exit 1); exit 1; }; }
10105 for toolkit
in `echo $ALL_TOOLKITS`; do
10107 eval "value=\$${var}"
10108 if test "x$value" != x
; then
10109 cache_var
=CACHE_
$toolkit
10110 eval "cache=\$${cache_var}"
10111 if test "$cache" = 1; then
10112 echo "$var=$value" >> ${wx_arg_cache_file}
10114 if test "$value" = 1; then
10115 toolkit_echo
=`echo $toolkit | tr "[A-Z]" "[a-z]"`
10116 echo "$as_me:$LINENO: result: $toolkit_echo" >&5
10117 echo "${ECHO_T}$toolkit_echo" >&6
10122 if test "x$host_alias" != "x"; then
10123 echo "$as_me:$LINENO: result: base ($host_alias hosted) only" >&5
10124 echo "${ECHO_T}base ($host_alias hosted) only" >&6
10126 echo "$as_me:$LINENO: result: base only" >&5
10127 echo "${ECHO_T}base only" >&6
10132 doesnt_want_win32
=0
10135 if test "$wxUSE_MSW" = 1 ; then
10138 doesnt_want_win32
=1
10146 if test "$wxUSE_WINE" = "yes"; then
10151 LDFLAGS_GUI
="-mwindows"
10154 if test "$wants_win32" = 1 ; then
10157 cat >>confdefs.h
<<\_ACEOF
10158 #define __WIN32__ 1
10161 cat >>confdefs.h
<<\_ACEOF
10162 #define __WIN95__ 1
10165 cat >>confdefs.h
<<\_ACEOF
10166 #define __WINDOWS__ 1
10169 cat >>confdefs.h
<<\_ACEOF
10170 #define __GNUWIN32__ 1
10173 cat >>confdefs.h
<<\_ACEOF
10177 cat >>confdefs.h
<<\_ACEOF
10178 #define WINVER 0x0400
10182 if test "$doesnt_want_win32" = 1 ; then
10187 if test "$USE_UNIX" = 1 ; then
10189 cat >>confdefs.h
<<\_ACEOF
10196 cat >confcache
<<\_ACEOF
10197 # This file is a shell script that caches the results of configure
10198 # tests run on this system so they can be shared between configure
10199 # scripts and configure runs, see configure's option --config-cache.
10200 # It is not useful on other systems. If it contains results you don't
10201 # want to keep, you may remove or edit it.
10203 # config.status only pays attention to the cache file if you give it
10204 # the --recheck option to rerun configure.
10206 # `ac_cv_env_foo' variables (set or unset) will be overridden when
10207 # loading this file, other *unset* `ac_cv_foo' will be assigned the
10208 # following values.
10212 # The following way of writing the cache mishandles newlines in values,
10213 # but we know of no workaround that is simple, portable, and efficient.
10214 # So, don't put newlines in cache variables' values.
10215 # Ultrix sh set writes to stderr and can't be redirected directly,
10216 # and sets the high bit in the cache file unless we assign to the vars.
10219 case `(ac_space=' '; set | grep ac_space) 2>&1` in
10221 # `set' does not quote correctly, so add quotes (double-quote
10222 # substitution turns \\\\ into \\, and sed turns \\ into \).
10225 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
10228 # `set' quotes correctly as required by POSIX, so do not add quotes.
10230 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
10237 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
10239 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
10241 if diff $cache_file confcache
>/dev
/null
2>&1; then :; else
10242 if test -w $cache_file; then
10243 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
10244 cat confcache
>$cache_file
10246 echo "not updating unwritable cache $cache_file"
10251 if test "$build" != "$host" ; then
10252 if test "$USE_WIN32" = 1 -o "$USE_DOS" = 1 -o "$USE_UNIX"; then
10254 CXX
=$host_alias-c++
10256 RANLIB
=$host_alias-ranlib
10257 DLLTOOL
=$host_alias-dlltool
10258 RESCOMP
=$host_alias-windres
10259 STRIP
=$host_alias-strip
10261 { { echo "$as_me:$LINENO: error: $build_alias -> $host_alias cross compilation not supported yet." >&5
10262 echo "$as_me: error: $build_alias -> $host_alias cross compilation not supported yet." >&2;}
10263 { (exit 1); exit 1; }; }
10269 ac_cpp
='$CPP $CPPFLAGS'
10270 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10271 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10272 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
10273 if test -n "$ac_tool_prefix"; then
10274 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
10275 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
10276 echo "$as_me:$LINENO: checking for $ac_word" >&5
10277 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10278 if test "${ac_cv_prog_CC+set}" = set; then
10279 echo $ECHO_N "(cached) $ECHO_C" >&6
10281 if test -n "$CC"; then
10282 ac_cv_prog_CC
="$CC" # Let the user override the test.
10284 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10285 for as_dir
in $PATH
10288 test -z "$as_dir" && as_dir
=.
10289 for ac_exec_ext
in '' $ac_executable_extensions; do
10290 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10291 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
10292 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10301 if test -n "$CC"; then
10302 echo "$as_me:$LINENO: result: $CC" >&5
10303 echo "${ECHO_T}$CC" >&6
10305 echo "$as_me:$LINENO: result: no" >&5
10306 echo "${ECHO_T}no" >&6
10310 if test -z "$ac_cv_prog_CC"; then
10312 # Extract the first word of "gcc", so it can be a program name with args.
10313 set dummy gcc
; ac_word
=$2
10314 echo "$as_me:$LINENO: checking for $ac_word" >&5
10315 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10316 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
10317 echo $ECHO_N "(cached) $ECHO_C" >&6
10319 if test -n "$ac_ct_CC"; then
10320 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
10322 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10323 for as_dir
in $PATH
10326 test -z "$as_dir" && as_dir
=.
10327 for ac_exec_ext
in '' $ac_executable_extensions; do
10328 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10329 ac_cv_prog_ac_ct_CC
="gcc"
10330 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10338 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
10339 if test -n "$ac_ct_CC"; then
10340 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
10341 echo "${ECHO_T}$ac_ct_CC" >&6
10343 echo "$as_me:$LINENO: result: no" >&5
10344 echo "${ECHO_T}no" >&6
10349 CC
="$ac_cv_prog_CC"
10352 if test -z "$CC"; then
10353 if test -n "$ac_tool_prefix"; then
10354 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
10355 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
10356 echo "$as_me:$LINENO: checking for $ac_word" >&5
10357 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10358 if test "${ac_cv_prog_CC+set}" = set; then
10359 echo $ECHO_N "(cached) $ECHO_C" >&6
10361 if test -n "$CC"; then
10362 ac_cv_prog_CC
="$CC" # Let the user override the test.
10364 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10365 for as_dir
in $PATH
10368 test -z "$as_dir" && as_dir
=.
10369 for ac_exec_ext
in '' $ac_executable_extensions; do
10370 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10371 ac_cv_prog_CC
="${ac_tool_prefix}cc"
10372 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10381 if test -n "$CC"; then
10382 echo "$as_me:$LINENO: result: $CC" >&5
10383 echo "${ECHO_T}$CC" >&6
10385 echo "$as_me:$LINENO: result: no" >&5
10386 echo "${ECHO_T}no" >&6
10390 if test -z "$ac_cv_prog_CC"; then
10392 # Extract the first word of "cc", so it can be a program name with args.
10393 set dummy cc
; ac_word
=$2
10394 echo "$as_me:$LINENO: checking for $ac_word" >&5
10395 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10396 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
10397 echo $ECHO_N "(cached) $ECHO_C" >&6
10399 if test -n "$ac_ct_CC"; then
10400 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
10402 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10403 for as_dir
in $PATH
10406 test -z "$as_dir" && as_dir
=.
10407 for ac_exec_ext
in '' $ac_executable_extensions; do
10408 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10409 ac_cv_prog_ac_ct_CC
="cc"
10410 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10418 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
10419 if test -n "$ac_ct_CC"; then
10420 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
10421 echo "${ECHO_T}$ac_ct_CC" >&6
10423 echo "$as_me:$LINENO: result: no" >&5
10424 echo "${ECHO_T}no" >&6
10429 CC
="$ac_cv_prog_CC"
10433 if test -z "$CC"; then
10434 # Extract the first word of "cc", so it can be a program name with args.
10435 set dummy cc
; ac_word
=$2
10436 echo "$as_me:$LINENO: checking for $ac_word" >&5
10437 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10438 if test "${ac_cv_prog_CC+set}" = set; then
10439 echo $ECHO_N "(cached) $ECHO_C" >&6
10441 if test -n "$CC"; then
10442 ac_cv_prog_CC
="$CC" # Let the user override the test.
10444 ac_prog_rejected
=no
10445 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10446 for as_dir
in $PATH
10449 test -z "$as_dir" && as_dir
=.
10450 for ac_exec_ext
in '' $ac_executable_extensions; do
10451 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10452 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
10453 ac_prog_rejected
=yes
10457 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10463 if test $ac_prog_rejected = yes; then
10464 # We found a bogon in the path, so make sure we never use it.
10465 set dummy
$ac_cv_prog_CC
10467 if test $# != 0; then
10468 # We chose a different compiler from the bogus one.
10469 # However, it has the same basename, so the bogon will be chosen
10470 # first if we set CC to just the basename; use the full file name.
10472 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
10478 if test -n "$CC"; then
10479 echo "$as_me:$LINENO: result: $CC" >&5
10480 echo "${ECHO_T}$CC" >&6
10482 echo "$as_me:$LINENO: result: no" >&5
10483 echo "${ECHO_T}no" >&6
10487 if test -z "$CC"; then
10488 if test -n "$ac_tool_prefix"; then
10491 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
10492 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
10493 echo "$as_me:$LINENO: checking for $ac_word" >&5
10494 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10495 if test "${ac_cv_prog_CC+set}" = set; then
10496 echo $ECHO_N "(cached) $ECHO_C" >&6
10498 if test -n "$CC"; then
10499 ac_cv_prog_CC
="$CC" # Let the user override the test.
10501 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10502 for as_dir
in $PATH
10505 test -z "$as_dir" && as_dir
=.
10506 for ac_exec_ext
in '' $ac_executable_extensions; do
10507 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10508 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
10509 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10518 if test -n "$CC"; then
10519 echo "$as_me:$LINENO: result: $CC" >&5
10520 echo "${ECHO_T}$CC" >&6
10522 echo "$as_me:$LINENO: result: no" >&5
10523 echo "${ECHO_T}no" >&6
10526 test -n "$CC" && break
10529 if test -z "$CC"; then
10533 # Extract the first word of "$ac_prog", so it can be a program name with args.
10534 set dummy
$ac_prog; ac_word
=$2
10535 echo "$as_me:$LINENO: checking for $ac_word" >&5
10536 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10537 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
10538 echo $ECHO_N "(cached) $ECHO_C" >&6
10540 if test -n "$ac_ct_CC"; then
10541 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
10543 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10544 for as_dir
in $PATH
10547 test -z "$as_dir" && as_dir
=.
10548 for ac_exec_ext
in '' $ac_executable_extensions; do
10549 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10550 ac_cv_prog_ac_ct_CC
="$ac_prog"
10551 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10559 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
10560 if test -n "$ac_ct_CC"; then
10561 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
10562 echo "${ECHO_T}$ac_ct_CC" >&6
10564 echo "$as_me:$LINENO: result: no" >&5
10565 echo "${ECHO_T}no" >&6
10568 test -n "$ac_ct_CC" && break
10577 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
10578 See \`config.log' for more details." >&5
10579 echo "$as_me: error: no acceptable C compiler found in \$PATH
10580 See \`config.log' for more details." >&2;}
10581 { (exit 1); exit 1; }; }
10583 # Provide some information about the compiler.
10584 echo "$as_me:$LINENO:" \
10585 "checking for C compiler version" >&5
10586 ac_compiler
=`set X $ac_compile; echo $2`
10587 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
10588 (eval $ac_compiler --version </dev
/null
>&5) 2>&5
10590 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10591 (exit $ac_status); }
10592 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
10593 (eval $ac_compiler -v </dev
/null
>&5) 2>&5
10595 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10596 (exit $ac_status); }
10597 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
10598 (eval $ac_compiler -V </dev
/null
>&5) 2>&5
10600 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10601 (exit $ac_status); }
10603 cat >conftest.
$ac_ext <<_ACEOF
10606 cat confdefs.h
>>conftest.
$ac_ext
10607 cat >>conftest.
$ac_ext <<_ACEOF
10608 /* end confdefs.h. */
10618 ac_clean_files_save
=$ac_clean_files
10619 ac_clean_files
="$ac_clean_files a.out a.exe b.out"
10620 # Try to create an executable without -o first, disregard a.out.
10621 # It will help us diagnose broken compilers, and finding out an intuition
10623 echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
10624 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6
10625 ac_link_default
=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
10626 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
10627 (eval $ac_link_default) 2>&5
10629 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10630 (exit $ac_status); }; then
10631 # Find the output, starting from the most likely. This scheme is
10632 # not robust to junk in `.', hence go to wildcards (a.*) only as a last
10635 # Be careful to initialize this variable, since it used to be cached.
10636 # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
10638 # b.out is created by i960 compilers.
10639 for ac_file
in a_out.exe a.exe conftest.exe a.out conftest a.
* conftest.
* b.out
10641 test -f "$ac_file" || continue
10643 *.
$ac_ext | *.xcoff
| *.tds
| *.d
| *.pdb
| *.xSYM
| *.bb
| *.bbg
| *.o
| *.obj
)
10646 # This is the source file.
10649 # We found the default executable, but exeext='' is most
10653 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
10654 # FIXME: I believe we export ac_cv_exeext for Libtool,
10655 # but it would be cool to find out if it's true. Does anybody
10656 # maintain Libtool? --akim.
10657 export ac_cv_exeext
10664 echo "$as_me: failed program was:" >&5
10665 sed 's/^/| /' conftest.
$ac_ext >&5
10667 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
10668 See \`config.log' for more details." >&5
10669 echo "$as_me: error: C compiler cannot create executables
10670 See \`config.log' for more details." >&2;}
10671 { (exit 77); exit 77; }; }
10674 ac_exeext
=$ac_cv_exeext
10675 echo "$as_me:$LINENO: result: $ac_file" >&5
10676 echo "${ECHO_T}$ac_file" >&6
10678 # Check the compiler produces executables we can run. If not, either
10679 # the compiler is broken, or we cross compile.
10680 echo "$as_me:$LINENO: checking whether the C compiler works" >&5
10681 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
10682 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
10683 # If not cross compiling, check that we can run a simple program.
10684 if test "$cross_compiling" != yes; then
10685 if { ac_try
='./$ac_file'
10686 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10687 (eval $ac_try) 2>&5
10689 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10690 (exit $ac_status); }; }; then
10693 if test "$cross_compiling" = maybe
; then
10694 cross_compiling
=yes
10696 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
10697 If you meant to cross compile, use \`--host'.
10698 See \`config.log' for more details." >&5
10699 echo "$as_me: error: cannot run C compiled programs.
10700 If you meant to cross compile, use \`--host'.
10701 See \`config.log' for more details." >&2;}
10702 { (exit 1); exit 1; }; }
10706 echo "$as_me:$LINENO: result: yes" >&5
10707 echo "${ECHO_T}yes" >&6
10709 rm -f a.out a.exe conftest
$ac_cv_exeext b.out
10710 ac_clean_files
=$ac_clean_files_save
10711 # Check the compiler produces executables we can run. If not, either
10712 # the compiler is broken, or we cross compile.
10713 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
10714 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
10715 echo "$as_me:$LINENO: result: $cross_compiling" >&5
10716 echo "${ECHO_T}$cross_compiling" >&6
10718 echo "$as_me:$LINENO: checking for suffix of executables" >&5
10719 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
10720 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10721 (eval $ac_link) 2>&5
10723 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10724 (exit $ac_status); }; then
10725 # If both `conftest.exe' and `conftest' are `present' (well, observable)
10726 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
10727 # work properly (i.e., refer to `conftest.exe'), while it won't with
10729 for ac_file
in conftest.exe conftest conftest.
*; do
10730 test -f "$ac_file" || continue
10732 *.
$ac_ext | *.xcoff
| *.tds
| *.d
| *.pdb
| *.xSYM
| *.bb
| *.bbg
| *.o
| *.obj
) ;;
10733 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
10734 export ac_cv_exeext
10740 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
10741 See \`config.log' for more details." >&5
10742 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
10743 See \`config.log' for more details." >&2;}
10744 { (exit 1); exit 1; }; }
10747 rm -f conftest
$ac_cv_exeext
10748 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
10749 echo "${ECHO_T}$ac_cv_exeext" >&6
10751 rm -f conftest.
$ac_ext
10752 EXEEXT
=$ac_cv_exeext
10754 echo "$as_me:$LINENO: checking for suffix of object files" >&5
10755 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
10756 if test "${ac_cv_objext+set}" = set; then
10757 echo $ECHO_N "(cached) $ECHO_C" >&6
10759 cat >conftest.
$ac_ext <<_ACEOF
10762 cat confdefs.h
>>conftest.
$ac_ext
10763 cat >>conftest.
$ac_ext <<_ACEOF
10764 /* end confdefs.h. */
10774 rm -f conftest.o conftest.obj
10775 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10776 (eval $ac_compile) 2>&5
10778 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10779 (exit $ac_status); }; then
10780 for ac_file
in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
10782 *.
$ac_ext | *.xcoff
| *.tds
| *.d
| *.pdb
| *.xSYM
| *.bb
| *.bbg
) ;;
10783 *) ac_cv_objext
=`expr "$ac_file" : '.*\.\(.*\)'`
10788 echo "$as_me: failed program was:" >&5
10789 sed 's/^/| /' conftest.
$ac_ext >&5
10791 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
10792 See \`config.log' for more details." >&5
10793 echo "$as_me: error: cannot compute suffix of object files: cannot compile
10794 See \`config.log' for more details." >&2;}
10795 { (exit 1); exit 1; }; }
10798 rm -f conftest.
$ac_cv_objext conftest.
$ac_ext
10800 echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
10801 echo "${ECHO_T}$ac_cv_objext" >&6
10802 OBJEXT
=$ac_cv_objext
10804 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
10805 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
10806 if test "${ac_cv_c_compiler_gnu+set}" = set; then
10807 echo $ECHO_N "(cached) $ECHO_C" >&6
10809 cat >conftest.
$ac_ext <<_ACEOF
10812 cat confdefs.h
>>conftest.
$ac_ext
10813 cat >>conftest.
$ac_ext <<_ACEOF
10814 /* end confdefs.h. */
10827 rm -f conftest.
$ac_objext
10828 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10829 (eval $ac_compile) 2>conftest.er1
10831 grep -v '^ *+' conftest.er1
>conftest.err
10833 cat conftest.err
>&5
10834 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10835 (exit $ac_status); } &&
10836 { ac_try
='test -z "$ac_c_werror_flag"
10837 || test ! -s conftest.err'
10838 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10839 (eval $ac_try) 2>&5
10841 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10842 (exit $ac_status); }; } &&
10843 { ac_try
='test -s conftest.$ac_objext'
10844 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10845 (eval $ac_try) 2>&5
10847 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10848 (exit $ac_status); }; }; then
10849 ac_compiler_gnu
=yes
10851 echo "$as_me: failed program was:" >&5
10852 sed 's/^/| /' conftest.
$ac_ext >&5
10856 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
10857 ac_cv_c_compiler_gnu
=$ac_compiler_gnu
10860 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
10861 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
10862 GCC
=`test $ac_compiler_gnu = yes && echo yes`
10863 ac_test_CFLAGS
=${CFLAGS+set}
10864 ac_save_CFLAGS
=$CFLAGS
10866 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
10867 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
10868 if test "${ac_cv_prog_cc_g+set}" = set; then
10869 echo $ECHO_N "(cached) $ECHO_C" >&6
10871 cat >conftest.
$ac_ext <<_ACEOF
10874 cat confdefs.h
>>conftest.
$ac_ext
10875 cat >>conftest.
$ac_ext <<_ACEOF
10876 /* end confdefs.h. */
10886 rm -f conftest.
$ac_objext
10887 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10888 (eval $ac_compile) 2>conftest.er1
10890 grep -v '^ *+' conftest.er1
>conftest.err
10892 cat conftest.err
>&5
10893 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10894 (exit $ac_status); } &&
10895 { ac_try
='test -z "$ac_c_werror_flag"
10896 || test ! -s conftest.err'
10897 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10898 (eval $ac_try) 2>&5
10900 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10901 (exit $ac_status); }; } &&
10902 { ac_try
='test -s conftest.$ac_objext'
10903 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10904 (eval $ac_try) 2>&5
10906 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10907 (exit $ac_status); }; }; then
10908 ac_cv_prog_cc_g
=yes
10910 echo "$as_me: failed program was:" >&5
10911 sed 's/^/| /' conftest.
$ac_ext >&5
10915 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
10917 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
10918 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
10919 if test "$ac_test_CFLAGS" = set; then
10920 CFLAGS
=$ac_save_CFLAGS
10921 elif test $ac_cv_prog_cc_g = yes; then
10922 if test "$GCC" = yes; then
10928 if test "$GCC" = yes; then
10934 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
10935 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
10936 if test "${ac_cv_prog_cc_stdc+set}" = set; then
10937 echo $ECHO_N "(cached) $ECHO_C" >&6
10939 ac_cv_prog_cc_stdc
=no
10941 cat >conftest.
$ac_ext <<_ACEOF
10944 cat confdefs.h
>>conftest.
$ac_ext
10945 cat >>conftest.
$ac_ext <<_ACEOF
10946 /* end confdefs.h. */
10947 #include <stdarg.h>
10949 #include <sys/types.h>
10950 #include <sys/stat.h>
10951 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
10952 struct buf { int x; };
10953 FILE * (*rcsopen) (struct buf *, struct stat *, int);
10954 static char *e (p, i)
10960 static char *f (char * (*g) (char **, int), char **p, ...)
10965 s = g (p, va_arg (v,int));
10970 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
10971 function prototypes and stuff, but not '\xHH' hex character constants.
10972 These don't provoke an error unfortunately, instead are silently treated
10973 as 'x'. The following induces an error, until -std1 is added to get
10974 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
10975 array size at least. It's necessary to write '\x00'==0 to get something
10976 that's true only with -std1. */
10977 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
10979 int test (int i, double x);
10980 struct s1 {int (*f) (int a);};
10981 struct s2 {int (*f) (double a);};
10982 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
10988 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
10993 # Don't try gcc -ansi; that turns off useful extensions and
10994 # breaks some systems' header files.
10995 # AIX -qlanglvl=ansi
10996 # Ultrix and OSF/1 -std1
10997 # HP-UX 10.20 and later -Ae
10998 # HP-UX older versions -Aa -D_HPUX_SOURCE
10999 # SVR4 -Xc -D__EXTENSIONS__
11000 for ac_arg
in "" -qlanglvl=ansi
-std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
11002 CC
="$ac_save_CC $ac_arg"
11003 rm -f conftest.
$ac_objext
11004 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11005 (eval $ac_compile) 2>conftest.er1
11007 grep -v '^ *+' conftest.er1
>conftest.err
11009 cat conftest.err
>&5
11010 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11011 (exit $ac_status); } &&
11012 { ac_try
='test -z "$ac_c_werror_flag"
11013 || test ! -s conftest.err'
11014 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11015 (eval $ac_try) 2>&5
11017 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11018 (exit $ac_status); }; } &&
11019 { ac_try
='test -s conftest.$ac_objext'
11020 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11021 (eval $ac_try) 2>&5
11023 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11024 (exit $ac_status); }; }; then
11025 ac_cv_prog_cc_stdc
=$ac_arg
11028 echo "$as_me: failed program was:" >&5
11029 sed 's/^/| /' conftest.
$ac_ext >&5
11032 rm -f conftest.err conftest.
$ac_objext
11034 rm -f conftest.
$ac_ext conftest.
$ac_objext
11039 case "x$ac_cv_prog_cc_stdc" in
11041 echo "$as_me:$LINENO: result: none needed" >&5
11042 echo "${ECHO_T}none needed" >&6 ;;
11044 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
11045 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
11046 CC
="$CC $ac_cv_prog_cc_stdc" ;;
11049 # Some people use a C++ compiler to compile C. Since we use `exit',
11050 # in C++ we need to declare it. In case someone uses the same compiler
11051 # for both compiling C and C++ we need to have the C++ compiler decide
11052 # the declaration of exit, since it's the most demanding environment.
11053 cat >conftest.
$ac_ext <<_ACEOF
11054 #ifndef __cplusplus
11058 rm -f conftest.
$ac_objext
11059 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11060 (eval $ac_compile) 2>conftest.er1
11062 grep -v '^ *+' conftest.er1
>conftest.err
11064 cat conftest.err
>&5
11065 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11066 (exit $ac_status); } &&
11067 { ac_try
='test -z "$ac_c_werror_flag"
11068 || test ! -s conftest.err'
11069 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11070 (eval $ac_try) 2>&5
11072 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11073 (exit $ac_status); }; } &&
11074 { ac_try
='test -s conftest.$ac_objext'
11075 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11076 (eval $ac_try) 2>&5
11078 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11079 (exit $ac_status); }; }; then
11080 for ac_declaration
in \
11082 'extern "C" void std::exit (int) throw (); using std::exit;' \
11083 'extern "C" void std::exit (int); using std::exit;' \
11084 'extern "C" void exit (int) throw ();' \
11085 'extern "C" void exit (int);' \
11088 cat >conftest.
$ac_ext <<_ACEOF
11091 cat confdefs.h
>>conftest.
$ac_ext
11092 cat >>conftest.
$ac_ext <<_ACEOF
11093 /* end confdefs.h. */
11095 #include <stdlib.h>
11104 rm -f conftest.
$ac_objext
11105 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11106 (eval $ac_compile) 2>conftest.er1
11108 grep -v '^ *+' conftest.er1
>conftest.err
11110 cat conftest.err
>&5
11111 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11112 (exit $ac_status); } &&
11113 { ac_try
='test -z "$ac_c_werror_flag"
11114 || test ! -s conftest.err'
11115 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11116 (eval $ac_try) 2>&5
11118 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11119 (exit $ac_status); }; } &&
11120 { ac_try
='test -s conftest.$ac_objext'
11121 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11122 (eval $ac_try) 2>&5
11124 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11125 (exit $ac_status); }; }; then
11128 echo "$as_me: failed program was:" >&5
11129 sed 's/^/| /' conftest.
$ac_ext >&5
11133 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11134 cat >conftest.
$ac_ext <<_ACEOF
11137 cat confdefs.h
>>conftest.
$ac_ext
11138 cat >>conftest.
$ac_ext <<_ACEOF
11139 /* end confdefs.h. */
11149 rm -f conftest.
$ac_objext
11150 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11151 (eval $ac_compile) 2>conftest.er1
11153 grep -v '^ *+' conftest.er1
>conftest.err
11155 cat conftest.err
>&5
11156 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11157 (exit $ac_status); } &&
11158 { ac_try
='test -z "$ac_c_werror_flag"
11159 || test ! -s conftest.err'
11160 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11161 (eval $ac_try) 2>&5
11163 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11164 (exit $ac_status); }; } &&
11165 { ac_try
='test -s conftest.$ac_objext'
11166 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11167 (eval $ac_try) 2>&5
11169 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11170 (exit $ac_status); }; }; then
11173 echo "$as_me: failed program was:" >&5
11174 sed 's/^/| /' conftest.
$ac_ext >&5
11177 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11180 if test -n "$ac_declaration"; then
11181 echo '#ifdef __cplusplus' >>confdefs.h
11182 echo $ac_declaration >>confdefs.h
11183 echo '#endif' >>confdefs.h
11187 echo "$as_me: failed program was:" >&5
11188 sed 's/^/| /' conftest.
$ac_ext >&5
11191 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11193 ac_cpp
='$CPP $CPPFLAGS'
11194 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11195 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11196 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
11201 ac_cpp
='$CPP $CPPFLAGS'
11202 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11203 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11204 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
11205 echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
11206 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
11207 # On Suns, sometimes $CPP names a directory.
11208 if test -n "$CPP" && test -d "$CPP"; then
11211 if test -z "$CPP"; then
11212 if test "${ac_cv_prog_CPP+set}" = set; then
11213 echo $ECHO_N "(cached) $ECHO_C" >&6
11215 # Double quotes because CPP needs to be expanded
11216 for CPP
in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
11218 ac_preproc_ok
=false
11219 for ac_c_preproc_warn_flag
in '' yes
11221 # Use a header file that comes with gcc, so configuring glibc
11222 # with a fresh cross-compiler works.
11223 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11224 # <limits.h> exists even on freestanding compilers.
11225 # On the NeXT, cc -E runs the code through the compiler's parser,
11226 # not just through cpp. "Syntax error" is here to catch this case.
11227 cat >conftest.
$ac_ext <<_ACEOF
11230 cat confdefs.h
>>conftest.
$ac_ext
11231 cat >>conftest.
$ac_ext <<_ACEOF
11232 /* end confdefs.h. */
11234 # include <limits.h>
11236 # include <assert.h>
11240 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
11241 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
11243 grep -v '^ *+' conftest.er1
>conftest.err
11245 cat conftest.err
>&5
11246 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11247 (exit $ac_status); } >/dev
/null
; then
11248 if test -s conftest.err
; then
11249 ac_cpp_err
=$ac_c_preproc_warn_flag
11250 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
11257 if test -z "$ac_cpp_err"; then
11260 echo "$as_me: failed program was:" >&5
11261 sed 's/^/| /' conftest.
$ac_ext >&5
11263 # Broken: fails on valid input.
11266 rm -f conftest.err conftest.
$ac_ext
11268 # OK, works on sane cases. Now check whether non-existent headers
11269 # can be detected and how.
11270 cat >conftest.
$ac_ext <<_ACEOF
11273 cat confdefs.h
>>conftest.
$ac_ext
11274 cat >>conftest.
$ac_ext <<_ACEOF
11275 /* end confdefs.h. */
11276 #include <ac_nonexistent.h>
11278 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
11279 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
11281 grep -v '^ *+' conftest.er1
>conftest.err
11283 cat conftest.err
>&5
11284 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11285 (exit $ac_status); } >/dev
/null
; then
11286 if test -s conftest.err
; then
11287 ac_cpp_err
=$ac_c_preproc_warn_flag
11288 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
11295 if test -z "$ac_cpp_err"; then
11296 # Broken: success on invalid input.
11299 echo "$as_me: failed program was:" >&5
11300 sed 's/^/| /' conftest.
$ac_ext >&5
11302 # Passes both tests.
11306 rm -f conftest.err conftest.
$ac_ext
11309 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
11310 rm -f conftest.err conftest.
$ac_ext
11311 if $ac_preproc_ok; then
11316 ac_cv_prog_CPP
=$CPP
11319 CPP
=$ac_cv_prog_CPP
11321 ac_cv_prog_CPP
=$CPP
11323 echo "$as_me:$LINENO: result: $CPP" >&5
11324 echo "${ECHO_T}$CPP" >&6
11325 ac_preproc_ok
=false
11326 for ac_c_preproc_warn_flag
in '' yes
11328 # Use a header file that comes with gcc, so configuring glibc
11329 # with a fresh cross-compiler works.
11330 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11331 # <limits.h> exists even on freestanding compilers.
11332 # On the NeXT, cc -E runs the code through the compiler's parser,
11333 # not just through cpp. "Syntax error" is here to catch this case.
11334 cat >conftest.
$ac_ext <<_ACEOF
11337 cat confdefs.h
>>conftest.
$ac_ext
11338 cat >>conftest.
$ac_ext <<_ACEOF
11339 /* end confdefs.h. */
11341 # include <limits.h>
11343 # include <assert.h>
11347 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
11348 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
11350 grep -v '^ *+' conftest.er1
>conftest.err
11352 cat conftest.err
>&5
11353 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11354 (exit $ac_status); } >/dev
/null
; then
11355 if test -s conftest.err
; then
11356 ac_cpp_err
=$ac_c_preproc_warn_flag
11357 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
11364 if test -z "$ac_cpp_err"; then
11367 echo "$as_me: failed program was:" >&5
11368 sed 's/^/| /' conftest.
$ac_ext >&5
11370 # Broken: fails on valid input.
11373 rm -f conftest.err conftest.
$ac_ext
11375 # OK, works on sane cases. Now check whether non-existent headers
11376 # can be detected and how.
11377 cat >conftest.
$ac_ext <<_ACEOF
11380 cat confdefs.h
>>conftest.
$ac_ext
11381 cat >>conftest.
$ac_ext <<_ACEOF
11382 /* end confdefs.h. */
11383 #include <ac_nonexistent.h>
11385 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
11386 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
11388 grep -v '^ *+' conftest.er1
>conftest.err
11390 cat conftest.err
>&5
11391 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11392 (exit $ac_status); } >/dev
/null
; then
11393 if test -s conftest.err
; then
11394 ac_cpp_err
=$ac_c_preproc_warn_flag
11395 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
11402 if test -z "$ac_cpp_err"; then
11403 # Broken: success on invalid input.
11406 echo "$as_me: failed program was:" >&5
11407 sed 's/^/| /' conftest.
$ac_ext >&5
11409 # Passes both tests.
11413 rm -f conftest.err conftest.
$ac_ext
11416 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
11417 rm -f conftest.err conftest.
$ac_ext
11418 if $ac_preproc_ok; then
11421 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
11422 See \`config.log' for more details." >&5
11423 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
11424 See \`config.log' for more details." >&2;}
11425 { (exit 1); exit 1; }; }
11429 ac_cpp
='$CPP $CPPFLAGS'
11430 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11431 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11432 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
11435 echo "$as_me:$LINENO: checking for egrep" >&5
11436 echo $ECHO_N "checking for egrep... $ECHO_C" >&6
11437 if test "${ac_cv_prog_egrep+set}" = set; then
11438 echo $ECHO_N "(cached) $ECHO_C" >&6
11440 if echo a
| (grep -E '(a|b)') >/dev
/null
2>&1
11441 then ac_cv_prog_egrep
='grep -E'
11442 else ac_cv_prog_egrep
='egrep'
11445 echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
11446 echo "${ECHO_T}$ac_cv_prog_egrep" >&6
11447 EGREP
=$ac_cv_prog_egrep
11450 if test $ac_cv_c_compiler_gnu = yes; then
11451 echo "$as_me:$LINENO: checking whether $CC needs -traditional" >&5
11452 echo $ECHO_N "checking whether $CC needs -traditional... $ECHO_C" >&6
11453 if test "${ac_cv_prog_gcc_traditional+set}" = set; then
11454 echo $ECHO_N "(cached) $ECHO_C" >&6
11456 ac_pattern
="Autoconf.*'x'"
11457 cat >conftest.
$ac_ext <<_ACEOF
11460 cat confdefs.h
>>conftest.
$ac_ext
11461 cat >>conftest.
$ac_ext <<_ACEOF
11462 /* end confdefs.h. */
11466 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
11467 $EGREP "$ac_pattern" >/dev
/null
2>&1; then
11468 ac_cv_prog_gcc_traditional
=yes
11470 ac_cv_prog_gcc_traditional
=no
11475 if test $ac_cv_prog_gcc_traditional = no
; then
11476 cat >conftest.
$ac_ext <<_ACEOF
11479 cat confdefs.h
>>conftest.
$ac_ext
11480 cat >>conftest.
$ac_ext <<_ACEOF
11481 /* end confdefs.h. */
11482 #include <termio.h>
11485 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
11486 $EGREP "$ac_pattern" >/dev
/null
2>&1; then
11487 ac_cv_prog_gcc_traditional
=yes
11493 echo "$as_me:$LINENO: result: $ac_cv_prog_gcc_traditional" >&5
11494 echo "${ECHO_T}$ac_cv_prog_gcc_traditional" >&6
11495 if test $ac_cv_prog_gcc_traditional = yes; then
11496 CC
="$CC -traditional"
11504 ac_cpp
='$CXXCPP $CPPFLAGS'
11505 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11506 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11507 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
11510 CXXFLAGS
=${CXXFLAGS:=}
11512 ac_cpp
='$CXXCPP $CPPFLAGS'
11513 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11514 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11515 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
11516 if test -n "$ac_tool_prefix"; then
11517 for ac_prog
in $CCC g
++ c
++ gpp aCC CC cxx cc
++ cl FCC KCC RCC xlC_r xlC
11519 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
11520 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
11521 echo "$as_me:$LINENO: checking for $ac_word" >&5
11522 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11523 if test "${ac_cv_prog_CXX+set}" = set; then
11524 echo $ECHO_N "(cached) $ECHO_C" >&6
11526 if test -n "$CXX"; then
11527 ac_cv_prog_CXX
="$CXX" # Let the user override the test.
11529 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11530 for as_dir
in $PATH
11533 test -z "$as_dir" && as_dir
=.
11534 for ac_exec_ext
in '' $ac_executable_extensions; do
11535 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11536 ac_cv_prog_CXX
="$ac_tool_prefix$ac_prog"
11537 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11545 CXX
=$ac_cv_prog_CXX
11546 if test -n "$CXX"; then
11547 echo "$as_me:$LINENO: result: $CXX" >&5
11548 echo "${ECHO_T}$CXX" >&6
11550 echo "$as_me:$LINENO: result: no" >&5
11551 echo "${ECHO_T}no" >&6
11554 test -n "$CXX" && break
11557 if test -z "$CXX"; then
11559 for ac_prog
in $CCC g
++ c
++ gpp aCC CC cxx cc
++ cl FCC KCC RCC xlC_r xlC
11561 # Extract the first word of "$ac_prog", so it can be a program name with args.
11562 set dummy
$ac_prog; ac_word
=$2
11563 echo "$as_me:$LINENO: checking for $ac_word" >&5
11564 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11565 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
11566 echo $ECHO_N "(cached) $ECHO_C" >&6
11568 if test -n "$ac_ct_CXX"; then
11569 ac_cv_prog_ac_ct_CXX
="$ac_ct_CXX" # Let the user override the test.
11571 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11572 for as_dir
in $PATH
11575 test -z "$as_dir" && as_dir
=.
11576 for ac_exec_ext
in '' $ac_executable_extensions; do
11577 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11578 ac_cv_prog_ac_ct_CXX
="$ac_prog"
11579 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11587 ac_ct_CXX
=$ac_cv_prog_ac_ct_CXX
11588 if test -n "$ac_ct_CXX"; then
11589 echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
11590 echo "${ECHO_T}$ac_ct_CXX" >&6
11592 echo "$as_me:$LINENO: result: no" >&5
11593 echo "${ECHO_T}no" >&6
11596 test -n "$ac_ct_CXX" && break
11598 test -n "$ac_ct_CXX" || ac_ct_CXX
="g++"
11604 # Provide some information about the compiler.
11605 echo "$as_me:$LINENO:" \
11606 "checking for C++ compiler version" >&5
11607 ac_compiler
=`set X $ac_compile; echo $2`
11608 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
11609 (eval $ac_compiler --version </dev
/null
>&5) 2>&5
11611 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11612 (exit $ac_status); }
11613 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
11614 (eval $ac_compiler -v </dev
/null
>&5) 2>&5
11616 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11617 (exit $ac_status); }
11618 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
11619 (eval $ac_compiler -V </dev
/null
>&5) 2>&5
11621 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11622 (exit $ac_status); }
11624 echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
11625 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6
11626 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
11627 echo $ECHO_N "(cached) $ECHO_C" >&6
11629 cat >conftest.
$ac_ext <<_ACEOF
11632 cat confdefs.h
>>conftest.
$ac_ext
11633 cat >>conftest.
$ac_ext <<_ACEOF
11634 /* end confdefs.h. */
11647 rm -f conftest.
$ac_objext
11648 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11649 (eval $ac_compile) 2>conftest.er1
11651 grep -v '^ *+' conftest.er1
>conftest.err
11653 cat conftest.err
>&5
11654 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11655 (exit $ac_status); } &&
11656 { ac_try
='test -z "$ac_cxx_werror_flag"
11657 || test ! -s conftest.err'
11658 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11659 (eval $ac_try) 2>&5
11661 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11662 (exit $ac_status); }; } &&
11663 { ac_try
='test -s conftest.$ac_objext'
11664 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11665 (eval $ac_try) 2>&5
11667 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11668 (exit $ac_status); }; }; then
11669 ac_compiler_gnu
=yes
11671 echo "$as_me: failed program was:" >&5
11672 sed 's/^/| /' conftest.
$ac_ext >&5
11676 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11677 ac_cv_cxx_compiler_gnu
=$ac_compiler_gnu
11680 echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
11681 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6
11682 GXX
=`test $ac_compiler_gnu = yes && echo yes`
11683 ac_test_CXXFLAGS
=${CXXFLAGS+set}
11684 ac_save_CXXFLAGS
=$CXXFLAGS
11686 echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
11687 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6
11688 if test "${ac_cv_prog_cxx_g+set}" = set; then
11689 echo $ECHO_N "(cached) $ECHO_C" >&6
11691 cat >conftest.
$ac_ext <<_ACEOF
11694 cat confdefs.h
>>conftest.
$ac_ext
11695 cat >>conftest.
$ac_ext <<_ACEOF
11696 /* end confdefs.h. */
11706 rm -f conftest.
$ac_objext
11707 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11708 (eval $ac_compile) 2>conftest.er1
11710 grep -v '^ *+' conftest.er1
>conftest.err
11712 cat conftest.err
>&5
11713 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11714 (exit $ac_status); } &&
11715 { ac_try
='test -z "$ac_cxx_werror_flag"
11716 || test ! -s conftest.err'
11717 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11718 (eval $ac_try) 2>&5
11720 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11721 (exit $ac_status); }; } &&
11722 { ac_try
='test -s conftest.$ac_objext'
11723 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11724 (eval $ac_try) 2>&5
11726 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11727 (exit $ac_status); }; }; then
11728 ac_cv_prog_cxx_g
=yes
11730 echo "$as_me: failed program was:" >&5
11731 sed 's/^/| /' conftest.
$ac_ext >&5
11733 ac_cv_prog_cxx_g
=no
11735 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11737 echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
11738 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6
11739 if test "$ac_test_CXXFLAGS" = set; then
11740 CXXFLAGS
=$ac_save_CXXFLAGS
11741 elif test $ac_cv_prog_cxx_g = yes; then
11742 if test "$GXX" = yes; then
11748 if test "$GXX" = yes; then
11754 for ac_declaration
in \
11756 'extern "C" void std::exit (int) throw (); using std::exit;' \
11757 'extern "C" void std::exit (int); using std::exit;' \
11758 'extern "C" void exit (int) throw ();' \
11759 'extern "C" void exit (int);' \
11762 cat >conftest.
$ac_ext <<_ACEOF
11765 cat confdefs.h
>>conftest.
$ac_ext
11766 cat >>conftest.
$ac_ext <<_ACEOF
11767 /* end confdefs.h. */
11769 #include <stdlib.h>
11778 rm -f conftest.
$ac_objext
11779 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11780 (eval $ac_compile) 2>conftest.er1
11782 grep -v '^ *+' conftest.er1
>conftest.err
11784 cat conftest.err
>&5
11785 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11786 (exit $ac_status); } &&
11787 { ac_try
='test -z "$ac_cxx_werror_flag"
11788 || test ! -s conftest.err'
11789 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11790 (eval $ac_try) 2>&5
11792 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11793 (exit $ac_status); }; } &&
11794 { ac_try
='test -s conftest.$ac_objext'
11795 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11796 (eval $ac_try) 2>&5
11798 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11799 (exit $ac_status); }; }; then
11802 echo "$as_me: failed program was:" >&5
11803 sed 's/^/| /' conftest.
$ac_ext >&5
11807 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11808 cat >conftest.
$ac_ext <<_ACEOF
11811 cat confdefs.h
>>conftest.
$ac_ext
11812 cat >>conftest.
$ac_ext <<_ACEOF
11813 /* end confdefs.h. */
11823 rm -f conftest.
$ac_objext
11824 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11825 (eval $ac_compile) 2>conftest.er1
11827 grep -v '^ *+' conftest.er1
>conftest.err
11829 cat conftest.err
>&5
11830 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11831 (exit $ac_status); } &&
11832 { ac_try
='test -z "$ac_cxx_werror_flag"
11833 || test ! -s conftest.err'
11834 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11835 (eval $ac_try) 2>&5
11837 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11838 (exit $ac_status); }; } &&
11839 { ac_try
='test -s conftest.$ac_objext'
11840 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11841 (eval $ac_try) 2>&5
11843 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11844 (exit $ac_status); }; }; then
11847 echo "$as_me: failed program was:" >&5
11848 sed 's/^/| /' conftest.
$ac_ext >&5
11851 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11854 if test -n "$ac_declaration"; then
11855 echo '#ifdef __cplusplus' >>confdefs.h
11856 echo $ac_declaration >>confdefs.h
11857 echo '#endif' >>confdefs.h
11861 ac_cpp
='$CXXCPP $CPPFLAGS'
11862 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11863 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11864 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
11868 ac_cpp
='$CPP $CPPFLAGS'
11869 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11870 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11871 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
11874 if test -n "$ac_tool_prefix"; then
11875 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
11876 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
11877 echo "$as_me:$LINENO: checking for $ac_word" >&5
11878 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11879 if test "${ac_cv_prog_RANLIB+set}" = set; then
11880 echo $ECHO_N "(cached) $ECHO_C" >&6
11882 if test -n "$RANLIB"; then
11883 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
11885 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11886 for as_dir
in $PATH
11889 test -z "$as_dir" && as_dir
=.
11890 for ac_exec_ext
in '' $ac_executable_extensions; do
11891 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11892 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
11893 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11901 RANLIB
=$ac_cv_prog_RANLIB
11902 if test -n "$RANLIB"; then
11903 echo "$as_me:$LINENO: result: $RANLIB" >&5
11904 echo "${ECHO_T}$RANLIB" >&6
11906 echo "$as_me:$LINENO: result: no" >&5
11907 echo "${ECHO_T}no" >&6
11911 if test -z "$ac_cv_prog_RANLIB"; then
11912 ac_ct_RANLIB
=$RANLIB
11913 # Extract the first word of "ranlib", so it can be a program name with args.
11914 set dummy ranlib
; ac_word
=$2
11915 echo "$as_me:$LINENO: checking for $ac_word" >&5
11916 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11917 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
11918 echo $ECHO_N "(cached) $ECHO_C" >&6
11920 if test -n "$ac_ct_RANLIB"; then
11921 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
11923 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11924 for as_dir
in $PATH
11927 test -z "$as_dir" && as_dir
=.
11928 for ac_exec_ext
in '' $ac_executable_extensions; do
11929 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11930 ac_cv_prog_ac_ct_RANLIB
="ranlib"
11931 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11937 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB
=":"
11940 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
11941 if test -n "$ac_ct_RANLIB"; then
11942 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
11943 echo "${ECHO_T}$ac_ct_RANLIB" >&6
11945 echo "$as_me:$LINENO: result: no" >&5
11946 echo "${ECHO_T}no" >&6
11949 RANLIB
=$ac_ct_RANLIB
11951 RANLIB
="$ac_cv_prog_RANLIB"
11955 # Extract the first word of "ar", so it can be a program name with args.
11956 set dummy
ar; ac_word
=$2
11957 echo "$as_me:$LINENO: checking for $ac_word" >&5
11958 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11959 if test "${ac_cv_prog_AR+set}" = set; then
11960 echo $ECHO_N "(cached) $ECHO_C" >&6
11962 if test -n "$AR"; then
11963 ac_cv_prog_AR
="$AR" # Let the user override the test.
11965 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11966 for as_dir
in $PATH
11969 test -z "$as_dir" && as_dir
=.
11970 for ac_exec_ext
in '' $ac_executable_extensions; do
11971 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11973 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11982 if test -n "$AR"; then
11983 echo "$as_me:$LINENO: result: $AR" >&5
11984 echo "${ECHO_T}$AR" >&6
11986 echo "$as_me:$LINENO: result: no" >&5
11987 echo "${ECHO_T}no" >&6
11990 if test "x$AR" = "x" ; then
11991 { { echo "$as_me:$LINENO: error: ar is needed to build wxWidgets" >&5
11992 echo "$as_me: error: ar is needed to build wxWidgets" >&2;}
11993 { (exit 1); exit 1; }; }
11996 # Find a good install program. We prefer a C program (faster),
11997 # so one script is as good as another. But avoid the broken or
11998 # incompatible versions:
11999 # SysV /etc/install, /usr/sbin/install
12000 # SunOS /usr/etc/install
12001 # IRIX /sbin/install
12003 # AmigaOS /C/install, which installs bootblocks on floppy discs
12004 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
12005 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
12006 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
12007 # OS/2's system install, which has a completely different semantic
12008 # ./install, which can be erroneously created by make from ./install.sh.
12009 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
12010 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
12011 if test -z "$INSTALL"; then
12012 if test "${ac_cv_path_install+set}" = set; then
12013 echo $ECHO_N "(cached) $ECHO_C" >&6
12015 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12016 for as_dir
in $PATH
12019 test -z "$as_dir" && as_dir
=.
12020 # Account for people who put trailing slashes in PATH elements.
12022 .
/ | .
// | /cC
/* | \
12023 /etc
/* | /usr
/sbin
/* | /usr
/etc
/* | /sbin
/* | /usr
/afsws
/bin
/* | \
12024 ?
:\\/os2
\\/install\\/* | ?
:\\/OS2
\\/INSTALL
\\/* | \
12027 # OSF1 and SCO ODT 3.0 have their own names for install.
12028 # Don't use installbsd from OSF since it installs stuff as root
12030 for ac_prog
in ginstall scoinst
install; do
12031 for ac_exec_ext
in '' $ac_executable_extensions; do
12032 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
12033 if test $ac_prog = install &&
12034 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
12035 # AIX install. It has an incompatible calling convention.
12037 elif test $ac_prog = install &&
12038 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
12039 # program-specific install script used by HP pwplus--don't use.
12042 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
12054 if test "${ac_cv_path_install+set}" = set; then
12055 INSTALL
=$ac_cv_path_install
12057 # As a last resort, use the slow shell script. We don't cache a
12058 # path for INSTALL within a source directory, because that will
12059 # break other packages using the cache if that directory is
12060 # removed, or if the path is relative.
12061 INSTALL
=$ac_install_sh
12064 echo "$as_me:$LINENO: result: $INSTALL" >&5
12065 echo "${ECHO_T}$INSTALL" >&6
12067 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
12068 # It thinks the first close brace ends the variable substitution.
12069 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
12071 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
12073 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
12079 ?
:* ) # Drive letter, considered as absolute.
12082 INSTALL
=`pwd`/${INSTALL} ;;
12088 powerpc
-*-darwin* )
12089 INSTALL_PROGRAM
="cp -fp"
12090 INSTALL_DATA
="cp -fp"
12096 # Extract the first word of "strip", so it can be a program name with args.
12097 set dummy strip
; ac_word
=$2
12098 echo "$as_me:$LINENO: checking for $ac_word" >&5
12099 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
12100 if test "${ac_cv_prog_STRIP+set}" = set; then
12101 echo $ECHO_N "(cached) $ECHO_C" >&6
12103 if test -n "$STRIP"; then
12104 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
12106 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12107 for as_dir
in $PATH
12110 test -z "$as_dir" && as_dir
=.
12111 for ac_exec_ext
in '' $ac_executable_extensions; do
12112 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12113 ac_cv_prog_STRIP
="strip"
12114 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12120 test -z "$ac_cv_prog_STRIP" && ac_cv_prog_STRIP
="true"
12123 STRIP
=$ac_cv_prog_STRIP
12124 if test -n "$STRIP"; then
12125 echo "$as_me:$LINENO: result: $STRIP" >&5
12126 echo "${ECHO_T}$STRIP" >&6
12128 echo "$as_me:$LINENO: result: no" >&5
12129 echo "${ECHO_T}no" >&6
12133 echo "$as_me:$LINENO: checking if make is GNU make" >&5
12134 echo $ECHO_N "checking if make is GNU make... $ECHO_C" >&6
12135 if test "${wx_cv_prog_makeisgnu+set}" = set; then
12136 echo $ECHO_N "(cached) $ECHO_C" >&6
12139 if ( ${SHELL-sh} -c "${MAKE-make} --version" 2> /dev
/null
|
12140 egrep -s GNU
> /dev
/null
); then
12141 wx_cv_prog_makeisgnu
="yes"
12143 wx_cv_prog_makeisgnu
="no"
12147 echo "$as_me:$LINENO: result: $wx_cv_prog_makeisgnu" >&5
12148 echo "${ECHO_T}$wx_cv_prog_makeisgnu" >&6
12150 if test "x$wx_cv_prog_makeisgnu" = "xyes"; then
12158 if test "x$wx_cv_prog_makeisgnu" != "xyes"; then
12159 echo "$as_me:$LINENO: checking if make supports VPATH" >&5
12160 echo $ECHO_N "checking if make supports VPATH... $ECHO_C" >&6
12161 if test "${wx_cv_prog_makevpath+set}" = set; then
12162 echo $ECHO_N "(cached) $ECHO_C" >&6
12165 cat - << EOF > confMake
12171 if test ! -d sub
; then
12174 echo dummy
> sub
/file
12175 ${MAKE-make} -f confMake VPATH
=sub
2>&5 > /dev
/null
12177 rm -f sub
/file check final_file confMake
12179 if test "$RESULT" = 0; then
12180 wx_cv_prog_makevpath
="yes"
12182 wx_cv_prog_makevpath
="no"
12186 echo "$as_me:$LINENO: result: $wx_cv_prog_makevpath" >&5
12187 echo "${ECHO_T}$wx_cv_prog_makevpath" >&6
12189 if test "x$wx_cv_prog_makevpath" != "xyes"; then
12190 { { echo "$as_me:$LINENO: error:
12191 You need a make-utility that is able to use the variable
12193 If your version of make does not support VPATH correctly,
12194 please install GNU-make (possibly as gmake), and start
12195 configure with the following command:
12196 export MAKE=gmake; ./configure for sh-type shells
12197 setenv MAKE gmake; ./configure for csh-type shells
12198 Also please do remember to use gmake in this case every time
12199 you are trying to compile.
12201 echo "$as_me: error:
12202 You need a make-utility that is able to use the variable
12204 If your version of make does not support VPATH correctly,
12205 please install GNU-make (possibly as gmake), and start
12206 configure with the following command:
12207 export MAKE=gmake; ./configure for sh-type shells
12208 setenv MAKE gmake; ./configure for csh-type shells
12209 Also please do remember to use gmake in this case every time
12210 you are trying to compile.
12212 { (exit 1); exit 1; }; }
12214 echo "$as_me:$LINENO: checking whether ln -s works" >&5
12215 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
12217 if test "$LN_S" = "ln -s"; then
12218 echo "$as_me:$LINENO: result: yes" >&5
12219 echo "${ECHO_T}yes" >&6
12221 echo "$as_me:$LINENO: result: no, using $LN_S" >&5
12222 echo "${ECHO_T}no, using $LN_S" >&6
12228 *-pc-os2_emx | *-pc-os2-emx )
12229 if test "$wxUSE_MOTIF" = 1 -o "$wxUSE_GTK" = 1 -o "$wxUSE_X11" = 1; then
12230 echo "$as_me:$LINENO: checking for drand48 in -lcExt" >&5
12231 echo $ECHO_N "checking for drand48 in -lcExt... $ECHO_C" >&6
12232 if test "${ac_cv_lib_cExt_drand48+set}" = set; then
12233 echo $ECHO_N "(cached) $ECHO_C" >&6
12235 ac_check_lib_save_LIBS
=$LIBS
12236 LIBS
="-lcExt $LIBS"
12237 cat >conftest.
$ac_ext <<_ACEOF
12240 cat confdefs.h
>>conftest.
$ac_ext
12241 cat >>conftest.
$ac_ext <<_ACEOF
12242 /* end confdefs.h. */
12244 /* Override any gcc2 internal prototype to avoid an error. */
12248 /* We use char because int might match the return type of a gcc2
12249 builtin and then its argument prototype would still apply. */
12259 rm -f conftest.
$ac_objext conftest
$ac_exeext
12260 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12261 (eval $ac_link) 2>conftest.er1
12263 grep -v '^ *+' conftest.er1
>conftest.err
12265 cat conftest.err
>&5
12266 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12267 (exit $ac_status); } &&
12268 { ac_try
='test -z "$ac_c_werror_flag"
12269 || test ! -s conftest.err'
12270 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12271 (eval $ac_try) 2>&5
12273 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12274 (exit $ac_status); }; } &&
12275 { ac_try
='test -s conftest$ac_exeext'
12276 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12277 (eval $ac_try) 2>&5
12279 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12280 (exit $ac_status); }; }; then
12281 ac_cv_lib_cExt_drand48
=yes
12283 echo "$as_me: failed program was:" >&5
12284 sed 's/^/| /' conftest.
$ac_ext >&5
12286 ac_cv_lib_cExt_drand48
=no
12288 rm -f conftest.err conftest.
$ac_objext \
12289 conftest
$ac_exeext conftest.
$ac_ext
12290 LIBS
=$ac_check_lib_save_LIBS
12292 echo "$as_me:$LINENO: result: $ac_cv_lib_cExt_drand48" >&5
12293 echo "${ECHO_T}$ac_cv_lib_cExt_drand48" >&6
12294 if test $ac_cv_lib_cExt_drand48 = yes; then
12295 LIBS
="$LIBS -lcExt"
12299 RESPROGRAMOBJ
="\${top_srcdir}/include/wx/os2/wx.res"
12301 echo "$as_me:$LINENO: checking for gcc version" >&5
12302 echo $ECHO_N "checking for gcc version... $ECHO_C" >&6
12303 if test "${wx_cv_gccversion+set}" = set; then
12304 echo $ECHO_N "(cached) $ECHO_C" >&6
12307 cat >conftest.
$ac_ext <<_ACEOF
12310 cat confdefs.h
>>conftest.
$ac_ext
12311 cat >>conftest.
$ac_ext <<_ACEOF
12312 /* end confdefs.h. */
12326 rm -f conftest.
$ac_objext
12327 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12328 (eval $ac_compile) 2>conftest.er1
12330 grep -v '^ *+' conftest.er1
>conftest.err
12332 cat conftest.err
>&5
12333 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12334 (exit $ac_status); } &&
12335 { ac_try
='test -z "$ac_c_werror_flag"
12336 || test ! -s conftest.err'
12337 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12338 (eval $ac_try) 2>&5
12340 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12341 (exit $ac_status); }; } &&
12342 { ac_try
='test -s conftest.$ac_objext'
12343 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12344 (eval $ac_try) 2>&5
12346 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12347 (exit $ac_status); }; }; then
12349 cat >conftest.
$ac_ext <<_ACEOF
12352 cat confdefs.h
>>conftest.
$ac_ext
12353 cat >>conftest.
$ac_ext <<_ACEOF
12354 /* end confdefs.h. */
12360 #if (__GNUC__==3) && ((__GNUC_MINOR__ < 2) || ((__GNUC_MINOR__==2) && (__GNUC_PATCHLEVEL__<2)))
12361 #error intermediate gcc
12368 rm -f conftest.
$ac_objext
12369 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12370 (eval $ac_compile) 2>conftest.er1
12372 grep -v '^ *+' conftest.er1
>conftest.err
12374 cat conftest.err
>&5
12375 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12376 (exit $ac_status); } &&
12377 { ac_try
='test -z "$ac_c_werror_flag"
12378 || test ! -s conftest.err'
12379 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12380 (eval $ac_try) 2>&5
12382 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12383 (exit $ac_status); }; } &&
12384 { ac_try
='test -s conftest.$ac_objext'
12385 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12386 (eval $ac_try) 2>&5
12388 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12389 (exit $ac_status); }; }; then
12391 wx_cv_gccversion
=Innotek
12394 echo "$as_me: failed program was:" >&5
12395 sed 's/^/| /' conftest.
$ac_ext >&5
12402 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12405 echo "$as_me: failed program was:" >&5
12406 sed 's/^/| /' conftest.
$ac_ext >&5
12413 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12416 echo "$as_me:$LINENO: result: $wx_cv_gccversion" >&5
12417 echo "${ECHO_T}$wx_cv_gccversion" >&6
12418 if test "$wx_cv_gccversion" = "2"; then
12419 LIBS
="$LIBS -lstdcpp"
12420 LDFLAGS
="$LDFLAGS -Zsysv-signals"
12422 if test "$wx_cv_gccversion" = "3"; then
12423 LIBS
="$LIBS -lstdcxx"
12424 LDFLAGS
="$LDFLAGS -Zsysv-signals"
12426 LIBS
="$LIBS -lstdc++"
12429 if test "$wxUSE_OMF" = "yes"; then
12430 LDFLAGS
="$LDFLAGS -Zomf -Zlinker /PMTYPE:PM -Zlinker /EXEPACK"
12438 ac_cpp
='$CXXCPP $CPPFLAGS'
12439 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12440 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12441 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
12445 echo "$as_me:$LINENO: checking for strcasecmp() in string.h" >&5
12446 echo $ECHO_N "checking for strcasecmp() in string.h... $ECHO_C" >&6
12447 if test "${ac_cv_string_strcasecmp+set}" = set; then
12448 echo $ECHO_N "(cached) $ECHO_C" >&6
12451 cat >conftest.
$ac_ext <<_ACEOF
12454 cat confdefs.h
>>conftest.
$ac_ext
12455 cat >>conftest.
$ac_ext <<_ACEOF
12456 /* end confdefs.h. */
12458 #include <string.h>
12464 strcasecmp("foo", "bar");
12470 rm -f conftest.
$ac_objext conftest
$ac_exeext
12471 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12472 (eval $ac_link) 2>conftest.er1
12474 grep -v '^ *+' conftest.er1
>conftest.err
12476 cat conftest.err
>&5
12477 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12478 (exit $ac_status); } &&
12479 { ac_try
='test -z "$ac_cxx_werror_flag"
12480 || test ! -s conftest.err'
12481 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12482 (eval $ac_try) 2>&5
12484 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12485 (exit $ac_status); }; } &&
12486 { ac_try
='test -s conftest$ac_exeext'
12487 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12488 (eval $ac_try) 2>&5
12490 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12491 (exit $ac_status); }; }; then
12492 ac_cv_string_strcasecmp
=yes
12494 echo "$as_me: failed program was:" >&5
12495 sed 's/^/| /' conftest.
$ac_ext >&5
12497 ac_cv_string_strcasecmp
=no
12500 rm -f conftest.err conftest.
$ac_objext \
12501 conftest
$ac_exeext conftest.
$ac_ext
12504 echo "$as_me:$LINENO: result: $ac_cv_string_strcasecmp" >&5
12505 echo "${ECHO_T}$ac_cv_string_strcasecmp" >&6
12507 if test x
"$ac_cv_string_strcasecmp" = "xyes"; then
12508 cat >>confdefs.h
<<\_ACEOF
12509 #define HAVE_STRCASECMP_IN_STRING_H 1
12513 echo "$as_me:$LINENO: checking for strcasecmp() in strings.h" >&5
12514 echo $ECHO_N "checking for strcasecmp() in strings.h... $ECHO_C" >&6
12515 if test "${ac_cv_strings_strcasecmp+set}" = set; then
12516 echo $ECHO_N "(cached) $ECHO_C" >&6
12519 cat >conftest.
$ac_ext <<_ACEOF
12522 cat confdefs.h
>>conftest.
$ac_ext
12523 cat >>conftest.
$ac_ext <<_ACEOF
12524 /* end confdefs.h. */
12526 #include <strings.h>
12532 strcasecmp("foo", "bar");
12538 rm -f conftest.
$ac_objext conftest
$ac_exeext
12539 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12540 (eval $ac_link) 2>conftest.er1
12542 grep -v '^ *+' conftest.er1
>conftest.err
12544 cat conftest.err
>&5
12545 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12546 (exit $ac_status); } &&
12547 { ac_try
='test -z "$ac_cxx_werror_flag"
12548 || test ! -s conftest.err'
12549 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12550 (eval $ac_try) 2>&5
12552 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12553 (exit $ac_status); }; } &&
12554 { ac_try
='test -s conftest$ac_exeext'
12555 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12556 (eval $ac_try) 2>&5
12558 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12559 (exit $ac_status); }; }; then
12560 ac_cv_strings_strcasecmp
=yes
12562 echo "$as_me: failed program was:" >&5
12563 sed 's/^/| /' conftest.
$ac_ext >&5
12565 ac_cv_strings_strcasecmp
=no
12568 rm -f conftest.err conftest.
$ac_objext \
12569 conftest
$ac_exeext conftest.
$ac_ext
12572 echo "$as_me:$LINENO: result: $ac_cv_strings_strcasecmp" >&5
12573 echo "${ECHO_T}$ac_cv_strings_strcasecmp" >&6
12575 if test x
"$ac_cv_strings_strcasecmp" = "xyes"; then
12576 cat >>confdefs.h
<<\_ACEOF
12577 #define HAVE_STRCASECMP_IN_STRINGS_H 1
12581 { { echo "$as_me:$LINENO: error: No case-insensitive string comparison function found." >&5
12582 echo "$as_me: error: No case-insensitive string comparison function found." >&2;}
12583 { (exit 1); exit 1; }; }
12588 ac_cpp
='$CPP $CPPFLAGS'
12589 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12590 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12591 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
12597 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
12598 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
12599 if test "${ac_cv_header_stdc+set}" = set; then
12600 echo $ECHO_N "(cached) $ECHO_C" >&6
12602 cat >conftest.
$ac_ext <<_ACEOF
12605 cat confdefs.h
>>conftest.
$ac_ext
12606 cat >>conftest.
$ac_ext <<_ACEOF
12607 /* end confdefs.h. */
12608 #include <stdlib.h>
12609 #include <stdarg.h>
12610 #include <string.h>
12621 rm -f conftest.
$ac_objext
12622 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12623 (eval $ac_compile) 2>conftest.er1
12625 grep -v '^ *+' conftest.er1
>conftest.err
12627 cat conftest.err
>&5
12628 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12629 (exit $ac_status); } &&
12630 { ac_try
='test -z "$ac_c_werror_flag"
12631 || test ! -s conftest.err'
12632 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12633 (eval $ac_try) 2>&5
12635 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12636 (exit $ac_status); }; } &&
12637 { ac_try
='test -s conftest.$ac_objext'
12638 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12639 (eval $ac_try) 2>&5
12641 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12642 (exit $ac_status); }; }; then
12643 ac_cv_header_stdc
=yes
12645 echo "$as_me: failed program was:" >&5
12646 sed 's/^/| /' conftest.
$ac_ext >&5
12648 ac_cv_header_stdc
=no
12650 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12652 if test $ac_cv_header_stdc = yes; then
12653 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
12654 cat >conftest.
$ac_ext <<_ACEOF
12657 cat confdefs.h
>>conftest.
$ac_ext
12658 cat >>conftest.
$ac_ext <<_ACEOF
12659 /* end confdefs.h. */
12660 #include <string.h>
12663 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
12664 $EGREP "memchr" >/dev
/null
2>&1; then
12667 ac_cv_header_stdc
=no
12673 if test $ac_cv_header_stdc = yes; then
12674 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
12675 cat >conftest.
$ac_ext <<_ACEOF
12678 cat confdefs.h
>>conftest.
$ac_ext
12679 cat >>conftest.
$ac_ext <<_ACEOF
12680 /* end confdefs.h. */
12681 #include <stdlib.h>
12684 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
12685 $EGREP "free" >/dev
/null
2>&1; then
12688 ac_cv_header_stdc
=no
12694 if test $ac_cv_header_stdc = yes; then
12695 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
12696 if test "$cross_compiling" = yes; then
12699 cat >conftest.
$ac_ext <<_ACEOF
12702 cat confdefs.h
>>conftest.
$ac_ext
12703 cat >>conftest.
$ac_ext <<_ACEOF
12704 /* end confdefs.h. */
12706 #if ((' ' & 0x0FF) == 0x020)
12707 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
12708 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
12710 # define ISLOWER(c) \
12711 (('a' <= (c) && (c) <= 'i') \
12712 || ('j' <= (c) && (c) <= 'r') \
12713 || ('s' <= (c) && (c) <= 'z'))
12714 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
12717 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
12722 for (i = 0; i < 256; i++)
12723 if (XOR (islower (i), ISLOWER (i))
12724 || toupper (i) != TOUPPER (i))
12729 rm -f conftest
$ac_exeext
12730 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12731 (eval $ac_link) 2>&5
12733 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12734 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
12735 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12736 (eval $ac_try) 2>&5
12738 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12739 (exit $ac_status); }; }; then
12742 echo "$as_me: program exited with status $ac_status" >&5
12743 echo "$as_me: failed program was:" >&5
12744 sed 's/^/| /' conftest.
$ac_ext >&5
12746 ( exit $ac_status )
12747 ac_cv_header_stdc
=no
12749 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
12753 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
12754 echo "${ECHO_T}$ac_cv_header_stdc" >&6
12755 if test $ac_cv_header_stdc = yes; then
12757 cat >>confdefs.h
<<\_ACEOF
12758 #define STDC_HEADERS 1
12763 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
12773 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
12774 inttypes.h stdint.h unistd.h
12776 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
12777 echo "$as_me:$LINENO: checking for $ac_header" >&5
12778 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12779 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12780 echo $ECHO_N "(cached) $ECHO_C" >&6
12782 cat >conftest.
$ac_ext <<_ACEOF
12785 cat confdefs.h
>>conftest.
$ac_ext
12786 cat >>conftest.
$ac_ext <<_ACEOF
12787 /* end confdefs.h. */
12788 $ac_includes_default
12790 #include <$ac_header>
12792 rm -f conftest.
$ac_objext
12793 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12794 (eval $ac_compile) 2>conftest.er1
12796 grep -v '^ *+' conftest.er1
>conftest.err
12798 cat conftest.err
>&5
12799 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12800 (exit $ac_status); } &&
12801 { ac_try
='test -z "$ac_c_werror_flag"
12802 || test ! -s conftest.err'
12803 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12804 (eval $ac_try) 2>&5
12806 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12807 (exit $ac_status); }; } &&
12808 { ac_try
='test -s conftest.$ac_objext'
12809 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12810 (eval $ac_try) 2>&5
12812 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12813 (exit $ac_status); }; }; then
12814 eval "$as_ac_Header=yes"
12816 echo "$as_me: failed program was:" >&5
12817 sed 's/^/| /' conftest.
$ac_ext >&5
12819 eval "$as_ac_Header=no"
12821 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12823 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12824 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12825 if test `eval echo '${'$as_ac_Header'}'` = yes; then
12826 cat >>confdefs.h
<<_ACEOF
12827 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
12836 for ac_header
in stdlib.h
12838 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
12839 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12840 echo "$as_me:$LINENO: checking for $ac_header" >&5
12841 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12842 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12843 echo $ECHO_N "(cached) $ECHO_C" >&6
12845 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12846 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12848 # Is the header compilable?
12849 echo "$as_me:$LINENO: checking $ac_header usability" >&5
12850 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
12851 cat >conftest.
$ac_ext <<_ACEOF
12854 cat confdefs.h
>>conftest.
$ac_ext
12855 cat >>conftest.
$ac_ext <<_ACEOF
12856 /* end confdefs.h. */
12857 $ac_includes_default
12858 #include <$ac_header>
12860 rm -f conftest.
$ac_objext
12861 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12862 (eval $ac_compile) 2>conftest.er1
12864 grep -v '^ *+' conftest.er1
>conftest.err
12866 cat conftest.err
>&5
12867 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12868 (exit $ac_status); } &&
12869 { ac_try
='test -z "$ac_c_werror_flag"
12870 || test ! -s conftest.err'
12871 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12872 (eval $ac_try) 2>&5
12874 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12875 (exit $ac_status); }; } &&
12876 { ac_try
='test -s conftest.$ac_objext'
12877 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12878 (eval $ac_try) 2>&5
12880 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12881 (exit $ac_status); }; }; then
12882 ac_header_compiler
=yes
12884 echo "$as_me: failed program was:" >&5
12885 sed 's/^/| /' conftest.
$ac_ext >&5
12887 ac_header_compiler
=no
12889 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12890 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
12891 echo "${ECHO_T}$ac_header_compiler" >&6
12893 # Is the header present?
12894 echo "$as_me:$LINENO: checking $ac_header presence" >&5
12895 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
12896 cat >conftest.
$ac_ext <<_ACEOF
12899 cat confdefs.h
>>conftest.
$ac_ext
12900 cat >>conftest.
$ac_ext <<_ACEOF
12901 /* end confdefs.h. */
12902 #include <$ac_header>
12904 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
12905 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
12907 grep -v '^ *+' conftest.er1
>conftest.err
12909 cat conftest.err
>&5
12910 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12911 (exit $ac_status); } >/dev
/null
; then
12912 if test -s conftest.err
; then
12913 ac_cpp_err
=$ac_c_preproc_warn_flag
12914 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
12921 if test -z "$ac_cpp_err"; then
12922 ac_header_preproc
=yes
12924 echo "$as_me: failed program was:" >&5
12925 sed 's/^/| /' conftest.
$ac_ext >&5
12927 ac_header_preproc
=no
12929 rm -f conftest.err conftest.
$ac_ext
12930 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
12931 echo "${ECHO_T}$ac_header_preproc" >&6
12933 # So? What about this header?
12934 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
12936 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
12937 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
12938 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
12939 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
12940 ac_header_preproc
=yes
12943 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
12944 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
12945 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
12946 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
12947 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
12948 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
12949 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
12950 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
12951 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12952 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
12953 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
12954 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
12957 ## ----------------------------------------- ##
12958 ## Report this to wx-dev@lists.wxwidgets.org ##
12959 ## ----------------------------------------- ##
12962 sed "s/^/$as_me: WARNING: /" >&2
12965 echo "$as_me:$LINENO: checking for $ac_header" >&5
12966 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12967 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12968 echo $ECHO_N "(cached) $ECHO_C" >&6
12970 eval "$as_ac_Header=\$ac_header_preproc"
12972 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12973 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12976 if test `eval echo '${'$as_ac_Header'}'` = yes; then
12977 cat >>confdefs.h
<<_ACEOF
12978 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
12986 for ac_header
in malloc.h
12988 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
12989 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12990 echo "$as_me:$LINENO: checking for $ac_header" >&5
12991 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12992 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12993 echo $ECHO_N "(cached) $ECHO_C" >&6
12995 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12996 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12998 # Is the header compilable?
12999 echo "$as_me:$LINENO: checking $ac_header usability" >&5
13000 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
13001 cat >conftest.
$ac_ext <<_ACEOF
13004 cat confdefs.h
>>conftest.
$ac_ext
13005 cat >>conftest.
$ac_ext <<_ACEOF
13006 /* end confdefs.h. */
13007 $ac_includes_default
13008 #include <$ac_header>
13010 rm -f conftest.
$ac_objext
13011 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13012 (eval $ac_compile) 2>conftest.er1
13014 grep -v '^ *+' conftest.er1
>conftest.err
13016 cat conftest.err
>&5
13017 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13018 (exit $ac_status); } &&
13019 { ac_try
='test -z "$ac_c_werror_flag"
13020 || test ! -s conftest.err'
13021 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13022 (eval $ac_try) 2>&5
13024 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13025 (exit $ac_status); }; } &&
13026 { ac_try
='test -s conftest.$ac_objext'
13027 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13028 (eval $ac_try) 2>&5
13030 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13031 (exit $ac_status); }; }; then
13032 ac_header_compiler
=yes
13034 echo "$as_me: failed program was:" >&5
13035 sed 's/^/| /' conftest.
$ac_ext >&5
13037 ac_header_compiler
=no
13039 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13040 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
13041 echo "${ECHO_T}$ac_header_compiler" >&6
13043 # Is the header present?
13044 echo "$as_me:$LINENO: checking $ac_header presence" >&5
13045 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
13046 cat >conftest.
$ac_ext <<_ACEOF
13049 cat confdefs.h
>>conftest.
$ac_ext
13050 cat >>conftest.
$ac_ext <<_ACEOF
13051 /* end confdefs.h. */
13052 #include <$ac_header>
13054 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
13055 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
13057 grep -v '^ *+' conftest.er1
>conftest.err
13059 cat conftest.err
>&5
13060 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13061 (exit $ac_status); } >/dev
/null
; then
13062 if test -s conftest.err
; then
13063 ac_cpp_err
=$ac_c_preproc_warn_flag
13064 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
13071 if test -z "$ac_cpp_err"; then
13072 ac_header_preproc
=yes
13074 echo "$as_me: failed program was:" >&5
13075 sed 's/^/| /' conftest.
$ac_ext >&5
13077 ac_header_preproc
=no
13079 rm -f conftest.err conftest.
$ac_ext
13080 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
13081 echo "${ECHO_T}$ac_header_preproc" >&6
13083 # So? What about this header?
13084 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
13086 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
13087 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
13088 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
13089 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
13090 ac_header_preproc
=yes
13093 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
13094 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
13095 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
13096 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
13097 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
13098 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
13099 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
13100 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
13101 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
13102 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
13103 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
13104 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
13107 ## ----------------------------------------- ##
13108 ## Report this to wx-dev@lists.wxwidgets.org ##
13109 ## ----------------------------------------- ##
13112 sed "s/^/$as_me: WARNING: /" >&2
13115 echo "$as_me:$LINENO: checking for $ac_header" >&5
13116 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13117 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13118 echo $ECHO_N "(cached) $ECHO_C" >&6
13120 eval "$as_ac_Header=\$ac_header_preproc"
13122 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13123 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13126 if test `eval echo '${'$as_ac_Header'}'` = yes; then
13127 cat >>confdefs.h
<<_ACEOF
13128 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
13136 for ac_header
in unistd.h
13138 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
13139 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13140 echo "$as_me:$LINENO: checking for $ac_header" >&5
13141 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13142 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13143 echo $ECHO_N "(cached) $ECHO_C" >&6
13145 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13146 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13148 # Is the header compilable?
13149 echo "$as_me:$LINENO: checking $ac_header usability" >&5
13150 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
13151 cat >conftest.
$ac_ext <<_ACEOF
13154 cat confdefs.h
>>conftest.
$ac_ext
13155 cat >>conftest.
$ac_ext <<_ACEOF
13156 /* end confdefs.h. */
13157 $ac_includes_default
13158 #include <$ac_header>
13160 rm -f conftest.
$ac_objext
13161 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13162 (eval $ac_compile) 2>conftest.er1
13164 grep -v '^ *+' conftest.er1
>conftest.err
13166 cat conftest.err
>&5
13167 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13168 (exit $ac_status); } &&
13169 { ac_try
='test -z "$ac_c_werror_flag"
13170 || test ! -s conftest.err'
13171 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13172 (eval $ac_try) 2>&5
13174 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13175 (exit $ac_status); }; } &&
13176 { ac_try
='test -s conftest.$ac_objext'
13177 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13178 (eval $ac_try) 2>&5
13180 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13181 (exit $ac_status); }; }; then
13182 ac_header_compiler
=yes
13184 echo "$as_me: failed program was:" >&5
13185 sed 's/^/| /' conftest.
$ac_ext >&5
13187 ac_header_compiler
=no
13189 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13190 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
13191 echo "${ECHO_T}$ac_header_compiler" >&6
13193 # Is the header present?
13194 echo "$as_me:$LINENO: checking $ac_header presence" >&5
13195 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
13196 cat >conftest.
$ac_ext <<_ACEOF
13199 cat confdefs.h
>>conftest.
$ac_ext
13200 cat >>conftest.
$ac_ext <<_ACEOF
13201 /* end confdefs.h. */
13202 #include <$ac_header>
13204 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
13205 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
13207 grep -v '^ *+' conftest.er1
>conftest.err
13209 cat conftest.err
>&5
13210 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13211 (exit $ac_status); } >/dev
/null
; then
13212 if test -s conftest.err
; then
13213 ac_cpp_err
=$ac_c_preproc_warn_flag
13214 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
13221 if test -z "$ac_cpp_err"; then
13222 ac_header_preproc
=yes
13224 echo "$as_me: failed program was:" >&5
13225 sed 's/^/| /' conftest.
$ac_ext >&5
13227 ac_header_preproc
=no
13229 rm -f conftest.err conftest.
$ac_ext
13230 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
13231 echo "${ECHO_T}$ac_header_preproc" >&6
13233 # So? What about this header?
13234 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
13236 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
13237 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
13238 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
13239 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
13240 ac_header_preproc
=yes
13243 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
13244 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
13245 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
13246 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
13247 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
13248 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
13249 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
13250 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
13251 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
13252 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
13253 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
13254 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
13257 ## ----------------------------------------- ##
13258 ## Report this to wx-dev@lists.wxwidgets.org ##
13259 ## ----------------------------------------- ##
13262 sed "s/^/$as_me: WARNING: /" >&2
13265 echo "$as_me:$LINENO: checking for $ac_header" >&5
13266 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13267 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13268 echo $ECHO_N "(cached) $ECHO_C" >&6
13270 eval "$as_ac_Header=\$ac_header_preproc"
13272 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13273 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13276 if test `eval echo '${'$as_ac_Header'}'` = yes; then
13277 cat >>confdefs.h
<<_ACEOF
13278 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
13286 for ac_header
in wchar.h
13288 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
13289 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13290 echo "$as_me:$LINENO: checking for $ac_header" >&5
13291 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13292 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13293 echo $ECHO_N "(cached) $ECHO_C" >&6
13295 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13296 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13298 # Is the header compilable?
13299 echo "$as_me:$LINENO: checking $ac_header usability" >&5
13300 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
13301 cat >conftest.
$ac_ext <<_ACEOF
13304 cat confdefs.h
>>conftest.
$ac_ext
13305 cat >>conftest.
$ac_ext <<_ACEOF
13306 /* end confdefs.h. */
13307 $ac_includes_default
13308 #include <$ac_header>
13310 rm -f conftest.
$ac_objext
13311 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13312 (eval $ac_compile) 2>conftest.er1
13314 grep -v '^ *+' conftest.er1
>conftest.err
13316 cat conftest.err
>&5
13317 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13318 (exit $ac_status); } &&
13319 { ac_try
='test -z "$ac_c_werror_flag"
13320 || test ! -s conftest.err'
13321 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13322 (eval $ac_try) 2>&5
13324 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13325 (exit $ac_status); }; } &&
13326 { ac_try
='test -s conftest.$ac_objext'
13327 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13328 (eval $ac_try) 2>&5
13330 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13331 (exit $ac_status); }; }; then
13332 ac_header_compiler
=yes
13334 echo "$as_me: failed program was:" >&5
13335 sed 's/^/| /' conftest.
$ac_ext >&5
13337 ac_header_compiler
=no
13339 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13340 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
13341 echo "${ECHO_T}$ac_header_compiler" >&6
13343 # Is the header present?
13344 echo "$as_me:$LINENO: checking $ac_header presence" >&5
13345 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
13346 cat >conftest.
$ac_ext <<_ACEOF
13349 cat confdefs.h
>>conftest.
$ac_ext
13350 cat >>conftest.
$ac_ext <<_ACEOF
13351 /* end confdefs.h. */
13352 #include <$ac_header>
13354 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
13355 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
13357 grep -v '^ *+' conftest.er1
>conftest.err
13359 cat conftest.err
>&5
13360 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13361 (exit $ac_status); } >/dev
/null
; then
13362 if test -s conftest.err
; then
13363 ac_cpp_err
=$ac_c_preproc_warn_flag
13364 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
13371 if test -z "$ac_cpp_err"; then
13372 ac_header_preproc
=yes
13374 echo "$as_me: failed program was:" >&5
13375 sed 's/^/| /' conftest.
$ac_ext >&5
13377 ac_header_preproc
=no
13379 rm -f conftest.err conftest.
$ac_ext
13380 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
13381 echo "${ECHO_T}$ac_header_preproc" >&6
13383 # So? What about this header?
13384 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
13386 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
13387 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
13388 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
13389 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
13390 ac_header_preproc
=yes
13393 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
13394 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
13395 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
13396 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
13397 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
13398 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
13399 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
13400 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
13401 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
13402 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
13403 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
13404 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
13407 ## ----------------------------------------- ##
13408 ## Report this to wx-dev@lists.wxwidgets.org ##
13409 ## ----------------------------------------- ##
13412 sed "s/^/$as_me: WARNING: /" >&2
13415 echo "$as_me:$LINENO: checking for $ac_header" >&5
13416 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13417 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13418 echo $ECHO_N "(cached) $ECHO_C" >&6
13420 eval "$as_ac_Header=\$ac_header_preproc"
13422 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13423 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13426 if test `eval echo '${'$as_ac_Header'}'` = yes; then
13427 cat >>confdefs.h
<<_ACEOF
13428 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
13436 if test "$ac_cv_header_wchar_h" != "yes"; then
13438 for ac_header
in wcstr.h
13440 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
13441 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13442 echo "$as_me:$LINENO: checking for $ac_header" >&5
13443 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13444 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13445 echo $ECHO_N "(cached) $ECHO_C" >&6
13447 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13448 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13450 # Is the header compilable?
13451 echo "$as_me:$LINENO: checking $ac_header usability" >&5
13452 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
13453 cat >conftest.
$ac_ext <<_ACEOF
13456 cat confdefs.h
>>conftest.
$ac_ext
13457 cat >>conftest.
$ac_ext <<_ACEOF
13458 /* end confdefs.h. */
13459 $ac_includes_default
13460 #include <$ac_header>
13462 rm -f conftest.
$ac_objext
13463 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13464 (eval $ac_compile) 2>conftest.er1
13466 grep -v '^ *+' conftest.er1
>conftest.err
13468 cat conftest.err
>&5
13469 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13470 (exit $ac_status); } &&
13471 { ac_try
='test -z "$ac_c_werror_flag"
13472 || test ! -s conftest.err'
13473 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13474 (eval $ac_try) 2>&5
13476 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13477 (exit $ac_status); }; } &&
13478 { ac_try
='test -s conftest.$ac_objext'
13479 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13480 (eval $ac_try) 2>&5
13482 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13483 (exit $ac_status); }; }; then
13484 ac_header_compiler
=yes
13486 echo "$as_me: failed program was:" >&5
13487 sed 's/^/| /' conftest.
$ac_ext >&5
13489 ac_header_compiler
=no
13491 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13492 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
13493 echo "${ECHO_T}$ac_header_compiler" >&6
13495 # Is the header present?
13496 echo "$as_me:$LINENO: checking $ac_header presence" >&5
13497 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
13498 cat >conftest.
$ac_ext <<_ACEOF
13501 cat confdefs.h
>>conftest.
$ac_ext
13502 cat >>conftest.
$ac_ext <<_ACEOF
13503 /* end confdefs.h. */
13504 #include <$ac_header>
13506 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
13507 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
13509 grep -v '^ *+' conftest.er1
>conftest.err
13511 cat conftest.err
>&5
13512 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13513 (exit $ac_status); } >/dev
/null
; then
13514 if test -s conftest.err
; then
13515 ac_cpp_err
=$ac_c_preproc_warn_flag
13516 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
13523 if test -z "$ac_cpp_err"; then
13524 ac_header_preproc
=yes
13526 echo "$as_me: failed program was:" >&5
13527 sed 's/^/| /' conftest.
$ac_ext >&5
13529 ac_header_preproc
=no
13531 rm -f conftest.err conftest.
$ac_ext
13532 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
13533 echo "${ECHO_T}$ac_header_preproc" >&6
13535 # So? What about this header?
13536 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
13538 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
13539 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
13540 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
13541 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
13542 ac_header_preproc
=yes
13545 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
13546 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
13547 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
13548 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
13549 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
13550 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
13551 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
13552 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
13553 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
13554 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
13555 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
13556 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
13559 ## ----------------------------------------- ##
13560 ## Report this to wx-dev@lists.wxwidgets.org ##
13561 ## ----------------------------------------- ##
13564 sed "s/^/$as_me: WARNING: /" >&2
13567 echo "$as_me:$LINENO: checking for $ac_header" >&5
13568 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13569 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13570 echo $ECHO_N "(cached) $ECHO_C" >&6
13572 eval "$as_ac_Header=\$ac_header_preproc"
13574 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13575 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13578 if test `eval echo '${'$as_ac_Header'}'` = yes; then
13579 cat >>confdefs.h
<<_ACEOF
13580 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
13590 for ac_header
in fnmatch.h
13592 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
13593 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13594 echo "$as_me:$LINENO: checking for $ac_header" >&5
13595 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13596 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13597 echo $ECHO_N "(cached) $ECHO_C" >&6
13599 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13600 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13602 # Is the header compilable?
13603 echo "$as_me:$LINENO: checking $ac_header usability" >&5
13604 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
13605 cat >conftest.
$ac_ext <<_ACEOF
13608 cat confdefs.h
>>conftest.
$ac_ext
13609 cat >>conftest.
$ac_ext <<_ACEOF
13610 /* end confdefs.h. */
13611 $ac_includes_default
13612 #include <$ac_header>
13614 rm -f conftest.
$ac_objext
13615 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13616 (eval $ac_compile) 2>conftest.er1
13618 grep -v '^ *+' conftest.er1
>conftest.err
13620 cat conftest.err
>&5
13621 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13622 (exit $ac_status); } &&
13623 { ac_try
='test -z "$ac_c_werror_flag"
13624 || test ! -s conftest.err'
13625 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13626 (eval $ac_try) 2>&5
13628 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13629 (exit $ac_status); }; } &&
13630 { ac_try
='test -s conftest.$ac_objext'
13631 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13632 (eval $ac_try) 2>&5
13634 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13635 (exit $ac_status); }; }; then
13636 ac_header_compiler
=yes
13638 echo "$as_me: failed program was:" >&5
13639 sed 's/^/| /' conftest.
$ac_ext >&5
13641 ac_header_compiler
=no
13643 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13644 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
13645 echo "${ECHO_T}$ac_header_compiler" >&6
13647 # Is the header present?
13648 echo "$as_me:$LINENO: checking $ac_header presence" >&5
13649 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
13650 cat >conftest.
$ac_ext <<_ACEOF
13653 cat confdefs.h
>>conftest.
$ac_ext
13654 cat >>conftest.
$ac_ext <<_ACEOF
13655 /* end confdefs.h. */
13656 #include <$ac_header>
13658 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
13659 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
13661 grep -v '^ *+' conftest.er1
>conftest.err
13663 cat conftest.err
>&5
13664 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13665 (exit $ac_status); } >/dev
/null
; then
13666 if test -s conftest.err
; then
13667 ac_cpp_err
=$ac_c_preproc_warn_flag
13668 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
13675 if test -z "$ac_cpp_err"; then
13676 ac_header_preproc
=yes
13678 echo "$as_me: failed program was:" >&5
13679 sed 's/^/| /' conftest.
$ac_ext >&5
13681 ac_header_preproc
=no
13683 rm -f conftest.err conftest.
$ac_ext
13684 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
13685 echo "${ECHO_T}$ac_header_preproc" >&6
13687 # So? What about this header?
13688 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
13690 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
13691 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
13692 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
13693 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
13694 ac_header_preproc
=yes
13697 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
13698 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
13699 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
13700 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
13701 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
13702 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
13703 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
13704 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
13705 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
13706 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
13707 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
13708 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
13711 ## ----------------------------------------- ##
13712 ## Report this to wx-dev@lists.wxwidgets.org ##
13713 ## ----------------------------------------- ##
13716 sed "s/^/$as_me: WARNING: /" >&2
13719 echo "$as_me:$LINENO: checking for $ac_header" >&5
13720 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13721 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13722 echo $ECHO_N "(cached) $ECHO_C" >&6
13724 eval "$as_ac_Header=\$ac_header_preproc"
13726 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13727 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13730 if test `eval echo '${'$as_ac_Header'}'` = yes; then
13731 cat >>confdefs.h
<<_ACEOF
13732 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
13740 if test "x$ac_cv_header_fnmatch_h" = "xyes"; then
13742 for ac_func
in fnmatch
13744 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
13745 echo "$as_me:$LINENO: checking for $ac_func" >&5
13746 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
13747 if eval "test \"\${$as_ac_var+set}\" = set"; then
13748 echo $ECHO_N "(cached) $ECHO_C" >&6
13750 cat >conftest.
$ac_ext <<_ACEOF
13753 cat confdefs.h
>>conftest.
$ac_ext
13754 cat >>conftest.
$ac_ext <<_ACEOF
13755 /* end confdefs.h. */
13756 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
13757 For example, HP-UX 11i <limits.h> declares gettimeofday. */
13758 #define $ac_func innocuous_$ac_func
13760 /* System header to define __stub macros and hopefully few prototypes,
13761 which can conflict with char $ac_func (); below.
13762 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13763 <limits.h> exists even on freestanding compilers. */
13766 # include <limits.h>
13768 # include <assert.h>
13773 /* Override any gcc2 internal prototype to avoid an error. */
13778 /* We use char because int might match the return type of a gcc2
13779 builtin and then its argument prototype would still apply. */
13781 /* The GNU C library defines this for functions which it implements
13782 to always fail with ENOSYS. Some functions are actually named
13783 something starting with __ and the normal name is an alias. */
13784 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13787 char (*f) () = $ac_func;
13796 return f != $ac_func;
13801 rm -f conftest.
$ac_objext conftest
$ac_exeext
13802 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13803 (eval $ac_link) 2>conftest.er1
13805 grep -v '^ *+' conftest.er1
>conftest.err
13807 cat conftest.err
>&5
13808 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13809 (exit $ac_status); } &&
13810 { ac_try
='test -z "$ac_c_werror_flag"
13811 || test ! -s conftest.err'
13812 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13813 (eval $ac_try) 2>&5
13815 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13816 (exit $ac_status); }; } &&
13817 { ac_try
='test -s conftest$ac_exeext'
13818 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13819 (eval $ac_try) 2>&5
13821 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13822 (exit $ac_status); }; }; then
13823 eval "$as_ac_var=yes"
13825 echo "$as_me: failed program was:" >&5
13826 sed 's/^/| /' conftest.
$ac_ext >&5
13828 eval "$as_ac_var=no"
13830 rm -f conftest.err conftest.
$ac_objext \
13831 conftest
$ac_exeext conftest.
$ac_ext
13833 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
13834 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
13835 if test `eval echo '${'$as_ac_var'}'` = yes; then
13836 cat >>confdefs.h
<<_ACEOF
13837 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
13846 for ac_header
in langinfo.h
13848 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
13849 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13850 echo "$as_me:$LINENO: checking for $ac_header" >&5
13851 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13852 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13853 echo $ECHO_N "(cached) $ECHO_C" >&6
13855 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13856 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13858 # Is the header compilable?
13859 echo "$as_me:$LINENO: checking $ac_header usability" >&5
13860 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
13861 cat >conftest.
$ac_ext <<_ACEOF
13864 cat confdefs.h
>>conftest.
$ac_ext
13865 cat >>conftest.
$ac_ext <<_ACEOF
13866 /* end confdefs.h. */
13867 $ac_includes_default
13868 #include <$ac_header>
13870 rm -f conftest.
$ac_objext
13871 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13872 (eval $ac_compile) 2>conftest.er1
13874 grep -v '^ *+' conftest.er1
>conftest.err
13876 cat conftest.err
>&5
13877 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13878 (exit $ac_status); } &&
13879 { ac_try
='test -z "$ac_c_werror_flag"
13880 || test ! -s conftest.err'
13881 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13882 (eval $ac_try) 2>&5
13884 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13885 (exit $ac_status); }; } &&
13886 { ac_try
='test -s conftest.$ac_objext'
13887 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13888 (eval $ac_try) 2>&5
13890 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13891 (exit $ac_status); }; }; then
13892 ac_header_compiler
=yes
13894 echo "$as_me: failed program was:" >&5
13895 sed 's/^/| /' conftest.
$ac_ext >&5
13897 ac_header_compiler
=no
13899 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13900 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
13901 echo "${ECHO_T}$ac_header_compiler" >&6
13903 # Is the header present?
13904 echo "$as_me:$LINENO: checking $ac_header presence" >&5
13905 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
13906 cat >conftest.
$ac_ext <<_ACEOF
13909 cat confdefs.h
>>conftest.
$ac_ext
13910 cat >>conftest.
$ac_ext <<_ACEOF
13911 /* end confdefs.h. */
13912 #include <$ac_header>
13914 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
13915 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
13917 grep -v '^ *+' conftest.er1
>conftest.err
13919 cat conftest.err
>&5
13920 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13921 (exit $ac_status); } >/dev
/null
; then
13922 if test -s conftest.err
; then
13923 ac_cpp_err
=$ac_c_preproc_warn_flag
13924 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
13931 if test -z "$ac_cpp_err"; then
13932 ac_header_preproc
=yes
13934 echo "$as_me: failed program was:" >&5
13935 sed 's/^/| /' conftest.
$ac_ext >&5
13937 ac_header_preproc
=no
13939 rm -f conftest.err conftest.
$ac_ext
13940 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
13941 echo "${ECHO_T}$ac_header_preproc" >&6
13943 # So? What about this header?
13944 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
13946 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
13947 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
13948 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
13949 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
13950 ac_header_preproc
=yes
13953 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
13954 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
13955 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
13956 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
13957 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
13958 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
13959 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
13960 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
13961 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
13962 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
13963 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
13964 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
13967 ## ----------------------------------------- ##
13968 ## Report this to wx-dev@lists.wxwidgets.org ##
13969 ## ----------------------------------------- ##
13972 sed "s/^/$as_me: WARNING: /" >&2
13975 echo "$as_me:$LINENO: checking for $ac_header" >&5
13976 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13977 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13978 echo $ECHO_N "(cached) $ECHO_C" >&6
13980 eval "$as_ac_Header=\$ac_header_preproc"
13982 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13983 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13986 if test `eval echo '${'$as_ac_Header'}'` = yes; then
13987 cat >>confdefs.h
<<_ACEOF
13988 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
13997 *-pc-os2_emx | *-pc-os2-emx )
13998 if test $ac_cv_header_langinfo_h = "yes"; then
13999 LIBS
="$LIBS -lintl"
14004 if test "$wxUSE_GUI" = "yes"; then
14005 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_PM" != 1; then
14007 for ac_header
in X
11/Xlib.h
14009 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
14010 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14011 echo "$as_me:$LINENO: checking for $ac_header" >&5
14012 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
14013 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14014 echo $ECHO_N "(cached) $ECHO_C" >&6
14016 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
14017 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
14019 # Is the header compilable?
14020 echo "$as_me:$LINENO: checking $ac_header usability" >&5
14021 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
14022 cat >conftest.
$ac_ext <<_ACEOF
14025 cat confdefs.h
>>conftest.
$ac_ext
14026 cat >>conftest.
$ac_ext <<_ACEOF
14027 /* end confdefs.h. */
14028 $ac_includes_default
14029 #include <$ac_header>
14031 rm -f conftest.
$ac_objext
14032 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14033 (eval $ac_compile) 2>conftest.er1
14035 grep -v '^ *+' conftest.er1
>conftest.err
14037 cat conftest.err
>&5
14038 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14039 (exit $ac_status); } &&
14040 { ac_try
='test -z "$ac_c_werror_flag"
14041 || test ! -s conftest.err'
14042 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14043 (eval $ac_try) 2>&5
14045 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14046 (exit $ac_status); }; } &&
14047 { ac_try
='test -s conftest.$ac_objext'
14048 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14049 (eval $ac_try) 2>&5
14051 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14052 (exit $ac_status); }; }; then
14053 ac_header_compiler
=yes
14055 echo "$as_me: failed program was:" >&5
14056 sed 's/^/| /' conftest.
$ac_ext >&5
14058 ac_header_compiler
=no
14060 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14061 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
14062 echo "${ECHO_T}$ac_header_compiler" >&6
14064 # Is the header present?
14065 echo "$as_me:$LINENO: checking $ac_header presence" >&5
14066 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
14067 cat >conftest.
$ac_ext <<_ACEOF
14070 cat confdefs.h
>>conftest.
$ac_ext
14071 cat >>conftest.
$ac_ext <<_ACEOF
14072 /* end confdefs.h. */
14073 #include <$ac_header>
14075 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
14076 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
14078 grep -v '^ *+' conftest.er1
>conftest.err
14080 cat conftest.err
>&5
14081 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14082 (exit $ac_status); } >/dev
/null
; then
14083 if test -s conftest.err
; then
14084 ac_cpp_err
=$ac_c_preproc_warn_flag
14085 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
14092 if test -z "$ac_cpp_err"; then
14093 ac_header_preproc
=yes
14095 echo "$as_me: failed program was:" >&5
14096 sed 's/^/| /' conftest.
$ac_ext >&5
14098 ac_header_preproc
=no
14100 rm -f conftest.err conftest.
$ac_ext
14101 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
14102 echo "${ECHO_T}$ac_header_preproc" >&6
14104 # So? What about this header?
14105 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
14107 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
14108 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
14109 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
14110 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
14111 ac_header_preproc
=yes
14114 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
14115 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
14116 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
14117 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
14118 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
14119 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
14120 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
14121 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
14122 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
14123 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
14124 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
14125 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
14128 ## ----------------------------------------- ##
14129 ## Report this to wx-dev@lists.wxwidgets.org ##
14130 ## ----------------------------------------- ##
14133 sed "s/^/$as_me: WARNING: /" >&2
14136 echo "$as_me:$LINENO: checking for $ac_header" >&5
14137 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
14138 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14139 echo $ECHO_N "(cached) $ECHO_C" >&6
14141 eval "$as_ac_Header=\$ac_header_preproc"
14143 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
14144 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
14147 if test `eval echo '${'$as_ac_Header'}'` = yes; then
14148 cat >>confdefs.h
<<_ACEOF
14149 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
14157 for ac_header
in X
11/XKBlib.h
14159 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
14160 echo "$as_me:$LINENO: checking for $ac_header" >&5
14161 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
14162 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14163 echo $ECHO_N "(cached) $ECHO_C" >&6
14165 cat >conftest.
$ac_ext <<_ACEOF
14168 cat confdefs.h
>>conftest.
$ac_ext
14169 cat >>conftest.
$ac_ext <<_ACEOF
14170 /* end confdefs.h. */
14172 #if HAVE_X11_XLIB_H
14173 #include <X11/Xlib.h>
14177 #include <$ac_header>
14179 rm -f conftest.
$ac_objext
14180 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14181 (eval $ac_compile) 2>conftest.er1
14183 grep -v '^ *+' conftest.er1
>conftest.err
14185 cat conftest.err
>&5
14186 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14187 (exit $ac_status); } &&
14188 { ac_try
='test -z "$ac_c_werror_flag"
14189 || test ! -s conftest.err'
14190 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14191 (eval $ac_try) 2>&5
14193 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14194 (exit $ac_status); }; } &&
14195 { ac_try
='test -s conftest.$ac_objext'
14196 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14197 (eval $ac_try) 2>&5
14199 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14200 (exit $ac_status); }; }; then
14201 eval "$as_ac_Header=yes"
14203 echo "$as_me: failed program was:" >&5
14204 sed 's/^/| /' conftest.
$ac_ext >&5
14206 eval "$as_ac_Header=no"
14208 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14210 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
14211 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
14212 if test `eval echo '${'$as_ac_Header'}'` = yes; then
14213 cat >>confdefs.h
<<_ACEOF
14214 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
14225 echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
14226 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6
14227 if test "${ac_cv_c_const+set}" = set; then
14228 echo $ECHO_N "(cached) $ECHO_C" >&6
14230 cat >conftest.
$ac_ext <<_ACEOF
14233 cat confdefs.h
>>conftest.
$ac_ext
14234 cat >>conftest.
$ac_ext <<_ACEOF
14235 /* end confdefs.h. */
14240 /* FIXME: Include the comments suggested by Paul. */
14241 #ifndef __cplusplus
14242 /* Ultrix mips cc rejects this. */
14243 typedef int charset[2];
14245 /* SunOS 4.1.1 cc rejects this. */
14246 char const *const *ccp;
14248 /* NEC SVR4.0.2 mips cc rejects this. */
14249 struct point {int x, y;};
14250 static struct point const zero = {0,0};
14251 /* AIX XL C 1.02.0.0 rejects this.
14252 It does not let you subtract one const X* pointer from another in
14253 an arm of an if-expression whose if-part is not a constant
14255 const char *g = "string";
14256 ccp = &g + (g ? g-g : 0);
14257 /* HPUX 7.0 cc rejects these. */
14260 ccp = (char const *const *) p;
14261 { /* SCO 3.2v4 cc rejects this. */
14263 char const *s = 0 ? (char *) 0 : (char const *) 0;
14267 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
14268 int x[] = {25, 17};
14269 const int *foo = &x[0];
14272 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
14273 typedef const int *iptr;
14277 { /* AIX XL C 1.02.0.0 rejects this saying
14278 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
14279 struct s { int j; const int *ap[3]; };
14280 struct s *b; b->j = 5;
14282 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
14283 const int foo = 10;
14291 rm -f conftest.
$ac_objext
14292 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14293 (eval $ac_compile) 2>conftest.er1
14295 grep -v '^ *+' conftest.er1
>conftest.err
14297 cat conftest.err
>&5
14298 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14299 (exit $ac_status); } &&
14300 { ac_try
='test -z "$ac_c_werror_flag"
14301 || test ! -s conftest.err'
14302 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14303 (eval $ac_try) 2>&5
14305 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14306 (exit $ac_status); }; } &&
14307 { ac_try
='test -s conftest.$ac_objext'
14308 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14309 (eval $ac_try) 2>&5
14311 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14312 (exit $ac_status); }; }; then
14315 echo "$as_me: failed program was:" >&5
14316 sed 's/^/| /' conftest.
$ac_ext >&5
14320 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14322 echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
14323 echo "${ECHO_T}$ac_cv_c_const" >&6
14324 if test $ac_cv_c_const = no
; then
14326 cat >>confdefs.h
<<\_ACEOF
14332 echo "$as_me:$LINENO: checking for inline" >&5
14333 echo $ECHO_N "checking for inline... $ECHO_C" >&6
14334 if test "${ac_cv_c_inline+set}" = set; then
14335 echo $ECHO_N "(cached) $ECHO_C" >&6
14338 for ac_kw
in inline __inline__ __inline
; do
14339 cat >conftest.
$ac_ext <<_ACEOF
14342 cat confdefs.h
>>conftest.
$ac_ext
14343 cat >>conftest.
$ac_ext <<_ACEOF
14344 /* end confdefs.h. */
14345 #ifndef __cplusplus
14347 static $ac_kw foo_t static_foo () {return 0; }
14348 $ac_kw foo_t foo () {return 0; }
14352 rm -f conftest.
$ac_objext
14353 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14354 (eval $ac_compile) 2>conftest.er1
14356 grep -v '^ *+' conftest.er1
>conftest.err
14358 cat conftest.err
>&5
14359 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14360 (exit $ac_status); } &&
14361 { ac_try
='test -z "$ac_c_werror_flag"
14362 || test ! -s conftest.err'
14363 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14364 (eval $ac_try) 2>&5
14366 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14367 (exit $ac_status); }; } &&
14368 { ac_try
='test -s conftest.$ac_objext'
14369 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14370 (eval $ac_try) 2>&5
14372 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14373 (exit $ac_status); }; }; then
14374 ac_cv_c_inline
=$ac_kw; break
14376 echo "$as_me: failed program was:" >&5
14377 sed 's/^/| /' conftest.
$ac_ext >&5
14380 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14384 echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
14385 echo "${ECHO_T}$ac_cv_c_inline" >&6
14388 case $ac_cv_c_inline in
14391 case $ac_cv_c_inline in
14393 *) ac_val
=$ac_cv_c_inline;;
14395 cat >>confdefs.h
<<_ACEOF
14396 #ifndef __cplusplus
14397 #define inline $ac_val
14404 echo "$as_me:$LINENO: checking for char" >&5
14405 echo $ECHO_N "checking for char... $ECHO_C" >&6
14406 if test "${ac_cv_type_char+set}" = set; then
14407 echo $ECHO_N "(cached) $ECHO_C" >&6
14409 cat >conftest.
$ac_ext <<_ACEOF
14412 cat confdefs.h
>>conftest.
$ac_ext
14413 cat >>conftest.
$ac_ext <<_ACEOF
14414 /* end confdefs.h. */
14415 $ac_includes_default
14427 rm -f conftest.
$ac_objext
14428 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14429 (eval $ac_compile) 2>conftest.er1
14431 grep -v '^ *+' conftest.er1
>conftest.err
14433 cat conftest.err
>&5
14434 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14435 (exit $ac_status); } &&
14436 { ac_try
='test -z "$ac_c_werror_flag"
14437 || test ! -s conftest.err'
14438 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14439 (eval $ac_try) 2>&5
14441 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14442 (exit $ac_status); }; } &&
14443 { ac_try
='test -s conftest.$ac_objext'
14444 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14445 (eval $ac_try) 2>&5
14447 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14448 (exit $ac_status); }; }; then
14449 ac_cv_type_char
=yes
14451 echo "$as_me: failed program was:" >&5
14452 sed 's/^/| /' conftest.
$ac_ext >&5
14456 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14458 echo "$as_me:$LINENO: result: $ac_cv_type_char" >&5
14459 echo "${ECHO_T}$ac_cv_type_char" >&6
14461 echo "$as_me:$LINENO: checking size of char" >&5
14462 echo $ECHO_N "checking size of char... $ECHO_C" >&6
14463 if test "${ac_cv_sizeof_char+set}" = set; then
14464 echo $ECHO_N "(cached) $ECHO_C" >&6
14466 if test "$ac_cv_type_char" = yes; then
14467 # The cast to unsigned long works around a bug in the HP C Compiler
14468 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
14469 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
14470 # This bug is HP SR number 8606223364.
14471 if test "$cross_compiling" = yes; then
14472 # Depending upon the size, compute the lo and hi bounds.
14473 cat >conftest.
$ac_ext <<_ACEOF
14476 cat confdefs.h
>>conftest.
$ac_ext
14477 cat >>conftest.
$ac_ext <<_ACEOF
14478 /* end confdefs.h. */
14479 $ac_includes_default
14483 static int test_array [1 - 2 * !(((long) (sizeof (char))) >= 0)];
14490 rm -f conftest.
$ac_objext
14491 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14492 (eval $ac_compile) 2>conftest.er1
14494 grep -v '^ *+' conftest.er1
>conftest.err
14496 cat conftest.err
>&5
14497 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14498 (exit $ac_status); } &&
14499 { ac_try
='test -z "$ac_c_werror_flag"
14500 || test ! -s conftest.err'
14501 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14502 (eval $ac_try) 2>&5
14504 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14505 (exit $ac_status); }; } &&
14506 { ac_try
='test -s conftest.$ac_objext'
14507 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14508 (eval $ac_try) 2>&5
14510 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14511 (exit $ac_status); }; }; then
14514 cat >conftest.
$ac_ext <<_ACEOF
14517 cat confdefs.h
>>conftest.
$ac_ext
14518 cat >>conftest.
$ac_ext <<_ACEOF
14519 /* end confdefs.h. */
14520 $ac_includes_default
14524 static int test_array [1 - 2 * !(((long) (sizeof (char))) <= $ac_mid)];
14531 rm -f conftest.
$ac_objext
14532 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14533 (eval $ac_compile) 2>conftest.er1
14535 grep -v '^ *+' conftest.er1
>conftest.err
14537 cat conftest.err
>&5
14538 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14539 (exit $ac_status); } &&
14540 { ac_try
='test -z "$ac_c_werror_flag"
14541 || test ! -s conftest.err'
14542 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14543 (eval $ac_try) 2>&5
14545 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14546 (exit $ac_status); }; } &&
14547 { ac_try
='test -s conftest.$ac_objext'
14548 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14549 (eval $ac_try) 2>&5
14551 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14552 (exit $ac_status); }; }; then
14553 ac_hi
=$ac_mid; break
14555 echo "$as_me: failed program was:" >&5
14556 sed 's/^/| /' conftest.
$ac_ext >&5
14558 ac_lo
=`expr $ac_mid + 1`
14559 if test $ac_lo -le $ac_mid; then
14563 ac_mid
=`expr 2 '*' $ac_mid + 1`
14565 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14568 echo "$as_me: failed program was:" >&5
14569 sed 's/^/| /' conftest.
$ac_ext >&5
14571 cat >conftest.
$ac_ext <<_ACEOF
14574 cat confdefs.h
>>conftest.
$ac_ext
14575 cat >>conftest.
$ac_ext <<_ACEOF
14576 /* end confdefs.h. */
14577 $ac_includes_default
14581 static int test_array [1 - 2 * !(((long) (sizeof (char))) < 0)];
14588 rm -f conftest.
$ac_objext
14589 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14590 (eval $ac_compile) 2>conftest.er1
14592 grep -v '^ *+' conftest.er1
>conftest.err
14594 cat conftest.err
>&5
14595 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14596 (exit $ac_status); } &&
14597 { ac_try
='test -z "$ac_c_werror_flag"
14598 || test ! -s conftest.err'
14599 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14600 (eval $ac_try) 2>&5
14602 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14603 (exit $ac_status); }; } &&
14604 { ac_try
='test -s conftest.$ac_objext'
14605 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14606 (eval $ac_try) 2>&5
14608 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14609 (exit $ac_status); }; }; then
14612 cat >conftest.
$ac_ext <<_ACEOF
14615 cat confdefs.h
>>conftest.
$ac_ext
14616 cat >>conftest.
$ac_ext <<_ACEOF
14617 /* end confdefs.h. */
14618 $ac_includes_default
14622 static int test_array [1 - 2 * !(((long) (sizeof (char))) >= $ac_mid)];
14629 rm -f conftest.
$ac_objext
14630 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14631 (eval $ac_compile) 2>conftest.er1
14633 grep -v '^ *+' conftest.er1
>conftest.err
14635 cat conftest.err
>&5
14636 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14637 (exit $ac_status); } &&
14638 { ac_try
='test -z "$ac_c_werror_flag"
14639 || test ! -s conftest.err'
14640 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14641 (eval $ac_try) 2>&5
14643 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14644 (exit $ac_status); }; } &&
14645 { ac_try
='test -s conftest.$ac_objext'
14646 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14647 (eval $ac_try) 2>&5
14649 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14650 (exit $ac_status); }; }; then
14651 ac_lo
=$ac_mid; break
14653 echo "$as_me: failed program was:" >&5
14654 sed 's/^/| /' conftest.
$ac_ext >&5
14656 ac_hi
=`expr '(' $ac_mid ')' - 1`
14657 if test $ac_mid -le $ac_hi; then
14661 ac_mid
=`expr 2 '*' $ac_mid`
14663 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14666 echo "$as_me: failed program was:" >&5
14667 sed 's/^/| /' conftest.
$ac_ext >&5
14671 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14673 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14674 # Binary search between lo and hi bounds.
14675 while test "x$ac_lo" != "x$ac_hi"; do
14676 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
14677 cat >conftest.
$ac_ext <<_ACEOF
14680 cat confdefs.h
>>conftest.
$ac_ext
14681 cat >>conftest.
$ac_ext <<_ACEOF
14682 /* end confdefs.h. */
14683 $ac_includes_default
14687 static int test_array [1 - 2 * !(((long) (sizeof (char))) <= $ac_mid)];
14694 rm -f conftest.
$ac_objext
14695 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14696 (eval $ac_compile) 2>conftest.er1
14698 grep -v '^ *+' conftest.er1
>conftest.err
14700 cat conftest.err
>&5
14701 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14702 (exit $ac_status); } &&
14703 { ac_try
='test -z "$ac_c_werror_flag"
14704 || test ! -s conftest.err'
14705 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14706 (eval $ac_try) 2>&5
14708 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14709 (exit $ac_status); }; } &&
14710 { ac_try
='test -s conftest.$ac_objext'
14711 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14712 (eval $ac_try) 2>&5
14714 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14715 (exit $ac_status); }; }; then
14718 echo "$as_me: failed program was:" >&5
14719 sed 's/^/| /' conftest.
$ac_ext >&5
14721 ac_lo
=`expr '(' $ac_mid ')' + 1`
14723 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14726 ?
*) ac_cv_sizeof_char
=$ac_lo;;
14727 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (char), 77
14728 See \`config.log' for more details." >&5
14729 echo "$as_me: error: cannot compute sizeof (char), 77
14730 See \`config.log' for more details." >&2;}
14731 { (exit 1); exit 1; }; } ;;
14734 if test "$cross_compiling" = yes; then
14735 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
14736 See \`config.log' for more details." >&5
14737 echo "$as_me: error: cannot run test program while cross compiling
14738 See \`config.log' for more details." >&2;}
14739 { (exit 1); exit 1; }; }
14741 cat >conftest.
$ac_ext <<_ACEOF
14744 cat confdefs.h
>>conftest.
$ac_ext
14745 cat >>conftest.
$ac_ext <<_ACEOF
14746 /* end confdefs.h. */
14747 $ac_includes_default
14748 long longval () { return (long) (sizeof (char)); }
14749 unsigned long ulongval () { return (long) (sizeof (char)); }
14751 #include <stdlib.h>
14756 FILE *f = fopen ("conftest.val", "w");
14759 if (((long) (sizeof (char))) < 0)
14761 long i = longval ();
14762 if (i != ((long) (sizeof (char))))
14764 fprintf (f, "%ld\n", i);
14768 unsigned long i = ulongval ();
14769 if (i != ((long) (sizeof (char))))
14771 fprintf (f, "%lu\n", i);
14773 exit (ferror (f) || fclose (f) != 0);
14779 rm -f conftest
$ac_exeext
14780 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14781 (eval $ac_link) 2>&5
14783 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14784 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
14785 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14786 (eval $ac_try) 2>&5
14788 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14789 (exit $ac_status); }; }; then
14790 ac_cv_sizeof_char
=`cat conftest.val`
14792 echo "$as_me: program exited with status $ac_status" >&5
14793 echo "$as_me: failed program was:" >&5
14794 sed 's/^/| /' conftest.
$ac_ext >&5
14796 ( exit $ac_status )
14797 { { echo "$as_me:$LINENO: error: cannot compute sizeof (char), 77
14798 See \`config.log' for more details." >&5
14799 echo "$as_me: error: cannot compute sizeof (char), 77
14800 See \`config.log' for more details." >&2;}
14801 { (exit 1); exit 1; }; }
14803 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
14808 ac_cv_sizeof_char
=0
14811 echo "$as_me:$LINENO: result: $ac_cv_sizeof_char" >&5
14812 echo "${ECHO_T}$ac_cv_sizeof_char" >&6
14813 cat >>confdefs.h
<<_ACEOF
14814 #define SIZEOF_CHAR $ac_cv_sizeof_char
14818 echo "$as_me:$LINENO: checking for short" >&5
14819 echo $ECHO_N "checking for short... $ECHO_C" >&6
14820 if test "${ac_cv_type_short+set}" = set; then
14821 echo $ECHO_N "(cached) $ECHO_C" >&6
14823 cat >conftest.
$ac_ext <<_ACEOF
14826 cat confdefs.h
>>conftest.
$ac_ext
14827 cat >>conftest.
$ac_ext <<_ACEOF
14828 /* end confdefs.h. */
14829 $ac_includes_default
14835 if (sizeof (short))
14841 rm -f conftest.
$ac_objext
14842 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14843 (eval $ac_compile) 2>conftest.er1
14845 grep -v '^ *+' conftest.er1
>conftest.err
14847 cat conftest.err
>&5
14848 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14849 (exit $ac_status); } &&
14850 { ac_try
='test -z "$ac_c_werror_flag"
14851 || test ! -s conftest.err'
14852 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14853 (eval $ac_try) 2>&5
14855 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14856 (exit $ac_status); }; } &&
14857 { ac_try
='test -s conftest.$ac_objext'
14858 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14859 (eval $ac_try) 2>&5
14861 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14862 (exit $ac_status); }; }; then
14863 ac_cv_type_short
=yes
14865 echo "$as_me: failed program was:" >&5
14866 sed 's/^/| /' conftest.
$ac_ext >&5
14868 ac_cv_type_short
=no
14870 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14872 echo "$as_me:$LINENO: result: $ac_cv_type_short" >&5
14873 echo "${ECHO_T}$ac_cv_type_short" >&6
14875 echo "$as_me:$LINENO: checking size of short" >&5
14876 echo $ECHO_N "checking size of short... $ECHO_C" >&6
14877 if test "${ac_cv_sizeof_short+set}" = set; then
14878 echo $ECHO_N "(cached) $ECHO_C" >&6
14880 if test "$ac_cv_type_short" = yes; then
14881 # The cast to unsigned long works around a bug in the HP C Compiler
14882 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
14883 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
14884 # This bug is HP SR number 8606223364.
14885 if test "$cross_compiling" = yes; then
14886 # Depending upon the size, compute the lo and hi bounds.
14887 cat >conftest.
$ac_ext <<_ACEOF
14890 cat confdefs.h
>>conftest.
$ac_ext
14891 cat >>conftest.
$ac_ext <<_ACEOF
14892 /* end confdefs.h. */
14893 $ac_includes_default
14897 static int test_array [1 - 2 * !(((long) (sizeof (short))) >= 0)];
14904 rm -f conftest.
$ac_objext
14905 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14906 (eval $ac_compile) 2>conftest.er1
14908 grep -v '^ *+' conftest.er1
>conftest.err
14910 cat conftest.err
>&5
14911 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14912 (exit $ac_status); } &&
14913 { ac_try
='test -z "$ac_c_werror_flag"
14914 || test ! -s conftest.err'
14915 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14916 (eval $ac_try) 2>&5
14918 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14919 (exit $ac_status); }; } &&
14920 { ac_try
='test -s conftest.$ac_objext'
14921 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14922 (eval $ac_try) 2>&5
14924 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14925 (exit $ac_status); }; }; then
14928 cat >conftest.
$ac_ext <<_ACEOF
14931 cat confdefs.h
>>conftest.
$ac_ext
14932 cat >>conftest.
$ac_ext <<_ACEOF
14933 /* end confdefs.h. */
14934 $ac_includes_default
14938 static int test_array [1 - 2 * !(((long) (sizeof (short))) <= $ac_mid)];
14945 rm -f conftest.
$ac_objext
14946 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14947 (eval $ac_compile) 2>conftest.er1
14949 grep -v '^ *+' conftest.er1
>conftest.err
14951 cat conftest.err
>&5
14952 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14953 (exit $ac_status); } &&
14954 { ac_try
='test -z "$ac_c_werror_flag"
14955 || test ! -s conftest.err'
14956 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14957 (eval $ac_try) 2>&5
14959 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14960 (exit $ac_status); }; } &&
14961 { ac_try
='test -s conftest.$ac_objext'
14962 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14963 (eval $ac_try) 2>&5
14965 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14966 (exit $ac_status); }; }; then
14967 ac_hi
=$ac_mid; break
14969 echo "$as_me: failed program was:" >&5
14970 sed 's/^/| /' conftest.
$ac_ext >&5
14972 ac_lo
=`expr $ac_mid + 1`
14973 if test $ac_lo -le $ac_mid; then
14977 ac_mid
=`expr 2 '*' $ac_mid + 1`
14979 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14982 echo "$as_me: failed program was:" >&5
14983 sed 's/^/| /' conftest.
$ac_ext >&5
14985 cat >conftest.
$ac_ext <<_ACEOF
14988 cat confdefs.h
>>conftest.
$ac_ext
14989 cat >>conftest.
$ac_ext <<_ACEOF
14990 /* end confdefs.h. */
14991 $ac_includes_default
14995 static int test_array [1 - 2 * !(((long) (sizeof (short))) < 0)];
15002 rm -f conftest.
$ac_objext
15003 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15004 (eval $ac_compile) 2>conftest.er1
15006 grep -v '^ *+' conftest.er1
>conftest.err
15008 cat conftest.err
>&5
15009 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15010 (exit $ac_status); } &&
15011 { ac_try
='test -z "$ac_c_werror_flag"
15012 || test ! -s conftest.err'
15013 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15014 (eval $ac_try) 2>&5
15016 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15017 (exit $ac_status); }; } &&
15018 { ac_try
='test -s conftest.$ac_objext'
15019 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15020 (eval $ac_try) 2>&5
15022 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15023 (exit $ac_status); }; }; then
15026 cat >conftest.
$ac_ext <<_ACEOF
15029 cat confdefs.h
>>conftest.
$ac_ext
15030 cat >>conftest.
$ac_ext <<_ACEOF
15031 /* end confdefs.h. */
15032 $ac_includes_default
15036 static int test_array [1 - 2 * !(((long) (sizeof (short))) >= $ac_mid)];
15043 rm -f conftest.
$ac_objext
15044 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15045 (eval $ac_compile) 2>conftest.er1
15047 grep -v '^ *+' conftest.er1
>conftest.err
15049 cat conftest.err
>&5
15050 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15051 (exit $ac_status); } &&
15052 { ac_try
='test -z "$ac_c_werror_flag"
15053 || test ! -s conftest.err'
15054 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15055 (eval $ac_try) 2>&5
15057 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15058 (exit $ac_status); }; } &&
15059 { ac_try
='test -s conftest.$ac_objext'
15060 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15061 (eval $ac_try) 2>&5
15063 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15064 (exit $ac_status); }; }; then
15065 ac_lo
=$ac_mid; break
15067 echo "$as_me: failed program was:" >&5
15068 sed 's/^/| /' conftest.
$ac_ext >&5
15070 ac_hi
=`expr '(' $ac_mid ')' - 1`
15071 if test $ac_mid -le $ac_hi; then
15075 ac_mid
=`expr 2 '*' $ac_mid`
15077 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15080 echo "$as_me: failed program was:" >&5
15081 sed 's/^/| /' conftest.
$ac_ext >&5
15085 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15087 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15088 # Binary search between lo and hi bounds.
15089 while test "x$ac_lo" != "x$ac_hi"; do
15090 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
15091 cat >conftest.
$ac_ext <<_ACEOF
15094 cat confdefs.h
>>conftest.
$ac_ext
15095 cat >>conftest.
$ac_ext <<_ACEOF
15096 /* end confdefs.h. */
15097 $ac_includes_default
15101 static int test_array [1 - 2 * !(((long) (sizeof (short))) <= $ac_mid)];
15108 rm -f conftest.
$ac_objext
15109 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15110 (eval $ac_compile) 2>conftest.er1
15112 grep -v '^ *+' conftest.er1
>conftest.err
15114 cat conftest.err
>&5
15115 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15116 (exit $ac_status); } &&
15117 { ac_try
='test -z "$ac_c_werror_flag"
15118 || test ! -s conftest.err'
15119 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15120 (eval $ac_try) 2>&5
15122 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15123 (exit $ac_status); }; } &&
15124 { ac_try
='test -s conftest.$ac_objext'
15125 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15126 (eval $ac_try) 2>&5
15128 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15129 (exit $ac_status); }; }; then
15132 echo "$as_me: failed program was:" >&5
15133 sed 's/^/| /' conftest.
$ac_ext >&5
15135 ac_lo
=`expr '(' $ac_mid ')' + 1`
15137 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15140 ?
*) ac_cv_sizeof_short
=$ac_lo;;
15141 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (short), 77
15142 See \`config.log' for more details." >&5
15143 echo "$as_me: error: cannot compute sizeof (short), 77
15144 See \`config.log' for more details." >&2;}
15145 { (exit 1); exit 1; }; } ;;
15148 if test "$cross_compiling" = yes; then
15149 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
15150 See \`config.log' for more details." >&5
15151 echo "$as_me: error: cannot run test program while cross compiling
15152 See \`config.log' for more details." >&2;}
15153 { (exit 1); exit 1; }; }
15155 cat >conftest.
$ac_ext <<_ACEOF
15158 cat confdefs.h
>>conftest.
$ac_ext
15159 cat >>conftest.
$ac_ext <<_ACEOF
15160 /* end confdefs.h. */
15161 $ac_includes_default
15162 long longval () { return (long) (sizeof (short)); }
15163 unsigned long ulongval () { return (long) (sizeof (short)); }
15165 #include <stdlib.h>
15170 FILE *f = fopen ("conftest.val", "w");
15173 if (((long) (sizeof (short))) < 0)
15175 long i = longval ();
15176 if (i != ((long) (sizeof (short))))
15178 fprintf (f, "%ld\n", i);
15182 unsigned long i = ulongval ();
15183 if (i != ((long) (sizeof (short))))
15185 fprintf (f, "%lu\n", i);
15187 exit (ferror (f) || fclose (f) != 0);
15193 rm -f conftest
$ac_exeext
15194 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15195 (eval $ac_link) 2>&5
15197 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15198 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
15199 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15200 (eval $ac_try) 2>&5
15202 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15203 (exit $ac_status); }; }; then
15204 ac_cv_sizeof_short
=`cat conftest.val`
15206 echo "$as_me: program exited with status $ac_status" >&5
15207 echo "$as_me: failed program was:" >&5
15208 sed 's/^/| /' conftest.
$ac_ext >&5
15210 ( exit $ac_status )
15211 { { echo "$as_me:$LINENO: error: cannot compute sizeof (short), 77
15212 See \`config.log' for more details." >&5
15213 echo "$as_me: error: cannot compute sizeof (short), 77
15214 See \`config.log' for more details." >&2;}
15215 { (exit 1); exit 1; }; }
15217 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
15222 ac_cv_sizeof_short
=0
15225 echo "$as_me:$LINENO: result: $ac_cv_sizeof_short" >&5
15226 echo "${ECHO_T}$ac_cv_sizeof_short" >&6
15227 cat >>confdefs.h
<<_ACEOF
15228 #define SIZEOF_SHORT $ac_cv_sizeof_short
15232 echo "$as_me:$LINENO: checking for void *" >&5
15233 echo $ECHO_N "checking for void *... $ECHO_C" >&6
15234 if test "${ac_cv_type_void_p+set}" = set; then
15235 echo $ECHO_N "(cached) $ECHO_C" >&6
15237 cat >conftest.
$ac_ext <<_ACEOF
15240 cat confdefs.h
>>conftest.
$ac_ext
15241 cat >>conftest.
$ac_ext <<_ACEOF
15242 /* end confdefs.h. */
15243 $ac_includes_default
15249 if (sizeof (void *))
15255 rm -f conftest.
$ac_objext
15256 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15257 (eval $ac_compile) 2>conftest.er1
15259 grep -v '^ *+' conftest.er1
>conftest.err
15261 cat conftest.err
>&5
15262 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15263 (exit $ac_status); } &&
15264 { ac_try
='test -z "$ac_c_werror_flag"
15265 || test ! -s conftest.err'
15266 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15267 (eval $ac_try) 2>&5
15269 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15270 (exit $ac_status); }; } &&
15271 { ac_try
='test -s conftest.$ac_objext'
15272 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15273 (eval $ac_try) 2>&5
15275 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15276 (exit $ac_status); }; }; then
15277 ac_cv_type_void_p
=yes
15279 echo "$as_me: failed program was:" >&5
15280 sed 's/^/| /' conftest.
$ac_ext >&5
15282 ac_cv_type_void_p
=no
15284 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15286 echo "$as_me:$LINENO: result: $ac_cv_type_void_p" >&5
15287 echo "${ECHO_T}$ac_cv_type_void_p" >&6
15289 echo "$as_me:$LINENO: checking size of void *" >&5
15290 echo $ECHO_N "checking size of void *... $ECHO_C" >&6
15291 if test "${ac_cv_sizeof_void_p+set}" = set; then
15292 echo $ECHO_N "(cached) $ECHO_C" >&6
15294 if test "$ac_cv_type_void_p" = yes; then
15295 # The cast to unsigned long works around a bug in the HP C Compiler
15296 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
15297 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
15298 # This bug is HP SR number 8606223364.
15299 if test "$cross_compiling" = yes; then
15300 # Depending upon the size, compute the lo and hi bounds.
15301 cat >conftest.
$ac_ext <<_ACEOF
15304 cat confdefs.h
>>conftest.
$ac_ext
15305 cat >>conftest.
$ac_ext <<_ACEOF
15306 /* end confdefs.h. */
15307 $ac_includes_default
15311 static int test_array [1 - 2 * !(((long) (sizeof (void *))) >= 0)];
15318 rm -f conftest.
$ac_objext
15319 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15320 (eval $ac_compile) 2>conftest.er1
15322 grep -v '^ *+' conftest.er1
>conftest.err
15324 cat conftest.err
>&5
15325 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15326 (exit $ac_status); } &&
15327 { ac_try
='test -z "$ac_c_werror_flag"
15328 || test ! -s conftest.err'
15329 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15330 (eval $ac_try) 2>&5
15332 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15333 (exit $ac_status); }; } &&
15334 { ac_try
='test -s conftest.$ac_objext'
15335 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15336 (eval $ac_try) 2>&5
15338 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15339 (exit $ac_status); }; }; then
15342 cat >conftest.
$ac_ext <<_ACEOF
15345 cat confdefs.h
>>conftest.
$ac_ext
15346 cat >>conftest.
$ac_ext <<_ACEOF
15347 /* end confdefs.h. */
15348 $ac_includes_default
15352 static int test_array [1 - 2 * !(((long) (sizeof (void *))) <= $ac_mid)];
15359 rm -f conftest.
$ac_objext
15360 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15361 (eval $ac_compile) 2>conftest.er1
15363 grep -v '^ *+' conftest.er1
>conftest.err
15365 cat conftest.err
>&5
15366 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15367 (exit $ac_status); } &&
15368 { ac_try
='test -z "$ac_c_werror_flag"
15369 || test ! -s conftest.err'
15370 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15371 (eval $ac_try) 2>&5
15373 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15374 (exit $ac_status); }; } &&
15375 { ac_try
='test -s conftest.$ac_objext'
15376 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15377 (eval $ac_try) 2>&5
15379 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15380 (exit $ac_status); }; }; then
15381 ac_hi
=$ac_mid; break
15383 echo "$as_me: failed program was:" >&5
15384 sed 's/^/| /' conftest.
$ac_ext >&5
15386 ac_lo
=`expr $ac_mid + 1`
15387 if test $ac_lo -le $ac_mid; then
15391 ac_mid
=`expr 2 '*' $ac_mid + 1`
15393 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15396 echo "$as_me: failed program was:" >&5
15397 sed 's/^/| /' conftest.
$ac_ext >&5
15399 cat >conftest.
$ac_ext <<_ACEOF
15402 cat confdefs.h
>>conftest.
$ac_ext
15403 cat >>conftest.
$ac_ext <<_ACEOF
15404 /* end confdefs.h. */
15405 $ac_includes_default
15409 static int test_array [1 - 2 * !(((long) (sizeof (void *))) < 0)];
15416 rm -f conftest.
$ac_objext
15417 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15418 (eval $ac_compile) 2>conftest.er1
15420 grep -v '^ *+' conftest.er1
>conftest.err
15422 cat conftest.err
>&5
15423 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15424 (exit $ac_status); } &&
15425 { ac_try
='test -z "$ac_c_werror_flag"
15426 || test ! -s conftest.err'
15427 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15428 (eval $ac_try) 2>&5
15430 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15431 (exit $ac_status); }; } &&
15432 { ac_try
='test -s conftest.$ac_objext'
15433 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15434 (eval $ac_try) 2>&5
15436 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15437 (exit $ac_status); }; }; then
15440 cat >conftest.
$ac_ext <<_ACEOF
15443 cat confdefs.h
>>conftest.
$ac_ext
15444 cat >>conftest.
$ac_ext <<_ACEOF
15445 /* end confdefs.h. */
15446 $ac_includes_default
15450 static int test_array [1 - 2 * !(((long) (sizeof (void *))) >= $ac_mid)];
15457 rm -f conftest.
$ac_objext
15458 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15459 (eval $ac_compile) 2>conftest.er1
15461 grep -v '^ *+' conftest.er1
>conftest.err
15463 cat conftest.err
>&5
15464 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15465 (exit $ac_status); } &&
15466 { ac_try
='test -z "$ac_c_werror_flag"
15467 || test ! -s conftest.err'
15468 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15469 (eval $ac_try) 2>&5
15471 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15472 (exit $ac_status); }; } &&
15473 { ac_try
='test -s conftest.$ac_objext'
15474 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15475 (eval $ac_try) 2>&5
15477 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15478 (exit $ac_status); }; }; then
15479 ac_lo
=$ac_mid; break
15481 echo "$as_me: failed program was:" >&5
15482 sed 's/^/| /' conftest.
$ac_ext >&5
15484 ac_hi
=`expr '(' $ac_mid ')' - 1`
15485 if test $ac_mid -le $ac_hi; then
15489 ac_mid
=`expr 2 '*' $ac_mid`
15491 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15494 echo "$as_me: failed program was:" >&5
15495 sed 's/^/| /' conftest.
$ac_ext >&5
15499 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15501 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15502 # Binary search between lo and hi bounds.
15503 while test "x$ac_lo" != "x$ac_hi"; do
15504 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
15505 cat >conftest.
$ac_ext <<_ACEOF
15508 cat confdefs.h
>>conftest.
$ac_ext
15509 cat >>conftest.
$ac_ext <<_ACEOF
15510 /* end confdefs.h. */
15511 $ac_includes_default
15515 static int test_array [1 - 2 * !(((long) (sizeof (void *))) <= $ac_mid)];
15522 rm -f conftest.
$ac_objext
15523 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15524 (eval $ac_compile) 2>conftest.er1
15526 grep -v '^ *+' conftest.er1
>conftest.err
15528 cat conftest.err
>&5
15529 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15530 (exit $ac_status); } &&
15531 { ac_try
='test -z "$ac_c_werror_flag"
15532 || test ! -s conftest.err'
15533 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15534 (eval $ac_try) 2>&5
15536 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15537 (exit $ac_status); }; } &&
15538 { ac_try
='test -s conftest.$ac_objext'
15539 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15540 (eval $ac_try) 2>&5
15542 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15543 (exit $ac_status); }; }; then
15546 echo "$as_me: failed program was:" >&5
15547 sed 's/^/| /' conftest.
$ac_ext >&5
15549 ac_lo
=`expr '(' $ac_mid ')' + 1`
15551 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15554 ?
*) ac_cv_sizeof_void_p
=$ac_lo;;
15555 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *), 77
15556 See \`config.log' for more details." >&5
15557 echo "$as_me: error: cannot compute sizeof (void *), 77
15558 See \`config.log' for more details." >&2;}
15559 { (exit 1); exit 1; }; } ;;
15562 if test "$cross_compiling" = yes; then
15563 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
15564 See \`config.log' for more details." >&5
15565 echo "$as_me: error: cannot run test program while cross compiling
15566 See \`config.log' for more details." >&2;}
15567 { (exit 1); exit 1; }; }
15569 cat >conftest.
$ac_ext <<_ACEOF
15572 cat confdefs.h
>>conftest.
$ac_ext
15573 cat >>conftest.
$ac_ext <<_ACEOF
15574 /* end confdefs.h. */
15575 $ac_includes_default
15576 long longval () { return (long) (sizeof (void *)); }
15577 unsigned long ulongval () { return (long) (sizeof (void *)); }
15579 #include <stdlib.h>
15584 FILE *f = fopen ("conftest.val", "w");
15587 if (((long) (sizeof (void *))) < 0)
15589 long i = longval ();
15590 if (i != ((long) (sizeof (void *))))
15592 fprintf (f, "%ld\n", i);
15596 unsigned long i = ulongval ();
15597 if (i != ((long) (sizeof (void *))))
15599 fprintf (f, "%lu\n", i);
15601 exit (ferror (f) || fclose (f) != 0);
15607 rm -f conftest
$ac_exeext
15608 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15609 (eval $ac_link) 2>&5
15611 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15612 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
15613 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15614 (eval $ac_try) 2>&5
15616 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15617 (exit $ac_status); }; }; then
15618 ac_cv_sizeof_void_p
=`cat conftest.val`
15620 echo "$as_me: program exited with status $ac_status" >&5
15621 echo "$as_me: failed program was:" >&5
15622 sed 's/^/| /' conftest.
$ac_ext >&5
15624 ( exit $ac_status )
15625 { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *), 77
15626 See \`config.log' for more details." >&5
15627 echo "$as_me: error: cannot compute sizeof (void *), 77
15628 See \`config.log' for more details." >&2;}
15629 { (exit 1); exit 1; }; }
15631 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
15636 ac_cv_sizeof_void_p
=0
15639 echo "$as_me:$LINENO: result: $ac_cv_sizeof_void_p" >&5
15640 echo "${ECHO_T}$ac_cv_sizeof_void_p" >&6
15641 cat >>confdefs.h
<<_ACEOF
15642 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
15646 echo "$as_me:$LINENO: checking for int" >&5
15647 echo $ECHO_N "checking for int... $ECHO_C" >&6
15648 if test "${ac_cv_type_int+set}" = set; then
15649 echo $ECHO_N "(cached) $ECHO_C" >&6
15651 cat >conftest.
$ac_ext <<_ACEOF
15654 cat confdefs.h
>>conftest.
$ac_ext
15655 cat >>conftest.
$ac_ext <<_ACEOF
15656 /* end confdefs.h. */
15657 $ac_includes_default
15669 rm -f conftest.
$ac_objext
15670 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15671 (eval $ac_compile) 2>conftest.er1
15673 grep -v '^ *+' conftest.er1
>conftest.err
15675 cat conftest.err
>&5
15676 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15677 (exit $ac_status); } &&
15678 { ac_try
='test -z "$ac_c_werror_flag"
15679 || test ! -s conftest.err'
15680 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15681 (eval $ac_try) 2>&5
15683 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15684 (exit $ac_status); }; } &&
15685 { ac_try
='test -s conftest.$ac_objext'
15686 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15687 (eval $ac_try) 2>&5
15689 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15690 (exit $ac_status); }; }; then
15693 echo "$as_me: failed program was:" >&5
15694 sed 's/^/| /' conftest.
$ac_ext >&5
15698 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15700 echo "$as_me:$LINENO: result: $ac_cv_type_int" >&5
15701 echo "${ECHO_T}$ac_cv_type_int" >&6
15703 echo "$as_me:$LINENO: checking size of int" >&5
15704 echo $ECHO_N "checking size of int... $ECHO_C" >&6
15705 if test "${ac_cv_sizeof_int+set}" = set; then
15706 echo $ECHO_N "(cached) $ECHO_C" >&6
15708 if test "$ac_cv_type_int" = yes; then
15709 # The cast to unsigned long works around a bug in the HP C Compiler
15710 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
15711 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
15712 # This bug is HP SR number 8606223364.
15713 if test "$cross_compiling" = yes; then
15714 # Depending upon the size, compute the lo and hi bounds.
15715 cat >conftest.
$ac_ext <<_ACEOF
15718 cat confdefs.h
>>conftest.
$ac_ext
15719 cat >>conftest.
$ac_ext <<_ACEOF
15720 /* end confdefs.h. */
15721 $ac_includes_default
15725 static int test_array [1 - 2 * !(((long) (sizeof (int))) >= 0)];
15732 rm -f conftest.
$ac_objext
15733 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15734 (eval $ac_compile) 2>conftest.er1
15736 grep -v '^ *+' conftest.er1
>conftest.err
15738 cat conftest.err
>&5
15739 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15740 (exit $ac_status); } &&
15741 { ac_try
='test -z "$ac_c_werror_flag"
15742 || test ! -s conftest.err'
15743 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15744 (eval $ac_try) 2>&5
15746 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15747 (exit $ac_status); }; } &&
15748 { ac_try
='test -s conftest.$ac_objext'
15749 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15750 (eval $ac_try) 2>&5
15752 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15753 (exit $ac_status); }; }; then
15756 cat >conftest.
$ac_ext <<_ACEOF
15759 cat confdefs.h
>>conftest.
$ac_ext
15760 cat >>conftest.
$ac_ext <<_ACEOF
15761 /* end confdefs.h. */
15762 $ac_includes_default
15766 static int test_array [1 - 2 * !(((long) (sizeof (int))) <= $ac_mid)];
15773 rm -f conftest.
$ac_objext
15774 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15775 (eval $ac_compile) 2>conftest.er1
15777 grep -v '^ *+' conftest.er1
>conftest.err
15779 cat conftest.err
>&5
15780 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15781 (exit $ac_status); } &&
15782 { ac_try
='test -z "$ac_c_werror_flag"
15783 || test ! -s conftest.err'
15784 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15785 (eval $ac_try) 2>&5
15787 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15788 (exit $ac_status); }; } &&
15789 { ac_try
='test -s conftest.$ac_objext'
15790 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15791 (eval $ac_try) 2>&5
15793 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15794 (exit $ac_status); }; }; then
15795 ac_hi
=$ac_mid; break
15797 echo "$as_me: failed program was:" >&5
15798 sed 's/^/| /' conftest.
$ac_ext >&5
15800 ac_lo
=`expr $ac_mid + 1`
15801 if test $ac_lo -le $ac_mid; then
15805 ac_mid
=`expr 2 '*' $ac_mid + 1`
15807 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15810 echo "$as_me: failed program was:" >&5
15811 sed 's/^/| /' conftest.
$ac_ext >&5
15813 cat >conftest.
$ac_ext <<_ACEOF
15816 cat confdefs.h
>>conftest.
$ac_ext
15817 cat >>conftest.
$ac_ext <<_ACEOF
15818 /* end confdefs.h. */
15819 $ac_includes_default
15823 static int test_array [1 - 2 * !(((long) (sizeof (int))) < 0)];
15830 rm -f conftest.
$ac_objext
15831 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15832 (eval $ac_compile) 2>conftest.er1
15834 grep -v '^ *+' conftest.er1
>conftest.err
15836 cat conftest.err
>&5
15837 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15838 (exit $ac_status); } &&
15839 { ac_try
='test -z "$ac_c_werror_flag"
15840 || test ! -s conftest.err'
15841 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15842 (eval $ac_try) 2>&5
15844 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15845 (exit $ac_status); }; } &&
15846 { ac_try
='test -s conftest.$ac_objext'
15847 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15848 (eval $ac_try) 2>&5
15850 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15851 (exit $ac_status); }; }; then
15854 cat >conftest.
$ac_ext <<_ACEOF
15857 cat confdefs.h
>>conftest.
$ac_ext
15858 cat >>conftest.
$ac_ext <<_ACEOF
15859 /* end confdefs.h. */
15860 $ac_includes_default
15864 static int test_array [1 - 2 * !(((long) (sizeof (int))) >= $ac_mid)];
15871 rm -f conftest.
$ac_objext
15872 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15873 (eval $ac_compile) 2>conftest.er1
15875 grep -v '^ *+' conftest.er1
>conftest.err
15877 cat conftest.err
>&5
15878 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15879 (exit $ac_status); } &&
15880 { ac_try
='test -z "$ac_c_werror_flag"
15881 || test ! -s conftest.err'
15882 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15883 (eval $ac_try) 2>&5
15885 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15886 (exit $ac_status); }; } &&
15887 { ac_try
='test -s conftest.$ac_objext'
15888 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15889 (eval $ac_try) 2>&5
15891 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15892 (exit $ac_status); }; }; then
15893 ac_lo
=$ac_mid; break
15895 echo "$as_me: failed program was:" >&5
15896 sed 's/^/| /' conftest.
$ac_ext >&5
15898 ac_hi
=`expr '(' $ac_mid ')' - 1`
15899 if test $ac_mid -le $ac_hi; then
15903 ac_mid
=`expr 2 '*' $ac_mid`
15905 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15908 echo "$as_me: failed program was:" >&5
15909 sed 's/^/| /' conftest.
$ac_ext >&5
15913 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15915 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15916 # Binary search between lo and hi bounds.
15917 while test "x$ac_lo" != "x$ac_hi"; do
15918 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
15919 cat >conftest.
$ac_ext <<_ACEOF
15922 cat confdefs.h
>>conftest.
$ac_ext
15923 cat >>conftest.
$ac_ext <<_ACEOF
15924 /* end confdefs.h. */
15925 $ac_includes_default
15929 static int test_array [1 - 2 * !(((long) (sizeof (int))) <= $ac_mid)];
15936 rm -f conftest.
$ac_objext
15937 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15938 (eval $ac_compile) 2>conftest.er1
15940 grep -v '^ *+' conftest.er1
>conftest.err
15942 cat conftest.err
>&5
15943 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15944 (exit $ac_status); } &&
15945 { ac_try
='test -z "$ac_c_werror_flag"
15946 || test ! -s conftest.err'
15947 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15948 (eval $ac_try) 2>&5
15950 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15951 (exit $ac_status); }; } &&
15952 { ac_try
='test -s conftest.$ac_objext'
15953 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15954 (eval $ac_try) 2>&5
15956 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15957 (exit $ac_status); }; }; then
15960 echo "$as_me: failed program was:" >&5
15961 sed 's/^/| /' conftest.
$ac_ext >&5
15963 ac_lo
=`expr '(' $ac_mid ')' + 1`
15965 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15968 ?
*) ac_cv_sizeof_int
=$ac_lo;;
15969 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (int), 77
15970 See \`config.log' for more details." >&5
15971 echo "$as_me: error: cannot compute sizeof (int), 77
15972 See \`config.log' for more details." >&2;}
15973 { (exit 1); exit 1; }; } ;;
15976 if test "$cross_compiling" = yes; then
15977 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
15978 See \`config.log' for more details." >&5
15979 echo "$as_me: error: cannot run test program while cross compiling
15980 See \`config.log' for more details." >&2;}
15981 { (exit 1); exit 1; }; }
15983 cat >conftest.
$ac_ext <<_ACEOF
15986 cat confdefs.h
>>conftest.
$ac_ext
15987 cat >>conftest.
$ac_ext <<_ACEOF
15988 /* end confdefs.h. */
15989 $ac_includes_default
15990 long longval () { return (long) (sizeof (int)); }
15991 unsigned long ulongval () { return (long) (sizeof (int)); }
15993 #include <stdlib.h>
15998 FILE *f = fopen ("conftest.val", "w");
16001 if (((long) (sizeof (int))) < 0)
16003 long i = longval ();
16004 if (i != ((long) (sizeof (int))))
16006 fprintf (f, "%ld\n", i);
16010 unsigned long i = ulongval ();
16011 if (i != ((long) (sizeof (int))))
16013 fprintf (f, "%lu\n", i);
16015 exit (ferror (f) || fclose (f) != 0);
16021 rm -f conftest
$ac_exeext
16022 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16023 (eval $ac_link) 2>&5
16025 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16026 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
16027 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16028 (eval $ac_try) 2>&5
16030 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16031 (exit $ac_status); }; }; then
16032 ac_cv_sizeof_int
=`cat conftest.val`
16034 echo "$as_me: program exited with status $ac_status" >&5
16035 echo "$as_me: failed program was:" >&5
16036 sed 's/^/| /' conftest.
$ac_ext >&5
16038 ( exit $ac_status )
16039 { { echo "$as_me:$LINENO: error: cannot compute sizeof (int), 77
16040 See \`config.log' for more details." >&5
16041 echo "$as_me: error: cannot compute sizeof (int), 77
16042 See \`config.log' for more details." >&2;}
16043 { (exit 1); exit 1; }; }
16045 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
16053 echo "$as_me:$LINENO: result: $ac_cv_sizeof_int" >&5
16054 echo "${ECHO_T}$ac_cv_sizeof_int" >&6
16055 cat >>confdefs.h
<<_ACEOF
16056 #define SIZEOF_INT $ac_cv_sizeof_int
16060 echo "$as_me:$LINENO: checking for long" >&5
16061 echo $ECHO_N "checking for long... $ECHO_C" >&6
16062 if test "${ac_cv_type_long+set}" = set; then
16063 echo $ECHO_N "(cached) $ECHO_C" >&6
16065 cat >conftest.
$ac_ext <<_ACEOF
16068 cat confdefs.h
>>conftest.
$ac_ext
16069 cat >>conftest.
$ac_ext <<_ACEOF
16070 /* end confdefs.h. */
16071 $ac_includes_default
16083 rm -f conftest.
$ac_objext
16084 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16085 (eval $ac_compile) 2>conftest.er1
16087 grep -v '^ *+' conftest.er1
>conftest.err
16089 cat conftest.err
>&5
16090 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16091 (exit $ac_status); } &&
16092 { ac_try
='test -z "$ac_c_werror_flag"
16093 || test ! -s conftest.err'
16094 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16095 (eval $ac_try) 2>&5
16097 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16098 (exit $ac_status); }; } &&
16099 { ac_try
='test -s conftest.$ac_objext'
16100 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16101 (eval $ac_try) 2>&5
16103 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16104 (exit $ac_status); }; }; then
16105 ac_cv_type_long
=yes
16107 echo "$as_me: failed program was:" >&5
16108 sed 's/^/| /' conftest.
$ac_ext >&5
16112 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16114 echo "$as_me:$LINENO: result: $ac_cv_type_long" >&5
16115 echo "${ECHO_T}$ac_cv_type_long" >&6
16117 echo "$as_me:$LINENO: checking size of long" >&5
16118 echo $ECHO_N "checking size of long... $ECHO_C" >&6
16119 if test "${ac_cv_sizeof_long+set}" = set; then
16120 echo $ECHO_N "(cached) $ECHO_C" >&6
16122 if test "$ac_cv_type_long" = yes; then
16123 # The cast to unsigned long works around a bug in the HP C Compiler
16124 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
16125 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
16126 # This bug is HP SR number 8606223364.
16127 if test "$cross_compiling" = yes; then
16128 # Depending upon the size, compute the lo and hi bounds.
16129 cat >conftest.
$ac_ext <<_ACEOF
16132 cat confdefs.h
>>conftest.
$ac_ext
16133 cat >>conftest.
$ac_ext <<_ACEOF
16134 /* end confdefs.h. */
16135 $ac_includes_default
16139 static int test_array [1 - 2 * !(((long) (sizeof (long))) >= 0)];
16146 rm -f conftest.
$ac_objext
16147 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16148 (eval $ac_compile) 2>conftest.er1
16150 grep -v '^ *+' conftest.er1
>conftest.err
16152 cat conftest.err
>&5
16153 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16154 (exit $ac_status); } &&
16155 { ac_try
='test -z "$ac_c_werror_flag"
16156 || test ! -s conftest.err'
16157 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16158 (eval $ac_try) 2>&5
16160 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16161 (exit $ac_status); }; } &&
16162 { ac_try
='test -s conftest.$ac_objext'
16163 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16164 (eval $ac_try) 2>&5
16166 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16167 (exit $ac_status); }; }; then
16170 cat >conftest.
$ac_ext <<_ACEOF
16173 cat confdefs.h
>>conftest.
$ac_ext
16174 cat >>conftest.
$ac_ext <<_ACEOF
16175 /* end confdefs.h. */
16176 $ac_includes_default
16180 static int test_array [1 - 2 * !(((long) (sizeof (long))) <= $ac_mid)];
16187 rm -f conftest.
$ac_objext
16188 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16189 (eval $ac_compile) 2>conftest.er1
16191 grep -v '^ *+' conftest.er1
>conftest.err
16193 cat conftest.err
>&5
16194 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16195 (exit $ac_status); } &&
16196 { ac_try
='test -z "$ac_c_werror_flag"
16197 || test ! -s conftest.err'
16198 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16199 (eval $ac_try) 2>&5
16201 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16202 (exit $ac_status); }; } &&
16203 { ac_try
='test -s conftest.$ac_objext'
16204 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16205 (eval $ac_try) 2>&5
16207 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16208 (exit $ac_status); }; }; then
16209 ac_hi
=$ac_mid; break
16211 echo "$as_me: failed program was:" >&5
16212 sed 's/^/| /' conftest.
$ac_ext >&5
16214 ac_lo
=`expr $ac_mid + 1`
16215 if test $ac_lo -le $ac_mid; then
16219 ac_mid
=`expr 2 '*' $ac_mid + 1`
16221 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16224 echo "$as_me: failed program was:" >&5
16225 sed 's/^/| /' conftest.
$ac_ext >&5
16227 cat >conftest.
$ac_ext <<_ACEOF
16230 cat confdefs.h
>>conftest.
$ac_ext
16231 cat >>conftest.
$ac_ext <<_ACEOF
16232 /* end confdefs.h. */
16233 $ac_includes_default
16237 static int test_array [1 - 2 * !(((long) (sizeof (long))) < 0)];
16244 rm -f conftest.
$ac_objext
16245 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16246 (eval $ac_compile) 2>conftest.er1
16248 grep -v '^ *+' conftest.er1
>conftest.err
16250 cat conftest.err
>&5
16251 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16252 (exit $ac_status); } &&
16253 { ac_try
='test -z "$ac_c_werror_flag"
16254 || test ! -s conftest.err'
16255 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16256 (eval $ac_try) 2>&5
16258 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16259 (exit $ac_status); }; } &&
16260 { ac_try
='test -s conftest.$ac_objext'
16261 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16262 (eval $ac_try) 2>&5
16264 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16265 (exit $ac_status); }; }; then
16268 cat >conftest.
$ac_ext <<_ACEOF
16271 cat confdefs.h
>>conftest.
$ac_ext
16272 cat >>conftest.
$ac_ext <<_ACEOF
16273 /* end confdefs.h. */
16274 $ac_includes_default
16278 static int test_array [1 - 2 * !(((long) (sizeof (long))) >= $ac_mid)];
16285 rm -f conftest.
$ac_objext
16286 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16287 (eval $ac_compile) 2>conftest.er1
16289 grep -v '^ *+' conftest.er1
>conftest.err
16291 cat conftest.err
>&5
16292 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16293 (exit $ac_status); } &&
16294 { ac_try
='test -z "$ac_c_werror_flag"
16295 || test ! -s conftest.err'
16296 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16297 (eval $ac_try) 2>&5
16299 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16300 (exit $ac_status); }; } &&
16301 { ac_try
='test -s conftest.$ac_objext'
16302 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16303 (eval $ac_try) 2>&5
16305 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16306 (exit $ac_status); }; }; then
16307 ac_lo
=$ac_mid; break
16309 echo "$as_me: failed program was:" >&5
16310 sed 's/^/| /' conftest.
$ac_ext >&5
16312 ac_hi
=`expr '(' $ac_mid ')' - 1`
16313 if test $ac_mid -le $ac_hi; then
16317 ac_mid
=`expr 2 '*' $ac_mid`
16319 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16322 echo "$as_me: failed program was:" >&5
16323 sed 's/^/| /' conftest.
$ac_ext >&5
16327 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16329 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16330 # Binary search between lo and hi bounds.
16331 while test "x$ac_lo" != "x$ac_hi"; do
16332 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
16333 cat >conftest.
$ac_ext <<_ACEOF
16336 cat confdefs.h
>>conftest.
$ac_ext
16337 cat >>conftest.
$ac_ext <<_ACEOF
16338 /* end confdefs.h. */
16339 $ac_includes_default
16343 static int test_array [1 - 2 * !(((long) (sizeof (long))) <= $ac_mid)];
16350 rm -f conftest.
$ac_objext
16351 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16352 (eval $ac_compile) 2>conftest.er1
16354 grep -v '^ *+' conftest.er1
>conftest.err
16356 cat conftest.err
>&5
16357 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16358 (exit $ac_status); } &&
16359 { ac_try
='test -z "$ac_c_werror_flag"
16360 || test ! -s conftest.err'
16361 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16362 (eval $ac_try) 2>&5
16364 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16365 (exit $ac_status); }; } &&
16366 { ac_try
='test -s conftest.$ac_objext'
16367 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16368 (eval $ac_try) 2>&5
16370 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16371 (exit $ac_status); }; }; then
16374 echo "$as_me: failed program was:" >&5
16375 sed 's/^/| /' conftest.
$ac_ext >&5
16377 ac_lo
=`expr '(' $ac_mid ')' + 1`
16379 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16382 ?
*) ac_cv_sizeof_long
=$ac_lo;;
16383 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long), 77
16384 See \`config.log' for more details." >&5
16385 echo "$as_me: error: cannot compute sizeof (long), 77
16386 See \`config.log' for more details." >&2;}
16387 { (exit 1); exit 1; }; } ;;
16390 if test "$cross_compiling" = yes; then
16391 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
16392 See \`config.log' for more details." >&5
16393 echo "$as_me: error: cannot run test program while cross compiling
16394 See \`config.log' for more details." >&2;}
16395 { (exit 1); exit 1; }; }
16397 cat >conftest.
$ac_ext <<_ACEOF
16400 cat confdefs.h
>>conftest.
$ac_ext
16401 cat >>conftest.
$ac_ext <<_ACEOF
16402 /* end confdefs.h. */
16403 $ac_includes_default
16404 long longval () { return (long) (sizeof (long)); }
16405 unsigned long ulongval () { return (long) (sizeof (long)); }
16407 #include <stdlib.h>
16412 FILE *f = fopen ("conftest.val", "w");
16415 if (((long) (sizeof (long))) < 0)
16417 long i = longval ();
16418 if (i != ((long) (sizeof (long))))
16420 fprintf (f, "%ld\n", i);
16424 unsigned long i = ulongval ();
16425 if (i != ((long) (sizeof (long))))
16427 fprintf (f, "%lu\n", i);
16429 exit (ferror (f) || fclose (f) != 0);
16435 rm -f conftest
$ac_exeext
16436 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16437 (eval $ac_link) 2>&5
16439 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16440 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
16441 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16442 (eval $ac_try) 2>&5
16444 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16445 (exit $ac_status); }; }; then
16446 ac_cv_sizeof_long
=`cat conftest.val`
16448 echo "$as_me: program exited with status $ac_status" >&5
16449 echo "$as_me: failed program was:" >&5
16450 sed 's/^/| /' conftest.
$ac_ext >&5
16452 ( exit $ac_status )
16453 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long), 77
16454 See \`config.log' for more details." >&5
16455 echo "$as_me: error: cannot compute sizeof (long), 77
16456 See \`config.log' for more details." >&2;}
16457 { (exit 1); exit 1; }; }
16459 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
16464 ac_cv_sizeof_long
=0
16467 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long" >&5
16468 echo "${ECHO_T}$ac_cv_sizeof_long" >&6
16469 cat >>confdefs.h
<<_ACEOF
16470 #define SIZEOF_LONG $ac_cv_sizeof_long
16474 echo "$as_me:$LINENO: checking for size_t" >&5
16475 echo $ECHO_N "checking for size_t... $ECHO_C" >&6
16476 if test "${ac_cv_type_size_t+set}" = set; then
16477 echo $ECHO_N "(cached) $ECHO_C" >&6
16479 cat >conftest.
$ac_ext <<_ACEOF
16482 cat confdefs.h
>>conftest.
$ac_ext
16483 cat >>conftest.
$ac_ext <<_ACEOF
16484 /* end confdefs.h. */
16485 $ac_includes_default
16491 if (sizeof (size_t))
16497 rm -f conftest.
$ac_objext
16498 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16499 (eval $ac_compile) 2>conftest.er1
16501 grep -v '^ *+' conftest.er1
>conftest.err
16503 cat conftest.err
>&5
16504 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16505 (exit $ac_status); } &&
16506 { ac_try
='test -z "$ac_c_werror_flag"
16507 || test ! -s conftest.err'
16508 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16509 (eval $ac_try) 2>&5
16511 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16512 (exit $ac_status); }; } &&
16513 { ac_try
='test -s conftest.$ac_objext'
16514 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16515 (eval $ac_try) 2>&5
16517 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16518 (exit $ac_status); }; }; then
16519 ac_cv_type_size_t
=yes
16521 echo "$as_me: failed program was:" >&5
16522 sed 's/^/| /' conftest.
$ac_ext >&5
16524 ac_cv_type_size_t
=no
16526 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16528 echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
16529 echo "${ECHO_T}$ac_cv_type_size_t" >&6
16531 echo "$as_me:$LINENO: checking size of size_t" >&5
16532 echo $ECHO_N "checking size of size_t... $ECHO_C" >&6
16533 if test "${ac_cv_sizeof_size_t+set}" = set; then
16534 echo $ECHO_N "(cached) $ECHO_C" >&6
16536 if test "$ac_cv_type_size_t" = yes; then
16537 # The cast to unsigned long works around a bug in the HP C Compiler
16538 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
16539 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
16540 # This bug is HP SR number 8606223364.
16541 if test "$cross_compiling" = yes; then
16542 # Depending upon the size, compute the lo and hi bounds.
16543 cat >conftest.
$ac_ext <<_ACEOF
16546 cat confdefs.h
>>conftest.
$ac_ext
16547 cat >>conftest.
$ac_ext <<_ACEOF
16548 /* end confdefs.h. */
16549 $ac_includes_default
16553 static int test_array [1 - 2 * !(((long) (sizeof (size_t))) >= 0)];
16560 rm -f conftest.
$ac_objext
16561 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16562 (eval $ac_compile) 2>conftest.er1
16564 grep -v '^ *+' conftest.er1
>conftest.err
16566 cat conftest.err
>&5
16567 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16568 (exit $ac_status); } &&
16569 { ac_try
='test -z "$ac_c_werror_flag"
16570 || test ! -s conftest.err'
16571 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16572 (eval $ac_try) 2>&5
16574 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16575 (exit $ac_status); }; } &&
16576 { ac_try
='test -s conftest.$ac_objext'
16577 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16578 (eval $ac_try) 2>&5
16580 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16581 (exit $ac_status); }; }; then
16584 cat >conftest.
$ac_ext <<_ACEOF
16587 cat confdefs.h
>>conftest.
$ac_ext
16588 cat >>conftest.
$ac_ext <<_ACEOF
16589 /* end confdefs.h. */
16590 $ac_includes_default
16594 static int test_array [1 - 2 * !(((long) (sizeof (size_t))) <= $ac_mid)];
16601 rm -f conftest.
$ac_objext
16602 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16603 (eval $ac_compile) 2>conftest.er1
16605 grep -v '^ *+' conftest.er1
>conftest.err
16607 cat conftest.err
>&5
16608 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16609 (exit $ac_status); } &&
16610 { ac_try
='test -z "$ac_c_werror_flag"
16611 || test ! -s conftest.err'
16612 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16613 (eval $ac_try) 2>&5
16615 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16616 (exit $ac_status); }; } &&
16617 { ac_try
='test -s conftest.$ac_objext'
16618 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16619 (eval $ac_try) 2>&5
16621 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16622 (exit $ac_status); }; }; then
16623 ac_hi
=$ac_mid; break
16625 echo "$as_me: failed program was:" >&5
16626 sed 's/^/| /' conftest.
$ac_ext >&5
16628 ac_lo
=`expr $ac_mid + 1`
16629 if test $ac_lo -le $ac_mid; then
16633 ac_mid
=`expr 2 '*' $ac_mid + 1`
16635 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16638 echo "$as_me: failed program was:" >&5
16639 sed 's/^/| /' conftest.
$ac_ext >&5
16641 cat >conftest.
$ac_ext <<_ACEOF
16644 cat confdefs.h
>>conftest.
$ac_ext
16645 cat >>conftest.
$ac_ext <<_ACEOF
16646 /* end confdefs.h. */
16647 $ac_includes_default
16651 static int test_array [1 - 2 * !(((long) (sizeof (size_t))) < 0)];
16658 rm -f conftest.
$ac_objext
16659 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16660 (eval $ac_compile) 2>conftest.er1
16662 grep -v '^ *+' conftest.er1
>conftest.err
16664 cat conftest.err
>&5
16665 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16666 (exit $ac_status); } &&
16667 { ac_try
='test -z "$ac_c_werror_flag"
16668 || test ! -s conftest.err'
16669 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16670 (eval $ac_try) 2>&5
16672 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16673 (exit $ac_status); }; } &&
16674 { ac_try
='test -s conftest.$ac_objext'
16675 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16676 (eval $ac_try) 2>&5
16678 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16679 (exit $ac_status); }; }; then
16682 cat >conftest.
$ac_ext <<_ACEOF
16685 cat confdefs.h
>>conftest.
$ac_ext
16686 cat >>conftest.
$ac_ext <<_ACEOF
16687 /* end confdefs.h. */
16688 $ac_includes_default
16692 static int test_array [1 - 2 * !(((long) (sizeof (size_t))) >= $ac_mid)];
16699 rm -f conftest.
$ac_objext
16700 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16701 (eval $ac_compile) 2>conftest.er1
16703 grep -v '^ *+' conftest.er1
>conftest.err
16705 cat conftest.err
>&5
16706 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16707 (exit $ac_status); } &&
16708 { ac_try
='test -z "$ac_c_werror_flag"
16709 || test ! -s conftest.err'
16710 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16711 (eval $ac_try) 2>&5
16713 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16714 (exit $ac_status); }; } &&
16715 { ac_try
='test -s conftest.$ac_objext'
16716 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16717 (eval $ac_try) 2>&5
16719 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16720 (exit $ac_status); }; }; then
16721 ac_lo
=$ac_mid; break
16723 echo "$as_me: failed program was:" >&5
16724 sed 's/^/| /' conftest.
$ac_ext >&5
16726 ac_hi
=`expr '(' $ac_mid ')' - 1`
16727 if test $ac_mid -le $ac_hi; then
16731 ac_mid
=`expr 2 '*' $ac_mid`
16733 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16736 echo "$as_me: failed program was:" >&5
16737 sed 's/^/| /' conftest.
$ac_ext >&5
16741 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16743 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16744 # Binary search between lo and hi bounds.
16745 while test "x$ac_lo" != "x$ac_hi"; do
16746 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
16747 cat >conftest.
$ac_ext <<_ACEOF
16750 cat confdefs.h
>>conftest.
$ac_ext
16751 cat >>conftest.
$ac_ext <<_ACEOF
16752 /* end confdefs.h. */
16753 $ac_includes_default
16757 static int test_array [1 - 2 * !(((long) (sizeof (size_t))) <= $ac_mid)];
16764 rm -f conftest.
$ac_objext
16765 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16766 (eval $ac_compile) 2>conftest.er1
16768 grep -v '^ *+' conftest.er1
>conftest.err
16770 cat conftest.err
>&5
16771 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16772 (exit $ac_status); } &&
16773 { ac_try
='test -z "$ac_c_werror_flag"
16774 || test ! -s conftest.err'
16775 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16776 (eval $ac_try) 2>&5
16778 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16779 (exit $ac_status); }; } &&
16780 { ac_try
='test -s conftest.$ac_objext'
16781 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16782 (eval $ac_try) 2>&5
16784 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16785 (exit $ac_status); }; }; then
16788 echo "$as_me: failed program was:" >&5
16789 sed 's/^/| /' conftest.
$ac_ext >&5
16791 ac_lo
=`expr '(' $ac_mid ')' + 1`
16793 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16796 ?
*) ac_cv_sizeof_size_t
=$ac_lo;;
16797 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (size_t), 77
16798 See \`config.log' for more details." >&5
16799 echo "$as_me: error: cannot compute sizeof (size_t), 77
16800 See \`config.log' for more details." >&2;}
16801 { (exit 1); exit 1; }; } ;;
16804 if test "$cross_compiling" = yes; then
16805 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
16806 See \`config.log' for more details." >&5
16807 echo "$as_me: error: cannot run test program while cross compiling
16808 See \`config.log' for more details." >&2;}
16809 { (exit 1); exit 1; }; }
16811 cat >conftest.
$ac_ext <<_ACEOF
16814 cat confdefs.h
>>conftest.
$ac_ext
16815 cat >>conftest.
$ac_ext <<_ACEOF
16816 /* end confdefs.h. */
16817 $ac_includes_default
16818 long longval () { return (long) (sizeof (size_t)); }
16819 unsigned long ulongval () { return (long) (sizeof (size_t)); }
16821 #include <stdlib.h>
16826 FILE *f = fopen ("conftest.val", "w");
16829 if (((long) (sizeof (size_t))) < 0)
16831 long i = longval ();
16832 if (i != ((long) (sizeof (size_t))))
16834 fprintf (f, "%ld\n", i);
16838 unsigned long i = ulongval ();
16839 if (i != ((long) (sizeof (size_t))))
16841 fprintf (f, "%lu\n", i);
16843 exit (ferror (f) || fclose (f) != 0);
16849 rm -f conftest
$ac_exeext
16850 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16851 (eval $ac_link) 2>&5
16853 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16854 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
16855 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16856 (eval $ac_try) 2>&5
16858 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16859 (exit $ac_status); }; }; then
16860 ac_cv_sizeof_size_t
=`cat conftest.val`
16862 echo "$as_me: program exited with status $ac_status" >&5
16863 echo "$as_me: failed program was:" >&5
16864 sed 's/^/| /' conftest.
$ac_ext >&5
16866 ( exit $ac_status )
16867 { { echo "$as_me:$LINENO: error: cannot compute sizeof (size_t), 77
16868 See \`config.log' for more details." >&5
16869 echo "$as_me: error: cannot compute sizeof (size_t), 77
16870 See \`config.log' for more details." >&2;}
16871 { (exit 1); exit 1; }; }
16873 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
16878 ac_cv_sizeof_size_t
=0
16881 echo "$as_me:$LINENO: result: $ac_cv_sizeof_size_t" >&5
16882 echo "${ECHO_T}$ac_cv_sizeof_size_t" >&6
16883 cat >>confdefs.h
<<_ACEOF
16884 #define SIZEOF_SIZE_T $ac_cv_sizeof_size_t
16891 echo "$as_me:$LINENO: checking for long long" >&5
16892 echo $ECHO_N "checking for long long... $ECHO_C" >&6
16893 if test "${ac_cv_type_long_long+set}" = set; then
16894 echo $ECHO_N "(cached) $ECHO_C" >&6
16896 cat >conftest.
$ac_ext <<_ACEOF
16899 cat confdefs.h
>>conftest.
$ac_ext
16900 cat >>conftest.
$ac_ext <<_ACEOF
16901 /* end confdefs.h. */
16902 $ac_includes_default
16906 if ((long long *) 0)
16908 if (sizeof (long long))
16914 rm -f conftest.
$ac_objext
16915 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16916 (eval $ac_compile) 2>conftest.er1
16918 grep -v '^ *+' conftest.er1
>conftest.err
16920 cat conftest.err
>&5
16921 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16922 (exit $ac_status); } &&
16923 { ac_try
='test -z "$ac_c_werror_flag"
16924 || test ! -s conftest.err'
16925 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16926 (eval $ac_try) 2>&5
16928 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16929 (exit $ac_status); }; } &&
16930 { ac_try
='test -s conftest.$ac_objext'
16931 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16932 (eval $ac_try) 2>&5
16934 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16935 (exit $ac_status); }; }; then
16936 ac_cv_type_long_long
=yes
16938 echo "$as_me: failed program was:" >&5
16939 sed 's/^/| /' conftest.
$ac_ext >&5
16941 ac_cv_type_long_long
=no
16943 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16945 echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
16946 echo "${ECHO_T}$ac_cv_type_long_long" >&6
16948 echo "$as_me:$LINENO: checking size of long long" >&5
16949 echo $ECHO_N "checking size of long long... $ECHO_C" >&6
16950 if test "${ac_cv_sizeof_long_long+set}" = set; then
16951 echo $ECHO_N "(cached) $ECHO_C" >&6
16953 if test "$ac_cv_type_long_long" = yes; then
16954 # The cast to unsigned long works around a bug in the HP C Compiler
16955 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
16956 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
16957 # This bug is HP SR number 8606223364.
16958 if test "$cross_compiling" = yes; then
16959 # Depending upon the size, compute the lo and hi bounds.
16960 cat >conftest.
$ac_ext <<_ACEOF
16963 cat confdefs.h
>>conftest.
$ac_ext
16964 cat >>conftest.
$ac_ext <<_ACEOF
16965 /* end confdefs.h. */
16966 $ac_includes_default
16970 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= 0)];
16977 rm -f conftest.
$ac_objext
16978 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16979 (eval $ac_compile) 2>conftest.er1
16981 grep -v '^ *+' conftest.er1
>conftest.err
16983 cat conftest.err
>&5
16984 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16985 (exit $ac_status); } &&
16986 { ac_try
='test -z "$ac_c_werror_flag"
16987 || test ! -s conftest.err'
16988 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16989 (eval $ac_try) 2>&5
16991 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16992 (exit $ac_status); }; } &&
16993 { ac_try
='test -s conftest.$ac_objext'
16994 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16995 (eval $ac_try) 2>&5
16997 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16998 (exit $ac_status); }; }; then
17001 cat >conftest.
$ac_ext <<_ACEOF
17004 cat confdefs.h
>>conftest.
$ac_ext
17005 cat >>conftest.
$ac_ext <<_ACEOF
17006 /* end confdefs.h. */
17007 $ac_includes_default
17011 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
17018 rm -f conftest.
$ac_objext
17019 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17020 (eval $ac_compile) 2>conftest.er1
17022 grep -v '^ *+' conftest.er1
>conftest.err
17024 cat conftest.err
>&5
17025 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17026 (exit $ac_status); } &&
17027 { ac_try
='test -z "$ac_c_werror_flag"
17028 || test ! -s conftest.err'
17029 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17030 (eval $ac_try) 2>&5
17032 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17033 (exit $ac_status); }; } &&
17034 { ac_try
='test -s conftest.$ac_objext'
17035 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17036 (eval $ac_try) 2>&5
17038 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17039 (exit $ac_status); }; }; then
17040 ac_hi
=$ac_mid; break
17042 echo "$as_me: failed program was:" >&5
17043 sed 's/^/| /' conftest.
$ac_ext >&5
17045 ac_lo
=`expr $ac_mid + 1`
17046 if test $ac_lo -le $ac_mid; then
17050 ac_mid
=`expr 2 '*' $ac_mid + 1`
17052 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17055 echo "$as_me: failed program was:" >&5
17056 sed 's/^/| /' conftest.
$ac_ext >&5
17058 cat >conftest.
$ac_ext <<_ACEOF
17061 cat confdefs.h
>>conftest.
$ac_ext
17062 cat >>conftest.
$ac_ext <<_ACEOF
17063 /* end confdefs.h. */
17064 $ac_includes_default
17068 static int test_array [1 - 2 * !(((long) (sizeof (long long))) < 0)];
17075 rm -f conftest.
$ac_objext
17076 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17077 (eval $ac_compile) 2>conftest.er1
17079 grep -v '^ *+' conftest.er1
>conftest.err
17081 cat conftest.err
>&5
17082 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17083 (exit $ac_status); } &&
17084 { ac_try
='test -z "$ac_c_werror_flag"
17085 || test ! -s conftest.err'
17086 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17087 (eval $ac_try) 2>&5
17089 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17090 (exit $ac_status); }; } &&
17091 { ac_try
='test -s conftest.$ac_objext'
17092 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17093 (eval $ac_try) 2>&5
17095 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17096 (exit $ac_status); }; }; then
17099 cat >conftest.
$ac_ext <<_ACEOF
17102 cat confdefs.h
>>conftest.
$ac_ext
17103 cat >>conftest.
$ac_ext <<_ACEOF
17104 /* end confdefs.h. */
17105 $ac_includes_default
17109 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= $ac_mid)];
17116 rm -f conftest.
$ac_objext
17117 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17118 (eval $ac_compile) 2>conftest.er1
17120 grep -v '^ *+' conftest.er1
>conftest.err
17122 cat conftest.err
>&5
17123 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17124 (exit $ac_status); } &&
17125 { ac_try
='test -z "$ac_c_werror_flag"
17126 || test ! -s conftest.err'
17127 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17128 (eval $ac_try) 2>&5
17130 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17131 (exit $ac_status); }; } &&
17132 { ac_try
='test -s conftest.$ac_objext'
17133 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17134 (eval $ac_try) 2>&5
17136 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17137 (exit $ac_status); }; }; then
17138 ac_lo
=$ac_mid; break
17140 echo "$as_me: failed program was:" >&5
17141 sed 's/^/| /' conftest.
$ac_ext >&5
17143 ac_hi
=`expr '(' $ac_mid ')' - 1`
17144 if test $ac_mid -le $ac_hi; then
17148 ac_mid
=`expr 2 '*' $ac_mid`
17150 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17153 echo "$as_me: failed program was:" >&5
17154 sed 's/^/| /' conftest.
$ac_ext >&5
17158 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17160 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17161 # Binary search between lo and hi bounds.
17162 while test "x$ac_lo" != "x$ac_hi"; do
17163 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
17164 cat >conftest.
$ac_ext <<_ACEOF
17167 cat confdefs.h
>>conftest.
$ac_ext
17168 cat >>conftest.
$ac_ext <<_ACEOF
17169 /* end confdefs.h. */
17170 $ac_includes_default
17174 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
17181 rm -f conftest.
$ac_objext
17182 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17183 (eval $ac_compile) 2>conftest.er1
17185 grep -v '^ *+' conftest.er1
>conftest.err
17187 cat conftest.err
>&5
17188 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17189 (exit $ac_status); } &&
17190 { ac_try
='test -z "$ac_c_werror_flag"
17191 || test ! -s conftest.err'
17192 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17193 (eval $ac_try) 2>&5
17195 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17196 (exit $ac_status); }; } &&
17197 { ac_try
='test -s conftest.$ac_objext'
17198 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17199 (eval $ac_try) 2>&5
17201 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17202 (exit $ac_status); }; }; then
17205 echo "$as_me: failed program was:" >&5
17206 sed 's/^/| /' conftest.
$ac_ext >&5
17208 ac_lo
=`expr '(' $ac_mid ')' + 1`
17210 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17213 ?
*) ac_cv_sizeof_long_long
=$ac_lo;;
17214 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
17215 See \`config.log' for more details." >&5
17216 echo "$as_me: error: cannot compute sizeof (long long), 77
17217 See \`config.log' for more details." >&2;}
17218 { (exit 1); exit 1; }; } ;;
17221 if test "$cross_compiling" = yes; then
17222 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
17223 See \`config.log' for more details." >&5
17224 echo "$as_me: error: cannot run test program while cross compiling
17225 See \`config.log' for more details." >&2;}
17226 { (exit 1); exit 1; }; }
17228 cat >conftest.
$ac_ext <<_ACEOF
17231 cat confdefs.h
>>conftest.
$ac_ext
17232 cat >>conftest.
$ac_ext <<_ACEOF
17233 /* end confdefs.h. */
17234 $ac_includes_default
17235 long longval () { return (long) (sizeof (long long)); }
17236 unsigned long ulongval () { return (long) (sizeof (long long)); }
17238 #include <stdlib.h>
17243 FILE *f = fopen ("conftest.val", "w");
17246 if (((long) (sizeof (long long))) < 0)
17248 long i = longval ();
17249 if (i != ((long) (sizeof (long long))))
17251 fprintf (f, "%ld\n", i);
17255 unsigned long i = ulongval ();
17256 if (i != ((long) (sizeof (long long))))
17258 fprintf (f, "%lu\n", i);
17260 exit (ferror (f) || fclose (f) != 0);
17266 rm -f conftest
$ac_exeext
17267 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17268 (eval $ac_link) 2>&5
17270 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17271 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
17272 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17273 (eval $ac_try) 2>&5
17275 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17276 (exit $ac_status); }; }; then
17277 ac_cv_sizeof_long_long
=`cat conftest.val`
17279 echo "$as_me: program exited with status $ac_status" >&5
17280 echo "$as_me: failed program was:" >&5
17281 sed 's/^/| /' conftest.
$ac_ext >&5
17283 ( exit $ac_status )
17284 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
17285 See \`config.log' for more details." >&5
17286 echo "$as_me: error: cannot compute sizeof (long long), 77
17287 See \`config.log' for more details." >&2;}
17288 { (exit 1); exit 1; }; }
17290 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
17295 ac_cv_sizeof_long_long
=0
17298 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
17299 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6
17300 cat >>confdefs.h
<<_ACEOF
17301 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
17307 echo "$as_me:$LINENO: checking for long long" >&5
17308 echo $ECHO_N "checking for long long... $ECHO_C" >&6
17309 if test "${ac_cv_type_long_long+set}" = set; then
17310 echo $ECHO_N "(cached) $ECHO_C" >&6
17312 cat >conftest.
$ac_ext <<_ACEOF
17315 cat confdefs.h
>>conftest.
$ac_ext
17316 cat >>conftest.
$ac_ext <<_ACEOF
17317 /* end confdefs.h. */
17318 $ac_includes_default
17322 if ((long long *) 0)
17324 if (sizeof (long long))
17330 rm -f conftest.
$ac_objext
17331 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17332 (eval $ac_compile) 2>conftest.er1
17334 grep -v '^ *+' conftest.er1
>conftest.err
17336 cat conftest.err
>&5
17337 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17338 (exit $ac_status); } &&
17339 { ac_try
='test -z "$ac_c_werror_flag"
17340 || test ! -s conftest.err'
17341 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17342 (eval $ac_try) 2>&5
17344 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17345 (exit $ac_status); }; } &&
17346 { ac_try
='test -s conftest.$ac_objext'
17347 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17348 (eval $ac_try) 2>&5
17350 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17351 (exit $ac_status); }; }; then
17352 ac_cv_type_long_long
=yes
17354 echo "$as_me: failed program was:" >&5
17355 sed 's/^/| /' conftest.
$ac_ext >&5
17357 ac_cv_type_long_long
=no
17359 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17361 echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
17362 echo "${ECHO_T}$ac_cv_type_long_long" >&6
17364 echo "$as_me:$LINENO: checking size of long long" >&5
17365 echo $ECHO_N "checking size of long long... $ECHO_C" >&6
17366 if test "${ac_cv_sizeof_long_long+set}" = set; then
17367 echo $ECHO_N "(cached) $ECHO_C" >&6
17369 if test "$ac_cv_type_long_long" = yes; then
17370 # The cast to unsigned long works around a bug in the HP C Compiler
17371 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
17372 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
17373 # This bug is HP SR number 8606223364.
17374 if test "$cross_compiling" = yes; then
17375 # Depending upon the size, compute the lo and hi bounds.
17376 cat >conftest.
$ac_ext <<_ACEOF
17379 cat confdefs.h
>>conftest.
$ac_ext
17380 cat >>conftest.
$ac_ext <<_ACEOF
17381 /* end confdefs.h. */
17382 $ac_includes_default
17386 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= 0)];
17393 rm -f conftest.
$ac_objext
17394 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17395 (eval $ac_compile) 2>conftest.er1
17397 grep -v '^ *+' conftest.er1
>conftest.err
17399 cat conftest.err
>&5
17400 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17401 (exit $ac_status); } &&
17402 { ac_try
='test -z "$ac_c_werror_flag"
17403 || test ! -s conftest.err'
17404 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17405 (eval $ac_try) 2>&5
17407 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17408 (exit $ac_status); }; } &&
17409 { ac_try
='test -s conftest.$ac_objext'
17410 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17411 (eval $ac_try) 2>&5
17413 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17414 (exit $ac_status); }; }; then
17417 cat >conftest.
$ac_ext <<_ACEOF
17420 cat confdefs.h
>>conftest.
$ac_ext
17421 cat >>conftest.
$ac_ext <<_ACEOF
17422 /* end confdefs.h. */
17423 $ac_includes_default
17427 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
17434 rm -f conftest.
$ac_objext
17435 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17436 (eval $ac_compile) 2>conftest.er1
17438 grep -v '^ *+' conftest.er1
>conftest.err
17440 cat conftest.err
>&5
17441 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17442 (exit $ac_status); } &&
17443 { ac_try
='test -z "$ac_c_werror_flag"
17444 || test ! -s conftest.err'
17445 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17446 (eval $ac_try) 2>&5
17448 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17449 (exit $ac_status); }; } &&
17450 { ac_try
='test -s conftest.$ac_objext'
17451 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17452 (eval $ac_try) 2>&5
17454 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17455 (exit $ac_status); }; }; then
17456 ac_hi
=$ac_mid; break
17458 echo "$as_me: failed program was:" >&5
17459 sed 's/^/| /' conftest.
$ac_ext >&5
17461 ac_lo
=`expr $ac_mid + 1`
17462 if test $ac_lo -le $ac_mid; then
17466 ac_mid
=`expr 2 '*' $ac_mid + 1`
17468 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17471 echo "$as_me: failed program was:" >&5
17472 sed 's/^/| /' conftest.
$ac_ext >&5
17474 cat >conftest.
$ac_ext <<_ACEOF
17477 cat confdefs.h
>>conftest.
$ac_ext
17478 cat >>conftest.
$ac_ext <<_ACEOF
17479 /* end confdefs.h. */
17480 $ac_includes_default
17484 static int test_array [1 - 2 * !(((long) (sizeof (long long))) < 0)];
17491 rm -f conftest.
$ac_objext
17492 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17493 (eval $ac_compile) 2>conftest.er1
17495 grep -v '^ *+' conftest.er1
>conftest.err
17497 cat conftest.err
>&5
17498 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17499 (exit $ac_status); } &&
17500 { ac_try
='test -z "$ac_c_werror_flag"
17501 || test ! -s conftest.err'
17502 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17503 (eval $ac_try) 2>&5
17505 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17506 (exit $ac_status); }; } &&
17507 { ac_try
='test -s conftest.$ac_objext'
17508 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17509 (eval $ac_try) 2>&5
17511 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17512 (exit $ac_status); }; }; then
17515 cat >conftest.
$ac_ext <<_ACEOF
17518 cat confdefs.h
>>conftest.
$ac_ext
17519 cat >>conftest.
$ac_ext <<_ACEOF
17520 /* end confdefs.h. */
17521 $ac_includes_default
17525 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= $ac_mid)];
17532 rm -f conftest.
$ac_objext
17533 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17534 (eval $ac_compile) 2>conftest.er1
17536 grep -v '^ *+' conftest.er1
>conftest.err
17538 cat conftest.err
>&5
17539 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17540 (exit $ac_status); } &&
17541 { ac_try
='test -z "$ac_c_werror_flag"
17542 || test ! -s conftest.err'
17543 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17544 (eval $ac_try) 2>&5
17546 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17547 (exit $ac_status); }; } &&
17548 { ac_try
='test -s conftest.$ac_objext'
17549 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17550 (eval $ac_try) 2>&5
17552 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17553 (exit $ac_status); }; }; then
17554 ac_lo
=$ac_mid; break
17556 echo "$as_me: failed program was:" >&5
17557 sed 's/^/| /' conftest.
$ac_ext >&5
17559 ac_hi
=`expr '(' $ac_mid ')' - 1`
17560 if test $ac_mid -le $ac_hi; then
17564 ac_mid
=`expr 2 '*' $ac_mid`
17566 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17569 echo "$as_me: failed program was:" >&5
17570 sed 's/^/| /' conftest.
$ac_ext >&5
17574 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17576 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17577 # Binary search between lo and hi bounds.
17578 while test "x$ac_lo" != "x$ac_hi"; do
17579 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
17580 cat >conftest.
$ac_ext <<_ACEOF
17583 cat confdefs.h
>>conftest.
$ac_ext
17584 cat >>conftest.
$ac_ext <<_ACEOF
17585 /* end confdefs.h. */
17586 $ac_includes_default
17590 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
17597 rm -f conftest.
$ac_objext
17598 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17599 (eval $ac_compile) 2>conftest.er1
17601 grep -v '^ *+' conftest.er1
>conftest.err
17603 cat conftest.err
>&5
17604 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17605 (exit $ac_status); } &&
17606 { ac_try
='test -z "$ac_c_werror_flag"
17607 || test ! -s conftest.err'
17608 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17609 (eval $ac_try) 2>&5
17611 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17612 (exit $ac_status); }; } &&
17613 { ac_try
='test -s conftest.$ac_objext'
17614 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17615 (eval $ac_try) 2>&5
17617 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17618 (exit $ac_status); }; }; then
17621 echo "$as_me: failed program was:" >&5
17622 sed 's/^/| /' conftest.
$ac_ext >&5
17624 ac_lo
=`expr '(' $ac_mid ')' + 1`
17626 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17629 ?
*) ac_cv_sizeof_long_long
=$ac_lo;;
17630 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
17631 See \`config.log' for more details." >&5
17632 echo "$as_me: error: cannot compute sizeof (long long), 77
17633 See \`config.log' for more details." >&2;}
17634 { (exit 1); exit 1; }; } ;;
17637 if test "$cross_compiling" = yes; then
17638 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
17639 See \`config.log' for more details." >&5
17640 echo "$as_me: error: cannot run test program while cross compiling
17641 See \`config.log' for more details." >&2;}
17642 { (exit 1); exit 1; }; }
17644 cat >conftest.
$ac_ext <<_ACEOF
17647 cat confdefs.h
>>conftest.
$ac_ext
17648 cat >>conftest.
$ac_ext <<_ACEOF
17649 /* end confdefs.h. */
17650 $ac_includes_default
17651 long longval () { return (long) (sizeof (long long)); }
17652 unsigned long ulongval () { return (long) (sizeof (long long)); }
17654 #include <stdlib.h>
17659 FILE *f = fopen ("conftest.val", "w");
17662 if (((long) (sizeof (long long))) < 0)
17664 long i = longval ();
17665 if (i != ((long) (sizeof (long long))))
17667 fprintf (f, "%ld\n", i);
17671 unsigned long i = ulongval ();
17672 if (i != ((long) (sizeof (long long))))
17674 fprintf (f, "%lu\n", i);
17676 exit (ferror (f) || fclose (f) != 0);
17682 rm -f conftest
$ac_exeext
17683 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17684 (eval $ac_link) 2>&5
17686 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17687 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
17688 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17689 (eval $ac_try) 2>&5
17691 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17692 (exit $ac_status); }; }; then
17693 ac_cv_sizeof_long_long
=`cat conftest.val`
17695 echo "$as_me: program exited with status $ac_status" >&5
17696 echo "$as_me: failed program was:" >&5
17697 sed 's/^/| /' conftest.
$ac_ext >&5
17699 ( exit $ac_status )
17700 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
17701 See \`config.log' for more details." >&5
17702 echo "$as_me: error: cannot compute sizeof (long long), 77
17703 See \`config.log' for more details." >&2;}
17704 { (exit 1); exit 1; }; }
17706 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
17711 ac_cv_sizeof_long_long
=0
17714 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
17715 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6
17716 cat >>confdefs.h
<<_ACEOF
17717 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
17721 if test "$ac_cv_sizeof_long_long" != "0"; then
17722 CPPFLAGS
="$CPPFLAGS -D_INCLUDE_LONGLONG"
17726 echo "$as_me:$LINENO: checking for long long" >&5
17727 echo $ECHO_N "checking for long long... $ECHO_C" >&6
17728 if test "${ac_cv_type_long_long+set}" = set; then
17729 echo $ECHO_N "(cached) $ECHO_C" >&6
17731 cat >conftest.
$ac_ext <<_ACEOF
17734 cat confdefs.h
>>conftest.
$ac_ext
17735 cat >>conftest.
$ac_ext <<_ACEOF
17736 /* end confdefs.h. */
17737 $ac_includes_default
17741 if ((long long *) 0)
17743 if (sizeof (long long))
17749 rm -f conftest.
$ac_objext
17750 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17751 (eval $ac_compile) 2>conftest.er1
17753 grep -v '^ *+' conftest.er1
>conftest.err
17755 cat conftest.err
>&5
17756 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17757 (exit $ac_status); } &&
17758 { ac_try
='test -z "$ac_c_werror_flag"
17759 || test ! -s conftest.err'
17760 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17761 (eval $ac_try) 2>&5
17763 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17764 (exit $ac_status); }; } &&
17765 { ac_try
='test -s conftest.$ac_objext'
17766 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17767 (eval $ac_try) 2>&5
17769 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17770 (exit $ac_status); }; }; then
17771 ac_cv_type_long_long
=yes
17773 echo "$as_me: failed program was:" >&5
17774 sed 's/^/| /' conftest.
$ac_ext >&5
17776 ac_cv_type_long_long
=no
17778 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17780 echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
17781 echo "${ECHO_T}$ac_cv_type_long_long" >&6
17783 echo "$as_me:$LINENO: checking size of long long" >&5
17784 echo $ECHO_N "checking size of long long... $ECHO_C" >&6
17785 if test "${ac_cv_sizeof_long_long+set}" = set; then
17786 echo $ECHO_N "(cached) $ECHO_C" >&6
17788 if test "$ac_cv_type_long_long" = yes; then
17789 # The cast to unsigned long works around a bug in the HP C Compiler
17790 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
17791 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
17792 # This bug is HP SR number 8606223364.
17793 if test "$cross_compiling" = yes; then
17794 # Depending upon the size, compute the lo and hi bounds.
17795 cat >conftest.
$ac_ext <<_ACEOF
17798 cat confdefs.h
>>conftest.
$ac_ext
17799 cat >>conftest.
$ac_ext <<_ACEOF
17800 /* end confdefs.h. */
17801 $ac_includes_default
17805 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= 0)];
17812 rm -f conftest.
$ac_objext
17813 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17814 (eval $ac_compile) 2>conftest.er1
17816 grep -v '^ *+' conftest.er1
>conftest.err
17818 cat conftest.err
>&5
17819 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17820 (exit $ac_status); } &&
17821 { ac_try
='test -z "$ac_c_werror_flag"
17822 || test ! -s conftest.err'
17823 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17824 (eval $ac_try) 2>&5
17826 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17827 (exit $ac_status); }; } &&
17828 { ac_try
='test -s conftest.$ac_objext'
17829 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17830 (eval $ac_try) 2>&5
17832 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17833 (exit $ac_status); }; }; then
17836 cat >conftest.
$ac_ext <<_ACEOF
17839 cat confdefs.h
>>conftest.
$ac_ext
17840 cat >>conftest.
$ac_ext <<_ACEOF
17841 /* end confdefs.h. */
17842 $ac_includes_default
17846 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
17853 rm -f conftest.
$ac_objext
17854 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17855 (eval $ac_compile) 2>conftest.er1
17857 grep -v '^ *+' conftest.er1
>conftest.err
17859 cat conftest.err
>&5
17860 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17861 (exit $ac_status); } &&
17862 { ac_try
='test -z "$ac_c_werror_flag"
17863 || test ! -s conftest.err'
17864 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17865 (eval $ac_try) 2>&5
17867 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17868 (exit $ac_status); }; } &&
17869 { ac_try
='test -s conftest.$ac_objext'
17870 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17871 (eval $ac_try) 2>&5
17873 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17874 (exit $ac_status); }; }; then
17875 ac_hi
=$ac_mid; break
17877 echo "$as_me: failed program was:" >&5
17878 sed 's/^/| /' conftest.
$ac_ext >&5
17880 ac_lo
=`expr $ac_mid + 1`
17881 if test $ac_lo -le $ac_mid; then
17885 ac_mid
=`expr 2 '*' $ac_mid + 1`
17887 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17890 echo "$as_me: failed program was:" >&5
17891 sed 's/^/| /' conftest.
$ac_ext >&5
17893 cat >conftest.
$ac_ext <<_ACEOF
17896 cat confdefs.h
>>conftest.
$ac_ext
17897 cat >>conftest.
$ac_ext <<_ACEOF
17898 /* end confdefs.h. */
17899 $ac_includes_default
17903 static int test_array [1 - 2 * !(((long) (sizeof (long long))) < 0)];
17910 rm -f conftest.
$ac_objext
17911 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17912 (eval $ac_compile) 2>conftest.er1
17914 grep -v '^ *+' conftest.er1
>conftest.err
17916 cat conftest.err
>&5
17917 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17918 (exit $ac_status); } &&
17919 { ac_try
='test -z "$ac_c_werror_flag"
17920 || test ! -s conftest.err'
17921 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17922 (eval $ac_try) 2>&5
17924 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17925 (exit $ac_status); }; } &&
17926 { ac_try
='test -s conftest.$ac_objext'
17927 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17928 (eval $ac_try) 2>&5
17930 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17931 (exit $ac_status); }; }; then
17934 cat >conftest.
$ac_ext <<_ACEOF
17937 cat confdefs.h
>>conftest.
$ac_ext
17938 cat >>conftest.
$ac_ext <<_ACEOF
17939 /* end confdefs.h. */
17940 $ac_includes_default
17944 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= $ac_mid)];
17951 rm -f conftest.
$ac_objext
17952 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17953 (eval $ac_compile) 2>conftest.er1
17955 grep -v '^ *+' conftest.er1
>conftest.err
17957 cat conftest.err
>&5
17958 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17959 (exit $ac_status); } &&
17960 { ac_try
='test -z "$ac_c_werror_flag"
17961 || test ! -s conftest.err'
17962 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17963 (eval $ac_try) 2>&5
17965 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17966 (exit $ac_status); }; } &&
17967 { ac_try
='test -s conftest.$ac_objext'
17968 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17969 (eval $ac_try) 2>&5
17971 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17972 (exit $ac_status); }; }; then
17973 ac_lo
=$ac_mid; break
17975 echo "$as_me: failed program was:" >&5
17976 sed 's/^/| /' conftest.
$ac_ext >&5
17978 ac_hi
=`expr '(' $ac_mid ')' - 1`
17979 if test $ac_mid -le $ac_hi; then
17983 ac_mid
=`expr 2 '*' $ac_mid`
17985 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17988 echo "$as_me: failed program was:" >&5
17989 sed 's/^/| /' conftest.
$ac_ext >&5
17993 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17995 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17996 # Binary search between lo and hi bounds.
17997 while test "x$ac_lo" != "x$ac_hi"; do
17998 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
17999 cat >conftest.
$ac_ext <<_ACEOF
18002 cat confdefs.h
>>conftest.
$ac_ext
18003 cat >>conftest.
$ac_ext <<_ACEOF
18004 /* end confdefs.h. */
18005 $ac_includes_default
18009 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
18016 rm -f conftest.
$ac_objext
18017 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18018 (eval $ac_compile) 2>conftest.er1
18020 grep -v '^ *+' conftest.er1
>conftest.err
18022 cat conftest.err
>&5
18023 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18024 (exit $ac_status); } &&
18025 { ac_try
='test -z "$ac_c_werror_flag"
18026 || test ! -s conftest.err'
18027 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18028 (eval $ac_try) 2>&5
18030 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18031 (exit $ac_status); }; } &&
18032 { ac_try
='test -s conftest.$ac_objext'
18033 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18034 (eval $ac_try) 2>&5
18036 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18037 (exit $ac_status); }; }; then
18040 echo "$as_me: failed program was:" >&5
18041 sed 's/^/| /' conftest.
$ac_ext >&5
18043 ac_lo
=`expr '(' $ac_mid ')' + 1`
18045 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18048 ?
*) ac_cv_sizeof_long_long
=$ac_lo;;
18049 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
18050 See \`config.log' for more details." >&5
18051 echo "$as_me: error: cannot compute sizeof (long long), 77
18052 See \`config.log' for more details." >&2;}
18053 { (exit 1); exit 1; }; } ;;
18056 if test "$cross_compiling" = yes; then
18057 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
18058 See \`config.log' for more details." >&5
18059 echo "$as_me: error: cannot run test program while cross compiling
18060 See \`config.log' for more details." >&2;}
18061 { (exit 1); exit 1; }; }
18063 cat >conftest.
$ac_ext <<_ACEOF
18066 cat confdefs.h
>>conftest.
$ac_ext
18067 cat >>conftest.
$ac_ext <<_ACEOF
18068 /* end confdefs.h. */
18069 $ac_includes_default
18070 long longval () { return (long) (sizeof (long long)); }
18071 unsigned long ulongval () { return (long) (sizeof (long long)); }
18073 #include <stdlib.h>
18078 FILE *f = fopen ("conftest.val", "w");
18081 if (((long) (sizeof (long long))) < 0)
18083 long i = longval ();
18084 if (i != ((long) (sizeof (long long))))
18086 fprintf (f, "%ld\n", i);
18090 unsigned long i = ulongval ();
18091 if (i != ((long) (sizeof (long long))))
18093 fprintf (f, "%lu\n", i);
18095 exit (ferror (f) || fclose (f) != 0);
18101 rm -f conftest
$ac_exeext
18102 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18103 (eval $ac_link) 2>&5
18105 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18106 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
18107 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18108 (eval $ac_try) 2>&5
18110 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18111 (exit $ac_status); }; }; then
18112 ac_cv_sizeof_long_long
=`cat conftest.val`
18114 echo "$as_me: program exited with status $ac_status" >&5
18115 echo "$as_me: failed program was:" >&5
18116 sed 's/^/| /' conftest.
$ac_ext >&5
18118 ( exit $ac_status )
18119 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
18120 See \`config.log' for more details." >&5
18121 echo "$as_me: error: cannot compute sizeof (long long), 77
18122 See \`config.log' for more details." >&2;}
18123 { (exit 1); exit 1; }; }
18125 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
18130 ac_cv_sizeof_long_long
=0
18133 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
18134 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6
18135 cat >>confdefs.h
<<_ACEOF
18136 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
18142 echo "$as_me:$LINENO: checking size of wchar_t" >&5
18143 echo $ECHO_N "checking size of wchar_t... $ECHO_C" >&6
18144 if test "${wx_cv_sizeof_wchar_t+set}" = set; then
18145 echo $ECHO_N "(cached) $ECHO_C" >&6
18148 if test "$cross_compiling" = yes; then
18152 wx_cv_sizeof_wchar_t
=0
18155 wx_cv_sizeof_wchar_t
=4
18161 cat >conftest.
$ac_ext <<_ACEOF
18164 cat confdefs.h
>>conftest.
$ac_ext
18165 cat >>conftest.
$ac_ext <<_ACEOF
18166 /* end confdefs.h. */
18168 /* DJGPP only has fake wchar_t: */
18170 # error "fake wchar_t"
18172 #ifdef HAVE_WCHAR_H
18174 # include <stddef.h>
18176 # include <wchar.h>
18178 #ifdef HAVE_STDLIB_H
18179 # include <stdlib.h>
18184 FILE *f=fopen("conftestval", "w");
18186 fprintf(f, "%i", sizeof(wchar_t));
18191 rm -f conftest
$ac_exeext
18192 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18193 (eval $ac_link) 2>&5
18195 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18196 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
18197 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18198 (eval $ac_try) 2>&5
18200 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18201 (exit $ac_status); }; }; then
18202 wx_cv_sizeof_wchar_t
=`cat conftestval`
18204 echo "$as_me: program exited with status $ac_status" >&5
18205 echo "$as_me: failed program was:" >&5
18206 sed 's/^/| /' conftest.
$ac_ext >&5
18208 ( exit $ac_status )
18209 wx_cv_sizeof_wchar_t
=0
18211 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
18215 echo "$as_me:$LINENO: result: $wx_cv_sizeof_wchar_t" >&5
18216 echo "${ECHO_T}$wx_cv_sizeof_wchar_t" >&6
18218 cat >>confdefs.h
<<_ACEOF
18219 #define SIZEOF_WCHAR_T $wx_cv_sizeof_wchar_t
18223 echo "$as_me:$LINENO: checking for va_copy" >&5
18224 echo $ECHO_N "checking for va_copy... $ECHO_C" >&6
18225 if test "${wx_cv_func_va_copy+set}" = set; then
18226 echo $ECHO_N "(cached) $ECHO_C" >&6
18229 cat >conftest.
$ac_ext <<_ACEOF
18231 #include <stdarg.h>
18232 void foo(char *f, ...)
18241 rm -f conftest.
$ac_objext conftest
$ac_exeext
18242 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18243 (eval $ac_link) 2>conftest.er1
18245 grep -v '^ *+' conftest.er1
>conftest.err
18247 cat conftest.err
>&5
18248 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18249 (exit $ac_status); } &&
18250 { ac_try
='test -z "$ac_c_werror_flag"
18251 || test ! -s conftest.err'
18252 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18253 (eval $ac_try) 2>&5
18255 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18256 (exit $ac_status); }; } &&
18257 { ac_try
='test -s conftest$ac_exeext'
18258 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18259 (eval $ac_try) 2>&5
18261 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18262 (exit $ac_status); }; }; then
18263 wx_cv_func_va_copy
=yes
18265 echo "$as_me: failed program was:" >&5
18266 sed 's/^/| /' conftest.
$ac_ext >&5
18268 wx_cv_func_va_copy
=no
18271 rm -f conftest.err conftest.
$ac_objext \
18272 conftest
$ac_exeext conftest.
$ac_ext
18276 echo "$as_me:$LINENO: result: $wx_cv_func_va_copy" >&5
18277 echo "${ECHO_T}$wx_cv_func_va_copy" >&6
18279 if test $wx_cv_func_va_copy = "yes"; then
18280 cat >>confdefs.h
<<\_ACEOF
18281 #define HAVE_VA_COPY 1
18285 echo "$as_me:$LINENO: checking if va_list can be copied by value" >&5
18286 echo $ECHO_N "checking if va_list can be copied by value... $ECHO_C" >&6
18287 if test "${wx_cv_type_va_list_lvalue+set}" = set; then
18288 echo $ECHO_N "(cached) $ECHO_C" >&6
18291 if test "$cross_compiling" = yes; then
18292 wx_cv_type_va_list_lvalue
=yes
18295 cat >conftest.
$ac_ext <<_ACEOF
18297 #include <stdarg.h>
18298 int foo(char *f, ...)
18303 if ( va_arg(ap1, int) != 17 || va_arg(ap2, int) != 17 )
18311 return foo("hi", 17);
18314 rm -f conftest
$ac_exeext
18315 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18316 (eval $ac_link) 2>&5
18318 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18319 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
18320 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18321 (eval $ac_try) 2>&5
18323 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18324 (exit $ac_status); }; }; then
18325 wx_cv_type_va_list_lvalue
=yes
18327 echo "$as_me: program exited with status $ac_status" >&5
18328 echo "$as_me: failed program was:" >&5
18329 sed 's/^/| /' conftest.
$ac_ext >&5
18331 ( exit $ac_status )
18332 wx_cv_type_va_list_lvalue
=no
18334 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
18339 echo "$as_me:$LINENO: result: $wx_cv_type_va_list_lvalue" >&5
18340 echo "${ECHO_T}$wx_cv_type_va_list_lvalue" >&6
18342 if test $wx_cv_type_va_list_lvalue != "yes"; then
18343 cat >>confdefs.h
<<\_ACEOF
18344 #define VA_LIST_IS_ARRAY 1
18350 # Check whether --enable-largefile or --disable-largefile was given.
18351 if test "${enable_largefile+set}" = set; then
18352 enableval
="$enable_largefile"
18355 if test "$enable_largefile" != no
; then
18358 echo "$as_me:$LINENO: checking for _FILE_OFFSET_BITS value needed for large files" >&5
18359 echo $ECHO_N "checking for _FILE_OFFSET_BITS value needed for large files... $ECHO_C" >&6
18360 if test "${ac_cv_sys_file_offset_bits+set}" = set; then
18361 echo $ECHO_N "(cached) $ECHO_C" >&6
18364 cat >conftest.
$ac_ext <<_ACEOF
18367 cat confdefs.h
>>conftest.
$ac_ext
18368 cat >>conftest.
$ac_ext <<_ACEOF
18369 /* end confdefs.h. */
18370 #define _FILE_OFFSET_BITS 64
18371 #include <sys/types.h>
18376 unsigned int field: sizeof(off_t) == 8;
18383 rm -f conftest.
$ac_objext
18384 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18385 (eval $ac_compile) 2>conftest.er1
18387 grep -v '^ *+' conftest.er1
>conftest.err
18389 cat conftest.err
>&5
18390 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18391 (exit $ac_status); } &&
18392 { ac_try
='test -z "$ac_c_werror_flag"
18393 || test ! -s conftest.err'
18394 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18395 (eval $ac_try) 2>&5
18397 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18398 (exit $ac_status); }; } &&
18399 { ac_try
='test -s conftest.$ac_objext'
18400 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18401 (eval $ac_try) 2>&5
18403 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18404 (exit $ac_status); }; }; then
18405 ac_cv_sys_file_offset_bits
=64
18407 echo "$as_me: failed program was:" >&5
18408 sed 's/^/| /' conftest.
$ac_ext >&5
18410 ac_cv_sys_file_offset_bits
=no
18412 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18416 echo "$as_me:$LINENO: result: $ac_cv_sys_file_offset_bits" >&5
18417 echo "${ECHO_T}$ac_cv_sys_file_offset_bits" >&6
18419 if test "$ac_cv_sys_file_offset_bits" != no
; then
18421 cat >>confdefs.h
<<_ACEOF
18422 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
18427 if test "x$wx_largefile" != "xyes"; then
18429 echo "$as_me:$LINENO: checking for _LARGE_FILES value needed for large files" >&5
18430 echo $ECHO_N "checking for _LARGE_FILES value needed for large files... $ECHO_C" >&6
18431 if test "${ac_cv_sys_large_files+set}" = set; then
18432 echo $ECHO_N "(cached) $ECHO_C" >&6
18435 cat >conftest.
$ac_ext <<_ACEOF
18438 cat confdefs.h
>>conftest.
$ac_ext
18439 cat >>conftest.
$ac_ext <<_ACEOF
18440 /* end confdefs.h. */
18441 #define _LARGE_FILES 1
18442 #include <sys/types.h>
18447 unsigned int field: sizeof(off_t) == 8;
18454 rm -f conftest.
$ac_objext
18455 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18456 (eval $ac_compile) 2>conftest.er1
18458 grep -v '^ *+' conftest.er1
>conftest.err
18460 cat conftest.err
>&5
18461 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18462 (exit $ac_status); } &&
18463 { ac_try
='test -z "$ac_c_werror_flag"
18464 || test ! -s conftest.err'
18465 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18466 (eval $ac_try) 2>&5
18468 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18469 (exit $ac_status); }; } &&
18470 { ac_try
='test -s conftest.$ac_objext'
18471 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18472 (eval $ac_try) 2>&5
18474 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18475 (exit $ac_status); }; }; then
18476 ac_cv_sys_large_files
=1
18478 echo "$as_me: failed program was:" >&5
18479 sed 's/^/| /' conftest.
$ac_ext >&5
18481 ac_cv_sys_large_files
=no
18483 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18487 echo "$as_me:$LINENO: result: $ac_cv_sys_large_files" >&5
18488 echo "${ECHO_T}$ac_cv_sys_large_files" >&6
18490 if test "$ac_cv_sys_large_files" != no
; then
18492 cat >>confdefs.h
<<_ACEOF
18493 #define _LARGE_FILES $ac_cv_sys_large_files
18500 echo "$as_me:$LINENO: checking if large file support is available" >&5
18501 echo $ECHO_N "checking if large file support is available... $ECHO_C" >&6
18502 if test "x$wx_largefile" = "xyes"; then
18503 cat >>confdefs.h
<<\_ACEOF
18504 #define HAVE_LARGEFILE_SUPPORT 1
18508 echo "$as_me:$LINENO: result: $wx_largefile" >&5
18509 echo "${ECHO_T}$wx_largefile" >&6
18513 if test "x$wx_largefile" = "xyes"; then
18514 if test "x$ac_cv_sys_file_offset_bits" = "x64"; then
18515 WX_LARGEFILE_FLAGS
="-D_FILE_OFFSET_BITS=64 -D_LARGE_FILES"
18517 WX_LARGEFILE_FLAGS
="-D_LARGE_FILES"
18519 CPPFLAGS
="$CPPFLAGS $WX_LARGEFILE_FLAGS"
18522 echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5
18523 echo $ECHO_N "checking whether byte ordering is bigendian... $ECHO_C" >&6
18524 if test "${ac_cv_c_bigendian+set}" = set; then
18525 echo $ECHO_N "(cached) $ECHO_C" >&6
18527 ac_cv_c_bigendian
=unknown
18528 # See if sys/param.h defines the BYTE_ORDER macro.
18529 cat >conftest.
$ac_ext <<_ACEOF
18532 cat confdefs.h
>>conftest.
$ac_ext
18533 cat >>conftest.
$ac_ext <<_ACEOF
18534 /* end confdefs.h. */
18535 #include <sys/types.h>
18536 #include <sys/param.h>
18541 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN
18542 bogus endian macros
18548 rm -f conftest.
$ac_objext
18549 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18550 (eval $ac_compile) 2>conftest.er1
18552 grep -v '^ *+' conftest.er1
>conftest.err
18554 cat conftest.err
>&5
18555 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18556 (exit $ac_status); } &&
18557 { ac_try
='test -z "$ac_c_werror_flag"
18558 || test ! -s conftest.err'
18559 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18560 (eval $ac_try) 2>&5
18562 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18563 (exit $ac_status); }; } &&
18564 { ac_try
='test -s conftest.$ac_objext'
18565 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18566 (eval $ac_try) 2>&5
18568 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18569 (exit $ac_status); }; }; then
18570 # It does; now see whether it defined to BIG_ENDIAN or not.
18571 cat >conftest.
$ac_ext <<_ACEOF
18574 cat confdefs.h
>>conftest.
$ac_ext
18575 cat >>conftest.
$ac_ext <<_ACEOF
18576 /* end confdefs.h. */
18577 #include <sys/types.h>
18578 #include <sys/param.h>
18583 #if BYTE_ORDER != BIG_ENDIAN
18590 rm -f conftest.
$ac_objext
18591 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18592 (eval $ac_compile) 2>conftest.er1
18594 grep -v '^ *+' conftest.er1
>conftest.err
18596 cat conftest.err
>&5
18597 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18598 (exit $ac_status); } &&
18599 { ac_try
='test -z "$ac_c_werror_flag"
18600 || test ! -s conftest.err'
18601 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18602 (eval $ac_try) 2>&5
18604 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18605 (exit $ac_status); }; } &&
18606 { ac_try
='test -s conftest.$ac_objext'
18607 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18608 (eval $ac_try) 2>&5
18610 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18611 (exit $ac_status); }; }; then
18612 ac_cv_c_bigendian
=yes
18614 echo "$as_me: failed program was:" >&5
18615 sed 's/^/| /' conftest.
$ac_ext >&5
18617 ac_cv_c_bigendian
=no
18619 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18621 echo "$as_me: failed program was:" >&5
18622 sed 's/^/| /' conftest.
$ac_ext >&5
18625 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18626 if test $ac_cv_c_bigendian = unknown
; then
18627 if test "$cross_compiling" = yes; then
18628 ac_cv_c_bigendian
=unknown
18630 cat >conftest.
$ac_ext <<_ACEOF
18633 cat confdefs.h
>>conftest.
$ac_ext
18634 cat >>conftest.
$ac_ext <<_ACEOF
18635 /* end confdefs.h. */
18637 /* Are we little or big endian? From Harbison&Steele. */
18641 char c[sizeof (long)];
18644 exit (u.c[sizeof (long) - 1] == 1);
18647 rm -f conftest
$ac_exeext
18648 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18649 (eval $ac_link) 2>&5
18651 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18652 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
18653 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18654 (eval $ac_try) 2>&5
18656 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18657 (exit $ac_status); }; }; then
18658 ac_cv_c_bigendian
=no
18660 echo "$as_me: program exited with status $ac_status" >&5
18661 echo "$as_me: failed program was:" >&5
18662 sed 's/^/| /' conftest.
$ac_ext >&5
18664 ( exit $ac_status )
18665 ac_cv_c_bigendian
=yes
18667 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
18671 echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5
18672 echo "${ECHO_T}$ac_cv_c_bigendian" >&6
18673 if test $ac_cv_c_bigendian = unknown
; then
18674 { 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
18675 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;}
18677 if test $ac_cv_c_bigendian = yes; then
18678 cat >>confdefs.h
<<\_ACEOF
18679 #define WORDS_BIGENDIAN 1
18686 ac_cpp
='$CXXCPP $CPPFLAGS'
18687 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18688 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18689 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
18690 echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5
18691 echo $ECHO_N "checking how to run the C++ preprocessor... $ECHO_C" >&6
18692 if test -z "$CXXCPP"; then
18693 if test "${ac_cv_prog_CXXCPP+set}" = set; then
18694 echo $ECHO_N "(cached) $ECHO_C" >&6
18696 # Double quotes because CXXCPP needs to be expanded
18697 for CXXCPP
in "$CXX -E" "/lib/cpp"
18699 ac_preproc_ok
=false
18700 for ac_cxx_preproc_warn_flag
in '' yes
18702 # Use a header file that comes with gcc, so configuring glibc
18703 # with a fresh cross-compiler works.
18704 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
18705 # <limits.h> exists even on freestanding compilers.
18706 # On the NeXT, cc -E runs the code through the compiler's parser,
18707 # not just through cpp. "Syntax error" is here to catch this case.
18708 cat >conftest.
$ac_ext <<_ACEOF
18711 cat confdefs.h
>>conftest.
$ac_ext
18712 cat >>conftest.
$ac_ext <<_ACEOF
18713 /* end confdefs.h. */
18715 # include <limits.h>
18717 # include <assert.h>
18721 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
18722 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
18724 grep -v '^ *+' conftest.er1
>conftest.err
18726 cat conftest.err
>&5
18727 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18728 (exit $ac_status); } >/dev
/null
; then
18729 if test -s conftest.err
; then
18730 ac_cpp_err
=$ac_cxx_preproc_warn_flag
18731 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
18738 if test -z "$ac_cpp_err"; then
18741 echo "$as_me: failed program was:" >&5
18742 sed 's/^/| /' conftest.
$ac_ext >&5
18744 # Broken: fails on valid input.
18747 rm -f conftest.err conftest.
$ac_ext
18749 # OK, works on sane cases. Now check whether non-existent headers
18750 # can be detected and how.
18751 cat >conftest.
$ac_ext <<_ACEOF
18754 cat confdefs.h
>>conftest.
$ac_ext
18755 cat >>conftest.
$ac_ext <<_ACEOF
18756 /* end confdefs.h. */
18757 #include <ac_nonexistent.h>
18759 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
18760 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
18762 grep -v '^ *+' conftest.er1
>conftest.err
18764 cat conftest.err
>&5
18765 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18766 (exit $ac_status); } >/dev
/null
; then
18767 if test -s conftest.err
; then
18768 ac_cpp_err
=$ac_cxx_preproc_warn_flag
18769 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
18776 if test -z "$ac_cpp_err"; then
18777 # Broken: success on invalid input.
18780 echo "$as_me: failed program was:" >&5
18781 sed 's/^/| /' conftest.
$ac_ext >&5
18783 # Passes both tests.
18787 rm -f conftest.err conftest.
$ac_ext
18790 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
18791 rm -f conftest.err conftest.
$ac_ext
18792 if $ac_preproc_ok; then
18797 ac_cv_prog_CXXCPP
=$CXXCPP
18800 CXXCPP
=$ac_cv_prog_CXXCPP
18802 ac_cv_prog_CXXCPP
=$CXXCPP
18804 echo "$as_me:$LINENO: result: $CXXCPP" >&5
18805 echo "${ECHO_T}$CXXCPP" >&6
18806 ac_preproc_ok
=false
18807 for ac_cxx_preproc_warn_flag
in '' yes
18809 # Use a header file that comes with gcc, so configuring glibc
18810 # with a fresh cross-compiler works.
18811 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
18812 # <limits.h> exists even on freestanding compilers.
18813 # On the NeXT, cc -E runs the code through the compiler's parser,
18814 # not just through cpp. "Syntax error" is here to catch this case.
18815 cat >conftest.
$ac_ext <<_ACEOF
18818 cat confdefs.h
>>conftest.
$ac_ext
18819 cat >>conftest.
$ac_ext <<_ACEOF
18820 /* end confdefs.h. */
18822 # include <limits.h>
18824 # include <assert.h>
18828 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
18829 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
18831 grep -v '^ *+' conftest.er1
>conftest.err
18833 cat conftest.err
>&5
18834 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18835 (exit $ac_status); } >/dev
/null
; then
18836 if test -s conftest.err
; then
18837 ac_cpp_err
=$ac_cxx_preproc_warn_flag
18838 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
18845 if test -z "$ac_cpp_err"; then
18848 echo "$as_me: failed program was:" >&5
18849 sed 's/^/| /' conftest.
$ac_ext >&5
18851 # Broken: fails on valid input.
18854 rm -f conftest.err conftest.
$ac_ext
18856 # OK, works on sane cases. Now check whether non-existent headers
18857 # can be detected and how.
18858 cat >conftest.
$ac_ext <<_ACEOF
18861 cat confdefs.h
>>conftest.
$ac_ext
18862 cat >>conftest.
$ac_ext <<_ACEOF
18863 /* end confdefs.h. */
18864 #include <ac_nonexistent.h>
18866 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
18867 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
18869 grep -v '^ *+' conftest.er1
>conftest.err
18871 cat conftest.err
>&5
18872 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18873 (exit $ac_status); } >/dev
/null
; then
18874 if test -s conftest.err
; then
18875 ac_cpp_err
=$ac_cxx_preproc_warn_flag
18876 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
18883 if test -z "$ac_cpp_err"; then
18884 # Broken: success on invalid input.
18887 echo "$as_me: failed program was:" >&5
18888 sed 's/^/| /' conftest.
$ac_ext >&5
18890 # Passes both tests.
18894 rm -f conftest.err conftest.
$ac_ext
18897 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
18898 rm -f conftest.err conftest.
$ac_ext
18899 if $ac_preproc_ok; then
18902 { { echo "$as_me:$LINENO: error: C++ preprocessor \"$CXXCPP\" fails sanity check
18903 See \`config.log' for more details." >&5
18904 echo "$as_me: error: C++ preprocessor \"$CXXCPP\" fails sanity check
18905 See \`config.log' for more details." >&2;}
18906 { (exit 1); exit 1; }; }
18910 ac_cpp
='$CXXCPP $CPPFLAGS'
18911 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18912 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18913 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
18920 ac_cpp
='$CXXCPP $CPPFLAGS'
18921 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18922 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18923 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
18927 for ac_header
in iostream
18929 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
18930 if eval "test \"\${$as_ac_Header+set}\" = set"; then
18931 echo "$as_me:$LINENO: checking for $ac_header" >&5
18932 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
18933 if eval "test \"\${$as_ac_Header+set}\" = set"; then
18934 echo $ECHO_N "(cached) $ECHO_C" >&6
18936 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
18937 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
18939 # Is the header compilable?
18940 echo "$as_me:$LINENO: checking $ac_header usability" >&5
18941 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
18942 cat >conftest.
$ac_ext <<_ACEOF
18945 cat confdefs.h
>>conftest.
$ac_ext
18946 cat >>conftest.
$ac_ext <<_ACEOF
18947 /* end confdefs.h. */
18948 $ac_includes_default
18949 #include <$ac_header>
18951 rm -f conftest.
$ac_objext
18952 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18953 (eval $ac_compile) 2>conftest.er1
18955 grep -v '^ *+' conftest.er1
>conftest.err
18957 cat conftest.err
>&5
18958 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18959 (exit $ac_status); } &&
18960 { ac_try
='test -z "$ac_cxx_werror_flag"
18961 || test ! -s conftest.err'
18962 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18963 (eval $ac_try) 2>&5
18965 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18966 (exit $ac_status); }; } &&
18967 { ac_try
='test -s conftest.$ac_objext'
18968 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18969 (eval $ac_try) 2>&5
18971 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18972 (exit $ac_status); }; }; then
18973 ac_header_compiler
=yes
18975 echo "$as_me: failed program was:" >&5
18976 sed 's/^/| /' conftest.
$ac_ext >&5
18978 ac_header_compiler
=no
18980 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18981 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
18982 echo "${ECHO_T}$ac_header_compiler" >&6
18984 # Is the header present?
18985 echo "$as_me:$LINENO: checking $ac_header presence" >&5
18986 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
18987 cat >conftest.
$ac_ext <<_ACEOF
18990 cat confdefs.h
>>conftest.
$ac_ext
18991 cat >>conftest.
$ac_ext <<_ACEOF
18992 /* end confdefs.h. */
18993 #include <$ac_header>
18995 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
18996 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
18998 grep -v '^ *+' conftest.er1
>conftest.err
19000 cat conftest.err
>&5
19001 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19002 (exit $ac_status); } >/dev
/null
; then
19003 if test -s conftest.err
; then
19004 ac_cpp_err
=$ac_cxx_preproc_warn_flag
19005 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
19012 if test -z "$ac_cpp_err"; then
19013 ac_header_preproc
=yes
19015 echo "$as_me: failed program was:" >&5
19016 sed 's/^/| /' conftest.
$ac_ext >&5
19018 ac_header_preproc
=no
19020 rm -f conftest.err conftest.
$ac_ext
19021 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
19022 echo "${ECHO_T}$ac_header_preproc" >&6
19024 # So? What about this header?
19025 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
19027 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
19028 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
19029 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
19030 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
19031 ac_header_preproc
=yes
19034 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
19035 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
19036 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
19037 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
19038 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
19039 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
19040 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
19041 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
19042 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
19043 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
19044 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
19045 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
19048 ## ----------------------------------------- ##
19049 ## Report this to wx-dev@lists.wxwidgets.org ##
19050 ## ----------------------------------------- ##
19053 sed "s/^/$as_me: WARNING: /" >&2
19056 echo "$as_me:$LINENO: checking for $ac_header" >&5
19057 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
19058 if eval "test \"\${$as_ac_Header+set}\" = set"; then
19059 echo $ECHO_N "(cached) $ECHO_C" >&6
19061 eval "$as_ac_Header=\$ac_header_preproc"
19063 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
19064 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
19067 if test `eval echo '${'$as_ac_Header'}'` = yes; then
19068 cat >>confdefs.h
<<_ACEOF
19069 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
19077 if test "$ac_cv_header_iostream" = "yes" ; then
19080 cat >>confdefs.h
<<\_ACEOF
19081 #define wxUSE_IOSTREAMH 1
19087 ac_cpp
='$CPP $CPPFLAGS'
19088 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19089 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19090 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
19095 echo "$as_me:$LINENO: checking if C++ compiler supports bool" >&5
19096 echo $ECHO_N "checking if C++ compiler supports bool... $ECHO_C" >&6
19097 if test "${wx_cv_cpp_bool+set}" = set; then
19098 echo $ECHO_N "(cached) $ECHO_C" >&6
19104 ac_cpp
='$CXXCPP $CPPFLAGS'
19105 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19106 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19107 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
19110 cat >conftest.
$ac_ext <<_ACEOF
19113 cat confdefs.h
>>conftest.
$ac_ext
19114 cat >>conftest.
$ac_ext <<_ACEOF
19115 /* end confdefs.h. */
19130 rm -f conftest.
$ac_objext
19131 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19132 (eval $ac_compile) 2>conftest.er1
19134 grep -v '^ *+' conftest.er1
>conftest.err
19136 cat conftest.err
>&5
19137 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19138 (exit $ac_status); } &&
19139 { ac_try
='test -z "$ac_cxx_werror_flag"
19140 || test ! -s conftest.err'
19141 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19142 (eval $ac_try) 2>&5
19144 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19145 (exit $ac_status); }; } &&
19146 { ac_try
='test -s conftest.$ac_objext'
19147 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19148 (eval $ac_try) 2>&5
19150 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19151 (exit $ac_status); }; }; then
19156 echo "$as_me: failed program was:" >&5
19157 sed 's/^/| /' conftest.
$ac_ext >&5
19164 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19167 ac_cpp
='$CPP $CPPFLAGS'
19168 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19169 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19170 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
19174 echo "$as_me:$LINENO: result: $wx_cv_cpp_bool" >&5
19175 echo "${ECHO_T}$wx_cv_cpp_bool" >&6
19177 if test "$wx_cv_cpp_bool" = "yes"; then
19178 cat >>confdefs.h
<<\_ACEOF
19179 #define HAVE_BOOL 1
19186 echo "$as_me:$LINENO: checking if C++ compiler supports the explicit keyword" >&5
19187 echo $ECHO_N "checking if C++ compiler supports the explicit keyword... $ECHO_C" >&6
19188 if test "${wx_cv_explicit+set}" = set; then
19189 echo $ECHO_N "(cached) $ECHO_C" >&6
19195 ac_cpp
='$CXXCPP $CPPFLAGS'
19196 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19197 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19198 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
19201 cat >conftest.
$ac_ext <<_ACEOF
19204 cat confdefs.h
>>conftest.
$ac_ext
19205 cat >>conftest.
$ac_ext <<_ACEOF
19206 /* end confdefs.h. */
19208 class Foo { public: explicit Foo(int) {} };
19220 rm -f conftest.
$ac_objext
19221 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19222 (eval $ac_compile) 2>conftest.er1
19224 grep -v '^ *+' conftest.er1
>conftest.err
19226 cat conftest.err
>&5
19227 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19228 (exit $ac_status); } &&
19229 { ac_try
='test -z "$ac_cxx_werror_flag"
19230 || test ! -s conftest.err'
19231 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19232 (eval $ac_try) 2>&5
19234 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19235 (exit $ac_status); }; } &&
19236 { ac_try
='test -s conftest.$ac_objext'
19237 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19238 (eval $ac_try) 2>&5
19240 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19241 (exit $ac_status); }; }; then
19243 cat >conftest.
$ac_ext <<_ACEOF
19246 cat confdefs.h
>>conftest.
$ac_ext
19247 cat >>conftest.
$ac_ext <<_ACEOF
19248 /* end confdefs.h. */
19250 class Foo { public: explicit Foo(int) {} };
19251 static void TakeFoo(const Foo& foo) { }
19264 rm -f conftest.
$ac_objext
19265 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19266 (eval $ac_compile) 2>conftest.er1
19268 grep -v '^ *+' conftest.er1
>conftest.err
19270 cat conftest.err
>&5
19271 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19272 (exit $ac_status); } &&
19273 { ac_try
='test -z "$ac_cxx_werror_flag"
19274 || test ! -s conftest.err'
19275 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19276 (eval $ac_try) 2>&5
19278 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19279 (exit $ac_status); }; } &&
19280 { ac_try
='test -s conftest.$ac_objext'
19281 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19282 (eval $ac_try) 2>&5
19284 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19285 (exit $ac_status); }; }; then
19288 echo "$as_me: failed program was:" >&5
19289 sed 's/^/| /' conftest.
$ac_ext >&5
19294 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19297 echo "$as_me: failed program was:" >&5
19298 sed 's/^/| /' conftest.
$ac_ext >&5
19303 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19306 ac_cpp
='$CPP $CPPFLAGS'
19307 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19308 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19309 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
19313 echo "$as_me:$LINENO: result: $wx_cv_explicit" >&5
19314 echo "${ECHO_T}$wx_cv_explicit" >&6
19316 if test "$wx_cv_explicit" = "yes"; then
19317 cat >>confdefs.h
<<\_ACEOF
19318 #define HAVE_EXPLICIT 1
19324 echo "$as_me:$LINENO: checking whether the compiler supports const_cast<>" >&5
19325 echo $ECHO_N "checking whether the compiler supports const_cast<>... $ECHO_C" >&6
19326 if test "${ac_cv_cxx_const_cast+set}" = set; then
19327 echo $ECHO_N "(cached) $ECHO_C" >&6
19332 ac_cpp
='$CXXCPP $CPPFLAGS'
19333 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19334 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19335 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
19337 cat >conftest.
$ac_ext <<_ACEOF
19340 cat confdefs.h
>>conftest.
$ac_ext
19341 cat >>conftest.
$ac_ext <<_ACEOF
19342 /* end confdefs.h. */
19347 int x = 0;const int& y = x;int& z = const_cast<int&>(y);return z;
19352 rm -f conftest.
$ac_objext
19353 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19354 (eval $ac_compile) 2>conftest.er1
19356 grep -v '^ *+' conftest.er1
>conftest.err
19358 cat conftest.err
>&5
19359 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19360 (exit $ac_status); } &&
19361 { ac_try
='test -z "$ac_cxx_werror_flag"
19362 || test ! -s conftest.err'
19363 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19364 (eval $ac_try) 2>&5
19366 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19367 (exit $ac_status); }; } &&
19368 { ac_try
='test -s conftest.$ac_objext'
19369 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19370 (eval $ac_try) 2>&5
19372 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19373 (exit $ac_status); }; }; then
19374 ac_cv_cxx_const_cast
=yes
19376 echo "$as_me: failed program was:" >&5
19377 sed 's/^/| /' conftest.
$ac_ext >&5
19379 ac_cv_cxx_const_cast
=no
19381 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19383 ac_cpp
='$CPP $CPPFLAGS'
19384 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19385 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19386 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
19390 echo "$as_me:$LINENO: result: $ac_cv_cxx_const_cast" >&5
19391 echo "${ECHO_T}$ac_cv_cxx_const_cast" >&6
19392 if test "$ac_cv_cxx_const_cast" = yes; then
19394 cat >>confdefs.h
<<\_ACEOF
19395 #define HAVE_CONST_CAST
19400 echo "$as_me:$LINENO: checking whether the compiler supports reinterpret_cast<>" >&5
19401 echo $ECHO_N "checking whether the compiler supports reinterpret_cast<>... $ECHO_C" >&6
19402 if test "${ac_cv_cxx_reinterpret_cast+set}" = set; then
19403 echo $ECHO_N "(cached) $ECHO_C" >&6
19408 ac_cpp
='$CXXCPP $CPPFLAGS'
19409 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19410 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19411 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
19413 cat >conftest.
$ac_ext <<_ACEOF
19416 cat confdefs.h
>>conftest.
$ac_ext
19417 cat >>conftest.
$ac_ext <<_ACEOF
19418 /* end confdefs.h. */
19419 #include <typeinfo>
19420 class Base { public : Base () {} virtual void f () = 0;};
19421 class Derived : public Base { public : Derived () {} virtual void f () {} };
19422 class Unrelated { public : Unrelated () {} };
19423 int g (Unrelated&) { return 0; }
19428 Derived d;Base& b=d;Unrelated& e=reinterpret_cast<Unrelated&>(b);return g(e);
19433 rm -f conftest.
$ac_objext
19434 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19435 (eval $ac_compile) 2>conftest.er1
19437 grep -v '^ *+' conftest.er1
>conftest.err
19439 cat conftest.err
>&5
19440 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19441 (exit $ac_status); } &&
19442 { ac_try
='test -z "$ac_cxx_werror_flag"
19443 || test ! -s conftest.err'
19444 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19445 (eval $ac_try) 2>&5
19447 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19448 (exit $ac_status); }; } &&
19449 { ac_try
='test -s conftest.$ac_objext'
19450 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19451 (eval $ac_try) 2>&5
19453 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19454 (exit $ac_status); }; }; then
19455 ac_cv_cxx_reinterpret_cast
=yes
19457 echo "$as_me: failed program was:" >&5
19458 sed 's/^/| /' conftest.
$ac_ext >&5
19460 ac_cv_cxx_reinterpret_cast
=no
19462 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19464 ac_cpp
='$CPP $CPPFLAGS'
19465 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19466 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19467 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
19471 echo "$as_me:$LINENO: result: $ac_cv_cxx_reinterpret_cast" >&5
19472 echo "${ECHO_T}$ac_cv_cxx_reinterpret_cast" >&6
19473 if test "$ac_cv_cxx_reinterpret_cast" = yes; then
19475 cat >>confdefs.h
<<\_ACEOF
19476 #define HAVE_REINTERPRET_CAST
19481 echo "$as_me:$LINENO: checking whether the compiler supports static_cast<>" >&5
19482 echo $ECHO_N "checking whether the compiler supports static_cast<>... $ECHO_C" >&6
19483 if test "${ac_cv_cxx_static_cast+set}" = set; then
19484 echo $ECHO_N "(cached) $ECHO_C" >&6
19489 ac_cpp
='$CXXCPP $CPPFLAGS'
19490 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19491 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19492 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
19494 cat >conftest.
$ac_ext <<_ACEOF
19497 cat confdefs.h
>>conftest.
$ac_ext
19498 cat >>conftest.
$ac_ext <<_ACEOF
19499 /* end confdefs.h. */
19500 #include <typeinfo>
19501 class Base { public : Base () {} virtual void f () = 0; };
19502 class Derived : public Base { public : Derived () {} virtual void f () {} };
19503 int g (Derived&) { return 0; }
19508 Derived d; Base& b = d; Derived& s = static_cast<Derived&> (b); return g (s);
19513 rm -f conftest.
$ac_objext
19514 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19515 (eval $ac_compile) 2>conftest.er1
19517 grep -v '^ *+' conftest.er1
>conftest.err
19519 cat conftest.err
>&5
19520 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19521 (exit $ac_status); } &&
19522 { ac_try
='test -z "$ac_cxx_werror_flag"
19523 || test ! -s conftest.err'
19524 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19525 (eval $ac_try) 2>&5
19527 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19528 (exit $ac_status); }; } &&
19529 { ac_try
='test -s conftest.$ac_objext'
19530 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19531 (eval $ac_try) 2>&5
19533 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19534 (exit $ac_status); }; }; then
19535 ac_cv_cxx_static_cast
=yes
19537 echo "$as_me: failed program was:" >&5
19538 sed 's/^/| /' conftest.
$ac_ext >&5
19540 ac_cv_cxx_static_cast
=no
19542 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19544 ac_cpp
='$CPP $CPPFLAGS'
19545 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19546 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19547 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
19551 echo "$as_me:$LINENO: result: $ac_cv_cxx_static_cast" >&5
19552 echo "${ECHO_T}$ac_cv_cxx_static_cast" >&6
19553 if test "$ac_cv_cxx_static_cast" = yes; then
19555 cat >>confdefs.h
<<\_ACEOF
19556 #define HAVE_STATIC_CAST
19562 if test "$wxUSE_STL" = "yes"; then
19564 ac_cpp
='$CXXCPP $CPPFLAGS'
19565 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19566 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19567 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
19570 echo "$as_me:$LINENO: checking for basic STL functionality" >&5
19571 echo $ECHO_N "checking for basic STL functionality... $ECHO_C" >&6
19572 cat >conftest.
$ac_ext <<_ACEOF
19575 cat confdefs.h
>>conftest.
$ac_ext
19576 cat >>conftest.
$ac_ext <<_ACEOF
19577 /* end confdefs.h. */
19579 #include <functional>
19580 #include <algorithm>
19586 std::vector<int> moo;
19587 std::list<int> foo;
19588 std::vector<int>::iterator it =
19589 std::find_if(moo.begin(), moo.end(),
19590 std::bind2nd(std::less<int>(), 3));
19595 rm -f conftest.
$ac_objext
19596 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19597 (eval $ac_compile) 2>conftest.er1
19599 grep -v '^ *+' conftest.er1
>conftest.err
19601 cat conftest.err
>&5
19602 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19603 (exit $ac_status); } &&
19604 { ac_try
='test -z "$ac_cxx_werror_flag"
19605 || test ! -s conftest.err'
19606 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19607 (eval $ac_try) 2>&5
19609 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19610 (exit $ac_status); }; } &&
19611 { ac_try
='test -s conftest.$ac_objext'
19612 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19613 (eval $ac_try) 2>&5
19615 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19616 (exit $ac_status); }; }; then
19617 echo "$as_me:$LINENO: result: yes" >&5
19618 echo "${ECHO_T}yes" >&6
19620 echo "$as_me: failed program was:" >&5
19621 sed 's/^/| /' conftest.
$ac_ext >&5
19623 echo "$as_me:$LINENO: result: no" >&5
19624 echo "${ECHO_T}no" >&6
19625 { { echo "$as_me:$LINENO: error: Basic STL functionality missing" >&5
19626 echo "$as_me: error: Basic STL functionality missing" >&2;}
19627 { (exit 1); exit 1; }; }
19629 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19631 echo "$as_me:$LINENO: checking for std::wstring in <string>" >&5
19632 echo $ECHO_N "checking for std::wstring in <string>... $ECHO_C" >&6
19633 cat >conftest.
$ac_ext <<_ACEOF
19636 cat confdefs.h
>>conftest.
$ac_ext
19637 cat >>conftest.
$ac_ext <<_ACEOF
19638 /* end confdefs.h. */
19648 rm -f conftest.
$ac_objext
19649 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19650 (eval $ac_compile) 2>conftest.er1
19652 grep -v '^ *+' conftest.er1
>conftest.err
19654 cat conftest.err
>&5
19655 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19656 (exit $ac_status); } &&
19657 { ac_try
='test -z "$ac_cxx_werror_flag"
19658 || test ! -s conftest.err'
19659 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19660 (eval $ac_try) 2>&5
19662 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19663 (exit $ac_status); }; } &&
19664 { ac_try
='test -s conftest.$ac_objext'
19665 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19666 (eval $ac_try) 2>&5
19668 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19669 (exit $ac_status); }; }; then
19670 echo "$as_me:$LINENO: result: yes" >&5
19671 echo "${ECHO_T}yes" >&6
19672 cat >>confdefs.h
<<\_ACEOF
19673 #define HAVE_STD_WSTRING 1
19677 echo "$as_me: failed program was:" >&5
19678 sed 's/^/| /' conftest.
$ac_ext >&5
19680 echo "$as_me:$LINENO: result: no" >&5
19681 echo "${ECHO_T}no" >&6
19683 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19685 echo "$as_me:$LINENO: checking for compliant std::string::compare" >&5
19686 echo $ECHO_N "checking for compliant std::string::compare... $ECHO_C" >&6
19687 cat >conftest.
$ac_ext <<_ACEOF
19690 cat confdefs.h
>>conftest.
$ac_ext
19691 cat >>conftest.
$ac_ext <<_ACEOF
19692 /* end confdefs.h. */
19697 std::string foo, bar;
19699 foo.compare(1, 1, bar);
19700 foo.compare(1, 1, bar, 1, 1);
19702 foo.compare(1, 1, "");
19703 foo.compare(1, 1, "", 2);
19708 rm -f conftest.
$ac_objext
19709 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19710 (eval $ac_compile) 2>conftest.er1
19712 grep -v '^ *+' conftest.er1
>conftest.err
19714 cat conftest.err
>&5
19715 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19716 (exit $ac_status); } &&
19717 { ac_try
='test -z "$ac_cxx_werror_flag"
19718 || test ! -s conftest.err'
19719 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19720 (eval $ac_try) 2>&5
19722 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19723 (exit $ac_status); }; } &&
19724 { ac_try
='test -s conftest.$ac_objext'
19725 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19726 (eval $ac_try) 2>&5
19728 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19729 (exit $ac_status); }; }; then
19730 echo "$as_me:$LINENO: result: yes" >&5
19731 echo "${ECHO_T}yes" >&6
19732 cat >>confdefs.h
<<\_ACEOF
19733 #define HAVE_STD_STRING_COMPARE 1
19737 echo "$as_me: failed program was:" >&5
19738 sed 's/^/| /' conftest.
$ac_ext >&5
19740 echo "$as_me:$LINENO: result: no" >&5
19741 echo "${ECHO_T}no" >&6
19743 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19745 if test "${ac_cv_header_hash_map+set}" = set; then
19746 echo "$as_me:$LINENO: checking for hash_map" >&5
19747 echo $ECHO_N "checking for hash_map... $ECHO_C" >&6
19748 if test "${ac_cv_header_hash_map+set}" = set; then
19749 echo $ECHO_N "(cached) $ECHO_C" >&6
19751 echo "$as_me:$LINENO: result: $ac_cv_header_hash_map" >&5
19752 echo "${ECHO_T}$ac_cv_header_hash_map" >&6
19754 # Is the header compilable?
19755 echo "$as_me:$LINENO: checking hash_map usability" >&5
19756 echo $ECHO_N "checking hash_map usability... $ECHO_C" >&6
19757 cat >conftest.
$ac_ext <<_ACEOF
19760 cat confdefs.h
>>conftest.
$ac_ext
19761 cat >>conftest.
$ac_ext <<_ACEOF
19762 /* end confdefs.h. */
19763 $ac_includes_default
19764 #include <hash_map>
19766 rm -f conftest.
$ac_objext
19767 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19768 (eval $ac_compile) 2>conftest.er1
19770 grep -v '^ *+' conftest.er1
>conftest.err
19772 cat conftest.err
>&5
19773 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19774 (exit $ac_status); } &&
19775 { ac_try
='test -z "$ac_cxx_werror_flag"
19776 || test ! -s conftest.err'
19777 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19778 (eval $ac_try) 2>&5
19780 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19781 (exit $ac_status); }; } &&
19782 { ac_try
='test -s conftest.$ac_objext'
19783 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19784 (eval $ac_try) 2>&5
19786 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19787 (exit $ac_status); }; }; then
19788 ac_header_compiler
=yes
19790 echo "$as_me: failed program was:" >&5
19791 sed 's/^/| /' conftest.
$ac_ext >&5
19793 ac_header_compiler
=no
19795 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19796 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
19797 echo "${ECHO_T}$ac_header_compiler" >&6
19799 # Is the header present?
19800 echo "$as_me:$LINENO: checking hash_map presence" >&5
19801 echo $ECHO_N "checking hash_map presence... $ECHO_C" >&6
19802 cat >conftest.
$ac_ext <<_ACEOF
19805 cat confdefs.h
>>conftest.
$ac_ext
19806 cat >>conftest.
$ac_ext <<_ACEOF
19807 /* end confdefs.h. */
19808 #include <hash_map>
19810 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
19811 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
19813 grep -v '^ *+' conftest.er1
>conftest.err
19815 cat conftest.err
>&5
19816 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19817 (exit $ac_status); } >/dev
/null
; then
19818 if test -s conftest.err
; then
19819 ac_cpp_err
=$ac_cxx_preproc_warn_flag
19820 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
19827 if test -z "$ac_cpp_err"; then
19828 ac_header_preproc
=yes
19830 echo "$as_me: failed program was:" >&5
19831 sed 's/^/| /' conftest.
$ac_ext >&5
19833 ac_header_preproc
=no
19835 rm -f conftest.err conftest.
$ac_ext
19836 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
19837 echo "${ECHO_T}$ac_header_preproc" >&6
19839 # So? What about this header?
19840 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
19842 { echo "$as_me:$LINENO: WARNING: hash_map: accepted by the compiler, rejected by the preprocessor!" >&5
19843 echo "$as_me: WARNING: hash_map: accepted by the compiler, rejected by the preprocessor!" >&2;}
19844 { echo "$as_me:$LINENO: WARNING: hash_map: proceeding with the compiler's result" >&5
19845 echo "$as_me: WARNING: hash_map: proceeding with the compiler's result" >&2;}
19846 ac_header_preproc
=yes
19849 { echo "$as_me:$LINENO: WARNING: hash_map: present but cannot be compiled" >&5
19850 echo "$as_me: WARNING: hash_map: present but cannot be compiled" >&2;}
19851 { echo "$as_me:$LINENO: WARNING: hash_map: check for missing prerequisite headers?" >&5
19852 echo "$as_me: WARNING: hash_map: check for missing prerequisite headers?" >&2;}
19853 { echo "$as_me:$LINENO: WARNING: hash_map: see the Autoconf documentation" >&5
19854 echo "$as_me: WARNING: hash_map: see the Autoconf documentation" >&2;}
19855 { echo "$as_me:$LINENO: WARNING: hash_map: section \"Present But Cannot Be Compiled\"" >&5
19856 echo "$as_me: WARNING: hash_map: section \"Present But Cannot Be Compiled\"" >&2;}
19857 { echo "$as_me:$LINENO: WARNING: hash_map: proceeding with the preprocessor's result" >&5
19858 echo "$as_me: WARNING: hash_map: proceeding with the preprocessor's result" >&2;}
19859 { echo "$as_me:$LINENO: WARNING: hash_map: in the future, the compiler will take precedence" >&5
19860 echo "$as_me: WARNING: hash_map: in the future, the compiler will take precedence" >&2;}
19863 ## ----------------------------------------- ##
19864 ## Report this to wx-dev@lists.wxwidgets.org ##
19865 ## ----------------------------------------- ##
19868 sed "s/^/$as_me: WARNING: /" >&2
19871 echo "$as_me:$LINENO: checking for hash_map" >&5
19872 echo $ECHO_N "checking for hash_map... $ECHO_C" >&6
19873 if test "${ac_cv_header_hash_map+set}" = set; then
19874 echo $ECHO_N "(cached) $ECHO_C" >&6
19876 ac_cv_header_hash_map
=$ac_header_preproc
19878 echo "$as_me:$LINENO: result: $ac_cv_header_hash_map" >&5
19879 echo "${ECHO_T}$ac_cv_header_hash_map" >&6
19882 if test $ac_cv_header_hash_map = yes; then
19883 echo "$as_me:$LINENO: checking for hash_map and hash_set" >&5
19884 echo $ECHO_N "checking for hash_map and hash_set... $ECHO_C" >&6
19885 cat >conftest.
$ac_ext <<_ACEOF
19888 cat confdefs.h
>>conftest.
$ac_ext
19889 cat >>conftest.
$ac_ext <<_ACEOF
19890 /* end confdefs.h. */
19891 #include <hash_map>
19892 #include <hash_set>
19896 std::hash_map<double*, char*, std::hash<double*>, std::equal_to<double*> > test1;
19897 std::hash_set<char*, std::hash<char*>, std::equal_to<char*> > test2;
19902 rm -f conftest.
$ac_objext
19903 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19904 (eval $ac_compile) 2>conftest.er1
19906 grep -v '^ *+' conftest.er1
>conftest.err
19908 cat conftest.err
>&5
19909 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19910 (exit $ac_status); } &&
19911 { ac_try
='test -z "$ac_cxx_werror_flag"
19912 || test ! -s conftest.err'
19913 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19914 (eval $ac_try) 2>&5
19916 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19917 (exit $ac_status); }; } &&
19918 { ac_try
='test -s conftest.$ac_objext'
19919 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19920 (eval $ac_try) 2>&5
19922 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19923 (exit $ac_status); }; }; then
19924 echo "$as_me:$LINENO: result: yes" >&5
19925 echo "${ECHO_T}yes" >&6
19926 cat >>confdefs.h
<<\_ACEOF
19927 #define HAVE_HASH_MAP 1
19930 cat >>confdefs.h
<<\_ACEOF
19931 #define HAVE_STD_HASH_MAP 1
19935 echo "$as_me: failed program was:" >&5
19936 sed 's/^/| /' conftest.
$ac_ext >&5
19938 echo "$as_me:$LINENO: result: no" >&5
19939 echo "${ECHO_T}no" >&6
19941 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19947 if test "${ac_cv_header_ext_hash_map+set}" = set; then
19948 echo "$as_me:$LINENO: checking for ext/hash_map" >&5
19949 echo $ECHO_N "checking for ext/hash_map... $ECHO_C" >&6
19950 if test "${ac_cv_header_ext_hash_map+set}" = set; then
19951 echo $ECHO_N "(cached) $ECHO_C" >&6
19953 echo "$as_me:$LINENO: result: $ac_cv_header_ext_hash_map" >&5
19954 echo "${ECHO_T}$ac_cv_header_ext_hash_map" >&6
19956 # Is the header compilable?
19957 echo "$as_me:$LINENO: checking ext/hash_map usability" >&5
19958 echo $ECHO_N "checking ext/hash_map usability... $ECHO_C" >&6
19959 cat >conftest.
$ac_ext <<_ACEOF
19962 cat confdefs.h
>>conftest.
$ac_ext
19963 cat >>conftest.
$ac_ext <<_ACEOF
19964 /* end confdefs.h. */
19965 $ac_includes_default
19966 #include <ext/hash_map>
19968 rm -f conftest.
$ac_objext
19969 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19970 (eval $ac_compile) 2>conftest.er1
19972 grep -v '^ *+' conftest.er1
>conftest.err
19974 cat conftest.err
>&5
19975 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19976 (exit $ac_status); } &&
19977 { ac_try
='test -z "$ac_cxx_werror_flag"
19978 || test ! -s conftest.err'
19979 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19980 (eval $ac_try) 2>&5
19982 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19983 (exit $ac_status); }; } &&
19984 { ac_try
='test -s conftest.$ac_objext'
19985 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19986 (eval $ac_try) 2>&5
19988 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19989 (exit $ac_status); }; }; then
19990 ac_header_compiler
=yes
19992 echo "$as_me: failed program was:" >&5
19993 sed 's/^/| /' conftest.
$ac_ext >&5
19995 ac_header_compiler
=no
19997 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19998 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
19999 echo "${ECHO_T}$ac_header_compiler" >&6
20001 # Is the header present?
20002 echo "$as_me:$LINENO: checking ext/hash_map presence" >&5
20003 echo $ECHO_N "checking ext/hash_map presence... $ECHO_C" >&6
20004 cat >conftest.
$ac_ext <<_ACEOF
20007 cat confdefs.h
>>conftest.
$ac_ext
20008 cat >>conftest.
$ac_ext <<_ACEOF
20009 /* end confdefs.h. */
20010 #include <ext/hash_map>
20012 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
20013 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
20015 grep -v '^ *+' conftest.er1
>conftest.err
20017 cat conftest.err
>&5
20018 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20019 (exit $ac_status); } >/dev
/null
; then
20020 if test -s conftest.err
; then
20021 ac_cpp_err
=$ac_cxx_preproc_warn_flag
20022 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
20029 if test -z "$ac_cpp_err"; then
20030 ac_header_preproc
=yes
20032 echo "$as_me: failed program was:" >&5
20033 sed 's/^/| /' conftest.
$ac_ext >&5
20035 ac_header_preproc
=no
20037 rm -f conftest.err conftest.
$ac_ext
20038 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
20039 echo "${ECHO_T}$ac_header_preproc" >&6
20041 # So? What about this header?
20042 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
20044 { echo "$as_me:$LINENO: WARNING: ext/hash_map: accepted by the compiler, rejected by the preprocessor!" >&5
20045 echo "$as_me: WARNING: ext/hash_map: accepted by the compiler, rejected by the preprocessor!" >&2;}
20046 { echo "$as_me:$LINENO: WARNING: ext/hash_map: proceeding with the compiler's result" >&5
20047 echo "$as_me: WARNING: ext/hash_map: proceeding with the compiler's result" >&2;}
20048 ac_header_preproc
=yes
20051 { echo "$as_me:$LINENO: WARNING: ext/hash_map: present but cannot be compiled" >&5
20052 echo "$as_me: WARNING: ext/hash_map: present but cannot be compiled" >&2;}
20053 { echo "$as_me:$LINENO: WARNING: ext/hash_map: check for missing prerequisite headers?" >&5
20054 echo "$as_me: WARNING: ext/hash_map: check for missing prerequisite headers?" >&2;}
20055 { echo "$as_me:$LINENO: WARNING: ext/hash_map: see the Autoconf documentation" >&5
20056 echo "$as_me: WARNING: ext/hash_map: see the Autoconf documentation" >&2;}
20057 { echo "$as_me:$LINENO: WARNING: ext/hash_map: section \"Present But Cannot Be Compiled\"" >&5
20058 echo "$as_me: WARNING: ext/hash_map: section \"Present But Cannot Be Compiled\"" >&2;}
20059 { echo "$as_me:$LINENO: WARNING: ext/hash_map: proceeding with the preprocessor's result" >&5
20060 echo "$as_me: WARNING: ext/hash_map: proceeding with the preprocessor's result" >&2;}
20061 { echo "$as_me:$LINENO: WARNING: ext/hash_map: in the future, the compiler will take precedence" >&5
20062 echo "$as_me: WARNING: ext/hash_map: in the future, the compiler will take precedence" >&2;}
20065 ## ----------------------------------------- ##
20066 ## Report this to wx-dev@lists.wxwidgets.org ##
20067 ## ----------------------------------------- ##
20070 sed "s/^/$as_me: WARNING: /" >&2
20073 echo "$as_me:$LINENO: checking for ext/hash_map" >&5
20074 echo $ECHO_N "checking for ext/hash_map... $ECHO_C" >&6
20075 if test "${ac_cv_header_ext_hash_map+set}" = set; then
20076 echo $ECHO_N "(cached) $ECHO_C" >&6
20078 ac_cv_header_ext_hash_map
=$ac_header_preproc
20080 echo "$as_me:$LINENO: result: $ac_cv_header_ext_hash_map" >&5
20081 echo "${ECHO_T}$ac_cv_header_ext_hash_map" >&6
20084 if test $ac_cv_header_ext_hash_map = yes; then
20085 echo "$as_me:$LINENO: checking for hash_map and hash_set" >&5
20086 echo $ECHO_N "checking for hash_map and hash_set... $ECHO_C" >&6
20087 cat >conftest.
$ac_ext <<_ACEOF
20090 cat confdefs.h
>>conftest.
$ac_ext
20091 cat >>conftest.
$ac_ext <<_ACEOF
20092 /* end confdefs.h. */
20093 #include <ext/hash_map>
20094 #include <ext/hash_set>
20098 __gnu_cxx::hash_map<double*, char*, __gnu_cxx::hash<double*>, std::equal_to<double*> > test1;
20099 __gnu_cxx::hash_set<char*, __gnu_cxx::hash<char*>, std::equal_to<char*> > test2;
20104 rm -f conftest.
$ac_objext
20105 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20106 (eval $ac_compile) 2>conftest.er1
20108 grep -v '^ *+' conftest.er1
>conftest.err
20110 cat conftest.err
>&5
20111 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20112 (exit $ac_status); } &&
20113 { ac_try
='test -z "$ac_cxx_werror_flag"
20114 || test ! -s conftest.err'
20115 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20116 (eval $ac_try) 2>&5
20118 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20119 (exit $ac_status); }; } &&
20120 { ac_try
='test -s conftest.$ac_objext'
20121 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20122 (eval $ac_try) 2>&5
20124 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20125 (exit $ac_status); }; }; then
20126 echo "$as_me:$LINENO: result: yes" >&5
20127 echo "${ECHO_T}yes" >&6
20128 cat >>confdefs.h
<<\_ACEOF
20129 #define HAVE_EXT_HASH_MAP 1
20132 cat >>confdefs.h
<<\_ACEOF
20133 #define HAVE_GNU_CXX_HASH_MAP 1
20137 echo "$as_me: failed program was:" >&5
20138 sed 's/^/| /' conftest.
$ac_ext >&5
20140 echo "$as_me:$LINENO: result: no" >&5
20141 echo "${ECHO_T}no" >&6
20143 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20150 ac_cpp
='$CPP $CPPFLAGS'
20151 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20152 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20153 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
20159 /usr/local/include \
20161 /usr/Motif-2.1/include \
20162 /usr/Motif-1.2/include \
20163 /usr/include/Motif1.2 \
20164 /opt/xpm/include/X11 \
20165 /opt/GBxpm/include/ \
20166 /opt/GBxpm/X11/include/ \
20169 /usr/openwin/include \
20173 /usr/X11R6/include \
20174 /usr/X11R6.4/include \
20175 /usr/X11R5/include \
20176 /usr/X11R4/include \
20178 /usr/include/X11R6 \
20179 /usr/include/X11R5 \
20180 /usr/include/X11R4 \
20182 /usr/local/X11R6/include \
20183 /usr/local/X11R5/include \
20184 /usr/local/X11R4/include \
20186 /usr/local/include/X11R6 \
20187 /usr/local/include/X11R5 \
20188 /usr/local/include/X11R4 \
20192 /usr/local/X11/include \
20193 /usr/local/include/X11 \
20195 /usr/X386/include \
20196 /usr/x386/include \
20197 /usr/XFree86/include/X11 \
20199 X:/XFree86/include \
20200 X:/XFree86/include/X11 \
20203 /usr/local/include/gtk \
20204 /usr/include/glib \
20205 /usr/local/include/glib \
20208 /usr/local/include/qt \
20210 /usr/local/arm/3.3.2/include \
20212 /usr/include/windows \
20213 /usr/include/wine \
20214 /usr/local/include/wine \
20216 /usr/unsupported/include \
20217 /usr/athena/include \
20218 /usr/local/x11r5/include \
20219 /usr/lpp/Xamples/include \
20221 /usr/openwin/share/include"
20223 SEARCH_LIB
="/usr/lib /usr/lib32 `echo "$SEARCH_INCLUDE" | sed s/include/lib/g` /usr/lib64 /usr/X11R6/lib64"
20226 cat >confcache
<<\_ACEOF
20227 # This file is a shell script that caches the results of configure
20228 # tests run on this system so they can be shared between configure
20229 # scripts and configure runs, see configure's option --config-cache.
20230 # It is not useful on other systems. If it contains results you don't
20231 # want to keep, you may remove or edit it.
20233 # config.status only pays attention to the cache file if you give it
20234 # the --recheck option to rerun configure.
20236 # `ac_cv_env_foo' variables (set or unset) will be overridden when
20237 # loading this file, other *unset* `ac_cv_foo' will be assigned the
20238 # following values.
20242 # The following way of writing the cache mishandles newlines in values,
20243 # but we know of no workaround that is simple, portable, and efficient.
20244 # So, don't put newlines in cache variables' values.
20245 # Ultrix sh set writes to stderr and can't be redirected directly,
20246 # and sets the high bit in the cache file unless we assign to the vars.
20249 case `(ac_space=' '; set | grep ac_space) 2>&1` in
20251 # `set' does not quote correctly, so add quotes (double-quote
20252 # substitution turns \\\\ into \\, and sed turns \\ into \).
20255 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
20258 # `set' quotes correctly as required by POSIX, so do not add quotes.
20260 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
20267 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
20269 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
20271 if diff $cache_file confcache
>/dev
/null
2>&1; then :; else
20272 if test -w $cache_file; then
20273 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
20274 cat confcache
>$cache_file
20276 echo "not updating unwritable cache $cache_file"
20281 if test "$USE_LINUX" = 1 -o "$USE_GNU" = 1; then
20282 echo "$as_me:$LINENO: checking for glibc 2.1 or later" >&5
20283 echo $ECHO_N "checking for glibc 2.1 or later... $ECHO_C" >&6
20284 if test "${wx_cv_lib_glibc21+set}" = set; then
20285 echo $ECHO_N "(cached) $ECHO_C" >&6
20288 cat >conftest.
$ac_ext <<_ACEOF
20291 cat confdefs.h
>>conftest.
$ac_ext
20292 cat >>conftest.
$ac_ext <<_ACEOF
20293 /* end confdefs.h. */
20294 #include <features.h>
20299 #if (__GLIBC__ < 2) || (__GLIBC_MINOR__ < 1)
20300 #error not glibc2.1
20307 rm -f conftest.
$ac_objext
20308 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20309 (eval $ac_compile) 2>conftest.er1
20311 grep -v '^ *+' conftest.er1
>conftest.err
20313 cat conftest.err
>&5
20314 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20315 (exit $ac_status); } &&
20316 { ac_try
='test -z "$ac_c_werror_flag"
20317 || test ! -s conftest.err'
20318 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20319 (eval $ac_try) 2>&5
20321 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20322 (exit $ac_status); }; } &&
20323 { ac_try
='test -s conftest.$ac_objext'
20324 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20325 (eval $ac_try) 2>&5
20327 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20328 (exit $ac_status); }; }; then
20330 wx_cv_lib_glibc21
=yes
20333 echo "$as_me: failed program was:" >&5
20334 sed 's/^/| /' conftest.
$ac_ext >&5
20337 wx_cv_lib_glibc21
=no
20341 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20344 echo "$as_me:$LINENO: result: $wx_cv_lib_glibc21" >&5
20345 echo "${ECHO_T}$wx_cv_lib_glibc21" >&6
20346 if test "$wx_cv_lib_glibc21" = "yes"; then
20347 cat >>confdefs.h
<<\_ACEOF
20348 #define wxHAVE_GLIBC2 1
20354 if test "x$wx_cv_lib_glibc21" = "xyes"; then
20355 if test "$wxUSE_UNICODE" = "yes" -o "$wxUSE_THREADS" = "yes"; then
20356 cat >>confdefs.h
<<\_ACEOF
20357 #define _GNU_SOURCE 1
20365 if test "$wxUSE_REGEX" != "no"; then
20366 cat >>confdefs.h
<<\_ACEOF
20367 #define wxUSE_REGEX 1
20371 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_REGEX" = "yes"; then
20372 { echo "$as_me:$LINENO: WARNING: Defaulting to the the builtin regex library for Unicode build." >&5
20373 echo "$as_me: WARNING: Defaulting to the the builtin regex library for Unicode build." >&2;}
20374 wxUSE_REGEX
=builtin
20377 if test "$wxUSE_REGEX" = "sys" -o "$wxUSE_REGEX" = "yes" ; then
20378 if test "${ac_cv_header_regex_h+set}" = set; then
20379 echo "$as_me:$LINENO: checking for regex.h" >&5
20380 echo $ECHO_N "checking for regex.h... $ECHO_C" >&6
20381 if test "${ac_cv_header_regex_h+set}" = set; then
20382 echo $ECHO_N "(cached) $ECHO_C" >&6
20384 echo "$as_me:$LINENO: result: $ac_cv_header_regex_h" >&5
20385 echo "${ECHO_T}$ac_cv_header_regex_h" >&6
20387 # Is the header compilable?
20388 echo "$as_me:$LINENO: checking regex.h usability" >&5
20389 echo $ECHO_N "checking regex.h usability... $ECHO_C" >&6
20390 cat >conftest.
$ac_ext <<_ACEOF
20393 cat confdefs.h
>>conftest.
$ac_ext
20394 cat >>conftest.
$ac_ext <<_ACEOF
20395 /* end confdefs.h. */
20396 $ac_includes_default
20399 rm -f conftest.
$ac_objext
20400 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20401 (eval $ac_compile) 2>conftest.er1
20403 grep -v '^ *+' conftest.er1
>conftest.err
20405 cat conftest.err
>&5
20406 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20407 (exit $ac_status); } &&
20408 { ac_try
='test -z "$ac_c_werror_flag"
20409 || test ! -s conftest.err'
20410 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20411 (eval $ac_try) 2>&5
20413 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20414 (exit $ac_status); }; } &&
20415 { ac_try
='test -s conftest.$ac_objext'
20416 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20417 (eval $ac_try) 2>&5
20419 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20420 (exit $ac_status); }; }; then
20421 ac_header_compiler
=yes
20423 echo "$as_me: failed program was:" >&5
20424 sed 's/^/| /' conftest.
$ac_ext >&5
20426 ac_header_compiler
=no
20428 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20429 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
20430 echo "${ECHO_T}$ac_header_compiler" >&6
20432 # Is the header present?
20433 echo "$as_me:$LINENO: checking regex.h presence" >&5
20434 echo $ECHO_N "checking regex.h presence... $ECHO_C" >&6
20435 cat >conftest.
$ac_ext <<_ACEOF
20438 cat confdefs.h
>>conftest.
$ac_ext
20439 cat >>conftest.
$ac_ext <<_ACEOF
20440 /* end confdefs.h. */
20443 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
20444 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
20446 grep -v '^ *+' conftest.er1
>conftest.err
20448 cat conftest.err
>&5
20449 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20450 (exit $ac_status); } >/dev
/null
; then
20451 if test -s conftest.err
; then
20452 ac_cpp_err
=$ac_c_preproc_warn_flag
20453 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
20460 if test -z "$ac_cpp_err"; then
20461 ac_header_preproc
=yes
20463 echo "$as_me: failed program was:" >&5
20464 sed 's/^/| /' conftest.
$ac_ext >&5
20466 ac_header_preproc
=no
20468 rm -f conftest.err conftest.
$ac_ext
20469 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
20470 echo "${ECHO_T}$ac_header_preproc" >&6
20472 # So? What about this header?
20473 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
20475 { echo "$as_me:$LINENO: WARNING: regex.h: accepted by the compiler, rejected by the preprocessor!" >&5
20476 echo "$as_me: WARNING: regex.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
20477 { echo "$as_me:$LINENO: WARNING: regex.h: proceeding with the compiler's result" >&5
20478 echo "$as_me: WARNING: regex.h: proceeding with the compiler's result" >&2;}
20479 ac_header_preproc
=yes
20482 { echo "$as_me:$LINENO: WARNING: regex.h: present but cannot be compiled" >&5
20483 echo "$as_me: WARNING: regex.h: present but cannot be compiled" >&2;}
20484 { echo "$as_me:$LINENO: WARNING: regex.h: check for missing prerequisite headers?" >&5
20485 echo "$as_me: WARNING: regex.h: check for missing prerequisite headers?" >&2;}
20486 { echo "$as_me:$LINENO: WARNING: regex.h: see the Autoconf documentation" >&5
20487 echo "$as_me: WARNING: regex.h: see the Autoconf documentation" >&2;}
20488 { echo "$as_me:$LINENO: WARNING: regex.h: section \"Present But Cannot Be Compiled\"" >&5
20489 echo "$as_me: WARNING: regex.h: section \"Present But Cannot Be Compiled\"" >&2;}
20490 { echo "$as_me:$LINENO: WARNING: regex.h: proceeding with the preprocessor's result" >&5
20491 echo "$as_me: WARNING: regex.h: proceeding with the preprocessor's result" >&2;}
20492 { echo "$as_me:$LINENO: WARNING: regex.h: in the future, the compiler will take precedence" >&5
20493 echo "$as_me: WARNING: regex.h: in the future, the compiler will take precedence" >&2;}
20496 ## ----------------------------------------- ##
20497 ## Report this to wx-dev@lists.wxwidgets.org ##
20498 ## ----------------------------------------- ##
20501 sed "s/^/$as_me: WARNING: /" >&2
20504 echo "$as_me:$LINENO: checking for regex.h" >&5
20505 echo $ECHO_N "checking for regex.h... $ECHO_C" >&6
20506 if test "${ac_cv_header_regex_h+set}" = set; then
20507 echo $ECHO_N "(cached) $ECHO_C" >&6
20509 ac_cv_header_regex_h
=$ac_header_preproc
20511 echo "$as_me:$LINENO: result: $ac_cv_header_regex_h" >&5
20512 echo "${ECHO_T}$ac_cv_header_regex_h" >&6
20515 if test $ac_cv_header_regex_h = yes; then
20517 for ac_func
in regcomp
20519 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
20520 echo "$as_me:$LINENO: checking for $ac_func" >&5
20521 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
20522 if eval "test \"\${$as_ac_var+set}\" = set"; then
20523 echo $ECHO_N "(cached) $ECHO_C" >&6
20525 cat >conftest.
$ac_ext <<_ACEOF
20528 cat confdefs.h
>>conftest.
$ac_ext
20529 cat >>conftest.
$ac_ext <<_ACEOF
20530 /* end confdefs.h. */
20531 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
20532 For example, HP-UX 11i <limits.h> declares gettimeofday. */
20533 #define $ac_func innocuous_$ac_func
20535 /* System header to define __stub macros and hopefully few prototypes,
20536 which can conflict with char $ac_func (); below.
20537 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
20538 <limits.h> exists even on freestanding compilers. */
20541 # include <limits.h>
20543 # include <assert.h>
20548 /* Override any gcc2 internal prototype to avoid an error. */
20553 /* We use char because int might match the return type of a gcc2
20554 builtin and then its argument prototype would still apply. */
20556 /* The GNU C library defines this for functions which it implements
20557 to always fail with ENOSYS. Some functions are actually named
20558 something starting with __ and the normal name is an alias. */
20559 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
20562 char (*f) () = $ac_func;
20571 return f != $ac_func;
20576 rm -f conftest.
$ac_objext conftest
$ac_exeext
20577 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20578 (eval $ac_link) 2>conftest.er1
20580 grep -v '^ *+' conftest.er1
>conftest.err
20582 cat conftest.err
>&5
20583 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20584 (exit $ac_status); } &&
20585 { ac_try
='test -z "$ac_c_werror_flag"
20586 || test ! -s conftest.err'
20587 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20588 (eval $ac_try) 2>&5
20590 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20591 (exit $ac_status); }; } &&
20592 { ac_try
='test -s conftest$ac_exeext'
20593 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20594 (eval $ac_try) 2>&5
20596 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20597 (exit $ac_status); }; }; then
20598 eval "$as_ac_var=yes"
20600 echo "$as_me: failed program was:" >&5
20601 sed 's/^/| /' conftest.
$ac_ext >&5
20603 eval "$as_ac_var=no"
20605 rm -f conftest.err conftest.
$ac_objext \
20606 conftest
$ac_exeext conftest.
$ac_ext
20608 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
20609 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
20610 if test `eval echo '${'$as_ac_var'}'` = yes; then
20611 cat >>confdefs.h
<<_ACEOF
20612 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
20622 if test "x$ac_cv_func_regcomp" != "xyes"; then
20623 if test "$wxUSE_REGEX" = "sys" ; then
20624 { { echo "$as_me:$LINENO: error: system regex library not found! Use --with-regex to use built-in version" >&5
20625 echo "$as_me: error: system regex library not found! Use --with-regex to use built-in version" >&2;}
20626 { (exit 1); exit 1; }; }
20628 { echo "$as_me:$LINENO: WARNING: system regex library not found, will use built-in instead" >&5
20629 echo "$as_me: WARNING: system regex library not found, will use built-in instead" >&2;}
20630 wxUSE_REGEX
=builtin
20634 cat >>confdefs.h
<<\_ACEOF
20635 #define WX_NO_REGEX_ADVANCED 1
20644 if test "$wxUSE_ZLIB" != "no" ; then
20645 cat >>confdefs.h
<<\_ACEOF
20646 #define wxUSE_ZLIB 1
20650 if test "$wxUSE_ZLIB" = "sys" -o "$wxUSE_ZLIB" = "yes" ; then
20651 if test "$USE_DARWIN" = 1; then
20652 system_zlib_h_ok
="yes"
20654 echo "$as_me:$LINENO: checking for zlib.h >= 1.1.4" >&5
20655 echo $ECHO_N "checking for zlib.h >= 1.1.4... $ECHO_C" >&6
20656 if test "${ac_cv_header_zlib_h+set}" = set; then
20657 echo $ECHO_N "(cached) $ECHO_C" >&6
20659 if test "$cross_compiling" = yes; then
20660 unset ac_cv_header_zlib_h
20663 cat >conftest.
$ac_ext <<_ACEOF
20666 cat confdefs.h
>>conftest.
$ac_ext
20667 cat >>conftest.
$ac_ext <<_ACEOF
20668 /* end confdefs.h. */
20675 FILE *f=fopen("conftestval", "w");
20678 ZLIB_VERSION[0] == '1' &&
20679 (ZLIB_VERSION[2] > '1' ||
20680 (ZLIB_VERSION[2] == '1' &&
20681 ZLIB_VERSION[4] >= '4')) ? "yes" : "no");
20686 rm -f conftest
$ac_exeext
20687 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20688 (eval $ac_link) 2>&5
20690 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20691 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
20692 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20693 (eval $ac_try) 2>&5
20695 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20696 (exit $ac_status); }; }; then
20697 ac_cv_header_zlib_h
=`cat conftestval`
20699 echo "$as_me: program exited with status $ac_status" >&5
20700 echo "$as_me: failed program was:" >&5
20701 sed 's/^/| /' conftest.
$ac_ext >&5
20703 ( exit $ac_status )
20704 ac_cv_header_zlib_h
=no
20706 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
20710 echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
20711 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6
20712 if test "${ac_cv_header_zlib_h+set}" = set; then
20713 echo "$as_me:$LINENO: checking for zlib.h" >&5
20714 echo $ECHO_N "checking for zlib.h... $ECHO_C" >&6
20715 if test "${ac_cv_header_zlib_h+set}" = set; then
20716 echo $ECHO_N "(cached) $ECHO_C" >&6
20718 echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
20719 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6
20721 # Is the header compilable?
20722 echo "$as_me:$LINENO: checking zlib.h usability" >&5
20723 echo $ECHO_N "checking zlib.h usability... $ECHO_C" >&6
20724 cat >conftest.
$ac_ext <<_ACEOF
20727 cat confdefs.h
>>conftest.
$ac_ext
20728 cat >>conftest.
$ac_ext <<_ACEOF
20729 /* end confdefs.h. */
20730 $ac_includes_default
20733 rm -f conftest.
$ac_objext
20734 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20735 (eval $ac_compile) 2>conftest.er1
20737 grep -v '^ *+' conftest.er1
>conftest.err
20739 cat conftest.err
>&5
20740 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20741 (exit $ac_status); } &&
20742 { ac_try
='test -z "$ac_c_werror_flag"
20743 || test ! -s conftest.err'
20744 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20745 (eval $ac_try) 2>&5
20747 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20748 (exit $ac_status); }; } &&
20749 { ac_try
='test -s conftest.$ac_objext'
20750 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20751 (eval $ac_try) 2>&5
20753 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20754 (exit $ac_status); }; }; then
20755 ac_header_compiler
=yes
20757 echo "$as_me: failed program was:" >&5
20758 sed 's/^/| /' conftest.
$ac_ext >&5
20760 ac_header_compiler
=no
20762 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20763 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
20764 echo "${ECHO_T}$ac_header_compiler" >&6
20766 # Is the header present?
20767 echo "$as_me:$LINENO: checking zlib.h presence" >&5
20768 echo $ECHO_N "checking zlib.h presence... $ECHO_C" >&6
20769 cat >conftest.
$ac_ext <<_ACEOF
20772 cat confdefs.h
>>conftest.
$ac_ext
20773 cat >>conftest.
$ac_ext <<_ACEOF
20774 /* end confdefs.h. */
20777 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
20778 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
20780 grep -v '^ *+' conftest.er1
>conftest.err
20782 cat conftest.err
>&5
20783 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20784 (exit $ac_status); } >/dev
/null
; then
20785 if test -s conftest.err
; then
20786 ac_cpp_err
=$ac_c_preproc_warn_flag
20787 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
20794 if test -z "$ac_cpp_err"; then
20795 ac_header_preproc
=yes
20797 echo "$as_me: failed program was:" >&5
20798 sed 's/^/| /' conftest.
$ac_ext >&5
20800 ac_header_preproc
=no
20802 rm -f conftest.err conftest.
$ac_ext
20803 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
20804 echo "${ECHO_T}$ac_header_preproc" >&6
20806 # So? What about this header?
20807 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
20809 { echo "$as_me:$LINENO: WARNING: zlib.h: accepted by the compiler, rejected by the preprocessor!" >&5
20810 echo "$as_me: WARNING: zlib.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
20811 { echo "$as_me:$LINENO: WARNING: zlib.h: proceeding with the compiler's result" >&5
20812 echo "$as_me: WARNING: zlib.h: proceeding with the compiler's result" >&2;}
20813 ac_header_preproc
=yes
20816 { echo "$as_me:$LINENO: WARNING: zlib.h: present but cannot be compiled" >&5
20817 echo "$as_me: WARNING: zlib.h: present but cannot be compiled" >&2;}
20818 { echo "$as_me:$LINENO: WARNING: zlib.h: check for missing prerequisite headers?" >&5
20819 echo "$as_me: WARNING: zlib.h: check for missing prerequisite headers?" >&2;}
20820 { echo "$as_me:$LINENO: WARNING: zlib.h: see the Autoconf documentation" >&5
20821 echo "$as_me: WARNING: zlib.h: see the Autoconf documentation" >&2;}
20822 { echo "$as_me:$LINENO: WARNING: zlib.h: section \"Present But Cannot Be Compiled\"" >&5
20823 echo "$as_me: WARNING: zlib.h: section \"Present But Cannot Be Compiled\"" >&2;}
20824 { echo "$as_me:$LINENO: WARNING: zlib.h: proceeding with the preprocessor's result" >&5
20825 echo "$as_me: WARNING: zlib.h: proceeding with the preprocessor's result" >&2;}
20826 { echo "$as_me:$LINENO: WARNING: zlib.h: in the future, the compiler will take precedence" >&5
20827 echo "$as_me: WARNING: zlib.h: in the future, the compiler will take precedence" >&2;}
20830 ## ----------------------------------------- ##
20831 ## Report this to wx-dev@lists.wxwidgets.org ##
20832 ## ----------------------------------------- ##
20835 sed "s/^/$as_me: WARNING: /" >&2
20838 echo "$as_me:$LINENO: checking for zlib.h" >&5
20839 echo $ECHO_N "checking for zlib.h... $ECHO_C" >&6
20840 if test "${ac_cv_header_zlib_h+set}" = set; then
20841 echo $ECHO_N "(cached) $ECHO_C" >&6
20843 ac_cv_header_zlib_h
=$ac_header_preproc
20845 echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
20846 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6
20852 system_zlib_h_ok
=$ac_cv_header_zlib_h
20855 if test "$system_zlib_h_ok" = "yes"; then
20856 echo "$as_me:$LINENO: checking for deflate in -lz" >&5
20857 echo $ECHO_N "checking for deflate in -lz... $ECHO_C" >&6
20858 if test "${ac_cv_lib_z_deflate+set}" = set; then
20859 echo $ECHO_N "(cached) $ECHO_C" >&6
20861 ac_check_lib_save_LIBS
=$LIBS
20863 cat >conftest.
$ac_ext <<_ACEOF
20866 cat confdefs.h
>>conftest.
$ac_ext
20867 cat >>conftest.
$ac_ext <<_ACEOF
20868 /* end confdefs.h. */
20870 /* Override any gcc2 internal prototype to avoid an error. */
20874 /* We use char because int might match the return type of a gcc2
20875 builtin and then its argument prototype would still apply. */
20885 rm -f conftest.
$ac_objext conftest
$ac_exeext
20886 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20887 (eval $ac_link) 2>conftest.er1
20889 grep -v '^ *+' conftest.er1
>conftest.err
20891 cat conftest.err
>&5
20892 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20893 (exit $ac_status); } &&
20894 { ac_try
='test -z "$ac_c_werror_flag"
20895 || test ! -s conftest.err'
20896 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20897 (eval $ac_try) 2>&5
20899 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20900 (exit $ac_status); }; } &&
20901 { ac_try
='test -s conftest$ac_exeext'
20902 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20903 (eval $ac_try) 2>&5
20905 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20906 (exit $ac_status); }; }; then
20907 ac_cv_lib_z_deflate
=yes
20909 echo "$as_me: failed program was:" >&5
20910 sed 's/^/| /' conftest.
$ac_ext >&5
20912 ac_cv_lib_z_deflate
=no
20914 rm -f conftest.err conftest.
$ac_objext \
20915 conftest
$ac_exeext conftest.
$ac_ext
20916 LIBS
=$ac_check_lib_save_LIBS
20918 echo "$as_me:$LINENO: result: $ac_cv_lib_z_deflate" >&5
20919 echo "${ECHO_T}$ac_cv_lib_z_deflate" >&6
20920 if test $ac_cv_lib_z_deflate = yes; then
20926 if test "x$ZLIB_LINK" = "x" ; then
20927 if test "$wxUSE_ZLIB" = "sys" ; then
20928 { { echo "$as_me:$LINENO: error: zlib library not found or too old! Use --with-zlib=builtin to use built-in version" >&5
20929 echo "$as_me: error: zlib library not found or too old! Use --with-zlib=builtin to use built-in version" >&2;}
20930 { (exit 1); exit 1; }; }
20932 { echo "$as_me:$LINENO: WARNING: zlib library not found or too old, will use built-in instead" >&5
20933 echo "$as_me: WARNING: zlib library not found or too old, will use built-in instead" >&2;}
20944 if test "$wxUSE_LIBPNG" != "no" ; then
20945 cat >>confdefs.h
<<\_ACEOF
20946 #define wxUSE_LIBPNG 1
20950 if test "$wxUSE_MGL" = 1 -a "$wxUSE_LIBPNG" = "builtin" ; then
20951 { echo "$as_me:$LINENO: WARNING: wxMGL doesn't work with builtin png library, will use MGL one instead" >&5
20952 echo "$as_me: WARNING: wxMGL doesn't work with builtin png library, will use MGL one instead" >&2;}
20956 if test "$wxUSE_MGL" != 1 -a "$wxUSE_LIBPNG" = "sys" -a "$wxUSE_ZLIB" != "sys" ; then
20957 { echo "$as_me:$LINENO: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&5
20958 echo "$as_me: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&2;}
20959 wxUSE_LIBPNG
=builtin
20962 if test "$wxUSE_MGL" != 1 ; then
20963 if test "$wxUSE_LIBPNG" = "sys" -o "$wxUSE_LIBPNG" = "yes" ; then
20964 echo "$as_me:$LINENO: checking for png.h > 0.90" >&5
20965 echo $ECHO_N "checking for png.h > 0.90... $ECHO_C" >&6
20966 if test "${ac_cv_header_png_h+set}" = set; then
20967 echo $ECHO_N "(cached) $ECHO_C" >&6
20969 if test "$cross_compiling" = yes; then
20970 unset ac_cv_header_png_h
20973 cat >conftest.
$ac_ext <<_ACEOF
20976 cat confdefs.h
>>conftest.
$ac_ext
20977 cat >>conftest.
$ac_ext <<_ACEOF
20978 /* end confdefs.h. */
20985 FILE *f=fopen("conftestval", "w");
20988 PNG_LIBPNG_VER > 90 ? "yes" : "no");
20993 rm -f conftest
$ac_exeext
20994 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20995 (eval $ac_link) 2>&5
20997 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20998 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
20999 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21000 (eval $ac_try) 2>&5
21002 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21003 (exit $ac_status); }; }; then
21004 ac_cv_header_png_h
=`cat conftestval`
21006 echo "$as_me: program exited with status $ac_status" >&5
21007 echo "$as_me: failed program was:" >&5
21008 sed 's/^/| /' conftest.
$ac_ext >&5
21010 ( exit $ac_status )
21011 ac_cv_header_png_h
=no
21013 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
21017 echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
21018 echo "${ECHO_T}$ac_cv_header_png_h" >&6
21019 if test "${ac_cv_header_png_h+set}" = set; then
21020 echo "$as_me:$LINENO: checking for png.h" >&5
21021 echo $ECHO_N "checking for png.h... $ECHO_C" >&6
21022 if test "${ac_cv_header_png_h+set}" = set; then
21023 echo $ECHO_N "(cached) $ECHO_C" >&6
21025 echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
21026 echo "${ECHO_T}$ac_cv_header_png_h" >&6
21028 # Is the header compilable?
21029 echo "$as_me:$LINENO: checking png.h usability" >&5
21030 echo $ECHO_N "checking png.h usability... $ECHO_C" >&6
21031 cat >conftest.
$ac_ext <<_ACEOF
21034 cat confdefs.h
>>conftest.
$ac_ext
21035 cat >>conftest.
$ac_ext <<_ACEOF
21036 /* end confdefs.h. */
21037 $ac_includes_default
21040 rm -f conftest.
$ac_objext
21041 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21042 (eval $ac_compile) 2>conftest.er1
21044 grep -v '^ *+' conftest.er1
>conftest.err
21046 cat conftest.err
>&5
21047 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21048 (exit $ac_status); } &&
21049 { ac_try
='test -z "$ac_c_werror_flag"
21050 || test ! -s conftest.err'
21051 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21052 (eval $ac_try) 2>&5
21054 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21055 (exit $ac_status); }; } &&
21056 { ac_try
='test -s conftest.$ac_objext'
21057 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21058 (eval $ac_try) 2>&5
21060 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21061 (exit $ac_status); }; }; then
21062 ac_header_compiler
=yes
21064 echo "$as_me: failed program was:" >&5
21065 sed 's/^/| /' conftest.
$ac_ext >&5
21067 ac_header_compiler
=no
21069 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21070 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
21071 echo "${ECHO_T}$ac_header_compiler" >&6
21073 # Is the header present?
21074 echo "$as_me:$LINENO: checking png.h presence" >&5
21075 echo $ECHO_N "checking png.h presence... $ECHO_C" >&6
21076 cat >conftest.
$ac_ext <<_ACEOF
21079 cat confdefs.h
>>conftest.
$ac_ext
21080 cat >>conftest.
$ac_ext <<_ACEOF
21081 /* end confdefs.h. */
21084 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
21085 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
21087 grep -v '^ *+' conftest.er1
>conftest.err
21089 cat conftest.err
>&5
21090 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21091 (exit $ac_status); } >/dev
/null
; then
21092 if test -s conftest.err
; then
21093 ac_cpp_err
=$ac_c_preproc_warn_flag
21094 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
21101 if test -z "$ac_cpp_err"; then
21102 ac_header_preproc
=yes
21104 echo "$as_me: failed program was:" >&5
21105 sed 's/^/| /' conftest.
$ac_ext >&5
21107 ac_header_preproc
=no
21109 rm -f conftest.err conftest.
$ac_ext
21110 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
21111 echo "${ECHO_T}$ac_header_preproc" >&6
21113 # So? What about this header?
21114 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
21116 { echo "$as_me:$LINENO: WARNING: png.h: accepted by the compiler, rejected by the preprocessor!" >&5
21117 echo "$as_me: WARNING: png.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
21118 { echo "$as_me:$LINENO: WARNING: png.h: proceeding with the compiler's result" >&5
21119 echo "$as_me: WARNING: png.h: proceeding with the compiler's result" >&2;}
21120 ac_header_preproc
=yes
21123 { echo "$as_me:$LINENO: WARNING: png.h: present but cannot be compiled" >&5
21124 echo "$as_me: WARNING: png.h: present but cannot be compiled" >&2;}
21125 { echo "$as_me:$LINENO: WARNING: png.h: check for missing prerequisite headers?" >&5
21126 echo "$as_me: WARNING: png.h: check for missing prerequisite headers?" >&2;}
21127 { echo "$as_me:$LINENO: WARNING: png.h: see the Autoconf documentation" >&5
21128 echo "$as_me: WARNING: png.h: see the Autoconf documentation" >&2;}
21129 { echo "$as_me:$LINENO: WARNING: png.h: section \"Present But Cannot Be Compiled\"" >&5
21130 echo "$as_me: WARNING: png.h: section \"Present But Cannot Be Compiled\"" >&2;}
21131 { echo "$as_me:$LINENO: WARNING: png.h: proceeding with the preprocessor's result" >&5
21132 echo "$as_me: WARNING: png.h: proceeding with the preprocessor's result" >&2;}
21133 { echo "$as_me:$LINENO: WARNING: png.h: in the future, the compiler will take precedence" >&5
21134 echo "$as_me: WARNING: png.h: in the future, the compiler will take precedence" >&2;}
21137 ## ----------------------------------------- ##
21138 ## Report this to wx-dev@lists.wxwidgets.org ##
21139 ## ----------------------------------------- ##
21142 sed "s/^/$as_me: WARNING: /" >&2
21145 echo "$as_me:$LINENO: checking for png.h" >&5
21146 echo $ECHO_N "checking for png.h... $ECHO_C" >&6
21147 if test "${ac_cv_header_png_h+set}" = set; then
21148 echo $ECHO_N "(cached) $ECHO_C" >&6
21150 ac_cv_header_png_h
=$ac_header_preproc
21152 echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
21153 echo "${ECHO_T}$ac_cv_header_png_h" >&6
21159 if test "$ac_cv_header_png_h" = "yes"; then
21160 echo "$as_me:$LINENO: checking for png_check_sig in -lpng" >&5
21161 echo $ECHO_N "checking for png_check_sig in -lpng... $ECHO_C" >&6
21162 if test "${ac_cv_lib_png_png_check_sig+set}" = set; then
21163 echo $ECHO_N "(cached) $ECHO_C" >&6
21165 ac_check_lib_save_LIBS
=$LIBS
21166 LIBS
="-lpng -lz -lm $LIBS"
21167 cat >conftest.
$ac_ext <<_ACEOF
21170 cat confdefs.h
>>conftest.
$ac_ext
21171 cat >>conftest.
$ac_ext <<_ACEOF
21172 /* end confdefs.h. */
21174 /* Override any gcc2 internal prototype to avoid an error. */
21178 /* We use char because int might match the return type of a gcc2
21179 builtin and then its argument prototype would still apply. */
21180 char png_check_sig ();
21189 rm -f conftest.
$ac_objext conftest
$ac_exeext
21190 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21191 (eval $ac_link) 2>conftest.er1
21193 grep -v '^ *+' conftest.er1
>conftest.err
21195 cat conftest.err
>&5
21196 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21197 (exit $ac_status); } &&
21198 { ac_try
='test -z "$ac_c_werror_flag"
21199 || test ! -s conftest.err'
21200 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21201 (eval $ac_try) 2>&5
21203 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21204 (exit $ac_status); }; } &&
21205 { ac_try
='test -s conftest$ac_exeext'
21206 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21207 (eval $ac_try) 2>&5
21209 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21210 (exit $ac_status); }; }; then
21211 ac_cv_lib_png_png_check_sig
=yes
21213 echo "$as_me: failed program was:" >&5
21214 sed 's/^/| /' conftest.
$ac_ext >&5
21216 ac_cv_lib_png_png_check_sig
=no
21218 rm -f conftest.err conftest.
$ac_objext \
21219 conftest
$ac_exeext conftest.
$ac_ext
21220 LIBS
=$ac_check_lib_save_LIBS
21222 echo "$as_me:$LINENO: result: $ac_cv_lib_png_png_check_sig" >&5
21223 echo "${ECHO_T}$ac_cv_lib_png_png_check_sig" >&6
21224 if test $ac_cv_lib_png_png_check_sig = yes; then
21225 PNG_LINK
=" -lpng -lz"
21230 if test "x$PNG_LINK" = "x" ; then
21231 if test "$wxUSE_LIBPNG" = "sys" ; then
21232 { { echo "$as_me:$LINENO: error: system png library not found or too old! Use --with-libpng=builtin to use built-in version" >&5
21233 echo "$as_me: error: system png library not found or too old! Use --with-libpng=builtin to use built-in version" >&2;}
21234 { (exit 1); exit 1; }; }
21236 { echo "$as_me:$LINENO: WARNING: system png library not found or too old, will use built-in instead" >&5
21237 echo "$as_me: WARNING: system png library not found or too old, will use built-in instead" >&2;}
21238 wxUSE_LIBPNG
=builtin
21246 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS png"
21251 if test "$wxUSE_LIBJPEG" != "no" ; then
21252 cat >>confdefs.h
<<\_ACEOF
21253 #define wxUSE_LIBJPEG 1
21257 if test "$wxUSE_MGL" = 1 -a "$wxUSE_LIBJPEG" = "builtin" ; then
21258 { echo "$as_me:$LINENO: WARNING: wxMGL doesn't work with builtin jpeg library, will use MGL one instead" >&5
21259 echo "$as_me: WARNING: wxMGL doesn't work with builtin jpeg library, will use MGL one instead" >&2;}
21263 if test "$wxUSE_MGL" != 1 ; then
21264 if test "$wxUSE_LIBJPEG" = "sys" -o "$wxUSE_LIBJPEG" = "yes" ; then
21265 echo "$as_me:$LINENO: checking for jpeglib.h" >&5
21266 echo $ECHO_N "checking for jpeglib.h... $ECHO_C" >&6
21267 if test "${ac_cv_header_jpeglib_h+set}" = set; then
21268 echo $ECHO_N "(cached) $ECHO_C" >&6
21270 cat >conftest.
$ac_ext <<_ACEOF
21273 cat confdefs.h
>>conftest.
$ac_ext
21274 cat >>conftest.
$ac_ext <<_ACEOF
21275 /* end confdefs.h. */
21277 #undef HAVE_STDLIB_H
21279 #include <jpeglib.h>
21290 rm -f conftest.
$ac_objext
21291 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21292 (eval $ac_compile) 2>conftest.er1
21294 grep -v '^ *+' conftest.er1
>conftest.err
21296 cat conftest.err
>&5
21297 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21298 (exit $ac_status); } &&
21299 { ac_try
='test -z "$ac_c_werror_flag"
21300 || test ! -s conftest.err'
21301 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21302 (eval $ac_try) 2>&5
21304 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21305 (exit $ac_status); }; } &&
21306 { ac_try
='test -s conftest.$ac_objext'
21307 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21308 (eval $ac_try) 2>&5
21310 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21311 (exit $ac_status); }; }; then
21312 ac_cv_header_jpeglib_h
=yes
21314 echo "$as_me: failed program was:" >&5
21315 sed 's/^/| /' conftest.
$ac_ext >&5
21317 ac_cv_header_jpeglib_h
=no
21320 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21324 echo "$as_me:$LINENO: result: $ac_cv_header_jpeglib_h" >&5
21325 echo "${ECHO_T}$ac_cv_header_jpeglib_h" >&6
21327 if test "$ac_cv_header_jpeglib_h" = "yes"; then
21328 echo "$as_me:$LINENO: checking for jpeg_read_header in -ljpeg" >&5
21329 echo $ECHO_N "checking for jpeg_read_header in -ljpeg... $ECHO_C" >&6
21330 if test "${ac_cv_lib_jpeg_jpeg_read_header+set}" = set; then
21331 echo $ECHO_N "(cached) $ECHO_C" >&6
21333 ac_check_lib_save_LIBS
=$LIBS
21334 LIBS
="-ljpeg $LIBS"
21335 cat >conftest.
$ac_ext <<_ACEOF
21338 cat confdefs.h
>>conftest.
$ac_ext
21339 cat >>conftest.
$ac_ext <<_ACEOF
21340 /* end confdefs.h. */
21342 /* Override any gcc2 internal prototype to avoid an error. */
21346 /* We use char because int might match the return type of a gcc2
21347 builtin and then its argument prototype would still apply. */
21348 char jpeg_read_header ();
21352 jpeg_read_header ();
21357 rm -f conftest.
$ac_objext conftest
$ac_exeext
21358 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21359 (eval $ac_link) 2>conftest.er1
21361 grep -v '^ *+' conftest.er1
>conftest.err
21363 cat conftest.err
>&5
21364 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21365 (exit $ac_status); } &&
21366 { ac_try
='test -z "$ac_c_werror_flag"
21367 || test ! -s conftest.err'
21368 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21369 (eval $ac_try) 2>&5
21371 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21372 (exit $ac_status); }; } &&
21373 { ac_try
='test -s conftest$ac_exeext'
21374 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21375 (eval $ac_try) 2>&5
21377 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21378 (exit $ac_status); }; }; then
21379 ac_cv_lib_jpeg_jpeg_read_header
=yes
21381 echo "$as_me: failed program was:" >&5
21382 sed 's/^/| /' conftest.
$ac_ext >&5
21384 ac_cv_lib_jpeg_jpeg_read_header
=no
21386 rm -f conftest.err conftest.
$ac_objext \
21387 conftest
$ac_exeext conftest.
$ac_ext
21388 LIBS
=$ac_check_lib_save_LIBS
21390 echo "$as_me:$LINENO: result: $ac_cv_lib_jpeg_jpeg_read_header" >&5
21391 echo "${ECHO_T}$ac_cv_lib_jpeg_jpeg_read_header" >&6
21392 if test $ac_cv_lib_jpeg_jpeg_read_header = yes; then
21393 JPEG_LINK
=" -ljpeg"
21398 if test "x$JPEG_LINK" = "x" ; then
21399 if test "$wxUSE_LIBJPEG" = "sys" ; then
21400 { { echo "$as_me:$LINENO: error: system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" >&5
21401 echo "$as_me: error: system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" >&2;}
21402 { (exit 1); exit 1; }; }
21404 { echo "$as_me:$LINENO: WARNING: system jpeg library not found, will use built-in instead" >&5
21405 echo "$as_me: WARNING: system jpeg library not found, will use built-in instead" >&2;}
21406 wxUSE_LIBJPEG
=builtin
21417 TIFF_PREREQ_LINKS
=-lm
21418 if test "$wxUSE_LIBTIFF" != "no" ; then
21419 cat >>confdefs.h
<<\_ACEOF
21420 #define wxUSE_LIBTIFF 1
21424 if test "$wxUSE_LIBTIFF" = "sys" -o "$wxUSE_LIBTIFF" = "yes" ; then
21425 if test "$wxUSE_LIBJPEG" = "sys"; then
21426 TIFF_PREREQ_LINKS
="$TIFF_PREREQ_LINKS $JPEG_LINK"
21428 if test "$wxUSE_ZLIB" = "sys"; then
21429 TIFF_PREREQ_LINKS
="$TIFF_PREREQ_LINKS $ZLIB_LINK"
21431 if test "${ac_cv_header_tiffio_h+set}" = set; then
21432 echo "$as_me:$LINENO: checking for tiffio.h" >&5
21433 echo $ECHO_N "checking for tiffio.h... $ECHO_C" >&6
21434 if test "${ac_cv_header_tiffio_h+set}" = set; then
21435 echo $ECHO_N "(cached) $ECHO_C" >&6
21437 echo "$as_me:$LINENO: result: $ac_cv_header_tiffio_h" >&5
21438 echo "${ECHO_T}$ac_cv_header_tiffio_h" >&6
21440 # Is the header compilable?
21441 echo "$as_me:$LINENO: checking tiffio.h usability" >&5
21442 echo $ECHO_N "checking tiffio.h usability... $ECHO_C" >&6
21443 cat >conftest.
$ac_ext <<_ACEOF
21446 cat confdefs.h
>>conftest.
$ac_ext
21447 cat >>conftest.
$ac_ext <<_ACEOF
21448 /* end confdefs.h. */
21449 $ac_includes_default
21450 #include <tiffio.h>
21452 rm -f conftest.
$ac_objext
21453 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21454 (eval $ac_compile) 2>conftest.er1
21456 grep -v '^ *+' conftest.er1
>conftest.err
21458 cat conftest.err
>&5
21459 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21460 (exit $ac_status); } &&
21461 { ac_try
='test -z "$ac_c_werror_flag"
21462 || test ! -s conftest.err'
21463 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21464 (eval $ac_try) 2>&5
21466 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21467 (exit $ac_status); }; } &&
21468 { ac_try
='test -s conftest.$ac_objext'
21469 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21470 (eval $ac_try) 2>&5
21472 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21473 (exit $ac_status); }; }; then
21474 ac_header_compiler
=yes
21476 echo "$as_me: failed program was:" >&5
21477 sed 's/^/| /' conftest.
$ac_ext >&5
21479 ac_header_compiler
=no
21481 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21482 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
21483 echo "${ECHO_T}$ac_header_compiler" >&6
21485 # Is the header present?
21486 echo "$as_me:$LINENO: checking tiffio.h presence" >&5
21487 echo $ECHO_N "checking tiffio.h presence... $ECHO_C" >&6
21488 cat >conftest.
$ac_ext <<_ACEOF
21491 cat confdefs.h
>>conftest.
$ac_ext
21492 cat >>conftest.
$ac_ext <<_ACEOF
21493 /* end confdefs.h. */
21494 #include <tiffio.h>
21496 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
21497 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
21499 grep -v '^ *+' conftest.er1
>conftest.err
21501 cat conftest.err
>&5
21502 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21503 (exit $ac_status); } >/dev
/null
; then
21504 if test -s conftest.err
; then
21505 ac_cpp_err
=$ac_c_preproc_warn_flag
21506 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
21513 if test -z "$ac_cpp_err"; then
21514 ac_header_preproc
=yes
21516 echo "$as_me: failed program was:" >&5
21517 sed 's/^/| /' conftest.
$ac_ext >&5
21519 ac_header_preproc
=no
21521 rm -f conftest.err conftest.
$ac_ext
21522 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
21523 echo "${ECHO_T}$ac_header_preproc" >&6
21525 # So? What about this header?
21526 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
21528 { echo "$as_me:$LINENO: WARNING: tiffio.h: accepted by the compiler, rejected by the preprocessor!" >&5
21529 echo "$as_me: WARNING: tiffio.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
21530 { echo "$as_me:$LINENO: WARNING: tiffio.h: proceeding with the compiler's result" >&5
21531 echo "$as_me: WARNING: tiffio.h: proceeding with the compiler's result" >&2;}
21532 ac_header_preproc
=yes
21535 { echo "$as_me:$LINENO: WARNING: tiffio.h: present but cannot be compiled" >&5
21536 echo "$as_me: WARNING: tiffio.h: present but cannot be compiled" >&2;}
21537 { echo "$as_me:$LINENO: WARNING: tiffio.h: check for missing prerequisite headers?" >&5
21538 echo "$as_me: WARNING: tiffio.h: check for missing prerequisite headers?" >&2;}
21539 { echo "$as_me:$LINENO: WARNING: tiffio.h: see the Autoconf documentation" >&5
21540 echo "$as_me: WARNING: tiffio.h: see the Autoconf documentation" >&2;}
21541 { echo "$as_me:$LINENO: WARNING: tiffio.h: section \"Present But Cannot Be Compiled\"" >&5
21542 echo "$as_me: WARNING: tiffio.h: section \"Present But Cannot Be Compiled\"" >&2;}
21543 { echo "$as_me:$LINENO: WARNING: tiffio.h: proceeding with the preprocessor's result" >&5
21544 echo "$as_me: WARNING: tiffio.h: proceeding with the preprocessor's result" >&2;}
21545 { echo "$as_me:$LINENO: WARNING: tiffio.h: in the future, the compiler will take precedence" >&5
21546 echo "$as_me: WARNING: tiffio.h: in the future, the compiler will take precedence" >&2;}
21549 ## ----------------------------------------- ##
21550 ## Report this to wx-dev@lists.wxwidgets.org ##
21551 ## ----------------------------------------- ##
21554 sed "s/^/$as_me: WARNING: /" >&2
21557 echo "$as_me:$LINENO: checking for tiffio.h" >&5
21558 echo $ECHO_N "checking for tiffio.h... $ECHO_C" >&6
21559 if test "${ac_cv_header_tiffio_h+set}" = set; then
21560 echo $ECHO_N "(cached) $ECHO_C" >&6
21562 ac_cv_header_tiffio_h
=$ac_header_preproc
21564 echo "$as_me:$LINENO: result: $ac_cv_header_tiffio_h" >&5
21565 echo "${ECHO_T}$ac_cv_header_tiffio_h" >&6
21568 if test $ac_cv_header_tiffio_h = yes; then
21570 echo "$as_me:$LINENO: checking for TIFFError in -ltiff" >&5
21571 echo $ECHO_N "checking for TIFFError in -ltiff... $ECHO_C" >&6
21572 if test "${ac_cv_lib_tiff_TIFFError+set}" = set; then
21573 echo $ECHO_N "(cached) $ECHO_C" >&6
21575 ac_check_lib_save_LIBS
=$LIBS
21576 LIBS
="-ltiff $TIFF_PREREQ_LINKS $LIBS"
21577 cat >conftest.
$ac_ext <<_ACEOF
21580 cat confdefs.h
>>conftest.
$ac_ext
21581 cat >>conftest.
$ac_ext <<_ACEOF
21582 /* end confdefs.h. */
21584 /* Override any gcc2 internal prototype to avoid an error. */
21588 /* We use char because int might match the return type of a gcc2
21589 builtin and then its argument prototype would still apply. */
21599 rm -f conftest.
$ac_objext conftest
$ac_exeext
21600 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21601 (eval $ac_link) 2>conftest.er1
21603 grep -v '^ *+' conftest.er1
>conftest.err
21605 cat conftest.err
>&5
21606 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21607 (exit $ac_status); } &&
21608 { ac_try
='test -z "$ac_c_werror_flag"
21609 || test ! -s conftest.err'
21610 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21611 (eval $ac_try) 2>&5
21613 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21614 (exit $ac_status); }; } &&
21615 { ac_try
='test -s conftest$ac_exeext'
21616 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21617 (eval $ac_try) 2>&5
21619 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21620 (exit $ac_status); }; }; then
21621 ac_cv_lib_tiff_TIFFError
=yes
21623 echo "$as_me: failed program was:" >&5
21624 sed 's/^/| /' conftest.
$ac_ext >&5
21626 ac_cv_lib_tiff_TIFFError
=no
21628 rm -f conftest.err conftest.
$ac_objext \
21629 conftest
$ac_exeext conftest.
$ac_ext
21630 LIBS
=$ac_check_lib_save_LIBS
21632 echo "$as_me:$LINENO: result: $ac_cv_lib_tiff_TIFFError" >&5
21633 echo "${ECHO_T}$ac_cv_lib_tiff_TIFFError" >&6
21634 if test $ac_cv_lib_tiff_TIFFError = yes; then
21635 TIFF_LINK
=" -ltiff"
21644 if test "x$TIFF_LINK" = "x" ; then
21645 if test "$wxUSE_LIBTIFF" = "sys" ; then
21646 { { echo "$as_me:$LINENO: error: system tiff library not found! Use --with-libtiff=builtin to use built-in version" >&5
21647 echo "$as_me: error: system tiff library not found! Use --with-libtiff=builtin to use built-in version" >&2;}
21648 { (exit 1); exit 1; }; }
21650 { echo "$as_me:$LINENO: WARNING: system tiff library not found, will use built-in instead" >&5
21651 echo "$as_me: WARNING: system tiff library not found, will use built-in instead" >&2;}
21652 wxUSE_LIBTIFF
=builtin
21661 if test "$wxUSE_EXPAT" != "no"; then
21663 cat >>confdefs.h
<<\_ACEOF
21664 #define wxUSE_EXPAT 1
21667 cat >>confdefs.h
<<\_ACEOF
21668 #define wxUSE_XML 1
21672 if test "$wxUSE_EXPAT" = "sys" -o "$wxUSE_EXPAT" = "yes" ; then
21673 if test "${ac_cv_header_expat_h+set}" = set; then
21674 echo "$as_me:$LINENO: checking for expat.h" >&5
21675 echo $ECHO_N "checking for expat.h... $ECHO_C" >&6
21676 if test "${ac_cv_header_expat_h+set}" = set; then
21677 echo $ECHO_N "(cached) $ECHO_C" >&6
21679 echo "$as_me:$LINENO: result: $ac_cv_header_expat_h" >&5
21680 echo "${ECHO_T}$ac_cv_header_expat_h" >&6
21682 # Is the header compilable?
21683 echo "$as_me:$LINENO: checking expat.h usability" >&5
21684 echo $ECHO_N "checking expat.h usability... $ECHO_C" >&6
21685 cat >conftest.
$ac_ext <<_ACEOF
21688 cat confdefs.h
>>conftest.
$ac_ext
21689 cat >>conftest.
$ac_ext <<_ACEOF
21690 /* end confdefs.h. */
21691 $ac_includes_default
21694 rm -f conftest.
$ac_objext
21695 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21696 (eval $ac_compile) 2>conftest.er1
21698 grep -v '^ *+' conftest.er1
>conftest.err
21700 cat conftest.err
>&5
21701 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21702 (exit $ac_status); } &&
21703 { ac_try
='test -z "$ac_c_werror_flag"
21704 || test ! -s conftest.err'
21705 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21706 (eval $ac_try) 2>&5
21708 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21709 (exit $ac_status); }; } &&
21710 { ac_try
='test -s conftest.$ac_objext'
21711 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21712 (eval $ac_try) 2>&5
21714 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21715 (exit $ac_status); }; }; then
21716 ac_header_compiler
=yes
21718 echo "$as_me: failed program was:" >&5
21719 sed 's/^/| /' conftest.
$ac_ext >&5
21721 ac_header_compiler
=no
21723 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21724 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
21725 echo "${ECHO_T}$ac_header_compiler" >&6
21727 # Is the header present?
21728 echo "$as_me:$LINENO: checking expat.h presence" >&5
21729 echo $ECHO_N "checking expat.h presence... $ECHO_C" >&6
21730 cat >conftest.
$ac_ext <<_ACEOF
21733 cat confdefs.h
>>conftest.
$ac_ext
21734 cat >>conftest.
$ac_ext <<_ACEOF
21735 /* end confdefs.h. */
21738 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
21739 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
21741 grep -v '^ *+' conftest.er1
>conftest.err
21743 cat conftest.err
>&5
21744 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21745 (exit $ac_status); } >/dev
/null
; then
21746 if test -s conftest.err
; then
21747 ac_cpp_err
=$ac_c_preproc_warn_flag
21748 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
21755 if test -z "$ac_cpp_err"; then
21756 ac_header_preproc
=yes
21758 echo "$as_me: failed program was:" >&5
21759 sed 's/^/| /' conftest.
$ac_ext >&5
21761 ac_header_preproc
=no
21763 rm -f conftest.err conftest.
$ac_ext
21764 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
21765 echo "${ECHO_T}$ac_header_preproc" >&6
21767 # So? What about this header?
21768 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
21770 { echo "$as_me:$LINENO: WARNING: expat.h: accepted by the compiler, rejected by the preprocessor!" >&5
21771 echo "$as_me: WARNING: expat.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
21772 { echo "$as_me:$LINENO: WARNING: expat.h: proceeding with the compiler's result" >&5
21773 echo "$as_me: WARNING: expat.h: proceeding with the compiler's result" >&2;}
21774 ac_header_preproc
=yes
21777 { echo "$as_me:$LINENO: WARNING: expat.h: present but cannot be compiled" >&5
21778 echo "$as_me: WARNING: expat.h: present but cannot be compiled" >&2;}
21779 { echo "$as_me:$LINENO: WARNING: expat.h: check for missing prerequisite headers?" >&5
21780 echo "$as_me: WARNING: expat.h: check for missing prerequisite headers?" >&2;}
21781 { echo "$as_me:$LINENO: WARNING: expat.h: see the Autoconf documentation" >&5
21782 echo "$as_me: WARNING: expat.h: see the Autoconf documentation" >&2;}
21783 { echo "$as_me:$LINENO: WARNING: expat.h: section \"Present But Cannot Be Compiled\"" >&5
21784 echo "$as_me: WARNING: expat.h: section \"Present But Cannot Be Compiled\"" >&2;}
21785 { echo "$as_me:$LINENO: WARNING: expat.h: proceeding with the preprocessor's result" >&5
21786 echo "$as_me: WARNING: expat.h: proceeding with the preprocessor's result" >&2;}
21787 { echo "$as_me:$LINENO: WARNING: expat.h: in the future, the compiler will take precedence" >&5
21788 echo "$as_me: WARNING: expat.h: in the future, the compiler will take precedence" >&2;}
21791 ## ----------------------------------------- ##
21792 ## Report this to wx-dev@lists.wxwidgets.org ##
21793 ## ----------------------------------------- ##
21796 sed "s/^/$as_me: WARNING: /" >&2
21799 echo "$as_me:$LINENO: checking for expat.h" >&5
21800 echo $ECHO_N "checking for expat.h... $ECHO_C" >&6
21801 if test "${ac_cv_header_expat_h+set}" = set; then
21802 echo $ECHO_N "(cached) $ECHO_C" >&6
21804 ac_cv_header_expat_h
=$ac_header_preproc
21806 echo "$as_me:$LINENO: result: $ac_cv_header_expat_h" >&5
21807 echo "${ECHO_T}$ac_cv_header_expat_h" >&6
21810 if test $ac_cv_header_expat_h = yes; then
21815 if test "x$found_expat_h" = "x1"; then
21816 echo "$as_me:$LINENO: checking if expat.h is valid C++ header" >&5
21817 echo $ECHO_N "checking if expat.h is valid C++ header... $ECHO_C" >&6
21818 if test "${wx_cv_expat_is_not_broken+set}" = set; then
21819 echo $ECHO_N "(cached) $ECHO_C" >&6
21825 ac_cpp
='$CXXCPP $CPPFLAGS'
21826 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21827 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21828 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
21830 cat >conftest.
$ac_ext <<_ACEOF
21833 cat confdefs.h
>>conftest.
$ac_ext
21834 cat >>conftest.
$ac_ext <<_ACEOF
21835 /* end confdefs.h. */
21845 rm -f conftest.
$ac_objext
21846 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21847 (eval $ac_compile) 2>conftest.er1
21849 grep -v '^ *+' conftest.er1
>conftest.err
21851 cat conftest.err
>&5
21852 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21853 (exit $ac_status); } &&
21854 { ac_try
='test -z "$ac_cxx_werror_flag"
21855 || test ! -s conftest.err'
21856 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21857 (eval $ac_try) 2>&5
21859 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21860 (exit $ac_status); }; } &&
21861 { ac_try
='test -s conftest.$ac_objext'
21862 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21863 (eval $ac_try) 2>&5
21865 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21866 (exit $ac_status); }; }; then
21867 wx_cv_expat_is_not_broken
=yes
21869 echo "$as_me: failed program was:" >&5
21870 sed 's/^/| /' conftest.
$ac_ext >&5
21872 wx_cv_expat_is_not_broken
=no
21875 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21877 ac_cpp
='$CPP $CPPFLAGS'
21878 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21879 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21880 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
21885 echo "$as_me:$LINENO: result: $wx_cv_expat_is_not_broken" >&5
21886 echo "${ECHO_T}$wx_cv_expat_is_not_broken" >&6
21887 if test "$wx_cv_expat_is_not_broken" = "yes" ; then
21888 echo "$as_me:$LINENO: checking for XML_ParserCreate in -lexpat" >&5
21889 echo $ECHO_N "checking for XML_ParserCreate in -lexpat... $ECHO_C" >&6
21890 if test "${ac_cv_lib_expat_XML_ParserCreate+set}" = set; then
21891 echo $ECHO_N "(cached) $ECHO_C" >&6
21893 ac_check_lib_save_LIBS
=$LIBS
21894 LIBS
="-lexpat $LIBS"
21895 cat >conftest.
$ac_ext <<_ACEOF
21898 cat confdefs.h
>>conftest.
$ac_ext
21899 cat >>conftest.
$ac_ext <<_ACEOF
21900 /* end confdefs.h. */
21902 /* Override any gcc2 internal prototype to avoid an error. */
21906 /* We use char because int might match the return type of a gcc2
21907 builtin and then its argument prototype would still apply. */
21908 char XML_ParserCreate ();
21912 XML_ParserCreate ();
21917 rm -f conftest.
$ac_objext conftest
$ac_exeext
21918 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21919 (eval $ac_link) 2>conftest.er1
21921 grep -v '^ *+' conftest.er1
>conftest.err
21923 cat conftest.err
>&5
21924 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21925 (exit $ac_status); } &&
21926 { ac_try
='test -z "$ac_c_werror_flag"
21927 || test ! -s conftest.err'
21928 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21929 (eval $ac_try) 2>&5
21931 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21932 (exit $ac_status); }; } &&
21933 { ac_try
='test -s conftest$ac_exeext'
21934 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21935 (eval $ac_try) 2>&5
21937 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21938 (exit $ac_status); }; }; then
21939 ac_cv_lib_expat_XML_ParserCreate
=yes
21941 echo "$as_me: failed program was:" >&5
21942 sed 's/^/| /' conftest.
$ac_ext >&5
21944 ac_cv_lib_expat_XML_ParserCreate
=no
21946 rm -f conftest.err conftest.
$ac_objext \
21947 conftest
$ac_exeext conftest.
$ac_ext
21948 LIBS
=$ac_check_lib_save_LIBS
21950 echo "$as_me:$LINENO: result: $ac_cv_lib_expat_XML_ParserCreate" >&5
21951 echo "${ECHO_T}$ac_cv_lib_expat_XML_ParserCreate" >&6
21952 if test $ac_cv_lib_expat_XML_ParserCreate = yes; then
21953 EXPAT_LINK
=" -lexpat"
21958 if test "x$EXPAT_LINK" = "x" ; then
21959 if test "$wxUSE_EXPAT" = "sys" ; then
21960 { { echo "$as_me:$LINENO: error: system expat library not found! Use --with-expat=builtin to use built-in version" >&5
21961 echo "$as_me: error: system expat library not found! Use --with-expat=builtin to use built-in version" >&2;}
21962 { (exit 1); exit 1; }; }
21964 { echo "$as_me:$LINENO: WARNING: system expat library not found, will use built-in instead" >&5
21965 echo "$as_me: WARNING: system expat library not found, will use built-in instead" >&2;}
21966 wxUSE_EXPAT
=builtin
21972 if test "$wxUSE_EXPAT" = "builtin" ; then
21975 subdirs
="$subdirs src/expat"
21982 if test "$wxUSE_LIBMSPACK" != "no"; then
21984 if test "${ac_cv_header_mspack_h+set}" = set; then
21985 echo "$as_me:$LINENO: checking for mspack.h" >&5
21986 echo $ECHO_N "checking for mspack.h... $ECHO_C" >&6
21987 if test "${ac_cv_header_mspack_h+set}" = set; then
21988 echo $ECHO_N "(cached) $ECHO_C" >&6
21990 echo "$as_me:$LINENO: result: $ac_cv_header_mspack_h" >&5
21991 echo "${ECHO_T}$ac_cv_header_mspack_h" >&6
21993 # Is the header compilable?
21994 echo "$as_me:$LINENO: checking mspack.h usability" >&5
21995 echo $ECHO_N "checking mspack.h usability... $ECHO_C" >&6
21996 cat >conftest.
$ac_ext <<_ACEOF
21999 cat confdefs.h
>>conftest.
$ac_ext
22000 cat >>conftest.
$ac_ext <<_ACEOF
22001 /* end confdefs.h. */
22002 $ac_includes_default
22003 #include <mspack.h>
22005 rm -f conftest.
$ac_objext
22006 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22007 (eval $ac_compile) 2>conftest.er1
22009 grep -v '^ *+' conftest.er1
>conftest.err
22011 cat conftest.err
>&5
22012 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22013 (exit $ac_status); } &&
22014 { ac_try
='test -z "$ac_c_werror_flag"
22015 || test ! -s conftest.err'
22016 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22017 (eval $ac_try) 2>&5
22019 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22020 (exit $ac_status); }; } &&
22021 { ac_try
='test -s conftest.$ac_objext'
22022 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22023 (eval $ac_try) 2>&5
22025 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22026 (exit $ac_status); }; }; then
22027 ac_header_compiler
=yes
22029 echo "$as_me: failed program was:" >&5
22030 sed 's/^/| /' conftest.
$ac_ext >&5
22032 ac_header_compiler
=no
22034 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
22035 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
22036 echo "${ECHO_T}$ac_header_compiler" >&6
22038 # Is the header present?
22039 echo "$as_me:$LINENO: checking mspack.h presence" >&5
22040 echo $ECHO_N "checking mspack.h presence... $ECHO_C" >&6
22041 cat >conftest.
$ac_ext <<_ACEOF
22044 cat confdefs.h
>>conftest.
$ac_ext
22045 cat >>conftest.
$ac_ext <<_ACEOF
22046 /* end confdefs.h. */
22047 #include <mspack.h>
22049 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
22050 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
22052 grep -v '^ *+' conftest.er1
>conftest.err
22054 cat conftest.err
>&5
22055 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22056 (exit $ac_status); } >/dev
/null
; then
22057 if test -s conftest.err
; then
22058 ac_cpp_err
=$ac_c_preproc_warn_flag
22059 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
22066 if test -z "$ac_cpp_err"; then
22067 ac_header_preproc
=yes
22069 echo "$as_me: failed program was:" >&5
22070 sed 's/^/| /' conftest.
$ac_ext >&5
22072 ac_header_preproc
=no
22074 rm -f conftest.err conftest.
$ac_ext
22075 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
22076 echo "${ECHO_T}$ac_header_preproc" >&6
22078 # So? What about this header?
22079 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
22081 { echo "$as_me:$LINENO: WARNING: mspack.h: accepted by the compiler, rejected by the preprocessor!" >&5
22082 echo "$as_me: WARNING: mspack.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
22083 { echo "$as_me:$LINENO: WARNING: mspack.h: proceeding with the compiler's result" >&5
22084 echo "$as_me: WARNING: mspack.h: proceeding with the compiler's result" >&2;}
22085 ac_header_preproc
=yes
22088 { echo "$as_me:$LINENO: WARNING: mspack.h: present but cannot be compiled" >&5
22089 echo "$as_me: WARNING: mspack.h: present but cannot be compiled" >&2;}
22090 { echo "$as_me:$LINENO: WARNING: mspack.h: check for missing prerequisite headers?" >&5
22091 echo "$as_me: WARNING: mspack.h: check for missing prerequisite headers?" >&2;}
22092 { echo "$as_me:$LINENO: WARNING: mspack.h: see the Autoconf documentation" >&5
22093 echo "$as_me: WARNING: mspack.h: see the Autoconf documentation" >&2;}
22094 { echo "$as_me:$LINENO: WARNING: mspack.h: section \"Present But Cannot Be Compiled\"" >&5
22095 echo "$as_me: WARNING: mspack.h: section \"Present But Cannot Be Compiled\"" >&2;}
22096 { echo "$as_me:$LINENO: WARNING: mspack.h: proceeding with the preprocessor's result" >&5
22097 echo "$as_me: WARNING: mspack.h: proceeding with the preprocessor's result" >&2;}
22098 { echo "$as_me:$LINENO: WARNING: mspack.h: in the future, the compiler will take precedence" >&5
22099 echo "$as_me: WARNING: mspack.h: in the future, the compiler will take precedence" >&2;}
22102 ## ----------------------------------------- ##
22103 ## Report this to wx-dev@lists.wxwidgets.org ##
22104 ## ----------------------------------------- ##
22107 sed "s/^/$as_me: WARNING: /" >&2
22110 echo "$as_me:$LINENO: checking for mspack.h" >&5
22111 echo $ECHO_N "checking for mspack.h... $ECHO_C" >&6
22112 if test "${ac_cv_header_mspack_h+set}" = set; then
22113 echo $ECHO_N "(cached) $ECHO_C" >&6
22115 ac_cv_header_mspack_h
=$ac_header_preproc
22117 echo "$as_me:$LINENO: result: $ac_cv_header_mspack_h" >&5
22118 echo "${ECHO_T}$ac_cv_header_mspack_h" >&6
22121 if test $ac_cv_header_mspack_h = yes; then
22126 if test "x$found_mspack_h" = "x1"; then
22127 echo "$as_me:$LINENO: checking for mspack_create_chm_decompressor in -lmspack" >&5
22128 echo $ECHO_N "checking for mspack_create_chm_decompressor in -lmspack... $ECHO_C" >&6
22129 if test "${ac_cv_lib_mspack_mspack_create_chm_decompressor+set}" = set; then
22130 echo $ECHO_N "(cached) $ECHO_C" >&6
22132 ac_check_lib_save_LIBS
=$LIBS
22133 LIBS
="-lmspack $LIBS"
22134 cat >conftest.
$ac_ext <<_ACEOF
22137 cat confdefs.h
>>conftest.
$ac_ext
22138 cat >>conftest.
$ac_ext <<_ACEOF
22139 /* end confdefs.h. */
22141 /* Override any gcc2 internal prototype to avoid an error. */
22145 /* We use char because int might match the return type of a gcc2
22146 builtin and then its argument prototype would still apply. */
22147 char mspack_create_chm_decompressor ();
22151 mspack_create_chm_decompressor ();
22156 rm -f conftest.
$ac_objext conftest
$ac_exeext
22157 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22158 (eval $ac_link) 2>conftest.er1
22160 grep -v '^ *+' conftest.er1
>conftest.err
22162 cat conftest.err
>&5
22163 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22164 (exit $ac_status); } &&
22165 { ac_try
='test -z "$ac_c_werror_flag"
22166 || test ! -s conftest.err'
22167 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22168 (eval $ac_try) 2>&5
22170 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22171 (exit $ac_status); }; } &&
22172 { ac_try
='test -s conftest$ac_exeext'
22173 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22174 (eval $ac_try) 2>&5
22176 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22177 (exit $ac_status); }; }; then
22178 ac_cv_lib_mspack_mspack_create_chm_decompressor
=yes
22180 echo "$as_me: failed program was:" >&5
22181 sed 's/^/| /' conftest.
$ac_ext >&5
22183 ac_cv_lib_mspack_mspack_create_chm_decompressor
=no
22185 rm -f conftest.err conftest.
$ac_objext \
22186 conftest
$ac_exeext conftest.
$ac_ext
22187 LIBS
=$ac_check_lib_save_LIBS
22189 echo "$as_me:$LINENO: result: $ac_cv_lib_mspack_mspack_create_chm_decompressor" >&5
22190 echo "${ECHO_T}$ac_cv_lib_mspack_mspack_create_chm_decompressor" >&6
22191 if test $ac_cv_lib_mspack_mspack_create_chm_decompressor = yes; then
22192 MSPACK_LINK
=" -lmspack"
22196 if test "x$MSPACK_LINK" = "x" ; then
22199 cat >>confdefs.h
<<\_ACEOF
22200 #define wxUSE_LIBMSPACK 1
22215 if test "$USE_WIN32" = 1 ; then
22217 for ac_header
in w32api.h
22219 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
22220 if eval "test \"\${$as_ac_Header+set}\" = set"; then
22221 echo "$as_me:$LINENO: checking for $ac_header" >&5
22222 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
22223 if eval "test \"\${$as_ac_Header+set}\" = set"; then
22224 echo $ECHO_N "(cached) $ECHO_C" >&6
22226 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
22227 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
22229 # Is the header compilable?
22230 echo "$as_me:$LINENO: checking $ac_header usability" >&5
22231 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
22232 cat >conftest.
$ac_ext <<_ACEOF
22235 cat confdefs.h
>>conftest.
$ac_ext
22236 cat >>conftest.
$ac_ext <<_ACEOF
22237 /* end confdefs.h. */
22238 $ac_includes_default
22239 #include <$ac_header>
22241 rm -f conftest.
$ac_objext
22242 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22243 (eval $ac_compile) 2>conftest.er1
22245 grep -v '^ *+' conftest.er1
>conftest.err
22247 cat conftest.err
>&5
22248 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22249 (exit $ac_status); } &&
22250 { ac_try
='test -z "$ac_c_werror_flag"
22251 || test ! -s conftest.err'
22252 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22253 (eval $ac_try) 2>&5
22255 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22256 (exit $ac_status); }; } &&
22257 { ac_try
='test -s conftest.$ac_objext'
22258 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22259 (eval $ac_try) 2>&5
22261 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22262 (exit $ac_status); }; }; then
22263 ac_header_compiler
=yes
22265 echo "$as_me: failed program was:" >&5
22266 sed 's/^/| /' conftest.
$ac_ext >&5
22268 ac_header_compiler
=no
22270 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
22271 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
22272 echo "${ECHO_T}$ac_header_compiler" >&6
22274 # Is the header present?
22275 echo "$as_me:$LINENO: checking $ac_header presence" >&5
22276 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
22277 cat >conftest.
$ac_ext <<_ACEOF
22280 cat confdefs.h
>>conftest.
$ac_ext
22281 cat >>conftest.
$ac_ext <<_ACEOF
22282 /* end confdefs.h. */
22283 #include <$ac_header>
22285 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
22286 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
22288 grep -v '^ *+' conftest.er1
>conftest.err
22290 cat conftest.err
>&5
22291 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22292 (exit $ac_status); } >/dev
/null
; then
22293 if test -s conftest.err
; then
22294 ac_cpp_err
=$ac_c_preproc_warn_flag
22295 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
22302 if test -z "$ac_cpp_err"; then
22303 ac_header_preproc
=yes
22305 echo "$as_me: failed program was:" >&5
22306 sed 's/^/| /' conftest.
$ac_ext >&5
22308 ac_header_preproc
=no
22310 rm -f conftest.err conftest.
$ac_ext
22311 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
22312 echo "${ECHO_T}$ac_header_preproc" >&6
22314 # So? What about this header?
22315 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
22317 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
22318 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
22319 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
22320 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
22321 ac_header_preproc
=yes
22324 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
22325 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
22326 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
22327 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
22328 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
22329 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
22330 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
22331 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
22332 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
22333 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
22334 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
22335 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
22338 ## ----------------------------------------- ##
22339 ## Report this to wx-dev@lists.wxwidgets.org ##
22340 ## ----------------------------------------- ##
22343 sed "s/^/$as_me: WARNING: /" >&2
22346 echo "$as_me:$LINENO: checking for $ac_header" >&5
22347 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
22348 if eval "test \"\${$as_ac_Header+set}\" = set"; then
22349 echo $ECHO_N "(cached) $ECHO_C" >&6
22351 eval "$as_ac_Header=\$ac_header_preproc"
22353 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
22354 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
22357 if test `eval echo '${'$as_ac_Header'}'` = yes; then
22358 cat >>confdefs.h
<<_ACEOF
22359 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
22366 if test "${ac_cv_header_windows_h+set}" = set; then
22367 echo "$as_me:$LINENO: checking for windows.h" >&5
22368 echo $ECHO_N "checking for windows.h... $ECHO_C" >&6
22369 if test "${ac_cv_header_windows_h+set}" = set; then
22370 echo $ECHO_N "(cached) $ECHO_C" >&6
22372 echo "$as_me:$LINENO: result: $ac_cv_header_windows_h" >&5
22373 echo "${ECHO_T}$ac_cv_header_windows_h" >&6
22375 # Is the header compilable?
22376 echo "$as_me:$LINENO: checking windows.h usability" >&5
22377 echo $ECHO_N "checking windows.h usability... $ECHO_C" >&6
22378 cat >conftest.
$ac_ext <<_ACEOF
22381 cat confdefs.h
>>conftest.
$ac_ext
22382 cat >>conftest.
$ac_ext <<_ACEOF
22383 /* end confdefs.h. */
22384 $ac_includes_default
22385 #include <windows.h>
22387 rm -f conftest.
$ac_objext
22388 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22389 (eval $ac_compile) 2>conftest.er1
22391 grep -v '^ *+' conftest.er1
>conftest.err
22393 cat conftest.err
>&5
22394 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22395 (exit $ac_status); } &&
22396 { ac_try
='test -z "$ac_c_werror_flag"
22397 || test ! -s conftest.err'
22398 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22399 (eval $ac_try) 2>&5
22401 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22402 (exit $ac_status); }; } &&
22403 { ac_try
='test -s conftest.$ac_objext'
22404 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22405 (eval $ac_try) 2>&5
22407 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22408 (exit $ac_status); }; }; then
22409 ac_header_compiler
=yes
22411 echo "$as_me: failed program was:" >&5
22412 sed 's/^/| /' conftest.
$ac_ext >&5
22414 ac_header_compiler
=no
22416 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
22417 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
22418 echo "${ECHO_T}$ac_header_compiler" >&6
22420 # Is the header present?
22421 echo "$as_me:$LINENO: checking windows.h presence" >&5
22422 echo $ECHO_N "checking windows.h presence... $ECHO_C" >&6
22423 cat >conftest.
$ac_ext <<_ACEOF
22426 cat confdefs.h
>>conftest.
$ac_ext
22427 cat >>conftest.
$ac_ext <<_ACEOF
22428 /* end confdefs.h. */
22429 #include <windows.h>
22431 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
22432 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
22434 grep -v '^ *+' conftest.er1
>conftest.err
22436 cat conftest.err
>&5
22437 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22438 (exit $ac_status); } >/dev
/null
; then
22439 if test -s conftest.err
; then
22440 ac_cpp_err
=$ac_c_preproc_warn_flag
22441 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
22448 if test -z "$ac_cpp_err"; then
22449 ac_header_preproc
=yes
22451 echo "$as_me: failed program was:" >&5
22452 sed 's/^/| /' conftest.
$ac_ext >&5
22454 ac_header_preproc
=no
22456 rm -f conftest.err conftest.
$ac_ext
22457 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
22458 echo "${ECHO_T}$ac_header_preproc" >&6
22460 # So? What about this header?
22461 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
22463 { echo "$as_me:$LINENO: WARNING: windows.h: accepted by the compiler, rejected by the preprocessor!" >&5
22464 echo "$as_me: WARNING: windows.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
22465 { echo "$as_me:$LINENO: WARNING: windows.h: proceeding with the compiler's result" >&5
22466 echo "$as_me: WARNING: windows.h: proceeding with the compiler's result" >&2;}
22467 ac_header_preproc
=yes
22470 { echo "$as_me:$LINENO: WARNING: windows.h: present but cannot be compiled" >&5
22471 echo "$as_me: WARNING: windows.h: present but cannot be compiled" >&2;}
22472 { echo "$as_me:$LINENO: WARNING: windows.h: check for missing prerequisite headers?" >&5
22473 echo "$as_me: WARNING: windows.h: check for missing prerequisite headers?" >&2;}
22474 { echo "$as_me:$LINENO: WARNING: windows.h: see the Autoconf documentation" >&5
22475 echo "$as_me: WARNING: windows.h: see the Autoconf documentation" >&2;}
22476 { echo "$as_me:$LINENO: WARNING: windows.h: section \"Present But Cannot Be Compiled\"" >&5
22477 echo "$as_me: WARNING: windows.h: section \"Present But Cannot Be Compiled\"" >&2;}
22478 { echo "$as_me:$LINENO: WARNING: windows.h: proceeding with the preprocessor's result" >&5
22479 echo "$as_me: WARNING: windows.h: proceeding with the preprocessor's result" >&2;}
22480 { echo "$as_me:$LINENO: WARNING: windows.h: in the future, the compiler will take precedence" >&5
22481 echo "$as_me: WARNING: windows.h: in the future, the compiler will take precedence" >&2;}
22484 ## ----------------------------------------- ##
22485 ## Report this to wx-dev@lists.wxwidgets.org ##
22486 ## ----------------------------------------- ##
22489 sed "s/^/$as_me: WARNING: /" >&2
22492 echo "$as_me:$LINENO: checking for windows.h" >&5
22493 echo $ECHO_N "checking for windows.h... $ECHO_C" >&6
22494 if test "${ac_cv_header_windows_h+set}" = set; then
22495 echo $ECHO_N "(cached) $ECHO_C" >&6
22497 ac_cv_header_windows_h
=$ac_header_preproc
22499 echo "$as_me:$LINENO: result: $ac_cv_header_windows_h" >&5
22500 echo "${ECHO_T}$ac_cv_header_windows_h" >&6
22503 if test $ac_cv_header_windows_h = yes; then
22507 { { echo "$as_me:$LINENO: error: please set CFLAGS to contain the location of windows.h" >&5
22508 echo "$as_me: error: please set CFLAGS to contain the location of windows.h" >&2;}
22509 { (exit 1); exit 1; }; }
22515 LIBS
="$LIBS -lwinspool -lwinmm -lshell32 -lcomctl32 -lcomdlg32 -lctl3d32 -ladvapi32 -lwsock32 -lgdi32"
22517 if test "$wxUSE_ACCESSIBILITY" = "yes" ; then
22518 LIBS
="$LIBS -loleacc"
22523 LIBS
="$LIBS -lkernel32 -luser32"
22524 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -D__WIN95__"
22527 if test "$wxUSE_ODBC" = "sys" ; then
22530 if test "$wxUSE_ODBC" = "yes" ; then
22531 LIBS
=" -lodbc32 -lole32 -loleaut32 $LIBS"
22532 cat >>confdefs.h
<<\_ACEOF
22533 #define wxUSE_ODBC 1
22538 RESFLAGS
="--include-dir \$(top_srcdir)/include --include-dir \$(top_srcdir)/\$(program_dir) --define __WIN32__ --define __WIN95__ --define __GNUWIN32__"
22539 RESPROGRAMOBJ
="\$(PROGRAM)_resources.o"
22541 WIN32INSTALL
=win32install
22544 if test "$wxUSE_GUI" = "yes"; then
22554 if test "$wxUSE_MSW" = 1 ; then
22560 WXCONFIG_LDFLAGS_GUI
="$LDFLAGS -Wl,--subsystem,windows -mwindows"
22564 if test "$wxUSE_GTK" = 1; then
22565 echo "$as_me:$LINENO: checking for GTK+ version" >&5
22566 echo $ECHO_N "checking for GTK+ version... $ECHO_C" >&6
22568 gtk_version_cached
=1
22569 if test "${wx_cv_lib_gtk+set}" = set; then
22570 echo $ECHO_N "(cached) $ECHO_C" >&6
22573 gtk_version_cached
=0
22574 echo "$as_me:$LINENO: result: " >&5
22575 echo "${ECHO_T}" >&6
22578 if test "$wxUSE_THREADS" = "yes"; then
22579 GTK_MODULES
=gthread
22583 if test "x$wxUSE_GTK2" = "xyes"; then
22584 # Check whether --enable-gtktest or --disable-gtktest was given.
22585 if test "${enable_gtktest+set}" = set; then
22586 enableval
="$enable_gtktest"
22592 pkg_config_args
=gtk
+-2.0
22593 for module
in .
$GTK_MODULES
22597 pkg_config_args
="$pkg_config_args gthread-2.0"
22604 # Extract the first word of "pkg-config", so it can be a program name with args.
22605 set dummy pkg
-config; ac_word
=$2
22606 echo "$as_me:$LINENO: checking for $ac_word" >&5
22607 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
22608 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
22609 echo $ECHO_N "(cached) $ECHO_C" >&6
22611 case $PKG_CONFIG in
22613 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
22616 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
22617 for as_dir
in $PATH
22620 test -z "$as_dir" && as_dir
=.
22621 for ac_exec_ext
in '' $ac_executable_extensions; do
22622 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
22623 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
22624 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
22630 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
22634 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
22636 if test -n "$PKG_CONFIG"; then
22637 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
22638 echo "${ECHO_T}$PKG_CONFIG" >&6
22640 echo "$as_me:$LINENO: result: no" >&5
22641 echo "${ECHO_T}no" >&6
22645 if test x
$PKG_CONFIG != xno
; then
22646 if pkg
-config --atleast-pkgconfig-version 0.7 ; then
22649 echo "*** pkg-config too old; version 0.7 or better required."
22657 min_gtk_version
=2.0.0
22658 echo "$as_me:$LINENO: checking for GTK+ - version >= $min_gtk_version" >&5
22659 echo $ECHO_N "checking for GTK+ - version >= $min_gtk_version... $ECHO_C" >&6
22661 if test x
$PKG_CONFIG != xno
; then
22662 ## don't try to run the test against uninstalled libtool libs
22663 if $PKG_CONFIG --uninstalled $pkg_config_args; then
22664 echo "Will use uninstalled version of GTK+ found in PKG_CONFIG_PATH"
22668 if $PKG_CONFIG --atleast-version $min_gtk_version $pkg_config_args; then
22675 if test x
"$no_gtk" = x
; then
22676 GTK_CFLAGS
=`$PKG_CONFIG $pkg_config_args --cflags`
22677 GTK_LIBS
=`$PKG_CONFIG $pkg_config_args --libs`
22678 gtk_config_major_version
=`$PKG_CONFIG --modversion gtk+-2.0 | \
22679 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
22680 gtk_config_minor_version
=`$PKG_CONFIG --modversion gtk+-2.0 | \
22681 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
22682 gtk_config_micro_version
=`$PKG_CONFIG --modversion gtk+-2.0 | \
22683 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
22684 if test "x$enable_gtktest" = "xyes" ; then
22685 ac_save_CFLAGS
="$CFLAGS"
22686 ac_save_LIBS
="$LIBS"
22687 CFLAGS
="$CFLAGS $GTK_CFLAGS"
22688 LIBS
="$GTK_LIBS $LIBS"
22690 if test "$cross_compiling" = yes; then
22691 echo $ac_n "cross compiling; assumed OK... $ac_c"
22693 cat >conftest.
$ac_ext <<_ACEOF
22696 cat confdefs.h
>>conftest.
$ac_ext
22697 cat >>conftest.
$ac_ext <<_ACEOF
22698 /* end confdefs.h. */
22700 #include <gtk/gtk.h>
22702 #include <stdlib.h>
22707 int major, minor, micro;
22710 system ("touch conf.gtktest");
22712 /* HP/UX 9 (%@#!) writes to sscanf strings */
22713 tmp_version = g_strdup("$min_gtk_version");
22714 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
22715 printf("%s, bad version string\n", "$min_gtk_version");
22719 if ((gtk_major_version != $gtk_config_major_version) ||
22720 (gtk_minor_version != $gtk_config_minor_version) ||
22721 (gtk_micro_version != $gtk_config_micro_version))
22723 printf("\n*** 'pkg-config --modversion gtk+-2.0' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
22724 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
22725 gtk_major_version, gtk_minor_version, gtk_micro_version);
22726 printf ("*** was found! If pkg-config was correct, then it is best\n");
22727 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
22728 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
22729 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
22730 printf("*** required on your system.\n");
22731 printf("*** If pkg-config was wrong, set the environment variable PKG_CONFIG_PATH\n");
22732 printf("*** to point to the correct configuration files\n");
22734 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
22735 (gtk_minor_version != GTK_MINOR_VERSION) ||
22736 (gtk_micro_version != GTK_MICRO_VERSION))
22738 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
22739 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
22740 printf("*** library (version %d.%d.%d)\n",
22741 gtk_major_version, gtk_minor_version, gtk_micro_version);
22745 if ((gtk_major_version > major) ||
22746 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
22747 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
22753 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
22754 gtk_major_version, gtk_minor_version, gtk_micro_version);
22755 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
22756 major, minor, micro);
22757 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
22759 printf("*** If you have already installed a sufficiently new version, this error\n");
22760 printf("*** probably means that the wrong copy of the pkg-config shell script is\n");
22761 printf("*** being found. The easiest way to fix this is to remove the old version\n");
22762 printf("*** of GTK+, but you can also set the PKG_CONFIG environment to point to the\n");
22763 printf("*** correct copy of pkg-config. (In this case, you will have to\n");
22764 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
22765 printf("*** so that the correct libraries are found at run-time))\n");
22772 rm -f conftest
$ac_exeext
22773 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22774 (eval $ac_link) 2>&5
22776 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22777 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
22778 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22779 (eval $ac_try) 2>&5
22781 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22782 (exit $ac_status); }; }; then
22785 echo "$as_me: program exited with status $ac_status" >&5
22786 echo "$as_me: failed program was:" >&5
22787 sed 's/^/| /' conftest.
$ac_ext >&5
22789 ( exit $ac_status )
22792 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
22794 CFLAGS
="$ac_save_CFLAGS"
22795 LIBS
="$ac_save_LIBS"
22798 if test "x$no_gtk" = x
; then
22799 echo "$as_me:$LINENO: result: yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&5
22800 echo "${ECHO_T}yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&6
22803 echo "$as_me:$LINENO: result: no" >&5
22804 echo "${ECHO_T}no" >&6
22805 if test "$PKG_CONFIG" = "no" ; then
22806 echo "*** A new enough version of pkg-config was not found."
22807 echo "*** See http://pkgconfig.sourceforge.net"
22809 if test -f conf.gtktest
; then
22812 echo "*** Could not run GTK+ test program, checking why..."
22813 ac_save_CFLAGS
="$CFLAGS"
22814 ac_save_LIBS
="$LIBS"
22815 CFLAGS
="$CFLAGS $GTK_CFLAGS"
22816 LIBS
="$LIBS $GTK_LIBS"
22817 cat >conftest.
$ac_ext <<_ACEOF
22820 cat confdefs.h
>>conftest.
$ac_ext
22821 cat >>conftest.
$ac_ext <<_ACEOF
22822 /* end confdefs.h. */
22824 #include <gtk/gtk.h>
22830 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
22835 rm -f conftest.
$ac_objext conftest
$ac_exeext
22836 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22837 (eval $ac_link) 2>conftest.er1
22839 grep -v '^ *+' conftest.er1
>conftest.err
22841 cat conftest.err
>&5
22842 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22843 (exit $ac_status); } &&
22844 { ac_try
='test -z "$ac_c_werror_flag"
22845 || test ! -s conftest.err'
22846 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22847 (eval $ac_try) 2>&5
22849 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22850 (exit $ac_status); }; } &&
22851 { ac_try
='test -s conftest$ac_exeext'
22852 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22853 (eval $ac_try) 2>&5
22855 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22856 (exit $ac_status); }; }; then
22857 echo "*** The test program compiled, but did not run. This usually means"
22858 echo "*** that the run-time linker is not finding GTK+ or finding the wrong"
22859 echo "*** version of GTK+. If it is not finding GTK+, you'll need to set your"
22860 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
22861 echo "*** to the installed location Also, make sure you have run ldconfig if that"
22862 echo "*** is required on your system"
22864 echo "*** If you have an old version installed, it is best to remove it, although"
22865 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
22867 echo "$as_me: failed program was:" >&5
22868 sed 's/^/| /' conftest.
$ac_ext >&5
22870 echo "*** The test program failed to compile or link. See the file config.log for the"
22871 echo "*** exact error that occured. This usually means GTK+ is incorrectly installed."
22873 rm -f conftest.err conftest.
$ac_objext \
22874 conftest
$ac_exeext conftest.
$ac_ext
22875 CFLAGS
="$ac_save_CFLAGS"
22876 LIBS
="$ac_save_LIBS"
22889 # Check whether --with-gtk-prefix or --without-gtk-prefix was given.
22890 if test "${with_gtk_prefix+set}" = set; then
22891 withval
="$with_gtk_prefix"
22892 gtk_config_prefix
="$withval"
22894 gtk_config_prefix
=""
22897 # Check whether --with-gtk-exec-prefix or --without-gtk-exec-prefix was given.
22898 if test "${with_gtk_exec_prefix+set}" = set; then
22899 withval
="$with_gtk_exec_prefix"
22900 gtk_config_exec_prefix
="$withval"
22902 gtk_config_exec_prefix
=""
22904 # Check whether --enable-gtktest or --disable-gtktest was given.
22905 if test "${enable_gtktest+set}" = set; then
22906 enableval
="$enable_gtktest"
22912 for module
in .
$GTK_MODULES
22916 gtk_config_args
="$gtk_config_args gthread"
22921 if test x
$gtk_config_exec_prefix != x
; then
22922 gtk_config_args
="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
22923 if test x
${GTK_CONFIG+set} != xset
; then
22924 GTK_CONFIG
=$gtk_config_exec_prefix/bin
/gtk
-config
22927 if test x
$gtk_config_prefix != x
; then
22928 gtk_config_args
="$gtk_config_args --prefix=$gtk_config_prefix"
22929 if test x
${GTK_CONFIG+set} != xset
; then
22930 GTK_CONFIG
=$gtk_config_prefix/bin
/gtk
-config
22934 # Extract the first word of "gtk-config", so it can be a program name with args.
22935 set dummy gtk
-config; ac_word
=$2
22936 echo "$as_me:$LINENO: checking for $ac_word" >&5
22937 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
22938 if test "${ac_cv_path_GTK_CONFIG+set}" = set; then
22939 echo $ECHO_N "(cached) $ECHO_C" >&6
22941 case $GTK_CONFIG in
22943 ac_cv_path_GTK_CONFIG
="$GTK_CONFIG" # Let the user override the test with a path.
22946 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
22947 for as_dir
in $PATH
22950 test -z "$as_dir" && as_dir
=.
22951 for ac_exec_ext
in '' $ac_executable_extensions; do
22952 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
22953 ac_cv_path_GTK_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
22954 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
22960 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG
="no"
22964 GTK_CONFIG
=$ac_cv_path_GTK_CONFIG
22966 if test -n "$GTK_CONFIG"; then
22967 echo "$as_me:$LINENO: result: $GTK_CONFIG" >&5
22968 echo "${ECHO_T}$GTK_CONFIG" >&6
22970 echo "$as_me:$LINENO: result: no" >&5
22971 echo "${ECHO_T}no" >&6
22974 min_gtk_version
=1.2.7
22975 echo "$as_me:$LINENO: checking for GTK - version >= $min_gtk_version" >&5
22976 echo $ECHO_N "checking for GTK - version >= $min_gtk_version... $ECHO_C" >&6
22978 if test "$GTK_CONFIG" = "no" ; then
22981 GTK_CFLAGS
=`$GTK_CONFIG $gtk_config_args --cflags`
22982 GTK_LIBS
=`$GTK_CONFIG $gtk_config_args --libs`
22983 gtk_config_major_version
=`$GTK_CONFIG $gtk_config_args --version | \
22984 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
22985 gtk_config_minor_version
=`$GTK_CONFIG $gtk_config_args --version | \
22986 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
22987 gtk_config_micro_version
=`$GTK_CONFIG $gtk_config_args --version | \
22988 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
22989 if test "x$enable_gtktest" = "xyes" ; then
22990 ac_save_CFLAGS
="$CFLAGS"
22991 ac_save_LIBS
="$LIBS"
22992 CFLAGS
="$CFLAGS $GTK_CFLAGS"
22993 LIBS
="$GTK_LIBS $LIBS"
22995 if test "$cross_compiling" = yes; then
22996 echo $ac_n "cross compiling; assumed OK... $ac_c"
22998 cat >conftest.
$ac_ext <<_ACEOF
23001 cat confdefs.h
>>conftest.
$ac_ext
23002 cat >>conftest.
$ac_ext <<_ACEOF
23003 /* end confdefs.h. */
23005 #include <gtk/gtk.h>
23007 #include <stdlib.h>
23012 int major, minor, micro;
23015 system ("touch conf.gtktest");
23017 /* HP/UX 9 (%@#!) writes to sscanf strings */
23018 tmp_version = g_strdup("$min_gtk_version");
23019 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
23020 printf("%s, bad version string\n", "$min_gtk_version");
23024 if ((gtk_major_version != $gtk_config_major_version) ||
23025 (gtk_minor_version != $gtk_config_minor_version) ||
23026 (gtk_micro_version != $gtk_config_micro_version))
23028 printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
23029 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
23030 gtk_major_version, gtk_minor_version, gtk_micro_version);
23031 printf ("*** was found! If gtk-config was correct, then it is best\n");
23032 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
23033 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
23034 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
23035 printf("*** required on your system.\n");
23036 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
23037 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
23038 printf("*** before re-running configure\n");
23040 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
23041 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
23042 (gtk_minor_version != GTK_MINOR_VERSION) ||
23043 (gtk_micro_version != GTK_MICRO_VERSION))
23045 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
23046 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
23047 printf("*** library (version %d.%d.%d)\n",
23048 gtk_major_version, gtk_minor_version, gtk_micro_version);
23050 #endif /* defined (GTK_MAJOR_VERSION) ... */
23053 if ((gtk_major_version > major) ||
23054 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
23055 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
23061 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
23062 gtk_major_version, gtk_minor_version, gtk_micro_version);
23063 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
23064 major, minor, micro);
23065 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
23067 printf("*** If you have already installed a sufficiently new version, this error\n");
23068 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
23069 printf("*** being found. The easiest way to fix this is to remove the old version\n");
23070 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
23071 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
23072 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
23073 printf("*** so that the correct libraries are found at run-time))\n");
23080 rm -f conftest
$ac_exeext
23081 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23082 (eval $ac_link) 2>&5
23084 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23085 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
23086 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23087 (eval $ac_try) 2>&5
23089 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23090 (exit $ac_status); }; }; then
23093 echo "$as_me: program exited with status $ac_status" >&5
23094 echo "$as_me: failed program was:" >&5
23095 sed 's/^/| /' conftest.
$ac_ext >&5
23097 ( exit $ac_status )
23100 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
23102 CFLAGS
="$ac_save_CFLAGS"
23103 LIBS
="$ac_save_LIBS"
23106 if test "x$no_gtk" = x
; then
23107 echo "$as_me:$LINENO: result: yes" >&5
23108 echo "${ECHO_T}yes" >&6
23109 wx_cv_lib_gtk
=1.2.7
23111 echo "$as_me:$LINENO: result: no" >&5
23112 echo "${ECHO_T}no" >&6
23113 if test "$GTK_CONFIG" = "no" ; then
23114 echo "*** The gtk-config script installed by GTK could not be found"
23115 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
23116 echo "*** your path, or set the GTK_CONFIG environment variable to the"
23117 echo "*** full path to gtk-config."
23119 if test -f conf.gtktest
; then
23122 echo "*** Could not run GTK test program, checking why..."
23123 CFLAGS
="$CFLAGS $GTK_CFLAGS"
23124 LIBS
="$LIBS $GTK_LIBS"
23125 cat >conftest.
$ac_ext <<_ACEOF
23128 cat confdefs.h
>>conftest.
$ac_ext
23129 cat >>conftest.
$ac_ext <<_ACEOF
23130 /* end confdefs.h. */
23132 #include <gtk/gtk.h>
23138 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
23143 rm -f conftest.
$ac_objext conftest
$ac_exeext
23144 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23145 (eval $ac_link) 2>conftest.er1
23147 grep -v '^ *+' conftest.er1
>conftest.err
23149 cat conftest.err
>&5
23150 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23151 (exit $ac_status); } &&
23152 { ac_try
='test -z "$ac_c_werror_flag"
23153 || test ! -s conftest.err'
23154 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23155 (eval $ac_try) 2>&5
23157 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23158 (exit $ac_status); }; } &&
23159 { ac_try
='test -s conftest$ac_exeext'
23160 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23161 (eval $ac_try) 2>&5
23163 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23164 (exit $ac_status); }; }; then
23165 echo "*** The test program compiled, but did not run. This usually means"
23166 echo "*** that the run-time linker is not finding GTK or finding the wrong"
23167 echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
23168 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
23169 echo "*** to the installed location Also, make sure you have run ldconfig if that"
23170 echo "*** is required on your system"
23172 echo "*** If you have an old version installed, it is best to remove it, although"
23173 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
23175 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
23176 echo "*** came with the system with the command"
23178 echo "*** rpm --erase --nodeps gtk gtk-devel"
23180 echo "$as_me: failed program was:" >&5
23181 sed 's/^/| /' conftest.
$ac_ext >&5
23183 echo "*** The test program failed to compile or link. See the file config.log for the"
23184 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
23185 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
23186 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
23188 rm -f conftest.err conftest.
$ac_objext \
23189 conftest
$ac_exeext conftest.
$ac_ext
23190 CFLAGS
="$ac_save_CFLAGS"
23191 LIBS
="$ac_save_LIBS"
23203 if test -z "$wx_cv_lib_gtk"; then
23205 # Check whether --with-gtk-prefix or --without-gtk-prefix was given.
23206 if test "${with_gtk_prefix+set}" = set; then
23207 withval
="$with_gtk_prefix"
23208 gtk_config_prefix
="$withval"
23210 gtk_config_prefix
=""
23213 # Check whether --with-gtk-exec-prefix or --without-gtk-exec-prefix was given.
23214 if test "${with_gtk_exec_prefix+set}" = set; then
23215 withval
="$with_gtk_exec_prefix"
23216 gtk_config_exec_prefix
="$withval"
23218 gtk_config_exec_prefix
=""
23220 # Check whether --enable-gtktest or --disable-gtktest was given.
23221 if test "${enable_gtktest+set}" = set; then
23222 enableval
="$enable_gtktest"
23228 for module
in .
$GTK_MODULES
23232 gtk_config_args
="$gtk_config_args gthread"
23237 if test x
$gtk_config_exec_prefix != x
; then
23238 gtk_config_args
="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
23239 if test x
${GTK_CONFIG+set} != xset
; then
23240 GTK_CONFIG
=$gtk_config_exec_prefix/bin
/gtk
-config
23243 if test x
$gtk_config_prefix != x
; then
23244 gtk_config_args
="$gtk_config_args --prefix=$gtk_config_prefix"
23245 if test x
${GTK_CONFIG+set} != xset
; then
23246 GTK_CONFIG
=$gtk_config_prefix/bin
/gtk
-config
23250 # Extract the first word of "gtk-config", so it can be a program name with args.
23251 set dummy gtk
-config; ac_word
=$2
23252 echo "$as_me:$LINENO: checking for $ac_word" >&5
23253 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
23254 if test "${ac_cv_path_GTK_CONFIG+set}" = set; then
23255 echo $ECHO_N "(cached) $ECHO_C" >&6
23257 case $GTK_CONFIG in
23259 ac_cv_path_GTK_CONFIG
="$GTK_CONFIG" # Let the user override the test with a path.
23262 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
23263 for as_dir
in $PATH
23266 test -z "$as_dir" && as_dir
=.
23267 for ac_exec_ext
in '' $ac_executable_extensions; do
23268 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
23269 ac_cv_path_GTK_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
23270 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
23276 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG
="no"
23280 GTK_CONFIG
=$ac_cv_path_GTK_CONFIG
23282 if test -n "$GTK_CONFIG"; then
23283 echo "$as_me:$LINENO: result: $GTK_CONFIG" >&5
23284 echo "${ECHO_T}$GTK_CONFIG" >&6
23286 echo "$as_me:$LINENO: result: no" >&5
23287 echo "${ECHO_T}no" >&6
23290 min_gtk_version
=1.2.3
23291 echo "$as_me:$LINENO: checking for GTK - version >= $min_gtk_version" >&5
23292 echo $ECHO_N "checking for GTK - version >= $min_gtk_version... $ECHO_C" >&6
23294 if test "$GTK_CONFIG" = "no" ; then
23297 GTK_CFLAGS
=`$GTK_CONFIG $gtk_config_args --cflags`
23298 GTK_LIBS
=`$GTK_CONFIG $gtk_config_args --libs`
23299 gtk_config_major_version
=`$GTK_CONFIG $gtk_config_args --version | \
23300 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
23301 gtk_config_minor_version
=`$GTK_CONFIG $gtk_config_args --version | \
23302 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
23303 gtk_config_micro_version
=`$GTK_CONFIG $gtk_config_args --version | \
23304 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
23305 if test "x$enable_gtktest" = "xyes" ; then
23306 ac_save_CFLAGS
="$CFLAGS"
23307 ac_save_LIBS
="$LIBS"
23308 CFLAGS
="$CFLAGS $GTK_CFLAGS"
23309 LIBS
="$GTK_LIBS $LIBS"
23311 if test "$cross_compiling" = yes; then
23312 echo $ac_n "cross compiling; assumed OK... $ac_c"
23314 cat >conftest.
$ac_ext <<_ACEOF
23317 cat confdefs.h
>>conftest.
$ac_ext
23318 cat >>conftest.
$ac_ext <<_ACEOF
23319 /* end confdefs.h. */
23321 #include <gtk/gtk.h>
23323 #include <stdlib.h>
23328 int major, minor, micro;
23331 system ("touch conf.gtktest");
23333 /* HP/UX 9 (%@#!) writes to sscanf strings */
23334 tmp_version = g_strdup("$min_gtk_version");
23335 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
23336 printf("%s, bad version string\n", "$min_gtk_version");
23340 if ((gtk_major_version != $gtk_config_major_version) ||
23341 (gtk_minor_version != $gtk_config_minor_version) ||
23342 (gtk_micro_version != $gtk_config_micro_version))
23344 printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
23345 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
23346 gtk_major_version, gtk_minor_version, gtk_micro_version);
23347 printf ("*** was found! If gtk-config was correct, then it is best\n");
23348 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
23349 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
23350 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
23351 printf("*** required on your system.\n");
23352 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
23353 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
23354 printf("*** before re-running configure\n");
23356 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
23357 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
23358 (gtk_minor_version != GTK_MINOR_VERSION) ||
23359 (gtk_micro_version != GTK_MICRO_VERSION))
23361 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
23362 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
23363 printf("*** library (version %d.%d.%d)\n",
23364 gtk_major_version, gtk_minor_version, gtk_micro_version);
23366 #endif /* defined (GTK_MAJOR_VERSION) ... */
23369 if ((gtk_major_version > major) ||
23370 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
23371 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
23377 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
23378 gtk_major_version, gtk_minor_version, gtk_micro_version);
23379 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
23380 major, minor, micro);
23381 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
23383 printf("*** If you have already installed a sufficiently new version, this error\n");
23384 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
23385 printf("*** being found. The easiest way to fix this is to remove the old version\n");
23386 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
23387 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
23388 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
23389 printf("*** so that the correct libraries are found at run-time))\n");
23396 rm -f conftest
$ac_exeext
23397 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23398 (eval $ac_link) 2>&5
23400 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23401 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
23402 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23403 (eval $ac_try) 2>&5
23405 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23406 (exit $ac_status); }; }; then
23409 echo "$as_me: program exited with status $ac_status" >&5
23410 echo "$as_me: failed program was:" >&5
23411 sed 's/^/| /' conftest.
$ac_ext >&5
23413 ( exit $ac_status )
23416 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
23418 CFLAGS
="$ac_save_CFLAGS"
23419 LIBS
="$ac_save_LIBS"
23422 if test "x$no_gtk" = x
; then
23423 echo "$as_me:$LINENO: result: yes" >&5
23424 echo "${ECHO_T}yes" >&6
23425 wx_cv_lib_gtk
=1.2.3
23427 echo "$as_me:$LINENO: result: no" >&5
23428 echo "${ECHO_T}no" >&6
23429 if test "$GTK_CONFIG" = "no" ; then
23430 echo "*** The gtk-config script installed by GTK could not be found"
23431 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
23432 echo "*** your path, or set the GTK_CONFIG environment variable to the"
23433 echo "*** full path to gtk-config."
23435 if test -f conf.gtktest
; then
23438 echo "*** Could not run GTK test program, checking why..."
23439 CFLAGS
="$CFLAGS $GTK_CFLAGS"
23440 LIBS
="$LIBS $GTK_LIBS"
23441 cat >conftest.
$ac_ext <<_ACEOF
23444 cat confdefs.h
>>conftest.
$ac_ext
23445 cat >>conftest.
$ac_ext <<_ACEOF
23446 /* end confdefs.h. */
23448 #include <gtk/gtk.h>
23454 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
23459 rm -f conftest.
$ac_objext conftest
$ac_exeext
23460 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23461 (eval $ac_link) 2>conftest.er1
23463 grep -v '^ *+' conftest.er1
>conftest.err
23465 cat conftest.err
>&5
23466 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23467 (exit $ac_status); } &&
23468 { ac_try
='test -z "$ac_c_werror_flag"
23469 || test ! -s conftest.err'
23470 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23471 (eval $ac_try) 2>&5
23473 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23474 (exit $ac_status); }; } &&
23475 { ac_try
='test -s conftest$ac_exeext'
23476 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23477 (eval $ac_try) 2>&5
23479 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23480 (exit $ac_status); }; }; then
23481 echo "*** The test program compiled, but did not run. This usually means"
23482 echo "*** that the run-time linker is not finding GTK or finding the wrong"
23483 echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
23484 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
23485 echo "*** to the installed location Also, make sure you have run ldconfig if that"
23486 echo "*** is required on your system"
23488 echo "*** If you have an old version installed, it is best to remove it, although"
23489 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
23491 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
23492 echo "*** came with the system with the command"
23494 echo "*** rpm --erase --nodeps gtk gtk-devel"
23496 echo "$as_me: failed program was:" >&5
23497 sed 's/^/| /' conftest.
$ac_ext >&5
23499 echo "*** The test program failed to compile or link. See the file config.log for the"
23500 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
23501 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
23502 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
23504 rm -f conftest.err conftest.
$ac_objext \
23505 conftest
$ac_exeext conftest.
$ac_ext
23506 CFLAGS
="$ac_save_CFLAGS"
23507 LIBS
="$ac_save_LIBS"
23521 if test -z "$wx_cv_lib_gtk"; then
23524 wx_cv_cflags_gtk
=$GTK_CFLAGS
23525 wx_cv_libs_gtk
=$GTK_LIBS
23532 if test "$gtk_version_cached" = 1; then
23533 echo "$as_me:$LINENO: result: $wx_cv_lib_gtk" >&5
23534 echo "${ECHO_T}$wx_cv_lib_gtk" >&6
23537 case "$wx_cv_lib_gtk" in
23546 *) { { echo "$as_me:$LINENO: error:
23547 Please check that gtk-config is in path, the directory
23548 where GTK+ libraries are installed (returned by
23549 'gtk-config --libs' command) is in LD_LIBRARY_PATH or
23550 equivalent variable and GTK+ is version 1.2.3 or above.
23552 echo "$as_me: error:
23553 Please check that gtk-config is in path, the directory
23554 where GTK+ libraries are installed (returned by
23555 'gtk-config --libs' command) is in LD_LIBRARY_PATH or
23556 equivalent variable and GTK+ is version 1.2.3 or above.
23558 { (exit 1); exit 1; }; }
23562 if test "$WXGTK20" = 1; then
23563 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
23567 if test -z "$PKG_CONFIG"; then
23568 # Extract the first word of "pkg-config", so it can be a program name with args.
23569 set dummy pkg
-config; ac_word
=$2
23570 echo "$as_me:$LINENO: checking for $ac_word" >&5
23571 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
23572 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
23573 echo $ECHO_N "(cached) $ECHO_C" >&6
23575 case $PKG_CONFIG in
23577 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
23580 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
23581 for as_dir
in $PATH
23584 test -z "$as_dir" && as_dir
=.
23585 for ac_exec_ext
in '' $ac_executable_extensions; do
23586 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
23587 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
23588 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
23594 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
23598 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
23600 if test -n "$PKG_CONFIG"; then
23601 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
23602 echo "${ECHO_T}$PKG_CONFIG" >&6
23604 echo "$as_me:$LINENO: result: no" >&5
23605 echo "${ECHO_T}no" >&6
23610 if test "$PKG_CONFIG" = "no" ; then
23611 echo "*** The pkg-config script could not be found. Make sure it is"
23612 echo "*** in your path, or set the PKG_CONFIG environment variable"
23613 echo "*** to the full path to pkg-config."
23614 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
23616 PKG_CONFIG_MIN_VERSION
=0.9.0
23617 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
23618 echo "$as_me:$LINENO: checking for pangoft2" >&5
23619 echo $ECHO_N "checking for pangoft2... $ECHO_C" >&6
23621 if $PKG_CONFIG --exists "pangoft2" ; then
23622 echo "$as_me:$LINENO: result: yes" >&5
23623 echo "${ECHO_T}yes" >&6
23626 echo "$as_me:$LINENO: checking PANGOFT2_CFLAGS" >&5
23627 echo $ECHO_N "checking PANGOFT2_CFLAGS... $ECHO_C" >&6
23628 PANGOFT2_CFLAGS
=`$PKG_CONFIG --cflags "pangoft2"`
23629 echo "$as_me:$LINENO: result: $PANGOFT2_CFLAGS" >&5
23630 echo "${ECHO_T}$PANGOFT2_CFLAGS" >&6
23632 echo "$as_me:$LINENO: checking PANGOFT2_LIBS" >&5
23633 echo $ECHO_N "checking PANGOFT2_LIBS... $ECHO_C" >&6
23634 PANGOFT2_LIBS
=`$PKG_CONFIG --libs "pangoft2"`
23635 echo "$as_me:$LINENO: result: $PANGOFT2_LIBS" >&5
23636 echo "${ECHO_T}$PANGOFT2_LIBS" >&6
23640 ## If we have a custom action on failure, don't print errors, but
23641 ## do set a variable so people can do so.
23642 PANGOFT2_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoft2"`
23649 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
23650 echo "*** See http://www.freedesktop.org/software/pkgconfig"
23654 if test $succeeded = yes; then
23656 CXXFLAGS
="$CXXFLAGS $PANGOFT2_CFLAGS"
23657 # FIXME: GTK_LIBS already has a lot of what this is
23658 # about to add, but we go ahead and just add
23659 # it all again anyway.
23660 # This is not a good way to manage things. And simply
23661 # uniq'ing the list later is hardly better.
23662 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY $PANGOFT2_LIBS"
23666 { echo "$as_me:$LINENO: WARNING: pangoft2 library not found, library will be compiled without printing support" >&5
23667 echo "$as_me: WARNING: pangoft2 library not found, library will be compiled without printing support" >&2;}
23668 wxUSE_PRINTING_ARCHITECTURE
="no"
23675 save_CFLAGS
="$CFLAGS"
23677 CFLAGS
="$CFLAGS $GTK_CFLAGS"
23678 LIBS
="$LIBS $GTK_LIBS"
23680 for ac_func
in pango_font_family_is_monospace
23682 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
23683 echo "$as_me:$LINENO: checking for $ac_func" >&5
23684 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
23685 if eval "test \"\${$as_ac_var+set}\" = set"; then
23686 echo $ECHO_N "(cached) $ECHO_C" >&6
23688 cat >conftest.
$ac_ext <<_ACEOF
23691 cat confdefs.h
>>conftest.
$ac_ext
23692 cat >>conftest.
$ac_ext <<_ACEOF
23693 /* end confdefs.h. */
23694 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
23695 For example, HP-UX 11i <limits.h> declares gettimeofday. */
23696 #define $ac_func innocuous_$ac_func
23698 /* System header to define __stub macros and hopefully few prototypes,
23699 which can conflict with char $ac_func (); below.
23700 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
23701 <limits.h> exists even on freestanding compilers. */
23704 # include <limits.h>
23706 # include <assert.h>
23711 /* Override any gcc2 internal prototype to avoid an error. */
23716 /* We use char because int might match the return type of a gcc2
23717 builtin and then its argument prototype would still apply. */
23719 /* The GNU C library defines this for functions which it implements
23720 to always fail with ENOSYS. Some functions are actually named
23721 something starting with __ and the normal name is an alias. */
23722 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
23725 char (*f) () = $ac_func;
23734 return f != $ac_func;
23739 rm -f conftest.
$ac_objext conftest
$ac_exeext
23740 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23741 (eval $ac_link) 2>conftest.er1
23743 grep -v '^ *+' conftest.er1
>conftest.err
23745 cat conftest.err
>&5
23746 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23747 (exit $ac_status); } &&
23748 { ac_try
='test -z "$ac_c_werror_flag"
23749 || test ! -s conftest.err'
23750 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23751 (eval $ac_try) 2>&5
23753 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23754 (exit $ac_status); }; } &&
23755 { ac_try
='test -s conftest$ac_exeext'
23756 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23757 (eval $ac_try) 2>&5
23759 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23760 (exit $ac_status); }; }; then
23761 eval "$as_ac_var=yes"
23763 echo "$as_me: failed program was:" >&5
23764 sed 's/^/| /' conftest.
$ac_ext >&5
23766 eval "$as_ac_var=no"
23768 rm -f conftest.err conftest.
$ac_objext \
23769 conftest
$ac_exeext conftest.
$ac_ext
23771 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
23772 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
23773 if test `eval echo '${'$as_ac_var'}'` = yes; then
23774 cat >>confdefs.h
<<_ACEOF
23775 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
23781 CFLAGS
="$save_CFLAGS"
23784 if test "$wxUSE_UNICODE" = "yes"; then
23785 { echo "$as_me:$LINENO: WARNING: Unicode configuration not supported with GTK+ 1.x" >&5
23786 echo "$as_me: WARNING: Unicode configuration not supported with GTK+ 1.x" >&2;}
23791 if test "$USE_DARWIN" != 1; then
23793 for ac_func
in poll
23795 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
23796 echo "$as_me:$LINENO: checking for $ac_func" >&5
23797 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
23798 if eval "test \"\${$as_ac_var+set}\" = set"; then
23799 echo $ECHO_N "(cached) $ECHO_C" >&6
23801 cat >conftest.
$ac_ext <<_ACEOF
23804 cat confdefs.h
>>conftest.
$ac_ext
23805 cat >>conftest.
$ac_ext <<_ACEOF
23806 /* end confdefs.h. */
23807 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
23808 For example, HP-UX 11i <limits.h> declares gettimeofday. */
23809 #define $ac_func innocuous_$ac_func
23811 /* System header to define __stub macros and hopefully few prototypes,
23812 which can conflict with char $ac_func (); below.
23813 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
23814 <limits.h> exists even on freestanding compilers. */
23817 # include <limits.h>
23819 # include <assert.h>
23824 /* Override any gcc2 internal prototype to avoid an error. */
23829 /* We use char because int might match the return type of a gcc2
23830 builtin and then its argument prototype would still apply. */
23832 /* The GNU C library defines this for functions which it implements
23833 to always fail with ENOSYS. Some functions are actually named
23834 something starting with __ and the normal name is an alias. */
23835 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
23838 char (*f) () = $ac_func;
23847 return f != $ac_func;
23852 rm -f conftest.
$ac_objext conftest
$ac_exeext
23853 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23854 (eval $ac_link) 2>conftest.er1
23856 grep -v '^ *+' conftest.er1
>conftest.err
23858 cat conftest.err
>&5
23859 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23860 (exit $ac_status); } &&
23861 { ac_try
='test -z "$ac_c_werror_flag"
23862 || test ! -s conftest.err'
23863 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23864 (eval $ac_try) 2>&5
23866 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23867 (exit $ac_status); }; } &&
23868 { ac_try
='test -s conftest$ac_exeext'
23869 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23870 (eval $ac_try) 2>&5
23872 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23873 (exit $ac_status); }; }; then
23874 eval "$as_ac_var=yes"
23876 echo "$as_me: failed program was:" >&5
23877 sed 's/^/| /' conftest.
$ac_ext >&5
23879 eval "$as_ac_var=no"
23881 rm -f conftest.err conftest.
$ac_objext \
23882 conftest
$ac_exeext conftest.
$ac_ext
23884 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
23885 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
23886 if test `eval echo '${'$as_ac_var'}'` = yes; then
23887 cat >>confdefs.h
<<_ACEOF
23888 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
23896 TOOLKIT_INCLUDE
="$wx_cv_cflags_gtk"
23897 GUI_TK_LIBRARY
="$wx_cv_libs_gtk $GUI_TK_LIBRARY"
23899 AFMINSTALL
=afminstall
23903 echo "$as_me:$LINENO: checking for gdk_im_open in -lgdk" >&5
23904 echo $ECHO_N "checking for gdk_im_open in -lgdk... $ECHO_C" >&6
23905 if test "${ac_cv_lib_gdk_gdk_im_open+set}" = set; then
23906 echo $ECHO_N "(cached) $ECHO_C" >&6
23908 ac_check_lib_save_LIBS
=$LIBS
23910 cat >conftest.
$ac_ext <<_ACEOF
23913 cat confdefs.h
>>conftest.
$ac_ext
23914 cat >>conftest.
$ac_ext <<_ACEOF
23915 /* end confdefs.h. */
23917 /* Override any gcc2 internal prototype to avoid an error. */
23921 /* We use char because int might match the return type of a gcc2
23922 builtin and then its argument prototype would still apply. */
23923 char gdk_im_open ();
23932 rm -f conftest.
$ac_objext conftest
$ac_exeext
23933 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23934 (eval $ac_link) 2>conftest.er1
23936 grep -v '^ *+' conftest.er1
>conftest.err
23938 cat conftest.err
>&5
23939 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23940 (exit $ac_status); } &&
23941 { ac_try
='test -z "$ac_c_werror_flag"
23942 || test ! -s conftest.err'
23943 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23944 (eval $ac_try) 2>&5
23946 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23947 (exit $ac_status); }; } &&
23948 { ac_try
='test -s conftest$ac_exeext'
23949 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23950 (eval $ac_try) 2>&5
23952 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23953 (exit $ac_status); }; }; then
23954 ac_cv_lib_gdk_gdk_im_open
=yes
23956 echo "$as_me: failed program was:" >&5
23957 sed 's/^/| /' conftest.
$ac_ext >&5
23959 ac_cv_lib_gdk_gdk_im_open
=no
23961 rm -f conftest.err conftest.
$ac_objext \
23962 conftest
$ac_exeext conftest.
$ac_ext
23963 LIBS
=$ac_check_lib_save_LIBS
23965 echo "$as_me:$LINENO: result: $ac_cv_lib_gdk_gdk_im_open" >&5
23966 echo "${ECHO_T}$ac_cv_lib_gdk_gdk_im_open" >&6
23967 if test $ac_cv_lib_gdk_gdk_im_open = yes; then
23968 cat >>confdefs.h
<<\_ACEOF
23976 if test "$wxUSE_GPE" = "yes"; then
23977 echo "$as_me:$LINENO: checking for gpewidget library" >&5
23978 echo $ECHO_N "checking for gpewidget library... $ECHO_C" >&6
23981 for ac_dir
in $SEARCH_LIB /usr
/lib
;
23983 for ac_extension
in a so sl dylib
; do
23984 if test -f "$ac_dir/libgpewidget.$ac_extension"; then
23985 ac_find_libraries
=$ac_dir
23991 if test "$ac_find_libraries" != "" ; then
23993 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev
/null
23995 if test $result = 0; then
23998 ac_path_to_link
=" -L$ac_find_libraries"
24001 GUI_TK_LIBRARY
="-L${prefix}/lib -lgpewidget $GUI_TK_LIBRARY"
24003 echo "$as_me:$LINENO: result: found at $ac_find_libraries" >&5
24004 echo "${ECHO_T}found at $ac_find_libraries" >&6
24006 echo "$as_me:$LINENO: result: not found" >&5
24007 echo "${ECHO_T}not found" >&6
24013 if test "$wxUSE_MGL" = 1; then
24014 echo "$as_me:$LINENO: checking for SciTech MGL library" >&5
24015 echo $ECHO_N "checking for SciTech MGL library... $ECHO_C" >&6
24016 if test "x$MGL_ROOT" = x
; then
24017 echo "$as_me:$LINENO: result: not found" >&5
24018 echo "${ECHO_T}not found" >&6
24019 { { echo "$as_me:$LINENO: error: Cannot find MGL library. Make sure MGL_ROOT is set." >&5
24020 echo "$as_me: error: Cannot find MGL library. Make sure MGL_ROOT is set." >&2;}
24021 { (exit 1); exit 1; }; }
24023 echo "$as_me:$LINENO: result: $MGL_ROOT" >&5
24024 echo "${ECHO_T}$MGL_ROOT" >&6
24027 echo "$as_me:$LINENO: checking for libmgl location" >&5
24028 echo $ECHO_N "checking for libmgl location... $ECHO_C" >&6
24031 if test "x$wxUSE_SHARED" = xyes
; then
24032 mgl_os_candidates
="linux/gcc/x86/so linux/gcc/x86/a linux/gcc/glibc.so linux/gcc/glibc"
24034 mgl_os_candidates
="linux/gcc/x86/a linux/gcc/x86/so linux/gcc/glibc linux/gcc/glibc.so"
24038 mgl_os_candidates
="dos32/dj2"
24041 { { echo "$as_me:$LINENO: error: This system type ${host} is not yet supported by wxMGL." >&5
24042 echo "$as_me: error: This system type ${host} is not yet supported by wxMGL." >&2;}
24043 { (exit 1); exit 1; }; }
24049 for mgl_os_i
in $mgl_os_candidates ; do
24050 if test "x$mgl_os" = x
; then
24051 if test "$wxUSE_DEBUG_FLAG" = yes ; then
24052 if test -f $MGL_ROOT/lib
/debug
/$mgl_os_i/libmgl.a
-o \
24053 -f $MGL_ROOT/lib
/debug
/$mgl_os_i/libmgl.so
; then
24058 if test "x$mgl_lib_type" = x
; then
24059 if test -f $MGL_ROOT/lib
/release
/$mgl_os_i/libmgl.a
-o \
24060 -f $MGL_ROOT/lib
/release
/$mgl_os_i/libmgl.so
; then
24061 mgl_lib_type
=release
24068 if test "x$mgl_os" = x
; then
24069 echo "$as_me:$LINENO: result: not found" >&5
24070 echo "${ECHO_T}not found" >&6
24071 { { echo "$as_me:$LINENO: error: Cannot find MGL libraries, make sure they are compiled." >&5
24072 echo "$as_me: error: Cannot find MGL libraries, make sure they are compiled." >&2;}
24073 { (exit 1); exit 1; }; }
24075 echo "$as_me:$LINENO: result: \"$MGL_ROOT/lib/$mgl_lib_type/$mgl_os\"" >&5
24076 echo "${ECHO_T}\"$MGL_ROOT/lib/$mgl_lib_type/$mgl_os\"" >&6
24078 wxUSE_UNIVERSAL
="yes"
24080 TOOLKIT_INCLUDE
="-I$MGL_ROOT/include"
24081 GUI_TK_LIBRARY
="-L$MGL_ROOT/lib/$mgl_lib_type/$mgl_os -lmgl -lmglcpp -lpm"
24083 AFMINSTALL
=afminstall
24088 if test "$wxUSE_MICROWIN" = 1; then
24089 echo "$as_me:$LINENO: checking for MicroWindows" >&5
24090 echo $ECHO_N "checking for MicroWindows... $ECHO_C" >&6
24091 if test "x$MICROWINDOWS" = x
; then
24092 echo "$as_me:$LINENO: result: not found" >&5
24093 echo "${ECHO_T}not found" >&6
24094 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows library. Make sure MICROWINDOWS is set." >&5
24095 echo "$as_me: error: Cannot find MicroWindows library. Make sure MICROWINDOWS is set." >&2;}
24096 { (exit 1); exit 1; }; }
24098 echo "$as_me:$LINENO: result: $MICROWINDOWS" >&5
24099 echo "${ECHO_T}$MICROWINDOWS" >&6
24102 if test -f $MICROWINDOWS/lib
/libmwin.a
; then
24103 echo "$as_me:$LINENO: result: MicroWindows' libraries found." >&5
24104 echo "${ECHO_T}MicroWindows' libraries found." >&6
24106 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows libraries, make sure they are compiled." >&5
24107 echo "$as_me: error: Cannot find MicroWindows libraries, make sure they are compiled." >&2;}
24108 { (exit 1); exit 1; }; }
24111 TOOLKIT_INCLUDE
="-I$MICROWINDOWS/include"
24112 GUI_TK_LIBRARY
="-L$MICROWINDOWS/lib -lmwin -lmwengine -mwfonts -mwdrivers -mwinlib"
24114 wxUSE_UNIVERSAL
="yes"
24116 AFMINSTALL
=afminstall
24118 GUIDIST
=MICROWIN_DIST
24120 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -D__WXMSW__ -D__WIN95__ -D__WIN32__ -DMWIN -DMICROWIN_NOCONTROLS -DMICROWIN_TODO=1"
24123 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
24124 echo "$as_me:$LINENO: checking for X" >&5
24125 echo $ECHO_N "checking for X... $ECHO_C" >&6
24128 # Check whether --with-x or --without-x was given.
24129 if test "${with_x+set}" = set; then
24133 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
24134 if test "x$with_x" = xno
; then
24135 # The user explicitly disabled X.
24138 if test "x$x_includes" != xNONE
&& test "x$x_libraries" != xNONE
; then
24139 # Both variables are already set.
24142 if test "${ac_cv_have_x+set}" = set; then
24143 echo $ECHO_N "(cached) $ECHO_C" >&6
24145 # One or both of the vars are not set, and there is no cached value.
24146 ac_x_includes
=no ac_x_libraries
=no
24147 rm -fr conftest.dir
24148 if mkdir conftest.dir
; then
24150 # Make sure to not put "make" in the Imakefile rules, since we grep it out.
24151 cat >Imakefile
<<'_ACEOF'
24153 @echo 'ac_im_incroot="${INCROOT}"; ac_im_usrlibdir="${USRLIBDIR}"; ac_im_libdir="${LIBDIR}"'
24155 if (xmkmf
) >/dev
/null
2>/dev
/null
&& test -f Makefile
; then
24156 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
24157 eval `${MAKE-make} acfindx 2>/dev/null | grep -v make`
24158 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
24159 for ac_extension
in a so sl
; do
24160 if test ! -f $ac_im_usrlibdir/libX11.
$ac_extension &&
24161 test -f $ac_im_libdir/libX11.
$ac_extension; then
24162 ac_im_usrlibdir
=$ac_im_libdir; break
24165 # Screen out bogus values from the imake configuration. They are
24166 # bogus both because they are the default anyway, and because
24167 # using them would break gcc on systems where it needs fixed includes.
24168 case $ac_im_incroot in
24170 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes
=$ac_im_incroot;;
24172 case $ac_im_usrlibdir in
24173 /usr
/lib
| /lib
) ;;
24174 *) test -d "$ac_im_usrlibdir" && ac_x_libraries
=$ac_im_usrlibdir ;;
24178 rm -fr conftest.dir
24181 # Standard set of common directories for X headers.
24182 # Check X11 before X11Rn because it is often a symlink to the current release.
24194 /usr/local/X11/include
24195 /usr/local/X11R6/include
24196 /usr/local/X11R5/include
24197 /usr/local/X11R4/include
24199 /usr/local/include/X11
24200 /usr/local/include/X11R6
24201 /usr/local/include/X11R5
24202 /usr/local/include/X11R4
24206 /usr/XFree86/include/X11
24210 /usr/unsupported/include
24211 /usr/athena/include
24212 /usr/local/x11r5/include
24213 /usr/lpp/Xamples/include
24215 /usr/openwin/include
24216 /usr/openwin/share/include'
24218 if test "$ac_x_includes" = no
; then
24219 # Guess where to find include files, by looking for Intrinsic.h.
24220 # First, try using that file with no special directory specified.
24221 cat >conftest.
$ac_ext <<_ACEOF
24224 cat confdefs.h
>>conftest.
$ac_ext
24225 cat >>conftest.
$ac_ext <<_ACEOF
24226 /* end confdefs.h. */
24227 #include <X11/Intrinsic.h>
24229 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
24230 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
24232 grep -v '^ *+' conftest.er1
>conftest.err
24234 cat conftest.err
>&5
24235 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24236 (exit $ac_status); } >/dev
/null
; then
24237 if test -s conftest.err
; then
24238 ac_cpp_err
=$ac_c_preproc_warn_flag
24239 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
24246 if test -z "$ac_cpp_err"; then
24247 # We can compile using X headers with no special include directory.
24250 echo "$as_me: failed program was:" >&5
24251 sed 's/^/| /' conftest.
$ac_ext >&5
24253 for ac_dir
in $ac_x_header_dirs; do
24254 if test -r "$ac_dir/X11/Intrinsic.h"; then
24255 ac_x_includes
=$ac_dir
24260 rm -f conftest.err conftest.
$ac_ext
24261 fi # $ac_x_includes = no
24263 if test "$ac_x_libraries" = no
; then
24264 # Check for the libraries.
24265 # See if we find them without any special options.
24266 # Don't add to $LIBS permanently.
24269 cat >conftest.
$ac_ext <<_ACEOF
24272 cat confdefs.h
>>conftest.
$ac_ext
24273 cat >>conftest.
$ac_ext <<_ACEOF
24274 /* end confdefs.h. */
24275 #include <X11/Intrinsic.h>
24284 rm -f conftest.
$ac_objext conftest
$ac_exeext
24285 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24286 (eval $ac_link) 2>conftest.er1
24288 grep -v '^ *+' conftest.er1
>conftest.err
24290 cat conftest.err
>&5
24291 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24292 (exit $ac_status); } &&
24293 { ac_try
='test -z "$ac_c_werror_flag"
24294 || test ! -s conftest.err'
24295 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24296 (eval $ac_try) 2>&5
24298 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24299 (exit $ac_status); }; } &&
24300 { ac_try
='test -s conftest$ac_exeext'
24301 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24302 (eval $ac_try) 2>&5
24304 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24305 (exit $ac_status); }; }; then
24307 # We can link X programs with no special library path.
24310 echo "$as_me: failed program was:" >&5
24311 sed 's/^/| /' conftest.
$ac_ext >&5
24314 for ac_dir
in `echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
24316 # Don't even attempt the hair of trying to link an X program!
24317 for ac_extension
in a so sl
; do
24318 if test -r $ac_dir/libXt.
$ac_extension; then
24319 ac_x_libraries
=$ac_dir
24325 rm -f conftest.err conftest.
$ac_objext \
24326 conftest
$ac_exeext conftest.
$ac_ext
24327 fi # $ac_x_libraries = no
24329 if test "$ac_x_includes" = no
|| test "$ac_x_libraries" = no
; then
24330 # Didn't find X anywhere. Cache the known absence of X.
24331 ac_cv_have_x
="have_x=no"
24333 # Record where we found X for the cache.
24334 ac_cv_have_x
="have_x=yes \
24335 ac_x_includes=$ac_x_includes ac_x_libraries=$ac_x_libraries"
24340 eval "$ac_cv_have_x"
24343 if test "$have_x" != yes; then
24344 echo "$as_me:$LINENO: result: $have_x" >&5
24345 echo "${ECHO_T}$have_x" >&6
24348 # If each of the values was on the command line, it overrides each guess.
24349 test "x$x_includes" = xNONE
&& x_includes
=$ac_x_includes
24350 test "x$x_libraries" = xNONE
&& x_libraries
=$ac_x_libraries
24351 # Update the cache value to reflect the command line values.
24352 ac_cv_have_x
="have_x=yes \
24353 ac_x_includes=$x_includes ac_x_libraries=$x_libraries"
24354 echo "$as_me:$LINENO: result: libraries $x_libraries, headers $x_includes" >&5
24355 echo "${ECHO_T}libraries $x_libraries, headers $x_includes" >&6
24358 if test "$no_x" = yes; then
24359 # Not all programs may use this symbol, but it does not hurt to define it.
24361 cat >>confdefs.h
<<\_ACEOF
24362 #define X_DISPLAY_MISSING 1
24365 X_CFLAGS
= X_PRE_LIBS
= X_LIBS
= X_EXTRA_LIBS
=
24367 if test -n "$x_includes"; then
24368 X_CFLAGS
="$X_CFLAGS -I$x_includes"
24371 # It would also be nice to do this for all -L options, not just this one.
24372 if test -n "$x_libraries"; then
24373 X_LIBS
="$X_LIBS -L$x_libraries"
24374 # For Solaris; some versions of Sun CC require a space after -R and
24375 # others require no space. Words are not sufficient . . . .
24376 case `(uname -sr) 2>/dev/null` in
24378 echo "$as_me:$LINENO: checking whether -R must be followed by a space" >&5
24379 echo $ECHO_N "checking whether -R must be followed by a space... $ECHO_C" >&6
24380 ac_xsave_LIBS
=$LIBS; LIBS
="$LIBS -R$x_libraries"
24381 cat >conftest.
$ac_ext <<_ACEOF
24384 cat confdefs.h
>>conftest.
$ac_ext
24385 cat >>conftest.
$ac_ext <<_ACEOF
24386 /* end confdefs.h. */
24396 rm -f conftest.
$ac_objext conftest
$ac_exeext
24397 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24398 (eval $ac_link) 2>conftest.er1
24400 grep -v '^ *+' conftest.er1
>conftest.err
24402 cat conftest.err
>&5
24403 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24404 (exit $ac_status); } &&
24405 { ac_try
='test -z "$ac_c_werror_flag"
24406 || test ! -s conftest.err'
24407 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24408 (eval $ac_try) 2>&5
24410 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24411 (exit $ac_status); }; } &&
24412 { ac_try
='test -s conftest$ac_exeext'
24413 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24414 (eval $ac_try) 2>&5
24416 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24417 (exit $ac_status); }; }; then
24420 echo "$as_me: failed program was:" >&5
24421 sed 's/^/| /' conftest.
$ac_ext >&5
24425 rm -f conftest.err conftest.
$ac_objext \
24426 conftest
$ac_exeext conftest.
$ac_ext
24427 if test $ac_R_nospace = yes; then
24428 echo "$as_me:$LINENO: result: no" >&5
24429 echo "${ECHO_T}no" >&6
24430 X_LIBS
="$X_LIBS -R$x_libraries"
24432 LIBS
="$ac_xsave_LIBS -R $x_libraries"
24433 cat >conftest.
$ac_ext <<_ACEOF
24436 cat confdefs.h
>>conftest.
$ac_ext
24437 cat >>conftest.
$ac_ext <<_ACEOF
24438 /* end confdefs.h. */
24448 rm -f conftest.
$ac_objext conftest
$ac_exeext
24449 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24450 (eval $ac_link) 2>conftest.er1
24452 grep -v '^ *+' conftest.er1
>conftest.err
24454 cat conftest.err
>&5
24455 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24456 (exit $ac_status); } &&
24457 { ac_try
='test -z "$ac_c_werror_flag"
24458 || test ! -s conftest.err'
24459 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24460 (eval $ac_try) 2>&5
24462 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24463 (exit $ac_status); }; } &&
24464 { ac_try
='test -s conftest$ac_exeext'
24465 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24466 (eval $ac_try) 2>&5
24468 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24469 (exit $ac_status); }; }; then
24472 echo "$as_me: failed program was:" >&5
24473 sed 's/^/| /' conftest.
$ac_ext >&5
24477 rm -f conftest.err conftest.
$ac_objext \
24478 conftest
$ac_exeext conftest.
$ac_ext
24479 if test $ac_R_space = yes; then
24480 echo "$as_me:$LINENO: result: yes" >&5
24481 echo "${ECHO_T}yes" >&6
24482 X_LIBS
="$X_LIBS -R $x_libraries"
24484 echo "$as_me:$LINENO: result: neither works" >&5
24485 echo "${ECHO_T}neither works" >&6
24488 LIBS
=$ac_xsave_LIBS
24492 # Check for system-dependent libraries X programs must link with.
24493 # Do this before checking for the system-independent R6 libraries
24494 # (-lICE), since we may need -lsocket or whatever for X linking.
24496 if test "$ISC" = yes; then
24497 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl_s -linet"
24499 # Martyn Johnson says this is needed for Ultrix, if the X
24500 # libraries were built with DECnet support. And Karl Berry says
24501 # the Alpha needs dnet_stub (dnet does not exist).
24502 ac_xsave_LIBS
="$LIBS"; LIBS
="$LIBS $X_LIBS -lX11"
24503 cat >conftest.
$ac_ext <<_ACEOF
24506 cat confdefs.h
>>conftest.
$ac_ext
24507 cat >>conftest.
$ac_ext <<_ACEOF
24508 /* end confdefs.h. */
24510 /* Override any gcc2 internal prototype to avoid an error. */
24514 /* We use char because int might match the return type of a gcc2
24515 builtin and then its argument prototype would still apply. */
24516 char XOpenDisplay ();
24525 rm -f conftest.
$ac_objext conftest
$ac_exeext
24526 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24527 (eval $ac_link) 2>conftest.er1
24529 grep -v '^ *+' conftest.er1
>conftest.err
24531 cat conftest.err
>&5
24532 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24533 (exit $ac_status); } &&
24534 { ac_try
='test -z "$ac_c_werror_flag"
24535 || test ! -s conftest.err'
24536 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24537 (eval $ac_try) 2>&5
24539 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24540 (exit $ac_status); }; } &&
24541 { ac_try
='test -s conftest$ac_exeext'
24542 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24543 (eval $ac_try) 2>&5
24545 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24546 (exit $ac_status); }; }; then
24549 echo "$as_me: failed program was:" >&5
24550 sed 's/^/| /' conftest.
$ac_ext >&5
24552 echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet" >&5
24553 echo $ECHO_N "checking for dnet_ntoa in -ldnet... $ECHO_C" >&6
24554 if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then
24555 echo $ECHO_N "(cached) $ECHO_C" >&6
24557 ac_check_lib_save_LIBS
=$LIBS
24558 LIBS
="-ldnet $LIBS"
24559 cat >conftest.
$ac_ext <<_ACEOF
24562 cat confdefs.h
>>conftest.
$ac_ext
24563 cat >>conftest.
$ac_ext <<_ACEOF
24564 /* end confdefs.h. */
24566 /* Override any gcc2 internal prototype to avoid an error. */
24570 /* We use char because int might match the return type of a gcc2
24571 builtin and then its argument prototype would still apply. */
24581 rm -f conftest.
$ac_objext conftest
$ac_exeext
24582 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24583 (eval $ac_link) 2>conftest.er1
24585 grep -v '^ *+' conftest.er1
>conftest.err
24587 cat conftest.err
>&5
24588 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24589 (exit $ac_status); } &&
24590 { ac_try
='test -z "$ac_c_werror_flag"
24591 || test ! -s conftest.err'
24592 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24593 (eval $ac_try) 2>&5
24595 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24596 (exit $ac_status); }; } &&
24597 { ac_try
='test -s conftest$ac_exeext'
24598 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24599 (eval $ac_try) 2>&5
24601 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24602 (exit $ac_status); }; }; then
24603 ac_cv_lib_dnet_dnet_ntoa
=yes
24605 echo "$as_me: failed program was:" >&5
24606 sed 's/^/| /' conftest.
$ac_ext >&5
24608 ac_cv_lib_dnet_dnet_ntoa
=no
24610 rm -f conftest.err conftest.
$ac_objext \
24611 conftest
$ac_exeext conftest.
$ac_ext
24612 LIBS
=$ac_check_lib_save_LIBS
24614 echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
24615 echo "${ECHO_T}$ac_cv_lib_dnet_dnet_ntoa" >&6
24616 if test $ac_cv_lib_dnet_dnet_ntoa = yes; then
24617 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet"
24620 if test $ac_cv_lib_dnet_dnet_ntoa = no
; then
24621 echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet_stub" >&5
24622 echo $ECHO_N "checking for dnet_ntoa in -ldnet_stub... $ECHO_C" >&6
24623 if test "${ac_cv_lib_dnet_stub_dnet_ntoa+set}" = set; then
24624 echo $ECHO_N "(cached) $ECHO_C" >&6
24626 ac_check_lib_save_LIBS
=$LIBS
24627 LIBS
="-ldnet_stub $LIBS"
24628 cat >conftest.
$ac_ext <<_ACEOF
24631 cat confdefs.h
>>conftest.
$ac_ext
24632 cat >>conftest.
$ac_ext <<_ACEOF
24633 /* end confdefs.h. */
24635 /* Override any gcc2 internal prototype to avoid an error. */
24639 /* We use char because int might match the return type of a gcc2
24640 builtin and then its argument prototype would still apply. */
24650 rm -f conftest.
$ac_objext conftest
$ac_exeext
24651 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24652 (eval $ac_link) 2>conftest.er1
24654 grep -v '^ *+' conftest.er1
>conftest.err
24656 cat conftest.err
>&5
24657 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24658 (exit $ac_status); } &&
24659 { ac_try
='test -z "$ac_c_werror_flag"
24660 || test ! -s conftest.err'
24661 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24662 (eval $ac_try) 2>&5
24664 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24665 (exit $ac_status); }; } &&
24666 { ac_try
='test -s conftest$ac_exeext'
24667 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24668 (eval $ac_try) 2>&5
24670 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24671 (exit $ac_status); }; }; then
24672 ac_cv_lib_dnet_stub_dnet_ntoa
=yes
24674 echo "$as_me: failed program was:" >&5
24675 sed 's/^/| /' conftest.
$ac_ext >&5
24677 ac_cv_lib_dnet_stub_dnet_ntoa
=no
24679 rm -f conftest.err conftest.
$ac_objext \
24680 conftest
$ac_exeext conftest.
$ac_ext
24681 LIBS
=$ac_check_lib_save_LIBS
24683 echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
24684 echo "${ECHO_T}$ac_cv_lib_dnet_stub_dnet_ntoa" >&6
24685 if test $ac_cv_lib_dnet_stub_dnet_ntoa = yes; then
24686 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet_stub"
24691 rm -f conftest.err conftest.
$ac_objext \
24692 conftest
$ac_exeext conftest.
$ac_ext
24693 LIBS
="$ac_xsave_LIBS"
24695 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
24696 # to get the SysV transport functions.
24697 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
24699 # The nsl library prevents programs from opening the X display
24700 # on Irix 5.2, according to T.E. Dickey.
24701 # The functions gethostbyname, getservbyname, and inet_addr are
24702 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
24703 echo "$as_me:$LINENO: checking for gethostbyname" >&5
24704 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6
24705 if test "${ac_cv_func_gethostbyname+set}" = set; then
24706 echo $ECHO_N "(cached) $ECHO_C" >&6
24708 cat >conftest.
$ac_ext <<_ACEOF
24711 cat confdefs.h
>>conftest.
$ac_ext
24712 cat >>conftest.
$ac_ext <<_ACEOF
24713 /* end confdefs.h. */
24714 /* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
24715 For example, HP-UX 11i <limits.h> declares gettimeofday. */
24716 #define gethostbyname innocuous_gethostbyname
24718 /* System header to define __stub macros and hopefully few prototypes,
24719 which can conflict with char gethostbyname (); below.
24720 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24721 <limits.h> exists even on freestanding compilers. */
24724 # include <limits.h>
24726 # include <assert.h>
24729 #undef gethostbyname
24731 /* Override any gcc2 internal prototype to avoid an error. */
24736 /* We use char because int might match the return type of a gcc2
24737 builtin and then its argument prototype would still apply. */
24738 char gethostbyname ();
24739 /* The GNU C library defines this for functions which it implements
24740 to always fail with ENOSYS. Some functions are actually named
24741 something starting with __ and the normal name is an alias. */
24742 #if defined (__stub_gethostbyname) || defined (__stub___gethostbyname)
24745 char (*f) () = gethostbyname;
24754 return f != gethostbyname;
24759 rm -f conftest.
$ac_objext conftest
$ac_exeext
24760 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24761 (eval $ac_link) 2>conftest.er1
24763 grep -v '^ *+' conftest.er1
>conftest.err
24765 cat conftest.err
>&5
24766 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24767 (exit $ac_status); } &&
24768 { ac_try
='test -z "$ac_c_werror_flag"
24769 || test ! -s conftest.err'
24770 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24771 (eval $ac_try) 2>&5
24773 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24774 (exit $ac_status); }; } &&
24775 { ac_try
='test -s conftest$ac_exeext'
24776 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24777 (eval $ac_try) 2>&5
24779 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24780 (exit $ac_status); }; }; then
24781 ac_cv_func_gethostbyname
=yes
24783 echo "$as_me: failed program was:" >&5
24784 sed 's/^/| /' conftest.
$ac_ext >&5
24786 ac_cv_func_gethostbyname
=no
24788 rm -f conftest.err conftest.
$ac_objext \
24789 conftest
$ac_exeext conftest.
$ac_ext
24791 echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
24792 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6
24794 if test $ac_cv_func_gethostbyname = no
; then
24795 echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
24796 echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6
24797 if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
24798 echo $ECHO_N "(cached) $ECHO_C" >&6
24800 ac_check_lib_save_LIBS
=$LIBS
24802 cat >conftest.
$ac_ext <<_ACEOF
24805 cat confdefs.h
>>conftest.
$ac_ext
24806 cat >>conftest.
$ac_ext <<_ACEOF
24807 /* end confdefs.h. */
24809 /* Override any gcc2 internal prototype to avoid an error. */
24813 /* We use char because int might match the return type of a gcc2
24814 builtin and then its argument prototype would still apply. */
24815 char gethostbyname ();
24824 rm -f conftest.
$ac_objext conftest
$ac_exeext
24825 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24826 (eval $ac_link) 2>conftest.er1
24828 grep -v '^ *+' conftest.er1
>conftest.err
24830 cat conftest.err
>&5
24831 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24832 (exit $ac_status); } &&
24833 { ac_try
='test -z "$ac_c_werror_flag"
24834 || test ! -s conftest.err'
24835 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24836 (eval $ac_try) 2>&5
24838 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24839 (exit $ac_status); }; } &&
24840 { ac_try
='test -s conftest$ac_exeext'
24841 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24842 (eval $ac_try) 2>&5
24844 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24845 (exit $ac_status); }; }; then
24846 ac_cv_lib_nsl_gethostbyname
=yes
24848 echo "$as_me: failed program was:" >&5
24849 sed 's/^/| /' conftest.
$ac_ext >&5
24851 ac_cv_lib_nsl_gethostbyname
=no
24853 rm -f conftest.err conftest.
$ac_objext \
24854 conftest
$ac_exeext conftest.
$ac_ext
24855 LIBS
=$ac_check_lib_save_LIBS
24857 echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
24858 echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6
24859 if test $ac_cv_lib_nsl_gethostbyname = yes; then
24860 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl"
24863 if test $ac_cv_lib_nsl_gethostbyname = no
; then
24864 echo "$as_me:$LINENO: checking for gethostbyname in -lbsd" >&5
24865 echo $ECHO_N "checking for gethostbyname in -lbsd... $ECHO_C" >&6
24866 if test "${ac_cv_lib_bsd_gethostbyname+set}" = set; then
24867 echo $ECHO_N "(cached) $ECHO_C" >&6
24869 ac_check_lib_save_LIBS
=$LIBS
24871 cat >conftest.
$ac_ext <<_ACEOF
24874 cat confdefs.h
>>conftest.
$ac_ext
24875 cat >>conftest.
$ac_ext <<_ACEOF
24876 /* end confdefs.h. */
24878 /* Override any gcc2 internal prototype to avoid an error. */
24882 /* We use char because int might match the return type of a gcc2
24883 builtin and then its argument prototype would still apply. */
24884 char gethostbyname ();
24893 rm -f conftest.
$ac_objext conftest
$ac_exeext
24894 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24895 (eval $ac_link) 2>conftest.er1
24897 grep -v '^ *+' conftest.er1
>conftest.err
24899 cat conftest.err
>&5
24900 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24901 (exit $ac_status); } &&
24902 { ac_try
='test -z "$ac_c_werror_flag"
24903 || test ! -s conftest.err'
24904 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24905 (eval $ac_try) 2>&5
24907 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24908 (exit $ac_status); }; } &&
24909 { ac_try
='test -s conftest$ac_exeext'
24910 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24911 (eval $ac_try) 2>&5
24913 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24914 (exit $ac_status); }; }; then
24915 ac_cv_lib_bsd_gethostbyname
=yes
24917 echo "$as_me: failed program was:" >&5
24918 sed 's/^/| /' conftest.
$ac_ext >&5
24920 ac_cv_lib_bsd_gethostbyname
=no
24922 rm -f conftest.err conftest.
$ac_objext \
24923 conftest
$ac_exeext conftest.
$ac_ext
24924 LIBS
=$ac_check_lib_save_LIBS
24926 echo "$as_me:$LINENO: result: $ac_cv_lib_bsd_gethostbyname" >&5
24927 echo "${ECHO_T}$ac_cv_lib_bsd_gethostbyname" >&6
24928 if test $ac_cv_lib_bsd_gethostbyname = yes; then
24929 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lbsd"
24935 # lieder@skyler.mavd.honeywell.com says without -lsocket,
24936 # socket/setsockopt and other routines are undefined under SCO ODT
24937 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
24938 # on later versions), says Simon Leinen: it contains gethostby*
24939 # variants that don't use the name server (or something). -lsocket
24940 # must be given before -lnsl if both are needed. We assume that
24941 # if connect needs -lnsl, so does gethostbyname.
24942 echo "$as_me:$LINENO: checking for connect" >&5
24943 echo $ECHO_N "checking for connect... $ECHO_C" >&6
24944 if test "${ac_cv_func_connect+set}" = set; then
24945 echo $ECHO_N "(cached) $ECHO_C" >&6
24947 cat >conftest.
$ac_ext <<_ACEOF
24950 cat confdefs.h
>>conftest.
$ac_ext
24951 cat >>conftest.
$ac_ext <<_ACEOF
24952 /* end confdefs.h. */
24953 /* Define connect to an innocuous variant, in case <limits.h> declares connect.
24954 For example, HP-UX 11i <limits.h> declares gettimeofday. */
24955 #define connect innocuous_connect
24957 /* System header to define __stub macros and hopefully few prototypes,
24958 which can conflict with char connect (); below.
24959 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24960 <limits.h> exists even on freestanding compilers. */
24963 # include <limits.h>
24965 # include <assert.h>
24970 /* Override any gcc2 internal prototype to avoid an error. */
24975 /* We use char because int might match the return type of a gcc2
24976 builtin and then its argument prototype would still apply. */
24978 /* The GNU C library defines this for functions which it implements
24979 to always fail with ENOSYS. Some functions are actually named
24980 something starting with __ and the normal name is an alias. */
24981 #if defined (__stub_connect) || defined (__stub___connect)
24984 char (*f) () = connect;
24993 return f != connect;
24998 rm -f conftest.
$ac_objext conftest
$ac_exeext
24999 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25000 (eval $ac_link) 2>conftest.er1
25002 grep -v '^ *+' conftest.er1
>conftest.err
25004 cat conftest.err
>&5
25005 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25006 (exit $ac_status); } &&
25007 { ac_try
='test -z "$ac_c_werror_flag"
25008 || test ! -s conftest.err'
25009 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25010 (eval $ac_try) 2>&5
25012 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25013 (exit $ac_status); }; } &&
25014 { ac_try
='test -s conftest$ac_exeext'
25015 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25016 (eval $ac_try) 2>&5
25018 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25019 (exit $ac_status); }; }; then
25020 ac_cv_func_connect
=yes
25022 echo "$as_me: failed program was:" >&5
25023 sed 's/^/| /' conftest.
$ac_ext >&5
25025 ac_cv_func_connect
=no
25027 rm -f conftest.err conftest.
$ac_objext \
25028 conftest
$ac_exeext conftest.
$ac_ext
25030 echo "$as_me:$LINENO: result: $ac_cv_func_connect" >&5
25031 echo "${ECHO_T}$ac_cv_func_connect" >&6
25033 if test $ac_cv_func_connect = no
; then
25034 echo "$as_me:$LINENO: checking for connect in -lsocket" >&5
25035 echo $ECHO_N "checking for connect in -lsocket... $ECHO_C" >&6
25036 if test "${ac_cv_lib_socket_connect+set}" = set; then
25037 echo $ECHO_N "(cached) $ECHO_C" >&6
25039 ac_check_lib_save_LIBS
=$LIBS
25040 LIBS
="-lsocket $X_EXTRA_LIBS $LIBS"
25041 cat >conftest.
$ac_ext <<_ACEOF
25044 cat confdefs.h
>>conftest.
$ac_ext
25045 cat >>conftest.
$ac_ext <<_ACEOF
25046 /* end confdefs.h. */
25048 /* Override any gcc2 internal prototype to avoid an error. */
25052 /* We use char because int might match the return type of a gcc2
25053 builtin and then its argument prototype would still apply. */
25063 rm -f conftest.
$ac_objext conftest
$ac_exeext
25064 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25065 (eval $ac_link) 2>conftest.er1
25067 grep -v '^ *+' conftest.er1
>conftest.err
25069 cat conftest.err
>&5
25070 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25071 (exit $ac_status); } &&
25072 { ac_try
='test -z "$ac_c_werror_flag"
25073 || test ! -s conftest.err'
25074 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25075 (eval $ac_try) 2>&5
25077 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25078 (exit $ac_status); }; } &&
25079 { ac_try
='test -s conftest$ac_exeext'
25080 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25081 (eval $ac_try) 2>&5
25083 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25084 (exit $ac_status); }; }; then
25085 ac_cv_lib_socket_connect
=yes
25087 echo "$as_me: failed program was:" >&5
25088 sed 's/^/| /' conftest.
$ac_ext >&5
25090 ac_cv_lib_socket_connect
=no
25092 rm -f conftest.err conftest.
$ac_objext \
25093 conftest
$ac_exeext conftest.
$ac_ext
25094 LIBS
=$ac_check_lib_save_LIBS
25096 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5
25097 echo "${ECHO_T}$ac_cv_lib_socket_connect" >&6
25098 if test $ac_cv_lib_socket_connect = yes; then
25099 X_EXTRA_LIBS
="-lsocket $X_EXTRA_LIBS"
25104 # Guillermo Gomez says -lposix is necessary on A/UX.
25105 echo "$as_me:$LINENO: checking for remove" >&5
25106 echo $ECHO_N "checking for remove... $ECHO_C" >&6
25107 if test "${ac_cv_func_remove+set}" = set; then
25108 echo $ECHO_N "(cached) $ECHO_C" >&6
25110 cat >conftest.
$ac_ext <<_ACEOF
25113 cat confdefs.h
>>conftest.
$ac_ext
25114 cat >>conftest.
$ac_ext <<_ACEOF
25115 /* end confdefs.h. */
25116 /* Define remove to an innocuous variant, in case <limits.h> declares remove.
25117 For example, HP-UX 11i <limits.h> declares gettimeofday. */
25118 #define remove innocuous_remove
25120 /* System header to define __stub macros and hopefully few prototypes,
25121 which can conflict with char remove (); below.
25122 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25123 <limits.h> exists even on freestanding compilers. */
25126 # include <limits.h>
25128 # include <assert.h>
25133 /* Override any gcc2 internal prototype to avoid an error. */
25138 /* We use char because int might match the return type of a gcc2
25139 builtin and then its argument prototype would still apply. */
25141 /* The GNU C library defines this for functions which it implements
25142 to always fail with ENOSYS. Some functions are actually named
25143 something starting with __ and the normal name is an alias. */
25144 #if defined (__stub_remove) || defined (__stub___remove)
25147 char (*f) () = remove;
25156 return f != remove;
25161 rm -f conftest.
$ac_objext conftest
$ac_exeext
25162 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25163 (eval $ac_link) 2>conftest.er1
25165 grep -v '^ *+' conftest.er1
>conftest.err
25167 cat conftest.err
>&5
25168 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25169 (exit $ac_status); } &&
25170 { ac_try
='test -z "$ac_c_werror_flag"
25171 || test ! -s conftest.err'
25172 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25173 (eval $ac_try) 2>&5
25175 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25176 (exit $ac_status); }; } &&
25177 { ac_try
='test -s conftest$ac_exeext'
25178 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25179 (eval $ac_try) 2>&5
25181 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25182 (exit $ac_status); }; }; then
25183 ac_cv_func_remove
=yes
25185 echo "$as_me: failed program was:" >&5
25186 sed 's/^/| /' conftest.
$ac_ext >&5
25188 ac_cv_func_remove
=no
25190 rm -f conftest.err conftest.
$ac_objext \
25191 conftest
$ac_exeext conftest.
$ac_ext
25193 echo "$as_me:$LINENO: result: $ac_cv_func_remove" >&5
25194 echo "${ECHO_T}$ac_cv_func_remove" >&6
25196 if test $ac_cv_func_remove = no
; then
25197 echo "$as_me:$LINENO: checking for remove in -lposix" >&5
25198 echo $ECHO_N "checking for remove in -lposix... $ECHO_C" >&6
25199 if test "${ac_cv_lib_posix_remove+set}" = set; then
25200 echo $ECHO_N "(cached) $ECHO_C" >&6
25202 ac_check_lib_save_LIBS
=$LIBS
25203 LIBS
="-lposix $LIBS"
25204 cat >conftest.
$ac_ext <<_ACEOF
25207 cat confdefs.h
>>conftest.
$ac_ext
25208 cat >>conftest.
$ac_ext <<_ACEOF
25209 /* end confdefs.h. */
25211 /* Override any gcc2 internal prototype to avoid an error. */
25215 /* We use char because int might match the return type of a gcc2
25216 builtin and then its argument prototype would still apply. */
25226 rm -f conftest.
$ac_objext conftest
$ac_exeext
25227 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25228 (eval $ac_link) 2>conftest.er1
25230 grep -v '^ *+' conftest.er1
>conftest.err
25232 cat conftest.err
>&5
25233 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25234 (exit $ac_status); } &&
25235 { ac_try
='test -z "$ac_c_werror_flag"
25236 || test ! -s conftest.err'
25237 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25238 (eval $ac_try) 2>&5
25240 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25241 (exit $ac_status); }; } &&
25242 { ac_try
='test -s conftest$ac_exeext'
25243 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25244 (eval $ac_try) 2>&5
25246 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25247 (exit $ac_status); }; }; then
25248 ac_cv_lib_posix_remove
=yes
25250 echo "$as_me: failed program was:" >&5
25251 sed 's/^/| /' conftest.
$ac_ext >&5
25253 ac_cv_lib_posix_remove
=no
25255 rm -f conftest.err conftest.
$ac_objext \
25256 conftest
$ac_exeext conftest.
$ac_ext
25257 LIBS
=$ac_check_lib_save_LIBS
25259 echo "$as_me:$LINENO: result: $ac_cv_lib_posix_remove" >&5
25260 echo "${ECHO_T}$ac_cv_lib_posix_remove" >&6
25261 if test $ac_cv_lib_posix_remove = yes; then
25262 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lposix"
25267 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
25268 echo "$as_me:$LINENO: checking for shmat" >&5
25269 echo $ECHO_N "checking for shmat... $ECHO_C" >&6
25270 if test "${ac_cv_func_shmat+set}" = set; then
25271 echo $ECHO_N "(cached) $ECHO_C" >&6
25273 cat >conftest.
$ac_ext <<_ACEOF
25276 cat confdefs.h
>>conftest.
$ac_ext
25277 cat >>conftest.
$ac_ext <<_ACEOF
25278 /* end confdefs.h. */
25279 /* Define shmat to an innocuous variant, in case <limits.h> declares shmat.
25280 For example, HP-UX 11i <limits.h> declares gettimeofday. */
25281 #define shmat innocuous_shmat
25283 /* System header to define __stub macros and hopefully few prototypes,
25284 which can conflict with char shmat (); below.
25285 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25286 <limits.h> exists even on freestanding compilers. */
25289 # include <limits.h>
25291 # include <assert.h>
25296 /* Override any gcc2 internal prototype to avoid an error. */
25301 /* We use char because int might match the return type of a gcc2
25302 builtin and then its argument prototype would still apply. */
25304 /* The GNU C library defines this for functions which it implements
25305 to always fail with ENOSYS. Some functions are actually named
25306 something starting with __ and the normal name is an alias. */
25307 #if defined (__stub_shmat) || defined (__stub___shmat)
25310 char (*f) () = shmat;
25324 rm -f conftest.
$ac_objext conftest
$ac_exeext
25325 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25326 (eval $ac_link) 2>conftest.er1
25328 grep -v '^ *+' conftest.er1
>conftest.err
25330 cat conftest.err
>&5
25331 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25332 (exit $ac_status); } &&
25333 { ac_try
='test -z "$ac_c_werror_flag"
25334 || test ! -s conftest.err'
25335 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25336 (eval $ac_try) 2>&5
25338 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25339 (exit $ac_status); }; } &&
25340 { ac_try
='test -s conftest$ac_exeext'
25341 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25342 (eval $ac_try) 2>&5
25344 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25345 (exit $ac_status); }; }; then
25346 ac_cv_func_shmat
=yes
25348 echo "$as_me: failed program was:" >&5
25349 sed 's/^/| /' conftest.
$ac_ext >&5
25351 ac_cv_func_shmat
=no
25353 rm -f conftest.err conftest.
$ac_objext \
25354 conftest
$ac_exeext conftest.
$ac_ext
25356 echo "$as_me:$LINENO: result: $ac_cv_func_shmat" >&5
25357 echo "${ECHO_T}$ac_cv_func_shmat" >&6
25359 if test $ac_cv_func_shmat = no
; then
25360 echo "$as_me:$LINENO: checking for shmat in -lipc" >&5
25361 echo $ECHO_N "checking for shmat in -lipc... $ECHO_C" >&6
25362 if test "${ac_cv_lib_ipc_shmat+set}" = set; then
25363 echo $ECHO_N "(cached) $ECHO_C" >&6
25365 ac_check_lib_save_LIBS
=$LIBS
25367 cat >conftest.
$ac_ext <<_ACEOF
25370 cat confdefs.h
>>conftest.
$ac_ext
25371 cat >>conftest.
$ac_ext <<_ACEOF
25372 /* end confdefs.h. */
25374 /* Override any gcc2 internal prototype to avoid an error. */
25378 /* We use char because int might match the return type of a gcc2
25379 builtin and then its argument prototype would still apply. */
25389 rm -f conftest.
$ac_objext conftest
$ac_exeext
25390 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25391 (eval $ac_link) 2>conftest.er1
25393 grep -v '^ *+' conftest.er1
>conftest.err
25395 cat conftest.err
>&5
25396 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25397 (exit $ac_status); } &&
25398 { ac_try
='test -z "$ac_c_werror_flag"
25399 || test ! -s conftest.err'
25400 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25401 (eval $ac_try) 2>&5
25403 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25404 (exit $ac_status); }; } &&
25405 { ac_try
='test -s conftest$ac_exeext'
25406 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25407 (eval $ac_try) 2>&5
25409 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25410 (exit $ac_status); }; }; then
25411 ac_cv_lib_ipc_shmat
=yes
25413 echo "$as_me: failed program was:" >&5
25414 sed 's/^/| /' conftest.
$ac_ext >&5
25416 ac_cv_lib_ipc_shmat
=no
25418 rm -f conftest.err conftest.
$ac_objext \
25419 conftest
$ac_exeext conftest.
$ac_ext
25420 LIBS
=$ac_check_lib_save_LIBS
25422 echo "$as_me:$LINENO: result: $ac_cv_lib_ipc_shmat" >&5
25423 echo "${ECHO_T}$ac_cv_lib_ipc_shmat" >&6
25424 if test $ac_cv_lib_ipc_shmat = yes; then
25425 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lipc"
25431 # Check for libraries that X11R6 Xt/Xaw programs need.
25432 ac_save_LDFLAGS
=$LDFLAGS
25433 test -n "$x_libraries" && LDFLAGS
="$LDFLAGS -L$x_libraries"
25434 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
25435 # check for ICE first), but we must link in the order -lSM -lICE or
25436 # we get undefined symbols. So assume we have SM if we have ICE.
25437 # These have to be linked with before -lX11, unlike the other
25438 # libraries we check for below, so use a different variable.
25439 # John Interrante, Karl Berry
25440 echo "$as_me:$LINENO: checking for IceConnectionNumber in -lICE" >&5
25441 echo $ECHO_N "checking for IceConnectionNumber in -lICE... $ECHO_C" >&6
25442 if test "${ac_cv_lib_ICE_IceConnectionNumber+set}" = set; then
25443 echo $ECHO_N "(cached) $ECHO_C" >&6
25445 ac_check_lib_save_LIBS
=$LIBS
25446 LIBS
="-lICE $X_EXTRA_LIBS $LIBS"
25447 cat >conftest.
$ac_ext <<_ACEOF
25450 cat confdefs.h
>>conftest.
$ac_ext
25451 cat >>conftest.
$ac_ext <<_ACEOF
25452 /* end confdefs.h. */
25454 /* Override any gcc2 internal prototype to avoid an error. */
25458 /* We use char because int might match the return type of a gcc2
25459 builtin and then its argument prototype would still apply. */
25460 char IceConnectionNumber ();
25464 IceConnectionNumber ();
25469 rm -f conftest.
$ac_objext conftest
$ac_exeext
25470 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25471 (eval $ac_link) 2>conftest.er1
25473 grep -v '^ *+' conftest.er1
>conftest.err
25475 cat conftest.err
>&5
25476 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25477 (exit $ac_status); } &&
25478 { ac_try
='test -z "$ac_c_werror_flag"
25479 || test ! -s conftest.err'
25480 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25481 (eval $ac_try) 2>&5
25483 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25484 (exit $ac_status); }; } &&
25485 { ac_try
='test -s conftest$ac_exeext'
25486 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25487 (eval $ac_try) 2>&5
25489 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25490 (exit $ac_status); }; }; then
25491 ac_cv_lib_ICE_IceConnectionNumber
=yes
25493 echo "$as_me: failed program was:" >&5
25494 sed 's/^/| /' conftest.
$ac_ext >&5
25496 ac_cv_lib_ICE_IceConnectionNumber
=no
25498 rm -f conftest.err conftest.
$ac_objext \
25499 conftest
$ac_exeext conftest.
$ac_ext
25500 LIBS
=$ac_check_lib_save_LIBS
25502 echo "$as_me:$LINENO: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
25503 echo "${ECHO_T}$ac_cv_lib_ICE_IceConnectionNumber" >&6
25504 if test $ac_cv_lib_ICE_IceConnectionNumber = yes; then
25505 X_PRE_LIBS
="$X_PRE_LIBS -lSM -lICE"
25508 LDFLAGS
=$ac_save_LDFLAGS
25513 if test "$no_x" = "yes"; then
25514 { { echo "$as_me:$LINENO: error: X11 not found" >&5
25515 echo "$as_me: error: X11 not found" >&2;}
25516 { (exit please use
--x-includes and
/or
--x-libraries options
); exit please use
--x-includes and
/or
--x-libraries options
; }; }
25519 GUI_TK_LIBRARY
=`echo $X_LIBS | sed 's/ -LNONE//' | sed 's/ -RNONE//'`
25520 TOOLKIT_INCLUDE
=`echo $X_CFLAGS | sed 's/ -INONE//'`
25521 AFMINSTALL
=afminstall
25522 COMPILED_X_PROGRAM
=0
25526 if test "$wxUSE_X11" = 1; then
25527 if test "$wxUSE_NANOX" = "yes"; then
25528 echo "$as_me:$LINENO: checking for MicroWindows/NanoX distribution" >&5
25529 echo $ECHO_N "checking for MicroWindows/NanoX distribution... $ECHO_C" >&6
25530 if test "x$MICROWIN" = x
; then
25531 echo "$as_me:$LINENO: result: not found" >&5
25532 echo "${ECHO_T}not found" >&6
25533 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows library. Make sure MICROWIN is set." >&5
25534 echo "$as_me: error: Cannot find MicroWindows library. Make sure MICROWIN is set." >&2;}
25535 { (exit 1); exit 1; }; }
25537 echo "$as_me:$LINENO: result: $MICROWIN" >&5
25538 echo "${ECHO_T}$MICROWIN" >&6
25539 cat >>confdefs.h
<<\_ACEOF
25540 #define wxUSE_NANOX 1
25546 if test "$wxUSE_UNICODE" = "yes"; then
25550 if test -z "$PKG_CONFIG"; then
25551 # Extract the first word of "pkg-config", so it can be a program name with args.
25552 set dummy pkg
-config; ac_word
=$2
25553 echo "$as_me:$LINENO: checking for $ac_word" >&5
25554 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
25555 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
25556 echo $ECHO_N "(cached) $ECHO_C" >&6
25558 case $PKG_CONFIG in
25560 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
25563 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
25564 for as_dir
in $PATH
25567 test -z "$as_dir" && as_dir
=.
25568 for ac_exec_ext
in '' $ac_executable_extensions; do
25569 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
25570 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
25571 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
25577 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
25581 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
25583 if test -n "$PKG_CONFIG"; then
25584 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
25585 echo "${ECHO_T}$PKG_CONFIG" >&6
25587 echo "$as_me:$LINENO: result: no" >&5
25588 echo "${ECHO_T}no" >&6
25593 if test "$PKG_CONFIG" = "no" ; then
25594 echo "*** The pkg-config script could not be found. Make sure it is"
25595 echo "*** in your path, or set the PKG_CONFIG environment variable"
25596 echo "*** to the full path to pkg-config."
25597 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
25599 PKG_CONFIG_MIN_VERSION
=0.9.0
25600 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
25601 echo "$as_me:$LINENO: checking for pangox" >&5
25602 echo $ECHO_N "checking for pangox... $ECHO_C" >&6
25604 if $PKG_CONFIG --exists "pangox" ; then
25605 echo "$as_me:$LINENO: result: yes" >&5
25606 echo "${ECHO_T}yes" >&6
25609 echo "$as_me:$LINENO: checking PANGOX_CFLAGS" >&5
25610 echo $ECHO_N "checking PANGOX_CFLAGS... $ECHO_C" >&6
25611 PANGOX_CFLAGS
=`$PKG_CONFIG --cflags "pangox"`
25612 echo "$as_me:$LINENO: result: $PANGOX_CFLAGS" >&5
25613 echo "${ECHO_T}$PANGOX_CFLAGS" >&6
25615 echo "$as_me:$LINENO: checking PANGOX_LIBS" >&5
25616 echo $ECHO_N "checking PANGOX_LIBS... $ECHO_C" >&6
25617 PANGOX_LIBS
=`$PKG_CONFIG --libs "pangox"`
25618 echo "$as_me:$LINENO: result: $PANGOX_LIBS" >&5
25619 echo "${ECHO_T}$PANGOX_LIBS" >&6
25623 ## If we have a custom action on failure, don't print errors, but
25624 ## do set a variable so people can do so.
25625 PANGOX_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "pangox"`
25632 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
25633 echo "*** See http://www.freedesktop.org/software/pkgconfig"
25637 if test $succeeded = yes; then
25639 CXXFLAGS
="$CXXFLAGS $PANGOX_CFLAGS"
25640 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY $PANGOX_LIBS"
25644 { { echo "$as_me:$LINENO: error: pangox library not found, library cannot be compiled in Unicode mode" >&5
25645 echo "$as_me: error: pangox library not found, library cannot be compiled in Unicode mode" >&2;}
25646 { (exit 1); exit 1; }; }
25654 if test -z "$PKG_CONFIG"; then
25655 # Extract the first word of "pkg-config", so it can be a program name with args.
25656 set dummy pkg
-config; ac_word
=$2
25657 echo "$as_me:$LINENO: checking for $ac_word" >&5
25658 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
25659 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
25660 echo $ECHO_N "(cached) $ECHO_C" >&6
25662 case $PKG_CONFIG in
25664 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
25667 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
25668 for as_dir
in $PATH
25671 test -z "$as_dir" && as_dir
=.
25672 for ac_exec_ext
in '' $ac_executable_extensions; do
25673 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
25674 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
25675 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
25681 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
25685 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
25687 if test -n "$PKG_CONFIG"; then
25688 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
25689 echo "${ECHO_T}$PKG_CONFIG" >&6
25691 echo "$as_me:$LINENO: result: no" >&5
25692 echo "${ECHO_T}no" >&6
25697 if test "$PKG_CONFIG" = "no" ; then
25698 echo "*** The pkg-config script could not be found. Make sure it is"
25699 echo "*** in your path, or set the PKG_CONFIG environment variable"
25700 echo "*** to the full path to pkg-config."
25701 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
25703 PKG_CONFIG_MIN_VERSION
=0.9.0
25704 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
25705 echo "$as_me:$LINENO: checking for pangoft2" >&5
25706 echo $ECHO_N "checking for pangoft2... $ECHO_C" >&6
25708 if $PKG_CONFIG --exists "pangoft2" ; then
25709 echo "$as_me:$LINENO: result: yes" >&5
25710 echo "${ECHO_T}yes" >&6
25713 echo "$as_me:$LINENO: checking PANGOFT2_CFLAGS" >&5
25714 echo $ECHO_N "checking PANGOFT2_CFLAGS... $ECHO_C" >&6
25715 PANGOFT2_CFLAGS
=`$PKG_CONFIG --cflags "pangoft2"`
25716 echo "$as_me:$LINENO: result: $PANGOFT2_CFLAGS" >&5
25717 echo "${ECHO_T}$PANGOFT2_CFLAGS" >&6
25719 echo "$as_me:$LINENO: checking PANGOFT2_LIBS" >&5
25720 echo $ECHO_N "checking PANGOFT2_LIBS... $ECHO_C" >&6
25721 PANGOFT2_LIBS
=`$PKG_CONFIG --libs "pangoft2"`
25722 echo "$as_me:$LINENO: result: $PANGOFT2_LIBS" >&5
25723 echo "${ECHO_T}$PANGOFT2_LIBS" >&6
25727 ## If we have a custom action on failure, don't print errors, but
25728 ## do set a variable so people can do so.
25729 PANGOFT2_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoft2"`
25736 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
25737 echo "*** See http://www.freedesktop.org/software/pkgconfig"
25741 if test $succeeded = yes; then
25743 CXXFLAGS
="$CXXFLAGS $PANGOFT2_CFLAGS"
25744 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY $PANGOFT2_LIBS"
25748 { echo "$as_me:$LINENO: WARNING: pangoft2 library not found, library will be compiled without printing support" >&5
25749 echo "$as_me: WARNING: pangoft2 library not found, library will be compiled without printing support" >&2;}
25750 wxUSE_PRINTING_ARCHITECTURE
="no"
25758 if test -z "$PKG_CONFIG"; then
25759 # Extract the first word of "pkg-config", so it can be a program name with args.
25760 set dummy pkg
-config; ac_word
=$2
25761 echo "$as_me:$LINENO: checking for $ac_word" >&5
25762 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
25763 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
25764 echo $ECHO_N "(cached) $ECHO_C" >&6
25766 case $PKG_CONFIG in
25768 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
25771 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
25772 for as_dir
in $PATH
25775 test -z "$as_dir" && as_dir
=.
25776 for ac_exec_ext
in '' $ac_executable_extensions; do
25777 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
25778 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
25779 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
25785 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
25789 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
25791 if test -n "$PKG_CONFIG"; then
25792 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
25793 echo "${ECHO_T}$PKG_CONFIG" >&6
25795 echo "$as_me:$LINENO: result: no" >&5
25796 echo "${ECHO_T}no" >&6
25801 if test "$PKG_CONFIG" = "no" ; then
25802 echo "*** The pkg-config script could not be found. Make sure it is"
25803 echo "*** in your path, or set the PKG_CONFIG environment variable"
25804 echo "*** to the full path to pkg-config."
25805 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
25807 PKG_CONFIG_MIN_VERSION
=0.9.0
25808 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
25809 echo "$as_me:$LINENO: checking for pangoxft" >&5
25810 echo $ECHO_N "checking for pangoxft... $ECHO_C" >&6
25812 if $PKG_CONFIG --exists "pangoxft" ; then
25813 echo "$as_me:$LINENO: result: yes" >&5
25814 echo "${ECHO_T}yes" >&6
25817 echo "$as_me:$LINENO: checking PANGOXFT_CFLAGS" >&5
25818 echo $ECHO_N "checking PANGOXFT_CFLAGS... $ECHO_C" >&6
25819 PANGOXFT_CFLAGS
=`$PKG_CONFIG --cflags "pangoxft"`
25820 echo "$as_me:$LINENO: result: $PANGOXFT_CFLAGS" >&5
25821 echo "${ECHO_T}$PANGOXFT_CFLAGS" >&6
25823 echo "$as_me:$LINENO: checking PANGOXFT_LIBS" >&5
25824 echo $ECHO_N "checking PANGOXFT_LIBS... $ECHO_C" >&6
25825 PANGOXFT_LIBS
=`$PKG_CONFIG --libs "pangoxft"`
25826 echo "$as_me:$LINENO: result: $PANGOXFT_LIBS" >&5
25827 echo "${ECHO_T}$PANGOXFT_LIBS" >&6
25831 ## If we have a custom action on failure, don't print errors, but
25832 ## do set a variable so people can do so.
25833 PANGOXFT_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoxft"`
25840 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
25841 echo "*** See http://www.freedesktop.org/software/pkgconfig"
25845 if test $succeeded = yes; then
25847 CXXFLAGS
="$CXXFLAGS $PANGOXFT_CFLAGS"
25848 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY $PANGOXFT_LIBS"
25852 { echo "$as_me:$LINENO: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&5
25853 echo "$as_me: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&2;}
25858 save_CFLAGS
="$CFLAGS"
25860 CFLAGS
="$CFLAGS $PANGOX_CFLAGS"
25861 LIBS
="$LIBS $PANGOX_LIBS"
25863 for ac_func
in pango_font_family_is_monospace
25865 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
25866 echo "$as_me:$LINENO: checking for $ac_func" >&5
25867 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
25868 if eval "test \"\${$as_ac_var+set}\" = set"; then
25869 echo $ECHO_N "(cached) $ECHO_C" >&6
25871 cat >conftest.
$ac_ext <<_ACEOF
25874 cat confdefs.h
>>conftest.
$ac_ext
25875 cat >>conftest.
$ac_ext <<_ACEOF
25876 /* end confdefs.h. */
25877 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
25878 For example, HP-UX 11i <limits.h> declares gettimeofday. */
25879 #define $ac_func innocuous_$ac_func
25881 /* System header to define __stub macros and hopefully few prototypes,
25882 which can conflict with char $ac_func (); below.
25883 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25884 <limits.h> exists even on freestanding compilers. */
25887 # include <limits.h>
25889 # include <assert.h>
25894 /* Override any gcc2 internal prototype to avoid an error. */
25899 /* We use char because int might match the return type of a gcc2
25900 builtin and then its argument prototype would still apply. */
25902 /* The GNU C library defines this for functions which it implements
25903 to always fail with ENOSYS. Some functions are actually named
25904 something starting with __ and the normal name is an alias. */
25905 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
25908 char (*f) () = $ac_func;
25917 return f != $ac_func;
25922 rm -f conftest.
$ac_objext conftest
$ac_exeext
25923 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25924 (eval $ac_link) 2>conftest.er1
25926 grep -v '^ *+' conftest.er1
>conftest.err
25928 cat conftest.err
>&5
25929 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25930 (exit $ac_status); } &&
25931 { ac_try
='test -z "$ac_c_werror_flag"
25932 || test ! -s conftest.err'
25933 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25934 (eval $ac_try) 2>&5
25936 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25937 (exit $ac_status); }; } &&
25938 { ac_try
='test -s conftest$ac_exeext'
25939 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25940 (eval $ac_try) 2>&5
25942 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25943 (exit $ac_status); }; }; then
25944 eval "$as_ac_var=yes"
25946 echo "$as_me: failed program was:" >&5
25947 sed 's/^/| /' conftest.
$ac_ext >&5
25949 eval "$as_ac_var=no"
25951 rm -f conftest.err conftest.
$ac_objext \
25952 conftest
$ac_exeext conftest.
$ac_ext
25954 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
25955 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
25956 if test `eval echo '${'$as_ac_var'}'` = yes; then
25957 cat >>confdefs.h
<<_ACEOF
25958 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
25964 CFLAGS
="$save_CFLAGS"
25968 wxUSE_UNIVERSAL
="yes"
25970 if test "$wxUSE_NANOX" = "yes"; then
25971 TOOLKIT_INCLUDE
="-I\$(top_srcdir)/include/wx/x11/nanox -I\$(MICROWIN)/src/include $TOOLKIT_INCLUDE"
25972 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"
25973 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY \$(MICROWIN)/src/lib/libnano-X.a"
25975 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lX11"
25982 if test "$wxUSE_MOTIF" = 1; then
25983 echo "$as_me:$LINENO: checking for Motif/Lesstif headers" >&5
25984 echo $ECHO_N "checking for Motif/Lesstif headers... $ECHO_C" >&6
25987 for ac_dir
in $SEARCH_INCLUDE /usr
/include
;
25989 if test -f "$ac_dir/Xm/Xm.h"; then
25990 ac_find_includes
=$ac_dir
25995 if test "$ac_find_includes" != "" ; then
25996 echo "$as_me:$LINENO: result: found in $ac_find_includes" >&5
25997 echo "${ECHO_T}found in $ac_find_includes" >&6
25999 if test "x$ac_find_includes" = "x/usr/include"; then
26000 ac_path_to_include
=""
26002 echo "$TOOLKIT_INCLUDE" | grep "\-I$ac_find_includes" > /dev
/null
26004 if test $result = 0; then
26005 ac_path_to_include
=""
26007 ac_path_to_include
=" -I$ac_find_includes"
26011 TOOLKIT_INCLUDE
="$TOOLKIT_INCLUDE$ac_path_to_include"
26013 cat >conftest.
$ac_ext <<_ACEOF
26016 cat confdefs.h
>>conftest.
$ac_ext
26017 cat >>conftest.
$ac_ext <<_ACEOF
26018 /* end confdefs.h. */
26027 version = xmUseVersion;
26033 rm -f conftest.
$ac_objext
26034 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26035 (eval $ac_compile) 2>conftest.er1
26037 grep -v '^ *+' conftest.er1
>conftest.err
26039 cat conftest.err
>&5
26040 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26041 (exit $ac_status); } &&
26042 { ac_try
='test -z "$ac_c_werror_flag"
26043 || test ! -s conftest.err'
26044 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26045 (eval $ac_try) 2>&5
26047 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26048 (exit $ac_status); }; } &&
26049 { ac_try
='test -s conftest.$ac_objext'
26050 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26051 (eval $ac_try) 2>&5
26053 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26054 (exit $ac_status); }; }; then
26056 echo "$as_me:$LINENO: result: found in default search path" >&5
26057 echo "${ECHO_T}found in default search path" >&6
26058 COMPILED_X_PROGRAM
=1
26061 echo "$as_me: failed program was:" >&5
26062 sed 's/^/| /' conftest.
$ac_ext >&5
26065 echo "$as_me:$LINENO: result: no" >&5
26066 echo "${ECHO_T}no" >&6
26067 { { echo "$as_me:$LINENO: error: please set CFLAGS to contain the location of Xm/Xm.h" >&5
26068 echo "$as_me: error: please set CFLAGS to contain the location of Xm/Xm.h" >&2;}
26069 { (exit 1); exit 1; }; }
26073 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
26076 if test "$COMPILED_X_PROGRAM" = 0; then
26077 echo "$as_me:$LINENO: checking for Motif/Lesstif library" >&5
26078 echo $ECHO_N "checking for Motif/Lesstif library... $ECHO_C" >&6
26081 for ac_dir
in $SEARCH_LIB /usr
/lib
;
26083 for ac_extension
in a so sl dylib
; do
26084 if test -f "$ac_dir/libXm.$ac_extension"; then
26085 ac_find_libraries
=$ac_dir
26091 if test "$ac_find_libraries" != "" ; then
26092 echo "$as_me:$LINENO: result: found at $ac_find_libraries" >&5
26093 echo "${ECHO_T}found at $ac_find_libraries" >&6
26096 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev
/null
26098 if test $result = 0; then
26101 ac_path_to_link
=" -L$ac_find_libraries"
26104 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY$ac_path_to_link"
26106 save_CFLAGS
=$CFLAGS
26107 CFLAGS
="$CFLAGS $TOOLKIT_INCLUDE"
26109 cat >conftest.
$ac_ext <<_ACEOF
26112 cat confdefs.h
>>conftest.
$ac_ext
26113 cat >>conftest.
$ac_ext <<_ACEOF
26114 /* end confdefs.h. */
26123 version = xmUseVersion;
26129 rm -f conftest.
$ac_objext
26130 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26131 (eval $ac_compile) 2>conftest.er1
26133 grep -v '^ *+' conftest.er1
>conftest.err
26135 cat conftest.err
>&5
26136 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26137 (exit $ac_status); } &&
26138 { ac_try
='test -z "$ac_c_werror_flag"
26139 || test ! -s conftest.err'
26140 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26141 (eval $ac_try) 2>&5
26143 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26144 (exit $ac_status); }; } &&
26145 { ac_try
='test -s conftest.$ac_objext'
26146 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26147 (eval $ac_try) 2>&5
26149 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26150 (exit $ac_status); }; }; then
26152 echo "$as_me:$LINENO: result: found in default search path" >&5
26153 echo "${ECHO_T}found in default search path" >&6
26154 COMPILED_X_PROGRAM
=1
26157 echo "$as_me: failed program was:" >&5
26158 sed 's/^/| /' conftest.
$ac_ext >&5
26161 echo "$as_me:$LINENO: result: no" >&5
26162 echo "${ECHO_T}no" >&6
26163 { { echo "$as_me:$LINENO: error: please set LDFLAGS to contain the location of libXm" >&5
26164 echo "$as_me: error: please set LDFLAGS to contain the location of libXm" >&2;}
26165 { (exit 1); exit 1; }; }
26169 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
26171 CFLAGS
=$save_CFLAGS
26175 echo "$as_me:$LINENO: checking if we need -lXp and/or -lSM -lICE" >&5
26176 echo $ECHO_N "checking if we need -lXp and/or -lSM -lICE... $ECHO_C" >&6
26180 for libp
in "" " -lXp"; do
26181 if test "$libs_found" = "0"; then
26182 for libsm_ice
in "" " -lSM -lICE"; do
26183 if test "$libs_found" = "0"; then
26185 LIBS
="$GUI_TK_LIBRARY -lXm ${libp} -lXmu -lXext -lXt${libsm_ice} -lX11"
26186 save_CFLAGS
=$CFLAGS
26187 CFLAGS
="$CFLAGS $TOOLKIT_INCLUDE"
26189 cat >conftest.
$ac_ext <<_ACEOF
26192 cat confdefs.h
>>conftest.
$ac_ext
26193 cat >>conftest.
$ac_ext <<_ACEOF
26194 /* end confdefs.h. */
26197 #include <Xm/List.h>
26203 XmString string = NULL;
26206 XmListAddItem(w, string, position);
26212 rm -f conftest.
$ac_objext conftest
$ac_exeext
26213 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26214 (eval $ac_link) 2>conftest.er1
26216 grep -v '^ *+' conftest.er1
>conftest.err
26218 cat conftest.err
>&5
26219 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26220 (exit $ac_status); } &&
26221 { ac_try
='test -z "$ac_c_werror_flag"
26222 || test ! -s conftest.err'
26223 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26224 (eval $ac_try) 2>&5
26226 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26227 (exit $ac_status); }; } &&
26228 { ac_try
='test -s conftest$ac_exeext'
26229 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26230 (eval $ac_try) 2>&5
26232 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26233 (exit $ac_status); }; }; then
26236 libsm_ice_link
="$libsm_ice"
26237 echo "$as_me:$LINENO: result: need${libp_link}${libsm_ice_link}" >&5
26238 echo "${ECHO_T}need${libp_link}${libsm_ice_link}" >&6
26242 echo "$as_me: failed program was:" >&5
26243 sed 's/^/| /' conftest.
$ac_ext >&5
26248 rm -f conftest.err conftest.
$ac_objext \
26249 conftest
$ac_exeext conftest.
$ac_ext
26252 CFLAGS
=$save_CFLAGS
26258 if test "$libs_found" = "0"; then
26259 echo "$as_me:$LINENO: result: can't find the right libraries" >&5
26260 echo "${ECHO_T}can't find the right libraries" >&6
26261 { { echo "$as_me:$LINENO: error: can't link a simple motif program" >&5
26262 echo "$as_me: error: can't link a simple motif program" >&2;}
26263 { (exit 1); exit 1; }; }
26266 save_CFLAGS
=$CFLAGS
26267 CFLAGS
="$CFLAGS $TOOLKIT_INCLUDE"
26268 echo "$as_me:$LINENO: checking for Motif 2" >&5
26269 echo $ECHO_N "checking for Motif 2... $ECHO_C" >&6
26270 cat >conftest.
$ac_ext <<_ACEOF
26273 cat confdefs.h
>>conftest.
$ac_ext
26274 cat >>conftest.
$ac_ext <<_ACEOF
26275 /* end confdefs.h. */
26283 #if XmVersion < 2000
26284 #error "Not Motif 2"
26291 rm -f conftest.
$ac_objext
26292 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26293 (eval $ac_compile) 2>conftest.er1
26295 grep -v '^ *+' conftest.er1
>conftest.err
26297 cat conftest.err
>&5
26298 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26299 (exit $ac_status); } &&
26300 { ac_try
='test -z "$ac_c_werror_flag"
26301 || test ! -s conftest.err'
26302 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26303 (eval $ac_try) 2>&5
26305 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26306 (exit $ac_status); }; } &&
26307 { ac_try
='test -s conftest.$ac_objext'
26308 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26309 (eval $ac_try) 2>&5
26311 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26312 (exit $ac_status); }; }; then
26314 cat >>confdefs.h
<<\_ACEOF
26315 #define __WXMOTIF20__ 1
26318 echo "$as_me:$LINENO: result: found" >&5
26319 echo "${ECHO_T}found" >&6
26322 echo "$as_me: failed program was:" >&5
26323 sed 's/^/| /' conftest.
$ac_ext >&5
26326 cat >>confdefs.h
<<\_ACEOF
26327 #define __WXMOTIF20__ 0
26330 echo "$as_me:$LINENO: result: not found" >&5
26331 echo "${ECHO_T}not found" >&6
26334 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
26335 CFLAGS
=$save_CFLAGS
26337 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lXm${libp_link} -lXmu -lXext -lXt${libsm_ice_link} -lX11"
26342 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
26343 if test "$wxUSE_LIBXPM" = "sys"; then
26344 echo "$as_me:$LINENO: checking for Xpm library" >&5
26345 echo $ECHO_N "checking for Xpm library... $ECHO_C" >&6
26348 for ac_dir
in $SEARCH_LIB /usr
/lib
;
26350 for ac_extension
in a so sl dylib
; do
26351 if test -f "$ac_dir/libXpm.$ac_extension"; then
26352 ac_find_libraries
=$ac_dir
26358 if test "$ac_find_libraries" != "" ; then
26360 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev
/null
26362 if test $result = 0; then
26365 ac_path_to_link
=" -L$ac_find_libraries"
26368 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY$ac_path_to_link"
26369 echo "$as_me:$LINENO: result: found at $ac_find_libraries" >&5
26370 echo "${ECHO_T}found at $ac_find_libraries" >&6
26372 echo "$as_me:$LINENO: checking for X11/xpm.h" >&5
26373 echo $ECHO_N "checking for X11/xpm.h... $ECHO_C" >&6
26374 if test "${wx_cv_x11_xpm_h+set}" = set; then
26375 echo $ECHO_N "(cached) $ECHO_C" >&6
26378 save_CFLAGS
=$CFLAGS
26379 CFLAGS
="$CFLAGS $TOOLKIT_INCLUDE"
26381 cat >conftest.
$ac_ext <<_ACEOF
26384 cat confdefs.h
>>conftest.
$ac_ext
26385 cat >>conftest.
$ac_ext <<_ACEOF
26386 /* end confdefs.h. */
26388 #include <X11/xpm.h>
26395 version = XpmLibraryVersion();
26401 rm -f conftest.
$ac_objext
26402 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26403 (eval $ac_compile) 2>conftest.er1
26405 grep -v '^ *+' conftest.er1
>conftest.err
26407 cat conftest.err
>&5
26408 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26409 (exit $ac_status); } &&
26410 { ac_try
='test -z "$ac_c_werror_flag"
26411 || test ! -s conftest.err'
26412 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26413 (eval $ac_try) 2>&5
26415 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26416 (exit $ac_status); }; } &&
26417 { ac_try
='test -s conftest.$ac_objext'
26418 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26419 (eval $ac_try) 2>&5
26421 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26422 (exit $ac_status); }; }; then
26423 wx_cv_x11_xpm_h
=yes
26425 echo "$as_me: failed program was:" >&5
26426 sed 's/^/| /' conftest.
$ac_ext >&5
26431 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
26433 CFLAGS
=$save_CFLAGS
26437 echo "$as_me:$LINENO: result: $wx_cv_x11_xpm_h" >&5
26438 echo "${ECHO_T}$wx_cv_x11_xpm_h" >&6
26440 if test $wx_cv_x11_xpm_h = "yes"; then
26441 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lXpm"
26442 cat >>confdefs.h
<<\_ACEOF
26443 #define wxHAVE_LIB_XPM 1
26447 { echo "$as_me:$LINENO: WARNING: built-in less efficient XPM decoder will be used" >&5
26448 echo "$as_me: WARNING: built-in less efficient XPM decoder will be used" >&2;}
26454 echo "$as_me:$LINENO: checking for XShapeQueryExtension in -lXext" >&5
26455 echo $ECHO_N "checking for XShapeQueryExtension in -lXext... $ECHO_C" >&6
26456 if test "${ac_cv_lib_Xext_XShapeQueryExtension+set}" = set; then
26457 echo $ECHO_N "(cached) $ECHO_C" >&6
26459 ac_check_lib_save_LIBS
=$LIBS
26460 LIBS
="-lXext $GUI_TK_LIBRARY -lX11 $LIBS"
26461 cat >conftest.
$ac_ext <<_ACEOF
26464 cat confdefs.h
>>conftest.
$ac_ext
26465 cat >>conftest.
$ac_ext <<_ACEOF
26466 /* end confdefs.h. */
26468 /* Override any gcc2 internal prototype to avoid an error. */
26472 /* We use char because int might match the return type of a gcc2
26473 builtin and then its argument prototype would still apply. */
26474 char XShapeQueryExtension ();
26478 XShapeQueryExtension ();
26483 rm -f conftest.
$ac_objext conftest
$ac_exeext
26484 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26485 (eval $ac_link) 2>conftest.er1
26487 grep -v '^ *+' conftest.er1
>conftest.err
26489 cat conftest.err
>&5
26490 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26491 (exit $ac_status); } &&
26492 { ac_try
='test -z "$ac_c_werror_flag"
26493 || test ! -s conftest.err'
26494 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26495 (eval $ac_try) 2>&5
26497 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26498 (exit $ac_status); }; } &&
26499 { ac_try
='test -s conftest$ac_exeext'
26500 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26501 (eval $ac_try) 2>&5
26503 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26504 (exit $ac_status); }; }; then
26505 ac_cv_lib_Xext_XShapeQueryExtension
=yes
26507 echo "$as_me: failed program was:" >&5
26508 sed 's/^/| /' conftest.
$ac_ext >&5
26510 ac_cv_lib_Xext_XShapeQueryExtension
=no
26512 rm -f conftest.err conftest.
$ac_objext \
26513 conftest
$ac_exeext conftest.
$ac_ext
26514 LIBS
=$ac_check_lib_save_LIBS
26516 echo "$as_me:$LINENO: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
26517 echo "${ECHO_T}$ac_cv_lib_Xext_XShapeQueryExtension" >&6
26518 if test $ac_cv_lib_Xext_XShapeQueryExtension = yes; then
26520 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lXext"
26526 if test "$wxHAVE_XEXT_LIB" = 1; then
26527 save_CFLAGS
="$CFLAGS"
26528 CFLAGS
="$CFLAGS $TOOLKIT_INCLUDE"
26530 echo "$as_me:$LINENO: checking for X11/extensions/shape.h" >&5
26531 echo $ECHO_N "checking for X11/extensions/shape.h... $ECHO_C" >&6
26532 cat >conftest.
$ac_ext <<_ACEOF
26535 cat confdefs.h
>>conftest.
$ac_ext
26536 cat >>conftest.
$ac_ext <<_ACEOF
26537 /* end confdefs.h. */
26539 #include <X11/Xlib.h>
26540 #include <X11/extensions/shape.h>
26546 int dummy1, dummy2;
26547 XShapeQueryExtension((Display*)NULL,
26548 (int*)NULL, (int*)NULL);
26554 rm -f conftest.
$ac_objext
26555 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26556 (eval $ac_compile) 2>conftest.er1
26558 grep -v '^ *+' conftest.er1
>conftest.err
26560 cat conftest.err
>&5
26561 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26562 (exit $ac_status); } &&
26563 { ac_try
='test -z "$ac_c_werror_flag"
26564 || test ! -s conftest.err'
26565 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26566 (eval $ac_try) 2>&5
26568 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26569 (exit $ac_status); }; } &&
26570 { ac_try
='test -s conftest.$ac_objext'
26571 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26572 (eval $ac_try) 2>&5
26574 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26575 (exit $ac_status); }; }; then
26577 cat >>confdefs.h
<<\_ACEOF
26578 #define HAVE_XSHAPE 1
26581 echo "$as_me:$LINENO: result: found" >&5
26582 echo "${ECHO_T}found" >&6
26585 echo "$as_me: failed program was:" >&5
26586 sed 's/^/| /' conftest.
$ac_ext >&5
26589 echo "$as_me:$LINENO: result: not found" >&5
26590 echo "${ECHO_T}not found" >&6
26593 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
26594 CFLAGS
="$save_CFLAGS"
26599 if test "$wxUSE_MAC" = 1; then
26600 echo "$as_me:$LINENO: checking for compiler syntax to enable Pascal strings" >&5
26601 echo $ECHO_N "checking for compiler syntax to enable Pascal strings... $ECHO_C" >&6
26602 if test "$GCC" = yes; then
26603 echo "$as_me:$LINENO: result: gcc" >&5
26604 echo "${ECHO_T}gcc" >&6
26605 CPPFLAGS_PASCAL
="-fpascal-strings"
26606 elif test "`echo $CXX | sed -e 's@.*/@@'`" = "xlC"; then
26607 echo "$as_me:$LINENO: result: xlc" >&5
26608 echo "${ECHO_T}xlc" >&6
26609 CPPFLAGS_PASCAL
="-qmacpstr"
26611 echo "$as_me:$LINENO: result: none" >&5
26612 echo "${ECHO_T}none" >&6
26615 CPPFLAGS
="$CPPFLAGS $CPPFLAGS_PASCAL -I\${top_srcdir}/src/mac/carbon/morefilex -I/Developer/Headers/FlatCarbon"
26619 WXBASEPORT
="_carbon"
26622 if test "$wxUSE_COCOA" = 1; then
26627 if test "$wxUSE_PM" = 1; then
26630 echo "$as_me:$LINENO: checking for type SPBCDATA" >&5
26631 echo $ECHO_N "checking for type SPBCDATA... $ECHO_C" >&6
26632 if test "${wx_cv_spbcdata+set}" = set; then
26633 echo $ECHO_N "(cached) $ECHO_C" >&6
26636 cat >conftest.
$ac_ext <<_ACEOF
26639 cat confdefs.h
>>conftest.
$ac_ext
26640 cat >>conftest.
$ac_ext <<_ACEOF
26641 /* end confdefs.h. */
26656 rm -f conftest.
$ac_objext
26657 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26658 (eval $ac_compile) 2>conftest.er1
26660 grep -v '^ *+' conftest.er1
>conftest.err
26662 cat conftest.err
>&5
26663 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26664 (exit $ac_status); } &&
26665 { ac_try
='test -z "$ac_c_werror_flag"
26666 || test ! -s conftest.err'
26667 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26668 (eval $ac_try) 2>&5
26670 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26671 (exit $ac_status); }; } &&
26672 { ac_try
='test -s conftest.$ac_objext'
26673 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26674 (eval $ac_try) 2>&5
26676 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26677 (exit $ac_status); }; }; then
26680 echo "$as_me: failed program was:" >&5
26681 sed 's/^/| /' conftest.
$ac_ext >&5
26686 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
26690 echo "$as_me:$LINENO: result: $wx_cv_spbcdata" >&5
26691 echo "${ECHO_T}$wx_cv_spbcdata" >&6
26693 if test $wx_cv_spbcdata = "yes"; then
26694 cat >>confdefs.h
<<\_ACEOF
26695 #define HAVE_SPBCDATA 1
26701 if test "$TOOLKIT" = "PM" ; then
26704 TOOLKIT_DIR
=`echo ${TOOLKIT} | tr "[A-Z]" "[a-z]"`
26707 if test "$wxUSE_UNIVERSAL" = "yes"; then
26708 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -D__WXUNIVERSAL__"
26712 GUIDIST
="${GUIDIST} SAMPLES_DIST DEMOS_DIST UTILS_DIST MISC_DIST"
26713 DISTDIR
="wx\$(TOOLKIT)"
26719 if test "$USE_WIN32" = 1 ; then
26723 GUIDIST
="BASE_DIST"
26733 if test "$TOOLKIT" != "MSW" ; then
26735 if test "$wxUSE_ODBC" = "sys" -o "$wxUSE_ODBC" = "yes" ; then
26737 if test "${ac_cv_header_sql_h+set}" = set; then
26738 echo "$as_me:$LINENO: checking for sql.h" >&5
26739 echo $ECHO_N "checking for sql.h... $ECHO_C" >&6
26740 if test "${ac_cv_header_sql_h+set}" = set; then
26741 echo $ECHO_N "(cached) $ECHO_C" >&6
26743 echo "$as_me:$LINENO: result: $ac_cv_header_sql_h" >&5
26744 echo "${ECHO_T}$ac_cv_header_sql_h" >&6
26746 # Is the header compilable?
26747 echo "$as_me:$LINENO: checking sql.h usability" >&5
26748 echo $ECHO_N "checking sql.h usability... $ECHO_C" >&6
26749 cat >conftest.
$ac_ext <<_ACEOF
26752 cat confdefs.h
>>conftest.
$ac_ext
26753 cat >>conftest.
$ac_ext <<_ACEOF
26754 /* end confdefs.h. */
26755 $ac_includes_default
26758 rm -f conftest.
$ac_objext
26759 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26760 (eval $ac_compile) 2>conftest.er1
26762 grep -v '^ *+' conftest.er1
>conftest.err
26764 cat conftest.err
>&5
26765 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26766 (exit $ac_status); } &&
26767 { ac_try
='test -z "$ac_c_werror_flag"
26768 || test ! -s conftest.err'
26769 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26770 (eval $ac_try) 2>&5
26772 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26773 (exit $ac_status); }; } &&
26774 { ac_try
='test -s conftest.$ac_objext'
26775 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26776 (eval $ac_try) 2>&5
26778 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26779 (exit $ac_status); }; }; then
26780 ac_header_compiler
=yes
26782 echo "$as_me: failed program was:" >&5
26783 sed 's/^/| /' conftest.
$ac_ext >&5
26785 ac_header_compiler
=no
26787 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
26788 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
26789 echo "${ECHO_T}$ac_header_compiler" >&6
26791 # Is the header present?
26792 echo "$as_me:$LINENO: checking sql.h presence" >&5
26793 echo $ECHO_N "checking sql.h presence... $ECHO_C" >&6
26794 cat >conftest.
$ac_ext <<_ACEOF
26797 cat confdefs.h
>>conftest.
$ac_ext
26798 cat >>conftest.
$ac_ext <<_ACEOF
26799 /* end confdefs.h. */
26802 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
26803 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
26805 grep -v '^ *+' conftest.er1
>conftest.err
26807 cat conftest.err
>&5
26808 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26809 (exit $ac_status); } >/dev
/null
; then
26810 if test -s conftest.err
; then
26811 ac_cpp_err
=$ac_c_preproc_warn_flag
26812 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
26819 if test -z "$ac_cpp_err"; then
26820 ac_header_preproc
=yes
26822 echo "$as_me: failed program was:" >&5
26823 sed 's/^/| /' conftest.
$ac_ext >&5
26825 ac_header_preproc
=no
26827 rm -f conftest.err conftest.
$ac_ext
26828 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
26829 echo "${ECHO_T}$ac_header_preproc" >&6
26831 # So? What about this header?
26832 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
26834 { echo "$as_me:$LINENO: WARNING: sql.h: accepted by the compiler, rejected by the preprocessor!" >&5
26835 echo "$as_me: WARNING: sql.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
26836 { echo "$as_me:$LINENO: WARNING: sql.h: proceeding with the compiler's result" >&5
26837 echo "$as_me: WARNING: sql.h: proceeding with the compiler's result" >&2;}
26838 ac_header_preproc
=yes
26841 { echo "$as_me:$LINENO: WARNING: sql.h: present but cannot be compiled" >&5
26842 echo "$as_me: WARNING: sql.h: present but cannot be compiled" >&2;}
26843 { echo "$as_me:$LINENO: WARNING: sql.h: check for missing prerequisite headers?" >&5
26844 echo "$as_me: WARNING: sql.h: check for missing prerequisite headers?" >&2;}
26845 { echo "$as_me:$LINENO: WARNING: sql.h: see the Autoconf documentation" >&5
26846 echo "$as_me: WARNING: sql.h: see the Autoconf documentation" >&2;}
26847 { echo "$as_me:$LINENO: WARNING: sql.h: section \"Present But Cannot Be Compiled\"" >&5
26848 echo "$as_me: WARNING: sql.h: section \"Present But Cannot Be Compiled\"" >&2;}
26849 { echo "$as_me:$LINENO: WARNING: sql.h: proceeding with the preprocessor's result" >&5
26850 echo "$as_me: WARNING: sql.h: proceeding with the preprocessor's result" >&2;}
26851 { echo "$as_me:$LINENO: WARNING: sql.h: in the future, the compiler will take precedence" >&5
26852 echo "$as_me: WARNING: sql.h: in the future, the compiler will take precedence" >&2;}
26855 ## ----------------------------------------- ##
26856 ## Report this to wx-dev@lists.wxwidgets.org ##
26857 ## ----------------------------------------- ##
26860 sed "s/^/$as_me: WARNING: /" >&2
26863 echo "$as_me:$LINENO: checking for sql.h" >&5
26864 echo $ECHO_N "checking for sql.h... $ECHO_C" >&6
26865 if test "${ac_cv_header_sql_h+set}" = set; then
26866 echo $ECHO_N "(cached) $ECHO_C" >&6
26868 ac_cv_header_sql_h
=$ac_header_preproc
26870 echo "$as_me:$LINENO: result: $ac_cv_header_sql_h" >&5
26871 echo "${ECHO_T}$ac_cv_header_sql_h" >&6
26874 if test $ac_cv_header_sql_h = yes; then
26879 if test "x$found_sql_h" = "x1" ; then
26880 echo "$as_me:$LINENO: checking for SQLAllocEnv in -liodbc" >&5
26881 echo $ECHO_N "checking for SQLAllocEnv in -liodbc... $ECHO_C" >&6
26882 if test "${ac_cv_lib_iodbc_SQLAllocEnv+set}" = set; then
26883 echo $ECHO_N "(cached) $ECHO_C" >&6
26885 ac_check_lib_save_LIBS
=$LIBS
26886 LIBS
="-liodbc $LIBS"
26887 cat >conftest.
$ac_ext <<_ACEOF
26890 cat confdefs.h
>>conftest.
$ac_ext
26891 cat >>conftest.
$ac_ext <<_ACEOF
26892 /* end confdefs.h. */
26894 /* Override any gcc2 internal prototype to avoid an error. */
26898 /* We use char because int might match the return type of a gcc2
26899 builtin and then its argument prototype would still apply. */
26900 char SQLAllocEnv ();
26909 rm -f conftest.
$ac_objext conftest
$ac_exeext
26910 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26911 (eval $ac_link) 2>conftest.er1
26913 grep -v '^ *+' conftest.er1
>conftest.err
26915 cat conftest.err
>&5
26916 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26917 (exit $ac_status); } &&
26918 { ac_try
='test -z "$ac_c_werror_flag"
26919 || test ! -s conftest.err'
26920 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26921 (eval $ac_try) 2>&5
26923 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26924 (exit $ac_status); }; } &&
26925 { ac_try
='test -s conftest$ac_exeext'
26926 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26927 (eval $ac_try) 2>&5
26929 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26930 (exit $ac_status); }; }; then
26931 ac_cv_lib_iodbc_SQLAllocEnv
=yes
26933 echo "$as_me: failed program was:" >&5
26934 sed 's/^/| /' conftest.
$ac_ext >&5
26936 ac_cv_lib_iodbc_SQLAllocEnv
=no
26938 rm -f conftest.err conftest.
$ac_objext \
26939 conftest
$ac_exeext conftest.
$ac_ext
26940 LIBS
=$ac_check_lib_save_LIBS
26942 echo "$as_me:$LINENO: result: $ac_cv_lib_iodbc_SQLAllocEnv" >&5
26943 echo "${ECHO_T}$ac_cv_lib_iodbc_SQLAllocEnv" >&6
26944 if test $ac_cv_lib_iodbc_SQLAllocEnv = yes; then
26945 ODBC_LINK
=" -liodbc"
26948 echo "$as_me:$LINENO: checking for SQLAllocEnv in -lunixodbc" >&5
26949 echo $ECHO_N "checking for SQLAllocEnv in -lunixodbc... $ECHO_C" >&6
26950 if test "${ac_cv_lib_unixodbc_SQLAllocEnv+set}" = set; then
26951 echo $ECHO_N "(cached) $ECHO_C" >&6
26953 ac_check_lib_save_LIBS
=$LIBS
26954 LIBS
="-lunixodbc $LIBS"
26955 cat >conftest.
$ac_ext <<_ACEOF
26958 cat confdefs.h
>>conftest.
$ac_ext
26959 cat >>conftest.
$ac_ext <<_ACEOF
26960 /* end confdefs.h. */
26962 /* Override any gcc2 internal prototype to avoid an error. */
26966 /* We use char because int might match the return type of a gcc2
26967 builtin and then its argument prototype would still apply. */
26968 char SQLAllocEnv ();
26977 rm -f conftest.
$ac_objext conftest
$ac_exeext
26978 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26979 (eval $ac_link) 2>conftest.er1
26981 grep -v '^ *+' conftest.er1
>conftest.err
26983 cat conftest.err
>&5
26984 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26985 (exit $ac_status); } &&
26986 { ac_try
='test -z "$ac_c_werror_flag"
26987 || test ! -s conftest.err'
26988 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26989 (eval $ac_try) 2>&5
26991 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26992 (exit $ac_status); }; } &&
26993 { ac_try
='test -s conftest$ac_exeext'
26994 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26995 (eval $ac_try) 2>&5
26997 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26998 (exit $ac_status); }; }; then
26999 ac_cv_lib_unixodbc_SQLAllocEnv
=yes
27001 echo "$as_me: failed program was:" >&5
27002 sed 's/^/| /' conftest.
$ac_ext >&5
27004 ac_cv_lib_unixodbc_SQLAllocEnv
=no
27006 rm -f conftest.err conftest.
$ac_objext \
27007 conftest
$ac_exeext conftest.
$ac_ext
27008 LIBS
=$ac_check_lib_save_LIBS
27010 echo "$as_me:$LINENO: result: $ac_cv_lib_unixodbc_SQLAllocEnv" >&5
27011 echo "${ECHO_T}$ac_cv_lib_unixodbc_SQLAllocEnv" >&6
27012 if test $ac_cv_lib_unixodbc_SQLAllocEnv = yes; then
27013 ODBC_LINK
=" -lunixodbc"
27016 echo "$as_me:$LINENO: checking for SQLAllocEnv in -lodbc" >&5
27017 echo $ECHO_N "checking for SQLAllocEnv in -lodbc... $ECHO_C" >&6
27018 if test "${ac_cv_lib_odbc_SQLAllocEnv+set}" = set; then
27019 echo $ECHO_N "(cached) $ECHO_C" >&6
27021 ac_check_lib_save_LIBS
=$LIBS
27022 LIBS
="-lodbc $LIBS"
27023 cat >conftest.
$ac_ext <<_ACEOF
27026 cat confdefs.h
>>conftest.
$ac_ext
27027 cat >>conftest.
$ac_ext <<_ACEOF
27028 /* end confdefs.h. */
27030 /* Override any gcc2 internal prototype to avoid an error. */
27034 /* We use char because int might match the return type of a gcc2
27035 builtin and then its argument prototype would still apply. */
27036 char SQLAllocEnv ();
27045 rm -f conftest.
$ac_objext conftest
$ac_exeext
27046 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27047 (eval $ac_link) 2>conftest.er1
27049 grep -v '^ *+' conftest.er1
>conftest.err
27051 cat conftest.err
>&5
27052 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27053 (exit $ac_status); } &&
27054 { ac_try
='test -z "$ac_c_werror_flag"
27055 || test ! -s conftest.err'
27056 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27057 (eval $ac_try) 2>&5
27059 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27060 (exit $ac_status); }; } &&
27061 { ac_try
='test -s conftest$ac_exeext'
27062 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27063 (eval $ac_try) 2>&5
27065 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27066 (exit $ac_status); }; }; then
27067 ac_cv_lib_odbc_SQLAllocEnv
=yes
27069 echo "$as_me: failed program was:" >&5
27070 sed 's/^/| /' conftest.
$ac_ext >&5
27072 ac_cv_lib_odbc_SQLAllocEnv
=no
27074 rm -f conftest.err conftest.
$ac_objext \
27075 conftest
$ac_exeext conftest.
$ac_ext
27076 LIBS
=$ac_check_lib_save_LIBS
27078 echo "$as_me:$LINENO: result: $ac_cv_lib_odbc_SQLAllocEnv" >&5
27079 echo "${ECHO_T}$ac_cv_lib_odbc_SQLAllocEnv" >&6
27080 if test $ac_cv_lib_odbc_SQLAllocEnv = yes; then
27081 ODBC_LINK
=" -lodbc"
27091 if test "x$ODBC_LINK" = "x" ; then
27092 if test "$wxUSE_ODBC" = "sys" ; then
27093 { { echo "$as_me:$LINENO: error: system ODBC library not found! Use --with-odbc=builtin to use built-in version" >&5
27094 echo "$as_me: error: system ODBC library not found! Use --with-odbc=builtin to use built-in version" >&2;}
27095 { (exit 1); exit 1; }; }
27097 { echo "$as_me:$LINENO: WARNING: system ODBC library not found, will use built-in instead" >&5
27098 echo "$as_me: WARNING: system ODBC library not found, will use built-in instead" >&2;}
27105 if test "$wxUSE_ODBC" != "no" ; then
27106 cat >>confdefs.h
<<\_ACEOF
27107 #define wxUSE_ODBC 1
27110 if test "$wxUSE_ODBC" = "builtin" ; then
27111 cat >>confdefs.h
<<\_ACEOF
27112 #define wxUSE_BUILTIN_IODBC 1
27116 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS db"
27118 WXODBCFLAG
="-D_IODBC_"
27124 if test "$wxUSE_DISPLAY" = "yes"; then
27125 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_MAC" != 1 -a "$wxUSE_COCOA" != 1; then
27126 echo "$as_me:$LINENO: checking for Xinerama" >&5
27127 echo $ECHO_N "checking for Xinerama... $ECHO_C" >&6
27130 for ac_dir
in $SEARCH_LIB /usr
/lib
;
27132 for ac_extension
in a so sl dylib
; do
27133 if test -f "$ac_dir/libXinerama.$ac_extension"; then
27134 ac_find_libraries
=$ac_dir
27140 if test "$ac_find_libraries" != "" ; then
27142 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev
/null
27144 if test $result = 0; then
27147 ac_path_to_link
=" -L$ac_find_libraries"
27150 if test "$ac_path_to_link" != " -L/usr/lib" ; then
27151 LDFLAGS
="$LDFLAGS $ac_path_to_link"
27153 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lXinerama"
27154 echo "$as_me:$LINENO: result: yes" >&5
27155 echo "${ECHO_T}yes" >&6
27157 echo "$as_me:$LINENO: checking for Xxf86vm extension" >&5
27158 echo $ECHO_N "checking for Xxf86vm extension... $ECHO_C" >&6
27161 for ac_dir
in $SEARCH_LIB /usr
/lib
;
27163 for ac_extension
in a so sl dylib
; do
27164 if test -f "$ac_dir/libXxf86vm.$ac_extension"; then
27165 ac_find_libraries
=$ac_dir
27171 if test "$ac_find_libraries" != "" ; then
27172 echo "$as_me:$LINENO: result: yes" >&5
27173 echo "${ECHO_T}yes" >&6
27175 for ac_header
in X
11/extensions
/xf86vmode.h
27177 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
27178 echo "$as_me:$LINENO: checking for $ac_header" >&5
27179 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
27180 if eval "test \"\${$as_ac_Header+set}\" = set"; then
27181 echo $ECHO_N "(cached) $ECHO_C" >&6
27183 cat >conftest.
$ac_ext <<_ACEOF
27186 cat confdefs.h
>>conftest.
$ac_ext
27187 cat >>conftest.
$ac_ext <<_ACEOF
27188 /* end confdefs.h. */
27190 #if HAVE_X11_XLIB_H
27191 #include <X11/Xlib.h>
27195 #include <$ac_header>
27197 rm -f conftest.
$ac_objext
27198 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27199 (eval $ac_compile) 2>conftest.er1
27201 grep -v '^ *+' conftest.er1
>conftest.err
27203 cat conftest.err
>&5
27204 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27205 (exit $ac_status); } &&
27206 { ac_try
='test -z "$ac_c_werror_flag"
27207 || test ! -s conftest.err'
27208 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27209 (eval $ac_try) 2>&5
27211 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27212 (exit $ac_status); }; } &&
27213 { ac_try
='test -s conftest.$ac_objext'
27214 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27215 (eval $ac_try) 2>&5
27217 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27218 (exit $ac_status); }; }; then
27219 eval "$as_ac_Header=yes"
27221 echo "$as_me: failed program was:" >&5
27222 sed 's/^/| /' conftest.
$ac_ext >&5
27224 eval "$as_ac_Header=no"
27226 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
27228 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
27229 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
27230 if test `eval echo '${'$as_ac_Header'}'` = yes; then
27231 cat >>confdefs.h
<<_ACEOF
27232 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
27235 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lXxf86vm"
27242 echo "$as_me:$LINENO: result: no" >&5
27243 echo "${ECHO_T}no" >&6
27247 echo "$as_me:$LINENO: result: no" >&5
27248 echo "${ECHO_T}no" >&6
27249 { echo "$as_me:$LINENO: WARNING: Xinerama not found; disabling wxDisplay" >&5
27250 echo "$as_me: WARNING: Xinerama not found; disabling wxDisplay" >&2;}
27253 elif test "$wxUSE_MSW" = 1; then
27256 for ac_header
in multimon.h ddraw.h
27258 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
27259 if eval "test \"\${$as_ac_Header+set}\" = set"; then
27260 echo "$as_me:$LINENO: checking for $ac_header" >&5
27261 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
27262 if eval "test \"\${$as_ac_Header+set}\" = set"; then
27263 echo $ECHO_N "(cached) $ECHO_C" >&6
27265 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
27266 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
27268 # Is the header compilable?
27269 echo "$as_me:$LINENO: checking $ac_header usability" >&5
27270 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
27271 cat >conftest.
$ac_ext <<_ACEOF
27274 cat confdefs.h
>>conftest.
$ac_ext
27275 cat >>conftest.
$ac_ext <<_ACEOF
27276 /* end confdefs.h. */
27277 $ac_includes_default
27278 #include <$ac_header>
27280 rm -f conftest.
$ac_objext
27281 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27282 (eval $ac_compile) 2>conftest.er1
27284 grep -v '^ *+' conftest.er1
>conftest.err
27286 cat conftest.err
>&5
27287 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27288 (exit $ac_status); } &&
27289 { ac_try
='test -z "$ac_c_werror_flag"
27290 || test ! -s conftest.err'
27291 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27292 (eval $ac_try) 2>&5
27294 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27295 (exit $ac_status); }; } &&
27296 { ac_try
='test -s conftest.$ac_objext'
27297 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27298 (eval $ac_try) 2>&5
27300 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27301 (exit $ac_status); }; }; then
27302 ac_header_compiler
=yes
27304 echo "$as_me: failed program was:" >&5
27305 sed 's/^/| /' conftest.
$ac_ext >&5
27307 ac_header_compiler
=no
27309 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
27310 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
27311 echo "${ECHO_T}$ac_header_compiler" >&6
27313 # Is the header present?
27314 echo "$as_me:$LINENO: checking $ac_header presence" >&5
27315 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
27316 cat >conftest.
$ac_ext <<_ACEOF
27319 cat confdefs.h
>>conftest.
$ac_ext
27320 cat >>conftest.
$ac_ext <<_ACEOF
27321 /* end confdefs.h. */
27322 #include <$ac_header>
27324 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
27325 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
27327 grep -v '^ *+' conftest.er1
>conftest.err
27329 cat conftest.err
>&5
27330 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27331 (exit $ac_status); } >/dev
/null
; then
27332 if test -s conftest.err
; then
27333 ac_cpp_err
=$ac_c_preproc_warn_flag
27334 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
27341 if test -z "$ac_cpp_err"; then
27342 ac_header_preproc
=yes
27344 echo "$as_me: failed program was:" >&5
27345 sed 's/^/| /' conftest.
$ac_ext >&5
27347 ac_header_preproc
=no
27349 rm -f conftest.err conftest.
$ac_ext
27350 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
27351 echo "${ECHO_T}$ac_header_preproc" >&6
27353 # So? What about this header?
27354 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
27356 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
27357 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
27358 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
27359 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
27360 ac_header_preproc
=yes
27363 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
27364 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
27365 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
27366 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
27367 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
27368 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
27369 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
27370 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
27371 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
27372 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
27373 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
27374 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
27377 ## ----------------------------------------- ##
27378 ## Report this to wx-dev@lists.wxwidgets.org ##
27379 ## ----------------------------------------- ##
27382 sed "s/^/$as_me: WARNING: /" >&2
27385 echo "$as_me:$LINENO: checking for $ac_header" >&5
27386 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
27387 if eval "test \"\${$as_ac_Header+set}\" = set"; then
27388 echo $ECHO_N "(cached) $ECHO_C" >&6
27390 eval "$as_ac_Header=\$ac_header_preproc"
27392 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
27393 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
27396 if test `eval echo '${'$as_ac_Header'}'` = yes; then
27397 cat >>confdefs.h
<<_ACEOF
27398 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
27404 { echo "$as_me:$LINENO: WARNING: ddraw.h or multimon.h not found; disabling wxDisplay" >&5
27405 echo "$as_me: WARNING: ddraw.h or multimon.h not found; disabling wxDisplay" >&2;}
27416 if test "$wxUSE_OPENGL" = "yes"; then
27417 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = "1"; then
27418 OPENGL_LIBS
="-framework OpenGL -framework AGL"
27419 elif test "$wxUSE_MSW" = 1; then
27420 OPENGL_LIBS
="-lopengl32 -lglu32"
27425 for ac_dir
in $SEARCH_INCLUDE /usr
/include
;
27427 if test -f "$ac_dir/GL/gl.h"; then
27428 ac_find_includes
=$ac_dir
27433 if test "$ac_find_includes" != "" ; then
27434 echo "$as_me:$LINENO: result: found in $ac_find_includes" >&5
27435 echo "${ECHO_T}found in $ac_find_includes" >&6
27437 if test "x$ac_find_includes" = "x/usr/include"; then
27438 ac_path_to_include
=""
27440 echo "$CPPFLAGS" | grep "\-I$ac_find_includes" > /dev
/null
27442 if test $result = 0; then
27443 ac_path_to_include
=""
27445 ac_path_to_include
=" -I$ac_find_includes"
27449 CPPFLAGS
="$CPPFLAGS$ac_path_to_include"
27452 if test "${ac_cv_header_GL_gl_h+set}" = set; then
27453 echo "$as_me:$LINENO: checking for GL/gl.h" >&5
27454 echo $ECHO_N "checking for GL/gl.h... $ECHO_C" >&6
27455 if test "${ac_cv_header_GL_gl_h+set}" = set; then
27456 echo $ECHO_N "(cached) $ECHO_C" >&6
27458 echo "$as_me:$LINENO: result: $ac_cv_header_GL_gl_h" >&5
27459 echo "${ECHO_T}$ac_cv_header_GL_gl_h" >&6
27461 # Is the header compilable?
27462 echo "$as_me:$LINENO: checking GL/gl.h usability" >&5
27463 echo $ECHO_N "checking GL/gl.h usability... $ECHO_C" >&6
27464 cat >conftest.
$ac_ext <<_ACEOF
27467 cat confdefs.h
>>conftest.
$ac_ext
27468 cat >>conftest.
$ac_ext <<_ACEOF
27469 /* end confdefs.h. */
27470 $ac_includes_default
27473 rm -f conftest.
$ac_objext
27474 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27475 (eval $ac_compile) 2>conftest.er1
27477 grep -v '^ *+' conftest.er1
>conftest.err
27479 cat conftest.err
>&5
27480 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27481 (exit $ac_status); } &&
27482 { ac_try
='test -z "$ac_c_werror_flag"
27483 || test ! -s conftest.err'
27484 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27485 (eval $ac_try) 2>&5
27487 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27488 (exit $ac_status); }; } &&
27489 { ac_try
='test -s conftest.$ac_objext'
27490 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27491 (eval $ac_try) 2>&5
27493 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27494 (exit $ac_status); }; }; then
27495 ac_header_compiler
=yes
27497 echo "$as_me: failed program was:" >&5
27498 sed 's/^/| /' conftest.
$ac_ext >&5
27500 ac_header_compiler
=no
27502 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
27503 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
27504 echo "${ECHO_T}$ac_header_compiler" >&6
27506 # Is the header present?
27507 echo "$as_me:$LINENO: checking GL/gl.h presence" >&5
27508 echo $ECHO_N "checking GL/gl.h presence... $ECHO_C" >&6
27509 cat >conftest.
$ac_ext <<_ACEOF
27512 cat confdefs.h
>>conftest.
$ac_ext
27513 cat >>conftest.
$ac_ext <<_ACEOF
27514 /* end confdefs.h. */
27517 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
27518 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
27520 grep -v '^ *+' conftest.er1
>conftest.err
27522 cat conftest.err
>&5
27523 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27524 (exit $ac_status); } >/dev
/null
; then
27525 if test -s conftest.err
; then
27526 ac_cpp_err
=$ac_c_preproc_warn_flag
27527 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
27534 if test -z "$ac_cpp_err"; then
27535 ac_header_preproc
=yes
27537 echo "$as_me: failed program was:" >&5
27538 sed 's/^/| /' conftest.
$ac_ext >&5
27540 ac_header_preproc
=no
27542 rm -f conftest.err conftest.
$ac_ext
27543 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
27544 echo "${ECHO_T}$ac_header_preproc" >&6
27546 # So? What about this header?
27547 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
27549 { echo "$as_me:$LINENO: WARNING: GL/gl.h: accepted by the compiler, rejected by the preprocessor!" >&5
27550 echo "$as_me: WARNING: GL/gl.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
27551 { echo "$as_me:$LINENO: WARNING: GL/gl.h: proceeding with the compiler's result" >&5
27552 echo "$as_me: WARNING: GL/gl.h: proceeding with the compiler's result" >&2;}
27553 ac_header_preproc
=yes
27556 { echo "$as_me:$LINENO: WARNING: GL/gl.h: present but cannot be compiled" >&5
27557 echo "$as_me: WARNING: GL/gl.h: present but cannot be compiled" >&2;}
27558 { echo "$as_me:$LINENO: WARNING: GL/gl.h: check for missing prerequisite headers?" >&5
27559 echo "$as_me: WARNING: GL/gl.h: check for missing prerequisite headers?" >&2;}
27560 { echo "$as_me:$LINENO: WARNING: GL/gl.h: see the Autoconf documentation" >&5
27561 echo "$as_me: WARNING: GL/gl.h: see the Autoconf documentation" >&2;}
27562 { echo "$as_me:$LINENO: WARNING: GL/gl.h: section \"Present But Cannot Be Compiled\"" >&5
27563 echo "$as_me: WARNING: GL/gl.h: section \"Present But Cannot Be Compiled\"" >&2;}
27564 { echo "$as_me:$LINENO: WARNING: GL/gl.h: proceeding with the preprocessor's result" >&5
27565 echo "$as_me: WARNING: GL/gl.h: proceeding with the preprocessor's result" >&2;}
27566 { echo "$as_me:$LINENO: WARNING: GL/gl.h: in the future, the compiler will take precedence" >&5
27567 echo "$as_me: WARNING: GL/gl.h: in the future, the compiler will take precedence" >&2;}
27570 ## ----------------------------------------- ##
27571 ## Report this to wx-dev@lists.wxwidgets.org ##
27572 ## ----------------------------------------- ##
27575 sed "s/^/$as_me: WARNING: /" >&2
27578 echo "$as_me:$LINENO: checking for GL/gl.h" >&5
27579 echo $ECHO_N "checking for GL/gl.h... $ECHO_C" >&6
27580 if test "${ac_cv_header_GL_gl_h+set}" = set; then
27581 echo $ECHO_N "(cached) $ECHO_C" >&6
27583 ac_cv_header_GL_gl_h
=$ac_header_preproc
27585 echo "$as_me:$LINENO: result: $ac_cv_header_GL_gl_h" >&5
27586 echo "${ECHO_T}$ac_cv_header_GL_gl_h" >&6
27589 if test $ac_cv_header_GL_gl_h = yes; then
27593 echo "$as_me:$LINENO: checking for -lGL" >&5
27594 echo $ECHO_N "checking for -lGL... $ECHO_C" >&6
27597 for ac_dir
in $SEARCH_LIB /usr
/lib
;
27599 for ac_extension
in a so sl dylib
; do
27600 if test -f "$ac_dir/libGL.$ac_extension"; then
27601 ac_find_libraries
=$ac_dir
27607 if test "$ac_find_libraries" != "" ; then
27609 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev
/null
27611 if test $result = 0; then
27614 ac_path_to_link
=" -L$ac_find_libraries"
27617 if test "$ac_path_to_link" != " -L/usr/lib" ; then
27618 LDFLAGS_GL
="$ac_path_to_link"
27623 for ac_dir
in $SEARCH_LIB /usr
/lib
;
27625 for ac_extension
in a so sl dylib
; do
27626 if test -f "$ac_dir/libGLU.$ac_extension"; then
27627 ac_find_libraries
=$ac_dir
27633 if test "$ac_find_libraries" != "" ; then
27635 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev
/null
27637 if test $result = 0; then
27640 ac_path_to_link
=" -L$ac_find_libraries"
27643 if test "$ac_path_to_link" != " -L/usr/lib" -a \
27644 "$ac_path_to_link" != "$LDFLAGS_GL"; then
27645 LDFLAGS_GL
="$LDFLAGS_GL$ac_path_to_link"
27649 OPENGL_LIBS
="-lGL -lGLU"
27650 echo "$as_me:$LINENO: result: yes" >&5
27651 echo "${ECHO_T}yes" >&6
27655 if test "$found_gl" != 1; then
27656 echo "$as_me:$LINENO: result: no" >&5
27657 echo "${ECHO_T}no" >&6
27658 echo "$as_me:$LINENO: checking for -lMesaGL" >&5
27659 echo $ECHO_N "checking for -lMesaGL... $ECHO_C" >&6
27662 for ac_dir
in $SEARCH_LIB /usr
/lib
;
27664 for ac_extension
in a so sl dylib
; do
27665 if test -f "$ac_dir/libMesaGL.$ac_extension"; then
27666 ac_find_libraries
=$ac_dir
27672 if test "$ac_find_libraries" != "" ; then
27674 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev
/null
27676 if test $result = 0; then
27679 ac_path_to_link
=" -L$ac_find_libraries"
27682 LDFLAGS_GL
="$LDFLAGS$ac_path_to_link"
27683 OPENGL_LIBS
="-lMesaGL -lMesaGLU"
27684 echo "$as_me:$LINENO: result: yes" >&5
27685 echo "${ECHO_T}yes" >&6
27687 echo "$as_me:$LINENO: result: no" >&5
27688 echo "${ECHO_T}no" >&6
27696 if test "x$OPENGL_LIBS" = "x"; then
27697 { { echo "$as_me:$LINENO: error: OpenGL libraries not available" >&5
27698 echo "$as_me: error: OpenGL libraries not available" >&2;}
27699 { (exit 1); exit 1; }; }
27703 if test "$wxUSE_OPENGL" = "yes"; then
27705 cat >>confdefs.h
<<\_ACEOF
27706 #define wxUSE_OPENGL 1
27709 cat >>confdefs.h
<<\_ACEOF
27710 #define wxUSE_GLCANVAS 1
27713 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS opengl opengl/cube opengl/penguin opengl/isosurf"
27718 if test -n "$TOOLKIT" ; then
27719 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -D__WX${TOOLKIT}__"
27724 if test "$wxUSE_SHARED" = "yes"; then
27728 { echo "$as_me:$LINENO: WARNING: Host system doesn't support shared libraries, disabling" >&5
27729 echo "$as_me: WARNING: Host system doesn't support shared libraries, disabling" >&2;}
27734 if test "$wxUSE_SHARED" = "yes"; then
27737 found_versioning
=no
27740 if test $found_versioning = no
; then
27741 echo "$as_me:$LINENO: checking if the linker accepts --version-script" >&5
27742 echo $ECHO_N "checking if the linker accepts --version-script... $ECHO_C" >&6
27743 if test "${wx_cv_version_script+set}" = set; then
27744 echo $ECHO_N "(cached) $ECHO_C" >&6
27747 echo "VER_1 { *; };" >conftest.sym
27748 echo "int main() { return 0; }" >conftest.cpp
27751 $CXX -o conftest.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
27752 -Wl,--version-script,conftest.sym >/dev/null 2>conftest.stderr'
27753 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27754 (eval $ac_try) 2>&5
27756 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27757 (exit $ac_status); }; } ; then
27758 if test -s conftest.stderr
; then
27759 wx_cv_version_script
=no
27761 wx_cv_version_script
=yes
27764 wx_cv_version_script
=no
27766 rm -f conftest.output conftest.stderr conftest.sym conftest.cpp
27769 echo "$as_me:$LINENO: result: $wx_cv_version_script" >&5
27770 echo "${ECHO_T}$wx_cv_version_script" >&6
27771 if test $wx_cv_version_script = yes ; then
27772 LDFLAGS_VERSIONING
="-Wl,--version-script,\$(top_builddir)version-script"
27778 *-*-linux* | *-*-gnu* )
27779 SAMPLES_RPATH_FLAG
="-Wl,-rpath,\$(top_builddir)lib"
27783 if test "$GCC" = yes ; then
27784 CPPFLAGS
="$CPPFLAGS -isystem /usr/openwin/include"
27786 saveLdflags
="$LDFLAGS"
27787 LDFLAGS
="$saveLdflags -Wl,-rpath,/"
27788 echo "$as_me:$LINENO: checking if the linker accepts -rpath" >&5
27789 echo $ECHO_N "checking if the linker accepts -rpath... $ECHO_C" >&6
27790 cat >conftest.
$ac_ext <<_ACEOF
27793 cat confdefs.h
>>conftest.
$ac_ext
27794 cat >>conftest.
$ac_ext <<_ACEOF
27795 /* end confdefs.h. */
27805 rm -f conftest.
$ac_objext conftest
$ac_exeext
27806 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27807 (eval $ac_link) 2>conftest.er1
27809 grep -v '^ *+' conftest.er1
>conftest.err
27811 cat conftest.err
>&5
27812 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27813 (exit $ac_status); } &&
27814 { ac_try
='test -z "$ac_c_werror_flag"
27815 || test ! -s conftest.err'
27816 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27817 (eval $ac_try) 2>&5
27819 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27820 (exit $ac_status); }; } &&
27821 { ac_try
='test -s conftest$ac_exeext'
27822 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27823 (eval $ac_try) 2>&5
27825 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27826 (exit $ac_status); }; }; then
27828 echo "$as_me:$LINENO: result: yes" >&5
27829 echo "${ECHO_T}yes" >&6
27830 SAMPLES_RPATH_FLAG
="-Wl,-rpath,\$(top_builddir)lib"
27833 echo "$as_me: failed program was:" >&5
27834 sed 's/^/| /' conftest.
$ac_ext >&5
27837 echo "$as_me:$LINENO: result: no" >&5
27838 echo "${ECHO_T}no" >&6
27839 echo "$as_me:$LINENO: checking if the linker accepts -R" >&5
27840 echo $ECHO_N "checking if the linker accepts -R... $ECHO_C" >&6
27841 LDFLAGS
="$saveLdflags -Wl,-R,/"
27842 cat >conftest.
$ac_ext <<_ACEOF
27845 cat confdefs.h
>>conftest.
$ac_ext
27846 cat >>conftest.
$ac_ext <<_ACEOF
27847 /* end confdefs.h. */
27857 rm -f conftest.
$ac_objext conftest
$ac_exeext
27858 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27859 (eval $ac_link) 2>conftest.er1
27861 grep -v '^ *+' conftest.er1
>conftest.err
27863 cat conftest.err
>&5
27864 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27865 (exit $ac_status); } &&
27866 { ac_try
='test -z "$ac_c_werror_flag"
27867 || test ! -s conftest.err'
27868 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27869 (eval $ac_try) 2>&5
27871 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27872 (exit $ac_status); }; } &&
27873 { ac_try
='test -s conftest$ac_exeext'
27874 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27875 (eval $ac_try) 2>&5
27877 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27878 (exit $ac_status); }; }; then
27880 echo "$as_me:$LINENO: result: yes" >&5
27881 echo "${ECHO_T}yes" >&6
27882 SAMPLES_RPATH_FLAG
="-Wl,-R,\$(top_builddir)lib"
27884 echo "$as_me: failed program was:" >&5
27885 sed 's/^/| /' conftest.
$ac_ext >&5
27888 echo "$as_me:$LINENO: result: no" >&5
27889 echo "${ECHO_T}no" >&6
27892 rm -f conftest.err conftest.
$ac_objext \
27893 conftest
$ac_exeext conftest.
$ac_ext
27896 rm -f conftest.err conftest.
$ac_objext \
27897 conftest
$ac_exeext conftest.
$ac_ext
27898 LDFLAGS
="$saveLdflags"
27900 SAMPLES_RPATH_FLAG
="-R\$(top_builddir)lib"
27904 powerpc
-*-darwin* )
27905 SAMPLES_RPATH_POSTLINK
="\$(top_builddir)change-install-names \$(LIBDIRNAME) \$(prefix) \$@"
27906 cat <<EOF >change-install-names
27908 libnames=\`cd \${1} ; ls -1 | grep '\.[0-9][0-9]*\.dylib\$'\`
27909 inst_cmd="install_name_tool "
27910 for i in \${libnames} ; do
27911 inst_cmd="\${inst_cmd} -change \${2}/lib/\${i} \${1}/\${i}"
27915 chmod +x change
-install-names
27918 *-*-cygwin* | *-*-mingw32* )
27919 TOOLCHAIN_DLL_DEFS
="${TOOLCHAIN_DLL_DEFS} -DWXUSINGDLL=1"
27925 if test "$wxUSE_SHARED" = "no"; then
27926 config_linkage_component
="-static"
27934 lib_unicode_suffix
=
27936 if test "$wxUSE_UNICODE" = "yes"; then
27937 lib_unicode_suffix
=u
27938 WX_CHARTYPE
="unicode"
27943 WX_DEBUGTYPE
="release"
27945 if test "$wxUSE_DEBUG_FLAG" = "yes"; then
27947 WX_DEBUGTYPE
="debug"
27951 WX_FLAVOUR
=${WX_FLAVOUR:+-$WX_FLAVOUR}
27952 WX_LIB_FLAVOUR
=`echo $WX_FLAVOUR | tr '-' '_'`
27955 if test "$wxUSE_DEBUG_INFO" = "yes"; then
27959 WX_VERSION_TAG
=`echo WX${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}_${WX_RELEASE} | tr "[a-z]" "[A-Z]"`
27961 TOOLCHAIN_NAME
="${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}-${WX_RELEASE}"
27963 TOOLCHAIN_FULLNAME
="${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}-${WX_CHARTYPE}-${WX_DEBUGTYPE}${config_linkage_component}-${WX_RELEASE}${WX_FLAVOUR}"
27965 if test "$cross_compiling" = "yes"; then
27966 HOST_SUFFIX
="-$host_alias"
27967 TOOLCHAIN_NAME
="$TOOLCHAIN_NAME$HOST_SUFFIX"
27968 TOOLCHAIN_FULLNAME
="${host_alias}-$TOOLCHAIN_FULLNAME"
27971 WX_LIBRARY_BASENAME_NOGUI
="wx_base${WXBASEPORT}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}"
27972 WX_LIBRARY_BASENAME_GUI
="wx_${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}"
27976 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1; then
27977 WX_RESOURCES_MACOSX_ASCII
="libwx_${TOOLCHAIN_NAME}.${WX_CURRENT}.r"
27978 WX_RESOURCES_MACOSX_DATA
="libwx_${TOOLCHAIN_NAME}.${WX_CURRENT}.rsrc"
27980 LIBWXMACRES
="\$(top_builddir)lib/${WX_RESOURCES_MACOSX_ASCII}"
27982 # Extract the first word of "Rez", so it can be a program name with args.
27983 set dummy Rez
; ac_word
=$2
27984 echo "$as_me:$LINENO: checking for $ac_word" >&5
27985 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
27986 if test "${ac_cv_prog_RESCOMP+set}" = set; then
27987 echo $ECHO_N "(cached) $ECHO_C" >&6
27989 if test -n "$RESCOMP"; then
27990 ac_cv_prog_RESCOMP
="$RESCOMP" # Let the user override the test.
27992 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
27993 for as_dir
in $PATH
27996 test -z "$as_dir" && as_dir
=.
27997 for ac_exec_ext
in '' $ac_executable_extensions; do
27998 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
27999 ac_cv_prog_RESCOMP
="Rez"
28000 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
28006 test -z "$ac_cv_prog_RESCOMP" && ac_cv_prog_RESCOMP
="/Developer/Tools/Rez"
28009 RESCOMP
=$ac_cv_prog_RESCOMP
28010 if test -n "$RESCOMP"; then
28011 echo "$as_me:$LINENO: result: $RESCOMP" >&5
28012 echo "${ECHO_T}$RESCOMP" >&6
28014 echo "$as_me:$LINENO: result: no" >&5
28015 echo "${ECHO_T}no" >&6
28018 # Extract the first word of "DeRez", so it can be a program name with args.
28019 set dummy DeRez
; ac_word
=$2
28020 echo "$as_me:$LINENO: checking for $ac_word" >&5
28021 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
28022 if test "${ac_cv_prog_DEREZ+set}" = set; then
28023 echo $ECHO_N "(cached) $ECHO_C" >&6
28025 if test -n "$DEREZ"; then
28026 ac_cv_prog_DEREZ
="$DEREZ" # Let the user override the test.
28028 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
28029 for as_dir
in $PATH
28032 test -z "$as_dir" && as_dir
=.
28033 for ac_exec_ext
in '' $ac_executable_extensions; do
28034 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
28035 ac_cv_prog_DEREZ
="DeRez"
28036 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
28042 test -z "$ac_cv_prog_DEREZ" && ac_cv_prog_DEREZ
="/Developer/Tools/DeRez"
28045 DEREZ
=$ac_cv_prog_DEREZ
28046 if test -n "$DEREZ"; then
28047 echo "$as_me:$LINENO: result: $DEREZ" >&5
28048 echo "${ECHO_T}$DEREZ" >&6
28050 echo "$as_me:$LINENO: result: no" >&5
28051 echo "${ECHO_T}no" >&6
28054 # Extract the first word of "SetFile", so it can be a program name with args.
28055 set dummy SetFile
; ac_word
=$2
28056 echo "$as_me:$LINENO: checking for $ac_word" >&5
28057 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
28058 if test "${ac_cv_prog_SETFILE+set}" = set; then
28059 echo $ECHO_N "(cached) $ECHO_C" >&6
28061 if test -n "$SETFILE"; then
28062 ac_cv_prog_SETFILE
="$SETFILE" # Let the user override the test.
28064 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
28065 for as_dir
in $PATH
28068 test -z "$as_dir" && as_dir
=.
28069 for ac_exec_ext
in '' $ac_executable_extensions; do
28070 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
28071 ac_cv_prog_SETFILE
="SetFile"
28072 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
28078 test -z "$ac_cv_prog_SETFILE" && ac_cv_prog_SETFILE
="/Developer/Tools/SetFile"
28081 SETFILE
=$ac_cv_prog_SETFILE
28082 if test -n "$SETFILE"; then
28083 echo "$as_me:$LINENO: result: $SETFILE" >&5
28084 echo "${ECHO_T}$SETFILE" >&6
28086 echo "$as_me:$LINENO: result: no" >&5
28087 echo "${ECHO_T}no" >&6
28091 MACSETFILE
="\$(SETFILE)"
28093 if test "$wxUSE_MAC" = 1; then
28094 MACRESCOMP
="\$(RESCOMP) -d __DARWIN__ -t APPL Carbon.r ${LIBWXMACRES} -o"
28096 MACRESWXCONFIG
="${RESCOMP} -d __DARWIN__ -t APPL Carbon.r \\\${exec_prefix}/lib/${WX_RESOURCES_MACOSX_ASCII} -o"
28098 MACRESCOMP
="echo -n | \$(RESCOMP) -d __DARWIN__ -t APPL ${LIBWXMACRES} -o"
28099 MACRESWXCONFIG
="echo -n \\\| ${RESCOMP} -d __DARWIN__ -t APPL \\\${exec_prefix}/lib/${WX_RESOURCES_MACOSX_ASCII} -o"
28105 if test "$wxUSE_PM" = 1; then
28106 MACRESCOMP
="emxbind -ep"
28114 echo "$as_me:$LINENO: checking for mode_t" >&5
28115 echo $ECHO_N "checking for mode_t... $ECHO_C" >&6
28116 if test "${ac_cv_type_mode_t+set}" = set; then
28117 echo $ECHO_N "(cached) $ECHO_C" >&6
28119 cat >conftest.
$ac_ext <<_ACEOF
28122 cat confdefs.h
>>conftest.
$ac_ext
28123 cat >>conftest.
$ac_ext <<_ACEOF
28124 /* end confdefs.h. */
28125 $ac_includes_default
28131 if (sizeof (mode_t))
28137 rm -f conftest.
$ac_objext
28138 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28139 (eval $ac_compile) 2>conftest.er1
28141 grep -v '^ *+' conftest.er1
>conftest.err
28143 cat conftest.err
>&5
28144 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28145 (exit $ac_status); } &&
28146 { ac_try
='test -z "$ac_c_werror_flag"
28147 || test ! -s conftest.err'
28148 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28149 (eval $ac_try) 2>&5
28151 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28152 (exit $ac_status); }; } &&
28153 { ac_try
='test -s conftest.$ac_objext'
28154 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28155 (eval $ac_try) 2>&5
28157 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28158 (exit $ac_status); }; }; then
28159 ac_cv_type_mode_t
=yes
28161 echo "$as_me: failed program was:" >&5
28162 sed 's/^/| /' conftest.
$ac_ext >&5
28164 ac_cv_type_mode_t
=no
28166 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
28168 echo "$as_me:$LINENO: result: $ac_cv_type_mode_t" >&5
28169 echo "${ECHO_T}$ac_cv_type_mode_t" >&6
28170 if test $ac_cv_type_mode_t = yes; then
28174 cat >>confdefs.h
<<_ACEOF
28180 echo "$as_me:$LINENO: checking for off_t" >&5
28181 echo $ECHO_N "checking for off_t... $ECHO_C" >&6
28182 if test "${ac_cv_type_off_t+set}" = set; then
28183 echo $ECHO_N "(cached) $ECHO_C" >&6
28185 cat >conftest.
$ac_ext <<_ACEOF
28188 cat confdefs.h
>>conftest.
$ac_ext
28189 cat >>conftest.
$ac_ext <<_ACEOF
28190 /* end confdefs.h. */
28191 $ac_includes_default
28197 if (sizeof (off_t))
28203 rm -f conftest.
$ac_objext
28204 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28205 (eval $ac_compile) 2>conftest.er1
28207 grep -v '^ *+' conftest.er1
>conftest.err
28209 cat conftest.err
>&5
28210 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28211 (exit $ac_status); } &&
28212 { ac_try
='test -z "$ac_c_werror_flag"
28213 || test ! -s conftest.err'
28214 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28215 (eval $ac_try) 2>&5
28217 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28218 (exit $ac_status); }; } &&
28219 { ac_try
='test -s conftest.$ac_objext'
28220 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28221 (eval $ac_try) 2>&5
28223 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28224 (exit $ac_status); }; }; then
28225 ac_cv_type_off_t
=yes
28227 echo "$as_me: failed program was:" >&5
28228 sed 's/^/| /' conftest.
$ac_ext >&5
28230 ac_cv_type_off_t
=no
28232 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
28234 echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
28235 echo "${ECHO_T}$ac_cv_type_off_t" >&6
28236 if test $ac_cv_type_off_t = yes; then
28240 cat >>confdefs.h
<<_ACEOF
28246 echo "$as_me:$LINENO: checking for pid_t" >&5
28247 echo $ECHO_N "checking for pid_t... $ECHO_C" >&6
28248 if test "${ac_cv_type_pid_t+set}" = set; then
28249 echo $ECHO_N "(cached) $ECHO_C" >&6
28251 cat >conftest.
$ac_ext <<_ACEOF
28254 cat confdefs.h
>>conftest.
$ac_ext
28255 cat >>conftest.
$ac_ext <<_ACEOF
28256 /* end confdefs.h. */
28257 $ac_includes_default
28263 if (sizeof (pid_t))
28269 rm -f conftest.
$ac_objext
28270 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28271 (eval $ac_compile) 2>conftest.er1
28273 grep -v '^ *+' conftest.er1
>conftest.err
28275 cat conftest.err
>&5
28276 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28277 (exit $ac_status); } &&
28278 { ac_try
='test -z "$ac_c_werror_flag"
28279 || test ! -s conftest.err'
28280 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28281 (eval $ac_try) 2>&5
28283 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28284 (exit $ac_status); }; } &&
28285 { ac_try
='test -s conftest.$ac_objext'
28286 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28287 (eval $ac_try) 2>&5
28289 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28290 (exit $ac_status); }; }; then
28291 ac_cv_type_pid_t
=yes
28293 echo "$as_me: failed program was:" >&5
28294 sed 's/^/| /' conftest.
$ac_ext >&5
28296 ac_cv_type_pid_t
=no
28298 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
28300 echo "$as_me:$LINENO: result: $ac_cv_type_pid_t" >&5
28301 echo "${ECHO_T}$ac_cv_type_pid_t" >&6
28302 if test $ac_cv_type_pid_t = yes; then
28306 cat >>confdefs.h
<<_ACEOF
28312 echo "$as_me:$LINENO: checking for size_t" >&5
28313 echo $ECHO_N "checking for size_t... $ECHO_C" >&6
28314 if test "${ac_cv_type_size_t+set}" = set; then
28315 echo $ECHO_N "(cached) $ECHO_C" >&6
28317 cat >conftest.
$ac_ext <<_ACEOF
28320 cat confdefs.h
>>conftest.
$ac_ext
28321 cat >>conftest.
$ac_ext <<_ACEOF
28322 /* end confdefs.h. */
28323 $ac_includes_default
28329 if (sizeof (size_t))
28335 rm -f conftest.
$ac_objext
28336 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28337 (eval $ac_compile) 2>conftest.er1
28339 grep -v '^ *+' conftest.er1
>conftest.err
28341 cat conftest.err
>&5
28342 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28343 (exit $ac_status); } &&
28344 { ac_try
='test -z "$ac_c_werror_flag"
28345 || test ! -s conftest.err'
28346 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28347 (eval $ac_try) 2>&5
28349 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28350 (exit $ac_status); }; } &&
28351 { ac_try
='test -s conftest.$ac_objext'
28352 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28353 (eval $ac_try) 2>&5
28355 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28356 (exit $ac_status); }; }; then
28357 ac_cv_type_size_t
=yes
28359 echo "$as_me: failed program was:" >&5
28360 sed 's/^/| /' conftest.
$ac_ext >&5
28362 ac_cv_type_size_t
=no
28364 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
28366 echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
28367 echo "${ECHO_T}$ac_cv_type_size_t" >&6
28368 if test $ac_cv_type_size_t = yes; then
28372 cat >>confdefs.h
<<_ACEOF
28373 #define size_t unsigned
28378 echo "$as_me:$LINENO: checking for uid_t in sys/types.h" >&5
28379 echo $ECHO_N "checking for uid_t in sys/types.h... $ECHO_C" >&6
28380 if test "${ac_cv_type_uid_t+set}" = set; then
28381 echo $ECHO_N "(cached) $ECHO_C" >&6
28383 cat >conftest.
$ac_ext <<_ACEOF
28386 cat confdefs.h
>>conftest.
$ac_ext
28387 cat >>conftest.
$ac_ext <<_ACEOF
28388 /* end confdefs.h. */
28389 #include <sys/types.h>
28392 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
28393 $EGREP "uid_t" >/dev
/null
2>&1; then
28394 ac_cv_type_uid_t
=yes
28396 ac_cv_type_uid_t
=no
28401 echo "$as_me:$LINENO: result: $ac_cv_type_uid_t" >&5
28402 echo "${ECHO_T}$ac_cv_type_uid_t" >&6
28403 if test $ac_cv_type_uid_t = no
; then
28405 cat >>confdefs.h
<<\_ACEOF
28410 cat >>confdefs.h
<<\_ACEOF
28420 ac_cpp
='$CXXCPP $CPPFLAGS'
28421 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28422 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28423 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
28425 echo "$as_me:$LINENO: checking if size_t is unsigned int" >&5
28426 echo $ECHO_N "checking if size_t is unsigned int... $ECHO_C" >&6
28427 if test "${wx_cv_size_t_is_uint+set}" = set; then
28428 echo $ECHO_N "(cached) $ECHO_C" >&6
28431 cat >conftest.
$ac_ext <<_ACEOF
28434 cat confdefs.h
>>conftest.
$ac_ext
28435 cat >>conftest.
$ac_ext <<_ACEOF
28436 /* end confdefs.h. */
28437 #include <stddef.h>
28444 struct Foo { void foo(size_t); void foo(unsigned int); };
28452 rm -f conftest.
$ac_objext
28453 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28454 (eval $ac_compile) 2>conftest.er1
28456 grep -v '^ *+' conftest.er1
>conftest.err
28458 cat conftest.err
>&5
28459 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28460 (exit $ac_status); } &&
28461 { ac_try
='test -z "$ac_cxx_werror_flag"
28462 || test ! -s conftest.err'
28463 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28464 (eval $ac_try) 2>&5
28466 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28467 (exit $ac_status); }; } &&
28468 { ac_try
='test -s conftest.$ac_objext'
28469 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28470 (eval $ac_try) 2>&5
28472 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28473 (exit $ac_status); }; }; then
28474 wx_cv_size_t_is_uint
=no
28476 echo "$as_me: failed program was:" >&5
28477 sed 's/^/| /' conftest.
$ac_ext >&5
28479 wx_cv_size_t_is_uint
=yes
28482 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
28486 echo "$as_me:$LINENO: result: $wx_cv_size_t_is_uint" >&5
28487 echo "${ECHO_T}$wx_cv_size_t_is_uint" >&6
28489 if test "$wx_cv_size_t_is_uint" = "yes"; then
28490 cat >>confdefs.h
<<\_ACEOF
28491 #define wxSIZE_T_IS_UINT 1
28495 echo "$as_me:$LINENO: checking if size_t is unsigned long" >&5
28496 echo $ECHO_N "checking if size_t is unsigned long... $ECHO_C" >&6
28497 if test "${wx_cv_size_t_is_ulong+set}" = set; then
28498 echo $ECHO_N "(cached) $ECHO_C" >&6
28500 cat >conftest.
$ac_ext <<_ACEOF
28503 cat confdefs.h
>>conftest.
$ac_ext
28504 cat >>conftest.
$ac_ext <<_ACEOF
28505 /* end confdefs.h. */
28506 #include <stddef.h>
28513 struct Foo { void foo(size_t); void foo(unsigned long); };
28521 rm -f conftest.
$ac_objext
28522 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28523 (eval $ac_compile) 2>conftest.er1
28525 grep -v '^ *+' conftest.er1
>conftest.err
28527 cat conftest.err
>&5
28528 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28529 (exit $ac_status); } &&
28530 { ac_try
='test -z "$ac_cxx_werror_flag"
28531 || test ! -s conftest.err'
28532 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28533 (eval $ac_try) 2>&5
28535 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28536 (exit $ac_status); }; } &&
28537 { ac_try
='test -s conftest.$ac_objext'
28538 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28539 (eval $ac_try) 2>&5
28541 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28542 (exit $ac_status); }; }; then
28543 wx_cv_size_t_is_ulong
=no
28545 echo "$as_me: failed program was:" >&5
28546 sed 's/^/| /' conftest.
$ac_ext >&5
28548 wx_cv_size_t_is_ulong
=yes
28551 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
28554 echo "$as_me:$LINENO: result: $wx_cv_size_t_is_ulong" >&5
28555 echo "${ECHO_T}$wx_cv_size_t_is_ulong" >&6
28557 if test "$wx_cv_size_t_is_ulong" = "yes"; then
28558 cat >>confdefs.h
<<\_ACEOF
28559 #define wxSIZE_T_IS_ULONG 1
28566 ac_cpp
='$CPP $CPPFLAGS'
28567 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28568 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28569 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
28573 echo "$as_me:$LINENO: checking for pw_gecos in struct passwd" >&5
28574 echo $ECHO_N "checking for pw_gecos in struct passwd... $ECHO_C" >&6
28575 if test "${wx_cv_struct_pw_gecos+set}" = set; then
28576 echo $ECHO_N "(cached) $ECHO_C" >&6
28579 cat >conftest.
$ac_ext <<_ACEOF
28582 cat confdefs.h
>>conftest.
$ac_ext
28583 cat >>conftest.
$ac_ext <<_ACEOF
28584 /* end confdefs.h. */
28598 rm -f conftest.
$ac_objext
28599 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28600 (eval $ac_compile) 2>conftest.er1
28602 grep -v '^ *+' conftest.er1
>conftest.err
28604 cat conftest.err
>&5
28605 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28606 (exit $ac_status); } &&
28607 { ac_try
='test -z "$ac_c_werror_flag"
28608 || test ! -s conftest.err'
28609 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28610 (eval $ac_try) 2>&5
28612 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28613 (exit $ac_status); }; } &&
28614 { ac_try
='test -s conftest.$ac_objext'
28615 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28616 (eval $ac_try) 2>&5
28618 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28619 (exit $ac_status); }; }; then
28621 wx_cv_struct_pw_gecos
=yes
28624 echo "$as_me: failed program was:" >&5
28625 sed 's/^/| /' conftest.
$ac_ext >&5
28628 wx_cv_struct_pw_gecos
=no
28632 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
28636 echo "$as_me:$LINENO: result: $wx_cv_struct_pw_gecos" >&5
28637 echo "${ECHO_T}$wx_cv_struct_pw_gecos" >&6
28639 if test "$wx_cv_struct_pw_gecos" = "yes"; then
28640 cat >>confdefs.h
<<\_ACEOF
28641 #define HAVE_PW_GECOS 1
28647 if test "$wx_cv_sizeof_wchar_t" != "0"; then
28648 cat >>confdefs.h
<<\_ACEOF
28649 #define wxUSE_WCHAR_T 1
28656 for ac_func
in wcslen
28658 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28659 echo "$as_me:$LINENO: checking for $ac_func" >&5
28660 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
28661 if eval "test \"\${$as_ac_var+set}\" = set"; then
28662 echo $ECHO_N "(cached) $ECHO_C" >&6
28664 cat >conftest.
$ac_ext <<_ACEOF
28667 cat confdefs.h
>>conftest.
$ac_ext
28668 cat >>conftest.
$ac_ext <<_ACEOF
28669 /* end confdefs.h. */
28670 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
28671 For example, HP-UX 11i <limits.h> declares gettimeofday. */
28672 #define $ac_func innocuous_$ac_func
28674 /* System header to define __stub macros and hopefully few prototypes,
28675 which can conflict with char $ac_func (); below.
28676 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28677 <limits.h> exists even on freestanding compilers. */
28680 # include <limits.h>
28682 # include <assert.h>
28687 /* Override any gcc2 internal prototype to avoid an error. */
28692 /* We use char because int might match the return type of a gcc2
28693 builtin and then its argument prototype would still apply. */
28695 /* The GNU C library defines this for functions which it implements
28696 to always fail with ENOSYS. Some functions are actually named
28697 something starting with __ and the normal name is an alias. */
28698 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
28701 char (*f) () = $ac_func;
28710 return f != $ac_func;
28715 rm -f conftest.
$ac_objext conftest
$ac_exeext
28716 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28717 (eval $ac_link) 2>conftest.er1
28719 grep -v '^ *+' conftest.er1
>conftest.err
28721 cat conftest.err
>&5
28722 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28723 (exit $ac_status); } &&
28724 { ac_try
='test -z "$ac_c_werror_flag"
28725 || test ! -s conftest.err'
28726 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28727 (eval $ac_try) 2>&5
28729 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28730 (exit $ac_status); }; } &&
28731 { ac_try
='test -s conftest$ac_exeext'
28732 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28733 (eval $ac_try) 2>&5
28735 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28736 (exit $ac_status); }; }; then
28737 eval "$as_ac_var=yes"
28739 echo "$as_me: failed program was:" >&5
28740 sed 's/^/| /' conftest.
$ac_ext >&5
28742 eval "$as_ac_var=no"
28744 rm -f conftest.err conftest.
$ac_objext \
28745 conftest
$ac_exeext conftest.
$ac_ext
28747 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
28748 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
28749 if test `eval echo '${'$as_ac_var'}'` = yes; then
28750 cat >>confdefs.h
<<_ACEOF
28751 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28758 if test "$WCSLEN_FOUND" = 0; then
28759 if test "$TOOLKIT" = "MSW"; then
28760 echo "$as_me:$LINENO: checking for wcslen in -lmsvcrt" >&5
28761 echo $ECHO_N "checking for wcslen in -lmsvcrt... $ECHO_C" >&6
28762 if test "${ac_cv_lib_msvcrt_wcslen+set}" = set; then
28763 echo $ECHO_N "(cached) $ECHO_C" >&6
28765 ac_check_lib_save_LIBS
=$LIBS
28766 LIBS
="-lmsvcrt $LIBS"
28767 cat >conftest.
$ac_ext <<_ACEOF
28770 cat confdefs.h
>>conftest.
$ac_ext
28771 cat >>conftest.
$ac_ext <<_ACEOF
28772 /* end confdefs.h. */
28774 /* Override any gcc2 internal prototype to avoid an error. */
28778 /* We use char because int might match the return type of a gcc2
28779 builtin and then its argument prototype would still apply. */
28789 rm -f conftest.
$ac_objext conftest
$ac_exeext
28790 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28791 (eval $ac_link) 2>conftest.er1
28793 grep -v '^ *+' conftest.er1
>conftest.err
28795 cat conftest.err
>&5
28796 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28797 (exit $ac_status); } &&
28798 { ac_try
='test -z "$ac_c_werror_flag"
28799 || test ! -s conftest.err'
28800 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28801 (eval $ac_try) 2>&5
28803 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28804 (exit $ac_status); }; } &&
28805 { ac_try
='test -s conftest$ac_exeext'
28806 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28807 (eval $ac_try) 2>&5
28809 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28810 (exit $ac_status); }; }; then
28811 ac_cv_lib_msvcrt_wcslen
=yes
28813 echo "$as_me: failed program was:" >&5
28814 sed 's/^/| /' conftest.
$ac_ext >&5
28816 ac_cv_lib_msvcrt_wcslen
=no
28818 rm -f conftest.err conftest.
$ac_objext \
28819 conftest
$ac_exeext conftest.
$ac_ext
28820 LIBS
=$ac_check_lib_save_LIBS
28822 echo "$as_me:$LINENO: result: $ac_cv_lib_msvcrt_wcslen" >&5
28823 echo "${ECHO_T}$ac_cv_lib_msvcrt_wcslen" >&6
28824 if test $ac_cv_lib_msvcrt_wcslen = yes; then
28829 echo "$as_me:$LINENO: checking for wcslen in -lw" >&5
28830 echo $ECHO_N "checking for wcslen in -lw... $ECHO_C" >&6
28831 if test "${ac_cv_lib_w_wcslen+set}" = set; then
28832 echo $ECHO_N "(cached) $ECHO_C" >&6
28834 ac_check_lib_save_LIBS
=$LIBS
28836 cat >conftest.
$ac_ext <<_ACEOF
28839 cat confdefs.h
>>conftest.
$ac_ext
28840 cat >>conftest.
$ac_ext <<_ACEOF
28841 /* end confdefs.h. */
28843 /* Override any gcc2 internal prototype to avoid an error. */
28847 /* We use char because int might match the return type of a gcc2
28848 builtin and then its argument prototype would still apply. */
28858 rm -f conftest.
$ac_objext conftest
$ac_exeext
28859 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28860 (eval $ac_link) 2>conftest.er1
28862 grep -v '^ *+' conftest.er1
>conftest.err
28864 cat conftest.err
>&5
28865 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28866 (exit $ac_status); } &&
28867 { ac_try
='test -z "$ac_c_werror_flag"
28868 || test ! -s conftest.err'
28869 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28870 (eval $ac_try) 2>&5
28872 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28873 (exit $ac_status); }; } &&
28874 { ac_try
='test -s conftest$ac_exeext'
28875 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28876 (eval $ac_try) 2>&5
28878 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28879 (exit $ac_status); }; }; then
28880 ac_cv_lib_w_wcslen
=yes
28882 echo "$as_me: failed program was:" >&5
28883 sed 's/^/| /' conftest.
$ac_ext >&5
28885 ac_cv_lib_w_wcslen
=no
28887 rm -f conftest.err conftest.
$ac_objext \
28888 conftest
$ac_exeext conftest.
$ac_ext
28889 LIBS
=$ac_check_lib_save_LIBS
28891 echo "$as_me:$LINENO: result: $ac_cv_lib_w_wcslen" >&5
28892 echo "${ECHO_T}$ac_cv_lib_w_wcslen" >&6
28893 if test $ac_cv_lib_w_wcslen = yes; then
28903 if test "$WCSLEN_FOUND" = 1; then
28904 cat >>confdefs.h
<<\_ACEOF
28905 #define HAVE_WCSLEN 1
28910 if test "$USE_HPUX" = 1 -a "x$GCC" != "xyes"; then
28911 CPPFLAGS
="$CPPFLAGS -D_INCLUDE__STDC_A1_SOURCE "
28915 for ac_func
in wcsrtombs
28917 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28918 echo "$as_me:$LINENO: checking for $ac_func" >&5
28919 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
28920 if eval "test \"\${$as_ac_var+set}\" = set"; then
28921 echo $ECHO_N "(cached) $ECHO_C" >&6
28923 cat >conftest.
$ac_ext <<_ACEOF
28926 cat confdefs.h
>>conftest.
$ac_ext
28927 cat >>conftest.
$ac_ext <<_ACEOF
28928 /* end confdefs.h. */
28929 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
28930 For example, HP-UX 11i <limits.h> declares gettimeofday. */
28931 #define $ac_func innocuous_$ac_func
28933 /* System header to define __stub macros and hopefully few prototypes,
28934 which can conflict with char $ac_func (); below.
28935 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28936 <limits.h> exists even on freestanding compilers. */
28939 # include <limits.h>
28941 # include <assert.h>
28946 /* Override any gcc2 internal prototype to avoid an error. */
28951 /* We use char because int might match the return type of a gcc2
28952 builtin and then its argument prototype would still apply. */
28954 /* The GNU C library defines this for functions which it implements
28955 to always fail with ENOSYS. Some functions are actually named
28956 something starting with __ and the normal name is an alias. */
28957 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
28960 char (*f) () = $ac_func;
28969 return f != $ac_func;
28974 rm -f conftest.
$ac_objext conftest
$ac_exeext
28975 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28976 (eval $ac_link) 2>conftest.er1
28978 grep -v '^ *+' conftest.er1
>conftest.err
28980 cat conftest.err
>&5
28981 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28982 (exit $ac_status); } &&
28983 { ac_try
='test -z "$ac_c_werror_flag"
28984 || test ! -s conftest.err'
28985 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28986 (eval $ac_try) 2>&5
28988 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28989 (exit $ac_status); }; } &&
28990 { ac_try
='test -s conftest$ac_exeext'
28991 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28992 (eval $ac_try) 2>&5
28994 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28995 (exit $ac_status); }; }; then
28996 eval "$as_ac_var=yes"
28998 echo "$as_me: failed program was:" >&5
28999 sed 's/^/| /' conftest.
$ac_ext >&5
29001 eval "$as_ac_var=no"
29003 rm -f conftest.err conftest.
$ac_objext \
29004 conftest
$ac_exeext conftest.
$ac_ext
29006 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
29007 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
29008 if test `eval echo '${'$as_ac_var'}'` = yes; then
29009 cat >>confdefs.h
<<_ACEOF
29010 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
29017 { echo "$as_me:$LINENO: WARNING: Wide character support is unavailable" >&5
29018 echo "$as_me: WARNING: Wide character support is unavailable" >&2;}
29024 ac_cpp
='$CXXCPP $CPPFLAGS'
29025 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29026 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29027 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
29031 for ac_func
in vsnprintf
29033 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
29034 echo "$as_me:$LINENO: checking for $ac_func" >&5
29035 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
29036 if eval "test \"\${$as_ac_var+set}\" = set"; then
29037 echo $ECHO_N "(cached) $ECHO_C" >&6
29039 cat >conftest.
$ac_ext <<_ACEOF
29042 cat confdefs.h
>>conftest.
$ac_ext
29043 cat >>conftest.
$ac_ext <<_ACEOF
29044 /* end confdefs.h. */
29045 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
29046 For example, HP-UX 11i <limits.h> declares gettimeofday. */
29047 #define $ac_func innocuous_$ac_func
29049 /* System header to define __stub macros and hopefully few prototypes,
29050 which can conflict with char $ac_func (); below.
29051 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29052 <limits.h> exists even on freestanding compilers. */
29055 # include <limits.h>
29057 # include <assert.h>
29062 /* Override any gcc2 internal prototype to avoid an error. */
29067 /* We use char because int might match the return type of a gcc2
29068 builtin and then its argument prototype would still apply. */
29070 /* The GNU C library defines this for functions which it implements
29071 to always fail with ENOSYS. Some functions are actually named
29072 something starting with __ and the normal name is an alias. */
29073 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
29076 char (*f) () = $ac_func;
29085 return f != $ac_func;
29090 rm -f conftest.
$ac_objext conftest
$ac_exeext
29091 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29092 (eval $ac_link) 2>conftest.er1
29094 grep -v '^ *+' conftest.er1
>conftest.err
29096 cat conftest.err
>&5
29097 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29098 (exit $ac_status); } &&
29099 { ac_try
='test -z "$ac_cxx_werror_flag"
29100 || test ! -s conftest.err'
29101 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29102 (eval $ac_try) 2>&5
29104 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29105 (exit $ac_status); }; } &&
29106 { ac_try
='test -s conftest$ac_exeext'
29107 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29108 (eval $ac_try) 2>&5
29110 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29111 (exit $ac_status); }; }; then
29112 eval "$as_ac_var=yes"
29114 echo "$as_me: failed program was:" >&5
29115 sed 's/^/| /' conftest.
$ac_ext >&5
29117 eval "$as_ac_var=no"
29119 rm -f conftest.err conftest.
$ac_objext \
29120 conftest
$ac_exeext conftest.
$ac_ext
29122 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
29123 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
29124 if test `eval echo '${'$as_ac_var'}'` = yes; then
29125 cat >>confdefs.h
<<_ACEOF
29126 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
29133 if test "$ac_cv_func_vsnprintf" = "yes"; then
29134 echo "$as_me:$LINENO: checking for vsnprintf declaration" >&5
29135 echo $ECHO_N "checking for vsnprintf declaration... $ECHO_C" >&6
29136 if test "${wx_cv_func_vsnprintf_decl+set}" = set; then
29137 echo $ECHO_N "(cached) $ECHO_C" >&6
29140 cat >conftest.
$ac_ext <<_ACEOF
29143 cat confdefs.h
>>conftest.
$ac_ext
29144 cat >>conftest.
$ac_ext <<_ACEOF
29145 /* end confdefs.h. */
29148 #include <stdarg.h>
29156 vsnprintf(buf, 10u, "%s", ap);
29162 rm -f conftest.
$ac_objext
29163 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29164 (eval $ac_compile) 2>conftest.er1
29166 grep -v '^ *+' conftest.er1
>conftest.err
29168 cat conftest.err
>&5
29169 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29170 (exit $ac_status); } &&
29171 { ac_try
='test -z "$ac_cxx_werror_flag"
29172 || test ! -s conftest.err'
29173 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29174 (eval $ac_try) 2>&5
29176 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29177 (exit $ac_status); }; } &&
29178 { ac_try
='test -s conftest.$ac_objext'
29179 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29180 (eval $ac_try) 2>&5
29182 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29183 (exit $ac_status); }; }; then
29184 wx_cv_func_vsnprintf_decl
=yes
29186 echo "$as_me: failed program was:" >&5
29187 sed 's/^/| /' conftest.
$ac_ext >&5
29189 wx_cv_func_vsnprintf_decl
=no
29192 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
29196 echo "$as_me:$LINENO: result: $wx_cv_func_vsnprintf_decl" >&5
29197 echo "${ECHO_T}$wx_cv_func_vsnprintf_decl" >&6
29199 if test "$wx_cv_func_vsnprintf_decl" = "yes"; then
29200 cat >>confdefs.h
<<\_ACEOF
29201 #define HAVE_VSNPRINTF_DECL 1
29207 if test "$wxUSE_UNICODE" = yes; then
29214 for ac_func
in wputc wputchar putws fputws wprintf vswprintf
29216 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
29217 echo "$as_me:$LINENO: checking for $ac_func" >&5
29218 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
29219 if eval "test \"\${$as_ac_var+set}\" = set"; then
29220 echo $ECHO_N "(cached) $ECHO_C" >&6
29222 cat >conftest.
$ac_ext <<_ACEOF
29225 cat confdefs.h
>>conftest.
$ac_ext
29226 cat >>conftest.
$ac_ext <<_ACEOF
29227 /* end confdefs.h. */
29228 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
29229 For example, HP-UX 11i <limits.h> declares gettimeofday. */
29230 #define $ac_func innocuous_$ac_func
29232 /* System header to define __stub macros and hopefully few prototypes,
29233 which can conflict with char $ac_func (); below.
29234 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29235 <limits.h> exists even on freestanding compilers. */
29238 # include <limits.h>
29240 # include <assert.h>
29245 /* Override any gcc2 internal prototype to avoid an error. */
29250 /* We use char because int might match the return type of a gcc2
29251 builtin and then its argument prototype would still apply. */
29253 /* The GNU C library defines this for functions which it implements
29254 to always fail with ENOSYS. Some functions are actually named
29255 something starting with __ and the normal name is an alias. */
29256 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
29259 char (*f) () = $ac_func;
29268 return f != $ac_func;
29273 rm -f conftest.
$ac_objext conftest
$ac_exeext
29274 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29275 (eval $ac_link) 2>conftest.er1
29277 grep -v '^ *+' conftest.er1
>conftest.err
29279 cat conftest.err
>&5
29280 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29281 (exit $ac_status); } &&
29282 { ac_try
='test -z "$ac_cxx_werror_flag"
29283 || test ! -s conftest.err'
29284 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29285 (eval $ac_try) 2>&5
29287 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29288 (exit $ac_status); }; } &&
29289 { ac_try
='test -s conftest$ac_exeext'
29290 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29291 (eval $ac_try) 2>&5
29293 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29294 (exit $ac_status); }; }; then
29295 eval "$as_ac_var=yes"
29297 echo "$as_me: failed program was:" >&5
29298 sed 's/^/| /' conftest.
$ac_ext >&5
29300 eval "$as_ac_var=no"
29302 rm -f conftest.err conftest.
$ac_objext \
29303 conftest
$ac_exeext conftest.
$ac_ext
29305 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
29306 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
29307 if test `eval echo '${'$as_ac_var'}'` = yes; then
29308 cat >>confdefs.h
<<_ACEOF
29309 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
29316 echo "$as_me:$LINENO: checking for _vsnwprintf" >&5
29317 echo $ECHO_N "checking for _vsnwprintf... $ECHO_C" >&6
29318 cat >conftest.
$ac_ext <<_ACEOF
29321 cat confdefs.h
>>conftest.
$ac_ext
29322 cat >>conftest.
$ac_ext <<_ACEOF
29323 /* end confdefs.h. */
29333 rm -f conftest.
$ac_objext
29334 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29335 (eval $ac_compile) 2>conftest.er1
29337 grep -v '^ *+' conftest.er1
>conftest.err
29339 cat conftest.err
>&5
29340 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29341 (exit $ac_status); } &&
29342 { ac_try
='test -z "$ac_cxx_werror_flag"
29343 || test ! -s conftest.err'
29344 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29345 (eval $ac_try) 2>&5
29347 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29348 (exit $ac_status); }; } &&
29349 { ac_try
='test -s conftest.$ac_objext'
29350 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29351 (eval $ac_try) 2>&5
29353 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29354 (exit $ac_status); }; }; then
29355 echo "$as_me:$LINENO: result: yes" >&5
29356 echo "${ECHO_T}yes" >&6
29357 cat >>confdefs.h
<<\_ACEOF
29358 #define HAVE__VSNWPRINTF 1
29362 echo "$as_me: failed program was:" >&5
29363 sed 's/^/| /' conftest.
$ac_ext >&5
29365 echo "$as_me:$LINENO: result: no" >&5
29366 echo "${ECHO_T}no" >&6
29368 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext;
29372 ac_cpp
='$CPP $CPPFLAGS'
29373 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29374 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29375 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
29380 if test "$TOOLKIT" != "MSW"; then
29386 ac_cpp
='$CXXCPP $CPPFLAGS'
29387 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29388 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29389 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
29394 # Check whether --with-libiconv-prefix or --without-libiconv-prefix was given.
29395 if test "${with_libiconv_prefix+set}" = set; then
29396 withval
="$with_libiconv_prefix"
29398 for dir
in `echo "$withval" | tr : ' '`; do
29399 if test -d $dir/include
; then CPPFLAGS
="$CPPFLAGS -I$dir/include"; fi
29400 if test -d $dir/lib
; then LDFLAGS
="$LDFLAGS -L$dir/lib"; fi
29405 echo "$as_me:$LINENO: checking for iconv" >&5
29406 echo $ECHO_N "checking for iconv... $ECHO_C" >&6
29407 if test "${am_cv_func_iconv+set}" = set; then
29408 echo $ECHO_N "(cached) $ECHO_C" >&6
29411 am_cv_func_iconv
="no, consider installing GNU libiconv"
29413 cat >conftest.
$ac_ext <<_ACEOF
29416 cat confdefs.h
>>conftest.
$ac_ext
29417 cat >>conftest.
$ac_ext <<_ACEOF
29418 /* end confdefs.h. */
29419 #include <stdlib.h>
29424 iconv_t cd = iconv_open("","");
29425 iconv(cd,NULL,NULL,NULL,NULL);
29431 rm -f conftest.
$ac_objext conftest
$ac_exeext
29432 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29433 (eval $ac_link) 2>conftest.er1
29435 grep -v '^ *+' conftest.er1
>conftest.err
29437 cat conftest.err
>&5
29438 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29439 (exit $ac_status); } &&
29440 { ac_try
='test -z "$ac_cxx_werror_flag"
29441 || test ! -s conftest.err'
29442 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29443 (eval $ac_try) 2>&5
29445 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29446 (exit $ac_status); }; } &&
29447 { ac_try
='test -s conftest$ac_exeext'
29448 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29449 (eval $ac_try) 2>&5
29451 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29452 (exit $ac_status); }; }; then
29453 am_cv_func_iconv
=yes
29455 echo "$as_me: failed program was:" >&5
29456 sed 's/^/| /' conftest.
$ac_ext >&5
29459 rm -f conftest.err conftest.
$ac_objext \
29460 conftest
$ac_exeext conftest.
$ac_ext
29461 if test "$am_cv_func_iconv" != yes; then
29462 am_save_LIBS
="$LIBS"
29463 LIBS
="$LIBS -liconv"
29464 cat >conftest.
$ac_ext <<_ACEOF
29467 cat confdefs.h
>>conftest.
$ac_ext
29468 cat >>conftest.
$ac_ext <<_ACEOF
29469 /* end confdefs.h. */
29470 #include <stdlib.h>
29475 iconv_t cd = iconv_open("","");
29476 iconv(cd,NULL,NULL,NULL,NULL);
29482 rm -f conftest.
$ac_objext conftest
$ac_exeext
29483 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29484 (eval $ac_link) 2>conftest.er1
29486 grep -v '^ *+' conftest.er1
>conftest.err
29488 cat conftest.err
>&5
29489 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29490 (exit $ac_status); } &&
29491 { ac_try
='test -z "$ac_cxx_werror_flag"
29492 || test ! -s conftest.err'
29493 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29494 (eval $ac_try) 2>&5
29496 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29497 (exit $ac_status); }; } &&
29498 { ac_try
='test -s conftest$ac_exeext'
29499 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29500 (eval $ac_try) 2>&5
29502 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29503 (exit $ac_status); }; }; then
29504 am_cv_lib_iconv
=yes
29505 am_cv_func_iconv
=yes
29507 echo "$as_me: failed program was:" >&5
29508 sed 's/^/| /' conftest.
$ac_ext >&5
29511 rm -f conftest.err conftest.
$ac_objext \
29512 conftest
$ac_exeext conftest.
$ac_ext
29513 LIBS
="$am_save_LIBS"
29517 echo "$as_me:$LINENO: result: $am_cv_func_iconv" >&5
29518 echo "${ECHO_T}$am_cv_func_iconv" >&6
29519 if test "$am_cv_func_iconv" = yes; then
29521 cat >>confdefs.h
<<\_ACEOF
29522 #define HAVE_ICONV 1
29525 echo "$as_me:$LINENO: checking if iconv needs const" >&5
29526 echo $ECHO_N "checking if iconv needs const... $ECHO_C" >&6
29527 if test "${wx_cv_func_iconv_const+set}" = set; then
29528 echo $ECHO_N "(cached) $ECHO_C" >&6
29530 cat >conftest.
$ac_ext <<_ACEOF
29533 cat confdefs.h
>>conftest.
$ac_ext
29534 cat >>conftest.
$ac_ext <<_ACEOF
29535 /* end confdefs.h. */
29537 #include <stdlib.h>
29543 #if defined(__STDC__) || defined(__cplusplus)
29544 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
29557 rm -f conftest.
$ac_objext
29558 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29559 (eval $ac_compile) 2>conftest.er1
29561 grep -v '^ *+' conftest.er1
>conftest.err
29563 cat conftest.err
>&5
29564 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29565 (exit $ac_status); } &&
29566 { ac_try
='test -z "$ac_cxx_werror_flag"
29567 || test ! -s conftest.err'
29568 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29569 (eval $ac_try) 2>&5
29571 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29572 (exit $ac_status); }; } &&
29573 { ac_try
='test -s conftest.$ac_objext'
29574 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29575 (eval $ac_try) 2>&5
29577 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29578 (exit $ac_status); }; }; then
29579 wx_cv_func_iconv_const
="no"
29581 echo "$as_me: failed program was:" >&5
29582 sed 's/^/| /' conftest.
$ac_ext >&5
29584 wx_cv_func_iconv_const
="yes"
29587 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
29590 echo "$as_me:$LINENO: result: $wx_cv_func_iconv_const" >&5
29591 echo "${ECHO_T}$wx_cv_func_iconv_const" >&6
29594 if test "x$wx_cv_func_iconv_const" = "xyes"; then
29595 iconv_const
="const"
29599 cat >>confdefs.h
<<_ACEOF
29600 #define ICONV_CONST $iconv_const
29605 if test "$am_cv_lib_iconv" = yes; then
29610 LIBS
="$LIBICONV $LIBS"
29612 ac_cpp
='$CPP $CPPFLAGS'
29613 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29614 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29615 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
29618 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes" -a "$wxUSE_UNIX" = "yes"; then
29620 for ac_func
in sigaction
29622 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
29623 echo "$as_me:$LINENO: checking for $ac_func" >&5
29624 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
29625 if eval "test \"\${$as_ac_var+set}\" = set"; then
29626 echo $ECHO_N "(cached) $ECHO_C" >&6
29628 cat >conftest.
$ac_ext <<_ACEOF
29631 cat confdefs.h
>>conftest.
$ac_ext
29632 cat >>conftest.
$ac_ext <<_ACEOF
29633 /* end confdefs.h. */
29634 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
29635 For example, HP-UX 11i <limits.h> declares gettimeofday. */
29636 #define $ac_func innocuous_$ac_func
29638 /* System header to define __stub macros and hopefully few prototypes,
29639 which can conflict with char $ac_func (); below.
29640 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29641 <limits.h> exists even on freestanding compilers. */
29644 # include <limits.h>
29646 # include <assert.h>
29651 /* Override any gcc2 internal prototype to avoid an error. */
29656 /* We use char because int might match the return type of a gcc2
29657 builtin and then its argument prototype would still apply. */
29659 /* The GNU C library defines this for functions which it implements
29660 to always fail with ENOSYS. Some functions are actually named
29661 something starting with __ and the normal name is an alias. */
29662 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
29665 char (*f) () = $ac_func;
29674 return f != $ac_func;
29679 rm -f conftest.
$ac_objext conftest
$ac_exeext
29680 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29681 (eval $ac_link) 2>conftest.er1
29683 grep -v '^ *+' conftest.er1
>conftest.err
29685 cat conftest.err
>&5
29686 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29687 (exit $ac_status); } &&
29688 { ac_try
='test -z "$ac_c_werror_flag"
29689 || test ! -s conftest.err'
29690 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29691 (eval $ac_try) 2>&5
29693 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29694 (exit $ac_status); }; } &&
29695 { ac_try
='test -s conftest$ac_exeext'
29696 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29697 (eval $ac_try) 2>&5
29699 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29700 (exit $ac_status); }; }; then
29701 eval "$as_ac_var=yes"
29703 echo "$as_me: failed program was:" >&5
29704 sed 's/^/| /' conftest.
$ac_ext >&5
29706 eval "$as_ac_var=no"
29708 rm -f conftest.err conftest.
$ac_objext \
29709 conftest
$ac_exeext conftest.
$ac_ext
29711 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
29712 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
29713 if test `eval echo '${'$as_ac_var'}'` = yes; then
29714 cat >>confdefs.h
<<_ACEOF
29715 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
29722 if test "$ac_cv_func_sigaction" = "no"; then
29723 { echo "$as_me:$LINENO: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&5
29724 echo "$as_me: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&2;}
29725 wxUSE_ON_FATAL_EXCEPTION
=no
29728 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
29732 ac_cpp
='$CXXCPP $CPPFLAGS'
29733 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29734 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29735 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
29738 echo "$as_me:$LINENO: checking for sa_handler type" >&5
29739 echo $ECHO_N "checking for sa_handler type... $ECHO_C" >&6
29740 if test "${wx_cv_type_sa_handler+set}" = set; then
29741 echo $ECHO_N "(cached) $ECHO_C" >&6
29744 cat >conftest.
$ac_ext <<_ACEOF
29747 cat confdefs.h
>>conftest.
$ac_ext
29748 cat >>conftest.
$ac_ext <<_ACEOF
29749 /* end confdefs.h. */
29750 #include <signal.h>
29755 extern void testSigHandler(int);
29757 struct sigaction sa;
29758 sa.sa_handler = testSigHandler;
29764 rm -f conftest.
$ac_objext
29765 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29766 (eval $ac_compile) 2>conftest.er1
29768 grep -v '^ *+' conftest.er1
>conftest.err
29770 cat conftest.err
>&5
29771 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29772 (exit $ac_status); } &&
29773 { ac_try
='test -z "$ac_cxx_werror_flag"
29774 || test ! -s conftest.err'
29775 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29776 (eval $ac_try) 2>&5
29778 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29779 (exit $ac_status); }; } &&
29780 { ac_try
='test -s conftest.$ac_objext'
29781 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29782 (eval $ac_try) 2>&5
29784 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29785 (exit $ac_status); }; }; then
29787 wx_cv_type_sa_handler
=int
29790 echo "$as_me: failed program was:" >&5
29791 sed 's/^/| /' conftest.
$ac_ext >&5
29794 wx_cv_type_sa_handler
=void
29797 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
29800 echo "$as_me:$LINENO: result: $wx_cv_type_sa_handler" >&5
29801 echo "${ECHO_T}$wx_cv_type_sa_handler" >&6
29804 ac_cpp
='$CPP $CPPFLAGS'
29805 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29806 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29807 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
29810 cat >>confdefs.h
<<_ACEOF
29811 #define wxTYPE_SA_HANDLER $wx_cv_type_sa_handler
29819 for ac_func
in mkstemp mktemp
29821 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
29822 echo "$as_me:$LINENO: checking for $ac_func" >&5
29823 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
29824 if eval "test \"\${$as_ac_var+set}\" = set"; then
29825 echo $ECHO_N "(cached) $ECHO_C" >&6
29827 cat >conftest.
$ac_ext <<_ACEOF
29830 cat confdefs.h
>>conftest.
$ac_ext
29831 cat >>conftest.
$ac_ext <<_ACEOF
29832 /* end confdefs.h. */
29833 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
29834 For example, HP-UX 11i <limits.h> declares gettimeofday. */
29835 #define $ac_func innocuous_$ac_func
29837 /* System header to define __stub macros and hopefully few prototypes,
29838 which can conflict with char $ac_func (); below.
29839 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29840 <limits.h> exists even on freestanding compilers. */
29843 # include <limits.h>
29845 # include <assert.h>
29850 /* Override any gcc2 internal prototype to avoid an error. */
29855 /* We use char because int might match the return type of a gcc2
29856 builtin and then its argument prototype would still apply. */
29858 /* The GNU C library defines this for functions which it implements
29859 to always fail with ENOSYS. Some functions are actually named
29860 something starting with __ and the normal name is an alias. */
29861 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
29864 char (*f) () = $ac_func;
29873 return f != $ac_func;
29878 rm -f conftest.
$ac_objext conftest
$ac_exeext
29879 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29880 (eval $ac_link) 2>conftest.er1
29882 grep -v '^ *+' conftest.er1
>conftest.err
29884 cat conftest.err
>&5
29885 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29886 (exit $ac_status); } &&
29887 { ac_try
='test -z "$ac_c_werror_flag"
29888 || test ! -s conftest.err'
29889 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29890 (eval $ac_try) 2>&5
29892 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29893 (exit $ac_status); }; } &&
29894 { ac_try
='test -s conftest$ac_exeext'
29895 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29896 (eval $ac_try) 2>&5
29898 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29899 (exit $ac_status); }; }; then
29900 eval "$as_ac_var=yes"
29902 echo "$as_me: failed program was:" >&5
29903 sed 's/^/| /' conftest.
$ac_ext >&5
29905 eval "$as_ac_var=no"
29907 rm -f conftest.err conftest.
$ac_objext \
29908 conftest
$ac_exeext conftest.
$ac_ext
29910 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
29911 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
29912 if test `eval echo '${'$as_ac_var'}'` = yes; then
29913 cat >>confdefs.h
<<_ACEOF
29914 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
29921 echo "$as_me:$LINENO: checking for statfs" >&5
29922 echo $ECHO_N "checking for statfs... $ECHO_C" >&6
29923 if test "${wx_cv_func_statfs+set}" = set; then
29924 echo $ECHO_N "(cached) $ECHO_C" >&6
29926 cat >conftest.
$ac_ext <<_ACEOF
29929 cat confdefs.h
>>conftest.
$ac_ext
29930 cat >>conftest.
$ac_ext <<_ACEOF
29931 /* end confdefs.h. */
29933 #if defined(__BSD__)
29934 #include <sys/param.h>
29935 #include <sys/mount.h>
29937 #include <sys/vfs.h>
29955 rm -f conftest.
$ac_objext
29956 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29957 (eval $ac_compile) 2>conftest.er1
29959 grep -v '^ *+' conftest.er1
>conftest.err
29961 cat conftest.err
>&5
29962 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29963 (exit $ac_status); } &&
29964 { ac_try
='test -z "$ac_c_werror_flag"
29965 || test ! -s conftest.err'
29966 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29967 (eval $ac_try) 2>&5
29969 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29970 (exit $ac_status); }; } &&
29971 { ac_try
='test -s conftest.$ac_objext'
29972 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29973 (eval $ac_try) 2>&5
29975 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29976 (exit $ac_status); }; }; then
29978 wx_cv_func_statfs
=yes
29981 echo "$as_me: failed program was:" >&5
29982 sed 's/^/| /' conftest.
$ac_ext >&5
29985 wx_cv_func_statfs
=no
29989 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
29992 echo "$as_me:$LINENO: result: $wx_cv_func_statfs" >&5
29993 echo "${ECHO_T}$wx_cv_func_statfs" >&6
29995 if test "$wx_cv_func_statfs" = "yes"; then
29996 wx_cv_type_statvfs_t
="struct statfs"
29997 cat >>confdefs.h
<<\_ACEOF
29998 #define HAVE_STATFS 1
30002 echo "$as_me:$LINENO: checking for statvfs" >&5
30003 echo $ECHO_N "checking for statvfs... $ECHO_C" >&6
30004 if test "${wx_cv_func_statvfs+set}" = set; then
30005 echo $ECHO_N "(cached) $ECHO_C" >&6
30007 cat >conftest.
$ac_ext <<_ACEOF
30010 cat confdefs.h
>>conftest.
$ac_ext
30011 cat >>conftest.
$ac_ext <<_ACEOF
30012 /* end confdefs.h. */
30014 #include <stddef.h>
30015 #include <sys/statvfs.h>
30021 statvfs("/", NULL);
30027 rm -f conftest.
$ac_objext
30028 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30029 (eval $ac_compile) 2>conftest.er1
30031 grep -v '^ *+' conftest.er1
>conftest.err
30033 cat conftest.err
>&5
30034 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30035 (exit $ac_status); } &&
30036 { ac_try
='test -z "$ac_c_werror_flag"
30037 || test ! -s conftest.err'
30038 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30039 (eval $ac_try) 2>&5
30041 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30042 (exit $ac_status); }; } &&
30043 { ac_try
='test -s conftest.$ac_objext'
30044 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30045 (eval $ac_try) 2>&5
30047 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30048 (exit $ac_status); }; }; then
30049 wx_cv_func_statvfs
=yes
30051 echo "$as_me: failed program was:" >&5
30052 sed 's/^/| /' conftest.
$ac_ext >&5
30054 wx_cv_func_statvfs
=no
30057 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
30060 echo "$as_me:$LINENO: result: $wx_cv_func_statvfs" >&5
30061 echo "${ECHO_T}$wx_cv_func_statvfs" >&6
30063 if test "$wx_cv_func_statvfs" = "yes"; then
30067 ac_cpp
='$CXXCPP $CPPFLAGS'
30068 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30069 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30070 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
30073 echo "$as_me:$LINENO: checking for statvfs argument type" >&5
30074 echo $ECHO_N "checking for statvfs argument type... $ECHO_C" >&6
30075 if test "${wx_cv_type_statvfs_t+set}" = set; then
30076 echo $ECHO_N "(cached) $ECHO_C" >&6
30078 cat >conftest.
$ac_ext <<_ACEOF
30081 cat confdefs.h
>>conftest.
$ac_ext
30082 cat >>conftest.
$ac_ext <<_ACEOF
30083 /* end confdefs.h. */
30085 #include <sys/statvfs.h>
30102 rm -f conftest.
$ac_objext
30103 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30104 (eval $ac_compile) 2>conftest.er1
30106 grep -v '^ *+' conftest.er1
>conftest.err
30108 cat conftest.err
>&5
30109 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30110 (exit $ac_status); } &&
30111 { ac_try
='test -z "$ac_cxx_werror_flag"
30112 || test ! -s conftest.err'
30113 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30114 (eval $ac_try) 2>&5
30116 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30117 (exit $ac_status); }; } &&
30118 { ac_try
='test -s conftest.$ac_objext'
30119 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30120 (eval $ac_try) 2>&5
30122 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30123 (exit $ac_status); }; }; then
30124 wx_cv_type_statvfs_t
=statvfs_t
30126 echo "$as_me: failed program was:" >&5
30127 sed 's/^/| /' conftest.
$ac_ext >&5
30130 cat >conftest.
$ac_ext <<_ACEOF
30133 cat confdefs.h
>>conftest.
$ac_ext
30134 cat >>conftest.
$ac_ext <<_ACEOF
30135 /* end confdefs.h. */
30137 #include <sys/statvfs.h>
30154 rm -f conftest.
$ac_objext
30155 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30156 (eval $ac_compile) 2>conftest.er1
30158 grep -v '^ *+' conftest.er1
>conftest.err
30160 cat conftest.err
>&5
30161 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30162 (exit $ac_status); } &&
30163 { ac_try
='test -z "$ac_cxx_werror_flag"
30164 || test ! -s conftest.err'
30165 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30166 (eval $ac_try) 2>&5
30168 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30169 (exit $ac_status); }; } &&
30170 { ac_try
='test -s conftest.$ac_objext'
30171 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30172 (eval $ac_try) 2>&5
30174 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30175 (exit $ac_status); }; }; then
30176 wx_cv_type_statvfs_t
="struct statvfs"
30178 echo "$as_me: failed program was:" >&5
30179 sed 's/^/| /' conftest.
$ac_ext >&5
30181 wx_cv_type_statvfs_t
="unknown"
30184 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
30188 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
30191 echo "$as_me:$LINENO: result: $wx_cv_type_statvfs_t" >&5
30192 echo "${ECHO_T}$wx_cv_type_statvfs_t" >&6
30195 ac_cpp
='$CPP $CPPFLAGS'
30196 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30197 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30198 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
30201 if test "$wx_cv_type_statvfs_t" != "unknown"; then
30202 cat >>confdefs.h
<<\_ACEOF
30203 #define HAVE_STATVFS 1
30208 wx_cv_type_statvfs_t
="unknown"
30212 if test "$wx_cv_type_statvfs_t" != "unknown"; then
30213 cat >>confdefs.h
<<_ACEOF
30214 #define WX_STATFS_T $wx_cv_type_statvfs_t
30218 { echo "$as_me:$LINENO: WARNING: wxGetDiskSpace() function won't work without statfs()" >&5
30219 echo "$as_me: WARNING: wxGetDiskSpace() function won't work without statfs()" >&2;}
30222 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
30225 for ac_func
in fcntl flock
30227 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
30228 echo "$as_me:$LINENO: checking for $ac_func" >&5
30229 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
30230 if eval "test \"\${$as_ac_var+set}\" = set"; then
30231 echo $ECHO_N "(cached) $ECHO_C" >&6
30233 cat >conftest.
$ac_ext <<_ACEOF
30236 cat confdefs.h
>>conftest.
$ac_ext
30237 cat >>conftest.
$ac_ext <<_ACEOF
30238 /* end confdefs.h. */
30239 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
30240 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30241 #define $ac_func innocuous_$ac_func
30243 /* System header to define __stub macros and hopefully few prototypes,
30244 which can conflict with char $ac_func (); below.
30245 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30246 <limits.h> exists even on freestanding compilers. */
30249 # include <limits.h>
30251 # include <assert.h>
30256 /* Override any gcc2 internal prototype to avoid an error. */
30261 /* We use char because int might match the return type of a gcc2
30262 builtin and then its argument prototype would still apply. */
30264 /* The GNU C library defines this for functions which it implements
30265 to always fail with ENOSYS. Some functions are actually named
30266 something starting with __ and the normal name is an alias. */
30267 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
30270 char (*f) () = $ac_func;
30279 return f != $ac_func;
30284 rm -f conftest.
$ac_objext conftest
$ac_exeext
30285 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30286 (eval $ac_link) 2>conftest.er1
30288 grep -v '^ *+' conftest.er1
>conftest.err
30290 cat conftest.err
>&5
30291 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30292 (exit $ac_status); } &&
30293 { ac_try
='test -z "$ac_c_werror_flag"
30294 || test ! -s conftest.err'
30295 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30296 (eval $ac_try) 2>&5
30298 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30299 (exit $ac_status); }; } &&
30300 { ac_try
='test -s conftest$ac_exeext'
30301 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30302 (eval $ac_try) 2>&5
30304 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30305 (exit $ac_status); }; }; then
30306 eval "$as_ac_var=yes"
30308 echo "$as_me: failed program was:" >&5
30309 sed 's/^/| /' conftest.
$ac_ext >&5
30311 eval "$as_ac_var=no"
30313 rm -f conftest.err conftest.
$ac_objext \
30314 conftest
$ac_exeext conftest.
$ac_ext
30316 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
30317 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
30318 if test `eval echo '${'$as_ac_var'}'` = yes; then
30319 cat >>confdefs.h
<<_ACEOF
30320 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
30327 if test "$ac_cv_func_fcntl" != "yes" -a "$ac_cv_func_flock" != "yes"; then
30328 { echo "$as_me:$LINENO: WARNING: wxSingleInstanceChecker not available" >&5
30329 echo "$as_me: WARNING: wxSingleInstanceChecker not available" >&2;}
30330 wxUSE_SNGLINST_CHECKER
=no
30335 for ac_func
in timegm
30337 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
30338 echo "$as_me:$LINENO: checking for $ac_func" >&5
30339 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
30340 if eval "test \"\${$as_ac_var+set}\" = set"; then
30341 echo $ECHO_N "(cached) $ECHO_C" >&6
30343 cat >conftest.
$ac_ext <<_ACEOF
30346 cat confdefs.h
>>conftest.
$ac_ext
30347 cat >>conftest.
$ac_ext <<_ACEOF
30348 /* end confdefs.h. */
30349 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
30350 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30351 #define $ac_func innocuous_$ac_func
30353 /* System header to define __stub macros and hopefully few prototypes,
30354 which can conflict with char $ac_func (); below.
30355 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30356 <limits.h> exists even on freestanding compilers. */
30359 # include <limits.h>
30361 # include <assert.h>
30366 /* Override any gcc2 internal prototype to avoid an error. */
30371 /* We use char because int might match the return type of a gcc2
30372 builtin and then its argument prototype would still apply. */
30374 /* The GNU C library defines this for functions which it implements
30375 to always fail with ENOSYS. Some functions are actually named
30376 something starting with __ and the normal name is an alias. */
30377 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
30380 char (*f) () = $ac_func;
30389 return f != $ac_func;
30394 rm -f conftest.
$ac_objext conftest
$ac_exeext
30395 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30396 (eval $ac_link) 2>conftest.er1
30398 grep -v '^ *+' conftest.er1
>conftest.err
30400 cat conftest.err
>&5
30401 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30402 (exit $ac_status); } &&
30403 { ac_try
='test -z "$ac_c_werror_flag"
30404 || test ! -s conftest.err'
30405 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30406 (eval $ac_try) 2>&5
30408 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30409 (exit $ac_status); }; } &&
30410 { ac_try
='test -s conftest$ac_exeext'
30411 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30412 (eval $ac_try) 2>&5
30414 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30415 (exit $ac_status); }; }; then
30416 eval "$as_ac_var=yes"
30418 echo "$as_me: failed program was:" >&5
30419 sed 's/^/| /' conftest.
$ac_ext >&5
30421 eval "$as_ac_var=no"
30423 rm -f conftest.err conftest.
$ac_objext \
30424 conftest
$ac_exeext conftest.
$ac_ext
30426 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
30427 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
30428 if test `eval echo '${'$as_ac_var'}'` = yes; then
30429 cat >>confdefs.h
<<_ACEOF
30430 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
30439 for ac_func
in putenv setenv
30441 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
30442 echo "$as_me:$LINENO: checking for $ac_func" >&5
30443 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
30444 if eval "test \"\${$as_ac_var+set}\" = set"; then
30445 echo $ECHO_N "(cached) $ECHO_C" >&6
30447 cat >conftest.
$ac_ext <<_ACEOF
30450 cat confdefs.h
>>conftest.
$ac_ext
30451 cat >>conftest.
$ac_ext <<_ACEOF
30452 /* end confdefs.h. */
30453 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
30454 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30455 #define $ac_func innocuous_$ac_func
30457 /* System header to define __stub macros and hopefully few prototypes,
30458 which can conflict with char $ac_func (); below.
30459 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30460 <limits.h> exists even on freestanding compilers. */
30463 # include <limits.h>
30465 # include <assert.h>
30470 /* Override any gcc2 internal prototype to avoid an error. */
30475 /* We use char because int might match the return type of a gcc2
30476 builtin and then its argument prototype would still apply. */
30478 /* The GNU C library defines this for functions which it implements
30479 to always fail with ENOSYS. Some functions are actually named
30480 something starting with __ and the normal name is an alias. */
30481 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
30484 char (*f) () = $ac_func;
30493 return f != $ac_func;
30498 rm -f conftest.
$ac_objext conftest
$ac_exeext
30499 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30500 (eval $ac_link) 2>conftest.er1
30502 grep -v '^ *+' conftest.er1
>conftest.err
30504 cat conftest.err
>&5
30505 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30506 (exit $ac_status); } &&
30507 { ac_try
='test -z "$ac_c_werror_flag"
30508 || test ! -s conftest.err'
30509 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30510 (eval $ac_try) 2>&5
30512 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30513 (exit $ac_status); }; } &&
30514 { ac_try
='test -s conftest$ac_exeext'
30515 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30516 (eval $ac_try) 2>&5
30518 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30519 (exit $ac_status); }; }; then
30520 eval "$as_ac_var=yes"
30522 echo "$as_me: failed program was:" >&5
30523 sed 's/^/| /' conftest.
$ac_ext >&5
30525 eval "$as_ac_var=no"
30527 rm -f conftest.err conftest.
$ac_objext \
30528 conftest
$ac_exeext conftest.
$ac_ext
30530 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
30531 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
30532 if test `eval echo '${'$as_ac_var'}'` = yes; then
30533 cat >>confdefs.h
<<_ACEOF
30534 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
30541 HAVE_SOME_SLEEP_FUNC
=0
30542 if test "$USE_BEOS" = 1; then
30543 cat >>confdefs.h
<<\_ACEOF
30544 #define HAVE_SLEEP 1
30547 HAVE_SOME_SLEEP_FUNC
=1
30550 if test "$USE_DARWIN" = 1; then
30551 cat >>confdefs.h
<<\_ACEOF
30552 #define HAVE_USLEEP 1
30555 HAVE_SOME_SLEEP_FUNC
=1
30558 if test "$HAVE_SOME_SLEEP_FUNC" != 1; then
30561 for ac_func
in nanosleep
30563 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
30564 echo "$as_me:$LINENO: checking for $ac_func" >&5
30565 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
30566 if eval "test \"\${$as_ac_var+set}\" = set"; then
30567 echo $ECHO_N "(cached) $ECHO_C" >&6
30569 cat >conftest.
$ac_ext <<_ACEOF
30572 cat confdefs.h
>>conftest.
$ac_ext
30573 cat >>conftest.
$ac_ext <<_ACEOF
30574 /* end confdefs.h. */
30575 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
30576 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30577 #define $ac_func innocuous_$ac_func
30579 /* System header to define __stub macros and hopefully few prototypes,
30580 which can conflict with char $ac_func (); below.
30581 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30582 <limits.h> exists even on freestanding compilers. */
30585 # include <limits.h>
30587 # include <assert.h>
30592 /* Override any gcc2 internal prototype to avoid an error. */
30597 /* We use char because int might match the return type of a gcc2
30598 builtin and then its argument prototype would still apply. */
30600 /* The GNU C library defines this for functions which it implements
30601 to always fail with ENOSYS. Some functions are actually named
30602 something starting with __ and the normal name is an alias. */
30603 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
30606 char (*f) () = $ac_func;
30615 return f != $ac_func;
30620 rm -f conftest.
$ac_objext conftest
$ac_exeext
30621 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30622 (eval $ac_link) 2>conftest.er1
30624 grep -v '^ *+' conftest.er1
>conftest.err
30626 cat conftest.err
>&5
30627 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30628 (exit $ac_status); } &&
30629 { ac_try
='test -z "$ac_c_werror_flag"
30630 || test ! -s conftest.err'
30631 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30632 (eval $ac_try) 2>&5
30634 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30635 (exit $ac_status); }; } &&
30636 { ac_try
='test -s conftest$ac_exeext'
30637 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30638 (eval $ac_try) 2>&5
30640 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30641 (exit $ac_status); }; }; then
30642 eval "$as_ac_var=yes"
30644 echo "$as_me: failed program was:" >&5
30645 sed 's/^/| /' conftest.
$ac_ext >&5
30647 eval "$as_ac_var=no"
30649 rm -f conftest.err conftest.
$ac_objext \
30650 conftest
$ac_exeext conftest.
$ac_ext
30652 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
30653 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
30654 if test `eval echo '${'$as_ac_var'}'` = yes; then
30655 cat >>confdefs.h
<<_ACEOF
30656 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
30658 cat >>confdefs.h
<<\_ACEOF
30659 #define HAVE_NANOSLEEP 1
30664 echo "$as_me:$LINENO: checking for nanosleep in -lposix4" >&5
30665 echo $ECHO_N "checking for nanosleep in -lposix4... $ECHO_C" >&6
30666 if test "${ac_cv_lib_posix4_nanosleep+set}" = set; then
30667 echo $ECHO_N "(cached) $ECHO_C" >&6
30669 ac_check_lib_save_LIBS
=$LIBS
30670 LIBS
="-lposix4 $LIBS"
30671 cat >conftest.
$ac_ext <<_ACEOF
30674 cat confdefs.h
>>conftest.
$ac_ext
30675 cat >>conftest.
$ac_ext <<_ACEOF
30676 /* end confdefs.h. */
30678 /* Override any gcc2 internal prototype to avoid an error. */
30682 /* We use char because int might match the return type of a gcc2
30683 builtin and then its argument prototype would still apply. */
30693 rm -f conftest.
$ac_objext conftest
$ac_exeext
30694 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30695 (eval $ac_link) 2>conftest.er1
30697 grep -v '^ *+' conftest.er1
>conftest.err
30699 cat conftest.err
>&5
30700 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30701 (exit $ac_status); } &&
30702 { ac_try
='test -z "$ac_c_werror_flag"
30703 || test ! -s conftest.err'
30704 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30705 (eval $ac_try) 2>&5
30707 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30708 (exit $ac_status); }; } &&
30709 { ac_try
='test -s conftest$ac_exeext'
30710 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30711 (eval $ac_try) 2>&5
30713 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30714 (exit $ac_status); }; }; then
30715 ac_cv_lib_posix4_nanosleep
=yes
30717 echo "$as_me: failed program was:" >&5
30718 sed 's/^/| /' conftest.
$ac_ext >&5
30720 ac_cv_lib_posix4_nanosleep
=no
30722 rm -f conftest.err conftest.
$ac_objext \
30723 conftest
$ac_exeext conftest.
$ac_ext
30724 LIBS
=$ac_check_lib_save_LIBS
30726 echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_nanosleep" >&5
30727 echo "${ECHO_T}$ac_cv_lib_posix4_nanosleep" >&6
30728 if test $ac_cv_lib_posix4_nanosleep = yes; then
30730 cat >>confdefs.h
<<\_ACEOF
30731 #define HAVE_NANOSLEEP 1
30734 POSIX4_LINK
=" -lposix4"
30739 for ac_func
in usleep
30741 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
30742 echo "$as_me:$LINENO: checking for $ac_func" >&5
30743 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
30744 if eval "test \"\${$as_ac_var+set}\" = set"; then
30745 echo $ECHO_N "(cached) $ECHO_C" >&6
30747 cat >conftest.
$ac_ext <<_ACEOF
30750 cat confdefs.h
>>conftest.
$ac_ext
30751 cat >>conftest.
$ac_ext <<_ACEOF
30752 /* end confdefs.h. */
30753 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
30754 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30755 #define $ac_func innocuous_$ac_func
30757 /* System header to define __stub macros and hopefully few prototypes,
30758 which can conflict with char $ac_func (); below.
30759 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30760 <limits.h> exists even on freestanding compilers. */
30763 # include <limits.h>
30765 # include <assert.h>
30770 /* Override any gcc2 internal prototype to avoid an error. */
30775 /* We use char because int might match the return type of a gcc2
30776 builtin and then its argument prototype would still apply. */
30778 /* The GNU C library defines this for functions which it implements
30779 to always fail with ENOSYS. Some functions are actually named
30780 something starting with __ and the normal name is an alias. */
30781 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
30784 char (*f) () = $ac_func;
30793 return f != $ac_func;
30798 rm -f conftest.
$ac_objext conftest
$ac_exeext
30799 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30800 (eval $ac_link) 2>conftest.er1
30802 grep -v '^ *+' conftest.er1
>conftest.err
30804 cat conftest.err
>&5
30805 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30806 (exit $ac_status); } &&
30807 { ac_try
='test -z "$ac_c_werror_flag"
30808 || test ! -s conftest.err'
30809 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30810 (eval $ac_try) 2>&5
30812 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30813 (exit $ac_status); }; } &&
30814 { ac_try
='test -s conftest$ac_exeext'
30815 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30816 (eval $ac_try) 2>&5
30818 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30819 (exit $ac_status); }; }; then
30820 eval "$as_ac_var=yes"
30822 echo "$as_me: failed program was:" >&5
30823 sed 's/^/| /' conftest.
$ac_ext >&5
30825 eval "$as_ac_var=no"
30827 rm -f conftest.err conftest.
$ac_objext \
30828 conftest
$ac_exeext conftest.
$ac_ext
30830 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
30831 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
30832 if test `eval echo '${'$as_ac_var'}'` = yes; then
30833 cat >>confdefs.h
<<_ACEOF
30834 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
30836 cat >>confdefs.h
<<\_ACEOF
30837 #define HAVE_USLEEP 1
30841 { echo "$as_me:$LINENO: WARNING: wxSleep() function will not work" >&5
30842 echo "$as_me: WARNING: wxSleep() function will not work" >&2;}
30860 for ac_func
in uname gethostname
30862 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
30863 echo "$as_me:$LINENO: checking for $ac_func" >&5
30864 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
30865 if eval "test \"\${$as_ac_var+set}\" = set"; then
30866 echo $ECHO_N "(cached) $ECHO_C" >&6
30868 cat >conftest.
$ac_ext <<_ACEOF
30871 cat confdefs.h
>>conftest.
$ac_ext
30872 cat >>conftest.
$ac_ext <<_ACEOF
30873 /* end confdefs.h. */
30874 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
30875 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30876 #define $ac_func innocuous_$ac_func
30878 /* System header to define __stub macros and hopefully few prototypes,
30879 which can conflict with char $ac_func (); below.
30880 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30881 <limits.h> exists even on freestanding compilers. */
30884 # include <limits.h>
30886 # include <assert.h>
30891 /* Override any gcc2 internal prototype to avoid an error. */
30896 /* We use char because int might match the return type of a gcc2
30897 builtin and then its argument prototype would still apply. */
30899 /* The GNU C library defines this for functions which it implements
30900 to always fail with ENOSYS. Some functions are actually named
30901 something starting with __ and the normal name is an alias. */
30902 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
30905 char (*f) () = $ac_func;
30914 return f != $ac_func;
30919 rm -f conftest.
$ac_objext conftest
$ac_exeext
30920 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30921 (eval $ac_link) 2>conftest.er1
30923 grep -v '^ *+' conftest.er1
>conftest.err
30925 cat conftest.err
>&5
30926 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30927 (exit $ac_status); } &&
30928 { ac_try
='test -z "$ac_c_werror_flag"
30929 || test ! -s conftest.err'
30930 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30931 (eval $ac_try) 2>&5
30933 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30934 (exit $ac_status); }; } &&
30935 { ac_try
='test -s conftest$ac_exeext'
30936 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30937 (eval $ac_try) 2>&5
30939 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30940 (exit $ac_status); }; }; then
30941 eval "$as_ac_var=yes"
30943 echo "$as_me: failed program was:" >&5
30944 sed 's/^/| /' conftest.
$ac_ext >&5
30946 eval "$as_ac_var=no"
30948 rm -f conftest.err conftest.
$ac_objext \
30949 conftest
$ac_exeext conftest.
$ac_ext
30951 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
30952 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
30953 if test `eval echo '${'$as_ac_var'}'` = yes; then
30954 cat >>confdefs.h
<<_ACEOF
30955 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
30965 ac_cpp
='$CXXCPP $CPPFLAGS'
30966 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30967 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30968 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
30972 for ac_func
in strtok_r
30974 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
30975 echo "$as_me:$LINENO: checking for $ac_func" >&5
30976 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
30977 if eval "test \"\${$as_ac_var+set}\" = set"; then
30978 echo $ECHO_N "(cached) $ECHO_C" >&6
30980 cat >conftest.
$ac_ext <<_ACEOF
30983 cat confdefs.h
>>conftest.
$ac_ext
30984 cat >>conftest.
$ac_ext <<_ACEOF
30985 /* end confdefs.h. */
30986 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
30987 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30988 #define $ac_func innocuous_$ac_func
30990 /* System header to define __stub macros and hopefully few prototypes,
30991 which can conflict with char $ac_func (); below.
30992 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30993 <limits.h> exists even on freestanding compilers. */
30996 # include <limits.h>
30998 # include <assert.h>
31003 /* Override any gcc2 internal prototype to avoid an error. */
31008 /* We use char because int might match the return type of a gcc2
31009 builtin and then its argument prototype would still apply. */
31011 /* The GNU C library defines this for functions which it implements
31012 to always fail with ENOSYS. Some functions are actually named
31013 something starting with __ and the normal name is an alias. */
31014 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
31017 char (*f) () = $ac_func;
31026 return f != $ac_func;
31031 rm -f conftest.
$ac_objext conftest
$ac_exeext
31032 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31033 (eval $ac_link) 2>conftest.er1
31035 grep -v '^ *+' conftest.er1
>conftest.err
31037 cat conftest.err
>&5
31038 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31039 (exit $ac_status); } &&
31040 { ac_try
='test -z "$ac_cxx_werror_flag"
31041 || test ! -s conftest.err'
31042 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31043 (eval $ac_try) 2>&5
31045 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31046 (exit $ac_status); }; } &&
31047 { ac_try
='test -s conftest$ac_exeext'
31048 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31049 (eval $ac_try) 2>&5
31051 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31052 (exit $ac_status); }; }; then
31053 eval "$as_ac_var=yes"
31055 echo "$as_me: failed program was:" >&5
31056 sed 's/^/| /' conftest.
$ac_ext >&5
31058 eval "$as_ac_var=no"
31060 rm -f conftest.err conftest.
$ac_objext \
31061 conftest
$ac_exeext conftest.
$ac_ext
31063 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
31064 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
31065 if test `eval echo '${'$as_ac_var'}'` = yes; then
31066 cat >>confdefs.h
<<_ACEOF
31067 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31075 ac_cpp
='$CPP $CPPFLAGS'
31076 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31077 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31078 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
31083 for ac_func
in inet_addr
31085 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31086 echo "$as_me:$LINENO: checking for $ac_func" >&5
31087 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
31088 if eval "test \"\${$as_ac_var+set}\" = set"; then
31089 echo $ECHO_N "(cached) $ECHO_C" >&6
31091 cat >conftest.
$ac_ext <<_ACEOF
31094 cat confdefs.h
>>conftest.
$ac_ext
31095 cat >>conftest.
$ac_ext <<_ACEOF
31096 /* end confdefs.h. */
31097 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
31098 For example, HP-UX 11i <limits.h> declares gettimeofday. */
31099 #define $ac_func innocuous_$ac_func
31101 /* System header to define __stub macros and hopefully few prototypes,
31102 which can conflict with char $ac_func (); below.
31103 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31104 <limits.h> exists even on freestanding compilers. */
31107 # include <limits.h>
31109 # include <assert.h>
31114 /* Override any gcc2 internal prototype to avoid an error. */
31119 /* We use char because int might match the return type of a gcc2
31120 builtin and then its argument prototype would still apply. */
31122 /* The GNU C library defines this for functions which it implements
31123 to always fail with ENOSYS. Some functions are actually named
31124 something starting with __ and the normal name is an alias. */
31125 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
31128 char (*f) () = $ac_func;
31137 return f != $ac_func;
31142 rm -f conftest.
$ac_objext conftest
$ac_exeext
31143 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31144 (eval $ac_link) 2>conftest.er1
31146 grep -v '^ *+' conftest.er1
>conftest.err
31148 cat conftest.err
>&5
31149 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31150 (exit $ac_status); } &&
31151 { ac_try
='test -z "$ac_c_werror_flag"
31152 || test ! -s conftest.err'
31153 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31154 (eval $ac_try) 2>&5
31156 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31157 (exit $ac_status); }; } &&
31158 { ac_try
='test -s conftest$ac_exeext'
31159 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31160 (eval $ac_try) 2>&5
31162 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31163 (exit $ac_status); }; }; then
31164 eval "$as_ac_var=yes"
31166 echo "$as_me: failed program was:" >&5
31167 sed 's/^/| /' conftest.
$ac_ext >&5
31169 eval "$as_ac_var=no"
31171 rm -f conftest.err conftest.
$ac_objext \
31172 conftest
$ac_exeext conftest.
$ac_ext
31174 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
31175 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
31176 if test `eval echo '${'$as_ac_var'}'` = yes; then
31177 cat >>confdefs.h
<<_ACEOF
31178 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31180 cat >>confdefs.h
<<\_ACEOF
31181 #define HAVE_INET_ADDR 1
31186 echo "$as_me:$LINENO: checking for inet_addr in -lnsl" >&5
31187 echo $ECHO_N "checking for inet_addr in -lnsl... $ECHO_C" >&6
31188 if test "${ac_cv_lib_nsl_inet_addr+set}" = set; then
31189 echo $ECHO_N "(cached) $ECHO_C" >&6
31191 ac_check_lib_save_LIBS
=$LIBS
31193 cat >conftest.
$ac_ext <<_ACEOF
31196 cat confdefs.h
>>conftest.
$ac_ext
31197 cat >>conftest.
$ac_ext <<_ACEOF
31198 /* end confdefs.h. */
31200 /* Override any gcc2 internal prototype to avoid an error. */
31204 /* We use char because int might match the return type of a gcc2
31205 builtin and then its argument prototype would still apply. */
31215 rm -f conftest.
$ac_objext conftest
$ac_exeext
31216 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31217 (eval $ac_link) 2>conftest.er1
31219 grep -v '^ *+' conftest.er1
>conftest.err
31221 cat conftest.err
>&5
31222 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31223 (exit $ac_status); } &&
31224 { ac_try
='test -z "$ac_c_werror_flag"
31225 || test ! -s conftest.err'
31226 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31227 (eval $ac_try) 2>&5
31229 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31230 (exit $ac_status); }; } &&
31231 { ac_try
='test -s conftest$ac_exeext'
31232 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31233 (eval $ac_try) 2>&5
31235 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31236 (exit $ac_status); }; }; then
31237 ac_cv_lib_nsl_inet_addr
=yes
31239 echo "$as_me: failed program was:" >&5
31240 sed 's/^/| /' conftest.
$ac_ext >&5
31242 ac_cv_lib_nsl_inet_addr
=no
31244 rm -f conftest.err conftest.
$ac_objext \
31245 conftest
$ac_exeext conftest.
$ac_ext
31246 LIBS
=$ac_check_lib_save_LIBS
31248 echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_inet_addr" >&5
31249 echo "${ECHO_T}$ac_cv_lib_nsl_inet_addr" >&6
31250 if test $ac_cv_lib_nsl_inet_addr = yes; then
31254 echo "$as_me:$LINENO: checking for inet_addr in -lresolv" >&5
31255 echo $ECHO_N "checking for inet_addr in -lresolv... $ECHO_C" >&6
31256 if test "${ac_cv_lib_resolv_inet_addr+set}" = set; then
31257 echo $ECHO_N "(cached) $ECHO_C" >&6
31259 ac_check_lib_save_LIBS
=$LIBS
31260 LIBS
="-lresolv $LIBS"
31261 cat >conftest.
$ac_ext <<_ACEOF
31264 cat confdefs.h
>>conftest.
$ac_ext
31265 cat >>conftest.
$ac_ext <<_ACEOF
31266 /* end confdefs.h. */
31268 /* Override any gcc2 internal prototype to avoid an error. */
31272 /* We use char because int might match the return type of a gcc2
31273 builtin and then its argument prototype would still apply. */
31283 rm -f conftest.
$ac_objext conftest
$ac_exeext
31284 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31285 (eval $ac_link) 2>conftest.er1
31287 grep -v '^ *+' conftest.er1
>conftest.err
31289 cat conftest.err
>&5
31290 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31291 (exit $ac_status); } &&
31292 { ac_try
='test -z "$ac_c_werror_flag"
31293 || test ! -s conftest.err'
31294 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31295 (eval $ac_try) 2>&5
31297 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31298 (exit $ac_status); }; } &&
31299 { ac_try
='test -s conftest$ac_exeext'
31300 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31301 (eval $ac_try) 2>&5
31303 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31304 (exit $ac_status); }; }; then
31305 ac_cv_lib_resolv_inet_addr
=yes
31307 echo "$as_me: failed program was:" >&5
31308 sed 's/^/| /' conftest.
$ac_ext >&5
31310 ac_cv_lib_resolv_inet_addr
=no
31312 rm -f conftest.err conftest.
$ac_objext \
31313 conftest
$ac_exeext conftest.
$ac_ext
31314 LIBS
=$ac_check_lib_save_LIBS
31316 echo "$as_me:$LINENO: result: $ac_cv_lib_resolv_inet_addr" >&5
31317 echo "${ECHO_T}$ac_cv_lib_resolv_inet_addr" >&6
31318 if test $ac_cv_lib_resolv_inet_addr = yes; then
31322 echo "$as_me:$LINENO: checking for inet_addr in -lsocket" >&5
31323 echo $ECHO_N "checking for inet_addr in -lsocket... $ECHO_C" >&6
31324 if test "${ac_cv_lib_socket_inet_addr+set}" = set; then
31325 echo $ECHO_N "(cached) $ECHO_C" >&6
31327 ac_check_lib_save_LIBS
=$LIBS
31328 LIBS
="-lsocket $LIBS"
31329 cat >conftest.
$ac_ext <<_ACEOF
31332 cat confdefs.h
>>conftest.
$ac_ext
31333 cat >>conftest.
$ac_ext <<_ACEOF
31334 /* end confdefs.h. */
31336 /* Override any gcc2 internal prototype to avoid an error. */
31340 /* We use char because int might match the return type of a gcc2
31341 builtin and then its argument prototype would still apply. */
31351 rm -f conftest.
$ac_objext conftest
$ac_exeext
31352 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31353 (eval $ac_link) 2>conftest.er1
31355 grep -v '^ *+' conftest.er1
>conftest.err
31357 cat conftest.err
>&5
31358 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31359 (exit $ac_status); } &&
31360 { ac_try
='test -z "$ac_c_werror_flag"
31361 || test ! -s conftest.err'
31362 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31363 (eval $ac_try) 2>&5
31365 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31366 (exit $ac_status); }; } &&
31367 { ac_try
='test -s conftest$ac_exeext'
31368 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31369 (eval $ac_try) 2>&5
31371 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31372 (exit $ac_status); }; }; then
31373 ac_cv_lib_socket_inet_addr
=yes
31375 echo "$as_me: failed program was:" >&5
31376 sed 's/^/| /' conftest.
$ac_ext >&5
31378 ac_cv_lib_socket_inet_addr
=no
31380 rm -f conftest.err conftest.
$ac_objext \
31381 conftest
$ac_exeext conftest.
$ac_ext
31382 LIBS
=$ac_check_lib_save_LIBS
31384 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_inet_addr" >&5
31385 echo "${ECHO_T}$ac_cv_lib_socket_inet_addr" >&6
31386 if test $ac_cv_lib_socket_inet_addr = yes; then
31406 for ac_func
in inet_aton
31408 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31409 echo "$as_me:$LINENO: checking for $ac_func" >&5
31410 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
31411 if eval "test \"\${$as_ac_var+set}\" = set"; then
31412 echo $ECHO_N "(cached) $ECHO_C" >&6
31414 cat >conftest.
$ac_ext <<_ACEOF
31417 cat confdefs.h
>>conftest.
$ac_ext
31418 cat >>conftest.
$ac_ext <<_ACEOF
31419 /* end confdefs.h. */
31420 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
31421 For example, HP-UX 11i <limits.h> declares gettimeofday. */
31422 #define $ac_func innocuous_$ac_func
31424 /* System header to define __stub macros and hopefully few prototypes,
31425 which can conflict with char $ac_func (); below.
31426 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31427 <limits.h> exists even on freestanding compilers. */
31430 # include <limits.h>
31432 # include <assert.h>
31437 /* Override any gcc2 internal prototype to avoid an error. */
31442 /* We use char because int might match the return type of a gcc2
31443 builtin and then its argument prototype would still apply. */
31445 /* The GNU C library defines this for functions which it implements
31446 to always fail with ENOSYS. Some functions are actually named
31447 something starting with __ and the normal name is an alias. */
31448 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
31451 char (*f) () = $ac_func;
31460 return f != $ac_func;
31465 rm -f conftest.
$ac_objext conftest
$ac_exeext
31466 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31467 (eval $ac_link) 2>conftest.er1
31469 grep -v '^ *+' conftest.er1
>conftest.err
31471 cat conftest.err
>&5
31472 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31473 (exit $ac_status); } &&
31474 { ac_try
='test -z "$ac_c_werror_flag"
31475 || test ! -s conftest.err'
31476 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31477 (eval $ac_try) 2>&5
31479 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31480 (exit $ac_status); }; } &&
31481 { ac_try
='test -s conftest$ac_exeext'
31482 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31483 (eval $ac_try) 2>&5
31485 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31486 (exit $ac_status); }; }; then
31487 eval "$as_ac_var=yes"
31489 echo "$as_me: failed program was:" >&5
31490 sed 's/^/| /' conftest.
$ac_ext >&5
31492 eval "$as_ac_var=no"
31494 rm -f conftest.err conftest.
$ac_objext \
31495 conftest
$ac_exeext conftest.
$ac_ext
31497 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
31498 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
31499 if test `eval echo '${'$as_ac_var'}'` = yes; then
31500 cat >>confdefs.h
<<_ACEOF
31501 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31503 cat >>confdefs.h
<<\_ACEOF
31504 #define HAVE_INET_ATON 1
31509 as_ac_Lib
=`echo "ac_cv_lib_$INET_LINK''_inet_aton" | $as_tr_sh`
31510 echo "$as_me:$LINENO: checking for inet_aton in -l$INET_LINK" >&5
31511 echo $ECHO_N "checking for inet_aton in -l$INET_LINK... $ECHO_C" >&6
31512 if eval "test \"\${$as_ac_Lib+set}\" = set"; then
31513 echo $ECHO_N "(cached) $ECHO_C" >&6
31515 ac_check_lib_save_LIBS
=$LIBS
31516 LIBS
="-l$INET_LINK $LIBS"
31517 cat >conftest.
$ac_ext <<_ACEOF
31520 cat confdefs.h
>>conftest.
$ac_ext
31521 cat >>conftest.
$ac_ext <<_ACEOF
31522 /* end confdefs.h. */
31524 /* Override any gcc2 internal prototype to avoid an error. */
31528 /* We use char because int might match the return type of a gcc2
31529 builtin and then its argument prototype would still apply. */
31539 rm -f conftest.
$ac_objext conftest
$ac_exeext
31540 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31541 (eval $ac_link) 2>conftest.er1
31543 grep -v '^ *+' conftest.er1
>conftest.err
31545 cat conftest.err
>&5
31546 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31547 (exit $ac_status); } &&
31548 { ac_try
='test -z "$ac_c_werror_flag"
31549 || test ! -s conftest.err'
31550 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31551 (eval $ac_try) 2>&5
31553 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31554 (exit $ac_status); }; } &&
31555 { ac_try
='test -s conftest$ac_exeext'
31556 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31557 (eval $ac_try) 2>&5
31559 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31560 (exit $ac_status); }; }; then
31561 eval "$as_ac_Lib=yes"
31563 echo "$as_me: failed program was:" >&5
31564 sed 's/^/| /' conftest.
$ac_ext >&5
31566 eval "$as_ac_Lib=no"
31568 rm -f conftest.err conftest.
$ac_objext \
31569 conftest
$ac_exeext conftest.
$ac_ext
31570 LIBS
=$ac_check_lib_save_LIBS
31572 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Lib'}'`" >&5
31573 echo "${ECHO_T}`eval echo '${'$as_ac_Lib'}'`" >&6
31574 if test `eval echo '${'$as_ac_Lib'}'` = yes; then
31575 cat >>confdefs.h
<<\_ACEOF
31576 #define HAVE_INET_ATON 1
31586 if test "x$INET_LINK" != "x"; then
31587 cat >>confdefs.h
<<\_ACEOF
31588 #define HAVE_INET_ADDR 1
31591 INET_LINK
=" -l$INET_LINK"
31599 echo "$as_me:$LINENO: checking for esd_close in -lesd" >&5
31600 echo $ECHO_N "checking for esd_close in -lesd... $ECHO_C" >&6
31601 if test "${ac_cv_lib_esd_esd_close+set}" = set; then
31602 echo $ECHO_N "(cached) $ECHO_C" >&6
31604 ac_check_lib_save_LIBS
=$LIBS
31606 cat >conftest.
$ac_ext <<_ACEOF
31609 cat confdefs.h
>>conftest.
$ac_ext
31610 cat >>conftest.
$ac_ext <<_ACEOF
31611 /* end confdefs.h. */
31613 /* Override any gcc2 internal prototype to avoid an error. */
31617 /* We use char because int might match the return type of a gcc2
31618 builtin and then its argument prototype would still apply. */
31628 rm -f conftest.
$ac_objext conftest
$ac_exeext
31629 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31630 (eval $ac_link) 2>conftest.er1
31632 grep -v '^ *+' conftest.er1
>conftest.err
31634 cat conftest.err
>&5
31635 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31636 (exit $ac_status); } &&
31637 { ac_try
='test -z "$ac_c_werror_flag"
31638 || test ! -s conftest.err'
31639 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31640 (eval $ac_try) 2>&5
31642 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31643 (exit $ac_status); }; } &&
31644 { ac_try
='test -s conftest$ac_exeext'
31645 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31646 (eval $ac_try) 2>&5
31648 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31649 (exit $ac_status); }; }; then
31650 ac_cv_lib_esd_esd_close
=yes
31652 echo "$as_me: failed program was:" >&5
31653 sed 's/^/| /' conftest.
$ac_ext >&5
31655 ac_cv_lib_esd_esd_close
=no
31657 rm -f conftest.err conftest.
$ac_objext \
31658 conftest
$ac_exeext conftest.
$ac_ext
31659 LIBS
=$ac_check_lib_save_LIBS
31661 echo "$as_me:$LINENO: result: $ac_cv_lib_esd_esd_close" >&5
31662 echo "${ECHO_T}$ac_cv_lib_esd_esd_close" >&6
31663 if test $ac_cv_lib_esd_esd_close = yes; then
31666 for ac_header
in esd.h
31668 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
31669 if eval "test \"\${$as_ac_Header+set}\" = set"; then
31670 echo "$as_me:$LINENO: checking for $ac_header" >&5
31671 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
31672 if eval "test \"\${$as_ac_Header+set}\" = set"; then
31673 echo $ECHO_N "(cached) $ECHO_C" >&6
31675 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
31676 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
31678 # Is the header compilable?
31679 echo "$as_me:$LINENO: checking $ac_header usability" >&5
31680 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
31681 cat >conftest.
$ac_ext <<_ACEOF
31684 cat confdefs.h
>>conftest.
$ac_ext
31685 cat >>conftest.
$ac_ext <<_ACEOF
31686 /* end confdefs.h. */
31687 $ac_includes_default
31688 #include <$ac_header>
31690 rm -f conftest.
$ac_objext
31691 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31692 (eval $ac_compile) 2>conftest.er1
31694 grep -v '^ *+' conftest.er1
>conftest.err
31696 cat conftest.err
>&5
31697 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31698 (exit $ac_status); } &&
31699 { ac_try
='test -z "$ac_c_werror_flag"
31700 || test ! -s conftest.err'
31701 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31702 (eval $ac_try) 2>&5
31704 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31705 (exit $ac_status); }; } &&
31706 { ac_try
='test -s conftest.$ac_objext'
31707 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31708 (eval $ac_try) 2>&5
31710 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31711 (exit $ac_status); }; }; then
31712 ac_header_compiler
=yes
31714 echo "$as_me: failed program was:" >&5
31715 sed 's/^/| /' conftest.
$ac_ext >&5
31717 ac_header_compiler
=no
31719 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
31720 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
31721 echo "${ECHO_T}$ac_header_compiler" >&6
31723 # Is the header present?
31724 echo "$as_me:$LINENO: checking $ac_header presence" >&5
31725 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
31726 cat >conftest.
$ac_ext <<_ACEOF
31729 cat confdefs.h
>>conftest.
$ac_ext
31730 cat >>conftest.
$ac_ext <<_ACEOF
31731 /* end confdefs.h. */
31732 #include <$ac_header>
31734 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
31735 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
31737 grep -v '^ *+' conftest.er1
>conftest.err
31739 cat conftest.err
>&5
31740 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31741 (exit $ac_status); } >/dev
/null
; then
31742 if test -s conftest.err
; then
31743 ac_cpp_err
=$ac_c_preproc_warn_flag
31744 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
31751 if test -z "$ac_cpp_err"; then
31752 ac_header_preproc
=yes
31754 echo "$as_me: failed program was:" >&5
31755 sed 's/^/| /' conftest.
$ac_ext >&5
31757 ac_header_preproc
=no
31759 rm -f conftest.err conftest.
$ac_ext
31760 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
31761 echo "${ECHO_T}$ac_header_preproc" >&6
31763 # So? What about this header?
31764 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
31766 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
31767 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
31768 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
31769 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
31770 ac_header_preproc
=yes
31773 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
31774 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
31775 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
31776 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
31777 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
31778 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
31779 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
31780 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
31781 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
31782 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
31783 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
31784 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
31787 ## ----------------------------------------- ##
31788 ## Report this to wx-dev@lists.wxwidgets.org ##
31789 ## ----------------------------------------- ##
31792 sed "s/^/$as_me: WARNING: /" >&2
31795 echo "$as_me:$LINENO: checking for $ac_header" >&5
31796 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
31797 if eval "test \"\${$as_ac_Header+set}\" = set"; then
31798 echo $ECHO_N "(cached) $ECHO_C" >&6
31800 eval "$as_ac_Header=\$ac_header_preproc"
31802 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
31803 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
31806 if test `eval echo '${'$as_ac_Header'}'` = yes; then
31807 cat >>confdefs.h
<<_ACEOF
31808 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
31811 EXTRALIBS_ESD
="-lesd"
31822 echo "$as_me:$LINENO: checking for known CD-ROM interface" >&5
31823 echo $ECHO_N "checking for known CD-ROM interface... $ECHO_C" >&6
31824 cat >conftest.
$ac_ext <<_ACEOF
31827 cat confdefs.h
>>conftest.
$ac_ext
31828 cat >>conftest.
$ac_ext <<_ACEOF
31829 /* end confdefs.h. */
31831 #include <linux/cdrom.h>
31834 #include <sys/cdio.h>
31840 struct cdrom_tocentry entry, old_entry;
31845 rm -f conftest.
$ac_objext
31846 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31847 (eval $ac_compile) 2>conftest.er1
31849 grep -v '^ *+' conftest.er1
>conftest.err
31851 cat conftest.err
>&5
31852 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31853 (exit $ac_status); } &&
31854 { ac_try
='test -z "$ac_c_werror_flag"
31855 || test ! -s conftest.err'
31856 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31857 (eval $ac_try) 2>&5
31859 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31860 (exit $ac_status); }; } &&
31861 { ac_try
='test -s conftest.$ac_objext'
31862 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31863 (eval $ac_try) 2>&5
31865 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31866 (exit $ac_status); }; }; then
31867 echo "$as_me:$LINENO: result: yes" >&5
31868 echo "${ECHO_T}yes" >&6
31869 cat >>confdefs.h
<<\_ACEOF
31870 #define HAVE_KNOWN_CDROM_INTERFACE 1
31874 echo "$as_me: failed program was:" >&5
31875 sed 's/^/| /' conftest.
$ac_ext >&5
31877 echo "$as_me:$LINENO: result: no" >&5
31878 echo "${ECHO_T}no" >&6
31880 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
31883 cat >confcache
<<\_ACEOF
31884 # This file is a shell script that caches the results of configure
31885 # tests run on this system so they can be shared between configure
31886 # scripts and configure runs, see configure's option --config-cache.
31887 # It is not useful on other systems. If it contains results you don't
31888 # want to keep, you may remove or edit it.
31890 # config.status only pays attention to the cache file if you give it
31891 # the --recheck option to rerun configure.
31893 # `ac_cv_env_foo' variables (set or unset) will be overridden when
31894 # loading this file, other *unset* `ac_cv_foo' will be assigned the
31895 # following values.
31899 # The following way of writing the cache mishandles newlines in values,
31900 # but we know of no workaround that is simple, portable, and efficient.
31901 # So, don't put newlines in cache variables' values.
31902 # Ultrix sh set writes to stderr and can't be redirected directly,
31903 # and sets the high bit in the cache file unless we assign to the vars.
31906 case `(ac_space=' '; set | grep ac_space) 2>&1` in
31908 # `set' does not quote correctly, so add quotes (double-quote
31909 # substitution turns \\\\ into \\, and sed turns \\ into \).
31912 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
31915 # `set' quotes correctly as required by POSIX, so do not add quotes.
31917 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
31924 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
31926 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
31928 if diff $cache_file confcache
>/dev
/null
2>&1; then :; else
31929 if test -w $cache_file; then
31930 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
31931 cat confcache
>$cache_file
31933 echo "not updating unwritable cache $cache_file"
31940 if test "$TOOLKIT" != "MSW" -a "$USE_OS2" != 1; then
31946 if test "$wxUSE_THREADS" = "yes" ; then
31947 if test "$USE_BEOS" = 1; then
31948 { echo "$as_me:$LINENO: WARNING: BeOS threads are not yet supported... disabled" >&5
31949 echo "$as_me: WARNING: BeOS threads are not yet supported... disabled" >&2;}
31954 if test "$wxUSE_THREADS" = "yes" ; then
31957 THREAD_OPTS
="-pthread"
31959 *-*-solaris2* | *-*-sunos4* )
31960 if test "x$GCC" = "xyes"; then
31961 THREAD_OPTS
="-pthreads $THREAD_OPTS"
31963 THREAD_OPTS
="-mt $THREAD_OPTS"
31967 THREAD_OPTS
="-kthread lthread $THREAD_OPTS c_r"
31969 *-*-darwin* | *-*-cygwin* )
31973 THREAD_OPTS
="pthreads"
31976 if test "x$GCC" != "xyes"; then
31982 if test "x$GCC" = "xyes"; then
31988 if test "x$GCC" != "xyes"; then
31989 THREAD_OPTS
="-Ethread"
31994 THREAD_OPTS
="$THREAD_OPTS pthread none"
31997 for flag
in $THREAD_OPTS; do
32000 echo "$as_me:$LINENO: checking whether pthreads work without any flags" >&5
32001 echo $ECHO_N "checking whether pthreads work without any flags... $ECHO_C" >&6
32005 echo "$as_me:$LINENO: checking whether pthreads work with $flag" >&5
32006 echo $ECHO_N "checking whether pthreads work with $flag... $ECHO_C" >&6
32007 THREADS_CFLAGS
="$flag"
32011 echo "$as_me:$LINENO: checking for the pthreads library -l$flag" >&5
32012 echo $ECHO_N "checking for the pthreads library -l$flag... $ECHO_C" >&6
32013 THREADS_LINK
="-l$flag"
32018 save_CFLAGS
="$CFLAGS"
32019 LIBS
="$THREADS_LINK $LIBS"
32020 CFLAGS
="$THREADS_CFLAGS $CFLAGS"
32022 cat >conftest.
$ac_ext <<_ACEOF
32025 cat confdefs.h
>>conftest.
$ac_ext
32026 cat >>conftest.
$ac_ext <<_ACEOF
32027 /* end confdefs.h. */
32028 #include <pthread.h>
32032 pthread_create(0,0,0,0);
32037 rm -f conftest.
$ac_objext conftest
$ac_exeext
32038 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32039 (eval $ac_link) 2>conftest.er1
32041 grep -v '^ *+' conftest.er1
>conftest.err
32043 cat conftest.err
>&5
32044 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32045 (exit $ac_status); } &&
32046 { ac_try
='test -z "$ac_c_werror_flag"
32047 || test ! -s conftest.err'
32048 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32049 (eval $ac_try) 2>&5
32051 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32052 (exit $ac_status); }; } &&
32053 { ac_try
='test -s conftest$ac_exeext'
32054 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32055 (eval $ac_try) 2>&5
32057 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32058 (exit $ac_status); }; }; then
32061 echo "$as_me: failed program was:" >&5
32062 sed 's/^/| /' conftest.
$ac_ext >&5
32065 rm -f conftest.err conftest.
$ac_objext \
32066 conftest
$ac_exeext conftest.
$ac_ext
32069 CFLAGS
="$save_CFLAGS"
32071 echo "$as_me:$LINENO: result: $THREADS_OK" >&5
32072 echo "${ECHO_T}$THREADS_OK" >&6
32073 if test "x$THREADS_OK" = "xyes"; then
32081 if test "x$THREADS_OK" != "xyes"; then
32083 { echo "$as_me:$LINENO: WARNING: No thread support on this system... disabled" >&5
32084 echo "$as_me: WARNING: No thread support on this system... disabled" >&2;}
32086 LDFLAGS
="$THREADS_CFLAGS $LDFLAGS"
32087 LIBS
="$THREADS_LINK $LIBS"
32089 echo "$as_me:$LINENO: checking if more special flags are required for pthreads" >&5
32090 echo $ECHO_N "checking if more special flags are required for pthreads... $ECHO_C" >&6
32094 LDFLAGS
="-L/usr/lib/threads $LDFLAGS"
32095 flag
="-D_THREAD_SAFE"
32098 flag
="-D_THREAD_SAFE"
32101 flag
="-D_REENTRANT"
32102 if test "x$GCC" != "xyes"; then
32103 flag
="$flag -D_RWSTD_MULTI_THREAD"
32108 *solaris
* | alpha
*-osf*)
32109 flag
="-D_REENTRANT"
32112 echo "$as_me:$LINENO: result: ${flag}" >&5
32113 echo "${ECHO_T}${flag}" >&6
32114 if test "x$flag" != xno
; then
32115 THREADS_CFLAGS
="$THREADS_CFLAGS $flag"
32118 if test "x$THREADS_CFLAGS" != "x"; then
32119 CFLAGS
="$CFLAGS $THREADS_CFLAGS"
32120 CXXFLAGS
="$CXXFLAGS $THREADS_CFLAGS"
32125 if test "$wxUSE_THREADS" = "yes" ; then
32127 for ac_func
in thr_setconcurrency
32129 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
32130 echo "$as_me:$LINENO: checking for $ac_func" >&5
32131 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
32132 if eval "test \"\${$as_ac_var+set}\" = set"; then
32133 echo $ECHO_N "(cached) $ECHO_C" >&6
32135 cat >conftest.
$ac_ext <<_ACEOF
32138 cat confdefs.h
>>conftest.
$ac_ext
32139 cat >>conftest.
$ac_ext <<_ACEOF
32140 /* end confdefs.h. */
32141 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
32142 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32143 #define $ac_func innocuous_$ac_func
32145 /* System header to define __stub macros and hopefully few prototypes,
32146 which can conflict with char $ac_func (); below.
32147 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32148 <limits.h> exists even on freestanding compilers. */
32151 # include <limits.h>
32153 # include <assert.h>
32158 /* Override any gcc2 internal prototype to avoid an error. */
32163 /* We use char because int might match the return type of a gcc2
32164 builtin and then its argument prototype would still apply. */
32166 /* The GNU C library defines this for functions which it implements
32167 to always fail with ENOSYS. Some functions are actually named
32168 something starting with __ and the normal name is an alias. */
32169 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
32172 char (*f) () = $ac_func;
32181 return f != $ac_func;
32186 rm -f conftest.
$ac_objext conftest
$ac_exeext
32187 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32188 (eval $ac_link) 2>conftest.er1
32190 grep -v '^ *+' conftest.er1
>conftest.err
32192 cat conftest.err
>&5
32193 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32194 (exit $ac_status); } &&
32195 { ac_try
='test -z "$ac_c_werror_flag"
32196 || test ! -s conftest.err'
32197 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32198 (eval $ac_try) 2>&5
32200 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32201 (exit $ac_status); }; } &&
32202 { ac_try
='test -s conftest$ac_exeext'
32203 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32204 (eval $ac_try) 2>&5
32206 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32207 (exit $ac_status); }; }; then
32208 eval "$as_ac_var=yes"
32210 echo "$as_me: failed program was:" >&5
32211 sed 's/^/| /' conftest.
$ac_ext >&5
32213 eval "$as_ac_var=no"
32215 rm -f conftest.err conftest.
$ac_objext \
32216 conftest
$ac_exeext conftest.
$ac_ext
32218 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
32219 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
32220 if test `eval echo '${'$as_ac_var'}'` = yes; then
32221 cat >>confdefs.h
<<_ACEOF
32222 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
32230 for ac_header
in sched.h
32232 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
32233 if eval "test \"\${$as_ac_Header+set}\" = set"; then
32234 echo "$as_me:$LINENO: checking for $ac_header" >&5
32235 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
32236 if eval "test \"\${$as_ac_Header+set}\" = set"; then
32237 echo $ECHO_N "(cached) $ECHO_C" >&6
32239 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
32240 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
32242 # Is the header compilable?
32243 echo "$as_me:$LINENO: checking $ac_header usability" >&5
32244 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
32245 cat >conftest.
$ac_ext <<_ACEOF
32248 cat confdefs.h
>>conftest.
$ac_ext
32249 cat >>conftest.
$ac_ext <<_ACEOF
32250 /* end confdefs.h. */
32251 $ac_includes_default
32252 #include <$ac_header>
32254 rm -f conftest.
$ac_objext
32255 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32256 (eval $ac_compile) 2>conftest.er1
32258 grep -v '^ *+' conftest.er1
>conftest.err
32260 cat conftest.err
>&5
32261 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32262 (exit $ac_status); } &&
32263 { ac_try
='test -z "$ac_c_werror_flag"
32264 || test ! -s conftest.err'
32265 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32266 (eval $ac_try) 2>&5
32268 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32269 (exit $ac_status); }; } &&
32270 { ac_try
='test -s conftest.$ac_objext'
32271 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32272 (eval $ac_try) 2>&5
32274 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32275 (exit $ac_status); }; }; then
32276 ac_header_compiler
=yes
32278 echo "$as_me: failed program was:" >&5
32279 sed 's/^/| /' conftest.
$ac_ext >&5
32281 ac_header_compiler
=no
32283 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
32284 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
32285 echo "${ECHO_T}$ac_header_compiler" >&6
32287 # Is the header present?
32288 echo "$as_me:$LINENO: checking $ac_header presence" >&5
32289 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
32290 cat >conftest.
$ac_ext <<_ACEOF
32293 cat confdefs.h
>>conftest.
$ac_ext
32294 cat >>conftest.
$ac_ext <<_ACEOF
32295 /* end confdefs.h. */
32296 #include <$ac_header>
32298 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
32299 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
32301 grep -v '^ *+' conftest.er1
>conftest.err
32303 cat conftest.err
>&5
32304 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32305 (exit $ac_status); } >/dev
/null
; then
32306 if test -s conftest.err
; then
32307 ac_cpp_err
=$ac_c_preproc_warn_flag
32308 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
32315 if test -z "$ac_cpp_err"; then
32316 ac_header_preproc
=yes
32318 echo "$as_me: failed program was:" >&5
32319 sed 's/^/| /' conftest.
$ac_ext >&5
32321 ac_header_preproc
=no
32323 rm -f conftest.err conftest.
$ac_ext
32324 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
32325 echo "${ECHO_T}$ac_header_preproc" >&6
32327 # So? What about this header?
32328 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
32330 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
32331 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
32332 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
32333 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
32334 ac_header_preproc
=yes
32337 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
32338 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
32339 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
32340 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
32341 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
32342 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
32343 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
32344 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
32345 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
32346 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
32347 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
32348 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
32351 ## ----------------------------------------- ##
32352 ## Report this to wx-dev@lists.wxwidgets.org ##
32353 ## ----------------------------------------- ##
32356 sed "s/^/$as_me: WARNING: /" >&2
32359 echo "$as_me:$LINENO: checking for $ac_header" >&5
32360 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
32361 if eval "test \"\${$as_ac_Header+set}\" = set"; then
32362 echo $ECHO_N "(cached) $ECHO_C" >&6
32364 eval "$as_ac_Header=\$ac_header_preproc"
32366 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
32367 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
32370 if test `eval echo '${'$as_ac_Header'}'` = yes; then
32371 cat >>confdefs.h
<<_ACEOF
32372 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
32379 if test "$ac_cv_header_sched_h" = "yes"; then
32380 echo "$as_me:$LINENO: checking for sched_yield" >&5
32381 echo $ECHO_N "checking for sched_yield... $ECHO_C" >&6
32382 if test "${ac_cv_func_sched_yield+set}" = set; then
32383 echo $ECHO_N "(cached) $ECHO_C" >&6
32385 cat >conftest.
$ac_ext <<_ACEOF
32388 cat confdefs.h
>>conftest.
$ac_ext
32389 cat >>conftest.
$ac_ext <<_ACEOF
32390 /* end confdefs.h. */
32391 /* Define sched_yield to an innocuous variant, in case <limits.h> declares sched_yield.
32392 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32393 #define sched_yield innocuous_sched_yield
32395 /* System header to define __stub macros and hopefully few prototypes,
32396 which can conflict with char sched_yield (); below.
32397 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32398 <limits.h> exists even on freestanding compilers. */
32401 # include <limits.h>
32403 # include <assert.h>
32408 /* Override any gcc2 internal prototype to avoid an error. */
32413 /* We use char because int might match the return type of a gcc2
32414 builtin and then its argument prototype would still apply. */
32415 char sched_yield ();
32416 /* The GNU C library defines this for functions which it implements
32417 to always fail with ENOSYS. Some functions are actually named
32418 something starting with __ and the normal name is an alias. */
32419 #if defined (__stub_sched_yield) || defined (__stub___sched_yield)
32422 char (*f) () = sched_yield;
32431 return f != sched_yield;
32436 rm -f conftest.
$ac_objext conftest
$ac_exeext
32437 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32438 (eval $ac_link) 2>conftest.er1
32440 grep -v '^ *+' conftest.er1
>conftest.err
32442 cat conftest.err
>&5
32443 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32444 (exit $ac_status); } &&
32445 { ac_try
='test -z "$ac_c_werror_flag"
32446 || test ! -s conftest.err'
32447 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32448 (eval $ac_try) 2>&5
32450 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32451 (exit $ac_status); }; } &&
32452 { ac_try
='test -s conftest$ac_exeext'
32453 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32454 (eval $ac_try) 2>&5
32456 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32457 (exit $ac_status); }; }; then
32458 ac_cv_func_sched_yield
=yes
32460 echo "$as_me: failed program was:" >&5
32461 sed 's/^/| /' conftest.
$ac_ext >&5
32463 ac_cv_func_sched_yield
=no
32465 rm -f conftest.err conftest.
$ac_objext \
32466 conftest
$ac_exeext conftest.
$ac_ext
32468 echo "$as_me:$LINENO: result: $ac_cv_func_sched_yield" >&5
32469 echo "${ECHO_T}$ac_cv_func_sched_yield" >&6
32470 if test $ac_cv_func_sched_yield = yes; then
32471 cat >>confdefs.h
<<\_ACEOF
32472 #define HAVE_SCHED_YIELD 1
32477 echo "$as_me:$LINENO: checking for sched_yield in -lposix4" >&5
32478 echo $ECHO_N "checking for sched_yield in -lposix4... $ECHO_C" >&6
32479 if test "${ac_cv_lib_posix4_sched_yield+set}" = set; then
32480 echo $ECHO_N "(cached) $ECHO_C" >&6
32482 ac_check_lib_save_LIBS
=$LIBS
32483 LIBS
="-lposix4 $LIBS"
32484 cat >conftest.
$ac_ext <<_ACEOF
32487 cat confdefs.h
>>conftest.
$ac_ext
32488 cat >>conftest.
$ac_ext <<_ACEOF
32489 /* end confdefs.h. */
32491 /* Override any gcc2 internal prototype to avoid an error. */
32495 /* We use char because int might match the return type of a gcc2
32496 builtin and then its argument prototype would still apply. */
32497 char sched_yield ();
32506 rm -f conftest.
$ac_objext conftest
$ac_exeext
32507 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32508 (eval $ac_link) 2>conftest.er1
32510 grep -v '^ *+' conftest.er1
>conftest.err
32512 cat conftest.err
>&5
32513 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32514 (exit $ac_status); } &&
32515 { ac_try
='test -z "$ac_c_werror_flag"
32516 || test ! -s conftest.err'
32517 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32518 (eval $ac_try) 2>&5
32520 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32521 (exit $ac_status); }; } &&
32522 { ac_try
='test -s conftest$ac_exeext'
32523 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32524 (eval $ac_try) 2>&5
32526 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32527 (exit $ac_status); }; }; then
32528 ac_cv_lib_posix4_sched_yield
=yes
32530 echo "$as_me: failed program was:" >&5
32531 sed 's/^/| /' conftest.
$ac_ext >&5
32533 ac_cv_lib_posix4_sched_yield
=no
32535 rm -f conftest.err conftest.
$ac_objext \
32536 conftest
$ac_exeext conftest.
$ac_ext
32537 LIBS
=$ac_check_lib_save_LIBS
32539 echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_sched_yield" >&5
32540 echo "${ECHO_T}$ac_cv_lib_posix4_sched_yield" >&6
32541 if test $ac_cv_lib_posix4_sched_yield = yes; then
32542 cat >>confdefs.h
<<\_ACEOF
32543 #define HAVE_SCHED_YIELD 1
32545 POSIX4_LINK
=" -lposix4"
32547 { echo "$as_me:$LINENO: WARNING: wxThread::Yield will not work properly" >&5
32548 echo "$as_me: WARNING: wxThread::Yield will not work properly" >&2;}
32559 echo "$as_me:$LINENO: checking for pthread_attr_getschedpolicy" >&5
32560 echo $ECHO_N "checking for pthread_attr_getschedpolicy... $ECHO_C" >&6
32561 if test "${ac_cv_func_pthread_attr_getschedpolicy+set}" = set; then
32562 echo $ECHO_N "(cached) $ECHO_C" >&6
32564 cat >conftest.
$ac_ext <<_ACEOF
32567 cat confdefs.h
>>conftest.
$ac_ext
32568 cat >>conftest.
$ac_ext <<_ACEOF
32569 /* end confdefs.h. */
32570 /* Define pthread_attr_getschedpolicy to an innocuous variant, in case <limits.h> declares pthread_attr_getschedpolicy.
32571 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32572 #define pthread_attr_getschedpolicy innocuous_pthread_attr_getschedpolicy
32574 /* System header to define __stub macros and hopefully few prototypes,
32575 which can conflict with char pthread_attr_getschedpolicy (); below.
32576 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32577 <limits.h> exists even on freestanding compilers. */
32580 # include <limits.h>
32582 # include <assert.h>
32585 #undef pthread_attr_getschedpolicy
32587 /* Override any gcc2 internal prototype to avoid an error. */
32592 /* We use char because int might match the return type of a gcc2
32593 builtin and then its argument prototype would still apply. */
32594 char pthread_attr_getschedpolicy ();
32595 /* The GNU C library defines this for functions which it implements
32596 to always fail with ENOSYS. Some functions are actually named
32597 something starting with __ and the normal name is an alias. */
32598 #if defined (__stub_pthread_attr_getschedpolicy) || defined (__stub___pthread_attr_getschedpolicy)
32601 char (*f) () = pthread_attr_getschedpolicy;
32610 return f != pthread_attr_getschedpolicy;
32615 rm -f conftest.
$ac_objext conftest
$ac_exeext
32616 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32617 (eval $ac_link) 2>conftest.er1
32619 grep -v '^ *+' conftest.er1
>conftest.err
32621 cat conftest.err
>&5
32622 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32623 (exit $ac_status); } &&
32624 { ac_try
='test -z "$ac_c_werror_flag"
32625 || test ! -s conftest.err'
32626 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32627 (eval $ac_try) 2>&5
32629 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32630 (exit $ac_status); }; } &&
32631 { ac_try
='test -s conftest$ac_exeext'
32632 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32633 (eval $ac_try) 2>&5
32635 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32636 (exit $ac_status); }; }; then
32637 ac_cv_func_pthread_attr_getschedpolicy
=yes
32639 echo "$as_me: failed program was:" >&5
32640 sed 's/^/| /' conftest.
$ac_ext >&5
32642 ac_cv_func_pthread_attr_getschedpolicy
=no
32644 rm -f conftest.err conftest.
$ac_objext \
32645 conftest
$ac_exeext conftest.
$ac_ext
32647 echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_getschedpolicy" >&5
32648 echo "${ECHO_T}$ac_cv_func_pthread_attr_getschedpolicy" >&6
32649 if test $ac_cv_func_pthread_attr_getschedpolicy = yes; then
32650 echo "$as_me:$LINENO: checking for pthread_attr_setschedparam" >&5
32651 echo $ECHO_N "checking for pthread_attr_setschedparam... $ECHO_C" >&6
32652 if test "${ac_cv_func_pthread_attr_setschedparam+set}" = set; then
32653 echo $ECHO_N "(cached) $ECHO_C" >&6
32655 cat >conftest.
$ac_ext <<_ACEOF
32658 cat confdefs.h
>>conftest.
$ac_ext
32659 cat >>conftest.
$ac_ext <<_ACEOF
32660 /* end confdefs.h. */
32661 /* Define pthread_attr_setschedparam to an innocuous variant, in case <limits.h> declares pthread_attr_setschedparam.
32662 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32663 #define pthread_attr_setschedparam innocuous_pthread_attr_setschedparam
32665 /* System header to define __stub macros and hopefully few prototypes,
32666 which can conflict with char pthread_attr_setschedparam (); below.
32667 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32668 <limits.h> exists even on freestanding compilers. */
32671 # include <limits.h>
32673 # include <assert.h>
32676 #undef pthread_attr_setschedparam
32678 /* Override any gcc2 internal prototype to avoid an error. */
32683 /* We use char because int might match the return type of a gcc2
32684 builtin and then its argument prototype would still apply. */
32685 char pthread_attr_setschedparam ();
32686 /* The GNU C library defines this for functions which it implements
32687 to always fail with ENOSYS. Some functions are actually named
32688 something starting with __ and the normal name is an alias. */
32689 #if defined (__stub_pthread_attr_setschedparam) || defined (__stub___pthread_attr_setschedparam)
32692 char (*f) () = pthread_attr_setschedparam;
32701 return f != pthread_attr_setschedparam;
32706 rm -f conftest.
$ac_objext conftest
$ac_exeext
32707 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32708 (eval $ac_link) 2>conftest.er1
32710 grep -v '^ *+' conftest.er1
>conftest.err
32712 cat conftest.err
>&5
32713 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32714 (exit $ac_status); } &&
32715 { ac_try
='test -z "$ac_c_werror_flag"
32716 || test ! -s conftest.err'
32717 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32718 (eval $ac_try) 2>&5
32720 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32721 (exit $ac_status); }; } &&
32722 { ac_try
='test -s conftest$ac_exeext'
32723 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32724 (eval $ac_try) 2>&5
32726 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32727 (exit $ac_status); }; }; then
32728 ac_cv_func_pthread_attr_setschedparam
=yes
32730 echo "$as_me: failed program was:" >&5
32731 sed 's/^/| /' conftest.
$ac_ext >&5
32733 ac_cv_func_pthread_attr_setschedparam
=no
32735 rm -f conftest.err conftest.
$ac_objext \
32736 conftest
$ac_exeext conftest.
$ac_ext
32738 echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_setschedparam" >&5
32739 echo "${ECHO_T}$ac_cv_func_pthread_attr_setschedparam" >&6
32740 if test $ac_cv_func_pthread_attr_setschedparam = yes; then
32741 echo "$as_me:$LINENO: checking for sched_get_priority_max" >&5
32742 echo $ECHO_N "checking for sched_get_priority_max... $ECHO_C" >&6
32743 if test "${ac_cv_func_sched_get_priority_max+set}" = set; then
32744 echo $ECHO_N "(cached) $ECHO_C" >&6
32746 cat >conftest.
$ac_ext <<_ACEOF
32749 cat confdefs.h
>>conftest.
$ac_ext
32750 cat >>conftest.
$ac_ext <<_ACEOF
32751 /* end confdefs.h. */
32752 /* Define sched_get_priority_max to an innocuous variant, in case <limits.h> declares sched_get_priority_max.
32753 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32754 #define sched_get_priority_max innocuous_sched_get_priority_max
32756 /* System header to define __stub macros and hopefully few prototypes,
32757 which can conflict with char sched_get_priority_max (); below.
32758 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32759 <limits.h> exists even on freestanding compilers. */
32762 # include <limits.h>
32764 # include <assert.h>
32767 #undef sched_get_priority_max
32769 /* Override any gcc2 internal prototype to avoid an error. */
32774 /* We use char because int might match the return type of a gcc2
32775 builtin and then its argument prototype would still apply. */
32776 char sched_get_priority_max ();
32777 /* The GNU C library defines this for functions which it implements
32778 to always fail with ENOSYS. Some functions are actually named
32779 something starting with __ and the normal name is an alias. */
32780 #if defined (__stub_sched_get_priority_max) || defined (__stub___sched_get_priority_max)
32783 char (*f) () = sched_get_priority_max;
32792 return f != sched_get_priority_max;
32797 rm -f conftest.
$ac_objext conftest
$ac_exeext
32798 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32799 (eval $ac_link) 2>conftest.er1
32801 grep -v '^ *+' conftest.er1
>conftest.err
32803 cat conftest.err
>&5
32804 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32805 (exit $ac_status); } &&
32806 { ac_try
='test -z "$ac_c_werror_flag"
32807 || test ! -s conftest.err'
32808 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32809 (eval $ac_try) 2>&5
32811 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32812 (exit $ac_status); }; } &&
32813 { ac_try
='test -s conftest$ac_exeext'
32814 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32815 (eval $ac_try) 2>&5
32817 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32818 (exit $ac_status); }; }; then
32819 ac_cv_func_sched_get_priority_max
=yes
32821 echo "$as_me: failed program was:" >&5
32822 sed 's/^/| /' conftest.
$ac_ext >&5
32824 ac_cv_func_sched_get_priority_max
=no
32826 rm -f conftest.err conftest.
$ac_objext \
32827 conftest
$ac_exeext conftest.
$ac_ext
32829 echo "$as_me:$LINENO: result: $ac_cv_func_sched_get_priority_max" >&5
32830 echo "${ECHO_T}$ac_cv_func_sched_get_priority_max" >&6
32831 if test $ac_cv_func_sched_get_priority_max = yes; then
32834 echo "$as_me:$LINENO: checking for sched_get_priority_max in -lposix4" >&5
32835 echo $ECHO_N "checking for sched_get_priority_max in -lposix4... $ECHO_C" >&6
32836 if test "${ac_cv_lib_posix4_sched_get_priority_max+set}" = set; then
32837 echo $ECHO_N "(cached) $ECHO_C" >&6
32839 ac_check_lib_save_LIBS
=$LIBS
32840 LIBS
="-lposix4 $LIBS"
32841 cat >conftest.
$ac_ext <<_ACEOF
32844 cat confdefs.h
>>conftest.
$ac_ext
32845 cat >>conftest.
$ac_ext <<_ACEOF
32846 /* end confdefs.h. */
32848 /* Override any gcc2 internal prototype to avoid an error. */
32852 /* We use char because int might match the return type of a gcc2
32853 builtin and then its argument prototype would still apply. */
32854 char sched_get_priority_max ();
32858 sched_get_priority_max ();
32863 rm -f conftest.
$ac_objext conftest
$ac_exeext
32864 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32865 (eval $ac_link) 2>conftest.er1
32867 grep -v '^ *+' conftest.er1
>conftest.err
32869 cat conftest.err
>&5
32870 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32871 (exit $ac_status); } &&
32872 { ac_try
='test -z "$ac_c_werror_flag"
32873 || test ! -s conftest.err'
32874 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32875 (eval $ac_try) 2>&5
32877 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32878 (exit $ac_status); }; } &&
32879 { ac_try
='test -s conftest$ac_exeext'
32880 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32881 (eval $ac_try) 2>&5
32883 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32884 (exit $ac_status); }; }; then
32885 ac_cv_lib_posix4_sched_get_priority_max
=yes
32887 echo "$as_me: failed program was:" >&5
32888 sed 's/^/| /' conftest.
$ac_ext >&5
32890 ac_cv_lib_posix4_sched_get_priority_max
=no
32892 rm -f conftest.err conftest.
$ac_objext \
32893 conftest
$ac_exeext conftest.
$ac_ext
32894 LIBS
=$ac_check_lib_save_LIBS
32896 echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_sched_get_priority_max" >&5
32897 echo "${ECHO_T}$ac_cv_lib_posix4_sched_get_priority_max" >&6
32898 if test $ac_cv_lib_posix4_sched_get_priority_max = yes; then
32901 POSIX4_LINK
=" -lposix4"
32915 if test "$HAVE_PRIOR_FUNCS" = 1; then
32916 cat >>confdefs.h
<<\_ACEOF
32917 #define HAVE_THREAD_PRIORITY_FUNCTIONS 1
32921 { echo "$as_me:$LINENO: WARNING: Setting thread priority will not work" >&5
32922 echo "$as_me: WARNING: Setting thread priority will not work" >&2;}
32925 echo "$as_me:$LINENO: checking for pthread_cancel" >&5
32926 echo $ECHO_N "checking for pthread_cancel... $ECHO_C" >&6
32927 if test "${ac_cv_func_pthread_cancel+set}" = set; then
32928 echo $ECHO_N "(cached) $ECHO_C" >&6
32930 cat >conftest.
$ac_ext <<_ACEOF
32933 cat confdefs.h
>>conftest.
$ac_ext
32934 cat >>conftest.
$ac_ext <<_ACEOF
32935 /* end confdefs.h. */
32936 /* Define pthread_cancel to an innocuous variant, in case <limits.h> declares pthread_cancel.
32937 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32938 #define pthread_cancel innocuous_pthread_cancel
32940 /* System header to define __stub macros and hopefully few prototypes,
32941 which can conflict with char pthread_cancel (); below.
32942 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32943 <limits.h> exists even on freestanding compilers. */
32946 # include <limits.h>
32948 # include <assert.h>
32951 #undef pthread_cancel
32953 /* Override any gcc2 internal prototype to avoid an error. */
32958 /* We use char because int might match the return type of a gcc2
32959 builtin and then its argument prototype would still apply. */
32960 char pthread_cancel ();
32961 /* The GNU C library defines this for functions which it implements
32962 to always fail with ENOSYS. Some functions are actually named
32963 something starting with __ and the normal name is an alias. */
32964 #if defined (__stub_pthread_cancel) || defined (__stub___pthread_cancel)
32967 char (*f) () = pthread_cancel;
32976 return f != pthread_cancel;
32981 rm -f conftest.
$ac_objext conftest
$ac_exeext
32982 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32983 (eval $ac_link) 2>conftest.er1
32985 grep -v '^ *+' conftest.er1
>conftest.err
32987 cat conftest.err
>&5
32988 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32989 (exit $ac_status); } &&
32990 { ac_try
='test -z "$ac_c_werror_flag"
32991 || test ! -s conftest.err'
32992 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32993 (eval $ac_try) 2>&5
32995 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32996 (exit $ac_status); }; } &&
32997 { ac_try
='test -s conftest$ac_exeext'
32998 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32999 (eval $ac_try) 2>&5
33001 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33002 (exit $ac_status); }; }; then
33003 ac_cv_func_pthread_cancel
=yes
33005 echo "$as_me: failed program was:" >&5
33006 sed 's/^/| /' conftest.
$ac_ext >&5
33008 ac_cv_func_pthread_cancel
=no
33010 rm -f conftest.err conftest.
$ac_objext \
33011 conftest
$ac_exeext conftest.
$ac_ext
33013 echo "$as_me:$LINENO: result: $ac_cv_func_pthread_cancel" >&5
33014 echo "${ECHO_T}$ac_cv_func_pthread_cancel" >&6
33015 if test $ac_cv_func_pthread_cancel = yes; then
33016 cat >>confdefs.h
<<\_ACEOF
33017 #define HAVE_PTHREAD_CANCEL 1
33021 { echo "$as_me:$LINENO: WARNING: wxThread::Kill() will not work properly" >&5
33022 echo "$as_me: WARNING: wxThread::Kill() will not work properly" >&2;}
33028 echo "$as_me:$LINENO: checking for pthread_mutexattr_t" >&5
33029 echo $ECHO_N "checking for pthread_mutexattr_t... $ECHO_C" >&6
33030 if test "${wx_cv_type_pthread_mutexattr_t+set}" = set; then
33031 echo $ECHO_N "(cached) $ECHO_C" >&6
33034 cat >conftest.
$ac_ext <<_ACEOF
33037 cat confdefs.h
>>conftest.
$ac_ext
33038 cat >>conftest.
$ac_ext <<_ACEOF
33039 /* end confdefs.h. */
33040 #include <pthread.h>
33045 pthread_mutexattr_t attr;
33046 pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE);
33052 rm -f conftest.
$ac_objext
33053 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33054 (eval $ac_compile) 2>conftest.er1
33056 grep -v '^ *+' conftest.er1
>conftest.err
33058 cat conftest.err
>&5
33059 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33060 (exit $ac_status); } &&
33061 { ac_try
='test -z "$ac_c_werror_flag"
33062 || test ! -s conftest.err'
33063 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33064 (eval $ac_try) 2>&5
33066 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33067 (exit $ac_status); }; } &&
33068 { ac_try
='test -s conftest.$ac_objext'
33069 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33070 (eval $ac_try) 2>&5
33072 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33073 (exit $ac_status); }; }; then
33075 wx_cv_type_pthread_mutexattr_t
=yes
33078 echo "$as_me: failed program was:" >&5
33079 sed 's/^/| /' conftest.
$ac_ext >&5
33082 wx_cv_type_pthread_mutexattr_t
=no
33086 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
33089 echo "$as_me:$LINENO: result: $wx_cv_type_pthread_mutexattr_t" >&5
33090 echo "${ECHO_T}$wx_cv_type_pthread_mutexattr_t" >&6
33092 if test "$wx_cv_type_pthread_mutexattr_t" = "yes"; then
33093 cat >>confdefs.h
<<\_ACEOF
33094 #define HAVE_PTHREAD_MUTEXATTR_T 1
33098 echo "$as_me:$LINENO: checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER" >&5
33099 echo $ECHO_N "checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER... $ECHO_C" >&6
33100 if test "${wx_cv_type_pthread_rec_mutex_init+set}" = set; then
33101 echo $ECHO_N "(cached) $ECHO_C" >&6
33104 cat >conftest.
$ac_ext <<_ACEOF
33107 cat confdefs.h
>>conftest.
$ac_ext
33108 cat >>conftest.
$ac_ext <<_ACEOF
33109 /* end confdefs.h. */
33110 #include <pthread.h>
33115 pthread_mutex_t attr = PTHREAD_RECURSIVE_MUTEX_INITIALIZER_NP;
33121 rm -f conftest.
$ac_objext
33122 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33123 (eval $ac_compile) 2>conftest.er1
33125 grep -v '^ *+' conftest.er1
>conftest.err
33127 cat conftest.err
>&5
33128 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33129 (exit $ac_status); } &&
33130 { ac_try
='test -z "$ac_c_werror_flag"
33131 || test ! -s conftest.err'
33132 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33133 (eval $ac_try) 2>&5
33135 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33136 (exit $ac_status); }; } &&
33137 { ac_try
='test -s conftest.$ac_objext'
33138 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33139 (eval $ac_try) 2>&5
33141 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33142 (exit $ac_status); }; }; then
33144 wx_cv_type_pthread_rec_mutex_init
=yes
33147 echo "$as_me: failed program was:" >&5
33148 sed 's/^/| /' conftest.
$ac_ext >&5
33151 wx_cv_type_pthread_rec_mutex_init
=no
33155 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
33158 echo "$as_me:$LINENO: result: $wx_cv_type_pthread_rec_mutex_init" >&5
33159 echo "${ECHO_T}$wx_cv_type_pthread_rec_mutex_init" >&6
33160 if test "$wx_cv_type_pthread_rec_mutex_init" = "yes"; then
33161 cat >>confdefs.h
<<\_ACEOF
33162 #define HAVE_PTHREAD_RECURSIVE_MUTEX_INITIALIZER 1
33166 { echo "$as_me:$LINENO: WARNING: wxMutex won't be recursive on this platform" >&5
33167 echo "$as_me: WARNING: wxMutex won't be recursive on this platform" >&2;}
33173 if test "$wxUSE_THREADS" = "yes" ; then
33176 echo "$as_me:$LINENO: checking if compiler supports -mthreads" >&5
33177 echo $ECHO_N "checking if compiler supports -mthreads... $ECHO_C" >&6
33178 if test "${wx_cv_cflags_mthread+set}" = set; then
33179 echo $ECHO_N "(cached) $ECHO_C" >&6
33182 CFLAGS_OLD
="$CFLAGS"
33183 CFLAGS
="$CFLAGS -mthreads"
33184 cat >conftest.
$ac_ext <<_ACEOF
33187 cat confdefs.h
>>conftest.
$ac_ext
33188 cat >>conftest.
$ac_ext <<_ACEOF
33189 /* end confdefs.h. */
33199 rm -f conftest.
$ac_objext
33200 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33201 (eval $ac_compile) 2>conftest.er1
33203 grep -v '^ *+' conftest.er1
>conftest.err
33205 cat conftest.err
>&5
33206 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33207 (exit $ac_status); } &&
33208 { ac_try
='test -z "$ac_c_werror_flag"
33209 || test ! -s conftest.err'
33210 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33211 (eval $ac_try) 2>&5
33213 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33214 (exit $ac_status); }; } &&
33215 { ac_try
='test -s conftest.$ac_objext'
33216 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33217 (eval $ac_try) 2>&5
33219 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33220 (exit $ac_status); }; }; then
33221 wx_cv_cflags_mthread
=yes
33223 echo "$as_me: failed program was:" >&5
33224 sed 's/^/| /' conftest.
$ac_ext >&5
33226 wx_cv_cflags_mthread
=no
33229 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
33233 echo "$as_me:$LINENO: result: $wx_cv_cflags_mthread" >&5
33234 echo "${ECHO_T}$wx_cv_cflags_mthread" >&6
33236 if test "$wx_cv_cflags_mthread" = "yes"; then
33237 CXXFLAGS
="$CXXFLAGS -mthreads"
33238 TOOLCHAIN_DEFS
="$TOOLCHAIN_DEFS -mthreads"
33239 LDFLAGS
="$LDFLAGS -mthreads"
33241 CFLAGS
="$CFLAGS_OLD"
33245 CFLAGS
="$CFLAGS -Zmt -D__ST_MT_ERRNO__"
33246 CXXFLAGS
="$CXXFLAGS -Zmt -D__ST_MT_ERRNO__"
33247 LDFLAGS
="$LDFLAGS -Zmt"
33253 if test "$wxUSE_THREADS" = "yes"; then
33254 cat >>confdefs.h
<<\_ACEOF
33255 #define wxUSE_THREADS 1
33259 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS thread"
33261 if test "$ac_cv_func_strtok_r" = "yes"; then
33262 echo "$as_me:$LINENO: checking if -D_REENTRANT is needed" >&5
33263 echo $ECHO_N "checking if -D_REENTRANT is needed... $ECHO_C" >&6
33264 if test "$NEEDS_D_REENTRANT_FOR_R_FUNCS" = 1; then
33265 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -D_REENTRANT"
33266 echo "$as_me:$LINENO: result: yes" >&5
33267 echo "${ECHO_T}yes" >&6
33269 echo "$as_me:$LINENO: result: no" >&5
33270 echo "${ECHO_T}no" >&6
33275 if test "$WXGTK20" = 1 ; then
33276 cat >>confdefs.h
<<_ACEOF
33277 #define __WXGTK20__ $WXGTK20
33283 if test "$WXGTK12" = 1 ; then
33284 cat >>confdefs.h
<<_ACEOF
33285 #define __WXGTK12__ $WXGTK12
33290 if test "$WXGTK127" = 1 ; then
33291 cat >>confdefs.h
<<_ACEOF
33292 #define __WXGTK127__ $WXGTK127
33297 if test "$WXGPE" = 1 ; then
33298 cat >>confdefs.h
<<_ACEOF
33299 #define __WXGPE__ $WXGPE
33306 if test "$wxUSE_DEBUG_INFO" = "yes" ; then
33311 if test "$wxUSE_DEBUG_GDB" = "yes" ; then
33312 wxUSE_DEBUG_INFO
=yes
33316 if test "$wxUSE_DEBUG_FLAG" = "yes" ; then
33317 cat >>confdefs.h
<<\_ACEOF
33321 WXDEBUG_DEFINE
="-D__WXDEBUG__"
33323 if test "$wxUSE_GTK" = 1 ; then
33324 WXDEBUG_DEFINE
="-DGTK_NO_CHECK_CASTS"
33328 if test "$wxUSE_MEM_TRACING" = "yes" ; then
33329 cat >>confdefs.h
<<\_ACEOF
33330 #define wxUSE_MEMORY_TRACING 1
33333 cat >>confdefs.h
<<\_ACEOF
33334 #define wxUSE_GLOBAL_MEMORY_OPERATORS 1
33337 cat >>confdefs.h
<<\_ACEOF
33338 #define wxUSE_DEBUG_NEW_ALWAYS 1
33341 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS memcheck"
33344 if test "$wxUSE_DMALLOC" = "yes" ; then
33345 DMALLOC_LIBS
="-ldmalloc"
33349 if test "$wxUSE_PROFILE" = "yes" ; then
33354 CODE_GEN_FLAGS_CXX
=
33355 if test "$GCC" = "yes" ; then
33356 if test "$wxUSE_NO_RTTI" = "yes" ; then
33357 CODE_GEN_FLAGS_CXX
="$CODE_GEN_FLAGS_CXX -fno-rtti"
33359 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
33360 CODE_GEN_FLAGS_CXX
="$CODE_GEN_FLAGS_CXX -fno-exceptions"
33362 if test "$wxUSE_PERMISSIVE" = "yes" ; then
33363 CODE_GEN_FLAGS
="$CODE_GEN_FLAGS -fpermissive"
33368 CODE_GEN_FLAGS
="$CODE_GEN_FLAGS -mminimal-toc"
33371 CODE_GEN_FLAGS
="$CODE_GEN_FLAGS -ffunction-sections"
33377 if test "$wxUSE_OPTIMISE" = "no" ; then
33378 if test "$GCC" = yes ; then
33382 if test "$GCC" = yes ; then
33386 i586
-*-*|i686
-*-* )
33387 OPTIMISE
="${OPTIMISE} "
33396 if test "x$WXWIN_COMPATIBILITY_2_2" = "xyes"; then
33397 cat >>confdefs.h
<<\_ACEOF
33398 #define WXWIN_COMPATIBILITY_2_2 1
33402 WXWIN_COMPATIBILITY_2_4
="yes"
33405 if test "x$WXWIN_COMPATIBILITY_2_4" != "xno"; then
33406 cat >>confdefs.h
<<\_ACEOF
33407 #define WXWIN_COMPATIBILITY_2_4 1
33413 if test "$wxUSE_GUI" = "yes"; then
33414 cat >>confdefs.h
<<\_ACEOF
33415 #define wxUSE_GUI 1
33420 cat >>confdefs.h
<<\_ACEOF
33421 #define wxUSE_NOGUI 1
33427 if test "$wxUSE_UNIX" = "yes"; then
33428 cat >>confdefs.h
<<\_ACEOF
33429 #define wxUSE_UNIX 1
33435 if test "$TOOLKIT" != "MSW" -a "$USE_OS2" != 1; then
33439 if test "$wxUSE_DYNAMIC_LOADER" = "yes" -o "$wxUSE_DYNLIB_CLASS" = "yes" ; then
33440 if test "$USE_DARWIN" = 1; then
33444 for ac_func
in dlopen
33446 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33447 echo "$as_me:$LINENO: checking for $ac_func" >&5
33448 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33449 if eval "test \"\${$as_ac_var+set}\" = set"; then
33450 echo $ECHO_N "(cached) $ECHO_C" >&6
33452 cat >conftest.
$ac_ext <<_ACEOF
33455 cat confdefs.h
>>conftest.
$ac_ext
33456 cat >>conftest.
$ac_ext <<_ACEOF
33457 /* end confdefs.h. */
33458 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
33459 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33460 #define $ac_func innocuous_$ac_func
33462 /* System header to define __stub macros and hopefully few prototypes,
33463 which can conflict with char $ac_func (); below.
33464 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33465 <limits.h> exists even on freestanding compilers. */
33468 # include <limits.h>
33470 # include <assert.h>
33475 /* Override any gcc2 internal prototype to avoid an error. */
33480 /* We use char because int might match the return type of a gcc2
33481 builtin and then its argument prototype would still apply. */
33483 /* The GNU C library defines this for functions which it implements
33484 to always fail with ENOSYS. Some functions are actually named
33485 something starting with __ and the normal name is an alias. */
33486 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33489 char (*f) () = $ac_func;
33498 return f != $ac_func;
33503 rm -f conftest.
$ac_objext conftest
$ac_exeext
33504 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33505 (eval $ac_link) 2>conftest.er1
33507 grep -v '^ *+' conftest.er1
>conftest.err
33509 cat conftest.err
>&5
33510 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33511 (exit $ac_status); } &&
33512 { ac_try
='test -z "$ac_c_werror_flag"
33513 || test ! -s conftest.err'
33514 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33515 (eval $ac_try) 2>&5
33517 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33518 (exit $ac_status); }; } &&
33519 { ac_try
='test -s conftest$ac_exeext'
33520 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33521 (eval $ac_try) 2>&5
33523 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33524 (exit $ac_status); }; }; then
33525 eval "$as_ac_var=yes"
33527 echo "$as_me: failed program was:" >&5
33528 sed 's/^/| /' conftest.
$ac_ext >&5
33530 eval "$as_ac_var=no"
33532 rm -f conftest.err conftest.
$ac_objext \
33533 conftest
$ac_exeext conftest.
$ac_ext
33535 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33536 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33537 if test `eval echo '${'$as_ac_var'}'` = yes; then
33538 cat >>confdefs.h
<<_ACEOF
33539 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33542 cat >>confdefs.h
<<\_ACEOF
33543 #define HAVE_DLOPEN 1
33550 echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
33551 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
33552 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
33553 echo $ECHO_N "(cached) $ECHO_C" >&6
33555 ac_check_lib_save_LIBS
=$LIBS
33557 cat >conftest.
$ac_ext <<_ACEOF
33560 cat confdefs.h
>>conftest.
$ac_ext
33561 cat >>conftest.
$ac_ext <<_ACEOF
33562 /* end confdefs.h. */
33564 /* Override any gcc2 internal prototype to avoid an error. */
33568 /* We use char because int might match the return type of a gcc2
33569 builtin and then its argument prototype would still apply. */
33579 rm -f conftest.
$ac_objext conftest
$ac_exeext
33580 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33581 (eval $ac_link) 2>conftest.er1
33583 grep -v '^ *+' conftest.er1
>conftest.err
33585 cat conftest.err
>&5
33586 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33587 (exit $ac_status); } &&
33588 { ac_try
='test -z "$ac_c_werror_flag"
33589 || test ! -s conftest.err'
33590 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33591 (eval $ac_try) 2>&5
33593 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33594 (exit $ac_status); }; } &&
33595 { ac_try
='test -s conftest$ac_exeext'
33596 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33597 (eval $ac_try) 2>&5
33599 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33600 (exit $ac_status); }; }; then
33601 ac_cv_lib_dl_dlopen
=yes
33603 echo "$as_me: failed program was:" >&5
33604 sed 's/^/| /' conftest.
$ac_ext >&5
33606 ac_cv_lib_dl_dlopen
=no
33608 rm -f conftest.err conftest.
$ac_objext \
33609 conftest
$ac_exeext conftest.
$ac_ext
33610 LIBS
=$ac_check_lib_save_LIBS
33612 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
33613 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
33614 if test $ac_cv_lib_dl_dlopen = yes; then
33616 cat >>confdefs.h
<<\_ACEOF
33617 #define HAVE_DLOPEN 1
33621 DL_LINK
=" -ldl$DL_LINK"
33626 for ac_func
in shl_load
33628 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33629 echo "$as_me:$LINENO: checking for $ac_func" >&5
33630 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33631 if eval "test \"\${$as_ac_var+set}\" = set"; then
33632 echo $ECHO_N "(cached) $ECHO_C" >&6
33634 cat >conftest.
$ac_ext <<_ACEOF
33637 cat confdefs.h
>>conftest.
$ac_ext
33638 cat >>conftest.
$ac_ext <<_ACEOF
33639 /* end confdefs.h. */
33640 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
33641 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33642 #define $ac_func innocuous_$ac_func
33644 /* System header to define __stub macros and hopefully few prototypes,
33645 which can conflict with char $ac_func (); below.
33646 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33647 <limits.h> exists even on freestanding compilers. */
33650 # include <limits.h>
33652 # include <assert.h>
33657 /* Override any gcc2 internal prototype to avoid an error. */
33662 /* We use char because int might match the return type of a gcc2
33663 builtin and then its argument prototype would still apply. */
33665 /* The GNU C library defines this for functions which it implements
33666 to always fail with ENOSYS. Some functions are actually named
33667 something starting with __ and the normal name is an alias. */
33668 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33671 char (*f) () = $ac_func;
33680 return f != $ac_func;
33685 rm -f conftest.
$ac_objext conftest
$ac_exeext
33686 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33687 (eval $ac_link) 2>conftest.er1
33689 grep -v '^ *+' conftest.er1
>conftest.err
33691 cat conftest.err
>&5
33692 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33693 (exit $ac_status); } &&
33694 { ac_try
='test -z "$ac_c_werror_flag"
33695 || test ! -s conftest.err'
33696 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33697 (eval $ac_try) 2>&5
33699 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33700 (exit $ac_status); }; } &&
33701 { ac_try
='test -s conftest$ac_exeext'
33702 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33703 (eval $ac_try) 2>&5
33705 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33706 (exit $ac_status); }; }; then
33707 eval "$as_ac_var=yes"
33709 echo "$as_me: failed program was:" >&5
33710 sed 's/^/| /' conftest.
$ac_ext >&5
33712 eval "$as_ac_var=no"
33714 rm -f conftest.err conftest.
$ac_objext \
33715 conftest
$ac_exeext conftest.
$ac_ext
33717 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33718 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33719 if test `eval echo '${'$as_ac_var'}'` = yes; then
33720 cat >>confdefs.h
<<_ACEOF
33721 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33724 cat >>confdefs.h
<<\_ACEOF
33725 #define HAVE_SHL_LOAD 1
33732 echo "$as_me:$LINENO: checking for dld in -lshl_load" >&5
33733 echo $ECHO_N "checking for dld in -lshl_load... $ECHO_C" >&6
33734 if test "${ac_cv_lib_shl_load_dld+set}" = set; then
33735 echo $ECHO_N "(cached) $ECHO_C" >&6
33737 ac_check_lib_save_LIBS
=$LIBS
33738 LIBS
="-lshl_load $LIBS"
33739 cat >conftest.
$ac_ext <<_ACEOF
33742 cat confdefs.h
>>conftest.
$ac_ext
33743 cat >>conftest.
$ac_ext <<_ACEOF
33744 /* end confdefs.h. */
33746 /* Override any gcc2 internal prototype to avoid an error. */
33750 /* We use char because int might match the return type of a gcc2
33751 builtin and then its argument prototype would still apply. */
33761 rm -f conftest.
$ac_objext conftest
$ac_exeext
33762 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33763 (eval $ac_link) 2>conftest.er1
33765 grep -v '^ *+' conftest.er1
>conftest.err
33767 cat conftest.err
>&5
33768 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33769 (exit $ac_status); } &&
33770 { ac_try
='test -z "$ac_c_werror_flag"
33771 || test ! -s conftest.err'
33772 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33773 (eval $ac_try) 2>&5
33775 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33776 (exit $ac_status); }; } &&
33777 { ac_try
='test -s conftest$ac_exeext'
33778 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33779 (eval $ac_try) 2>&5
33781 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33782 (exit $ac_status); }; }; then
33783 ac_cv_lib_shl_load_dld
=yes
33785 echo "$as_me: failed program was:" >&5
33786 sed 's/^/| /' conftest.
$ac_ext >&5
33788 ac_cv_lib_shl_load_dld
=no
33790 rm -f conftest.err conftest.
$ac_objext \
33791 conftest
$ac_exeext conftest.
$ac_ext
33792 LIBS
=$ac_check_lib_save_LIBS
33794 echo "$as_me:$LINENO: result: $ac_cv_lib_shl_load_dld" >&5
33795 echo "${ECHO_T}$ac_cv_lib_shl_load_dld" >&6
33796 if test $ac_cv_lib_shl_load_dld = yes; then
33799 DL_LINK
=" -ldld$DL_LINK"
33815 if test "$HAVE_DL_FUNCS" = 1; then
33817 for ac_func
in dlerror
33819 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33820 echo "$as_me:$LINENO: checking for $ac_func" >&5
33821 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33822 if eval "test \"\${$as_ac_var+set}\" = set"; then
33823 echo $ECHO_N "(cached) $ECHO_C" >&6
33825 cat >conftest.
$ac_ext <<_ACEOF
33828 cat confdefs.h
>>conftest.
$ac_ext
33829 cat >>conftest.
$ac_ext <<_ACEOF
33830 /* end confdefs.h. */
33831 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
33832 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33833 #define $ac_func innocuous_$ac_func
33835 /* System header to define __stub macros and hopefully few prototypes,
33836 which can conflict with char $ac_func (); below.
33837 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33838 <limits.h> exists even on freestanding compilers. */
33841 # include <limits.h>
33843 # include <assert.h>
33848 /* Override any gcc2 internal prototype to avoid an error. */
33853 /* We use char because int might match the return type of a gcc2
33854 builtin and then its argument prototype would still apply. */
33856 /* The GNU C library defines this for functions which it implements
33857 to always fail with ENOSYS. Some functions are actually named
33858 something starting with __ and the normal name is an alias. */
33859 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33862 char (*f) () = $ac_func;
33871 return f != $ac_func;
33876 rm -f conftest.
$ac_objext conftest
$ac_exeext
33877 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33878 (eval $ac_link) 2>conftest.er1
33880 grep -v '^ *+' conftest.er1
>conftest.err
33882 cat conftest.err
>&5
33883 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33884 (exit $ac_status); } &&
33885 { ac_try
='test -z "$ac_c_werror_flag"
33886 || test ! -s conftest.err'
33887 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33888 (eval $ac_try) 2>&5
33890 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33891 (exit $ac_status); }; } &&
33892 { ac_try
='test -s conftest$ac_exeext'
33893 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33894 (eval $ac_try) 2>&5
33896 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33897 (exit $ac_status); }; }; then
33898 eval "$as_ac_var=yes"
33900 echo "$as_me: failed program was:" >&5
33901 sed 's/^/| /' conftest.
$ac_ext >&5
33903 eval "$as_ac_var=no"
33905 rm -f conftest.err conftest.
$ac_objext \
33906 conftest
$ac_exeext conftest.
$ac_ext
33908 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33909 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33910 if test `eval echo '${'$as_ac_var'}'` = yes; then
33911 cat >>confdefs.h
<<_ACEOF
33912 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33914 cat >>confdefs.h
<<\_ACEOF
33915 #define HAVE_DLERROR 1
33920 echo "$as_me:$LINENO: checking for dlerror in -ldl" >&5
33921 echo $ECHO_N "checking for dlerror in -ldl... $ECHO_C" >&6
33922 if test "${ac_cv_lib_dl_dlerror+set}" = set; then
33923 echo $ECHO_N "(cached) $ECHO_C" >&6
33925 ac_check_lib_save_LIBS
=$LIBS
33927 cat >conftest.
$ac_ext <<_ACEOF
33930 cat confdefs.h
>>conftest.
$ac_ext
33931 cat >>conftest.
$ac_ext <<_ACEOF
33932 /* end confdefs.h. */
33934 /* Override any gcc2 internal prototype to avoid an error. */
33938 /* We use char because int might match the return type of a gcc2
33939 builtin and then its argument prototype would still apply. */
33949 rm -f conftest.
$ac_objext conftest
$ac_exeext
33950 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33951 (eval $ac_link) 2>conftest.er1
33953 grep -v '^ *+' conftest.er1
>conftest.err
33955 cat conftest.err
>&5
33956 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33957 (exit $ac_status); } &&
33958 { ac_try
='test -z "$ac_c_werror_flag"
33959 || test ! -s conftest.err'
33960 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33961 (eval $ac_try) 2>&5
33963 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33964 (exit $ac_status); }; } &&
33965 { ac_try
='test -s conftest$ac_exeext'
33966 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33967 (eval $ac_try) 2>&5
33969 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33970 (exit $ac_status); }; }; then
33971 ac_cv_lib_dl_dlerror
=yes
33973 echo "$as_me: failed program was:" >&5
33974 sed 's/^/| /' conftest.
$ac_ext >&5
33976 ac_cv_lib_dl_dlerror
=no
33978 rm -f conftest.err conftest.
$ac_objext \
33979 conftest
$ac_exeext conftest.
$ac_ext
33980 LIBS
=$ac_check_lib_save_LIBS
33982 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlerror" >&5
33983 echo "${ECHO_T}$ac_cv_lib_dl_dlerror" >&6
33984 if test $ac_cv_lib_dl_dlerror = yes; then
33985 cat >>confdefs.h
<<\_ACEOF
33986 #define HAVE_DLERROR 1
33999 if test "$HAVE_DL_FUNCS" = 0; then
34000 if test "$HAVE_SHL_FUNCS" = 0; then
34001 if test "$USE_UNIX" = 1; then
34002 { echo "$as_me:$LINENO: WARNING: Missing dynamic loading support, several features will be disabled" >&5
34003 echo "$as_me: WARNING: Missing dynamic loading support, several features will be disabled" >&2;}
34004 wxUSE_DYNAMIC_LOADER
=no
34005 wxUSE_DYNLIB_CLASS
=no
34007 { echo "$as_me:$LINENO: WARNING: Assuming wxLibrary class works on this platform" >&5
34008 echo "$as_me: WARNING: Assuming wxLibrary class works on this platform" >&2;}
34015 if test "$wxUSE_DYNAMIC_LOADER" = "yes" ; then
34016 cat >>confdefs.h
<<\_ACEOF
34017 #define wxUSE_DYNAMIC_LOADER 1
34021 if test "$wxUSE_DYNLIB_CLASS" = "yes" ; then
34022 cat >>confdefs.h
<<\_ACEOF
34023 #define wxUSE_DYNLIB_CLASS 1
34030 if test "$wxUSE_PLUGINS" = "yes" ; then
34031 if test "$wxUSE_SHARED" = "no" ; then
34032 { echo "$as_me:$LINENO: WARNING: plugins supported only in shared build, disabling" >&5
34033 echo "$as_me: WARNING: plugins supported only in shared build, disabling" >&2;}
34036 if test "$wxUSE_MONOLITHIC" = "yes" ; then
34037 { echo "$as_me:$LINENO: WARNING: plugins not supported monolithic build, disabling" >&5
34038 echo "$as_me: WARNING: plugins not supported monolithic build, disabling" >&2;}
34041 if test "$wxUSE_DYNLIB_CLASS" = "no" ; then
34042 { echo "$as_me:$LINENO: WARNING: plugins require wxDynamicLibrary, disabling" >&5
34043 echo "$as_me: WARNING: plugins require wxDynamicLibrary, disabling" >&2;}
34046 if test "$wxUSE_PLUGINS" = "yes" ; then
34047 cat >>confdefs.h
<<\_ACEOF
34048 #define wxUSE_PLUGINS 1
34055 if test "$wxUSE_STL" = "yes"; then
34056 cat >>confdefs.h
<<\_ACEOF
34057 #define wxUSE_STL 1
34062 if test "$wxUSE_APPLE_IEEE" = "yes"; then
34063 cat >>confdefs.h
<<\_ACEOF
34064 #define wxUSE_APPLE_IEEE 1
34069 if test "$wxUSE_TIMER" = "yes"; then
34070 cat >>confdefs.h
<<\_ACEOF
34071 #define wxUSE_TIMER 1
34077 if test "$wxUSE_SOUND" = "yes"; then
34078 if test "$USE_UNIX" = "1" ; then
34080 for ac_header
in sys
/soundcard.h
34082 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
34083 if eval "test \"\${$as_ac_Header+set}\" = set"; then
34084 echo "$as_me:$LINENO: checking for $ac_header" >&5
34085 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
34086 if eval "test \"\${$as_ac_Header+set}\" = set"; then
34087 echo $ECHO_N "(cached) $ECHO_C" >&6
34089 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
34090 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
34092 # Is the header compilable?
34093 echo "$as_me:$LINENO: checking $ac_header usability" >&5
34094 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
34095 cat >conftest.
$ac_ext <<_ACEOF
34098 cat confdefs.h
>>conftest.
$ac_ext
34099 cat >>conftest.
$ac_ext <<_ACEOF
34100 /* end confdefs.h. */
34101 $ac_includes_default
34102 #include <$ac_header>
34104 rm -f conftest.
$ac_objext
34105 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34106 (eval $ac_compile) 2>conftest.er1
34108 grep -v '^ *+' conftest.er1
>conftest.err
34110 cat conftest.err
>&5
34111 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34112 (exit $ac_status); } &&
34113 { ac_try
='test -z "$ac_c_werror_flag"
34114 || test ! -s conftest.err'
34115 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34116 (eval $ac_try) 2>&5
34118 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34119 (exit $ac_status); }; } &&
34120 { ac_try
='test -s conftest.$ac_objext'
34121 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34122 (eval $ac_try) 2>&5
34124 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34125 (exit $ac_status); }; }; then
34126 ac_header_compiler
=yes
34128 echo "$as_me: failed program was:" >&5
34129 sed 's/^/| /' conftest.
$ac_ext >&5
34131 ac_header_compiler
=no
34133 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
34134 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
34135 echo "${ECHO_T}$ac_header_compiler" >&6
34137 # Is the header present?
34138 echo "$as_me:$LINENO: checking $ac_header presence" >&5
34139 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
34140 cat >conftest.
$ac_ext <<_ACEOF
34143 cat confdefs.h
>>conftest.
$ac_ext
34144 cat >>conftest.
$ac_ext <<_ACEOF
34145 /* end confdefs.h. */
34146 #include <$ac_header>
34148 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
34149 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
34151 grep -v '^ *+' conftest.er1
>conftest.err
34153 cat conftest.err
>&5
34154 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34155 (exit $ac_status); } >/dev
/null
; then
34156 if test -s conftest.err
; then
34157 ac_cpp_err
=$ac_c_preproc_warn_flag
34158 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
34165 if test -z "$ac_cpp_err"; then
34166 ac_header_preproc
=yes
34168 echo "$as_me: failed program was:" >&5
34169 sed 's/^/| /' conftest.
$ac_ext >&5
34171 ac_header_preproc
=no
34173 rm -f conftest.err conftest.
$ac_ext
34174 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
34175 echo "${ECHO_T}$ac_header_preproc" >&6
34177 # So? What about this header?
34178 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
34180 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
34181 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
34182 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
34183 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
34184 ac_header_preproc
=yes
34187 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
34188 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
34189 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
34190 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
34191 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
34192 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
34193 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
34194 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
34195 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
34196 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
34197 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
34198 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
34201 ## ----------------------------------------- ##
34202 ## Report this to wx-dev@lists.wxwidgets.org ##
34203 ## ----------------------------------------- ##
34206 sed "s/^/$as_me: WARNING: /" >&2
34209 echo "$as_me:$LINENO: checking for $ac_header" >&5
34210 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
34211 if eval "test \"\${$as_ac_Header+set}\" = set"; then
34212 echo $ECHO_N "(cached) $ECHO_C" >&6
34214 eval "$as_ac_Header=\$ac_header_preproc"
34216 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
34217 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
34220 if test `eval echo '${'$as_ac_Header'}'` = yes; then
34221 cat >>confdefs.h
<<_ACEOF
34222 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
34230 if test "$wxUSE_LIBSDL" != "no"; then
34232 # Check whether --with-sdl-prefix or --without-sdl-prefix was given.
34233 if test "${with_sdl_prefix+set}" = set; then
34234 withval
="$with_sdl_prefix"
34235 sdl_prefix
="$withval"
34240 # Check whether --with-sdl-exec-prefix or --without-sdl-exec-prefix was given.
34241 if test "${with_sdl_exec_prefix+set}" = set; then
34242 withval
="$with_sdl_exec_prefix"
34243 sdl_exec_prefix
="$withval"
34247 # Check whether --enable-sdltest or --disable-sdltest was given.
34248 if test "${enable_sdltest+set}" = set; then
34249 enableval
="$enable_sdltest"
34255 if test x
$sdl_exec_prefix != x
; then
34256 sdl_args
="$sdl_args --exec-prefix=$sdl_exec_prefix"
34257 if test x
${SDL_CONFIG+set} != xset
; then
34258 SDL_CONFIG
=$sdl_exec_prefix/bin
/sdl
-config
34261 if test x
$sdl_prefix != x
; then
34262 sdl_args
="$sdl_args --prefix=$sdl_prefix"
34263 if test x
${SDL_CONFIG+set} != xset
; then
34264 SDL_CONFIG
=$sdl_prefix/bin
/sdl
-config
34269 PATH
="$prefix/bin:$prefix/usr/bin:$PATH"
34270 # Extract the first word of "sdl-config", so it can be a program name with args.
34271 set dummy sdl
-config; ac_word
=$2
34272 echo "$as_me:$LINENO: checking for $ac_word" >&5
34273 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
34274 if test "${ac_cv_path_SDL_CONFIG+set}" = set; then
34275 echo $ECHO_N "(cached) $ECHO_C" >&6
34277 case $SDL_CONFIG in
34279 ac_cv_path_SDL_CONFIG
="$SDL_CONFIG" # Let the user override the test with a path.
34282 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
34283 for as_dir
in $PATH
34286 test -z "$as_dir" && as_dir
=.
34287 for ac_exec_ext
in '' $ac_executable_extensions; do
34288 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
34289 ac_cv_path_SDL_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
34290 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
34296 test -z "$ac_cv_path_SDL_CONFIG" && ac_cv_path_SDL_CONFIG
="no"
34300 SDL_CONFIG
=$ac_cv_path_SDL_CONFIG
34302 if test -n "$SDL_CONFIG"; then
34303 echo "$as_me:$LINENO: result: $SDL_CONFIG" >&5
34304 echo "${ECHO_T}$SDL_CONFIG" >&6
34306 echo "$as_me:$LINENO: result: no" >&5
34307 echo "${ECHO_T}no" >&6
34310 min_sdl_version
=1.2.0
34311 echo "$as_me:$LINENO: checking for SDL - version >= $min_sdl_version" >&5
34312 echo $ECHO_N "checking for SDL - version >= $min_sdl_version... $ECHO_C" >&6
34314 if test "$SDL_CONFIG" = "no" ; then
34317 SDL_CFLAGS
=`$SDL_CONFIG $sdlconf_args --cflags`
34318 SDL_LIBS
=`$SDL_CONFIG $sdlconf_args --libs`
34320 sdl_major_version
=`$SDL_CONFIG $sdl_args --version | \
34321 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
34322 sdl_minor_version
=`$SDL_CONFIG $sdl_args --version | \
34323 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
34324 sdl_micro_version
=`$SDL_CONFIG $sdl_config_args --version | \
34325 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
34326 if test "x$enable_sdltest" = "xyes" ; then
34327 ac_save_CFLAGS
="$CFLAGS"
34328 ac_save_LIBS
="$LIBS"
34329 CFLAGS
="$CFLAGS $SDL_CFLAGS"
34330 LIBS
="$LIBS $SDL_LIBS"
34332 if test "$cross_compiling" = yes; then
34333 echo $ac_n "cross compiling; assumed OK... $ac_c"
34335 cat >conftest.
$ac_ext <<_ACEOF
34338 cat confdefs.h
>>conftest.
$ac_ext
34339 cat >>conftest.
$ac_ext <<_ACEOF
34340 /* end confdefs.h. */
34343 #include <stdlib.h>
34344 #include <string.h>
34348 my_strdup (char *str)
34354 new_str = (char *)malloc ((strlen (str) + 1) * sizeof(char));
34355 strcpy (new_str, str);
34363 int main (int argc, char *argv[])
34365 int major, minor, micro;
34368 /* This hangs on some systems (?)
34369 system ("touch conf.sdltest");
34371 { FILE *fp = fopen("conf.sdltest", "a"); if ( fp ) fclose(fp); }
34373 /* HP/UX 9 (%@#!) writes to sscanf strings */
34374 tmp_version = my_strdup("$min_sdl_version");
34375 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
34376 printf("%s, bad version string\n", "$min_sdl_version");
34380 if (($sdl_major_version > major) ||
34381 (($sdl_major_version == major) && ($sdl_minor_version > minor)) ||
34382 (($sdl_major_version == major) && ($sdl_minor_version == minor) && ($sdl_micro_version >= micro)))
34388 printf("\n*** 'sdl-config --version' returned %d.%d.%d, but the minimum version\n", $sdl_major_version, $sdl_minor_version, $sdl_micro_version);
34389 printf("*** of SDL required is %d.%d.%d. If sdl-config is correct, then it is\n", major, minor, micro);
34390 printf("*** best to upgrade to the required version.\n");
34391 printf("*** If sdl-config was wrong, set the environment variable SDL_CONFIG\n");
34392 printf("*** to point to the correct copy of sdl-config, and remove the file\n");
34393 printf("*** config.cache before re-running configure\n");
34400 rm -f conftest
$ac_exeext
34401 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34402 (eval $ac_link) 2>&5
34404 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34405 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
34406 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34407 (eval $ac_try) 2>&5
34409 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34410 (exit $ac_status); }; }; then
34413 echo "$as_me: program exited with status $ac_status" >&5
34414 echo "$as_me: failed program was:" >&5
34415 sed 's/^/| /' conftest.
$ac_ext >&5
34417 ( exit $ac_status )
34420 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
34422 CFLAGS
="$ac_save_CFLAGS"
34423 LIBS
="$ac_save_LIBS"
34426 if test "x$no_sdl" = x
; then
34427 echo "$as_me:$LINENO: result: yes" >&5
34428 echo "${ECHO_T}yes" >&6
34430 EXTRALIBS_SDL
="$SDL_LIBS"
34431 CXXFLAGS
="$CXXFLAGS $SDL_CFLAGS"
34432 cat >>confdefs.h
<<\_ACEOF
34433 #define wxUSE_LIBSDL 1
34438 echo "$as_me:$LINENO: result: no" >&5
34439 echo "${ECHO_T}no" >&6
34440 if test "$SDL_CONFIG" = "no" ; then
34441 echo "*** The sdl-config script installed by SDL could not be found"
34442 echo "*** If SDL was installed in PREFIX, make sure PREFIX/bin is in"
34443 echo "*** your path, or set the SDL_CONFIG environment variable to the"
34444 echo "*** full path to sdl-config."
34446 if test -f conf.sdltest
; then
34449 echo "*** Could not run SDL test program, checking why..."
34450 CFLAGS
="$CFLAGS $SDL_CFLAGS"
34451 LIBS
="$LIBS $SDL_LIBS"
34452 cat >conftest.
$ac_ext <<_ACEOF
34455 cat confdefs.h
>>conftest.
$ac_ext
34456 cat >>conftest.
$ac_ext <<_ACEOF
34457 /* end confdefs.h. */
34462 int main(int argc, char *argv[])
34465 #define main K_and_R_C_main
34475 rm -f conftest.
$ac_objext conftest
$ac_exeext
34476 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34477 (eval $ac_link) 2>conftest.er1
34479 grep -v '^ *+' conftest.er1
>conftest.err
34481 cat conftest.err
>&5
34482 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34483 (exit $ac_status); } &&
34484 { ac_try
='test -z "$ac_c_werror_flag"
34485 || test ! -s conftest.err'
34486 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34487 (eval $ac_try) 2>&5
34489 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34490 (exit $ac_status); }; } &&
34491 { ac_try
='test -s conftest$ac_exeext'
34492 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34493 (eval $ac_try) 2>&5
34495 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34496 (exit $ac_status); }; }; then
34497 echo "*** The test program compiled, but did not run. This usually means"
34498 echo "*** that the run-time linker is not finding SDL or finding the wrong"
34499 echo "*** version of SDL. If it is not finding SDL, you'll need to set your"
34500 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
34501 echo "*** to the installed location Also, make sure you have run ldconfig if that"
34502 echo "*** is required on your system"
34504 echo "*** If you have an old version installed, it is best to remove it, although"
34505 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
34507 echo "$as_me: failed program was:" >&5
34508 sed 's/^/| /' conftest.
$ac_ext >&5
34510 echo "*** The test program failed to compile or link. See the file config.log for the"
34511 echo "*** exact error that occured. This usually means SDL was incorrectly installed"
34512 echo "*** or that you have moved SDL since it was installed. In the latter case, you"
34513 echo "*** may want to edit the sdl-config script: $SDL_CONFIG"
34515 rm -f conftest.err conftest.
$ac_objext \
34516 conftest
$ac_exeext conftest.
$ac_ext
34517 CFLAGS
="$ac_save_CFLAGS"
34518 LIBS
="$ac_save_LIBS"
34529 if test "$wxUSE_LIBSDL" = "yes" -a "$wxUSE_PLUGINS" = "yes" ; then
34535 cat >>confdefs.h
<<\_ACEOF
34536 #define wxUSE_SOUND 1
34539 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS sound"
34542 if test "$wxUSE_CMDLINE_PARSER" = "yes"; then
34543 cat >>confdefs.h
<<\_ACEOF
34544 #define wxUSE_CMDLINE_PARSER 1
34549 if test "$wxUSE_STOPWATCH" = "yes"; then
34550 cat >>confdefs.h
<<\_ACEOF
34551 #define wxUSE_STOPWATCH 1
34556 if test "$wxUSE_DATETIME" = "yes"; then
34557 cat >>confdefs.h
<<\_ACEOF
34558 #define wxUSE_DATETIME 1
34563 if test "$wxUSE_FILE" = "yes"; then
34564 cat >>confdefs.h
<<\_ACEOF
34565 #define wxUSE_FILE 1
34570 if test "$wxUSE_FFILE" = "yes"; then
34571 cat >>confdefs.h
<<\_ACEOF
34572 #define wxUSE_FFILE 1
34577 if test "$wxUSE_FILESYSTEM" = "yes"; then
34578 cat >>confdefs.h
<<\_ACEOF
34579 #define wxUSE_FILESYSTEM 1
34584 if test "$wxUSE_FS_ZIP" = "yes"; then
34585 cat >>confdefs.h
<<\_ACEOF
34586 #define wxUSE_FS_ZIP 1
34591 if test "$wxUSE_ZIPSTREAM" = "yes"; then
34592 cat >>confdefs.h
<<\_ACEOF
34593 #define wxUSE_ZIPSTREAM 1
34598 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
34599 cat >>confdefs.h
<<\_ACEOF
34600 #define wxUSE_ON_FATAL_EXCEPTION 1
34605 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
34606 cat >>confdefs.h
<<\_ACEOF
34607 #define wxUSE_SNGLINST_CHECKER 1
34612 if test "$wxUSE_BUSYINFO" = "yes"; then
34613 cat >>confdefs.h
<<\_ACEOF
34614 #define wxUSE_BUSYINFO 1
34619 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
34620 cat >>confdefs.h
<<\_ACEOF
34621 #define wxUSE_STD_IOSTREAM 1
34626 if test "$wxUSE_TEXTBUFFER" = "yes"; then
34627 cat >>confdefs.h
<<\_ACEOF
34628 #define wxUSE_TEXTBUFFER 1
34633 if test "$wxUSE_TEXTFILE" = "yes"; then
34634 if test "$wxUSE_FILE" != "yes" -o "$wxUSE_TEXTBUFFER" != "yes" ; then
34635 { echo "$as_me:$LINENO: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&5
34636 echo "$as_me: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&2;}
34638 cat >>confdefs.h
<<\_ACEOF
34639 #define wxUSE_TEXTFILE 1
34645 if test "$wxUSE_CONFIG" = "yes" ; then
34646 if test "$wxUSE_TEXTFILE" != "yes"; then
34647 { echo "$as_me:$LINENO: WARNING: wxConfig requires wxTextFile... disabled" >&5
34648 echo "$as_me: WARNING: wxConfig requires wxTextFile... disabled" >&2;}
34650 cat >>confdefs.h
<<\_ACEOF
34651 #define wxUSE_CONFIG 1
34654 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS config"
34658 if test "$wxUSE_INTL" = "yes" ; then
34659 if test "$wxUSE_FILE" != "yes"; then
34660 { echo "$as_me:$LINENO: WARNING: I18n code requires wxFile... disabled" >&5
34661 echo "$as_me: WARNING: I18n code requires wxFile... disabled" >&2;}
34663 cat >>confdefs.h
<<\_ACEOF
34664 #define wxUSE_INTL 1
34667 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS internat"
34668 GUIDIST
="$GUIDIST INTL_DIST"
34672 if test "$wxUSE_LOG" = "yes"; then
34673 cat >>confdefs.h
<<\_ACEOF
34674 #define wxUSE_LOG 1
34678 if test "$wxUSE_LOGGUI" = "yes"; then
34679 cat >>confdefs.h
<<\_ACEOF
34680 #define wxUSE_LOGGUI 1
34685 if test "$wxUSE_LOGWINDOW" = "yes"; then
34686 cat >>confdefs.h
<<\_ACEOF
34687 #define wxUSE_LOGWINDOW 1
34692 if test "$wxUSE_LOGDIALOG" = "yes"; then
34693 cat >>confdefs.h
<<\_ACEOF
34694 #define wxUSE_LOG_DIALOG 1
34700 if test "$wxUSE_LONGLONG" = "yes"; then
34701 cat >>confdefs.h
<<\_ACEOF
34702 #define wxUSE_LONGLONG 1
34707 if test "$wxUSE_GEOMETRY" = "yes"; then
34708 cat >>confdefs.h
<<\_ACEOF
34709 #define wxUSE_GEOMETRY 1
34714 if test "$wxUSE_DIALUP_MANAGER" = "yes" ; then
34715 cat >>confdefs.h
<<\_ACEOF
34716 #define wxUSE_DIALUP_MANAGER 1
34719 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS dialup"
34722 if test "$wxUSE_STREAMS" = "yes" ; then
34723 cat >>confdefs.h
<<\_ACEOF
34724 #define wxUSE_STREAMS 1
34730 if test "$wxUSE_DATETIME" = "yes"; then
34732 for ac_func
in strptime
34734 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34735 echo "$as_me:$LINENO: checking for $ac_func" >&5
34736 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
34737 if eval "test \"\${$as_ac_var+set}\" = set"; then
34738 echo $ECHO_N "(cached) $ECHO_C" >&6
34740 cat >conftest.
$ac_ext <<_ACEOF
34743 cat confdefs.h
>>conftest.
$ac_ext
34744 cat >>conftest.
$ac_ext <<_ACEOF
34745 /* end confdefs.h. */
34746 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34747 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34748 #define $ac_func innocuous_$ac_func
34750 /* System header to define __stub macros and hopefully few prototypes,
34751 which can conflict with char $ac_func (); below.
34752 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34753 <limits.h> exists even on freestanding compilers. */
34756 # include <limits.h>
34758 # include <assert.h>
34763 /* Override any gcc2 internal prototype to avoid an error. */
34768 /* We use char because int might match the return type of a gcc2
34769 builtin and then its argument prototype would still apply. */
34771 /* The GNU C library defines this for functions which it implements
34772 to always fail with ENOSYS. Some functions are actually named
34773 something starting with __ and the normal name is an alias. */
34774 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
34777 char (*f) () = $ac_func;
34786 return f != $ac_func;
34791 rm -f conftest.
$ac_objext conftest
$ac_exeext
34792 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34793 (eval $ac_link) 2>conftest.er1
34795 grep -v '^ *+' conftest.er1
>conftest.err
34797 cat conftest.err
>&5
34798 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34799 (exit $ac_status); } &&
34800 { ac_try
='test -z "$ac_c_werror_flag"
34801 || test ! -s conftest.err'
34802 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34803 (eval $ac_try) 2>&5
34805 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34806 (exit $ac_status); }; } &&
34807 { ac_try
='test -s conftest$ac_exeext'
34808 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34809 (eval $ac_try) 2>&5
34811 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34812 (exit $ac_status); }; }; then
34813 eval "$as_ac_var=yes"
34815 echo "$as_me: failed program was:" >&5
34816 sed 's/^/| /' conftest.
$ac_ext >&5
34818 eval "$as_ac_var=no"
34820 rm -f conftest.err conftest.
$ac_objext \
34821 conftest
$ac_exeext conftest.
$ac_ext
34823 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
34824 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
34825 if test `eval echo '${'$as_ac_var'}'` = yes; then
34826 cat >>confdefs.h
<<_ACEOF
34827 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34834 echo "$as_me:$LINENO: checking for timezone variable in <time.h>" >&5
34835 echo $ECHO_N "checking for timezone variable in <time.h>... $ECHO_C" >&6
34836 if test "${wx_cv_var_timezone+set}" = set; then
34837 echo $ECHO_N "(cached) $ECHO_C" >&6
34840 cat >conftest.
$ac_ext <<_ACEOF
34843 cat confdefs.h
>>conftest.
$ac_ext
34844 cat >>conftest.
$ac_ext <<_ACEOF
34845 /* end confdefs.h. */
34860 rm -f conftest.
$ac_objext
34861 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34862 (eval $ac_compile) 2>conftest.er1
34864 grep -v '^ *+' conftest.er1
>conftest.err
34866 cat conftest.err
>&5
34867 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34868 (exit $ac_status); } &&
34869 { ac_try
='test -z "$ac_c_werror_flag"
34870 || test ! -s conftest.err'
34871 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34872 (eval $ac_try) 2>&5
34874 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34875 (exit $ac_status); }; } &&
34876 { ac_try
='test -s conftest.$ac_objext'
34877 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34878 (eval $ac_try) 2>&5
34880 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34881 (exit $ac_status); }; }; then
34883 wx_cv_var_timezone
=timezone
34886 echo "$as_me: failed program was:" >&5
34887 sed 's/^/| /' conftest.
$ac_ext >&5
34890 cat >conftest.
$ac_ext <<_ACEOF
34893 cat confdefs.h
>>conftest.
$ac_ext
34894 cat >>conftest.
$ac_ext <<_ACEOF
34895 /* end confdefs.h. */
34910 rm -f conftest.
$ac_objext
34911 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34912 (eval $ac_compile) 2>conftest.er1
34914 grep -v '^ *+' conftest.er1
>conftest.err
34916 cat conftest.err
>&5
34917 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34918 (exit $ac_status); } &&
34919 { ac_try
='test -z "$ac_c_werror_flag"
34920 || test ! -s conftest.err'
34921 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34922 (eval $ac_try) 2>&5
34924 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34925 (exit $ac_status); }; } &&
34926 { ac_try
='test -s conftest.$ac_objext'
34927 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34928 (eval $ac_try) 2>&5
34930 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34931 (exit $ac_status); }; }; then
34933 wx_cv_var_timezone
=_timezone
34936 echo "$as_me: failed program was:" >&5
34937 sed 's/^/| /' conftest.
$ac_ext >&5
34940 cat >conftest.
$ac_ext <<_ACEOF
34943 cat confdefs.h
>>conftest.
$ac_ext
34944 cat >>conftest.
$ac_ext <<_ACEOF
34945 /* end confdefs.h. */
34960 rm -f conftest.
$ac_objext
34961 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34962 (eval $ac_compile) 2>conftest.er1
34964 grep -v '^ *+' conftest.er1
>conftest.err
34966 cat conftest.err
>&5
34967 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34968 (exit $ac_status); } &&
34969 { ac_try
='test -z "$ac_c_werror_flag"
34970 || test ! -s conftest.err'
34971 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34972 (eval $ac_try) 2>&5
34974 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34975 (exit $ac_status); }; } &&
34976 { ac_try
='test -s conftest.$ac_objext'
34977 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34978 (eval $ac_try) 2>&5
34980 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34981 (exit $ac_status); }; }; then
34983 wx_cv_var_timezone
=__timezone
34986 echo "$as_me: failed program was:" >&5
34987 sed 's/^/| /' conftest.
$ac_ext >&5
34990 if test "$USE_DOS" = 0 ; then
34991 { echo "$as_me:$LINENO: WARNING: no timezone variable" >&5
34992 echo "$as_me: WARNING: no timezone variable" >&2;}
34997 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
35001 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
35005 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
35009 echo "$as_me:$LINENO: result: $wx_cv_var_timezone" >&5
35010 echo "${ECHO_T}$wx_cv_var_timezone" >&6
35012 if test "x$wx_cv_var_timezone" != x
; then
35013 cat >>confdefs.h
<<_ACEOF
35014 #define WX_TIMEZONE $wx_cv_var_timezone
35020 for ac_func
in localtime
35022 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35023 echo "$as_me:$LINENO: checking for $ac_func" >&5
35024 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
35025 if eval "test \"\${$as_ac_var+set}\" = set"; then
35026 echo $ECHO_N "(cached) $ECHO_C" >&6
35028 cat >conftest.
$ac_ext <<_ACEOF
35031 cat confdefs.h
>>conftest.
$ac_ext
35032 cat >>conftest.
$ac_ext <<_ACEOF
35033 /* end confdefs.h. */
35034 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35035 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35036 #define $ac_func innocuous_$ac_func
35038 /* System header to define __stub macros and hopefully few prototypes,
35039 which can conflict with char $ac_func (); below.
35040 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35041 <limits.h> exists even on freestanding compilers. */
35044 # include <limits.h>
35046 # include <assert.h>
35051 /* Override any gcc2 internal prototype to avoid an error. */
35056 /* We use char because int might match the return type of a gcc2
35057 builtin and then its argument prototype would still apply. */
35059 /* The GNU C library defines this for functions which it implements
35060 to always fail with ENOSYS. Some functions are actually named
35061 something starting with __ and the normal name is an alias. */
35062 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
35065 char (*f) () = $ac_func;
35074 return f != $ac_func;
35079 rm -f conftest.
$ac_objext conftest
$ac_exeext
35080 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35081 (eval $ac_link) 2>conftest.er1
35083 grep -v '^ *+' conftest.er1
>conftest.err
35085 cat conftest.err
>&5
35086 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35087 (exit $ac_status); } &&
35088 { ac_try
='test -z "$ac_c_werror_flag"
35089 || test ! -s conftest.err'
35090 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35091 (eval $ac_try) 2>&5
35093 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35094 (exit $ac_status); }; } &&
35095 { ac_try
='test -s conftest$ac_exeext'
35096 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35097 (eval $ac_try) 2>&5
35099 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35100 (exit $ac_status); }; }; then
35101 eval "$as_ac_var=yes"
35103 echo "$as_me: failed program was:" >&5
35104 sed 's/^/| /' conftest.
$ac_ext >&5
35106 eval "$as_ac_var=no"
35108 rm -f conftest.err conftest.
$ac_objext \
35109 conftest
$ac_exeext conftest.
$ac_ext
35111 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
35112 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
35113 if test `eval echo '${'$as_ac_var'}'` = yes; then
35114 cat >>confdefs.h
<<_ACEOF
35115 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35122 if test "$ac_cv_func_localtime" = "yes"; then
35123 echo "$as_me:$LINENO: checking for tm_gmtoff in struct tm" >&5
35124 echo $ECHO_N "checking for tm_gmtoff in struct tm... $ECHO_C" >&6
35125 if test "${wx_cv_struct_tm_has_gmtoff+set}" = set; then
35126 echo $ECHO_N "(cached) $ECHO_C" >&6
35129 cat >conftest.
$ac_ext <<_ACEOF
35132 cat confdefs.h
>>conftest.
$ac_ext
35133 cat >>conftest.
$ac_ext <<_ACEOF
35134 /* end confdefs.h. */
35149 rm -f conftest.
$ac_objext
35150 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35151 (eval $ac_compile) 2>conftest.er1
35153 grep -v '^ *+' conftest.er1
>conftest.err
35155 cat conftest.err
>&5
35156 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35157 (exit $ac_status); } &&
35158 { ac_try
='test -z "$ac_c_werror_flag"
35159 || test ! -s conftest.err'
35160 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35161 (eval $ac_try) 2>&5
35163 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35164 (exit $ac_status); }; } &&
35165 { ac_try
='test -s conftest.$ac_objext'
35166 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35167 (eval $ac_try) 2>&5
35169 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35170 (exit $ac_status); }; }; then
35172 wx_cv_struct_tm_has_gmtoff
=yes
35175 echo "$as_me: failed program was:" >&5
35176 sed 's/^/| /' conftest.
$ac_ext >&5
35178 wx_cv_struct_tm_has_gmtoff
=no
35181 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
35184 echo "$as_me:$LINENO: result: $wx_cv_struct_tm_has_gmtoff" >&5
35185 echo "${ECHO_T}$wx_cv_struct_tm_has_gmtoff" >&6
35188 if test "$wx_cv_struct_tm_has_gmtoff" = "yes"; then
35189 cat >>confdefs.h
<<\_ACEOF
35190 #define WX_GMTOFF_IN_TM 1
35197 for ac_func
in gettimeofday ftime
35199 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35200 echo "$as_me:$LINENO: checking for $ac_func" >&5
35201 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
35202 if eval "test \"\${$as_ac_var+set}\" = set"; then
35203 echo $ECHO_N "(cached) $ECHO_C" >&6
35205 cat >conftest.
$ac_ext <<_ACEOF
35208 cat confdefs.h
>>conftest.
$ac_ext
35209 cat >>conftest.
$ac_ext <<_ACEOF
35210 /* end confdefs.h. */
35211 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35212 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35213 #define $ac_func innocuous_$ac_func
35215 /* System header to define __stub macros and hopefully few prototypes,
35216 which can conflict with char $ac_func (); below.
35217 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35218 <limits.h> exists even on freestanding compilers. */
35221 # include <limits.h>
35223 # include <assert.h>
35228 /* Override any gcc2 internal prototype to avoid an error. */
35233 /* We use char because int might match the return type of a gcc2
35234 builtin and then its argument prototype would still apply. */
35236 /* The GNU C library defines this for functions which it implements
35237 to always fail with ENOSYS. Some functions are actually named
35238 something starting with __ and the normal name is an alias. */
35239 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
35242 char (*f) () = $ac_func;
35251 return f != $ac_func;
35256 rm -f conftest.
$ac_objext conftest
$ac_exeext
35257 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35258 (eval $ac_link) 2>conftest.er1
35260 grep -v '^ *+' conftest.er1
>conftest.err
35262 cat conftest.err
>&5
35263 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35264 (exit $ac_status); } &&
35265 { ac_try
='test -z "$ac_c_werror_flag"
35266 || test ! -s conftest.err'
35267 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35268 (eval $ac_try) 2>&5
35270 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35271 (exit $ac_status); }; } &&
35272 { ac_try
='test -s conftest$ac_exeext'
35273 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35274 (eval $ac_try) 2>&5
35276 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35277 (exit $ac_status); }; }; then
35278 eval "$as_ac_var=yes"
35280 echo "$as_me: failed program was:" >&5
35281 sed 's/^/| /' conftest.
$ac_ext >&5
35283 eval "$as_ac_var=no"
35285 rm -f conftest.err conftest.
$ac_objext \
35286 conftest
$ac_exeext conftest.
$ac_ext
35288 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
35289 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
35290 if test `eval echo '${'$as_ac_var'}'` = yes; then
35291 cat >>confdefs.h
<<_ACEOF
35292 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35299 if test "$ac_cv_func_gettimeofday" = "yes"; then
35300 echo "$as_me:$LINENO: checking whether gettimeofday takes two arguments" >&5
35301 echo $ECHO_N "checking whether gettimeofday takes two arguments... $ECHO_C" >&6
35302 if test "${wx_cv_func_gettimeofday_has_2_args+set}" = set; then
35303 echo $ECHO_N "(cached) $ECHO_C" >&6
35309 ac_cpp
='$CXXCPP $CPPFLAGS'
35310 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35311 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35312 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
35315 cat >conftest.
$ac_ext <<_ACEOF
35318 cat confdefs.h
>>conftest.
$ac_ext
35319 cat >>conftest.
$ac_ext <<_ACEOF
35320 /* end confdefs.h. */
35322 #include <sys/time.h>
35323 #include <unistd.h>
35330 gettimeofday(&tv, NULL);
35336 rm -f conftest.
$ac_objext
35337 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35338 (eval $ac_compile) 2>conftest.er1
35340 grep -v '^ *+' conftest.er1
>conftest.err
35342 cat conftest.err
>&5
35343 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35344 (exit $ac_status); } &&
35345 { ac_try
='test -z "$ac_cxx_werror_flag"
35346 || test ! -s conftest.err'
35347 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35348 (eval $ac_try) 2>&5
35350 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35351 (exit $ac_status); }; } &&
35352 { ac_try
='test -s conftest.$ac_objext'
35353 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35354 (eval $ac_try) 2>&5
35356 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35357 (exit $ac_status); }; }; then
35358 wx_cv_func_gettimeofday_has_2_args
=yes
35360 echo "$as_me: failed program was:" >&5
35361 sed 's/^/| /' conftest.
$ac_ext >&5
35363 cat >conftest.
$ac_ext <<_ACEOF
35366 cat confdefs.h
>>conftest.
$ac_ext
35367 cat >>conftest.
$ac_ext <<_ACEOF
35368 /* end confdefs.h. */
35370 #include <sys/time.h>
35371 #include <unistd.h>
35384 rm -f conftest.
$ac_objext
35385 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35386 (eval $ac_compile) 2>conftest.er1
35388 grep -v '^ *+' conftest.er1
>conftest.err
35390 cat conftest.err
>&5
35391 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35392 (exit $ac_status); } &&
35393 { ac_try
='test -z "$ac_cxx_werror_flag"
35394 || test ! -s conftest.err'
35395 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35396 (eval $ac_try) 2>&5
35398 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35399 (exit $ac_status); }; } &&
35400 { ac_try
='test -s conftest.$ac_objext'
35401 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35402 (eval $ac_try) 2>&5
35404 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35405 (exit $ac_status); }; }; then
35406 wx_cv_func_gettimeofday_has_2_args
=no
35408 echo "$as_me: failed program was:" >&5
35409 sed 's/^/| /' conftest.
$ac_ext >&5
35412 { echo "$as_me:$LINENO: WARNING: failed to determine number of gettimeofday() arguments" >&5
35413 echo "$as_me: WARNING: failed to determine number of gettimeofday() arguments" >&2;}
35414 wx_cv_func_gettimeofday_has_2_args
=unknown
35418 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
35421 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
35423 ac_cpp
='$CPP $CPPFLAGS'
35424 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35425 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35426 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
35430 echo "$as_me:$LINENO: result: $wx_cv_func_gettimeofday_has_2_args" >&5
35431 echo "${ECHO_T}$wx_cv_func_gettimeofday_has_2_args" >&6
35433 if test "$wx_cv_func_gettimeofday_has_2_args" != "yes"; then
35434 cat >>confdefs.h
<<\_ACEOF
35435 #define WX_GETTIMEOFDAY_NO_TZ 1
35441 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS typetest"
35445 if test "$wxUSE_SOCKETS" = "yes"; then
35446 if test "$wxUSE_MGL" = "1"; then
35447 { echo "$as_me:$LINENO: WARNING: wxSocket not yet supported under MGL... disabled" >&5
35448 echo "$as_me: WARNING: wxSocket not yet supported under MGL... disabled" >&2;}
35453 if test "$wxUSE_SOCKETS" = "yes"; then
35454 if test "$TOOLKIT" != "MSW"; then
35455 echo "$as_me:$LINENO: checking for socket" >&5
35456 echo $ECHO_N "checking for socket... $ECHO_C" >&6
35457 if test "${ac_cv_func_socket+set}" = set; then
35458 echo $ECHO_N "(cached) $ECHO_C" >&6
35460 cat >conftest.
$ac_ext <<_ACEOF
35463 cat confdefs.h
>>conftest.
$ac_ext
35464 cat >>conftest.
$ac_ext <<_ACEOF
35465 /* end confdefs.h. */
35466 /* Define socket to an innocuous variant, in case <limits.h> declares socket.
35467 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35468 #define socket innocuous_socket
35470 /* System header to define __stub macros and hopefully few prototypes,
35471 which can conflict with char socket (); below.
35472 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35473 <limits.h> exists even on freestanding compilers. */
35476 # include <limits.h>
35478 # include <assert.h>
35483 /* Override any gcc2 internal prototype to avoid an error. */
35488 /* We use char because int might match the return type of a gcc2
35489 builtin and then its argument prototype would still apply. */
35491 /* The GNU C library defines this for functions which it implements
35492 to always fail with ENOSYS. Some functions are actually named
35493 something starting with __ and the normal name is an alias. */
35494 #if defined (__stub_socket) || defined (__stub___socket)
35497 char (*f) () = socket;
35506 return f != socket;
35511 rm -f conftest.
$ac_objext conftest
$ac_exeext
35512 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35513 (eval $ac_link) 2>conftest.er1
35515 grep -v '^ *+' conftest.er1
>conftest.err
35517 cat conftest.err
>&5
35518 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35519 (exit $ac_status); } &&
35520 { ac_try
='test -z "$ac_c_werror_flag"
35521 || test ! -s conftest.err'
35522 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35523 (eval $ac_try) 2>&5
35525 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35526 (exit $ac_status); }; } &&
35527 { ac_try
='test -s conftest$ac_exeext'
35528 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35529 (eval $ac_try) 2>&5
35531 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35532 (exit $ac_status); }; }; then
35533 ac_cv_func_socket
=yes
35535 echo "$as_me: failed program was:" >&5
35536 sed 's/^/| /' conftest.
$ac_ext >&5
35538 ac_cv_func_socket
=no
35540 rm -f conftest.err conftest.
$ac_objext \
35541 conftest
$ac_exeext conftest.
$ac_ext
35543 echo "$as_me:$LINENO: result: $ac_cv_func_socket" >&5
35544 echo "${ECHO_T}$ac_cv_func_socket" >&6
35545 if test $ac_cv_func_socket = yes; then
35549 echo "$as_me:$LINENO: checking for socket in -lsocket" >&5
35550 echo $ECHO_N "checking for socket in -lsocket... $ECHO_C" >&6
35551 if test "${ac_cv_lib_socket_socket+set}" = set; then
35552 echo $ECHO_N "(cached) $ECHO_C" >&6
35554 ac_check_lib_save_LIBS
=$LIBS
35555 LIBS
="-lsocket $LIBS"
35556 cat >conftest.
$ac_ext <<_ACEOF
35559 cat confdefs.h
>>conftest.
$ac_ext
35560 cat >>conftest.
$ac_ext <<_ACEOF
35561 /* end confdefs.h. */
35563 /* Override any gcc2 internal prototype to avoid an error. */
35567 /* We use char because int might match the return type of a gcc2
35568 builtin and then its argument prototype would still apply. */
35578 rm -f conftest.
$ac_objext conftest
$ac_exeext
35579 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35580 (eval $ac_link) 2>conftest.er1
35582 grep -v '^ *+' conftest.er1
>conftest.err
35584 cat conftest.err
>&5
35585 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35586 (exit $ac_status); } &&
35587 { ac_try
='test -z "$ac_c_werror_flag"
35588 || test ! -s conftest.err'
35589 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35590 (eval $ac_try) 2>&5
35592 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35593 (exit $ac_status); }; } &&
35594 { ac_try
='test -s conftest$ac_exeext'
35595 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35596 (eval $ac_try) 2>&5
35598 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35599 (exit $ac_status); }; }; then
35600 ac_cv_lib_socket_socket
=yes
35602 echo "$as_me: failed program was:" >&5
35603 sed 's/^/| /' conftest.
$ac_ext >&5
35605 ac_cv_lib_socket_socket
=no
35607 rm -f conftest.err conftest.
$ac_objext \
35608 conftest
$ac_exeext conftest.
$ac_ext
35609 LIBS
=$ac_check_lib_save_LIBS
35611 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_socket" >&5
35612 echo "${ECHO_T}$ac_cv_lib_socket_socket" >&6
35613 if test $ac_cv_lib_socket_socket = yes; then
35614 if test "$INET_LINK" != " -lsocket"; then
35615 INET_LINK
="$INET_LINK -lsocket"
35619 { echo "$as_me:$LINENO: WARNING: socket library not found - sockets will be disabled" >&5
35620 echo "$as_me: WARNING: socket library not found - sockets will be disabled" >&2;}
35633 if test "$wxUSE_SOCKETS" = "yes" ; then
35634 if test "$TOOLKIT" != "MSW"; then
35636 ac_cpp
='$CXXCPP $CPPFLAGS'
35637 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35638 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35639 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
35641 echo "$as_me:$LINENO: checking what is the type of the third argument of getsockname" >&5
35642 echo $ECHO_N "checking what is the type of the third argument of getsockname... $ECHO_C" >&6
35643 if test "${wx_cv_type_getsockname3+set}" = set; then
35644 echo $ECHO_N "(cached) $ECHO_C" >&6
35647 cat >conftest.
$ac_ext <<_ACEOF
35650 cat confdefs.h
>>conftest.
$ac_ext
35651 cat >>conftest.
$ac_ext <<_ACEOF
35652 /* end confdefs.h. */
35654 #include <sys/types.h>
35655 #include <sys/socket.h>
35662 getsockname(0, 0, &len);
35668 rm -f conftest.
$ac_objext
35669 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35670 (eval $ac_compile) 2>conftest.er1
35672 grep -v '^ *+' conftest.er1
>conftest.err
35674 cat conftest.err
>&5
35675 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35676 (exit $ac_status); } &&
35677 { ac_try
='test -z "$ac_cxx_werror_flag"
35678 || test ! -s conftest.err'
35679 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35680 (eval $ac_try) 2>&5
35682 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35683 (exit $ac_status); }; } &&
35684 { ac_try
='test -s conftest.$ac_objext'
35685 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35686 (eval $ac_try) 2>&5
35688 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35689 (exit $ac_status); }; }; then
35690 wx_cv_type_getsockname3
=socklen_t
35692 echo "$as_me: failed program was:" >&5
35693 sed 's/^/| /' conftest.
$ac_ext >&5
35696 CFLAGS_OLD
="$CFLAGS"
35697 if test "$GCC" = yes ; then
35698 CFLAGS
="$CFLAGS -Werror"
35701 cat >conftest.
$ac_ext <<_ACEOF
35704 cat confdefs.h
>>conftest.
$ac_ext
35705 cat >>conftest.
$ac_ext <<_ACEOF
35706 /* end confdefs.h. */
35708 #include <sys/types.h>
35709 #include <sys/socket.h>
35716 getsockname(0, 0, &len);
35722 rm -f conftest.
$ac_objext
35723 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35724 (eval $ac_compile) 2>conftest.er1
35726 grep -v '^ *+' conftest.er1
>conftest.err
35728 cat conftest.err
>&5
35729 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35730 (exit $ac_status); } &&
35731 { ac_try
='test -z "$ac_cxx_werror_flag"
35732 || test ! -s conftest.err'
35733 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35734 (eval $ac_try) 2>&5
35736 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35737 (exit $ac_status); }; } &&
35738 { ac_try
='test -s conftest.$ac_objext'
35739 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35740 (eval $ac_try) 2>&5
35742 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35743 (exit $ac_status); }; }; then
35744 wx_cv_type_getsockname3
=size_t
35746 echo "$as_me: failed program was:" >&5
35747 sed 's/^/| /' conftest.
$ac_ext >&5
35749 cat >conftest.
$ac_ext <<_ACEOF
35752 cat confdefs.h
>>conftest.
$ac_ext
35753 cat >>conftest.
$ac_ext <<_ACEOF
35754 /* end confdefs.h. */
35756 #include <sys/types.h>
35757 #include <sys/socket.h>
35764 getsockname(0, 0, &len);
35770 rm -f conftest.
$ac_objext
35771 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35772 (eval $ac_compile) 2>conftest.er1
35774 grep -v '^ *+' conftest.er1
>conftest.err
35776 cat conftest.err
>&5
35777 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35778 (exit $ac_status); } &&
35779 { ac_try
='test -z "$ac_cxx_werror_flag"
35780 || test ! -s conftest.err'
35781 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35782 (eval $ac_try) 2>&5
35784 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35785 (exit $ac_status); }; } &&
35786 { ac_try
='test -s conftest.$ac_objext'
35787 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35788 (eval $ac_try) 2>&5
35790 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35791 (exit $ac_status); }; }; then
35792 wx_cv_type_getsockname3
=int
35794 echo "$as_me: failed program was:" >&5
35795 sed 's/^/| /' conftest.
$ac_ext >&5
35797 wx_cv_type_getsockname3
=unknown
35800 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
35803 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
35805 CFLAGS
="$CFLAGS_OLD"
35809 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
35812 echo "$as_me:$LINENO: result: $wx_cv_type_getsockname3" >&5
35813 echo "${ECHO_T}$wx_cv_type_getsockname3" >&6
35815 if test "$wx_cv_type_getsockname3" = "unknown"; then
35817 { echo "$as_me:$LINENO: WARNING: Couldn't find socklen_t synonym for this system" >&5
35818 echo "$as_me: WARNING: Couldn't find socklen_t synonym for this system" >&2;}
35820 cat >>confdefs.h
<<_ACEOF
35821 #define SOCKLEN_T $wx_cv_type_getsockname3
35826 ac_cpp
='$CPP $CPPFLAGS'
35827 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35828 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35829 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
35834 if test "$wxUSE_SOCKETS" = "yes" ; then
35835 cat >>confdefs.h
<<\_ACEOF
35836 #define wxUSE_SOCKETS 1
35839 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS sockets"
35842 if test "$wxUSE_PROTOCOL" = "yes"; then
35843 if test "$wxUSE_SOCKETS" != "yes"; then
35844 { echo "$as_me:$LINENO: WARNING: Protocol classes require sockets... disabled" >&5
35845 echo "$as_me: WARNING: Protocol classes require sockets... disabled" >&2;}
35850 if test "$wxUSE_PROTOCOL" = "yes"; then
35851 cat >>confdefs.h
<<\_ACEOF
35852 #define wxUSE_PROTOCOL 1
35856 if test "$wxUSE_PROTOCOL_HTTP" = "yes"; then
35857 cat >>confdefs.h
<<\_ACEOF
35858 #define wxUSE_PROTOCOL_HTTP 1
35862 if test "$wxUSE_PROTOCOL_FTP" = "yes"; then
35863 cat >>confdefs.h
<<\_ACEOF
35864 #define wxUSE_PROTOCOL_FTP 1
35868 if test "$wxUSE_PROTOCOL_FILE" = "yes"; then
35869 cat >>confdefs.h
<<\_ACEOF
35870 #define wxUSE_PROTOCOL_FILE 1
35875 if test "$wxUSE_FS_INET" = "yes"; then
35876 { echo "$as_me:$LINENO: WARNING: HTTP filesystem require protocol classes... disabled" >&5
35877 echo "$as_me: WARNING: HTTP filesystem require protocol classes... disabled" >&2;}
35882 if test "$wxUSE_URL" = "yes"; then
35883 if test "$wxUSE_PROTOCOL" != "yes"; then
35884 { echo "$as_me:$LINENO: WARNING: wxURL class requires wxProtocol... disabled" >&5
35885 echo "$as_me: WARNING: wxURL class requires wxProtocol... disabled" >&2;}
35888 if test "$wxUSE_URL" = "yes"; then
35889 cat >>confdefs.h
<<\_ACEOF
35890 #define wxUSE_URL 1
35896 if test "$wxUSE_FS_INET" = "yes"; then
35897 cat >>confdefs.h
<<\_ACEOF
35898 #define wxUSE_FS_INET 1
35904 if test "$wxUSE_GUI" = "yes"; then
35906 if test "$TOOLKIT" = "MAC" -o "$TOOLKIT" = "COCOA"; then
35907 { echo "$as_me:$LINENO: WARNING: Joystick not yet supported under Mac OS X... disabled" >&5
35908 echo "$as_me: WARNING: Joystick not yet supported under Mac OS X... disabled" >&2;}
35912 if test "$TOOLKIT" != "MSW"; then
35913 if test "$wxUSE_JOYSTICK" = "yes"; then
35915 for ac_header
in linux
/joystick.h
35917 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
35918 if eval "test \"\${$as_ac_Header+set}\" = set"; then
35919 echo "$as_me:$LINENO: checking for $ac_header" >&5
35920 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
35921 if eval "test \"\${$as_ac_Header+set}\" = set"; then
35922 echo $ECHO_N "(cached) $ECHO_C" >&6
35924 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
35925 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
35927 # Is the header compilable?
35928 echo "$as_me:$LINENO: checking $ac_header usability" >&5
35929 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
35930 cat >conftest.
$ac_ext <<_ACEOF
35933 cat confdefs.h
>>conftest.
$ac_ext
35934 cat >>conftest.
$ac_ext <<_ACEOF
35935 /* end confdefs.h. */
35936 $ac_includes_default
35937 #include <$ac_header>
35939 rm -f conftest.
$ac_objext
35940 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35941 (eval $ac_compile) 2>conftest.er1
35943 grep -v '^ *+' conftest.er1
>conftest.err
35945 cat conftest.err
>&5
35946 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35947 (exit $ac_status); } &&
35948 { ac_try
='test -z "$ac_c_werror_flag"
35949 || test ! -s conftest.err'
35950 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35951 (eval $ac_try) 2>&5
35953 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35954 (exit $ac_status); }; } &&
35955 { ac_try
='test -s conftest.$ac_objext'
35956 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35957 (eval $ac_try) 2>&5
35959 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35960 (exit $ac_status); }; }; then
35961 ac_header_compiler
=yes
35963 echo "$as_me: failed program was:" >&5
35964 sed 's/^/| /' conftest.
$ac_ext >&5
35966 ac_header_compiler
=no
35968 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
35969 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
35970 echo "${ECHO_T}$ac_header_compiler" >&6
35972 # Is the header present?
35973 echo "$as_me:$LINENO: checking $ac_header presence" >&5
35974 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
35975 cat >conftest.
$ac_ext <<_ACEOF
35978 cat confdefs.h
>>conftest.
$ac_ext
35979 cat >>conftest.
$ac_ext <<_ACEOF
35980 /* end confdefs.h. */
35981 #include <$ac_header>
35983 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
35984 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
35986 grep -v '^ *+' conftest.er1
>conftest.err
35988 cat conftest.err
>&5
35989 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35990 (exit $ac_status); } >/dev
/null
; then
35991 if test -s conftest.err
; then
35992 ac_cpp_err
=$ac_c_preproc_warn_flag
35993 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
36000 if test -z "$ac_cpp_err"; then
36001 ac_header_preproc
=yes
36003 echo "$as_me: failed program was:" >&5
36004 sed 's/^/| /' conftest.
$ac_ext >&5
36006 ac_header_preproc
=no
36008 rm -f conftest.err conftest.
$ac_ext
36009 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
36010 echo "${ECHO_T}$ac_header_preproc" >&6
36012 # So? What about this header?
36013 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
36015 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
36016 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
36017 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
36018 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
36019 ac_header_preproc
=yes
36022 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
36023 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
36024 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
36025 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
36026 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
36027 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
36028 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
36029 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
36030 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
36031 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
36032 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
36033 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
36036 ## ----------------------------------------- ##
36037 ## Report this to wx-dev@lists.wxwidgets.org ##
36038 ## ----------------------------------------- ##
36041 sed "s/^/$as_me: WARNING: /" >&2
36044 echo "$as_me:$LINENO: checking for $ac_header" >&5
36045 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
36046 if eval "test \"\${$as_ac_Header+set}\" = set"; then
36047 echo $ECHO_N "(cached) $ECHO_C" >&6
36049 eval "$as_ac_Header=\$ac_header_preproc"
36051 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
36052 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
36055 if test `eval echo '${'$as_ac_Header'}'` = yes; then
36056 cat >>confdefs.h
<<_ACEOF
36057 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
36064 if test "$ac_cv_header_linux_joystick_h" != "yes"; then
36066 { echo "$as_me:$LINENO: WARNING: Joystick not supported by this system... disabled" >&5
36067 echo "$as_me: WARNING: Joystick not supported by this system... disabled" >&2;}
36072 if test "$wxUSE_JOYSTICK" = "yes"; then
36073 cat >>confdefs.h
<<\_ACEOF
36074 #define wxUSE_JOYSTICK 1
36077 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS joytest"
36083 if test "$wxUSE_FONTMAP" = "yes" ; then
36084 cat >>confdefs.h
<<\_ACEOF
36085 #define wxUSE_FONTMAP 1
36090 if test "$wxUSE_UNICODE" = "yes" ; then
36091 cat >>confdefs.h
<<\_ACEOF
36092 #define wxUSE_UNICODE 1
36096 if test "$USE_WIN32" != 1; then
36097 wxUSE_UNICODE_MSLU
=no
36100 if test "$USE_WIN32" = 1 -a "$wxUSE_UNICODE_MSLU" = "yes"; then
36101 echo "$as_me:$LINENO: checking for main in -lunicows" >&5
36102 echo $ECHO_N "checking for main in -lunicows... $ECHO_C" >&6
36103 if test "${ac_cv_lib_unicows_main+set}" = set; then
36104 echo $ECHO_N "(cached) $ECHO_C" >&6
36106 ac_check_lib_save_LIBS
=$LIBS
36107 LIBS
="-lunicows $LIBS"
36108 cat >conftest.
$ac_ext <<_ACEOF
36111 cat confdefs.h
>>conftest.
$ac_ext
36112 cat >>conftest.
$ac_ext <<_ACEOF
36113 /* end confdefs.h. */
36124 rm -f conftest.
$ac_objext conftest
$ac_exeext
36125 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36126 (eval $ac_link) 2>conftest.er1
36128 grep -v '^ *+' conftest.er1
>conftest.err
36130 cat conftest.err
>&5
36131 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36132 (exit $ac_status); } &&
36133 { ac_try
='test -z "$ac_c_werror_flag"
36134 || test ! -s conftest.err'
36135 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36136 (eval $ac_try) 2>&5
36138 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36139 (exit $ac_status); }; } &&
36140 { ac_try
='test -s conftest$ac_exeext'
36141 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36142 (eval $ac_try) 2>&5
36144 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36145 (exit $ac_status); }; }; then
36146 ac_cv_lib_unicows_main
=yes
36148 echo "$as_me: failed program was:" >&5
36149 sed 's/^/| /' conftest.
$ac_ext >&5
36151 ac_cv_lib_unicows_main
=no
36153 rm -f conftest.err conftest.
$ac_objext \
36154 conftest
$ac_exeext conftest.
$ac_ext
36155 LIBS
=$ac_check_lib_save_LIBS
36157 echo "$as_me:$LINENO: result: $ac_cv_lib_unicows_main" >&5
36158 echo "${ECHO_T}$ac_cv_lib_unicows_main" >&6
36159 if test $ac_cv_lib_unicows_main = yes; then
36161 cat >>confdefs.h
<<\_ACEOF
36162 #define wxUSE_UNICODE_MSLU 1
36168 { echo "$as_me:$LINENO: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
36169 Applications will only run on Windows NT/2000/XP!" >&5
36170 echo "$as_me: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
36171 Applications will only run on Windows NT/2000/XP!" >&2;}
36172 wxUSE_UNICODE_MSLU
=no
36179 if test "$wxUSE_wxUSE_EXPERIMENTAL_PRINTF" = "yes"; then
36180 cat >>confdefs.h
<<\_ACEOF
36181 #define wxUSE_EXPERIMENTAL_PRINTF 1
36187 if test "$wxUSE_POSTSCRIPT" = "yes" ; then
36188 cat >>confdefs.h
<<\_ACEOF
36189 #define wxUSE_POSTSCRIPT 1
36194 cat >>confdefs.h
<<\_ACEOF
36195 #define wxUSE_AFM_FOR_POSTSCRIPT 1
36199 cat >>confdefs.h
<<\_ACEOF
36200 #define wxUSE_NORMALIZED_PS_FONTS 1
36205 if test "$wxUSE_CONSTRAINTS" = "yes"; then
36206 cat >>confdefs.h
<<\_ACEOF
36207 #define wxUSE_CONSTRAINTS 1
36210 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS layout"
36213 if test "$wxUSE_MDI" = "yes"; then
36214 cat >>confdefs.h
<<\_ACEOF
36215 #define wxUSE_MDI 1
36219 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
36220 cat >>confdefs.h
<<\_ACEOF
36221 #define wxUSE_MDI_ARCHITECTURE 1
36224 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS mdi"
36228 if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = "yes" ; then
36229 cat >>confdefs.h
<<\_ACEOF
36230 #define wxUSE_DOC_VIEW_ARCHITECTURE 1
36233 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS docview"
36234 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
36235 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS docvwmdi"
36239 if test "$wxUSE_HELP" = "yes"; then
36240 cat >>confdefs.h
<<\_ACEOF
36241 #define wxUSE_HELP 1
36244 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS help"
36246 if test "$wxUSE_MSW" = 1; then
36247 if test "$wxUSE_MS_HTML_HELP" = "yes"; then
36248 cat >>confdefs.h
<<\_ACEOF
36249 #define wxUSE_MS_HTML_HELP 1
36255 if test "$wxUSE_WXHTML_HELP" = "yes"; then
36256 if test "$wxUSE_HTML" = "yes"; then
36257 cat >>confdefs.h
<<\_ACEOF
36258 #define wxUSE_WXHTML_HELP 1
36262 { echo "$as_me:$LINENO: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&5
36263 echo "$as_me: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&2;}
36264 wxUSE_WXHTML_HELP
=no
36269 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
36270 if test "$wxUSE_CONSTRAINTS" != "yes"; then
36271 { echo "$as_me:$LINENO: WARNING: Printing support cannot be used without constraints so it won't be compiled without it" >&5
36272 echo "$as_me: WARNING: Printing support cannot be used without constraints so it won't be compiled without it" >&2;}
36274 cat >>confdefs.h
<<\_ACEOF
36275 #define wxUSE_PRINTING_ARCHITECTURE 1
36279 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS printing"
36282 if test "$wxUSE_PROLOGIO" = "yes" -o "$wxUSE_RESOURCES" = "yes"; then
36283 { { echo "$as_me:$LINENO: error: wxExpr and old-style resources are now available in contrib only" >&5
36284 echo "$as_me: error: wxExpr and old-style resources are now available in contrib only" >&2;}
36285 { (exit 1); exit 1; }; }
36289 if test "$USE_WIN32" = 1 -a \
( "$wxUSE_DATAOBJ" = "yes" \
36290 -o "$wxUSE_CLIPBOARD" = "yes" \
36291 -o "$wxUSE_OLE" = "yes" \
36292 -o "$wxUSE_DRAG_AND_DROP" = "yes" \
) ; then
36294 for ac_header
in ole2.h
36296 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
36297 if eval "test \"\${$as_ac_Header+set}\" = set"; then
36298 echo "$as_me:$LINENO: checking for $ac_header" >&5
36299 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
36300 if eval "test \"\${$as_ac_Header+set}\" = set"; then
36301 echo $ECHO_N "(cached) $ECHO_C" >&6
36303 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
36304 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
36306 # Is the header compilable?
36307 echo "$as_me:$LINENO: checking $ac_header usability" >&5
36308 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
36309 cat >conftest.
$ac_ext <<_ACEOF
36312 cat confdefs.h
>>conftest.
$ac_ext
36313 cat >>conftest.
$ac_ext <<_ACEOF
36314 /* end confdefs.h. */
36315 $ac_includes_default
36316 #include <$ac_header>
36318 rm -f conftest.
$ac_objext
36319 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36320 (eval $ac_compile) 2>conftest.er1
36322 grep -v '^ *+' conftest.er1
>conftest.err
36324 cat conftest.err
>&5
36325 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36326 (exit $ac_status); } &&
36327 { ac_try
='test -z "$ac_c_werror_flag"
36328 || test ! -s conftest.err'
36329 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36330 (eval $ac_try) 2>&5
36332 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36333 (exit $ac_status); }; } &&
36334 { ac_try
='test -s conftest.$ac_objext'
36335 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36336 (eval $ac_try) 2>&5
36338 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36339 (exit $ac_status); }; }; then
36340 ac_header_compiler
=yes
36342 echo "$as_me: failed program was:" >&5
36343 sed 's/^/| /' conftest.
$ac_ext >&5
36345 ac_header_compiler
=no
36347 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
36348 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
36349 echo "${ECHO_T}$ac_header_compiler" >&6
36351 # Is the header present?
36352 echo "$as_me:$LINENO: checking $ac_header presence" >&5
36353 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
36354 cat >conftest.
$ac_ext <<_ACEOF
36357 cat confdefs.h
>>conftest.
$ac_ext
36358 cat >>conftest.
$ac_ext <<_ACEOF
36359 /* end confdefs.h. */
36360 #include <$ac_header>
36362 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
36363 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
36365 grep -v '^ *+' conftest.er1
>conftest.err
36367 cat conftest.err
>&5
36368 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36369 (exit $ac_status); } >/dev
/null
; then
36370 if test -s conftest.err
; then
36371 ac_cpp_err
=$ac_c_preproc_warn_flag
36372 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
36379 if test -z "$ac_cpp_err"; then
36380 ac_header_preproc
=yes
36382 echo "$as_me: failed program was:" >&5
36383 sed 's/^/| /' conftest.
$ac_ext >&5
36385 ac_header_preproc
=no
36387 rm -f conftest.err conftest.
$ac_ext
36388 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
36389 echo "${ECHO_T}$ac_header_preproc" >&6
36391 # So? What about this header?
36392 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
36394 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
36395 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
36396 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
36397 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
36398 ac_header_preproc
=yes
36401 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
36402 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
36403 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
36404 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
36405 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
36406 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
36407 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
36408 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
36409 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
36410 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
36411 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
36412 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
36415 ## ----------------------------------------- ##
36416 ## Report this to wx-dev@lists.wxwidgets.org ##
36417 ## ----------------------------------------- ##
36420 sed "s/^/$as_me: WARNING: /" >&2
36423 echo "$as_me:$LINENO: checking for $ac_header" >&5
36424 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
36425 if eval "test \"\${$as_ac_Header+set}\" = set"; then
36426 echo $ECHO_N "(cached) $ECHO_C" >&6
36428 eval "$as_ac_Header=\$ac_header_preproc"
36430 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
36431 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
36434 if test `eval echo '${'$as_ac_Header'}'` = yes; then
36435 cat >>confdefs.h
<<_ACEOF
36436 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
36444 if test "$ac_cv_header_ole2_h" = "yes" ; then
36445 if test "$GCC" = yes ; then
36449 ac_cpp
='$CXXCPP $CPPFLAGS'
36450 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36451 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36452 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
36455 echo "$as_me:$LINENO: checking if g++ requires -fvtable-thunks" >&5
36456 echo $ECHO_N "checking if g++ requires -fvtable-thunks... $ECHO_C" >&6
36457 cat >conftest.
$ac_ext <<_ACEOF
36460 cat confdefs.h
>>conftest.
$ac_ext
36461 cat >>conftest.
$ac_ext <<_ACEOF
36462 /* end confdefs.h. */
36463 #include <windows.h>
36473 rm -f conftest.
$ac_objext
36474 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36475 (eval $ac_compile) 2>conftest.er1
36477 grep -v '^ *+' conftest.er1
>conftest.err
36479 cat conftest.err
>&5
36480 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36481 (exit $ac_status); } &&
36482 { ac_try
='test -z "$ac_cxx_werror_flag"
36483 || test ! -s conftest.err'
36484 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36485 (eval $ac_try) 2>&5
36487 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36488 (exit $ac_status); }; } &&
36489 { ac_try
='test -s conftest.$ac_objext'
36490 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36491 (eval $ac_try) 2>&5
36493 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36494 (exit $ac_status); }; }; then
36495 echo "$as_me:$LINENO: result: no" >&5
36496 echo "${ECHO_T}no" >&6
36498 echo "$as_me: failed program was:" >&5
36499 sed 's/^/| /' conftest.
$ac_ext >&5
36501 echo "$as_me:$LINENO: result: yes" >&5
36502 echo "${ECHO_T}yes" >&6
36503 CODE_GEN_FLAGS_CXX
="$CODE_GEN_FLAGS_CXX -fvtable-thunks"
36505 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
36507 ac_cpp
='$CPP $CPPFLAGS'
36508 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36509 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36510 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
36512 LIBS
=" -lrpcrt4 -loleaut32 -lole32 -luuid$LIBS"
36513 if test "$wxUSE_OLE" = "yes" ; then
36514 cat >>confdefs.h
<<\_ACEOF
36515 #define wxUSE_OLE 1
36521 if test "$wxUSE_DATAOBJ" = "yes" ; then
36522 cat >>confdefs.h
<<\_ACEOF
36523 #define wxUSE_DATAOBJ 1
36528 { echo "$as_me:$LINENO: WARNING: Some features disabled because OLE headers not found" >&5
36529 echo "$as_me: WARNING: Some features disabled because OLE headers not found" >&2;}
36532 wxUSE_DRAG_AND_DROP
=no
36537 if test "$wxUSE_METAFILE" = "yes"; then
36538 cat >>confdefs.h
<<\_ACEOF
36539 #define wxUSE_METAFILE 1
36543 cat >>confdefs.h
<<\_ACEOF
36544 #define wxUSE_ENH_METAFILE 1
36550 if test "$wxUSE_IPC" = "yes"; then
36551 if test "$wxUSE_SOCKETS" != "yes"; then
36552 { echo "$as_me:$LINENO: WARNING: wxWidgets IPC classes require sockets... disabled" >&5
36553 echo "$as_me: WARNING: wxWidgets IPC classes require sockets... disabled" >&2;}
36556 cat >>confdefs.h
<<\_ACEOF
36557 #define wxUSE_IPC 1
36562 if test "$wxUSE_CLIPBOARD" = "yes"; then
36563 if test "$wxUSE_MGL" = 1; then
36564 { echo "$as_me:$LINENO: WARNING: Clipboard not yet supported under MGL... disabled" >&5
36565 echo "$as_me: WARNING: Clipboard not yet supported under MGL... disabled" >&2;}
36569 if test "$wxUSE_CLIPBOARD" = "yes"; then
36570 cat >>confdefs.h
<<\_ACEOF
36571 #define wxUSE_CLIPBOARD 1
36575 cat >>confdefs.h
<<\_ACEOF
36576 #define wxUSE_DATAOBJ 1
36582 if test "$wxUSE_DRAG_AND_DROP" = "yes" ; then
36583 if test "$wxUSE_GTK" = 1; then
36584 if test "$WXGTK12" != 1; then
36585 { echo "$as_me:$LINENO: WARNING: Drag and drop is only supported under GTK+ 1.2... disabled" >&5
36586 echo "$as_me: WARNING: Drag and drop is only supported under GTK+ 1.2... disabled" >&2;}
36587 wxUSE_DRAG_AND_DROP
=no
36591 if test "$wxUSE_MOTIF" = 1; then
36592 { echo "$as_me:$LINENO: WARNING: Drag and drop not yet supported under Motif... disabled" >&5
36593 echo "$as_me: WARNING: Drag and drop not yet supported under Motif... disabled" >&2;}
36594 wxUSE_DRAG_AND_DROP
=no
36597 if test "$wxUSE_X11" = 1; then
36598 { echo "$as_me:$LINENO: WARNING: Drag and drop not yet supported under X11... disabled" >&5
36599 echo "$as_me: WARNING: Drag and drop not yet supported under X11... disabled" >&2;}
36600 wxUSE_DRAG_AND_DROP
=no
36603 if test "$wxUSE_MGL" = 1; then
36604 { echo "$as_me:$LINENO: WARNING: Drag and drop not yet supported under MGL... disabled" >&5
36605 echo "$as_me: WARNING: Drag and drop not yet supported under MGL... disabled" >&2;}
36606 wxUSE_DRAG_AND_DROP
=no
36609 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
36610 cat >>confdefs.h
<<\_ACEOF
36611 #define wxUSE_DRAG_AND_DROP 1
36618 if test "$wxUSE_DRAG_AND_DROP" = "yes" -o "$wxUSE_CLIPBOARD" = "yes"; then
36619 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS dnd"
36622 if test "$wxUSE_SPLINES" = "yes" ; then
36623 cat >>confdefs.h
<<\_ACEOF
36624 #define wxUSE_SPLINES 1
36631 if test "$wxUSE_CONTROLS" = "yes"; then
36635 if test "$wxUSE_ACCEL" = "yes"; then
36636 cat >>confdefs.h
<<\_ACEOF
36637 #define wxUSE_ACCEL 1
36643 if test "$wxUSE_BUTTON" = "yes"; then
36644 cat >>confdefs.h
<<\_ACEOF
36645 #define wxUSE_BUTTON 1
36651 if test "$wxUSE_BMPBUTTON" = "yes"; then
36652 cat >>confdefs.h
<<\_ACEOF
36653 #define wxUSE_BMPBUTTON 1
36659 if test "$wxUSE_CALCTRL" = "yes"; then
36660 cat >>confdefs.h
<<\_ACEOF
36661 #define wxUSE_CALENDARCTRL 1
36665 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS calendar"
36668 if test "$wxUSE_CARET" = "yes"; then
36669 cat >>confdefs.h
<<\_ACEOF
36670 #define wxUSE_CARET 1
36674 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS caret"
36677 if test "$wxUSE_COMBOBOX" = "yes"; then
36678 cat >>confdefs.h
<<\_ACEOF
36679 #define wxUSE_COMBOBOX 1
36685 if test "$wxUSE_CHOICE" = "yes"; then
36686 cat >>confdefs.h
<<\_ACEOF
36687 #define wxUSE_CHOICE 1
36693 if test "$wxUSE_CHOICEBOOK" = "yes"; then
36694 cat >>confdefs.h
<<\_ACEOF
36695 #define wxUSE_CHOICEBOOK 1
36701 if test "$wxUSE_CHECKBOX" = "yes"; then
36702 cat >>confdefs.h
<<\_ACEOF
36703 #define wxUSE_CHECKBOX 1
36709 if test "$wxUSE_CHECKLST" = "yes"; then
36710 cat >>confdefs.h
<<\_ACEOF
36711 #define wxUSE_CHECKLISTBOX 1
36715 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS checklst"
36718 if test "$wxUSE_DISPLAY" = "yes"; then
36719 cat >>confdefs.h
<<\_ACEOF
36720 #define wxUSE_DISPLAY 1
36723 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS display"
36726 if test "$wxUSE_GAUGE" = "yes"; then
36727 cat >>confdefs.h
<<\_ACEOF
36728 #define wxUSE_GAUGE 1
36734 if test "$wxUSE_GRID" = "yes"; then
36735 cat >>confdefs.h
<<\_ACEOF
36736 #define wxUSE_GRID 1
36740 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS grid"
36743 if test "$wxUSE_IMAGLIST" = "yes"; then
36744 cat >>confdefs.h
<<\_ACEOF
36745 #define wxUSE_IMAGLIST 1
36750 if test "$wxUSE_LISTBOOK" = "yes"; then
36751 cat >>confdefs.h
<<\_ACEOF
36752 #define wxUSE_LISTBOOK 1
36758 if test "$wxUSE_LISTBOX" = "yes"; then
36759 cat >>confdefs.h
<<\_ACEOF
36760 #define wxUSE_LISTBOX 1
36766 if test "$wxUSE_LISTCTRL" = "yes"; then
36767 if test "$wxUSE_IMAGLIST" = "yes"; then
36768 cat >>confdefs.h
<<\_ACEOF
36769 #define wxUSE_LISTCTRL 1
36773 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS listctrl"
36775 { echo "$as_me:$LINENO: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&5
36776 echo "$as_me: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&2;}
36780 if test "$wxUSE_NOTEBOOK" = "yes"; then
36781 cat >>confdefs.h
<<\_ACEOF
36782 #define wxUSE_NOTEBOOK 1
36786 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS notebook"
36790 if test "$wxUSE_RADIOBOX" = "yes"; then
36791 cat >>confdefs.h
<<\_ACEOF
36792 #define wxUSE_RADIOBOX 1
36798 if test "$wxUSE_RADIOBTN" = "yes"; then
36799 cat >>confdefs.h
<<\_ACEOF
36800 #define wxUSE_RADIOBTN 1
36806 if test "$wxUSE_SASH" = "yes"; then
36807 cat >>confdefs.h
<<\_ACEOF
36808 #define wxUSE_SASH 1
36811 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS sashtest"
36814 if test "$wxUSE_SCROLLBAR" = "yes"; then
36815 cat >>confdefs.h
<<\_ACEOF
36816 #define wxUSE_SCROLLBAR 1
36820 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS scroll scrollsub"
36823 if test "$wxUSE_SLIDER" = "yes"; then
36824 cat >>confdefs.h
<<\_ACEOF
36825 #define wxUSE_SLIDER 1
36831 if test "$wxUSE_SPINBTN" = "yes"; then
36832 cat >>confdefs.h
<<\_ACEOF
36833 #define wxUSE_SPINBTN 1
36839 if test "$wxUSE_SPINCTRL" = "yes"; then
36840 cat >>confdefs.h
<<\_ACEOF
36841 #define wxUSE_SPINCTRL 1
36847 if test "$wxUSE_SPLITTER" = "yes"; then
36848 cat >>confdefs.h
<<\_ACEOF
36849 #define wxUSE_SPLITTER 1
36852 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS splitter"
36855 if test "$wxUSE_STATBMP" = "yes"; then
36856 cat >>confdefs.h
<<\_ACEOF
36857 #define wxUSE_STATBMP 1
36863 if test "$wxUSE_STATBOX" = "yes"; then
36864 cat >>confdefs.h
<<\_ACEOF
36865 #define wxUSE_STATBOX 1
36871 if test "$wxUSE_STATTEXT" = "yes"; then
36872 cat >>confdefs.h
<<\_ACEOF
36873 #define wxUSE_STATTEXT 1
36879 if test "$wxUSE_STATLINE" = "yes"; then
36880 cat >>confdefs.h
<<\_ACEOF
36881 #define wxUSE_STATLINE 1
36887 if test "$wxUSE_STATUSBAR" = "yes"; then
36888 cat >>confdefs.h
<<\_ACEOF
36889 #define wxUSE_STATUSBAR 1
36894 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS statbar"
36897 if test "$wxUSE_TABDIALOG" = "yes"; then
36898 cat >>confdefs.h
<<\_ACEOF
36899 #define wxUSE_TAB_DIALOG 1
36902 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS tab"
36905 if test "$wxUSE_TEXTCTRL" = "yes"; then
36906 cat >>confdefs.h
<<\_ACEOF
36907 #define wxUSE_TEXTCTRL 1
36911 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS text"
36914 if test "$wxUSE_TOGGLEBTN" = "yes"; then
36915 if test "$wxUSE_COCOA" = 1 ; then
36916 { echo "$as_me:$LINENO: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&5
36917 echo "$as_me: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&2;}
36920 if test "$wxUSE_PM" = 1; then
36921 { echo "$as_me:$LINENO: WARNING: Toggle button not yet supported under PM... disabled" >&5
36922 echo "$as_me: WARNING: Toggle button not yet supported under PM... disabled" >&2;}
36926 if test "$wxUSE_UNIVERSAL" = "yes"; then
36927 { echo "$as_me:$LINENO: WARNING: Toggle button not yet supported under wxUniversal... disabled" >&5
36928 echo "$as_me: WARNING: Toggle button not yet supported under wxUniversal... disabled" >&2;}
36932 if test "$wxUSE_TOGGLEBTN" = "yes"; then
36933 cat >>confdefs.h
<<\_ACEOF
36934 #define wxUSE_TOGGLEBTN 1
36941 if test "$wxUSE_TOOLBAR_SIMPLE" = "yes"; then
36942 cat >>confdefs.h
<<\_ACEOF
36943 #define wxUSE_TOOLBAR_SIMPLE 1
36946 wxUSE_TOOLBAR
="yes"
36950 if test "$wxUSE_TOOLBAR" = "yes"; then
36951 cat >>confdefs.h
<<\_ACEOF
36952 #define wxUSE_TOOLBAR 1
36957 if test "$wxUSE_TOOLBAR_SIMPLE" != "yes"; then
36958 wxUSE_TOOLBAR_NATIVE
="yes"
36961 if test "$wxUSE_TOOLBAR_NATIVE" = "yes"; then
36962 cat >>confdefs.h
<<\_ACEOF
36963 #define wxUSE_TOOLBAR_NATIVE 1
36969 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS toolbar"
36972 if test "$wxUSE_TOOLTIPS" = "yes"; then
36973 if test "$wxUSE_MOTIF" = 1; then
36974 { echo "$as_me:$LINENO: WARNING: wxTooltip not supported yet under Motif... disabled" >&5
36975 echo "$as_me: WARNING: wxTooltip not supported yet under Motif... disabled" >&2;}
36977 if test "$wxUSE_UNIVERSAL" = "yes"; then
36978 { echo "$as_me:$LINENO: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&5
36979 echo "$as_me: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&2;}
36981 cat >>confdefs.h
<<\_ACEOF
36982 #define wxUSE_TOOLTIPS 1
36989 if test "$wxUSE_TREECTRL" = "yes"; then
36990 if test "$wxUSE_IMAGLIST" = "yes"; then
36991 cat >>confdefs.h
<<\_ACEOF
36992 #define wxUSE_TREECTRL 1
36996 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS treectrl"
36998 { echo "$as_me:$LINENO: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&5
36999 echo "$as_me: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&2;}
37003 if test "$wxUSE_POPUPWIN" = "yes"; then
37004 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1 ; then
37005 { echo "$as_me:$LINENO: WARNING: Popup window not yet supported under Mac OS X... disabled" >&5
37006 echo "$as_me: WARNING: Popup window not yet supported under Mac OS X... disabled" >&2;}
37008 if test "$wxUSE_PM" = 1; then
37009 { echo "$as_me:$LINENO: WARNING: wxPopupWindow not yet supported under PM... disabled" >&5
37010 echo "$as_me: WARNING: wxPopupWindow not yet supported under PM... disabled" >&2;}
37012 cat >>confdefs.h
<<\_ACEOF
37013 #define wxUSE_POPUPWIN 1
37022 if test "$wxUSE_TIPWINDOW" = "yes"; then
37023 if test "$wxUSE_PM" = 1; then
37024 { echo "$as_me:$LINENO: WARNING: wxTipWindow not yet supported under PM... disabled" >&5
37025 echo "$as_me: WARNING: wxTipWindow not yet supported under PM... disabled" >&2;}
37027 cat >>confdefs.h
<<\_ACEOF
37028 #define wxUSE_TIPWINDOW 1
37034 if test "$USES_CONTROLS" = 1; then
37035 cat >>confdefs.h
<<\_ACEOF
37036 #define wxUSE_CONTROLS 1
37042 if test "$wxUSE_ACCESSIBILITY" = "yes"; then
37043 cat >>confdefs.h
<<\_ACEOF
37044 #define wxUSE_ACCESSIBILITY 1
37047 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS access"
37050 if test "$wxUSE_DRAGIMAGE" = "yes"; then
37051 cat >>confdefs.h
<<\_ACEOF
37052 #define wxUSE_DRAGIMAGE 1
37055 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS dragimag"
37058 if test "$wxUSE_EXCEPTIONS" = "yes"; then
37059 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
37060 { echo "$as_me:$LINENO: WARNING: --enable-exceptions can't be used with --enable-no_exceptions" >&5
37061 echo "$as_me: WARNING: --enable-exceptions can't be used with --enable-no_exceptions" >&2;}
37063 cat >>confdefs.h
<<\_ACEOF
37064 #define wxUSE_EXCEPTIONS 1
37067 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS except"
37072 if test "$wxUSE_HTML" = "yes"; then
37073 cat >>confdefs.h
<<\_ACEOF
37074 #define wxUSE_HTML 1
37078 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS html html/about html/help html/helpview html/printing html/test html/virtual html/widget html/zip htlbox"
37079 if test "$wxUSE_MAC" = 1; then
37080 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS html/htmlctrl"
37083 if test "$wxUSE_WEBKIT" = "yes"; then
37084 if test "$wxUSE_MAC" = 1; then
37085 old_CPPFLAGS
="$CPPFLAGS"
37086 CPPFLAGS
="$CPPFLAGS -x objective-c++"
37087 echo "$as_me:$LINENO: checking for WebKit/HIWebView.h" >&5
37088 echo $ECHO_N "checking for WebKit/HIWebView.h... $ECHO_C" >&6
37089 if test "${ac_cv_header_WebKit_HIWebView_h+set}" = set; then
37090 echo $ECHO_N "(cached) $ECHO_C" >&6
37092 cat >conftest.
$ac_ext <<_ACEOF
37095 cat confdefs.h
>>conftest.
$ac_ext
37096 cat >>conftest.
$ac_ext <<_ACEOF
37097 /* end confdefs.h. */
37098 #include <Carbon/Carbon.h>
37100 #include <WebKit/HIWebView.h>
37102 rm -f conftest.
$ac_objext
37103 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37104 (eval $ac_compile) 2>conftest.er1
37106 grep -v '^ *+' conftest.er1
>conftest.err
37108 cat conftest.err
>&5
37109 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37110 (exit $ac_status); } &&
37111 { ac_try
='test -z "$ac_c_werror_flag"
37112 || test ! -s conftest.err'
37113 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37114 (eval $ac_try) 2>&5
37116 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37117 (exit $ac_status); }; } &&
37118 { ac_try
='test -s conftest.$ac_objext'
37119 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37120 (eval $ac_try) 2>&5
37122 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37123 (exit $ac_status); }; }; then
37124 ac_cv_header_WebKit_HIWebView_h
=yes
37126 echo "$as_me: failed program was:" >&5
37127 sed 's/^/| /' conftest.
$ac_ext >&5
37129 ac_cv_header_WebKit_HIWebView_h
=no
37131 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
37133 echo "$as_me:$LINENO: result: $ac_cv_header_WebKit_HIWebView_h" >&5
37134 echo "${ECHO_T}$ac_cv_header_WebKit_HIWebView_h" >&6
37135 if test $ac_cv_header_WebKit_HIWebView_h = yes; then
37137 cat >>confdefs.h
<<\_ACEOF
37138 #define wxUSE_WEBKIT 1
37141 WEBKIT_LINK
="-framework WebKit"
37145 { echo "$as_me:$LINENO: WARNING: WebKit headers not found; disabling wxWebKit" >&5
37146 echo "$as_me: WARNING: WebKit headers not found; disabling wxWebKit" >&2;}
37152 CPPFLAGS
="$old_CPPFLAGS"
37153 elif test "$wxUSE_COCOA" = 1; then
37154 cat >>confdefs.h
<<\_ACEOF
37155 #define wxUSE_WEBKIT 1
37164 if test "$wxUSE_XRC" = "yes"; then
37165 if test "$wxUSE_XML" != "yes"; then
37166 { echo "$as_me:$LINENO: WARNING: XML library not built, XRC resources disabled" >&5
37167 echo "$as_me: WARNING: XML library not built, XRC resources disabled" >&2;}
37170 cat >>confdefs.h
<<\_ACEOF
37171 #define wxUSE_XRC 1
37175 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS xrc"
37179 if test "$wxUSE_MENUS" = "yes"; then
37180 cat >>confdefs.h
<<\_ACEOF
37181 #define wxUSE_MENUS 1
37184 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS menu"
37187 if test "$wxUSE_METAFILE" = "yes"; then
37188 cat >>confdefs.h
<<\_ACEOF
37189 #define wxUSE_METAFILE 1
37194 if test "$wxUSE_MIMETYPE" = "yes"; then
37195 cat >>confdefs.h
<<\_ACEOF
37196 #define wxUSE_MIMETYPE 1
37201 if test "$wxUSE_MINIFRAME" = "yes"; then
37202 cat >>confdefs.h
<<\_ACEOF
37203 #define wxUSE_MINIFRAME 1
37206 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS minifram"
37209 if test "$wxUSE_SYSTEM_OPTIONS" = "yes"; then
37210 cat >>confdefs.h
<<\_ACEOF
37211 #define wxUSE_SYSTEM_OPTIONS 1
37214 if test "$TOOLKIT" = "MSW" -o "$TOOLKIT" = "GTK" -o "$TOOLKIT" = "X11" -o \
37215 "$TOOLKIT" = "MOTIF"; then
37216 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS taskbar"
37221 if test "$wxUSE_VALIDATORS" = "yes"; then
37222 cat >>confdefs.h
<<\_ACEOF
37223 #define wxUSE_VALIDATORS 1
37226 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS validate"
37229 if test "$wxUSE_PALETTE" = "yes" ; then
37230 cat >>confdefs.h
<<\_ACEOF
37231 #define wxUSE_PALETTE 1
37236 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_MSLU" = "yes" ; then
37237 LIBS
=" -lunicows $LIBS"
37241 if test "$wxUSE_IMAGE" = "yes" ; then
37242 cat >>confdefs.h
<<\_ACEOF
37243 #define wxUSE_IMAGE 1
37247 if test "$wxUSE_GIF" = "yes" ; then
37248 cat >>confdefs.h
<<\_ACEOF
37249 #define wxUSE_GIF 1
37254 if test "$wxUSE_PCX" = "yes" ; then
37255 cat >>confdefs.h
<<\_ACEOF
37256 #define wxUSE_PCX 1
37261 if test "$wxUSE_IFF" = "yes" ; then
37262 cat >>confdefs.h
<<\_ACEOF
37263 #define wxUSE_IFF 1
37268 if test "$wxUSE_PNM" = "yes" ; then
37269 cat >>confdefs.h
<<\_ACEOF
37270 #define wxUSE_PNM 1
37275 if test "$wxUSE_XPM" = "yes" ; then
37276 cat >>confdefs.h
<<\_ACEOF
37277 #define wxUSE_XPM 1
37282 if test "$wxUSE_ICO_CUR" = "yes" ; then
37283 cat >>confdefs.h
<<\_ACEOF
37284 #define wxUSE_ICO_CUR 1
37291 if test "$wxUSE_CHOICEDLG" = "yes"; then
37292 cat >>confdefs.h
<<\_ACEOF
37293 #define wxUSE_CHOICEDLG 1
37298 if test "$wxUSE_COLOURDLG" = "yes"; then
37299 cat >>confdefs.h
<<\_ACEOF
37300 #define wxUSE_COLOURDLG 1
37305 if test "$wxUSE_FILEDLG" = "yes"; then
37306 cat >>confdefs.h
<<\_ACEOF
37307 #define wxUSE_FILEDLG 1
37312 if test "$wxUSE_FINDREPLDLG" = "yes"; then
37313 cat >>confdefs.h
<<\_ACEOF
37314 #define wxUSE_FINDREPLDLG 1
37319 if test "$wxUSE_FONTDLG" = "yes"; then
37320 cat >>confdefs.h
<<\_ACEOF
37321 #define wxUSE_FONTDLG 1
37326 if test "$wxUSE_DIRDLG" = "yes"; then
37327 if test "$wxUSE_TREECTRL" != "yes"; then
37328 { echo "$as_me:$LINENO: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&5
37329 echo "$as_me: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&2;}
37331 cat >>confdefs.h
<<\_ACEOF
37332 #define wxUSE_DIRDLG 1
37338 if test "$wxUSE_MSGDLG" = "yes"; then
37339 cat >>confdefs.h
<<\_ACEOF
37340 #define wxUSE_MSGDLG 1
37345 if test "$wxUSE_NUMBERDLG" = "yes"; then
37346 cat >>confdefs.h
<<\_ACEOF
37347 #define wxUSE_NUMBERDLG 1
37352 if test "$wxUSE_PROGRESSDLG" = "yes"; then
37353 if test "$wxUSE_CONSTRAINTS" != "yes"; then
37354 { echo "$as_me:$LINENO: WARNING: wxProgressDialog requires constraints so it won't be compiled without them" >&5
37355 echo "$as_me: WARNING: wxProgressDialog requires constraints so it won't be compiled without them" >&2;}
37357 cat >>confdefs.h
<<\_ACEOF
37358 #define wxUSE_PROGRESSDLG 1
37364 if test "$wxUSE_SPLASH" = "yes"; then
37365 cat >>confdefs.h
<<\_ACEOF
37366 #define wxUSE_SPLASH 1
37369 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS splash"
37372 if test "$wxUSE_STARTUP_TIPS" = "yes"; then
37373 if test "$wxUSE_CONSTRAINTS" != "yes"; then
37374 { echo "$as_me:$LINENO: WARNING: Startup tips requires constraints and won't be compiled without them" >&5
37375 echo "$as_me: WARNING: Startup tips requires constraints and won't be compiled without them" >&2;}
37377 cat >>confdefs.h
<<\_ACEOF
37378 #define wxUSE_STARTUP_TIPS 1
37384 if test "$wxUSE_TEXTDLG" = "yes"; then
37385 cat >>confdefs.h
<<\_ACEOF
37386 #define wxUSE_TEXTDLG 1
37391 if test "$wxUSE_WIZARDDLG" = "yes"; then
37392 cat >>confdefs.h
<<\_ACEOF
37393 #define wxUSE_WIZARDDLG 1
37396 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS wizard"
37400 if test "$cross_compiling" = "yes"; then
37403 OSINFO
=`uname -s -r -m`
37404 OSINFO
="\"$OSINFO\""
37407 cat >>confdefs.h
<<_ACEOF
37408 #define WXWIN_OS_DESCRIPTION $OSINFO
37413 if test "x$prefix" != "xNONE"; then
37416 wxPREFIX
=$ac_default_prefix
37419 cat >>confdefs.h
<<_ACEOF
37420 #define wxINSTALL_PREFIX "$wxPREFIX"
37426 CORE_BASE_LIBS
="net base"
37427 CORE_GUI_LIBS
="adv core"
37429 if test "$wxUSE_XML" = "yes" ; then
37430 CORE_BASE_LIBS
="xml $CORE_BASE_LIBS"
37432 if test "$wxUSE_ODBC" != "no" ; then
37433 CORE_BASE_LIBS
="odbc $CORE_BASE_LIBS"
37434 CORE_GUI_LIBS
="dbgrid $CORE_GUI_LIBS"
37436 if test "$wxUSE_HTML" = "yes" ; then
37437 CORE_GUI_LIBS
="html $CORE_GUI_LIBS"
37439 if test "$wxUSE_XRC" = "yes" ; then
37440 CORE_GUI_LIBS
="xrc $CORE_GUI_LIBS"
37443 if test "$wxUSE_GUI" != "yes"; then
37454 if test "$wxUSE_MAC" = 1 ; then
37455 if test "$wxUSE_SOUND" = "yes"; then
37456 LDFLAGS
="$LDFLAGS -framework QuickTime"
37458 if test "$USE_DARWIN" = 1; then
37459 LDFLAGS
="$LDFLAGS -framework IOKit"
37461 LDFLAGS
="$LDFLAGS -framework Carbon -framework Cocoa -framework System"
37463 if test "$wxUSE_COCOA" = 1 ; then
37464 LDFLAGS
="$LDFLAGS -framework Cocoa -framework System"
37468 LIBS
="$ZLIB_LINK $POSIX4_LINK $INET_LINK $WCHAR_LINK $DL_LINK $LIBS"
37475 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37476 echo "$as_me:$LINENO: checking for $ac_func" >&5
37477 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
37478 if eval "test \"\${$as_ac_var+set}\" = set"; then
37479 echo $ECHO_N "(cached) $ECHO_C" >&6
37481 cat >conftest.
$ac_ext <<_ACEOF
37484 cat confdefs.h
>>conftest.
$ac_ext
37485 cat >>conftest.
$ac_ext <<_ACEOF
37486 /* end confdefs.h. */
37487 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37488 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37489 #define $ac_func innocuous_$ac_func
37491 /* System header to define __stub macros and hopefully few prototypes,
37492 which can conflict with char $ac_func (); below.
37493 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37494 <limits.h> exists even on freestanding compilers. */
37497 # include <limits.h>
37499 # include <assert.h>
37504 /* Override any gcc2 internal prototype to avoid an error. */
37509 /* We use char because int might match the return type of a gcc2
37510 builtin and then its argument prototype would still apply. */
37512 /* The GNU C library defines this for functions which it implements
37513 to always fail with ENOSYS. Some functions are actually named
37514 something starting with __ and the normal name is an alias. */
37515 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
37518 char (*f) () = $ac_func;
37527 return f != $ac_func;
37532 rm -f conftest.
$ac_objext conftest
$ac_exeext
37533 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37534 (eval $ac_link) 2>conftest.er1
37536 grep -v '^ *+' conftest.er1
>conftest.err
37538 cat conftest.err
>&5
37539 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37540 (exit $ac_status); } &&
37541 { ac_try
='test -z "$ac_c_werror_flag"
37542 || test ! -s conftest.err'
37543 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37544 (eval $ac_try) 2>&5
37546 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37547 (exit $ac_status); }; } &&
37548 { ac_try
='test -s conftest$ac_exeext'
37549 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37550 (eval $ac_try) 2>&5
37552 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37553 (exit $ac_status); }; }; then
37554 eval "$as_ac_var=yes"
37556 echo "$as_me: failed program was:" >&5
37557 sed 's/^/| /' conftest.
$ac_ext >&5
37559 eval "$as_ac_var=no"
37561 rm -f conftest.err conftest.
$ac_objext \
37562 conftest
$ac_exeext conftest.
$ac_ext
37564 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
37565 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
37566 if test `eval echo '${'$as_ac_var'}'` = yes; then
37567 cat >>confdefs.h
<<_ACEOF
37568 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37575 for ac_func
in floor
37577 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37578 echo "$as_me:$LINENO: checking for $ac_func" >&5
37579 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
37580 if eval "test \"\${$as_ac_var+set}\" = set"; then
37581 echo $ECHO_N "(cached) $ECHO_C" >&6
37583 cat >conftest.
$ac_ext <<_ACEOF
37586 cat confdefs.h
>>conftest.
$ac_ext
37587 cat >>conftest.
$ac_ext <<_ACEOF
37588 /* end confdefs.h. */
37589 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37590 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37591 #define $ac_func innocuous_$ac_func
37593 /* System header to define __stub macros and hopefully few prototypes,
37594 which can conflict with char $ac_func (); below.
37595 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37596 <limits.h> exists even on freestanding compilers. */
37599 # include <limits.h>
37601 # include <assert.h>
37606 /* Override any gcc2 internal prototype to avoid an error. */
37611 /* We use char because int might match the return type of a gcc2
37612 builtin and then its argument prototype would still apply. */
37614 /* The GNU C library defines this for functions which it implements
37615 to always fail with ENOSYS. Some functions are actually named
37616 something starting with __ and the normal name is an alias. */
37617 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
37620 char (*f) () = $ac_func;
37629 return f != $ac_func;
37634 rm -f conftest.
$ac_objext conftest
$ac_exeext
37635 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37636 (eval $ac_link) 2>conftest.er1
37638 grep -v '^ *+' conftest.er1
>conftest.err
37640 cat conftest.err
>&5
37641 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37642 (exit $ac_status); } &&
37643 { ac_try
='test -z "$ac_c_werror_flag"
37644 || test ! -s conftest.err'
37645 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37646 (eval $ac_try) 2>&5
37648 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37649 (exit $ac_status); }; } &&
37650 { ac_try
='test -s conftest$ac_exeext'
37651 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37652 (eval $ac_try) 2>&5
37654 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37655 (exit $ac_status); }; }; then
37656 eval "$as_ac_var=yes"
37658 echo "$as_me: failed program was:" >&5
37659 sed 's/^/| /' conftest.
$ac_ext >&5
37661 eval "$as_ac_var=no"
37663 rm -f conftest.err conftest.
$ac_objext \
37664 conftest
$ac_exeext conftest.
$ac_ext
37666 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
37667 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
37668 if test `eval echo '${'$as_ac_var'}'` = yes; then
37669 cat >>confdefs.h
<<_ACEOF
37670 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37676 echo "$as_me:$LINENO: checking if floating point functions link without -lm" >&5
37677 echo $ECHO_N "checking if floating point functions link without -lm... $ECHO_C" >&6
37678 if test "$have_cos" = 1 -a "$have_floor" = 1; then
37679 echo "$as_me:$LINENO: result: yes" >&5
37680 echo "${ECHO_T}yes" >&6
37682 echo "$as_me:$LINENO: result: no" >&5
37683 echo "${ECHO_T}no" >&6
37685 # use different functions to avoid configure caching
37691 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37692 echo "$as_me:$LINENO: checking for $ac_func" >&5
37693 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
37694 if eval "test \"\${$as_ac_var+set}\" = set"; then
37695 echo $ECHO_N "(cached) $ECHO_C" >&6
37697 cat >conftest.
$ac_ext <<_ACEOF
37700 cat confdefs.h
>>conftest.
$ac_ext
37701 cat >>conftest.
$ac_ext <<_ACEOF
37702 /* end confdefs.h. */
37703 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37704 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37705 #define $ac_func innocuous_$ac_func
37707 /* System header to define __stub macros and hopefully few prototypes,
37708 which can conflict with char $ac_func (); below.
37709 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37710 <limits.h> exists even on freestanding compilers. */
37713 # include <limits.h>
37715 # include <assert.h>
37720 /* Override any gcc2 internal prototype to avoid an error. */
37725 /* We use char because int might match the return type of a gcc2
37726 builtin and then its argument prototype would still apply. */
37728 /* The GNU C library defines this for functions which it implements
37729 to always fail with ENOSYS. Some functions are actually named
37730 something starting with __ and the normal name is an alias. */
37731 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
37734 char (*f) () = $ac_func;
37743 return f != $ac_func;
37748 rm -f conftest.
$ac_objext conftest
$ac_exeext
37749 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37750 (eval $ac_link) 2>conftest.er1
37752 grep -v '^ *+' conftest.er1
>conftest.err
37754 cat conftest.err
>&5
37755 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37756 (exit $ac_status); } &&
37757 { ac_try
='test -z "$ac_c_werror_flag"
37758 || test ! -s conftest.err'
37759 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37760 (eval $ac_try) 2>&5
37762 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37763 (exit $ac_status); }; } &&
37764 { ac_try
='test -s conftest$ac_exeext'
37765 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37766 (eval $ac_try) 2>&5
37768 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37769 (exit $ac_status); }; }; then
37770 eval "$as_ac_var=yes"
37772 echo "$as_me: failed program was:" >&5
37773 sed 's/^/| /' conftest.
$ac_ext >&5
37775 eval "$as_ac_var=no"
37777 rm -f conftest.err conftest.
$ac_objext \
37778 conftest
$ac_exeext conftest.
$ac_ext
37780 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
37781 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
37782 if test `eval echo '${'$as_ac_var'}'` = yes; then
37783 cat >>confdefs.h
<<_ACEOF
37784 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37791 for ac_func
in ceil
37793 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37794 echo "$as_me:$LINENO: checking for $ac_func" >&5
37795 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
37796 if eval "test \"\${$as_ac_var+set}\" = set"; then
37797 echo $ECHO_N "(cached) $ECHO_C" >&6
37799 cat >conftest.
$ac_ext <<_ACEOF
37802 cat confdefs.h
>>conftest.
$ac_ext
37803 cat >>conftest.
$ac_ext <<_ACEOF
37804 /* end confdefs.h. */
37805 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37806 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37807 #define $ac_func innocuous_$ac_func
37809 /* System header to define __stub macros and hopefully few prototypes,
37810 which can conflict with char $ac_func (); below.
37811 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37812 <limits.h> exists even on freestanding compilers. */
37815 # include <limits.h>
37817 # include <assert.h>
37822 /* Override any gcc2 internal prototype to avoid an error. */
37827 /* We use char because int might match the return type of a gcc2
37828 builtin and then its argument prototype would still apply. */
37830 /* The GNU C library defines this for functions which it implements
37831 to always fail with ENOSYS. Some functions are actually named
37832 something starting with __ and the normal name is an alias. */
37833 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
37836 char (*f) () = $ac_func;
37845 return f != $ac_func;
37850 rm -f conftest.
$ac_objext conftest
$ac_exeext
37851 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37852 (eval $ac_link) 2>conftest.er1
37854 grep -v '^ *+' conftest.er1
>conftest.err
37856 cat conftest.err
>&5
37857 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37858 (exit $ac_status); } &&
37859 { ac_try
='test -z "$ac_c_werror_flag"
37860 || test ! -s conftest.err'
37861 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37862 (eval $ac_try) 2>&5
37864 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37865 (exit $ac_status); }; } &&
37866 { ac_try
='test -s conftest$ac_exeext'
37867 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37868 (eval $ac_try) 2>&5
37870 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37871 (exit $ac_status); }; }; then
37872 eval "$as_ac_var=yes"
37874 echo "$as_me: failed program was:" >&5
37875 sed 's/^/| /' conftest.
$ac_ext >&5
37877 eval "$as_ac_var=no"
37879 rm -f conftest.err conftest.
$ac_objext \
37880 conftest
$ac_exeext conftest.
$ac_ext
37882 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
37883 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
37884 if test `eval echo '${'$as_ac_var'}'` = yes; then
37885 cat >>confdefs.h
<<_ACEOF
37886 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37892 echo "$as_me:$LINENO: checking if floating point functions link with -lm" >&5
37893 echo $ECHO_N "checking if floating point functions link with -lm... $ECHO_C" >&6
37894 if test "$have_sin" = 1 -a "$have_ceil" = 1; then
37895 echo "$as_me:$LINENO: result: yes" >&5
37896 echo "${ECHO_T}yes" >&6
37898 echo "$as_me:$LINENO: result: no" >&5
37899 echo "${ECHO_T}no" >&6
37900 # not sure we should warn the user, crash, etc.
37904 if test "$wxUSE_GUI" = "yes"; then
37907 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS artprov controls dialogs \
37908 drawing dynamic erase event exec font image \
37909 minimal propsize rotate shaped widgets render"
37911 if test "$wxUSE_MONOLITHIC" != "yes"; then
37912 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS console"
37915 SAMPLES_SUBDIRS
="console"
37919 INCLUDES
="-I\${top_builddir}lib/wx/include/${TOOLCHAIN_FULLNAME} \
37920 -I\${top_srcdir}/include $TOOLKIT_INCLUDE"
37922 if test "$GXX" = yes ; then
37923 CXXWARNINGS
="-Wall"
37926 EXTRA_CFLAGS
="$WXDEBUG $WXODBCFLAG $PROFILE $OPTIMISE"
37928 CPPFLAGS
=`echo $WXDEBUG_DEFINE $INCLUDES $CPPFLAGS`
37929 CFLAGS
=`echo $CODE_GEN_FLAGS $EXTRA_CFLAGS $CFLAGS $CXXWARNINGS`
37930 CXXFLAGS
=`echo $CODE_GEN_FLAGS $CODE_GEN_FLAGS_CXX $EXTRA_CFLAGS $CXXFLAGS $CXXWARNINGS`
37934 EXTRALIBS
="$LDFLAGS $LDFLAGS_VERSIONING $LIBS $DMALLOC_LIBS"
37935 EXTRALIBS_XML
="$EXPAT_LINK"
37936 EXTRALIBS_HTML
="$MSPACK_LINK"
37937 EXTRALIBS_ODBC
="$ODBC_LINK"
37938 if test "$wxUSE_GUI" = "yes"; then
37939 EXTRALIBS_GUI
=`echo $GUI_TK_LIBRARY $PNG_LINK $JPEG_LINK $TIFF_LINK $WEBKIT_LINK`
37941 if test "$wxUSE_OPENGL" = "yes"; then
37942 EXTRALIBS_OPENGL
="$LDFLAGS_GL $OPENGL_LIBS"
37945 LDFLAGS
="$LDFLAGS $PROFILE"
37947 if test "$wxUSE_GTK" = 1; then
37950 WXCONFIG_INCLUDE
="$TOOLKIT_INCLUDE"
37953 WXCONFIG_EXTRALIBS
="$LIBS"
37955 if test "$wxUSE_REGEX" = "builtin" ; then
37956 wxconfig_3rdparty
="$wxconfig_3rdparty regex${lib_unicode_suffix}"
37958 if test "$wxUSE_EXPAT" = "builtin" ; then
37959 wxconfig_3rdparty
="$wxconfig_3rdparty expat"
37961 if test "$wxUSE_ODBC" = "builtin" ; then
37962 wxconfig_3rdparty
="$wxconfig_3rdparty odbc"
37964 if test "$wxUSE_LIBTIFF" = "builtin" ; then
37965 wxconfig_3rdparty
="$wxconfig_3rdparty tiff"
37967 if test "$wxUSE_LIBJPEG" = "builtin" ; then
37968 wxconfig_3rdparty
="$wxconfig_3rdparty jpeg"
37970 if test "$wxUSE_LIBPNG" = "builtin" ; then
37971 wxconfig_3rdparty
="$wxconfig_3rdparty png"
37973 if test "$wxUSE_ZLIB" = "builtin" ; then
37974 wxconfig_3rdparty
="$wxconfig_3rdparty zlib"
37976 if test "$wxUSE_ODBC" = "builtin" ; then
37977 wxconfig_3rdparty
="$wxconfig_3rdparty odbc"
37980 for i
in $wxconfig_3rdparty ; do
37981 WXCONFIG_EXTRALIBS
="$WXCONFIG_EXTRALIBS -lwx${i}${lib_debug_suffix}${WX_LIB_FLAVOUR}-${WX_RELEASE}${HOST_SUFFIX}"
37985 if test "x$wxUSE_UNIVERSAL" = "xyes" ; then
37999 if test $wxUSE_MONOLITHIC = "yes" ; then
38005 if test $wxUSE_PLUGINS = "yes" ; then
38011 if test $wxUSE_ODBC != "no" ; then
38017 if test $wxUSE_OFFICIAL_BUILD = "yes" ; then
38044 TOOLKIT_LOWERCASE
=`echo $TOOLKIT | tr "[A-Z]" "[a-z]"`
38055 TOOLKIT_USER
="GTK+"
38056 if test "$WXGTK20" = 1; then
38057 TOOLKIT_USER
="$TOOLKIT_USER 2"
38062 TOOLKIT_USER
=$TOOLKIT_LOWERCASE
38067 if test "x$BAKEFILE_HOST" = "x"; then
38068 BAKEFILE_HOST
="${host}"
38071 if test "x$BAKEFILE_CHECK_BASICS" != "xno"; then
38073 if test -n "$ac_tool_prefix"; then
38074 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
38075 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
38076 echo "$as_me:$LINENO: checking for $ac_word" >&5
38077 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
38078 if test "${ac_cv_prog_RANLIB+set}" = set; then
38079 echo $ECHO_N "(cached) $ECHO_C" >&6
38081 if test -n "$RANLIB"; then
38082 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
38084 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
38085 for as_dir
in $PATH
38088 test -z "$as_dir" && as_dir
=.
38089 for ac_exec_ext
in '' $ac_executable_extensions; do
38090 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
38091 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
38092 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
38100 RANLIB
=$ac_cv_prog_RANLIB
38101 if test -n "$RANLIB"; then
38102 echo "$as_me:$LINENO: result: $RANLIB" >&5
38103 echo "${ECHO_T}$RANLIB" >&6
38105 echo "$as_me:$LINENO: result: no" >&5
38106 echo "${ECHO_T}no" >&6
38110 if test -z "$ac_cv_prog_RANLIB"; then
38111 ac_ct_RANLIB
=$RANLIB
38112 # Extract the first word of "ranlib", so it can be a program name with args.
38113 set dummy ranlib
; ac_word
=$2
38114 echo "$as_me:$LINENO: checking for $ac_word" >&5
38115 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
38116 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
38117 echo $ECHO_N "(cached) $ECHO_C" >&6
38119 if test -n "$ac_ct_RANLIB"; then
38120 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
38122 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
38123 for as_dir
in $PATH
38126 test -z "$as_dir" && as_dir
=.
38127 for ac_exec_ext
in '' $ac_executable_extensions; do
38128 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
38129 ac_cv_prog_ac_ct_RANLIB
="ranlib"
38130 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
38136 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB
=":"
38139 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
38140 if test -n "$ac_ct_RANLIB"; then
38141 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
38142 echo "${ECHO_T}$ac_ct_RANLIB" >&6
38144 echo "$as_me:$LINENO: result: no" >&5
38145 echo "${ECHO_T}no" >&6
38148 RANLIB
=$ac_ct_RANLIB
38150 RANLIB
="$ac_cv_prog_RANLIB"
38153 # Find a good install program. We prefer a C program (faster),
38154 # so one script is as good as another. But avoid the broken or
38155 # incompatible versions:
38156 # SysV /etc/install, /usr/sbin/install
38157 # SunOS /usr/etc/install
38158 # IRIX /sbin/install
38160 # AmigaOS /C/install, which installs bootblocks on floppy discs
38161 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
38162 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
38163 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
38164 # OS/2's system install, which has a completely different semantic
38165 # ./install, which can be erroneously created by make from ./install.sh.
38166 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
38167 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
38168 if test -z "$INSTALL"; then
38169 if test "${ac_cv_path_install+set}" = set; then
38170 echo $ECHO_N "(cached) $ECHO_C" >&6
38172 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
38173 for as_dir
in $PATH
38176 test -z "$as_dir" && as_dir
=.
38177 # Account for people who put trailing slashes in PATH elements.
38179 .
/ | .
// | /cC
/* | \
38180 /etc
/* | /usr
/sbin
/* | /usr
/etc
/* | /sbin
/* | /usr
/afsws
/bin
/* | \
38181 ?
:\\/os2
\\/install\\/* | ?
:\\/OS2
\\/INSTALL
\\/* | \
38184 # OSF1 and SCO ODT 3.0 have their own names for install.
38185 # Don't use installbsd from OSF since it installs stuff as root
38187 for ac_prog
in ginstall scoinst
install; do
38188 for ac_exec_ext
in '' $ac_executable_extensions; do
38189 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
38190 if test $ac_prog = install &&
38191 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
38192 # AIX install. It has an incompatible calling convention.
38194 elif test $ac_prog = install &&
38195 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
38196 # program-specific install script used by HP pwplus--don't use.
38199 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
38211 if test "${ac_cv_path_install+set}" = set; then
38212 INSTALL
=$ac_cv_path_install
38214 # As a last resort, use the slow shell script. We don't cache a
38215 # path for INSTALL within a source directory, because that will
38216 # break other packages using the cache if that directory is
38217 # removed, or if the path is relative.
38218 INSTALL
=$ac_install_sh
38221 echo "$as_me:$LINENO: result: $INSTALL" >&5
38222 echo "${ECHO_T}$INSTALL" >&6
38224 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
38225 # It thinks the first close brace ends the variable substitution.
38226 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
38228 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
38230 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
38232 echo "$as_me:$LINENO: checking whether ln -s works" >&5
38233 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
38235 if test "$LN_S" = "ln -s"; then
38236 echo "$as_me:$LINENO: result: yes" >&5
38237 echo "${ECHO_T}yes" >&6
38239 echo "$as_me:$LINENO: result: no, using $LN_S" >&5
38240 echo "${ECHO_T}no, using $LN_S" >&6
38244 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
38245 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
38246 set dummy
${MAKE-make}; ac_make
=`echo "$2" | sed 'y,:./+-,___p_,'`
38247 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
38248 echo $ECHO_N "(cached) $ECHO_C" >&6
38250 cat >conftest.
make <<\_ACEOF
38252 @
echo 'ac_maketemp="$(MAKE)"'
38254 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
38255 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
38256 if test -n "$ac_maketemp"; then
38257 eval ac_cv_prog_make_
${ac_make}_set
=yes
38259 eval ac_cv_prog_make_
${ac_make}_set
=no
38261 rm -f conftest.
make
38263 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
38264 echo "$as_me:$LINENO: result: yes" >&5
38265 echo "${ECHO_T}yes" >&6
38268 echo "$as_me:$LINENO: result: no" >&5
38269 echo "${ECHO_T}no" >&6
38270 SET_MAKE
="MAKE=${MAKE-make}"
38275 if test -n "$ac_tool_prefix"; then
38276 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
38277 set dummy
${ac_tool_prefix}ar; ac_word
=$2
38278 echo "$as_me:$LINENO: checking for $ac_word" >&5
38279 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
38280 if test "${ac_cv_prog_AR+set}" = set; then
38281 echo $ECHO_N "(cached) $ECHO_C" >&6
38283 if test -n "$AR"; then
38284 ac_cv_prog_AR
="$AR" # Let the user override the test.
38286 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
38287 for as_dir
in $PATH
38290 test -z "$as_dir" && as_dir
=.
38291 for ac_exec_ext
in '' $ac_executable_extensions; do
38292 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
38293 ac_cv_prog_AR
="${ac_tool_prefix}ar"
38294 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
38303 if test -n "$AR"; then
38304 echo "$as_me:$LINENO: result: $AR" >&5
38305 echo "${ECHO_T}$AR" >&6
38307 echo "$as_me:$LINENO: result: no" >&5
38308 echo "${ECHO_T}no" >&6
38312 if test -z "$ac_cv_prog_AR"; then
38314 # Extract the first word of "ar", so it can be a program name with args.
38315 set dummy
ar; ac_word
=$2
38316 echo "$as_me:$LINENO: checking for $ac_word" >&5
38317 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
38318 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
38319 echo $ECHO_N "(cached) $ECHO_C" >&6
38321 if test -n "$ac_ct_AR"; then
38322 ac_cv_prog_ac_ct_AR
="$ac_ct_AR" # Let the user override the test.
38324 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
38325 for as_dir
in $PATH
38328 test -z "$as_dir" && as_dir
=.
38329 for ac_exec_ext
in '' $ac_executable_extensions; do
38330 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
38331 ac_cv_prog_ac_ct_AR
="ar"
38332 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
38338 test -z "$ac_cv_prog_ac_ct_AR" && ac_cv_prog_ac_ct_AR
="ar"
38341 ac_ct_AR
=$ac_cv_prog_ac_ct_AR
38342 if test -n "$ac_ct_AR"; then
38343 echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
38344 echo "${ECHO_T}$ac_ct_AR" >&6
38346 echo "$as_me:$LINENO: result: no" >&5
38347 echo "${ECHO_T}no" >&6
38352 AR
="$ac_cv_prog_AR"
38355 if test -n "$ac_tool_prefix"; then
38356 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
38357 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
38358 echo "$as_me:$LINENO: checking for $ac_word" >&5
38359 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
38360 if test "${ac_cv_prog_STRIP+set}" = set; then
38361 echo $ECHO_N "(cached) $ECHO_C" >&6
38363 if test -n "$STRIP"; then
38364 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
38366 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
38367 for as_dir
in $PATH
38370 test -z "$as_dir" && as_dir
=.
38371 for ac_exec_ext
in '' $ac_executable_extensions; do
38372 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
38373 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
38374 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
38382 STRIP
=$ac_cv_prog_STRIP
38383 if test -n "$STRIP"; then
38384 echo "$as_me:$LINENO: result: $STRIP" >&5
38385 echo "${ECHO_T}$STRIP" >&6
38387 echo "$as_me:$LINENO: result: no" >&5
38388 echo "${ECHO_T}no" >&6
38392 if test -z "$ac_cv_prog_STRIP"; then
38394 # Extract the first word of "strip", so it can be a program name with args.
38395 set dummy strip
; ac_word
=$2
38396 echo "$as_me:$LINENO: checking for $ac_word" >&5
38397 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
38398 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
38399 echo $ECHO_N "(cached) $ECHO_C" >&6
38401 if test -n "$ac_ct_STRIP"; then
38402 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
38404 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
38405 for as_dir
in $PATH
38408 test -z "$as_dir" && as_dir
=.
38409 for ac_exec_ext
in '' $ac_executable_extensions; do
38410 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
38411 ac_cv_prog_ac_ct_STRIP
="strip"
38412 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
38418 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP
=":"
38421 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
38422 if test -n "$ac_ct_STRIP"; then
38423 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
38424 echo "${ECHO_T}$ac_ct_STRIP" >&6
38426 echo "$as_me:$LINENO: result: no" >&5
38427 echo "${ECHO_T}no" >&6
38432 STRIP
="$ac_cv_prog_STRIP"
38435 if test -n "$ac_tool_prefix"; then
38436 # Extract the first word of "${ac_tool_prefix}nm", so it can be a program name with args.
38437 set dummy
${ac_tool_prefix}nm
; ac_word
=$2
38438 echo "$as_me:$LINENO: checking for $ac_word" >&5
38439 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
38440 if test "${ac_cv_prog_NM+set}" = set; then
38441 echo $ECHO_N "(cached) $ECHO_C" >&6
38443 if test -n "$NM"; then
38444 ac_cv_prog_NM
="$NM" # Let the user override the test.
38446 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
38447 for as_dir
in $PATH
38450 test -z "$as_dir" && as_dir
=.
38451 for ac_exec_ext
in '' $ac_executable_extensions; do
38452 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
38453 ac_cv_prog_NM
="${ac_tool_prefix}nm"
38454 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
38463 if test -n "$NM"; then
38464 echo "$as_me:$LINENO: result: $NM" >&5
38465 echo "${ECHO_T}$NM" >&6
38467 echo "$as_me:$LINENO: result: no" >&5
38468 echo "${ECHO_T}no" >&6
38472 if test -z "$ac_cv_prog_NM"; then
38474 # Extract the first word of "nm", so it can be a program name with args.
38475 set dummy nm
; ac_word
=$2
38476 echo "$as_me:$LINENO: checking for $ac_word" >&5
38477 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
38478 if test "${ac_cv_prog_ac_ct_NM+set}" = set; then
38479 echo $ECHO_N "(cached) $ECHO_C" >&6
38481 if test -n "$ac_ct_NM"; then
38482 ac_cv_prog_ac_ct_NM
="$ac_ct_NM" # Let the user override the test.
38484 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
38485 for as_dir
in $PATH
38488 test -z "$as_dir" && as_dir
=.
38489 for ac_exec_ext
in '' $ac_executable_extensions; do
38490 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
38491 ac_cv_prog_ac_ct_NM
="nm"
38492 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
38498 test -z "$ac_cv_prog_ac_ct_NM" && ac_cv_prog_ac_ct_NM
=":"
38501 ac_ct_NM
=$ac_cv_prog_ac_ct_NM
38502 if test -n "$ac_ct_NM"; then
38503 echo "$as_me:$LINENO: result: $ac_ct_NM" >&5
38504 echo "${ECHO_T}$ac_ct_NM" >&6
38506 echo "$as_me:$LINENO: result: no" >&5
38507 echo "${ECHO_T}no" >&6
38512 NM
="$ac_cv_prog_NM"
38516 case ${BAKEFILE_HOST} in
38518 INSTALL_DIR
="mkdir -p"
38520 *) INSTALL_DIR
="$INSTALL -d"
38526 case ${BAKEFILE_HOST} in
38527 *-*-cygwin* | *-*-mingw32* )
38528 LDFLAGS_GUI
="-mwindows"
38534 echo "$as_me:$LINENO: checking if make is GNU make" >&5
38535 echo $ECHO_N "checking if make is GNU make... $ECHO_C" >&6
38536 if test "${bakefile_cv_prog_makeisgnu+set}" = set; then
38537 echo $ECHO_N "(cached) $ECHO_C" >&6
38540 if ( ${SHELL-sh} -c "${MAKE-make} --version" 2> /dev
/null
|
38541 egrep -s GNU
> /dev
/null
); then
38542 bakefile_cv_prog_makeisgnu
="yes"
38544 bakefile_cv_prog_makeisgnu
="no"
38548 echo "$as_me:$LINENO: result: $bakefile_cv_prog_makeisgnu" >&5
38549 echo "${ECHO_T}$bakefile_cv_prog_makeisgnu" >&6
38551 if test "x$bakefile_cv_prog_makeisgnu" = "xyes"; then
38566 if test "x$BAKEFILE_FORCE_PLATFORM" = "x"; then
38567 case "${BAKEFILE_HOST}" in
38568 *-*-cygwin* | *-*-mingw32* )
38574 *-pc-os2_emx | *-pc-os2-emx )
38577 powerpc
-*-darwin* )
38586 case "$BAKEFILE_FORCE_PLATFORM" in
38604 { { echo "$as_me:$LINENO: error: Unknown platform: $BAKEFILE_FORCE_PLATFORM" >&5
38605 echo "$as_me: error: Unknown platform: $BAKEFILE_FORCE_PLATFORM" >&2;}
38606 { (exit 1); exit 1; }; }
38619 # Check whether --enable-omf or --disable-omf was given.
38620 if test "${enable_omf+set}" = set; then
38621 enableval
="$enable_omf"
38622 bk_os2_use_omf
="$enableval"
38625 case "${BAKEFILE_HOST}" in
38627 CFLAGS
="$CFLAGS -fno-common"
38628 CXXFLAGS
="$CXXFLAGS -fno-common"
38631 *-pc-os2_emx | *-pc-os2-emx )
38632 if test "x$bk_os2_use_omf" = "xyes" ; then
38635 LDFLAGS
="-Zomf $LDFLAGS"
38636 CFLAGS
="-Zomf $CFLAGS"
38637 CXXFLAGS
="-Zomf $CXXFLAGS"
38647 SO_SUFFIX_MODULE
="so"
38652 DLLPREFIX_MODULE
=""
38655 case "${BAKEFILE_HOST}" in
38658 SO_SUFFIX_MODULE
="sl"
38662 SO_SUFFIX_MODULE
="a"
38664 *-*-cygwin* | *-*-mingw32* )
38666 SO_SUFFIX_MODULE
="dll"
38667 DLLIMP_SUFFIX
="dll.a"
38675 *-pc-os2_emx | *-pc-os2-emx )
38677 SO_SUFFIX_MODULE
="dll"
38678 DLLIMP_SUFFIX
=$OS2_LIBEXT
38682 LIBEXT
=".$OS2_LIBEXT"
38684 powerpc
-*-darwin* )
38686 SO_SUFFIX_MODULE
="bundle"
38690 if test "x$DLLIMP_SUFFIX" = "x" ; then
38691 DLLIMP_SUFFIX
="$SO_SUFFIX"
38704 SHARED_LD_CC
="\$(CC) -shared -o"
38705 SHARED_LD_CXX
="\$(CXX) -shared -o"
38707 if test "x$GCC" = "xyes"; then
38711 case "${BAKEFILE_HOST}" in
38713 if test "x$GCC" = "xyes"; then
38714 SHARED_LD_CC
="${CC} -shared ${PIC_FLAG} -o"
38715 SHARED_LD_CXX
="${CXX} -shared ${PIC_FLAG} -o"
38717 LDFLAGS
="$LDFLAGS -L/usr/lib"
38719 SHARED_LD_CC
="${CC} -b -o"
38720 SHARED_LD_CXX
="${CXX} -b -o"
38726 if test "x$GCC" != "xyes"; then
38727 echo "$as_me:$LINENO: checking for Intel compiler" >&5
38728 echo $ECHO_N "checking for Intel compiler... $ECHO_C" >&6
38729 if test "${bakefile_cv_prog_icc+set}" = set; then
38730 echo $ECHO_N "(cached) $ECHO_C" >&6
38733 cat >conftest.
$ac_ext <<_ACEOF
38736 cat confdefs.h
>>conftest.
$ac_ext
38737 cat >>conftest.
$ac_ext <<_ACEOF
38738 /* end confdefs.h. */
38744 #ifndef __INTEL_COMPILER
38752 rm -f conftest.
$ac_objext
38753 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
38754 (eval $ac_compile) 2>conftest.er1
38756 grep -v '^ *+' conftest.er1
>conftest.err
38758 cat conftest.err
>&5
38759 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38760 (exit $ac_status); } &&
38761 { ac_try
='test -z "$ac_c_werror_flag"
38762 || test ! -s conftest.err'
38763 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38764 (eval $ac_try) 2>&5
38766 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38767 (exit $ac_status); }; } &&
38768 { ac_try
='test -s conftest.$ac_objext'
38769 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38770 (eval $ac_try) 2>&5
38772 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38773 (exit $ac_status); }; }; then
38774 bakefile_cv_prog_icc
=yes
38776 echo "$as_me: failed program was:" >&5
38777 sed 's/^/| /' conftest.
$ac_ext >&5
38779 bakefile_cv_prog_icc
=no
38782 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
38785 echo "$as_me:$LINENO: result: $bakefile_cv_prog_icc" >&5
38786 echo "${ECHO_T}$bakefile_cv_prog_icc" >&6
38787 if test "$bakefile_cv_prog_icc" = "yes"; then
38794 if test "x$GCC" != xyes
; then
38795 SHARED_LD_CC
="${CC} -G -o"
38796 SHARED_LD_CXX
="${CXX} -G -o"
38803 echo "$as_me:$LINENO: checking for gcc 3.1 or later" >&5
38804 echo $ECHO_N "checking for gcc 3.1 or later... $ECHO_C" >&6
38805 if test "${wx_cv_gcc31+set}" = set; then
38806 echo $ECHO_N "(cached) $ECHO_C" >&6
38809 cat >conftest.
$ac_ext <<_ACEOF
38812 cat confdefs.h
>>conftest.
$ac_ext
38813 cat >>conftest.
$ac_ext <<_ACEOF
38814 /* end confdefs.h. */
38820 #if (__GNUC__ < 3) || \
38821 ((__GNUC__ == 3) && (__GNUC_MINOR__ < 1))
38829 rm -f conftest.
$ac_objext
38830 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
38831 (eval $ac_compile) 2>conftest.er1
38833 grep -v '^ *+' conftest.er1
>conftest.err
38835 cat conftest.err
>&5
38836 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38837 (exit $ac_status); } &&
38838 { ac_try
='test -z "$ac_c_werror_flag"
38839 || test ! -s conftest.err'
38840 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38841 (eval $ac_try) 2>&5
38843 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38844 (exit $ac_status); }; } &&
38845 { ac_try
='test -s conftest.$ac_objext'
38846 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38847 (eval $ac_try) 2>&5
38849 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38850 (exit $ac_status); }; }; then
38855 echo "$as_me: failed program was:" >&5
38856 sed 's/^/| /' conftest.
$ac_ext >&5
38863 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
38866 echo "$as_me:$LINENO: result: $wx_cv_gcc31" >&5
38867 echo "${ECHO_T}$wx_cv_gcc31" >&6
38868 if test "$wx_cv_gcc31" = "no"; then
38871 cat <<EOF >shared-ld-sh
38873 #-----------------------------------------------------------------------------
38874 #-- Name: distrib/mac/shared-ld-sh
38875 #-- Purpose: Link a mach-o dynamic shared library for Darwin / Mac OS X
38876 #-- Author: Gilles Depeyrot
38877 #-- Copyright: (c) 2002 Gilles Depeyrot
38878 #-- Licence: any use permitted
38879 #-----------------------------------------------------------------------------
38884 linking_flag="-dynamiclib"
38886 while test ${D}# -gt 0; do
38893 -o|-compatibility_version|-current_version|-framework|-undefined|-install_name)
38894 # collect these options and values
38895 args="${D}{args} ${D}1 ${D}2"
38899 -l*|-L*|-flat_namespace|-headerpad_max_install_names)
38900 # collect these options
38901 args="${D}{args} ${D}1"
38904 -dynamiclib|-bundle)
38905 linking_flag="${D}1"
38909 echo "shared-ld: unhandled option '${D}1'"
38913 *.o | *.a | *.dylib)
38914 # collect object files
38915 objects="${D}{objects} ${D}1"
38919 echo "shared-ld: unhandled argument '${D}1'"
38928 # Link one module containing all the others
38930 if test ${D}{verbose} = 1; then
38931 echo "c++ -r -keep_private_externs -nostdlib ${D}{objects} -o master.${D}${D}.o"
38933 c++ -r -keep_private_externs -nostdlib ${D}{objects} -o master.${D}${D}.o
38935 if test ${D}{status} != 0; then
38940 # Link the shared library from the single module created
38942 if test ${D}{verbose} = 1; then
38943 echo "cc ${D}{linking_flag} master.${D}${D}.o ${D}{args}"
38945 c++ ${D}{linking_flag} master.${D}${D}.o ${D}{args}
38947 if test ${D}{status} != 0; then
38952 # Remove intermediate module
38954 rm -f master.${D}${D}.o
38959 chmod +x shared
-ld-sh
38961 SHARED_LD_CC
="`pwd`/shared-ld-sh -dynamiclib -headerpad_max_install_names -o"
38962 SHARED_LD_MODULE_CC
="`pwd`/shared-ld-sh -bundle -headerpad_max_install_names -o"
38963 SHARED_LD_CXX
="$SHARED_LD_CC"
38964 SHARED_LD_MODULE_CXX
="$SHARED_LD_MODULE_CC"
38966 SHARED_LD_CC
="\${CC} -dynamiclib -single_module -headerpad_max_install_names -o"
38967 SHARED_LD_MODULE_CC
="\${CC} -bundle -single_module -headerpad_max_install_names -o"
38968 SHARED_LD_CXX
="\${CXX} -dynamiclib -single_module -headerpad_max_install_names -o"
38969 SHARED_LD_MODULE_CXX
="\${CXX} -bundle -single_module -headerpad_max_install_names -o"
38972 PIC_FLAG
="-dynamic -fPIC"
38976 if test "x$GCC" != "xyes"; then
38977 # Extract the first word of "makeC++SharedLib", so it can be a program name with args.
38978 set dummy makeC
++SharedLib
; ac_word
=$2
38979 echo "$as_me:$LINENO: checking for $ac_word" >&5
38980 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
38981 if test "${ac_cv_prog_AIX_CXX_LD+set}" = set; then
38982 echo $ECHO_N "(cached) $ECHO_C" >&6
38984 if test -n "$AIX_CXX_LD"; then
38985 ac_cv_prog_AIX_CXX_LD
="$AIX_CXX_LD" # Let the user override the test.
38987 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
38988 for as_dir
in $PATH
38991 test -z "$as_dir" && as_dir
=.
38992 for ac_exec_ext
in '' $ac_executable_extensions; do
38993 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
38994 ac_cv_prog_AIX_CXX_LD
="makeC++SharedLib"
38995 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
39001 test -z "$ac_cv_prog_AIX_CXX_LD" && ac_cv_prog_AIX_CXX_LD
="/usr/lpp/xlC/bin/makeC++SharedLib"
39004 AIX_CXX_LD
=$ac_cv_prog_AIX_CXX_LD
39005 if test -n "$AIX_CXX_LD"; then
39006 echo "$as_me:$LINENO: result: $AIX_CXX_LD" >&5
39007 echo "${ECHO_T}$AIX_CXX_LD" >&6
39009 echo "$as_me:$LINENO: result: no" >&5
39010 echo "${ECHO_T}no" >&6
39013 SHARED_LD_CC
="$AIX_CC_LD -p 0 -o"
39014 SHARED_LD_CXX
="$AIX_CXX_LD -p 0 -o"
39019 SHARED_LD_CC
="${LD} -shared -o"
39020 SHARED_LD_CXX
="${LD} -shared -o"
39024 if test "x$GCC" != "xyes"; then
39029 *-*-cygwin* | *-*-mingw32* )
39033 *-pc-os2_emx | *-pc-os2-emx )
39034 SHARED_LD_CC
="`pwd`/dllar.sh -o"
39035 SHARED_LD_CXX
="`pwd`/dllar.sh -o"
39039 cat <<EOF >dllar.sh
39042 # dllar - a tool to build both a .dll and an .a file
39043 # from a set of object (.o) files for EMX/OS2.
39045 # Written by Andrew Zabolotny, bit@freya.etu.ru
39046 # Ported to Unix like shell by Stefan Neis, Stefan.Neis@t-online.de
39048 # This script will accept a set of files on the command line.
39049 # All the public symbols from the .o files will be exported into
39050 # a .DEF file, then linker will be run (through gcc) against them to
39051 # build a shared library consisting of all given .o files. All libraries
39052 # (.a) will be first decompressed into component .o files then act as
39053 # described above. You can optionally give a description (-d "description")
39054 # which will be put into .DLL. To see the list of accepted options (as well
39055 # as command-line format) simply run this program without options. The .DLL
39056 # is built to be imported by name (there is no guarantee that new versions
39057 # of the library you build will have same ordinals for same symbols).
39059 # dllar is free software; you can redistribute it and/or modify
39060 # it under the terms of the GNU General Public License as published by
39061 # the Free Software Foundation; either version 2, or (at your option)
39062 # any later version.
39064 # dllar is distributed in the hope that it will be useful,
39065 # but WITHOUT ANY WARRANTY; without even the implied warranty of
39066 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
39067 # GNU General Public License for more details.
39069 # You should have received a copy of the GNU General Public License
39070 # along with dllar; see the file COPYING. If not, write to the Free
39071 # Software Foundation, 59 Temple Place - Suite 330, Boston, MA
39074 # To successfuly run this program you will need:
39075 # - Current drive should have LFN support (HPFS, ext2, network, etc)
39076 # (Sometimes dllar generates filenames which won't fit 8.3 scheme)
39078 # (used to build the .dll)
39080 # (used to create .def file from .o files)
39082 # (used to create .a file from .def file)
39083 # - GNU text utilites (cat, sort, uniq)
39084 # used to process emxexp output
39085 # - GNU file utilities (mv, rm)
39087 # - lxlite (optional, see flag below)
39088 # (used for general .dll cleanup)
39095 # basnam, variant of basename, which does _not_ remove the path, _iff_
39096 # second argument (suffix to remove) is given
39100 echo ${D}1 | sed 's/.*\///' | sed 's/.*\\//'
39103 echo ${D}1 | sed 's/'${D}2'${D}//'
39106 echo "error in basnam ${D}*"
39112 # Cleanup temporary files and output
39115 for i in ${D}inputFiles ; do
39118 rm -rf \`basnam ${D}i !\`
39125 # Kill result in case of failure as there is just to many stupid make/nmake
39126 # things out there which doesn't do this.
39127 if [] ${D}# -eq 0 []; then
39128 rm -f ${D}arcFile ${D}arcFile2 ${D}defFile ${D}dllFile
39132 # Print usage and exit script with rc=1.
39134 echo 'Usage: dllar []-o[[]utput[]] output_file[] []-i[[]mport[]] importlib_name[]'
39135 echo ' []-d[[]escription[]] "dll descrption"[] []-cc "CC"[] []-f[[]lags[]] "CFLAGS"[]'
39136 echo ' []-ord[[]inals[]][] -ex[]clude[] "symbol(s)"'
39137 echo ' []-libf[[]lags[]] "{INIT|TERM}{GLOBAL|INSTANCE}"[] []-nocrt[[]dll[]][] []-nolxl[[]ite[]][]'
39138 echo ' []*.o[] []*.a[]'
39139 echo '*> "output_file" should have no extension.'
39140 echo ' If it has the .o, .a or .dll extension, it is automatically removed.'
39141 echo ' The import library name is derived from this and is set to "name".a,'
39142 echo ' unless overridden by -import'
39143 echo '*> "importlib_name" should have no extension.'
39144 echo ' If it has the .o, or .a extension, it is automatically removed.'
39145 echo ' This name is used as the import library name and may be longer and'
39146 echo ' more descriptive than the DLL name which has to follow the old '
39147 echo ' 8.3 convention of FAT.'
39148 echo '*> "cc" is used to use another GCC executable. (default: gcc.exe)'
39149 echo '*> "flags" should be any set of valid GCC flags. (default: -s -Zcrtdll)'
39150 echo ' These flags will be put at the start of GCC command line.'
39151 echo '*> -ord[]inals[] tells dllar to export entries by ordinals. Be careful.'
39152 echo '*> -ex[]clude[] defines symbols which will not be exported. You can define'
39153 echo ' multiple symbols, for example -ex "myfunc yourfunc _GLOBAL*".'
39154 echo ' If the last character of a symbol is "*", all symbols beginning'
39155 echo ' with the prefix before "*" will be exclude, (see _GLOBAL* above).'
39156 echo '*> -libf[]lags[] can be used to add INITGLOBAL/INITINSTANCE and/or'
39157 echo ' TERMGLOBAL/TERMINSTANCE flags to the dynamically-linked library.'
39158 echo '*> -nocrt[]dll[] switch will disable linking the library against emx''s'
39159 echo ' C runtime DLLs.'
39160 echo '*> -nolxl[]ite[] switch will disable running lxlite on the resulting DLL.'
39161 echo '*> All other switches (for example -L./ or -lmylib) will be passed'
39162 echo ' unchanged to GCC at the end of command line.'
39163 echo '*> If you create a DLL from a library and you do not specify -o,'
39164 echo ' the basename for DLL and import library will be set to library name,'
39165 echo ' the initial library will be renamed to 'name'_s.a (_s for static)'
39166 echo ' i.e. "dllar gcc.a" will create gcc.dll and gcc.a, and the initial'
39167 echo ' library will be renamed into gcc_s.a.'
39170 echo ' dllar -o gcc290.dll libgcc.a -d "GNU C runtime library" -ord'
39171 echo ' -ex "__main __ctordtor*" -libf "INITINSTANCE TERMINSTANCE"'
39176 # Execute a command.
39177 # If exit code of the commnad <> 0 CleanUp() is called and we'll exit the script.
39178 # @Uses Whatever CleanUp() uses.
39184 if [] ${D}rcCmd -ne 0 []; then
39185 echo "command failed, exit code="${D}rcCmd
39199 CFLAGS="-s -Zcrtdll"
39201 EXPORT_BY_ORDINALS=0
39206 case ${D}curDirS in
39210 curDirS=${D}{curDirS}"/"
39213 # Parse commandline
39215 while [] ${D}1 []; do
39218 EXPORT_BY_ORDINALS=1;
39245 exclude_symbols=${D}{exclude_symbols}${D}1" "
39249 library_flags=${D}{library_flags}${D}1" "
39265 EXTRA_CFLAGS=${D}{EXTRA_CFLAGS}" "${D}1
39269 if [] ${D}libsToLink -ne 0 []; then
39270 EXTRA_CFLAGS=${D}{EXTRA_CFLAGS}" "${D}1
39272 for file in ${D}1 ; do
39273 if [] -f ${D}file []; then
39274 inputFiles="${D}{inputFiles} ${D}file"
39278 if [] ${D}found -eq 0 []; then
39279 echo "ERROR: No file(s) found: "${D}1
39286 done # iterate cmdline words
39289 if [] -z "${D}inputFiles" []; then
39290 echo "dllar: no input files"
39294 # Now extract all .o files from .a files
39296 for file in ${D}inputFiles ; do
39307 EXTRA_CFLAGS="${D}EXTRA_CFLAGS -Zomf"
39312 dirname=\`basnam ${D}file ${D}suffix\`"_%"
39314 if [] ${D}? -ne 0 []; then
39315 echo "Failed to create subdirectory ./${D}dirname"
39319 # Append '!' to indicate archive
39320 newInputFiles="${D}newInputFiles ${D}{dirname}!"
39321 doCommand "cd ${D}dirname; ${D}AR x ../${D}file"
39324 for subfile in ${D}dirname/*.o* ; do
39325 if [] -f ${D}subfile []; then
39327 if [] -s ${D}subfile []; then
39328 # FIXME: This should be: is file size > 32 byte, _not_ > 0!
39329 newInputFiles="${D}newInputFiles ${D}subfile"
39333 if [] ${D}found -eq 0 []; then
39334 echo "WARNING: there are no files in archive \'${D}file\'"
39338 newInputFiles="${D}{newInputFiles} ${D}file"
39342 inputFiles="${D}newInputFiles"
39344 # Output filename(s).
39346 if [] -z ${D}outFile []; then
39348 set outFile ${D}inputFiles; outFile=${D}2
39351 # If it is an archive, remove the '!' and the '_%' suffixes
39352 case ${D}outFile in
39354 outFile=\`basnam ${D}outFile _%!\`
39359 case ${D}outFile in
39361 outFile=\`basnam ${D}outFile .dll\`
39364 outFile=\`basnam ${D}outFile .DLL\`
39367 outFile=\`basnam ${D}outFile .o\`
39370 outFile=\`basnam ${D}outFile .obj\`
39373 outFile=\`basnam ${D}outFile .a\`
39376 outFile=\`basnam ${D}outFile .lib\`
39381 case ${D}outimpFile in
39383 outimpFile=\`basnam ${D}outimpFile .a\`
39386 outimpFile=\`basnam ${D}outimpFile .lib\`
39391 if [] -z ${D}outimpFile []; then
39392 outimpFile=${D}outFile
39394 defFile="${D}{outFile}.def"
39395 arcFile="${D}{outimpFile}.a"
39396 arcFile2="${D}{outimpFile}.lib"
39397 dllFile="${D}outFile"
39398 # Add suffix to dllFile later, first we need a version to use as
39399 # name in .def file.
39401 if [] ${D}do_backup -ne 0 [] ; then
39402 if [] -f ${D}arcFile [] ; then
39403 doCommand "mv ${D}arcFile ${D}{outFile}_s.a"
39405 if [] -f ${D}arcFile2 [] ; then
39406 doCommand "mv ${D}arcFile2 ${D}{outFile}_s.lib"
39410 # Extract public symbols from all the object files.
39411 tmpdefFile=${D}{defFile}_%
39412 rm -f ${D}tmpdefFile
39413 for file in ${D}inputFiles ; do
39418 doCommand "emxexp -u ${D}file >> ${D}tmpdefFile"
39423 # Create the def file.
39425 echo "LIBRARY \`basnam ${D}dllFile\` ${D}library_flags" >> ${D}defFile
39426 dllFile="${D}dllFile.dll"
39427 if [] -n ${D}description []; then
39428 echo "DESCRIPTION \"${D}{description}\"" >> ${D}defFile
39430 echo "EXPORTS" >> ${D}defFile
39432 doCommand "cat ${D}tmpdefFile | sort.exe | uniq.exe > ${D}{tmpdefFile}%"
39433 grep -v "^ *;" < ${D}{tmpdefFile}% | grep -v "^ *${D}" >${D}tmpdefFile
39435 # Checks if the export is ok or not.
39436 for word in ${D}exclude_symbols; do
39437 grep -v ${D}word < ${D}tmpdefFile >${D}{tmpdefFile}%
39438 mv ${D}{tmpdefFile}% ${D}tmpdefFile
39442 if [] ${D}EXPORT_BY_ORDINALS -ne 0 []; then
39443 sed "=" < ${D}tmpdefFile | \
39447 s/^\([]0-9[]\+\)\([]^;[]*\)\(;.*\)\?/\2 @\1 NONAME/
39449 ' > ${D}{tmpdefFile}%
39450 grep -v "^ *${D}" < ${D}{tmpdefFile}% > ${D}tmpdefFile
39452 rm -f ${D}{tmpdefFile}%
39454 cat ${D}tmpdefFile >> ${D}defFile
39455 rm -f ${D}tmpdefFile
39457 # Do linking, create implib, and apply lxlite.
39459 for file in ${D}inputFiles ; do
39464 gccCmdl="${D}gccCmdl ${D}file"
39468 doCommand "${D}CC ${D}CFLAGS -Zdll -o ${D}dllFile ${D}defFile ${D}gccCmdl ${D}EXTRA_CFLAGS"
39469 touch "${D}{outFile}.dll"
39471 doCommand "emximp -o ${D}arcFile ${D}defFile"
39472 if [] ${D}flag_USE_LXLITE -ne 0 []; then
39474 if [] ${D}EXPORT_BY_ORDINALS -ne 0 []; then
39477 doCommand "lxlite -cs -t: -mrn -mln ${D}add_flags ${D}dllFile"
39479 doCommand "emxomf -s -l ${D}arcFile"
39489 *-*-freebsd* | *-*-openbsd* | *-*-netbsd* | \
39497 { { echo "$as_me:$LINENO: error: unknown system type $BAKEFILE_HOST." >&5
39498 echo "$as_me: error: unknown system type $BAKEFILE_HOST." >&2;}
39499 { (exit 1); exit 1; }; }
39502 if test "x$PIC_FLAG" != "x" ; then
39503 PIC_FLAG
="$PIC_FLAG -DPIC"
39506 if test "x$SHARED_LD_MODULE_CC" = "x" ; then
39507 SHARED_LD_MODULE_CC
="$SHARED_LD_CC"
39509 if test "x$SHARED_LD_MODULE_CXX" = "x" ; then
39510 SHARED_LD_MODULE_CXX
="$SHARED_LD_CXX"
39527 case "${BAKEFILE_HOST}" in
39529 SONAME_FLAG
="-Wl,-soname,"
39557 echo "$as_me:$LINENO: checking for dependency tracking method" >&5
39558 echo $ECHO_N "checking for dependency tracking method... $ECHO_C" >&6
39561 if test "x$GCC" = "xyes"; then
39564 case "${BAKEFILE_HOST}" in
39565 powerpc
-*-darwin* )
39566 DEPSFLAG_GCC
="-no-cpp-precomp -MMD"
39569 DEPSFLAG_GCC
="-MMD"
39572 echo "$as_me:$LINENO: result: gcc" >&5
39573 echo "${ECHO_T}gcc" >&6
39575 echo "$as_me:$LINENO: result: none" >&5
39576 echo "${ECHO_T}none" >&6
39579 if test $DEPS_TRACKING = 1 ; then
39585 # This script is part of Bakefile (http://bakefile.sourceforge.net) autoconf
39586 # script. It is used to track C/C++ files dependencies in portable way.
39588 # Permission is given to use this file in any way.
39590 DEPSMODE=${DEPSMODE}
39592 DEPSFLAG_GCC="${DEPSFLAG_GCC}"
39594 mkdir -p ${D}DEPSDIR
39596 if test ${D}DEPSMODE = gcc ; then
39597 ${D}* ${D}{DEPSFLAG_GCC}
39599 if test ${D}{status} != 0 ; then
39602 # move created file to the location we want it in:
39603 while test ${D}# -gt 0; do
39617 depfile=\`basename ${D}srcfile | sed -e 's/\..*${D}/.d/g'\`
39618 depobjname=\`echo ${D}depfile |sed -e 's/\.d/.o/g'\`
39619 if test -f ${D}depfile ; then
39620 sed -e "s,${D}depobjname:,${D}objfile:,g" ${D}depfile >${D}{DEPSDIR}/${D}{objfile}.d
39623 depfile=\`basename ${D}objfile | sed -e 's/\..*${D}/.d/g'\`
39624 if test -f ${D}depfile ; then
39625 sed -e "/^${D}objfile/!s,${D}depobjname:,${D}objfile:,g" ${D}depfile >${D}{DEPSDIR}/${D}{objfile}.d
39645 case ${BAKEFILE_HOST} in
39646 *-*-cygwin* | *-*-mingw32* )
39647 if test "$build" != "$host" ; then
39648 RESCOMP
=$host_alias-windres
39650 # Extract the first word of "windres", so it can be a program name with args.
39651 set dummy windres
; ac_word
=$2
39652 echo "$as_me:$LINENO: checking for $ac_word" >&5
39653 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
39654 if test "${ac_cv_prog_RESCOMP+set}" = set; then
39655 echo $ECHO_N "(cached) $ECHO_C" >&6
39657 if test -n "$RESCOMP"; then
39658 ac_cv_prog_RESCOMP
="$RESCOMP" # Let the user override the test.
39660 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
39661 for as_dir
in $PATH
39664 test -z "$as_dir" && as_dir
=.
39665 for ac_exec_ext
in '' $ac_executable_extensions; do
39666 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
39667 ac_cv_prog_RESCOMP
="windres"
39668 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
39674 test -z "$ac_cv_prog_RESCOMP" && ac_cv_prog_RESCOMP
="windres"
39677 RESCOMP
=$ac_cv_prog_RESCOMP
39678 if test -n "$RESCOMP"; then
39679 echo "$as_me:$LINENO: result: $RESCOMP" >&5
39680 echo "${ECHO_T}$RESCOMP" >&6
39682 echo "$as_me:$LINENO: result: no" >&5
39683 echo "${ECHO_T}no" >&6
39690 # Extract the first word of "Rez", so it can be a program name with args.
39691 set dummy Rez
; ac_word
=$2
39692 echo "$as_me:$LINENO: checking for $ac_word" >&5
39693 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
39694 if test "${ac_cv_prog_RESCOMP+set}" = set; then
39695 echo $ECHO_N "(cached) $ECHO_C" >&6
39697 if test -n "$RESCOMP"; then
39698 ac_cv_prog_RESCOMP
="$RESCOMP" # Let the user override the test.
39700 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
39701 for as_dir
in $PATH
39704 test -z "$as_dir" && as_dir
=.
39705 for ac_exec_ext
in '' $ac_executable_extensions; do
39706 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
39707 ac_cv_prog_RESCOMP
="Rez"
39708 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
39714 test -z "$ac_cv_prog_RESCOMP" && ac_cv_prog_RESCOMP
="/Developer/Tools/Rez"
39717 RESCOMP
=$ac_cv_prog_RESCOMP
39718 if test -n "$RESCOMP"; then
39719 echo "$as_me:$LINENO: result: $RESCOMP" >&5
39720 echo "${ECHO_T}$RESCOMP" >&6
39722 echo "$as_me:$LINENO: result: no" >&5
39723 echo "${ECHO_T}no" >&6
39726 # Extract the first word of "SetFile", so it can be a program name with args.
39727 set dummy SetFile
; ac_word
=$2
39728 echo "$as_me:$LINENO: checking for $ac_word" >&5
39729 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
39730 if test "${ac_cv_prog_SETFILE+set}" = set; then
39731 echo $ECHO_N "(cached) $ECHO_C" >&6
39733 if test -n "$SETFILE"; then
39734 ac_cv_prog_SETFILE
="$SETFILE" # Let the user override the test.
39736 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
39737 for as_dir
in $PATH
39740 test -z "$as_dir" && as_dir
=.
39741 for ac_exec_ext
in '' $ac_executable_extensions; do
39742 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
39743 ac_cv_prog_SETFILE
="SetFile"
39744 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
39750 test -z "$ac_cv_prog_SETFILE" && ac_cv_prog_SETFILE
="/Developer/Tools/SetFile"
39753 SETFILE
=$ac_cv_prog_SETFILE
39754 if test -n "$SETFILE"; then
39755 echo "$as_me:$LINENO: result: $SETFILE" >&5
39756 echo "${ECHO_T}$SETFILE" >&6
39758 echo "$as_me:$LINENO: result: no" >&5
39759 echo "${ECHO_T}no" >&6
39769 BAKEFILE_BAKEFILE_M4_VERSION
="0.1.4"
39773 BAKEFILE_AUTOCONF_INC_M4_VERSION
="0.1.4"
39777 # Check whether --enable-precomp-headers or --disable-precomp-headers was given.
39778 if test "${enable_precomp_headers+set}" = set; then
39779 enableval
="$enable_precomp_headers"
39780 bk_use_pch
="$enableval"
39785 if test "x$bk_use_pch" = "x" -o "x$bk_use_pch" = "xyes" ; then
39786 if test "x$GCC" = "xyes"; then
39787 echo "$as_me:$LINENO: checking if the compiler supports precompiled headers" >&5
39788 echo $ECHO_N "checking if the compiler supports precompiled headers... $ECHO_C" >&6
39789 cat >conftest.
$ac_ext <<_ACEOF
39792 cat confdefs.h
>>conftest.
$ac_ext
39793 cat >>conftest.
$ac_ext <<_ACEOF
39794 /* end confdefs.h. */
39800 #if !defined(__GNUC__) || !defined(__GNUC_MINOR__)
39801 #error "no pch support"
39804 #error "no pch support"
39806 #if (__GNUC__ == 3) && \
39807 ((!defined(__APPLE_CC__) && (__GNUC_MINOR__ < 4)) || \
39808 ( defined(__APPLE_CC__) && (__GNUC_MINOR__ < 3)))
39809 #error "no pch support"
39816 rm -f conftest.
$ac_objext
39817 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39818 (eval $ac_compile) 2>conftest.er1
39820 grep -v '^ *+' conftest.er1
>conftest.err
39822 cat conftest.err
>&5
39823 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39824 (exit $ac_status); } &&
39825 { ac_try
='test -z "$ac_c_werror_flag"
39826 || test ! -s conftest.err'
39827 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39828 (eval $ac_try) 2>&5
39830 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39831 (exit $ac_status); }; } &&
39832 { ac_try
='test -s conftest.$ac_objext'
39833 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39834 (eval $ac_try) 2>&5
39836 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39837 (exit $ac_status); }; }; then
39839 echo "$as_me:$LINENO: result: yes" >&5
39840 echo "${ECHO_T}yes" >&6
39844 echo "$as_me: failed program was:" >&5
39845 sed 's/^/| /' conftest.
$ac_ext >&5
39848 echo "$as_me:$LINENO: result: no" >&5
39849 echo "${ECHO_T}no" >&6
39852 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
39853 if test $GCC_PCH = 1 ; then
39854 cat <<EOF >bk-make-pch
39857 # This script is part of Bakefile (http://bakefile.sourceforge.net) autoconf
39858 # script. It is used to generated precompiled headers.
39860 # Permission is given to use this file in any way.
39869 while test \${#} -gt 0; do
39872 incdir=\`echo \${1} | sed -e 's/-I\(.*\)/\1/g'\`
39873 if test "x\${headerfile}" = "x" -a -f "\${incdir}/\${header}" ; then
39874 headerfile="\${incdir}/\${header}"
39878 compiler="\${compiler} \${1}"
39882 if test "x\${headerfile}" = "x" ; then
39883 echo "error: can't find header \${header} in include paths" >2
39885 if test -f \${outfile} ; then
39888 mkdir -p \`dirname \${outfile}\`
39890 depsfile=".deps/\`basename \${outfile}\`.d"
39892 # can do this because gcc is >= 3.4:
39893 \${compiler} -o \${outfile} -MMD -MF "\${depsfile}" "\${headerfile}"
39897 chmod +x bk
-make-pch
39908 # Check whether --enable-precomp-headers or --disable-precomp-headers was given.
39909 if test "${enable_precomp_headers+set}" = set; then
39910 enableval
="$enable_precomp_headers"
39911 bk_use_pch
="$enableval"
39916 if test "x$bk_use_pch" = "x" -o "x$bk_use_pch" = "xyes" ; then
39917 if test "x$GCC" = "xyes"; then
39918 echo "$as_me:$LINENO: checking if the compiler supports precompiled headers" >&5
39919 echo $ECHO_N "checking if the compiler supports precompiled headers... $ECHO_C" >&6
39920 cat >conftest.
$ac_ext <<_ACEOF
39923 cat confdefs.h
>>conftest.
$ac_ext
39924 cat >>conftest.
$ac_ext <<_ACEOF
39925 /* end confdefs.h. */
39931 #if !defined(__GNUC__) || !defined(__GNUC_MINOR__)
39932 #error "no pch support"
39935 #error "no pch support"
39937 #if (__GNUC__ == 3) && \
39938 ((!defined(__APPLE_CC__) && (__GNUC_MINOR__ < 4)) || \
39939 ( defined(__APPLE_CC__) && (__GNUC_MINOR__ < 3)))
39940 #error "no pch support"
39947 rm -f conftest.
$ac_objext
39948 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39949 (eval $ac_compile) 2>conftest.er1
39951 grep -v '^ *+' conftest.er1
>conftest.err
39953 cat conftest.err
>&5
39954 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39955 (exit $ac_status); } &&
39956 { ac_try
='test -z "$ac_c_werror_flag"
39957 || test ! -s conftest.err'
39958 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39959 (eval $ac_try) 2>&5
39961 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39962 (exit $ac_status); }; } &&
39963 { ac_try
='test -s conftest.$ac_objext'
39964 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39965 (eval $ac_try) 2>&5
39967 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39968 (exit $ac_status); }; }; then
39970 echo "$as_me:$LINENO: result: yes" >&5
39971 echo "${ECHO_T}yes" >&6
39975 echo "$as_me: failed program was:" >&5
39976 sed 's/^/| /' conftest.
$ac_ext >&5
39979 echo "$as_me:$LINENO: result: no" >&5
39980 echo "${ECHO_T}no" >&6
39983 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
39984 if test $GCC_PCH = 1 ; then
39985 cat <<EOF >bk-make-pch
39988 # This script is part of Bakefile (http://bakefile.sourceforge.net) autoconf
39989 # script. It is used to generated precompiled headers.
39991 # Permission is given to use this file in any way.
40000 while test \${#} -gt 0; do
40003 incdir=\`echo \${1} | sed -e 's/-I\(.*\)/\1/g'\`
40004 if test "x\${headerfile}" = "x" -a -f "\${incdir}/\${header}" ; then
40005 headerfile="\${incdir}/\${header}"
40009 compiler="\${compiler} \${1}"
40013 if test "x\${headerfile}" = "x" ; then
40014 echo "error: can't find header \${header} in include paths" >2
40016 if test -f \${outfile} ; then
40019 mkdir -p \`dirname \${outfile}\`
40021 depsfile=".deps/\`basename \${outfile}\`.d"
40023 # can do this because gcc is >= 3.4:
40024 \${compiler} -o \${outfile} -MMD -MF "\${depsfile}" "\${headerfile}"
40028 chmod +x bk
-make-pch
40035 COND_BUILD_DEBUG
="#"
40036 if test "x$BUILD" = "xdebug" ; then
40037 COND_BUILD_DEBUG
=""
40040 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT
="#"
40041 if test "x$BUILD" = "xdebug" -a "x$DEBUG_FLAG" = "xdefault" ; then
40042 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT
=""
40045 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT
="#"
40046 if test "x$BUILD" = "xdebug" -a "x$DEBUG_INFO" = "xdefault" ; then
40047 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT
=""
40050 COND_BUILD_DEBUG_UNICODE_0
="#"
40051 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x0" ; then
40052 COND_BUILD_DEBUG_UNICODE_0
=""
40055 COND_BUILD_DEBUG_UNICODE_1
="#"
40056 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x1" ; then
40057 COND_BUILD_DEBUG_UNICODE_1
=""
40060 COND_BUILD_RELEASE
="#"
40061 if test "x$BUILD" = "xrelease" ; then
40062 COND_BUILD_RELEASE
=""
40065 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT
="#"
40066 if test "x$BUILD" = "xrelease" -a "x$DEBUG_INFO" = "xdefault" ; then
40067 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT
=""
40070 COND_BUILD_RELEASE_UNICODE_0
="#"
40071 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x0" ; then
40072 COND_BUILD_RELEASE_UNICODE_0
=""
40075 COND_BUILD_RELEASE_UNICODE_1
="#"
40076 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x1" ; then
40077 COND_BUILD_RELEASE_UNICODE_1
=""
40080 COND_DEBUG_FLAG_1
="#"
40081 if test "x$DEBUG_FLAG" = "x1" ; then
40082 COND_DEBUG_FLAG_1
=""
40085 COND_DEBUG_INFO_0
="#"
40086 if test "x$DEBUG_INFO" = "x0" ; then
40087 COND_DEBUG_INFO_0
=""
40090 COND_DEBUG_INFO_1
="#"
40091 if test "x$DEBUG_INFO" = "x1" ; then
40092 COND_DEBUG_INFO_1
=""
40095 COND_DEPS_TRACKING_0
="#"
40096 if test "x$DEPS_TRACKING" = "x0" ; then
40097 COND_DEPS_TRACKING_0
=""
40100 COND_DEPS_TRACKING_1
="#"
40101 if test "x$DEPS_TRACKING" = "x1" ; then
40102 COND_DEPS_TRACKING_1
=""
40106 if test "x$GCC_PCH" = "x1" ; then
40110 COND_MONOLITHIC_0
="#"
40111 if test "x$MONOLITHIC" = "x0" ; then
40112 COND_MONOLITHIC_0
=""
40115 COND_MONOLITHIC_0_SHARED_0
="#"
40116 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" ; then
40117 COND_MONOLITHIC_0_SHARED_0
=""
40120 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1
="#"
40121 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" ; then
40122 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1
=""
40125 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_ODBC_1
="#"
40126 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_ODBC" = "x1" ; then
40127 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_ODBC_1
=""
40130 COND_MONOLITHIC_0_SHARED_0_USE_HTML_1
="#"
40131 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_HTML" = "x1" ; then
40132 COND_MONOLITHIC_0_SHARED_0_USE_HTML_1
=""
40135 COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1
="#"
40136 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_ODBC" = "x1" ; then
40137 COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1
=""
40140 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1
="#"
40141 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_XRC" = "x1" ; then
40142 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1
=""
40145 COND_MONOLITHIC_0_SHARED_1
="#"
40146 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" ; then
40147 COND_MONOLITHIC_0_SHARED_1
=""
40150 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1
="#"
40151 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" ; then
40152 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1
=""
40155 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_ODBC_1
="#"
40156 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_ODBC" = "x1" ; then
40157 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_ODBC_1
=""
40160 COND_MONOLITHIC_0_SHARED_1_USE_HTML_1
="#"
40161 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_HTML" = "x1" ; then
40162 COND_MONOLITHIC_0_SHARED_1_USE_HTML_1
=""
40165 COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1
="#"
40166 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_ODBC" = "x1" ; then
40167 COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1
=""
40170 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1
="#"
40171 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_XRC" = "x1" ; then
40172 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1
=""
40175 COND_MONOLITHIC_0_USE_ODBC_1
="#"
40176 if test "x$MONOLITHIC" = "x0" -a "x$USE_ODBC" = "x1" ; then
40177 COND_MONOLITHIC_0_USE_ODBC_1
=""
40180 COND_MONOLITHIC_1
="#"
40181 if test "x$MONOLITHIC" = "x1" ; then
40182 COND_MONOLITHIC_1
=""
40185 COND_MONOLITHIC_1_SHARED_0
="#"
40186 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x0" ; then
40187 COND_MONOLITHIC_1_SHARED_0
=""
40190 COND_MONOLITHIC_1_SHARED_1
="#"
40191 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x1" ; then
40192 COND_MONOLITHIC_1_SHARED_1
=""
40195 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1
="#"
40196 if test "x$OFFICIAL_BUILD" = "x0" -a "x$PLATFORM_WIN32" = "x1" ; then
40197 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1
=""
40200 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1
="#"
40201 if test "x$OFFICIAL_BUILD" = "x1" -a "x$PLATFORM_WIN32" = "x1" ; then
40202 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1
=""
40205 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1
="#"
40206 if test "x$PLATFORM_MACOSX" = "x0" -a "x$USE_SOVERSION" = "x1" ; then
40207 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1
=""
40210 COND_PLATFORM_MACOSX_1
="#"
40211 if test "x$PLATFORM_MACOSX" = "x1" ; then
40212 COND_PLATFORM_MACOSX_1
=""
40215 COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA
="#"
40216 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xCOCOA" ; then
40217 COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA
=""
40220 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK
="#"
40221 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xGTK" ; then
40222 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK
=""
40225 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC
="#"
40226 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMAC" ; then
40227 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC
=""
40230 COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF
="#"
40231 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMOTIF" ; then
40232 COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF
=""
40235 COND_PLATFORM_MACOSX_1_TOOLKIT_X11
="#"
40236 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xX11" ; then
40237 COND_PLATFORM_MACOSX_1_TOOLKIT_X11
=""
40240 COND_PLATFORM_MACOSX_1_USE_GUI_1
="#"
40241 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_GUI" = "x1" ; then
40242 COND_PLATFORM_MACOSX_1_USE_GUI_1
=""
40245 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1
="#"
40246 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_SOVERSION" = "x1" ; then
40247 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1
=""
40250 COND_PLATFORM_MAC_1
="#"
40251 if test "x$PLATFORM_MAC" = "x1" ; then
40252 COND_PLATFORM_MAC_1
=""
40255 COND_PLATFORM_OS2_1
="#"
40256 if test "x$PLATFORM_OS2" = "x1" ; then
40257 COND_PLATFORM_OS2_1
=""
40260 COND_PLATFORM_UNIX_0
="#"
40261 if test "x$PLATFORM_UNIX" = "x0" ; then
40262 COND_PLATFORM_UNIX_0
=""
40265 COND_PLATFORM_UNIX_1
="#"
40266 if test "x$PLATFORM_UNIX" = "x1" ; then
40267 COND_PLATFORM_UNIX_1
=""
40270 COND_PLATFORM_UNIX_1_USE_GUI_1
="#"
40271 if test "x$PLATFORM_UNIX" = "x1" -a "x$USE_GUI" = "x1" ; then
40272 COND_PLATFORM_UNIX_1_USE_GUI_1
=""
40275 COND_PLATFORM_UNIX_1_USE_PLUGINS_0
="#"
40276 if test "x$PLATFORM_UNIX" = "x1" -a "x$USE_PLUGINS" = "x0" ; then
40277 COND_PLATFORM_UNIX_1_USE_PLUGINS_0
=""
40280 COND_PLATFORM_WIN32_0
="#"
40281 if test "x$PLATFORM_WIN32" = "x0" ; then
40282 COND_PLATFORM_WIN32_0
=""
40285 COND_PLATFORM_WIN32_1
="#"
40286 if test "x$PLATFORM_WIN32" = "x1" ; then
40287 COND_PLATFORM_WIN32_1
=""
40291 if test "x$SHARED" = "x0" ; then
40295 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0
="#"
40296 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xMAC" -a "x$WXUNIV" = "x0" ; then
40297 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0
=""
40300 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0
="#"
40301 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xMSW" -a "x$WXUNIV" = "x0" ; then
40302 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0
=""
40305 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0
="#"
40306 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xPM" -a "x$WXUNIV" = "x0" ; then
40307 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0
=""
40310 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1
="#"
40311 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
40312 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1
=""
40315 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN
="#"
40316 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
40317 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN
=""
40320 COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN
="#"
40321 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
40322 COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN
=""
40325 COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN
="#"
40326 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
40327 COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN
=""
40330 COND_SHARED_0_WXUSE_EXPAT_BUILTIN
="#"
40331 if test "x$SHARED" = "x0" -a "x$wxUSE_EXPAT" = "xbuiltin" ; then
40332 COND_SHARED_0_WXUSE_EXPAT_BUILTIN
=""
40335 COND_SHARED_0_WXUSE_ODBC_BUILTIN
="#"
40336 if test "x$SHARED" = "x0" -a "x$wxUSE_ODBC" = "xbuiltin" ; then
40337 COND_SHARED_0_WXUSE_ODBC_BUILTIN
=""
40340 COND_SHARED_0_WXUSE_REGEX_BUILTIN
="#"
40341 if test "x$SHARED" = "x0" -a "x$wxUSE_REGEX" = "xbuiltin" ; then
40342 COND_SHARED_0_WXUSE_REGEX_BUILTIN
=""
40345 COND_SHARED_0_WXUSE_ZLIB_BUILTIN
="#"
40346 if test "x$SHARED" = "x0" -a "x$wxUSE_ZLIB" = "xbuiltin" ; then
40347 COND_SHARED_0_WXUSE_ZLIB_BUILTIN
=""
40351 if test "x$SHARED" = "x1" ; then
40355 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1
="#"
40356 if test "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
40357 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1
=""
40360 COND_TOOLKIT_COCOA
="#"
40361 if test "x$TOOLKIT" = "xCOCOA" ; then
40362 COND_TOOLKIT_COCOA
=""
40365 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0
="#"
40366 if test "x$TOOLKIT" = "xCOCOA" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
40367 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0
=""
40370 COND_TOOLKIT_GTK
="#"
40371 if test "x$TOOLKIT" = "xGTK" ; then
40372 COND_TOOLKIT_GTK
=""
40375 COND_TOOLKIT_GTK_USE_GUI_1
="#"
40376 if test "x$TOOLKIT" = "xGTK" -a "x$USE_GUI" = "x1" ; then
40377 COND_TOOLKIT_GTK_USE_GUI_1
=""
40380 COND_TOOLKIT_GTK_USE_GUI_1_WXUNIV_0
="#"
40381 if test "x$TOOLKIT" = "xGTK" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
40382 COND_TOOLKIT_GTK_USE_GUI_1_WXUNIV_0
=""
40385 COND_TOOLKIT_MAC
="#"
40386 if test "x$TOOLKIT" = "xMAC" ; then
40387 COND_TOOLKIT_MAC
=""
40390 COND_TOOLKIT_MAC_USE_GUI_1
="#"
40391 if test "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" ; then
40392 COND_TOOLKIT_MAC_USE_GUI_1
=""
40395 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0
="#"
40396 if test "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
40397 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0
=""
40400 COND_TOOLKIT_MGL
="#"
40401 if test "x$TOOLKIT" = "xMGL" ; then
40402 COND_TOOLKIT_MGL
=""
40405 COND_TOOLKIT_MGL_USE_GUI_1
="#"
40406 if test "x$TOOLKIT" = "xMGL" -a "x$USE_GUI" = "x1" ; then
40407 COND_TOOLKIT_MGL_USE_GUI_1
=""
40410 COND_TOOLKIT_MOTIF
="#"
40411 if test "x$TOOLKIT" = "xMOTIF" ; then
40412 COND_TOOLKIT_MOTIF
=""
40415 COND_TOOLKIT_MOTIF_USE_GUI_1
="#"
40416 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" ; then
40417 COND_TOOLKIT_MOTIF_USE_GUI_1
=""
40420 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0
="#"
40421 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
40422 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0
=""
40425 COND_TOOLKIT_MSW
="#"
40426 if test "x$TOOLKIT" = "xMSW" ; then
40427 COND_TOOLKIT_MSW
=""
40430 COND_TOOLKIT_MSW_USE_GUI_1
="#"
40431 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" ; then
40432 COND_TOOLKIT_MSW_USE_GUI_1
=""
40435 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0
="#"
40436 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
40437 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0
=""
40440 COND_TOOLKIT_PM
="#"
40441 if test "x$TOOLKIT" = "xPM" ; then
40445 COND_TOOLKIT_PM_USE_GUI_1
="#"
40446 if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" ; then
40447 COND_TOOLKIT_PM_USE_GUI_1
=""
40450 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0
="#"
40451 if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
40452 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0
=""
40455 COND_TOOLKIT_WINCE
="#"
40456 if test "x$TOOLKIT" = "xWINCE" ; then
40457 COND_TOOLKIT_WINCE
=""
40460 COND_TOOLKIT_WINCE_USE_GUI_1
="#"
40461 if test "x$TOOLKIT" = "xWINCE" -a "x$USE_GUI" = "x1" ; then
40462 COND_TOOLKIT_WINCE_USE_GUI_1
=""
40465 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0
="#"
40466 if test "x$TOOLKIT" = "xWINCE" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
40467 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0
=""
40470 COND_TOOLKIT_X11
="#"
40471 if test "x$TOOLKIT" = "xX11" ; then
40472 COND_TOOLKIT_X11
=""
40475 COND_TOOLKIT_X11_USE_GUI_1
="#"
40476 if test "x$TOOLKIT" = "xX11" -a "x$USE_GUI" = "x1" ; then
40477 COND_TOOLKIT_X11_USE_GUI_1
=""
40481 if test "x$UNICODE" = "x1" ; then
40485 COND_USE_EXCEPTIONS_0
="#"
40486 if test "x$USE_EXCEPTIONS" = "x0" ; then
40487 COND_USE_EXCEPTIONS_0
=""
40490 COND_USE_EXCEPTIONS_1
="#"
40491 if test "x$USE_EXCEPTIONS" = "x1" ; then
40492 COND_USE_EXCEPTIONS_1
=""
40496 if test "x$USE_GUI" = "x0" ; then
40501 if test "x$USE_GUI" = "x1" ; then
40505 COND_USE_GUI_1_WXUNIV_0
="#"
40506 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
40507 COND_USE_GUI_1_WXUNIV_0
=""
40510 COND_USE_GUI_1_WXUNIV_1
="#"
40511 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x1" ; then
40512 COND_USE_GUI_1_WXUNIV_1
=""
40515 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN
="#"
40516 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
40517 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN
=""
40520 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN
="#"
40521 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
40522 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN
=""
40525 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN
="#"
40526 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
40527 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN
=""
40530 COND_USE_ODBC_1
="#"
40531 if test "x$USE_ODBC" = "x1" ; then
40535 COND_USE_PLUGINS_0
="#"
40536 if test "x$USE_PLUGINS" = "x0" ; then
40537 COND_USE_PLUGINS_0
=""
40540 COND_USE_SOSYMLINKS_1
="#"
40541 if test "x$USE_SOSYMLINKS" = "x1" ; then
40542 COND_USE_SOSYMLINKS_1
=""
40545 COND_USE_SOVERLINUX_1
="#"
40546 if test "x$USE_SOVERLINUX" = "x1" ; then
40547 COND_USE_SOVERLINUX_1
=""
40550 COND_USE_SOVERSION_0
="#"
40551 if test "x$USE_SOVERSION" = "x0" ; then
40552 COND_USE_SOVERSION_0
=""
40555 COND_USE_SOVERSOLARIS_1
="#"
40556 if test "x$USE_SOVERSOLARIS" = "x1" ; then
40557 COND_USE_SOVERSOLARIS_1
=""
40561 if test "x$USE_XRC" = "x1" ; then
40565 COND_WITH_PLUGIN_SDL_1
="#"
40566 if test "x$WITH_PLUGIN_SDL" = "x1" ; then
40567 COND_WITH_PLUGIN_SDL_1
=""
40571 if test "x$WXUNIV" = "x1" ; then
40575 COND_WXUSE_EXPAT_BUILTIN
="#"
40576 if test "x$wxUSE_EXPAT" = "xbuiltin" ; then
40577 COND_WXUSE_EXPAT_BUILTIN
=""
40580 COND_WXUSE_LIBJPEG_BUILTIN
="#"
40581 if test "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
40582 COND_WXUSE_LIBJPEG_BUILTIN
=""
40585 COND_WXUSE_LIBPNG_BUILTIN
="#"
40586 if test "x$wxUSE_LIBPNG" = "xbuiltin" ; then
40587 COND_WXUSE_LIBPNG_BUILTIN
=""
40590 COND_WXUSE_LIBTIFF_BUILTIN
="#"
40591 if test "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
40592 COND_WXUSE_LIBTIFF_BUILTIN
=""
40595 COND_WXUSE_ODBC_BUILTIN
="#"
40596 if test "x$wxUSE_ODBC" = "xbuiltin" ; then
40597 COND_WXUSE_ODBC_BUILTIN
=""
40600 COND_WXUSE_REGEX_BUILTIN
="#"
40601 if test "x$wxUSE_REGEX" = "xbuiltin" ; then
40602 COND_WXUSE_REGEX_BUILTIN
=""
40605 COND_WXUSE_ZLIB_BUILTIN
="#"
40606 if test "x$wxUSE_ZLIB" = "xbuiltin" ; then
40607 COND_WXUSE_ZLIB_BUILTIN
=""
40610 COND_BUILD_DEBUG
="#"
40611 if test "x$BUILD" = "xdebug" ; then
40612 COND_BUILD_DEBUG
=""
40615 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT
="#"
40616 if test "x$BUILD" = "xdebug" -a "x$DEBUG_FLAG" = "xdefault" ; then
40617 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT
=""
40620 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT
="#"
40621 if test "x$BUILD" = "xdebug" -a "x$DEBUG_INFO" = "xdefault" ; then
40622 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT
=""
40625 COND_BUILD_DEBUG_UNICODE_0
="#"
40626 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x0" ; then
40627 COND_BUILD_DEBUG_UNICODE_0
=""
40630 COND_BUILD_DEBUG_UNICODE_1
="#"
40631 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x1" ; then
40632 COND_BUILD_DEBUG_UNICODE_1
=""
40635 COND_BUILD_RELEASE
="#"
40636 if test "x$BUILD" = "xrelease" ; then
40637 COND_BUILD_RELEASE
=""
40640 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT
="#"
40641 if test "x$BUILD" = "xrelease" -a "x$DEBUG_INFO" = "xdefault" ; then
40642 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT
=""
40645 COND_BUILD_RELEASE_UNICODE_0
="#"
40646 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x0" ; then
40647 COND_BUILD_RELEASE_UNICODE_0
=""
40650 COND_BUILD_RELEASE_UNICODE_1
="#"
40651 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x1" ; then
40652 COND_BUILD_RELEASE_UNICODE_1
=""
40655 COND_DEBUG_FLAG_1
="#"
40656 if test "x$DEBUG_FLAG" = "x1" ; then
40657 COND_DEBUG_FLAG_1
=""
40660 COND_DEBUG_INFO_0
="#"
40661 if test "x$DEBUG_INFO" = "x0" ; then
40662 COND_DEBUG_INFO_0
=""
40665 COND_DEBUG_INFO_1
="#"
40666 if test "x$DEBUG_INFO" = "x1" ; then
40667 COND_DEBUG_INFO_1
=""
40670 COND_DEPS_TRACKING_0
="#"
40671 if test "x$DEPS_TRACKING" = "x0" ; then
40672 COND_DEPS_TRACKING_0
=""
40675 COND_DEPS_TRACKING_1
="#"
40676 if test "x$DEPS_TRACKING" = "x1" ; then
40677 COND_DEPS_TRACKING_1
=""
40681 if test "x$GCC_PCH" = "x1" ; then
40685 COND_MONOLITHIC_0
="#"
40686 if test "x$MONOLITHIC" = "x0" ; then
40687 COND_MONOLITHIC_0
=""
40690 COND_MONOLITHIC_0_SHARED_0
="#"
40691 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" ; then
40692 COND_MONOLITHIC_0_SHARED_0
=""
40695 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1
="#"
40696 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" ; then
40697 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1
=""
40700 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_ODBC_1
="#"
40701 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_ODBC" = "x1" ; then
40702 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_ODBC_1
=""
40705 COND_MONOLITHIC_0_SHARED_0_USE_HTML_1
="#"
40706 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_HTML" = "x1" ; then
40707 COND_MONOLITHIC_0_SHARED_0_USE_HTML_1
=""
40710 COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1
="#"
40711 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_ODBC" = "x1" ; then
40712 COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1
=""
40715 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1
="#"
40716 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_XRC" = "x1" ; then
40717 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1
=""
40720 COND_MONOLITHIC_0_SHARED_1
="#"
40721 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" ; then
40722 COND_MONOLITHIC_0_SHARED_1
=""
40725 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1
="#"
40726 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" ; then
40727 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1
=""
40730 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_ODBC_1
="#"
40731 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_ODBC" = "x1" ; then
40732 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_ODBC_1
=""
40735 COND_MONOLITHIC_0_SHARED_1_USE_HTML_1
="#"
40736 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_HTML" = "x1" ; then
40737 COND_MONOLITHIC_0_SHARED_1_USE_HTML_1
=""
40740 COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1
="#"
40741 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_ODBC" = "x1" ; then
40742 COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1
=""
40745 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1
="#"
40746 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_XRC" = "x1" ; then
40747 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1
=""
40750 COND_MONOLITHIC_0_USE_ODBC_1
="#"
40751 if test "x$MONOLITHIC" = "x0" -a "x$USE_ODBC" = "x1" ; then
40752 COND_MONOLITHIC_0_USE_ODBC_1
=""
40755 COND_MONOLITHIC_1
="#"
40756 if test "x$MONOLITHIC" = "x1" ; then
40757 COND_MONOLITHIC_1
=""
40760 COND_MONOLITHIC_1_SHARED_0
="#"
40761 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x0" ; then
40762 COND_MONOLITHIC_1_SHARED_0
=""
40765 COND_MONOLITHIC_1_SHARED_1
="#"
40766 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x1" ; then
40767 COND_MONOLITHIC_1_SHARED_1
=""
40770 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1
="#"
40771 if test "x$OFFICIAL_BUILD" = "x0" -a "x$PLATFORM_WIN32" = "x1" ; then
40772 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1
=""
40775 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1
="#"
40776 if test "x$OFFICIAL_BUILD" = "x1" -a "x$PLATFORM_WIN32" = "x1" ; then
40777 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1
=""
40780 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1
="#"
40781 if test "x$PLATFORM_MACOSX" = "x0" -a "x$USE_SOVERSION" = "x1" ; then
40782 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1
=""
40785 COND_PLATFORM_MACOSX_1
="#"
40786 if test "x$PLATFORM_MACOSX" = "x1" ; then
40787 COND_PLATFORM_MACOSX_1
=""
40790 COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA
="#"
40791 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xCOCOA" ; then
40792 COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA
=""
40795 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK
="#"
40796 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xGTK" ; then
40797 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK
=""
40800 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC
="#"
40801 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMAC" ; then
40802 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC
=""
40805 COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF
="#"
40806 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMOTIF" ; then
40807 COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF
=""
40810 COND_PLATFORM_MACOSX_1_TOOLKIT_X11
="#"
40811 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xX11" ; then
40812 COND_PLATFORM_MACOSX_1_TOOLKIT_X11
=""
40815 COND_PLATFORM_MACOSX_1_USE_GUI_1
="#"
40816 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_GUI" = "x1" ; then
40817 COND_PLATFORM_MACOSX_1_USE_GUI_1
=""
40820 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1
="#"
40821 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_SOVERSION" = "x1" ; then
40822 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1
=""
40825 COND_PLATFORM_MAC_1
="#"
40826 if test "x$PLATFORM_MAC" = "x1" ; then
40827 COND_PLATFORM_MAC_1
=""
40830 COND_PLATFORM_OS2_1
="#"
40831 if test "x$PLATFORM_OS2" = "x1" ; then
40832 COND_PLATFORM_OS2_1
=""
40835 COND_PLATFORM_UNIX_0
="#"
40836 if test "x$PLATFORM_UNIX" = "x0" ; then
40837 COND_PLATFORM_UNIX_0
=""
40840 COND_PLATFORM_UNIX_1
="#"
40841 if test "x$PLATFORM_UNIX" = "x1" ; then
40842 COND_PLATFORM_UNIX_1
=""
40845 COND_PLATFORM_UNIX_1_USE_GUI_1
="#"
40846 if test "x$PLATFORM_UNIX" = "x1" -a "x$USE_GUI" = "x1" ; then
40847 COND_PLATFORM_UNIX_1_USE_GUI_1
=""
40850 COND_PLATFORM_UNIX_1_USE_PLUGINS_0
="#"
40851 if test "x$PLATFORM_UNIX" = "x1" -a "x$USE_PLUGINS" = "x0" ; then
40852 COND_PLATFORM_UNIX_1_USE_PLUGINS_0
=""
40855 COND_PLATFORM_WIN32_0
="#"
40856 if test "x$PLATFORM_WIN32" = "x0" ; then
40857 COND_PLATFORM_WIN32_0
=""
40860 COND_PLATFORM_WIN32_1
="#"
40861 if test "x$PLATFORM_WIN32" = "x1" ; then
40862 COND_PLATFORM_WIN32_1
=""
40866 if test "x$SHARED" = "x0" ; then
40870 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1
="#"
40871 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
40872 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1
=""
40875 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN
="#"
40876 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
40877 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN
=""
40880 COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN
="#"
40881 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
40882 COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN
=""
40885 COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN
="#"
40886 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
40887 COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN
=""
40890 COND_SHARED_0_WXUSE_EXPAT_BUILTIN
="#"
40891 if test "x$SHARED" = "x0" -a "x$wxUSE_EXPAT" = "xbuiltin" ; then
40892 COND_SHARED_0_WXUSE_EXPAT_BUILTIN
=""
40895 COND_SHARED_0_WXUSE_ODBC_BUILTIN
="#"
40896 if test "x$SHARED" = "x0" -a "x$wxUSE_ODBC" = "xbuiltin" ; then
40897 COND_SHARED_0_WXUSE_ODBC_BUILTIN
=""
40900 COND_SHARED_0_WXUSE_REGEX_BUILTIN
="#"
40901 if test "x$SHARED" = "x0" -a "x$wxUSE_REGEX" = "xbuiltin" ; then
40902 COND_SHARED_0_WXUSE_REGEX_BUILTIN
=""
40905 COND_SHARED_0_WXUSE_ZLIB_BUILTIN
="#"
40906 if test "x$SHARED" = "x0" -a "x$wxUSE_ZLIB" = "xbuiltin" ; then
40907 COND_SHARED_0_WXUSE_ZLIB_BUILTIN
=""
40911 if test "x$SHARED" = "x1" ; then
40915 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1
="#"
40916 if test "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
40917 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1
=""
40920 COND_TOOLKIT_COCOA
="#"
40921 if test "x$TOOLKIT" = "xCOCOA" ; then
40922 COND_TOOLKIT_COCOA
=""
40925 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0
="#"
40926 if test "x$TOOLKIT" = "xCOCOA" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
40927 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0
=""
40930 COND_TOOLKIT_GTK
="#"
40931 if test "x$TOOLKIT" = "xGTK" ; then
40932 COND_TOOLKIT_GTK
=""
40935 COND_TOOLKIT_GTK_USE_GUI_1
="#"
40936 if test "x$TOOLKIT" = "xGTK" -a "x$USE_GUI" = "x1" ; then
40937 COND_TOOLKIT_GTK_USE_GUI_1
=""
40940 COND_TOOLKIT_GTK_USE_GUI_1_WXUNIV_0
="#"
40941 if test "x$TOOLKIT" = "xGTK" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
40942 COND_TOOLKIT_GTK_USE_GUI_1_WXUNIV_0
=""
40945 COND_TOOLKIT_MAC
="#"
40946 if test "x$TOOLKIT" = "xMAC" ; then
40947 COND_TOOLKIT_MAC
=""
40950 COND_TOOLKIT_MAC_USE_GUI_1
="#"
40951 if test "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" ; then
40952 COND_TOOLKIT_MAC_USE_GUI_1
=""
40955 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0
="#"
40956 if test "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
40957 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0
=""
40960 COND_TOOLKIT_MAC_WXUNIV_0
="#"
40961 if test "x$TOOLKIT" = "xMAC" -a "x$WXUNIV" = "x0" ; then
40962 COND_TOOLKIT_MAC_WXUNIV_0
=""
40965 COND_TOOLKIT_MGL
="#"
40966 if test "x$TOOLKIT" = "xMGL" ; then
40967 COND_TOOLKIT_MGL
=""
40970 COND_TOOLKIT_MGL_USE_GUI_1
="#"
40971 if test "x$TOOLKIT" = "xMGL" -a "x$USE_GUI" = "x1" ; then
40972 COND_TOOLKIT_MGL_USE_GUI_1
=""
40975 COND_TOOLKIT_MOTIF
="#"
40976 if test "x$TOOLKIT" = "xMOTIF" ; then
40977 COND_TOOLKIT_MOTIF
=""
40980 COND_TOOLKIT_MOTIF_USE_GUI_1
="#"
40981 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" ; then
40982 COND_TOOLKIT_MOTIF_USE_GUI_1
=""
40985 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0
="#"
40986 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
40987 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0
=""
40990 COND_TOOLKIT_MSW
="#"
40991 if test "x$TOOLKIT" = "xMSW" ; then
40992 COND_TOOLKIT_MSW
=""
40995 COND_TOOLKIT_MSW_USE_GUI_1
="#"
40996 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" ; then
40997 COND_TOOLKIT_MSW_USE_GUI_1
=""
41000 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0
="#"
41001 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
41002 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0
=""
41005 COND_TOOLKIT_MSW_WXUNIV_0
="#"
41006 if test "x$TOOLKIT" = "xMSW" -a "x$WXUNIV" = "x0" ; then
41007 COND_TOOLKIT_MSW_WXUNIV_0
=""
41010 COND_TOOLKIT_PM
="#"
41011 if test "x$TOOLKIT" = "xPM" ; then
41015 COND_TOOLKIT_PM_USE_GUI_1
="#"
41016 if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" ; then
41017 COND_TOOLKIT_PM_USE_GUI_1
=""
41020 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0
="#"
41021 if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
41022 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0
=""
41025 COND_TOOLKIT_PM_WXUNIV_0
="#"
41026 if test "x$TOOLKIT" = "xPM" -a "x$WXUNIV" = "x0" ; then
41027 COND_TOOLKIT_PM_WXUNIV_0
=""
41030 COND_TOOLKIT_WINCE
="#"
41031 if test "x$TOOLKIT" = "xWINCE" ; then
41032 COND_TOOLKIT_WINCE
=""
41035 COND_TOOLKIT_WINCE_USE_GUI_1
="#"
41036 if test "x$TOOLKIT" = "xWINCE" -a "x$USE_GUI" = "x1" ; then
41037 COND_TOOLKIT_WINCE_USE_GUI_1
=""
41040 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0
="#"
41041 if test "x$TOOLKIT" = "xWINCE" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
41042 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0
=""
41045 COND_TOOLKIT_X11
="#"
41046 if test "x$TOOLKIT" = "xX11" ; then
41047 COND_TOOLKIT_X11
=""
41050 COND_TOOLKIT_X11_USE_GUI_1
="#"
41051 if test "x$TOOLKIT" = "xX11" -a "x$USE_GUI" = "x1" ; then
41052 COND_TOOLKIT_X11_USE_GUI_1
=""
41056 if test "x$UNICODE" = "x1" ; then
41060 COND_USE_EXCEPTIONS_0
="#"
41061 if test "x$USE_EXCEPTIONS" = "x0" ; then
41062 COND_USE_EXCEPTIONS_0
=""
41065 COND_USE_EXCEPTIONS_1
="#"
41066 if test "x$USE_EXCEPTIONS" = "x1" ; then
41067 COND_USE_EXCEPTIONS_1
=""
41071 if test "x$USE_GUI" = "x0" ; then
41076 if test "x$USE_GUI" = "x1" ; then
41080 COND_USE_GUI_1_WXUNIV_0
="#"
41081 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
41082 COND_USE_GUI_1_WXUNIV_0
=""
41085 COND_USE_GUI_1_WXUNIV_1
="#"
41086 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x1" ; then
41087 COND_USE_GUI_1_WXUNIV_1
=""
41090 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN
="#"
41091 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
41092 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN
=""
41095 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN
="#"
41096 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
41097 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN
=""
41100 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN
="#"
41101 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
41102 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN
=""
41105 COND_USE_ODBC_1
="#"
41106 if test "x$USE_ODBC" = "x1" ; then
41110 COND_USE_PLUGINS_0
="#"
41111 if test "x$USE_PLUGINS" = "x0" ; then
41112 COND_USE_PLUGINS_0
=""
41115 COND_USE_SOSYMLINKS_1
="#"
41116 if test "x$USE_SOSYMLINKS" = "x1" ; then
41117 COND_USE_SOSYMLINKS_1
=""
41120 COND_USE_SOVERLINUX_1
="#"
41121 if test "x$USE_SOVERLINUX" = "x1" ; then
41122 COND_USE_SOVERLINUX_1
=""
41125 COND_USE_SOVERSION_0
="#"
41126 if test "x$USE_SOVERSION" = "x0" ; then
41127 COND_USE_SOVERSION_0
=""
41130 COND_USE_SOVERSOLARIS_1
="#"
41131 if test "x$USE_SOVERSOLARIS" = "x1" ; then
41132 COND_USE_SOVERSOLARIS_1
=""
41135 COND_WITH_PLUGIN_SDL_1
="#"
41136 if test "x$WITH_PLUGIN_SDL" = "x1" ; then
41137 COND_WITH_PLUGIN_SDL_1
=""
41141 if test "x$WXUNIV" = "x1" ; then
41145 COND_WXUSE_EXPAT_BUILTIN
="#"
41146 if test "x$wxUSE_EXPAT" = "xbuiltin" ; then
41147 COND_WXUSE_EXPAT_BUILTIN
=""
41150 COND_WXUSE_LIBJPEG_BUILTIN
="#"
41151 if test "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
41152 COND_WXUSE_LIBJPEG_BUILTIN
=""
41155 COND_WXUSE_LIBPNG_BUILTIN
="#"
41156 if test "x$wxUSE_LIBPNG" = "xbuiltin" ; then
41157 COND_WXUSE_LIBPNG_BUILTIN
=""
41160 COND_WXUSE_LIBTIFF_BUILTIN
="#"
41161 if test "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
41162 COND_WXUSE_LIBTIFF_BUILTIN
=""
41165 COND_WXUSE_ODBC_BUILTIN
="#"
41166 if test "x$wxUSE_ODBC" = "xbuiltin" ; then
41167 COND_WXUSE_ODBC_BUILTIN
=""
41170 COND_WXUSE_REGEX_BUILTIN
="#"
41171 if test "x$wxUSE_REGEX" = "xbuiltin" ; then
41172 COND_WXUSE_REGEX_BUILTIN
=""
41175 COND_WXUSE_ZLIB_BUILTIN
="#"
41176 if test "x$wxUSE_ZLIB" = "xbuiltin" ; then
41177 COND_WXUSE_ZLIB_BUILTIN
=""
41182 if test "$BAKEFILE_BAKEFILE_M4_VERSION" != "$BAKEFILE_AUTOCONF_INC_M4_VERSION" ; then
41183 { { 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
41184 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;}
41185 { (exit 1); exit 1; }; }
41189 if test "$wxUSE_SHARED" = "yes"; then
41191 sanitised_bakefile_mess
=`echo "$SHARED_LD_CXX" | tr -d '()'`
41192 EXE_LINKER
=`eval echo "$sanitised_bakefile_mess"`
41196 EXE_LINKER
="$CXX -o"
41200 GCC_PRAGMA_FLAGS
=""
41201 if test $GCC_PCH = 1 ; then
41202 GCC_PRAGMA_FLAGS
="-DWX_PRECOMP -DNO_GCC_PRAGMA"
41205 powerpc
-*-darwin* )
41206 GCC_PRAGMA_FLAGS
="-DNO_GCC_PRAGMA"
41209 if test "$wxUSE_STL" = "yes" -o \
41210 "$wxUSE_NO_EXCEPTIONS" != "yes" -o \
41211 "$wxUSE_NO_RTTI" != "yes"; then
41212 echo "$as_me:$LINENO: checking if this MinGW version needs -DNO_GCC_PRAGMA" >&5
41213 echo $ECHO_N "checking if this MinGW version needs -DNO_GCC_PRAGMA... $ECHO_C" >&6
41214 cat >conftest.
$ac_ext <<_ACEOF
41217 cat confdefs.h
>>conftest.
$ac_ext
41218 cat >>conftest.
$ac_ext <<_ACEOF
41219 /* end confdefs.h. */
41224 #if !(__GNUC__ > 3 || (__GNUC__ == 3 && __GNUC_MINOR__ >= 2))
41225 #error "Not GCC 3.2 or greater"
41232 rm -f conftest.
$ac_objext
41233 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
41234 (eval $ac_compile) 2>conftest.er1
41236 grep -v '^ *+' conftest.er1
>conftest.err
41238 cat conftest.err
>&5
41239 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41240 (exit $ac_status); } &&
41241 { ac_try
='test -z "$ac_c_werror_flag"
41242 || test ! -s conftest.err'
41243 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41244 (eval $ac_try) 2>&5
41246 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41247 (exit $ac_status); }; } &&
41248 { ac_try
='test -s conftest.$ac_objext'
41249 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41250 (eval $ac_try) 2>&5
41252 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41253 (exit $ac_status); }; }; then
41254 GCC_PRAGMA_FLAGS
="-DNO_GCC_PRAGMA"
41255 echo "$as_me:$LINENO: result: yes" >&5
41256 echo "${ECHO_T}yes" >&6
41258 echo "$as_me: failed program was:" >&5
41259 sed 's/^/| /' conftest.
$ac_ext >&5
41261 echo "$as_me:$LINENO: result: no" >&5
41262 echo "${ECHO_T}no" >&6
41264 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
41269 CPPFLAGS
="$GCC_PRAGMA_FLAGS $CPPFLAGS"
41272 SAMPLES_SUBDIRS
="`echo $SAMPLES_SUBDIRS | tr -s ' ' | tr ' ' '\n' | sort | uniq | tr '\n' ' '| tr -d '\r'`"
41336 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
41337 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
41338 set dummy
${MAKE-make}; ac_make
=`echo "$2" | sed 'y,:./+-,___p_,'`
41339 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
41340 echo $ECHO_N "(cached) $ECHO_C" >&6
41342 cat >conftest.
make <<\_ACEOF
41344 @
echo 'ac_maketemp="$(MAKE)"'
41346 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
41347 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
41348 if test -n "$ac_maketemp"; then
41349 eval ac_cv_prog_make_
${ac_make}_set
=yes
41351 eval ac_cv_prog_make_
${ac_make}_set
=no
41353 rm -f conftest.
make
41355 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
41356 echo "$as_me:$LINENO: result: yes" >&5
41357 echo "${ECHO_T}yes" >&6
41360 echo "$as_me:$LINENO: result: no" >&5
41361 echo "${ECHO_T}no" >&6
41362 SET_MAKE
="MAKE=${MAKE-make}"
41367 ac_config_headers
="$ac_config_headers lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h:setup.h.in"
41370 ac_config_files
="$ac_config_files lib/wx/config/${TOOLCHAIN_FULLNAME}:wx-config.in"
41373 ac_config_files
="$ac_config_files lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}:wx-config-inplace.in"
41376 ac_config_files
="$ac_config_files version-script Makefile"
41379 ac_config_commands
="$ac_config_commands wx-config
41385 if test "$wxUSE_GUI" = "yes"; then
41386 SUBDIRS
="samples demos utils contrib"
41387 else SUBDIRS
="samples utils"
41392 # Check whether --with-cppunit-prefix or --without-cppunit-prefix was given.
41393 if test "${with_cppunit_prefix+set}" = set; then
41394 withval
="$with_cppunit_prefix"
41395 cppunit_config_prefix
="$withval"
41397 cppunit_config_prefix
=""
41400 # Check whether --with-cppunit-exec-prefix or --without-cppunit-exec-prefix was given.
41401 if test "${with_cppunit_exec_prefix+set}" = set; then
41402 withval
="$with_cppunit_exec_prefix"
41403 cppunit_config_exec_prefix
="$withval"
41405 cppunit_config_exec_prefix
=""
41408 if test x
$cppunit_config_exec_prefix != x
; then
41409 cppunit_config_args
="$cppunit_config_args --exec-prefix=$cppunit_config_exec_prefix"
41410 if test x
${CPPUNIT_CONFIG+set} != xset
; then
41411 CPPUNIT_CONFIG
=$cppunit_config_exec_prefix/bin
/cppunit
-config
41414 if test x
$cppunit_config_prefix != x
; then
41415 cppunit_config_args
="$cppunit_config_args --prefix=$cppunit_config_prefix"
41416 if test x
${CPPUNIT_CONFIG+set} != xset
; then
41417 CPPUNIT_CONFIG
=$cppunit_config_prefix/bin
/cppunit
-config
41421 # Extract the first word of "cppunit-config", so it can be a program name with args.
41422 set dummy cppunit
-config; ac_word
=$2
41423 echo "$as_me:$LINENO: checking for $ac_word" >&5
41424 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
41425 if test "${ac_cv_path_CPPUNIT_CONFIG+set}" = set; then
41426 echo $ECHO_N "(cached) $ECHO_C" >&6
41428 case $CPPUNIT_CONFIG in
41430 ac_cv_path_CPPUNIT_CONFIG
="$CPPUNIT_CONFIG" # Let the user override the test with a path.
41433 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
41434 for as_dir
in $PATH
41437 test -z "$as_dir" && as_dir
=.
41438 for ac_exec_ext
in '' $ac_executable_extensions; do
41439 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
41440 ac_cv_path_CPPUNIT_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
41441 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
41447 test -z "$ac_cv_path_CPPUNIT_CONFIG" && ac_cv_path_CPPUNIT_CONFIG
="no"
41451 CPPUNIT_CONFIG
=$ac_cv_path_CPPUNIT_CONFIG
41453 if test -n "$CPPUNIT_CONFIG"; then
41454 echo "$as_me:$LINENO: result: $CPPUNIT_CONFIG" >&5
41455 echo "${ECHO_T}$CPPUNIT_CONFIG" >&6
41457 echo "$as_me:$LINENO: result: no" >&5
41458 echo "${ECHO_T}no" >&6
41461 cppunit_version_min
=1.8.0
41463 echo "$as_me:$LINENO: checking for Cppunit - version >= $cppunit_version_min" >&5
41464 echo $ECHO_N "checking for Cppunit - version >= $cppunit_version_min... $ECHO_C" >&6
41466 if test "$CPPUNIT_CONFIG" = "no" ; then
41469 CPPUNIT_CFLAGS
=`$CPPUNIT_CONFIG --cflags`
41470 CPPUNIT_LIBS
=`$CPPUNIT_CONFIG --libs`
41471 cppunit_version
=`$CPPUNIT_CONFIG --version`
41473 cppunit_major_version
=`echo $cppunit_version | \
41474 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
41475 cppunit_minor_version
=`echo $cppunit_version | \
41476 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
41477 cppunit_micro_version
=`echo $cppunit_version | \
41478 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
41480 cppunit_major_min
=`echo $cppunit_version_min | \
41481 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
41482 cppunit_minor_min
=`echo $cppunit_version_min | \
41483 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
41484 cppunit_micro_min
=`echo $cppunit_version_min | \
41485 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
41487 cppunit_version_proper
=`expr \
41488 $cppunit_major_version \> $cppunit_major_min \| \
41489 $cppunit_major_version \= $cppunit_major_min \& \
41490 $cppunit_minor_version \> $cppunit_minor_min \| \
41491 $cppunit_major_version \= $cppunit_major_min \& \
41492 $cppunit_minor_version \= $cppunit_minor_min \& \
41493 $cppunit_micro_version \>= $cppunit_micro_min `
41495 if test "$cppunit_version_proper" = "1" ; then
41496 echo "$as_me:$LINENO: result: $cppunit_major_version.$cppunit_minor_version.$cppunit_micro_version" >&5
41497 echo "${ECHO_T}$cppunit_major_version.$cppunit_minor_version.$cppunit_micro_version" >&6
41499 echo "$as_me:$LINENO: result: no" >&5
41500 echo "${ECHO_T}no" >&6
41505 if test "x$no_cppunit" = x
; then
41506 SUBDIRS
="$SUBDIRS tests"
41517 for subdir
in `echo $SUBDIRS`; do
41518 if test -d ${srcdir}/${subdir} ; then
41519 if test "$wxUSE_GUI" = "yes"; then
41520 if test ${subdir} = "samples"; then
41521 makefiles
="samples/Makefile.in $makefiles"
41522 for sample
in `echo $SAMPLES_SUBDIRS`; do
41523 if test -d $srcdir/samples
/$sample; then
41524 makefiles
="samples/$sample/Makefile.in $makefiles"
41527 else makefiles
=`(cd $srcdir ; find $subdir -name Makefile.in)`
41529 else if test ${subdir} = "samples"; then
41530 makefiles
="samples/Makefile.in samples/console/Makefile.in"
41531 elif test ${subdir} = "utils"; then
41532 makefiles
="utils/HelpGen/Makefile.in \
41533 utils/HelpGen/src/Makefile.in \
41534 utils/tex2rtf/Makefile.in \
41535 utils/tex2rtf/src/Makefile.in"
41536 else makefiles
=`(cd $srcdir ; find $subdir -name Makefile.in)`
41540 for mkin
in $makefiles ; do
41541 mk
=`echo $mkin | sed 's/Makefile\.in/Makefile/g'`
41542 ac_config_files
="$ac_config_files $mk"
41549 cat >confcache
<<\_ACEOF
41550 # This file is a shell script that caches the results of configure
41551 # tests run on this system so they can be shared between configure
41552 # scripts and configure runs, see configure's option --config-cache.
41553 # It is not useful on other systems. If it contains results you don't
41554 # want to keep, you may remove or edit it.
41556 # config.status only pays attention to the cache file if you give it
41557 # the --recheck option to rerun configure.
41559 # `ac_cv_env_foo' variables (set or unset) will be overridden when
41560 # loading this file, other *unset* `ac_cv_foo' will be assigned the
41561 # following values.
41565 # The following way of writing the cache mishandles newlines in values,
41566 # but we know of no workaround that is simple, portable, and efficient.
41567 # So, don't put newlines in cache variables' values.
41568 # Ultrix sh set writes to stderr and can't be redirected directly,
41569 # and sets the high bit in the cache file unless we assign to the vars.
41572 case `(ac_space=' '; set | grep ac_space) 2>&1` in
41574 # `set' does not quote correctly, so add quotes (double-quote
41575 # substitution turns \\\\ into \\, and sed turns \\ into \).
41578 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
41581 # `set' quotes correctly as required by POSIX, so do not add quotes.
41583 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
41590 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
41592 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
41594 if diff $cache_file confcache
>/dev
/null
2>&1; then :; else
41595 if test -w $cache_file; then
41596 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
41597 cat confcache
>$cache_file
41599 echo "not updating unwritable cache $cache_file"
41604 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
41605 # Let make expand exec_prefix.
41606 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
41608 # VPATH may cause trouble with some makes, so we remove $(srcdir),
41609 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
41610 # trailing colons and then remove the whole line if VPATH becomes empty
41611 # (actually we leave an empty line to preserve line numbers).
41612 if test "x$srcdir" = x.
; then
41613 ac_vpsub
='/^[ ]*VPATH[ ]*=/{
41614 s/:*\$(srcdir):*/:/;
41615 s/:*\${srcdir}:*/:/;
41617 s/^\([^=]*=[ ]*\):*/\1/;
41623 DEFS
=-DHAVE_CONFIG_H
41627 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
41628 # 1. Remove the extension, and $U if already installed.
41629 ac_i
=`echo "$ac_i" |
41630 sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
41632 ac_libobjs
="$ac_libobjs $ac_i\$U.$ac_objext"
41633 ac_ltlibobjs
="$ac_ltlibobjs $ac_i"'$U.lo'
41635 LIBOBJS
=$ac_libobjs
41637 LTLIBOBJS
=$ac_ltlibobjs
41641 : ${CONFIG_STATUS=./config.status}
41642 ac_clean_files_save
=$ac_clean_files
41643 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
41644 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
41645 echo "$as_me: creating $CONFIG_STATUS" >&6;}
41646 cat >$CONFIG_STATUS <<_ACEOF
41648 # Generated by $as_me.
41649 # Run this file to recreate the current configuration.
41650 # Compiler output produced by configure, useful for debugging
41651 # configure, is in config.log if it exists.
41654 ac_cs_recheck=false
41656 SHELL=\${CONFIG_SHELL-$SHELL}
41659 cat >>$CONFIG_STATUS <<\_ACEOF
41660 ## --------------------- ##
41661 ## M4sh Initialization. ##
41662 ## --------------------- ##
41664 # Be Bourne compatible
41665 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
41668 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
41669 # is contrary to our usage. Disable this feature.
41670 alias -g '${1+"$@"}'='"$@"'
41671 elif test -n "${BASH_VERSION+set}" && (set -o posix
) >/dev
/null
2>&1; then
41674 DUALCASE
=1; export DUALCASE
# for MKS sh
41676 # Support unset when possible.
41677 if ( (MAIL
=60; unset MAIL
) || exit) >/dev
/null
2>&1; then
41684 # Work around bugs in pre-3.0 UWIN ksh.
41685 $as_unset ENV MAIL MAILPATH
41692 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
41693 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
41694 LC_TELEPHONE LC_TIME
41696 if (set +x
; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
41697 eval $as_var=C
; export $as_var
41703 # Required to use basename.
41704 if expr a
: '\(a\)' >/dev
/null
2>&1; then
41710 if (basename /) >/dev
/null
2>&1 && test "X`basename / 2>&1`" = "X/"; then
41711 as_basename
=basename
41717 # Name of the executable.
41718 as_me
=`$as_basename "$0" ||
41719 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
41720 X"$0" : 'X\(//\)$' \| \
41721 X"$0" : 'X\(/\)$' \| \
41722 . : '\(.\)' 2>/dev/null ||
41724 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
41725 /^X\/\(\/\/\)$/{ s//\1/; q; }
41726 /^X\/\(\/\).*/{ s//\1/; q; }
41730 # PATH needs CR, and LINENO needs CR and PATH.
41731 # Avoid depending upon Character Ranges.
41732 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
41733 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
41734 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
41735 as_cr_digits
='0123456789'
41736 as_cr_alnum
=$as_cr_Letters$as_cr_digits
41738 # The user is always right.
41739 if test "${PATH_SEPARATOR+set}" != set; then
41740 echo "#! /bin/sh" >conf$$.sh
41741 echo "exit 0" >>conf$$.sh
41743 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
41752 as_lineno_1
=$LINENO
41753 as_lineno_2
=$LINENO
41754 as_lineno_3
=`(expr $as_lineno_1 + 1) 2>/dev/null`
41755 test "x$as_lineno_1" != "x$as_lineno_2" &&
41756 test "x$as_lineno_3" = "x$as_lineno_2" || {
41757 # Find who we are. Look in the path if we contain no path at all
41760 *[\\/]* ) as_myself
=$0 ;;
41761 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
41762 for as_dir
in $PATH
41765 test -z "$as_dir" && as_dir
=.
41766 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
41771 # We did not find ourselves, most probably we were run as `sh COMMAND'
41772 # in which case we are not to be found in the path.
41773 if test "x$as_myself" = x
; then
41776 if test ! -f "$as_myself"; then
41777 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
41778 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
41779 { (exit 1); exit 1; }; }
41781 case $CONFIG_SHELL in
41783 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
41784 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
41787 test -z "$as_dir" && as_dir
=.
41788 for as_base
in sh bash ksh sh5
; do
41791 if ("$as_dir/$as_base" -c '
41792 as_lineno_1=$LINENO
41793 as_lineno_2=$LINENO
41794 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
41795 test "x$as_lineno_1" != "x$as_lineno_2" &&
41796 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev
/null
; then
41797 $as_unset BASH_ENV
|| test "${BASH_ENV+set}" != set || { BASH_ENV
=; export BASH_ENV
; }
41798 $as_unset ENV
|| test "${ENV+set}" != set || { ENV
=; export ENV
; }
41799 CONFIG_SHELL
=$as_dir/$as_base
41800 export CONFIG_SHELL
41801 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
41809 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
41810 # uniformly replaced by the line number. The first 'sed' inserts a
41811 # line-number line before each line; the second 'sed' does the real
41812 # work. The second script uses 'N' to pair each line-number line
41813 # with the numbered line, and appends trailing '-' during
41814 # substitution so that $LINENO is not a special case at line end.
41815 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
41816 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
41817 sed '=' <$as_myself |
41822 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
41825 s,^['$as_cr_digits']*\n,,
41826 ' >$as_me.lineno
&&
41827 chmod +x
$as_me.lineno
||
41828 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
41829 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
41830 { (exit 1); exit 1; }; }
41832 # Don't try to exec as it changes $[0], causing all sort of problems
41833 # (the dirname of $[0] is not the place where we might find the
41834 # original and so on. Autoconf is especially sensible to this).
41836 # Exit status is that of the last command.
41841 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
41842 *c
*,-n*) ECHO_N
= ECHO_C
='
41844 *c
*,* ) ECHO_N
=-n ECHO_C
= ECHO_T
= ;;
41845 *) ECHO_N
= ECHO_C
='\c' ECHO_T
= ;;
41848 if expr a
: '\(a\)' >/dev
/null
2>&1; then
41854 rm -f conf$$ conf$$.exe conf$$.
file
41856 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
41857 # We could just check for DJGPP; but this test a) works b) is more generic
41858 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
41859 if test -f conf$$.exe
; then
41860 # Don't use ln at all; we don't have any links
41865 elif ln conf$$.
file conf$$
2>/dev
/null
; then
41870 rm -f conf$$ conf$$.exe conf$$.
file
41872 if mkdir -p .
2>/dev
/null
; then
41875 test -d .
/-p && rmdir .
/-p
41879 as_executable_p
="test -f"
41881 # Sed expression to map a string onto a valid CPP name.
41882 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
41884 # Sed expression to map a string onto a valid variable name.
41885 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
41889 # We need space, tab and new line, in precisely that order.
41899 # Open the log real soon, to keep \$[0] and so on meaningful, and to
41900 # report actual input values of CONFIG_FILES etc. instead of their
41901 # values after options handling. Logging --version etc. is OK.
41905 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
41906 ## Running $as_me. ##
41911 This file was extended by wxWidgets $as_me 2.5.3, which was
41912 generated by GNU Autoconf 2.59. Invocation command line was
41914 CONFIG_FILES = $CONFIG_FILES
41915 CONFIG_HEADERS = $CONFIG_HEADERS
41916 CONFIG_LINKS = $CONFIG_LINKS
41917 CONFIG_COMMANDS = $CONFIG_COMMANDS
41921 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
41925 # Files that config.status was made for.
41926 if test -n "$ac_config_files"; then
41927 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
41930 if test -n "$ac_config_headers"; then
41931 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
41934 if test -n "$ac_config_links"; then
41935 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
41938 if test -n "$ac_config_commands"; then
41939 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
41942 cat >>$CONFIG_STATUS <<\_ACEOF
41945 \`$as_me' instantiates files from templates according to the
41946 current configuration.
41948 Usage: $0 [OPTIONS] [FILE]...
41950 -h, --help print this help, then exit
41951 -V, --version print version number, then exit
41952 -q, --quiet do not print progress messages
41953 -d, --debug don't remove temporary files
41954 --recheck update $as_me by reconfiguring in the same conditions
41955 --file=FILE[:TEMPLATE]
41956 instantiate the configuration file FILE
41957 --header=FILE[:TEMPLATE]
41958 instantiate the configuration header FILE
41960 Configuration files:
41963 Configuration headers:
41966 Configuration commands:
41969 Report bugs to <bug-autoconf@gnu.org>."
41972 cat >>$CONFIG_STATUS <<_ACEOF
41974 wxWidgets config.status 2.5.3
41975 configured by $0, generated by GNU Autoconf 2.59,
41976 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
41978 Copyright (C) 2003 Free Software Foundation, Inc.
41979 This config.status script is free software; the Free Software Foundation
41980 gives unlimited permission to copy, distribute and modify it."
41985 cat >>$CONFIG_STATUS <<\_ACEOF
41986 # If no file are specified by the user, then we need to provide default
41987 # value. By we need to know if files were specified by the user.
41993 ac_option
=`expr "x$1" : 'x\([^=]*\)='`
41994 ac_optarg
=`expr "x$1" : 'x[^=]*=\(.*\)'`
42002 *) # This is not an option, so the user has probably given explicit
42005 ac_need_defaults
=false
;;
42009 # Handling of the options.
42011 cat >>$CONFIG_STATUS <<\_ACEOF
42012 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
42014 --version | --vers* | -V )
42015 echo "$ac_cs_version"; exit 0 ;;
42017 # Conflict between --help and --header
42018 { { echo "$as_me:$LINENO: error: ambiguous option: $1
42019 Try \`$0 --help' for more information." >&5
42020 echo "$as_me: error: ambiguous option: $1
42021 Try \`$0 --help' for more information." >&2;}
42022 { (exit 1); exit 1; }; };;
42023 --help | --hel | -h )
42024 echo "$ac_cs_usage"; exit 0 ;;
42025 --debug | --d* | -d )
42027 --file | --fil | --fi | --f )
42029 CONFIG_FILES
="$CONFIG_FILES $ac_optarg"
42030 ac_need_defaults
=false
;;
42031 --header | --heade | --head | --hea )
42033 CONFIG_HEADERS
="$CONFIG_HEADERS $ac_optarg"
42034 ac_need_defaults
=false
;;
42035 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
42036 | -silent | --silent | --silen | --sile | --sil | --si | --s)
42039 # This is an error.
42040 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
42041 Try \`$0 --help' for more information." >&5
42042 echo "$as_me: error: unrecognized option: $1
42043 Try \`$0 --help' for more information." >&2;}
42044 { (exit 1); exit 1; }; } ;;
42046 *) ac_config_targets
="$ac_config_targets $1" ;;
42052 ac_configure_extra_args
=
42054 if $ac_cs_silent; then
42056 ac_configure_extra_args
="$ac_configure_extra_args --silent"
42060 cat >>$CONFIG_STATUS <<_ACEOF
42061 if \$ac_cs_recheck; then
42062 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
42063 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
42068 cat >>$CONFIG_STATUS <<_ACEOF
42070 # INIT-COMMANDS section.
42073 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
42074 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
42075 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
42083 cat >>$CONFIG_STATUS <<\_ACEOF
42084 for ac_config_target
in $ac_config_targets
42086 case "$ac_config_target" in
42087 # Handling of arguments.
42088 "lib/wx/config/${TOOLCHAIN_FULLNAME}" ) CONFIG_FILES
="$CONFIG_FILES lib/wx/config/${TOOLCHAIN_FULLNAME}:wx-config.in" ;;
42089 "lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}" ) CONFIG_FILES
="$CONFIG_FILES lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}:wx-config-inplace.in" ;;
42090 "version-script" ) CONFIG_FILES
="$CONFIG_FILES version-script" ;;
42091 "Makefile" ) CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
42092 "$mk" ) CONFIG_FILES
="$CONFIG_FILES $mk" ;;
42093 "wx-config" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS wx-config" ;;
42094 "lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h" ) CONFIG_HEADERS
="$CONFIG_HEADERS lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h:setup.h.in" ;;
42095 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
42096 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
42097 { (exit 1); exit 1; }; };;
42101 # If the user did not use the arguments to specify the items to instantiate,
42102 # then the envvar interface is used. Set only those that are not.
42103 # We use the long form for the default assignment because of an extremely
42104 # bizarre bug on SunOS 4.1.3.
42105 if $ac_need_defaults; then
42106 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
42107 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
42108 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
42111 # Have a temporary directory for convenience. Make it in the build tree
42112 # simply because there is no reason to put it here, and in addition,
42113 # creating and moving files from /tmp can sometimes cause problems.
42114 # Create a temporary directory, and hook for its removal unless debugging.
42117 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
42118 trap '{ (exit 1); exit 1; }' 1 2 13 15
42121 # Create a (secure) tmp directory for tmp files.
42124 tmp
=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
42125 test -n "$tmp" && test -d "$tmp"
42128 tmp
=.
/confstat$$
-$RANDOM
42129 (umask 077 && mkdir $tmp)
42132 echo "$me: cannot create a temporary directory in ." >&2
42133 { (exit 1); exit 1; }
42138 cat >>$CONFIG_STATUS <<_ACEOF
42141 # CONFIG_FILES section.
42144 # No need to generate the scripts if there are no CONFIG_FILES.
42145 # This happens for instance when ./config.status config.h
42146 if test -n "\$CONFIG_FILES"; then
42147 # Protect against being on the right side of a sed subst in config.status.
42148 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
42149 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
42150 s,@SHELL@,$SHELL,;t t
42151 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
42152 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
42153 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
42154 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
42155 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
42156 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
42157 s,@exec_prefix@,$exec_prefix,;t t
42158 s,@prefix@,$prefix,;t t
42159 s,@program_transform_name@,$program_transform_name,;t t
42160 s,@bindir@,$bindir,;t t
42161 s,@sbindir@,$sbindir,;t t
42162 s,@libexecdir@,$libexecdir,;t t
42163 s,@datadir@,$datadir,;t t
42164 s,@sysconfdir@,$sysconfdir,;t t
42165 s,@sharedstatedir@,$sharedstatedir,;t t
42166 s,@localstatedir@,$localstatedir,;t t
42167 s,@libdir@,$libdir,;t t
42168 s,@includedir@,$includedir,;t t
42169 s,@oldincludedir@,$oldincludedir,;t t
42170 s,@infodir@,$infodir,;t t
42171 s,@mandir@,$mandir,;t t
42172 s,@build_alias@,$build_alias,;t t
42173 s,@host_alias@,$host_alias,;t t
42174 s,@target_alias@,$target_alias,;t t
42175 s,@DEFS@,$DEFS,;t t
42176 s,@ECHO_C@,$ECHO_C,;t t
42177 s,@ECHO_N@,$ECHO_N,;t t
42178 s,@ECHO_T@,$ECHO_T,;t t
42179 s,@LIBS@,$LIBS,;t t
42180 s,@build@,$build,;t t
42181 s,@build_cpu@,$build_cpu,;t t
42182 s,@build_vendor@,$build_vendor,;t t
42183 s,@build_os@,$build_os,;t t
42184 s,@host@,$host,;t t
42185 s,@host_cpu@,$host_cpu,;t t
42186 s,@host_vendor@,$host_vendor,;t t
42187 s,@host_os@,$host_os,;t t
42188 s,@target@,$target,;t t
42189 s,@target_cpu@,$target_cpu,;t t
42190 s,@target_vendor@,$target_vendor,;t t
42191 s,@target_os@,$target_os,;t t
42193 s,@CFLAGS@,$CFLAGS,;t t
42194 s,@LDFLAGS@,$LDFLAGS,;t t
42195 s,@CPPFLAGS@,$CPPFLAGS,;t t
42196 s,@ac_ct_CC@,$ac_ct_CC,;t t
42197 s,@EXEEXT@,$EXEEXT,;t t
42198 s,@OBJEXT@,$OBJEXT,;t t
42200 s,@EGREP@,$EGREP,;t t
42202 s,@CXXFLAGS@,$CXXFLAGS,;t t
42203 s,@ac_ct_CXX@,$ac_ct_CXX,;t t
42204 s,@RANLIB@,$RANLIB,;t t
42205 s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
42207 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
42208 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
42209 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
42210 s,@STRIP@,$STRIP,;t t
42211 s,@IF_GNU_MAKE@,$IF_GNU_MAKE,;t t
42212 s,@LN_S@,$LN_S,;t t
42213 s,@CXXCPP@,$CXXCPP,;t t
42214 s,@subdirs@,$subdirs,;t t
42215 s,@PKG_CONFIG@,$PKG_CONFIG,;t t
42216 s,@GTK_CFLAGS@,$GTK_CFLAGS,;t t
42217 s,@GTK_LIBS@,$GTK_LIBS,;t t
42218 s,@GTK_CONFIG@,$GTK_CONFIG,;t t
42219 s,@PANGOFT2_CFLAGS@,$PANGOFT2_CFLAGS,;t t
42220 s,@PANGOFT2_LIBS@,$PANGOFT2_LIBS,;t t
42221 s,@X_CFLAGS@,$X_CFLAGS,;t t
42222 s,@X_PRE_LIBS@,$X_PRE_LIBS,;t t
42223 s,@X_LIBS@,$X_LIBS,;t t
42224 s,@X_EXTRA_LIBS@,$X_EXTRA_LIBS,;t t
42225 s,@PANGOX_CFLAGS@,$PANGOX_CFLAGS,;t t
42226 s,@PANGOX_LIBS@,$PANGOX_LIBS,;t t
42227 s,@PANGOXFT_CFLAGS@,$PANGOXFT_CFLAGS,;t t
42228 s,@PANGOXFT_LIBS@,$PANGOXFT_LIBS,;t t
42229 s,@RESCOMP@,$RESCOMP,;t t
42230 s,@DEREZ@,$DEREZ,;t t
42231 s,@SETFILE@,$SETFILE,;t t
42232 s,@LIBICONV@,$LIBICONV,;t t
42233 s,@EXTRALIBS_ESD@,$EXTRALIBS_ESD,;t t
42234 s,@SDL_CONFIG@,$SDL_CONFIG,;t t
42235 s,@SDL_CFLAGS@,$SDL_CFLAGS,;t t
42236 s,@SDL_LIBS@,$SDL_LIBS,;t t
42237 s,@CORE_BASE_LIBS@,$CORE_BASE_LIBS,;t t
42238 s,@CORE_GUI_LIBS@,$CORE_GUI_LIBS,;t t
42239 s,@wxUSE_ZLIB@,$wxUSE_ZLIB,;t t
42240 s,@wxUSE_REGEX@,$wxUSE_REGEX,;t t
42241 s,@wxUSE_EXPAT@,$wxUSE_EXPAT,;t t
42242 s,@wxUSE_ODBC@,$wxUSE_ODBC,;t t
42243 s,@wxUSE_LIBJPEG@,$wxUSE_LIBJPEG,;t t
42244 s,@wxUSE_LIBPNG@,$wxUSE_LIBPNG,;t t
42245 s,@wxUSE_LIBTIFF@,$wxUSE_LIBTIFF,;t t
42246 s,@VENDOR@,$VENDOR,;t t
42247 s,@OFFICIAL_BUILD@,$OFFICIAL_BUILD,;t t
42248 s,@WX_FLAVOUR@,$WX_FLAVOUR,;t t
42249 s,@WX_LIB_FLAVOUR@,$WX_LIB_FLAVOUR,;t t
42250 s,@WXUNIV@,$WXUNIV,;t t
42251 s,@MONOLITHIC@,$MONOLITHIC,;t t
42252 s,@USE_PLUGINS@,$USE_PLUGINS,;t t
42253 s,@EXTRALIBS@,$EXTRALIBS,;t t
42254 s,@EXTRALIBS_XML@,$EXTRALIBS_XML,;t t
42255 s,@EXTRALIBS_HTML@,$EXTRALIBS_HTML,;t t
42256 s,@EXTRALIBS_ODBC@,$EXTRALIBS_ODBC,;t t
42257 s,@EXTRALIBS_GUI@,$EXTRALIBS_GUI,;t t
42258 s,@EXTRALIBS_OPENGL@,$EXTRALIBS_OPENGL,;t t
42259 s,@EXTRALIBS_SDL@,$EXTRALIBS_SDL,;t t
42260 s,@WITH_PLUGIN_SDL@,$WITH_PLUGIN_SDL,;t t
42261 s,@UNICODE@,$UNICODE,;t t
42262 s,@BUILD@,$BUILD,;t t
42263 s,@DEBUG_INFO@,$DEBUG_INFO,;t t
42264 s,@DEBUG_FLAG@,$DEBUG_FLAG,;t t
42265 s,@TOOLKIT_LOWERCASE@,$TOOLKIT_LOWERCASE,;t t
42266 s,@TOOLKIT_VERSION@,$TOOLKIT_VERSION,;t t
42267 s,@SAMPLES_RPATH_FLAG@,$SAMPLES_RPATH_FLAG,;t t
42268 s,@SAMPLES_RPATH_POSTLINK@,$SAMPLES_RPATH_POSTLINK,;t t
42269 s,@HOST_SUFFIX@,$HOST_SUFFIX,;t t
42270 s,@CPPUNIT_CFLAGS@,$CPPUNIT_CFLAGS,;t t
42271 s,@CPPUNIT_LIBS@,$CPPUNIT_LIBS,;t t
42272 s,@SET_MAKE@,$SET_MAKE,;t t
42273 s,@MAKE_SET@,$MAKE_SET,;t t
42274 s,@ac_ct_AR@,$ac_ct_AR,;t t
42275 s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
42277 s,@ac_ct_NM@,$ac_ct_NM,;t t
42278 s,@INSTALL_DIR@,$INSTALL_DIR,;t t
42279 s,@LDFLAGS_GUI@,$LDFLAGS_GUI,;t t
42280 s,@PLATFORM_UNIX@,$PLATFORM_UNIX,;t t
42281 s,@PLATFORM_WIN32@,$PLATFORM_WIN32,;t t
42282 s,@PLATFORM_MSDOS@,$PLATFORM_MSDOS,;t t
42283 s,@PLATFORM_MAC@,$PLATFORM_MAC,;t t
42284 s,@PLATFORM_MACOSX@,$PLATFORM_MACOSX,;t t
42285 s,@PLATFORM_OS2@,$PLATFORM_OS2,;t t
42286 s,@SO_SUFFIX@,$SO_SUFFIX,;t t
42287 s,@SO_SUFFIX_MODULE@,$SO_SUFFIX_MODULE,;t t
42288 s,@DLLIMP_SUFFIX@,$DLLIMP_SUFFIX,;t t
42289 s,@LIBPREFIX@,$LIBPREFIX,;t t
42290 s,@LIBEXT@,$LIBEXT,;t t
42291 s,@DLLPREFIX@,$DLLPREFIX,;t t
42292 s,@DLLPREFIX_MODULE@,$DLLPREFIX_MODULE,;t t
42293 s,@AIX_CXX_LD@,$AIX_CXX_LD,;t t
42294 s,@SHARED_LD_CC@,$SHARED_LD_CC,;t t
42295 s,@SHARED_LD_CXX@,$SHARED_LD_CXX,;t t
42296 s,@SHARED_LD_MODULE_CC@,$SHARED_LD_MODULE_CC,;t t
42297 s,@SHARED_LD_MODULE_CXX@,$SHARED_LD_MODULE_CXX,;t t
42298 s,@PIC_FLAG@,$PIC_FLAG,;t t
42299 s,@USE_SOVERSION@,$USE_SOVERSION,;t t
42300 s,@USE_SOVERLINUX@,$USE_SOVERLINUX,;t t
42301 s,@USE_SOVERSOLARIS@,$USE_SOVERSOLARIS,;t t
42302 s,@USE_MACVERSION@,$USE_MACVERSION,;t t
42303 s,@USE_SOSYMLINKS@,$USE_SOSYMLINKS,;t t
42304 s,@SONAME_FLAG@,$SONAME_FLAG,;t t
42305 s,@DEPS_TRACKING@,$DEPS_TRACKING,;t t
42306 s,@GCC_PCH@,$GCC_PCH,;t t
42307 s,@COND_BUILD_DEBUG@,$COND_BUILD_DEBUG,;t t
42308 s,@COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT@,$COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT,;t t
42309 s,@COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT@,$COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT,;t t
42310 s,@COND_BUILD_DEBUG_UNICODE_0@,$COND_BUILD_DEBUG_UNICODE_0,;t t
42311 s,@COND_BUILD_DEBUG_UNICODE_1@,$COND_BUILD_DEBUG_UNICODE_1,;t t
42312 s,@COND_BUILD_RELEASE@,$COND_BUILD_RELEASE,;t t
42313 s,@COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT@,$COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT,;t t
42314 s,@COND_BUILD_RELEASE_UNICODE_0@,$COND_BUILD_RELEASE_UNICODE_0,;t t
42315 s,@COND_BUILD_RELEASE_UNICODE_1@,$COND_BUILD_RELEASE_UNICODE_1,;t t
42316 s,@COND_DEBUG_FLAG_1@,$COND_DEBUG_FLAG_1,;t t
42317 s,@COND_DEBUG_INFO_0@,$COND_DEBUG_INFO_0,;t t
42318 s,@COND_DEBUG_INFO_1@,$COND_DEBUG_INFO_1,;t t
42319 s,@COND_DEPS_TRACKING_0@,$COND_DEPS_TRACKING_0,;t t
42320 s,@COND_DEPS_TRACKING_1@,$COND_DEPS_TRACKING_1,;t t
42321 s,@COND_GCC_PCH_1@,$COND_GCC_PCH_1,;t t
42322 s,@COND_MONOLITHIC_0@,$COND_MONOLITHIC_0,;t t
42323 s,@COND_MONOLITHIC_0_SHARED_0@,$COND_MONOLITHIC_0_SHARED_0,;t t
42324 s,@COND_MONOLITHIC_0_SHARED_0_USE_GUI_1@,$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1,;t t
42325 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
42326 s,@COND_MONOLITHIC_0_SHARED_0_USE_HTML_1@,$COND_MONOLITHIC_0_SHARED_0_USE_HTML_1,;t t
42327 s,@COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1@,$COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1,;t t
42328 s,@COND_MONOLITHIC_0_SHARED_0_USE_XRC_1@,$COND_MONOLITHIC_0_SHARED_0_USE_XRC_1,;t t
42329 s,@COND_MONOLITHIC_0_SHARED_1@,$COND_MONOLITHIC_0_SHARED_1,;t t
42330 s,@COND_MONOLITHIC_0_SHARED_1_USE_GUI_1@,$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1,;t t
42331 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
42332 s,@COND_MONOLITHIC_0_SHARED_1_USE_HTML_1@,$COND_MONOLITHIC_0_SHARED_1_USE_HTML_1,;t t
42333 s,@COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1@,$COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1,;t t
42334 s,@COND_MONOLITHIC_0_SHARED_1_USE_XRC_1@,$COND_MONOLITHIC_0_SHARED_1_USE_XRC_1,;t t
42335 s,@COND_MONOLITHIC_0_USE_ODBC_1@,$COND_MONOLITHIC_0_USE_ODBC_1,;t t
42336 s,@COND_MONOLITHIC_1@,$COND_MONOLITHIC_1,;t t
42337 s,@COND_MONOLITHIC_1_SHARED_0@,$COND_MONOLITHIC_1_SHARED_0,;t t
42338 s,@COND_MONOLITHIC_1_SHARED_1@,$COND_MONOLITHIC_1_SHARED_1,;t t
42339 s,@COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1@,$COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1,;t t
42340 s,@COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1@,$COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1,;t t
42341 s,@COND_PLATFORM_MACOSX_0_USE_SOVERSION_1@,$COND_PLATFORM_MACOSX_0_USE_SOVERSION_1,;t t
42342 s,@COND_PLATFORM_MACOSX_1@,$COND_PLATFORM_MACOSX_1,;t t
42343 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA@,$COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA,;t t
42344 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_GTK@,$COND_PLATFORM_MACOSX_1_TOOLKIT_GTK,;t t
42345 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_MAC@,$COND_PLATFORM_MACOSX_1_TOOLKIT_MAC,;t t
42346 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF@,$COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF,;t t
42347 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_X11@,$COND_PLATFORM_MACOSX_1_TOOLKIT_X11,;t t
42348 s,@COND_PLATFORM_MACOSX_1_USE_GUI_1@,$COND_PLATFORM_MACOSX_1_USE_GUI_1,;t t
42349 s,@COND_PLATFORM_MACOSX_1_USE_SOVERSION_1@,$COND_PLATFORM_MACOSX_1_USE_SOVERSION_1,;t t
42350 s,@COND_PLATFORM_MAC_1@,$COND_PLATFORM_MAC_1,;t t
42351 s,@COND_PLATFORM_OS2_1@,$COND_PLATFORM_OS2_1,;t t
42352 s,@COND_PLATFORM_UNIX_0@,$COND_PLATFORM_UNIX_0,;t t
42353 s,@COND_PLATFORM_UNIX_1@,$COND_PLATFORM_UNIX_1,;t t
42354 s,@COND_PLATFORM_UNIX_1_USE_GUI_1@,$COND_PLATFORM_UNIX_1_USE_GUI_1,;t t
42355 s,@COND_PLATFORM_UNIX_1_USE_PLUGINS_0@,$COND_PLATFORM_UNIX_1_USE_PLUGINS_0,;t t
42356 s,@COND_PLATFORM_WIN32_0@,$COND_PLATFORM_WIN32_0,;t t
42357 s,@COND_PLATFORM_WIN32_1@,$COND_PLATFORM_WIN32_1,;t t
42358 s,@COND_SHARED_0@,$COND_SHARED_0,;t t
42359 s,@COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0@,$COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0,;t t
42360 s,@COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0@,$COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0,;t t
42361 s,@COND_SHARED_0_TOOLKIT_PM_WXUNIV_0@,$COND_SHARED_0_TOOLKIT_PM_WXUNIV_0,;t t
42362 s,@COND_SHARED_0_USE_GUI_1_USE_OPENGL_1@,$COND_SHARED_0_USE_GUI_1_USE_OPENGL_1,;t t
42363 s,@COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN@,$COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN,;t t
42364 s,@COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN@,$COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN,;t t
42365 s,@COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN@,$COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN,;t t
42366 s,@COND_SHARED_0_WXUSE_EXPAT_BUILTIN@,$COND_SHARED_0_WXUSE_EXPAT_BUILTIN,;t t
42367 s,@COND_SHARED_0_WXUSE_ODBC_BUILTIN@,$COND_SHARED_0_WXUSE_ODBC_BUILTIN,;t t
42368 s,@COND_SHARED_0_WXUSE_REGEX_BUILTIN@,$COND_SHARED_0_WXUSE_REGEX_BUILTIN,;t t
42369 s,@COND_SHARED_0_WXUSE_ZLIB_BUILTIN@,$COND_SHARED_0_WXUSE_ZLIB_BUILTIN,;t t
42370 s,@COND_SHARED_1@,$COND_SHARED_1,;t t
42371 s,@COND_SHARED_1_USE_GUI_1_USE_OPENGL_1@,$COND_SHARED_1_USE_GUI_1_USE_OPENGL_1,;t t
42372 s,@COND_TOOLKIT_COCOA@,$COND_TOOLKIT_COCOA,;t t
42373 s,@COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0,;t t
42374 s,@COND_TOOLKIT_GTK@,$COND_TOOLKIT_GTK,;t t
42375 s,@COND_TOOLKIT_GTK_USE_GUI_1@,$COND_TOOLKIT_GTK_USE_GUI_1,;t t
42376 s,@COND_TOOLKIT_GTK_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_GTK_USE_GUI_1_WXUNIV_0,;t t
42377 s,@COND_TOOLKIT_MAC@,$COND_TOOLKIT_MAC,;t t
42378 s,@COND_TOOLKIT_MAC_USE_GUI_1@,$COND_TOOLKIT_MAC_USE_GUI_1,;t t
42379 s,@COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0,;t t
42380 s,@COND_TOOLKIT_MGL@,$COND_TOOLKIT_MGL,;t t
42381 s,@COND_TOOLKIT_MGL_USE_GUI_1@,$COND_TOOLKIT_MGL_USE_GUI_1,;t t
42382 s,@COND_TOOLKIT_MOTIF@,$COND_TOOLKIT_MOTIF,;t t
42383 s,@COND_TOOLKIT_MOTIF_USE_GUI_1@,$COND_TOOLKIT_MOTIF_USE_GUI_1,;t t
42384 s,@COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0,;t t
42385 s,@COND_TOOLKIT_MSW@,$COND_TOOLKIT_MSW,;t t
42386 s,@COND_TOOLKIT_MSW_USE_GUI_1@,$COND_TOOLKIT_MSW_USE_GUI_1,;t t
42387 s,@COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0,;t t
42388 s,@COND_TOOLKIT_PM@,$COND_TOOLKIT_PM,;t t
42389 s,@COND_TOOLKIT_PM_USE_GUI_1@,$COND_TOOLKIT_PM_USE_GUI_1,;t t
42390 s,@COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0,;t t
42391 s,@COND_TOOLKIT_WINCE@,$COND_TOOLKIT_WINCE,;t t
42392 s,@COND_TOOLKIT_WINCE_USE_GUI_1@,$COND_TOOLKIT_WINCE_USE_GUI_1,;t t
42393 s,@COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0,;t t
42394 s,@COND_TOOLKIT_X11@,$COND_TOOLKIT_X11,;t t
42395 s,@COND_TOOLKIT_X11_USE_GUI_1@,$COND_TOOLKIT_X11_USE_GUI_1,;t t
42396 s,@COND_UNICODE_1@,$COND_UNICODE_1,;t t
42397 s,@COND_USE_EXCEPTIONS_0@,$COND_USE_EXCEPTIONS_0,;t t
42398 s,@COND_USE_EXCEPTIONS_1@,$COND_USE_EXCEPTIONS_1,;t t
42399 s,@COND_USE_GUI_0@,$COND_USE_GUI_0,;t t
42400 s,@COND_USE_GUI_1@,$COND_USE_GUI_1,;t t
42401 s,@COND_USE_GUI_1_WXUNIV_0@,$COND_USE_GUI_1_WXUNIV_0,;t t
42402 s,@COND_USE_GUI_1_WXUNIV_1@,$COND_USE_GUI_1_WXUNIV_1,;t t
42403 s,@COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN@,$COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN,;t t
42404 s,@COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN@,$COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN,;t t
42405 s,@COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN@,$COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN,;t t
42406 s,@COND_USE_ODBC_1@,$COND_USE_ODBC_1,;t t
42407 s,@COND_USE_PLUGINS_0@,$COND_USE_PLUGINS_0,;t t
42408 s,@COND_USE_SOSYMLINKS_1@,$COND_USE_SOSYMLINKS_1,;t t
42409 s,@COND_USE_SOVERLINUX_1@,$COND_USE_SOVERLINUX_1,;t t
42410 s,@COND_USE_SOVERSION_0@,$COND_USE_SOVERSION_0,;t t
42411 s,@COND_USE_SOVERSOLARIS_1@,$COND_USE_SOVERSOLARIS_1,;t t
42412 s,@COND_USE_XRC_1@,$COND_USE_XRC_1,;t t
42413 s,@COND_WITH_PLUGIN_SDL_1@,$COND_WITH_PLUGIN_SDL_1,;t t
42414 s,@COND_WXUNIV_1@,$COND_WXUNIV_1,;t t
42415 s,@COND_WXUSE_EXPAT_BUILTIN@,$COND_WXUSE_EXPAT_BUILTIN,;t t
42416 s,@COND_WXUSE_LIBJPEG_BUILTIN@,$COND_WXUSE_LIBJPEG_BUILTIN,;t t
42417 s,@COND_WXUSE_LIBPNG_BUILTIN@,$COND_WXUSE_LIBPNG_BUILTIN,;t t
42418 s,@COND_WXUSE_LIBTIFF_BUILTIN@,$COND_WXUSE_LIBTIFF_BUILTIN,;t t
42419 s,@COND_WXUSE_ODBC_BUILTIN@,$COND_WXUSE_ODBC_BUILTIN,;t t
42420 s,@COND_WXUSE_REGEX_BUILTIN@,$COND_WXUSE_REGEX_BUILTIN,;t t
42421 s,@COND_WXUSE_ZLIB_BUILTIN@,$COND_WXUSE_ZLIB_BUILTIN,;t t
42422 s,@COND_TOOLKIT_MAC_WXUNIV_0@,$COND_TOOLKIT_MAC_WXUNIV_0,;t t
42423 s,@COND_TOOLKIT_MSW_WXUNIV_0@,$COND_TOOLKIT_MSW_WXUNIV_0,;t t
42424 s,@COND_TOOLKIT_PM_WXUNIV_0@,$COND_TOOLKIT_PM_WXUNIV_0,;t t
42425 s,@SHARED@,$SHARED,;t t
42426 s,@WX_LIBRARY_BASENAME_NOGUI@,$WX_LIBRARY_BASENAME_NOGUI,;t t
42427 s,@WX_LIBRARY_BASENAME_GUI@,$WX_LIBRARY_BASENAME_GUI,;t t
42428 s,@WXDEBUG_DEFINE@,$WXDEBUG_DEFINE,;t t
42429 s,@USE_GUI@,$USE_GUI,;t t
42430 s,@AFMINSTALL@,$AFMINSTALL,;t t
42431 s,@WIN32INSTALL@,$WIN32INSTALL,;t t
42432 s,@TOOLKIT@,$TOOLKIT,;t t
42433 s,@TOOLKIT_DIR@,$TOOLKIT_DIR,;t t
42434 s,@TOOLCHAIN_NAME@,$TOOLCHAIN_NAME,;t t
42435 s,@TOOLCHAIN_FULLNAME@,$TOOLCHAIN_FULLNAME,;t t
42436 s,@TOOLCHAIN_DEFS@,$TOOLCHAIN_DEFS,;t t
42437 s,@TOOLCHAIN_DLL_DEFS@,$TOOLCHAIN_DLL_DEFS,;t t
42438 s,@cross_compiling@,$cross_compiling,;t t
42439 s,@WIDGET_SET@,$WIDGET_SET,;t t
42440 s,@WX_RELEASE@,$WX_RELEASE,;t t
42441 s,@WX_VERSION@,$WX_VERSION,;t t
42442 s,@WX_SUBVERSION@,$WX_SUBVERSION,;t t
42443 s,@WX_CHARTYPE@,$WX_CHARTYPE,;t t
42444 s,@WX_DEBUGTYPE@,$WX_DEBUGTYPE,;t t
42445 s,@WXCONFIG_EXTRALIBS@,$WXCONFIG_EXTRALIBS,;t t
42446 s,@WXCONFIG_INCLUDE@,$WXCONFIG_INCLUDE,;t t
42447 s,@WXCONFIG_RPATH@,$WXCONFIG_RPATH,;t t
42448 s,@WXCONFIG_LDFLAGS_GUI@,$WXCONFIG_LDFLAGS_GUI,;t t
42449 s,@WX_LARGEFILE_FLAGS@,$WX_LARGEFILE_FLAGS,;t t
42450 s,@GCC_PRAGMA_FLAGS@,$GCC_PRAGMA_FLAGS,;t t
42451 s,@CODE_GEN_FLAGS@,$CODE_GEN_FLAGS,;t t
42452 s,@CODE_GEN_FLAGS_CXX@,$CODE_GEN_FLAGS_CXX,;t t
42453 s,@EXE_LINKER@,$EXE_LINKER,;t t
42454 s,@GUIDIST@,$GUIDIST,;t t
42455 s,@DISTDIR@,$DISTDIR,;t t
42456 s,@SAMPLES_SUBDIRS@,$SAMPLES_SUBDIRS,;t t
42457 s,@LDFLAGS_GL@,$LDFLAGS_GL,;t t
42458 s,@OPENGL_LIBS@,$OPENGL_LIBS,;t t
42459 s,@DMALLOC_LIBS@,$DMALLOC_LIBS,;t t
42460 s,@WX_VERSION_TAG@,$WX_VERSION_TAG,;t t
42461 s,@RESFLAGS@,$RESFLAGS,;t t
42462 s,@RESPROGRAMOBJ@,$RESPROGRAMOBJ,;t t
42463 s,@WX_RESOURCES_MACOSX_ASCII@,$WX_RESOURCES_MACOSX_ASCII,;t t
42464 s,@WX_RESOURCES_MACOSX_DATA@,$WX_RESOURCES_MACOSX_DATA,;t t
42465 s,@LIBWXMACRES@,$LIBWXMACRES,;t t
42466 s,@MACRESCOMP@,$MACRESCOMP,;t t
42467 s,@MACSETFILE@,$MACSETFILE,;t t
42468 s,@MACRESWXCONFIG@,$MACRESWXCONFIG,;t t
42470 s,@DLLTOOL@,$DLLTOOL,;t t
42471 s,@CPPUNIT_CONFIG@,$CPPUNIT_CONFIG,;t t
42472 s,@LIBOBJS@,$LIBOBJS,;t t
42473 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
42478 cat >>$CONFIG_STATUS <<\_ACEOF
42479 # Split the substitutions into bite-sized pieces for seds with
42480 # small command number limits, like on Digital OSF/1 and HP-UX.
42481 ac_max_sed_lines
=48
42482 ac_sed_frag
=1 # Number of current file.
42483 ac_beg
=1 # First line for current file.
42484 ac_end
=$ac_max_sed_lines # Line after last line for current file.
42487 while $ac_more_lines; do
42488 if test $ac_beg -gt 1; then
42489 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
42491 sed "${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
42493 if test ! -s $tmp/subs.frag
; then
42494 ac_more_lines
=false
42496 # The purpose of the label and of the branching condition is to
42497 # speed up the sed processing (if there are no `@' at all, there
42498 # is no need to browse any of the substitutions).
42499 # These are the two extra sed commands mentioned above.
42501 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag
) >$tmp/subs
-$ac_sed_frag.
sed
42502 if test -z "$ac_sed_cmds"; then
42503 ac_sed_cmds
="sed -f $tmp/subs-$ac_sed_frag.sed"
42505 ac_sed_cmds
="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
42507 ac_sed_frag
=`expr $ac_sed_frag + 1`
42509 ac_end
=`expr $ac_end + $ac_max_sed_lines`
42512 if test -z "$ac_sed_cmds"; then
42515 fi # test -n "$CONFIG_FILES"
42518 cat >>$CONFIG_STATUS <<\_ACEOF
42519 for ac_file
in : $CONFIG_FILES; do test "x$ac_file" = x
: && continue
42520 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
42522 - | *:- | *:-:* ) # input from stdin
42524 ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
42525 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
42526 *:* ) ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
42527 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
42528 * ) ac_file_in
=$ac_file.
in ;;
42531 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
42532 ac_dir
=`(dirname "$ac_file") 2>/dev/null ||
42533 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
42534 X"$ac_file" : 'X\(//\)[^/]' \| \
42535 X"$ac_file" : 'X\(//\)$' \| \
42536 X"$ac_file" : 'X\(/\)' \| \
42537 . : '\(.\)' 2>/dev/null ||
42539 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
42540 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
42541 /^X\(\/\/\)$/{ s//\1/; q; }
42542 /^X\(\/\).*/{ s//\1/; q; }
42544 { if $as_mkdir_p; then
42549 while test ! -d "$as_dir"; do
42550 as_dirs
="$as_dir $as_dirs"
42551 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
42552 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
42553 X"$as_dir" : 'X\(//\)[^/]' \| \
42554 X"$as_dir" : 'X\(//\)$' \| \
42555 X"$as_dir" : 'X\(/\)' \| \
42556 . : '\(.\)' 2>/dev/null ||
42558 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
42559 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
42560 /^X\(\/\/\)$/{ s//\1/; q; }
42561 /^X\(\/\).*/{ s//\1/; q; }
42564 test ! -n "$as_dirs" || mkdir $as_dirs
42565 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
42566 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
42567 { (exit 1); exit 1; }; }; }
42571 if test "$ac_dir" != .
; then
42572 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
42573 # A "../" for each directory in $ac_dir_suffix.
42574 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
42576 ac_dir_suffix
= ac_top_builddir
=
42580 .
) # No --srcdir option. We are building in place.
42582 if test -z "$ac_top_builddir"; then
42585 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
42587 [\\/]* | ?
:[\\/]* ) # Absolute path.
42588 ac_srcdir
=$srcdir$ac_dir_suffix;
42589 ac_top_srcdir
=$srcdir ;;
42590 *) # Relative path.
42591 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
42592 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
42595 # Do not use `cd foo && pwd` to compute absolute paths, because
42596 # the directories may not exist.
42598 .
) ac_abs_builddir
="$ac_dir";;
42601 .
) ac_abs_builddir
=`pwd`;;
42602 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
42603 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
42606 case $ac_abs_builddir in
42607 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
42609 case ${ac_top_builddir}.
in
42610 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
42611 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
42612 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
42615 case $ac_abs_builddir in
42616 .
) ac_abs_srcdir
=$ac_srcdir;;
42619 .
) ac_abs_srcdir
=$ac_abs_builddir;;
42620 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
42621 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
42624 case $ac_abs_builddir in
42625 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
42627 case $ac_top_srcdir in
42628 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
42629 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
42630 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
42636 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
42637 *) ac_INSTALL
=$ac_top_builddir$INSTALL ;;
42640 if test x
"$ac_file" != x
-; then
42641 { echo "$as_me:$LINENO: creating $ac_file" >&5
42642 echo "$as_me: creating $ac_file" >&6;}
42645 # Let's still pretend it is `configure' which instantiates (i.e., don't
42646 # use $as_me), people would be surprised to read:
42647 # /* config.h. Generated by config.status. */
42648 if test x
"$ac_file" = x
-; then
42651 configure_input
="$ac_file. "
42653 configure_input
=$configure_input"Generated from `echo $ac_file_in |
42654 sed 's,.*/,,'` by configure."
42656 # First look for the input files in the build tree, otherwise in the
42658 ac_file_inputs
=`IFS=:
42659 for f in $ac_file_in; do
42661 -) echo $tmp/stdin ;;
42663 # Absolute (can't be DOS-style, as IFS=:)
42664 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
42665 echo "$as_me: error: cannot find input file: $f" >&2;}
42666 { (exit 1); exit 1; }; }
42669 if test -f "$f"; then
42672 elif test -f "$srcdir/$f"; then
42677 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
42678 echo "$as_me: error: cannot find input file: $f" >&2;}
42679 { (exit 1); exit 1; }; }
42682 done` || { (exit 1); exit 1; }
42684 cat >>$CONFIG_STATUS <<_ACEOF
42688 cat >>$CONFIG_STATUS <<\_ACEOF
42690 /@
[a
-zA-Z_][a
-zA-Z_0-9]*@
/!b
42691 s
,@configure_input@
,$configure_input,;t t
42692 s
,@srcdir@
,$ac_srcdir,;t t
42693 s
,@abs_srcdir@
,$ac_abs_srcdir,;t t
42694 s
,@top_srcdir@
,$ac_top_srcdir,;t t
42695 s
,@abs_top_srcdir@
,$ac_abs_top_srcdir,;t t
42696 s
,@builddir@
,$ac_builddir,;t t
42697 s
,@abs_builddir@
,$ac_abs_builddir,;t t
42698 s
,@top_builddir@
,$ac_top_builddir,;t t
42699 s
,@abs_top_builddir@
,$ac_abs_top_builddir,;t t
42700 s
,@INSTALL@
,$ac_INSTALL,;t t
42701 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
42703 if test x"$ac_file" != x-; then
42704 mv $tmp/out $ac_file
42710 # Run the commands associated with the file.
42712 lib/wx/config/${TOOLCHAIN_FULLNAME} ) chmod +x lib/wx/config/${TOOLCHAIN_FULLNAME} ;;
42713 lib/wx/config/inplace-${TOOLCHAIN_FULLNAME} ) chmod +x lib/wx/config/inplace-${TOOLCHAIN_FULLNAME} ;;
42717 cat >>$CONFIG_STATUS <<\_ACEOF
42720 # CONFIG_HEADER section.
42723 # These sed commands are passed to sed as "A NAME B NAME C VALUE D
", where
42724 # NAME is the cpp macro being defined and VALUE is the value it is being given.
42726 # ac_d sets the value in "#define NAME VALUE" lines.
42727 ac_dA
='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
42728 ac_dB
='[ ].*$,\1#\2'
42731 # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
42732 ac_uA
='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
42733 ac_uB
='$,\1#\2define\3'
42737 for ac_file
in : $CONFIG_HEADERS; do test "x$ac_file" = x
: && continue
42738 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
42740 - | *:- | *:-:* ) # input from stdin
42742 ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
42743 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
42744 *:* ) ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
42745 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
42746 * ) ac_file_in
=$ac_file.
in ;;
42749 test x
"$ac_file" != x
- && { echo "$as_me:$LINENO: creating $ac_file" >&5
42750 echo "$as_me: creating $ac_file" >&6;}
42752 # First look for the input files in the build tree, otherwise in the
42754 ac_file_inputs
=`IFS=:
42755 for f in $ac_file_in; do
42757 -) echo $tmp/stdin ;;
42759 # Absolute (can't be DOS-style, as IFS=:)
42760 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
42761 echo "$as_me: error: cannot find input file: $f" >&2;}
42762 { (exit 1); exit 1; }; }
42763 # Do quote $f, to prevent DOS paths from being IFS'd.
42766 if test -f "$f"; then
42769 elif test -f "$srcdir/$f"; then
42774 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
42775 echo "$as_me: error: cannot find input file: $f" >&2;}
42776 { (exit 1); exit 1; }; }
42779 done` || { (exit 1); exit 1; }
42780 # Remove the trailing spaces.
42781 sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
42785 # Transform confdefs.h into two sed scripts, `conftest.defines' and
42786 # `conftest.undefs', that substitutes the proper values into
42787 # config.h.in to produce config.h. The first handles `#define'
42788 # templates, and the second `#undef' templates.
42789 # And first: Protect against being on the right side of a sed subst in
42790 # config.status. Protect against being in an unquoted here document
42791 # in config.status.
42792 rm -f conftest.defines conftest.undefs
42793 # Using a here document instead of a string reduces the quoting nightmare.
42794 # Putting comments in sed scripts is not portable.
42796 # `end' is used to avoid that the second main sed command (meant for
42797 # 0-ary CPP macros) applies to n-ary macro definitions.
42798 # See the Autoconf documentation for `clear'.
42799 cat >confdef2sed.
sed <<\_ACEOF
42804 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
42806 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
42809 # If some macros were called several times there might be several times
42810 # the same #defines, which is useless. Nevertheless, we may not want to
42811 # sort them, since we want the *last* AC-DEFINE to be honored.
42812 uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
42813 sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
42814 rm -f confdef2sed.sed
42816 # This sed command replaces #undef with comments. This is necessary, for
42817 # example, in the case of _POSIX_SOURCE, which is predefined and required
42818 # on some systems where configure will not decide to define it.
42819 cat >>conftest.undefs <<\_ACEOF
42820 s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
42823 # Break up conftest.defines because some shells have a limit on the size
42824 # of here documents, and old seds have small limits too (100 cmds).
42825 echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
42826 echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
42827 echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
42828 echo ' :' >>$CONFIG_STATUS
42829 rm -f conftest.tail
42830 while grep . conftest.defines >/dev/null
42832 # Write a limited-size here document to $tmp/defines.sed.
42833 echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
42834 # Speed up: don't consider the non `#define' lines.
42835 echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
42836 # Work around the forget-to-reset-the-flag bug.
42837 echo 't clr' >>$CONFIG_STATUS
42838 echo ': clr' >>$CONFIG_STATUS
42839 sed ${ac_max_here_lines}q conftest.defines
>>$CONFIG_STATUS
42841 sed -f $tmp/defines.sed $tmp/in >$tmp/out
42843 mv $tmp/out $tmp/in
42845 sed 1,${ac_max_here_lines}d conftest.defines
>conftest.
tail
42846 rm -f conftest.defines
42847 mv conftest.
tail conftest.defines
42849 rm -f conftest.defines
42850 echo ' fi # grep' >>$CONFIG_STATUS
42851 echo >>$CONFIG_STATUS
42853 # Break up conftest.undefs because some shells have a limit on the size
42854 # of here documents, and old seds have small limits too (100 cmds).
42855 echo ' # Handle all the #undef templates' >>$CONFIG_STATUS
42856 rm -f conftest.
tail
42857 while grep . conftest.undefs
>/dev
/null
42859 # Write a limited-size here document to $tmp/undefs.sed.
42860 echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
42861 # Speed up: don't consider the non
`#undef'
42862 echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
42863 # Work around the forget-to-reset-the-flag bug.
42864 echo 't clr' >>$CONFIG_STATUS
42865 echo ': clr' >>$CONFIG_STATUS
42866 sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
42868 sed -f $tmp/undefs.sed $tmp/in >$tmp/out
42870 mv $tmp/out $tmp/in
42872 sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
42873 rm -f conftest.undefs
42874 mv conftest.tail conftest.undefs
42876 rm -f conftest.undefs
42878 cat >>$CONFIG_STATUS <<\_ACEOF
42879 # Let's still pretend it is `configure
' which instantiates (i.e., don't
42880 # use $as_me), people would be surprised to read:
42881 # /* config.h. Generated by config.status. */
42882 if test x
"$ac_file" = x
-; then
42883 echo "/* Generated by configure. */" >$tmp/config.h
42885 echo "/* $ac_file. Generated by configure. */" >$tmp/config.h
42887 cat $tmp/in >>$tmp/config.h
42889 if test x
"$ac_file" != x
-; then
42890 if diff $ac_file $tmp/config.h
>/dev
/null
2>&1; then
42891 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
42892 echo "$as_me: $ac_file is unchanged" >&6;}
42894 ac_dir
=`(dirname "$ac_file") 2>/dev/null ||
42895 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
42896 X"$ac_file" : 'X\(//\)[^/]' \| \
42897 X"$ac_file" : 'X\(//\)$' \| \
42898 X"$ac_file" : 'X\(/\)' \| \
42899 . : '\(.\)' 2>/dev/null ||
42901 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
42902 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
42903 /^X\(\/\/\)$/{ s//\1/; q; }
42904 /^X\(\/\).*/{ s//\1/; q; }
42906 { if $as_mkdir_p; then
42911 while test ! -d "$as_dir"; do
42912 as_dirs
="$as_dir $as_dirs"
42913 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
42914 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
42915 X"$as_dir" : 'X\(//\)[^/]' \| \
42916 X"$as_dir" : 'X\(//\)$' \| \
42917 X"$as_dir" : 'X\(/\)' \| \
42918 . : '\(.\)' 2>/dev/null ||
42920 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
42921 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
42922 /^X\(\/\/\)$/{ s//\1/; q; }
42923 /^X\(\/\).*/{ s//\1/; q; }
42926 test ! -n "$as_dirs" || mkdir $as_dirs
42927 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
42928 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
42929 { (exit 1); exit 1; }; }; }
42932 mv $tmp/config.h
$ac_file
42936 rm -f $tmp/config.h
42940 cat >>$CONFIG_STATUS <<\_ACEOF
42943 # CONFIG_COMMANDS section.
42945 for ac_file
in : $CONFIG_COMMANDS; do test "x$ac_file" = x
: && continue
42946 ac_dest
=`echo "$ac_file" | sed 's,:.*,,'`
42947 ac_source
=`echo "$ac_file" | sed 's,[^:]*:,,'`
42948 ac_dir
=`(dirname "$ac_dest") 2>/dev/null ||
42949 $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
42950 X"$ac_dest" : 'X\(//\)[^/]' \| \
42951 X"$ac_dest" : 'X\(//\)$' \| \
42952 X"$ac_dest" : '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; }
42960 { if $as_mkdir_p; then
42965 while test ! -d "$as_dir"; do
42966 as_dirs
="$as_dir $as_dirs"
42967 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
42968 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
42969 X"$as_dir" : 'X\(//\)[^/]' \| \
42970 X"$as_dir" : 'X\(//\)$' \| \
42971 X"$as_dir" : 'X\(/\)' \| \
42972 . : '\(.\)' 2>/dev/null ||
42974 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
42975 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
42976 /^X\(\/\/\)$/{ s//\1/; q; }
42977 /^X\(\/\).*/{ s//\1/; q; }
42980 test ! -n "$as_dirs" || mkdir $as_dirs
42981 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
42982 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
42983 { (exit 1); exit 1; }; }; }
42987 if test "$ac_dir" != .
; then
42988 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
42989 # A "../" for each directory in $ac_dir_suffix.
42990 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
42992 ac_dir_suffix
= ac_top_builddir
=
42996 .
) # No --srcdir option. We are building in place.
42998 if test -z "$ac_top_builddir"; then
43001 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
43003 [\\/]* | ?
:[\\/]* ) # Absolute path.
43004 ac_srcdir
=$srcdir$ac_dir_suffix;
43005 ac_top_srcdir
=$srcdir ;;
43006 *) # Relative path.
43007 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
43008 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
43011 # Do not use `cd foo && pwd` to compute absolute paths, because
43012 # the directories may not exist.
43014 .
) ac_abs_builddir
="$ac_dir";;
43017 .
) ac_abs_builddir
=`pwd`;;
43018 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
43019 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
43022 case $ac_abs_builddir in
43023 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
43025 case ${ac_top_builddir}.
in
43026 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
43027 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
43028 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
43031 case $ac_abs_builddir in
43032 .
) ac_abs_srcdir
=$ac_srcdir;;
43035 .
) ac_abs_srcdir
=$ac_abs_builddir;;
43036 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
43037 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
43040 case $ac_abs_builddir in
43041 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
43043 case $ac_top_srcdir in
43044 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
43045 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
43046 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
43051 { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
43052 echo "$as_me: executing $ac_dest commands" >&6;}
43054 wx
-config ) rm -f wx
-config
43055 ${LN_S} lib
/wx
/config
/inplace
-${TOOLCHAIN_FULLNAME} wx
-config
43061 cat >>$CONFIG_STATUS <<\_ACEOF
43063 { (exit 0); exit 0; }
43065 chmod +x
$CONFIG_STATUS
43066 ac_clean_files
=$ac_clean_files_save
43069 # configure is writing to config.log, and then calls config.status.
43070 # config.status does its own redirection, appending to config.log.
43071 # Unfortunately, on DOS this fails, as config.log is still kept open
43072 # by configure, so config.status won't be able to write to it; its
43073 # output is simply discarded. So we exec the FD to /dev/null,
43074 # effectively closing config.log, so it can be properly (re)opened and
43075 # appended to by config.status. When coming back to configure, we
43076 # need to make the FD available again.
43077 if test "$no_create" != yes; then
43079 ac_config_status_args
=
43080 test "$silent" = yes &&
43081 ac_config_status_args
="$ac_config_status_args --quiet"
43083 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
43085 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
43086 # would make configure fail if this is the last instruction.
43087 $ac_cs_success || { (exit 1); exit 1; }
43091 # CONFIG_SUBDIRS section.
43093 if test "$no_recursion" != yes; then
43095 # Remove --cache-file and --srcdir arguments so they do not pile up.
43096 ac_sub_configure_args
=
43098 for ac_arg
in $ac_configure_args; do
43099 if test -n "$ac_prev"; then
43104 -cache-file | --cache-file | --cache-fil | --cache-fi \
43105 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
43106 ac_prev
=cache_file
;;
43107 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
43108 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* \
43111 --config-cache | -C)
43113 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
43115 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
43117 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
43119 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
43121 *) ac_sub_configure_args
="$ac_sub_configure_args $ac_arg" ;;
43125 # Always prepend --prefix to ensure using the same prefix
43126 # in subdir configurations.
43127 ac_sub_configure_args
="--prefix=$prefix $ac_sub_configure_args"
43130 for ac_dir
in : $subdirs; do test "x$ac_dir" = x
: && continue
43132 # Do not complain, so a configure script can configure whichever
43133 # parts of a large source tree are present.
43134 test -d $srcdir/$ac_dir || continue
43136 { echo "$as_me:$LINENO: configuring in $ac_dir" >&5
43137 echo "$as_me: configuring in $ac_dir" >&6;}
43138 { if $as_mkdir_p; then
43143 while test ! -d "$as_dir"; do
43144 as_dirs
="$as_dir $as_dirs"
43145 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
43146 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
43147 X"$as_dir" : 'X\(//\)[^/]' \| \
43148 X"$as_dir" : 'X\(//\)$' \| \
43149 X"$as_dir" : 'X\(/\)' \| \
43150 . : '\(.\)' 2>/dev/null ||
43152 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
43153 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
43154 /^X\(\/\/\)$/{ s//\1/; q; }
43155 /^X\(\/\).*/{ s//\1/; q; }
43158 test ! -n "$as_dirs" || mkdir $as_dirs
43159 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
43160 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
43161 { (exit 1); exit 1; }; }; }
43165 if test "$ac_dir" != .
; then
43166 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
43167 # A "../" for each directory in $ac_dir_suffix.
43168 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
43170 ac_dir_suffix
= ac_top_builddir
=
43174 .
) # No --srcdir option. We are building in place.
43176 if test -z "$ac_top_builddir"; then
43179 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
43181 [\\/]* | ?
:[\\/]* ) # Absolute path.
43182 ac_srcdir
=$srcdir$ac_dir_suffix;
43183 ac_top_srcdir
=$srcdir ;;
43184 *) # Relative path.
43185 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
43186 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
43189 # Do not use `cd foo && pwd` to compute absolute paths, because
43190 # the directories may not exist.
43192 .
) ac_abs_builddir
="$ac_dir";;
43195 .
) ac_abs_builddir
=`pwd`;;
43196 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
43197 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
43200 case $ac_abs_builddir in
43201 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
43203 case ${ac_top_builddir}.
in
43204 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
43205 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
43206 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
43209 case $ac_abs_builddir in
43210 .
) ac_abs_srcdir
=$ac_srcdir;;
43213 .
) ac_abs_srcdir
=$ac_abs_builddir;;
43214 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
43215 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
43218 case $ac_abs_builddir in
43219 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
43221 case $ac_top_srcdir in
43222 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
43223 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
43224 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
43231 # Check for guested configure; otherwise get Cygnus style configure.
43232 if test -f $ac_srcdir/configure.gnu
; then
43233 ac_sub_configure
="$SHELL '$ac_srcdir/configure.gnu'"
43234 elif test -f $ac_srcdir/configure
; then
43235 ac_sub_configure
="$SHELL '$ac_srcdir/configure'"
43236 elif test -f $ac_srcdir/configure.
in; then
43237 ac_sub_configure
=$ac_configure
43239 { echo "$as_me:$LINENO: WARNING: no configuration information is in $ac_dir" >&5
43240 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;}
43244 # The recursion is here.
43245 if test -n "$ac_sub_configure"; then
43246 # Make the cache file name correct relative to the subdirectory.
43247 case $cache_file in
43248 [\\/]* | ?
:[\\/]* ) ac_sub_cache_file
=$cache_file ;;
43249 *) # Relative path.
43250 ac_sub_cache_file
=$ac_top_builddir$cache_file ;;
43253 { echo "$as_me:$LINENO: running $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&5
43254 echo "$as_me: running $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;}
43255 # The eval makes quoting arguments work.
43256 eval $ac_sub_configure $ac_sub_configure_args \
43257 --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir ||
43258 { { echo "$as_me:$LINENO: error: $ac_sub_configure failed for $ac_dir" >&5
43259 echo "$as_me: error: $ac_sub_configure failed for $ac_dir" >&2;}
43260 { (exit 1); exit 1; }; }
43269 echo "Configured wxWidgets ${WX_VERSION} for \`${host}'"
43271 echo " Which GUI toolkit should wxWidgets use? ${TOOLKIT_USER:-base only}"
43272 echo " Should wxWidgets be compiled into single library? ${wxUSE_MONOLITHIC:-yes}"
43274 echo " Should wxWidgets be compiled in debug mode? ${wxUSE_DEBUG:-no}"
43275 echo " Should wxWidgets be linked as a shared library? ${wxUSE_SHARED:-no}"
43276 echo " Should wxWidgets be compiled in Unicode mode? ${wxUSE_UNICODE:-no}"
43278 echo " What level of wxWidgets compatibility should be enabled?"
43279 echo " wxWidgets 2.2 ${WXWIN_COMPATIBILITY_2_2:-no}"
43280 echo " wxWidgets 2.4 ${WXWIN_COMPATIBILITY_2_4:-yes}"
43282 echo " Which libraries should wxWidgets use?"
43283 echo " jpeg ${wxUSE_LIBJPEG-none}"
43284 echo " png ${wxUSE_LIBPNG-none}"
43285 echo " regex ${wxUSE_REGEX}"
43286 echo " tiff ${wxUSE_LIBTIFF-none}"
43287 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
43288 echo " xpm ${wxUSE_LIBXPM-none}"
43290 echo " zlib ${wxUSE_ZLIB}"
43291 echo " odbc ${wxUSE_ODBC}"
43292 echo " expat ${wxUSE_EXPAT}"
43293 echo " libmspack ${wxUSE_LIBMSPACK}"
43294 echo " sdl ${wxUSE_LIBSDL}"