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.2.
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.2'
274 PACKAGE_STRING
='wxWidgets 2.5.2'
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 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 SHARED 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_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_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_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_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_WITH_PLUGIN_SDL_1 COND_WITH_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 PATH_IFS WX_MAJOR_VERSION_NUMBER WX_MINOR_VERSION_NUMBER WX_RELEASE_NUMBER WX_LIBRARY_NAME_STATIC WX_LIBRARY_NAME_SHARED WX_LIBRARY_BASENAME_NOGUI WX_LIBRARY_BASENAME_GUI WX_LIBRARY_IMPORTLIB WX_TARGET_LIBRARY WX_LIBRARY_LINK1 WX_LIBRARY_LINK2 PROGRAM_EXT WX_LIBRARY_NAME_STATIC_GL WX_LIBRARY_NAME_SHARED_GL WX_TARGET_LIBRARY_GL WX_LIBRARY_LINK1_GL WX_LIBRARY_LINK2_GL WX_ALL WX_ALL_INSTALLED SHARED_LD WX_TARGET_LIBRARY_TYPE STATIC_FLAG WXDEBUG_DEFINE USE_GUI AFMINSTALL WIN32INSTALL TOOLKIT TOOLKIT_DIR TOOLKIT_VPATH TOOLCHAIN_NAME TOOLCHAIN_DEFS TOOLCHAIN_DLL_DEFS top_builddir_wxconfig cross_compiling WXCONFIG_EXTRALIBS WXCONFIG_LIBS WXCONFIG_LIBS_GL WXCONFIG_LIBS_STATIC WXCONFIG_LIBS_STATIC_GL WXCONFIG_INCLUDE WXCONFIG_RPATH WXCONFIG_LDFLAGS_GUI WX_LARGEFILE_FLAGS CODE_GEN_FLAGS CODE_GEN_FLAGS_CXX ALL_OBJECTS ALL_HEADERS ALL_SOURCES GUIDIST PORT_FILES DISTDIR SAMPLES_SUBDIRS LDFLAGS_GL LDFLAGS_VERSIONING LDFLAGS_EXE OPENGL_LIBS DMALLOC_LIBS WX_VERSION_TAG RESFLAGS RESPROGRAMOBJ WX_RESOURCES_MACOSX_ASCII WX_RESOURCES_MACOSX_DATA LIBWXMACRES MACRESCOMP MACSETFILE MACRESWXCONFIG GCC GCC_SEARCHES_USR_LOCAL_INCLUDE DLLTOOL AS LD MAKEINFO INSTALL_LIBRARY 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.2 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.2:";;
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 --enable-gtk2 use GTK
+ 2.0 if available
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-constraints use layout
-constraints system
948 --enable-printarch use printing architecture
949 --enable-mdi use multiple document interface architecture
950 --enable-mdidoc use docview architecture with MDI
951 --enable-loggui use standard GUI logger
952 --enable-logwin use wxLogWindow
953 --enable-logdialog use wxLogDialog
954 --enable-webkit use wxWebKitCtrl
(Mac
)
955 --enable-postscript use wxPostscriptDC device context
(default
for gtk
+)
956 --enable-prologio not available
; see contrib
957 --enable-resources not available
; see contrib
958 --enable-clipboard use wxClipboard class
959 --enable-dnd use Drag
'n'Drop classes
960 --enable-metafile use win32 metafiles
961 --enable-controls use all usual controls
962 --enable-accel use accelerators
963 --enable-button use wxButton class
964 --enable-bmpbutton use wxBitmapButton class
965 --enable-calendar use wxCalendarCtrl class
966 --enable-caret use wxCaret class
967 --enable-checkbox use wxCheckBox class
968 --enable-checklst use wxCheckListBox
(listbox with checkboxes
) class
969 --enable-choice use wxChoice class
970 --enable-combobox use wxComboBox class
971 --enable-display use wxDisplay class
972 --enable-gauge use wxGauge class
973 --enable-grid use wxGrid class
974 --enable-imaglist use wxImageList class
975 --enable-listbook use wxListbook class
976 --enable-listbox use wxListBox class
977 --enable-listctrl use wxListCtrl class
978 --enable-notebook use wxNotebook class
979 --enable-radiobox use wxRadioBox class
980 --enable-radiobtn use wxRadioButton class
981 --enable-sash use wxSashWindow class
982 --enable-scrollbar use wxScrollBar class and scrollable windows
983 --enable-slider use wxSlider class
984 --enable-spinbtn use wxSpinButton class
985 --enable-spinctrl use wxSpinCtrl class
986 --enable-splitter use wxSplitterWindow class
987 --enable-statbmp use wxStaticBitmap class
988 --enable-statbox use wxStaticBox class
989 --enable-statline use wxStaticLine class
990 --enable-stattext use wxStaticText class
991 --enable-statusbar use wxStatusBar class
992 --enable-tabdialog use wxTabControl class
993 --enable-textctrl use wxTextCtrl class
994 --enable-togglebtn use wxToggleButton class
995 --enable-toolbar use wxToolBar class
996 --enable-tbarnative use native wxToolBar class
997 --enable-tbarsmpl use wxToolBarSimple class
998 --enable-treectrl use wxTreeCtrl class
999 --enable-tipwindow use wxTipWindow class
1000 --enable-popupwin use wxPopUpWindow class
1001 --enable-commondlg use all common dialogs
1002 --enable-choicedlg use wxChoiceDialog
1003 --enable-coldlg use wxColourDialog
1004 --enable-filedlg use wxFileDialog
1005 --enable-finddlg use wxFindReplaceDialog
1006 --enable-fontdlg use wxFontDialog
1007 --enable-dirdlg use wxDirDialog
1008 --enable-msgdlg use wxMessageDialog
1009 --enable-numberdlg use wxNumberEntryDialog
1010 --enable-splash use wxSplashScreen
1011 --enable-textdlg use wxTextDialog
1012 --enable-tipdlg use startup tips
1013 --enable-progressdlg use wxProgressDialog
1014 --enable-wizarddlg use wxWizard
1015 --enable-menus use wxMenu
/wxMenuBar
/wxMenuItem classes
1016 --enable-miniframe use wxMiniFrame class
1017 --enable-tooltips use wxToolTip class
1018 --enable-splines use spline drawing code
1019 --enable-validators use wxValidator and derived classes
1020 --enable-busyinfo use wxBusyInfo
1021 --enable-joystick use wxJoystick
(Linux only
)
1022 --enable-metafiles use wxMetaFile
(Windows only
)
1023 --enable-dragimage use wxDragImage
1024 --enable-accessibility enable accessibility support
1025 --enable-palette use wxPalette class
1026 --enable-image use wxImage class
1027 --enable-gif use gif images
(GIF
file format
)
1028 --enable-pcx use pcx images
(PCX
file format
)
1029 --enable-iff use iff images
(IFF
file format
)
1030 --enable-pnm use pnm images
(PNM
file format
)
1031 --enable-xpm use xpm images
(XPM
file format
)
1032 --enable-icocur use Windows ICO and CUR formats
1033 --enable-official_build official build of wxWidgets
(win32 DLL only
)
1034 --enable-vendor=VENDOR vendor name
(win32 DLL only
)
1035 --disable-largefile omit support
for large files
1036 --disable-gtktest do not try to compile and run a
test GTK
+ program
1037 --disable-gtktest Do not try to compile and run a
test GTK program
1038 --disable-sdltest Do not try to compile and run a
test SDL program
1039 --enable-omf use OMF object format
(OS
/2)
1040 --disable-precomp-headers don
't use precompiled headers even if compiler can
1043 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1044 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1046 --with-motif use Motif/Lesstif
1047 --with-mac use Mac OS X
1048 --with-cocoa use Cocoa
1049 --with-wine use Wine
1050 --with-msw use MS-Windows
1051 --with-pm use OS/2 Presentation Manager
1052 --with-mgl use SciTech MGL
1053 --with-microwin use MicroWindows
1055 --with-libpng use libpng (PNG image format)
1056 --with-libjpeg use libjpeg (JPEG file format)
1057 --with-libtiff use libtiff (TIFF file format)
1058 --with-libxpm use libxpm (XPM file format)
1059 --with-libmspack use libmspack (CHM help files loading)
1060 --with-sdl use SDL for audio on Unix
1061 --with-opengl use OpenGL (or Mesa)
1062 --with-dmalloc use dmalloc library (http://dmalloc.com/)
1063 --with-regex enable support for wxRegEx class
1064 --with-zlib use zlib for LZW compression
1065 --with-odbc use the IODBC and wxODBC classes
1066 --with-expat enable XML support using expat parser
1067 --with-gtk-prefix=PFX Prefix where GTK is installed (optional)
1068 --with-gtk-exec-prefix=PFX Exec prefix where GTK is installed (optional)
1069 --with-x use the X Window System
1070 --with-libiconv-prefix=DIR search for libiconv in DIR/include and DIR/lib
1071 --with-sdl-prefix=PFX Prefix where SDL is installed (optional)
1072 --with-sdl-exec-prefix=PFX Exec prefix where SDL is installed (optional)
1073 --with-cppunit-prefix=PFX Prefix where CppUnit is installed (optional)
1074 --with-cppunit-exec-prefix=PFX Exec prefix where CppUnit is installed (optional)
1076 Some influential environment variables:
1077 CC C compiler command
1078 CFLAGS C compiler flags
1079 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1080 nonstandard directory <lib dir>
1081 CPPFLAGS C/C++ preprocessor flags, e.g. -I<include dir> if you have
1082 headers in a nonstandard directory <include dir>
1084 CXX C++ compiler command
1085 CXXFLAGS C++ compiler flags
1086 CXXCPP C++ preprocessor
1088 Use these variables to override the choices made by `configure' or to
help
1089 it to
find libraries and programs with nonstandard names
/locations.
1091 Report bugs to
<wx
-dev@lists.wxwidgets.org
>.
1095 if test "$ac_init_help" = "recursive"; then
1096 # If there are subdirs, report their specific --help.
1098 for ac_dir
in : $ac_subdirs_all; do test "x$ac_dir" = x
: && continue
1099 test -d $ac_dir || continue
1102 if test "$ac_dir" != .
; then
1103 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
1104 # A "../" for each directory in $ac_dir_suffix.
1105 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
1107 ac_dir_suffix
= ac_top_builddir
=
1111 .
) # No --srcdir option. We are building in place.
1113 if test -z "$ac_top_builddir"; then
1116 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
1118 [\\/]* | ?
:[\\/]* ) # Absolute path.
1119 ac_srcdir
=$srcdir$ac_dir_suffix;
1120 ac_top_srcdir
=$srcdir ;;
1122 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
1123 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
1126 # Do not use `cd foo && pwd` to compute absolute paths, because
1127 # the directories may not exist.
1129 .
) ac_abs_builddir
="$ac_dir";;
1132 .
) ac_abs_builddir
=`pwd`;;
1133 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
1134 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
1137 case $ac_abs_builddir in
1138 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
1140 case ${ac_top_builddir}.
in
1141 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
1142 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
1143 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
1146 case $ac_abs_builddir in
1147 .
) ac_abs_srcdir
=$ac_srcdir;;
1150 .
) ac_abs_srcdir
=$ac_abs_builddir;;
1151 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
1152 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
1155 case $ac_abs_builddir in
1156 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
1158 case $ac_top_srcdir in
1159 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
1160 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
1161 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
1166 # Check for guested configure; otherwise get Cygnus style configure.
1167 if test -f $ac_srcdir/configure.gnu
; then
1169 $SHELL $ac_srcdir/configure.gnu
--help=recursive
1170 elif test -f $ac_srcdir/configure
; then
1172 $SHELL $ac_srcdir/configure
--help=recursive
1173 elif test -f $ac_srcdir/configure.ac
||
1174 test -f $ac_srcdir/configure.
in; then
1176 $ac_configure --help
1178 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1184 test -n "$ac_init_help" && exit 0
1185 if $ac_init_version; then
1187 wxWidgets configure
2.5.2
1188 generated by GNU Autoconf
2.59
1190 Copyright
(C
) 2003 Free Software Foundation
, Inc.
1191 This configure
script is free software
; the Free Software Foundation
1192 gives unlimited permission to copy
, distribute and modify it.
1198 This file contains any messages produced by compilers while
1199 running configure, to aid debugging if configure makes a mistake.
1201 It was created by wxWidgets $as_me 2.5.2, which was
1202 generated by GNU Autoconf 2.59. Invocation command line was
1213 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1214 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1215 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1216 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1217 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1219 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1220 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1222 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1223 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1224 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1225 hostinfo = `(hostinfo) 2>/dev/null || echo unknown`
1226 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1227 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1228 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1232 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1236 test -z "$as_dir" && as_dir
=.
1237 echo "PATH: $as_dir"
1252 # Keep a trace of the command line.
1253 # Strip out --no-create and --no-recursion so they do not pile up.
1254 # Strip out --silent because we don't want to record it for future runs.
1255 # Also quote any args containing shell meta-characters.
1256 # Make two passes to allow for proper duplicate-argument suppression.
1261 ac_must_keep_next
=false
1267 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1268 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1269 | -silent | --silent | --silen | --sile | --sil)
1271 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1272 ac_arg
=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1275 1) ac_configure_args0
="$ac_configure_args0 '$ac_arg'" ;;
1277 ac_configure_args1
="$ac_configure_args1 '$ac_arg'"
1278 if test $ac_must_keep_next = true
; then
1279 ac_must_keep_next
=false
# Got value, back to normal.
1282 *=* | --config-cache | -C | -disable-* | --disable-* \
1283 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1284 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1285 | -with-* | --with-* | -without-* | --without-* | --x)
1286 case "$ac_configure_args0 " in
1287 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1290 -* ) ac_must_keep_next
=true
;;
1293 ac_configure_args
="$ac_configure_args$ac_sep'$ac_arg'"
1294 # Get rid of the leading space.
1300 $as_unset ac_configure_args0
|| test "${ac_configure_args0+set}" != set || { ac_configure_args0
=; export ac_configure_args0
; }
1301 $as_unset ac_configure_args1
|| test "${ac_configure_args1+set}" != set || { ac_configure_args1
=; export ac_configure_args1
; }
1303 # When interrupted or exit'd, cleanup temporary files, and complete
1304 # config.log. We remove comments because anyway the quotes in there
1305 # would cause problems or look ugly.
1306 # WARNING: Be sure not to use single quotes in there, as some shells,
1307 # such as our DU 5.0 friend, will then `close' the trap.
1308 trap 'exit_status=$?
1309 # Save into config.log some information that might help in debugging.
1314 ## ---------------- ##
1315 ## Cache variables. ##
1316 ## ---------------- ##
1319 # The following way of writing the cache mishandles newlines in values,
1322 case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1325 "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1326 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1330 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1337 ## ----------------- ##
1338 ## Output variables. ##
1339 ## ----------------- ##
1342 for ac_var in $ac_subst_vars
1344 eval ac_val=$`echo $ac_var`
1345 echo "$ac_var='"'"'$ac_val'"'"'"
1349 if test -n "$ac_subst_files"; then
1356 for ac_var in $ac_subst_files
1358 eval ac_val=$`echo $ac_var`
1359 echo "$ac_var='"'"'$ac_val'"'"'"
1364 if test -s confdefs.h; then
1371 sed "/^$/d" confdefs.h | sort
1374 test "$ac_signal" != 0 &&
1375 echo "$as_me: caught signal $ac_signal"
1376 echo "$as_me: exit $exit_status"
1378 rm -f core *.core &&
1379 rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
1382 for ac_signal
in 1 2 13 15; do
1383 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1387 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1388 rm -rf conftest
* confdefs.h
1389 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
1392 # Predefined preprocessor variables.
1394 cat >>confdefs.h
<<_ACEOF
1395 #define PACKAGE_NAME "$PACKAGE_NAME"
1399 cat >>confdefs.h
<<_ACEOF
1400 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1404 cat >>confdefs.h
<<_ACEOF
1405 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1409 cat >>confdefs.h
<<_ACEOF
1410 #define PACKAGE_STRING "$PACKAGE_STRING"
1414 cat >>confdefs.h
<<_ACEOF
1415 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1419 # Let the site file select an alternate cache file if it wants to.
1420 # Prefer explicitly selected file to automatically selected ones.
1421 if test -z "$CONFIG_SITE"; then
1422 if test "x$prefix" != xNONE
; then
1423 CONFIG_SITE
="$prefix/share/config.site $prefix/etc/config.site"
1425 CONFIG_SITE
="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1428 for ac_site_file
in $CONFIG_SITE; do
1429 if test -r "$ac_site_file"; then
1430 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1431 echo "$as_me: loading site script $ac_site_file" >&6;}
1432 sed 's/^/| /' "$ac_site_file" >&5
1437 if test -r "$cache_file"; then
1438 # Some versions of bash will fail to source /dev/null (special
1439 # files actually), so we avoid doing that.
1440 if test -f "$cache_file"; then
1441 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1442 echo "$as_me: loading cache $cache_file" >&6;}
1444 [\\/]* | ?
:[\\/]* ) .
$cache_file;;
1445 *) . .
/$cache_file;;
1449 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1450 echo "$as_me: creating cache $cache_file" >&6;}
1454 # Check that the precious variables saved in the cache have kept the same
1456 ac_cache_corrupted
=false
1457 for ac_var
in `(set) 2>&1 |
1458 sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
1459 eval ac_old_set
=\
$ac_cv_env_${ac_var}_set
1460 eval ac_new_set
=\
$ac_env_${ac_var}_set
1461 eval ac_old_val
="\$ac_cv_env_${ac_var}_value"
1462 eval ac_new_val
="\$ac_env_${ac_var}_value"
1463 case $ac_old_set,$ac_new_set in
1465 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1466 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1467 ac_cache_corrupted
=: ;;
1469 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1470 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1471 ac_cache_corrupted
=: ;;
1474 if test "x$ac_old_val" != "x$ac_new_val"; then
1475 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1476 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1477 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1478 echo "$as_me: former value: $ac_old_val" >&2;}
1479 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1480 echo "$as_me: current value: $ac_new_val" >&2;}
1481 ac_cache_corrupted
=:
1484 # Pass precious variables to config.status.
1485 if test "$ac_new_set" = set; then
1487 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1488 ac_arg
=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1489 *) ac_arg
=$ac_var=$ac_new_val ;;
1491 case " $ac_configure_args " in
1492 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1493 *) ac_configure_args
="$ac_configure_args '$ac_arg'" ;;
1497 if $ac_cache_corrupted; then
1498 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1499 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1500 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1501 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1502 { (exit 1); exit 1; }; }
1506 ac_cpp
='$CPP $CPPFLAGS'
1507 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1508 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1509 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
1541 for ac_dir
in $srcdir $srcdir/..
$srcdir/..
/..
; do
1542 if test -f $ac_dir/install-sh; then
1544 ac_install_sh
="$ac_aux_dir/install-sh -c"
1546 elif test -f $ac_dir/install.sh
; then
1548 ac_install_sh
="$ac_aux_dir/install.sh -c"
1550 elif test -f $ac_dir/shtool
; then
1552 ac_install_sh
="$ac_aux_dir/shtool install -c"
1556 if test -z "$ac_aux_dir"; then
1557 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
1558 echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
1559 { (exit 1); exit 1; }; }
1561 ac_config_guess
="$SHELL $ac_aux_dir/config.guess"
1562 ac_config_sub
="$SHELL $ac_aux_dir/config.sub"
1563 ac_configure
="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
1565 # Make sure we can run config.sub.
1566 $ac_config_sub sun4
>/dev
/null
2>&1 ||
1567 { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
1568 echo "$as_me: error: cannot run $ac_config_sub" >&2;}
1569 { (exit 1); exit 1; }; }
1571 echo "$as_me:$LINENO: checking build system type" >&5
1572 echo $ECHO_N "checking build system type... $ECHO_C" >&6
1573 if test "${ac_cv_build+set}" = set; then
1574 echo $ECHO_N "(cached) $ECHO_C" >&6
1576 ac_cv_build_alias
=$build_alias
1577 test -z "$ac_cv_build_alias" &&
1578 ac_cv_build_alias
=`$ac_config_guess`
1579 test -z "$ac_cv_build_alias" &&
1580 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
1581 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
1582 { (exit 1); exit 1; }; }
1583 ac_cv_build
=`$ac_config_sub $ac_cv_build_alias` ||
1584 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
1585 echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
1586 { (exit 1); exit 1; }; }
1589 echo "$as_me:$LINENO: result: $ac_cv_build" >&5
1590 echo "${ECHO_T}$ac_cv_build" >&6
1592 build_cpu
=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1593 build_vendor
=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1594 build_os
=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1597 echo "$as_me:$LINENO: checking host system type" >&5
1598 echo $ECHO_N "checking host system type... $ECHO_C" >&6
1599 if test "${ac_cv_host+set}" = set; then
1600 echo $ECHO_N "(cached) $ECHO_C" >&6
1602 ac_cv_host_alias
=$host_alias
1603 test -z "$ac_cv_host_alias" &&
1604 ac_cv_host_alias
=$ac_cv_build_alias
1605 ac_cv_host
=`$ac_config_sub $ac_cv_host_alias` ||
1606 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
1607 echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
1608 { (exit 1); exit 1; }; }
1611 echo "$as_me:$LINENO: result: $ac_cv_host" >&5
1612 echo "${ECHO_T}$ac_cv_host" >&6
1614 host_cpu
=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1615 host_vendor
=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1616 host_os
=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1619 echo "$as_me:$LINENO: checking target system type" >&5
1620 echo $ECHO_N "checking target system type... $ECHO_C" >&6
1621 if test "${ac_cv_target+set}" = set; then
1622 echo $ECHO_N "(cached) $ECHO_C" >&6
1624 ac_cv_target_alias
=$target_alias
1625 test "x$ac_cv_target_alias" = "x" &&
1626 ac_cv_target_alias
=$ac_cv_host_alias
1627 ac_cv_target
=`$ac_config_sub $ac_cv_target_alias` ||
1628 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_target_alias failed" >&5
1629 echo "$as_me: error: $ac_config_sub $ac_cv_target_alias failed" >&2;}
1630 { (exit 1); exit 1; }; }
1633 echo "$as_me:$LINENO: result: $ac_cv_target" >&5
1634 echo "${ECHO_T}$ac_cv_target" >&6
1635 target
=$ac_cv_target
1636 target_cpu
=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1637 target_vendor
=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1638 target_os
=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1641 # The aliases save the names the user supplied, while $host etc.
1642 # will get canonicalized.
1643 test -n "$target_alias" &&
1644 test "$program_prefix$program_suffix$program_transform_name" = \
1646 program_prefix
=${target_alias}-
1650 WX_MAJOR_VERSION_NUMBER
=2
1651 WX_MINOR_VERSION_NUMBER
=5
1654 WX_VERSION
=$WX_MAJOR_VERSION_NUMBER.
$WX_MINOR_VERSION_NUMBER.
$WX_RELEASE_NUMBER
1655 WX_RELEASE
=$WX_MAJOR_VERSION_NUMBER.
$WX_MINOR_VERSION_NUMBER
1657 WX_MSW_VERSION
=$WX_MAJOR_VERSION_NUMBER$WX_MINOR_VERSION_NUMBER$WX_RELEASE_NUMBER
1673 USE_BSD
= USE_DARWIN
= USE_FREEBSD
=
1679 USE_SOLARIS
= USE_SUN
= USE_SUNOS
= USE_SVR4
= USE_SYSV
= USE_VMS
=
1685 NEEDS_D_REENTRANT_FOR_R_FUNCS
=0
1687 ALL_TOOLKITS
="COCOA GTK MAC MGL MICROWIN MOTIF MSW PM X11"
1689 DEFAULT_wxUSE_COCOA
=0
1693 DEFAULT_wxUSE_MICROWIN
=0
1694 DEFAULT_wxUSE_MOTIF
=0
1699 DEFAULT_DEFAULT_wxUSE_COCOA
=0
1700 DEFAULT_DEFAULT_wxUSE_GTK
=0
1701 DEFAULT_DEFAULT_wxUSE_MAC
=0
1702 DEFAULT_DEFAULT_wxUSE_MGL
=0
1703 DEFAULT_DEFAULT_wxUSE_MICROWIN
=0
1704 DEFAULT_DEFAULT_wxUSE_MOTIF
=0
1705 DEFAULT_DEFAULT_wxUSE_MSW
=0
1706 DEFAULT_DEFAULT_wxUSE_PM
=0
1707 DEFAULT_DEFAULT_wxUSE_X11
=0
1712 SAMPLES_RPATH_POSTLINK
=
1717 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1718 NEEDS_D_REENTRANT_FOR_R_FUNCS
=1
1720 cat >>confdefs.h
<<\_ACEOF
1727 cat >>confdefs.h
<<\_ACEOF
1732 if test "x$TMP" = "xalpha"; then
1734 cat >>confdefs.h
<<\_ACEOF
1739 DEFAULT_DEFAULT_wxUSE_GTK
=1
1741 *-*-gnu* | *-*-k*bsd
*-gnu )
1744 if test "x$TMP" = "xalpha"; then
1746 cat >>confdefs.h
<<\_ACEOF
1751 DEFAULT_DEFAULT_wxUSE_GTK
=1
1753 *-*-irix5* | *-*-irix6* )
1756 cat >>confdefs.h
<<\_ACEOF
1760 cat >>confdefs.h
<<\_ACEOF
1764 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1770 cat >>confdefs.h
<<\_ACEOF
1774 cat >>confdefs.h
<<\_ACEOF
1775 #define __SOLARIS__ 1
1778 cat >>confdefs.h
<<\_ACEOF
1782 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1783 NEEDS_D_REENTRANT_FOR_R_FUNCS
=1
1789 cat >>confdefs.h
<<\_ACEOF
1793 cat >>confdefs.h
<<\_ACEOF
1797 cat >>confdefs.h
<<\_ACEOF
1801 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1806 cat >>confdefs.h
<<\_ACEOF
1807 #define __FREEBSD__ 1
1810 cat >>confdefs.h
<<\_ACEOF
1814 DEFAULT_DEFAULT_wxUSE_GTK
=1
1819 cat >>confdefs.h
<<\_ACEOF
1820 #define __OPENBSD__ 1
1823 cat >>confdefs.h
<<\_ACEOF
1827 DEFAULT_DEFAULT_wxUSE_GTK
=1
1832 cat >>confdefs.h
<<\_ACEOF
1833 #define __NETBSD__ 1
1836 cat >>confdefs.h
<<\_ACEOF
1840 DEFAULT_DEFAULT_wxUSE_GTK
=1
1845 cat >>confdefs.h
<<\_ACEOF
1849 cat >>confdefs.h
<<\_ACEOF
1853 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1854 NEEDS_D_REENTRANT_FOR_R_FUNCS
=1
1859 cat >>confdefs.h
<<\_ACEOF
1863 cat >>confdefs.h
<<\_ACEOF
1867 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1872 cat >>confdefs.h
<<\_ACEOF
1876 cat >>confdefs.h
<<\_ACEOF
1880 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1887 cat >>confdefs.h
<<\_ACEOF
1891 cat >>confdefs.h
<<\_ACEOF
1895 cat >>confdefs.h
<<\_ACEOF
1899 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1906 cat >>confdefs.h
<<\_ACEOF
1907 #define __UNIXWARE__ 1
1912 *-*-cygwin* | *-*-mingw32* )
1916 DEFAULT_DEFAULT_wxUSE_MSW
=1
1922 cat >>confdefs.h
<<\_ACEOF
1927 DEFAULT_DEFAULT_wxUSE_MGL
=1
1928 LIBS
="$LIBS -lstdc++"
1931 *-pc-os2_emx | *-pc-os2-emx )
1932 cat >>confdefs.h
<<\_ACEOF
1937 cat >>confdefs.h
<<\_ACEOF
1942 DEFAULT_DEFAULT_wxUSE_PM
=1
1944 LDFLAGS
="$LDFLAGS -Zcrtdll"
1945 ac_executable_extensions
=".exe"
1946 export ac_executable_extensions
1950 for ac_dir
in $PATH; do
1952 if test -z "$ac_TEMP_PATH"; then
1953 ac_TEMP_PATH
="$ac_dir"
1955 ac_TEMP_PATH
="$ac_TEMP_PATH/$ac_dir"
1958 export PATH
="$ac_TEMP_PATH"
1966 cat >>confdefs.h
<<\_ACEOF
1970 cat >>confdefs.h
<<\_ACEOF
1971 #define __DARWIN__ 1
1974 cat >>confdefs.h
<<\_ACEOF
1975 #define __POWERPC__ 1
1978 cat >>confdefs.h
<<\_ACEOF
1979 #define TARGET_CARBON 1
1982 DEFAULT_DEFAULT_wxUSE_MAC
=1
1987 cat >>confdefs.h
<<\_ACEOF
1994 { { echo "$as_me:$LINENO: error: unknown system type ${host}." >&5
1995 echo "$as_me: error: unknown system type ${host}." >&2;}
1996 { (exit 1); exit 1; }; }
2002 wx_arg_cache_file
="configarg.cache"
2003 echo "loading argument cache $wx_arg_cache_file"
2004 rm -f ${wx_arg_cache_file}.tmp
2005 touch ${wx_arg_cache_file}.tmp
2006 touch ${wx_arg_cache_file}
2010 if test $DEBUG_CONFIGURE = 1; then
2011 DEFAULT_wxUSE_UNIVERSAL
=no
2012 DEFAULT_wxUSE_STL
=no
2014 DEFAULT_wxUSE_NANOX
=no
2016 DEFAULT_wxUSE_THREADS
=yes
2018 DEFAULT_wxUSE_SHARED
=yes
2019 DEFAULT_wxUSE_OPTIMISE
=no
2020 DEFAULT_wxUSE_PROFILE
=no
2021 DEFAULT_wxUSE_NO_DEPS
=no
2022 DEFAULT_wxUSE_NO_RTTI
=no
2023 DEFAULT_wxUSE_NO_EXCEPTIONS
=no
2024 DEFAULT_wxUSE_PERMISSIVE
=no
2025 DEFAULT_wxUSE_DEBUG_FLAG
=yes
2026 DEFAULT_wxUSE_DEBUG_INFO
=yes
2027 DEFAULT_wxUSE_DEBUG_GDB
=yes
2028 DEFAULT_wxUSE_MEM_TRACING
=no
2029 DEFAULT_wxUSE_DEBUG_CONTEXT
=no
2030 DEFAULT_wxUSE_DMALLOC
=no
2031 DEFAULT_wxUSE_APPLE_IEEE
=no
2033 DEFAULT_wxUSE_EXCEPTIONS
=no
2034 DEFAULT_wxUSE_LOG
=yes
2035 DEFAULT_wxUSE_LOGWINDOW
=no
2036 DEFAULT_wxUSE_LOGGUI
=no
2037 DEFAULT_wxUSE_LOGDIALOG
=no
2039 DEFAULT_wxUSE_GUI
=yes
2040 DEFAULT_wxUSE_CONTROLS
=no
2042 DEFAULT_wxUSE_REGEX
=no
2043 DEFAULT_wxUSE_XML
=no
2044 DEFAULT_wxUSE_EXPAT
=no
2045 DEFAULT_wxUSE_ZLIB
=no
2046 DEFAULT_wxUSE_LIBPNG
=no
2047 DEFAULT_wxUSE_LIBJPEG
=no
2048 DEFAULT_wxUSE_LIBTIFF
=no
2049 DEFAULT_wxUSE_LIBXPM
=no
2050 DEFAULT_wxUSE_LIBMSPACK
=no
2051 DEFAULT_wxUSE_LIBSDL
=no
2052 DEFAULT_wxUSE_ODBC
=no
2053 DEFAULT_wxUSE_OPENGL
=no
2055 DEFAULT_wxUSE_ON_FATAL_EXCEPTION
=no
2056 DEFAULT_wxUSE_SNGLINST_CHECKER
=no
2057 DEFAULT_wxUSE_STD_IOSTREAM
=no
2058 DEFAULT_wxUSE_CMDLINE_PARSER
=no
2059 DEFAULT_wxUSE_DATETIME
=no
2060 DEFAULT_wxUSE_TIMER
=no
2061 DEFAULT_wxUSE_STOPWATCH
=no
2062 DEFAULT_wxUSE_FILE
=no
2063 DEFAULT_wxUSE_FFILE
=no
2064 DEFAULT_wxUSE_TEXTBUFFER
=no
2065 DEFAULT_wxUSE_TEXTFILE
=no
2066 DEFAULT_wxUSE_SOUND
=no
2067 DEFAULT_wxUSE_INTL
=no
2068 DEFAULT_wxUSE_CONFIG
=no
2069 DEFAULT_wxUSE_FONTMAP
=no
2070 DEFAULT_wxUSE_STREAMS
=no
2071 DEFAULT_wxUSE_SOCKETS
=no
2072 DEFAULT_wxUSE_OLE
=no
2073 DEFAULT_wxUSE_DATAOBJ
=no
2074 DEFAULT_wxUSE_DIALUP_MANAGER
=no
2075 DEFAULT_wxUSE_JOYSTICK
=no
2076 DEFAULT_wxUSE_DYNLIB_CLASS
=no
2077 DEFAULT_wxUSE_DYNAMIC_LOADER
=no
2078 DEFAULT_wxUSE_LONGLONG
=no
2079 DEFAULT_wxUSE_GEOMETRY
=no
2081 DEFAULT_wxUSE_AFM_FOR_POSTSCRIPT
=no
2082 DEFAULT_wxUSE_NORMALIZED_PS_FONTS
=no
2083 DEFAULT_wxUSE_POSTSCRIPT
=no
2085 DEFAULT_wxUSE_CLIPBOARD
=no
2086 DEFAULT_wxUSE_TOOLTIPS
=no
2087 DEFAULT_wxUSE_DRAG_AND_DROP
=no
2088 DEFAULT_wxUSE_DRAGIMAGE
=no
2089 DEFAULT_wxUSE_SPLINES
=no
2091 DEFAULT_wxUSE_MDI
=no
2092 DEFAULT_wxUSE_MDI_ARCHITECTURE
=no
2093 DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE
=no
2094 DEFAULT_wxUSE_PRINTING_ARCHITECTURE
=no
2096 DEFAULT_wxUSE_RESOURCES
=no
2097 DEFAULT_wxUSE_CONSTRAINTS
=no
2098 DEFAULT_wxUSE_IPC
=no
2099 DEFAULT_wxUSE_HELP
=no
2100 DEFAULT_wxUSE_MS_HTML_HELP
=no
2101 DEFAULT_wxUSE_WXHTML_HELP
=no
2102 DEFAULT_wxUSE_TREELAYOUT
=no
2103 DEFAULT_wxUSE_METAFILE
=no
2104 DEFAULT_wxUSE_MIMETYPE
=no
2105 DEFAULT_wxUSE_SYSTEM_OPTIONS
=no
2106 DEFAULT_wxUSE_PROTOCOL
=no
2107 DEFAULT_wxUSE_PROTOCOL_HTTP
=no
2108 DEFAULT_wxUSE_PROTOCOL_FTP
=no
2109 DEFAULT_wxUSE_PROTOCOL_FILE
=no
2110 DEFAULT_wxUSE_URL
=no
2112 DEFAULT_wxUSE_COMMONDLGS
=no
2113 DEFAULT_wxUSE_CHOICEDLG
=no
2114 DEFAULT_wxUSE_COLOURDLG
=no
2115 DEFAULT_wxUSE_DIRDLG
=no
2116 DEFAULT_wxUSE_FILEDLG
=no
2117 DEFAULT_wxUSE_FINDREPLDLG
=no
2118 DEFAULT_wxUSE_FONTDLG
=no
2119 DEFAULT_wxUSE_MSGDLG
=no
2120 DEFAULT_wxUSE_NUMBERDLG
=no
2121 DEFAULT_wxUSE_TEXTDLG
=no
2122 DEFAULT_wxUSE_SPLASH
=no
2123 DEFAULT_wxUSE_STARTUP_TIPS
=no
2124 DEFAULT_wxUSE_PROGRESSDLG
=no
2125 DEFAULT_wxUSE_WIZARDDLG
=no
2127 DEFAULT_wxUSE_MENUS
=no
2128 DEFAULT_wxUSE_MINIFRAME
=no
2129 DEFAULT_wxUSE_HTML
=no
2130 DEFAULT_wxUSE_WEBKIT
=no
2131 DEFAULT_wxUSE_FILESYSTEM
=no
2132 DEFAULT_wxUSE_FS_INET
=no
2133 DEFAULT_wxUSE_FS_ZIP
=no
2134 DEFAULT_wxUSE_BUSYINFO
=no
2135 DEFAULT_wxUSE_ZIPSTREAM
=no
2136 DEFAULT_wxUSE_VALIDATORS
=no
2138 DEFAULT_wxUSE_ACCEL
=no
2139 DEFAULT_wxUSE_BUTTON
=no
2140 DEFAULT_wxUSE_BMPBUTTON
=no
2141 DEFAULT_wxUSE_CALCTRL
=no
2142 DEFAULT_wxUSE_CARET
=no
2143 DEFAULT_wxUSE_CHECKBOX
=no
2144 DEFAULT_wxUSE_CHECKLST
=no
2145 DEFAULT_wxUSE_CHOICE
=no
2146 DEFAULT_wxUSE_COMBOBOX
=no
2147 DEFAULT_wxUSE_DISPLAY
=no
2148 DEFAULT_wxUSE_GAUGE
=no
2149 DEFAULT_wxUSE_GRID
=no
2150 DEFAULT_wxUSE_IMAGLIST
=no
2151 DEFAULT_wxUSE_LISTBOOK
=no
2152 DEFAULT_wxUSE_LISTBOX
=no
2153 DEFAULT_wxUSE_LISTCTRL
=no
2154 DEFAULT_wxUSE_NOTEBOOK
=no
2155 DEFAULT_wxUSE_RADIOBOX
=no
2156 DEFAULT_wxUSE_RADIOBTN
=no
2157 DEFAULT_wxUSE_SASH
=no
2158 DEFAULT_wxUSE_SCROLLBAR
=no
2159 DEFAULT_wxUSE_SLIDER
=no
2160 DEFAULT_wxUSE_SPINBTN
=no
2161 DEFAULT_wxUSE_SPINCTRL
=no
2162 DEFAULT_wxUSE_SPLITTER
=no
2163 DEFAULT_wxUSE_STATBMP
=no
2164 DEFAULT_wxUSE_STATBOX
=no
2165 DEFAULT_wxUSE_STATLINE
=no
2166 DEFAULT_wxUSE_STATTEXT
=no
2167 DEFAULT_wxUSE_STATUSBAR
=yes
2168 DEFAULT_wxUSE_TABDIALOG
=no
2169 DEFAULT_wxUSE_TEXTCTRL
=no
2170 DEFAULT_wxUSE_TOGGLEBTN
=no
2171 DEFAULT_wxUSE_TOOLBAR
=no
2172 DEFAULT_wxUSE_TOOLBAR_NATIVE
=no
2173 DEFAULT_wxUSE_TOOLBAR_SIMPLE
=no
2174 DEFAULT_wxUSE_TREECTRL
=no
2175 DEFAULT_wxUSE_POPUPWIN
=no
2176 DEFAULT_wxUSE_TIPWINDOW
=no
2178 DEFAULT_wxUSE_UNICODE
=no
2179 DEFAULT_wxUSE_UNICODE_MSLU
=no
2180 DEFAULT_wxUSE_WCSRTOMBS
=no
2182 DEFAULT_wxUSE_PALETTE
=no
2183 DEFAULT_wxUSE_IMAGE
=no
2184 DEFAULT_wxUSE_GIF
=no
2185 DEFAULT_wxUSE_PCX
=no
2186 DEFAULT_wxUSE_PNM
=no
2187 DEFAULT_wxUSE_IFF
=no
2188 DEFAULT_wxUSE_XPM
=no
2189 DEFAULT_wxUSE_ICO_CUR
=no
2190 DEFAULT_wxUSE_ACCESSIBILITY
=no
2192 DEFAULT_wxUSE_MONOLITHIC
=no
2193 DEFAULT_wxUSE_PLUGINS
=no
2194 DEFAULT_wxUSE_OFFICIAL_BUILD
=no
2196 DEFAULT_wxUSE_UNIVERSAL
=no
2197 DEFAULT_wxUSE_STL
=no
2199 DEFAULT_wxUSE_NANOX
=no
2201 DEFAULT_wxUSE_THREADS
=yes
2203 DEFAULT_wxUSE_SHARED
=yes
2204 DEFAULT_wxUSE_OPTIMISE
=yes
2205 DEFAULT_wxUSE_PROFILE
=no
2206 DEFAULT_wxUSE_NO_DEPS
=no
2207 DEFAULT_wxUSE_NO_RTTI
=no
2208 DEFAULT_wxUSE_NO_EXCEPTIONS
=no
2209 DEFAULT_wxUSE_PERMISSIVE
=no
2210 DEFAULT_wxUSE_DEBUG_FLAG
=no
2211 DEFAULT_wxUSE_DEBUG_INFO
=no
2212 DEFAULT_wxUSE_DEBUG_GDB
=no
2213 DEFAULT_wxUSE_MEM_TRACING
=no
2214 DEFAULT_wxUSE_DEBUG_CONTEXT
=no
2215 DEFAULT_wxUSE_DMALLOC
=no
2216 DEFAULT_wxUSE_APPLE_IEEE
=yes
2218 DEFAULT_wxUSE_EXCEPTIONS
=yes
2219 DEFAULT_wxUSE_LOG
=yes
2220 DEFAULT_wxUSE_LOGWINDOW
=yes
2221 DEFAULT_wxUSE_LOGGUI
=yes
2222 DEFAULT_wxUSE_LOGDIALOG
=yes
2224 DEFAULT_wxUSE_GUI
=yes
2226 DEFAULT_wxUSE_REGEX
=yes
2227 DEFAULT_wxUSE_XML
=yes
2228 DEFAULT_wxUSE_EXPAT
=yes
2229 DEFAULT_wxUSE_ZLIB
=yes
2230 DEFAULT_wxUSE_LIBPNG
=yes
2231 DEFAULT_wxUSE_LIBJPEG
=yes
2232 DEFAULT_wxUSE_LIBTIFF
=yes
2233 DEFAULT_wxUSE_LIBXPM
=yes
2234 DEFAULT_wxUSE_LIBMSPACK
=yes
2235 DEFAULT_wxUSE_LIBSDL
=no
2236 DEFAULT_wxUSE_ODBC
=no
2237 DEFAULT_wxUSE_OPENGL
=no
2239 DEFAULT_wxUSE_ON_FATAL_EXCEPTION
=yes
2240 DEFAULT_wxUSE_SNGLINST_CHECKER
=yes
2241 DEFAULT_wxUSE_STD_IOSTREAM
=no
2242 DEFAULT_wxUSE_CMDLINE_PARSER
=yes
2243 DEFAULT_wxUSE_DATETIME
=yes
2244 DEFAULT_wxUSE_TIMER
=yes
2245 DEFAULT_wxUSE_STOPWATCH
=yes
2246 DEFAULT_wxUSE_FILE
=yes
2247 DEFAULT_wxUSE_FFILE
=yes
2248 DEFAULT_wxUSE_TEXTBUFFER
=yes
2249 DEFAULT_wxUSE_TEXTFILE
=yes
2250 DEFAULT_wxUSE_SOUND
=yes
2251 DEFAULT_wxUSE_INTL
=yes
2252 DEFAULT_wxUSE_CONFIG
=yes
2253 DEFAULT_wxUSE_FONTMAP
=yes
2254 DEFAULT_wxUSE_STREAMS
=yes
2255 DEFAULT_wxUSE_SOCKETS
=yes
2256 DEFAULT_wxUSE_OLE
=yes
2257 DEFAULT_wxUSE_DATAOBJ
=yes
2258 DEFAULT_wxUSE_DIALUP_MANAGER
=yes
2259 DEFAULT_wxUSE_JOYSTICK
=yes
2260 DEFAULT_wxUSE_DYNLIB_CLASS
=yes
2261 DEFAULT_wxUSE_DYNAMIC_LOADER
=yes
2262 DEFAULT_wxUSE_LONGLONG
=yes
2263 DEFAULT_wxUSE_GEOMETRY
=yes
2265 DEFAULT_wxUSE_AFM_FOR_POSTSCRIPT
=yes
2266 DEFAULT_wxUSE_NORMALIZED_PS_FONTS
=yes
2267 DEFAULT_wxUSE_POSTSCRIPT
=yes
2269 DEFAULT_wxUSE_CLIPBOARD
=yes
2270 DEFAULT_wxUSE_TOOLTIPS
=yes
2271 DEFAULT_wxUSE_DRAG_AND_DROP
=yes
2272 DEFAULT_wxUSE_DRAGIMAGE
=yes
2273 DEFAULT_wxUSE_SPLINES
=yes
2275 DEFAULT_wxUSE_MDI
=yes
2276 DEFAULT_wxUSE_MDI_ARCHITECTURE
=yes
2277 DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE
=yes
2278 DEFAULT_wxUSE_PRINTING_ARCHITECTURE
=yes
2280 DEFAULT_wxUSE_RESOURCES
=no
2281 DEFAULT_wxUSE_CONSTRAINTS
=yes
2282 DEFAULT_wxUSE_IPC
=yes
2283 DEFAULT_wxUSE_HELP
=yes
2284 DEFAULT_wxUSE_MS_HTML_HELP
=yes
2285 DEFAULT_wxUSE_WXHTML_HELP
=yes
2286 DEFAULT_wxUSE_TREELAYOUT
=yes
2287 DEFAULT_wxUSE_METAFILE
=yes
2288 DEFAULT_wxUSE_MIMETYPE
=yes
2289 DEFAULT_wxUSE_SYSTEM_OPTIONS
=yes
2290 DEFAULT_wxUSE_PROTOCOL
=yes
2291 DEFAULT_wxUSE_PROTOCOL_HTTP
=yes
2292 DEFAULT_wxUSE_PROTOCOL_FTP
=yes
2293 DEFAULT_wxUSE_PROTOCOL_FILE
=yes
2294 DEFAULT_wxUSE_URL
=yes
2296 DEFAULT_wxUSE_COMMONDLGS
=yes
2297 DEFAULT_wxUSE_CHOICEDLG
=yes
2298 DEFAULT_wxUSE_COLOURDLG
=yes
2299 DEFAULT_wxUSE_DIRDLG
=yes
2300 DEFAULT_wxUSE_FILEDLG
=yes
2301 DEFAULT_wxUSE_FINDREPLDLG
=yes
2302 DEFAULT_wxUSE_FONTDLG
=yes
2303 DEFAULT_wxUSE_MSGDLG
=yes
2304 DEFAULT_wxUSE_NUMBERDLG
=yes
2305 DEFAULT_wxUSE_TEXTDLG
=yes
2306 DEFAULT_wxUSE_SPLASH
=yes
2307 DEFAULT_wxUSE_STARTUP_TIPS
=yes
2308 DEFAULT_wxUSE_PROGRESSDLG
=yes
2309 DEFAULT_wxUSE_WIZARDDLG
=yes
2311 DEFAULT_wxUSE_MENUS
=yes
2312 DEFAULT_wxUSE_MINIFRAME
=yes
2313 DEFAULT_wxUSE_HTML
=yes
2314 DEFAULT_wxUSE_WEBKIT
=yes
2315 DEFAULT_wxUSE_FILESYSTEM
=yes
2316 DEFAULT_wxUSE_FS_INET
=yes
2317 DEFAULT_wxUSE_FS_ZIP
=yes
2318 DEFAULT_wxUSE_BUSYINFO
=yes
2319 DEFAULT_wxUSE_ZIPSTREAM
=yes
2320 DEFAULT_wxUSE_VALIDATORS
=yes
2322 DEFAULT_wxUSE_ACCEL
=yes
2323 DEFAULT_wxUSE_BUTTON
=yes
2324 DEFAULT_wxUSE_BMPBUTTON
=yes
2325 DEFAULT_wxUSE_CALCTRL
=yes
2326 DEFAULT_wxUSE_CARET
=yes
2327 DEFAULT_wxUSE_CHECKBOX
=yes
2328 DEFAULT_wxUSE_CHECKLST
=yes
2329 DEFAULT_wxUSE_CHOICE
=yes
2330 DEFAULT_wxUSE_COMBOBOX
=yes
2331 DEFAULT_wxUSE_DISPLAY
=yes
2332 DEFAULT_wxUSE_GAUGE
=yes
2333 DEFAULT_wxUSE_GRID
=yes
2334 DEFAULT_wxUSE_IMAGLIST
=yes
2335 DEFAULT_wxUSE_LISTBOOK
=yes
2336 DEFAULT_wxUSE_LISTBOX
=yes
2337 DEFAULT_wxUSE_LISTCTRL
=yes
2338 DEFAULT_wxUSE_NOTEBOOK
=yes
2339 DEFAULT_wxUSE_RADIOBOX
=yes
2340 DEFAULT_wxUSE_RADIOBTN
=yes
2341 DEFAULT_wxUSE_SASH
=yes
2342 DEFAULT_wxUSE_SCROLLBAR
=yes
2343 DEFAULT_wxUSE_SLIDER
=yes
2344 DEFAULT_wxUSE_SPINBTN
=yes
2345 DEFAULT_wxUSE_SPINCTRL
=yes
2346 DEFAULT_wxUSE_SPLITTER
=yes
2347 DEFAULT_wxUSE_STATBMP
=yes
2348 DEFAULT_wxUSE_STATBOX
=yes
2349 DEFAULT_wxUSE_STATLINE
=yes
2350 DEFAULT_wxUSE_STATTEXT
=yes
2351 DEFAULT_wxUSE_STATUSBAR
=yes
2352 DEFAULT_wxUSE_TABDIALOG
=no
2353 DEFAULT_wxUSE_TEXTCTRL
=yes
2354 DEFAULT_wxUSE_TOGGLEBTN
=yes
2355 DEFAULT_wxUSE_TOOLBAR
=yes
2356 DEFAULT_wxUSE_TOOLBAR_NATIVE
=yes
2357 DEFAULT_wxUSE_TOOLBAR_SIMPLE
=yes
2358 DEFAULT_wxUSE_TREECTRL
=yes
2359 DEFAULT_wxUSE_POPUPWIN
=yes
2360 DEFAULT_wxUSE_TIPWINDOW
=yes
2362 DEFAULT_wxUSE_UNICODE
=no
2363 DEFAULT_wxUSE_UNICODE_MSLU
=yes
2364 DEFAULT_wxUSE_WCSRTOMBS
=no
2366 DEFAULT_wxUSE_PALETTE
=yes
2367 DEFAULT_wxUSE_IMAGE
=yes
2368 DEFAULT_wxUSE_GIF
=yes
2369 DEFAULT_wxUSE_PCX
=yes
2370 DEFAULT_wxUSE_IFF
=no
2371 DEFAULT_wxUSE_PNM
=yes
2372 DEFAULT_wxUSE_XPM
=yes
2373 DEFAULT_wxUSE_ICO_CUR
=yes
2374 DEFAULT_wxUSE_ACCESSIBILITY
=no
2376 DEFAULT_wxUSE_MONOLITHIC
=no
2377 DEFAULT_wxUSE_PLUGINS
=no
2378 DEFAULT_wxUSE_OFFICIAL_BUILD
=no
2383 for toolkit
in `echo $ALL_TOOLKITS`; do
2384 LINE
=`grep "wxUSE_$toolkit=" ${wx_arg_cache_file}`
2385 if test "x$LINE" != "x" ; then
2386 has_toolkit_in_cache
=1
2387 eval "DEFAULT_$LINE"
2388 eval "CACHE_$toolkit=1"
2395 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gui" >&5
2396 echo $ECHO_N "checking for --${enablestring:-enable}-gui... $ECHO_C" >&6
2398 # Check whether --enable-gui or --disable-gui was given.
2399 if test "${enable_gui+set}" = set; then
2400 enableval
="$enable_gui"
2402 if test "$enableval" = yes; then
2403 ac_cv_use_gui
='wxUSE_GUI=yes'
2405 ac_cv_use_gui
='wxUSE_GUI=no'
2410 LINE
=`grep "wxUSE_GUI" ${wx_arg_cache_file}`
2411 if test "x$LINE" != x
; then
2412 eval "DEFAULT_$LINE"
2417 ac_cv_use_gui
='wxUSE_GUI='$DEFAULT_wxUSE_GUI
2421 eval "$ac_cv_use_gui"
2422 if test "$no_cache" != 1; then
2423 echo $ac_cv_use_gui >> ${wx_arg_cache_file}.tmp
2426 if test "$wxUSE_GUI" = yes; then
2427 echo "$as_me:$LINENO: result: yes" >&5
2428 echo "${ECHO_T}yes" >&6
2430 echo "$as_me:$LINENO: result: no" >&5
2431 echo "${ECHO_T}no" >&6
2436 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-monolithic" >&5
2437 echo $ECHO_N "checking for --${enablestring:-enable}-monolithic... $ECHO_C" >&6
2439 # Check whether --enable-monolithic or --disable-monolithic was given.
2440 if test "${enable_monolithic+set}" = set; then
2441 enableval
="$enable_monolithic"
2443 if test "$enableval" = yes; then
2444 ac_cv_use_monolithic
='wxUSE_MONOLITHIC=yes'
2446 ac_cv_use_monolithic
='wxUSE_MONOLITHIC=no'
2451 LINE
=`grep "wxUSE_MONOLITHIC" ${wx_arg_cache_file}`
2452 if test "x$LINE" != x
; then
2453 eval "DEFAULT_$LINE"
2458 ac_cv_use_monolithic
='wxUSE_MONOLITHIC='$DEFAULT_wxUSE_MONOLITHIC
2462 eval "$ac_cv_use_monolithic"
2463 if test "$no_cache" != 1; then
2464 echo $ac_cv_use_monolithic >> ${wx_arg_cache_file}.tmp
2467 if test "$wxUSE_MONOLITHIC" = yes; then
2468 echo "$as_me:$LINENO: result: yes" >&5
2469 echo "${ECHO_T}yes" >&6
2471 echo "$as_me:$LINENO: result: no" >&5
2472 echo "${ECHO_T}no" >&6
2477 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-plugins" >&5
2478 echo $ECHO_N "checking for --${enablestring:-enable}-plugins... $ECHO_C" >&6
2480 # Check whether --enable-plugins or --disable-plugins was given.
2481 if test "${enable_plugins+set}" = set; then
2482 enableval
="$enable_plugins"
2484 if test "$enableval" = yes; then
2485 ac_cv_use_plugins
='wxUSE_PLUGINS=yes'
2487 ac_cv_use_plugins
='wxUSE_PLUGINS=no'
2492 LINE
=`grep "wxUSE_PLUGINS" ${wx_arg_cache_file}`
2493 if test "x$LINE" != x
; then
2494 eval "DEFAULT_$LINE"
2499 ac_cv_use_plugins
='wxUSE_PLUGINS='$DEFAULT_wxUSE_PLUGINS
2503 eval "$ac_cv_use_plugins"
2504 if test "$no_cache" != 1; then
2505 echo $ac_cv_use_plugins >> ${wx_arg_cache_file}.tmp
2508 if test "$wxUSE_PLUGINS" = yes; then
2509 echo "$as_me:$LINENO: result: yes" >&5
2510 echo "${ECHO_T}yes" >&6
2512 echo "$as_me:$LINENO: result: no" >&5
2513 echo "${ECHO_T}no" >&6
2517 if test "$wxUSE_GUI" = "yes"; then
2521 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-universal" >&5
2522 echo $ECHO_N "checking for --${enablestring:-enable}-universal... $ECHO_C" >&6
2524 # Check whether --enable-universal or --disable-universal was given.
2525 if test "${enable_universal+set}" = set; then
2526 enableval
="$enable_universal"
2528 if test "$enableval" = yes; then
2529 ac_cv_use_universal
='wxUSE_UNIVERSAL=yes'
2531 ac_cv_use_universal
='wxUSE_UNIVERSAL=no'
2536 LINE
=`grep "wxUSE_UNIVERSAL" ${wx_arg_cache_file}`
2537 if test "x$LINE" != x
; then
2538 eval "DEFAULT_$LINE"
2543 ac_cv_use_universal
='wxUSE_UNIVERSAL='$DEFAULT_wxUSE_UNIVERSAL
2547 eval "$ac_cv_use_universal"
2548 if test "$no_cache" != 1; then
2549 echo $ac_cv_use_universal >> ${wx_arg_cache_file}.tmp
2552 if test "$wxUSE_UNIVERSAL" = yes; then
2553 echo "$as_me:$LINENO: result: yes" >&5
2554 echo "${ECHO_T}yes" >&6
2556 echo "$as_me:$LINENO: result: no" >&5
2557 echo "${ECHO_T}no" >&6
2561 # Check whether --with-gtk or --without-gtk was given.
2562 if test "${with_gtk+set}" = set; then
2564 wxUSE_GTK
="$withval" CACHE_GTK
=1 TOOLKIT_GIVEN
=1
2567 # Check whether --with-motif or --without-motif was given.
2568 if test "${with_motif+set}" = set; then
2569 withval
="$with_motif"
2570 wxUSE_MOTIF
="$withval" CACHE_MOTIF
=1 TOOLKIT_GIVEN
=1
2573 # Check whether --with-mac or --without-mac was given.
2574 if test "${with_mac+set}" = set; then
2576 wxUSE_MAC
="$withval" TOOLKIT_GIVEN
=1
2579 # Check whether --with-cocoa or --without-cocoa was given.
2580 if test "${with_cocoa+set}" = set; then
2581 withval
="$with_cocoa"
2582 wxUSE_COCOA
="$withval" TOOLKIT_GIVEN
=1
2585 # Check whether --with-wine or --without-wine was given.
2586 if test "${with_wine+set}" = set; then
2587 withval
="$with_wine"
2588 wxUSE_WINE
="$withval" CACHE_WINE
=1
2591 # Check whether --with-msw or --without-msw was given.
2592 if test "${with_msw+set}" = set; then
2594 wxUSE_MSW
="$withval" CACHE_MSW
=1 TOOLKIT_GIVEN
=1
2597 # Check whether --with-pm or --without-pm was given.
2598 if test "${with_pm+set}" = set; then
2600 wxUSE_PM
="$withval" CACHE_PM
=1 TOOLKIT_GIVEN
=1
2603 # Check whether --with-mgl or --without-mgl was given.
2604 if test "${with_mgl+set}" = set; then
2606 wxUSE_MGL
="$withval" wxUSE_UNIVERSAL
="yes" CACHE_MGL
=1 TOOLKIT_GIVEN
=1
2609 # Check whether --with-microwin or --without-microwin was given.
2610 if test "${with_microwin+set}" = set; then
2611 withval
="$with_microwin"
2612 wxUSE_MICROWIN
="$withval" CACHE_MICROWIN
=1 TOOLKIT_GIVEN
=1
2615 # Check whether --with-x11 or --without-x11 was given.
2616 if test "${with_x11+set}" = set; then
2618 wxUSE_X11
="$withval" wxUSE_UNIVERSAL
="yes" CACHE_X11
=1 TOOLKIT_GIVEN
=1
2622 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-nanox" >&5
2623 echo $ECHO_N "checking for --${enablestring:-enable}-nanox... $ECHO_C" >&6
2625 # Check whether --enable-nanox or --disable-nanox was given.
2626 if test "${enable_nanox+set}" = set; then
2627 enableval
="$enable_nanox"
2629 if test "$enableval" = yes; then
2630 ac_cv_use_nanox
='wxUSE_NANOX=yes'
2632 ac_cv_use_nanox
='wxUSE_NANOX=no'
2637 LINE
=`grep "wxUSE_NANOX" ${wx_arg_cache_file}`
2638 if test "x$LINE" != x
; then
2639 eval "DEFAULT_$LINE"
2644 ac_cv_use_nanox
='wxUSE_NANOX='$DEFAULT_wxUSE_NANOX
2648 eval "$ac_cv_use_nanox"
2649 if test "$no_cache" != 1; then
2650 echo $ac_cv_use_nanox >> ${wx_arg_cache_file}.tmp
2653 if test "$wxUSE_NANOX" = yes; then
2654 echo "$as_me:$LINENO: result: yes" >&5
2655 echo "${ECHO_T}yes" >&6
2657 echo "$as_me:$LINENO: result: no" >&5
2658 echo "${ECHO_T}no" >&6
2664 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gtk2" >&5
2665 echo $ECHO_N "checking for --${enablestring:-enable}-gtk2... $ECHO_C" >&6
2667 # Check whether --enable-gtk2 or --disable-gtk2 was given.
2668 if test "${enable_gtk2+set}" = set; then
2669 enableval
="$enable_gtk2"
2671 if test "$enableval" = yes; then
2672 ac_cv_use_gtk2
='wxUSE_GTK2=yes'
2674 ac_cv_use_gtk2
='wxUSE_GTK2=no'
2679 LINE
=`grep "wxUSE_GTK2" ${wx_arg_cache_file}`
2680 if test "x$LINE" != x
; then
2681 eval "DEFAULT_$LINE"
2686 ac_cv_use_gtk2
='wxUSE_GTK2='$DEFAULT_wxUSE_GTK2
2690 eval "$ac_cv_use_gtk2"
2691 if test "$no_cache" != 1; then
2692 echo $ac_cv_use_gtk2 >> ${wx_arg_cache_file}.tmp
2695 if test "$wxUSE_GTK2" = yes; then
2696 echo "$as_me:$LINENO: result: yes" >&5
2697 echo "${ECHO_T}yes" >&6
2699 echo "$as_me:$LINENO: result: no" >&5
2700 echo "${ECHO_T}no" >&6
2705 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gpe" >&5
2706 echo $ECHO_N "checking for --${enablestring:-enable}-gpe... $ECHO_C" >&6
2708 # Check whether --enable-gpe or --disable-gpe was given.
2709 if test "${enable_gpe+set}" = set; then
2710 enableval
="$enable_gpe"
2712 if test "$enableval" = yes; then
2713 ac_cv_use_gpe
='wxUSE_GPE=yes'
2715 ac_cv_use_gpe
='wxUSE_GPE=no'
2720 LINE
=`grep "wxUSE_GPE" ${wx_arg_cache_file}`
2721 if test "x$LINE" != x
; then
2722 eval "DEFAULT_$LINE"
2727 ac_cv_use_gpe
='wxUSE_GPE='$DEFAULT_wxUSE_GPE
2731 eval "$ac_cv_use_gpe"
2732 if test "$no_cache" != 1; then
2733 echo $ac_cv_use_gpe >> ${wx_arg_cache_file}.tmp
2736 if test "$wxUSE_GPE" = yes; then
2737 echo "$as_me:$LINENO: result: yes" >&5
2738 echo "${ECHO_T}yes" >&6
2740 echo "$as_me:$LINENO: result: no" >&5
2741 echo "${ECHO_T}no" >&6
2746 echo "$as_me:$LINENO: checking for --with-libpng" >&5
2747 echo $ECHO_N "checking for --with-libpng... $ECHO_C" >&6
2750 # Check whether --with-libpng or --without-libpng was given.
2751 if test "${with_libpng+set}" = set; then
2752 withval
="$with_libpng"
2754 if test "$withval" = yes; then
2755 ac_cv_use_libpng
='wxUSE_LIBPNG=yes'
2756 elif test "$withval" = no
; then
2757 ac_cv_use_libpng
='wxUSE_LIBPNG=no'
2758 elif test "$withval" = sys
; then
2759 ac_cv_use_libpng
='wxUSE_LIBPNG=sys'
2760 elif test "$withval" = builtin; then
2761 ac_cv_use_libpng
='wxUSE_LIBPNG=builtin'
2763 { { echo "$as_me:$LINENO: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&5
2764 echo "$as_me: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&2;}
2765 { (exit 1); exit 1; }; }
2770 LINE
=`grep "wxUSE_LIBPNG" ${wx_arg_cache_file}`
2771 if test "x$LINE" != x
; then
2772 eval "DEFAULT_$LINE"
2777 ac_cv_use_libpng
='wxUSE_LIBPNG='$DEFAULT_wxUSE_LIBPNG
2781 eval "$ac_cv_use_libpng"
2782 if test "$no_cache" != 1; then
2783 echo $ac_cv_use_libpng >> ${wx_arg_cache_file}.tmp
2786 if test "$wxUSE_LIBPNG" = yes; then
2787 echo "$as_me:$LINENO: result: yes" >&5
2788 echo "${ECHO_T}yes" >&6
2789 elif test "$wxUSE_LIBPNG" = no
; then
2790 echo "$as_me:$LINENO: result: no" >&5
2791 echo "${ECHO_T}no" >&6
2792 elif test "$wxUSE_LIBPNG" = sys
; then
2793 echo "$as_me:$LINENO: result: system version" >&5
2794 echo "${ECHO_T}system version" >&6
2795 elif test "$wxUSE_LIBPNG" = builtin; then
2796 echo "$as_me:$LINENO: result: builtin version" >&5
2797 echo "${ECHO_T}builtin version" >&6
2799 { { echo "$as_me:$LINENO: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&5
2800 echo "$as_me: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&2;}
2801 { (exit 1); exit 1; }; }
2805 echo "$as_me:$LINENO: checking for --with-libjpeg" >&5
2806 echo $ECHO_N "checking for --with-libjpeg... $ECHO_C" >&6
2809 # Check whether --with-libjpeg or --without-libjpeg was given.
2810 if test "${with_libjpeg+set}" = set; then
2811 withval
="$with_libjpeg"
2813 if test "$withval" = yes; then
2814 ac_cv_use_libjpeg
='wxUSE_LIBJPEG=yes'
2815 elif test "$withval" = no
; then
2816 ac_cv_use_libjpeg
='wxUSE_LIBJPEG=no'
2817 elif test "$withval" = sys
; then
2818 ac_cv_use_libjpeg
='wxUSE_LIBJPEG=sys'
2819 elif test "$withval" = builtin; then
2820 ac_cv_use_libjpeg
='wxUSE_LIBJPEG=builtin'
2822 { { echo "$as_me:$LINENO: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&5
2823 echo "$as_me: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&2;}
2824 { (exit 1); exit 1; }; }
2829 LINE
=`grep "wxUSE_LIBJPEG" ${wx_arg_cache_file}`
2830 if test "x$LINE" != x
; then
2831 eval "DEFAULT_$LINE"
2836 ac_cv_use_libjpeg
='wxUSE_LIBJPEG='$DEFAULT_wxUSE_LIBJPEG
2840 eval "$ac_cv_use_libjpeg"
2841 if test "$no_cache" != 1; then
2842 echo $ac_cv_use_libjpeg >> ${wx_arg_cache_file}.tmp
2845 if test "$wxUSE_LIBJPEG" = yes; then
2846 echo "$as_me:$LINENO: result: yes" >&5
2847 echo "${ECHO_T}yes" >&6
2848 elif test "$wxUSE_LIBJPEG" = no
; then
2849 echo "$as_me:$LINENO: result: no" >&5
2850 echo "${ECHO_T}no" >&6
2851 elif test "$wxUSE_LIBJPEG" = sys
; then
2852 echo "$as_me:$LINENO: result: system version" >&5
2853 echo "${ECHO_T}system version" >&6
2854 elif test "$wxUSE_LIBJPEG" = builtin; then
2855 echo "$as_me:$LINENO: result: builtin version" >&5
2856 echo "${ECHO_T}builtin version" >&6
2858 { { echo "$as_me:$LINENO: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&5
2859 echo "$as_me: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&2;}
2860 { (exit 1); exit 1; }; }
2864 echo "$as_me:$LINENO: checking for --with-libtiff" >&5
2865 echo $ECHO_N "checking for --with-libtiff... $ECHO_C" >&6
2868 # Check whether --with-libtiff or --without-libtiff was given.
2869 if test "${with_libtiff+set}" = set; then
2870 withval
="$with_libtiff"
2872 if test "$withval" = yes; then
2873 ac_cv_use_libtiff
='wxUSE_LIBTIFF=yes'
2874 elif test "$withval" = no
; then
2875 ac_cv_use_libtiff
='wxUSE_LIBTIFF=no'
2876 elif test "$withval" = sys
; then
2877 ac_cv_use_libtiff
='wxUSE_LIBTIFF=sys'
2878 elif test "$withval" = builtin; then
2879 ac_cv_use_libtiff
='wxUSE_LIBTIFF=builtin'
2881 { { echo "$as_me:$LINENO: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&5
2882 echo "$as_me: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&2;}
2883 { (exit 1); exit 1; }; }
2888 LINE
=`grep "wxUSE_LIBTIFF" ${wx_arg_cache_file}`
2889 if test "x$LINE" != x
; then
2890 eval "DEFAULT_$LINE"
2895 ac_cv_use_libtiff
='wxUSE_LIBTIFF='$DEFAULT_wxUSE_LIBTIFF
2899 eval "$ac_cv_use_libtiff"
2900 if test "$no_cache" != 1; then
2901 echo $ac_cv_use_libtiff >> ${wx_arg_cache_file}.tmp
2904 if test "$wxUSE_LIBTIFF" = yes; then
2905 echo "$as_me:$LINENO: result: yes" >&5
2906 echo "${ECHO_T}yes" >&6
2907 elif test "$wxUSE_LIBTIFF" = no
; then
2908 echo "$as_me:$LINENO: result: no" >&5
2909 echo "${ECHO_T}no" >&6
2910 elif test "$wxUSE_LIBTIFF" = sys
; then
2911 echo "$as_me:$LINENO: result: system version" >&5
2912 echo "${ECHO_T}system version" >&6
2913 elif test "$wxUSE_LIBTIFF" = builtin; then
2914 echo "$as_me:$LINENO: result: builtin version" >&5
2915 echo "${ECHO_T}builtin version" >&6
2917 { { echo "$as_me:$LINENO: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&5
2918 echo "$as_me: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&2;}
2919 { (exit 1); exit 1; }; }
2923 echo "$as_me:$LINENO: checking for --with-libxpm" >&5
2924 echo $ECHO_N "checking for --with-libxpm... $ECHO_C" >&6
2927 # Check whether --with-libxpm or --without-libxpm was given.
2928 if test "${with_libxpm+set}" = set; then
2929 withval
="$with_libxpm"
2931 if test "$withval" = yes; then
2932 ac_cv_use_libxpm
='wxUSE_LIBXPM=yes'
2933 elif test "$withval" = no
; then
2934 ac_cv_use_libxpm
='wxUSE_LIBXPM=no'
2935 elif test "$withval" = sys
; then
2936 ac_cv_use_libxpm
='wxUSE_LIBXPM=sys'
2937 elif test "$withval" = builtin; then
2938 ac_cv_use_libxpm
='wxUSE_LIBXPM=builtin'
2940 { { echo "$as_me:$LINENO: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&5
2941 echo "$as_me: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&2;}
2942 { (exit 1); exit 1; }; }
2947 LINE
=`grep "wxUSE_LIBXPM" ${wx_arg_cache_file}`
2948 if test "x$LINE" != x
; then
2949 eval "DEFAULT_$LINE"
2954 ac_cv_use_libxpm
='wxUSE_LIBXPM='$DEFAULT_wxUSE_LIBXPM
2958 eval "$ac_cv_use_libxpm"
2959 if test "$no_cache" != 1; then
2960 echo $ac_cv_use_libxpm >> ${wx_arg_cache_file}.tmp
2963 if test "$wxUSE_LIBXPM" = yes; then
2964 echo "$as_me:$LINENO: result: yes" >&5
2965 echo "${ECHO_T}yes" >&6
2966 elif test "$wxUSE_LIBXPM" = no
; then
2967 echo "$as_me:$LINENO: result: no" >&5
2968 echo "${ECHO_T}no" >&6
2969 elif test "$wxUSE_LIBXPM" = sys
; then
2970 echo "$as_me:$LINENO: result: system version" >&5
2971 echo "${ECHO_T}system version" >&6
2972 elif test "$wxUSE_LIBXPM" = builtin; then
2973 echo "$as_me:$LINENO: result: builtin version" >&5
2974 echo "${ECHO_T}builtin version" >&6
2976 { { echo "$as_me:$LINENO: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&5
2977 echo "$as_me: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&2;}
2978 { (exit 1); exit 1; }; }
2982 echo "$as_me:$LINENO: checking for --with-libmspack" >&5
2983 echo $ECHO_N "checking for --with-libmspack... $ECHO_C" >&6
2986 # Check whether --with-libmspack or --without-libmspack was given.
2987 if test "${with_libmspack+set}" = set; then
2988 withval
="$with_libmspack"
2990 if test "$withval" = yes; then
2991 ac_cv_use_libmspack
='wxUSE_LIBMSPACK=yes'
2993 ac_cv_use_libmspack
='wxUSE_LIBMSPACK=no'
2998 LINE
=`grep "wxUSE_LIBMSPACK" ${wx_arg_cache_file}`
2999 if test "x$LINE" != x
; then
3000 eval "DEFAULT_$LINE"
3005 ac_cv_use_libmspack
='wxUSE_LIBMSPACK='$DEFAULT_wxUSE_LIBMSPACK
3009 eval "$ac_cv_use_libmspack"
3010 if test "$no_cache" != 1; then
3011 echo $ac_cv_use_libmspack >> ${wx_arg_cache_file}.tmp
3014 if test "$wxUSE_LIBMSPACK" = yes; then
3015 echo "$as_me:$LINENO: result: yes" >&5
3016 echo "${ECHO_T}yes" >&6
3018 echo "$as_me:$LINENO: result: no" >&5
3019 echo "${ECHO_T}no" >&6
3023 echo "$as_me:$LINENO: checking for --with-sdl" >&5
3024 echo $ECHO_N "checking for --with-sdl... $ECHO_C" >&6
3027 # Check whether --with-sdl or --without-sdl was given.
3028 if test "${with_sdl+set}" = set; then
3031 if test "$withval" = yes; then
3032 ac_cv_use_sdl
='wxUSE_LIBSDL=yes'
3034 ac_cv_use_sdl
='wxUSE_LIBSDL=no'
3039 LINE
=`grep "wxUSE_LIBSDL" ${wx_arg_cache_file}`
3040 if test "x$LINE" != x
; then
3041 eval "DEFAULT_$LINE"
3046 ac_cv_use_sdl
='wxUSE_LIBSDL='$DEFAULT_wxUSE_LIBSDL
3050 eval "$ac_cv_use_sdl"
3051 if test "$no_cache" != 1; then
3052 echo $ac_cv_use_sdl >> ${wx_arg_cache_file}.tmp
3055 if test "$wxUSE_LIBSDL" = yes; then
3056 echo "$as_me:$LINENO: result: yes" >&5
3057 echo "${ECHO_T}yes" >&6
3059 echo "$as_me:$LINENO: result: no" >&5
3060 echo "${ECHO_T}no" >&6
3064 echo "$as_me:$LINENO: checking for --with-opengl" >&5
3065 echo $ECHO_N "checking for --with-opengl... $ECHO_C" >&6
3068 # Check whether --with-opengl or --without-opengl was given.
3069 if test "${with_opengl+set}" = set; then
3070 withval
="$with_opengl"
3072 if test "$withval" = yes; then
3073 ac_cv_use_opengl
='wxUSE_OPENGL=yes'
3075 ac_cv_use_opengl
='wxUSE_OPENGL=no'
3080 LINE
=`grep "wxUSE_OPENGL" ${wx_arg_cache_file}`
3081 if test "x$LINE" != x
; then
3082 eval "DEFAULT_$LINE"
3087 ac_cv_use_opengl
='wxUSE_OPENGL='$DEFAULT_wxUSE_OPENGL
3091 eval "$ac_cv_use_opengl"
3092 if test "$no_cache" != 1; then
3093 echo $ac_cv_use_opengl >> ${wx_arg_cache_file}.tmp
3096 if test "$wxUSE_OPENGL" = yes; then
3097 echo "$as_me:$LINENO: result: yes" >&5
3098 echo "${ECHO_T}yes" >&6
3100 echo "$as_me:$LINENO: result: no" >&5
3101 echo "${ECHO_T}no" >&6
3108 echo "$as_me:$LINENO: checking for --with-dmalloc" >&5
3109 echo $ECHO_N "checking for --with-dmalloc... $ECHO_C" >&6
3112 # Check whether --with-dmalloc or --without-dmalloc was given.
3113 if test "${with_dmalloc+set}" = set; then
3114 withval
="$with_dmalloc"
3116 if test "$withval" = yes; then
3117 ac_cv_use_dmalloc
='wxUSE_DMALLOC=yes'
3119 ac_cv_use_dmalloc
='wxUSE_DMALLOC=no'
3124 LINE
=`grep "wxUSE_DMALLOC" ${wx_arg_cache_file}`
3125 if test "x$LINE" != x
; then
3126 eval "DEFAULT_$LINE"
3131 ac_cv_use_dmalloc
='wxUSE_DMALLOC='$DEFAULT_wxUSE_DMALLOC
3135 eval "$ac_cv_use_dmalloc"
3136 if test "$no_cache" != 1; then
3137 echo $ac_cv_use_dmalloc >> ${wx_arg_cache_file}.tmp
3140 if test "$wxUSE_DMALLOC" = yes; then
3141 echo "$as_me:$LINENO: result: yes" >&5
3142 echo "${ECHO_T}yes" >&6
3144 echo "$as_me:$LINENO: result: no" >&5
3145 echo "${ECHO_T}no" >&6
3149 echo "$as_me:$LINENO: checking for --with-regex" >&5
3150 echo $ECHO_N "checking for --with-regex... $ECHO_C" >&6
3153 # Check whether --with-regex or --without-regex was given.
3154 if test "${with_regex+set}" = set; then
3155 withval
="$with_regex"
3157 if test "$withval" = yes; then
3158 ac_cv_use_regex
='wxUSE_REGEX=yes'
3159 elif test "$withval" = no
; then
3160 ac_cv_use_regex
='wxUSE_REGEX=no'
3161 elif test "$withval" = sys
; then
3162 ac_cv_use_regex
='wxUSE_REGEX=sys'
3163 elif test "$withval" = builtin; then
3164 ac_cv_use_regex
='wxUSE_REGEX=builtin'
3166 { { echo "$as_me:$LINENO: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&5
3167 echo "$as_me: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&2;}
3168 { (exit 1); exit 1; }; }
3173 LINE
=`grep "wxUSE_REGEX" ${wx_arg_cache_file}`
3174 if test "x$LINE" != x
; then
3175 eval "DEFAULT_$LINE"
3180 ac_cv_use_regex
='wxUSE_REGEX='$DEFAULT_wxUSE_REGEX
3184 eval "$ac_cv_use_regex"
3185 if test "$no_cache" != 1; then
3186 echo $ac_cv_use_regex >> ${wx_arg_cache_file}.tmp
3189 if test "$wxUSE_REGEX" = yes; then
3190 echo "$as_me:$LINENO: result: yes" >&5
3191 echo "${ECHO_T}yes" >&6
3192 elif test "$wxUSE_REGEX" = no
; then
3193 echo "$as_me:$LINENO: result: no" >&5
3194 echo "${ECHO_T}no" >&6
3195 elif test "$wxUSE_REGEX" = sys
; then
3196 echo "$as_me:$LINENO: result: system version" >&5
3197 echo "${ECHO_T}system version" >&6
3198 elif test "$wxUSE_REGEX" = builtin; then
3199 echo "$as_me:$LINENO: result: builtin version" >&5
3200 echo "${ECHO_T}builtin version" >&6
3202 { { echo "$as_me:$LINENO: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&5
3203 echo "$as_me: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&2;}
3204 { (exit 1); exit 1; }; }
3208 echo "$as_me:$LINENO: checking for --with-zlib" >&5
3209 echo $ECHO_N "checking for --with-zlib... $ECHO_C" >&6
3212 # Check whether --with-zlib or --without-zlib was given.
3213 if test "${with_zlib+set}" = set; then
3214 withval
="$with_zlib"
3216 if test "$withval" = yes; then
3217 ac_cv_use_zlib
='wxUSE_ZLIB=yes'
3218 elif test "$withval" = no
; then
3219 ac_cv_use_zlib
='wxUSE_ZLIB=no'
3220 elif test "$withval" = sys
; then
3221 ac_cv_use_zlib
='wxUSE_ZLIB=sys'
3222 elif test "$withval" = builtin; then
3223 ac_cv_use_zlib
='wxUSE_ZLIB=builtin'
3225 { { echo "$as_me:$LINENO: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&5
3226 echo "$as_me: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&2;}
3227 { (exit 1); exit 1; }; }
3232 LINE
=`grep "wxUSE_ZLIB" ${wx_arg_cache_file}`
3233 if test "x$LINE" != x
; then
3234 eval "DEFAULT_$LINE"
3239 ac_cv_use_zlib
='wxUSE_ZLIB='$DEFAULT_wxUSE_ZLIB
3243 eval "$ac_cv_use_zlib"
3244 if test "$no_cache" != 1; then
3245 echo $ac_cv_use_zlib >> ${wx_arg_cache_file}.tmp
3248 if test "$wxUSE_ZLIB" = yes; then
3249 echo "$as_me:$LINENO: result: yes" >&5
3250 echo "${ECHO_T}yes" >&6
3251 elif test "$wxUSE_ZLIB" = no
; then
3252 echo "$as_me:$LINENO: result: no" >&5
3253 echo "${ECHO_T}no" >&6
3254 elif test "$wxUSE_ZLIB" = sys
; then
3255 echo "$as_me:$LINENO: result: system version" >&5
3256 echo "${ECHO_T}system version" >&6
3257 elif test "$wxUSE_ZLIB" = builtin; then
3258 echo "$as_me:$LINENO: result: builtin version" >&5
3259 echo "${ECHO_T}builtin version" >&6
3261 { { echo "$as_me:$LINENO: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&5
3262 echo "$as_me: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&2;}
3263 { (exit 1); exit 1; }; }
3267 echo "$as_me:$LINENO: checking for --with-odbc" >&5
3268 echo $ECHO_N "checking for --with-odbc... $ECHO_C" >&6
3271 # Check whether --with-odbc or --without-odbc was given.
3272 if test "${with_odbc+set}" = set; then
3273 withval
="$with_odbc"
3275 if test "$withval" = yes; then
3276 ac_cv_use_odbc
='wxUSE_ODBC=yes'
3277 elif test "$withval" = no
; then
3278 ac_cv_use_odbc
='wxUSE_ODBC=no'
3279 elif test "$withval" = sys
; then
3280 ac_cv_use_odbc
='wxUSE_ODBC=sys'
3281 elif test "$withval" = builtin; then
3282 ac_cv_use_odbc
='wxUSE_ODBC=builtin'
3284 { { echo "$as_me:$LINENO: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&5
3285 echo "$as_me: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&2;}
3286 { (exit 1); exit 1; }; }
3291 LINE
=`grep "wxUSE_ODBC" ${wx_arg_cache_file}`
3292 if test "x$LINE" != x
; then
3293 eval "DEFAULT_$LINE"
3298 ac_cv_use_odbc
='wxUSE_ODBC='$DEFAULT_wxUSE_ODBC
3302 eval "$ac_cv_use_odbc"
3303 if test "$no_cache" != 1; then
3304 echo $ac_cv_use_odbc >> ${wx_arg_cache_file}.tmp
3307 if test "$wxUSE_ODBC" = yes; then
3308 echo "$as_me:$LINENO: result: yes" >&5
3309 echo "${ECHO_T}yes" >&6
3310 elif test "$wxUSE_ODBC" = no
; then
3311 echo "$as_me:$LINENO: result: no" >&5
3312 echo "${ECHO_T}no" >&6
3313 elif test "$wxUSE_ODBC" = sys
; then
3314 echo "$as_me:$LINENO: result: system version" >&5
3315 echo "${ECHO_T}system version" >&6
3316 elif test "$wxUSE_ODBC" = builtin; then
3317 echo "$as_me:$LINENO: result: builtin version" >&5
3318 echo "${ECHO_T}builtin version" >&6
3320 { { echo "$as_me:$LINENO: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&5
3321 echo "$as_me: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&2;}
3322 { (exit 1); exit 1; }; }
3326 echo "$as_me:$LINENO: checking for --with-expat" >&5
3327 echo $ECHO_N "checking for --with-expat... $ECHO_C" >&6
3330 # Check whether --with-expat or --without-expat was given.
3331 if test "${with_expat+set}" = set; then
3332 withval
="$with_expat"
3334 if test "$withval" = yes; then
3335 ac_cv_use_expat
='wxUSE_EXPAT=yes'
3336 elif test "$withval" = no
; then
3337 ac_cv_use_expat
='wxUSE_EXPAT=no'
3338 elif test "$withval" = sys
; then
3339 ac_cv_use_expat
='wxUSE_EXPAT=sys'
3340 elif test "$withval" = builtin; then
3341 ac_cv_use_expat
='wxUSE_EXPAT=builtin'
3343 { { echo "$as_me:$LINENO: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&5
3344 echo "$as_me: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&2;}
3345 { (exit 1); exit 1; }; }
3350 LINE
=`grep "wxUSE_EXPAT" ${wx_arg_cache_file}`
3351 if test "x$LINE" != x
; then
3352 eval "DEFAULT_$LINE"
3357 ac_cv_use_expat
='wxUSE_EXPAT='$DEFAULT_wxUSE_EXPAT
3361 eval "$ac_cv_use_expat"
3362 if test "$no_cache" != 1; then
3363 echo $ac_cv_use_expat >> ${wx_arg_cache_file}.tmp
3366 if test "$wxUSE_EXPAT" = yes; then
3367 echo "$as_me:$LINENO: result: yes" >&5
3368 echo "${ECHO_T}yes" >&6
3369 elif test "$wxUSE_EXPAT" = no
; then
3370 echo "$as_me:$LINENO: result: no" >&5
3371 echo "${ECHO_T}no" >&6
3372 elif test "$wxUSE_EXPAT" = sys
; then
3373 echo "$as_me:$LINENO: result: system version" >&5
3374 echo "${ECHO_T}system version" >&6
3375 elif test "$wxUSE_EXPAT" = builtin; then
3376 echo "$as_me:$LINENO: result: builtin version" >&5
3377 echo "${ECHO_T}builtin version" >&6
3379 { { echo "$as_me:$LINENO: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&5
3380 echo "$as_me: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&2;}
3381 { (exit 1); exit 1; }; }
3388 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-shared" >&5
3389 echo $ECHO_N "checking for --${enablestring:-enable}-shared... $ECHO_C" >&6
3391 # Check whether --enable-shared or --disable-shared was given.
3392 if test "${enable_shared+set}" = set; then
3393 enableval
="$enable_shared"
3395 if test "$enableval" = yes; then
3396 ac_cv_use_shared
='wxUSE_SHARED=yes'
3398 ac_cv_use_shared
='wxUSE_SHARED=no'
3403 LINE
=`grep "wxUSE_SHARED" ${wx_arg_cache_file}`
3404 if test "x$LINE" != x
; then
3405 eval "DEFAULT_$LINE"
3410 ac_cv_use_shared
='wxUSE_SHARED='$DEFAULT_wxUSE_SHARED
3414 eval "$ac_cv_use_shared"
3415 if test "$no_cache" != 1; then
3416 echo $ac_cv_use_shared >> ${wx_arg_cache_file}.tmp
3419 if test "$wxUSE_SHARED" = yes; then
3420 echo "$as_me:$LINENO: result: yes" >&5
3421 echo "${ECHO_T}yes" >&6
3423 echo "$as_me:$LINENO: result: no" >&5
3424 echo "${ECHO_T}no" >&6
3429 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-optimise" >&5
3430 echo $ECHO_N "checking for --${enablestring:-enable}-optimise... $ECHO_C" >&6
3432 # Check whether --enable-optimise or --disable-optimise was given.
3433 if test "${enable_optimise+set}" = set; then
3434 enableval
="$enable_optimise"
3436 if test "$enableval" = yes; then
3437 ac_cv_use_optimise
='wxUSE_OPTIMISE=yes'
3439 ac_cv_use_optimise
='wxUSE_OPTIMISE=no'
3444 LINE
=`grep "wxUSE_OPTIMISE" ${wx_arg_cache_file}`
3445 if test "x$LINE" != x
; then
3446 eval "DEFAULT_$LINE"
3451 ac_cv_use_optimise
='wxUSE_OPTIMISE='$DEFAULT_wxUSE_OPTIMISE
3455 eval "$ac_cv_use_optimise"
3456 if test "$no_cache" != 1; then
3457 echo $ac_cv_use_optimise >> ${wx_arg_cache_file}.tmp
3460 if test "$wxUSE_OPTIMISE" = yes; then
3461 echo "$as_me:$LINENO: result: yes" >&5
3462 echo "${ECHO_T}yes" >&6
3464 echo "$as_me:$LINENO: result: no" >&5
3465 echo "${ECHO_T}no" >&6
3470 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug" >&5
3471 echo $ECHO_N "checking for --${enablestring:-enable}-debug... $ECHO_C" >&6
3473 # Check whether --enable-debug or --disable-debug was given.
3474 if test "${enable_debug+set}" = set; then
3475 enableval
="$enable_debug"
3477 if test "$enableval" = yes; then
3478 ac_cv_use_debug
='wxUSE_DEBUG=yes'
3480 ac_cv_use_debug
='wxUSE_DEBUG=no'
3485 LINE
=`grep "wxUSE_DEBUG" ${wx_arg_cache_file}`
3486 if test "x$LINE" != x
; then
3487 eval "DEFAULT_$LINE"
3492 ac_cv_use_debug
='wxUSE_DEBUG='$DEFAULT_wxUSE_DEBUG
3496 eval "$ac_cv_use_debug"
3497 if test "$no_cache" != 1; then
3498 echo $ac_cv_use_debug >> ${wx_arg_cache_file}.tmp
3501 if test "$wxUSE_DEBUG" = yes; then
3502 echo "$as_me:$LINENO: result: yes" >&5
3503 echo "${ECHO_T}yes" >&6
3505 echo "$as_me:$LINENO: result: no" >&5
3506 echo "${ECHO_T}no" >&6
3511 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stl" >&5
3512 echo $ECHO_N "checking for --${enablestring:-enable}-stl... $ECHO_C" >&6
3514 # Check whether --enable-stl or --disable-stl was given.
3515 if test "${enable_stl+set}" = set; then
3516 enableval
="$enable_stl"
3518 if test "$enableval" = yes; then
3519 ac_cv_use_stl
='wxUSE_STL=yes'
3521 ac_cv_use_stl
='wxUSE_STL=no'
3526 LINE
=`grep "wxUSE_STL" ${wx_arg_cache_file}`
3527 if test "x$LINE" != x
; then
3528 eval "DEFAULT_$LINE"
3533 ac_cv_use_stl
='wxUSE_STL='$DEFAULT_wxUSE_STL
3537 eval "$ac_cv_use_stl"
3538 if test "$no_cache" != 1; then
3539 echo $ac_cv_use_stl >> ${wx_arg_cache_file}.tmp
3542 if test "$wxUSE_STL" = yes; then
3543 echo "$as_me:$LINENO: result: yes" >&5
3544 echo "${ECHO_T}yes" >&6
3546 echo "$as_me:$LINENO: result: no" >&5
3547 echo "${ECHO_T}no" >&6
3550 if test "$USE_OS2" = "1"; then
3553 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-omf" >&5
3554 echo $ECHO_N "checking for --${enablestring:-enable}-omf... $ECHO_C" >&6
3556 # Check whether --enable-omf or --disable-omf was given.
3557 if test "${enable_omf+set}" = set; then
3558 enableval
="$enable_omf"
3560 if test "$enableval" = yes; then
3561 ac_cv_use_omf
='wxUSE_OMF=yes'
3563 ac_cv_use_omf
='wxUSE_OMF=no'
3568 LINE
=`grep "wxUSE_OMF" ${wx_arg_cache_file}`
3569 if test "x$LINE" != x
; then
3570 eval "DEFAULT_$LINE"
3575 ac_cv_use_omf
='wxUSE_OMF='$DEFAULT_wxUSE_OMF
3579 eval "$ac_cv_use_omf"
3580 if test "$no_cache" != 1; then
3581 echo $ac_cv_use_omf >> ${wx_arg_cache_file}.tmp
3584 if test "$wxUSE_OMF" = yes; then
3585 echo "$as_me:$LINENO: result: yes" >&5
3586 echo "${ECHO_T}yes" >&6
3588 echo "$as_me:$LINENO: result: no" >&5
3589 echo "${ECHO_T}no" >&6
3594 if test "$wxUSE_DEBUG" = "yes"; then
3595 DEFAULT_wxUSE_DEBUG_FLAG
=yes
3596 DEFAULT_wxUSE_DEBUG_INFO
=yes
3598 elif test "$wxUSE_DEBUG" = "no"; then
3599 DEFAULT_wxUSE_DEBUG_FLAG
=no
3600 DEFAULT_wxUSE_DEBUG_INFO
=no
3606 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_flag" >&5
3607 echo $ECHO_N "checking for --${enablestring:-enable}-debug_flag... $ECHO_C" >&6
3609 # Check whether --enable-debug_flag or --disable-debug_flag was given.
3610 if test "${enable_debug_flag+set}" = set; then
3611 enableval
="$enable_debug_flag"
3613 if test "$enableval" = yes; then
3614 ac_cv_use_debug_flag
='wxUSE_DEBUG_FLAG=yes'
3616 ac_cv_use_debug_flag
='wxUSE_DEBUG_FLAG=no'
3621 LINE
=`grep "wxUSE_DEBUG_FLAG" ${wx_arg_cache_file}`
3622 if test "x$LINE" != x
; then
3623 eval "DEFAULT_$LINE"
3628 ac_cv_use_debug_flag
='wxUSE_DEBUG_FLAG='$DEFAULT_wxUSE_DEBUG_FLAG
3632 eval "$ac_cv_use_debug_flag"
3633 if test "$no_cache" != 1; then
3634 echo $ac_cv_use_debug_flag >> ${wx_arg_cache_file}.tmp
3637 if test "$wxUSE_DEBUG_FLAG" = yes; then
3638 echo "$as_me:$LINENO: result: yes" >&5
3639 echo "${ECHO_T}yes" >&6
3641 echo "$as_me:$LINENO: result: no" >&5
3642 echo "${ECHO_T}no" >&6
3647 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_info" >&5
3648 echo $ECHO_N "checking for --${enablestring:-enable}-debug_info... $ECHO_C" >&6
3650 # Check whether --enable-debug_info or --disable-debug_info was given.
3651 if test "${enable_debug_info+set}" = set; then
3652 enableval
="$enable_debug_info"
3654 if test "$enableval" = yes; then
3655 ac_cv_use_debug_info
='wxUSE_DEBUG_INFO=yes'
3657 ac_cv_use_debug_info
='wxUSE_DEBUG_INFO=no'
3662 LINE
=`grep "wxUSE_DEBUG_INFO" ${wx_arg_cache_file}`
3663 if test "x$LINE" != x
; then
3664 eval "DEFAULT_$LINE"
3669 ac_cv_use_debug_info
='wxUSE_DEBUG_INFO='$DEFAULT_wxUSE_DEBUG_INFO
3673 eval "$ac_cv_use_debug_info"
3674 if test "$no_cache" != 1; then
3675 echo $ac_cv_use_debug_info >> ${wx_arg_cache_file}.tmp
3678 if test "$wxUSE_DEBUG_INFO" = yes; then
3679 echo "$as_me:$LINENO: result: yes" >&5
3680 echo "${ECHO_T}yes" >&6
3682 echo "$as_me:$LINENO: result: no" >&5
3683 echo "${ECHO_T}no" >&6
3688 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_gdb" >&5
3689 echo $ECHO_N "checking for --${enablestring:-enable}-debug_gdb... $ECHO_C" >&6
3691 # Check whether --enable-debug_gdb or --disable-debug_gdb was given.
3692 if test "${enable_debug_gdb+set}" = set; then
3693 enableval
="$enable_debug_gdb"
3695 if test "$enableval" = yes; then
3696 ac_cv_use_debug_gdb
='wxUSE_DEBUG_GDB=yes'
3698 ac_cv_use_debug_gdb
='wxUSE_DEBUG_GDB=no'
3703 LINE
=`grep "wxUSE_DEBUG_GDB" ${wx_arg_cache_file}`
3704 if test "x$LINE" != x
; then
3705 eval "DEFAULT_$LINE"
3710 ac_cv_use_debug_gdb
='wxUSE_DEBUG_GDB='$DEFAULT_wxUSE_DEBUG_GDB
3714 eval "$ac_cv_use_debug_gdb"
3715 if test "$no_cache" != 1; then
3716 echo $ac_cv_use_debug_gdb >> ${wx_arg_cache_file}.tmp
3719 if test "$wxUSE_DEBUG_GDB" = yes; then
3720 echo "$as_me:$LINENO: result: yes" >&5
3721 echo "${ECHO_T}yes" >&6
3723 echo "$as_me:$LINENO: result: no" >&5
3724 echo "${ECHO_T}no" >&6
3729 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_cntxt" >&5
3730 echo $ECHO_N "checking for --${enablestring:-enable}-debug_cntxt... $ECHO_C" >&6
3732 # Check whether --enable-debug_cntxt or --disable-debug_cntxt was given.
3733 if test "${enable_debug_cntxt+set}" = set; then
3734 enableval
="$enable_debug_cntxt"
3736 if test "$enableval" = yes; then
3737 ac_cv_use_debug_cntxt
='wxUSE_DEBUG_CONTEXT=yes'
3739 ac_cv_use_debug_cntxt
='wxUSE_DEBUG_CONTEXT=no'
3744 LINE
=`grep "wxUSE_DEBUG_CONTEXT" ${wx_arg_cache_file}`
3745 if test "x$LINE" != x
; then
3746 eval "DEFAULT_$LINE"
3751 ac_cv_use_debug_cntxt
='wxUSE_DEBUG_CONTEXT='$DEFAULT_wxUSE_DEBUG_CONTEXT
3755 eval "$ac_cv_use_debug_cntxt"
3756 if test "$no_cache" != 1; then
3757 echo $ac_cv_use_debug_cntxt >> ${wx_arg_cache_file}.tmp
3760 if test "$wxUSE_DEBUG_CONTEXT" = yes; then
3761 echo "$as_me:$LINENO: result: yes" >&5
3762 echo "${ECHO_T}yes" >&6
3764 echo "$as_me:$LINENO: result: no" >&5
3765 echo "${ECHO_T}no" >&6
3770 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mem_tracing" >&5
3771 echo $ECHO_N "checking for --${enablestring:-enable}-mem_tracing... $ECHO_C" >&6
3773 # Check whether --enable-mem_tracing or --disable-mem_tracing was given.
3774 if test "${enable_mem_tracing+set}" = set; then
3775 enableval
="$enable_mem_tracing"
3777 if test "$enableval" = yes; then
3778 ac_cv_use_mem_tracing
='wxUSE_MEM_TRACING=yes'
3780 ac_cv_use_mem_tracing
='wxUSE_MEM_TRACING=no'
3785 LINE
=`grep "wxUSE_MEM_TRACING" ${wx_arg_cache_file}`
3786 if test "x$LINE" != x
; then
3787 eval "DEFAULT_$LINE"
3792 ac_cv_use_mem_tracing
='wxUSE_MEM_TRACING='$DEFAULT_wxUSE_MEM_TRACING
3796 eval "$ac_cv_use_mem_tracing"
3797 if test "$no_cache" != 1; then
3798 echo $ac_cv_use_mem_tracing >> ${wx_arg_cache_file}.tmp
3801 if test "$wxUSE_MEM_TRACING" = yes; then
3802 echo "$as_me:$LINENO: result: yes" >&5
3803 echo "${ECHO_T}yes" >&6
3805 echo "$as_me:$LINENO: result: no" >&5
3806 echo "${ECHO_T}no" >&6
3811 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-profile" >&5
3812 echo $ECHO_N "checking for --${enablestring:-enable}-profile... $ECHO_C" >&6
3814 # Check whether --enable-profile or --disable-profile was given.
3815 if test "${enable_profile+set}" = set; then
3816 enableval
="$enable_profile"
3818 if test "$enableval" = yes; then
3819 ac_cv_use_profile
='wxUSE_PROFILE=yes'
3821 ac_cv_use_profile
='wxUSE_PROFILE=no'
3826 LINE
=`grep "wxUSE_PROFILE" ${wx_arg_cache_file}`
3827 if test "x$LINE" != x
; then
3828 eval "DEFAULT_$LINE"
3833 ac_cv_use_profile
='wxUSE_PROFILE='$DEFAULT_wxUSE_PROFILE
3837 eval "$ac_cv_use_profile"
3838 if test "$no_cache" != 1; then
3839 echo $ac_cv_use_profile >> ${wx_arg_cache_file}.tmp
3842 if test "$wxUSE_PROFILE" = yes; then
3843 echo "$as_me:$LINENO: result: yes" >&5
3844 echo "${ECHO_T}yes" >&6
3846 echo "$as_me:$LINENO: result: no" >&5
3847 echo "${ECHO_T}no" >&6
3852 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_rtti" >&5
3853 echo $ECHO_N "checking for --${enablestring:-enable}-no_rtti... $ECHO_C" >&6
3855 # Check whether --enable-no_rtti or --disable-no_rtti was given.
3856 if test "${enable_no_rtti+set}" = set; then
3857 enableval
="$enable_no_rtti"
3859 if test "$enableval" = yes; then
3860 ac_cv_use_no_rtti
='wxUSE_NO_RTTI=yes'
3862 ac_cv_use_no_rtti
='wxUSE_NO_RTTI=no'
3867 LINE
=`grep "wxUSE_NO_RTTI" ${wx_arg_cache_file}`
3868 if test "x$LINE" != x
; then
3869 eval "DEFAULT_$LINE"
3874 ac_cv_use_no_rtti
='wxUSE_NO_RTTI='$DEFAULT_wxUSE_NO_RTTI
3878 eval "$ac_cv_use_no_rtti"
3879 if test "$no_cache" != 1; then
3880 echo $ac_cv_use_no_rtti >> ${wx_arg_cache_file}.tmp
3883 if test "$wxUSE_NO_RTTI" = yes; then
3884 echo "$as_me:$LINENO: result: yes" >&5
3885 echo "${ECHO_T}yes" >&6
3887 echo "$as_me:$LINENO: result: no" >&5
3888 echo "${ECHO_T}no" >&6
3893 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_exceptions" >&5
3894 echo $ECHO_N "checking for --${enablestring:-enable}-no_exceptions... $ECHO_C" >&6
3896 # Check whether --enable-no_exceptions or --disable-no_exceptions was given.
3897 if test "${enable_no_exceptions+set}" = set; then
3898 enableval
="$enable_no_exceptions"
3900 if test "$enableval" = yes; then
3901 ac_cv_use_no_exceptions
='wxUSE_NO_EXCEPTIONS=yes'
3903 ac_cv_use_no_exceptions
='wxUSE_NO_EXCEPTIONS=no'
3908 LINE
=`grep "wxUSE_NO_EXCEPTIONS" ${wx_arg_cache_file}`
3909 if test "x$LINE" != x
; then
3910 eval "DEFAULT_$LINE"
3915 ac_cv_use_no_exceptions
='wxUSE_NO_EXCEPTIONS='$DEFAULT_wxUSE_NO_EXCEPTIONS
3919 eval "$ac_cv_use_no_exceptions"
3920 if test "$no_cache" != 1; then
3921 echo $ac_cv_use_no_exceptions >> ${wx_arg_cache_file}.tmp
3924 if test "$wxUSE_NO_EXCEPTIONS" = yes; then
3925 echo "$as_me:$LINENO: result: yes" >&5
3926 echo "${ECHO_T}yes" >&6
3928 echo "$as_me:$LINENO: result: no" >&5
3929 echo "${ECHO_T}no" >&6
3934 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-permissive" >&5
3935 echo $ECHO_N "checking for --${enablestring:-enable}-permissive... $ECHO_C" >&6
3937 # Check whether --enable-permissive or --disable-permissive was given.
3938 if test "${enable_permissive+set}" = set; then
3939 enableval
="$enable_permissive"
3941 if test "$enableval" = yes; then
3942 ac_cv_use_permissive
='wxUSE_PERMISSIVE=yes'
3944 ac_cv_use_permissive
='wxUSE_PERMISSIVE=no'
3949 LINE
=`grep "wxUSE_PERMISSIVE" ${wx_arg_cache_file}`
3950 if test "x$LINE" != x
; then
3951 eval "DEFAULT_$LINE"
3956 ac_cv_use_permissive
='wxUSE_PERMISSIVE='$DEFAULT_wxUSE_PERMISSIVE
3960 eval "$ac_cv_use_permissive"
3961 if test "$no_cache" != 1; then
3962 echo $ac_cv_use_permissive >> ${wx_arg_cache_file}.tmp
3965 if test "$wxUSE_PERMISSIVE" = yes; then
3966 echo "$as_me:$LINENO: result: yes" >&5
3967 echo "${ECHO_T}yes" >&6
3969 echo "$as_me:$LINENO: result: no" >&5
3970 echo "${ECHO_T}no" >&6
3975 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_deps" >&5
3976 echo $ECHO_N "checking for --${enablestring:-enable}-no_deps... $ECHO_C" >&6
3978 # Check whether --enable-no_deps or --disable-no_deps was given.
3979 if test "${enable_no_deps+set}" = set; then
3980 enableval
="$enable_no_deps"
3982 if test "$enableval" = yes; then
3983 ac_cv_use_no_deps
='wxUSE_NO_DEPS=yes'
3985 ac_cv_use_no_deps
='wxUSE_NO_DEPS=no'
3990 LINE
=`grep "wxUSE_NO_DEPS" ${wx_arg_cache_file}`
3991 if test "x$LINE" != x
; then
3992 eval "DEFAULT_$LINE"
3997 ac_cv_use_no_deps
='wxUSE_NO_DEPS='$DEFAULT_wxUSE_NO_DEPS
4001 eval "$ac_cv_use_no_deps"
4002 if test "$no_cache" != 1; then
4003 echo $ac_cv_use_no_deps >> ${wx_arg_cache_file}.tmp
4006 if test "$wxUSE_NO_DEPS" = yes; then
4007 echo "$as_me:$LINENO: result: yes" >&5
4008 echo "${ECHO_T}yes" >&6
4010 echo "$as_me:$LINENO: result: no" >&5
4011 echo "${ECHO_T}no" >&6
4017 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-compat22" >&5
4018 echo $ECHO_N "checking for --${enablestring:-enable}-compat22... $ECHO_C" >&6
4020 # Check whether --enable-compat22 or --disable-compat22 was given.
4021 if test "${enable_compat22+set}" = set; then
4022 enableval
="$enable_compat22"
4024 if test "$enableval" = yes; then
4025 ac_cv_use_compat22
='WXWIN_COMPATIBILITY_2_2=yes'
4027 ac_cv_use_compat22
='WXWIN_COMPATIBILITY_2_2=no'
4032 LINE
=`grep "WXWIN_COMPATIBILITY_2_2" ${wx_arg_cache_file}`
4033 if test "x$LINE" != x
; then
4034 eval "DEFAULT_$LINE"
4039 ac_cv_use_compat22
='WXWIN_COMPATIBILITY_2_2='$DEFAULT_WXWIN_COMPATIBILITY_2_2
4043 eval "$ac_cv_use_compat22"
4044 if test "$no_cache" != 1; then
4045 echo $ac_cv_use_compat22 >> ${wx_arg_cache_file}.tmp
4048 if test "$WXWIN_COMPATIBILITY_2_2" = yes; then
4049 echo "$as_me:$LINENO: result: yes" >&5
4050 echo "${ECHO_T}yes" >&6
4052 echo "$as_me:$LINENO: result: no" >&5
4053 echo "${ECHO_T}no" >&6
4057 enablestring
=disable
4058 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-compat24" >&5
4059 echo $ECHO_N "checking for --${enablestring:-enable}-compat24... $ECHO_C" >&6
4061 # Check whether --enable-compat24 or --disable-compat24 was given.
4062 if test "${enable_compat24+set}" = set; then
4063 enableval
="$enable_compat24"
4065 if test "$enableval" = yes; then
4066 ac_cv_use_compat24
='WXWIN_COMPATIBILITY_2_4=yes'
4068 ac_cv_use_compat24
='WXWIN_COMPATIBILITY_2_4=no'
4073 LINE
=`grep "WXWIN_COMPATIBILITY_2_4" ${wx_arg_cache_file}`
4074 if test "x$LINE" != x
; then
4075 eval "DEFAULT_$LINE"
4080 ac_cv_use_compat24
='WXWIN_COMPATIBILITY_2_4='$DEFAULT_WXWIN_COMPATIBILITY_2_4
4084 eval "$ac_cv_use_compat24"
4085 if test "$no_cache" != 1; then
4086 echo $ac_cv_use_compat24 >> ${wx_arg_cache_file}.tmp
4089 if test "$WXWIN_COMPATIBILITY_2_4" = yes; then
4090 echo "$as_me:$LINENO: result: yes" >&5
4091 echo "${ECHO_T}yes" >&6
4093 echo "$as_me:$LINENO: result: no" >&5
4094 echo "${ECHO_T}no" >&6
4098 # Check whether --enable-rpath or --disable-rpath was given.
4099 if test "${enable_rpath+set}" = set; then
4100 enableval
="$enable_rpath"
4101 wxRPATH_DIR
="$enableval"
4104 if test "$wxRPATH_DIR" != "" -a "$wxRPATH_DIR" != "disable" -a "$wxRPATH_DIR" != "no"; then
4105 WXCONFIG_RPATH
="-Wl,-rpath -Wl,$wxRPATH_DIR"
4112 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-intl" >&5
4113 echo $ECHO_N "checking for --${enablestring:-enable}-intl... $ECHO_C" >&6
4115 # Check whether --enable-intl or --disable-intl was given.
4116 if test "${enable_intl+set}" = set; then
4117 enableval
="$enable_intl"
4119 if test "$enableval" = yes; then
4120 ac_cv_use_intl
='wxUSE_INTL=yes'
4122 ac_cv_use_intl
='wxUSE_INTL=no'
4127 LINE
=`grep "wxUSE_INTL" ${wx_arg_cache_file}`
4128 if test "x$LINE" != x
; then
4129 eval "DEFAULT_$LINE"
4134 ac_cv_use_intl
='wxUSE_INTL='$DEFAULT_wxUSE_INTL
4138 eval "$ac_cv_use_intl"
4139 if test "$no_cache" != 1; then
4140 echo $ac_cv_use_intl >> ${wx_arg_cache_file}.tmp
4143 if test "$wxUSE_INTL" = yes; then
4144 echo "$as_me:$LINENO: result: yes" >&5
4145 echo "${ECHO_T}yes" >&6
4147 echo "$as_me:$LINENO: result: no" >&5
4148 echo "${ECHO_T}no" >&6
4153 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-config" >&5
4154 echo $ECHO_N "checking for --${enablestring:-enable}-config... $ECHO_C" >&6
4156 # Check whether --enable-config or --disable-config was given.
4157 if test "${enable_config+set}" = set; then
4158 enableval
="$enable_config"
4160 if test "$enableval" = yes; then
4161 ac_cv_use_config
='wxUSE_CONFIG=yes'
4163 ac_cv_use_config
='wxUSE_CONFIG=no'
4168 LINE
=`grep "wxUSE_CONFIG" ${wx_arg_cache_file}`
4169 if test "x$LINE" != x
; then
4170 eval "DEFAULT_$LINE"
4175 ac_cv_use_config
='wxUSE_CONFIG='$DEFAULT_wxUSE_CONFIG
4179 eval "$ac_cv_use_config"
4180 if test "$no_cache" != 1; then
4181 echo $ac_cv_use_config >> ${wx_arg_cache_file}.tmp
4184 if test "$wxUSE_CONFIG" = yes; then
4185 echo "$as_me:$LINENO: result: yes" >&5
4186 echo "${ECHO_T}yes" >&6
4188 echo "$as_me:$LINENO: result: no" >&5
4189 echo "${ECHO_T}no" >&6
4195 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocols" >&5
4196 echo $ECHO_N "checking for --${enablestring:-enable}-protocols... $ECHO_C" >&6
4198 # Check whether --enable-protocols or --disable-protocols was given.
4199 if test "${enable_protocols+set}" = set; then
4200 enableval
="$enable_protocols"
4202 if test "$enableval" = yes; then
4203 ac_cv_use_protocols
='wxUSE_PROTOCOL=yes'
4205 ac_cv_use_protocols
='wxUSE_PROTOCOL=no'
4210 LINE
=`grep "wxUSE_PROTOCOL" ${wx_arg_cache_file}`
4211 if test "x$LINE" != x
; then
4212 eval "DEFAULT_$LINE"
4217 ac_cv_use_protocols
='wxUSE_PROTOCOL='$DEFAULT_wxUSE_PROTOCOL
4221 eval "$ac_cv_use_protocols"
4222 if test "$no_cache" != 1; then
4223 echo $ac_cv_use_protocols >> ${wx_arg_cache_file}.tmp
4226 if test "$wxUSE_PROTOCOL" = yes; then
4227 echo "$as_me:$LINENO: result: yes" >&5
4228 echo "${ECHO_T}yes" >&6
4230 echo "$as_me:$LINENO: result: no" >&5
4231 echo "${ECHO_T}no" >&6
4236 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ftp" >&5
4237 echo $ECHO_N "checking for --${enablestring:-enable}-ftp... $ECHO_C" >&6
4239 # Check whether --enable-ftp or --disable-ftp was given.
4240 if test "${enable_ftp+set}" = set; then
4241 enableval
="$enable_ftp"
4243 if test "$enableval" = yes; then
4244 ac_cv_use_ftp
='wxUSE_PROTOCOL_FTP=yes'
4246 ac_cv_use_ftp
='wxUSE_PROTOCOL_FTP=no'
4251 LINE
=`grep "wxUSE_PROTOCOL_FTP" ${wx_arg_cache_file}`
4252 if test "x$LINE" != x
; then
4253 eval "DEFAULT_$LINE"
4258 ac_cv_use_ftp
='wxUSE_PROTOCOL_FTP='$DEFAULT_wxUSE_PROTOCOL_FTP
4262 eval "$ac_cv_use_ftp"
4263 if test "$no_cache" != 1; then
4264 echo $ac_cv_use_ftp >> ${wx_arg_cache_file}.tmp
4267 if test "$wxUSE_PROTOCOL_FTP" = yes; then
4268 echo "$as_me:$LINENO: result: yes" >&5
4269 echo "${ECHO_T}yes" >&6
4271 echo "$as_me:$LINENO: result: no" >&5
4272 echo "${ECHO_T}no" >&6
4277 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-http" >&5
4278 echo $ECHO_N "checking for --${enablestring:-enable}-http... $ECHO_C" >&6
4280 # Check whether --enable-http or --disable-http was given.
4281 if test "${enable_http+set}" = set; then
4282 enableval
="$enable_http"
4284 if test "$enableval" = yes; then
4285 ac_cv_use_http
='wxUSE_PROTOCOL_HTTP=yes'
4287 ac_cv_use_http
='wxUSE_PROTOCOL_HTTP=no'
4292 LINE
=`grep "wxUSE_PROTOCOL_HTTP" ${wx_arg_cache_file}`
4293 if test "x$LINE" != x
; then
4294 eval "DEFAULT_$LINE"
4299 ac_cv_use_http
='wxUSE_PROTOCOL_HTTP='$DEFAULT_wxUSE_PROTOCOL_HTTP
4303 eval "$ac_cv_use_http"
4304 if test "$no_cache" != 1; then
4305 echo $ac_cv_use_http >> ${wx_arg_cache_file}.tmp
4308 if test "$wxUSE_PROTOCOL_HTTP" = yes; then
4309 echo "$as_me:$LINENO: result: yes" >&5
4310 echo "${ECHO_T}yes" >&6
4312 echo "$as_me:$LINENO: result: no" >&5
4313 echo "${ECHO_T}no" >&6
4318 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fileproto" >&5
4319 echo $ECHO_N "checking for --${enablestring:-enable}-fileproto... $ECHO_C" >&6
4321 # Check whether --enable-fileproto or --disable-fileproto was given.
4322 if test "${enable_fileproto+set}" = set; then
4323 enableval
="$enable_fileproto"
4325 if test "$enableval" = yes; then
4326 ac_cv_use_fileproto
='wxUSE_PROTOCOL_FILE=yes'
4328 ac_cv_use_fileproto
='wxUSE_PROTOCOL_FILE=no'
4333 LINE
=`grep "wxUSE_PROTOCOL_FILE" ${wx_arg_cache_file}`
4334 if test "x$LINE" != x
; then
4335 eval "DEFAULT_$LINE"
4340 ac_cv_use_fileproto
='wxUSE_PROTOCOL_FILE='$DEFAULT_wxUSE_PROTOCOL_FILE
4344 eval "$ac_cv_use_fileproto"
4345 if test "$no_cache" != 1; then
4346 echo $ac_cv_use_fileproto >> ${wx_arg_cache_file}.tmp
4349 if test "$wxUSE_PROTOCOL_FILE" = yes; then
4350 echo "$as_me:$LINENO: result: yes" >&5
4351 echo "${ECHO_T}yes" >&6
4353 echo "$as_me:$LINENO: result: no" >&5
4354 echo "${ECHO_T}no" >&6
4359 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sockets" >&5
4360 echo $ECHO_N "checking for --${enablestring:-enable}-sockets... $ECHO_C" >&6
4362 # Check whether --enable-sockets or --disable-sockets was given.
4363 if test "${enable_sockets+set}" = set; then
4364 enableval
="$enable_sockets"
4366 if test "$enableval" = yes; then
4367 ac_cv_use_sockets
='wxUSE_SOCKETS=yes'
4369 ac_cv_use_sockets
='wxUSE_SOCKETS=no'
4374 LINE
=`grep "wxUSE_SOCKETS" ${wx_arg_cache_file}`
4375 if test "x$LINE" != x
; then
4376 eval "DEFAULT_$LINE"
4381 ac_cv_use_sockets
='wxUSE_SOCKETS='$DEFAULT_wxUSE_SOCKETS
4385 eval "$ac_cv_use_sockets"
4386 if test "$no_cache" != 1; then
4387 echo $ac_cv_use_sockets >> ${wx_arg_cache_file}.tmp
4390 if test "$wxUSE_SOCKETS" = yes; then
4391 echo "$as_me:$LINENO: result: yes" >&5
4392 echo "${ECHO_T}yes" >&6
4394 echo "$as_me:$LINENO: result: no" >&5
4395 echo "${ECHO_T}no" >&6
4400 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ole" >&5
4401 echo $ECHO_N "checking for --${enablestring:-enable}-ole... $ECHO_C" >&6
4403 # Check whether --enable-ole or --disable-ole was given.
4404 if test "${enable_ole+set}" = set; then
4405 enableval
="$enable_ole"
4407 if test "$enableval" = yes; then
4408 ac_cv_use_ole
='wxUSE_OLE=yes'
4410 ac_cv_use_ole
='wxUSE_OLE=no'
4415 LINE
=`grep "wxUSE_OLE" ${wx_arg_cache_file}`
4416 if test "x$LINE" != x
; then
4417 eval "DEFAULT_$LINE"
4422 ac_cv_use_ole
='wxUSE_OLE='$DEFAULT_wxUSE_OLE
4426 eval "$ac_cv_use_ole"
4427 if test "$no_cache" != 1; then
4428 echo $ac_cv_use_ole >> ${wx_arg_cache_file}.tmp
4431 if test "$wxUSE_OLE" = yes; then
4432 echo "$as_me:$LINENO: result: yes" >&5
4433 echo "${ECHO_T}yes" >&6
4435 echo "$as_me:$LINENO: result: no" >&5
4436 echo "${ECHO_T}no" >&6
4441 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dataobj" >&5
4442 echo $ECHO_N "checking for --${enablestring:-enable}-dataobj... $ECHO_C" >&6
4444 # Check whether --enable-dataobj or --disable-dataobj was given.
4445 if test "${enable_dataobj+set}" = set; then
4446 enableval
="$enable_dataobj"
4448 if test "$enableval" = yes; then
4449 ac_cv_use_dataobj
='wxUSE_DATAOBJ=yes'
4451 ac_cv_use_dataobj
='wxUSE_DATAOBJ=no'
4456 LINE
=`grep "wxUSE_DATAOBJ" ${wx_arg_cache_file}`
4457 if test "x$LINE" != x
; then
4458 eval "DEFAULT_$LINE"
4463 ac_cv_use_dataobj
='wxUSE_DATAOBJ='$DEFAULT_wxUSE_DATAOBJ
4467 eval "$ac_cv_use_dataobj"
4468 if test "$no_cache" != 1; then
4469 echo $ac_cv_use_dataobj >> ${wx_arg_cache_file}.tmp
4472 if test "$wxUSE_DATAOBJ" = yes; then
4473 echo "$as_me:$LINENO: result: yes" >&5
4474 echo "${ECHO_T}yes" >&6
4476 echo "$as_me:$LINENO: result: no" >&5
4477 echo "${ECHO_T}no" >&6
4483 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ipc" >&5
4484 echo $ECHO_N "checking for --${enablestring:-enable}-ipc... $ECHO_C" >&6
4486 # Check whether --enable-ipc or --disable-ipc was given.
4487 if test "${enable_ipc+set}" = set; then
4488 enableval
="$enable_ipc"
4490 if test "$enableval" = yes; then
4491 ac_cv_use_ipc
='wxUSE_IPC=yes'
4493 ac_cv_use_ipc
='wxUSE_IPC=no'
4498 LINE
=`grep "wxUSE_IPC" ${wx_arg_cache_file}`
4499 if test "x$LINE" != x
; then
4500 eval "DEFAULT_$LINE"
4505 ac_cv_use_ipc
='wxUSE_IPC='$DEFAULT_wxUSE_IPC
4509 eval "$ac_cv_use_ipc"
4510 if test "$no_cache" != 1; then
4511 echo $ac_cv_use_ipc >> ${wx_arg_cache_file}.tmp
4514 if test "$wxUSE_IPC" = yes; then
4515 echo "$as_me:$LINENO: result: yes" >&5
4516 echo "${ECHO_T}yes" >&6
4518 echo "$as_me:$LINENO: result: no" >&5
4519 echo "${ECHO_T}no" >&6
4525 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-apple_ieee" >&5
4526 echo $ECHO_N "checking for --${enablestring:-enable}-apple_ieee... $ECHO_C" >&6
4528 # Check whether --enable-apple_ieee or --disable-apple_ieee was given.
4529 if test "${enable_apple_ieee+set}" = set; then
4530 enableval
="$enable_apple_ieee"
4532 if test "$enableval" = yes; then
4533 ac_cv_use_apple_ieee
='wxUSE_APPLE_IEEE=yes'
4535 ac_cv_use_apple_ieee
='wxUSE_APPLE_IEEE=no'
4540 LINE
=`grep "wxUSE_APPLE_IEEE" ${wx_arg_cache_file}`
4541 if test "x$LINE" != x
; then
4542 eval "DEFAULT_$LINE"
4547 ac_cv_use_apple_ieee
='wxUSE_APPLE_IEEE='$DEFAULT_wxUSE_APPLE_IEEE
4551 eval "$ac_cv_use_apple_ieee"
4552 if test "$no_cache" != 1; then
4553 echo $ac_cv_use_apple_ieee >> ${wx_arg_cache_file}.tmp
4556 if test "$wxUSE_APPLE_IEEE" = yes; then
4557 echo "$as_me:$LINENO: result: yes" >&5
4558 echo "${ECHO_T}yes" >&6
4560 echo "$as_me:$LINENO: result: no" >&5
4561 echo "${ECHO_T}no" >&6
4566 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-catch_segvs" >&5
4567 echo $ECHO_N "checking for --${enablestring:-enable}-catch_segvs... $ECHO_C" >&6
4569 # Check whether --enable-catch_segvs or --disable-catch_segvs was given.
4570 if test "${enable_catch_segvs+set}" = set; then
4571 enableval
="$enable_catch_segvs"
4573 if test "$enableval" = yes; then
4574 ac_cv_use_catch_segvs
='wxUSE_ON_FATAL_EXCEPTION=yes'
4576 ac_cv_use_catch_segvs
='wxUSE_ON_FATAL_EXCEPTION=no'
4581 LINE
=`grep "wxUSE_ON_FATAL_EXCEPTION" ${wx_arg_cache_file}`
4582 if test "x$LINE" != x
; then
4583 eval "DEFAULT_$LINE"
4588 ac_cv_use_catch_segvs
='wxUSE_ON_FATAL_EXCEPTION='$DEFAULT_wxUSE_ON_FATAL_EXCEPTION
4592 eval "$ac_cv_use_catch_segvs"
4593 if test "$no_cache" != 1; then
4594 echo $ac_cv_use_catch_segvs >> ${wx_arg_cache_file}.tmp
4597 if test "$wxUSE_ON_FATAL_EXCEPTION" = yes; then
4598 echo "$as_me:$LINENO: result: yes" >&5
4599 echo "${ECHO_T}yes" >&6
4601 echo "$as_me:$LINENO: result: no" >&5
4602 echo "${ECHO_T}no" >&6
4607 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-cmdline" >&5
4608 echo $ECHO_N "checking for --${enablestring:-enable}-cmdline... $ECHO_C" >&6
4610 # Check whether --enable-cmdline or --disable-cmdline was given.
4611 if test "${enable_cmdline+set}" = set; then
4612 enableval
="$enable_cmdline"
4614 if test "$enableval" = yes; then
4615 ac_cv_use_cmdline
='wxUSE_CMDLINE_PARSER=yes'
4617 ac_cv_use_cmdline
='wxUSE_CMDLINE_PARSER=no'
4622 LINE
=`grep "wxUSE_CMDLINE_PARSER" ${wx_arg_cache_file}`
4623 if test "x$LINE" != x
; then
4624 eval "DEFAULT_$LINE"
4629 ac_cv_use_cmdline
='wxUSE_CMDLINE_PARSER='$DEFAULT_wxUSE_CMDLINE_PARSER
4633 eval "$ac_cv_use_cmdline"
4634 if test "$no_cache" != 1; then
4635 echo $ac_cv_use_cmdline >> ${wx_arg_cache_file}.tmp
4638 if test "$wxUSE_CMDLINE_PARSER" = yes; then
4639 echo "$as_me:$LINENO: result: yes" >&5
4640 echo "${ECHO_T}yes" >&6
4642 echo "$as_me:$LINENO: result: no" >&5
4643 echo "${ECHO_T}no" >&6
4648 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-datetime" >&5
4649 echo $ECHO_N "checking for --${enablestring:-enable}-datetime... $ECHO_C" >&6
4651 # Check whether --enable-datetime or --disable-datetime was given.
4652 if test "${enable_datetime+set}" = set; then
4653 enableval
="$enable_datetime"
4655 if test "$enableval" = yes; then
4656 ac_cv_use_datetime
='wxUSE_DATETIME=yes'
4658 ac_cv_use_datetime
='wxUSE_DATETIME=no'
4663 LINE
=`grep "wxUSE_DATETIME" ${wx_arg_cache_file}`
4664 if test "x$LINE" != x
; then
4665 eval "DEFAULT_$LINE"
4670 ac_cv_use_datetime
='wxUSE_DATETIME='$DEFAULT_wxUSE_DATETIME
4674 eval "$ac_cv_use_datetime"
4675 if test "$no_cache" != 1; then
4676 echo $ac_cv_use_datetime >> ${wx_arg_cache_file}.tmp
4679 if test "$wxUSE_DATETIME" = yes; then
4680 echo "$as_me:$LINENO: result: yes" >&5
4681 echo "${ECHO_T}yes" >&6
4683 echo "$as_me:$LINENO: result: no" >&5
4684 echo "${ECHO_T}no" >&6
4689 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dialupman" >&5
4690 echo $ECHO_N "checking for --${enablestring:-enable}-dialupman... $ECHO_C" >&6
4692 # Check whether --enable-dialupman or --disable-dialupman was given.
4693 if test "${enable_dialupman+set}" = set; then
4694 enableval
="$enable_dialupman"
4696 if test "$enableval" = yes; then
4697 ac_cv_use_dialupman
='wxUSE_DIALUP_MANAGER=yes'
4699 ac_cv_use_dialupman
='wxUSE_DIALUP_MANAGER=no'
4704 LINE
=`grep "wxUSE_DIALUP_MANAGER" ${wx_arg_cache_file}`
4705 if test "x$LINE" != x
; then
4706 eval "DEFAULT_$LINE"
4711 ac_cv_use_dialupman
='wxUSE_DIALUP_MANAGER='$DEFAULT_wxUSE_DIALUP_MANAGER
4715 eval "$ac_cv_use_dialupman"
4716 if test "$no_cache" != 1; then
4717 echo $ac_cv_use_dialupman >> ${wx_arg_cache_file}.tmp
4720 if test "$wxUSE_DIALUP_MANAGER" = yes; then
4721 echo "$as_me:$LINENO: result: yes" >&5
4722 echo "${ECHO_T}yes" >&6
4724 echo "$as_me:$LINENO: result: no" >&5
4725 echo "${ECHO_T}no" >&6
4730 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dynlib" >&5
4731 echo $ECHO_N "checking for --${enablestring:-enable}-dynlib... $ECHO_C" >&6
4733 # Check whether --enable-dynlib or --disable-dynlib was given.
4734 if test "${enable_dynlib+set}" = set; then
4735 enableval
="$enable_dynlib"
4737 if test "$enableval" = yes; then
4738 ac_cv_use_dynlib
='wxUSE_DYNLIB_CLASS=yes'
4740 ac_cv_use_dynlib
='wxUSE_DYNLIB_CLASS=no'
4745 LINE
=`grep "wxUSE_DYNLIB_CLASS" ${wx_arg_cache_file}`
4746 if test "x$LINE" != x
; then
4747 eval "DEFAULT_$LINE"
4752 ac_cv_use_dynlib
='wxUSE_DYNLIB_CLASS='$DEFAULT_wxUSE_DYNLIB_CLASS
4756 eval "$ac_cv_use_dynlib"
4757 if test "$no_cache" != 1; then
4758 echo $ac_cv_use_dynlib >> ${wx_arg_cache_file}.tmp
4761 if test "$wxUSE_DYNLIB_CLASS" = yes; then
4762 echo "$as_me:$LINENO: result: yes" >&5
4763 echo "${ECHO_T}yes" >&6
4765 echo "$as_me:$LINENO: result: no" >&5
4766 echo "${ECHO_T}no" >&6
4771 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dynamicloader" >&5
4772 echo $ECHO_N "checking for --${enablestring:-enable}-dynamicloader... $ECHO_C" >&6
4774 # Check whether --enable-dynamicloader or --disable-dynamicloader was given.
4775 if test "${enable_dynamicloader+set}" = set; then
4776 enableval
="$enable_dynamicloader"
4778 if test "$enableval" = yes; then
4779 ac_cv_use_dynamicloader
='wxUSE_DYNAMIC_LOADER=yes'
4781 ac_cv_use_dynamicloader
='wxUSE_DYNAMIC_LOADER=no'
4786 LINE
=`grep "wxUSE_DYNAMIC_LOADER" ${wx_arg_cache_file}`
4787 if test "x$LINE" != x
; then
4788 eval "DEFAULT_$LINE"
4793 ac_cv_use_dynamicloader
='wxUSE_DYNAMIC_LOADER='$DEFAULT_wxUSE_DYNAMIC_LOADER
4797 eval "$ac_cv_use_dynamicloader"
4798 if test "$no_cache" != 1; then
4799 echo $ac_cv_use_dynamicloader >> ${wx_arg_cache_file}.tmp
4802 if test "$wxUSE_DYNAMIC_LOADER" = yes; then
4803 echo "$as_me:$LINENO: result: yes" >&5
4804 echo "${ECHO_T}yes" >&6
4806 echo "$as_me:$LINENO: result: no" >&5
4807 echo "${ECHO_T}no" >&6
4812 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-exceptions" >&5
4813 echo $ECHO_N "checking for --${enablestring:-enable}-exceptions... $ECHO_C" >&6
4815 # Check whether --enable-exceptions or --disable-exceptions was given.
4816 if test "${enable_exceptions+set}" = set; then
4817 enableval
="$enable_exceptions"
4819 if test "$enableval" = yes; then
4820 ac_cv_use_exceptions
='wxUSE_EXCEPTIONS=yes'
4822 ac_cv_use_exceptions
='wxUSE_EXCEPTIONS=no'
4827 LINE
=`grep "wxUSE_EXCEPTIONS" ${wx_arg_cache_file}`
4828 if test "x$LINE" != x
; then
4829 eval "DEFAULT_$LINE"
4834 ac_cv_use_exceptions
='wxUSE_EXCEPTIONS='$DEFAULT_wxUSE_EXCEPTIONS
4838 eval "$ac_cv_use_exceptions"
4839 if test "$no_cache" != 1; then
4840 echo $ac_cv_use_exceptions >> ${wx_arg_cache_file}.tmp
4843 if test "$wxUSE_EXCEPTIONS" = yes; then
4844 echo "$as_me:$LINENO: result: yes" >&5
4845 echo "${ECHO_T}yes" >&6
4847 echo "$as_me:$LINENO: result: no" >&5
4848 echo "${ECHO_T}no" >&6
4853 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ffile" >&5
4854 echo $ECHO_N "checking for --${enablestring:-enable}-ffile... $ECHO_C" >&6
4856 # Check whether --enable-ffile or --disable-ffile was given.
4857 if test "${enable_ffile+set}" = set; then
4858 enableval
="$enable_ffile"
4860 if test "$enableval" = yes; then
4861 ac_cv_use_ffile
='wxUSE_FFILE=yes'
4863 ac_cv_use_ffile
='wxUSE_FFILE=no'
4868 LINE
=`grep "wxUSE_FFILE" ${wx_arg_cache_file}`
4869 if test "x$LINE" != x
; then
4870 eval "DEFAULT_$LINE"
4875 ac_cv_use_ffile
='wxUSE_FFILE='$DEFAULT_wxUSE_FFILE
4879 eval "$ac_cv_use_ffile"
4880 if test "$no_cache" != 1; then
4881 echo $ac_cv_use_ffile >> ${wx_arg_cache_file}.tmp
4884 if test "$wxUSE_FFILE" = yes; then
4885 echo "$as_me:$LINENO: result: yes" >&5
4886 echo "${ECHO_T}yes" >&6
4888 echo "$as_me:$LINENO: result: no" >&5
4889 echo "${ECHO_T}no" >&6
4894 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-file" >&5
4895 echo $ECHO_N "checking for --${enablestring:-enable}-file... $ECHO_C" >&6
4897 # Check whether --enable-file or --disable-file was given.
4898 if test "${enable_file+set}" = set; then
4899 enableval
="$enable_file"
4901 if test "$enableval" = yes; then
4902 ac_cv_use_file
='wxUSE_FILE=yes'
4904 ac_cv_use_file
='wxUSE_FILE=no'
4909 LINE
=`grep "wxUSE_FILE" ${wx_arg_cache_file}`
4910 if test "x$LINE" != x
; then
4911 eval "DEFAULT_$LINE"
4916 ac_cv_use_file
='wxUSE_FILE='$DEFAULT_wxUSE_FILE
4920 eval "$ac_cv_use_file"
4921 if test "$no_cache" != 1; then
4922 echo $ac_cv_use_file >> ${wx_arg_cache_file}.tmp
4925 if test "$wxUSE_FILE" = yes; then
4926 echo "$as_me:$LINENO: result: yes" >&5
4927 echo "${ECHO_T}yes" >&6
4929 echo "$as_me:$LINENO: result: no" >&5
4930 echo "${ECHO_T}no" >&6
4935 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filesystem" >&5
4936 echo $ECHO_N "checking for --${enablestring:-enable}-filesystem... $ECHO_C" >&6
4938 # Check whether --enable-filesystem or --disable-filesystem was given.
4939 if test "${enable_filesystem+set}" = set; then
4940 enableval
="$enable_filesystem"
4942 if test "$enableval" = yes; then
4943 ac_cv_use_filesystem
='wxUSE_FILESYSTEM=yes'
4945 ac_cv_use_filesystem
='wxUSE_FILESYSTEM=no'
4950 LINE
=`grep "wxUSE_FILESYSTEM" ${wx_arg_cache_file}`
4951 if test "x$LINE" != x
; then
4952 eval "DEFAULT_$LINE"
4957 ac_cv_use_filesystem
='wxUSE_FILESYSTEM='$DEFAULT_wxUSE_FILESYSTEM
4961 eval "$ac_cv_use_filesystem"
4962 if test "$no_cache" != 1; then
4963 echo $ac_cv_use_filesystem >> ${wx_arg_cache_file}.tmp
4966 if test "$wxUSE_FILESYSTEM" = yes; then
4967 echo "$as_me:$LINENO: result: yes" >&5
4968 echo "${ECHO_T}yes" >&6
4970 echo "$as_me:$LINENO: result: no" >&5
4971 echo "${ECHO_T}no" >&6
4976 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontmap" >&5
4977 echo $ECHO_N "checking for --${enablestring:-enable}-fontmap... $ECHO_C" >&6
4979 # Check whether --enable-fontmap or --disable-fontmap was given.
4980 if test "${enable_fontmap+set}" = set; then
4981 enableval
="$enable_fontmap"
4983 if test "$enableval" = yes; then
4984 ac_cv_use_fontmap
='wxUSE_FONTMAP=yes'
4986 ac_cv_use_fontmap
='wxUSE_FONTMAP=no'
4991 LINE
=`grep "wxUSE_FONTMAP" ${wx_arg_cache_file}`
4992 if test "x$LINE" != x
; then
4993 eval "DEFAULT_$LINE"
4998 ac_cv_use_fontmap
='wxUSE_FONTMAP='$DEFAULT_wxUSE_FONTMAP
5002 eval "$ac_cv_use_fontmap"
5003 if test "$no_cache" != 1; then
5004 echo $ac_cv_use_fontmap >> ${wx_arg_cache_file}.tmp
5007 if test "$wxUSE_FONTMAP" = yes; then
5008 echo "$as_me:$LINENO: result: yes" >&5
5009 echo "${ECHO_T}yes" >&6
5011 echo "$as_me:$LINENO: result: no" >&5
5012 echo "${ECHO_T}no" >&6
5017 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_inet" >&5
5018 echo $ECHO_N "checking for --${enablestring:-enable}-fs_inet... $ECHO_C" >&6
5020 # Check whether --enable-fs_inet or --disable-fs_inet was given.
5021 if test "${enable_fs_inet+set}" = set; then
5022 enableval
="$enable_fs_inet"
5024 if test "$enableval" = yes; then
5025 ac_cv_use_fs_inet
='wxUSE_FS_INET=yes'
5027 ac_cv_use_fs_inet
='wxUSE_FS_INET=no'
5032 LINE
=`grep "wxUSE_FS_INET" ${wx_arg_cache_file}`
5033 if test "x$LINE" != x
; then
5034 eval "DEFAULT_$LINE"
5039 ac_cv_use_fs_inet
='wxUSE_FS_INET='$DEFAULT_wxUSE_FS_INET
5043 eval "$ac_cv_use_fs_inet"
5044 if test "$no_cache" != 1; then
5045 echo $ac_cv_use_fs_inet >> ${wx_arg_cache_file}.tmp
5048 if test "$wxUSE_FS_INET" = yes; then
5049 echo "$as_me:$LINENO: result: yes" >&5
5050 echo "${ECHO_T}yes" >&6
5052 echo "$as_me:$LINENO: result: no" >&5
5053 echo "${ECHO_T}no" >&6
5058 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_zip" >&5
5059 echo $ECHO_N "checking for --${enablestring:-enable}-fs_zip... $ECHO_C" >&6
5061 # Check whether --enable-fs_zip or --disable-fs_zip was given.
5062 if test "${enable_fs_zip+set}" = set; then
5063 enableval
="$enable_fs_zip"
5065 if test "$enableval" = yes; then
5066 ac_cv_use_fs_zip
='wxUSE_FS_ZIP=yes'
5068 ac_cv_use_fs_zip
='wxUSE_FS_ZIP=no'
5073 LINE
=`grep "wxUSE_FS_ZIP" ${wx_arg_cache_file}`
5074 if test "x$LINE" != x
; then
5075 eval "DEFAULT_$LINE"
5080 ac_cv_use_fs_zip
='wxUSE_FS_ZIP='$DEFAULT_wxUSE_FS_ZIP
5084 eval "$ac_cv_use_fs_zip"
5085 if test "$no_cache" != 1; then
5086 echo $ac_cv_use_fs_zip >> ${wx_arg_cache_file}.tmp
5089 if test "$wxUSE_FS_ZIP" = yes; then
5090 echo "$as_me:$LINENO: result: yes" >&5
5091 echo "${ECHO_T}yes" >&6
5093 echo "$as_me:$LINENO: result: no" >&5
5094 echo "${ECHO_T}no" >&6
5099 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-geometry" >&5
5100 echo $ECHO_N "checking for --${enablestring:-enable}-geometry... $ECHO_C" >&6
5102 # Check whether --enable-geometry or --disable-geometry was given.
5103 if test "${enable_geometry+set}" = set; then
5104 enableval
="$enable_geometry"
5106 if test "$enableval" = yes; then
5107 ac_cv_use_geometry
='wxUSE_GEOMETRY=yes'
5109 ac_cv_use_geometry
='wxUSE_GEOMETRY=no'
5114 LINE
=`grep "wxUSE_GEOMETRY" ${wx_arg_cache_file}`
5115 if test "x$LINE" != x
; then
5116 eval "DEFAULT_$LINE"
5121 ac_cv_use_geometry
='wxUSE_GEOMETRY='$DEFAULT_wxUSE_GEOMETRY
5125 eval "$ac_cv_use_geometry"
5126 if test "$no_cache" != 1; then
5127 echo $ac_cv_use_geometry >> ${wx_arg_cache_file}.tmp
5130 if test "$wxUSE_GEOMETRY" = yes; then
5131 echo "$as_me:$LINENO: result: yes" >&5
5132 echo "${ECHO_T}yes" >&6
5134 echo "$as_me:$LINENO: result: no" >&5
5135 echo "${ECHO_T}no" >&6
5140 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-log" >&5
5141 echo $ECHO_N "checking for --${enablestring:-enable}-log... $ECHO_C" >&6
5143 # Check whether --enable-log or --disable-log was given.
5144 if test "${enable_log+set}" = set; then
5145 enableval
="$enable_log"
5147 if test "$enableval" = yes; then
5148 ac_cv_use_log
='wxUSE_LOG=yes'
5150 ac_cv_use_log
='wxUSE_LOG=no'
5155 LINE
=`grep "wxUSE_LOG" ${wx_arg_cache_file}`
5156 if test "x$LINE" != x
; then
5157 eval "DEFAULT_$LINE"
5162 ac_cv_use_log
='wxUSE_LOG='$DEFAULT_wxUSE_LOG
5166 eval "$ac_cv_use_log"
5167 if test "$no_cache" != 1; then
5168 echo $ac_cv_use_log >> ${wx_arg_cache_file}.tmp
5171 if test "$wxUSE_LOG" = yes; then
5172 echo "$as_me:$LINENO: result: yes" >&5
5173 echo "${ECHO_T}yes" >&6
5175 echo "$as_me:$LINENO: result: no" >&5
5176 echo "${ECHO_T}no" >&6
5181 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-longlong" >&5
5182 echo $ECHO_N "checking for --${enablestring:-enable}-longlong... $ECHO_C" >&6
5184 # Check whether --enable-longlong or --disable-longlong was given.
5185 if test "${enable_longlong+set}" = set; then
5186 enableval
="$enable_longlong"
5188 if test "$enableval" = yes; then
5189 ac_cv_use_longlong
='wxUSE_LONGLONG=yes'
5191 ac_cv_use_longlong
='wxUSE_LONGLONG=no'
5196 LINE
=`grep "wxUSE_LONGLONG" ${wx_arg_cache_file}`
5197 if test "x$LINE" != x
; then
5198 eval "DEFAULT_$LINE"
5203 ac_cv_use_longlong
='wxUSE_LONGLONG='$DEFAULT_wxUSE_LONGLONG
5207 eval "$ac_cv_use_longlong"
5208 if test "$no_cache" != 1; then
5209 echo $ac_cv_use_longlong >> ${wx_arg_cache_file}.tmp
5212 if test "$wxUSE_LONGLONG" = yes; then
5213 echo "$as_me:$LINENO: result: yes" >&5
5214 echo "${ECHO_T}yes" >&6
5216 echo "$as_me:$LINENO: result: no" >&5
5217 echo "${ECHO_T}no" >&6
5222 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mimetype" >&5
5223 echo $ECHO_N "checking for --${enablestring:-enable}-mimetype... $ECHO_C" >&6
5225 # Check whether --enable-mimetype or --disable-mimetype was given.
5226 if test "${enable_mimetype+set}" = set; then
5227 enableval
="$enable_mimetype"
5229 if test "$enableval" = yes; then
5230 ac_cv_use_mimetype
='wxUSE_MIMETYPE=yes'
5232 ac_cv_use_mimetype
='wxUSE_MIMETYPE=no'
5237 LINE
=`grep "wxUSE_MIMETYPE" ${wx_arg_cache_file}`
5238 if test "x$LINE" != x
; then
5239 eval "DEFAULT_$LINE"
5244 ac_cv_use_mimetype
='wxUSE_MIMETYPE='$DEFAULT_wxUSE_MIMETYPE
5248 eval "$ac_cv_use_mimetype"
5249 if test "$no_cache" != 1; then
5250 echo $ac_cv_use_mimetype >> ${wx_arg_cache_file}.tmp
5253 if test "$wxUSE_MIMETYPE" = yes; then
5254 echo "$as_me:$LINENO: result: yes" >&5
5255 echo "${ECHO_T}yes" >&6
5257 echo "$as_me:$LINENO: result: no" >&5
5258 echo "${ECHO_T}no" >&6
5263 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mslu" >&5
5264 echo $ECHO_N "checking for --${enablestring:-enable}-mslu... $ECHO_C" >&6
5266 # Check whether --enable-mslu or --disable-mslu was given.
5267 if test "${enable_mslu+set}" = set; then
5268 enableval
="$enable_mslu"
5270 if test "$enableval" = yes; then
5271 ac_cv_use_mslu
='wxUSE_UNICODE_MSLU=yes'
5273 ac_cv_use_mslu
='wxUSE_UNICODE_MSLU=no'
5278 LINE
=`grep "wxUSE_UNICODE_MSLU" ${wx_arg_cache_file}`
5279 if test "x$LINE" != x
; then
5280 eval "DEFAULT_$LINE"
5285 ac_cv_use_mslu
='wxUSE_UNICODE_MSLU='$DEFAULT_wxUSE_UNICODE_MSLU
5289 eval "$ac_cv_use_mslu"
5290 if test "$no_cache" != 1; then
5291 echo $ac_cv_use_mslu >> ${wx_arg_cache_file}.tmp
5294 if test "$wxUSE_UNICODE_MSLU" = yes; then
5295 echo "$as_me:$LINENO: result: yes" >&5
5296 echo "${ECHO_T}yes" >&6
5298 echo "$as_me:$LINENO: result: no" >&5
5299 echo "${ECHO_T}no" >&6
5304 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-snglinst" >&5
5305 echo $ECHO_N "checking for --${enablestring:-enable}-snglinst... $ECHO_C" >&6
5307 # Check whether --enable-snglinst or --disable-snglinst was given.
5308 if test "${enable_snglinst+set}" = set; then
5309 enableval
="$enable_snglinst"
5311 if test "$enableval" = yes; then
5312 ac_cv_use_snglinst
='wxUSE_SNGLINST_CHECKER=yes'
5314 ac_cv_use_snglinst
='wxUSE_SNGLINST_CHECKER=no'
5319 LINE
=`grep "wxUSE_SNGLINST_CHECKER" ${wx_arg_cache_file}`
5320 if test "x$LINE" != x
; then
5321 eval "DEFAULT_$LINE"
5326 ac_cv_use_snglinst
='wxUSE_SNGLINST_CHECKER='$DEFAULT_wxUSE_SNGLINST_CHECKER
5330 eval "$ac_cv_use_snglinst"
5331 if test "$no_cache" != 1; then
5332 echo $ac_cv_use_snglinst >> ${wx_arg_cache_file}.tmp
5335 if test "$wxUSE_SNGLINST_CHECKER" = yes; then
5336 echo "$as_me:$LINENO: result: yes" >&5
5337 echo "${ECHO_T}yes" >&6
5339 echo "$as_me:$LINENO: result: no" >&5
5340 echo "${ECHO_T}no" >&6
5345 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-streams" >&5
5346 echo $ECHO_N "checking for --${enablestring:-enable}-streams... $ECHO_C" >&6
5348 # Check whether --enable-streams or --disable-streams was given.
5349 if test "${enable_streams+set}" = set; then
5350 enableval
="$enable_streams"
5352 if test "$enableval" = yes; then
5353 ac_cv_use_streams
='wxUSE_STREAMS=yes'
5355 ac_cv_use_streams
='wxUSE_STREAMS=no'
5360 LINE
=`grep "wxUSE_STREAMS" ${wx_arg_cache_file}`
5361 if test "x$LINE" != x
; then
5362 eval "DEFAULT_$LINE"
5367 ac_cv_use_streams
='wxUSE_STREAMS='$DEFAULT_wxUSE_STREAMS
5371 eval "$ac_cv_use_streams"
5372 if test "$no_cache" != 1; then
5373 echo $ac_cv_use_streams >> ${wx_arg_cache_file}.tmp
5376 if test "$wxUSE_STREAMS" = yes; then
5377 echo "$as_me:$LINENO: result: yes" >&5
5378 echo "${ECHO_T}yes" >&6
5380 echo "$as_me:$LINENO: result: no" >&5
5381 echo "${ECHO_T}no" >&6
5386 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-std_iostreams" >&5
5387 echo $ECHO_N "checking for --${enablestring:-enable}-std_iostreams... $ECHO_C" >&6
5389 # Check whether --enable-std_iostreams or --disable-std_iostreams was given.
5390 if test "${enable_std_iostreams+set}" = set; then
5391 enableval
="$enable_std_iostreams"
5393 if test "$enableval" = yes; then
5394 ac_cv_use_std_iostreams
='wxUSE_STD_IOSTREAM=yes'
5396 ac_cv_use_std_iostreams
='wxUSE_STD_IOSTREAM=no'
5401 LINE
=`grep "wxUSE_STD_IOSTREAM" ${wx_arg_cache_file}`
5402 if test "x$LINE" != x
; then
5403 eval "DEFAULT_$LINE"
5408 ac_cv_use_std_iostreams
='wxUSE_STD_IOSTREAM='$DEFAULT_wxUSE_STD_IOSTREAM
5412 eval "$ac_cv_use_std_iostreams"
5413 if test "$no_cache" != 1; then
5414 echo $ac_cv_use_std_iostreams >> ${wx_arg_cache_file}.tmp
5417 if test "$wxUSE_STD_IOSTREAM" = yes; then
5418 echo "$as_me:$LINENO: result: yes" >&5
5419 echo "${ECHO_T}yes" >&6
5421 echo "$as_me:$LINENO: result: no" >&5
5422 echo "${ECHO_T}no" >&6
5427 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stopwatch" >&5
5428 echo $ECHO_N "checking for --${enablestring:-enable}-stopwatch... $ECHO_C" >&6
5430 # Check whether --enable-stopwatch or --disable-stopwatch was given.
5431 if test "${enable_stopwatch+set}" = set; then
5432 enableval
="$enable_stopwatch"
5434 if test "$enableval" = yes; then
5435 ac_cv_use_stopwatch
='wxUSE_STOPWATCH=yes'
5437 ac_cv_use_stopwatch
='wxUSE_STOPWATCH=no'
5442 LINE
=`grep "wxUSE_STOPWATCH" ${wx_arg_cache_file}`
5443 if test "x$LINE" != x
; then
5444 eval "DEFAULT_$LINE"
5449 ac_cv_use_stopwatch
='wxUSE_STOPWATCH='$DEFAULT_wxUSE_STOPWATCH
5453 eval "$ac_cv_use_stopwatch"
5454 if test "$no_cache" != 1; then
5455 echo $ac_cv_use_stopwatch >> ${wx_arg_cache_file}.tmp
5458 if test "$wxUSE_STOPWATCH" = yes; then
5459 echo "$as_me:$LINENO: result: yes" >&5
5460 echo "${ECHO_T}yes" >&6
5462 echo "$as_me:$LINENO: result: no" >&5
5463 echo "${ECHO_T}no" >&6
5468 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-system_options" >&5
5469 echo $ECHO_N "checking for --${enablestring:-enable}-system_options... $ECHO_C" >&6
5471 # Check whether --enable-system_options or --disable-system_options was given.
5472 if test "${enable_system_options+set}" = set; then
5473 enableval
="$enable_system_options"
5475 if test "$enableval" = yes; then
5476 ac_cv_use_system_options
='wxUSE_SYSTEM_OPTIONS=yes'
5478 ac_cv_use_system_options
='wxUSE_SYSTEM_OPTIONS=no'
5483 LINE
=`grep "wxUSE_SYSTEM_OPTIONS" ${wx_arg_cache_file}`
5484 if test "x$LINE" != x
; then
5485 eval "DEFAULT_$LINE"
5490 ac_cv_use_system_options
='wxUSE_SYSTEM_OPTIONS='$DEFAULT_wxUSE_SYSTEM_OPTIONS
5494 eval "$ac_cv_use_system_options"
5495 if test "$no_cache" != 1; then
5496 echo $ac_cv_use_system_options >> ${wx_arg_cache_file}.tmp
5499 if test "$wxUSE_SYSTEM_OPTIONS" = yes; then
5500 echo "$as_me:$LINENO: result: yes" >&5
5501 echo "${ECHO_T}yes" >&6
5503 echo "$as_me:$LINENO: result: no" >&5
5504 echo "${ECHO_T}no" >&6
5509 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textbuf" >&5
5510 echo $ECHO_N "checking for --${enablestring:-enable}-textbuf... $ECHO_C" >&6
5512 # Check whether --enable-textbuf or --disable-textbuf was given.
5513 if test "${enable_textbuf+set}" = set; then
5514 enableval
="$enable_textbuf"
5516 if test "$enableval" = yes; then
5517 ac_cv_use_textbuf
='wxUSE_TEXTBUFFER=yes'
5519 ac_cv_use_textbuf
='wxUSE_TEXTBUFFER=no'
5524 LINE
=`grep "wxUSE_TEXTBUFFER" ${wx_arg_cache_file}`
5525 if test "x$LINE" != x
; then
5526 eval "DEFAULT_$LINE"
5531 ac_cv_use_textbuf
='wxUSE_TEXTBUFFER='$DEFAULT_wxUSE_TEXTBUFFER
5535 eval "$ac_cv_use_textbuf"
5536 if test "$no_cache" != 1; then
5537 echo $ac_cv_use_textbuf >> ${wx_arg_cache_file}.tmp
5540 if test "$wxUSE_TEXTBUFFER" = yes; then
5541 echo "$as_me:$LINENO: result: yes" >&5
5542 echo "${ECHO_T}yes" >&6
5544 echo "$as_me:$LINENO: result: no" >&5
5545 echo "${ECHO_T}no" >&6
5550 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textfile" >&5
5551 echo $ECHO_N "checking for --${enablestring:-enable}-textfile... $ECHO_C" >&6
5553 # Check whether --enable-textfile or --disable-textfile was given.
5554 if test "${enable_textfile+set}" = set; then
5555 enableval
="$enable_textfile"
5557 if test "$enableval" = yes; then
5558 ac_cv_use_textfile
='wxUSE_TEXTFILE=yes'
5560 ac_cv_use_textfile
='wxUSE_TEXTFILE=no'
5565 LINE
=`grep "wxUSE_TEXTFILE" ${wx_arg_cache_file}`
5566 if test "x$LINE" != x
; then
5567 eval "DEFAULT_$LINE"
5572 ac_cv_use_textfile
='wxUSE_TEXTFILE='$DEFAULT_wxUSE_TEXTFILE
5576 eval "$ac_cv_use_textfile"
5577 if test "$no_cache" != 1; then
5578 echo $ac_cv_use_textfile >> ${wx_arg_cache_file}.tmp
5581 if test "$wxUSE_TEXTFILE" = yes; then
5582 echo "$as_me:$LINENO: result: yes" >&5
5583 echo "${ECHO_T}yes" >&6
5585 echo "$as_me:$LINENO: result: no" >&5
5586 echo "${ECHO_T}no" >&6
5591 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-timer" >&5
5592 echo $ECHO_N "checking for --${enablestring:-enable}-timer... $ECHO_C" >&6
5594 # Check whether --enable-timer or --disable-timer was given.
5595 if test "${enable_timer+set}" = set; then
5596 enableval
="$enable_timer"
5598 if test "$enableval" = yes; then
5599 ac_cv_use_timer
='wxUSE_TIMER=yes'
5601 ac_cv_use_timer
='wxUSE_TIMER=no'
5606 LINE
=`grep "wxUSE_TIMER" ${wx_arg_cache_file}`
5607 if test "x$LINE" != x
; then
5608 eval "DEFAULT_$LINE"
5613 ac_cv_use_timer
='wxUSE_TIMER='$DEFAULT_wxUSE_TIMER
5617 eval "$ac_cv_use_timer"
5618 if test "$no_cache" != 1; then
5619 echo $ac_cv_use_timer >> ${wx_arg_cache_file}.tmp
5622 if test "$wxUSE_TIMER" = yes; then
5623 echo "$as_me:$LINENO: result: yes" >&5
5624 echo "${ECHO_T}yes" >&6
5626 echo "$as_me:$LINENO: result: no" >&5
5627 echo "${ECHO_T}no" >&6
5632 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-unicode" >&5
5633 echo $ECHO_N "checking for --${enablestring:-enable}-unicode... $ECHO_C" >&6
5635 # Check whether --enable-unicode or --disable-unicode was given.
5636 if test "${enable_unicode+set}" = set; then
5637 enableval
="$enable_unicode"
5639 if test "$enableval" = yes; then
5640 ac_cv_use_unicode
='wxUSE_UNICODE=yes'
5642 ac_cv_use_unicode
='wxUSE_UNICODE=no'
5647 LINE
=`grep "wxUSE_UNICODE" ${wx_arg_cache_file}`
5648 if test "x$LINE" != x
; then
5649 eval "DEFAULT_$LINE"
5654 ac_cv_use_unicode
='wxUSE_UNICODE='$DEFAULT_wxUSE_UNICODE
5658 eval "$ac_cv_use_unicode"
5659 if test "$no_cache" != 1; then
5660 echo $ac_cv_use_unicode >> ${wx_arg_cache_file}.tmp
5663 if test "$wxUSE_UNICODE" = yes; then
5664 echo "$as_me:$LINENO: result: yes" >&5
5665 echo "${ECHO_T}yes" >&6
5667 echo "$as_me:$LINENO: result: no" >&5
5668 echo "${ECHO_T}no" >&6
5673 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sound" >&5
5674 echo $ECHO_N "checking for --${enablestring:-enable}-sound... $ECHO_C" >&6
5676 # Check whether --enable-sound or --disable-sound was given.
5677 if test "${enable_sound+set}" = set; then
5678 enableval
="$enable_sound"
5680 if test "$enableval" = yes; then
5681 ac_cv_use_sound
='wxUSE_SOUND=yes'
5683 ac_cv_use_sound
='wxUSE_SOUND=no'
5688 LINE
=`grep "wxUSE_SOUND" ${wx_arg_cache_file}`
5689 if test "x$LINE" != x
; then
5690 eval "DEFAULT_$LINE"
5695 ac_cv_use_sound
='wxUSE_SOUND='$DEFAULT_wxUSE_SOUND
5699 eval "$ac_cv_use_sound"
5700 if test "$no_cache" != 1; then
5701 echo $ac_cv_use_sound >> ${wx_arg_cache_file}.tmp
5704 if test "$wxUSE_SOUND" = yes; then
5705 echo "$as_me:$LINENO: result: yes" >&5
5706 echo "${ECHO_T}yes" >&6
5708 echo "$as_me:$LINENO: result: no" >&5
5709 echo "${ECHO_T}no" >&6
5714 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-wxprintfv" >&5
5715 echo $ECHO_N "checking for --${enablestring:-enable}-wxprintfv... $ECHO_C" >&6
5717 # Check whether --enable-wxprintfv or --disable-wxprintfv was given.
5718 if test "${enable_wxprintfv+set}" = set; then
5719 enableval
="$enable_wxprintfv"
5721 if test "$enableval" = yes; then
5722 ac_cv_use_wxprintfv
='wxUSE_EXPERIMENTAL_PRINTF=yes'
5724 ac_cv_use_wxprintfv
='wxUSE_EXPERIMENTAL_PRINTF=no'
5729 LINE
=`grep "wxUSE_EXPERIMENTAL_PRINTF" ${wx_arg_cache_file}`
5730 if test "x$LINE" != x
; then
5731 eval "DEFAULT_$LINE"
5736 ac_cv_use_wxprintfv
='wxUSE_EXPERIMENTAL_PRINTF='$DEFAULT_wxUSE_EXPERIMENTAL_PRINTF
5740 eval "$ac_cv_use_wxprintfv"
5741 if test "$no_cache" != 1; then
5742 echo $ac_cv_use_wxprintfv >> ${wx_arg_cache_file}.tmp
5745 if test "$wxUSE_EXPERIMENTAL_PRINTF" = yes; then
5746 echo "$as_me:$LINENO: result: yes" >&5
5747 echo "${ECHO_T}yes" >&6
5749 echo "$as_me:$LINENO: result: no" >&5
5750 echo "${ECHO_T}no" >&6
5755 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-zipstream" >&5
5756 echo $ECHO_N "checking for --${enablestring:-enable}-zipstream... $ECHO_C" >&6
5758 # Check whether --enable-zipstream or --disable-zipstream was given.
5759 if test "${enable_zipstream+set}" = set; then
5760 enableval
="$enable_zipstream"
5762 if test "$enableval" = yes; then
5763 ac_cv_use_zipstream
='wxUSE_ZIPSTREAM=yes'
5765 ac_cv_use_zipstream
='wxUSE_ZIPSTREAM=no'
5770 LINE
=`grep "wxUSE_ZIPSTREAM" ${wx_arg_cache_file}`
5771 if test "x$LINE" != x
; then
5772 eval "DEFAULT_$LINE"
5777 ac_cv_use_zipstream
='wxUSE_ZIPSTREAM='$DEFAULT_wxUSE_ZIPSTREAM
5781 eval "$ac_cv_use_zipstream"
5782 if test "$no_cache" != 1; then
5783 echo $ac_cv_use_zipstream >> ${wx_arg_cache_file}.tmp
5786 if test "$wxUSE_ZIPSTREAM" = yes; then
5787 echo "$as_me:$LINENO: result: yes" >&5
5788 echo "${ECHO_T}yes" >&6
5790 echo "$as_me:$LINENO: result: no" >&5
5791 echo "${ECHO_T}no" >&6
5797 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-url" >&5
5798 echo $ECHO_N "checking for --${enablestring:-enable}-url... $ECHO_C" >&6
5800 # Check whether --enable-url or --disable-url was given.
5801 if test "${enable_url+set}" = set; then
5802 enableval
="$enable_url"
5804 if test "$enableval" = yes; then
5805 ac_cv_use_url
='wxUSE_URL=yes'
5807 ac_cv_use_url
='wxUSE_URL=no'
5812 LINE
=`grep "wxUSE_URL" ${wx_arg_cache_file}`
5813 if test "x$LINE" != x
; then
5814 eval "DEFAULT_$LINE"
5819 ac_cv_use_url
='wxUSE_URL='$DEFAULT_wxUSE_URL
5823 eval "$ac_cv_use_url"
5824 if test "$no_cache" != 1; then
5825 echo $ac_cv_use_url >> ${wx_arg_cache_file}.tmp
5828 if test "$wxUSE_URL" = yes; then
5829 echo "$as_me:$LINENO: result: yes" >&5
5830 echo "${ECHO_T}yes" >&6
5832 echo "$as_me:$LINENO: result: no" >&5
5833 echo "${ECHO_T}no" >&6
5838 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol" >&5
5839 echo $ECHO_N "checking for --${enablestring:-enable}-protocol... $ECHO_C" >&6
5841 # Check whether --enable-protocol or --disable-protocol was given.
5842 if test "${enable_protocol+set}" = set; then
5843 enableval
="$enable_protocol"
5845 if test "$enableval" = yes; then
5846 ac_cv_use_protocol
='wxUSE_PROTOCOL=yes'
5848 ac_cv_use_protocol
='wxUSE_PROTOCOL=no'
5853 LINE
=`grep "wxUSE_PROTOCOL" ${wx_arg_cache_file}`
5854 if test "x$LINE" != x
; then
5855 eval "DEFAULT_$LINE"
5860 ac_cv_use_protocol
='wxUSE_PROTOCOL='$DEFAULT_wxUSE_PROTOCOL
5864 eval "$ac_cv_use_protocol"
5865 if test "$no_cache" != 1; then
5866 echo $ac_cv_use_protocol >> ${wx_arg_cache_file}.tmp
5869 if test "$wxUSE_PROTOCOL" = yes; then
5870 echo "$as_me:$LINENO: result: yes" >&5
5871 echo "${ECHO_T}yes" >&6
5873 echo "$as_me:$LINENO: result: no" >&5
5874 echo "${ECHO_T}no" >&6
5879 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_http" >&5
5880 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_http... $ECHO_C" >&6
5882 # Check whether --enable-protocol_http or --disable-protocol_http was given.
5883 if test "${enable_protocol_http+set}" = set; then
5884 enableval
="$enable_protocol_http"
5886 if test "$enableval" = yes; then
5887 ac_cv_use_protocol_http
='wxUSE_PROTOCOL_HTTP=yes'
5889 ac_cv_use_protocol_http
='wxUSE_PROTOCOL_HTTP=no'
5894 LINE
=`grep "wxUSE_PROTOCOL_HTTP" ${wx_arg_cache_file}`
5895 if test "x$LINE" != x
; then
5896 eval "DEFAULT_$LINE"
5901 ac_cv_use_protocol_http
='wxUSE_PROTOCOL_HTTP='$DEFAULT_wxUSE_PROTOCOL_HTTP
5905 eval "$ac_cv_use_protocol_http"
5906 if test "$no_cache" != 1; then
5907 echo $ac_cv_use_protocol_http >> ${wx_arg_cache_file}.tmp
5910 if test "$wxUSE_PROTOCOL_HTTP" = yes; then
5911 echo "$as_me:$LINENO: result: yes" >&5
5912 echo "${ECHO_T}yes" >&6
5914 echo "$as_me:$LINENO: result: no" >&5
5915 echo "${ECHO_T}no" >&6
5920 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_ftp" >&5
5921 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_ftp... $ECHO_C" >&6
5923 # Check whether --enable-protocol_ftp or --disable-protocol_ftp was given.
5924 if test "${enable_protocol_ftp+set}" = set; then
5925 enableval
="$enable_protocol_ftp"
5927 if test "$enableval" = yes; then
5928 ac_cv_use_protocol_ftp
='wxUSE_PROTOCOL_FTP=yes'
5930 ac_cv_use_protocol_ftp
='wxUSE_PROTOCOL_FTP=no'
5935 LINE
=`grep "wxUSE_PROTOCOL_FTP" ${wx_arg_cache_file}`
5936 if test "x$LINE" != x
; then
5937 eval "DEFAULT_$LINE"
5942 ac_cv_use_protocol_ftp
='wxUSE_PROTOCOL_FTP='$DEFAULT_wxUSE_PROTOCOL_FTP
5946 eval "$ac_cv_use_protocol_ftp"
5947 if test "$no_cache" != 1; then
5948 echo $ac_cv_use_protocol_ftp >> ${wx_arg_cache_file}.tmp
5951 if test "$wxUSE_PROTOCOL_FTP" = yes; then
5952 echo "$as_me:$LINENO: result: yes" >&5
5953 echo "${ECHO_T}yes" >&6
5955 echo "$as_me:$LINENO: result: no" >&5
5956 echo "${ECHO_T}no" >&6
5961 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_file" >&5
5962 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_file... $ECHO_C" >&6
5964 # Check whether --enable-protocol_file or --disable-protocol_file was given.
5965 if test "${enable_protocol_file+set}" = set; then
5966 enableval
="$enable_protocol_file"
5968 if test "$enableval" = yes; then
5969 ac_cv_use_protocol_file
='wxUSE_PROTOCOL_FILE=yes'
5971 ac_cv_use_protocol_file
='wxUSE_PROTOCOL_FILE=no'
5976 LINE
=`grep "wxUSE_PROTOCOL_FILE" ${wx_arg_cache_file}`
5977 if test "x$LINE" != x
; then
5978 eval "DEFAULT_$LINE"
5983 ac_cv_use_protocol_file
='wxUSE_PROTOCOL_FILE='$DEFAULT_wxUSE_PROTOCOL_FILE
5987 eval "$ac_cv_use_protocol_file"
5988 if test "$no_cache" != 1; then
5989 echo $ac_cv_use_protocol_file >> ${wx_arg_cache_file}.tmp
5992 if test "$wxUSE_PROTOCOL_FILE" = yes; then
5993 echo "$as_me:$LINENO: result: yes" >&5
5994 echo "${ECHO_T}yes" >&6
5996 echo "$as_me:$LINENO: result: no" >&5
5997 echo "${ECHO_T}no" >&6
6005 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-threads" >&5
6006 echo $ECHO_N "checking for --${enablestring:-enable}-threads... $ECHO_C" >&6
6008 # Check whether --enable-threads or --disable-threads was given.
6009 if test "${enable_threads+set}" = set; then
6010 enableval
="$enable_threads"
6012 if test "$enableval" = yes; then
6013 ac_cv_use_threads
='wxUSE_THREADS=yes'
6015 ac_cv_use_threads
='wxUSE_THREADS=no'
6020 LINE
=`grep "wxUSE_THREADS" ${wx_arg_cache_file}`
6021 if test "x$LINE" != x
; then
6022 eval "DEFAULT_$LINE"
6027 ac_cv_use_threads
='wxUSE_THREADS='$DEFAULT_wxUSE_THREADS
6031 eval "$ac_cv_use_threads"
6032 if test "$no_cache" != 1; then
6033 echo $ac_cv_use_threads >> ${wx_arg_cache_file}.tmp
6036 if test "$wxUSE_THREADS" = yes; then
6037 echo "$as_me:$LINENO: result: yes" >&5
6038 echo "${ECHO_T}yes" >&6
6040 echo "$as_me:$LINENO: result: no" >&5
6041 echo "${ECHO_T}no" >&6
6045 if test "$wxUSE_GUI" = "yes"; then
6050 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-docview" >&5
6051 echo $ECHO_N "checking for --${enablestring:-enable}-docview... $ECHO_C" >&6
6053 # Check whether --enable-docview or --disable-docview was given.
6054 if test "${enable_docview+set}" = set; then
6055 enableval
="$enable_docview"
6057 if test "$enableval" = yes; then
6058 ac_cv_use_docview
='wxUSE_DOC_VIEW_ARCHITECTURE=yes'
6060 ac_cv_use_docview
='wxUSE_DOC_VIEW_ARCHITECTURE=no'
6065 LINE
=`grep "wxUSE_DOC_VIEW_ARCHITECTURE" ${wx_arg_cache_file}`
6066 if test "x$LINE" != x
; then
6067 eval "DEFAULT_$LINE"
6072 ac_cv_use_docview
='wxUSE_DOC_VIEW_ARCHITECTURE='$DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE
6076 eval "$ac_cv_use_docview"
6077 if test "$no_cache" != 1; then
6078 echo $ac_cv_use_docview >> ${wx_arg_cache_file}.tmp
6081 if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = yes; then
6082 echo "$as_me:$LINENO: result: yes" >&5
6083 echo "${ECHO_T}yes" >&6
6085 echo "$as_me:$LINENO: result: no" >&5
6086 echo "${ECHO_T}no" >&6
6091 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-help" >&5
6092 echo $ECHO_N "checking for --${enablestring:-enable}-help... $ECHO_C" >&6
6094 # Check whether --enable-help or --disable-help was given.
6095 if test "${enable_help+set}" = set; then
6096 enableval
="$enable_help"
6098 if test "$enableval" = yes; then
6099 ac_cv_use_help
='wxUSE_HELP=yes'
6101 ac_cv_use_help
='wxUSE_HELP=no'
6106 LINE
=`grep "wxUSE_HELP" ${wx_arg_cache_file}`
6107 if test "x$LINE" != x
; then
6108 eval "DEFAULT_$LINE"
6113 ac_cv_use_help
='wxUSE_HELP='$DEFAULT_wxUSE_HELP
6117 eval "$ac_cv_use_help"
6118 if test "$no_cache" != 1; then
6119 echo $ac_cv_use_help >> ${wx_arg_cache_file}.tmp
6122 if test "$wxUSE_HELP" = yes; then
6123 echo "$as_me:$LINENO: result: yes" >&5
6124 echo "${ECHO_T}yes" >&6
6126 echo "$as_me:$LINENO: result: no" >&5
6127 echo "${ECHO_T}no" >&6
6132 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mshtmlhelp" >&5
6133 echo $ECHO_N "checking for --${enablestring:-enable}-mshtmlhelp... $ECHO_C" >&6
6135 # Check whether --enable-mshtmlhelp or --disable-mshtmlhelp was given.
6136 if test "${enable_mshtmlhelp+set}" = set; then
6137 enableval
="$enable_mshtmlhelp"
6139 if test "$enableval" = yes; then
6140 ac_cv_use_mshtmlhelp
='wxUSE_MS_HTML_HELP=yes'
6142 ac_cv_use_mshtmlhelp
='wxUSE_MS_HTML_HELP=no'
6147 LINE
=`grep "wxUSE_MS_HTML_HELP" ${wx_arg_cache_file}`
6148 if test "x$LINE" != x
; then
6149 eval "DEFAULT_$LINE"
6154 ac_cv_use_mshtmlhelp
='wxUSE_MS_HTML_HELP='$DEFAULT_wxUSE_MS_HTML_HELP
6158 eval "$ac_cv_use_mshtmlhelp"
6159 if test "$no_cache" != 1; then
6160 echo $ac_cv_use_mshtmlhelp >> ${wx_arg_cache_file}.tmp
6163 if test "$wxUSE_MS_HTML_HELP" = yes; then
6164 echo "$as_me:$LINENO: result: yes" >&5
6165 echo "${ECHO_T}yes" >&6
6167 echo "$as_me:$LINENO: result: no" >&5
6168 echo "${ECHO_T}no" >&6
6173 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-html" >&5
6174 echo $ECHO_N "checking for --${enablestring:-enable}-html... $ECHO_C" >&6
6176 # Check whether --enable-html or --disable-html was given.
6177 if test "${enable_html+set}" = set; then
6178 enableval
="$enable_html"
6180 if test "$enableval" = yes; then
6181 ac_cv_use_html
='wxUSE_HTML=yes'
6183 ac_cv_use_html
='wxUSE_HTML=no'
6188 LINE
=`grep "wxUSE_HTML" ${wx_arg_cache_file}`
6189 if test "x$LINE" != x
; then
6190 eval "DEFAULT_$LINE"
6195 ac_cv_use_html
='wxUSE_HTML='$DEFAULT_wxUSE_HTML
6199 eval "$ac_cv_use_html"
6200 if test "$no_cache" != 1; then
6201 echo $ac_cv_use_html >> ${wx_arg_cache_file}.tmp
6204 if test "$wxUSE_HTML" = yes; then
6205 echo "$as_me:$LINENO: result: yes" >&5
6206 echo "${ECHO_T}yes" >&6
6208 echo "$as_me:$LINENO: result: no" >&5
6209 echo "${ECHO_T}no" >&6
6214 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-htmlhelp" >&5
6215 echo $ECHO_N "checking for --${enablestring:-enable}-htmlhelp... $ECHO_C" >&6
6217 # Check whether --enable-htmlhelp or --disable-htmlhelp was given.
6218 if test "${enable_htmlhelp+set}" = set; then
6219 enableval
="$enable_htmlhelp"
6221 if test "$enableval" = yes; then
6222 ac_cv_use_htmlhelp
='wxUSE_WXHTML_HELP=yes'
6224 ac_cv_use_htmlhelp
='wxUSE_WXHTML_HELP=no'
6229 LINE
=`grep "wxUSE_WXHTML_HELP" ${wx_arg_cache_file}`
6230 if test "x$LINE" != x
; then
6231 eval "DEFAULT_$LINE"
6236 ac_cv_use_htmlhelp
='wxUSE_WXHTML_HELP='$DEFAULT_wxUSE_WXHTML_HELP
6240 eval "$ac_cv_use_htmlhelp"
6241 if test "$no_cache" != 1; then
6242 echo $ac_cv_use_htmlhelp >> ${wx_arg_cache_file}.tmp
6245 if test "$wxUSE_WXHTML_HELP" = yes; then
6246 echo "$as_me:$LINENO: result: yes" >&5
6247 echo "${ECHO_T}yes" >&6
6249 echo "$as_me:$LINENO: result: no" >&5
6250 echo "${ECHO_T}no" >&6
6255 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-constraints" >&5
6256 echo $ECHO_N "checking for --${enablestring:-enable}-constraints... $ECHO_C" >&6
6258 # Check whether --enable-constraints or --disable-constraints was given.
6259 if test "${enable_constraints+set}" = set; then
6260 enableval
="$enable_constraints"
6262 if test "$enableval" = yes; then
6263 ac_cv_use_constraints
='wxUSE_CONSTRAINTS=yes'
6265 ac_cv_use_constraints
='wxUSE_CONSTRAINTS=no'
6270 LINE
=`grep "wxUSE_CONSTRAINTS" ${wx_arg_cache_file}`
6271 if test "x$LINE" != x
; then
6272 eval "DEFAULT_$LINE"
6277 ac_cv_use_constraints
='wxUSE_CONSTRAINTS='$DEFAULT_wxUSE_CONSTRAINTS
6281 eval "$ac_cv_use_constraints"
6282 if test "$no_cache" != 1; then
6283 echo $ac_cv_use_constraints >> ${wx_arg_cache_file}.tmp
6286 if test "$wxUSE_CONSTRAINTS" = yes; then
6287 echo "$as_me:$LINENO: result: yes" >&5
6288 echo "${ECHO_T}yes" >&6
6290 echo "$as_me:$LINENO: result: no" >&5
6291 echo "${ECHO_T}no" >&6
6296 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-printarch" >&5
6297 echo $ECHO_N "checking for --${enablestring:-enable}-printarch... $ECHO_C" >&6
6299 # Check whether --enable-printarch or --disable-printarch was given.
6300 if test "${enable_printarch+set}" = set; then
6301 enableval
="$enable_printarch"
6303 if test "$enableval" = yes; then
6304 ac_cv_use_printarch
='wxUSE_PRINTING_ARCHITECTURE=yes'
6306 ac_cv_use_printarch
='wxUSE_PRINTING_ARCHITECTURE=no'
6311 LINE
=`grep "wxUSE_PRINTING_ARCHITECTURE" ${wx_arg_cache_file}`
6312 if test "x$LINE" != x
; then
6313 eval "DEFAULT_$LINE"
6318 ac_cv_use_printarch
='wxUSE_PRINTING_ARCHITECTURE='$DEFAULT_wxUSE_PRINTING_ARCHITECTURE
6322 eval "$ac_cv_use_printarch"
6323 if test "$no_cache" != 1; then
6324 echo $ac_cv_use_printarch >> ${wx_arg_cache_file}.tmp
6327 if test "$wxUSE_PRINTING_ARCHITECTURE" = yes; then
6328 echo "$as_me:$LINENO: result: yes" >&5
6329 echo "${ECHO_T}yes" >&6
6331 echo "$as_me:$LINENO: result: no" >&5
6332 echo "${ECHO_T}no" >&6
6337 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mdi" >&5
6338 echo $ECHO_N "checking for --${enablestring:-enable}-mdi... $ECHO_C" >&6
6340 # Check whether --enable-mdi or --disable-mdi was given.
6341 if test "${enable_mdi+set}" = set; then
6342 enableval
="$enable_mdi"
6344 if test "$enableval" = yes; then
6345 ac_cv_use_mdi
='wxUSE_MDI=yes'
6347 ac_cv_use_mdi
='wxUSE_MDI=no'
6352 LINE
=`grep "wxUSE_MDI" ${wx_arg_cache_file}`
6353 if test "x$LINE" != x
; then
6354 eval "DEFAULT_$LINE"
6359 ac_cv_use_mdi
='wxUSE_MDI='$DEFAULT_wxUSE_MDI
6363 eval "$ac_cv_use_mdi"
6364 if test "$no_cache" != 1; then
6365 echo $ac_cv_use_mdi >> ${wx_arg_cache_file}.tmp
6368 if test "$wxUSE_MDI" = yes; then
6369 echo "$as_me:$LINENO: result: yes" >&5
6370 echo "${ECHO_T}yes" >&6
6372 echo "$as_me:$LINENO: result: no" >&5
6373 echo "${ECHO_T}no" >&6
6378 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mdidoc" >&5
6379 echo $ECHO_N "checking for --${enablestring:-enable}-mdidoc... $ECHO_C" >&6
6381 # Check whether --enable-mdidoc or --disable-mdidoc was given.
6382 if test "${enable_mdidoc+set}" = set; then
6383 enableval
="$enable_mdidoc"
6385 if test "$enableval" = yes; then
6386 ac_cv_use_mdidoc
='wxUSE_MDI_ARCHITECTURE=yes'
6388 ac_cv_use_mdidoc
='wxUSE_MDI_ARCHITECTURE=no'
6393 LINE
=`grep "wxUSE_MDI_ARCHITECTURE" ${wx_arg_cache_file}`
6394 if test "x$LINE" != x
; then
6395 eval "DEFAULT_$LINE"
6400 ac_cv_use_mdidoc
='wxUSE_MDI_ARCHITECTURE='$DEFAULT_wxUSE_MDI_ARCHITECTURE
6404 eval "$ac_cv_use_mdidoc"
6405 if test "$no_cache" != 1; then
6406 echo $ac_cv_use_mdidoc >> ${wx_arg_cache_file}.tmp
6409 if test "$wxUSE_MDI_ARCHITECTURE" = yes; then
6410 echo "$as_me:$LINENO: result: yes" >&5
6411 echo "${ECHO_T}yes" >&6
6413 echo "$as_me:$LINENO: result: no" >&5
6414 echo "${ECHO_T}no" >&6
6419 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-loggui" >&5
6420 echo $ECHO_N "checking for --${enablestring:-enable}-loggui... $ECHO_C" >&6
6422 # Check whether --enable-loggui or --disable-loggui was given.
6423 if test "${enable_loggui+set}" = set; then
6424 enableval
="$enable_loggui"
6426 if test "$enableval" = yes; then
6427 ac_cv_use_loggui
='wxUSE_LOGGUI=yes'
6429 ac_cv_use_loggui
='wxUSE_LOGGUI=no'
6434 LINE
=`grep "wxUSE_LOGGUI" ${wx_arg_cache_file}`
6435 if test "x$LINE" != x
; then
6436 eval "DEFAULT_$LINE"
6441 ac_cv_use_loggui
='wxUSE_LOGGUI='$DEFAULT_wxUSE_LOGGUI
6445 eval "$ac_cv_use_loggui"
6446 if test "$no_cache" != 1; then
6447 echo $ac_cv_use_loggui >> ${wx_arg_cache_file}.tmp
6450 if test "$wxUSE_LOGGUI" = yes; then
6451 echo "$as_me:$LINENO: result: yes" >&5
6452 echo "${ECHO_T}yes" >&6
6454 echo "$as_me:$LINENO: result: no" >&5
6455 echo "${ECHO_T}no" >&6
6460 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-logwin" >&5
6461 echo $ECHO_N "checking for --${enablestring:-enable}-logwin... $ECHO_C" >&6
6463 # Check whether --enable-logwin or --disable-logwin was given.
6464 if test "${enable_logwin+set}" = set; then
6465 enableval
="$enable_logwin"
6467 if test "$enableval" = yes; then
6468 ac_cv_use_logwin
='wxUSE_LOGWINDOW=yes'
6470 ac_cv_use_logwin
='wxUSE_LOGWINDOW=no'
6475 LINE
=`grep "wxUSE_LOGWINDOW" ${wx_arg_cache_file}`
6476 if test "x$LINE" != x
; then
6477 eval "DEFAULT_$LINE"
6482 ac_cv_use_logwin
='wxUSE_LOGWINDOW='$DEFAULT_wxUSE_LOGWINDOW
6486 eval "$ac_cv_use_logwin"
6487 if test "$no_cache" != 1; then
6488 echo $ac_cv_use_logwin >> ${wx_arg_cache_file}.tmp
6491 if test "$wxUSE_LOGWINDOW" = yes; then
6492 echo "$as_me:$LINENO: result: yes" >&5
6493 echo "${ECHO_T}yes" >&6
6495 echo "$as_me:$LINENO: result: no" >&5
6496 echo "${ECHO_T}no" >&6
6501 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-logdialog" >&5
6502 echo $ECHO_N "checking for --${enablestring:-enable}-logdialog... $ECHO_C" >&6
6504 # Check whether --enable-logdialog or --disable-logdialog was given.
6505 if test "${enable_logdialog+set}" = set; then
6506 enableval
="$enable_logdialog"
6508 if test "$enableval" = yes; then
6509 ac_cv_use_logdialog
='wxUSE_LOGDIALOG=yes'
6511 ac_cv_use_logdialog
='wxUSE_LOGDIALOG=no'
6516 LINE
=`grep "wxUSE_LOGDIALOG" ${wx_arg_cache_file}`
6517 if test "x$LINE" != x
; then
6518 eval "DEFAULT_$LINE"
6523 ac_cv_use_logdialog
='wxUSE_LOGDIALOG='$DEFAULT_wxUSE_LOGDIALOG
6527 eval "$ac_cv_use_logdialog"
6528 if test "$no_cache" != 1; then
6529 echo $ac_cv_use_logdialog >> ${wx_arg_cache_file}.tmp
6532 if test "$wxUSE_LOGDIALOG" = yes; then
6533 echo "$as_me:$LINENO: result: yes" >&5
6534 echo "${ECHO_T}yes" >&6
6536 echo "$as_me:$LINENO: result: no" >&5
6537 echo "${ECHO_T}no" >&6
6542 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-webkit" >&5
6543 echo $ECHO_N "checking for --${enablestring:-enable}-webkit... $ECHO_C" >&6
6545 # Check whether --enable-webkit or --disable-webkit was given.
6546 if test "${enable_webkit+set}" = set; then
6547 enableval
="$enable_webkit"
6549 if test "$enableval" = yes; then
6550 ac_cv_use_webkit
='wxUSE_WEBKIT=yes'
6552 ac_cv_use_webkit
='wxUSE_WEBKIT=no'
6557 LINE
=`grep "wxUSE_WEBKIT" ${wx_arg_cache_file}`
6558 if test "x$LINE" != x
; then
6559 eval "DEFAULT_$LINE"
6564 ac_cv_use_webkit
='wxUSE_WEBKIT='$DEFAULT_wxUSE_WEBKIT
6568 eval "$ac_cv_use_webkit"
6569 if test "$no_cache" != 1; then
6570 echo $ac_cv_use_webkit >> ${wx_arg_cache_file}.tmp
6573 if test "$wxUSE_WEBKIT" = yes; then
6574 echo "$as_me:$LINENO: result: yes" >&5
6575 echo "${ECHO_T}yes" >&6
6577 echo "$as_me:$LINENO: result: no" >&5
6578 echo "${ECHO_T}no" >&6
6584 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-postscript" >&5
6585 echo $ECHO_N "checking for --${enablestring:-enable}-postscript... $ECHO_C" >&6
6587 # Check whether --enable-postscript or --disable-postscript was given.
6588 if test "${enable_postscript+set}" = set; then
6589 enableval
="$enable_postscript"
6591 if test "$enableval" = yes; then
6592 ac_cv_use_postscript
='wxUSE_POSTSCRIPT=yes'
6594 ac_cv_use_postscript
='wxUSE_POSTSCRIPT=no'
6599 LINE
=`grep "wxUSE_POSTSCRIPT" ${wx_arg_cache_file}`
6600 if test "x$LINE" != x
; then
6601 eval "DEFAULT_$LINE"
6606 ac_cv_use_postscript
='wxUSE_POSTSCRIPT='$DEFAULT_wxUSE_POSTSCRIPT
6610 eval "$ac_cv_use_postscript"
6611 if test "$no_cache" != 1; then
6612 echo $ac_cv_use_postscript >> ${wx_arg_cache_file}.tmp
6615 if test "$wxUSE_POSTSCRIPT" = yes; then
6616 echo "$as_me:$LINENO: result: yes" >&5
6617 echo "${ECHO_T}yes" >&6
6619 echo "$as_me:$LINENO: result: no" >&5
6620 echo "${ECHO_T}no" >&6
6628 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-prologio" >&5
6629 echo $ECHO_N "checking for --${enablestring:-enable}-prologio... $ECHO_C" >&6
6631 # Check whether --enable-prologio or --disable-prologio was given.
6632 if test "${enable_prologio+set}" = set; then
6633 enableval
="$enable_prologio"
6635 if test "$enableval" = yes; then
6636 ac_cv_use_prologio
='wxUSE_PROLOGIO=yes'
6638 ac_cv_use_prologio
='wxUSE_PROLOGIO=no'
6643 LINE
=`grep "wxUSE_PROLOGIO" ${wx_arg_cache_file}`
6644 if test "x$LINE" != x
; then
6645 eval "DEFAULT_$LINE"
6650 ac_cv_use_prologio
='wxUSE_PROLOGIO='$DEFAULT_wxUSE_PROLOGIO
6654 eval "$ac_cv_use_prologio"
6655 if test "$no_cache" != 1; then
6656 echo $ac_cv_use_prologio >> ${wx_arg_cache_file}.tmp
6659 if test "$wxUSE_PROLOGIO" = yes; then
6660 echo "$as_me:$LINENO: result: yes" >&5
6661 echo "${ECHO_T}yes" >&6
6663 echo "$as_me:$LINENO: result: no" >&5
6664 echo "${ECHO_T}no" >&6
6669 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-resources" >&5
6670 echo $ECHO_N "checking for --${enablestring:-enable}-resources... $ECHO_C" >&6
6672 # Check whether --enable-resources or --disable-resources was given.
6673 if test "${enable_resources+set}" = set; then
6674 enableval
="$enable_resources"
6676 if test "$enableval" = yes; then
6677 ac_cv_use_resources
='wxUSE_RESOURCES=yes'
6679 ac_cv_use_resources
='wxUSE_RESOURCES=no'
6684 LINE
=`grep "wxUSE_RESOURCES" ${wx_arg_cache_file}`
6685 if test "x$LINE" != x
; then
6686 eval "DEFAULT_$LINE"
6691 ac_cv_use_resources
='wxUSE_RESOURCES='$DEFAULT_wxUSE_RESOURCES
6695 eval "$ac_cv_use_resources"
6696 if test "$no_cache" != 1; then
6697 echo $ac_cv_use_resources >> ${wx_arg_cache_file}.tmp
6700 if test "$wxUSE_RESOURCES" = yes; then
6701 echo "$as_me:$LINENO: result: yes" >&5
6702 echo "${ECHO_T}yes" >&6
6704 echo "$as_me:$LINENO: result: no" >&5
6705 echo "${ECHO_T}no" >&6
6712 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-clipboard" >&5
6713 echo $ECHO_N "checking for --${enablestring:-enable}-clipboard... $ECHO_C" >&6
6715 # Check whether --enable-clipboard or --disable-clipboard was given.
6716 if test "${enable_clipboard+set}" = set; then
6717 enableval
="$enable_clipboard"
6719 if test "$enableval" = yes; then
6720 ac_cv_use_clipboard
='wxUSE_CLIPBOARD=yes'
6722 ac_cv_use_clipboard
='wxUSE_CLIPBOARD=no'
6727 LINE
=`grep "wxUSE_CLIPBOARD" ${wx_arg_cache_file}`
6728 if test "x$LINE" != x
; then
6729 eval "DEFAULT_$LINE"
6734 ac_cv_use_clipboard
='wxUSE_CLIPBOARD='$DEFAULT_wxUSE_CLIPBOARD
6738 eval "$ac_cv_use_clipboard"
6739 if test "$no_cache" != 1; then
6740 echo $ac_cv_use_clipboard >> ${wx_arg_cache_file}.tmp
6743 if test "$wxUSE_CLIPBOARD" = yes; then
6744 echo "$as_me:$LINENO: result: yes" >&5
6745 echo "${ECHO_T}yes" >&6
6747 echo "$as_me:$LINENO: result: no" >&5
6748 echo "${ECHO_T}no" >&6
6753 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dnd" >&5
6754 echo $ECHO_N "checking for --${enablestring:-enable}-dnd... $ECHO_C" >&6
6756 # Check whether --enable-dnd or --disable-dnd was given.
6757 if test "${enable_dnd+set}" = set; then
6758 enableval
="$enable_dnd"
6760 if test "$enableval" = yes; then
6761 ac_cv_use_dnd
='wxUSE_DRAG_AND_DROP=yes'
6763 ac_cv_use_dnd
='wxUSE_DRAG_AND_DROP=no'
6768 LINE
=`grep "wxUSE_DRAG_AND_DROP" ${wx_arg_cache_file}`
6769 if test "x$LINE" != x
; then
6770 eval "DEFAULT_$LINE"
6775 ac_cv_use_dnd
='wxUSE_DRAG_AND_DROP='$DEFAULT_wxUSE_DRAG_AND_DROP
6779 eval "$ac_cv_use_dnd"
6780 if test "$no_cache" != 1; then
6781 echo $ac_cv_use_dnd >> ${wx_arg_cache_file}.tmp
6784 if test "$wxUSE_DRAG_AND_DROP" = yes; then
6785 echo "$as_me:$LINENO: result: yes" >&5
6786 echo "${ECHO_T}yes" >&6
6788 echo "$as_me:$LINENO: result: no" >&5
6789 echo "${ECHO_T}no" >&6
6794 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-metafile" >&5
6795 echo $ECHO_N "checking for --${enablestring:-enable}-metafile... $ECHO_C" >&6
6797 # Check whether --enable-metafile or --disable-metafile was given.
6798 if test "${enable_metafile+set}" = set; then
6799 enableval
="$enable_metafile"
6801 if test "$enableval" = yes; then
6802 ac_cv_use_metafile
='wxUSE_METAFILE=yes'
6804 ac_cv_use_metafile
='wxUSE_METAFILE=no'
6809 LINE
=`grep "wxUSE_METAFILE" ${wx_arg_cache_file}`
6810 if test "x$LINE" != x
; then
6811 eval "DEFAULT_$LINE"
6816 ac_cv_use_metafile
='wxUSE_METAFILE='$DEFAULT_wxUSE_METAFILE
6820 eval "$ac_cv_use_metafile"
6821 if test "$no_cache" != 1; then
6822 echo $ac_cv_use_metafile >> ${wx_arg_cache_file}.tmp
6825 if test "$wxUSE_METAFILE" = yes; then
6826 echo "$as_me:$LINENO: result: yes" >&5
6827 echo "${ECHO_T}yes" >&6
6829 echo "$as_me:$LINENO: result: no" >&5
6830 echo "${ECHO_T}no" >&6
6838 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-controls" >&5
6839 echo $ECHO_N "checking for --${enablestring:-enable}-controls... $ECHO_C" >&6
6841 # Check whether --enable-controls or --disable-controls was given.
6842 if test "${enable_controls+set}" = set; then
6843 enableval
="$enable_controls"
6845 if test "$enableval" = yes; then
6846 ac_cv_use_controls
='wxUSE_CONTROLS=yes'
6848 ac_cv_use_controls
='wxUSE_CONTROLS=no'
6853 LINE
=`grep "wxUSE_CONTROLS" ${wx_arg_cache_file}`
6854 if test "x$LINE" != x
; then
6855 eval "DEFAULT_$LINE"
6860 ac_cv_use_controls
='wxUSE_CONTROLS='$DEFAULT_wxUSE_CONTROLS
6864 eval "$ac_cv_use_controls"
6865 if test "$no_cache" != 1; then
6866 echo $ac_cv_use_controls >> ${wx_arg_cache_file}.tmp
6869 if test "$wxUSE_CONTROLS" = yes; then
6870 echo "$as_me:$LINENO: result: yes" >&5
6871 echo "${ECHO_T}yes" >&6
6873 echo "$as_me:$LINENO: result: no" >&5
6874 echo "${ECHO_T}no" >&6
6878 if test "$wxUSE_CONTROLS" = "yes"; then
6879 DEFAULT_wxUSE_ACCEL
=yes
6880 DEFAULT_wxUSE_BMPBUTTON
=yes
6881 DEFAULT_wxUSE_BUTTON
=yes
6882 DEFAULT_wxUSE_CALCTRL
=no
6883 DEFAULT_wxUSE_CARET
=yes
6884 DEFAULT_wxUSE_COMBOBOX
=yes
6885 DEFAULT_wxUSE_CHECKBOX
=yes
6886 DEFAULT_wxUSE_CHECKLISTBOX
=yes
6887 DEFAULT_wxUSE_CHOICE
=yes
6888 DEFAULT_wxUSE_GAUGE
=yes
6889 DEFAULT_wxUSE_GRID
=yes
6890 DEFAULT_wxUSE_IMAGLIST
=yes
6891 DEFAULT_wxUSE_LISTBOOK
=yes
6892 DEFAULT_wxUSE_LISTBOX
=yes
6893 DEFAULT_wxUSE_LISTCTRL
=yes
6894 DEFAULT_wxUSE_NOTEBOOK
=yes
6895 DEFAULT_wxUSE_RADIOBOX
=yes
6896 DEFAULT_wxUSE_RADIOBTN
=yes
6897 DEFAULT_wxUSE_SASH
=yes
6898 DEFAULT_wxUSE_SCROLLBAR
=yes
6899 DEFAULT_wxUSE_SLIDER
=yes
6900 DEFAULT_wxUSE_SPINBTN
=yes
6901 DEFAULT_wxUSE_SPINCTRL
=yes
6902 DEFAULT_wxUSE_SPLITTER
=yes
6903 DEFAULT_wxUSE_STATBMP
=yes
6904 DEFAULT_wxUSE_STATBOX
=yes
6905 DEFAULT_wxUSE_STATLINE
=yes
6906 DEFAULT_wxUSE_STATUSBAR
=yes
6907 DEFAULT_wxUSE_TAB_DIALOG
=yes
6908 DEFAULT_wxUSE_TOGGLEBTN
=yes
6909 DEFAULT_wxUSE_TOOLBAR
=yes
6910 DEFAULT_wxUSE_TOOLBAR_NATIVE
=yes
6911 DEFAULT_wxUSE_TOOLBAR_SIMPLE
=yes
6912 DEFAULT_wxUSE_TOOLTIPS
=yes
6913 DEFAULT_wxUSE_TREECTRL
=yes
6914 DEFAULT_wxUSE_POPUPWIN
=yes
6915 DEFAULT_wxUSE_TIPWINDOW
=yes
6916 elif test "$wxUSE_CONTROLS" = "no"; then
6917 DEFAULT_wxUSE_ACCEL
=no
6918 DEFAULT_wxUSE_BMPBUTTON
=no
6919 DEFAULT_wxUSE_BUTTON
=no
6920 DEFAULT_wxUSE_CALCTRL
=no
6921 DEFAULT_wxUSE_CARET
=no
6922 DEFAULT_wxUSE_COMBOBOX
=no
6923 DEFAULT_wxUSE_CHECKBOX
=no
6924 DEFAULT_wxUSE_CHECKLISTBOX
=no
6925 DEFAULT_wxUSE_CHOICE
=no
6926 DEFAULT_wxUSE_GAUGE
=no
6927 DEFAULT_wxUSE_GRID
=no
6928 DEFAULT_wxUSE_IMAGLIST
=no
6929 DEFAULT_wxUSE_LISTBOOK
=no
6930 DEFAULT_wxUSE_LISTBOX
=no
6931 DEFAULT_wxUSE_LISTCTRL
=no
6932 DEFAULT_wxUSE_NOTEBOOK
=no
6933 DEFAULT_wxUSE_RADIOBOX
=no
6934 DEFAULT_wxUSE_RADIOBTN
=no
6935 DEFAULT_wxUSE_SASH
=no
6936 DEFAULT_wxUSE_SCROLLBAR
=no
6937 DEFAULT_wxUSE_SLIDER
=no
6938 DEFAULT_wxUSE_SPINBTN
=no
6939 DEFAULT_wxUSE_SPINCTRL
=no
6940 DEFAULT_wxUSE_SPLITTER
=no
6941 DEFAULT_wxUSE_STATBMP
=no
6942 DEFAULT_wxUSE_STATBOX
=no
6943 DEFAULT_wxUSE_STATLINE
=no
6944 DEFAULT_wxUSE_STATUSBAR
=no
6945 DEFAULT_wxUSE_TAB_DIALOG
=no
6946 DEFAULT_wxUSE_TOGGLEBTN
=no
6947 DEFAULT_wxUSE_TOOLBAR
=no
6948 DEFAULT_wxUSE_TOOLBAR_NATIVE
=no
6949 DEFAULT_wxUSE_TOOLBAR_SIMPLE
=no
6950 DEFAULT_wxUSE_TOOLTIPS
=no
6951 DEFAULT_wxUSE_TREECTRL
=no
6952 DEFAULT_wxUSE_POPUPWIN
=no
6953 DEFAULT_wxUSE_TIPWINDOW
=no
6956 ## FIXME: This is a blatant hack
6957 if test "x$wxUSE_COCOA" != "x" -a "$wxUSE_COCOA" != "0" ; then
6958 wxUSE_PRINTING_ARCHITECTURE
=no
6959 wxUSE_DRAG_AND_DROP
=no
6960 # Generic notebook requires tab dialog
6961 DEFAULT_wxUSE_TABDIALOG
=yes
6962 DEFAULT_wxUSE_SCROLLBAR
=no
6963 DEFAULT_wxUSE_TOOLTIPS
=no
6964 DEFAULT_wxUSE_DRAGIMAGE
=no
6969 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-accel" >&5
6970 echo $ECHO_N "checking for --${enablestring:-enable}-accel... $ECHO_C" >&6
6972 # Check whether --enable-accel or --disable-accel was given.
6973 if test "${enable_accel+set}" = set; then
6974 enableval
="$enable_accel"
6976 if test "$enableval" = yes; then
6977 ac_cv_use_accel
='wxUSE_ACCEL=yes'
6979 ac_cv_use_accel
='wxUSE_ACCEL=no'
6984 LINE
=`grep "wxUSE_ACCEL" ${wx_arg_cache_file}`
6985 if test "x$LINE" != x
; then
6986 eval "DEFAULT_$LINE"
6991 ac_cv_use_accel
='wxUSE_ACCEL='$DEFAULT_wxUSE_ACCEL
6995 eval "$ac_cv_use_accel"
6996 if test "$no_cache" != 1; then
6997 echo $ac_cv_use_accel >> ${wx_arg_cache_file}.tmp
7000 if test "$wxUSE_ACCEL" = yes; then
7001 echo "$as_me:$LINENO: result: yes" >&5
7002 echo "${ECHO_T}yes" >&6
7004 echo "$as_me:$LINENO: result: no" >&5
7005 echo "${ECHO_T}no" >&6
7010 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-button" >&5
7011 echo $ECHO_N "checking for --${enablestring:-enable}-button... $ECHO_C" >&6
7013 # Check whether --enable-button or --disable-button was given.
7014 if test "${enable_button+set}" = set; then
7015 enableval
="$enable_button"
7017 if test "$enableval" = yes; then
7018 ac_cv_use_button
='wxUSE_BUTTON=yes'
7020 ac_cv_use_button
='wxUSE_BUTTON=no'
7025 LINE
=`grep "wxUSE_BUTTON" ${wx_arg_cache_file}`
7026 if test "x$LINE" != x
; then
7027 eval "DEFAULT_$LINE"
7032 ac_cv_use_button
='wxUSE_BUTTON='$DEFAULT_wxUSE_BUTTON
7036 eval "$ac_cv_use_button"
7037 if test "$no_cache" != 1; then
7038 echo $ac_cv_use_button >> ${wx_arg_cache_file}.tmp
7041 if test "$wxUSE_BUTTON" = yes; then
7042 echo "$as_me:$LINENO: result: yes" >&5
7043 echo "${ECHO_T}yes" >&6
7045 echo "$as_me:$LINENO: result: no" >&5
7046 echo "${ECHO_T}no" >&6
7051 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-bmpbutton" >&5
7052 echo $ECHO_N "checking for --${enablestring:-enable}-bmpbutton... $ECHO_C" >&6
7054 # Check whether --enable-bmpbutton or --disable-bmpbutton was given.
7055 if test "${enable_bmpbutton+set}" = set; then
7056 enableval
="$enable_bmpbutton"
7058 if test "$enableval" = yes; then
7059 ac_cv_use_bmpbutton
='wxUSE_BMPBUTTON=yes'
7061 ac_cv_use_bmpbutton
='wxUSE_BMPBUTTON=no'
7066 LINE
=`grep "wxUSE_BMPBUTTON" ${wx_arg_cache_file}`
7067 if test "x$LINE" != x
; then
7068 eval "DEFAULT_$LINE"
7073 ac_cv_use_bmpbutton
='wxUSE_BMPBUTTON='$DEFAULT_wxUSE_BMPBUTTON
7077 eval "$ac_cv_use_bmpbutton"
7078 if test "$no_cache" != 1; then
7079 echo $ac_cv_use_bmpbutton >> ${wx_arg_cache_file}.tmp
7082 if test "$wxUSE_BMPBUTTON" = yes; then
7083 echo "$as_me:$LINENO: result: yes" >&5
7084 echo "${ECHO_T}yes" >&6
7086 echo "$as_me:$LINENO: result: no" >&5
7087 echo "${ECHO_T}no" >&6
7092 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-calendar" >&5
7093 echo $ECHO_N "checking for --${enablestring:-enable}-calendar... $ECHO_C" >&6
7095 # Check whether --enable-calendar or --disable-calendar was given.
7096 if test "${enable_calendar+set}" = set; then
7097 enableval
="$enable_calendar"
7099 if test "$enableval" = yes; then
7100 ac_cv_use_calendar
='wxUSE_CALCTRL=yes'
7102 ac_cv_use_calendar
='wxUSE_CALCTRL=no'
7107 LINE
=`grep "wxUSE_CALCTRL" ${wx_arg_cache_file}`
7108 if test "x$LINE" != x
; then
7109 eval "DEFAULT_$LINE"
7114 ac_cv_use_calendar
='wxUSE_CALCTRL='$DEFAULT_wxUSE_CALCTRL
7118 eval "$ac_cv_use_calendar"
7119 if test "$no_cache" != 1; then
7120 echo $ac_cv_use_calendar >> ${wx_arg_cache_file}.tmp
7123 if test "$wxUSE_CALCTRL" = yes; then
7124 echo "$as_me:$LINENO: result: yes" >&5
7125 echo "${ECHO_T}yes" >&6
7127 echo "$as_me:$LINENO: result: no" >&5
7128 echo "${ECHO_T}no" >&6
7133 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-caret" >&5
7134 echo $ECHO_N "checking for --${enablestring:-enable}-caret... $ECHO_C" >&6
7136 # Check whether --enable-caret or --disable-caret was given.
7137 if test "${enable_caret+set}" = set; then
7138 enableval
="$enable_caret"
7140 if test "$enableval" = yes; then
7141 ac_cv_use_caret
='wxUSE_CARET=yes'
7143 ac_cv_use_caret
='wxUSE_CARET=no'
7148 LINE
=`grep "wxUSE_CARET" ${wx_arg_cache_file}`
7149 if test "x$LINE" != x
; then
7150 eval "DEFAULT_$LINE"
7155 ac_cv_use_caret
='wxUSE_CARET='$DEFAULT_wxUSE_CARET
7159 eval "$ac_cv_use_caret"
7160 if test "$no_cache" != 1; then
7161 echo $ac_cv_use_caret >> ${wx_arg_cache_file}.tmp
7164 if test "$wxUSE_CARET" = yes; then
7165 echo "$as_me:$LINENO: result: yes" >&5
7166 echo "${ECHO_T}yes" >&6
7168 echo "$as_me:$LINENO: result: no" >&5
7169 echo "${ECHO_T}no" >&6
7174 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-checkbox" >&5
7175 echo $ECHO_N "checking for --${enablestring:-enable}-checkbox... $ECHO_C" >&6
7177 # Check whether --enable-checkbox or --disable-checkbox was given.
7178 if test "${enable_checkbox+set}" = set; then
7179 enableval
="$enable_checkbox"
7181 if test "$enableval" = yes; then
7182 ac_cv_use_checkbox
='wxUSE_CHECKBOX=yes'
7184 ac_cv_use_checkbox
='wxUSE_CHECKBOX=no'
7189 LINE
=`grep "wxUSE_CHECKBOX" ${wx_arg_cache_file}`
7190 if test "x$LINE" != x
; then
7191 eval "DEFAULT_$LINE"
7196 ac_cv_use_checkbox
='wxUSE_CHECKBOX='$DEFAULT_wxUSE_CHECKBOX
7200 eval "$ac_cv_use_checkbox"
7201 if test "$no_cache" != 1; then
7202 echo $ac_cv_use_checkbox >> ${wx_arg_cache_file}.tmp
7205 if test "$wxUSE_CHECKBOX" = yes; then
7206 echo "$as_me:$LINENO: result: yes" >&5
7207 echo "${ECHO_T}yes" >&6
7209 echo "$as_me:$LINENO: result: no" >&5
7210 echo "${ECHO_T}no" >&6
7215 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-checklst" >&5
7216 echo $ECHO_N "checking for --${enablestring:-enable}-checklst... $ECHO_C" >&6
7218 # Check whether --enable-checklst or --disable-checklst was given.
7219 if test "${enable_checklst+set}" = set; then
7220 enableval
="$enable_checklst"
7222 if test "$enableval" = yes; then
7223 ac_cv_use_checklst
='wxUSE_CHECKLST=yes'
7225 ac_cv_use_checklst
='wxUSE_CHECKLST=no'
7230 LINE
=`grep "wxUSE_CHECKLST" ${wx_arg_cache_file}`
7231 if test "x$LINE" != x
; then
7232 eval "DEFAULT_$LINE"
7237 ac_cv_use_checklst
='wxUSE_CHECKLST='$DEFAULT_wxUSE_CHECKLST
7241 eval "$ac_cv_use_checklst"
7242 if test "$no_cache" != 1; then
7243 echo $ac_cv_use_checklst >> ${wx_arg_cache_file}.tmp
7246 if test "$wxUSE_CHECKLST" = yes; then
7247 echo "$as_me:$LINENO: result: yes" >&5
7248 echo "${ECHO_T}yes" >&6
7250 echo "$as_me:$LINENO: result: no" >&5
7251 echo "${ECHO_T}no" >&6
7256 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choice" >&5
7257 echo $ECHO_N "checking for --${enablestring:-enable}-choice... $ECHO_C" >&6
7259 # Check whether --enable-choice or --disable-choice was given.
7260 if test "${enable_choice+set}" = set; then
7261 enableval
="$enable_choice"
7263 if test "$enableval" = yes; then
7264 ac_cv_use_choice
='wxUSE_CHOICE=yes'
7266 ac_cv_use_choice
='wxUSE_CHOICE=no'
7271 LINE
=`grep "wxUSE_CHOICE" ${wx_arg_cache_file}`
7272 if test "x$LINE" != x
; then
7273 eval "DEFAULT_$LINE"
7278 ac_cv_use_choice
='wxUSE_CHOICE='$DEFAULT_wxUSE_CHOICE
7282 eval "$ac_cv_use_choice"
7283 if test "$no_cache" != 1; then
7284 echo $ac_cv_use_choice >> ${wx_arg_cache_file}.tmp
7287 if test "$wxUSE_CHOICE" = yes; then
7288 echo "$as_me:$LINENO: result: yes" >&5
7289 echo "${ECHO_T}yes" >&6
7291 echo "$as_me:$LINENO: result: no" >&5
7292 echo "${ECHO_T}no" >&6
7297 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-combobox" >&5
7298 echo $ECHO_N "checking for --${enablestring:-enable}-combobox... $ECHO_C" >&6
7300 # Check whether --enable-combobox or --disable-combobox was given.
7301 if test "${enable_combobox+set}" = set; then
7302 enableval
="$enable_combobox"
7304 if test "$enableval" = yes; then
7305 ac_cv_use_combobox
='wxUSE_COMBOBOX=yes'
7307 ac_cv_use_combobox
='wxUSE_COMBOBOX=no'
7312 LINE
=`grep "wxUSE_COMBOBOX" ${wx_arg_cache_file}`
7313 if test "x$LINE" != x
; then
7314 eval "DEFAULT_$LINE"
7319 ac_cv_use_combobox
='wxUSE_COMBOBOX='$DEFAULT_wxUSE_COMBOBOX
7323 eval "$ac_cv_use_combobox"
7324 if test "$no_cache" != 1; then
7325 echo $ac_cv_use_combobox >> ${wx_arg_cache_file}.tmp
7328 if test "$wxUSE_COMBOBOX" = yes; then
7329 echo "$as_me:$LINENO: result: yes" >&5
7330 echo "${ECHO_T}yes" >&6
7332 echo "$as_me:$LINENO: result: no" >&5
7333 echo "${ECHO_T}no" >&6
7338 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-display" >&5
7339 echo $ECHO_N "checking for --${enablestring:-enable}-display... $ECHO_C" >&6
7341 # Check whether --enable-display or --disable-display was given.
7342 if test "${enable_display+set}" = set; then
7343 enableval
="$enable_display"
7345 if test "$enableval" = yes; then
7346 ac_cv_use_display
='wxUSE_DISPLAY=yes'
7348 ac_cv_use_display
='wxUSE_DISPLAY=no'
7353 LINE
=`grep "wxUSE_DISPLAY" ${wx_arg_cache_file}`
7354 if test "x$LINE" != x
; then
7355 eval "DEFAULT_$LINE"
7360 ac_cv_use_display
='wxUSE_DISPLAY='$DEFAULT_wxUSE_DISPLAY
7364 eval "$ac_cv_use_display"
7365 if test "$no_cache" != 1; then
7366 echo $ac_cv_use_display >> ${wx_arg_cache_file}.tmp
7369 if test "$wxUSE_DISPLAY" = yes; then
7370 echo "$as_me:$LINENO: result: yes" >&5
7371 echo "${ECHO_T}yes" >&6
7373 echo "$as_me:$LINENO: result: no" >&5
7374 echo "${ECHO_T}no" >&6
7379 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gauge" >&5
7380 echo $ECHO_N "checking for --${enablestring:-enable}-gauge... $ECHO_C" >&6
7382 # Check whether --enable-gauge or --disable-gauge was given.
7383 if test "${enable_gauge+set}" = set; then
7384 enableval
="$enable_gauge"
7386 if test "$enableval" = yes; then
7387 ac_cv_use_gauge
='wxUSE_GAUGE=yes'
7389 ac_cv_use_gauge
='wxUSE_GAUGE=no'
7394 LINE
=`grep "wxUSE_GAUGE" ${wx_arg_cache_file}`
7395 if test "x$LINE" != x
; then
7396 eval "DEFAULT_$LINE"
7401 ac_cv_use_gauge
='wxUSE_GAUGE='$DEFAULT_wxUSE_GAUGE
7405 eval "$ac_cv_use_gauge"
7406 if test "$no_cache" != 1; then
7407 echo $ac_cv_use_gauge >> ${wx_arg_cache_file}.tmp
7410 if test "$wxUSE_GAUGE" = yes; then
7411 echo "$as_me:$LINENO: result: yes" >&5
7412 echo "${ECHO_T}yes" >&6
7414 echo "$as_me:$LINENO: result: no" >&5
7415 echo "${ECHO_T}no" >&6
7420 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-grid" >&5
7421 echo $ECHO_N "checking for --${enablestring:-enable}-grid... $ECHO_C" >&6
7423 # Check whether --enable-grid or --disable-grid was given.
7424 if test "${enable_grid+set}" = set; then
7425 enableval
="$enable_grid"
7427 if test "$enableval" = yes; then
7428 ac_cv_use_grid
='wxUSE_GRID=yes'
7430 ac_cv_use_grid
='wxUSE_GRID=no'
7435 LINE
=`grep "wxUSE_GRID" ${wx_arg_cache_file}`
7436 if test "x$LINE" != x
; then
7437 eval "DEFAULT_$LINE"
7442 ac_cv_use_grid
='wxUSE_GRID='$DEFAULT_wxUSE_GRID
7446 eval "$ac_cv_use_grid"
7447 if test "$no_cache" != 1; then
7448 echo $ac_cv_use_grid >> ${wx_arg_cache_file}.tmp
7451 if test "$wxUSE_GRID" = yes; then
7452 echo "$as_me:$LINENO: result: yes" >&5
7453 echo "${ECHO_T}yes" >&6
7455 echo "$as_me:$LINENO: result: no" >&5
7456 echo "${ECHO_T}no" >&6
7461 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-imaglist" >&5
7462 echo $ECHO_N "checking for --${enablestring:-enable}-imaglist... $ECHO_C" >&6
7464 # Check whether --enable-imaglist or --disable-imaglist was given.
7465 if test "${enable_imaglist+set}" = set; then
7466 enableval
="$enable_imaglist"
7468 if test "$enableval" = yes; then
7469 ac_cv_use_imaglist
='wxUSE_IMAGLIST=yes'
7471 ac_cv_use_imaglist
='wxUSE_IMAGLIST=no'
7476 LINE
=`grep "wxUSE_IMAGLIST" ${wx_arg_cache_file}`
7477 if test "x$LINE" != x
; then
7478 eval "DEFAULT_$LINE"
7483 ac_cv_use_imaglist
='wxUSE_IMAGLIST='$DEFAULT_wxUSE_IMAGLIST
7487 eval "$ac_cv_use_imaglist"
7488 if test "$no_cache" != 1; then
7489 echo $ac_cv_use_imaglist >> ${wx_arg_cache_file}.tmp
7492 if test "$wxUSE_IMAGLIST" = yes; then
7493 echo "$as_me:$LINENO: result: yes" >&5
7494 echo "${ECHO_T}yes" >&6
7496 echo "$as_me:$LINENO: result: no" >&5
7497 echo "${ECHO_T}no" >&6
7502 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listbook" >&5
7503 echo $ECHO_N "checking for --${enablestring:-enable}-listbook... $ECHO_C" >&6
7505 # Check whether --enable-listbook or --disable-listbook was given.
7506 if test "${enable_listbook+set}" = set; then
7507 enableval
="$enable_listbook"
7509 if test "$enableval" = yes; then
7510 ac_cv_use_listbook
='wxUSE_LISTBOOK=yes'
7512 ac_cv_use_listbook
='wxUSE_LISTBOOK=no'
7517 LINE
=`grep "wxUSE_LISTBOOK" ${wx_arg_cache_file}`
7518 if test "x$LINE" != x
; then
7519 eval "DEFAULT_$LINE"
7524 ac_cv_use_listbook
='wxUSE_LISTBOOK='$DEFAULT_wxUSE_LISTBOOK
7528 eval "$ac_cv_use_listbook"
7529 if test "$no_cache" != 1; then
7530 echo $ac_cv_use_listbook >> ${wx_arg_cache_file}.tmp
7533 if test "$wxUSE_LISTBOOK" = yes; then
7534 echo "$as_me:$LINENO: result: yes" >&5
7535 echo "${ECHO_T}yes" >&6
7537 echo "$as_me:$LINENO: result: no" >&5
7538 echo "${ECHO_T}no" >&6
7543 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listbox" >&5
7544 echo $ECHO_N "checking for --${enablestring:-enable}-listbox... $ECHO_C" >&6
7546 # Check whether --enable-listbox or --disable-listbox was given.
7547 if test "${enable_listbox+set}" = set; then
7548 enableval
="$enable_listbox"
7550 if test "$enableval" = yes; then
7551 ac_cv_use_listbox
='wxUSE_LISTBOX=yes'
7553 ac_cv_use_listbox
='wxUSE_LISTBOX=no'
7558 LINE
=`grep "wxUSE_LISTBOX" ${wx_arg_cache_file}`
7559 if test "x$LINE" != x
; then
7560 eval "DEFAULT_$LINE"
7565 ac_cv_use_listbox
='wxUSE_LISTBOX='$DEFAULT_wxUSE_LISTBOX
7569 eval "$ac_cv_use_listbox"
7570 if test "$no_cache" != 1; then
7571 echo $ac_cv_use_listbox >> ${wx_arg_cache_file}.tmp
7574 if test "$wxUSE_LISTBOX" = yes; then
7575 echo "$as_me:$LINENO: result: yes" >&5
7576 echo "${ECHO_T}yes" >&6
7578 echo "$as_me:$LINENO: result: no" >&5
7579 echo "${ECHO_T}no" >&6
7584 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listctrl" >&5
7585 echo $ECHO_N "checking for --${enablestring:-enable}-listctrl... $ECHO_C" >&6
7587 # Check whether --enable-listctrl or --disable-listctrl was given.
7588 if test "${enable_listctrl+set}" = set; then
7589 enableval
="$enable_listctrl"
7591 if test "$enableval" = yes; then
7592 ac_cv_use_listctrl
='wxUSE_LISTCTRL=yes'
7594 ac_cv_use_listctrl
='wxUSE_LISTCTRL=no'
7599 LINE
=`grep "wxUSE_LISTCTRL" ${wx_arg_cache_file}`
7600 if test "x$LINE" != x
; then
7601 eval "DEFAULT_$LINE"
7606 ac_cv_use_listctrl
='wxUSE_LISTCTRL='$DEFAULT_wxUSE_LISTCTRL
7610 eval "$ac_cv_use_listctrl"
7611 if test "$no_cache" != 1; then
7612 echo $ac_cv_use_listctrl >> ${wx_arg_cache_file}.tmp
7615 if test "$wxUSE_LISTCTRL" = yes; then
7616 echo "$as_me:$LINENO: result: yes" >&5
7617 echo "${ECHO_T}yes" >&6
7619 echo "$as_me:$LINENO: result: no" >&5
7620 echo "${ECHO_T}no" >&6
7625 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-notebook" >&5
7626 echo $ECHO_N "checking for --${enablestring:-enable}-notebook... $ECHO_C" >&6
7628 # Check whether --enable-notebook or --disable-notebook was given.
7629 if test "${enable_notebook+set}" = set; then
7630 enableval
="$enable_notebook"
7632 if test "$enableval" = yes; then
7633 ac_cv_use_notebook
='wxUSE_NOTEBOOK=yes'
7635 ac_cv_use_notebook
='wxUSE_NOTEBOOK=no'
7640 LINE
=`grep "wxUSE_NOTEBOOK" ${wx_arg_cache_file}`
7641 if test "x$LINE" != x
; then
7642 eval "DEFAULT_$LINE"
7647 ac_cv_use_notebook
='wxUSE_NOTEBOOK='$DEFAULT_wxUSE_NOTEBOOK
7651 eval "$ac_cv_use_notebook"
7652 if test "$no_cache" != 1; then
7653 echo $ac_cv_use_notebook >> ${wx_arg_cache_file}.tmp
7656 if test "$wxUSE_NOTEBOOK" = yes; then
7657 echo "$as_me:$LINENO: result: yes" >&5
7658 echo "${ECHO_T}yes" >&6
7660 echo "$as_me:$LINENO: result: no" >&5
7661 echo "${ECHO_T}no" >&6
7666 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-radiobox" >&5
7667 echo $ECHO_N "checking for --${enablestring:-enable}-radiobox... $ECHO_C" >&6
7669 # Check whether --enable-radiobox or --disable-radiobox was given.
7670 if test "${enable_radiobox+set}" = set; then
7671 enableval
="$enable_radiobox"
7673 if test "$enableval" = yes; then
7674 ac_cv_use_radiobox
='wxUSE_RADIOBOX=yes'
7676 ac_cv_use_radiobox
='wxUSE_RADIOBOX=no'
7681 LINE
=`grep "wxUSE_RADIOBOX" ${wx_arg_cache_file}`
7682 if test "x$LINE" != x
; then
7683 eval "DEFAULT_$LINE"
7688 ac_cv_use_radiobox
='wxUSE_RADIOBOX='$DEFAULT_wxUSE_RADIOBOX
7692 eval "$ac_cv_use_radiobox"
7693 if test "$no_cache" != 1; then
7694 echo $ac_cv_use_radiobox >> ${wx_arg_cache_file}.tmp
7697 if test "$wxUSE_RADIOBOX" = yes; then
7698 echo "$as_me:$LINENO: result: yes" >&5
7699 echo "${ECHO_T}yes" >&6
7701 echo "$as_me:$LINENO: result: no" >&5
7702 echo "${ECHO_T}no" >&6
7707 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-radiobtn" >&5
7708 echo $ECHO_N "checking for --${enablestring:-enable}-radiobtn... $ECHO_C" >&6
7710 # Check whether --enable-radiobtn or --disable-radiobtn was given.
7711 if test "${enable_radiobtn+set}" = set; then
7712 enableval
="$enable_radiobtn"
7714 if test "$enableval" = yes; then
7715 ac_cv_use_radiobtn
='wxUSE_RADIOBTN=yes'
7717 ac_cv_use_radiobtn
='wxUSE_RADIOBTN=no'
7722 LINE
=`grep "wxUSE_RADIOBTN" ${wx_arg_cache_file}`
7723 if test "x$LINE" != x
; then
7724 eval "DEFAULT_$LINE"
7729 ac_cv_use_radiobtn
='wxUSE_RADIOBTN='$DEFAULT_wxUSE_RADIOBTN
7733 eval "$ac_cv_use_radiobtn"
7734 if test "$no_cache" != 1; then
7735 echo $ac_cv_use_radiobtn >> ${wx_arg_cache_file}.tmp
7738 if test "$wxUSE_RADIOBTN" = yes; then
7739 echo "$as_me:$LINENO: result: yes" >&5
7740 echo "${ECHO_T}yes" >&6
7742 echo "$as_me:$LINENO: result: no" >&5
7743 echo "${ECHO_T}no" >&6
7748 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sash" >&5
7749 echo $ECHO_N "checking for --${enablestring:-enable}-sash... $ECHO_C" >&6
7751 # Check whether --enable-sash or --disable-sash was given.
7752 if test "${enable_sash+set}" = set; then
7753 enableval
="$enable_sash"
7755 if test "$enableval" = yes; then
7756 ac_cv_use_sash
='wxUSE_SASH=yes'
7758 ac_cv_use_sash
='wxUSE_SASH=no'
7763 LINE
=`grep "wxUSE_SASH" ${wx_arg_cache_file}`
7764 if test "x$LINE" != x
; then
7765 eval "DEFAULT_$LINE"
7770 ac_cv_use_sash
='wxUSE_SASH='$DEFAULT_wxUSE_SASH
7774 eval "$ac_cv_use_sash"
7775 if test "$no_cache" != 1; then
7776 echo $ac_cv_use_sash >> ${wx_arg_cache_file}.tmp
7779 if test "$wxUSE_SASH" = yes; then
7780 echo "$as_me:$LINENO: result: yes" >&5
7781 echo "${ECHO_T}yes" >&6
7783 echo "$as_me:$LINENO: result: no" >&5
7784 echo "${ECHO_T}no" >&6
7789 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-scrollbar" >&5
7790 echo $ECHO_N "checking for --${enablestring:-enable}-scrollbar... $ECHO_C" >&6
7792 # Check whether --enable-scrollbar or --disable-scrollbar was given.
7793 if test "${enable_scrollbar+set}" = set; then
7794 enableval
="$enable_scrollbar"
7796 if test "$enableval" = yes; then
7797 ac_cv_use_scrollbar
='wxUSE_SCROLLBAR=yes'
7799 ac_cv_use_scrollbar
='wxUSE_SCROLLBAR=no'
7804 LINE
=`grep "wxUSE_SCROLLBAR" ${wx_arg_cache_file}`
7805 if test "x$LINE" != x
; then
7806 eval "DEFAULT_$LINE"
7811 ac_cv_use_scrollbar
='wxUSE_SCROLLBAR='$DEFAULT_wxUSE_SCROLLBAR
7815 eval "$ac_cv_use_scrollbar"
7816 if test "$no_cache" != 1; then
7817 echo $ac_cv_use_scrollbar >> ${wx_arg_cache_file}.tmp
7820 if test "$wxUSE_SCROLLBAR" = yes; then
7821 echo "$as_me:$LINENO: result: yes" >&5
7822 echo "${ECHO_T}yes" >&6
7824 echo "$as_me:$LINENO: result: no" >&5
7825 echo "${ECHO_T}no" >&6
7830 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-slider" >&5
7831 echo $ECHO_N "checking for --${enablestring:-enable}-slider... $ECHO_C" >&6
7833 # Check whether --enable-slider or --disable-slider was given.
7834 if test "${enable_slider+set}" = set; then
7835 enableval
="$enable_slider"
7837 if test "$enableval" = yes; then
7838 ac_cv_use_slider
='wxUSE_SLIDER=yes'
7840 ac_cv_use_slider
='wxUSE_SLIDER=no'
7845 LINE
=`grep "wxUSE_SLIDER" ${wx_arg_cache_file}`
7846 if test "x$LINE" != x
; then
7847 eval "DEFAULT_$LINE"
7852 ac_cv_use_slider
='wxUSE_SLIDER='$DEFAULT_wxUSE_SLIDER
7856 eval "$ac_cv_use_slider"
7857 if test "$no_cache" != 1; then
7858 echo $ac_cv_use_slider >> ${wx_arg_cache_file}.tmp
7861 if test "$wxUSE_SLIDER" = yes; then
7862 echo "$as_me:$LINENO: result: yes" >&5
7863 echo "${ECHO_T}yes" >&6
7865 echo "$as_me:$LINENO: result: no" >&5
7866 echo "${ECHO_T}no" >&6
7871 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-spinbtn" >&5
7872 echo $ECHO_N "checking for --${enablestring:-enable}-spinbtn... $ECHO_C" >&6
7874 # Check whether --enable-spinbtn or --disable-spinbtn was given.
7875 if test "${enable_spinbtn+set}" = set; then
7876 enableval
="$enable_spinbtn"
7878 if test "$enableval" = yes; then
7879 ac_cv_use_spinbtn
='wxUSE_SPINBTN=yes'
7881 ac_cv_use_spinbtn
='wxUSE_SPINBTN=no'
7886 LINE
=`grep "wxUSE_SPINBTN" ${wx_arg_cache_file}`
7887 if test "x$LINE" != x
; then
7888 eval "DEFAULT_$LINE"
7893 ac_cv_use_spinbtn
='wxUSE_SPINBTN='$DEFAULT_wxUSE_SPINBTN
7897 eval "$ac_cv_use_spinbtn"
7898 if test "$no_cache" != 1; then
7899 echo $ac_cv_use_spinbtn >> ${wx_arg_cache_file}.tmp
7902 if test "$wxUSE_SPINBTN" = yes; then
7903 echo "$as_me:$LINENO: result: yes" >&5
7904 echo "${ECHO_T}yes" >&6
7906 echo "$as_me:$LINENO: result: no" >&5
7907 echo "${ECHO_T}no" >&6
7912 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-spinctrl" >&5
7913 echo $ECHO_N "checking for --${enablestring:-enable}-spinctrl... $ECHO_C" >&6
7915 # Check whether --enable-spinctrl or --disable-spinctrl was given.
7916 if test "${enable_spinctrl+set}" = set; then
7917 enableval
="$enable_spinctrl"
7919 if test "$enableval" = yes; then
7920 ac_cv_use_spinctrl
='wxUSE_SPINCTRL=yes'
7922 ac_cv_use_spinctrl
='wxUSE_SPINCTRL=no'
7927 LINE
=`grep "wxUSE_SPINCTRL" ${wx_arg_cache_file}`
7928 if test "x$LINE" != x
; then
7929 eval "DEFAULT_$LINE"
7934 ac_cv_use_spinctrl
='wxUSE_SPINCTRL='$DEFAULT_wxUSE_SPINCTRL
7938 eval "$ac_cv_use_spinctrl"
7939 if test "$no_cache" != 1; then
7940 echo $ac_cv_use_spinctrl >> ${wx_arg_cache_file}.tmp
7943 if test "$wxUSE_SPINCTRL" = yes; then
7944 echo "$as_me:$LINENO: result: yes" >&5
7945 echo "${ECHO_T}yes" >&6
7947 echo "$as_me:$LINENO: result: no" >&5
7948 echo "${ECHO_T}no" >&6
7953 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splitter" >&5
7954 echo $ECHO_N "checking for --${enablestring:-enable}-splitter... $ECHO_C" >&6
7956 # Check whether --enable-splitter or --disable-splitter was given.
7957 if test "${enable_splitter+set}" = set; then
7958 enableval
="$enable_splitter"
7960 if test "$enableval" = yes; then
7961 ac_cv_use_splitter
='wxUSE_SPLITTER=yes'
7963 ac_cv_use_splitter
='wxUSE_SPLITTER=no'
7968 LINE
=`grep "wxUSE_SPLITTER" ${wx_arg_cache_file}`
7969 if test "x$LINE" != x
; then
7970 eval "DEFAULT_$LINE"
7975 ac_cv_use_splitter
='wxUSE_SPLITTER='$DEFAULT_wxUSE_SPLITTER
7979 eval "$ac_cv_use_splitter"
7980 if test "$no_cache" != 1; then
7981 echo $ac_cv_use_splitter >> ${wx_arg_cache_file}.tmp
7984 if test "$wxUSE_SPLITTER" = yes; then
7985 echo "$as_me:$LINENO: result: yes" >&5
7986 echo "${ECHO_T}yes" >&6
7988 echo "$as_me:$LINENO: result: no" >&5
7989 echo "${ECHO_T}no" >&6
7994 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statbmp" >&5
7995 echo $ECHO_N "checking for --${enablestring:-enable}-statbmp... $ECHO_C" >&6
7997 # Check whether --enable-statbmp or --disable-statbmp was given.
7998 if test "${enable_statbmp+set}" = set; then
7999 enableval
="$enable_statbmp"
8001 if test "$enableval" = yes; then
8002 ac_cv_use_statbmp
='wxUSE_STATBMP=yes'
8004 ac_cv_use_statbmp
='wxUSE_STATBMP=no'
8009 LINE
=`grep "wxUSE_STATBMP" ${wx_arg_cache_file}`
8010 if test "x$LINE" != x
; then
8011 eval "DEFAULT_$LINE"
8016 ac_cv_use_statbmp
='wxUSE_STATBMP='$DEFAULT_wxUSE_STATBMP
8020 eval "$ac_cv_use_statbmp"
8021 if test "$no_cache" != 1; then
8022 echo $ac_cv_use_statbmp >> ${wx_arg_cache_file}.tmp
8025 if test "$wxUSE_STATBMP" = yes; then
8026 echo "$as_me:$LINENO: result: yes" >&5
8027 echo "${ECHO_T}yes" >&6
8029 echo "$as_me:$LINENO: result: no" >&5
8030 echo "${ECHO_T}no" >&6
8035 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statbox" >&5
8036 echo $ECHO_N "checking for --${enablestring:-enable}-statbox... $ECHO_C" >&6
8038 # Check whether --enable-statbox or --disable-statbox was given.
8039 if test "${enable_statbox+set}" = set; then
8040 enableval
="$enable_statbox"
8042 if test "$enableval" = yes; then
8043 ac_cv_use_statbox
='wxUSE_STATBOX=yes'
8045 ac_cv_use_statbox
='wxUSE_STATBOX=no'
8050 LINE
=`grep "wxUSE_STATBOX" ${wx_arg_cache_file}`
8051 if test "x$LINE" != x
; then
8052 eval "DEFAULT_$LINE"
8057 ac_cv_use_statbox
='wxUSE_STATBOX='$DEFAULT_wxUSE_STATBOX
8061 eval "$ac_cv_use_statbox"
8062 if test "$no_cache" != 1; then
8063 echo $ac_cv_use_statbox >> ${wx_arg_cache_file}.tmp
8066 if test "$wxUSE_STATBOX" = yes; then
8067 echo "$as_me:$LINENO: result: yes" >&5
8068 echo "${ECHO_T}yes" >&6
8070 echo "$as_me:$LINENO: result: no" >&5
8071 echo "${ECHO_T}no" >&6
8076 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statline" >&5
8077 echo $ECHO_N "checking for --${enablestring:-enable}-statline... $ECHO_C" >&6
8079 # Check whether --enable-statline or --disable-statline was given.
8080 if test "${enable_statline+set}" = set; then
8081 enableval
="$enable_statline"
8083 if test "$enableval" = yes; then
8084 ac_cv_use_statline
='wxUSE_STATLINE=yes'
8086 ac_cv_use_statline
='wxUSE_STATLINE=no'
8091 LINE
=`grep "wxUSE_STATLINE" ${wx_arg_cache_file}`
8092 if test "x$LINE" != x
; then
8093 eval "DEFAULT_$LINE"
8098 ac_cv_use_statline
='wxUSE_STATLINE='$DEFAULT_wxUSE_STATLINE
8102 eval "$ac_cv_use_statline"
8103 if test "$no_cache" != 1; then
8104 echo $ac_cv_use_statline >> ${wx_arg_cache_file}.tmp
8107 if test "$wxUSE_STATLINE" = yes; then
8108 echo "$as_me:$LINENO: result: yes" >&5
8109 echo "${ECHO_T}yes" >&6
8111 echo "$as_me:$LINENO: result: no" >&5
8112 echo "${ECHO_T}no" >&6
8117 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stattext" >&5
8118 echo $ECHO_N "checking for --${enablestring:-enable}-stattext... $ECHO_C" >&6
8120 # Check whether --enable-stattext or --disable-stattext was given.
8121 if test "${enable_stattext+set}" = set; then
8122 enableval
="$enable_stattext"
8124 if test "$enableval" = yes; then
8125 ac_cv_use_stattext
='wxUSE_STATTEXT=yes'
8127 ac_cv_use_stattext
='wxUSE_STATTEXT=no'
8132 LINE
=`grep "wxUSE_STATTEXT" ${wx_arg_cache_file}`
8133 if test "x$LINE" != x
; then
8134 eval "DEFAULT_$LINE"
8139 ac_cv_use_stattext
='wxUSE_STATTEXT='$DEFAULT_wxUSE_STATTEXT
8143 eval "$ac_cv_use_stattext"
8144 if test "$no_cache" != 1; then
8145 echo $ac_cv_use_stattext >> ${wx_arg_cache_file}.tmp
8148 if test "$wxUSE_STATTEXT" = yes; then
8149 echo "$as_me:$LINENO: result: yes" >&5
8150 echo "${ECHO_T}yes" >&6
8152 echo "$as_me:$LINENO: result: no" >&5
8153 echo "${ECHO_T}no" >&6
8158 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statusbar" >&5
8159 echo $ECHO_N "checking for --${enablestring:-enable}-statusbar... $ECHO_C" >&6
8161 # Check whether --enable-statusbar or --disable-statusbar was given.
8162 if test "${enable_statusbar+set}" = set; then
8163 enableval
="$enable_statusbar"
8165 if test "$enableval" = yes; then
8166 ac_cv_use_statusbar
='wxUSE_STATUSBAR=yes'
8168 ac_cv_use_statusbar
='wxUSE_STATUSBAR=no'
8173 LINE
=`grep "wxUSE_STATUSBAR" ${wx_arg_cache_file}`
8174 if test "x$LINE" != x
; then
8175 eval "DEFAULT_$LINE"
8180 ac_cv_use_statusbar
='wxUSE_STATUSBAR='$DEFAULT_wxUSE_STATUSBAR
8184 eval "$ac_cv_use_statusbar"
8185 if test "$no_cache" != 1; then
8186 echo $ac_cv_use_statusbar >> ${wx_arg_cache_file}.tmp
8189 if test "$wxUSE_STATUSBAR" = yes; then
8190 echo "$as_me:$LINENO: result: yes" >&5
8191 echo "${ECHO_T}yes" >&6
8193 echo "$as_me:$LINENO: result: no" >&5
8194 echo "${ECHO_T}no" >&6
8199 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tabdialog" >&5
8200 echo $ECHO_N "checking for --${enablestring:-enable}-tabdialog... $ECHO_C" >&6
8202 # Check whether --enable-tabdialog or --disable-tabdialog was given.
8203 if test "${enable_tabdialog+set}" = set; then
8204 enableval
="$enable_tabdialog"
8206 if test "$enableval" = yes; then
8207 ac_cv_use_tabdialog
='wxUSE_TABDIALOG=yes'
8209 ac_cv_use_tabdialog
='wxUSE_TABDIALOG=no'
8214 LINE
=`grep "wxUSE_TABDIALOG" ${wx_arg_cache_file}`
8215 if test "x$LINE" != x
; then
8216 eval "DEFAULT_$LINE"
8221 ac_cv_use_tabdialog
='wxUSE_TABDIALOG='$DEFAULT_wxUSE_TABDIALOG
8225 eval "$ac_cv_use_tabdialog"
8226 if test "$no_cache" != 1; then
8227 echo $ac_cv_use_tabdialog >> ${wx_arg_cache_file}.tmp
8230 if test "$wxUSE_TABDIALOG" = yes; then
8231 echo "$as_me:$LINENO: result: yes" >&5
8232 echo "${ECHO_T}yes" >&6
8234 echo "$as_me:$LINENO: result: no" >&5
8235 echo "${ECHO_T}no" >&6
8240 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textctrl" >&5
8241 echo $ECHO_N "checking for --${enablestring:-enable}-textctrl... $ECHO_C" >&6
8243 # Check whether --enable-textctrl or --disable-textctrl was given.
8244 if test "${enable_textctrl+set}" = set; then
8245 enableval
="$enable_textctrl"
8247 if test "$enableval" = yes; then
8248 ac_cv_use_textctrl
='wxUSE_TEXTCTRL=yes'
8250 ac_cv_use_textctrl
='wxUSE_TEXTCTRL=no'
8255 LINE
=`grep "wxUSE_TEXTCTRL" ${wx_arg_cache_file}`
8256 if test "x$LINE" != x
; then
8257 eval "DEFAULT_$LINE"
8262 ac_cv_use_textctrl
='wxUSE_TEXTCTRL='$DEFAULT_wxUSE_TEXTCTRL
8266 eval "$ac_cv_use_textctrl"
8267 if test "$no_cache" != 1; then
8268 echo $ac_cv_use_textctrl >> ${wx_arg_cache_file}.tmp
8271 if test "$wxUSE_TEXTCTRL" = yes; then
8272 echo "$as_me:$LINENO: result: yes" >&5
8273 echo "${ECHO_T}yes" >&6
8275 echo "$as_me:$LINENO: result: no" >&5
8276 echo "${ECHO_T}no" >&6
8281 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-togglebtn" >&5
8282 echo $ECHO_N "checking for --${enablestring:-enable}-togglebtn... $ECHO_C" >&6
8284 # Check whether --enable-togglebtn or --disable-togglebtn was given.
8285 if test "${enable_togglebtn+set}" = set; then
8286 enableval
="$enable_togglebtn"
8288 if test "$enableval" = yes; then
8289 ac_cv_use_togglebtn
='wxUSE_TOGGLEBTN=yes'
8291 ac_cv_use_togglebtn
='wxUSE_TOGGLEBTN=no'
8296 LINE
=`grep "wxUSE_TOGGLEBTN" ${wx_arg_cache_file}`
8297 if test "x$LINE" != x
; then
8298 eval "DEFAULT_$LINE"
8303 ac_cv_use_togglebtn
='wxUSE_TOGGLEBTN='$DEFAULT_wxUSE_TOGGLEBTN
8307 eval "$ac_cv_use_togglebtn"
8308 if test "$no_cache" != 1; then
8309 echo $ac_cv_use_togglebtn >> ${wx_arg_cache_file}.tmp
8312 if test "$wxUSE_TOGGLEBTN" = yes; then
8313 echo "$as_me:$LINENO: result: yes" >&5
8314 echo "${ECHO_T}yes" >&6
8316 echo "$as_me:$LINENO: result: no" >&5
8317 echo "${ECHO_T}no" >&6
8322 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-toolbar" >&5
8323 echo $ECHO_N "checking for --${enablestring:-enable}-toolbar... $ECHO_C" >&6
8325 # Check whether --enable-toolbar or --disable-toolbar was given.
8326 if test "${enable_toolbar+set}" = set; then
8327 enableval
="$enable_toolbar"
8329 if test "$enableval" = yes; then
8330 ac_cv_use_toolbar
='wxUSE_TOOLBAR=yes'
8332 ac_cv_use_toolbar
='wxUSE_TOOLBAR=no'
8337 LINE
=`grep "wxUSE_TOOLBAR" ${wx_arg_cache_file}`
8338 if test "x$LINE" != x
; then
8339 eval "DEFAULT_$LINE"
8344 ac_cv_use_toolbar
='wxUSE_TOOLBAR='$DEFAULT_wxUSE_TOOLBAR
8348 eval "$ac_cv_use_toolbar"
8349 if test "$no_cache" != 1; then
8350 echo $ac_cv_use_toolbar >> ${wx_arg_cache_file}.tmp
8353 if test "$wxUSE_TOOLBAR" = yes; then
8354 echo "$as_me:$LINENO: result: yes" >&5
8355 echo "${ECHO_T}yes" >&6
8357 echo "$as_me:$LINENO: result: no" >&5
8358 echo "${ECHO_T}no" >&6
8363 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tbarnative" >&5
8364 echo $ECHO_N "checking for --${enablestring:-enable}-tbarnative... $ECHO_C" >&6
8366 # Check whether --enable-tbarnative or --disable-tbarnative was given.
8367 if test "${enable_tbarnative+set}" = set; then
8368 enableval
="$enable_tbarnative"
8370 if test "$enableval" = yes; then
8371 ac_cv_use_tbarnative
='wxUSE_TOOLBAR_NATIVE=yes'
8373 ac_cv_use_tbarnative
='wxUSE_TOOLBAR_NATIVE=no'
8378 LINE
=`grep "wxUSE_TOOLBAR_NATIVE" ${wx_arg_cache_file}`
8379 if test "x$LINE" != x
; then
8380 eval "DEFAULT_$LINE"
8385 ac_cv_use_tbarnative
='wxUSE_TOOLBAR_NATIVE='$DEFAULT_wxUSE_TOOLBAR_NATIVE
8389 eval "$ac_cv_use_tbarnative"
8390 if test "$no_cache" != 1; then
8391 echo $ac_cv_use_tbarnative >> ${wx_arg_cache_file}.tmp
8394 if test "$wxUSE_TOOLBAR_NATIVE" = yes; then
8395 echo "$as_me:$LINENO: result: yes" >&5
8396 echo "${ECHO_T}yes" >&6
8398 echo "$as_me:$LINENO: result: no" >&5
8399 echo "${ECHO_T}no" >&6
8404 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tbarsmpl" >&5
8405 echo $ECHO_N "checking for --${enablestring:-enable}-tbarsmpl... $ECHO_C" >&6
8407 # Check whether --enable-tbarsmpl or --disable-tbarsmpl was given.
8408 if test "${enable_tbarsmpl+set}" = set; then
8409 enableval
="$enable_tbarsmpl"
8411 if test "$enableval" = yes; then
8412 ac_cv_use_tbarsmpl
='wxUSE_TOOLBAR_SIMPLE=yes'
8414 ac_cv_use_tbarsmpl
='wxUSE_TOOLBAR_SIMPLE=no'
8419 LINE
=`grep "wxUSE_TOOLBAR_SIMPLE" ${wx_arg_cache_file}`
8420 if test "x$LINE" != x
; then
8421 eval "DEFAULT_$LINE"
8426 ac_cv_use_tbarsmpl
='wxUSE_TOOLBAR_SIMPLE='$DEFAULT_wxUSE_TOOLBAR_SIMPLE
8430 eval "$ac_cv_use_tbarsmpl"
8431 if test "$no_cache" != 1; then
8432 echo $ac_cv_use_tbarsmpl >> ${wx_arg_cache_file}.tmp
8435 if test "$wxUSE_TOOLBAR_SIMPLE" = yes; then
8436 echo "$as_me:$LINENO: result: yes" >&5
8437 echo "${ECHO_T}yes" >&6
8439 echo "$as_me:$LINENO: result: no" >&5
8440 echo "${ECHO_T}no" >&6
8445 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-treectrl" >&5
8446 echo $ECHO_N "checking for --${enablestring:-enable}-treectrl... $ECHO_C" >&6
8448 # Check whether --enable-treectrl or --disable-treectrl was given.
8449 if test "${enable_treectrl+set}" = set; then
8450 enableval
="$enable_treectrl"
8452 if test "$enableval" = yes; then
8453 ac_cv_use_treectrl
='wxUSE_TREECTRL=yes'
8455 ac_cv_use_treectrl
='wxUSE_TREECTRL=no'
8460 LINE
=`grep "wxUSE_TREECTRL" ${wx_arg_cache_file}`
8461 if test "x$LINE" != x
; then
8462 eval "DEFAULT_$LINE"
8467 ac_cv_use_treectrl
='wxUSE_TREECTRL='$DEFAULT_wxUSE_TREECTRL
8471 eval "$ac_cv_use_treectrl"
8472 if test "$no_cache" != 1; then
8473 echo $ac_cv_use_treectrl >> ${wx_arg_cache_file}.tmp
8476 if test "$wxUSE_TREECTRL" = yes; then
8477 echo "$as_me:$LINENO: result: yes" >&5
8478 echo "${ECHO_T}yes" >&6
8480 echo "$as_me:$LINENO: result: no" >&5
8481 echo "${ECHO_T}no" >&6
8486 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tipwindow" >&5
8487 echo $ECHO_N "checking for --${enablestring:-enable}-tipwindow... $ECHO_C" >&6
8489 # Check whether --enable-tipwindow or --disable-tipwindow was given.
8490 if test "${enable_tipwindow+set}" = set; then
8491 enableval
="$enable_tipwindow"
8493 if test "$enableval" = yes; then
8494 ac_cv_use_tipwindow
='wxUSE_TIPWINDOW=yes'
8496 ac_cv_use_tipwindow
='wxUSE_TIPWINDOW=no'
8501 LINE
=`grep "wxUSE_TIPWINDOW" ${wx_arg_cache_file}`
8502 if test "x$LINE" != x
; then
8503 eval "DEFAULT_$LINE"
8508 ac_cv_use_tipwindow
='wxUSE_TIPWINDOW='$DEFAULT_wxUSE_TIPWINDOW
8512 eval "$ac_cv_use_tipwindow"
8513 if test "$no_cache" != 1; then
8514 echo $ac_cv_use_tipwindow >> ${wx_arg_cache_file}.tmp
8517 if test "$wxUSE_TIPWINDOW" = yes; then
8518 echo "$as_me:$LINENO: result: yes" >&5
8519 echo "${ECHO_T}yes" >&6
8521 echo "$as_me:$LINENO: result: no" >&5
8522 echo "${ECHO_T}no" >&6
8527 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-popupwin" >&5
8528 echo $ECHO_N "checking for --${enablestring:-enable}-popupwin... $ECHO_C" >&6
8530 # Check whether --enable-popupwin or --disable-popupwin was given.
8531 if test "${enable_popupwin+set}" = set; then
8532 enableval
="$enable_popupwin"
8534 if test "$enableval" = yes; then
8535 ac_cv_use_popupwin
='wxUSE_POPUPWIN=yes'
8537 ac_cv_use_popupwin
='wxUSE_POPUPWIN=no'
8542 LINE
=`grep "wxUSE_POPUPWIN" ${wx_arg_cache_file}`
8543 if test "x$LINE" != x
; then
8544 eval "DEFAULT_$LINE"
8549 ac_cv_use_popupwin
='wxUSE_POPUPWIN='$DEFAULT_wxUSE_POPUPWIN
8553 eval "$ac_cv_use_popupwin"
8554 if test "$no_cache" != 1; then
8555 echo $ac_cv_use_popupwin >> ${wx_arg_cache_file}.tmp
8558 if test "$wxUSE_POPUPWIN" = yes; then
8559 echo "$as_me:$LINENO: result: yes" >&5
8560 echo "${ECHO_T}yes" >&6
8562 echo "$as_me:$LINENO: result: no" >&5
8563 echo "${ECHO_T}no" >&6
8570 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-commondlg" >&5
8571 echo $ECHO_N "checking for --${enablestring:-enable}-commondlg... $ECHO_C" >&6
8573 # Check whether --enable-commondlg or --disable-commondlg was given.
8574 if test "${enable_commondlg+set}" = set; then
8575 enableval
="$enable_commondlg"
8577 if test "$enableval" = yes; then
8578 ac_cv_use_commondlg
='wxUSE_COMMONDLGS=yes'
8580 ac_cv_use_commondlg
='wxUSE_COMMONDLGS=no'
8585 LINE
=`grep "wxUSE_COMMONDLGS" ${wx_arg_cache_file}`
8586 if test "x$LINE" != x
; then
8587 eval "DEFAULT_$LINE"
8592 ac_cv_use_commondlg
='wxUSE_COMMONDLGS='$DEFAULT_wxUSE_COMMONDLGS
8596 eval "$ac_cv_use_commondlg"
8597 if test "$no_cache" != 1; then
8598 echo $ac_cv_use_commondlg >> ${wx_arg_cache_file}.tmp
8601 if test "$wxUSE_COMMONDLGS" = yes; then
8602 echo "$as_me:$LINENO: result: yes" >&5
8603 echo "${ECHO_T}yes" >&6
8605 echo "$as_me:$LINENO: result: no" >&5
8606 echo "${ECHO_T}no" >&6
8611 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choicedlg" >&5
8612 echo $ECHO_N "checking for --${enablestring:-enable}-choicedlg... $ECHO_C" >&6
8614 # Check whether --enable-choicedlg or --disable-choicedlg was given.
8615 if test "${enable_choicedlg+set}" = set; then
8616 enableval
="$enable_choicedlg"
8618 if test "$enableval" = yes; then
8619 ac_cv_use_choicedlg
='wxUSE_CHOICEDLG=yes'
8621 ac_cv_use_choicedlg
='wxUSE_CHOICEDLG=no'
8626 LINE
=`grep "wxUSE_CHOICEDLG" ${wx_arg_cache_file}`
8627 if test "x$LINE" != x
; then
8628 eval "DEFAULT_$LINE"
8633 ac_cv_use_choicedlg
='wxUSE_CHOICEDLG='$DEFAULT_wxUSE_CHOICEDLG
8637 eval "$ac_cv_use_choicedlg"
8638 if test "$no_cache" != 1; then
8639 echo $ac_cv_use_choicedlg >> ${wx_arg_cache_file}.tmp
8642 if test "$wxUSE_CHOICEDLG" = yes; then
8643 echo "$as_me:$LINENO: result: yes" >&5
8644 echo "${ECHO_T}yes" >&6
8646 echo "$as_me:$LINENO: result: no" >&5
8647 echo "${ECHO_T}no" >&6
8652 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-coldlg" >&5
8653 echo $ECHO_N "checking for --${enablestring:-enable}-coldlg... $ECHO_C" >&6
8655 # Check whether --enable-coldlg or --disable-coldlg was given.
8656 if test "${enable_coldlg+set}" = set; then
8657 enableval
="$enable_coldlg"
8659 if test "$enableval" = yes; then
8660 ac_cv_use_coldlg
='wxUSE_COLOURDLG=yes'
8662 ac_cv_use_coldlg
='wxUSE_COLOURDLG=no'
8667 LINE
=`grep "wxUSE_COLOURDLG" ${wx_arg_cache_file}`
8668 if test "x$LINE" != x
; then
8669 eval "DEFAULT_$LINE"
8674 ac_cv_use_coldlg
='wxUSE_COLOURDLG='$DEFAULT_wxUSE_COLOURDLG
8678 eval "$ac_cv_use_coldlg"
8679 if test "$no_cache" != 1; then
8680 echo $ac_cv_use_coldlg >> ${wx_arg_cache_file}.tmp
8683 if test "$wxUSE_COLOURDLG" = yes; then
8684 echo "$as_me:$LINENO: result: yes" >&5
8685 echo "${ECHO_T}yes" >&6
8687 echo "$as_me:$LINENO: result: no" >&5
8688 echo "${ECHO_T}no" >&6
8693 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filedlg" >&5
8694 echo $ECHO_N "checking for --${enablestring:-enable}-filedlg... $ECHO_C" >&6
8696 # Check whether --enable-filedlg or --disable-filedlg was given.
8697 if test "${enable_filedlg+set}" = set; then
8698 enableval
="$enable_filedlg"
8700 if test "$enableval" = yes; then
8701 ac_cv_use_filedlg
='wxUSE_FILEDLG=yes'
8703 ac_cv_use_filedlg
='wxUSE_FILEDLG=no'
8708 LINE
=`grep "wxUSE_FILEDLG" ${wx_arg_cache_file}`
8709 if test "x$LINE" != x
; then
8710 eval "DEFAULT_$LINE"
8715 ac_cv_use_filedlg
='wxUSE_FILEDLG='$DEFAULT_wxUSE_FILEDLG
8719 eval "$ac_cv_use_filedlg"
8720 if test "$no_cache" != 1; then
8721 echo $ac_cv_use_filedlg >> ${wx_arg_cache_file}.tmp
8724 if test "$wxUSE_FILEDLG" = yes; then
8725 echo "$as_me:$LINENO: result: yes" >&5
8726 echo "${ECHO_T}yes" >&6
8728 echo "$as_me:$LINENO: result: no" >&5
8729 echo "${ECHO_T}no" >&6
8734 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-finddlg" >&5
8735 echo $ECHO_N "checking for --${enablestring:-enable}-finddlg... $ECHO_C" >&6
8737 # Check whether --enable-finddlg or --disable-finddlg was given.
8738 if test "${enable_finddlg+set}" = set; then
8739 enableval
="$enable_finddlg"
8741 if test "$enableval" = yes; then
8742 ac_cv_use_finddlg
='wxUSE_FINDREPLDLG=yes'
8744 ac_cv_use_finddlg
='wxUSE_FINDREPLDLG=no'
8749 LINE
=`grep "wxUSE_FINDREPLDLG" ${wx_arg_cache_file}`
8750 if test "x$LINE" != x
; then
8751 eval "DEFAULT_$LINE"
8756 ac_cv_use_finddlg
='wxUSE_FINDREPLDLG='$DEFAULT_wxUSE_FINDREPLDLG
8760 eval "$ac_cv_use_finddlg"
8761 if test "$no_cache" != 1; then
8762 echo $ac_cv_use_finddlg >> ${wx_arg_cache_file}.tmp
8765 if test "$wxUSE_FINDREPLDLG" = yes; then
8766 echo "$as_me:$LINENO: result: yes" >&5
8767 echo "${ECHO_T}yes" >&6
8769 echo "$as_me:$LINENO: result: no" >&5
8770 echo "${ECHO_T}no" >&6
8775 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontdlg" >&5
8776 echo $ECHO_N "checking for --${enablestring:-enable}-fontdlg... $ECHO_C" >&6
8778 # Check whether --enable-fontdlg or --disable-fontdlg was given.
8779 if test "${enable_fontdlg+set}" = set; then
8780 enableval
="$enable_fontdlg"
8782 if test "$enableval" = yes; then
8783 ac_cv_use_fontdlg
='wxUSE_FONTDLG=yes'
8785 ac_cv_use_fontdlg
='wxUSE_FONTDLG=no'
8790 LINE
=`grep "wxUSE_FONTDLG" ${wx_arg_cache_file}`
8791 if test "x$LINE" != x
; then
8792 eval "DEFAULT_$LINE"
8797 ac_cv_use_fontdlg
='wxUSE_FONTDLG='$DEFAULT_wxUSE_FONTDLG
8801 eval "$ac_cv_use_fontdlg"
8802 if test "$no_cache" != 1; then
8803 echo $ac_cv_use_fontdlg >> ${wx_arg_cache_file}.tmp
8806 if test "$wxUSE_FONTDLG" = yes; then
8807 echo "$as_me:$LINENO: result: yes" >&5
8808 echo "${ECHO_T}yes" >&6
8810 echo "$as_me:$LINENO: result: no" >&5
8811 echo "${ECHO_T}no" >&6
8816 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dirdlg" >&5
8817 echo $ECHO_N "checking for --${enablestring:-enable}-dirdlg... $ECHO_C" >&6
8819 # Check whether --enable-dirdlg or --disable-dirdlg was given.
8820 if test "${enable_dirdlg+set}" = set; then
8821 enableval
="$enable_dirdlg"
8823 if test "$enableval" = yes; then
8824 ac_cv_use_dirdlg
='wxUSE_DIRDLG=yes'
8826 ac_cv_use_dirdlg
='wxUSE_DIRDLG=no'
8831 LINE
=`grep "wxUSE_DIRDLG" ${wx_arg_cache_file}`
8832 if test "x$LINE" != x
; then
8833 eval "DEFAULT_$LINE"
8838 ac_cv_use_dirdlg
='wxUSE_DIRDLG='$DEFAULT_wxUSE_DIRDLG
8842 eval "$ac_cv_use_dirdlg"
8843 if test "$no_cache" != 1; then
8844 echo $ac_cv_use_dirdlg >> ${wx_arg_cache_file}.tmp
8847 if test "$wxUSE_DIRDLG" = yes; then
8848 echo "$as_me:$LINENO: result: yes" >&5
8849 echo "${ECHO_T}yes" >&6
8851 echo "$as_me:$LINENO: result: no" >&5
8852 echo "${ECHO_T}no" >&6
8857 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-msgdlg" >&5
8858 echo $ECHO_N "checking for --${enablestring:-enable}-msgdlg... $ECHO_C" >&6
8860 # Check whether --enable-msgdlg or --disable-msgdlg was given.
8861 if test "${enable_msgdlg+set}" = set; then
8862 enableval
="$enable_msgdlg"
8864 if test "$enableval" = yes; then
8865 ac_cv_use_msgdlg
='wxUSE_MSGDLG=yes'
8867 ac_cv_use_msgdlg
='wxUSE_MSGDLG=no'
8872 LINE
=`grep "wxUSE_MSGDLG" ${wx_arg_cache_file}`
8873 if test "x$LINE" != x
; then
8874 eval "DEFAULT_$LINE"
8879 ac_cv_use_msgdlg
='wxUSE_MSGDLG='$DEFAULT_wxUSE_MSGDLG
8883 eval "$ac_cv_use_msgdlg"
8884 if test "$no_cache" != 1; then
8885 echo $ac_cv_use_msgdlg >> ${wx_arg_cache_file}.tmp
8888 if test "$wxUSE_MSGDLG" = yes; then
8889 echo "$as_me:$LINENO: result: yes" >&5
8890 echo "${ECHO_T}yes" >&6
8892 echo "$as_me:$LINENO: result: no" >&5
8893 echo "${ECHO_T}no" >&6
8898 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-numberdlg" >&5
8899 echo $ECHO_N "checking for --${enablestring:-enable}-numberdlg... $ECHO_C" >&6
8901 # Check whether --enable-numberdlg or --disable-numberdlg was given.
8902 if test "${enable_numberdlg+set}" = set; then
8903 enableval
="$enable_numberdlg"
8905 if test "$enableval" = yes; then
8906 ac_cv_use_numberdlg
='wxUSE_NUMBERDLG=yes'
8908 ac_cv_use_numberdlg
='wxUSE_NUMBERDLG=no'
8913 LINE
=`grep "wxUSE_NUMBERDLG" ${wx_arg_cache_file}`
8914 if test "x$LINE" != x
; then
8915 eval "DEFAULT_$LINE"
8920 ac_cv_use_numberdlg
='wxUSE_NUMBERDLG='$DEFAULT_wxUSE_NUMBERDLG
8924 eval "$ac_cv_use_numberdlg"
8925 if test "$no_cache" != 1; then
8926 echo $ac_cv_use_numberdlg >> ${wx_arg_cache_file}.tmp
8929 if test "$wxUSE_NUMBERDLG" = yes; then
8930 echo "$as_me:$LINENO: result: yes" >&5
8931 echo "${ECHO_T}yes" >&6
8933 echo "$as_me:$LINENO: result: no" >&5
8934 echo "${ECHO_T}no" >&6
8939 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splash" >&5
8940 echo $ECHO_N "checking for --${enablestring:-enable}-splash... $ECHO_C" >&6
8942 # Check whether --enable-splash or --disable-splash was given.
8943 if test "${enable_splash+set}" = set; then
8944 enableval
="$enable_splash"
8946 if test "$enableval" = yes; then
8947 ac_cv_use_splash
='wxUSE_SPLASH=yes'
8949 ac_cv_use_splash
='wxUSE_SPLASH=no'
8954 LINE
=`grep "wxUSE_SPLASH" ${wx_arg_cache_file}`
8955 if test "x$LINE" != x
; then
8956 eval "DEFAULT_$LINE"
8961 ac_cv_use_splash
='wxUSE_SPLASH='$DEFAULT_wxUSE_SPLASH
8965 eval "$ac_cv_use_splash"
8966 if test "$no_cache" != 1; then
8967 echo $ac_cv_use_splash >> ${wx_arg_cache_file}.tmp
8970 if test "$wxUSE_SPLASH" = yes; then
8971 echo "$as_me:$LINENO: result: yes" >&5
8972 echo "${ECHO_T}yes" >&6
8974 echo "$as_me:$LINENO: result: no" >&5
8975 echo "${ECHO_T}no" >&6
8980 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textdlg" >&5
8981 echo $ECHO_N "checking for --${enablestring:-enable}-textdlg... $ECHO_C" >&6
8983 # Check whether --enable-textdlg or --disable-textdlg was given.
8984 if test "${enable_textdlg+set}" = set; then
8985 enableval
="$enable_textdlg"
8987 if test "$enableval" = yes; then
8988 ac_cv_use_textdlg
='wxUSE_TEXTDLG=yes'
8990 ac_cv_use_textdlg
='wxUSE_TEXTDLG=no'
8995 LINE
=`grep "wxUSE_TEXTDLG" ${wx_arg_cache_file}`
8996 if test "x$LINE" != x
; then
8997 eval "DEFAULT_$LINE"
9002 ac_cv_use_textdlg
='wxUSE_TEXTDLG='$DEFAULT_wxUSE_TEXTDLG
9006 eval "$ac_cv_use_textdlg"
9007 if test "$no_cache" != 1; then
9008 echo $ac_cv_use_textdlg >> ${wx_arg_cache_file}.tmp
9011 if test "$wxUSE_TEXTDLG" = yes; then
9012 echo "$as_me:$LINENO: result: yes" >&5
9013 echo "${ECHO_T}yes" >&6
9015 echo "$as_me:$LINENO: result: no" >&5
9016 echo "${ECHO_T}no" >&6
9021 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tipdlg" >&5
9022 echo $ECHO_N "checking for --${enablestring:-enable}-tipdlg... $ECHO_C" >&6
9024 # Check whether --enable-tipdlg or --disable-tipdlg was given.
9025 if test "${enable_tipdlg+set}" = set; then
9026 enableval
="$enable_tipdlg"
9028 if test "$enableval" = yes; then
9029 ac_cv_use_tipdlg
='wxUSE_STARTUP_TIPS=yes'
9031 ac_cv_use_tipdlg
='wxUSE_STARTUP_TIPS=no'
9036 LINE
=`grep "wxUSE_STARTUP_TIPS" ${wx_arg_cache_file}`
9037 if test "x$LINE" != x
; then
9038 eval "DEFAULT_$LINE"
9043 ac_cv_use_tipdlg
='wxUSE_STARTUP_TIPS='$DEFAULT_wxUSE_STARTUP_TIPS
9047 eval "$ac_cv_use_tipdlg"
9048 if test "$no_cache" != 1; then
9049 echo $ac_cv_use_tipdlg >> ${wx_arg_cache_file}.tmp
9052 if test "$wxUSE_STARTUP_TIPS" = yes; then
9053 echo "$as_me:$LINENO: result: yes" >&5
9054 echo "${ECHO_T}yes" >&6
9056 echo "$as_me:$LINENO: result: no" >&5
9057 echo "${ECHO_T}no" >&6
9062 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-progressdlg" >&5
9063 echo $ECHO_N "checking for --${enablestring:-enable}-progressdlg... $ECHO_C" >&6
9065 # Check whether --enable-progressdlg or --disable-progressdlg was given.
9066 if test "${enable_progressdlg+set}" = set; then
9067 enableval
="$enable_progressdlg"
9069 if test "$enableval" = yes; then
9070 ac_cv_use_progressdlg
='wxUSE_PROGRESSDLG=yes'
9072 ac_cv_use_progressdlg
='wxUSE_PROGRESSDLG=no'
9077 LINE
=`grep "wxUSE_PROGRESSDLG" ${wx_arg_cache_file}`
9078 if test "x$LINE" != x
; then
9079 eval "DEFAULT_$LINE"
9084 ac_cv_use_progressdlg
='wxUSE_PROGRESSDLG='$DEFAULT_wxUSE_PROGRESSDLG
9088 eval "$ac_cv_use_progressdlg"
9089 if test "$no_cache" != 1; then
9090 echo $ac_cv_use_progressdlg >> ${wx_arg_cache_file}.tmp
9093 if test "$wxUSE_PROGRESSDLG" = yes; then
9094 echo "$as_me:$LINENO: result: yes" >&5
9095 echo "${ECHO_T}yes" >&6
9097 echo "$as_me:$LINENO: result: no" >&5
9098 echo "${ECHO_T}no" >&6
9103 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-wizarddlg" >&5
9104 echo $ECHO_N "checking for --${enablestring:-enable}-wizarddlg... $ECHO_C" >&6
9106 # Check whether --enable-wizarddlg or --disable-wizarddlg was given.
9107 if test "${enable_wizarddlg+set}" = set; then
9108 enableval
="$enable_wizarddlg"
9110 if test "$enableval" = yes; then
9111 ac_cv_use_wizarddlg
='wxUSE_WIZARDDLG=yes'
9113 ac_cv_use_wizarddlg
='wxUSE_WIZARDDLG=no'
9118 LINE
=`grep "wxUSE_WIZARDDLG" ${wx_arg_cache_file}`
9119 if test "x$LINE" != x
; then
9120 eval "DEFAULT_$LINE"
9125 ac_cv_use_wizarddlg
='wxUSE_WIZARDDLG='$DEFAULT_wxUSE_WIZARDDLG
9129 eval "$ac_cv_use_wizarddlg"
9130 if test "$no_cache" != 1; then
9131 echo $ac_cv_use_wizarddlg >> ${wx_arg_cache_file}.tmp
9134 if test "$wxUSE_WIZARDDLG" = yes; then
9135 echo "$as_me:$LINENO: result: yes" >&5
9136 echo "${ECHO_T}yes" >&6
9138 echo "$as_me:$LINENO: result: no" >&5
9139 echo "${ECHO_T}no" >&6
9146 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-menus" >&5
9147 echo $ECHO_N "checking for --${enablestring:-enable}-menus... $ECHO_C" >&6
9149 # Check whether --enable-menus or --disable-menus was given.
9150 if test "${enable_menus+set}" = set; then
9151 enableval
="$enable_menus"
9153 if test "$enableval" = yes; then
9154 ac_cv_use_menus
='wxUSE_MENUS=yes'
9156 ac_cv_use_menus
='wxUSE_MENUS=no'
9161 LINE
=`grep "wxUSE_MENUS" ${wx_arg_cache_file}`
9162 if test "x$LINE" != x
; then
9163 eval "DEFAULT_$LINE"
9168 ac_cv_use_menus
='wxUSE_MENUS='$DEFAULT_wxUSE_MENUS
9172 eval "$ac_cv_use_menus"
9173 if test "$no_cache" != 1; then
9174 echo $ac_cv_use_menus >> ${wx_arg_cache_file}.tmp
9177 if test "$wxUSE_MENUS" = yes; then
9178 echo "$as_me:$LINENO: result: yes" >&5
9179 echo "${ECHO_T}yes" >&6
9181 echo "$as_me:$LINENO: result: no" >&5
9182 echo "${ECHO_T}no" >&6
9187 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-miniframe" >&5
9188 echo $ECHO_N "checking for --${enablestring:-enable}-miniframe... $ECHO_C" >&6
9190 # Check whether --enable-miniframe or --disable-miniframe was given.
9191 if test "${enable_miniframe+set}" = set; then
9192 enableval
="$enable_miniframe"
9194 if test "$enableval" = yes; then
9195 ac_cv_use_miniframe
='wxUSE_MINIFRAME=yes'
9197 ac_cv_use_miniframe
='wxUSE_MINIFRAME=no'
9202 LINE
=`grep "wxUSE_MINIFRAME" ${wx_arg_cache_file}`
9203 if test "x$LINE" != x
; then
9204 eval "DEFAULT_$LINE"
9209 ac_cv_use_miniframe
='wxUSE_MINIFRAME='$DEFAULT_wxUSE_MINIFRAME
9213 eval "$ac_cv_use_miniframe"
9214 if test "$no_cache" != 1; then
9215 echo $ac_cv_use_miniframe >> ${wx_arg_cache_file}.tmp
9218 if test "$wxUSE_MINIFRAME" = yes; then
9219 echo "$as_me:$LINENO: result: yes" >&5
9220 echo "${ECHO_T}yes" >&6
9222 echo "$as_me:$LINENO: result: no" >&5
9223 echo "${ECHO_T}no" >&6
9228 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tooltips" >&5
9229 echo $ECHO_N "checking for --${enablestring:-enable}-tooltips... $ECHO_C" >&6
9231 # Check whether --enable-tooltips or --disable-tooltips was given.
9232 if test "${enable_tooltips+set}" = set; then
9233 enableval
="$enable_tooltips"
9235 if test "$enableval" = yes; then
9236 ac_cv_use_tooltips
='wxUSE_TOOLTIPS=yes'
9238 ac_cv_use_tooltips
='wxUSE_TOOLTIPS=no'
9243 LINE
=`grep "wxUSE_TOOLTIPS" ${wx_arg_cache_file}`
9244 if test "x$LINE" != x
; then
9245 eval "DEFAULT_$LINE"
9250 ac_cv_use_tooltips
='wxUSE_TOOLTIPS='$DEFAULT_wxUSE_TOOLTIPS
9254 eval "$ac_cv_use_tooltips"
9255 if test "$no_cache" != 1; then
9256 echo $ac_cv_use_tooltips >> ${wx_arg_cache_file}.tmp
9259 if test "$wxUSE_TOOLTIPS" = yes; then
9260 echo "$as_me:$LINENO: result: yes" >&5
9261 echo "${ECHO_T}yes" >&6
9263 echo "$as_me:$LINENO: result: no" >&5
9264 echo "${ECHO_T}no" >&6
9269 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splines" >&5
9270 echo $ECHO_N "checking for --${enablestring:-enable}-splines... $ECHO_C" >&6
9272 # Check whether --enable-splines or --disable-splines was given.
9273 if test "${enable_splines+set}" = set; then
9274 enableval
="$enable_splines"
9276 if test "$enableval" = yes; then
9277 ac_cv_use_splines
='wxUSE_SPLINES=yes'
9279 ac_cv_use_splines
='wxUSE_SPLINES=no'
9284 LINE
=`grep "wxUSE_SPLINES" ${wx_arg_cache_file}`
9285 if test "x$LINE" != x
; then
9286 eval "DEFAULT_$LINE"
9291 ac_cv_use_splines
='wxUSE_SPLINES='$DEFAULT_wxUSE_SPLINES
9295 eval "$ac_cv_use_splines"
9296 if test "$no_cache" != 1; then
9297 echo $ac_cv_use_splines >> ${wx_arg_cache_file}.tmp
9300 if test "$wxUSE_SPLINES" = yes; then
9301 echo "$as_me:$LINENO: result: yes" >&5
9302 echo "${ECHO_T}yes" >&6
9304 echo "$as_me:$LINENO: result: no" >&5
9305 echo "${ECHO_T}no" >&6
9310 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-validators" >&5
9311 echo $ECHO_N "checking for --${enablestring:-enable}-validators... $ECHO_C" >&6
9313 # Check whether --enable-validators or --disable-validators was given.
9314 if test "${enable_validators+set}" = set; then
9315 enableval
="$enable_validators"
9317 if test "$enableval" = yes; then
9318 ac_cv_use_validators
='wxUSE_VALIDATORS=yes'
9320 ac_cv_use_validators
='wxUSE_VALIDATORS=no'
9325 LINE
=`grep "wxUSE_VALIDATORS" ${wx_arg_cache_file}`
9326 if test "x$LINE" != x
; then
9327 eval "DEFAULT_$LINE"
9332 ac_cv_use_validators
='wxUSE_VALIDATORS='$DEFAULT_wxUSE_VALIDATORS
9336 eval "$ac_cv_use_validators"
9337 if test "$no_cache" != 1; then
9338 echo $ac_cv_use_validators >> ${wx_arg_cache_file}.tmp
9341 if test "$wxUSE_VALIDATORS" = yes; then
9342 echo "$as_me:$LINENO: result: yes" >&5
9343 echo "${ECHO_T}yes" >&6
9345 echo "$as_me:$LINENO: result: no" >&5
9346 echo "${ECHO_T}no" >&6
9351 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-busyinfo" >&5
9352 echo $ECHO_N "checking for --${enablestring:-enable}-busyinfo... $ECHO_C" >&6
9354 # Check whether --enable-busyinfo or --disable-busyinfo was given.
9355 if test "${enable_busyinfo+set}" = set; then
9356 enableval
="$enable_busyinfo"
9358 if test "$enableval" = yes; then
9359 ac_cv_use_busyinfo
='wxUSE_BUSYINFO=yes'
9361 ac_cv_use_busyinfo
='wxUSE_BUSYINFO=no'
9366 LINE
=`grep "wxUSE_BUSYINFO" ${wx_arg_cache_file}`
9367 if test "x$LINE" != x
; then
9368 eval "DEFAULT_$LINE"
9373 ac_cv_use_busyinfo
='wxUSE_BUSYINFO='$DEFAULT_wxUSE_BUSYINFO
9377 eval "$ac_cv_use_busyinfo"
9378 if test "$no_cache" != 1; then
9379 echo $ac_cv_use_busyinfo >> ${wx_arg_cache_file}.tmp
9382 if test "$wxUSE_BUSYINFO" = yes; then
9383 echo "$as_me:$LINENO: result: yes" >&5
9384 echo "${ECHO_T}yes" >&6
9386 echo "$as_me:$LINENO: result: no" >&5
9387 echo "${ECHO_T}no" >&6
9392 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-joystick" >&5
9393 echo $ECHO_N "checking for --${enablestring:-enable}-joystick... $ECHO_C" >&6
9395 # Check whether --enable-joystick or --disable-joystick was given.
9396 if test "${enable_joystick+set}" = set; then
9397 enableval
="$enable_joystick"
9399 if test "$enableval" = yes; then
9400 ac_cv_use_joystick
='wxUSE_JOYSTICK=yes'
9402 ac_cv_use_joystick
='wxUSE_JOYSTICK=no'
9407 LINE
=`grep "wxUSE_JOYSTICK" ${wx_arg_cache_file}`
9408 if test "x$LINE" != x
; then
9409 eval "DEFAULT_$LINE"
9414 ac_cv_use_joystick
='wxUSE_JOYSTICK='$DEFAULT_wxUSE_JOYSTICK
9418 eval "$ac_cv_use_joystick"
9419 if test "$no_cache" != 1; then
9420 echo $ac_cv_use_joystick >> ${wx_arg_cache_file}.tmp
9423 if test "$wxUSE_JOYSTICK" = yes; then
9424 echo "$as_me:$LINENO: result: yes" >&5
9425 echo "${ECHO_T}yes" >&6
9427 echo "$as_me:$LINENO: result: no" >&5
9428 echo "${ECHO_T}no" >&6
9433 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-metafile" >&5
9434 echo $ECHO_N "checking for --${enablestring:-enable}-metafile... $ECHO_C" >&6
9436 # Check whether --enable-metafile or --disable-metafile was given.
9437 if test "${enable_metafile+set}" = set; then
9438 enableval
="$enable_metafile"
9440 if test "$enableval" = yes; then
9441 ac_cv_use_metafile
='wxUSE_METAFILE=yes'
9443 ac_cv_use_metafile
='wxUSE_METAFILE=no'
9448 LINE
=`grep "wxUSE_METAFILE" ${wx_arg_cache_file}`
9449 if test "x$LINE" != x
; then
9450 eval "DEFAULT_$LINE"
9455 ac_cv_use_metafile
='wxUSE_METAFILE='$DEFAULT_wxUSE_METAFILE
9459 eval "$ac_cv_use_metafile"
9460 if test "$no_cache" != 1; then
9461 echo $ac_cv_use_metafile >> ${wx_arg_cache_file}.tmp
9464 if test "$wxUSE_METAFILE" = yes; then
9465 echo "$as_me:$LINENO: result: yes" >&5
9466 echo "${ECHO_T}yes" >&6
9468 echo "$as_me:$LINENO: result: no" >&5
9469 echo "${ECHO_T}no" >&6
9474 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dragimage" >&5
9475 echo $ECHO_N "checking for --${enablestring:-enable}-dragimage... $ECHO_C" >&6
9477 # Check whether --enable-dragimage or --disable-dragimage was given.
9478 if test "${enable_dragimage+set}" = set; then
9479 enableval
="$enable_dragimage"
9481 if test "$enableval" = yes; then
9482 ac_cv_use_dragimage
='wxUSE_DRAGIMAGE=yes'
9484 ac_cv_use_dragimage
='wxUSE_DRAGIMAGE=no'
9489 LINE
=`grep "wxUSE_DRAGIMAGE" ${wx_arg_cache_file}`
9490 if test "x$LINE" != x
; then
9491 eval "DEFAULT_$LINE"
9496 ac_cv_use_dragimage
='wxUSE_DRAGIMAGE='$DEFAULT_wxUSE_DRAGIMAGE
9500 eval "$ac_cv_use_dragimage"
9501 if test "$no_cache" != 1; then
9502 echo $ac_cv_use_dragimage >> ${wx_arg_cache_file}.tmp
9505 if test "$wxUSE_DRAGIMAGE" = yes; then
9506 echo "$as_me:$LINENO: result: yes" >&5
9507 echo "${ECHO_T}yes" >&6
9509 echo "$as_me:$LINENO: result: no" >&5
9510 echo "${ECHO_T}no" >&6
9515 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-accessibility" >&5
9516 echo $ECHO_N "checking for --${enablestring:-enable}-accessibility... $ECHO_C" >&6
9518 # Check whether --enable-accessibility or --disable-accessibility was given.
9519 if test "${enable_accessibility+set}" = set; then
9520 enableval
="$enable_accessibility"
9522 if test "$enableval" = yes; then
9523 ac_cv_use_accessibility
='wxUSE_ACCESSIBILITY=yes'
9525 ac_cv_use_accessibility
='wxUSE_ACCESSIBILITY=no'
9530 LINE
=`grep "wxUSE_ACCESSIBILITY" ${wx_arg_cache_file}`
9531 if test "x$LINE" != x
; then
9532 eval "DEFAULT_$LINE"
9537 ac_cv_use_accessibility
='wxUSE_ACCESSIBILITY='$DEFAULT_wxUSE_ACCESSIBILITY
9541 eval "$ac_cv_use_accessibility"
9542 if test "$no_cache" != 1; then
9543 echo $ac_cv_use_accessibility >> ${wx_arg_cache_file}.tmp
9546 if test "$wxUSE_ACCESSIBILITY" = yes; then
9547 echo "$as_me:$LINENO: result: yes" >&5
9548 echo "${ECHO_T}yes" >&6
9550 echo "$as_me:$LINENO: result: no" >&5
9551 echo "${ECHO_T}no" >&6
9558 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-palette" >&5
9559 echo $ECHO_N "checking for --${enablestring:-enable}-palette... $ECHO_C" >&6
9561 # Check whether --enable-palette or --disable-palette was given.
9562 if test "${enable_palette+set}" = set; then
9563 enableval
="$enable_palette"
9565 if test "$enableval" = yes; then
9566 ac_cv_use_palette
='wxUSE_PALETTE=yes'
9568 ac_cv_use_palette
='wxUSE_PALETTE=no'
9573 LINE
=`grep "wxUSE_PALETTE" ${wx_arg_cache_file}`
9574 if test "x$LINE" != x
; then
9575 eval "DEFAULT_$LINE"
9580 ac_cv_use_palette
='wxUSE_PALETTE='$DEFAULT_wxUSE_PALETTE
9584 eval "$ac_cv_use_palette"
9585 if test "$no_cache" != 1; then
9586 echo $ac_cv_use_palette >> ${wx_arg_cache_file}.tmp
9589 if test "$wxUSE_PALETTE" = yes; then
9590 echo "$as_me:$LINENO: result: yes" >&5
9591 echo "${ECHO_T}yes" >&6
9593 echo "$as_me:$LINENO: result: no" >&5
9594 echo "${ECHO_T}no" >&6
9599 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-image" >&5
9600 echo $ECHO_N "checking for --${enablestring:-enable}-image... $ECHO_C" >&6
9602 # Check whether --enable-image or --disable-image was given.
9603 if test "${enable_image+set}" = set; then
9604 enableval
="$enable_image"
9606 if test "$enableval" = yes; then
9607 ac_cv_use_image
='wxUSE_IMAGE=yes'
9609 ac_cv_use_image
='wxUSE_IMAGE=no'
9614 LINE
=`grep "wxUSE_IMAGE" ${wx_arg_cache_file}`
9615 if test "x$LINE" != x
; then
9616 eval "DEFAULT_$LINE"
9621 ac_cv_use_image
='wxUSE_IMAGE='$DEFAULT_wxUSE_IMAGE
9625 eval "$ac_cv_use_image"
9626 if test "$no_cache" != 1; then
9627 echo $ac_cv_use_image >> ${wx_arg_cache_file}.tmp
9630 if test "$wxUSE_IMAGE" = yes; then
9631 echo "$as_me:$LINENO: result: yes" >&5
9632 echo "${ECHO_T}yes" >&6
9634 echo "$as_me:$LINENO: result: no" >&5
9635 echo "${ECHO_T}no" >&6
9640 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gif" >&5
9641 echo $ECHO_N "checking for --${enablestring:-enable}-gif... $ECHO_C" >&6
9643 # Check whether --enable-gif or --disable-gif was given.
9644 if test "${enable_gif+set}" = set; then
9645 enableval
="$enable_gif"
9647 if test "$enableval" = yes; then
9648 ac_cv_use_gif
='wxUSE_GIF=yes'
9650 ac_cv_use_gif
='wxUSE_GIF=no'
9655 LINE
=`grep "wxUSE_GIF" ${wx_arg_cache_file}`
9656 if test "x$LINE" != x
; then
9657 eval "DEFAULT_$LINE"
9662 ac_cv_use_gif
='wxUSE_GIF='$DEFAULT_wxUSE_GIF
9666 eval "$ac_cv_use_gif"
9667 if test "$no_cache" != 1; then
9668 echo $ac_cv_use_gif >> ${wx_arg_cache_file}.tmp
9671 if test "$wxUSE_GIF" = yes; then
9672 echo "$as_me:$LINENO: result: yes" >&5
9673 echo "${ECHO_T}yes" >&6
9675 echo "$as_me:$LINENO: result: no" >&5
9676 echo "${ECHO_T}no" >&6
9681 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-pcx" >&5
9682 echo $ECHO_N "checking for --${enablestring:-enable}-pcx... $ECHO_C" >&6
9684 # Check whether --enable-pcx or --disable-pcx was given.
9685 if test "${enable_pcx+set}" = set; then
9686 enableval
="$enable_pcx"
9688 if test "$enableval" = yes; then
9689 ac_cv_use_pcx
='wxUSE_PCX=yes'
9691 ac_cv_use_pcx
='wxUSE_PCX=no'
9696 LINE
=`grep "wxUSE_PCX" ${wx_arg_cache_file}`
9697 if test "x$LINE" != x
; then
9698 eval "DEFAULT_$LINE"
9703 ac_cv_use_pcx
='wxUSE_PCX='$DEFAULT_wxUSE_PCX
9707 eval "$ac_cv_use_pcx"
9708 if test "$no_cache" != 1; then
9709 echo $ac_cv_use_pcx >> ${wx_arg_cache_file}.tmp
9712 if test "$wxUSE_PCX" = yes; then
9713 echo "$as_me:$LINENO: result: yes" >&5
9714 echo "${ECHO_T}yes" >&6
9716 echo "$as_me:$LINENO: result: no" >&5
9717 echo "${ECHO_T}no" >&6
9722 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-iff" >&5
9723 echo $ECHO_N "checking for --${enablestring:-enable}-iff... $ECHO_C" >&6
9725 # Check whether --enable-iff or --disable-iff was given.
9726 if test "${enable_iff+set}" = set; then
9727 enableval
="$enable_iff"
9729 if test "$enableval" = yes; then
9730 ac_cv_use_iff
='wxUSE_IFF=yes'
9732 ac_cv_use_iff
='wxUSE_IFF=no'
9737 LINE
=`grep "wxUSE_IFF" ${wx_arg_cache_file}`
9738 if test "x$LINE" != x
; then
9739 eval "DEFAULT_$LINE"
9744 ac_cv_use_iff
='wxUSE_IFF='$DEFAULT_wxUSE_IFF
9748 eval "$ac_cv_use_iff"
9749 if test "$no_cache" != 1; then
9750 echo $ac_cv_use_iff >> ${wx_arg_cache_file}.tmp
9753 if test "$wxUSE_IFF" = yes; then
9754 echo "$as_me:$LINENO: result: yes" >&5
9755 echo "${ECHO_T}yes" >&6
9757 echo "$as_me:$LINENO: result: no" >&5
9758 echo "${ECHO_T}no" >&6
9763 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-pnm" >&5
9764 echo $ECHO_N "checking for --${enablestring:-enable}-pnm... $ECHO_C" >&6
9766 # Check whether --enable-pnm or --disable-pnm was given.
9767 if test "${enable_pnm+set}" = set; then
9768 enableval
="$enable_pnm"
9770 if test "$enableval" = yes; then
9771 ac_cv_use_pnm
='wxUSE_PNM=yes'
9773 ac_cv_use_pnm
='wxUSE_PNM=no'
9778 LINE
=`grep "wxUSE_PNM" ${wx_arg_cache_file}`
9779 if test "x$LINE" != x
; then
9780 eval "DEFAULT_$LINE"
9785 ac_cv_use_pnm
='wxUSE_PNM='$DEFAULT_wxUSE_PNM
9789 eval "$ac_cv_use_pnm"
9790 if test "$no_cache" != 1; then
9791 echo $ac_cv_use_pnm >> ${wx_arg_cache_file}.tmp
9794 if test "$wxUSE_PNM" = yes; then
9795 echo "$as_me:$LINENO: result: yes" >&5
9796 echo "${ECHO_T}yes" >&6
9798 echo "$as_me:$LINENO: result: no" >&5
9799 echo "${ECHO_T}no" >&6
9804 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-xpm" >&5
9805 echo $ECHO_N "checking for --${enablestring:-enable}-xpm... $ECHO_C" >&6
9807 # Check whether --enable-xpm or --disable-xpm was given.
9808 if test "${enable_xpm+set}" = set; then
9809 enableval
="$enable_xpm"
9811 if test "$enableval" = yes; then
9812 ac_cv_use_xpm
='wxUSE_XPM=yes'
9814 ac_cv_use_xpm
='wxUSE_XPM=no'
9819 LINE
=`grep "wxUSE_XPM" ${wx_arg_cache_file}`
9820 if test "x$LINE" != x
; then
9821 eval "DEFAULT_$LINE"
9826 ac_cv_use_xpm
='wxUSE_XPM='$DEFAULT_wxUSE_XPM
9830 eval "$ac_cv_use_xpm"
9831 if test "$no_cache" != 1; then
9832 echo $ac_cv_use_xpm >> ${wx_arg_cache_file}.tmp
9835 if test "$wxUSE_XPM" = yes; then
9836 echo "$as_me:$LINENO: result: yes" >&5
9837 echo "${ECHO_T}yes" >&6
9839 echo "$as_me:$LINENO: result: no" >&5
9840 echo "${ECHO_T}no" >&6
9845 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ico_cur" >&5
9846 echo $ECHO_N "checking for --${enablestring:-enable}-ico_cur... $ECHO_C" >&6
9848 # Check whether --enable-ico_cur or --disable-ico_cur was given.
9849 if test "${enable_ico_cur+set}" = set; then
9850 enableval
="$enable_ico_cur"
9852 if test "$enableval" = yes; then
9853 ac_cv_use_ico_cur
='wxUSE_ICO_CUR=yes'
9855 ac_cv_use_ico_cur
='wxUSE_ICO_CUR=no'
9860 LINE
=`grep "wxUSE_ICO_CUR" ${wx_arg_cache_file}`
9861 if test "x$LINE" != x
; then
9862 eval "DEFAULT_$LINE"
9867 ac_cv_use_ico_cur
='wxUSE_ICO_CUR='$DEFAULT_wxUSE_ICO_CUR
9871 eval "$ac_cv_use_ico_cur"
9872 if test "$no_cache" != 1; then
9873 echo $ac_cv_use_ico_cur >> ${wx_arg_cache_file}.tmp
9876 if test "$wxUSE_ICO_CUR" = yes; then
9877 echo "$as_me:$LINENO: result: yes" >&5
9878 echo "${ECHO_T}yes" >&6
9880 echo "$as_me:$LINENO: result: no" >&5
9881 echo "${ECHO_T}no" >&6
9890 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-official_build" >&5
9891 echo $ECHO_N "checking for --${enablestring:-enable}-official_build... $ECHO_C" >&6
9893 # Check whether --enable-official_build or --disable-official_build was given.
9894 if test "${enable_official_build+set}" = set; then
9895 enableval
="$enable_official_build"
9897 if test "$enableval" = yes; then
9898 ac_cv_use_official_build
='wxUSE_OFFICIAL_BUILD=yes'
9900 ac_cv_use_official_build
='wxUSE_OFFICIAL_BUILD=no'
9905 LINE
=`grep "wxUSE_OFFICIAL_BUILD" ${wx_arg_cache_file}`
9906 if test "x$LINE" != x
; then
9907 eval "DEFAULT_$LINE"
9912 ac_cv_use_official_build
='wxUSE_OFFICIAL_BUILD='$DEFAULT_wxUSE_OFFICIAL_BUILD
9916 eval "$ac_cv_use_official_build"
9917 if test "$no_cache" != 1; then
9918 echo $ac_cv_use_official_build >> ${wx_arg_cache_file}.tmp
9921 if test "$wxUSE_OFFICIAL_BUILD" = yes; then
9922 echo "$as_me:$LINENO: result: yes" >&5
9923 echo "${ECHO_T}yes" >&6
9925 echo "$as_me:$LINENO: result: no" >&5
9926 echo "${ECHO_T}no" >&6
9929 # Check whether --enable-vendor or --disable-vendor was given.
9930 if test "${enable_vendor+set}" = set; then
9931 enableval
="$enable_vendor"
9934 if test "x$VENDOR" = "x"; then
9939 *-pc-os2_emx | *-pc-os2-emx )
9949 echo "saving argument cache $wx_arg_cache_file"
9950 mv ${wx_arg_cache_file}.tmp
${wx_arg_cache_file}
9954 echo "$as_me:$LINENO: checking for toolkit" >&5
9955 echo $ECHO_N "checking for toolkit... $ECHO_C" >&6
9957 # In Wine, we need to default to MSW, not GTK or MOTIF
9958 if test "$wxUSE_WINE" = "yes"; then
9959 DEFAULT_DEFAULT_wxUSE_GTK
=0
9960 DEFAULT_DEFAULT_wxUSE_MOTIF
=0
9961 DEFAULT_DEFAULT_wxUSE_MSW
=1
9965 if test "$wxUSE_GUI" = "yes"; then
9967 if test "$USE_BEOS" = 1; then
9968 { { echo "$as_me:$LINENO: error: BeOS GUI is not supported yet, use --disable-gui" >&5
9969 echo "$as_me: error: BeOS GUI is not supported yet, use --disable-gui" >&2;}
9970 { (exit 1); exit 1; }; }
9973 if test "$TOOLKIT_GIVEN" = 1; then
9974 for toolkit
in `echo $ALL_TOOLKITS`; do
9976 eval "value=\$${var}"
9977 eval "$var=`echo \$value | sed -e "s
/yes
/1/" -e "s
/no
/0/"`"
9980 for toolkit
in `echo $ALL_TOOLKITS`; do
9981 if test "$has_toolkit_in_cache" != 1; then
9982 var
=DEFAULT_DEFAULT_wxUSE_
$toolkit
9984 var
=DEFAULT_wxUSE_
$toolkit
9986 eval "wxUSE_$toolkit=\$${var}"
9990 NUM_TOOLKITS
=`expr ${wxUSE_COCOA:-0} + ${wxUSE_GTK:-0} + ${wxUSE_MAC:-0} \
9991 + ${wxUSE_MGL:-0} + ${wxUSE_MICROWIN:-0} \
9992 + ${wxUSE_MOTIF:-0} + ${wxUSE_MSW:-0} + ${wxUSE_X11:-0}`
9995 *-pc-os2_emx | *-pc-os2-emx )
9996 NUM_TOOLKITS
=`expr ${NUM_TOOLKITS} + ${wxUSE_PM:-0}`
9999 case "$NUM_TOOLKITS" in
10003 { { echo "$as_me:$LINENO: error: Please specify a toolkit -- cannot determine the default for ${host}" >&5
10004 echo "$as_me: error: Please specify a toolkit -- cannot determine the default for ${host}" >&2;}
10005 { (exit 1); exit 1; }; }
10008 { { echo "$as_me:$LINENO: error: Please specify at most one toolkit (maybe some are cached in configarg.cache?)" >&5
10009 echo "$as_me: error: Please specify at most one toolkit (maybe some are cached in configarg.cache?)" >&2;}
10010 { (exit 1); exit 1; }; }
10013 for toolkit
in `echo $ALL_TOOLKITS`; do
10015 eval "value=\$${var}"
10016 if test "x$value" != x
; then
10017 cache_var
=CACHE_
$toolkit
10018 eval "cache=\$${cache_var}"
10019 if test "$cache" = 1; then
10020 echo "$var=$value" >> ${wx_arg_cache_file}
10022 if test "$value" = 1; then
10023 toolkit_echo
=`echo $toolkit | tr "[A-Z]" "[a-z]"`
10024 echo "$as_me:$LINENO: result: $toolkit_echo" >&5
10025 echo "${ECHO_T}$toolkit_echo" >&6
10030 if test "x$host_alias" != "x"; then
10031 echo "$as_me:$LINENO: result: base ($host_alias hosted) only" >&5
10032 echo "${ECHO_T}base ($host_alias hosted) only" >&6
10034 echo "$as_me:$LINENO: result: base only" >&5
10035 echo "${ECHO_T}base only" >&6
10040 doesnt_want_win32
=0
10043 if test "$wxUSE_MSW" = 1 ; then
10046 doesnt_want_win32
=1
10054 if test "$wxUSE_WINE" = "yes"; then
10059 LDFLAGS_GUI
="-mwindows"
10062 if test "$wants_win32" = 1 ; then
10065 cat >>confdefs.h
<<\_ACEOF
10066 #define __WIN32__ 1
10069 cat >>confdefs.h
<<\_ACEOF
10070 #define __WIN95__ 1
10073 cat >>confdefs.h
<<\_ACEOF
10074 #define __WINDOWS__ 1
10077 cat >>confdefs.h
<<\_ACEOF
10078 #define __GNUWIN32__ 1
10081 cat >>confdefs.h
<<\_ACEOF
10085 cat >>confdefs.h
<<\_ACEOF
10086 #define WINVER 0x0400
10090 if test "$doesnt_want_win32" = 1 ; then
10095 if test "$USE_UNIX" = 1 ; then
10097 cat >>confdefs.h
<<\_ACEOF
10104 cat >confcache
<<\_ACEOF
10105 # This file is a shell script that caches the results of configure
10106 # tests run on this system so they can be shared between configure
10107 # scripts and configure runs, see configure's option --config-cache.
10108 # It is not useful on other systems. If it contains results you don't
10109 # want to keep, you may remove or edit it.
10111 # config.status only pays attention to the cache file if you give it
10112 # the --recheck option to rerun configure.
10114 # `ac_cv_env_foo' variables (set or unset) will be overridden when
10115 # loading this file, other *unset* `ac_cv_foo' will be assigned the
10116 # following values.
10120 # The following way of writing the cache mishandles newlines in values,
10121 # but we know of no workaround that is simple, portable, and efficient.
10122 # So, don't put newlines in cache variables' values.
10123 # Ultrix sh set writes to stderr and can't be redirected directly,
10124 # and sets the high bit in the cache file unless we assign to the vars.
10127 case `(ac_space=' '; set | grep ac_space) 2>&1` in
10129 # `set' does not quote correctly, so add quotes (double-quote
10130 # substitution turns \\\\ into \\, and sed turns \\ into \).
10133 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
10136 # `set' quotes correctly as required by POSIX, so do not add quotes.
10138 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
10145 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
10147 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
10149 if diff $cache_file confcache
>/dev
/null
2>&1; then :; else
10150 if test -w $cache_file; then
10151 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
10152 cat confcache
>$cache_file
10154 echo "not updating unwritable cache $cache_file"
10159 if test "$build" != "$host" ; then
10160 if test "$USE_WIN32" = 1 -o "$USE_DOS" = 1 -o "$USE_UNIX"; then
10162 CXX
=$host_alias-c++
10164 RANLIB
=$host_alias-ranlib
10165 DLLTOOL
=$host_alias-dlltool
10166 RESCOMP
=$host_alias-windres
10169 STRIP
=$host_alias-strip
10171 { { echo "$as_me:$LINENO: error: $build_alias -> $host_alias cross compilation not supported yet." >&5
10172 echo "$as_me: error: $build_alias -> $host_alias cross compilation not supported yet." >&2;}
10173 { (exit 1); exit 1; }; }
10179 ac_cpp
='$CPP $CPPFLAGS'
10180 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10181 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10182 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
10183 if test -n "$ac_tool_prefix"; then
10184 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
10185 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
10186 echo "$as_me:$LINENO: checking for $ac_word" >&5
10187 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10188 if test "${ac_cv_prog_CC+set}" = set; then
10189 echo $ECHO_N "(cached) $ECHO_C" >&6
10191 if test -n "$CC"; then
10192 ac_cv_prog_CC
="$CC" # Let the user override the test.
10194 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10195 for as_dir
in $PATH
10198 test -z "$as_dir" && as_dir
=.
10199 for ac_exec_ext
in '' $ac_executable_extensions; do
10200 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10201 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
10202 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10211 if test -n "$CC"; then
10212 echo "$as_me:$LINENO: result: $CC" >&5
10213 echo "${ECHO_T}$CC" >&6
10215 echo "$as_me:$LINENO: result: no" >&5
10216 echo "${ECHO_T}no" >&6
10220 if test -z "$ac_cv_prog_CC"; then
10222 # Extract the first word of "gcc", so it can be a program name with args.
10223 set dummy gcc
; ac_word
=$2
10224 echo "$as_me:$LINENO: checking for $ac_word" >&5
10225 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10226 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
10227 echo $ECHO_N "(cached) $ECHO_C" >&6
10229 if test -n "$ac_ct_CC"; then
10230 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
10232 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10233 for as_dir
in $PATH
10236 test -z "$as_dir" && as_dir
=.
10237 for ac_exec_ext
in '' $ac_executable_extensions; do
10238 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10239 ac_cv_prog_ac_ct_CC
="gcc"
10240 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10248 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
10249 if test -n "$ac_ct_CC"; then
10250 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
10251 echo "${ECHO_T}$ac_ct_CC" >&6
10253 echo "$as_me:$LINENO: result: no" >&5
10254 echo "${ECHO_T}no" >&6
10259 CC
="$ac_cv_prog_CC"
10262 if test -z "$CC"; then
10263 if test -n "$ac_tool_prefix"; then
10264 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
10265 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
10266 echo "$as_me:$LINENO: checking for $ac_word" >&5
10267 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10268 if test "${ac_cv_prog_CC+set}" = set; then
10269 echo $ECHO_N "(cached) $ECHO_C" >&6
10271 if test -n "$CC"; then
10272 ac_cv_prog_CC
="$CC" # Let the user override the test.
10274 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10275 for as_dir
in $PATH
10278 test -z "$as_dir" && as_dir
=.
10279 for ac_exec_ext
in '' $ac_executable_extensions; do
10280 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10281 ac_cv_prog_CC
="${ac_tool_prefix}cc"
10282 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10291 if test -n "$CC"; then
10292 echo "$as_me:$LINENO: result: $CC" >&5
10293 echo "${ECHO_T}$CC" >&6
10295 echo "$as_me:$LINENO: result: no" >&5
10296 echo "${ECHO_T}no" >&6
10300 if test -z "$ac_cv_prog_CC"; then
10302 # Extract the first word of "cc", so it can be a program name with args.
10303 set dummy cc
; ac_word
=$2
10304 echo "$as_me:$LINENO: checking for $ac_word" >&5
10305 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10306 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
10307 echo $ECHO_N "(cached) $ECHO_C" >&6
10309 if test -n "$ac_ct_CC"; then
10310 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
10312 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10313 for as_dir
in $PATH
10316 test -z "$as_dir" && as_dir
=.
10317 for ac_exec_ext
in '' $ac_executable_extensions; do
10318 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10319 ac_cv_prog_ac_ct_CC
="cc"
10320 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10328 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
10329 if test -n "$ac_ct_CC"; then
10330 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
10331 echo "${ECHO_T}$ac_ct_CC" >&6
10333 echo "$as_me:$LINENO: result: no" >&5
10334 echo "${ECHO_T}no" >&6
10339 CC
="$ac_cv_prog_CC"
10343 if test -z "$CC"; then
10344 # Extract the first word of "cc", so it can be a program name with args.
10345 set dummy cc
; ac_word
=$2
10346 echo "$as_me:$LINENO: checking for $ac_word" >&5
10347 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10348 if test "${ac_cv_prog_CC+set}" = set; then
10349 echo $ECHO_N "(cached) $ECHO_C" >&6
10351 if test -n "$CC"; then
10352 ac_cv_prog_CC
="$CC" # Let the user override the test.
10354 ac_prog_rejected
=no
10355 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10356 for as_dir
in $PATH
10359 test -z "$as_dir" && as_dir
=.
10360 for ac_exec_ext
in '' $ac_executable_extensions; do
10361 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10362 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
10363 ac_prog_rejected
=yes
10367 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10373 if test $ac_prog_rejected = yes; then
10374 # We found a bogon in the path, so make sure we never use it.
10375 set dummy
$ac_cv_prog_CC
10377 if test $# != 0; then
10378 # We chose a different compiler from the bogus one.
10379 # However, it has the same basename, so the bogon will be chosen
10380 # first if we set CC to just the basename; use the full file name.
10382 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
10388 if test -n "$CC"; then
10389 echo "$as_me:$LINENO: result: $CC" >&5
10390 echo "${ECHO_T}$CC" >&6
10392 echo "$as_me:$LINENO: result: no" >&5
10393 echo "${ECHO_T}no" >&6
10397 if test -z "$CC"; then
10398 if test -n "$ac_tool_prefix"; then
10401 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
10402 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
10403 echo "$as_me:$LINENO: checking for $ac_word" >&5
10404 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10405 if test "${ac_cv_prog_CC+set}" = set; then
10406 echo $ECHO_N "(cached) $ECHO_C" >&6
10408 if test -n "$CC"; then
10409 ac_cv_prog_CC
="$CC" # Let the user override the test.
10411 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10412 for as_dir
in $PATH
10415 test -z "$as_dir" && as_dir
=.
10416 for ac_exec_ext
in '' $ac_executable_extensions; do
10417 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10418 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
10419 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10428 if test -n "$CC"; then
10429 echo "$as_me:$LINENO: result: $CC" >&5
10430 echo "${ECHO_T}$CC" >&6
10432 echo "$as_me:$LINENO: result: no" >&5
10433 echo "${ECHO_T}no" >&6
10436 test -n "$CC" && break
10439 if test -z "$CC"; then
10443 # Extract the first word of "$ac_prog", so it can be a program name with args.
10444 set dummy
$ac_prog; ac_word
=$2
10445 echo "$as_me:$LINENO: checking for $ac_word" >&5
10446 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10447 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
10448 echo $ECHO_N "(cached) $ECHO_C" >&6
10450 if test -n "$ac_ct_CC"; then
10451 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
10453 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10454 for as_dir
in $PATH
10457 test -z "$as_dir" && as_dir
=.
10458 for ac_exec_ext
in '' $ac_executable_extensions; do
10459 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10460 ac_cv_prog_ac_ct_CC
="$ac_prog"
10461 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10469 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
10470 if test -n "$ac_ct_CC"; then
10471 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
10472 echo "${ECHO_T}$ac_ct_CC" >&6
10474 echo "$as_me:$LINENO: result: no" >&5
10475 echo "${ECHO_T}no" >&6
10478 test -n "$ac_ct_CC" && break
10487 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
10488 See \`config.log' for more details." >&5
10489 echo "$as_me: error: no acceptable C compiler found in \$PATH
10490 See \`config.log' for more details." >&2;}
10491 { (exit 1); exit 1; }; }
10493 # Provide some information about the compiler.
10494 echo "$as_me:$LINENO:" \
10495 "checking for C compiler version" >&5
10496 ac_compiler
=`set X $ac_compile; echo $2`
10497 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
10498 (eval $ac_compiler --version </dev
/null
>&5) 2>&5
10500 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10501 (exit $ac_status); }
10502 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
10503 (eval $ac_compiler -v </dev
/null
>&5) 2>&5
10505 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10506 (exit $ac_status); }
10507 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
10508 (eval $ac_compiler -V </dev
/null
>&5) 2>&5
10510 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10511 (exit $ac_status); }
10513 cat >conftest.
$ac_ext <<_ACEOF
10516 cat confdefs.h
>>conftest.
$ac_ext
10517 cat >>conftest.
$ac_ext <<_ACEOF
10518 /* end confdefs.h. */
10528 ac_clean_files_save
=$ac_clean_files
10529 ac_clean_files
="$ac_clean_files a.out a.exe b.out"
10530 # Try to create an executable without -o first, disregard a.out.
10531 # It will help us diagnose broken compilers, and finding out an intuition
10533 echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
10534 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6
10535 ac_link_default
=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
10536 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
10537 (eval $ac_link_default) 2>&5
10539 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10540 (exit $ac_status); }; then
10541 # Find the output, starting from the most likely. This scheme is
10542 # not robust to junk in `.', hence go to wildcards (a.*) only as a last
10545 # Be careful to initialize this variable, since it used to be cached.
10546 # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
10548 # b.out is created by i960 compilers.
10549 for ac_file
in a_out.exe a.exe conftest.exe a.out conftest a.
* conftest.
* b.out
10551 test -f "$ac_file" || continue
10553 *.
$ac_ext | *.xcoff
| *.tds
| *.d
| *.pdb
| *.xSYM
| *.bb
| *.bbg
| *.o
| *.obj
)
10556 # This is the source file.
10559 # We found the default executable, but exeext='' is most
10563 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
10564 # FIXME: I believe we export ac_cv_exeext for Libtool,
10565 # but it would be cool to find out if it's true. Does anybody
10566 # maintain Libtool? --akim.
10567 export ac_cv_exeext
10574 echo "$as_me: failed program was:" >&5
10575 sed 's/^/| /' conftest.
$ac_ext >&5
10577 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
10578 See \`config.log' for more details." >&5
10579 echo "$as_me: error: C compiler cannot create executables
10580 See \`config.log' for more details." >&2;}
10581 { (exit 77); exit 77; }; }
10584 ac_exeext
=$ac_cv_exeext
10585 echo "$as_me:$LINENO: result: $ac_file" >&5
10586 echo "${ECHO_T}$ac_file" >&6
10588 # Check the compiler produces executables we can run. If not, either
10589 # the compiler is broken, or we cross compile.
10590 echo "$as_me:$LINENO: checking whether the C compiler works" >&5
10591 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
10592 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
10593 # If not cross compiling, check that we can run a simple program.
10594 if test "$cross_compiling" != yes; then
10595 if { ac_try
='./$ac_file'
10596 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10597 (eval $ac_try) 2>&5
10599 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10600 (exit $ac_status); }; }; then
10603 if test "$cross_compiling" = maybe
; then
10604 cross_compiling
=yes
10606 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
10607 If you meant to cross compile, use \`--host'.
10608 See \`config.log' for more details." >&5
10609 echo "$as_me: error: cannot run C compiled programs.
10610 If you meant to cross compile, use \`--host'.
10611 See \`config.log' for more details." >&2;}
10612 { (exit 1); exit 1; }; }
10616 echo "$as_me:$LINENO: result: yes" >&5
10617 echo "${ECHO_T}yes" >&6
10619 rm -f a.out a.exe conftest
$ac_cv_exeext b.out
10620 ac_clean_files
=$ac_clean_files_save
10621 # Check the compiler produces executables we can run. If not, either
10622 # the compiler is broken, or we cross compile.
10623 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
10624 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
10625 echo "$as_me:$LINENO: result: $cross_compiling" >&5
10626 echo "${ECHO_T}$cross_compiling" >&6
10628 echo "$as_me:$LINENO: checking for suffix of executables" >&5
10629 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
10630 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10631 (eval $ac_link) 2>&5
10633 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10634 (exit $ac_status); }; then
10635 # If both `conftest.exe' and `conftest' are `present' (well, observable)
10636 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
10637 # work properly (i.e., refer to `conftest.exe'), while it won't with
10639 for ac_file
in conftest.exe conftest conftest.
*; do
10640 test -f "$ac_file" || continue
10642 *.
$ac_ext | *.xcoff
| *.tds
| *.d
| *.pdb
| *.xSYM
| *.bb
| *.bbg
| *.o
| *.obj
) ;;
10643 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
10644 export ac_cv_exeext
10650 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
10651 See \`config.log' for more details." >&5
10652 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
10653 See \`config.log' for more details." >&2;}
10654 { (exit 1); exit 1; }; }
10657 rm -f conftest
$ac_cv_exeext
10658 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
10659 echo "${ECHO_T}$ac_cv_exeext" >&6
10661 rm -f conftest.
$ac_ext
10662 EXEEXT
=$ac_cv_exeext
10664 echo "$as_me:$LINENO: checking for suffix of object files" >&5
10665 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
10666 if test "${ac_cv_objext+set}" = set; then
10667 echo $ECHO_N "(cached) $ECHO_C" >&6
10669 cat >conftest.
$ac_ext <<_ACEOF
10672 cat confdefs.h
>>conftest.
$ac_ext
10673 cat >>conftest.
$ac_ext <<_ACEOF
10674 /* end confdefs.h. */
10684 rm -f conftest.o conftest.obj
10685 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10686 (eval $ac_compile) 2>&5
10688 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10689 (exit $ac_status); }; then
10690 for ac_file
in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
10692 *.
$ac_ext | *.xcoff
| *.tds
| *.d
| *.pdb
| *.xSYM
| *.bb
| *.bbg
) ;;
10693 *) ac_cv_objext
=`expr "$ac_file" : '.*\.\(.*\)'`
10698 echo "$as_me: failed program was:" >&5
10699 sed 's/^/| /' conftest.
$ac_ext >&5
10701 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
10702 See \`config.log' for more details." >&5
10703 echo "$as_me: error: cannot compute suffix of object files: cannot compile
10704 See \`config.log' for more details." >&2;}
10705 { (exit 1); exit 1; }; }
10708 rm -f conftest.
$ac_cv_objext conftest.
$ac_ext
10710 echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
10711 echo "${ECHO_T}$ac_cv_objext" >&6
10712 OBJEXT
=$ac_cv_objext
10714 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
10715 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
10716 if test "${ac_cv_c_compiler_gnu+set}" = set; then
10717 echo $ECHO_N "(cached) $ECHO_C" >&6
10719 cat >conftest.
$ac_ext <<_ACEOF
10722 cat confdefs.h
>>conftest.
$ac_ext
10723 cat >>conftest.
$ac_ext <<_ACEOF
10724 /* end confdefs.h. */
10737 rm -f conftest.
$ac_objext
10738 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10739 (eval $ac_compile) 2>conftest.er1
10741 grep -v '^ *+' conftest.er1
>conftest.err
10743 cat conftest.err
>&5
10744 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10745 (exit $ac_status); } &&
10746 { ac_try
='test -z "$ac_c_werror_flag"
10747 || test ! -s conftest.err'
10748 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10749 (eval $ac_try) 2>&5
10751 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10752 (exit $ac_status); }; } &&
10753 { ac_try
='test -s conftest.$ac_objext'
10754 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10755 (eval $ac_try) 2>&5
10757 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10758 (exit $ac_status); }; }; then
10759 ac_compiler_gnu
=yes
10761 echo "$as_me: failed program was:" >&5
10762 sed 's/^/| /' conftest.
$ac_ext >&5
10766 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
10767 ac_cv_c_compiler_gnu
=$ac_compiler_gnu
10770 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
10771 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
10772 GCC
=`test $ac_compiler_gnu = yes && echo yes`
10773 ac_test_CFLAGS
=${CFLAGS+set}
10774 ac_save_CFLAGS
=$CFLAGS
10776 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
10777 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
10778 if test "${ac_cv_prog_cc_g+set}" = set; then
10779 echo $ECHO_N "(cached) $ECHO_C" >&6
10781 cat >conftest.
$ac_ext <<_ACEOF
10784 cat confdefs.h
>>conftest.
$ac_ext
10785 cat >>conftest.
$ac_ext <<_ACEOF
10786 /* end confdefs.h. */
10796 rm -f conftest.
$ac_objext
10797 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10798 (eval $ac_compile) 2>conftest.er1
10800 grep -v '^ *+' conftest.er1
>conftest.err
10802 cat conftest.err
>&5
10803 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10804 (exit $ac_status); } &&
10805 { ac_try
='test -z "$ac_c_werror_flag"
10806 || test ! -s conftest.err'
10807 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10808 (eval $ac_try) 2>&5
10810 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10811 (exit $ac_status); }; } &&
10812 { ac_try
='test -s conftest.$ac_objext'
10813 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10814 (eval $ac_try) 2>&5
10816 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10817 (exit $ac_status); }; }; then
10818 ac_cv_prog_cc_g
=yes
10820 echo "$as_me: failed program was:" >&5
10821 sed 's/^/| /' conftest.
$ac_ext >&5
10825 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
10827 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
10828 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
10829 if test "$ac_test_CFLAGS" = set; then
10830 CFLAGS
=$ac_save_CFLAGS
10831 elif test $ac_cv_prog_cc_g = yes; then
10832 if test "$GCC" = yes; then
10838 if test "$GCC" = yes; then
10844 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
10845 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
10846 if test "${ac_cv_prog_cc_stdc+set}" = set; then
10847 echo $ECHO_N "(cached) $ECHO_C" >&6
10849 ac_cv_prog_cc_stdc
=no
10851 cat >conftest.
$ac_ext <<_ACEOF
10854 cat confdefs.h
>>conftest.
$ac_ext
10855 cat >>conftest.
$ac_ext <<_ACEOF
10856 /* end confdefs.h. */
10857 #include <stdarg.h>
10859 #include <sys/types.h>
10860 #include <sys/stat.h>
10861 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
10862 struct buf { int x; };
10863 FILE * (*rcsopen) (struct buf *, struct stat *, int);
10864 static char *e (p, i)
10870 static char *f (char * (*g) (char **, int), char **p, ...)
10875 s = g (p, va_arg (v,int));
10880 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
10881 function prototypes and stuff, but not '\xHH' hex character constants.
10882 These don't provoke an error unfortunately, instead are silently treated
10883 as 'x'. The following induces an error, until -std1 is added to get
10884 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
10885 array size at least. It's necessary to write '\x00'==0 to get something
10886 that's true only with -std1. */
10887 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
10889 int test (int i, double x);
10890 struct s1 {int (*f) (int a);};
10891 struct s2 {int (*f) (double a);};
10892 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
10898 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
10903 # Don't try gcc -ansi; that turns off useful extensions and
10904 # breaks some systems' header files.
10905 # AIX -qlanglvl=ansi
10906 # Ultrix and OSF/1 -std1
10907 # HP-UX 10.20 and later -Ae
10908 # HP-UX older versions -Aa -D_HPUX_SOURCE
10909 # SVR4 -Xc -D__EXTENSIONS__
10910 for ac_arg
in "" -qlanglvl=ansi
-std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
10912 CC
="$ac_save_CC $ac_arg"
10913 rm -f conftest.
$ac_objext
10914 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10915 (eval $ac_compile) 2>conftest.er1
10917 grep -v '^ *+' conftest.er1
>conftest.err
10919 cat conftest.err
>&5
10920 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10921 (exit $ac_status); } &&
10922 { ac_try
='test -z "$ac_c_werror_flag"
10923 || test ! -s conftest.err'
10924 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10925 (eval $ac_try) 2>&5
10927 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10928 (exit $ac_status); }; } &&
10929 { ac_try
='test -s conftest.$ac_objext'
10930 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10931 (eval $ac_try) 2>&5
10933 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10934 (exit $ac_status); }; }; then
10935 ac_cv_prog_cc_stdc
=$ac_arg
10938 echo "$as_me: failed program was:" >&5
10939 sed 's/^/| /' conftest.
$ac_ext >&5
10942 rm -f conftest.err conftest.
$ac_objext
10944 rm -f conftest.
$ac_ext conftest.
$ac_objext
10949 case "x$ac_cv_prog_cc_stdc" in
10951 echo "$as_me:$LINENO: result: none needed" >&5
10952 echo "${ECHO_T}none needed" >&6 ;;
10954 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
10955 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
10956 CC
="$CC $ac_cv_prog_cc_stdc" ;;
10959 # Some people use a C++ compiler to compile C. Since we use `exit',
10960 # in C++ we need to declare it. In case someone uses the same compiler
10961 # for both compiling C and C++ we need to have the C++ compiler decide
10962 # the declaration of exit, since it's the most demanding environment.
10963 cat >conftest.
$ac_ext <<_ACEOF
10964 #ifndef __cplusplus
10968 rm -f conftest.
$ac_objext
10969 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10970 (eval $ac_compile) 2>conftest.er1
10972 grep -v '^ *+' conftest.er1
>conftest.err
10974 cat conftest.err
>&5
10975 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10976 (exit $ac_status); } &&
10977 { ac_try
='test -z "$ac_c_werror_flag"
10978 || test ! -s conftest.err'
10979 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10980 (eval $ac_try) 2>&5
10982 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10983 (exit $ac_status); }; } &&
10984 { ac_try
='test -s conftest.$ac_objext'
10985 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10986 (eval $ac_try) 2>&5
10988 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10989 (exit $ac_status); }; }; then
10990 for ac_declaration
in \
10992 'extern "C" void std::exit (int) throw (); using std::exit;' \
10993 'extern "C" void std::exit (int); using std::exit;' \
10994 'extern "C" void exit (int) throw ();' \
10995 'extern "C" void exit (int);' \
10998 cat >conftest.
$ac_ext <<_ACEOF
11001 cat confdefs.h
>>conftest.
$ac_ext
11002 cat >>conftest.
$ac_ext <<_ACEOF
11003 /* end confdefs.h. */
11005 #include <stdlib.h>
11014 rm -f conftest.
$ac_objext
11015 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11016 (eval $ac_compile) 2>conftest.er1
11018 grep -v '^ *+' conftest.er1
>conftest.err
11020 cat conftest.err
>&5
11021 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11022 (exit $ac_status); } &&
11023 { ac_try
='test -z "$ac_c_werror_flag"
11024 || test ! -s conftest.err'
11025 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11026 (eval $ac_try) 2>&5
11028 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11029 (exit $ac_status); }; } &&
11030 { ac_try
='test -s conftest.$ac_objext'
11031 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11032 (eval $ac_try) 2>&5
11034 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11035 (exit $ac_status); }; }; then
11038 echo "$as_me: failed program was:" >&5
11039 sed 's/^/| /' conftest.
$ac_ext >&5
11043 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11044 cat >conftest.
$ac_ext <<_ACEOF
11047 cat confdefs.h
>>conftest.
$ac_ext
11048 cat >>conftest.
$ac_ext <<_ACEOF
11049 /* end confdefs.h. */
11059 rm -f conftest.
$ac_objext
11060 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11061 (eval $ac_compile) 2>conftest.er1
11063 grep -v '^ *+' conftest.er1
>conftest.err
11065 cat conftest.err
>&5
11066 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11067 (exit $ac_status); } &&
11068 { ac_try
='test -z "$ac_c_werror_flag"
11069 || test ! -s conftest.err'
11070 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11071 (eval $ac_try) 2>&5
11073 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11074 (exit $ac_status); }; } &&
11075 { ac_try
='test -s conftest.$ac_objext'
11076 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11077 (eval $ac_try) 2>&5
11079 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11080 (exit $ac_status); }; }; then
11083 echo "$as_me: failed program was:" >&5
11084 sed 's/^/| /' conftest.
$ac_ext >&5
11087 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11090 if test -n "$ac_declaration"; then
11091 echo '#ifdef __cplusplus' >>confdefs.h
11092 echo $ac_declaration >>confdefs.h
11093 echo '#endif' >>confdefs.h
11097 echo "$as_me: failed program was:" >&5
11098 sed 's/^/| /' conftest.
$ac_ext >&5
11101 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11103 ac_cpp
='$CPP $CPPFLAGS'
11104 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11105 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11106 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
11111 ac_cpp
='$CPP $CPPFLAGS'
11112 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11113 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11114 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
11115 echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
11116 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
11117 # On Suns, sometimes $CPP names a directory.
11118 if test -n "$CPP" && test -d "$CPP"; then
11121 if test -z "$CPP"; then
11122 if test "${ac_cv_prog_CPP+set}" = set; then
11123 echo $ECHO_N "(cached) $ECHO_C" >&6
11125 # Double quotes because CPP needs to be expanded
11126 for CPP
in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
11128 ac_preproc_ok
=false
11129 for ac_c_preproc_warn_flag
in '' yes
11131 # Use a header file that comes with gcc, so configuring glibc
11132 # with a fresh cross-compiler works.
11133 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11134 # <limits.h> exists even on freestanding compilers.
11135 # On the NeXT, cc -E runs the code through the compiler's parser,
11136 # not just through cpp. "Syntax error" is here to catch this case.
11137 cat >conftest.
$ac_ext <<_ACEOF
11140 cat confdefs.h
>>conftest.
$ac_ext
11141 cat >>conftest.
$ac_ext <<_ACEOF
11142 /* end confdefs.h. */
11144 # include <limits.h>
11146 # include <assert.h>
11150 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
11151 (eval $ac_cpp conftest.
$ac_ext) 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); } >/dev
/null
; then
11158 if test -s conftest.err
; then
11159 ac_cpp_err
=$ac_c_preproc_warn_flag
11160 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
11167 if test -z "$ac_cpp_err"; then
11170 echo "$as_me: failed program was:" >&5
11171 sed 's/^/| /' conftest.
$ac_ext >&5
11173 # Broken: fails on valid input.
11176 rm -f conftest.err conftest.
$ac_ext
11178 # OK, works on sane cases. Now check whether non-existent headers
11179 # can be detected and how.
11180 cat >conftest.
$ac_ext <<_ACEOF
11183 cat confdefs.h
>>conftest.
$ac_ext
11184 cat >>conftest.
$ac_ext <<_ACEOF
11185 /* end confdefs.h. */
11186 #include <ac_nonexistent.h>
11188 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
11189 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
11191 grep -v '^ *+' conftest.er1
>conftest.err
11193 cat conftest.err
>&5
11194 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11195 (exit $ac_status); } >/dev
/null
; then
11196 if test -s conftest.err
; then
11197 ac_cpp_err
=$ac_c_preproc_warn_flag
11198 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
11205 if test -z "$ac_cpp_err"; then
11206 # Broken: success on invalid input.
11209 echo "$as_me: failed program was:" >&5
11210 sed 's/^/| /' conftest.
$ac_ext >&5
11212 # Passes both tests.
11216 rm -f conftest.err conftest.
$ac_ext
11219 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
11220 rm -f conftest.err conftest.
$ac_ext
11221 if $ac_preproc_ok; then
11226 ac_cv_prog_CPP
=$CPP
11229 CPP
=$ac_cv_prog_CPP
11231 ac_cv_prog_CPP
=$CPP
11233 echo "$as_me:$LINENO: result: $CPP" >&5
11234 echo "${ECHO_T}$CPP" >&6
11235 ac_preproc_ok
=false
11236 for ac_c_preproc_warn_flag
in '' yes
11238 # Use a header file that comes with gcc, so configuring glibc
11239 # with a fresh cross-compiler works.
11240 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11241 # <limits.h> exists even on freestanding compilers.
11242 # On the NeXT, cc -E runs the code through the compiler's parser,
11243 # not just through cpp. "Syntax error" is here to catch this case.
11244 cat >conftest.
$ac_ext <<_ACEOF
11247 cat confdefs.h
>>conftest.
$ac_ext
11248 cat >>conftest.
$ac_ext <<_ACEOF
11249 /* end confdefs.h. */
11251 # include <limits.h>
11253 # include <assert.h>
11257 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
11258 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
11260 grep -v '^ *+' conftest.er1
>conftest.err
11262 cat conftest.err
>&5
11263 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11264 (exit $ac_status); } >/dev
/null
; then
11265 if test -s conftest.err
; then
11266 ac_cpp_err
=$ac_c_preproc_warn_flag
11267 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
11274 if test -z "$ac_cpp_err"; then
11277 echo "$as_me: failed program was:" >&5
11278 sed 's/^/| /' conftest.
$ac_ext >&5
11280 # Broken: fails on valid input.
11283 rm -f conftest.err conftest.
$ac_ext
11285 # OK, works on sane cases. Now check whether non-existent headers
11286 # can be detected and how.
11287 cat >conftest.
$ac_ext <<_ACEOF
11290 cat confdefs.h
>>conftest.
$ac_ext
11291 cat >>conftest.
$ac_ext <<_ACEOF
11292 /* end confdefs.h. */
11293 #include <ac_nonexistent.h>
11295 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
11296 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
11298 grep -v '^ *+' conftest.er1
>conftest.err
11300 cat conftest.err
>&5
11301 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11302 (exit $ac_status); } >/dev
/null
; then
11303 if test -s conftest.err
; then
11304 ac_cpp_err
=$ac_c_preproc_warn_flag
11305 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
11312 if test -z "$ac_cpp_err"; then
11313 # Broken: success on invalid input.
11316 echo "$as_me: failed program was:" >&5
11317 sed 's/^/| /' conftest.
$ac_ext >&5
11319 # Passes both tests.
11323 rm -f conftest.err conftest.
$ac_ext
11326 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
11327 rm -f conftest.err conftest.
$ac_ext
11328 if $ac_preproc_ok; then
11331 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
11332 See \`config.log' for more details." >&5
11333 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
11334 See \`config.log' for more details." >&2;}
11335 { (exit 1); exit 1; }; }
11339 ac_cpp
='$CPP $CPPFLAGS'
11340 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11341 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11342 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
11345 echo "$as_me:$LINENO: checking for egrep" >&5
11346 echo $ECHO_N "checking for egrep... $ECHO_C" >&6
11347 if test "${ac_cv_prog_egrep+set}" = set; then
11348 echo $ECHO_N "(cached) $ECHO_C" >&6
11350 if echo a
| (grep -E '(a|b)') >/dev
/null
2>&1
11351 then ac_cv_prog_egrep
='grep -E'
11352 else ac_cv_prog_egrep
='egrep'
11355 echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
11356 echo "${ECHO_T}$ac_cv_prog_egrep" >&6
11357 EGREP
=$ac_cv_prog_egrep
11360 if test $ac_cv_c_compiler_gnu = yes; then
11361 echo "$as_me:$LINENO: checking whether $CC needs -traditional" >&5
11362 echo $ECHO_N "checking whether $CC needs -traditional... $ECHO_C" >&6
11363 if test "${ac_cv_prog_gcc_traditional+set}" = set; then
11364 echo $ECHO_N "(cached) $ECHO_C" >&6
11366 ac_pattern
="Autoconf.*'x'"
11367 cat >conftest.
$ac_ext <<_ACEOF
11370 cat confdefs.h
>>conftest.
$ac_ext
11371 cat >>conftest.
$ac_ext <<_ACEOF
11372 /* end confdefs.h. */
11376 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
11377 $EGREP "$ac_pattern" >/dev
/null
2>&1; then
11378 ac_cv_prog_gcc_traditional
=yes
11380 ac_cv_prog_gcc_traditional
=no
11385 if test $ac_cv_prog_gcc_traditional = no
; then
11386 cat >conftest.
$ac_ext <<_ACEOF
11389 cat confdefs.h
>>conftest.
$ac_ext
11390 cat >>conftest.
$ac_ext <<_ACEOF
11391 /* end confdefs.h. */
11392 #include <termio.h>
11395 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
11396 $EGREP "$ac_pattern" >/dev
/null
2>&1; then
11397 ac_cv_prog_gcc_traditional
=yes
11403 echo "$as_me:$LINENO: result: $ac_cv_prog_gcc_traditional" >&5
11404 echo "${ECHO_T}$ac_cv_prog_gcc_traditional" >&6
11405 if test $ac_cv_prog_gcc_traditional = yes; then
11406 CC
="$CC -traditional"
11414 ac_cpp
='$CXXCPP $CPPFLAGS'
11415 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11416 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11417 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
11420 CXXFLAGS
=${CXXFLAGS:=}
11422 ac_cpp
='$CXXCPP $CPPFLAGS'
11423 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11424 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11425 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
11426 if test -n "$ac_tool_prefix"; then
11427 for ac_prog
in $CCC g
++ c
++ gpp aCC CC cxx cc
++ cl FCC KCC RCC xlC_r xlC
11429 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
11430 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
11431 echo "$as_me:$LINENO: checking for $ac_word" >&5
11432 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11433 if test "${ac_cv_prog_CXX+set}" = set; then
11434 echo $ECHO_N "(cached) $ECHO_C" >&6
11436 if test -n "$CXX"; then
11437 ac_cv_prog_CXX
="$CXX" # Let the user override the test.
11439 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11440 for as_dir
in $PATH
11443 test -z "$as_dir" && as_dir
=.
11444 for ac_exec_ext
in '' $ac_executable_extensions; do
11445 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11446 ac_cv_prog_CXX
="$ac_tool_prefix$ac_prog"
11447 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11455 CXX
=$ac_cv_prog_CXX
11456 if test -n "$CXX"; then
11457 echo "$as_me:$LINENO: result: $CXX" >&5
11458 echo "${ECHO_T}$CXX" >&6
11460 echo "$as_me:$LINENO: result: no" >&5
11461 echo "${ECHO_T}no" >&6
11464 test -n "$CXX" && break
11467 if test -z "$CXX"; then
11469 for ac_prog
in $CCC g
++ c
++ gpp aCC CC cxx cc
++ cl FCC KCC RCC xlC_r xlC
11471 # Extract the first word of "$ac_prog", so it can be a program name with args.
11472 set dummy
$ac_prog; ac_word
=$2
11473 echo "$as_me:$LINENO: checking for $ac_word" >&5
11474 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11475 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
11476 echo $ECHO_N "(cached) $ECHO_C" >&6
11478 if test -n "$ac_ct_CXX"; then
11479 ac_cv_prog_ac_ct_CXX
="$ac_ct_CXX" # Let the user override the test.
11481 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11482 for as_dir
in $PATH
11485 test -z "$as_dir" && as_dir
=.
11486 for ac_exec_ext
in '' $ac_executable_extensions; do
11487 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11488 ac_cv_prog_ac_ct_CXX
="$ac_prog"
11489 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11497 ac_ct_CXX
=$ac_cv_prog_ac_ct_CXX
11498 if test -n "$ac_ct_CXX"; then
11499 echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
11500 echo "${ECHO_T}$ac_ct_CXX" >&6
11502 echo "$as_me:$LINENO: result: no" >&5
11503 echo "${ECHO_T}no" >&6
11506 test -n "$ac_ct_CXX" && break
11508 test -n "$ac_ct_CXX" || ac_ct_CXX
="g++"
11514 # Provide some information about the compiler.
11515 echo "$as_me:$LINENO:" \
11516 "checking for C++ compiler version" >&5
11517 ac_compiler
=`set X $ac_compile; echo $2`
11518 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
11519 (eval $ac_compiler --version </dev
/null
>&5) 2>&5
11521 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11522 (exit $ac_status); }
11523 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
11524 (eval $ac_compiler -v </dev
/null
>&5) 2>&5
11526 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11527 (exit $ac_status); }
11528 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
11529 (eval $ac_compiler -V </dev
/null
>&5) 2>&5
11531 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11532 (exit $ac_status); }
11534 echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
11535 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6
11536 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
11537 echo $ECHO_N "(cached) $ECHO_C" >&6
11539 cat >conftest.
$ac_ext <<_ACEOF
11542 cat confdefs.h
>>conftest.
$ac_ext
11543 cat >>conftest.
$ac_ext <<_ACEOF
11544 /* end confdefs.h. */
11557 rm -f conftest.
$ac_objext
11558 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11559 (eval $ac_compile) 2>conftest.er1
11561 grep -v '^ *+' conftest.er1
>conftest.err
11563 cat conftest.err
>&5
11564 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11565 (exit $ac_status); } &&
11566 { ac_try
='test -z "$ac_cxx_werror_flag"
11567 || test ! -s conftest.err'
11568 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11569 (eval $ac_try) 2>&5
11571 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11572 (exit $ac_status); }; } &&
11573 { ac_try
='test -s conftest.$ac_objext'
11574 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11575 (eval $ac_try) 2>&5
11577 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11578 (exit $ac_status); }; }; then
11579 ac_compiler_gnu
=yes
11581 echo "$as_me: failed program was:" >&5
11582 sed 's/^/| /' conftest.
$ac_ext >&5
11586 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11587 ac_cv_cxx_compiler_gnu
=$ac_compiler_gnu
11590 echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
11591 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6
11592 GXX
=`test $ac_compiler_gnu = yes && echo yes`
11593 ac_test_CXXFLAGS
=${CXXFLAGS+set}
11594 ac_save_CXXFLAGS
=$CXXFLAGS
11596 echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
11597 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6
11598 if test "${ac_cv_prog_cxx_g+set}" = set; then
11599 echo $ECHO_N "(cached) $ECHO_C" >&6
11601 cat >conftest.
$ac_ext <<_ACEOF
11604 cat confdefs.h
>>conftest.
$ac_ext
11605 cat >>conftest.
$ac_ext <<_ACEOF
11606 /* end confdefs.h. */
11616 rm -f conftest.
$ac_objext
11617 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11618 (eval $ac_compile) 2>conftest.er1
11620 grep -v '^ *+' conftest.er1
>conftest.err
11622 cat conftest.err
>&5
11623 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11624 (exit $ac_status); } &&
11625 { ac_try
='test -z "$ac_cxx_werror_flag"
11626 || test ! -s conftest.err'
11627 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11628 (eval $ac_try) 2>&5
11630 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11631 (exit $ac_status); }; } &&
11632 { ac_try
='test -s conftest.$ac_objext'
11633 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11634 (eval $ac_try) 2>&5
11636 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11637 (exit $ac_status); }; }; then
11638 ac_cv_prog_cxx_g
=yes
11640 echo "$as_me: failed program was:" >&5
11641 sed 's/^/| /' conftest.
$ac_ext >&5
11643 ac_cv_prog_cxx_g
=no
11645 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11647 echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
11648 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6
11649 if test "$ac_test_CXXFLAGS" = set; then
11650 CXXFLAGS
=$ac_save_CXXFLAGS
11651 elif test $ac_cv_prog_cxx_g = yes; then
11652 if test "$GXX" = yes; then
11658 if test "$GXX" = yes; then
11664 for ac_declaration
in \
11666 'extern "C" void std::exit (int) throw (); using std::exit;' \
11667 'extern "C" void std::exit (int); using std::exit;' \
11668 'extern "C" void exit (int) throw ();' \
11669 'extern "C" void exit (int);' \
11672 cat >conftest.
$ac_ext <<_ACEOF
11675 cat confdefs.h
>>conftest.
$ac_ext
11676 cat >>conftest.
$ac_ext <<_ACEOF
11677 /* end confdefs.h. */
11679 #include <stdlib.h>
11688 rm -f conftest.
$ac_objext
11689 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11690 (eval $ac_compile) 2>conftest.er1
11692 grep -v '^ *+' conftest.er1
>conftest.err
11694 cat conftest.err
>&5
11695 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11696 (exit $ac_status); } &&
11697 { ac_try
='test -z "$ac_cxx_werror_flag"
11698 || test ! -s conftest.err'
11699 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11700 (eval $ac_try) 2>&5
11702 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11703 (exit $ac_status); }; } &&
11704 { ac_try
='test -s conftest.$ac_objext'
11705 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11706 (eval $ac_try) 2>&5
11708 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11709 (exit $ac_status); }; }; then
11712 echo "$as_me: failed program was:" >&5
11713 sed 's/^/| /' conftest.
$ac_ext >&5
11717 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11718 cat >conftest.
$ac_ext <<_ACEOF
11721 cat confdefs.h
>>conftest.
$ac_ext
11722 cat >>conftest.
$ac_ext <<_ACEOF
11723 /* end confdefs.h. */
11733 rm -f conftest.
$ac_objext
11734 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11735 (eval $ac_compile) 2>conftest.er1
11737 grep -v '^ *+' conftest.er1
>conftest.err
11739 cat conftest.err
>&5
11740 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11741 (exit $ac_status); } &&
11742 { ac_try
='test -z "$ac_cxx_werror_flag"
11743 || test ! -s conftest.err'
11744 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11745 (eval $ac_try) 2>&5
11747 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11748 (exit $ac_status); }; } &&
11749 { ac_try
='test -s conftest.$ac_objext'
11750 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11751 (eval $ac_try) 2>&5
11753 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11754 (exit $ac_status); }; }; then
11757 echo "$as_me: failed program was:" >&5
11758 sed 's/^/| /' conftest.
$ac_ext >&5
11761 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11764 if test -n "$ac_declaration"; then
11765 echo '#ifdef __cplusplus' >>confdefs.h
11766 echo $ac_declaration >>confdefs.h
11767 echo '#endif' >>confdefs.h
11771 ac_cpp
='$CXXCPP $CPPFLAGS'
11772 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11773 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11774 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
11778 ac_cpp
='$CPP $CPPFLAGS'
11779 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11780 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11781 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
11784 echo "$as_me:$LINENO: checking for /usr/local/include in default include path" >&5
11785 echo $ECHO_N "checking for /usr/local/include in default include path... $ECHO_C" >&6
11786 GCC_SEARCHES_USR_LOCAL_INCLUDE
="no"
11787 if test "$GCC" = "yes" ; then
11788 echo | gcc
-v -x c
++ -E - 2>&1 | sed -n '/^#include </,$p' | \
11789 sed -n '1,/End of search list\./p' | \
11790 grep '^ */usr/local/include$' 2>&1 /dev
/null \
11791 && GCC_SEARCHES_USR_LOCAL_INCLUDE
="yes"
11793 echo "$as_me:$LINENO: result: $GCC_SEARCHES_USR_LOCAL_INCLUDE" >&5
11794 echo "${ECHO_T}$GCC_SEARCHES_USR_LOCAL_INCLUDE" >&6
11796 if test -n "$ac_tool_prefix"; then
11797 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
11798 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
11799 echo "$as_me:$LINENO: checking for $ac_word" >&5
11800 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11801 if test "${ac_cv_prog_RANLIB+set}" = set; then
11802 echo $ECHO_N "(cached) $ECHO_C" >&6
11804 if test -n "$RANLIB"; then
11805 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
11807 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11808 for as_dir
in $PATH
11811 test -z "$as_dir" && as_dir
=.
11812 for ac_exec_ext
in '' $ac_executable_extensions; do
11813 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11814 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
11815 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11823 RANLIB
=$ac_cv_prog_RANLIB
11824 if test -n "$RANLIB"; then
11825 echo "$as_me:$LINENO: result: $RANLIB" >&5
11826 echo "${ECHO_T}$RANLIB" >&6
11828 echo "$as_me:$LINENO: result: no" >&5
11829 echo "${ECHO_T}no" >&6
11833 if test -z "$ac_cv_prog_RANLIB"; then
11834 ac_ct_RANLIB
=$RANLIB
11835 # Extract the first word of "ranlib", so it can be a program name with args.
11836 set dummy ranlib
; ac_word
=$2
11837 echo "$as_me:$LINENO: checking for $ac_word" >&5
11838 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11839 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
11840 echo $ECHO_N "(cached) $ECHO_C" >&6
11842 if test -n "$ac_ct_RANLIB"; then
11843 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
11845 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11846 for as_dir
in $PATH
11849 test -z "$as_dir" && as_dir
=.
11850 for ac_exec_ext
in '' $ac_executable_extensions; do
11851 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11852 ac_cv_prog_ac_ct_RANLIB
="ranlib"
11853 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11859 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB
=":"
11862 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
11863 if test -n "$ac_ct_RANLIB"; then
11864 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
11865 echo "${ECHO_T}$ac_ct_RANLIB" >&6
11867 echo "$as_me:$LINENO: result: no" >&5
11868 echo "${ECHO_T}no" >&6
11871 RANLIB
=$ac_ct_RANLIB
11873 RANLIB
="$ac_cv_prog_RANLIB"
11877 # Extract the first word of "ar", so it can be a program name with args.
11878 set dummy
ar; ac_word
=$2
11879 echo "$as_me:$LINENO: checking for $ac_word" >&5
11880 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11881 if test "${ac_cv_prog_AR+set}" = set; then
11882 echo $ECHO_N "(cached) $ECHO_C" >&6
11884 if test -n "$AR"; then
11885 ac_cv_prog_AR
="$AR" # Let the user override the test.
11887 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11888 for as_dir
in $PATH
11891 test -z "$as_dir" && as_dir
=.
11892 for ac_exec_ext
in '' $ac_executable_extensions; do
11893 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11895 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11904 if test -n "$AR"; then
11905 echo "$as_me:$LINENO: result: $AR" >&5
11906 echo "${ECHO_T}$AR" >&6
11908 echo "$as_me:$LINENO: result: no" >&5
11909 echo "${ECHO_T}no" >&6
11912 if test "x$AR" = "x" ; then
11913 { { echo "$as_me:$LINENO: error: ar is needed to build wxWidgets" >&5
11914 echo "$as_me: error: ar is needed to build wxWidgets" >&2;}
11915 { (exit 1); exit 1; }; }
11918 # Find a good install program. We prefer a C program (faster),
11919 # so one script is as good as another. But avoid the broken or
11920 # incompatible versions:
11921 # SysV /etc/install, /usr/sbin/install
11922 # SunOS /usr/etc/install
11923 # IRIX /sbin/install
11925 # AmigaOS /C/install, which installs bootblocks on floppy discs
11926 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
11927 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
11928 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
11929 # OS/2's system install, which has a completely different semantic
11930 # ./install, which can be erroneously created by make from ./install.sh.
11931 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
11932 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
11933 if test -z "$INSTALL"; then
11934 if test "${ac_cv_path_install+set}" = set; then
11935 echo $ECHO_N "(cached) $ECHO_C" >&6
11937 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11938 for as_dir
in $PATH
11941 test -z "$as_dir" && as_dir
=.
11942 # Account for people who put trailing slashes in PATH elements.
11944 .
/ | .
// | /cC
/* | \
11945 /etc
/* | /usr
/sbin
/* | /usr
/etc
/* | /sbin
/* | /usr
/afsws
/bin
/* | \
11946 ?
:\\/os2
\\/install\\/* | ?
:\\/OS2
\\/INSTALL
\\/* | \
11949 # OSF1 and SCO ODT 3.0 have their own names for install.
11950 # Don't use installbsd from OSF since it installs stuff as root
11952 for ac_prog
in ginstall scoinst
install; do
11953 for ac_exec_ext
in '' $ac_executable_extensions; do
11954 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
11955 if test $ac_prog = install &&
11956 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
11957 # AIX install. It has an incompatible calling convention.
11959 elif test $ac_prog = install &&
11960 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
11961 # program-specific install script used by HP pwplus--don't use.
11964 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
11976 if test "${ac_cv_path_install+set}" = set; then
11977 INSTALL
=$ac_cv_path_install
11979 # As a last resort, use the slow shell script. We don't cache a
11980 # path for INSTALL within a source directory, because that will
11981 # break other packages using the cache if that directory is
11982 # removed, or if the path is relative.
11983 INSTALL
=$ac_install_sh
11986 echo "$as_me:$LINENO: result: $INSTALL" >&5
11987 echo "${ECHO_T}$INSTALL" >&6
11989 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
11990 # It thinks the first close brace ends the variable substitution.
11991 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
11993 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
11995 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
12001 ?
:* ) # Drive letter, considered as absolute.
12004 INSTALL
=`pwd`/${INSTALL} ;;
12009 INSTALL_DIR
="mkdir"
12012 *) INSTALL_DIR
="$INSTALL -d"
12019 powerpc
-*-darwin* )
12020 INSTALL_PROGRAM
="cp -fp"
12021 INSTALL_DATA
="cp -fp"
12027 # Extract the first word of "strip", so it can be a program name with args.
12028 set dummy strip
; ac_word
=$2
12029 echo "$as_me:$LINENO: checking for $ac_word" >&5
12030 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
12031 if test "${ac_cv_prog_STRIP+set}" = set; then
12032 echo $ECHO_N "(cached) $ECHO_C" >&6
12034 if test -n "$STRIP"; then
12035 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
12037 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12038 for as_dir
in $PATH
12041 test -z "$as_dir" && as_dir
=.
12042 for ac_exec_ext
in '' $ac_executable_extensions; do
12043 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12044 ac_cv_prog_STRIP
="strip"
12045 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12051 test -z "$ac_cv_prog_STRIP" && ac_cv_prog_STRIP
="true"
12054 STRIP
=$ac_cv_prog_STRIP
12055 if test -n "$STRIP"; then
12056 echo "$as_me:$LINENO: result: $STRIP" >&5
12057 echo "${ECHO_T}$STRIP" >&6
12059 echo "$as_me:$LINENO: result: no" >&5
12060 echo "${ECHO_T}no" >&6
12064 echo "$as_me:$LINENO: checking if make is GNU make" >&5
12065 echo $ECHO_N "checking if make is GNU make... $ECHO_C" >&6
12066 if test "${wx_cv_prog_makeisgnu+set}" = set; then
12067 echo $ECHO_N "(cached) $ECHO_C" >&6
12070 if ( ${SHELL-sh} -c "${MAKE-make} --version" 2> /dev
/null
|
12071 egrep -s GNU
> /dev
/null
); then
12072 wx_cv_prog_makeisgnu
="yes"
12074 wx_cv_prog_makeisgnu
="no"
12078 echo "$as_me:$LINENO: result: $wx_cv_prog_makeisgnu" >&5
12079 echo "${ECHO_T}$wx_cv_prog_makeisgnu" >&6
12081 if test "x$wx_cv_prog_makeisgnu" = "xyes"; then
12089 if test "x$wx_cv_prog_makeisgnu" != "xyes"; then
12090 echo "$as_me:$LINENO: checking if make supports VPATH" >&5
12091 echo $ECHO_N "checking if make supports VPATH... $ECHO_C" >&6
12092 if test "${wx_cv_prog_makevpath+set}" = set; then
12093 echo $ECHO_N "(cached) $ECHO_C" >&6
12096 cat - << EOF > confMake
12102 if test ! -d sub
; then
12105 echo dummy
> sub
/file
12106 ${MAKE-make} -f confMake VPATH
=sub
2>&5 > /dev
/null
12108 rm -f sub
/file check final_file confMake
12110 if test "$RESULT" = 0; then
12111 wx_cv_prog_makevpath
="yes"
12113 wx_cv_prog_makevpath
="no"
12117 echo "$as_me:$LINENO: result: $wx_cv_prog_makevpath" >&5
12118 echo "${ECHO_T}$wx_cv_prog_makevpath" >&6
12120 if test "x$wx_cv_prog_makevpath" != "xyes"; then
12121 { { echo "$as_me:$LINENO: error:
12122 You need a make-utility that is able to use the variable
12124 If your version of make does not support VPATH correctly,
12125 please install GNU-make (possibly as gmake), and start
12126 configure with the following command:
12127 export MAKE=gmake; ./configure for sh-type shells
12128 setenv MAKE gmake; ./configure for csh-type shells
12129 Also please do remember to use gmake in this case every time
12130 you are trying to compile.
12132 echo "$as_me: error:
12133 You need a make-utility that is able to use the variable
12135 If your version of make does not support VPATH correctly,
12136 please install GNU-make (possibly as gmake), and start
12137 configure with the following command:
12138 export MAKE=gmake; ./configure for sh-type shells
12139 setenv MAKE gmake; ./configure for csh-type shells
12140 Also please do remember to use gmake in this case every time
12141 you are trying to compile.
12143 { (exit 1); exit 1; }; }
12145 echo "$as_me:$LINENO: checking whether ln -s works" >&5
12146 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
12148 if test "$LN_S" = "ln -s"; then
12149 echo "$as_me:$LINENO: result: yes" >&5
12150 echo "${ECHO_T}yes" >&6
12152 echo "$as_me:$LINENO: result: no, using $LN_S" >&5
12153 echo "${ECHO_T}no, using $LN_S" >&6
12159 *-pc-os2_emx | *-pc-os2-emx )
12160 if test "$wxUSE_MOTIF" = 1 -o "$wxUSE_GTK" = 1 -o "$wxUSE_X11" = 1; then
12161 echo "$as_me:$LINENO: checking for drand48 in -lcExt" >&5
12162 echo $ECHO_N "checking for drand48 in -lcExt... $ECHO_C" >&6
12163 if test "${ac_cv_lib_cExt_drand48+set}" = set; then
12164 echo $ECHO_N "(cached) $ECHO_C" >&6
12166 ac_check_lib_save_LIBS
=$LIBS
12167 LIBS
="-lcExt $LIBS"
12168 cat >conftest.
$ac_ext <<_ACEOF
12171 cat confdefs.h
>>conftest.
$ac_ext
12172 cat >>conftest.
$ac_ext <<_ACEOF
12173 /* end confdefs.h. */
12175 /* Override any gcc2 internal prototype to avoid an error. */
12179 /* We use char because int might match the return type of a gcc2
12180 builtin and then its argument prototype would still apply. */
12190 rm -f conftest.
$ac_objext conftest
$ac_exeext
12191 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12192 (eval $ac_link) 2>conftest.er1
12194 grep -v '^ *+' conftest.er1
>conftest.err
12196 cat conftest.err
>&5
12197 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12198 (exit $ac_status); } &&
12199 { ac_try
='test -z "$ac_c_werror_flag"
12200 || test ! -s conftest.err'
12201 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12202 (eval $ac_try) 2>&5
12204 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12205 (exit $ac_status); }; } &&
12206 { ac_try
='test -s conftest$ac_exeext'
12207 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12208 (eval $ac_try) 2>&5
12210 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12211 (exit $ac_status); }; }; then
12212 ac_cv_lib_cExt_drand48
=yes
12214 echo "$as_me: failed program was:" >&5
12215 sed 's/^/| /' conftest.
$ac_ext >&5
12217 ac_cv_lib_cExt_drand48
=no
12219 rm -f conftest.err conftest.
$ac_objext \
12220 conftest
$ac_exeext conftest.
$ac_ext
12221 LIBS
=$ac_check_lib_save_LIBS
12223 echo "$as_me:$LINENO: result: $ac_cv_lib_cExt_drand48" >&5
12224 echo "${ECHO_T}$ac_cv_lib_cExt_drand48" >&6
12225 if test $ac_cv_lib_cExt_drand48 = yes; then
12226 LIBS
="$LIBS -lcExt"
12230 RESPROGRAMOBJ
="\${top_srcdir}/include/wx/os2/wx.res"
12232 echo "$as_me:$LINENO: checking for gcc version" >&5
12233 echo $ECHO_N "checking for gcc version... $ECHO_C" >&6
12234 if test "${wx_cv_gccversion+set}" = set; then
12235 echo $ECHO_N "(cached) $ECHO_C" >&6
12238 cat >conftest.
$ac_ext <<_ACEOF
12241 cat confdefs.h
>>conftest.
$ac_ext
12242 cat >>conftest.
$ac_ext <<_ACEOF
12243 /* end confdefs.h. */
12257 rm -f conftest.
$ac_objext
12258 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12259 (eval $ac_compile) 2>conftest.er1
12261 grep -v '^ *+' conftest.er1
>conftest.err
12263 cat conftest.err
>&5
12264 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12265 (exit $ac_status); } &&
12266 { ac_try
='test -z "$ac_c_werror_flag"
12267 || test ! -s conftest.err'
12268 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12269 (eval $ac_try) 2>&5
12271 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12272 (exit $ac_status); }; } &&
12273 { ac_try
='test -s conftest.$ac_objext'
12274 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12275 (eval $ac_try) 2>&5
12277 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12278 (exit $ac_status); }; }; then
12280 cat >conftest.
$ac_ext <<_ACEOF
12283 cat confdefs.h
>>conftest.
$ac_ext
12284 cat >>conftest.
$ac_ext <<_ACEOF
12285 /* end confdefs.h. */
12291 #if (__GNUC__==3) && ((__GNUC_MINOR__ < 2) || ((__GNUC_MINOR__==2) && (__GNUC_PATCHLEVEL__<2)))
12292 #error intermediate gcc
12299 rm -f conftest.
$ac_objext
12300 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12301 (eval $ac_compile) 2>conftest.er1
12303 grep -v '^ *+' conftest.er1
>conftest.err
12305 cat conftest.err
>&5
12306 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12307 (exit $ac_status); } &&
12308 { ac_try
='test -z "$ac_c_werror_flag"
12309 || test ! -s conftest.err'
12310 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12311 (eval $ac_try) 2>&5
12313 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12314 (exit $ac_status); }; } &&
12315 { ac_try
='test -s conftest.$ac_objext'
12316 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12317 (eval $ac_try) 2>&5
12319 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12320 (exit $ac_status); }; }; then
12322 wx_cv_gccversion
=Innotek
12325 echo "$as_me: failed program was:" >&5
12326 sed 's/^/| /' conftest.
$ac_ext >&5
12333 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12336 echo "$as_me: failed program was:" >&5
12337 sed 's/^/| /' conftest.
$ac_ext >&5
12344 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12347 echo "$as_me:$LINENO: result: $wx_cv_gccversion" >&5
12348 echo "${ECHO_T}$wx_cv_gccversion" >&6
12349 if test "$wx_cv_gccversion" = "2"; then
12350 LIBS
="$LIBS -lstdcpp"
12351 LDFLAGS
="$LDFLAGS -Zsysv-signals"
12353 if test "$wx_cv_gccversion" = "3"; then
12354 LIBS
="$LIBS -lstdcxx"
12355 LDFLAGS
="$LDFLAGS -Zsysv-signals"
12357 LIBS
="$LIBS -lstdc++"
12360 if test "$wxUSE_OMF" = "yes"; then
12361 LDFLAGS
="$LDFLAGS -Zomf -Zlinker /PMTYPE:PM -Zlinker /EXEPACK"
12369 ac_cpp
='$CXXCPP $CPPFLAGS'
12370 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12371 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12372 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
12376 echo "$as_me:$LINENO: checking for strcasecmp() in string.h" >&5
12377 echo $ECHO_N "checking for strcasecmp() in string.h... $ECHO_C" >&6
12378 if test "${ac_cv_string_strcasecmp+set}" = set; then
12379 echo $ECHO_N "(cached) $ECHO_C" >&6
12382 cat >conftest.
$ac_ext <<_ACEOF
12385 cat confdefs.h
>>conftest.
$ac_ext
12386 cat >>conftest.
$ac_ext <<_ACEOF
12387 /* end confdefs.h. */
12389 #include <string.h>
12395 strcasecmp("foo", "bar");
12401 rm -f conftest.
$ac_objext conftest
$ac_exeext
12402 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12403 (eval $ac_link) 2>conftest.er1
12405 grep -v '^ *+' conftest.er1
>conftest.err
12407 cat conftest.err
>&5
12408 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12409 (exit $ac_status); } &&
12410 { ac_try
='test -z "$ac_cxx_werror_flag"
12411 || test ! -s conftest.err'
12412 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12413 (eval $ac_try) 2>&5
12415 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12416 (exit $ac_status); }; } &&
12417 { ac_try
='test -s conftest$ac_exeext'
12418 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12419 (eval $ac_try) 2>&5
12421 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12422 (exit $ac_status); }; }; then
12423 ac_cv_string_strcasecmp
=yes
12425 echo "$as_me: failed program was:" >&5
12426 sed 's/^/| /' conftest.
$ac_ext >&5
12428 ac_cv_string_strcasecmp
=no
12431 rm -f conftest.err conftest.
$ac_objext \
12432 conftest
$ac_exeext conftest.
$ac_ext
12435 echo "$as_me:$LINENO: result: $ac_cv_string_strcasecmp" >&5
12436 echo "${ECHO_T}$ac_cv_string_strcasecmp" >&6
12438 if test x
"$ac_cv_string_strcasecmp" = "xyes"; then
12439 cat >>confdefs.h
<<\_ACEOF
12440 #define HAVE_STRCASECMP_IN_STRING_H 1
12444 echo "$as_me:$LINENO: checking for strcasecmp() in strings.h" >&5
12445 echo $ECHO_N "checking for strcasecmp() in strings.h... $ECHO_C" >&6
12446 if test "${ac_cv_strings_strcasecmp+set}" = set; then
12447 echo $ECHO_N "(cached) $ECHO_C" >&6
12450 cat >conftest.
$ac_ext <<_ACEOF
12453 cat confdefs.h
>>conftest.
$ac_ext
12454 cat >>conftest.
$ac_ext <<_ACEOF
12455 /* end confdefs.h. */
12457 #include <strings.h>
12463 strcasecmp("foo", "bar");
12469 rm -f conftest.
$ac_objext conftest
$ac_exeext
12470 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12471 (eval $ac_link) 2>conftest.er1
12473 grep -v '^ *+' conftest.er1
>conftest.err
12475 cat conftest.err
>&5
12476 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12477 (exit $ac_status); } &&
12478 { ac_try
='test -z "$ac_cxx_werror_flag"
12479 || test ! -s conftest.err'
12480 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12481 (eval $ac_try) 2>&5
12483 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12484 (exit $ac_status); }; } &&
12485 { ac_try
='test -s conftest$ac_exeext'
12486 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12487 (eval $ac_try) 2>&5
12489 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12490 (exit $ac_status); }; }; then
12491 ac_cv_strings_strcasecmp
=yes
12493 echo "$as_me: failed program was:" >&5
12494 sed 's/^/| /' conftest.
$ac_ext >&5
12496 ac_cv_strings_strcasecmp
=no
12499 rm -f conftest.err conftest.
$ac_objext \
12500 conftest
$ac_exeext conftest.
$ac_ext
12503 echo "$as_me:$LINENO: result: $ac_cv_strings_strcasecmp" >&5
12504 echo "${ECHO_T}$ac_cv_strings_strcasecmp" >&6
12506 if test x
"$ac_cv_string_strcasecmp" = "xyes"; then
12507 cat >>confdefs.h
<<\_ACEOF
12508 #define HAVE_STRCASECMP_IN_STRINGS_H 1
12512 { { echo "$as_me:$LINENO: error: No case-insensitive string comparison function found." >&5
12513 echo "$as_me: error: No case-insensitive string comparison function found." >&2;}
12514 { (exit 1); exit 1; }; }
12519 ac_cpp
='$CPP $CPPFLAGS'
12520 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12521 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12522 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
12528 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
12529 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
12530 if test "${ac_cv_header_stdc+set}" = set; then
12531 echo $ECHO_N "(cached) $ECHO_C" >&6
12533 cat >conftest.
$ac_ext <<_ACEOF
12536 cat confdefs.h
>>conftest.
$ac_ext
12537 cat >>conftest.
$ac_ext <<_ACEOF
12538 /* end confdefs.h. */
12539 #include <stdlib.h>
12540 #include <stdarg.h>
12541 #include <string.h>
12552 rm -f conftest.
$ac_objext
12553 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12554 (eval $ac_compile) 2>conftest.er1
12556 grep -v '^ *+' conftest.er1
>conftest.err
12558 cat conftest.err
>&5
12559 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12560 (exit $ac_status); } &&
12561 { ac_try
='test -z "$ac_c_werror_flag"
12562 || test ! -s conftest.err'
12563 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12564 (eval $ac_try) 2>&5
12566 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12567 (exit $ac_status); }; } &&
12568 { ac_try
='test -s conftest.$ac_objext'
12569 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12570 (eval $ac_try) 2>&5
12572 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12573 (exit $ac_status); }; }; then
12574 ac_cv_header_stdc
=yes
12576 echo "$as_me: failed program was:" >&5
12577 sed 's/^/| /' conftest.
$ac_ext >&5
12579 ac_cv_header_stdc
=no
12581 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12583 if test $ac_cv_header_stdc = yes; then
12584 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
12585 cat >conftest.
$ac_ext <<_ACEOF
12588 cat confdefs.h
>>conftest.
$ac_ext
12589 cat >>conftest.
$ac_ext <<_ACEOF
12590 /* end confdefs.h. */
12591 #include <string.h>
12594 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
12595 $EGREP "memchr" >/dev
/null
2>&1; then
12598 ac_cv_header_stdc
=no
12604 if test $ac_cv_header_stdc = yes; then
12605 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
12606 cat >conftest.
$ac_ext <<_ACEOF
12609 cat confdefs.h
>>conftest.
$ac_ext
12610 cat >>conftest.
$ac_ext <<_ACEOF
12611 /* end confdefs.h. */
12612 #include <stdlib.h>
12615 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
12616 $EGREP "free" >/dev
/null
2>&1; then
12619 ac_cv_header_stdc
=no
12625 if test $ac_cv_header_stdc = yes; then
12626 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
12627 if test "$cross_compiling" = yes; then
12630 cat >conftest.
$ac_ext <<_ACEOF
12633 cat confdefs.h
>>conftest.
$ac_ext
12634 cat >>conftest.
$ac_ext <<_ACEOF
12635 /* end confdefs.h. */
12637 #if ((' ' & 0x0FF) == 0x020)
12638 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
12639 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
12641 # define ISLOWER(c) \
12642 (('a' <= (c) && (c) <= 'i') \
12643 || ('j' <= (c) && (c) <= 'r') \
12644 || ('s' <= (c) && (c) <= 'z'))
12645 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
12648 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
12653 for (i = 0; i < 256; i++)
12654 if (XOR (islower (i), ISLOWER (i))
12655 || toupper (i) != TOUPPER (i))
12660 rm -f conftest
$ac_exeext
12661 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12662 (eval $ac_link) 2>&5
12664 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12665 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
12666 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12667 (eval $ac_try) 2>&5
12669 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12670 (exit $ac_status); }; }; then
12673 echo "$as_me: program exited with status $ac_status" >&5
12674 echo "$as_me: failed program was:" >&5
12675 sed 's/^/| /' conftest.
$ac_ext >&5
12677 ( exit $ac_status )
12678 ac_cv_header_stdc
=no
12680 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
12684 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
12685 echo "${ECHO_T}$ac_cv_header_stdc" >&6
12686 if test $ac_cv_header_stdc = yes; then
12688 cat >>confdefs.h
<<\_ACEOF
12689 #define STDC_HEADERS 1
12694 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
12704 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
12705 inttypes.h stdint.h unistd.h
12707 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
12708 echo "$as_me:$LINENO: checking for $ac_header" >&5
12709 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12710 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12711 echo $ECHO_N "(cached) $ECHO_C" >&6
12713 cat >conftest.
$ac_ext <<_ACEOF
12716 cat confdefs.h
>>conftest.
$ac_ext
12717 cat >>conftest.
$ac_ext <<_ACEOF
12718 /* end confdefs.h. */
12719 $ac_includes_default
12721 #include <$ac_header>
12723 rm -f conftest.
$ac_objext
12724 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12725 (eval $ac_compile) 2>conftest.er1
12727 grep -v '^ *+' conftest.er1
>conftest.err
12729 cat conftest.err
>&5
12730 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12731 (exit $ac_status); } &&
12732 { ac_try
='test -z "$ac_c_werror_flag"
12733 || test ! -s conftest.err'
12734 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12735 (eval $ac_try) 2>&5
12737 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12738 (exit $ac_status); }; } &&
12739 { ac_try
='test -s conftest.$ac_objext'
12740 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12741 (eval $ac_try) 2>&5
12743 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12744 (exit $ac_status); }; }; then
12745 eval "$as_ac_Header=yes"
12747 echo "$as_me: failed program was:" >&5
12748 sed 's/^/| /' conftest.
$ac_ext >&5
12750 eval "$as_ac_Header=no"
12752 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12754 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12755 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12756 if test `eval echo '${'$as_ac_Header'}'` = yes; then
12757 cat >>confdefs.h
<<_ACEOF
12758 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
12767 for ac_header
in stdlib.h
12769 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
12770 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12771 echo "$as_me:$LINENO: checking for $ac_header" >&5
12772 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12773 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12774 echo $ECHO_N "(cached) $ECHO_C" >&6
12776 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12777 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12779 # Is the header compilable?
12780 echo "$as_me:$LINENO: checking $ac_header usability" >&5
12781 echo $ECHO_N "checking $ac_header usability... $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
12789 #include <$ac_header>
12791 rm -f conftest.
$ac_objext
12792 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12793 (eval $ac_compile) 2>conftest.er1
12795 grep -v '^ *+' conftest.er1
>conftest.err
12797 cat conftest.err
>&5
12798 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12799 (exit $ac_status); } &&
12800 { ac_try
='test -z "$ac_c_werror_flag"
12801 || test ! -s conftest.err'
12802 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12803 (eval $ac_try) 2>&5
12805 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12806 (exit $ac_status); }; } &&
12807 { ac_try
='test -s conftest.$ac_objext'
12808 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12809 (eval $ac_try) 2>&5
12811 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12812 (exit $ac_status); }; }; then
12813 ac_header_compiler
=yes
12815 echo "$as_me: failed program was:" >&5
12816 sed 's/^/| /' conftest.
$ac_ext >&5
12818 ac_header_compiler
=no
12820 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12821 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
12822 echo "${ECHO_T}$ac_header_compiler" >&6
12824 # Is the header present?
12825 echo "$as_me:$LINENO: checking $ac_header presence" >&5
12826 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
12827 cat >conftest.
$ac_ext <<_ACEOF
12830 cat confdefs.h
>>conftest.
$ac_ext
12831 cat >>conftest.
$ac_ext <<_ACEOF
12832 /* end confdefs.h. */
12833 #include <$ac_header>
12835 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
12836 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
12838 grep -v '^ *+' conftest.er1
>conftest.err
12840 cat conftest.err
>&5
12841 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12842 (exit $ac_status); } >/dev
/null
; then
12843 if test -s conftest.err
; then
12844 ac_cpp_err
=$ac_c_preproc_warn_flag
12845 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
12852 if test -z "$ac_cpp_err"; then
12853 ac_header_preproc
=yes
12855 echo "$as_me: failed program was:" >&5
12856 sed 's/^/| /' conftest.
$ac_ext >&5
12858 ac_header_preproc
=no
12860 rm -f conftest.err conftest.
$ac_ext
12861 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
12862 echo "${ECHO_T}$ac_header_preproc" >&6
12864 # So? What about this header?
12865 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
12867 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
12868 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
12869 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
12870 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
12871 ac_header_preproc
=yes
12874 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
12875 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
12876 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
12877 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
12878 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
12879 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
12880 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
12881 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
12882 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12883 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
12884 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
12885 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
12888 ## ----------------------------------------- ##
12889 ## Report this to wx-dev@lists.wxwidgets.org ##
12890 ## ----------------------------------------- ##
12893 sed "s/^/$as_me: WARNING: /" >&2
12896 echo "$as_me:$LINENO: checking for $ac_header" >&5
12897 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12898 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12899 echo $ECHO_N "(cached) $ECHO_C" >&6
12901 eval "$as_ac_Header=\$ac_header_preproc"
12903 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12904 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12907 if test `eval echo '${'$as_ac_Header'}'` = yes; then
12908 cat >>confdefs.h
<<_ACEOF
12909 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
12917 for ac_header
in malloc.h
12919 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
12920 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12921 echo "$as_me:$LINENO: checking for $ac_header" >&5
12922 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12923 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12924 echo $ECHO_N "(cached) $ECHO_C" >&6
12926 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12927 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12929 # Is the header compilable?
12930 echo "$as_me:$LINENO: checking $ac_header usability" >&5
12931 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
12932 cat >conftest.
$ac_ext <<_ACEOF
12935 cat confdefs.h
>>conftest.
$ac_ext
12936 cat >>conftest.
$ac_ext <<_ACEOF
12937 /* end confdefs.h. */
12938 $ac_includes_default
12939 #include <$ac_header>
12941 rm -f conftest.
$ac_objext
12942 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12943 (eval $ac_compile) 2>conftest.er1
12945 grep -v '^ *+' conftest.er1
>conftest.err
12947 cat conftest.err
>&5
12948 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12949 (exit $ac_status); } &&
12950 { ac_try
='test -z "$ac_c_werror_flag"
12951 || test ! -s conftest.err'
12952 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12953 (eval $ac_try) 2>&5
12955 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12956 (exit $ac_status); }; } &&
12957 { ac_try
='test -s conftest.$ac_objext'
12958 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12959 (eval $ac_try) 2>&5
12961 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12962 (exit $ac_status); }; }; then
12963 ac_header_compiler
=yes
12965 echo "$as_me: failed program was:" >&5
12966 sed 's/^/| /' conftest.
$ac_ext >&5
12968 ac_header_compiler
=no
12970 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12971 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
12972 echo "${ECHO_T}$ac_header_compiler" >&6
12974 # Is the header present?
12975 echo "$as_me:$LINENO: checking $ac_header presence" >&5
12976 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
12977 cat >conftest.
$ac_ext <<_ACEOF
12980 cat confdefs.h
>>conftest.
$ac_ext
12981 cat >>conftest.
$ac_ext <<_ACEOF
12982 /* end confdefs.h. */
12983 #include <$ac_header>
12985 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
12986 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
12988 grep -v '^ *+' conftest.er1
>conftest.err
12990 cat conftest.err
>&5
12991 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12992 (exit $ac_status); } >/dev
/null
; then
12993 if test -s conftest.err
; then
12994 ac_cpp_err
=$ac_c_preproc_warn_flag
12995 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
13002 if test -z "$ac_cpp_err"; then
13003 ac_header_preproc
=yes
13005 echo "$as_me: failed program was:" >&5
13006 sed 's/^/| /' conftest.
$ac_ext >&5
13008 ac_header_preproc
=no
13010 rm -f conftest.err conftest.
$ac_ext
13011 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
13012 echo "${ECHO_T}$ac_header_preproc" >&6
13014 # So? What about this header?
13015 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
13017 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
13018 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
13019 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
13020 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
13021 ac_header_preproc
=yes
13024 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
13025 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
13026 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
13027 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
13028 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
13029 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
13030 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
13031 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
13032 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
13033 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
13034 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
13035 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
13038 ## ----------------------------------------- ##
13039 ## Report this to wx-dev@lists.wxwidgets.org ##
13040 ## ----------------------------------------- ##
13043 sed "s/^/$as_me: WARNING: /" >&2
13046 echo "$as_me:$LINENO: checking for $ac_header" >&5
13047 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13048 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13049 echo $ECHO_N "(cached) $ECHO_C" >&6
13051 eval "$as_ac_Header=\$ac_header_preproc"
13053 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13054 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13057 if test `eval echo '${'$as_ac_Header'}'` = yes; then
13058 cat >>confdefs.h
<<_ACEOF
13059 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
13067 for ac_header
in unistd.h
13069 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
13070 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13071 echo "$as_me:$LINENO: checking for $ac_header" >&5
13072 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13073 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13074 echo $ECHO_N "(cached) $ECHO_C" >&6
13076 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13077 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13079 # Is the header compilable?
13080 echo "$as_me:$LINENO: checking $ac_header usability" >&5
13081 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
13082 cat >conftest.
$ac_ext <<_ACEOF
13085 cat confdefs.h
>>conftest.
$ac_ext
13086 cat >>conftest.
$ac_ext <<_ACEOF
13087 /* end confdefs.h. */
13088 $ac_includes_default
13089 #include <$ac_header>
13091 rm -f conftest.
$ac_objext
13092 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13093 (eval $ac_compile) 2>conftest.er1
13095 grep -v '^ *+' conftest.er1
>conftest.err
13097 cat conftest.err
>&5
13098 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13099 (exit $ac_status); } &&
13100 { ac_try
='test -z "$ac_c_werror_flag"
13101 || test ! -s conftest.err'
13102 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13103 (eval $ac_try) 2>&5
13105 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13106 (exit $ac_status); }; } &&
13107 { ac_try
='test -s conftest.$ac_objext'
13108 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13109 (eval $ac_try) 2>&5
13111 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13112 (exit $ac_status); }; }; then
13113 ac_header_compiler
=yes
13115 echo "$as_me: failed program was:" >&5
13116 sed 's/^/| /' conftest.
$ac_ext >&5
13118 ac_header_compiler
=no
13120 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13121 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
13122 echo "${ECHO_T}$ac_header_compiler" >&6
13124 # Is the header present?
13125 echo "$as_me:$LINENO: checking $ac_header presence" >&5
13126 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
13127 cat >conftest.
$ac_ext <<_ACEOF
13130 cat confdefs.h
>>conftest.
$ac_ext
13131 cat >>conftest.
$ac_ext <<_ACEOF
13132 /* end confdefs.h. */
13133 #include <$ac_header>
13135 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
13136 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
13138 grep -v '^ *+' conftest.er1
>conftest.err
13140 cat conftest.err
>&5
13141 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13142 (exit $ac_status); } >/dev
/null
; then
13143 if test -s conftest.err
; then
13144 ac_cpp_err
=$ac_c_preproc_warn_flag
13145 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
13152 if test -z "$ac_cpp_err"; then
13153 ac_header_preproc
=yes
13155 echo "$as_me: failed program was:" >&5
13156 sed 's/^/| /' conftest.
$ac_ext >&5
13158 ac_header_preproc
=no
13160 rm -f conftest.err conftest.
$ac_ext
13161 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
13162 echo "${ECHO_T}$ac_header_preproc" >&6
13164 # So? What about this header?
13165 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
13167 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
13168 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
13169 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
13170 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
13171 ac_header_preproc
=yes
13174 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
13175 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
13176 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
13177 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
13178 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
13179 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
13180 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
13181 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
13182 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
13183 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
13184 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
13185 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
13188 ## ----------------------------------------- ##
13189 ## Report this to wx-dev@lists.wxwidgets.org ##
13190 ## ----------------------------------------- ##
13193 sed "s/^/$as_me: WARNING: /" >&2
13196 echo "$as_me:$LINENO: checking for $ac_header" >&5
13197 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13198 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13199 echo $ECHO_N "(cached) $ECHO_C" >&6
13201 eval "$as_ac_Header=\$ac_header_preproc"
13203 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13204 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13207 if test `eval echo '${'$as_ac_Header'}'` = yes; then
13208 cat >>confdefs.h
<<_ACEOF
13209 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
13217 for ac_header
in wchar.h
13219 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
13220 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13221 echo "$as_me:$LINENO: checking for $ac_header" >&5
13222 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13223 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13224 echo $ECHO_N "(cached) $ECHO_C" >&6
13226 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13227 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13229 # Is the header compilable?
13230 echo "$as_me:$LINENO: checking $ac_header usability" >&5
13231 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
13232 cat >conftest.
$ac_ext <<_ACEOF
13235 cat confdefs.h
>>conftest.
$ac_ext
13236 cat >>conftest.
$ac_ext <<_ACEOF
13237 /* end confdefs.h. */
13238 $ac_includes_default
13239 #include <$ac_header>
13241 rm -f conftest.
$ac_objext
13242 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13243 (eval $ac_compile) 2>conftest.er1
13245 grep -v '^ *+' conftest.er1
>conftest.err
13247 cat conftest.err
>&5
13248 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13249 (exit $ac_status); } &&
13250 { ac_try
='test -z "$ac_c_werror_flag"
13251 || test ! -s conftest.err'
13252 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13253 (eval $ac_try) 2>&5
13255 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13256 (exit $ac_status); }; } &&
13257 { ac_try
='test -s conftest.$ac_objext'
13258 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13259 (eval $ac_try) 2>&5
13261 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13262 (exit $ac_status); }; }; then
13263 ac_header_compiler
=yes
13265 echo "$as_me: failed program was:" >&5
13266 sed 's/^/| /' conftest.
$ac_ext >&5
13268 ac_header_compiler
=no
13270 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13271 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
13272 echo "${ECHO_T}$ac_header_compiler" >&6
13274 # Is the header present?
13275 echo "$as_me:$LINENO: checking $ac_header presence" >&5
13276 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
13277 cat >conftest.
$ac_ext <<_ACEOF
13280 cat confdefs.h
>>conftest.
$ac_ext
13281 cat >>conftest.
$ac_ext <<_ACEOF
13282 /* end confdefs.h. */
13283 #include <$ac_header>
13285 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
13286 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
13288 grep -v '^ *+' conftest.er1
>conftest.err
13290 cat conftest.err
>&5
13291 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13292 (exit $ac_status); } >/dev
/null
; then
13293 if test -s conftest.err
; then
13294 ac_cpp_err
=$ac_c_preproc_warn_flag
13295 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
13302 if test -z "$ac_cpp_err"; then
13303 ac_header_preproc
=yes
13305 echo "$as_me: failed program was:" >&5
13306 sed 's/^/| /' conftest.
$ac_ext >&5
13308 ac_header_preproc
=no
13310 rm -f conftest.err conftest.
$ac_ext
13311 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
13312 echo "${ECHO_T}$ac_header_preproc" >&6
13314 # So? What about this header?
13315 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
13317 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
13318 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
13319 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
13320 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
13321 ac_header_preproc
=yes
13324 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
13325 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
13326 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
13327 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
13328 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
13329 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
13330 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
13331 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
13332 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
13333 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
13334 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
13335 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
13338 ## ----------------------------------------- ##
13339 ## Report this to wx-dev@lists.wxwidgets.org ##
13340 ## ----------------------------------------- ##
13343 sed "s/^/$as_me: WARNING: /" >&2
13346 echo "$as_me:$LINENO: checking for $ac_header" >&5
13347 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13348 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13349 echo $ECHO_N "(cached) $ECHO_C" >&6
13351 eval "$as_ac_Header=\$ac_header_preproc"
13353 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13354 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13357 if test `eval echo '${'$as_ac_Header'}'` = yes; then
13358 cat >>confdefs.h
<<_ACEOF
13359 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
13367 if test "$ac_cv_header_wchar_h" != "yes"; then
13369 for ac_header
in wcstr.h
13371 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
13372 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13373 echo "$as_me:$LINENO: checking for $ac_header" >&5
13374 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13375 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13376 echo $ECHO_N "(cached) $ECHO_C" >&6
13378 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13379 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13381 # Is the header compilable?
13382 echo "$as_me:$LINENO: checking $ac_header usability" >&5
13383 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
13384 cat >conftest.
$ac_ext <<_ACEOF
13387 cat confdefs.h
>>conftest.
$ac_ext
13388 cat >>conftest.
$ac_ext <<_ACEOF
13389 /* end confdefs.h. */
13390 $ac_includes_default
13391 #include <$ac_header>
13393 rm -f conftest.
$ac_objext
13394 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13395 (eval $ac_compile) 2>conftest.er1
13397 grep -v '^ *+' conftest.er1
>conftest.err
13399 cat conftest.err
>&5
13400 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13401 (exit $ac_status); } &&
13402 { ac_try
='test -z "$ac_c_werror_flag"
13403 || test ! -s conftest.err'
13404 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13405 (eval $ac_try) 2>&5
13407 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13408 (exit $ac_status); }; } &&
13409 { ac_try
='test -s conftest.$ac_objext'
13410 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13411 (eval $ac_try) 2>&5
13413 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13414 (exit $ac_status); }; }; then
13415 ac_header_compiler
=yes
13417 echo "$as_me: failed program was:" >&5
13418 sed 's/^/| /' conftest.
$ac_ext >&5
13420 ac_header_compiler
=no
13422 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13423 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
13424 echo "${ECHO_T}$ac_header_compiler" >&6
13426 # Is the header present?
13427 echo "$as_me:$LINENO: checking $ac_header presence" >&5
13428 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
13429 cat >conftest.
$ac_ext <<_ACEOF
13432 cat confdefs.h
>>conftest.
$ac_ext
13433 cat >>conftest.
$ac_ext <<_ACEOF
13434 /* end confdefs.h. */
13435 #include <$ac_header>
13437 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
13438 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
13440 grep -v '^ *+' conftest.er1
>conftest.err
13442 cat conftest.err
>&5
13443 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13444 (exit $ac_status); } >/dev
/null
; then
13445 if test -s conftest.err
; then
13446 ac_cpp_err
=$ac_c_preproc_warn_flag
13447 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
13454 if test -z "$ac_cpp_err"; then
13455 ac_header_preproc
=yes
13457 echo "$as_me: failed program was:" >&5
13458 sed 's/^/| /' conftest.
$ac_ext >&5
13460 ac_header_preproc
=no
13462 rm -f conftest.err conftest.
$ac_ext
13463 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
13464 echo "${ECHO_T}$ac_header_preproc" >&6
13466 # So? What about this header?
13467 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
13469 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
13470 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
13471 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
13472 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
13473 ac_header_preproc
=yes
13476 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
13477 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
13478 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
13479 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
13480 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
13481 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
13482 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
13483 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
13484 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
13485 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
13486 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
13487 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
13490 ## ----------------------------------------- ##
13491 ## Report this to wx-dev@lists.wxwidgets.org ##
13492 ## ----------------------------------------- ##
13495 sed "s/^/$as_me: WARNING: /" >&2
13498 echo "$as_me:$LINENO: checking for $ac_header" >&5
13499 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13500 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13501 echo $ECHO_N "(cached) $ECHO_C" >&6
13503 eval "$as_ac_Header=\$ac_header_preproc"
13505 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13506 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13509 if test `eval echo '${'$as_ac_Header'}'` = yes; then
13510 cat >>confdefs.h
<<_ACEOF
13511 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
13521 for ac_header
in fnmatch.h
13523 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
13524 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13525 echo "$as_me:$LINENO: checking for $ac_header" >&5
13526 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13527 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13528 echo $ECHO_N "(cached) $ECHO_C" >&6
13530 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13531 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13533 # Is the header compilable?
13534 echo "$as_me:$LINENO: checking $ac_header usability" >&5
13535 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
13536 cat >conftest.
$ac_ext <<_ACEOF
13539 cat confdefs.h
>>conftest.
$ac_ext
13540 cat >>conftest.
$ac_ext <<_ACEOF
13541 /* end confdefs.h. */
13542 $ac_includes_default
13543 #include <$ac_header>
13545 rm -f conftest.
$ac_objext
13546 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13547 (eval $ac_compile) 2>conftest.er1
13549 grep -v '^ *+' conftest.er1
>conftest.err
13551 cat conftest.err
>&5
13552 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13553 (exit $ac_status); } &&
13554 { ac_try
='test -z "$ac_c_werror_flag"
13555 || test ! -s conftest.err'
13556 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13557 (eval $ac_try) 2>&5
13559 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13560 (exit $ac_status); }; } &&
13561 { ac_try
='test -s conftest.$ac_objext'
13562 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13563 (eval $ac_try) 2>&5
13565 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13566 (exit $ac_status); }; }; then
13567 ac_header_compiler
=yes
13569 echo "$as_me: failed program was:" >&5
13570 sed 's/^/| /' conftest.
$ac_ext >&5
13572 ac_header_compiler
=no
13574 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13575 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
13576 echo "${ECHO_T}$ac_header_compiler" >&6
13578 # Is the header present?
13579 echo "$as_me:$LINENO: checking $ac_header presence" >&5
13580 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
13581 cat >conftest.
$ac_ext <<_ACEOF
13584 cat confdefs.h
>>conftest.
$ac_ext
13585 cat >>conftest.
$ac_ext <<_ACEOF
13586 /* end confdefs.h. */
13587 #include <$ac_header>
13589 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
13590 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
13592 grep -v '^ *+' conftest.er1
>conftest.err
13594 cat conftest.err
>&5
13595 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13596 (exit $ac_status); } >/dev
/null
; then
13597 if test -s conftest.err
; then
13598 ac_cpp_err
=$ac_c_preproc_warn_flag
13599 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
13606 if test -z "$ac_cpp_err"; then
13607 ac_header_preproc
=yes
13609 echo "$as_me: failed program was:" >&5
13610 sed 's/^/| /' conftest.
$ac_ext >&5
13612 ac_header_preproc
=no
13614 rm -f conftest.err conftest.
$ac_ext
13615 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
13616 echo "${ECHO_T}$ac_header_preproc" >&6
13618 # So? What about this header?
13619 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
13621 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
13622 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
13623 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
13624 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
13625 ac_header_preproc
=yes
13628 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
13629 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
13630 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
13631 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
13632 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
13633 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
13634 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
13635 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
13636 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
13637 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
13638 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
13639 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
13642 ## ----------------------------------------- ##
13643 ## Report this to wx-dev@lists.wxwidgets.org ##
13644 ## ----------------------------------------- ##
13647 sed "s/^/$as_me: WARNING: /" >&2
13650 echo "$as_me:$LINENO: checking for $ac_header" >&5
13651 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13652 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13653 echo $ECHO_N "(cached) $ECHO_C" >&6
13655 eval "$as_ac_Header=\$ac_header_preproc"
13657 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13658 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13661 if test `eval echo '${'$as_ac_Header'}'` = yes; then
13662 cat >>confdefs.h
<<_ACEOF
13663 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
13671 if test "x$ac_cv_header_fnmatch_h" = "xyes"; then
13673 for ac_func
in fnmatch
13675 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
13676 echo "$as_me:$LINENO: checking for $ac_func" >&5
13677 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
13678 if eval "test \"\${$as_ac_var+set}\" = set"; then
13679 echo $ECHO_N "(cached) $ECHO_C" >&6
13681 cat >conftest.
$ac_ext <<_ACEOF
13684 cat confdefs.h
>>conftest.
$ac_ext
13685 cat >>conftest.
$ac_ext <<_ACEOF
13686 /* end confdefs.h. */
13687 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
13688 For example, HP-UX 11i <limits.h> declares gettimeofday. */
13689 #define $ac_func innocuous_$ac_func
13691 /* System header to define __stub macros and hopefully few prototypes,
13692 which can conflict with char $ac_func (); below.
13693 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13694 <limits.h> exists even on freestanding compilers. */
13697 # include <limits.h>
13699 # include <assert.h>
13704 /* Override any gcc2 internal prototype to avoid an error. */
13709 /* We use char because int might match the return type of a gcc2
13710 builtin and then its argument prototype would still apply. */
13712 /* The GNU C library defines this for functions which it implements
13713 to always fail with ENOSYS. Some functions are actually named
13714 something starting with __ and the normal name is an alias. */
13715 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13718 char (*f) () = $ac_func;
13727 return f != $ac_func;
13732 rm -f conftest.
$ac_objext conftest
$ac_exeext
13733 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13734 (eval $ac_link) 2>conftest.er1
13736 grep -v '^ *+' conftest.er1
>conftest.err
13738 cat conftest.err
>&5
13739 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13740 (exit $ac_status); } &&
13741 { ac_try
='test -z "$ac_c_werror_flag"
13742 || test ! -s conftest.err'
13743 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13744 (eval $ac_try) 2>&5
13746 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13747 (exit $ac_status); }; } &&
13748 { ac_try
='test -s conftest$ac_exeext'
13749 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13750 (eval $ac_try) 2>&5
13752 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13753 (exit $ac_status); }; }; then
13754 eval "$as_ac_var=yes"
13756 echo "$as_me: failed program was:" >&5
13757 sed 's/^/| /' conftest.
$ac_ext >&5
13759 eval "$as_ac_var=no"
13761 rm -f conftest.err conftest.
$ac_objext \
13762 conftest
$ac_exeext conftest.
$ac_ext
13764 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
13765 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
13766 if test `eval echo '${'$as_ac_var'}'` = yes; then
13767 cat >>confdefs.h
<<_ACEOF
13768 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
13777 for ac_header
in langinfo.h
13779 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
13780 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13781 echo "$as_me:$LINENO: checking for $ac_header" >&5
13782 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13783 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13784 echo $ECHO_N "(cached) $ECHO_C" >&6
13786 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13787 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13789 # Is the header compilable?
13790 echo "$as_me:$LINENO: checking $ac_header usability" >&5
13791 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
13792 cat >conftest.
$ac_ext <<_ACEOF
13795 cat confdefs.h
>>conftest.
$ac_ext
13796 cat >>conftest.
$ac_ext <<_ACEOF
13797 /* end confdefs.h. */
13798 $ac_includes_default
13799 #include <$ac_header>
13801 rm -f conftest.
$ac_objext
13802 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13803 (eval $ac_compile) 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_objext'
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 ac_header_compiler
=yes
13825 echo "$as_me: failed program was:" >&5
13826 sed 's/^/| /' conftest.
$ac_ext >&5
13828 ac_header_compiler
=no
13830 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13831 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
13832 echo "${ECHO_T}$ac_header_compiler" >&6
13834 # Is the header present?
13835 echo "$as_me:$LINENO: checking $ac_header presence" >&5
13836 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
13837 cat >conftest.
$ac_ext <<_ACEOF
13840 cat confdefs.h
>>conftest.
$ac_ext
13841 cat >>conftest.
$ac_ext <<_ACEOF
13842 /* end confdefs.h. */
13843 #include <$ac_header>
13845 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
13846 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
13848 grep -v '^ *+' conftest.er1
>conftest.err
13850 cat conftest.err
>&5
13851 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13852 (exit $ac_status); } >/dev
/null
; then
13853 if test -s conftest.err
; then
13854 ac_cpp_err
=$ac_c_preproc_warn_flag
13855 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
13862 if test -z "$ac_cpp_err"; then
13863 ac_header_preproc
=yes
13865 echo "$as_me: failed program was:" >&5
13866 sed 's/^/| /' conftest.
$ac_ext >&5
13868 ac_header_preproc
=no
13870 rm -f conftest.err conftest.
$ac_ext
13871 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
13872 echo "${ECHO_T}$ac_header_preproc" >&6
13874 # So? What about this header?
13875 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
13877 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
13878 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
13879 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
13880 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
13881 ac_header_preproc
=yes
13884 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
13885 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
13886 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
13887 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
13888 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
13889 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
13890 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
13891 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
13892 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
13893 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
13894 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
13895 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
13898 ## ----------------------------------------- ##
13899 ## Report this to wx-dev@lists.wxwidgets.org ##
13900 ## ----------------------------------------- ##
13903 sed "s/^/$as_me: WARNING: /" >&2
13906 echo "$as_me:$LINENO: checking for $ac_header" >&5
13907 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13908 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13909 echo $ECHO_N "(cached) $ECHO_C" >&6
13911 eval "$as_ac_Header=\$ac_header_preproc"
13913 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13914 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13917 if test `eval echo '${'$as_ac_Header'}'` = yes; then
13918 cat >>confdefs.h
<<_ACEOF
13919 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
13928 *-pc-os2_emx | *-pc-os2-emx )
13929 if test $ac_cv_header_langinfo_h = "yes"; then
13930 LIBS
="$LIBS -lintl"
13935 if test "$wxUSE_GUI" = "yes"; then
13936 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_PM" != 1; then
13938 for ac_header
in X
11/Xlib.h
13940 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
13941 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13942 echo "$as_me:$LINENO: checking for $ac_header" >&5
13943 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13944 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13945 echo $ECHO_N "(cached) $ECHO_C" >&6
13947 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13948 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13950 # Is the header compilable?
13951 echo "$as_me:$LINENO: checking $ac_header usability" >&5
13952 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
13953 cat >conftest.
$ac_ext <<_ACEOF
13956 cat confdefs.h
>>conftest.
$ac_ext
13957 cat >>conftest.
$ac_ext <<_ACEOF
13958 /* end confdefs.h. */
13959 $ac_includes_default
13960 #include <$ac_header>
13962 rm -f conftest.
$ac_objext
13963 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13964 (eval $ac_compile) 2>conftest.er1
13966 grep -v '^ *+' conftest.er1
>conftest.err
13968 cat conftest.err
>&5
13969 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13970 (exit $ac_status); } &&
13971 { ac_try
='test -z "$ac_c_werror_flag"
13972 || test ! -s conftest.err'
13973 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13974 (eval $ac_try) 2>&5
13976 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13977 (exit $ac_status); }; } &&
13978 { ac_try
='test -s conftest.$ac_objext'
13979 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13980 (eval $ac_try) 2>&5
13982 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13983 (exit $ac_status); }; }; then
13984 ac_header_compiler
=yes
13986 echo "$as_me: failed program was:" >&5
13987 sed 's/^/| /' conftest.
$ac_ext >&5
13989 ac_header_compiler
=no
13991 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13992 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
13993 echo "${ECHO_T}$ac_header_compiler" >&6
13995 # Is the header present?
13996 echo "$as_me:$LINENO: checking $ac_header presence" >&5
13997 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
13998 cat >conftest.
$ac_ext <<_ACEOF
14001 cat confdefs.h
>>conftest.
$ac_ext
14002 cat >>conftest.
$ac_ext <<_ACEOF
14003 /* end confdefs.h. */
14004 #include <$ac_header>
14006 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
14007 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
14009 grep -v '^ *+' conftest.er1
>conftest.err
14011 cat conftest.err
>&5
14012 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14013 (exit $ac_status); } >/dev
/null
; then
14014 if test -s conftest.err
; then
14015 ac_cpp_err
=$ac_c_preproc_warn_flag
14016 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
14023 if test -z "$ac_cpp_err"; then
14024 ac_header_preproc
=yes
14026 echo "$as_me: failed program was:" >&5
14027 sed 's/^/| /' conftest.
$ac_ext >&5
14029 ac_header_preproc
=no
14031 rm -f conftest.err conftest.
$ac_ext
14032 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
14033 echo "${ECHO_T}$ac_header_preproc" >&6
14035 # So? What about this header?
14036 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
14038 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
14039 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
14040 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
14041 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
14042 ac_header_preproc
=yes
14045 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
14046 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
14047 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
14048 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
14049 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
14050 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
14051 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
14052 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
14053 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
14054 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
14055 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
14056 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
14059 ## ----------------------------------------- ##
14060 ## Report this to wx-dev@lists.wxwidgets.org ##
14061 ## ----------------------------------------- ##
14064 sed "s/^/$as_me: WARNING: /" >&2
14067 echo "$as_me:$LINENO: checking for $ac_header" >&5
14068 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
14069 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14070 echo $ECHO_N "(cached) $ECHO_C" >&6
14072 eval "$as_ac_Header=\$ac_header_preproc"
14074 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
14075 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
14078 if test `eval echo '${'$as_ac_Header'}'` = yes; then
14079 cat >>confdefs.h
<<_ACEOF
14080 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
14088 for ac_header
in X
11/XKBlib.h
14090 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
14091 echo "$as_me:$LINENO: checking for $ac_header" >&5
14092 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
14093 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14094 echo $ECHO_N "(cached) $ECHO_C" >&6
14096 cat >conftest.
$ac_ext <<_ACEOF
14099 cat confdefs.h
>>conftest.
$ac_ext
14100 cat >>conftest.
$ac_ext <<_ACEOF
14101 /* end confdefs.h. */
14103 #if HAVE_X11_XLIB_H
14104 #include <X11/Xlib.h>
14108 #include <$ac_header>
14110 rm -f conftest.
$ac_objext
14111 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14112 (eval $ac_compile) 2>conftest.er1
14114 grep -v '^ *+' conftest.er1
>conftest.err
14116 cat conftest.err
>&5
14117 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14118 (exit $ac_status); } &&
14119 { ac_try
='test -z "$ac_c_werror_flag"
14120 || test ! -s conftest.err'
14121 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14122 (eval $ac_try) 2>&5
14124 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14125 (exit $ac_status); }; } &&
14126 { ac_try
='test -s conftest.$ac_objext'
14127 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14128 (eval $ac_try) 2>&5
14130 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14131 (exit $ac_status); }; }; then
14132 eval "$as_ac_Header=yes"
14134 echo "$as_me: failed program was:" >&5
14135 sed 's/^/| /' conftest.
$ac_ext >&5
14137 eval "$as_ac_Header=no"
14139 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14141 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
14142 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
14143 if test `eval echo '${'$as_ac_Header'}'` = yes; then
14144 cat >>confdefs.h
<<_ACEOF
14145 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
14156 echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
14157 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6
14158 if test "${ac_cv_c_const+set}" = set; then
14159 echo $ECHO_N "(cached) $ECHO_C" >&6
14161 cat >conftest.
$ac_ext <<_ACEOF
14164 cat confdefs.h
>>conftest.
$ac_ext
14165 cat >>conftest.
$ac_ext <<_ACEOF
14166 /* end confdefs.h. */
14171 /* FIXME: Include the comments suggested by Paul. */
14172 #ifndef __cplusplus
14173 /* Ultrix mips cc rejects this. */
14174 typedef int charset[2];
14176 /* SunOS 4.1.1 cc rejects this. */
14177 char const *const *ccp;
14179 /* NEC SVR4.0.2 mips cc rejects this. */
14180 struct point {int x, y;};
14181 static struct point const zero = {0,0};
14182 /* AIX XL C 1.02.0.0 rejects this.
14183 It does not let you subtract one const X* pointer from another in
14184 an arm of an if-expression whose if-part is not a constant
14186 const char *g = "string";
14187 ccp = &g + (g ? g-g : 0);
14188 /* HPUX 7.0 cc rejects these. */
14191 ccp = (char const *const *) p;
14192 { /* SCO 3.2v4 cc rejects this. */
14194 char const *s = 0 ? (char *) 0 : (char const *) 0;
14198 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
14199 int x[] = {25, 17};
14200 const int *foo = &x[0];
14203 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
14204 typedef const int *iptr;
14208 { /* AIX XL C 1.02.0.0 rejects this saying
14209 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
14210 struct s { int j; const int *ap[3]; };
14211 struct s *b; b->j = 5;
14213 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
14214 const int foo = 10;
14222 rm -f conftest.
$ac_objext
14223 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14224 (eval $ac_compile) 2>conftest.er1
14226 grep -v '^ *+' conftest.er1
>conftest.err
14228 cat conftest.err
>&5
14229 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14230 (exit $ac_status); } &&
14231 { ac_try
='test -z "$ac_c_werror_flag"
14232 || test ! -s conftest.err'
14233 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14234 (eval $ac_try) 2>&5
14236 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14237 (exit $ac_status); }; } &&
14238 { ac_try
='test -s conftest.$ac_objext'
14239 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14240 (eval $ac_try) 2>&5
14242 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14243 (exit $ac_status); }; }; then
14246 echo "$as_me: failed program was:" >&5
14247 sed 's/^/| /' conftest.
$ac_ext >&5
14251 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14253 echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
14254 echo "${ECHO_T}$ac_cv_c_const" >&6
14255 if test $ac_cv_c_const = no
; then
14257 cat >>confdefs.h
<<\_ACEOF
14263 echo "$as_me:$LINENO: checking for inline" >&5
14264 echo $ECHO_N "checking for inline... $ECHO_C" >&6
14265 if test "${ac_cv_c_inline+set}" = set; then
14266 echo $ECHO_N "(cached) $ECHO_C" >&6
14269 for ac_kw
in inline __inline__ __inline
; do
14270 cat >conftest.
$ac_ext <<_ACEOF
14273 cat confdefs.h
>>conftest.
$ac_ext
14274 cat >>conftest.
$ac_ext <<_ACEOF
14275 /* end confdefs.h. */
14276 #ifndef __cplusplus
14278 static $ac_kw foo_t static_foo () {return 0; }
14279 $ac_kw foo_t foo () {return 0; }
14283 rm -f conftest.
$ac_objext
14284 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14285 (eval $ac_compile) 2>conftest.er1
14287 grep -v '^ *+' conftest.er1
>conftest.err
14289 cat conftest.err
>&5
14290 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14291 (exit $ac_status); } &&
14292 { ac_try
='test -z "$ac_c_werror_flag"
14293 || test ! -s conftest.err'
14294 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14295 (eval $ac_try) 2>&5
14297 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14298 (exit $ac_status); }; } &&
14299 { ac_try
='test -s conftest.$ac_objext'
14300 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14301 (eval $ac_try) 2>&5
14303 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14304 (exit $ac_status); }; }; then
14305 ac_cv_c_inline
=$ac_kw; break
14307 echo "$as_me: failed program was:" >&5
14308 sed 's/^/| /' conftest.
$ac_ext >&5
14311 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14315 echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
14316 echo "${ECHO_T}$ac_cv_c_inline" >&6
14319 case $ac_cv_c_inline in
14322 case $ac_cv_c_inline in
14324 *) ac_val
=$ac_cv_c_inline;;
14326 cat >>confdefs.h
<<_ACEOF
14327 #ifndef __cplusplus
14328 #define inline $ac_val
14335 echo "$as_me:$LINENO: checking for char" >&5
14336 echo $ECHO_N "checking for char... $ECHO_C" >&6
14337 if test "${ac_cv_type_char+set}" = set; then
14338 echo $ECHO_N "(cached) $ECHO_C" >&6
14340 cat >conftest.
$ac_ext <<_ACEOF
14343 cat confdefs.h
>>conftest.
$ac_ext
14344 cat >>conftest.
$ac_ext <<_ACEOF
14345 /* end confdefs.h. */
14346 $ac_includes_default
14358 rm -f conftest.
$ac_objext
14359 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14360 (eval $ac_compile) 2>conftest.er1
14362 grep -v '^ *+' conftest.er1
>conftest.err
14364 cat conftest.err
>&5
14365 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14366 (exit $ac_status); } &&
14367 { ac_try
='test -z "$ac_c_werror_flag"
14368 || test ! -s conftest.err'
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); }; } &&
14374 { ac_try
='test -s conftest.$ac_objext'
14375 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14376 (eval $ac_try) 2>&5
14378 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14379 (exit $ac_status); }; }; then
14380 ac_cv_type_char
=yes
14382 echo "$as_me: failed program was:" >&5
14383 sed 's/^/| /' conftest.
$ac_ext >&5
14387 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14389 echo "$as_me:$LINENO: result: $ac_cv_type_char" >&5
14390 echo "${ECHO_T}$ac_cv_type_char" >&6
14392 echo "$as_me:$LINENO: checking size of char" >&5
14393 echo $ECHO_N "checking size of char... $ECHO_C" >&6
14394 if test "${ac_cv_sizeof_char+set}" = set; then
14395 echo $ECHO_N "(cached) $ECHO_C" >&6
14397 if test "$ac_cv_type_char" = yes; then
14398 # The cast to unsigned long works around a bug in the HP C Compiler
14399 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
14400 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
14401 # This bug is HP SR number 8606223364.
14402 if test "$cross_compiling" = yes; then
14403 # Depending upon the size, compute the lo and hi bounds.
14404 cat >conftest.
$ac_ext <<_ACEOF
14407 cat confdefs.h
>>conftest.
$ac_ext
14408 cat >>conftest.
$ac_ext <<_ACEOF
14409 /* end confdefs.h. */
14410 $ac_includes_default
14414 static int test_array [1 - 2 * !(((long) (sizeof (char))) >= 0)];
14421 rm -f conftest.
$ac_objext
14422 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14423 (eval $ac_compile) 2>conftest.er1
14425 grep -v '^ *+' conftest.er1
>conftest.err
14427 cat conftest.err
>&5
14428 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14429 (exit $ac_status); } &&
14430 { ac_try
='test -z "$ac_c_werror_flag"
14431 || test ! -s conftest.err'
14432 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14433 (eval $ac_try) 2>&5
14435 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14436 (exit $ac_status); }; } &&
14437 { ac_try
='test -s conftest.$ac_objext'
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); }; }; then
14445 cat >conftest.
$ac_ext <<_ACEOF
14448 cat confdefs.h
>>conftest.
$ac_ext
14449 cat >>conftest.
$ac_ext <<_ACEOF
14450 /* end confdefs.h. */
14451 $ac_includes_default
14455 static int test_array [1 - 2 * !(((long) (sizeof (char))) <= $ac_mid)];
14462 rm -f conftest.
$ac_objext
14463 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14464 (eval $ac_compile) 2>conftest.er1
14466 grep -v '^ *+' conftest.er1
>conftest.err
14468 cat conftest.err
>&5
14469 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14470 (exit $ac_status); } &&
14471 { ac_try
='test -z "$ac_c_werror_flag"
14472 || test ! -s conftest.err'
14473 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14474 (eval $ac_try) 2>&5
14476 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14477 (exit $ac_status); }; } &&
14478 { ac_try
='test -s conftest.$ac_objext'
14479 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14480 (eval $ac_try) 2>&5
14482 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14483 (exit $ac_status); }; }; then
14484 ac_hi
=$ac_mid; break
14486 echo "$as_me: failed program was:" >&5
14487 sed 's/^/| /' conftest.
$ac_ext >&5
14489 ac_lo
=`expr $ac_mid + 1`
14490 if test $ac_lo -le $ac_mid; then
14494 ac_mid
=`expr 2 '*' $ac_mid + 1`
14496 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14499 echo "$as_me: failed program was:" >&5
14500 sed 's/^/| /' conftest.
$ac_ext >&5
14502 cat >conftest.
$ac_ext <<_ACEOF
14505 cat confdefs.h
>>conftest.
$ac_ext
14506 cat >>conftest.
$ac_ext <<_ACEOF
14507 /* end confdefs.h. */
14508 $ac_includes_default
14512 static int test_array [1 - 2 * !(((long) (sizeof (char))) < 0)];
14519 rm -f conftest.
$ac_objext
14520 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14521 (eval $ac_compile) 2>conftest.er1
14523 grep -v '^ *+' conftest.er1
>conftest.err
14525 cat conftest.err
>&5
14526 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14527 (exit $ac_status); } &&
14528 { ac_try
='test -z "$ac_c_werror_flag"
14529 || test ! -s conftest.err'
14530 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14531 (eval $ac_try) 2>&5
14533 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14534 (exit $ac_status); }; } &&
14535 { ac_try
='test -s conftest.$ac_objext'
14536 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14537 (eval $ac_try) 2>&5
14539 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14540 (exit $ac_status); }; }; then
14543 cat >conftest.
$ac_ext <<_ACEOF
14546 cat confdefs.h
>>conftest.
$ac_ext
14547 cat >>conftest.
$ac_ext <<_ACEOF
14548 /* end confdefs.h. */
14549 $ac_includes_default
14553 static int test_array [1 - 2 * !(((long) (sizeof (char))) >= $ac_mid)];
14560 rm -f conftest.
$ac_objext
14561 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14562 (eval $ac_compile) 2>conftest.er1
14564 grep -v '^ *+' conftest.er1
>conftest.err
14566 cat conftest.err
>&5
14567 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14568 (exit $ac_status); } &&
14569 { ac_try
='test -z "$ac_c_werror_flag"
14570 || test ! -s conftest.err'
14571 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14572 (eval $ac_try) 2>&5
14574 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14575 (exit $ac_status); }; } &&
14576 { ac_try
='test -s conftest.$ac_objext'
14577 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14578 (eval $ac_try) 2>&5
14580 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14581 (exit $ac_status); }; }; then
14582 ac_lo
=$ac_mid; break
14584 echo "$as_me: failed program was:" >&5
14585 sed 's/^/| /' conftest.
$ac_ext >&5
14587 ac_hi
=`expr '(' $ac_mid ')' - 1`
14588 if test $ac_mid -le $ac_hi; then
14592 ac_mid
=`expr 2 '*' $ac_mid`
14594 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14597 echo "$as_me: failed program was:" >&5
14598 sed 's/^/| /' conftest.
$ac_ext >&5
14602 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14604 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14605 # Binary search between lo and hi bounds.
14606 while test "x$ac_lo" != "x$ac_hi"; do
14607 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
14608 cat >conftest.
$ac_ext <<_ACEOF
14611 cat confdefs.h
>>conftest.
$ac_ext
14612 cat >>conftest.
$ac_ext <<_ACEOF
14613 /* end confdefs.h. */
14614 $ac_includes_default
14618 static int test_array [1 - 2 * !(((long) (sizeof (char))) <= $ac_mid)];
14625 rm -f conftest.
$ac_objext
14626 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14627 (eval $ac_compile) 2>conftest.er1
14629 grep -v '^ *+' conftest.er1
>conftest.err
14631 cat conftest.err
>&5
14632 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14633 (exit $ac_status); } &&
14634 { ac_try
='test -z "$ac_c_werror_flag"
14635 || test ! -s conftest.err'
14636 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14637 (eval $ac_try) 2>&5
14639 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14640 (exit $ac_status); }; } &&
14641 { ac_try
='test -s conftest.$ac_objext'
14642 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14643 (eval $ac_try) 2>&5
14645 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14646 (exit $ac_status); }; }; then
14649 echo "$as_me: failed program was:" >&5
14650 sed 's/^/| /' conftest.
$ac_ext >&5
14652 ac_lo
=`expr '(' $ac_mid ')' + 1`
14654 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14657 ?
*) ac_cv_sizeof_char
=$ac_lo;;
14658 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (char), 77
14659 See \`config.log' for more details." >&5
14660 echo "$as_me: error: cannot compute sizeof (char), 77
14661 See \`config.log' for more details." >&2;}
14662 { (exit 1); exit 1; }; } ;;
14665 if test "$cross_compiling" = yes; then
14666 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
14667 See \`config.log' for more details." >&5
14668 echo "$as_me: error: cannot run test program while cross compiling
14669 See \`config.log' for more details." >&2;}
14670 { (exit 1); exit 1; }; }
14672 cat >conftest.
$ac_ext <<_ACEOF
14675 cat confdefs.h
>>conftest.
$ac_ext
14676 cat >>conftest.
$ac_ext <<_ACEOF
14677 /* end confdefs.h. */
14678 $ac_includes_default
14679 long longval () { return (long) (sizeof (char)); }
14680 unsigned long ulongval () { return (long) (sizeof (char)); }
14682 #include <stdlib.h>
14687 FILE *f = fopen ("conftest.val", "w");
14690 if (((long) (sizeof (char))) < 0)
14692 long i = longval ();
14693 if (i != ((long) (sizeof (char))))
14695 fprintf (f, "%ld\n", i);
14699 unsigned long i = ulongval ();
14700 if (i != ((long) (sizeof (char))))
14702 fprintf (f, "%lu\n", i);
14704 exit (ferror (f) || fclose (f) != 0);
14710 rm -f conftest
$ac_exeext
14711 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14712 (eval $ac_link) 2>&5
14714 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14715 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
14716 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14717 (eval $ac_try) 2>&5
14719 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14720 (exit $ac_status); }; }; then
14721 ac_cv_sizeof_char
=`cat conftest.val`
14723 echo "$as_me: program exited with status $ac_status" >&5
14724 echo "$as_me: failed program was:" >&5
14725 sed 's/^/| /' conftest.
$ac_ext >&5
14727 ( exit $ac_status )
14728 { { echo "$as_me:$LINENO: error: cannot compute sizeof (char), 77
14729 See \`config.log' for more details." >&5
14730 echo "$as_me: error: cannot compute sizeof (char), 77
14731 See \`config.log' for more details." >&2;}
14732 { (exit 1); exit 1; }; }
14734 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
14739 ac_cv_sizeof_char
=0
14742 echo "$as_me:$LINENO: result: $ac_cv_sizeof_char" >&5
14743 echo "${ECHO_T}$ac_cv_sizeof_char" >&6
14744 cat >>confdefs.h
<<_ACEOF
14745 #define SIZEOF_CHAR $ac_cv_sizeof_char
14749 echo "$as_me:$LINENO: checking for short" >&5
14750 echo $ECHO_N "checking for short... $ECHO_C" >&6
14751 if test "${ac_cv_type_short+set}" = set; then
14752 echo $ECHO_N "(cached) $ECHO_C" >&6
14754 cat >conftest.
$ac_ext <<_ACEOF
14757 cat confdefs.h
>>conftest.
$ac_ext
14758 cat >>conftest.
$ac_ext <<_ACEOF
14759 /* end confdefs.h. */
14760 $ac_includes_default
14766 if (sizeof (short))
14772 rm -f conftest.
$ac_objext
14773 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14774 (eval $ac_compile) 2>conftest.er1
14776 grep -v '^ *+' conftest.er1
>conftest.err
14778 cat conftest.err
>&5
14779 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14780 (exit $ac_status); } &&
14781 { ac_try
='test -z "$ac_c_werror_flag"
14782 || test ! -s conftest.err'
14783 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14784 (eval $ac_try) 2>&5
14786 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14787 (exit $ac_status); }; } &&
14788 { ac_try
='test -s conftest.$ac_objext'
14789 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14790 (eval $ac_try) 2>&5
14792 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14793 (exit $ac_status); }; }; then
14794 ac_cv_type_short
=yes
14796 echo "$as_me: failed program was:" >&5
14797 sed 's/^/| /' conftest.
$ac_ext >&5
14799 ac_cv_type_short
=no
14801 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14803 echo "$as_me:$LINENO: result: $ac_cv_type_short" >&5
14804 echo "${ECHO_T}$ac_cv_type_short" >&6
14806 echo "$as_me:$LINENO: checking size of short" >&5
14807 echo $ECHO_N "checking size of short... $ECHO_C" >&6
14808 if test "${ac_cv_sizeof_short+set}" = set; then
14809 echo $ECHO_N "(cached) $ECHO_C" >&6
14811 if test "$ac_cv_type_short" = yes; then
14812 # The cast to unsigned long works around a bug in the HP C Compiler
14813 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
14814 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
14815 # This bug is HP SR number 8606223364.
14816 if test "$cross_compiling" = yes; then
14817 # Depending upon the size, compute the lo and hi bounds.
14818 cat >conftest.
$ac_ext <<_ACEOF
14821 cat confdefs.h
>>conftest.
$ac_ext
14822 cat >>conftest.
$ac_ext <<_ACEOF
14823 /* end confdefs.h. */
14824 $ac_includes_default
14828 static int test_array [1 - 2 * !(((long) (sizeof (short))) >= 0)];
14835 rm -f conftest.
$ac_objext
14836 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14837 (eval $ac_compile) 2>conftest.er1
14839 grep -v '^ *+' conftest.er1
>conftest.err
14841 cat conftest.err
>&5
14842 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14843 (exit $ac_status); } &&
14844 { ac_try
='test -z "$ac_c_werror_flag"
14845 || test ! -s conftest.err'
14846 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14847 (eval $ac_try) 2>&5
14849 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14850 (exit $ac_status); }; } &&
14851 { ac_try
='test -s conftest.$ac_objext'
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); }; }; then
14859 cat >conftest.
$ac_ext <<_ACEOF
14862 cat confdefs.h
>>conftest.
$ac_ext
14863 cat >>conftest.
$ac_ext <<_ACEOF
14864 /* end confdefs.h. */
14865 $ac_includes_default
14869 static int test_array [1 - 2 * !(((long) (sizeof (short))) <= $ac_mid)];
14876 rm -f conftest.
$ac_objext
14877 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14878 (eval $ac_compile) 2>conftest.er1
14880 grep -v '^ *+' conftest.er1
>conftest.err
14882 cat conftest.err
>&5
14883 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14884 (exit $ac_status); } &&
14885 { ac_try
='test -z "$ac_c_werror_flag"
14886 || test ! -s conftest.err'
14887 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14888 (eval $ac_try) 2>&5
14890 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14891 (exit $ac_status); }; } &&
14892 { ac_try
='test -s conftest.$ac_objext'
14893 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14894 (eval $ac_try) 2>&5
14896 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14897 (exit $ac_status); }; }; then
14898 ac_hi
=$ac_mid; break
14900 echo "$as_me: failed program was:" >&5
14901 sed 's/^/| /' conftest.
$ac_ext >&5
14903 ac_lo
=`expr $ac_mid + 1`
14904 if test $ac_lo -le $ac_mid; then
14908 ac_mid
=`expr 2 '*' $ac_mid + 1`
14910 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14913 echo "$as_me: failed program was:" >&5
14914 sed 's/^/| /' conftest.
$ac_ext >&5
14916 cat >conftest.
$ac_ext <<_ACEOF
14919 cat confdefs.h
>>conftest.
$ac_ext
14920 cat >>conftest.
$ac_ext <<_ACEOF
14921 /* end confdefs.h. */
14922 $ac_includes_default
14926 static int test_array [1 - 2 * !(((long) (sizeof (short))) < 0)];
14933 rm -f conftest.
$ac_objext
14934 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14935 (eval $ac_compile) 2>conftest.er1
14937 grep -v '^ *+' conftest.er1
>conftest.err
14939 cat conftest.err
>&5
14940 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14941 (exit $ac_status); } &&
14942 { ac_try
='test -z "$ac_c_werror_flag"
14943 || test ! -s conftest.err'
14944 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14945 (eval $ac_try) 2>&5
14947 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14948 (exit $ac_status); }; } &&
14949 { ac_try
='test -s conftest.$ac_objext'
14950 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14951 (eval $ac_try) 2>&5
14953 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14954 (exit $ac_status); }; }; then
14957 cat >conftest.
$ac_ext <<_ACEOF
14960 cat confdefs.h
>>conftest.
$ac_ext
14961 cat >>conftest.
$ac_ext <<_ACEOF
14962 /* end confdefs.h. */
14963 $ac_includes_default
14967 static int test_array [1 - 2 * !(((long) (sizeof (short))) >= $ac_mid)];
14974 rm -f conftest.
$ac_objext
14975 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14976 (eval $ac_compile) 2>conftest.er1
14978 grep -v '^ *+' conftest.er1
>conftest.err
14980 cat conftest.err
>&5
14981 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14982 (exit $ac_status); } &&
14983 { ac_try
='test -z "$ac_c_werror_flag"
14984 || test ! -s conftest.err'
14985 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14986 (eval $ac_try) 2>&5
14988 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14989 (exit $ac_status); }; } &&
14990 { ac_try
='test -s conftest.$ac_objext'
14991 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14992 (eval $ac_try) 2>&5
14994 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14995 (exit $ac_status); }; }; then
14996 ac_lo
=$ac_mid; break
14998 echo "$as_me: failed program was:" >&5
14999 sed 's/^/| /' conftest.
$ac_ext >&5
15001 ac_hi
=`expr '(' $ac_mid ')' - 1`
15002 if test $ac_mid -le $ac_hi; then
15006 ac_mid
=`expr 2 '*' $ac_mid`
15008 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15011 echo "$as_me: failed program was:" >&5
15012 sed 's/^/| /' conftest.
$ac_ext >&5
15016 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15018 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15019 # Binary search between lo and hi bounds.
15020 while test "x$ac_lo" != "x$ac_hi"; do
15021 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
15022 cat >conftest.
$ac_ext <<_ACEOF
15025 cat confdefs.h
>>conftest.
$ac_ext
15026 cat >>conftest.
$ac_ext <<_ACEOF
15027 /* end confdefs.h. */
15028 $ac_includes_default
15032 static int test_array [1 - 2 * !(((long) (sizeof (short))) <= $ac_mid)];
15039 rm -f conftest.
$ac_objext
15040 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15041 (eval $ac_compile) 2>conftest.er1
15043 grep -v '^ *+' conftest.er1
>conftest.err
15045 cat conftest.err
>&5
15046 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15047 (exit $ac_status); } &&
15048 { ac_try
='test -z "$ac_c_werror_flag"
15049 || test ! -s conftest.err'
15050 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15051 (eval $ac_try) 2>&5
15053 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15054 (exit $ac_status); }; } &&
15055 { ac_try
='test -s conftest.$ac_objext'
15056 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15057 (eval $ac_try) 2>&5
15059 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15060 (exit $ac_status); }; }; then
15063 echo "$as_me: failed program was:" >&5
15064 sed 's/^/| /' conftest.
$ac_ext >&5
15066 ac_lo
=`expr '(' $ac_mid ')' + 1`
15068 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15071 ?
*) ac_cv_sizeof_short
=$ac_lo;;
15072 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (short), 77
15073 See \`config.log' for more details." >&5
15074 echo "$as_me: error: cannot compute sizeof (short), 77
15075 See \`config.log' for more details." >&2;}
15076 { (exit 1); exit 1; }; } ;;
15079 if test "$cross_compiling" = yes; then
15080 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
15081 See \`config.log' for more details." >&5
15082 echo "$as_me: error: cannot run test program while cross compiling
15083 See \`config.log' for more details." >&2;}
15084 { (exit 1); exit 1; }; }
15086 cat >conftest.
$ac_ext <<_ACEOF
15089 cat confdefs.h
>>conftest.
$ac_ext
15090 cat >>conftest.
$ac_ext <<_ACEOF
15091 /* end confdefs.h. */
15092 $ac_includes_default
15093 long longval () { return (long) (sizeof (short)); }
15094 unsigned long ulongval () { return (long) (sizeof (short)); }
15096 #include <stdlib.h>
15101 FILE *f = fopen ("conftest.val", "w");
15104 if (((long) (sizeof (short))) < 0)
15106 long i = longval ();
15107 if (i != ((long) (sizeof (short))))
15109 fprintf (f, "%ld\n", i);
15113 unsigned long i = ulongval ();
15114 if (i != ((long) (sizeof (short))))
15116 fprintf (f, "%lu\n", i);
15118 exit (ferror (f) || fclose (f) != 0);
15124 rm -f conftest
$ac_exeext
15125 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15126 (eval $ac_link) 2>&5
15128 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15129 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
15130 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15131 (eval $ac_try) 2>&5
15133 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15134 (exit $ac_status); }; }; then
15135 ac_cv_sizeof_short
=`cat conftest.val`
15137 echo "$as_me: program exited with status $ac_status" >&5
15138 echo "$as_me: failed program was:" >&5
15139 sed 's/^/| /' conftest.
$ac_ext >&5
15141 ( exit $ac_status )
15142 { { echo "$as_me:$LINENO: error: cannot compute sizeof (short), 77
15143 See \`config.log' for more details." >&5
15144 echo "$as_me: error: cannot compute sizeof (short), 77
15145 See \`config.log' for more details." >&2;}
15146 { (exit 1); exit 1; }; }
15148 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
15153 ac_cv_sizeof_short
=0
15156 echo "$as_me:$LINENO: result: $ac_cv_sizeof_short" >&5
15157 echo "${ECHO_T}$ac_cv_sizeof_short" >&6
15158 cat >>confdefs.h
<<_ACEOF
15159 #define SIZEOF_SHORT $ac_cv_sizeof_short
15163 echo "$as_me:$LINENO: checking for void *" >&5
15164 echo $ECHO_N "checking for void *... $ECHO_C" >&6
15165 if test "${ac_cv_type_void_p+set}" = set; then
15166 echo $ECHO_N "(cached) $ECHO_C" >&6
15168 cat >conftest.
$ac_ext <<_ACEOF
15171 cat confdefs.h
>>conftest.
$ac_ext
15172 cat >>conftest.
$ac_ext <<_ACEOF
15173 /* end confdefs.h. */
15174 $ac_includes_default
15180 if (sizeof (void *))
15186 rm -f conftest.
$ac_objext
15187 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15188 (eval $ac_compile) 2>conftest.er1
15190 grep -v '^ *+' conftest.er1
>conftest.err
15192 cat conftest.err
>&5
15193 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15194 (exit $ac_status); } &&
15195 { ac_try
='test -z "$ac_c_werror_flag"
15196 || test ! -s conftest.err'
15197 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15198 (eval $ac_try) 2>&5
15200 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15201 (exit $ac_status); }; } &&
15202 { ac_try
='test -s conftest.$ac_objext'
15203 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15204 (eval $ac_try) 2>&5
15206 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15207 (exit $ac_status); }; }; then
15208 ac_cv_type_void_p
=yes
15210 echo "$as_me: failed program was:" >&5
15211 sed 's/^/| /' conftest.
$ac_ext >&5
15213 ac_cv_type_void_p
=no
15215 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15217 echo "$as_me:$LINENO: result: $ac_cv_type_void_p" >&5
15218 echo "${ECHO_T}$ac_cv_type_void_p" >&6
15220 echo "$as_me:$LINENO: checking size of void *" >&5
15221 echo $ECHO_N "checking size of void *... $ECHO_C" >&6
15222 if test "${ac_cv_sizeof_void_p+set}" = set; then
15223 echo $ECHO_N "(cached) $ECHO_C" >&6
15225 if test "$ac_cv_type_void_p" = yes; then
15226 # The cast to unsigned long works around a bug in the HP C Compiler
15227 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
15228 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
15229 # This bug is HP SR number 8606223364.
15230 if test "$cross_compiling" = yes; then
15231 # Depending upon the size, compute the lo and hi bounds.
15232 cat >conftest.
$ac_ext <<_ACEOF
15235 cat confdefs.h
>>conftest.
$ac_ext
15236 cat >>conftest.
$ac_ext <<_ACEOF
15237 /* end confdefs.h. */
15238 $ac_includes_default
15242 static int test_array [1 - 2 * !(((long) (sizeof (void *))) >= 0)];
15249 rm -f conftest.
$ac_objext
15250 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15251 (eval $ac_compile) 2>conftest.er1
15253 grep -v '^ *+' conftest.er1
>conftest.err
15255 cat conftest.err
>&5
15256 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15257 (exit $ac_status); } &&
15258 { ac_try
='test -z "$ac_c_werror_flag"
15259 || test ! -s conftest.err'
15260 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15261 (eval $ac_try) 2>&5
15263 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15264 (exit $ac_status); }; } &&
15265 { ac_try
='test -s conftest.$ac_objext'
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); }; }; then
15273 cat >conftest.
$ac_ext <<_ACEOF
15276 cat confdefs.h
>>conftest.
$ac_ext
15277 cat >>conftest.
$ac_ext <<_ACEOF
15278 /* end confdefs.h. */
15279 $ac_includes_default
15283 static int test_array [1 - 2 * !(((long) (sizeof (void *))) <= $ac_mid)];
15290 rm -f conftest.
$ac_objext
15291 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15292 (eval $ac_compile) 2>conftest.er1
15294 grep -v '^ *+' conftest.er1
>conftest.err
15296 cat conftest.err
>&5
15297 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15298 (exit $ac_status); } &&
15299 { ac_try
='test -z "$ac_c_werror_flag"
15300 || test ! -s conftest.err'
15301 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15302 (eval $ac_try) 2>&5
15304 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15305 (exit $ac_status); }; } &&
15306 { ac_try
='test -s conftest.$ac_objext'
15307 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15308 (eval $ac_try) 2>&5
15310 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15311 (exit $ac_status); }; }; then
15312 ac_hi
=$ac_mid; break
15314 echo "$as_me: failed program was:" >&5
15315 sed 's/^/| /' conftest.
$ac_ext >&5
15317 ac_lo
=`expr $ac_mid + 1`
15318 if test $ac_lo -le $ac_mid; then
15322 ac_mid
=`expr 2 '*' $ac_mid + 1`
15324 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15327 echo "$as_me: failed program was:" >&5
15328 sed 's/^/| /' conftest.
$ac_ext >&5
15330 cat >conftest.
$ac_ext <<_ACEOF
15333 cat confdefs.h
>>conftest.
$ac_ext
15334 cat >>conftest.
$ac_ext <<_ACEOF
15335 /* end confdefs.h. */
15336 $ac_includes_default
15340 static int test_array [1 - 2 * !(((long) (sizeof (void *))) < 0)];
15347 rm -f conftest.
$ac_objext
15348 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15349 (eval $ac_compile) 2>conftest.er1
15351 grep -v '^ *+' conftest.er1
>conftest.err
15353 cat conftest.err
>&5
15354 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15355 (exit $ac_status); } &&
15356 { ac_try
='test -z "$ac_c_werror_flag"
15357 || test ! -s conftest.err'
15358 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15359 (eval $ac_try) 2>&5
15361 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15362 (exit $ac_status); }; } &&
15363 { ac_try
='test -s conftest.$ac_objext'
15364 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15365 (eval $ac_try) 2>&5
15367 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15368 (exit $ac_status); }; }; then
15371 cat >conftest.
$ac_ext <<_ACEOF
15374 cat confdefs.h
>>conftest.
$ac_ext
15375 cat >>conftest.
$ac_ext <<_ACEOF
15376 /* end confdefs.h. */
15377 $ac_includes_default
15381 static int test_array [1 - 2 * !(((long) (sizeof (void *))) >= $ac_mid)];
15388 rm -f conftest.
$ac_objext
15389 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15390 (eval $ac_compile) 2>conftest.er1
15392 grep -v '^ *+' conftest.er1
>conftest.err
15394 cat conftest.err
>&5
15395 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15396 (exit $ac_status); } &&
15397 { ac_try
='test -z "$ac_c_werror_flag"
15398 || test ! -s conftest.err'
15399 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15400 (eval $ac_try) 2>&5
15402 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15403 (exit $ac_status); }; } &&
15404 { ac_try
='test -s conftest.$ac_objext'
15405 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15406 (eval $ac_try) 2>&5
15408 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15409 (exit $ac_status); }; }; then
15410 ac_lo
=$ac_mid; break
15412 echo "$as_me: failed program was:" >&5
15413 sed 's/^/| /' conftest.
$ac_ext >&5
15415 ac_hi
=`expr '(' $ac_mid ')' - 1`
15416 if test $ac_mid -le $ac_hi; then
15420 ac_mid
=`expr 2 '*' $ac_mid`
15422 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15425 echo "$as_me: failed program was:" >&5
15426 sed 's/^/| /' conftest.
$ac_ext >&5
15430 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15432 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15433 # Binary search between lo and hi bounds.
15434 while test "x$ac_lo" != "x$ac_hi"; do
15435 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
15436 cat >conftest.
$ac_ext <<_ACEOF
15439 cat confdefs.h
>>conftest.
$ac_ext
15440 cat >>conftest.
$ac_ext <<_ACEOF
15441 /* end confdefs.h. */
15442 $ac_includes_default
15446 static int test_array [1 - 2 * !(((long) (sizeof (void *))) <= $ac_mid)];
15453 rm -f conftest.
$ac_objext
15454 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15455 (eval $ac_compile) 2>conftest.er1
15457 grep -v '^ *+' conftest.er1
>conftest.err
15459 cat conftest.err
>&5
15460 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15461 (exit $ac_status); } &&
15462 { ac_try
='test -z "$ac_c_werror_flag"
15463 || test ! -s conftest.err'
15464 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15465 (eval $ac_try) 2>&5
15467 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15468 (exit $ac_status); }; } &&
15469 { ac_try
='test -s conftest.$ac_objext'
15470 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15471 (eval $ac_try) 2>&5
15473 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15474 (exit $ac_status); }; }; then
15477 echo "$as_me: failed program was:" >&5
15478 sed 's/^/| /' conftest.
$ac_ext >&5
15480 ac_lo
=`expr '(' $ac_mid ')' + 1`
15482 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15485 ?
*) ac_cv_sizeof_void_p
=$ac_lo;;
15486 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *), 77
15487 See \`config.log' for more details." >&5
15488 echo "$as_me: error: cannot compute sizeof (void *), 77
15489 See \`config.log' for more details." >&2;}
15490 { (exit 1); exit 1; }; } ;;
15493 if test "$cross_compiling" = yes; then
15494 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
15495 See \`config.log' for more details." >&5
15496 echo "$as_me: error: cannot run test program while cross compiling
15497 See \`config.log' for more details." >&2;}
15498 { (exit 1); exit 1; }; }
15500 cat >conftest.
$ac_ext <<_ACEOF
15503 cat confdefs.h
>>conftest.
$ac_ext
15504 cat >>conftest.
$ac_ext <<_ACEOF
15505 /* end confdefs.h. */
15506 $ac_includes_default
15507 long longval () { return (long) (sizeof (void *)); }
15508 unsigned long ulongval () { return (long) (sizeof (void *)); }
15510 #include <stdlib.h>
15515 FILE *f = fopen ("conftest.val", "w");
15518 if (((long) (sizeof (void *))) < 0)
15520 long i = longval ();
15521 if (i != ((long) (sizeof (void *))))
15523 fprintf (f, "%ld\n", i);
15527 unsigned long i = ulongval ();
15528 if (i != ((long) (sizeof (void *))))
15530 fprintf (f, "%lu\n", i);
15532 exit (ferror (f) || fclose (f) != 0);
15538 rm -f conftest
$ac_exeext
15539 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15540 (eval $ac_link) 2>&5
15542 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15543 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
15544 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15545 (eval $ac_try) 2>&5
15547 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15548 (exit $ac_status); }; }; then
15549 ac_cv_sizeof_void_p
=`cat conftest.val`
15551 echo "$as_me: program exited with status $ac_status" >&5
15552 echo "$as_me: failed program was:" >&5
15553 sed 's/^/| /' conftest.
$ac_ext >&5
15555 ( exit $ac_status )
15556 { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *), 77
15557 See \`config.log' for more details." >&5
15558 echo "$as_me: error: cannot compute sizeof (void *), 77
15559 See \`config.log' for more details." >&2;}
15560 { (exit 1); exit 1; }; }
15562 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
15567 ac_cv_sizeof_void_p
=0
15570 echo "$as_me:$LINENO: result: $ac_cv_sizeof_void_p" >&5
15571 echo "${ECHO_T}$ac_cv_sizeof_void_p" >&6
15572 cat >>confdefs.h
<<_ACEOF
15573 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
15577 echo "$as_me:$LINENO: checking for int" >&5
15578 echo $ECHO_N "checking for int... $ECHO_C" >&6
15579 if test "${ac_cv_type_int+set}" = set; then
15580 echo $ECHO_N "(cached) $ECHO_C" >&6
15582 cat >conftest.
$ac_ext <<_ACEOF
15585 cat confdefs.h
>>conftest.
$ac_ext
15586 cat >>conftest.
$ac_ext <<_ACEOF
15587 /* end confdefs.h. */
15588 $ac_includes_default
15600 rm -f conftest.
$ac_objext
15601 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15602 (eval $ac_compile) 2>conftest.er1
15604 grep -v '^ *+' conftest.er1
>conftest.err
15606 cat conftest.err
>&5
15607 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15608 (exit $ac_status); } &&
15609 { ac_try
='test -z "$ac_c_werror_flag"
15610 || test ! -s conftest.err'
15611 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15612 (eval $ac_try) 2>&5
15614 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15615 (exit $ac_status); }; } &&
15616 { ac_try
='test -s conftest.$ac_objext'
15617 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15618 (eval $ac_try) 2>&5
15620 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15621 (exit $ac_status); }; }; then
15624 echo "$as_me: failed program was:" >&5
15625 sed 's/^/| /' conftest.
$ac_ext >&5
15629 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15631 echo "$as_me:$LINENO: result: $ac_cv_type_int" >&5
15632 echo "${ECHO_T}$ac_cv_type_int" >&6
15634 echo "$as_me:$LINENO: checking size of int" >&5
15635 echo $ECHO_N "checking size of int... $ECHO_C" >&6
15636 if test "${ac_cv_sizeof_int+set}" = set; then
15637 echo $ECHO_N "(cached) $ECHO_C" >&6
15639 if test "$ac_cv_type_int" = yes; then
15640 # The cast to unsigned long works around a bug in the HP C Compiler
15641 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
15642 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
15643 # This bug is HP SR number 8606223364.
15644 if test "$cross_compiling" = yes; then
15645 # Depending upon the size, compute the lo and hi bounds.
15646 cat >conftest.
$ac_ext <<_ACEOF
15649 cat confdefs.h
>>conftest.
$ac_ext
15650 cat >>conftest.
$ac_ext <<_ACEOF
15651 /* end confdefs.h. */
15652 $ac_includes_default
15656 static int test_array [1 - 2 * !(((long) (sizeof (int))) >= 0)];
15663 rm -f conftest.
$ac_objext
15664 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15665 (eval $ac_compile) 2>conftest.er1
15667 grep -v '^ *+' conftest.er1
>conftest.err
15669 cat conftest.err
>&5
15670 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15671 (exit $ac_status); } &&
15672 { ac_try
='test -z "$ac_c_werror_flag"
15673 || test ! -s conftest.err'
15674 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15675 (eval $ac_try) 2>&5
15677 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15678 (exit $ac_status); }; } &&
15679 { ac_try
='test -s conftest.$ac_objext'
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); }; }; then
15687 cat >conftest.
$ac_ext <<_ACEOF
15690 cat confdefs.h
>>conftest.
$ac_ext
15691 cat >>conftest.
$ac_ext <<_ACEOF
15692 /* end confdefs.h. */
15693 $ac_includes_default
15697 static int test_array [1 - 2 * !(((long) (sizeof (int))) <= $ac_mid)];
15704 rm -f conftest.
$ac_objext
15705 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15706 (eval $ac_compile) 2>conftest.er1
15708 grep -v '^ *+' conftest.er1
>conftest.err
15710 cat conftest.err
>&5
15711 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15712 (exit $ac_status); } &&
15713 { ac_try
='test -z "$ac_c_werror_flag"
15714 || test ! -s conftest.err'
15715 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15716 (eval $ac_try) 2>&5
15718 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15719 (exit $ac_status); }; } &&
15720 { ac_try
='test -s conftest.$ac_objext'
15721 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15722 (eval $ac_try) 2>&5
15724 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15725 (exit $ac_status); }; }; then
15726 ac_hi
=$ac_mid; break
15728 echo "$as_me: failed program was:" >&5
15729 sed 's/^/| /' conftest.
$ac_ext >&5
15731 ac_lo
=`expr $ac_mid + 1`
15732 if test $ac_lo -le $ac_mid; then
15736 ac_mid
=`expr 2 '*' $ac_mid + 1`
15738 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15741 echo "$as_me: failed program was:" >&5
15742 sed 's/^/| /' conftest.
$ac_ext >&5
15744 cat >conftest.
$ac_ext <<_ACEOF
15747 cat confdefs.h
>>conftest.
$ac_ext
15748 cat >>conftest.
$ac_ext <<_ACEOF
15749 /* end confdefs.h. */
15750 $ac_includes_default
15754 static int test_array [1 - 2 * !(((long) (sizeof (int))) < 0)];
15761 rm -f conftest.
$ac_objext
15762 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15763 (eval $ac_compile) 2>conftest.er1
15765 grep -v '^ *+' conftest.er1
>conftest.err
15767 cat conftest.err
>&5
15768 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15769 (exit $ac_status); } &&
15770 { ac_try
='test -z "$ac_c_werror_flag"
15771 || test ! -s conftest.err'
15772 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15773 (eval $ac_try) 2>&5
15775 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15776 (exit $ac_status); }; } &&
15777 { ac_try
='test -s conftest.$ac_objext'
15778 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15779 (eval $ac_try) 2>&5
15781 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15782 (exit $ac_status); }; }; then
15785 cat >conftest.
$ac_ext <<_ACEOF
15788 cat confdefs.h
>>conftest.
$ac_ext
15789 cat >>conftest.
$ac_ext <<_ACEOF
15790 /* end confdefs.h. */
15791 $ac_includes_default
15795 static int test_array [1 - 2 * !(((long) (sizeof (int))) >= $ac_mid)];
15802 rm -f conftest.
$ac_objext
15803 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15804 (eval $ac_compile) 2>conftest.er1
15806 grep -v '^ *+' conftest.er1
>conftest.err
15808 cat conftest.err
>&5
15809 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15810 (exit $ac_status); } &&
15811 { ac_try
='test -z "$ac_c_werror_flag"
15812 || test ! -s conftest.err'
15813 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15814 (eval $ac_try) 2>&5
15816 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15817 (exit $ac_status); }; } &&
15818 { ac_try
='test -s conftest.$ac_objext'
15819 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15820 (eval $ac_try) 2>&5
15822 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15823 (exit $ac_status); }; }; then
15824 ac_lo
=$ac_mid; break
15826 echo "$as_me: failed program was:" >&5
15827 sed 's/^/| /' conftest.
$ac_ext >&5
15829 ac_hi
=`expr '(' $ac_mid ')' - 1`
15830 if test $ac_mid -le $ac_hi; then
15834 ac_mid
=`expr 2 '*' $ac_mid`
15836 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15839 echo "$as_me: failed program was:" >&5
15840 sed 's/^/| /' conftest.
$ac_ext >&5
15844 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15846 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15847 # Binary search between lo and hi bounds.
15848 while test "x$ac_lo" != "x$ac_hi"; do
15849 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
15850 cat >conftest.
$ac_ext <<_ACEOF
15853 cat confdefs.h
>>conftest.
$ac_ext
15854 cat >>conftest.
$ac_ext <<_ACEOF
15855 /* end confdefs.h. */
15856 $ac_includes_default
15860 static int test_array [1 - 2 * !(((long) (sizeof (int))) <= $ac_mid)];
15867 rm -f conftest.
$ac_objext
15868 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15869 (eval $ac_compile) 2>conftest.er1
15871 grep -v '^ *+' conftest.er1
>conftest.err
15873 cat conftest.err
>&5
15874 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15875 (exit $ac_status); } &&
15876 { ac_try
='test -z "$ac_c_werror_flag"
15877 || test ! -s conftest.err'
15878 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15879 (eval $ac_try) 2>&5
15881 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15882 (exit $ac_status); }; } &&
15883 { ac_try
='test -s conftest.$ac_objext'
15884 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15885 (eval $ac_try) 2>&5
15887 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15888 (exit $ac_status); }; }; then
15891 echo "$as_me: failed program was:" >&5
15892 sed 's/^/| /' conftest.
$ac_ext >&5
15894 ac_lo
=`expr '(' $ac_mid ')' + 1`
15896 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15899 ?
*) ac_cv_sizeof_int
=$ac_lo;;
15900 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (int), 77
15901 See \`config.log' for more details." >&5
15902 echo "$as_me: error: cannot compute sizeof (int), 77
15903 See \`config.log' for more details." >&2;}
15904 { (exit 1); exit 1; }; } ;;
15907 if test "$cross_compiling" = yes; then
15908 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
15909 See \`config.log' for more details." >&5
15910 echo "$as_me: error: cannot run test program while cross compiling
15911 See \`config.log' for more details." >&2;}
15912 { (exit 1); exit 1; }; }
15914 cat >conftest.
$ac_ext <<_ACEOF
15917 cat confdefs.h
>>conftest.
$ac_ext
15918 cat >>conftest.
$ac_ext <<_ACEOF
15919 /* end confdefs.h. */
15920 $ac_includes_default
15921 long longval () { return (long) (sizeof (int)); }
15922 unsigned long ulongval () { return (long) (sizeof (int)); }
15924 #include <stdlib.h>
15929 FILE *f = fopen ("conftest.val", "w");
15932 if (((long) (sizeof (int))) < 0)
15934 long i = longval ();
15935 if (i != ((long) (sizeof (int))))
15937 fprintf (f, "%ld\n", i);
15941 unsigned long i = ulongval ();
15942 if (i != ((long) (sizeof (int))))
15944 fprintf (f, "%lu\n", i);
15946 exit (ferror (f) || fclose (f) != 0);
15952 rm -f conftest
$ac_exeext
15953 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15954 (eval $ac_link) 2>&5
15956 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15957 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
15958 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15959 (eval $ac_try) 2>&5
15961 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15962 (exit $ac_status); }; }; then
15963 ac_cv_sizeof_int
=`cat conftest.val`
15965 echo "$as_me: program exited with status $ac_status" >&5
15966 echo "$as_me: failed program was:" >&5
15967 sed 's/^/| /' conftest.
$ac_ext >&5
15969 ( exit $ac_status )
15970 { { echo "$as_me:$LINENO: error: cannot compute sizeof (int), 77
15971 See \`config.log' for more details." >&5
15972 echo "$as_me: error: cannot compute sizeof (int), 77
15973 See \`config.log' for more details." >&2;}
15974 { (exit 1); exit 1; }; }
15976 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
15984 echo "$as_me:$LINENO: result: $ac_cv_sizeof_int" >&5
15985 echo "${ECHO_T}$ac_cv_sizeof_int" >&6
15986 cat >>confdefs.h
<<_ACEOF
15987 #define SIZEOF_INT $ac_cv_sizeof_int
15991 echo "$as_me:$LINENO: checking for long" >&5
15992 echo $ECHO_N "checking for long... $ECHO_C" >&6
15993 if test "${ac_cv_type_long+set}" = set; then
15994 echo $ECHO_N "(cached) $ECHO_C" >&6
15996 cat >conftest.
$ac_ext <<_ACEOF
15999 cat confdefs.h
>>conftest.
$ac_ext
16000 cat >>conftest.
$ac_ext <<_ACEOF
16001 /* end confdefs.h. */
16002 $ac_includes_default
16014 rm -f conftest.
$ac_objext
16015 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16016 (eval $ac_compile) 2>conftest.er1
16018 grep -v '^ *+' conftest.er1
>conftest.err
16020 cat conftest.err
>&5
16021 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16022 (exit $ac_status); } &&
16023 { ac_try
='test -z "$ac_c_werror_flag"
16024 || test ! -s conftest.err'
16025 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16026 (eval $ac_try) 2>&5
16028 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16029 (exit $ac_status); }; } &&
16030 { ac_try
='test -s conftest.$ac_objext'
16031 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16032 (eval $ac_try) 2>&5
16034 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16035 (exit $ac_status); }; }; then
16036 ac_cv_type_long
=yes
16038 echo "$as_me: failed program was:" >&5
16039 sed 's/^/| /' conftest.
$ac_ext >&5
16043 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16045 echo "$as_me:$LINENO: result: $ac_cv_type_long" >&5
16046 echo "${ECHO_T}$ac_cv_type_long" >&6
16048 echo "$as_me:$LINENO: checking size of long" >&5
16049 echo $ECHO_N "checking size of long... $ECHO_C" >&6
16050 if test "${ac_cv_sizeof_long+set}" = set; then
16051 echo $ECHO_N "(cached) $ECHO_C" >&6
16053 if test "$ac_cv_type_long" = yes; then
16054 # The cast to unsigned long works around a bug in the HP C Compiler
16055 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
16056 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
16057 # This bug is HP SR number 8606223364.
16058 if test "$cross_compiling" = yes; then
16059 # Depending upon the size, compute the lo and hi bounds.
16060 cat >conftest.
$ac_ext <<_ACEOF
16063 cat confdefs.h
>>conftest.
$ac_ext
16064 cat >>conftest.
$ac_ext <<_ACEOF
16065 /* end confdefs.h. */
16066 $ac_includes_default
16070 static int test_array [1 - 2 * !(((long) (sizeof (long))) >= 0)];
16077 rm -f conftest.
$ac_objext
16078 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16079 (eval $ac_compile) 2>conftest.er1
16081 grep -v '^ *+' conftest.er1
>conftest.err
16083 cat conftest.err
>&5
16084 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16085 (exit $ac_status); } &&
16086 { ac_try
='test -z "$ac_c_werror_flag"
16087 || test ! -s conftest.err'
16088 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16089 (eval $ac_try) 2>&5
16091 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16092 (exit $ac_status); }; } &&
16093 { ac_try
='test -s conftest.$ac_objext'
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); }; }; then
16101 cat >conftest.
$ac_ext <<_ACEOF
16104 cat confdefs.h
>>conftest.
$ac_ext
16105 cat >>conftest.
$ac_ext <<_ACEOF
16106 /* end confdefs.h. */
16107 $ac_includes_default
16111 static int test_array [1 - 2 * !(((long) (sizeof (long))) <= $ac_mid)];
16118 rm -f conftest.
$ac_objext
16119 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16120 (eval $ac_compile) 2>conftest.er1
16122 grep -v '^ *+' conftest.er1
>conftest.err
16124 cat conftest.err
>&5
16125 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16126 (exit $ac_status); } &&
16127 { ac_try
='test -z "$ac_c_werror_flag"
16128 || test ! -s conftest.err'
16129 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16130 (eval $ac_try) 2>&5
16132 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16133 (exit $ac_status); }; } &&
16134 { ac_try
='test -s conftest.$ac_objext'
16135 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16136 (eval $ac_try) 2>&5
16138 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16139 (exit $ac_status); }; }; then
16140 ac_hi
=$ac_mid; break
16142 echo "$as_me: failed program was:" >&5
16143 sed 's/^/| /' conftest.
$ac_ext >&5
16145 ac_lo
=`expr $ac_mid + 1`
16146 if test $ac_lo -le $ac_mid; then
16150 ac_mid
=`expr 2 '*' $ac_mid + 1`
16152 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16155 echo "$as_me: failed program was:" >&5
16156 sed 's/^/| /' conftest.
$ac_ext >&5
16158 cat >conftest.
$ac_ext <<_ACEOF
16161 cat confdefs.h
>>conftest.
$ac_ext
16162 cat >>conftest.
$ac_ext <<_ACEOF
16163 /* end confdefs.h. */
16164 $ac_includes_default
16168 static int test_array [1 - 2 * !(((long) (sizeof (long))) < 0)];
16175 rm -f conftest.
$ac_objext
16176 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16177 (eval $ac_compile) 2>conftest.er1
16179 grep -v '^ *+' conftest.er1
>conftest.err
16181 cat conftest.err
>&5
16182 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16183 (exit $ac_status); } &&
16184 { ac_try
='test -z "$ac_c_werror_flag"
16185 || test ! -s conftest.err'
16186 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16187 (eval $ac_try) 2>&5
16189 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16190 (exit $ac_status); }; } &&
16191 { ac_try
='test -s conftest.$ac_objext'
16192 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16193 (eval $ac_try) 2>&5
16195 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16196 (exit $ac_status); }; }; then
16199 cat >conftest.
$ac_ext <<_ACEOF
16202 cat confdefs.h
>>conftest.
$ac_ext
16203 cat >>conftest.
$ac_ext <<_ACEOF
16204 /* end confdefs.h. */
16205 $ac_includes_default
16209 static int test_array [1 - 2 * !(((long) (sizeof (long))) >= $ac_mid)];
16216 rm -f conftest.
$ac_objext
16217 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16218 (eval $ac_compile) 2>conftest.er1
16220 grep -v '^ *+' conftest.er1
>conftest.err
16222 cat conftest.err
>&5
16223 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16224 (exit $ac_status); } &&
16225 { ac_try
='test -z "$ac_c_werror_flag"
16226 || test ! -s conftest.err'
16227 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16228 (eval $ac_try) 2>&5
16230 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16231 (exit $ac_status); }; } &&
16232 { ac_try
='test -s conftest.$ac_objext'
16233 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16234 (eval $ac_try) 2>&5
16236 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16237 (exit $ac_status); }; }; then
16238 ac_lo
=$ac_mid; break
16240 echo "$as_me: failed program was:" >&5
16241 sed 's/^/| /' conftest.
$ac_ext >&5
16243 ac_hi
=`expr '(' $ac_mid ')' - 1`
16244 if test $ac_mid -le $ac_hi; then
16248 ac_mid
=`expr 2 '*' $ac_mid`
16250 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16253 echo "$as_me: failed program was:" >&5
16254 sed 's/^/| /' conftest.
$ac_ext >&5
16258 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16260 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16261 # Binary search between lo and hi bounds.
16262 while test "x$ac_lo" != "x$ac_hi"; do
16263 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
16264 cat >conftest.
$ac_ext <<_ACEOF
16267 cat confdefs.h
>>conftest.
$ac_ext
16268 cat >>conftest.
$ac_ext <<_ACEOF
16269 /* end confdefs.h. */
16270 $ac_includes_default
16274 static int test_array [1 - 2 * !(((long) (sizeof (long))) <= $ac_mid)];
16281 rm -f conftest.
$ac_objext
16282 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16283 (eval $ac_compile) 2>conftest.er1
16285 grep -v '^ *+' conftest.er1
>conftest.err
16287 cat conftest.err
>&5
16288 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16289 (exit $ac_status); } &&
16290 { ac_try
='test -z "$ac_c_werror_flag"
16291 || test ! -s conftest.err'
16292 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16293 (eval $ac_try) 2>&5
16295 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16296 (exit $ac_status); }; } &&
16297 { ac_try
='test -s conftest.$ac_objext'
16298 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16299 (eval $ac_try) 2>&5
16301 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16302 (exit $ac_status); }; }; then
16305 echo "$as_me: failed program was:" >&5
16306 sed 's/^/| /' conftest.
$ac_ext >&5
16308 ac_lo
=`expr '(' $ac_mid ')' + 1`
16310 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16313 ?
*) ac_cv_sizeof_long
=$ac_lo;;
16314 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long), 77
16315 See \`config.log' for more details." >&5
16316 echo "$as_me: error: cannot compute sizeof (long), 77
16317 See \`config.log' for more details." >&2;}
16318 { (exit 1); exit 1; }; } ;;
16321 if test "$cross_compiling" = yes; then
16322 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
16323 See \`config.log' for more details." >&5
16324 echo "$as_me: error: cannot run test program while cross compiling
16325 See \`config.log' for more details." >&2;}
16326 { (exit 1); exit 1; }; }
16328 cat >conftest.
$ac_ext <<_ACEOF
16331 cat confdefs.h
>>conftest.
$ac_ext
16332 cat >>conftest.
$ac_ext <<_ACEOF
16333 /* end confdefs.h. */
16334 $ac_includes_default
16335 long longval () { return (long) (sizeof (long)); }
16336 unsigned long ulongval () { return (long) (sizeof (long)); }
16338 #include <stdlib.h>
16343 FILE *f = fopen ("conftest.val", "w");
16346 if (((long) (sizeof (long))) < 0)
16348 long i = longval ();
16349 if (i != ((long) (sizeof (long))))
16351 fprintf (f, "%ld\n", i);
16355 unsigned long i = ulongval ();
16356 if (i != ((long) (sizeof (long))))
16358 fprintf (f, "%lu\n", i);
16360 exit (ferror (f) || fclose (f) != 0);
16366 rm -f conftest
$ac_exeext
16367 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16368 (eval $ac_link) 2>&5
16370 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16371 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
16372 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16373 (eval $ac_try) 2>&5
16375 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16376 (exit $ac_status); }; }; then
16377 ac_cv_sizeof_long
=`cat conftest.val`
16379 echo "$as_me: program exited with status $ac_status" >&5
16380 echo "$as_me: failed program was:" >&5
16381 sed 's/^/| /' conftest.
$ac_ext >&5
16383 ( exit $ac_status )
16384 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long), 77
16385 See \`config.log' for more details." >&5
16386 echo "$as_me: error: cannot compute sizeof (long), 77
16387 See \`config.log' for more details." >&2;}
16388 { (exit 1); exit 1; }; }
16390 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
16395 ac_cv_sizeof_long
=0
16398 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long" >&5
16399 echo "${ECHO_T}$ac_cv_sizeof_long" >&6
16400 cat >>confdefs.h
<<_ACEOF
16401 #define SIZEOF_LONG $ac_cv_sizeof_long
16405 echo "$as_me:$LINENO: checking for size_t" >&5
16406 echo $ECHO_N "checking for size_t... $ECHO_C" >&6
16407 if test "${ac_cv_type_size_t+set}" = set; then
16408 echo $ECHO_N "(cached) $ECHO_C" >&6
16410 cat >conftest.
$ac_ext <<_ACEOF
16413 cat confdefs.h
>>conftest.
$ac_ext
16414 cat >>conftest.
$ac_ext <<_ACEOF
16415 /* end confdefs.h. */
16416 $ac_includes_default
16422 if (sizeof (size_t))
16428 rm -f conftest.
$ac_objext
16429 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16430 (eval $ac_compile) 2>conftest.er1
16432 grep -v '^ *+' conftest.er1
>conftest.err
16434 cat conftest.err
>&5
16435 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16436 (exit $ac_status); } &&
16437 { ac_try
='test -z "$ac_c_werror_flag"
16438 || test ! -s conftest.err'
16439 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16440 (eval $ac_try) 2>&5
16442 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16443 (exit $ac_status); }; } &&
16444 { ac_try
='test -s conftest.$ac_objext'
16445 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16446 (eval $ac_try) 2>&5
16448 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16449 (exit $ac_status); }; }; then
16450 ac_cv_type_size_t
=yes
16452 echo "$as_me: failed program was:" >&5
16453 sed 's/^/| /' conftest.
$ac_ext >&5
16455 ac_cv_type_size_t
=no
16457 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16459 echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
16460 echo "${ECHO_T}$ac_cv_type_size_t" >&6
16462 echo "$as_me:$LINENO: checking size of size_t" >&5
16463 echo $ECHO_N "checking size of size_t... $ECHO_C" >&6
16464 if test "${ac_cv_sizeof_size_t+set}" = set; then
16465 echo $ECHO_N "(cached) $ECHO_C" >&6
16467 if test "$ac_cv_type_size_t" = yes; then
16468 # The cast to unsigned long works around a bug in the HP C Compiler
16469 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
16470 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
16471 # This bug is HP SR number 8606223364.
16472 if test "$cross_compiling" = yes; then
16473 # Depending upon the size, compute the lo and hi bounds.
16474 cat >conftest.
$ac_ext <<_ACEOF
16477 cat confdefs.h
>>conftest.
$ac_ext
16478 cat >>conftest.
$ac_ext <<_ACEOF
16479 /* end confdefs.h. */
16480 $ac_includes_default
16484 static int test_array [1 - 2 * !(((long) (sizeof (size_t))) >= 0)];
16491 rm -f conftest.
$ac_objext
16492 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16493 (eval $ac_compile) 2>conftest.er1
16495 grep -v '^ *+' conftest.er1
>conftest.err
16497 cat conftest.err
>&5
16498 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16499 (exit $ac_status); } &&
16500 { ac_try
='test -z "$ac_c_werror_flag"
16501 || test ! -s conftest.err'
16502 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16503 (eval $ac_try) 2>&5
16505 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16506 (exit $ac_status); }; } &&
16507 { ac_try
='test -s conftest.$ac_objext'
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); }; }; then
16515 cat >conftest.
$ac_ext <<_ACEOF
16518 cat confdefs.h
>>conftest.
$ac_ext
16519 cat >>conftest.
$ac_ext <<_ACEOF
16520 /* end confdefs.h. */
16521 $ac_includes_default
16525 static int test_array [1 - 2 * !(((long) (sizeof (size_t))) <= $ac_mid)];
16532 rm -f conftest.
$ac_objext
16533 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16534 (eval $ac_compile) 2>conftest.er1
16536 grep -v '^ *+' conftest.er1
>conftest.err
16538 cat conftest.err
>&5
16539 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16540 (exit $ac_status); } &&
16541 { ac_try
='test -z "$ac_c_werror_flag"
16542 || test ! -s conftest.err'
16543 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16544 (eval $ac_try) 2>&5
16546 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16547 (exit $ac_status); }; } &&
16548 { ac_try
='test -s conftest.$ac_objext'
16549 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16550 (eval $ac_try) 2>&5
16552 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16553 (exit $ac_status); }; }; then
16554 ac_hi
=$ac_mid; break
16556 echo "$as_me: failed program was:" >&5
16557 sed 's/^/| /' conftest.
$ac_ext >&5
16559 ac_lo
=`expr $ac_mid + 1`
16560 if test $ac_lo -le $ac_mid; then
16564 ac_mid
=`expr 2 '*' $ac_mid + 1`
16566 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16569 echo "$as_me: failed program was:" >&5
16570 sed 's/^/| /' conftest.
$ac_ext >&5
16572 cat >conftest.
$ac_ext <<_ACEOF
16575 cat confdefs.h
>>conftest.
$ac_ext
16576 cat >>conftest.
$ac_ext <<_ACEOF
16577 /* end confdefs.h. */
16578 $ac_includes_default
16582 static int test_array [1 - 2 * !(((long) (sizeof (size_t))) < 0)];
16589 rm -f conftest.
$ac_objext
16590 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16591 (eval $ac_compile) 2>conftest.er1
16593 grep -v '^ *+' conftest.er1
>conftest.err
16595 cat conftest.err
>&5
16596 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16597 (exit $ac_status); } &&
16598 { ac_try
='test -z "$ac_c_werror_flag"
16599 || test ! -s conftest.err'
16600 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16601 (eval $ac_try) 2>&5
16603 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16604 (exit $ac_status); }; } &&
16605 { ac_try
='test -s conftest.$ac_objext'
16606 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16607 (eval $ac_try) 2>&5
16609 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16610 (exit $ac_status); }; }; then
16613 cat >conftest.
$ac_ext <<_ACEOF
16616 cat confdefs.h
>>conftest.
$ac_ext
16617 cat >>conftest.
$ac_ext <<_ACEOF
16618 /* end confdefs.h. */
16619 $ac_includes_default
16623 static int test_array [1 - 2 * !(((long) (sizeof (size_t))) >= $ac_mid)];
16630 rm -f conftest.
$ac_objext
16631 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16632 (eval $ac_compile) 2>conftest.er1
16634 grep -v '^ *+' conftest.er1
>conftest.err
16636 cat conftest.err
>&5
16637 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16638 (exit $ac_status); } &&
16639 { ac_try
='test -z "$ac_c_werror_flag"
16640 || test ! -s conftest.err'
16641 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16642 (eval $ac_try) 2>&5
16644 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16645 (exit $ac_status); }; } &&
16646 { ac_try
='test -s conftest.$ac_objext'
16647 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16648 (eval $ac_try) 2>&5
16650 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16651 (exit $ac_status); }; }; then
16652 ac_lo
=$ac_mid; break
16654 echo "$as_me: failed program was:" >&5
16655 sed 's/^/| /' conftest.
$ac_ext >&5
16657 ac_hi
=`expr '(' $ac_mid ')' - 1`
16658 if test $ac_mid -le $ac_hi; then
16662 ac_mid
=`expr 2 '*' $ac_mid`
16664 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16667 echo "$as_me: failed program was:" >&5
16668 sed 's/^/| /' conftest.
$ac_ext >&5
16672 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16674 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16675 # Binary search between lo and hi bounds.
16676 while test "x$ac_lo" != "x$ac_hi"; do
16677 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
16678 cat >conftest.
$ac_ext <<_ACEOF
16681 cat confdefs.h
>>conftest.
$ac_ext
16682 cat >>conftest.
$ac_ext <<_ACEOF
16683 /* end confdefs.h. */
16684 $ac_includes_default
16688 static int test_array [1 - 2 * !(((long) (sizeof (size_t))) <= $ac_mid)];
16695 rm -f conftest.
$ac_objext
16696 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16697 (eval $ac_compile) 2>conftest.er1
16699 grep -v '^ *+' conftest.er1
>conftest.err
16701 cat conftest.err
>&5
16702 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16703 (exit $ac_status); } &&
16704 { ac_try
='test -z "$ac_c_werror_flag"
16705 || test ! -s conftest.err'
16706 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16707 (eval $ac_try) 2>&5
16709 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16710 (exit $ac_status); }; } &&
16711 { ac_try
='test -s conftest.$ac_objext'
16712 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16713 (eval $ac_try) 2>&5
16715 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16716 (exit $ac_status); }; }; then
16719 echo "$as_me: failed program was:" >&5
16720 sed 's/^/| /' conftest.
$ac_ext >&5
16722 ac_lo
=`expr '(' $ac_mid ')' + 1`
16724 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16727 ?
*) ac_cv_sizeof_size_t
=$ac_lo;;
16728 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (size_t), 77
16729 See \`config.log' for more details." >&5
16730 echo "$as_me: error: cannot compute sizeof (size_t), 77
16731 See \`config.log' for more details." >&2;}
16732 { (exit 1); exit 1; }; } ;;
16735 if test "$cross_compiling" = yes; then
16736 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
16737 See \`config.log' for more details." >&5
16738 echo "$as_me: error: cannot run test program while cross compiling
16739 See \`config.log' for more details." >&2;}
16740 { (exit 1); exit 1; }; }
16742 cat >conftest.
$ac_ext <<_ACEOF
16745 cat confdefs.h
>>conftest.
$ac_ext
16746 cat >>conftest.
$ac_ext <<_ACEOF
16747 /* end confdefs.h. */
16748 $ac_includes_default
16749 long longval () { return (long) (sizeof (size_t)); }
16750 unsigned long ulongval () { return (long) (sizeof (size_t)); }
16752 #include <stdlib.h>
16757 FILE *f = fopen ("conftest.val", "w");
16760 if (((long) (sizeof (size_t))) < 0)
16762 long i = longval ();
16763 if (i != ((long) (sizeof (size_t))))
16765 fprintf (f, "%ld\n", i);
16769 unsigned long i = ulongval ();
16770 if (i != ((long) (sizeof (size_t))))
16772 fprintf (f, "%lu\n", i);
16774 exit (ferror (f) || fclose (f) != 0);
16780 rm -f conftest
$ac_exeext
16781 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16782 (eval $ac_link) 2>&5
16784 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16785 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
16786 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16787 (eval $ac_try) 2>&5
16789 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16790 (exit $ac_status); }; }; then
16791 ac_cv_sizeof_size_t
=`cat conftest.val`
16793 echo "$as_me: program exited with status $ac_status" >&5
16794 echo "$as_me: failed program was:" >&5
16795 sed 's/^/| /' conftest.
$ac_ext >&5
16797 ( exit $ac_status )
16798 { { echo "$as_me:$LINENO: error: cannot compute sizeof (size_t), 77
16799 See \`config.log' for more details." >&5
16800 echo "$as_me: error: cannot compute sizeof (size_t), 77
16801 See \`config.log' for more details." >&2;}
16802 { (exit 1); exit 1; }; }
16804 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
16809 ac_cv_sizeof_size_t
=0
16812 echo "$as_me:$LINENO: result: $ac_cv_sizeof_size_t" >&5
16813 echo "${ECHO_T}$ac_cv_sizeof_size_t" >&6
16814 cat >>confdefs.h
<<_ACEOF
16815 #define SIZEOF_SIZE_T $ac_cv_sizeof_size_t
16822 echo "$as_me:$LINENO: checking for long long" >&5
16823 echo $ECHO_N "checking for long long... $ECHO_C" >&6
16824 if test "${ac_cv_type_long_long+set}" = set; then
16825 echo $ECHO_N "(cached) $ECHO_C" >&6
16827 cat >conftest.
$ac_ext <<_ACEOF
16830 cat confdefs.h
>>conftest.
$ac_ext
16831 cat >>conftest.
$ac_ext <<_ACEOF
16832 /* end confdefs.h. */
16833 $ac_includes_default
16837 if ((long long *) 0)
16839 if (sizeof (long long))
16845 rm -f conftest.
$ac_objext
16846 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16847 (eval $ac_compile) 2>conftest.er1
16849 grep -v '^ *+' conftest.er1
>conftest.err
16851 cat conftest.err
>&5
16852 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16853 (exit $ac_status); } &&
16854 { ac_try
='test -z "$ac_c_werror_flag"
16855 || test ! -s conftest.err'
16856 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16857 (eval $ac_try) 2>&5
16859 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16860 (exit $ac_status); }; } &&
16861 { ac_try
='test -s conftest.$ac_objext'
16862 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16863 (eval $ac_try) 2>&5
16865 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16866 (exit $ac_status); }; }; then
16867 ac_cv_type_long_long
=yes
16869 echo "$as_me: failed program was:" >&5
16870 sed 's/^/| /' conftest.
$ac_ext >&5
16872 ac_cv_type_long_long
=no
16874 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16876 echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
16877 echo "${ECHO_T}$ac_cv_type_long_long" >&6
16879 echo "$as_me:$LINENO: checking size of long long" >&5
16880 echo $ECHO_N "checking size of long long... $ECHO_C" >&6
16881 if test "${ac_cv_sizeof_long_long+set}" = set; then
16882 echo $ECHO_N "(cached) $ECHO_C" >&6
16884 if test "$ac_cv_type_long_long" = yes; then
16885 # The cast to unsigned long works around a bug in the HP C Compiler
16886 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
16887 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
16888 # This bug is HP SR number 8606223364.
16889 if test "$cross_compiling" = yes; then
16890 # Depending upon the size, compute the lo and hi bounds.
16891 cat >conftest.
$ac_ext <<_ACEOF
16894 cat confdefs.h
>>conftest.
$ac_ext
16895 cat >>conftest.
$ac_ext <<_ACEOF
16896 /* end confdefs.h. */
16897 $ac_includes_default
16901 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= 0)];
16908 rm -f conftest.
$ac_objext
16909 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16910 (eval $ac_compile) 2>conftest.er1
16912 grep -v '^ *+' conftest.er1
>conftest.err
16914 cat conftest.err
>&5
16915 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16916 (exit $ac_status); } &&
16917 { ac_try
='test -z "$ac_c_werror_flag"
16918 || test ! -s conftest.err'
16919 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16920 (eval $ac_try) 2>&5
16922 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16923 (exit $ac_status); }; } &&
16924 { ac_try
='test -s conftest.$ac_objext'
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); }; }; then
16932 cat >conftest.
$ac_ext <<_ACEOF
16935 cat confdefs.h
>>conftest.
$ac_ext
16936 cat >>conftest.
$ac_ext <<_ACEOF
16937 /* end confdefs.h. */
16938 $ac_includes_default
16942 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
16949 rm -f conftest.
$ac_objext
16950 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16951 (eval $ac_compile) 2>conftest.er1
16953 grep -v '^ *+' conftest.er1
>conftest.err
16955 cat conftest.err
>&5
16956 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16957 (exit $ac_status); } &&
16958 { ac_try
='test -z "$ac_c_werror_flag"
16959 || test ! -s conftest.err'
16960 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16961 (eval $ac_try) 2>&5
16963 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16964 (exit $ac_status); }; } &&
16965 { ac_try
='test -s conftest.$ac_objext'
16966 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16967 (eval $ac_try) 2>&5
16969 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16970 (exit $ac_status); }; }; then
16971 ac_hi
=$ac_mid; break
16973 echo "$as_me: failed program was:" >&5
16974 sed 's/^/| /' conftest.
$ac_ext >&5
16976 ac_lo
=`expr $ac_mid + 1`
16977 if test $ac_lo -le $ac_mid; then
16981 ac_mid
=`expr 2 '*' $ac_mid + 1`
16983 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16986 echo "$as_me: failed program was:" >&5
16987 sed 's/^/| /' conftest.
$ac_ext >&5
16989 cat >conftest.
$ac_ext <<_ACEOF
16992 cat confdefs.h
>>conftest.
$ac_ext
16993 cat >>conftest.
$ac_ext <<_ACEOF
16994 /* end confdefs.h. */
16995 $ac_includes_default
16999 static int test_array [1 - 2 * !(((long) (sizeof (long long))) < 0)];
17006 rm -f conftest.
$ac_objext
17007 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17008 (eval $ac_compile) 2>conftest.er1
17010 grep -v '^ *+' conftest.er1
>conftest.err
17012 cat conftest.err
>&5
17013 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17014 (exit $ac_status); } &&
17015 { ac_try
='test -z "$ac_c_werror_flag"
17016 || test ! -s conftest.err'
17017 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17018 (eval $ac_try) 2>&5
17020 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17021 (exit $ac_status); }; } &&
17022 { ac_try
='test -s conftest.$ac_objext'
17023 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17024 (eval $ac_try) 2>&5
17026 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17027 (exit $ac_status); }; }; then
17030 cat >conftest.
$ac_ext <<_ACEOF
17033 cat confdefs.h
>>conftest.
$ac_ext
17034 cat >>conftest.
$ac_ext <<_ACEOF
17035 /* end confdefs.h. */
17036 $ac_includes_default
17040 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= $ac_mid)];
17047 rm -f conftest.
$ac_objext
17048 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17049 (eval $ac_compile) 2>conftest.er1
17051 grep -v '^ *+' conftest.er1
>conftest.err
17053 cat conftest.err
>&5
17054 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17055 (exit $ac_status); } &&
17056 { ac_try
='test -z "$ac_c_werror_flag"
17057 || test ! -s conftest.err'
17058 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17059 (eval $ac_try) 2>&5
17061 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17062 (exit $ac_status); }; } &&
17063 { ac_try
='test -s conftest.$ac_objext'
17064 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17065 (eval $ac_try) 2>&5
17067 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17068 (exit $ac_status); }; }; then
17069 ac_lo
=$ac_mid; break
17071 echo "$as_me: failed program was:" >&5
17072 sed 's/^/| /' conftest.
$ac_ext >&5
17074 ac_hi
=`expr '(' $ac_mid ')' - 1`
17075 if test $ac_mid -le $ac_hi; then
17079 ac_mid
=`expr 2 '*' $ac_mid`
17081 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17084 echo "$as_me: failed program was:" >&5
17085 sed 's/^/| /' conftest.
$ac_ext >&5
17089 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17091 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17092 # Binary search between lo and hi bounds.
17093 while test "x$ac_lo" != "x$ac_hi"; do
17094 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
17095 cat >conftest.
$ac_ext <<_ACEOF
17098 cat confdefs.h
>>conftest.
$ac_ext
17099 cat >>conftest.
$ac_ext <<_ACEOF
17100 /* end confdefs.h. */
17101 $ac_includes_default
17105 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
17112 rm -f conftest.
$ac_objext
17113 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17114 (eval $ac_compile) 2>conftest.er1
17116 grep -v '^ *+' conftest.er1
>conftest.err
17118 cat conftest.err
>&5
17119 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17120 (exit $ac_status); } &&
17121 { ac_try
='test -z "$ac_c_werror_flag"
17122 || test ! -s conftest.err'
17123 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17124 (eval $ac_try) 2>&5
17126 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17127 (exit $ac_status); }; } &&
17128 { ac_try
='test -s conftest.$ac_objext'
17129 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17130 (eval $ac_try) 2>&5
17132 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17133 (exit $ac_status); }; }; then
17136 echo "$as_me: failed program was:" >&5
17137 sed 's/^/| /' conftest.
$ac_ext >&5
17139 ac_lo
=`expr '(' $ac_mid ')' + 1`
17141 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17144 ?
*) ac_cv_sizeof_long_long
=$ac_lo;;
17145 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
17146 See \`config.log' for more details." >&5
17147 echo "$as_me: error: cannot compute sizeof (long long), 77
17148 See \`config.log' for more details." >&2;}
17149 { (exit 1); exit 1; }; } ;;
17152 if test "$cross_compiling" = yes; then
17153 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
17154 See \`config.log' for more details." >&5
17155 echo "$as_me: error: cannot run test program while cross compiling
17156 See \`config.log' for more details." >&2;}
17157 { (exit 1); exit 1; }; }
17159 cat >conftest.
$ac_ext <<_ACEOF
17162 cat confdefs.h
>>conftest.
$ac_ext
17163 cat >>conftest.
$ac_ext <<_ACEOF
17164 /* end confdefs.h. */
17165 $ac_includes_default
17166 long longval () { return (long) (sizeof (long long)); }
17167 unsigned long ulongval () { return (long) (sizeof (long long)); }
17169 #include <stdlib.h>
17174 FILE *f = fopen ("conftest.val", "w");
17177 if (((long) (sizeof (long long))) < 0)
17179 long i = longval ();
17180 if (i != ((long) (sizeof (long long))))
17182 fprintf (f, "%ld\n", i);
17186 unsigned long i = ulongval ();
17187 if (i != ((long) (sizeof (long long))))
17189 fprintf (f, "%lu\n", i);
17191 exit (ferror (f) || fclose (f) != 0);
17197 rm -f conftest
$ac_exeext
17198 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17199 (eval $ac_link) 2>&5
17201 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17202 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
17203 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17204 (eval $ac_try) 2>&5
17206 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17207 (exit $ac_status); }; }; then
17208 ac_cv_sizeof_long_long
=`cat conftest.val`
17210 echo "$as_me: program exited with status $ac_status" >&5
17211 echo "$as_me: failed program was:" >&5
17212 sed 's/^/| /' conftest.
$ac_ext >&5
17214 ( exit $ac_status )
17215 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
17216 See \`config.log' for more details." >&5
17217 echo "$as_me: error: cannot compute sizeof (long long), 77
17218 See \`config.log' for more details." >&2;}
17219 { (exit 1); exit 1; }; }
17221 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
17226 ac_cv_sizeof_long_long
=0
17229 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
17230 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6
17231 cat >>confdefs.h
<<_ACEOF
17232 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
17238 echo "$as_me:$LINENO: checking for long long" >&5
17239 echo $ECHO_N "checking for long long... $ECHO_C" >&6
17240 if test "${ac_cv_type_long_long+set}" = set; then
17241 echo $ECHO_N "(cached) $ECHO_C" >&6
17243 cat >conftest.
$ac_ext <<_ACEOF
17246 cat confdefs.h
>>conftest.
$ac_ext
17247 cat >>conftest.
$ac_ext <<_ACEOF
17248 /* end confdefs.h. */
17249 $ac_includes_default
17253 if ((long long *) 0)
17255 if (sizeof (long long))
17261 rm -f conftest.
$ac_objext
17262 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17263 (eval $ac_compile) 2>conftest.er1
17265 grep -v '^ *+' conftest.er1
>conftest.err
17267 cat conftest.err
>&5
17268 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17269 (exit $ac_status); } &&
17270 { ac_try
='test -z "$ac_c_werror_flag"
17271 || test ! -s conftest.err'
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); }; } &&
17277 { ac_try
='test -s conftest.$ac_objext'
17278 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17279 (eval $ac_try) 2>&5
17281 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17282 (exit $ac_status); }; }; then
17283 ac_cv_type_long_long
=yes
17285 echo "$as_me: failed program was:" >&5
17286 sed 's/^/| /' conftest.
$ac_ext >&5
17288 ac_cv_type_long_long
=no
17290 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17292 echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
17293 echo "${ECHO_T}$ac_cv_type_long_long" >&6
17295 echo "$as_me:$LINENO: checking size of long long" >&5
17296 echo $ECHO_N "checking size of long long... $ECHO_C" >&6
17297 if test "${ac_cv_sizeof_long_long+set}" = set; then
17298 echo $ECHO_N "(cached) $ECHO_C" >&6
17300 if test "$ac_cv_type_long_long" = yes; then
17301 # The cast to unsigned long works around a bug in the HP C Compiler
17302 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
17303 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
17304 # This bug is HP SR number 8606223364.
17305 if test "$cross_compiling" = yes; then
17306 # Depending upon the size, compute the lo and hi bounds.
17307 cat >conftest.
$ac_ext <<_ACEOF
17310 cat confdefs.h
>>conftest.
$ac_ext
17311 cat >>conftest.
$ac_ext <<_ACEOF
17312 /* end confdefs.h. */
17313 $ac_includes_default
17317 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= 0)];
17324 rm -f conftest.
$ac_objext
17325 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17326 (eval $ac_compile) 2>conftest.er1
17328 grep -v '^ *+' conftest.er1
>conftest.err
17330 cat conftest.err
>&5
17331 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17332 (exit $ac_status); } &&
17333 { ac_try
='test -z "$ac_c_werror_flag"
17334 || test ! -s conftest.err'
17335 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17336 (eval $ac_try) 2>&5
17338 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17339 (exit $ac_status); }; } &&
17340 { ac_try
='test -s conftest.$ac_objext'
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); }; }; then
17348 cat >conftest.
$ac_ext <<_ACEOF
17351 cat confdefs.h
>>conftest.
$ac_ext
17352 cat >>conftest.
$ac_ext <<_ACEOF
17353 /* end confdefs.h. */
17354 $ac_includes_default
17358 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
17365 rm -f conftest.
$ac_objext
17366 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17367 (eval $ac_compile) 2>conftest.er1
17369 grep -v '^ *+' conftest.er1
>conftest.err
17371 cat conftest.err
>&5
17372 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17373 (exit $ac_status); } &&
17374 { ac_try
='test -z "$ac_c_werror_flag"
17375 || test ! -s conftest.err'
17376 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17377 (eval $ac_try) 2>&5
17379 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17380 (exit $ac_status); }; } &&
17381 { ac_try
='test -s conftest.$ac_objext'
17382 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17383 (eval $ac_try) 2>&5
17385 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17386 (exit $ac_status); }; }; then
17387 ac_hi
=$ac_mid; break
17389 echo "$as_me: failed program was:" >&5
17390 sed 's/^/| /' conftest.
$ac_ext >&5
17392 ac_lo
=`expr $ac_mid + 1`
17393 if test $ac_lo -le $ac_mid; then
17397 ac_mid
=`expr 2 '*' $ac_mid + 1`
17399 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17402 echo "$as_me: failed program was:" >&5
17403 sed 's/^/| /' conftest.
$ac_ext >&5
17405 cat >conftest.
$ac_ext <<_ACEOF
17408 cat confdefs.h
>>conftest.
$ac_ext
17409 cat >>conftest.
$ac_ext <<_ACEOF
17410 /* end confdefs.h. */
17411 $ac_includes_default
17415 static int test_array [1 - 2 * !(((long) (sizeof (long long))) < 0)];
17422 rm -f conftest.
$ac_objext
17423 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17424 (eval $ac_compile) 2>conftest.er1
17426 grep -v '^ *+' conftest.er1
>conftest.err
17428 cat conftest.err
>&5
17429 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17430 (exit $ac_status); } &&
17431 { ac_try
='test -z "$ac_c_werror_flag"
17432 || test ! -s conftest.err'
17433 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17434 (eval $ac_try) 2>&5
17436 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17437 (exit $ac_status); }; } &&
17438 { ac_try
='test -s conftest.$ac_objext'
17439 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17440 (eval $ac_try) 2>&5
17442 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17443 (exit $ac_status); }; }; then
17446 cat >conftest.
$ac_ext <<_ACEOF
17449 cat confdefs.h
>>conftest.
$ac_ext
17450 cat >>conftest.
$ac_ext <<_ACEOF
17451 /* end confdefs.h. */
17452 $ac_includes_default
17456 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= $ac_mid)];
17463 rm -f conftest.
$ac_objext
17464 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17465 (eval $ac_compile) 2>conftest.er1
17467 grep -v '^ *+' conftest.er1
>conftest.err
17469 cat conftest.err
>&5
17470 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17471 (exit $ac_status); } &&
17472 { ac_try
='test -z "$ac_c_werror_flag"
17473 || test ! -s conftest.err'
17474 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17475 (eval $ac_try) 2>&5
17477 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17478 (exit $ac_status); }; } &&
17479 { ac_try
='test -s conftest.$ac_objext'
17480 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17481 (eval $ac_try) 2>&5
17483 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17484 (exit $ac_status); }; }; then
17485 ac_lo
=$ac_mid; break
17487 echo "$as_me: failed program was:" >&5
17488 sed 's/^/| /' conftest.
$ac_ext >&5
17490 ac_hi
=`expr '(' $ac_mid ')' - 1`
17491 if test $ac_mid -le $ac_hi; then
17495 ac_mid
=`expr 2 '*' $ac_mid`
17497 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17500 echo "$as_me: failed program was:" >&5
17501 sed 's/^/| /' conftest.
$ac_ext >&5
17505 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17507 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17508 # Binary search between lo and hi bounds.
17509 while test "x$ac_lo" != "x$ac_hi"; do
17510 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
17511 cat >conftest.
$ac_ext <<_ACEOF
17514 cat confdefs.h
>>conftest.
$ac_ext
17515 cat >>conftest.
$ac_ext <<_ACEOF
17516 /* end confdefs.h. */
17517 $ac_includes_default
17521 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
17528 rm -f conftest.
$ac_objext
17529 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17530 (eval $ac_compile) 2>conftest.er1
17532 grep -v '^ *+' conftest.er1
>conftest.err
17534 cat conftest.err
>&5
17535 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17536 (exit $ac_status); } &&
17537 { ac_try
='test -z "$ac_c_werror_flag"
17538 || test ! -s conftest.err'
17539 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17540 (eval $ac_try) 2>&5
17542 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17543 (exit $ac_status); }; } &&
17544 { ac_try
='test -s conftest.$ac_objext'
17545 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17546 (eval $ac_try) 2>&5
17548 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17549 (exit $ac_status); }; }; then
17552 echo "$as_me: failed program was:" >&5
17553 sed 's/^/| /' conftest.
$ac_ext >&5
17555 ac_lo
=`expr '(' $ac_mid ')' + 1`
17557 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17560 ?
*) ac_cv_sizeof_long_long
=$ac_lo;;
17561 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
17562 See \`config.log' for more details." >&5
17563 echo "$as_me: error: cannot compute sizeof (long long), 77
17564 See \`config.log' for more details." >&2;}
17565 { (exit 1); exit 1; }; } ;;
17568 if test "$cross_compiling" = yes; then
17569 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
17570 See \`config.log' for more details." >&5
17571 echo "$as_me: error: cannot run test program while cross compiling
17572 See \`config.log' for more details." >&2;}
17573 { (exit 1); exit 1; }; }
17575 cat >conftest.
$ac_ext <<_ACEOF
17578 cat confdefs.h
>>conftest.
$ac_ext
17579 cat >>conftest.
$ac_ext <<_ACEOF
17580 /* end confdefs.h. */
17581 $ac_includes_default
17582 long longval () { return (long) (sizeof (long long)); }
17583 unsigned long ulongval () { return (long) (sizeof (long long)); }
17585 #include <stdlib.h>
17590 FILE *f = fopen ("conftest.val", "w");
17593 if (((long) (sizeof (long long))) < 0)
17595 long i = longval ();
17596 if (i != ((long) (sizeof (long long))))
17598 fprintf (f, "%ld\n", i);
17602 unsigned long i = ulongval ();
17603 if (i != ((long) (sizeof (long long))))
17605 fprintf (f, "%lu\n", i);
17607 exit (ferror (f) || fclose (f) != 0);
17613 rm -f conftest
$ac_exeext
17614 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17615 (eval $ac_link) 2>&5
17617 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17618 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
17619 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17620 (eval $ac_try) 2>&5
17622 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17623 (exit $ac_status); }; }; then
17624 ac_cv_sizeof_long_long
=`cat conftest.val`
17626 echo "$as_me: program exited with status $ac_status" >&5
17627 echo "$as_me: failed program was:" >&5
17628 sed 's/^/| /' conftest.
$ac_ext >&5
17630 ( exit $ac_status )
17631 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
17632 See \`config.log' for more details." >&5
17633 echo "$as_me: error: cannot compute sizeof (long long), 77
17634 See \`config.log' for more details." >&2;}
17635 { (exit 1); exit 1; }; }
17637 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
17642 ac_cv_sizeof_long_long
=0
17645 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
17646 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6
17647 cat >>confdefs.h
<<_ACEOF
17648 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
17652 if test "$ac_cv_sizeof_long_long" != "0"; then
17653 CPPFLAGS
="$CPPFLAGS -D_INCLUDE_LONGLONG"
17657 echo "$as_me:$LINENO: checking for long long" >&5
17658 echo $ECHO_N "checking for long long... $ECHO_C" >&6
17659 if test "${ac_cv_type_long_long+set}" = set; then
17660 echo $ECHO_N "(cached) $ECHO_C" >&6
17662 cat >conftest.
$ac_ext <<_ACEOF
17665 cat confdefs.h
>>conftest.
$ac_ext
17666 cat >>conftest.
$ac_ext <<_ACEOF
17667 /* end confdefs.h. */
17668 $ac_includes_default
17672 if ((long long *) 0)
17674 if (sizeof (long long))
17680 rm -f conftest.
$ac_objext
17681 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17682 (eval $ac_compile) 2>conftest.er1
17684 grep -v '^ *+' conftest.er1
>conftest.err
17686 cat conftest.err
>&5
17687 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17688 (exit $ac_status); } &&
17689 { ac_try
='test -z "$ac_c_werror_flag"
17690 || test ! -s conftest.err'
17691 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17692 (eval $ac_try) 2>&5
17694 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17695 (exit $ac_status); }; } &&
17696 { ac_try
='test -s conftest.$ac_objext'
17697 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17698 (eval $ac_try) 2>&5
17700 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17701 (exit $ac_status); }; }; then
17702 ac_cv_type_long_long
=yes
17704 echo "$as_me: failed program was:" >&5
17705 sed 's/^/| /' conftest.
$ac_ext >&5
17707 ac_cv_type_long_long
=no
17709 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17711 echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
17712 echo "${ECHO_T}$ac_cv_type_long_long" >&6
17714 echo "$as_me:$LINENO: checking size of long long" >&5
17715 echo $ECHO_N "checking size of long long... $ECHO_C" >&6
17716 if test "${ac_cv_sizeof_long_long+set}" = set; then
17717 echo $ECHO_N "(cached) $ECHO_C" >&6
17719 if test "$ac_cv_type_long_long" = yes; then
17720 # The cast to unsigned long works around a bug in the HP C Compiler
17721 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
17722 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
17723 # This bug is HP SR number 8606223364.
17724 if test "$cross_compiling" = yes; then
17725 # Depending upon the size, compute the lo and hi bounds.
17726 cat >conftest.
$ac_ext <<_ACEOF
17729 cat confdefs.h
>>conftest.
$ac_ext
17730 cat >>conftest.
$ac_ext <<_ACEOF
17731 /* end confdefs.h. */
17732 $ac_includes_default
17736 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= 0)];
17743 rm -f conftest.
$ac_objext
17744 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17745 (eval $ac_compile) 2>conftest.er1
17747 grep -v '^ *+' conftest.er1
>conftest.err
17749 cat conftest.err
>&5
17750 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17751 (exit $ac_status); } &&
17752 { ac_try
='test -z "$ac_c_werror_flag"
17753 || test ! -s conftest.err'
17754 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17755 (eval $ac_try) 2>&5
17757 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17758 (exit $ac_status); }; } &&
17759 { ac_try
='test -s conftest.$ac_objext'
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); }; }; then
17767 cat >conftest.
$ac_ext <<_ACEOF
17770 cat confdefs.h
>>conftest.
$ac_ext
17771 cat >>conftest.
$ac_ext <<_ACEOF
17772 /* end confdefs.h. */
17773 $ac_includes_default
17777 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
17784 rm -f conftest.
$ac_objext
17785 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17786 (eval $ac_compile) 2>conftest.er1
17788 grep -v '^ *+' conftest.er1
>conftest.err
17790 cat conftest.err
>&5
17791 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17792 (exit $ac_status); } &&
17793 { ac_try
='test -z "$ac_c_werror_flag"
17794 || test ! -s conftest.err'
17795 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17796 (eval $ac_try) 2>&5
17798 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17799 (exit $ac_status); }; } &&
17800 { ac_try
='test -s conftest.$ac_objext'
17801 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17802 (eval $ac_try) 2>&5
17804 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17805 (exit $ac_status); }; }; then
17806 ac_hi
=$ac_mid; break
17808 echo "$as_me: failed program was:" >&5
17809 sed 's/^/| /' conftest.
$ac_ext >&5
17811 ac_lo
=`expr $ac_mid + 1`
17812 if test $ac_lo -le $ac_mid; then
17816 ac_mid
=`expr 2 '*' $ac_mid + 1`
17818 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17821 echo "$as_me: failed program was:" >&5
17822 sed 's/^/| /' conftest.
$ac_ext >&5
17824 cat >conftest.
$ac_ext <<_ACEOF
17827 cat confdefs.h
>>conftest.
$ac_ext
17828 cat >>conftest.
$ac_ext <<_ACEOF
17829 /* end confdefs.h. */
17830 $ac_includes_default
17834 static int test_array [1 - 2 * !(((long) (sizeof (long long))) < 0)];
17841 rm -f conftest.
$ac_objext
17842 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17843 (eval $ac_compile) 2>conftest.er1
17845 grep -v '^ *+' conftest.er1
>conftest.err
17847 cat conftest.err
>&5
17848 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17849 (exit $ac_status); } &&
17850 { ac_try
='test -z "$ac_c_werror_flag"
17851 || test ! -s conftest.err'
17852 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17853 (eval $ac_try) 2>&5
17855 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17856 (exit $ac_status); }; } &&
17857 { ac_try
='test -s conftest.$ac_objext'
17858 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17859 (eval $ac_try) 2>&5
17861 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17862 (exit $ac_status); }; }; then
17865 cat >conftest.
$ac_ext <<_ACEOF
17868 cat confdefs.h
>>conftest.
$ac_ext
17869 cat >>conftest.
$ac_ext <<_ACEOF
17870 /* end confdefs.h. */
17871 $ac_includes_default
17875 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= $ac_mid)];
17882 rm -f conftest.
$ac_objext
17883 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17884 (eval $ac_compile) 2>conftest.er1
17886 grep -v '^ *+' conftest.er1
>conftest.err
17888 cat conftest.err
>&5
17889 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17890 (exit $ac_status); } &&
17891 { ac_try
='test -z "$ac_c_werror_flag"
17892 || test ! -s conftest.err'
17893 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17894 (eval $ac_try) 2>&5
17896 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17897 (exit $ac_status); }; } &&
17898 { ac_try
='test -s conftest.$ac_objext'
17899 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17900 (eval $ac_try) 2>&5
17902 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17903 (exit $ac_status); }; }; then
17904 ac_lo
=$ac_mid; break
17906 echo "$as_me: failed program was:" >&5
17907 sed 's/^/| /' conftest.
$ac_ext >&5
17909 ac_hi
=`expr '(' $ac_mid ')' - 1`
17910 if test $ac_mid -le $ac_hi; then
17914 ac_mid
=`expr 2 '*' $ac_mid`
17916 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17919 echo "$as_me: failed program was:" >&5
17920 sed 's/^/| /' conftest.
$ac_ext >&5
17924 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17926 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17927 # Binary search between lo and hi bounds.
17928 while test "x$ac_lo" != "x$ac_hi"; do
17929 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
17930 cat >conftest.
$ac_ext <<_ACEOF
17933 cat confdefs.h
>>conftest.
$ac_ext
17934 cat >>conftest.
$ac_ext <<_ACEOF
17935 /* end confdefs.h. */
17936 $ac_includes_default
17940 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
17947 rm -f conftest.
$ac_objext
17948 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17949 (eval $ac_compile) 2>conftest.er1
17951 grep -v '^ *+' conftest.er1
>conftest.err
17953 cat conftest.err
>&5
17954 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17955 (exit $ac_status); } &&
17956 { ac_try
='test -z "$ac_c_werror_flag"
17957 || test ! -s conftest.err'
17958 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17959 (eval $ac_try) 2>&5
17961 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17962 (exit $ac_status); }; } &&
17963 { ac_try
='test -s conftest.$ac_objext'
17964 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17965 (eval $ac_try) 2>&5
17967 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17968 (exit $ac_status); }; }; then
17971 echo "$as_me: failed program was:" >&5
17972 sed 's/^/| /' conftest.
$ac_ext >&5
17974 ac_lo
=`expr '(' $ac_mid ')' + 1`
17976 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17979 ?
*) ac_cv_sizeof_long_long
=$ac_lo;;
17980 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
17981 See \`config.log' for more details." >&5
17982 echo "$as_me: error: cannot compute sizeof (long long), 77
17983 See \`config.log' for more details." >&2;}
17984 { (exit 1); exit 1; }; } ;;
17987 if test "$cross_compiling" = yes; then
17988 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
17989 See \`config.log' for more details." >&5
17990 echo "$as_me: error: cannot run test program while cross compiling
17991 See \`config.log' for more details." >&2;}
17992 { (exit 1); exit 1; }; }
17994 cat >conftest.
$ac_ext <<_ACEOF
17997 cat confdefs.h
>>conftest.
$ac_ext
17998 cat >>conftest.
$ac_ext <<_ACEOF
17999 /* end confdefs.h. */
18000 $ac_includes_default
18001 long longval () { return (long) (sizeof (long long)); }
18002 unsigned long ulongval () { return (long) (sizeof (long long)); }
18004 #include <stdlib.h>
18009 FILE *f = fopen ("conftest.val", "w");
18012 if (((long) (sizeof (long long))) < 0)
18014 long i = longval ();
18015 if (i != ((long) (sizeof (long long))))
18017 fprintf (f, "%ld\n", i);
18021 unsigned long i = ulongval ();
18022 if (i != ((long) (sizeof (long long))))
18024 fprintf (f, "%lu\n", i);
18026 exit (ferror (f) || fclose (f) != 0);
18032 rm -f conftest
$ac_exeext
18033 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18034 (eval $ac_link) 2>&5
18036 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18037 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
18038 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18039 (eval $ac_try) 2>&5
18041 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18042 (exit $ac_status); }; }; then
18043 ac_cv_sizeof_long_long
=`cat conftest.val`
18045 echo "$as_me: program exited with status $ac_status" >&5
18046 echo "$as_me: failed program was:" >&5
18047 sed 's/^/| /' conftest.
$ac_ext >&5
18049 ( exit $ac_status )
18050 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
18051 See \`config.log' for more details." >&5
18052 echo "$as_me: error: cannot compute sizeof (long long), 77
18053 See \`config.log' for more details." >&2;}
18054 { (exit 1); exit 1; }; }
18056 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
18061 ac_cv_sizeof_long_long
=0
18064 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
18065 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6
18066 cat >>confdefs.h
<<_ACEOF
18067 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
18073 echo "$as_me:$LINENO: checking size of wchar_t" >&5
18074 echo $ECHO_N "checking size of wchar_t... $ECHO_C" >&6
18075 if test "${wx_cv_sizeof_wchar_t+set}" = set; then
18076 echo $ECHO_N "(cached) $ECHO_C" >&6
18079 if test "$cross_compiling" = yes; then
18083 wx_cv_sizeof_wchar_t
=0
18086 wx_cv_sizeof_wchar_t
=4
18092 cat >conftest.
$ac_ext <<_ACEOF
18095 cat confdefs.h
>>conftest.
$ac_ext
18096 cat >>conftest.
$ac_ext <<_ACEOF
18097 /* end confdefs.h. */
18099 /* DJGPP only has fake wchar_t: */
18101 # error "fake wchar_t"
18103 #ifdef HAVE_WCHAR_H
18105 # include <stddef.h>
18107 # include <wchar.h>
18109 #ifdef HAVE_STDLIB_H
18110 # include <stdlib.h>
18115 FILE *f=fopen("conftestval", "w");
18117 fprintf(f, "%i", sizeof(wchar_t));
18122 rm -f conftest
$ac_exeext
18123 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18124 (eval $ac_link) 2>&5
18126 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18127 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
18128 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18129 (eval $ac_try) 2>&5
18131 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18132 (exit $ac_status); }; }; then
18133 wx_cv_sizeof_wchar_t
=`cat conftestval`
18135 echo "$as_me: program exited with status $ac_status" >&5
18136 echo "$as_me: failed program was:" >&5
18137 sed 's/^/| /' conftest.
$ac_ext >&5
18139 ( exit $ac_status )
18140 wx_cv_sizeof_wchar_t
=0
18142 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
18146 echo "$as_me:$LINENO: result: $wx_cv_sizeof_wchar_t" >&5
18147 echo "${ECHO_T}$wx_cv_sizeof_wchar_t" >&6
18149 cat >>confdefs.h
<<_ACEOF
18150 #define SIZEOF_WCHAR_T $wx_cv_sizeof_wchar_t
18154 # Check whether --enable-largefile or --disable-largefile was given.
18155 if test "${enable_largefile+set}" = set; then
18156 enableval
="$enable_largefile"
18159 if test "$enable_largefile" != no
; then
18162 echo "$as_me:$LINENO: checking for _FILE_OFFSET_BITS value needed for large files" >&5
18163 echo $ECHO_N "checking for _FILE_OFFSET_BITS value needed for large files... $ECHO_C" >&6
18164 if test "${ac_cv_sys_file_offset_bits+set}" = set; then
18165 echo $ECHO_N "(cached) $ECHO_C" >&6
18168 cat >conftest.
$ac_ext <<_ACEOF
18171 cat confdefs.h
>>conftest.
$ac_ext
18172 cat >>conftest.
$ac_ext <<_ACEOF
18173 /* end confdefs.h. */
18174 #define _FILE_OFFSET_BITS 64
18175 #include <sys/types.h>
18180 unsigned int field: sizeof(off_t) == 8;
18187 rm -f conftest.
$ac_objext
18188 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18189 (eval $ac_compile) 2>conftest.er1
18191 grep -v '^ *+' conftest.er1
>conftest.err
18193 cat conftest.err
>&5
18194 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18195 (exit $ac_status); } &&
18196 { ac_try
='test -z "$ac_c_werror_flag"
18197 || test ! -s conftest.err'
18198 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18199 (eval $ac_try) 2>&5
18201 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18202 (exit $ac_status); }; } &&
18203 { ac_try
='test -s conftest.$ac_objext'
18204 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18205 (eval $ac_try) 2>&5
18207 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18208 (exit $ac_status); }; }; then
18209 ac_cv_sys_file_offset_bits
=64
18211 echo "$as_me: failed program was:" >&5
18212 sed 's/^/| /' conftest.
$ac_ext >&5
18214 ac_cv_sys_file_offset_bits
=no
18216 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18220 echo "$as_me:$LINENO: result: $ac_cv_sys_file_offset_bits" >&5
18221 echo "${ECHO_T}$ac_cv_sys_file_offset_bits" >&6
18223 if test "$ac_cv_sys_file_offset_bits" != no
; then
18225 cat >>confdefs.h
<<_ACEOF
18226 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
18231 if test "x$wx_largefile" != "xyes"; then
18233 echo "$as_me:$LINENO: checking for _LARGE_FILES value needed for large files" >&5
18234 echo $ECHO_N "checking for _LARGE_FILES value needed for large files... $ECHO_C" >&6
18235 if test "${ac_cv_sys_large_files+set}" = set; then
18236 echo $ECHO_N "(cached) $ECHO_C" >&6
18239 cat >conftest.
$ac_ext <<_ACEOF
18242 cat confdefs.h
>>conftest.
$ac_ext
18243 cat >>conftest.
$ac_ext <<_ACEOF
18244 /* end confdefs.h. */
18245 #define _LARGE_FILES 1
18246 #include <sys/types.h>
18251 unsigned int field: sizeof(off_t) == 8;
18258 rm -f conftest.
$ac_objext
18259 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18260 (eval $ac_compile) 2>conftest.er1
18262 grep -v '^ *+' conftest.er1
>conftest.err
18264 cat conftest.err
>&5
18265 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18266 (exit $ac_status); } &&
18267 { ac_try
='test -z "$ac_c_werror_flag"
18268 || test ! -s conftest.err'
18269 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18270 (eval $ac_try) 2>&5
18272 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18273 (exit $ac_status); }; } &&
18274 { ac_try
='test -s conftest.$ac_objext'
18275 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18276 (eval $ac_try) 2>&5
18278 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18279 (exit $ac_status); }; }; then
18280 ac_cv_sys_large_files
=1
18282 echo "$as_me: failed program was:" >&5
18283 sed 's/^/| /' conftest.
$ac_ext >&5
18285 ac_cv_sys_large_files
=no
18287 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18291 echo "$as_me:$LINENO: result: $ac_cv_sys_large_files" >&5
18292 echo "${ECHO_T}$ac_cv_sys_large_files" >&6
18294 if test "$ac_cv_sys_large_files" != no
; then
18296 cat >>confdefs.h
<<_ACEOF
18297 #define _LARGE_FILES $ac_cv_sys_large_files
18304 echo "$as_me:$LINENO: checking if large file support is available" >&5
18305 echo $ECHO_N "checking if large file support is available... $ECHO_C" >&6
18306 if test "x$wx_largefile" = "xyes"; then
18307 cat >>confdefs.h
<<\_ACEOF
18308 #define HAVE_LARGEFILE_SUPPORT 1
18312 echo "$as_me:$LINENO: result: $wx_largefile" >&5
18313 echo "${ECHO_T}$wx_largefile" >&6
18317 if test "x$wx_largefile" = "xyes"; then
18318 if test "x$ac_cv_sys_file_offset_bits" = "x64"; then
18319 WX_LARGEFILE_FLAGS
="-D_FILE_OFFSET_BITS=64 -D_LARGE_FILES"
18321 WX_LARGEFILE_FLAGS
="-D_LARGE_FILES"
18323 CPPFLAGS
="$CPPFLAGS $WX_LARGEFILE_FLAGS"
18326 echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5
18327 echo $ECHO_N "checking whether byte ordering is bigendian... $ECHO_C" >&6
18328 if test "${ac_cv_c_bigendian+set}" = set; then
18329 echo $ECHO_N "(cached) $ECHO_C" >&6
18331 ac_cv_c_bigendian
=unknown
18332 # See if sys/param.h defines the BYTE_ORDER macro.
18333 cat >conftest.
$ac_ext <<_ACEOF
18336 cat confdefs.h
>>conftest.
$ac_ext
18337 cat >>conftest.
$ac_ext <<_ACEOF
18338 /* end confdefs.h. */
18339 #include <sys/types.h>
18340 #include <sys/param.h>
18345 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN
18346 bogus endian macros
18352 rm -f conftest.
$ac_objext
18353 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18354 (eval $ac_compile) 2>conftest.er1
18356 grep -v '^ *+' conftest.er1
>conftest.err
18358 cat conftest.err
>&5
18359 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18360 (exit $ac_status); } &&
18361 { ac_try
='test -z "$ac_c_werror_flag"
18362 || test ! -s conftest.err'
18363 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18364 (eval $ac_try) 2>&5
18366 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18367 (exit $ac_status); }; } &&
18368 { ac_try
='test -s conftest.$ac_objext'
18369 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18370 (eval $ac_try) 2>&5
18372 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18373 (exit $ac_status); }; }; then
18374 # It does; now see whether it defined to BIG_ENDIAN or not.
18375 cat >conftest.
$ac_ext <<_ACEOF
18378 cat confdefs.h
>>conftest.
$ac_ext
18379 cat >>conftest.
$ac_ext <<_ACEOF
18380 /* end confdefs.h. */
18381 #include <sys/types.h>
18382 #include <sys/param.h>
18387 #if BYTE_ORDER != BIG_ENDIAN
18394 rm -f conftest.
$ac_objext
18395 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18396 (eval $ac_compile) 2>conftest.er1
18398 grep -v '^ *+' conftest.er1
>conftest.err
18400 cat conftest.err
>&5
18401 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18402 (exit $ac_status); } &&
18403 { ac_try
='test -z "$ac_c_werror_flag"
18404 || test ! -s conftest.err'
18405 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18406 (eval $ac_try) 2>&5
18408 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18409 (exit $ac_status); }; } &&
18410 { ac_try
='test -s conftest.$ac_objext'
18411 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18412 (eval $ac_try) 2>&5
18414 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18415 (exit $ac_status); }; }; then
18416 ac_cv_c_bigendian
=yes
18418 echo "$as_me: failed program was:" >&5
18419 sed 's/^/| /' conftest.
$ac_ext >&5
18421 ac_cv_c_bigendian
=no
18423 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18425 echo "$as_me: failed program was:" >&5
18426 sed 's/^/| /' conftest.
$ac_ext >&5
18429 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18430 if test $ac_cv_c_bigendian = unknown
; then
18431 if test "$cross_compiling" = yes; then
18432 ac_cv_c_bigendian
=unknown
18434 cat >conftest.
$ac_ext <<_ACEOF
18437 cat confdefs.h
>>conftest.
$ac_ext
18438 cat >>conftest.
$ac_ext <<_ACEOF
18439 /* end confdefs.h. */
18441 /* Are we little or big endian? From Harbison&Steele. */
18445 char c[sizeof (long)];
18448 exit (u.c[sizeof (long) - 1] == 1);
18451 rm -f conftest
$ac_exeext
18452 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18453 (eval $ac_link) 2>&5
18455 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18456 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
18457 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18458 (eval $ac_try) 2>&5
18460 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18461 (exit $ac_status); }; }; then
18462 ac_cv_c_bigendian
=no
18464 echo "$as_me: program exited with status $ac_status" >&5
18465 echo "$as_me: failed program was:" >&5
18466 sed 's/^/| /' conftest.
$ac_ext >&5
18468 ( exit $ac_status )
18469 ac_cv_c_bigendian
=yes
18471 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
18475 echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5
18476 echo "${ECHO_T}$ac_cv_c_bigendian" >&6
18477 if test $ac_cv_c_bigendian = unknown
; then
18478 { 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
18479 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;}
18481 if test $ac_cv_c_bigendian = yes; then
18482 cat >>confdefs.h
<<\_ACEOF
18483 #define WORDS_BIGENDIAN 1
18490 ac_cpp
='$CXXCPP $CPPFLAGS'
18491 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18492 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18493 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
18494 echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5
18495 echo $ECHO_N "checking how to run the C++ preprocessor... $ECHO_C" >&6
18496 if test -z "$CXXCPP"; then
18497 if test "${ac_cv_prog_CXXCPP+set}" = set; then
18498 echo $ECHO_N "(cached) $ECHO_C" >&6
18500 # Double quotes because CXXCPP needs to be expanded
18501 for CXXCPP
in "$CXX -E" "/lib/cpp"
18503 ac_preproc_ok
=false
18504 for ac_cxx_preproc_warn_flag
in '' yes
18506 # Use a header file that comes with gcc, so configuring glibc
18507 # with a fresh cross-compiler works.
18508 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
18509 # <limits.h> exists even on freestanding compilers.
18510 # On the NeXT, cc -E runs the code through the compiler's parser,
18511 # not just through cpp. "Syntax error" is here to catch this case.
18512 cat >conftest.
$ac_ext <<_ACEOF
18515 cat confdefs.h
>>conftest.
$ac_ext
18516 cat >>conftest.
$ac_ext <<_ACEOF
18517 /* end confdefs.h. */
18519 # include <limits.h>
18521 # include <assert.h>
18525 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
18526 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
18528 grep -v '^ *+' conftest.er1
>conftest.err
18530 cat conftest.err
>&5
18531 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18532 (exit $ac_status); } >/dev
/null
; then
18533 if test -s conftest.err
; then
18534 ac_cpp_err
=$ac_cxx_preproc_warn_flag
18535 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
18542 if test -z "$ac_cpp_err"; then
18545 echo "$as_me: failed program was:" >&5
18546 sed 's/^/| /' conftest.
$ac_ext >&5
18548 # Broken: fails on valid input.
18551 rm -f conftest.err conftest.
$ac_ext
18553 # OK, works on sane cases. Now check whether non-existent headers
18554 # can be detected and how.
18555 cat >conftest.
$ac_ext <<_ACEOF
18558 cat confdefs.h
>>conftest.
$ac_ext
18559 cat >>conftest.
$ac_ext <<_ACEOF
18560 /* end confdefs.h. */
18561 #include <ac_nonexistent.h>
18563 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
18564 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
18566 grep -v '^ *+' conftest.er1
>conftest.err
18568 cat conftest.err
>&5
18569 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18570 (exit $ac_status); } >/dev
/null
; then
18571 if test -s conftest.err
; then
18572 ac_cpp_err
=$ac_cxx_preproc_warn_flag
18573 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
18580 if test -z "$ac_cpp_err"; then
18581 # Broken: success on invalid input.
18584 echo "$as_me: failed program was:" >&5
18585 sed 's/^/| /' conftest.
$ac_ext >&5
18587 # Passes both tests.
18591 rm -f conftest.err conftest.
$ac_ext
18594 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
18595 rm -f conftest.err conftest.
$ac_ext
18596 if $ac_preproc_ok; then
18601 ac_cv_prog_CXXCPP
=$CXXCPP
18604 CXXCPP
=$ac_cv_prog_CXXCPP
18606 ac_cv_prog_CXXCPP
=$CXXCPP
18608 echo "$as_me:$LINENO: result: $CXXCPP" >&5
18609 echo "${ECHO_T}$CXXCPP" >&6
18610 ac_preproc_ok
=false
18611 for ac_cxx_preproc_warn_flag
in '' yes
18613 # Use a header file that comes with gcc, so configuring glibc
18614 # with a fresh cross-compiler works.
18615 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
18616 # <limits.h> exists even on freestanding compilers.
18617 # On the NeXT, cc -E runs the code through the compiler's parser,
18618 # not just through cpp. "Syntax error" is here to catch this case.
18619 cat >conftest.
$ac_ext <<_ACEOF
18622 cat confdefs.h
>>conftest.
$ac_ext
18623 cat >>conftest.
$ac_ext <<_ACEOF
18624 /* end confdefs.h. */
18626 # include <limits.h>
18628 # include <assert.h>
18632 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
18633 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
18635 grep -v '^ *+' conftest.er1
>conftest.err
18637 cat conftest.err
>&5
18638 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18639 (exit $ac_status); } >/dev
/null
; then
18640 if test -s conftest.err
; then
18641 ac_cpp_err
=$ac_cxx_preproc_warn_flag
18642 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
18649 if test -z "$ac_cpp_err"; then
18652 echo "$as_me: failed program was:" >&5
18653 sed 's/^/| /' conftest.
$ac_ext >&5
18655 # Broken: fails on valid input.
18658 rm -f conftest.err conftest.
$ac_ext
18660 # OK, works on sane cases. Now check whether non-existent headers
18661 # can be detected and how.
18662 cat >conftest.
$ac_ext <<_ACEOF
18665 cat confdefs.h
>>conftest.
$ac_ext
18666 cat >>conftest.
$ac_ext <<_ACEOF
18667 /* end confdefs.h. */
18668 #include <ac_nonexistent.h>
18670 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
18671 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
18673 grep -v '^ *+' conftest.er1
>conftest.err
18675 cat conftest.err
>&5
18676 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18677 (exit $ac_status); } >/dev
/null
; then
18678 if test -s conftest.err
; then
18679 ac_cpp_err
=$ac_cxx_preproc_warn_flag
18680 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
18687 if test -z "$ac_cpp_err"; then
18688 # Broken: success on invalid input.
18691 echo "$as_me: failed program was:" >&5
18692 sed 's/^/| /' conftest.
$ac_ext >&5
18694 # Passes both tests.
18698 rm -f conftest.err conftest.
$ac_ext
18701 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
18702 rm -f conftest.err conftest.
$ac_ext
18703 if $ac_preproc_ok; then
18706 { { echo "$as_me:$LINENO: error: C++ preprocessor \"$CXXCPP\" fails sanity check
18707 See \`config.log' for more details." >&5
18708 echo "$as_me: error: C++ preprocessor \"$CXXCPP\" fails sanity check
18709 See \`config.log' for more details." >&2;}
18710 { (exit 1); exit 1; }; }
18714 ac_cpp
='$CXXCPP $CPPFLAGS'
18715 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18716 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18717 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
18724 ac_cpp
='$CXXCPP $CPPFLAGS'
18725 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18726 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18727 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
18731 for ac_header
in iostream
18733 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
18734 if eval "test \"\${$as_ac_Header+set}\" = set"; then
18735 echo "$as_me:$LINENO: checking for $ac_header" >&5
18736 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
18737 if eval "test \"\${$as_ac_Header+set}\" = set"; then
18738 echo $ECHO_N "(cached) $ECHO_C" >&6
18740 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
18741 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
18743 # Is the header compilable?
18744 echo "$as_me:$LINENO: checking $ac_header usability" >&5
18745 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
18746 cat >conftest.
$ac_ext <<_ACEOF
18749 cat confdefs.h
>>conftest.
$ac_ext
18750 cat >>conftest.
$ac_ext <<_ACEOF
18751 /* end confdefs.h. */
18752 $ac_includes_default
18753 #include <$ac_header>
18755 rm -f conftest.
$ac_objext
18756 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18757 (eval $ac_compile) 2>conftest.er1
18759 grep -v '^ *+' conftest.er1
>conftest.err
18761 cat conftest.err
>&5
18762 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18763 (exit $ac_status); } &&
18764 { ac_try
='test -z "$ac_cxx_werror_flag"
18765 || test ! -s conftest.err'
18766 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18767 (eval $ac_try) 2>&5
18769 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18770 (exit $ac_status); }; } &&
18771 { ac_try
='test -s conftest.$ac_objext'
18772 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18773 (eval $ac_try) 2>&5
18775 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18776 (exit $ac_status); }; }; then
18777 ac_header_compiler
=yes
18779 echo "$as_me: failed program was:" >&5
18780 sed 's/^/| /' conftest.
$ac_ext >&5
18782 ac_header_compiler
=no
18784 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18785 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
18786 echo "${ECHO_T}$ac_header_compiler" >&6
18788 # Is the header present?
18789 echo "$as_me:$LINENO: checking $ac_header presence" >&5
18790 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
18791 cat >conftest.
$ac_ext <<_ACEOF
18794 cat confdefs.h
>>conftest.
$ac_ext
18795 cat >>conftest.
$ac_ext <<_ACEOF
18796 /* end confdefs.h. */
18797 #include <$ac_header>
18799 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
18800 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
18802 grep -v '^ *+' conftest.er1
>conftest.err
18804 cat conftest.err
>&5
18805 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18806 (exit $ac_status); } >/dev
/null
; then
18807 if test -s conftest.err
; then
18808 ac_cpp_err
=$ac_cxx_preproc_warn_flag
18809 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
18816 if test -z "$ac_cpp_err"; then
18817 ac_header_preproc
=yes
18819 echo "$as_me: failed program was:" >&5
18820 sed 's/^/| /' conftest.
$ac_ext >&5
18822 ac_header_preproc
=no
18824 rm -f conftest.err conftest.
$ac_ext
18825 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
18826 echo "${ECHO_T}$ac_header_preproc" >&6
18828 # So? What about this header?
18829 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
18831 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
18832 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
18833 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
18834 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
18835 ac_header_preproc
=yes
18838 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
18839 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
18840 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
18841 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
18842 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
18843 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
18844 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
18845 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
18846 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
18847 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
18848 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
18849 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
18852 ## ----------------------------------------- ##
18853 ## Report this to wx-dev@lists.wxwidgets.org ##
18854 ## ----------------------------------------- ##
18857 sed "s/^/$as_me: WARNING: /" >&2
18860 echo "$as_me:$LINENO: checking for $ac_header" >&5
18861 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
18862 if eval "test \"\${$as_ac_Header+set}\" = set"; then
18863 echo $ECHO_N "(cached) $ECHO_C" >&6
18865 eval "$as_ac_Header=\$ac_header_preproc"
18867 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
18868 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
18871 if test `eval echo '${'$as_ac_Header'}'` = yes; then
18872 cat >>confdefs.h
<<_ACEOF
18873 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
18881 if test "$ac_cv_header_iostream" = "yes" ; then
18884 cat >>confdefs.h
<<\_ACEOF
18885 #define wxUSE_IOSTREAMH 1
18891 ac_cpp
='$CPP $CPPFLAGS'
18892 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18893 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18894 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
18899 echo "$as_me:$LINENO: checking if C++ compiler supports bool" >&5
18900 echo $ECHO_N "checking if C++ compiler supports bool... $ECHO_C" >&6
18901 if test "${wx_cv_cpp_bool+set}" = set; then
18902 echo $ECHO_N "(cached) $ECHO_C" >&6
18908 ac_cpp
='$CXXCPP $CPPFLAGS'
18909 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18910 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18911 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
18914 cat >conftest.
$ac_ext <<_ACEOF
18917 cat confdefs.h
>>conftest.
$ac_ext
18918 cat >>conftest.
$ac_ext <<_ACEOF
18919 /* end confdefs.h. */
18934 rm -f conftest.
$ac_objext
18935 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18936 (eval $ac_compile) 2>conftest.er1
18938 grep -v '^ *+' conftest.er1
>conftest.err
18940 cat conftest.err
>&5
18941 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18942 (exit $ac_status); } &&
18943 { ac_try
='test -z "$ac_cxx_werror_flag"
18944 || test ! -s conftest.err'
18945 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18946 (eval $ac_try) 2>&5
18948 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18949 (exit $ac_status); }; } &&
18950 { ac_try
='test -s conftest.$ac_objext'
18951 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18952 (eval $ac_try) 2>&5
18954 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18955 (exit $ac_status); }; }; then
18960 echo "$as_me: failed program was:" >&5
18961 sed 's/^/| /' conftest.
$ac_ext >&5
18968 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18971 ac_cpp
='$CPP $CPPFLAGS'
18972 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18973 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18974 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
18978 echo "$as_me:$LINENO: result: $wx_cv_cpp_bool" >&5
18979 echo "${ECHO_T}$wx_cv_cpp_bool" >&6
18981 if test "$wx_cv_cpp_bool" = "yes"; then
18982 cat >>confdefs.h
<<\_ACEOF
18983 #define HAVE_BOOL 1
18990 echo "$as_me:$LINENO: checking if C++ compiler supports the explicit keyword" >&5
18991 echo $ECHO_N "checking if C++ compiler supports the explicit keyword... $ECHO_C" >&6
18992 if test "${wx_cv_explicit+set}" = set; then
18993 echo $ECHO_N "(cached) $ECHO_C" >&6
18999 ac_cpp
='$CXXCPP $CPPFLAGS'
19000 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19001 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19002 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
19005 cat >conftest.
$ac_ext <<_ACEOF
19008 cat confdefs.h
>>conftest.
$ac_ext
19009 cat >>conftest.
$ac_ext <<_ACEOF
19010 /* end confdefs.h. */
19012 class Foo { public: explicit Foo(int) {} };
19024 rm -f conftest.
$ac_objext
19025 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19026 (eval $ac_compile) 2>conftest.er1
19028 grep -v '^ *+' conftest.er1
>conftest.err
19030 cat conftest.err
>&5
19031 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19032 (exit $ac_status); } &&
19033 { ac_try
='test -z "$ac_cxx_werror_flag"
19034 || test ! -s conftest.err'
19035 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19036 (eval $ac_try) 2>&5
19038 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19039 (exit $ac_status); }; } &&
19040 { ac_try
='test -s conftest.$ac_objext'
19041 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19042 (eval $ac_try) 2>&5
19044 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19045 (exit $ac_status); }; }; then
19047 cat >conftest.
$ac_ext <<_ACEOF
19050 cat confdefs.h
>>conftest.
$ac_ext
19051 cat >>conftest.
$ac_ext <<_ACEOF
19052 /* end confdefs.h. */
19054 class Foo { public: explicit Foo(int) {} };
19055 static void TakeFoo(const Foo& foo) { }
19068 rm -f conftest.
$ac_objext
19069 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19070 (eval $ac_compile) 2>conftest.er1
19072 grep -v '^ *+' conftest.er1
>conftest.err
19074 cat conftest.err
>&5
19075 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19076 (exit $ac_status); } &&
19077 { ac_try
='test -z "$ac_cxx_werror_flag"
19078 || test ! -s conftest.err'
19079 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19080 (eval $ac_try) 2>&5
19082 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19083 (exit $ac_status); }; } &&
19084 { ac_try
='test -s conftest.$ac_objext'
19085 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19086 (eval $ac_try) 2>&5
19088 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19089 (exit $ac_status); }; }; then
19092 echo "$as_me: failed program was:" >&5
19093 sed 's/^/| /' conftest.
$ac_ext >&5
19098 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19101 echo "$as_me: failed program was:" >&5
19102 sed 's/^/| /' conftest.
$ac_ext >&5
19107 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19110 ac_cpp
='$CPP $CPPFLAGS'
19111 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19112 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19113 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
19117 echo "$as_me:$LINENO: result: $wx_cv_explicit" >&5
19118 echo "${ECHO_T}$wx_cv_explicit" >&6
19120 if test "$wx_cv_explicit" = "yes"; then
19121 cat >>confdefs.h
<<\_ACEOF
19122 #define HAVE_EXPLICIT 1
19128 echo "$as_me:$LINENO: checking whether the compiler supports const_cast<>" >&5
19129 echo $ECHO_N "checking whether the compiler supports const_cast<>... $ECHO_C" >&6
19130 if test "${ac_cv_cxx_const_cast+set}" = set; then
19131 echo $ECHO_N "(cached) $ECHO_C" >&6
19136 ac_cpp
='$CXXCPP $CPPFLAGS'
19137 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19138 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19139 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
19141 cat >conftest.
$ac_ext <<_ACEOF
19144 cat confdefs.h
>>conftest.
$ac_ext
19145 cat >>conftest.
$ac_ext <<_ACEOF
19146 /* end confdefs.h. */
19151 int x = 0;const int& y = x;int& z = const_cast<int&>(y);return z;
19156 rm -f conftest.
$ac_objext
19157 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19158 (eval $ac_compile) 2>conftest.er1
19160 grep -v '^ *+' conftest.er1
>conftest.err
19162 cat conftest.err
>&5
19163 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19164 (exit $ac_status); } &&
19165 { ac_try
='test -z "$ac_cxx_werror_flag"
19166 || test ! -s conftest.err'
19167 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19168 (eval $ac_try) 2>&5
19170 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19171 (exit $ac_status); }; } &&
19172 { ac_try
='test -s conftest.$ac_objext'
19173 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19174 (eval $ac_try) 2>&5
19176 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19177 (exit $ac_status); }; }; then
19178 ac_cv_cxx_const_cast
=yes
19180 echo "$as_me: failed program was:" >&5
19181 sed 's/^/| /' conftest.
$ac_ext >&5
19183 ac_cv_cxx_const_cast
=no
19185 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19187 ac_cpp
='$CPP $CPPFLAGS'
19188 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19189 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19190 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
19194 echo "$as_me:$LINENO: result: $ac_cv_cxx_const_cast" >&5
19195 echo "${ECHO_T}$ac_cv_cxx_const_cast" >&6
19196 if test "$ac_cv_cxx_const_cast" = yes; then
19198 cat >>confdefs.h
<<\_ACEOF
19199 #define HAVE_CONST_CAST
19204 echo "$as_me:$LINENO: checking whether the compiler supports static_cast<>" >&5
19205 echo $ECHO_N "checking whether the compiler supports static_cast<>... $ECHO_C" >&6
19206 if test "${ac_cv_cxx_static_cast+set}" = set; then
19207 echo $ECHO_N "(cached) $ECHO_C" >&6
19212 ac_cpp
='$CXXCPP $CPPFLAGS'
19213 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19214 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19215 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
19217 cat >conftest.
$ac_ext <<_ACEOF
19220 cat confdefs.h
>>conftest.
$ac_ext
19221 cat >>conftest.
$ac_ext <<_ACEOF
19222 /* end confdefs.h. */
19223 #include <typeinfo>
19224 class Base { public : Base () {} virtual void f () = 0; };
19225 class Derived : public Base { public : Derived () {} virtual void f () {} };
19226 int g (Derived&) { return 0; }
19231 Derived d; Base& b = d; Derived& s = static_cast<Derived&> (b); return g (s);
19236 rm -f conftest.
$ac_objext
19237 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19238 (eval $ac_compile) 2>conftest.er1
19240 grep -v '^ *+' conftest.er1
>conftest.err
19242 cat conftest.err
>&5
19243 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19244 (exit $ac_status); } &&
19245 { ac_try
='test -z "$ac_cxx_werror_flag"
19246 || test ! -s conftest.err'
19247 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19248 (eval $ac_try) 2>&5
19250 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19251 (exit $ac_status); }; } &&
19252 { ac_try
='test -s conftest.$ac_objext'
19253 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19254 (eval $ac_try) 2>&5
19256 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19257 (exit $ac_status); }; }; then
19258 ac_cv_cxx_static_cast
=yes
19260 echo "$as_me: failed program was:" >&5
19261 sed 's/^/| /' conftest.
$ac_ext >&5
19263 ac_cv_cxx_static_cast
=no
19265 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19267 ac_cpp
='$CPP $CPPFLAGS'
19268 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19269 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19270 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
19274 echo "$as_me:$LINENO: result: $ac_cv_cxx_static_cast" >&5
19275 echo "${ECHO_T}$ac_cv_cxx_static_cast" >&6
19276 if test "$ac_cv_cxx_static_cast" = yes; then
19278 cat >>confdefs.h
<<\_ACEOF
19279 #define HAVE_STATIC_CAST
19285 if test "$wxUSE_STL" = "yes"; then
19287 ac_cpp
='$CXXCPP $CPPFLAGS'
19288 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19289 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19290 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
19293 echo "$as_me:$LINENO: checking for basic STL functionality" >&5
19294 echo $ECHO_N "checking for basic STL functionality... $ECHO_C" >&6
19295 cat >conftest.
$ac_ext <<_ACEOF
19298 cat confdefs.h
>>conftest.
$ac_ext
19299 cat >>conftest.
$ac_ext <<_ACEOF
19300 /* end confdefs.h. */
19302 #include <functional>
19303 #include <algorithm>
19309 std::vector<int> moo;
19310 std::list<int> foo;
19311 std::vector<int>::iterator it =
19312 std::find_if(moo.begin(), moo.end(),
19313 std::bind2nd(std::less<int>(), 3));
19318 rm -f conftest.
$ac_objext
19319 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19320 (eval $ac_compile) 2>conftest.er1
19322 grep -v '^ *+' conftest.er1
>conftest.err
19324 cat conftest.err
>&5
19325 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19326 (exit $ac_status); } &&
19327 { ac_try
='test -z "$ac_cxx_werror_flag"
19328 || test ! -s conftest.err'
19329 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19330 (eval $ac_try) 2>&5
19332 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19333 (exit $ac_status); }; } &&
19334 { ac_try
='test -s conftest.$ac_objext'
19335 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19336 (eval $ac_try) 2>&5
19338 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19339 (exit $ac_status); }; }; then
19340 echo "$as_me:$LINENO: result: yes" >&5
19341 echo "${ECHO_T}yes" >&6
19343 echo "$as_me: failed program was:" >&5
19344 sed 's/^/| /' conftest.
$ac_ext >&5
19346 echo "$as_me:$LINENO: result: no" >&5
19347 echo "${ECHO_T}no" >&6
19348 { { echo "$as_me:$LINENO: error: Basic STL functionality missing" >&5
19349 echo "$as_me: error: Basic STL functionality missing" >&2;}
19350 { (exit 1); exit 1; }; }
19352 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19354 echo "$as_me:$LINENO: checking for std::wstring in <string>" >&5
19355 echo $ECHO_N "checking for std::wstring in <string>... $ECHO_C" >&6
19356 cat >conftest.
$ac_ext <<_ACEOF
19359 cat confdefs.h
>>conftest.
$ac_ext
19360 cat >>conftest.
$ac_ext <<_ACEOF
19361 /* end confdefs.h. */
19371 rm -f conftest.
$ac_objext
19372 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19373 (eval $ac_compile) 2>conftest.er1
19375 grep -v '^ *+' conftest.er1
>conftest.err
19377 cat conftest.err
>&5
19378 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19379 (exit $ac_status); } &&
19380 { ac_try
='test -z "$ac_cxx_werror_flag"
19381 || test ! -s conftest.err'
19382 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19383 (eval $ac_try) 2>&5
19385 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19386 (exit $ac_status); }; } &&
19387 { ac_try
='test -s conftest.$ac_objext'
19388 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19389 (eval $ac_try) 2>&5
19391 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19392 (exit $ac_status); }; }; then
19393 echo "$as_me:$LINENO: result: yes" >&5
19394 echo "${ECHO_T}yes" >&6
19395 cat >>confdefs.h
<<\_ACEOF
19396 #define HAVE_STD_WSTRING 1
19400 echo "$as_me: failed program was:" >&5
19401 sed 's/^/| /' conftest.
$ac_ext >&5
19403 echo "$as_me:$LINENO: result: no" >&5
19404 echo "${ECHO_T}no" >&6
19406 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19408 echo "$as_me:$LINENO: checking for compliant std::string::compare" >&5
19409 echo $ECHO_N "checking for compliant std::string::compare... $ECHO_C" >&6
19410 cat >conftest.
$ac_ext <<_ACEOF
19413 cat confdefs.h
>>conftest.
$ac_ext
19414 cat >>conftest.
$ac_ext <<_ACEOF
19415 /* end confdefs.h. */
19420 std::string foo, bar;
19422 foo.compare(1, 1, bar);
19423 foo.compare(1, 1, bar, 1, 1);
19425 foo.compare(1, 1, "");
19426 foo.compare(1, 1, "", 2);
19431 rm -f conftest.
$ac_objext
19432 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19433 (eval $ac_compile) 2>conftest.er1
19435 grep -v '^ *+' conftest.er1
>conftest.err
19437 cat conftest.err
>&5
19438 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19439 (exit $ac_status); } &&
19440 { ac_try
='test -z "$ac_cxx_werror_flag"
19441 || test ! -s conftest.err'
19442 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19443 (eval $ac_try) 2>&5
19445 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19446 (exit $ac_status); }; } &&
19447 { ac_try
='test -s conftest.$ac_objext'
19448 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19449 (eval $ac_try) 2>&5
19451 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19452 (exit $ac_status); }; }; then
19453 echo "$as_me:$LINENO: result: yes" >&5
19454 echo "${ECHO_T}yes" >&6
19455 cat >>confdefs.h
<<\_ACEOF
19456 #define HAVE_STD_STRING_COMPARE 1
19460 echo "$as_me: failed program was:" >&5
19461 sed 's/^/| /' conftest.
$ac_ext >&5
19463 echo "$as_me:$LINENO: result: no" >&5
19464 echo "${ECHO_T}no" >&6
19466 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19468 if test "${ac_cv_header_hash_map+set}" = set; then
19469 echo "$as_me:$LINENO: checking for hash_map" >&5
19470 echo $ECHO_N "checking for hash_map... $ECHO_C" >&6
19471 if test "${ac_cv_header_hash_map+set}" = set; then
19472 echo $ECHO_N "(cached) $ECHO_C" >&6
19474 echo "$as_me:$LINENO: result: $ac_cv_header_hash_map" >&5
19475 echo "${ECHO_T}$ac_cv_header_hash_map" >&6
19477 # Is the header compilable?
19478 echo "$as_me:$LINENO: checking hash_map usability" >&5
19479 echo $ECHO_N "checking hash_map usability... $ECHO_C" >&6
19480 cat >conftest.
$ac_ext <<_ACEOF
19483 cat confdefs.h
>>conftest.
$ac_ext
19484 cat >>conftest.
$ac_ext <<_ACEOF
19485 /* end confdefs.h. */
19486 $ac_includes_default
19487 #include <hash_map>
19489 rm -f conftest.
$ac_objext
19490 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19491 (eval $ac_compile) 2>conftest.er1
19493 grep -v '^ *+' conftest.er1
>conftest.err
19495 cat conftest.err
>&5
19496 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19497 (exit $ac_status); } &&
19498 { ac_try
='test -z "$ac_cxx_werror_flag"
19499 || test ! -s conftest.err'
19500 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19501 (eval $ac_try) 2>&5
19503 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19504 (exit $ac_status); }; } &&
19505 { ac_try
='test -s conftest.$ac_objext'
19506 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19507 (eval $ac_try) 2>&5
19509 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19510 (exit $ac_status); }; }; then
19511 ac_header_compiler
=yes
19513 echo "$as_me: failed program was:" >&5
19514 sed 's/^/| /' conftest.
$ac_ext >&5
19516 ac_header_compiler
=no
19518 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19519 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
19520 echo "${ECHO_T}$ac_header_compiler" >&6
19522 # Is the header present?
19523 echo "$as_me:$LINENO: checking hash_map presence" >&5
19524 echo $ECHO_N "checking hash_map presence... $ECHO_C" >&6
19525 cat >conftest.
$ac_ext <<_ACEOF
19528 cat confdefs.h
>>conftest.
$ac_ext
19529 cat >>conftest.
$ac_ext <<_ACEOF
19530 /* end confdefs.h. */
19531 #include <hash_map>
19533 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
19534 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
19536 grep -v '^ *+' conftest.er1
>conftest.err
19538 cat conftest.err
>&5
19539 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19540 (exit $ac_status); } >/dev
/null
; then
19541 if test -s conftest.err
; then
19542 ac_cpp_err
=$ac_cxx_preproc_warn_flag
19543 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
19550 if test -z "$ac_cpp_err"; then
19551 ac_header_preproc
=yes
19553 echo "$as_me: failed program was:" >&5
19554 sed 's/^/| /' conftest.
$ac_ext >&5
19556 ac_header_preproc
=no
19558 rm -f conftest.err conftest.
$ac_ext
19559 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
19560 echo "${ECHO_T}$ac_header_preproc" >&6
19562 # So? What about this header?
19563 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
19565 { echo "$as_me:$LINENO: WARNING: hash_map: accepted by the compiler, rejected by the preprocessor!" >&5
19566 echo "$as_me: WARNING: hash_map: accepted by the compiler, rejected by the preprocessor!" >&2;}
19567 { echo "$as_me:$LINENO: WARNING: hash_map: proceeding with the compiler's result" >&5
19568 echo "$as_me: WARNING: hash_map: proceeding with the compiler's result" >&2;}
19569 ac_header_preproc
=yes
19572 { echo "$as_me:$LINENO: WARNING: hash_map: present but cannot be compiled" >&5
19573 echo "$as_me: WARNING: hash_map: present but cannot be compiled" >&2;}
19574 { echo "$as_me:$LINENO: WARNING: hash_map: check for missing prerequisite headers?" >&5
19575 echo "$as_me: WARNING: hash_map: check for missing prerequisite headers?" >&2;}
19576 { echo "$as_me:$LINENO: WARNING: hash_map: see the Autoconf documentation" >&5
19577 echo "$as_me: WARNING: hash_map: see the Autoconf documentation" >&2;}
19578 { echo "$as_me:$LINENO: WARNING: hash_map: section \"Present But Cannot Be Compiled\"" >&5
19579 echo "$as_me: WARNING: hash_map: section \"Present But Cannot Be Compiled\"" >&2;}
19580 { echo "$as_me:$LINENO: WARNING: hash_map: proceeding with the preprocessor's result" >&5
19581 echo "$as_me: WARNING: hash_map: proceeding with the preprocessor's result" >&2;}
19582 { echo "$as_me:$LINENO: WARNING: hash_map: in the future, the compiler will take precedence" >&5
19583 echo "$as_me: WARNING: hash_map: in the future, the compiler will take precedence" >&2;}
19586 ## ----------------------------------------- ##
19587 ## Report this to wx-dev@lists.wxwidgets.org ##
19588 ## ----------------------------------------- ##
19591 sed "s/^/$as_me: WARNING: /" >&2
19594 echo "$as_me:$LINENO: checking for hash_map" >&5
19595 echo $ECHO_N "checking for hash_map... $ECHO_C" >&6
19596 if test "${ac_cv_header_hash_map+set}" = set; then
19597 echo $ECHO_N "(cached) $ECHO_C" >&6
19599 ac_cv_header_hash_map
=$ac_header_preproc
19601 echo "$as_me:$LINENO: result: $ac_cv_header_hash_map" >&5
19602 echo "${ECHO_T}$ac_cv_header_hash_map" >&6
19605 if test $ac_cv_header_hash_map = yes; then
19606 echo "$as_me:$LINENO: checking for hash_map and hash_set" >&5
19607 echo $ECHO_N "checking for hash_map and hash_set... $ECHO_C" >&6
19608 cat >conftest.
$ac_ext <<_ACEOF
19611 cat confdefs.h
>>conftest.
$ac_ext
19612 cat >>conftest.
$ac_ext <<_ACEOF
19613 /* end confdefs.h. */
19614 #include <hash_map>
19615 #include <hash_set>
19619 std::hash_map<double*, char*, std::hash<double*>, std::equal_to<double*> > test1;
19620 std::hash_set<char*, std::hash<char*>, std::equal_to<char*> > test2;
19625 rm -f conftest.
$ac_objext
19626 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19627 (eval $ac_compile) 2>conftest.er1
19629 grep -v '^ *+' conftest.er1
>conftest.err
19631 cat conftest.err
>&5
19632 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19633 (exit $ac_status); } &&
19634 { ac_try
='test -z "$ac_cxx_werror_flag"
19635 || test ! -s conftest.err'
19636 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19637 (eval $ac_try) 2>&5
19639 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19640 (exit $ac_status); }; } &&
19641 { ac_try
='test -s conftest.$ac_objext'
19642 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19643 (eval $ac_try) 2>&5
19645 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19646 (exit $ac_status); }; }; then
19647 echo "$as_me:$LINENO: result: yes" >&5
19648 echo "${ECHO_T}yes" >&6
19649 cat >>confdefs.h
<<\_ACEOF
19650 #define HAVE_HASH_MAP 1
19653 cat >>confdefs.h
<<\_ACEOF
19654 #define HAVE_STD_HASH_MAP 1
19658 echo "$as_me: failed program was:" >&5
19659 sed 's/^/| /' conftest.
$ac_ext >&5
19661 echo "$as_me:$LINENO: result: no" >&5
19662 echo "${ECHO_T}no" >&6
19664 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19670 if test "${ac_cv_header_ext_hash_map+set}" = set; then
19671 echo "$as_me:$LINENO: checking for ext/hash_map" >&5
19672 echo $ECHO_N "checking for ext/hash_map... $ECHO_C" >&6
19673 if test "${ac_cv_header_ext_hash_map+set}" = set; then
19674 echo $ECHO_N "(cached) $ECHO_C" >&6
19676 echo "$as_me:$LINENO: result: $ac_cv_header_ext_hash_map" >&5
19677 echo "${ECHO_T}$ac_cv_header_ext_hash_map" >&6
19679 # Is the header compilable?
19680 echo "$as_me:$LINENO: checking ext/hash_map usability" >&5
19681 echo $ECHO_N "checking ext/hash_map usability... $ECHO_C" >&6
19682 cat >conftest.
$ac_ext <<_ACEOF
19685 cat confdefs.h
>>conftest.
$ac_ext
19686 cat >>conftest.
$ac_ext <<_ACEOF
19687 /* end confdefs.h. */
19688 $ac_includes_default
19689 #include <ext/hash_map>
19691 rm -f conftest.
$ac_objext
19692 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19693 (eval $ac_compile) 2>conftest.er1
19695 grep -v '^ *+' conftest.er1
>conftest.err
19697 cat conftest.err
>&5
19698 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19699 (exit $ac_status); } &&
19700 { ac_try
='test -z "$ac_cxx_werror_flag"
19701 || test ! -s conftest.err'
19702 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19703 (eval $ac_try) 2>&5
19705 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19706 (exit $ac_status); }; } &&
19707 { ac_try
='test -s conftest.$ac_objext'
19708 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19709 (eval $ac_try) 2>&5
19711 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19712 (exit $ac_status); }; }; then
19713 ac_header_compiler
=yes
19715 echo "$as_me: failed program was:" >&5
19716 sed 's/^/| /' conftest.
$ac_ext >&5
19718 ac_header_compiler
=no
19720 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19721 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
19722 echo "${ECHO_T}$ac_header_compiler" >&6
19724 # Is the header present?
19725 echo "$as_me:$LINENO: checking ext/hash_map presence" >&5
19726 echo $ECHO_N "checking ext/hash_map presence... $ECHO_C" >&6
19727 cat >conftest.
$ac_ext <<_ACEOF
19730 cat confdefs.h
>>conftest.
$ac_ext
19731 cat >>conftest.
$ac_ext <<_ACEOF
19732 /* end confdefs.h. */
19733 #include <ext/hash_map>
19735 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
19736 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
19738 grep -v '^ *+' conftest.er1
>conftest.err
19740 cat conftest.err
>&5
19741 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19742 (exit $ac_status); } >/dev
/null
; then
19743 if test -s conftest.err
; then
19744 ac_cpp_err
=$ac_cxx_preproc_warn_flag
19745 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
19752 if test -z "$ac_cpp_err"; then
19753 ac_header_preproc
=yes
19755 echo "$as_me: failed program was:" >&5
19756 sed 's/^/| /' conftest.
$ac_ext >&5
19758 ac_header_preproc
=no
19760 rm -f conftest.err conftest.
$ac_ext
19761 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
19762 echo "${ECHO_T}$ac_header_preproc" >&6
19764 # So? What about this header?
19765 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
19767 { echo "$as_me:$LINENO: WARNING: ext/hash_map: accepted by the compiler, rejected by the preprocessor!" >&5
19768 echo "$as_me: WARNING: ext/hash_map: accepted by the compiler, rejected by the preprocessor!" >&2;}
19769 { echo "$as_me:$LINENO: WARNING: ext/hash_map: proceeding with the compiler's result" >&5
19770 echo "$as_me: WARNING: ext/hash_map: proceeding with the compiler's result" >&2;}
19771 ac_header_preproc
=yes
19774 { echo "$as_me:$LINENO: WARNING: ext/hash_map: present but cannot be compiled" >&5
19775 echo "$as_me: WARNING: ext/hash_map: present but cannot be compiled" >&2;}
19776 { echo "$as_me:$LINENO: WARNING: ext/hash_map: check for missing prerequisite headers?" >&5
19777 echo "$as_me: WARNING: ext/hash_map: check for missing prerequisite headers?" >&2;}
19778 { echo "$as_me:$LINENO: WARNING: ext/hash_map: see the Autoconf documentation" >&5
19779 echo "$as_me: WARNING: ext/hash_map: see the Autoconf documentation" >&2;}
19780 { echo "$as_me:$LINENO: WARNING: ext/hash_map: section \"Present But Cannot Be Compiled\"" >&5
19781 echo "$as_me: WARNING: ext/hash_map: section \"Present But Cannot Be Compiled\"" >&2;}
19782 { echo "$as_me:$LINENO: WARNING: ext/hash_map: proceeding with the preprocessor's result" >&5
19783 echo "$as_me: WARNING: ext/hash_map: proceeding with the preprocessor's result" >&2;}
19784 { echo "$as_me:$LINENO: WARNING: ext/hash_map: in the future, the compiler will take precedence" >&5
19785 echo "$as_me: WARNING: ext/hash_map: in the future, the compiler will take precedence" >&2;}
19788 ## ----------------------------------------- ##
19789 ## Report this to wx-dev@lists.wxwidgets.org ##
19790 ## ----------------------------------------- ##
19793 sed "s/^/$as_me: WARNING: /" >&2
19796 echo "$as_me:$LINENO: checking for ext/hash_map" >&5
19797 echo $ECHO_N "checking for ext/hash_map... $ECHO_C" >&6
19798 if test "${ac_cv_header_ext_hash_map+set}" = set; then
19799 echo $ECHO_N "(cached) $ECHO_C" >&6
19801 ac_cv_header_ext_hash_map
=$ac_header_preproc
19803 echo "$as_me:$LINENO: result: $ac_cv_header_ext_hash_map" >&5
19804 echo "${ECHO_T}$ac_cv_header_ext_hash_map" >&6
19807 if test $ac_cv_header_ext_hash_map = yes; then
19808 echo "$as_me:$LINENO: checking for hash_map and hash_set" >&5
19809 echo $ECHO_N "checking for hash_map and hash_set... $ECHO_C" >&6
19810 cat >conftest.
$ac_ext <<_ACEOF
19813 cat confdefs.h
>>conftest.
$ac_ext
19814 cat >>conftest.
$ac_ext <<_ACEOF
19815 /* end confdefs.h. */
19816 #include <ext/hash_map>
19817 #include <ext/hash_set>
19821 __gnu_cxx::hash_map<double*, char*, __gnu_cxx::hash<double*>, std::equal_to<double*> > test1;
19822 __gnu_cxx::hash_set<char*, __gnu_cxx::hash<char*>, std::equal_to<char*> > test2;
19827 rm -f conftest.
$ac_objext
19828 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19829 (eval $ac_compile) 2>conftest.er1
19831 grep -v '^ *+' conftest.er1
>conftest.err
19833 cat conftest.err
>&5
19834 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19835 (exit $ac_status); } &&
19836 { ac_try
='test -z "$ac_cxx_werror_flag"
19837 || test ! -s conftest.err'
19838 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19839 (eval $ac_try) 2>&5
19841 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19842 (exit $ac_status); }; } &&
19843 { ac_try
='test -s conftest.$ac_objext'
19844 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19845 (eval $ac_try) 2>&5
19847 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19848 (exit $ac_status); }; }; then
19849 echo "$as_me:$LINENO: result: yes" >&5
19850 echo "${ECHO_T}yes" >&6
19851 cat >>confdefs.h
<<\_ACEOF
19852 #define HAVE_EXT_HASH_MAP 1
19855 cat >>confdefs.h
<<\_ACEOF
19856 #define HAVE_GNU_CXX_HASH_MAP 1
19860 echo "$as_me: failed program was:" >&5
19861 sed 's/^/| /' conftest.
$ac_ext >&5
19863 echo "$as_me:$LINENO: result: no" >&5
19864 echo "${ECHO_T}no" >&6
19866 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19873 ac_cpp
='$CPP $CPPFLAGS'
19874 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19875 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19876 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
19882 /usr/local/include \
19884 /usr/Motif-2.1/include \
19885 /usr/Motif-1.2/include \
19886 /usr/include/Motif1.2 \
19887 /opt/xpm/include/X11 \
19888 /opt/GBxpm/include/ \
19889 /opt/GBxpm/X11/include/ \
19892 /usr/openwin/include \
19896 /usr/X11R6/include \
19897 /usr/X11R6.4/include \
19898 /usr/X11R5/include \
19899 /usr/X11R4/include \
19901 /usr/include/X11R6 \
19902 /usr/include/X11R5 \
19903 /usr/include/X11R4 \
19905 /usr/local/X11R6/include \
19906 /usr/local/X11R5/include \
19907 /usr/local/X11R4/include \
19909 /usr/local/include/X11R6 \
19910 /usr/local/include/X11R5 \
19911 /usr/local/include/X11R4 \
19915 /usr/local/X11/include \
19916 /usr/local/include/X11 \
19918 /usr/X386/include \
19919 /usr/x386/include \
19920 /usr/XFree86/include/X11 \
19922 X:/XFree86/include \
19923 X:/XFree86/include/X11 \
19926 /usr/local/include/gtk \
19927 /usr/include/glib \
19928 /usr/local/include/glib \
19931 /usr/local/include/qt \
19933 /usr/local/arm/3.3.2/include \
19935 /usr/include/windows \
19936 /usr/include/wine \
19937 /usr/local/include/wine \
19939 /usr/unsupported/include \
19940 /usr/athena/include \
19941 /usr/local/x11r5/include \
19942 /usr/lpp/Xamples/include \
19944 /usr/openwin/share/include"
19946 SEARCH_LIB
="/usr/lib /usr/lib32 `echo "$SEARCH_INCLUDE" | sed s/include/lib/g` /usr/lib64 /usr/X11R6/lib64"
19949 cat >confcache
<<\_ACEOF
19950 # This file is a shell script that caches the results of configure
19951 # tests run on this system so they can be shared between configure
19952 # scripts and configure runs, see configure's option --config-cache.
19953 # It is not useful on other systems. If it contains results you don't
19954 # want to keep, you may remove or edit it.
19956 # config.status only pays attention to the cache file if you give it
19957 # the --recheck option to rerun configure.
19959 # `ac_cv_env_foo' variables (set or unset) will be overridden when
19960 # loading this file, other *unset* `ac_cv_foo' will be assigned the
19961 # following values.
19965 # The following way of writing the cache mishandles newlines in values,
19966 # but we know of no workaround that is simple, portable, and efficient.
19967 # So, don't put newlines in cache variables' values.
19968 # Ultrix sh set writes to stderr and can't be redirected directly,
19969 # and sets the high bit in the cache file unless we assign to the vars.
19972 case `(ac_space=' '; set | grep ac_space) 2>&1` in
19974 # `set' does not quote correctly, so add quotes (double-quote
19975 # substitution turns \\\\ into \\, and sed turns \\ into \).
19978 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
19981 # `set' quotes correctly as required by POSIX, so do not add quotes.
19983 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
19990 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
19992 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
19994 if diff $cache_file confcache
>/dev
/null
2>&1; then :; else
19995 if test -w $cache_file; then
19996 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
19997 cat confcache
>$cache_file
19999 echo "not updating unwritable cache $cache_file"
20004 if test "$USE_LINUX" = 1 -o "$USE_GNU" = 1; then
20005 echo "$as_me:$LINENO: checking for glibc 2.1 or later" >&5
20006 echo $ECHO_N "checking for glibc 2.1 or later... $ECHO_C" >&6
20007 if test "${wx_cv_lib_glibc21+set}" = set; then
20008 echo $ECHO_N "(cached) $ECHO_C" >&6
20011 cat >conftest.
$ac_ext <<_ACEOF
20014 cat confdefs.h
>>conftest.
$ac_ext
20015 cat >>conftest.
$ac_ext <<_ACEOF
20016 /* end confdefs.h. */
20017 #include <features.h>
20022 #if (__GLIBC__ < 2) || (__GLIBC_MINOR__ < 1)
20023 #error not glibc2.1
20030 rm -f conftest.
$ac_objext
20031 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20032 (eval $ac_compile) 2>conftest.er1
20034 grep -v '^ *+' conftest.er1
>conftest.err
20036 cat conftest.err
>&5
20037 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20038 (exit $ac_status); } &&
20039 { ac_try
='test -z "$ac_c_werror_flag"
20040 || test ! -s conftest.err'
20041 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20042 (eval $ac_try) 2>&5
20044 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20045 (exit $ac_status); }; } &&
20046 { ac_try
='test -s conftest.$ac_objext'
20047 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20048 (eval $ac_try) 2>&5
20050 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20051 (exit $ac_status); }; }; then
20053 wx_cv_lib_glibc21
=yes
20056 echo "$as_me: failed program was:" >&5
20057 sed 's/^/| /' conftest.
$ac_ext >&5
20060 wx_cv_lib_glibc21
=no
20064 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20067 echo "$as_me:$LINENO: result: $wx_cv_lib_glibc21" >&5
20068 echo "${ECHO_T}$wx_cv_lib_glibc21" >&6
20069 if test "$wx_cv_lib_glibc21" = "yes"; then
20070 cat >>confdefs.h
<<\_ACEOF
20071 #define wxHAVE_GLIBC2 1
20077 if test "x$wx_cv_lib_glibc21" = "xyes"; then
20078 if test "$wxUSE_UNICODE" = "yes" -o "$wxUSE_THREADS" = "yes"; then
20079 cat >>confdefs.h
<<\_ACEOF
20080 #define _GNU_SOURCE 1
20088 if test "$wxUSE_REGEX" != "no"; then
20089 cat >>confdefs.h
<<\_ACEOF
20090 #define wxUSE_REGEX 1
20094 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_REGEX" = "yes"; then
20095 { echo "$as_me:$LINENO: WARNING: Defaulting to the the builtin regex library for Unicode build." >&5
20096 echo "$as_me: WARNING: Defaulting to the the builtin regex library for Unicode build." >&2;}
20097 wxUSE_REGEX
=builtin
20100 if test "$wxUSE_REGEX" = "sys" -o "$wxUSE_REGEX" = "yes" ; then
20101 if test "${ac_cv_header_regex_h+set}" = set; then
20102 echo "$as_me:$LINENO: checking for regex.h" >&5
20103 echo $ECHO_N "checking for regex.h... $ECHO_C" >&6
20104 if test "${ac_cv_header_regex_h+set}" = set; then
20105 echo $ECHO_N "(cached) $ECHO_C" >&6
20107 echo "$as_me:$LINENO: result: $ac_cv_header_regex_h" >&5
20108 echo "${ECHO_T}$ac_cv_header_regex_h" >&6
20110 # Is the header compilable?
20111 echo "$as_me:$LINENO: checking regex.h usability" >&5
20112 echo $ECHO_N "checking regex.h usability... $ECHO_C" >&6
20113 cat >conftest.
$ac_ext <<_ACEOF
20116 cat confdefs.h
>>conftest.
$ac_ext
20117 cat >>conftest.
$ac_ext <<_ACEOF
20118 /* end confdefs.h. */
20119 $ac_includes_default
20122 rm -f conftest.
$ac_objext
20123 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20124 (eval $ac_compile) 2>conftest.er1
20126 grep -v '^ *+' conftest.er1
>conftest.err
20128 cat conftest.err
>&5
20129 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20130 (exit $ac_status); } &&
20131 { ac_try
='test -z "$ac_c_werror_flag"
20132 || test ! -s conftest.err'
20133 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20134 (eval $ac_try) 2>&5
20136 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20137 (exit $ac_status); }; } &&
20138 { ac_try
='test -s conftest.$ac_objext'
20139 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20140 (eval $ac_try) 2>&5
20142 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20143 (exit $ac_status); }; }; then
20144 ac_header_compiler
=yes
20146 echo "$as_me: failed program was:" >&5
20147 sed 's/^/| /' conftest.
$ac_ext >&5
20149 ac_header_compiler
=no
20151 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20152 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
20153 echo "${ECHO_T}$ac_header_compiler" >&6
20155 # Is the header present?
20156 echo "$as_me:$LINENO: checking regex.h presence" >&5
20157 echo $ECHO_N "checking regex.h presence... $ECHO_C" >&6
20158 cat >conftest.
$ac_ext <<_ACEOF
20161 cat confdefs.h
>>conftest.
$ac_ext
20162 cat >>conftest.
$ac_ext <<_ACEOF
20163 /* end confdefs.h. */
20166 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
20167 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
20169 grep -v '^ *+' conftest.er1
>conftest.err
20171 cat conftest.err
>&5
20172 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20173 (exit $ac_status); } >/dev
/null
; then
20174 if test -s conftest.err
; then
20175 ac_cpp_err
=$ac_c_preproc_warn_flag
20176 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
20183 if test -z "$ac_cpp_err"; then
20184 ac_header_preproc
=yes
20186 echo "$as_me: failed program was:" >&5
20187 sed 's/^/| /' conftest.
$ac_ext >&5
20189 ac_header_preproc
=no
20191 rm -f conftest.err conftest.
$ac_ext
20192 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
20193 echo "${ECHO_T}$ac_header_preproc" >&6
20195 # So? What about this header?
20196 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
20198 { echo "$as_me:$LINENO: WARNING: regex.h: accepted by the compiler, rejected by the preprocessor!" >&5
20199 echo "$as_me: WARNING: regex.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
20200 { echo "$as_me:$LINENO: WARNING: regex.h: proceeding with the compiler's result" >&5
20201 echo "$as_me: WARNING: regex.h: proceeding with the compiler's result" >&2;}
20202 ac_header_preproc
=yes
20205 { echo "$as_me:$LINENO: WARNING: regex.h: present but cannot be compiled" >&5
20206 echo "$as_me: WARNING: regex.h: present but cannot be compiled" >&2;}
20207 { echo "$as_me:$LINENO: WARNING: regex.h: check for missing prerequisite headers?" >&5
20208 echo "$as_me: WARNING: regex.h: check for missing prerequisite headers?" >&2;}
20209 { echo "$as_me:$LINENO: WARNING: regex.h: see the Autoconf documentation" >&5
20210 echo "$as_me: WARNING: regex.h: see the Autoconf documentation" >&2;}
20211 { echo "$as_me:$LINENO: WARNING: regex.h: section \"Present But Cannot Be Compiled\"" >&5
20212 echo "$as_me: WARNING: regex.h: section \"Present But Cannot Be Compiled\"" >&2;}
20213 { echo "$as_me:$LINENO: WARNING: regex.h: proceeding with the preprocessor's result" >&5
20214 echo "$as_me: WARNING: regex.h: proceeding with the preprocessor's result" >&2;}
20215 { echo "$as_me:$LINENO: WARNING: regex.h: in the future, the compiler will take precedence" >&5
20216 echo "$as_me: WARNING: regex.h: in the future, the compiler will take precedence" >&2;}
20219 ## ----------------------------------------- ##
20220 ## Report this to wx-dev@lists.wxwidgets.org ##
20221 ## ----------------------------------------- ##
20224 sed "s/^/$as_me: WARNING: /" >&2
20227 echo "$as_me:$LINENO: checking for regex.h" >&5
20228 echo $ECHO_N "checking for regex.h... $ECHO_C" >&6
20229 if test "${ac_cv_header_regex_h+set}" = set; then
20230 echo $ECHO_N "(cached) $ECHO_C" >&6
20232 ac_cv_header_regex_h
=$ac_header_preproc
20234 echo "$as_me:$LINENO: result: $ac_cv_header_regex_h" >&5
20235 echo "${ECHO_T}$ac_cv_header_regex_h" >&6
20238 if test $ac_cv_header_regex_h = yes; then
20240 for ac_func
in regcomp
20242 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
20243 echo "$as_me:$LINENO: checking for $ac_func" >&5
20244 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
20245 if eval "test \"\${$as_ac_var+set}\" = set"; then
20246 echo $ECHO_N "(cached) $ECHO_C" >&6
20248 cat >conftest.
$ac_ext <<_ACEOF
20251 cat confdefs.h
>>conftest.
$ac_ext
20252 cat >>conftest.
$ac_ext <<_ACEOF
20253 /* end confdefs.h. */
20254 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
20255 For example, HP-UX 11i <limits.h> declares gettimeofday. */
20256 #define $ac_func innocuous_$ac_func
20258 /* System header to define __stub macros and hopefully few prototypes,
20259 which can conflict with char $ac_func (); below.
20260 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
20261 <limits.h> exists even on freestanding compilers. */
20264 # include <limits.h>
20266 # include <assert.h>
20271 /* Override any gcc2 internal prototype to avoid an error. */
20276 /* We use char because int might match the return type of a gcc2
20277 builtin and then its argument prototype would still apply. */
20279 /* The GNU C library defines this for functions which it implements
20280 to always fail with ENOSYS. Some functions are actually named
20281 something starting with __ and the normal name is an alias. */
20282 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
20285 char (*f) () = $ac_func;
20294 return f != $ac_func;
20299 rm -f conftest.
$ac_objext conftest
$ac_exeext
20300 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20301 (eval $ac_link) 2>conftest.er1
20303 grep -v '^ *+' conftest.er1
>conftest.err
20305 cat conftest.err
>&5
20306 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20307 (exit $ac_status); } &&
20308 { ac_try
='test -z "$ac_c_werror_flag"
20309 || test ! -s conftest.err'
20310 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20311 (eval $ac_try) 2>&5
20313 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20314 (exit $ac_status); }; } &&
20315 { ac_try
='test -s conftest$ac_exeext'
20316 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20317 (eval $ac_try) 2>&5
20319 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20320 (exit $ac_status); }; }; then
20321 eval "$as_ac_var=yes"
20323 echo "$as_me: failed program was:" >&5
20324 sed 's/^/| /' conftest.
$ac_ext >&5
20326 eval "$as_ac_var=no"
20328 rm -f conftest.err conftest.
$ac_objext \
20329 conftest
$ac_exeext conftest.
$ac_ext
20331 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
20332 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
20333 if test `eval echo '${'$as_ac_var'}'` = yes; then
20334 cat >>confdefs.h
<<_ACEOF
20335 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
20345 if test "x$ac_cv_func_regcomp" != "xyes"; then
20346 if test "$wxUSE_REGEX" = "sys" ; then
20347 { { echo "$as_me:$LINENO: error: system regex library not found! Use --with-regex to use built-in version" >&5
20348 echo "$as_me: error: system regex library not found! Use --with-regex to use built-in version" >&2;}
20349 { (exit 1); exit 1; }; }
20351 { echo "$as_me:$LINENO: WARNING: system regex library not found, will use built-in instead" >&5
20352 echo "$as_me: WARNING: system regex library not found, will use built-in instead" >&2;}
20353 wxUSE_REGEX
=builtin
20357 cat >>confdefs.h
<<\_ACEOF
20358 #define WX_NO_REGEX_ADVANCED 1
20367 if test "$wxUSE_ZLIB" != "no" ; then
20368 cat >>confdefs.h
<<\_ACEOF
20369 #define wxUSE_ZLIB 1
20373 if test "$wxUSE_ZLIB" = "sys" -o "$wxUSE_ZLIB" = "yes" ; then
20374 if test "$USE_DARWIN" = 1; then
20375 system_zlib_h_ok
="yes"
20377 echo "$as_me:$LINENO: checking for zlib.h >= 1.1.4" >&5
20378 echo $ECHO_N "checking for zlib.h >= 1.1.4... $ECHO_C" >&6
20379 if test "${ac_cv_header_zlib_h+set}" = set; then
20380 echo $ECHO_N "(cached) $ECHO_C" >&6
20382 if test "$cross_compiling" = yes; then
20383 unset ac_cv_header_zlib_h
20386 cat >conftest.
$ac_ext <<_ACEOF
20389 cat confdefs.h
>>conftest.
$ac_ext
20390 cat >>conftest.
$ac_ext <<_ACEOF
20391 /* end confdefs.h. */
20398 FILE *f=fopen("conftestval", "w");
20401 ZLIB_VERSION[0] == '1' &&
20402 (ZLIB_VERSION[2] > '1' ||
20403 (ZLIB_VERSION[2] == '1' &&
20404 ZLIB_VERSION[4] >= '4')) ? "yes" : "no");
20409 rm -f conftest
$ac_exeext
20410 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20411 (eval $ac_link) 2>&5
20413 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20414 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
20415 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20416 (eval $ac_try) 2>&5
20418 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20419 (exit $ac_status); }; }; then
20420 ac_cv_header_zlib_h
=`cat conftestval`
20422 echo "$as_me: program exited with status $ac_status" >&5
20423 echo "$as_me: failed program was:" >&5
20424 sed 's/^/| /' conftest.
$ac_ext >&5
20426 ( exit $ac_status )
20427 ac_cv_header_zlib_h
=no
20429 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
20433 echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
20434 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6
20435 if test "${ac_cv_header_zlib_h+set}" = set; then
20436 echo "$as_me:$LINENO: checking for zlib.h" >&5
20437 echo $ECHO_N "checking for zlib.h... $ECHO_C" >&6
20438 if test "${ac_cv_header_zlib_h+set}" = set; then
20439 echo $ECHO_N "(cached) $ECHO_C" >&6
20441 echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
20442 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6
20444 # Is the header compilable?
20445 echo "$as_me:$LINENO: checking zlib.h usability" >&5
20446 echo $ECHO_N "checking zlib.h usability... $ECHO_C" >&6
20447 cat >conftest.
$ac_ext <<_ACEOF
20450 cat confdefs.h
>>conftest.
$ac_ext
20451 cat >>conftest.
$ac_ext <<_ACEOF
20452 /* end confdefs.h. */
20453 $ac_includes_default
20456 rm -f conftest.
$ac_objext
20457 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20458 (eval $ac_compile) 2>conftest.er1
20460 grep -v '^ *+' conftest.er1
>conftest.err
20462 cat conftest.err
>&5
20463 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20464 (exit $ac_status); } &&
20465 { ac_try
='test -z "$ac_c_werror_flag"
20466 || test ! -s conftest.err'
20467 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20468 (eval $ac_try) 2>&5
20470 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20471 (exit $ac_status); }; } &&
20472 { ac_try
='test -s conftest.$ac_objext'
20473 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20474 (eval $ac_try) 2>&5
20476 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20477 (exit $ac_status); }; }; then
20478 ac_header_compiler
=yes
20480 echo "$as_me: failed program was:" >&5
20481 sed 's/^/| /' conftest.
$ac_ext >&5
20483 ac_header_compiler
=no
20485 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20486 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
20487 echo "${ECHO_T}$ac_header_compiler" >&6
20489 # Is the header present?
20490 echo "$as_me:$LINENO: checking zlib.h presence" >&5
20491 echo $ECHO_N "checking zlib.h presence... $ECHO_C" >&6
20492 cat >conftest.
$ac_ext <<_ACEOF
20495 cat confdefs.h
>>conftest.
$ac_ext
20496 cat >>conftest.
$ac_ext <<_ACEOF
20497 /* end confdefs.h. */
20500 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
20501 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
20503 grep -v '^ *+' conftest.er1
>conftest.err
20505 cat conftest.err
>&5
20506 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20507 (exit $ac_status); } >/dev
/null
; then
20508 if test -s conftest.err
; then
20509 ac_cpp_err
=$ac_c_preproc_warn_flag
20510 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
20517 if test -z "$ac_cpp_err"; then
20518 ac_header_preproc
=yes
20520 echo "$as_me: failed program was:" >&5
20521 sed 's/^/| /' conftest.
$ac_ext >&5
20523 ac_header_preproc
=no
20525 rm -f conftest.err conftest.
$ac_ext
20526 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
20527 echo "${ECHO_T}$ac_header_preproc" >&6
20529 # So? What about this header?
20530 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
20532 { echo "$as_me:$LINENO: WARNING: zlib.h: accepted by the compiler, rejected by the preprocessor!" >&5
20533 echo "$as_me: WARNING: zlib.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
20534 { echo "$as_me:$LINENO: WARNING: zlib.h: proceeding with the compiler's result" >&5
20535 echo "$as_me: WARNING: zlib.h: proceeding with the compiler's result" >&2;}
20536 ac_header_preproc
=yes
20539 { echo "$as_me:$LINENO: WARNING: zlib.h: present but cannot be compiled" >&5
20540 echo "$as_me: WARNING: zlib.h: present but cannot be compiled" >&2;}
20541 { echo "$as_me:$LINENO: WARNING: zlib.h: check for missing prerequisite headers?" >&5
20542 echo "$as_me: WARNING: zlib.h: check for missing prerequisite headers?" >&2;}
20543 { echo "$as_me:$LINENO: WARNING: zlib.h: see the Autoconf documentation" >&5
20544 echo "$as_me: WARNING: zlib.h: see the Autoconf documentation" >&2;}
20545 { echo "$as_me:$LINENO: WARNING: zlib.h: section \"Present But Cannot Be Compiled\"" >&5
20546 echo "$as_me: WARNING: zlib.h: section \"Present But Cannot Be Compiled\"" >&2;}
20547 { echo "$as_me:$LINENO: WARNING: zlib.h: proceeding with the preprocessor's result" >&5
20548 echo "$as_me: WARNING: zlib.h: proceeding with the preprocessor's result" >&2;}
20549 { echo "$as_me:$LINENO: WARNING: zlib.h: in the future, the compiler will take precedence" >&5
20550 echo "$as_me: WARNING: zlib.h: in the future, the compiler will take precedence" >&2;}
20553 ## ----------------------------------------- ##
20554 ## Report this to wx-dev@lists.wxwidgets.org ##
20555 ## ----------------------------------------- ##
20558 sed "s/^/$as_me: WARNING: /" >&2
20561 echo "$as_me:$LINENO: checking for zlib.h" >&5
20562 echo $ECHO_N "checking for zlib.h... $ECHO_C" >&6
20563 if test "${ac_cv_header_zlib_h+set}" = set; then
20564 echo $ECHO_N "(cached) $ECHO_C" >&6
20566 ac_cv_header_zlib_h
=$ac_header_preproc
20568 echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
20569 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6
20575 system_zlib_h_ok
=$ac_cv_header_zlib_h
20578 if test "$system_zlib_h_ok" = "yes"; then
20579 echo "$as_me:$LINENO: checking for deflate in -lz" >&5
20580 echo $ECHO_N "checking for deflate in -lz... $ECHO_C" >&6
20581 if test "${ac_cv_lib_z_deflate+set}" = set; then
20582 echo $ECHO_N "(cached) $ECHO_C" >&6
20584 ac_check_lib_save_LIBS
=$LIBS
20586 cat >conftest.
$ac_ext <<_ACEOF
20589 cat confdefs.h
>>conftest.
$ac_ext
20590 cat >>conftest.
$ac_ext <<_ACEOF
20591 /* end confdefs.h. */
20593 /* Override any gcc2 internal prototype to avoid an error. */
20597 /* We use char because int might match the return type of a gcc2
20598 builtin and then its argument prototype would still apply. */
20608 rm -f conftest.
$ac_objext conftest
$ac_exeext
20609 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20610 (eval $ac_link) 2>conftest.er1
20612 grep -v '^ *+' conftest.er1
>conftest.err
20614 cat conftest.err
>&5
20615 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20616 (exit $ac_status); } &&
20617 { ac_try
='test -z "$ac_c_werror_flag"
20618 || test ! -s conftest.err'
20619 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20620 (eval $ac_try) 2>&5
20622 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20623 (exit $ac_status); }; } &&
20624 { ac_try
='test -s conftest$ac_exeext'
20625 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20626 (eval $ac_try) 2>&5
20628 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20629 (exit $ac_status); }; }; then
20630 ac_cv_lib_z_deflate
=yes
20632 echo "$as_me: failed program was:" >&5
20633 sed 's/^/| /' conftest.
$ac_ext >&5
20635 ac_cv_lib_z_deflate
=no
20637 rm -f conftest.err conftest.
$ac_objext \
20638 conftest
$ac_exeext conftest.
$ac_ext
20639 LIBS
=$ac_check_lib_save_LIBS
20641 echo "$as_me:$LINENO: result: $ac_cv_lib_z_deflate" >&5
20642 echo "${ECHO_T}$ac_cv_lib_z_deflate" >&6
20643 if test $ac_cv_lib_z_deflate = yes; then
20649 if test "x$ZLIB_LINK" = "x" ; then
20650 if test "$wxUSE_ZLIB" = "sys" ; then
20651 { { echo "$as_me:$LINENO: error: zlib library not found or too old! Use --with-zlib=builtin to use built-in version" >&5
20652 echo "$as_me: error: zlib library not found or too old! Use --with-zlib=builtin to use built-in version" >&2;}
20653 { (exit 1); exit 1; }; }
20655 { echo "$as_me:$LINENO: WARNING: zlib library not found or too old, will use built-in instead" >&5
20656 echo "$as_me: WARNING: zlib library not found or too old, will use built-in instead" >&2;}
20667 if test "$wxUSE_LIBPNG" != "no" ; then
20668 cat >>confdefs.h
<<\_ACEOF
20669 #define wxUSE_LIBPNG 1
20673 if test "$wxUSE_MGL" = 1 -a "$wxUSE_LIBPNG" = "builtin" ; then
20674 { echo "$as_me:$LINENO: WARNING: wxMGL doesn't work with builtin png library, will use MGL one instead" >&5
20675 echo "$as_me: WARNING: wxMGL doesn't work with builtin png library, will use MGL one instead" >&2;}
20679 if test "$wxUSE_MGL" != 1 -a "$wxUSE_LIBPNG" = "sys" -a "$wxUSE_ZLIB" != "sys" ; then
20680 { echo "$as_me:$LINENO: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&5
20681 echo "$as_me: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&2;}
20682 wxUSE_LIBPNG
=builtin
20685 if test "$wxUSE_MGL" != 1 ; then
20686 if test "$wxUSE_LIBPNG" = "sys" -o "$wxUSE_LIBPNG" = "yes" ; then
20687 echo "$as_me:$LINENO: checking for png.h > 0.90" >&5
20688 echo $ECHO_N "checking for png.h > 0.90... $ECHO_C" >&6
20689 if test "${ac_cv_header_png_h+set}" = set; then
20690 echo $ECHO_N "(cached) $ECHO_C" >&6
20692 if test "$cross_compiling" = yes; then
20693 unset ac_cv_header_png_h
20696 cat >conftest.
$ac_ext <<_ACEOF
20699 cat confdefs.h
>>conftest.
$ac_ext
20700 cat >>conftest.
$ac_ext <<_ACEOF
20701 /* end confdefs.h. */
20708 FILE *f=fopen("conftestval", "w");
20711 PNG_LIBPNG_VER > 90 ? "yes" : "no");
20716 rm -f conftest
$ac_exeext
20717 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20718 (eval $ac_link) 2>&5
20720 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20721 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
20722 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20723 (eval $ac_try) 2>&5
20725 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20726 (exit $ac_status); }; }; then
20727 ac_cv_header_png_h
=`cat conftestval`
20729 echo "$as_me: program exited with status $ac_status" >&5
20730 echo "$as_me: failed program was:" >&5
20731 sed 's/^/| /' conftest.
$ac_ext >&5
20733 ( exit $ac_status )
20734 ac_cv_header_png_h
=no
20736 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
20740 echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
20741 echo "${ECHO_T}$ac_cv_header_png_h" >&6
20742 if test "${ac_cv_header_png_h+set}" = set; then
20743 echo "$as_me:$LINENO: checking for png.h" >&5
20744 echo $ECHO_N "checking for png.h... $ECHO_C" >&6
20745 if test "${ac_cv_header_png_h+set}" = set; then
20746 echo $ECHO_N "(cached) $ECHO_C" >&6
20748 echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
20749 echo "${ECHO_T}$ac_cv_header_png_h" >&6
20751 # Is the header compilable?
20752 echo "$as_me:$LINENO: checking png.h usability" >&5
20753 echo $ECHO_N "checking png.h usability... $ECHO_C" >&6
20754 cat >conftest.
$ac_ext <<_ACEOF
20757 cat confdefs.h
>>conftest.
$ac_ext
20758 cat >>conftest.
$ac_ext <<_ACEOF
20759 /* end confdefs.h. */
20760 $ac_includes_default
20763 rm -f conftest.
$ac_objext
20764 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20765 (eval $ac_compile) 2>conftest.er1
20767 grep -v '^ *+' conftest.er1
>conftest.err
20769 cat conftest.err
>&5
20770 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20771 (exit $ac_status); } &&
20772 { ac_try
='test -z "$ac_c_werror_flag"
20773 || test ! -s conftest.err'
20774 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20775 (eval $ac_try) 2>&5
20777 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20778 (exit $ac_status); }; } &&
20779 { ac_try
='test -s conftest.$ac_objext'
20780 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20781 (eval $ac_try) 2>&5
20783 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20784 (exit $ac_status); }; }; then
20785 ac_header_compiler
=yes
20787 echo "$as_me: failed program was:" >&5
20788 sed 's/^/| /' conftest.
$ac_ext >&5
20790 ac_header_compiler
=no
20792 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20793 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
20794 echo "${ECHO_T}$ac_header_compiler" >&6
20796 # Is the header present?
20797 echo "$as_me:$LINENO: checking png.h presence" >&5
20798 echo $ECHO_N "checking png.h presence... $ECHO_C" >&6
20799 cat >conftest.
$ac_ext <<_ACEOF
20802 cat confdefs.h
>>conftest.
$ac_ext
20803 cat >>conftest.
$ac_ext <<_ACEOF
20804 /* end confdefs.h. */
20807 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
20808 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
20810 grep -v '^ *+' conftest.er1
>conftest.err
20812 cat conftest.err
>&5
20813 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20814 (exit $ac_status); } >/dev
/null
; then
20815 if test -s conftest.err
; then
20816 ac_cpp_err
=$ac_c_preproc_warn_flag
20817 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
20824 if test -z "$ac_cpp_err"; then
20825 ac_header_preproc
=yes
20827 echo "$as_me: failed program was:" >&5
20828 sed 's/^/| /' conftest.
$ac_ext >&5
20830 ac_header_preproc
=no
20832 rm -f conftest.err conftest.
$ac_ext
20833 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
20834 echo "${ECHO_T}$ac_header_preproc" >&6
20836 # So? What about this header?
20837 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
20839 { echo "$as_me:$LINENO: WARNING: png.h: accepted by the compiler, rejected by the preprocessor!" >&5
20840 echo "$as_me: WARNING: png.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
20841 { echo "$as_me:$LINENO: WARNING: png.h: proceeding with the compiler's result" >&5
20842 echo "$as_me: WARNING: png.h: proceeding with the compiler's result" >&2;}
20843 ac_header_preproc
=yes
20846 { echo "$as_me:$LINENO: WARNING: png.h: present but cannot be compiled" >&5
20847 echo "$as_me: WARNING: png.h: present but cannot be compiled" >&2;}
20848 { echo "$as_me:$LINENO: WARNING: png.h: check for missing prerequisite headers?" >&5
20849 echo "$as_me: WARNING: png.h: check for missing prerequisite headers?" >&2;}
20850 { echo "$as_me:$LINENO: WARNING: png.h: see the Autoconf documentation" >&5
20851 echo "$as_me: WARNING: png.h: see the Autoconf documentation" >&2;}
20852 { echo "$as_me:$LINENO: WARNING: png.h: section \"Present But Cannot Be Compiled\"" >&5
20853 echo "$as_me: WARNING: png.h: section \"Present But Cannot Be Compiled\"" >&2;}
20854 { echo "$as_me:$LINENO: WARNING: png.h: proceeding with the preprocessor's result" >&5
20855 echo "$as_me: WARNING: png.h: proceeding with the preprocessor's result" >&2;}
20856 { echo "$as_me:$LINENO: WARNING: png.h: in the future, the compiler will take precedence" >&5
20857 echo "$as_me: WARNING: png.h: in the future, the compiler will take precedence" >&2;}
20860 ## ----------------------------------------- ##
20861 ## Report this to wx-dev@lists.wxwidgets.org ##
20862 ## ----------------------------------------- ##
20865 sed "s/^/$as_me: WARNING: /" >&2
20868 echo "$as_me:$LINENO: checking for png.h" >&5
20869 echo $ECHO_N "checking for png.h... $ECHO_C" >&6
20870 if test "${ac_cv_header_png_h+set}" = set; then
20871 echo $ECHO_N "(cached) $ECHO_C" >&6
20873 ac_cv_header_png_h
=$ac_header_preproc
20875 echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
20876 echo "${ECHO_T}$ac_cv_header_png_h" >&6
20882 if test "$ac_cv_header_png_h" = "yes"; then
20883 echo "$as_me:$LINENO: checking for png_check_sig in -lpng" >&5
20884 echo $ECHO_N "checking for png_check_sig in -lpng... $ECHO_C" >&6
20885 if test "${ac_cv_lib_png_png_check_sig+set}" = set; then
20886 echo $ECHO_N "(cached) $ECHO_C" >&6
20888 ac_check_lib_save_LIBS
=$LIBS
20889 LIBS
="-lpng -lz -lm $LIBS"
20890 cat >conftest.
$ac_ext <<_ACEOF
20893 cat confdefs.h
>>conftest.
$ac_ext
20894 cat >>conftest.
$ac_ext <<_ACEOF
20895 /* end confdefs.h. */
20897 /* Override any gcc2 internal prototype to avoid an error. */
20901 /* We use char because int might match the return type of a gcc2
20902 builtin and then its argument prototype would still apply. */
20903 char png_check_sig ();
20912 rm -f conftest.
$ac_objext conftest
$ac_exeext
20913 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20914 (eval $ac_link) 2>conftest.er1
20916 grep -v '^ *+' conftest.er1
>conftest.err
20918 cat conftest.err
>&5
20919 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20920 (exit $ac_status); } &&
20921 { ac_try
='test -z "$ac_c_werror_flag"
20922 || test ! -s conftest.err'
20923 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20924 (eval $ac_try) 2>&5
20926 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20927 (exit $ac_status); }; } &&
20928 { ac_try
='test -s conftest$ac_exeext'
20929 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20930 (eval $ac_try) 2>&5
20932 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20933 (exit $ac_status); }; }; then
20934 ac_cv_lib_png_png_check_sig
=yes
20936 echo "$as_me: failed program was:" >&5
20937 sed 's/^/| /' conftest.
$ac_ext >&5
20939 ac_cv_lib_png_png_check_sig
=no
20941 rm -f conftest.err conftest.
$ac_objext \
20942 conftest
$ac_exeext conftest.
$ac_ext
20943 LIBS
=$ac_check_lib_save_LIBS
20945 echo "$as_me:$LINENO: result: $ac_cv_lib_png_png_check_sig" >&5
20946 echo "${ECHO_T}$ac_cv_lib_png_png_check_sig" >&6
20947 if test $ac_cv_lib_png_png_check_sig = yes; then
20948 PNG_LINK
=" -lpng -lz"
20953 if test "x$PNG_LINK" = "x" ; then
20954 if test "$wxUSE_LIBPNG" = "sys" ; then
20955 { { echo "$as_me:$LINENO: error: system png library not found or too old! Use --with-libpng=builtin to use built-in version" >&5
20956 echo "$as_me: error: system png library not found or too old! Use --with-libpng=builtin to use built-in version" >&2;}
20957 { (exit 1); exit 1; }; }
20959 { echo "$as_me:$LINENO: WARNING: system png library not found or too old, will use built-in instead" >&5
20960 echo "$as_me: WARNING: system png library not found or too old, will use built-in instead" >&2;}
20961 wxUSE_LIBPNG
=builtin
20969 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS png"
20974 if test "$wxUSE_LIBJPEG" != "no" ; then
20975 cat >>confdefs.h
<<\_ACEOF
20976 #define wxUSE_LIBJPEG 1
20980 if test "$wxUSE_MGL" = 1 -a "$wxUSE_LIBJPEG" = "builtin" ; then
20981 { echo "$as_me:$LINENO: WARNING: wxMGL doesn't work with builtin jpeg library, will use MGL one instead" >&5
20982 echo "$as_me: WARNING: wxMGL doesn't work with builtin jpeg library, will use MGL one instead" >&2;}
20986 if test "$wxUSE_MGL" != 1 ; then
20987 if test "$wxUSE_LIBJPEG" = "sys" -o "$wxUSE_LIBJPEG" = "yes" ; then
20988 echo "$as_me:$LINENO: checking for jpeglib.h" >&5
20989 echo $ECHO_N "checking for jpeglib.h... $ECHO_C" >&6
20990 if test "${ac_cv_header_jpeglib_h+set}" = set; then
20991 echo $ECHO_N "(cached) $ECHO_C" >&6
20993 cat >conftest.
$ac_ext <<_ACEOF
20996 cat confdefs.h
>>conftest.
$ac_ext
20997 cat >>conftest.
$ac_ext <<_ACEOF
20998 /* end confdefs.h. */
21000 #undef HAVE_STDLIB_H
21002 #include <jpeglib.h>
21013 rm -f conftest.
$ac_objext
21014 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21015 (eval $ac_compile) 2>conftest.er1
21017 grep -v '^ *+' conftest.er1
>conftest.err
21019 cat conftest.err
>&5
21020 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21021 (exit $ac_status); } &&
21022 { ac_try
='test -z "$ac_c_werror_flag"
21023 || test ! -s conftest.err'
21024 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21025 (eval $ac_try) 2>&5
21027 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21028 (exit $ac_status); }; } &&
21029 { ac_try
='test -s conftest.$ac_objext'
21030 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21031 (eval $ac_try) 2>&5
21033 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21034 (exit $ac_status); }; }; then
21035 ac_cv_header_jpeglib_h
=yes
21037 echo "$as_me: failed program was:" >&5
21038 sed 's/^/| /' conftest.
$ac_ext >&5
21040 ac_cv_header_jpeglib_h
=no
21043 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21047 echo "$as_me:$LINENO: result: $ac_cv_header_jpeglib_h" >&5
21048 echo "${ECHO_T}$ac_cv_header_jpeglib_h" >&6
21050 if test "$ac_cv_header_jpeglib_h" = "yes"; then
21051 echo "$as_me:$LINENO: checking for jpeg_read_header in -ljpeg" >&5
21052 echo $ECHO_N "checking for jpeg_read_header in -ljpeg... $ECHO_C" >&6
21053 if test "${ac_cv_lib_jpeg_jpeg_read_header+set}" = set; then
21054 echo $ECHO_N "(cached) $ECHO_C" >&6
21056 ac_check_lib_save_LIBS
=$LIBS
21057 LIBS
="-ljpeg $LIBS"
21058 cat >conftest.
$ac_ext <<_ACEOF
21061 cat confdefs.h
>>conftest.
$ac_ext
21062 cat >>conftest.
$ac_ext <<_ACEOF
21063 /* end confdefs.h. */
21065 /* Override any gcc2 internal prototype to avoid an error. */
21069 /* We use char because int might match the return type of a gcc2
21070 builtin and then its argument prototype would still apply. */
21071 char jpeg_read_header ();
21075 jpeg_read_header ();
21080 rm -f conftest.
$ac_objext conftest
$ac_exeext
21081 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21082 (eval $ac_link) 2>conftest.er1
21084 grep -v '^ *+' conftest.er1
>conftest.err
21086 cat conftest.err
>&5
21087 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21088 (exit $ac_status); } &&
21089 { ac_try
='test -z "$ac_c_werror_flag"
21090 || test ! -s conftest.err'
21091 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21092 (eval $ac_try) 2>&5
21094 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21095 (exit $ac_status); }; } &&
21096 { ac_try
='test -s conftest$ac_exeext'
21097 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21098 (eval $ac_try) 2>&5
21100 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21101 (exit $ac_status); }; }; then
21102 ac_cv_lib_jpeg_jpeg_read_header
=yes
21104 echo "$as_me: failed program was:" >&5
21105 sed 's/^/| /' conftest.
$ac_ext >&5
21107 ac_cv_lib_jpeg_jpeg_read_header
=no
21109 rm -f conftest.err conftest.
$ac_objext \
21110 conftest
$ac_exeext conftest.
$ac_ext
21111 LIBS
=$ac_check_lib_save_LIBS
21113 echo "$as_me:$LINENO: result: $ac_cv_lib_jpeg_jpeg_read_header" >&5
21114 echo "${ECHO_T}$ac_cv_lib_jpeg_jpeg_read_header" >&6
21115 if test $ac_cv_lib_jpeg_jpeg_read_header = yes; then
21116 JPEG_LINK
=" -ljpeg"
21121 if test "x$JPEG_LINK" = "x" ; then
21122 if test "$wxUSE_LIBJPEG" = "sys" ; then
21123 { { echo "$as_me:$LINENO: error: system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" >&5
21124 echo "$as_me: error: system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" >&2;}
21125 { (exit 1); exit 1; }; }
21127 { echo "$as_me:$LINENO: WARNING: system jpeg library not found, will use built-in instead" >&5
21128 echo "$as_me: WARNING: system jpeg library not found, will use built-in instead" >&2;}
21129 wxUSE_LIBJPEG
=builtin
21140 TIFF_PREREQ_LINKS
=-lm
21141 if test "$wxUSE_LIBTIFF" != "no" ; then
21142 cat >>confdefs.h
<<\_ACEOF
21143 #define wxUSE_LIBTIFF 1
21147 if test "$wxUSE_LIBTIFF" = "sys" -o "$wxUSE_LIBTIFF" = "yes" ; then
21148 if test "$wxUSE_LIBJPEG" = "sys"; then
21149 TIFF_PREREQ_LINKS
="$TIFF_PREREQ_LINKS $JPEG_LINK"
21151 if test "$wxUSE_ZLIB" = "sys"; then
21152 TIFF_PREREQ_LINKS
="$TIFF_PREREQ_LINKS $ZLIB_LINK"
21154 if test "${ac_cv_header_tiffio_h+set}" = set; then
21155 echo "$as_me:$LINENO: checking for tiffio.h" >&5
21156 echo $ECHO_N "checking for tiffio.h... $ECHO_C" >&6
21157 if test "${ac_cv_header_tiffio_h+set}" = set; then
21158 echo $ECHO_N "(cached) $ECHO_C" >&6
21160 echo "$as_me:$LINENO: result: $ac_cv_header_tiffio_h" >&5
21161 echo "${ECHO_T}$ac_cv_header_tiffio_h" >&6
21163 # Is the header compilable?
21164 echo "$as_me:$LINENO: checking tiffio.h usability" >&5
21165 echo $ECHO_N "checking tiffio.h usability... $ECHO_C" >&6
21166 cat >conftest.
$ac_ext <<_ACEOF
21169 cat confdefs.h
>>conftest.
$ac_ext
21170 cat >>conftest.
$ac_ext <<_ACEOF
21171 /* end confdefs.h. */
21172 $ac_includes_default
21173 #include <tiffio.h>
21175 rm -f conftest.
$ac_objext
21176 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21177 (eval $ac_compile) 2>conftest.er1
21179 grep -v '^ *+' conftest.er1
>conftest.err
21181 cat conftest.err
>&5
21182 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21183 (exit $ac_status); } &&
21184 { ac_try
='test -z "$ac_c_werror_flag"
21185 || test ! -s conftest.err'
21186 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21187 (eval $ac_try) 2>&5
21189 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21190 (exit $ac_status); }; } &&
21191 { ac_try
='test -s conftest.$ac_objext'
21192 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21193 (eval $ac_try) 2>&5
21195 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21196 (exit $ac_status); }; }; then
21197 ac_header_compiler
=yes
21199 echo "$as_me: failed program was:" >&5
21200 sed 's/^/| /' conftest.
$ac_ext >&5
21202 ac_header_compiler
=no
21204 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21205 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
21206 echo "${ECHO_T}$ac_header_compiler" >&6
21208 # Is the header present?
21209 echo "$as_me:$LINENO: checking tiffio.h presence" >&5
21210 echo $ECHO_N "checking tiffio.h presence... $ECHO_C" >&6
21211 cat >conftest.
$ac_ext <<_ACEOF
21214 cat confdefs.h
>>conftest.
$ac_ext
21215 cat >>conftest.
$ac_ext <<_ACEOF
21216 /* end confdefs.h. */
21217 #include <tiffio.h>
21219 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
21220 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
21222 grep -v '^ *+' conftest.er1
>conftest.err
21224 cat conftest.err
>&5
21225 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21226 (exit $ac_status); } >/dev
/null
; then
21227 if test -s conftest.err
; then
21228 ac_cpp_err
=$ac_c_preproc_warn_flag
21229 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
21236 if test -z "$ac_cpp_err"; then
21237 ac_header_preproc
=yes
21239 echo "$as_me: failed program was:" >&5
21240 sed 's/^/| /' conftest.
$ac_ext >&5
21242 ac_header_preproc
=no
21244 rm -f conftest.err conftest.
$ac_ext
21245 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
21246 echo "${ECHO_T}$ac_header_preproc" >&6
21248 # So? What about this header?
21249 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
21251 { echo "$as_me:$LINENO: WARNING: tiffio.h: accepted by the compiler, rejected by the preprocessor!" >&5
21252 echo "$as_me: WARNING: tiffio.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
21253 { echo "$as_me:$LINENO: WARNING: tiffio.h: proceeding with the compiler's result" >&5
21254 echo "$as_me: WARNING: tiffio.h: proceeding with the compiler's result" >&2;}
21255 ac_header_preproc
=yes
21258 { echo "$as_me:$LINENO: WARNING: tiffio.h: present but cannot be compiled" >&5
21259 echo "$as_me: WARNING: tiffio.h: present but cannot be compiled" >&2;}
21260 { echo "$as_me:$LINENO: WARNING: tiffio.h: check for missing prerequisite headers?" >&5
21261 echo "$as_me: WARNING: tiffio.h: check for missing prerequisite headers?" >&2;}
21262 { echo "$as_me:$LINENO: WARNING: tiffio.h: see the Autoconf documentation" >&5
21263 echo "$as_me: WARNING: tiffio.h: see the Autoconf documentation" >&2;}
21264 { echo "$as_me:$LINENO: WARNING: tiffio.h: section \"Present But Cannot Be Compiled\"" >&5
21265 echo "$as_me: WARNING: tiffio.h: section \"Present But Cannot Be Compiled\"" >&2;}
21266 { echo "$as_me:$LINENO: WARNING: tiffio.h: proceeding with the preprocessor's result" >&5
21267 echo "$as_me: WARNING: tiffio.h: proceeding with the preprocessor's result" >&2;}
21268 { echo "$as_me:$LINENO: WARNING: tiffio.h: in the future, the compiler will take precedence" >&5
21269 echo "$as_me: WARNING: tiffio.h: in the future, the compiler will take precedence" >&2;}
21272 ## ----------------------------------------- ##
21273 ## Report this to wx-dev@lists.wxwidgets.org ##
21274 ## ----------------------------------------- ##
21277 sed "s/^/$as_me: WARNING: /" >&2
21280 echo "$as_me:$LINENO: checking for tiffio.h" >&5
21281 echo $ECHO_N "checking for tiffio.h... $ECHO_C" >&6
21282 if test "${ac_cv_header_tiffio_h+set}" = set; then
21283 echo $ECHO_N "(cached) $ECHO_C" >&6
21285 ac_cv_header_tiffio_h
=$ac_header_preproc
21287 echo "$as_me:$LINENO: result: $ac_cv_header_tiffio_h" >&5
21288 echo "${ECHO_T}$ac_cv_header_tiffio_h" >&6
21291 if test $ac_cv_header_tiffio_h = yes; then
21293 echo "$as_me:$LINENO: checking for TIFFError in -ltiff" >&5
21294 echo $ECHO_N "checking for TIFFError in -ltiff... $ECHO_C" >&6
21295 if test "${ac_cv_lib_tiff_TIFFError+set}" = set; then
21296 echo $ECHO_N "(cached) $ECHO_C" >&6
21298 ac_check_lib_save_LIBS
=$LIBS
21299 LIBS
="-ltiff $TIFF_PREREQ_LINKS $LIBS"
21300 cat >conftest.
$ac_ext <<_ACEOF
21303 cat confdefs.h
>>conftest.
$ac_ext
21304 cat >>conftest.
$ac_ext <<_ACEOF
21305 /* end confdefs.h. */
21307 /* Override any gcc2 internal prototype to avoid an error. */
21311 /* We use char because int might match the return type of a gcc2
21312 builtin and then its argument prototype would still apply. */
21322 rm -f conftest.
$ac_objext conftest
$ac_exeext
21323 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21324 (eval $ac_link) 2>conftest.er1
21326 grep -v '^ *+' conftest.er1
>conftest.err
21328 cat conftest.err
>&5
21329 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21330 (exit $ac_status); } &&
21331 { ac_try
='test -z "$ac_c_werror_flag"
21332 || test ! -s conftest.err'
21333 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21334 (eval $ac_try) 2>&5
21336 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21337 (exit $ac_status); }; } &&
21338 { ac_try
='test -s conftest$ac_exeext'
21339 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21340 (eval $ac_try) 2>&5
21342 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21343 (exit $ac_status); }; }; then
21344 ac_cv_lib_tiff_TIFFError
=yes
21346 echo "$as_me: failed program was:" >&5
21347 sed 's/^/| /' conftest.
$ac_ext >&5
21349 ac_cv_lib_tiff_TIFFError
=no
21351 rm -f conftest.err conftest.
$ac_objext \
21352 conftest
$ac_exeext conftest.
$ac_ext
21353 LIBS
=$ac_check_lib_save_LIBS
21355 echo "$as_me:$LINENO: result: $ac_cv_lib_tiff_TIFFError" >&5
21356 echo "${ECHO_T}$ac_cv_lib_tiff_TIFFError" >&6
21357 if test $ac_cv_lib_tiff_TIFFError = yes; then
21358 TIFF_LINK
=" -ltiff"
21367 if test "x$TIFF_LINK" = "x" ; then
21368 if test "$wxUSE_LIBTIFF" = "sys" ; then
21369 { { echo "$as_me:$LINENO: error: system tiff library not found! Use --with-libtiff=builtin to use built-in version" >&5
21370 echo "$as_me: error: system tiff library not found! Use --with-libtiff=builtin to use built-in version" >&2;}
21371 { (exit 1); exit 1; }; }
21373 { echo "$as_me:$LINENO: WARNING: system tiff library not found, will use built-in instead" >&5
21374 echo "$as_me: WARNING: system tiff library not found, will use built-in instead" >&2;}
21375 wxUSE_LIBTIFF
=builtin
21384 if test "$wxUSE_EXPAT" != "no"; then
21386 cat >>confdefs.h
<<\_ACEOF
21387 #define wxUSE_EXPAT 1
21390 cat >>confdefs.h
<<\_ACEOF
21391 #define wxUSE_XML 1
21395 if test "$wxUSE_EXPAT" = "sys" -o "$wxUSE_EXPAT" = "yes" ; then
21396 if test "${ac_cv_header_expat_h+set}" = set; then
21397 echo "$as_me:$LINENO: checking for expat.h" >&5
21398 echo $ECHO_N "checking for expat.h... $ECHO_C" >&6
21399 if test "${ac_cv_header_expat_h+set}" = set; then
21400 echo $ECHO_N "(cached) $ECHO_C" >&6
21402 echo "$as_me:$LINENO: result: $ac_cv_header_expat_h" >&5
21403 echo "${ECHO_T}$ac_cv_header_expat_h" >&6
21405 # Is the header compilable?
21406 echo "$as_me:$LINENO: checking expat.h usability" >&5
21407 echo $ECHO_N "checking expat.h usability... $ECHO_C" >&6
21408 cat >conftest.
$ac_ext <<_ACEOF
21411 cat confdefs.h
>>conftest.
$ac_ext
21412 cat >>conftest.
$ac_ext <<_ACEOF
21413 /* end confdefs.h. */
21414 $ac_includes_default
21417 rm -f conftest.
$ac_objext
21418 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21419 (eval $ac_compile) 2>conftest.er1
21421 grep -v '^ *+' conftest.er1
>conftest.err
21423 cat conftest.err
>&5
21424 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21425 (exit $ac_status); } &&
21426 { ac_try
='test -z "$ac_c_werror_flag"
21427 || test ! -s conftest.err'
21428 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21429 (eval $ac_try) 2>&5
21431 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21432 (exit $ac_status); }; } &&
21433 { ac_try
='test -s conftest.$ac_objext'
21434 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21435 (eval $ac_try) 2>&5
21437 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21438 (exit $ac_status); }; }; then
21439 ac_header_compiler
=yes
21441 echo "$as_me: failed program was:" >&5
21442 sed 's/^/| /' conftest.
$ac_ext >&5
21444 ac_header_compiler
=no
21446 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21447 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
21448 echo "${ECHO_T}$ac_header_compiler" >&6
21450 # Is the header present?
21451 echo "$as_me:$LINENO: checking expat.h presence" >&5
21452 echo $ECHO_N "checking expat.h presence... $ECHO_C" >&6
21453 cat >conftest.
$ac_ext <<_ACEOF
21456 cat confdefs.h
>>conftest.
$ac_ext
21457 cat >>conftest.
$ac_ext <<_ACEOF
21458 /* end confdefs.h. */
21461 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
21462 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
21464 grep -v '^ *+' conftest.er1
>conftest.err
21466 cat conftest.err
>&5
21467 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21468 (exit $ac_status); } >/dev
/null
; then
21469 if test -s conftest.err
; then
21470 ac_cpp_err
=$ac_c_preproc_warn_flag
21471 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
21478 if test -z "$ac_cpp_err"; then
21479 ac_header_preproc
=yes
21481 echo "$as_me: failed program was:" >&5
21482 sed 's/^/| /' conftest.
$ac_ext >&5
21484 ac_header_preproc
=no
21486 rm -f conftest.err conftest.
$ac_ext
21487 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
21488 echo "${ECHO_T}$ac_header_preproc" >&6
21490 # So? What about this header?
21491 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
21493 { echo "$as_me:$LINENO: WARNING: expat.h: accepted by the compiler, rejected by the preprocessor!" >&5
21494 echo "$as_me: WARNING: expat.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
21495 { echo "$as_me:$LINENO: WARNING: expat.h: proceeding with the compiler's result" >&5
21496 echo "$as_me: WARNING: expat.h: proceeding with the compiler's result" >&2;}
21497 ac_header_preproc
=yes
21500 { echo "$as_me:$LINENO: WARNING: expat.h: present but cannot be compiled" >&5
21501 echo "$as_me: WARNING: expat.h: present but cannot be compiled" >&2;}
21502 { echo "$as_me:$LINENO: WARNING: expat.h: check for missing prerequisite headers?" >&5
21503 echo "$as_me: WARNING: expat.h: check for missing prerequisite headers?" >&2;}
21504 { echo "$as_me:$LINENO: WARNING: expat.h: see the Autoconf documentation" >&5
21505 echo "$as_me: WARNING: expat.h: see the Autoconf documentation" >&2;}
21506 { echo "$as_me:$LINENO: WARNING: expat.h: section \"Present But Cannot Be Compiled\"" >&5
21507 echo "$as_me: WARNING: expat.h: section \"Present But Cannot Be Compiled\"" >&2;}
21508 { echo "$as_me:$LINENO: WARNING: expat.h: proceeding with the preprocessor's result" >&5
21509 echo "$as_me: WARNING: expat.h: proceeding with the preprocessor's result" >&2;}
21510 { echo "$as_me:$LINENO: WARNING: expat.h: in the future, the compiler will take precedence" >&5
21511 echo "$as_me: WARNING: expat.h: in the future, the compiler will take precedence" >&2;}
21514 ## ----------------------------------------- ##
21515 ## Report this to wx-dev@lists.wxwidgets.org ##
21516 ## ----------------------------------------- ##
21519 sed "s/^/$as_me: WARNING: /" >&2
21522 echo "$as_me:$LINENO: checking for expat.h" >&5
21523 echo $ECHO_N "checking for expat.h... $ECHO_C" >&6
21524 if test "${ac_cv_header_expat_h+set}" = set; then
21525 echo $ECHO_N "(cached) $ECHO_C" >&6
21527 ac_cv_header_expat_h
=$ac_header_preproc
21529 echo "$as_me:$LINENO: result: $ac_cv_header_expat_h" >&5
21530 echo "${ECHO_T}$ac_cv_header_expat_h" >&6
21533 if test $ac_cv_header_expat_h = yes; then
21538 if test "x$found_expat_h" = "x1"; then
21539 echo "$as_me:$LINENO: checking if expat.h is valid C++ header" >&5
21540 echo $ECHO_N "checking if expat.h is valid C++ header... $ECHO_C" >&6
21541 if test "${wx_cv_expat_is_not_broken+set}" = set; then
21542 echo $ECHO_N "(cached) $ECHO_C" >&6
21548 ac_cpp
='$CXXCPP $CPPFLAGS'
21549 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21550 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21551 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
21553 cat >conftest.
$ac_ext <<_ACEOF
21556 cat confdefs.h
>>conftest.
$ac_ext
21557 cat >>conftest.
$ac_ext <<_ACEOF
21558 /* end confdefs.h. */
21568 rm -f conftest.
$ac_objext
21569 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21570 (eval $ac_compile) 2>conftest.er1
21572 grep -v '^ *+' conftest.er1
>conftest.err
21574 cat conftest.err
>&5
21575 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21576 (exit $ac_status); } &&
21577 { ac_try
='test -z "$ac_cxx_werror_flag"
21578 || test ! -s conftest.err'
21579 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21580 (eval $ac_try) 2>&5
21582 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21583 (exit $ac_status); }; } &&
21584 { ac_try
='test -s conftest.$ac_objext'
21585 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21586 (eval $ac_try) 2>&5
21588 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21589 (exit $ac_status); }; }; then
21590 wx_cv_expat_is_not_broken
=yes
21592 echo "$as_me: failed program was:" >&5
21593 sed 's/^/| /' conftest.
$ac_ext >&5
21595 wx_cv_expat_is_not_broken
=no
21598 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21600 ac_cpp
='$CPP $CPPFLAGS'
21601 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21602 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21603 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
21608 echo "$as_me:$LINENO: result: $wx_cv_expat_is_not_broken" >&5
21609 echo "${ECHO_T}$wx_cv_expat_is_not_broken" >&6
21610 if test "$wx_cv_expat_is_not_broken" = "yes" ; then
21611 echo "$as_me:$LINENO: checking for XML_ParserCreate in -lexpat" >&5
21612 echo $ECHO_N "checking for XML_ParserCreate in -lexpat... $ECHO_C" >&6
21613 if test "${ac_cv_lib_expat_XML_ParserCreate+set}" = set; then
21614 echo $ECHO_N "(cached) $ECHO_C" >&6
21616 ac_check_lib_save_LIBS
=$LIBS
21617 LIBS
="-lexpat $LIBS"
21618 cat >conftest.
$ac_ext <<_ACEOF
21621 cat confdefs.h
>>conftest.
$ac_ext
21622 cat >>conftest.
$ac_ext <<_ACEOF
21623 /* end confdefs.h. */
21625 /* Override any gcc2 internal prototype to avoid an error. */
21629 /* We use char because int might match the return type of a gcc2
21630 builtin and then its argument prototype would still apply. */
21631 char XML_ParserCreate ();
21635 XML_ParserCreate ();
21640 rm -f conftest.
$ac_objext conftest
$ac_exeext
21641 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21642 (eval $ac_link) 2>conftest.er1
21644 grep -v '^ *+' conftest.er1
>conftest.err
21646 cat conftest.err
>&5
21647 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21648 (exit $ac_status); } &&
21649 { ac_try
='test -z "$ac_c_werror_flag"
21650 || test ! -s conftest.err'
21651 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21652 (eval $ac_try) 2>&5
21654 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21655 (exit $ac_status); }; } &&
21656 { ac_try
='test -s conftest$ac_exeext'
21657 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21658 (eval $ac_try) 2>&5
21660 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21661 (exit $ac_status); }; }; then
21662 ac_cv_lib_expat_XML_ParserCreate
=yes
21664 echo "$as_me: failed program was:" >&5
21665 sed 's/^/| /' conftest.
$ac_ext >&5
21667 ac_cv_lib_expat_XML_ParserCreate
=no
21669 rm -f conftest.err conftest.
$ac_objext \
21670 conftest
$ac_exeext conftest.
$ac_ext
21671 LIBS
=$ac_check_lib_save_LIBS
21673 echo "$as_me:$LINENO: result: $ac_cv_lib_expat_XML_ParserCreate" >&5
21674 echo "${ECHO_T}$ac_cv_lib_expat_XML_ParserCreate" >&6
21675 if test $ac_cv_lib_expat_XML_ParserCreate = yes; then
21676 EXPAT_LINK
=" -lexpat"
21681 if test "x$EXPAT_LINK" = "x" ; then
21682 if test "$wxUSE_EXPAT" = "sys" ; then
21683 { { echo "$as_me:$LINENO: error: system expat library not found! Use --with-expat=builtin to use built-in version" >&5
21684 echo "$as_me: error: system expat library not found! Use --with-expat=builtin to use built-in version" >&2;}
21685 { (exit 1); exit 1; }; }
21687 { echo "$as_me:$LINENO: WARNING: system expat library not found, will use built-in instead" >&5
21688 echo "$as_me: WARNING: system expat library not found, will use built-in instead" >&2;}
21689 wxUSE_EXPAT
=builtin
21695 if test "$wxUSE_EXPAT" = "builtin" ; then
21698 subdirs
="$subdirs src/expat"
21705 if test "$wxUSE_LIBMSPACK" != "no"; then
21707 if test "${ac_cv_header_mspack_h+set}" = set; then
21708 echo "$as_me:$LINENO: checking for mspack.h" >&5
21709 echo $ECHO_N "checking for mspack.h... $ECHO_C" >&6
21710 if test "${ac_cv_header_mspack_h+set}" = set; then
21711 echo $ECHO_N "(cached) $ECHO_C" >&6
21713 echo "$as_me:$LINENO: result: $ac_cv_header_mspack_h" >&5
21714 echo "${ECHO_T}$ac_cv_header_mspack_h" >&6
21716 # Is the header compilable?
21717 echo "$as_me:$LINENO: checking mspack.h usability" >&5
21718 echo $ECHO_N "checking mspack.h usability... $ECHO_C" >&6
21719 cat >conftest.
$ac_ext <<_ACEOF
21722 cat confdefs.h
>>conftest.
$ac_ext
21723 cat >>conftest.
$ac_ext <<_ACEOF
21724 /* end confdefs.h. */
21725 $ac_includes_default
21726 #include <mspack.h>
21728 rm -f conftest.
$ac_objext
21729 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21730 (eval $ac_compile) 2>conftest.er1
21732 grep -v '^ *+' conftest.er1
>conftest.err
21734 cat conftest.err
>&5
21735 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21736 (exit $ac_status); } &&
21737 { ac_try
='test -z "$ac_c_werror_flag"
21738 || test ! -s conftest.err'
21739 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21740 (eval $ac_try) 2>&5
21742 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21743 (exit $ac_status); }; } &&
21744 { ac_try
='test -s conftest.$ac_objext'
21745 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21746 (eval $ac_try) 2>&5
21748 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21749 (exit $ac_status); }; }; then
21750 ac_header_compiler
=yes
21752 echo "$as_me: failed program was:" >&5
21753 sed 's/^/| /' conftest.
$ac_ext >&5
21755 ac_header_compiler
=no
21757 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21758 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
21759 echo "${ECHO_T}$ac_header_compiler" >&6
21761 # Is the header present?
21762 echo "$as_me:$LINENO: checking mspack.h presence" >&5
21763 echo $ECHO_N "checking mspack.h presence... $ECHO_C" >&6
21764 cat >conftest.
$ac_ext <<_ACEOF
21767 cat confdefs.h
>>conftest.
$ac_ext
21768 cat >>conftest.
$ac_ext <<_ACEOF
21769 /* end confdefs.h. */
21770 #include <mspack.h>
21772 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
21773 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
21775 grep -v '^ *+' conftest.er1
>conftest.err
21777 cat conftest.err
>&5
21778 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21779 (exit $ac_status); } >/dev
/null
; then
21780 if test -s conftest.err
; then
21781 ac_cpp_err
=$ac_c_preproc_warn_flag
21782 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
21789 if test -z "$ac_cpp_err"; then
21790 ac_header_preproc
=yes
21792 echo "$as_me: failed program was:" >&5
21793 sed 's/^/| /' conftest.
$ac_ext >&5
21795 ac_header_preproc
=no
21797 rm -f conftest.err conftest.
$ac_ext
21798 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
21799 echo "${ECHO_T}$ac_header_preproc" >&6
21801 # So? What about this header?
21802 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
21804 { echo "$as_me:$LINENO: WARNING: mspack.h: accepted by the compiler, rejected by the preprocessor!" >&5
21805 echo "$as_me: WARNING: mspack.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
21806 { echo "$as_me:$LINENO: WARNING: mspack.h: proceeding with the compiler's result" >&5
21807 echo "$as_me: WARNING: mspack.h: proceeding with the compiler's result" >&2;}
21808 ac_header_preproc
=yes
21811 { echo "$as_me:$LINENO: WARNING: mspack.h: present but cannot be compiled" >&5
21812 echo "$as_me: WARNING: mspack.h: present but cannot be compiled" >&2;}
21813 { echo "$as_me:$LINENO: WARNING: mspack.h: check for missing prerequisite headers?" >&5
21814 echo "$as_me: WARNING: mspack.h: check for missing prerequisite headers?" >&2;}
21815 { echo "$as_me:$LINENO: WARNING: mspack.h: see the Autoconf documentation" >&5
21816 echo "$as_me: WARNING: mspack.h: see the Autoconf documentation" >&2;}
21817 { echo "$as_me:$LINENO: WARNING: mspack.h: section \"Present But Cannot Be Compiled\"" >&5
21818 echo "$as_me: WARNING: mspack.h: section \"Present But Cannot Be Compiled\"" >&2;}
21819 { echo "$as_me:$LINENO: WARNING: mspack.h: proceeding with the preprocessor's result" >&5
21820 echo "$as_me: WARNING: mspack.h: proceeding with the preprocessor's result" >&2;}
21821 { echo "$as_me:$LINENO: WARNING: mspack.h: in the future, the compiler will take precedence" >&5
21822 echo "$as_me: WARNING: mspack.h: in the future, the compiler will take precedence" >&2;}
21825 ## ----------------------------------------- ##
21826 ## Report this to wx-dev@lists.wxwidgets.org ##
21827 ## ----------------------------------------- ##
21830 sed "s/^/$as_me: WARNING: /" >&2
21833 echo "$as_me:$LINENO: checking for mspack.h" >&5
21834 echo $ECHO_N "checking for mspack.h... $ECHO_C" >&6
21835 if test "${ac_cv_header_mspack_h+set}" = set; then
21836 echo $ECHO_N "(cached) $ECHO_C" >&6
21838 ac_cv_header_mspack_h
=$ac_header_preproc
21840 echo "$as_me:$LINENO: result: $ac_cv_header_mspack_h" >&5
21841 echo "${ECHO_T}$ac_cv_header_mspack_h" >&6
21844 if test $ac_cv_header_mspack_h = yes; then
21849 if test "x$found_mspack_h" = "x1"; then
21850 echo "$as_me:$LINENO: checking for mspack_create_chm_decompressor in -lmspack" >&5
21851 echo $ECHO_N "checking for mspack_create_chm_decompressor in -lmspack... $ECHO_C" >&6
21852 if test "${ac_cv_lib_mspack_mspack_create_chm_decompressor+set}" = set; then
21853 echo $ECHO_N "(cached) $ECHO_C" >&6
21855 ac_check_lib_save_LIBS
=$LIBS
21856 LIBS
="-lmspack $LIBS"
21857 cat >conftest.
$ac_ext <<_ACEOF
21860 cat confdefs.h
>>conftest.
$ac_ext
21861 cat >>conftest.
$ac_ext <<_ACEOF
21862 /* end confdefs.h. */
21864 /* Override any gcc2 internal prototype to avoid an error. */
21868 /* We use char because int might match the return type of a gcc2
21869 builtin and then its argument prototype would still apply. */
21870 char mspack_create_chm_decompressor ();
21874 mspack_create_chm_decompressor ();
21879 rm -f conftest.
$ac_objext conftest
$ac_exeext
21880 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21881 (eval $ac_link) 2>conftest.er1
21883 grep -v '^ *+' conftest.er1
>conftest.err
21885 cat conftest.err
>&5
21886 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21887 (exit $ac_status); } &&
21888 { ac_try
='test -z "$ac_c_werror_flag"
21889 || test ! -s conftest.err'
21890 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21891 (eval $ac_try) 2>&5
21893 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21894 (exit $ac_status); }; } &&
21895 { ac_try
='test -s conftest$ac_exeext'
21896 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21897 (eval $ac_try) 2>&5
21899 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21900 (exit $ac_status); }; }; then
21901 ac_cv_lib_mspack_mspack_create_chm_decompressor
=yes
21903 echo "$as_me: failed program was:" >&5
21904 sed 's/^/| /' conftest.
$ac_ext >&5
21906 ac_cv_lib_mspack_mspack_create_chm_decompressor
=no
21908 rm -f conftest.err conftest.
$ac_objext \
21909 conftest
$ac_exeext conftest.
$ac_ext
21910 LIBS
=$ac_check_lib_save_LIBS
21912 echo "$as_me:$LINENO: result: $ac_cv_lib_mspack_mspack_create_chm_decompressor" >&5
21913 echo "${ECHO_T}$ac_cv_lib_mspack_mspack_create_chm_decompressor" >&6
21914 if test $ac_cv_lib_mspack_mspack_create_chm_decompressor = yes; then
21915 MSPACK_LINK
=" -lmspack"
21919 if test "x$MSPACK_LINK" = "x" ; then
21922 cat >>confdefs.h
<<\_ACEOF
21923 #define wxUSE_LIBMSPACK 1
21938 if test "$USE_WIN32" = 1 ; then
21940 for ac_header
in w32api.h
21942 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
21943 if eval "test \"\${$as_ac_Header+set}\" = set"; then
21944 echo "$as_me:$LINENO: checking for $ac_header" >&5
21945 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
21946 if eval "test \"\${$as_ac_Header+set}\" = set"; then
21947 echo $ECHO_N "(cached) $ECHO_C" >&6
21949 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
21950 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
21952 # Is the header compilable?
21953 echo "$as_me:$LINENO: checking $ac_header usability" >&5
21954 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
21955 cat >conftest.
$ac_ext <<_ACEOF
21958 cat confdefs.h
>>conftest.
$ac_ext
21959 cat >>conftest.
$ac_ext <<_ACEOF
21960 /* end confdefs.h. */
21961 $ac_includes_default
21962 #include <$ac_header>
21964 rm -f conftest.
$ac_objext
21965 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21966 (eval $ac_compile) 2>conftest.er1
21968 grep -v '^ *+' conftest.er1
>conftest.err
21970 cat conftest.err
>&5
21971 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21972 (exit $ac_status); } &&
21973 { ac_try
='test -z "$ac_c_werror_flag"
21974 || test ! -s conftest.err'
21975 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21976 (eval $ac_try) 2>&5
21978 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21979 (exit $ac_status); }; } &&
21980 { ac_try
='test -s conftest.$ac_objext'
21981 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21982 (eval $ac_try) 2>&5
21984 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21985 (exit $ac_status); }; }; then
21986 ac_header_compiler
=yes
21988 echo "$as_me: failed program was:" >&5
21989 sed 's/^/| /' conftest.
$ac_ext >&5
21991 ac_header_compiler
=no
21993 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21994 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
21995 echo "${ECHO_T}$ac_header_compiler" >&6
21997 # Is the header present?
21998 echo "$as_me:$LINENO: checking $ac_header presence" >&5
21999 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
22000 cat >conftest.
$ac_ext <<_ACEOF
22003 cat confdefs.h
>>conftest.
$ac_ext
22004 cat >>conftest.
$ac_ext <<_ACEOF
22005 /* end confdefs.h. */
22006 #include <$ac_header>
22008 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
22009 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
22011 grep -v '^ *+' conftest.er1
>conftest.err
22013 cat conftest.err
>&5
22014 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22015 (exit $ac_status); } >/dev
/null
; then
22016 if test -s conftest.err
; then
22017 ac_cpp_err
=$ac_c_preproc_warn_flag
22018 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
22025 if test -z "$ac_cpp_err"; then
22026 ac_header_preproc
=yes
22028 echo "$as_me: failed program was:" >&5
22029 sed 's/^/| /' conftest.
$ac_ext >&5
22031 ac_header_preproc
=no
22033 rm -f conftest.err conftest.
$ac_ext
22034 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
22035 echo "${ECHO_T}$ac_header_preproc" >&6
22037 # So? What about this header?
22038 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
22040 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
22041 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
22042 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
22043 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
22044 ac_header_preproc
=yes
22047 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
22048 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
22049 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
22050 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
22051 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
22052 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
22053 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
22054 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
22055 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
22056 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
22057 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
22058 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
22061 ## ----------------------------------------- ##
22062 ## Report this to wx-dev@lists.wxwidgets.org ##
22063 ## ----------------------------------------- ##
22066 sed "s/^/$as_me: WARNING: /" >&2
22069 echo "$as_me:$LINENO: checking for $ac_header" >&5
22070 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
22071 if eval "test \"\${$as_ac_Header+set}\" = set"; then
22072 echo $ECHO_N "(cached) $ECHO_C" >&6
22074 eval "$as_ac_Header=\$ac_header_preproc"
22076 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
22077 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
22080 if test `eval echo '${'$as_ac_Header'}'` = yes; then
22081 cat >>confdefs.h
<<_ACEOF
22082 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
22089 if test "${ac_cv_header_windows_h+set}" = set; then
22090 echo "$as_me:$LINENO: checking for windows.h" >&5
22091 echo $ECHO_N "checking for windows.h... $ECHO_C" >&6
22092 if test "${ac_cv_header_windows_h+set}" = set; then
22093 echo $ECHO_N "(cached) $ECHO_C" >&6
22095 echo "$as_me:$LINENO: result: $ac_cv_header_windows_h" >&5
22096 echo "${ECHO_T}$ac_cv_header_windows_h" >&6
22098 # Is the header compilable?
22099 echo "$as_me:$LINENO: checking windows.h usability" >&5
22100 echo $ECHO_N "checking windows.h usability... $ECHO_C" >&6
22101 cat >conftest.
$ac_ext <<_ACEOF
22104 cat confdefs.h
>>conftest.
$ac_ext
22105 cat >>conftest.
$ac_ext <<_ACEOF
22106 /* end confdefs.h. */
22107 $ac_includes_default
22108 #include <windows.h>
22110 rm -f conftest.
$ac_objext
22111 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22112 (eval $ac_compile) 2>conftest.er1
22114 grep -v '^ *+' conftest.er1
>conftest.err
22116 cat conftest.err
>&5
22117 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22118 (exit $ac_status); } &&
22119 { ac_try
='test -z "$ac_c_werror_flag"
22120 || test ! -s conftest.err'
22121 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22122 (eval $ac_try) 2>&5
22124 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22125 (exit $ac_status); }; } &&
22126 { ac_try
='test -s conftest.$ac_objext'
22127 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22128 (eval $ac_try) 2>&5
22130 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22131 (exit $ac_status); }; }; then
22132 ac_header_compiler
=yes
22134 echo "$as_me: failed program was:" >&5
22135 sed 's/^/| /' conftest.
$ac_ext >&5
22137 ac_header_compiler
=no
22139 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
22140 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
22141 echo "${ECHO_T}$ac_header_compiler" >&6
22143 # Is the header present?
22144 echo "$as_me:$LINENO: checking windows.h presence" >&5
22145 echo $ECHO_N "checking windows.h presence... $ECHO_C" >&6
22146 cat >conftest.
$ac_ext <<_ACEOF
22149 cat confdefs.h
>>conftest.
$ac_ext
22150 cat >>conftest.
$ac_ext <<_ACEOF
22151 /* end confdefs.h. */
22152 #include <windows.h>
22154 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
22155 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
22157 grep -v '^ *+' conftest.er1
>conftest.err
22159 cat conftest.err
>&5
22160 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22161 (exit $ac_status); } >/dev
/null
; then
22162 if test -s conftest.err
; then
22163 ac_cpp_err
=$ac_c_preproc_warn_flag
22164 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
22171 if test -z "$ac_cpp_err"; then
22172 ac_header_preproc
=yes
22174 echo "$as_me: failed program was:" >&5
22175 sed 's/^/| /' conftest.
$ac_ext >&5
22177 ac_header_preproc
=no
22179 rm -f conftest.err conftest.
$ac_ext
22180 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
22181 echo "${ECHO_T}$ac_header_preproc" >&6
22183 # So? What about this header?
22184 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
22186 { echo "$as_me:$LINENO: WARNING: windows.h: accepted by the compiler, rejected by the preprocessor!" >&5
22187 echo "$as_me: WARNING: windows.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
22188 { echo "$as_me:$LINENO: WARNING: windows.h: proceeding with the compiler's result" >&5
22189 echo "$as_me: WARNING: windows.h: proceeding with the compiler's result" >&2;}
22190 ac_header_preproc
=yes
22193 { echo "$as_me:$LINENO: WARNING: windows.h: present but cannot be compiled" >&5
22194 echo "$as_me: WARNING: windows.h: present but cannot be compiled" >&2;}
22195 { echo "$as_me:$LINENO: WARNING: windows.h: check for missing prerequisite headers?" >&5
22196 echo "$as_me: WARNING: windows.h: check for missing prerequisite headers?" >&2;}
22197 { echo "$as_me:$LINENO: WARNING: windows.h: see the Autoconf documentation" >&5
22198 echo "$as_me: WARNING: windows.h: see the Autoconf documentation" >&2;}
22199 { echo "$as_me:$LINENO: WARNING: windows.h: section \"Present But Cannot Be Compiled\"" >&5
22200 echo "$as_me: WARNING: windows.h: section \"Present But Cannot Be Compiled\"" >&2;}
22201 { echo "$as_me:$LINENO: WARNING: windows.h: proceeding with the preprocessor's result" >&5
22202 echo "$as_me: WARNING: windows.h: proceeding with the preprocessor's result" >&2;}
22203 { echo "$as_me:$LINENO: WARNING: windows.h: in the future, the compiler will take precedence" >&5
22204 echo "$as_me: WARNING: windows.h: in the future, the compiler will take precedence" >&2;}
22207 ## ----------------------------------------- ##
22208 ## Report this to wx-dev@lists.wxwidgets.org ##
22209 ## ----------------------------------------- ##
22212 sed "s/^/$as_me: WARNING: /" >&2
22215 echo "$as_me:$LINENO: checking for windows.h" >&5
22216 echo $ECHO_N "checking for windows.h... $ECHO_C" >&6
22217 if test "${ac_cv_header_windows_h+set}" = set; then
22218 echo $ECHO_N "(cached) $ECHO_C" >&6
22220 ac_cv_header_windows_h
=$ac_header_preproc
22222 echo "$as_me:$LINENO: result: $ac_cv_header_windows_h" >&5
22223 echo "${ECHO_T}$ac_cv_header_windows_h" >&6
22226 if test $ac_cv_header_windows_h = yes; then
22230 { { echo "$as_me:$LINENO: error: please set CFLAGS to contain the location of windows.h" >&5
22231 echo "$as_me: error: please set CFLAGS to contain the location of windows.h" >&2;}
22232 { (exit 1); exit 1; }; }
22238 LIBS
="$LIBS -lwinspool -lwinmm -lshell32 -lcomctl32 -lcomdlg32 -lctl3d32 -ladvapi32 -lwsock32 -lgdi32"
22240 if test "$wxUSE_ACCESSIBILITY" = "yes" ; then
22241 LIBS
="$LIBS -loleacc"
22246 LIBS
="$LIBS -lkernel32 -luser32"
22247 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -D__WIN95__"
22250 if test "$wxUSE_ODBC" = "sys" ; then
22253 if test "$wxUSE_ODBC" = "yes" ; then
22254 LIBS
=" -lodbc32 -lole32 -loleaut32 $LIBS"
22255 cat >>confdefs.h
<<\_ACEOF
22256 #define wxUSE_ODBC 1
22261 RESFLAGS
="--include-dir \$(top_srcdir)/include --include-dir \$(top_srcdir)/\$(program_dir) --define __WIN32__ --define __WIN95__ --define __GNUWIN32__"
22262 RESPROGRAMOBJ
="\$(PROGRAM)_resources.o"
22264 WIN32INSTALL
=win32install
22267 if test "$wxUSE_GUI" = "yes"; then
22277 if test "$wxUSE_MSW" = 1 ; then
22283 WXCONFIG_LDFLAGS_GUI
="$LDFLAGS -Wl,--subsystem,windows -mwindows"
22287 if test "$wxUSE_GTK" = 1; then
22288 echo "$as_me:$LINENO: checking for GTK+ version" >&5
22289 echo $ECHO_N "checking for GTK+ version... $ECHO_C" >&6
22291 gtk_version_cached
=1
22292 if test "${wx_cv_lib_gtk+set}" = set; then
22293 echo $ECHO_N "(cached) $ECHO_C" >&6
22296 gtk_version_cached
=0
22297 echo "$as_me:$LINENO: result: " >&5
22298 echo "${ECHO_T}" >&6
22301 if test "$wxUSE_THREADS" = "yes"; then
22302 GTK_MODULES
=gthread
22306 if test "x$wxUSE_GTK2" = "xyes"; then
22307 # Check whether --enable-gtktest or --disable-gtktest was given.
22308 if test "${enable_gtktest+set}" = set; then
22309 enableval
="$enable_gtktest"
22315 pkg_config_args
=gtk
+-2.0
22316 for module
in .
$GTK_MODULES
22320 pkg_config_args
="$pkg_config_args gthread-2.0"
22327 # Extract the first word of "pkg-config", so it can be a program name with args.
22328 set dummy pkg
-config; ac_word
=$2
22329 echo "$as_me:$LINENO: checking for $ac_word" >&5
22330 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
22331 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
22332 echo $ECHO_N "(cached) $ECHO_C" >&6
22334 case $PKG_CONFIG in
22336 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
22339 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
22340 for as_dir
in $PATH
22343 test -z "$as_dir" && as_dir
=.
22344 for ac_exec_ext
in '' $ac_executable_extensions; do
22345 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
22346 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
22347 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
22353 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
22357 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
22359 if test -n "$PKG_CONFIG"; then
22360 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
22361 echo "${ECHO_T}$PKG_CONFIG" >&6
22363 echo "$as_me:$LINENO: result: no" >&5
22364 echo "${ECHO_T}no" >&6
22368 if test x
$PKG_CONFIG != xno
; then
22369 if pkg
-config --atleast-pkgconfig-version 0.7 ; then
22372 echo "*** pkg-config too old; version 0.7 or better required."
22380 min_gtk_version
=2.0.0
22381 echo "$as_me:$LINENO: checking for GTK+ - version >= $min_gtk_version" >&5
22382 echo $ECHO_N "checking for GTK+ - version >= $min_gtk_version... $ECHO_C" >&6
22384 if test x
$PKG_CONFIG != xno
; then
22385 ## don't try to run the test against uninstalled libtool libs
22386 if $PKG_CONFIG --uninstalled $pkg_config_args; then
22387 echo "Will use uninstalled version of GTK+ found in PKG_CONFIG_PATH"
22391 if $PKG_CONFIG --atleast-version $min_gtk_version $pkg_config_args; then
22398 if test x
"$no_gtk" = x
; then
22399 GTK_CFLAGS
=`$PKG_CONFIG $pkg_config_args --cflags`
22400 GTK_LIBS
=`$PKG_CONFIG $pkg_config_args --libs`
22401 gtk_config_major_version
=`$PKG_CONFIG --modversion gtk+-2.0 | \
22402 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
22403 gtk_config_minor_version
=`$PKG_CONFIG --modversion gtk+-2.0 | \
22404 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
22405 gtk_config_micro_version
=`$PKG_CONFIG --modversion gtk+-2.0 | \
22406 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
22407 if test "x$enable_gtktest" = "xyes" ; then
22408 ac_save_CFLAGS
="$CFLAGS"
22409 ac_save_LIBS
="$LIBS"
22410 CFLAGS
="$CFLAGS $GTK_CFLAGS"
22411 LIBS
="$GTK_LIBS $LIBS"
22413 if test "$cross_compiling" = yes; then
22414 echo $ac_n "cross compiling; assumed OK... $ac_c"
22416 cat >conftest.
$ac_ext <<_ACEOF
22419 cat confdefs.h
>>conftest.
$ac_ext
22420 cat >>conftest.
$ac_ext <<_ACEOF
22421 /* end confdefs.h. */
22423 #include <gtk/gtk.h>
22425 #include <stdlib.h>
22430 int major, minor, micro;
22433 system ("touch conf.gtktest");
22435 /* HP/UX 9 (%@#!) writes to sscanf strings */
22436 tmp_version = g_strdup("$min_gtk_version");
22437 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
22438 printf("%s, bad version string\n", "$min_gtk_version");
22442 if ((gtk_major_version != $gtk_config_major_version) ||
22443 (gtk_minor_version != $gtk_config_minor_version) ||
22444 (gtk_micro_version != $gtk_config_micro_version))
22446 printf("\n*** 'pkg-config --modversion gtk+-2.0' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
22447 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
22448 gtk_major_version, gtk_minor_version, gtk_micro_version);
22449 printf ("*** was found! If pkg-config was correct, then it is best\n");
22450 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
22451 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
22452 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
22453 printf("*** required on your system.\n");
22454 printf("*** If pkg-config was wrong, set the environment variable PKG_CONFIG_PATH\n");
22455 printf("*** to point to the correct configuration files\n");
22457 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
22458 (gtk_minor_version != GTK_MINOR_VERSION) ||
22459 (gtk_micro_version != GTK_MICRO_VERSION))
22461 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
22462 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
22463 printf("*** library (version %d.%d.%d)\n",
22464 gtk_major_version, gtk_minor_version, gtk_micro_version);
22468 if ((gtk_major_version > major) ||
22469 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
22470 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
22476 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
22477 gtk_major_version, gtk_minor_version, gtk_micro_version);
22478 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
22479 major, minor, micro);
22480 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
22482 printf("*** If you have already installed a sufficiently new version, this error\n");
22483 printf("*** probably means that the wrong copy of the pkg-config shell script is\n");
22484 printf("*** being found. The easiest way to fix this is to remove the old version\n");
22485 printf("*** of GTK+, but you can also set the PKG_CONFIG environment to point to the\n");
22486 printf("*** correct copy of pkg-config. (In this case, you will have to\n");
22487 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
22488 printf("*** so that the correct libraries are found at run-time))\n");
22495 rm -f conftest
$ac_exeext
22496 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22497 (eval $ac_link) 2>&5
22499 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22500 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
22501 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22502 (eval $ac_try) 2>&5
22504 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22505 (exit $ac_status); }; }; then
22508 echo "$as_me: program exited with status $ac_status" >&5
22509 echo "$as_me: failed program was:" >&5
22510 sed 's/^/| /' conftest.
$ac_ext >&5
22512 ( exit $ac_status )
22515 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
22517 CFLAGS
="$ac_save_CFLAGS"
22518 LIBS
="$ac_save_LIBS"
22521 if test "x$no_gtk" = x
; then
22522 echo "$as_me:$LINENO: result: yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&5
22523 echo "${ECHO_T}yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&6
22526 echo "$as_me:$LINENO: result: no" >&5
22527 echo "${ECHO_T}no" >&6
22528 if test "$PKG_CONFIG" = "no" ; then
22529 echo "*** A new enough version of pkg-config was not found."
22530 echo "*** See http://pkgconfig.sourceforge.net"
22532 if test -f conf.gtktest
; then
22535 echo "*** Could not run GTK+ test program, checking why..."
22536 ac_save_CFLAGS
="$CFLAGS"
22537 ac_save_LIBS
="$LIBS"
22538 CFLAGS
="$CFLAGS $GTK_CFLAGS"
22539 LIBS
="$LIBS $GTK_LIBS"
22540 cat >conftest.
$ac_ext <<_ACEOF
22543 cat confdefs.h
>>conftest.
$ac_ext
22544 cat >>conftest.
$ac_ext <<_ACEOF
22545 /* end confdefs.h. */
22547 #include <gtk/gtk.h>
22553 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
22558 rm -f conftest.
$ac_objext conftest
$ac_exeext
22559 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22560 (eval $ac_link) 2>conftest.er1
22562 grep -v '^ *+' conftest.er1
>conftest.err
22564 cat conftest.err
>&5
22565 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22566 (exit $ac_status); } &&
22567 { ac_try
='test -z "$ac_c_werror_flag"
22568 || test ! -s conftest.err'
22569 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22570 (eval $ac_try) 2>&5
22572 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22573 (exit $ac_status); }; } &&
22574 { ac_try
='test -s conftest$ac_exeext'
22575 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22576 (eval $ac_try) 2>&5
22578 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22579 (exit $ac_status); }; }; then
22580 echo "*** The test program compiled, but did not run. This usually means"
22581 echo "*** that the run-time linker is not finding GTK+ or finding the wrong"
22582 echo "*** version of GTK+. If it is not finding GTK+, you'll need to set your"
22583 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
22584 echo "*** to the installed location Also, make sure you have run ldconfig if that"
22585 echo "*** is required on your system"
22587 echo "*** If you have an old version installed, it is best to remove it, although"
22588 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
22590 echo "$as_me: failed program was:" >&5
22591 sed 's/^/| /' conftest.
$ac_ext >&5
22593 echo "*** The test program failed to compile or link. See the file config.log for the"
22594 echo "*** exact error that occured. This usually means GTK+ is incorrectly installed."
22596 rm -f conftest.err conftest.
$ac_objext \
22597 conftest
$ac_exeext conftest.
$ac_ext
22598 CFLAGS
="$ac_save_CFLAGS"
22599 LIBS
="$ac_save_LIBS"
22612 # Check whether --with-gtk-prefix or --without-gtk-prefix was given.
22613 if test "${with_gtk_prefix+set}" = set; then
22614 withval
="$with_gtk_prefix"
22615 gtk_config_prefix
="$withval"
22617 gtk_config_prefix
=""
22620 # Check whether --with-gtk-exec-prefix or --without-gtk-exec-prefix was given.
22621 if test "${with_gtk_exec_prefix+set}" = set; then
22622 withval
="$with_gtk_exec_prefix"
22623 gtk_config_exec_prefix
="$withval"
22625 gtk_config_exec_prefix
=""
22627 # Check whether --enable-gtktest or --disable-gtktest was given.
22628 if test "${enable_gtktest+set}" = set; then
22629 enableval
="$enable_gtktest"
22635 for module
in .
$GTK_MODULES
22639 gtk_config_args
="$gtk_config_args gthread"
22644 if test x
$gtk_config_exec_prefix != x
; then
22645 gtk_config_args
="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
22646 if test x
${GTK_CONFIG+set} != xset
; then
22647 GTK_CONFIG
=$gtk_config_exec_prefix/bin
/gtk
-config
22650 if test x
$gtk_config_prefix != x
; then
22651 gtk_config_args
="$gtk_config_args --prefix=$gtk_config_prefix"
22652 if test x
${GTK_CONFIG+set} != xset
; then
22653 GTK_CONFIG
=$gtk_config_prefix/bin
/gtk
-config
22657 # Extract the first word of "gtk-config", so it can be a program name with args.
22658 set dummy gtk
-config; ac_word
=$2
22659 echo "$as_me:$LINENO: checking for $ac_word" >&5
22660 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
22661 if test "${ac_cv_path_GTK_CONFIG+set}" = set; then
22662 echo $ECHO_N "(cached) $ECHO_C" >&6
22664 case $GTK_CONFIG in
22666 ac_cv_path_GTK_CONFIG
="$GTK_CONFIG" # Let the user override the test with a path.
22669 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
22670 for as_dir
in $PATH
22673 test -z "$as_dir" && as_dir
=.
22674 for ac_exec_ext
in '' $ac_executable_extensions; do
22675 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
22676 ac_cv_path_GTK_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
22677 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
22683 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG
="no"
22687 GTK_CONFIG
=$ac_cv_path_GTK_CONFIG
22689 if test -n "$GTK_CONFIG"; then
22690 echo "$as_me:$LINENO: result: $GTK_CONFIG" >&5
22691 echo "${ECHO_T}$GTK_CONFIG" >&6
22693 echo "$as_me:$LINENO: result: no" >&5
22694 echo "${ECHO_T}no" >&6
22697 min_gtk_version
=1.2.7
22698 echo "$as_me:$LINENO: checking for GTK - version >= $min_gtk_version" >&5
22699 echo $ECHO_N "checking for GTK - version >= $min_gtk_version... $ECHO_C" >&6
22701 if test "$GTK_CONFIG" = "no" ; then
22704 GTK_CFLAGS
=`$GTK_CONFIG $gtk_config_args --cflags`
22705 GTK_LIBS
=`$GTK_CONFIG $gtk_config_args --libs`
22706 gtk_config_major_version
=`$GTK_CONFIG $gtk_config_args --version | \
22707 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
22708 gtk_config_minor_version
=`$GTK_CONFIG $gtk_config_args --version | \
22709 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
22710 gtk_config_micro_version
=`$GTK_CONFIG $gtk_config_args --version | \
22711 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
22712 if test "x$enable_gtktest" = "xyes" ; then
22713 ac_save_CFLAGS
="$CFLAGS"
22714 ac_save_LIBS
="$LIBS"
22715 CFLAGS
="$CFLAGS $GTK_CFLAGS"
22716 LIBS
="$GTK_LIBS $LIBS"
22718 if test "$cross_compiling" = yes; then
22719 echo $ac_n "cross compiling; assumed OK... $ac_c"
22721 cat >conftest.
$ac_ext <<_ACEOF
22724 cat confdefs.h
>>conftest.
$ac_ext
22725 cat >>conftest.
$ac_ext <<_ACEOF
22726 /* end confdefs.h. */
22728 #include <gtk/gtk.h>
22730 #include <stdlib.h>
22735 int major, minor, micro;
22738 system ("touch conf.gtktest");
22740 /* HP/UX 9 (%@#!) writes to sscanf strings */
22741 tmp_version = g_strdup("$min_gtk_version");
22742 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
22743 printf("%s, bad version string\n", "$min_gtk_version");
22747 if ((gtk_major_version != $gtk_config_major_version) ||
22748 (gtk_minor_version != $gtk_config_minor_version) ||
22749 (gtk_micro_version != $gtk_config_micro_version))
22751 printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
22752 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
22753 gtk_major_version, gtk_minor_version, gtk_micro_version);
22754 printf ("*** was found! If gtk-config was correct, then it is best\n");
22755 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
22756 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
22757 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
22758 printf("*** required on your system.\n");
22759 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
22760 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
22761 printf("*** before re-running configure\n");
22763 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
22764 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
22765 (gtk_minor_version != GTK_MINOR_VERSION) ||
22766 (gtk_micro_version != GTK_MICRO_VERSION))
22768 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
22769 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
22770 printf("*** library (version %d.%d.%d)\n",
22771 gtk_major_version, gtk_minor_version, gtk_micro_version);
22773 #endif /* defined (GTK_MAJOR_VERSION) ... */
22776 if ((gtk_major_version > major) ||
22777 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
22778 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
22784 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
22785 gtk_major_version, gtk_minor_version, gtk_micro_version);
22786 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
22787 major, minor, micro);
22788 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
22790 printf("*** If you have already installed a sufficiently new version, this error\n");
22791 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
22792 printf("*** being found. The easiest way to fix this is to remove the old version\n");
22793 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
22794 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
22795 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
22796 printf("*** so that the correct libraries are found at run-time))\n");
22803 rm -f conftest
$ac_exeext
22804 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22805 (eval $ac_link) 2>&5
22807 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22808 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
22809 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22810 (eval $ac_try) 2>&5
22812 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22813 (exit $ac_status); }; }; then
22816 echo "$as_me: program exited with status $ac_status" >&5
22817 echo "$as_me: failed program was:" >&5
22818 sed 's/^/| /' conftest.
$ac_ext >&5
22820 ( exit $ac_status )
22823 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
22825 CFLAGS
="$ac_save_CFLAGS"
22826 LIBS
="$ac_save_LIBS"
22829 if test "x$no_gtk" = x
; then
22830 echo "$as_me:$LINENO: result: yes" >&5
22831 echo "${ECHO_T}yes" >&6
22832 wx_cv_lib_gtk
=1.2.7
22834 echo "$as_me:$LINENO: result: no" >&5
22835 echo "${ECHO_T}no" >&6
22836 if test "$GTK_CONFIG" = "no" ; then
22837 echo "*** The gtk-config script installed by GTK could not be found"
22838 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
22839 echo "*** your path, or set the GTK_CONFIG environment variable to the"
22840 echo "*** full path to gtk-config."
22842 if test -f conf.gtktest
; then
22845 echo "*** Could not run GTK test program, checking why..."
22846 CFLAGS
="$CFLAGS $GTK_CFLAGS"
22847 LIBS
="$LIBS $GTK_LIBS"
22848 cat >conftest.
$ac_ext <<_ACEOF
22851 cat confdefs.h
>>conftest.
$ac_ext
22852 cat >>conftest.
$ac_ext <<_ACEOF
22853 /* end confdefs.h. */
22855 #include <gtk/gtk.h>
22861 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
22866 rm -f conftest.
$ac_objext conftest
$ac_exeext
22867 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22868 (eval $ac_link) 2>conftest.er1
22870 grep -v '^ *+' conftest.er1
>conftest.err
22872 cat conftest.err
>&5
22873 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22874 (exit $ac_status); } &&
22875 { ac_try
='test -z "$ac_c_werror_flag"
22876 || test ! -s conftest.err'
22877 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22878 (eval $ac_try) 2>&5
22880 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22881 (exit $ac_status); }; } &&
22882 { ac_try
='test -s conftest$ac_exeext'
22883 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22884 (eval $ac_try) 2>&5
22886 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22887 (exit $ac_status); }; }; then
22888 echo "*** The test program compiled, but did not run. This usually means"
22889 echo "*** that the run-time linker is not finding GTK or finding the wrong"
22890 echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
22891 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
22892 echo "*** to the installed location Also, make sure you have run ldconfig if that"
22893 echo "*** is required on your system"
22895 echo "*** If you have an old version installed, it is best to remove it, although"
22896 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
22898 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
22899 echo "*** came with the system with the command"
22901 echo "*** rpm --erase --nodeps gtk gtk-devel"
22903 echo "$as_me: failed program was:" >&5
22904 sed 's/^/| /' conftest.
$ac_ext >&5
22906 echo "*** The test program failed to compile or link. See the file config.log for the"
22907 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
22908 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
22909 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
22911 rm -f conftest.err conftest.
$ac_objext \
22912 conftest
$ac_exeext conftest.
$ac_ext
22913 CFLAGS
="$ac_save_CFLAGS"
22914 LIBS
="$ac_save_LIBS"
22926 if test -z "$wx_cv_lib_gtk"; then
22928 # Check whether --with-gtk-prefix or --without-gtk-prefix was given.
22929 if test "${with_gtk_prefix+set}" = set; then
22930 withval
="$with_gtk_prefix"
22931 gtk_config_prefix
="$withval"
22933 gtk_config_prefix
=""
22936 # Check whether --with-gtk-exec-prefix or --without-gtk-exec-prefix was given.
22937 if test "${with_gtk_exec_prefix+set}" = set; then
22938 withval
="$with_gtk_exec_prefix"
22939 gtk_config_exec_prefix
="$withval"
22941 gtk_config_exec_prefix
=""
22943 # Check whether --enable-gtktest or --disable-gtktest was given.
22944 if test "${enable_gtktest+set}" = set; then
22945 enableval
="$enable_gtktest"
22951 for module
in .
$GTK_MODULES
22955 gtk_config_args
="$gtk_config_args gthread"
22960 if test x
$gtk_config_exec_prefix != x
; then
22961 gtk_config_args
="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
22962 if test x
${GTK_CONFIG+set} != xset
; then
22963 GTK_CONFIG
=$gtk_config_exec_prefix/bin
/gtk
-config
22966 if test x
$gtk_config_prefix != x
; then
22967 gtk_config_args
="$gtk_config_args --prefix=$gtk_config_prefix"
22968 if test x
${GTK_CONFIG+set} != xset
; then
22969 GTK_CONFIG
=$gtk_config_prefix/bin
/gtk
-config
22973 # Extract the first word of "gtk-config", so it can be a program name with args.
22974 set dummy gtk
-config; ac_word
=$2
22975 echo "$as_me:$LINENO: checking for $ac_word" >&5
22976 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
22977 if test "${ac_cv_path_GTK_CONFIG+set}" = set; then
22978 echo $ECHO_N "(cached) $ECHO_C" >&6
22980 case $GTK_CONFIG in
22982 ac_cv_path_GTK_CONFIG
="$GTK_CONFIG" # Let the user override the test with a path.
22985 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
22986 for as_dir
in $PATH
22989 test -z "$as_dir" && as_dir
=.
22990 for ac_exec_ext
in '' $ac_executable_extensions; do
22991 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
22992 ac_cv_path_GTK_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
22993 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
22999 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG
="no"
23003 GTK_CONFIG
=$ac_cv_path_GTK_CONFIG
23005 if test -n "$GTK_CONFIG"; then
23006 echo "$as_me:$LINENO: result: $GTK_CONFIG" >&5
23007 echo "${ECHO_T}$GTK_CONFIG" >&6
23009 echo "$as_me:$LINENO: result: no" >&5
23010 echo "${ECHO_T}no" >&6
23013 min_gtk_version
=1.2.3
23014 echo "$as_me:$LINENO: checking for GTK - version >= $min_gtk_version" >&5
23015 echo $ECHO_N "checking for GTK - version >= $min_gtk_version... $ECHO_C" >&6
23017 if test "$GTK_CONFIG" = "no" ; then
23020 GTK_CFLAGS
=`$GTK_CONFIG $gtk_config_args --cflags`
23021 GTK_LIBS
=`$GTK_CONFIG $gtk_config_args --libs`
23022 gtk_config_major_version
=`$GTK_CONFIG $gtk_config_args --version | \
23023 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
23024 gtk_config_minor_version
=`$GTK_CONFIG $gtk_config_args --version | \
23025 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
23026 gtk_config_micro_version
=`$GTK_CONFIG $gtk_config_args --version | \
23027 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
23028 if test "x$enable_gtktest" = "xyes" ; then
23029 ac_save_CFLAGS
="$CFLAGS"
23030 ac_save_LIBS
="$LIBS"
23031 CFLAGS
="$CFLAGS $GTK_CFLAGS"
23032 LIBS
="$GTK_LIBS $LIBS"
23034 if test "$cross_compiling" = yes; then
23035 echo $ac_n "cross compiling; assumed OK... $ac_c"
23037 cat >conftest.
$ac_ext <<_ACEOF
23040 cat confdefs.h
>>conftest.
$ac_ext
23041 cat >>conftest.
$ac_ext <<_ACEOF
23042 /* end confdefs.h. */
23044 #include <gtk/gtk.h>
23046 #include <stdlib.h>
23051 int major, minor, micro;
23054 system ("touch conf.gtktest");
23056 /* HP/UX 9 (%@#!) writes to sscanf strings */
23057 tmp_version = g_strdup("$min_gtk_version");
23058 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
23059 printf("%s, bad version string\n", "$min_gtk_version");
23063 if ((gtk_major_version != $gtk_config_major_version) ||
23064 (gtk_minor_version != $gtk_config_minor_version) ||
23065 (gtk_micro_version != $gtk_config_micro_version))
23067 printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
23068 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
23069 gtk_major_version, gtk_minor_version, gtk_micro_version);
23070 printf ("*** was found! If gtk-config was correct, then it is best\n");
23071 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
23072 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
23073 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
23074 printf("*** required on your system.\n");
23075 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
23076 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
23077 printf("*** before re-running configure\n");
23079 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
23080 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
23081 (gtk_minor_version != GTK_MINOR_VERSION) ||
23082 (gtk_micro_version != GTK_MICRO_VERSION))
23084 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
23085 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
23086 printf("*** library (version %d.%d.%d)\n",
23087 gtk_major_version, gtk_minor_version, gtk_micro_version);
23089 #endif /* defined (GTK_MAJOR_VERSION) ... */
23092 if ((gtk_major_version > major) ||
23093 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
23094 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
23100 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
23101 gtk_major_version, gtk_minor_version, gtk_micro_version);
23102 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
23103 major, minor, micro);
23104 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
23106 printf("*** If you have already installed a sufficiently new version, this error\n");
23107 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
23108 printf("*** being found. The easiest way to fix this is to remove the old version\n");
23109 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
23110 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
23111 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
23112 printf("*** so that the correct libraries are found at run-time))\n");
23119 rm -f conftest
$ac_exeext
23120 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23121 (eval $ac_link) 2>&5
23123 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23124 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
23125 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23126 (eval $ac_try) 2>&5
23128 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23129 (exit $ac_status); }; }; then
23132 echo "$as_me: program exited with status $ac_status" >&5
23133 echo "$as_me: failed program was:" >&5
23134 sed 's/^/| /' conftest.
$ac_ext >&5
23136 ( exit $ac_status )
23139 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
23141 CFLAGS
="$ac_save_CFLAGS"
23142 LIBS
="$ac_save_LIBS"
23145 if test "x$no_gtk" = x
; then
23146 echo "$as_me:$LINENO: result: yes" >&5
23147 echo "${ECHO_T}yes" >&6
23148 wx_cv_lib_gtk
=1.2.3
23150 echo "$as_me:$LINENO: result: no" >&5
23151 echo "${ECHO_T}no" >&6
23152 if test "$GTK_CONFIG" = "no" ; then
23153 echo "*** The gtk-config script installed by GTK could not be found"
23154 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
23155 echo "*** your path, or set the GTK_CONFIG environment variable to the"
23156 echo "*** full path to gtk-config."
23158 if test -f conf.gtktest
; then
23161 echo "*** Could not run GTK test program, checking why..."
23162 CFLAGS
="$CFLAGS $GTK_CFLAGS"
23163 LIBS
="$LIBS $GTK_LIBS"
23164 cat >conftest.
$ac_ext <<_ACEOF
23167 cat confdefs.h
>>conftest.
$ac_ext
23168 cat >>conftest.
$ac_ext <<_ACEOF
23169 /* end confdefs.h. */
23171 #include <gtk/gtk.h>
23177 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
23182 rm -f conftest.
$ac_objext conftest
$ac_exeext
23183 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23184 (eval $ac_link) 2>conftest.er1
23186 grep -v '^ *+' conftest.er1
>conftest.err
23188 cat conftest.err
>&5
23189 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23190 (exit $ac_status); } &&
23191 { ac_try
='test -z "$ac_c_werror_flag"
23192 || test ! -s conftest.err'
23193 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23194 (eval $ac_try) 2>&5
23196 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23197 (exit $ac_status); }; } &&
23198 { ac_try
='test -s conftest$ac_exeext'
23199 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23200 (eval $ac_try) 2>&5
23202 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23203 (exit $ac_status); }; }; then
23204 echo "*** The test program compiled, but did not run. This usually means"
23205 echo "*** that the run-time linker is not finding GTK or finding the wrong"
23206 echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
23207 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
23208 echo "*** to the installed location Also, make sure you have run ldconfig if that"
23209 echo "*** is required on your system"
23211 echo "*** If you have an old version installed, it is best to remove it, although"
23212 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
23214 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
23215 echo "*** came with the system with the command"
23217 echo "*** rpm --erase --nodeps gtk gtk-devel"
23219 echo "$as_me: failed program was:" >&5
23220 sed 's/^/| /' conftest.
$ac_ext >&5
23222 echo "*** The test program failed to compile or link. See the file config.log for the"
23223 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
23224 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
23225 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
23227 rm -f conftest.err conftest.
$ac_objext \
23228 conftest
$ac_exeext conftest.
$ac_ext
23229 CFLAGS
="$ac_save_CFLAGS"
23230 LIBS
="$ac_save_LIBS"
23244 if test -z "$wx_cv_lib_gtk"; then
23247 wx_cv_cflags_gtk
=$GTK_CFLAGS
23248 wx_cv_libs_gtk
=$GTK_LIBS
23255 if test "$gtk_version_cached" = 1; then
23256 echo "$as_me:$LINENO: result: $wx_cv_lib_gtk" >&5
23257 echo "${ECHO_T}$wx_cv_lib_gtk" >&6
23260 case "$wx_cv_lib_gtk" in
23269 *) { { echo "$as_me:$LINENO: error:
23270 Please check that gtk-config is in path, the directory
23271 where GTK+ libraries are installed (returned by
23272 'gtk-config --libs' command) is in LD_LIBRARY_PATH or
23273 equivalent variable and GTK+ is version 1.2.3 or above.
23275 echo "$as_me: error:
23276 Please check that gtk-config is in path, the directory
23277 where GTK+ libraries are installed (returned by
23278 'gtk-config --libs' command) is in LD_LIBRARY_PATH or
23279 equivalent variable and GTK+ is version 1.2.3 or above.
23281 { (exit 1); exit 1; }; }
23285 if test "$WXGTK20" = 1; then
23286 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
23290 if test -z "$PKG_CONFIG"; then
23291 # Extract the first word of "pkg-config", so it can be a program name with args.
23292 set dummy pkg
-config; ac_word
=$2
23293 echo "$as_me:$LINENO: checking for $ac_word" >&5
23294 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
23295 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
23296 echo $ECHO_N "(cached) $ECHO_C" >&6
23298 case $PKG_CONFIG in
23300 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
23303 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
23304 for as_dir
in $PATH
23307 test -z "$as_dir" && as_dir
=.
23308 for ac_exec_ext
in '' $ac_executable_extensions; do
23309 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
23310 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
23311 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
23317 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
23321 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
23323 if test -n "$PKG_CONFIG"; then
23324 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
23325 echo "${ECHO_T}$PKG_CONFIG" >&6
23327 echo "$as_me:$LINENO: result: no" >&5
23328 echo "${ECHO_T}no" >&6
23333 if test "$PKG_CONFIG" = "no" ; then
23334 echo "*** The pkg-config script could not be found. Make sure it is"
23335 echo "*** in your path, or set the PKG_CONFIG environment variable"
23336 echo "*** to the full path to pkg-config."
23337 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
23339 PKG_CONFIG_MIN_VERSION
=0.9.0
23340 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
23341 echo "$as_me:$LINENO: checking for pangoft2" >&5
23342 echo $ECHO_N "checking for pangoft2... $ECHO_C" >&6
23344 if $PKG_CONFIG --exists "pangoft2" ; then
23345 echo "$as_me:$LINENO: result: yes" >&5
23346 echo "${ECHO_T}yes" >&6
23349 echo "$as_me:$LINENO: checking PANGOFT2_CFLAGS" >&5
23350 echo $ECHO_N "checking PANGOFT2_CFLAGS... $ECHO_C" >&6
23351 PANGOFT2_CFLAGS
=`$PKG_CONFIG --cflags "pangoft2"`
23352 echo "$as_me:$LINENO: result: $PANGOFT2_CFLAGS" >&5
23353 echo "${ECHO_T}$PANGOFT2_CFLAGS" >&6
23355 echo "$as_me:$LINENO: checking PANGOFT2_LIBS" >&5
23356 echo $ECHO_N "checking PANGOFT2_LIBS... $ECHO_C" >&6
23357 PANGOFT2_LIBS
=`$PKG_CONFIG --libs "pangoft2"`
23358 echo "$as_me:$LINENO: result: $PANGOFT2_LIBS" >&5
23359 echo "${ECHO_T}$PANGOFT2_LIBS" >&6
23363 ## If we have a custom action on failure, don't print errors, but
23364 ## do set a variable so people can do so.
23365 PANGOFT2_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoft2"`
23372 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
23373 echo "*** See http://www.freedesktop.org/software/pkgconfig"
23377 if test $succeeded = yes; then
23379 CXXFLAGS
="$CXXFLAGS $PANGOFT2_CFLAGS"
23380 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY $PANGOFT2_LIBS"
23384 { echo "$as_me:$LINENO: WARNING: pangoft2 library not found, library will be compiled without printing support" >&5
23385 echo "$as_me: WARNING: pangoft2 library not found, library will be compiled without printing support" >&2;}
23386 wxUSE_PRINTING_ARCHITECTURE
="no"
23393 save_CFLAGS
="$CFLAGS"
23395 CFLAGS
="$CFLAGS $GTK_CFLAGS"
23396 LIBS
="$LIBS $GTK_LIBS"
23398 for ac_func
in pango_font_family_is_monospace
23400 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
23401 echo "$as_me:$LINENO: checking for $ac_func" >&5
23402 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
23403 if eval "test \"\${$as_ac_var+set}\" = set"; then
23404 echo $ECHO_N "(cached) $ECHO_C" >&6
23406 cat >conftest.
$ac_ext <<_ACEOF
23409 cat confdefs.h
>>conftest.
$ac_ext
23410 cat >>conftest.
$ac_ext <<_ACEOF
23411 /* end confdefs.h. */
23412 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
23413 For example, HP-UX 11i <limits.h> declares gettimeofday. */
23414 #define $ac_func innocuous_$ac_func
23416 /* System header to define __stub macros and hopefully few prototypes,
23417 which can conflict with char $ac_func (); below.
23418 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
23419 <limits.h> exists even on freestanding compilers. */
23422 # include <limits.h>
23424 # include <assert.h>
23429 /* Override any gcc2 internal prototype to avoid an error. */
23434 /* We use char because int might match the return type of a gcc2
23435 builtin and then its argument prototype would still apply. */
23437 /* The GNU C library defines this for functions which it implements
23438 to always fail with ENOSYS. Some functions are actually named
23439 something starting with __ and the normal name is an alias. */
23440 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
23443 char (*f) () = $ac_func;
23452 return f != $ac_func;
23457 rm -f conftest.
$ac_objext conftest
$ac_exeext
23458 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23459 (eval $ac_link) 2>conftest.er1
23461 grep -v '^ *+' conftest.er1
>conftest.err
23463 cat conftest.err
>&5
23464 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23465 (exit $ac_status); } &&
23466 { ac_try
='test -z "$ac_c_werror_flag"
23467 || test ! -s conftest.err'
23468 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23469 (eval $ac_try) 2>&5
23471 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23472 (exit $ac_status); }; } &&
23473 { ac_try
='test -s conftest$ac_exeext'
23474 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23475 (eval $ac_try) 2>&5
23477 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23478 (exit $ac_status); }; }; then
23479 eval "$as_ac_var=yes"
23481 echo "$as_me: failed program was:" >&5
23482 sed 's/^/| /' conftest.
$ac_ext >&5
23484 eval "$as_ac_var=no"
23486 rm -f conftest.err conftest.
$ac_objext \
23487 conftest
$ac_exeext conftest.
$ac_ext
23489 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
23490 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
23491 if test `eval echo '${'$as_ac_var'}'` = yes; then
23492 cat >>confdefs.h
<<_ACEOF
23493 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
23499 CFLAGS
="$save_CFLAGS"
23502 if test "$wxUSE_UNICODE" = "yes"; then
23503 { echo "$as_me:$LINENO: WARNING: Unicode configuration not supported with GTK+ 1.x" >&5
23504 echo "$as_me: WARNING: Unicode configuration not supported with GTK+ 1.x" >&2;}
23509 if test "$USE_DARWIN" != 1; then
23511 for ac_func
in poll
23513 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
23514 echo "$as_me:$LINENO: checking for $ac_func" >&5
23515 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
23516 if eval "test \"\${$as_ac_var+set}\" = set"; then
23517 echo $ECHO_N "(cached) $ECHO_C" >&6
23519 cat >conftest.
$ac_ext <<_ACEOF
23522 cat confdefs.h
>>conftest.
$ac_ext
23523 cat >>conftest.
$ac_ext <<_ACEOF
23524 /* end confdefs.h. */
23525 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
23526 For example, HP-UX 11i <limits.h> declares gettimeofday. */
23527 #define $ac_func innocuous_$ac_func
23529 /* System header to define __stub macros and hopefully few prototypes,
23530 which can conflict with char $ac_func (); below.
23531 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
23532 <limits.h> exists even on freestanding compilers. */
23535 # include <limits.h>
23537 # include <assert.h>
23542 /* Override any gcc2 internal prototype to avoid an error. */
23547 /* We use char because int might match the return type of a gcc2
23548 builtin and then its argument prototype would still apply. */
23550 /* The GNU C library defines this for functions which it implements
23551 to always fail with ENOSYS. Some functions are actually named
23552 something starting with __ and the normal name is an alias. */
23553 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
23556 char (*f) () = $ac_func;
23565 return f != $ac_func;
23570 rm -f conftest.
$ac_objext conftest
$ac_exeext
23571 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23572 (eval $ac_link) 2>conftest.er1
23574 grep -v '^ *+' conftest.er1
>conftest.err
23576 cat conftest.err
>&5
23577 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23578 (exit $ac_status); } &&
23579 { ac_try
='test -z "$ac_c_werror_flag"
23580 || test ! -s conftest.err'
23581 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23582 (eval $ac_try) 2>&5
23584 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23585 (exit $ac_status); }; } &&
23586 { ac_try
='test -s conftest$ac_exeext'
23587 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23588 (eval $ac_try) 2>&5
23590 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23591 (exit $ac_status); }; }; then
23592 eval "$as_ac_var=yes"
23594 echo "$as_me: failed program was:" >&5
23595 sed 's/^/| /' conftest.
$ac_ext >&5
23597 eval "$as_ac_var=no"
23599 rm -f conftest.err conftest.
$ac_objext \
23600 conftest
$ac_exeext conftest.
$ac_ext
23602 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
23603 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
23604 if test `eval echo '${'$as_ac_var'}'` = yes; then
23605 cat >>confdefs.h
<<_ACEOF
23606 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
23614 TOOLKIT_INCLUDE
="$wx_cv_cflags_gtk"
23615 GUI_TK_LIBRARY
="$wx_cv_libs_gtk $GUI_TK_LIBRARY"
23617 AFMINSTALL
=afminstall
23621 echo "$as_me:$LINENO: checking for gdk_im_open in -lgdk" >&5
23622 echo $ECHO_N "checking for gdk_im_open in -lgdk... $ECHO_C" >&6
23623 if test "${ac_cv_lib_gdk_gdk_im_open+set}" = set; then
23624 echo $ECHO_N "(cached) $ECHO_C" >&6
23626 ac_check_lib_save_LIBS
=$LIBS
23628 cat >conftest.
$ac_ext <<_ACEOF
23631 cat confdefs.h
>>conftest.
$ac_ext
23632 cat >>conftest.
$ac_ext <<_ACEOF
23633 /* end confdefs.h. */
23635 /* Override any gcc2 internal prototype to avoid an error. */
23639 /* We use char because int might match the return type of a gcc2
23640 builtin and then its argument prototype would still apply. */
23641 char gdk_im_open ();
23650 rm -f conftest.
$ac_objext conftest
$ac_exeext
23651 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23652 (eval $ac_link) 2>conftest.er1
23654 grep -v '^ *+' conftest.er1
>conftest.err
23656 cat conftest.err
>&5
23657 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23658 (exit $ac_status); } &&
23659 { ac_try
='test -z "$ac_c_werror_flag"
23660 || test ! -s conftest.err'
23661 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23662 (eval $ac_try) 2>&5
23664 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23665 (exit $ac_status); }; } &&
23666 { ac_try
='test -s conftest$ac_exeext'
23667 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23668 (eval $ac_try) 2>&5
23670 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23671 (exit $ac_status); }; }; then
23672 ac_cv_lib_gdk_gdk_im_open
=yes
23674 echo "$as_me: failed program was:" >&5
23675 sed 's/^/| /' conftest.
$ac_ext >&5
23677 ac_cv_lib_gdk_gdk_im_open
=no
23679 rm -f conftest.err conftest.
$ac_objext \
23680 conftest
$ac_exeext conftest.
$ac_ext
23681 LIBS
=$ac_check_lib_save_LIBS
23683 echo "$as_me:$LINENO: result: $ac_cv_lib_gdk_gdk_im_open" >&5
23684 echo "${ECHO_T}$ac_cv_lib_gdk_gdk_im_open" >&6
23685 if test $ac_cv_lib_gdk_gdk_im_open = yes; then
23686 cat >>confdefs.h
<<\_ACEOF
23694 if test "$wxUSE_GPE" = "yes"; then
23695 echo "$as_me:$LINENO: checking for gpewidget library" >&5
23696 echo $ECHO_N "checking for gpewidget library... $ECHO_C" >&6
23699 for ac_dir
in $SEARCH_LIB /usr
/lib
;
23701 for ac_extension
in a so sl dylib
; do
23702 if test -f "$ac_dir/libgpewidget.$ac_extension"; then
23703 ac_find_libraries
=$ac_dir
23709 if test "$ac_find_libraries" != "" ; then
23711 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev
/null
23713 if test $result = 0; then
23716 ac_path_to_link
=" -L$ac_find_libraries"
23719 GUI_TK_LIBRARY
="-L${prefix}/lib -lgpewidget $GUI_TK_LIBRARY"
23721 echo "$as_me:$LINENO: result: found at $ac_find_libraries" >&5
23722 echo "${ECHO_T}found at $ac_find_libraries" >&6
23724 echo "$as_me:$LINENO: result: not found" >&5
23725 echo "${ECHO_T}not found" >&6
23731 if test "$wxUSE_MGL" = 1; then
23732 echo "$as_me:$LINENO: checking for SciTech MGL library" >&5
23733 echo $ECHO_N "checking for SciTech MGL library... $ECHO_C" >&6
23734 if test "x$MGL_ROOT" = x
; then
23735 echo "$as_me:$LINENO: result: not found" >&5
23736 echo "${ECHO_T}not found" >&6
23737 { { echo "$as_me:$LINENO: error: Cannot find MGL library. Make sure MGL_ROOT is set." >&5
23738 echo "$as_me: error: Cannot find MGL library. Make sure MGL_ROOT is set." >&2;}
23739 { (exit 1); exit 1; }; }
23741 echo "$as_me:$LINENO: result: $MGL_ROOT" >&5
23742 echo "${ECHO_T}$MGL_ROOT" >&6
23745 echo "$as_me:$LINENO: checking for libmgl location" >&5
23746 echo $ECHO_N "checking for libmgl location... $ECHO_C" >&6
23749 if test "x$wxUSE_SHARED" = xyes
; then
23750 mgl_os_candidates
="linux/gcc/x86/so linux/gcc/x86/a linux/gcc/glibc.so linux/gcc/glibc"
23752 mgl_os_candidates
="linux/gcc/x86/a linux/gcc/x86/so linux/gcc/glibc linux/gcc/glibc.so"
23756 mgl_os_candidates
="dos32/dj2"
23759 { { echo "$as_me:$LINENO: error: This system type ${host} is not yet supported by wxMGL." >&5
23760 echo "$as_me: error: This system type ${host} is not yet supported by wxMGL." >&2;}
23761 { (exit 1); exit 1; }; }
23767 for mgl_os_i
in $mgl_os_candidates ; do
23768 if test "x$mgl_os" = x
; then
23769 if test "$wxUSE_DEBUG_FLAG" = yes ; then
23770 if test -f $MGL_ROOT/lib
/debug
/$mgl_os_i/libmgl.a
-o \
23771 -f $MGL_ROOT/lib
/debug
/$mgl_os_i/libmgl.so
; then
23776 if test "x$mgl_lib_type" = x
; then
23777 if test -f $MGL_ROOT/lib
/release
/$mgl_os_i/libmgl.a
-o \
23778 -f $MGL_ROOT/lib
/release
/$mgl_os_i/libmgl.so
; then
23779 mgl_lib_type
=release
23786 if test "x$mgl_os" = x
; then
23787 echo "$as_me:$LINENO: result: not found" >&5
23788 echo "${ECHO_T}not found" >&6
23789 { { echo "$as_me:$LINENO: error: Cannot find MGL libraries, make sure they are compiled." >&5
23790 echo "$as_me: error: Cannot find MGL libraries, make sure they are compiled." >&2;}
23791 { (exit 1); exit 1; }; }
23793 echo "$as_me:$LINENO: result: \"$MGL_ROOT/lib/$mgl_lib_type/$mgl_os\"" >&5
23794 echo "${ECHO_T}\"$MGL_ROOT/lib/$mgl_lib_type/$mgl_os\"" >&6
23796 wxUSE_UNIVERSAL
="yes"
23798 TOOLKIT_INCLUDE
="-I$MGL_ROOT/include"
23799 GUI_TK_LIBRARY
="-L$MGL_ROOT/lib/$mgl_lib_type/$mgl_os -lmgl -lmglcpp -lpm"
23801 AFMINSTALL
=afminstall
23806 if test "$wxUSE_MICROWIN" = 1; then
23807 echo "$as_me:$LINENO: checking for MicroWindows" >&5
23808 echo $ECHO_N "checking for MicroWindows... $ECHO_C" >&6
23809 if test "x$MICROWINDOWS" = x
; then
23810 echo "$as_me:$LINENO: result: not found" >&5
23811 echo "${ECHO_T}not found" >&6
23812 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows library. Make sure MICROWINDOWS is set." >&5
23813 echo "$as_me: error: Cannot find MicroWindows library. Make sure MICROWINDOWS is set." >&2;}
23814 { (exit 1); exit 1; }; }
23816 echo "$as_me:$LINENO: result: $MICROWINDOWS" >&5
23817 echo "${ECHO_T}$MICROWINDOWS" >&6
23820 if test -f $MICROWINDOWS/lib
/libmwin.a
; then
23821 echo "$as_me:$LINENO: result: MicroWindows' libraries found." >&5
23822 echo "${ECHO_T}MicroWindows' libraries found." >&6
23824 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows libraries, make sure they are compiled." >&5
23825 echo "$as_me: error: Cannot find MicroWindows libraries, make sure they are compiled." >&2;}
23826 { (exit 1); exit 1; }; }
23829 TOOLKIT_INCLUDE
="-I$MICROWINDOWS/include"
23830 GUI_TK_LIBRARY
="-L$MICROWINDOWS/lib -lmwin -lmwengine -mwfonts -mwdrivers -mwinlib"
23832 wxUSE_UNIVERSAL
="yes"
23834 AFMINSTALL
=afminstall
23836 GUIDIST
=MICROWIN_DIST
23838 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -D__WXMSW__ -D__WIN95__ -D__WIN32__ -DMWIN -DMICROWIN_NOCONTROLS -DMICROWIN_TODO=1"
23841 if test "$wxUSE_X11" = 1; then
23842 echo "$as_me:$LINENO: checking for X" >&5
23843 echo $ECHO_N "checking for X... $ECHO_C" >&6
23846 # Check whether --with-x or --without-x was given.
23847 if test "${with_x+set}" = set; then
23851 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
23852 if test "x$with_x" = xno
; then
23853 # The user explicitly disabled X.
23856 if test "x$x_includes" != xNONE
&& test "x$x_libraries" != xNONE
; then
23857 # Both variables are already set.
23860 if test "${ac_cv_have_x+set}" = set; then
23861 echo $ECHO_N "(cached) $ECHO_C" >&6
23863 # One or both of the vars are not set, and there is no cached value.
23864 ac_x_includes
=no ac_x_libraries
=no
23865 rm -fr conftest.dir
23866 if mkdir conftest.dir
; then
23868 # Make sure to not put "make" in the Imakefile rules, since we grep it out.
23869 cat >Imakefile
<<'_ACEOF'
23871 @echo 'ac_im_incroot="${INCROOT}"; ac_im_usrlibdir="${USRLIBDIR}"; ac_im_libdir="${LIBDIR}"'
23873 if (xmkmf
) >/dev
/null
2>/dev
/null
&& test -f Makefile
; then
23874 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
23875 eval `${MAKE-make} acfindx 2>/dev/null | grep -v make`
23876 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
23877 for ac_extension
in a so sl
; do
23878 if test ! -f $ac_im_usrlibdir/libX11.
$ac_extension &&
23879 test -f $ac_im_libdir/libX11.
$ac_extension; then
23880 ac_im_usrlibdir
=$ac_im_libdir; break
23883 # Screen out bogus values from the imake configuration. They are
23884 # bogus both because they are the default anyway, and because
23885 # using them would break gcc on systems where it needs fixed includes.
23886 case $ac_im_incroot in
23888 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes
=$ac_im_incroot;;
23890 case $ac_im_usrlibdir in
23891 /usr
/lib
| /lib
) ;;
23892 *) test -d "$ac_im_usrlibdir" && ac_x_libraries
=$ac_im_usrlibdir ;;
23896 rm -fr conftest.dir
23899 # Standard set of common directories for X headers.
23900 # Check X11 before X11Rn because it is often a symlink to the current release.
23912 /usr/local/X11/include
23913 /usr/local/X11R6/include
23914 /usr/local/X11R5/include
23915 /usr/local/X11R4/include
23917 /usr/local/include/X11
23918 /usr/local/include/X11R6
23919 /usr/local/include/X11R5
23920 /usr/local/include/X11R4
23924 /usr/XFree86/include/X11
23928 /usr/unsupported/include
23929 /usr/athena/include
23930 /usr/local/x11r5/include
23931 /usr/lpp/Xamples/include
23933 /usr/openwin/include
23934 /usr/openwin/share/include'
23936 if test "$ac_x_includes" = no
; then
23937 # Guess where to find include files, by looking for Intrinsic.h.
23938 # First, try using that file with no special directory specified.
23939 cat >conftest.
$ac_ext <<_ACEOF
23942 cat confdefs.h
>>conftest.
$ac_ext
23943 cat >>conftest.
$ac_ext <<_ACEOF
23944 /* end confdefs.h. */
23945 #include <X11/Intrinsic.h>
23947 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
23948 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
23950 grep -v '^ *+' conftest.er1
>conftest.err
23952 cat conftest.err
>&5
23953 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23954 (exit $ac_status); } >/dev
/null
; then
23955 if test -s conftest.err
; then
23956 ac_cpp_err
=$ac_c_preproc_warn_flag
23957 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
23964 if test -z "$ac_cpp_err"; then
23965 # We can compile using X headers with no special include directory.
23968 echo "$as_me: failed program was:" >&5
23969 sed 's/^/| /' conftest.
$ac_ext >&5
23971 for ac_dir
in $ac_x_header_dirs; do
23972 if test -r "$ac_dir/X11/Intrinsic.h"; then
23973 ac_x_includes
=$ac_dir
23978 rm -f conftest.err conftest.
$ac_ext
23979 fi # $ac_x_includes = no
23981 if test "$ac_x_libraries" = no
; then
23982 # Check for the libraries.
23983 # See if we find them without any special options.
23984 # Don't add to $LIBS permanently.
23987 cat >conftest.
$ac_ext <<_ACEOF
23990 cat confdefs.h
>>conftest.
$ac_ext
23991 cat >>conftest.
$ac_ext <<_ACEOF
23992 /* end confdefs.h. */
23993 #include <X11/Intrinsic.h>
24002 rm -f conftest.
$ac_objext conftest
$ac_exeext
24003 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24004 (eval $ac_link) 2>conftest.er1
24006 grep -v '^ *+' conftest.er1
>conftest.err
24008 cat conftest.err
>&5
24009 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24010 (exit $ac_status); } &&
24011 { ac_try
='test -z "$ac_c_werror_flag"
24012 || test ! -s conftest.err'
24013 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24014 (eval $ac_try) 2>&5
24016 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24017 (exit $ac_status); }; } &&
24018 { ac_try
='test -s conftest$ac_exeext'
24019 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24020 (eval $ac_try) 2>&5
24022 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24023 (exit $ac_status); }; }; then
24025 # We can link X programs with no special library path.
24028 echo "$as_me: failed program was:" >&5
24029 sed 's/^/| /' conftest.
$ac_ext >&5
24032 for ac_dir
in `echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
24034 # Don't even attempt the hair of trying to link an X program!
24035 for ac_extension
in a so sl
; do
24036 if test -r $ac_dir/libXt.
$ac_extension; then
24037 ac_x_libraries
=$ac_dir
24043 rm -f conftest.err conftest.
$ac_objext \
24044 conftest
$ac_exeext conftest.
$ac_ext
24045 fi # $ac_x_libraries = no
24047 if test "$ac_x_includes" = no
|| test "$ac_x_libraries" = no
; then
24048 # Didn't find X anywhere. Cache the known absence of X.
24049 ac_cv_have_x
="have_x=no"
24051 # Record where we found X for the cache.
24052 ac_cv_have_x
="have_x=yes \
24053 ac_x_includes=$ac_x_includes ac_x_libraries=$ac_x_libraries"
24058 eval "$ac_cv_have_x"
24061 if test "$have_x" != yes; then
24062 echo "$as_me:$LINENO: result: $have_x" >&5
24063 echo "${ECHO_T}$have_x" >&6
24066 # If each of the values was on the command line, it overrides each guess.
24067 test "x$x_includes" = xNONE
&& x_includes
=$ac_x_includes
24068 test "x$x_libraries" = xNONE
&& x_libraries
=$ac_x_libraries
24069 # Update the cache value to reflect the command line values.
24070 ac_cv_have_x
="have_x=yes \
24071 ac_x_includes=$x_includes ac_x_libraries=$x_libraries"
24072 echo "$as_me:$LINENO: result: libraries $x_libraries, headers $x_includes" >&5
24073 echo "${ECHO_T}libraries $x_libraries, headers $x_includes" >&6
24076 if test "$no_x" = yes; then
24077 # Not all programs may use this symbol, but it does not hurt to define it.
24079 cat >>confdefs.h
<<\_ACEOF
24080 #define X_DISPLAY_MISSING 1
24083 X_CFLAGS
= X_PRE_LIBS
= X_LIBS
= X_EXTRA_LIBS
=
24085 if test -n "$x_includes"; then
24086 X_CFLAGS
="$X_CFLAGS -I$x_includes"
24089 # It would also be nice to do this for all -L options, not just this one.
24090 if test -n "$x_libraries"; then
24091 X_LIBS
="$X_LIBS -L$x_libraries"
24092 # For Solaris; some versions of Sun CC require a space after -R and
24093 # others require no space. Words are not sufficient . . . .
24094 case `(uname -sr) 2>/dev/null` in
24096 echo "$as_me:$LINENO: checking whether -R must be followed by a space" >&5
24097 echo $ECHO_N "checking whether -R must be followed by a space... $ECHO_C" >&6
24098 ac_xsave_LIBS
=$LIBS; LIBS
="$LIBS -R$x_libraries"
24099 cat >conftest.
$ac_ext <<_ACEOF
24102 cat confdefs.h
>>conftest.
$ac_ext
24103 cat >>conftest.
$ac_ext <<_ACEOF
24104 /* end confdefs.h. */
24114 rm -f conftest.
$ac_objext conftest
$ac_exeext
24115 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24116 (eval $ac_link) 2>conftest.er1
24118 grep -v '^ *+' conftest.er1
>conftest.err
24120 cat conftest.err
>&5
24121 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24122 (exit $ac_status); } &&
24123 { ac_try
='test -z "$ac_c_werror_flag"
24124 || test ! -s conftest.err'
24125 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24126 (eval $ac_try) 2>&5
24128 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24129 (exit $ac_status); }; } &&
24130 { ac_try
='test -s conftest$ac_exeext'
24131 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24132 (eval $ac_try) 2>&5
24134 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24135 (exit $ac_status); }; }; then
24138 echo "$as_me: failed program was:" >&5
24139 sed 's/^/| /' conftest.
$ac_ext >&5
24143 rm -f conftest.err conftest.
$ac_objext \
24144 conftest
$ac_exeext conftest.
$ac_ext
24145 if test $ac_R_nospace = yes; then
24146 echo "$as_me:$LINENO: result: no" >&5
24147 echo "${ECHO_T}no" >&6
24148 X_LIBS
="$X_LIBS -R$x_libraries"
24150 LIBS
="$ac_xsave_LIBS -R $x_libraries"
24151 cat >conftest.
$ac_ext <<_ACEOF
24154 cat confdefs.h
>>conftest.
$ac_ext
24155 cat >>conftest.
$ac_ext <<_ACEOF
24156 /* end confdefs.h. */
24166 rm -f conftest.
$ac_objext conftest
$ac_exeext
24167 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24168 (eval $ac_link) 2>conftest.er1
24170 grep -v '^ *+' conftest.er1
>conftest.err
24172 cat conftest.err
>&5
24173 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24174 (exit $ac_status); } &&
24175 { ac_try
='test -z "$ac_c_werror_flag"
24176 || test ! -s conftest.err'
24177 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24178 (eval $ac_try) 2>&5
24180 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24181 (exit $ac_status); }; } &&
24182 { ac_try
='test -s conftest$ac_exeext'
24183 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24184 (eval $ac_try) 2>&5
24186 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24187 (exit $ac_status); }; }; then
24190 echo "$as_me: failed program was:" >&5
24191 sed 's/^/| /' conftest.
$ac_ext >&5
24195 rm -f conftest.err conftest.
$ac_objext \
24196 conftest
$ac_exeext conftest.
$ac_ext
24197 if test $ac_R_space = yes; then
24198 echo "$as_me:$LINENO: result: yes" >&5
24199 echo "${ECHO_T}yes" >&6
24200 X_LIBS
="$X_LIBS -R $x_libraries"
24202 echo "$as_me:$LINENO: result: neither works" >&5
24203 echo "${ECHO_T}neither works" >&6
24206 LIBS
=$ac_xsave_LIBS
24210 # Check for system-dependent libraries X programs must link with.
24211 # Do this before checking for the system-independent R6 libraries
24212 # (-lICE), since we may need -lsocket or whatever for X linking.
24214 if test "$ISC" = yes; then
24215 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl_s -linet"
24217 # Martyn Johnson says this is needed for Ultrix, if the X
24218 # libraries were built with DECnet support. And Karl Berry says
24219 # the Alpha needs dnet_stub (dnet does not exist).
24220 ac_xsave_LIBS
="$LIBS"; LIBS
="$LIBS $X_LIBS -lX11"
24221 cat >conftest.
$ac_ext <<_ACEOF
24224 cat confdefs.h
>>conftest.
$ac_ext
24225 cat >>conftest.
$ac_ext <<_ACEOF
24226 /* end confdefs.h. */
24228 /* Override any gcc2 internal prototype to avoid an error. */
24232 /* We use char because int might match the return type of a gcc2
24233 builtin and then its argument prototype would still apply. */
24234 char XOpenDisplay ();
24243 rm -f conftest.
$ac_objext conftest
$ac_exeext
24244 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24245 (eval $ac_link) 2>conftest.er1
24247 grep -v '^ *+' conftest.er1
>conftest.err
24249 cat conftest.err
>&5
24250 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24251 (exit $ac_status); } &&
24252 { ac_try
='test -z "$ac_c_werror_flag"
24253 || test ! -s conftest.err'
24254 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24255 (eval $ac_try) 2>&5
24257 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24258 (exit $ac_status); }; } &&
24259 { ac_try
='test -s conftest$ac_exeext'
24260 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24261 (eval $ac_try) 2>&5
24263 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24264 (exit $ac_status); }; }; then
24267 echo "$as_me: failed program was:" >&5
24268 sed 's/^/| /' conftest.
$ac_ext >&5
24270 echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet" >&5
24271 echo $ECHO_N "checking for dnet_ntoa in -ldnet... $ECHO_C" >&6
24272 if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then
24273 echo $ECHO_N "(cached) $ECHO_C" >&6
24275 ac_check_lib_save_LIBS
=$LIBS
24276 LIBS
="-ldnet $LIBS"
24277 cat >conftest.
$ac_ext <<_ACEOF
24280 cat confdefs.h
>>conftest.
$ac_ext
24281 cat >>conftest.
$ac_ext <<_ACEOF
24282 /* end confdefs.h. */
24284 /* Override any gcc2 internal prototype to avoid an error. */
24288 /* We use char because int might match the return type of a gcc2
24289 builtin and then its argument prototype would still apply. */
24299 rm -f conftest.
$ac_objext conftest
$ac_exeext
24300 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24301 (eval $ac_link) 2>conftest.er1
24303 grep -v '^ *+' conftest.er1
>conftest.err
24305 cat conftest.err
>&5
24306 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24307 (exit $ac_status); } &&
24308 { ac_try
='test -z "$ac_c_werror_flag"
24309 || test ! -s conftest.err'
24310 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24311 (eval $ac_try) 2>&5
24313 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24314 (exit $ac_status); }; } &&
24315 { ac_try
='test -s conftest$ac_exeext'
24316 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24317 (eval $ac_try) 2>&5
24319 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24320 (exit $ac_status); }; }; then
24321 ac_cv_lib_dnet_dnet_ntoa
=yes
24323 echo "$as_me: failed program was:" >&5
24324 sed 's/^/| /' conftest.
$ac_ext >&5
24326 ac_cv_lib_dnet_dnet_ntoa
=no
24328 rm -f conftest.err conftest.
$ac_objext \
24329 conftest
$ac_exeext conftest.
$ac_ext
24330 LIBS
=$ac_check_lib_save_LIBS
24332 echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
24333 echo "${ECHO_T}$ac_cv_lib_dnet_dnet_ntoa" >&6
24334 if test $ac_cv_lib_dnet_dnet_ntoa = yes; then
24335 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet"
24338 if test $ac_cv_lib_dnet_dnet_ntoa = no
; then
24339 echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet_stub" >&5
24340 echo $ECHO_N "checking for dnet_ntoa in -ldnet_stub... $ECHO_C" >&6
24341 if test "${ac_cv_lib_dnet_stub_dnet_ntoa+set}" = set; then
24342 echo $ECHO_N "(cached) $ECHO_C" >&6
24344 ac_check_lib_save_LIBS
=$LIBS
24345 LIBS
="-ldnet_stub $LIBS"
24346 cat >conftest.
$ac_ext <<_ACEOF
24349 cat confdefs.h
>>conftest.
$ac_ext
24350 cat >>conftest.
$ac_ext <<_ACEOF
24351 /* end confdefs.h. */
24353 /* Override any gcc2 internal prototype to avoid an error. */
24357 /* We use char because int might match the return type of a gcc2
24358 builtin and then its argument prototype would still apply. */
24368 rm -f conftest.
$ac_objext conftest
$ac_exeext
24369 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24370 (eval $ac_link) 2>conftest.er1
24372 grep -v '^ *+' conftest.er1
>conftest.err
24374 cat conftest.err
>&5
24375 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24376 (exit $ac_status); } &&
24377 { ac_try
='test -z "$ac_c_werror_flag"
24378 || test ! -s conftest.err'
24379 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24380 (eval $ac_try) 2>&5
24382 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24383 (exit $ac_status); }; } &&
24384 { ac_try
='test -s conftest$ac_exeext'
24385 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24386 (eval $ac_try) 2>&5
24388 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24389 (exit $ac_status); }; }; then
24390 ac_cv_lib_dnet_stub_dnet_ntoa
=yes
24392 echo "$as_me: failed program was:" >&5
24393 sed 's/^/| /' conftest.
$ac_ext >&5
24395 ac_cv_lib_dnet_stub_dnet_ntoa
=no
24397 rm -f conftest.err conftest.
$ac_objext \
24398 conftest
$ac_exeext conftest.
$ac_ext
24399 LIBS
=$ac_check_lib_save_LIBS
24401 echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
24402 echo "${ECHO_T}$ac_cv_lib_dnet_stub_dnet_ntoa" >&6
24403 if test $ac_cv_lib_dnet_stub_dnet_ntoa = yes; then
24404 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet_stub"
24409 rm -f conftest.err conftest.
$ac_objext \
24410 conftest
$ac_exeext conftest.
$ac_ext
24411 LIBS
="$ac_xsave_LIBS"
24413 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
24414 # to get the SysV transport functions.
24415 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
24417 # The nsl library prevents programs from opening the X display
24418 # on Irix 5.2, according to T.E. Dickey.
24419 # The functions gethostbyname, getservbyname, and inet_addr are
24420 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
24421 echo "$as_me:$LINENO: checking for gethostbyname" >&5
24422 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6
24423 if test "${ac_cv_func_gethostbyname+set}" = set; then
24424 echo $ECHO_N "(cached) $ECHO_C" >&6
24426 cat >conftest.
$ac_ext <<_ACEOF
24429 cat confdefs.h
>>conftest.
$ac_ext
24430 cat >>conftest.
$ac_ext <<_ACEOF
24431 /* end confdefs.h. */
24432 /* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
24433 For example, HP-UX 11i <limits.h> declares gettimeofday. */
24434 #define gethostbyname innocuous_gethostbyname
24436 /* System header to define __stub macros and hopefully few prototypes,
24437 which can conflict with char gethostbyname (); below.
24438 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24439 <limits.h> exists even on freestanding compilers. */
24442 # include <limits.h>
24444 # include <assert.h>
24447 #undef gethostbyname
24449 /* Override any gcc2 internal prototype to avoid an error. */
24454 /* We use char because int might match the return type of a gcc2
24455 builtin and then its argument prototype would still apply. */
24456 char gethostbyname ();
24457 /* The GNU C library defines this for functions which it implements
24458 to always fail with ENOSYS. Some functions are actually named
24459 something starting with __ and the normal name is an alias. */
24460 #if defined (__stub_gethostbyname) || defined (__stub___gethostbyname)
24463 char (*f) () = gethostbyname;
24472 return f != gethostbyname;
24477 rm -f conftest.
$ac_objext conftest
$ac_exeext
24478 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24479 (eval $ac_link) 2>conftest.er1
24481 grep -v '^ *+' conftest.er1
>conftest.err
24483 cat conftest.err
>&5
24484 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24485 (exit $ac_status); } &&
24486 { ac_try
='test -z "$ac_c_werror_flag"
24487 || test ! -s conftest.err'
24488 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24489 (eval $ac_try) 2>&5
24491 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24492 (exit $ac_status); }; } &&
24493 { ac_try
='test -s conftest$ac_exeext'
24494 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24495 (eval $ac_try) 2>&5
24497 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24498 (exit $ac_status); }; }; then
24499 ac_cv_func_gethostbyname
=yes
24501 echo "$as_me: failed program was:" >&5
24502 sed 's/^/| /' conftest.
$ac_ext >&5
24504 ac_cv_func_gethostbyname
=no
24506 rm -f conftest.err conftest.
$ac_objext \
24507 conftest
$ac_exeext conftest.
$ac_ext
24509 echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
24510 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6
24512 if test $ac_cv_func_gethostbyname = no
; then
24513 echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
24514 echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6
24515 if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
24516 echo $ECHO_N "(cached) $ECHO_C" >&6
24518 ac_check_lib_save_LIBS
=$LIBS
24520 cat >conftest.
$ac_ext <<_ACEOF
24523 cat confdefs.h
>>conftest.
$ac_ext
24524 cat >>conftest.
$ac_ext <<_ACEOF
24525 /* end confdefs.h. */
24527 /* Override any gcc2 internal prototype to avoid an error. */
24531 /* We use char because int might match the return type of a gcc2
24532 builtin and then its argument prototype would still apply. */
24533 char gethostbyname ();
24542 rm -f conftest.
$ac_objext conftest
$ac_exeext
24543 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24544 (eval $ac_link) 2>conftest.er1
24546 grep -v '^ *+' conftest.er1
>conftest.err
24548 cat conftest.err
>&5
24549 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24550 (exit $ac_status); } &&
24551 { ac_try
='test -z "$ac_c_werror_flag"
24552 || test ! -s conftest.err'
24553 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24554 (eval $ac_try) 2>&5
24556 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24557 (exit $ac_status); }; } &&
24558 { ac_try
='test -s conftest$ac_exeext'
24559 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24560 (eval $ac_try) 2>&5
24562 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24563 (exit $ac_status); }; }; then
24564 ac_cv_lib_nsl_gethostbyname
=yes
24566 echo "$as_me: failed program was:" >&5
24567 sed 's/^/| /' conftest.
$ac_ext >&5
24569 ac_cv_lib_nsl_gethostbyname
=no
24571 rm -f conftest.err conftest.
$ac_objext \
24572 conftest
$ac_exeext conftest.
$ac_ext
24573 LIBS
=$ac_check_lib_save_LIBS
24575 echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
24576 echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6
24577 if test $ac_cv_lib_nsl_gethostbyname = yes; then
24578 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl"
24581 if test $ac_cv_lib_nsl_gethostbyname = no
; then
24582 echo "$as_me:$LINENO: checking for gethostbyname in -lbsd" >&5
24583 echo $ECHO_N "checking for gethostbyname in -lbsd... $ECHO_C" >&6
24584 if test "${ac_cv_lib_bsd_gethostbyname+set}" = set; then
24585 echo $ECHO_N "(cached) $ECHO_C" >&6
24587 ac_check_lib_save_LIBS
=$LIBS
24589 cat >conftest.
$ac_ext <<_ACEOF
24592 cat confdefs.h
>>conftest.
$ac_ext
24593 cat >>conftest.
$ac_ext <<_ACEOF
24594 /* end confdefs.h. */
24596 /* Override any gcc2 internal prototype to avoid an error. */
24600 /* We use char because int might match the return type of a gcc2
24601 builtin and then its argument prototype would still apply. */
24602 char gethostbyname ();
24611 rm -f conftest.
$ac_objext conftest
$ac_exeext
24612 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24613 (eval $ac_link) 2>conftest.er1
24615 grep -v '^ *+' conftest.er1
>conftest.err
24617 cat conftest.err
>&5
24618 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24619 (exit $ac_status); } &&
24620 { ac_try
='test -z "$ac_c_werror_flag"
24621 || test ! -s conftest.err'
24622 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24623 (eval $ac_try) 2>&5
24625 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24626 (exit $ac_status); }; } &&
24627 { ac_try
='test -s conftest$ac_exeext'
24628 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24629 (eval $ac_try) 2>&5
24631 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24632 (exit $ac_status); }; }; then
24633 ac_cv_lib_bsd_gethostbyname
=yes
24635 echo "$as_me: failed program was:" >&5
24636 sed 's/^/| /' conftest.
$ac_ext >&5
24638 ac_cv_lib_bsd_gethostbyname
=no
24640 rm -f conftest.err conftest.
$ac_objext \
24641 conftest
$ac_exeext conftest.
$ac_ext
24642 LIBS
=$ac_check_lib_save_LIBS
24644 echo "$as_me:$LINENO: result: $ac_cv_lib_bsd_gethostbyname" >&5
24645 echo "${ECHO_T}$ac_cv_lib_bsd_gethostbyname" >&6
24646 if test $ac_cv_lib_bsd_gethostbyname = yes; then
24647 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lbsd"
24653 # lieder@skyler.mavd.honeywell.com says without -lsocket,
24654 # socket/setsockopt and other routines are undefined under SCO ODT
24655 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
24656 # on later versions), says Simon Leinen: it contains gethostby*
24657 # variants that don't use the name server (or something). -lsocket
24658 # must be given before -lnsl if both are needed. We assume that
24659 # if connect needs -lnsl, so does gethostbyname.
24660 echo "$as_me:$LINENO: checking for connect" >&5
24661 echo $ECHO_N "checking for connect... $ECHO_C" >&6
24662 if test "${ac_cv_func_connect+set}" = set; then
24663 echo $ECHO_N "(cached) $ECHO_C" >&6
24665 cat >conftest.
$ac_ext <<_ACEOF
24668 cat confdefs.h
>>conftest.
$ac_ext
24669 cat >>conftest.
$ac_ext <<_ACEOF
24670 /* end confdefs.h. */
24671 /* Define connect to an innocuous variant, in case <limits.h> declares connect.
24672 For example, HP-UX 11i <limits.h> declares gettimeofday. */
24673 #define connect innocuous_connect
24675 /* System header to define __stub macros and hopefully few prototypes,
24676 which can conflict with char connect (); below.
24677 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24678 <limits.h> exists even on freestanding compilers. */
24681 # include <limits.h>
24683 # include <assert.h>
24688 /* Override any gcc2 internal prototype to avoid an error. */
24693 /* We use char because int might match the return type of a gcc2
24694 builtin and then its argument prototype would still apply. */
24696 /* The GNU C library defines this for functions which it implements
24697 to always fail with ENOSYS. Some functions are actually named
24698 something starting with __ and the normal name is an alias. */
24699 #if defined (__stub_connect) || defined (__stub___connect)
24702 char (*f) () = connect;
24711 return f != connect;
24716 rm -f conftest.
$ac_objext conftest
$ac_exeext
24717 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24718 (eval $ac_link) 2>conftest.er1
24720 grep -v '^ *+' conftest.er1
>conftest.err
24722 cat conftest.err
>&5
24723 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24724 (exit $ac_status); } &&
24725 { ac_try
='test -z "$ac_c_werror_flag"
24726 || test ! -s conftest.err'
24727 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24728 (eval $ac_try) 2>&5
24730 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24731 (exit $ac_status); }; } &&
24732 { ac_try
='test -s conftest$ac_exeext'
24733 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24734 (eval $ac_try) 2>&5
24736 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24737 (exit $ac_status); }; }; then
24738 ac_cv_func_connect
=yes
24740 echo "$as_me: failed program was:" >&5
24741 sed 's/^/| /' conftest.
$ac_ext >&5
24743 ac_cv_func_connect
=no
24745 rm -f conftest.err conftest.
$ac_objext \
24746 conftest
$ac_exeext conftest.
$ac_ext
24748 echo "$as_me:$LINENO: result: $ac_cv_func_connect" >&5
24749 echo "${ECHO_T}$ac_cv_func_connect" >&6
24751 if test $ac_cv_func_connect = no
; then
24752 echo "$as_me:$LINENO: checking for connect in -lsocket" >&5
24753 echo $ECHO_N "checking for connect in -lsocket... $ECHO_C" >&6
24754 if test "${ac_cv_lib_socket_connect+set}" = set; then
24755 echo $ECHO_N "(cached) $ECHO_C" >&6
24757 ac_check_lib_save_LIBS
=$LIBS
24758 LIBS
="-lsocket $X_EXTRA_LIBS $LIBS"
24759 cat >conftest.
$ac_ext <<_ACEOF
24762 cat confdefs.h
>>conftest.
$ac_ext
24763 cat >>conftest.
$ac_ext <<_ACEOF
24764 /* end confdefs.h. */
24766 /* Override any gcc2 internal prototype to avoid an error. */
24770 /* We use char because int might match the return type of a gcc2
24771 builtin and then its argument prototype would still apply. */
24781 rm -f conftest.
$ac_objext conftest
$ac_exeext
24782 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24783 (eval $ac_link) 2>conftest.er1
24785 grep -v '^ *+' conftest.er1
>conftest.err
24787 cat conftest.err
>&5
24788 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24789 (exit $ac_status); } &&
24790 { ac_try
='test -z "$ac_c_werror_flag"
24791 || test ! -s conftest.err'
24792 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24793 (eval $ac_try) 2>&5
24795 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24796 (exit $ac_status); }; } &&
24797 { ac_try
='test -s conftest$ac_exeext'
24798 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24799 (eval $ac_try) 2>&5
24801 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24802 (exit $ac_status); }; }; then
24803 ac_cv_lib_socket_connect
=yes
24805 echo "$as_me: failed program was:" >&5
24806 sed 's/^/| /' conftest.
$ac_ext >&5
24808 ac_cv_lib_socket_connect
=no
24810 rm -f conftest.err conftest.
$ac_objext \
24811 conftest
$ac_exeext conftest.
$ac_ext
24812 LIBS
=$ac_check_lib_save_LIBS
24814 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5
24815 echo "${ECHO_T}$ac_cv_lib_socket_connect" >&6
24816 if test $ac_cv_lib_socket_connect = yes; then
24817 X_EXTRA_LIBS
="-lsocket $X_EXTRA_LIBS"
24822 # Guillermo Gomez says -lposix is necessary on A/UX.
24823 echo "$as_me:$LINENO: checking for remove" >&5
24824 echo $ECHO_N "checking for remove... $ECHO_C" >&6
24825 if test "${ac_cv_func_remove+set}" = set; then
24826 echo $ECHO_N "(cached) $ECHO_C" >&6
24828 cat >conftest.
$ac_ext <<_ACEOF
24831 cat confdefs.h
>>conftest.
$ac_ext
24832 cat >>conftest.
$ac_ext <<_ACEOF
24833 /* end confdefs.h. */
24834 /* Define remove to an innocuous variant, in case <limits.h> declares remove.
24835 For example, HP-UX 11i <limits.h> declares gettimeofday. */
24836 #define remove innocuous_remove
24838 /* System header to define __stub macros and hopefully few prototypes,
24839 which can conflict with char remove (); below.
24840 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24841 <limits.h> exists even on freestanding compilers. */
24844 # include <limits.h>
24846 # include <assert.h>
24851 /* Override any gcc2 internal prototype to avoid an error. */
24856 /* We use char because int might match the return type of a gcc2
24857 builtin and then its argument prototype would still apply. */
24859 /* The GNU C library defines this for functions which it implements
24860 to always fail with ENOSYS. Some functions are actually named
24861 something starting with __ and the normal name is an alias. */
24862 #if defined (__stub_remove) || defined (__stub___remove)
24865 char (*f) () = remove;
24874 return f != remove;
24879 rm -f conftest.
$ac_objext conftest
$ac_exeext
24880 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24881 (eval $ac_link) 2>conftest.er1
24883 grep -v '^ *+' conftest.er1
>conftest.err
24885 cat conftest.err
>&5
24886 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24887 (exit $ac_status); } &&
24888 { ac_try
='test -z "$ac_c_werror_flag"
24889 || test ! -s conftest.err'
24890 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24891 (eval $ac_try) 2>&5
24893 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24894 (exit $ac_status); }; } &&
24895 { ac_try
='test -s conftest$ac_exeext'
24896 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24897 (eval $ac_try) 2>&5
24899 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24900 (exit $ac_status); }; }; then
24901 ac_cv_func_remove
=yes
24903 echo "$as_me: failed program was:" >&5
24904 sed 's/^/| /' conftest.
$ac_ext >&5
24906 ac_cv_func_remove
=no
24908 rm -f conftest.err conftest.
$ac_objext \
24909 conftest
$ac_exeext conftest.
$ac_ext
24911 echo "$as_me:$LINENO: result: $ac_cv_func_remove" >&5
24912 echo "${ECHO_T}$ac_cv_func_remove" >&6
24914 if test $ac_cv_func_remove = no
; then
24915 echo "$as_me:$LINENO: checking for remove in -lposix" >&5
24916 echo $ECHO_N "checking for remove in -lposix... $ECHO_C" >&6
24917 if test "${ac_cv_lib_posix_remove+set}" = set; then
24918 echo $ECHO_N "(cached) $ECHO_C" >&6
24920 ac_check_lib_save_LIBS
=$LIBS
24921 LIBS
="-lposix $LIBS"
24922 cat >conftest.
$ac_ext <<_ACEOF
24925 cat confdefs.h
>>conftest.
$ac_ext
24926 cat >>conftest.
$ac_ext <<_ACEOF
24927 /* end confdefs.h. */
24929 /* Override any gcc2 internal prototype to avoid an error. */
24933 /* We use char because int might match the return type of a gcc2
24934 builtin and then its argument prototype would still apply. */
24944 rm -f conftest.
$ac_objext conftest
$ac_exeext
24945 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24946 (eval $ac_link) 2>conftest.er1
24948 grep -v '^ *+' conftest.er1
>conftest.err
24950 cat conftest.err
>&5
24951 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24952 (exit $ac_status); } &&
24953 { ac_try
='test -z "$ac_c_werror_flag"
24954 || test ! -s conftest.err'
24955 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24956 (eval $ac_try) 2>&5
24958 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24959 (exit $ac_status); }; } &&
24960 { ac_try
='test -s conftest$ac_exeext'
24961 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24962 (eval $ac_try) 2>&5
24964 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24965 (exit $ac_status); }; }; then
24966 ac_cv_lib_posix_remove
=yes
24968 echo "$as_me: failed program was:" >&5
24969 sed 's/^/| /' conftest.
$ac_ext >&5
24971 ac_cv_lib_posix_remove
=no
24973 rm -f conftest.err conftest.
$ac_objext \
24974 conftest
$ac_exeext conftest.
$ac_ext
24975 LIBS
=$ac_check_lib_save_LIBS
24977 echo "$as_me:$LINENO: result: $ac_cv_lib_posix_remove" >&5
24978 echo "${ECHO_T}$ac_cv_lib_posix_remove" >&6
24979 if test $ac_cv_lib_posix_remove = yes; then
24980 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lposix"
24985 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
24986 echo "$as_me:$LINENO: checking for shmat" >&5
24987 echo $ECHO_N "checking for shmat... $ECHO_C" >&6
24988 if test "${ac_cv_func_shmat+set}" = set; then
24989 echo $ECHO_N "(cached) $ECHO_C" >&6
24991 cat >conftest.
$ac_ext <<_ACEOF
24994 cat confdefs.h
>>conftest.
$ac_ext
24995 cat >>conftest.
$ac_ext <<_ACEOF
24996 /* end confdefs.h. */
24997 /* Define shmat to an innocuous variant, in case <limits.h> declares shmat.
24998 For example, HP-UX 11i <limits.h> declares gettimeofday. */
24999 #define shmat innocuous_shmat
25001 /* System header to define __stub macros and hopefully few prototypes,
25002 which can conflict with char shmat (); below.
25003 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25004 <limits.h> exists even on freestanding compilers. */
25007 # include <limits.h>
25009 # include <assert.h>
25014 /* Override any gcc2 internal prototype to avoid an error. */
25019 /* We use char because int might match the return type of a gcc2
25020 builtin and then its argument prototype would still apply. */
25022 /* The GNU C library defines this for functions which it implements
25023 to always fail with ENOSYS. Some functions are actually named
25024 something starting with __ and the normal name is an alias. */
25025 #if defined (__stub_shmat) || defined (__stub___shmat)
25028 char (*f) () = shmat;
25042 rm -f conftest.
$ac_objext conftest
$ac_exeext
25043 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25044 (eval $ac_link) 2>conftest.er1
25046 grep -v '^ *+' conftest.er1
>conftest.err
25048 cat conftest.err
>&5
25049 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25050 (exit $ac_status); } &&
25051 { ac_try
='test -z "$ac_c_werror_flag"
25052 || test ! -s conftest.err'
25053 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25054 (eval $ac_try) 2>&5
25056 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25057 (exit $ac_status); }; } &&
25058 { ac_try
='test -s conftest$ac_exeext'
25059 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25060 (eval $ac_try) 2>&5
25062 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25063 (exit $ac_status); }; }; then
25064 ac_cv_func_shmat
=yes
25066 echo "$as_me: failed program was:" >&5
25067 sed 's/^/| /' conftest.
$ac_ext >&5
25069 ac_cv_func_shmat
=no
25071 rm -f conftest.err conftest.
$ac_objext \
25072 conftest
$ac_exeext conftest.
$ac_ext
25074 echo "$as_me:$LINENO: result: $ac_cv_func_shmat" >&5
25075 echo "${ECHO_T}$ac_cv_func_shmat" >&6
25077 if test $ac_cv_func_shmat = no
; then
25078 echo "$as_me:$LINENO: checking for shmat in -lipc" >&5
25079 echo $ECHO_N "checking for shmat in -lipc... $ECHO_C" >&6
25080 if test "${ac_cv_lib_ipc_shmat+set}" = set; then
25081 echo $ECHO_N "(cached) $ECHO_C" >&6
25083 ac_check_lib_save_LIBS
=$LIBS
25085 cat >conftest.
$ac_ext <<_ACEOF
25088 cat confdefs.h
>>conftest.
$ac_ext
25089 cat >>conftest.
$ac_ext <<_ACEOF
25090 /* end confdefs.h. */
25092 /* Override any gcc2 internal prototype to avoid an error. */
25096 /* We use char because int might match the return type of a gcc2
25097 builtin and then its argument prototype would still apply. */
25107 rm -f conftest.
$ac_objext conftest
$ac_exeext
25108 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25109 (eval $ac_link) 2>conftest.er1
25111 grep -v '^ *+' conftest.er1
>conftest.err
25113 cat conftest.err
>&5
25114 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25115 (exit $ac_status); } &&
25116 { ac_try
='test -z "$ac_c_werror_flag"
25117 || test ! -s conftest.err'
25118 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25119 (eval $ac_try) 2>&5
25121 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25122 (exit $ac_status); }; } &&
25123 { ac_try
='test -s conftest$ac_exeext'
25124 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25125 (eval $ac_try) 2>&5
25127 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25128 (exit $ac_status); }; }; then
25129 ac_cv_lib_ipc_shmat
=yes
25131 echo "$as_me: failed program was:" >&5
25132 sed 's/^/| /' conftest.
$ac_ext >&5
25134 ac_cv_lib_ipc_shmat
=no
25136 rm -f conftest.err conftest.
$ac_objext \
25137 conftest
$ac_exeext conftest.
$ac_ext
25138 LIBS
=$ac_check_lib_save_LIBS
25140 echo "$as_me:$LINENO: result: $ac_cv_lib_ipc_shmat" >&5
25141 echo "${ECHO_T}$ac_cv_lib_ipc_shmat" >&6
25142 if test $ac_cv_lib_ipc_shmat = yes; then
25143 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lipc"
25149 # Check for libraries that X11R6 Xt/Xaw programs need.
25150 ac_save_LDFLAGS
=$LDFLAGS
25151 test -n "$x_libraries" && LDFLAGS
="$LDFLAGS -L$x_libraries"
25152 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
25153 # check for ICE first), but we must link in the order -lSM -lICE or
25154 # we get undefined symbols. So assume we have SM if we have ICE.
25155 # These have to be linked with before -lX11, unlike the other
25156 # libraries we check for below, so use a different variable.
25157 # John Interrante, Karl Berry
25158 echo "$as_me:$LINENO: checking for IceConnectionNumber in -lICE" >&5
25159 echo $ECHO_N "checking for IceConnectionNumber in -lICE... $ECHO_C" >&6
25160 if test "${ac_cv_lib_ICE_IceConnectionNumber+set}" = set; then
25161 echo $ECHO_N "(cached) $ECHO_C" >&6
25163 ac_check_lib_save_LIBS
=$LIBS
25164 LIBS
="-lICE $X_EXTRA_LIBS $LIBS"
25165 cat >conftest.
$ac_ext <<_ACEOF
25168 cat confdefs.h
>>conftest.
$ac_ext
25169 cat >>conftest.
$ac_ext <<_ACEOF
25170 /* end confdefs.h. */
25172 /* Override any gcc2 internal prototype to avoid an error. */
25176 /* We use char because int might match the return type of a gcc2
25177 builtin and then its argument prototype would still apply. */
25178 char IceConnectionNumber ();
25182 IceConnectionNumber ();
25187 rm -f conftest.
$ac_objext conftest
$ac_exeext
25188 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25189 (eval $ac_link) 2>conftest.er1
25191 grep -v '^ *+' conftest.er1
>conftest.err
25193 cat conftest.err
>&5
25194 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25195 (exit $ac_status); } &&
25196 { ac_try
='test -z "$ac_c_werror_flag"
25197 || test ! -s conftest.err'
25198 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25199 (eval $ac_try) 2>&5
25201 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25202 (exit $ac_status); }; } &&
25203 { ac_try
='test -s conftest$ac_exeext'
25204 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25205 (eval $ac_try) 2>&5
25207 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25208 (exit $ac_status); }; }; then
25209 ac_cv_lib_ICE_IceConnectionNumber
=yes
25211 echo "$as_me: failed program was:" >&5
25212 sed 's/^/| /' conftest.
$ac_ext >&5
25214 ac_cv_lib_ICE_IceConnectionNumber
=no
25216 rm -f conftest.err conftest.
$ac_objext \
25217 conftest
$ac_exeext conftest.
$ac_ext
25218 LIBS
=$ac_check_lib_save_LIBS
25220 echo "$as_me:$LINENO: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
25221 echo "${ECHO_T}$ac_cv_lib_ICE_IceConnectionNumber" >&6
25222 if test $ac_cv_lib_ICE_IceConnectionNumber = yes; then
25223 X_PRE_LIBS
="$X_PRE_LIBS -lSM -lICE"
25226 LDFLAGS
=$ac_save_LDFLAGS
25231 if test "$no_x" = "yes"; then
25232 { { echo "$as_me:$LINENO: error: X11 not found" >&5
25233 echo "$as_me: error: X11 not found" >&2;}
25234 { (exit please use
--x-includes and
/or
--x-libraries options
); exit please use
--x-includes and
/or
--x-libraries options
; }; }
25237 GUI_TK_LIBRARY
="$X_LIBS"
25238 TOOLKIT_INCLUDE
="$X_CFLAGS"
25239 AFMINSTALL
=afminstall
25240 COMPILED_X_PROGRAM
=0
25242 if test "$wxUSE_NANOX" = "yes"; then
25243 echo "$as_me:$LINENO: checking for MicroWindows/NanoX distribution" >&5
25244 echo $ECHO_N "checking for MicroWindows/NanoX distribution... $ECHO_C" >&6
25245 if test "x$MICROWIN" = x
; then
25246 echo "$as_me:$LINENO: result: not found" >&5
25247 echo "${ECHO_T}not found" >&6
25248 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows library. Make sure MICROWIN is set." >&5
25249 echo "$as_me: error: Cannot find MicroWindows library. Make sure MICROWIN is set." >&2;}
25250 { (exit 1); exit 1; }; }
25252 echo "$as_me:$LINENO: result: $MICROWIN" >&5
25253 echo "${ECHO_T}$MICROWIN" >&6
25254 cat >>confdefs.h
<<\_ACEOF
25255 #define wxUSE_NANOX 1
25261 if test "$wxUSE_UNICODE" = "yes"; then
25265 if test -z "$PKG_CONFIG"; then
25266 # Extract the first word of "pkg-config", so it can be a program name with args.
25267 set dummy pkg
-config; ac_word
=$2
25268 echo "$as_me:$LINENO: checking for $ac_word" >&5
25269 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
25270 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
25271 echo $ECHO_N "(cached) $ECHO_C" >&6
25273 case $PKG_CONFIG in
25275 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
25278 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
25279 for as_dir
in $PATH
25282 test -z "$as_dir" && as_dir
=.
25283 for ac_exec_ext
in '' $ac_executable_extensions; do
25284 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
25285 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
25286 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
25292 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
25296 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
25298 if test -n "$PKG_CONFIG"; then
25299 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
25300 echo "${ECHO_T}$PKG_CONFIG" >&6
25302 echo "$as_me:$LINENO: result: no" >&5
25303 echo "${ECHO_T}no" >&6
25308 if test "$PKG_CONFIG" = "no" ; then
25309 echo "*** The pkg-config script could not be found. Make sure it is"
25310 echo "*** in your path, or set the PKG_CONFIG environment variable"
25311 echo "*** to the full path to pkg-config."
25312 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
25314 PKG_CONFIG_MIN_VERSION
=0.9.0
25315 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
25316 echo "$as_me:$LINENO: checking for pangox" >&5
25317 echo $ECHO_N "checking for pangox... $ECHO_C" >&6
25319 if $PKG_CONFIG --exists "pangox" ; then
25320 echo "$as_me:$LINENO: result: yes" >&5
25321 echo "${ECHO_T}yes" >&6
25324 echo "$as_me:$LINENO: checking PANGOX_CFLAGS" >&5
25325 echo $ECHO_N "checking PANGOX_CFLAGS... $ECHO_C" >&6
25326 PANGOX_CFLAGS
=`$PKG_CONFIG --cflags "pangox"`
25327 echo "$as_me:$LINENO: result: $PANGOX_CFLAGS" >&5
25328 echo "${ECHO_T}$PANGOX_CFLAGS" >&6
25330 echo "$as_me:$LINENO: checking PANGOX_LIBS" >&5
25331 echo $ECHO_N "checking PANGOX_LIBS... $ECHO_C" >&6
25332 PANGOX_LIBS
=`$PKG_CONFIG --libs "pangox"`
25333 echo "$as_me:$LINENO: result: $PANGOX_LIBS" >&5
25334 echo "${ECHO_T}$PANGOX_LIBS" >&6
25338 ## If we have a custom action on failure, don't print errors, but
25339 ## do set a variable so people can do so.
25340 PANGOX_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "pangox"`
25347 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
25348 echo "*** See http://www.freedesktop.org/software/pkgconfig"
25352 if test $succeeded = yes; then
25354 CXXFLAGS
="$CXXFLAGS $PANGOX_CFLAGS"
25355 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY $PANGOX_LIBS"
25359 { { echo "$as_me:$LINENO: error: pangox library not found, library cannot be compiled in Unicode mode" >&5
25360 echo "$as_me: error: pangox library not found, library cannot be compiled in Unicode mode" >&2;}
25361 { (exit 1); exit 1; }; }
25369 if test -z "$PKG_CONFIG"; then
25370 # Extract the first word of "pkg-config", so it can be a program name with args.
25371 set dummy pkg
-config; ac_word
=$2
25372 echo "$as_me:$LINENO: checking for $ac_word" >&5
25373 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
25374 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
25375 echo $ECHO_N "(cached) $ECHO_C" >&6
25377 case $PKG_CONFIG in
25379 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
25382 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
25383 for as_dir
in $PATH
25386 test -z "$as_dir" && as_dir
=.
25387 for ac_exec_ext
in '' $ac_executable_extensions; do
25388 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
25389 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
25390 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
25396 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
25400 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
25402 if test -n "$PKG_CONFIG"; then
25403 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
25404 echo "${ECHO_T}$PKG_CONFIG" >&6
25406 echo "$as_me:$LINENO: result: no" >&5
25407 echo "${ECHO_T}no" >&6
25412 if test "$PKG_CONFIG" = "no" ; then
25413 echo "*** The pkg-config script could not be found. Make sure it is"
25414 echo "*** in your path, or set the PKG_CONFIG environment variable"
25415 echo "*** to the full path to pkg-config."
25416 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
25418 PKG_CONFIG_MIN_VERSION
=0.9.0
25419 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
25420 echo "$as_me:$LINENO: checking for pangoft2" >&5
25421 echo $ECHO_N "checking for pangoft2... $ECHO_C" >&6
25423 if $PKG_CONFIG --exists "pangoft2" ; then
25424 echo "$as_me:$LINENO: result: yes" >&5
25425 echo "${ECHO_T}yes" >&6
25428 echo "$as_me:$LINENO: checking PANGOFT2_CFLAGS" >&5
25429 echo $ECHO_N "checking PANGOFT2_CFLAGS... $ECHO_C" >&6
25430 PANGOFT2_CFLAGS
=`$PKG_CONFIG --cflags "pangoft2"`
25431 echo "$as_me:$LINENO: result: $PANGOFT2_CFLAGS" >&5
25432 echo "${ECHO_T}$PANGOFT2_CFLAGS" >&6
25434 echo "$as_me:$LINENO: checking PANGOFT2_LIBS" >&5
25435 echo $ECHO_N "checking PANGOFT2_LIBS... $ECHO_C" >&6
25436 PANGOFT2_LIBS
=`$PKG_CONFIG --libs "pangoft2"`
25437 echo "$as_me:$LINENO: result: $PANGOFT2_LIBS" >&5
25438 echo "${ECHO_T}$PANGOFT2_LIBS" >&6
25442 ## If we have a custom action on failure, don't print errors, but
25443 ## do set a variable so people can do so.
25444 PANGOFT2_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoft2"`
25451 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
25452 echo "*** See http://www.freedesktop.org/software/pkgconfig"
25456 if test $succeeded = yes; then
25458 CXXFLAGS
="$CXXFLAGS $PANGOFT2_CFLAGS"
25459 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY $PANGOFT2_LIBS"
25463 { echo "$as_me:$LINENO: WARNING: pangoft2 library not found, library will be compiled without printing support" >&5
25464 echo "$as_me: WARNING: pangoft2 library not found, library will be compiled without printing support" >&2;}
25465 wxUSE_PRINTING_ARCHITECTURE
="no"
25473 if test -z "$PKG_CONFIG"; then
25474 # Extract the first word of "pkg-config", so it can be a program name with args.
25475 set dummy pkg
-config; ac_word
=$2
25476 echo "$as_me:$LINENO: checking for $ac_word" >&5
25477 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
25478 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
25479 echo $ECHO_N "(cached) $ECHO_C" >&6
25481 case $PKG_CONFIG in
25483 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
25486 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
25487 for as_dir
in $PATH
25490 test -z "$as_dir" && as_dir
=.
25491 for ac_exec_ext
in '' $ac_executable_extensions; do
25492 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
25493 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
25494 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
25500 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
25504 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
25506 if test -n "$PKG_CONFIG"; then
25507 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
25508 echo "${ECHO_T}$PKG_CONFIG" >&6
25510 echo "$as_me:$LINENO: result: no" >&5
25511 echo "${ECHO_T}no" >&6
25516 if test "$PKG_CONFIG" = "no" ; then
25517 echo "*** The pkg-config script could not be found. Make sure it is"
25518 echo "*** in your path, or set the PKG_CONFIG environment variable"
25519 echo "*** to the full path to pkg-config."
25520 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
25522 PKG_CONFIG_MIN_VERSION
=0.9.0
25523 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
25524 echo "$as_me:$LINENO: checking for pangoxft" >&5
25525 echo $ECHO_N "checking for pangoxft... $ECHO_C" >&6
25527 if $PKG_CONFIG --exists "pangoxft" ; then
25528 echo "$as_me:$LINENO: result: yes" >&5
25529 echo "${ECHO_T}yes" >&6
25532 echo "$as_me:$LINENO: checking PANGOXFT_CFLAGS" >&5
25533 echo $ECHO_N "checking PANGOXFT_CFLAGS... $ECHO_C" >&6
25534 PANGOXFT_CFLAGS
=`$PKG_CONFIG --cflags "pangoxft"`
25535 echo "$as_me:$LINENO: result: $PANGOXFT_CFLAGS" >&5
25536 echo "${ECHO_T}$PANGOXFT_CFLAGS" >&6
25538 echo "$as_me:$LINENO: checking PANGOXFT_LIBS" >&5
25539 echo $ECHO_N "checking PANGOXFT_LIBS... $ECHO_C" >&6
25540 PANGOXFT_LIBS
=`$PKG_CONFIG --libs "pangoxft"`
25541 echo "$as_me:$LINENO: result: $PANGOXFT_LIBS" >&5
25542 echo "${ECHO_T}$PANGOXFT_LIBS" >&6
25546 ## If we have a custom action on failure, don't print errors, but
25547 ## do set a variable so people can do so.
25548 PANGOXFT_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoxft"`
25555 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
25556 echo "*** See http://www.freedesktop.org/software/pkgconfig"
25560 if test $succeeded = yes; then
25562 CXXFLAGS
="$CXXFLAGS $PANGOXFT_CFLAGS"
25563 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY $PANGOXFT_LIBS"
25567 { echo "$as_me:$LINENO: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&5
25568 echo "$as_me: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&2;}
25573 save_CFLAGS
="$CFLAGS"
25575 CFLAGS
="$CFLAGS $PANGOX_CFLAGS"
25576 LIBS
="$LIBS $PANGOX_LIBS"
25578 for ac_func
in pango_font_family_is_monospace
25580 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
25581 echo "$as_me:$LINENO: checking for $ac_func" >&5
25582 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
25583 if eval "test \"\${$as_ac_var+set}\" = set"; then
25584 echo $ECHO_N "(cached) $ECHO_C" >&6
25586 cat >conftest.
$ac_ext <<_ACEOF
25589 cat confdefs.h
>>conftest.
$ac_ext
25590 cat >>conftest.
$ac_ext <<_ACEOF
25591 /* end confdefs.h. */
25592 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
25593 For example, HP-UX 11i <limits.h> declares gettimeofday. */
25594 #define $ac_func innocuous_$ac_func
25596 /* System header to define __stub macros and hopefully few prototypes,
25597 which can conflict with char $ac_func (); below.
25598 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25599 <limits.h> exists even on freestanding compilers. */
25602 # include <limits.h>
25604 # include <assert.h>
25609 /* Override any gcc2 internal prototype to avoid an error. */
25614 /* We use char because int might match the return type of a gcc2
25615 builtin and then its argument prototype would still apply. */
25617 /* The GNU C library defines this for functions which it implements
25618 to always fail with ENOSYS. Some functions are actually named
25619 something starting with __ and the normal name is an alias. */
25620 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
25623 char (*f) () = $ac_func;
25632 return f != $ac_func;
25637 rm -f conftest.
$ac_objext conftest
$ac_exeext
25638 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25639 (eval $ac_link) 2>conftest.er1
25641 grep -v '^ *+' conftest.er1
>conftest.err
25643 cat conftest.err
>&5
25644 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25645 (exit $ac_status); } &&
25646 { ac_try
='test -z "$ac_c_werror_flag"
25647 || test ! -s conftest.err'
25648 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25649 (eval $ac_try) 2>&5
25651 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25652 (exit $ac_status); }; } &&
25653 { ac_try
='test -s conftest$ac_exeext'
25654 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25655 (eval $ac_try) 2>&5
25657 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25658 (exit $ac_status); }; }; then
25659 eval "$as_ac_var=yes"
25661 echo "$as_me: failed program was:" >&5
25662 sed 's/^/| /' conftest.
$ac_ext >&5
25664 eval "$as_ac_var=no"
25666 rm -f conftest.err conftest.
$ac_objext \
25667 conftest
$ac_exeext conftest.
$ac_ext
25669 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
25670 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
25671 if test `eval echo '${'$as_ac_var'}'` = yes; then
25672 cat >>confdefs.h
<<_ACEOF
25673 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
25679 CFLAGS
="$save_CFLAGS"
25683 wxUSE_UNIVERSAL
="yes"
25685 if test "$wxUSE_NANOX" = "yes"; then
25686 TOOLKIT_INCLUDE
="-I\$(top_srcdir)/include/wx/x11/nanox -I\$(MICROWIN)/src/include $TOOLKIT_INCLUDE"
25687 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"
25688 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY \$(MICROWIN)/src/lib/libnano-X.a"
25690 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lX11"
25693 TOOLKIT_VPATH
="\${top_srcdir}/src/x11"
25698 if test "$wxUSE_MOTIF" = 1; then
25699 if test "$no_x" = yes; then
25700 # Not all programs may use this symbol, but it does not hurt to define it.
25702 cat >>confdefs.h
<<\_ACEOF
25703 #define X_DISPLAY_MISSING 1
25706 X_CFLAGS
= X_PRE_LIBS
= X_LIBS
= X_EXTRA_LIBS
=
25708 if test -n "$x_includes"; then
25709 X_CFLAGS
="$X_CFLAGS -I$x_includes"
25712 # It would also be nice to do this for all -L options, not just this one.
25713 if test -n "$x_libraries"; then
25714 X_LIBS
="$X_LIBS -L$x_libraries"
25715 # For Solaris; some versions of Sun CC require a space after -R and
25716 # others require no space. Words are not sufficient . . . .
25717 case `(uname -sr) 2>/dev/null` in
25719 echo "$as_me:$LINENO: checking whether -R must be followed by a space" >&5
25720 echo $ECHO_N "checking whether -R must be followed by a space... $ECHO_C" >&6
25721 ac_xsave_LIBS
=$LIBS; LIBS
="$LIBS -R$x_libraries"
25722 cat >conftest.
$ac_ext <<_ACEOF
25725 cat confdefs.h
>>conftest.
$ac_ext
25726 cat >>conftest.
$ac_ext <<_ACEOF
25727 /* end confdefs.h. */
25737 rm -f conftest.
$ac_objext conftest
$ac_exeext
25738 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25739 (eval $ac_link) 2>conftest.er1
25741 grep -v '^ *+' conftest.er1
>conftest.err
25743 cat conftest.err
>&5
25744 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25745 (exit $ac_status); } &&
25746 { ac_try
='test -z "$ac_c_werror_flag"
25747 || test ! -s conftest.err'
25748 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25749 (eval $ac_try) 2>&5
25751 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25752 (exit $ac_status); }; } &&
25753 { ac_try
='test -s conftest$ac_exeext'
25754 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25755 (eval $ac_try) 2>&5
25757 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25758 (exit $ac_status); }; }; then
25761 echo "$as_me: failed program was:" >&5
25762 sed 's/^/| /' conftest.
$ac_ext >&5
25766 rm -f conftest.err conftest.
$ac_objext \
25767 conftest
$ac_exeext conftest.
$ac_ext
25768 if test $ac_R_nospace = yes; then
25769 echo "$as_me:$LINENO: result: no" >&5
25770 echo "${ECHO_T}no" >&6
25771 X_LIBS
="$X_LIBS -R$x_libraries"
25773 LIBS
="$ac_xsave_LIBS -R $x_libraries"
25774 cat >conftest.
$ac_ext <<_ACEOF
25777 cat confdefs.h
>>conftest.
$ac_ext
25778 cat >>conftest.
$ac_ext <<_ACEOF
25779 /* end confdefs.h. */
25789 rm -f conftest.
$ac_objext conftest
$ac_exeext
25790 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25791 (eval $ac_link) 2>conftest.er1
25793 grep -v '^ *+' conftest.er1
>conftest.err
25795 cat conftest.err
>&5
25796 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25797 (exit $ac_status); } &&
25798 { ac_try
='test -z "$ac_c_werror_flag"
25799 || test ! -s conftest.err'
25800 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25801 (eval $ac_try) 2>&5
25803 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25804 (exit $ac_status); }; } &&
25805 { ac_try
='test -s conftest$ac_exeext'
25806 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25807 (eval $ac_try) 2>&5
25809 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25810 (exit $ac_status); }; }; then
25813 echo "$as_me: failed program was:" >&5
25814 sed 's/^/| /' conftest.
$ac_ext >&5
25818 rm -f conftest.err conftest.
$ac_objext \
25819 conftest
$ac_exeext conftest.
$ac_ext
25820 if test $ac_R_space = yes; then
25821 echo "$as_me:$LINENO: result: yes" >&5
25822 echo "${ECHO_T}yes" >&6
25823 X_LIBS
="$X_LIBS -R $x_libraries"
25825 echo "$as_me:$LINENO: result: neither works" >&5
25826 echo "${ECHO_T}neither works" >&6
25829 LIBS
=$ac_xsave_LIBS
25833 # Check for system-dependent libraries X programs must link with.
25834 # Do this before checking for the system-independent R6 libraries
25835 # (-lICE), since we may need -lsocket or whatever for X linking.
25837 if test "$ISC" = yes; then
25838 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl_s -linet"
25840 # Martyn Johnson says this is needed for Ultrix, if the X
25841 # libraries were built with DECnet support. And Karl Berry says
25842 # the Alpha needs dnet_stub (dnet does not exist).
25843 ac_xsave_LIBS
="$LIBS"; LIBS
="$LIBS $X_LIBS -lX11"
25844 cat >conftest.
$ac_ext <<_ACEOF
25847 cat confdefs.h
>>conftest.
$ac_ext
25848 cat >>conftest.
$ac_ext <<_ACEOF
25849 /* end confdefs.h. */
25851 /* Override any gcc2 internal prototype to avoid an error. */
25855 /* We use char because int might match the return type of a gcc2
25856 builtin and then its argument prototype would still apply. */
25857 char XOpenDisplay ();
25866 rm -f conftest.
$ac_objext conftest
$ac_exeext
25867 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25868 (eval $ac_link) 2>conftest.er1
25870 grep -v '^ *+' conftest.er1
>conftest.err
25872 cat conftest.err
>&5
25873 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25874 (exit $ac_status); } &&
25875 { ac_try
='test -z "$ac_c_werror_flag"
25876 || test ! -s conftest.err'
25877 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25878 (eval $ac_try) 2>&5
25880 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25881 (exit $ac_status); }; } &&
25882 { ac_try
='test -s conftest$ac_exeext'
25883 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25884 (eval $ac_try) 2>&5
25886 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25887 (exit $ac_status); }; }; then
25890 echo "$as_me: failed program was:" >&5
25891 sed 's/^/| /' conftest.
$ac_ext >&5
25893 echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet" >&5
25894 echo $ECHO_N "checking for dnet_ntoa in -ldnet... $ECHO_C" >&6
25895 if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then
25896 echo $ECHO_N "(cached) $ECHO_C" >&6
25898 ac_check_lib_save_LIBS
=$LIBS
25899 LIBS
="-ldnet $LIBS"
25900 cat >conftest.
$ac_ext <<_ACEOF
25903 cat confdefs.h
>>conftest.
$ac_ext
25904 cat >>conftest.
$ac_ext <<_ACEOF
25905 /* end confdefs.h. */
25907 /* Override any gcc2 internal prototype to avoid an error. */
25911 /* We use char because int might match the return type of a gcc2
25912 builtin and then its argument prototype would still apply. */
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 ac_cv_lib_dnet_dnet_ntoa
=yes
25946 echo "$as_me: failed program was:" >&5
25947 sed 's/^/| /' conftest.
$ac_ext >&5
25949 ac_cv_lib_dnet_dnet_ntoa
=no
25951 rm -f conftest.err conftest.
$ac_objext \
25952 conftest
$ac_exeext conftest.
$ac_ext
25953 LIBS
=$ac_check_lib_save_LIBS
25955 echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
25956 echo "${ECHO_T}$ac_cv_lib_dnet_dnet_ntoa" >&6
25957 if test $ac_cv_lib_dnet_dnet_ntoa = yes; then
25958 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet"
25961 if test $ac_cv_lib_dnet_dnet_ntoa = no
; then
25962 echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet_stub" >&5
25963 echo $ECHO_N "checking for dnet_ntoa in -ldnet_stub... $ECHO_C" >&6
25964 if test "${ac_cv_lib_dnet_stub_dnet_ntoa+set}" = set; then
25965 echo $ECHO_N "(cached) $ECHO_C" >&6
25967 ac_check_lib_save_LIBS
=$LIBS
25968 LIBS
="-ldnet_stub $LIBS"
25969 cat >conftest.
$ac_ext <<_ACEOF
25972 cat confdefs.h
>>conftest.
$ac_ext
25973 cat >>conftest.
$ac_ext <<_ACEOF
25974 /* end confdefs.h. */
25976 /* Override any gcc2 internal prototype to avoid an error. */
25980 /* We use char because int might match the return type of a gcc2
25981 builtin and then its argument prototype would still apply. */
25991 rm -f conftest.
$ac_objext conftest
$ac_exeext
25992 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25993 (eval $ac_link) 2>conftest.er1
25995 grep -v '^ *+' conftest.er1
>conftest.err
25997 cat conftest.err
>&5
25998 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25999 (exit $ac_status); } &&
26000 { ac_try
='test -z "$ac_c_werror_flag"
26001 || test ! -s conftest.err'
26002 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26003 (eval $ac_try) 2>&5
26005 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26006 (exit $ac_status); }; } &&
26007 { ac_try
='test -s conftest$ac_exeext'
26008 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26009 (eval $ac_try) 2>&5
26011 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26012 (exit $ac_status); }; }; then
26013 ac_cv_lib_dnet_stub_dnet_ntoa
=yes
26015 echo "$as_me: failed program was:" >&5
26016 sed 's/^/| /' conftest.
$ac_ext >&5
26018 ac_cv_lib_dnet_stub_dnet_ntoa
=no
26020 rm -f conftest.err conftest.
$ac_objext \
26021 conftest
$ac_exeext conftest.
$ac_ext
26022 LIBS
=$ac_check_lib_save_LIBS
26024 echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
26025 echo "${ECHO_T}$ac_cv_lib_dnet_stub_dnet_ntoa" >&6
26026 if test $ac_cv_lib_dnet_stub_dnet_ntoa = yes; then
26027 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet_stub"
26032 rm -f conftest.err conftest.
$ac_objext \
26033 conftest
$ac_exeext conftest.
$ac_ext
26034 LIBS
="$ac_xsave_LIBS"
26036 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
26037 # to get the SysV transport functions.
26038 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
26040 # The nsl library prevents programs from opening the X display
26041 # on Irix 5.2, according to T.E. Dickey.
26042 # The functions gethostbyname, getservbyname, and inet_addr are
26043 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
26044 echo "$as_me:$LINENO: checking for gethostbyname" >&5
26045 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6
26046 if test "${ac_cv_func_gethostbyname+set}" = set; then
26047 echo $ECHO_N "(cached) $ECHO_C" >&6
26049 cat >conftest.
$ac_ext <<_ACEOF
26052 cat confdefs.h
>>conftest.
$ac_ext
26053 cat >>conftest.
$ac_ext <<_ACEOF
26054 /* end confdefs.h. */
26055 /* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
26056 For example, HP-UX 11i <limits.h> declares gettimeofday. */
26057 #define gethostbyname innocuous_gethostbyname
26059 /* System header to define __stub macros and hopefully few prototypes,
26060 which can conflict with char gethostbyname (); below.
26061 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
26062 <limits.h> exists even on freestanding compilers. */
26065 # include <limits.h>
26067 # include <assert.h>
26070 #undef gethostbyname
26072 /* Override any gcc2 internal prototype to avoid an error. */
26077 /* We use char because int might match the return type of a gcc2
26078 builtin and then its argument prototype would still apply. */
26079 char gethostbyname ();
26080 /* The GNU C library defines this for functions which it implements
26081 to always fail with ENOSYS. Some functions are actually named
26082 something starting with __ and the normal name is an alias. */
26083 #if defined (__stub_gethostbyname) || defined (__stub___gethostbyname)
26086 char (*f) () = gethostbyname;
26095 return f != gethostbyname;
26100 rm -f conftest.
$ac_objext conftest
$ac_exeext
26101 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26102 (eval $ac_link) 2>conftest.er1
26104 grep -v '^ *+' conftest.er1
>conftest.err
26106 cat conftest.err
>&5
26107 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26108 (exit $ac_status); } &&
26109 { ac_try
='test -z "$ac_c_werror_flag"
26110 || test ! -s conftest.err'
26111 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26112 (eval $ac_try) 2>&5
26114 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26115 (exit $ac_status); }; } &&
26116 { ac_try
='test -s conftest$ac_exeext'
26117 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26118 (eval $ac_try) 2>&5
26120 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26121 (exit $ac_status); }; }; then
26122 ac_cv_func_gethostbyname
=yes
26124 echo "$as_me: failed program was:" >&5
26125 sed 's/^/| /' conftest.
$ac_ext >&5
26127 ac_cv_func_gethostbyname
=no
26129 rm -f conftest.err conftest.
$ac_objext \
26130 conftest
$ac_exeext conftest.
$ac_ext
26132 echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
26133 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6
26135 if test $ac_cv_func_gethostbyname = no
; then
26136 echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
26137 echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6
26138 if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
26139 echo $ECHO_N "(cached) $ECHO_C" >&6
26141 ac_check_lib_save_LIBS
=$LIBS
26143 cat >conftest.
$ac_ext <<_ACEOF
26146 cat confdefs.h
>>conftest.
$ac_ext
26147 cat >>conftest.
$ac_ext <<_ACEOF
26148 /* end confdefs.h. */
26150 /* Override any gcc2 internal prototype to avoid an error. */
26154 /* We use char because int might match the return type of a gcc2
26155 builtin and then its argument prototype would still apply. */
26156 char gethostbyname ();
26165 rm -f conftest.
$ac_objext conftest
$ac_exeext
26166 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26167 (eval $ac_link) 2>conftest.er1
26169 grep -v '^ *+' conftest.er1
>conftest.err
26171 cat conftest.err
>&5
26172 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26173 (exit $ac_status); } &&
26174 { ac_try
='test -z "$ac_c_werror_flag"
26175 || test ! -s conftest.err'
26176 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26177 (eval $ac_try) 2>&5
26179 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26180 (exit $ac_status); }; } &&
26181 { ac_try
='test -s conftest$ac_exeext'
26182 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26183 (eval $ac_try) 2>&5
26185 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26186 (exit $ac_status); }; }; then
26187 ac_cv_lib_nsl_gethostbyname
=yes
26189 echo "$as_me: failed program was:" >&5
26190 sed 's/^/| /' conftest.
$ac_ext >&5
26192 ac_cv_lib_nsl_gethostbyname
=no
26194 rm -f conftest.err conftest.
$ac_objext \
26195 conftest
$ac_exeext conftest.
$ac_ext
26196 LIBS
=$ac_check_lib_save_LIBS
26198 echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
26199 echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6
26200 if test $ac_cv_lib_nsl_gethostbyname = yes; then
26201 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl"
26204 if test $ac_cv_lib_nsl_gethostbyname = no
; then
26205 echo "$as_me:$LINENO: checking for gethostbyname in -lbsd" >&5
26206 echo $ECHO_N "checking for gethostbyname in -lbsd... $ECHO_C" >&6
26207 if test "${ac_cv_lib_bsd_gethostbyname+set}" = set; then
26208 echo $ECHO_N "(cached) $ECHO_C" >&6
26210 ac_check_lib_save_LIBS
=$LIBS
26212 cat >conftest.
$ac_ext <<_ACEOF
26215 cat confdefs.h
>>conftest.
$ac_ext
26216 cat >>conftest.
$ac_ext <<_ACEOF
26217 /* end confdefs.h. */
26219 /* Override any gcc2 internal prototype to avoid an error. */
26223 /* We use char because int might match the return type of a gcc2
26224 builtin and then its argument prototype would still apply. */
26225 char gethostbyname ();
26234 rm -f conftest.
$ac_objext conftest
$ac_exeext
26235 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26236 (eval $ac_link) 2>conftest.er1
26238 grep -v '^ *+' conftest.er1
>conftest.err
26240 cat conftest.err
>&5
26241 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26242 (exit $ac_status); } &&
26243 { ac_try
='test -z "$ac_c_werror_flag"
26244 || test ! -s conftest.err'
26245 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26246 (eval $ac_try) 2>&5
26248 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26249 (exit $ac_status); }; } &&
26250 { ac_try
='test -s conftest$ac_exeext'
26251 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26252 (eval $ac_try) 2>&5
26254 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26255 (exit $ac_status); }; }; then
26256 ac_cv_lib_bsd_gethostbyname
=yes
26258 echo "$as_me: failed program was:" >&5
26259 sed 's/^/| /' conftest.
$ac_ext >&5
26261 ac_cv_lib_bsd_gethostbyname
=no
26263 rm -f conftest.err conftest.
$ac_objext \
26264 conftest
$ac_exeext conftest.
$ac_ext
26265 LIBS
=$ac_check_lib_save_LIBS
26267 echo "$as_me:$LINENO: result: $ac_cv_lib_bsd_gethostbyname" >&5
26268 echo "${ECHO_T}$ac_cv_lib_bsd_gethostbyname" >&6
26269 if test $ac_cv_lib_bsd_gethostbyname = yes; then
26270 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lbsd"
26276 # lieder@skyler.mavd.honeywell.com says without -lsocket,
26277 # socket/setsockopt and other routines are undefined under SCO ODT
26278 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
26279 # on later versions), says Simon Leinen: it contains gethostby*
26280 # variants that don't use the name server (or something). -lsocket
26281 # must be given before -lnsl if both are needed. We assume that
26282 # if connect needs -lnsl, so does gethostbyname.
26283 echo "$as_me:$LINENO: checking for connect" >&5
26284 echo $ECHO_N "checking for connect... $ECHO_C" >&6
26285 if test "${ac_cv_func_connect+set}" = set; then
26286 echo $ECHO_N "(cached) $ECHO_C" >&6
26288 cat >conftest.
$ac_ext <<_ACEOF
26291 cat confdefs.h
>>conftest.
$ac_ext
26292 cat >>conftest.
$ac_ext <<_ACEOF
26293 /* end confdefs.h. */
26294 /* Define connect to an innocuous variant, in case <limits.h> declares connect.
26295 For example, HP-UX 11i <limits.h> declares gettimeofday. */
26296 #define connect innocuous_connect
26298 /* System header to define __stub macros and hopefully few prototypes,
26299 which can conflict with char connect (); below.
26300 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
26301 <limits.h> exists even on freestanding compilers. */
26304 # include <limits.h>
26306 # include <assert.h>
26311 /* Override any gcc2 internal prototype to avoid an error. */
26316 /* We use char because int might match the return type of a gcc2
26317 builtin and then its argument prototype would still apply. */
26319 /* The GNU C library defines this for functions which it implements
26320 to always fail with ENOSYS. Some functions are actually named
26321 something starting with __ and the normal name is an alias. */
26322 #if defined (__stub_connect) || defined (__stub___connect)
26325 char (*f) () = connect;
26334 return f != connect;
26339 rm -f conftest.
$ac_objext conftest
$ac_exeext
26340 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26341 (eval $ac_link) 2>conftest.er1
26343 grep -v '^ *+' conftest.er1
>conftest.err
26345 cat conftest.err
>&5
26346 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26347 (exit $ac_status); } &&
26348 { ac_try
='test -z "$ac_c_werror_flag"
26349 || test ! -s conftest.err'
26350 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26351 (eval $ac_try) 2>&5
26353 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26354 (exit $ac_status); }; } &&
26355 { ac_try
='test -s conftest$ac_exeext'
26356 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26357 (eval $ac_try) 2>&5
26359 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26360 (exit $ac_status); }; }; then
26361 ac_cv_func_connect
=yes
26363 echo "$as_me: failed program was:" >&5
26364 sed 's/^/| /' conftest.
$ac_ext >&5
26366 ac_cv_func_connect
=no
26368 rm -f conftest.err conftest.
$ac_objext \
26369 conftest
$ac_exeext conftest.
$ac_ext
26371 echo "$as_me:$LINENO: result: $ac_cv_func_connect" >&5
26372 echo "${ECHO_T}$ac_cv_func_connect" >&6
26374 if test $ac_cv_func_connect = no
; then
26375 echo "$as_me:$LINENO: checking for connect in -lsocket" >&5
26376 echo $ECHO_N "checking for connect in -lsocket... $ECHO_C" >&6
26377 if test "${ac_cv_lib_socket_connect+set}" = set; then
26378 echo $ECHO_N "(cached) $ECHO_C" >&6
26380 ac_check_lib_save_LIBS
=$LIBS
26381 LIBS
="-lsocket $X_EXTRA_LIBS $LIBS"
26382 cat >conftest.
$ac_ext <<_ACEOF
26385 cat confdefs.h
>>conftest.
$ac_ext
26386 cat >>conftest.
$ac_ext <<_ACEOF
26387 /* end confdefs.h. */
26389 /* Override any gcc2 internal prototype to avoid an error. */
26393 /* We use char because int might match the return type of a gcc2
26394 builtin and then its argument prototype would still apply. */
26404 rm -f conftest.
$ac_objext conftest
$ac_exeext
26405 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26406 (eval $ac_link) 2>conftest.er1
26408 grep -v '^ *+' conftest.er1
>conftest.err
26410 cat conftest.err
>&5
26411 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26412 (exit $ac_status); } &&
26413 { ac_try
='test -z "$ac_c_werror_flag"
26414 || test ! -s conftest.err'
26415 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26416 (eval $ac_try) 2>&5
26418 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26419 (exit $ac_status); }; } &&
26420 { ac_try
='test -s conftest$ac_exeext'
26421 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26422 (eval $ac_try) 2>&5
26424 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26425 (exit $ac_status); }; }; then
26426 ac_cv_lib_socket_connect
=yes
26428 echo "$as_me: failed program was:" >&5
26429 sed 's/^/| /' conftest.
$ac_ext >&5
26431 ac_cv_lib_socket_connect
=no
26433 rm -f conftest.err conftest.
$ac_objext \
26434 conftest
$ac_exeext conftest.
$ac_ext
26435 LIBS
=$ac_check_lib_save_LIBS
26437 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5
26438 echo "${ECHO_T}$ac_cv_lib_socket_connect" >&6
26439 if test $ac_cv_lib_socket_connect = yes; then
26440 X_EXTRA_LIBS
="-lsocket $X_EXTRA_LIBS"
26445 # Guillermo Gomez says -lposix is necessary on A/UX.
26446 echo "$as_me:$LINENO: checking for remove" >&5
26447 echo $ECHO_N "checking for remove... $ECHO_C" >&6
26448 if test "${ac_cv_func_remove+set}" = set; then
26449 echo $ECHO_N "(cached) $ECHO_C" >&6
26451 cat >conftest.
$ac_ext <<_ACEOF
26454 cat confdefs.h
>>conftest.
$ac_ext
26455 cat >>conftest.
$ac_ext <<_ACEOF
26456 /* end confdefs.h. */
26457 /* Define remove to an innocuous variant, in case <limits.h> declares remove.
26458 For example, HP-UX 11i <limits.h> declares gettimeofday. */
26459 #define remove innocuous_remove
26461 /* System header to define __stub macros and hopefully few prototypes,
26462 which can conflict with char remove (); below.
26463 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
26464 <limits.h> exists even on freestanding compilers. */
26467 # include <limits.h>
26469 # include <assert.h>
26474 /* Override any gcc2 internal prototype to avoid an error. */
26479 /* We use char because int might match the return type of a gcc2
26480 builtin and then its argument prototype would still apply. */
26482 /* The GNU C library defines this for functions which it implements
26483 to always fail with ENOSYS. Some functions are actually named
26484 something starting with __ and the normal name is an alias. */
26485 #if defined (__stub_remove) || defined (__stub___remove)
26488 char (*f) () = remove;
26497 return f != remove;
26502 rm -f conftest.
$ac_objext conftest
$ac_exeext
26503 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26504 (eval $ac_link) 2>conftest.er1
26506 grep -v '^ *+' conftest.er1
>conftest.err
26508 cat conftest.err
>&5
26509 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26510 (exit $ac_status); } &&
26511 { ac_try
='test -z "$ac_c_werror_flag"
26512 || test ! -s conftest.err'
26513 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26514 (eval $ac_try) 2>&5
26516 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26517 (exit $ac_status); }; } &&
26518 { ac_try
='test -s conftest$ac_exeext'
26519 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26520 (eval $ac_try) 2>&5
26522 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26523 (exit $ac_status); }; }; then
26524 ac_cv_func_remove
=yes
26526 echo "$as_me: failed program was:" >&5
26527 sed 's/^/| /' conftest.
$ac_ext >&5
26529 ac_cv_func_remove
=no
26531 rm -f conftest.err conftest.
$ac_objext \
26532 conftest
$ac_exeext conftest.
$ac_ext
26534 echo "$as_me:$LINENO: result: $ac_cv_func_remove" >&5
26535 echo "${ECHO_T}$ac_cv_func_remove" >&6
26537 if test $ac_cv_func_remove = no
; then
26538 echo "$as_me:$LINENO: checking for remove in -lposix" >&5
26539 echo $ECHO_N "checking for remove in -lposix... $ECHO_C" >&6
26540 if test "${ac_cv_lib_posix_remove+set}" = set; then
26541 echo $ECHO_N "(cached) $ECHO_C" >&6
26543 ac_check_lib_save_LIBS
=$LIBS
26544 LIBS
="-lposix $LIBS"
26545 cat >conftest.
$ac_ext <<_ACEOF
26548 cat confdefs.h
>>conftest.
$ac_ext
26549 cat >>conftest.
$ac_ext <<_ACEOF
26550 /* end confdefs.h. */
26552 /* Override any gcc2 internal prototype to avoid an error. */
26556 /* We use char because int might match the return type of a gcc2
26557 builtin and then its argument prototype would still apply. */
26567 rm -f conftest.
$ac_objext conftest
$ac_exeext
26568 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26569 (eval $ac_link) 2>conftest.er1
26571 grep -v '^ *+' conftest.er1
>conftest.err
26573 cat conftest.err
>&5
26574 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26575 (exit $ac_status); } &&
26576 { ac_try
='test -z "$ac_c_werror_flag"
26577 || test ! -s conftest.err'
26578 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26579 (eval $ac_try) 2>&5
26581 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26582 (exit $ac_status); }; } &&
26583 { ac_try
='test -s conftest$ac_exeext'
26584 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26585 (eval $ac_try) 2>&5
26587 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26588 (exit $ac_status); }; }; then
26589 ac_cv_lib_posix_remove
=yes
26591 echo "$as_me: failed program was:" >&5
26592 sed 's/^/| /' conftest.
$ac_ext >&5
26594 ac_cv_lib_posix_remove
=no
26596 rm -f conftest.err conftest.
$ac_objext \
26597 conftest
$ac_exeext conftest.
$ac_ext
26598 LIBS
=$ac_check_lib_save_LIBS
26600 echo "$as_me:$LINENO: result: $ac_cv_lib_posix_remove" >&5
26601 echo "${ECHO_T}$ac_cv_lib_posix_remove" >&6
26602 if test $ac_cv_lib_posix_remove = yes; then
26603 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lposix"
26608 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
26609 echo "$as_me:$LINENO: checking for shmat" >&5
26610 echo $ECHO_N "checking for shmat... $ECHO_C" >&6
26611 if test "${ac_cv_func_shmat+set}" = set; then
26612 echo $ECHO_N "(cached) $ECHO_C" >&6
26614 cat >conftest.
$ac_ext <<_ACEOF
26617 cat confdefs.h
>>conftest.
$ac_ext
26618 cat >>conftest.
$ac_ext <<_ACEOF
26619 /* end confdefs.h. */
26620 /* Define shmat to an innocuous variant, in case <limits.h> declares shmat.
26621 For example, HP-UX 11i <limits.h> declares gettimeofday. */
26622 #define shmat innocuous_shmat
26624 /* System header to define __stub macros and hopefully few prototypes,
26625 which can conflict with char shmat (); below.
26626 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
26627 <limits.h> exists even on freestanding compilers. */
26630 # include <limits.h>
26632 # include <assert.h>
26637 /* Override any gcc2 internal prototype to avoid an error. */
26642 /* We use char because int might match the return type of a gcc2
26643 builtin and then its argument prototype would still apply. */
26645 /* The GNU C library defines this for functions which it implements
26646 to always fail with ENOSYS. Some functions are actually named
26647 something starting with __ and the normal name is an alias. */
26648 #if defined (__stub_shmat) || defined (__stub___shmat)
26651 char (*f) () = shmat;
26665 rm -f conftest.
$ac_objext conftest
$ac_exeext
26666 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26667 (eval $ac_link) 2>conftest.er1
26669 grep -v '^ *+' conftest.er1
>conftest.err
26671 cat conftest.err
>&5
26672 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26673 (exit $ac_status); } &&
26674 { ac_try
='test -z "$ac_c_werror_flag"
26675 || test ! -s conftest.err'
26676 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26677 (eval $ac_try) 2>&5
26679 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26680 (exit $ac_status); }; } &&
26681 { ac_try
='test -s conftest$ac_exeext'
26682 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26683 (eval $ac_try) 2>&5
26685 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26686 (exit $ac_status); }; }; then
26687 ac_cv_func_shmat
=yes
26689 echo "$as_me: failed program was:" >&5
26690 sed 's/^/| /' conftest.
$ac_ext >&5
26692 ac_cv_func_shmat
=no
26694 rm -f conftest.err conftest.
$ac_objext \
26695 conftest
$ac_exeext conftest.
$ac_ext
26697 echo "$as_me:$LINENO: result: $ac_cv_func_shmat" >&5
26698 echo "${ECHO_T}$ac_cv_func_shmat" >&6
26700 if test $ac_cv_func_shmat = no
; then
26701 echo "$as_me:$LINENO: checking for shmat in -lipc" >&5
26702 echo $ECHO_N "checking for shmat in -lipc... $ECHO_C" >&6
26703 if test "${ac_cv_lib_ipc_shmat+set}" = set; then
26704 echo $ECHO_N "(cached) $ECHO_C" >&6
26706 ac_check_lib_save_LIBS
=$LIBS
26708 cat >conftest.
$ac_ext <<_ACEOF
26711 cat confdefs.h
>>conftest.
$ac_ext
26712 cat >>conftest.
$ac_ext <<_ACEOF
26713 /* end confdefs.h. */
26715 /* Override any gcc2 internal prototype to avoid an error. */
26719 /* We use char because int might match the return type of a gcc2
26720 builtin and then its argument prototype would still apply. */
26730 rm -f conftest.
$ac_objext conftest
$ac_exeext
26731 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26732 (eval $ac_link) 2>conftest.er1
26734 grep -v '^ *+' conftest.er1
>conftest.err
26736 cat conftest.err
>&5
26737 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26738 (exit $ac_status); } &&
26739 { ac_try
='test -z "$ac_c_werror_flag"
26740 || test ! -s conftest.err'
26741 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26742 (eval $ac_try) 2>&5
26744 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26745 (exit $ac_status); }; } &&
26746 { ac_try
='test -s conftest$ac_exeext'
26747 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26748 (eval $ac_try) 2>&5
26750 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26751 (exit $ac_status); }; }; then
26752 ac_cv_lib_ipc_shmat
=yes
26754 echo "$as_me: failed program was:" >&5
26755 sed 's/^/| /' conftest.
$ac_ext >&5
26757 ac_cv_lib_ipc_shmat
=no
26759 rm -f conftest.err conftest.
$ac_objext \
26760 conftest
$ac_exeext conftest.
$ac_ext
26761 LIBS
=$ac_check_lib_save_LIBS
26763 echo "$as_me:$LINENO: result: $ac_cv_lib_ipc_shmat" >&5
26764 echo "${ECHO_T}$ac_cv_lib_ipc_shmat" >&6
26765 if test $ac_cv_lib_ipc_shmat = yes; then
26766 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lipc"
26772 # Check for libraries that X11R6 Xt/Xaw programs need.
26773 ac_save_LDFLAGS
=$LDFLAGS
26774 test -n "$x_libraries" && LDFLAGS
="$LDFLAGS -L$x_libraries"
26775 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
26776 # check for ICE first), but we must link in the order -lSM -lICE or
26777 # we get undefined symbols. So assume we have SM if we have ICE.
26778 # These have to be linked with before -lX11, unlike the other
26779 # libraries we check for below, so use a different variable.
26780 # John Interrante, Karl Berry
26781 echo "$as_me:$LINENO: checking for IceConnectionNumber in -lICE" >&5
26782 echo $ECHO_N "checking for IceConnectionNumber in -lICE... $ECHO_C" >&6
26783 if test "${ac_cv_lib_ICE_IceConnectionNumber+set}" = set; then
26784 echo $ECHO_N "(cached) $ECHO_C" >&6
26786 ac_check_lib_save_LIBS
=$LIBS
26787 LIBS
="-lICE $X_EXTRA_LIBS $LIBS"
26788 cat >conftest.
$ac_ext <<_ACEOF
26791 cat confdefs.h
>>conftest.
$ac_ext
26792 cat >>conftest.
$ac_ext <<_ACEOF
26793 /* end confdefs.h. */
26795 /* Override any gcc2 internal prototype to avoid an error. */
26799 /* We use char because int might match the return type of a gcc2
26800 builtin and then its argument prototype would still apply. */
26801 char IceConnectionNumber ();
26805 IceConnectionNumber ();
26810 rm -f conftest.
$ac_objext conftest
$ac_exeext
26811 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26812 (eval $ac_link) 2>conftest.er1
26814 grep -v '^ *+' conftest.er1
>conftest.err
26816 cat conftest.err
>&5
26817 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26818 (exit $ac_status); } &&
26819 { ac_try
='test -z "$ac_c_werror_flag"
26820 || test ! -s conftest.err'
26821 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26822 (eval $ac_try) 2>&5
26824 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26825 (exit $ac_status); }; } &&
26826 { ac_try
='test -s conftest$ac_exeext'
26827 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26828 (eval $ac_try) 2>&5
26830 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26831 (exit $ac_status); }; }; then
26832 ac_cv_lib_ICE_IceConnectionNumber
=yes
26834 echo "$as_me: failed program was:" >&5
26835 sed 's/^/| /' conftest.
$ac_ext >&5
26837 ac_cv_lib_ICE_IceConnectionNumber
=no
26839 rm -f conftest.err conftest.
$ac_objext \
26840 conftest
$ac_exeext conftest.
$ac_ext
26841 LIBS
=$ac_check_lib_save_LIBS
26843 echo "$as_me:$LINENO: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
26844 echo "${ECHO_T}$ac_cv_lib_ICE_IceConnectionNumber" >&6
26845 if test $ac_cv_lib_ICE_IceConnectionNumber = yes; then
26846 X_PRE_LIBS
="$X_PRE_LIBS -lSM -lICE"
26849 LDFLAGS
=$ac_save_LDFLAGS
26854 if test "$no_x" = "yes"; then
26855 { { echo "$as_me:$LINENO: error: X11 not found" >&5
26856 echo "$as_me: error: X11 not found" >&2;}
26857 { (exit please use
--x-includes and
/or
--x-libraries options
); exit please use
--x-includes and
/or
--x-libraries options
; }; }
26860 GUI_TK_LIBRARY
=`echo $X_LIBS | sed 's/ -LNONE//'`
26861 TOOLKIT_INCLUDE
=`echo $X_CFLAGS | sed 's/ -INONE//'`
26862 AFMINSTALL
=afminstall
26863 COMPILED_X_PROGRAM
=0
26865 echo "$as_me:$LINENO: checking for Motif/Lesstif headers" >&5
26866 echo $ECHO_N "checking for Motif/Lesstif headers... $ECHO_C" >&6
26869 for ac_dir
in $SEARCH_INCLUDE /usr
/include
;
26871 if test -f "$ac_dir/Xm/Xm.h"; then
26872 ac_find_includes
=$ac_dir
26877 if test "$ac_find_includes" != "" ; then
26878 echo "$as_me:$LINENO: result: found in $ac_find_includes" >&5
26879 echo "${ECHO_T}found in $ac_find_includes" >&6
26881 if test "x$ac_find_includes" = "x/usr/include"; then
26882 ac_path_to_include
=""
26884 echo "$TOOLKIT_INCLUDE" | grep "\-I$ac_find_includes" > /dev
/null
26886 if test $result = 0; then
26887 ac_path_to_include
=""
26889 ac_path_to_include
=" -I$ac_find_includes"
26893 TOOLKIT_INCLUDE
="$TOOLKIT_INCLUDE$ac_path_to_include"
26895 cat >conftest.
$ac_ext <<_ACEOF
26898 cat confdefs.h
>>conftest.
$ac_ext
26899 cat >>conftest.
$ac_ext <<_ACEOF
26900 /* end confdefs.h. */
26909 version = xmUseVersion;
26915 rm -f conftest.
$ac_objext
26916 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26917 (eval $ac_compile) 2>conftest.er1
26919 grep -v '^ *+' conftest.er1
>conftest.err
26921 cat conftest.err
>&5
26922 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26923 (exit $ac_status); } &&
26924 { ac_try
='test -z "$ac_c_werror_flag"
26925 || test ! -s conftest.err'
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); }; } &&
26931 { ac_try
='test -s conftest.$ac_objext'
26932 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26933 (eval $ac_try) 2>&5
26935 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26936 (exit $ac_status); }; }; then
26938 echo "$as_me:$LINENO: result: found in default search path" >&5
26939 echo "${ECHO_T}found in default search path" >&6
26940 COMPILED_X_PROGRAM
=1
26943 echo "$as_me: failed program was:" >&5
26944 sed 's/^/| /' conftest.
$ac_ext >&5
26947 echo "$as_me:$LINENO: result: no" >&5
26948 echo "${ECHO_T}no" >&6
26949 { { echo "$as_me:$LINENO: error: please set CFLAGS to contain the location of Xm/Xm.h" >&5
26950 echo "$as_me: error: please set CFLAGS to contain the location of Xm/Xm.h" >&2;}
26951 { (exit 1); exit 1; }; }
26955 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
26958 if test "$COMPILED_X_PROGRAM" = 0; then
26959 echo "$as_me:$LINENO: checking for Motif/Lesstif library" >&5
26960 echo $ECHO_N "checking for Motif/Lesstif library... $ECHO_C" >&6
26963 for ac_dir
in $SEARCH_LIB /usr
/lib
;
26965 for ac_extension
in a so sl dylib
; do
26966 if test -f "$ac_dir/libXm.$ac_extension"; then
26967 ac_find_libraries
=$ac_dir
26973 if test "$ac_find_libraries" != "" ; then
26974 echo "$as_me:$LINENO: result: found at $ac_find_libraries" >&5
26975 echo "${ECHO_T}found at $ac_find_libraries" >&6
26978 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev
/null
26980 if test $result = 0; then
26983 ac_path_to_link
=" -L$ac_find_libraries"
26986 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY$ac_path_to_link"
26988 save_CFLAGS
=$CFLAGS
26989 CFLAGS
="$CFLAGS $TOOLKIT_INCLUDE"
26991 cat >conftest.
$ac_ext <<_ACEOF
26994 cat confdefs.h
>>conftest.
$ac_ext
26995 cat >>conftest.
$ac_ext <<_ACEOF
26996 /* end confdefs.h. */
27005 version = xmUseVersion;
27011 rm -f conftest.
$ac_objext
27012 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27013 (eval $ac_compile) 2>conftest.er1
27015 grep -v '^ *+' conftest.er1
>conftest.err
27017 cat conftest.err
>&5
27018 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27019 (exit $ac_status); } &&
27020 { ac_try
='test -z "$ac_c_werror_flag"
27021 || test ! -s conftest.err'
27022 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27023 (eval $ac_try) 2>&5
27025 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27026 (exit $ac_status); }; } &&
27027 { ac_try
='test -s conftest.$ac_objext'
27028 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27029 (eval $ac_try) 2>&5
27031 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27032 (exit $ac_status); }; }; then
27034 echo "$as_me:$LINENO: result: found in default search path" >&5
27035 echo "${ECHO_T}found in default search path" >&6
27036 COMPILED_X_PROGRAM
=1
27039 echo "$as_me: failed program was:" >&5
27040 sed 's/^/| /' conftest.
$ac_ext >&5
27043 echo "$as_me:$LINENO: result: no" >&5
27044 echo "${ECHO_T}no" >&6
27045 { { echo "$as_me:$LINENO: error: please set LDFLAGS to contain the location of libXm" >&5
27046 echo "$as_me: error: please set LDFLAGS to contain the location of libXm" >&2;}
27047 { (exit 1); exit 1; }; }
27051 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
27053 CFLAGS
=$save_CFLAGS
27057 echo "$as_me:$LINENO: checking if we need -lXp and/or -lSM -lICE" >&5
27058 echo $ECHO_N "checking if we need -lXp and/or -lSM -lICE... $ECHO_C" >&6
27062 for libp
in "" " -lXp"; do
27063 if test "$libs_found" = "0"; then
27064 for libsm_ice
in "" " -lSM -lICE"; do
27065 if test "$libs_found" = "0"; then
27067 LIBS
="$GUI_TK_LIBRARY -lXm ${libp} -lXmu -lXext -lXt${libsm_ice} -lX11"
27068 save_CFLAGS
=$CFLAGS
27069 CFLAGS
="$CFLAGS $TOOLKIT_INCLUDE"
27071 cat >conftest.
$ac_ext <<_ACEOF
27074 cat confdefs.h
>>conftest.
$ac_ext
27075 cat >>conftest.
$ac_ext <<_ACEOF
27076 /* end confdefs.h. */
27079 #include <Xm/List.h>
27085 XmString string = NULL;
27088 XmListAddItem(w, string, position);
27094 rm -f conftest.
$ac_objext conftest
$ac_exeext
27095 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27096 (eval $ac_link) 2>conftest.er1
27098 grep -v '^ *+' conftest.er1
>conftest.err
27100 cat conftest.err
>&5
27101 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27102 (exit $ac_status); } &&
27103 { ac_try
='test -z "$ac_c_werror_flag"
27104 || test ! -s conftest.err'
27105 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27106 (eval $ac_try) 2>&5
27108 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27109 (exit $ac_status); }; } &&
27110 { ac_try
='test -s conftest$ac_exeext'
27111 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27112 (eval $ac_try) 2>&5
27114 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27115 (exit $ac_status); }; }; then
27118 libsm_ice_link
="$libsm_ice"
27119 echo "$as_me:$LINENO: result: need${libp_link}${libsm_ice_link}" >&5
27120 echo "${ECHO_T}need${libp_link}${libsm_ice_link}" >&6
27124 echo "$as_me: failed program was:" >&5
27125 sed 's/^/| /' conftest.
$ac_ext >&5
27130 rm -f conftest.err conftest.
$ac_objext \
27131 conftest
$ac_exeext conftest.
$ac_ext
27134 CFLAGS
=$save_CFLAGS
27140 if test "$libs_found" = "0"; then
27141 echo "$as_me:$LINENO: result: can't find the right libraries" >&5
27142 echo "${ECHO_T}can't find the right libraries" >&6
27143 { { echo "$as_me:$LINENO: error: can't link a simple motif program" >&5
27144 echo "$as_me: error: can't link a simple motif program" >&2;}
27145 { (exit 1); exit 1; }; }
27148 save_CFLAGS
=$CFLAGS
27149 CFLAGS
="$CFLAGS $TOOLKIT_INCLUDE"
27150 echo "$as_me:$LINENO: checking for Motif 2" >&5
27151 echo $ECHO_N "checking for Motif 2... $ECHO_C" >&6
27152 cat >conftest.
$ac_ext <<_ACEOF
27155 cat confdefs.h
>>conftest.
$ac_ext
27156 cat >>conftest.
$ac_ext <<_ACEOF
27157 /* end confdefs.h. */
27165 #if XmVersion < 2000
27166 #error "Not Motif 2"
27173 rm -f conftest.
$ac_objext
27174 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27175 (eval $ac_compile) 2>conftest.er1
27177 grep -v '^ *+' conftest.er1
>conftest.err
27179 cat conftest.err
>&5
27180 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27181 (exit $ac_status); } &&
27182 { ac_try
='test -z "$ac_c_werror_flag"
27183 || test ! -s conftest.err'
27184 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27185 (eval $ac_try) 2>&5
27187 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27188 (exit $ac_status); }; } &&
27189 { ac_try
='test -s conftest.$ac_objext'
27190 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27191 (eval $ac_try) 2>&5
27193 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27194 (exit $ac_status); }; }; then
27196 cat >>confdefs.h
<<\_ACEOF
27197 #define __WXMOTIF20__ 1
27200 echo "$as_me:$LINENO: result: found" >&5
27201 echo "${ECHO_T}found" >&6
27204 echo "$as_me: failed program was:" >&5
27205 sed 's/^/| /' conftest.
$ac_ext >&5
27208 cat >>confdefs.h
<<\_ACEOF
27209 #define __WXMOTIF20__ 0
27212 echo "$as_me:$LINENO: result: not found" >&5
27213 echo "${ECHO_T}not found" >&6
27216 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
27217 CFLAGS
=$save_CFLAGS
27219 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lXm${libp_link} -lXmu -lXext -lXt${libsm_ice_link} -lX11"
27220 TOOLKIT_VPATH
="\${top_srcdir}/src/motif${PATH_IFS}\${top_srcdir}/src/motif/xmcombo${PATH_IFS}\${top_srcdir}/src/x11"
27225 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
27226 if test "$wxUSE_LIBXPM" = "sys"; then
27227 echo "$as_me:$LINENO: checking for Xpm library" >&5
27228 echo $ECHO_N "checking for Xpm library... $ECHO_C" >&6
27231 for ac_dir
in $SEARCH_LIB /usr
/lib
;
27233 for ac_extension
in a so sl dylib
; do
27234 if test -f "$ac_dir/libXpm.$ac_extension"; then
27235 ac_find_libraries
=$ac_dir
27241 if test "$ac_find_libraries" != "" ; then
27243 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev
/null
27245 if test $result = 0; then
27248 ac_path_to_link
=" -L$ac_find_libraries"
27251 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY$ac_path_to_link"
27252 echo "$as_me:$LINENO: result: found at $ac_find_libraries" >&5
27253 echo "${ECHO_T}found at $ac_find_libraries" >&6
27255 echo "$as_me:$LINENO: checking for X11/xpm.h" >&5
27256 echo $ECHO_N "checking for X11/xpm.h... $ECHO_C" >&6
27257 if test "${wx_cv_x11_xpm_h+set}" = set; then
27258 echo $ECHO_N "(cached) $ECHO_C" >&6
27261 save_CFLAGS
=$CFLAGS
27262 CFLAGS
="$CFLAGS $TOOLKIT_INCLUDE"
27264 cat >conftest.
$ac_ext <<_ACEOF
27267 cat confdefs.h
>>conftest.
$ac_ext
27268 cat >>conftest.
$ac_ext <<_ACEOF
27269 /* end confdefs.h. */
27271 #include <X11/xpm.h>
27278 version = XpmLibraryVersion();
27284 rm -f conftest.
$ac_objext
27285 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27286 (eval $ac_compile) 2>conftest.er1
27288 grep -v '^ *+' conftest.er1
>conftest.err
27290 cat conftest.err
>&5
27291 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27292 (exit $ac_status); } &&
27293 { ac_try
='test -z "$ac_c_werror_flag"
27294 || test ! -s conftest.err'
27295 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27296 (eval $ac_try) 2>&5
27298 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27299 (exit $ac_status); }; } &&
27300 { ac_try
='test -s conftest.$ac_objext'
27301 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27302 (eval $ac_try) 2>&5
27304 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27305 (exit $ac_status); }; }; then
27306 wx_cv_x11_xpm_h
=yes
27308 echo "$as_me: failed program was:" >&5
27309 sed 's/^/| /' conftest.
$ac_ext >&5
27314 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
27316 CFLAGS
=$save_CFLAGS
27320 echo "$as_me:$LINENO: result: $wx_cv_x11_xpm_h" >&5
27321 echo "${ECHO_T}$wx_cv_x11_xpm_h" >&6
27323 if test $wx_cv_x11_xpm_h = "yes"; then
27324 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lXpm"
27325 cat >>confdefs.h
<<\_ACEOF
27326 #define wxHAVE_LIB_XPM 1
27330 { echo "$as_me:$LINENO: WARNING: built-in less efficient XPM decoder will be used" >&5
27331 echo "$as_me: WARNING: built-in less efficient XPM decoder will be used" >&2;}
27337 echo "$as_me:$LINENO: checking for XShapeQueryExtension in -lXext" >&5
27338 echo $ECHO_N "checking for XShapeQueryExtension in -lXext... $ECHO_C" >&6
27339 if test "${ac_cv_lib_Xext_XShapeQueryExtension+set}" = set; then
27340 echo $ECHO_N "(cached) $ECHO_C" >&6
27342 ac_check_lib_save_LIBS
=$LIBS
27343 LIBS
="-lXext $GUI_TK_LIBRARY -lX11 $LIBS"
27344 cat >conftest.
$ac_ext <<_ACEOF
27347 cat confdefs.h
>>conftest.
$ac_ext
27348 cat >>conftest.
$ac_ext <<_ACEOF
27349 /* end confdefs.h. */
27351 /* Override any gcc2 internal prototype to avoid an error. */
27355 /* We use char because int might match the return type of a gcc2
27356 builtin and then its argument prototype would still apply. */
27357 char XShapeQueryExtension ();
27361 XShapeQueryExtension ();
27366 rm -f conftest.
$ac_objext conftest
$ac_exeext
27367 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27368 (eval $ac_link) 2>conftest.er1
27370 grep -v '^ *+' conftest.er1
>conftest.err
27372 cat conftest.err
>&5
27373 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27374 (exit $ac_status); } &&
27375 { ac_try
='test -z "$ac_c_werror_flag"
27376 || test ! -s conftest.err'
27377 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27378 (eval $ac_try) 2>&5
27380 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27381 (exit $ac_status); }; } &&
27382 { ac_try
='test -s conftest$ac_exeext'
27383 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27384 (eval $ac_try) 2>&5
27386 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27387 (exit $ac_status); }; }; then
27388 ac_cv_lib_Xext_XShapeQueryExtension
=yes
27390 echo "$as_me: failed program was:" >&5
27391 sed 's/^/| /' conftest.
$ac_ext >&5
27393 ac_cv_lib_Xext_XShapeQueryExtension
=no
27395 rm -f conftest.err conftest.
$ac_objext \
27396 conftest
$ac_exeext conftest.
$ac_ext
27397 LIBS
=$ac_check_lib_save_LIBS
27399 echo "$as_me:$LINENO: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
27400 echo "${ECHO_T}$ac_cv_lib_Xext_XShapeQueryExtension" >&6
27401 if test $ac_cv_lib_Xext_XShapeQueryExtension = yes; then
27403 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lXext"
27409 if test "$wxHAVE_XEXT_LIB" = 1; then
27410 save_CFLAGS
="$CFLAGS"
27411 CFLAGS
="$CFLAGS $TOOLKIT_INCLUDE"
27413 echo "$as_me:$LINENO: checking for X11/extensions/shape.h" >&5
27414 echo $ECHO_N "checking for X11/extensions/shape.h... $ECHO_C" >&6
27415 cat >conftest.
$ac_ext <<_ACEOF
27418 cat confdefs.h
>>conftest.
$ac_ext
27419 cat >>conftest.
$ac_ext <<_ACEOF
27420 /* end confdefs.h. */
27422 #include <X11/Xlib.h>
27423 #include <X11/extensions/shape.h>
27429 int dummy1, dummy2;
27430 XShapeQueryExtension((Display*)NULL,
27431 (int*)NULL, (int*)NULL);
27437 rm -f conftest.
$ac_objext
27438 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27439 (eval $ac_compile) 2>conftest.er1
27441 grep -v '^ *+' conftest.er1
>conftest.err
27443 cat conftest.err
>&5
27444 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27445 (exit $ac_status); } &&
27446 { ac_try
='test -z "$ac_c_werror_flag"
27447 || test ! -s conftest.err'
27448 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27449 (eval $ac_try) 2>&5
27451 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27452 (exit $ac_status); }; } &&
27453 { ac_try
='test -s conftest.$ac_objext'
27454 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27455 (eval $ac_try) 2>&5
27457 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27458 (exit $ac_status); }; }; then
27460 cat >>confdefs.h
<<\_ACEOF
27461 #define HAVE_XSHAPE 1
27464 echo "$as_me:$LINENO: result: found" >&5
27465 echo "${ECHO_T}found" >&6
27468 echo "$as_me: failed program was:" >&5
27469 sed 's/^/| /' conftest.
$ac_ext >&5
27472 echo "$as_me:$LINENO: result: not found" >&5
27473 echo "${ECHO_T}not found" >&6
27476 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
27477 CFLAGS
="$save_CFLAGS"
27482 if test "$wxUSE_MAC" = 1; then
27483 echo "$as_me:$LINENO: checking for compiler syntax to enable Pascal strings" >&5
27484 echo $ECHO_N "checking for compiler syntax to enable Pascal strings... $ECHO_C" >&6
27485 if test "$GCC" = yes; then
27486 echo "$as_me:$LINENO: result: gcc" >&5
27487 echo "${ECHO_T}gcc" >&6
27488 CPPFLAGS_PASCAL
="-fpascal-strings"
27489 elif test "`echo $CXX | sed -e 's@.*/@@'`" = "xlC"; then
27490 echo "$as_me:$LINENO: result: xlc" >&5
27491 echo "${ECHO_T}xlc" >&6
27492 CPPFLAGS_PASCAL
="-qmacpstr"
27494 echo "$as_me:$LINENO: result: none" >&5
27495 echo "${ECHO_T}none" >&6
27498 CPPFLAGS
="$CPPFLAGS $CPPFLAGS_PASCAL -I\${top_srcdir}/src/mac/carbon/morefilex -I/Developer/Headers/FlatCarbon"
27500 TOOLKIT_VPATH
="\${top_srcdir}/src/mac/carbon${PATH_IFS}\${top_srcdir}/src/mac/carbon/morefilex"
27503 WXBASEPORT
="_carbon"
27506 if test "$wxUSE_COCOA" = 1; then
27507 TOOLKIT_VPATH
="\${top_srcdir}/src/cocoa"
27512 if test "$wxUSE_PM" = 1; then
27515 echo "$as_me:$LINENO: checking for type SPBCDATA" >&5
27516 echo $ECHO_N "checking for type SPBCDATA... $ECHO_C" >&6
27517 if test "${wx_cv_spbcdata+set}" = set; then
27518 echo $ECHO_N "(cached) $ECHO_C" >&6
27521 cat >conftest.
$ac_ext <<_ACEOF
27524 cat confdefs.h
>>conftest.
$ac_ext
27525 cat >>conftest.
$ac_ext <<_ACEOF
27526 /* end confdefs.h. */
27541 rm -f conftest.
$ac_objext
27542 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27543 (eval $ac_compile) 2>conftest.er1
27545 grep -v '^ *+' conftest.er1
>conftest.err
27547 cat conftest.err
>&5
27548 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27549 (exit $ac_status); } &&
27550 { ac_try
='test -z "$ac_c_werror_flag"
27551 || test ! -s conftest.err'
27552 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27553 (eval $ac_try) 2>&5
27555 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27556 (exit $ac_status); }; } &&
27557 { ac_try
='test -s conftest.$ac_objext'
27558 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27559 (eval $ac_try) 2>&5
27561 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27562 (exit $ac_status); }; }; then
27565 echo "$as_me: failed program was:" >&5
27566 sed 's/^/| /' conftest.
$ac_ext >&5
27571 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
27575 echo "$as_me:$LINENO: result: $wx_cv_spbcdata" >&5
27576 echo "${ECHO_T}$wx_cv_spbcdata" >&6
27578 if test $wx_cv_spbcdata = "yes"; then
27579 cat >>confdefs.h
<<\_ACEOF
27580 #define HAVE_SPBCDATA 1
27586 if test "$TOOLKIT" = "PM" ; then
27589 TOOLKIT_DIR
=`echo ${TOOLKIT} | tr "[A-Z]" "[a-z]"`
27592 PORT_FILES
="\${top_srcdir}/src/\$(TOOLKITDIR)/files.lst"
27594 if test "$wxUSE_UNIVERSAL" = "yes"; then
27595 ALL_OBJECTS
="\$(GUI_LOWLEVEL_OBJS) \${UNIVOBJS}"
27597 ALL_SOURCES
="\$(ALL_SOURCES) \${UNIV_SOURCES}"
27598 ALL_HEADERS
="\$(ALL_HEADERS) \${UNIV_HEADERS}"
27600 PORT_FILES
="${PORT_FILES} \${top_srcdir}/src/univ/files.lst"
27601 if test "$wxUSE_X11" = 1; then
27602 TOOLKIT_VPATH
="\${top_srcdir}/src/${TOOLKIT_DIR}${PATH_IFS}\${top_srcdir}/src/univ${PATH_IFS}\${top_srcdir}/src/univ/themes"
27604 TOOLKIT_VPATH
="\${top_srcdir}/src/univ${PATH_IFS}\${top_srcdir}/src/univ/themes${PATH_IFS}\${top_srcdir}/src/${TOOLKIT_DIR}"
27606 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -D__WXUNIVERSAL__"
27609 ALL_OBJECTS
="\$(GUIOBJS)"
27610 ALL_SOURCES
="\$(ALL_SOURCES)"
27611 ALL_HEADERS
="\$(ALL_HEADERS)"
27614 ALL_OBJECTS
="${ALL_OBJECTS} \$(COMMONOBJS) \$(GENERICOBJS)"
27616 if test "$TOOLKIT" != "MSW" -a "$USE_DOS" != 1; then
27617 ALL_OBJECTS
="${ALL_OBJECTS} \$(UNIXOBJS)"
27620 if test "$wxUSE_HTML" = "yes"; then
27621 ALL_OBJECTS
="${ALL_OBJECTS} \$(HTMLOBJS)"
27624 if test "$wxUSE_LIBJPEG" = "builtin" ; then
27625 ALL_OBJECTS
="${ALL_OBJECTS} \$(JPEGOBJS)"
27627 if test "$wxUSE_LIBTIFF" = "builtin" ; then
27628 ALL_OBJECTS
="${ALL_OBJECTS} \$(TIFFOBJS)"
27630 if test "$wxUSE_LIBPNG" = "builtin" ; then
27631 ALL_OBJECTS
="${ALL_OBJECTS} \$(PNGOBJS)"
27634 GUIDIST
="${GUIDIST} SAMPLES_DIST DEMOS_DIST UTILS_DIST MISC_DIST"
27635 DISTDIR
="wx\$(TOOLKIT)"
27641 if test "$USE_WIN32" = 1 ; then
27642 ALL_OBJECTS
="\${BASE_OBJS} \${BASE_MSW_OBJS}"
27643 TOOLKIT_VPATH
="\${top_srcdir}/src/msw"
27647 ALL_OBJECTS
="\${BASE_OBJS} \${BASE_UNIX_OBJS}"
27648 TOOLKIT_VPATH
="\${top_srcdir}/src/unix"
27651 ALL_SOURCES
="\$(ALL_SOURCES)"
27652 ALL_HEADERS
="\$(ALL_HEADERS)"
27654 PORT_FILES
="\${top_srcdir}/src/files.lst"
27656 GUIDIST
="BASE_DIST"
27666 if test "$TOOLKIT" != "MSW" ; then
27668 if test "$wxUSE_ODBC" = "sys" -o "$wxUSE_ODBC" = "yes" ; then
27670 if test "${ac_cv_header_sql_h+set}" = set; then
27671 echo "$as_me:$LINENO: checking for sql.h" >&5
27672 echo $ECHO_N "checking for sql.h... $ECHO_C" >&6
27673 if test "${ac_cv_header_sql_h+set}" = set; then
27674 echo $ECHO_N "(cached) $ECHO_C" >&6
27676 echo "$as_me:$LINENO: result: $ac_cv_header_sql_h" >&5
27677 echo "${ECHO_T}$ac_cv_header_sql_h" >&6
27679 # Is the header compilable?
27680 echo "$as_me:$LINENO: checking sql.h usability" >&5
27681 echo $ECHO_N "checking sql.h usability... $ECHO_C" >&6
27682 cat >conftest.
$ac_ext <<_ACEOF
27685 cat confdefs.h
>>conftest.
$ac_ext
27686 cat >>conftest.
$ac_ext <<_ACEOF
27687 /* end confdefs.h. */
27688 $ac_includes_default
27691 rm -f conftest.
$ac_objext
27692 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27693 (eval $ac_compile) 2>conftest.er1
27695 grep -v '^ *+' conftest.er1
>conftest.err
27697 cat conftest.err
>&5
27698 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27699 (exit $ac_status); } &&
27700 { ac_try
='test -z "$ac_c_werror_flag"
27701 || test ! -s conftest.err'
27702 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27703 (eval $ac_try) 2>&5
27705 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27706 (exit $ac_status); }; } &&
27707 { ac_try
='test -s conftest.$ac_objext'
27708 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27709 (eval $ac_try) 2>&5
27711 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27712 (exit $ac_status); }; }; then
27713 ac_header_compiler
=yes
27715 echo "$as_me: failed program was:" >&5
27716 sed 's/^/| /' conftest.
$ac_ext >&5
27718 ac_header_compiler
=no
27720 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
27721 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
27722 echo "${ECHO_T}$ac_header_compiler" >&6
27724 # Is the header present?
27725 echo "$as_me:$LINENO: checking sql.h presence" >&5
27726 echo $ECHO_N "checking sql.h presence... $ECHO_C" >&6
27727 cat >conftest.
$ac_ext <<_ACEOF
27730 cat confdefs.h
>>conftest.
$ac_ext
27731 cat >>conftest.
$ac_ext <<_ACEOF
27732 /* end confdefs.h. */
27735 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
27736 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
27738 grep -v '^ *+' conftest.er1
>conftest.err
27740 cat conftest.err
>&5
27741 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27742 (exit $ac_status); } >/dev
/null
; then
27743 if test -s conftest.err
; then
27744 ac_cpp_err
=$ac_c_preproc_warn_flag
27745 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
27752 if test -z "$ac_cpp_err"; then
27753 ac_header_preproc
=yes
27755 echo "$as_me: failed program was:" >&5
27756 sed 's/^/| /' conftest.
$ac_ext >&5
27758 ac_header_preproc
=no
27760 rm -f conftest.err conftest.
$ac_ext
27761 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
27762 echo "${ECHO_T}$ac_header_preproc" >&6
27764 # So? What about this header?
27765 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
27767 { echo "$as_me:$LINENO: WARNING: sql.h: accepted by the compiler, rejected by the preprocessor!" >&5
27768 echo "$as_me: WARNING: sql.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
27769 { echo "$as_me:$LINENO: WARNING: sql.h: proceeding with the compiler's result" >&5
27770 echo "$as_me: WARNING: sql.h: proceeding with the compiler's result" >&2;}
27771 ac_header_preproc
=yes
27774 { echo "$as_me:$LINENO: WARNING: sql.h: present but cannot be compiled" >&5
27775 echo "$as_me: WARNING: sql.h: present but cannot be compiled" >&2;}
27776 { echo "$as_me:$LINENO: WARNING: sql.h: check for missing prerequisite headers?" >&5
27777 echo "$as_me: WARNING: sql.h: check for missing prerequisite headers?" >&2;}
27778 { echo "$as_me:$LINENO: WARNING: sql.h: see the Autoconf documentation" >&5
27779 echo "$as_me: WARNING: sql.h: see the Autoconf documentation" >&2;}
27780 { echo "$as_me:$LINENO: WARNING: sql.h: section \"Present But Cannot Be Compiled\"" >&5
27781 echo "$as_me: WARNING: sql.h: section \"Present But Cannot Be Compiled\"" >&2;}
27782 { echo "$as_me:$LINENO: WARNING: sql.h: proceeding with the preprocessor's result" >&5
27783 echo "$as_me: WARNING: sql.h: proceeding with the preprocessor's result" >&2;}
27784 { echo "$as_me:$LINENO: WARNING: sql.h: in the future, the compiler will take precedence" >&5
27785 echo "$as_me: WARNING: sql.h: in the future, the compiler will take precedence" >&2;}
27788 ## ----------------------------------------- ##
27789 ## Report this to wx-dev@lists.wxwidgets.org ##
27790 ## ----------------------------------------- ##
27793 sed "s/^/$as_me: WARNING: /" >&2
27796 echo "$as_me:$LINENO: checking for sql.h" >&5
27797 echo $ECHO_N "checking for sql.h... $ECHO_C" >&6
27798 if test "${ac_cv_header_sql_h+set}" = set; then
27799 echo $ECHO_N "(cached) $ECHO_C" >&6
27801 ac_cv_header_sql_h
=$ac_header_preproc
27803 echo "$as_me:$LINENO: result: $ac_cv_header_sql_h" >&5
27804 echo "${ECHO_T}$ac_cv_header_sql_h" >&6
27807 if test $ac_cv_header_sql_h = yes; then
27812 if test "x$found_sql_h" = "x1" ; then
27813 echo "$as_me:$LINENO: checking for SQLAllocEnv in -liodbc" >&5
27814 echo $ECHO_N "checking for SQLAllocEnv in -liodbc... $ECHO_C" >&6
27815 if test "${ac_cv_lib_iodbc_SQLAllocEnv+set}" = set; then
27816 echo $ECHO_N "(cached) $ECHO_C" >&6
27818 ac_check_lib_save_LIBS
=$LIBS
27819 LIBS
="-liodbc $LIBS"
27820 cat >conftest.
$ac_ext <<_ACEOF
27823 cat confdefs.h
>>conftest.
$ac_ext
27824 cat >>conftest.
$ac_ext <<_ACEOF
27825 /* end confdefs.h. */
27827 /* Override any gcc2 internal prototype to avoid an error. */
27831 /* We use char because int might match the return type of a gcc2
27832 builtin and then its argument prototype would still apply. */
27833 char SQLAllocEnv ();
27842 rm -f conftest.
$ac_objext conftest
$ac_exeext
27843 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27844 (eval $ac_link) 2>conftest.er1
27846 grep -v '^ *+' conftest.er1
>conftest.err
27848 cat conftest.err
>&5
27849 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27850 (exit $ac_status); } &&
27851 { ac_try
='test -z "$ac_c_werror_flag"
27852 || test ! -s conftest.err'
27853 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27854 (eval $ac_try) 2>&5
27856 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27857 (exit $ac_status); }; } &&
27858 { ac_try
='test -s conftest$ac_exeext'
27859 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27860 (eval $ac_try) 2>&5
27862 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27863 (exit $ac_status); }; }; then
27864 ac_cv_lib_iodbc_SQLAllocEnv
=yes
27866 echo "$as_me: failed program was:" >&5
27867 sed 's/^/| /' conftest.
$ac_ext >&5
27869 ac_cv_lib_iodbc_SQLAllocEnv
=no
27871 rm -f conftest.err conftest.
$ac_objext \
27872 conftest
$ac_exeext conftest.
$ac_ext
27873 LIBS
=$ac_check_lib_save_LIBS
27875 echo "$as_me:$LINENO: result: $ac_cv_lib_iodbc_SQLAllocEnv" >&5
27876 echo "${ECHO_T}$ac_cv_lib_iodbc_SQLAllocEnv" >&6
27877 if test $ac_cv_lib_iodbc_SQLAllocEnv = yes; then
27878 ODBC_LINK
=" -liodbc"
27881 echo "$as_me:$LINENO: checking for SQLAllocEnv in -lunixodbc" >&5
27882 echo $ECHO_N "checking for SQLAllocEnv in -lunixodbc... $ECHO_C" >&6
27883 if test "${ac_cv_lib_unixodbc_SQLAllocEnv+set}" = set; then
27884 echo $ECHO_N "(cached) $ECHO_C" >&6
27886 ac_check_lib_save_LIBS
=$LIBS
27887 LIBS
="-lunixodbc $LIBS"
27888 cat >conftest.
$ac_ext <<_ACEOF
27891 cat confdefs.h
>>conftest.
$ac_ext
27892 cat >>conftest.
$ac_ext <<_ACEOF
27893 /* end confdefs.h. */
27895 /* Override any gcc2 internal prototype to avoid an error. */
27899 /* We use char because int might match the return type of a gcc2
27900 builtin and then its argument prototype would still apply. */
27901 char SQLAllocEnv ();
27910 rm -f conftest.
$ac_objext conftest
$ac_exeext
27911 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27912 (eval $ac_link) 2>conftest.er1
27914 grep -v '^ *+' conftest.er1
>conftest.err
27916 cat conftest.err
>&5
27917 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27918 (exit $ac_status); } &&
27919 { ac_try
='test -z "$ac_c_werror_flag"
27920 || test ! -s conftest.err'
27921 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27922 (eval $ac_try) 2>&5
27924 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27925 (exit $ac_status); }; } &&
27926 { ac_try
='test -s conftest$ac_exeext'
27927 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27928 (eval $ac_try) 2>&5
27930 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27931 (exit $ac_status); }; }; then
27932 ac_cv_lib_unixodbc_SQLAllocEnv
=yes
27934 echo "$as_me: failed program was:" >&5
27935 sed 's/^/| /' conftest.
$ac_ext >&5
27937 ac_cv_lib_unixodbc_SQLAllocEnv
=no
27939 rm -f conftest.err conftest.
$ac_objext \
27940 conftest
$ac_exeext conftest.
$ac_ext
27941 LIBS
=$ac_check_lib_save_LIBS
27943 echo "$as_me:$LINENO: result: $ac_cv_lib_unixodbc_SQLAllocEnv" >&5
27944 echo "${ECHO_T}$ac_cv_lib_unixodbc_SQLAllocEnv" >&6
27945 if test $ac_cv_lib_unixodbc_SQLAllocEnv = yes; then
27946 ODBC_LINK
=" -lunixodbc"
27949 echo "$as_me:$LINENO: checking for SQLAllocEnv in -lodbc" >&5
27950 echo $ECHO_N "checking for SQLAllocEnv in -lodbc... $ECHO_C" >&6
27951 if test "${ac_cv_lib_odbc_SQLAllocEnv+set}" = set; then
27952 echo $ECHO_N "(cached) $ECHO_C" >&6
27954 ac_check_lib_save_LIBS
=$LIBS
27955 LIBS
="-lodbc $LIBS"
27956 cat >conftest.
$ac_ext <<_ACEOF
27959 cat confdefs.h
>>conftest.
$ac_ext
27960 cat >>conftest.
$ac_ext <<_ACEOF
27961 /* end confdefs.h. */
27963 /* Override any gcc2 internal prototype to avoid an error. */
27967 /* We use char because int might match the return type of a gcc2
27968 builtin and then its argument prototype would still apply. */
27969 char SQLAllocEnv ();
27978 rm -f conftest.
$ac_objext conftest
$ac_exeext
27979 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27980 (eval $ac_link) 2>conftest.er1
27982 grep -v '^ *+' conftest.er1
>conftest.err
27984 cat conftest.err
>&5
27985 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27986 (exit $ac_status); } &&
27987 { ac_try
='test -z "$ac_c_werror_flag"
27988 || test ! -s conftest.err'
27989 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27990 (eval $ac_try) 2>&5
27992 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27993 (exit $ac_status); }; } &&
27994 { ac_try
='test -s conftest$ac_exeext'
27995 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27996 (eval $ac_try) 2>&5
27998 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27999 (exit $ac_status); }; }; then
28000 ac_cv_lib_odbc_SQLAllocEnv
=yes
28002 echo "$as_me: failed program was:" >&5
28003 sed 's/^/| /' conftest.
$ac_ext >&5
28005 ac_cv_lib_odbc_SQLAllocEnv
=no
28007 rm -f conftest.err conftest.
$ac_objext \
28008 conftest
$ac_exeext conftest.
$ac_ext
28009 LIBS
=$ac_check_lib_save_LIBS
28011 echo "$as_me:$LINENO: result: $ac_cv_lib_odbc_SQLAllocEnv" >&5
28012 echo "${ECHO_T}$ac_cv_lib_odbc_SQLAllocEnv" >&6
28013 if test $ac_cv_lib_odbc_SQLAllocEnv = yes; then
28014 ODBC_LINK
=" -lodbc"
28024 if test "x$ODBC_LINK" = "x" ; then
28025 if test "$wxUSE_ODBC" = "sys" ; then
28026 { { echo "$as_me:$LINENO: error: system ODBC library not found! Use --with-odbc=builtin to use built-in version" >&5
28027 echo "$as_me: error: system ODBC library not found! Use --with-odbc=builtin to use built-in version" >&2;}
28028 { (exit 1); exit 1; }; }
28030 { echo "$as_me:$LINENO: WARNING: system ODBC library not found, will use built-in instead" >&5
28031 echo "$as_me: WARNING: system ODBC library not found, will use built-in instead" >&2;}
28038 if test "$wxUSE_ODBC" != "no" ; then
28039 cat >>confdefs.h
<<\_ACEOF
28040 #define wxUSE_ODBC 1
28043 if test "$wxUSE_ODBC" = "builtin" ; then
28044 cat >>confdefs.h
<<\_ACEOF
28045 #define wxUSE_BUILTIN_IODBC 1
28049 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS db"
28051 WXODBCFLAG
="-D_IODBC_"
28055 if test "$wxUSE_REGEX" = "builtin" ; then
28056 ALL_OBJECTS
="${ALL_OBJECTS} \$(REGEXOBJS)"
28058 if test "$wxUSE_ZLIB" = "builtin" ; then
28059 ALL_OBJECTS
="${ALL_OBJECTS} \$(ZLIBOBJS)"
28063 if test "$wxUSE_DISPLAY" = "yes"; then
28064 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_MAC" != 1 -a "$wxUSE_COCOA" != 1; then
28065 echo "$as_me:$LINENO: checking for Xinerama" >&5
28066 echo $ECHO_N "checking for Xinerama... $ECHO_C" >&6
28069 for ac_dir
in $SEARCH_LIB /usr
/lib
;
28071 for ac_extension
in a so sl dylib
; do
28072 if test -f "$ac_dir/libXinerama.$ac_extension"; then
28073 ac_find_libraries
=$ac_dir
28079 if test "$ac_find_libraries" != "" ; then
28081 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev
/null
28083 if test $result = 0; then
28086 ac_path_to_link
=" -L$ac_find_libraries"
28089 if test "$ac_path_to_link" != " -L/usr/lib" ; then
28090 LDFLAGS
="$LDFLAGS $ac_path_to_link"
28092 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lXinerama"
28093 echo "$as_me:$LINENO: result: yes" >&5
28094 echo "${ECHO_T}yes" >&6
28096 echo "$as_me:$LINENO: checking for Xxf86vm extension" >&5
28097 echo $ECHO_N "checking for Xxf86vm extension... $ECHO_C" >&6
28100 for ac_dir
in $SEARCH_LIB /usr
/lib
;
28102 for ac_extension
in a so sl dylib
; do
28103 if test -f "$ac_dir/libXxf86vm.$ac_extension"; then
28104 ac_find_libraries
=$ac_dir
28110 if test "$ac_find_libraries" != "" ; then
28111 echo "$as_me:$LINENO: result: yes" >&5
28112 echo "${ECHO_T}yes" >&6
28114 for ac_header
in X
11/extensions
/xf86vmode.h
28116 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
28117 echo "$as_me:$LINENO: checking for $ac_header" >&5
28118 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
28119 if eval "test \"\${$as_ac_Header+set}\" = set"; then
28120 echo $ECHO_N "(cached) $ECHO_C" >&6
28122 cat >conftest.
$ac_ext <<_ACEOF
28125 cat confdefs.h
>>conftest.
$ac_ext
28126 cat >>conftest.
$ac_ext <<_ACEOF
28127 /* end confdefs.h. */
28129 #if HAVE_X11_XLIB_H
28130 #include <X11/Xlib.h>
28134 #include <$ac_header>
28136 rm -f conftest.
$ac_objext
28137 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28138 (eval $ac_compile) 2>conftest.er1
28140 grep -v '^ *+' conftest.er1
>conftest.err
28142 cat conftest.err
>&5
28143 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28144 (exit $ac_status); } &&
28145 { ac_try
='test -z "$ac_c_werror_flag"
28146 || test ! -s conftest.err'
28147 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28148 (eval $ac_try) 2>&5
28150 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28151 (exit $ac_status); }; } &&
28152 { ac_try
='test -s conftest.$ac_objext'
28153 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28154 (eval $ac_try) 2>&5
28156 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28157 (exit $ac_status); }; }; then
28158 eval "$as_ac_Header=yes"
28160 echo "$as_me: failed program was:" >&5
28161 sed 's/^/| /' conftest.
$ac_ext >&5
28163 eval "$as_ac_Header=no"
28165 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
28167 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
28168 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
28169 if test `eval echo '${'$as_ac_Header'}'` = yes; then
28170 cat >>confdefs.h
<<_ACEOF
28171 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
28174 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lXxf86vm"
28181 echo "$as_me:$LINENO: result: no" >&5
28182 echo "${ECHO_T}no" >&6
28186 echo "$as_me:$LINENO: result: no" >&5
28187 echo "${ECHO_T}no" >&6
28188 { echo "$as_me:$LINENO: WARNING: Xinerama not found; disabling wxDisplay" >&5
28189 echo "$as_me: WARNING: Xinerama not found; disabling wxDisplay" >&2;}
28192 elif test "$wxUSE_MSW" = 1; then
28195 for ac_header
in multimon.h ddraw.h
28197 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
28198 if eval "test \"\${$as_ac_Header+set}\" = set"; then
28199 echo "$as_me:$LINENO: checking for $ac_header" >&5
28200 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
28201 if eval "test \"\${$as_ac_Header+set}\" = set"; then
28202 echo $ECHO_N "(cached) $ECHO_C" >&6
28204 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
28205 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
28207 # Is the header compilable?
28208 echo "$as_me:$LINENO: checking $ac_header usability" >&5
28209 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
28210 cat >conftest.
$ac_ext <<_ACEOF
28213 cat confdefs.h
>>conftest.
$ac_ext
28214 cat >>conftest.
$ac_ext <<_ACEOF
28215 /* end confdefs.h. */
28216 $ac_includes_default
28217 #include <$ac_header>
28219 rm -f conftest.
$ac_objext
28220 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28221 (eval $ac_compile) 2>conftest.er1
28223 grep -v '^ *+' conftest.er1
>conftest.err
28225 cat conftest.err
>&5
28226 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28227 (exit $ac_status); } &&
28228 { ac_try
='test -z "$ac_c_werror_flag"
28229 || test ! -s conftest.err'
28230 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28231 (eval $ac_try) 2>&5
28233 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28234 (exit $ac_status); }; } &&
28235 { ac_try
='test -s conftest.$ac_objext'
28236 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28237 (eval $ac_try) 2>&5
28239 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28240 (exit $ac_status); }; }; then
28241 ac_header_compiler
=yes
28243 echo "$as_me: failed program was:" >&5
28244 sed 's/^/| /' conftest.
$ac_ext >&5
28246 ac_header_compiler
=no
28248 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
28249 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
28250 echo "${ECHO_T}$ac_header_compiler" >&6
28252 # Is the header present?
28253 echo "$as_me:$LINENO: checking $ac_header presence" >&5
28254 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
28255 cat >conftest.
$ac_ext <<_ACEOF
28258 cat confdefs.h
>>conftest.
$ac_ext
28259 cat >>conftest.
$ac_ext <<_ACEOF
28260 /* end confdefs.h. */
28261 #include <$ac_header>
28263 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
28264 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
28266 grep -v '^ *+' conftest.er1
>conftest.err
28268 cat conftest.err
>&5
28269 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28270 (exit $ac_status); } >/dev
/null
; then
28271 if test -s conftest.err
; then
28272 ac_cpp_err
=$ac_c_preproc_warn_flag
28273 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
28280 if test -z "$ac_cpp_err"; then
28281 ac_header_preproc
=yes
28283 echo "$as_me: failed program was:" >&5
28284 sed 's/^/| /' conftest.
$ac_ext >&5
28286 ac_header_preproc
=no
28288 rm -f conftest.err conftest.
$ac_ext
28289 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
28290 echo "${ECHO_T}$ac_header_preproc" >&6
28292 # So? What about this header?
28293 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
28295 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
28296 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
28297 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
28298 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
28299 ac_header_preproc
=yes
28302 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
28303 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
28304 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
28305 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
28306 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
28307 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
28308 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
28309 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
28310 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
28311 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
28312 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
28313 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
28316 ## ----------------------------------------- ##
28317 ## Report this to wx-dev@lists.wxwidgets.org ##
28318 ## ----------------------------------------- ##
28321 sed "s/^/$as_me: WARNING: /" >&2
28324 echo "$as_me:$LINENO: checking for $ac_header" >&5
28325 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
28326 if eval "test \"\${$as_ac_Header+set}\" = set"; then
28327 echo $ECHO_N "(cached) $ECHO_C" >&6
28329 eval "$as_ac_Header=\$ac_header_preproc"
28331 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
28332 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
28335 if test `eval echo '${'$as_ac_Header'}'` = yes; then
28336 cat >>confdefs.h
<<_ACEOF
28337 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
28343 { echo "$as_me:$LINENO: WARNING: ddraw.h or multimon.h not found; disabling wxDisplay" >&5
28344 echo "$as_me: WARNING: ddraw.h or multimon.h not found; disabling wxDisplay" >&2;}
28355 if test "$wxUSE_OPENGL" = "yes"; then
28356 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = "1"; then
28357 OPENGL_LIBS
="-framework OpenGL -framework AGL"
28358 elif test "$wxUSE_MSW" = 1; then
28359 OPENGL_LIBS
="-lopengl32 -lglu32"
28364 for ac_dir
in $SEARCH_INCLUDE /usr
/include
;
28366 if test -f "$ac_dir/GL/gl.h"; then
28367 ac_find_includes
=$ac_dir
28372 if test "$ac_find_includes" != "" ; then
28373 echo "$as_me:$LINENO: result: found in $ac_find_includes" >&5
28374 echo "${ECHO_T}found in $ac_find_includes" >&6
28376 if test "x$ac_find_includes" = "x/usr/include"; then
28377 ac_path_to_include
=""
28379 echo "$CPPFLAGS" | grep "\-I$ac_find_includes" > /dev
/null
28381 if test $result = 0; then
28382 ac_path_to_include
=""
28384 ac_path_to_include
=" -I$ac_find_includes"
28388 CPPFLAGS
="$CPPFLAGS$ac_path_to_include"
28391 if test "${ac_cv_header_GL_gl_h+set}" = set; then
28392 echo "$as_me:$LINENO: checking for GL/gl.h" >&5
28393 echo $ECHO_N "checking for GL/gl.h... $ECHO_C" >&6
28394 if test "${ac_cv_header_GL_gl_h+set}" = set; then
28395 echo $ECHO_N "(cached) $ECHO_C" >&6
28397 echo "$as_me:$LINENO: result: $ac_cv_header_GL_gl_h" >&5
28398 echo "${ECHO_T}$ac_cv_header_GL_gl_h" >&6
28400 # Is the header compilable?
28401 echo "$as_me:$LINENO: checking GL/gl.h usability" >&5
28402 echo $ECHO_N "checking GL/gl.h usability... $ECHO_C" >&6
28403 cat >conftest.
$ac_ext <<_ACEOF
28406 cat confdefs.h
>>conftest.
$ac_ext
28407 cat >>conftest.
$ac_ext <<_ACEOF
28408 /* end confdefs.h. */
28409 $ac_includes_default
28412 rm -f conftest.
$ac_objext
28413 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28414 (eval $ac_compile) 2>conftest.er1
28416 grep -v '^ *+' conftest.er1
>conftest.err
28418 cat conftest.err
>&5
28419 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28420 (exit $ac_status); } &&
28421 { ac_try
='test -z "$ac_c_werror_flag"
28422 || test ! -s conftest.err'
28423 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28424 (eval $ac_try) 2>&5
28426 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28427 (exit $ac_status); }; } &&
28428 { ac_try
='test -s conftest.$ac_objext'
28429 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28430 (eval $ac_try) 2>&5
28432 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28433 (exit $ac_status); }; }; then
28434 ac_header_compiler
=yes
28436 echo "$as_me: failed program was:" >&5
28437 sed 's/^/| /' conftest.
$ac_ext >&5
28439 ac_header_compiler
=no
28441 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
28442 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
28443 echo "${ECHO_T}$ac_header_compiler" >&6
28445 # Is the header present?
28446 echo "$as_me:$LINENO: checking GL/gl.h presence" >&5
28447 echo $ECHO_N "checking GL/gl.h presence... $ECHO_C" >&6
28448 cat >conftest.
$ac_ext <<_ACEOF
28451 cat confdefs.h
>>conftest.
$ac_ext
28452 cat >>conftest.
$ac_ext <<_ACEOF
28453 /* end confdefs.h. */
28456 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
28457 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
28459 grep -v '^ *+' conftest.er1
>conftest.err
28461 cat conftest.err
>&5
28462 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28463 (exit $ac_status); } >/dev
/null
; then
28464 if test -s conftest.err
; then
28465 ac_cpp_err
=$ac_c_preproc_warn_flag
28466 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
28473 if test -z "$ac_cpp_err"; then
28474 ac_header_preproc
=yes
28476 echo "$as_me: failed program was:" >&5
28477 sed 's/^/| /' conftest.
$ac_ext >&5
28479 ac_header_preproc
=no
28481 rm -f conftest.err conftest.
$ac_ext
28482 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
28483 echo "${ECHO_T}$ac_header_preproc" >&6
28485 # So? What about this header?
28486 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
28488 { echo "$as_me:$LINENO: WARNING: GL/gl.h: accepted by the compiler, rejected by the preprocessor!" >&5
28489 echo "$as_me: WARNING: GL/gl.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
28490 { echo "$as_me:$LINENO: WARNING: GL/gl.h: proceeding with the compiler's result" >&5
28491 echo "$as_me: WARNING: GL/gl.h: proceeding with the compiler's result" >&2;}
28492 ac_header_preproc
=yes
28495 { echo "$as_me:$LINENO: WARNING: GL/gl.h: present but cannot be compiled" >&5
28496 echo "$as_me: WARNING: GL/gl.h: present but cannot be compiled" >&2;}
28497 { echo "$as_me:$LINENO: WARNING: GL/gl.h: check for missing prerequisite headers?" >&5
28498 echo "$as_me: WARNING: GL/gl.h: check for missing prerequisite headers?" >&2;}
28499 { echo "$as_me:$LINENO: WARNING: GL/gl.h: see the Autoconf documentation" >&5
28500 echo "$as_me: WARNING: GL/gl.h: see the Autoconf documentation" >&2;}
28501 { echo "$as_me:$LINENO: WARNING: GL/gl.h: section \"Present But Cannot Be Compiled\"" >&5
28502 echo "$as_me: WARNING: GL/gl.h: section \"Present But Cannot Be Compiled\"" >&2;}
28503 { echo "$as_me:$LINENO: WARNING: GL/gl.h: proceeding with the preprocessor's result" >&5
28504 echo "$as_me: WARNING: GL/gl.h: proceeding with the preprocessor's result" >&2;}
28505 { echo "$as_me:$LINENO: WARNING: GL/gl.h: in the future, the compiler will take precedence" >&5
28506 echo "$as_me: WARNING: GL/gl.h: in the future, the compiler will take precedence" >&2;}
28509 ## ----------------------------------------- ##
28510 ## Report this to wx-dev@lists.wxwidgets.org ##
28511 ## ----------------------------------------- ##
28514 sed "s/^/$as_me: WARNING: /" >&2
28517 echo "$as_me:$LINENO: checking for GL/gl.h" >&5
28518 echo $ECHO_N "checking for GL/gl.h... $ECHO_C" >&6
28519 if test "${ac_cv_header_GL_gl_h+set}" = set; then
28520 echo $ECHO_N "(cached) $ECHO_C" >&6
28522 ac_cv_header_GL_gl_h
=$ac_header_preproc
28524 echo "$as_me:$LINENO: result: $ac_cv_header_GL_gl_h" >&5
28525 echo "${ECHO_T}$ac_cv_header_GL_gl_h" >&6
28528 if test $ac_cv_header_GL_gl_h = yes; then
28532 echo "$as_me:$LINENO: checking for -lGL" >&5
28533 echo $ECHO_N "checking for -lGL... $ECHO_C" >&6
28536 for ac_dir
in $SEARCH_LIB /usr
/lib
;
28538 for ac_extension
in a so sl dylib
; do
28539 if test -f "$ac_dir/libGL.$ac_extension"; then
28540 ac_find_libraries
=$ac_dir
28546 if test "$ac_find_libraries" != "" ; then
28548 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev
/null
28550 if test $result = 0; then
28553 ac_path_to_link
=" -L$ac_find_libraries"
28556 if test "$ac_path_to_link" != " -L/usr/lib" ; then
28557 LDFLAGS_GL
="$ac_path_to_link"
28562 for ac_dir
in $SEARCH_LIB /usr
/lib
;
28564 for ac_extension
in a so sl dylib
; do
28565 if test -f "$ac_dir/libGLU.$ac_extension"; then
28566 ac_find_libraries
=$ac_dir
28572 if test "$ac_find_libraries" != "" ; then
28574 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev
/null
28576 if test $result = 0; then
28579 ac_path_to_link
=" -L$ac_find_libraries"
28582 if test "$ac_path_to_link" != " -L/usr/lib" -a \
28583 "$ac_path_to_link" != "$LDFLAGS_GL"; then
28584 LDFLAGS_GL
="$LDFLAGS_GL$ac_path_to_link"
28588 OPENGL_LIBS
="-lGL -lGLU"
28589 echo "$as_me:$LINENO: result: yes" >&5
28590 echo "${ECHO_T}yes" >&6
28594 if test "$found_gl" != 1; then
28595 echo "$as_me:$LINENO: result: no" >&5
28596 echo "${ECHO_T}no" >&6
28597 echo "$as_me:$LINENO: checking for -lMesaGL" >&5
28598 echo $ECHO_N "checking for -lMesaGL... $ECHO_C" >&6
28601 for ac_dir
in $SEARCH_LIB /usr
/lib
;
28603 for ac_extension
in a so sl dylib
; do
28604 if test -f "$ac_dir/libMesaGL.$ac_extension"; then
28605 ac_find_libraries
=$ac_dir
28611 if test "$ac_find_libraries" != "" ; then
28613 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev
/null
28615 if test $result = 0; then
28618 ac_path_to_link
=" -L$ac_find_libraries"
28621 LDFLAGS_GL
="$LDFLAGS$ac_path_to_link"
28622 OPENGL_LIBS
="-lMesaGL -lMesaGLU"
28623 echo "$as_me:$LINENO: result: yes" >&5
28624 echo "${ECHO_T}yes" >&6
28626 echo "$as_me:$LINENO: result: no" >&5
28627 echo "${ECHO_T}no" >&6
28635 if test "x$OPENGL_LIBS" = "x"; then
28636 { { echo "$as_me:$LINENO: error: OpenGL libraries not available" >&5
28637 echo "$as_me: error: OpenGL libraries not available" >&2;}
28638 { (exit 1); exit 1; }; }
28642 if test "$wxUSE_OPENGL" = "yes"; then
28644 cat >>confdefs.h
<<\_ACEOF
28645 #define wxUSE_OPENGL 1
28648 cat >>confdefs.h
<<\_ACEOF
28649 #define wxUSE_GLCANVAS 1
28652 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS opengl opengl/cube opengl/penguin opengl/isosurf"
28656 if test -z "$TOOLKIT_VPATH" ; then
28657 TOOLKIT_VPATH
="\${top_srcdir}/src/${TOOLKIT_DIR}"
28660 if test -n "$TOOLKIT" ; then
28661 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -D__WX${TOOLKIT}__"
28665 lib_unicode_suffix
=
28666 if test "$wxUSE_UNICODE" = "yes"; then
28667 lib_unicode_suffix
=u
28673 if test "$wxUSE_DEBUG_FLAG" = "yes"; then
28679 if test "$wxUSE_DEBUG_INFO" = "yes"; then
28683 WX_VERSION_TAG
=`echo WX${lib_unicode_suffix}${lib_debug_suffix}_${WX_RELEASE} | tr "[a-z]" "[A-Z]"`
28685 TOOLCHAIN_NAME
="${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}-${WX_RELEASE}"
28686 TOOLCHAIN_NAME_GL
="${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}_gl-${WX_RELEASE}"
28688 if test "$cross_compiling" = "yes"; then
28689 TOOLCHAIN_NAME
="${TOOLCHAIN_NAME}-${host_alias}"
28690 TOOLCHAIN_NAME_GL
="${TOOLCHAIN_NAME_GL}-${host_alias}"
28691 HOST_SUFFIX
="-${host_alias}"
28694 WX_LIBRARY
="wx_${TOOLCHAIN_NAME}"
28695 WX_LIBRARY_GL
="wx_${TOOLCHAIN_NAME_GL}"
28696 WX_LIBRARY_BASENAME_NOGUI
="wx_base${WXBASEPORT}${lib_unicode_suffix}${lib_debug_suffix}"
28697 WX_LIBRARY_BASENAME_GUI
="wx_${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}"
28699 WX_LIBRARY_NAME_SHARED
="lib${WX_LIBRARY}.${SO_SUFFIX}.${WX_CURRENT}.${WX_REVISION}.${WX_AGE}"
28700 WX_LIBRARY_NAME_SHARED_GL
="lib${WX_LIBRARY_GL}.${SO_SUFFIX}.${WX_CURRENT}.${WX_REVISION}.${WX_AGE}"
28702 WX_LIBRARY_LINK1
="lib${WX_LIBRARY}.${SO_SUFFIX}.${WX_CURRENT}"
28703 WX_LIBRARY_LINK2
="lib${WX_LIBRARY}.${SO_SUFFIX}"
28704 WX_LIBRARY_LINK1_GL
="lib${WX_LIBRARY_GL}.${SO_SUFFIX}.${WX_CURRENT}"
28705 WX_LIBRARY_LINK2_GL
="lib${WX_LIBRARY_GL}.${SO_SUFFIX}"
28708 *-*-cygwin* | *-*-mingw32* )
28709 WX_LIBRARY_NAME_SHARED
="lib${WX_LIBRARY}.${SO_SUFFIX}"
28710 WX_LIBRARY_NAME_SHARED_GL
="lib${WX_LIBRARY_GL}.${SO_SUFFIX}"
28715 WX_LIBRARY_NAME_SHARED
="lib${WX_LIBRARY}.${WX_CURRENT}.${WX_REVISION}.${WX_AGE}.${SO_SUFFIX}"
28716 WX_LIBRARY_NAME_SHARED_GL
="lib${WX_LIBRARY_GL}.${WX_CURRENT}.${WX_REVISION}.${WX_AGE}.${SO_SUFFIX}"
28718 WX_LIBRARY_LINK1
="lib${WX_LIBRARY}.${WX_CURRENT}.${SO_SUFFIX}"
28719 WX_LIBRARY_LINK2
="lib${WX_LIBRARY}.${SO_SUFFIX}"
28720 WX_LIBRARY_LINK1_GL
="lib${WX_LIBRARY_GL}.${WX_CURRENT}.${SO_SUFFIX}"
28721 WX_LIBRARY_LINK2_GL
="lib${WX_LIBRARY_GL}.${SO_SUFFIX}"
28723 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = "1"; then
28724 WX_RESOURCES_MACOSX_ASCII
="lib${WX_LIBRARY}.${WX_CURRENT}.r"
28725 WX_RESOURCES_MACOSX_DATA
="lib${WX_LIBRARY}.${WX_CURRENT}.rsrc"
28730 WX_LIBRARY_NAME_STATIC
="lib${WX_LIBRARY}.a"
28731 WX_LIBRARY_NAME_STATIC_GL
="lib${WX_LIBRARY_GL}.a"
28733 WXCONFIG_LIBS
="-l${WX_LIBRARY}"
28734 WXCONFIG_LIBS_STATIC
="lib${WX_LIBRARY}.a"
28736 if test "$wxUSE_OPENGL" = "yes"; then
28737 WXCONFIG_LIBS_GL
="-l${WX_LIBRARY_GL} ${OPENGL_LIBS}"
28738 WXCONFIG_LIBS_STATIC_GL
="lib${WX_LIBRARY_GL}.a ${OPENGL_LIBS}"
28743 if test "$wxUSE_SHARED" = "yes"; then
28747 { echo "$as_me:$LINENO: WARNING: Host system doesn't support shared libraries, disabling" >&5
28748 echo "$as_me: WARNING: Host system doesn't support shared libraries, disabling" >&2;}
28754 if test "$wxUSE_SHARED" = "yes"; then
28758 found_versioning
=no
28761 if test $found_versioning = no
; then
28762 echo "$as_me:$LINENO: checking if the linker accepts --version-script" >&5
28763 echo $ECHO_N "checking if the linker accepts --version-script... $ECHO_C" >&6
28764 if test "${wx_cv_version_script+set}" = set; then
28765 echo $ECHO_N "(cached) $ECHO_C" >&6
28768 echo "VER_1 { *; };" >conftest.sym
28769 echo "int main() { return 0; }" >conftest.cpp
28772 $CXX -o conftest.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
28773 -Wl,--version-script,conftest.sym >/dev/null 2>conftest.stderr'
28774 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28775 (eval $ac_try) 2>&5
28777 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28778 (exit $ac_status); }; } ; then
28779 if test -s conftest.stderr
; then
28780 wx_cv_version_script
=no
28782 wx_cv_version_script
=yes
28785 wx_cv_version_script
=no
28787 rm -f conftest.output conftest.stderr conftest.sym conftest.cpp
28790 echo "$as_me:$LINENO: result: $wx_cv_version_script" >&5
28791 echo "${ECHO_T}$wx_cv_version_script" >&6
28792 if test $wx_cv_version_script = yes ; then
28793 LDFLAGS_VERSIONING
="-Wl,--version-script,\$(top_builddir)version-script"
28799 *-*-linux* | *-*-gnu* )
28800 SAMPLES_RPATH_FLAG
="-Wl,-rpath,\$(top_builddir)lib"
28804 if test "$GCC" = yes ; then
28805 CPPFLAGS
="$CPPFLAGS -isystem /usr/openwin/include"
28807 saveLdflags
="$LDFLAGS"
28808 LDFLAGS
="$saveLdflags -Wl,-rpath,/"
28809 echo "$as_me:$LINENO: checking if the linker accepts -rpath" >&5
28810 echo $ECHO_N "checking if the linker accepts -rpath... $ECHO_C" >&6
28811 cat >conftest.
$ac_ext <<_ACEOF
28814 cat confdefs.h
>>conftest.
$ac_ext
28815 cat >>conftest.
$ac_ext <<_ACEOF
28816 /* end confdefs.h. */
28826 rm -f conftest.
$ac_objext conftest
$ac_exeext
28827 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28828 (eval $ac_link) 2>conftest.er1
28830 grep -v '^ *+' conftest.er1
>conftest.err
28832 cat conftest.err
>&5
28833 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28834 (exit $ac_status); } &&
28835 { ac_try
='test -z "$ac_c_werror_flag"
28836 || test ! -s conftest.err'
28837 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28838 (eval $ac_try) 2>&5
28840 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28841 (exit $ac_status); }; } &&
28842 { ac_try
='test -s conftest$ac_exeext'
28843 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28844 (eval $ac_try) 2>&5
28846 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28847 (exit $ac_status); }; }; then
28849 echo "$as_me:$LINENO: result: yes" >&5
28850 echo "${ECHO_T}yes" >&6
28851 SAMPLES_RPATH_FLAG
="-Wl,-rpath,\$(top_builddir)lib"
28854 echo "$as_me: failed program was:" >&5
28855 sed 's/^/| /' conftest.
$ac_ext >&5
28858 echo "$as_me:$LINENO: result: no" >&5
28859 echo "${ECHO_T}no" >&6
28860 echo "$as_me:$LINENO: checking if the linker accepts -R" >&5
28861 echo $ECHO_N "checking if the linker accepts -R... $ECHO_C" >&6
28862 LDFLAGS
="$saveLdflags -Wl,-R,/"
28863 cat >conftest.
$ac_ext <<_ACEOF
28866 cat confdefs.h
>>conftest.
$ac_ext
28867 cat >>conftest.
$ac_ext <<_ACEOF
28868 /* end confdefs.h. */
28878 rm -f conftest.
$ac_objext conftest
$ac_exeext
28879 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28880 (eval $ac_link) 2>conftest.er1
28882 grep -v '^ *+' conftest.er1
>conftest.err
28884 cat conftest.err
>&5
28885 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28886 (exit $ac_status); } &&
28887 { ac_try
='test -z "$ac_c_werror_flag"
28888 || test ! -s conftest.err'
28889 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28890 (eval $ac_try) 2>&5
28892 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28893 (exit $ac_status); }; } &&
28894 { ac_try
='test -s conftest$ac_exeext'
28895 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28896 (eval $ac_try) 2>&5
28898 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28899 (exit $ac_status); }; }; then
28901 echo "$as_me:$LINENO: result: yes" >&5
28902 echo "${ECHO_T}yes" >&6
28903 SAMPLES_RPATH_FLAG
="-Wl,-R,\$(top_builddir)lib"
28905 echo "$as_me: failed program was:" >&5
28906 sed 's/^/| /' conftest.
$ac_ext >&5
28909 echo "$as_me:$LINENO: result: no" >&5
28910 echo "${ECHO_T}no" >&6
28913 rm -f conftest.err conftest.
$ac_objext \
28914 conftest
$ac_exeext conftest.
$ac_ext
28917 rm -f conftest.err conftest.
$ac_objext \
28918 conftest
$ac_exeext conftest.
$ac_ext
28919 LDFLAGS
="$saveLdflags"
28921 SHARED_LD
="${CXX} -G -o"
28923 SAMPLES_RPATH_FLAG
="-R\$(top_builddir)lib"
28927 powerpc
-*-darwin* )
28928 SAMPLES_RPATH_POSTLINK
="\$(top_builddir)change-install-names \$(LIBDIRNAME) \$(prefix) \$@"
28929 cat <<EOF >change-install-names
28931 libnames=\`cd \${1} ; ls -1 | grep '\.[0-9][0-9]*\.dylib\$'\`
28932 inst_cmd="install_name_tool "
28933 for i in \${libnames} ; do
28934 inst_cmd="\${inst_cmd} -change \${2}/lib/\${i} \${1}/\${i}"
28938 chmod +x change
-install-names
28941 *-*-cygwin* | *-*-mingw32* )
28942 TOOLCHAIN_DLL_DEFS
="${TOOLCHAIN_DLL_DEFS} -DWXUSINGDLL=1"
28947 if test "x$WX_TARGET_LIBRARY" = "x"; then
28948 WX_TARGET_LIBRARY
="${WX_LIBRARY_NAME_SHARED}"
28949 WX_TARGET_LIBRARY_GL
="${WX_LIBRARY_NAME_SHARED_GL}"
28952 WX_TARGET_LIBRARY_TYPE
="so"
28953 INSTALL_LIBRARY
='$(INSTALL_PROGRAM)'
28956 if test "$wxUSE_SHARED" = "no"; then
28958 if test "$wxUSE_GUI" = "no" -o "$USE_WIN32" = 1 ; then
28959 WX_ALL_INSTALLED
="${WX_ALL_INSTALLED} preinstall"
28962 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1 ; then
28963 WX_ALL_INSTALLED
="${WX_ALL_INSTALLED} preinstall"
28966 if test "$wxUSE_OPENGL" = "yes"; then
28967 WX_ALL_INSTALLED
="${WX_ALL_INSTALLED} preinstall_gl"
28968 WX_ALL
="\$(build_libdir)/${WX_LIBRARY_NAME_STATIC} \$(build_libdir)/${WX_LIBRARY_NAME_STATIC_GL}"
28970 WX_ALL
="\$(build_libdir)/${WX_LIBRARY_NAME_STATIC}"
28973 WX_TARGET_LIBRARY
="${WX_LIBRARY_NAME_STATIC}"
28974 WX_TARGET_LIBRARY_GL
="${WX_LIBRARY_NAME_STATIC_GL}"
28976 WX_TARGET_LIBRARY_TYPE
="a"
28977 INSTALL_LIBRARY
='$(INSTALL_DATA)'
28984 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1; then
28985 LIBWXMACRES
="\$(top_builddir)lib/${WX_RESOURCES_MACOSX_ASCII}"
28986 WX_ALL
="${WX_ALL} ${LIBWXMACRES}"
28987 WX_ALL_INSTALLED
="${WX_ALL_INSTALLED} preinstall_res"
28989 # Extract the first word of "Rez", so it can be a program name with args.
28990 set dummy Rez
; ac_word
=$2
28991 echo "$as_me:$LINENO: checking for $ac_word" >&5
28992 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
28993 if test "${ac_cv_prog_RESCOMP+set}" = set; then
28994 echo $ECHO_N "(cached) $ECHO_C" >&6
28996 if test -n "$RESCOMP"; then
28997 ac_cv_prog_RESCOMP
="$RESCOMP" # Let the user override the test.
28999 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
29000 for as_dir
in $PATH
29003 test -z "$as_dir" && as_dir
=.
29004 for ac_exec_ext
in '' $ac_executable_extensions; do
29005 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
29006 ac_cv_prog_RESCOMP
="Rez"
29007 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
29013 test -z "$ac_cv_prog_RESCOMP" && ac_cv_prog_RESCOMP
="/Developer/Tools/Rez"
29016 RESCOMP
=$ac_cv_prog_RESCOMP
29017 if test -n "$RESCOMP"; then
29018 echo "$as_me:$LINENO: result: $RESCOMP" >&5
29019 echo "${ECHO_T}$RESCOMP" >&6
29021 echo "$as_me:$LINENO: result: no" >&5
29022 echo "${ECHO_T}no" >&6
29025 # Extract the first word of "DeRez", so it can be a program name with args.
29026 set dummy DeRez
; ac_word
=$2
29027 echo "$as_me:$LINENO: checking for $ac_word" >&5
29028 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
29029 if test "${ac_cv_prog_DEREZ+set}" = set; then
29030 echo $ECHO_N "(cached) $ECHO_C" >&6
29032 if test -n "$DEREZ"; then
29033 ac_cv_prog_DEREZ
="$DEREZ" # Let the user override the test.
29035 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
29036 for as_dir
in $PATH
29039 test -z "$as_dir" && as_dir
=.
29040 for ac_exec_ext
in '' $ac_executable_extensions; do
29041 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
29042 ac_cv_prog_DEREZ
="DeRez"
29043 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
29049 test -z "$ac_cv_prog_DEREZ" && ac_cv_prog_DEREZ
="/Developer/Tools/DeRez"
29052 DEREZ
=$ac_cv_prog_DEREZ
29053 if test -n "$DEREZ"; then
29054 echo "$as_me:$LINENO: result: $DEREZ" >&5
29055 echo "${ECHO_T}$DEREZ" >&6
29057 echo "$as_me:$LINENO: result: no" >&5
29058 echo "${ECHO_T}no" >&6
29061 # Extract the first word of "SetFile", so it can be a program name with args.
29062 set dummy SetFile
; ac_word
=$2
29063 echo "$as_me:$LINENO: checking for $ac_word" >&5
29064 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
29065 if test "${ac_cv_prog_SETFILE+set}" = set; then
29066 echo $ECHO_N "(cached) $ECHO_C" >&6
29068 if test -n "$SETFILE"; then
29069 ac_cv_prog_SETFILE
="$SETFILE" # Let the user override the test.
29071 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
29072 for as_dir
in $PATH
29075 test -z "$as_dir" && as_dir
=.
29076 for ac_exec_ext
in '' $ac_executable_extensions; do
29077 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
29078 ac_cv_prog_SETFILE
="SetFile"
29079 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
29085 test -z "$ac_cv_prog_SETFILE" && ac_cv_prog_SETFILE
="/Developer/Tools/SetFile"
29088 SETFILE
=$ac_cv_prog_SETFILE
29089 if test -n "$SETFILE"; then
29090 echo "$as_me:$LINENO: result: $SETFILE" >&5
29091 echo "${ECHO_T}$SETFILE" >&6
29093 echo "$as_me:$LINENO: result: no" >&5
29094 echo "${ECHO_T}no" >&6
29098 MACSETFILE
="\$(SETFILE)"
29100 if test "$wxUSE_MAC" = 1; then
29101 MACRESCOMP
="\$(RESCOMP) -d __DARWIN__ -t APPL Carbon.r ${LIBWXMACRES} -o"
29103 MACRESWXCONFIG
="${RESCOMP} -d __DARWIN__ -t APPL Carbon.r \\\${exec_prefix}/lib/${WX_RESOURCES_MACOSX_ASCII} -o"
29105 MACRESCOMP
="echo -n | \$(RESCOMP) -d __DARWIN__ -t APPL ${LIBWXMACRES} -o"
29106 MACRESWXCONFIG
="echo -n \\\| ${RESCOMP} -d __DARWIN__ -t APPL \\\${exec_prefix}/lib/${WX_RESOURCES_MACOSX_ASCII} -o"
29112 if test "$wxUSE_PM" = 1; then
29113 MACRESCOMP
="emxbind -ep"
29121 echo "$as_me:$LINENO: checking for mode_t" >&5
29122 echo $ECHO_N "checking for mode_t... $ECHO_C" >&6
29123 if test "${ac_cv_type_mode_t+set}" = set; then
29124 echo $ECHO_N "(cached) $ECHO_C" >&6
29126 cat >conftest.
$ac_ext <<_ACEOF
29129 cat confdefs.h
>>conftest.
$ac_ext
29130 cat >>conftest.
$ac_ext <<_ACEOF
29131 /* end confdefs.h. */
29132 $ac_includes_default
29138 if (sizeof (mode_t))
29144 rm -f conftest.
$ac_objext
29145 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29146 (eval $ac_compile) 2>conftest.er1
29148 grep -v '^ *+' conftest.er1
>conftest.err
29150 cat conftest.err
>&5
29151 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29152 (exit $ac_status); } &&
29153 { ac_try
='test -z "$ac_c_werror_flag"
29154 || test ! -s conftest.err'
29155 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29156 (eval $ac_try) 2>&5
29158 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29159 (exit $ac_status); }; } &&
29160 { ac_try
='test -s conftest.$ac_objext'
29161 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29162 (eval $ac_try) 2>&5
29164 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29165 (exit $ac_status); }; }; then
29166 ac_cv_type_mode_t
=yes
29168 echo "$as_me: failed program was:" >&5
29169 sed 's/^/| /' conftest.
$ac_ext >&5
29171 ac_cv_type_mode_t
=no
29173 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
29175 echo "$as_me:$LINENO: result: $ac_cv_type_mode_t" >&5
29176 echo "${ECHO_T}$ac_cv_type_mode_t" >&6
29177 if test $ac_cv_type_mode_t = yes; then
29181 cat >>confdefs.h
<<_ACEOF
29187 echo "$as_me:$LINENO: checking for off_t" >&5
29188 echo $ECHO_N "checking for off_t... $ECHO_C" >&6
29189 if test "${ac_cv_type_off_t+set}" = set; then
29190 echo $ECHO_N "(cached) $ECHO_C" >&6
29192 cat >conftest.
$ac_ext <<_ACEOF
29195 cat confdefs.h
>>conftest.
$ac_ext
29196 cat >>conftest.
$ac_ext <<_ACEOF
29197 /* end confdefs.h. */
29198 $ac_includes_default
29204 if (sizeof (off_t))
29210 rm -f conftest.
$ac_objext
29211 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29212 (eval $ac_compile) 2>conftest.er1
29214 grep -v '^ *+' conftest.er1
>conftest.err
29216 cat conftest.err
>&5
29217 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29218 (exit $ac_status); } &&
29219 { ac_try
='test -z "$ac_c_werror_flag"
29220 || test ! -s conftest.err'
29221 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29222 (eval $ac_try) 2>&5
29224 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29225 (exit $ac_status); }; } &&
29226 { ac_try
='test -s conftest.$ac_objext'
29227 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29228 (eval $ac_try) 2>&5
29230 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29231 (exit $ac_status); }; }; then
29232 ac_cv_type_off_t
=yes
29234 echo "$as_me: failed program was:" >&5
29235 sed 's/^/| /' conftest.
$ac_ext >&5
29237 ac_cv_type_off_t
=no
29239 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
29241 echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
29242 echo "${ECHO_T}$ac_cv_type_off_t" >&6
29243 if test $ac_cv_type_off_t = yes; then
29247 cat >>confdefs.h
<<_ACEOF
29253 echo "$as_me:$LINENO: checking for pid_t" >&5
29254 echo $ECHO_N "checking for pid_t... $ECHO_C" >&6
29255 if test "${ac_cv_type_pid_t+set}" = set; then
29256 echo $ECHO_N "(cached) $ECHO_C" >&6
29258 cat >conftest.
$ac_ext <<_ACEOF
29261 cat confdefs.h
>>conftest.
$ac_ext
29262 cat >>conftest.
$ac_ext <<_ACEOF
29263 /* end confdefs.h. */
29264 $ac_includes_default
29270 if (sizeof (pid_t))
29276 rm -f conftest.
$ac_objext
29277 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29278 (eval $ac_compile) 2>conftest.er1
29280 grep -v '^ *+' conftest.er1
>conftest.err
29282 cat conftest.err
>&5
29283 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29284 (exit $ac_status); } &&
29285 { ac_try
='test -z "$ac_c_werror_flag"
29286 || test ! -s conftest.err'
29287 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29288 (eval $ac_try) 2>&5
29290 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29291 (exit $ac_status); }; } &&
29292 { ac_try
='test -s conftest.$ac_objext'
29293 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29294 (eval $ac_try) 2>&5
29296 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29297 (exit $ac_status); }; }; then
29298 ac_cv_type_pid_t
=yes
29300 echo "$as_me: failed program was:" >&5
29301 sed 's/^/| /' conftest.
$ac_ext >&5
29303 ac_cv_type_pid_t
=no
29305 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
29307 echo "$as_me:$LINENO: result: $ac_cv_type_pid_t" >&5
29308 echo "${ECHO_T}$ac_cv_type_pid_t" >&6
29309 if test $ac_cv_type_pid_t = yes; then
29313 cat >>confdefs.h
<<_ACEOF
29319 echo "$as_me:$LINENO: checking for size_t" >&5
29320 echo $ECHO_N "checking for size_t... $ECHO_C" >&6
29321 if test "${ac_cv_type_size_t+set}" = set; then
29322 echo $ECHO_N "(cached) $ECHO_C" >&6
29324 cat >conftest.
$ac_ext <<_ACEOF
29327 cat confdefs.h
>>conftest.
$ac_ext
29328 cat >>conftest.
$ac_ext <<_ACEOF
29329 /* end confdefs.h. */
29330 $ac_includes_default
29336 if (sizeof (size_t))
29342 rm -f conftest.
$ac_objext
29343 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29344 (eval $ac_compile) 2>conftest.er1
29346 grep -v '^ *+' conftest.er1
>conftest.err
29348 cat conftest.err
>&5
29349 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29350 (exit $ac_status); } &&
29351 { ac_try
='test -z "$ac_c_werror_flag"
29352 || test ! -s conftest.err'
29353 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29354 (eval $ac_try) 2>&5
29356 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29357 (exit $ac_status); }; } &&
29358 { ac_try
='test -s conftest.$ac_objext'
29359 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29360 (eval $ac_try) 2>&5
29362 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29363 (exit $ac_status); }; }; then
29364 ac_cv_type_size_t
=yes
29366 echo "$as_me: failed program was:" >&5
29367 sed 's/^/| /' conftest.
$ac_ext >&5
29369 ac_cv_type_size_t
=no
29371 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
29373 echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
29374 echo "${ECHO_T}$ac_cv_type_size_t" >&6
29375 if test $ac_cv_type_size_t = yes; then
29379 cat >>confdefs.h
<<_ACEOF
29380 #define size_t unsigned
29385 echo "$as_me:$LINENO: checking for uid_t in sys/types.h" >&5
29386 echo $ECHO_N "checking for uid_t in sys/types.h... $ECHO_C" >&6
29387 if test "${ac_cv_type_uid_t+set}" = set; then
29388 echo $ECHO_N "(cached) $ECHO_C" >&6
29390 cat >conftest.
$ac_ext <<_ACEOF
29393 cat confdefs.h
>>conftest.
$ac_ext
29394 cat >>conftest.
$ac_ext <<_ACEOF
29395 /* end confdefs.h. */
29396 #include <sys/types.h>
29399 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
29400 $EGREP "uid_t" >/dev
/null
2>&1; then
29401 ac_cv_type_uid_t
=yes
29403 ac_cv_type_uid_t
=no
29408 echo "$as_me:$LINENO: result: $ac_cv_type_uid_t" >&5
29409 echo "${ECHO_T}$ac_cv_type_uid_t" >&6
29410 if test $ac_cv_type_uid_t = no
; then
29412 cat >>confdefs.h
<<\_ACEOF
29417 cat >>confdefs.h
<<\_ACEOF
29427 ac_cpp
='$CXXCPP $CPPFLAGS'
29428 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29429 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29430 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
29432 echo "$as_me:$LINENO: checking if size_t is unsigned int" >&5
29433 echo $ECHO_N "checking if size_t is unsigned int... $ECHO_C" >&6
29434 if test "${wx_cv_size_t_is_uint+set}" = set; then
29435 echo $ECHO_N "(cached) $ECHO_C" >&6
29438 cat >conftest.
$ac_ext <<_ACEOF
29441 cat confdefs.h
>>conftest.
$ac_ext
29442 cat >>conftest.
$ac_ext <<_ACEOF
29443 /* end confdefs.h. */
29444 #include <stddef.h>
29451 struct Foo { void foo(size_t); void foo(unsigned int); };
29459 rm -f conftest.
$ac_objext
29460 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29461 (eval $ac_compile) 2>conftest.er1
29463 grep -v '^ *+' conftest.er1
>conftest.err
29465 cat conftest.err
>&5
29466 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29467 (exit $ac_status); } &&
29468 { ac_try
='test -z "$ac_cxx_werror_flag"
29469 || test ! -s conftest.err'
29470 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29471 (eval $ac_try) 2>&5
29473 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29474 (exit $ac_status); }; } &&
29475 { ac_try
='test -s conftest.$ac_objext'
29476 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29477 (eval $ac_try) 2>&5
29479 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29480 (exit $ac_status); }; }; then
29481 wx_cv_size_t_is_uint
=no
29483 echo "$as_me: failed program was:" >&5
29484 sed 's/^/| /' conftest.
$ac_ext >&5
29486 wx_cv_size_t_is_uint
=yes
29489 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
29493 echo "$as_me:$LINENO: result: $wx_cv_size_t_is_uint" >&5
29494 echo "${ECHO_T}$wx_cv_size_t_is_uint" >&6
29496 if test "$wx_cv_size_t_is_uint" = "yes"; then
29497 cat >>confdefs.h
<<\_ACEOF
29498 #define wxSIZE_T_IS_UINT 1
29502 echo "$as_me:$LINENO: checking if size_t is unsigned long" >&5
29503 echo $ECHO_N "checking if size_t is unsigned long... $ECHO_C" >&6
29504 if test "${wx_cv_size_t_is_ulong+set}" = set; then
29505 echo $ECHO_N "(cached) $ECHO_C" >&6
29507 cat >conftest.
$ac_ext <<_ACEOF
29510 cat confdefs.h
>>conftest.
$ac_ext
29511 cat >>conftest.
$ac_ext <<_ACEOF
29512 /* end confdefs.h. */
29513 #include <stddef.h>
29520 struct Foo { void foo(size_t); void foo(unsigned long); };
29528 rm -f conftest.
$ac_objext
29529 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29530 (eval $ac_compile) 2>conftest.er1
29532 grep -v '^ *+' conftest.er1
>conftest.err
29534 cat conftest.err
>&5
29535 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29536 (exit $ac_status); } &&
29537 { ac_try
='test -z "$ac_cxx_werror_flag"
29538 || test ! -s conftest.err'
29539 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29540 (eval $ac_try) 2>&5
29542 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29543 (exit $ac_status); }; } &&
29544 { ac_try
='test -s conftest.$ac_objext'
29545 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29546 (eval $ac_try) 2>&5
29548 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29549 (exit $ac_status); }; }; then
29550 wx_cv_size_t_is_ulong
=no
29552 echo "$as_me: failed program was:" >&5
29553 sed 's/^/| /' conftest.
$ac_ext >&5
29555 wx_cv_size_t_is_ulong
=yes
29558 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
29561 echo "$as_me:$LINENO: result: $wx_cv_size_t_is_ulong" >&5
29562 echo "${ECHO_T}$wx_cv_size_t_is_ulong" >&6
29564 if test "$wx_cv_size_t_is_ulong" = "yes"; then
29565 cat >>confdefs.h
<<\_ACEOF
29566 #define wxSIZE_T_IS_ULONG 1
29573 ac_cpp
='$CPP $CPPFLAGS'
29574 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29575 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29576 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
29580 echo "$as_me:$LINENO: checking for pw_gecos in struct passwd" >&5
29581 echo $ECHO_N "checking for pw_gecos in struct passwd... $ECHO_C" >&6
29582 if test "${wx_cv_struct_pw_gecos+set}" = set; then
29583 echo $ECHO_N "(cached) $ECHO_C" >&6
29586 cat >conftest.
$ac_ext <<_ACEOF
29589 cat confdefs.h
>>conftest.
$ac_ext
29590 cat >>conftest.
$ac_ext <<_ACEOF
29591 /* end confdefs.h. */
29605 rm -f conftest.
$ac_objext
29606 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29607 (eval $ac_compile) 2>conftest.er1
29609 grep -v '^ *+' conftest.er1
>conftest.err
29611 cat conftest.err
>&5
29612 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29613 (exit $ac_status); } &&
29614 { ac_try
='test -z "$ac_c_werror_flag"
29615 || test ! -s conftest.err'
29616 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29617 (eval $ac_try) 2>&5
29619 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29620 (exit $ac_status); }; } &&
29621 { ac_try
='test -s conftest.$ac_objext'
29622 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29623 (eval $ac_try) 2>&5
29625 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29626 (exit $ac_status); }; }; then
29628 wx_cv_struct_pw_gecos
=yes
29631 echo "$as_me: failed program was:" >&5
29632 sed 's/^/| /' conftest.
$ac_ext >&5
29635 wx_cv_struct_pw_gecos
=no
29639 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
29643 echo "$as_me:$LINENO: result: $wx_cv_struct_pw_gecos" >&5
29644 echo "${ECHO_T}$wx_cv_struct_pw_gecos" >&6
29646 if test "$wx_cv_struct_pw_gecos" = "yes"; then
29647 cat >>confdefs.h
<<\_ACEOF
29648 #define HAVE_PW_GECOS 1
29654 if test "$wx_cv_sizeof_wchar_t" != "0"; then
29655 cat >>confdefs.h
<<\_ACEOF
29656 #define wxUSE_WCHAR_T 1
29663 for ac_func
in wcslen
29665 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
29666 echo "$as_me:$LINENO: checking for $ac_func" >&5
29667 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
29668 if eval "test \"\${$as_ac_var+set}\" = set"; then
29669 echo $ECHO_N "(cached) $ECHO_C" >&6
29671 cat >conftest.
$ac_ext <<_ACEOF
29674 cat confdefs.h
>>conftest.
$ac_ext
29675 cat >>conftest.
$ac_ext <<_ACEOF
29676 /* end confdefs.h. */
29677 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
29678 For example, HP-UX 11i <limits.h> declares gettimeofday. */
29679 #define $ac_func innocuous_$ac_func
29681 /* System header to define __stub macros and hopefully few prototypes,
29682 which can conflict with char $ac_func (); below.
29683 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29684 <limits.h> exists even on freestanding compilers. */
29687 # include <limits.h>
29689 # include <assert.h>
29694 /* Override any gcc2 internal prototype to avoid an error. */
29699 /* We use char because int might match the return type of a gcc2
29700 builtin and then its argument prototype would still apply. */
29702 /* The GNU C library defines this for functions which it implements
29703 to always fail with ENOSYS. Some functions are actually named
29704 something starting with __ and the normal name is an alias. */
29705 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
29708 char (*f) () = $ac_func;
29717 return f != $ac_func;
29722 rm -f conftest.
$ac_objext conftest
$ac_exeext
29723 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29724 (eval $ac_link) 2>conftest.er1
29726 grep -v '^ *+' conftest.er1
>conftest.err
29728 cat conftest.err
>&5
29729 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29730 (exit $ac_status); } &&
29731 { ac_try
='test -z "$ac_c_werror_flag"
29732 || test ! -s conftest.err'
29733 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29734 (eval $ac_try) 2>&5
29736 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29737 (exit $ac_status); }; } &&
29738 { ac_try
='test -s conftest$ac_exeext'
29739 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29740 (eval $ac_try) 2>&5
29742 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29743 (exit $ac_status); }; }; then
29744 eval "$as_ac_var=yes"
29746 echo "$as_me: failed program was:" >&5
29747 sed 's/^/| /' conftest.
$ac_ext >&5
29749 eval "$as_ac_var=no"
29751 rm -f conftest.err conftest.
$ac_objext \
29752 conftest
$ac_exeext conftest.
$ac_ext
29754 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
29755 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
29756 if test `eval echo '${'$as_ac_var'}'` = yes; then
29757 cat >>confdefs.h
<<_ACEOF
29758 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
29765 if test "$WCSLEN_FOUND" = 0; then
29766 if test "$TOOLKIT" = "MSW"; then
29767 echo "$as_me:$LINENO: checking for wcslen in -lmsvcrt" >&5
29768 echo $ECHO_N "checking for wcslen in -lmsvcrt... $ECHO_C" >&6
29769 if test "${ac_cv_lib_msvcrt_wcslen+set}" = set; then
29770 echo $ECHO_N "(cached) $ECHO_C" >&6
29772 ac_check_lib_save_LIBS
=$LIBS
29773 LIBS
="-lmsvcrt $LIBS"
29774 cat >conftest.
$ac_ext <<_ACEOF
29777 cat confdefs.h
>>conftest.
$ac_ext
29778 cat >>conftest.
$ac_ext <<_ACEOF
29779 /* end confdefs.h. */
29781 /* Override any gcc2 internal prototype to avoid an error. */
29785 /* We use char because int might match the return type of a gcc2
29786 builtin and then its argument prototype would still apply. */
29796 rm -f conftest.
$ac_objext conftest
$ac_exeext
29797 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29798 (eval $ac_link) 2>conftest.er1
29800 grep -v '^ *+' conftest.er1
>conftest.err
29802 cat conftest.err
>&5
29803 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29804 (exit $ac_status); } &&
29805 { ac_try
='test -z "$ac_c_werror_flag"
29806 || test ! -s conftest.err'
29807 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29808 (eval $ac_try) 2>&5
29810 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29811 (exit $ac_status); }; } &&
29812 { ac_try
='test -s conftest$ac_exeext'
29813 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29814 (eval $ac_try) 2>&5
29816 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29817 (exit $ac_status); }; }; then
29818 ac_cv_lib_msvcrt_wcslen
=yes
29820 echo "$as_me: failed program was:" >&5
29821 sed 's/^/| /' conftest.
$ac_ext >&5
29823 ac_cv_lib_msvcrt_wcslen
=no
29825 rm -f conftest.err conftest.
$ac_objext \
29826 conftest
$ac_exeext conftest.
$ac_ext
29827 LIBS
=$ac_check_lib_save_LIBS
29829 echo "$as_me:$LINENO: result: $ac_cv_lib_msvcrt_wcslen" >&5
29830 echo "${ECHO_T}$ac_cv_lib_msvcrt_wcslen" >&6
29831 if test $ac_cv_lib_msvcrt_wcslen = yes; then
29836 echo "$as_me:$LINENO: checking for wcslen in -lw" >&5
29837 echo $ECHO_N "checking for wcslen in -lw... $ECHO_C" >&6
29838 if test "${ac_cv_lib_w_wcslen+set}" = set; then
29839 echo $ECHO_N "(cached) $ECHO_C" >&6
29841 ac_check_lib_save_LIBS
=$LIBS
29843 cat >conftest.
$ac_ext <<_ACEOF
29846 cat confdefs.h
>>conftest.
$ac_ext
29847 cat >>conftest.
$ac_ext <<_ACEOF
29848 /* end confdefs.h. */
29850 /* Override any gcc2 internal prototype to avoid an error. */
29854 /* We use char because int might match the return type of a gcc2
29855 builtin and then its argument prototype would still apply. */
29865 rm -f conftest.
$ac_objext conftest
$ac_exeext
29866 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29867 (eval $ac_link) 2>conftest.er1
29869 grep -v '^ *+' conftest.er1
>conftest.err
29871 cat conftest.err
>&5
29872 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29873 (exit $ac_status); } &&
29874 { ac_try
='test -z "$ac_c_werror_flag"
29875 || test ! -s conftest.err'
29876 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29877 (eval $ac_try) 2>&5
29879 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29880 (exit $ac_status); }; } &&
29881 { ac_try
='test -s conftest$ac_exeext'
29882 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29883 (eval $ac_try) 2>&5
29885 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29886 (exit $ac_status); }; }; then
29887 ac_cv_lib_w_wcslen
=yes
29889 echo "$as_me: failed program was:" >&5
29890 sed 's/^/| /' conftest.
$ac_ext >&5
29892 ac_cv_lib_w_wcslen
=no
29894 rm -f conftest.err conftest.
$ac_objext \
29895 conftest
$ac_exeext conftest.
$ac_ext
29896 LIBS
=$ac_check_lib_save_LIBS
29898 echo "$as_me:$LINENO: result: $ac_cv_lib_w_wcslen" >&5
29899 echo "${ECHO_T}$ac_cv_lib_w_wcslen" >&6
29900 if test $ac_cv_lib_w_wcslen = yes; then
29910 if test "$WCSLEN_FOUND" = 1; then
29911 cat >>confdefs.h
<<\_ACEOF
29912 #define HAVE_WCSLEN 1
29917 if test "$USE_HPUX" = 1 -a "x$GCC" != "xyes"; then
29918 CPPFLAGS
="$CPPFLAGS -D_INCLUDE__STDC_A1_SOURCE "
29922 for ac_func
in wcsrtombs
29924 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
29925 echo "$as_me:$LINENO: checking for $ac_func" >&5
29926 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
29927 if eval "test \"\${$as_ac_var+set}\" = set"; then
29928 echo $ECHO_N "(cached) $ECHO_C" >&6
29930 cat >conftest.
$ac_ext <<_ACEOF
29933 cat confdefs.h
>>conftest.
$ac_ext
29934 cat >>conftest.
$ac_ext <<_ACEOF
29935 /* end confdefs.h. */
29936 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
29937 For example, HP-UX 11i <limits.h> declares gettimeofday. */
29938 #define $ac_func innocuous_$ac_func
29940 /* System header to define __stub macros and hopefully few prototypes,
29941 which can conflict with char $ac_func (); below.
29942 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29943 <limits.h> exists even on freestanding compilers. */
29946 # include <limits.h>
29948 # include <assert.h>
29953 /* Override any gcc2 internal prototype to avoid an error. */
29958 /* We use char because int might match the return type of a gcc2
29959 builtin and then its argument prototype would still apply. */
29961 /* The GNU C library defines this for functions which it implements
29962 to always fail with ENOSYS. Some functions are actually named
29963 something starting with __ and the normal name is an alias. */
29964 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
29967 char (*f) () = $ac_func;
29976 return f != $ac_func;
29981 rm -f conftest.
$ac_objext conftest
$ac_exeext
29982 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29983 (eval $ac_link) 2>conftest.er1
29985 grep -v '^ *+' conftest.er1
>conftest.err
29987 cat conftest.err
>&5
29988 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29989 (exit $ac_status); } &&
29990 { ac_try
='test -z "$ac_c_werror_flag"
29991 || test ! -s conftest.err'
29992 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29993 (eval $ac_try) 2>&5
29995 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29996 (exit $ac_status); }; } &&
29997 { ac_try
='test -s conftest$ac_exeext'
29998 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29999 (eval $ac_try) 2>&5
30001 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30002 (exit $ac_status); }; }; then
30003 eval "$as_ac_var=yes"
30005 echo "$as_me: failed program was:" >&5
30006 sed 's/^/| /' conftest.
$ac_ext >&5
30008 eval "$as_ac_var=no"
30010 rm -f conftest.err conftest.
$ac_objext \
30011 conftest
$ac_exeext conftest.
$ac_ext
30013 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
30014 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
30015 if test `eval echo '${'$as_ac_var'}'` = yes; then
30016 cat >>confdefs.h
<<_ACEOF
30017 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
30024 { echo "$as_me:$LINENO: WARNING: Wide character support is unavailable" >&5
30025 echo "$as_me: WARNING: Wide character support is unavailable" >&2;}
30031 ac_cpp
='$CXXCPP $CPPFLAGS'
30032 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30033 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30034 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
30038 for ac_func
in vsnprintf
30040 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
30041 echo "$as_me:$LINENO: checking for $ac_func" >&5
30042 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
30043 if eval "test \"\${$as_ac_var+set}\" = set"; then
30044 echo $ECHO_N "(cached) $ECHO_C" >&6
30046 cat >conftest.
$ac_ext <<_ACEOF
30049 cat confdefs.h
>>conftest.
$ac_ext
30050 cat >>conftest.
$ac_ext <<_ACEOF
30051 /* end confdefs.h. */
30052 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
30053 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30054 #define $ac_func innocuous_$ac_func
30056 /* System header to define __stub macros and hopefully few prototypes,
30057 which can conflict with char $ac_func (); below.
30058 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30059 <limits.h> exists even on freestanding compilers. */
30062 # include <limits.h>
30064 # include <assert.h>
30069 /* Override any gcc2 internal prototype to avoid an error. */
30074 /* We use char because int might match the return type of a gcc2
30075 builtin and then its argument prototype would still apply. */
30077 /* The GNU C library defines this for functions which it implements
30078 to always fail with ENOSYS. Some functions are actually named
30079 something starting with __ and the normal name is an alias. */
30080 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
30083 char (*f) () = $ac_func;
30092 return f != $ac_func;
30097 rm -f conftest.
$ac_objext conftest
$ac_exeext
30098 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30099 (eval $ac_link) 2>conftest.er1
30101 grep -v '^ *+' conftest.er1
>conftest.err
30103 cat conftest.err
>&5
30104 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30105 (exit $ac_status); } &&
30106 { ac_try
='test -z "$ac_cxx_werror_flag"
30107 || test ! -s conftest.err'
30108 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30109 (eval $ac_try) 2>&5
30111 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30112 (exit $ac_status); }; } &&
30113 { ac_try
='test -s conftest$ac_exeext'
30114 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30115 (eval $ac_try) 2>&5
30117 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30118 (exit $ac_status); }; }; then
30119 eval "$as_ac_var=yes"
30121 echo "$as_me: failed program was:" >&5
30122 sed 's/^/| /' conftest.
$ac_ext >&5
30124 eval "$as_ac_var=no"
30126 rm -f conftest.err conftest.
$ac_objext \
30127 conftest
$ac_exeext conftest.
$ac_ext
30129 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
30130 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
30131 if test `eval echo '${'$as_ac_var'}'` = yes; then
30132 cat >>confdefs.h
<<_ACEOF
30133 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
30140 if test "$ac_cv_func_vsnprintf" = "yes"; then
30141 echo "$as_me:$LINENO: checking for vsnprintf declaration" >&5
30142 echo $ECHO_N "checking for vsnprintf declaration... $ECHO_C" >&6
30143 if test "${wx_cv_func_vsnprintf_decl+set}" = set; then
30144 echo $ECHO_N "(cached) $ECHO_C" >&6
30147 cat >conftest.
$ac_ext <<_ACEOF
30150 cat confdefs.h
>>conftest.
$ac_ext
30151 cat >>conftest.
$ac_ext <<_ACEOF
30152 /* end confdefs.h. */
30155 #include <stdarg.h>
30163 vsnprintf(buf, 10u, "%s", ap);
30169 rm -f conftest.
$ac_objext
30170 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30171 (eval $ac_compile) 2>conftest.er1
30173 grep -v '^ *+' conftest.er1
>conftest.err
30175 cat conftest.err
>&5
30176 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30177 (exit $ac_status); } &&
30178 { ac_try
='test -z "$ac_cxx_werror_flag"
30179 || test ! -s conftest.err'
30180 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30181 (eval $ac_try) 2>&5
30183 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30184 (exit $ac_status); }; } &&
30185 { ac_try
='test -s conftest.$ac_objext'
30186 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30187 (eval $ac_try) 2>&5
30189 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30190 (exit $ac_status); }; }; then
30191 wx_cv_func_vsnprintf_decl
=yes
30193 echo "$as_me: failed program was:" >&5
30194 sed 's/^/| /' conftest.
$ac_ext >&5
30196 wx_cv_func_vsnprintf_decl
=no
30199 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
30203 echo "$as_me:$LINENO: result: $wx_cv_func_vsnprintf_decl" >&5
30204 echo "${ECHO_T}$wx_cv_func_vsnprintf_decl" >&6
30206 if test "$wx_cv_func_vsnprintf_decl" = "yes"; then
30207 cat >>confdefs.h
<<\_ACEOF
30208 #define HAVE_VSNPRINTF_DECL 1
30214 if test "$wxUSE_UNICODE" = yes; then
30221 for ac_func
in wputc wputchar putws fputws wprintf vswprintf
30223 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
30224 echo "$as_me:$LINENO: checking for $ac_func" >&5
30225 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
30226 if eval "test \"\${$as_ac_var+set}\" = set"; then
30227 echo $ECHO_N "(cached) $ECHO_C" >&6
30229 cat >conftest.
$ac_ext <<_ACEOF
30232 cat confdefs.h
>>conftest.
$ac_ext
30233 cat >>conftest.
$ac_ext <<_ACEOF
30234 /* end confdefs.h. */
30235 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
30236 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30237 #define $ac_func innocuous_$ac_func
30239 /* System header to define __stub macros and hopefully few prototypes,
30240 which can conflict with char $ac_func (); below.
30241 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30242 <limits.h> exists even on freestanding compilers. */
30245 # include <limits.h>
30247 # include <assert.h>
30252 /* Override any gcc2 internal prototype to avoid an error. */
30257 /* We use char because int might match the return type of a gcc2
30258 builtin and then its argument prototype would still apply. */
30260 /* The GNU C library defines this for functions which it implements
30261 to always fail with ENOSYS. Some functions are actually named
30262 something starting with __ and the normal name is an alias. */
30263 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
30266 char (*f) () = $ac_func;
30275 return f != $ac_func;
30280 rm -f conftest.
$ac_objext conftest
$ac_exeext
30281 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30282 (eval $ac_link) 2>conftest.er1
30284 grep -v '^ *+' conftest.er1
>conftest.err
30286 cat conftest.err
>&5
30287 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30288 (exit $ac_status); } &&
30289 { ac_try
='test -z "$ac_cxx_werror_flag"
30290 || test ! -s conftest.err'
30291 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30292 (eval $ac_try) 2>&5
30294 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30295 (exit $ac_status); }; } &&
30296 { ac_try
='test -s conftest$ac_exeext'
30297 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30298 (eval $ac_try) 2>&5
30300 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30301 (exit $ac_status); }; }; then
30302 eval "$as_ac_var=yes"
30304 echo "$as_me: failed program was:" >&5
30305 sed 's/^/| /' conftest.
$ac_ext >&5
30307 eval "$as_ac_var=no"
30309 rm -f conftest.err conftest.
$ac_objext \
30310 conftest
$ac_exeext conftest.
$ac_ext
30312 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
30313 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
30314 if test `eval echo '${'$as_ac_var'}'` = yes; then
30315 cat >>confdefs.h
<<_ACEOF
30316 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
30323 echo "$as_me:$LINENO: checking for _vsnwprintf" >&5
30324 echo $ECHO_N "checking for _vsnwprintf... $ECHO_C" >&6
30325 cat >conftest.
$ac_ext <<_ACEOF
30328 cat confdefs.h
>>conftest.
$ac_ext
30329 cat >>conftest.
$ac_ext <<_ACEOF
30330 /* end confdefs.h. */
30340 rm -f conftest.
$ac_objext
30341 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30342 (eval $ac_compile) 2>conftest.er1
30344 grep -v '^ *+' conftest.er1
>conftest.err
30346 cat conftest.err
>&5
30347 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30348 (exit $ac_status); } &&
30349 { ac_try
='test -z "$ac_cxx_werror_flag"
30350 || test ! -s conftest.err'
30351 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30352 (eval $ac_try) 2>&5
30354 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30355 (exit $ac_status); }; } &&
30356 { ac_try
='test -s conftest.$ac_objext'
30357 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30358 (eval $ac_try) 2>&5
30360 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30361 (exit $ac_status); }; }; then
30362 echo "$as_me:$LINENO: result: yes" >&5
30363 echo "${ECHO_T}yes" >&6
30364 cat >>confdefs.h
<<\_ACEOF
30365 #define HAVE__VSNWPRINTF 1
30369 echo "$as_me: failed program was:" >&5
30370 sed 's/^/| /' conftest.
$ac_ext >&5
30372 echo "$as_me:$LINENO: result: no" >&5
30373 echo "${ECHO_T}no" >&6
30375 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext;
30379 ac_cpp
='$CPP $CPPFLAGS'
30380 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30381 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30382 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
30387 if test "$TOOLKIT" != "MSW"; then
30393 ac_cpp
='$CXXCPP $CPPFLAGS'
30394 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30395 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30396 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
30401 # Check whether --with-libiconv-prefix or --without-libiconv-prefix was given.
30402 if test "${with_libiconv_prefix+set}" = set; then
30403 withval
="$with_libiconv_prefix"
30405 for dir
in `echo "$withval" | tr : ' '`; do
30406 if test -d $dir/include
; then CPPFLAGS
="$CPPFLAGS -I$dir/include"; fi
30407 if test -d $dir/lib
; then LDFLAGS
="$LDFLAGS -L$dir/lib"; fi
30412 echo "$as_me:$LINENO: checking for iconv" >&5
30413 echo $ECHO_N "checking for iconv... $ECHO_C" >&6
30414 if test "${am_cv_func_iconv+set}" = set; then
30415 echo $ECHO_N "(cached) $ECHO_C" >&6
30418 am_cv_func_iconv
="no, consider installing GNU libiconv"
30420 cat >conftest.
$ac_ext <<_ACEOF
30423 cat confdefs.h
>>conftest.
$ac_ext
30424 cat >>conftest.
$ac_ext <<_ACEOF
30425 /* end confdefs.h. */
30426 #include <stdlib.h>
30431 iconv_t cd = iconv_open("","");
30432 iconv(cd,NULL,NULL,NULL,NULL);
30438 rm -f conftest.
$ac_objext conftest
$ac_exeext
30439 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30440 (eval $ac_link) 2>conftest.er1
30442 grep -v '^ *+' conftest.er1
>conftest.err
30444 cat conftest.err
>&5
30445 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30446 (exit $ac_status); } &&
30447 { ac_try
='test -z "$ac_cxx_werror_flag"
30448 || test ! -s conftest.err'
30449 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30450 (eval $ac_try) 2>&5
30452 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30453 (exit $ac_status); }; } &&
30454 { ac_try
='test -s conftest$ac_exeext'
30455 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30456 (eval $ac_try) 2>&5
30458 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30459 (exit $ac_status); }; }; then
30460 am_cv_func_iconv
=yes
30462 echo "$as_me: failed program was:" >&5
30463 sed 's/^/| /' conftest.
$ac_ext >&5
30466 rm -f conftest.err conftest.
$ac_objext \
30467 conftest
$ac_exeext conftest.
$ac_ext
30468 if test "$am_cv_func_iconv" != yes; then
30469 am_save_LIBS
="$LIBS"
30470 LIBS
="$LIBS -liconv"
30471 cat >conftest.
$ac_ext <<_ACEOF
30474 cat confdefs.h
>>conftest.
$ac_ext
30475 cat >>conftest.
$ac_ext <<_ACEOF
30476 /* end confdefs.h. */
30477 #include <stdlib.h>
30482 iconv_t cd = iconv_open("","");
30483 iconv(cd,NULL,NULL,NULL,NULL);
30489 rm -f conftest.
$ac_objext conftest
$ac_exeext
30490 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30491 (eval $ac_link) 2>conftest.er1
30493 grep -v '^ *+' conftest.er1
>conftest.err
30495 cat conftest.err
>&5
30496 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30497 (exit $ac_status); } &&
30498 { ac_try
='test -z "$ac_cxx_werror_flag"
30499 || test ! -s conftest.err'
30500 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30501 (eval $ac_try) 2>&5
30503 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30504 (exit $ac_status); }; } &&
30505 { ac_try
='test -s conftest$ac_exeext'
30506 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30507 (eval $ac_try) 2>&5
30509 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30510 (exit $ac_status); }; }; then
30511 am_cv_lib_iconv
=yes
30512 am_cv_func_iconv
=yes
30514 echo "$as_me: failed program was:" >&5
30515 sed 's/^/| /' conftest.
$ac_ext >&5
30518 rm -f conftest.err conftest.
$ac_objext \
30519 conftest
$ac_exeext conftest.
$ac_ext
30520 LIBS
="$am_save_LIBS"
30524 echo "$as_me:$LINENO: result: $am_cv_func_iconv" >&5
30525 echo "${ECHO_T}$am_cv_func_iconv" >&6
30526 if test "$am_cv_func_iconv" = yes; then
30528 cat >>confdefs.h
<<\_ACEOF
30529 #define HAVE_ICONV 1
30532 echo "$as_me:$LINENO: checking if iconv needs const" >&5
30533 echo $ECHO_N "checking if iconv needs const... $ECHO_C" >&6
30534 if test "${wx_cv_func_iconv_const+set}" = set; then
30535 echo $ECHO_N "(cached) $ECHO_C" >&6
30537 cat >conftest.
$ac_ext <<_ACEOF
30540 cat confdefs.h
>>conftest.
$ac_ext
30541 cat >>conftest.
$ac_ext <<_ACEOF
30542 /* end confdefs.h. */
30544 #include <stdlib.h>
30550 #if defined(__STDC__) || defined(__cplusplus)
30551 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
30564 rm -f conftest.
$ac_objext
30565 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30566 (eval $ac_compile) 2>conftest.er1
30568 grep -v '^ *+' conftest.er1
>conftest.err
30570 cat conftest.err
>&5
30571 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30572 (exit $ac_status); } &&
30573 { ac_try
='test -z "$ac_cxx_werror_flag"
30574 || test ! -s conftest.err'
30575 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30576 (eval $ac_try) 2>&5
30578 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30579 (exit $ac_status); }; } &&
30580 { ac_try
='test -s conftest.$ac_objext'
30581 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30582 (eval $ac_try) 2>&5
30584 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30585 (exit $ac_status); }; }; then
30586 wx_cv_func_iconv_const
="no"
30588 echo "$as_me: failed program was:" >&5
30589 sed 's/^/| /' conftest.
$ac_ext >&5
30591 wx_cv_func_iconv_const
="yes"
30594 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
30597 echo "$as_me:$LINENO: result: $wx_cv_func_iconv_const" >&5
30598 echo "${ECHO_T}$wx_cv_func_iconv_const" >&6
30601 if test "x$wx_cv_func_iconv_const" = "xyes"; then
30602 iconv_const
="const"
30606 cat >>confdefs.h
<<_ACEOF
30607 #define ICONV_CONST $iconv_const
30612 if test "$am_cv_lib_iconv" = yes; then
30617 LIBS
="$LIBICONV $LIBS"
30619 ac_cpp
='$CPP $CPPFLAGS'
30620 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30621 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30622 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
30625 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes" -a "$wxUSE_UNIX" = "yes"; then
30627 for ac_func
in sigaction
30629 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
30630 echo "$as_me:$LINENO: checking for $ac_func" >&5
30631 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
30632 if eval "test \"\${$as_ac_var+set}\" = set"; then
30633 echo $ECHO_N "(cached) $ECHO_C" >&6
30635 cat >conftest.
$ac_ext <<_ACEOF
30638 cat confdefs.h
>>conftest.
$ac_ext
30639 cat >>conftest.
$ac_ext <<_ACEOF
30640 /* end confdefs.h. */
30641 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
30642 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30643 #define $ac_func innocuous_$ac_func
30645 /* System header to define __stub macros and hopefully few prototypes,
30646 which can conflict with char $ac_func (); below.
30647 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30648 <limits.h> exists even on freestanding compilers. */
30651 # include <limits.h>
30653 # include <assert.h>
30658 /* Override any gcc2 internal prototype to avoid an error. */
30663 /* We use char because int might match the return type of a gcc2
30664 builtin and then its argument prototype would still apply. */
30666 /* The GNU C library defines this for functions which it implements
30667 to always fail with ENOSYS. Some functions are actually named
30668 something starting with __ and the normal name is an alias. */
30669 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
30672 char (*f) () = $ac_func;
30681 return f != $ac_func;
30686 rm -f conftest.
$ac_objext conftest
$ac_exeext
30687 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30688 (eval $ac_link) 2>conftest.er1
30690 grep -v '^ *+' conftest.er1
>conftest.err
30692 cat conftest.err
>&5
30693 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30694 (exit $ac_status); } &&
30695 { ac_try
='test -z "$ac_c_werror_flag"
30696 || test ! -s conftest.err'
30697 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30698 (eval $ac_try) 2>&5
30700 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30701 (exit $ac_status); }; } &&
30702 { ac_try
='test -s conftest$ac_exeext'
30703 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30704 (eval $ac_try) 2>&5
30706 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30707 (exit $ac_status); }; }; then
30708 eval "$as_ac_var=yes"
30710 echo "$as_me: failed program was:" >&5
30711 sed 's/^/| /' conftest.
$ac_ext >&5
30713 eval "$as_ac_var=no"
30715 rm -f conftest.err conftest.
$ac_objext \
30716 conftest
$ac_exeext conftest.
$ac_ext
30718 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
30719 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
30720 if test `eval echo '${'$as_ac_var'}'` = yes; then
30721 cat >>confdefs.h
<<_ACEOF
30722 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
30729 if test "$ac_cv_func_sigaction" = "no"; then
30730 { echo "$as_me:$LINENO: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&5
30731 echo "$as_me: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&2;}
30732 wxUSE_ON_FATAL_EXCEPTION
=no
30735 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
30739 ac_cpp
='$CXXCPP $CPPFLAGS'
30740 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30741 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30742 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
30745 echo "$as_me:$LINENO: checking for sa_handler type" >&5
30746 echo $ECHO_N "checking for sa_handler type... $ECHO_C" >&6
30747 if test "${wx_cv_type_sa_handler+set}" = set; then
30748 echo $ECHO_N "(cached) $ECHO_C" >&6
30751 cat >conftest.
$ac_ext <<_ACEOF
30754 cat confdefs.h
>>conftest.
$ac_ext
30755 cat >>conftest.
$ac_ext <<_ACEOF
30756 /* end confdefs.h. */
30757 #include <signal.h>
30762 extern void testSigHandler(int);
30764 struct sigaction sa;
30765 sa.sa_handler = testSigHandler;
30771 rm -f conftest.
$ac_objext
30772 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30773 (eval $ac_compile) 2>conftest.er1
30775 grep -v '^ *+' conftest.er1
>conftest.err
30777 cat conftest.err
>&5
30778 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30779 (exit $ac_status); } &&
30780 { ac_try
='test -z "$ac_cxx_werror_flag"
30781 || test ! -s conftest.err'
30782 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30783 (eval $ac_try) 2>&5
30785 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30786 (exit $ac_status); }; } &&
30787 { ac_try
='test -s conftest.$ac_objext'
30788 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30789 (eval $ac_try) 2>&5
30791 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30792 (exit $ac_status); }; }; then
30794 wx_cv_type_sa_handler
=int
30797 echo "$as_me: failed program was:" >&5
30798 sed 's/^/| /' conftest.
$ac_ext >&5
30801 wx_cv_type_sa_handler
=void
30804 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
30807 echo "$as_me:$LINENO: result: $wx_cv_type_sa_handler" >&5
30808 echo "${ECHO_T}$wx_cv_type_sa_handler" >&6
30811 ac_cpp
='$CPP $CPPFLAGS'
30812 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30813 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30814 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
30817 cat >>confdefs.h
<<_ACEOF
30818 #define wxTYPE_SA_HANDLER $wx_cv_type_sa_handler
30826 for ac_func
in mkstemp mktemp
30828 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
30829 echo "$as_me:$LINENO: checking for $ac_func" >&5
30830 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
30831 if eval "test \"\${$as_ac_var+set}\" = set"; then
30832 echo $ECHO_N "(cached) $ECHO_C" >&6
30834 cat >conftest.
$ac_ext <<_ACEOF
30837 cat confdefs.h
>>conftest.
$ac_ext
30838 cat >>conftest.
$ac_ext <<_ACEOF
30839 /* end confdefs.h. */
30840 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
30841 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30842 #define $ac_func innocuous_$ac_func
30844 /* System header to define __stub macros and hopefully few prototypes,
30845 which can conflict with char $ac_func (); below.
30846 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30847 <limits.h> exists even on freestanding compilers. */
30850 # include <limits.h>
30852 # include <assert.h>
30857 /* Override any gcc2 internal prototype to avoid an error. */
30862 /* We use char because int might match the return type of a gcc2
30863 builtin and then its argument prototype would still apply. */
30865 /* The GNU C library defines this for functions which it implements
30866 to always fail with ENOSYS. Some functions are actually named
30867 something starting with __ and the normal name is an alias. */
30868 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
30871 char (*f) () = $ac_func;
30880 return f != $ac_func;
30885 rm -f conftest.
$ac_objext conftest
$ac_exeext
30886 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30887 (eval $ac_link) 2>conftest.er1
30889 grep -v '^ *+' conftest.er1
>conftest.err
30891 cat conftest.err
>&5
30892 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30893 (exit $ac_status); } &&
30894 { ac_try
='test -z "$ac_c_werror_flag"
30895 || test ! -s conftest.err'
30896 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30897 (eval $ac_try) 2>&5
30899 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30900 (exit $ac_status); }; } &&
30901 { ac_try
='test -s conftest$ac_exeext'
30902 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30903 (eval $ac_try) 2>&5
30905 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30906 (exit $ac_status); }; }; then
30907 eval "$as_ac_var=yes"
30909 echo "$as_me: failed program was:" >&5
30910 sed 's/^/| /' conftest.
$ac_ext >&5
30912 eval "$as_ac_var=no"
30914 rm -f conftest.err conftest.
$ac_objext \
30915 conftest
$ac_exeext conftest.
$ac_ext
30917 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
30918 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
30919 if test `eval echo '${'$as_ac_var'}'` = yes; then
30920 cat >>confdefs.h
<<_ACEOF
30921 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
30928 echo "$as_me:$LINENO: checking for statfs" >&5
30929 echo $ECHO_N "checking for statfs... $ECHO_C" >&6
30930 if test "${wx_cv_func_statfs+set}" = set; then
30931 echo $ECHO_N "(cached) $ECHO_C" >&6
30933 cat >conftest.
$ac_ext <<_ACEOF
30936 cat confdefs.h
>>conftest.
$ac_ext
30937 cat >>conftest.
$ac_ext <<_ACEOF
30938 /* end confdefs.h. */
30940 #if defined(__BSD__)
30941 #include <sys/param.h>
30942 #include <sys/mount.h>
30944 #include <sys/vfs.h>
30962 rm -f conftest.
$ac_objext
30963 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30964 (eval $ac_compile) 2>conftest.er1
30966 grep -v '^ *+' conftest.er1
>conftest.err
30968 cat conftest.err
>&5
30969 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30970 (exit $ac_status); } &&
30971 { ac_try
='test -z "$ac_c_werror_flag"
30972 || test ! -s conftest.err'
30973 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30974 (eval $ac_try) 2>&5
30976 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30977 (exit $ac_status); }; } &&
30978 { ac_try
='test -s conftest.$ac_objext'
30979 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30980 (eval $ac_try) 2>&5
30982 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30983 (exit $ac_status); }; }; then
30985 wx_cv_func_statfs
=yes
30988 echo "$as_me: failed program was:" >&5
30989 sed 's/^/| /' conftest.
$ac_ext >&5
30992 wx_cv_func_statfs
=no
30996 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
30999 echo "$as_me:$LINENO: result: $wx_cv_func_statfs" >&5
31000 echo "${ECHO_T}$wx_cv_func_statfs" >&6
31002 if test "$wx_cv_func_statfs" = "yes"; then
31003 wx_cv_type_statvfs_t
="struct statfs"
31004 cat >>confdefs.h
<<\_ACEOF
31005 #define HAVE_STATFS 1
31009 echo "$as_me:$LINENO: checking for statvfs" >&5
31010 echo $ECHO_N "checking for statvfs... $ECHO_C" >&6
31011 if test "${wx_cv_func_statvfs+set}" = set; then
31012 echo $ECHO_N "(cached) $ECHO_C" >&6
31014 cat >conftest.
$ac_ext <<_ACEOF
31017 cat confdefs.h
>>conftest.
$ac_ext
31018 cat >>conftest.
$ac_ext <<_ACEOF
31019 /* end confdefs.h. */
31021 #include <stddef.h>
31022 #include <sys/statvfs.h>
31028 statvfs("/", NULL);
31034 rm -f conftest.
$ac_objext
31035 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31036 (eval $ac_compile) 2>conftest.er1
31038 grep -v '^ *+' conftest.er1
>conftest.err
31040 cat conftest.err
>&5
31041 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31042 (exit $ac_status); } &&
31043 { ac_try
='test -z "$ac_c_werror_flag"
31044 || test ! -s conftest.err'
31045 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31046 (eval $ac_try) 2>&5
31048 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31049 (exit $ac_status); }; } &&
31050 { ac_try
='test -s conftest.$ac_objext'
31051 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31052 (eval $ac_try) 2>&5
31054 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31055 (exit $ac_status); }; }; then
31056 wx_cv_func_statvfs
=yes
31058 echo "$as_me: failed program was:" >&5
31059 sed 's/^/| /' conftest.
$ac_ext >&5
31061 wx_cv_func_statvfs
=no
31064 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
31067 echo "$as_me:$LINENO: result: $wx_cv_func_statvfs" >&5
31068 echo "${ECHO_T}$wx_cv_func_statvfs" >&6
31070 if test "$wx_cv_func_statvfs" = "yes"; then
31074 ac_cpp
='$CXXCPP $CPPFLAGS'
31075 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31076 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31077 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
31080 echo "$as_me:$LINENO: checking for statvfs argument type" >&5
31081 echo $ECHO_N "checking for statvfs argument type... $ECHO_C" >&6
31082 if test "${wx_cv_type_statvfs_t+set}" = set; then
31083 echo $ECHO_N "(cached) $ECHO_C" >&6
31085 cat >conftest.
$ac_ext <<_ACEOF
31088 cat confdefs.h
>>conftest.
$ac_ext
31089 cat >>conftest.
$ac_ext <<_ACEOF
31090 /* end confdefs.h. */
31092 #include <sys/statvfs.h>
31109 rm -f conftest.
$ac_objext
31110 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31111 (eval $ac_compile) 2>conftest.er1
31113 grep -v '^ *+' conftest.er1
>conftest.err
31115 cat conftest.err
>&5
31116 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31117 (exit $ac_status); } &&
31118 { ac_try
='test -z "$ac_cxx_werror_flag"
31119 || test ! -s conftest.err'
31120 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31121 (eval $ac_try) 2>&5
31123 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31124 (exit $ac_status); }; } &&
31125 { ac_try
='test -s conftest.$ac_objext'
31126 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31127 (eval $ac_try) 2>&5
31129 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31130 (exit $ac_status); }; }; then
31131 wx_cv_type_statvfs_t
=statvfs_t
31133 echo "$as_me: failed program was:" >&5
31134 sed 's/^/| /' conftest.
$ac_ext >&5
31137 cat >conftest.
$ac_ext <<_ACEOF
31140 cat confdefs.h
>>conftest.
$ac_ext
31141 cat >>conftest.
$ac_ext <<_ACEOF
31142 /* end confdefs.h. */
31144 #include <sys/statvfs.h>
31161 rm -f conftest.
$ac_objext
31162 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31163 (eval $ac_compile) 2>conftest.er1
31165 grep -v '^ *+' conftest.er1
>conftest.err
31167 cat conftest.err
>&5
31168 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31169 (exit $ac_status); } &&
31170 { ac_try
='test -z "$ac_cxx_werror_flag"
31171 || test ! -s conftest.err'
31172 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31173 (eval $ac_try) 2>&5
31175 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31176 (exit $ac_status); }; } &&
31177 { ac_try
='test -s conftest.$ac_objext'
31178 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31179 (eval $ac_try) 2>&5
31181 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31182 (exit $ac_status); }; }; then
31183 wx_cv_type_statvfs_t
="struct statvfs"
31185 echo "$as_me: failed program was:" >&5
31186 sed 's/^/| /' conftest.
$ac_ext >&5
31188 wx_cv_type_statvfs_t
="unknown"
31191 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
31195 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
31198 echo "$as_me:$LINENO: result: $wx_cv_type_statvfs_t" >&5
31199 echo "${ECHO_T}$wx_cv_type_statvfs_t" >&6
31202 ac_cpp
='$CPP $CPPFLAGS'
31203 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31204 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31205 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
31208 if test "$wx_cv_type_statvfs_t" != "unknown"; then
31209 cat >>confdefs.h
<<\_ACEOF
31210 #define HAVE_STATVFS 1
31215 wx_cv_type_statvfs_t
="unknown"
31219 if test "$wx_cv_type_statvfs_t" != "unknown"; then
31220 cat >>confdefs.h
<<_ACEOF
31221 #define WX_STATFS_T $wx_cv_type_statvfs_t
31225 { echo "$as_me:$LINENO: WARNING: wxGetDiskSpace() function won't work without statfs()" >&5
31226 echo "$as_me: WARNING: wxGetDiskSpace() function won't work without statfs()" >&2;}
31229 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
31232 for ac_func
in fcntl flock
31234 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31235 echo "$as_me:$LINENO: checking for $ac_func" >&5
31236 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
31237 if eval "test \"\${$as_ac_var+set}\" = set"; then
31238 echo $ECHO_N "(cached) $ECHO_C" >&6
31240 cat >conftest.
$ac_ext <<_ACEOF
31243 cat confdefs.h
>>conftest.
$ac_ext
31244 cat >>conftest.
$ac_ext <<_ACEOF
31245 /* end confdefs.h. */
31246 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
31247 For example, HP-UX 11i <limits.h> declares gettimeofday. */
31248 #define $ac_func innocuous_$ac_func
31250 /* System header to define __stub macros and hopefully few prototypes,
31251 which can conflict with char $ac_func (); below.
31252 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31253 <limits.h> exists even on freestanding compilers. */
31256 # include <limits.h>
31258 # include <assert.h>
31263 /* Override any gcc2 internal prototype to avoid an error. */
31268 /* We use char because int might match the return type of a gcc2
31269 builtin and then its argument prototype would still apply. */
31271 /* The GNU C library defines this for functions which it implements
31272 to always fail with ENOSYS. Some functions are actually named
31273 something starting with __ and the normal name is an alias. */
31274 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
31277 char (*f) () = $ac_func;
31286 return f != $ac_func;
31291 rm -f conftest.
$ac_objext conftest
$ac_exeext
31292 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31293 (eval $ac_link) 2>conftest.er1
31295 grep -v '^ *+' conftest.er1
>conftest.err
31297 cat conftest.err
>&5
31298 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31299 (exit $ac_status); } &&
31300 { ac_try
='test -z "$ac_c_werror_flag"
31301 || test ! -s conftest.err'
31302 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31303 (eval $ac_try) 2>&5
31305 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31306 (exit $ac_status); }; } &&
31307 { ac_try
='test -s conftest$ac_exeext'
31308 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31309 (eval $ac_try) 2>&5
31311 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31312 (exit $ac_status); }; }; then
31313 eval "$as_ac_var=yes"
31315 echo "$as_me: failed program was:" >&5
31316 sed 's/^/| /' conftest.
$ac_ext >&5
31318 eval "$as_ac_var=no"
31320 rm -f conftest.err conftest.
$ac_objext \
31321 conftest
$ac_exeext conftest.
$ac_ext
31323 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
31324 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
31325 if test `eval echo '${'$as_ac_var'}'` = yes; then
31326 cat >>confdefs.h
<<_ACEOF
31327 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31334 if test "$ac_cv_func_fcntl" != "yes" -a "$ac_cv_func_flock" != "yes"; then
31335 { echo "$as_me:$LINENO: WARNING: wxSingleInstanceChecker not available" >&5
31336 echo "$as_me: WARNING: wxSingleInstanceChecker not available" >&2;}
31337 wxUSE_SNGLINST_CHECKER
=no
31342 for ac_func
in timegm
31344 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31345 echo "$as_me:$LINENO: checking for $ac_func" >&5
31346 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
31347 if eval "test \"\${$as_ac_var+set}\" = set"; then
31348 echo $ECHO_N "(cached) $ECHO_C" >&6
31350 cat >conftest.
$ac_ext <<_ACEOF
31353 cat confdefs.h
>>conftest.
$ac_ext
31354 cat >>conftest.
$ac_ext <<_ACEOF
31355 /* end confdefs.h. */
31356 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
31357 For example, HP-UX 11i <limits.h> declares gettimeofday. */
31358 #define $ac_func innocuous_$ac_func
31360 /* System header to define __stub macros and hopefully few prototypes,
31361 which can conflict with char $ac_func (); below.
31362 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31363 <limits.h> exists even on freestanding compilers. */
31366 # include <limits.h>
31368 # include <assert.h>
31373 /* Override any gcc2 internal prototype to avoid an error. */
31378 /* We use char because int might match the return type of a gcc2
31379 builtin and then its argument prototype would still apply. */
31381 /* The GNU C library defines this for functions which it implements
31382 to always fail with ENOSYS. Some functions are actually named
31383 something starting with __ and the normal name is an alias. */
31384 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
31387 char (*f) () = $ac_func;
31396 return f != $ac_func;
31401 rm -f conftest.
$ac_objext conftest
$ac_exeext
31402 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31403 (eval $ac_link) 2>conftest.er1
31405 grep -v '^ *+' conftest.er1
>conftest.err
31407 cat conftest.err
>&5
31408 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31409 (exit $ac_status); } &&
31410 { ac_try
='test -z "$ac_c_werror_flag"
31411 || test ! -s conftest.err'
31412 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31413 (eval $ac_try) 2>&5
31415 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31416 (exit $ac_status); }; } &&
31417 { ac_try
='test -s conftest$ac_exeext'
31418 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31419 (eval $ac_try) 2>&5
31421 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31422 (exit $ac_status); }; }; then
31423 eval "$as_ac_var=yes"
31425 echo "$as_me: failed program was:" >&5
31426 sed 's/^/| /' conftest.
$ac_ext >&5
31428 eval "$as_ac_var=no"
31430 rm -f conftest.err conftest.
$ac_objext \
31431 conftest
$ac_exeext conftest.
$ac_ext
31433 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
31434 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
31435 if test `eval echo '${'$as_ac_var'}'` = yes; then
31436 cat >>confdefs.h
<<_ACEOF
31437 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31446 for ac_func
in putenv setenv
31448 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31449 echo "$as_me:$LINENO: checking for $ac_func" >&5
31450 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
31451 if eval "test \"\${$as_ac_var+set}\" = set"; then
31452 echo $ECHO_N "(cached) $ECHO_C" >&6
31454 cat >conftest.
$ac_ext <<_ACEOF
31457 cat confdefs.h
>>conftest.
$ac_ext
31458 cat >>conftest.
$ac_ext <<_ACEOF
31459 /* end confdefs.h. */
31460 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
31461 For example, HP-UX 11i <limits.h> declares gettimeofday. */
31462 #define $ac_func innocuous_$ac_func
31464 /* System header to define __stub macros and hopefully few prototypes,
31465 which can conflict with char $ac_func (); below.
31466 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31467 <limits.h> exists even on freestanding compilers. */
31470 # include <limits.h>
31472 # include <assert.h>
31477 /* Override any gcc2 internal prototype to avoid an error. */
31482 /* We use char because int might match the return type of a gcc2
31483 builtin and then its argument prototype would still apply. */
31485 /* The GNU C library defines this for functions which it implements
31486 to always fail with ENOSYS. Some functions are actually named
31487 something starting with __ and the normal name is an alias. */
31488 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
31491 char (*f) () = $ac_func;
31500 return f != $ac_func;
31505 rm -f conftest.
$ac_objext conftest
$ac_exeext
31506 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31507 (eval $ac_link) 2>conftest.er1
31509 grep -v '^ *+' conftest.er1
>conftest.err
31511 cat conftest.err
>&5
31512 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31513 (exit $ac_status); } &&
31514 { ac_try
='test -z "$ac_c_werror_flag"
31515 || test ! -s conftest.err'
31516 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31517 (eval $ac_try) 2>&5
31519 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31520 (exit $ac_status); }; } &&
31521 { ac_try
='test -s conftest$ac_exeext'
31522 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31523 (eval $ac_try) 2>&5
31525 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31526 (exit $ac_status); }; }; then
31527 eval "$as_ac_var=yes"
31529 echo "$as_me: failed program was:" >&5
31530 sed 's/^/| /' conftest.
$ac_ext >&5
31532 eval "$as_ac_var=no"
31534 rm -f conftest.err conftest.
$ac_objext \
31535 conftest
$ac_exeext conftest.
$ac_ext
31537 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
31538 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
31539 if test `eval echo '${'$as_ac_var'}'` = yes; then
31540 cat >>confdefs.h
<<_ACEOF
31541 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31548 HAVE_SOME_SLEEP_FUNC
=0
31549 if test "$USE_BEOS" = 1; then
31550 cat >>confdefs.h
<<\_ACEOF
31551 #define HAVE_SLEEP 1
31554 HAVE_SOME_SLEEP_FUNC
=1
31557 if test "$USE_DARWIN" = 1; then
31558 cat >>confdefs.h
<<\_ACEOF
31559 #define HAVE_USLEEP 1
31562 HAVE_SOME_SLEEP_FUNC
=1
31565 if test "$HAVE_SOME_SLEEP_FUNC" != 1; then
31568 for ac_func
in nanosleep
31570 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31571 echo "$as_me:$LINENO: checking for $ac_func" >&5
31572 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
31573 if eval "test \"\${$as_ac_var+set}\" = set"; then
31574 echo $ECHO_N "(cached) $ECHO_C" >&6
31576 cat >conftest.
$ac_ext <<_ACEOF
31579 cat confdefs.h
>>conftest.
$ac_ext
31580 cat >>conftest.
$ac_ext <<_ACEOF
31581 /* end confdefs.h. */
31582 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
31583 For example, HP-UX 11i <limits.h> declares gettimeofday. */
31584 #define $ac_func innocuous_$ac_func
31586 /* System header to define __stub macros and hopefully few prototypes,
31587 which can conflict with char $ac_func (); below.
31588 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31589 <limits.h> exists even on freestanding compilers. */
31592 # include <limits.h>
31594 # include <assert.h>
31599 /* Override any gcc2 internal prototype to avoid an error. */
31604 /* We use char because int might match the return type of a gcc2
31605 builtin and then its argument prototype would still apply. */
31607 /* The GNU C library defines this for functions which it implements
31608 to always fail with ENOSYS. Some functions are actually named
31609 something starting with __ and the normal name is an alias. */
31610 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
31613 char (*f) () = $ac_func;
31622 return f != $ac_func;
31627 rm -f conftest.
$ac_objext conftest
$ac_exeext
31628 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31629 (eval $ac_link) 2>conftest.er1
31631 grep -v '^ *+' conftest.er1
>conftest.err
31633 cat conftest.err
>&5
31634 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31635 (exit $ac_status); } &&
31636 { ac_try
='test -z "$ac_c_werror_flag"
31637 || test ! -s conftest.err'
31638 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31639 (eval $ac_try) 2>&5
31641 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31642 (exit $ac_status); }; } &&
31643 { ac_try
='test -s conftest$ac_exeext'
31644 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31645 (eval $ac_try) 2>&5
31647 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31648 (exit $ac_status); }; }; then
31649 eval "$as_ac_var=yes"
31651 echo "$as_me: failed program was:" >&5
31652 sed 's/^/| /' conftest.
$ac_ext >&5
31654 eval "$as_ac_var=no"
31656 rm -f conftest.err conftest.
$ac_objext \
31657 conftest
$ac_exeext conftest.
$ac_ext
31659 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
31660 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
31661 if test `eval echo '${'$as_ac_var'}'` = yes; then
31662 cat >>confdefs.h
<<_ACEOF
31663 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31665 cat >>confdefs.h
<<\_ACEOF
31666 #define HAVE_NANOSLEEP 1
31671 echo "$as_me:$LINENO: checking for nanosleep in -lposix4" >&5
31672 echo $ECHO_N "checking for nanosleep in -lposix4... $ECHO_C" >&6
31673 if test "${ac_cv_lib_posix4_nanosleep+set}" = set; then
31674 echo $ECHO_N "(cached) $ECHO_C" >&6
31676 ac_check_lib_save_LIBS
=$LIBS
31677 LIBS
="-lposix4 $LIBS"
31678 cat >conftest.
$ac_ext <<_ACEOF
31681 cat confdefs.h
>>conftest.
$ac_ext
31682 cat >>conftest.
$ac_ext <<_ACEOF
31683 /* end confdefs.h. */
31685 /* Override any gcc2 internal prototype to avoid an error. */
31689 /* We use char because int might match the return type of a gcc2
31690 builtin and then its argument prototype would still apply. */
31700 rm -f conftest.
$ac_objext conftest
$ac_exeext
31701 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31702 (eval $ac_link) 2>conftest.er1
31704 grep -v '^ *+' conftest.er1
>conftest.err
31706 cat conftest.err
>&5
31707 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31708 (exit $ac_status); } &&
31709 { ac_try
='test -z "$ac_c_werror_flag"
31710 || test ! -s conftest.err'
31711 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31712 (eval $ac_try) 2>&5
31714 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31715 (exit $ac_status); }; } &&
31716 { ac_try
='test -s conftest$ac_exeext'
31717 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31718 (eval $ac_try) 2>&5
31720 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31721 (exit $ac_status); }; }; then
31722 ac_cv_lib_posix4_nanosleep
=yes
31724 echo "$as_me: failed program was:" >&5
31725 sed 's/^/| /' conftest.
$ac_ext >&5
31727 ac_cv_lib_posix4_nanosleep
=no
31729 rm -f conftest.err conftest.
$ac_objext \
31730 conftest
$ac_exeext conftest.
$ac_ext
31731 LIBS
=$ac_check_lib_save_LIBS
31733 echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_nanosleep" >&5
31734 echo "${ECHO_T}$ac_cv_lib_posix4_nanosleep" >&6
31735 if test $ac_cv_lib_posix4_nanosleep = yes; then
31737 cat >>confdefs.h
<<\_ACEOF
31738 #define HAVE_NANOSLEEP 1
31741 POSIX4_LINK
=" -lposix4"
31746 for ac_func
in usleep
31748 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31749 echo "$as_me:$LINENO: checking for $ac_func" >&5
31750 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
31751 if eval "test \"\${$as_ac_var+set}\" = set"; then
31752 echo $ECHO_N "(cached) $ECHO_C" >&6
31754 cat >conftest.
$ac_ext <<_ACEOF
31757 cat confdefs.h
>>conftest.
$ac_ext
31758 cat >>conftest.
$ac_ext <<_ACEOF
31759 /* end confdefs.h. */
31760 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
31761 For example, HP-UX 11i <limits.h> declares gettimeofday. */
31762 #define $ac_func innocuous_$ac_func
31764 /* System header to define __stub macros and hopefully few prototypes,
31765 which can conflict with char $ac_func (); below.
31766 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31767 <limits.h> exists even on freestanding compilers. */
31770 # include <limits.h>
31772 # include <assert.h>
31777 /* Override any gcc2 internal prototype to avoid an error. */
31782 /* We use char because int might match the return type of a gcc2
31783 builtin and then its argument prototype would still apply. */
31785 /* The GNU C library defines this for functions which it implements
31786 to always fail with ENOSYS. Some functions are actually named
31787 something starting with __ and the normal name is an alias. */
31788 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
31791 char (*f) () = $ac_func;
31800 return f != $ac_func;
31805 rm -f conftest.
$ac_objext conftest
$ac_exeext
31806 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31807 (eval $ac_link) 2>conftest.er1
31809 grep -v '^ *+' conftest.er1
>conftest.err
31811 cat conftest.err
>&5
31812 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31813 (exit $ac_status); } &&
31814 { ac_try
='test -z "$ac_c_werror_flag"
31815 || test ! -s conftest.err'
31816 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31817 (eval $ac_try) 2>&5
31819 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31820 (exit $ac_status); }; } &&
31821 { ac_try
='test -s conftest$ac_exeext'
31822 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31823 (eval $ac_try) 2>&5
31825 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31826 (exit $ac_status); }; }; then
31827 eval "$as_ac_var=yes"
31829 echo "$as_me: failed program was:" >&5
31830 sed 's/^/| /' conftest.
$ac_ext >&5
31832 eval "$as_ac_var=no"
31834 rm -f conftest.err conftest.
$ac_objext \
31835 conftest
$ac_exeext conftest.
$ac_ext
31837 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
31838 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
31839 if test `eval echo '${'$as_ac_var'}'` = yes; then
31840 cat >>confdefs.h
<<_ACEOF
31841 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31843 cat >>confdefs.h
<<\_ACEOF
31844 #define HAVE_USLEEP 1
31848 { echo "$as_me:$LINENO: WARNING: wxSleep() function will not work" >&5
31849 echo "$as_me: WARNING: wxSleep() function will not work" >&2;}
31867 for ac_func
in uname gethostname
31869 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31870 echo "$as_me:$LINENO: checking for $ac_func" >&5
31871 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
31872 if eval "test \"\${$as_ac_var+set}\" = set"; then
31873 echo $ECHO_N "(cached) $ECHO_C" >&6
31875 cat >conftest.
$ac_ext <<_ACEOF
31878 cat confdefs.h
>>conftest.
$ac_ext
31879 cat >>conftest.
$ac_ext <<_ACEOF
31880 /* end confdefs.h. */
31881 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
31882 For example, HP-UX 11i <limits.h> declares gettimeofday. */
31883 #define $ac_func innocuous_$ac_func
31885 /* System header to define __stub macros and hopefully few prototypes,
31886 which can conflict with char $ac_func (); below.
31887 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31888 <limits.h> exists even on freestanding compilers. */
31891 # include <limits.h>
31893 # include <assert.h>
31898 /* Override any gcc2 internal prototype to avoid an error. */
31903 /* We use char because int might match the return type of a gcc2
31904 builtin and then its argument prototype would still apply. */
31906 /* The GNU C library defines this for functions which it implements
31907 to always fail with ENOSYS. Some functions are actually named
31908 something starting with __ and the normal name is an alias. */
31909 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
31912 char (*f) () = $ac_func;
31921 return f != $ac_func;
31926 rm -f conftest.
$ac_objext conftest
$ac_exeext
31927 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31928 (eval $ac_link) 2>conftest.er1
31930 grep -v '^ *+' conftest.er1
>conftest.err
31932 cat conftest.err
>&5
31933 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31934 (exit $ac_status); } &&
31935 { ac_try
='test -z "$ac_c_werror_flag"
31936 || test ! -s conftest.err'
31937 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31938 (eval $ac_try) 2>&5
31940 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31941 (exit $ac_status); }; } &&
31942 { ac_try
='test -s conftest$ac_exeext'
31943 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31944 (eval $ac_try) 2>&5
31946 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31947 (exit $ac_status); }; }; then
31948 eval "$as_ac_var=yes"
31950 echo "$as_me: failed program was:" >&5
31951 sed 's/^/| /' conftest.
$ac_ext >&5
31953 eval "$as_ac_var=no"
31955 rm -f conftest.err conftest.
$ac_objext \
31956 conftest
$ac_exeext conftest.
$ac_ext
31958 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
31959 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
31960 if test `eval echo '${'$as_ac_var'}'` = yes; then
31961 cat >>confdefs.h
<<_ACEOF
31962 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31972 ac_cpp
='$CXXCPP $CPPFLAGS'
31973 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31974 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31975 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
31979 for ac_func
in strtok_r
31981 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31982 echo "$as_me:$LINENO: checking for $ac_func" >&5
31983 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
31984 if eval "test \"\${$as_ac_var+set}\" = set"; then
31985 echo $ECHO_N "(cached) $ECHO_C" >&6
31987 cat >conftest.
$ac_ext <<_ACEOF
31990 cat confdefs.h
>>conftest.
$ac_ext
31991 cat >>conftest.
$ac_ext <<_ACEOF
31992 /* end confdefs.h. */
31993 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
31994 For example, HP-UX 11i <limits.h> declares gettimeofday. */
31995 #define $ac_func innocuous_$ac_func
31997 /* System header to define __stub macros and hopefully few prototypes,
31998 which can conflict with char $ac_func (); below.
31999 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32000 <limits.h> exists even on freestanding compilers. */
32003 # include <limits.h>
32005 # include <assert.h>
32010 /* Override any gcc2 internal prototype to avoid an error. */
32015 /* We use char because int might match the return type of a gcc2
32016 builtin and then its argument prototype would still apply. */
32018 /* The GNU C library defines this for functions which it implements
32019 to always fail with ENOSYS. Some functions are actually named
32020 something starting with __ and the normal name is an alias. */
32021 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
32024 char (*f) () = $ac_func;
32033 return f != $ac_func;
32038 rm -f conftest.
$ac_objext conftest
$ac_exeext
32039 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32040 (eval $ac_link) 2>conftest.er1
32042 grep -v '^ *+' conftest.er1
>conftest.err
32044 cat conftest.err
>&5
32045 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32046 (exit $ac_status); } &&
32047 { ac_try
='test -z "$ac_cxx_werror_flag"
32048 || test ! -s conftest.err'
32049 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32050 (eval $ac_try) 2>&5
32052 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32053 (exit $ac_status); }; } &&
32054 { ac_try
='test -s conftest$ac_exeext'
32055 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32056 (eval $ac_try) 2>&5
32058 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32059 (exit $ac_status); }; }; then
32060 eval "$as_ac_var=yes"
32062 echo "$as_me: failed program was:" >&5
32063 sed 's/^/| /' conftest.
$ac_ext >&5
32065 eval "$as_ac_var=no"
32067 rm -f conftest.err conftest.
$ac_objext \
32068 conftest
$ac_exeext conftest.
$ac_ext
32070 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
32071 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
32072 if test `eval echo '${'$as_ac_var'}'` = yes; then
32073 cat >>confdefs.h
<<_ACEOF
32074 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
32082 ac_cpp
='$CPP $CPPFLAGS'
32083 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32084 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32085 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
32090 for ac_func
in inet_addr
32092 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
32093 echo "$as_me:$LINENO: checking for $ac_func" >&5
32094 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
32095 if eval "test \"\${$as_ac_var+set}\" = set"; then
32096 echo $ECHO_N "(cached) $ECHO_C" >&6
32098 cat >conftest.
$ac_ext <<_ACEOF
32101 cat confdefs.h
>>conftest.
$ac_ext
32102 cat >>conftest.
$ac_ext <<_ACEOF
32103 /* end confdefs.h. */
32104 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
32105 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32106 #define $ac_func innocuous_$ac_func
32108 /* System header to define __stub macros and hopefully few prototypes,
32109 which can conflict with char $ac_func (); below.
32110 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32111 <limits.h> exists even on freestanding compilers. */
32114 # include <limits.h>
32116 # include <assert.h>
32121 /* Override any gcc2 internal prototype to avoid an error. */
32126 /* We use char because int might match the return type of a gcc2
32127 builtin and then its argument prototype would still apply. */
32129 /* The GNU C library defines this for functions which it implements
32130 to always fail with ENOSYS. Some functions are actually named
32131 something starting with __ and the normal name is an alias. */
32132 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
32135 char (*f) () = $ac_func;
32144 return f != $ac_func;
32149 rm -f conftest.
$ac_objext conftest
$ac_exeext
32150 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32151 (eval $ac_link) 2>conftest.er1
32153 grep -v '^ *+' conftest.er1
>conftest.err
32155 cat conftest.err
>&5
32156 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32157 (exit $ac_status); } &&
32158 { ac_try
='test -z "$ac_c_werror_flag"
32159 || test ! -s conftest.err'
32160 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32161 (eval $ac_try) 2>&5
32163 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32164 (exit $ac_status); }; } &&
32165 { ac_try
='test -s conftest$ac_exeext'
32166 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32167 (eval $ac_try) 2>&5
32169 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32170 (exit $ac_status); }; }; then
32171 eval "$as_ac_var=yes"
32173 echo "$as_me: failed program was:" >&5
32174 sed 's/^/| /' conftest.
$ac_ext >&5
32176 eval "$as_ac_var=no"
32178 rm -f conftest.err conftest.
$ac_objext \
32179 conftest
$ac_exeext conftest.
$ac_ext
32181 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
32182 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
32183 if test `eval echo '${'$as_ac_var'}'` = yes; then
32184 cat >>confdefs.h
<<_ACEOF
32185 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
32187 cat >>confdefs.h
<<\_ACEOF
32188 #define HAVE_INET_ADDR 1
32193 echo "$as_me:$LINENO: checking for inet_addr in -lnsl" >&5
32194 echo $ECHO_N "checking for inet_addr in -lnsl... $ECHO_C" >&6
32195 if test "${ac_cv_lib_nsl_inet_addr+set}" = set; then
32196 echo $ECHO_N "(cached) $ECHO_C" >&6
32198 ac_check_lib_save_LIBS
=$LIBS
32200 cat >conftest.
$ac_ext <<_ACEOF
32203 cat confdefs.h
>>conftest.
$ac_ext
32204 cat >>conftest.
$ac_ext <<_ACEOF
32205 /* end confdefs.h. */
32207 /* Override any gcc2 internal prototype to avoid an error. */
32211 /* We use char because int might match the return type of a gcc2
32212 builtin and then its argument prototype would still apply. */
32222 rm -f conftest.
$ac_objext conftest
$ac_exeext
32223 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32224 (eval $ac_link) 2>conftest.er1
32226 grep -v '^ *+' conftest.er1
>conftest.err
32228 cat conftest.err
>&5
32229 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32230 (exit $ac_status); } &&
32231 { ac_try
='test -z "$ac_c_werror_flag"
32232 || test ! -s conftest.err'
32233 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32234 (eval $ac_try) 2>&5
32236 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32237 (exit $ac_status); }; } &&
32238 { ac_try
='test -s conftest$ac_exeext'
32239 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32240 (eval $ac_try) 2>&5
32242 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32243 (exit $ac_status); }; }; then
32244 ac_cv_lib_nsl_inet_addr
=yes
32246 echo "$as_me: failed program was:" >&5
32247 sed 's/^/| /' conftest.
$ac_ext >&5
32249 ac_cv_lib_nsl_inet_addr
=no
32251 rm -f conftest.err conftest.
$ac_objext \
32252 conftest
$ac_exeext conftest.
$ac_ext
32253 LIBS
=$ac_check_lib_save_LIBS
32255 echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_inet_addr" >&5
32256 echo "${ECHO_T}$ac_cv_lib_nsl_inet_addr" >&6
32257 if test $ac_cv_lib_nsl_inet_addr = yes; then
32261 echo "$as_me:$LINENO: checking for inet_addr in -lresolv" >&5
32262 echo $ECHO_N "checking for inet_addr in -lresolv... $ECHO_C" >&6
32263 if test "${ac_cv_lib_resolv_inet_addr+set}" = set; then
32264 echo $ECHO_N "(cached) $ECHO_C" >&6
32266 ac_check_lib_save_LIBS
=$LIBS
32267 LIBS
="-lresolv $LIBS"
32268 cat >conftest.
$ac_ext <<_ACEOF
32271 cat confdefs.h
>>conftest.
$ac_ext
32272 cat >>conftest.
$ac_ext <<_ACEOF
32273 /* end confdefs.h. */
32275 /* Override any gcc2 internal prototype to avoid an error. */
32279 /* We use char because int might match the return type of a gcc2
32280 builtin and then its argument prototype would still apply. */
32290 rm -f conftest.
$ac_objext conftest
$ac_exeext
32291 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32292 (eval $ac_link) 2>conftest.er1
32294 grep -v '^ *+' conftest.er1
>conftest.err
32296 cat conftest.err
>&5
32297 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32298 (exit $ac_status); } &&
32299 { ac_try
='test -z "$ac_c_werror_flag"
32300 || test ! -s conftest.err'
32301 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32302 (eval $ac_try) 2>&5
32304 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32305 (exit $ac_status); }; } &&
32306 { ac_try
='test -s conftest$ac_exeext'
32307 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32308 (eval $ac_try) 2>&5
32310 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32311 (exit $ac_status); }; }; then
32312 ac_cv_lib_resolv_inet_addr
=yes
32314 echo "$as_me: failed program was:" >&5
32315 sed 's/^/| /' conftest.
$ac_ext >&5
32317 ac_cv_lib_resolv_inet_addr
=no
32319 rm -f conftest.err conftest.
$ac_objext \
32320 conftest
$ac_exeext conftest.
$ac_ext
32321 LIBS
=$ac_check_lib_save_LIBS
32323 echo "$as_me:$LINENO: result: $ac_cv_lib_resolv_inet_addr" >&5
32324 echo "${ECHO_T}$ac_cv_lib_resolv_inet_addr" >&6
32325 if test $ac_cv_lib_resolv_inet_addr = yes; then
32329 echo "$as_me:$LINENO: checking for inet_addr in -lsocket" >&5
32330 echo $ECHO_N "checking for inet_addr in -lsocket... $ECHO_C" >&6
32331 if test "${ac_cv_lib_socket_inet_addr+set}" = set; then
32332 echo $ECHO_N "(cached) $ECHO_C" >&6
32334 ac_check_lib_save_LIBS
=$LIBS
32335 LIBS
="-lsocket $LIBS"
32336 cat >conftest.
$ac_ext <<_ACEOF
32339 cat confdefs.h
>>conftest.
$ac_ext
32340 cat >>conftest.
$ac_ext <<_ACEOF
32341 /* end confdefs.h. */
32343 /* Override any gcc2 internal prototype to avoid an error. */
32347 /* We use char because int might match the return type of a gcc2
32348 builtin and then its argument prototype would still apply. */
32358 rm -f conftest.
$ac_objext conftest
$ac_exeext
32359 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32360 (eval $ac_link) 2>conftest.er1
32362 grep -v '^ *+' conftest.er1
>conftest.err
32364 cat conftest.err
>&5
32365 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32366 (exit $ac_status); } &&
32367 { ac_try
='test -z "$ac_c_werror_flag"
32368 || test ! -s conftest.err'
32369 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32370 (eval $ac_try) 2>&5
32372 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32373 (exit $ac_status); }; } &&
32374 { ac_try
='test -s conftest$ac_exeext'
32375 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32376 (eval $ac_try) 2>&5
32378 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32379 (exit $ac_status); }; }; then
32380 ac_cv_lib_socket_inet_addr
=yes
32382 echo "$as_me: failed program was:" >&5
32383 sed 's/^/| /' conftest.
$ac_ext >&5
32385 ac_cv_lib_socket_inet_addr
=no
32387 rm -f conftest.err conftest.
$ac_objext \
32388 conftest
$ac_exeext conftest.
$ac_ext
32389 LIBS
=$ac_check_lib_save_LIBS
32391 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_inet_addr" >&5
32392 echo "${ECHO_T}$ac_cv_lib_socket_inet_addr" >&6
32393 if test $ac_cv_lib_socket_inet_addr = yes; then
32413 for ac_func
in inet_aton
32415 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
32416 echo "$as_me:$LINENO: checking for $ac_func" >&5
32417 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
32418 if eval "test \"\${$as_ac_var+set}\" = set"; then
32419 echo $ECHO_N "(cached) $ECHO_C" >&6
32421 cat >conftest.
$ac_ext <<_ACEOF
32424 cat confdefs.h
>>conftest.
$ac_ext
32425 cat >>conftest.
$ac_ext <<_ACEOF
32426 /* end confdefs.h. */
32427 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
32428 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32429 #define $ac_func innocuous_$ac_func
32431 /* System header to define __stub macros and hopefully few prototypes,
32432 which can conflict with char $ac_func (); below.
32433 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32434 <limits.h> exists even on freestanding compilers. */
32437 # include <limits.h>
32439 # include <assert.h>
32444 /* Override any gcc2 internal prototype to avoid an error. */
32449 /* We use char because int might match the return type of a gcc2
32450 builtin and then its argument prototype would still apply. */
32452 /* The GNU C library defines this for functions which it implements
32453 to always fail with ENOSYS. Some functions are actually named
32454 something starting with __ and the normal name is an alias. */
32455 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
32458 char (*f) () = $ac_func;
32467 return f != $ac_func;
32472 rm -f conftest.
$ac_objext conftest
$ac_exeext
32473 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32474 (eval $ac_link) 2>conftest.er1
32476 grep -v '^ *+' conftest.er1
>conftest.err
32478 cat conftest.err
>&5
32479 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32480 (exit $ac_status); } &&
32481 { ac_try
='test -z "$ac_c_werror_flag"
32482 || test ! -s conftest.err'
32483 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32484 (eval $ac_try) 2>&5
32486 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32487 (exit $ac_status); }; } &&
32488 { ac_try
='test -s conftest$ac_exeext'
32489 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32490 (eval $ac_try) 2>&5
32492 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32493 (exit $ac_status); }; }; then
32494 eval "$as_ac_var=yes"
32496 echo "$as_me: failed program was:" >&5
32497 sed 's/^/| /' conftest.
$ac_ext >&5
32499 eval "$as_ac_var=no"
32501 rm -f conftest.err conftest.
$ac_objext \
32502 conftest
$ac_exeext conftest.
$ac_ext
32504 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
32505 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
32506 if test `eval echo '${'$as_ac_var'}'` = yes; then
32507 cat >>confdefs.h
<<_ACEOF
32508 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
32510 cat >>confdefs.h
<<\_ACEOF
32511 #define HAVE_INET_ATON 1
32516 as_ac_Lib
=`echo "ac_cv_lib_$INET_LINK''_inet_aton" | $as_tr_sh`
32517 echo "$as_me:$LINENO: checking for inet_aton in -l$INET_LINK" >&5
32518 echo $ECHO_N "checking for inet_aton in -l$INET_LINK... $ECHO_C" >&6
32519 if eval "test \"\${$as_ac_Lib+set}\" = set"; then
32520 echo $ECHO_N "(cached) $ECHO_C" >&6
32522 ac_check_lib_save_LIBS
=$LIBS
32523 LIBS
="-l$INET_LINK $LIBS"
32524 cat >conftest.
$ac_ext <<_ACEOF
32527 cat confdefs.h
>>conftest.
$ac_ext
32528 cat >>conftest.
$ac_ext <<_ACEOF
32529 /* end confdefs.h. */
32531 /* Override any gcc2 internal prototype to avoid an error. */
32535 /* We use char because int might match the return type of a gcc2
32536 builtin and then its argument prototype would still apply. */
32546 rm -f conftest.
$ac_objext conftest
$ac_exeext
32547 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32548 (eval $ac_link) 2>conftest.er1
32550 grep -v '^ *+' conftest.er1
>conftest.err
32552 cat conftest.err
>&5
32553 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32554 (exit $ac_status); } &&
32555 { ac_try
='test -z "$ac_c_werror_flag"
32556 || test ! -s conftest.err'
32557 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32558 (eval $ac_try) 2>&5
32560 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32561 (exit $ac_status); }; } &&
32562 { ac_try
='test -s conftest$ac_exeext'
32563 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32564 (eval $ac_try) 2>&5
32566 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32567 (exit $ac_status); }; }; then
32568 eval "$as_ac_Lib=yes"
32570 echo "$as_me: failed program was:" >&5
32571 sed 's/^/| /' conftest.
$ac_ext >&5
32573 eval "$as_ac_Lib=no"
32575 rm -f conftest.err conftest.
$ac_objext \
32576 conftest
$ac_exeext conftest.
$ac_ext
32577 LIBS
=$ac_check_lib_save_LIBS
32579 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Lib'}'`" >&5
32580 echo "${ECHO_T}`eval echo '${'$as_ac_Lib'}'`" >&6
32581 if test `eval echo '${'$as_ac_Lib'}'` = yes; then
32582 cat >>confdefs.h
<<\_ACEOF
32583 #define HAVE_INET_ATON 1
32593 if test "x$INET_LINK" != "x"; then
32594 cat >>confdefs.h
<<\_ACEOF
32595 #define HAVE_INET_ADDR 1
32598 INET_LINK
=" -l$INET_LINK"
32606 echo "$as_me:$LINENO: checking for esd_close in -lesd" >&5
32607 echo $ECHO_N "checking for esd_close in -lesd... $ECHO_C" >&6
32608 if test "${ac_cv_lib_esd_esd_close+set}" = set; then
32609 echo $ECHO_N "(cached) $ECHO_C" >&6
32611 ac_check_lib_save_LIBS
=$LIBS
32613 cat >conftest.
$ac_ext <<_ACEOF
32616 cat confdefs.h
>>conftest.
$ac_ext
32617 cat >>conftest.
$ac_ext <<_ACEOF
32618 /* end confdefs.h. */
32620 /* Override any gcc2 internal prototype to avoid an error. */
32624 /* We use char because int might match the return type of a gcc2
32625 builtin and then its argument prototype would still apply. */
32635 rm -f conftest.
$ac_objext conftest
$ac_exeext
32636 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32637 (eval $ac_link) 2>conftest.er1
32639 grep -v '^ *+' conftest.er1
>conftest.err
32641 cat conftest.err
>&5
32642 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32643 (exit $ac_status); } &&
32644 { ac_try
='test -z "$ac_c_werror_flag"
32645 || test ! -s conftest.err'
32646 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32647 (eval $ac_try) 2>&5
32649 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32650 (exit $ac_status); }; } &&
32651 { ac_try
='test -s conftest$ac_exeext'
32652 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32653 (eval $ac_try) 2>&5
32655 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32656 (exit $ac_status); }; }; then
32657 ac_cv_lib_esd_esd_close
=yes
32659 echo "$as_me: failed program was:" >&5
32660 sed 's/^/| /' conftest.
$ac_ext >&5
32662 ac_cv_lib_esd_esd_close
=no
32664 rm -f conftest.err conftest.
$ac_objext \
32665 conftest
$ac_exeext conftest.
$ac_ext
32666 LIBS
=$ac_check_lib_save_LIBS
32668 echo "$as_me:$LINENO: result: $ac_cv_lib_esd_esd_close" >&5
32669 echo "${ECHO_T}$ac_cv_lib_esd_esd_close" >&6
32670 if test $ac_cv_lib_esd_esd_close = yes; then
32673 for ac_header
in esd.h
32675 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
32676 if eval "test \"\${$as_ac_Header+set}\" = set"; then
32677 echo "$as_me:$LINENO: checking for $ac_header" >&5
32678 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
32679 if eval "test \"\${$as_ac_Header+set}\" = set"; then
32680 echo $ECHO_N "(cached) $ECHO_C" >&6
32682 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
32683 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
32685 # Is the header compilable?
32686 echo "$as_me:$LINENO: checking $ac_header usability" >&5
32687 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
32688 cat >conftest.
$ac_ext <<_ACEOF
32691 cat confdefs.h
>>conftest.
$ac_ext
32692 cat >>conftest.
$ac_ext <<_ACEOF
32693 /* end confdefs.h. */
32694 $ac_includes_default
32695 #include <$ac_header>
32697 rm -f conftest.
$ac_objext
32698 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32699 (eval $ac_compile) 2>conftest.er1
32701 grep -v '^ *+' conftest.er1
>conftest.err
32703 cat conftest.err
>&5
32704 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32705 (exit $ac_status); } &&
32706 { ac_try
='test -z "$ac_c_werror_flag"
32707 || test ! -s conftest.err'
32708 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32709 (eval $ac_try) 2>&5
32711 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32712 (exit $ac_status); }; } &&
32713 { ac_try
='test -s conftest.$ac_objext'
32714 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32715 (eval $ac_try) 2>&5
32717 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32718 (exit $ac_status); }; }; then
32719 ac_header_compiler
=yes
32721 echo "$as_me: failed program was:" >&5
32722 sed 's/^/| /' conftest.
$ac_ext >&5
32724 ac_header_compiler
=no
32726 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
32727 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
32728 echo "${ECHO_T}$ac_header_compiler" >&6
32730 # Is the header present?
32731 echo "$as_me:$LINENO: checking $ac_header presence" >&5
32732 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
32733 cat >conftest.
$ac_ext <<_ACEOF
32736 cat confdefs.h
>>conftest.
$ac_ext
32737 cat >>conftest.
$ac_ext <<_ACEOF
32738 /* end confdefs.h. */
32739 #include <$ac_header>
32741 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
32742 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
32744 grep -v '^ *+' conftest.er1
>conftest.err
32746 cat conftest.err
>&5
32747 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32748 (exit $ac_status); } >/dev
/null
; then
32749 if test -s conftest.err
; then
32750 ac_cpp_err
=$ac_c_preproc_warn_flag
32751 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
32758 if test -z "$ac_cpp_err"; then
32759 ac_header_preproc
=yes
32761 echo "$as_me: failed program was:" >&5
32762 sed 's/^/| /' conftest.
$ac_ext >&5
32764 ac_header_preproc
=no
32766 rm -f conftest.err conftest.
$ac_ext
32767 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
32768 echo "${ECHO_T}$ac_header_preproc" >&6
32770 # So? What about this header?
32771 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
32773 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
32774 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
32775 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
32776 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
32777 ac_header_preproc
=yes
32780 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
32781 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
32782 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
32783 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
32784 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
32785 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
32786 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
32787 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
32788 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
32789 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
32790 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
32791 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
32794 ## ----------------------------------------- ##
32795 ## Report this to wx-dev@lists.wxwidgets.org ##
32796 ## ----------------------------------------- ##
32799 sed "s/^/$as_me: WARNING: /" >&2
32802 echo "$as_me:$LINENO: checking for $ac_header" >&5
32803 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
32804 if eval "test \"\${$as_ac_Header+set}\" = set"; then
32805 echo $ECHO_N "(cached) $ECHO_C" >&6
32807 eval "$as_ac_Header=\$ac_header_preproc"
32809 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
32810 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
32813 if test `eval echo '${'$as_ac_Header'}'` = yes; then
32814 cat >>confdefs.h
<<_ACEOF
32815 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
32818 EXTRALIBS_ESD
="-lesd"
32829 echo "$as_me:$LINENO: checking for known CD-ROM interface" >&5
32830 echo $ECHO_N "checking for known CD-ROM interface... $ECHO_C" >&6
32831 cat >conftest.
$ac_ext <<_ACEOF
32834 cat confdefs.h
>>conftest.
$ac_ext
32835 cat >>conftest.
$ac_ext <<_ACEOF
32836 /* end confdefs.h. */
32838 #include <linux/cdrom.h>
32841 #include <sys/cdio.h>
32847 struct cdrom_tocentry entry, old_entry;
32852 rm -f conftest.
$ac_objext
32853 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32854 (eval $ac_compile) 2>conftest.er1
32856 grep -v '^ *+' conftest.er1
>conftest.err
32858 cat conftest.err
>&5
32859 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32860 (exit $ac_status); } &&
32861 { ac_try
='test -z "$ac_c_werror_flag"
32862 || test ! -s conftest.err'
32863 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32864 (eval $ac_try) 2>&5
32866 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32867 (exit $ac_status); }; } &&
32868 { ac_try
='test -s conftest.$ac_objext'
32869 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32870 (eval $ac_try) 2>&5
32872 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32873 (exit $ac_status); }; }; then
32874 echo "$as_me:$LINENO: result: yes" >&5
32875 echo "${ECHO_T}yes" >&6
32876 cat >>confdefs.h
<<\_ACEOF
32877 #define HAVE_KNOWN_CDROM_INTERFACE 1
32881 echo "$as_me: failed program was:" >&5
32882 sed 's/^/| /' conftest.
$ac_ext >&5
32884 echo "$as_me:$LINENO: result: no" >&5
32885 echo "${ECHO_T}no" >&6
32887 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
32890 cat >confcache
<<\_ACEOF
32891 # This file is a shell script that caches the results of configure
32892 # tests run on this system so they can be shared between configure
32893 # scripts and configure runs, see configure's option --config-cache.
32894 # It is not useful on other systems. If it contains results you don't
32895 # want to keep, you may remove or edit it.
32897 # config.status only pays attention to the cache file if you give it
32898 # the --recheck option to rerun configure.
32900 # `ac_cv_env_foo' variables (set or unset) will be overridden when
32901 # loading this file, other *unset* `ac_cv_foo' will be assigned the
32902 # following values.
32906 # The following way of writing the cache mishandles newlines in values,
32907 # but we know of no workaround that is simple, portable, and efficient.
32908 # So, don't put newlines in cache variables' values.
32909 # Ultrix sh set writes to stderr and can't be redirected directly,
32910 # and sets the high bit in the cache file unless we assign to the vars.
32913 case `(ac_space=' '; set | grep ac_space) 2>&1` in
32915 # `set' does not quote correctly, so add quotes (double-quote
32916 # substitution turns \\\\ into \\, and sed turns \\ into \).
32919 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
32922 # `set' quotes correctly as required by POSIX, so do not add quotes.
32924 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
32931 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
32933 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
32935 if diff $cache_file confcache
>/dev
/null
2>&1; then :; else
32936 if test -w $cache_file; then
32937 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
32938 cat confcache
>$cache_file
32940 echo "not updating unwritable cache $cache_file"
32947 if test "$TOOLKIT" != "MSW" -a "$USE_OS2" != 1; then
32953 if test "$wxUSE_THREADS" = "yes" ; then
32954 if test "$USE_BEOS" = 1; then
32955 { echo "$as_me:$LINENO: WARNING: BeOS threads are not yet supported... disabled" >&5
32956 echo "$as_me: WARNING: BeOS threads are not yet supported... disabled" >&2;}
32961 if test "$wxUSE_THREADS" = "yes" ; then
32964 THREAD_OPTS
="-pthread"
32966 *-*-solaris2* | *-*-sunos4* )
32967 if test "x$GCC" = "xyes"; then
32968 THREAD_OPTS
="-pthreads $THREAD_OPTS"
32970 THREAD_OPTS
="-mt $THREAD_OPTS"
32974 THREAD_OPTS
="-kthread lthread $THREAD_OPTS c_r"
32976 *-*-darwin* | *-*-cygwin* )
32980 THREAD_OPTS
="pthreads"
32983 if test "x$GCC" != "xyes"; then
32989 if test "x$GCC" = "xyes"; then
32995 if test "x$GCC" != "xyes"; then
32996 THREAD_OPTS
="-Ethread"
33001 THREAD_OPTS
="$THREAD_OPTS pthread none"
33004 for flag
in $THREAD_OPTS; do
33007 echo "$as_me:$LINENO: checking whether pthreads work without any flags" >&5
33008 echo $ECHO_N "checking whether pthreads work without any flags... $ECHO_C" >&6
33012 echo "$as_me:$LINENO: checking whether pthreads work with $flag" >&5
33013 echo $ECHO_N "checking whether pthreads work with $flag... $ECHO_C" >&6
33014 THREADS_CFLAGS
="$flag"
33018 echo "$as_me:$LINENO: checking for the pthreads library -l$flag" >&5
33019 echo $ECHO_N "checking for the pthreads library -l$flag... $ECHO_C" >&6
33020 THREADS_LINK
="-l$flag"
33025 save_CFLAGS
="$CFLAGS"
33026 LIBS
="$THREADS_LINK $LIBS"
33027 CFLAGS
="$THREADS_CFLAGS $CFLAGS"
33029 cat >conftest.
$ac_ext <<_ACEOF
33032 cat confdefs.h
>>conftest.
$ac_ext
33033 cat >>conftest.
$ac_ext <<_ACEOF
33034 /* end confdefs.h. */
33035 #include <pthread.h>
33039 pthread_create(0,0,0,0);
33044 rm -f conftest.
$ac_objext conftest
$ac_exeext
33045 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33046 (eval $ac_link) 2>conftest.er1
33048 grep -v '^ *+' conftest.er1
>conftest.err
33050 cat conftest.err
>&5
33051 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33052 (exit $ac_status); } &&
33053 { ac_try
='test -z "$ac_c_werror_flag"
33054 || test ! -s conftest.err'
33055 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33056 (eval $ac_try) 2>&5
33058 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33059 (exit $ac_status); }; } &&
33060 { ac_try
='test -s conftest$ac_exeext'
33061 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33062 (eval $ac_try) 2>&5
33064 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33065 (exit $ac_status); }; }; then
33068 echo "$as_me: failed program was:" >&5
33069 sed 's/^/| /' conftest.
$ac_ext >&5
33072 rm -f conftest.err conftest.
$ac_objext \
33073 conftest
$ac_exeext conftest.
$ac_ext
33076 CFLAGS
="$save_CFLAGS"
33078 echo "$as_me:$LINENO: result: $THREADS_OK" >&5
33079 echo "${ECHO_T}$THREADS_OK" >&6
33080 if test "x$THREADS_OK" = "xyes"; then
33088 if test "x$THREADS_OK" != "xyes"; then
33090 { echo "$as_me:$LINENO: WARNING: No thread support on this system... disabled" >&5
33091 echo "$as_me: WARNING: No thread support on this system... disabled" >&2;}
33093 LDFLAGS
="$THREADS_CFLAGS $LDFLAGS"
33094 LIBS
="$THREADS_LINK $LIBS"
33096 echo "$as_me:$LINENO: checking if more special flags are required for pthreads" >&5
33097 echo $ECHO_N "checking if more special flags are required for pthreads... $ECHO_C" >&6
33101 LDFLAGS
="-L/usr/lib/threads $LDFLAGS"
33102 flag
="-D_THREAD_SAFE"
33105 flag
="-D_THREAD_SAFE"
33108 flag
="-D_REENTRANT"
33109 if test "x$GCC" != "xyes"; then
33110 flag
="$flag -D_RWSTD_MULTI_THREAD"
33115 *solaris
* | alpha
*-osf*)
33116 flag
="-D_REENTRANT"
33119 echo "$as_me:$LINENO: result: ${flag}" >&5
33120 echo "${ECHO_T}${flag}" >&6
33121 if test "x$flag" != xno
; then
33122 THREADS_CFLAGS
="$THREADS_CFLAGS $flag"
33125 if test "x$THREADS_CFLAGS" != "x"; then
33126 CFLAGS
="$CFLAGS $THREADS_CFLAGS"
33127 CXXFLAGS
="$CXXFLAGS $THREADS_CFLAGS"
33132 if test "$wxUSE_THREADS" = "yes" ; then
33134 for ac_func
in thr_setconcurrency
33136 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33137 echo "$as_me:$LINENO: checking for $ac_func" >&5
33138 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33139 if eval "test \"\${$as_ac_var+set}\" = set"; then
33140 echo $ECHO_N "(cached) $ECHO_C" >&6
33142 cat >conftest.
$ac_ext <<_ACEOF
33145 cat confdefs.h
>>conftest.
$ac_ext
33146 cat >>conftest.
$ac_ext <<_ACEOF
33147 /* end confdefs.h. */
33148 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
33149 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33150 #define $ac_func innocuous_$ac_func
33152 /* System header to define __stub macros and hopefully few prototypes,
33153 which can conflict with char $ac_func (); below.
33154 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33155 <limits.h> exists even on freestanding compilers. */
33158 # include <limits.h>
33160 # include <assert.h>
33165 /* Override any gcc2 internal prototype to avoid an error. */
33170 /* We use char because int might match the return type of a gcc2
33171 builtin and then its argument prototype would still apply. */
33173 /* The GNU C library defines this for functions which it implements
33174 to always fail with ENOSYS. Some functions are actually named
33175 something starting with __ and the normal name is an alias. */
33176 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33179 char (*f) () = $ac_func;
33188 return f != $ac_func;
33193 rm -f conftest.
$ac_objext conftest
$ac_exeext
33194 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33195 (eval $ac_link) 2>conftest.er1
33197 grep -v '^ *+' conftest.er1
>conftest.err
33199 cat conftest.err
>&5
33200 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33201 (exit $ac_status); } &&
33202 { ac_try
='test -z "$ac_c_werror_flag"
33203 || test ! -s conftest.err'
33204 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33205 (eval $ac_try) 2>&5
33207 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33208 (exit $ac_status); }; } &&
33209 { ac_try
='test -s conftest$ac_exeext'
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); }; }; then
33215 eval "$as_ac_var=yes"
33217 echo "$as_me: failed program was:" >&5
33218 sed 's/^/| /' conftest.
$ac_ext >&5
33220 eval "$as_ac_var=no"
33222 rm -f conftest.err conftest.
$ac_objext \
33223 conftest
$ac_exeext conftest.
$ac_ext
33225 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33226 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33227 if test `eval echo '${'$as_ac_var'}'` = yes; then
33228 cat >>confdefs.h
<<_ACEOF
33229 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33237 for ac_header
in sched.h
33239 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
33240 if eval "test \"\${$as_ac_Header+set}\" = set"; then
33241 echo "$as_me:$LINENO: checking for $ac_header" >&5
33242 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
33243 if eval "test \"\${$as_ac_Header+set}\" = set"; then
33244 echo $ECHO_N "(cached) $ECHO_C" >&6
33246 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
33247 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
33249 # Is the header compilable?
33250 echo "$as_me:$LINENO: checking $ac_header usability" >&5
33251 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
33252 cat >conftest.
$ac_ext <<_ACEOF
33255 cat confdefs.h
>>conftest.
$ac_ext
33256 cat >>conftest.
$ac_ext <<_ACEOF
33257 /* end confdefs.h. */
33258 $ac_includes_default
33259 #include <$ac_header>
33261 rm -f conftest.
$ac_objext
33262 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33263 (eval $ac_compile) 2>conftest.er1
33265 grep -v '^ *+' conftest.er1
>conftest.err
33267 cat conftest.err
>&5
33268 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33269 (exit $ac_status); } &&
33270 { ac_try
='test -z "$ac_c_werror_flag"
33271 || test ! -s conftest.err'
33272 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33273 (eval $ac_try) 2>&5
33275 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33276 (exit $ac_status); }; } &&
33277 { ac_try
='test -s conftest.$ac_objext'
33278 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33279 (eval $ac_try) 2>&5
33281 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33282 (exit $ac_status); }; }; then
33283 ac_header_compiler
=yes
33285 echo "$as_me: failed program was:" >&5
33286 sed 's/^/| /' conftest.
$ac_ext >&5
33288 ac_header_compiler
=no
33290 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
33291 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
33292 echo "${ECHO_T}$ac_header_compiler" >&6
33294 # Is the header present?
33295 echo "$as_me:$LINENO: checking $ac_header presence" >&5
33296 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
33297 cat >conftest.
$ac_ext <<_ACEOF
33300 cat confdefs.h
>>conftest.
$ac_ext
33301 cat >>conftest.
$ac_ext <<_ACEOF
33302 /* end confdefs.h. */
33303 #include <$ac_header>
33305 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
33306 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
33308 grep -v '^ *+' conftest.er1
>conftest.err
33310 cat conftest.err
>&5
33311 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33312 (exit $ac_status); } >/dev
/null
; then
33313 if test -s conftest.err
; then
33314 ac_cpp_err
=$ac_c_preproc_warn_flag
33315 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
33322 if test -z "$ac_cpp_err"; then
33323 ac_header_preproc
=yes
33325 echo "$as_me: failed program was:" >&5
33326 sed 's/^/| /' conftest.
$ac_ext >&5
33328 ac_header_preproc
=no
33330 rm -f conftest.err conftest.
$ac_ext
33331 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
33332 echo "${ECHO_T}$ac_header_preproc" >&6
33334 # So? What about this header?
33335 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
33337 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
33338 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
33339 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
33340 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
33341 ac_header_preproc
=yes
33344 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
33345 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
33346 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
33347 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
33348 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
33349 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
33350 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
33351 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
33352 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
33353 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
33354 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
33355 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
33358 ## ----------------------------------------- ##
33359 ## Report this to wx-dev@lists.wxwidgets.org ##
33360 ## ----------------------------------------- ##
33363 sed "s/^/$as_me: WARNING: /" >&2
33366 echo "$as_me:$LINENO: checking for $ac_header" >&5
33367 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
33368 if eval "test \"\${$as_ac_Header+set}\" = set"; then
33369 echo $ECHO_N "(cached) $ECHO_C" >&6
33371 eval "$as_ac_Header=\$ac_header_preproc"
33373 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
33374 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
33377 if test `eval echo '${'$as_ac_Header'}'` = yes; then
33378 cat >>confdefs.h
<<_ACEOF
33379 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
33386 if test "$ac_cv_header_sched_h" = "yes"; then
33387 echo "$as_me:$LINENO: checking for sched_yield" >&5
33388 echo $ECHO_N "checking for sched_yield... $ECHO_C" >&6
33389 if test "${ac_cv_func_sched_yield+set}" = set; then
33390 echo $ECHO_N "(cached) $ECHO_C" >&6
33392 cat >conftest.
$ac_ext <<_ACEOF
33395 cat confdefs.h
>>conftest.
$ac_ext
33396 cat >>conftest.
$ac_ext <<_ACEOF
33397 /* end confdefs.h. */
33398 /* Define sched_yield to an innocuous variant, in case <limits.h> declares sched_yield.
33399 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33400 #define sched_yield innocuous_sched_yield
33402 /* System header to define __stub macros and hopefully few prototypes,
33403 which can conflict with char sched_yield (); below.
33404 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33405 <limits.h> exists even on freestanding compilers. */
33408 # include <limits.h>
33410 # include <assert.h>
33415 /* Override any gcc2 internal prototype to avoid an error. */
33420 /* We use char because int might match the return type of a gcc2
33421 builtin and then its argument prototype would still apply. */
33422 char sched_yield ();
33423 /* The GNU C library defines this for functions which it implements
33424 to always fail with ENOSYS. Some functions are actually named
33425 something starting with __ and the normal name is an alias. */
33426 #if defined (__stub_sched_yield) || defined (__stub___sched_yield)
33429 char (*f) () = sched_yield;
33438 return f != sched_yield;
33443 rm -f conftest.
$ac_objext conftest
$ac_exeext
33444 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33445 (eval $ac_link) 2>conftest.er1
33447 grep -v '^ *+' conftest.er1
>conftest.err
33449 cat conftest.err
>&5
33450 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33451 (exit $ac_status); } &&
33452 { ac_try
='test -z "$ac_c_werror_flag"
33453 || test ! -s conftest.err'
33454 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33455 (eval $ac_try) 2>&5
33457 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33458 (exit $ac_status); }; } &&
33459 { ac_try
='test -s conftest$ac_exeext'
33460 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33461 (eval $ac_try) 2>&5
33463 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33464 (exit $ac_status); }; }; then
33465 ac_cv_func_sched_yield
=yes
33467 echo "$as_me: failed program was:" >&5
33468 sed 's/^/| /' conftest.
$ac_ext >&5
33470 ac_cv_func_sched_yield
=no
33472 rm -f conftest.err conftest.
$ac_objext \
33473 conftest
$ac_exeext conftest.
$ac_ext
33475 echo "$as_me:$LINENO: result: $ac_cv_func_sched_yield" >&5
33476 echo "${ECHO_T}$ac_cv_func_sched_yield" >&6
33477 if test $ac_cv_func_sched_yield = yes; then
33478 cat >>confdefs.h
<<\_ACEOF
33479 #define HAVE_SCHED_YIELD 1
33484 echo "$as_me:$LINENO: checking for sched_yield in -lposix4" >&5
33485 echo $ECHO_N "checking for sched_yield in -lposix4... $ECHO_C" >&6
33486 if test "${ac_cv_lib_posix4_sched_yield+set}" = set; then
33487 echo $ECHO_N "(cached) $ECHO_C" >&6
33489 ac_check_lib_save_LIBS
=$LIBS
33490 LIBS
="-lposix4 $LIBS"
33491 cat >conftest.
$ac_ext <<_ACEOF
33494 cat confdefs.h
>>conftest.
$ac_ext
33495 cat >>conftest.
$ac_ext <<_ACEOF
33496 /* end confdefs.h. */
33498 /* Override any gcc2 internal prototype to avoid an error. */
33502 /* We use char because int might match the return type of a gcc2
33503 builtin and then its argument prototype would still apply. */
33504 char sched_yield ();
33513 rm -f conftest.
$ac_objext conftest
$ac_exeext
33514 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33515 (eval $ac_link) 2>conftest.er1
33517 grep -v '^ *+' conftest.er1
>conftest.err
33519 cat conftest.err
>&5
33520 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33521 (exit $ac_status); } &&
33522 { ac_try
='test -z "$ac_c_werror_flag"
33523 || test ! -s conftest.err'
33524 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33525 (eval $ac_try) 2>&5
33527 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33528 (exit $ac_status); }; } &&
33529 { ac_try
='test -s conftest$ac_exeext'
33530 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33531 (eval $ac_try) 2>&5
33533 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33534 (exit $ac_status); }; }; then
33535 ac_cv_lib_posix4_sched_yield
=yes
33537 echo "$as_me: failed program was:" >&5
33538 sed 's/^/| /' conftest.
$ac_ext >&5
33540 ac_cv_lib_posix4_sched_yield
=no
33542 rm -f conftest.err conftest.
$ac_objext \
33543 conftest
$ac_exeext conftest.
$ac_ext
33544 LIBS
=$ac_check_lib_save_LIBS
33546 echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_sched_yield" >&5
33547 echo "${ECHO_T}$ac_cv_lib_posix4_sched_yield" >&6
33548 if test $ac_cv_lib_posix4_sched_yield = yes; then
33549 cat >>confdefs.h
<<\_ACEOF
33550 #define HAVE_SCHED_YIELD 1
33552 POSIX4_LINK
=" -lposix4"
33554 { echo "$as_me:$LINENO: WARNING: wxThread::Yield will not work properly" >&5
33555 echo "$as_me: WARNING: wxThread::Yield will not work properly" >&2;}
33566 echo "$as_me:$LINENO: checking for pthread_attr_getschedpolicy" >&5
33567 echo $ECHO_N "checking for pthread_attr_getschedpolicy... $ECHO_C" >&6
33568 if test "${ac_cv_func_pthread_attr_getschedpolicy+set}" = set; then
33569 echo $ECHO_N "(cached) $ECHO_C" >&6
33571 cat >conftest.
$ac_ext <<_ACEOF
33574 cat confdefs.h
>>conftest.
$ac_ext
33575 cat >>conftest.
$ac_ext <<_ACEOF
33576 /* end confdefs.h. */
33577 /* Define pthread_attr_getschedpolicy to an innocuous variant, in case <limits.h> declares pthread_attr_getschedpolicy.
33578 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33579 #define pthread_attr_getschedpolicy innocuous_pthread_attr_getschedpolicy
33581 /* System header to define __stub macros and hopefully few prototypes,
33582 which can conflict with char pthread_attr_getschedpolicy (); below.
33583 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33584 <limits.h> exists even on freestanding compilers. */
33587 # include <limits.h>
33589 # include <assert.h>
33592 #undef pthread_attr_getschedpolicy
33594 /* Override any gcc2 internal prototype to avoid an error. */
33599 /* We use char because int might match the return type of a gcc2
33600 builtin and then its argument prototype would still apply. */
33601 char pthread_attr_getschedpolicy ();
33602 /* The GNU C library defines this for functions which it implements
33603 to always fail with ENOSYS. Some functions are actually named
33604 something starting with __ and the normal name is an alias. */
33605 #if defined (__stub_pthread_attr_getschedpolicy) || defined (__stub___pthread_attr_getschedpolicy)
33608 char (*f) () = pthread_attr_getschedpolicy;
33617 return f != pthread_attr_getschedpolicy;
33622 rm -f conftest.
$ac_objext conftest
$ac_exeext
33623 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33624 (eval $ac_link) 2>conftest.er1
33626 grep -v '^ *+' conftest.er1
>conftest.err
33628 cat conftest.err
>&5
33629 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33630 (exit $ac_status); } &&
33631 { ac_try
='test -z "$ac_c_werror_flag"
33632 || test ! -s conftest.err'
33633 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33634 (eval $ac_try) 2>&5
33636 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33637 (exit $ac_status); }; } &&
33638 { ac_try
='test -s conftest$ac_exeext'
33639 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33640 (eval $ac_try) 2>&5
33642 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33643 (exit $ac_status); }; }; then
33644 ac_cv_func_pthread_attr_getschedpolicy
=yes
33646 echo "$as_me: failed program was:" >&5
33647 sed 's/^/| /' conftest.
$ac_ext >&5
33649 ac_cv_func_pthread_attr_getschedpolicy
=no
33651 rm -f conftest.err conftest.
$ac_objext \
33652 conftest
$ac_exeext conftest.
$ac_ext
33654 echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_getschedpolicy" >&5
33655 echo "${ECHO_T}$ac_cv_func_pthread_attr_getschedpolicy" >&6
33656 if test $ac_cv_func_pthread_attr_getschedpolicy = yes; then
33657 echo "$as_me:$LINENO: checking for pthread_attr_setschedparam" >&5
33658 echo $ECHO_N "checking for pthread_attr_setschedparam... $ECHO_C" >&6
33659 if test "${ac_cv_func_pthread_attr_setschedparam+set}" = set; then
33660 echo $ECHO_N "(cached) $ECHO_C" >&6
33662 cat >conftest.
$ac_ext <<_ACEOF
33665 cat confdefs.h
>>conftest.
$ac_ext
33666 cat >>conftest.
$ac_ext <<_ACEOF
33667 /* end confdefs.h. */
33668 /* Define pthread_attr_setschedparam to an innocuous variant, in case <limits.h> declares pthread_attr_setschedparam.
33669 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33670 #define pthread_attr_setschedparam innocuous_pthread_attr_setschedparam
33672 /* System header to define __stub macros and hopefully few prototypes,
33673 which can conflict with char pthread_attr_setschedparam (); below.
33674 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33675 <limits.h> exists even on freestanding compilers. */
33678 # include <limits.h>
33680 # include <assert.h>
33683 #undef pthread_attr_setschedparam
33685 /* Override any gcc2 internal prototype to avoid an error. */
33690 /* We use char because int might match the return type of a gcc2
33691 builtin and then its argument prototype would still apply. */
33692 char pthread_attr_setschedparam ();
33693 /* The GNU C library defines this for functions which it implements
33694 to always fail with ENOSYS. Some functions are actually named
33695 something starting with __ and the normal name is an alias. */
33696 #if defined (__stub_pthread_attr_setschedparam) || defined (__stub___pthread_attr_setschedparam)
33699 char (*f) () = pthread_attr_setschedparam;
33708 return f != pthread_attr_setschedparam;
33713 rm -f conftest.
$ac_objext conftest
$ac_exeext
33714 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33715 (eval $ac_link) 2>conftest.er1
33717 grep -v '^ *+' conftest.er1
>conftest.err
33719 cat conftest.err
>&5
33720 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33721 (exit $ac_status); } &&
33722 { ac_try
='test -z "$ac_c_werror_flag"
33723 || test ! -s conftest.err'
33724 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33725 (eval $ac_try) 2>&5
33727 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33728 (exit $ac_status); }; } &&
33729 { ac_try
='test -s conftest$ac_exeext'
33730 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33731 (eval $ac_try) 2>&5
33733 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33734 (exit $ac_status); }; }; then
33735 ac_cv_func_pthread_attr_setschedparam
=yes
33737 echo "$as_me: failed program was:" >&5
33738 sed 's/^/| /' conftest.
$ac_ext >&5
33740 ac_cv_func_pthread_attr_setschedparam
=no
33742 rm -f conftest.err conftest.
$ac_objext \
33743 conftest
$ac_exeext conftest.
$ac_ext
33745 echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_setschedparam" >&5
33746 echo "${ECHO_T}$ac_cv_func_pthread_attr_setschedparam" >&6
33747 if test $ac_cv_func_pthread_attr_setschedparam = yes; then
33748 echo "$as_me:$LINENO: checking for sched_get_priority_max" >&5
33749 echo $ECHO_N "checking for sched_get_priority_max... $ECHO_C" >&6
33750 if test "${ac_cv_func_sched_get_priority_max+set}" = set; then
33751 echo $ECHO_N "(cached) $ECHO_C" >&6
33753 cat >conftest.
$ac_ext <<_ACEOF
33756 cat confdefs.h
>>conftest.
$ac_ext
33757 cat >>conftest.
$ac_ext <<_ACEOF
33758 /* end confdefs.h. */
33759 /* Define sched_get_priority_max to an innocuous variant, in case <limits.h> declares sched_get_priority_max.
33760 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33761 #define sched_get_priority_max innocuous_sched_get_priority_max
33763 /* System header to define __stub macros and hopefully few prototypes,
33764 which can conflict with char sched_get_priority_max (); below.
33765 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33766 <limits.h> exists even on freestanding compilers. */
33769 # include <limits.h>
33771 # include <assert.h>
33774 #undef sched_get_priority_max
33776 /* Override any gcc2 internal prototype to avoid an error. */
33781 /* We use char because int might match the return type of a gcc2
33782 builtin and then its argument prototype would still apply. */
33783 char sched_get_priority_max ();
33784 /* The GNU C library defines this for functions which it implements
33785 to always fail with ENOSYS. Some functions are actually named
33786 something starting with __ and the normal name is an alias. */
33787 #if defined (__stub_sched_get_priority_max) || defined (__stub___sched_get_priority_max)
33790 char (*f) () = sched_get_priority_max;
33799 return f != sched_get_priority_max;
33804 rm -f conftest.
$ac_objext conftest
$ac_exeext
33805 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33806 (eval $ac_link) 2>conftest.er1
33808 grep -v '^ *+' conftest.er1
>conftest.err
33810 cat conftest.err
>&5
33811 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33812 (exit $ac_status); } &&
33813 { ac_try
='test -z "$ac_c_werror_flag"
33814 || test ! -s conftest.err'
33815 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33816 (eval $ac_try) 2>&5
33818 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33819 (exit $ac_status); }; } &&
33820 { ac_try
='test -s conftest$ac_exeext'
33821 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33822 (eval $ac_try) 2>&5
33824 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33825 (exit $ac_status); }; }; then
33826 ac_cv_func_sched_get_priority_max
=yes
33828 echo "$as_me: failed program was:" >&5
33829 sed 's/^/| /' conftest.
$ac_ext >&5
33831 ac_cv_func_sched_get_priority_max
=no
33833 rm -f conftest.err conftest.
$ac_objext \
33834 conftest
$ac_exeext conftest.
$ac_ext
33836 echo "$as_me:$LINENO: result: $ac_cv_func_sched_get_priority_max" >&5
33837 echo "${ECHO_T}$ac_cv_func_sched_get_priority_max" >&6
33838 if test $ac_cv_func_sched_get_priority_max = yes; then
33841 echo "$as_me:$LINENO: checking for sched_get_priority_max in -lposix4" >&5
33842 echo $ECHO_N "checking for sched_get_priority_max in -lposix4... $ECHO_C" >&6
33843 if test "${ac_cv_lib_posix4_sched_get_priority_max+set}" = set; then
33844 echo $ECHO_N "(cached) $ECHO_C" >&6
33846 ac_check_lib_save_LIBS
=$LIBS
33847 LIBS
="-lposix4 $LIBS"
33848 cat >conftest.
$ac_ext <<_ACEOF
33851 cat confdefs.h
>>conftest.
$ac_ext
33852 cat >>conftest.
$ac_ext <<_ACEOF
33853 /* end confdefs.h. */
33855 /* Override any gcc2 internal prototype to avoid an error. */
33859 /* We use char because int might match the return type of a gcc2
33860 builtin and then its argument prototype would still apply. */
33861 char sched_get_priority_max ();
33865 sched_get_priority_max ();
33870 rm -f conftest.
$ac_objext conftest
$ac_exeext
33871 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33872 (eval $ac_link) 2>conftest.er1
33874 grep -v '^ *+' conftest.er1
>conftest.err
33876 cat conftest.err
>&5
33877 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33878 (exit $ac_status); } &&
33879 { ac_try
='test -z "$ac_c_werror_flag"
33880 || test ! -s conftest.err'
33881 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33882 (eval $ac_try) 2>&5
33884 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33885 (exit $ac_status); }; } &&
33886 { ac_try
='test -s conftest$ac_exeext'
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); }; }; then
33892 ac_cv_lib_posix4_sched_get_priority_max
=yes
33894 echo "$as_me: failed program was:" >&5
33895 sed 's/^/| /' conftest.
$ac_ext >&5
33897 ac_cv_lib_posix4_sched_get_priority_max
=no
33899 rm -f conftest.err conftest.
$ac_objext \
33900 conftest
$ac_exeext conftest.
$ac_ext
33901 LIBS
=$ac_check_lib_save_LIBS
33903 echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_sched_get_priority_max" >&5
33904 echo "${ECHO_T}$ac_cv_lib_posix4_sched_get_priority_max" >&6
33905 if test $ac_cv_lib_posix4_sched_get_priority_max = yes; then
33908 POSIX4_LINK
=" -lposix4"
33922 if test "$HAVE_PRIOR_FUNCS" = 1; then
33923 cat >>confdefs.h
<<\_ACEOF
33924 #define HAVE_THREAD_PRIORITY_FUNCTIONS 1
33928 { echo "$as_me:$LINENO: WARNING: Setting thread priority will not work" >&5
33929 echo "$as_me: WARNING: Setting thread priority will not work" >&2;}
33932 echo "$as_me:$LINENO: checking for pthread_cancel" >&5
33933 echo $ECHO_N "checking for pthread_cancel... $ECHO_C" >&6
33934 if test "${ac_cv_func_pthread_cancel+set}" = set; then
33935 echo $ECHO_N "(cached) $ECHO_C" >&6
33937 cat >conftest.
$ac_ext <<_ACEOF
33940 cat confdefs.h
>>conftest.
$ac_ext
33941 cat >>conftest.
$ac_ext <<_ACEOF
33942 /* end confdefs.h. */
33943 /* Define pthread_cancel to an innocuous variant, in case <limits.h> declares pthread_cancel.
33944 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33945 #define pthread_cancel innocuous_pthread_cancel
33947 /* System header to define __stub macros and hopefully few prototypes,
33948 which can conflict with char pthread_cancel (); below.
33949 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33950 <limits.h> exists even on freestanding compilers. */
33953 # include <limits.h>
33955 # include <assert.h>
33958 #undef pthread_cancel
33960 /* Override any gcc2 internal prototype to avoid an error. */
33965 /* We use char because int might match the return type of a gcc2
33966 builtin and then its argument prototype would still apply. */
33967 char pthread_cancel ();
33968 /* The GNU C library defines this for functions which it implements
33969 to always fail with ENOSYS. Some functions are actually named
33970 something starting with __ and the normal name is an alias. */
33971 #if defined (__stub_pthread_cancel) || defined (__stub___pthread_cancel)
33974 char (*f) () = pthread_cancel;
33983 return f != pthread_cancel;
33988 rm -f conftest.
$ac_objext conftest
$ac_exeext
33989 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33990 (eval $ac_link) 2>conftest.er1
33992 grep -v '^ *+' conftest.er1
>conftest.err
33994 cat conftest.err
>&5
33995 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33996 (exit $ac_status); } &&
33997 { ac_try
='test -z "$ac_c_werror_flag"
33998 || test ! -s conftest.err'
33999 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34000 (eval $ac_try) 2>&5
34002 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34003 (exit $ac_status); }; } &&
34004 { ac_try
='test -s conftest$ac_exeext'
34005 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34006 (eval $ac_try) 2>&5
34008 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34009 (exit $ac_status); }; }; then
34010 ac_cv_func_pthread_cancel
=yes
34012 echo "$as_me: failed program was:" >&5
34013 sed 's/^/| /' conftest.
$ac_ext >&5
34015 ac_cv_func_pthread_cancel
=no
34017 rm -f conftest.err conftest.
$ac_objext \
34018 conftest
$ac_exeext conftest.
$ac_ext
34020 echo "$as_me:$LINENO: result: $ac_cv_func_pthread_cancel" >&5
34021 echo "${ECHO_T}$ac_cv_func_pthread_cancel" >&6
34022 if test $ac_cv_func_pthread_cancel = yes; then
34023 cat >>confdefs.h
<<\_ACEOF
34024 #define HAVE_PTHREAD_CANCEL 1
34028 { echo "$as_me:$LINENO: WARNING: wxThread::Kill() will not work properly" >&5
34029 echo "$as_me: WARNING: wxThread::Kill() will not work properly" >&2;}
34035 echo "$as_me:$LINENO: checking for pthread_mutexattr_t" >&5
34036 echo $ECHO_N "checking for pthread_mutexattr_t... $ECHO_C" >&6
34037 if test "${wx_cv_type_pthread_mutexattr_t+set}" = set; then
34038 echo $ECHO_N "(cached) $ECHO_C" >&6
34041 cat >conftest.
$ac_ext <<_ACEOF
34044 cat confdefs.h
>>conftest.
$ac_ext
34045 cat >>conftest.
$ac_ext <<_ACEOF
34046 /* end confdefs.h. */
34047 #include <pthread.h>
34052 pthread_mutexattr_t attr;
34053 pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE);
34059 rm -f conftest.
$ac_objext
34060 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34061 (eval $ac_compile) 2>conftest.er1
34063 grep -v '^ *+' conftest.er1
>conftest.err
34065 cat conftest.err
>&5
34066 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34067 (exit $ac_status); } &&
34068 { ac_try
='test -z "$ac_c_werror_flag"
34069 || test ! -s conftest.err'
34070 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34071 (eval $ac_try) 2>&5
34073 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34074 (exit $ac_status); }; } &&
34075 { ac_try
='test -s conftest.$ac_objext'
34076 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34077 (eval $ac_try) 2>&5
34079 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34080 (exit $ac_status); }; }; then
34082 wx_cv_type_pthread_mutexattr_t
=yes
34085 echo "$as_me: failed program was:" >&5
34086 sed 's/^/| /' conftest.
$ac_ext >&5
34089 wx_cv_type_pthread_mutexattr_t
=no
34093 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
34096 echo "$as_me:$LINENO: result: $wx_cv_type_pthread_mutexattr_t" >&5
34097 echo "${ECHO_T}$wx_cv_type_pthread_mutexattr_t" >&6
34099 if test "$wx_cv_type_pthread_mutexattr_t" = "yes"; then
34100 cat >>confdefs.h
<<\_ACEOF
34101 #define HAVE_PTHREAD_MUTEXATTR_T 1
34105 echo "$as_me:$LINENO: checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER" >&5
34106 echo $ECHO_N "checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER... $ECHO_C" >&6
34107 if test "${wx_cv_type_pthread_rec_mutex_init+set}" = set; then
34108 echo $ECHO_N "(cached) $ECHO_C" >&6
34111 cat >conftest.
$ac_ext <<_ACEOF
34114 cat confdefs.h
>>conftest.
$ac_ext
34115 cat >>conftest.
$ac_ext <<_ACEOF
34116 /* end confdefs.h. */
34117 #include <pthread.h>
34122 pthread_mutex_t attr = PTHREAD_RECURSIVE_MUTEX_INITIALIZER_NP;
34128 rm -f conftest.
$ac_objext
34129 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34130 (eval $ac_compile) 2>conftest.er1
34132 grep -v '^ *+' conftest.er1
>conftest.err
34134 cat conftest.err
>&5
34135 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34136 (exit $ac_status); } &&
34137 { ac_try
='test -z "$ac_c_werror_flag"
34138 || test ! -s conftest.err'
34139 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34140 (eval $ac_try) 2>&5
34142 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34143 (exit $ac_status); }; } &&
34144 { ac_try
='test -s conftest.$ac_objext'
34145 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34146 (eval $ac_try) 2>&5
34148 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34149 (exit $ac_status); }; }; then
34151 wx_cv_type_pthread_rec_mutex_init
=yes
34154 echo "$as_me: failed program was:" >&5
34155 sed 's/^/| /' conftest.
$ac_ext >&5
34158 wx_cv_type_pthread_rec_mutex_init
=no
34162 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
34165 echo "$as_me:$LINENO: result: $wx_cv_type_pthread_rec_mutex_init" >&5
34166 echo "${ECHO_T}$wx_cv_type_pthread_rec_mutex_init" >&6
34167 if test "$wx_cv_type_pthread_rec_mutex_init" = "yes"; then
34168 cat >>confdefs.h
<<\_ACEOF
34169 #define HAVE_PTHREAD_RECURSIVE_MUTEX_INITIALIZER 1
34173 { echo "$as_me:$LINENO: WARNING: wxMutex won't be recursive on this platform" >&5
34174 echo "$as_me: WARNING: wxMutex won't be recursive on this platform" >&2;}
34180 if test "$wxUSE_THREADS" = "yes" ; then
34183 echo "$as_me:$LINENO: checking if compiler supports -mthreads" >&5
34184 echo $ECHO_N "checking if compiler supports -mthreads... $ECHO_C" >&6
34185 if test "${wx_cv_cflags_mthread+set}" = set; then
34186 echo $ECHO_N "(cached) $ECHO_C" >&6
34189 CFLAGS_OLD
="$CFLAGS"
34190 CFLAGS
="$CFLAGS -mthreads"
34191 cat >conftest.
$ac_ext <<_ACEOF
34194 cat confdefs.h
>>conftest.
$ac_ext
34195 cat >>conftest.
$ac_ext <<_ACEOF
34196 /* end confdefs.h. */
34206 rm -f conftest.
$ac_objext
34207 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34208 (eval $ac_compile) 2>conftest.er1
34210 grep -v '^ *+' conftest.er1
>conftest.err
34212 cat conftest.err
>&5
34213 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34214 (exit $ac_status); } &&
34215 { ac_try
='test -z "$ac_c_werror_flag"
34216 || test ! -s conftest.err'
34217 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34218 (eval $ac_try) 2>&5
34220 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34221 (exit $ac_status); }; } &&
34222 { ac_try
='test -s conftest.$ac_objext'
34223 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34224 (eval $ac_try) 2>&5
34226 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34227 (exit $ac_status); }; }; then
34228 wx_cv_cflags_mthread
=yes
34230 echo "$as_me: failed program was:" >&5
34231 sed 's/^/| /' conftest.
$ac_ext >&5
34233 wx_cv_cflags_mthread
=no
34236 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
34240 echo "$as_me:$LINENO: result: $wx_cv_cflags_mthread" >&5
34241 echo "${ECHO_T}$wx_cv_cflags_mthread" >&6
34243 if test "$wx_cv_cflags_mthread" = "yes"; then
34244 CXXFLAGS
="$CXXFLAGS -mthreads"
34245 TOOLCHAIN_DEFS
="$TOOLCHAIN_DEFS -mthreads"
34246 LDFLAGS
="$LDFLAGS -mthreads"
34248 CFLAGS
="$CFLAGS_OLD"
34252 CFLAGS
="$CFLAGS -Zmt -D__ST_MT_ERRNO__"
34253 CXXFLAGS
="$CXXFLAGS -Zmt -D__ST_MT_ERRNO__"
34254 LDFLAGS
="$LDFLAGS -Zmt"
34260 if test "$wxUSE_THREADS" = "yes"; then
34261 cat >>confdefs.h
<<\_ACEOF
34262 #define wxUSE_THREADS 1
34266 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS thread"
34268 if test "$ac_cv_func_strtok_r" = "yes"; then
34269 echo "$as_me:$LINENO: checking if -D_REENTRANT is needed" >&5
34270 echo $ECHO_N "checking if -D_REENTRANT is needed... $ECHO_C" >&6
34271 if test "$NEEDS_D_REENTRANT_FOR_R_FUNCS" = 1; then
34272 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -D_REENTRANT"
34273 echo "$as_me:$LINENO: result: yes" >&5
34274 echo "${ECHO_T}yes" >&6
34276 echo "$as_me:$LINENO: result: no" >&5
34277 echo "${ECHO_T}no" >&6
34282 if test "$WXGTK20" = 1 ; then
34283 cat >>confdefs.h
<<_ACEOF
34284 #define __WXGTK20__ $WXGTK20
34290 if test "$WXGTK12" = 1 ; then
34291 cat >>confdefs.h
<<_ACEOF
34292 #define __WXGTK12__ $WXGTK12
34297 if test "$WXGTK127" = 1 ; then
34298 cat >>confdefs.h
<<_ACEOF
34299 #define __WXGTK127__ $WXGTK127
34304 if test "$WXGPE" = 1 ; then
34305 cat >>confdefs.h
<<_ACEOF
34306 #define __WXGPE__ $WXGPE
34313 if test "$wxUSE_DEBUG_INFO" = "yes" ; then
34318 if test "$wxUSE_DEBUG_GDB" = "yes" ; then
34319 wxUSE_DEBUG_INFO
=yes
34323 if test "$wxUSE_DEBUG_FLAG" = "yes" ; then
34324 cat >>confdefs.h
<<\_ACEOF
34328 WXDEBUG_DEFINE
="-D__WXDEBUG__"
34330 if test "$wxUSE_GTK" = 1 ; then
34331 WXDEBUG_DEFINE
="-DGTK_NO_CHECK_CASTS"
34335 if test "$wxUSE_MEM_TRACING" = "yes" ; then
34336 cat >>confdefs.h
<<\_ACEOF
34337 #define wxUSE_MEMORY_TRACING 1
34340 cat >>confdefs.h
<<\_ACEOF
34341 #define wxUSE_GLOBAL_MEMORY_OPERATORS 1
34344 cat >>confdefs.h
<<\_ACEOF
34345 #define wxUSE_DEBUG_NEW_ALWAYS 1
34348 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS memcheck"
34351 if test "$wxUSE_DMALLOC" = "yes" ; then
34352 DMALLOC_LIBS
="-ldmalloc"
34356 if test "$wxUSE_PROFILE" = "yes" ; then
34361 CODE_GEN_FLAGS_CXX
=
34362 if test "$GCC" = "yes" ; then
34363 if test "$wxUSE_NO_RTTI" = "yes" ; then
34364 CODE_GEN_FLAGS_CXX
="$CODE_GEN_FLAGS_CXX -fno-rtti"
34366 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
34367 CODE_GEN_FLAGS_CXX
="$CODE_GEN_FLAGS_CXX -fno-exceptions"
34369 if test "$wxUSE_PERMISSIVE" = "yes" ; then
34370 CODE_GEN_FLAGS
="$CODE_GEN_FLAGS -fpermissive"
34375 CODE_GEN_FLAGS
="$CODE_GEN_FLAGS -mminimal-toc"
34378 CODE_GEN_FLAGS
="$CODE_GEN_FLAGS -ffunction-sections"
34384 if test "$wxUSE_OPTIMISE" = "no" ; then
34385 if test "$GCC" = yes ; then
34389 if test "$GCC" = yes ; then
34393 i586
-*-*|i686
-*-* )
34394 OPTIMISE
="${OPTIMISE} "
34403 if test "x$WXWIN_COMPATIBILITY_2_2" = "xyes"; then
34404 cat >>confdefs.h
<<\_ACEOF
34405 #define WXWIN_COMPATIBILITY_2_2 1
34409 WXWIN_COMPATIBILITY_2_4
="yes"
34412 if test "x$WXWIN_COMPATIBILITY_2_4" != "xno"; then
34413 cat >>confdefs.h
<<\_ACEOF
34414 #define WXWIN_COMPATIBILITY_2_4 1
34420 if test "$wxUSE_GUI" = "yes"; then
34421 cat >>confdefs.h
<<\_ACEOF
34422 #define wxUSE_GUI 1
34427 cat >>confdefs.h
<<\_ACEOF
34428 #define wxUSE_NOGUI 1
34434 if test "$wxUSE_UNIX" = "yes"; then
34435 cat >>confdefs.h
<<\_ACEOF
34436 #define wxUSE_UNIX 1
34442 if test "$TOOLKIT" != "MSW" -a "$USE_OS2" != 1; then
34446 if test "$wxUSE_DYNAMIC_LOADER" = "yes" -o "$wxUSE_DYNLIB_CLASS" = "yes" ; then
34447 if test "$USE_DARWIN" = 1; then
34451 for ac_func
in dlopen
34453 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34454 echo "$as_me:$LINENO: checking for $ac_func" >&5
34455 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
34456 if eval "test \"\${$as_ac_var+set}\" = set"; then
34457 echo $ECHO_N "(cached) $ECHO_C" >&6
34459 cat >conftest.
$ac_ext <<_ACEOF
34462 cat confdefs.h
>>conftest.
$ac_ext
34463 cat >>conftest.
$ac_ext <<_ACEOF
34464 /* end confdefs.h. */
34465 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34466 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34467 #define $ac_func innocuous_$ac_func
34469 /* System header to define __stub macros and hopefully few prototypes,
34470 which can conflict with char $ac_func (); below.
34471 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34472 <limits.h> exists even on freestanding compilers. */
34475 # include <limits.h>
34477 # include <assert.h>
34482 /* Override any gcc2 internal prototype to avoid an error. */
34487 /* We use char because int might match the return type of a gcc2
34488 builtin and then its argument prototype would still apply. */
34490 /* The GNU C library defines this for functions which it implements
34491 to always fail with ENOSYS. Some functions are actually named
34492 something starting with __ and the normal name is an alias. */
34493 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
34496 char (*f) () = $ac_func;
34505 return f != $ac_func;
34510 rm -f conftest.
$ac_objext conftest
$ac_exeext
34511 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34512 (eval $ac_link) 2>conftest.er1
34514 grep -v '^ *+' conftest.er1
>conftest.err
34516 cat conftest.err
>&5
34517 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34518 (exit $ac_status); } &&
34519 { ac_try
='test -z "$ac_c_werror_flag"
34520 || test ! -s conftest.err'
34521 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34522 (eval $ac_try) 2>&5
34524 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34525 (exit $ac_status); }; } &&
34526 { ac_try
='test -s conftest$ac_exeext'
34527 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34528 (eval $ac_try) 2>&5
34530 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34531 (exit $ac_status); }; }; then
34532 eval "$as_ac_var=yes"
34534 echo "$as_me: failed program was:" >&5
34535 sed 's/^/| /' conftest.
$ac_ext >&5
34537 eval "$as_ac_var=no"
34539 rm -f conftest.err conftest.
$ac_objext \
34540 conftest
$ac_exeext conftest.
$ac_ext
34542 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
34543 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
34544 if test `eval echo '${'$as_ac_var'}'` = yes; then
34545 cat >>confdefs.h
<<_ACEOF
34546 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34549 cat >>confdefs.h
<<\_ACEOF
34550 #define HAVE_DLOPEN 1
34557 echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
34558 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
34559 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
34560 echo $ECHO_N "(cached) $ECHO_C" >&6
34562 ac_check_lib_save_LIBS
=$LIBS
34564 cat >conftest.
$ac_ext <<_ACEOF
34567 cat confdefs.h
>>conftest.
$ac_ext
34568 cat >>conftest.
$ac_ext <<_ACEOF
34569 /* end confdefs.h. */
34571 /* Override any gcc2 internal prototype to avoid an error. */
34575 /* We use char because int might match the return type of a gcc2
34576 builtin and then its argument prototype would still apply. */
34586 rm -f conftest.
$ac_objext conftest
$ac_exeext
34587 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34588 (eval $ac_link) 2>conftest.er1
34590 grep -v '^ *+' conftest.er1
>conftest.err
34592 cat conftest.err
>&5
34593 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34594 (exit $ac_status); } &&
34595 { ac_try
='test -z "$ac_c_werror_flag"
34596 || test ! -s conftest.err'
34597 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34598 (eval $ac_try) 2>&5
34600 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34601 (exit $ac_status); }; } &&
34602 { ac_try
='test -s conftest$ac_exeext'
34603 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34604 (eval $ac_try) 2>&5
34606 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34607 (exit $ac_status); }; }; then
34608 ac_cv_lib_dl_dlopen
=yes
34610 echo "$as_me: failed program was:" >&5
34611 sed 's/^/| /' conftest.
$ac_ext >&5
34613 ac_cv_lib_dl_dlopen
=no
34615 rm -f conftest.err conftest.
$ac_objext \
34616 conftest
$ac_exeext conftest.
$ac_ext
34617 LIBS
=$ac_check_lib_save_LIBS
34619 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
34620 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
34621 if test $ac_cv_lib_dl_dlopen = yes; then
34623 cat >>confdefs.h
<<\_ACEOF
34624 #define HAVE_DLOPEN 1
34628 DL_LINK
=" -ldl$DL_LINK"
34633 for ac_func
in shl_load
34635 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34636 echo "$as_me:$LINENO: checking for $ac_func" >&5
34637 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
34638 if eval "test \"\${$as_ac_var+set}\" = set"; then
34639 echo $ECHO_N "(cached) $ECHO_C" >&6
34641 cat >conftest.
$ac_ext <<_ACEOF
34644 cat confdefs.h
>>conftest.
$ac_ext
34645 cat >>conftest.
$ac_ext <<_ACEOF
34646 /* end confdefs.h. */
34647 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34648 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34649 #define $ac_func innocuous_$ac_func
34651 /* System header to define __stub macros and hopefully few prototypes,
34652 which can conflict with char $ac_func (); below.
34653 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34654 <limits.h> exists even on freestanding compilers. */
34657 # include <limits.h>
34659 # include <assert.h>
34664 /* Override any gcc2 internal prototype to avoid an error. */
34669 /* We use char because int might match the return type of a gcc2
34670 builtin and then its argument prototype would still apply. */
34672 /* The GNU C library defines this for functions which it implements
34673 to always fail with ENOSYS. Some functions are actually named
34674 something starting with __ and the normal name is an alias. */
34675 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
34678 char (*f) () = $ac_func;
34687 return f != $ac_func;
34692 rm -f conftest.
$ac_objext conftest
$ac_exeext
34693 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34694 (eval $ac_link) 2>conftest.er1
34696 grep -v '^ *+' conftest.er1
>conftest.err
34698 cat conftest.err
>&5
34699 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34700 (exit $ac_status); } &&
34701 { ac_try
='test -z "$ac_c_werror_flag"
34702 || test ! -s conftest.err'
34703 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34704 (eval $ac_try) 2>&5
34706 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34707 (exit $ac_status); }; } &&
34708 { ac_try
='test -s conftest$ac_exeext'
34709 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34710 (eval $ac_try) 2>&5
34712 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34713 (exit $ac_status); }; }; then
34714 eval "$as_ac_var=yes"
34716 echo "$as_me: failed program was:" >&5
34717 sed 's/^/| /' conftest.
$ac_ext >&5
34719 eval "$as_ac_var=no"
34721 rm -f conftest.err conftest.
$ac_objext \
34722 conftest
$ac_exeext conftest.
$ac_ext
34724 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
34725 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
34726 if test `eval echo '${'$as_ac_var'}'` = yes; then
34727 cat >>confdefs.h
<<_ACEOF
34728 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34731 cat >>confdefs.h
<<\_ACEOF
34732 #define HAVE_SHL_LOAD 1
34739 echo "$as_me:$LINENO: checking for dld in -lshl_load" >&5
34740 echo $ECHO_N "checking for dld in -lshl_load... $ECHO_C" >&6
34741 if test "${ac_cv_lib_shl_load_dld+set}" = set; then
34742 echo $ECHO_N "(cached) $ECHO_C" >&6
34744 ac_check_lib_save_LIBS
=$LIBS
34745 LIBS
="-lshl_load $LIBS"
34746 cat >conftest.
$ac_ext <<_ACEOF
34749 cat confdefs.h
>>conftest.
$ac_ext
34750 cat >>conftest.
$ac_ext <<_ACEOF
34751 /* end confdefs.h. */
34753 /* Override any gcc2 internal prototype to avoid an error. */
34757 /* We use char because int might match the return type of a gcc2
34758 builtin and then its argument prototype would still apply. */
34768 rm -f conftest.
$ac_objext conftest
$ac_exeext
34769 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34770 (eval $ac_link) 2>conftest.er1
34772 grep -v '^ *+' conftest.er1
>conftest.err
34774 cat conftest.err
>&5
34775 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34776 (exit $ac_status); } &&
34777 { ac_try
='test -z "$ac_c_werror_flag"
34778 || test ! -s conftest.err'
34779 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34780 (eval $ac_try) 2>&5
34782 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34783 (exit $ac_status); }; } &&
34784 { ac_try
='test -s conftest$ac_exeext'
34785 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34786 (eval $ac_try) 2>&5
34788 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34789 (exit $ac_status); }; }; then
34790 ac_cv_lib_shl_load_dld
=yes
34792 echo "$as_me: failed program was:" >&5
34793 sed 's/^/| /' conftest.
$ac_ext >&5
34795 ac_cv_lib_shl_load_dld
=no
34797 rm -f conftest.err conftest.
$ac_objext \
34798 conftest
$ac_exeext conftest.
$ac_ext
34799 LIBS
=$ac_check_lib_save_LIBS
34801 echo "$as_me:$LINENO: result: $ac_cv_lib_shl_load_dld" >&5
34802 echo "${ECHO_T}$ac_cv_lib_shl_load_dld" >&6
34803 if test $ac_cv_lib_shl_load_dld = yes; then
34806 DL_LINK
=" -ldld$DL_LINK"
34822 if test "$HAVE_DL_FUNCS" = 1; then
34824 for ac_func
in dlerror
34826 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34827 echo "$as_me:$LINENO: checking for $ac_func" >&5
34828 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
34829 if eval "test \"\${$as_ac_var+set}\" = set"; then
34830 echo $ECHO_N "(cached) $ECHO_C" >&6
34832 cat >conftest.
$ac_ext <<_ACEOF
34835 cat confdefs.h
>>conftest.
$ac_ext
34836 cat >>conftest.
$ac_ext <<_ACEOF
34837 /* end confdefs.h. */
34838 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34839 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34840 #define $ac_func innocuous_$ac_func
34842 /* System header to define __stub macros and hopefully few prototypes,
34843 which can conflict with char $ac_func (); below.
34844 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34845 <limits.h> exists even on freestanding compilers. */
34848 # include <limits.h>
34850 # include <assert.h>
34855 /* Override any gcc2 internal prototype to avoid an error. */
34860 /* We use char because int might match the return type of a gcc2
34861 builtin and then its argument prototype would still apply. */
34863 /* The GNU C library defines this for functions which it implements
34864 to always fail with ENOSYS. Some functions are actually named
34865 something starting with __ and the normal name is an alias. */
34866 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
34869 char (*f) () = $ac_func;
34878 return f != $ac_func;
34883 rm -f conftest.
$ac_objext conftest
$ac_exeext
34884 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34885 (eval $ac_link) 2>conftest.er1
34887 grep -v '^ *+' conftest.er1
>conftest.err
34889 cat conftest.err
>&5
34890 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34891 (exit $ac_status); } &&
34892 { ac_try
='test -z "$ac_c_werror_flag"
34893 || test ! -s conftest.err'
34894 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34895 (eval $ac_try) 2>&5
34897 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34898 (exit $ac_status); }; } &&
34899 { ac_try
='test -s conftest$ac_exeext'
34900 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34901 (eval $ac_try) 2>&5
34903 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34904 (exit $ac_status); }; }; then
34905 eval "$as_ac_var=yes"
34907 echo "$as_me: failed program was:" >&5
34908 sed 's/^/| /' conftest.
$ac_ext >&5
34910 eval "$as_ac_var=no"
34912 rm -f conftest.err conftest.
$ac_objext \
34913 conftest
$ac_exeext conftest.
$ac_ext
34915 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
34916 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
34917 if test `eval echo '${'$as_ac_var'}'` = yes; then
34918 cat >>confdefs.h
<<_ACEOF
34919 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34921 cat >>confdefs.h
<<\_ACEOF
34922 #define HAVE_DLERROR 1
34927 echo "$as_me:$LINENO: checking for dlerror in -ldl" >&5
34928 echo $ECHO_N "checking for dlerror in -ldl... $ECHO_C" >&6
34929 if test "${ac_cv_lib_dl_dlerror+set}" = set; then
34930 echo $ECHO_N "(cached) $ECHO_C" >&6
34932 ac_check_lib_save_LIBS
=$LIBS
34934 cat >conftest.
$ac_ext <<_ACEOF
34937 cat confdefs.h
>>conftest.
$ac_ext
34938 cat >>conftest.
$ac_ext <<_ACEOF
34939 /* end confdefs.h. */
34941 /* Override any gcc2 internal prototype to avoid an error. */
34945 /* We use char because int might match the return type of a gcc2
34946 builtin and then its argument prototype would still apply. */
34956 rm -f conftest.
$ac_objext conftest
$ac_exeext
34957 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34958 (eval $ac_link) 2>conftest.er1
34960 grep -v '^ *+' conftest.er1
>conftest.err
34962 cat conftest.err
>&5
34963 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34964 (exit $ac_status); } &&
34965 { ac_try
='test -z "$ac_c_werror_flag"
34966 || test ! -s conftest.err'
34967 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34968 (eval $ac_try) 2>&5
34970 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34971 (exit $ac_status); }; } &&
34972 { ac_try
='test -s conftest$ac_exeext'
34973 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34974 (eval $ac_try) 2>&5
34976 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34977 (exit $ac_status); }; }; then
34978 ac_cv_lib_dl_dlerror
=yes
34980 echo "$as_me: failed program was:" >&5
34981 sed 's/^/| /' conftest.
$ac_ext >&5
34983 ac_cv_lib_dl_dlerror
=no
34985 rm -f conftest.err conftest.
$ac_objext \
34986 conftest
$ac_exeext conftest.
$ac_ext
34987 LIBS
=$ac_check_lib_save_LIBS
34989 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlerror" >&5
34990 echo "${ECHO_T}$ac_cv_lib_dl_dlerror" >&6
34991 if test $ac_cv_lib_dl_dlerror = yes; then
34992 cat >>confdefs.h
<<\_ACEOF
34993 #define HAVE_DLERROR 1
35006 if test "$HAVE_DL_FUNCS" = 0; then
35007 if test "$HAVE_SHL_FUNCS" = 0; then
35008 if test "$USE_UNIX" = 1; then
35009 { echo "$as_me:$LINENO: WARNING: Missing dynamic loading support, several features will be disabled" >&5
35010 echo "$as_me: WARNING: Missing dynamic loading support, several features will be disabled" >&2;}
35011 wxUSE_DYNAMIC_LOADER
=no
35012 wxUSE_DYNLIB_CLASS
=no
35014 { echo "$as_me:$LINENO: WARNING: Assuming wxLibrary class works on this platform" >&5
35015 echo "$as_me: WARNING: Assuming wxLibrary class works on this platform" >&2;}
35022 if test "$wxUSE_DYNAMIC_LOADER" = "yes" ; then
35023 cat >>confdefs.h
<<\_ACEOF
35024 #define wxUSE_DYNAMIC_LOADER 1
35028 if test "$wxUSE_DYNLIB_CLASS" = "yes" ; then
35029 cat >>confdefs.h
<<\_ACEOF
35030 #define wxUSE_DYNLIB_CLASS 1
35037 if test "$wxUSE_PLUGINS" = "yes" ; then
35038 if test "$wxUSE_SHARED" = "no" ; then
35039 { echo "$as_me:$LINENO: WARNING: plugins supported only in shared build, disabling" >&5
35040 echo "$as_me: WARNING: plugins supported only in shared build, disabling" >&2;}
35043 if test "$wxUSE_MONOLITHIC" = "yes" ; then
35044 { echo "$as_me:$LINENO: WARNING: plugins not supported monolithic build, disabling" >&5
35045 echo "$as_me: WARNING: plugins not supported monolithic build, disabling" >&2;}
35048 if test "$wxUSE_DYNLIB_CLASS" = "no" ; then
35049 { echo "$as_me:$LINENO: WARNING: plugins require wxDynamicLibrary, disabling" >&5
35050 echo "$as_me: WARNING: plugins require wxDynamicLibrary, disabling" >&2;}
35053 if test "$wxUSE_PLUGINS" = "yes" ; then
35054 cat >>confdefs.h
<<\_ACEOF
35055 #define wxUSE_PLUGINS 1
35062 if test "$wxUSE_STL" = "yes"; then
35063 cat >>confdefs.h
<<\_ACEOF
35064 #define wxUSE_STL 1
35069 if test "$wxUSE_APPLE_IEEE" = "yes"; then
35070 cat >>confdefs.h
<<\_ACEOF
35071 #define wxUSE_APPLE_IEEE 1
35076 if test "$wxUSE_TIMER" = "yes"; then
35077 cat >>confdefs.h
<<\_ACEOF
35078 #define wxUSE_TIMER 1
35084 if test "$wxUSE_SOUND" = "yes"; then
35085 if test "$USE_UNIX" = "1" ; then
35087 for ac_header
in sys
/soundcard.h
35089 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
35090 if eval "test \"\${$as_ac_Header+set}\" = set"; then
35091 echo "$as_me:$LINENO: checking for $ac_header" >&5
35092 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
35093 if eval "test \"\${$as_ac_Header+set}\" = set"; then
35094 echo $ECHO_N "(cached) $ECHO_C" >&6
35096 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
35097 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
35099 # Is the header compilable?
35100 echo "$as_me:$LINENO: checking $ac_header usability" >&5
35101 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
35102 cat >conftest.
$ac_ext <<_ACEOF
35105 cat confdefs.h
>>conftest.
$ac_ext
35106 cat >>conftest.
$ac_ext <<_ACEOF
35107 /* end confdefs.h. */
35108 $ac_includes_default
35109 #include <$ac_header>
35111 rm -f conftest.
$ac_objext
35112 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35113 (eval $ac_compile) 2>conftest.er1
35115 grep -v '^ *+' conftest.er1
>conftest.err
35117 cat conftest.err
>&5
35118 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35119 (exit $ac_status); } &&
35120 { ac_try
='test -z "$ac_c_werror_flag"
35121 || test ! -s conftest.err'
35122 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35123 (eval $ac_try) 2>&5
35125 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35126 (exit $ac_status); }; } &&
35127 { ac_try
='test -s conftest.$ac_objext'
35128 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35129 (eval $ac_try) 2>&5
35131 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35132 (exit $ac_status); }; }; then
35133 ac_header_compiler
=yes
35135 echo "$as_me: failed program was:" >&5
35136 sed 's/^/| /' conftest.
$ac_ext >&5
35138 ac_header_compiler
=no
35140 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
35141 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
35142 echo "${ECHO_T}$ac_header_compiler" >&6
35144 # Is the header present?
35145 echo "$as_me:$LINENO: checking $ac_header presence" >&5
35146 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
35147 cat >conftest.
$ac_ext <<_ACEOF
35150 cat confdefs.h
>>conftest.
$ac_ext
35151 cat >>conftest.
$ac_ext <<_ACEOF
35152 /* end confdefs.h. */
35153 #include <$ac_header>
35155 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
35156 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
35158 grep -v '^ *+' conftest.er1
>conftest.err
35160 cat conftest.err
>&5
35161 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35162 (exit $ac_status); } >/dev
/null
; then
35163 if test -s conftest.err
; then
35164 ac_cpp_err
=$ac_c_preproc_warn_flag
35165 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
35172 if test -z "$ac_cpp_err"; then
35173 ac_header_preproc
=yes
35175 echo "$as_me: failed program was:" >&5
35176 sed 's/^/| /' conftest.
$ac_ext >&5
35178 ac_header_preproc
=no
35180 rm -f conftest.err conftest.
$ac_ext
35181 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
35182 echo "${ECHO_T}$ac_header_preproc" >&6
35184 # So? What about this header?
35185 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
35187 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
35188 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
35189 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
35190 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
35191 ac_header_preproc
=yes
35194 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
35195 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
35196 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
35197 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
35198 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
35199 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
35200 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
35201 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
35202 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
35203 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
35204 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
35205 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
35208 ## ----------------------------------------- ##
35209 ## Report this to wx-dev@lists.wxwidgets.org ##
35210 ## ----------------------------------------- ##
35213 sed "s/^/$as_me: WARNING: /" >&2
35216 echo "$as_me:$LINENO: checking for $ac_header" >&5
35217 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
35218 if eval "test \"\${$as_ac_Header+set}\" = set"; then
35219 echo $ECHO_N "(cached) $ECHO_C" >&6
35221 eval "$as_ac_Header=\$ac_header_preproc"
35223 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
35224 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
35227 if test `eval echo '${'$as_ac_Header'}'` = yes; then
35228 cat >>confdefs.h
<<_ACEOF
35229 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
35237 if test "$wxUSE_LIBSDL" != "no"; then
35239 # Check whether --with-sdl-prefix or --without-sdl-prefix was given.
35240 if test "${with_sdl_prefix+set}" = set; then
35241 withval
="$with_sdl_prefix"
35242 sdl_prefix
="$withval"
35247 # Check whether --with-sdl-exec-prefix or --without-sdl-exec-prefix was given.
35248 if test "${with_sdl_exec_prefix+set}" = set; then
35249 withval
="$with_sdl_exec_prefix"
35250 sdl_exec_prefix
="$withval"
35254 # Check whether --enable-sdltest or --disable-sdltest was given.
35255 if test "${enable_sdltest+set}" = set; then
35256 enableval
="$enable_sdltest"
35262 if test x
$sdl_exec_prefix != x
; then
35263 sdl_args
="$sdl_args --exec-prefix=$sdl_exec_prefix"
35264 if test x
${SDL_CONFIG+set} != xset
; then
35265 SDL_CONFIG
=$sdl_exec_prefix/bin
/sdl
-config
35268 if test x
$sdl_prefix != x
; then
35269 sdl_args
="$sdl_args --prefix=$sdl_prefix"
35270 if test x
${SDL_CONFIG+set} != xset
; then
35271 SDL_CONFIG
=$sdl_prefix/bin
/sdl
-config
35276 PATH
="$prefix/bin:$prefix/usr/bin:$PATH"
35277 # Extract the first word of "sdl-config", so it can be a program name with args.
35278 set dummy sdl
-config; ac_word
=$2
35279 echo "$as_me:$LINENO: checking for $ac_word" >&5
35280 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
35281 if test "${ac_cv_path_SDL_CONFIG+set}" = set; then
35282 echo $ECHO_N "(cached) $ECHO_C" >&6
35284 case $SDL_CONFIG in
35286 ac_cv_path_SDL_CONFIG
="$SDL_CONFIG" # Let the user override the test with a path.
35289 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
35290 for as_dir
in $PATH
35293 test -z "$as_dir" && as_dir
=.
35294 for ac_exec_ext
in '' $ac_executable_extensions; do
35295 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
35296 ac_cv_path_SDL_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
35297 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
35303 test -z "$ac_cv_path_SDL_CONFIG" && ac_cv_path_SDL_CONFIG
="no"
35307 SDL_CONFIG
=$ac_cv_path_SDL_CONFIG
35309 if test -n "$SDL_CONFIG"; then
35310 echo "$as_me:$LINENO: result: $SDL_CONFIG" >&5
35311 echo "${ECHO_T}$SDL_CONFIG" >&6
35313 echo "$as_me:$LINENO: result: no" >&5
35314 echo "${ECHO_T}no" >&6
35317 min_sdl_version
=1.2.0
35318 echo "$as_me:$LINENO: checking for SDL - version >= $min_sdl_version" >&5
35319 echo $ECHO_N "checking for SDL - version >= $min_sdl_version... $ECHO_C" >&6
35321 if test "$SDL_CONFIG" = "no" ; then
35324 SDL_CFLAGS
=`$SDL_CONFIG $sdlconf_args --cflags`
35325 SDL_LIBS
=`$SDL_CONFIG $sdlconf_args --libs`
35327 sdl_major_version
=`$SDL_CONFIG $sdl_args --version | \
35328 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
35329 sdl_minor_version
=`$SDL_CONFIG $sdl_args --version | \
35330 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
35331 sdl_micro_version
=`$SDL_CONFIG $sdl_config_args --version | \
35332 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
35333 if test "x$enable_sdltest" = "xyes" ; then
35334 ac_save_CFLAGS
="$CFLAGS"
35335 ac_save_LIBS
="$LIBS"
35336 CFLAGS
="$CFLAGS $SDL_CFLAGS"
35337 LIBS
="$LIBS $SDL_LIBS"
35339 if test "$cross_compiling" = yes; then
35340 echo $ac_n "cross compiling; assumed OK... $ac_c"
35342 cat >conftest.
$ac_ext <<_ACEOF
35345 cat confdefs.h
>>conftest.
$ac_ext
35346 cat >>conftest.
$ac_ext <<_ACEOF
35347 /* end confdefs.h. */
35350 #include <stdlib.h>
35351 #include <string.h>
35355 my_strdup (char *str)
35361 new_str = (char *)malloc ((strlen (str) + 1) * sizeof(char));
35362 strcpy (new_str, str);
35370 int main (int argc, char *argv[])
35372 int major, minor, micro;
35375 /* This hangs on some systems (?)
35376 system ("touch conf.sdltest");
35378 { FILE *fp = fopen("conf.sdltest", "a"); if ( fp ) fclose(fp); }
35380 /* HP/UX 9 (%@#!) writes to sscanf strings */
35381 tmp_version = my_strdup("$min_sdl_version");
35382 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
35383 printf("%s, bad version string\n", "$min_sdl_version");
35387 if (($sdl_major_version > major) ||
35388 (($sdl_major_version == major) && ($sdl_minor_version > minor)) ||
35389 (($sdl_major_version == major) && ($sdl_minor_version == minor) && ($sdl_micro_version >= micro)))
35395 printf("\n*** 'sdl-config --version' returned %d.%d.%d, but the minimum version\n", $sdl_major_version, $sdl_minor_version, $sdl_micro_version);
35396 printf("*** of SDL required is %d.%d.%d. If sdl-config is correct, then it is\n", major, minor, micro);
35397 printf("*** best to upgrade to the required version.\n");
35398 printf("*** If sdl-config was wrong, set the environment variable SDL_CONFIG\n");
35399 printf("*** to point to the correct copy of sdl-config, and remove the file\n");
35400 printf("*** config.cache before re-running configure\n");
35407 rm -f conftest
$ac_exeext
35408 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35409 (eval $ac_link) 2>&5
35411 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35412 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
35413 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35414 (eval $ac_try) 2>&5
35416 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35417 (exit $ac_status); }; }; then
35420 echo "$as_me: program exited with status $ac_status" >&5
35421 echo "$as_me: failed program was:" >&5
35422 sed 's/^/| /' conftest.
$ac_ext >&5
35424 ( exit $ac_status )
35427 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
35429 CFLAGS
="$ac_save_CFLAGS"
35430 LIBS
="$ac_save_LIBS"
35433 if test "x$no_sdl" = x
; then
35434 echo "$as_me:$LINENO: result: yes" >&5
35435 echo "${ECHO_T}yes" >&6
35437 EXTRALIBS_SDL
="$SDL_LIBS"
35438 CXXFLAGS
="$CXXFLAGS $SDL_CFLAGS"
35439 cat >>confdefs.h
<<\_ACEOF
35440 #define wxUSE_LIBSDL 1
35445 echo "$as_me:$LINENO: result: no" >&5
35446 echo "${ECHO_T}no" >&6
35447 if test "$SDL_CONFIG" = "no" ; then
35448 echo "*** The sdl-config script installed by SDL could not be found"
35449 echo "*** If SDL was installed in PREFIX, make sure PREFIX/bin is in"
35450 echo "*** your path, or set the SDL_CONFIG environment variable to the"
35451 echo "*** full path to sdl-config."
35453 if test -f conf.sdltest
; then
35456 echo "*** Could not run SDL test program, checking why..."
35457 CFLAGS
="$CFLAGS $SDL_CFLAGS"
35458 LIBS
="$LIBS $SDL_LIBS"
35459 cat >conftest.
$ac_ext <<_ACEOF
35462 cat confdefs.h
>>conftest.
$ac_ext
35463 cat >>conftest.
$ac_ext <<_ACEOF
35464 /* end confdefs.h. */
35469 int main(int argc, char *argv[])
35472 #define main K_and_R_C_main
35482 rm -f conftest.
$ac_objext conftest
$ac_exeext
35483 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35484 (eval $ac_link) 2>conftest.er1
35486 grep -v '^ *+' conftest.er1
>conftest.err
35488 cat conftest.err
>&5
35489 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35490 (exit $ac_status); } &&
35491 { ac_try
='test -z "$ac_c_werror_flag"
35492 || test ! -s conftest.err'
35493 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35494 (eval $ac_try) 2>&5
35496 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35497 (exit $ac_status); }; } &&
35498 { ac_try
='test -s conftest$ac_exeext'
35499 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35500 (eval $ac_try) 2>&5
35502 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35503 (exit $ac_status); }; }; then
35504 echo "*** The test program compiled, but did not run. This usually means"
35505 echo "*** that the run-time linker is not finding SDL or finding the wrong"
35506 echo "*** version of SDL. If it is not finding SDL, you'll need to set your"
35507 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
35508 echo "*** to the installed location Also, make sure you have run ldconfig if that"
35509 echo "*** is required on your system"
35511 echo "*** If you have an old version installed, it is best to remove it, although"
35512 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
35514 echo "$as_me: failed program was:" >&5
35515 sed 's/^/| /' conftest.
$ac_ext >&5
35517 echo "*** The test program failed to compile or link. See the file config.log for the"
35518 echo "*** exact error that occured. This usually means SDL was incorrectly installed"
35519 echo "*** or that you have moved SDL since it was installed. In the latter case, you"
35520 echo "*** may want to edit the sdl-config script: $SDL_CONFIG"
35522 rm -f conftest.err conftest.
$ac_objext \
35523 conftest
$ac_exeext conftest.
$ac_ext
35524 CFLAGS
="$ac_save_CFLAGS"
35525 LIBS
="$ac_save_LIBS"
35536 if test "$wxUSE_LIBSDL" = "yes" -a "$wxUSE_PLUGINS" = "yes" ; then
35542 cat >>confdefs.h
<<\_ACEOF
35543 #define wxUSE_SOUND 1
35546 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS sound"
35549 if test "$wxUSE_CMDLINE_PARSER" = "yes"; then
35550 cat >>confdefs.h
<<\_ACEOF
35551 #define wxUSE_CMDLINE_PARSER 1
35556 if test "$wxUSE_STOPWATCH" = "yes"; then
35557 cat >>confdefs.h
<<\_ACEOF
35558 #define wxUSE_STOPWATCH 1
35563 if test "$wxUSE_DATETIME" = "yes"; then
35564 cat >>confdefs.h
<<\_ACEOF
35565 #define wxUSE_DATETIME 1
35570 if test "$wxUSE_FILE" = "yes"; then
35571 cat >>confdefs.h
<<\_ACEOF
35572 #define wxUSE_FILE 1
35577 if test "$wxUSE_FFILE" = "yes"; then
35578 cat >>confdefs.h
<<\_ACEOF
35579 #define wxUSE_FFILE 1
35584 if test "$wxUSE_FILESYSTEM" = "yes"; then
35585 cat >>confdefs.h
<<\_ACEOF
35586 #define wxUSE_FILESYSTEM 1
35591 if test "$wxUSE_FS_ZIP" = "yes"; then
35592 cat >>confdefs.h
<<\_ACEOF
35593 #define wxUSE_FS_ZIP 1
35598 if test "$wxUSE_ZIPSTREAM" = "yes"; then
35599 cat >>confdefs.h
<<\_ACEOF
35600 #define wxUSE_ZIPSTREAM 1
35605 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
35606 cat >>confdefs.h
<<\_ACEOF
35607 #define wxUSE_ON_FATAL_EXCEPTION 1
35612 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
35613 cat >>confdefs.h
<<\_ACEOF
35614 #define wxUSE_SNGLINST_CHECKER 1
35619 if test "$wxUSE_BUSYINFO" = "yes"; then
35620 cat >>confdefs.h
<<\_ACEOF
35621 #define wxUSE_BUSYINFO 1
35626 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
35627 cat >>confdefs.h
<<\_ACEOF
35628 #define wxUSE_STD_IOSTREAM 1
35633 if test "$wxUSE_TEXTBUFFER" = "yes"; then
35634 cat >>confdefs.h
<<\_ACEOF
35635 #define wxUSE_TEXTBUFFER 1
35640 if test "$wxUSE_TEXTFILE" = "yes"; then
35641 if test "$wxUSE_FILE" != "yes" -o "$wxUSE_TEXTBUFFER" != "yes" ; then
35642 { echo "$as_me:$LINENO: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&5
35643 echo "$as_me: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&2;}
35645 cat >>confdefs.h
<<\_ACEOF
35646 #define wxUSE_TEXTFILE 1
35652 if test "$wxUSE_CONFIG" = "yes" ; then
35653 if test "$wxUSE_TEXTFILE" != "yes"; then
35654 { echo "$as_me:$LINENO: WARNING: wxConfig requires wxTextFile... disabled" >&5
35655 echo "$as_me: WARNING: wxConfig requires wxTextFile... disabled" >&2;}
35657 cat >>confdefs.h
<<\_ACEOF
35658 #define wxUSE_CONFIG 1
35661 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS config"
35665 if test "$wxUSE_INTL" = "yes" ; then
35666 if test "$wxUSE_FILE" != "yes"; then
35667 { echo "$as_me:$LINENO: WARNING: I18n code requires wxFile... disabled" >&5
35668 echo "$as_me: WARNING: I18n code requires wxFile... disabled" >&2;}
35670 cat >>confdefs.h
<<\_ACEOF
35671 #define wxUSE_INTL 1
35674 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS internat"
35675 GUIDIST
="$GUIDIST INTL_DIST"
35679 if test "$wxUSE_LOG" = "yes"; then
35680 cat >>confdefs.h
<<\_ACEOF
35681 #define wxUSE_LOG 1
35685 if test "$wxUSE_LOGGUI" = "yes"; then
35686 cat >>confdefs.h
<<\_ACEOF
35687 #define wxUSE_LOGGUI 1
35692 if test "$wxUSE_LOGWINDOW" = "yes"; then
35693 cat >>confdefs.h
<<\_ACEOF
35694 #define wxUSE_LOGWINDOW 1
35699 if test "$wxUSE_LOGDIALOG" = "yes"; then
35700 cat >>confdefs.h
<<\_ACEOF
35701 #define wxUSE_LOG_DIALOG 1
35707 if test "$wxUSE_LONGLONG" = "yes"; then
35708 cat >>confdefs.h
<<\_ACEOF
35709 #define wxUSE_LONGLONG 1
35714 if test "$wxUSE_GEOMETRY" = "yes"; then
35715 cat >>confdefs.h
<<\_ACEOF
35716 #define wxUSE_GEOMETRY 1
35721 if test "$wxUSE_DIALUP_MANAGER" = "yes" ; then
35722 cat >>confdefs.h
<<\_ACEOF
35723 #define wxUSE_DIALUP_MANAGER 1
35726 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS dialup"
35729 if test "$wxUSE_STREAMS" = "yes" ; then
35730 cat >>confdefs.h
<<\_ACEOF
35731 #define wxUSE_STREAMS 1
35737 if test "$wxUSE_DATETIME" = "yes"; then
35739 for ac_func
in strptime
35741 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35742 echo "$as_me:$LINENO: checking for $ac_func" >&5
35743 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
35744 if eval "test \"\${$as_ac_var+set}\" = set"; then
35745 echo $ECHO_N "(cached) $ECHO_C" >&6
35747 cat >conftest.
$ac_ext <<_ACEOF
35750 cat confdefs.h
>>conftest.
$ac_ext
35751 cat >>conftest.
$ac_ext <<_ACEOF
35752 /* end confdefs.h. */
35753 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35754 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35755 #define $ac_func innocuous_$ac_func
35757 /* System header to define __stub macros and hopefully few prototypes,
35758 which can conflict with char $ac_func (); below.
35759 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35760 <limits.h> exists even on freestanding compilers. */
35763 # include <limits.h>
35765 # include <assert.h>
35770 /* Override any gcc2 internal prototype to avoid an error. */
35775 /* We use char because int might match the return type of a gcc2
35776 builtin and then its argument prototype would still apply. */
35778 /* The GNU C library defines this for functions which it implements
35779 to always fail with ENOSYS. Some functions are actually named
35780 something starting with __ and the normal name is an alias. */
35781 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
35784 char (*f) () = $ac_func;
35793 return f != $ac_func;
35798 rm -f conftest.
$ac_objext conftest
$ac_exeext
35799 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35800 (eval $ac_link) 2>conftest.er1
35802 grep -v '^ *+' conftest.er1
>conftest.err
35804 cat conftest.err
>&5
35805 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35806 (exit $ac_status); } &&
35807 { ac_try
='test -z "$ac_c_werror_flag"
35808 || test ! -s conftest.err'
35809 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35810 (eval $ac_try) 2>&5
35812 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35813 (exit $ac_status); }; } &&
35814 { ac_try
='test -s conftest$ac_exeext'
35815 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35816 (eval $ac_try) 2>&5
35818 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35819 (exit $ac_status); }; }; then
35820 eval "$as_ac_var=yes"
35822 echo "$as_me: failed program was:" >&5
35823 sed 's/^/| /' conftest.
$ac_ext >&5
35825 eval "$as_ac_var=no"
35827 rm -f conftest.err conftest.
$ac_objext \
35828 conftest
$ac_exeext conftest.
$ac_ext
35830 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
35831 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
35832 if test `eval echo '${'$as_ac_var'}'` = yes; then
35833 cat >>confdefs.h
<<_ACEOF
35834 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35841 echo "$as_me:$LINENO: checking for timezone variable in <time.h>" >&5
35842 echo $ECHO_N "checking for timezone variable in <time.h>... $ECHO_C" >&6
35843 if test "${wx_cv_var_timezone+set}" = set; then
35844 echo $ECHO_N "(cached) $ECHO_C" >&6
35847 cat >conftest.
$ac_ext <<_ACEOF
35850 cat confdefs.h
>>conftest.
$ac_ext
35851 cat >>conftest.
$ac_ext <<_ACEOF
35852 /* end confdefs.h. */
35867 rm -f conftest.
$ac_objext
35868 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35869 (eval $ac_compile) 2>conftest.er1
35871 grep -v '^ *+' conftest.er1
>conftest.err
35873 cat conftest.err
>&5
35874 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35875 (exit $ac_status); } &&
35876 { ac_try
='test -z "$ac_c_werror_flag"
35877 || test ! -s conftest.err'
35878 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35879 (eval $ac_try) 2>&5
35881 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35882 (exit $ac_status); }; } &&
35883 { ac_try
='test -s conftest.$ac_objext'
35884 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35885 (eval $ac_try) 2>&5
35887 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35888 (exit $ac_status); }; }; then
35890 wx_cv_var_timezone
=timezone
35893 echo "$as_me: failed program was:" >&5
35894 sed 's/^/| /' conftest.
$ac_ext >&5
35897 cat >conftest.
$ac_ext <<_ACEOF
35900 cat confdefs.h
>>conftest.
$ac_ext
35901 cat >>conftest.
$ac_ext <<_ACEOF
35902 /* end confdefs.h. */
35917 rm -f conftest.
$ac_objext
35918 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35919 (eval $ac_compile) 2>conftest.er1
35921 grep -v '^ *+' conftest.er1
>conftest.err
35923 cat conftest.err
>&5
35924 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35925 (exit $ac_status); } &&
35926 { ac_try
='test -z "$ac_c_werror_flag"
35927 || test ! -s conftest.err'
35928 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35929 (eval $ac_try) 2>&5
35931 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35932 (exit $ac_status); }; } &&
35933 { ac_try
='test -s conftest.$ac_objext'
35934 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35935 (eval $ac_try) 2>&5
35937 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35938 (exit $ac_status); }; }; then
35940 wx_cv_var_timezone
=_timezone
35943 echo "$as_me: failed program was:" >&5
35944 sed 's/^/| /' conftest.
$ac_ext >&5
35947 cat >conftest.
$ac_ext <<_ACEOF
35950 cat confdefs.h
>>conftest.
$ac_ext
35951 cat >>conftest.
$ac_ext <<_ACEOF
35952 /* end confdefs.h. */
35967 rm -f conftest.
$ac_objext
35968 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35969 (eval $ac_compile) 2>conftest.er1
35971 grep -v '^ *+' conftest.er1
>conftest.err
35973 cat conftest.err
>&5
35974 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35975 (exit $ac_status); } &&
35976 { ac_try
='test -z "$ac_c_werror_flag"
35977 || test ! -s conftest.err'
35978 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35979 (eval $ac_try) 2>&5
35981 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35982 (exit $ac_status); }; } &&
35983 { ac_try
='test -s conftest.$ac_objext'
35984 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35985 (eval $ac_try) 2>&5
35987 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35988 (exit $ac_status); }; }; then
35990 wx_cv_var_timezone
=__timezone
35993 echo "$as_me: failed program was:" >&5
35994 sed 's/^/| /' conftest.
$ac_ext >&5
35997 if test "$USE_DOS" = 0 ; then
35998 { echo "$as_me:$LINENO: WARNING: no timezone variable" >&5
35999 echo "$as_me: WARNING: no timezone variable" >&2;}
36004 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
36008 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
36012 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
36016 echo "$as_me:$LINENO: result: $wx_cv_var_timezone" >&5
36017 echo "${ECHO_T}$wx_cv_var_timezone" >&6
36019 if test "x$wx_cv_var_timezone" != x
; then
36020 cat >>confdefs.h
<<_ACEOF
36021 #define WX_TIMEZONE $wx_cv_var_timezone
36027 for ac_func
in localtime
36029 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36030 echo "$as_me:$LINENO: checking for $ac_func" >&5
36031 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
36032 if eval "test \"\${$as_ac_var+set}\" = set"; then
36033 echo $ECHO_N "(cached) $ECHO_C" >&6
36035 cat >conftest.
$ac_ext <<_ACEOF
36038 cat confdefs.h
>>conftest.
$ac_ext
36039 cat >>conftest.
$ac_ext <<_ACEOF
36040 /* end confdefs.h. */
36041 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36042 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36043 #define $ac_func innocuous_$ac_func
36045 /* System header to define __stub macros and hopefully few prototypes,
36046 which can conflict with char $ac_func (); below.
36047 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36048 <limits.h> exists even on freestanding compilers. */
36051 # include <limits.h>
36053 # include <assert.h>
36058 /* Override any gcc2 internal prototype to avoid an error. */
36063 /* We use char because int might match the return type of a gcc2
36064 builtin and then its argument prototype would still apply. */
36066 /* The GNU C library defines this for functions which it implements
36067 to always fail with ENOSYS. Some functions are actually named
36068 something starting with __ and the normal name is an alias. */
36069 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
36072 char (*f) () = $ac_func;
36081 return f != $ac_func;
36086 rm -f conftest.
$ac_objext conftest
$ac_exeext
36087 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36088 (eval $ac_link) 2>conftest.er1
36090 grep -v '^ *+' conftest.er1
>conftest.err
36092 cat conftest.err
>&5
36093 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36094 (exit $ac_status); } &&
36095 { ac_try
='test -z "$ac_c_werror_flag"
36096 || test ! -s conftest.err'
36097 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36098 (eval $ac_try) 2>&5
36100 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36101 (exit $ac_status); }; } &&
36102 { ac_try
='test -s conftest$ac_exeext'
36103 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36104 (eval $ac_try) 2>&5
36106 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36107 (exit $ac_status); }; }; then
36108 eval "$as_ac_var=yes"
36110 echo "$as_me: failed program was:" >&5
36111 sed 's/^/| /' conftest.
$ac_ext >&5
36113 eval "$as_ac_var=no"
36115 rm -f conftest.err conftest.
$ac_objext \
36116 conftest
$ac_exeext conftest.
$ac_ext
36118 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
36119 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
36120 if test `eval echo '${'$as_ac_var'}'` = yes; then
36121 cat >>confdefs.h
<<_ACEOF
36122 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36129 if test "$ac_cv_func_localtime" = "yes"; then
36130 echo "$as_me:$LINENO: checking for tm_gmtoff in struct tm" >&5
36131 echo $ECHO_N "checking for tm_gmtoff in struct tm... $ECHO_C" >&6
36132 if test "${wx_cv_struct_tm_has_gmtoff+set}" = set; then
36133 echo $ECHO_N "(cached) $ECHO_C" >&6
36136 cat >conftest.
$ac_ext <<_ACEOF
36139 cat confdefs.h
>>conftest.
$ac_ext
36140 cat >>conftest.
$ac_ext <<_ACEOF
36141 /* end confdefs.h. */
36156 rm -f conftest.
$ac_objext
36157 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36158 (eval $ac_compile) 2>conftest.er1
36160 grep -v '^ *+' conftest.er1
>conftest.err
36162 cat conftest.err
>&5
36163 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36164 (exit $ac_status); } &&
36165 { ac_try
='test -z "$ac_c_werror_flag"
36166 || test ! -s conftest.err'
36167 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36168 (eval $ac_try) 2>&5
36170 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36171 (exit $ac_status); }; } &&
36172 { ac_try
='test -s conftest.$ac_objext'
36173 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36174 (eval $ac_try) 2>&5
36176 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36177 (exit $ac_status); }; }; then
36179 wx_cv_struct_tm_has_gmtoff
=yes
36182 echo "$as_me: failed program was:" >&5
36183 sed 's/^/| /' conftest.
$ac_ext >&5
36185 wx_cv_struct_tm_has_gmtoff
=no
36188 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
36191 echo "$as_me:$LINENO: result: $wx_cv_struct_tm_has_gmtoff" >&5
36192 echo "${ECHO_T}$wx_cv_struct_tm_has_gmtoff" >&6
36195 if test "$wx_cv_struct_tm_has_gmtoff" = "yes"; then
36196 cat >>confdefs.h
<<\_ACEOF
36197 #define WX_GMTOFF_IN_TM 1
36204 for ac_func
in gettimeofday ftime
36206 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36207 echo "$as_me:$LINENO: checking for $ac_func" >&5
36208 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
36209 if eval "test \"\${$as_ac_var+set}\" = set"; then
36210 echo $ECHO_N "(cached) $ECHO_C" >&6
36212 cat >conftest.
$ac_ext <<_ACEOF
36215 cat confdefs.h
>>conftest.
$ac_ext
36216 cat >>conftest.
$ac_ext <<_ACEOF
36217 /* end confdefs.h. */
36218 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36219 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36220 #define $ac_func innocuous_$ac_func
36222 /* System header to define __stub macros and hopefully few prototypes,
36223 which can conflict with char $ac_func (); below.
36224 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36225 <limits.h> exists even on freestanding compilers. */
36228 # include <limits.h>
36230 # include <assert.h>
36235 /* Override any gcc2 internal prototype to avoid an error. */
36240 /* We use char because int might match the return type of a gcc2
36241 builtin and then its argument prototype would still apply. */
36243 /* The GNU C library defines this for functions which it implements
36244 to always fail with ENOSYS. Some functions are actually named
36245 something starting with __ and the normal name is an alias. */
36246 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
36249 char (*f) () = $ac_func;
36258 return f != $ac_func;
36263 rm -f conftest.
$ac_objext conftest
$ac_exeext
36264 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36265 (eval $ac_link) 2>conftest.er1
36267 grep -v '^ *+' conftest.er1
>conftest.err
36269 cat conftest.err
>&5
36270 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36271 (exit $ac_status); } &&
36272 { ac_try
='test -z "$ac_c_werror_flag"
36273 || test ! -s conftest.err'
36274 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36275 (eval $ac_try) 2>&5
36277 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36278 (exit $ac_status); }; } &&
36279 { ac_try
='test -s conftest$ac_exeext'
36280 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36281 (eval $ac_try) 2>&5
36283 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36284 (exit $ac_status); }; }; then
36285 eval "$as_ac_var=yes"
36287 echo "$as_me: failed program was:" >&5
36288 sed 's/^/| /' conftest.
$ac_ext >&5
36290 eval "$as_ac_var=no"
36292 rm -f conftest.err conftest.
$ac_objext \
36293 conftest
$ac_exeext conftest.
$ac_ext
36295 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
36296 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
36297 if test `eval echo '${'$as_ac_var'}'` = yes; then
36298 cat >>confdefs.h
<<_ACEOF
36299 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36306 if test "$ac_cv_func_gettimeofday" = "yes"; then
36307 echo "$as_me:$LINENO: checking whether gettimeofday takes two arguments" >&5
36308 echo $ECHO_N "checking whether gettimeofday takes two arguments... $ECHO_C" >&6
36309 if test "${wx_cv_func_gettimeofday_has_2_args+set}" = set; then
36310 echo $ECHO_N "(cached) $ECHO_C" >&6
36316 ac_cpp
='$CXXCPP $CPPFLAGS'
36317 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36318 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36319 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
36322 cat >conftest.
$ac_ext <<_ACEOF
36325 cat confdefs.h
>>conftest.
$ac_ext
36326 cat >>conftest.
$ac_ext <<_ACEOF
36327 /* end confdefs.h. */
36329 #include <sys/time.h>
36330 #include <unistd.h>
36337 gettimeofday(&tv, NULL);
36343 rm -f conftest.
$ac_objext
36344 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36345 (eval $ac_compile) 2>conftest.er1
36347 grep -v '^ *+' conftest.er1
>conftest.err
36349 cat conftest.err
>&5
36350 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36351 (exit $ac_status); } &&
36352 { ac_try
='test -z "$ac_cxx_werror_flag"
36353 || test ! -s conftest.err'
36354 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36355 (eval $ac_try) 2>&5
36357 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36358 (exit $ac_status); }; } &&
36359 { ac_try
='test -s conftest.$ac_objext'
36360 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36361 (eval $ac_try) 2>&5
36363 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36364 (exit $ac_status); }; }; then
36365 wx_cv_func_gettimeofday_has_2_args
=yes
36367 echo "$as_me: failed program was:" >&5
36368 sed 's/^/| /' conftest.
$ac_ext >&5
36370 cat >conftest.
$ac_ext <<_ACEOF
36373 cat confdefs.h
>>conftest.
$ac_ext
36374 cat >>conftest.
$ac_ext <<_ACEOF
36375 /* end confdefs.h. */
36377 #include <sys/time.h>
36378 #include <unistd.h>
36391 rm -f conftest.
$ac_objext
36392 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36393 (eval $ac_compile) 2>conftest.er1
36395 grep -v '^ *+' conftest.er1
>conftest.err
36397 cat conftest.err
>&5
36398 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36399 (exit $ac_status); } &&
36400 { ac_try
='test -z "$ac_cxx_werror_flag"
36401 || test ! -s conftest.err'
36402 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36403 (eval $ac_try) 2>&5
36405 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36406 (exit $ac_status); }; } &&
36407 { ac_try
='test -s conftest.$ac_objext'
36408 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36409 (eval $ac_try) 2>&5
36411 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36412 (exit $ac_status); }; }; then
36413 wx_cv_func_gettimeofday_has_2_args
=no
36415 echo "$as_me: failed program was:" >&5
36416 sed 's/^/| /' conftest.
$ac_ext >&5
36419 { echo "$as_me:$LINENO: WARNING: failed to determine number of gettimeofday() arguments" >&5
36420 echo "$as_me: WARNING: failed to determine number of gettimeofday() arguments" >&2;}
36421 wx_cv_func_gettimeofday_has_2_args
=unknown
36425 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
36428 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
36430 ac_cpp
='$CPP $CPPFLAGS'
36431 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36432 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36433 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
36437 echo "$as_me:$LINENO: result: $wx_cv_func_gettimeofday_has_2_args" >&5
36438 echo "${ECHO_T}$wx_cv_func_gettimeofday_has_2_args" >&6
36440 if test "$wx_cv_func_gettimeofday_has_2_args" != "yes"; then
36441 cat >>confdefs.h
<<\_ACEOF
36442 #define WX_GETTIMEOFDAY_NO_TZ 1
36448 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS typetest"
36452 if test "$wxUSE_SOCKETS" = "yes"; then
36453 if test "$wxUSE_MGL" = "1"; then
36454 { echo "$as_me:$LINENO: WARNING: wxSocket not yet supported under MGL... disabled" >&5
36455 echo "$as_me: WARNING: wxSocket not yet supported under MGL... disabled" >&2;}
36460 if test "$wxUSE_SOCKETS" = "yes"; then
36461 if test "$TOOLKIT" != "MSW"; then
36462 echo "$as_me:$LINENO: checking for socket" >&5
36463 echo $ECHO_N "checking for socket... $ECHO_C" >&6
36464 if test "${ac_cv_func_socket+set}" = set; then
36465 echo $ECHO_N "(cached) $ECHO_C" >&6
36467 cat >conftest.
$ac_ext <<_ACEOF
36470 cat confdefs.h
>>conftest.
$ac_ext
36471 cat >>conftest.
$ac_ext <<_ACEOF
36472 /* end confdefs.h. */
36473 /* Define socket to an innocuous variant, in case <limits.h> declares socket.
36474 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36475 #define socket innocuous_socket
36477 /* System header to define __stub macros and hopefully few prototypes,
36478 which can conflict with char socket (); below.
36479 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36480 <limits.h> exists even on freestanding compilers. */
36483 # include <limits.h>
36485 # include <assert.h>
36490 /* Override any gcc2 internal prototype to avoid an error. */
36495 /* We use char because int might match the return type of a gcc2
36496 builtin and then its argument prototype would still apply. */
36498 /* The GNU C library defines this for functions which it implements
36499 to always fail with ENOSYS. Some functions are actually named
36500 something starting with __ and the normal name is an alias. */
36501 #if defined (__stub_socket) || defined (__stub___socket)
36504 char (*f) () = socket;
36513 return f != socket;
36518 rm -f conftest.
$ac_objext conftest
$ac_exeext
36519 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36520 (eval $ac_link) 2>conftest.er1
36522 grep -v '^ *+' conftest.er1
>conftest.err
36524 cat conftest.err
>&5
36525 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36526 (exit $ac_status); } &&
36527 { ac_try
='test -z "$ac_c_werror_flag"
36528 || test ! -s conftest.err'
36529 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36530 (eval $ac_try) 2>&5
36532 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36533 (exit $ac_status); }; } &&
36534 { ac_try
='test -s conftest$ac_exeext'
36535 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36536 (eval $ac_try) 2>&5
36538 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36539 (exit $ac_status); }; }; then
36540 ac_cv_func_socket
=yes
36542 echo "$as_me: failed program was:" >&5
36543 sed 's/^/| /' conftest.
$ac_ext >&5
36545 ac_cv_func_socket
=no
36547 rm -f conftest.err conftest.
$ac_objext \
36548 conftest
$ac_exeext conftest.
$ac_ext
36550 echo "$as_me:$LINENO: result: $ac_cv_func_socket" >&5
36551 echo "${ECHO_T}$ac_cv_func_socket" >&6
36552 if test $ac_cv_func_socket = yes; then
36556 echo "$as_me:$LINENO: checking for socket in -lsocket" >&5
36557 echo $ECHO_N "checking for socket in -lsocket... $ECHO_C" >&6
36558 if test "${ac_cv_lib_socket_socket+set}" = set; then
36559 echo $ECHO_N "(cached) $ECHO_C" >&6
36561 ac_check_lib_save_LIBS
=$LIBS
36562 LIBS
="-lsocket $LIBS"
36563 cat >conftest.
$ac_ext <<_ACEOF
36566 cat confdefs.h
>>conftest.
$ac_ext
36567 cat >>conftest.
$ac_ext <<_ACEOF
36568 /* end confdefs.h. */
36570 /* Override any gcc2 internal prototype to avoid an error. */
36574 /* We use char because int might match the return type of a gcc2
36575 builtin and then its argument prototype would still apply. */
36585 rm -f conftest.
$ac_objext conftest
$ac_exeext
36586 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36587 (eval $ac_link) 2>conftest.er1
36589 grep -v '^ *+' conftest.er1
>conftest.err
36591 cat conftest.err
>&5
36592 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36593 (exit $ac_status); } &&
36594 { ac_try
='test -z "$ac_c_werror_flag"
36595 || test ! -s conftest.err'
36596 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36597 (eval $ac_try) 2>&5
36599 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36600 (exit $ac_status); }; } &&
36601 { ac_try
='test -s conftest$ac_exeext'
36602 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36603 (eval $ac_try) 2>&5
36605 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36606 (exit $ac_status); }; }; then
36607 ac_cv_lib_socket_socket
=yes
36609 echo "$as_me: failed program was:" >&5
36610 sed 's/^/| /' conftest.
$ac_ext >&5
36612 ac_cv_lib_socket_socket
=no
36614 rm -f conftest.err conftest.
$ac_objext \
36615 conftest
$ac_exeext conftest.
$ac_ext
36616 LIBS
=$ac_check_lib_save_LIBS
36618 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_socket" >&5
36619 echo "${ECHO_T}$ac_cv_lib_socket_socket" >&6
36620 if test $ac_cv_lib_socket_socket = yes; then
36621 if test "$INET_LINK" != " -lsocket"; then
36622 INET_LINK
="$INET_LINK -lsocket"
36626 { echo "$as_me:$LINENO: WARNING: socket library not found - sockets will be disabled" >&5
36627 echo "$as_me: WARNING: socket library not found - sockets will be disabled" >&2;}
36640 if test "$wxUSE_SOCKETS" = "yes" ; then
36641 if test "$TOOLKIT" != "MSW"; then
36642 echo "$as_me:$LINENO: checking what is the type of the third argument of getsockname" >&5
36643 echo $ECHO_N "checking what is the type of the third argument of getsockname... $ECHO_C" >&6
36644 if test "${wx_cv_type_getsockname3+set}" = set; then
36645 echo $ECHO_N "(cached) $ECHO_C" >&6
36648 cat >conftest.
$ac_ext <<_ACEOF
36651 cat confdefs.h
>>conftest.
$ac_ext
36652 cat >>conftest.
$ac_ext <<_ACEOF
36653 /* end confdefs.h. */
36655 #include <sys/types.h>
36656 #include <sys/socket.h>
36663 getsockname(0, 0, &len);
36669 rm -f conftest.
$ac_objext
36670 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36671 (eval $ac_compile) 2>conftest.er1
36673 grep -v '^ *+' conftest.er1
>conftest.err
36675 cat conftest.err
>&5
36676 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36677 (exit $ac_status); } &&
36678 { ac_try
='test -z "$ac_c_werror_flag"
36679 || test ! -s conftest.err'
36680 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36681 (eval $ac_try) 2>&5
36683 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36684 (exit $ac_status); }; } &&
36685 { ac_try
='test -s conftest.$ac_objext'
36686 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36687 (eval $ac_try) 2>&5
36689 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36690 (exit $ac_status); }; }; then
36691 wx_cv_type_getsockname3
=socklen_t
36693 echo "$as_me: failed program was:" >&5
36694 sed 's/^/| /' conftest.
$ac_ext >&5
36697 CFLAGS_OLD
="$CFLAGS"
36698 if test "$GCC" = yes ; then
36699 CFLAGS
="$CFLAGS -Werror"
36702 cat >conftest.
$ac_ext <<_ACEOF
36705 cat confdefs.h
>>conftest.
$ac_ext
36706 cat >>conftest.
$ac_ext <<_ACEOF
36707 /* end confdefs.h. */
36709 #include <sys/types.h>
36710 #include <sys/socket.h>
36717 getsockname(0, 0, &len);
36723 rm -f conftest.
$ac_objext
36724 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36725 (eval $ac_compile) 2>conftest.er1
36727 grep -v '^ *+' conftest.er1
>conftest.err
36729 cat conftest.err
>&5
36730 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36731 (exit $ac_status); } &&
36732 { ac_try
='test -z "$ac_c_werror_flag"
36733 || test ! -s conftest.err'
36734 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36735 (eval $ac_try) 2>&5
36737 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36738 (exit $ac_status); }; } &&
36739 { ac_try
='test -s conftest.$ac_objext'
36740 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36741 (eval $ac_try) 2>&5
36743 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36744 (exit $ac_status); }; }; then
36745 wx_cv_type_getsockname3
=size_t
36747 echo "$as_me: failed program was:" >&5
36748 sed 's/^/| /' conftest.
$ac_ext >&5
36750 cat >conftest.
$ac_ext <<_ACEOF
36753 cat confdefs.h
>>conftest.
$ac_ext
36754 cat >>conftest.
$ac_ext <<_ACEOF
36755 /* end confdefs.h. */
36757 #include <sys/types.h>
36758 #include <sys/socket.h>
36765 getsockname(0, 0, &len);
36771 rm -f conftest.
$ac_objext
36772 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36773 (eval $ac_compile) 2>conftest.er1
36775 grep -v '^ *+' conftest.er1
>conftest.err
36777 cat conftest.err
>&5
36778 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36779 (exit $ac_status); } &&
36780 { ac_try
='test -z "$ac_c_werror_flag"
36781 || test ! -s conftest.err'
36782 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36783 (eval $ac_try) 2>&5
36785 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36786 (exit $ac_status); }; } &&
36787 { ac_try
='test -s conftest.$ac_objext'
36788 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36789 (eval $ac_try) 2>&5
36791 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36792 (exit $ac_status); }; }; then
36793 wx_cv_type_getsockname3
=int
36795 echo "$as_me: failed program was:" >&5
36796 sed 's/^/| /' conftest.
$ac_ext >&5
36798 wx_cv_type_getsockname3
=unknown
36801 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
36804 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
36806 CFLAGS
="$CFLAGS_OLD"
36810 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
36813 echo "$as_me:$LINENO: result: $wx_cv_type_getsockname3" >&5
36814 echo "${ECHO_T}$wx_cv_type_getsockname3" >&6
36816 if test "$wx_cv_type_getsockname3" = "unknown"; then
36818 { echo "$as_me:$LINENO: WARNING: Couldn't find socklen_t synonym for this system" >&5
36819 echo "$as_me: WARNING: Couldn't find socklen_t synonym for this system" >&2;}
36821 cat >>confdefs.h
<<_ACEOF
36822 #define SOCKLEN_T $wx_cv_type_getsockname3
36829 if test "$wxUSE_SOCKETS" = "yes" ; then
36830 cat >>confdefs.h
<<\_ACEOF
36831 #define wxUSE_SOCKETS 1
36834 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS sockets"
36837 if test "$wxUSE_PROTOCOL" = "yes"; then
36838 if test "$wxUSE_SOCKETS" != "yes"; then
36839 { echo "$as_me:$LINENO: WARNING: Protocol classes require sockets... disabled" >&5
36840 echo "$as_me: WARNING: Protocol classes require sockets... disabled" >&2;}
36845 if test "$wxUSE_PROTOCOL" = "yes"; then
36846 cat >>confdefs.h
<<\_ACEOF
36847 #define wxUSE_PROTOCOL 1
36851 if test "$wxUSE_PROTOCOL_HTTP" = "yes"; then
36852 cat >>confdefs.h
<<\_ACEOF
36853 #define wxUSE_PROTOCOL_HTTP 1
36857 if test "$wxUSE_PROTOCOL_FTP" = "yes"; then
36858 cat >>confdefs.h
<<\_ACEOF
36859 #define wxUSE_PROTOCOL_FTP 1
36863 if test "$wxUSE_PROTOCOL_FILE" = "yes"; then
36864 cat >>confdefs.h
<<\_ACEOF
36865 #define wxUSE_PROTOCOL_FILE 1
36870 if test "$wxUSE_FS_INET" = "yes"; then
36871 { echo "$as_me:$LINENO: WARNING: HTTP filesystem require protocol classes... disabled" >&5
36872 echo "$as_me: WARNING: HTTP filesystem require protocol classes... disabled" >&2;}
36877 if test "$wxUSE_URL" = "yes"; then
36878 if test "$wxUSE_PROTOCOL" != "yes"; then
36879 { echo "$as_me:$LINENO: WARNING: wxURL class requires wxProtocol... disabled" >&5
36880 echo "$as_me: WARNING: wxURL class requires wxProtocol... disabled" >&2;}
36883 if test "$wxUSE_URL" = "yes"; then
36884 cat >>confdefs.h
<<\_ACEOF
36885 #define wxUSE_URL 1
36891 if test "$wxUSE_FS_INET" = "yes"; then
36892 cat >>confdefs.h
<<\_ACEOF
36893 #define wxUSE_FS_INET 1
36899 if test "$wxUSE_GUI" = "yes"; then
36901 if test "$TOOLKIT" = "MAC" -o "$TOOLKIT" = "COCOA"; then
36902 { echo "$as_me:$LINENO: WARNING: Joystick not yet supported under Mac OS X... disabled" >&5
36903 echo "$as_me: WARNING: Joystick not yet supported under Mac OS X... disabled" >&2;}
36907 if test "$TOOLKIT" != "MSW"; then
36908 if test "$wxUSE_JOYSTICK" = "yes"; then
36910 for ac_header
in linux
/joystick.h
36912 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
36913 if eval "test \"\${$as_ac_Header+set}\" = set"; then
36914 echo "$as_me:$LINENO: checking for $ac_header" >&5
36915 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
36916 if eval "test \"\${$as_ac_Header+set}\" = set"; then
36917 echo $ECHO_N "(cached) $ECHO_C" >&6
36919 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
36920 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
36922 # Is the header compilable?
36923 echo "$as_me:$LINENO: checking $ac_header usability" >&5
36924 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
36925 cat >conftest.
$ac_ext <<_ACEOF
36928 cat confdefs.h
>>conftest.
$ac_ext
36929 cat >>conftest.
$ac_ext <<_ACEOF
36930 /* end confdefs.h. */
36931 $ac_includes_default
36932 #include <$ac_header>
36934 rm -f conftest.
$ac_objext
36935 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36936 (eval $ac_compile) 2>conftest.er1
36938 grep -v '^ *+' conftest.er1
>conftest.err
36940 cat conftest.err
>&5
36941 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36942 (exit $ac_status); } &&
36943 { ac_try
='test -z "$ac_c_werror_flag"
36944 || test ! -s conftest.err'
36945 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36946 (eval $ac_try) 2>&5
36948 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36949 (exit $ac_status); }; } &&
36950 { ac_try
='test -s conftest.$ac_objext'
36951 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36952 (eval $ac_try) 2>&5
36954 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36955 (exit $ac_status); }; }; then
36956 ac_header_compiler
=yes
36958 echo "$as_me: failed program was:" >&5
36959 sed 's/^/| /' conftest.
$ac_ext >&5
36961 ac_header_compiler
=no
36963 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
36964 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
36965 echo "${ECHO_T}$ac_header_compiler" >&6
36967 # Is the header present?
36968 echo "$as_me:$LINENO: checking $ac_header presence" >&5
36969 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
36970 cat >conftest.
$ac_ext <<_ACEOF
36973 cat confdefs.h
>>conftest.
$ac_ext
36974 cat >>conftest.
$ac_ext <<_ACEOF
36975 /* end confdefs.h. */
36976 #include <$ac_header>
36978 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
36979 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
36981 grep -v '^ *+' conftest.er1
>conftest.err
36983 cat conftest.err
>&5
36984 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36985 (exit $ac_status); } >/dev
/null
; then
36986 if test -s conftest.err
; then
36987 ac_cpp_err
=$ac_c_preproc_warn_flag
36988 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
36995 if test -z "$ac_cpp_err"; then
36996 ac_header_preproc
=yes
36998 echo "$as_me: failed program was:" >&5
36999 sed 's/^/| /' conftest.
$ac_ext >&5
37001 ac_header_preproc
=no
37003 rm -f conftest.err conftest.
$ac_ext
37004 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
37005 echo "${ECHO_T}$ac_header_preproc" >&6
37007 # So? What about this header?
37008 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
37010 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
37011 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
37012 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
37013 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
37014 ac_header_preproc
=yes
37017 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
37018 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
37019 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
37020 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
37021 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
37022 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
37023 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
37024 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
37025 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
37026 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
37027 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
37028 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
37031 ## ----------------------------------------- ##
37032 ## Report this to wx-dev@lists.wxwidgets.org ##
37033 ## ----------------------------------------- ##
37036 sed "s/^/$as_me: WARNING: /" >&2
37039 echo "$as_me:$LINENO: checking for $ac_header" >&5
37040 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
37041 if eval "test \"\${$as_ac_Header+set}\" = set"; then
37042 echo $ECHO_N "(cached) $ECHO_C" >&6
37044 eval "$as_ac_Header=\$ac_header_preproc"
37046 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
37047 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
37050 if test `eval echo '${'$as_ac_Header'}'` = yes; then
37051 cat >>confdefs.h
<<_ACEOF
37052 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
37059 if test "$ac_cv_header_linux_joystick_h" != "yes"; then
37061 { echo "$as_me:$LINENO: WARNING: Joystick not supported by this system... disabled" >&5
37062 echo "$as_me: WARNING: Joystick not supported by this system... disabled" >&2;}
37067 if test "$wxUSE_JOYSTICK" = "yes"; then
37068 cat >>confdefs.h
<<\_ACEOF
37069 #define wxUSE_JOYSTICK 1
37072 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS joytest"
37078 if test "$wxUSE_FONTMAP" = "yes" ; then
37079 cat >>confdefs.h
<<\_ACEOF
37080 #define wxUSE_FONTMAP 1
37085 if test "$wxUSE_UNICODE" = "yes" ; then
37086 cat >>confdefs.h
<<\_ACEOF
37087 #define wxUSE_UNICODE 1
37091 if test "$USE_WIN32" != 1; then
37092 wxUSE_UNICODE_MSLU
=no
37095 if test "$USE_WIN32" = 1 -a "$wxUSE_UNICODE_MSLU" = "yes"; then
37096 echo "$as_me:$LINENO: checking for main in -lunicows" >&5
37097 echo $ECHO_N "checking for main in -lunicows... $ECHO_C" >&6
37098 if test "${ac_cv_lib_unicows_main+set}" = set; then
37099 echo $ECHO_N "(cached) $ECHO_C" >&6
37101 ac_check_lib_save_LIBS
=$LIBS
37102 LIBS
="-lunicows $LIBS"
37103 cat >conftest.
$ac_ext <<_ACEOF
37106 cat confdefs.h
>>conftest.
$ac_ext
37107 cat >>conftest.
$ac_ext <<_ACEOF
37108 /* end confdefs.h. */
37119 rm -f conftest.
$ac_objext conftest
$ac_exeext
37120 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37121 (eval $ac_link) 2>conftest.er1
37123 grep -v '^ *+' conftest.er1
>conftest.err
37125 cat conftest.err
>&5
37126 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37127 (exit $ac_status); } &&
37128 { ac_try
='test -z "$ac_c_werror_flag"
37129 || test ! -s conftest.err'
37130 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37131 (eval $ac_try) 2>&5
37133 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37134 (exit $ac_status); }; } &&
37135 { ac_try
='test -s conftest$ac_exeext'
37136 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37137 (eval $ac_try) 2>&5
37139 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37140 (exit $ac_status); }; }; then
37141 ac_cv_lib_unicows_main
=yes
37143 echo "$as_me: failed program was:" >&5
37144 sed 's/^/| /' conftest.
$ac_ext >&5
37146 ac_cv_lib_unicows_main
=no
37148 rm -f conftest.err conftest.
$ac_objext \
37149 conftest
$ac_exeext conftest.
$ac_ext
37150 LIBS
=$ac_check_lib_save_LIBS
37152 echo "$as_me:$LINENO: result: $ac_cv_lib_unicows_main" >&5
37153 echo "${ECHO_T}$ac_cv_lib_unicows_main" >&6
37154 if test $ac_cv_lib_unicows_main = yes; then
37156 cat >>confdefs.h
<<\_ACEOF
37157 #define wxUSE_UNICODE_MSLU 1
37163 { echo "$as_me:$LINENO: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
37164 Applications will only run on Windows NT/2000/XP!" >&5
37165 echo "$as_me: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
37166 Applications will only run on Windows NT/2000/XP!" >&2;}
37167 wxUSE_UNICODE_MSLU
=no
37174 if test "$wxUSE_wxUSE_EXPERIMENTAL_PRINTF" = "yes"; then
37175 cat >>confdefs.h
<<\_ACEOF
37176 #define wxUSE_EXPERIMENTAL_PRINTF 1
37182 if test "$wxUSE_POSTSCRIPT" = "yes" ; then
37183 cat >>confdefs.h
<<\_ACEOF
37184 #define wxUSE_POSTSCRIPT 1
37189 cat >>confdefs.h
<<\_ACEOF
37190 #define wxUSE_AFM_FOR_POSTSCRIPT 1
37194 cat >>confdefs.h
<<\_ACEOF
37195 #define wxUSE_NORMALIZED_PS_FONTS 1
37200 if test "$wxUSE_CONSTRAINTS" = "yes"; then
37201 cat >>confdefs.h
<<\_ACEOF
37202 #define wxUSE_CONSTRAINTS 1
37205 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS layout"
37208 if test "$wxUSE_MDI" = "yes"; then
37209 cat >>confdefs.h
<<\_ACEOF
37210 #define wxUSE_MDI 1
37214 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
37215 cat >>confdefs.h
<<\_ACEOF
37216 #define wxUSE_MDI_ARCHITECTURE 1
37219 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS mdi"
37223 if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = "yes" ; then
37224 cat >>confdefs.h
<<\_ACEOF
37225 #define wxUSE_DOC_VIEW_ARCHITECTURE 1
37228 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS docview"
37229 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
37230 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS docvwmdi"
37234 if test "$wxUSE_HELP" = "yes"; then
37235 cat >>confdefs.h
<<\_ACEOF
37236 #define wxUSE_HELP 1
37239 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS help"
37241 if test "$wxUSE_MSW" = 1; then
37242 if test "$wxUSE_MS_HTML_HELP" = "yes"; then
37243 cat >>confdefs.h
<<\_ACEOF
37244 #define wxUSE_MS_HTML_HELP 1
37250 if test "$wxUSE_WXHTML_HELP" = "yes"; then
37251 if test "$wxUSE_HTML" = "yes"; then
37252 cat >>confdefs.h
<<\_ACEOF
37253 #define wxUSE_WXHTML_HELP 1
37257 { echo "$as_me:$LINENO: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&5
37258 echo "$as_me: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&2;}
37259 wxUSE_WXHTML_HELP
=no
37264 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
37265 if test "$wxUSE_CONSTRAINTS" != "yes"; then
37266 { echo "$as_me:$LINENO: WARNING: Printing support cannot be used without constraints so it won't be compiled without it" >&5
37267 echo "$as_me: WARNING: Printing support cannot be used without constraints so it won't be compiled without it" >&2;}
37269 cat >>confdefs.h
<<\_ACEOF
37270 #define wxUSE_PRINTING_ARCHITECTURE 1
37274 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS printing"
37277 if test "$wxUSE_PROLOGIO" = "yes" -o "$wxUSE_RESOURCES" = "yes"; then
37278 { { echo "$as_me:$LINENO: error: wxExpr and old-style resources are now available in contrib only" >&5
37279 echo "$as_me: error: wxExpr and old-style resources are now available in contrib only" >&2;}
37280 { (exit 1); exit 1; }; }
37284 if test "$USE_WIN32" = 1 -a \
( "$wxUSE_DATAOBJ" = "yes" \
37285 -o "$wxUSE_CLIPBOARD" = "yes" \
37286 -o "$wxUSE_OLE" = "yes" \
37287 -o "$wxUSE_DRAG_AND_DROP" = "yes" \
) ; then
37289 for ac_header
in ole2.h
37291 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
37292 if eval "test \"\${$as_ac_Header+set}\" = set"; then
37293 echo "$as_me:$LINENO: checking for $ac_header" >&5
37294 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
37295 if eval "test \"\${$as_ac_Header+set}\" = set"; then
37296 echo $ECHO_N "(cached) $ECHO_C" >&6
37298 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
37299 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
37301 # Is the header compilable?
37302 echo "$as_me:$LINENO: checking $ac_header usability" >&5
37303 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
37304 cat >conftest.
$ac_ext <<_ACEOF
37307 cat confdefs.h
>>conftest.
$ac_ext
37308 cat >>conftest.
$ac_ext <<_ACEOF
37309 /* end confdefs.h. */
37310 $ac_includes_default
37311 #include <$ac_header>
37313 rm -f conftest.
$ac_objext
37314 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37315 (eval $ac_compile) 2>conftest.er1
37317 grep -v '^ *+' conftest.er1
>conftest.err
37319 cat conftest.err
>&5
37320 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37321 (exit $ac_status); } &&
37322 { ac_try
='test -z "$ac_c_werror_flag"
37323 || test ! -s conftest.err'
37324 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37325 (eval $ac_try) 2>&5
37327 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37328 (exit $ac_status); }; } &&
37329 { ac_try
='test -s conftest.$ac_objext'
37330 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37331 (eval $ac_try) 2>&5
37333 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37334 (exit $ac_status); }; }; then
37335 ac_header_compiler
=yes
37337 echo "$as_me: failed program was:" >&5
37338 sed 's/^/| /' conftest.
$ac_ext >&5
37340 ac_header_compiler
=no
37342 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
37343 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
37344 echo "${ECHO_T}$ac_header_compiler" >&6
37346 # Is the header present?
37347 echo "$as_me:$LINENO: checking $ac_header presence" >&5
37348 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
37349 cat >conftest.
$ac_ext <<_ACEOF
37352 cat confdefs.h
>>conftest.
$ac_ext
37353 cat >>conftest.
$ac_ext <<_ACEOF
37354 /* end confdefs.h. */
37355 #include <$ac_header>
37357 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
37358 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
37360 grep -v '^ *+' conftest.er1
>conftest.err
37362 cat conftest.err
>&5
37363 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37364 (exit $ac_status); } >/dev
/null
; then
37365 if test -s conftest.err
; then
37366 ac_cpp_err
=$ac_c_preproc_warn_flag
37367 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
37374 if test -z "$ac_cpp_err"; then
37375 ac_header_preproc
=yes
37377 echo "$as_me: failed program was:" >&5
37378 sed 's/^/| /' conftest.
$ac_ext >&5
37380 ac_header_preproc
=no
37382 rm -f conftest.err conftest.
$ac_ext
37383 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
37384 echo "${ECHO_T}$ac_header_preproc" >&6
37386 # So? What about this header?
37387 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
37389 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
37390 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
37391 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
37392 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
37393 ac_header_preproc
=yes
37396 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
37397 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
37398 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
37399 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
37400 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
37401 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
37402 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
37403 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
37404 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
37405 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
37406 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
37407 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
37410 ## ----------------------------------------- ##
37411 ## Report this to wx-dev@lists.wxwidgets.org ##
37412 ## ----------------------------------------- ##
37415 sed "s/^/$as_me: WARNING: /" >&2
37418 echo "$as_me:$LINENO: checking for $ac_header" >&5
37419 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
37420 if eval "test \"\${$as_ac_Header+set}\" = set"; then
37421 echo $ECHO_N "(cached) $ECHO_C" >&6
37423 eval "$as_ac_Header=\$ac_header_preproc"
37425 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
37426 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
37429 if test `eval echo '${'$as_ac_Header'}'` = yes; then
37430 cat >>confdefs.h
<<_ACEOF
37431 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
37439 if test "$ac_cv_header_ole2_h" = "yes" ; then
37440 if test "$GCC" = yes ; then
37444 ac_cpp
='$CXXCPP $CPPFLAGS'
37445 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37446 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37447 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
37450 echo "$as_me:$LINENO: checking if g++ requires -fvtable-thunks" >&5
37451 echo $ECHO_N "checking if g++ requires -fvtable-thunks... $ECHO_C" >&6
37452 cat >conftest.
$ac_ext <<_ACEOF
37455 cat confdefs.h
>>conftest.
$ac_ext
37456 cat >>conftest.
$ac_ext <<_ACEOF
37457 /* end confdefs.h. */
37458 #include <windows.h>
37468 rm -f conftest.
$ac_objext
37469 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37470 (eval $ac_compile) 2>conftest.er1
37472 grep -v '^ *+' conftest.er1
>conftest.err
37474 cat conftest.err
>&5
37475 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37476 (exit $ac_status); } &&
37477 { ac_try
='test -z "$ac_cxx_werror_flag"
37478 || test ! -s conftest.err'
37479 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37480 (eval $ac_try) 2>&5
37482 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37483 (exit $ac_status); }; } &&
37484 { ac_try
='test -s conftest.$ac_objext'
37485 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37486 (eval $ac_try) 2>&5
37488 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37489 (exit $ac_status); }; }; then
37490 echo "$as_me:$LINENO: result: no" >&5
37491 echo "${ECHO_T}no" >&6
37493 echo "$as_me: failed program was:" >&5
37494 sed 's/^/| /' conftest.
$ac_ext >&5
37496 echo "$as_me:$LINENO: result: yes" >&5
37497 echo "${ECHO_T}yes" >&6
37498 CODE_GEN_FLAGS_CXX
="$CODE_GEN_FLAGS_CXX -fvtable-thunks"
37500 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
37502 ac_cpp
='$CPP $CPPFLAGS'
37503 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37504 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37505 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
37507 ALL_OBJECTS
="$ALL_OBJECTS \$(OLEOBJS)"
37508 LIBS
=" -lrpcrt4 -loleaut32 -lole32 -luuid$LIBS"
37509 if test "$wxUSE_OLE" = "yes" ; then
37510 cat >>confdefs.h
<<\_ACEOF
37511 #define wxUSE_OLE 1
37517 if test "$wxUSE_DATAOBJ" = "yes" ; then
37518 cat >>confdefs.h
<<\_ACEOF
37519 #define wxUSE_DATAOBJ 1
37524 { echo "$as_me:$LINENO: WARNING: Some features disabled because OLE headers not found" >&5
37525 echo "$as_me: WARNING: Some features disabled because OLE headers not found" >&2;}
37528 wxUSE_DRAG_AND_DROP
=no
37533 if test "$wxUSE_METAFILE" = "yes"; then
37534 cat >>confdefs.h
<<\_ACEOF
37535 #define wxUSE_METAFILE 1
37539 cat >>confdefs.h
<<\_ACEOF
37540 #define wxUSE_ENH_METAFILE 1
37546 if test "$wxUSE_IPC" = "yes"; then
37547 if test "$wxUSE_SOCKETS" != "yes"; then
37548 { echo "$as_me:$LINENO: WARNING: wxWidgets IPC classes require sockets... disabled" >&5
37549 echo "$as_me: WARNING: wxWidgets IPC classes require sockets... disabled" >&2;}
37552 cat >>confdefs.h
<<\_ACEOF
37553 #define wxUSE_IPC 1
37558 if test "$wxUSE_CLIPBOARD" = "yes"; then
37559 if test "$wxUSE_MGL" = 1; then
37560 { echo "$as_me:$LINENO: WARNING: Clipboard not yet supported under MGL... disabled" >&5
37561 echo "$as_me: WARNING: Clipboard not yet supported under MGL... disabled" >&2;}
37565 if test "$wxUSE_CLIPBOARD" = "yes"; then
37566 cat >>confdefs.h
<<\_ACEOF
37567 #define wxUSE_CLIPBOARD 1
37571 cat >>confdefs.h
<<\_ACEOF
37572 #define wxUSE_DATAOBJ 1
37578 if test "$wxUSE_DRAG_AND_DROP" = "yes" ; then
37579 if test "$wxUSE_GTK" = 1; then
37580 if test "$WXGTK12" != 1; then
37581 { echo "$as_me:$LINENO: WARNING: Drag and drop is only supported under GTK+ 1.2... disabled" >&5
37582 echo "$as_me: WARNING: Drag and drop is only supported under GTK+ 1.2... disabled" >&2;}
37583 wxUSE_DRAG_AND_DROP
=no
37587 if test "$wxUSE_MOTIF" = 1; then
37588 { echo "$as_me:$LINENO: WARNING: Drag and drop not yet supported under Motif... disabled" >&5
37589 echo "$as_me: WARNING: Drag and drop not yet supported under Motif... disabled" >&2;}
37590 wxUSE_DRAG_AND_DROP
=no
37593 if test "$wxUSE_X11" = 1; then
37594 { echo "$as_me:$LINENO: WARNING: Drag and drop not yet supported under X11... disabled" >&5
37595 echo "$as_me: WARNING: Drag and drop not yet supported under X11... disabled" >&2;}
37596 wxUSE_DRAG_AND_DROP
=no
37599 if test "$wxUSE_MGL" = 1; then
37600 { echo "$as_me:$LINENO: WARNING: Drag and drop not yet supported under MGL... disabled" >&5
37601 echo "$as_me: WARNING: Drag and drop not yet supported under MGL... disabled" >&2;}
37602 wxUSE_DRAG_AND_DROP
=no
37605 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
37606 cat >>confdefs.h
<<\_ACEOF
37607 #define wxUSE_DRAG_AND_DROP 1
37614 if test "$wxUSE_DRAG_AND_DROP" = "yes" -o "$wxUSE_CLIPBOARD" = "yes"; then
37615 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS dnd"
37618 if test "$wxUSE_SPLINES" = "yes" ; then
37619 cat >>confdefs.h
<<\_ACEOF
37620 #define wxUSE_SPLINES 1
37627 if test "$wxUSE_CONTROLS" = "yes"; then
37631 if test "$wxUSE_ACCEL" = "yes"; then
37632 cat >>confdefs.h
<<\_ACEOF
37633 #define wxUSE_ACCEL 1
37639 if test "$wxUSE_BUTTON" = "yes"; then
37640 cat >>confdefs.h
<<\_ACEOF
37641 #define wxUSE_BUTTON 1
37647 if test "$wxUSE_BMPBUTTON" = "yes"; then
37648 cat >>confdefs.h
<<\_ACEOF
37649 #define wxUSE_BMPBUTTON 1
37655 if test "$wxUSE_CALCTRL" = "yes"; then
37656 cat >>confdefs.h
<<\_ACEOF
37657 #define wxUSE_CALENDARCTRL 1
37661 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS calendar"
37664 if test "$wxUSE_CARET" = "yes"; then
37665 cat >>confdefs.h
<<\_ACEOF
37666 #define wxUSE_CARET 1
37670 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS caret"
37673 if test "$wxUSE_COMBOBOX" = "yes"; then
37674 cat >>confdefs.h
<<\_ACEOF
37675 #define wxUSE_COMBOBOX 1
37681 if test "$wxUSE_CHOICE" = "yes"; then
37682 cat >>confdefs.h
<<\_ACEOF
37683 #define wxUSE_CHOICE 1
37689 if test "$wxUSE_CHECKBOX" = "yes"; then
37690 cat >>confdefs.h
<<\_ACEOF
37691 #define wxUSE_CHECKBOX 1
37697 if test "$wxUSE_CHECKLST" = "yes"; then
37698 cat >>confdefs.h
<<\_ACEOF
37699 #define wxUSE_CHECKLISTBOX 1
37703 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS checklst"
37706 if test "$wxUSE_DISPLAY" = "yes"; then
37707 cat >>confdefs.h
<<\_ACEOF
37708 #define wxUSE_DISPLAY 1
37711 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS display"
37714 if test "$wxUSE_GAUGE" = "yes"; then
37715 cat >>confdefs.h
<<\_ACEOF
37716 #define wxUSE_GAUGE 1
37722 if test "$wxUSE_GRID" = "yes"; then
37723 cat >>confdefs.h
<<\_ACEOF
37724 #define wxUSE_GRID 1
37728 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS grid"
37731 if test "$wxUSE_IMAGLIST" = "yes"; then
37732 cat >>confdefs.h
<<\_ACEOF
37733 #define wxUSE_IMAGLIST 1
37738 if test "$wxUSE_LISTBOOK" = "yes"; then
37739 cat >>confdefs.h
<<\_ACEOF
37740 #define wxUSE_LISTBOOK 1
37746 if test "$wxUSE_LISTBOX" = "yes"; then
37747 cat >>confdefs.h
<<\_ACEOF
37748 #define wxUSE_LISTBOX 1
37754 if test "$wxUSE_LISTCTRL" = "yes"; then
37755 if test "$wxUSE_IMAGLIST" = "yes"; then
37756 cat >>confdefs.h
<<\_ACEOF
37757 #define wxUSE_LISTCTRL 1
37761 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS listctrl"
37763 { echo "$as_me:$LINENO: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&5
37764 echo "$as_me: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&2;}
37768 if test "$wxUSE_NOTEBOOK" = "yes"; then
37769 cat >>confdefs.h
<<\_ACEOF
37770 #define wxUSE_NOTEBOOK 1
37774 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS notebook"
37778 if test "$wxUSE_RADIOBOX" = "yes"; then
37779 cat >>confdefs.h
<<\_ACEOF
37780 #define wxUSE_RADIOBOX 1
37786 if test "$wxUSE_RADIOBTN" = "yes"; then
37787 cat >>confdefs.h
<<\_ACEOF
37788 #define wxUSE_RADIOBTN 1
37794 if test "$wxUSE_SASH" = "yes"; then
37795 cat >>confdefs.h
<<\_ACEOF
37796 #define wxUSE_SASH 1
37799 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS sashtest"
37802 if test "$wxUSE_SCROLLBAR" = "yes"; then
37803 cat >>confdefs.h
<<\_ACEOF
37804 #define wxUSE_SCROLLBAR 1
37808 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS scroll scrollsub"
37811 if test "$wxUSE_SLIDER" = "yes"; then
37812 cat >>confdefs.h
<<\_ACEOF
37813 #define wxUSE_SLIDER 1
37819 if test "$wxUSE_SPINBTN" = "yes"; then
37820 cat >>confdefs.h
<<\_ACEOF
37821 #define wxUSE_SPINBTN 1
37827 if test "$wxUSE_SPINCTRL" = "yes"; then
37828 cat >>confdefs.h
<<\_ACEOF
37829 #define wxUSE_SPINCTRL 1
37835 if test "$wxUSE_SPLITTER" = "yes"; then
37836 cat >>confdefs.h
<<\_ACEOF
37837 #define wxUSE_SPLITTER 1
37840 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS splitter"
37843 if test "$wxUSE_STATBMP" = "yes"; then
37844 cat >>confdefs.h
<<\_ACEOF
37845 #define wxUSE_STATBMP 1
37851 if test "$wxUSE_STATBOX" = "yes"; then
37852 cat >>confdefs.h
<<\_ACEOF
37853 #define wxUSE_STATBOX 1
37859 if test "$wxUSE_STATTEXT" = "yes"; then
37860 cat >>confdefs.h
<<\_ACEOF
37861 #define wxUSE_STATTEXT 1
37867 if test "$wxUSE_STATLINE" = "yes"; then
37868 cat >>confdefs.h
<<\_ACEOF
37869 #define wxUSE_STATLINE 1
37875 if test "$wxUSE_STATUSBAR" = "yes"; then
37876 cat >>confdefs.h
<<\_ACEOF
37877 #define wxUSE_STATUSBAR 1
37882 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS statbar"
37885 if test "$wxUSE_TABDIALOG" = "yes"; then
37886 cat >>confdefs.h
<<\_ACEOF
37887 #define wxUSE_TAB_DIALOG 1
37890 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS tab"
37893 if test "$wxUSE_TEXTCTRL" = "yes"; then
37894 cat >>confdefs.h
<<\_ACEOF
37895 #define wxUSE_TEXTCTRL 1
37899 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS text"
37902 if test "$wxUSE_TOGGLEBTN" = "yes"; then
37903 if test "$wxUSE_COCOA" = 1 ; then
37904 { echo "$as_me:$LINENO: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&5
37905 echo "$as_me: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&2;}
37908 if test "$wxUSE_PM" = 1; then
37909 { echo "$as_me:$LINENO: WARNING: Toggle button not yet supported under PM... disabled" >&5
37910 echo "$as_me: WARNING: Toggle button not yet supported under PM... disabled" >&2;}
37914 if test "$wxUSE_UNIVERSAL" = "yes"; then
37915 { echo "$as_me:$LINENO: WARNING: Toggle button not yet supported under wxUniversal... disabled" >&5
37916 echo "$as_me: WARNING: Toggle button not yet supported under wxUniversal... disabled" >&2;}
37920 if test "$wxUSE_TOGGLEBTN" = "yes"; then
37921 cat >>confdefs.h
<<\_ACEOF
37922 #define wxUSE_TOGGLEBTN 1
37929 if test "$wxUSE_TOOLBAR_SIMPLE" = "yes"; then
37930 cat >>confdefs.h
<<\_ACEOF
37931 #define wxUSE_TOOLBAR_SIMPLE 1
37934 wxUSE_TOOLBAR
="yes"
37938 if test "$wxUSE_TOOLBAR" = "yes"; then
37939 cat >>confdefs.h
<<\_ACEOF
37940 #define wxUSE_TOOLBAR 1
37945 if test "$wxUSE_TOOLBAR_SIMPLE" != "yes"; then
37946 wxUSE_TOOLBAR_NATIVE
="yes"
37949 if test "$wxUSE_TOOLBAR_NATIVE" = "yes"; then
37950 cat >>confdefs.h
<<\_ACEOF
37951 #define wxUSE_TOOLBAR_NATIVE 1
37957 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS toolbar"
37960 if test "$wxUSE_TOOLTIPS" = "yes"; then
37961 if test "$wxUSE_MOTIF" = 1; then
37962 { echo "$as_me:$LINENO: WARNING: wxTooltip not supported yet under Motif... disabled" >&5
37963 echo "$as_me: WARNING: wxTooltip not supported yet under Motif... disabled" >&2;}
37965 if test "$wxUSE_UNIVERSAL" = "yes"; then
37966 { echo "$as_me:$LINENO: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&5
37967 echo "$as_me: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&2;}
37969 cat >>confdefs.h
<<\_ACEOF
37970 #define wxUSE_TOOLTIPS 1
37977 if test "$wxUSE_TREECTRL" = "yes"; then
37978 if test "$wxUSE_IMAGLIST" = "yes"; then
37979 cat >>confdefs.h
<<\_ACEOF
37980 #define wxUSE_TREECTRL 1
37984 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS treectrl"
37986 { echo "$as_me:$LINENO: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&5
37987 echo "$as_me: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&2;}
37991 if test "$wxUSE_POPUPWIN" = "yes"; then
37992 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1 ; then
37993 { echo "$as_me:$LINENO: WARNING: Popup window not yet supported under Mac OS X... disabled" >&5
37994 echo "$as_me: WARNING: Popup window not yet supported under Mac OS X... disabled" >&2;}
37996 if test "$wxUSE_PM" = 1; then
37997 { echo "$as_me:$LINENO: WARNING: wxPopupWindow not yet supported under PM... disabled" >&5
37998 echo "$as_me: WARNING: wxPopupWindow not yet supported under PM... disabled" >&2;}
38000 cat >>confdefs.h
<<\_ACEOF
38001 #define wxUSE_POPUPWIN 1
38010 if test "$wxUSE_TIPWINDOW" = "yes"; then
38011 if test "$wxUSE_PM" = 1; then
38012 { echo "$as_me:$LINENO: WARNING: wxTipWindow not yet supported under PM... disabled" >&5
38013 echo "$as_me: WARNING: wxTipWindow not yet supported under PM... disabled" >&2;}
38015 cat >>confdefs.h
<<\_ACEOF
38016 #define wxUSE_TIPWINDOW 1
38022 if test "$USES_CONTROLS" = 1; then
38023 cat >>confdefs.h
<<\_ACEOF
38024 #define wxUSE_CONTROLS 1
38030 if test "$wxUSE_ACCESSIBILITY" = "yes"; then
38031 cat >>confdefs.h
<<\_ACEOF
38032 #define wxUSE_ACCESSIBILITY 1
38035 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS access"
38038 if test "$wxUSE_DRAGIMAGE" = "yes"; then
38039 cat >>confdefs.h
<<\_ACEOF
38040 #define wxUSE_DRAGIMAGE 1
38043 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS dragimag"
38046 if test "$wxUSE_EXCEPTIONS" = "yes"; then
38047 cat >>confdefs.h
<<\_ACEOF
38048 #define wxUSE_EXCEPTIONS 1
38054 if test "$wxUSE_HTML" = "yes"; then
38055 cat >>confdefs.h
<<\_ACEOF
38056 #define wxUSE_HTML 1
38060 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS html html/about html/help html/helpview html/printing html/test html/virtual html/widget html/zip htlbox"
38061 if test "$wxUSE_MAC" = 1; then
38062 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS html/htmlctrl"
38066 if test "$wxUSE_WEBKIT" = "yes"; then
38067 cat >>confdefs.h
<<\_ACEOF
38068 #define wxUSE_WEBKIT 1
38073 if test "$wxUSE_MENUS" = "yes"; then
38074 cat >>confdefs.h
<<\_ACEOF
38075 #define wxUSE_MENUS 1
38078 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS menu"
38081 if test "$wxUSE_METAFILE" = "yes"; then
38082 cat >>confdefs.h
<<\_ACEOF
38083 #define wxUSE_METAFILE 1
38088 if test "$wxUSE_MIMETYPE" = "yes"; then
38089 cat >>confdefs.h
<<\_ACEOF
38090 #define wxUSE_MIMETYPE 1
38095 if test "$wxUSE_MINIFRAME" = "yes"; then
38096 cat >>confdefs.h
<<\_ACEOF
38097 #define wxUSE_MINIFRAME 1
38100 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS minifram"
38103 if test "$wxUSE_SYSTEM_OPTIONS" = "yes"; then
38104 cat >>confdefs.h
<<\_ACEOF
38105 #define wxUSE_SYSTEM_OPTIONS 1
38108 if test "$TOOLKIT" = "MSW" -o "$TOOLKIT" = "GTK" -o "$TOOLKIT" = "X11" -o \
38109 "$TOOLKIT" = "MOTIF"; then
38110 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS taskbar"
38115 if test "$wxUSE_VALIDATORS" = "yes"; then
38116 cat >>confdefs.h
<<\_ACEOF
38117 #define wxUSE_VALIDATORS 1
38120 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS validate"
38123 if test "$wxUSE_PALETTE" = "yes" ; then
38124 cat >>confdefs.h
<<\_ACEOF
38125 #define wxUSE_PALETTE 1
38130 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_MSLU" = "yes" ; then
38131 LIBS
=" -lunicows $LIBS"
38135 if test "$wxUSE_IMAGE" = "yes" ; then
38136 cat >>confdefs.h
<<\_ACEOF
38137 #define wxUSE_IMAGE 1
38141 if test "$wxUSE_GIF" = "yes" ; then
38142 cat >>confdefs.h
<<\_ACEOF
38143 #define wxUSE_GIF 1
38148 if test "$wxUSE_PCX" = "yes" ; then
38149 cat >>confdefs.h
<<\_ACEOF
38150 #define wxUSE_PCX 1
38155 if test "$wxUSE_IFF" = "yes" ; then
38156 cat >>confdefs.h
<<\_ACEOF
38157 #define wxUSE_IFF 1
38162 if test "$wxUSE_PNM" = "yes" ; then
38163 cat >>confdefs.h
<<\_ACEOF
38164 #define wxUSE_PNM 1
38169 if test "$wxUSE_XPM" = "yes" ; then
38170 cat >>confdefs.h
<<\_ACEOF
38171 #define wxUSE_XPM 1
38176 if test "$wxUSE_ICO_CUR" = "yes" ; then
38177 cat >>confdefs.h
<<\_ACEOF
38178 #define wxUSE_ICO_CUR 1
38185 if test "$wxUSE_CHOICEDLG" = "yes"; then
38186 cat >>confdefs.h
<<\_ACEOF
38187 #define wxUSE_CHOICEDLG 1
38192 if test "$wxUSE_COLOURDLG" = "yes"; then
38193 cat >>confdefs.h
<<\_ACEOF
38194 #define wxUSE_COLOURDLG 1
38199 if test "$wxUSE_FILEDLG" = "yes"; then
38200 cat >>confdefs.h
<<\_ACEOF
38201 #define wxUSE_FILEDLG 1
38206 if test "$wxUSE_FINDREPLDLG" = "yes"; then
38207 cat >>confdefs.h
<<\_ACEOF
38208 #define wxUSE_FINDREPLDLG 1
38213 if test "$wxUSE_FONTDLG" = "yes"; then
38214 cat >>confdefs.h
<<\_ACEOF
38215 #define wxUSE_FONTDLG 1
38220 if test "$wxUSE_DIRDLG" = "yes"; then
38221 if test "$wxUSE_TREECTRL" != "yes"; then
38222 { echo "$as_me:$LINENO: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&5
38223 echo "$as_me: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&2;}
38225 cat >>confdefs.h
<<\_ACEOF
38226 #define wxUSE_DIRDLG 1
38232 if test "$wxUSE_MSGDLG" = "yes"; then
38233 cat >>confdefs.h
<<\_ACEOF
38234 #define wxUSE_MSGDLG 1
38239 if test "$wxUSE_NUMBERDLG" = "yes"; then
38240 cat >>confdefs.h
<<\_ACEOF
38241 #define wxUSE_NUMBERDLG 1
38246 if test "$wxUSE_PROGRESSDLG" = "yes"; then
38247 if test "$wxUSE_CONSTRAINTS" != "yes"; then
38248 { echo "$as_me:$LINENO: WARNING: wxProgressDialog requires constraints so it won't be compiled without them" >&5
38249 echo "$as_me: WARNING: wxProgressDialog requires constraints so it won't be compiled without them" >&2;}
38251 cat >>confdefs.h
<<\_ACEOF
38252 #define wxUSE_PROGRESSDLG 1
38258 if test "$wxUSE_SPLASH" = "yes"; then
38259 cat >>confdefs.h
<<\_ACEOF
38260 #define wxUSE_SPLASH 1
38265 if test "$wxUSE_STARTUP_TIPS" = "yes"; then
38266 if test "$wxUSE_CONSTRAINTS" != "yes"; then
38267 { echo "$as_me:$LINENO: WARNING: Startup tips requires constraints and won't be compiled without them" >&5
38268 echo "$as_me: WARNING: Startup tips requires constraints and won't be compiled without them" >&2;}
38270 cat >>confdefs.h
<<\_ACEOF
38271 #define wxUSE_STARTUP_TIPS 1
38277 if test "$wxUSE_TEXTDLG" = "yes"; then
38278 cat >>confdefs.h
<<\_ACEOF
38279 #define wxUSE_TEXTDLG 1
38284 if test "$wxUSE_WIZARDDLG" = "yes"; then
38285 cat >>confdefs.h
<<\_ACEOF
38286 #define wxUSE_WIZARDDLG 1
38289 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS wizard"
38293 if test "$cross_compiling" = "yes"; then
38296 OSINFO
=`uname -s -r -m`
38297 OSINFO
="\"$OSINFO\""
38300 cat >>confdefs.h
<<_ACEOF
38301 #define WXWIN_OS_DESCRIPTION $OSINFO
38306 if test "x$prefix" != "xNONE"; then
38309 wxPREFIX
=$ac_default_prefix
38312 cat >>confdefs.h
<<_ACEOF
38313 #define wxINSTALL_PREFIX "$wxPREFIX"
38317 top_builddir_wxconfig
=`pwd`
38321 CORE_BASE_LIBS
="net base"
38322 CORE_GUI_LIBS
="adv core"
38324 if test "$wxUSE_XML" = "yes" ; then
38325 CORE_BASE_LIBS
="xml $CORE_BASE_LIBS"
38327 if test "$wxUSE_ODBC" != "no" ; then
38328 CORE_BASE_LIBS
="odbc $CORE_BASE_LIBS"
38329 CORE_GUI_LIBS
="dbgrid $CORE_GUI_LIBS"
38331 if test "$wxUSE_HTML" = "yes" ; then
38332 CORE_GUI_LIBS
="html $CORE_GUI_LIBS"
38335 if test "$wxUSE_GUI" != "yes"; then
38346 if test "$wxUSE_MAC" = 1 ; then
38347 LDFLAGS
="$LDFLAGS -framework Carbon -framework Cocoa -framework WebKit -framework System"
38349 if test "$wxUSE_COCOA" = 1 ; then
38350 LDFLAGS
="$LDFLAGS -framework Cocoa -framework System"
38354 LIBS
="$ZLIB_LINK $POSIX4_LINK $INET_LINK $WCHAR_LINK $DL_LINK $LIBS"
38361 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38362 echo "$as_me:$LINENO: checking for $ac_func" >&5
38363 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
38364 if eval "test \"\${$as_ac_var+set}\" = set"; then
38365 echo $ECHO_N "(cached) $ECHO_C" >&6
38367 cat >conftest.
$ac_ext <<_ACEOF
38370 cat confdefs.h
>>conftest.
$ac_ext
38371 cat >>conftest.
$ac_ext <<_ACEOF
38372 /* end confdefs.h. */
38373 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38374 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38375 #define $ac_func innocuous_$ac_func
38377 /* System header to define __stub macros and hopefully few prototypes,
38378 which can conflict with char $ac_func (); below.
38379 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38380 <limits.h> exists even on freestanding compilers. */
38383 # include <limits.h>
38385 # include <assert.h>
38390 /* Override any gcc2 internal prototype to avoid an error. */
38395 /* We use char because int might match the return type of a gcc2
38396 builtin and then its argument prototype would still apply. */
38398 /* The GNU C library defines this for functions which it implements
38399 to always fail with ENOSYS. Some functions are actually named
38400 something starting with __ and the normal name is an alias. */
38401 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
38404 char (*f) () = $ac_func;
38413 return f != $ac_func;
38418 rm -f conftest.
$ac_objext conftest
$ac_exeext
38419 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38420 (eval $ac_link) 2>conftest.er1
38422 grep -v '^ *+' conftest.er1
>conftest.err
38424 cat conftest.err
>&5
38425 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38426 (exit $ac_status); } &&
38427 { ac_try
='test -z "$ac_c_werror_flag"
38428 || test ! -s conftest.err'
38429 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38430 (eval $ac_try) 2>&5
38432 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38433 (exit $ac_status); }; } &&
38434 { ac_try
='test -s conftest$ac_exeext'
38435 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38436 (eval $ac_try) 2>&5
38438 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38439 (exit $ac_status); }; }; then
38440 eval "$as_ac_var=yes"
38442 echo "$as_me: failed program was:" >&5
38443 sed 's/^/| /' conftest.
$ac_ext >&5
38445 eval "$as_ac_var=no"
38447 rm -f conftest.err conftest.
$ac_objext \
38448 conftest
$ac_exeext conftest.
$ac_ext
38450 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
38451 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
38452 if test `eval echo '${'$as_ac_var'}'` = yes; then
38453 cat >>confdefs.h
<<_ACEOF
38454 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38461 for ac_func
in floor
38463 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38464 echo "$as_me:$LINENO: checking for $ac_func" >&5
38465 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
38466 if eval "test \"\${$as_ac_var+set}\" = set"; then
38467 echo $ECHO_N "(cached) $ECHO_C" >&6
38469 cat >conftest.
$ac_ext <<_ACEOF
38472 cat confdefs.h
>>conftest.
$ac_ext
38473 cat >>conftest.
$ac_ext <<_ACEOF
38474 /* end confdefs.h. */
38475 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38476 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38477 #define $ac_func innocuous_$ac_func
38479 /* System header to define __stub macros and hopefully few prototypes,
38480 which can conflict with char $ac_func (); below.
38481 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38482 <limits.h> exists even on freestanding compilers. */
38485 # include <limits.h>
38487 # include <assert.h>
38492 /* Override any gcc2 internal prototype to avoid an error. */
38497 /* We use char because int might match the return type of a gcc2
38498 builtin and then its argument prototype would still apply. */
38500 /* The GNU C library defines this for functions which it implements
38501 to always fail with ENOSYS. Some functions are actually named
38502 something starting with __ and the normal name is an alias. */
38503 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
38506 char (*f) () = $ac_func;
38515 return f != $ac_func;
38520 rm -f conftest.
$ac_objext conftest
$ac_exeext
38521 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38522 (eval $ac_link) 2>conftest.er1
38524 grep -v '^ *+' conftest.er1
>conftest.err
38526 cat conftest.err
>&5
38527 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38528 (exit $ac_status); } &&
38529 { ac_try
='test -z "$ac_c_werror_flag"
38530 || test ! -s conftest.err'
38531 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38532 (eval $ac_try) 2>&5
38534 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38535 (exit $ac_status); }; } &&
38536 { ac_try
='test -s conftest$ac_exeext'
38537 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38538 (eval $ac_try) 2>&5
38540 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38541 (exit $ac_status); }; }; then
38542 eval "$as_ac_var=yes"
38544 echo "$as_me: failed program was:" >&5
38545 sed 's/^/| /' conftest.
$ac_ext >&5
38547 eval "$as_ac_var=no"
38549 rm -f conftest.err conftest.
$ac_objext \
38550 conftest
$ac_exeext conftest.
$ac_ext
38552 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
38553 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
38554 if test `eval echo '${'$as_ac_var'}'` = yes; then
38555 cat >>confdefs.h
<<_ACEOF
38556 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38562 echo "$as_me:$LINENO: checking if floating point functions link without -lm" >&5
38563 echo $ECHO_N "checking if floating point functions link without -lm... $ECHO_C" >&6
38564 if test "$have_cos" = 1 -a "$have_floor" = 1; then
38565 echo "$as_me:$LINENO: result: yes" >&5
38566 echo "${ECHO_T}yes" >&6
38568 echo "$as_me:$LINENO: result: no" >&5
38569 echo "${ECHO_T}no" >&6
38571 # use different functions to avoid configure caching
38577 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38578 echo "$as_me:$LINENO: checking for $ac_func" >&5
38579 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
38580 if eval "test \"\${$as_ac_var+set}\" = set"; then
38581 echo $ECHO_N "(cached) $ECHO_C" >&6
38583 cat >conftest.
$ac_ext <<_ACEOF
38586 cat confdefs.h
>>conftest.
$ac_ext
38587 cat >>conftest.
$ac_ext <<_ACEOF
38588 /* end confdefs.h. */
38589 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38590 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38591 #define $ac_func innocuous_$ac_func
38593 /* System header to define __stub macros and hopefully few prototypes,
38594 which can conflict with char $ac_func (); below.
38595 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38596 <limits.h> exists even on freestanding compilers. */
38599 # include <limits.h>
38601 # include <assert.h>
38606 /* Override any gcc2 internal prototype to avoid an error. */
38611 /* We use char because int might match the return type of a gcc2
38612 builtin and then its argument prototype would still apply. */
38614 /* The GNU C library defines this for functions which it implements
38615 to always fail with ENOSYS. Some functions are actually named
38616 something starting with __ and the normal name is an alias. */
38617 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
38620 char (*f) () = $ac_func;
38629 return f != $ac_func;
38634 rm -f conftest.
$ac_objext conftest
$ac_exeext
38635 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38636 (eval $ac_link) 2>conftest.er1
38638 grep -v '^ *+' conftest.er1
>conftest.err
38640 cat conftest.err
>&5
38641 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38642 (exit $ac_status); } &&
38643 { ac_try
='test -z "$ac_c_werror_flag"
38644 || test ! -s conftest.err'
38645 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38646 (eval $ac_try) 2>&5
38648 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38649 (exit $ac_status); }; } &&
38650 { ac_try
='test -s conftest$ac_exeext'
38651 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38652 (eval $ac_try) 2>&5
38654 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38655 (exit $ac_status); }; }; then
38656 eval "$as_ac_var=yes"
38658 echo "$as_me: failed program was:" >&5
38659 sed 's/^/| /' conftest.
$ac_ext >&5
38661 eval "$as_ac_var=no"
38663 rm -f conftest.err conftest.
$ac_objext \
38664 conftest
$ac_exeext conftest.
$ac_ext
38666 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
38667 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
38668 if test `eval echo '${'$as_ac_var'}'` = yes; then
38669 cat >>confdefs.h
<<_ACEOF
38670 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38677 for ac_func
in ceil
38679 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38680 echo "$as_me:$LINENO: checking for $ac_func" >&5
38681 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
38682 if eval "test \"\${$as_ac_var+set}\" = set"; then
38683 echo $ECHO_N "(cached) $ECHO_C" >&6
38685 cat >conftest.
$ac_ext <<_ACEOF
38688 cat confdefs.h
>>conftest.
$ac_ext
38689 cat >>conftest.
$ac_ext <<_ACEOF
38690 /* end confdefs.h. */
38691 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38692 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38693 #define $ac_func innocuous_$ac_func
38695 /* System header to define __stub macros and hopefully few prototypes,
38696 which can conflict with char $ac_func (); below.
38697 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38698 <limits.h> exists even on freestanding compilers. */
38701 # include <limits.h>
38703 # include <assert.h>
38708 /* Override any gcc2 internal prototype to avoid an error. */
38713 /* We use char because int might match the return type of a gcc2
38714 builtin and then its argument prototype would still apply. */
38716 /* The GNU C library defines this for functions which it implements
38717 to always fail with ENOSYS. Some functions are actually named
38718 something starting with __ and the normal name is an alias. */
38719 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
38722 char (*f) () = $ac_func;
38731 return f != $ac_func;
38736 rm -f conftest.
$ac_objext conftest
$ac_exeext
38737 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38738 (eval $ac_link) 2>conftest.er1
38740 grep -v '^ *+' conftest.er1
>conftest.err
38742 cat conftest.err
>&5
38743 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38744 (exit $ac_status); } &&
38745 { ac_try
='test -z "$ac_c_werror_flag"
38746 || test ! -s conftest.err'
38747 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38748 (eval $ac_try) 2>&5
38750 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38751 (exit $ac_status); }; } &&
38752 { ac_try
='test -s conftest$ac_exeext'
38753 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38754 (eval $ac_try) 2>&5
38756 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38757 (exit $ac_status); }; }; then
38758 eval "$as_ac_var=yes"
38760 echo "$as_me: failed program was:" >&5
38761 sed 's/^/| /' conftest.
$ac_ext >&5
38763 eval "$as_ac_var=no"
38765 rm -f conftest.err conftest.
$ac_objext \
38766 conftest
$ac_exeext conftest.
$ac_ext
38768 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
38769 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
38770 if test `eval echo '${'$as_ac_var'}'` = yes; then
38771 cat >>confdefs.h
<<_ACEOF
38772 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38778 echo "$as_me:$LINENO: checking if floating point functions link with -lm" >&5
38779 echo $ECHO_N "checking if floating point functions link with -lm... $ECHO_C" >&6
38780 if test "$have_sin" = 1 -a "$have_ceil" = 1; then
38781 echo "$as_me:$LINENO: result: yes" >&5
38782 echo "${ECHO_T}yes" >&6
38784 echo "$as_me:$LINENO: result: no" >&5
38785 echo "${ECHO_T}no" >&6
38786 # not sure we should warn the user, crash, etc.
38790 if test "$wxUSE_GUI" = "yes"; then
38793 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS artprov controls dialogs \
38794 drawing dynamic erase event exec font image \
38795 minimal propsize rotate shaped widgets render"
38797 if test "$wxUSE_MONOLITHIC" != "yes"; then
38798 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS console"
38801 SAMPLES_SUBDIRS
="console"
38805 INCLUDES
="-I\${top_builddir}lib/wx/include/${TOOLCHAIN_NAME} \
38806 -I\${top_srcdir}/include $TOOLKIT_INCLUDE"
38808 if test "$GXX" = yes ; then
38809 CXXWARNINGS
="-Wall"
38812 EXTRA_CFLAGS
="$WXDEBUG $WXODBCFLAG $PROFILE $OPTIMISE"
38814 CPPFLAGS
=`echo $WXDEBUG_DEFINE $INCLUDES $CPPFLAGS | sed 's/ \\+/ /g'`
38815 CFLAGS
=`echo $CODE_GEN_FLAGS $EXTRA_CFLAGS $CFLAGS $CXXWARNINGS | sed 's/ \\+/ /g'`
38816 CXXFLAGS
=`echo $CODE_GEN_FLAGS $CODE_GEN_FLAGS_CXX $EXTRA_CFLAGS $CXXFLAGS $CXXWARNINGS | sed 's/ \+/ /g'`
38819 LIBS
=`echo $LIBS | sed 's/ \+/ /g'`
38820 EXTRALIBS
="$LDFLAGS $LDFLAGS_VERSIONING $LIBS $DMALLOC_LIBS"
38821 EXTRALIBS_XML
="$EXPAT_LINK"
38822 EXTRALIBS_HTML
="$MSPACK_LINK"
38823 EXTRALIBS_ODBC
="$ODBC_LINK"
38824 if test "$wxUSE_GUI" = "yes"; then
38825 EXTRALIBS_GUI
=`echo $GUI_TK_LIBRARY $PNG_LINK $JPEG_LINK $TIFF_LINK | sed 's/ \+/ /g'`
38827 if test "$wxUSE_OPENGL" = "yes"; then
38828 EXTRALIBS_OPENGL
="$LDFLAGS_GL $OPENGL_LIBS"
38831 LDFLAGS
="$LDFLAGS $PROFILE"
38833 if test "$wxUSE_GTK" = 1; then
38836 WXCONFIG_INCLUDE
="$TOOLKIT_INCLUDE"
38839 WXCONFIG_EXTRALIBS
="$LIBS"
38841 if test "$wxUSE_REGEX" = "builtin" ; then
38842 wxconfig_3rdparty
="$wxconfig_3rdparty regex${lib_unicode_suffix}"
38844 if test "$wxUSE_EXPAT" = "builtin" ; then
38845 wxconfig_3rdparty
="$wxconfig_3rdparty expat"
38847 if test "$wxUSE_ODBC" = "builtin" ; then
38848 wxconfig_3rdparty
="$wxconfig_3rdparty odbc"
38850 if test "$wxUSE_LIBTIFF" = "builtin" ; then
38851 wxconfig_3rdparty
="$wxconfig_3rdparty tiff"
38853 if test "$wxUSE_LIBJPEG" = "builtin" ; then
38854 wxconfig_3rdparty
="$wxconfig_3rdparty jpeg"
38856 if test "$wxUSE_LIBPNG" = "builtin" ; then
38857 wxconfig_3rdparty
="$wxconfig_3rdparty png"
38859 if test "$wxUSE_ZLIB" = "builtin" ; then
38860 wxconfig_3rdparty
="$wxconfig_3rdparty zlib"
38862 if test "$wxUSE_ODBC" = "builtin" ; then
38863 wxconfig_3rdparty
="$wxconfig_3rdparty odbc"
38866 for i
in $wxconfig_3rdparty ; do
38867 WXCONFIG_EXTRALIBS
="$WXCONFIG_EXTRALIBS -lwx${i}${lib_debug_suffix}${HOST_SUFFIX}"
38871 if test "x$wxUSE_UNIVERSAL" = "xyes" ; then
38885 if test $wxUSE_MONOLITHIC = "yes" ; then
38891 if test $wxUSE_PLUGINS = "yes" ; then
38897 if test $wxUSE_ODBC != "no" ; then
38903 if test $wxUSE_OFFICIAL_BUILD = "yes" ; then
38929 TOOLKIT_LOWERCASE
=`echo $TOOLKIT | tr "[A-Z]" "[a-z]"`
38939 if test "x$BAKEFILE_HOST" = "x"; then
38940 BAKEFILE_HOST
="${host}"
38943 if test "x$BAKEFILE_CHECK_BASICS" != "xno"; then
38945 if test -n "$ac_tool_prefix"; then
38946 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
38947 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
38948 echo "$as_me:$LINENO: checking for $ac_word" >&5
38949 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
38950 if test "${ac_cv_prog_RANLIB+set}" = set; then
38951 echo $ECHO_N "(cached) $ECHO_C" >&6
38953 if test -n "$RANLIB"; then
38954 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
38956 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
38957 for as_dir
in $PATH
38960 test -z "$as_dir" && as_dir
=.
38961 for ac_exec_ext
in '' $ac_executable_extensions; do
38962 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
38963 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
38964 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
38972 RANLIB
=$ac_cv_prog_RANLIB
38973 if test -n "$RANLIB"; then
38974 echo "$as_me:$LINENO: result: $RANLIB" >&5
38975 echo "${ECHO_T}$RANLIB" >&6
38977 echo "$as_me:$LINENO: result: no" >&5
38978 echo "${ECHO_T}no" >&6
38982 if test -z "$ac_cv_prog_RANLIB"; then
38983 ac_ct_RANLIB
=$RANLIB
38984 # Extract the first word of "ranlib", so it can be a program name with args.
38985 set dummy ranlib
; ac_word
=$2
38986 echo "$as_me:$LINENO: checking for $ac_word" >&5
38987 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
38988 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
38989 echo $ECHO_N "(cached) $ECHO_C" >&6
38991 if test -n "$ac_ct_RANLIB"; then
38992 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
38994 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
38995 for as_dir
in $PATH
38998 test -z "$as_dir" && as_dir
=.
38999 for ac_exec_ext
in '' $ac_executable_extensions; do
39000 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
39001 ac_cv_prog_ac_ct_RANLIB
="ranlib"
39002 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
39008 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB
=":"
39011 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
39012 if test -n "$ac_ct_RANLIB"; then
39013 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
39014 echo "${ECHO_T}$ac_ct_RANLIB" >&6
39016 echo "$as_me:$LINENO: result: no" >&5
39017 echo "${ECHO_T}no" >&6
39020 RANLIB
=$ac_ct_RANLIB
39022 RANLIB
="$ac_cv_prog_RANLIB"
39025 # Find a good install program. We prefer a C program (faster),
39026 # so one script is as good as another. But avoid the broken or
39027 # incompatible versions:
39028 # SysV /etc/install, /usr/sbin/install
39029 # SunOS /usr/etc/install
39030 # IRIX /sbin/install
39032 # AmigaOS /C/install, which installs bootblocks on floppy discs
39033 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
39034 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
39035 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
39036 # OS/2's system install, which has a completely different semantic
39037 # ./install, which can be erroneously created by make from ./install.sh.
39038 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
39039 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
39040 if test -z "$INSTALL"; then
39041 if test "${ac_cv_path_install+set}" = set; then
39042 echo $ECHO_N "(cached) $ECHO_C" >&6
39044 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
39045 for as_dir
in $PATH
39048 test -z "$as_dir" && as_dir
=.
39049 # Account for people who put trailing slashes in PATH elements.
39051 .
/ | .
// | /cC
/* | \
39052 /etc
/* | /usr
/sbin
/* | /usr
/etc
/* | /sbin
/* | /usr
/afsws
/bin
/* | \
39053 ?
:\\/os2
\\/install\\/* | ?
:\\/OS2
\\/INSTALL
\\/* | \
39056 # OSF1 and SCO ODT 3.0 have their own names for install.
39057 # Don't use installbsd from OSF since it installs stuff as root
39059 for ac_prog
in ginstall scoinst
install; do
39060 for ac_exec_ext
in '' $ac_executable_extensions; do
39061 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
39062 if test $ac_prog = install &&
39063 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
39064 # AIX install. It has an incompatible calling convention.
39066 elif test $ac_prog = install &&
39067 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
39068 # program-specific install script used by HP pwplus--don't use.
39071 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
39083 if test "${ac_cv_path_install+set}" = set; then
39084 INSTALL
=$ac_cv_path_install
39086 # As a last resort, use the slow shell script. We don't cache a
39087 # path for INSTALL within a source directory, because that will
39088 # break other packages using the cache if that directory is
39089 # removed, or if the path is relative.
39090 INSTALL
=$ac_install_sh
39093 echo "$as_me:$LINENO: result: $INSTALL" >&5
39094 echo "${ECHO_T}$INSTALL" >&6
39096 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
39097 # It thinks the first close brace ends the variable substitution.
39098 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
39100 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
39102 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
39104 echo "$as_me:$LINENO: checking whether ln -s works" >&5
39105 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
39107 if test "$LN_S" = "ln -s"; then
39108 echo "$as_me:$LINENO: result: yes" >&5
39109 echo "${ECHO_T}yes" >&6
39111 echo "$as_me:$LINENO: result: no, using $LN_S" >&5
39112 echo "${ECHO_T}no, using $LN_S" >&6
39116 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
39117 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
39118 set dummy
${MAKE-make}; ac_make
=`echo "$2" | sed 'y,:./+-,___p_,'`
39119 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
39120 echo $ECHO_N "(cached) $ECHO_C" >&6
39122 cat >conftest.
make <<\_ACEOF
39124 @
echo 'ac_maketemp="$(MAKE)"'
39126 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
39127 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
39128 if test -n "$ac_maketemp"; then
39129 eval ac_cv_prog_make_
${ac_make}_set
=yes
39131 eval ac_cv_prog_make_
${ac_make}_set
=no
39133 rm -f conftest.
make
39135 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
39136 echo "$as_me:$LINENO: result: yes" >&5
39137 echo "${ECHO_T}yes" >&6
39140 echo "$as_me:$LINENO: result: no" >&5
39141 echo "${ECHO_T}no" >&6
39142 SET_MAKE
="MAKE=${MAKE-make}"
39147 if test -n "$ac_tool_prefix"; then
39148 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
39149 set dummy
${ac_tool_prefix}ar; ac_word
=$2
39150 echo "$as_me:$LINENO: checking for $ac_word" >&5
39151 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
39152 if test "${ac_cv_prog_AR+set}" = set; then
39153 echo $ECHO_N "(cached) $ECHO_C" >&6
39155 if test -n "$AR"; then
39156 ac_cv_prog_AR
="$AR" # Let the user override the test.
39158 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
39159 for as_dir
in $PATH
39162 test -z "$as_dir" && as_dir
=.
39163 for ac_exec_ext
in '' $ac_executable_extensions; do
39164 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
39165 ac_cv_prog_AR
="${ac_tool_prefix}ar"
39166 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
39175 if test -n "$AR"; then
39176 echo "$as_me:$LINENO: result: $AR" >&5
39177 echo "${ECHO_T}$AR" >&6
39179 echo "$as_me:$LINENO: result: no" >&5
39180 echo "${ECHO_T}no" >&6
39184 if test -z "$ac_cv_prog_AR"; then
39186 # Extract the first word of "ar", so it can be a program name with args.
39187 set dummy
ar; ac_word
=$2
39188 echo "$as_me:$LINENO: checking for $ac_word" >&5
39189 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
39190 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
39191 echo $ECHO_N "(cached) $ECHO_C" >&6
39193 if test -n "$ac_ct_AR"; then
39194 ac_cv_prog_ac_ct_AR
="$ac_ct_AR" # Let the user override the test.
39196 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
39197 for as_dir
in $PATH
39200 test -z "$as_dir" && as_dir
=.
39201 for ac_exec_ext
in '' $ac_executable_extensions; do
39202 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
39203 ac_cv_prog_ac_ct_AR
="ar"
39204 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
39210 test -z "$ac_cv_prog_ac_ct_AR" && ac_cv_prog_ac_ct_AR
="ar"
39213 ac_ct_AR
=$ac_cv_prog_ac_ct_AR
39214 if test -n "$ac_ct_AR"; then
39215 echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
39216 echo "${ECHO_T}$ac_ct_AR" >&6
39218 echo "$as_me:$LINENO: result: no" >&5
39219 echo "${ECHO_T}no" >&6
39224 AR
="$ac_cv_prog_AR"
39227 if test -n "$ac_tool_prefix"; then
39228 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
39229 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
39230 echo "$as_me:$LINENO: checking for $ac_word" >&5
39231 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
39232 if test "${ac_cv_prog_STRIP+set}" = set; then
39233 echo $ECHO_N "(cached) $ECHO_C" >&6
39235 if test -n "$STRIP"; then
39236 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
39238 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
39239 for as_dir
in $PATH
39242 test -z "$as_dir" && as_dir
=.
39243 for ac_exec_ext
in '' $ac_executable_extensions; do
39244 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
39245 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
39246 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
39254 STRIP
=$ac_cv_prog_STRIP
39255 if test -n "$STRIP"; then
39256 echo "$as_me:$LINENO: result: $STRIP" >&5
39257 echo "${ECHO_T}$STRIP" >&6
39259 echo "$as_me:$LINENO: result: no" >&5
39260 echo "${ECHO_T}no" >&6
39264 if test -z "$ac_cv_prog_STRIP"; then
39266 # Extract the first word of "strip", so it can be a program name with args.
39267 set dummy strip
; ac_word
=$2
39268 echo "$as_me:$LINENO: checking for $ac_word" >&5
39269 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
39270 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
39271 echo $ECHO_N "(cached) $ECHO_C" >&6
39273 if test -n "$ac_ct_STRIP"; then
39274 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
39276 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
39277 for as_dir
in $PATH
39280 test -z "$as_dir" && as_dir
=.
39281 for ac_exec_ext
in '' $ac_executable_extensions; do
39282 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
39283 ac_cv_prog_ac_ct_STRIP
="strip"
39284 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
39290 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP
=":"
39293 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
39294 if test -n "$ac_ct_STRIP"; then
39295 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
39296 echo "${ECHO_T}$ac_ct_STRIP" >&6
39298 echo "$as_me:$LINENO: result: no" >&5
39299 echo "${ECHO_T}no" >&6
39304 STRIP
="$ac_cv_prog_STRIP"
39307 if test -n "$ac_tool_prefix"; then
39308 # Extract the first word of "${ac_tool_prefix}nm", so it can be a program name with args.
39309 set dummy
${ac_tool_prefix}nm
; ac_word
=$2
39310 echo "$as_me:$LINENO: checking for $ac_word" >&5
39311 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
39312 if test "${ac_cv_prog_NM+set}" = set; then
39313 echo $ECHO_N "(cached) $ECHO_C" >&6
39315 if test -n "$NM"; then
39316 ac_cv_prog_NM
="$NM" # Let the user override the test.
39318 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
39319 for as_dir
in $PATH
39322 test -z "$as_dir" && as_dir
=.
39323 for ac_exec_ext
in '' $ac_executable_extensions; do
39324 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
39325 ac_cv_prog_NM
="${ac_tool_prefix}nm"
39326 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
39335 if test -n "$NM"; then
39336 echo "$as_me:$LINENO: result: $NM" >&5
39337 echo "${ECHO_T}$NM" >&6
39339 echo "$as_me:$LINENO: result: no" >&5
39340 echo "${ECHO_T}no" >&6
39344 if test -z "$ac_cv_prog_NM"; then
39346 # Extract the first word of "nm", so it can be a program name with args.
39347 set dummy nm
; ac_word
=$2
39348 echo "$as_me:$LINENO: checking for $ac_word" >&5
39349 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
39350 if test "${ac_cv_prog_ac_ct_NM+set}" = set; then
39351 echo $ECHO_N "(cached) $ECHO_C" >&6
39353 if test -n "$ac_ct_NM"; then
39354 ac_cv_prog_ac_ct_NM
="$ac_ct_NM" # Let the user override the test.
39356 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
39357 for as_dir
in $PATH
39360 test -z "$as_dir" && as_dir
=.
39361 for ac_exec_ext
in '' $ac_executable_extensions; do
39362 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
39363 ac_cv_prog_ac_ct_NM
="nm"
39364 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
39370 test -z "$ac_cv_prog_ac_ct_NM" && ac_cv_prog_ac_ct_NM
=":"
39373 ac_ct_NM
=$ac_cv_prog_ac_ct_NM
39374 if test -n "$ac_ct_NM"; then
39375 echo "$as_me:$LINENO: result: $ac_ct_NM" >&5
39376 echo "${ECHO_T}$ac_ct_NM" >&6
39378 echo "$as_me:$LINENO: result: no" >&5
39379 echo "${ECHO_T}no" >&6
39384 NM
="$ac_cv_prog_NM"
39388 case ${BAKEFILE_HOST} in
39390 INSTALL_DIR
="mkdir"
39392 *) INSTALL_DIR
="$INSTALL -d"
39398 case ${BAKEFILE_HOST} in
39399 *-*-cygwin* | *-*-mingw32* )
39400 LDFLAGS_GUI
="-mwindows"
39406 echo "$as_me:$LINENO: checking if make is GNU make" >&5
39407 echo $ECHO_N "checking if make is GNU make... $ECHO_C" >&6
39408 if test "${bakefile_cv_prog_makeisgnu+set}" = set; then
39409 echo $ECHO_N "(cached) $ECHO_C" >&6
39412 if ( ${SHELL-sh} -c "${MAKE-make} --version" 2> /dev
/null
|
39413 egrep -s GNU
> /dev
/null
); then
39414 bakefile_cv_prog_makeisgnu
="yes"
39416 bakefile_cv_prog_makeisgnu
="no"
39420 echo "$as_me:$LINENO: result: $bakefile_cv_prog_makeisgnu" >&5
39421 echo "${ECHO_T}$bakefile_cv_prog_makeisgnu" >&6
39423 if test "x$bakefile_cv_prog_makeisgnu" = "xyes"; then
39438 if test "x$BAKEFILE_FORCE_PLATFORM" = "x"; then
39439 case "${BAKEFILE_HOST}" in
39440 *-*-cygwin* | *-*-mingw32* )
39446 *-pc-os2_emx | *-pc-os2-emx )
39449 powerpc
-*-darwin* )
39458 case "$BAKEFILE_FORCE_PLATFORM" in
39476 { { echo "$as_me:$LINENO: error: Unknown platform: $BAKEFILE_FORCE_PLATFORM" >&5
39477 echo "$as_me: error: Unknown platform: $BAKEFILE_FORCE_PLATFORM" >&2;}
39478 { (exit 1); exit 1; }; }
39491 # Check whether --enable-omf or --disable-omf was given.
39492 if test "${enable_omf+set}" = set; then
39493 enableval
="$enable_omf"
39494 bk_os2_use_omf
="$enableval"
39497 case "${BAKEFILE_HOST}" in
39499 CFLAGS
="$CFLAGS -fno-common"
39500 CXXFLAGS
="$CXXFLAGS -fno-common"
39503 *-pc-os2_emx | *-pc-os2-emx )
39504 if test "x$bk_os2_use_omf" = "xyes" ; then
39507 LDFLAGS
="-Zomf $LDFLAGS"
39508 CFLAGS
="-Zomf $CFLAGS"
39509 CXXFLAGS
="-Zomf $CXXFLAGS"
39519 SO_SUFFIX_MODULE
="so"
39524 DLLPREFIX_MODULE
=""
39527 case "${BAKEFILE_HOST}" in
39530 SO_SUFFIX_MODULE
="sl"
39534 SO_SUFFIX_MODULE
="a"
39536 *-*-cygwin* | *-*-mingw32* )
39538 SO_SUFFIX_MODULE
="dll"
39539 DLLIMP_SUFFIX
="dll.a"
39547 *-pc-os2_emx | *-pc-os2-emx )
39549 SO_SUFFIX_MODULE
="dll"
39550 DLLIMP_SUFFIX
=$OS2_LIBEXT
39554 LIBEXT
=".$OS2_LIBEXT"
39556 powerpc
-*-darwin* )
39558 SO_SUFFIX_MODULE
="bundle"
39562 if test "x$DLLIMP_SUFFIX" = "x" ; then
39563 DLLIMP_SUFFIX
="$SO_SUFFIX"
39576 SHARED_LD_CC
="\$(CC) -shared -o"
39577 SHARED_LD_CXX
="\$(CXX) -shared -o"
39579 if test "x$GCC" = "xyes"; then
39583 case "${BAKEFILE_HOST}" in
39585 if test "x$GCC" = "xyes"; then
39586 SHARED_LD_CC
="${CC} -shared ${PIC_FLAG} -o"
39587 SHARED_LD_CXX
="${CXX} -shared ${PIC_FLAG} -o"
39589 LDFLAGS
="$LDFLAGS -L/usr/lib"
39591 SHARED_LD_CC
="${CC} -b -o"
39592 SHARED_LD_CXX
="${CXX} -b -o"
39598 if test "x$GCC" != "xyes"; then
39599 echo "$as_me:$LINENO: checking for Intel compiler" >&5
39600 echo $ECHO_N "checking for Intel compiler... $ECHO_C" >&6
39601 if test "${bakefile_cv_prog_icc+set}" = set; then
39602 echo $ECHO_N "(cached) $ECHO_C" >&6
39605 cat >conftest.
$ac_ext <<_ACEOF
39608 cat confdefs.h
>>conftest.
$ac_ext
39609 cat >>conftest.
$ac_ext <<_ACEOF
39610 /* end confdefs.h. */
39616 #ifndef __INTEL_COMPILER
39624 rm -f conftest.
$ac_objext
39625 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39626 (eval $ac_compile) 2>conftest.er1
39628 grep -v '^ *+' conftest.er1
>conftest.err
39630 cat conftest.err
>&5
39631 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39632 (exit $ac_status); } &&
39633 { ac_try
='test -z "$ac_c_werror_flag"
39634 || test ! -s conftest.err'
39635 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39636 (eval $ac_try) 2>&5
39638 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39639 (exit $ac_status); }; } &&
39640 { ac_try
='test -s conftest.$ac_objext'
39641 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39642 (eval $ac_try) 2>&5
39644 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39645 (exit $ac_status); }; }; then
39646 bakefile_cv_prog_icc
=yes
39648 echo "$as_me: failed program was:" >&5
39649 sed 's/^/| /' conftest.
$ac_ext >&5
39651 bakefile_cv_prog_icc
=no
39654 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
39657 echo "$as_me:$LINENO: result: $bakefile_cv_prog_icc" >&5
39658 echo "${ECHO_T}$bakefile_cv_prog_icc" >&6
39659 if test "$bakefile_cv_prog_icc" = "yes"; then
39666 if test "x$GCC" != xyes
; then
39667 SHARED_LD_CC
="${CC} -G -o"
39668 SHARED_LD_CXX
="${CXX} -G -o"
39675 echo "$as_me:$LINENO: checking for gcc 3.1 or later" >&5
39676 echo $ECHO_N "checking for gcc 3.1 or later... $ECHO_C" >&6
39677 if test "${wx_cv_gcc31+set}" = set; then
39678 echo $ECHO_N "(cached) $ECHO_C" >&6
39681 cat >conftest.
$ac_ext <<_ACEOF
39684 cat confdefs.h
>>conftest.
$ac_ext
39685 cat >>conftest.
$ac_ext <<_ACEOF
39686 /* end confdefs.h. */
39692 #if (__GNUC__ < 3) || \
39693 ((__GNUC__ == 3) && (__GNUC_MINOR__ < 1))
39701 rm -f conftest.
$ac_objext
39702 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39703 (eval $ac_compile) 2>conftest.er1
39705 grep -v '^ *+' conftest.er1
>conftest.err
39707 cat conftest.err
>&5
39708 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39709 (exit $ac_status); } &&
39710 { ac_try
='test -z "$ac_c_werror_flag"
39711 || test ! -s conftest.err'
39712 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39713 (eval $ac_try) 2>&5
39715 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39716 (exit $ac_status); }; } &&
39717 { ac_try
='test -s conftest.$ac_objext'
39718 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39719 (eval $ac_try) 2>&5
39721 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39722 (exit $ac_status); }; }; then
39727 echo "$as_me: failed program was:" >&5
39728 sed 's/^/| /' conftest.
$ac_ext >&5
39735 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
39738 echo "$as_me:$LINENO: result: $wx_cv_gcc31" >&5
39739 echo "${ECHO_T}$wx_cv_gcc31" >&6
39740 if test "$wx_cv_gcc31" = "no"; then
39743 cat <<EOF >shared-ld-sh
39745 #-----------------------------------------------------------------------------
39746 #-- Name: distrib/mac/shared-ld-sh
39747 #-- Purpose: Link a mach-o dynamic shared library for Darwin / Mac OS X
39748 #-- Author: Gilles Depeyrot
39749 #-- Copyright: (c) 2002 Gilles Depeyrot
39750 #-- Licence: any use permitted
39751 #-----------------------------------------------------------------------------
39756 linking_flag="-dynamiclib"
39758 while test ${D}# -gt 0; do
39765 -o|-compatibility_version|-current_version|-framework|-undefined|-install_name)
39766 # collect these options and values
39767 args="${D}{args} ${D}1 ${D}2"
39771 -l*|-L*|-flat_namespace|-headerpad_max_install_names)
39772 # collect these options
39773 args="${D}{args} ${D}1"
39776 -dynamiclib|-bundle)
39777 linking_flag="${D}1"
39781 echo "shared-ld: unhandled option '${D}1'"
39785 *.o | *.a | *.dylib)
39786 # collect object files
39787 objects="${D}{objects} ${D}1"
39791 echo "shared-ld: unhandled argument '${D}1'"
39800 # Link one module containing all the others
39802 if test ${D}{verbose} = 1; then
39803 echo "c++ -r -keep_private_externs -nostdlib ${D}{objects} -o master.${D}${D}.o"
39805 c++ -r -keep_private_externs -nostdlib ${D}{objects} -o master.${D}${D}.o
39807 if test ${D}{status} != 0; then
39812 # Link the shared library from the single module created
39814 if test ${D}{verbose} = 1; then
39815 echo "cc ${D}{linking_flag} master.${D}${D}.o ${D}{args}"
39817 c++ ${D}{linking_flag} master.${D}${D}.o ${D}{args}
39819 if test ${D}{status} != 0; then
39824 # Remove intermediate module
39826 rm -f master.${D}${D}.o
39831 chmod +x shared
-ld-sh
39833 SHARED_LD_CC
="`pwd`/shared-ld-sh -dynamiclib -headerpad_max_install_names -o"
39834 SHARED_LD_MODULE_CC
="`pwd`/shared-ld-sh -bundle -headerpad_max_install_names -o"
39835 SHARED_LD_CXX
="$SHARED_LD_CC"
39836 SHARED_LD_MODULE_CXX
="$SHARED_LD_MODULE_CC"
39838 SHARED_LD_CC
="\${CC} -dynamiclib -single_module -headerpad_max_install_names -o"
39839 SHARED_LD_MODULE_CC
="\${CC} -bundle -single_module -headerpad_max_install_names -o"
39840 SHARED_LD_CXX
="\${CXX} -dynamiclib -single_module -headerpad_max_install_names -o"
39841 SHARED_LD_MODULE_CXX
="\${CXX} -bundle -single_module -headerpad_max_install_names -o"
39844 PIC_FLAG
="-dynamic -fPIC"
39848 if test "x$GCC" != "xyes"; then
39849 # Extract the first word of "makeC++SharedLib", so it can be a program name with args.
39850 set dummy makeC
++SharedLib
; ac_word
=$2
39851 echo "$as_me:$LINENO: checking for $ac_word" >&5
39852 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
39853 if test "${ac_cv_prog_AIX_CXX_LD+set}" = set; then
39854 echo $ECHO_N "(cached) $ECHO_C" >&6
39856 if test -n "$AIX_CXX_LD"; then
39857 ac_cv_prog_AIX_CXX_LD
="$AIX_CXX_LD" # Let the user override the test.
39859 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
39860 for as_dir
in $PATH
39863 test -z "$as_dir" && as_dir
=.
39864 for ac_exec_ext
in '' $ac_executable_extensions; do
39865 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
39866 ac_cv_prog_AIX_CXX_LD
="makeC++SharedLib"
39867 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
39873 test -z "$ac_cv_prog_AIX_CXX_LD" && ac_cv_prog_AIX_CXX_LD
="/usr/lpp/xlC/bin/makeC++SharedLib"
39876 AIX_CXX_LD
=$ac_cv_prog_AIX_CXX_LD
39877 if test -n "$AIX_CXX_LD"; then
39878 echo "$as_me:$LINENO: result: $AIX_CXX_LD" >&5
39879 echo "${ECHO_T}$AIX_CXX_LD" >&6
39881 echo "$as_me:$LINENO: result: no" >&5
39882 echo "${ECHO_T}no" >&6
39885 SHARED_LD_CC
="$AIX_CC_LD -p 0 -o"
39886 SHARED_LD_CXX
="$AIX_CXX_LD -p 0 -o"
39891 SHARED_LD_CC
="${LD} -shared -o"
39892 SHARED_LD_CXX
="${LD} -shared -o"
39896 if test "x$GCC" != "xyes"; then
39901 *-*-cygwin* | *-*-mingw32* )
39905 *-pc-os2_emx | *-pc-os2-emx )
39906 SHARED_LD_CC
="`pwd`/dllar.sh -o"
39907 SHARED_LD_CXX
="`pwd`/dllar.sh -o"
39911 cat <<EOF >dllar.sh
39914 # dllar - a tool to build both a .dll and an .a file
39915 # from a set of object (.o) files for EMX/OS2.
39917 # Written by Andrew Zabolotny, bit@freya.etu.ru
39918 # Ported to Unix like shell by Stefan Neis, Stefan.Neis@t-online.de
39920 # This script will accept a set of files on the command line.
39921 # All the public symbols from the .o files will be exported into
39922 # a .DEF file, then linker will be run (through gcc) against them to
39923 # build a shared library consisting of all given .o files. All libraries
39924 # (.a) will be first decompressed into component .o files then act as
39925 # described above. You can optionally give a description (-d "description")
39926 # which will be put into .DLL. To see the list of accepted options (as well
39927 # as command-line format) simply run this program without options. The .DLL
39928 # is built to be imported by name (there is no guarantee that new versions
39929 # of the library you build will have same ordinals for same symbols).
39931 # dllar is free software; you can redistribute it and/or modify
39932 # it under the terms of the GNU General Public License as published by
39933 # the Free Software Foundation; either version 2, or (at your option)
39934 # any later version.
39936 # dllar is distributed in the hope that it will be useful,
39937 # but WITHOUT ANY WARRANTY; without even the implied warranty of
39938 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
39939 # GNU General Public License for more details.
39941 # You should have received a copy of the GNU General Public License
39942 # along with dllar; see the file COPYING. If not, write to the Free
39943 # Software Foundation, 59 Temple Place - Suite 330, Boston, MA
39946 # To successfuly run this program you will need:
39947 # - Current drive should have LFN support (HPFS, ext2, network, etc)
39948 # (Sometimes dllar generates filenames which won't fit 8.3 scheme)
39950 # (used to build the .dll)
39952 # (used to create .def file from .o files)
39954 # (used to create .a file from .def file)
39955 # - GNU text utilites (cat, sort, uniq)
39956 # used to process emxexp output
39957 # - GNU file utilities (mv, rm)
39959 # - lxlite (optional, see flag below)
39960 # (used for general .dll cleanup)
39967 # basnam, variant of basename, which does _not_ remove the path, _iff_
39968 # second argument (suffix to remove) is given
39972 echo ${D}1 | sed 's/.*\///' | sed 's/.*\\//'
39975 echo ${D}1 | sed 's/'${D}2'${D}//'
39978 echo "error in basnam ${D}*"
39984 # Cleanup temporary files and output
39987 for i in ${D}inputFiles ; do
39990 rm -rf \`basnam ${D}i !\`
39997 # Kill result in case of failure as there is just to many stupid make/nmake
39998 # things out there which doesn't do this.
39999 if ${D}# -eq 0 ; then
40000 rm -f ${D}arcFile ${D}arcFile2 ${D}defFile ${D}dllFile
40004 # Print usage and exit script with rc=1.
40006 echo 'Usage: dllar -o[utput] output_file -i[mport] importlib_name'
40007 echo ' -d[escription] "dll descrption" -cc "CC" -f[lags] "CFLAGS"'
40008 echo ' -ord[inals] -exclude "symbol(s)"'
40009 echo ' -libf[lags] "{INIT|TERM}{GLOBAL|INSTANCE}" -nocrt[dll] -nolxl[ite]'
40011 echo '*> "output_file" should have no extension.'
40012 echo ' If it has the .o, .a or .dll extension, it is automatically removed.'
40013 echo ' The import library name is derived from this and is set to "name".a,'
40014 echo ' unless overridden by -import'
40015 echo '*> "importlib_name" should have no extension.'
40016 echo ' If it has the .o, or .a extension, it is automatically removed.'
40017 echo ' This name is used as the import library name and may be longer and'
40018 echo ' more descriptive than the DLL name which has to follow the old '
40019 echo ' 8.3 convention of FAT.'
40020 echo '*> "cc" is used to use another GCC executable. (default: gcc.exe)'
40021 echo '*> "flags" should be any set of valid GCC flags. (default: -s -Zcrtdll)'
40022 echo ' These flags will be put at the start of GCC command line.'
40023 echo '*> -ordinals tells dllar to export entries by ordinals. Be careful.'
40024 echo '*> -exclude defines symbols which will not be exported. You can define'
40025 echo ' multiple symbols, for example -ex "myfunc yourfunc _GLOBAL*".'
40026 echo ' If the last character of a symbol is "*", all symbols beginning'
40027 echo ' with the prefix before "*" will be exclude, (see _GLOBAL* above).'
40028 echo '*> -libflags can be used to add INITGLOBAL/INITINSTANCE and/or'
40029 echo ' TERMGLOBAL/TERMINSTANCE flags to the dynamically-linked library.'
40030 echo '*> -nocrtdll switch will disable linking the library against emx''s'
40031 echo ' C runtime DLLs.'
40032 echo '*> -nolxlite switch will disable running lxlite on the resulting DLL.'
40033 echo '*> All other switches (for example -L./ or -lmylib) will be passed'
40034 echo ' unchanged to GCC at the end of command line.'
40035 echo '*> If you create a DLL from a library and you do not specify -o,'
40036 echo ' the basename for DLL and import library will be set to library name,'
40037 echo ' the initial library will be renamed to 'name'_s.a (_s for static)'
40038 echo ' i.e. "dllar gcc.a" will create gcc.dll and gcc.a, and the initial'
40039 echo ' library will be renamed into gcc_s.a.'
40042 echo ' dllar -o gcc290.dll libgcc.a -d "GNU C runtime library" -ord'
40043 echo ' -ex "__main __ctordtor*" -libf "INITINSTANCE TERMINSTANCE"'
40048 # Execute a command.
40049 # If exit code of the commnad <> 0 CleanUp() is called and we'll exit the script.
40050 # @Uses Whatever CleanUp() uses.
40056 if ${D}rcCmd -ne 0 ; then
40057 echo "command failed, exit code="${D}rcCmd
40071 CFLAGS="-s -Zcrtdll"
40073 EXPORT_BY_ORDINALS=0
40078 case ${D}curDirS in
40082 curDirS=${D}{curDirS}"/"
40085 # Parse commandline
40090 EXPORT_BY_ORDINALS=1;
40117 exclude_symbols=${D}{exclude_symbols}${D}1" "
40121 library_flags=${D}{library_flags}${D}1" "
40137 EXTRA_CFLAGS=${D}{EXTRA_CFLAGS}" "${D}1
40141 if ${D}libsToLink -ne 0 ; then
40142 EXTRA_CFLAGS=${D}{EXTRA_CFLAGS}" "${D}1
40144 for file in ${D}1 ; do
40145 if -f ${D}file ; then
40146 inputFiles="${D}{inputFiles} ${D}file"
40150 if ${D}found -eq 0 ; then
40151 echo "ERROR: No file(s) found: "${D}1
40158 done # iterate cmdline words
40161 if -z "${D}inputFiles" ; then
40162 echo "dllar: no input files"
40166 # Now extract all .o files from .a files
40168 for file in ${D}inputFiles ; do
40179 EXTRA_CFLAGS="${D}EXTRA_CFLAGS -Zomf"
40184 dirname=\`basnam ${D}file ${D}suffix\`"_%"
40186 if ${D}? -ne 0 ; then
40187 echo "Failed to create subdirectory ./${D}dirname"
40191 # Append '!' to indicate archive
40192 newInputFiles="${D}newInputFiles ${D}{dirname}!"
40193 doCommand "cd ${D}dirname; ${D}AR x ../${D}file"
40196 for subfile in ${D}dirname/*.o* ; do
40197 if -f ${D}subfile ; then
40199 if -s ${D}subfile ; then
40200 # FIXME: This should be: is file size > 32 byte, _not_ > 0!
40201 newInputFiles="${D}newInputFiles ${D}subfile"
40205 if ${D}found -eq 0 ; then
40206 echo "WARNING: there are no files in archive \'${D}file\'"
40210 newInputFiles="${D}{newInputFiles} ${D}file"
40214 inputFiles="${D}newInputFiles"
40216 # Output filename(s).
40218 if -z ${D}outFile ; then
40220 set outFile ${D}inputFiles; outFile=${D}2
40223 # If it is an archive, remove the '!' and the '_%' suffixes
40224 case ${D}outFile in
40226 outFile=\`basnam ${D}outFile _%!\`
40231 case ${D}outFile in
40233 outFile=\`basnam ${D}outFile .dll\`
40236 outFile=\`basnam ${D}outFile .DLL\`
40239 outFile=\`basnam ${D}outFile .o\`
40242 outFile=\`basnam ${D}outFile .obj\`
40245 outFile=\`basnam ${D}outFile .a\`
40248 outFile=\`basnam ${D}outFile .lib\`
40253 case ${D}outimpFile in
40255 outimpFile=\`basnam ${D}outimpFile .a\`
40258 outimpFile=\`basnam ${D}outimpFile .lib\`
40263 if -z ${D}outimpFile ; then
40264 outimpFile=${D}outFile
40266 defFile="${D}{outFile}.def"
40267 arcFile="${D}{outimpFile}.a"
40268 arcFile2="${D}{outimpFile}.lib"
40269 dllFile="${D}outFile"
40270 # Add suffix to dllFile later, first we need a version to use as
40271 # name in .def file.
40273 if ${D}do_backup -ne 0 ; then
40274 if -f ${D}arcFile ; then
40275 doCommand "mv ${D}arcFile ${D}{outFile}_s.a"
40277 if -f ${D}arcFile2 ; then
40278 doCommand "mv ${D}arcFile2 ${D}{outFile}_s.lib"
40282 # Extract public symbols from all the object files.
40283 tmpdefFile=${D}{defFile}_%
40284 rm -f ${D}tmpdefFile
40285 for file in ${D}inputFiles ; do
40290 doCommand "emxexp -u ${D}file >> ${D}tmpdefFile"
40295 # Create the def file.
40297 echo "LIBRARY \`basnam ${D}dllFile\` ${D}library_flags" >> ${D}defFile
40298 dllFile="${D}dllFile.dll"
40299 if -n ${D}description ; then
40300 echo "DESCRIPTION \"${D}{description}\"" >> ${D}defFile
40302 echo "EXPORTS" >> ${D}defFile
40304 doCommand "cat ${D}tmpdefFile | sort.exe | uniq.exe > ${D}{tmpdefFile}%"
40305 grep -v "^ *;" < ${D}{tmpdefFile}% | grep -v "^ *${D}" >${D}tmpdefFile
40307 # Checks if the export is ok or not.
40308 for word in ${D}exclude_symbols; do
40309 grep -v ${D}word < ${D}tmpdefFile >${D}{tmpdefFile}%
40310 mv ${D}{tmpdefFile}% ${D}tmpdefFile
40314 if ${D}EXPORT_BY_ORDINALS -ne 0 ; then
40315 sed "=" < ${D}tmpdefFile | \
40319 s/^\(0-9\+\)\(^;*\)\(;.*\)\?/\2 @\1 NONAME/
40321 ' > ${D}{tmpdefFile}%
40322 grep -v "^ *${D}" < ${D}{tmpdefFile}% > ${D}tmpdefFile
40324 rm -f ${D}{tmpdefFile}%
40326 cat ${D}tmpdefFile >> ${D}defFile
40327 rm -f ${D}tmpdefFile
40329 # Do linking, create implib, and apply lxlite.
40331 for file in ${D}inputFiles ; do
40336 gccCmdl="${D}gccCmdl ${D}file"
40340 doCommand "${D}CC ${D}CFLAGS -Zdll -o ${D}dllFile ${D}defFile ${D}gccCmdl ${D}EXTRA_CFLAGS"
40341 touch "${D}{outFile}.dll"
40343 doCommand "emximp -o ${D}arcFile ${D}defFile"
40344 if ${D}flag_USE_LXLITE -ne 0 ; then
40346 if ${D}EXPORT_BY_ORDINALS -ne 0 ; then
40349 doCommand "lxlite -cs -t: -mrn -mln ${D}add_flags ${D}dllFile"
40351 doCommand "emxomf -s -l ${D}arcFile"
40361 *-*-freebsd* | *-*-openbsd* | *-*-netbsd* | \
40369 { { echo "$as_me:$LINENO: error: unknown system type $BAKEFILE_HOST." >&5
40370 echo "$as_me: error: unknown system type $BAKEFILE_HOST." >&2;}
40371 { (exit 1); exit 1; }; }
40374 if test "x$SHARED_LD_MODULE_CC" = "x" ; then
40375 SHARED_LD_MODULE_CC
="$SHARED_LD_CC"
40377 if test "x$SHARED_LD_MODULE_CXX" = "x" ; then
40378 SHARED_LD_MODULE_CXX
="$SHARED_LD_CXX"
40395 case "${BAKEFILE_HOST}" in
40397 SONAME_FLAG
="-Wl,-soname,"
40425 echo "$as_me:$LINENO: checking for dependency tracking method" >&5
40426 echo $ECHO_N "checking for dependency tracking method... $ECHO_C" >&6
40429 if test "x$GCC" = "xyes"; then
40432 case "${BAKEFILE_HOST}" in
40433 powerpc
-*-darwin* )
40434 DEPSFLAG_GCC
="-no-cpp-precomp -MMD"
40437 DEPSFLAG_GCC
="-MMD"
40440 echo "$as_me:$LINENO: result: gcc" >&5
40441 echo "${ECHO_T}gcc" >&6
40443 echo "$as_me:$LINENO: result: none" >&5
40444 echo "${ECHO_T}none" >&6
40447 if test $DEPS_TRACKING = 1 ; then
40453 # This script is part of Bakefile (http://bakefile.sourceforge.net) autoconf
40454 # script. It is used to track C/C++ files dependencies in portable way.
40456 # Permission is given to use this file in any way.
40458 DEPSMODE=${DEPSMODE}
40460 DEPSFLAG_GCC="${DEPSFLAG_GCC}"
40462 mkdir -p ${D}DEPSDIR
40464 if test ${D}DEPSMODE = gcc ; then
40465 ${D}* ${D}{DEPSFLAG_GCC}
40467 if test ${D}{status} != 0 ; then
40470 # move created file to the location we want it in:
40471 while test ${D}# -gt 0; do
40485 depfile=\`basename ${D}srcfile | sed -e 's/\..*${D}/.d/g'\`
40486 depobjname=\`echo ${D}depfile |sed -e 's/\.d/.o/g'\`
40487 if test -f ${D}depfile ; then
40488 sed -e "s,${D}depobjname:,${D}objfile:,g" ${D}depfile >${D}{DEPSDIR}/${D}{objfile}.d
40491 depfile=\`basename ${D}objfile | sed -e 's/\..*${D}/.d/g'\`
40492 if test -f ${D}depfile ; then
40493 sed -e "/^${D}objfile/!s,${D}depobjname:,${D}objfile:,g" ${D}depfile >${D}{DEPSDIR}/${D}{objfile}.d
40513 case ${BAKEFILE_HOST} in
40514 *-*-cygwin* | *-*-mingw32* )
40515 if test "$build" != "$host" ; then
40516 RESCOMP
=$host_alias-windres
40518 # Extract the first word of "windres", so it can be a program name with args.
40519 set dummy windres
; ac_word
=$2
40520 echo "$as_me:$LINENO: checking for $ac_word" >&5
40521 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
40522 if test "${ac_cv_prog_RESCOMP+set}" = set; then
40523 echo $ECHO_N "(cached) $ECHO_C" >&6
40525 if test -n "$RESCOMP"; then
40526 ac_cv_prog_RESCOMP
="$RESCOMP" # Let the user override the test.
40528 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
40529 for as_dir
in $PATH
40532 test -z "$as_dir" && as_dir
=.
40533 for ac_exec_ext
in '' $ac_executable_extensions; do
40534 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
40535 ac_cv_prog_RESCOMP
="windres"
40536 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
40542 test -z "$ac_cv_prog_RESCOMP" && ac_cv_prog_RESCOMP
="windres"
40545 RESCOMP
=$ac_cv_prog_RESCOMP
40546 if test -n "$RESCOMP"; then
40547 echo "$as_me:$LINENO: result: $RESCOMP" >&5
40548 echo "${ECHO_T}$RESCOMP" >&6
40550 echo "$as_me:$LINENO: result: no" >&5
40551 echo "${ECHO_T}no" >&6
40558 # Extract the first word of "Rez", so it can be a program name with args.
40559 set dummy Rez
; ac_word
=$2
40560 echo "$as_me:$LINENO: checking for $ac_word" >&5
40561 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
40562 if test "${ac_cv_prog_RESCOMP+set}" = set; then
40563 echo $ECHO_N "(cached) $ECHO_C" >&6
40565 if test -n "$RESCOMP"; then
40566 ac_cv_prog_RESCOMP
="$RESCOMP" # Let the user override the test.
40568 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
40569 for as_dir
in $PATH
40572 test -z "$as_dir" && as_dir
=.
40573 for ac_exec_ext
in '' $ac_executable_extensions; do
40574 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
40575 ac_cv_prog_RESCOMP
="Rez"
40576 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
40582 test -z "$ac_cv_prog_RESCOMP" && ac_cv_prog_RESCOMP
="/Developer/Tools/Rez"
40585 RESCOMP
=$ac_cv_prog_RESCOMP
40586 if test -n "$RESCOMP"; then
40587 echo "$as_me:$LINENO: result: $RESCOMP" >&5
40588 echo "${ECHO_T}$RESCOMP" >&6
40590 echo "$as_me:$LINENO: result: no" >&5
40591 echo "${ECHO_T}no" >&6
40594 # Extract the first word of "SetFile", so it can be a program name with args.
40595 set dummy SetFile
; ac_word
=$2
40596 echo "$as_me:$LINENO: checking for $ac_word" >&5
40597 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
40598 if test "${ac_cv_prog_SETFILE+set}" = set; then
40599 echo $ECHO_N "(cached) $ECHO_C" >&6
40601 if test -n "$SETFILE"; then
40602 ac_cv_prog_SETFILE
="$SETFILE" # Let the user override the test.
40604 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
40605 for as_dir
in $PATH
40608 test -z "$as_dir" && as_dir
=.
40609 for ac_exec_ext
in '' $ac_executable_extensions; do
40610 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
40611 ac_cv_prog_SETFILE
="SetFile"
40612 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
40618 test -z "$ac_cv_prog_SETFILE" && ac_cv_prog_SETFILE
="/Developer/Tools/SetFile"
40621 SETFILE
=$ac_cv_prog_SETFILE
40622 if test -n "$SETFILE"; then
40623 echo "$as_me:$LINENO: result: $SETFILE" >&5
40624 echo "${ECHO_T}$SETFILE" >&6
40626 echo "$as_me:$LINENO: result: no" >&5
40627 echo "${ECHO_T}no" >&6
40638 BAKEFILE_AUTOCONF_INC_M4_VERSION
="0.1.4"
40643 # Check whether --enable-precomp-headers or --disable-precomp-headers was given.
40644 if test "${enable_precomp_headers+set}" = set; then
40645 enableval
="$enable_precomp_headers"
40646 bk_use_pch
="$enableval"
40651 if test "x$bk_use_pch" = "x" -o "x$bk_use_pch" = "xyes" ; then
40652 if test "x$GCC" = "xyes"; then
40653 echo "$as_me:$LINENO: checking if the compiler supports precompiled headers" >&5
40654 echo $ECHO_N "checking if the compiler supports precompiled headers... $ECHO_C" >&6
40655 cat >conftest.
$ac_ext <<_ACEOF
40658 cat confdefs.h
>>conftest.
$ac_ext
40659 cat >>conftest.
$ac_ext <<_ACEOF
40660 /* end confdefs.h. */
40666 #if !defined(__GNUC__) || !defined(__GNUC_MINOR__)
40667 #error "no pch support"
40670 #error "no pch support"
40672 #if (__GNUC__ == 3) && \
40673 ((!defined(__APPLE_CC__) && (__GNUC_MINOR__ < 4)) || \
40674 ( defined(__APPLE_CC__) && (__GNUC_MINOR__ < 3)))
40675 #error "no pch support"
40682 rm -f conftest.
$ac_objext
40683 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40684 (eval $ac_compile) 2>conftest.er1
40686 grep -v '^ *+' conftest.er1
>conftest.err
40688 cat conftest.err
>&5
40689 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40690 (exit $ac_status); } &&
40691 { ac_try
='test -z "$ac_c_werror_flag"
40692 || test ! -s conftest.err'
40693 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40694 (eval $ac_try) 2>&5
40696 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40697 (exit $ac_status); }; } &&
40698 { ac_try
='test -s conftest.$ac_objext'
40699 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40700 (eval $ac_try) 2>&5
40702 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40703 (exit $ac_status); }; }; then
40705 echo "$as_me:$LINENO: result: yes" >&5
40706 echo "${ECHO_T}yes" >&6
40707 CPPFLAGS
="-fpch-deps $CPPFLAGS"
40711 echo "$as_me: failed program was:" >&5
40712 sed 's/^/| /' conftest.
$ac_ext >&5
40715 echo "$as_me:$LINENO: result: no" >&5
40716 echo "${ECHO_T}no" >&6
40719 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
40720 if test $GCC_PCH = 1 ; then
40721 cat <<EOF >bk-make-pch
40724 # This script is part of Bakefile (http://bakefile.sourceforge.net) autoconf
40725 # script. It is used to generated precompiled headers.
40727 # Permission is given to use this file in any way.
40736 while test \${#} -gt 0; do
40739 incdir=\`echo \${1} | sed -e 's/-I\(.*\)/\1/g'\`
40740 if test "x\${headerfile}" = "x" -a -f "\${incdir}/\${header}" ; then
40741 headerfile="\${incdir}/\${header}"
40745 compiler="\${compiler} \${1}"
40749 if test "x\${headerfile}" = "x" ; then
40750 echo "error: can't find header \${header} in include paths" >2
40752 if test -f \${outfile} ; then
40755 mkdir -p \`dirname \${outfile}\`
40757 depsfile=".deps/\`basename \${outfile}\`.d"
40759 # can do this because gcc is >= 3.4:
40760 \${compiler} -o \${outfile} -MMD -MF "\${depsfile}" "\${headerfile}"
40764 chmod +x bk
-make-pch
40775 # Check whether --enable-precomp-headers or --disable-precomp-headers was given.
40776 if test "${enable_precomp_headers+set}" = set; then
40777 enableval
="$enable_precomp_headers"
40778 bk_use_pch
="$enableval"
40783 if test "x$bk_use_pch" = "x" -o "x$bk_use_pch" = "xyes" ; then
40784 if test "x$GCC" = "xyes"; then
40785 echo "$as_me:$LINENO: checking if the compiler supports precompiled headers" >&5
40786 echo $ECHO_N "checking if the compiler supports precompiled headers... $ECHO_C" >&6
40787 cat >conftest.
$ac_ext <<_ACEOF
40790 cat confdefs.h
>>conftest.
$ac_ext
40791 cat >>conftest.
$ac_ext <<_ACEOF
40792 /* end confdefs.h. */
40798 #if !defined(__GNUC__) || !defined(__GNUC_MINOR__)
40799 #error "no pch support"
40802 #error "no pch support"
40804 #if (__GNUC__ == 3) && \
40805 ((!defined(__APPLE_CC__) && (__GNUC_MINOR__ < 4)) || \
40806 ( defined(__APPLE_CC__) && (__GNUC_MINOR__ < 3)))
40807 #error "no pch support"
40814 rm -f conftest.
$ac_objext
40815 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40816 (eval $ac_compile) 2>conftest.er1
40818 grep -v '^ *+' conftest.er1
>conftest.err
40820 cat conftest.err
>&5
40821 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40822 (exit $ac_status); } &&
40823 { ac_try
='test -z "$ac_c_werror_flag"
40824 || test ! -s conftest.err'
40825 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40826 (eval $ac_try) 2>&5
40828 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40829 (exit $ac_status); }; } &&
40830 { ac_try
='test -s conftest.$ac_objext'
40831 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40832 (eval $ac_try) 2>&5
40834 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40835 (exit $ac_status); }; }; then
40837 echo "$as_me:$LINENO: result: yes" >&5
40838 echo "${ECHO_T}yes" >&6
40839 CPPFLAGS
="-fpch-deps $CPPFLAGS"
40843 echo "$as_me: failed program was:" >&5
40844 sed 's/^/| /' conftest.
$ac_ext >&5
40847 echo "$as_me:$LINENO: result: no" >&5
40848 echo "${ECHO_T}no" >&6
40851 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
40852 if test $GCC_PCH = 1 ; then
40853 cat <<EOF >bk-make-pch
40856 # This script is part of Bakefile (http://bakefile.sourceforge.net) autoconf
40857 # script. It is used to generated precompiled headers.
40859 # Permission is given to use this file in any way.
40868 while test \${#} -gt 0; do
40871 incdir=\`echo \${1} | sed -e 's/-I\(.*\)/\1/g'\`
40872 if test "x\${headerfile}" = "x" -a -f "\${incdir}/\${header}" ; then
40873 headerfile="\${incdir}/\${header}"
40877 compiler="\${compiler} \${1}"
40881 if test "x\${headerfile}" = "x" ; then
40882 echo "error: can't find header \${header} in include paths" >2
40884 if test -f \${outfile} ; then
40887 mkdir -p \`dirname \${outfile}\`
40889 depsfile=".deps/\`basename \${outfile}\`.d"
40891 # can do this because gcc is >= 3.4:
40892 \${compiler} -o \${outfile} -MMD -MF "\${depsfile}" "\${headerfile}"
40896 chmod +x bk
-make-pch
40904 COND_BUILD_DEBUG
="#"
40905 if test "x$BUILD" = "xdebug" ; then
40906 COND_BUILD_DEBUG
=""
40909 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT
="#"
40910 if test "x$BUILD" = "xdebug" -a "x$DEBUG_FLAG" = "xdefault" ; then
40911 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT
=""
40914 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT
="#"
40915 if test "x$BUILD" = "xdebug" -a "x$DEBUG_INFO" = "xdefault" ; then
40916 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT
=""
40919 COND_BUILD_DEBUG_UNICODE_0
="#"
40920 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x0" ; then
40921 COND_BUILD_DEBUG_UNICODE_0
=""
40924 COND_BUILD_DEBUG_UNICODE_1
="#"
40925 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x1" ; then
40926 COND_BUILD_DEBUG_UNICODE_1
=""
40929 COND_BUILD_RELEASE
="#"
40930 if test "x$BUILD" = "xrelease" ; then
40931 COND_BUILD_RELEASE
=""
40934 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT
="#"
40935 if test "x$BUILD" = "xrelease" -a "x$DEBUG_INFO" = "xdefault" ; then
40936 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT
=""
40939 COND_BUILD_RELEASE_UNICODE_0
="#"
40940 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x0" ; then
40941 COND_BUILD_RELEASE_UNICODE_0
=""
40944 COND_BUILD_RELEASE_UNICODE_1
="#"
40945 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x1" ; then
40946 COND_BUILD_RELEASE_UNICODE_1
=""
40949 COND_DEBUG_FLAG_1
="#"
40950 if test "x$DEBUG_FLAG" = "x1" ; then
40951 COND_DEBUG_FLAG_1
=""
40954 COND_DEBUG_INFO_0
="#"
40955 if test "x$DEBUG_INFO" = "x0" ; then
40956 COND_DEBUG_INFO_0
=""
40959 COND_DEBUG_INFO_1
="#"
40960 if test "x$DEBUG_INFO" = "x1" ; then
40961 COND_DEBUG_INFO_1
=""
40964 COND_DEPS_TRACKING_0
="#"
40965 if test "x$DEPS_TRACKING" = "x0" ; then
40966 COND_DEPS_TRACKING_0
=""
40969 COND_DEPS_TRACKING_1
="#"
40970 if test "x$DEPS_TRACKING" = "x1" ; then
40971 COND_DEPS_TRACKING_1
=""
40975 if test "x$GCC_PCH" = "x1" ; then
40979 COND_MONOLITHIC_0
="#"
40980 if test "x$MONOLITHIC" = "x0" ; then
40981 COND_MONOLITHIC_0
=""
40984 COND_MONOLITHIC_0_SHARED_0
="#"
40985 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" ; then
40986 COND_MONOLITHIC_0_SHARED_0
=""
40989 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1
="#"
40990 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" ; then
40991 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1
=""
40994 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_ODBC_1
="#"
40995 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_ODBC" = "x1" ; then
40996 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_ODBC_1
=""
40999 COND_MONOLITHIC_0_SHARED_0_USE_HTML_1
="#"
41000 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_HTML" = "x1" ; then
41001 COND_MONOLITHIC_0_SHARED_0_USE_HTML_1
=""
41004 COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1
="#"
41005 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_ODBC" = "x1" ; then
41006 COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1
=""
41009 COND_MONOLITHIC_0_SHARED_1
="#"
41010 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" ; then
41011 COND_MONOLITHIC_0_SHARED_1
=""
41014 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1
="#"
41015 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" ; then
41016 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1
=""
41019 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_ODBC_1
="#"
41020 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_ODBC" = "x1" ; then
41021 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_ODBC_1
=""
41024 COND_MONOLITHIC_0_SHARED_1_USE_HTML_1
="#"
41025 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_HTML" = "x1" ; then
41026 COND_MONOLITHIC_0_SHARED_1_USE_HTML_1
=""
41029 COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1
="#"
41030 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_ODBC" = "x1" ; then
41031 COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1
=""
41034 COND_MONOLITHIC_0_USE_ODBC_1
="#"
41035 if test "x$MONOLITHIC" = "x0" -a "x$USE_ODBC" = "x1" ; then
41036 COND_MONOLITHIC_0_USE_ODBC_1
=""
41039 COND_MONOLITHIC_1
="#"
41040 if test "x$MONOLITHIC" = "x1" ; then
41041 COND_MONOLITHIC_1
=""
41044 COND_MONOLITHIC_1_SHARED_0
="#"
41045 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x0" ; then
41046 COND_MONOLITHIC_1_SHARED_0
=""
41049 COND_MONOLITHIC_1_SHARED_1
="#"
41050 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x1" ; then
41051 COND_MONOLITHIC_1_SHARED_1
=""
41054 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1
="#"
41055 if test "x$OFFICIAL_BUILD" = "x0" -a "x$PLATFORM_WIN32" = "x1" ; then
41056 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1
=""
41059 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1
="#"
41060 if test "x$OFFICIAL_BUILD" = "x1" -a "x$PLATFORM_WIN32" = "x1" ; then
41061 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1
=""
41064 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1
="#"
41065 if test "x$PLATFORM_MACOSX" = "x0" -a "x$USE_SOVERSION" = "x1" ; then
41066 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1
=""
41069 COND_PLATFORM_MACOSX_1
="#"
41070 if test "x$PLATFORM_MACOSX" = "x1" ; then
41071 COND_PLATFORM_MACOSX_1
=""
41074 COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA
="#"
41075 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xCOCOA" ; then
41076 COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA
=""
41079 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK
="#"
41080 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xGTK" ; then
41081 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK
=""
41084 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC
="#"
41085 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMAC" ; then
41086 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC
=""
41089 COND_PLATFORM_MACOSX_1_USE_GUI_1
="#"
41090 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_GUI" = "x1" ; then
41091 COND_PLATFORM_MACOSX_1_USE_GUI_1
=""
41094 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1
="#"
41095 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_SOVERSION" = "x1" ; then
41096 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1
=""
41099 COND_PLATFORM_MAC_1
="#"
41100 if test "x$PLATFORM_MAC" = "x1" ; then
41101 COND_PLATFORM_MAC_1
=""
41104 COND_PLATFORM_OS2_1
="#"
41105 if test "x$PLATFORM_OS2" = "x1" ; then
41106 COND_PLATFORM_OS2_1
=""
41109 COND_PLATFORM_UNIX_0
="#"
41110 if test "x$PLATFORM_UNIX" = "x0" ; then
41111 COND_PLATFORM_UNIX_0
=""
41114 COND_PLATFORM_UNIX_1
="#"
41115 if test "x$PLATFORM_UNIX" = "x1" ; then
41116 COND_PLATFORM_UNIX_1
=""
41119 COND_PLATFORM_UNIX_1_USE_GUI_1
="#"
41120 if test "x$PLATFORM_UNIX" = "x1" -a "x$USE_GUI" = "x1" ; then
41121 COND_PLATFORM_UNIX_1_USE_GUI_1
=""
41124 COND_PLATFORM_UNIX_1_USE_PLUGINS_0
="#"
41125 if test "x$PLATFORM_UNIX" = "x1" -a "x$USE_PLUGINS" = "x0" ; then
41126 COND_PLATFORM_UNIX_1_USE_PLUGINS_0
=""
41129 COND_PLATFORM_WIN32_0
="#"
41130 if test "x$PLATFORM_WIN32" = "x0" ; then
41131 COND_PLATFORM_WIN32_0
=""
41134 COND_PLATFORM_WIN32_1
="#"
41135 if test "x$PLATFORM_WIN32" = "x1" ; then
41136 COND_PLATFORM_WIN32_1
=""
41140 if test "x$SHARED" = "x0" ; then
41144 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1
="#"
41145 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
41146 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1
=""
41149 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN
="#"
41150 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
41151 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN
=""
41154 COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN
="#"
41155 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
41156 COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN
=""
41159 COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN
="#"
41160 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
41161 COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN
=""
41164 COND_SHARED_0_WXUSE_EXPAT_BUILTIN
="#"
41165 if test "x$SHARED" = "x0" -a "x$wxUSE_EXPAT" = "xbuiltin" ; then
41166 COND_SHARED_0_WXUSE_EXPAT_BUILTIN
=""
41169 COND_SHARED_0_WXUSE_ODBC_BUILTIN
="#"
41170 if test "x$SHARED" = "x0" -a "x$wxUSE_ODBC" = "xbuiltin" ; then
41171 COND_SHARED_0_WXUSE_ODBC_BUILTIN
=""
41174 COND_SHARED_0_WXUSE_REGEX_BUILTIN
="#"
41175 if test "x$SHARED" = "x0" -a "x$wxUSE_REGEX" = "xbuiltin" ; then
41176 COND_SHARED_0_WXUSE_REGEX_BUILTIN
=""
41179 COND_SHARED_0_WXUSE_ZLIB_BUILTIN
="#"
41180 if test "x$SHARED" = "x0" -a "x$wxUSE_ZLIB" = "xbuiltin" ; then
41181 COND_SHARED_0_WXUSE_ZLIB_BUILTIN
=""
41185 if test "x$SHARED" = "x1" ; then
41189 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1
="#"
41190 if test "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
41191 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1
=""
41194 COND_TOOLKIT_COCOA
="#"
41195 if test "x$TOOLKIT" = "xCOCOA" ; then
41196 COND_TOOLKIT_COCOA
=""
41199 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0
="#"
41200 if test "x$TOOLKIT" = "xCOCOA" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
41201 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0
=""
41204 COND_TOOLKIT_GTK
="#"
41205 if test "x$TOOLKIT" = "xGTK" ; then
41206 COND_TOOLKIT_GTK
=""
41209 COND_TOOLKIT_GTK_USE_GUI_1
="#"
41210 if test "x$TOOLKIT" = "xGTK" -a "x$USE_GUI" = "x1" ; then
41211 COND_TOOLKIT_GTK_USE_GUI_1
=""
41214 COND_TOOLKIT_GTK_USE_GUI_1_WXUNIV_0
="#"
41215 if test "x$TOOLKIT" = "xGTK" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
41216 COND_TOOLKIT_GTK_USE_GUI_1_WXUNIV_0
=""
41219 COND_TOOLKIT_MAC
="#"
41220 if test "x$TOOLKIT" = "xMAC" ; then
41221 COND_TOOLKIT_MAC
=""
41224 COND_TOOLKIT_MAC_USE_GUI_1
="#"
41225 if test "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" ; then
41226 COND_TOOLKIT_MAC_USE_GUI_1
=""
41229 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0
="#"
41230 if test "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
41231 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0
=""
41234 COND_TOOLKIT_MGL
="#"
41235 if test "x$TOOLKIT" = "xMGL" ; then
41236 COND_TOOLKIT_MGL
=""
41239 COND_TOOLKIT_MGL_USE_GUI_1
="#"
41240 if test "x$TOOLKIT" = "xMGL" -a "x$USE_GUI" = "x1" ; then
41241 COND_TOOLKIT_MGL_USE_GUI_1
=""
41244 COND_TOOLKIT_MOTIF
="#"
41245 if test "x$TOOLKIT" = "xMOTIF" ; then
41246 COND_TOOLKIT_MOTIF
=""
41249 COND_TOOLKIT_MOTIF_USE_GUI_1
="#"
41250 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" ; then
41251 COND_TOOLKIT_MOTIF_USE_GUI_1
=""
41254 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0
="#"
41255 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
41256 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0
=""
41259 COND_TOOLKIT_MSW
="#"
41260 if test "x$TOOLKIT" = "xMSW" ; then
41261 COND_TOOLKIT_MSW
=""
41264 COND_TOOLKIT_MSW_USE_GUI_1
="#"
41265 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" ; then
41266 COND_TOOLKIT_MSW_USE_GUI_1
=""
41269 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0
="#"
41270 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
41271 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0
=""
41274 COND_TOOLKIT_PM
="#"
41275 if test "x$TOOLKIT" = "xPM" ; then
41279 COND_TOOLKIT_PM_USE_GUI_1
="#"
41280 if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" ; then
41281 COND_TOOLKIT_PM_USE_GUI_1
=""
41284 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0
="#"
41285 if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
41286 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0
=""
41289 COND_TOOLKIT_WINCE
="#"
41290 if test "x$TOOLKIT" = "xWINCE" ; then
41291 COND_TOOLKIT_WINCE
=""
41294 COND_TOOLKIT_WINCE_USE_GUI_1
="#"
41295 if test "x$TOOLKIT" = "xWINCE" -a "x$USE_GUI" = "x1" ; then
41296 COND_TOOLKIT_WINCE_USE_GUI_1
=""
41299 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0
="#"
41300 if test "x$TOOLKIT" = "xWINCE" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
41301 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0
=""
41304 COND_TOOLKIT_X11
="#"
41305 if test "x$TOOLKIT" = "xX11" ; then
41306 COND_TOOLKIT_X11
=""
41309 COND_TOOLKIT_X11_USE_GUI_1
="#"
41310 if test "x$TOOLKIT" = "xX11" -a "x$USE_GUI" = "x1" ; then
41311 COND_TOOLKIT_X11_USE_GUI_1
=""
41315 if test "x$UNICODE" = "x1" ; then
41319 COND_USE_EXCEPTIONS_0
="#"
41320 if test "x$USE_EXCEPTIONS" = "x0" ; then
41321 COND_USE_EXCEPTIONS_0
=""
41324 COND_USE_EXCEPTIONS_1
="#"
41325 if test "x$USE_EXCEPTIONS" = "x1" ; then
41326 COND_USE_EXCEPTIONS_1
=""
41330 if test "x$USE_GUI" = "x0" ; then
41335 if test "x$USE_GUI" = "x1" ; then
41339 COND_USE_GUI_1_WXUNIV_0
="#"
41340 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
41341 COND_USE_GUI_1_WXUNIV_0
=""
41344 COND_USE_GUI_1_WXUNIV_1
="#"
41345 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x1" ; then
41346 COND_USE_GUI_1_WXUNIV_1
=""
41349 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN
="#"
41350 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
41351 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN
=""
41354 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN
="#"
41355 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
41356 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN
=""
41359 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN
="#"
41360 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
41361 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN
=""
41364 COND_USE_ODBC_1
="#"
41365 if test "x$USE_ODBC" = "x1" ; then
41369 COND_USE_PLUGINS_0
="#"
41370 if test "x$USE_PLUGINS" = "x0" ; then
41371 COND_USE_PLUGINS_0
=""
41374 COND_USE_SOSYMLINKS_1
="#"
41375 if test "x$USE_SOSYMLINKS" = "x1" ; then
41376 COND_USE_SOSYMLINKS_1
=""
41379 COND_USE_SOVERLINUX_1
="#"
41380 if test "x$USE_SOVERLINUX" = "x1" ; then
41381 COND_USE_SOVERLINUX_1
=""
41384 COND_USE_SOVERSION_0
="#"
41385 if test "x$USE_SOVERSION" = "x0" ; then
41386 COND_USE_SOVERSION_0
=""
41389 COND_USE_SOVERSOLARIS_1
="#"
41390 if test "x$USE_SOVERSOLARIS" = "x1" ; then
41391 COND_USE_SOVERSOLARIS_1
=""
41394 COND_WITH_PLUGIN_SDL_1
="#"
41395 if test "x$WITH_PLUGIN_SDL" = "x1" ; then
41396 COND_WITH_PLUGIN_SDL_1
=""
41399 COND_WITH_SDL_1
="#"
41400 if test "x$WITH_SDL" = "x1" ; then
41405 if test "x$WXUNIV" = "x1" ; then
41409 COND_WXUSE_EXPAT_BUILTIN
="#"
41410 if test "x$wxUSE_EXPAT" = "xbuiltin" ; then
41411 COND_WXUSE_EXPAT_BUILTIN
=""
41414 COND_WXUSE_LIBJPEG_BUILTIN
="#"
41415 if test "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
41416 COND_WXUSE_LIBJPEG_BUILTIN
=""
41419 COND_WXUSE_LIBPNG_BUILTIN
="#"
41420 if test "x$wxUSE_LIBPNG" = "xbuiltin" ; then
41421 COND_WXUSE_LIBPNG_BUILTIN
=""
41424 COND_WXUSE_LIBTIFF_BUILTIN
="#"
41425 if test "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
41426 COND_WXUSE_LIBTIFF_BUILTIN
=""
41429 COND_WXUSE_ODBC_BUILTIN
="#"
41430 if test "x$wxUSE_ODBC" = "xbuiltin" ; then
41431 COND_WXUSE_ODBC_BUILTIN
=""
41434 COND_WXUSE_REGEX_BUILTIN
="#"
41435 if test "x$wxUSE_REGEX" = "xbuiltin" ; then
41436 COND_WXUSE_REGEX_BUILTIN
=""
41439 COND_WXUSE_ZLIB_BUILTIN
="#"
41440 if test "x$wxUSE_ZLIB" = "xbuiltin" ; then
41441 COND_WXUSE_ZLIB_BUILTIN
=""
41444 COND_BUILD_DEBUG
="#"
41445 if test "x$BUILD" = "xdebug" ; then
41446 COND_BUILD_DEBUG
=""
41449 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT
="#"
41450 if test "x$BUILD" = "xdebug" -a "x$DEBUG_FLAG" = "xdefault" ; then
41451 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT
=""
41454 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT
="#"
41455 if test "x$BUILD" = "xdebug" -a "x$DEBUG_INFO" = "xdefault" ; then
41456 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT
=""
41459 COND_BUILD_DEBUG_UNICODE_0
="#"
41460 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x0" ; then
41461 COND_BUILD_DEBUG_UNICODE_0
=""
41464 COND_BUILD_DEBUG_UNICODE_1
="#"
41465 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x1" ; then
41466 COND_BUILD_DEBUG_UNICODE_1
=""
41469 COND_BUILD_RELEASE
="#"
41470 if test "x$BUILD" = "xrelease" ; then
41471 COND_BUILD_RELEASE
=""
41474 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT
="#"
41475 if test "x$BUILD" = "xrelease" -a "x$DEBUG_INFO" = "xdefault" ; then
41476 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT
=""
41479 COND_BUILD_RELEASE_UNICODE_0
="#"
41480 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x0" ; then
41481 COND_BUILD_RELEASE_UNICODE_0
=""
41484 COND_BUILD_RELEASE_UNICODE_1
="#"
41485 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x1" ; then
41486 COND_BUILD_RELEASE_UNICODE_1
=""
41489 COND_DEBUG_FLAG_1
="#"
41490 if test "x$DEBUG_FLAG" = "x1" ; then
41491 COND_DEBUG_FLAG_1
=""
41494 COND_DEBUG_INFO_0
="#"
41495 if test "x$DEBUG_INFO" = "x0" ; then
41496 COND_DEBUG_INFO_0
=""
41499 COND_DEBUG_INFO_1
="#"
41500 if test "x$DEBUG_INFO" = "x1" ; then
41501 COND_DEBUG_INFO_1
=""
41504 COND_DEPS_TRACKING_0
="#"
41505 if test "x$DEPS_TRACKING" = "x0" ; then
41506 COND_DEPS_TRACKING_0
=""
41509 COND_DEPS_TRACKING_1
="#"
41510 if test "x$DEPS_TRACKING" = "x1" ; then
41511 COND_DEPS_TRACKING_1
=""
41515 if test "x$GCC_PCH" = "x1" ; then
41519 COND_MONOLITHIC_0
="#"
41520 if test "x$MONOLITHIC" = "x0" ; then
41521 COND_MONOLITHIC_0
=""
41524 COND_MONOLITHIC_0_SHARED_0
="#"
41525 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" ; then
41526 COND_MONOLITHIC_0_SHARED_0
=""
41529 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1
="#"
41530 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" ; then
41531 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1
=""
41534 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_ODBC_1
="#"
41535 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_ODBC" = "x1" ; then
41536 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_ODBC_1
=""
41539 COND_MONOLITHIC_0_SHARED_0_USE_HTML_1
="#"
41540 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_HTML" = "x1" ; then
41541 COND_MONOLITHIC_0_SHARED_0_USE_HTML_1
=""
41544 COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1
="#"
41545 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_ODBC" = "x1" ; then
41546 COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1
=""
41549 COND_MONOLITHIC_0_SHARED_1
="#"
41550 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" ; then
41551 COND_MONOLITHIC_0_SHARED_1
=""
41554 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1
="#"
41555 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" ; then
41556 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1
=""
41559 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_ODBC_1
="#"
41560 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_ODBC" = "x1" ; then
41561 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_ODBC_1
=""
41564 COND_MONOLITHIC_0_SHARED_1_USE_HTML_1
="#"
41565 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_HTML" = "x1" ; then
41566 COND_MONOLITHIC_0_SHARED_1_USE_HTML_1
=""
41569 COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1
="#"
41570 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_ODBC" = "x1" ; then
41571 COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1
=""
41574 COND_MONOLITHIC_0_USE_ODBC_1
="#"
41575 if test "x$MONOLITHIC" = "x0" -a "x$USE_ODBC" = "x1" ; then
41576 COND_MONOLITHIC_0_USE_ODBC_1
=""
41579 COND_MONOLITHIC_1
="#"
41580 if test "x$MONOLITHIC" = "x1" ; then
41581 COND_MONOLITHIC_1
=""
41584 COND_MONOLITHIC_1_SHARED_0
="#"
41585 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x0" ; then
41586 COND_MONOLITHIC_1_SHARED_0
=""
41589 COND_MONOLITHIC_1_SHARED_1
="#"
41590 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x1" ; then
41591 COND_MONOLITHIC_1_SHARED_1
=""
41594 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1
="#"
41595 if test "x$OFFICIAL_BUILD" = "x0" -a "x$PLATFORM_WIN32" = "x1" ; then
41596 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1
=""
41599 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1
="#"
41600 if test "x$OFFICIAL_BUILD" = "x1" -a "x$PLATFORM_WIN32" = "x1" ; then
41601 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1
=""
41604 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1
="#"
41605 if test "x$PLATFORM_MACOSX" = "x0" -a "x$USE_SOVERSION" = "x1" ; then
41606 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1
=""
41609 COND_PLATFORM_MACOSX_1
="#"
41610 if test "x$PLATFORM_MACOSX" = "x1" ; then
41611 COND_PLATFORM_MACOSX_1
=""
41614 COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA
="#"
41615 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xCOCOA" ; then
41616 COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA
=""
41619 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK
="#"
41620 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xGTK" ; then
41621 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK
=""
41624 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC
="#"
41625 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMAC" ; then
41626 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC
=""
41629 COND_PLATFORM_MACOSX_1_USE_GUI_1
="#"
41630 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_GUI" = "x1" ; then
41631 COND_PLATFORM_MACOSX_1_USE_GUI_1
=""
41634 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1
="#"
41635 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_SOVERSION" = "x1" ; then
41636 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1
=""
41639 COND_PLATFORM_MAC_1
="#"
41640 if test "x$PLATFORM_MAC" = "x1" ; then
41641 COND_PLATFORM_MAC_1
=""
41644 COND_PLATFORM_OS2_1
="#"
41645 if test "x$PLATFORM_OS2" = "x1" ; then
41646 COND_PLATFORM_OS2_1
=""
41649 COND_PLATFORM_UNIX_0
="#"
41650 if test "x$PLATFORM_UNIX" = "x0" ; then
41651 COND_PLATFORM_UNIX_0
=""
41654 COND_PLATFORM_UNIX_1
="#"
41655 if test "x$PLATFORM_UNIX" = "x1" ; then
41656 COND_PLATFORM_UNIX_1
=""
41659 COND_PLATFORM_UNIX_1_USE_GUI_1
="#"
41660 if test "x$PLATFORM_UNIX" = "x1" -a "x$USE_GUI" = "x1" ; then
41661 COND_PLATFORM_UNIX_1_USE_GUI_1
=""
41664 COND_PLATFORM_UNIX_1_USE_PLUGINS_0
="#"
41665 if test "x$PLATFORM_UNIX" = "x1" -a "x$USE_PLUGINS" = "x0" ; then
41666 COND_PLATFORM_UNIX_1_USE_PLUGINS_0
=""
41669 COND_PLATFORM_WIN32_0
="#"
41670 if test "x$PLATFORM_WIN32" = "x0" ; then
41671 COND_PLATFORM_WIN32_0
=""
41674 COND_PLATFORM_WIN32_1
="#"
41675 if test "x$PLATFORM_WIN32" = "x1" ; then
41676 COND_PLATFORM_WIN32_1
=""
41680 if test "x$SHARED" = "x0" ; then
41684 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1
="#"
41685 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
41686 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1
=""
41689 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN
="#"
41690 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
41691 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN
=""
41694 COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN
="#"
41695 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
41696 COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN
=""
41699 COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN
="#"
41700 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
41701 COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN
=""
41704 COND_SHARED_0_WXUSE_EXPAT_BUILTIN
="#"
41705 if test "x$SHARED" = "x0" -a "x$wxUSE_EXPAT" = "xbuiltin" ; then
41706 COND_SHARED_0_WXUSE_EXPAT_BUILTIN
=""
41709 COND_SHARED_0_WXUSE_ODBC_BUILTIN
="#"
41710 if test "x$SHARED" = "x0" -a "x$wxUSE_ODBC" = "xbuiltin" ; then
41711 COND_SHARED_0_WXUSE_ODBC_BUILTIN
=""
41714 COND_SHARED_0_WXUSE_REGEX_BUILTIN
="#"
41715 if test "x$SHARED" = "x0" -a "x$wxUSE_REGEX" = "xbuiltin" ; then
41716 COND_SHARED_0_WXUSE_REGEX_BUILTIN
=""
41719 COND_SHARED_0_WXUSE_ZLIB_BUILTIN
="#"
41720 if test "x$SHARED" = "x0" -a "x$wxUSE_ZLIB" = "xbuiltin" ; then
41721 COND_SHARED_0_WXUSE_ZLIB_BUILTIN
=""
41725 if test "x$SHARED" = "x1" ; then
41729 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1
="#"
41730 if test "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
41731 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1
=""
41734 COND_TOOLKIT_COCOA
="#"
41735 if test "x$TOOLKIT" = "xCOCOA" ; then
41736 COND_TOOLKIT_COCOA
=""
41739 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0
="#"
41740 if test "x$TOOLKIT" = "xCOCOA" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
41741 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0
=""
41744 COND_TOOLKIT_GTK
="#"
41745 if test "x$TOOLKIT" = "xGTK" ; then
41746 COND_TOOLKIT_GTK
=""
41749 COND_TOOLKIT_GTK_USE_GUI_1
="#"
41750 if test "x$TOOLKIT" = "xGTK" -a "x$USE_GUI" = "x1" ; then
41751 COND_TOOLKIT_GTK_USE_GUI_1
=""
41754 COND_TOOLKIT_GTK_USE_GUI_1_WXUNIV_0
="#"
41755 if test "x$TOOLKIT" = "xGTK" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
41756 COND_TOOLKIT_GTK_USE_GUI_1_WXUNIV_0
=""
41759 COND_TOOLKIT_MAC
="#"
41760 if test "x$TOOLKIT" = "xMAC" ; then
41761 COND_TOOLKIT_MAC
=""
41764 COND_TOOLKIT_MAC_USE_GUI_1
="#"
41765 if test "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" ; then
41766 COND_TOOLKIT_MAC_USE_GUI_1
=""
41769 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0
="#"
41770 if test "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
41771 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0
=""
41774 COND_TOOLKIT_MGL
="#"
41775 if test "x$TOOLKIT" = "xMGL" ; then
41776 COND_TOOLKIT_MGL
=""
41779 COND_TOOLKIT_MGL_USE_GUI_1
="#"
41780 if test "x$TOOLKIT" = "xMGL" -a "x$USE_GUI" = "x1" ; then
41781 COND_TOOLKIT_MGL_USE_GUI_1
=""
41784 COND_TOOLKIT_MOTIF
="#"
41785 if test "x$TOOLKIT" = "xMOTIF" ; then
41786 COND_TOOLKIT_MOTIF
=""
41789 COND_TOOLKIT_MOTIF_USE_GUI_1
="#"
41790 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" ; then
41791 COND_TOOLKIT_MOTIF_USE_GUI_1
=""
41794 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0
="#"
41795 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
41796 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0
=""
41799 COND_TOOLKIT_MSW
="#"
41800 if test "x$TOOLKIT" = "xMSW" ; then
41801 COND_TOOLKIT_MSW
=""
41804 COND_TOOLKIT_MSW_USE_GUI_1
="#"
41805 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" ; then
41806 COND_TOOLKIT_MSW_USE_GUI_1
=""
41809 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0
="#"
41810 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
41811 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0
=""
41814 COND_TOOLKIT_PM
="#"
41815 if test "x$TOOLKIT" = "xPM" ; then
41819 COND_TOOLKIT_PM_USE_GUI_1
="#"
41820 if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" ; then
41821 COND_TOOLKIT_PM_USE_GUI_1
=""
41824 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0
="#"
41825 if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
41826 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0
=""
41829 COND_TOOLKIT_WINCE
="#"
41830 if test "x$TOOLKIT" = "xWINCE" ; then
41831 COND_TOOLKIT_WINCE
=""
41834 COND_TOOLKIT_WINCE_USE_GUI_1
="#"
41835 if test "x$TOOLKIT" = "xWINCE" -a "x$USE_GUI" = "x1" ; then
41836 COND_TOOLKIT_WINCE_USE_GUI_1
=""
41839 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0
="#"
41840 if test "x$TOOLKIT" = "xWINCE" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
41841 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0
=""
41844 COND_TOOLKIT_X11
="#"
41845 if test "x$TOOLKIT" = "xX11" ; then
41846 COND_TOOLKIT_X11
=""
41849 COND_TOOLKIT_X11_USE_GUI_1
="#"
41850 if test "x$TOOLKIT" = "xX11" -a "x$USE_GUI" = "x1" ; then
41851 COND_TOOLKIT_X11_USE_GUI_1
=""
41855 if test "x$UNICODE" = "x1" ; then
41859 COND_USE_EXCEPTIONS_0
="#"
41860 if test "x$USE_EXCEPTIONS" = "x0" ; then
41861 COND_USE_EXCEPTIONS_0
=""
41864 COND_USE_EXCEPTIONS_1
="#"
41865 if test "x$USE_EXCEPTIONS" = "x1" ; then
41866 COND_USE_EXCEPTIONS_1
=""
41870 if test "x$USE_GUI" = "x0" ; then
41875 if test "x$USE_GUI" = "x1" ; then
41879 COND_USE_GUI_1_WXUNIV_0
="#"
41880 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
41881 COND_USE_GUI_1_WXUNIV_0
=""
41884 COND_USE_GUI_1_WXUNIV_1
="#"
41885 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x1" ; then
41886 COND_USE_GUI_1_WXUNIV_1
=""
41889 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN
="#"
41890 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
41891 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN
=""
41894 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN
="#"
41895 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
41896 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN
=""
41899 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN
="#"
41900 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
41901 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN
=""
41904 COND_USE_ODBC_1
="#"
41905 if test "x$USE_ODBC" = "x1" ; then
41909 COND_USE_PLUGINS_0
="#"
41910 if test "x$USE_PLUGINS" = "x0" ; then
41911 COND_USE_PLUGINS_0
=""
41914 COND_USE_SOSYMLINKS_1
="#"
41915 if test "x$USE_SOSYMLINKS" = "x1" ; then
41916 COND_USE_SOSYMLINKS_1
=""
41919 COND_USE_SOVERLINUX_1
="#"
41920 if test "x$USE_SOVERLINUX" = "x1" ; then
41921 COND_USE_SOVERLINUX_1
=""
41924 COND_USE_SOVERSION_0
="#"
41925 if test "x$USE_SOVERSION" = "x0" ; then
41926 COND_USE_SOVERSION_0
=""
41929 COND_USE_SOVERSOLARIS_1
="#"
41930 if test "x$USE_SOVERSOLARIS" = "x1" ; then
41931 COND_USE_SOVERSOLARIS_1
=""
41934 COND_WITH_PLUGIN_SDL_1
="#"
41935 if test "x$WITH_PLUGIN_SDL" = "x1" ; then
41936 COND_WITH_PLUGIN_SDL_1
=""
41940 if test "x$WXUNIV" = "x1" ; then
41944 COND_WXUSE_EXPAT_BUILTIN
="#"
41945 if test "x$wxUSE_EXPAT" = "xbuiltin" ; then
41946 COND_WXUSE_EXPAT_BUILTIN
=""
41949 COND_WXUSE_LIBJPEG_BUILTIN
="#"
41950 if test "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
41951 COND_WXUSE_LIBJPEG_BUILTIN
=""
41954 COND_WXUSE_LIBPNG_BUILTIN
="#"
41955 if test "x$wxUSE_LIBPNG" = "xbuiltin" ; then
41956 COND_WXUSE_LIBPNG_BUILTIN
=""
41959 COND_WXUSE_LIBTIFF_BUILTIN
="#"
41960 if test "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
41961 COND_WXUSE_LIBTIFF_BUILTIN
=""
41964 COND_WXUSE_ODBC_BUILTIN
="#"
41965 if test "x$wxUSE_ODBC" = "xbuiltin" ; then
41966 COND_WXUSE_ODBC_BUILTIN
=""
41969 COND_WXUSE_REGEX_BUILTIN
="#"
41970 if test "x$wxUSE_REGEX" = "xbuiltin" ; then
41971 COND_WXUSE_REGEX_BUILTIN
=""
41974 COND_WXUSE_ZLIB_BUILTIN
="#"
41975 if test "x$wxUSE_ZLIB" = "xbuiltin" ; then
41976 COND_WXUSE_ZLIB_BUILTIN
=""
41983 if test $GCC_PCH = 1 ; then
41984 CODE_GEN_FLAGS
="-DWX_PRECOMP -DNO_GCC_PRAGMA $CODE_GEN_FLAGS"
41985 CPPFLAGS
="-DWX_PRECOMP -DNO_GCC_PRAGMA $CPPFLAGS"
41988 powerpc
-*-darwin* )
41989 CODE_GEN_FLAGS
="-DNO_GCC_PRAGMA $CODE_GEN_FLAGS"
41990 CPPFLAGS
="-DNO_GCC_PRAGMA $CPPFLAGS"
41993 if test "$wxUSE_STL" = "yes" -o \
41994 "$wxUSE_NO_EXCEPTIONS" != "yes" -o \
41995 "$wxUSE_NO_RTTI" != "yes"; then
41996 echo "$as_me:$LINENO: checking if this MinGW version needs -DNO_GCC_PRAGMA" >&5
41997 echo $ECHO_N "checking if this MinGW version needs -DNO_GCC_PRAGMA... $ECHO_C" >&6
41998 cat >conftest.
$ac_ext <<_ACEOF
42001 cat confdefs.h
>>conftest.
$ac_ext
42002 cat >>conftest.
$ac_ext <<_ACEOF
42003 /* end confdefs.h. */
42008 #if !(__GNUC__ > 3 || (__GNUC__ == 3 && __GNUC_MINOR__ >= 2))
42009 #error "Not GCC 3.2 or greater"
42016 rm -f conftest.
$ac_objext
42017 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
42018 (eval $ac_compile) 2>conftest.er1
42020 grep -v '^ *+' conftest.er1
>conftest.err
42022 cat conftest.err
>&5
42023 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42024 (exit $ac_status); } &&
42025 { ac_try
='test -z "$ac_c_werror_flag"
42026 || test ! -s conftest.err'
42027 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42028 (eval $ac_try) 2>&5
42030 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42031 (exit $ac_status); }; } &&
42032 { ac_try
='test -s conftest.$ac_objext'
42033 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42034 (eval $ac_try) 2>&5
42036 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42037 (exit $ac_status); }; }; then
42038 CODE_GEN_FLAGS
="-DNO_GCC_PRAGMA $CODE_GEN_FLAGS"
42039 CPPFLAGS
="-DNO_GCC_PRAGMA $CPPFLAGS"
42040 echo "$as_me:$LINENO: result: yes" >&5
42041 echo "${ECHO_T}yes" >&6
42043 echo "$as_me: failed program was:" >&5
42044 sed 's/^/| /' conftest.
$ac_ext >&5
42046 echo "$as_me:$LINENO: result: no" >&5
42047 echo "${ECHO_T}no" >&6
42049 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
42056 SAMPLES_SUBDIRS
="`echo $SAMPLES_SUBDIRS | tr -s ' ' | tr ' ' '\n' | sort | uniq | tr '\n' ' '| tr -d '\r'`"
42157 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
42158 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
42159 set dummy
${MAKE-make}; ac_make
=`echo "$2" | sed 'y,:./+-,___p_,'`
42160 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
42161 echo $ECHO_N "(cached) $ECHO_C" >&6
42163 cat >conftest.
make <<\_ACEOF
42165 @
echo 'ac_maketemp="$(MAKE)"'
42167 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
42168 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
42169 if test -n "$ac_maketemp"; then
42170 eval ac_cv_prog_make_
${ac_make}_set
=yes
42172 eval ac_cv_prog_make_
${ac_make}_set
=no
42174 rm -f conftest.
make
42176 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
42177 echo "$as_me:$LINENO: result: yes" >&5
42178 echo "${ECHO_T}yes" >&6
42181 echo "$as_me:$LINENO: result: no" >&5
42182 echo "${ECHO_T}no" >&6
42183 SET_MAKE
="MAKE=${MAKE-make}"
42187 if test -f lib
/wx
/include
/${TOOLCHAIN_NAME}/wx
/setup.h
; then
42188 mv -f lib
/wx
/include
/${TOOLCHAIN_NAME}/wx
/setup.h setup.h
42191 ac_config_headers
="$ac_config_headers setup.h"
42194 ac_config_files
="$ac_config_files wx-config version-script Makefile"
42197 ac_config_commands
="$ac_config_commands default"
42201 if test "$wxUSE_GUI" = "yes"; then
42202 SUBDIRS
="samples demos utils contrib"
42203 else SUBDIRS
="samples utils"
42208 # Check whether --with-cppunit-prefix or --without-cppunit-prefix was given.
42209 if test "${with_cppunit_prefix+set}" = set; then
42210 withval
="$with_cppunit_prefix"
42211 cppunit_config_prefix
="$withval"
42213 cppunit_config_prefix
=""
42216 # Check whether --with-cppunit-exec-prefix or --without-cppunit-exec-prefix was given.
42217 if test "${with_cppunit_exec_prefix+set}" = set; then
42218 withval
="$with_cppunit_exec_prefix"
42219 cppunit_config_exec_prefix
="$withval"
42221 cppunit_config_exec_prefix
=""
42224 if test x
$cppunit_config_exec_prefix != x
; then
42225 cppunit_config_args
="$cppunit_config_args --exec-prefix=$cppunit_config_exec_prefix"
42226 if test x
${CPPUNIT_CONFIG+set} != xset
; then
42227 CPPUNIT_CONFIG
=$cppunit_config_exec_prefix/bin
/cppunit
-config
42230 if test x
$cppunit_config_prefix != x
; then
42231 cppunit_config_args
="$cppunit_config_args --prefix=$cppunit_config_prefix"
42232 if test x
${CPPUNIT_CONFIG+set} != xset
; then
42233 CPPUNIT_CONFIG
=$cppunit_config_prefix/bin
/cppunit
-config
42237 # Extract the first word of "cppunit-config", so it can be a program name with args.
42238 set dummy cppunit
-config; ac_word
=$2
42239 echo "$as_me:$LINENO: checking for $ac_word" >&5
42240 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
42241 if test "${ac_cv_path_CPPUNIT_CONFIG+set}" = set; then
42242 echo $ECHO_N "(cached) $ECHO_C" >&6
42244 case $CPPUNIT_CONFIG in
42246 ac_cv_path_CPPUNIT_CONFIG
="$CPPUNIT_CONFIG" # Let the user override the test with a path.
42249 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
42250 for as_dir
in $PATH
42253 test -z "$as_dir" && as_dir
=.
42254 for ac_exec_ext
in '' $ac_executable_extensions; do
42255 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
42256 ac_cv_path_CPPUNIT_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
42257 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
42263 test -z "$ac_cv_path_CPPUNIT_CONFIG" && ac_cv_path_CPPUNIT_CONFIG
="no"
42267 CPPUNIT_CONFIG
=$ac_cv_path_CPPUNIT_CONFIG
42269 if test -n "$CPPUNIT_CONFIG"; then
42270 echo "$as_me:$LINENO: result: $CPPUNIT_CONFIG" >&5
42271 echo "${ECHO_T}$CPPUNIT_CONFIG" >&6
42273 echo "$as_me:$LINENO: result: no" >&5
42274 echo "${ECHO_T}no" >&6
42277 cppunit_version_min
=1.8.0
42279 echo "$as_me:$LINENO: checking for Cppunit - version >= $cppunit_version_min" >&5
42280 echo $ECHO_N "checking for Cppunit - version >= $cppunit_version_min... $ECHO_C" >&6
42282 if test "$CPPUNIT_CONFIG" = "no" ; then
42284 echo "$as_me:$LINENO: result: no" >&5
42285 echo "${ECHO_T}no" >&6
42287 CPPUNIT_CFLAGS
=`$CPPUNIT_CONFIG --cflags`
42288 CPPUNIT_LIBS
=`$CPPUNIT_CONFIG --libs`
42289 cppunit_version
=`$CPPUNIT_CONFIG --version`
42291 cppunit_major_version
=`echo $cppunit_version | \
42292 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
42293 cppunit_minor_version
=`echo $cppunit_version | \
42294 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
42295 cppunit_micro_version
=`echo $cppunit_version | \
42296 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
42298 cppunit_major_min
=`echo $cppunit_version_min | \
42299 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
42300 cppunit_minor_min
=`echo $cppunit_version_min | \
42301 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
42302 cppunit_micro_min
=`echo $cppunit_version_min | \
42303 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
42305 cppunit_version_proper
=`expr \
42306 $cppunit_major_version \> $cppunit_major_min \| \
42307 $cppunit_major_version \= $cppunit_major_min \& \
42308 $cppunit_minor_version \> $cppunit_minor_min \| \
42309 $cppunit_major_version \= $cppunit_major_min \& \
42310 $cppunit_minor_version \= $cppunit_minor_min \& \
42311 $cppunit_micro_version \>= $cppunit_micro_min `
42313 if test "$cppunit_version_proper" = "1" ; then
42314 echo "$as_me:$LINENO: result: $cppunit_major_version.$cppunit_minor_version.$cppunit_micro_version" >&5
42315 echo "${ECHO_T}$cppunit_major_version.$cppunit_minor_version.$cppunit_micro_version" >&6
42317 echo "$as_me:$LINENO: result: no" >&5
42318 echo "${ECHO_T}no" >&6
42323 if test "x$no_cppunit" = x
; then
42324 SUBDIRS
="$SUBDIRS tests"
42335 for subdir
in `echo $SUBDIRS`; do
42336 if test -d ${srcdir}/${subdir} ; then
42337 if test "$wxUSE_GUI" = "yes"; then
42338 if test ${subdir} = "samples"; then
42339 makefiles
="samples/Makefile.in $makefiles"
42340 for sample
in `echo $SAMPLES_SUBDIRS`; do
42341 if test -d $srcdir/samples
/$sample; then
42342 makefiles
="samples/$sample/Makefile.in $makefiles"
42345 else makefiles
=`(cd $srcdir ; find $subdir -name Makefile.in)`
42347 else if test ${subdir} = "samples"; then
42348 makefiles
="samples/Makefile.in samples/console/Makefile.in"
42349 elif test ${subdir} = "utils"; then
42350 makefiles
="utils/HelpGen/Makefile.in \
42351 utils/HelpGen/src/Makefile.in \
42352 utils/tex2rtf/Makefile.in \
42353 utils/tex2rtf/src/Makefile.in"
42354 else makefiles
=`(cd $srcdir ; find $subdir -name Makefile.in)`
42358 for mkin
in $makefiles ; do
42359 mk
=`echo $mkin | sed 's/Makefile\.in/Makefile/g'`
42360 ac_config_files
="$ac_config_files $mk"
42367 cat >confcache
<<\_ACEOF
42368 # This file is a shell script that caches the results of configure
42369 # tests run on this system so they can be shared between configure
42370 # scripts and configure runs, see configure's option --config-cache.
42371 # It is not useful on other systems. If it contains results you don't
42372 # want to keep, you may remove or edit it.
42374 # config.status only pays attention to the cache file if you give it
42375 # the --recheck option to rerun configure.
42377 # `ac_cv_env_foo' variables (set or unset) will be overridden when
42378 # loading this file, other *unset* `ac_cv_foo' will be assigned the
42379 # following values.
42383 # The following way of writing the cache mishandles newlines in values,
42384 # but we know of no workaround that is simple, portable, and efficient.
42385 # So, don't put newlines in cache variables' values.
42386 # Ultrix sh set writes to stderr and can't be redirected directly,
42387 # and sets the high bit in the cache file unless we assign to the vars.
42390 case `(ac_space=' '; set | grep ac_space) 2>&1` in
42392 # `set' does not quote correctly, so add quotes (double-quote
42393 # substitution turns \\\\ into \\, and sed turns \\ into \).
42396 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
42399 # `set' quotes correctly as required by POSIX, so do not add quotes.
42401 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
42408 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
42410 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
42412 if diff $cache_file confcache
>/dev
/null
2>&1; then :; else
42413 if test -w $cache_file; then
42414 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
42415 cat confcache
>$cache_file
42417 echo "not updating unwritable cache $cache_file"
42422 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
42423 # Let make expand exec_prefix.
42424 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
42426 # VPATH may cause trouble with some makes, so we remove $(srcdir),
42427 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
42428 # trailing colons and then remove the whole line if VPATH becomes empty
42429 # (actually we leave an empty line to preserve line numbers).
42430 if test "x$srcdir" = x.
; then
42431 ac_vpsub
='/^[ ]*VPATH[ ]*=/{
42432 s/:*\$(srcdir):*/:/;
42433 s/:*\${srcdir}:*/:/;
42435 s/^\([^=]*=[ ]*\):*/\1/;
42441 DEFS
=-DHAVE_CONFIG_H
42445 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
42446 # 1. Remove the extension, and $U if already installed.
42447 ac_i
=`echo "$ac_i" |
42448 sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
42450 ac_libobjs
="$ac_libobjs $ac_i\$U.$ac_objext"
42451 ac_ltlibobjs
="$ac_ltlibobjs $ac_i"'$U.lo'
42453 LIBOBJS
=$ac_libobjs
42455 LTLIBOBJS
=$ac_ltlibobjs
42459 : ${CONFIG_STATUS=./config.status}
42460 ac_clean_files_save
=$ac_clean_files
42461 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
42462 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
42463 echo "$as_me: creating $CONFIG_STATUS" >&6;}
42464 cat >$CONFIG_STATUS <<_ACEOF
42466 # Generated by $as_me.
42467 # Run this file to recreate the current configuration.
42468 # Compiler output produced by configure, useful for debugging
42469 # configure, is in config.log if it exists.
42472 ac_cs_recheck=false
42474 SHELL=\${CONFIG_SHELL-$SHELL}
42477 cat >>$CONFIG_STATUS <<\_ACEOF
42478 ## --------------------- ##
42479 ## M4sh Initialization. ##
42480 ## --------------------- ##
42482 # Be Bourne compatible
42483 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
42486 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
42487 # is contrary to our usage. Disable this feature.
42488 alias -g '${1+"$@"}'='"$@"'
42489 elif test -n "${BASH_VERSION+set}" && (set -o posix
) >/dev
/null
2>&1; then
42492 DUALCASE
=1; export DUALCASE
# for MKS sh
42494 # Support unset when possible.
42495 if ( (MAIL
=60; unset MAIL
) || exit) >/dev
/null
2>&1; then
42502 # Work around bugs in pre-3.0 UWIN ksh.
42503 $as_unset ENV MAIL MAILPATH
42510 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
42511 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
42512 LC_TELEPHONE LC_TIME
42514 if (set +x
; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
42515 eval $as_var=C
; export $as_var
42521 # Required to use basename.
42522 if expr a
: '\(a\)' >/dev
/null
2>&1; then
42528 if (basename /) >/dev
/null
2>&1 && test "X`basename / 2>&1`" = "X/"; then
42529 as_basename
=basename
42535 # Name of the executable.
42536 as_me
=`$as_basename "$0" ||
42537 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
42538 X"$0" : 'X\(//\)$' \| \
42539 X"$0" : 'X\(/\)$' \| \
42540 . : '\(.\)' 2>/dev/null ||
42542 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
42543 /^X\/\(\/\/\)$/{ s//\1/; q; }
42544 /^X\/\(\/\).*/{ s//\1/; q; }
42548 # PATH needs CR, and LINENO needs CR and PATH.
42549 # Avoid depending upon Character Ranges.
42550 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
42551 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
42552 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
42553 as_cr_digits
='0123456789'
42554 as_cr_alnum
=$as_cr_Letters$as_cr_digits
42556 # The user is always right.
42557 if test "${PATH_SEPARATOR+set}" != set; then
42558 echo "#! /bin/sh" >conf$$.sh
42559 echo "exit 0" >>conf$$.sh
42561 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
42570 as_lineno_1
=$LINENO
42571 as_lineno_2
=$LINENO
42572 as_lineno_3
=`(expr $as_lineno_1 + 1) 2>/dev/null`
42573 test "x$as_lineno_1" != "x$as_lineno_2" &&
42574 test "x$as_lineno_3" = "x$as_lineno_2" || {
42575 # Find who we are. Look in the path if we contain no path at all
42578 *[\\/]* ) as_myself
=$0 ;;
42579 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
42580 for as_dir
in $PATH
42583 test -z "$as_dir" && as_dir
=.
42584 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
42589 # We did not find ourselves, most probably we were run as `sh COMMAND'
42590 # in which case we are not to be found in the path.
42591 if test "x$as_myself" = x
; then
42594 if test ! -f "$as_myself"; then
42595 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
42596 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
42597 { (exit 1); exit 1; }; }
42599 case $CONFIG_SHELL in
42601 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
42602 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
42605 test -z "$as_dir" && as_dir
=.
42606 for as_base
in sh bash ksh sh5
; do
42609 if ("$as_dir/$as_base" -c '
42610 as_lineno_1=$LINENO
42611 as_lineno_2=$LINENO
42612 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
42613 test "x$as_lineno_1" != "x$as_lineno_2" &&
42614 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev
/null
; then
42615 $as_unset BASH_ENV
|| test "${BASH_ENV+set}" != set || { BASH_ENV
=; export BASH_ENV
; }
42616 $as_unset ENV
|| test "${ENV+set}" != set || { ENV
=; export ENV
; }
42617 CONFIG_SHELL
=$as_dir/$as_base
42618 export CONFIG_SHELL
42619 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
42627 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
42628 # uniformly replaced by the line number. The first 'sed' inserts a
42629 # line-number line before each line; the second 'sed' does the real
42630 # work. The second script uses 'N' to pair each line-number line
42631 # with the numbered line, and appends trailing '-' during
42632 # substitution so that $LINENO is not a special case at line end.
42633 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
42634 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
42635 sed '=' <$as_myself |
42640 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
42643 s,^['$as_cr_digits']*\n,,
42644 ' >$as_me.lineno
&&
42645 chmod +x
$as_me.lineno
||
42646 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
42647 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
42648 { (exit 1); exit 1; }; }
42650 # Don't try to exec as it changes $[0], causing all sort of problems
42651 # (the dirname of $[0] is not the place where we might find the
42652 # original and so on. Autoconf is especially sensible to this).
42654 # Exit status is that of the last command.
42659 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
42660 *c
*,-n*) ECHO_N
= ECHO_C
='
42662 *c
*,* ) ECHO_N
=-n ECHO_C
= ECHO_T
= ;;
42663 *) ECHO_N
= ECHO_C
='\c' ECHO_T
= ;;
42666 if expr a
: '\(a\)' >/dev
/null
2>&1; then
42672 rm -f conf$$ conf$$.exe conf$$.
file
42674 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
42675 # We could just check for DJGPP; but this test a) works b) is more generic
42676 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
42677 if test -f conf$$.exe
; then
42678 # Don't use ln at all; we don't have any links
42683 elif ln conf$$.
file conf$$
2>/dev
/null
; then
42688 rm -f conf$$ conf$$.exe conf$$.
file
42690 if mkdir -p .
2>/dev
/null
; then
42693 test -d .
/-p && rmdir .
/-p
42697 as_executable_p
="test -f"
42699 # Sed expression to map a string onto a valid CPP name.
42700 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
42702 # Sed expression to map a string onto a valid variable name.
42703 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
42707 # We need space, tab and new line, in precisely that order.
42717 # Open the log real soon, to keep \$[0] and so on meaningful, and to
42718 # report actual input values of CONFIG_FILES etc. instead of their
42719 # values after options handling. Logging --version etc. is OK.
42723 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
42724 ## Running $as_me. ##
42729 This file was extended by wxWidgets $as_me 2.5.2, which was
42730 generated by GNU Autoconf 2.59. Invocation command line was
42732 CONFIG_FILES = $CONFIG_FILES
42733 CONFIG_HEADERS = $CONFIG_HEADERS
42734 CONFIG_LINKS = $CONFIG_LINKS
42735 CONFIG_COMMANDS = $CONFIG_COMMANDS
42739 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
42743 # Files that config.status was made for.
42744 if test -n "$ac_config_files"; then
42745 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
42748 if test -n "$ac_config_headers"; then
42749 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
42752 if test -n "$ac_config_links"; then
42753 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
42756 if test -n "$ac_config_commands"; then
42757 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
42760 cat >>$CONFIG_STATUS <<\_ACEOF
42763 \`$as_me' instantiates files from templates according to the
42764 current configuration.
42766 Usage: $0 [OPTIONS] [FILE]...
42768 -h, --help print this help, then exit
42769 -V, --version print version number, then exit
42770 -q, --quiet do not print progress messages
42771 -d, --debug don't remove temporary files
42772 --recheck update $as_me by reconfiguring in the same conditions
42773 --file=FILE[:TEMPLATE]
42774 instantiate the configuration file FILE
42775 --header=FILE[:TEMPLATE]
42776 instantiate the configuration header FILE
42778 Configuration files:
42781 Configuration headers:
42784 Configuration commands:
42787 Report bugs to <bug-autoconf@gnu.org>."
42790 cat >>$CONFIG_STATUS <<_ACEOF
42792 wxWidgets config.status 2.5.2
42793 configured by $0, generated by GNU Autoconf 2.59,
42794 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
42796 Copyright (C) 2003 Free Software Foundation, Inc.
42797 This config.status script is free software; the Free Software Foundation
42798 gives unlimited permission to copy, distribute and modify it."
42803 cat >>$CONFIG_STATUS <<\_ACEOF
42804 # If no file are specified by the user, then we need to provide default
42805 # value. By we need to know if files were specified by the user.
42811 ac_option
=`expr "x$1" : 'x\([^=]*\)='`
42812 ac_optarg
=`expr "x$1" : 'x[^=]*=\(.*\)'`
42820 *) # This is not an option, so the user has probably given explicit
42823 ac_need_defaults
=false
;;
42827 # Handling of the options.
42829 cat >>$CONFIG_STATUS <<\_ACEOF
42830 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
42832 --version | --vers* | -V )
42833 echo "$ac_cs_version"; exit 0 ;;
42835 # Conflict between --help and --header
42836 { { echo "$as_me:$LINENO: error: ambiguous option: $1
42837 Try \`$0 --help' for more information." >&5
42838 echo "$as_me: error: ambiguous option: $1
42839 Try \`$0 --help' for more information." >&2;}
42840 { (exit 1); exit 1; }; };;
42841 --help | --hel | -h )
42842 echo "$ac_cs_usage"; exit 0 ;;
42843 --debug | --d* | -d )
42845 --file | --fil | --fi | --f )
42847 CONFIG_FILES
="$CONFIG_FILES $ac_optarg"
42848 ac_need_defaults
=false
;;
42849 --header | --heade | --head | --hea )
42851 CONFIG_HEADERS
="$CONFIG_HEADERS $ac_optarg"
42852 ac_need_defaults
=false
;;
42853 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
42854 | -silent | --silent | --silen | --sile | --sil | --si | --s)
42857 # This is an error.
42858 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
42859 Try \`$0 --help' for more information." >&5
42860 echo "$as_me: error: unrecognized option: $1
42861 Try \`$0 --help' for more information." >&2;}
42862 { (exit 1); exit 1; }; } ;;
42864 *) ac_config_targets
="$ac_config_targets $1" ;;
42870 ac_configure_extra_args
=
42872 if $ac_cs_silent; then
42874 ac_configure_extra_args
="$ac_configure_extra_args --silent"
42878 cat >>$CONFIG_STATUS <<_ACEOF
42879 if \$ac_cs_recheck; then
42880 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
42881 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
42886 cat >>$CONFIG_STATUS <<_ACEOF
42888 # INIT-COMMANDS section.
42892 TOOLCHAIN_NAME="${TOOLCHAIN_NAME}"
42901 cat >>$CONFIG_STATUS <<\_ACEOF
42902 for ac_config_target
in $ac_config_targets
42904 case "$ac_config_target" in
42905 # Handling of arguments.
42906 "wx-config" ) CONFIG_FILES
="$CONFIG_FILES wx-config" ;;
42907 "version-script" ) CONFIG_FILES
="$CONFIG_FILES version-script" ;;
42908 "Makefile" ) CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
42909 "$mk" ) CONFIG_FILES
="$CONFIG_FILES $mk" ;;
42910 "default" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS default" ;;
42911 "setup.h" ) CONFIG_HEADERS
="$CONFIG_HEADERS setup.h" ;;
42912 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
42913 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
42914 { (exit 1); exit 1; }; };;
42918 # If the user did not use the arguments to specify the items to instantiate,
42919 # then the envvar interface is used. Set only those that are not.
42920 # We use the long form for the default assignment because of an extremely
42921 # bizarre bug on SunOS 4.1.3.
42922 if $ac_need_defaults; then
42923 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
42924 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
42925 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
42928 # Have a temporary directory for convenience. Make it in the build tree
42929 # simply because there is no reason to put it here, and in addition,
42930 # creating and moving files from /tmp can sometimes cause problems.
42931 # Create a temporary directory, and hook for its removal unless debugging.
42934 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
42935 trap '{ (exit 1); exit 1; }' 1 2 13 15
42938 # Create a (secure) tmp directory for tmp files.
42941 tmp
=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
42942 test -n "$tmp" && test -d "$tmp"
42945 tmp
=.
/confstat$$
-$RANDOM
42946 (umask 077 && mkdir $tmp)
42949 echo "$me: cannot create a temporary directory in ." >&2
42950 { (exit 1); exit 1; }
42955 cat >>$CONFIG_STATUS <<_ACEOF
42958 # CONFIG_FILES section.
42961 # No need to generate the scripts if there are no CONFIG_FILES.
42962 # This happens for instance when ./config.status config.h
42963 if test -n "\$CONFIG_FILES"; then
42964 # Protect against being on the right side of a sed subst in config.status.
42965 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
42966 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
42967 s,@SHELL@,$SHELL,;t t
42968 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
42969 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
42970 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
42971 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
42972 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
42973 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
42974 s,@exec_prefix@,$exec_prefix,;t t
42975 s,@prefix@,$prefix,;t t
42976 s,@program_transform_name@,$program_transform_name,;t t
42977 s,@bindir@,$bindir,;t t
42978 s,@sbindir@,$sbindir,;t t
42979 s,@libexecdir@,$libexecdir,;t t
42980 s,@datadir@,$datadir,;t t
42981 s,@sysconfdir@,$sysconfdir,;t t
42982 s,@sharedstatedir@,$sharedstatedir,;t t
42983 s,@localstatedir@,$localstatedir,;t t
42984 s,@libdir@,$libdir,;t t
42985 s,@includedir@,$includedir,;t t
42986 s,@oldincludedir@,$oldincludedir,;t t
42987 s,@infodir@,$infodir,;t t
42988 s,@mandir@,$mandir,;t t
42989 s,@build_alias@,$build_alias,;t t
42990 s,@host_alias@,$host_alias,;t t
42991 s,@target_alias@,$target_alias,;t t
42992 s,@DEFS@,$DEFS,;t t
42993 s,@ECHO_C@,$ECHO_C,;t t
42994 s,@ECHO_N@,$ECHO_N,;t t
42995 s,@ECHO_T@,$ECHO_T,;t t
42996 s,@LIBS@,$LIBS,;t t
42997 s,@build@,$build,;t t
42998 s,@build_cpu@,$build_cpu,;t t
42999 s,@build_vendor@,$build_vendor,;t t
43000 s,@build_os@,$build_os,;t t
43001 s,@host@,$host,;t t
43002 s,@host_cpu@,$host_cpu,;t t
43003 s,@host_vendor@,$host_vendor,;t t
43004 s,@host_os@,$host_os,;t t
43005 s,@target@,$target,;t t
43006 s,@target_cpu@,$target_cpu,;t t
43007 s,@target_vendor@,$target_vendor,;t t
43008 s,@target_os@,$target_os,;t t
43010 s,@CFLAGS@,$CFLAGS,;t t
43011 s,@LDFLAGS@,$LDFLAGS,;t t
43012 s,@CPPFLAGS@,$CPPFLAGS,;t t
43013 s,@ac_ct_CC@,$ac_ct_CC,;t t
43014 s,@EXEEXT@,$EXEEXT,;t t
43015 s,@OBJEXT@,$OBJEXT,;t t
43017 s,@EGREP@,$EGREP,;t t
43019 s,@CXXFLAGS@,$CXXFLAGS,;t t
43020 s,@ac_ct_CXX@,$ac_ct_CXX,;t t
43021 s,@RANLIB@,$RANLIB,;t t
43022 s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
43024 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
43025 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
43026 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
43027 s,@STRIP@,$STRIP,;t t
43028 s,@IF_GNU_MAKE@,$IF_GNU_MAKE,;t t
43029 s,@LN_S@,$LN_S,;t t
43030 s,@CXXCPP@,$CXXCPP,;t t
43031 s,@subdirs@,$subdirs,;t t
43032 s,@PKG_CONFIG@,$PKG_CONFIG,;t t
43033 s,@GTK_CFLAGS@,$GTK_CFLAGS,;t t
43034 s,@GTK_LIBS@,$GTK_LIBS,;t t
43035 s,@GTK_CONFIG@,$GTK_CONFIG,;t t
43036 s,@PANGOFT2_CFLAGS@,$PANGOFT2_CFLAGS,;t t
43037 s,@PANGOFT2_LIBS@,$PANGOFT2_LIBS,;t t
43038 s,@X_CFLAGS@,$X_CFLAGS,;t t
43039 s,@X_PRE_LIBS@,$X_PRE_LIBS,;t t
43040 s,@X_LIBS@,$X_LIBS,;t t
43041 s,@X_EXTRA_LIBS@,$X_EXTRA_LIBS,;t t
43042 s,@PANGOX_CFLAGS@,$PANGOX_CFLAGS,;t t
43043 s,@PANGOX_LIBS@,$PANGOX_LIBS,;t t
43044 s,@PANGOXFT_CFLAGS@,$PANGOXFT_CFLAGS,;t t
43045 s,@PANGOXFT_LIBS@,$PANGOXFT_LIBS,;t t
43046 s,@RESCOMP@,$RESCOMP,;t t
43047 s,@DEREZ@,$DEREZ,;t t
43048 s,@SETFILE@,$SETFILE,;t t
43049 s,@LIBICONV@,$LIBICONV,;t t
43050 s,@EXTRALIBS_ESD@,$EXTRALIBS_ESD,;t t
43051 s,@SDL_CONFIG@,$SDL_CONFIG,;t t
43052 s,@SDL_CFLAGS@,$SDL_CFLAGS,;t t
43053 s,@SDL_LIBS@,$SDL_LIBS,;t t
43054 s,@CORE_BASE_LIBS@,$CORE_BASE_LIBS,;t t
43055 s,@CORE_GUI_LIBS@,$CORE_GUI_LIBS,;t t
43056 s,@wxUSE_ZLIB@,$wxUSE_ZLIB,;t t
43057 s,@wxUSE_REGEX@,$wxUSE_REGEX,;t t
43058 s,@wxUSE_EXPAT@,$wxUSE_EXPAT,;t t
43059 s,@wxUSE_ODBC@,$wxUSE_ODBC,;t t
43060 s,@wxUSE_LIBJPEG@,$wxUSE_LIBJPEG,;t t
43061 s,@wxUSE_LIBPNG@,$wxUSE_LIBPNG,;t t
43062 s,@wxUSE_LIBTIFF@,$wxUSE_LIBTIFF,;t t
43063 s,@VENDOR@,$VENDOR,;t t
43064 s,@OFFICIAL_BUILD@,$OFFICIAL_BUILD,;t t
43065 s,@WXUNIV@,$WXUNIV,;t t
43066 s,@MONOLITHIC@,$MONOLITHIC,;t t
43067 s,@USE_PLUGINS@,$USE_PLUGINS,;t t
43068 s,@EXTRALIBS@,$EXTRALIBS,;t t
43069 s,@EXTRALIBS_XML@,$EXTRALIBS_XML,;t t
43070 s,@EXTRALIBS_HTML@,$EXTRALIBS_HTML,;t t
43071 s,@EXTRALIBS_ODBC@,$EXTRALIBS_ODBC,;t t
43072 s,@EXTRALIBS_GUI@,$EXTRALIBS_GUI,;t t
43073 s,@EXTRALIBS_OPENGL@,$EXTRALIBS_OPENGL,;t t
43074 s,@EXTRALIBS_SDL@,$EXTRALIBS_SDL,;t t
43075 s,@WITH_PLUGIN_SDL@,$WITH_PLUGIN_SDL,;t t
43076 s,@UNICODE@,$UNICODE,;t t
43077 s,@BUILD@,$BUILD,;t t
43078 s,@DEBUG_INFO@,$DEBUG_INFO,;t t
43079 s,@DEBUG_FLAG@,$DEBUG_FLAG,;t t
43080 s,@SHARED@,$SHARED,;t t
43081 s,@TOOLKIT_LOWERCASE@,$TOOLKIT_LOWERCASE,;t t
43082 s,@TOOLKIT_VERSION@,$TOOLKIT_VERSION,;t t
43083 s,@SAMPLES_RPATH_FLAG@,$SAMPLES_RPATH_FLAG,;t t
43084 s,@SAMPLES_RPATH_POSTLINK@,$SAMPLES_RPATH_POSTLINK,;t t
43085 s,@HOST_SUFFIX@,$HOST_SUFFIX,;t t
43086 s,@CPPUNIT_CFLAGS@,$CPPUNIT_CFLAGS,;t t
43087 s,@CPPUNIT_LIBS@,$CPPUNIT_LIBS,;t t
43088 s,@SET_MAKE@,$SET_MAKE,;t t
43089 s,@MAKE_SET@,$MAKE_SET,;t t
43090 s,@ac_ct_AR@,$ac_ct_AR,;t t
43091 s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
43093 s,@ac_ct_NM@,$ac_ct_NM,;t t
43094 s,@INSTALL_DIR@,$INSTALL_DIR,;t t
43095 s,@LDFLAGS_GUI@,$LDFLAGS_GUI,;t t
43096 s,@PLATFORM_UNIX@,$PLATFORM_UNIX,;t t
43097 s,@PLATFORM_WIN32@,$PLATFORM_WIN32,;t t
43098 s,@PLATFORM_MSDOS@,$PLATFORM_MSDOS,;t t
43099 s,@PLATFORM_MAC@,$PLATFORM_MAC,;t t
43100 s,@PLATFORM_MACOSX@,$PLATFORM_MACOSX,;t t
43101 s,@PLATFORM_OS2@,$PLATFORM_OS2,;t t
43102 s,@SO_SUFFIX@,$SO_SUFFIX,;t t
43103 s,@SO_SUFFIX_MODULE@,$SO_SUFFIX_MODULE,;t t
43104 s,@DLLIMP_SUFFIX@,$DLLIMP_SUFFIX,;t t
43105 s,@LIBPREFIX@,$LIBPREFIX,;t t
43106 s,@LIBEXT@,$LIBEXT,;t t
43107 s,@DLLPREFIX@,$DLLPREFIX,;t t
43108 s,@DLLPREFIX_MODULE@,$DLLPREFIX_MODULE,;t t
43109 s,@AIX_CXX_LD@,$AIX_CXX_LD,;t t
43110 s,@SHARED_LD_CC@,$SHARED_LD_CC,;t t
43111 s,@SHARED_LD_CXX@,$SHARED_LD_CXX,;t t
43112 s,@SHARED_LD_MODULE_CC@,$SHARED_LD_MODULE_CC,;t t
43113 s,@SHARED_LD_MODULE_CXX@,$SHARED_LD_MODULE_CXX,;t t
43114 s,@PIC_FLAG@,$PIC_FLAG,;t t
43115 s,@USE_SOVERSION@,$USE_SOVERSION,;t t
43116 s,@USE_SOVERLINUX@,$USE_SOVERLINUX,;t t
43117 s,@USE_SOVERSOLARIS@,$USE_SOVERSOLARIS,;t t
43118 s,@USE_MACVERSION@,$USE_MACVERSION,;t t
43119 s,@USE_SOSYMLINKS@,$USE_SOSYMLINKS,;t t
43120 s,@SONAME_FLAG@,$SONAME_FLAG,;t t
43121 s,@DEPS_TRACKING@,$DEPS_TRACKING,;t t
43122 s,@GCC_PCH@,$GCC_PCH,;t t
43123 s,@COND_BUILD_DEBUG@,$COND_BUILD_DEBUG,;t t
43124 s,@COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT@,$COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT,;t t
43125 s,@COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT@,$COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT,;t t
43126 s,@COND_BUILD_DEBUG_UNICODE_0@,$COND_BUILD_DEBUG_UNICODE_0,;t t
43127 s,@COND_BUILD_DEBUG_UNICODE_1@,$COND_BUILD_DEBUG_UNICODE_1,;t t
43128 s,@COND_BUILD_RELEASE@,$COND_BUILD_RELEASE,;t t
43129 s,@COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT@,$COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT,;t t
43130 s,@COND_BUILD_RELEASE_UNICODE_0@,$COND_BUILD_RELEASE_UNICODE_0,;t t
43131 s,@COND_BUILD_RELEASE_UNICODE_1@,$COND_BUILD_RELEASE_UNICODE_1,;t t
43132 s,@COND_DEBUG_FLAG_1@,$COND_DEBUG_FLAG_1,;t t
43133 s,@COND_DEBUG_INFO_0@,$COND_DEBUG_INFO_0,;t t
43134 s,@COND_DEBUG_INFO_1@,$COND_DEBUG_INFO_1,;t t
43135 s,@COND_DEPS_TRACKING_0@,$COND_DEPS_TRACKING_0,;t t
43136 s,@COND_DEPS_TRACKING_1@,$COND_DEPS_TRACKING_1,;t t
43137 s,@COND_GCC_PCH_1@,$COND_GCC_PCH_1,;t t
43138 s,@COND_MONOLITHIC_0@,$COND_MONOLITHIC_0,;t t
43139 s,@COND_MONOLITHIC_0_SHARED_0@,$COND_MONOLITHIC_0_SHARED_0,;t t
43140 s,@COND_MONOLITHIC_0_SHARED_0_USE_GUI_1@,$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1,;t t
43141 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
43142 s,@COND_MONOLITHIC_0_SHARED_0_USE_HTML_1@,$COND_MONOLITHIC_0_SHARED_0_USE_HTML_1,;t t
43143 s,@COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1@,$COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1,;t t
43144 s,@COND_MONOLITHIC_0_SHARED_1@,$COND_MONOLITHIC_0_SHARED_1,;t t
43145 s,@COND_MONOLITHIC_0_SHARED_1_USE_GUI_1@,$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1,;t t
43146 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
43147 s,@COND_MONOLITHIC_0_SHARED_1_USE_HTML_1@,$COND_MONOLITHIC_0_SHARED_1_USE_HTML_1,;t t
43148 s,@COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1@,$COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1,;t t
43149 s,@COND_MONOLITHIC_0_USE_ODBC_1@,$COND_MONOLITHIC_0_USE_ODBC_1,;t t
43150 s,@COND_MONOLITHIC_1@,$COND_MONOLITHIC_1,;t t
43151 s,@COND_MONOLITHIC_1_SHARED_0@,$COND_MONOLITHIC_1_SHARED_0,;t t
43152 s,@COND_MONOLITHIC_1_SHARED_1@,$COND_MONOLITHIC_1_SHARED_1,;t t
43153 s,@COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1@,$COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1,;t t
43154 s,@COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1@,$COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1,;t t
43155 s,@COND_PLATFORM_MACOSX_0_USE_SOVERSION_1@,$COND_PLATFORM_MACOSX_0_USE_SOVERSION_1,;t t
43156 s,@COND_PLATFORM_MACOSX_1@,$COND_PLATFORM_MACOSX_1,;t t
43157 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA@,$COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA,;t t
43158 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_GTK@,$COND_PLATFORM_MACOSX_1_TOOLKIT_GTK,;t t
43159 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_MAC@,$COND_PLATFORM_MACOSX_1_TOOLKIT_MAC,;t t
43160 s,@COND_PLATFORM_MACOSX_1_USE_GUI_1@,$COND_PLATFORM_MACOSX_1_USE_GUI_1,;t t
43161 s,@COND_PLATFORM_MACOSX_1_USE_SOVERSION_1@,$COND_PLATFORM_MACOSX_1_USE_SOVERSION_1,;t t
43162 s,@COND_PLATFORM_MAC_1@,$COND_PLATFORM_MAC_1,;t t
43163 s,@COND_PLATFORM_OS2_1@,$COND_PLATFORM_OS2_1,;t t
43164 s,@COND_PLATFORM_UNIX_0@,$COND_PLATFORM_UNIX_0,;t t
43165 s,@COND_PLATFORM_UNIX_1@,$COND_PLATFORM_UNIX_1,;t t
43166 s,@COND_PLATFORM_UNIX_1_USE_GUI_1@,$COND_PLATFORM_UNIX_1_USE_GUI_1,;t t
43167 s,@COND_PLATFORM_UNIX_1_USE_PLUGINS_0@,$COND_PLATFORM_UNIX_1_USE_PLUGINS_0,;t t
43168 s,@COND_PLATFORM_WIN32_0@,$COND_PLATFORM_WIN32_0,;t t
43169 s,@COND_PLATFORM_WIN32_1@,$COND_PLATFORM_WIN32_1,;t t
43170 s,@COND_SHARED_0@,$COND_SHARED_0,;t t
43171 s,@COND_SHARED_0_USE_GUI_1_USE_OPENGL_1@,$COND_SHARED_0_USE_GUI_1_USE_OPENGL_1,;t t
43172 s,@COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN@,$COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN,;t t
43173 s,@COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN@,$COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN,;t t
43174 s,@COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN@,$COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN,;t t
43175 s,@COND_SHARED_0_WXUSE_EXPAT_BUILTIN@,$COND_SHARED_0_WXUSE_EXPAT_BUILTIN,;t t
43176 s,@COND_SHARED_0_WXUSE_ODBC_BUILTIN@,$COND_SHARED_0_WXUSE_ODBC_BUILTIN,;t t
43177 s,@COND_SHARED_0_WXUSE_REGEX_BUILTIN@,$COND_SHARED_0_WXUSE_REGEX_BUILTIN,;t t
43178 s,@COND_SHARED_0_WXUSE_ZLIB_BUILTIN@,$COND_SHARED_0_WXUSE_ZLIB_BUILTIN,;t t
43179 s,@COND_SHARED_1@,$COND_SHARED_1,;t t
43180 s,@COND_SHARED_1_USE_GUI_1_USE_OPENGL_1@,$COND_SHARED_1_USE_GUI_1_USE_OPENGL_1,;t t
43181 s,@COND_TOOLKIT_COCOA@,$COND_TOOLKIT_COCOA,;t t
43182 s,@COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0,;t t
43183 s,@COND_TOOLKIT_GTK@,$COND_TOOLKIT_GTK,;t t
43184 s,@COND_TOOLKIT_GTK_USE_GUI_1@,$COND_TOOLKIT_GTK_USE_GUI_1,;t t
43185 s,@COND_TOOLKIT_GTK_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_GTK_USE_GUI_1_WXUNIV_0,;t t
43186 s,@COND_TOOLKIT_MAC@,$COND_TOOLKIT_MAC,;t t
43187 s,@COND_TOOLKIT_MAC_USE_GUI_1@,$COND_TOOLKIT_MAC_USE_GUI_1,;t t
43188 s,@COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0,;t t
43189 s,@COND_TOOLKIT_MGL@,$COND_TOOLKIT_MGL,;t t
43190 s,@COND_TOOLKIT_MGL_USE_GUI_1@,$COND_TOOLKIT_MGL_USE_GUI_1,;t t
43191 s,@COND_TOOLKIT_MOTIF@,$COND_TOOLKIT_MOTIF,;t t
43192 s,@COND_TOOLKIT_MOTIF_USE_GUI_1@,$COND_TOOLKIT_MOTIF_USE_GUI_1,;t t
43193 s,@COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0,;t t
43194 s,@COND_TOOLKIT_MSW@,$COND_TOOLKIT_MSW,;t t
43195 s,@COND_TOOLKIT_MSW_USE_GUI_1@,$COND_TOOLKIT_MSW_USE_GUI_1,;t t
43196 s,@COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0,;t t
43197 s,@COND_TOOLKIT_PM@,$COND_TOOLKIT_PM,;t t
43198 s,@COND_TOOLKIT_PM_USE_GUI_1@,$COND_TOOLKIT_PM_USE_GUI_1,;t t
43199 s,@COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0,;t t
43200 s,@COND_TOOLKIT_WINCE@,$COND_TOOLKIT_WINCE,;t t
43201 s,@COND_TOOLKIT_WINCE_USE_GUI_1@,$COND_TOOLKIT_WINCE_USE_GUI_1,;t t
43202 s,@COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0,;t t
43203 s,@COND_TOOLKIT_X11@,$COND_TOOLKIT_X11,;t t
43204 s,@COND_TOOLKIT_X11_USE_GUI_1@,$COND_TOOLKIT_X11_USE_GUI_1,;t t
43205 s,@COND_UNICODE_1@,$COND_UNICODE_1,;t t
43206 s,@COND_USE_EXCEPTIONS_0@,$COND_USE_EXCEPTIONS_0,;t t
43207 s,@COND_USE_EXCEPTIONS_1@,$COND_USE_EXCEPTIONS_1,;t t
43208 s,@COND_USE_GUI_0@,$COND_USE_GUI_0,;t t
43209 s,@COND_USE_GUI_1@,$COND_USE_GUI_1,;t t
43210 s,@COND_USE_GUI_1_WXUNIV_0@,$COND_USE_GUI_1_WXUNIV_0,;t t
43211 s,@COND_USE_GUI_1_WXUNIV_1@,$COND_USE_GUI_1_WXUNIV_1,;t t
43212 s,@COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN@,$COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN,;t t
43213 s,@COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN@,$COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN,;t t
43214 s,@COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN@,$COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN,;t t
43215 s,@COND_USE_ODBC_1@,$COND_USE_ODBC_1,;t t
43216 s,@COND_USE_PLUGINS_0@,$COND_USE_PLUGINS_0,;t t
43217 s,@COND_USE_SOSYMLINKS_1@,$COND_USE_SOSYMLINKS_1,;t t
43218 s,@COND_USE_SOVERLINUX_1@,$COND_USE_SOVERLINUX_1,;t t
43219 s,@COND_USE_SOVERSION_0@,$COND_USE_SOVERSION_0,;t t
43220 s,@COND_USE_SOVERSOLARIS_1@,$COND_USE_SOVERSOLARIS_1,;t t
43221 s,@COND_WITH_PLUGIN_SDL_1@,$COND_WITH_PLUGIN_SDL_1,;t t
43222 s,@COND_WITH_SDL_1@,$COND_WITH_SDL_1,;t t
43223 s,@COND_WXUNIV_1@,$COND_WXUNIV_1,;t t
43224 s,@COND_WXUSE_EXPAT_BUILTIN@,$COND_WXUSE_EXPAT_BUILTIN,;t t
43225 s,@COND_WXUSE_LIBJPEG_BUILTIN@,$COND_WXUSE_LIBJPEG_BUILTIN,;t t
43226 s,@COND_WXUSE_LIBPNG_BUILTIN@,$COND_WXUSE_LIBPNG_BUILTIN,;t t
43227 s,@COND_WXUSE_LIBTIFF_BUILTIN@,$COND_WXUSE_LIBTIFF_BUILTIN,;t t
43228 s,@COND_WXUSE_ODBC_BUILTIN@,$COND_WXUSE_ODBC_BUILTIN,;t t
43229 s,@COND_WXUSE_REGEX_BUILTIN@,$COND_WXUSE_REGEX_BUILTIN,;t t
43230 s,@COND_WXUSE_ZLIB_BUILTIN@,$COND_WXUSE_ZLIB_BUILTIN,;t t
43231 s,@PATH_IFS@,$PATH_IFS,;t t
43232 s,@WX_MAJOR_VERSION_NUMBER@,$WX_MAJOR_VERSION_NUMBER,;t t
43233 s,@WX_MINOR_VERSION_NUMBER@,$WX_MINOR_VERSION_NUMBER,;t t
43234 s,@WX_RELEASE_NUMBER@,$WX_RELEASE_NUMBER,;t t
43235 s,@WX_LIBRARY_NAME_STATIC@,$WX_LIBRARY_NAME_STATIC,;t t
43236 s,@WX_LIBRARY_NAME_SHARED@,$WX_LIBRARY_NAME_SHARED,;t t
43237 s,@WX_LIBRARY_BASENAME_NOGUI@,$WX_LIBRARY_BASENAME_NOGUI,;t t
43238 s,@WX_LIBRARY_BASENAME_GUI@,$WX_LIBRARY_BASENAME_GUI,;t t
43239 s,@WX_LIBRARY_IMPORTLIB@,$WX_LIBRARY_IMPORTLIB,;t t
43240 s,@WX_TARGET_LIBRARY@,$WX_TARGET_LIBRARY,;t t
43241 s,@WX_LIBRARY_LINK1@,$WX_LIBRARY_LINK1,;t t
43242 s,@WX_LIBRARY_LINK2@,$WX_LIBRARY_LINK2,;t t
43243 s,@PROGRAM_EXT@,$PROGRAM_EXT,;t t
43244 s,@WX_LIBRARY_NAME_STATIC_GL@,$WX_LIBRARY_NAME_STATIC_GL,;t t
43245 s,@WX_LIBRARY_NAME_SHARED_GL@,$WX_LIBRARY_NAME_SHARED_GL,;t t
43246 s,@WX_TARGET_LIBRARY_GL@,$WX_TARGET_LIBRARY_GL,;t t
43247 s,@WX_LIBRARY_LINK1_GL@,$WX_LIBRARY_LINK1_GL,;t t
43248 s,@WX_LIBRARY_LINK2_GL@,$WX_LIBRARY_LINK2_GL,;t t
43249 s,@WX_ALL@,$WX_ALL,;t t
43250 s,@WX_ALL_INSTALLED@,$WX_ALL_INSTALLED,;t t
43251 s,@SHARED_LD@,$SHARED_LD,;t t
43252 s,@WX_TARGET_LIBRARY_TYPE@,$WX_TARGET_LIBRARY_TYPE,;t t
43253 s,@STATIC_FLAG@,$STATIC_FLAG,;t t
43254 s,@WXDEBUG_DEFINE@,$WXDEBUG_DEFINE,;t t
43255 s,@USE_GUI@,$USE_GUI,;t t
43256 s,@AFMINSTALL@,$AFMINSTALL,;t t
43257 s,@WIN32INSTALL@,$WIN32INSTALL,;t t
43258 s,@TOOLKIT@,$TOOLKIT,;t t
43259 s,@TOOLKIT_DIR@,$TOOLKIT_DIR,;t t
43260 s,@TOOLKIT_VPATH@,$TOOLKIT_VPATH,;t t
43261 s,@TOOLCHAIN_NAME@,$TOOLCHAIN_NAME,;t t
43262 s,@TOOLCHAIN_DEFS@,$TOOLCHAIN_DEFS,;t t
43263 s,@TOOLCHAIN_DLL_DEFS@,$TOOLCHAIN_DLL_DEFS,;t t
43264 s,@top_builddir_wxconfig@,$top_builddir_wxconfig,;t t
43265 s,@cross_compiling@,$cross_compiling,;t t
43266 s,@WXCONFIG_EXTRALIBS@,$WXCONFIG_EXTRALIBS,;t t
43267 s,@WXCONFIG_LIBS@,$WXCONFIG_LIBS,;t t
43268 s,@WXCONFIG_LIBS_GL@,$WXCONFIG_LIBS_GL,;t t
43269 s,@WXCONFIG_LIBS_STATIC@,$WXCONFIG_LIBS_STATIC,;t t
43270 s,@WXCONFIG_LIBS_STATIC_GL@,$WXCONFIG_LIBS_STATIC_GL,;t t
43271 s,@WXCONFIG_INCLUDE@,$WXCONFIG_INCLUDE,;t t
43272 s,@WXCONFIG_RPATH@,$WXCONFIG_RPATH,;t t
43273 s,@WXCONFIG_LDFLAGS_GUI@,$WXCONFIG_LDFLAGS_GUI,;t t
43274 s,@WX_LARGEFILE_FLAGS@,$WX_LARGEFILE_FLAGS,;t t
43275 s,@CODE_GEN_FLAGS@,$CODE_GEN_FLAGS,;t t
43276 s,@CODE_GEN_FLAGS_CXX@,$CODE_GEN_FLAGS_CXX,;t t
43277 s,@ALL_OBJECTS@,$ALL_OBJECTS,;t t
43278 s,@ALL_HEADERS@,$ALL_HEADERS,;t t
43279 s,@ALL_SOURCES@,$ALL_SOURCES,;t t
43280 s,@GUIDIST@,$GUIDIST,;t t
43281 s,@PORT_FILES@,$PORT_FILES,;t t
43282 s,@DISTDIR@,$DISTDIR,;t t
43283 s,@SAMPLES_SUBDIRS@,$SAMPLES_SUBDIRS,;t t
43284 s,@LDFLAGS_GL@,$LDFLAGS_GL,;t t
43285 s,@LDFLAGS_VERSIONING@,$LDFLAGS_VERSIONING,;t t
43286 s,@LDFLAGS_EXE@,$LDFLAGS_EXE,;t t
43287 s,@OPENGL_LIBS@,$OPENGL_LIBS,;t t
43288 s,@DMALLOC_LIBS@,$DMALLOC_LIBS,;t t
43289 s,@WX_VERSION_TAG@,$WX_VERSION_TAG,;t t
43290 s,@RESFLAGS@,$RESFLAGS,;t t
43291 s,@RESPROGRAMOBJ@,$RESPROGRAMOBJ,;t t
43292 s,@WX_RESOURCES_MACOSX_ASCII@,$WX_RESOURCES_MACOSX_ASCII,;t t
43293 s,@WX_RESOURCES_MACOSX_DATA@,$WX_RESOURCES_MACOSX_DATA,;t t
43294 s,@LIBWXMACRES@,$LIBWXMACRES,;t t
43295 s,@MACRESCOMP@,$MACRESCOMP,;t t
43296 s,@MACSETFILE@,$MACSETFILE,;t t
43297 s,@MACRESWXCONFIG@,$MACRESWXCONFIG,;t t
43299 s,@GCC_SEARCHES_USR_LOCAL_INCLUDE@,$GCC_SEARCHES_USR_LOCAL_INCLUDE,;t t
43300 s,@DLLTOOL@,$DLLTOOL,;t t
43303 s,@MAKEINFO@,$MAKEINFO,;t t
43304 s,@INSTALL_LIBRARY@,$INSTALL_LIBRARY,;t t
43305 s,@CPPUNIT_CONFIG@,$CPPUNIT_CONFIG,;t t
43306 s,@LIBOBJS@,$LIBOBJS,;t t
43307 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
43312 cat >>$CONFIG_STATUS <<\_ACEOF
43313 # Split the substitutions into bite-sized pieces for seds with
43314 # small command number limits, like on Digital OSF/1 and HP-UX.
43315 ac_max_sed_lines
=48
43316 ac_sed_frag
=1 # Number of current file.
43317 ac_beg
=1 # First line for current file.
43318 ac_end
=$ac_max_sed_lines # Line after last line for current file.
43321 while $ac_more_lines; do
43322 if test $ac_beg -gt 1; then
43323 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
43325 sed "${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
43327 if test ! -s $tmp/subs.frag
; then
43328 ac_more_lines
=false
43330 # The purpose of the label and of the branching condition is to
43331 # speed up the sed processing (if there are no `@' at all, there
43332 # is no need to browse any of the substitutions).
43333 # These are the two extra sed commands mentioned above.
43335 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag
) >$tmp/subs
-$ac_sed_frag.
sed
43336 if test -z "$ac_sed_cmds"; then
43337 ac_sed_cmds
="sed -f $tmp/subs-$ac_sed_frag.sed"
43339 ac_sed_cmds
="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
43341 ac_sed_frag
=`expr $ac_sed_frag + 1`
43343 ac_end
=`expr $ac_end + $ac_max_sed_lines`
43346 if test -z "$ac_sed_cmds"; then
43349 fi # test -n "$CONFIG_FILES"
43352 cat >>$CONFIG_STATUS <<\_ACEOF
43353 for ac_file
in : $CONFIG_FILES; do test "x$ac_file" = x
: && continue
43354 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
43356 - | *:- | *:-:* ) # input from stdin
43358 ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
43359 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
43360 *:* ) ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
43361 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
43362 * ) ac_file_in
=$ac_file.
in ;;
43365 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
43366 ac_dir
=`(dirname "$ac_file") 2>/dev/null ||
43367 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
43368 X"$ac_file" : 'X\(//\)[^/]' \| \
43369 X"$ac_file" : 'X\(//\)$' \| \
43370 X"$ac_file" : 'X\(/\)' \| \
43371 . : '\(.\)' 2>/dev/null ||
43373 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
43374 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
43375 /^X\(\/\/\)$/{ s//\1/; q; }
43376 /^X\(\/\).*/{ s//\1/; q; }
43378 { if $as_mkdir_p; then
43383 while test ! -d "$as_dir"; do
43384 as_dirs
="$as_dir $as_dirs"
43385 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
43386 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
43387 X"$as_dir" : 'X\(//\)[^/]' \| \
43388 X"$as_dir" : 'X\(//\)$' \| \
43389 X"$as_dir" : 'X\(/\)' \| \
43390 . : '\(.\)' 2>/dev/null ||
43392 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
43393 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
43394 /^X\(\/\/\)$/{ s//\1/; q; }
43395 /^X\(\/\).*/{ s//\1/; q; }
43398 test ! -n "$as_dirs" || mkdir $as_dirs
43399 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
43400 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
43401 { (exit 1); exit 1; }; }; }
43405 if test "$ac_dir" != .
; then
43406 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
43407 # A "../" for each directory in $ac_dir_suffix.
43408 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
43410 ac_dir_suffix
= ac_top_builddir
=
43414 .
) # No --srcdir option. We are building in place.
43416 if test -z "$ac_top_builddir"; then
43419 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
43421 [\\/]* | ?
:[\\/]* ) # Absolute path.
43422 ac_srcdir
=$srcdir$ac_dir_suffix;
43423 ac_top_srcdir
=$srcdir ;;
43424 *) # Relative path.
43425 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
43426 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
43429 # Do not use `cd foo && pwd` to compute absolute paths, because
43430 # the directories may not exist.
43432 .
) ac_abs_builddir
="$ac_dir";;
43435 .
) ac_abs_builddir
=`pwd`;;
43436 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
43437 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
43440 case $ac_abs_builddir in
43441 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
43443 case ${ac_top_builddir}.
in
43444 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
43445 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
43446 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
43449 case $ac_abs_builddir in
43450 .
) ac_abs_srcdir
=$ac_srcdir;;
43453 .
) ac_abs_srcdir
=$ac_abs_builddir;;
43454 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
43455 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
43458 case $ac_abs_builddir in
43459 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
43461 case $ac_top_srcdir in
43462 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
43463 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
43464 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
43470 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
43471 *) ac_INSTALL
=$ac_top_builddir$INSTALL ;;
43474 if test x
"$ac_file" != x
-; then
43475 { echo "$as_me:$LINENO: creating $ac_file" >&5
43476 echo "$as_me: creating $ac_file" >&6;}
43479 # Let's still pretend it is `configure' which instantiates (i.e., don't
43480 # use $as_me), people would be surprised to read:
43481 # /* config.h. Generated by config.status. */
43482 if test x
"$ac_file" = x
-; then
43485 configure_input
="$ac_file. "
43487 configure_input
=$configure_input"Generated from `echo $ac_file_in |
43488 sed 's,.*/,,'` by configure."
43490 # First look for the input files in the build tree, otherwise in the
43492 ac_file_inputs
=`IFS=:
43493 for f in $ac_file_in; do
43495 -) echo $tmp/stdin ;;
43497 # Absolute (can't be DOS-style, as IFS=:)
43498 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
43499 echo "$as_me: error: cannot find input file: $f" >&2;}
43500 { (exit 1); exit 1; }; }
43503 if test -f "$f"; then
43506 elif test -f "$srcdir/$f"; then
43511 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
43512 echo "$as_me: error: cannot find input file: $f" >&2;}
43513 { (exit 1); exit 1; }; }
43516 done` || { (exit 1); exit 1; }
43518 cat >>$CONFIG_STATUS <<_ACEOF
43522 cat >>$CONFIG_STATUS <<\_ACEOF
43524 /@
[a
-zA-Z_][a
-zA-Z_0-9]*@
/!b
43525 s
,@configure_input@
,$configure_input,;t t
43526 s
,@srcdir@
,$ac_srcdir,;t t
43527 s
,@abs_srcdir@
,$ac_abs_srcdir,;t t
43528 s
,@top_srcdir@
,$ac_top_srcdir,;t t
43529 s
,@abs_top_srcdir@
,$ac_abs_top_srcdir,;t t
43530 s
,@builddir@
,$ac_builddir,;t t
43531 s
,@abs_builddir@
,$ac_abs_builddir,;t t
43532 s
,@top_builddir@
,$ac_top_builddir,;t t
43533 s
,@abs_top_builddir@
,$ac_abs_top_builddir,;t t
43534 s
,@INSTALL@
,$ac_INSTALL,;t t
43535 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
43537 if test x"$ac_file" != x-; then
43538 mv $tmp/out $ac_file
43546 cat >>$CONFIG_STATUS <<\_ACEOF
43549 # CONFIG_HEADER section.
43552 # These sed commands are passed to sed as "A NAME B NAME C VALUE D
", where
43553 # NAME is the cpp macro being defined and VALUE is the value it is being given.
43555 # ac_d sets the value in "#define NAME VALUE" lines.
43556 ac_dA
='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
43557 ac_dB
='[ ].*$,\1#\2'
43560 # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
43561 ac_uA
='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
43562 ac_uB
='$,\1#\2define\3'
43566 for ac_file
in : $CONFIG_HEADERS; do test "x$ac_file" = x
: && continue
43567 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
43569 - | *:- | *:-:* ) # input from stdin
43571 ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
43572 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
43573 *:* ) ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
43574 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
43575 * ) ac_file_in
=$ac_file.
in ;;
43578 test x
"$ac_file" != x
- && { echo "$as_me:$LINENO: creating $ac_file" >&5
43579 echo "$as_me: creating $ac_file" >&6;}
43581 # First look for the input files in the build tree, otherwise in the
43583 ac_file_inputs
=`IFS=:
43584 for f in $ac_file_in; do
43586 -) echo $tmp/stdin ;;
43588 # Absolute (can't be DOS-style, as IFS=:)
43589 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
43590 echo "$as_me: error: cannot find input file: $f" >&2;}
43591 { (exit 1); exit 1; }; }
43592 # Do quote $f, to prevent DOS paths from being IFS'd.
43595 if test -f "$f"; then
43598 elif test -f "$srcdir/$f"; then
43603 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
43604 echo "$as_me: error: cannot find input file: $f" >&2;}
43605 { (exit 1); exit 1; }; }
43608 done` || { (exit 1); exit 1; }
43609 # Remove the trailing spaces.
43610 sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
43614 # Transform confdefs.h into two sed scripts, `conftest.defines' and
43615 # `conftest.undefs', that substitutes the proper values into
43616 # config.h.in to produce config.h. The first handles `#define'
43617 # templates, and the second `#undef' templates.
43618 # And first: Protect against being on the right side of a sed subst in
43619 # config.status. Protect against being in an unquoted here document
43620 # in config.status.
43621 rm -f conftest.defines conftest.undefs
43622 # Using a here document instead of a string reduces the quoting nightmare.
43623 # Putting comments in sed scripts is not portable.
43625 # `end' is used to avoid that the second main sed command (meant for
43626 # 0-ary CPP macros) applies to n-ary macro definitions.
43627 # See the Autoconf documentation for `clear'.
43628 cat >confdef2sed.
sed <<\_ACEOF
43633 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
43635 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
43638 # If some macros were called several times there might be several times
43639 # the same #defines, which is useless. Nevertheless, we may not want to
43640 # sort them, since we want the *last* AC-DEFINE to be honored.
43641 uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
43642 sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
43643 rm -f confdef2sed.sed
43645 # This sed command replaces #undef with comments. This is necessary, for
43646 # example, in the case of _POSIX_SOURCE, which is predefined and required
43647 # on some systems where configure will not decide to define it.
43648 cat >>conftest.undefs <<\_ACEOF
43649 s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
43652 # Break up conftest.defines because some shells have a limit on the size
43653 # of here documents, and old seds have small limits too (100 cmds).
43654 echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
43655 echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
43656 echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
43657 echo ' :' >>$CONFIG_STATUS
43658 rm -f conftest.tail
43659 while grep . conftest.defines >/dev/null
43661 # Write a limited-size here document to $tmp/defines.sed.
43662 echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
43663 # Speed up: don't consider the non `#define' lines.
43664 echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
43665 # Work around the forget-to-reset-the-flag bug.
43666 echo 't clr' >>$CONFIG_STATUS
43667 echo ': clr' >>$CONFIG_STATUS
43668 sed ${ac_max_here_lines}q conftest.defines
>>$CONFIG_STATUS
43670 sed -f $tmp/defines.sed $tmp/in >$tmp/out
43672 mv $tmp/out $tmp/in
43674 sed 1,${ac_max_here_lines}d conftest.defines
>conftest.
tail
43675 rm -f conftest.defines
43676 mv conftest.
tail conftest.defines
43678 rm -f conftest.defines
43679 echo ' fi # grep' >>$CONFIG_STATUS
43680 echo >>$CONFIG_STATUS
43682 # Break up conftest.undefs because some shells have a limit on the size
43683 # of here documents, and old seds have small limits too (100 cmds).
43684 echo ' # Handle all the #undef templates' >>$CONFIG_STATUS
43685 rm -f conftest.
tail
43686 while grep . conftest.undefs
>/dev
/null
43688 # Write a limited-size here document to $tmp/undefs.sed.
43689 echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
43690 # Speed up: don't consider the non
`#undef'
43691 echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
43692 # Work around the forget-to-reset-the-flag bug.
43693 echo 't clr' >>$CONFIG_STATUS
43694 echo ': clr' >>$CONFIG_STATUS
43695 sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
43697 sed -f $tmp/undefs.sed $tmp/in >$tmp/out
43699 mv $tmp/out $tmp/in
43701 sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
43702 rm -f conftest.undefs
43703 mv conftest.tail conftest.undefs
43705 rm -f conftest.undefs
43707 cat >>$CONFIG_STATUS <<\_ACEOF
43708 # Let's still pretend it is `configure
' which instantiates (i.e., don't
43709 # use $as_me), people would be surprised to read:
43710 # /* config.h. Generated by config.status. */
43711 if test x
"$ac_file" = x
-; then
43712 echo "/* Generated by configure. */" >$tmp/config.h
43714 echo "/* $ac_file. Generated by configure. */" >$tmp/config.h
43716 cat $tmp/in >>$tmp/config.h
43718 if test x
"$ac_file" != x
-; then
43719 if diff $ac_file $tmp/config.h
>/dev
/null
2>&1; then
43720 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
43721 echo "$as_me: $ac_file is unchanged" >&6;}
43723 ac_dir
=`(dirname "$ac_file") 2>/dev/null ||
43724 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
43725 X"$ac_file" : 'X\(//\)[^/]' \| \
43726 X"$ac_file" : 'X\(//\)$' \| \
43727 X"$ac_file" : 'X\(/\)' \| \
43728 . : '\(.\)' 2>/dev/null ||
43730 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
43731 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
43732 /^X\(\/\/\)$/{ s//\1/; q; }
43733 /^X\(\/\).*/{ s//\1/; q; }
43735 { if $as_mkdir_p; then
43740 while test ! -d "$as_dir"; do
43741 as_dirs
="$as_dir $as_dirs"
43742 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
43743 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
43744 X"$as_dir" : 'X\(//\)[^/]' \| \
43745 X"$as_dir" : 'X\(//\)$' \| \
43746 X"$as_dir" : 'X\(/\)' \| \
43747 . : '\(.\)' 2>/dev/null ||
43749 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
43750 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
43751 /^X\(\/\/\)$/{ s//\1/; q; }
43752 /^X\(\/\).*/{ s//\1/; q; }
43755 test ! -n "$as_dirs" || mkdir $as_dirs
43756 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
43757 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
43758 { (exit 1); exit 1; }; }; }
43761 mv $tmp/config.h
$ac_file
43765 rm -f $tmp/config.h
43769 cat >>$CONFIG_STATUS <<\_ACEOF
43772 # CONFIG_COMMANDS section.
43774 for ac_file
in : $CONFIG_COMMANDS; do test "x$ac_file" = x
: && continue
43775 ac_dest
=`echo "$ac_file" | sed 's,:.*,,'`
43776 ac_source
=`echo "$ac_file" | sed 's,[^:]*:,,'`
43777 ac_dir
=`(dirname "$ac_dest") 2>/dev/null ||
43778 $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
43779 X"$ac_dest" : 'X\(//\)[^/]' \| \
43780 X"$ac_dest" : 'X\(//\)$' \| \
43781 X"$ac_dest" : 'X\(/\)' \| \
43782 . : '\(.\)' 2>/dev/null ||
43784 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
43785 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
43786 /^X\(\/\/\)$/{ s//\1/; q; }
43787 /^X\(\/\).*/{ s//\1/; q; }
43789 { if $as_mkdir_p; then
43794 while test ! -d "$as_dir"; do
43795 as_dirs
="$as_dir $as_dirs"
43796 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
43797 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
43798 X"$as_dir" : 'X\(//\)[^/]' \| \
43799 X"$as_dir" : 'X\(//\)$' \| \
43800 X"$as_dir" : 'X\(/\)' \| \
43801 . : '\(.\)' 2>/dev/null ||
43803 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
43804 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
43805 /^X\(\/\/\)$/{ s//\1/; q; }
43806 /^X\(\/\).*/{ s//\1/; q; }
43809 test ! -n "$as_dirs" || mkdir $as_dirs
43810 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
43811 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
43812 { (exit 1); exit 1; }; }; }
43816 if test "$ac_dir" != .
; then
43817 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
43818 # A "../" for each directory in $ac_dir_suffix.
43819 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
43821 ac_dir_suffix
= ac_top_builddir
=
43825 .
) # No --srcdir option. We are building in place.
43827 if test -z "$ac_top_builddir"; then
43830 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
43832 [\\/]* | ?
:[\\/]* ) # Absolute path.
43833 ac_srcdir
=$srcdir$ac_dir_suffix;
43834 ac_top_srcdir
=$srcdir ;;
43835 *) # Relative path.
43836 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
43837 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
43840 # Do not use `cd foo && pwd` to compute absolute paths, because
43841 # the directories may not exist.
43843 .
) ac_abs_builddir
="$ac_dir";;
43846 .
) ac_abs_builddir
=`pwd`;;
43847 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
43848 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
43851 case $ac_abs_builddir in
43852 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
43854 case ${ac_top_builddir}.
in
43855 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
43856 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
43857 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
43860 case $ac_abs_builddir in
43861 .
) ac_abs_srcdir
=$ac_srcdir;;
43864 .
) ac_abs_srcdir
=$ac_abs_builddir;;
43865 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
43866 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
43869 case $ac_abs_builddir in
43870 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
43872 case $ac_top_srcdir in
43873 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
43874 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
43875 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
43880 { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
43881 echo "$as_me: executing $ac_dest commands" >&6;}
43884 if test ! -h wx
-config; then
43886 mv wx
-config wx
${TOOLCHAIN_NAME}-config
43887 ${LN_S} wx
${TOOLCHAIN_NAME}-config wx
-config
43890 if test ! -d lib
; then
43893 if test ! -d lib
/wx
; then
43896 if test ! -d lib
/wx
/include
; then
43897 mkdir lib
/wx
/include
43899 if test ! -d lib
/wx
/include
/${TOOLCHAIN_NAME}; then
43900 mkdir lib
/wx
/include
/${TOOLCHAIN_NAME}
43902 if test ! -d lib
/wx
/include
/${TOOLCHAIN_NAME}/wx
; then
43903 mkdir lib
/wx
/include
/${TOOLCHAIN_NAME}/wx
43905 if test -f setup.h
; then
43906 mv -f setup.h lib
/wx
/include
/${TOOLCHAIN_NAME}/wx
/setup.h
43913 cat >>$CONFIG_STATUS <<\_ACEOF
43915 { (exit 0); exit 0; }
43917 chmod +x
$CONFIG_STATUS
43918 ac_clean_files
=$ac_clean_files_save
43921 # configure is writing to config.log, and then calls config.status.
43922 # config.status does its own redirection, appending to config.log.
43923 # Unfortunately, on DOS this fails, as config.log is still kept open
43924 # by configure, so config.status won't be able to write to it; its
43925 # output is simply discarded. So we exec the FD to /dev/null,
43926 # effectively closing config.log, so it can be properly (re)opened and
43927 # appended to by config.status. When coming back to configure, we
43928 # need to make the FD available again.
43929 if test "$no_create" != yes; then
43931 ac_config_status_args
=
43932 test "$silent" = yes &&
43933 ac_config_status_args
="$ac_config_status_args --quiet"
43935 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
43937 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
43938 # would make configure fail if this is the last instruction.
43939 $ac_cs_success || { (exit 1); exit 1; }
43943 # CONFIG_SUBDIRS section.
43945 if test "$no_recursion" != yes; then
43947 # Remove --cache-file and --srcdir arguments so they do not pile up.
43948 ac_sub_configure_args
=
43950 for ac_arg
in $ac_configure_args; do
43951 if test -n "$ac_prev"; then
43956 -cache-file | --cache-file | --cache-fil | --cache-fi \
43957 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
43958 ac_prev
=cache_file
;;
43959 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
43960 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* \
43963 --config-cache | -C)
43965 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
43967 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
43969 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
43971 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
43973 *) ac_sub_configure_args
="$ac_sub_configure_args $ac_arg" ;;
43977 # Always prepend --prefix to ensure using the same prefix
43978 # in subdir configurations.
43979 ac_sub_configure_args
="--prefix=$prefix $ac_sub_configure_args"
43982 for ac_dir
in : $subdirs; do test "x$ac_dir" = x
: && continue
43984 # Do not complain, so a configure script can configure whichever
43985 # parts of a large source tree are present.
43986 test -d $srcdir/$ac_dir || continue
43988 { echo "$as_me:$LINENO: configuring in $ac_dir" >&5
43989 echo "$as_me: configuring in $ac_dir" >&6;}
43990 { if $as_mkdir_p; then
43995 while test ! -d "$as_dir"; do
43996 as_dirs
="$as_dir $as_dirs"
43997 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
43998 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
43999 X"$as_dir" : 'X\(//\)[^/]' \| \
44000 X"$as_dir" : 'X\(//\)$' \| \
44001 X"$as_dir" : 'X\(/\)' \| \
44002 . : '\(.\)' 2>/dev/null ||
44004 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
44005 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
44006 /^X\(\/\/\)$/{ s//\1/; q; }
44007 /^X\(\/\).*/{ s//\1/; q; }
44010 test ! -n "$as_dirs" || mkdir $as_dirs
44011 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
44012 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
44013 { (exit 1); exit 1; }; }; }
44017 if test "$ac_dir" != .
; then
44018 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
44019 # A "../" for each directory in $ac_dir_suffix.
44020 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
44022 ac_dir_suffix
= ac_top_builddir
=
44026 .
) # No --srcdir option. We are building in place.
44028 if test -z "$ac_top_builddir"; then
44031 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
44033 [\\/]* | ?
:[\\/]* ) # Absolute path.
44034 ac_srcdir
=$srcdir$ac_dir_suffix;
44035 ac_top_srcdir
=$srcdir ;;
44036 *) # Relative path.
44037 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
44038 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
44041 # Do not use `cd foo && pwd` to compute absolute paths, because
44042 # the directories may not exist.
44044 .
) ac_abs_builddir
="$ac_dir";;
44047 .
) ac_abs_builddir
=`pwd`;;
44048 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
44049 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
44052 case $ac_abs_builddir in
44053 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
44055 case ${ac_top_builddir}.
in
44056 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
44057 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
44058 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
44061 case $ac_abs_builddir in
44062 .
) ac_abs_srcdir
=$ac_srcdir;;
44065 .
) ac_abs_srcdir
=$ac_abs_builddir;;
44066 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
44067 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
44070 case $ac_abs_builddir in
44071 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
44073 case $ac_top_srcdir in
44074 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
44075 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
44076 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
44083 # Check for guested configure; otherwise get Cygnus style configure.
44084 if test -f $ac_srcdir/configure.gnu
; then
44085 ac_sub_configure
="$SHELL '$ac_srcdir/configure.gnu'"
44086 elif test -f $ac_srcdir/configure
; then
44087 ac_sub_configure
="$SHELL '$ac_srcdir/configure'"
44088 elif test -f $ac_srcdir/configure.
in; then
44089 ac_sub_configure
=$ac_configure
44091 { echo "$as_me:$LINENO: WARNING: no configuration information is in $ac_dir" >&5
44092 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;}
44096 # The recursion is here.
44097 if test -n "$ac_sub_configure"; then
44098 # Make the cache file name correct relative to the subdirectory.
44099 case $cache_file in
44100 [\\/]* | ?
:[\\/]* ) ac_sub_cache_file
=$cache_file ;;
44101 *) # Relative path.
44102 ac_sub_cache_file
=$ac_top_builddir$cache_file ;;
44105 { echo "$as_me:$LINENO: running $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&5
44106 echo "$as_me: running $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;}
44107 # The eval makes quoting arguments work.
44108 eval $ac_sub_configure $ac_sub_configure_args \
44109 --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir ||
44110 { { echo "$as_me:$LINENO: error: $ac_sub_configure failed for $ac_dir" >&5
44111 echo "$as_me: error: $ac_sub_configure failed for $ac_dir" >&2;}
44112 { (exit 1); exit 1; }; }
44121 echo "Configured wxWidgets ${WX_VERSION} for \`${host}'"
44123 echo " Which GUI toolkit should wxWidgets use? ${TOOLKIT_LOWERCASE:-base only}"
44124 echo " Should wxWidgets be compiled into single library? ${wxUSE_MONOLITHIC:-yes}"
44126 echo " Should wxWidgets be compiled in debug mode? ${wxUSE_DEBUG:-no}"
44127 echo " Should wxWidgets be linked as a shared library? ${wxUSE_SHARED:-no}"
44128 echo " Should wxWidgets be compiled in Unicode mode? ${wxUSE_UNICODE:-no}"
44130 echo " What level of wxWidgets compatibility should be enabled?"
44131 echo " wxWidgets 2.2 ${WXWIN_COMPATIBILITY_2_2:-no}"
44132 echo " wxWidgets 2.4 ${WXWIN_COMPATIBILITY_2_4:-yes}"
44134 echo " Which libraries should wxWidgets use?"
44135 echo " jpeg ${wxUSE_LIBJPEG-none}"
44136 echo " png ${wxUSE_LIBPNG-none}"
44137 echo " regex ${wxUSE_REGEX}"
44138 echo " tiff ${wxUSE_LIBTIFF-none}"
44139 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
44140 echo " xpm ${wxUSE_LIBXPM-none}"
44142 echo " zlib ${wxUSE_ZLIB}"
44143 echo " odbc ${wxUSE_ODBC}"
44144 echo " expat ${wxUSE_EXPAT}"
44145 echo " libmspack ${wxUSE_LIBMSPACK}"
44146 echo " sdl ${wxUSE_LIBSDL}"