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 wxWindows 2.5.1.
6 # Report bugs to <wx-dev@lists.wxwindows.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
='wxWindows'
272 PACKAGE_TARNAME
='wxwindows'
273 PACKAGE_VERSION
='2.5.1'
274 PACKAGE_STRING
='wxWindows 2.5.1'
275 PACKAGE_BUGREPORT
='wx-dev@lists.wxwindows.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 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 LIBPREFIX 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_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 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 wxWindows 2.5.1 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 wxWindows 2.5.1:";;
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 wxWindows as single library
872 --enable-plugins build parts of wxWindows as loadable components
873 --enable-universal use wxWindows GUI controls instead of native ones
874 --enable-nanox use NanoX
875 --enable-gtk2 use GTK
+ 2.0 if available
(EXPERIMENTAL
)
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-debug_flag set __WXDEBUG__ flag
(recommended
for developers
!)
882 --enable-debug_info create code with debugging information
883 --enable-debug_gdb create code with extra GDB debugging information
884 --enable-debug_cntxt use wxDebugContext
885 --enable-mem_tracing create code with memory tracing
886 --enable-profile create code with profiling information
887 --enable-no_rtti create code without RTTI information
888 --enable-no_exceptions create code without C
++ exceptions handling
889 --enable-permissive compile code disregarding strict ANSI
890 --enable-no_deps create code without dependency information
891 --enable-compat22 enable wxWindows
2.2 compatibility
892 --disable-compat24 disable wxWindows
2.4 compatibility
893 --enable-rpath=DIR output the rpath flag from wx
-config
894 --enable-intl use internationalization system
895 --enable-config use wxConfig
(and derived
) classes
896 --enable-protocols use wxProtocol and derived classes
897 --enable-ftp use wxFTP
(requires wxProtocol
898 --enable-http use wxHTTP
(requires wxProtocol
899 --enable-fileproto use wxFileProto class
(requires wxProtocol
900 --enable-sockets use socket
/network classes
901 --enable-ole use OLE classes
(Win32 only
)
902 --enable-dataobj use data object classes
903 --enable-ipc use interprocess communication
(wxSocket etc.
)
904 --enable-apple_ieee use the Apple IEEE codec
905 --enable-catch_segvs catch signals
in wxApp
::OnFatalException
(Unix only
)
906 --enable-cmdline use wxCmdLineParser class
907 --enable-datetime use wxDateTime class
908 --enable-dialupman use dialup network classes
909 --enable-dynlib use wxLibrary class
for DLL loading
910 --enable-dynamicloader use
(new
) wxDynamicLibrary class
911 --enable-exceptions build exception
-safe library
912 --enable-ffile use wxFFile class
913 --enable-file use wxFile class
914 --enable-filesystem use virtual
file systems classes
915 --enable-fontmap use font encodings conversion classes
916 --enable-fs_inet use virtual HTTP
/FTP filesystems
917 --enable-fs_zip use virtual ZIP filesystems
918 --enable-geometry use geometry class
919 --enable-log use logging system
920 --enable-longlong use wxLongLong class
921 --enable-mimetype use wxMimeTypesManager
922 --enable-mslu use MS Layer
for Unicode on Windows
9x
(Win32 only
)
923 --enable-snglinst use wxSingleInstanceChecker class
924 --enable-streams use wxStream etc classes
925 --enable-std_iostreams use standard C
++ stream classes
926 --enable-stopwatch use wxStopWatch class
927 --enable-sysoptions use wxSystemOptions
928 --enable-textbuf use wxTextBuffer class
929 --enable-textfile use wxTextFile class
930 --enable-timer use wxTimer class
931 --enable-unicode compile wxString with Unicode support
932 --enable-sound use wxSound class
933 --enable-wxprintfv use wxWindows implementation of vprintf
()
934 --enable-zipstream use wxZipInputStream
935 --enable-gzstream use wxGzipInputStream
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-loggui use standard GUI logger
951 --enable-logwin use wxLogWindow
952 --enable-logdialog use wxLogDialog
953 --enable-postscript use wxPostscriptDC device context
(default
for gtk
+)
954 --enable-prologio not available
; see contrib
955 --enable-resources not available
; see contrib
956 --enable-clipboard use wxClipboard class
957 --enable-dnd use Drag
'n'Drop classes
958 --enable-metafile use win32 metafiles
959 --enable-controls use all usual controls
960 --enable-accel use accelerators
961 --enable-button use wxButton class
962 --enable-bmpbutton use wxBitmapButton class
963 --enable-calendar use wxCalendarCtrl class
964 --enable-caret use wxCaret class
965 --enable-checkbox use wxCheckBox class
966 --enable-checklst use wxCheckListBox
(listbox with checkboxes
) class
967 --enable-choice use wxChoice class
968 --enable-combobox use wxComboBox class
969 --enable-display use wxDisplay class
970 --enable-gauge use wxGauge class
971 --enable-grid use wxGrid class
972 --enable-imaglist use wxImageList class
973 --enable-listbook use wxListbook class
974 --enable-listbox use wxListBox class
975 --enable-listctrl use wxListCtrl class
976 --enable-notebook use wxNotebook class
977 --enable-radiobox use wxRadioBox class
978 --enable-radiobtn use wxRadioButton class
979 --enable-sash use wxSashWindow class
980 --enable-scrollbar use wxScrollBar class and scrollable windows
981 --enable-slider use wxSlider class
982 --enable-spinbtn use wxSpinButton class
983 --enable-spinctrl use wxSpinCtrl class
984 --enable-splitter use wxSplitterWindow class
985 --enable-statbmp use wxStaticBitmap class
986 --enable-statbox use wxStaticBox class
987 --enable-statline use wxStaticLine class
988 --enable-stattext use wxStaticText class
989 --enable-statusbar use wxStatusBar class
990 --enable-tabdialog use wxTabControl class
991 --enable-textctrl use wxTextCtrl class
992 --enable-togglebtn use wxToggleButton class
993 --enable-toolbar use wxToolBar class
994 --enable-tbarnative use native wxToolBar class
995 --enable-tbarsmpl use wxToolBarSimple class
996 --enable-treectrl use wxTreeCtrl class
997 --enable-tipwindow use wxTipWindow class
998 --enable-popupwin use wxPopUpWindow class
999 --enable-commondlg use all common dialogs
1000 --enable-choicedlg use wxChoiceDialog
1001 --enable-coldlg use wxColourDialog
1002 --enable-filedlg use wxFileDialog
1003 --enable-finddlg use wxFindReplaceDialog
1004 --enable-fontdlg use wxFontDialog
1005 --enable-dirdlg use wxDirDialog
1006 --enable-msgdlg use wxMessageDialog
1007 --enable-numberdlg use wxNumberEntryDialog
1008 --enable-splash use wxSplashScreen
1009 --enable-textdlg use wxTextDialog
1010 --enable-tipdlg use startup tips
1011 --enable-progressdlg use wxProgressDialog
1012 --enable-wizarddlg use wxWizard
1013 --enable-menus use wxMenu
/wxMenuBar
/wxMenuItem classes
1014 --enable-miniframe use wxMiniFrame class
1015 --enable-tooltips use wxToolTip class
1016 --enable-splines use spline drawing code
1017 --enable-validators use wxValidator and derived classes
1018 --enable-busyinfo use wxBusyInfo
1019 --enable-joystick use wxJoystick
(Linux only
)
1020 --enable-metafiles use wxMetaFile
(Windows only
)
1021 --enable-dragimage use wxDragImage
1022 --enable-accessibility enable accessibility support
1023 --enable-palette use wxPalette class
1024 --enable-image use wxImage class
1025 --enable-gif use gif images
(GIF
file format
)
1026 --enable-pcx use pcx images
(PCX
file format
)
1027 --enable-iff use iff images
(IFF
file format
)
1028 --enable-pnm use pnm images
(PNM
file format
)
1029 --enable-xpm use xpm images
(XPM
file format
)
1030 --enable-icocur use Windows ICO and CUR formats
1031 --enable-official_build official build of wxWindows
(win32 DLL only
)
1032 --enable-vendor=VENDOR vendor name
(win32 DLL only
)
1033 --disable-largefile omit support
for large files
1034 --disable-gtktest do not try to compile and run a
test GTK
+ program
1035 --disable-gtktest Do not try to compile and run a
test GTK program
1036 --disable-sdltest Do not try to compile and run a
test SDL program
1037 --disable-precomp-headers don
't use precompiled headers even if compiler can
1040 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1041 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1043 --with-motif use Motif/Lesstif
1044 --with-mac use Mac OS X
1045 --with-cocoa use Cocoa
1046 --with-wine use Wine
1047 --with-msw use MS-Windows
1048 --with-pm use OS/2 Presentation Manager
1049 --with-mgl use SciTech MGL
1050 --with-microwin use MicroWindows
1052 --with-libpng use libpng (PNG image format)
1053 --with-libjpeg use libjpeg (JPEG file format)
1054 --with-libtiff use libtiff (TIFF file format)
1055 --with-libxpm use libxpm (XPM file format)
1056 --with-libmspack use libmspack (CHM help files loading)
1057 --with-sdl use SDL for audio on Unix
1058 --with-opengl use OpenGL (or Mesa)
1059 --with-dmalloc use dmalloc library (http://dmalloc.com/)
1060 --with-regex enable support for wxRegEx class
1061 --with-zlib use zlib for LZW compression
1062 --with-odbc use the IODBC and wxODBC classes
1063 --with-expat enable XML support using expat parser
1064 --with-gtk-prefix=PFX Prefix where GTK is installed (optional)
1065 --with-gtk-exec-prefix=PFX Exec prefix where GTK is installed (optional)
1066 --with-x use the X Window System
1067 --with-libiconv-prefix=DIR search for libiconv in DIR/include and DIR/lib
1068 --with-sdl-prefix=PFX Prefix where SDL is installed (optional)
1069 --with-sdl-exec-prefix=PFX Exec prefix where SDL is installed (optional)
1071 Some influential environment variables:
1072 CC C compiler command
1073 CFLAGS C compiler flags
1074 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1075 nonstandard directory <lib dir>
1076 CPPFLAGS C/C++ preprocessor flags, e.g. -I<include dir> if you have
1077 headers in a nonstandard directory <include dir>
1079 CXX C++ compiler command
1080 CXXFLAGS C++ compiler flags
1081 CXXCPP C++ preprocessor
1083 Use these variables to override the choices made by `configure' or to
help
1084 it to
find libraries and programs with nonstandard names
/locations.
1086 Report bugs to
<wx
-dev@lists.wxwindows.org
>.
1090 if test "$ac_init_help" = "recursive"; then
1091 # If there are subdirs, report their specific --help.
1093 for ac_dir
in : $ac_subdirs_all; do test "x$ac_dir" = x
: && continue
1094 test -d $ac_dir || continue
1097 if test "$ac_dir" != .
; then
1098 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
1099 # A "../" for each directory in $ac_dir_suffix.
1100 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
1102 ac_dir_suffix
= ac_top_builddir
=
1106 .
) # No --srcdir option. We are building in place.
1108 if test -z "$ac_top_builddir"; then
1111 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
1113 [\\/]* | ?
:[\\/]* ) # Absolute path.
1114 ac_srcdir
=$srcdir$ac_dir_suffix;
1115 ac_top_srcdir
=$srcdir ;;
1117 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
1118 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
1121 # Do not use `cd foo && pwd` to compute absolute paths, because
1122 # the directories may not exist.
1124 .
) ac_abs_builddir
="$ac_dir";;
1127 .
) ac_abs_builddir
=`pwd`;;
1128 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
1129 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
1132 case $ac_abs_builddir in
1133 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
1135 case ${ac_top_builddir}.
in
1136 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
1137 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
1138 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
1141 case $ac_abs_builddir in
1142 .
) ac_abs_srcdir
=$ac_srcdir;;
1145 .
) ac_abs_srcdir
=$ac_abs_builddir;;
1146 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
1147 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
1150 case $ac_abs_builddir in
1151 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
1153 case $ac_top_srcdir in
1154 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
1155 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
1156 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
1161 # Check for guested configure; otherwise get Cygnus style configure.
1162 if test -f $ac_srcdir/configure.gnu
; then
1164 $SHELL $ac_srcdir/configure.gnu
--help=recursive
1165 elif test -f $ac_srcdir/configure
; then
1167 $SHELL $ac_srcdir/configure
--help=recursive
1168 elif test -f $ac_srcdir/configure.ac
||
1169 test -f $ac_srcdir/configure.
in; then
1171 $ac_configure --help
1173 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1179 test -n "$ac_init_help" && exit 0
1180 if $ac_init_version; then
1182 wxWindows configure
2.5.1
1183 generated by GNU Autoconf
2.59
1185 Copyright
(C
) 2003 Free Software Foundation
, Inc.
1186 This configure
script is free software
; the Free Software Foundation
1187 gives unlimited permission to copy
, distribute and modify it.
1193 This file contains any messages produced by compilers while
1194 running configure, to aid debugging if configure makes a mistake.
1196 It was created by wxWindows $as_me 2.5.1, which was
1197 generated by GNU Autoconf 2.59. Invocation command line was
1208 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1209 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1210 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1211 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1212 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1214 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1215 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1217 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1218 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1219 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1220 hostinfo = `(hostinfo) 2>/dev/null || echo unknown`
1221 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1222 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1223 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1227 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1231 test -z "$as_dir" && as_dir
=.
1232 echo "PATH: $as_dir"
1247 # Keep a trace of the command line.
1248 # Strip out --no-create and --no-recursion so they do not pile up.
1249 # Strip out --silent because we don't want to record it for future runs.
1250 # Also quote any args containing shell meta-characters.
1251 # Make two passes to allow for proper duplicate-argument suppression.
1256 ac_must_keep_next
=false
1262 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1263 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1264 | -silent | --silent | --silen | --sile | --sil)
1266 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1267 ac_arg
=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1270 1) ac_configure_args0
="$ac_configure_args0 '$ac_arg'" ;;
1272 ac_configure_args1
="$ac_configure_args1 '$ac_arg'"
1273 if test $ac_must_keep_next = true
; then
1274 ac_must_keep_next
=false
# Got value, back to normal.
1277 *=* | --config-cache | -C | -disable-* | --disable-* \
1278 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1279 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1280 | -with-* | --with-* | -without-* | --without-* | --x)
1281 case "$ac_configure_args0 " in
1282 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1285 -* ) ac_must_keep_next
=true
;;
1288 ac_configure_args
="$ac_configure_args$ac_sep'$ac_arg'"
1289 # Get rid of the leading space.
1295 $as_unset ac_configure_args0
|| test "${ac_configure_args0+set}" != set || { ac_configure_args0
=; export ac_configure_args0
; }
1296 $as_unset ac_configure_args1
|| test "${ac_configure_args1+set}" != set || { ac_configure_args1
=; export ac_configure_args1
; }
1298 # When interrupted or exit'd, cleanup temporary files, and complete
1299 # config.log. We remove comments because anyway the quotes in there
1300 # would cause problems or look ugly.
1301 # WARNING: Be sure not to use single quotes in there, as some shells,
1302 # such as our DU 5.0 friend, will then `close' the trap.
1303 trap 'exit_status=$?
1304 # Save into config.log some information that might help in debugging.
1309 ## ---------------- ##
1310 ## Cache variables. ##
1311 ## ---------------- ##
1314 # The following way of writing the cache mishandles newlines in values,
1317 case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1320 "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1321 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1325 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1332 ## ----------------- ##
1333 ## Output variables. ##
1334 ## ----------------- ##
1337 for ac_var in $ac_subst_vars
1339 eval ac_val=$`echo $ac_var`
1340 echo "$ac_var='"'"'$ac_val'"'"'"
1344 if test -n "$ac_subst_files"; then
1351 for ac_var in $ac_subst_files
1353 eval ac_val=$`echo $ac_var`
1354 echo "$ac_var='"'"'$ac_val'"'"'"
1359 if test -s confdefs.h; then
1366 sed "/^$/d" confdefs.h | sort
1369 test "$ac_signal" != 0 &&
1370 echo "$as_me: caught signal $ac_signal"
1371 echo "$as_me: exit $exit_status"
1373 rm -f core *.core &&
1374 rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
1377 for ac_signal
in 1 2 13 15; do
1378 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1382 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1383 rm -rf conftest
* confdefs.h
1384 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
1387 # Predefined preprocessor variables.
1389 cat >>confdefs.h
<<_ACEOF
1390 #define PACKAGE_NAME "$PACKAGE_NAME"
1394 cat >>confdefs.h
<<_ACEOF
1395 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1399 cat >>confdefs.h
<<_ACEOF
1400 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1404 cat >>confdefs.h
<<_ACEOF
1405 #define PACKAGE_STRING "$PACKAGE_STRING"
1409 cat >>confdefs.h
<<_ACEOF
1410 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1414 # Let the site file select an alternate cache file if it wants to.
1415 # Prefer explicitly selected file to automatically selected ones.
1416 if test -z "$CONFIG_SITE"; then
1417 if test "x$prefix" != xNONE
; then
1418 CONFIG_SITE
="$prefix/share/config.site $prefix/etc/config.site"
1420 CONFIG_SITE
="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1423 for ac_site_file
in $CONFIG_SITE; do
1424 if test -r "$ac_site_file"; then
1425 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1426 echo "$as_me: loading site script $ac_site_file" >&6;}
1427 sed 's/^/| /' "$ac_site_file" >&5
1432 if test -r "$cache_file"; then
1433 # Some versions of bash will fail to source /dev/null (special
1434 # files actually), so we avoid doing that.
1435 if test -f "$cache_file"; then
1436 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1437 echo "$as_me: loading cache $cache_file" >&6;}
1439 [\\/]* | ?
:[\\/]* ) .
$cache_file;;
1440 *) . .
/$cache_file;;
1444 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1445 echo "$as_me: creating cache $cache_file" >&6;}
1449 # Check that the precious variables saved in the cache have kept the same
1451 ac_cache_corrupted
=false
1452 for ac_var
in `(set) 2>&1 |
1453 sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
1454 eval ac_old_set
=\
$ac_cv_env_${ac_var}_set
1455 eval ac_new_set
=\
$ac_env_${ac_var}_set
1456 eval ac_old_val
="\$ac_cv_env_${ac_var}_value"
1457 eval ac_new_val
="\$ac_env_${ac_var}_value"
1458 case $ac_old_set,$ac_new_set in
1460 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1461 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1462 ac_cache_corrupted
=: ;;
1464 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1465 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1466 ac_cache_corrupted
=: ;;
1469 if test "x$ac_old_val" != "x$ac_new_val"; then
1470 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1471 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1472 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1473 echo "$as_me: former value: $ac_old_val" >&2;}
1474 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1475 echo "$as_me: current value: $ac_new_val" >&2;}
1476 ac_cache_corrupted
=:
1479 # Pass precious variables to config.status.
1480 if test "$ac_new_set" = set; then
1482 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1483 ac_arg
=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1484 *) ac_arg
=$ac_var=$ac_new_val ;;
1486 case " $ac_configure_args " in
1487 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1488 *) ac_configure_args
="$ac_configure_args '$ac_arg'" ;;
1492 if $ac_cache_corrupted; then
1493 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1494 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1495 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1496 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1497 { (exit 1); exit 1; }; }
1501 ac_cpp
='$CPP $CPPFLAGS'
1502 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1503 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1504 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
1536 for ac_dir
in $srcdir $srcdir/..
$srcdir/..
/..
; do
1537 if test -f $ac_dir/install-sh; then
1539 ac_install_sh
="$ac_aux_dir/install-sh -c"
1541 elif test -f $ac_dir/install.sh
; then
1543 ac_install_sh
="$ac_aux_dir/install.sh -c"
1545 elif test -f $ac_dir/shtool
; then
1547 ac_install_sh
="$ac_aux_dir/shtool install -c"
1551 if test -z "$ac_aux_dir"; then
1552 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
1553 echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
1554 { (exit 1); exit 1; }; }
1556 ac_config_guess
="$SHELL $ac_aux_dir/config.guess"
1557 ac_config_sub
="$SHELL $ac_aux_dir/config.sub"
1558 ac_configure
="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
1560 # Make sure we can run config.sub.
1561 $ac_config_sub sun4
>/dev
/null
2>&1 ||
1562 { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
1563 echo "$as_me: error: cannot run $ac_config_sub" >&2;}
1564 { (exit 1); exit 1; }; }
1566 echo "$as_me:$LINENO: checking build system type" >&5
1567 echo $ECHO_N "checking build system type... $ECHO_C" >&6
1568 if test "${ac_cv_build+set}" = set; then
1569 echo $ECHO_N "(cached) $ECHO_C" >&6
1571 ac_cv_build_alias
=$build_alias
1572 test -z "$ac_cv_build_alias" &&
1573 ac_cv_build_alias
=`$ac_config_guess`
1574 test -z "$ac_cv_build_alias" &&
1575 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
1576 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
1577 { (exit 1); exit 1; }; }
1578 ac_cv_build
=`$ac_config_sub $ac_cv_build_alias` ||
1579 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
1580 echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
1581 { (exit 1); exit 1; }; }
1584 echo "$as_me:$LINENO: result: $ac_cv_build" >&5
1585 echo "${ECHO_T}$ac_cv_build" >&6
1587 build_cpu
=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1588 build_vendor
=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1589 build_os
=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1592 echo "$as_me:$LINENO: checking host system type" >&5
1593 echo $ECHO_N "checking host system type... $ECHO_C" >&6
1594 if test "${ac_cv_host+set}" = set; then
1595 echo $ECHO_N "(cached) $ECHO_C" >&6
1597 ac_cv_host_alias
=$host_alias
1598 test -z "$ac_cv_host_alias" &&
1599 ac_cv_host_alias
=$ac_cv_build_alias
1600 ac_cv_host
=`$ac_config_sub $ac_cv_host_alias` ||
1601 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
1602 echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
1603 { (exit 1); exit 1; }; }
1606 echo "$as_me:$LINENO: result: $ac_cv_host" >&5
1607 echo "${ECHO_T}$ac_cv_host" >&6
1609 host_cpu
=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1610 host_vendor
=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1611 host_os
=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1614 echo "$as_me:$LINENO: checking target system type" >&5
1615 echo $ECHO_N "checking target system type... $ECHO_C" >&6
1616 if test "${ac_cv_target+set}" = set; then
1617 echo $ECHO_N "(cached) $ECHO_C" >&6
1619 ac_cv_target_alias
=$target_alias
1620 test "x$ac_cv_target_alias" = "x" &&
1621 ac_cv_target_alias
=$ac_cv_host_alias
1622 ac_cv_target
=`$ac_config_sub $ac_cv_target_alias` ||
1623 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_target_alias failed" >&5
1624 echo "$as_me: error: $ac_config_sub $ac_cv_target_alias failed" >&2;}
1625 { (exit 1); exit 1; }; }
1628 echo "$as_me:$LINENO: result: $ac_cv_target" >&5
1629 echo "${ECHO_T}$ac_cv_target" >&6
1630 target
=$ac_cv_target
1631 target_cpu
=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1632 target_vendor
=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1633 target_os
=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1636 # The aliases save the names the user supplied, while $host etc.
1637 # will get canonicalized.
1638 test -n "$target_alias" &&
1639 test "$program_prefix$program_suffix$program_transform_name" = \
1641 program_prefix
=${target_alias}-
1645 WX_MAJOR_VERSION_NUMBER
=2
1646 WX_MINOR_VERSION_NUMBER
=5
1649 WX_VERSION
=$WX_MAJOR_VERSION_NUMBER.
$WX_MINOR_VERSION_NUMBER.
$WX_RELEASE_NUMBER
1650 WX_RELEASE
=$WX_MAJOR_VERSION_NUMBER.
$WX_MINOR_VERSION_NUMBER
1652 WX_MSW_VERSION
=$WX_MAJOR_VERSION_NUMBER$WX_MINOR_VERSION_NUMBER$WX_RELEASE_NUMBER
1668 USE_BSD
= USE_DARWIN
= USE_FREEBSD
=
1674 USE_SOLARIS
= USE_SUN
= USE_SUNOS
= USE_SVR4
= USE_SYSV
= USE_VMS
=
1680 NEEDS_D_REENTRANT_FOR_R_FUNCS
=0
1682 ALL_TOOLKITS
="COCOA GTK MAC MGL MICROWIN MOTIF MSW PM X11"
1684 DEFAULT_wxUSE_COCOA
=0
1688 DEFAULT_wxUSE_MICROWIN
=0
1689 DEFAULT_wxUSE_MOTIF
=0
1694 DEFAULT_DEFAULT_wxUSE_COCOA
=0
1695 DEFAULT_DEFAULT_wxUSE_GTK
=0
1696 DEFAULT_DEFAULT_wxUSE_MAC
=0
1697 DEFAULT_DEFAULT_wxUSE_MGL
=0
1698 DEFAULT_DEFAULT_wxUSE_MICROWIN
=0
1699 DEFAULT_DEFAULT_wxUSE_MOTIF
=0
1700 DEFAULT_DEFAULT_wxUSE_MSW
=0
1701 DEFAULT_DEFAULT_wxUSE_PM
=0
1702 DEFAULT_DEFAULT_wxUSE_X11
=0
1707 SAMPLES_RPATH_POSTLINK
=
1712 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1713 NEEDS_D_REENTRANT_FOR_R_FUNCS
=1
1715 cat >>confdefs.h
<<\_ACEOF
1722 cat >>confdefs.h
<<\_ACEOF
1727 if test "x$TMP" = "xalpha"; then
1729 cat >>confdefs.h
<<\_ACEOF
1734 DEFAULT_DEFAULT_wxUSE_GTK
=1
1736 *-*-gnu* | *-*-k*bsd
*-gnu )
1739 if test "x$TMP" = "xalpha"; then
1741 cat >>confdefs.h
<<\_ACEOF
1746 DEFAULT_DEFAULT_wxUSE_GTK
=1
1748 *-*-irix5* | *-*-irix6* )
1751 cat >>confdefs.h
<<\_ACEOF
1755 cat >>confdefs.h
<<\_ACEOF
1759 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1765 cat >>confdefs.h
<<\_ACEOF
1769 cat >>confdefs.h
<<\_ACEOF
1770 #define __SOLARIS__ 1
1773 cat >>confdefs.h
<<\_ACEOF
1777 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1778 NEEDS_D_REENTRANT_FOR_R_FUNCS
=1
1784 cat >>confdefs.h
<<\_ACEOF
1788 cat >>confdefs.h
<<\_ACEOF
1792 cat >>confdefs.h
<<\_ACEOF
1796 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1801 cat >>confdefs.h
<<\_ACEOF
1802 #define __FREEBSD__ 1
1805 cat >>confdefs.h
<<\_ACEOF
1809 DEFAULT_DEFAULT_wxUSE_GTK
=1
1814 cat >>confdefs.h
<<\_ACEOF
1815 #define __OPENBSD__ 1
1818 cat >>confdefs.h
<<\_ACEOF
1822 DEFAULT_DEFAULT_wxUSE_GTK
=1
1827 cat >>confdefs.h
<<\_ACEOF
1828 #define __NETBSD__ 1
1831 cat >>confdefs.h
<<\_ACEOF
1835 DEFAULT_DEFAULT_wxUSE_GTK
=1
1840 cat >>confdefs.h
<<\_ACEOF
1844 cat >>confdefs.h
<<\_ACEOF
1848 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1849 NEEDS_D_REENTRANT_FOR_R_FUNCS
=1
1854 cat >>confdefs.h
<<\_ACEOF
1858 cat >>confdefs.h
<<\_ACEOF
1862 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1867 cat >>confdefs.h
<<\_ACEOF
1871 cat >>confdefs.h
<<\_ACEOF
1875 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1882 cat >>confdefs.h
<<\_ACEOF
1886 cat >>confdefs.h
<<\_ACEOF
1890 cat >>confdefs.h
<<\_ACEOF
1894 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1901 cat >>confdefs.h
<<\_ACEOF
1902 #define __UNIXWARE__ 1
1907 *-*-cygwin* | *-*-mingw32* )
1911 DEFAULT_DEFAULT_wxUSE_MSW
=1
1917 cat >>confdefs.h
<<\_ACEOF
1922 DEFAULT_DEFAULT_wxUSE_MGL
=1
1923 LIBS
="$LIBS -lstdc++"
1926 *-pc-os2_emx | *-pc-os2-emx )
1927 cat >>confdefs.h
<<\_ACEOF
1932 cat >>confdefs.h
<<\_ACEOF
1937 DEFAULT_DEFAULT_wxUSE_PM
=1
1939 LDFLAGS
="$LDFLAGS -Zcrtdll"
1940 ac_executable_extensions
=".exe"
1941 export ac_executable_extensions
1945 for ac_dir
in $PATH; do
1947 if test -z "$ac_TEMP_PATH"; then
1948 ac_TEMP_PATH
="$ac_dir"
1950 ac_TEMP_PATH
="$ac_TEMP_PATH/$ac_dir"
1953 export PATH
="$ac_TEMP_PATH"
1961 cat >>confdefs.h
<<\_ACEOF
1965 cat >>confdefs.h
<<\_ACEOF
1966 #define __DARWIN__ 1
1969 cat >>confdefs.h
<<\_ACEOF
1970 #define __POWERPC__ 1
1973 cat >>confdefs.h
<<\_ACEOF
1974 #define TARGET_CARBON 1
1977 DEFAULT_DEFAULT_wxUSE_MAC
=1
1982 cat >>confdefs.h
<<\_ACEOF
1989 { { echo "$as_me:$LINENO: error: unknown system type ${host}." >&5
1990 echo "$as_me: error: unknown system type ${host}." >&2;}
1991 { (exit 1); exit 1; }; }
1997 wx_arg_cache_file
="configarg.cache"
1998 echo "loading argument cache $wx_arg_cache_file"
1999 rm -f ${wx_arg_cache_file}.tmp
2000 touch ${wx_arg_cache_file}.tmp
2001 touch ${wx_arg_cache_file}
2005 if test $DEBUG_CONFIGURE = 1; then
2006 DEFAULT_wxUSE_UNIVERSAL
=no
2007 DEFAULT_wxUSE_STL
=no
2009 DEFAULT_wxUSE_NANOX
=no
2011 DEFAULT_wxUSE_THREADS
=yes
2013 DEFAULT_wxUSE_SHARED
=yes
2014 DEFAULT_wxUSE_OPTIMISE
=no
2015 DEFAULT_wxUSE_PROFILE
=no
2016 DEFAULT_wxUSE_NO_DEPS
=no
2017 DEFAULT_wxUSE_NO_RTTI
=no
2018 DEFAULT_wxUSE_NO_EXCEPTIONS
=no
2019 DEFAULT_wxUSE_PERMISSIVE
=no
2020 DEFAULT_wxUSE_DEBUG_FLAG
=yes
2021 DEFAULT_wxUSE_DEBUG_INFO
=yes
2022 DEFAULT_wxUSE_DEBUG_GDB
=yes
2023 DEFAULT_wxUSE_MEM_TRACING
=no
2024 DEFAULT_wxUSE_DEBUG_CONTEXT
=no
2025 DEFAULT_wxUSE_DMALLOC
=no
2026 DEFAULT_wxUSE_APPLE_IEEE
=no
2028 DEFAULT_wxUSE_EXCEPTIONS
=no
2029 DEFAULT_wxUSE_LOG
=yes
2030 DEFAULT_wxUSE_LOGWINDOW
=no
2031 DEFAULT_wxUSE_LOGGUI
=no
2032 DEFAULT_wxUSE_LOGDIALOG
=no
2034 DEFAULT_wxUSE_GUI
=yes
2035 DEFAULT_wxUSE_CONTROLS
=no
2037 DEFAULT_wxUSE_REGEX
=no
2038 DEFAULT_wxUSE_XML
=no
2039 DEFAULT_wxUSE_EXPAT
=no
2040 DEFAULT_wxUSE_ZLIB
=no
2041 DEFAULT_wxUSE_LIBPNG
=no
2042 DEFAULT_wxUSE_LIBJPEG
=no
2043 DEFAULT_wxUSE_LIBTIFF
=no
2044 DEFAULT_wxUSE_LIBXPM
=no
2045 DEFAULT_wxUSE_LIBMSPACK
=no
2046 DEFAULT_wxUSE_LIBSDL
=no
2047 DEFAULT_wxUSE_ODBC
=no
2048 DEFAULT_wxUSE_OPENGL
=no
2050 DEFAULT_wxUSE_ON_FATAL_EXCEPTION
=no
2051 DEFAULT_wxUSE_SNGLINST_CHECKER
=no
2052 DEFAULT_wxUSE_STD_IOSTREAM
=no
2053 DEFAULT_wxUSE_CMDLINE_PARSER
=no
2054 DEFAULT_wxUSE_DATETIME
=no
2055 DEFAULT_wxUSE_TIMER
=no
2056 DEFAULT_wxUSE_STOPWATCH
=no
2057 DEFAULT_wxUSE_FILE
=no
2058 DEFAULT_wxUSE_FFILE
=no
2059 DEFAULT_wxUSE_TEXTBUFFER
=no
2060 DEFAULT_wxUSE_TEXTFILE
=no
2061 DEFAULT_wxUSE_SOUND
=no
2062 DEFAULT_wxUSE_INTL
=no
2063 DEFAULT_wxUSE_CONFIG
=no
2064 DEFAULT_wxUSE_FONTMAP
=no
2065 DEFAULT_wxUSE_STREAMS
=no
2066 DEFAULT_wxUSE_SOCKETS
=no
2067 DEFAULT_wxUSE_OLE
=no
2068 DEFAULT_wxUSE_DATAOBJ
=no
2069 DEFAULT_wxUSE_DIALUP_MANAGER
=no
2070 DEFAULT_wxUSE_JOYSTICK
=no
2071 DEFAULT_wxUSE_DYNLIB_CLASS
=no
2072 DEFAULT_wxUSE_DYNAMIC_LOADER
=no
2073 DEFAULT_wxUSE_LONGLONG
=no
2074 DEFAULT_wxUSE_GEOMETRY
=no
2076 DEFAULT_wxUSE_AFM_FOR_POSTSCRIPT
=no
2077 DEFAULT_wxUSE_NORMALIZED_PS_FONTS
=no
2078 DEFAULT_wxUSE_POSTSCRIPT
=no
2080 DEFAULT_wxUSE_CLIPBOARD
=no
2081 DEFAULT_wxUSE_TOOLTIPS
=no
2082 DEFAULT_wxUSE_DRAG_AND_DROP
=no
2083 DEFAULT_wxUSE_DRAGIMAGE
=no
2084 DEFAULT_wxUSE_SPLINES
=no
2086 DEFAULT_wxUSE_MDI_ARCHITECTURE
=no
2087 DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE
=no
2088 DEFAULT_wxUSE_PRINTING_ARCHITECTURE
=no
2090 DEFAULT_wxUSE_RESOURCES
=no
2091 DEFAULT_wxUSE_CONSTRAINTS
=no
2092 DEFAULT_wxUSE_IPC
=no
2093 DEFAULT_wxUSE_HELP
=no
2094 DEFAULT_wxUSE_MS_HTML_HELP
=no
2095 DEFAULT_wxUSE_WXHTML_HELP
=no
2096 DEFAULT_wxUSE_TREELAYOUT
=no
2097 DEFAULT_wxUSE_METAFILE
=no
2098 DEFAULT_wxUSE_MIMETYPE
=no
2099 DEFAULT_wxUSE_SYSTEM_OPTIONS
=no
2100 DEFAULT_wxUSE_PROTOCOL
=no
2101 DEFAULT_wxUSE_PROTOCOL_HTTP
=no
2102 DEFAULT_wxUSE_PROTOCOL_FTP
=no
2103 DEFAULT_wxUSE_PROTOCOL_FILE
=no
2104 DEFAULT_wxUSE_URL
=no
2106 DEFAULT_wxUSE_COMMONDLGS
=no
2107 DEFAULT_wxUSE_CHOICEDLG
=no
2108 DEFAULT_wxUSE_COLOURDLG
=no
2109 DEFAULT_wxUSE_DIRDLG
=no
2110 DEFAULT_wxUSE_FILEDLG
=no
2111 DEFAULT_wxUSE_FINDREPLDLG
=no
2112 DEFAULT_wxUSE_FONTDLG
=no
2113 DEFAULT_wxUSE_MSGDLG
=no
2114 DEFAULT_wxUSE_NUMBERDLG
=no
2115 DEFAULT_wxUSE_TEXTDLG
=no
2116 DEFAULT_wxUSE_SPLASH
=no
2117 DEFAULT_wxUSE_STARTUP_TIPS
=no
2118 DEFAULT_wxUSE_PROGRESSDLG
=no
2119 DEFAULT_wxUSE_WIZARDDLG
=no
2121 DEFAULT_wxUSE_MENUS
=no
2122 DEFAULT_wxUSE_MINIFRAME
=no
2123 DEFAULT_wxUSE_HTML
=no
2124 DEFAULT_wxUSE_FILESYSTEM
=no
2125 DEFAULT_wxUSE_FS_INET
=no
2126 DEFAULT_wxUSE_FS_ZIP
=no
2127 DEFAULT_wxUSE_BUSYINFO
=no
2128 DEFAULT_wxUSE_ZIPSTREAM
=no
2129 DEFAULT_wxUSE_GZSTREAM
=no
2130 DEFAULT_wxUSE_VALIDATORS
=no
2132 DEFAULT_wxUSE_ACCEL
=no
2133 DEFAULT_wxUSE_BUTTON
=no
2134 DEFAULT_wxUSE_BMPBUTTON
=no
2135 DEFAULT_wxUSE_CALCTRL
=no
2136 DEFAULT_wxUSE_CARET
=no
2137 DEFAULT_wxUSE_CHECKBOX
=no
2138 DEFAULT_wxUSE_CHECKLST
=no
2139 DEFAULT_wxUSE_CHOICE
=no
2140 DEFAULT_wxUSE_COMBOBOX
=no
2141 DEFAULT_wxUSE_DISPLAY
=no
2142 DEFAULT_wxUSE_GAUGE
=no
2143 DEFAULT_wxUSE_GRID
=no
2144 DEFAULT_wxUSE_IMAGLIST
=no
2145 DEFAULT_wxUSE_LISTBOOK
=no
2146 DEFAULT_wxUSE_LISTBOX
=no
2147 DEFAULT_wxUSE_LISTCTRL
=no
2148 DEFAULT_wxUSE_NOTEBOOK
=no
2149 DEFAULT_wxUSE_RADIOBOX
=no
2150 DEFAULT_wxUSE_RADIOBTN
=no
2151 DEFAULT_wxUSE_SASH
=no
2152 DEFAULT_wxUSE_SCROLLBAR
=no
2153 DEFAULT_wxUSE_SLIDER
=no
2154 DEFAULT_wxUSE_SPINBTN
=no
2155 DEFAULT_wxUSE_SPINCTRL
=no
2156 DEFAULT_wxUSE_SPLITTER
=no
2157 DEFAULT_wxUSE_STATBMP
=no
2158 DEFAULT_wxUSE_STATBOX
=no
2159 DEFAULT_wxUSE_STATLINE
=no
2160 DEFAULT_wxUSE_STATTEXT
=no
2161 DEFAULT_wxUSE_STATUSBAR
=yes
2162 DEFAULT_wxUSE_TABDIALOG
=no
2163 DEFAULT_wxUSE_TEXTCTRL
=no
2164 DEFAULT_wxUSE_TOGGLEBTN
=no
2165 DEFAULT_wxUSE_TOOLBAR
=no
2166 DEFAULT_wxUSE_TOOLBAR_NATIVE
=no
2167 DEFAULT_wxUSE_TOOLBAR_SIMPLE
=no
2168 DEFAULT_wxUSE_TREECTRL
=no
2169 DEFAULT_wxUSE_POPUPWIN
=no
2170 DEFAULT_wxUSE_TIPWINDOW
=no
2172 DEFAULT_wxUSE_UNICODE
=no
2173 DEFAULT_wxUSE_UNICODE_MSLU
=no
2174 DEFAULT_wxUSE_WCSRTOMBS
=no
2176 DEFAULT_wxUSE_PALETTE
=no
2177 DEFAULT_wxUSE_IMAGE
=no
2178 DEFAULT_wxUSE_GIF
=no
2179 DEFAULT_wxUSE_PCX
=no
2180 DEFAULT_wxUSE_PNM
=no
2181 DEFAULT_wxUSE_IFF
=no
2182 DEFAULT_wxUSE_XPM
=no
2183 DEFAULT_wxUSE_ICO_CUR
=no
2184 DEFAULT_wxUSE_ACCESSIBILITY
=no
2186 DEFAULT_wxUSE_MONOLITHIC
=no
2187 DEFAULT_wxUSE_PLUGINS
=no
2188 DEFAULT_wxUSE_OFFICIAL_BUILD
=no
2190 DEFAULT_wxUSE_UNIVERSAL
=no
2191 DEFAULT_wxUSE_STL
=no
2193 DEFAULT_wxUSE_NANOX
=no
2195 DEFAULT_wxUSE_THREADS
=yes
2197 DEFAULT_wxUSE_SHARED
=yes
2198 DEFAULT_wxUSE_OPTIMISE
=yes
2199 DEFAULT_wxUSE_PROFILE
=no
2200 DEFAULT_wxUSE_NO_DEPS
=no
2201 DEFAULT_wxUSE_NO_RTTI
=no
2202 DEFAULT_wxUSE_NO_EXCEPTIONS
=no
2203 DEFAULT_wxUSE_PERMISSIVE
=no
2204 DEFAULT_wxUSE_DEBUG_FLAG
=no
2205 DEFAULT_wxUSE_DEBUG_INFO
=no
2206 DEFAULT_wxUSE_DEBUG_GDB
=no
2207 DEFAULT_wxUSE_MEM_TRACING
=no
2208 DEFAULT_wxUSE_DEBUG_CONTEXT
=no
2209 DEFAULT_wxUSE_DMALLOC
=no
2210 DEFAULT_wxUSE_APPLE_IEEE
=yes
2212 DEFAULT_wxUSE_EXCEPTIONS
=yes
2213 DEFAULT_wxUSE_LOG
=yes
2214 DEFAULT_wxUSE_LOGWINDOW
=yes
2215 DEFAULT_wxUSE_LOGGUI
=yes
2216 DEFAULT_wxUSE_LOGDIALOG
=yes
2218 DEFAULT_wxUSE_GUI
=yes
2220 DEFAULT_wxUSE_REGEX
=yes
2221 DEFAULT_wxUSE_XML
=yes
2222 DEFAULT_wxUSE_EXPAT
=yes
2223 DEFAULT_wxUSE_ZLIB
=yes
2224 DEFAULT_wxUSE_LIBPNG
=yes
2225 DEFAULT_wxUSE_LIBJPEG
=yes
2226 DEFAULT_wxUSE_LIBTIFF
=yes
2227 DEFAULT_wxUSE_LIBXPM
=yes
2228 DEFAULT_wxUSE_LIBMSPACK
=yes
2229 DEFAULT_wxUSE_LIBSDL
=no
2230 DEFAULT_wxUSE_ODBC
=no
2231 DEFAULT_wxUSE_OPENGL
=no
2233 DEFAULT_wxUSE_ON_FATAL_EXCEPTION
=yes
2234 DEFAULT_wxUSE_SNGLINST_CHECKER
=yes
2235 DEFAULT_wxUSE_STD_IOSTREAM
=no
2236 DEFAULT_wxUSE_CMDLINE_PARSER
=yes
2237 DEFAULT_wxUSE_DATETIME
=yes
2238 DEFAULT_wxUSE_TIMER
=yes
2239 DEFAULT_wxUSE_STOPWATCH
=yes
2240 DEFAULT_wxUSE_FILE
=yes
2241 DEFAULT_wxUSE_FFILE
=yes
2242 DEFAULT_wxUSE_TEXTBUFFER
=yes
2243 DEFAULT_wxUSE_TEXTFILE
=yes
2244 DEFAULT_wxUSE_SOUND
=yes
2245 DEFAULT_wxUSE_INTL
=yes
2246 DEFAULT_wxUSE_CONFIG
=yes
2247 DEFAULT_wxUSE_FONTMAP
=yes
2248 DEFAULT_wxUSE_STREAMS
=yes
2249 DEFAULT_wxUSE_SOCKETS
=yes
2250 DEFAULT_wxUSE_OLE
=yes
2251 DEFAULT_wxUSE_DATAOBJ
=yes
2252 DEFAULT_wxUSE_DIALUP_MANAGER
=yes
2253 DEFAULT_wxUSE_JOYSTICK
=yes
2254 DEFAULT_wxUSE_DYNLIB_CLASS
=yes
2255 DEFAULT_wxUSE_DYNAMIC_LOADER
=yes
2256 DEFAULT_wxUSE_LONGLONG
=yes
2257 DEFAULT_wxUSE_GEOMETRY
=yes
2259 DEFAULT_wxUSE_AFM_FOR_POSTSCRIPT
=yes
2260 DEFAULT_wxUSE_NORMALIZED_PS_FONTS
=yes
2261 DEFAULT_wxUSE_POSTSCRIPT
=yes
2263 DEFAULT_wxUSE_CLIPBOARD
=yes
2264 DEFAULT_wxUSE_TOOLTIPS
=yes
2265 DEFAULT_wxUSE_DRAG_AND_DROP
=yes
2266 DEFAULT_wxUSE_DRAGIMAGE
=yes
2267 DEFAULT_wxUSE_SPLINES
=yes
2269 DEFAULT_wxUSE_MDI_ARCHITECTURE
=yes
2270 DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE
=yes
2271 DEFAULT_wxUSE_PRINTING_ARCHITECTURE
=yes
2273 DEFAULT_wxUSE_RESOURCES
=no
2274 DEFAULT_wxUSE_CONSTRAINTS
=yes
2275 DEFAULT_wxUSE_IPC
=yes
2276 DEFAULT_wxUSE_HELP
=yes
2277 DEFAULT_wxUSE_MS_HTML_HELP
=yes
2278 DEFAULT_wxUSE_WXHTML_HELP
=yes
2279 DEFAULT_wxUSE_TREELAYOUT
=yes
2280 DEFAULT_wxUSE_METAFILE
=yes
2281 DEFAULT_wxUSE_MIMETYPE
=yes
2282 DEFAULT_wxUSE_SYSTEM_OPTIONS
=yes
2283 DEFAULT_wxUSE_PROTOCOL
=yes
2284 DEFAULT_wxUSE_PROTOCOL_HTTP
=yes
2285 DEFAULT_wxUSE_PROTOCOL_FTP
=yes
2286 DEFAULT_wxUSE_PROTOCOL_FILE
=yes
2287 DEFAULT_wxUSE_URL
=yes
2289 DEFAULT_wxUSE_COMMONDLGS
=yes
2290 DEFAULT_wxUSE_CHOICEDLG
=yes
2291 DEFAULT_wxUSE_COLOURDLG
=yes
2292 DEFAULT_wxUSE_DIRDLG
=yes
2293 DEFAULT_wxUSE_FILEDLG
=yes
2294 DEFAULT_wxUSE_FINDREPLDLG
=yes
2295 DEFAULT_wxUSE_FONTDLG
=yes
2296 DEFAULT_wxUSE_MSGDLG
=yes
2297 DEFAULT_wxUSE_NUMBERDLG
=yes
2298 DEFAULT_wxUSE_TEXTDLG
=yes
2299 DEFAULT_wxUSE_SPLASH
=yes
2300 DEFAULT_wxUSE_STARTUP_TIPS
=yes
2301 DEFAULT_wxUSE_PROGRESSDLG
=yes
2302 DEFAULT_wxUSE_WIZARDDLG
=yes
2304 DEFAULT_wxUSE_MENUS
=yes
2305 DEFAULT_wxUSE_MINIFRAME
=yes
2306 DEFAULT_wxUSE_HTML
=yes
2307 DEFAULT_wxUSE_FILESYSTEM
=yes
2308 DEFAULT_wxUSE_FS_INET
=yes
2309 DEFAULT_wxUSE_FS_ZIP
=yes
2310 DEFAULT_wxUSE_BUSYINFO
=yes
2311 DEFAULT_wxUSE_ZIPSTREAM
=yes
2312 DEFAULT_wxUSE_GZSTREAM
=yes
2313 DEFAULT_wxUSE_VALIDATORS
=yes
2315 DEFAULT_wxUSE_ACCEL
=yes
2316 DEFAULT_wxUSE_BUTTON
=yes
2317 DEFAULT_wxUSE_BMPBUTTON
=yes
2318 DEFAULT_wxUSE_CALCTRL
=yes
2319 DEFAULT_wxUSE_CARET
=yes
2320 DEFAULT_wxUSE_CHECKBOX
=yes
2321 DEFAULT_wxUSE_CHECKLST
=yes
2322 DEFAULT_wxUSE_CHOICE
=yes
2323 DEFAULT_wxUSE_COMBOBOX
=yes
2324 DEFAULT_wxUSE_DISPLAY
=no
2325 DEFAULT_wxUSE_GAUGE
=yes
2326 DEFAULT_wxUSE_GRID
=yes
2327 DEFAULT_wxUSE_IMAGLIST
=yes
2328 DEFAULT_wxUSE_LISTBOOK
=yes
2329 DEFAULT_wxUSE_LISTBOX
=yes
2330 DEFAULT_wxUSE_LISTCTRL
=yes
2331 DEFAULT_wxUSE_NOTEBOOK
=yes
2332 DEFAULT_wxUSE_RADIOBOX
=yes
2333 DEFAULT_wxUSE_RADIOBTN
=yes
2334 DEFAULT_wxUSE_SASH
=yes
2335 DEFAULT_wxUSE_SCROLLBAR
=yes
2336 DEFAULT_wxUSE_SLIDER
=yes
2337 DEFAULT_wxUSE_SPINBTN
=yes
2338 DEFAULT_wxUSE_SPINCTRL
=yes
2339 DEFAULT_wxUSE_SPLITTER
=yes
2340 DEFAULT_wxUSE_STATBMP
=yes
2341 DEFAULT_wxUSE_STATBOX
=yes
2342 DEFAULT_wxUSE_STATLINE
=yes
2343 DEFAULT_wxUSE_STATTEXT
=yes
2344 DEFAULT_wxUSE_STATUSBAR
=yes
2345 DEFAULT_wxUSE_TABDIALOG
=no
2346 DEFAULT_wxUSE_TEXTCTRL
=yes
2347 DEFAULT_wxUSE_TOGGLEBTN
=yes
2348 DEFAULT_wxUSE_TOOLBAR
=yes
2349 DEFAULT_wxUSE_TOOLBAR_NATIVE
=yes
2350 DEFAULT_wxUSE_TOOLBAR_SIMPLE
=yes
2351 DEFAULT_wxUSE_TREECTRL
=yes
2352 DEFAULT_wxUSE_POPUPWIN
=yes
2353 DEFAULT_wxUSE_TIPWINDOW
=yes
2355 DEFAULT_wxUSE_UNICODE
=no
2356 DEFAULT_wxUSE_UNICODE_MSLU
=yes
2357 DEFAULT_wxUSE_WCSRTOMBS
=no
2359 DEFAULT_wxUSE_PALETTE
=yes
2360 DEFAULT_wxUSE_IMAGE
=yes
2361 DEFAULT_wxUSE_GIF
=yes
2362 DEFAULT_wxUSE_PCX
=yes
2363 DEFAULT_wxUSE_IFF
=no
2364 DEFAULT_wxUSE_PNM
=yes
2365 DEFAULT_wxUSE_XPM
=yes
2366 DEFAULT_wxUSE_ICO_CUR
=yes
2367 DEFAULT_wxUSE_ACCESSIBILITY
=no
2369 DEFAULT_wxUSE_MONOLITHIC
=no
2370 DEFAULT_wxUSE_PLUGINS
=no
2371 DEFAULT_wxUSE_OFFICIAL_BUILD
=no
2376 for toolkit
in `echo $ALL_TOOLKITS`; do
2377 LINE
=`grep "wxUSE_$toolkit=" ${wx_arg_cache_file}`
2378 if test "x$LINE" != "x" ; then
2379 has_toolkit_in_cache
=1
2380 eval "DEFAULT_$LINE"
2381 eval "CACHE_$toolkit=1"
2388 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gui" >&5
2389 echo $ECHO_N "checking for --${enablestring:-enable}-gui... $ECHO_C" >&6
2391 # Check whether --enable-gui or --disable-gui was given.
2392 if test "${enable_gui+set}" = set; then
2393 enableval
="$enable_gui"
2395 if test "$enableval" = yes; then
2396 ac_cv_use_gui
='wxUSE_GUI=yes'
2398 ac_cv_use_gui
='wxUSE_GUI=no'
2403 LINE
=`grep "wxUSE_GUI" ${wx_arg_cache_file}`
2404 if test "x$LINE" != x
; then
2405 eval "DEFAULT_$LINE"
2410 ac_cv_use_gui
='wxUSE_GUI='$DEFAULT_wxUSE_GUI
2414 eval "$ac_cv_use_gui"
2415 if test "$no_cache" != 1; then
2416 echo $ac_cv_use_gui >> ${wx_arg_cache_file}.tmp
2419 if test "$wxUSE_GUI" = yes; then
2420 echo "$as_me:$LINENO: result: yes" >&5
2421 echo "${ECHO_T}yes" >&6
2423 echo "$as_me:$LINENO: result: no" >&5
2424 echo "${ECHO_T}no" >&6
2429 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-monolithic" >&5
2430 echo $ECHO_N "checking for --${enablestring:-enable}-monolithic... $ECHO_C" >&6
2432 # Check whether --enable-monolithic or --disable-monolithic was given.
2433 if test "${enable_monolithic+set}" = set; then
2434 enableval
="$enable_monolithic"
2436 if test "$enableval" = yes; then
2437 ac_cv_use_monolithic
='wxUSE_MONOLITHIC=yes'
2439 ac_cv_use_monolithic
='wxUSE_MONOLITHIC=no'
2444 LINE
=`grep "wxUSE_MONOLITHIC" ${wx_arg_cache_file}`
2445 if test "x$LINE" != x
; then
2446 eval "DEFAULT_$LINE"
2451 ac_cv_use_monolithic
='wxUSE_MONOLITHIC='$DEFAULT_wxUSE_MONOLITHIC
2455 eval "$ac_cv_use_monolithic"
2456 if test "$no_cache" != 1; then
2457 echo $ac_cv_use_monolithic >> ${wx_arg_cache_file}.tmp
2460 if test "$wxUSE_MONOLITHIC" = yes; then
2461 echo "$as_me:$LINENO: result: yes" >&5
2462 echo "${ECHO_T}yes" >&6
2464 echo "$as_me:$LINENO: result: no" >&5
2465 echo "${ECHO_T}no" >&6
2470 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-plugins" >&5
2471 echo $ECHO_N "checking for --${enablestring:-enable}-plugins... $ECHO_C" >&6
2473 # Check whether --enable-plugins or --disable-plugins was given.
2474 if test "${enable_plugins+set}" = set; then
2475 enableval
="$enable_plugins"
2477 if test "$enableval" = yes; then
2478 ac_cv_use_plugins
='wxUSE_PLUGINS=yes'
2480 ac_cv_use_plugins
='wxUSE_PLUGINS=no'
2485 LINE
=`grep "wxUSE_PLUGINS" ${wx_arg_cache_file}`
2486 if test "x$LINE" != x
; then
2487 eval "DEFAULT_$LINE"
2492 ac_cv_use_plugins
='wxUSE_PLUGINS='$DEFAULT_wxUSE_PLUGINS
2496 eval "$ac_cv_use_plugins"
2497 if test "$no_cache" != 1; then
2498 echo $ac_cv_use_plugins >> ${wx_arg_cache_file}.tmp
2501 if test "$wxUSE_PLUGINS" = yes; then
2502 echo "$as_me:$LINENO: result: yes" >&5
2503 echo "${ECHO_T}yes" >&6
2505 echo "$as_me:$LINENO: result: no" >&5
2506 echo "${ECHO_T}no" >&6
2510 if test "$wxUSE_GUI" = "yes"; then
2514 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-universal" >&5
2515 echo $ECHO_N "checking for --${enablestring:-enable}-universal... $ECHO_C" >&6
2517 # Check whether --enable-universal or --disable-universal was given.
2518 if test "${enable_universal+set}" = set; then
2519 enableval
="$enable_universal"
2521 if test "$enableval" = yes; then
2522 ac_cv_use_universal
='wxUSE_UNIVERSAL=yes'
2524 ac_cv_use_universal
='wxUSE_UNIVERSAL=no'
2529 LINE
=`grep "wxUSE_UNIVERSAL" ${wx_arg_cache_file}`
2530 if test "x$LINE" != x
; then
2531 eval "DEFAULT_$LINE"
2536 ac_cv_use_universal
='wxUSE_UNIVERSAL='$DEFAULT_wxUSE_UNIVERSAL
2540 eval "$ac_cv_use_universal"
2541 if test "$no_cache" != 1; then
2542 echo $ac_cv_use_universal >> ${wx_arg_cache_file}.tmp
2545 if test "$wxUSE_UNIVERSAL" = yes; then
2546 echo "$as_me:$LINENO: result: yes" >&5
2547 echo "${ECHO_T}yes" >&6
2549 echo "$as_me:$LINENO: result: no" >&5
2550 echo "${ECHO_T}no" >&6
2554 # Check whether --with-gtk or --without-gtk was given.
2555 if test "${with_gtk+set}" = set; then
2557 wxUSE_GTK
="$withval" CACHE_GTK
=1 TOOLKIT_GIVEN
=1
2560 # Check whether --with-motif or --without-motif was given.
2561 if test "${with_motif+set}" = set; then
2562 withval
="$with_motif"
2563 wxUSE_MOTIF
="$withval" CACHE_MOTIF
=1 TOOLKIT_GIVEN
=1
2566 # Check whether --with-mac or --without-mac was given.
2567 if test "${with_mac+set}" = set; then
2569 wxUSE_MAC
="$withval" TOOLKIT_GIVEN
=1
2572 # Check whether --with-cocoa or --without-cocoa was given.
2573 if test "${with_cocoa+set}" = set; then
2574 withval
="$with_cocoa"
2575 wxUSE_COCOA
="$withval" TOOLKIT_GIVEN
=1
2578 # Check whether --with-wine or --without-wine was given.
2579 if test "${with_wine+set}" = set; then
2580 withval
="$with_wine"
2581 wxUSE_WINE
="$withval" CACHE_WINE
=1
2584 # Check whether --with-msw or --without-msw was given.
2585 if test "${with_msw+set}" = set; then
2587 wxUSE_MSW
="$withval" CACHE_MSW
=1 TOOLKIT_GIVEN
=1
2590 # Check whether --with-pm or --without-pm was given.
2591 if test "${with_pm+set}" = set; then
2593 wxUSE_PM
="$withval" CACHE_PM
=1 TOOLKIT_GIVEN
=1
2596 # Check whether --with-mgl or --without-mgl was given.
2597 if test "${with_mgl+set}" = set; then
2599 wxUSE_MGL
="$withval" wxUSE_UNIVERSAL
="yes" CACHE_MGL
=1 TOOLKIT_GIVEN
=1
2602 # Check whether --with-microwin or --without-microwin was given.
2603 if test "${with_microwin+set}" = set; then
2604 withval
="$with_microwin"
2605 wxUSE_MICROWIN
="$withval" CACHE_MICROWIN
=1 TOOLKIT_GIVEN
=1
2608 # Check whether --with-x11 or --without-x11 was given.
2609 if test "${with_x11+set}" = set; then
2611 wxUSE_X11
="$withval" wxUSE_UNIVERSAL
="yes" CACHE_X11
=1 TOOLKIT_GIVEN
=1
2615 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-nanox" >&5
2616 echo $ECHO_N "checking for --${enablestring:-enable}-nanox... $ECHO_C" >&6
2618 # Check whether --enable-nanox or --disable-nanox was given.
2619 if test "${enable_nanox+set}" = set; then
2620 enableval
="$enable_nanox"
2622 if test "$enableval" = yes; then
2623 ac_cv_use_nanox
='wxUSE_NANOX=yes'
2625 ac_cv_use_nanox
='wxUSE_NANOX=no'
2630 LINE
=`grep "wxUSE_NANOX" ${wx_arg_cache_file}`
2631 if test "x$LINE" != x
; then
2632 eval "DEFAULT_$LINE"
2637 ac_cv_use_nanox
='wxUSE_NANOX='$DEFAULT_wxUSE_NANOX
2641 eval "$ac_cv_use_nanox"
2642 if test "$no_cache" != 1; then
2643 echo $ac_cv_use_nanox >> ${wx_arg_cache_file}.tmp
2646 if test "$wxUSE_NANOX" = yes; then
2647 echo "$as_me:$LINENO: result: yes" >&5
2648 echo "${ECHO_T}yes" >&6
2650 echo "$as_me:$LINENO: result: no" >&5
2651 echo "${ECHO_T}no" >&6
2657 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gtk2" >&5
2658 echo $ECHO_N "checking for --${enablestring:-enable}-gtk2... $ECHO_C" >&6
2660 # Check whether --enable-gtk2 or --disable-gtk2 was given.
2661 if test "${enable_gtk2+set}" = set; then
2662 enableval
="$enable_gtk2"
2664 if test "$enableval" = yes; then
2665 ac_cv_use_gtk2
='wxUSE_GTK2=yes'
2667 ac_cv_use_gtk2
='wxUSE_GTK2=no'
2672 LINE
=`grep "wxUSE_GTK2" ${wx_arg_cache_file}`
2673 if test "x$LINE" != x
; then
2674 eval "DEFAULT_$LINE"
2679 ac_cv_use_gtk2
='wxUSE_GTK2='$DEFAULT_wxUSE_GTK2
2683 eval "$ac_cv_use_gtk2"
2684 if test "$no_cache" != 1; then
2685 echo $ac_cv_use_gtk2 >> ${wx_arg_cache_file}.tmp
2688 if test "$wxUSE_GTK2" = yes; then
2689 echo "$as_me:$LINENO: result: yes" >&5
2690 echo "${ECHO_T}yes" >&6
2692 echo "$as_me:$LINENO: result: no" >&5
2693 echo "${ECHO_T}no" >&6
2698 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gpe" >&5
2699 echo $ECHO_N "checking for --${enablestring:-enable}-gpe... $ECHO_C" >&6
2701 # Check whether --enable-gpe or --disable-gpe was given.
2702 if test "${enable_gpe+set}" = set; then
2703 enableval
="$enable_gpe"
2705 if test "$enableval" = yes; then
2706 ac_cv_use_gpe
='wxUSE_GPE=yes'
2708 ac_cv_use_gpe
='wxUSE_GPE=no'
2713 LINE
=`grep "wxUSE_GPE" ${wx_arg_cache_file}`
2714 if test "x$LINE" != x
; then
2715 eval "DEFAULT_$LINE"
2720 ac_cv_use_gpe
='wxUSE_GPE='$DEFAULT_wxUSE_GPE
2724 eval "$ac_cv_use_gpe"
2725 if test "$no_cache" != 1; then
2726 echo $ac_cv_use_gpe >> ${wx_arg_cache_file}.tmp
2729 if test "$wxUSE_GPE" = yes; then
2730 echo "$as_me:$LINENO: result: yes" >&5
2731 echo "${ECHO_T}yes" >&6
2733 echo "$as_me:$LINENO: result: no" >&5
2734 echo "${ECHO_T}no" >&6
2739 echo "$as_me:$LINENO: checking for --with-libpng" >&5
2740 echo $ECHO_N "checking for --with-libpng... $ECHO_C" >&6
2743 # Check whether --with-libpng or --without-libpng was given.
2744 if test "${with_libpng+set}" = set; then
2745 withval
="$with_libpng"
2747 if test "$withval" = yes; then
2748 ac_cv_use_libpng
='wxUSE_LIBPNG=yes'
2749 elif test "$withval" = no
; then
2750 ac_cv_use_libpng
='wxUSE_LIBPNG=no'
2751 elif test "$withval" = sys
; then
2752 ac_cv_use_libpng
='wxUSE_LIBPNG=sys'
2753 elif test "$withval" = builtin; then
2754 ac_cv_use_libpng
='wxUSE_LIBPNG=builtin'
2756 { { echo "$as_me:$LINENO: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&5
2757 echo "$as_me: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&2;}
2758 { (exit 1); exit 1; }; }
2763 LINE
=`grep "wxUSE_LIBPNG" ${wx_arg_cache_file}`
2764 if test "x$LINE" != x
; then
2765 eval "DEFAULT_$LINE"
2770 ac_cv_use_libpng
='wxUSE_LIBPNG='$DEFAULT_wxUSE_LIBPNG
2774 eval "$ac_cv_use_libpng"
2775 if test "$no_cache" != 1; then
2776 echo $ac_cv_use_libpng >> ${wx_arg_cache_file}.tmp
2779 if test "$wxUSE_LIBPNG" = yes; then
2780 echo "$as_me:$LINENO: result: yes" >&5
2781 echo "${ECHO_T}yes" >&6
2782 elif test "$wxUSE_LIBPNG" = no
; then
2783 echo "$as_me:$LINENO: result: no" >&5
2784 echo "${ECHO_T}no" >&6
2785 elif test "$wxUSE_LIBPNG" = sys
; then
2786 echo "$as_me:$LINENO: result: system version" >&5
2787 echo "${ECHO_T}system version" >&6
2788 elif test "$wxUSE_LIBPNG" = builtin; then
2789 echo "$as_me:$LINENO: result: builtin version" >&5
2790 echo "${ECHO_T}builtin version" >&6
2792 { { echo "$as_me:$LINENO: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&5
2793 echo "$as_me: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&2;}
2794 { (exit 1); exit 1; }; }
2798 echo "$as_me:$LINENO: checking for --with-libjpeg" >&5
2799 echo $ECHO_N "checking for --with-libjpeg... $ECHO_C" >&6
2802 # Check whether --with-libjpeg or --without-libjpeg was given.
2803 if test "${with_libjpeg+set}" = set; then
2804 withval
="$with_libjpeg"
2806 if test "$withval" = yes; then
2807 ac_cv_use_libjpeg
='wxUSE_LIBJPEG=yes'
2808 elif test "$withval" = no
; then
2809 ac_cv_use_libjpeg
='wxUSE_LIBJPEG=no'
2810 elif test "$withval" = sys
; then
2811 ac_cv_use_libjpeg
='wxUSE_LIBJPEG=sys'
2812 elif test "$withval" = builtin; then
2813 ac_cv_use_libjpeg
='wxUSE_LIBJPEG=builtin'
2815 { { echo "$as_me:$LINENO: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&5
2816 echo "$as_me: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&2;}
2817 { (exit 1); exit 1; }; }
2822 LINE
=`grep "wxUSE_LIBJPEG" ${wx_arg_cache_file}`
2823 if test "x$LINE" != x
; then
2824 eval "DEFAULT_$LINE"
2829 ac_cv_use_libjpeg
='wxUSE_LIBJPEG='$DEFAULT_wxUSE_LIBJPEG
2833 eval "$ac_cv_use_libjpeg"
2834 if test "$no_cache" != 1; then
2835 echo $ac_cv_use_libjpeg >> ${wx_arg_cache_file}.tmp
2838 if test "$wxUSE_LIBJPEG" = yes; then
2839 echo "$as_me:$LINENO: result: yes" >&5
2840 echo "${ECHO_T}yes" >&6
2841 elif test "$wxUSE_LIBJPEG" = no
; then
2842 echo "$as_me:$LINENO: result: no" >&5
2843 echo "${ECHO_T}no" >&6
2844 elif test "$wxUSE_LIBJPEG" = sys
; then
2845 echo "$as_me:$LINENO: result: system version" >&5
2846 echo "${ECHO_T}system version" >&6
2847 elif test "$wxUSE_LIBJPEG" = builtin; then
2848 echo "$as_me:$LINENO: result: builtin version" >&5
2849 echo "${ECHO_T}builtin version" >&6
2851 { { echo "$as_me:$LINENO: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&5
2852 echo "$as_me: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&2;}
2853 { (exit 1); exit 1; }; }
2857 echo "$as_me:$LINENO: checking for --with-libtiff" >&5
2858 echo $ECHO_N "checking for --with-libtiff... $ECHO_C" >&6
2861 # Check whether --with-libtiff or --without-libtiff was given.
2862 if test "${with_libtiff+set}" = set; then
2863 withval
="$with_libtiff"
2865 if test "$withval" = yes; then
2866 ac_cv_use_libtiff
='wxUSE_LIBTIFF=yes'
2867 elif test "$withval" = no
; then
2868 ac_cv_use_libtiff
='wxUSE_LIBTIFF=no'
2869 elif test "$withval" = sys
; then
2870 ac_cv_use_libtiff
='wxUSE_LIBTIFF=sys'
2871 elif test "$withval" = builtin; then
2872 ac_cv_use_libtiff
='wxUSE_LIBTIFF=builtin'
2874 { { echo "$as_me:$LINENO: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&5
2875 echo "$as_me: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&2;}
2876 { (exit 1); exit 1; }; }
2881 LINE
=`grep "wxUSE_LIBTIFF" ${wx_arg_cache_file}`
2882 if test "x$LINE" != x
; then
2883 eval "DEFAULT_$LINE"
2888 ac_cv_use_libtiff
='wxUSE_LIBTIFF='$DEFAULT_wxUSE_LIBTIFF
2892 eval "$ac_cv_use_libtiff"
2893 if test "$no_cache" != 1; then
2894 echo $ac_cv_use_libtiff >> ${wx_arg_cache_file}.tmp
2897 if test "$wxUSE_LIBTIFF" = yes; then
2898 echo "$as_me:$LINENO: result: yes" >&5
2899 echo "${ECHO_T}yes" >&6
2900 elif test "$wxUSE_LIBTIFF" = no
; then
2901 echo "$as_me:$LINENO: result: no" >&5
2902 echo "${ECHO_T}no" >&6
2903 elif test "$wxUSE_LIBTIFF" = sys
; then
2904 echo "$as_me:$LINENO: result: system version" >&5
2905 echo "${ECHO_T}system version" >&6
2906 elif test "$wxUSE_LIBTIFF" = builtin; then
2907 echo "$as_me:$LINENO: result: builtin version" >&5
2908 echo "${ECHO_T}builtin version" >&6
2910 { { echo "$as_me:$LINENO: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&5
2911 echo "$as_me: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&2;}
2912 { (exit 1); exit 1; }; }
2916 echo "$as_me:$LINENO: checking for --with-libxpm" >&5
2917 echo $ECHO_N "checking for --with-libxpm... $ECHO_C" >&6
2920 # Check whether --with-libxpm or --without-libxpm was given.
2921 if test "${with_libxpm+set}" = set; then
2922 withval
="$with_libxpm"
2924 if test "$withval" = yes; then
2925 ac_cv_use_libxpm
='wxUSE_LIBXPM=yes'
2926 elif test "$withval" = no
; then
2927 ac_cv_use_libxpm
='wxUSE_LIBXPM=no'
2928 elif test "$withval" = sys
; then
2929 ac_cv_use_libxpm
='wxUSE_LIBXPM=sys'
2930 elif test "$withval" = builtin; then
2931 ac_cv_use_libxpm
='wxUSE_LIBXPM=builtin'
2933 { { echo "$as_me:$LINENO: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&5
2934 echo "$as_me: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&2;}
2935 { (exit 1); exit 1; }; }
2940 LINE
=`grep "wxUSE_LIBXPM" ${wx_arg_cache_file}`
2941 if test "x$LINE" != x
; then
2942 eval "DEFAULT_$LINE"
2947 ac_cv_use_libxpm
='wxUSE_LIBXPM='$DEFAULT_wxUSE_LIBXPM
2951 eval "$ac_cv_use_libxpm"
2952 if test "$no_cache" != 1; then
2953 echo $ac_cv_use_libxpm >> ${wx_arg_cache_file}.tmp
2956 if test "$wxUSE_LIBXPM" = yes; then
2957 echo "$as_me:$LINENO: result: yes" >&5
2958 echo "${ECHO_T}yes" >&6
2959 elif test "$wxUSE_LIBXPM" = no
; then
2960 echo "$as_me:$LINENO: result: no" >&5
2961 echo "${ECHO_T}no" >&6
2962 elif test "$wxUSE_LIBXPM" = sys
; then
2963 echo "$as_me:$LINENO: result: system version" >&5
2964 echo "${ECHO_T}system version" >&6
2965 elif test "$wxUSE_LIBXPM" = builtin; then
2966 echo "$as_me:$LINENO: result: builtin version" >&5
2967 echo "${ECHO_T}builtin version" >&6
2969 { { echo "$as_me:$LINENO: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&5
2970 echo "$as_me: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&2;}
2971 { (exit 1); exit 1; }; }
2975 echo "$as_me:$LINENO: checking for --with-libmspack" >&5
2976 echo $ECHO_N "checking for --with-libmspack... $ECHO_C" >&6
2979 # Check whether --with-libmspack or --without-libmspack was given.
2980 if test "${with_libmspack+set}" = set; then
2981 withval
="$with_libmspack"
2983 if test "$withval" = yes; then
2984 ac_cv_use_libmspack
='wxUSE_LIBMSPACK=yes'
2986 ac_cv_use_libmspack
='wxUSE_LIBMSPACK=no'
2991 LINE
=`grep "wxUSE_LIBMSPACK" ${wx_arg_cache_file}`
2992 if test "x$LINE" != x
; then
2993 eval "DEFAULT_$LINE"
2998 ac_cv_use_libmspack
='wxUSE_LIBMSPACK='$DEFAULT_wxUSE_LIBMSPACK
3002 eval "$ac_cv_use_libmspack"
3003 if test "$no_cache" != 1; then
3004 echo $ac_cv_use_libmspack >> ${wx_arg_cache_file}.tmp
3007 if test "$wxUSE_LIBMSPACK" = yes; then
3008 echo "$as_me:$LINENO: result: yes" >&5
3009 echo "${ECHO_T}yes" >&6
3011 echo "$as_me:$LINENO: result: no" >&5
3012 echo "${ECHO_T}no" >&6
3016 echo "$as_me:$LINENO: checking for --with-sdl" >&5
3017 echo $ECHO_N "checking for --with-sdl... $ECHO_C" >&6
3020 # Check whether --with-sdl or --without-sdl was given.
3021 if test "${with_sdl+set}" = set; then
3024 if test "$withval" = yes; then
3025 ac_cv_use_sdl
='wxUSE_LIBSDL=yes'
3027 ac_cv_use_sdl
='wxUSE_LIBSDL=no'
3032 LINE
=`grep "wxUSE_LIBSDL" ${wx_arg_cache_file}`
3033 if test "x$LINE" != x
; then
3034 eval "DEFAULT_$LINE"
3039 ac_cv_use_sdl
='wxUSE_LIBSDL='$DEFAULT_wxUSE_LIBSDL
3043 eval "$ac_cv_use_sdl"
3044 if test "$no_cache" != 1; then
3045 echo $ac_cv_use_sdl >> ${wx_arg_cache_file}.tmp
3048 if test "$wxUSE_LIBSDL" = yes; then
3049 echo "$as_me:$LINENO: result: yes" >&5
3050 echo "${ECHO_T}yes" >&6
3052 echo "$as_me:$LINENO: result: no" >&5
3053 echo "${ECHO_T}no" >&6
3057 echo "$as_me:$LINENO: checking for --with-opengl" >&5
3058 echo $ECHO_N "checking for --with-opengl... $ECHO_C" >&6
3061 # Check whether --with-opengl or --without-opengl was given.
3062 if test "${with_opengl+set}" = set; then
3063 withval
="$with_opengl"
3065 if test "$withval" = yes; then
3066 ac_cv_use_opengl
='wxUSE_OPENGL=yes'
3068 ac_cv_use_opengl
='wxUSE_OPENGL=no'
3073 LINE
=`grep "wxUSE_OPENGL" ${wx_arg_cache_file}`
3074 if test "x$LINE" != x
; then
3075 eval "DEFAULT_$LINE"
3080 ac_cv_use_opengl
='wxUSE_OPENGL='$DEFAULT_wxUSE_OPENGL
3084 eval "$ac_cv_use_opengl"
3085 if test "$no_cache" != 1; then
3086 echo $ac_cv_use_opengl >> ${wx_arg_cache_file}.tmp
3089 if test "$wxUSE_OPENGL" = yes; then
3090 echo "$as_me:$LINENO: result: yes" >&5
3091 echo "${ECHO_T}yes" >&6
3093 echo "$as_me:$LINENO: result: no" >&5
3094 echo "${ECHO_T}no" >&6
3101 echo "$as_me:$LINENO: checking for --with-dmalloc" >&5
3102 echo $ECHO_N "checking for --with-dmalloc... $ECHO_C" >&6
3105 # Check whether --with-dmalloc or --without-dmalloc was given.
3106 if test "${with_dmalloc+set}" = set; then
3107 withval
="$with_dmalloc"
3109 if test "$withval" = yes; then
3110 ac_cv_use_dmalloc
='wxUSE_DMALLOC=yes'
3112 ac_cv_use_dmalloc
='wxUSE_DMALLOC=no'
3117 LINE
=`grep "wxUSE_DMALLOC" ${wx_arg_cache_file}`
3118 if test "x$LINE" != x
; then
3119 eval "DEFAULT_$LINE"
3124 ac_cv_use_dmalloc
='wxUSE_DMALLOC='$DEFAULT_wxUSE_DMALLOC
3128 eval "$ac_cv_use_dmalloc"
3129 if test "$no_cache" != 1; then
3130 echo $ac_cv_use_dmalloc >> ${wx_arg_cache_file}.tmp
3133 if test "$wxUSE_DMALLOC" = yes; then
3134 echo "$as_me:$LINENO: result: yes" >&5
3135 echo "${ECHO_T}yes" >&6
3137 echo "$as_me:$LINENO: result: no" >&5
3138 echo "${ECHO_T}no" >&6
3142 echo "$as_me:$LINENO: checking for --with-regex" >&5
3143 echo $ECHO_N "checking for --with-regex... $ECHO_C" >&6
3146 # Check whether --with-regex or --without-regex was given.
3147 if test "${with_regex+set}" = set; then
3148 withval
="$with_regex"
3150 if test "$withval" = yes; then
3151 ac_cv_use_regex
='wxUSE_REGEX=yes'
3152 elif test "$withval" = no
; then
3153 ac_cv_use_regex
='wxUSE_REGEX=no'
3154 elif test "$withval" = sys
; then
3155 ac_cv_use_regex
='wxUSE_REGEX=sys'
3156 elif test "$withval" = builtin; then
3157 ac_cv_use_regex
='wxUSE_REGEX=builtin'
3159 { { echo "$as_me:$LINENO: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&5
3160 echo "$as_me: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&2;}
3161 { (exit 1); exit 1; }; }
3166 LINE
=`grep "wxUSE_REGEX" ${wx_arg_cache_file}`
3167 if test "x$LINE" != x
; then
3168 eval "DEFAULT_$LINE"
3173 ac_cv_use_regex
='wxUSE_REGEX='$DEFAULT_wxUSE_REGEX
3177 eval "$ac_cv_use_regex"
3178 if test "$no_cache" != 1; then
3179 echo $ac_cv_use_regex >> ${wx_arg_cache_file}.tmp
3182 if test "$wxUSE_REGEX" = yes; then
3183 echo "$as_me:$LINENO: result: yes" >&5
3184 echo "${ECHO_T}yes" >&6
3185 elif test "$wxUSE_REGEX" = no
; then
3186 echo "$as_me:$LINENO: result: no" >&5
3187 echo "${ECHO_T}no" >&6
3188 elif test "$wxUSE_REGEX" = sys
; then
3189 echo "$as_me:$LINENO: result: system version" >&5
3190 echo "${ECHO_T}system version" >&6
3191 elif test "$wxUSE_REGEX" = builtin; then
3192 echo "$as_me:$LINENO: result: builtin version" >&5
3193 echo "${ECHO_T}builtin version" >&6
3195 { { echo "$as_me:$LINENO: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&5
3196 echo "$as_me: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&2;}
3197 { (exit 1); exit 1; }; }
3201 echo "$as_me:$LINENO: checking for --with-zlib" >&5
3202 echo $ECHO_N "checking for --with-zlib... $ECHO_C" >&6
3205 # Check whether --with-zlib or --without-zlib was given.
3206 if test "${with_zlib+set}" = set; then
3207 withval
="$with_zlib"
3209 if test "$withval" = yes; then
3210 ac_cv_use_zlib
='wxUSE_ZLIB=yes'
3211 elif test "$withval" = no
; then
3212 ac_cv_use_zlib
='wxUSE_ZLIB=no'
3213 elif test "$withval" = sys
; then
3214 ac_cv_use_zlib
='wxUSE_ZLIB=sys'
3215 elif test "$withval" = builtin; then
3216 ac_cv_use_zlib
='wxUSE_ZLIB=builtin'
3218 { { echo "$as_me:$LINENO: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&5
3219 echo "$as_me: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&2;}
3220 { (exit 1); exit 1; }; }
3225 LINE
=`grep "wxUSE_ZLIB" ${wx_arg_cache_file}`
3226 if test "x$LINE" != x
; then
3227 eval "DEFAULT_$LINE"
3232 ac_cv_use_zlib
='wxUSE_ZLIB='$DEFAULT_wxUSE_ZLIB
3236 eval "$ac_cv_use_zlib"
3237 if test "$no_cache" != 1; then
3238 echo $ac_cv_use_zlib >> ${wx_arg_cache_file}.tmp
3241 if test "$wxUSE_ZLIB" = yes; then
3242 echo "$as_me:$LINENO: result: yes" >&5
3243 echo "${ECHO_T}yes" >&6
3244 elif test "$wxUSE_ZLIB" = no
; then
3245 echo "$as_me:$LINENO: result: no" >&5
3246 echo "${ECHO_T}no" >&6
3247 elif test "$wxUSE_ZLIB" = sys
; then
3248 echo "$as_me:$LINENO: result: system version" >&5
3249 echo "${ECHO_T}system version" >&6
3250 elif test "$wxUSE_ZLIB" = builtin; then
3251 echo "$as_me:$LINENO: result: builtin version" >&5
3252 echo "${ECHO_T}builtin version" >&6
3254 { { echo "$as_me:$LINENO: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&5
3255 echo "$as_me: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&2;}
3256 { (exit 1); exit 1; }; }
3260 echo "$as_me:$LINENO: checking for --with-odbc" >&5
3261 echo $ECHO_N "checking for --with-odbc... $ECHO_C" >&6
3264 # Check whether --with-odbc or --without-odbc was given.
3265 if test "${with_odbc+set}" = set; then
3266 withval
="$with_odbc"
3268 if test "$withval" = yes; then
3269 ac_cv_use_odbc
='wxUSE_ODBC=yes'
3270 elif test "$withval" = no
; then
3271 ac_cv_use_odbc
='wxUSE_ODBC=no'
3272 elif test "$withval" = sys
; then
3273 ac_cv_use_odbc
='wxUSE_ODBC=sys'
3274 elif test "$withval" = builtin; then
3275 ac_cv_use_odbc
='wxUSE_ODBC=builtin'
3277 { { echo "$as_me:$LINENO: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&5
3278 echo "$as_me: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&2;}
3279 { (exit 1); exit 1; }; }
3284 LINE
=`grep "wxUSE_ODBC" ${wx_arg_cache_file}`
3285 if test "x$LINE" != x
; then
3286 eval "DEFAULT_$LINE"
3291 ac_cv_use_odbc
='wxUSE_ODBC='$DEFAULT_wxUSE_ODBC
3295 eval "$ac_cv_use_odbc"
3296 if test "$no_cache" != 1; then
3297 echo $ac_cv_use_odbc >> ${wx_arg_cache_file}.tmp
3300 if test "$wxUSE_ODBC" = yes; then
3301 echo "$as_me:$LINENO: result: yes" >&5
3302 echo "${ECHO_T}yes" >&6
3303 elif test "$wxUSE_ODBC" = no
; then
3304 echo "$as_me:$LINENO: result: no" >&5
3305 echo "${ECHO_T}no" >&6
3306 elif test "$wxUSE_ODBC" = sys
; then
3307 echo "$as_me:$LINENO: result: system version" >&5
3308 echo "${ECHO_T}system version" >&6
3309 elif test "$wxUSE_ODBC" = builtin; then
3310 echo "$as_me:$LINENO: result: builtin version" >&5
3311 echo "${ECHO_T}builtin version" >&6
3313 { { echo "$as_me:$LINENO: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&5
3314 echo "$as_me: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&2;}
3315 { (exit 1); exit 1; }; }
3319 echo "$as_me:$LINENO: checking for --with-expat" >&5
3320 echo $ECHO_N "checking for --with-expat... $ECHO_C" >&6
3323 # Check whether --with-expat or --without-expat was given.
3324 if test "${with_expat+set}" = set; then
3325 withval
="$with_expat"
3327 if test "$withval" = yes; then
3328 ac_cv_use_expat
='wxUSE_EXPAT=yes'
3329 elif test "$withval" = no
; then
3330 ac_cv_use_expat
='wxUSE_EXPAT=no'
3331 elif test "$withval" = sys
; then
3332 ac_cv_use_expat
='wxUSE_EXPAT=sys'
3333 elif test "$withval" = builtin; then
3334 ac_cv_use_expat
='wxUSE_EXPAT=builtin'
3336 { { echo "$as_me:$LINENO: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&5
3337 echo "$as_me: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&2;}
3338 { (exit 1); exit 1; }; }
3343 LINE
=`grep "wxUSE_EXPAT" ${wx_arg_cache_file}`
3344 if test "x$LINE" != x
; then
3345 eval "DEFAULT_$LINE"
3350 ac_cv_use_expat
='wxUSE_EXPAT='$DEFAULT_wxUSE_EXPAT
3354 eval "$ac_cv_use_expat"
3355 if test "$no_cache" != 1; then
3356 echo $ac_cv_use_expat >> ${wx_arg_cache_file}.tmp
3359 if test "$wxUSE_EXPAT" = yes; then
3360 echo "$as_me:$LINENO: result: yes" >&5
3361 echo "${ECHO_T}yes" >&6
3362 elif test "$wxUSE_EXPAT" = no
; then
3363 echo "$as_me:$LINENO: result: no" >&5
3364 echo "${ECHO_T}no" >&6
3365 elif test "$wxUSE_EXPAT" = sys
; then
3366 echo "$as_me:$LINENO: result: system version" >&5
3367 echo "${ECHO_T}system version" >&6
3368 elif test "$wxUSE_EXPAT" = builtin; then
3369 echo "$as_me:$LINENO: result: builtin version" >&5
3370 echo "${ECHO_T}builtin version" >&6
3372 { { echo "$as_me:$LINENO: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&5
3373 echo "$as_me: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&2;}
3374 { (exit 1); exit 1; }; }
3381 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-shared" >&5
3382 echo $ECHO_N "checking for --${enablestring:-enable}-shared... $ECHO_C" >&6
3384 # Check whether --enable-shared or --disable-shared was given.
3385 if test "${enable_shared+set}" = set; then
3386 enableval
="$enable_shared"
3388 if test "$enableval" = yes; then
3389 ac_cv_use_shared
='wxUSE_SHARED=yes'
3391 ac_cv_use_shared
='wxUSE_SHARED=no'
3396 LINE
=`grep "wxUSE_SHARED" ${wx_arg_cache_file}`
3397 if test "x$LINE" != x
; then
3398 eval "DEFAULT_$LINE"
3403 ac_cv_use_shared
='wxUSE_SHARED='$DEFAULT_wxUSE_SHARED
3407 eval "$ac_cv_use_shared"
3408 if test "$no_cache" != 1; then
3409 echo $ac_cv_use_shared >> ${wx_arg_cache_file}.tmp
3412 if test "$wxUSE_SHARED" = yes; then
3413 echo "$as_me:$LINENO: result: yes" >&5
3414 echo "${ECHO_T}yes" >&6
3416 echo "$as_me:$LINENO: result: no" >&5
3417 echo "${ECHO_T}no" >&6
3422 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-optimise" >&5
3423 echo $ECHO_N "checking for --${enablestring:-enable}-optimise... $ECHO_C" >&6
3425 # Check whether --enable-optimise or --disable-optimise was given.
3426 if test "${enable_optimise+set}" = set; then
3427 enableval
="$enable_optimise"
3429 if test "$enableval" = yes; then
3430 ac_cv_use_optimise
='wxUSE_OPTIMISE=yes'
3432 ac_cv_use_optimise
='wxUSE_OPTIMISE=no'
3437 LINE
=`grep "wxUSE_OPTIMISE" ${wx_arg_cache_file}`
3438 if test "x$LINE" != x
; then
3439 eval "DEFAULT_$LINE"
3444 ac_cv_use_optimise
='wxUSE_OPTIMISE='$DEFAULT_wxUSE_OPTIMISE
3448 eval "$ac_cv_use_optimise"
3449 if test "$no_cache" != 1; then
3450 echo $ac_cv_use_optimise >> ${wx_arg_cache_file}.tmp
3453 if test "$wxUSE_OPTIMISE" = yes; then
3454 echo "$as_me:$LINENO: result: yes" >&5
3455 echo "${ECHO_T}yes" >&6
3457 echo "$as_me:$LINENO: result: no" >&5
3458 echo "${ECHO_T}no" >&6
3463 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug" >&5
3464 echo $ECHO_N "checking for --${enablestring:-enable}-debug... $ECHO_C" >&6
3466 # Check whether --enable-debug or --disable-debug was given.
3467 if test "${enable_debug+set}" = set; then
3468 enableval
="$enable_debug"
3470 if test "$enableval" = yes; then
3471 ac_cv_use_debug
='wxUSE_DEBUG=yes'
3473 ac_cv_use_debug
='wxUSE_DEBUG=no'
3478 LINE
=`grep "wxUSE_DEBUG" ${wx_arg_cache_file}`
3479 if test "x$LINE" != x
; then
3480 eval "DEFAULT_$LINE"
3485 ac_cv_use_debug
='wxUSE_DEBUG='$DEFAULT_wxUSE_DEBUG
3489 eval "$ac_cv_use_debug"
3490 if test "$no_cache" != 1; then
3491 echo $ac_cv_use_debug >> ${wx_arg_cache_file}.tmp
3494 if test "$wxUSE_DEBUG" = yes; then
3495 echo "$as_me:$LINENO: result: yes" >&5
3496 echo "${ECHO_T}yes" >&6
3498 echo "$as_me:$LINENO: result: no" >&5
3499 echo "${ECHO_T}no" >&6
3504 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stl" >&5
3505 echo $ECHO_N "checking for --${enablestring:-enable}-stl... $ECHO_C" >&6
3507 # Check whether --enable-stl or --disable-stl was given.
3508 if test "${enable_stl+set}" = set; then
3509 enableval
="$enable_stl"
3511 if test "$enableval" = yes; then
3512 ac_cv_use_stl
='wxUSE_STL=yes'
3514 ac_cv_use_stl
='wxUSE_STL=no'
3519 LINE
=`grep "wxUSE_STL" ${wx_arg_cache_file}`
3520 if test "x$LINE" != x
; then
3521 eval "DEFAULT_$LINE"
3526 ac_cv_use_stl
='wxUSE_STL='$DEFAULT_wxUSE_STL
3530 eval "$ac_cv_use_stl"
3531 if test "$no_cache" != 1; then
3532 echo $ac_cv_use_stl >> ${wx_arg_cache_file}.tmp
3535 if test "$wxUSE_STL" = yes; then
3536 echo "$as_me:$LINENO: result: yes" >&5
3537 echo "${ECHO_T}yes" >&6
3539 echo "$as_me:$LINENO: result: no" >&5
3540 echo "${ECHO_T}no" >&6
3544 if test "$wxUSE_DEBUG" = "yes"; then
3545 DEFAULT_wxUSE_DEBUG_FLAG
=yes
3546 DEFAULT_wxUSE_DEBUG_INFO
=yes
3548 elif test "$wxUSE_DEBUG" = "no"; then
3549 DEFAULT_wxUSE_DEBUG_FLAG
=no
3550 DEFAULT_wxUSE_DEBUG_INFO
=no
3556 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_flag" >&5
3557 echo $ECHO_N "checking for --${enablestring:-enable}-debug_flag... $ECHO_C" >&6
3559 # Check whether --enable-debug_flag or --disable-debug_flag was given.
3560 if test "${enable_debug_flag+set}" = set; then
3561 enableval
="$enable_debug_flag"
3563 if test "$enableval" = yes; then
3564 ac_cv_use_debug_flag
='wxUSE_DEBUG_FLAG=yes'
3566 ac_cv_use_debug_flag
='wxUSE_DEBUG_FLAG=no'
3571 LINE
=`grep "wxUSE_DEBUG_FLAG" ${wx_arg_cache_file}`
3572 if test "x$LINE" != x
; then
3573 eval "DEFAULT_$LINE"
3578 ac_cv_use_debug_flag
='wxUSE_DEBUG_FLAG='$DEFAULT_wxUSE_DEBUG_FLAG
3582 eval "$ac_cv_use_debug_flag"
3583 if test "$no_cache" != 1; then
3584 echo $ac_cv_use_debug_flag >> ${wx_arg_cache_file}.tmp
3587 if test "$wxUSE_DEBUG_FLAG" = yes; then
3588 echo "$as_me:$LINENO: result: yes" >&5
3589 echo "${ECHO_T}yes" >&6
3591 echo "$as_me:$LINENO: result: no" >&5
3592 echo "${ECHO_T}no" >&6
3597 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_info" >&5
3598 echo $ECHO_N "checking for --${enablestring:-enable}-debug_info... $ECHO_C" >&6
3600 # Check whether --enable-debug_info or --disable-debug_info was given.
3601 if test "${enable_debug_info+set}" = set; then
3602 enableval
="$enable_debug_info"
3604 if test "$enableval" = yes; then
3605 ac_cv_use_debug_info
='wxUSE_DEBUG_INFO=yes'
3607 ac_cv_use_debug_info
='wxUSE_DEBUG_INFO=no'
3612 LINE
=`grep "wxUSE_DEBUG_INFO" ${wx_arg_cache_file}`
3613 if test "x$LINE" != x
; then
3614 eval "DEFAULT_$LINE"
3619 ac_cv_use_debug_info
='wxUSE_DEBUG_INFO='$DEFAULT_wxUSE_DEBUG_INFO
3623 eval "$ac_cv_use_debug_info"
3624 if test "$no_cache" != 1; then
3625 echo $ac_cv_use_debug_info >> ${wx_arg_cache_file}.tmp
3628 if test "$wxUSE_DEBUG_INFO" = yes; then
3629 echo "$as_me:$LINENO: result: yes" >&5
3630 echo "${ECHO_T}yes" >&6
3632 echo "$as_me:$LINENO: result: no" >&5
3633 echo "${ECHO_T}no" >&6
3638 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_gdb" >&5
3639 echo $ECHO_N "checking for --${enablestring:-enable}-debug_gdb... $ECHO_C" >&6
3641 # Check whether --enable-debug_gdb or --disable-debug_gdb was given.
3642 if test "${enable_debug_gdb+set}" = set; then
3643 enableval
="$enable_debug_gdb"
3645 if test "$enableval" = yes; then
3646 ac_cv_use_debug_gdb
='wxUSE_DEBUG_GDB=yes'
3648 ac_cv_use_debug_gdb
='wxUSE_DEBUG_GDB=no'
3653 LINE
=`grep "wxUSE_DEBUG_GDB" ${wx_arg_cache_file}`
3654 if test "x$LINE" != x
; then
3655 eval "DEFAULT_$LINE"
3660 ac_cv_use_debug_gdb
='wxUSE_DEBUG_GDB='$DEFAULT_wxUSE_DEBUG_GDB
3664 eval "$ac_cv_use_debug_gdb"
3665 if test "$no_cache" != 1; then
3666 echo $ac_cv_use_debug_gdb >> ${wx_arg_cache_file}.tmp
3669 if test "$wxUSE_DEBUG_GDB" = yes; then
3670 echo "$as_me:$LINENO: result: yes" >&5
3671 echo "${ECHO_T}yes" >&6
3673 echo "$as_me:$LINENO: result: no" >&5
3674 echo "${ECHO_T}no" >&6
3679 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_cntxt" >&5
3680 echo $ECHO_N "checking for --${enablestring:-enable}-debug_cntxt... $ECHO_C" >&6
3682 # Check whether --enable-debug_cntxt or --disable-debug_cntxt was given.
3683 if test "${enable_debug_cntxt+set}" = set; then
3684 enableval
="$enable_debug_cntxt"
3686 if test "$enableval" = yes; then
3687 ac_cv_use_debug_cntxt
='wxUSE_DEBUG_CONTEXT=yes'
3689 ac_cv_use_debug_cntxt
='wxUSE_DEBUG_CONTEXT=no'
3694 LINE
=`grep "wxUSE_DEBUG_CONTEXT" ${wx_arg_cache_file}`
3695 if test "x$LINE" != x
; then
3696 eval "DEFAULT_$LINE"
3701 ac_cv_use_debug_cntxt
='wxUSE_DEBUG_CONTEXT='$DEFAULT_wxUSE_DEBUG_CONTEXT
3705 eval "$ac_cv_use_debug_cntxt"
3706 if test "$no_cache" != 1; then
3707 echo $ac_cv_use_debug_cntxt >> ${wx_arg_cache_file}.tmp
3710 if test "$wxUSE_DEBUG_CONTEXT" = yes; then
3711 echo "$as_me:$LINENO: result: yes" >&5
3712 echo "${ECHO_T}yes" >&6
3714 echo "$as_me:$LINENO: result: no" >&5
3715 echo "${ECHO_T}no" >&6
3720 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mem_tracing" >&5
3721 echo $ECHO_N "checking for --${enablestring:-enable}-mem_tracing... $ECHO_C" >&6
3723 # Check whether --enable-mem_tracing or --disable-mem_tracing was given.
3724 if test "${enable_mem_tracing+set}" = set; then
3725 enableval
="$enable_mem_tracing"
3727 if test "$enableval" = yes; then
3728 ac_cv_use_mem_tracing
='wxUSE_MEM_TRACING=yes'
3730 ac_cv_use_mem_tracing
='wxUSE_MEM_TRACING=no'
3735 LINE
=`grep "wxUSE_MEM_TRACING" ${wx_arg_cache_file}`
3736 if test "x$LINE" != x
; then
3737 eval "DEFAULT_$LINE"
3742 ac_cv_use_mem_tracing
='wxUSE_MEM_TRACING='$DEFAULT_wxUSE_MEM_TRACING
3746 eval "$ac_cv_use_mem_tracing"
3747 if test "$no_cache" != 1; then
3748 echo $ac_cv_use_mem_tracing >> ${wx_arg_cache_file}.tmp
3751 if test "$wxUSE_MEM_TRACING" = yes; then
3752 echo "$as_me:$LINENO: result: yes" >&5
3753 echo "${ECHO_T}yes" >&6
3755 echo "$as_me:$LINENO: result: no" >&5
3756 echo "${ECHO_T}no" >&6
3761 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-profile" >&5
3762 echo $ECHO_N "checking for --${enablestring:-enable}-profile... $ECHO_C" >&6
3764 # Check whether --enable-profile or --disable-profile was given.
3765 if test "${enable_profile+set}" = set; then
3766 enableval
="$enable_profile"
3768 if test "$enableval" = yes; then
3769 ac_cv_use_profile
='wxUSE_PROFILE=yes'
3771 ac_cv_use_profile
='wxUSE_PROFILE=no'
3776 LINE
=`grep "wxUSE_PROFILE" ${wx_arg_cache_file}`
3777 if test "x$LINE" != x
; then
3778 eval "DEFAULT_$LINE"
3783 ac_cv_use_profile
='wxUSE_PROFILE='$DEFAULT_wxUSE_PROFILE
3787 eval "$ac_cv_use_profile"
3788 if test "$no_cache" != 1; then
3789 echo $ac_cv_use_profile >> ${wx_arg_cache_file}.tmp
3792 if test "$wxUSE_PROFILE" = yes; then
3793 echo "$as_me:$LINENO: result: yes" >&5
3794 echo "${ECHO_T}yes" >&6
3796 echo "$as_me:$LINENO: result: no" >&5
3797 echo "${ECHO_T}no" >&6
3802 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_rtti" >&5
3803 echo $ECHO_N "checking for --${enablestring:-enable}-no_rtti... $ECHO_C" >&6
3805 # Check whether --enable-no_rtti or --disable-no_rtti was given.
3806 if test "${enable_no_rtti+set}" = set; then
3807 enableval
="$enable_no_rtti"
3809 if test "$enableval" = yes; then
3810 ac_cv_use_no_rtti
='wxUSE_NO_RTTI=yes'
3812 ac_cv_use_no_rtti
='wxUSE_NO_RTTI=no'
3817 LINE
=`grep "wxUSE_NO_RTTI" ${wx_arg_cache_file}`
3818 if test "x$LINE" != x
; then
3819 eval "DEFAULT_$LINE"
3824 ac_cv_use_no_rtti
='wxUSE_NO_RTTI='$DEFAULT_wxUSE_NO_RTTI
3828 eval "$ac_cv_use_no_rtti"
3829 if test "$no_cache" != 1; then
3830 echo $ac_cv_use_no_rtti >> ${wx_arg_cache_file}.tmp
3833 if test "$wxUSE_NO_RTTI" = yes; then
3834 echo "$as_me:$LINENO: result: yes" >&5
3835 echo "${ECHO_T}yes" >&6
3837 echo "$as_me:$LINENO: result: no" >&5
3838 echo "${ECHO_T}no" >&6
3843 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_exceptions" >&5
3844 echo $ECHO_N "checking for --${enablestring:-enable}-no_exceptions... $ECHO_C" >&6
3846 # Check whether --enable-no_exceptions or --disable-no_exceptions was given.
3847 if test "${enable_no_exceptions+set}" = set; then
3848 enableval
="$enable_no_exceptions"
3850 if test "$enableval" = yes; then
3851 ac_cv_use_no_exceptions
='wxUSE_NO_EXCEPTIONS=yes'
3853 ac_cv_use_no_exceptions
='wxUSE_NO_EXCEPTIONS=no'
3858 LINE
=`grep "wxUSE_NO_EXCEPTIONS" ${wx_arg_cache_file}`
3859 if test "x$LINE" != x
; then
3860 eval "DEFAULT_$LINE"
3865 ac_cv_use_no_exceptions
='wxUSE_NO_EXCEPTIONS='$DEFAULT_wxUSE_NO_EXCEPTIONS
3869 eval "$ac_cv_use_no_exceptions"
3870 if test "$no_cache" != 1; then
3871 echo $ac_cv_use_no_exceptions >> ${wx_arg_cache_file}.tmp
3874 if test "$wxUSE_NO_EXCEPTIONS" = yes; then
3875 echo "$as_me:$LINENO: result: yes" >&5
3876 echo "${ECHO_T}yes" >&6
3878 echo "$as_me:$LINENO: result: no" >&5
3879 echo "${ECHO_T}no" >&6
3884 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-permissive" >&5
3885 echo $ECHO_N "checking for --${enablestring:-enable}-permissive... $ECHO_C" >&6
3887 # Check whether --enable-permissive or --disable-permissive was given.
3888 if test "${enable_permissive+set}" = set; then
3889 enableval
="$enable_permissive"
3891 if test "$enableval" = yes; then
3892 ac_cv_use_permissive
='wxUSE_PERMISSIVE=yes'
3894 ac_cv_use_permissive
='wxUSE_PERMISSIVE=no'
3899 LINE
=`grep "wxUSE_PERMISSIVE" ${wx_arg_cache_file}`
3900 if test "x$LINE" != x
; then
3901 eval "DEFAULT_$LINE"
3906 ac_cv_use_permissive
='wxUSE_PERMISSIVE='$DEFAULT_wxUSE_PERMISSIVE
3910 eval "$ac_cv_use_permissive"
3911 if test "$no_cache" != 1; then
3912 echo $ac_cv_use_permissive >> ${wx_arg_cache_file}.tmp
3915 if test "$wxUSE_PERMISSIVE" = yes; then
3916 echo "$as_me:$LINENO: result: yes" >&5
3917 echo "${ECHO_T}yes" >&6
3919 echo "$as_me:$LINENO: result: no" >&5
3920 echo "${ECHO_T}no" >&6
3925 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_deps" >&5
3926 echo $ECHO_N "checking for --${enablestring:-enable}-no_deps... $ECHO_C" >&6
3928 # Check whether --enable-no_deps or --disable-no_deps was given.
3929 if test "${enable_no_deps+set}" = set; then
3930 enableval
="$enable_no_deps"
3932 if test "$enableval" = yes; then
3933 ac_cv_use_no_deps
='wxUSE_NO_DEPS=yes'
3935 ac_cv_use_no_deps
='wxUSE_NO_DEPS=no'
3940 LINE
=`grep "wxUSE_NO_DEPS" ${wx_arg_cache_file}`
3941 if test "x$LINE" != x
; then
3942 eval "DEFAULT_$LINE"
3947 ac_cv_use_no_deps
='wxUSE_NO_DEPS='$DEFAULT_wxUSE_NO_DEPS
3951 eval "$ac_cv_use_no_deps"
3952 if test "$no_cache" != 1; then
3953 echo $ac_cv_use_no_deps >> ${wx_arg_cache_file}.tmp
3956 if test "$wxUSE_NO_DEPS" = yes; then
3957 echo "$as_me:$LINENO: result: yes" >&5
3958 echo "${ECHO_T}yes" >&6
3960 echo "$as_me:$LINENO: result: no" >&5
3961 echo "${ECHO_T}no" >&6
3967 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-compat22" >&5
3968 echo $ECHO_N "checking for --${enablestring:-enable}-compat22... $ECHO_C" >&6
3970 # Check whether --enable-compat22 or --disable-compat22 was given.
3971 if test "${enable_compat22+set}" = set; then
3972 enableval
="$enable_compat22"
3974 if test "$enableval" = yes; then
3975 ac_cv_use_compat22
='WXWIN_COMPATIBILITY_2_2=yes'
3977 ac_cv_use_compat22
='WXWIN_COMPATIBILITY_2_2=no'
3982 LINE
=`grep "WXWIN_COMPATIBILITY_2_2" ${wx_arg_cache_file}`
3983 if test "x$LINE" != x
; then
3984 eval "DEFAULT_$LINE"
3989 ac_cv_use_compat22
='WXWIN_COMPATIBILITY_2_2='$DEFAULT_WXWIN_COMPATIBILITY_2_2
3993 eval "$ac_cv_use_compat22"
3994 if test "$no_cache" != 1; then
3995 echo $ac_cv_use_compat22 >> ${wx_arg_cache_file}.tmp
3998 if test "$WXWIN_COMPATIBILITY_2_2" = yes; then
3999 echo "$as_me:$LINENO: result: yes" >&5
4000 echo "${ECHO_T}yes" >&6
4002 echo "$as_me:$LINENO: result: no" >&5
4003 echo "${ECHO_T}no" >&6
4007 enablestring
=disable
4008 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-compat24" >&5
4009 echo $ECHO_N "checking for --${enablestring:-enable}-compat24... $ECHO_C" >&6
4011 # Check whether --enable-compat24 or --disable-compat24 was given.
4012 if test "${enable_compat24+set}" = set; then
4013 enableval
="$enable_compat24"
4015 if test "$enableval" = yes; then
4016 ac_cv_use_compat24
='WXWIN_COMPATIBILITY_2_4=yes'
4018 ac_cv_use_compat24
='WXWIN_COMPATIBILITY_2_4=no'
4023 LINE
=`grep "WXWIN_COMPATIBILITY_2_4" ${wx_arg_cache_file}`
4024 if test "x$LINE" != x
; then
4025 eval "DEFAULT_$LINE"
4030 ac_cv_use_compat24
='WXWIN_COMPATIBILITY_2_4='$DEFAULT_WXWIN_COMPATIBILITY_2_4
4034 eval "$ac_cv_use_compat24"
4035 if test "$no_cache" != 1; then
4036 echo $ac_cv_use_compat24 >> ${wx_arg_cache_file}.tmp
4039 if test "$WXWIN_COMPATIBILITY_2_4" = yes; then
4040 echo "$as_me:$LINENO: result: yes" >&5
4041 echo "${ECHO_T}yes" >&6
4043 echo "$as_me:$LINENO: result: no" >&5
4044 echo "${ECHO_T}no" >&6
4048 # Check whether --enable-rpath or --disable-rpath was given.
4049 if test "${enable_rpath+set}" = set; then
4050 enableval
="$enable_rpath"
4051 wxRPATH_DIR
="$enableval"
4054 if test "$wxRPATH_DIR" != "" -a "$wxRPATH_DIR" != "disable"; then
4055 WXCONFIG_RPATH
="-Wl,-rpath -Wl,$wxRPATH_DIR"
4062 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-intl" >&5
4063 echo $ECHO_N "checking for --${enablestring:-enable}-intl... $ECHO_C" >&6
4065 # Check whether --enable-intl or --disable-intl was given.
4066 if test "${enable_intl+set}" = set; then
4067 enableval
="$enable_intl"
4069 if test "$enableval" = yes; then
4070 ac_cv_use_intl
='wxUSE_INTL=yes'
4072 ac_cv_use_intl
='wxUSE_INTL=no'
4077 LINE
=`grep "wxUSE_INTL" ${wx_arg_cache_file}`
4078 if test "x$LINE" != x
; then
4079 eval "DEFAULT_$LINE"
4084 ac_cv_use_intl
='wxUSE_INTL='$DEFAULT_wxUSE_INTL
4088 eval "$ac_cv_use_intl"
4089 if test "$no_cache" != 1; then
4090 echo $ac_cv_use_intl >> ${wx_arg_cache_file}.tmp
4093 if test "$wxUSE_INTL" = yes; then
4094 echo "$as_me:$LINENO: result: yes" >&5
4095 echo "${ECHO_T}yes" >&6
4097 echo "$as_me:$LINENO: result: no" >&5
4098 echo "${ECHO_T}no" >&6
4103 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-config" >&5
4104 echo $ECHO_N "checking for --${enablestring:-enable}-config... $ECHO_C" >&6
4106 # Check whether --enable-config or --disable-config was given.
4107 if test "${enable_config+set}" = set; then
4108 enableval
="$enable_config"
4110 if test "$enableval" = yes; then
4111 ac_cv_use_config
='wxUSE_CONFIG=yes'
4113 ac_cv_use_config
='wxUSE_CONFIG=no'
4118 LINE
=`grep "wxUSE_CONFIG" ${wx_arg_cache_file}`
4119 if test "x$LINE" != x
; then
4120 eval "DEFAULT_$LINE"
4125 ac_cv_use_config
='wxUSE_CONFIG='$DEFAULT_wxUSE_CONFIG
4129 eval "$ac_cv_use_config"
4130 if test "$no_cache" != 1; then
4131 echo $ac_cv_use_config >> ${wx_arg_cache_file}.tmp
4134 if test "$wxUSE_CONFIG" = yes; then
4135 echo "$as_me:$LINENO: result: yes" >&5
4136 echo "${ECHO_T}yes" >&6
4138 echo "$as_me:$LINENO: result: no" >&5
4139 echo "${ECHO_T}no" >&6
4145 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocols" >&5
4146 echo $ECHO_N "checking for --${enablestring:-enable}-protocols... $ECHO_C" >&6
4148 # Check whether --enable-protocols or --disable-protocols was given.
4149 if test "${enable_protocols+set}" = set; then
4150 enableval
="$enable_protocols"
4152 if test "$enableval" = yes; then
4153 ac_cv_use_protocols
='wxUSE_PROTOCOL=yes'
4155 ac_cv_use_protocols
='wxUSE_PROTOCOL=no'
4160 LINE
=`grep "wxUSE_PROTOCOL" ${wx_arg_cache_file}`
4161 if test "x$LINE" != x
; then
4162 eval "DEFAULT_$LINE"
4167 ac_cv_use_protocols
='wxUSE_PROTOCOL='$DEFAULT_wxUSE_PROTOCOL
4171 eval "$ac_cv_use_protocols"
4172 if test "$no_cache" != 1; then
4173 echo $ac_cv_use_protocols >> ${wx_arg_cache_file}.tmp
4176 if test "$wxUSE_PROTOCOL" = yes; then
4177 echo "$as_me:$LINENO: result: yes" >&5
4178 echo "${ECHO_T}yes" >&6
4180 echo "$as_me:$LINENO: result: no" >&5
4181 echo "${ECHO_T}no" >&6
4186 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ftp" >&5
4187 echo $ECHO_N "checking for --${enablestring:-enable}-ftp... $ECHO_C" >&6
4189 # Check whether --enable-ftp or --disable-ftp was given.
4190 if test "${enable_ftp+set}" = set; then
4191 enableval
="$enable_ftp"
4193 if test "$enableval" = yes; then
4194 ac_cv_use_ftp
='wxUSE_PROTOCOL_FTP=yes'
4196 ac_cv_use_ftp
='wxUSE_PROTOCOL_FTP=no'
4201 LINE
=`grep "wxUSE_PROTOCOL_FTP" ${wx_arg_cache_file}`
4202 if test "x$LINE" != x
; then
4203 eval "DEFAULT_$LINE"
4208 ac_cv_use_ftp
='wxUSE_PROTOCOL_FTP='$DEFAULT_wxUSE_PROTOCOL_FTP
4212 eval "$ac_cv_use_ftp"
4213 if test "$no_cache" != 1; then
4214 echo $ac_cv_use_ftp >> ${wx_arg_cache_file}.tmp
4217 if test "$wxUSE_PROTOCOL_FTP" = yes; then
4218 echo "$as_me:$LINENO: result: yes" >&5
4219 echo "${ECHO_T}yes" >&6
4221 echo "$as_me:$LINENO: result: no" >&5
4222 echo "${ECHO_T}no" >&6
4227 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-http" >&5
4228 echo $ECHO_N "checking for --${enablestring:-enable}-http... $ECHO_C" >&6
4230 # Check whether --enable-http or --disable-http was given.
4231 if test "${enable_http+set}" = set; then
4232 enableval
="$enable_http"
4234 if test "$enableval" = yes; then
4235 ac_cv_use_http
='wxUSE_PROTOCOL_HTTP=yes'
4237 ac_cv_use_http
='wxUSE_PROTOCOL_HTTP=no'
4242 LINE
=`grep "wxUSE_PROTOCOL_HTTP" ${wx_arg_cache_file}`
4243 if test "x$LINE" != x
; then
4244 eval "DEFAULT_$LINE"
4249 ac_cv_use_http
='wxUSE_PROTOCOL_HTTP='$DEFAULT_wxUSE_PROTOCOL_HTTP
4253 eval "$ac_cv_use_http"
4254 if test "$no_cache" != 1; then
4255 echo $ac_cv_use_http >> ${wx_arg_cache_file}.tmp
4258 if test "$wxUSE_PROTOCOL_HTTP" = yes; then
4259 echo "$as_me:$LINENO: result: yes" >&5
4260 echo "${ECHO_T}yes" >&6
4262 echo "$as_me:$LINENO: result: no" >&5
4263 echo "${ECHO_T}no" >&6
4268 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fileproto" >&5
4269 echo $ECHO_N "checking for --${enablestring:-enable}-fileproto... $ECHO_C" >&6
4271 # Check whether --enable-fileproto or --disable-fileproto was given.
4272 if test "${enable_fileproto+set}" = set; then
4273 enableval
="$enable_fileproto"
4275 if test "$enableval" = yes; then
4276 ac_cv_use_fileproto
='wxUSE_PROTOCOL_FILE=yes'
4278 ac_cv_use_fileproto
='wxUSE_PROTOCOL_FILE=no'
4283 LINE
=`grep "wxUSE_PROTOCOL_FILE" ${wx_arg_cache_file}`
4284 if test "x$LINE" != x
; then
4285 eval "DEFAULT_$LINE"
4290 ac_cv_use_fileproto
='wxUSE_PROTOCOL_FILE='$DEFAULT_wxUSE_PROTOCOL_FILE
4294 eval "$ac_cv_use_fileproto"
4295 if test "$no_cache" != 1; then
4296 echo $ac_cv_use_fileproto >> ${wx_arg_cache_file}.tmp
4299 if test "$wxUSE_PROTOCOL_FILE" = yes; then
4300 echo "$as_me:$LINENO: result: yes" >&5
4301 echo "${ECHO_T}yes" >&6
4303 echo "$as_me:$LINENO: result: no" >&5
4304 echo "${ECHO_T}no" >&6
4309 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sockets" >&5
4310 echo $ECHO_N "checking for --${enablestring:-enable}-sockets... $ECHO_C" >&6
4312 # Check whether --enable-sockets or --disable-sockets was given.
4313 if test "${enable_sockets+set}" = set; then
4314 enableval
="$enable_sockets"
4316 if test "$enableval" = yes; then
4317 ac_cv_use_sockets
='wxUSE_SOCKETS=yes'
4319 ac_cv_use_sockets
='wxUSE_SOCKETS=no'
4324 LINE
=`grep "wxUSE_SOCKETS" ${wx_arg_cache_file}`
4325 if test "x$LINE" != x
; then
4326 eval "DEFAULT_$LINE"
4331 ac_cv_use_sockets
='wxUSE_SOCKETS='$DEFAULT_wxUSE_SOCKETS
4335 eval "$ac_cv_use_sockets"
4336 if test "$no_cache" != 1; then
4337 echo $ac_cv_use_sockets >> ${wx_arg_cache_file}.tmp
4340 if test "$wxUSE_SOCKETS" = yes; then
4341 echo "$as_me:$LINENO: result: yes" >&5
4342 echo "${ECHO_T}yes" >&6
4344 echo "$as_me:$LINENO: result: no" >&5
4345 echo "${ECHO_T}no" >&6
4350 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ole" >&5
4351 echo $ECHO_N "checking for --${enablestring:-enable}-ole... $ECHO_C" >&6
4353 # Check whether --enable-ole or --disable-ole was given.
4354 if test "${enable_ole+set}" = set; then
4355 enableval
="$enable_ole"
4357 if test "$enableval" = yes; then
4358 ac_cv_use_ole
='wxUSE_OLE=yes'
4360 ac_cv_use_ole
='wxUSE_OLE=no'
4365 LINE
=`grep "wxUSE_OLE" ${wx_arg_cache_file}`
4366 if test "x$LINE" != x
; then
4367 eval "DEFAULT_$LINE"
4372 ac_cv_use_ole
='wxUSE_OLE='$DEFAULT_wxUSE_OLE
4376 eval "$ac_cv_use_ole"
4377 if test "$no_cache" != 1; then
4378 echo $ac_cv_use_ole >> ${wx_arg_cache_file}.tmp
4381 if test "$wxUSE_OLE" = yes; then
4382 echo "$as_me:$LINENO: result: yes" >&5
4383 echo "${ECHO_T}yes" >&6
4385 echo "$as_me:$LINENO: result: no" >&5
4386 echo "${ECHO_T}no" >&6
4391 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dataobj" >&5
4392 echo $ECHO_N "checking for --${enablestring:-enable}-dataobj... $ECHO_C" >&6
4394 # Check whether --enable-dataobj or --disable-dataobj was given.
4395 if test "${enable_dataobj+set}" = set; then
4396 enableval
="$enable_dataobj"
4398 if test "$enableval" = yes; then
4399 ac_cv_use_dataobj
='wxUSE_DATAOBJ=yes'
4401 ac_cv_use_dataobj
='wxUSE_DATAOBJ=no'
4406 LINE
=`grep "wxUSE_DATAOBJ" ${wx_arg_cache_file}`
4407 if test "x$LINE" != x
; then
4408 eval "DEFAULT_$LINE"
4413 ac_cv_use_dataobj
='wxUSE_DATAOBJ='$DEFAULT_wxUSE_DATAOBJ
4417 eval "$ac_cv_use_dataobj"
4418 if test "$no_cache" != 1; then
4419 echo $ac_cv_use_dataobj >> ${wx_arg_cache_file}.tmp
4422 if test "$wxUSE_DATAOBJ" = yes; then
4423 echo "$as_me:$LINENO: result: yes" >&5
4424 echo "${ECHO_T}yes" >&6
4426 echo "$as_me:$LINENO: result: no" >&5
4427 echo "${ECHO_T}no" >&6
4433 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ipc" >&5
4434 echo $ECHO_N "checking for --${enablestring:-enable}-ipc... $ECHO_C" >&6
4436 # Check whether --enable-ipc or --disable-ipc was given.
4437 if test "${enable_ipc+set}" = set; then
4438 enableval
="$enable_ipc"
4440 if test "$enableval" = yes; then
4441 ac_cv_use_ipc
='wxUSE_IPC=yes'
4443 ac_cv_use_ipc
='wxUSE_IPC=no'
4448 LINE
=`grep "wxUSE_IPC" ${wx_arg_cache_file}`
4449 if test "x$LINE" != x
; then
4450 eval "DEFAULT_$LINE"
4455 ac_cv_use_ipc
='wxUSE_IPC='$DEFAULT_wxUSE_IPC
4459 eval "$ac_cv_use_ipc"
4460 if test "$no_cache" != 1; then
4461 echo $ac_cv_use_ipc >> ${wx_arg_cache_file}.tmp
4464 if test "$wxUSE_IPC" = yes; then
4465 echo "$as_me:$LINENO: result: yes" >&5
4466 echo "${ECHO_T}yes" >&6
4468 echo "$as_me:$LINENO: result: no" >&5
4469 echo "${ECHO_T}no" >&6
4475 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-apple_ieee" >&5
4476 echo $ECHO_N "checking for --${enablestring:-enable}-apple_ieee... $ECHO_C" >&6
4478 # Check whether --enable-apple_ieee or --disable-apple_ieee was given.
4479 if test "${enable_apple_ieee+set}" = set; then
4480 enableval
="$enable_apple_ieee"
4482 if test "$enableval" = yes; then
4483 ac_cv_use_apple_ieee
='wxUSE_APPLE_IEEE=yes'
4485 ac_cv_use_apple_ieee
='wxUSE_APPLE_IEEE=no'
4490 LINE
=`grep "wxUSE_APPLE_IEEE" ${wx_arg_cache_file}`
4491 if test "x$LINE" != x
; then
4492 eval "DEFAULT_$LINE"
4497 ac_cv_use_apple_ieee
='wxUSE_APPLE_IEEE='$DEFAULT_wxUSE_APPLE_IEEE
4501 eval "$ac_cv_use_apple_ieee"
4502 if test "$no_cache" != 1; then
4503 echo $ac_cv_use_apple_ieee >> ${wx_arg_cache_file}.tmp
4506 if test "$wxUSE_APPLE_IEEE" = yes; then
4507 echo "$as_me:$LINENO: result: yes" >&5
4508 echo "${ECHO_T}yes" >&6
4510 echo "$as_me:$LINENO: result: no" >&5
4511 echo "${ECHO_T}no" >&6
4516 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-catch_segvs" >&5
4517 echo $ECHO_N "checking for --${enablestring:-enable}-catch_segvs... $ECHO_C" >&6
4519 # Check whether --enable-catch_segvs or --disable-catch_segvs was given.
4520 if test "${enable_catch_segvs+set}" = set; then
4521 enableval
="$enable_catch_segvs"
4523 if test "$enableval" = yes; then
4524 ac_cv_use_catch_segvs
='wxUSE_ON_FATAL_EXCEPTION=yes'
4526 ac_cv_use_catch_segvs
='wxUSE_ON_FATAL_EXCEPTION=no'
4531 LINE
=`grep "wxUSE_ON_FATAL_EXCEPTION" ${wx_arg_cache_file}`
4532 if test "x$LINE" != x
; then
4533 eval "DEFAULT_$LINE"
4538 ac_cv_use_catch_segvs
='wxUSE_ON_FATAL_EXCEPTION='$DEFAULT_wxUSE_ON_FATAL_EXCEPTION
4542 eval "$ac_cv_use_catch_segvs"
4543 if test "$no_cache" != 1; then
4544 echo $ac_cv_use_catch_segvs >> ${wx_arg_cache_file}.tmp
4547 if test "$wxUSE_ON_FATAL_EXCEPTION" = yes; then
4548 echo "$as_me:$LINENO: result: yes" >&5
4549 echo "${ECHO_T}yes" >&6
4551 echo "$as_me:$LINENO: result: no" >&5
4552 echo "${ECHO_T}no" >&6
4557 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-cmdline" >&5
4558 echo $ECHO_N "checking for --${enablestring:-enable}-cmdline... $ECHO_C" >&6
4560 # Check whether --enable-cmdline or --disable-cmdline was given.
4561 if test "${enable_cmdline+set}" = set; then
4562 enableval
="$enable_cmdline"
4564 if test "$enableval" = yes; then
4565 ac_cv_use_cmdline
='wxUSE_CMDLINE_PARSER=yes'
4567 ac_cv_use_cmdline
='wxUSE_CMDLINE_PARSER=no'
4572 LINE
=`grep "wxUSE_CMDLINE_PARSER" ${wx_arg_cache_file}`
4573 if test "x$LINE" != x
; then
4574 eval "DEFAULT_$LINE"
4579 ac_cv_use_cmdline
='wxUSE_CMDLINE_PARSER='$DEFAULT_wxUSE_CMDLINE_PARSER
4583 eval "$ac_cv_use_cmdline"
4584 if test "$no_cache" != 1; then
4585 echo $ac_cv_use_cmdline >> ${wx_arg_cache_file}.tmp
4588 if test "$wxUSE_CMDLINE_PARSER" = yes; then
4589 echo "$as_me:$LINENO: result: yes" >&5
4590 echo "${ECHO_T}yes" >&6
4592 echo "$as_me:$LINENO: result: no" >&5
4593 echo "${ECHO_T}no" >&6
4598 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-datetime" >&5
4599 echo $ECHO_N "checking for --${enablestring:-enable}-datetime... $ECHO_C" >&6
4601 # Check whether --enable-datetime or --disable-datetime was given.
4602 if test "${enable_datetime+set}" = set; then
4603 enableval
="$enable_datetime"
4605 if test "$enableval" = yes; then
4606 ac_cv_use_datetime
='wxUSE_DATETIME=yes'
4608 ac_cv_use_datetime
='wxUSE_DATETIME=no'
4613 LINE
=`grep "wxUSE_DATETIME" ${wx_arg_cache_file}`
4614 if test "x$LINE" != x
; then
4615 eval "DEFAULT_$LINE"
4620 ac_cv_use_datetime
='wxUSE_DATETIME='$DEFAULT_wxUSE_DATETIME
4624 eval "$ac_cv_use_datetime"
4625 if test "$no_cache" != 1; then
4626 echo $ac_cv_use_datetime >> ${wx_arg_cache_file}.tmp
4629 if test "$wxUSE_DATETIME" = yes; then
4630 echo "$as_me:$LINENO: result: yes" >&5
4631 echo "${ECHO_T}yes" >&6
4633 echo "$as_me:$LINENO: result: no" >&5
4634 echo "${ECHO_T}no" >&6
4639 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dialupman" >&5
4640 echo $ECHO_N "checking for --${enablestring:-enable}-dialupman... $ECHO_C" >&6
4642 # Check whether --enable-dialupman or --disable-dialupman was given.
4643 if test "${enable_dialupman+set}" = set; then
4644 enableval
="$enable_dialupman"
4646 if test "$enableval" = yes; then
4647 ac_cv_use_dialupman
='wxUSE_DIALUP_MANAGER=yes'
4649 ac_cv_use_dialupman
='wxUSE_DIALUP_MANAGER=no'
4654 LINE
=`grep "wxUSE_DIALUP_MANAGER" ${wx_arg_cache_file}`
4655 if test "x$LINE" != x
; then
4656 eval "DEFAULT_$LINE"
4661 ac_cv_use_dialupman
='wxUSE_DIALUP_MANAGER='$DEFAULT_wxUSE_DIALUP_MANAGER
4665 eval "$ac_cv_use_dialupman"
4666 if test "$no_cache" != 1; then
4667 echo $ac_cv_use_dialupman >> ${wx_arg_cache_file}.tmp
4670 if test "$wxUSE_DIALUP_MANAGER" = yes; then
4671 echo "$as_me:$LINENO: result: yes" >&5
4672 echo "${ECHO_T}yes" >&6
4674 echo "$as_me:$LINENO: result: no" >&5
4675 echo "${ECHO_T}no" >&6
4680 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dynlib" >&5
4681 echo $ECHO_N "checking for --${enablestring:-enable}-dynlib... $ECHO_C" >&6
4683 # Check whether --enable-dynlib or --disable-dynlib was given.
4684 if test "${enable_dynlib+set}" = set; then
4685 enableval
="$enable_dynlib"
4687 if test "$enableval" = yes; then
4688 ac_cv_use_dynlib
='wxUSE_DYNLIB_CLASS=yes'
4690 ac_cv_use_dynlib
='wxUSE_DYNLIB_CLASS=no'
4695 LINE
=`grep "wxUSE_DYNLIB_CLASS" ${wx_arg_cache_file}`
4696 if test "x$LINE" != x
; then
4697 eval "DEFAULT_$LINE"
4702 ac_cv_use_dynlib
='wxUSE_DYNLIB_CLASS='$DEFAULT_wxUSE_DYNLIB_CLASS
4706 eval "$ac_cv_use_dynlib"
4707 if test "$no_cache" != 1; then
4708 echo $ac_cv_use_dynlib >> ${wx_arg_cache_file}.tmp
4711 if test "$wxUSE_DYNLIB_CLASS" = yes; then
4712 echo "$as_me:$LINENO: result: yes" >&5
4713 echo "${ECHO_T}yes" >&6
4715 echo "$as_me:$LINENO: result: no" >&5
4716 echo "${ECHO_T}no" >&6
4721 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dynamicloader" >&5
4722 echo $ECHO_N "checking for --${enablestring:-enable}-dynamicloader... $ECHO_C" >&6
4724 # Check whether --enable-dynamicloader or --disable-dynamicloader was given.
4725 if test "${enable_dynamicloader+set}" = set; then
4726 enableval
="$enable_dynamicloader"
4728 if test "$enableval" = yes; then
4729 ac_cv_use_dynamicloader
='wxUSE_DYNAMIC_LOADER=yes'
4731 ac_cv_use_dynamicloader
='wxUSE_DYNAMIC_LOADER=no'
4736 LINE
=`grep "wxUSE_DYNAMIC_LOADER" ${wx_arg_cache_file}`
4737 if test "x$LINE" != x
; then
4738 eval "DEFAULT_$LINE"
4743 ac_cv_use_dynamicloader
='wxUSE_DYNAMIC_LOADER='$DEFAULT_wxUSE_DYNAMIC_LOADER
4747 eval "$ac_cv_use_dynamicloader"
4748 if test "$no_cache" != 1; then
4749 echo $ac_cv_use_dynamicloader >> ${wx_arg_cache_file}.tmp
4752 if test "$wxUSE_DYNAMIC_LOADER" = yes; then
4753 echo "$as_me:$LINENO: result: yes" >&5
4754 echo "${ECHO_T}yes" >&6
4756 echo "$as_me:$LINENO: result: no" >&5
4757 echo "${ECHO_T}no" >&6
4762 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-exceptions" >&5
4763 echo $ECHO_N "checking for --${enablestring:-enable}-exceptions... $ECHO_C" >&6
4765 # Check whether --enable-exceptions or --disable-exceptions was given.
4766 if test "${enable_exceptions+set}" = set; then
4767 enableval
="$enable_exceptions"
4769 if test "$enableval" = yes; then
4770 ac_cv_use_exceptions
='wxUSE_EXCEPTIONS=yes'
4772 ac_cv_use_exceptions
='wxUSE_EXCEPTIONS=no'
4777 LINE
=`grep "wxUSE_EXCEPTIONS" ${wx_arg_cache_file}`
4778 if test "x$LINE" != x
; then
4779 eval "DEFAULT_$LINE"
4784 ac_cv_use_exceptions
='wxUSE_EXCEPTIONS='$DEFAULT_wxUSE_EXCEPTIONS
4788 eval "$ac_cv_use_exceptions"
4789 if test "$no_cache" != 1; then
4790 echo $ac_cv_use_exceptions >> ${wx_arg_cache_file}.tmp
4793 if test "$wxUSE_EXCEPTIONS" = yes; then
4794 echo "$as_me:$LINENO: result: yes" >&5
4795 echo "${ECHO_T}yes" >&6
4797 echo "$as_me:$LINENO: result: no" >&5
4798 echo "${ECHO_T}no" >&6
4803 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ffile" >&5
4804 echo $ECHO_N "checking for --${enablestring:-enable}-ffile... $ECHO_C" >&6
4806 # Check whether --enable-ffile or --disable-ffile was given.
4807 if test "${enable_ffile+set}" = set; then
4808 enableval
="$enable_ffile"
4810 if test "$enableval" = yes; then
4811 ac_cv_use_ffile
='wxUSE_FFILE=yes'
4813 ac_cv_use_ffile
='wxUSE_FFILE=no'
4818 LINE
=`grep "wxUSE_FFILE" ${wx_arg_cache_file}`
4819 if test "x$LINE" != x
; then
4820 eval "DEFAULT_$LINE"
4825 ac_cv_use_ffile
='wxUSE_FFILE='$DEFAULT_wxUSE_FFILE
4829 eval "$ac_cv_use_ffile"
4830 if test "$no_cache" != 1; then
4831 echo $ac_cv_use_ffile >> ${wx_arg_cache_file}.tmp
4834 if test "$wxUSE_FFILE" = yes; then
4835 echo "$as_me:$LINENO: result: yes" >&5
4836 echo "${ECHO_T}yes" >&6
4838 echo "$as_me:$LINENO: result: no" >&5
4839 echo "${ECHO_T}no" >&6
4844 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-file" >&5
4845 echo $ECHO_N "checking for --${enablestring:-enable}-file... $ECHO_C" >&6
4847 # Check whether --enable-file or --disable-file was given.
4848 if test "${enable_file+set}" = set; then
4849 enableval
="$enable_file"
4851 if test "$enableval" = yes; then
4852 ac_cv_use_file
='wxUSE_FILE=yes'
4854 ac_cv_use_file
='wxUSE_FILE=no'
4859 LINE
=`grep "wxUSE_FILE" ${wx_arg_cache_file}`
4860 if test "x$LINE" != x
; then
4861 eval "DEFAULT_$LINE"
4866 ac_cv_use_file
='wxUSE_FILE='$DEFAULT_wxUSE_FILE
4870 eval "$ac_cv_use_file"
4871 if test "$no_cache" != 1; then
4872 echo $ac_cv_use_file >> ${wx_arg_cache_file}.tmp
4875 if test "$wxUSE_FILE" = yes; then
4876 echo "$as_me:$LINENO: result: yes" >&5
4877 echo "${ECHO_T}yes" >&6
4879 echo "$as_me:$LINENO: result: no" >&5
4880 echo "${ECHO_T}no" >&6
4885 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filesystem" >&5
4886 echo $ECHO_N "checking for --${enablestring:-enable}-filesystem... $ECHO_C" >&6
4888 # Check whether --enable-filesystem or --disable-filesystem was given.
4889 if test "${enable_filesystem+set}" = set; then
4890 enableval
="$enable_filesystem"
4892 if test "$enableval" = yes; then
4893 ac_cv_use_filesystem
='wxUSE_FILESYSTEM=yes'
4895 ac_cv_use_filesystem
='wxUSE_FILESYSTEM=no'
4900 LINE
=`grep "wxUSE_FILESYSTEM" ${wx_arg_cache_file}`
4901 if test "x$LINE" != x
; then
4902 eval "DEFAULT_$LINE"
4907 ac_cv_use_filesystem
='wxUSE_FILESYSTEM='$DEFAULT_wxUSE_FILESYSTEM
4911 eval "$ac_cv_use_filesystem"
4912 if test "$no_cache" != 1; then
4913 echo $ac_cv_use_filesystem >> ${wx_arg_cache_file}.tmp
4916 if test "$wxUSE_FILESYSTEM" = yes; then
4917 echo "$as_me:$LINENO: result: yes" >&5
4918 echo "${ECHO_T}yes" >&6
4920 echo "$as_me:$LINENO: result: no" >&5
4921 echo "${ECHO_T}no" >&6
4926 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontmap" >&5
4927 echo $ECHO_N "checking for --${enablestring:-enable}-fontmap... $ECHO_C" >&6
4929 # Check whether --enable-fontmap or --disable-fontmap was given.
4930 if test "${enable_fontmap+set}" = set; then
4931 enableval
="$enable_fontmap"
4933 if test "$enableval" = yes; then
4934 ac_cv_use_fontmap
='wxUSE_FONTMAP=yes'
4936 ac_cv_use_fontmap
='wxUSE_FONTMAP=no'
4941 LINE
=`grep "wxUSE_FONTMAP" ${wx_arg_cache_file}`
4942 if test "x$LINE" != x
; then
4943 eval "DEFAULT_$LINE"
4948 ac_cv_use_fontmap
='wxUSE_FONTMAP='$DEFAULT_wxUSE_FONTMAP
4952 eval "$ac_cv_use_fontmap"
4953 if test "$no_cache" != 1; then
4954 echo $ac_cv_use_fontmap >> ${wx_arg_cache_file}.tmp
4957 if test "$wxUSE_FONTMAP" = yes; then
4958 echo "$as_me:$LINENO: result: yes" >&5
4959 echo "${ECHO_T}yes" >&6
4961 echo "$as_me:$LINENO: result: no" >&5
4962 echo "${ECHO_T}no" >&6
4967 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_inet" >&5
4968 echo $ECHO_N "checking for --${enablestring:-enable}-fs_inet... $ECHO_C" >&6
4970 # Check whether --enable-fs_inet or --disable-fs_inet was given.
4971 if test "${enable_fs_inet+set}" = set; then
4972 enableval
="$enable_fs_inet"
4974 if test "$enableval" = yes; then
4975 ac_cv_use_fs_inet
='wxUSE_FS_INET=yes'
4977 ac_cv_use_fs_inet
='wxUSE_FS_INET=no'
4982 LINE
=`grep "wxUSE_FS_INET" ${wx_arg_cache_file}`
4983 if test "x$LINE" != x
; then
4984 eval "DEFAULT_$LINE"
4989 ac_cv_use_fs_inet
='wxUSE_FS_INET='$DEFAULT_wxUSE_FS_INET
4993 eval "$ac_cv_use_fs_inet"
4994 if test "$no_cache" != 1; then
4995 echo $ac_cv_use_fs_inet >> ${wx_arg_cache_file}.tmp
4998 if test "$wxUSE_FS_INET" = yes; then
4999 echo "$as_me:$LINENO: result: yes" >&5
5000 echo "${ECHO_T}yes" >&6
5002 echo "$as_me:$LINENO: result: no" >&5
5003 echo "${ECHO_T}no" >&6
5008 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_zip" >&5
5009 echo $ECHO_N "checking for --${enablestring:-enable}-fs_zip... $ECHO_C" >&6
5011 # Check whether --enable-fs_zip or --disable-fs_zip was given.
5012 if test "${enable_fs_zip+set}" = set; then
5013 enableval
="$enable_fs_zip"
5015 if test "$enableval" = yes; then
5016 ac_cv_use_fs_zip
='wxUSE_FS_ZIP=yes'
5018 ac_cv_use_fs_zip
='wxUSE_FS_ZIP=no'
5023 LINE
=`grep "wxUSE_FS_ZIP" ${wx_arg_cache_file}`
5024 if test "x$LINE" != x
; then
5025 eval "DEFAULT_$LINE"
5030 ac_cv_use_fs_zip
='wxUSE_FS_ZIP='$DEFAULT_wxUSE_FS_ZIP
5034 eval "$ac_cv_use_fs_zip"
5035 if test "$no_cache" != 1; then
5036 echo $ac_cv_use_fs_zip >> ${wx_arg_cache_file}.tmp
5039 if test "$wxUSE_FS_ZIP" = yes; then
5040 echo "$as_me:$LINENO: result: yes" >&5
5041 echo "${ECHO_T}yes" >&6
5043 echo "$as_me:$LINENO: result: no" >&5
5044 echo "${ECHO_T}no" >&6
5049 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-geometry" >&5
5050 echo $ECHO_N "checking for --${enablestring:-enable}-geometry... $ECHO_C" >&6
5052 # Check whether --enable-geometry or --disable-geometry was given.
5053 if test "${enable_geometry+set}" = set; then
5054 enableval
="$enable_geometry"
5056 if test "$enableval" = yes; then
5057 ac_cv_use_geometry
='wxUSE_GEOMETRY=yes'
5059 ac_cv_use_geometry
='wxUSE_GEOMETRY=no'
5064 LINE
=`grep "wxUSE_GEOMETRY" ${wx_arg_cache_file}`
5065 if test "x$LINE" != x
; then
5066 eval "DEFAULT_$LINE"
5071 ac_cv_use_geometry
='wxUSE_GEOMETRY='$DEFAULT_wxUSE_GEOMETRY
5075 eval "$ac_cv_use_geometry"
5076 if test "$no_cache" != 1; then
5077 echo $ac_cv_use_geometry >> ${wx_arg_cache_file}.tmp
5080 if test "$wxUSE_GEOMETRY" = yes; then
5081 echo "$as_me:$LINENO: result: yes" >&5
5082 echo "${ECHO_T}yes" >&6
5084 echo "$as_me:$LINENO: result: no" >&5
5085 echo "${ECHO_T}no" >&6
5090 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-log" >&5
5091 echo $ECHO_N "checking for --${enablestring:-enable}-log... $ECHO_C" >&6
5093 # Check whether --enable-log or --disable-log was given.
5094 if test "${enable_log+set}" = set; then
5095 enableval
="$enable_log"
5097 if test "$enableval" = yes; then
5098 ac_cv_use_log
='wxUSE_LOG=yes'
5100 ac_cv_use_log
='wxUSE_LOG=no'
5105 LINE
=`grep "wxUSE_LOG" ${wx_arg_cache_file}`
5106 if test "x$LINE" != x
; then
5107 eval "DEFAULT_$LINE"
5112 ac_cv_use_log
='wxUSE_LOG='$DEFAULT_wxUSE_LOG
5116 eval "$ac_cv_use_log"
5117 if test "$no_cache" != 1; then
5118 echo $ac_cv_use_log >> ${wx_arg_cache_file}.tmp
5121 if test "$wxUSE_LOG" = yes; then
5122 echo "$as_me:$LINENO: result: yes" >&5
5123 echo "${ECHO_T}yes" >&6
5125 echo "$as_me:$LINENO: result: no" >&5
5126 echo "${ECHO_T}no" >&6
5131 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-longlong" >&5
5132 echo $ECHO_N "checking for --${enablestring:-enable}-longlong... $ECHO_C" >&6
5134 # Check whether --enable-longlong or --disable-longlong was given.
5135 if test "${enable_longlong+set}" = set; then
5136 enableval
="$enable_longlong"
5138 if test "$enableval" = yes; then
5139 ac_cv_use_longlong
='wxUSE_LONGLONG=yes'
5141 ac_cv_use_longlong
='wxUSE_LONGLONG=no'
5146 LINE
=`grep "wxUSE_LONGLONG" ${wx_arg_cache_file}`
5147 if test "x$LINE" != x
; then
5148 eval "DEFAULT_$LINE"
5153 ac_cv_use_longlong
='wxUSE_LONGLONG='$DEFAULT_wxUSE_LONGLONG
5157 eval "$ac_cv_use_longlong"
5158 if test "$no_cache" != 1; then
5159 echo $ac_cv_use_longlong >> ${wx_arg_cache_file}.tmp
5162 if test "$wxUSE_LONGLONG" = yes; then
5163 echo "$as_me:$LINENO: result: yes" >&5
5164 echo "${ECHO_T}yes" >&6
5166 echo "$as_me:$LINENO: result: no" >&5
5167 echo "${ECHO_T}no" >&6
5172 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mimetype" >&5
5173 echo $ECHO_N "checking for --${enablestring:-enable}-mimetype... $ECHO_C" >&6
5175 # Check whether --enable-mimetype or --disable-mimetype was given.
5176 if test "${enable_mimetype+set}" = set; then
5177 enableval
="$enable_mimetype"
5179 if test "$enableval" = yes; then
5180 ac_cv_use_mimetype
='wxUSE_MIMETYPE=yes'
5182 ac_cv_use_mimetype
='wxUSE_MIMETYPE=no'
5187 LINE
=`grep "wxUSE_MIMETYPE" ${wx_arg_cache_file}`
5188 if test "x$LINE" != x
; then
5189 eval "DEFAULT_$LINE"
5194 ac_cv_use_mimetype
='wxUSE_MIMETYPE='$DEFAULT_wxUSE_MIMETYPE
5198 eval "$ac_cv_use_mimetype"
5199 if test "$no_cache" != 1; then
5200 echo $ac_cv_use_mimetype >> ${wx_arg_cache_file}.tmp
5203 if test "$wxUSE_MIMETYPE" = yes; then
5204 echo "$as_me:$LINENO: result: yes" >&5
5205 echo "${ECHO_T}yes" >&6
5207 echo "$as_me:$LINENO: result: no" >&5
5208 echo "${ECHO_T}no" >&6
5213 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mslu" >&5
5214 echo $ECHO_N "checking for --${enablestring:-enable}-mslu... $ECHO_C" >&6
5216 # Check whether --enable-mslu or --disable-mslu was given.
5217 if test "${enable_mslu+set}" = set; then
5218 enableval
="$enable_mslu"
5220 if test "$enableval" = yes; then
5221 ac_cv_use_mslu
='wxUSE_UNICODE_MSLU=yes'
5223 ac_cv_use_mslu
='wxUSE_UNICODE_MSLU=no'
5228 LINE
=`grep "wxUSE_UNICODE_MSLU" ${wx_arg_cache_file}`
5229 if test "x$LINE" != x
; then
5230 eval "DEFAULT_$LINE"
5235 ac_cv_use_mslu
='wxUSE_UNICODE_MSLU='$DEFAULT_wxUSE_UNICODE_MSLU
5239 eval "$ac_cv_use_mslu"
5240 if test "$no_cache" != 1; then
5241 echo $ac_cv_use_mslu >> ${wx_arg_cache_file}.tmp
5244 if test "$wxUSE_UNICODE_MSLU" = yes; then
5245 echo "$as_me:$LINENO: result: yes" >&5
5246 echo "${ECHO_T}yes" >&6
5248 echo "$as_me:$LINENO: result: no" >&5
5249 echo "${ECHO_T}no" >&6
5254 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-snglinst" >&5
5255 echo $ECHO_N "checking for --${enablestring:-enable}-snglinst... $ECHO_C" >&6
5257 # Check whether --enable-snglinst or --disable-snglinst was given.
5258 if test "${enable_snglinst+set}" = set; then
5259 enableval
="$enable_snglinst"
5261 if test "$enableval" = yes; then
5262 ac_cv_use_snglinst
='wxUSE_SNGLINST_CHECKER=yes'
5264 ac_cv_use_snglinst
='wxUSE_SNGLINST_CHECKER=no'
5269 LINE
=`grep "wxUSE_SNGLINST_CHECKER" ${wx_arg_cache_file}`
5270 if test "x$LINE" != x
; then
5271 eval "DEFAULT_$LINE"
5276 ac_cv_use_snglinst
='wxUSE_SNGLINST_CHECKER='$DEFAULT_wxUSE_SNGLINST_CHECKER
5280 eval "$ac_cv_use_snglinst"
5281 if test "$no_cache" != 1; then
5282 echo $ac_cv_use_snglinst >> ${wx_arg_cache_file}.tmp
5285 if test "$wxUSE_SNGLINST_CHECKER" = yes; then
5286 echo "$as_me:$LINENO: result: yes" >&5
5287 echo "${ECHO_T}yes" >&6
5289 echo "$as_me:$LINENO: result: no" >&5
5290 echo "${ECHO_T}no" >&6
5295 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-streams" >&5
5296 echo $ECHO_N "checking for --${enablestring:-enable}-streams... $ECHO_C" >&6
5298 # Check whether --enable-streams or --disable-streams was given.
5299 if test "${enable_streams+set}" = set; then
5300 enableval
="$enable_streams"
5302 if test "$enableval" = yes; then
5303 ac_cv_use_streams
='wxUSE_STREAMS=yes'
5305 ac_cv_use_streams
='wxUSE_STREAMS=no'
5310 LINE
=`grep "wxUSE_STREAMS" ${wx_arg_cache_file}`
5311 if test "x$LINE" != x
; then
5312 eval "DEFAULT_$LINE"
5317 ac_cv_use_streams
='wxUSE_STREAMS='$DEFAULT_wxUSE_STREAMS
5321 eval "$ac_cv_use_streams"
5322 if test "$no_cache" != 1; then
5323 echo $ac_cv_use_streams >> ${wx_arg_cache_file}.tmp
5326 if test "$wxUSE_STREAMS" = yes; then
5327 echo "$as_me:$LINENO: result: yes" >&5
5328 echo "${ECHO_T}yes" >&6
5330 echo "$as_me:$LINENO: result: no" >&5
5331 echo "${ECHO_T}no" >&6
5336 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-std_iostreams" >&5
5337 echo $ECHO_N "checking for --${enablestring:-enable}-std_iostreams... $ECHO_C" >&6
5339 # Check whether --enable-std_iostreams or --disable-std_iostreams was given.
5340 if test "${enable_std_iostreams+set}" = set; then
5341 enableval
="$enable_std_iostreams"
5343 if test "$enableval" = yes; then
5344 ac_cv_use_std_iostreams
='wxUSE_STD_IOSTREAM=yes'
5346 ac_cv_use_std_iostreams
='wxUSE_STD_IOSTREAM=no'
5351 LINE
=`grep "wxUSE_STD_IOSTREAM" ${wx_arg_cache_file}`
5352 if test "x$LINE" != x
; then
5353 eval "DEFAULT_$LINE"
5358 ac_cv_use_std_iostreams
='wxUSE_STD_IOSTREAM='$DEFAULT_wxUSE_STD_IOSTREAM
5362 eval "$ac_cv_use_std_iostreams"
5363 if test "$no_cache" != 1; then
5364 echo $ac_cv_use_std_iostreams >> ${wx_arg_cache_file}.tmp
5367 if test "$wxUSE_STD_IOSTREAM" = yes; then
5368 echo "$as_me:$LINENO: result: yes" >&5
5369 echo "${ECHO_T}yes" >&6
5371 echo "$as_me:$LINENO: result: no" >&5
5372 echo "${ECHO_T}no" >&6
5377 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stopwatch" >&5
5378 echo $ECHO_N "checking for --${enablestring:-enable}-stopwatch... $ECHO_C" >&6
5380 # Check whether --enable-stopwatch or --disable-stopwatch was given.
5381 if test "${enable_stopwatch+set}" = set; then
5382 enableval
="$enable_stopwatch"
5384 if test "$enableval" = yes; then
5385 ac_cv_use_stopwatch
='wxUSE_STOPWATCH=yes'
5387 ac_cv_use_stopwatch
='wxUSE_STOPWATCH=no'
5392 LINE
=`grep "wxUSE_STOPWATCH" ${wx_arg_cache_file}`
5393 if test "x$LINE" != x
; then
5394 eval "DEFAULT_$LINE"
5399 ac_cv_use_stopwatch
='wxUSE_STOPWATCH='$DEFAULT_wxUSE_STOPWATCH
5403 eval "$ac_cv_use_stopwatch"
5404 if test "$no_cache" != 1; then
5405 echo $ac_cv_use_stopwatch >> ${wx_arg_cache_file}.tmp
5408 if test "$wxUSE_STOPWATCH" = yes; then
5409 echo "$as_me:$LINENO: result: yes" >&5
5410 echo "${ECHO_T}yes" >&6
5412 echo "$as_me:$LINENO: result: no" >&5
5413 echo "${ECHO_T}no" >&6
5418 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-system_options" >&5
5419 echo $ECHO_N "checking for --${enablestring:-enable}-system_options... $ECHO_C" >&6
5421 # Check whether --enable-system_options or --disable-system_options was given.
5422 if test "${enable_system_options+set}" = set; then
5423 enableval
="$enable_system_options"
5425 if test "$enableval" = yes; then
5426 ac_cv_use_system_options
='wxUSE_SYSTEM_OPTIONS=yes'
5428 ac_cv_use_system_options
='wxUSE_SYSTEM_OPTIONS=no'
5433 LINE
=`grep "wxUSE_SYSTEM_OPTIONS" ${wx_arg_cache_file}`
5434 if test "x$LINE" != x
; then
5435 eval "DEFAULT_$LINE"
5440 ac_cv_use_system_options
='wxUSE_SYSTEM_OPTIONS='$DEFAULT_wxUSE_SYSTEM_OPTIONS
5444 eval "$ac_cv_use_system_options"
5445 if test "$no_cache" != 1; then
5446 echo $ac_cv_use_system_options >> ${wx_arg_cache_file}.tmp
5449 if test "$wxUSE_SYSTEM_OPTIONS" = yes; then
5450 echo "$as_me:$LINENO: result: yes" >&5
5451 echo "${ECHO_T}yes" >&6
5453 echo "$as_me:$LINENO: result: no" >&5
5454 echo "${ECHO_T}no" >&6
5459 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textbuf" >&5
5460 echo $ECHO_N "checking for --${enablestring:-enable}-textbuf... $ECHO_C" >&6
5462 # Check whether --enable-textbuf or --disable-textbuf was given.
5463 if test "${enable_textbuf+set}" = set; then
5464 enableval
="$enable_textbuf"
5466 if test "$enableval" = yes; then
5467 ac_cv_use_textbuf
='wxUSE_TEXTBUFFER=yes'
5469 ac_cv_use_textbuf
='wxUSE_TEXTBUFFER=no'
5474 LINE
=`grep "wxUSE_TEXTBUFFER" ${wx_arg_cache_file}`
5475 if test "x$LINE" != x
; then
5476 eval "DEFAULT_$LINE"
5481 ac_cv_use_textbuf
='wxUSE_TEXTBUFFER='$DEFAULT_wxUSE_TEXTBUFFER
5485 eval "$ac_cv_use_textbuf"
5486 if test "$no_cache" != 1; then
5487 echo $ac_cv_use_textbuf >> ${wx_arg_cache_file}.tmp
5490 if test "$wxUSE_TEXTBUFFER" = yes; then
5491 echo "$as_me:$LINENO: result: yes" >&5
5492 echo "${ECHO_T}yes" >&6
5494 echo "$as_me:$LINENO: result: no" >&5
5495 echo "${ECHO_T}no" >&6
5500 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textfile" >&5
5501 echo $ECHO_N "checking for --${enablestring:-enable}-textfile... $ECHO_C" >&6
5503 # Check whether --enable-textfile or --disable-textfile was given.
5504 if test "${enable_textfile+set}" = set; then
5505 enableval
="$enable_textfile"
5507 if test "$enableval" = yes; then
5508 ac_cv_use_textfile
='wxUSE_TEXTFILE=yes'
5510 ac_cv_use_textfile
='wxUSE_TEXTFILE=no'
5515 LINE
=`grep "wxUSE_TEXTFILE" ${wx_arg_cache_file}`
5516 if test "x$LINE" != x
; then
5517 eval "DEFAULT_$LINE"
5522 ac_cv_use_textfile
='wxUSE_TEXTFILE='$DEFAULT_wxUSE_TEXTFILE
5526 eval "$ac_cv_use_textfile"
5527 if test "$no_cache" != 1; then
5528 echo $ac_cv_use_textfile >> ${wx_arg_cache_file}.tmp
5531 if test "$wxUSE_TEXTFILE" = yes; then
5532 echo "$as_me:$LINENO: result: yes" >&5
5533 echo "${ECHO_T}yes" >&6
5535 echo "$as_me:$LINENO: result: no" >&5
5536 echo "${ECHO_T}no" >&6
5541 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-timer" >&5
5542 echo $ECHO_N "checking for --${enablestring:-enable}-timer... $ECHO_C" >&6
5544 # Check whether --enable-timer or --disable-timer was given.
5545 if test "${enable_timer+set}" = set; then
5546 enableval
="$enable_timer"
5548 if test "$enableval" = yes; then
5549 ac_cv_use_timer
='wxUSE_TIMER=yes'
5551 ac_cv_use_timer
='wxUSE_TIMER=no'
5556 LINE
=`grep "wxUSE_TIMER" ${wx_arg_cache_file}`
5557 if test "x$LINE" != x
; then
5558 eval "DEFAULT_$LINE"
5563 ac_cv_use_timer
='wxUSE_TIMER='$DEFAULT_wxUSE_TIMER
5567 eval "$ac_cv_use_timer"
5568 if test "$no_cache" != 1; then
5569 echo $ac_cv_use_timer >> ${wx_arg_cache_file}.tmp
5572 if test "$wxUSE_TIMER" = yes; then
5573 echo "$as_me:$LINENO: result: yes" >&5
5574 echo "${ECHO_T}yes" >&6
5576 echo "$as_me:$LINENO: result: no" >&5
5577 echo "${ECHO_T}no" >&6
5582 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-unicode" >&5
5583 echo $ECHO_N "checking for --${enablestring:-enable}-unicode... $ECHO_C" >&6
5585 # Check whether --enable-unicode or --disable-unicode was given.
5586 if test "${enable_unicode+set}" = set; then
5587 enableval
="$enable_unicode"
5589 if test "$enableval" = yes; then
5590 ac_cv_use_unicode
='wxUSE_UNICODE=yes'
5592 ac_cv_use_unicode
='wxUSE_UNICODE=no'
5597 LINE
=`grep "wxUSE_UNICODE" ${wx_arg_cache_file}`
5598 if test "x$LINE" != x
; then
5599 eval "DEFAULT_$LINE"
5604 ac_cv_use_unicode
='wxUSE_UNICODE='$DEFAULT_wxUSE_UNICODE
5608 eval "$ac_cv_use_unicode"
5609 if test "$no_cache" != 1; then
5610 echo $ac_cv_use_unicode >> ${wx_arg_cache_file}.tmp
5613 if test "$wxUSE_UNICODE" = yes; then
5614 echo "$as_me:$LINENO: result: yes" >&5
5615 echo "${ECHO_T}yes" >&6
5617 echo "$as_me:$LINENO: result: no" >&5
5618 echo "${ECHO_T}no" >&6
5623 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sound" >&5
5624 echo $ECHO_N "checking for --${enablestring:-enable}-sound... $ECHO_C" >&6
5626 # Check whether --enable-sound or --disable-sound was given.
5627 if test "${enable_sound+set}" = set; then
5628 enableval
="$enable_sound"
5630 if test "$enableval" = yes; then
5631 ac_cv_use_sound
='wxUSE_SOUND=yes'
5633 ac_cv_use_sound
='wxUSE_SOUND=no'
5638 LINE
=`grep "wxUSE_SOUND" ${wx_arg_cache_file}`
5639 if test "x$LINE" != x
; then
5640 eval "DEFAULT_$LINE"
5645 ac_cv_use_sound
='wxUSE_SOUND='$DEFAULT_wxUSE_SOUND
5649 eval "$ac_cv_use_sound"
5650 if test "$no_cache" != 1; then
5651 echo $ac_cv_use_sound >> ${wx_arg_cache_file}.tmp
5654 if test "$wxUSE_SOUND" = yes; then
5655 echo "$as_me:$LINENO: result: yes" >&5
5656 echo "${ECHO_T}yes" >&6
5658 echo "$as_me:$LINENO: result: no" >&5
5659 echo "${ECHO_T}no" >&6
5664 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-wxprintfv" >&5
5665 echo $ECHO_N "checking for --${enablestring:-enable}-wxprintfv... $ECHO_C" >&6
5667 # Check whether --enable-wxprintfv or --disable-wxprintfv was given.
5668 if test "${enable_wxprintfv+set}" = set; then
5669 enableval
="$enable_wxprintfv"
5671 if test "$enableval" = yes; then
5672 ac_cv_use_wxprintfv
='wxUSE_EXPERIMENTAL_PRINTF=yes'
5674 ac_cv_use_wxprintfv
='wxUSE_EXPERIMENTAL_PRINTF=no'
5679 LINE
=`grep "wxUSE_EXPERIMENTAL_PRINTF" ${wx_arg_cache_file}`
5680 if test "x$LINE" != x
; then
5681 eval "DEFAULT_$LINE"
5686 ac_cv_use_wxprintfv
='wxUSE_EXPERIMENTAL_PRINTF='$DEFAULT_wxUSE_EXPERIMENTAL_PRINTF
5690 eval "$ac_cv_use_wxprintfv"
5691 if test "$no_cache" != 1; then
5692 echo $ac_cv_use_wxprintfv >> ${wx_arg_cache_file}.tmp
5695 if test "$wxUSE_EXPERIMENTAL_PRINTF" = yes; then
5696 echo "$as_me:$LINENO: result: yes" >&5
5697 echo "${ECHO_T}yes" >&6
5699 echo "$as_me:$LINENO: result: no" >&5
5700 echo "${ECHO_T}no" >&6
5705 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-zipstream" >&5
5706 echo $ECHO_N "checking for --${enablestring:-enable}-zipstream... $ECHO_C" >&6
5708 # Check whether --enable-zipstream or --disable-zipstream was given.
5709 if test "${enable_zipstream+set}" = set; then
5710 enableval
="$enable_zipstream"
5712 if test "$enableval" = yes; then
5713 ac_cv_use_zipstream
='wxUSE_ZIPSTREAM=yes'
5715 ac_cv_use_zipstream
='wxUSE_ZIPSTREAM=no'
5720 LINE
=`grep "wxUSE_ZIPSTREAM" ${wx_arg_cache_file}`
5721 if test "x$LINE" != x
; then
5722 eval "DEFAULT_$LINE"
5727 ac_cv_use_zipstream
='wxUSE_ZIPSTREAM='$DEFAULT_wxUSE_ZIPSTREAM
5731 eval "$ac_cv_use_zipstream"
5732 if test "$no_cache" != 1; then
5733 echo $ac_cv_use_zipstream >> ${wx_arg_cache_file}.tmp
5736 if test "$wxUSE_ZIPSTREAM" = yes; then
5737 echo "$as_me:$LINENO: result: yes" >&5
5738 echo "${ECHO_T}yes" >&6
5740 echo "$as_me:$LINENO: result: no" >&5
5741 echo "${ECHO_T}no" >&6
5746 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gzstream" >&5
5747 echo $ECHO_N "checking for --${enablestring:-enable}-gzstream... $ECHO_C" >&6
5749 # Check whether --enable-gzstream or --disable-gzstream was given.
5750 if test "${enable_gzstream+set}" = set; then
5751 enableval
="$enable_gzstream"
5753 if test "$enableval" = yes; then
5754 ac_cv_use_gzstream
='wxUSE_GZSTREAM=yes'
5756 ac_cv_use_gzstream
='wxUSE_GZSTREAM=no'
5761 LINE
=`grep "wxUSE_GZSTREAM" ${wx_arg_cache_file}`
5762 if test "x$LINE" != x
; then
5763 eval "DEFAULT_$LINE"
5768 ac_cv_use_gzstream
='wxUSE_GZSTREAM='$DEFAULT_wxUSE_GZSTREAM
5772 eval "$ac_cv_use_gzstream"
5773 if test "$no_cache" != 1; then
5774 echo $ac_cv_use_gzstream >> ${wx_arg_cache_file}.tmp
5777 if test "$wxUSE_GZSTREAM" = yes; then
5778 echo "$as_me:$LINENO: result: yes" >&5
5779 echo "${ECHO_T}yes" >&6
5781 echo "$as_me:$LINENO: result: no" >&5
5782 echo "${ECHO_T}no" >&6
5788 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-url" >&5
5789 echo $ECHO_N "checking for --${enablestring:-enable}-url... $ECHO_C" >&6
5791 # Check whether --enable-url or --disable-url was given.
5792 if test "${enable_url+set}" = set; then
5793 enableval
="$enable_url"
5795 if test "$enableval" = yes; then
5796 ac_cv_use_url
='wxUSE_URL=yes'
5798 ac_cv_use_url
='wxUSE_URL=no'
5803 LINE
=`grep "wxUSE_URL" ${wx_arg_cache_file}`
5804 if test "x$LINE" != x
; then
5805 eval "DEFAULT_$LINE"
5810 ac_cv_use_url
='wxUSE_URL='$DEFAULT_wxUSE_URL
5814 eval "$ac_cv_use_url"
5815 if test "$no_cache" != 1; then
5816 echo $ac_cv_use_url >> ${wx_arg_cache_file}.tmp
5819 if test "$wxUSE_URL" = yes; then
5820 echo "$as_me:$LINENO: result: yes" >&5
5821 echo "${ECHO_T}yes" >&6
5823 echo "$as_me:$LINENO: result: no" >&5
5824 echo "${ECHO_T}no" >&6
5829 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol" >&5
5830 echo $ECHO_N "checking for --${enablestring:-enable}-protocol... $ECHO_C" >&6
5832 # Check whether --enable-protocol or --disable-protocol was given.
5833 if test "${enable_protocol+set}" = set; then
5834 enableval
="$enable_protocol"
5836 if test "$enableval" = yes; then
5837 ac_cv_use_protocol
='wxUSE_PROTOCOL=yes'
5839 ac_cv_use_protocol
='wxUSE_PROTOCOL=no'
5844 LINE
=`grep "wxUSE_PROTOCOL" ${wx_arg_cache_file}`
5845 if test "x$LINE" != x
; then
5846 eval "DEFAULT_$LINE"
5851 ac_cv_use_protocol
='wxUSE_PROTOCOL='$DEFAULT_wxUSE_PROTOCOL
5855 eval "$ac_cv_use_protocol"
5856 if test "$no_cache" != 1; then
5857 echo $ac_cv_use_protocol >> ${wx_arg_cache_file}.tmp
5860 if test "$wxUSE_PROTOCOL" = yes; then
5861 echo "$as_me:$LINENO: result: yes" >&5
5862 echo "${ECHO_T}yes" >&6
5864 echo "$as_me:$LINENO: result: no" >&5
5865 echo "${ECHO_T}no" >&6
5870 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_http" >&5
5871 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_http... $ECHO_C" >&6
5873 # Check whether --enable-protocol_http or --disable-protocol_http was given.
5874 if test "${enable_protocol_http+set}" = set; then
5875 enableval
="$enable_protocol_http"
5877 if test "$enableval" = yes; then
5878 ac_cv_use_protocol_http
='wxUSE_PROTOCOL_HTTP=yes'
5880 ac_cv_use_protocol_http
='wxUSE_PROTOCOL_HTTP=no'
5885 LINE
=`grep "wxUSE_PROTOCOL_HTTP" ${wx_arg_cache_file}`
5886 if test "x$LINE" != x
; then
5887 eval "DEFAULT_$LINE"
5892 ac_cv_use_protocol_http
='wxUSE_PROTOCOL_HTTP='$DEFAULT_wxUSE_PROTOCOL_HTTP
5896 eval "$ac_cv_use_protocol_http"
5897 if test "$no_cache" != 1; then
5898 echo $ac_cv_use_protocol_http >> ${wx_arg_cache_file}.tmp
5901 if test "$wxUSE_PROTOCOL_HTTP" = yes; then
5902 echo "$as_me:$LINENO: result: yes" >&5
5903 echo "${ECHO_T}yes" >&6
5905 echo "$as_me:$LINENO: result: no" >&5
5906 echo "${ECHO_T}no" >&6
5911 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_ftp" >&5
5912 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_ftp... $ECHO_C" >&6
5914 # Check whether --enable-protocol_ftp or --disable-protocol_ftp was given.
5915 if test "${enable_protocol_ftp+set}" = set; then
5916 enableval
="$enable_protocol_ftp"
5918 if test "$enableval" = yes; then
5919 ac_cv_use_protocol_ftp
='wxUSE_PROTOCOL_FTP=yes'
5921 ac_cv_use_protocol_ftp
='wxUSE_PROTOCOL_FTP=no'
5926 LINE
=`grep "wxUSE_PROTOCOL_FTP" ${wx_arg_cache_file}`
5927 if test "x$LINE" != x
; then
5928 eval "DEFAULT_$LINE"
5933 ac_cv_use_protocol_ftp
='wxUSE_PROTOCOL_FTP='$DEFAULT_wxUSE_PROTOCOL_FTP
5937 eval "$ac_cv_use_protocol_ftp"
5938 if test "$no_cache" != 1; then
5939 echo $ac_cv_use_protocol_ftp >> ${wx_arg_cache_file}.tmp
5942 if test "$wxUSE_PROTOCOL_FTP" = yes; then
5943 echo "$as_me:$LINENO: result: yes" >&5
5944 echo "${ECHO_T}yes" >&6
5946 echo "$as_me:$LINENO: result: no" >&5
5947 echo "${ECHO_T}no" >&6
5952 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_file" >&5
5953 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_file... $ECHO_C" >&6
5955 # Check whether --enable-protocol_file or --disable-protocol_file was given.
5956 if test "${enable_protocol_file+set}" = set; then
5957 enableval
="$enable_protocol_file"
5959 if test "$enableval" = yes; then
5960 ac_cv_use_protocol_file
='wxUSE_PROTOCOL_FILE=yes'
5962 ac_cv_use_protocol_file
='wxUSE_PROTOCOL_FILE=no'
5967 LINE
=`grep "wxUSE_PROTOCOL_FILE" ${wx_arg_cache_file}`
5968 if test "x$LINE" != x
; then
5969 eval "DEFAULT_$LINE"
5974 ac_cv_use_protocol_file
='wxUSE_PROTOCOL_FILE='$DEFAULT_wxUSE_PROTOCOL_FILE
5978 eval "$ac_cv_use_protocol_file"
5979 if test "$no_cache" != 1; then
5980 echo $ac_cv_use_protocol_file >> ${wx_arg_cache_file}.tmp
5983 if test "$wxUSE_PROTOCOL_FILE" = yes; then
5984 echo "$as_me:$LINENO: result: yes" >&5
5985 echo "${ECHO_T}yes" >&6
5987 echo "$as_me:$LINENO: result: no" >&5
5988 echo "${ECHO_T}no" >&6
5996 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-threads" >&5
5997 echo $ECHO_N "checking for --${enablestring:-enable}-threads... $ECHO_C" >&6
5999 # Check whether --enable-threads or --disable-threads was given.
6000 if test "${enable_threads+set}" = set; then
6001 enableval
="$enable_threads"
6003 if test "$enableval" = yes; then
6004 ac_cv_use_threads
='wxUSE_THREADS=yes'
6006 ac_cv_use_threads
='wxUSE_THREADS=no'
6011 LINE
=`grep "wxUSE_THREADS" ${wx_arg_cache_file}`
6012 if test "x$LINE" != x
; then
6013 eval "DEFAULT_$LINE"
6018 ac_cv_use_threads
='wxUSE_THREADS='$DEFAULT_wxUSE_THREADS
6022 eval "$ac_cv_use_threads"
6023 if test "$no_cache" != 1; then
6024 echo $ac_cv_use_threads >> ${wx_arg_cache_file}.tmp
6027 if test "$wxUSE_THREADS" = yes; then
6028 echo "$as_me:$LINENO: result: yes" >&5
6029 echo "${ECHO_T}yes" >&6
6031 echo "$as_me:$LINENO: result: no" >&5
6032 echo "${ECHO_T}no" >&6
6036 if test "$wxUSE_GUI" = "yes"; then
6041 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-docview" >&5
6042 echo $ECHO_N "checking for --${enablestring:-enable}-docview... $ECHO_C" >&6
6044 # Check whether --enable-docview or --disable-docview was given.
6045 if test "${enable_docview+set}" = set; then
6046 enableval
="$enable_docview"
6048 if test "$enableval" = yes; then
6049 ac_cv_use_docview
='wxUSE_DOC_VIEW_ARCHITECTURE=yes'
6051 ac_cv_use_docview
='wxUSE_DOC_VIEW_ARCHITECTURE=no'
6056 LINE
=`grep "wxUSE_DOC_VIEW_ARCHITECTURE" ${wx_arg_cache_file}`
6057 if test "x$LINE" != x
; then
6058 eval "DEFAULT_$LINE"
6063 ac_cv_use_docview
='wxUSE_DOC_VIEW_ARCHITECTURE='$DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE
6067 eval "$ac_cv_use_docview"
6068 if test "$no_cache" != 1; then
6069 echo $ac_cv_use_docview >> ${wx_arg_cache_file}.tmp
6072 if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = yes; then
6073 echo "$as_me:$LINENO: result: yes" >&5
6074 echo "${ECHO_T}yes" >&6
6076 echo "$as_me:$LINENO: result: no" >&5
6077 echo "${ECHO_T}no" >&6
6082 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-help" >&5
6083 echo $ECHO_N "checking for --${enablestring:-enable}-help... $ECHO_C" >&6
6085 # Check whether --enable-help or --disable-help was given.
6086 if test "${enable_help+set}" = set; then
6087 enableval
="$enable_help"
6089 if test "$enableval" = yes; then
6090 ac_cv_use_help
='wxUSE_HELP=yes'
6092 ac_cv_use_help
='wxUSE_HELP=no'
6097 LINE
=`grep "wxUSE_HELP" ${wx_arg_cache_file}`
6098 if test "x$LINE" != x
; then
6099 eval "DEFAULT_$LINE"
6104 ac_cv_use_help
='wxUSE_HELP='$DEFAULT_wxUSE_HELP
6108 eval "$ac_cv_use_help"
6109 if test "$no_cache" != 1; then
6110 echo $ac_cv_use_help >> ${wx_arg_cache_file}.tmp
6113 if test "$wxUSE_HELP" = yes; then
6114 echo "$as_me:$LINENO: result: yes" >&5
6115 echo "${ECHO_T}yes" >&6
6117 echo "$as_me:$LINENO: result: no" >&5
6118 echo "${ECHO_T}no" >&6
6123 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mshtmlhelp" >&5
6124 echo $ECHO_N "checking for --${enablestring:-enable}-mshtmlhelp... $ECHO_C" >&6
6126 # Check whether --enable-mshtmlhelp or --disable-mshtmlhelp was given.
6127 if test "${enable_mshtmlhelp+set}" = set; then
6128 enableval
="$enable_mshtmlhelp"
6130 if test "$enableval" = yes; then
6131 ac_cv_use_mshtmlhelp
='wxUSE_MS_HTML_HELP=yes'
6133 ac_cv_use_mshtmlhelp
='wxUSE_MS_HTML_HELP=no'
6138 LINE
=`grep "wxUSE_MS_HTML_HELP" ${wx_arg_cache_file}`
6139 if test "x$LINE" != x
; then
6140 eval "DEFAULT_$LINE"
6145 ac_cv_use_mshtmlhelp
='wxUSE_MS_HTML_HELP='$DEFAULT_wxUSE_MS_HTML_HELP
6149 eval "$ac_cv_use_mshtmlhelp"
6150 if test "$no_cache" != 1; then
6151 echo $ac_cv_use_mshtmlhelp >> ${wx_arg_cache_file}.tmp
6154 if test "$wxUSE_MS_HTML_HELP" = yes; then
6155 echo "$as_me:$LINENO: result: yes" >&5
6156 echo "${ECHO_T}yes" >&6
6158 echo "$as_me:$LINENO: result: no" >&5
6159 echo "${ECHO_T}no" >&6
6164 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-html" >&5
6165 echo $ECHO_N "checking for --${enablestring:-enable}-html... $ECHO_C" >&6
6167 # Check whether --enable-html or --disable-html was given.
6168 if test "${enable_html+set}" = set; then
6169 enableval
="$enable_html"
6171 if test "$enableval" = yes; then
6172 ac_cv_use_html
='wxUSE_HTML=yes'
6174 ac_cv_use_html
='wxUSE_HTML=no'
6179 LINE
=`grep "wxUSE_HTML" ${wx_arg_cache_file}`
6180 if test "x$LINE" != x
; then
6181 eval "DEFAULT_$LINE"
6186 ac_cv_use_html
='wxUSE_HTML='$DEFAULT_wxUSE_HTML
6190 eval "$ac_cv_use_html"
6191 if test "$no_cache" != 1; then
6192 echo $ac_cv_use_html >> ${wx_arg_cache_file}.tmp
6195 if test "$wxUSE_HTML" = yes; then
6196 echo "$as_me:$LINENO: result: yes" >&5
6197 echo "${ECHO_T}yes" >&6
6199 echo "$as_me:$LINENO: result: no" >&5
6200 echo "${ECHO_T}no" >&6
6205 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-htmlhelp" >&5
6206 echo $ECHO_N "checking for --${enablestring:-enable}-htmlhelp... $ECHO_C" >&6
6208 # Check whether --enable-htmlhelp or --disable-htmlhelp was given.
6209 if test "${enable_htmlhelp+set}" = set; then
6210 enableval
="$enable_htmlhelp"
6212 if test "$enableval" = yes; then
6213 ac_cv_use_htmlhelp
='wxUSE_WXHTML_HELP=yes'
6215 ac_cv_use_htmlhelp
='wxUSE_WXHTML_HELP=no'
6220 LINE
=`grep "wxUSE_WXHTML_HELP" ${wx_arg_cache_file}`
6221 if test "x$LINE" != x
; then
6222 eval "DEFAULT_$LINE"
6227 ac_cv_use_htmlhelp
='wxUSE_WXHTML_HELP='$DEFAULT_wxUSE_WXHTML_HELP
6231 eval "$ac_cv_use_htmlhelp"
6232 if test "$no_cache" != 1; then
6233 echo $ac_cv_use_htmlhelp >> ${wx_arg_cache_file}.tmp
6236 if test "$wxUSE_WXHTML_HELP" = yes; then
6237 echo "$as_me:$LINENO: result: yes" >&5
6238 echo "${ECHO_T}yes" >&6
6240 echo "$as_me:$LINENO: result: no" >&5
6241 echo "${ECHO_T}no" >&6
6246 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-constraints" >&5
6247 echo $ECHO_N "checking for --${enablestring:-enable}-constraints... $ECHO_C" >&6
6249 # Check whether --enable-constraints or --disable-constraints was given.
6250 if test "${enable_constraints+set}" = set; then
6251 enableval
="$enable_constraints"
6253 if test "$enableval" = yes; then
6254 ac_cv_use_constraints
='wxUSE_CONSTRAINTS=yes'
6256 ac_cv_use_constraints
='wxUSE_CONSTRAINTS=no'
6261 LINE
=`grep "wxUSE_CONSTRAINTS" ${wx_arg_cache_file}`
6262 if test "x$LINE" != x
; then
6263 eval "DEFAULT_$LINE"
6268 ac_cv_use_constraints
='wxUSE_CONSTRAINTS='$DEFAULT_wxUSE_CONSTRAINTS
6272 eval "$ac_cv_use_constraints"
6273 if test "$no_cache" != 1; then
6274 echo $ac_cv_use_constraints >> ${wx_arg_cache_file}.tmp
6277 if test "$wxUSE_CONSTRAINTS" = yes; then
6278 echo "$as_me:$LINENO: result: yes" >&5
6279 echo "${ECHO_T}yes" >&6
6281 echo "$as_me:$LINENO: result: no" >&5
6282 echo "${ECHO_T}no" >&6
6287 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-printarch" >&5
6288 echo $ECHO_N "checking for --${enablestring:-enable}-printarch... $ECHO_C" >&6
6290 # Check whether --enable-printarch or --disable-printarch was given.
6291 if test "${enable_printarch+set}" = set; then
6292 enableval
="$enable_printarch"
6294 if test "$enableval" = yes; then
6295 ac_cv_use_printarch
='wxUSE_PRINTING_ARCHITECTURE=yes'
6297 ac_cv_use_printarch
='wxUSE_PRINTING_ARCHITECTURE=no'
6302 LINE
=`grep "wxUSE_PRINTING_ARCHITECTURE" ${wx_arg_cache_file}`
6303 if test "x$LINE" != x
; then
6304 eval "DEFAULT_$LINE"
6309 ac_cv_use_printarch
='wxUSE_PRINTING_ARCHITECTURE='$DEFAULT_wxUSE_PRINTING_ARCHITECTURE
6313 eval "$ac_cv_use_printarch"
6314 if test "$no_cache" != 1; then
6315 echo $ac_cv_use_printarch >> ${wx_arg_cache_file}.tmp
6318 if test "$wxUSE_PRINTING_ARCHITECTURE" = yes; then
6319 echo "$as_me:$LINENO: result: yes" >&5
6320 echo "${ECHO_T}yes" >&6
6322 echo "$as_me:$LINENO: result: no" >&5
6323 echo "${ECHO_T}no" >&6
6328 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mdi" >&5
6329 echo $ECHO_N "checking for --${enablestring:-enable}-mdi... $ECHO_C" >&6
6331 # Check whether --enable-mdi or --disable-mdi was given.
6332 if test "${enable_mdi+set}" = set; then
6333 enableval
="$enable_mdi"
6335 if test "$enableval" = yes; then
6336 ac_cv_use_mdi
='wxUSE_MDI_ARCHITECTURE=yes'
6338 ac_cv_use_mdi
='wxUSE_MDI_ARCHITECTURE=no'
6343 LINE
=`grep "wxUSE_MDI_ARCHITECTURE" ${wx_arg_cache_file}`
6344 if test "x$LINE" != x
; then
6345 eval "DEFAULT_$LINE"
6350 ac_cv_use_mdi
='wxUSE_MDI_ARCHITECTURE='$DEFAULT_wxUSE_MDI_ARCHITECTURE
6354 eval "$ac_cv_use_mdi"
6355 if test "$no_cache" != 1; then
6356 echo $ac_cv_use_mdi >> ${wx_arg_cache_file}.tmp
6359 if test "$wxUSE_MDI_ARCHITECTURE" = yes; then
6360 echo "$as_me:$LINENO: result: yes" >&5
6361 echo "${ECHO_T}yes" >&6
6363 echo "$as_me:$LINENO: result: no" >&5
6364 echo "${ECHO_T}no" >&6
6369 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-loggui" >&5
6370 echo $ECHO_N "checking for --${enablestring:-enable}-loggui... $ECHO_C" >&6
6372 # Check whether --enable-loggui or --disable-loggui was given.
6373 if test "${enable_loggui+set}" = set; then
6374 enableval
="$enable_loggui"
6376 if test "$enableval" = yes; then
6377 ac_cv_use_loggui
='wxUSE_LOGGUI=yes'
6379 ac_cv_use_loggui
='wxUSE_LOGGUI=no'
6384 LINE
=`grep "wxUSE_LOGGUI" ${wx_arg_cache_file}`
6385 if test "x$LINE" != x
; then
6386 eval "DEFAULT_$LINE"
6391 ac_cv_use_loggui
='wxUSE_LOGGUI='$DEFAULT_wxUSE_LOGGUI
6395 eval "$ac_cv_use_loggui"
6396 if test "$no_cache" != 1; then
6397 echo $ac_cv_use_loggui >> ${wx_arg_cache_file}.tmp
6400 if test "$wxUSE_LOGGUI" = yes; then
6401 echo "$as_me:$LINENO: result: yes" >&5
6402 echo "${ECHO_T}yes" >&6
6404 echo "$as_me:$LINENO: result: no" >&5
6405 echo "${ECHO_T}no" >&6
6410 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-logwin" >&5
6411 echo $ECHO_N "checking for --${enablestring:-enable}-logwin... $ECHO_C" >&6
6413 # Check whether --enable-logwin or --disable-logwin was given.
6414 if test "${enable_logwin+set}" = set; then
6415 enableval
="$enable_logwin"
6417 if test "$enableval" = yes; then
6418 ac_cv_use_logwin
='wxUSE_LOGWINDOW=yes'
6420 ac_cv_use_logwin
='wxUSE_LOGWINDOW=no'
6425 LINE
=`grep "wxUSE_LOGWINDOW" ${wx_arg_cache_file}`
6426 if test "x$LINE" != x
; then
6427 eval "DEFAULT_$LINE"
6432 ac_cv_use_logwin
='wxUSE_LOGWINDOW='$DEFAULT_wxUSE_LOGWINDOW
6436 eval "$ac_cv_use_logwin"
6437 if test "$no_cache" != 1; then
6438 echo $ac_cv_use_logwin >> ${wx_arg_cache_file}.tmp
6441 if test "$wxUSE_LOGWINDOW" = yes; then
6442 echo "$as_me:$LINENO: result: yes" >&5
6443 echo "${ECHO_T}yes" >&6
6445 echo "$as_me:$LINENO: result: no" >&5
6446 echo "${ECHO_T}no" >&6
6451 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-logdialog" >&5
6452 echo $ECHO_N "checking for --${enablestring:-enable}-logdialog... $ECHO_C" >&6
6454 # Check whether --enable-logdialog or --disable-logdialog was given.
6455 if test "${enable_logdialog+set}" = set; then
6456 enableval
="$enable_logdialog"
6458 if test "$enableval" = yes; then
6459 ac_cv_use_logdialog
='wxUSE_LOGDIALOG=yes'
6461 ac_cv_use_logdialog
='wxUSE_LOGDIALOG=no'
6466 LINE
=`grep "wxUSE_LOGDIALOG" ${wx_arg_cache_file}`
6467 if test "x$LINE" != x
; then
6468 eval "DEFAULT_$LINE"
6473 ac_cv_use_logdialog
='wxUSE_LOGDIALOG='$DEFAULT_wxUSE_LOGDIALOG
6477 eval "$ac_cv_use_logdialog"
6478 if test "$no_cache" != 1; then
6479 echo $ac_cv_use_logdialog >> ${wx_arg_cache_file}.tmp
6482 if test "$wxUSE_LOGDIALOG" = yes; then
6483 echo "$as_me:$LINENO: result: yes" >&5
6484 echo "${ECHO_T}yes" >&6
6486 echo "$as_me:$LINENO: result: no" >&5
6487 echo "${ECHO_T}no" >&6
6493 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-postscript" >&5
6494 echo $ECHO_N "checking for --${enablestring:-enable}-postscript... $ECHO_C" >&6
6496 # Check whether --enable-postscript or --disable-postscript was given.
6497 if test "${enable_postscript+set}" = set; then
6498 enableval
="$enable_postscript"
6500 if test "$enableval" = yes; then
6501 ac_cv_use_postscript
='wxUSE_POSTSCRIPT=yes'
6503 ac_cv_use_postscript
='wxUSE_POSTSCRIPT=no'
6508 LINE
=`grep "wxUSE_POSTSCRIPT" ${wx_arg_cache_file}`
6509 if test "x$LINE" != x
; then
6510 eval "DEFAULT_$LINE"
6515 ac_cv_use_postscript
='wxUSE_POSTSCRIPT='$DEFAULT_wxUSE_POSTSCRIPT
6519 eval "$ac_cv_use_postscript"
6520 if test "$no_cache" != 1; then
6521 echo $ac_cv_use_postscript >> ${wx_arg_cache_file}.tmp
6524 if test "$wxUSE_POSTSCRIPT" = yes; then
6525 echo "$as_me:$LINENO: result: yes" >&5
6526 echo "${ECHO_T}yes" >&6
6528 echo "$as_me:$LINENO: result: no" >&5
6529 echo "${ECHO_T}no" >&6
6537 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-prologio" >&5
6538 echo $ECHO_N "checking for --${enablestring:-enable}-prologio... $ECHO_C" >&6
6540 # Check whether --enable-prologio or --disable-prologio was given.
6541 if test "${enable_prologio+set}" = set; then
6542 enableval
="$enable_prologio"
6544 if test "$enableval" = yes; then
6545 ac_cv_use_prologio
='wxUSE_PROLOGIO=yes'
6547 ac_cv_use_prologio
='wxUSE_PROLOGIO=no'
6552 LINE
=`grep "wxUSE_PROLOGIO" ${wx_arg_cache_file}`
6553 if test "x$LINE" != x
; then
6554 eval "DEFAULT_$LINE"
6559 ac_cv_use_prologio
='wxUSE_PROLOGIO='$DEFAULT_wxUSE_PROLOGIO
6563 eval "$ac_cv_use_prologio"
6564 if test "$no_cache" != 1; then
6565 echo $ac_cv_use_prologio >> ${wx_arg_cache_file}.tmp
6568 if test "$wxUSE_PROLOGIO" = yes; then
6569 echo "$as_me:$LINENO: result: yes" >&5
6570 echo "${ECHO_T}yes" >&6
6572 echo "$as_me:$LINENO: result: no" >&5
6573 echo "${ECHO_T}no" >&6
6578 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-resources" >&5
6579 echo $ECHO_N "checking for --${enablestring:-enable}-resources... $ECHO_C" >&6
6581 # Check whether --enable-resources or --disable-resources was given.
6582 if test "${enable_resources+set}" = set; then
6583 enableval
="$enable_resources"
6585 if test "$enableval" = yes; then
6586 ac_cv_use_resources
='wxUSE_RESOURCES=yes'
6588 ac_cv_use_resources
='wxUSE_RESOURCES=no'
6593 LINE
=`grep "wxUSE_RESOURCES" ${wx_arg_cache_file}`
6594 if test "x$LINE" != x
; then
6595 eval "DEFAULT_$LINE"
6600 ac_cv_use_resources
='wxUSE_RESOURCES='$DEFAULT_wxUSE_RESOURCES
6604 eval "$ac_cv_use_resources"
6605 if test "$no_cache" != 1; then
6606 echo $ac_cv_use_resources >> ${wx_arg_cache_file}.tmp
6609 if test "$wxUSE_RESOURCES" = yes; then
6610 echo "$as_me:$LINENO: result: yes" >&5
6611 echo "${ECHO_T}yes" >&6
6613 echo "$as_me:$LINENO: result: no" >&5
6614 echo "${ECHO_T}no" >&6
6621 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-clipboard" >&5
6622 echo $ECHO_N "checking for --${enablestring:-enable}-clipboard... $ECHO_C" >&6
6624 # Check whether --enable-clipboard or --disable-clipboard was given.
6625 if test "${enable_clipboard+set}" = set; then
6626 enableval
="$enable_clipboard"
6628 if test "$enableval" = yes; then
6629 ac_cv_use_clipboard
='wxUSE_CLIPBOARD=yes'
6631 ac_cv_use_clipboard
='wxUSE_CLIPBOARD=no'
6636 LINE
=`grep "wxUSE_CLIPBOARD" ${wx_arg_cache_file}`
6637 if test "x$LINE" != x
; then
6638 eval "DEFAULT_$LINE"
6643 ac_cv_use_clipboard
='wxUSE_CLIPBOARD='$DEFAULT_wxUSE_CLIPBOARD
6647 eval "$ac_cv_use_clipboard"
6648 if test "$no_cache" != 1; then
6649 echo $ac_cv_use_clipboard >> ${wx_arg_cache_file}.tmp
6652 if test "$wxUSE_CLIPBOARD" = yes; then
6653 echo "$as_me:$LINENO: result: yes" >&5
6654 echo "${ECHO_T}yes" >&6
6656 echo "$as_me:$LINENO: result: no" >&5
6657 echo "${ECHO_T}no" >&6
6662 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dnd" >&5
6663 echo $ECHO_N "checking for --${enablestring:-enable}-dnd... $ECHO_C" >&6
6665 # Check whether --enable-dnd or --disable-dnd was given.
6666 if test "${enable_dnd+set}" = set; then
6667 enableval
="$enable_dnd"
6669 if test "$enableval" = yes; then
6670 ac_cv_use_dnd
='wxUSE_DRAG_AND_DROP=yes'
6672 ac_cv_use_dnd
='wxUSE_DRAG_AND_DROP=no'
6677 LINE
=`grep "wxUSE_DRAG_AND_DROP" ${wx_arg_cache_file}`
6678 if test "x$LINE" != x
; then
6679 eval "DEFAULT_$LINE"
6684 ac_cv_use_dnd
='wxUSE_DRAG_AND_DROP='$DEFAULT_wxUSE_DRAG_AND_DROP
6688 eval "$ac_cv_use_dnd"
6689 if test "$no_cache" != 1; then
6690 echo $ac_cv_use_dnd >> ${wx_arg_cache_file}.tmp
6693 if test "$wxUSE_DRAG_AND_DROP" = yes; then
6694 echo "$as_me:$LINENO: result: yes" >&5
6695 echo "${ECHO_T}yes" >&6
6697 echo "$as_me:$LINENO: result: no" >&5
6698 echo "${ECHO_T}no" >&6
6703 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-metafile" >&5
6704 echo $ECHO_N "checking for --${enablestring:-enable}-metafile... $ECHO_C" >&6
6706 # Check whether --enable-metafile or --disable-metafile was given.
6707 if test "${enable_metafile+set}" = set; then
6708 enableval
="$enable_metafile"
6710 if test "$enableval" = yes; then
6711 ac_cv_use_metafile
='wxUSE_METAFILE=yes'
6713 ac_cv_use_metafile
='wxUSE_METAFILE=no'
6718 LINE
=`grep "wxUSE_METAFILE" ${wx_arg_cache_file}`
6719 if test "x$LINE" != x
; then
6720 eval "DEFAULT_$LINE"
6725 ac_cv_use_metafile
='wxUSE_METAFILE='$DEFAULT_wxUSE_METAFILE
6729 eval "$ac_cv_use_metafile"
6730 if test "$no_cache" != 1; then
6731 echo $ac_cv_use_metafile >> ${wx_arg_cache_file}.tmp
6734 if test "$wxUSE_METAFILE" = yes; then
6735 echo "$as_me:$LINENO: result: yes" >&5
6736 echo "${ECHO_T}yes" >&6
6738 echo "$as_me:$LINENO: result: no" >&5
6739 echo "${ECHO_T}no" >&6
6747 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-controls" >&5
6748 echo $ECHO_N "checking for --${enablestring:-enable}-controls... $ECHO_C" >&6
6750 # Check whether --enable-controls or --disable-controls was given.
6751 if test "${enable_controls+set}" = set; then
6752 enableval
="$enable_controls"
6754 if test "$enableval" = yes; then
6755 ac_cv_use_controls
='wxUSE_CONTROLS=yes'
6757 ac_cv_use_controls
='wxUSE_CONTROLS=no'
6762 LINE
=`grep "wxUSE_CONTROLS" ${wx_arg_cache_file}`
6763 if test "x$LINE" != x
; then
6764 eval "DEFAULT_$LINE"
6769 ac_cv_use_controls
='wxUSE_CONTROLS='$DEFAULT_wxUSE_CONTROLS
6773 eval "$ac_cv_use_controls"
6774 if test "$no_cache" != 1; then
6775 echo $ac_cv_use_controls >> ${wx_arg_cache_file}.tmp
6778 if test "$wxUSE_CONTROLS" = yes; then
6779 echo "$as_me:$LINENO: result: yes" >&5
6780 echo "${ECHO_T}yes" >&6
6782 echo "$as_me:$LINENO: result: no" >&5
6783 echo "${ECHO_T}no" >&6
6787 if test "$wxUSE_CONTROLS" = "yes"; then
6788 DEFAULT_wxUSE_ACCEL
=yes
6789 DEFAULT_wxUSE_BMPBUTTON
=yes
6790 DEFAULT_wxUSE_BUTTON
=yes
6791 DEFAULT_wxUSE_CALCTRL
=no
6792 DEFAULT_wxUSE_CARET
=yes
6793 DEFAULT_wxUSE_COMBOBOX
=yes
6794 DEFAULT_wxUSE_CHECKBOX
=yes
6795 DEFAULT_wxUSE_CHECKLISTBOX
=yes
6796 DEFAULT_wxUSE_CHOICE
=yes
6797 DEFAULT_wxUSE_GAUGE
=yes
6798 DEFAULT_wxUSE_GRID
=yes
6799 DEFAULT_wxUSE_IMAGLIST
=yes
6800 DEFAULT_wxUSE_LISTBOOK
=yes
6801 DEFAULT_wxUSE_LISTBOX
=yes
6802 DEFAULT_wxUSE_LISTCTRL
=yes
6803 DEFAULT_wxUSE_NOTEBOOK
=yes
6804 DEFAULT_wxUSE_RADIOBOX
=yes
6805 DEFAULT_wxUSE_RADIOBTN
=yes
6806 DEFAULT_wxUSE_SASH
=yes
6807 DEFAULT_wxUSE_SCROLLBAR
=yes
6808 DEFAULT_wxUSE_SLIDER
=yes
6809 DEFAULT_wxUSE_SPINBTN
=yes
6810 DEFAULT_wxUSE_SPINCTRL
=yes
6811 DEFAULT_wxUSE_SPLITTER
=yes
6812 DEFAULT_wxUSE_STATBMP
=yes
6813 DEFAULT_wxUSE_STATBOX
=yes
6814 DEFAULT_wxUSE_STATLINE
=yes
6815 DEFAULT_wxUSE_STATUSBAR
=yes
6816 DEFAULT_wxUSE_TAB_DIALOG
=yes
6817 DEFAULT_wxUSE_TOGGLEBTN
=yes
6818 DEFAULT_wxUSE_TOOLBAR
=yes
6819 DEFAULT_wxUSE_TOOLBAR_NATIVE
=yes
6820 DEFAULT_wxUSE_TOOLBAR_SIMPLE
=yes
6821 DEFAULT_wxUSE_TOOLTIPS
=yes
6822 DEFAULT_wxUSE_TREECTRL
=yes
6823 DEFAULT_wxUSE_POPUPWIN
=yes
6824 DEFAULT_wxUSE_TIPWINDOW
=yes
6825 elif test "$wxUSE_CONTROLS" = "no"; then
6826 DEFAULT_wxUSE_ACCEL
=no
6827 DEFAULT_wxUSE_BMPBUTTON
=no
6828 DEFAULT_wxUSE_BUTTON
=no
6829 DEFAULT_wxUSE_CALCTRL
=no
6830 DEFAULT_wxUSE_CARET
=no
6831 DEFAULT_wxUSE_COMBOBOX
=no
6832 DEFAULT_wxUSE_CHECKBOX
=no
6833 DEFAULT_wxUSE_CHECKLISTBOX
=no
6834 DEFAULT_wxUSE_CHOICE
=no
6835 DEFAULT_wxUSE_GAUGE
=no
6836 DEFAULT_wxUSE_GRID
=no
6837 DEFAULT_wxUSE_IMAGLIST
=no
6838 DEFAULT_wxUSE_LISTBOOK
=no
6839 DEFAULT_wxUSE_LISTBOX
=no
6840 DEFAULT_wxUSE_LISTCTRL
=no
6841 DEFAULT_wxUSE_NOTEBOOK
=no
6842 DEFAULT_wxUSE_RADIOBOX
=no
6843 DEFAULT_wxUSE_RADIOBTN
=no
6844 DEFAULT_wxUSE_SASH
=no
6845 DEFAULT_wxUSE_SCROLLBAR
=no
6846 DEFAULT_wxUSE_SLIDER
=no
6847 DEFAULT_wxUSE_SPINBTN
=no
6848 DEFAULT_wxUSE_SPINCTRL
=no
6849 DEFAULT_wxUSE_SPLITTER
=no
6850 DEFAULT_wxUSE_STATBMP
=no
6851 DEFAULT_wxUSE_STATBOX
=no
6852 DEFAULT_wxUSE_STATLINE
=no
6853 DEFAULT_wxUSE_STATUSBAR
=no
6854 DEFAULT_wxUSE_TAB_DIALOG
=no
6855 DEFAULT_wxUSE_TOGGLEBTN
=no
6856 DEFAULT_wxUSE_TOOLBAR
=no
6857 DEFAULT_wxUSE_TOOLBAR_NATIVE
=no
6858 DEFAULT_wxUSE_TOOLBAR_SIMPLE
=no
6859 DEFAULT_wxUSE_TOOLTIPS
=no
6860 DEFAULT_wxUSE_TREECTRL
=no
6861 DEFAULT_wxUSE_POPUPWIN
=no
6862 DEFAULT_wxUSE_TIPWINDOW
=no
6865 ## FIXME: This is a blatant hack
6866 if test "x$wxUSE_COCOA" != "x" -a "$wxUSE_COCOA" != "0" ; then
6867 wxUSE_PRINTING_ARCHITECTURE
=no
6868 wxUSE_DRAG_AND_DROP
=no
6869 # Generic notebook requires tab dialog
6870 DEFAULT_wxUSE_TABDIALOG
=yes
6871 DEFAULT_wxUSE_SCROLLBAR
=no
6872 DEFAULT_wxUSE_TOOLTIPS
=no
6873 DEFAULT_wxUSE_DRAGIMAGE
=no
6878 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-accel" >&5
6879 echo $ECHO_N "checking for --${enablestring:-enable}-accel... $ECHO_C" >&6
6881 # Check whether --enable-accel or --disable-accel was given.
6882 if test "${enable_accel+set}" = set; then
6883 enableval
="$enable_accel"
6885 if test "$enableval" = yes; then
6886 ac_cv_use_accel
='wxUSE_ACCEL=yes'
6888 ac_cv_use_accel
='wxUSE_ACCEL=no'
6893 LINE
=`grep "wxUSE_ACCEL" ${wx_arg_cache_file}`
6894 if test "x$LINE" != x
; then
6895 eval "DEFAULT_$LINE"
6900 ac_cv_use_accel
='wxUSE_ACCEL='$DEFAULT_wxUSE_ACCEL
6904 eval "$ac_cv_use_accel"
6905 if test "$no_cache" != 1; then
6906 echo $ac_cv_use_accel >> ${wx_arg_cache_file}.tmp
6909 if test "$wxUSE_ACCEL" = yes; then
6910 echo "$as_me:$LINENO: result: yes" >&5
6911 echo "${ECHO_T}yes" >&6
6913 echo "$as_me:$LINENO: result: no" >&5
6914 echo "${ECHO_T}no" >&6
6919 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-button" >&5
6920 echo $ECHO_N "checking for --${enablestring:-enable}-button... $ECHO_C" >&6
6922 # Check whether --enable-button or --disable-button was given.
6923 if test "${enable_button+set}" = set; then
6924 enableval
="$enable_button"
6926 if test "$enableval" = yes; then
6927 ac_cv_use_button
='wxUSE_BUTTON=yes'
6929 ac_cv_use_button
='wxUSE_BUTTON=no'
6934 LINE
=`grep "wxUSE_BUTTON" ${wx_arg_cache_file}`
6935 if test "x$LINE" != x
; then
6936 eval "DEFAULT_$LINE"
6941 ac_cv_use_button
='wxUSE_BUTTON='$DEFAULT_wxUSE_BUTTON
6945 eval "$ac_cv_use_button"
6946 if test "$no_cache" != 1; then
6947 echo $ac_cv_use_button >> ${wx_arg_cache_file}.tmp
6950 if test "$wxUSE_BUTTON" = yes; then
6951 echo "$as_me:$LINENO: result: yes" >&5
6952 echo "${ECHO_T}yes" >&6
6954 echo "$as_me:$LINENO: result: no" >&5
6955 echo "${ECHO_T}no" >&6
6960 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-bmpbutton" >&5
6961 echo $ECHO_N "checking for --${enablestring:-enable}-bmpbutton... $ECHO_C" >&6
6963 # Check whether --enable-bmpbutton or --disable-bmpbutton was given.
6964 if test "${enable_bmpbutton+set}" = set; then
6965 enableval
="$enable_bmpbutton"
6967 if test "$enableval" = yes; then
6968 ac_cv_use_bmpbutton
='wxUSE_BMPBUTTON=yes'
6970 ac_cv_use_bmpbutton
='wxUSE_BMPBUTTON=no'
6975 LINE
=`grep "wxUSE_BMPBUTTON" ${wx_arg_cache_file}`
6976 if test "x$LINE" != x
; then
6977 eval "DEFAULT_$LINE"
6982 ac_cv_use_bmpbutton
='wxUSE_BMPBUTTON='$DEFAULT_wxUSE_BMPBUTTON
6986 eval "$ac_cv_use_bmpbutton"
6987 if test "$no_cache" != 1; then
6988 echo $ac_cv_use_bmpbutton >> ${wx_arg_cache_file}.tmp
6991 if test "$wxUSE_BMPBUTTON" = yes; then
6992 echo "$as_me:$LINENO: result: yes" >&5
6993 echo "${ECHO_T}yes" >&6
6995 echo "$as_me:$LINENO: result: no" >&5
6996 echo "${ECHO_T}no" >&6
7001 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-calendar" >&5
7002 echo $ECHO_N "checking for --${enablestring:-enable}-calendar... $ECHO_C" >&6
7004 # Check whether --enable-calendar or --disable-calendar was given.
7005 if test "${enable_calendar+set}" = set; then
7006 enableval
="$enable_calendar"
7008 if test "$enableval" = yes; then
7009 ac_cv_use_calendar
='wxUSE_CALCTRL=yes'
7011 ac_cv_use_calendar
='wxUSE_CALCTRL=no'
7016 LINE
=`grep "wxUSE_CALCTRL" ${wx_arg_cache_file}`
7017 if test "x$LINE" != x
; then
7018 eval "DEFAULT_$LINE"
7023 ac_cv_use_calendar
='wxUSE_CALCTRL='$DEFAULT_wxUSE_CALCTRL
7027 eval "$ac_cv_use_calendar"
7028 if test "$no_cache" != 1; then
7029 echo $ac_cv_use_calendar >> ${wx_arg_cache_file}.tmp
7032 if test "$wxUSE_CALCTRL" = yes; then
7033 echo "$as_me:$LINENO: result: yes" >&5
7034 echo "${ECHO_T}yes" >&6
7036 echo "$as_me:$LINENO: result: no" >&5
7037 echo "${ECHO_T}no" >&6
7042 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-caret" >&5
7043 echo $ECHO_N "checking for --${enablestring:-enable}-caret... $ECHO_C" >&6
7045 # Check whether --enable-caret or --disable-caret was given.
7046 if test "${enable_caret+set}" = set; then
7047 enableval
="$enable_caret"
7049 if test "$enableval" = yes; then
7050 ac_cv_use_caret
='wxUSE_CARET=yes'
7052 ac_cv_use_caret
='wxUSE_CARET=no'
7057 LINE
=`grep "wxUSE_CARET" ${wx_arg_cache_file}`
7058 if test "x$LINE" != x
; then
7059 eval "DEFAULT_$LINE"
7064 ac_cv_use_caret
='wxUSE_CARET='$DEFAULT_wxUSE_CARET
7068 eval "$ac_cv_use_caret"
7069 if test "$no_cache" != 1; then
7070 echo $ac_cv_use_caret >> ${wx_arg_cache_file}.tmp
7073 if test "$wxUSE_CARET" = yes; then
7074 echo "$as_me:$LINENO: result: yes" >&5
7075 echo "${ECHO_T}yes" >&6
7077 echo "$as_me:$LINENO: result: no" >&5
7078 echo "${ECHO_T}no" >&6
7083 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-checkbox" >&5
7084 echo $ECHO_N "checking for --${enablestring:-enable}-checkbox... $ECHO_C" >&6
7086 # Check whether --enable-checkbox or --disable-checkbox was given.
7087 if test "${enable_checkbox+set}" = set; then
7088 enableval
="$enable_checkbox"
7090 if test "$enableval" = yes; then
7091 ac_cv_use_checkbox
='wxUSE_CHECKBOX=yes'
7093 ac_cv_use_checkbox
='wxUSE_CHECKBOX=no'
7098 LINE
=`grep "wxUSE_CHECKBOX" ${wx_arg_cache_file}`
7099 if test "x$LINE" != x
; then
7100 eval "DEFAULT_$LINE"
7105 ac_cv_use_checkbox
='wxUSE_CHECKBOX='$DEFAULT_wxUSE_CHECKBOX
7109 eval "$ac_cv_use_checkbox"
7110 if test "$no_cache" != 1; then
7111 echo $ac_cv_use_checkbox >> ${wx_arg_cache_file}.tmp
7114 if test "$wxUSE_CHECKBOX" = yes; then
7115 echo "$as_me:$LINENO: result: yes" >&5
7116 echo "${ECHO_T}yes" >&6
7118 echo "$as_me:$LINENO: result: no" >&5
7119 echo "${ECHO_T}no" >&6
7124 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-checklst" >&5
7125 echo $ECHO_N "checking for --${enablestring:-enable}-checklst... $ECHO_C" >&6
7127 # Check whether --enable-checklst or --disable-checklst was given.
7128 if test "${enable_checklst+set}" = set; then
7129 enableval
="$enable_checklst"
7131 if test "$enableval" = yes; then
7132 ac_cv_use_checklst
='wxUSE_CHECKLST=yes'
7134 ac_cv_use_checklst
='wxUSE_CHECKLST=no'
7139 LINE
=`grep "wxUSE_CHECKLST" ${wx_arg_cache_file}`
7140 if test "x$LINE" != x
; then
7141 eval "DEFAULT_$LINE"
7146 ac_cv_use_checklst
='wxUSE_CHECKLST='$DEFAULT_wxUSE_CHECKLST
7150 eval "$ac_cv_use_checklst"
7151 if test "$no_cache" != 1; then
7152 echo $ac_cv_use_checklst >> ${wx_arg_cache_file}.tmp
7155 if test "$wxUSE_CHECKLST" = yes; then
7156 echo "$as_me:$LINENO: result: yes" >&5
7157 echo "${ECHO_T}yes" >&6
7159 echo "$as_me:$LINENO: result: no" >&5
7160 echo "${ECHO_T}no" >&6
7165 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choice" >&5
7166 echo $ECHO_N "checking for --${enablestring:-enable}-choice... $ECHO_C" >&6
7168 # Check whether --enable-choice or --disable-choice was given.
7169 if test "${enable_choice+set}" = set; then
7170 enableval
="$enable_choice"
7172 if test "$enableval" = yes; then
7173 ac_cv_use_choice
='wxUSE_CHOICE=yes'
7175 ac_cv_use_choice
='wxUSE_CHOICE=no'
7180 LINE
=`grep "wxUSE_CHOICE" ${wx_arg_cache_file}`
7181 if test "x$LINE" != x
; then
7182 eval "DEFAULT_$LINE"
7187 ac_cv_use_choice
='wxUSE_CHOICE='$DEFAULT_wxUSE_CHOICE
7191 eval "$ac_cv_use_choice"
7192 if test "$no_cache" != 1; then
7193 echo $ac_cv_use_choice >> ${wx_arg_cache_file}.tmp
7196 if test "$wxUSE_CHOICE" = yes; then
7197 echo "$as_me:$LINENO: result: yes" >&5
7198 echo "${ECHO_T}yes" >&6
7200 echo "$as_me:$LINENO: result: no" >&5
7201 echo "${ECHO_T}no" >&6
7206 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-combobox" >&5
7207 echo $ECHO_N "checking for --${enablestring:-enable}-combobox... $ECHO_C" >&6
7209 # Check whether --enable-combobox or --disable-combobox was given.
7210 if test "${enable_combobox+set}" = set; then
7211 enableval
="$enable_combobox"
7213 if test "$enableval" = yes; then
7214 ac_cv_use_combobox
='wxUSE_COMBOBOX=yes'
7216 ac_cv_use_combobox
='wxUSE_COMBOBOX=no'
7221 LINE
=`grep "wxUSE_COMBOBOX" ${wx_arg_cache_file}`
7222 if test "x$LINE" != x
; then
7223 eval "DEFAULT_$LINE"
7228 ac_cv_use_combobox
='wxUSE_COMBOBOX='$DEFAULT_wxUSE_COMBOBOX
7232 eval "$ac_cv_use_combobox"
7233 if test "$no_cache" != 1; then
7234 echo $ac_cv_use_combobox >> ${wx_arg_cache_file}.tmp
7237 if test "$wxUSE_COMBOBOX" = yes; then
7238 echo "$as_me:$LINENO: result: yes" >&5
7239 echo "${ECHO_T}yes" >&6
7241 echo "$as_me:$LINENO: result: no" >&5
7242 echo "${ECHO_T}no" >&6
7247 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-display" >&5
7248 echo $ECHO_N "checking for --${enablestring:-enable}-display... $ECHO_C" >&6
7250 # Check whether --enable-display or --disable-display was given.
7251 if test "${enable_display+set}" = set; then
7252 enableval
="$enable_display"
7254 if test "$enableval" = yes; then
7255 ac_cv_use_display
='wxUSE_DISPLAY=yes'
7257 ac_cv_use_display
='wxUSE_DISPLAY=no'
7262 LINE
=`grep "wxUSE_DISPLAY" ${wx_arg_cache_file}`
7263 if test "x$LINE" != x
; then
7264 eval "DEFAULT_$LINE"
7269 ac_cv_use_display
='wxUSE_DISPLAY='$DEFAULT_wxUSE_DISPLAY
7273 eval "$ac_cv_use_display"
7274 if test "$no_cache" != 1; then
7275 echo $ac_cv_use_display >> ${wx_arg_cache_file}.tmp
7278 if test "$wxUSE_DISPLAY" = yes; then
7279 echo "$as_me:$LINENO: result: yes" >&5
7280 echo "${ECHO_T}yes" >&6
7282 echo "$as_me:$LINENO: result: no" >&5
7283 echo "${ECHO_T}no" >&6
7288 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gauge" >&5
7289 echo $ECHO_N "checking for --${enablestring:-enable}-gauge... $ECHO_C" >&6
7291 # Check whether --enable-gauge or --disable-gauge was given.
7292 if test "${enable_gauge+set}" = set; then
7293 enableval
="$enable_gauge"
7295 if test "$enableval" = yes; then
7296 ac_cv_use_gauge
='wxUSE_GAUGE=yes'
7298 ac_cv_use_gauge
='wxUSE_GAUGE=no'
7303 LINE
=`grep "wxUSE_GAUGE" ${wx_arg_cache_file}`
7304 if test "x$LINE" != x
; then
7305 eval "DEFAULT_$LINE"
7310 ac_cv_use_gauge
='wxUSE_GAUGE='$DEFAULT_wxUSE_GAUGE
7314 eval "$ac_cv_use_gauge"
7315 if test "$no_cache" != 1; then
7316 echo $ac_cv_use_gauge >> ${wx_arg_cache_file}.tmp
7319 if test "$wxUSE_GAUGE" = yes; then
7320 echo "$as_me:$LINENO: result: yes" >&5
7321 echo "${ECHO_T}yes" >&6
7323 echo "$as_me:$LINENO: result: no" >&5
7324 echo "${ECHO_T}no" >&6
7329 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-grid" >&5
7330 echo $ECHO_N "checking for --${enablestring:-enable}-grid... $ECHO_C" >&6
7332 # Check whether --enable-grid or --disable-grid was given.
7333 if test "${enable_grid+set}" = set; then
7334 enableval
="$enable_grid"
7336 if test "$enableval" = yes; then
7337 ac_cv_use_grid
='wxUSE_GRID=yes'
7339 ac_cv_use_grid
='wxUSE_GRID=no'
7344 LINE
=`grep "wxUSE_GRID" ${wx_arg_cache_file}`
7345 if test "x$LINE" != x
; then
7346 eval "DEFAULT_$LINE"
7351 ac_cv_use_grid
='wxUSE_GRID='$DEFAULT_wxUSE_GRID
7355 eval "$ac_cv_use_grid"
7356 if test "$no_cache" != 1; then
7357 echo $ac_cv_use_grid >> ${wx_arg_cache_file}.tmp
7360 if test "$wxUSE_GRID" = yes; then
7361 echo "$as_me:$LINENO: result: yes" >&5
7362 echo "${ECHO_T}yes" >&6
7364 echo "$as_me:$LINENO: result: no" >&5
7365 echo "${ECHO_T}no" >&6
7370 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-imaglist" >&5
7371 echo $ECHO_N "checking for --${enablestring:-enable}-imaglist... $ECHO_C" >&6
7373 # Check whether --enable-imaglist or --disable-imaglist was given.
7374 if test "${enable_imaglist+set}" = set; then
7375 enableval
="$enable_imaglist"
7377 if test "$enableval" = yes; then
7378 ac_cv_use_imaglist
='wxUSE_IMAGLIST=yes'
7380 ac_cv_use_imaglist
='wxUSE_IMAGLIST=no'
7385 LINE
=`grep "wxUSE_IMAGLIST" ${wx_arg_cache_file}`
7386 if test "x$LINE" != x
; then
7387 eval "DEFAULT_$LINE"
7392 ac_cv_use_imaglist
='wxUSE_IMAGLIST='$DEFAULT_wxUSE_IMAGLIST
7396 eval "$ac_cv_use_imaglist"
7397 if test "$no_cache" != 1; then
7398 echo $ac_cv_use_imaglist >> ${wx_arg_cache_file}.tmp
7401 if test "$wxUSE_IMAGLIST" = yes; then
7402 echo "$as_me:$LINENO: result: yes" >&5
7403 echo "${ECHO_T}yes" >&6
7405 echo "$as_me:$LINENO: result: no" >&5
7406 echo "${ECHO_T}no" >&6
7411 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listbook" >&5
7412 echo $ECHO_N "checking for --${enablestring:-enable}-listbook... $ECHO_C" >&6
7414 # Check whether --enable-listbook or --disable-listbook was given.
7415 if test "${enable_listbook+set}" = set; then
7416 enableval
="$enable_listbook"
7418 if test "$enableval" = yes; then
7419 ac_cv_use_listbook
='wxUSE_LISTBOOK=yes'
7421 ac_cv_use_listbook
='wxUSE_LISTBOOK=no'
7426 LINE
=`grep "wxUSE_LISTBOOK" ${wx_arg_cache_file}`
7427 if test "x$LINE" != x
; then
7428 eval "DEFAULT_$LINE"
7433 ac_cv_use_listbook
='wxUSE_LISTBOOK='$DEFAULT_wxUSE_LISTBOOK
7437 eval "$ac_cv_use_listbook"
7438 if test "$no_cache" != 1; then
7439 echo $ac_cv_use_listbook >> ${wx_arg_cache_file}.tmp
7442 if test "$wxUSE_LISTBOOK" = yes; then
7443 echo "$as_me:$LINENO: result: yes" >&5
7444 echo "${ECHO_T}yes" >&6
7446 echo "$as_me:$LINENO: result: no" >&5
7447 echo "${ECHO_T}no" >&6
7452 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listbox" >&5
7453 echo $ECHO_N "checking for --${enablestring:-enable}-listbox... $ECHO_C" >&6
7455 # Check whether --enable-listbox or --disable-listbox was given.
7456 if test "${enable_listbox+set}" = set; then
7457 enableval
="$enable_listbox"
7459 if test "$enableval" = yes; then
7460 ac_cv_use_listbox
='wxUSE_LISTBOX=yes'
7462 ac_cv_use_listbox
='wxUSE_LISTBOX=no'
7467 LINE
=`grep "wxUSE_LISTBOX" ${wx_arg_cache_file}`
7468 if test "x$LINE" != x
; then
7469 eval "DEFAULT_$LINE"
7474 ac_cv_use_listbox
='wxUSE_LISTBOX='$DEFAULT_wxUSE_LISTBOX
7478 eval "$ac_cv_use_listbox"
7479 if test "$no_cache" != 1; then
7480 echo $ac_cv_use_listbox >> ${wx_arg_cache_file}.tmp
7483 if test "$wxUSE_LISTBOX" = yes; then
7484 echo "$as_me:$LINENO: result: yes" >&5
7485 echo "${ECHO_T}yes" >&6
7487 echo "$as_me:$LINENO: result: no" >&5
7488 echo "${ECHO_T}no" >&6
7493 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listctrl" >&5
7494 echo $ECHO_N "checking for --${enablestring:-enable}-listctrl... $ECHO_C" >&6
7496 # Check whether --enable-listctrl or --disable-listctrl was given.
7497 if test "${enable_listctrl+set}" = set; then
7498 enableval
="$enable_listctrl"
7500 if test "$enableval" = yes; then
7501 ac_cv_use_listctrl
='wxUSE_LISTCTRL=yes'
7503 ac_cv_use_listctrl
='wxUSE_LISTCTRL=no'
7508 LINE
=`grep "wxUSE_LISTCTRL" ${wx_arg_cache_file}`
7509 if test "x$LINE" != x
; then
7510 eval "DEFAULT_$LINE"
7515 ac_cv_use_listctrl
='wxUSE_LISTCTRL='$DEFAULT_wxUSE_LISTCTRL
7519 eval "$ac_cv_use_listctrl"
7520 if test "$no_cache" != 1; then
7521 echo $ac_cv_use_listctrl >> ${wx_arg_cache_file}.tmp
7524 if test "$wxUSE_LISTCTRL" = yes; then
7525 echo "$as_me:$LINENO: result: yes" >&5
7526 echo "${ECHO_T}yes" >&6
7528 echo "$as_me:$LINENO: result: no" >&5
7529 echo "${ECHO_T}no" >&6
7534 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-notebook" >&5
7535 echo $ECHO_N "checking for --${enablestring:-enable}-notebook... $ECHO_C" >&6
7537 # Check whether --enable-notebook or --disable-notebook was given.
7538 if test "${enable_notebook+set}" = set; then
7539 enableval
="$enable_notebook"
7541 if test "$enableval" = yes; then
7542 ac_cv_use_notebook
='wxUSE_NOTEBOOK=yes'
7544 ac_cv_use_notebook
='wxUSE_NOTEBOOK=no'
7549 LINE
=`grep "wxUSE_NOTEBOOK" ${wx_arg_cache_file}`
7550 if test "x$LINE" != x
; then
7551 eval "DEFAULT_$LINE"
7556 ac_cv_use_notebook
='wxUSE_NOTEBOOK='$DEFAULT_wxUSE_NOTEBOOK
7560 eval "$ac_cv_use_notebook"
7561 if test "$no_cache" != 1; then
7562 echo $ac_cv_use_notebook >> ${wx_arg_cache_file}.tmp
7565 if test "$wxUSE_NOTEBOOK" = yes; then
7566 echo "$as_me:$LINENO: result: yes" >&5
7567 echo "${ECHO_T}yes" >&6
7569 echo "$as_me:$LINENO: result: no" >&5
7570 echo "${ECHO_T}no" >&6
7575 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-radiobox" >&5
7576 echo $ECHO_N "checking for --${enablestring:-enable}-radiobox... $ECHO_C" >&6
7578 # Check whether --enable-radiobox or --disable-radiobox was given.
7579 if test "${enable_radiobox+set}" = set; then
7580 enableval
="$enable_radiobox"
7582 if test "$enableval" = yes; then
7583 ac_cv_use_radiobox
='wxUSE_RADIOBOX=yes'
7585 ac_cv_use_radiobox
='wxUSE_RADIOBOX=no'
7590 LINE
=`grep "wxUSE_RADIOBOX" ${wx_arg_cache_file}`
7591 if test "x$LINE" != x
; then
7592 eval "DEFAULT_$LINE"
7597 ac_cv_use_radiobox
='wxUSE_RADIOBOX='$DEFAULT_wxUSE_RADIOBOX
7601 eval "$ac_cv_use_radiobox"
7602 if test "$no_cache" != 1; then
7603 echo $ac_cv_use_radiobox >> ${wx_arg_cache_file}.tmp
7606 if test "$wxUSE_RADIOBOX" = yes; then
7607 echo "$as_me:$LINENO: result: yes" >&5
7608 echo "${ECHO_T}yes" >&6
7610 echo "$as_me:$LINENO: result: no" >&5
7611 echo "${ECHO_T}no" >&6
7616 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-radiobtn" >&5
7617 echo $ECHO_N "checking for --${enablestring:-enable}-radiobtn... $ECHO_C" >&6
7619 # Check whether --enable-radiobtn or --disable-radiobtn was given.
7620 if test "${enable_radiobtn+set}" = set; then
7621 enableval
="$enable_radiobtn"
7623 if test "$enableval" = yes; then
7624 ac_cv_use_radiobtn
='wxUSE_RADIOBTN=yes'
7626 ac_cv_use_radiobtn
='wxUSE_RADIOBTN=no'
7631 LINE
=`grep "wxUSE_RADIOBTN" ${wx_arg_cache_file}`
7632 if test "x$LINE" != x
; then
7633 eval "DEFAULT_$LINE"
7638 ac_cv_use_radiobtn
='wxUSE_RADIOBTN='$DEFAULT_wxUSE_RADIOBTN
7642 eval "$ac_cv_use_radiobtn"
7643 if test "$no_cache" != 1; then
7644 echo $ac_cv_use_radiobtn >> ${wx_arg_cache_file}.tmp
7647 if test "$wxUSE_RADIOBTN" = yes; then
7648 echo "$as_me:$LINENO: result: yes" >&5
7649 echo "${ECHO_T}yes" >&6
7651 echo "$as_me:$LINENO: result: no" >&5
7652 echo "${ECHO_T}no" >&6
7657 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sash" >&5
7658 echo $ECHO_N "checking for --${enablestring:-enable}-sash... $ECHO_C" >&6
7660 # Check whether --enable-sash or --disable-sash was given.
7661 if test "${enable_sash+set}" = set; then
7662 enableval
="$enable_sash"
7664 if test "$enableval" = yes; then
7665 ac_cv_use_sash
='wxUSE_SASH=yes'
7667 ac_cv_use_sash
='wxUSE_SASH=no'
7672 LINE
=`grep "wxUSE_SASH" ${wx_arg_cache_file}`
7673 if test "x$LINE" != x
; then
7674 eval "DEFAULT_$LINE"
7679 ac_cv_use_sash
='wxUSE_SASH='$DEFAULT_wxUSE_SASH
7683 eval "$ac_cv_use_sash"
7684 if test "$no_cache" != 1; then
7685 echo $ac_cv_use_sash >> ${wx_arg_cache_file}.tmp
7688 if test "$wxUSE_SASH" = yes; then
7689 echo "$as_me:$LINENO: result: yes" >&5
7690 echo "${ECHO_T}yes" >&6
7692 echo "$as_me:$LINENO: result: no" >&5
7693 echo "${ECHO_T}no" >&6
7698 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-scrollbar" >&5
7699 echo $ECHO_N "checking for --${enablestring:-enable}-scrollbar... $ECHO_C" >&6
7701 # Check whether --enable-scrollbar or --disable-scrollbar was given.
7702 if test "${enable_scrollbar+set}" = set; then
7703 enableval
="$enable_scrollbar"
7705 if test "$enableval" = yes; then
7706 ac_cv_use_scrollbar
='wxUSE_SCROLLBAR=yes'
7708 ac_cv_use_scrollbar
='wxUSE_SCROLLBAR=no'
7713 LINE
=`grep "wxUSE_SCROLLBAR" ${wx_arg_cache_file}`
7714 if test "x$LINE" != x
; then
7715 eval "DEFAULT_$LINE"
7720 ac_cv_use_scrollbar
='wxUSE_SCROLLBAR='$DEFAULT_wxUSE_SCROLLBAR
7724 eval "$ac_cv_use_scrollbar"
7725 if test "$no_cache" != 1; then
7726 echo $ac_cv_use_scrollbar >> ${wx_arg_cache_file}.tmp
7729 if test "$wxUSE_SCROLLBAR" = yes; then
7730 echo "$as_me:$LINENO: result: yes" >&5
7731 echo "${ECHO_T}yes" >&6
7733 echo "$as_me:$LINENO: result: no" >&5
7734 echo "${ECHO_T}no" >&6
7739 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-slider" >&5
7740 echo $ECHO_N "checking for --${enablestring:-enable}-slider... $ECHO_C" >&6
7742 # Check whether --enable-slider or --disable-slider was given.
7743 if test "${enable_slider+set}" = set; then
7744 enableval
="$enable_slider"
7746 if test "$enableval" = yes; then
7747 ac_cv_use_slider
='wxUSE_SLIDER=yes'
7749 ac_cv_use_slider
='wxUSE_SLIDER=no'
7754 LINE
=`grep "wxUSE_SLIDER" ${wx_arg_cache_file}`
7755 if test "x$LINE" != x
; then
7756 eval "DEFAULT_$LINE"
7761 ac_cv_use_slider
='wxUSE_SLIDER='$DEFAULT_wxUSE_SLIDER
7765 eval "$ac_cv_use_slider"
7766 if test "$no_cache" != 1; then
7767 echo $ac_cv_use_slider >> ${wx_arg_cache_file}.tmp
7770 if test "$wxUSE_SLIDER" = yes; then
7771 echo "$as_me:$LINENO: result: yes" >&5
7772 echo "${ECHO_T}yes" >&6
7774 echo "$as_me:$LINENO: result: no" >&5
7775 echo "${ECHO_T}no" >&6
7780 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-spinbtn" >&5
7781 echo $ECHO_N "checking for --${enablestring:-enable}-spinbtn... $ECHO_C" >&6
7783 # Check whether --enable-spinbtn or --disable-spinbtn was given.
7784 if test "${enable_spinbtn+set}" = set; then
7785 enableval
="$enable_spinbtn"
7787 if test "$enableval" = yes; then
7788 ac_cv_use_spinbtn
='wxUSE_SPINBTN=yes'
7790 ac_cv_use_spinbtn
='wxUSE_SPINBTN=no'
7795 LINE
=`grep "wxUSE_SPINBTN" ${wx_arg_cache_file}`
7796 if test "x$LINE" != x
; then
7797 eval "DEFAULT_$LINE"
7802 ac_cv_use_spinbtn
='wxUSE_SPINBTN='$DEFAULT_wxUSE_SPINBTN
7806 eval "$ac_cv_use_spinbtn"
7807 if test "$no_cache" != 1; then
7808 echo $ac_cv_use_spinbtn >> ${wx_arg_cache_file}.tmp
7811 if test "$wxUSE_SPINBTN" = yes; then
7812 echo "$as_me:$LINENO: result: yes" >&5
7813 echo "${ECHO_T}yes" >&6
7815 echo "$as_me:$LINENO: result: no" >&5
7816 echo "${ECHO_T}no" >&6
7821 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-spinctrl" >&5
7822 echo $ECHO_N "checking for --${enablestring:-enable}-spinctrl... $ECHO_C" >&6
7824 # Check whether --enable-spinctrl or --disable-spinctrl was given.
7825 if test "${enable_spinctrl+set}" = set; then
7826 enableval
="$enable_spinctrl"
7828 if test "$enableval" = yes; then
7829 ac_cv_use_spinctrl
='wxUSE_SPINCTRL=yes'
7831 ac_cv_use_spinctrl
='wxUSE_SPINCTRL=no'
7836 LINE
=`grep "wxUSE_SPINCTRL" ${wx_arg_cache_file}`
7837 if test "x$LINE" != x
; then
7838 eval "DEFAULT_$LINE"
7843 ac_cv_use_spinctrl
='wxUSE_SPINCTRL='$DEFAULT_wxUSE_SPINCTRL
7847 eval "$ac_cv_use_spinctrl"
7848 if test "$no_cache" != 1; then
7849 echo $ac_cv_use_spinctrl >> ${wx_arg_cache_file}.tmp
7852 if test "$wxUSE_SPINCTRL" = yes; then
7853 echo "$as_me:$LINENO: result: yes" >&5
7854 echo "${ECHO_T}yes" >&6
7856 echo "$as_me:$LINENO: result: no" >&5
7857 echo "${ECHO_T}no" >&6
7862 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splitter" >&5
7863 echo $ECHO_N "checking for --${enablestring:-enable}-splitter... $ECHO_C" >&6
7865 # Check whether --enable-splitter or --disable-splitter was given.
7866 if test "${enable_splitter+set}" = set; then
7867 enableval
="$enable_splitter"
7869 if test "$enableval" = yes; then
7870 ac_cv_use_splitter
='wxUSE_SPLITTER=yes'
7872 ac_cv_use_splitter
='wxUSE_SPLITTER=no'
7877 LINE
=`grep "wxUSE_SPLITTER" ${wx_arg_cache_file}`
7878 if test "x$LINE" != x
; then
7879 eval "DEFAULT_$LINE"
7884 ac_cv_use_splitter
='wxUSE_SPLITTER='$DEFAULT_wxUSE_SPLITTER
7888 eval "$ac_cv_use_splitter"
7889 if test "$no_cache" != 1; then
7890 echo $ac_cv_use_splitter >> ${wx_arg_cache_file}.tmp
7893 if test "$wxUSE_SPLITTER" = yes; then
7894 echo "$as_me:$LINENO: result: yes" >&5
7895 echo "${ECHO_T}yes" >&6
7897 echo "$as_me:$LINENO: result: no" >&5
7898 echo "${ECHO_T}no" >&6
7903 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statbmp" >&5
7904 echo $ECHO_N "checking for --${enablestring:-enable}-statbmp... $ECHO_C" >&6
7906 # Check whether --enable-statbmp or --disable-statbmp was given.
7907 if test "${enable_statbmp+set}" = set; then
7908 enableval
="$enable_statbmp"
7910 if test "$enableval" = yes; then
7911 ac_cv_use_statbmp
='wxUSE_STATBMP=yes'
7913 ac_cv_use_statbmp
='wxUSE_STATBMP=no'
7918 LINE
=`grep "wxUSE_STATBMP" ${wx_arg_cache_file}`
7919 if test "x$LINE" != x
; then
7920 eval "DEFAULT_$LINE"
7925 ac_cv_use_statbmp
='wxUSE_STATBMP='$DEFAULT_wxUSE_STATBMP
7929 eval "$ac_cv_use_statbmp"
7930 if test "$no_cache" != 1; then
7931 echo $ac_cv_use_statbmp >> ${wx_arg_cache_file}.tmp
7934 if test "$wxUSE_STATBMP" = yes; then
7935 echo "$as_me:$LINENO: result: yes" >&5
7936 echo "${ECHO_T}yes" >&6
7938 echo "$as_me:$LINENO: result: no" >&5
7939 echo "${ECHO_T}no" >&6
7944 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statbox" >&5
7945 echo $ECHO_N "checking for --${enablestring:-enable}-statbox... $ECHO_C" >&6
7947 # Check whether --enable-statbox or --disable-statbox was given.
7948 if test "${enable_statbox+set}" = set; then
7949 enableval
="$enable_statbox"
7951 if test "$enableval" = yes; then
7952 ac_cv_use_statbox
='wxUSE_STATBOX=yes'
7954 ac_cv_use_statbox
='wxUSE_STATBOX=no'
7959 LINE
=`grep "wxUSE_STATBOX" ${wx_arg_cache_file}`
7960 if test "x$LINE" != x
; then
7961 eval "DEFAULT_$LINE"
7966 ac_cv_use_statbox
='wxUSE_STATBOX='$DEFAULT_wxUSE_STATBOX
7970 eval "$ac_cv_use_statbox"
7971 if test "$no_cache" != 1; then
7972 echo $ac_cv_use_statbox >> ${wx_arg_cache_file}.tmp
7975 if test "$wxUSE_STATBOX" = yes; then
7976 echo "$as_me:$LINENO: result: yes" >&5
7977 echo "${ECHO_T}yes" >&6
7979 echo "$as_me:$LINENO: result: no" >&5
7980 echo "${ECHO_T}no" >&6
7985 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statline" >&5
7986 echo $ECHO_N "checking for --${enablestring:-enable}-statline... $ECHO_C" >&6
7988 # Check whether --enable-statline or --disable-statline was given.
7989 if test "${enable_statline+set}" = set; then
7990 enableval
="$enable_statline"
7992 if test "$enableval" = yes; then
7993 ac_cv_use_statline
='wxUSE_STATLINE=yes'
7995 ac_cv_use_statline
='wxUSE_STATLINE=no'
8000 LINE
=`grep "wxUSE_STATLINE" ${wx_arg_cache_file}`
8001 if test "x$LINE" != x
; then
8002 eval "DEFAULT_$LINE"
8007 ac_cv_use_statline
='wxUSE_STATLINE='$DEFAULT_wxUSE_STATLINE
8011 eval "$ac_cv_use_statline"
8012 if test "$no_cache" != 1; then
8013 echo $ac_cv_use_statline >> ${wx_arg_cache_file}.tmp
8016 if test "$wxUSE_STATLINE" = yes; then
8017 echo "$as_me:$LINENO: result: yes" >&5
8018 echo "${ECHO_T}yes" >&6
8020 echo "$as_me:$LINENO: result: no" >&5
8021 echo "${ECHO_T}no" >&6
8026 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stattext" >&5
8027 echo $ECHO_N "checking for --${enablestring:-enable}-stattext... $ECHO_C" >&6
8029 # Check whether --enable-stattext or --disable-stattext was given.
8030 if test "${enable_stattext+set}" = set; then
8031 enableval
="$enable_stattext"
8033 if test "$enableval" = yes; then
8034 ac_cv_use_stattext
='wxUSE_STATTEXT=yes'
8036 ac_cv_use_stattext
='wxUSE_STATTEXT=no'
8041 LINE
=`grep "wxUSE_STATTEXT" ${wx_arg_cache_file}`
8042 if test "x$LINE" != x
; then
8043 eval "DEFAULT_$LINE"
8048 ac_cv_use_stattext
='wxUSE_STATTEXT='$DEFAULT_wxUSE_STATTEXT
8052 eval "$ac_cv_use_stattext"
8053 if test "$no_cache" != 1; then
8054 echo $ac_cv_use_stattext >> ${wx_arg_cache_file}.tmp
8057 if test "$wxUSE_STATTEXT" = yes; then
8058 echo "$as_me:$LINENO: result: yes" >&5
8059 echo "${ECHO_T}yes" >&6
8061 echo "$as_me:$LINENO: result: no" >&5
8062 echo "${ECHO_T}no" >&6
8067 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statusbar" >&5
8068 echo $ECHO_N "checking for --${enablestring:-enable}-statusbar... $ECHO_C" >&6
8070 # Check whether --enable-statusbar or --disable-statusbar was given.
8071 if test "${enable_statusbar+set}" = set; then
8072 enableval
="$enable_statusbar"
8074 if test "$enableval" = yes; then
8075 ac_cv_use_statusbar
='wxUSE_STATUSBAR=yes'
8077 ac_cv_use_statusbar
='wxUSE_STATUSBAR=no'
8082 LINE
=`grep "wxUSE_STATUSBAR" ${wx_arg_cache_file}`
8083 if test "x$LINE" != x
; then
8084 eval "DEFAULT_$LINE"
8089 ac_cv_use_statusbar
='wxUSE_STATUSBAR='$DEFAULT_wxUSE_STATUSBAR
8093 eval "$ac_cv_use_statusbar"
8094 if test "$no_cache" != 1; then
8095 echo $ac_cv_use_statusbar >> ${wx_arg_cache_file}.tmp
8098 if test "$wxUSE_STATUSBAR" = yes; then
8099 echo "$as_me:$LINENO: result: yes" >&5
8100 echo "${ECHO_T}yes" >&6
8102 echo "$as_me:$LINENO: result: no" >&5
8103 echo "${ECHO_T}no" >&6
8108 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tabdialog" >&5
8109 echo $ECHO_N "checking for --${enablestring:-enable}-tabdialog... $ECHO_C" >&6
8111 # Check whether --enable-tabdialog or --disable-tabdialog was given.
8112 if test "${enable_tabdialog+set}" = set; then
8113 enableval
="$enable_tabdialog"
8115 if test "$enableval" = yes; then
8116 ac_cv_use_tabdialog
='wxUSE_TABDIALOG=yes'
8118 ac_cv_use_tabdialog
='wxUSE_TABDIALOG=no'
8123 LINE
=`grep "wxUSE_TABDIALOG" ${wx_arg_cache_file}`
8124 if test "x$LINE" != x
; then
8125 eval "DEFAULT_$LINE"
8130 ac_cv_use_tabdialog
='wxUSE_TABDIALOG='$DEFAULT_wxUSE_TABDIALOG
8134 eval "$ac_cv_use_tabdialog"
8135 if test "$no_cache" != 1; then
8136 echo $ac_cv_use_tabdialog >> ${wx_arg_cache_file}.tmp
8139 if test "$wxUSE_TABDIALOG" = yes; then
8140 echo "$as_me:$LINENO: result: yes" >&5
8141 echo "${ECHO_T}yes" >&6
8143 echo "$as_me:$LINENO: result: no" >&5
8144 echo "${ECHO_T}no" >&6
8149 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textctrl" >&5
8150 echo $ECHO_N "checking for --${enablestring:-enable}-textctrl... $ECHO_C" >&6
8152 # Check whether --enable-textctrl or --disable-textctrl was given.
8153 if test "${enable_textctrl+set}" = set; then
8154 enableval
="$enable_textctrl"
8156 if test "$enableval" = yes; then
8157 ac_cv_use_textctrl
='wxUSE_TEXTCTRL=yes'
8159 ac_cv_use_textctrl
='wxUSE_TEXTCTRL=no'
8164 LINE
=`grep "wxUSE_TEXTCTRL" ${wx_arg_cache_file}`
8165 if test "x$LINE" != x
; then
8166 eval "DEFAULT_$LINE"
8171 ac_cv_use_textctrl
='wxUSE_TEXTCTRL='$DEFAULT_wxUSE_TEXTCTRL
8175 eval "$ac_cv_use_textctrl"
8176 if test "$no_cache" != 1; then
8177 echo $ac_cv_use_textctrl >> ${wx_arg_cache_file}.tmp
8180 if test "$wxUSE_TEXTCTRL" = yes; then
8181 echo "$as_me:$LINENO: result: yes" >&5
8182 echo "${ECHO_T}yes" >&6
8184 echo "$as_me:$LINENO: result: no" >&5
8185 echo "${ECHO_T}no" >&6
8190 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-togglebtn" >&5
8191 echo $ECHO_N "checking for --${enablestring:-enable}-togglebtn... $ECHO_C" >&6
8193 # Check whether --enable-togglebtn or --disable-togglebtn was given.
8194 if test "${enable_togglebtn+set}" = set; then
8195 enableval
="$enable_togglebtn"
8197 if test "$enableval" = yes; then
8198 ac_cv_use_togglebtn
='wxUSE_TOGGLEBTN=yes'
8200 ac_cv_use_togglebtn
='wxUSE_TOGGLEBTN=no'
8205 LINE
=`grep "wxUSE_TOGGLEBTN" ${wx_arg_cache_file}`
8206 if test "x$LINE" != x
; then
8207 eval "DEFAULT_$LINE"
8212 ac_cv_use_togglebtn
='wxUSE_TOGGLEBTN='$DEFAULT_wxUSE_TOGGLEBTN
8216 eval "$ac_cv_use_togglebtn"
8217 if test "$no_cache" != 1; then
8218 echo $ac_cv_use_togglebtn >> ${wx_arg_cache_file}.tmp
8221 if test "$wxUSE_TOGGLEBTN" = yes; then
8222 echo "$as_me:$LINENO: result: yes" >&5
8223 echo "${ECHO_T}yes" >&6
8225 echo "$as_me:$LINENO: result: no" >&5
8226 echo "${ECHO_T}no" >&6
8231 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-toolbar" >&5
8232 echo $ECHO_N "checking for --${enablestring:-enable}-toolbar... $ECHO_C" >&6
8234 # Check whether --enable-toolbar or --disable-toolbar was given.
8235 if test "${enable_toolbar+set}" = set; then
8236 enableval
="$enable_toolbar"
8238 if test "$enableval" = yes; then
8239 ac_cv_use_toolbar
='wxUSE_TOOLBAR=yes'
8241 ac_cv_use_toolbar
='wxUSE_TOOLBAR=no'
8246 LINE
=`grep "wxUSE_TOOLBAR" ${wx_arg_cache_file}`
8247 if test "x$LINE" != x
; then
8248 eval "DEFAULT_$LINE"
8253 ac_cv_use_toolbar
='wxUSE_TOOLBAR='$DEFAULT_wxUSE_TOOLBAR
8257 eval "$ac_cv_use_toolbar"
8258 if test "$no_cache" != 1; then
8259 echo $ac_cv_use_toolbar >> ${wx_arg_cache_file}.tmp
8262 if test "$wxUSE_TOOLBAR" = yes; then
8263 echo "$as_me:$LINENO: result: yes" >&5
8264 echo "${ECHO_T}yes" >&6
8266 echo "$as_me:$LINENO: result: no" >&5
8267 echo "${ECHO_T}no" >&6
8272 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tbarnative" >&5
8273 echo $ECHO_N "checking for --${enablestring:-enable}-tbarnative... $ECHO_C" >&6
8275 # Check whether --enable-tbarnative or --disable-tbarnative was given.
8276 if test "${enable_tbarnative+set}" = set; then
8277 enableval
="$enable_tbarnative"
8279 if test "$enableval" = yes; then
8280 ac_cv_use_tbarnative
='wxUSE_TOOLBAR_NATIVE=yes'
8282 ac_cv_use_tbarnative
='wxUSE_TOOLBAR_NATIVE=no'
8287 LINE
=`grep "wxUSE_TOOLBAR_NATIVE" ${wx_arg_cache_file}`
8288 if test "x$LINE" != x
; then
8289 eval "DEFAULT_$LINE"
8294 ac_cv_use_tbarnative
='wxUSE_TOOLBAR_NATIVE='$DEFAULT_wxUSE_TOOLBAR_NATIVE
8298 eval "$ac_cv_use_tbarnative"
8299 if test "$no_cache" != 1; then
8300 echo $ac_cv_use_tbarnative >> ${wx_arg_cache_file}.tmp
8303 if test "$wxUSE_TOOLBAR_NATIVE" = yes; then
8304 echo "$as_me:$LINENO: result: yes" >&5
8305 echo "${ECHO_T}yes" >&6
8307 echo "$as_me:$LINENO: result: no" >&5
8308 echo "${ECHO_T}no" >&6
8313 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tbarsmpl" >&5
8314 echo $ECHO_N "checking for --${enablestring:-enable}-tbarsmpl... $ECHO_C" >&6
8316 # Check whether --enable-tbarsmpl or --disable-tbarsmpl was given.
8317 if test "${enable_tbarsmpl+set}" = set; then
8318 enableval
="$enable_tbarsmpl"
8320 if test "$enableval" = yes; then
8321 ac_cv_use_tbarsmpl
='wxUSE_TOOLBAR_SIMPLE=yes'
8323 ac_cv_use_tbarsmpl
='wxUSE_TOOLBAR_SIMPLE=no'
8328 LINE
=`grep "wxUSE_TOOLBAR_SIMPLE" ${wx_arg_cache_file}`
8329 if test "x$LINE" != x
; then
8330 eval "DEFAULT_$LINE"
8335 ac_cv_use_tbarsmpl
='wxUSE_TOOLBAR_SIMPLE='$DEFAULT_wxUSE_TOOLBAR_SIMPLE
8339 eval "$ac_cv_use_tbarsmpl"
8340 if test "$no_cache" != 1; then
8341 echo $ac_cv_use_tbarsmpl >> ${wx_arg_cache_file}.tmp
8344 if test "$wxUSE_TOOLBAR_SIMPLE" = yes; then
8345 echo "$as_me:$LINENO: result: yes" >&5
8346 echo "${ECHO_T}yes" >&6
8348 echo "$as_me:$LINENO: result: no" >&5
8349 echo "${ECHO_T}no" >&6
8354 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-treectrl" >&5
8355 echo $ECHO_N "checking for --${enablestring:-enable}-treectrl... $ECHO_C" >&6
8357 # Check whether --enable-treectrl or --disable-treectrl was given.
8358 if test "${enable_treectrl+set}" = set; then
8359 enableval
="$enable_treectrl"
8361 if test "$enableval" = yes; then
8362 ac_cv_use_treectrl
='wxUSE_TREECTRL=yes'
8364 ac_cv_use_treectrl
='wxUSE_TREECTRL=no'
8369 LINE
=`grep "wxUSE_TREECTRL" ${wx_arg_cache_file}`
8370 if test "x$LINE" != x
; then
8371 eval "DEFAULT_$LINE"
8376 ac_cv_use_treectrl
='wxUSE_TREECTRL='$DEFAULT_wxUSE_TREECTRL
8380 eval "$ac_cv_use_treectrl"
8381 if test "$no_cache" != 1; then
8382 echo $ac_cv_use_treectrl >> ${wx_arg_cache_file}.tmp
8385 if test "$wxUSE_TREECTRL" = yes; then
8386 echo "$as_me:$LINENO: result: yes" >&5
8387 echo "${ECHO_T}yes" >&6
8389 echo "$as_me:$LINENO: result: no" >&5
8390 echo "${ECHO_T}no" >&6
8395 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tipwindow" >&5
8396 echo $ECHO_N "checking for --${enablestring:-enable}-tipwindow... $ECHO_C" >&6
8398 # Check whether --enable-tipwindow or --disable-tipwindow was given.
8399 if test "${enable_tipwindow+set}" = set; then
8400 enableval
="$enable_tipwindow"
8402 if test "$enableval" = yes; then
8403 ac_cv_use_tipwindow
='wxUSE_TIPWINDOW=yes'
8405 ac_cv_use_tipwindow
='wxUSE_TIPWINDOW=no'
8410 LINE
=`grep "wxUSE_TIPWINDOW" ${wx_arg_cache_file}`
8411 if test "x$LINE" != x
; then
8412 eval "DEFAULT_$LINE"
8417 ac_cv_use_tipwindow
='wxUSE_TIPWINDOW='$DEFAULT_wxUSE_TIPWINDOW
8421 eval "$ac_cv_use_tipwindow"
8422 if test "$no_cache" != 1; then
8423 echo $ac_cv_use_tipwindow >> ${wx_arg_cache_file}.tmp
8426 if test "$wxUSE_TIPWINDOW" = yes; then
8427 echo "$as_me:$LINENO: result: yes" >&5
8428 echo "${ECHO_T}yes" >&6
8430 echo "$as_me:$LINENO: result: no" >&5
8431 echo "${ECHO_T}no" >&6
8436 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-popupwin" >&5
8437 echo $ECHO_N "checking for --${enablestring:-enable}-popupwin... $ECHO_C" >&6
8439 # Check whether --enable-popupwin or --disable-popupwin was given.
8440 if test "${enable_popupwin+set}" = set; then
8441 enableval
="$enable_popupwin"
8443 if test "$enableval" = yes; then
8444 ac_cv_use_popupwin
='wxUSE_POPUPWIN=yes'
8446 ac_cv_use_popupwin
='wxUSE_POPUPWIN=no'
8451 LINE
=`grep "wxUSE_POPUPWIN" ${wx_arg_cache_file}`
8452 if test "x$LINE" != x
; then
8453 eval "DEFAULT_$LINE"
8458 ac_cv_use_popupwin
='wxUSE_POPUPWIN='$DEFAULT_wxUSE_POPUPWIN
8462 eval "$ac_cv_use_popupwin"
8463 if test "$no_cache" != 1; then
8464 echo $ac_cv_use_popupwin >> ${wx_arg_cache_file}.tmp
8467 if test "$wxUSE_POPUPWIN" = yes; then
8468 echo "$as_me:$LINENO: result: yes" >&5
8469 echo "${ECHO_T}yes" >&6
8471 echo "$as_me:$LINENO: result: no" >&5
8472 echo "${ECHO_T}no" >&6
8479 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-commondlg" >&5
8480 echo $ECHO_N "checking for --${enablestring:-enable}-commondlg... $ECHO_C" >&6
8482 # Check whether --enable-commondlg or --disable-commondlg was given.
8483 if test "${enable_commondlg+set}" = set; then
8484 enableval
="$enable_commondlg"
8486 if test "$enableval" = yes; then
8487 ac_cv_use_commondlg
='wxUSE_COMMONDLGS=yes'
8489 ac_cv_use_commondlg
='wxUSE_COMMONDLGS=no'
8494 LINE
=`grep "wxUSE_COMMONDLGS" ${wx_arg_cache_file}`
8495 if test "x$LINE" != x
; then
8496 eval "DEFAULT_$LINE"
8501 ac_cv_use_commondlg
='wxUSE_COMMONDLGS='$DEFAULT_wxUSE_COMMONDLGS
8505 eval "$ac_cv_use_commondlg"
8506 if test "$no_cache" != 1; then
8507 echo $ac_cv_use_commondlg >> ${wx_arg_cache_file}.tmp
8510 if test "$wxUSE_COMMONDLGS" = yes; then
8511 echo "$as_me:$LINENO: result: yes" >&5
8512 echo "${ECHO_T}yes" >&6
8514 echo "$as_me:$LINENO: result: no" >&5
8515 echo "${ECHO_T}no" >&6
8520 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choicedlg" >&5
8521 echo $ECHO_N "checking for --${enablestring:-enable}-choicedlg... $ECHO_C" >&6
8523 # Check whether --enable-choicedlg or --disable-choicedlg was given.
8524 if test "${enable_choicedlg+set}" = set; then
8525 enableval
="$enable_choicedlg"
8527 if test "$enableval" = yes; then
8528 ac_cv_use_choicedlg
='wxUSE_CHOICEDLG=yes'
8530 ac_cv_use_choicedlg
='wxUSE_CHOICEDLG=no'
8535 LINE
=`grep "wxUSE_CHOICEDLG" ${wx_arg_cache_file}`
8536 if test "x$LINE" != x
; then
8537 eval "DEFAULT_$LINE"
8542 ac_cv_use_choicedlg
='wxUSE_CHOICEDLG='$DEFAULT_wxUSE_CHOICEDLG
8546 eval "$ac_cv_use_choicedlg"
8547 if test "$no_cache" != 1; then
8548 echo $ac_cv_use_choicedlg >> ${wx_arg_cache_file}.tmp
8551 if test "$wxUSE_CHOICEDLG" = yes; then
8552 echo "$as_me:$LINENO: result: yes" >&5
8553 echo "${ECHO_T}yes" >&6
8555 echo "$as_me:$LINENO: result: no" >&5
8556 echo "${ECHO_T}no" >&6
8561 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-coldlg" >&5
8562 echo $ECHO_N "checking for --${enablestring:-enable}-coldlg... $ECHO_C" >&6
8564 # Check whether --enable-coldlg or --disable-coldlg was given.
8565 if test "${enable_coldlg+set}" = set; then
8566 enableval
="$enable_coldlg"
8568 if test "$enableval" = yes; then
8569 ac_cv_use_coldlg
='wxUSE_COLOURDLG=yes'
8571 ac_cv_use_coldlg
='wxUSE_COLOURDLG=no'
8576 LINE
=`grep "wxUSE_COLOURDLG" ${wx_arg_cache_file}`
8577 if test "x$LINE" != x
; then
8578 eval "DEFAULT_$LINE"
8583 ac_cv_use_coldlg
='wxUSE_COLOURDLG='$DEFAULT_wxUSE_COLOURDLG
8587 eval "$ac_cv_use_coldlg"
8588 if test "$no_cache" != 1; then
8589 echo $ac_cv_use_coldlg >> ${wx_arg_cache_file}.tmp
8592 if test "$wxUSE_COLOURDLG" = yes; then
8593 echo "$as_me:$LINENO: result: yes" >&5
8594 echo "${ECHO_T}yes" >&6
8596 echo "$as_me:$LINENO: result: no" >&5
8597 echo "${ECHO_T}no" >&6
8602 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filedlg" >&5
8603 echo $ECHO_N "checking for --${enablestring:-enable}-filedlg... $ECHO_C" >&6
8605 # Check whether --enable-filedlg or --disable-filedlg was given.
8606 if test "${enable_filedlg+set}" = set; then
8607 enableval
="$enable_filedlg"
8609 if test "$enableval" = yes; then
8610 ac_cv_use_filedlg
='wxUSE_FILEDLG=yes'
8612 ac_cv_use_filedlg
='wxUSE_FILEDLG=no'
8617 LINE
=`grep "wxUSE_FILEDLG" ${wx_arg_cache_file}`
8618 if test "x$LINE" != x
; then
8619 eval "DEFAULT_$LINE"
8624 ac_cv_use_filedlg
='wxUSE_FILEDLG='$DEFAULT_wxUSE_FILEDLG
8628 eval "$ac_cv_use_filedlg"
8629 if test "$no_cache" != 1; then
8630 echo $ac_cv_use_filedlg >> ${wx_arg_cache_file}.tmp
8633 if test "$wxUSE_FILEDLG" = yes; then
8634 echo "$as_me:$LINENO: result: yes" >&5
8635 echo "${ECHO_T}yes" >&6
8637 echo "$as_me:$LINENO: result: no" >&5
8638 echo "${ECHO_T}no" >&6
8643 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-finddlg" >&5
8644 echo $ECHO_N "checking for --${enablestring:-enable}-finddlg... $ECHO_C" >&6
8646 # Check whether --enable-finddlg or --disable-finddlg was given.
8647 if test "${enable_finddlg+set}" = set; then
8648 enableval
="$enable_finddlg"
8650 if test "$enableval" = yes; then
8651 ac_cv_use_finddlg
='wxUSE_FINDREPLDLG=yes'
8653 ac_cv_use_finddlg
='wxUSE_FINDREPLDLG=no'
8658 LINE
=`grep "wxUSE_FINDREPLDLG" ${wx_arg_cache_file}`
8659 if test "x$LINE" != x
; then
8660 eval "DEFAULT_$LINE"
8665 ac_cv_use_finddlg
='wxUSE_FINDREPLDLG='$DEFAULT_wxUSE_FINDREPLDLG
8669 eval "$ac_cv_use_finddlg"
8670 if test "$no_cache" != 1; then
8671 echo $ac_cv_use_finddlg >> ${wx_arg_cache_file}.tmp
8674 if test "$wxUSE_FINDREPLDLG" = yes; then
8675 echo "$as_me:$LINENO: result: yes" >&5
8676 echo "${ECHO_T}yes" >&6
8678 echo "$as_me:$LINENO: result: no" >&5
8679 echo "${ECHO_T}no" >&6
8684 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontdlg" >&5
8685 echo $ECHO_N "checking for --${enablestring:-enable}-fontdlg... $ECHO_C" >&6
8687 # Check whether --enable-fontdlg or --disable-fontdlg was given.
8688 if test "${enable_fontdlg+set}" = set; then
8689 enableval
="$enable_fontdlg"
8691 if test "$enableval" = yes; then
8692 ac_cv_use_fontdlg
='wxUSE_FONTDLG=yes'
8694 ac_cv_use_fontdlg
='wxUSE_FONTDLG=no'
8699 LINE
=`grep "wxUSE_FONTDLG" ${wx_arg_cache_file}`
8700 if test "x$LINE" != x
; then
8701 eval "DEFAULT_$LINE"
8706 ac_cv_use_fontdlg
='wxUSE_FONTDLG='$DEFAULT_wxUSE_FONTDLG
8710 eval "$ac_cv_use_fontdlg"
8711 if test "$no_cache" != 1; then
8712 echo $ac_cv_use_fontdlg >> ${wx_arg_cache_file}.tmp
8715 if test "$wxUSE_FONTDLG" = yes; then
8716 echo "$as_me:$LINENO: result: yes" >&5
8717 echo "${ECHO_T}yes" >&6
8719 echo "$as_me:$LINENO: result: no" >&5
8720 echo "${ECHO_T}no" >&6
8725 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dirdlg" >&5
8726 echo $ECHO_N "checking for --${enablestring:-enable}-dirdlg... $ECHO_C" >&6
8728 # Check whether --enable-dirdlg or --disable-dirdlg was given.
8729 if test "${enable_dirdlg+set}" = set; then
8730 enableval
="$enable_dirdlg"
8732 if test "$enableval" = yes; then
8733 ac_cv_use_dirdlg
='wxUSE_DIRDLG=yes'
8735 ac_cv_use_dirdlg
='wxUSE_DIRDLG=no'
8740 LINE
=`grep "wxUSE_DIRDLG" ${wx_arg_cache_file}`
8741 if test "x$LINE" != x
; then
8742 eval "DEFAULT_$LINE"
8747 ac_cv_use_dirdlg
='wxUSE_DIRDLG='$DEFAULT_wxUSE_DIRDLG
8751 eval "$ac_cv_use_dirdlg"
8752 if test "$no_cache" != 1; then
8753 echo $ac_cv_use_dirdlg >> ${wx_arg_cache_file}.tmp
8756 if test "$wxUSE_DIRDLG" = yes; then
8757 echo "$as_me:$LINENO: result: yes" >&5
8758 echo "${ECHO_T}yes" >&6
8760 echo "$as_me:$LINENO: result: no" >&5
8761 echo "${ECHO_T}no" >&6
8766 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-msgdlg" >&5
8767 echo $ECHO_N "checking for --${enablestring:-enable}-msgdlg... $ECHO_C" >&6
8769 # Check whether --enable-msgdlg or --disable-msgdlg was given.
8770 if test "${enable_msgdlg+set}" = set; then
8771 enableval
="$enable_msgdlg"
8773 if test "$enableval" = yes; then
8774 ac_cv_use_msgdlg
='wxUSE_MSGDLG=yes'
8776 ac_cv_use_msgdlg
='wxUSE_MSGDLG=no'
8781 LINE
=`grep "wxUSE_MSGDLG" ${wx_arg_cache_file}`
8782 if test "x$LINE" != x
; then
8783 eval "DEFAULT_$LINE"
8788 ac_cv_use_msgdlg
='wxUSE_MSGDLG='$DEFAULT_wxUSE_MSGDLG
8792 eval "$ac_cv_use_msgdlg"
8793 if test "$no_cache" != 1; then
8794 echo $ac_cv_use_msgdlg >> ${wx_arg_cache_file}.tmp
8797 if test "$wxUSE_MSGDLG" = yes; then
8798 echo "$as_me:$LINENO: result: yes" >&5
8799 echo "${ECHO_T}yes" >&6
8801 echo "$as_me:$LINENO: result: no" >&5
8802 echo "${ECHO_T}no" >&6
8807 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-numberdlg" >&5
8808 echo $ECHO_N "checking for --${enablestring:-enable}-numberdlg... $ECHO_C" >&6
8810 # Check whether --enable-numberdlg or --disable-numberdlg was given.
8811 if test "${enable_numberdlg+set}" = set; then
8812 enableval
="$enable_numberdlg"
8814 if test "$enableval" = yes; then
8815 ac_cv_use_numberdlg
='wxUSE_NUMBERDLG=yes'
8817 ac_cv_use_numberdlg
='wxUSE_NUMBERDLG=no'
8822 LINE
=`grep "wxUSE_NUMBERDLG" ${wx_arg_cache_file}`
8823 if test "x$LINE" != x
; then
8824 eval "DEFAULT_$LINE"
8829 ac_cv_use_numberdlg
='wxUSE_NUMBERDLG='$DEFAULT_wxUSE_NUMBERDLG
8833 eval "$ac_cv_use_numberdlg"
8834 if test "$no_cache" != 1; then
8835 echo $ac_cv_use_numberdlg >> ${wx_arg_cache_file}.tmp
8838 if test "$wxUSE_NUMBERDLG" = yes; then
8839 echo "$as_me:$LINENO: result: yes" >&5
8840 echo "${ECHO_T}yes" >&6
8842 echo "$as_me:$LINENO: result: no" >&5
8843 echo "${ECHO_T}no" >&6
8848 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splash" >&5
8849 echo $ECHO_N "checking for --${enablestring:-enable}-splash... $ECHO_C" >&6
8851 # Check whether --enable-splash or --disable-splash was given.
8852 if test "${enable_splash+set}" = set; then
8853 enableval
="$enable_splash"
8855 if test "$enableval" = yes; then
8856 ac_cv_use_splash
='wxUSE_SPLASH=yes'
8858 ac_cv_use_splash
='wxUSE_SPLASH=no'
8863 LINE
=`grep "wxUSE_SPLASH" ${wx_arg_cache_file}`
8864 if test "x$LINE" != x
; then
8865 eval "DEFAULT_$LINE"
8870 ac_cv_use_splash
='wxUSE_SPLASH='$DEFAULT_wxUSE_SPLASH
8874 eval "$ac_cv_use_splash"
8875 if test "$no_cache" != 1; then
8876 echo $ac_cv_use_splash >> ${wx_arg_cache_file}.tmp
8879 if test "$wxUSE_SPLASH" = yes; then
8880 echo "$as_me:$LINENO: result: yes" >&5
8881 echo "${ECHO_T}yes" >&6
8883 echo "$as_me:$LINENO: result: no" >&5
8884 echo "${ECHO_T}no" >&6
8889 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textdlg" >&5
8890 echo $ECHO_N "checking for --${enablestring:-enable}-textdlg... $ECHO_C" >&6
8892 # Check whether --enable-textdlg or --disable-textdlg was given.
8893 if test "${enable_textdlg+set}" = set; then
8894 enableval
="$enable_textdlg"
8896 if test "$enableval" = yes; then
8897 ac_cv_use_textdlg
='wxUSE_TEXTDLG=yes'
8899 ac_cv_use_textdlg
='wxUSE_TEXTDLG=no'
8904 LINE
=`grep "wxUSE_TEXTDLG" ${wx_arg_cache_file}`
8905 if test "x$LINE" != x
; then
8906 eval "DEFAULT_$LINE"
8911 ac_cv_use_textdlg
='wxUSE_TEXTDLG='$DEFAULT_wxUSE_TEXTDLG
8915 eval "$ac_cv_use_textdlg"
8916 if test "$no_cache" != 1; then
8917 echo $ac_cv_use_textdlg >> ${wx_arg_cache_file}.tmp
8920 if test "$wxUSE_TEXTDLG" = yes; then
8921 echo "$as_me:$LINENO: result: yes" >&5
8922 echo "${ECHO_T}yes" >&6
8924 echo "$as_me:$LINENO: result: no" >&5
8925 echo "${ECHO_T}no" >&6
8930 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tipdlg" >&5
8931 echo $ECHO_N "checking for --${enablestring:-enable}-tipdlg... $ECHO_C" >&6
8933 # Check whether --enable-tipdlg or --disable-tipdlg was given.
8934 if test "${enable_tipdlg+set}" = set; then
8935 enableval
="$enable_tipdlg"
8937 if test "$enableval" = yes; then
8938 ac_cv_use_tipdlg
='wxUSE_STARTUP_TIPS=yes'
8940 ac_cv_use_tipdlg
='wxUSE_STARTUP_TIPS=no'
8945 LINE
=`grep "wxUSE_STARTUP_TIPS" ${wx_arg_cache_file}`
8946 if test "x$LINE" != x
; then
8947 eval "DEFAULT_$LINE"
8952 ac_cv_use_tipdlg
='wxUSE_STARTUP_TIPS='$DEFAULT_wxUSE_STARTUP_TIPS
8956 eval "$ac_cv_use_tipdlg"
8957 if test "$no_cache" != 1; then
8958 echo $ac_cv_use_tipdlg >> ${wx_arg_cache_file}.tmp
8961 if test "$wxUSE_STARTUP_TIPS" = yes; then
8962 echo "$as_me:$LINENO: result: yes" >&5
8963 echo "${ECHO_T}yes" >&6
8965 echo "$as_me:$LINENO: result: no" >&5
8966 echo "${ECHO_T}no" >&6
8971 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-progressdlg" >&5
8972 echo $ECHO_N "checking for --${enablestring:-enable}-progressdlg... $ECHO_C" >&6
8974 # Check whether --enable-progressdlg or --disable-progressdlg was given.
8975 if test "${enable_progressdlg+set}" = set; then
8976 enableval
="$enable_progressdlg"
8978 if test "$enableval" = yes; then
8979 ac_cv_use_progressdlg
='wxUSE_PROGRESSDLG=yes'
8981 ac_cv_use_progressdlg
='wxUSE_PROGRESSDLG=no'
8986 LINE
=`grep "wxUSE_PROGRESSDLG" ${wx_arg_cache_file}`
8987 if test "x$LINE" != x
; then
8988 eval "DEFAULT_$LINE"
8993 ac_cv_use_progressdlg
='wxUSE_PROGRESSDLG='$DEFAULT_wxUSE_PROGRESSDLG
8997 eval "$ac_cv_use_progressdlg"
8998 if test "$no_cache" != 1; then
8999 echo $ac_cv_use_progressdlg >> ${wx_arg_cache_file}.tmp
9002 if test "$wxUSE_PROGRESSDLG" = yes; then
9003 echo "$as_me:$LINENO: result: yes" >&5
9004 echo "${ECHO_T}yes" >&6
9006 echo "$as_me:$LINENO: result: no" >&5
9007 echo "${ECHO_T}no" >&6
9012 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-wizarddlg" >&5
9013 echo $ECHO_N "checking for --${enablestring:-enable}-wizarddlg... $ECHO_C" >&6
9015 # Check whether --enable-wizarddlg or --disable-wizarddlg was given.
9016 if test "${enable_wizarddlg+set}" = set; then
9017 enableval
="$enable_wizarddlg"
9019 if test "$enableval" = yes; then
9020 ac_cv_use_wizarddlg
='wxUSE_WIZARDDLG=yes'
9022 ac_cv_use_wizarddlg
='wxUSE_WIZARDDLG=no'
9027 LINE
=`grep "wxUSE_WIZARDDLG" ${wx_arg_cache_file}`
9028 if test "x$LINE" != x
; then
9029 eval "DEFAULT_$LINE"
9034 ac_cv_use_wizarddlg
='wxUSE_WIZARDDLG='$DEFAULT_wxUSE_WIZARDDLG
9038 eval "$ac_cv_use_wizarddlg"
9039 if test "$no_cache" != 1; then
9040 echo $ac_cv_use_wizarddlg >> ${wx_arg_cache_file}.tmp
9043 if test "$wxUSE_WIZARDDLG" = yes; then
9044 echo "$as_me:$LINENO: result: yes" >&5
9045 echo "${ECHO_T}yes" >&6
9047 echo "$as_me:$LINENO: result: no" >&5
9048 echo "${ECHO_T}no" >&6
9055 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-menus" >&5
9056 echo $ECHO_N "checking for --${enablestring:-enable}-menus... $ECHO_C" >&6
9058 # Check whether --enable-menus or --disable-menus was given.
9059 if test "${enable_menus+set}" = set; then
9060 enableval
="$enable_menus"
9062 if test "$enableval" = yes; then
9063 ac_cv_use_menus
='wxUSE_MENUS=yes'
9065 ac_cv_use_menus
='wxUSE_MENUS=no'
9070 LINE
=`grep "wxUSE_MENUS" ${wx_arg_cache_file}`
9071 if test "x$LINE" != x
; then
9072 eval "DEFAULT_$LINE"
9077 ac_cv_use_menus
='wxUSE_MENUS='$DEFAULT_wxUSE_MENUS
9081 eval "$ac_cv_use_menus"
9082 if test "$no_cache" != 1; then
9083 echo $ac_cv_use_menus >> ${wx_arg_cache_file}.tmp
9086 if test "$wxUSE_MENUS" = yes; then
9087 echo "$as_me:$LINENO: result: yes" >&5
9088 echo "${ECHO_T}yes" >&6
9090 echo "$as_me:$LINENO: result: no" >&5
9091 echo "${ECHO_T}no" >&6
9096 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-miniframe" >&5
9097 echo $ECHO_N "checking for --${enablestring:-enable}-miniframe... $ECHO_C" >&6
9099 # Check whether --enable-miniframe or --disable-miniframe was given.
9100 if test "${enable_miniframe+set}" = set; then
9101 enableval
="$enable_miniframe"
9103 if test "$enableval" = yes; then
9104 ac_cv_use_miniframe
='wxUSE_MINIFRAME=yes'
9106 ac_cv_use_miniframe
='wxUSE_MINIFRAME=no'
9111 LINE
=`grep "wxUSE_MINIFRAME" ${wx_arg_cache_file}`
9112 if test "x$LINE" != x
; then
9113 eval "DEFAULT_$LINE"
9118 ac_cv_use_miniframe
='wxUSE_MINIFRAME='$DEFAULT_wxUSE_MINIFRAME
9122 eval "$ac_cv_use_miniframe"
9123 if test "$no_cache" != 1; then
9124 echo $ac_cv_use_miniframe >> ${wx_arg_cache_file}.tmp
9127 if test "$wxUSE_MINIFRAME" = yes; then
9128 echo "$as_me:$LINENO: result: yes" >&5
9129 echo "${ECHO_T}yes" >&6
9131 echo "$as_me:$LINENO: result: no" >&5
9132 echo "${ECHO_T}no" >&6
9137 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tooltips" >&5
9138 echo $ECHO_N "checking for --${enablestring:-enable}-tooltips... $ECHO_C" >&6
9140 # Check whether --enable-tooltips or --disable-tooltips was given.
9141 if test "${enable_tooltips+set}" = set; then
9142 enableval
="$enable_tooltips"
9144 if test "$enableval" = yes; then
9145 ac_cv_use_tooltips
='wxUSE_TOOLTIPS=yes'
9147 ac_cv_use_tooltips
='wxUSE_TOOLTIPS=no'
9152 LINE
=`grep "wxUSE_TOOLTIPS" ${wx_arg_cache_file}`
9153 if test "x$LINE" != x
; then
9154 eval "DEFAULT_$LINE"
9159 ac_cv_use_tooltips
='wxUSE_TOOLTIPS='$DEFAULT_wxUSE_TOOLTIPS
9163 eval "$ac_cv_use_tooltips"
9164 if test "$no_cache" != 1; then
9165 echo $ac_cv_use_tooltips >> ${wx_arg_cache_file}.tmp
9168 if test "$wxUSE_TOOLTIPS" = yes; then
9169 echo "$as_me:$LINENO: result: yes" >&5
9170 echo "${ECHO_T}yes" >&6
9172 echo "$as_me:$LINENO: result: no" >&5
9173 echo "${ECHO_T}no" >&6
9178 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splines" >&5
9179 echo $ECHO_N "checking for --${enablestring:-enable}-splines... $ECHO_C" >&6
9181 # Check whether --enable-splines or --disable-splines was given.
9182 if test "${enable_splines+set}" = set; then
9183 enableval
="$enable_splines"
9185 if test "$enableval" = yes; then
9186 ac_cv_use_splines
='wxUSE_SPLINES=yes'
9188 ac_cv_use_splines
='wxUSE_SPLINES=no'
9193 LINE
=`grep "wxUSE_SPLINES" ${wx_arg_cache_file}`
9194 if test "x$LINE" != x
; then
9195 eval "DEFAULT_$LINE"
9200 ac_cv_use_splines
='wxUSE_SPLINES='$DEFAULT_wxUSE_SPLINES
9204 eval "$ac_cv_use_splines"
9205 if test "$no_cache" != 1; then
9206 echo $ac_cv_use_splines >> ${wx_arg_cache_file}.tmp
9209 if test "$wxUSE_SPLINES" = yes; then
9210 echo "$as_me:$LINENO: result: yes" >&5
9211 echo "${ECHO_T}yes" >&6
9213 echo "$as_me:$LINENO: result: no" >&5
9214 echo "${ECHO_T}no" >&6
9219 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-validators" >&5
9220 echo $ECHO_N "checking for --${enablestring:-enable}-validators... $ECHO_C" >&6
9222 # Check whether --enable-validators or --disable-validators was given.
9223 if test "${enable_validators+set}" = set; then
9224 enableval
="$enable_validators"
9226 if test "$enableval" = yes; then
9227 ac_cv_use_validators
='wxUSE_VALIDATORS=yes'
9229 ac_cv_use_validators
='wxUSE_VALIDATORS=no'
9234 LINE
=`grep "wxUSE_VALIDATORS" ${wx_arg_cache_file}`
9235 if test "x$LINE" != x
; then
9236 eval "DEFAULT_$LINE"
9241 ac_cv_use_validators
='wxUSE_VALIDATORS='$DEFAULT_wxUSE_VALIDATORS
9245 eval "$ac_cv_use_validators"
9246 if test "$no_cache" != 1; then
9247 echo $ac_cv_use_validators >> ${wx_arg_cache_file}.tmp
9250 if test "$wxUSE_VALIDATORS" = yes; then
9251 echo "$as_me:$LINENO: result: yes" >&5
9252 echo "${ECHO_T}yes" >&6
9254 echo "$as_me:$LINENO: result: no" >&5
9255 echo "${ECHO_T}no" >&6
9260 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-busyinfo" >&5
9261 echo $ECHO_N "checking for --${enablestring:-enable}-busyinfo... $ECHO_C" >&6
9263 # Check whether --enable-busyinfo or --disable-busyinfo was given.
9264 if test "${enable_busyinfo+set}" = set; then
9265 enableval
="$enable_busyinfo"
9267 if test "$enableval" = yes; then
9268 ac_cv_use_busyinfo
='wxUSE_BUSYINFO=yes'
9270 ac_cv_use_busyinfo
='wxUSE_BUSYINFO=no'
9275 LINE
=`grep "wxUSE_BUSYINFO" ${wx_arg_cache_file}`
9276 if test "x$LINE" != x
; then
9277 eval "DEFAULT_$LINE"
9282 ac_cv_use_busyinfo
='wxUSE_BUSYINFO='$DEFAULT_wxUSE_BUSYINFO
9286 eval "$ac_cv_use_busyinfo"
9287 if test "$no_cache" != 1; then
9288 echo $ac_cv_use_busyinfo >> ${wx_arg_cache_file}.tmp
9291 if test "$wxUSE_BUSYINFO" = yes; then
9292 echo "$as_me:$LINENO: result: yes" >&5
9293 echo "${ECHO_T}yes" >&6
9295 echo "$as_me:$LINENO: result: no" >&5
9296 echo "${ECHO_T}no" >&6
9301 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-joystick" >&5
9302 echo $ECHO_N "checking for --${enablestring:-enable}-joystick... $ECHO_C" >&6
9304 # Check whether --enable-joystick or --disable-joystick was given.
9305 if test "${enable_joystick+set}" = set; then
9306 enableval
="$enable_joystick"
9308 if test "$enableval" = yes; then
9309 ac_cv_use_joystick
='wxUSE_JOYSTICK=yes'
9311 ac_cv_use_joystick
='wxUSE_JOYSTICK=no'
9316 LINE
=`grep "wxUSE_JOYSTICK" ${wx_arg_cache_file}`
9317 if test "x$LINE" != x
; then
9318 eval "DEFAULT_$LINE"
9323 ac_cv_use_joystick
='wxUSE_JOYSTICK='$DEFAULT_wxUSE_JOYSTICK
9327 eval "$ac_cv_use_joystick"
9328 if test "$no_cache" != 1; then
9329 echo $ac_cv_use_joystick >> ${wx_arg_cache_file}.tmp
9332 if test "$wxUSE_JOYSTICK" = yes; then
9333 echo "$as_me:$LINENO: result: yes" >&5
9334 echo "${ECHO_T}yes" >&6
9336 echo "$as_me:$LINENO: result: no" >&5
9337 echo "${ECHO_T}no" >&6
9342 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-metafile" >&5
9343 echo $ECHO_N "checking for --${enablestring:-enable}-metafile... $ECHO_C" >&6
9345 # Check whether --enable-metafile or --disable-metafile was given.
9346 if test "${enable_metafile+set}" = set; then
9347 enableval
="$enable_metafile"
9349 if test "$enableval" = yes; then
9350 ac_cv_use_metafile
='wxUSE_METAFILE=yes'
9352 ac_cv_use_metafile
='wxUSE_METAFILE=no'
9357 LINE
=`grep "wxUSE_METAFILE" ${wx_arg_cache_file}`
9358 if test "x$LINE" != x
; then
9359 eval "DEFAULT_$LINE"
9364 ac_cv_use_metafile
='wxUSE_METAFILE='$DEFAULT_wxUSE_METAFILE
9368 eval "$ac_cv_use_metafile"
9369 if test "$no_cache" != 1; then
9370 echo $ac_cv_use_metafile >> ${wx_arg_cache_file}.tmp
9373 if test "$wxUSE_METAFILE" = yes; then
9374 echo "$as_me:$LINENO: result: yes" >&5
9375 echo "${ECHO_T}yes" >&6
9377 echo "$as_me:$LINENO: result: no" >&5
9378 echo "${ECHO_T}no" >&6
9383 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dragimage" >&5
9384 echo $ECHO_N "checking for --${enablestring:-enable}-dragimage... $ECHO_C" >&6
9386 # Check whether --enable-dragimage or --disable-dragimage was given.
9387 if test "${enable_dragimage+set}" = set; then
9388 enableval
="$enable_dragimage"
9390 if test "$enableval" = yes; then
9391 ac_cv_use_dragimage
='wxUSE_DRAGIMAGE=yes'
9393 ac_cv_use_dragimage
='wxUSE_DRAGIMAGE=no'
9398 LINE
=`grep "wxUSE_DRAGIMAGE" ${wx_arg_cache_file}`
9399 if test "x$LINE" != x
; then
9400 eval "DEFAULT_$LINE"
9405 ac_cv_use_dragimage
='wxUSE_DRAGIMAGE='$DEFAULT_wxUSE_DRAGIMAGE
9409 eval "$ac_cv_use_dragimage"
9410 if test "$no_cache" != 1; then
9411 echo $ac_cv_use_dragimage >> ${wx_arg_cache_file}.tmp
9414 if test "$wxUSE_DRAGIMAGE" = yes; then
9415 echo "$as_me:$LINENO: result: yes" >&5
9416 echo "${ECHO_T}yes" >&6
9418 echo "$as_me:$LINENO: result: no" >&5
9419 echo "${ECHO_T}no" >&6
9424 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-accessibility" >&5
9425 echo $ECHO_N "checking for --${enablestring:-enable}-accessibility... $ECHO_C" >&6
9427 # Check whether --enable-accessibility or --disable-accessibility was given.
9428 if test "${enable_accessibility+set}" = set; then
9429 enableval
="$enable_accessibility"
9431 if test "$enableval" = yes; then
9432 ac_cv_use_accessibility
='wxUSE_ACCESSIBILITY=yes'
9434 ac_cv_use_accessibility
='wxUSE_ACCESSIBILITY=no'
9439 LINE
=`grep "wxUSE_ACCESSIBILITY" ${wx_arg_cache_file}`
9440 if test "x$LINE" != x
; then
9441 eval "DEFAULT_$LINE"
9446 ac_cv_use_accessibility
='wxUSE_ACCESSIBILITY='$DEFAULT_wxUSE_ACCESSIBILITY
9450 eval "$ac_cv_use_accessibility"
9451 if test "$no_cache" != 1; then
9452 echo $ac_cv_use_accessibility >> ${wx_arg_cache_file}.tmp
9455 if test "$wxUSE_ACCESSIBILITY" = yes; then
9456 echo "$as_me:$LINENO: result: yes" >&5
9457 echo "${ECHO_T}yes" >&6
9459 echo "$as_me:$LINENO: result: no" >&5
9460 echo "${ECHO_T}no" >&6
9467 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-palette" >&5
9468 echo $ECHO_N "checking for --${enablestring:-enable}-palette... $ECHO_C" >&6
9470 # Check whether --enable-palette or --disable-palette was given.
9471 if test "${enable_palette+set}" = set; then
9472 enableval
="$enable_palette"
9474 if test "$enableval" = yes; then
9475 ac_cv_use_palette
='wxUSE_PALETTE=yes'
9477 ac_cv_use_palette
='wxUSE_PALETTE=no'
9482 LINE
=`grep "wxUSE_PALETTE" ${wx_arg_cache_file}`
9483 if test "x$LINE" != x
; then
9484 eval "DEFAULT_$LINE"
9489 ac_cv_use_palette
='wxUSE_PALETTE='$DEFAULT_wxUSE_PALETTE
9493 eval "$ac_cv_use_palette"
9494 if test "$no_cache" != 1; then
9495 echo $ac_cv_use_palette >> ${wx_arg_cache_file}.tmp
9498 if test "$wxUSE_PALETTE" = yes; then
9499 echo "$as_me:$LINENO: result: yes" >&5
9500 echo "${ECHO_T}yes" >&6
9502 echo "$as_me:$LINENO: result: no" >&5
9503 echo "${ECHO_T}no" >&6
9508 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-image" >&5
9509 echo $ECHO_N "checking for --${enablestring:-enable}-image... $ECHO_C" >&6
9511 # Check whether --enable-image or --disable-image was given.
9512 if test "${enable_image+set}" = set; then
9513 enableval
="$enable_image"
9515 if test "$enableval" = yes; then
9516 ac_cv_use_image
='wxUSE_IMAGE=yes'
9518 ac_cv_use_image
='wxUSE_IMAGE=no'
9523 LINE
=`grep "wxUSE_IMAGE" ${wx_arg_cache_file}`
9524 if test "x$LINE" != x
; then
9525 eval "DEFAULT_$LINE"
9530 ac_cv_use_image
='wxUSE_IMAGE='$DEFAULT_wxUSE_IMAGE
9534 eval "$ac_cv_use_image"
9535 if test "$no_cache" != 1; then
9536 echo $ac_cv_use_image >> ${wx_arg_cache_file}.tmp
9539 if test "$wxUSE_IMAGE" = yes; then
9540 echo "$as_me:$LINENO: result: yes" >&5
9541 echo "${ECHO_T}yes" >&6
9543 echo "$as_me:$LINENO: result: no" >&5
9544 echo "${ECHO_T}no" >&6
9549 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gif" >&5
9550 echo $ECHO_N "checking for --${enablestring:-enable}-gif... $ECHO_C" >&6
9552 # Check whether --enable-gif or --disable-gif was given.
9553 if test "${enable_gif+set}" = set; then
9554 enableval
="$enable_gif"
9556 if test "$enableval" = yes; then
9557 ac_cv_use_gif
='wxUSE_GIF=yes'
9559 ac_cv_use_gif
='wxUSE_GIF=no'
9564 LINE
=`grep "wxUSE_GIF" ${wx_arg_cache_file}`
9565 if test "x$LINE" != x
; then
9566 eval "DEFAULT_$LINE"
9571 ac_cv_use_gif
='wxUSE_GIF='$DEFAULT_wxUSE_GIF
9575 eval "$ac_cv_use_gif"
9576 if test "$no_cache" != 1; then
9577 echo $ac_cv_use_gif >> ${wx_arg_cache_file}.tmp
9580 if test "$wxUSE_GIF" = yes; then
9581 echo "$as_me:$LINENO: result: yes" >&5
9582 echo "${ECHO_T}yes" >&6
9584 echo "$as_me:$LINENO: result: no" >&5
9585 echo "${ECHO_T}no" >&6
9590 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-pcx" >&5
9591 echo $ECHO_N "checking for --${enablestring:-enable}-pcx... $ECHO_C" >&6
9593 # Check whether --enable-pcx or --disable-pcx was given.
9594 if test "${enable_pcx+set}" = set; then
9595 enableval
="$enable_pcx"
9597 if test "$enableval" = yes; then
9598 ac_cv_use_pcx
='wxUSE_PCX=yes'
9600 ac_cv_use_pcx
='wxUSE_PCX=no'
9605 LINE
=`grep "wxUSE_PCX" ${wx_arg_cache_file}`
9606 if test "x$LINE" != x
; then
9607 eval "DEFAULT_$LINE"
9612 ac_cv_use_pcx
='wxUSE_PCX='$DEFAULT_wxUSE_PCX
9616 eval "$ac_cv_use_pcx"
9617 if test "$no_cache" != 1; then
9618 echo $ac_cv_use_pcx >> ${wx_arg_cache_file}.tmp
9621 if test "$wxUSE_PCX" = yes; then
9622 echo "$as_me:$LINENO: result: yes" >&5
9623 echo "${ECHO_T}yes" >&6
9625 echo "$as_me:$LINENO: result: no" >&5
9626 echo "${ECHO_T}no" >&6
9631 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-iff" >&5
9632 echo $ECHO_N "checking for --${enablestring:-enable}-iff... $ECHO_C" >&6
9634 # Check whether --enable-iff or --disable-iff was given.
9635 if test "${enable_iff+set}" = set; then
9636 enableval
="$enable_iff"
9638 if test "$enableval" = yes; then
9639 ac_cv_use_iff
='wxUSE_IFF=yes'
9641 ac_cv_use_iff
='wxUSE_IFF=no'
9646 LINE
=`grep "wxUSE_IFF" ${wx_arg_cache_file}`
9647 if test "x$LINE" != x
; then
9648 eval "DEFAULT_$LINE"
9653 ac_cv_use_iff
='wxUSE_IFF='$DEFAULT_wxUSE_IFF
9657 eval "$ac_cv_use_iff"
9658 if test "$no_cache" != 1; then
9659 echo $ac_cv_use_iff >> ${wx_arg_cache_file}.tmp
9662 if test "$wxUSE_IFF" = yes; then
9663 echo "$as_me:$LINENO: result: yes" >&5
9664 echo "${ECHO_T}yes" >&6
9666 echo "$as_me:$LINENO: result: no" >&5
9667 echo "${ECHO_T}no" >&6
9672 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-pnm" >&5
9673 echo $ECHO_N "checking for --${enablestring:-enable}-pnm... $ECHO_C" >&6
9675 # Check whether --enable-pnm or --disable-pnm was given.
9676 if test "${enable_pnm+set}" = set; then
9677 enableval
="$enable_pnm"
9679 if test "$enableval" = yes; then
9680 ac_cv_use_pnm
='wxUSE_PNM=yes'
9682 ac_cv_use_pnm
='wxUSE_PNM=no'
9687 LINE
=`grep "wxUSE_PNM" ${wx_arg_cache_file}`
9688 if test "x$LINE" != x
; then
9689 eval "DEFAULT_$LINE"
9694 ac_cv_use_pnm
='wxUSE_PNM='$DEFAULT_wxUSE_PNM
9698 eval "$ac_cv_use_pnm"
9699 if test "$no_cache" != 1; then
9700 echo $ac_cv_use_pnm >> ${wx_arg_cache_file}.tmp
9703 if test "$wxUSE_PNM" = yes; then
9704 echo "$as_me:$LINENO: result: yes" >&5
9705 echo "${ECHO_T}yes" >&6
9707 echo "$as_me:$LINENO: result: no" >&5
9708 echo "${ECHO_T}no" >&6
9713 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-xpm" >&5
9714 echo $ECHO_N "checking for --${enablestring:-enable}-xpm... $ECHO_C" >&6
9716 # Check whether --enable-xpm or --disable-xpm was given.
9717 if test "${enable_xpm+set}" = set; then
9718 enableval
="$enable_xpm"
9720 if test "$enableval" = yes; then
9721 ac_cv_use_xpm
='wxUSE_XPM=yes'
9723 ac_cv_use_xpm
='wxUSE_XPM=no'
9728 LINE
=`grep "wxUSE_XPM" ${wx_arg_cache_file}`
9729 if test "x$LINE" != x
; then
9730 eval "DEFAULT_$LINE"
9735 ac_cv_use_xpm
='wxUSE_XPM='$DEFAULT_wxUSE_XPM
9739 eval "$ac_cv_use_xpm"
9740 if test "$no_cache" != 1; then
9741 echo $ac_cv_use_xpm >> ${wx_arg_cache_file}.tmp
9744 if test "$wxUSE_XPM" = yes; then
9745 echo "$as_me:$LINENO: result: yes" >&5
9746 echo "${ECHO_T}yes" >&6
9748 echo "$as_me:$LINENO: result: no" >&5
9749 echo "${ECHO_T}no" >&6
9754 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ico_cur" >&5
9755 echo $ECHO_N "checking for --${enablestring:-enable}-ico_cur... $ECHO_C" >&6
9757 # Check whether --enable-ico_cur or --disable-ico_cur was given.
9758 if test "${enable_ico_cur+set}" = set; then
9759 enableval
="$enable_ico_cur"
9761 if test "$enableval" = yes; then
9762 ac_cv_use_ico_cur
='wxUSE_ICO_CUR=yes'
9764 ac_cv_use_ico_cur
='wxUSE_ICO_CUR=no'
9769 LINE
=`grep "wxUSE_ICO_CUR" ${wx_arg_cache_file}`
9770 if test "x$LINE" != x
; then
9771 eval "DEFAULT_$LINE"
9776 ac_cv_use_ico_cur
='wxUSE_ICO_CUR='$DEFAULT_wxUSE_ICO_CUR
9780 eval "$ac_cv_use_ico_cur"
9781 if test "$no_cache" != 1; then
9782 echo $ac_cv_use_ico_cur >> ${wx_arg_cache_file}.tmp
9785 if test "$wxUSE_ICO_CUR" = yes; then
9786 echo "$as_me:$LINENO: result: yes" >&5
9787 echo "${ECHO_T}yes" >&6
9789 echo "$as_me:$LINENO: result: no" >&5
9790 echo "${ECHO_T}no" >&6
9799 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-official_build" >&5
9800 echo $ECHO_N "checking for --${enablestring:-enable}-official_build... $ECHO_C" >&6
9802 # Check whether --enable-official_build or --disable-official_build was given.
9803 if test "${enable_official_build+set}" = set; then
9804 enableval
="$enable_official_build"
9806 if test "$enableval" = yes; then
9807 ac_cv_use_official_build
='wxUSE_OFFICIAL_BUILD=yes'
9809 ac_cv_use_official_build
='wxUSE_OFFICIAL_BUILD=no'
9814 LINE
=`grep "wxUSE_OFFICIAL_BUILD" ${wx_arg_cache_file}`
9815 if test "x$LINE" != x
; then
9816 eval "DEFAULT_$LINE"
9821 ac_cv_use_official_build
='wxUSE_OFFICIAL_BUILD='$DEFAULT_wxUSE_OFFICIAL_BUILD
9825 eval "$ac_cv_use_official_build"
9826 if test "$no_cache" != 1; then
9827 echo $ac_cv_use_official_build >> ${wx_arg_cache_file}.tmp
9830 if test "$wxUSE_OFFICIAL_BUILD" = yes; then
9831 echo "$as_me:$LINENO: result: yes" >&5
9832 echo "${ECHO_T}yes" >&6
9834 echo "$as_me:$LINENO: result: no" >&5
9835 echo "${ECHO_T}no" >&6
9838 # Check whether --enable-vendor or --disable-vendor was given.
9839 if test "${enable_vendor+set}" = set; then
9840 enableval
="$enable_vendor"
9843 if test "x$VENDOR" = "x"; then
9848 *-pc-os2_emx | *-pc-os2-emx )
9858 echo "saving argument cache $wx_arg_cache_file"
9859 mv ${wx_arg_cache_file}.tmp
${wx_arg_cache_file}
9863 echo "$as_me:$LINENO: checking for toolkit" >&5
9864 echo $ECHO_N "checking for toolkit... $ECHO_C" >&6
9866 # In Wine, we need to default to MSW, not GTK or MOTIF
9867 if test "$wxUSE_WINE" = "yes"; then
9868 DEFAULT_DEFAULT_wxUSE_GTK
=0
9869 DEFAULT_DEFAULT_wxUSE_MOTIF
=0
9870 DEFAULT_DEFAULT_wxUSE_MSW
=1
9874 if test "$wxUSE_GUI" = "yes"; then
9876 if test "$USE_BEOS" = 1; then
9877 { { echo "$as_me:$LINENO: error: BeOS GUI is not supported yet, use --disable-gui" >&5
9878 echo "$as_me: error: BeOS GUI is not supported yet, use --disable-gui" >&2;}
9879 { (exit 1); exit 1; }; }
9882 if test "$TOOLKIT_GIVEN" = 1; then
9883 for toolkit
in `echo $ALL_TOOLKITS`; do
9885 eval "value=\$${var}"
9886 eval "$var=`echo \$value | sed -e "s
/yes
/1/" -e "s
/no
/0/"`"
9889 for toolkit
in `echo $ALL_TOOLKITS`; do
9890 if test "$has_toolkit_in_cache" != 1; then
9891 var
=DEFAULT_DEFAULT_wxUSE_
$toolkit
9893 var
=DEFAULT_wxUSE_
$toolkit
9895 eval "wxUSE_$toolkit=\$${var}"
9899 NUM_TOOLKITS
=`expr ${wxUSE_COCOA:-0} + ${wxUSE_GTK:-0} + ${wxUSE_MAC:-0} \
9900 + ${wxUSE_MGL:-0} + ${wxUSE_MICROWIN:-0} \
9901 + ${wxUSE_MOTIF:-0} + ${wxUSE_MSW:-0} + ${wxUSE_X11:-0}`
9904 *-pc-os2_emx | *-pc-os2-emx )
9905 NUM_TOOLKITS
=`expr ${NUM_TOOLKITS} + ${wxUSE_PM:-0}`
9908 case "$NUM_TOOLKITS" in
9912 { { echo "$as_me:$LINENO: error: Please specify a toolkit -- cannot determine the default for ${host}" >&5
9913 echo "$as_me: error: Please specify a toolkit -- cannot determine the default for ${host}" >&2;}
9914 { (exit 1); exit 1; }; }
9917 { { echo "$as_me:$LINENO: error: Please specify at most one toolkit (maybe some are cached in configarg.cache?)" >&5
9918 echo "$as_me: error: Please specify at most one toolkit (maybe some are cached in configarg.cache?)" >&2;}
9919 { (exit 1); exit 1; }; }
9922 for toolkit
in `echo $ALL_TOOLKITS`; do
9924 eval "value=\$${var}"
9925 if test "x$value" != x
; then
9926 cache_var
=CACHE_
$toolkit
9927 eval "cache=\$${cache_var}"
9928 if test "$cache" = 1; then
9929 echo "$var=$value" >> ${wx_arg_cache_file}
9931 if test "$value" = 1; then
9932 toolkit_echo
=`echo $toolkit | tr "[A-Z]" "[a-z]"`
9933 echo "$as_me:$LINENO: result: $toolkit_echo" >&5
9934 echo "${ECHO_T}$toolkit_echo" >&6
9939 if test "x$host_alias" != "x"; then
9940 echo "$as_me:$LINENO: result: base ($host_alias hosted) only" >&5
9941 echo "${ECHO_T}base ($host_alias hosted) only" >&6
9943 echo "$as_me:$LINENO: result: base only" >&5
9944 echo "${ECHO_T}base only" >&6
9952 if test "$wxUSE_MSW" = 1 ; then
9963 if test "$wxUSE_WINE" = "yes"; then
9968 LDFLAGS_GUI
="-mwindows"
9971 if test "$wants_win32" = 1 ; then
9974 cat >>confdefs.h
<<\_ACEOF
9978 cat >>confdefs.h
<<\_ACEOF
9982 cat >>confdefs.h
<<\_ACEOF
9983 #define __WINDOWS__ 1
9986 cat >>confdefs.h
<<\_ACEOF
9987 #define __GNUWIN32__ 1
9990 cat >>confdefs.h
<<\_ACEOF
9994 cat >>confdefs.h
<<\_ACEOF
9995 #define WINVER 0x0400
9999 if test "$doesnt_want_win32" = 1 ; then
10004 if test "$USE_UNIX" = 1 ; then
10006 cat >>confdefs.h
<<\_ACEOF
10013 cat >confcache
<<\_ACEOF
10014 # This file is a shell script that caches the results of configure
10015 # tests run on this system so they can be shared between configure
10016 # scripts and configure runs, see configure's option --config-cache.
10017 # It is not useful on other systems. If it contains results you don't
10018 # want to keep, you may remove or edit it.
10020 # config.status only pays attention to the cache file if you give it
10021 # the --recheck option to rerun configure.
10023 # `ac_cv_env_foo' variables (set or unset) will be overridden when
10024 # loading this file, other *unset* `ac_cv_foo' will be assigned the
10025 # following values.
10029 # The following way of writing the cache mishandles newlines in values,
10030 # but we know of no workaround that is simple, portable, and efficient.
10031 # So, don't put newlines in cache variables' values.
10032 # Ultrix sh set writes to stderr and can't be redirected directly,
10033 # and sets the high bit in the cache file unless we assign to the vars.
10036 case `(ac_space=' '; set | grep ac_space) 2>&1` in
10038 # `set' does not quote correctly, so add quotes (double-quote
10039 # substitution turns \\\\ into \\, and sed turns \\ into \).
10042 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
10045 # `set' quotes correctly as required by POSIX, so do not add quotes.
10047 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
10054 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
10056 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
10058 if diff $cache_file confcache
>/dev
/null
2>&1; then :; else
10059 if test -w $cache_file; then
10060 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
10061 cat confcache
>$cache_file
10063 echo "not updating unwritable cache $cache_file"
10068 if test "$build" != "$host" ; then
10069 if test "$USE_WIN32" = 1 -o "$USE_DOS" = 1 -o "$USE_UNIX"; then
10071 CXX
=$host_alias-c++
10073 RANLIB
=$host_alias-ranlib
10074 DLLTOOL
=$host_alias-dlltool
10075 RESCOMP
=$host_alias-windres
10078 STRIP
=$host_alias-strip
10080 { { echo "$as_me:$LINENO: error: $build_alias -> $host_alias cross compilation not supported yet." >&5
10081 echo "$as_me: error: $build_alias -> $host_alias cross compilation not supported yet." >&2;}
10082 { (exit 1); exit 1; }; }
10088 ac_cpp
='$CPP $CPPFLAGS'
10089 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10090 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10091 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
10092 if test -n "$ac_tool_prefix"; then
10093 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
10094 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
10095 echo "$as_me:$LINENO: checking for $ac_word" >&5
10096 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10097 if test "${ac_cv_prog_CC+set}" = set; then
10098 echo $ECHO_N "(cached) $ECHO_C" >&6
10100 if test -n "$CC"; then
10101 ac_cv_prog_CC
="$CC" # Let the user override the test.
10103 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10104 for as_dir
in $PATH
10107 test -z "$as_dir" && as_dir
=.
10108 for ac_exec_ext
in '' $ac_executable_extensions; do
10109 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10110 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
10111 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10120 if test -n "$CC"; then
10121 echo "$as_me:$LINENO: result: $CC" >&5
10122 echo "${ECHO_T}$CC" >&6
10124 echo "$as_me:$LINENO: result: no" >&5
10125 echo "${ECHO_T}no" >&6
10129 if test -z "$ac_cv_prog_CC"; then
10131 # Extract the first word of "gcc", so it can be a program name with args.
10132 set dummy gcc
; ac_word
=$2
10133 echo "$as_me:$LINENO: checking for $ac_word" >&5
10134 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10135 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
10136 echo $ECHO_N "(cached) $ECHO_C" >&6
10138 if test -n "$ac_ct_CC"; then
10139 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
10141 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10142 for as_dir
in $PATH
10145 test -z "$as_dir" && as_dir
=.
10146 for ac_exec_ext
in '' $ac_executable_extensions; do
10147 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10148 ac_cv_prog_ac_ct_CC
="gcc"
10149 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10157 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
10158 if test -n "$ac_ct_CC"; then
10159 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
10160 echo "${ECHO_T}$ac_ct_CC" >&6
10162 echo "$as_me:$LINENO: result: no" >&5
10163 echo "${ECHO_T}no" >&6
10168 CC
="$ac_cv_prog_CC"
10171 if test -z "$CC"; then
10172 if test -n "$ac_tool_prefix"; then
10173 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
10174 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
10175 echo "$as_me:$LINENO: checking for $ac_word" >&5
10176 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10177 if test "${ac_cv_prog_CC+set}" = set; then
10178 echo $ECHO_N "(cached) $ECHO_C" >&6
10180 if test -n "$CC"; then
10181 ac_cv_prog_CC
="$CC" # Let the user override the test.
10183 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10184 for as_dir
in $PATH
10187 test -z "$as_dir" && as_dir
=.
10188 for ac_exec_ext
in '' $ac_executable_extensions; do
10189 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10190 ac_cv_prog_CC
="${ac_tool_prefix}cc"
10191 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10200 if test -n "$CC"; then
10201 echo "$as_me:$LINENO: result: $CC" >&5
10202 echo "${ECHO_T}$CC" >&6
10204 echo "$as_me:$LINENO: result: no" >&5
10205 echo "${ECHO_T}no" >&6
10209 if test -z "$ac_cv_prog_CC"; then
10211 # Extract the first word of "cc", so it can be a program name with args.
10212 set dummy cc
; ac_word
=$2
10213 echo "$as_me:$LINENO: checking for $ac_word" >&5
10214 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10215 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
10216 echo $ECHO_N "(cached) $ECHO_C" >&6
10218 if test -n "$ac_ct_CC"; then
10219 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
10221 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10222 for as_dir
in $PATH
10225 test -z "$as_dir" && as_dir
=.
10226 for ac_exec_ext
in '' $ac_executable_extensions; do
10227 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10228 ac_cv_prog_ac_ct_CC
="cc"
10229 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10237 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
10238 if test -n "$ac_ct_CC"; then
10239 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
10240 echo "${ECHO_T}$ac_ct_CC" >&6
10242 echo "$as_me:$LINENO: result: no" >&5
10243 echo "${ECHO_T}no" >&6
10248 CC
="$ac_cv_prog_CC"
10252 if test -z "$CC"; then
10253 # Extract the first word of "cc", so it can be a program name with args.
10254 set dummy cc
; ac_word
=$2
10255 echo "$as_me:$LINENO: checking for $ac_word" >&5
10256 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10257 if test "${ac_cv_prog_CC+set}" = set; then
10258 echo $ECHO_N "(cached) $ECHO_C" >&6
10260 if test -n "$CC"; then
10261 ac_cv_prog_CC
="$CC" # Let the user override the test.
10263 ac_prog_rejected
=no
10264 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10265 for as_dir
in $PATH
10268 test -z "$as_dir" && as_dir
=.
10269 for ac_exec_ext
in '' $ac_executable_extensions; do
10270 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10271 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
10272 ac_prog_rejected
=yes
10276 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10282 if test $ac_prog_rejected = yes; then
10283 # We found a bogon in the path, so make sure we never use it.
10284 set dummy
$ac_cv_prog_CC
10286 if test $# != 0; then
10287 # We chose a different compiler from the bogus one.
10288 # However, it has the same basename, so the bogon will be chosen
10289 # first if we set CC to just the basename; use the full file name.
10291 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
10297 if test -n "$CC"; then
10298 echo "$as_me:$LINENO: result: $CC" >&5
10299 echo "${ECHO_T}$CC" >&6
10301 echo "$as_me:$LINENO: result: no" >&5
10302 echo "${ECHO_T}no" >&6
10306 if test -z "$CC"; then
10307 if test -n "$ac_tool_prefix"; then
10310 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
10311 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
10312 echo "$as_me:$LINENO: checking for $ac_word" >&5
10313 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10314 if test "${ac_cv_prog_CC+set}" = set; then
10315 echo $ECHO_N "(cached) $ECHO_C" >&6
10317 if test -n "$CC"; then
10318 ac_cv_prog_CC
="$CC" # Let the user override the test.
10320 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10321 for as_dir
in $PATH
10324 test -z "$as_dir" && as_dir
=.
10325 for ac_exec_ext
in '' $ac_executable_extensions; do
10326 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10327 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
10328 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10337 if test -n "$CC"; then
10338 echo "$as_me:$LINENO: result: $CC" >&5
10339 echo "${ECHO_T}$CC" >&6
10341 echo "$as_me:$LINENO: result: no" >&5
10342 echo "${ECHO_T}no" >&6
10345 test -n "$CC" && break
10348 if test -z "$CC"; then
10352 # Extract the first word of "$ac_prog", so it can be a program name with args.
10353 set dummy
$ac_prog; ac_word
=$2
10354 echo "$as_me:$LINENO: checking for $ac_word" >&5
10355 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10356 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
10357 echo $ECHO_N "(cached) $ECHO_C" >&6
10359 if test -n "$ac_ct_CC"; then
10360 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
10362 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10363 for as_dir
in $PATH
10366 test -z "$as_dir" && as_dir
=.
10367 for ac_exec_ext
in '' $ac_executable_extensions; do
10368 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10369 ac_cv_prog_ac_ct_CC
="$ac_prog"
10370 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10378 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
10379 if test -n "$ac_ct_CC"; then
10380 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
10381 echo "${ECHO_T}$ac_ct_CC" >&6
10383 echo "$as_me:$LINENO: result: no" >&5
10384 echo "${ECHO_T}no" >&6
10387 test -n "$ac_ct_CC" && break
10396 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
10397 See \`config.log' for more details." >&5
10398 echo "$as_me: error: no acceptable C compiler found in \$PATH
10399 See \`config.log' for more details." >&2;}
10400 { (exit 1); exit 1; }; }
10402 # Provide some information about the compiler.
10403 echo "$as_me:$LINENO:" \
10404 "checking for C compiler version" >&5
10405 ac_compiler
=`set X $ac_compile; echo $2`
10406 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
10407 (eval $ac_compiler --version </dev
/null
>&5) 2>&5
10409 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10410 (exit $ac_status); }
10411 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
10412 (eval $ac_compiler -v </dev
/null
>&5) 2>&5
10414 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10415 (exit $ac_status); }
10416 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
10417 (eval $ac_compiler -V </dev
/null
>&5) 2>&5
10419 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10420 (exit $ac_status); }
10422 cat >conftest.
$ac_ext <<_ACEOF
10425 cat confdefs.h
>>conftest.
$ac_ext
10426 cat >>conftest.
$ac_ext <<_ACEOF
10427 /* end confdefs.h. */
10437 ac_clean_files_save
=$ac_clean_files
10438 ac_clean_files
="$ac_clean_files a.out a.exe b.out"
10439 # Try to create an executable without -o first, disregard a.out.
10440 # It will help us diagnose broken compilers, and finding out an intuition
10442 echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
10443 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6
10444 ac_link_default
=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
10445 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
10446 (eval $ac_link_default) 2>&5
10448 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10449 (exit $ac_status); }; then
10450 # Find the output, starting from the most likely. This scheme is
10451 # not robust to junk in `.', hence go to wildcards (a.*) only as a last
10454 # Be careful to initialize this variable, since it used to be cached.
10455 # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
10457 # b.out is created by i960 compilers.
10458 for ac_file
in a_out.exe a.exe conftest.exe a.out conftest a.
* conftest.
* b.out
10460 test -f "$ac_file" || continue
10462 *.
$ac_ext | *.xcoff
| *.tds
| *.d
| *.pdb
| *.xSYM
| *.bb
| *.bbg
| *.o
| *.obj
)
10465 # This is the source file.
10468 # We found the default executable, but exeext='' is most
10472 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
10473 # FIXME: I believe we export ac_cv_exeext for Libtool,
10474 # but it would be cool to find out if it's true. Does anybody
10475 # maintain Libtool? --akim.
10476 export ac_cv_exeext
10483 echo "$as_me: failed program was:" >&5
10484 sed 's/^/| /' conftest.
$ac_ext >&5
10486 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
10487 See \`config.log' for more details." >&5
10488 echo "$as_me: error: C compiler cannot create executables
10489 See \`config.log' for more details." >&2;}
10490 { (exit 77); exit 77; }; }
10493 ac_exeext
=$ac_cv_exeext
10494 echo "$as_me:$LINENO: result: $ac_file" >&5
10495 echo "${ECHO_T}$ac_file" >&6
10497 # Check the compiler produces executables we can run. If not, either
10498 # the compiler is broken, or we cross compile.
10499 echo "$as_me:$LINENO: checking whether the C compiler works" >&5
10500 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
10501 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
10502 # If not cross compiling, check that we can run a simple program.
10503 if test "$cross_compiling" != yes; then
10504 if { ac_try
='./$ac_file'
10505 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10506 (eval $ac_try) 2>&5
10508 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10509 (exit $ac_status); }; }; then
10512 if test "$cross_compiling" = maybe
; then
10513 cross_compiling
=yes
10515 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
10516 If you meant to cross compile, use \`--host'.
10517 See \`config.log' for more details." >&5
10518 echo "$as_me: error: cannot run C compiled programs.
10519 If you meant to cross compile, use \`--host'.
10520 See \`config.log' for more details." >&2;}
10521 { (exit 1); exit 1; }; }
10525 echo "$as_me:$LINENO: result: yes" >&5
10526 echo "${ECHO_T}yes" >&6
10528 rm -f a.out a.exe conftest
$ac_cv_exeext b.out
10529 ac_clean_files
=$ac_clean_files_save
10530 # Check the compiler produces executables we can run. If not, either
10531 # the compiler is broken, or we cross compile.
10532 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
10533 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
10534 echo "$as_me:$LINENO: result: $cross_compiling" >&5
10535 echo "${ECHO_T}$cross_compiling" >&6
10537 echo "$as_me:$LINENO: checking for suffix of executables" >&5
10538 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
10539 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10540 (eval $ac_link) 2>&5
10542 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10543 (exit $ac_status); }; then
10544 # If both `conftest.exe' and `conftest' are `present' (well, observable)
10545 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
10546 # work properly (i.e., refer to `conftest.exe'), while it won't with
10548 for ac_file
in conftest.exe conftest conftest.
*; do
10549 test -f "$ac_file" || continue
10551 *.
$ac_ext | *.xcoff
| *.tds
| *.d
| *.pdb
| *.xSYM
| *.bb
| *.bbg
| *.o
| *.obj
) ;;
10552 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
10553 export ac_cv_exeext
10559 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
10560 See \`config.log' for more details." >&5
10561 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
10562 See \`config.log' for more details." >&2;}
10563 { (exit 1); exit 1; }; }
10566 rm -f conftest
$ac_cv_exeext
10567 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
10568 echo "${ECHO_T}$ac_cv_exeext" >&6
10570 rm -f conftest.
$ac_ext
10571 EXEEXT
=$ac_cv_exeext
10573 echo "$as_me:$LINENO: checking for suffix of object files" >&5
10574 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
10575 if test "${ac_cv_objext+set}" = set; then
10576 echo $ECHO_N "(cached) $ECHO_C" >&6
10578 cat >conftest.
$ac_ext <<_ACEOF
10581 cat confdefs.h
>>conftest.
$ac_ext
10582 cat >>conftest.
$ac_ext <<_ACEOF
10583 /* end confdefs.h. */
10593 rm -f conftest.o conftest.obj
10594 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10595 (eval $ac_compile) 2>&5
10597 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10598 (exit $ac_status); }; then
10599 for ac_file
in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
10601 *.
$ac_ext | *.xcoff
| *.tds
| *.d
| *.pdb
| *.xSYM
| *.bb
| *.bbg
) ;;
10602 *) ac_cv_objext
=`expr "$ac_file" : '.*\.\(.*\)'`
10607 echo "$as_me: failed program was:" >&5
10608 sed 's/^/| /' conftest.
$ac_ext >&5
10610 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
10611 See \`config.log' for more details." >&5
10612 echo "$as_me: error: cannot compute suffix of object files: cannot compile
10613 See \`config.log' for more details." >&2;}
10614 { (exit 1); exit 1; }; }
10617 rm -f conftest.
$ac_cv_objext conftest.
$ac_ext
10619 echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
10620 echo "${ECHO_T}$ac_cv_objext" >&6
10621 OBJEXT
=$ac_cv_objext
10623 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
10624 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
10625 if test "${ac_cv_c_compiler_gnu+set}" = set; then
10626 echo $ECHO_N "(cached) $ECHO_C" >&6
10628 cat >conftest.
$ac_ext <<_ACEOF
10631 cat confdefs.h
>>conftest.
$ac_ext
10632 cat >>conftest.
$ac_ext <<_ACEOF
10633 /* end confdefs.h. */
10646 rm -f conftest.
$ac_objext
10647 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10648 (eval $ac_compile) 2>conftest.er1
10650 grep -v '^ *+' conftest.er1
>conftest.err
10652 cat conftest.err
>&5
10653 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10654 (exit $ac_status); } &&
10655 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10656 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10657 (eval $ac_try) 2>&5
10659 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10660 (exit $ac_status); }; } &&
10661 { ac_try
='test -s conftest.$ac_objext'
10662 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10663 (eval $ac_try) 2>&5
10665 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10666 (exit $ac_status); }; }; then
10667 ac_compiler_gnu
=yes
10669 echo "$as_me: failed program was:" >&5
10670 sed 's/^/| /' conftest.
$ac_ext >&5
10674 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
10675 ac_cv_c_compiler_gnu
=$ac_compiler_gnu
10678 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
10679 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
10680 GCC
=`test $ac_compiler_gnu = yes && echo yes`
10681 ac_test_CFLAGS
=${CFLAGS+set}
10682 ac_save_CFLAGS
=$CFLAGS
10684 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
10685 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
10686 if test "${ac_cv_prog_cc_g+set}" = set; then
10687 echo $ECHO_N "(cached) $ECHO_C" >&6
10689 cat >conftest.
$ac_ext <<_ACEOF
10692 cat confdefs.h
>>conftest.
$ac_ext
10693 cat >>conftest.
$ac_ext <<_ACEOF
10694 /* end confdefs.h. */
10704 rm -f conftest.
$ac_objext
10705 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10706 (eval $ac_compile) 2>conftest.er1
10708 grep -v '^ *+' conftest.er1
>conftest.err
10710 cat conftest.err
>&5
10711 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10712 (exit $ac_status); } &&
10713 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10714 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10715 (eval $ac_try) 2>&5
10717 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10718 (exit $ac_status); }; } &&
10719 { ac_try
='test -s conftest.$ac_objext'
10720 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10721 (eval $ac_try) 2>&5
10723 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10724 (exit $ac_status); }; }; then
10725 ac_cv_prog_cc_g
=yes
10727 echo "$as_me: failed program was:" >&5
10728 sed 's/^/| /' conftest.
$ac_ext >&5
10732 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
10734 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
10735 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
10736 if test "$ac_test_CFLAGS" = set; then
10737 CFLAGS
=$ac_save_CFLAGS
10738 elif test $ac_cv_prog_cc_g = yes; then
10739 if test "$GCC" = yes; then
10745 if test "$GCC" = yes; then
10751 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
10752 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
10753 if test "${ac_cv_prog_cc_stdc+set}" = set; then
10754 echo $ECHO_N "(cached) $ECHO_C" >&6
10756 ac_cv_prog_cc_stdc
=no
10758 cat >conftest.
$ac_ext <<_ACEOF
10761 cat confdefs.h
>>conftest.
$ac_ext
10762 cat >>conftest.
$ac_ext <<_ACEOF
10763 /* end confdefs.h. */
10764 #include <stdarg.h>
10766 #include <sys/types.h>
10767 #include <sys/stat.h>
10768 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
10769 struct buf { int x; };
10770 FILE * (*rcsopen) (struct buf *, struct stat *, int);
10771 static char *e (p, i)
10777 static char *f (char * (*g) (char **, int), char **p, ...)
10782 s = g (p, va_arg (v,int));
10787 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
10788 function prototypes and stuff, but not '\xHH' hex character constants.
10789 These don't provoke an error unfortunately, instead are silently treated
10790 as 'x'. The following induces an error, until -std1 is added to get
10791 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
10792 array size at least. It's necessary to write '\x00'==0 to get something
10793 that's true only with -std1. */
10794 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
10796 int test (int i, double x);
10797 struct s1 {int (*f) (int a);};
10798 struct s2 {int (*f) (double a);};
10799 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
10805 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
10810 # Don't try gcc -ansi; that turns off useful extensions and
10811 # breaks some systems' header files.
10812 # AIX -qlanglvl=ansi
10813 # Ultrix and OSF/1 -std1
10814 # HP-UX 10.20 and later -Ae
10815 # HP-UX older versions -Aa -D_HPUX_SOURCE
10816 # SVR4 -Xc -D__EXTENSIONS__
10817 for ac_arg
in "" -qlanglvl=ansi
-std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
10819 CC
="$ac_save_CC $ac_arg"
10820 rm -f conftest.
$ac_objext
10821 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10822 (eval $ac_compile) 2>conftest.er1
10824 grep -v '^ *+' conftest.er1
>conftest.err
10826 cat conftest.err
>&5
10827 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10828 (exit $ac_status); } &&
10829 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10830 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10831 (eval $ac_try) 2>&5
10833 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10834 (exit $ac_status); }; } &&
10835 { ac_try
='test -s conftest.$ac_objext'
10836 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10837 (eval $ac_try) 2>&5
10839 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10840 (exit $ac_status); }; }; then
10841 ac_cv_prog_cc_stdc
=$ac_arg
10844 echo "$as_me: failed program was:" >&5
10845 sed 's/^/| /' conftest.
$ac_ext >&5
10848 rm -f conftest.err conftest.
$ac_objext
10850 rm -f conftest.
$ac_ext conftest.
$ac_objext
10855 case "x$ac_cv_prog_cc_stdc" in
10857 echo "$as_me:$LINENO: result: none needed" >&5
10858 echo "${ECHO_T}none needed" >&6 ;;
10860 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
10861 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
10862 CC
="$CC $ac_cv_prog_cc_stdc" ;;
10865 # Some people use a C++ compiler to compile C. Since we use `exit',
10866 # in C++ we need to declare it. In case someone uses the same compiler
10867 # for both compiling C and C++ we need to have the C++ compiler decide
10868 # the declaration of exit, since it's the most demanding environment.
10869 cat >conftest.
$ac_ext <<_ACEOF
10870 #ifndef __cplusplus
10874 rm -f conftest.
$ac_objext
10875 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10876 (eval $ac_compile) 2>conftest.er1
10878 grep -v '^ *+' conftest.er1
>conftest.err
10880 cat conftest.err
>&5
10881 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10882 (exit $ac_status); } &&
10883 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10884 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10885 (eval $ac_try) 2>&5
10887 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10888 (exit $ac_status); }; } &&
10889 { ac_try
='test -s conftest.$ac_objext'
10890 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10891 (eval $ac_try) 2>&5
10893 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10894 (exit $ac_status); }; }; then
10895 for ac_declaration
in \
10897 'extern "C" void std::exit (int) throw (); using std::exit;' \
10898 'extern "C" void std::exit (int); using std::exit;' \
10899 'extern "C" void exit (int) throw ();' \
10900 'extern "C" void exit (int);' \
10903 cat >conftest.
$ac_ext <<_ACEOF
10906 cat confdefs.h
>>conftest.
$ac_ext
10907 cat >>conftest.
$ac_ext <<_ACEOF
10908 /* end confdefs.h. */
10910 #include <stdlib.h>
10919 rm -f conftest.
$ac_objext
10920 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10921 (eval $ac_compile) 2>conftest.er1
10923 grep -v '^ *+' conftest.er1
>conftest.err
10925 cat conftest.err
>&5
10926 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10927 (exit $ac_status); } &&
10928 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10929 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10930 (eval $ac_try) 2>&5
10932 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10933 (exit $ac_status); }; } &&
10934 { ac_try
='test -s conftest.$ac_objext'
10935 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10936 (eval $ac_try) 2>&5
10938 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10939 (exit $ac_status); }; }; then
10942 echo "$as_me: failed program was:" >&5
10943 sed 's/^/| /' conftest.
$ac_ext >&5
10947 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
10948 cat >conftest.
$ac_ext <<_ACEOF
10951 cat confdefs.h
>>conftest.
$ac_ext
10952 cat >>conftest.
$ac_ext <<_ACEOF
10953 /* end confdefs.h. */
10963 rm -f conftest.
$ac_objext
10964 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10965 (eval $ac_compile) 2>conftest.er1
10967 grep -v '^ *+' conftest.er1
>conftest.err
10969 cat conftest.err
>&5
10970 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10971 (exit $ac_status); } &&
10972 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10973 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10974 (eval $ac_try) 2>&5
10976 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10977 (exit $ac_status); }; } &&
10978 { ac_try
='test -s conftest.$ac_objext'
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); }; }; then
10986 echo "$as_me: failed program was:" >&5
10987 sed 's/^/| /' conftest.
$ac_ext >&5
10990 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
10993 if test -n "$ac_declaration"; then
10994 echo '#ifdef __cplusplus' >>confdefs.h
10995 echo $ac_declaration >>confdefs.h
10996 echo '#endif' >>confdefs.h
11000 echo "$as_me: failed program was:" >&5
11001 sed 's/^/| /' conftest.
$ac_ext >&5
11004 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11006 ac_cpp
='$CPP $CPPFLAGS'
11007 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11008 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11009 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
11014 ac_cpp
='$CPP $CPPFLAGS'
11015 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11016 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11017 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
11018 echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
11019 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
11020 # On Suns, sometimes $CPP names a directory.
11021 if test -n "$CPP" && test -d "$CPP"; then
11024 if test -z "$CPP"; then
11025 if test "${ac_cv_prog_CPP+set}" = set; then
11026 echo $ECHO_N "(cached) $ECHO_C" >&6
11028 # Double quotes because CPP needs to be expanded
11029 for CPP
in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
11031 ac_preproc_ok
=false
11032 for ac_c_preproc_warn_flag
in '' yes
11034 # Use a header file that comes with gcc, so configuring glibc
11035 # with a fresh cross-compiler works.
11036 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11037 # <limits.h> exists even on freestanding compilers.
11038 # On the NeXT, cc -E runs the code through the compiler's parser,
11039 # not just through cpp. "Syntax error" is here to catch this case.
11040 cat >conftest.
$ac_ext <<_ACEOF
11043 cat confdefs.h
>>conftest.
$ac_ext
11044 cat >>conftest.
$ac_ext <<_ACEOF
11045 /* end confdefs.h. */
11047 # include <limits.h>
11049 # include <assert.h>
11053 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
11054 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
11056 grep -v '^ *+' conftest.er1
>conftest.err
11058 cat conftest.err
>&5
11059 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11060 (exit $ac_status); } >/dev
/null
; then
11061 if test -s conftest.err
; then
11062 ac_cpp_err
=$ac_c_preproc_warn_flag
11063 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
11070 if test -z "$ac_cpp_err"; then
11073 echo "$as_me: failed program was:" >&5
11074 sed 's/^/| /' conftest.
$ac_ext >&5
11076 # Broken: fails on valid input.
11079 rm -f conftest.err conftest.
$ac_ext
11081 # OK, works on sane cases. Now check whether non-existent headers
11082 # can be detected and how.
11083 cat >conftest.
$ac_ext <<_ACEOF
11086 cat confdefs.h
>>conftest.
$ac_ext
11087 cat >>conftest.
$ac_ext <<_ACEOF
11088 /* end confdefs.h. */
11089 #include <ac_nonexistent.h>
11091 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
11092 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
11094 grep -v '^ *+' conftest.er1
>conftest.err
11096 cat conftest.err
>&5
11097 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11098 (exit $ac_status); } >/dev
/null
; then
11099 if test -s conftest.err
; then
11100 ac_cpp_err
=$ac_c_preproc_warn_flag
11101 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
11108 if test -z "$ac_cpp_err"; then
11109 # Broken: success on invalid input.
11112 echo "$as_me: failed program was:" >&5
11113 sed 's/^/| /' conftest.
$ac_ext >&5
11115 # Passes both tests.
11119 rm -f conftest.err conftest.
$ac_ext
11122 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
11123 rm -f conftest.err conftest.
$ac_ext
11124 if $ac_preproc_ok; then
11129 ac_cv_prog_CPP
=$CPP
11132 CPP
=$ac_cv_prog_CPP
11134 ac_cv_prog_CPP
=$CPP
11136 echo "$as_me:$LINENO: result: $CPP" >&5
11137 echo "${ECHO_T}$CPP" >&6
11138 ac_preproc_ok
=false
11139 for ac_c_preproc_warn_flag
in '' yes
11141 # Use a header file that comes with gcc, so configuring glibc
11142 # with a fresh cross-compiler works.
11143 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11144 # <limits.h> exists even on freestanding compilers.
11145 # On the NeXT, cc -E runs the code through the compiler's parser,
11146 # not just through cpp. "Syntax error" is here to catch this case.
11147 cat >conftest.
$ac_ext <<_ACEOF
11150 cat confdefs.h
>>conftest.
$ac_ext
11151 cat >>conftest.
$ac_ext <<_ACEOF
11152 /* end confdefs.h. */
11154 # include <limits.h>
11156 # include <assert.h>
11160 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
11161 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
11163 grep -v '^ *+' conftest.er1
>conftest.err
11165 cat conftest.err
>&5
11166 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11167 (exit $ac_status); } >/dev
/null
; then
11168 if test -s conftest.err
; then
11169 ac_cpp_err
=$ac_c_preproc_warn_flag
11170 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
11177 if test -z "$ac_cpp_err"; then
11180 echo "$as_me: failed program was:" >&5
11181 sed 's/^/| /' conftest.
$ac_ext >&5
11183 # Broken: fails on valid input.
11186 rm -f conftest.err conftest.
$ac_ext
11188 # OK, works on sane cases. Now check whether non-existent headers
11189 # can be detected and how.
11190 cat >conftest.
$ac_ext <<_ACEOF
11193 cat confdefs.h
>>conftest.
$ac_ext
11194 cat >>conftest.
$ac_ext <<_ACEOF
11195 /* end confdefs.h. */
11196 #include <ac_nonexistent.h>
11198 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
11199 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
11201 grep -v '^ *+' conftest.er1
>conftest.err
11203 cat conftest.err
>&5
11204 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11205 (exit $ac_status); } >/dev
/null
; then
11206 if test -s conftest.err
; then
11207 ac_cpp_err
=$ac_c_preproc_warn_flag
11208 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
11215 if test -z "$ac_cpp_err"; then
11216 # Broken: success on invalid input.
11219 echo "$as_me: failed program was:" >&5
11220 sed 's/^/| /' conftest.
$ac_ext >&5
11222 # Passes both tests.
11226 rm -f conftest.err conftest.
$ac_ext
11229 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
11230 rm -f conftest.err conftest.
$ac_ext
11231 if $ac_preproc_ok; then
11234 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
11235 See \`config.log' for more details." >&5
11236 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
11237 See \`config.log' for more details." >&2;}
11238 { (exit 1); exit 1; }; }
11242 ac_cpp
='$CPP $CPPFLAGS'
11243 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11244 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11245 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
11248 echo "$as_me:$LINENO: checking for egrep" >&5
11249 echo $ECHO_N "checking for egrep... $ECHO_C" >&6
11250 if test "${ac_cv_prog_egrep+set}" = set; then
11251 echo $ECHO_N "(cached) $ECHO_C" >&6
11253 if echo a
| (grep -E '(a|b)') >/dev
/null
2>&1
11254 then ac_cv_prog_egrep
='grep -E'
11255 else ac_cv_prog_egrep
='egrep'
11258 echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
11259 echo "${ECHO_T}$ac_cv_prog_egrep" >&6
11260 EGREP
=$ac_cv_prog_egrep
11263 if test $ac_cv_c_compiler_gnu = yes; then
11264 echo "$as_me:$LINENO: checking whether $CC needs -traditional" >&5
11265 echo $ECHO_N "checking whether $CC needs -traditional... $ECHO_C" >&6
11266 if test "${ac_cv_prog_gcc_traditional+set}" = set; then
11267 echo $ECHO_N "(cached) $ECHO_C" >&6
11269 ac_pattern
="Autoconf.*'x'"
11270 cat >conftest.
$ac_ext <<_ACEOF
11273 cat confdefs.h
>>conftest.
$ac_ext
11274 cat >>conftest.
$ac_ext <<_ACEOF
11275 /* end confdefs.h. */
11279 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
11280 $EGREP "$ac_pattern" >/dev
/null
2>&1; then
11281 ac_cv_prog_gcc_traditional
=yes
11283 ac_cv_prog_gcc_traditional
=no
11288 if test $ac_cv_prog_gcc_traditional = no
; then
11289 cat >conftest.
$ac_ext <<_ACEOF
11292 cat confdefs.h
>>conftest.
$ac_ext
11293 cat >>conftest.
$ac_ext <<_ACEOF
11294 /* end confdefs.h. */
11295 #include <termio.h>
11298 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
11299 $EGREP "$ac_pattern" >/dev
/null
2>&1; then
11300 ac_cv_prog_gcc_traditional
=yes
11306 echo "$as_me:$LINENO: result: $ac_cv_prog_gcc_traditional" >&5
11307 echo "${ECHO_T}$ac_cv_prog_gcc_traditional" >&6
11308 if test $ac_cv_prog_gcc_traditional = yes; then
11309 CC
="$CC -traditional"
11317 ac_cpp
='$CXXCPP $CPPFLAGS'
11318 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11319 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11320 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
11323 CXXFLAGS
=${CXXFLAGS:=}
11325 ac_cpp
='$CXXCPP $CPPFLAGS'
11326 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11327 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11328 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
11329 if test -n "$ac_tool_prefix"; then
11330 for ac_prog
in $CCC g
++ c
++ gpp aCC CC cxx cc
++ cl FCC KCC RCC xlC_r xlC
11332 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
11333 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
11334 echo "$as_me:$LINENO: checking for $ac_word" >&5
11335 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11336 if test "${ac_cv_prog_CXX+set}" = set; then
11337 echo $ECHO_N "(cached) $ECHO_C" >&6
11339 if test -n "$CXX"; then
11340 ac_cv_prog_CXX
="$CXX" # Let the user override the test.
11342 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11343 for as_dir
in $PATH
11346 test -z "$as_dir" && as_dir
=.
11347 for ac_exec_ext
in '' $ac_executable_extensions; do
11348 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11349 ac_cv_prog_CXX
="$ac_tool_prefix$ac_prog"
11350 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11358 CXX
=$ac_cv_prog_CXX
11359 if test -n "$CXX"; then
11360 echo "$as_me:$LINENO: result: $CXX" >&5
11361 echo "${ECHO_T}$CXX" >&6
11363 echo "$as_me:$LINENO: result: no" >&5
11364 echo "${ECHO_T}no" >&6
11367 test -n "$CXX" && break
11370 if test -z "$CXX"; then
11372 for ac_prog
in $CCC g
++ c
++ gpp aCC CC cxx cc
++ cl FCC KCC RCC xlC_r xlC
11374 # Extract the first word of "$ac_prog", so it can be a program name with args.
11375 set dummy
$ac_prog; ac_word
=$2
11376 echo "$as_me:$LINENO: checking for $ac_word" >&5
11377 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11378 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
11379 echo $ECHO_N "(cached) $ECHO_C" >&6
11381 if test -n "$ac_ct_CXX"; then
11382 ac_cv_prog_ac_ct_CXX
="$ac_ct_CXX" # Let the user override the test.
11384 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11385 for as_dir
in $PATH
11388 test -z "$as_dir" && as_dir
=.
11389 for ac_exec_ext
in '' $ac_executable_extensions; do
11390 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11391 ac_cv_prog_ac_ct_CXX
="$ac_prog"
11392 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11400 ac_ct_CXX
=$ac_cv_prog_ac_ct_CXX
11401 if test -n "$ac_ct_CXX"; then
11402 echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
11403 echo "${ECHO_T}$ac_ct_CXX" >&6
11405 echo "$as_me:$LINENO: result: no" >&5
11406 echo "${ECHO_T}no" >&6
11409 test -n "$ac_ct_CXX" && break
11411 test -n "$ac_ct_CXX" || ac_ct_CXX
="g++"
11417 # Provide some information about the compiler.
11418 echo "$as_me:$LINENO:" \
11419 "checking for C++ compiler version" >&5
11420 ac_compiler
=`set X $ac_compile; echo $2`
11421 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
11422 (eval $ac_compiler --version </dev
/null
>&5) 2>&5
11424 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11425 (exit $ac_status); }
11426 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
11427 (eval $ac_compiler -v </dev
/null
>&5) 2>&5
11429 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11430 (exit $ac_status); }
11431 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
11432 (eval $ac_compiler -V </dev
/null
>&5) 2>&5
11434 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11435 (exit $ac_status); }
11437 echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
11438 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6
11439 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
11440 echo $ECHO_N "(cached) $ECHO_C" >&6
11442 cat >conftest.
$ac_ext <<_ACEOF
11445 cat confdefs.h
>>conftest.
$ac_ext
11446 cat >>conftest.
$ac_ext <<_ACEOF
11447 /* end confdefs.h. */
11460 rm -f conftest.
$ac_objext
11461 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11462 (eval $ac_compile) 2>conftest.er1
11464 grep -v '^ *+' conftest.er1
>conftest.err
11466 cat conftest.err
>&5
11467 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11468 (exit $ac_status); } &&
11469 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
11470 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11471 (eval $ac_try) 2>&5
11473 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11474 (exit $ac_status); }; } &&
11475 { ac_try
='test -s conftest.$ac_objext'
11476 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11477 (eval $ac_try) 2>&5
11479 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11480 (exit $ac_status); }; }; then
11481 ac_compiler_gnu
=yes
11483 echo "$as_me: failed program was:" >&5
11484 sed 's/^/| /' conftest.
$ac_ext >&5
11488 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11489 ac_cv_cxx_compiler_gnu
=$ac_compiler_gnu
11492 echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
11493 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6
11494 GXX
=`test $ac_compiler_gnu = yes && echo yes`
11495 ac_test_CXXFLAGS
=${CXXFLAGS+set}
11496 ac_save_CXXFLAGS
=$CXXFLAGS
11498 echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
11499 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6
11500 if test "${ac_cv_prog_cxx_g+set}" = set; then
11501 echo $ECHO_N "(cached) $ECHO_C" >&6
11503 cat >conftest.
$ac_ext <<_ACEOF
11506 cat confdefs.h
>>conftest.
$ac_ext
11507 cat >>conftest.
$ac_ext <<_ACEOF
11508 /* end confdefs.h. */
11518 rm -f conftest.
$ac_objext
11519 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11520 (eval $ac_compile) 2>conftest.er1
11522 grep -v '^ *+' conftest.er1
>conftest.err
11524 cat conftest.err
>&5
11525 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11526 (exit $ac_status); } &&
11527 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
11528 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11529 (eval $ac_try) 2>&5
11531 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11532 (exit $ac_status); }; } &&
11533 { ac_try
='test -s conftest.$ac_objext'
11534 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11535 (eval $ac_try) 2>&5
11537 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11538 (exit $ac_status); }; }; then
11539 ac_cv_prog_cxx_g
=yes
11541 echo "$as_me: failed program was:" >&5
11542 sed 's/^/| /' conftest.
$ac_ext >&5
11544 ac_cv_prog_cxx_g
=no
11546 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11548 echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
11549 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6
11550 if test "$ac_test_CXXFLAGS" = set; then
11551 CXXFLAGS
=$ac_save_CXXFLAGS
11552 elif test $ac_cv_prog_cxx_g = yes; then
11553 if test "$GXX" = yes; then
11559 if test "$GXX" = yes; then
11565 for ac_declaration
in \
11567 'extern "C" void std::exit (int) throw (); using std::exit;' \
11568 'extern "C" void std::exit (int); using std::exit;' \
11569 'extern "C" void exit (int) throw ();' \
11570 'extern "C" void exit (int);' \
11573 cat >conftest.
$ac_ext <<_ACEOF
11576 cat confdefs.h
>>conftest.
$ac_ext
11577 cat >>conftest.
$ac_ext <<_ACEOF
11578 /* end confdefs.h. */
11580 #include <stdlib.h>
11589 rm -f conftest.
$ac_objext
11590 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11591 (eval $ac_compile) 2>conftest.er1
11593 grep -v '^ *+' conftest.er1
>conftest.err
11595 cat conftest.err
>&5
11596 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11597 (exit $ac_status); } &&
11598 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
11599 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11600 (eval $ac_try) 2>&5
11602 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11603 (exit $ac_status); }; } &&
11604 { ac_try
='test -s conftest.$ac_objext'
11605 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11606 (eval $ac_try) 2>&5
11608 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11609 (exit $ac_status); }; }; then
11612 echo "$as_me: failed program was:" >&5
11613 sed 's/^/| /' conftest.
$ac_ext >&5
11617 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11618 cat >conftest.
$ac_ext <<_ACEOF
11621 cat confdefs.h
>>conftest.
$ac_ext
11622 cat >>conftest.
$ac_ext <<_ACEOF
11623 /* end confdefs.h. */
11633 rm -f conftest.
$ac_objext
11634 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11635 (eval $ac_compile) 2>conftest.er1
11637 grep -v '^ *+' conftest.er1
>conftest.err
11639 cat conftest.err
>&5
11640 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11641 (exit $ac_status); } &&
11642 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
11643 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11644 (eval $ac_try) 2>&5
11646 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11647 (exit $ac_status); }; } &&
11648 { ac_try
='test -s conftest.$ac_objext'
11649 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11650 (eval $ac_try) 2>&5
11652 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11653 (exit $ac_status); }; }; then
11656 echo "$as_me: failed program was:" >&5
11657 sed 's/^/| /' conftest.
$ac_ext >&5
11660 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11663 if test -n "$ac_declaration"; then
11664 echo '#ifdef __cplusplus' >>confdefs.h
11665 echo $ac_declaration >>confdefs.h
11666 echo '#endif' >>confdefs.h
11670 ac_cpp
='$CXXCPP $CPPFLAGS'
11671 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11672 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11673 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
11677 ac_cpp
='$CPP $CPPFLAGS'
11678 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11679 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11680 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
11683 echo "$as_me:$LINENO: checking for /usr/local/include in default include path" >&5
11684 echo $ECHO_N "checking for /usr/local/include in default include path... $ECHO_C" >&6
11685 GCC_SEARCHES_USR_LOCAL_INCLUDE
="no"
11686 if test "$GCC" = "yes" ; then
11687 echo | gcc
-v -x c
++ -E - 2>&1 | sed -n '/^#include </,$p' | \
11688 sed -n '1,/End of search list\./p' | \
11689 grep '^ */usr/local/include$' 2>&1 /dev
/null \
11690 && GCC_SEARCHES_USR_LOCAL_INCLUDE
="yes"
11692 echo "$as_me:$LINENO: result: $GCC_SEARCHES_USR_LOCAL_INCLUDE" >&5
11693 echo "${ECHO_T}$GCC_SEARCHES_USR_LOCAL_INCLUDE" >&6
11695 if test -n "$ac_tool_prefix"; then
11696 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
11697 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
11698 echo "$as_me:$LINENO: checking for $ac_word" >&5
11699 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11700 if test "${ac_cv_prog_RANLIB+set}" = set; then
11701 echo $ECHO_N "(cached) $ECHO_C" >&6
11703 if test -n "$RANLIB"; then
11704 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
11706 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11707 for as_dir
in $PATH
11710 test -z "$as_dir" && as_dir
=.
11711 for ac_exec_ext
in '' $ac_executable_extensions; do
11712 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11713 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
11714 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11722 RANLIB
=$ac_cv_prog_RANLIB
11723 if test -n "$RANLIB"; then
11724 echo "$as_me:$LINENO: result: $RANLIB" >&5
11725 echo "${ECHO_T}$RANLIB" >&6
11727 echo "$as_me:$LINENO: result: no" >&5
11728 echo "${ECHO_T}no" >&6
11732 if test -z "$ac_cv_prog_RANLIB"; then
11733 ac_ct_RANLIB
=$RANLIB
11734 # Extract the first word of "ranlib", so it can be a program name with args.
11735 set dummy ranlib
; ac_word
=$2
11736 echo "$as_me:$LINENO: checking for $ac_word" >&5
11737 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11738 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
11739 echo $ECHO_N "(cached) $ECHO_C" >&6
11741 if test -n "$ac_ct_RANLIB"; then
11742 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
11744 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11745 for as_dir
in $PATH
11748 test -z "$as_dir" && as_dir
=.
11749 for ac_exec_ext
in '' $ac_executable_extensions; do
11750 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11751 ac_cv_prog_ac_ct_RANLIB
="ranlib"
11752 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11758 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB
=":"
11761 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
11762 if test -n "$ac_ct_RANLIB"; then
11763 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
11764 echo "${ECHO_T}$ac_ct_RANLIB" >&6
11766 echo "$as_me:$LINENO: result: no" >&5
11767 echo "${ECHO_T}no" >&6
11770 RANLIB
=$ac_ct_RANLIB
11772 RANLIB
="$ac_cv_prog_RANLIB"
11776 # Extract the first word of "ar", so it can be a program name with args.
11777 set dummy
ar; ac_word
=$2
11778 echo "$as_me:$LINENO: checking for $ac_word" >&5
11779 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11780 if test "${ac_cv_prog_AR+set}" = set; then
11781 echo $ECHO_N "(cached) $ECHO_C" >&6
11783 if test -n "$AR"; then
11784 ac_cv_prog_AR
="$AR" # Let the user override the test.
11786 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11787 for as_dir
in $PATH
11790 test -z "$as_dir" && as_dir
=.
11791 for ac_exec_ext
in '' $ac_executable_extensions; do
11792 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11794 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11803 if test -n "$AR"; then
11804 echo "$as_me:$LINENO: result: $AR" >&5
11805 echo "${ECHO_T}$AR" >&6
11807 echo "$as_me:$LINENO: result: no" >&5
11808 echo "${ECHO_T}no" >&6
11811 if test "x$AR" = "x" ; then
11812 { { echo "$as_me:$LINENO: error: ar is needed to build wxWindows" >&5
11813 echo "$as_me: error: ar is needed to build wxWindows" >&2;}
11814 { (exit 1); exit 1; }; }
11817 # Find a good install program. We prefer a C program (faster),
11818 # so one script is as good as another. But avoid the broken or
11819 # incompatible versions:
11820 # SysV /etc/install, /usr/sbin/install
11821 # SunOS /usr/etc/install
11822 # IRIX /sbin/install
11824 # AmigaOS /C/install, which installs bootblocks on floppy discs
11825 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
11826 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
11827 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
11828 # OS/2's system install, which has a completely different semantic
11829 # ./install, which can be erroneously created by make from ./install.sh.
11830 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
11831 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
11832 if test -z "$INSTALL"; then
11833 if test "${ac_cv_path_install+set}" = set; then
11834 echo $ECHO_N "(cached) $ECHO_C" >&6
11836 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11837 for as_dir
in $PATH
11840 test -z "$as_dir" && as_dir
=.
11841 # Account for people who put trailing slashes in PATH elements.
11843 .
/ | .
// | /cC
/* | \
11844 /etc
/* | /usr
/sbin
/* | /usr
/etc
/* | /sbin
/* | /usr
/afsws
/bin
/* | \
11845 ?
:\\/os2
\\/install\\/* | ?
:\\/OS2
\\/INSTALL
\\/* | \
11848 # OSF1 and SCO ODT 3.0 have their own names for install.
11849 # Don't use installbsd from OSF since it installs stuff as root
11851 for ac_prog
in ginstall scoinst
install; do
11852 for ac_exec_ext
in '' $ac_executable_extensions; do
11853 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
11854 if test $ac_prog = install &&
11855 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
11856 # AIX install. It has an incompatible calling convention.
11858 elif test $ac_prog = install &&
11859 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
11860 # program-specific install script used by HP pwplus--don't use.
11863 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
11875 if test "${ac_cv_path_install+set}" = set; then
11876 INSTALL
=$ac_cv_path_install
11878 # As a last resort, use the slow shell script. We don't cache a
11879 # path for INSTALL within a source directory, because that will
11880 # break other packages using the cache if that directory is
11881 # removed, or if the path is relative.
11882 INSTALL
=$ac_install_sh
11885 echo "$as_me:$LINENO: result: $INSTALL" >&5
11886 echo "${ECHO_T}$INSTALL" >&6
11888 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
11889 # It thinks the first close brace ends the variable substitution.
11890 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
11892 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
11894 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
11900 ?
:* ) # Drive letter, considered as absolute.
11903 INSTALL
=`pwd`/${INSTALL} ;;
11908 INSTALL_DIR
="mkdir"
11911 *) INSTALL_DIR
="$INSTALL -d"
11918 powerpc
-*-darwin* )
11919 INSTALL_PROGRAM
="cp -fp"
11920 INSTALL_DATA
="cp -fp"
11926 # Extract the first word of "strip", so it can be a program name with args.
11927 set dummy strip
; ac_word
=$2
11928 echo "$as_me:$LINENO: checking for $ac_word" >&5
11929 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11930 if test "${ac_cv_prog_STRIP+set}" = set; then
11931 echo $ECHO_N "(cached) $ECHO_C" >&6
11933 if test -n "$STRIP"; then
11934 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
11936 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11937 for as_dir
in $PATH
11940 test -z "$as_dir" && as_dir
=.
11941 for ac_exec_ext
in '' $ac_executable_extensions; do
11942 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11943 ac_cv_prog_STRIP
="strip"
11944 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11950 test -z "$ac_cv_prog_STRIP" && ac_cv_prog_STRIP
="true"
11953 STRIP
=$ac_cv_prog_STRIP
11954 if test -n "$STRIP"; then
11955 echo "$as_me:$LINENO: result: $STRIP" >&5
11956 echo "${ECHO_T}$STRIP" >&6
11958 echo "$as_me:$LINENO: result: no" >&5
11959 echo "${ECHO_T}no" >&6
11963 echo "$as_me:$LINENO: checking if make is GNU make" >&5
11964 echo $ECHO_N "checking if make is GNU make... $ECHO_C" >&6
11965 if test "${wx_cv_prog_makeisgnu+set}" = set; then
11966 echo $ECHO_N "(cached) $ECHO_C" >&6
11969 if ( ${SHELL-sh} -c "${MAKE-make} --version" 2> /dev
/null
|
11970 egrep -s GNU
> /dev
/null
); then
11971 wx_cv_prog_makeisgnu
="yes"
11973 wx_cv_prog_makeisgnu
="no"
11977 echo "$as_me:$LINENO: result: $wx_cv_prog_makeisgnu" >&5
11978 echo "${ECHO_T}$wx_cv_prog_makeisgnu" >&6
11980 if test "x$wx_cv_prog_makeisgnu" = "xyes"; then
11988 if test "x$wx_cv_prog_makeisgnu" != "xyes"; then
11989 echo "$as_me:$LINENO: checking if make supports VPATH" >&5
11990 echo $ECHO_N "checking if make supports VPATH... $ECHO_C" >&6
11991 if test "${wx_cv_prog_makevpath+set}" = set; then
11992 echo $ECHO_N "(cached) $ECHO_C" >&6
11995 cat - << EOF > confMake
12001 if test ! -d sub
; then
12004 echo dummy
> sub
/file
12005 ${MAKE-make} -f confMake VPATH
=sub
2>&5 > /dev
/null
12007 rm -f sub
/file check final_file confMake
12009 if test "$RESULT" = 0; then
12010 wx_cv_prog_makevpath
="yes"
12012 wx_cv_prog_makevpath
="no"
12016 echo "$as_me:$LINENO: result: $wx_cv_prog_makevpath" >&5
12017 echo "${ECHO_T}$wx_cv_prog_makevpath" >&6
12019 if test "x$wx_cv_prog_makevpath" != "xyes"; then
12020 { { echo "$as_me:$LINENO: error:
12021 You need a make-utility that is able to use the variable
12023 If your version of make does not support VPATH correctly,
12024 please install GNU-make (possibly as gmake), and start
12025 configure with the following command:
12026 export MAKE=gmake; ./configure for sh-type shells
12027 setenv MAKE gmake; ./configure for csh-type shells
12028 Also please do remember to use gmake in this case every time
12029 you are trying to compile.
12031 echo "$as_me: error:
12032 You need a make-utility that is able to use the variable
12034 If your version of make does not support VPATH correctly,
12035 please install GNU-make (possibly as gmake), and start
12036 configure with the following command:
12037 export MAKE=gmake; ./configure for sh-type shells
12038 setenv MAKE gmake; ./configure for csh-type shells
12039 Also please do remember to use gmake in this case every time
12040 you are trying to compile.
12042 { (exit 1); exit 1; }; }
12044 echo "$as_me:$LINENO: checking whether ln -s works" >&5
12045 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
12047 if test "$LN_S" = "ln -s"; then
12048 echo "$as_me:$LINENO: result: yes" >&5
12049 echo "${ECHO_T}yes" >&6
12051 echo "$as_me:$LINENO: result: no, using $LN_S" >&5
12052 echo "${ECHO_T}no, using $LN_S" >&6
12058 *-pc-os2_emx | *-pc-os2-emx )
12059 if test "$wxUSE_MOTIF" = 1 -o "$wxUSE_GTK" = 1 -o "$wxUSE_X11" = 1; then
12060 echo "$as_me:$LINENO: checking for drand48 in -lcExt" >&5
12061 echo $ECHO_N "checking for drand48 in -lcExt... $ECHO_C" >&6
12062 if test "${ac_cv_lib_cExt_drand48+set}" = set; then
12063 echo $ECHO_N "(cached) $ECHO_C" >&6
12065 ac_check_lib_save_LIBS
=$LIBS
12066 LIBS
="-lcExt $LIBS"
12067 cat >conftest.
$ac_ext <<_ACEOF
12070 cat confdefs.h
>>conftest.
$ac_ext
12071 cat >>conftest.
$ac_ext <<_ACEOF
12072 /* end confdefs.h. */
12074 /* Override any gcc2 internal prototype to avoid an error. */
12078 /* We use char because int might match the return type of a gcc2
12079 builtin and then its argument prototype would still apply. */
12089 rm -f conftest.
$ac_objext conftest
$ac_exeext
12090 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12091 (eval $ac_link) 2>conftest.er1
12093 grep -v '^ *+' conftest.er1
>conftest.err
12095 cat conftest.err
>&5
12096 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12097 (exit $ac_status); } &&
12098 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12099 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12100 (eval $ac_try) 2>&5
12102 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12103 (exit $ac_status); }; } &&
12104 { ac_try
='test -s conftest$ac_exeext'
12105 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12106 (eval $ac_try) 2>&5
12108 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12109 (exit $ac_status); }; }; then
12110 ac_cv_lib_cExt_drand48
=yes
12112 echo "$as_me: failed program was:" >&5
12113 sed 's/^/| /' conftest.
$ac_ext >&5
12115 ac_cv_lib_cExt_drand48
=no
12117 rm -f conftest.err conftest.
$ac_objext \
12118 conftest
$ac_exeext conftest.
$ac_ext
12119 LIBS
=$ac_check_lib_save_LIBS
12121 echo "$as_me:$LINENO: result: $ac_cv_lib_cExt_drand48" >&5
12122 echo "${ECHO_T}$ac_cv_lib_cExt_drand48" >&6
12123 if test $ac_cv_lib_cExt_drand48 = yes; then
12124 LIBS
="$LIBS -lcExt"
12128 RESPROGRAMOBJ
="\${top_srcdir}/include/wx/os2/wx.res"
12130 echo "$as_me:$LINENO: checking for gcc version" >&5
12131 echo $ECHO_N "checking for gcc version... $ECHO_C" >&6
12132 if test "${wx_cv_gccversion+set}" = set; then
12133 echo $ECHO_N "(cached) $ECHO_C" >&6
12136 cat >conftest.
$ac_ext <<_ACEOF
12139 cat confdefs.h
>>conftest.
$ac_ext
12140 cat >>conftest.
$ac_ext <<_ACEOF
12141 /* end confdefs.h. */
12155 rm -f conftest.
$ac_objext
12156 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12157 (eval $ac_compile) 2>conftest.er1
12159 grep -v '^ *+' conftest.er1
>conftest.err
12161 cat conftest.err
>&5
12162 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12163 (exit $ac_status); } &&
12164 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12165 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12166 (eval $ac_try) 2>&5
12168 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12169 (exit $ac_status); }; } &&
12170 { ac_try
='test -s conftest.$ac_objext'
12171 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12172 (eval $ac_try) 2>&5
12174 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12175 (exit $ac_status); }; }; then
12177 cat >conftest.
$ac_ext <<_ACEOF
12180 cat confdefs.h
>>conftest.
$ac_ext
12181 cat >>conftest.
$ac_ext <<_ACEOF
12182 /* end confdefs.h. */
12188 #if (__GNUC__==3) && ((__GNUC_MINOR__ < 2) || ((__GNUC_MINOR__==2) && (__GNUC_PATCHLEVEL__<2)))
12189 #error intermediate gcc
12196 rm -f conftest.
$ac_objext
12197 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12198 (eval $ac_compile) 2>conftest.er1
12200 grep -v '^ *+' conftest.er1
>conftest.err
12202 cat conftest.err
>&5
12203 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12204 (exit $ac_status); } &&
12205 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12206 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12207 (eval $ac_try) 2>&5
12209 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12210 (exit $ac_status); }; } &&
12211 { ac_try
='test -s conftest.$ac_objext'
12212 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12213 (eval $ac_try) 2>&5
12215 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12216 (exit $ac_status); }; }; then
12218 wx_cv_gccversion
=Innotek
12221 echo "$as_me: failed program was:" >&5
12222 sed 's/^/| /' conftest.
$ac_ext >&5
12229 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12232 echo "$as_me: failed program was:" >&5
12233 sed 's/^/| /' conftest.
$ac_ext >&5
12240 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12243 echo "$as_me:$LINENO: result: $wx_cv_gccversion" >&5
12244 echo "${ECHO_T}$wx_cv_gccversion" >&6
12245 if test "$wx_cv_gccversion" = "2"; then
12246 LIBS
="$LIBS -lstdcpp"
12247 LDFLAGS
="$LDFLAGS -Zsysv-signals"
12249 if test "$wx_cv_gccversion" = "3"; then
12250 LIBS
="$LIBS -lstdcxx"
12251 LDFLAGS
="$LDFLAGS -Zsysv-signals"
12253 LIBS
="$LIBS -lstdc++"
12262 ac_cpp
='$CXXCPP $CPPFLAGS'
12263 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12264 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12265 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
12269 echo "$as_me:$LINENO: checking for strcasecmp() in string.h" >&5
12270 echo $ECHO_N "checking for strcasecmp() in string.h... $ECHO_C" >&6
12271 if test "${ac_cv_string_strcasecmp+set}" = set; then
12272 echo $ECHO_N "(cached) $ECHO_C" >&6
12275 cat >conftest.
$ac_ext <<_ACEOF
12278 cat confdefs.h
>>conftest.
$ac_ext
12279 cat >>conftest.
$ac_ext <<_ACEOF
12280 /* end confdefs.h. */
12282 #include <string.h>
12288 strcasecmp("foo", "bar");
12294 rm -f conftest.
$ac_objext conftest
$ac_exeext
12295 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12296 (eval $ac_link) 2>conftest.er1
12298 grep -v '^ *+' conftest.er1
>conftest.err
12300 cat conftest.err
>&5
12301 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12302 (exit $ac_status); } &&
12303 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
12304 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12305 (eval $ac_try) 2>&5
12307 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12308 (exit $ac_status); }; } &&
12309 { ac_try
='test -s conftest$ac_exeext'
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); }; }; then
12315 ac_cv_string_strcasecmp
=yes
12317 echo "$as_me: failed program was:" >&5
12318 sed 's/^/| /' conftest.
$ac_ext >&5
12320 ac_cv_string_strcasecmp
=no
12323 rm -f conftest.err conftest.
$ac_objext \
12324 conftest
$ac_exeext conftest.
$ac_ext
12327 echo "$as_me:$LINENO: result: $ac_cv_string_strcasecmp" >&5
12328 echo "${ECHO_T}$ac_cv_string_strcasecmp" >&6
12330 if test x
"$ac_cv_string_strcasecmp" = "xyes"; then
12331 cat >>confdefs.h
<<\_ACEOF
12332 #define HAVE_STRCASECMP_IN_STRING_H 1
12336 echo "$as_me:$LINENO: checking for strcasecmp() in strings.h" >&5
12337 echo $ECHO_N "checking for strcasecmp() in strings.h... $ECHO_C" >&6
12338 if test "${ac_cv_strings_strcasecmp+set}" = set; then
12339 echo $ECHO_N "(cached) $ECHO_C" >&6
12342 cat >conftest.
$ac_ext <<_ACEOF
12345 cat confdefs.h
>>conftest.
$ac_ext
12346 cat >>conftest.
$ac_ext <<_ACEOF
12347 /* end confdefs.h. */
12349 #include <strings.h>
12355 strcasecmp("foo", "bar");
12361 rm -f conftest.
$ac_objext conftest
$ac_exeext
12362 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12363 (eval $ac_link) 2>conftest.er1
12365 grep -v '^ *+' conftest.er1
>conftest.err
12367 cat conftest.err
>&5
12368 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12369 (exit $ac_status); } &&
12370 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
12371 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12372 (eval $ac_try) 2>&5
12374 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12375 (exit $ac_status); }; } &&
12376 { ac_try
='test -s conftest$ac_exeext'
12377 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12378 (eval $ac_try) 2>&5
12380 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12381 (exit $ac_status); }; }; then
12382 ac_cv_strings_strcasecmp
=yes
12384 echo "$as_me: failed program was:" >&5
12385 sed 's/^/| /' conftest.
$ac_ext >&5
12387 ac_cv_strings_strcasecmp
=no
12390 rm -f conftest.err conftest.
$ac_objext \
12391 conftest
$ac_exeext conftest.
$ac_ext
12394 echo "$as_me:$LINENO: result: $ac_cv_strings_strcasecmp" >&5
12395 echo "${ECHO_T}$ac_cv_strings_strcasecmp" >&6
12397 if test x
"$ac_cv_string_strcasecmp" = "xyes"; then
12398 cat >>confdefs.h
<<\_ACEOF
12399 #define HAVE_STRCASECMP_IN_STRINGS_H 1
12403 { { echo "$as_me:$LINENO: error: No case-insensitive string comparison function found." >&5
12404 echo "$as_me: error: No case-insensitive string comparison function found." >&2;}
12405 { (exit 1); exit 1; }; }
12410 ac_cpp
='$CPP $CPPFLAGS'
12411 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12412 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12413 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
12419 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
12420 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
12421 if test "${ac_cv_header_stdc+set}" = set; then
12422 echo $ECHO_N "(cached) $ECHO_C" >&6
12424 cat >conftest.
$ac_ext <<_ACEOF
12427 cat confdefs.h
>>conftest.
$ac_ext
12428 cat >>conftest.
$ac_ext <<_ACEOF
12429 /* end confdefs.h. */
12430 #include <stdlib.h>
12431 #include <stdarg.h>
12432 #include <string.h>
12443 rm -f conftest.
$ac_objext
12444 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12445 (eval $ac_compile) 2>conftest.er1
12447 grep -v '^ *+' conftest.er1
>conftest.err
12449 cat conftest.err
>&5
12450 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12451 (exit $ac_status); } &&
12452 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12453 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12454 (eval $ac_try) 2>&5
12456 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12457 (exit $ac_status); }; } &&
12458 { ac_try
='test -s conftest.$ac_objext'
12459 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12460 (eval $ac_try) 2>&5
12462 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12463 (exit $ac_status); }; }; then
12464 ac_cv_header_stdc
=yes
12466 echo "$as_me: failed program was:" >&5
12467 sed 's/^/| /' conftest.
$ac_ext >&5
12469 ac_cv_header_stdc
=no
12471 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12473 if test $ac_cv_header_stdc = yes; then
12474 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
12475 cat >conftest.
$ac_ext <<_ACEOF
12478 cat confdefs.h
>>conftest.
$ac_ext
12479 cat >>conftest.
$ac_ext <<_ACEOF
12480 /* end confdefs.h. */
12481 #include <string.h>
12484 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
12485 $EGREP "memchr" >/dev
/null
2>&1; then
12488 ac_cv_header_stdc
=no
12494 if test $ac_cv_header_stdc = yes; then
12495 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
12496 cat >conftest.
$ac_ext <<_ACEOF
12499 cat confdefs.h
>>conftest.
$ac_ext
12500 cat >>conftest.
$ac_ext <<_ACEOF
12501 /* end confdefs.h. */
12502 #include <stdlib.h>
12505 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
12506 $EGREP "free" >/dev
/null
2>&1; then
12509 ac_cv_header_stdc
=no
12515 if test $ac_cv_header_stdc = yes; then
12516 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
12517 if test "$cross_compiling" = yes; then
12520 cat >conftest.
$ac_ext <<_ACEOF
12523 cat confdefs.h
>>conftest.
$ac_ext
12524 cat >>conftest.
$ac_ext <<_ACEOF
12525 /* end confdefs.h. */
12527 #if ((' ' & 0x0FF) == 0x020)
12528 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
12529 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
12531 # define ISLOWER(c) \
12532 (('a' <= (c) && (c) <= 'i') \
12533 || ('j' <= (c) && (c) <= 'r') \
12534 || ('s' <= (c) && (c) <= 'z'))
12535 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
12538 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
12543 for (i = 0; i < 256; i++)
12544 if (XOR (islower (i), ISLOWER (i))
12545 || toupper (i) != TOUPPER (i))
12550 rm -f conftest
$ac_exeext
12551 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12552 (eval $ac_link) 2>&5
12554 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12555 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
12556 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12557 (eval $ac_try) 2>&5
12559 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12560 (exit $ac_status); }; }; then
12563 echo "$as_me: program exited with status $ac_status" >&5
12564 echo "$as_me: failed program was:" >&5
12565 sed 's/^/| /' conftest.
$ac_ext >&5
12567 ( exit $ac_status )
12568 ac_cv_header_stdc
=no
12570 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
12574 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
12575 echo "${ECHO_T}$ac_cv_header_stdc" >&6
12576 if test $ac_cv_header_stdc = yes; then
12578 cat >>confdefs.h
<<\_ACEOF
12579 #define STDC_HEADERS 1
12584 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
12594 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
12595 inttypes.h stdint.h unistd.h
12597 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
12598 echo "$as_me:$LINENO: checking for $ac_header" >&5
12599 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12600 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12601 echo $ECHO_N "(cached) $ECHO_C" >&6
12603 cat >conftest.
$ac_ext <<_ACEOF
12606 cat confdefs.h
>>conftest.
$ac_ext
12607 cat >>conftest.
$ac_ext <<_ACEOF
12608 /* end confdefs.h. */
12609 $ac_includes_default
12611 #include <$ac_header>
12613 rm -f conftest.
$ac_objext
12614 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12615 (eval $ac_compile) 2>conftest.er1
12617 grep -v '^ *+' conftest.er1
>conftest.err
12619 cat conftest.err
>&5
12620 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12621 (exit $ac_status); } &&
12622 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12623 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12624 (eval $ac_try) 2>&5
12626 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12627 (exit $ac_status); }; } &&
12628 { ac_try
='test -s conftest.$ac_objext'
12629 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12630 (eval $ac_try) 2>&5
12632 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12633 (exit $ac_status); }; }; then
12634 eval "$as_ac_Header=yes"
12636 echo "$as_me: failed program was:" >&5
12637 sed 's/^/| /' conftest.
$ac_ext >&5
12639 eval "$as_ac_Header=no"
12641 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12643 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12644 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12645 if test `eval echo '${'$as_ac_Header'}'` = yes; then
12646 cat >>confdefs.h
<<_ACEOF
12647 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
12656 for ac_header
in stdlib.h
12658 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
12659 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12660 echo "$as_me:$LINENO: checking for $ac_header" >&5
12661 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12662 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12663 echo $ECHO_N "(cached) $ECHO_C" >&6
12665 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12666 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12668 # Is the header compilable?
12669 echo "$as_me:$LINENO: checking $ac_header usability" >&5
12670 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
12671 cat >conftest.
$ac_ext <<_ACEOF
12674 cat confdefs.h
>>conftest.
$ac_ext
12675 cat >>conftest.
$ac_ext <<_ACEOF
12676 /* end confdefs.h. */
12677 $ac_includes_default
12678 #include <$ac_header>
12680 rm -f conftest.
$ac_objext
12681 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12682 (eval $ac_compile) 2>conftest.er1
12684 grep -v '^ *+' conftest.er1
>conftest.err
12686 cat conftest.err
>&5
12687 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12688 (exit $ac_status); } &&
12689 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12690 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12691 (eval $ac_try) 2>&5
12693 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12694 (exit $ac_status); }; } &&
12695 { ac_try
='test -s conftest.$ac_objext'
12696 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12697 (eval $ac_try) 2>&5
12699 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12700 (exit $ac_status); }; }; then
12701 ac_header_compiler
=yes
12703 echo "$as_me: failed program was:" >&5
12704 sed 's/^/| /' conftest.
$ac_ext >&5
12706 ac_header_compiler
=no
12708 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12709 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
12710 echo "${ECHO_T}$ac_header_compiler" >&6
12712 # Is the header present?
12713 echo "$as_me:$LINENO: checking $ac_header presence" >&5
12714 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
12715 cat >conftest.
$ac_ext <<_ACEOF
12718 cat confdefs.h
>>conftest.
$ac_ext
12719 cat >>conftest.
$ac_ext <<_ACEOF
12720 /* end confdefs.h. */
12721 #include <$ac_header>
12723 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
12724 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
12726 grep -v '^ *+' conftest.er1
>conftest.err
12728 cat conftest.err
>&5
12729 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12730 (exit $ac_status); } >/dev
/null
; then
12731 if test -s conftest.err
; then
12732 ac_cpp_err
=$ac_c_preproc_warn_flag
12733 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
12740 if test -z "$ac_cpp_err"; then
12741 ac_header_preproc
=yes
12743 echo "$as_me: failed program was:" >&5
12744 sed 's/^/| /' conftest.
$ac_ext >&5
12746 ac_header_preproc
=no
12748 rm -f conftest.err conftest.
$ac_ext
12749 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
12750 echo "${ECHO_T}$ac_header_preproc" >&6
12752 # So? What about this header?
12753 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
12755 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
12756 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
12757 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
12758 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
12759 ac_header_preproc
=yes
12762 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
12763 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
12764 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
12765 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
12766 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
12767 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
12768 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
12769 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
12770 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12771 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
12772 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
12773 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
12776 ## ----------------------------------------- ##
12777 ## Report this to wx-dev@lists.wxwindows.org ##
12778 ## ----------------------------------------- ##
12781 sed "s/^/$as_me: WARNING: /" >&2
12784 echo "$as_me:$LINENO: checking for $ac_header" >&5
12785 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12786 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12787 echo $ECHO_N "(cached) $ECHO_C" >&6
12789 eval "$as_ac_Header=\$ac_header_preproc"
12791 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12792 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12795 if test `eval echo '${'$as_ac_Header'}'` = yes; then
12796 cat >>confdefs.h
<<_ACEOF
12797 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
12805 for ac_header
in malloc.h
12807 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
12808 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12809 echo "$as_me:$LINENO: checking for $ac_header" >&5
12810 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12811 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12812 echo $ECHO_N "(cached) $ECHO_C" >&6
12814 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12815 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12817 # Is the header compilable?
12818 echo "$as_me:$LINENO: checking $ac_header usability" >&5
12819 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
12820 cat >conftest.
$ac_ext <<_ACEOF
12823 cat confdefs.h
>>conftest.
$ac_ext
12824 cat >>conftest.
$ac_ext <<_ACEOF
12825 /* end confdefs.h. */
12826 $ac_includes_default
12827 #include <$ac_header>
12829 rm -f conftest.
$ac_objext
12830 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12831 (eval $ac_compile) 2>conftest.er1
12833 grep -v '^ *+' conftest.er1
>conftest.err
12835 cat conftest.err
>&5
12836 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12837 (exit $ac_status); } &&
12838 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12839 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12840 (eval $ac_try) 2>&5
12842 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12843 (exit $ac_status); }; } &&
12844 { ac_try
='test -s conftest.$ac_objext'
12845 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12846 (eval $ac_try) 2>&5
12848 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12849 (exit $ac_status); }; }; then
12850 ac_header_compiler
=yes
12852 echo "$as_me: failed program was:" >&5
12853 sed 's/^/| /' conftest.
$ac_ext >&5
12855 ac_header_compiler
=no
12857 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12858 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
12859 echo "${ECHO_T}$ac_header_compiler" >&6
12861 # Is the header present?
12862 echo "$as_me:$LINENO: checking $ac_header presence" >&5
12863 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
12864 cat >conftest.
$ac_ext <<_ACEOF
12867 cat confdefs.h
>>conftest.
$ac_ext
12868 cat >>conftest.
$ac_ext <<_ACEOF
12869 /* end confdefs.h. */
12870 #include <$ac_header>
12872 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
12873 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
12875 grep -v '^ *+' conftest.er1
>conftest.err
12877 cat conftest.err
>&5
12878 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12879 (exit $ac_status); } >/dev
/null
; then
12880 if test -s conftest.err
; then
12881 ac_cpp_err
=$ac_c_preproc_warn_flag
12882 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
12889 if test -z "$ac_cpp_err"; then
12890 ac_header_preproc
=yes
12892 echo "$as_me: failed program was:" >&5
12893 sed 's/^/| /' conftest.
$ac_ext >&5
12895 ac_header_preproc
=no
12897 rm -f conftest.err conftest.
$ac_ext
12898 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
12899 echo "${ECHO_T}$ac_header_preproc" >&6
12901 # So? What about this header?
12902 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
12904 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
12905 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
12906 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
12907 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
12908 ac_header_preproc
=yes
12911 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
12912 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
12913 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
12914 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
12915 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
12916 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
12917 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
12918 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
12919 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12920 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
12921 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
12922 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
12925 ## ----------------------------------------- ##
12926 ## Report this to wx-dev@lists.wxwindows.org ##
12927 ## ----------------------------------------- ##
12930 sed "s/^/$as_me: WARNING: /" >&2
12933 echo "$as_me:$LINENO: checking for $ac_header" >&5
12934 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12935 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12936 echo $ECHO_N "(cached) $ECHO_C" >&6
12938 eval "$as_ac_Header=\$ac_header_preproc"
12940 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12941 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12944 if test `eval echo '${'$as_ac_Header'}'` = yes; then
12945 cat >>confdefs.h
<<_ACEOF
12946 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
12954 for ac_header
in unistd.h
12956 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
12957 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12958 echo "$as_me:$LINENO: checking for $ac_header" >&5
12959 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12960 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12961 echo $ECHO_N "(cached) $ECHO_C" >&6
12963 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12964 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12966 # Is the header compilable?
12967 echo "$as_me:$LINENO: checking $ac_header usability" >&5
12968 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
12969 cat >conftest.
$ac_ext <<_ACEOF
12972 cat confdefs.h
>>conftest.
$ac_ext
12973 cat >>conftest.
$ac_ext <<_ACEOF
12974 /* end confdefs.h. */
12975 $ac_includes_default
12976 #include <$ac_header>
12978 rm -f conftest.
$ac_objext
12979 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12980 (eval $ac_compile) 2>conftest.er1
12982 grep -v '^ *+' conftest.er1
>conftest.err
12984 cat conftest.err
>&5
12985 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12986 (exit $ac_status); } &&
12987 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12988 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12989 (eval $ac_try) 2>&5
12991 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12992 (exit $ac_status); }; } &&
12993 { ac_try
='test -s conftest.$ac_objext'
12994 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12995 (eval $ac_try) 2>&5
12997 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12998 (exit $ac_status); }; }; then
12999 ac_header_compiler
=yes
13001 echo "$as_me: failed program was:" >&5
13002 sed 's/^/| /' conftest.
$ac_ext >&5
13004 ac_header_compiler
=no
13006 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13007 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
13008 echo "${ECHO_T}$ac_header_compiler" >&6
13010 # Is the header present?
13011 echo "$as_me:$LINENO: checking $ac_header presence" >&5
13012 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
13013 cat >conftest.
$ac_ext <<_ACEOF
13016 cat confdefs.h
>>conftest.
$ac_ext
13017 cat >>conftest.
$ac_ext <<_ACEOF
13018 /* end confdefs.h. */
13019 #include <$ac_header>
13021 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
13022 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
13024 grep -v '^ *+' conftest.er1
>conftest.err
13026 cat conftest.err
>&5
13027 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13028 (exit $ac_status); } >/dev
/null
; then
13029 if test -s conftest.err
; then
13030 ac_cpp_err
=$ac_c_preproc_warn_flag
13031 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
13038 if test -z "$ac_cpp_err"; then
13039 ac_header_preproc
=yes
13041 echo "$as_me: failed program was:" >&5
13042 sed 's/^/| /' conftest.
$ac_ext >&5
13044 ac_header_preproc
=no
13046 rm -f conftest.err conftest.
$ac_ext
13047 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
13048 echo "${ECHO_T}$ac_header_preproc" >&6
13050 # So? What about this header?
13051 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
13053 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
13054 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
13055 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
13056 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
13057 ac_header_preproc
=yes
13060 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
13061 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
13062 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
13063 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
13064 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
13065 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
13066 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
13067 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
13068 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
13069 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
13070 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
13071 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
13074 ## ----------------------------------------- ##
13075 ## Report this to wx-dev@lists.wxwindows.org ##
13076 ## ----------------------------------------- ##
13079 sed "s/^/$as_me: WARNING: /" >&2
13082 echo "$as_me:$LINENO: checking for $ac_header" >&5
13083 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13084 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13085 echo $ECHO_N "(cached) $ECHO_C" >&6
13087 eval "$as_ac_Header=\$ac_header_preproc"
13089 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13090 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13093 if test `eval echo '${'$as_ac_Header'}'` = yes; then
13094 cat >>confdefs.h
<<_ACEOF
13095 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
13103 for ac_header
in wchar.h
13105 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
13106 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13107 echo "$as_me:$LINENO: checking for $ac_header" >&5
13108 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13109 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13110 echo $ECHO_N "(cached) $ECHO_C" >&6
13112 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13113 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13115 # Is the header compilable?
13116 echo "$as_me:$LINENO: checking $ac_header usability" >&5
13117 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
13118 cat >conftest.
$ac_ext <<_ACEOF
13121 cat confdefs.h
>>conftest.
$ac_ext
13122 cat >>conftest.
$ac_ext <<_ACEOF
13123 /* end confdefs.h. */
13124 $ac_includes_default
13125 #include <$ac_header>
13127 rm -f conftest.
$ac_objext
13128 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13129 (eval $ac_compile) 2>conftest.er1
13131 grep -v '^ *+' conftest.er1
>conftest.err
13133 cat conftest.err
>&5
13134 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13135 (exit $ac_status); } &&
13136 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13137 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13138 (eval $ac_try) 2>&5
13140 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13141 (exit $ac_status); }; } &&
13142 { ac_try
='test -s conftest.$ac_objext'
13143 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13144 (eval $ac_try) 2>&5
13146 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13147 (exit $ac_status); }; }; then
13148 ac_header_compiler
=yes
13150 echo "$as_me: failed program was:" >&5
13151 sed 's/^/| /' conftest.
$ac_ext >&5
13153 ac_header_compiler
=no
13155 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13156 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
13157 echo "${ECHO_T}$ac_header_compiler" >&6
13159 # Is the header present?
13160 echo "$as_me:$LINENO: checking $ac_header presence" >&5
13161 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
13162 cat >conftest.
$ac_ext <<_ACEOF
13165 cat confdefs.h
>>conftest.
$ac_ext
13166 cat >>conftest.
$ac_ext <<_ACEOF
13167 /* end confdefs.h. */
13168 #include <$ac_header>
13170 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
13171 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
13173 grep -v '^ *+' conftest.er1
>conftest.err
13175 cat conftest.err
>&5
13176 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13177 (exit $ac_status); } >/dev
/null
; then
13178 if test -s conftest.err
; then
13179 ac_cpp_err
=$ac_c_preproc_warn_flag
13180 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
13187 if test -z "$ac_cpp_err"; then
13188 ac_header_preproc
=yes
13190 echo "$as_me: failed program was:" >&5
13191 sed 's/^/| /' conftest.
$ac_ext >&5
13193 ac_header_preproc
=no
13195 rm -f conftest.err conftest.
$ac_ext
13196 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
13197 echo "${ECHO_T}$ac_header_preproc" >&6
13199 # So? What about this header?
13200 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
13202 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
13203 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
13204 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
13205 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
13206 ac_header_preproc
=yes
13209 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
13210 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
13211 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
13212 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
13213 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
13214 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
13215 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
13216 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
13217 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
13218 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
13219 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
13220 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
13223 ## ----------------------------------------- ##
13224 ## Report this to wx-dev@lists.wxwindows.org ##
13225 ## ----------------------------------------- ##
13228 sed "s/^/$as_me: WARNING: /" >&2
13231 echo "$as_me:$LINENO: checking for $ac_header" >&5
13232 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13233 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13234 echo $ECHO_N "(cached) $ECHO_C" >&6
13236 eval "$as_ac_Header=\$ac_header_preproc"
13238 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13239 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13242 if test `eval echo '${'$as_ac_Header'}'` = yes; then
13243 cat >>confdefs.h
<<_ACEOF
13244 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
13252 if test "$ac_cv_header_wchar_h" != "yes"; then
13254 for ac_header
in wcstr.h
13256 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
13257 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13258 echo "$as_me:$LINENO: checking for $ac_header" >&5
13259 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13260 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13261 echo $ECHO_N "(cached) $ECHO_C" >&6
13263 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13264 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13266 # Is the header compilable?
13267 echo "$as_me:$LINENO: checking $ac_header usability" >&5
13268 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
13269 cat >conftest.
$ac_ext <<_ACEOF
13272 cat confdefs.h
>>conftest.
$ac_ext
13273 cat >>conftest.
$ac_ext <<_ACEOF
13274 /* end confdefs.h. */
13275 $ac_includes_default
13276 #include <$ac_header>
13278 rm -f conftest.
$ac_objext
13279 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13280 (eval $ac_compile) 2>conftest.er1
13282 grep -v '^ *+' conftest.er1
>conftest.err
13284 cat conftest.err
>&5
13285 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13286 (exit $ac_status); } &&
13287 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13288 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13289 (eval $ac_try) 2>&5
13291 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13292 (exit $ac_status); }; } &&
13293 { ac_try
='test -s conftest.$ac_objext'
13294 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13295 (eval $ac_try) 2>&5
13297 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13298 (exit $ac_status); }; }; then
13299 ac_header_compiler
=yes
13301 echo "$as_me: failed program was:" >&5
13302 sed 's/^/| /' conftest.
$ac_ext >&5
13304 ac_header_compiler
=no
13306 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13307 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
13308 echo "${ECHO_T}$ac_header_compiler" >&6
13310 # Is the header present?
13311 echo "$as_me:$LINENO: checking $ac_header presence" >&5
13312 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
13313 cat >conftest.
$ac_ext <<_ACEOF
13316 cat confdefs.h
>>conftest.
$ac_ext
13317 cat >>conftest.
$ac_ext <<_ACEOF
13318 /* end confdefs.h. */
13319 #include <$ac_header>
13321 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
13322 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
13324 grep -v '^ *+' conftest.er1
>conftest.err
13326 cat conftest.err
>&5
13327 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13328 (exit $ac_status); } >/dev
/null
; then
13329 if test -s conftest.err
; then
13330 ac_cpp_err
=$ac_c_preproc_warn_flag
13331 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
13338 if test -z "$ac_cpp_err"; then
13339 ac_header_preproc
=yes
13341 echo "$as_me: failed program was:" >&5
13342 sed 's/^/| /' conftest.
$ac_ext >&5
13344 ac_header_preproc
=no
13346 rm -f conftest.err conftest.
$ac_ext
13347 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
13348 echo "${ECHO_T}$ac_header_preproc" >&6
13350 # So? What about this header?
13351 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
13353 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
13354 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
13355 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
13356 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
13357 ac_header_preproc
=yes
13360 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
13361 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
13362 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
13363 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
13364 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
13365 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
13366 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
13367 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
13368 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
13369 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
13370 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
13371 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
13374 ## ----------------------------------------- ##
13375 ## Report this to wx-dev@lists.wxwindows.org ##
13376 ## ----------------------------------------- ##
13379 sed "s/^/$as_me: WARNING: /" >&2
13382 echo "$as_me:$LINENO: checking for $ac_header" >&5
13383 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13384 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13385 echo $ECHO_N "(cached) $ECHO_C" >&6
13387 eval "$as_ac_Header=\$ac_header_preproc"
13389 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13390 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13393 if test `eval echo '${'$as_ac_Header'}'` = yes; then
13394 cat >>confdefs.h
<<_ACEOF
13395 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
13405 for ac_header
in fnmatch.h
13407 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
13408 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13409 echo "$as_me:$LINENO: checking for $ac_header" >&5
13410 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13411 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13412 echo $ECHO_N "(cached) $ECHO_C" >&6
13414 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13415 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13417 # Is the header compilable?
13418 echo "$as_me:$LINENO: checking $ac_header usability" >&5
13419 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
13420 cat >conftest.
$ac_ext <<_ACEOF
13423 cat confdefs.h
>>conftest.
$ac_ext
13424 cat >>conftest.
$ac_ext <<_ACEOF
13425 /* end confdefs.h. */
13426 $ac_includes_default
13427 #include <$ac_header>
13429 rm -f conftest.
$ac_objext
13430 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13431 (eval $ac_compile) 2>conftest.er1
13433 grep -v '^ *+' conftest.er1
>conftest.err
13435 cat conftest.err
>&5
13436 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13437 (exit $ac_status); } &&
13438 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13439 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13440 (eval $ac_try) 2>&5
13442 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13443 (exit $ac_status); }; } &&
13444 { ac_try
='test -s conftest.$ac_objext'
13445 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13446 (eval $ac_try) 2>&5
13448 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13449 (exit $ac_status); }; }; then
13450 ac_header_compiler
=yes
13452 echo "$as_me: failed program was:" >&5
13453 sed 's/^/| /' conftest.
$ac_ext >&5
13455 ac_header_compiler
=no
13457 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13458 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
13459 echo "${ECHO_T}$ac_header_compiler" >&6
13461 # Is the header present?
13462 echo "$as_me:$LINENO: checking $ac_header presence" >&5
13463 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
13464 cat >conftest.
$ac_ext <<_ACEOF
13467 cat confdefs.h
>>conftest.
$ac_ext
13468 cat >>conftest.
$ac_ext <<_ACEOF
13469 /* end confdefs.h. */
13470 #include <$ac_header>
13472 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
13473 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
13475 grep -v '^ *+' conftest.er1
>conftest.err
13477 cat conftest.err
>&5
13478 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13479 (exit $ac_status); } >/dev
/null
; then
13480 if test -s conftest.err
; then
13481 ac_cpp_err
=$ac_c_preproc_warn_flag
13482 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
13489 if test -z "$ac_cpp_err"; then
13490 ac_header_preproc
=yes
13492 echo "$as_me: failed program was:" >&5
13493 sed 's/^/| /' conftest.
$ac_ext >&5
13495 ac_header_preproc
=no
13497 rm -f conftest.err conftest.
$ac_ext
13498 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
13499 echo "${ECHO_T}$ac_header_preproc" >&6
13501 # So? What about this header?
13502 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
13504 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
13505 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
13506 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
13507 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
13508 ac_header_preproc
=yes
13511 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
13512 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
13513 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
13514 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
13515 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
13516 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
13517 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
13518 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
13519 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
13520 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
13521 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
13522 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
13525 ## ----------------------------------------- ##
13526 ## Report this to wx-dev@lists.wxwindows.org ##
13527 ## ----------------------------------------- ##
13530 sed "s/^/$as_me: WARNING: /" >&2
13533 echo "$as_me:$LINENO: checking for $ac_header" >&5
13534 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13535 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13536 echo $ECHO_N "(cached) $ECHO_C" >&6
13538 eval "$as_ac_Header=\$ac_header_preproc"
13540 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13541 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13544 if test `eval echo '${'$as_ac_Header'}'` = yes; then
13545 cat >>confdefs.h
<<_ACEOF
13546 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
13554 if test "x$ac_cv_header_fnmatch_h" = "xyes"; then
13556 for ac_func
in fnmatch
13558 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
13559 echo "$as_me:$LINENO: checking for $ac_func" >&5
13560 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
13561 if eval "test \"\${$as_ac_var+set}\" = set"; then
13562 echo $ECHO_N "(cached) $ECHO_C" >&6
13564 cat >conftest.
$ac_ext <<_ACEOF
13567 cat confdefs.h
>>conftest.
$ac_ext
13568 cat >>conftest.
$ac_ext <<_ACEOF
13569 /* end confdefs.h. */
13570 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
13571 For example, HP-UX 11i <limits.h> declares gettimeofday. */
13572 #define $ac_func innocuous_$ac_func
13574 /* System header to define __stub macros and hopefully few prototypes,
13575 which can conflict with char $ac_func (); below.
13576 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13577 <limits.h> exists even on freestanding compilers. */
13580 # include <limits.h>
13582 # include <assert.h>
13587 /* Override any gcc2 internal prototype to avoid an error. */
13592 /* We use char because int might match the return type of a gcc2
13593 builtin and then its argument prototype would still apply. */
13595 /* The GNU C library defines this for functions which it implements
13596 to always fail with ENOSYS. Some functions are actually named
13597 something starting with __ and the normal name is an alias. */
13598 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13601 char (*f) () = $ac_func;
13610 return f != $ac_func;
13615 rm -f conftest.
$ac_objext conftest
$ac_exeext
13616 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13617 (eval $ac_link) 2>conftest.er1
13619 grep -v '^ *+' conftest.er1
>conftest.err
13621 cat conftest.err
>&5
13622 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13623 (exit $ac_status); } &&
13624 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13625 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13626 (eval $ac_try) 2>&5
13628 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13629 (exit $ac_status); }; } &&
13630 { ac_try
='test -s conftest$ac_exeext'
13631 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13632 (eval $ac_try) 2>&5
13634 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13635 (exit $ac_status); }; }; then
13636 eval "$as_ac_var=yes"
13638 echo "$as_me: failed program was:" >&5
13639 sed 's/^/| /' conftest.
$ac_ext >&5
13641 eval "$as_ac_var=no"
13643 rm -f conftest.err conftest.
$ac_objext \
13644 conftest
$ac_exeext conftest.
$ac_ext
13646 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
13647 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
13648 if test `eval echo '${'$as_ac_var'}'` = yes; then
13649 cat >>confdefs.h
<<_ACEOF
13650 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
13659 for ac_header
in langinfo.h
13661 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
13662 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13663 echo "$as_me:$LINENO: checking for $ac_header" >&5
13664 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13665 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13666 echo $ECHO_N "(cached) $ECHO_C" >&6
13668 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13669 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13671 # Is the header compilable?
13672 echo "$as_me:$LINENO: checking $ac_header usability" >&5
13673 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
13674 cat >conftest.
$ac_ext <<_ACEOF
13677 cat confdefs.h
>>conftest.
$ac_ext
13678 cat >>conftest.
$ac_ext <<_ACEOF
13679 /* end confdefs.h. */
13680 $ac_includes_default
13681 #include <$ac_header>
13683 rm -f conftest.
$ac_objext
13684 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13685 (eval $ac_compile) 2>conftest.er1
13687 grep -v '^ *+' conftest.er1
>conftest.err
13689 cat conftest.err
>&5
13690 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13691 (exit $ac_status); } &&
13692 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13693 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13694 (eval $ac_try) 2>&5
13696 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13697 (exit $ac_status); }; } &&
13698 { ac_try
='test -s conftest.$ac_objext'
13699 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13700 (eval $ac_try) 2>&5
13702 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13703 (exit $ac_status); }; }; then
13704 ac_header_compiler
=yes
13706 echo "$as_me: failed program was:" >&5
13707 sed 's/^/| /' conftest.
$ac_ext >&5
13709 ac_header_compiler
=no
13711 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13712 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
13713 echo "${ECHO_T}$ac_header_compiler" >&6
13715 # Is the header present?
13716 echo "$as_me:$LINENO: checking $ac_header presence" >&5
13717 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
13718 cat >conftest.
$ac_ext <<_ACEOF
13721 cat confdefs.h
>>conftest.
$ac_ext
13722 cat >>conftest.
$ac_ext <<_ACEOF
13723 /* end confdefs.h. */
13724 #include <$ac_header>
13726 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
13727 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
13729 grep -v '^ *+' conftest.er1
>conftest.err
13731 cat conftest.err
>&5
13732 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13733 (exit $ac_status); } >/dev
/null
; then
13734 if test -s conftest.err
; then
13735 ac_cpp_err
=$ac_c_preproc_warn_flag
13736 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
13743 if test -z "$ac_cpp_err"; then
13744 ac_header_preproc
=yes
13746 echo "$as_me: failed program was:" >&5
13747 sed 's/^/| /' conftest.
$ac_ext >&5
13749 ac_header_preproc
=no
13751 rm -f conftest.err conftest.
$ac_ext
13752 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
13753 echo "${ECHO_T}$ac_header_preproc" >&6
13755 # So? What about this header?
13756 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
13758 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
13759 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
13760 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
13761 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
13762 ac_header_preproc
=yes
13765 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
13766 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
13767 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
13768 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
13769 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
13770 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
13771 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
13772 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
13773 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
13774 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
13775 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
13776 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
13779 ## ----------------------------------------- ##
13780 ## Report this to wx-dev@lists.wxwindows.org ##
13781 ## ----------------------------------------- ##
13784 sed "s/^/$as_me: WARNING: /" >&2
13787 echo "$as_me:$LINENO: checking for $ac_header" >&5
13788 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13789 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13790 echo $ECHO_N "(cached) $ECHO_C" >&6
13792 eval "$as_ac_Header=\$ac_header_preproc"
13794 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13795 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13798 if test `eval echo '${'$as_ac_Header'}'` = yes; then
13799 cat >>confdefs.h
<<_ACEOF
13800 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
13809 *-pc-os2_emx | *-pc-os2-emx )
13810 if test $ac_cv_header_langinfo_h = "yes"; then
13811 LIBS
="$LIBS -lintl"
13816 if test "$wxUSE_GUI" = "yes"; then
13817 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_PM" != 1; then
13819 for ac_header
in X
11/Xlib.h
13821 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
13822 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13823 echo "$as_me:$LINENO: checking for $ac_header" >&5
13824 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13825 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13826 echo $ECHO_N "(cached) $ECHO_C" >&6
13828 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13829 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13831 # Is the header compilable?
13832 echo "$as_me:$LINENO: checking $ac_header usability" >&5
13833 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
13834 cat >conftest.
$ac_ext <<_ACEOF
13837 cat confdefs.h
>>conftest.
$ac_ext
13838 cat >>conftest.
$ac_ext <<_ACEOF
13839 /* end confdefs.h. */
13840 $ac_includes_default
13841 #include <$ac_header>
13843 rm -f conftest.
$ac_objext
13844 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13845 (eval $ac_compile) 2>conftest.er1
13847 grep -v '^ *+' conftest.er1
>conftest.err
13849 cat conftest.err
>&5
13850 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13851 (exit $ac_status); } &&
13852 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13853 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13854 (eval $ac_try) 2>&5
13856 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13857 (exit $ac_status); }; } &&
13858 { ac_try
='test -s conftest.$ac_objext'
13859 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13860 (eval $ac_try) 2>&5
13862 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13863 (exit $ac_status); }; }; then
13864 ac_header_compiler
=yes
13866 echo "$as_me: failed program was:" >&5
13867 sed 's/^/| /' conftest.
$ac_ext >&5
13869 ac_header_compiler
=no
13871 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13872 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
13873 echo "${ECHO_T}$ac_header_compiler" >&6
13875 # Is the header present?
13876 echo "$as_me:$LINENO: checking $ac_header presence" >&5
13877 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
13878 cat >conftest.
$ac_ext <<_ACEOF
13881 cat confdefs.h
>>conftest.
$ac_ext
13882 cat >>conftest.
$ac_ext <<_ACEOF
13883 /* end confdefs.h. */
13884 #include <$ac_header>
13886 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
13887 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
13889 grep -v '^ *+' conftest.er1
>conftest.err
13891 cat conftest.err
>&5
13892 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13893 (exit $ac_status); } >/dev
/null
; then
13894 if test -s conftest.err
; then
13895 ac_cpp_err
=$ac_c_preproc_warn_flag
13896 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
13903 if test -z "$ac_cpp_err"; then
13904 ac_header_preproc
=yes
13906 echo "$as_me: failed program was:" >&5
13907 sed 's/^/| /' conftest.
$ac_ext >&5
13909 ac_header_preproc
=no
13911 rm -f conftest.err conftest.
$ac_ext
13912 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
13913 echo "${ECHO_T}$ac_header_preproc" >&6
13915 # So? What about this header?
13916 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
13918 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
13919 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
13920 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
13921 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
13922 ac_header_preproc
=yes
13925 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
13926 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
13927 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
13928 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
13929 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
13930 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
13931 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
13932 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
13933 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
13934 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
13935 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
13936 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
13939 ## ----------------------------------------- ##
13940 ## Report this to wx-dev@lists.wxwindows.org ##
13941 ## ----------------------------------------- ##
13944 sed "s/^/$as_me: WARNING: /" >&2
13947 echo "$as_me:$LINENO: checking for $ac_header" >&5
13948 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13949 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13950 echo $ECHO_N "(cached) $ECHO_C" >&6
13952 eval "$as_ac_Header=\$ac_header_preproc"
13954 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13955 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13958 if test `eval echo '${'$as_ac_Header'}'` = yes; then
13959 cat >>confdefs.h
<<_ACEOF
13960 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
13968 for ac_header
in X
11/XKBlib.h
13970 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
13971 echo "$as_me:$LINENO: checking for $ac_header" >&5
13972 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13973 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13974 echo $ECHO_N "(cached) $ECHO_C" >&6
13976 cat >conftest.
$ac_ext <<_ACEOF
13979 cat confdefs.h
>>conftest.
$ac_ext
13980 cat >>conftest.
$ac_ext <<_ACEOF
13981 /* end confdefs.h. */
13983 #if HAVE_X11_XLIB_H
13984 #include <X11/Xlib.h>
13988 #include <$ac_header>
13990 rm -f conftest.
$ac_objext
13991 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13992 (eval $ac_compile) 2>conftest.er1
13994 grep -v '^ *+' conftest.er1
>conftest.err
13996 cat conftest.err
>&5
13997 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13998 (exit $ac_status); } &&
13999 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14000 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14001 (eval $ac_try) 2>&5
14003 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14004 (exit $ac_status); }; } &&
14005 { ac_try
='test -s conftest.$ac_objext'
14006 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14007 (eval $ac_try) 2>&5
14009 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14010 (exit $ac_status); }; }; then
14011 eval "$as_ac_Header=yes"
14013 echo "$as_me: failed program was:" >&5
14014 sed 's/^/| /' conftest.
$ac_ext >&5
14016 eval "$as_ac_Header=no"
14018 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14020 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
14021 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
14022 if test `eval echo '${'$as_ac_Header'}'` = yes; then
14023 cat >>confdefs.h
<<_ACEOF
14024 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
14035 echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
14036 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6
14037 if test "${ac_cv_c_const+set}" = set; then
14038 echo $ECHO_N "(cached) $ECHO_C" >&6
14040 cat >conftest.
$ac_ext <<_ACEOF
14043 cat confdefs.h
>>conftest.
$ac_ext
14044 cat >>conftest.
$ac_ext <<_ACEOF
14045 /* end confdefs.h. */
14050 /* FIXME: Include the comments suggested by Paul. */
14051 #ifndef __cplusplus
14052 /* Ultrix mips cc rejects this. */
14053 typedef int charset[2];
14055 /* SunOS 4.1.1 cc rejects this. */
14056 char const *const *ccp;
14058 /* NEC SVR4.0.2 mips cc rejects this. */
14059 struct point {int x, y;};
14060 static struct point const zero = {0,0};
14061 /* AIX XL C 1.02.0.0 rejects this.
14062 It does not let you subtract one const X* pointer from another in
14063 an arm of an if-expression whose if-part is not a constant
14065 const char *g = "string";
14066 ccp = &g + (g ? g-g : 0);
14067 /* HPUX 7.0 cc rejects these. */
14070 ccp = (char const *const *) p;
14071 { /* SCO 3.2v4 cc rejects this. */
14073 char const *s = 0 ? (char *) 0 : (char const *) 0;
14077 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
14078 int x[] = {25, 17};
14079 const int *foo = &x[0];
14082 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
14083 typedef const int *iptr;
14087 { /* AIX XL C 1.02.0.0 rejects this saying
14088 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
14089 struct s { int j; const int *ap[3]; };
14090 struct s *b; b->j = 5;
14092 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
14093 const int foo = 10;
14101 rm -f conftest.
$ac_objext
14102 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14103 (eval $ac_compile) 2>conftest.er1
14105 grep -v '^ *+' conftest.er1
>conftest.err
14107 cat conftest.err
>&5
14108 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14109 (exit $ac_status); } &&
14110 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14111 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14112 (eval $ac_try) 2>&5
14114 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14115 (exit $ac_status); }; } &&
14116 { ac_try
='test -s conftest.$ac_objext'
14117 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14118 (eval $ac_try) 2>&5
14120 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14121 (exit $ac_status); }; }; then
14124 echo "$as_me: failed program was:" >&5
14125 sed 's/^/| /' conftest.
$ac_ext >&5
14129 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14131 echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
14132 echo "${ECHO_T}$ac_cv_c_const" >&6
14133 if test $ac_cv_c_const = no
; then
14135 cat >>confdefs.h
<<\_ACEOF
14141 echo "$as_me:$LINENO: checking for inline" >&5
14142 echo $ECHO_N "checking for inline... $ECHO_C" >&6
14143 if test "${ac_cv_c_inline+set}" = set; then
14144 echo $ECHO_N "(cached) $ECHO_C" >&6
14147 for ac_kw
in inline __inline__ __inline
; do
14148 cat >conftest.
$ac_ext <<_ACEOF
14151 cat confdefs.h
>>conftest.
$ac_ext
14152 cat >>conftest.
$ac_ext <<_ACEOF
14153 /* end confdefs.h. */
14154 #ifndef __cplusplus
14156 static $ac_kw foo_t static_foo () {return 0; }
14157 $ac_kw foo_t foo () {return 0; }
14161 rm -f conftest.
$ac_objext
14162 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14163 (eval $ac_compile) 2>conftest.er1
14165 grep -v '^ *+' conftest.er1
>conftest.err
14167 cat conftest.err
>&5
14168 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14169 (exit $ac_status); } &&
14170 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14171 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14172 (eval $ac_try) 2>&5
14174 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14175 (exit $ac_status); }; } &&
14176 { ac_try
='test -s conftest.$ac_objext'
14177 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14178 (eval $ac_try) 2>&5
14180 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14181 (exit $ac_status); }; }; then
14182 ac_cv_c_inline
=$ac_kw; break
14184 echo "$as_me: failed program was:" >&5
14185 sed 's/^/| /' conftest.
$ac_ext >&5
14188 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14192 echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
14193 echo "${ECHO_T}$ac_cv_c_inline" >&6
14196 case $ac_cv_c_inline in
14199 case $ac_cv_c_inline in
14201 *) ac_val
=$ac_cv_c_inline;;
14203 cat >>confdefs.h
<<_ACEOF
14204 #ifndef __cplusplus
14205 #define inline $ac_val
14212 echo "$as_me:$LINENO: checking for char" >&5
14213 echo $ECHO_N "checking for char... $ECHO_C" >&6
14214 if test "${ac_cv_type_char+set}" = set; then
14215 echo $ECHO_N "(cached) $ECHO_C" >&6
14217 cat >conftest.
$ac_ext <<_ACEOF
14220 cat confdefs.h
>>conftest.
$ac_ext
14221 cat >>conftest.
$ac_ext <<_ACEOF
14222 /* end confdefs.h. */
14223 $ac_includes_default
14235 rm -f conftest.
$ac_objext
14236 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14237 (eval $ac_compile) 2>conftest.er1
14239 grep -v '^ *+' conftest.er1
>conftest.err
14241 cat conftest.err
>&5
14242 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14243 (exit $ac_status); } &&
14244 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14245 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14246 (eval $ac_try) 2>&5
14248 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14249 (exit $ac_status); }; } &&
14250 { ac_try
='test -s conftest.$ac_objext'
14251 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14252 (eval $ac_try) 2>&5
14254 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14255 (exit $ac_status); }; }; then
14256 ac_cv_type_char
=yes
14258 echo "$as_me: failed program was:" >&5
14259 sed 's/^/| /' conftest.
$ac_ext >&5
14263 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14265 echo "$as_me:$LINENO: result: $ac_cv_type_char" >&5
14266 echo "${ECHO_T}$ac_cv_type_char" >&6
14268 echo "$as_me:$LINENO: checking size of char" >&5
14269 echo $ECHO_N "checking size of char... $ECHO_C" >&6
14270 if test "${ac_cv_sizeof_char+set}" = set; then
14271 echo $ECHO_N "(cached) $ECHO_C" >&6
14273 if test "$ac_cv_type_char" = yes; then
14274 # The cast to unsigned long works around a bug in the HP C Compiler
14275 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
14276 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
14277 # This bug is HP SR number 8606223364.
14278 if test "$cross_compiling" = yes; then
14279 # Depending upon the size, compute the lo and hi bounds.
14280 cat >conftest.
$ac_ext <<_ACEOF
14283 cat confdefs.h
>>conftest.
$ac_ext
14284 cat >>conftest.
$ac_ext <<_ACEOF
14285 /* end confdefs.h. */
14286 $ac_includes_default
14290 static int test_array [1 - 2 * !(((long) (sizeof (char))) >= 0)];
14297 rm -f conftest.
$ac_objext
14298 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14299 (eval $ac_compile) 2>conftest.er1
14301 grep -v '^ *+' conftest.er1
>conftest.err
14303 cat conftest.err
>&5
14304 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14305 (exit $ac_status); } &&
14306 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14307 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14308 (eval $ac_try) 2>&5
14310 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14311 (exit $ac_status); }; } &&
14312 { ac_try
='test -s conftest.$ac_objext'
14313 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14314 (eval $ac_try) 2>&5
14316 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14317 (exit $ac_status); }; }; then
14320 cat >conftest.
$ac_ext <<_ACEOF
14323 cat confdefs.h
>>conftest.
$ac_ext
14324 cat >>conftest.
$ac_ext <<_ACEOF
14325 /* end confdefs.h. */
14326 $ac_includes_default
14330 static int test_array [1 - 2 * !(((long) (sizeof (char))) <= $ac_mid)];
14337 rm -f conftest.
$ac_objext
14338 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14339 (eval $ac_compile) 2>conftest.er1
14341 grep -v '^ *+' conftest.er1
>conftest.err
14343 cat conftest.err
>&5
14344 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14345 (exit $ac_status); } &&
14346 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14347 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14348 (eval $ac_try) 2>&5
14350 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14351 (exit $ac_status); }; } &&
14352 { ac_try
='test -s conftest.$ac_objext'
14353 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14354 (eval $ac_try) 2>&5
14356 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14357 (exit $ac_status); }; }; then
14358 ac_hi
=$ac_mid; break
14360 echo "$as_me: failed program was:" >&5
14361 sed 's/^/| /' conftest.
$ac_ext >&5
14363 ac_lo
=`expr $ac_mid + 1`
14364 if test $ac_lo -le $ac_mid; then
14368 ac_mid
=`expr 2 '*' $ac_mid + 1`
14370 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14373 echo "$as_me: failed program was:" >&5
14374 sed 's/^/| /' conftest.
$ac_ext >&5
14376 cat >conftest.
$ac_ext <<_ACEOF
14379 cat confdefs.h
>>conftest.
$ac_ext
14380 cat >>conftest.
$ac_ext <<_ACEOF
14381 /* end confdefs.h. */
14382 $ac_includes_default
14386 static int test_array [1 - 2 * !(((long) (sizeof (char))) < 0)];
14393 rm -f conftest.
$ac_objext
14394 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14395 (eval $ac_compile) 2>conftest.er1
14397 grep -v '^ *+' conftest.er1
>conftest.err
14399 cat conftest.err
>&5
14400 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14401 (exit $ac_status); } &&
14402 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14403 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14404 (eval $ac_try) 2>&5
14406 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14407 (exit $ac_status); }; } &&
14408 { ac_try
='test -s conftest.$ac_objext'
14409 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14410 (eval $ac_try) 2>&5
14412 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14413 (exit $ac_status); }; }; then
14416 cat >conftest.
$ac_ext <<_ACEOF
14419 cat confdefs.h
>>conftest.
$ac_ext
14420 cat >>conftest.
$ac_ext <<_ACEOF
14421 /* end confdefs.h. */
14422 $ac_includes_default
14426 static int test_array [1 - 2 * !(((long) (sizeof (char))) >= $ac_mid)];
14433 rm -f conftest.
$ac_objext
14434 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14435 (eval $ac_compile) 2>conftest.er1
14437 grep -v '^ *+' conftest.er1
>conftest.err
14439 cat conftest.err
>&5
14440 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14441 (exit $ac_status); } &&
14442 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14443 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14444 (eval $ac_try) 2>&5
14446 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14447 (exit $ac_status); }; } &&
14448 { ac_try
='test -s conftest.$ac_objext'
14449 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14450 (eval $ac_try) 2>&5
14452 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14453 (exit $ac_status); }; }; then
14454 ac_lo
=$ac_mid; break
14456 echo "$as_me: failed program was:" >&5
14457 sed 's/^/| /' conftest.
$ac_ext >&5
14459 ac_hi
=`expr '(' $ac_mid ')' - 1`
14460 if test $ac_mid -le $ac_hi; then
14464 ac_mid
=`expr 2 '*' $ac_mid`
14466 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14469 echo "$as_me: failed program was:" >&5
14470 sed 's/^/| /' conftest.
$ac_ext >&5
14474 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14476 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14477 # Binary search between lo and hi bounds.
14478 while test "x$ac_lo" != "x$ac_hi"; do
14479 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
14480 cat >conftest.
$ac_ext <<_ACEOF
14483 cat confdefs.h
>>conftest.
$ac_ext
14484 cat >>conftest.
$ac_ext <<_ACEOF
14485 /* end confdefs.h. */
14486 $ac_includes_default
14490 static int test_array [1 - 2 * !(((long) (sizeof (char))) <= $ac_mid)];
14497 rm -f conftest.
$ac_objext
14498 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14499 (eval $ac_compile) 2>conftest.er1
14501 grep -v '^ *+' conftest.er1
>conftest.err
14503 cat conftest.err
>&5
14504 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14505 (exit $ac_status); } &&
14506 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14507 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14508 (eval $ac_try) 2>&5
14510 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14511 (exit $ac_status); }; } &&
14512 { ac_try
='test -s conftest.$ac_objext'
14513 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14514 (eval $ac_try) 2>&5
14516 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14517 (exit $ac_status); }; }; then
14520 echo "$as_me: failed program was:" >&5
14521 sed 's/^/| /' conftest.
$ac_ext >&5
14523 ac_lo
=`expr '(' $ac_mid ')' + 1`
14525 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14528 ?
*) ac_cv_sizeof_char
=$ac_lo;;
14529 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (char), 77
14530 See \`config.log' for more details." >&5
14531 echo "$as_me: error: cannot compute sizeof (char), 77
14532 See \`config.log' for more details." >&2;}
14533 { (exit 1); exit 1; }; } ;;
14536 if test "$cross_compiling" = yes; then
14537 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
14538 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
14539 { (exit 1); exit 1; }; }
14541 cat >conftest.
$ac_ext <<_ACEOF
14544 cat confdefs.h
>>conftest.
$ac_ext
14545 cat >>conftest.
$ac_ext <<_ACEOF
14546 /* end confdefs.h. */
14547 $ac_includes_default
14548 long longval () { return (long) (sizeof (char)); }
14549 unsigned long ulongval () { return (long) (sizeof (char)); }
14551 #include <stdlib.h>
14556 FILE *f = fopen ("conftest.val", "w");
14559 if (((long) (sizeof (char))) < 0)
14561 long i = longval ();
14562 if (i != ((long) (sizeof (char))))
14564 fprintf (f, "%ld\n", i);
14568 unsigned long i = ulongval ();
14569 if (i != ((long) (sizeof (char))))
14571 fprintf (f, "%lu\n", i);
14573 exit (ferror (f) || fclose (f) != 0);
14579 rm -f conftest
$ac_exeext
14580 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14581 (eval $ac_link) 2>&5
14583 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14584 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
14585 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14586 (eval $ac_try) 2>&5
14588 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14589 (exit $ac_status); }; }; then
14590 ac_cv_sizeof_char
=`cat conftest.val`
14592 echo "$as_me: program exited with status $ac_status" >&5
14593 echo "$as_me: failed program was:" >&5
14594 sed 's/^/| /' conftest.
$ac_ext >&5
14596 ( exit $ac_status )
14597 { { echo "$as_me:$LINENO: error: cannot compute sizeof (char), 77
14598 See \`config.log' for more details." >&5
14599 echo "$as_me: error: cannot compute sizeof (char), 77
14600 See \`config.log' for more details." >&2;}
14601 { (exit 1); exit 1; }; }
14603 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
14608 ac_cv_sizeof_char
=0
14611 echo "$as_me:$LINENO: result: $ac_cv_sizeof_char" >&5
14612 echo "${ECHO_T}$ac_cv_sizeof_char" >&6
14613 cat >>confdefs.h
<<_ACEOF
14614 #define SIZEOF_CHAR $ac_cv_sizeof_char
14618 echo "$as_me:$LINENO: checking for short" >&5
14619 echo $ECHO_N "checking for short... $ECHO_C" >&6
14620 if test "${ac_cv_type_short+set}" = set; then
14621 echo $ECHO_N "(cached) $ECHO_C" >&6
14623 cat >conftest.
$ac_ext <<_ACEOF
14626 cat confdefs.h
>>conftest.
$ac_ext
14627 cat >>conftest.
$ac_ext <<_ACEOF
14628 /* end confdefs.h. */
14629 $ac_includes_default
14635 if (sizeof (short))
14641 rm -f conftest.
$ac_objext
14642 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14643 (eval $ac_compile) 2>conftest.er1
14645 grep -v '^ *+' conftest.er1
>conftest.err
14647 cat conftest.err
>&5
14648 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14649 (exit $ac_status); } &&
14650 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14651 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14652 (eval $ac_try) 2>&5
14654 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14655 (exit $ac_status); }; } &&
14656 { ac_try
='test -s conftest.$ac_objext'
14657 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14658 (eval $ac_try) 2>&5
14660 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14661 (exit $ac_status); }; }; then
14662 ac_cv_type_short
=yes
14664 echo "$as_me: failed program was:" >&5
14665 sed 's/^/| /' conftest.
$ac_ext >&5
14667 ac_cv_type_short
=no
14669 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14671 echo "$as_me:$LINENO: result: $ac_cv_type_short" >&5
14672 echo "${ECHO_T}$ac_cv_type_short" >&6
14674 echo "$as_me:$LINENO: checking size of short" >&5
14675 echo $ECHO_N "checking size of short... $ECHO_C" >&6
14676 if test "${ac_cv_sizeof_short+set}" = set; then
14677 echo $ECHO_N "(cached) $ECHO_C" >&6
14679 if test "$ac_cv_type_short" = yes; then
14680 # The cast to unsigned long works around a bug in the HP C Compiler
14681 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
14682 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
14683 # This bug is HP SR number 8606223364.
14684 if test "$cross_compiling" = yes; then
14685 # Depending upon the size, compute the lo and hi bounds.
14686 cat >conftest.
$ac_ext <<_ACEOF
14689 cat confdefs.h
>>conftest.
$ac_ext
14690 cat >>conftest.
$ac_ext <<_ACEOF
14691 /* end confdefs.h. */
14692 $ac_includes_default
14696 static int test_array [1 - 2 * !(((long) (sizeof (short))) >= 0)];
14703 rm -f conftest.
$ac_objext
14704 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14705 (eval $ac_compile) 2>conftest.er1
14707 grep -v '^ *+' conftest.er1
>conftest.err
14709 cat conftest.err
>&5
14710 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14711 (exit $ac_status); } &&
14712 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14713 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14714 (eval $ac_try) 2>&5
14716 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14717 (exit $ac_status); }; } &&
14718 { ac_try
='test -s conftest.$ac_objext'
14719 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14720 (eval $ac_try) 2>&5
14722 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14723 (exit $ac_status); }; }; then
14726 cat >conftest.
$ac_ext <<_ACEOF
14729 cat confdefs.h
>>conftest.
$ac_ext
14730 cat >>conftest.
$ac_ext <<_ACEOF
14731 /* end confdefs.h. */
14732 $ac_includes_default
14736 static int test_array [1 - 2 * !(((long) (sizeof (short))) <= $ac_mid)];
14743 rm -f conftest.
$ac_objext
14744 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14745 (eval $ac_compile) 2>conftest.er1
14747 grep -v '^ *+' conftest.er1
>conftest.err
14749 cat conftest.err
>&5
14750 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14751 (exit $ac_status); } &&
14752 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14753 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14754 (eval $ac_try) 2>&5
14756 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14757 (exit $ac_status); }; } &&
14758 { ac_try
='test -s conftest.$ac_objext'
14759 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14760 (eval $ac_try) 2>&5
14762 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14763 (exit $ac_status); }; }; then
14764 ac_hi
=$ac_mid; break
14766 echo "$as_me: failed program was:" >&5
14767 sed 's/^/| /' conftest.
$ac_ext >&5
14769 ac_lo
=`expr $ac_mid + 1`
14770 if test $ac_lo -le $ac_mid; then
14774 ac_mid
=`expr 2 '*' $ac_mid + 1`
14776 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14779 echo "$as_me: failed program was:" >&5
14780 sed 's/^/| /' conftest.
$ac_ext >&5
14782 cat >conftest.
$ac_ext <<_ACEOF
14785 cat confdefs.h
>>conftest.
$ac_ext
14786 cat >>conftest.
$ac_ext <<_ACEOF
14787 /* end confdefs.h. */
14788 $ac_includes_default
14792 static int test_array [1 - 2 * !(((long) (sizeof (short))) < 0)];
14799 rm -f conftest.
$ac_objext
14800 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14801 (eval $ac_compile) 2>conftest.er1
14803 grep -v '^ *+' conftest.er1
>conftest.err
14805 cat conftest.err
>&5
14806 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14807 (exit $ac_status); } &&
14808 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14809 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14810 (eval $ac_try) 2>&5
14812 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14813 (exit $ac_status); }; } &&
14814 { ac_try
='test -s conftest.$ac_objext'
14815 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14816 (eval $ac_try) 2>&5
14818 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14819 (exit $ac_status); }; }; then
14822 cat >conftest.
$ac_ext <<_ACEOF
14825 cat confdefs.h
>>conftest.
$ac_ext
14826 cat >>conftest.
$ac_ext <<_ACEOF
14827 /* end confdefs.h. */
14828 $ac_includes_default
14832 static int test_array [1 - 2 * !(((long) (sizeof (short))) >= $ac_mid)];
14839 rm -f conftest.
$ac_objext
14840 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14841 (eval $ac_compile) 2>conftest.er1
14843 grep -v '^ *+' conftest.er1
>conftest.err
14845 cat conftest.err
>&5
14846 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14847 (exit $ac_status); } &&
14848 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14849 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14850 (eval $ac_try) 2>&5
14852 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14853 (exit $ac_status); }; } &&
14854 { ac_try
='test -s conftest.$ac_objext'
14855 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14856 (eval $ac_try) 2>&5
14858 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14859 (exit $ac_status); }; }; then
14860 ac_lo
=$ac_mid; break
14862 echo "$as_me: failed program was:" >&5
14863 sed 's/^/| /' conftest.
$ac_ext >&5
14865 ac_hi
=`expr '(' $ac_mid ')' - 1`
14866 if test $ac_mid -le $ac_hi; then
14870 ac_mid
=`expr 2 '*' $ac_mid`
14872 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14875 echo "$as_me: failed program was:" >&5
14876 sed 's/^/| /' conftest.
$ac_ext >&5
14880 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14882 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14883 # Binary search between lo and hi bounds.
14884 while test "x$ac_lo" != "x$ac_hi"; do
14885 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
14886 cat >conftest.
$ac_ext <<_ACEOF
14889 cat confdefs.h
>>conftest.
$ac_ext
14890 cat >>conftest.
$ac_ext <<_ACEOF
14891 /* end confdefs.h. */
14892 $ac_includes_default
14896 static int test_array [1 - 2 * !(((long) (sizeof (short))) <= $ac_mid)];
14903 rm -f conftest.
$ac_objext
14904 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14905 (eval $ac_compile) 2>conftest.er1
14907 grep -v '^ *+' conftest.er1
>conftest.err
14909 cat conftest.err
>&5
14910 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14911 (exit $ac_status); } &&
14912 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14913 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14914 (eval $ac_try) 2>&5
14916 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14917 (exit $ac_status); }; } &&
14918 { ac_try
='test -s conftest.$ac_objext'
14919 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14920 (eval $ac_try) 2>&5
14922 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14923 (exit $ac_status); }; }; then
14926 echo "$as_me: failed program was:" >&5
14927 sed 's/^/| /' conftest.
$ac_ext >&5
14929 ac_lo
=`expr '(' $ac_mid ')' + 1`
14931 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14934 ?
*) ac_cv_sizeof_short
=$ac_lo;;
14935 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (short), 77
14936 See \`config.log' for more details." >&5
14937 echo "$as_me: error: cannot compute sizeof (short), 77
14938 See \`config.log' for more details." >&2;}
14939 { (exit 1); exit 1; }; } ;;
14942 if test "$cross_compiling" = yes; then
14943 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
14944 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
14945 { (exit 1); exit 1; }; }
14947 cat >conftest.
$ac_ext <<_ACEOF
14950 cat confdefs.h
>>conftest.
$ac_ext
14951 cat >>conftest.
$ac_ext <<_ACEOF
14952 /* end confdefs.h. */
14953 $ac_includes_default
14954 long longval () { return (long) (sizeof (short)); }
14955 unsigned long ulongval () { return (long) (sizeof (short)); }
14957 #include <stdlib.h>
14962 FILE *f = fopen ("conftest.val", "w");
14965 if (((long) (sizeof (short))) < 0)
14967 long i = longval ();
14968 if (i != ((long) (sizeof (short))))
14970 fprintf (f, "%ld\n", i);
14974 unsigned long i = ulongval ();
14975 if (i != ((long) (sizeof (short))))
14977 fprintf (f, "%lu\n", i);
14979 exit (ferror (f) || fclose (f) != 0);
14985 rm -f conftest
$ac_exeext
14986 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14987 (eval $ac_link) 2>&5
14989 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14990 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
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_cv_sizeof_short
=`cat conftest.val`
14998 echo "$as_me: program exited with status $ac_status" >&5
14999 echo "$as_me: failed program was:" >&5
15000 sed 's/^/| /' conftest.
$ac_ext >&5
15002 ( exit $ac_status )
15003 { { echo "$as_me:$LINENO: error: cannot compute sizeof (short), 77
15004 See \`config.log' for more details." >&5
15005 echo "$as_me: error: cannot compute sizeof (short), 77
15006 See \`config.log' for more details." >&2;}
15007 { (exit 1); exit 1; }; }
15009 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
15014 ac_cv_sizeof_short
=0
15017 echo "$as_me:$LINENO: result: $ac_cv_sizeof_short" >&5
15018 echo "${ECHO_T}$ac_cv_sizeof_short" >&6
15019 cat >>confdefs.h
<<_ACEOF
15020 #define SIZEOF_SHORT $ac_cv_sizeof_short
15024 echo "$as_me:$LINENO: checking for void *" >&5
15025 echo $ECHO_N "checking for void *... $ECHO_C" >&6
15026 if test "${ac_cv_type_void_p+set}" = set; then
15027 echo $ECHO_N "(cached) $ECHO_C" >&6
15029 cat >conftest.
$ac_ext <<_ACEOF
15032 cat confdefs.h
>>conftest.
$ac_ext
15033 cat >>conftest.
$ac_ext <<_ACEOF
15034 /* end confdefs.h. */
15035 $ac_includes_default
15041 if (sizeof (void *))
15047 rm -f conftest.
$ac_objext
15048 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15049 (eval $ac_compile) 2>conftest.er1
15051 grep -v '^ *+' conftest.er1
>conftest.err
15053 cat conftest.err
>&5
15054 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15055 (exit $ac_status); } &&
15056 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15057 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15058 (eval $ac_try) 2>&5
15060 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15061 (exit $ac_status); }; } &&
15062 { ac_try
='test -s conftest.$ac_objext'
15063 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15064 (eval $ac_try) 2>&5
15066 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15067 (exit $ac_status); }; }; then
15068 ac_cv_type_void_p
=yes
15070 echo "$as_me: failed program was:" >&5
15071 sed 's/^/| /' conftest.
$ac_ext >&5
15073 ac_cv_type_void_p
=no
15075 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15077 echo "$as_me:$LINENO: result: $ac_cv_type_void_p" >&5
15078 echo "${ECHO_T}$ac_cv_type_void_p" >&6
15080 echo "$as_me:$LINENO: checking size of void *" >&5
15081 echo $ECHO_N "checking size of void *... $ECHO_C" >&6
15082 if test "${ac_cv_sizeof_void_p+set}" = set; then
15083 echo $ECHO_N "(cached) $ECHO_C" >&6
15085 if test "$ac_cv_type_void_p" = yes; then
15086 # The cast to unsigned long works around a bug in the HP C Compiler
15087 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
15088 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
15089 # This bug is HP SR number 8606223364.
15090 if test "$cross_compiling" = yes; then
15091 # Depending upon the size, compute the lo and hi bounds.
15092 cat >conftest.
$ac_ext <<_ACEOF
15095 cat confdefs.h
>>conftest.
$ac_ext
15096 cat >>conftest.
$ac_ext <<_ACEOF
15097 /* end confdefs.h. */
15098 $ac_includes_default
15102 static int test_array [1 - 2 * !(((long) (sizeof (void *))) >= 0)];
15109 rm -f conftest.
$ac_objext
15110 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15111 (eval $ac_compile) 2>conftest.er1
15113 grep -v '^ *+' conftest.er1
>conftest.err
15115 cat conftest.err
>&5
15116 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15117 (exit $ac_status); } &&
15118 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15119 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15120 (eval $ac_try) 2>&5
15122 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15123 (exit $ac_status); }; } &&
15124 { ac_try
='test -s conftest.$ac_objext'
15125 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15126 (eval $ac_try) 2>&5
15128 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15129 (exit $ac_status); }; }; then
15132 cat >conftest.
$ac_ext <<_ACEOF
15135 cat confdefs.h
>>conftest.
$ac_ext
15136 cat >>conftest.
$ac_ext <<_ACEOF
15137 /* end confdefs.h. */
15138 $ac_includes_default
15142 static int test_array [1 - 2 * !(((long) (sizeof (void *))) <= $ac_mid)];
15149 rm -f conftest.
$ac_objext
15150 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15151 (eval $ac_compile) 2>conftest.er1
15153 grep -v '^ *+' conftest.er1
>conftest.err
15155 cat conftest.err
>&5
15156 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15157 (exit $ac_status); } &&
15158 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15159 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15160 (eval $ac_try) 2>&5
15162 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15163 (exit $ac_status); }; } &&
15164 { ac_try
='test -s conftest.$ac_objext'
15165 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15166 (eval $ac_try) 2>&5
15168 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15169 (exit $ac_status); }; }; then
15170 ac_hi
=$ac_mid; break
15172 echo "$as_me: failed program was:" >&5
15173 sed 's/^/| /' conftest.
$ac_ext >&5
15175 ac_lo
=`expr $ac_mid + 1`
15176 if test $ac_lo -le $ac_mid; then
15180 ac_mid
=`expr 2 '*' $ac_mid + 1`
15182 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15185 echo "$as_me: failed program was:" >&5
15186 sed 's/^/| /' conftest.
$ac_ext >&5
15188 cat >conftest.
$ac_ext <<_ACEOF
15191 cat confdefs.h
>>conftest.
$ac_ext
15192 cat >>conftest.
$ac_ext <<_ACEOF
15193 /* end confdefs.h. */
15194 $ac_includes_default
15198 static int test_array [1 - 2 * !(((long) (sizeof (void *))) < 0)];
15205 rm -f conftest.
$ac_objext
15206 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15207 (eval $ac_compile) 2>conftest.er1
15209 grep -v '^ *+' conftest.er1
>conftest.err
15211 cat conftest.err
>&5
15212 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15213 (exit $ac_status); } &&
15214 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15215 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15216 (eval $ac_try) 2>&5
15218 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15219 (exit $ac_status); }; } &&
15220 { ac_try
='test -s conftest.$ac_objext'
15221 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15222 (eval $ac_try) 2>&5
15224 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15225 (exit $ac_status); }; }; then
15228 cat >conftest.
$ac_ext <<_ACEOF
15231 cat confdefs.h
>>conftest.
$ac_ext
15232 cat >>conftest.
$ac_ext <<_ACEOF
15233 /* end confdefs.h. */
15234 $ac_includes_default
15238 static int test_array [1 - 2 * !(((long) (sizeof (void *))) >= $ac_mid)];
15245 rm -f conftest.
$ac_objext
15246 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15247 (eval $ac_compile) 2>conftest.er1
15249 grep -v '^ *+' conftest.er1
>conftest.err
15251 cat conftest.err
>&5
15252 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15253 (exit $ac_status); } &&
15254 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15255 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15256 (eval $ac_try) 2>&5
15258 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15259 (exit $ac_status); }; } &&
15260 { ac_try
='test -s conftest.$ac_objext'
15261 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15262 (eval $ac_try) 2>&5
15264 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15265 (exit $ac_status); }; }; then
15266 ac_lo
=$ac_mid; break
15268 echo "$as_me: failed program was:" >&5
15269 sed 's/^/| /' conftest.
$ac_ext >&5
15271 ac_hi
=`expr '(' $ac_mid ')' - 1`
15272 if test $ac_mid -le $ac_hi; then
15276 ac_mid
=`expr 2 '*' $ac_mid`
15278 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15281 echo "$as_me: failed program was:" >&5
15282 sed 's/^/| /' conftest.
$ac_ext >&5
15286 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15288 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15289 # Binary search between lo and hi bounds.
15290 while test "x$ac_lo" != "x$ac_hi"; do
15291 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
15292 cat >conftest.
$ac_ext <<_ACEOF
15295 cat confdefs.h
>>conftest.
$ac_ext
15296 cat >>conftest.
$ac_ext <<_ACEOF
15297 /* end confdefs.h. */
15298 $ac_includes_default
15302 static int test_array [1 - 2 * !(((long) (sizeof (void *))) <= $ac_mid)];
15309 rm -f conftest.
$ac_objext
15310 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15311 (eval $ac_compile) 2>conftest.er1
15313 grep -v '^ *+' conftest.er1
>conftest.err
15315 cat conftest.err
>&5
15316 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15317 (exit $ac_status); } &&
15318 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15319 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15320 (eval $ac_try) 2>&5
15322 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15323 (exit $ac_status); }; } &&
15324 { ac_try
='test -s conftest.$ac_objext'
15325 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15326 (eval $ac_try) 2>&5
15328 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15329 (exit $ac_status); }; }; then
15332 echo "$as_me: failed program was:" >&5
15333 sed 's/^/| /' conftest.
$ac_ext >&5
15335 ac_lo
=`expr '(' $ac_mid ')' + 1`
15337 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15340 ?
*) ac_cv_sizeof_void_p
=$ac_lo;;
15341 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *), 77
15342 See \`config.log' for more details." >&5
15343 echo "$as_me: error: cannot compute sizeof (void *), 77
15344 See \`config.log' for more details." >&2;}
15345 { (exit 1); exit 1; }; } ;;
15348 if test "$cross_compiling" = yes; then
15349 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
15350 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
15351 { (exit 1); exit 1; }; }
15353 cat >conftest.
$ac_ext <<_ACEOF
15356 cat confdefs.h
>>conftest.
$ac_ext
15357 cat >>conftest.
$ac_ext <<_ACEOF
15358 /* end confdefs.h. */
15359 $ac_includes_default
15360 long longval () { return (long) (sizeof (void *)); }
15361 unsigned long ulongval () { return (long) (sizeof (void *)); }
15363 #include <stdlib.h>
15368 FILE *f = fopen ("conftest.val", "w");
15371 if (((long) (sizeof (void *))) < 0)
15373 long i = longval ();
15374 if (i != ((long) (sizeof (void *))))
15376 fprintf (f, "%ld\n", i);
15380 unsigned long i = ulongval ();
15381 if (i != ((long) (sizeof (void *))))
15383 fprintf (f, "%lu\n", i);
15385 exit (ferror (f) || fclose (f) != 0);
15391 rm -f conftest
$ac_exeext
15392 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15393 (eval $ac_link) 2>&5
15395 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15396 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
15397 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15398 (eval $ac_try) 2>&5
15400 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15401 (exit $ac_status); }; }; then
15402 ac_cv_sizeof_void_p
=`cat conftest.val`
15404 echo "$as_me: program exited with status $ac_status" >&5
15405 echo "$as_me: failed program was:" >&5
15406 sed 's/^/| /' conftest.
$ac_ext >&5
15408 ( exit $ac_status )
15409 { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *), 77
15410 See \`config.log' for more details." >&5
15411 echo "$as_me: error: cannot compute sizeof (void *), 77
15412 See \`config.log' for more details." >&2;}
15413 { (exit 1); exit 1; }; }
15415 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
15420 ac_cv_sizeof_void_p
=0
15423 echo "$as_me:$LINENO: result: $ac_cv_sizeof_void_p" >&5
15424 echo "${ECHO_T}$ac_cv_sizeof_void_p" >&6
15425 cat >>confdefs.h
<<_ACEOF
15426 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
15430 echo "$as_me:$LINENO: checking for int" >&5
15431 echo $ECHO_N "checking for int... $ECHO_C" >&6
15432 if test "${ac_cv_type_int+set}" = set; then
15433 echo $ECHO_N "(cached) $ECHO_C" >&6
15435 cat >conftest.
$ac_ext <<_ACEOF
15438 cat confdefs.h
>>conftest.
$ac_ext
15439 cat >>conftest.
$ac_ext <<_ACEOF
15440 /* end confdefs.h. */
15441 $ac_includes_default
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" || test ! -s conftest.err'
15463 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15464 (eval $ac_try) 2>&5
15466 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15467 (exit $ac_status); }; } &&
15468 { ac_try
='test -s conftest.$ac_objext'
15469 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15470 (eval $ac_try) 2>&5
15472 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15473 (exit $ac_status); }; }; then
15476 echo "$as_me: failed program was:" >&5
15477 sed 's/^/| /' conftest.
$ac_ext >&5
15481 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15483 echo "$as_me:$LINENO: result: $ac_cv_type_int" >&5
15484 echo "${ECHO_T}$ac_cv_type_int" >&6
15486 echo "$as_me:$LINENO: checking size of int" >&5
15487 echo $ECHO_N "checking size of int... $ECHO_C" >&6
15488 if test "${ac_cv_sizeof_int+set}" = set; then
15489 echo $ECHO_N "(cached) $ECHO_C" >&6
15491 if test "$ac_cv_type_int" = yes; then
15492 # The cast to unsigned long works around a bug in the HP C Compiler
15493 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
15494 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
15495 # This bug is HP SR number 8606223364.
15496 if test "$cross_compiling" = yes; then
15497 # Depending upon the size, compute the lo and hi bounds.
15498 cat >conftest.
$ac_ext <<_ACEOF
15501 cat confdefs.h
>>conftest.
$ac_ext
15502 cat >>conftest.
$ac_ext <<_ACEOF
15503 /* end confdefs.h. */
15504 $ac_includes_default
15508 static int test_array [1 - 2 * !(((long) (sizeof (int))) >= 0)];
15515 rm -f conftest.
$ac_objext
15516 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15517 (eval $ac_compile) 2>conftest.er1
15519 grep -v '^ *+' conftest.er1
>conftest.err
15521 cat conftest.err
>&5
15522 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15523 (exit $ac_status); } &&
15524 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15525 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15526 (eval $ac_try) 2>&5
15528 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15529 (exit $ac_status); }; } &&
15530 { ac_try
='test -s conftest.$ac_objext'
15531 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15532 (eval $ac_try) 2>&5
15534 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15535 (exit $ac_status); }; }; then
15538 cat >conftest.
$ac_ext <<_ACEOF
15541 cat confdefs.h
>>conftest.
$ac_ext
15542 cat >>conftest.
$ac_ext <<_ACEOF
15543 /* end confdefs.h. */
15544 $ac_includes_default
15548 static int test_array [1 - 2 * !(((long) (sizeof (int))) <= $ac_mid)];
15555 rm -f conftest.
$ac_objext
15556 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15557 (eval $ac_compile) 2>conftest.er1
15559 grep -v '^ *+' conftest.er1
>conftest.err
15561 cat conftest.err
>&5
15562 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15563 (exit $ac_status); } &&
15564 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15565 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15566 (eval $ac_try) 2>&5
15568 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15569 (exit $ac_status); }; } &&
15570 { ac_try
='test -s conftest.$ac_objext'
15571 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15572 (eval $ac_try) 2>&5
15574 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15575 (exit $ac_status); }; }; then
15576 ac_hi
=$ac_mid; break
15578 echo "$as_me: failed program was:" >&5
15579 sed 's/^/| /' conftest.
$ac_ext >&5
15581 ac_lo
=`expr $ac_mid + 1`
15582 if test $ac_lo -le $ac_mid; then
15586 ac_mid
=`expr 2 '*' $ac_mid + 1`
15588 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15591 echo "$as_me: failed program was:" >&5
15592 sed 's/^/| /' conftest.
$ac_ext >&5
15594 cat >conftest.
$ac_ext <<_ACEOF
15597 cat confdefs.h
>>conftest.
$ac_ext
15598 cat >>conftest.
$ac_ext <<_ACEOF
15599 /* end confdefs.h. */
15600 $ac_includes_default
15604 static int test_array [1 - 2 * !(((long) (sizeof (int))) < 0)];
15611 rm -f conftest.
$ac_objext
15612 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15613 (eval $ac_compile) 2>conftest.er1
15615 grep -v '^ *+' conftest.er1
>conftest.err
15617 cat conftest.err
>&5
15618 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15619 (exit $ac_status); } &&
15620 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15621 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15622 (eval $ac_try) 2>&5
15624 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15625 (exit $ac_status); }; } &&
15626 { ac_try
='test -s conftest.$ac_objext'
15627 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15628 (eval $ac_try) 2>&5
15630 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15631 (exit $ac_status); }; }; then
15634 cat >conftest.
$ac_ext <<_ACEOF
15637 cat confdefs.h
>>conftest.
$ac_ext
15638 cat >>conftest.
$ac_ext <<_ACEOF
15639 /* end confdefs.h. */
15640 $ac_includes_default
15644 static int test_array [1 - 2 * !(((long) (sizeof (int))) >= $ac_mid)];
15651 rm -f conftest.
$ac_objext
15652 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15653 (eval $ac_compile) 2>conftest.er1
15655 grep -v '^ *+' conftest.er1
>conftest.err
15657 cat conftest.err
>&5
15658 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15659 (exit $ac_status); } &&
15660 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15661 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15662 (eval $ac_try) 2>&5
15664 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15665 (exit $ac_status); }; } &&
15666 { ac_try
='test -s conftest.$ac_objext'
15667 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15668 (eval $ac_try) 2>&5
15670 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15671 (exit $ac_status); }; }; then
15672 ac_lo
=$ac_mid; break
15674 echo "$as_me: failed program was:" >&5
15675 sed 's/^/| /' conftest.
$ac_ext >&5
15677 ac_hi
=`expr '(' $ac_mid ')' - 1`
15678 if test $ac_mid -le $ac_hi; then
15682 ac_mid
=`expr 2 '*' $ac_mid`
15684 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15687 echo "$as_me: failed program was:" >&5
15688 sed 's/^/| /' conftest.
$ac_ext >&5
15692 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15694 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15695 # Binary search between lo and hi bounds.
15696 while test "x$ac_lo" != "x$ac_hi"; do
15697 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
15698 cat >conftest.
$ac_ext <<_ACEOF
15701 cat confdefs.h
>>conftest.
$ac_ext
15702 cat >>conftest.
$ac_ext <<_ACEOF
15703 /* end confdefs.h. */
15704 $ac_includes_default
15708 static int test_array [1 - 2 * !(((long) (sizeof (int))) <= $ac_mid)];
15715 rm -f conftest.
$ac_objext
15716 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15717 (eval $ac_compile) 2>conftest.er1
15719 grep -v '^ *+' conftest.er1
>conftest.err
15721 cat conftest.err
>&5
15722 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15723 (exit $ac_status); } &&
15724 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15725 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15726 (eval $ac_try) 2>&5
15728 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15729 (exit $ac_status); }; } &&
15730 { ac_try
='test -s conftest.$ac_objext'
15731 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15732 (eval $ac_try) 2>&5
15734 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15735 (exit $ac_status); }; }; then
15738 echo "$as_me: failed program was:" >&5
15739 sed 's/^/| /' conftest.
$ac_ext >&5
15741 ac_lo
=`expr '(' $ac_mid ')' + 1`
15743 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15746 ?
*) ac_cv_sizeof_int
=$ac_lo;;
15747 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (int), 77
15748 See \`config.log' for more details." >&5
15749 echo "$as_me: error: cannot compute sizeof (int), 77
15750 See \`config.log' for more details." >&2;}
15751 { (exit 1); exit 1; }; } ;;
15754 if test "$cross_compiling" = yes; then
15755 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
15756 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
15757 { (exit 1); exit 1; }; }
15759 cat >conftest.
$ac_ext <<_ACEOF
15762 cat confdefs.h
>>conftest.
$ac_ext
15763 cat >>conftest.
$ac_ext <<_ACEOF
15764 /* end confdefs.h. */
15765 $ac_includes_default
15766 long longval () { return (long) (sizeof (int)); }
15767 unsigned long ulongval () { return (long) (sizeof (int)); }
15769 #include <stdlib.h>
15774 FILE *f = fopen ("conftest.val", "w");
15777 if (((long) (sizeof (int))) < 0)
15779 long i = longval ();
15780 if (i != ((long) (sizeof (int))))
15782 fprintf (f, "%ld\n", i);
15786 unsigned long i = ulongval ();
15787 if (i != ((long) (sizeof (int))))
15789 fprintf (f, "%lu\n", i);
15791 exit (ferror (f) || fclose (f) != 0);
15797 rm -f conftest
$ac_exeext
15798 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15799 (eval $ac_link) 2>&5
15801 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15802 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
15803 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15804 (eval $ac_try) 2>&5
15806 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15807 (exit $ac_status); }; }; then
15808 ac_cv_sizeof_int
=`cat conftest.val`
15810 echo "$as_me: program exited with status $ac_status" >&5
15811 echo "$as_me: failed program was:" >&5
15812 sed 's/^/| /' conftest.
$ac_ext >&5
15814 ( exit $ac_status )
15815 { { echo "$as_me:$LINENO: error: cannot compute sizeof (int), 77
15816 See \`config.log' for more details." >&5
15817 echo "$as_me: error: cannot compute sizeof (int), 77
15818 See \`config.log' for more details." >&2;}
15819 { (exit 1); exit 1; }; }
15821 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
15829 echo "$as_me:$LINENO: result: $ac_cv_sizeof_int" >&5
15830 echo "${ECHO_T}$ac_cv_sizeof_int" >&6
15831 cat >>confdefs.h
<<_ACEOF
15832 #define SIZEOF_INT $ac_cv_sizeof_int
15836 echo "$as_me:$LINENO: checking for long" >&5
15837 echo $ECHO_N "checking for long... $ECHO_C" >&6
15838 if test "${ac_cv_type_long+set}" = set; then
15839 echo $ECHO_N "(cached) $ECHO_C" >&6
15841 cat >conftest.
$ac_ext <<_ACEOF
15844 cat confdefs.h
>>conftest.
$ac_ext
15845 cat >>conftest.
$ac_ext <<_ACEOF
15846 /* end confdefs.h. */
15847 $ac_includes_default
15859 rm -f conftest.
$ac_objext
15860 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15861 (eval $ac_compile) 2>conftest.er1
15863 grep -v '^ *+' conftest.er1
>conftest.err
15865 cat conftest.err
>&5
15866 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15867 (exit $ac_status); } &&
15868 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15869 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15870 (eval $ac_try) 2>&5
15872 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15873 (exit $ac_status); }; } &&
15874 { ac_try
='test -s conftest.$ac_objext'
15875 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15876 (eval $ac_try) 2>&5
15878 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15879 (exit $ac_status); }; }; then
15880 ac_cv_type_long
=yes
15882 echo "$as_me: failed program was:" >&5
15883 sed 's/^/| /' conftest.
$ac_ext >&5
15887 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15889 echo "$as_me:$LINENO: result: $ac_cv_type_long" >&5
15890 echo "${ECHO_T}$ac_cv_type_long" >&6
15892 echo "$as_me:$LINENO: checking size of long" >&5
15893 echo $ECHO_N "checking size of long... $ECHO_C" >&6
15894 if test "${ac_cv_sizeof_long+set}" = set; then
15895 echo $ECHO_N "(cached) $ECHO_C" >&6
15897 if test "$ac_cv_type_long" = yes; then
15898 # The cast to unsigned long works around a bug in the HP C Compiler
15899 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
15900 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
15901 # This bug is HP SR number 8606223364.
15902 if test "$cross_compiling" = yes; then
15903 # Depending upon the size, compute the lo and hi bounds.
15904 cat >conftest.
$ac_ext <<_ACEOF
15907 cat confdefs.h
>>conftest.
$ac_ext
15908 cat >>conftest.
$ac_ext <<_ACEOF
15909 /* end confdefs.h. */
15910 $ac_includes_default
15914 static int test_array [1 - 2 * !(((long) (sizeof (long))) >= 0)];
15921 rm -f conftest.
$ac_objext
15922 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15923 (eval $ac_compile) 2>conftest.er1
15925 grep -v '^ *+' conftest.er1
>conftest.err
15927 cat conftest.err
>&5
15928 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15929 (exit $ac_status); } &&
15930 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15931 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15932 (eval $ac_try) 2>&5
15934 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15935 (exit $ac_status); }; } &&
15936 { ac_try
='test -s conftest.$ac_objext'
15937 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15938 (eval $ac_try) 2>&5
15940 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15941 (exit $ac_status); }; }; then
15944 cat >conftest.
$ac_ext <<_ACEOF
15947 cat confdefs.h
>>conftest.
$ac_ext
15948 cat >>conftest.
$ac_ext <<_ACEOF
15949 /* end confdefs.h. */
15950 $ac_includes_default
15954 static int test_array [1 - 2 * !(((long) (sizeof (long))) <= $ac_mid)];
15961 rm -f conftest.
$ac_objext
15962 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15963 (eval $ac_compile) 2>conftest.er1
15965 grep -v '^ *+' conftest.er1
>conftest.err
15967 cat conftest.err
>&5
15968 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15969 (exit $ac_status); } &&
15970 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15971 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15972 (eval $ac_try) 2>&5
15974 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15975 (exit $ac_status); }; } &&
15976 { ac_try
='test -s conftest.$ac_objext'
15977 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15978 (eval $ac_try) 2>&5
15980 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15981 (exit $ac_status); }; }; then
15982 ac_hi
=$ac_mid; break
15984 echo "$as_me: failed program was:" >&5
15985 sed 's/^/| /' conftest.
$ac_ext >&5
15987 ac_lo
=`expr $ac_mid + 1`
15988 if test $ac_lo -le $ac_mid; then
15992 ac_mid
=`expr 2 '*' $ac_mid + 1`
15994 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15997 echo "$as_me: failed program was:" >&5
15998 sed 's/^/| /' conftest.
$ac_ext >&5
16000 cat >conftest.
$ac_ext <<_ACEOF
16003 cat confdefs.h
>>conftest.
$ac_ext
16004 cat >>conftest.
$ac_ext <<_ACEOF
16005 /* end confdefs.h. */
16006 $ac_includes_default
16010 static int test_array [1 - 2 * !(((long) (sizeof (long))) < 0)];
16017 rm -f conftest.
$ac_objext
16018 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16019 (eval $ac_compile) 2>conftest.er1
16021 grep -v '^ *+' conftest.er1
>conftest.err
16023 cat conftest.err
>&5
16024 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16025 (exit $ac_status); } &&
16026 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16027 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16028 (eval $ac_try) 2>&5
16030 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16031 (exit $ac_status); }; } &&
16032 { ac_try
='test -s conftest.$ac_objext'
16033 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16034 (eval $ac_try) 2>&5
16036 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16037 (exit $ac_status); }; }; then
16040 cat >conftest.
$ac_ext <<_ACEOF
16043 cat confdefs.h
>>conftest.
$ac_ext
16044 cat >>conftest.
$ac_ext <<_ACEOF
16045 /* end confdefs.h. */
16046 $ac_includes_default
16050 static int test_array [1 - 2 * !(((long) (sizeof (long))) >= $ac_mid)];
16057 rm -f conftest.
$ac_objext
16058 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16059 (eval $ac_compile) 2>conftest.er1
16061 grep -v '^ *+' conftest.er1
>conftest.err
16063 cat conftest.err
>&5
16064 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16065 (exit $ac_status); } &&
16066 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16067 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16068 (eval $ac_try) 2>&5
16070 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16071 (exit $ac_status); }; } &&
16072 { ac_try
='test -s conftest.$ac_objext'
16073 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16074 (eval $ac_try) 2>&5
16076 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16077 (exit $ac_status); }; }; then
16078 ac_lo
=$ac_mid; break
16080 echo "$as_me: failed program was:" >&5
16081 sed 's/^/| /' conftest.
$ac_ext >&5
16083 ac_hi
=`expr '(' $ac_mid ')' - 1`
16084 if test $ac_mid -le $ac_hi; then
16088 ac_mid
=`expr 2 '*' $ac_mid`
16090 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16093 echo "$as_me: failed program was:" >&5
16094 sed 's/^/| /' conftest.
$ac_ext >&5
16098 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16100 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16101 # Binary search between lo and hi bounds.
16102 while test "x$ac_lo" != "x$ac_hi"; do
16103 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
16104 cat >conftest.
$ac_ext <<_ACEOF
16107 cat confdefs.h
>>conftest.
$ac_ext
16108 cat >>conftest.
$ac_ext <<_ACEOF
16109 /* end confdefs.h. */
16110 $ac_includes_default
16114 static int test_array [1 - 2 * !(((long) (sizeof (long))) <= $ac_mid)];
16121 rm -f conftest.
$ac_objext
16122 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16123 (eval $ac_compile) 2>conftest.er1
16125 grep -v '^ *+' conftest.er1
>conftest.err
16127 cat conftest.err
>&5
16128 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16129 (exit $ac_status); } &&
16130 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16131 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16132 (eval $ac_try) 2>&5
16134 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16135 (exit $ac_status); }; } &&
16136 { ac_try
='test -s conftest.$ac_objext'
16137 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16138 (eval $ac_try) 2>&5
16140 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16141 (exit $ac_status); }; }; then
16144 echo "$as_me: failed program was:" >&5
16145 sed 's/^/| /' conftest.
$ac_ext >&5
16147 ac_lo
=`expr '(' $ac_mid ')' + 1`
16149 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16152 ?
*) ac_cv_sizeof_long
=$ac_lo;;
16153 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long), 77
16154 See \`config.log' for more details." >&5
16155 echo "$as_me: error: cannot compute sizeof (long), 77
16156 See \`config.log' for more details." >&2;}
16157 { (exit 1); exit 1; }; } ;;
16160 if test "$cross_compiling" = yes; then
16161 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
16162 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
16163 { (exit 1); exit 1; }; }
16165 cat >conftest.
$ac_ext <<_ACEOF
16168 cat confdefs.h
>>conftest.
$ac_ext
16169 cat >>conftest.
$ac_ext <<_ACEOF
16170 /* end confdefs.h. */
16171 $ac_includes_default
16172 long longval () { return (long) (sizeof (long)); }
16173 unsigned long ulongval () { return (long) (sizeof (long)); }
16175 #include <stdlib.h>
16180 FILE *f = fopen ("conftest.val", "w");
16183 if (((long) (sizeof (long))) < 0)
16185 long i = longval ();
16186 if (i != ((long) (sizeof (long))))
16188 fprintf (f, "%ld\n", i);
16192 unsigned long i = ulongval ();
16193 if (i != ((long) (sizeof (long))))
16195 fprintf (f, "%lu\n", i);
16197 exit (ferror (f) || fclose (f) != 0);
16203 rm -f conftest
$ac_exeext
16204 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16205 (eval $ac_link) 2>&5
16207 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16208 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
16209 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16210 (eval $ac_try) 2>&5
16212 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16213 (exit $ac_status); }; }; then
16214 ac_cv_sizeof_long
=`cat conftest.val`
16216 echo "$as_me: program exited with status $ac_status" >&5
16217 echo "$as_me: failed program was:" >&5
16218 sed 's/^/| /' conftest.
$ac_ext >&5
16220 ( exit $ac_status )
16221 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long), 77
16222 See \`config.log' for more details." >&5
16223 echo "$as_me: error: cannot compute sizeof (long), 77
16224 See \`config.log' for more details." >&2;}
16225 { (exit 1); exit 1; }; }
16227 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
16232 ac_cv_sizeof_long
=0
16235 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long" >&5
16236 echo "${ECHO_T}$ac_cv_sizeof_long" >&6
16237 cat >>confdefs.h
<<_ACEOF
16238 #define SIZEOF_LONG $ac_cv_sizeof_long
16242 echo "$as_me:$LINENO: checking for size_t" >&5
16243 echo $ECHO_N "checking for size_t... $ECHO_C" >&6
16244 if test "${ac_cv_type_size_t+set}" = set; then
16245 echo $ECHO_N "(cached) $ECHO_C" >&6
16247 cat >conftest.
$ac_ext <<_ACEOF
16250 cat confdefs.h
>>conftest.
$ac_ext
16251 cat >>conftest.
$ac_ext <<_ACEOF
16252 /* end confdefs.h. */
16253 $ac_includes_default
16259 if (sizeof (size_t))
16265 rm -f conftest.
$ac_objext
16266 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16267 (eval $ac_compile) 2>conftest.er1
16269 grep -v '^ *+' conftest.er1
>conftest.err
16271 cat conftest.err
>&5
16272 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16273 (exit $ac_status); } &&
16274 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16275 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16276 (eval $ac_try) 2>&5
16278 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16279 (exit $ac_status); }; } &&
16280 { ac_try
='test -s conftest.$ac_objext'
16281 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16282 (eval $ac_try) 2>&5
16284 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16285 (exit $ac_status); }; }; then
16286 ac_cv_type_size_t
=yes
16288 echo "$as_me: failed program was:" >&5
16289 sed 's/^/| /' conftest.
$ac_ext >&5
16291 ac_cv_type_size_t
=no
16293 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16295 echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
16296 echo "${ECHO_T}$ac_cv_type_size_t" >&6
16298 echo "$as_me:$LINENO: checking size of size_t" >&5
16299 echo $ECHO_N "checking size of size_t... $ECHO_C" >&6
16300 if test "${ac_cv_sizeof_size_t+set}" = set; then
16301 echo $ECHO_N "(cached) $ECHO_C" >&6
16303 if test "$ac_cv_type_size_t" = yes; then
16304 # The cast to unsigned long works around a bug in the HP C Compiler
16305 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
16306 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
16307 # This bug is HP SR number 8606223364.
16308 if test "$cross_compiling" = yes; then
16309 # Depending upon the size, compute the lo and hi bounds.
16310 cat >conftest.
$ac_ext <<_ACEOF
16313 cat confdefs.h
>>conftest.
$ac_ext
16314 cat >>conftest.
$ac_ext <<_ACEOF
16315 /* end confdefs.h. */
16316 $ac_includes_default
16320 static int test_array [1 - 2 * !(((long) (sizeof (size_t))) >= 0)];
16327 rm -f conftest.
$ac_objext
16328 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16329 (eval $ac_compile) 2>conftest.er1
16331 grep -v '^ *+' conftest.er1
>conftest.err
16333 cat conftest.err
>&5
16334 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16335 (exit $ac_status); } &&
16336 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16337 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16338 (eval $ac_try) 2>&5
16340 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16341 (exit $ac_status); }; } &&
16342 { ac_try
='test -s conftest.$ac_objext'
16343 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16344 (eval $ac_try) 2>&5
16346 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16347 (exit $ac_status); }; }; then
16350 cat >conftest.
$ac_ext <<_ACEOF
16353 cat confdefs.h
>>conftest.
$ac_ext
16354 cat >>conftest.
$ac_ext <<_ACEOF
16355 /* end confdefs.h. */
16356 $ac_includes_default
16360 static int test_array [1 - 2 * !(((long) (sizeof (size_t))) <= $ac_mid)];
16367 rm -f conftest.
$ac_objext
16368 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16369 (eval $ac_compile) 2>conftest.er1
16371 grep -v '^ *+' conftest.er1
>conftest.err
16373 cat conftest.err
>&5
16374 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16375 (exit $ac_status); } &&
16376 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16377 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16378 (eval $ac_try) 2>&5
16380 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16381 (exit $ac_status); }; } &&
16382 { ac_try
='test -s conftest.$ac_objext'
16383 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16384 (eval $ac_try) 2>&5
16386 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16387 (exit $ac_status); }; }; then
16388 ac_hi
=$ac_mid; break
16390 echo "$as_me: failed program was:" >&5
16391 sed 's/^/| /' conftest.
$ac_ext >&5
16393 ac_lo
=`expr $ac_mid + 1`
16394 if test $ac_lo -le $ac_mid; then
16398 ac_mid
=`expr 2 '*' $ac_mid + 1`
16400 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16403 echo "$as_me: failed program was:" >&5
16404 sed 's/^/| /' conftest.
$ac_ext >&5
16406 cat >conftest.
$ac_ext <<_ACEOF
16409 cat confdefs.h
>>conftest.
$ac_ext
16410 cat >>conftest.
$ac_ext <<_ACEOF
16411 /* end confdefs.h. */
16412 $ac_includes_default
16416 static int test_array [1 - 2 * !(((long) (sizeof (size_t))) < 0)];
16423 rm -f conftest.
$ac_objext
16424 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16425 (eval $ac_compile) 2>conftest.er1
16427 grep -v '^ *+' conftest.er1
>conftest.err
16429 cat conftest.err
>&5
16430 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16431 (exit $ac_status); } &&
16432 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16433 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16434 (eval $ac_try) 2>&5
16436 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16437 (exit $ac_status); }; } &&
16438 { ac_try
='test -s conftest.$ac_objext'
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); }; }; then
16446 cat >conftest.
$ac_ext <<_ACEOF
16449 cat confdefs.h
>>conftest.
$ac_ext
16450 cat >>conftest.
$ac_ext <<_ACEOF
16451 /* end confdefs.h. */
16452 $ac_includes_default
16456 static int test_array [1 - 2 * !(((long) (sizeof (size_t))) >= $ac_mid)];
16463 rm -f conftest.
$ac_objext
16464 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16465 (eval $ac_compile) 2>conftest.er1
16467 grep -v '^ *+' conftest.er1
>conftest.err
16469 cat conftest.err
>&5
16470 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16471 (exit $ac_status); } &&
16472 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16473 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16474 (eval $ac_try) 2>&5
16476 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16477 (exit $ac_status); }; } &&
16478 { ac_try
='test -s conftest.$ac_objext'
16479 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16480 (eval $ac_try) 2>&5
16482 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16483 (exit $ac_status); }; }; then
16484 ac_lo
=$ac_mid; break
16486 echo "$as_me: failed program was:" >&5
16487 sed 's/^/| /' conftest.
$ac_ext >&5
16489 ac_hi
=`expr '(' $ac_mid ')' - 1`
16490 if test $ac_mid -le $ac_hi; then
16494 ac_mid
=`expr 2 '*' $ac_mid`
16496 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16499 echo "$as_me: failed program was:" >&5
16500 sed 's/^/| /' conftest.
$ac_ext >&5
16504 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16506 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16507 # Binary search between lo and hi bounds.
16508 while test "x$ac_lo" != "x$ac_hi"; do
16509 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
16510 cat >conftest.
$ac_ext <<_ACEOF
16513 cat confdefs.h
>>conftest.
$ac_ext
16514 cat >>conftest.
$ac_ext <<_ACEOF
16515 /* end confdefs.h. */
16516 $ac_includes_default
16520 static int test_array [1 - 2 * !(((long) (sizeof (size_t))) <= $ac_mid)];
16527 rm -f conftest.
$ac_objext
16528 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16529 (eval $ac_compile) 2>conftest.er1
16531 grep -v '^ *+' conftest.er1
>conftest.err
16533 cat conftest.err
>&5
16534 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16535 (exit $ac_status); } &&
16536 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16537 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16538 (eval $ac_try) 2>&5
16540 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16541 (exit $ac_status); }; } &&
16542 { ac_try
='test -s conftest.$ac_objext'
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); }; }; then
16550 echo "$as_me: failed program was:" >&5
16551 sed 's/^/| /' conftest.
$ac_ext >&5
16553 ac_lo
=`expr '(' $ac_mid ')' + 1`
16555 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16558 ?
*) ac_cv_sizeof_size_t
=$ac_lo;;
16559 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (size_t), 77
16560 See \`config.log' for more details." >&5
16561 echo "$as_me: error: cannot compute sizeof (size_t), 77
16562 See \`config.log' for more details." >&2;}
16563 { (exit 1); exit 1; }; } ;;
16566 if test "$cross_compiling" = yes; then
16567 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
16568 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
16569 { (exit 1); exit 1; }; }
16571 cat >conftest.
$ac_ext <<_ACEOF
16574 cat confdefs.h
>>conftest.
$ac_ext
16575 cat >>conftest.
$ac_ext <<_ACEOF
16576 /* end confdefs.h. */
16577 $ac_includes_default
16578 long longval () { return (long) (sizeof (size_t)); }
16579 unsigned long ulongval () { return (long) (sizeof (size_t)); }
16581 #include <stdlib.h>
16586 FILE *f = fopen ("conftest.val", "w");
16589 if (((long) (sizeof (size_t))) < 0)
16591 long i = longval ();
16592 if (i != ((long) (sizeof (size_t))))
16594 fprintf (f, "%ld\n", i);
16598 unsigned long i = ulongval ();
16599 if (i != ((long) (sizeof (size_t))))
16601 fprintf (f, "%lu\n", i);
16603 exit (ferror (f) || fclose (f) != 0);
16609 rm -f conftest
$ac_exeext
16610 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16611 (eval $ac_link) 2>&5
16613 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16614 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
16615 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16616 (eval $ac_try) 2>&5
16618 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16619 (exit $ac_status); }; }; then
16620 ac_cv_sizeof_size_t
=`cat conftest.val`
16622 echo "$as_me: program exited with status $ac_status" >&5
16623 echo "$as_me: failed program was:" >&5
16624 sed 's/^/| /' conftest.
$ac_ext >&5
16626 ( exit $ac_status )
16627 { { echo "$as_me:$LINENO: error: cannot compute sizeof (size_t), 77
16628 See \`config.log' for more details." >&5
16629 echo "$as_me: error: cannot compute sizeof (size_t), 77
16630 See \`config.log' for more details." >&2;}
16631 { (exit 1); exit 1; }; }
16633 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
16638 ac_cv_sizeof_size_t
=0
16641 echo "$as_me:$LINENO: result: $ac_cv_sizeof_size_t" >&5
16642 echo "${ECHO_T}$ac_cv_sizeof_size_t" >&6
16643 cat >>confdefs.h
<<_ACEOF
16644 #define SIZEOF_SIZE_T $ac_cv_sizeof_size_t
16651 echo "$as_me:$LINENO: checking for long long" >&5
16652 echo $ECHO_N "checking for long long... $ECHO_C" >&6
16653 if test "${ac_cv_type_long_long+set}" = set; then
16654 echo $ECHO_N "(cached) $ECHO_C" >&6
16656 cat >conftest.
$ac_ext <<_ACEOF
16659 cat confdefs.h
>>conftest.
$ac_ext
16660 cat >>conftest.
$ac_ext <<_ACEOF
16661 /* end confdefs.h. */
16662 $ac_includes_default
16666 if ((long long *) 0)
16668 if (sizeof (long long))
16674 rm -f conftest.
$ac_objext
16675 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16676 (eval $ac_compile) 2>conftest.er1
16678 grep -v '^ *+' conftest.er1
>conftest.err
16680 cat conftest.err
>&5
16681 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16682 (exit $ac_status); } &&
16683 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16684 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16685 (eval $ac_try) 2>&5
16687 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16688 (exit $ac_status); }; } &&
16689 { ac_try
='test -s conftest.$ac_objext'
16690 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16691 (eval $ac_try) 2>&5
16693 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16694 (exit $ac_status); }; }; then
16695 ac_cv_type_long_long
=yes
16697 echo "$as_me: failed program was:" >&5
16698 sed 's/^/| /' conftest.
$ac_ext >&5
16700 ac_cv_type_long_long
=no
16702 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16704 echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
16705 echo "${ECHO_T}$ac_cv_type_long_long" >&6
16707 echo "$as_me:$LINENO: checking size of long long" >&5
16708 echo $ECHO_N "checking size of long long... $ECHO_C" >&6
16709 if test "${ac_cv_sizeof_long_long+set}" = set; then
16710 echo $ECHO_N "(cached) $ECHO_C" >&6
16712 if test "$ac_cv_type_long_long" = yes; then
16713 # The cast to unsigned long works around a bug in the HP C Compiler
16714 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
16715 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
16716 # This bug is HP SR number 8606223364.
16717 if test "$cross_compiling" = yes; then
16718 # Depending upon the size, compute the lo and hi bounds.
16719 cat >conftest.
$ac_ext <<_ACEOF
16722 cat confdefs.h
>>conftest.
$ac_ext
16723 cat >>conftest.
$ac_ext <<_ACEOF
16724 /* end confdefs.h. */
16725 $ac_includes_default
16729 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= 0)];
16736 rm -f conftest.
$ac_objext
16737 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16738 (eval $ac_compile) 2>conftest.er1
16740 grep -v '^ *+' conftest.er1
>conftest.err
16742 cat conftest.err
>&5
16743 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16744 (exit $ac_status); } &&
16745 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16746 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16747 (eval $ac_try) 2>&5
16749 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16750 (exit $ac_status); }; } &&
16751 { ac_try
='test -s conftest.$ac_objext'
16752 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16753 (eval $ac_try) 2>&5
16755 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16756 (exit $ac_status); }; }; then
16759 cat >conftest.
$ac_ext <<_ACEOF
16762 cat confdefs.h
>>conftest.
$ac_ext
16763 cat >>conftest.
$ac_ext <<_ACEOF
16764 /* end confdefs.h. */
16765 $ac_includes_default
16769 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
16776 rm -f conftest.
$ac_objext
16777 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16778 (eval $ac_compile) 2>conftest.er1
16780 grep -v '^ *+' conftest.er1
>conftest.err
16782 cat conftest.err
>&5
16783 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16784 (exit $ac_status); } &&
16785 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
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); }; } &&
16791 { ac_try
='test -s conftest.$ac_objext'
16792 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16793 (eval $ac_try) 2>&5
16795 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16796 (exit $ac_status); }; }; then
16797 ac_hi
=$ac_mid; break
16799 echo "$as_me: failed program was:" >&5
16800 sed 's/^/| /' conftest.
$ac_ext >&5
16802 ac_lo
=`expr $ac_mid + 1`
16803 if test $ac_lo -le $ac_mid; then
16807 ac_mid
=`expr 2 '*' $ac_mid + 1`
16809 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16812 echo "$as_me: failed program was:" >&5
16813 sed 's/^/| /' conftest.
$ac_ext >&5
16815 cat >conftest.
$ac_ext <<_ACEOF
16818 cat confdefs.h
>>conftest.
$ac_ext
16819 cat >>conftest.
$ac_ext <<_ACEOF
16820 /* end confdefs.h. */
16821 $ac_includes_default
16825 static int test_array [1 - 2 * !(((long) (sizeof (long long))) < 0)];
16832 rm -f conftest.
$ac_objext
16833 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16834 (eval $ac_compile) 2>conftest.er1
16836 grep -v '^ *+' conftest.er1
>conftest.err
16838 cat conftest.err
>&5
16839 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16840 (exit $ac_status); } &&
16841 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16842 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16843 (eval $ac_try) 2>&5
16845 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16846 (exit $ac_status); }; } &&
16847 { ac_try
='test -s conftest.$ac_objext'
16848 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16849 (eval $ac_try) 2>&5
16851 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16852 (exit $ac_status); }; }; then
16855 cat >conftest.
$ac_ext <<_ACEOF
16858 cat confdefs.h
>>conftest.
$ac_ext
16859 cat >>conftest.
$ac_ext <<_ACEOF
16860 /* end confdefs.h. */
16861 $ac_includes_default
16865 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= $ac_mid)];
16872 rm -f conftest.
$ac_objext
16873 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16874 (eval $ac_compile) 2>conftest.er1
16876 grep -v '^ *+' conftest.er1
>conftest.err
16878 cat conftest.err
>&5
16879 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16880 (exit $ac_status); } &&
16881 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16882 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16883 (eval $ac_try) 2>&5
16885 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16886 (exit $ac_status); }; } &&
16887 { ac_try
='test -s conftest.$ac_objext'
16888 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16889 (eval $ac_try) 2>&5
16891 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16892 (exit $ac_status); }; }; then
16893 ac_lo
=$ac_mid; break
16895 echo "$as_me: failed program was:" >&5
16896 sed 's/^/| /' conftest.
$ac_ext >&5
16898 ac_hi
=`expr '(' $ac_mid ')' - 1`
16899 if test $ac_mid -le $ac_hi; then
16903 ac_mid
=`expr 2 '*' $ac_mid`
16905 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16908 echo "$as_me: failed program was:" >&5
16909 sed 's/^/| /' conftest.
$ac_ext >&5
16913 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16915 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16916 # Binary search between lo and hi bounds.
16917 while test "x$ac_lo" != "x$ac_hi"; do
16918 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
16919 cat >conftest.
$ac_ext <<_ACEOF
16922 cat confdefs.h
>>conftest.
$ac_ext
16923 cat >>conftest.
$ac_ext <<_ACEOF
16924 /* end confdefs.h. */
16925 $ac_includes_default
16929 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
16936 rm -f conftest.
$ac_objext
16937 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16938 (eval $ac_compile) 2>conftest.er1
16940 grep -v '^ *+' conftest.er1
>conftest.err
16942 cat conftest.err
>&5
16943 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16944 (exit $ac_status); } &&
16945 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16946 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16947 (eval $ac_try) 2>&5
16949 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16950 (exit $ac_status); }; } &&
16951 { ac_try
='test -s conftest.$ac_objext'
16952 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16953 (eval $ac_try) 2>&5
16955 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16956 (exit $ac_status); }; }; then
16959 echo "$as_me: failed program was:" >&5
16960 sed 's/^/| /' conftest.
$ac_ext >&5
16962 ac_lo
=`expr '(' $ac_mid ')' + 1`
16964 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16967 ?
*) ac_cv_sizeof_long_long
=$ac_lo;;
16968 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
16969 See \`config.log' for more details." >&5
16970 echo "$as_me: error: cannot compute sizeof (long long), 77
16971 See \`config.log' for more details." >&2;}
16972 { (exit 1); exit 1; }; } ;;
16975 if test "$cross_compiling" = yes; then
16976 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
16977 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
16978 { (exit 1); exit 1; }; }
16980 cat >conftest.
$ac_ext <<_ACEOF
16983 cat confdefs.h
>>conftest.
$ac_ext
16984 cat >>conftest.
$ac_ext <<_ACEOF
16985 /* end confdefs.h. */
16986 $ac_includes_default
16987 long longval () { return (long) (sizeof (long long)); }
16988 unsigned long ulongval () { return (long) (sizeof (long long)); }
16990 #include <stdlib.h>
16995 FILE *f = fopen ("conftest.val", "w");
16998 if (((long) (sizeof (long long))) < 0)
17000 long i = longval ();
17001 if (i != ((long) (sizeof (long long))))
17003 fprintf (f, "%ld\n", i);
17007 unsigned long i = ulongval ();
17008 if (i != ((long) (sizeof (long long))))
17010 fprintf (f, "%lu\n", i);
17012 exit (ferror (f) || fclose (f) != 0);
17018 rm -f conftest
$ac_exeext
17019 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17020 (eval $ac_link) 2>&5
17022 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17023 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
17024 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17025 (eval $ac_try) 2>&5
17027 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17028 (exit $ac_status); }; }; then
17029 ac_cv_sizeof_long_long
=`cat conftest.val`
17031 echo "$as_me: program exited with status $ac_status" >&5
17032 echo "$as_me: failed program was:" >&5
17033 sed 's/^/| /' conftest.
$ac_ext >&5
17035 ( exit $ac_status )
17036 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
17037 See \`config.log' for more details." >&5
17038 echo "$as_me: error: cannot compute sizeof (long long), 77
17039 See \`config.log' for more details." >&2;}
17040 { (exit 1); exit 1; }; }
17042 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
17047 ac_cv_sizeof_long_long
=0
17050 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
17051 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6
17052 cat >>confdefs.h
<<_ACEOF
17053 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
17059 echo "$as_me:$LINENO: checking for long long" >&5
17060 echo $ECHO_N "checking for long long... $ECHO_C" >&6
17061 if test "${ac_cv_type_long_long+set}" = set; then
17062 echo $ECHO_N "(cached) $ECHO_C" >&6
17064 cat >conftest.
$ac_ext <<_ACEOF
17067 cat confdefs.h
>>conftest.
$ac_ext
17068 cat >>conftest.
$ac_ext <<_ACEOF
17069 /* end confdefs.h. */
17070 $ac_includes_default
17074 if ((long long *) 0)
17076 if (sizeof (long long))
17082 rm -f conftest.
$ac_objext
17083 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17084 (eval $ac_compile) 2>conftest.er1
17086 grep -v '^ *+' conftest.er1
>conftest.err
17088 cat conftest.err
>&5
17089 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17090 (exit $ac_status); } &&
17091 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17092 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17093 (eval $ac_try) 2>&5
17095 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17096 (exit $ac_status); }; } &&
17097 { ac_try
='test -s conftest.$ac_objext'
17098 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17099 (eval $ac_try) 2>&5
17101 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17102 (exit $ac_status); }; }; then
17103 ac_cv_type_long_long
=yes
17105 echo "$as_me: failed program was:" >&5
17106 sed 's/^/| /' conftest.
$ac_ext >&5
17108 ac_cv_type_long_long
=no
17110 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17112 echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
17113 echo "${ECHO_T}$ac_cv_type_long_long" >&6
17115 echo "$as_me:$LINENO: checking size of long long" >&5
17116 echo $ECHO_N "checking size of long long... $ECHO_C" >&6
17117 if test "${ac_cv_sizeof_long_long+set}" = set; then
17118 echo $ECHO_N "(cached) $ECHO_C" >&6
17120 if test "$ac_cv_type_long_long" = yes; then
17121 # The cast to unsigned long works around a bug in the HP C Compiler
17122 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
17123 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
17124 # This bug is HP SR number 8606223364.
17125 if test "$cross_compiling" = yes; then
17126 # Depending upon the size, compute the lo and hi bounds.
17127 cat >conftest.
$ac_ext <<_ACEOF
17130 cat confdefs.h
>>conftest.
$ac_ext
17131 cat >>conftest.
$ac_ext <<_ACEOF
17132 /* end confdefs.h. */
17133 $ac_includes_default
17137 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= 0)];
17144 rm -f conftest.
$ac_objext
17145 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17146 (eval $ac_compile) 2>conftest.er1
17148 grep -v '^ *+' conftest.er1
>conftest.err
17150 cat conftest.err
>&5
17151 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17152 (exit $ac_status); } &&
17153 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17154 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17155 (eval $ac_try) 2>&5
17157 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17158 (exit $ac_status); }; } &&
17159 { ac_try
='test -s conftest.$ac_objext'
17160 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17161 (eval $ac_try) 2>&5
17163 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17164 (exit $ac_status); }; }; then
17167 cat >conftest.
$ac_ext <<_ACEOF
17170 cat confdefs.h
>>conftest.
$ac_ext
17171 cat >>conftest.
$ac_ext <<_ACEOF
17172 /* end confdefs.h. */
17173 $ac_includes_default
17177 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
17184 rm -f conftest.
$ac_objext
17185 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17186 (eval $ac_compile) 2>conftest.er1
17188 grep -v '^ *+' conftest.er1
>conftest.err
17190 cat conftest.err
>&5
17191 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17192 (exit $ac_status); } &&
17193 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17194 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17195 (eval $ac_try) 2>&5
17197 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17198 (exit $ac_status); }; } &&
17199 { ac_try
='test -s conftest.$ac_objext'
17200 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17201 (eval $ac_try) 2>&5
17203 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17204 (exit $ac_status); }; }; then
17205 ac_hi
=$ac_mid; break
17207 echo "$as_me: failed program was:" >&5
17208 sed 's/^/| /' conftest.
$ac_ext >&5
17210 ac_lo
=`expr $ac_mid + 1`
17211 if test $ac_lo -le $ac_mid; then
17215 ac_mid
=`expr 2 '*' $ac_mid + 1`
17217 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17220 echo "$as_me: failed program was:" >&5
17221 sed 's/^/| /' conftest.
$ac_ext >&5
17223 cat >conftest.
$ac_ext <<_ACEOF
17226 cat confdefs.h
>>conftest.
$ac_ext
17227 cat >>conftest.
$ac_ext <<_ACEOF
17228 /* end confdefs.h. */
17229 $ac_includes_default
17233 static int test_array [1 - 2 * !(((long) (sizeof (long long))) < 0)];
17240 rm -f conftest.
$ac_objext
17241 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17242 (eval $ac_compile) 2>conftest.er1
17244 grep -v '^ *+' conftest.er1
>conftest.err
17246 cat conftest.err
>&5
17247 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17248 (exit $ac_status); } &&
17249 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17250 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17251 (eval $ac_try) 2>&5
17253 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17254 (exit $ac_status); }; } &&
17255 { ac_try
='test -s conftest.$ac_objext'
17256 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17257 (eval $ac_try) 2>&5
17259 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17260 (exit $ac_status); }; }; then
17263 cat >conftest.
$ac_ext <<_ACEOF
17266 cat confdefs.h
>>conftest.
$ac_ext
17267 cat >>conftest.
$ac_ext <<_ACEOF
17268 /* end confdefs.h. */
17269 $ac_includes_default
17273 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= $ac_mid)];
17280 rm -f conftest.
$ac_objext
17281 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17282 (eval $ac_compile) 2>conftest.er1
17284 grep -v '^ *+' conftest.er1
>conftest.err
17286 cat conftest.err
>&5
17287 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17288 (exit $ac_status); } &&
17289 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17290 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17291 (eval $ac_try) 2>&5
17293 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17294 (exit $ac_status); }; } &&
17295 { ac_try
='test -s conftest.$ac_objext'
17296 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17297 (eval $ac_try) 2>&5
17299 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17300 (exit $ac_status); }; }; then
17301 ac_lo
=$ac_mid; break
17303 echo "$as_me: failed program was:" >&5
17304 sed 's/^/| /' conftest.
$ac_ext >&5
17306 ac_hi
=`expr '(' $ac_mid ')' - 1`
17307 if test $ac_mid -le $ac_hi; then
17311 ac_mid
=`expr 2 '*' $ac_mid`
17313 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17316 echo "$as_me: failed program was:" >&5
17317 sed 's/^/| /' conftest.
$ac_ext >&5
17321 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17323 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17324 # Binary search between lo and hi bounds.
17325 while test "x$ac_lo" != "x$ac_hi"; do
17326 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
17327 cat >conftest.
$ac_ext <<_ACEOF
17330 cat confdefs.h
>>conftest.
$ac_ext
17331 cat >>conftest.
$ac_ext <<_ACEOF
17332 /* end confdefs.h. */
17333 $ac_includes_default
17337 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
17344 rm -f conftest.
$ac_objext
17345 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17346 (eval $ac_compile) 2>conftest.er1
17348 grep -v '^ *+' conftest.er1
>conftest.err
17350 cat conftest.err
>&5
17351 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17352 (exit $ac_status); } &&
17353 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17354 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17355 (eval $ac_try) 2>&5
17357 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17358 (exit $ac_status); }; } &&
17359 { ac_try
='test -s conftest.$ac_objext'
17360 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17361 (eval $ac_try) 2>&5
17363 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17364 (exit $ac_status); }; }; then
17367 echo "$as_me: failed program was:" >&5
17368 sed 's/^/| /' conftest.
$ac_ext >&5
17370 ac_lo
=`expr '(' $ac_mid ')' + 1`
17372 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17375 ?
*) ac_cv_sizeof_long_long
=$ac_lo;;
17376 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
17377 See \`config.log' for more details." >&5
17378 echo "$as_me: error: cannot compute sizeof (long long), 77
17379 See \`config.log' for more details." >&2;}
17380 { (exit 1); exit 1; }; } ;;
17383 if test "$cross_compiling" = yes; then
17384 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
17385 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
17386 { (exit 1); exit 1; }; }
17388 cat >conftest.
$ac_ext <<_ACEOF
17391 cat confdefs.h
>>conftest.
$ac_ext
17392 cat >>conftest.
$ac_ext <<_ACEOF
17393 /* end confdefs.h. */
17394 $ac_includes_default
17395 long longval () { return (long) (sizeof (long long)); }
17396 unsigned long ulongval () { return (long) (sizeof (long long)); }
17398 #include <stdlib.h>
17403 FILE *f = fopen ("conftest.val", "w");
17406 if (((long) (sizeof (long long))) < 0)
17408 long i = longval ();
17409 if (i != ((long) (sizeof (long long))))
17411 fprintf (f, "%ld\n", i);
17415 unsigned long i = ulongval ();
17416 if (i != ((long) (sizeof (long long))))
17418 fprintf (f, "%lu\n", i);
17420 exit (ferror (f) || fclose (f) != 0);
17426 rm -f conftest
$ac_exeext
17427 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17428 (eval $ac_link) 2>&5
17430 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17431 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
17432 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17433 (eval $ac_try) 2>&5
17435 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17436 (exit $ac_status); }; }; then
17437 ac_cv_sizeof_long_long
=`cat conftest.val`
17439 echo "$as_me: program exited with status $ac_status" >&5
17440 echo "$as_me: failed program was:" >&5
17441 sed 's/^/| /' conftest.
$ac_ext >&5
17443 ( exit $ac_status )
17444 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
17445 See \`config.log' for more details." >&5
17446 echo "$as_me: error: cannot compute sizeof (long long), 77
17447 See \`config.log' for more details." >&2;}
17448 { (exit 1); exit 1; }; }
17450 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
17455 ac_cv_sizeof_long_long
=0
17458 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
17459 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6
17460 cat >>confdefs.h
<<_ACEOF
17461 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
17465 if test "$ac_cv_sizeof_long_long" != "0"; then
17466 CPPFLAGS
="$CPPFLAGS -D_INCLUDE_LONGLONG"
17470 echo "$as_me:$LINENO: checking for long long" >&5
17471 echo $ECHO_N "checking for long long... $ECHO_C" >&6
17472 if test "${ac_cv_type_long_long+set}" = set; then
17473 echo $ECHO_N "(cached) $ECHO_C" >&6
17475 cat >conftest.
$ac_ext <<_ACEOF
17478 cat confdefs.h
>>conftest.
$ac_ext
17479 cat >>conftest.
$ac_ext <<_ACEOF
17480 /* end confdefs.h. */
17481 $ac_includes_default
17485 if ((long long *) 0)
17487 if (sizeof (long long))
17493 rm -f conftest.
$ac_objext
17494 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17495 (eval $ac_compile) 2>conftest.er1
17497 grep -v '^ *+' conftest.er1
>conftest.err
17499 cat conftest.err
>&5
17500 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17501 (exit $ac_status); } &&
17502 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17503 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17504 (eval $ac_try) 2>&5
17506 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17507 (exit $ac_status); }; } &&
17508 { ac_try
='test -s conftest.$ac_objext'
17509 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17510 (eval $ac_try) 2>&5
17512 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17513 (exit $ac_status); }; }; then
17514 ac_cv_type_long_long
=yes
17516 echo "$as_me: failed program was:" >&5
17517 sed 's/^/| /' conftest.
$ac_ext >&5
17519 ac_cv_type_long_long
=no
17521 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17523 echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
17524 echo "${ECHO_T}$ac_cv_type_long_long" >&6
17526 echo "$as_me:$LINENO: checking size of long long" >&5
17527 echo $ECHO_N "checking size of long long... $ECHO_C" >&6
17528 if test "${ac_cv_sizeof_long_long+set}" = set; then
17529 echo $ECHO_N "(cached) $ECHO_C" >&6
17531 if test "$ac_cv_type_long_long" = yes; then
17532 # The cast to unsigned long works around a bug in the HP C Compiler
17533 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
17534 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
17535 # This bug is HP SR number 8606223364.
17536 if test "$cross_compiling" = yes; then
17537 # Depending upon the size, compute the lo and hi bounds.
17538 cat >conftest.
$ac_ext <<_ACEOF
17541 cat confdefs.h
>>conftest.
$ac_ext
17542 cat >>conftest.
$ac_ext <<_ACEOF
17543 /* end confdefs.h. */
17544 $ac_includes_default
17548 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= 0)];
17555 rm -f conftest.
$ac_objext
17556 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17557 (eval $ac_compile) 2>conftest.er1
17559 grep -v '^ *+' conftest.er1
>conftest.err
17561 cat conftest.err
>&5
17562 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17563 (exit $ac_status); } &&
17564 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17565 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17566 (eval $ac_try) 2>&5
17568 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17569 (exit $ac_status); }; } &&
17570 { ac_try
='test -s conftest.$ac_objext'
17571 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17572 (eval $ac_try) 2>&5
17574 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17575 (exit $ac_status); }; }; then
17578 cat >conftest.
$ac_ext <<_ACEOF
17581 cat confdefs.h
>>conftest.
$ac_ext
17582 cat >>conftest.
$ac_ext <<_ACEOF
17583 /* end confdefs.h. */
17584 $ac_includes_default
17588 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
17595 rm -f conftest.
$ac_objext
17596 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17597 (eval $ac_compile) 2>conftest.er1
17599 grep -v '^ *+' conftest.er1
>conftest.err
17601 cat conftest.err
>&5
17602 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17603 (exit $ac_status); } &&
17604 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17605 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17606 (eval $ac_try) 2>&5
17608 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17609 (exit $ac_status); }; } &&
17610 { ac_try
='test -s conftest.$ac_objext'
17611 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17612 (eval $ac_try) 2>&5
17614 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17615 (exit $ac_status); }; }; then
17616 ac_hi
=$ac_mid; break
17618 echo "$as_me: failed program was:" >&5
17619 sed 's/^/| /' conftest.
$ac_ext >&5
17621 ac_lo
=`expr $ac_mid + 1`
17622 if test $ac_lo -le $ac_mid; then
17626 ac_mid
=`expr 2 '*' $ac_mid + 1`
17628 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17631 echo "$as_me: failed program was:" >&5
17632 sed 's/^/| /' conftest.
$ac_ext >&5
17634 cat >conftest.
$ac_ext <<_ACEOF
17637 cat confdefs.h
>>conftest.
$ac_ext
17638 cat >>conftest.
$ac_ext <<_ACEOF
17639 /* end confdefs.h. */
17640 $ac_includes_default
17644 static int test_array [1 - 2 * !(((long) (sizeof (long long))) < 0)];
17651 rm -f conftest.
$ac_objext
17652 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17653 (eval $ac_compile) 2>conftest.er1
17655 grep -v '^ *+' conftest.er1
>conftest.err
17657 cat conftest.err
>&5
17658 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17659 (exit $ac_status); } &&
17660 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17661 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17662 (eval $ac_try) 2>&5
17664 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17665 (exit $ac_status); }; } &&
17666 { ac_try
='test -s conftest.$ac_objext'
17667 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17668 (eval $ac_try) 2>&5
17670 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17671 (exit $ac_status); }; }; then
17674 cat >conftest.
$ac_ext <<_ACEOF
17677 cat confdefs.h
>>conftest.
$ac_ext
17678 cat >>conftest.
$ac_ext <<_ACEOF
17679 /* end confdefs.h. */
17680 $ac_includes_default
17684 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= $ac_mid)];
17691 rm -f conftest.
$ac_objext
17692 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17693 (eval $ac_compile) 2>conftest.er1
17695 grep -v '^ *+' conftest.er1
>conftest.err
17697 cat conftest.err
>&5
17698 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17699 (exit $ac_status); } &&
17700 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17701 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17702 (eval $ac_try) 2>&5
17704 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17705 (exit $ac_status); }; } &&
17706 { ac_try
='test -s conftest.$ac_objext'
17707 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17708 (eval $ac_try) 2>&5
17710 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17711 (exit $ac_status); }; }; then
17712 ac_lo
=$ac_mid; break
17714 echo "$as_me: failed program was:" >&5
17715 sed 's/^/| /' conftest.
$ac_ext >&5
17717 ac_hi
=`expr '(' $ac_mid ')' - 1`
17718 if test $ac_mid -le $ac_hi; then
17722 ac_mid
=`expr 2 '*' $ac_mid`
17724 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17727 echo "$as_me: failed program was:" >&5
17728 sed 's/^/| /' conftest.
$ac_ext >&5
17732 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17734 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17735 # Binary search between lo and hi bounds.
17736 while test "x$ac_lo" != "x$ac_hi"; do
17737 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
17738 cat >conftest.
$ac_ext <<_ACEOF
17741 cat confdefs.h
>>conftest.
$ac_ext
17742 cat >>conftest.
$ac_ext <<_ACEOF
17743 /* end confdefs.h. */
17744 $ac_includes_default
17748 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
17755 rm -f conftest.
$ac_objext
17756 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17757 (eval $ac_compile) 2>conftest.er1
17759 grep -v '^ *+' conftest.er1
>conftest.err
17761 cat conftest.err
>&5
17762 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17763 (exit $ac_status); } &&
17764 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17765 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17766 (eval $ac_try) 2>&5
17768 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17769 (exit $ac_status); }; } &&
17770 { ac_try
='test -s conftest.$ac_objext'
17771 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17772 (eval $ac_try) 2>&5
17774 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17775 (exit $ac_status); }; }; then
17778 echo "$as_me: failed program was:" >&5
17779 sed 's/^/| /' conftest.
$ac_ext >&5
17781 ac_lo
=`expr '(' $ac_mid ')' + 1`
17783 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17786 ?
*) ac_cv_sizeof_long_long
=$ac_lo;;
17787 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
17788 See \`config.log' for more details." >&5
17789 echo "$as_me: error: cannot compute sizeof (long long), 77
17790 See \`config.log' for more details." >&2;}
17791 { (exit 1); exit 1; }; } ;;
17794 if test "$cross_compiling" = yes; then
17795 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
17796 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
17797 { (exit 1); exit 1; }; }
17799 cat >conftest.
$ac_ext <<_ACEOF
17802 cat confdefs.h
>>conftest.
$ac_ext
17803 cat >>conftest.
$ac_ext <<_ACEOF
17804 /* end confdefs.h. */
17805 $ac_includes_default
17806 long longval () { return (long) (sizeof (long long)); }
17807 unsigned long ulongval () { return (long) (sizeof (long long)); }
17809 #include <stdlib.h>
17814 FILE *f = fopen ("conftest.val", "w");
17817 if (((long) (sizeof (long long))) < 0)
17819 long i = longval ();
17820 if (i != ((long) (sizeof (long long))))
17822 fprintf (f, "%ld\n", i);
17826 unsigned long i = ulongval ();
17827 if (i != ((long) (sizeof (long long))))
17829 fprintf (f, "%lu\n", i);
17831 exit (ferror (f) || fclose (f) != 0);
17837 rm -f conftest
$ac_exeext
17838 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17839 (eval $ac_link) 2>&5
17841 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17842 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
17843 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17844 (eval $ac_try) 2>&5
17846 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17847 (exit $ac_status); }; }; then
17848 ac_cv_sizeof_long_long
=`cat conftest.val`
17850 echo "$as_me: program exited with status $ac_status" >&5
17851 echo "$as_me: failed program was:" >&5
17852 sed 's/^/| /' conftest.
$ac_ext >&5
17854 ( exit $ac_status )
17855 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
17856 See \`config.log' for more details." >&5
17857 echo "$as_me: error: cannot compute sizeof (long long), 77
17858 See \`config.log' for more details." >&2;}
17859 { (exit 1); exit 1; }; }
17861 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
17866 ac_cv_sizeof_long_long
=0
17869 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
17870 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6
17871 cat >>confdefs.h
<<_ACEOF
17872 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
17878 echo "$as_me:$LINENO: checking size of wchar_t" >&5
17879 echo $ECHO_N "checking size of wchar_t... $ECHO_C" >&6
17880 if test "${wx_cv_sizeof_wchar_t+set}" = set; then
17881 echo $ECHO_N "(cached) $ECHO_C" >&6
17884 if test "$cross_compiling" = yes; then
17888 wx_cv_sizeof_wchar_t
=0
17891 wx_cv_sizeof_wchar_t
=4
17897 cat >conftest.
$ac_ext <<_ACEOF
17900 cat confdefs.h
>>conftest.
$ac_ext
17901 cat >>conftest.
$ac_ext <<_ACEOF
17902 /* end confdefs.h. */
17904 /* DJGPP only has fake wchar_t: */
17906 # error "fake wchar_t"
17908 #ifdef HAVE_WCHAR_H
17910 # include <stddef.h>
17912 # include <wchar.h>
17914 #ifdef HAVE_STDLIB_H
17915 # include <stdlib.h>
17920 FILE *f=fopen("conftestval", "w");
17922 fprintf(f, "%i", sizeof(wchar_t));
17927 rm -f conftest
$ac_exeext
17928 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17929 (eval $ac_link) 2>&5
17931 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17932 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
17933 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17934 (eval $ac_try) 2>&5
17936 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17937 (exit $ac_status); }; }; then
17938 wx_cv_sizeof_wchar_t
=`cat conftestval`
17940 echo "$as_me: program exited with status $ac_status" >&5
17941 echo "$as_me: failed program was:" >&5
17942 sed 's/^/| /' conftest.
$ac_ext >&5
17944 ( exit $ac_status )
17945 wx_cv_sizeof_wchar_t
=0
17947 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
17951 echo "$as_me:$LINENO: result: $wx_cv_sizeof_wchar_t" >&5
17952 echo "${ECHO_T}$wx_cv_sizeof_wchar_t" >&6
17954 cat >>confdefs.h
<<_ACEOF
17955 #define SIZEOF_WCHAR_T $wx_cv_sizeof_wchar_t
17959 # Check whether --enable-largefile or --disable-largefile was given.
17960 if test "${enable_largefile+set}" = set; then
17961 enableval
="$enable_largefile"
17964 if test "$enable_largefile" != no
; then
17967 echo "$as_me:$LINENO: checking for _FILE_OFFSET_BITS value needed for large files" >&5
17968 echo $ECHO_N "checking for _FILE_OFFSET_BITS value needed for large files... $ECHO_C" >&6
17969 if test "${ac_cv_sys_file_offset_bits+set}" = set; then
17970 echo $ECHO_N "(cached) $ECHO_C" >&6
17973 cat >conftest.
$ac_ext <<_ACEOF
17976 cat confdefs.h
>>conftest.
$ac_ext
17977 cat >>conftest.
$ac_ext <<_ACEOF
17978 /* end confdefs.h. */
17979 #define _FILE_OFFSET_BITS 64
17980 #include <sys/types.h>
17985 unsigned int field: sizeof(off_t) == 8;
17992 rm -f conftest.
$ac_objext
17993 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17994 (eval $ac_compile) 2>conftest.er1
17996 grep -v '^ *+' conftest.er1
>conftest.err
17998 cat conftest.err
>&5
17999 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18000 (exit $ac_status); } &&
18001 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18002 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18003 (eval $ac_try) 2>&5
18005 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18006 (exit $ac_status); }; } &&
18007 { ac_try
='test -s conftest.$ac_objext'
18008 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18009 (eval $ac_try) 2>&5
18011 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18012 (exit $ac_status); }; }; then
18013 ac_cv_sys_file_offset_bits
=64
18015 echo "$as_me: failed program was:" >&5
18016 sed 's/^/| /' conftest.
$ac_ext >&5
18018 ac_cv_sys_file_offset_bits
=no
18020 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18024 echo "$as_me:$LINENO: result: $ac_cv_sys_file_offset_bits" >&5
18025 echo "${ECHO_T}$ac_cv_sys_file_offset_bits" >&6
18027 if test "$ac_cv_sys_file_offset_bits" != no
; then
18029 cat >>confdefs.h
<<_ACEOF
18030 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
18035 if test "x$wx_largefile" != "xyes"; then
18037 echo "$as_me:$LINENO: checking for _LARGE_FILES value needed for large files" >&5
18038 echo $ECHO_N "checking for _LARGE_FILES value needed for large files... $ECHO_C" >&6
18039 if test "${ac_cv_sys_large_files+set}" = set; then
18040 echo $ECHO_N "(cached) $ECHO_C" >&6
18043 cat >conftest.
$ac_ext <<_ACEOF
18046 cat confdefs.h
>>conftest.
$ac_ext
18047 cat >>conftest.
$ac_ext <<_ACEOF
18048 /* end confdefs.h. */
18049 #define _LARGE_FILES 1
18050 #include <sys/types.h>
18055 unsigned int field: sizeof(off_t) == 8;
18062 rm -f conftest.
$ac_objext
18063 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18064 (eval $ac_compile) 2>conftest.er1
18066 grep -v '^ *+' conftest.er1
>conftest.err
18068 cat conftest.err
>&5
18069 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18070 (exit $ac_status); } &&
18071 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18072 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18073 (eval $ac_try) 2>&5
18075 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18076 (exit $ac_status); }; } &&
18077 { ac_try
='test -s conftest.$ac_objext'
18078 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18079 (eval $ac_try) 2>&5
18081 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18082 (exit $ac_status); }; }; then
18083 ac_cv_sys_large_files
=1
18085 echo "$as_me: failed program was:" >&5
18086 sed 's/^/| /' conftest.
$ac_ext >&5
18088 ac_cv_sys_large_files
=no
18090 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18094 echo "$as_me:$LINENO: result: $ac_cv_sys_large_files" >&5
18095 echo "${ECHO_T}$ac_cv_sys_large_files" >&6
18097 if test "$ac_cv_sys_large_files" != no
; then
18099 cat >>confdefs.h
<<_ACEOF
18100 #define _LARGE_FILES $ac_cv_sys_large_files
18107 echo "$as_me:$LINENO: checking if large file support is available" >&5
18108 echo $ECHO_N "checking if large file support is available... $ECHO_C" >&6
18109 if test "x$wx_largefile" = "xyes"; then
18110 cat >>confdefs.h
<<\_ACEOF
18111 #define HAVE_LARGEFILE_SUPPORT 1
18115 echo "$as_me:$LINENO: result: $wx_largefile" >&5
18116 echo "${ECHO_T}$wx_largefile" >&6
18120 if test "x$wx_largefile" = "xyes"; then
18121 if test "x$ac_cv_sys_file_offset_bits" = "x64"; then
18122 WX_LARGEFILE_FLAGS
="-D_FILE_OFFSET_BITS=64 -D_LARGE_FILES"
18124 WX_LARGEFILE_FLAGS
="-D_LARGE_FILES"
18126 CPPFLAGS
="$CPPFLAGS $WX_LARGEFILE_FLAGS"
18129 echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5
18130 echo $ECHO_N "checking whether byte ordering is bigendian... $ECHO_C" >&6
18131 if test "${ac_cv_c_bigendian+set}" = set; then
18132 echo $ECHO_N "(cached) $ECHO_C" >&6
18134 ac_cv_c_bigendian
=unknown
18135 # See if sys/param.h defines the BYTE_ORDER macro.
18136 cat >conftest.
$ac_ext <<_ACEOF
18139 cat confdefs.h
>>conftest.
$ac_ext
18140 cat >>conftest.
$ac_ext <<_ACEOF
18141 /* end confdefs.h. */
18142 #include <sys/types.h>
18143 #include <sys/param.h>
18148 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN
18149 bogus endian macros
18155 rm -f conftest.
$ac_objext
18156 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18157 (eval $ac_compile) 2>conftest.er1
18159 grep -v '^ *+' conftest.er1
>conftest.err
18161 cat conftest.err
>&5
18162 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18163 (exit $ac_status); } &&
18164 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18165 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18166 (eval $ac_try) 2>&5
18168 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18169 (exit $ac_status); }; } &&
18170 { ac_try
='test -s conftest.$ac_objext'
18171 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18172 (eval $ac_try) 2>&5
18174 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18175 (exit $ac_status); }; }; then
18176 # It does; now see whether it defined to BIG_ENDIAN or not.
18177 cat >conftest.
$ac_ext <<_ACEOF
18180 cat confdefs.h
>>conftest.
$ac_ext
18181 cat >>conftest.
$ac_ext <<_ACEOF
18182 /* end confdefs.h. */
18183 #include <sys/types.h>
18184 #include <sys/param.h>
18189 #if BYTE_ORDER != BIG_ENDIAN
18196 rm -f conftest.
$ac_objext
18197 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18198 (eval $ac_compile) 2>conftest.er1
18200 grep -v '^ *+' conftest.er1
>conftest.err
18202 cat conftest.err
>&5
18203 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18204 (exit $ac_status); } &&
18205 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18206 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18207 (eval $ac_try) 2>&5
18209 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18210 (exit $ac_status); }; } &&
18211 { ac_try
='test -s conftest.$ac_objext'
18212 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18213 (eval $ac_try) 2>&5
18215 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18216 (exit $ac_status); }; }; then
18217 ac_cv_c_bigendian
=yes
18219 echo "$as_me: failed program was:" >&5
18220 sed 's/^/| /' conftest.
$ac_ext >&5
18222 ac_cv_c_bigendian
=no
18224 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18226 echo "$as_me: failed program was:" >&5
18227 sed 's/^/| /' conftest.
$ac_ext >&5
18230 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18231 if test $ac_cv_c_bigendian = unknown
; then
18232 if test "$cross_compiling" = yes; then
18233 ac_cv_c_bigendian
=unknown
18235 cat >conftest.
$ac_ext <<_ACEOF
18238 cat confdefs.h
>>conftest.
$ac_ext
18239 cat >>conftest.
$ac_ext <<_ACEOF
18240 /* end confdefs.h. */
18242 /* Are we little or big endian? From Harbison&Steele. */
18246 char c[sizeof (long)];
18249 exit (u.c[sizeof (long) - 1] == 1);
18252 rm -f conftest
$ac_exeext
18253 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18254 (eval $ac_link) 2>&5
18256 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18257 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
18258 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18259 (eval $ac_try) 2>&5
18261 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18262 (exit $ac_status); }; }; then
18263 ac_cv_c_bigendian
=no
18265 echo "$as_me: program exited with status $ac_status" >&5
18266 echo "$as_me: failed program was:" >&5
18267 sed 's/^/| /' conftest.
$ac_ext >&5
18269 ( exit $ac_status )
18270 ac_cv_c_bigendian
=yes
18272 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
18276 echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5
18277 echo "${ECHO_T}$ac_cv_c_bigendian" >&6
18278 if test $ac_cv_c_bigendian = unknown
; then
18279 { 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
18280 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;}
18282 if test $ac_cv_c_bigendian = yes; then
18283 cat >>confdefs.h
<<\_ACEOF
18284 #define WORDS_BIGENDIAN 1
18291 ac_cpp
='$CXXCPP $CPPFLAGS'
18292 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18293 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18294 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
18295 echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5
18296 echo $ECHO_N "checking how to run the C++ preprocessor... $ECHO_C" >&6
18297 if test -z "$CXXCPP"; then
18298 if test "${ac_cv_prog_CXXCPP+set}" = set; then
18299 echo $ECHO_N "(cached) $ECHO_C" >&6
18301 # Double quotes because CXXCPP needs to be expanded
18302 for CXXCPP
in "$CXX -E" "/lib/cpp"
18304 ac_preproc_ok
=false
18305 for ac_cxx_preproc_warn_flag
in '' yes
18307 # Use a header file that comes with gcc, so configuring glibc
18308 # with a fresh cross-compiler works.
18309 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
18310 # <limits.h> exists even on freestanding compilers.
18311 # On the NeXT, cc -E runs the code through the compiler's parser,
18312 # not just through cpp. "Syntax error" is here to catch this case.
18313 cat >conftest.
$ac_ext <<_ACEOF
18316 cat confdefs.h
>>conftest.
$ac_ext
18317 cat >>conftest.
$ac_ext <<_ACEOF
18318 /* end confdefs.h. */
18320 # include <limits.h>
18322 # include <assert.h>
18326 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
18327 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
18329 grep -v '^ *+' conftest.er1
>conftest.err
18331 cat conftest.err
>&5
18332 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18333 (exit $ac_status); } >/dev
/null
; then
18334 if test -s conftest.err
; then
18335 ac_cpp_err
=$ac_cxx_preproc_warn_flag
18336 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
18343 if test -z "$ac_cpp_err"; then
18346 echo "$as_me: failed program was:" >&5
18347 sed 's/^/| /' conftest.
$ac_ext >&5
18349 # Broken: fails on valid input.
18352 rm -f conftest.err conftest.
$ac_ext
18354 # OK, works on sane cases. Now check whether non-existent headers
18355 # can be detected and how.
18356 cat >conftest.
$ac_ext <<_ACEOF
18359 cat confdefs.h
>>conftest.
$ac_ext
18360 cat >>conftest.
$ac_ext <<_ACEOF
18361 /* end confdefs.h. */
18362 #include <ac_nonexistent.h>
18364 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
18365 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
18367 grep -v '^ *+' conftest.er1
>conftest.err
18369 cat conftest.err
>&5
18370 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18371 (exit $ac_status); } >/dev
/null
; then
18372 if test -s conftest.err
; then
18373 ac_cpp_err
=$ac_cxx_preproc_warn_flag
18374 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
18381 if test -z "$ac_cpp_err"; then
18382 # Broken: success on invalid input.
18385 echo "$as_me: failed program was:" >&5
18386 sed 's/^/| /' conftest.
$ac_ext >&5
18388 # Passes both tests.
18392 rm -f conftest.err conftest.
$ac_ext
18395 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
18396 rm -f conftest.err conftest.
$ac_ext
18397 if $ac_preproc_ok; then
18402 ac_cv_prog_CXXCPP
=$CXXCPP
18405 CXXCPP
=$ac_cv_prog_CXXCPP
18407 ac_cv_prog_CXXCPP
=$CXXCPP
18409 echo "$as_me:$LINENO: result: $CXXCPP" >&5
18410 echo "${ECHO_T}$CXXCPP" >&6
18411 ac_preproc_ok
=false
18412 for ac_cxx_preproc_warn_flag
in '' yes
18414 # Use a header file that comes with gcc, so configuring glibc
18415 # with a fresh cross-compiler works.
18416 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
18417 # <limits.h> exists even on freestanding compilers.
18418 # On the NeXT, cc -E runs the code through the compiler's parser,
18419 # not just through cpp. "Syntax error" is here to catch this case.
18420 cat >conftest.
$ac_ext <<_ACEOF
18423 cat confdefs.h
>>conftest.
$ac_ext
18424 cat >>conftest.
$ac_ext <<_ACEOF
18425 /* end confdefs.h. */
18427 # include <limits.h>
18429 # include <assert.h>
18433 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
18434 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
18436 grep -v '^ *+' conftest.er1
>conftest.err
18438 cat conftest.err
>&5
18439 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18440 (exit $ac_status); } >/dev
/null
; then
18441 if test -s conftest.err
; then
18442 ac_cpp_err
=$ac_cxx_preproc_warn_flag
18443 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
18450 if test -z "$ac_cpp_err"; then
18453 echo "$as_me: failed program was:" >&5
18454 sed 's/^/| /' conftest.
$ac_ext >&5
18456 # Broken: fails on valid input.
18459 rm -f conftest.err conftest.
$ac_ext
18461 # OK, works on sane cases. Now check whether non-existent headers
18462 # can be detected and how.
18463 cat >conftest.
$ac_ext <<_ACEOF
18466 cat confdefs.h
>>conftest.
$ac_ext
18467 cat >>conftest.
$ac_ext <<_ACEOF
18468 /* end confdefs.h. */
18469 #include <ac_nonexistent.h>
18471 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
18472 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
18474 grep -v '^ *+' conftest.er1
>conftest.err
18476 cat conftest.err
>&5
18477 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18478 (exit $ac_status); } >/dev
/null
; then
18479 if test -s conftest.err
; then
18480 ac_cpp_err
=$ac_cxx_preproc_warn_flag
18481 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
18488 if test -z "$ac_cpp_err"; then
18489 # Broken: success on invalid input.
18492 echo "$as_me: failed program was:" >&5
18493 sed 's/^/| /' conftest.
$ac_ext >&5
18495 # Passes both tests.
18499 rm -f conftest.err conftest.
$ac_ext
18502 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
18503 rm -f conftest.err conftest.
$ac_ext
18504 if $ac_preproc_ok; then
18507 { { echo "$as_me:$LINENO: error: C++ preprocessor \"$CXXCPP\" fails sanity check
18508 See \`config.log' for more details." >&5
18509 echo "$as_me: error: C++ preprocessor \"$CXXCPP\" fails sanity check
18510 See \`config.log' for more details." >&2;}
18511 { (exit 1); exit 1; }; }
18515 ac_cpp
='$CXXCPP $CPPFLAGS'
18516 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18517 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18518 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
18522 if test "$cross_compiling" = "yes"; then
18523 cat >>confdefs.h
<<\_ACEOF
18524 #define wxUSE_IOSTREAMH 1
18531 ac_cpp
='$CXXCPP $CPPFLAGS'
18532 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18533 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18534 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
18538 for ac_header
in iostream
18540 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
18541 if eval "test \"\${$as_ac_Header+set}\" = set"; then
18542 echo "$as_me:$LINENO: checking for $ac_header" >&5
18543 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
18544 if eval "test \"\${$as_ac_Header+set}\" = set"; then
18545 echo $ECHO_N "(cached) $ECHO_C" >&6
18547 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
18548 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
18550 # Is the header compilable?
18551 echo "$as_me:$LINENO: checking $ac_header usability" >&5
18552 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
18553 cat >conftest.
$ac_ext <<_ACEOF
18556 cat confdefs.h
>>conftest.
$ac_ext
18557 cat >>conftest.
$ac_ext <<_ACEOF
18558 /* end confdefs.h. */
18559 $ac_includes_default
18560 #include <$ac_header>
18562 rm -f conftest.
$ac_objext
18563 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18564 (eval $ac_compile) 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); } &&
18571 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
18572 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18573 (eval $ac_try) 2>&5
18575 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18576 (exit $ac_status); }; } &&
18577 { ac_try
='test -s conftest.$ac_objext'
18578 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18579 (eval $ac_try) 2>&5
18581 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18582 (exit $ac_status); }; }; then
18583 ac_header_compiler
=yes
18585 echo "$as_me: failed program was:" >&5
18586 sed 's/^/| /' conftest.
$ac_ext >&5
18588 ac_header_compiler
=no
18590 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18591 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
18592 echo "${ECHO_T}$ac_header_compiler" >&6
18594 # Is the header present?
18595 echo "$as_me:$LINENO: checking $ac_header presence" >&5
18596 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
18597 cat >conftest.
$ac_ext <<_ACEOF
18600 cat confdefs.h
>>conftest.
$ac_ext
18601 cat >>conftest.
$ac_ext <<_ACEOF
18602 /* end confdefs.h. */
18603 #include <$ac_header>
18605 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
18606 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
18608 grep -v '^ *+' conftest.er1
>conftest.err
18610 cat conftest.err
>&5
18611 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18612 (exit $ac_status); } >/dev
/null
; then
18613 if test -s conftest.err
; then
18614 ac_cpp_err
=$ac_cxx_preproc_warn_flag
18615 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
18622 if test -z "$ac_cpp_err"; then
18623 ac_header_preproc
=yes
18625 echo "$as_me: failed program was:" >&5
18626 sed 's/^/| /' conftest.
$ac_ext >&5
18628 ac_header_preproc
=no
18630 rm -f conftest.err conftest.
$ac_ext
18631 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
18632 echo "${ECHO_T}$ac_header_preproc" >&6
18634 # So? What about this header?
18635 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
18637 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
18638 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
18639 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
18640 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
18641 ac_header_preproc
=yes
18644 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
18645 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
18646 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
18647 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
18648 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
18649 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
18650 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
18651 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
18652 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
18653 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
18654 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
18655 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
18658 ## ----------------------------------------- ##
18659 ## Report this to wx-dev@lists.wxwindows.org ##
18660 ## ----------------------------------------- ##
18663 sed "s/^/$as_me: WARNING: /" >&2
18666 echo "$as_me:$LINENO: checking for $ac_header" >&5
18667 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
18668 if eval "test \"\${$as_ac_Header+set}\" = set"; then
18669 echo $ECHO_N "(cached) $ECHO_C" >&6
18671 eval "$as_ac_Header=\$ac_header_preproc"
18673 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
18674 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
18677 if test `eval echo '${'$as_ac_Header'}'` = yes; then
18678 cat >>confdefs.h
<<_ACEOF
18679 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
18687 if test "$ac_cv_header_iostream" = "yes" ; then
18690 cat >>confdefs.h
<<\_ACEOF
18691 #define wxUSE_IOSTREAMH 1
18697 ac_cpp
='$CPP $CPPFLAGS'
18698 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18699 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18700 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
18706 echo "$as_me:$LINENO: checking if C++ compiler supports bool" >&5
18707 echo $ECHO_N "checking if C++ compiler supports bool... $ECHO_C" >&6
18708 if test "${wx_cv_cpp_bool+set}" = set; then
18709 echo $ECHO_N "(cached) $ECHO_C" >&6
18715 ac_cpp
='$CXXCPP $CPPFLAGS'
18716 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18717 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18718 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
18721 cat >conftest.
$ac_ext <<_ACEOF
18724 cat confdefs.h
>>conftest.
$ac_ext
18725 cat >>conftest.
$ac_ext <<_ACEOF
18726 /* end confdefs.h. */
18741 rm -f conftest.
$ac_objext
18742 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18743 (eval $ac_compile) 2>conftest.er1
18745 grep -v '^ *+' conftest.er1
>conftest.err
18747 cat conftest.err
>&5
18748 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18749 (exit $ac_status); } &&
18750 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
18751 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18752 (eval $ac_try) 2>&5
18754 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18755 (exit $ac_status); }; } &&
18756 { ac_try
='test -s conftest.$ac_objext'
18757 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18758 (eval $ac_try) 2>&5
18760 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18761 (exit $ac_status); }; }; then
18766 echo "$as_me: failed program was:" >&5
18767 sed 's/^/| /' conftest.
$ac_ext >&5
18774 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18777 ac_cpp
='$CPP $CPPFLAGS'
18778 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18779 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18780 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
18784 echo "$as_me:$LINENO: result: $wx_cv_cpp_bool" >&5
18785 echo "${ECHO_T}$wx_cv_cpp_bool" >&6
18787 if test "$wx_cv_cpp_bool" = "yes"; then
18788 cat >>confdefs.h
<<\_ACEOF
18789 #define HAVE_BOOL 1
18796 echo "$as_me:$LINENO: checking if C++ compiler supports the explicit keyword" >&5
18797 echo $ECHO_N "checking if C++ compiler supports the explicit keyword... $ECHO_C" >&6
18798 if test "${wx_cv_explicit+set}" = set; then
18799 echo $ECHO_N "(cached) $ECHO_C" >&6
18805 ac_cpp
='$CXXCPP $CPPFLAGS'
18806 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18807 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18808 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
18811 cat >conftest.
$ac_ext <<_ACEOF
18814 cat confdefs.h
>>conftest.
$ac_ext
18815 cat >>conftest.
$ac_ext <<_ACEOF
18816 /* end confdefs.h. */
18818 class Foo { public: explicit Foo(int) {} };
18830 rm -f conftest.
$ac_objext
18831 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18832 (eval $ac_compile) 2>conftest.er1
18834 grep -v '^ *+' conftest.er1
>conftest.err
18836 cat conftest.err
>&5
18837 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18838 (exit $ac_status); } &&
18839 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
18840 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18841 (eval $ac_try) 2>&5
18843 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18844 (exit $ac_status); }; } &&
18845 { ac_try
='test -s conftest.$ac_objext'
18846 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18847 (eval $ac_try) 2>&5
18849 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18850 (exit $ac_status); }; }; then
18852 cat >conftest.
$ac_ext <<_ACEOF
18855 cat confdefs.h
>>conftest.
$ac_ext
18856 cat >>conftest.
$ac_ext <<_ACEOF
18857 /* end confdefs.h. */
18859 class Foo { public: explicit Foo(int) {} };
18860 static void TakeFoo(const Foo& foo) { }
18873 rm -f conftest.
$ac_objext
18874 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18875 (eval $ac_compile) 2>conftest.er1
18877 grep -v '^ *+' conftest.er1
>conftest.err
18879 cat conftest.err
>&5
18880 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18881 (exit $ac_status); } &&
18882 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
18883 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18884 (eval $ac_try) 2>&5
18886 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18887 (exit $ac_status); }; } &&
18888 { ac_try
='test -s conftest.$ac_objext'
18889 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18890 (eval $ac_try) 2>&5
18892 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18893 (exit $ac_status); }; }; then
18896 echo "$as_me: failed program was:" >&5
18897 sed 's/^/| /' conftest.
$ac_ext >&5
18902 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18905 echo "$as_me: failed program was:" >&5
18906 sed 's/^/| /' conftest.
$ac_ext >&5
18911 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18914 ac_cpp
='$CPP $CPPFLAGS'
18915 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18916 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18917 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
18921 echo "$as_me:$LINENO: result: $wx_cv_explicit" >&5
18922 echo "${ECHO_T}$wx_cv_explicit" >&6
18924 if test "$wx_cv_explicit" = "yes"; then
18925 cat >>confdefs.h
<<\_ACEOF
18926 #define HAVE_EXPLICIT 1
18932 echo "$as_me:$LINENO: checking whether the compiler supports const_cast<>" >&5
18933 echo $ECHO_N "checking whether the compiler supports const_cast<>... $ECHO_C" >&6
18934 if test "${ac_cv_cxx_const_cast+set}" = set; then
18935 echo $ECHO_N "(cached) $ECHO_C" >&6
18940 ac_cpp
='$CXXCPP $CPPFLAGS'
18941 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18942 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18943 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
18945 cat >conftest.
$ac_ext <<_ACEOF
18948 cat confdefs.h
>>conftest.
$ac_ext
18949 cat >>conftest.
$ac_ext <<_ACEOF
18950 /* end confdefs.h. */
18955 int x = 0;const int& y = x;int& z = const_cast<int&>(y);return z;
18960 rm -f conftest.
$ac_objext
18961 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18962 (eval $ac_compile) 2>conftest.er1
18964 grep -v '^ *+' conftest.er1
>conftest.err
18966 cat conftest.err
>&5
18967 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18968 (exit $ac_status); } &&
18969 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
18970 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18971 (eval $ac_try) 2>&5
18973 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18974 (exit $ac_status); }; } &&
18975 { ac_try
='test -s conftest.$ac_objext'
18976 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18977 (eval $ac_try) 2>&5
18979 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18980 (exit $ac_status); }; }; then
18981 ac_cv_cxx_const_cast
=yes
18983 echo "$as_me: failed program was:" >&5
18984 sed 's/^/| /' conftest.
$ac_ext >&5
18986 ac_cv_cxx_const_cast
=no
18988 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18990 ac_cpp
='$CPP $CPPFLAGS'
18991 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18992 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18993 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
18997 echo "$as_me:$LINENO: result: $ac_cv_cxx_const_cast" >&5
18998 echo "${ECHO_T}$ac_cv_cxx_const_cast" >&6
18999 if test "$ac_cv_cxx_const_cast" = yes; then
19001 cat >>confdefs.h
<<\_ACEOF
19002 #define HAVE_CONST_CAST
19007 echo "$as_me:$LINENO: checking whether the compiler supports static_cast<>" >&5
19008 echo $ECHO_N "checking whether the compiler supports static_cast<>... $ECHO_C" >&6
19009 if test "${ac_cv_cxx_static_cast+set}" = set; then
19010 echo $ECHO_N "(cached) $ECHO_C" >&6
19015 ac_cpp
='$CXXCPP $CPPFLAGS'
19016 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19017 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19018 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
19020 cat >conftest.
$ac_ext <<_ACEOF
19023 cat confdefs.h
>>conftest.
$ac_ext
19024 cat >>conftest.
$ac_ext <<_ACEOF
19025 /* end confdefs.h. */
19026 #include <typeinfo>
19027 class Base { public : Base () {} virtual void f () = 0; };
19028 class Derived : public Base { public : Derived () {} virtual void f () {} };
19029 int g (Derived&) { return 0; }
19034 Derived d; Base& b = d; Derived& s = static_cast<Derived&> (b); return g (s);
19039 rm -f conftest.
$ac_objext
19040 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19041 (eval $ac_compile) 2>conftest.er1
19043 grep -v '^ *+' conftest.er1
>conftest.err
19045 cat conftest.err
>&5
19046 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19047 (exit $ac_status); } &&
19048 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
19049 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19050 (eval $ac_try) 2>&5
19052 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19053 (exit $ac_status); }; } &&
19054 { ac_try
='test -s conftest.$ac_objext'
19055 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19056 (eval $ac_try) 2>&5
19058 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19059 (exit $ac_status); }; }; then
19060 ac_cv_cxx_static_cast
=yes
19062 echo "$as_me: failed program was:" >&5
19063 sed 's/^/| /' conftest.
$ac_ext >&5
19065 ac_cv_cxx_static_cast
=no
19067 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19069 ac_cpp
='$CPP $CPPFLAGS'
19070 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19071 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19072 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
19076 echo "$as_me:$LINENO: result: $ac_cv_cxx_static_cast" >&5
19077 echo "${ECHO_T}$ac_cv_cxx_static_cast" >&6
19078 if test "$ac_cv_cxx_static_cast" = yes; then
19080 cat >>confdefs.h
<<\_ACEOF
19081 #define HAVE_STATIC_CAST
19087 if test "$wxUSE_STL" = "yes"; then
19089 ac_cpp
='$CXXCPP $CPPFLAGS'
19090 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19091 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19092 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
19095 echo "$as_me:$LINENO: checking for basic STL functionality" >&5
19096 echo $ECHO_N "checking for basic STL functionality... $ECHO_C" >&6
19097 cat >conftest.
$ac_ext <<_ACEOF
19100 cat confdefs.h
>>conftest.
$ac_ext
19101 cat >>conftest.
$ac_ext <<_ACEOF
19102 /* end confdefs.h. */
19104 #include <functional>
19105 #include <algorithm>
19111 std::vector<int> moo;
19112 std::list<int> foo;
19113 std::vector<int>::iterator it =
19114 std::find_if(moo.begin(), moo.end(),
19115 std::bind2nd(std::less<int>(), 3));
19120 rm -f conftest.
$ac_objext
19121 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19122 (eval $ac_compile) 2>conftest.er1
19124 grep -v '^ *+' conftest.er1
>conftest.err
19126 cat conftest.err
>&5
19127 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19128 (exit $ac_status); } &&
19129 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
19130 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19131 (eval $ac_try) 2>&5
19133 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19134 (exit $ac_status); }; } &&
19135 { ac_try
='test -s conftest.$ac_objext'
19136 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19137 (eval $ac_try) 2>&5
19139 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19140 (exit $ac_status); }; }; then
19141 echo "$as_me:$LINENO: result: yes" >&5
19142 echo "${ECHO_T}yes" >&6
19144 echo "$as_me: failed program was:" >&5
19145 sed 's/^/| /' conftest.
$ac_ext >&5
19147 echo "$as_me:$LINENO: result: no" >&5
19148 echo "${ECHO_T}no" >&6
19149 { { echo "$as_me:$LINENO: error: Basic STL functionality missing" >&5
19150 echo "$as_me: error: Basic STL functionality missing" >&2;}
19151 { (exit 1); exit 1; }; }
19153 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19155 echo "$as_me:$LINENO: checking for std::wstring in <string>" >&5
19156 echo $ECHO_N "checking for std::wstring in <string>... $ECHO_C" >&6
19157 cat >conftest.
$ac_ext <<_ACEOF
19160 cat confdefs.h
>>conftest.
$ac_ext
19161 cat >>conftest.
$ac_ext <<_ACEOF
19162 /* end confdefs.h. */
19172 rm -f conftest.
$ac_objext
19173 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19174 (eval $ac_compile) 2>conftest.er1
19176 grep -v '^ *+' conftest.er1
>conftest.err
19178 cat conftest.err
>&5
19179 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19180 (exit $ac_status); } &&
19181 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
19182 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19183 (eval $ac_try) 2>&5
19185 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19186 (exit $ac_status); }; } &&
19187 { ac_try
='test -s conftest.$ac_objext'
19188 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19189 (eval $ac_try) 2>&5
19191 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19192 (exit $ac_status); }; }; then
19193 echo "$as_me:$LINENO: result: yes" >&5
19194 echo "${ECHO_T}yes" >&6
19195 cat >>confdefs.h
<<\_ACEOF
19196 #define HAVE_STD_WSTRING 1
19200 echo "$as_me: failed program was:" >&5
19201 sed 's/^/| /' conftest.
$ac_ext >&5
19203 echo "$as_me:$LINENO: result: no" >&5
19204 echo "${ECHO_T}no" >&6
19206 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19208 echo "$as_me:$LINENO: checking for compliant std::string::compare" >&5
19209 echo $ECHO_N "checking for compliant std::string::compare... $ECHO_C" >&6
19210 cat >conftest.
$ac_ext <<_ACEOF
19213 cat confdefs.h
>>conftest.
$ac_ext
19214 cat >>conftest.
$ac_ext <<_ACEOF
19215 /* end confdefs.h. */
19220 std::string foo, bar;
19222 foo.compare(1, 1, bar);
19223 foo.compare(1, 1, bar, 1, 1);
19225 foo.compare(1, 1, "");
19226 foo.compare(1, 1, "", 2);
19231 rm -f conftest.
$ac_objext
19232 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19233 (eval $ac_compile) 2>conftest.er1
19235 grep -v '^ *+' conftest.er1
>conftest.err
19237 cat conftest.err
>&5
19238 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19239 (exit $ac_status); } &&
19240 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
19241 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19242 (eval $ac_try) 2>&5
19244 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19245 (exit $ac_status); }; } &&
19246 { ac_try
='test -s conftest.$ac_objext'
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); }; }; then
19252 echo "$as_me:$LINENO: result: yes" >&5
19253 echo "${ECHO_T}yes" >&6
19254 cat >>confdefs.h
<<\_ACEOF
19255 #define HAVE_STD_STRING_COMPARE 1
19259 echo "$as_me: failed program was:" >&5
19260 sed 's/^/| /' conftest.
$ac_ext >&5
19262 echo "$as_me:$LINENO: result: no" >&5
19263 echo "${ECHO_T}no" >&6
19265 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19268 ac_cpp
='$CPP $CPPFLAGS'
19269 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19270 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19271 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
19277 /usr/local/include \
19279 /usr/Motif-2.1/include \
19280 /usr/Motif-1.2/include \
19281 /usr/include/Motif1.2 \
19282 /opt/xpm/include/X11 \
19283 /opt/GBxpm/include/ \
19284 /opt/GBxpm/X11/include/ \
19287 /usr/openwin/include \
19291 /usr/X11R6/include \
19292 /usr/X11R6.4/include \
19293 /usr/X11R5/include \
19294 /usr/X11R4/include \
19296 /usr/include/X11R6 \
19297 /usr/include/X11R5 \
19298 /usr/include/X11R4 \
19300 /usr/local/X11R6/include \
19301 /usr/local/X11R5/include \
19302 /usr/local/X11R4/include \
19304 /usr/local/include/X11R6 \
19305 /usr/local/include/X11R5 \
19306 /usr/local/include/X11R4 \
19310 /usr/local/X11/include \
19311 /usr/local/include/X11 \
19313 /usr/X386/include \
19314 /usr/x386/include \
19315 /usr/XFree86/include/X11 \
19317 X:/XFree86/include \
19318 X:/XFree86/include/X11 \
19321 /usr/local/include/gtk \
19322 /usr/include/glib \
19323 /usr/local/include/glib \
19326 /usr/local/include/qt \
19328 /usr/local/arm/3.3.2/include \
19330 /usr/include/windows \
19331 /usr/include/wine \
19332 /usr/local/include/wine \
19334 /usr/unsupported/include \
19335 /usr/athena/include \
19336 /usr/local/x11r5/include \
19337 /usr/lpp/Xamples/include \
19339 /usr/openwin/share/include"
19341 SEARCH_LIB
="/usr/lib /usr/lib32 `echo "$SEARCH_INCLUDE" | sed s/include/lib/g` /usr/lib64 /usr/X11R6/lib64"
19344 cat >confcache
<<\_ACEOF
19345 # This file is a shell script that caches the results of configure
19346 # tests run on this system so they can be shared between configure
19347 # scripts and configure runs, see configure's option --config-cache.
19348 # It is not useful on other systems. If it contains results you don't
19349 # want to keep, you may remove or edit it.
19351 # config.status only pays attention to the cache file if you give it
19352 # the --recheck option to rerun configure.
19354 # `ac_cv_env_foo' variables (set or unset) will be overridden when
19355 # loading this file, other *unset* `ac_cv_foo' will be assigned the
19356 # following values.
19360 # The following way of writing the cache mishandles newlines in values,
19361 # but we know of no workaround that is simple, portable, and efficient.
19362 # So, don't put newlines in cache variables' values.
19363 # Ultrix sh set writes to stderr and can't be redirected directly,
19364 # and sets the high bit in the cache file unless we assign to the vars.
19367 case `(ac_space=' '; set | grep ac_space) 2>&1` in
19369 # `set' does not quote correctly, so add quotes (double-quote
19370 # substitution turns \\\\ into \\, and sed turns \\ into \).
19373 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
19376 # `set' quotes correctly as required by POSIX, so do not add quotes.
19378 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
19385 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
19387 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
19389 if diff $cache_file confcache
>/dev
/null
2>&1; then :; else
19390 if test -w $cache_file; then
19391 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
19392 cat confcache
>$cache_file
19394 echo "not updating unwritable cache $cache_file"
19399 if test "$USE_LINUX" = 1 -o "$USE_GNU" = 1; then
19400 echo "$as_me:$LINENO: checking for glibc 2.1 or later" >&5
19401 echo $ECHO_N "checking for glibc 2.1 or later... $ECHO_C" >&6
19402 if test "${wx_cv_lib_glibc21+set}" = set; then
19403 echo $ECHO_N "(cached) $ECHO_C" >&6
19406 cat >conftest.
$ac_ext <<_ACEOF
19409 cat confdefs.h
>>conftest.
$ac_ext
19410 cat >>conftest.
$ac_ext <<_ACEOF
19411 /* end confdefs.h. */
19412 #include <features.h>
19417 #if (__GLIBC__ < 2) || (__GLIBC_MINOR__ < 1)
19418 #error not glibc2.1
19425 rm -f conftest.
$ac_objext
19426 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19427 (eval $ac_compile) 2>conftest.er1
19429 grep -v '^ *+' conftest.er1
>conftest.err
19431 cat conftest.err
>&5
19432 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19433 (exit $ac_status); } &&
19434 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19435 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19436 (eval $ac_try) 2>&5
19438 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19439 (exit $ac_status); }; } &&
19440 { ac_try
='test -s conftest.$ac_objext'
19441 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19442 (eval $ac_try) 2>&5
19444 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19445 (exit $ac_status); }; }; then
19447 wx_cv_lib_glibc21
=yes
19450 echo "$as_me: failed program was:" >&5
19451 sed 's/^/| /' conftest.
$ac_ext >&5
19454 wx_cv_lib_glibc21
=no
19458 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19461 echo "$as_me:$LINENO: result: $wx_cv_lib_glibc21" >&5
19462 echo "${ECHO_T}$wx_cv_lib_glibc21" >&6
19463 if test "$wx_cv_lib_glibc21" = "yes"; then
19464 cat >>confdefs.h
<<\_ACEOF
19465 #define wxHAVE_GLIBC2 1
19471 if test "x$wx_cv_lib_glibc21" = "xyes"; then
19472 if test "$wxUSE_UNICODE" = "yes" -o "$wxUSE_THREADS" = "yes"; then
19473 cat >>confdefs.h
<<\_ACEOF
19474 #define _GNU_SOURCE 1
19482 if test "$wxUSE_REGEX" != "no"; then
19483 cat >>confdefs.h
<<\_ACEOF
19484 #define wxUSE_REGEX 1
19488 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_REGEX" = "yes"; then
19489 { echo "$as_me:$LINENO: WARNING: Defaulting to the the builtin regex library for Unicode build." >&5
19490 echo "$as_me: WARNING: Defaulting to the the builtin regex library for Unicode build." >&2;}
19491 wxUSE_REGEX
=builtin
19494 if test "$wxUSE_REGEX" = "sys" -o "$wxUSE_REGEX" = "yes" ; then
19495 if test "${ac_cv_header_regex_h+set}" = set; then
19496 echo "$as_me:$LINENO: checking for regex.h" >&5
19497 echo $ECHO_N "checking for regex.h... $ECHO_C" >&6
19498 if test "${ac_cv_header_regex_h+set}" = set; then
19499 echo $ECHO_N "(cached) $ECHO_C" >&6
19501 echo "$as_me:$LINENO: result: $ac_cv_header_regex_h" >&5
19502 echo "${ECHO_T}$ac_cv_header_regex_h" >&6
19504 # Is the header compilable?
19505 echo "$as_me:$LINENO: checking regex.h usability" >&5
19506 echo $ECHO_N "checking regex.h usability... $ECHO_C" >&6
19507 cat >conftest.
$ac_ext <<_ACEOF
19510 cat confdefs.h
>>conftest.
$ac_ext
19511 cat >>conftest.
$ac_ext <<_ACEOF
19512 /* end confdefs.h. */
19513 $ac_includes_default
19516 rm -f conftest.
$ac_objext
19517 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19518 (eval $ac_compile) 2>conftest.er1
19520 grep -v '^ *+' conftest.er1
>conftest.err
19522 cat conftest.err
>&5
19523 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19524 (exit $ac_status); } &&
19525 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19526 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19527 (eval $ac_try) 2>&5
19529 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19530 (exit $ac_status); }; } &&
19531 { ac_try
='test -s conftest.$ac_objext'
19532 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19533 (eval $ac_try) 2>&5
19535 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19536 (exit $ac_status); }; }; then
19537 ac_header_compiler
=yes
19539 echo "$as_me: failed program was:" >&5
19540 sed 's/^/| /' conftest.
$ac_ext >&5
19542 ac_header_compiler
=no
19544 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19545 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
19546 echo "${ECHO_T}$ac_header_compiler" >&6
19548 # Is the header present?
19549 echo "$as_me:$LINENO: checking regex.h presence" >&5
19550 echo $ECHO_N "checking regex.h presence... $ECHO_C" >&6
19551 cat >conftest.
$ac_ext <<_ACEOF
19554 cat confdefs.h
>>conftest.
$ac_ext
19555 cat >>conftest.
$ac_ext <<_ACEOF
19556 /* end confdefs.h. */
19559 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
19560 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
19562 grep -v '^ *+' conftest.er1
>conftest.err
19564 cat conftest.err
>&5
19565 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19566 (exit $ac_status); } >/dev
/null
; then
19567 if test -s conftest.err
; then
19568 ac_cpp_err
=$ac_c_preproc_warn_flag
19569 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
19576 if test -z "$ac_cpp_err"; then
19577 ac_header_preproc
=yes
19579 echo "$as_me: failed program was:" >&5
19580 sed 's/^/| /' conftest.
$ac_ext >&5
19582 ac_header_preproc
=no
19584 rm -f conftest.err conftest.
$ac_ext
19585 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
19586 echo "${ECHO_T}$ac_header_preproc" >&6
19588 # So? What about this header?
19589 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
19591 { echo "$as_me:$LINENO: WARNING: regex.h: accepted by the compiler, rejected by the preprocessor!" >&5
19592 echo "$as_me: WARNING: regex.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
19593 { echo "$as_me:$LINENO: WARNING: regex.h: proceeding with the compiler's result" >&5
19594 echo "$as_me: WARNING: regex.h: proceeding with the compiler's result" >&2;}
19595 ac_header_preproc
=yes
19598 { echo "$as_me:$LINENO: WARNING: regex.h: present but cannot be compiled" >&5
19599 echo "$as_me: WARNING: regex.h: present but cannot be compiled" >&2;}
19600 { echo "$as_me:$LINENO: WARNING: regex.h: check for missing prerequisite headers?" >&5
19601 echo "$as_me: WARNING: regex.h: check for missing prerequisite headers?" >&2;}
19602 { echo "$as_me:$LINENO: WARNING: regex.h: see the Autoconf documentation" >&5
19603 echo "$as_me: WARNING: regex.h: see the Autoconf documentation" >&2;}
19604 { echo "$as_me:$LINENO: WARNING: regex.h: section \"Present But Cannot Be Compiled\"" >&5
19605 echo "$as_me: WARNING: regex.h: section \"Present But Cannot Be Compiled\"" >&2;}
19606 { echo "$as_me:$LINENO: WARNING: regex.h: proceeding with the preprocessor's result" >&5
19607 echo "$as_me: WARNING: regex.h: proceeding with the preprocessor's result" >&2;}
19608 { echo "$as_me:$LINENO: WARNING: regex.h: in the future, the compiler will take precedence" >&5
19609 echo "$as_me: WARNING: regex.h: in the future, the compiler will take precedence" >&2;}
19612 ## ----------------------------------------- ##
19613 ## Report this to wx-dev@lists.wxwindows.org ##
19614 ## ----------------------------------------- ##
19617 sed "s/^/$as_me: WARNING: /" >&2
19620 echo "$as_me:$LINENO: checking for regex.h" >&5
19621 echo $ECHO_N "checking for regex.h... $ECHO_C" >&6
19622 if test "${ac_cv_header_regex_h+set}" = set; then
19623 echo $ECHO_N "(cached) $ECHO_C" >&6
19625 ac_cv_header_regex_h
=$ac_header_preproc
19627 echo "$as_me:$LINENO: result: $ac_cv_header_regex_h" >&5
19628 echo "${ECHO_T}$ac_cv_header_regex_h" >&6
19631 if test $ac_cv_header_regex_h = yes; then
19633 for ac_func
in regcomp
19635 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
19636 echo "$as_me:$LINENO: checking for $ac_func" >&5
19637 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
19638 if eval "test \"\${$as_ac_var+set}\" = set"; then
19639 echo $ECHO_N "(cached) $ECHO_C" >&6
19641 cat >conftest.
$ac_ext <<_ACEOF
19644 cat confdefs.h
>>conftest.
$ac_ext
19645 cat >>conftest.
$ac_ext <<_ACEOF
19646 /* end confdefs.h. */
19647 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
19648 For example, HP-UX 11i <limits.h> declares gettimeofday. */
19649 #define $ac_func innocuous_$ac_func
19651 /* System header to define __stub macros and hopefully few prototypes,
19652 which can conflict with char $ac_func (); below.
19653 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
19654 <limits.h> exists even on freestanding compilers. */
19657 # include <limits.h>
19659 # include <assert.h>
19664 /* Override any gcc2 internal prototype to avoid an error. */
19669 /* We use char because int might match the return type of a gcc2
19670 builtin and then its argument prototype would still apply. */
19672 /* The GNU C library defines this for functions which it implements
19673 to always fail with ENOSYS. Some functions are actually named
19674 something starting with __ and the normal name is an alias. */
19675 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19678 char (*f) () = $ac_func;
19687 return f != $ac_func;
19692 rm -f conftest.
$ac_objext conftest
$ac_exeext
19693 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19694 (eval $ac_link) 2>conftest.er1
19696 grep -v '^ *+' conftest.er1
>conftest.err
19698 cat conftest.err
>&5
19699 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19700 (exit $ac_status); } &&
19701 { ac_try
='test -z "$ac_c_werror_flag" || 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_exeext'
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 eval "$as_ac_var=yes"
19715 echo "$as_me: failed program was:" >&5
19716 sed 's/^/| /' conftest.
$ac_ext >&5
19718 eval "$as_ac_var=no"
19720 rm -f conftest.err conftest.
$ac_objext \
19721 conftest
$ac_exeext conftest.
$ac_ext
19723 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
19724 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
19725 if test `eval echo '${'$as_ac_var'}'` = yes; then
19726 cat >>confdefs.h
<<_ACEOF
19727 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
19737 if test "x$ac_cv_func_regcomp" != "xyes"; then
19738 if test "$wxUSE_REGEX" = "sys" ; then
19739 { { echo "$as_me:$LINENO: error: system regex library not found! Use --with-regex to use built-in version" >&5
19740 echo "$as_me: error: system regex library not found! Use --with-regex to use built-in version" >&2;}
19741 { (exit 1); exit 1; }; }
19743 { echo "$as_me:$LINENO: WARNING: system regex library not found, will use built-in instead" >&5
19744 echo "$as_me: WARNING: system regex library not found, will use built-in instead" >&2;}
19745 wxUSE_REGEX
=builtin
19749 cat >>confdefs.h
<<\_ACEOF
19750 #define WX_NO_REGEX_ADVANCED 1
19759 if test "$wxUSE_ZLIB" != "no" ; then
19760 cat >>confdefs.h
<<\_ACEOF
19761 #define wxUSE_ZLIB 1
19765 if test "$wxUSE_ZLIB" = "sys" -o "$wxUSE_ZLIB" = "yes" ; then
19766 if test "$USE_DARWIN" = 1; then
19767 system_zlib_h_ok
="yes"
19769 echo "$as_me:$LINENO: checking for zlib.h >= 1.1.4" >&5
19770 echo $ECHO_N "checking for zlib.h >= 1.1.4... $ECHO_C" >&6
19771 if test "${ac_cv_header_zlib_h+set}" = set; then
19772 echo $ECHO_N "(cached) $ECHO_C" >&6
19774 if test "$cross_compiling" = yes; then
19775 unset ac_cv_header_zlib_h
19778 cat >conftest.
$ac_ext <<_ACEOF
19781 cat confdefs.h
>>conftest.
$ac_ext
19782 cat >>conftest.
$ac_ext <<_ACEOF
19783 /* end confdefs.h. */
19790 FILE *f=fopen("conftestval", "w");
19793 ZLIB_VERSION[0] == '1' &&
19794 (ZLIB_VERSION[2] > '1' ||
19795 (ZLIB_VERSION[2] == '1' &&
19796 ZLIB_VERSION[4] >= '4')) ? "yes" : "no");
19801 rm -f conftest
$ac_exeext
19802 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19803 (eval $ac_link) 2>&5
19805 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19806 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
19807 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19808 (eval $ac_try) 2>&5
19810 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19811 (exit $ac_status); }; }; then
19812 ac_cv_header_zlib_h
=`cat conftestval`
19814 echo "$as_me: program exited with status $ac_status" >&5
19815 echo "$as_me: failed program was:" >&5
19816 sed 's/^/| /' conftest.
$ac_ext >&5
19818 ( exit $ac_status )
19819 ac_cv_header_zlib_h
=no
19821 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
19825 echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
19826 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6
19827 if test "${ac_cv_header_zlib_h+set}" = set; then
19828 echo "$as_me:$LINENO: checking for zlib.h" >&5
19829 echo $ECHO_N "checking for zlib.h... $ECHO_C" >&6
19830 if test "${ac_cv_header_zlib_h+set}" = set; then
19831 echo $ECHO_N "(cached) $ECHO_C" >&6
19833 echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
19834 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6
19836 # Is the header compilable?
19837 echo "$as_me:$LINENO: checking zlib.h usability" >&5
19838 echo $ECHO_N "checking zlib.h usability... $ECHO_C" >&6
19839 cat >conftest.
$ac_ext <<_ACEOF
19842 cat confdefs.h
>>conftest.
$ac_ext
19843 cat >>conftest.
$ac_ext <<_ACEOF
19844 /* end confdefs.h. */
19845 $ac_includes_default
19848 rm -f conftest.
$ac_objext
19849 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19850 (eval $ac_compile) 2>conftest.er1
19852 grep -v '^ *+' conftest.er1
>conftest.err
19854 cat conftest.err
>&5
19855 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19856 (exit $ac_status); } &&
19857 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19858 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19859 (eval $ac_try) 2>&5
19861 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19862 (exit $ac_status); }; } &&
19863 { ac_try
='test -s conftest.$ac_objext'
19864 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19865 (eval $ac_try) 2>&5
19867 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19868 (exit $ac_status); }; }; then
19869 ac_header_compiler
=yes
19871 echo "$as_me: failed program was:" >&5
19872 sed 's/^/| /' conftest.
$ac_ext >&5
19874 ac_header_compiler
=no
19876 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19877 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
19878 echo "${ECHO_T}$ac_header_compiler" >&6
19880 # Is the header present?
19881 echo "$as_me:$LINENO: checking zlib.h presence" >&5
19882 echo $ECHO_N "checking zlib.h presence... $ECHO_C" >&6
19883 cat >conftest.
$ac_ext <<_ACEOF
19886 cat confdefs.h
>>conftest.
$ac_ext
19887 cat >>conftest.
$ac_ext <<_ACEOF
19888 /* end confdefs.h. */
19891 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
19892 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
19894 grep -v '^ *+' conftest.er1
>conftest.err
19896 cat conftest.err
>&5
19897 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19898 (exit $ac_status); } >/dev
/null
; then
19899 if test -s conftest.err
; then
19900 ac_cpp_err
=$ac_c_preproc_warn_flag
19901 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
19908 if test -z "$ac_cpp_err"; then
19909 ac_header_preproc
=yes
19911 echo "$as_me: failed program was:" >&5
19912 sed 's/^/| /' conftest.
$ac_ext >&5
19914 ac_header_preproc
=no
19916 rm -f conftest.err conftest.
$ac_ext
19917 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
19918 echo "${ECHO_T}$ac_header_preproc" >&6
19920 # So? What about this header?
19921 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
19923 { echo "$as_me:$LINENO: WARNING: zlib.h: accepted by the compiler, rejected by the preprocessor!" >&5
19924 echo "$as_me: WARNING: zlib.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
19925 { echo "$as_me:$LINENO: WARNING: zlib.h: proceeding with the compiler's result" >&5
19926 echo "$as_me: WARNING: zlib.h: proceeding with the compiler's result" >&2;}
19927 ac_header_preproc
=yes
19930 { echo "$as_me:$LINENO: WARNING: zlib.h: present but cannot be compiled" >&5
19931 echo "$as_me: WARNING: zlib.h: present but cannot be compiled" >&2;}
19932 { echo "$as_me:$LINENO: WARNING: zlib.h: check for missing prerequisite headers?" >&5
19933 echo "$as_me: WARNING: zlib.h: check for missing prerequisite headers?" >&2;}
19934 { echo "$as_me:$LINENO: WARNING: zlib.h: see the Autoconf documentation" >&5
19935 echo "$as_me: WARNING: zlib.h: see the Autoconf documentation" >&2;}
19936 { echo "$as_me:$LINENO: WARNING: zlib.h: section \"Present But Cannot Be Compiled\"" >&5
19937 echo "$as_me: WARNING: zlib.h: section \"Present But Cannot Be Compiled\"" >&2;}
19938 { echo "$as_me:$LINENO: WARNING: zlib.h: proceeding with the preprocessor's result" >&5
19939 echo "$as_me: WARNING: zlib.h: proceeding with the preprocessor's result" >&2;}
19940 { echo "$as_me:$LINENO: WARNING: zlib.h: in the future, the compiler will take precedence" >&5
19941 echo "$as_me: WARNING: zlib.h: in the future, the compiler will take precedence" >&2;}
19944 ## ----------------------------------------- ##
19945 ## Report this to wx-dev@lists.wxwindows.org ##
19946 ## ----------------------------------------- ##
19949 sed "s/^/$as_me: WARNING: /" >&2
19952 echo "$as_me:$LINENO: checking for zlib.h" >&5
19953 echo $ECHO_N "checking for zlib.h... $ECHO_C" >&6
19954 if test "${ac_cv_header_zlib_h+set}" = set; then
19955 echo $ECHO_N "(cached) $ECHO_C" >&6
19957 ac_cv_header_zlib_h
=$ac_header_preproc
19959 echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
19960 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6
19966 system_zlib_h_ok
=$ac_cv_header_zlib_h
19969 if test "$system_zlib_h_ok" = "yes"; then
19970 echo "$as_me:$LINENO: checking for deflate in -lz" >&5
19971 echo $ECHO_N "checking for deflate in -lz... $ECHO_C" >&6
19972 if test "${ac_cv_lib_z_deflate+set}" = set; then
19973 echo $ECHO_N "(cached) $ECHO_C" >&6
19975 ac_check_lib_save_LIBS
=$LIBS
19977 cat >conftest.
$ac_ext <<_ACEOF
19980 cat confdefs.h
>>conftest.
$ac_ext
19981 cat >>conftest.
$ac_ext <<_ACEOF
19982 /* end confdefs.h. */
19984 /* Override any gcc2 internal prototype to avoid an error. */
19988 /* We use char because int might match the return type of a gcc2
19989 builtin and then its argument prototype would still apply. */
19999 rm -f conftest.
$ac_objext conftest
$ac_exeext
20000 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20001 (eval $ac_link) 2>conftest.er1
20003 grep -v '^ *+' conftest.er1
>conftest.err
20005 cat conftest.err
>&5
20006 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20007 (exit $ac_status); } &&
20008 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20009 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20010 (eval $ac_try) 2>&5
20012 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20013 (exit $ac_status); }; } &&
20014 { ac_try
='test -s conftest$ac_exeext'
20015 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20016 (eval $ac_try) 2>&5
20018 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20019 (exit $ac_status); }; }; then
20020 ac_cv_lib_z_deflate
=yes
20022 echo "$as_me: failed program was:" >&5
20023 sed 's/^/| /' conftest.
$ac_ext >&5
20025 ac_cv_lib_z_deflate
=no
20027 rm -f conftest.err conftest.
$ac_objext \
20028 conftest
$ac_exeext conftest.
$ac_ext
20029 LIBS
=$ac_check_lib_save_LIBS
20031 echo "$as_me:$LINENO: result: $ac_cv_lib_z_deflate" >&5
20032 echo "${ECHO_T}$ac_cv_lib_z_deflate" >&6
20033 if test $ac_cv_lib_z_deflate = yes; then
20039 if test "x$ZLIB_LINK" = "x" ; then
20040 if test "$wxUSE_ZLIB" = "sys" ; then
20041 { { echo "$as_me:$LINENO: error: zlib library not found or too old! Use --with-zlib=builtin to use built-in version" >&5
20042 echo "$as_me: error: zlib library not found or too old! Use --with-zlib=builtin to use built-in version" >&2;}
20043 { (exit 1); exit 1; }; }
20045 { echo "$as_me:$LINENO: WARNING: zlib library not found or too old, will use built-in instead" >&5
20046 echo "$as_me: WARNING: zlib library not found or too old, will use built-in instead" >&2;}
20057 if test "$wxUSE_LIBPNG" != "no" ; then
20058 cat >>confdefs.h
<<\_ACEOF
20059 #define wxUSE_LIBPNG 1
20063 if test "$wxUSE_MGL" = 1 -a "$wxUSE_LIBPNG" = "builtin" ; then
20064 { echo "$as_me:$LINENO: WARNING: wxMGL doesn't work with builtin png library, will use MGL one instead" >&5
20065 echo "$as_me: WARNING: wxMGL doesn't work with builtin png library, will use MGL one instead" >&2;}
20069 if test "$wxUSE_MGL" != 1 -a "$wxUSE_LIBPNG" = "sys" -a "$wxUSE_ZLIB" != "sys" ; then
20070 { echo "$as_me:$LINENO: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&5
20071 echo "$as_me: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&2;}
20072 wxUSE_LIBPNG
=builtin
20075 if test "$wxUSE_MGL" != 1 ; then
20076 if test "$wxUSE_LIBPNG" = "sys" -o "$wxUSE_LIBPNG" = "yes" ; then
20077 echo "$as_me:$LINENO: checking for png.h > 0.90" >&5
20078 echo $ECHO_N "checking for png.h > 0.90... $ECHO_C" >&6
20079 if test "${ac_cv_header_png_h+set}" = set; then
20080 echo $ECHO_N "(cached) $ECHO_C" >&6
20082 if test "$cross_compiling" = yes; then
20083 unset ac_cv_header_png_h
20086 cat >conftest.
$ac_ext <<_ACEOF
20089 cat confdefs.h
>>conftest.
$ac_ext
20090 cat >>conftest.
$ac_ext <<_ACEOF
20091 /* end confdefs.h. */
20098 FILE *f=fopen("conftestval", "w");
20101 PNG_LIBPNG_VER > 90 ? "yes" : "no");
20106 rm -f conftest
$ac_exeext
20107 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20108 (eval $ac_link) 2>&5
20110 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20111 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
20112 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20113 (eval $ac_try) 2>&5
20115 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20116 (exit $ac_status); }; }; then
20117 ac_cv_header_png_h
=`cat conftestval`
20119 echo "$as_me: program exited with status $ac_status" >&5
20120 echo "$as_me: failed program was:" >&5
20121 sed 's/^/| /' conftest.
$ac_ext >&5
20123 ( exit $ac_status )
20124 ac_cv_header_png_h
=no
20126 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
20130 echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
20131 echo "${ECHO_T}$ac_cv_header_png_h" >&6
20132 if test "${ac_cv_header_png_h+set}" = set; then
20133 echo "$as_me:$LINENO: checking for png.h" >&5
20134 echo $ECHO_N "checking for png.h... $ECHO_C" >&6
20135 if test "${ac_cv_header_png_h+set}" = set; then
20136 echo $ECHO_N "(cached) $ECHO_C" >&6
20138 echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
20139 echo "${ECHO_T}$ac_cv_header_png_h" >&6
20141 # Is the header compilable?
20142 echo "$as_me:$LINENO: checking png.h usability" >&5
20143 echo $ECHO_N "checking png.h usability... $ECHO_C" >&6
20144 cat >conftest.
$ac_ext <<_ACEOF
20147 cat confdefs.h
>>conftest.
$ac_ext
20148 cat >>conftest.
$ac_ext <<_ACEOF
20149 /* end confdefs.h. */
20150 $ac_includes_default
20153 rm -f conftest.
$ac_objext
20154 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20155 (eval $ac_compile) 2>conftest.er1
20157 grep -v '^ *+' conftest.er1
>conftest.err
20159 cat conftest.err
>&5
20160 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20161 (exit $ac_status); } &&
20162 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20163 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20164 (eval $ac_try) 2>&5
20166 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20167 (exit $ac_status); }; } &&
20168 { ac_try
='test -s conftest.$ac_objext'
20169 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20170 (eval $ac_try) 2>&5
20172 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20173 (exit $ac_status); }; }; then
20174 ac_header_compiler
=yes
20176 echo "$as_me: failed program was:" >&5
20177 sed 's/^/| /' conftest.
$ac_ext >&5
20179 ac_header_compiler
=no
20181 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20182 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
20183 echo "${ECHO_T}$ac_header_compiler" >&6
20185 # Is the header present?
20186 echo "$as_me:$LINENO: checking png.h presence" >&5
20187 echo $ECHO_N "checking png.h presence... $ECHO_C" >&6
20188 cat >conftest.
$ac_ext <<_ACEOF
20191 cat confdefs.h
>>conftest.
$ac_ext
20192 cat >>conftest.
$ac_ext <<_ACEOF
20193 /* end confdefs.h. */
20196 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
20197 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
20199 grep -v '^ *+' conftest.er1
>conftest.err
20201 cat conftest.err
>&5
20202 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20203 (exit $ac_status); } >/dev
/null
; then
20204 if test -s conftest.err
; then
20205 ac_cpp_err
=$ac_c_preproc_warn_flag
20206 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
20213 if test -z "$ac_cpp_err"; then
20214 ac_header_preproc
=yes
20216 echo "$as_me: failed program was:" >&5
20217 sed 's/^/| /' conftest.
$ac_ext >&5
20219 ac_header_preproc
=no
20221 rm -f conftest.err conftest.
$ac_ext
20222 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
20223 echo "${ECHO_T}$ac_header_preproc" >&6
20225 # So? What about this header?
20226 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
20228 { echo "$as_me:$LINENO: WARNING: png.h: accepted by the compiler, rejected by the preprocessor!" >&5
20229 echo "$as_me: WARNING: png.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
20230 { echo "$as_me:$LINENO: WARNING: png.h: proceeding with the compiler's result" >&5
20231 echo "$as_me: WARNING: png.h: proceeding with the compiler's result" >&2;}
20232 ac_header_preproc
=yes
20235 { echo "$as_me:$LINENO: WARNING: png.h: present but cannot be compiled" >&5
20236 echo "$as_me: WARNING: png.h: present but cannot be compiled" >&2;}
20237 { echo "$as_me:$LINENO: WARNING: png.h: check for missing prerequisite headers?" >&5
20238 echo "$as_me: WARNING: png.h: check for missing prerequisite headers?" >&2;}
20239 { echo "$as_me:$LINENO: WARNING: png.h: see the Autoconf documentation" >&5
20240 echo "$as_me: WARNING: png.h: see the Autoconf documentation" >&2;}
20241 { echo "$as_me:$LINENO: WARNING: png.h: section \"Present But Cannot Be Compiled\"" >&5
20242 echo "$as_me: WARNING: png.h: section \"Present But Cannot Be Compiled\"" >&2;}
20243 { echo "$as_me:$LINENO: WARNING: png.h: proceeding with the preprocessor's result" >&5
20244 echo "$as_me: WARNING: png.h: proceeding with the preprocessor's result" >&2;}
20245 { echo "$as_me:$LINENO: WARNING: png.h: in the future, the compiler will take precedence" >&5
20246 echo "$as_me: WARNING: png.h: in the future, the compiler will take precedence" >&2;}
20249 ## ----------------------------------------- ##
20250 ## Report this to wx-dev@lists.wxwindows.org ##
20251 ## ----------------------------------------- ##
20254 sed "s/^/$as_me: WARNING: /" >&2
20257 echo "$as_me:$LINENO: checking for png.h" >&5
20258 echo $ECHO_N "checking for png.h... $ECHO_C" >&6
20259 if test "${ac_cv_header_png_h+set}" = set; then
20260 echo $ECHO_N "(cached) $ECHO_C" >&6
20262 ac_cv_header_png_h
=$ac_header_preproc
20264 echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
20265 echo "${ECHO_T}$ac_cv_header_png_h" >&6
20271 if test "$ac_cv_header_png_h" = "yes"; then
20272 echo "$as_me:$LINENO: checking for png_check_sig in -lpng" >&5
20273 echo $ECHO_N "checking for png_check_sig in -lpng... $ECHO_C" >&6
20274 if test "${ac_cv_lib_png_png_check_sig+set}" = set; then
20275 echo $ECHO_N "(cached) $ECHO_C" >&6
20277 ac_check_lib_save_LIBS
=$LIBS
20278 LIBS
="-lpng -lz -lm $LIBS"
20279 cat >conftest.
$ac_ext <<_ACEOF
20282 cat confdefs.h
>>conftest.
$ac_ext
20283 cat >>conftest.
$ac_ext <<_ACEOF
20284 /* end confdefs.h. */
20286 /* Override any gcc2 internal prototype to avoid an error. */
20290 /* We use char because int might match the return type of a gcc2
20291 builtin and then its argument prototype would still apply. */
20292 char png_check_sig ();
20301 rm -f conftest.
$ac_objext conftest
$ac_exeext
20302 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20303 (eval $ac_link) 2>conftest.er1
20305 grep -v '^ *+' conftest.er1
>conftest.err
20307 cat conftest.err
>&5
20308 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20309 (exit $ac_status); } &&
20310 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20311 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20312 (eval $ac_try) 2>&5
20314 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20315 (exit $ac_status); }; } &&
20316 { ac_try
='test -s conftest$ac_exeext'
20317 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20318 (eval $ac_try) 2>&5
20320 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20321 (exit $ac_status); }; }; then
20322 ac_cv_lib_png_png_check_sig
=yes
20324 echo "$as_me: failed program was:" >&5
20325 sed 's/^/| /' conftest.
$ac_ext >&5
20327 ac_cv_lib_png_png_check_sig
=no
20329 rm -f conftest.err conftest.
$ac_objext \
20330 conftest
$ac_exeext conftest.
$ac_ext
20331 LIBS
=$ac_check_lib_save_LIBS
20333 echo "$as_me:$LINENO: result: $ac_cv_lib_png_png_check_sig" >&5
20334 echo "${ECHO_T}$ac_cv_lib_png_png_check_sig" >&6
20335 if test $ac_cv_lib_png_png_check_sig = yes; then
20341 if test "x$PNG_LINK" = "x" ; then
20342 if test "$wxUSE_LIBPNG" = "sys" ; then
20343 { { echo "$as_me:$LINENO: error: system png library not found or too old! Use --with-libpng=builtin to use built-in version" >&5
20344 echo "$as_me: error: system png library not found or too old! Use --with-libpng=builtin to use built-in version" >&2;}
20345 { (exit 1); exit 1; }; }
20347 { echo "$as_me:$LINENO: WARNING: system png library not found or too old, will use built-in instead" >&5
20348 echo "$as_me: WARNING: system png library not found or too old, will use built-in instead" >&2;}
20349 wxUSE_LIBPNG
=builtin
20357 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS png"
20362 if test "$wxUSE_LIBJPEG" != "no" ; then
20363 cat >>confdefs.h
<<\_ACEOF
20364 #define wxUSE_LIBJPEG 1
20368 if test "$wxUSE_MGL" = 1 -a "$wxUSE_LIBJPEG" = "builtin" ; then
20369 { echo "$as_me:$LINENO: WARNING: wxMGL doesn't work with builtin jpeg library, will use MGL one instead" >&5
20370 echo "$as_me: WARNING: wxMGL doesn't work with builtin jpeg library, will use MGL one instead" >&2;}
20374 if test "$wxUSE_MGL" != 1 ; then
20375 if test "$wxUSE_LIBJPEG" = "sys" -o "$wxUSE_LIBJPEG" = "yes" ; then
20376 echo "$as_me:$LINENO: checking for jpeglib.h" >&5
20377 echo $ECHO_N "checking for jpeglib.h... $ECHO_C" >&6
20378 if test "${ac_cv_header_jpeglib_h+set}" = set; then
20379 echo $ECHO_N "(cached) $ECHO_C" >&6
20381 cat >conftest.
$ac_ext <<_ACEOF
20384 cat confdefs.h
>>conftest.
$ac_ext
20385 cat >>conftest.
$ac_ext <<_ACEOF
20386 /* end confdefs.h. */
20388 #undef HAVE_STDLIB_H
20390 #include <jpeglib.h>
20401 rm -f conftest.
$ac_objext
20402 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20403 (eval $ac_compile) 2>conftest.er1
20405 grep -v '^ *+' conftest.er1
>conftest.err
20407 cat conftest.err
>&5
20408 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20409 (exit $ac_status); } &&
20410 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20411 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20412 (eval $ac_try) 2>&5
20414 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20415 (exit $ac_status); }; } &&
20416 { ac_try
='test -s conftest.$ac_objext'
20417 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20418 (eval $ac_try) 2>&5
20420 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20421 (exit $ac_status); }; }; then
20422 ac_cv_header_jpeglib_h
=yes
20424 echo "$as_me: failed program was:" >&5
20425 sed 's/^/| /' conftest.
$ac_ext >&5
20427 ac_cv_header_jpeglib_h
=no
20430 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20434 echo "$as_me:$LINENO: result: $ac_cv_header_jpeglib_h" >&5
20435 echo "${ECHO_T}$ac_cv_header_jpeglib_h" >&6
20437 if test "$ac_cv_header_jpeglib_h" = "yes"; then
20438 echo "$as_me:$LINENO: checking for jpeg_read_header in -ljpeg" >&5
20439 echo $ECHO_N "checking for jpeg_read_header in -ljpeg... $ECHO_C" >&6
20440 if test "${ac_cv_lib_jpeg_jpeg_read_header+set}" = set; then
20441 echo $ECHO_N "(cached) $ECHO_C" >&6
20443 ac_check_lib_save_LIBS
=$LIBS
20444 LIBS
="-ljpeg $LIBS"
20445 cat >conftest.
$ac_ext <<_ACEOF
20448 cat confdefs.h
>>conftest.
$ac_ext
20449 cat >>conftest.
$ac_ext <<_ACEOF
20450 /* end confdefs.h. */
20452 /* Override any gcc2 internal prototype to avoid an error. */
20456 /* We use char because int might match the return type of a gcc2
20457 builtin and then its argument prototype would still apply. */
20458 char jpeg_read_header ();
20462 jpeg_read_header ();
20467 rm -f conftest.
$ac_objext conftest
$ac_exeext
20468 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20469 (eval $ac_link) 2>conftest.er1
20471 grep -v '^ *+' conftest.er1
>conftest.err
20473 cat conftest.err
>&5
20474 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20475 (exit $ac_status); } &&
20476 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20477 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20478 (eval $ac_try) 2>&5
20480 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20481 (exit $ac_status); }; } &&
20482 { ac_try
='test -s conftest$ac_exeext'
20483 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20484 (eval $ac_try) 2>&5
20486 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20487 (exit $ac_status); }; }; then
20488 ac_cv_lib_jpeg_jpeg_read_header
=yes
20490 echo "$as_me: failed program was:" >&5
20491 sed 's/^/| /' conftest.
$ac_ext >&5
20493 ac_cv_lib_jpeg_jpeg_read_header
=no
20495 rm -f conftest.err conftest.
$ac_objext \
20496 conftest
$ac_exeext conftest.
$ac_ext
20497 LIBS
=$ac_check_lib_save_LIBS
20499 echo "$as_me:$LINENO: result: $ac_cv_lib_jpeg_jpeg_read_header" >&5
20500 echo "${ECHO_T}$ac_cv_lib_jpeg_jpeg_read_header" >&6
20501 if test $ac_cv_lib_jpeg_jpeg_read_header = yes; then
20502 JPEG_LINK
=" -ljpeg"
20507 if test "x$JPEG_LINK" = "x" ; then
20508 if test "$wxUSE_LIBJPEG" = "sys" ; then
20509 { { echo "$as_me:$LINENO: error: system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" >&5
20510 echo "$as_me: error: system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" >&2;}
20511 { (exit 1); exit 1; }; }
20513 { echo "$as_me:$LINENO: WARNING: system jpeg library not found, will use built-in instead" >&5
20514 echo "$as_me: WARNING: system jpeg library not found, will use built-in instead" >&2;}
20515 wxUSE_LIBJPEG
=builtin
20526 TIFF_PREREQ_LINKS
=-lm
20527 if test "$wxUSE_LIBTIFF" != "no" ; then
20528 cat >>confdefs.h
<<\_ACEOF
20529 #define wxUSE_LIBTIFF 1
20533 if test "$wxUSE_LIBTIFF" = "sys" -o "$wxUSE_LIBTIFF" = "yes" ; then
20534 if test "$wxUSE_LIBJPEG" = "sys"; then
20535 TIFF_PREREQ_LINKS
="$TIFF_PREREQ_LINKS $JPEG_LINK"
20537 if test "$wxUSE_ZLIB" = "sys"; then
20538 TIFF_PREREQ_LINKS
="$TIFF_PREREQ_LINKS $ZLIB_LINK"
20540 if test "${ac_cv_header_tiffio_h+set}" = set; then
20541 echo "$as_me:$LINENO: checking for tiffio.h" >&5
20542 echo $ECHO_N "checking for tiffio.h... $ECHO_C" >&6
20543 if test "${ac_cv_header_tiffio_h+set}" = set; then
20544 echo $ECHO_N "(cached) $ECHO_C" >&6
20546 echo "$as_me:$LINENO: result: $ac_cv_header_tiffio_h" >&5
20547 echo "${ECHO_T}$ac_cv_header_tiffio_h" >&6
20549 # Is the header compilable?
20550 echo "$as_me:$LINENO: checking tiffio.h usability" >&5
20551 echo $ECHO_N "checking tiffio.h usability... $ECHO_C" >&6
20552 cat >conftest.
$ac_ext <<_ACEOF
20555 cat confdefs.h
>>conftest.
$ac_ext
20556 cat >>conftest.
$ac_ext <<_ACEOF
20557 /* end confdefs.h. */
20558 $ac_includes_default
20559 #include <tiffio.h>
20561 rm -f conftest.
$ac_objext
20562 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20563 (eval $ac_compile) 2>conftest.er1
20565 grep -v '^ *+' conftest.er1
>conftest.err
20567 cat conftest.err
>&5
20568 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20569 (exit $ac_status); } &&
20570 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20571 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20572 (eval $ac_try) 2>&5
20574 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20575 (exit $ac_status); }; } &&
20576 { ac_try
='test -s conftest.$ac_objext'
20577 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20578 (eval $ac_try) 2>&5
20580 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20581 (exit $ac_status); }; }; then
20582 ac_header_compiler
=yes
20584 echo "$as_me: failed program was:" >&5
20585 sed 's/^/| /' conftest.
$ac_ext >&5
20587 ac_header_compiler
=no
20589 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20590 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
20591 echo "${ECHO_T}$ac_header_compiler" >&6
20593 # Is the header present?
20594 echo "$as_me:$LINENO: checking tiffio.h presence" >&5
20595 echo $ECHO_N "checking tiffio.h presence... $ECHO_C" >&6
20596 cat >conftest.
$ac_ext <<_ACEOF
20599 cat confdefs.h
>>conftest.
$ac_ext
20600 cat >>conftest.
$ac_ext <<_ACEOF
20601 /* end confdefs.h. */
20602 #include <tiffio.h>
20604 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
20605 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
20607 grep -v '^ *+' conftest.er1
>conftest.err
20609 cat conftest.err
>&5
20610 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20611 (exit $ac_status); } >/dev
/null
; then
20612 if test -s conftest.err
; then
20613 ac_cpp_err
=$ac_c_preproc_warn_flag
20614 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
20621 if test -z "$ac_cpp_err"; then
20622 ac_header_preproc
=yes
20624 echo "$as_me: failed program was:" >&5
20625 sed 's/^/| /' conftest.
$ac_ext >&5
20627 ac_header_preproc
=no
20629 rm -f conftest.err conftest.
$ac_ext
20630 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
20631 echo "${ECHO_T}$ac_header_preproc" >&6
20633 # So? What about this header?
20634 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
20636 { echo "$as_me:$LINENO: WARNING: tiffio.h: accepted by the compiler, rejected by the preprocessor!" >&5
20637 echo "$as_me: WARNING: tiffio.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
20638 { echo "$as_me:$LINENO: WARNING: tiffio.h: proceeding with the compiler's result" >&5
20639 echo "$as_me: WARNING: tiffio.h: proceeding with the compiler's result" >&2;}
20640 ac_header_preproc
=yes
20643 { echo "$as_me:$LINENO: WARNING: tiffio.h: present but cannot be compiled" >&5
20644 echo "$as_me: WARNING: tiffio.h: present but cannot be compiled" >&2;}
20645 { echo "$as_me:$LINENO: WARNING: tiffio.h: check for missing prerequisite headers?" >&5
20646 echo "$as_me: WARNING: tiffio.h: check for missing prerequisite headers?" >&2;}
20647 { echo "$as_me:$LINENO: WARNING: tiffio.h: see the Autoconf documentation" >&5
20648 echo "$as_me: WARNING: tiffio.h: see the Autoconf documentation" >&2;}
20649 { echo "$as_me:$LINENO: WARNING: tiffio.h: section \"Present But Cannot Be Compiled\"" >&5
20650 echo "$as_me: WARNING: tiffio.h: section \"Present But Cannot Be Compiled\"" >&2;}
20651 { echo "$as_me:$LINENO: WARNING: tiffio.h: proceeding with the preprocessor's result" >&5
20652 echo "$as_me: WARNING: tiffio.h: proceeding with the preprocessor's result" >&2;}
20653 { echo "$as_me:$LINENO: WARNING: tiffio.h: in the future, the compiler will take precedence" >&5
20654 echo "$as_me: WARNING: tiffio.h: in the future, the compiler will take precedence" >&2;}
20657 ## ----------------------------------------- ##
20658 ## Report this to wx-dev@lists.wxwindows.org ##
20659 ## ----------------------------------------- ##
20662 sed "s/^/$as_me: WARNING: /" >&2
20665 echo "$as_me:$LINENO: checking for tiffio.h" >&5
20666 echo $ECHO_N "checking for tiffio.h... $ECHO_C" >&6
20667 if test "${ac_cv_header_tiffio_h+set}" = set; then
20668 echo $ECHO_N "(cached) $ECHO_C" >&6
20670 ac_cv_header_tiffio_h
=$ac_header_preproc
20672 echo "$as_me:$LINENO: result: $ac_cv_header_tiffio_h" >&5
20673 echo "${ECHO_T}$ac_cv_header_tiffio_h" >&6
20676 if test $ac_cv_header_tiffio_h = yes; then
20678 echo "$as_me:$LINENO: checking for TIFFError in -ltiff" >&5
20679 echo $ECHO_N "checking for TIFFError in -ltiff... $ECHO_C" >&6
20680 if test "${ac_cv_lib_tiff_TIFFError+set}" = set; then
20681 echo $ECHO_N "(cached) $ECHO_C" >&6
20683 ac_check_lib_save_LIBS
=$LIBS
20684 LIBS
="-ltiff $TIFF_PREREQ_LINKS $LIBS"
20685 cat >conftest.
$ac_ext <<_ACEOF
20688 cat confdefs.h
>>conftest.
$ac_ext
20689 cat >>conftest.
$ac_ext <<_ACEOF
20690 /* end confdefs.h. */
20692 /* Override any gcc2 internal prototype to avoid an error. */
20696 /* We use char because int might match the return type of a gcc2
20697 builtin and then its argument prototype would still apply. */
20707 rm -f conftest.
$ac_objext conftest
$ac_exeext
20708 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20709 (eval $ac_link) 2>conftest.er1
20711 grep -v '^ *+' conftest.er1
>conftest.err
20713 cat conftest.err
>&5
20714 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20715 (exit $ac_status); } &&
20716 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20717 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20718 (eval $ac_try) 2>&5
20720 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20721 (exit $ac_status); }; } &&
20722 { ac_try
='test -s conftest$ac_exeext'
20723 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20724 (eval $ac_try) 2>&5
20726 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20727 (exit $ac_status); }; }; then
20728 ac_cv_lib_tiff_TIFFError
=yes
20730 echo "$as_me: failed program was:" >&5
20731 sed 's/^/| /' conftest.
$ac_ext >&5
20733 ac_cv_lib_tiff_TIFFError
=no
20735 rm -f conftest.err conftest.
$ac_objext \
20736 conftest
$ac_exeext conftest.
$ac_ext
20737 LIBS
=$ac_check_lib_save_LIBS
20739 echo "$as_me:$LINENO: result: $ac_cv_lib_tiff_TIFFError" >&5
20740 echo "${ECHO_T}$ac_cv_lib_tiff_TIFFError" >&6
20741 if test $ac_cv_lib_tiff_TIFFError = yes; then
20742 TIFF_LINK
=" -ltiff"
20751 if test "x$TIFF_LINK" = "x" ; then
20752 if test "$wxUSE_LIBTIFF" = "sys" ; then
20753 { { echo "$as_me:$LINENO: error: system tiff library not found! Use --with-libtiff=builtin to use built-in version" >&5
20754 echo "$as_me: error: system tiff library not found! Use --with-libtiff=builtin to use built-in version" >&2;}
20755 { (exit 1); exit 1; }; }
20757 { echo "$as_me:$LINENO: WARNING: system tiff library not found, will use built-in instead" >&5
20758 echo "$as_me: WARNING: system tiff library not found, will use built-in instead" >&2;}
20759 wxUSE_LIBTIFF
=builtin
20768 if test "$wxUSE_EXPAT" != "no"; then
20770 cat >>confdefs.h
<<\_ACEOF
20771 #define wxUSE_EXPAT 1
20774 cat >>confdefs.h
<<\_ACEOF
20775 #define wxUSE_XML 1
20779 if test "$wxUSE_EXPAT" = "sys" -o "$wxUSE_EXPAT" = "yes" ; then
20780 if test "${ac_cv_header_expat_h+set}" = set; then
20781 echo "$as_me:$LINENO: checking for expat.h" >&5
20782 echo $ECHO_N "checking for expat.h... $ECHO_C" >&6
20783 if test "${ac_cv_header_expat_h+set}" = set; then
20784 echo $ECHO_N "(cached) $ECHO_C" >&6
20786 echo "$as_me:$LINENO: result: $ac_cv_header_expat_h" >&5
20787 echo "${ECHO_T}$ac_cv_header_expat_h" >&6
20789 # Is the header compilable?
20790 echo "$as_me:$LINENO: checking expat.h usability" >&5
20791 echo $ECHO_N "checking expat.h usability... $ECHO_C" >&6
20792 cat >conftest.
$ac_ext <<_ACEOF
20795 cat confdefs.h
>>conftest.
$ac_ext
20796 cat >>conftest.
$ac_ext <<_ACEOF
20797 /* end confdefs.h. */
20798 $ac_includes_default
20801 rm -f conftest.
$ac_objext
20802 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20803 (eval $ac_compile) 2>conftest.er1
20805 grep -v '^ *+' conftest.er1
>conftest.err
20807 cat conftest.err
>&5
20808 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20809 (exit $ac_status); } &&
20810 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20811 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20812 (eval $ac_try) 2>&5
20814 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20815 (exit $ac_status); }; } &&
20816 { ac_try
='test -s conftest.$ac_objext'
20817 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20818 (eval $ac_try) 2>&5
20820 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20821 (exit $ac_status); }; }; then
20822 ac_header_compiler
=yes
20824 echo "$as_me: failed program was:" >&5
20825 sed 's/^/| /' conftest.
$ac_ext >&5
20827 ac_header_compiler
=no
20829 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20830 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
20831 echo "${ECHO_T}$ac_header_compiler" >&6
20833 # Is the header present?
20834 echo "$as_me:$LINENO: checking expat.h presence" >&5
20835 echo $ECHO_N "checking expat.h presence... $ECHO_C" >&6
20836 cat >conftest.
$ac_ext <<_ACEOF
20839 cat confdefs.h
>>conftest.
$ac_ext
20840 cat >>conftest.
$ac_ext <<_ACEOF
20841 /* end confdefs.h. */
20844 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
20845 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
20847 grep -v '^ *+' conftest.er1
>conftest.err
20849 cat conftest.err
>&5
20850 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20851 (exit $ac_status); } >/dev
/null
; then
20852 if test -s conftest.err
; then
20853 ac_cpp_err
=$ac_c_preproc_warn_flag
20854 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
20861 if test -z "$ac_cpp_err"; then
20862 ac_header_preproc
=yes
20864 echo "$as_me: failed program was:" >&5
20865 sed 's/^/| /' conftest.
$ac_ext >&5
20867 ac_header_preproc
=no
20869 rm -f conftest.err conftest.
$ac_ext
20870 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
20871 echo "${ECHO_T}$ac_header_preproc" >&6
20873 # So? What about this header?
20874 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
20876 { echo "$as_me:$LINENO: WARNING: expat.h: accepted by the compiler, rejected by the preprocessor!" >&5
20877 echo "$as_me: WARNING: expat.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
20878 { echo "$as_me:$LINENO: WARNING: expat.h: proceeding with the compiler's result" >&5
20879 echo "$as_me: WARNING: expat.h: proceeding with the compiler's result" >&2;}
20880 ac_header_preproc
=yes
20883 { echo "$as_me:$LINENO: WARNING: expat.h: present but cannot be compiled" >&5
20884 echo "$as_me: WARNING: expat.h: present but cannot be compiled" >&2;}
20885 { echo "$as_me:$LINENO: WARNING: expat.h: check for missing prerequisite headers?" >&5
20886 echo "$as_me: WARNING: expat.h: check for missing prerequisite headers?" >&2;}
20887 { echo "$as_me:$LINENO: WARNING: expat.h: see the Autoconf documentation" >&5
20888 echo "$as_me: WARNING: expat.h: see the Autoconf documentation" >&2;}
20889 { echo "$as_me:$LINENO: WARNING: expat.h: section \"Present But Cannot Be Compiled\"" >&5
20890 echo "$as_me: WARNING: expat.h: section \"Present But Cannot Be Compiled\"" >&2;}
20891 { echo "$as_me:$LINENO: WARNING: expat.h: proceeding with the preprocessor's result" >&5
20892 echo "$as_me: WARNING: expat.h: proceeding with the preprocessor's result" >&2;}
20893 { echo "$as_me:$LINENO: WARNING: expat.h: in the future, the compiler will take precedence" >&5
20894 echo "$as_me: WARNING: expat.h: in the future, the compiler will take precedence" >&2;}
20897 ## ----------------------------------------- ##
20898 ## Report this to wx-dev@lists.wxwindows.org ##
20899 ## ----------------------------------------- ##
20902 sed "s/^/$as_me: WARNING: /" >&2
20905 echo "$as_me:$LINENO: checking for expat.h" >&5
20906 echo $ECHO_N "checking for expat.h... $ECHO_C" >&6
20907 if test "${ac_cv_header_expat_h+set}" = set; then
20908 echo $ECHO_N "(cached) $ECHO_C" >&6
20910 ac_cv_header_expat_h
=$ac_header_preproc
20912 echo "$as_me:$LINENO: result: $ac_cv_header_expat_h" >&5
20913 echo "${ECHO_T}$ac_cv_header_expat_h" >&6
20916 if test $ac_cv_header_expat_h = yes; then
20921 if test "x$found_expat_h" = "x1"; then
20922 echo "$as_me:$LINENO: checking if expat.h is valid C++ header" >&5
20923 echo $ECHO_N "checking if expat.h is valid C++ header... $ECHO_C" >&6
20924 if test "${wx_cv_expat_is_not_broken+set}" = set; then
20925 echo $ECHO_N "(cached) $ECHO_C" >&6
20931 ac_cpp
='$CXXCPP $CPPFLAGS'
20932 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20933 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20934 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
20936 cat >conftest.
$ac_ext <<_ACEOF
20939 cat confdefs.h
>>conftest.
$ac_ext
20940 cat >>conftest.
$ac_ext <<_ACEOF
20941 /* end confdefs.h. */
20951 rm -f conftest.
$ac_objext
20952 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20953 (eval $ac_compile) 2>conftest.er1
20955 grep -v '^ *+' conftest.er1
>conftest.err
20957 cat conftest.err
>&5
20958 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20959 (exit $ac_status); } &&
20960 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
20961 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20962 (eval $ac_try) 2>&5
20964 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20965 (exit $ac_status); }; } &&
20966 { ac_try
='test -s conftest.$ac_objext'
20967 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20968 (eval $ac_try) 2>&5
20970 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20971 (exit $ac_status); }; }; then
20972 wx_cv_expat_is_not_broken
=yes
20974 echo "$as_me: failed program was:" >&5
20975 sed 's/^/| /' conftest.
$ac_ext >&5
20977 wx_cv_expat_is_not_broken
=no
20980 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20982 ac_cpp
='$CPP $CPPFLAGS'
20983 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20984 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20985 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
20990 echo "$as_me:$LINENO: result: $wx_cv_expat_is_not_broken" >&5
20991 echo "${ECHO_T}$wx_cv_expat_is_not_broken" >&6
20992 if test "$wx_cv_expat_is_not_broken" = "yes" ; then
20993 echo "$as_me:$LINENO: checking for XML_ParserCreate in -lexpat" >&5
20994 echo $ECHO_N "checking for XML_ParserCreate in -lexpat... $ECHO_C" >&6
20995 if test "${ac_cv_lib_expat_XML_ParserCreate+set}" = set; then
20996 echo $ECHO_N "(cached) $ECHO_C" >&6
20998 ac_check_lib_save_LIBS
=$LIBS
20999 LIBS
="-lexpat $LIBS"
21000 cat >conftest.
$ac_ext <<_ACEOF
21003 cat confdefs.h
>>conftest.
$ac_ext
21004 cat >>conftest.
$ac_ext <<_ACEOF
21005 /* end confdefs.h. */
21007 /* Override any gcc2 internal prototype to avoid an error. */
21011 /* We use char because int might match the return type of a gcc2
21012 builtin and then its argument prototype would still apply. */
21013 char XML_ParserCreate ();
21017 XML_ParserCreate ();
21022 rm -f conftest.
$ac_objext conftest
$ac_exeext
21023 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21024 (eval $ac_link) 2>conftest.er1
21026 grep -v '^ *+' conftest.er1
>conftest.err
21028 cat conftest.err
>&5
21029 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21030 (exit $ac_status); } &&
21031 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
21032 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21033 (eval $ac_try) 2>&5
21035 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21036 (exit $ac_status); }; } &&
21037 { ac_try
='test -s conftest$ac_exeext'
21038 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21039 (eval $ac_try) 2>&5
21041 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21042 (exit $ac_status); }; }; then
21043 ac_cv_lib_expat_XML_ParserCreate
=yes
21045 echo "$as_me: failed program was:" >&5
21046 sed 's/^/| /' conftest.
$ac_ext >&5
21048 ac_cv_lib_expat_XML_ParserCreate
=no
21050 rm -f conftest.err conftest.
$ac_objext \
21051 conftest
$ac_exeext conftest.
$ac_ext
21052 LIBS
=$ac_check_lib_save_LIBS
21054 echo "$as_me:$LINENO: result: $ac_cv_lib_expat_XML_ParserCreate" >&5
21055 echo "${ECHO_T}$ac_cv_lib_expat_XML_ParserCreate" >&6
21056 if test $ac_cv_lib_expat_XML_ParserCreate = yes; then
21057 EXPAT_LINK
=" -lexpat"
21062 if test "x$EXPAT_LINK" = "x" ; then
21063 if test "$wxUSE_EXPAT" = "sys" ; then
21064 { { echo "$as_me:$LINENO: error: system expat library not found! Use --with-expat=builtin to use built-in version" >&5
21065 echo "$as_me: error: system expat library not found! Use --with-expat=builtin to use built-in version" >&2;}
21066 { (exit 1); exit 1; }; }
21068 { echo "$as_me:$LINENO: WARNING: system expat library not found, will use built-in instead" >&5
21069 echo "$as_me: WARNING: system expat library not found, will use built-in instead" >&2;}
21070 wxUSE_EXPAT
=builtin
21076 if test "$wxUSE_EXPAT" = "builtin" ; then
21079 subdirs
="$subdirs src/expat"
21086 if test "$wxUSE_LIBMSPACK" != "no"; then
21088 if test "${ac_cv_header_mspack_h+set}" = set; then
21089 echo "$as_me:$LINENO: checking for mspack.h" >&5
21090 echo $ECHO_N "checking for mspack.h... $ECHO_C" >&6
21091 if test "${ac_cv_header_mspack_h+set}" = set; then
21092 echo $ECHO_N "(cached) $ECHO_C" >&6
21094 echo "$as_me:$LINENO: result: $ac_cv_header_mspack_h" >&5
21095 echo "${ECHO_T}$ac_cv_header_mspack_h" >&6
21097 # Is the header compilable?
21098 echo "$as_me:$LINENO: checking mspack.h usability" >&5
21099 echo $ECHO_N "checking mspack.h usability... $ECHO_C" >&6
21100 cat >conftest.
$ac_ext <<_ACEOF
21103 cat confdefs.h
>>conftest.
$ac_ext
21104 cat >>conftest.
$ac_ext <<_ACEOF
21105 /* end confdefs.h. */
21106 $ac_includes_default
21107 #include <mspack.h>
21109 rm -f conftest.
$ac_objext
21110 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21111 (eval $ac_compile) 2>conftest.er1
21113 grep -v '^ *+' conftest.er1
>conftest.err
21115 cat conftest.err
>&5
21116 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21117 (exit $ac_status); } &&
21118 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
21119 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21120 (eval $ac_try) 2>&5
21122 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21123 (exit $ac_status); }; } &&
21124 { ac_try
='test -s conftest.$ac_objext'
21125 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21126 (eval $ac_try) 2>&5
21128 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21129 (exit $ac_status); }; }; then
21130 ac_header_compiler
=yes
21132 echo "$as_me: failed program was:" >&5
21133 sed 's/^/| /' conftest.
$ac_ext >&5
21135 ac_header_compiler
=no
21137 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21138 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
21139 echo "${ECHO_T}$ac_header_compiler" >&6
21141 # Is the header present?
21142 echo "$as_me:$LINENO: checking mspack.h presence" >&5
21143 echo $ECHO_N "checking mspack.h presence... $ECHO_C" >&6
21144 cat >conftest.
$ac_ext <<_ACEOF
21147 cat confdefs.h
>>conftest.
$ac_ext
21148 cat >>conftest.
$ac_ext <<_ACEOF
21149 /* end confdefs.h. */
21150 #include <mspack.h>
21152 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
21153 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
21155 grep -v '^ *+' conftest.er1
>conftest.err
21157 cat conftest.err
>&5
21158 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21159 (exit $ac_status); } >/dev
/null
; then
21160 if test -s conftest.err
; then
21161 ac_cpp_err
=$ac_c_preproc_warn_flag
21162 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
21169 if test -z "$ac_cpp_err"; then
21170 ac_header_preproc
=yes
21172 echo "$as_me: failed program was:" >&5
21173 sed 's/^/| /' conftest.
$ac_ext >&5
21175 ac_header_preproc
=no
21177 rm -f conftest.err conftest.
$ac_ext
21178 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
21179 echo "${ECHO_T}$ac_header_preproc" >&6
21181 # So? What about this header?
21182 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
21184 { echo "$as_me:$LINENO: WARNING: mspack.h: accepted by the compiler, rejected by the preprocessor!" >&5
21185 echo "$as_me: WARNING: mspack.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
21186 { echo "$as_me:$LINENO: WARNING: mspack.h: proceeding with the compiler's result" >&5
21187 echo "$as_me: WARNING: mspack.h: proceeding with the compiler's result" >&2;}
21188 ac_header_preproc
=yes
21191 { echo "$as_me:$LINENO: WARNING: mspack.h: present but cannot be compiled" >&5
21192 echo "$as_me: WARNING: mspack.h: present but cannot be compiled" >&2;}
21193 { echo "$as_me:$LINENO: WARNING: mspack.h: check for missing prerequisite headers?" >&5
21194 echo "$as_me: WARNING: mspack.h: check for missing prerequisite headers?" >&2;}
21195 { echo "$as_me:$LINENO: WARNING: mspack.h: see the Autoconf documentation" >&5
21196 echo "$as_me: WARNING: mspack.h: see the Autoconf documentation" >&2;}
21197 { echo "$as_me:$LINENO: WARNING: mspack.h: section \"Present But Cannot Be Compiled\"" >&5
21198 echo "$as_me: WARNING: mspack.h: section \"Present But Cannot Be Compiled\"" >&2;}
21199 { echo "$as_me:$LINENO: WARNING: mspack.h: proceeding with the preprocessor's result" >&5
21200 echo "$as_me: WARNING: mspack.h: proceeding with the preprocessor's result" >&2;}
21201 { echo "$as_me:$LINENO: WARNING: mspack.h: in the future, the compiler will take precedence" >&5
21202 echo "$as_me: WARNING: mspack.h: in the future, the compiler will take precedence" >&2;}
21205 ## ----------------------------------------- ##
21206 ## Report this to wx-dev@lists.wxwindows.org ##
21207 ## ----------------------------------------- ##
21210 sed "s/^/$as_me: WARNING: /" >&2
21213 echo "$as_me:$LINENO: checking for mspack.h" >&5
21214 echo $ECHO_N "checking for mspack.h... $ECHO_C" >&6
21215 if test "${ac_cv_header_mspack_h+set}" = set; then
21216 echo $ECHO_N "(cached) $ECHO_C" >&6
21218 ac_cv_header_mspack_h
=$ac_header_preproc
21220 echo "$as_me:$LINENO: result: $ac_cv_header_mspack_h" >&5
21221 echo "${ECHO_T}$ac_cv_header_mspack_h" >&6
21224 if test $ac_cv_header_mspack_h = yes; then
21229 if test "x$found_mspack_h" = "x1"; then
21230 echo "$as_me:$LINENO: checking for mspack_create_chm_decompressor in -lmspack" >&5
21231 echo $ECHO_N "checking for mspack_create_chm_decompressor in -lmspack... $ECHO_C" >&6
21232 if test "${ac_cv_lib_mspack_mspack_create_chm_decompressor+set}" = set; then
21233 echo $ECHO_N "(cached) $ECHO_C" >&6
21235 ac_check_lib_save_LIBS
=$LIBS
21236 LIBS
="-lmspack $LIBS"
21237 cat >conftest.
$ac_ext <<_ACEOF
21240 cat confdefs.h
>>conftest.
$ac_ext
21241 cat >>conftest.
$ac_ext <<_ACEOF
21242 /* end confdefs.h. */
21244 /* Override any gcc2 internal prototype to avoid an error. */
21248 /* We use char because int might match the return type of a gcc2
21249 builtin and then its argument prototype would still apply. */
21250 char mspack_create_chm_decompressor ();
21254 mspack_create_chm_decompressor ();
21259 rm -f conftest.
$ac_objext conftest
$ac_exeext
21260 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21261 (eval $ac_link) 2>conftest.er1
21263 grep -v '^ *+' conftest.er1
>conftest.err
21265 cat conftest.err
>&5
21266 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21267 (exit $ac_status); } &&
21268 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
21269 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21270 (eval $ac_try) 2>&5
21272 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21273 (exit $ac_status); }; } &&
21274 { ac_try
='test -s conftest$ac_exeext'
21275 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21276 (eval $ac_try) 2>&5
21278 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21279 (exit $ac_status); }; }; then
21280 ac_cv_lib_mspack_mspack_create_chm_decompressor
=yes
21282 echo "$as_me: failed program was:" >&5
21283 sed 's/^/| /' conftest.
$ac_ext >&5
21285 ac_cv_lib_mspack_mspack_create_chm_decompressor
=no
21287 rm -f conftest.err conftest.
$ac_objext \
21288 conftest
$ac_exeext conftest.
$ac_ext
21289 LIBS
=$ac_check_lib_save_LIBS
21291 echo "$as_me:$LINENO: result: $ac_cv_lib_mspack_mspack_create_chm_decompressor" >&5
21292 echo "${ECHO_T}$ac_cv_lib_mspack_mspack_create_chm_decompressor" >&6
21293 if test $ac_cv_lib_mspack_mspack_create_chm_decompressor = yes; then
21294 MSPACK_LINK
=" -lmspack"
21298 if test "x$MSPACK_LINK" = "x" ; then
21301 cat >>confdefs.h
<<\_ACEOF
21302 #define wxUSE_LIBMSPACK 1
21317 if test "$USE_WIN32" = 1 ; then
21319 for ac_header
in w32api.h
21321 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
21322 if eval "test \"\${$as_ac_Header+set}\" = set"; then
21323 echo "$as_me:$LINENO: checking for $ac_header" >&5
21324 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
21325 if eval "test \"\${$as_ac_Header+set}\" = set"; then
21326 echo $ECHO_N "(cached) $ECHO_C" >&6
21328 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
21329 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
21331 # Is the header compilable?
21332 echo "$as_me:$LINENO: checking $ac_header usability" >&5
21333 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
21334 cat >conftest.
$ac_ext <<_ACEOF
21337 cat confdefs.h
>>conftest.
$ac_ext
21338 cat >>conftest.
$ac_ext <<_ACEOF
21339 /* end confdefs.h. */
21340 $ac_includes_default
21341 #include <$ac_header>
21343 rm -f conftest.
$ac_objext
21344 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21345 (eval $ac_compile) 2>conftest.er1
21347 grep -v '^ *+' conftest.er1
>conftest.err
21349 cat conftest.err
>&5
21350 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21351 (exit $ac_status); } &&
21352 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
21353 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21354 (eval $ac_try) 2>&5
21356 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21357 (exit $ac_status); }; } &&
21358 { ac_try
='test -s conftest.$ac_objext'
21359 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21360 (eval $ac_try) 2>&5
21362 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21363 (exit $ac_status); }; }; then
21364 ac_header_compiler
=yes
21366 echo "$as_me: failed program was:" >&5
21367 sed 's/^/| /' conftest.
$ac_ext >&5
21369 ac_header_compiler
=no
21371 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21372 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
21373 echo "${ECHO_T}$ac_header_compiler" >&6
21375 # Is the header present?
21376 echo "$as_me:$LINENO: checking $ac_header presence" >&5
21377 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
21378 cat >conftest.
$ac_ext <<_ACEOF
21381 cat confdefs.h
>>conftest.
$ac_ext
21382 cat >>conftest.
$ac_ext <<_ACEOF
21383 /* end confdefs.h. */
21384 #include <$ac_header>
21386 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
21387 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
21389 grep -v '^ *+' conftest.er1
>conftest.err
21391 cat conftest.err
>&5
21392 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21393 (exit $ac_status); } >/dev
/null
; then
21394 if test -s conftest.err
; then
21395 ac_cpp_err
=$ac_c_preproc_warn_flag
21396 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
21403 if test -z "$ac_cpp_err"; then
21404 ac_header_preproc
=yes
21406 echo "$as_me: failed program was:" >&5
21407 sed 's/^/| /' conftest.
$ac_ext >&5
21409 ac_header_preproc
=no
21411 rm -f conftest.err conftest.
$ac_ext
21412 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
21413 echo "${ECHO_T}$ac_header_preproc" >&6
21415 # So? What about this header?
21416 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
21418 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
21419 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
21420 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
21421 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
21422 ac_header_preproc
=yes
21425 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
21426 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
21427 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
21428 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
21429 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
21430 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
21431 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
21432 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
21433 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
21434 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
21435 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
21436 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
21439 ## ----------------------------------------- ##
21440 ## Report this to wx-dev@lists.wxwindows.org ##
21441 ## ----------------------------------------- ##
21444 sed "s/^/$as_me: WARNING: /" >&2
21447 echo "$as_me:$LINENO: checking for $ac_header" >&5
21448 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
21449 if eval "test \"\${$as_ac_Header+set}\" = set"; then
21450 echo $ECHO_N "(cached) $ECHO_C" >&6
21452 eval "$as_ac_Header=\$ac_header_preproc"
21454 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
21455 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
21458 if test `eval echo '${'$as_ac_Header'}'` = yes; then
21459 cat >>confdefs.h
<<_ACEOF
21460 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
21467 if test "${ac_cv_header_windows_h+set}" = set; then
21468 echo "$as_me:$LINENO: checking for windows.h" >&5
21469 echo $ECHO_N "checking for windows.h... $ECHO_C" >&6
21470 if test "${ac_cv_header_windows_h+set}" = set; then
21471 echo $ECHO_N "(cached) $ECHO_C" >&6
21473 echo "$as_me:$LINENO: result: $ac_cv_header_windows_h" >&5
21474 echo "${ECHO_T}$ac_cv_header_windows_h" >&6
21476 # Is the header compilable?
21477 echo "$as_me:$LINENO: checking windows.h usability" >&5
21478 echo $ECHO_N "checking windows.h usability... $ECHO_C" >&6
21479 cat >conftest.
$ac_ext <<_ACEOF
21482 cat confdefs.h
>>conftest.
$ac_ext
21483 cat >>conftest.
$ac_ext <<_ACEOF
21484 /* end confdefs.h. */
21485 $ac_includes_default
21486 #include <windows.h>
21488 rm -f conftest.
$ac_objext
21489 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21490 (eval $ac_compile) 2>conftest.er1
21492 grep -v '^ *+' conftest.er1
>conftest.err
21494 cat conftest.err
>&5
21495 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21496 (exit $ac_status); } &&
21497 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
21498 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21499 (eval $ac_try) 2>&5
21501 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21502 (exit $ac_status); }; } &&
21503 { ac_try
='test -s conftest.$ac_objext'
21504 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21505 (eval $ac_try) 2>&5
21507 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21508 (exit $ac_status); }; }; then
21509 ac_header_compiler
=yes
21511 echo "$as_me: failed program was:" >&5
21512 sed 's/^/| /' conftest.
$ac_ext >&5
21514 ac_header_compiler
=no
21516 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21517 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
21518 echo "${ECHO_T}$ac_header_compiler" >&6
21520 # Is the header present?
21521 echo "$as_me:$LINENO: checking windows.h presence" >&5
21522 echo $ECHO_N "checking windows.h presence... $ECHO_C" >&6
21523 cat >conftest.
$ac_ext <<_ACEOF
21526 cat confdefs.h
>>conftest.
$ac_ext
21527 cat >>conftest.
$ac_ext <<_ACEOF
21528 /* end confdefs.h. */
21529 #include <windows.h>
21531 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
21532 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
21534 grep -v '^ *+' conftest.er1
>conftest.err
21536 cat conftest.err
>&5
21537 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21538 (exit $ac_status); } >/dev
/null
; then
21539 if test -s conftest.err
; then
21540 ac_cpp_err
=$ac_c_preproc_warn_flag
21541 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
21548 if test -z "$ac_cpp_err"; then
21549 ac_header_preproc
=yes
21551 echo "$as_me: failed program was:" >&5
21552 sed 's/^/| /' conftest.
$ac_ext >&5
21554 ac_header_preproc
=no
21556 rm -f conftest.err conftest.
$ac_ext
21557 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
21558 echo "${ECHO_T}$ac_header_preproc" >&6
21560 # So? What about this header?
21561 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
21563 { echo "$as_me:$LINENO: WARNING: windows.h: accepted by the compiler, rejected by the preprocessor!" >&5
21564 echo "$as_me: WARNING: windows.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
21565 { echo "$as_me:$LINENO: WARNING: windows.h: proceeding with the compiler's result" >&5
21566 echo "$as_me: WARNING: windows.h: proceeding with the compiler's result" >&2;}
21567 ac_header_preproc
=yes
21570 { echo "$as_me:$LINENO: WARNING: windows.h: present but cannot be compiled" >&5
21571 echo "$as_me: WARNING: windows.h: present but cannot be compiled" >&2;}
21572 { echo "$as_me:$LINENO: WARNING: windows.h: check for missing prerequisite headers?" >&5
21573 echo "$as_me: WARNING: windows.h: check for missing prerequisite headers?" >&2;}
21574 { echo "$as_me:$LINENO: WARNING: windows.h: see the Autoconf documentation" >&5
21575 echo "$as_me: WARNING: windows.h: see the Autoconf documentation" >&2;}
21576 { echo "$as_me:$LINENO: WARNING: windows.h: section \"Present But Cannot Be Compiled\"" >&5
21577 echo "$as_me: WARNING: windows.h: section \"Present But Cannot Be Compiled\"" >&2;}
21578 { echo "$as_me:$LINENO: WARNING: windows.h: proceeding with the preprocessor's result" >&5
21579 echo "$as_me: WARNING: windows.h: proceeding with the preprocessor's result" >&2;}
21580 { echo "$as_me:$LINENO: WARNING: windows.h: in the future, the compiler will take precedence" >&5
21581 echo "$as_me: WARNING: windows.h: in the future, the compiler will take precedence" >&2;}
21584 ## ----------------------------------------- ##
21585 ## Report this to wx-dev@lists.wxwindows.org ##
21586 ## ----------------------------------------- ##
21589 sed "s/^/$as_me: WARNING: /" >&2
21592 echo "$as_me:$LINENO: checking for windows.h" >&5
21593 echo $ECHO_N "checking for windows.h... $ECHO_C" >&6
21594 if test "${ac_cv_header_windows_h+set}" = set; then
21595 echo $ECHO_N "(cached) $ECHO_C" >&6
21597 ac_cv_header_windows_h
=$ac_header_preproc
21599 echo "$as_me:$LINENO: result: $ac_cv_header_windows_h" >&5
21600 echo "${ECHO_T}$ac_cv_header_windows_h" >&6
21603 if test $ac_cv_header_windows_h = yes; then
21607 { { echo "$as_me:$LINENO: error: please set CFLAGS to contain the location of windows.h" >&5
21608 echo "$as_me: error: please set CFLAGS to contain the location of windows.h" >&2;}
21609 { (exit 1); exit 1; }; }
21615 LIBS
="$LIBS -lwinspool -lwinmm -lshell32 -lcomctl32 -lcomdlg32 -lctl3d32 -ladvapi32 -lwsock32 -lgdi32"
21617 if test "$wxUSE_ACCESSIBILITY" = "yes" ; then
21618 LIBS
="$LIBS -loleacc"
21623 LIBS
="$LIBS -lkernel32 -luser32"
21624 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -D__WIN95__"
21627 if test "$wxUSE_ODBC" = "sys" ; then
21630 if test "$wxUSE_ODBC" = "yes" ; then
21631 LIBS
=" -lodbc32 -lole32 -loleaut32 $LIBS"
21632 cat >>confdefs.h
<<\_ACEOF
21633 #define wxUSE_ODBC 1
21638 RESFLAGS
="--include-dir \$(top_srcdir)/include --include-dir \$(top_srcdir)/\$(program_dir) --define __WIN32__ --define __WIN95__ --define __GNUWIN32__"
21639 RESPROGRAMOBJ
="\$(PROGRAM)_resources.o"
21641 WIN32INSTALL
=win32install
21644 if test "$wxUSE_GUI" = "yes"; then
21654 if test "$wxUSE_MSW" = 1 ; then
21660 WXCONFIG_LDFLAGS_GUI
="$LDFLAGS -Wl,--subsystem,windows -mwindows"
21664 if test "$wxUSE_GTK" = 1; then
21665 echo "$as_me:$LINENO: checking for GTK+ version" >&5
21666 echo $ECHO_N "checking for GTK+ version... $ECHO_C" >&6
21668 gtk_version_cached
=1
21669 if test "${wx_cv_lib_gtk+set}" = set; then
21670 echo $ECHO_N "(cached) $ECHO_C" >&6
21673 gtk_version_cached
=0
21674 echo "$as_me:$LINENO: result: " >&5
21675 echo "${ECHO_T}" >&6
21678 if test "$wxUSE_THREADS" = "yes"; then
21679 GTK_MODULES
=gthread
21683 if test "x$wxUSE_GTK2" = "xyes"; then
21684 # Check whether --enable-gtktest or --disable-gtktest was given.
21685 if test "${enable_gtktest+set}" = set; then
21686 enableval
="$enable_gtktest"
21692 pkg_config_args
=gtk
+-2.0
21693 for module
in .
$GTK_MODULES
21697 pkg_config_args
="$pkg_config_args gthread-2.0"
21704 # Extract the first word of "pkg-config", so it can be a program name with args.
21705 set dummy pkg
-config; ac_word
=$2
21706 echo "$as_me:$LINENO: checking for $ac_word" >&5
21707 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
21708 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
21709 echo $ECHO_N "(cached) $ECHO_C" >&6
21711 case $PKG_CONFIG in
21713 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
21716 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
21717 for as_dir
in $PATH
21720 test -z "$as_dir" && as_dir
=.
21721 for ac_exec_ext
in '' $ac_executable_extensions; do
21722 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
21723 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
21724 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
21730 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
21734 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
21736 if test -n "$PKG_CONFIG"; then
21737 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
21738 echo "${ECHO_T}$PKG_CONFIG" >&6
21740 echo "$as_me:$LINENO: result: no" >&5
21741 echo "${ECHO_T}no" >&6
21745 if test x
$PKG_CONFIG != xno
; then
21746 if pkg
-config --atleast-pkgconfig-version 0.7 ; then
21749 echo *** pkg
-config too old
; version
0.7 or better required.
21757 min_gtk_version
=2.0.0
21758 echo "$as_me:$LINENO: checking for GTK+ - version >= $min_gtk_version" >&5
21759 echo $ECHO_N "checking for GTK+ - version >= $min_gtk_version... $ECHO_C" >&6
21761 if test x
$PKG_CONFIG != xno
; then
21762 ## don't try to run the test against uninstalled libtool libs
21763 if $PKG_CONFIG --uninstalled $pkg_config_args; then
21764 echo "Will use uninstalled version of GTK+ found in PKG_CONFIG_PATH"
21768 if $PKG_CONFIG --atleast-version $min_gtk_version $pkg_config_args; then
21775 if test x
"$no_gtk" = x
; then
21776 GTK_CFLAGS
=`$PKG_CONFIG $pkg_config_args --cflags`
21777 GTK_LIBS
=`$PKG_CONFIG $pkg_config_args --libs`
21778 gtk_config_major_version
=`$PKG_CONFIG --modversion gtk+-2.0 | \
21779 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
21780 gtk_config_minor_version
=`$PKG_CONFIG --modversion gtk+-2.0 | \
21781 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
21782 gtk_config_micro_version
=`$PKG_CONFIG --modversion gtk+-2.0 | \
21783 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
21784 if test "x$enable_gtktest" = "xyes" ; then
21785 ac_save_CFLAGS
="$CFLAGS"
21786 ac_save_LIBS
="$LIBS"
21787 CFLAGS
="$CFLAGS $GTK_CFLAGS"
21788 LIBS
="$GTK_LIBS $LIBS"
21790 if test "$cross_compiling" = yes; then
21791 echo $ac_n "cross compiling; assumed OK... $ac_c"
21793 cat >conftest.
$ac_ext <<_ACEOF
21796 cat confdefs.h
>>conftest.
$ac_ext
21797 cat >>conftest.
$ac_ext <<_ACEOF
21798 /* end confdefs.h. */
21800 #include <gtk/gtk.h>
21802 #include <stdlib.h>
21807 int major, minor, micro;
21810 system ("touch conf.gtktest");
21812 /* HP/UX 9 (%@#!) writes to sscanf strings */
21813 tmp_version = g_strdup("$min_gtk_version");
21814 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
21815 printf("%s, bad version string\n", "$min_gtk_version");
21819 if ((gtk_major_version != $gtk_config_major_version) ||
21820 (gtk_minor_version != $gtk_config_minor_version) ||
21821 (gtk_micro_version != $gtk_config_micro_version))
21823 printf("\n*** 'pkg-config --modversion gtk+-2.0' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
21824 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
21825 gtk_major_version, gtk_minor_version, gtk_micro_version);
21826 printf ("*** was found! If pkg-config was correct, then it is best\n");
21827 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
21828 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
21829 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
21830 printf("*** required on your system.\n");
21831 printf("*** If pkg-config was wrong, set the environment variable PKG_CONFIG_PATH\n");
21832 printf("*** to point to the correct configuration files\n");
21834 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
21835 (gtk_minor_version != GTK_MINOR_VERSION) ||
21836 (gtk_micro_version != GTK_MICRO_VERSION))
21838 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
21839 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
21840 printf("*** library (version %d.%d.%d)\n",
21841 gtk_major_version, gtk_minor_version, gtk_micro_version);
21845 if ((gtk_major_version > major) ||
21846 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
21847 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
21853 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
21854 gtk_major_version, gtk_minor_version, gtk_micro_version);
21855 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
21856 major, minor, micro);
21857 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
21859 printf("*** If you have already installed a sufficiently new version, this error\n");
21860 printf("*** probably means that the wrong copy of the pkg-config shell script is\n");
21861 printf("*** being found. The easiest way to fix this is to remove the old version\n");
21862 printf("*** of GTK+, but you can also set the PKG_CONFIG environment to point to the\n");
21863 printf("*** correct copy of pkg-config. (In this case, you will have to\n");
21864 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
21865 printf("*** so that the correct libraries are found at run-time))\n");
21872 rm -f conftest
$ac_exeext
21873 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21874 (eval $ac_link) 2>&5
21876 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21877 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
21878 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21879 (eval $ac_try) 2>&5
21881 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21882 (exit $ac_status); }; }; then
21885 echo "$as_me: program exited with status $ac_status" >&5
21886 echo "$as_me: failed program was:" >&5
21887 sed 's/^/| /' conftest.
$ac_ext >&5
21889 ( exit $ac_status )
21892 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
21894 CFLAGS
="$ac_save_CFLAGS"
21895 LIBS
="$ac_save_LIBS"
21898 if test "x$no_gtk" = x
; then
21899 echo "$as_me:$LINENO: result: yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&5
21900 echo "${ECHO_T}yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&6
21903 echo "$as_me:$LINENO: result: no" >&5
21904 echo "${ECHO_T}no" >&6
21905 if test "$PKG_CONFIG" = "no" ; then
21906 echo "*** A new enough version of pkg-config was not found."
21907 echo "*** See http://pkgconfig.sourceforge.net"
21909 if test -f conf.gtktest
; then
21912 echo "*** Could not run GTK+ test program, checking why..."
21913 ac_save_CFLAGS
="$CFLAGS"
21914 ac_save_LIBS
="$LIBS"
21915 CFLAGS
="$CFLAGS $GTK_CFLAGS"
21916 LIBS
="$LIBS $GTK_LIBS"
21917 cat >conftest.
$ac_ext <<_ACEOF
21920 cat confdefs.h
>>conftest.
$ac_ext
21921 cat >>conftest.
$ac_ext <<_ACEOF
21922 /* end confdefs.h. */
21924 #include <gtk/gtk.h>
21930 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
21935 rm -f conftest.
$ac_objext conftest
$ac_exeext
21936 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21937 (eval $ac_link) 2>conftest.er1
21939 grep -v '^ *+' conftest.er1
>conftest.err
21941 cat conftest.err
>&5
21942 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21943 (exit $ac_status); } &&
21944 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
21945 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21946 (eval $ac_try) 2>&5
21948 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21949 (exit $ac_status); }; } &&
21950 { ac_try
='test -s conftest$ac_exeext'
21951 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21952 (eval $ac_try) 2>&5
21954 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21955 (exit $ac_status); }; }; then
21956 echo "*** The test program compiled, but did not run. This usually means"
21957 echo "*** that the run-time linker is not finding GTK+ or finding the wrong"
21958 echo "*** version of GTK+. If it is not finding GTK+, you'll need to set your"
21959 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
21960 echo "*** to the installed location Also, make sure you have run ldconfig if that"
21961 echo "*** is required on your system"
21963 echo "*** If you have an old version installed, it is best to remove it, although"
21964 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
21966 echo "$as_me: failed program was:" >&5
21967 sed 's/^/| /' conftest.
$ac_ext >&5
21969 echo "*** The test program failed to compile or link. See the file config.log for the"
21970 echo "*** exact error that occured. This usually means GTK+ is incorrectly installed."
21972 rm -f conftest.err conftest.
$ac_objext \
21973 conftest
$ac_exeext conftest.
$ac_ext
21974 CFLAGS
="$ac_save_CFLAGS"
21975 LIBS
="$ac_save_LIBS"
21988 # Check whether --with-gtk-prefix or --without-gtk-prefix was given.
21989 if test "${with_gtk_prefix+set}" = set; then
21990 withval
="$with_gtk_prefix"
21991 gtk_config_prefix
="$withval"
21993 gtk_config_prefix
=""
21996 # Check whether --with-gtk-exec-prefix or --without-gtk-exec-prefix was given.
21997 if test "${with_gtk_exec_prefix+set}" = set; then
21998 withval
="$with_gtk_exec_prefix"
21999 gtk_config_exec_prefix
="$withval"
22001 gtk_config_exec_prefix
=""
22003 # Check whether --enable-gtktest or --disable-gtktest was given.
22004 if test "${enable_gtktest+set}" = set; then
22005 enableval
="$enable_gtktest"
22011 for module
in .
$GTK_MODULES
22015 gtk_config_args
="$gtk_config_args gthread"
22020 if test x
$gtk_config_exec_prefix != x
; then
22021 gtk_config_args
="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
22022 if test x
${GTK_CONFIG+set} != xset
; then
22023 GTK_CONFIG
=$gtk_config_exec_prefix/bin
/gtk
-config
22026 if test x
$gtk_config_prefix != x
; then
22027 gtk_config_args
="$gtk_config_args --prefix=$gtk_config_prefix"
22028 if test x
${GTK_CONFIG+set} != xset
; then
22029 GTK_CONFIG
=$gtk_config_prefix/bin
/gtk
-config
22033 # Extract the first word of "gtk-config", so it can be a program name with args.
22034 set dummy gtk
-config; ac_word
=$2
22035 echo "$as_me:$LINENO: checking for $ac_word" >&5
22036 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
22037 if test "${ac_cv_path_GTK_CONFIG+set}" = set; then
22038 echo $ECHO_N "(cached) $ECHO_C" >&6
22040 case $GTK_CONFIG in
22042 ac_cv_path_GTK_CONFIG
="$GTK_CONFIG" # Let the user override the test with a path.
22045 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
22046 for as_dir
in $PATH
22049 test -z "$as_dir" && as_dir
=.
22050 for ac_exec_ext
in '' $ac_executable_extensions; do
22051 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
22052 ac_cv_path_GTK_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
22053 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
22059 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG
="no"
22063 GTK_CONFIG
=$ac_cv_path_GTK_CONFIG
22065 if test -n "$GTK_CONFIG"; then
22066 echo "$as_me:$LINENO: result: $GTK_CONFIG" >&5
22067 echo "${ECHO_T}$GTK_CONFIG" >&6
22069 echo "$as_me:$LINENO: result: no" >&5
22070 echo "${ECHO_T}no" >&6
22073 min_gtk_version
=1.2.7
22074 echo "$as_me:$LINENO: checking for GTK - version >= $min_gtk_version" >&5
22075 echo $ECHO_N "checking for GTK - version >= $min_gtk_version... $ECHO_C" >&6
22077 if test "$GTK_CONFIG" = "no" ; then
22080 GTK_CFLAGS
=`$GTK_CONFIG $gtk_config_args --cflags`
22081 GTK_LIBS
=`$GTK_CONFIG $gtk_config_args --libs`
22082 gtk_config_major_version
=`$GTK_CONFIG $gtk_config_args --version | \
22083 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
22084 gtk_config_minor_version
=`$GTK_CONFIG $gtk_config_args --version | \
22085 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
22086 gtk_config_micro_version
=`$GTK_CONFIG $gtk_config_args --version | \
22087 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
22088 if test "x$enable_gtktest" = "xyes" ; then
22089 ac_save_CFLAGS
="$CFLAGS"
22090 ac_save_LIBS
="$LIBS"
22091 CFLAGS
="$CFLAGS $GTK_CFLAGS"
22092 LIBS
="$GTK_LIBS $LIBS"
22094 if test "$cross_compiling" = yes; then
22095 echo $ac_n "cross compiling; assumed OK... $ac_c"
22097 cat >conftest.
$ac_ext <<_ACEOF
22100 cat confdefs.h
>>conftest.
$ac_ext
22101 cat >>conftest.
$ac_ext <<_ACEOF
22102 /* end confdefs.h. */
22104 #include <gtk/gtk.h>
22106 #include <stdlib.h>
22111 int major, minor, micro;
22114 system ("touch conf.gtktest");
22116 /* HP/UX 9 (%@#!) writes to sscanf strings */
22117 tmp_version = g_strdup("$min_gtk_version");
22118 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
22119 printf("%s, bad version string\n", "$min_gtk_version");
22123 if ((gtk_major_version != $gtk_config_major_version) ||
22124 (gtk_minor_version != $gtk_config_minor_version) ||
22125 (gtk_micro_version != $gtk_config_micro_version))
22127 printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
22128 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
22129 gtk_major_version, gtk_minor_version, gtk_micro_version);
22130 printf ("*** was found! If gtk-config was correct, then it is best\n");
22131 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
22132 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
22133 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
22134 printf("*** required on your system.\n");
22135 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
22136 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
22137 printf("*** before re-running configure\n");
22139 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
22140 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
22141 (gtk_minor_version != GTK_MINOR_VERSION) ||
22142 (gtk_micro_version != GTK_MICRO_VERSION))
22144 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
22145 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
22146 printf("*** library (version %d.%d.%d)\n",
22147 gtk_major_version, gtk_minor_version, gtk_micro_version);
22149 #endif /* defined (GTK_MAJOR_VERSION) ... */
22152 if ((gtk_major_version > major) ||
22153 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
22154 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
22160 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
22161 gtk_major_version, gtk_minor_version, gtk_micro_version);
22162 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
22163 major, minor, micro);
22164 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
22166 printf("*** If you have already installed a sufficiently new version, this error\n");
22167 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
22168 printf("*** being found. The easiest way to fix this is to remove the old version\n");
22169 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
22170 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
22171 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
22172 printf("*** so that the correct libraries are found at run-time))\n");
22179 rm -f conftest
$ac_exeext
22180 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22181 (eval $ac_link) 2>&5
22183 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22184 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
22185 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22186 (eval $ac_try) 2>&5
22188 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22189 (exit $ac_status); }; }; then
22192 echo "$as_me: program exited with status $ac_status" >&5
22193 echo "$as_me: failed program was:" >&5
22194 sed 's/^/| /' conftest.
$ac_ext >&5
22196 ( exit $ac_status )
22199 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
22201 CFLAGS
="$ac_save_CFLAGS"
22202 LIBS
="$ac_save_LIBS"
22205 if test "x$no_gtk" = x
; then
22206 echo "$as_me:$LINENO: result: yes" >&5
22207 echo "${ECHO_T}yes" >&6
22208 wx_cv_lib_gtk
=1.2.7
22210 echo "$as_me:$LINENO: result: no" >&5
22211 echo "${ECHO_T}no" >&6
22212 if test "$GTK_CONFIG" = "no" ; then
22213 echo "*** The gtk-config script installed by GTK could not be found"
22214 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
22215 echo "*** your path, or set the GTK_CONFIG environment variable to the"
22216 echo "*** full path to gtk-config."
22218 if test -f conf.gtktest
; then
22221 echo "*** Could not run GTK test program, checking why..."
22222 CFLAGS
="$CFLAGS $GTK_CFLAGS"
22223 LIBS
="$LIBS $GTK_LIBS"
22224 cat >conftest.
$ac_ext <<_ACEOF
22227 cat confdefs.h
>>conftest.
$ac_ext
22228 cat >>conftest.
$ac_ext <<_ACEOF
22229 /* end confdefs.h. */
22231 #include <gtk/gtk.h>
22237 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
22242 rm -f conftest.
$ac_objext conftest
$ac_exeext
22243 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22244 (eval $ac_link) 2>conftest.er1
22246 grep -v '^ *+' conftest.er1
>conftest.err
22248 cat conftest.err
>&5
22249 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22250 (exit $ac_status); } &&
22251 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
22252 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22253 (eval $ac_try) 2>&5
22255 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22256 (exit $ac_status); }; } &&
22257 { ac_try
='test -s conftest$ac_exeext'
22258 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22259 (eval $ac_try) 2>&5
22261 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22262 (exit $ac_status); }; }; then
22263 echo "*** The test program compiled, but did not run. This usually means"
22264 echo "*** that the run-time linker is not finding GTK or finding the wrong"
22265 echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
22266 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
22267 echo "*** to the installed location Also, make sure you have run ldconfig if that"
22268 echo "*** is required on your system"
22270 echo "*** If you have an old version installed, it is best to remove it, although"
22271 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
22273 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
22274 echo "*** came with the system with the command"
22276 echo "*** rpm --erase --nodeps gtk gtk-devel"
22278 echo "$as_me: failed program was:" >&5
22279 sed 's/^/| /' conftest.
$ac_ext >&5
22281 echo "*** The test program failed to compile or link. See the file config.log for the"
22282 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
22283 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
22284 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
22286 rm -f conftest.err conftest.
$ac_objext \
22287 conftest
$ac_exeext conftest.
$ac_ext
22288 CFLAGS
="$ac_save_CFLAGS"
22289 LIBS
="$ac_save_LIBS"
22301 if test -z "$wx_cv_lib_gtk"; then
22303 # Check whether --with-gtk-prefix or --without-gtk-prefix was given.
22304 if test "${with_gtk_prefix+set}" = set; then
22305 withval
="$with_gtk_prefix"
22306 gtk_config_prefix
="$withval"
22308 gtk_config_prefix
=""
22311 # Check whether --with-gtk-exec-prefix or --without-gtk-exec-prefix was given.
22312 if test "${with_gtk_exec_prefix+set}" = set; then
22313 withval
="$with_gtk_exec_prefix"
22314 gtk_config_exec_prefix
="$withval"
22316 gtk_config_exec_prefix
=""
22318 # Check whether --enable-gtktest or --disable-gtktest was given.
22319 if test "${enable_gtktest+set}" = set; then
22320 enableval
="$enable_gtktest"
22326 for module
in .
$GTK_MODULES
22330 gtk_config_args
="$gtk_config_args gthread"
22335 if test x
$gtk_config_exec_prefix != x
; then
22336 gtk_config_args
="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
22337 if test x
${GTK_CONFIG+set} != xset
; then
22338 GTK_CONFIG
=$gtk_config_exec_prefix/bin
/gtk
-config
22341 if test x
$gtk_config_prefix != x
; then
22342 gtk_config_args
="$gtk_config_args --prefix=$gtk_config_prefix"
22343 if test x
${GTK_CONFIG+set} != xset
; then
22344 GTK_CONFIG
=$gtk_config_prefix/bin
/gtk
-config
22348 # Extract the first word of "gtk-config", so it can be a program name with args.
22349 set dummy gtk
-config; ac_word
=$2
22350 echo "$as_me:$LINENO: checking for $ac_word" >&5
22351 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
22352 if test "${ac_cv_path_GTK_CONFIG+set}" = set; then
22353 echo $ECHO_N "(cached) $ECHO_C" >&6
22355 case $GTK_CONFIG in
22357 ac_cv_path_GTK_CONFIG
="$GTK_CONFIG" # Let the user override the test with a path.
22360 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
22361 for as_dir
in $PATH
22364 test -z "$as_dir" && as_dir
=.
22365 for ac_exec_ext
in '' $ac_executable_extensions; do
22366 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
22367 ac_cv_path_GTK_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
22368 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
22374 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG
="no"
22378 GTK_CONFIG
=$ac_cv_path_GTK_CONFIG
22380 if test -n "$GTK_CONFIG"; then
22381 echo "$as_me:$LINENO: result: $GTK_CONFIG" >&5
22382 echo "${ECHO_T}$GTK_CONFIG" >&6
22384 echo "$as_me:$LINENO: result: no" >&5
22385 echo "${ECHO_T}no" >&6
22388 min_gtk_version
=1.2.3
22389 echo "$as_me:$LINENO: checking for GTK - version >= $min_gtk_version" >&5
22390 echo $ECHO_N "checking for GTK - version >= $min_gtk_version... $ECHO_C" >&6
22392 if test "$GTK_CONFIG" = "no" ; then
22395 GTK_CFLAGS
=`$GTK_CONFIG $gtk_config_args --cflags`
22396 GTK_LIBS
=`$GTK_CONFIG $gtk_config_args --libs`
22397 gtk_config_major_version
=`$GTK_CONFIG $gtk_config_args --version | \
22398 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
22399 gtk_config_minor_version
=`$GTK_CONFIG $gtk_config_args --version | \
22400 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
22401 gtk_config_micro_version
=`$GTK_CONFIG $gtk_config_args --version | \
22402 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
22403 if test "x$enable_gtktest" = "xyes" ; then
22404 ac_save_CFLAGS
="$CFLAGS"
22405 ac_save_LIBS
="$LIBS"
22406 CFLAGS
="$CFLAGS $GTK_CFLAGS"
22407 LIBS
="$GTK_LIBS $LIBS"
22409 if test "$cross_compiling" = yes; then
22410 echo $ac_n "cross compiling; assumed OK... $ac_c"
22412 cat >conftest.
$ac_ext <<_ACEOF
22415 cat confdefs.h
>>conftest.
$ac_ext
22416 cat >>conftest.
$ac_ext <<_ACEOF
22417 /* end confdefs.h. */
22419 #include <gtk/gtk.h>
22421 #include <stdlib.h>
22426 int major, minor, micro;
22429 system ("touch conf.gtktest");
22431 /* HP/UX 9 (%@#!) writes to sscanf strings */
22432 tmp_version = g_strdup("$min_gtk_version");
22433 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
22434 printf("%s, bad version string\n", "$min_gtk_version");
22438 if ((gtk_major_version != $gtk_config_major_version) ||
22439 (gtk_minor_version != $gtk_config_minor_version) ||
22440 (gtk_micro_version != $gtk_config_micro_version))
22442 printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
22443 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
22444 gtk_major_version, gtk_minor_version, gtk_micro_version);
22445 printf ("*** was found! If gtk-config was correct, then it is best\n");
22446 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
22447 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
22448 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
22449 printf("*** required on your system.\n");
22450 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
22451 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
22452 printf("*** before re-running configure\n");
22454 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
22455 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
22456 (gtk_minor_version != GTK_MINOR_VERSION) ||
22457 (gtk_micro_version != GTK_MICRO_VERSION))
22459 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
22460 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
22461 printf("*** library (version %d.%d.%d)\n",
22462 gtk_major_version, gtk_minor_version, gtk_micro_version);
22464 #endif /* defined (GTK_MAJOR_VERSION) ... */
22467 if ((gtk_major_version > major) ||
22468 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
22469 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
22475 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
22476 gtk_major_version, gtk_minor_version, gtk_micro_version);
22477 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
22478 major, minor, micro);
22479 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
22481 printf("*** If you have already installed a sufficiently new version, this error\n");
22482 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
22483 printf("*** being found. The easiest way to fix this is to remove the old version\n");
22484 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
22485 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
22486 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
22487 printf("*** so that the correct libraries are found at run-time))\n");
22494 rm -f conftest
$ac_exeext
22495 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22496 (eval $ac_link) 2>&5
22498 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22499 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
22500 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22501 (eval $ac_try) 2>&5
22503 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22504 (exit $ac_status); }; }; then
22507 echo "$as_me: program exited with status $ac_status" >&5
22508 echo "$as_me: failed program was:" >&5
22509 sed 's/^/| /' conftest.
$ac_ext >&5
22511 ( exit $ac_status )
22514 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
22516 CFLAGS
="$ac_save_CFLAGS"
22517 LIBS
="$ac_save_LIBS"
22520 if test "x$no_gtk" = x
; then
22521 echo "$as_me:$LINENO: result: yes" >&5
22522 echo "${ECHO_T}yes" >&6
22523 wx_cv_lib_gtk
=1.2.3
22525 echo "$as_me:$LINENO: result: no" >&5
22526 echo "${ECHO_T}no" >&6
22527 if test "$GTK_CONFIG" = "no" ; then
22528 echo "*** The gtk-config script installed by GTK could not be found"
22529 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
22530 echo "*** your path, or set the GTK_CONFIG environment variable to the"
22531 echo "*** full path to gtk-config."
22533 if test -f conf.gtktest
; then
22536 echo "*** Could not run GTK test program, checking why..."
22537 CFLAGS
="$CFLAGS $GTK_CFLAGS"
22538 LIBS
="$LIBS $GTK_LIBS"
22539 cat >conftest.
$ac_ext <<_ACEOF
22542 cat confdefs.h
>>conftest.
$ac_ext
22543 cat >>conftest.
$ac_ext <<_ACEOF
22544 /* end confdefs.h. */
22546 #include <gtk/gtk.h>
22552 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
22557 rm -f conftest.
$ac_objext conftest
$ac_exeext
22558 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22559 (eval $ac_link) 2>conftest.er1
22561 grep -v '^ *+' conftest.er1
>conftest.err
22563 cat conftest.err
>&5
22564 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22565 (exit $ac_status); } &&
22566 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
22567 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22568 (eval $ac_try) 2>&5
22570 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22571 (exit $ac_status); }; } &&
22572 { ac_try
='test -s conftest$ac_exeext'
22573 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22574 (eval $ac_try) 2>&5
22576 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22577 (exit $ac_status); }; }; then
22578 echo "*** The test program compiled, but did not run. This usually means"
22579 echo "*** that the run-time linker is not finding GTK or finding the wrong"
22580 echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
22581 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
22582 echo "*** to the installed location Also, make sure you have run ldconfig if that"
22583 echo "*** is required on your system"
22585 echo "*** If you have an old version installed, it is best to remove it, although"
22586 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
22588 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
22589 echo "*** came with the system with the command"
22591 echo "*** rpm --erase --nodeps gtk gtk-devel"
22593 echo "$as_me: failed program was:" >&5
22594 sed 's/^/| /' conftest.
$ac_ext >&5
22596 echo "*** The test program failed to compile or link. See the file config.log for the"
22597 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
22598 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
22599 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
22601 rm -f conftest.err conftest.
$ac_objext \
22602 conftest
$ac_exeext conftest.
$ac_ext
22603 CFLAGS
="$ac_save_CFLAGS"
22604 LIBS
="$ac_save_LIBS"
22618 if test -z "$wx_cv_lib_gtk"; then
22621 wx_cv_cflags_gtk
=$GTK_CFLAGS
22622 wx_cv_libs_gtk
=$GTK_LIBS
22629 if test "$gtk_version_cached" = 1; then
22630 echo "$as_me:$LINENO: result: $wx_cv_lib_gtk" >&5
22631 echo "${ECHO_T}$wx_cv_lib_gtk" >&6
22634 case "$wx_cv_lib_gtk" in
22643 *) { { echo "$as_me:$LINENO: error:
22644 Please check that gtk-config is in path, the directory
22645 where GTK+ libraries are installed (returned by
22646 'gtk-config --libs' command) is in LD_LIBRARY_PATH or
22647 equivalent variable and GTK+ is version 1.2.3 or above.
22649 echo "$as_me: error:
22650 Please check that gtk-config is in path, the directory
22651 where GTK+ libraries are installed (returned by
22652 'gtk-config --libs' command) is in LD_LIBRARY_PATH or
22653 equivalent variable and GTK+ is version 1.2.3 or above.
22655 { (exit 1); exit 1; }; }
22659 if test "$WXGTK20" = 1; then
22660 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
22664 if test -z "$PKG_CONFIG"; then
22665 # Extract the first word of "pkg-config", so it can be a program name with args.
22666 set dummy pkg
-config; ac_word
=$2
22667 echo "$as_me:$LINENO: checking for $ac_word" >&5
22668 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
22669 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
22670 echo $ECHO_N "(cached) $ECHO_C" >&6
22672 case $PKG_CONFIG in
22674 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
22677 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
22678 for as_dir
in $PATH
22681 test -z "$as_dir" && as_dir
=.
22682 for ac_exec_ext
in '' $ac_executable_extensions; do
22683 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
22684 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
22685 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
22691 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
22695 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
22697 if test -n "$PKG_CONFIG"; then
22698 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
22699 echo "${ECHO_T}$PKG_CONFIG" >&6
22701 echo "$as_me:$LINENO: result: no" >&5
22702 echo "${ECHO_T}no" >&6
22707 if test "$PKG_CONFIG" = "no" ; then
22708 echo "*** The pkg-config script could not be found. Make sure it is"
22709 echo "*** in your path, or set the PKG_CONFIG environment variable"
22710 echo "*** to the full path to pkg-config."
22711 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
22713 PKG_CONFIG_MIN_VERSION
=0.9.0
22714 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
22715 echo "$as_me:$LINENO: checking for pangoft2" >&5
22716 echo $ECHO_N "checking for pangoft2... $ECHO_C" >&6
22718 if $PKG_CONFIG --exists "pangoft2" ; then
22719 echo "$as_me:$LINENO: result: yes" >&5
22720 echo "${ECHO_T}yes" >&6
22723 echo "$as_me:$LINENO: checking PANGOFT2_CFLAGS" >&5
22724 echo $ECHO_N "checking PANGOFT2_CFLAGS... $ECHO_C" >&6
22725 PANGOFT2_CFLAGS
=`$PKG_CONFIG --cflags "pangoft2"`
22726 echo "$as_me:$LINENO: result: $PANGOFT2_CFLAGS" >&5
22727 echo "${ECHO_T}$PANGOFT2_CFLAGS" >&6
22729 echo "$as_me:$LINENO: checking PANGOFT2_LIBS" >&5
22730 echo $ECHO_N "checking PANGOFT2_LIBS... $ECHO_C" >&6
22731 PANGOFT2_LIBS
=`$PKG_CONFIG --libs "pangoft2"`
22732 echo "$as_me:$LINENO: result: $PANGOFT2_LIBS" >&5
22733 echo "${ECHO_T}$PANGOFT2_LIBS" >&6
22737 ## If we have a custom action on failure, don't print errors, but
22738 ## do set a variable so people can do so.
22739 PANGOFT2_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoft2"`
22746 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
22747 echo "*** See http://www.freedesktop.org/software/pkgconfig"
22751 if test $succeeded = yes; then
22753 CXXFLAGS
="$CXXFLAGS $PANGOFT2_CFLAGS"
22754 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY $PANGOFT2_LIBS"
22758 { echo "$as_me:$LINENO: WARNING: pangoft2 library not found, library will be compiled without printing support" >&5
22759 echo "$as_me: WARNING: pangoft2 library not found, library will be compiled without printing support" >&2;}
22760 wxUSE_PRINTING_ARCHITECTURE
="no"
22767 if test "$wxUSE_UNICODE" = "yes"; then
22768 { echo "$as_me:$LINENO: WARNING: Unicode configuration not supported with GTK+ 1.x" >&5
22769 echo "$as_me: WARNING: Unicode configuration not supported with GTK+ 1.x" >&2;}
22774 if test "$USE_DARWIN" != 1; then
22776 for ac_func
in poll
22778 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
22779 echo "$as_me:$LINENO: checking for $ac_func" >&5
22780 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
22781 if eval "test \"\${$as_ac_var+set}\" = set"; then
22782 echo $ECHO_N "(cached) $ECHO_C" >&6
22784 cat >conftest.
$ac_ext <<_ACEOF
22787 cat confdefs.h
>>conftest.
$ac_ext
22788 cat >>conftest.
$ac_ext <<_ACEOF
22789 /* end confdefs.h. */
22790 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
22791 For example, HP-UX 11i <limits.h> declares gettimeofday. */
22792 #define $ac_func innocuous_$ac_func
22794 /* System header to define __stub macros and hopefully few prototypes,
22795 which can conflict with char $ac_func (); below.
22796 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
22797 <limits.h> exists even on freestanding compilers. */
22800 # include <limits.h>
22802 # include <assert.h>
22807 /* Override any gcc2 internal prototype to avoid an error. */
22812 /* We use char because int might match the return type of a gcc2
22813 builtin and then its argument prototype would still apply. */
22815 /* The GNU C library defines this for functions which it implements
22816 to always fail with ENOSYS. Some functions are actually named
22817 something starting with __ and the normal name is an alias. */
22818 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
22821 char (*f) () = $ac_func;
22830 return f != $ac_func;
22835 rm -f conftest.
$ac_objext conftest
$ac_exeext
22836 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22837 (eval $ac_link) 2>conftest.er1
22839 grep -v '^ *+' conftest.er1
>conftest.err
22841 cat conftest.err
>&5
22842 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22843 (exit $ac_status); } &&
22844 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
22845 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22846 (eval $ac_try) 2>&5
22848 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22849 (exit $ac_status); }; } &&
22850 { ac_try
='test -s conftest$ac_exeext'
22851 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22852 (eval $ac_try) 2>&5
22854 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22855 (exit $ac_status); }; }; then
22856 eval "$as_ac_var=yes"
22858 echo "$as_me: failed program was:" >&5
22859 sed 's/^/| /' conftest.
$ac_ext >&5
22861 eval "$as_ac_var=no"
22863 rm -f conftest.err conftest.
$ac_objext \
22864 conftest
$ac_exeext conftest.
$ac_ext
22866 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
22867 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
22868 if test `eval echo '${'$as_ac_var'}'` = yes; then
22869 cat >>confdefs.h
<<_ACEOF
22870 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
22878 TOOLKIT_INCLUDE
="$wx_cv_cflags_gtk"
22879 GUI_TK_LIBRARY
="$wx_cv_libs_gtk $GUI_TK_LIBRARY"
22881 AFMINSTALL
=afminstall
22885 echo "$as_me:$LINENO: checking for gdk_im_open in -lgdk" >&5
22886 echo $ECHO_N "checking for gdk_im_open in -lgdk... $ECHO_C" >&6
22887 if test "${ac_cv_lib_gdk_gdk_im_open+set}" = set; then
22888 echo $ECHO_N "(cached) $ECHO_C" >&6
22890 ac_check_lib_save_LIBS
=$LIBS
22892 cat >conftest.
$ac_ext <<_ACEOF
22895 cat confdefs.h
>>conftest.
$ac_ext
22896 cat >>conftest.
$ac_ext <<_ACEOF
22897 /* end confdefs.h. */
22899 /* Override any gcc2 internal prototype to avoid an error. */
22903 /* We use char because int might match the return type of a gcc2
22904 builtin and then its argument prototype would still apply. */
22905 char gdk_im_open ();
22914 rm -f conftest.
$ac_objext conftest
$ac_exeext
22915 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22916 (eval $ac_link) 2>conftest.er1
22918 grep -v '^ *+' conftest.er1
>conftest.err
22920 cat conftest.err
>&5
22921 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22922 (exit $ac_status); } &&
22923 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
22924 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22925 (eval $ac_try) 2>&5
22927 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22928 (exit $ac_status); }; } &&
22929 { ac_try
='test -s conftest$ac_exeext'
22930 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22931 (eval $ac_try) 2>&5
22933 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22934 (exit $ac_status); }; }; then
22935 ac_cv_lib_gdk_gdk_im_open
=yes
22937 echo "$as_me: failed program was:" >&5
22938 sed 's/^/| /' conftest.
$ac_ext >&5
22940 ac_cv_lib_gdk_gdk_im_open
=no
22942 rm -f conftest.err conftest.
$ac_objext \
22943 conftest
$ac_exeext conftest.
$ac_ext
22944 LIBS
=$ac_check_lib_save_LIBS
22946 echo "$as_me:$LINENO: result: $ac_cv_lib_gdk_gdk_im_open" >&5
22947 echo "${ECHO_T}$ac_cv_lib_gdk_gdk_im_open" >&6
22948 if test $ac_cv_lib_gdk_gdk_im_open = yes; then
22949 cat >>confdefs.h
<<\_ACEOF
22957 if test "$wxUSE_GPE" = "yes"; then
22958 echo "$as_me:$LINENO: checking for gpewidget library" >&5
22959 echo $ECHO_N "checking for gpewidget library... $ECHO_C" >&6
22962 for ac_dir
in $SEARCH_LIB /usr
/lib
;
22964 for ac_extension
in a so sl dylib
; do
22965 if test -f "$ac_dir/libgpewidget.$ac_extension"; then
22966 ac_find_libraries
=$ac_dir
22972 if test "$ac_find_libraries" != "" ; then
22974 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev
/null
22976 if test $result = 0; then
22979 ac_path_to_link
=" -L$ac_find_libraries"
22982 GUI_TK_LIBRARY
="-L${prefix}/lib -lgpewidget $GUI_TK_LIBRARY"
22984 echo "$as_me:$LINENO: result: found at $ac_find_libraries" >&5
22985 echo "${ECHO_T}found at $ac_find_libraries" >&6
22987 echo "$as_me:$LINENO: result: not found" >&5
22988 echo "${ECHO_T}not found" >&6
22994 if test "$wxUSE_MGL" = 1; then
22995 echo "$as_me:$LINENO: checking for SciTech MGL library" >&5
22996 echo $ECHO_N "checking for SciTech MGL library... $ECHO_C" >&6
22997 if test "x$MGL_ROOT" = x
; then
22998 echo "$as_me:$LINENO: result: not found" >&5
22999 echo "${ECHO_T}not found" >&6
23000 { { echo "$as_me:$LINENO: error: Cannot find MGL library. Make sure MGL_ROOT is set." >&5
23001 echo "$as_me: error: Cannot find MGL library. Make sure MGL_ROOT is set." >&2;}
23002 { (exit 1); exit 1; }; }
23004 echo "$as_me:$LINENO: result: $MGL_ROOT" >&5
23005 echo "${ECHO_T}$MGL_ROOT" >&6
23008 echo "$as_me:$LINENO: checking for libmgl location" >&5
23009 echo $ECHO_N "checking for libmgl location... $ECHO_C" >&6
23012 if test "x$wxUSE_SHARED" = xyes
; then
23013 mgl_os_candidates
="linux/gcc/x86/so linux/gcc/x86/a linux/gcc/glibc.so linux/gcc/glibc"
23015 mgl_os_candidates
="linux/gcc/x86/a linux/gcc/x86/so linux/gcc/glibc linux/gcc/glibc.so"
23019 mgl_os_candidates
="dos32/dj2"
23022 { { echo "$as_me:$LINENO: error: This system type ${host} is not yet supported by wxMGL." >&5
23023 echo "$as_me: error: This system type ${host} is not yet supported by wxMGL." >&2;}
23024 { (exit 1); exit 1; }; }
23030 for mgl_os_i
in $mgl_os_candidates ; do
23031 if test "x$mgl_os" = x
; then
23032 if test "$wxUSE_DEBUG_FLAG" = yes ; then
23033 if test -f $MGL_ROOT/lib
/debug
/$mgl_os_i/libmgl.a
-o \
23034 -f $MGL_ROOT/lib
/debug
/$mgl_os_i/libmgl.so
; then
23039 if test "x$mgl_lib_type" = x
; then
23040 if test -f $MGL_ROOT/lib
/release
/$mgl_os_i/libmgl.a
-o \
23041 -f $MGL_ROOT/lib
/release
/$mgl_os_i/libmgl.so
; then
23042 mgl_lib_type
=release
23049 if test "x$mgl_os" = x
; then
23050 echo "$as_me:$LINENO: result: not found" >&5
23051 echo "${ECHO_T}not found" >&6
23052 { { echo "$as_me:$LINENO: error: Cannot find MGL libraries, make sure they are compiled." >&5
23053 echo "$as_me: error: Cannot find MGL libraries, make sure they are compiled." >&2;}
23054 { (exit 1); exit 1; }; }
23056 echo "$as_me:$LINENO: result: \"$MGL_ROOT/lib/$mgl_lib_type/$mgl_os\"" >&5
23057 echo "${ECHO_T}\"$MGL_ROOT/lib/$mgl_lib_type/$mgl_os\"" >&6
23059 wxUSE_UNIVERSAL
="yes"
23061 TOOLKIT_INCLUDE
="-I$MGL_ROOT/include"
23062 GUI_TK_LIBRARY
="-L$MGL_ROOT/lib/$mgl_lib_type/$mgl_os -lmgl -lmglcpp -lpm"
23064 AFMINSTALL
=afminstall
23069 if test "$wxUSE_MICROWIN" = 1; then
23070 echo "$as_me:$LINENO: checking for MicroWindows" >&5
23071 echo $ECHO_N "checking for MicroWindows... $ECHO_C" >&6
23072 if test "x$MICROWINDOWS" = x
; then
23073 echo "$as_me:$LINENO: result: not found" >&5
23074 echo "${ECHO_T}not found" >&6
23075 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows library. Make sure MICROWINDOWS is set." >&5
23076 echo "$as_me: error: Cannot find MicroWindows library. Make sure MICROWINDOWS is set." >&2;}
23077 { (exit 1); exit 1; }; }
23079 echo "$as_me:$LINENO: result: $MICROWINDOWS" >&5
23080 echo "${ECHO_T}$MICROWINDOWS" >&6
23083 if test -f $MICROWINDOWS/lib
/libmwin.a
; then
23084 echo "$as_me:$LINENO: result: MicroWindows' libraries found." >&5
23085 echo "${ECHO_T}MicroWindows' libraries found." >&6
23087 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows libraries, make sure they are compiled." >&5
23088 echo "$as_me: error: Cannot find MicroWindows libraries, make sure they are compiled." >&2;}
23089 { (exit 1); exit 1; }; }
23092 TOOLKIT_INCLUDE
="-I$MICROWINDOWS/include"
23093 GUI_TK_LIBRARY
="-L$MICROWINDOWS/lib -lmwin -lmwengine -mwfonts -mwdrivers -mwinlib"
23095 wxUSE_UNIVERSAL
="yes"
23097 AFMINSTALL
=afminstall
23099 GUIDIST
=MICROWIN_DIST
23101 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -D__WXMSW__ -D__WIN95__ -D__WIN32__ -DMWIN -DMICROWIN_NOCONTROLS -DMICROWIN_TODO=1"
23104 if test "$wxUSE_X11" = 1; then
23105 echo "$as_me:$LINENO: checking for X" >&5
23106 echo $ECHO_N "checking for X... $ECHO_C" >&6
23109 # Check whether --with-x or --without-x was given.
23110 if test "${with_x+set}" = set; then
23114 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
23115 if test "x$with_x" = xno
; then
23116 # The user explicitly disabled X.
23119 if test "x$x_includes" != xNONE
&& test "x$x_libraries" != xNONE
; then
23120 # Both variables are already set.
23123 if test "${ac_cv_have_x+set}" = set; then
23124 echo $ECHO_N "(cached) $ECHO_C" >&6
23126 # One or both of the vars are not set, and there is no cached value.
23127 ac_x_includes
=no ac_x_libraries
=no
23128 rm -fr conftest.dir
23129 if mkdir conftest.dir
; then
23131 # Make sure to not put "make" in the Imakefile rules, since we grep it out.
23132 cat >Imakefile
<<'_ACEOF'
23134 @echo 'ac_im_incroot="${INCROOT}"; ac_im_usrlibdir="${USRLIBDIR}"; ac_im_libdir="${LIBDIR}"'
23136 if (xmkmf
) >/dev
/null
2>/dev
/null
&& test -f Makefile
; then
23137 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
23138 eval `${MAKE-make} acfindx 2>/dev/null | grep -v make`
23139 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
23140 for ac_extension
in a so sl
; do
23141 if test ! -f $ac_im_usrlibdir/libX11.
$ac_extension &&
23142 test -f $ac_im_libdir/libX11.
$ac_extension; then
23143 ac_im_usrlibdir
=$ac_im_libdir; break
23146 # Screen out bogus values from the imake configuration. They are
23147 # bogus both because they are the default anyway, and because
23148 # using them would break gcc on systems where it needs fixed includes.
23149 case $ac_im_incroot in
23151 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes
=$ac_im_incroot;;
23153 case $ac_im_usrlibdir in
23154 /usr
/lib
| /lib
) ;;
23155 *) test -d "$ac_im_usrlibdir" && ac_x_libraries
=$ac_im_usrlibdir ;;
23159 rm -fr conftest.dir
23162 # Standard set of common directories for X headers.
23163 # Check X11 before X11Rn because it is often a symlink to the current release.
23175 /usr/local/X11/include
23176 /usr/local/X11R6/include
23177 /usr/local/X11R5/include
23178 /usr/local/X11R4/include
23180 /usr/local/include/X11
23181 /usr/local/include/X11R6
23182 /usr/local/include/X11R5
23183 /usr/local/include/X11R4
23187 /usr/XFree86/include/X11
23191 /usr/unsupported/include
23192 /usr/athena/include
23193 /usr/local/x11r5/include
23194 /usr/lpp/Xamples/include
23196 /usr/openwin/include
23197 /usr/openwin/share/include'
23199 if test "$ac_x_includes" = no
; then
23200 # Guess where to find include files, by looking for Intrinsic.h.
23201 # First, try using that file with no special directory specified.
23202 cat >conftest.
$ac_ext <<_ACEOF
23205 cat confdefs.h
>>conftest.
$ac_ext
23206 cat >>conftest.
$ac_ext <<_ACEOF
23207 /* end confdefs.h. */
23208 #include <X11/Intrinsic.h>
23210 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
23211 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
23213 grep -v '^ *+' conftest.er1
>conftest.err
23215 cat conftest.err
>&5
23216 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23217 (exit $ac_status); } >/dev
/null
; then
23218 if test -s conftest.err
; then
23219 ac_cpp_err
=$ac_c_preproc_warn_flag
23220 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
23227 if test -z "$ac_cpp_err"; then
23228 # We can compile using X headers with no special include directory.
23231 echo "$as_me: failed program was:" >&5
23232 sed 's/^/| /' conftest.
$ac_ext >&5
23234 for ac_dir
in $ac_x_header_dirs; do
23235 if test -r "$ac_dir/X11/Intrinsic.h"; then
23236 ac_x_includes
=$ac_dir
23241 rm -f conftest.err conftest.
$ac_ext
23242 fi # $ac_x_includes = no
23244 if test "$ac_x_libraries" = no
; then
23245 # Check for the libraries.
23246 # See if we find them without any special options.
23247 # Don't add to $LIBS permanently.
23250 cat >conftest.
$ac_ext <<_ACEOF
23253 cat confdefs.h
>>conftest.
$ac_ext
23254 cat >>conftest.
$ac_ext <<_ACEOF
23255 /* end confdefs.h. */
23256 #include <X11/Intrinsic.h>
23265 rm -f conftest.
$ac_objext conftest
$ac_exeext
23266 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23267 (eval $ac_link) 2>conftest.er1
23269 grep -v '^ *+' conftest.er1
>conftest.err
23271 cat conftest.err
>&5
23272 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23273 (exit $ac_status); } &&
23274 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
23275 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23276 (eval $ac_try) 2>&5
23278 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23279 (exit $ac_status); }; } &&
23280 { ac_try
='test -s conftest$ac_exeext'
23281 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23282 (eval $ac_try) 2>&5
23284 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23285 (exit $ac_status); }; }; then
23287 # We can link X programs with no special library path.
23290 echo "$as_me: failed program was:" >&5
23291 sed 's/^/| /' conftest.
$ac_ext >&5
23294 for ac_dir
in `echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
23296 # Don't even attempt the hair of trying to link an X program!
23297 for ac_extension
in a so sl
; do
23298 if test -r $ac_dir/libXt.
$ac_extension; then
23299 ac_x_libraries
=$ac_dir
23305 rm -f conftest.err conftest.
$ac_objext \
23306 conftest
$ac_exeext conftest.
$ac_ext
23307 fi # $ac_x_libraries = no
23309 if test "$ac_x_includes" = no
|| test "$ac_x_libraries" = no
; then
23310 # Didn't find X anywhere. Cache the known absence of X.
23311 ac_cv_have_x
="have_x=no"
23313 # Record where we found X for the cache.
23314 ac_cv_have_x
="have_x=yes \
23315 ac_x_includes=$ac_x_includes ac_x_libraries=$ac_x_libraries"
23320 eval "$ac_cv_have_x"
23323 if test "$have_x" != yes; then
23324 echo "$as_me:$LINENO: result: $have_x" >&5
23325 echo "${ECHO_T}$have_x" >&6
23328 # If each of the values was on the command line, it overrides each guess.
23329 test "x$x_includes" = xNONE
&& x_includes
=$ac_x_includes
23330 test "x$x_libraries" = xNONE
&& x_libraries
=$ac_x_libraries
23331 # Update the cache value to reflect the command line values.
23332 ac_cv_have_x
="have_x=yes \
23333 ac_x_includes=$x_includes ac_x_libraries=$x_libraries"
23334 echo "$as_me:$LINENO: result: libraries $x_libraries, headers $x_includes" >&5
23335 echo "${ECHO_T}libraries $x_libraries, headers $x_includes" >&6
23338 if test "$no_x" = yes; then
23339 # Not all programs may use this symbol, but it does not hurt to define it.
23341 cat >>confdefs.h
<<\_ACEOF
23342 #define X_DISPLAY_MISSING 1
23345 X_CFLAGS
= X_PRE_LIBS
= X_LIBS
= X_EXTRA_LIBS
=
23347 if test -n "$x_includes"; then
23348 X_CFLAGS
="$X_CFLAGS -I$x_includes"
23351 # It would also be nice to do this for all -L options, not just this one.
23352 if test -n "$x_libraries"; then
23353 X_LIBS
="$X_LIBS -L$x_libraries"
23354 # For Solaris; some versions of Sun CC require a space after -R and
23355 # others require no space. Words are not sufficient . . . .
23356 case `(uname -sr) 2>/dev/null` in
23358 echo "$as_me:$LINENO: checking whether -R must be followed by a space" >&5
23359 echo $ECHO_N "checking whether -R must be followed by a space... $ECHO_C" >&6
23360 ac_xsave_LIBS
=$LIBS; LIBS
="$LIBS -R$x_libraries"
23361 cat >conftest.
$ac_ext <<_ACEOF
23364 cat confdefs.h
>>conftest.
$ac_ext
23365 cat >>conftest.
$ac_ext <<_ACEOF
23366 /* end confdefs.h. */
23376 rm -f conftest.
$ac_objext conftest
$ac_exeext
23377 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23378 (eval $ac_link) 2>conftest.er1
23380 grep -v '^ *+' conftest.er1
>conftest.err
23382 cat conftest.err
>&5
23383 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23384 (exit $ac_status); } &&
23385 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
23386 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23387 (eval $ac_try) 2>&5
23389 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23390 (exit $ac_status); }; } &&
23391 { ac_try
='test -s conftest$ac_exeext'
23392 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23393 (eval $ac_try) 2>&5
23395 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23396 (exit $ac_status); }; }; then
23399 echo "$as_me: failed program was:" >&5
23400 sed 's/^/| /' conftest.
$ac_ext >&5
23404 rm -f conftest.err conftest.
$ac_objext \
23405 conftest
$ac_exeext conftest.
$ac_ext
23406 if test $ac_R_nospace = yes; then
23407 echo "$as_me:$LINENO: result: no" >&5
23408 echo "${ECHO_T}no" >&6
23409 X_LIBS
="$X_LIBS -R$x_libraries"
23411 LIBS
="$ac_xsave_LIBS -R $x_libraries"
23412 cat >conftest.
$ac_ext <<_ACEOF
23415 cat confdefs.h
>>conftest.
$ac_ext
23416 cat >>conftest.
$ac_ext <<_ACEOF
23417 /* end confdefs.h. */
23427 rm -f conftest.
$ac_objext conftest
$ac_exeext
23428 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23429 (eval $ac_link) 2>conftest.er1
23431 grep -v '^ *+' conftest.er1
>conftest.err
23433 cat conftest.err
>&5
23434 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23435 (exit $ac_status); } &&
23436 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
23437 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23438 (eval $ac_try) 2>&5
23440 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23441 (exit $ac_status); }; } &&
23442 { ac_try
='test -s conftest$ac_exeext'
23443 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23444 (eval $ac_try) 2>&5
23446 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23447 (exit $ac_status); }; }; then
23450 echo "$as_me: failed program was:" >&5
23451 sed 's/^/| /' conftest.
$ac_ext >&5
23455 rm -f conftest.err conftest.
$ac_objext \
23456 conftest
$ac_exeext conftest.
$ac_ext
23457 if test $ac_R_space = yes; then
23458 echo "$as_me:$LINENO: result: yes" >&5
23459 echo "${ECHO_T}yes" >&6
23460 X_LIBS
="$X_LIBS -R $x_libraries"
23462 echo "$as_me:$LINENO: result: neither works" >&5
23463 echo "${ECHO_T}neither works" >&6
23466 LIBS
=$ac_xsave_LIBS
23470 # Check for system-dependent libraries X programs must link with.
23471 # Do this before checking for the system-independent R6 libraries
23472 # (-lICE), since we may need -lsocket or whatever for X linking.
23474 if test "$ISC" = yes; then
23475 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl_s -linet"
23477 # Martyn Johnson says this is needed for Ultrix, if the X
23478 # libraries were built with DECnet support. And Karl Berry says
23479 # the Alpha needs dnet_stub (dnet does not exist).
23480 ac_xsave_LIBS
="$LIBS"; LIBS
="$LIBS $X_LIBS -lX11"
23481 cat >conftest.
$ac_ext <<_ACEOF
23484 cat confdefs.h
>>conftest.
$ac_ext
23485 cat >>conftest.
$ac_ext <<_ACEOF
23486 /* end confdefs.h. */
23488 /* Override any gcc2 internal prototype to avoid an error. */
23492 /* We use char because int might match the return type of a gcc2
23493 builtin and then its argument prototype would still apply. */
23494 char XOpenDisplay ();
23503 rm -f conftest.
$ac_objext conftest
$ac_exeext
23504 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23505 (eval $ac_link) 2>conftest.er1
23507 grep -v '^ *+' conftest.er1
>conftest.err
23509 cat conftest.err
>&5
23510 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23511 (exit $ac_status); } &&
23512 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
23513 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23514 (eval $ac_try) 2>&5
23516 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23517 (exit $ac_status); }; } &&
23518 { ac_try
='test -s conftest$ac_exeext'
23519 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23520 (eval $ac_try) 2>&5
23522 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23523 (exit $ac_status); }; }; then
23526 echo "$as_me: failed program was:" >&5
23527 sed 's/^/| /' conftest.
$ac_ext >&5
23529 echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet" >&5
23530 echo $ECHO_N "checking for dnet_ntoa in -ldnet... $ECHO_C" >&6
23531 if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then
23532 echo $ECHO_N "(cached) $ECHO_C" >&6
23534 ac_check_lib_save_LIBS
=$LIBS
23535 LIBS
="-ldnet $LIBS"
23536 cat >conftest.
$ac_ext <<_ACEOF
23539 cat confdefs.h
>>conftest.
$ac_ext
23540 cat >>conftest.
$ac_ext <<_ACEOF
23541 /* end confdefs.h. */
23543 /* 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. */
23558 rm -f conftest.
$ac_objext conftest
$ac_exeext
23559 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23560 (eval $ac_link) 2>conftest.er1
23562 grep -v '^ *+' conftest.er1
>conftest.err
23564 cat conftest.err
>&5
23565 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23566 (exit $ac_status); } &&
23567 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
23568 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23569 (eval $ac_try) 2>&5
23571 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23572 (exit $ac_status); }; } &&
23573 { ac_try
='test -s conftest$ac_exeext'
23574 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23575 (eval $ac_try) 2>&5
23577 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23578 (exit $ac_status); }; }; then
23579 ac_cv_lib_dnet_dnet_ntoa
=yes
23581 echo "$as_me: failed program was:" >&5
23582 sed 's/^/| /' conftest.
$ac_ext >&5
23584 ac_cv_lib_dnet_dnet_ntoa
=no
23586 rm -f conftest.err conftest.
$ac_objext \
23587 conftest
$ac_exeext conftest.
$ac_ext
23588 LIBS
=$ac_check_lib_save_LIBS
23590 echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
23591 echo "${ECHO_T}$ac_cv_lib_dnet_dnet_ntoa" >&6
23592 if test $ac_cv_lib_dnet_dnet_ntoa = yes; then
23593 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet"
23596 if test $ac_cv_lib_dnet_dnet_ntoa = no
; then
23597 echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet_stub" >&5
23598 echo $ECHO_N "checking for dnet_ntoa in -ldnet_stub... $ECHO_C" >&6
23599 if test "${ac_cv_lib_dnet_stub_dnet_ntoa+set}" = set; then
23600 echo $ECHO_N "(cached) $ECHO_C" >&6
23602 ac_check_lib_save_LIBS
=$LIBS
23603 LIBS
="-ldnet_stub $LIBS"
23604 cat >conftest.
$ac_ext <<_ACEOF
23607 cat confdefs.h
>>conftest.
$ac_ext
23608 cat >>conftest.
$ac_ext <<_ACEOF
23609 /* end confdefs.h. */
23611 /* Override any gcc2 internal prototype to avoid an error. */
23615 /* We use char because int might match the return type of a gcc2
23616 builtin and then its argument prototype would still apply. */
23626 rm -f conftest.
$ac_objext conftest
$ac_exeext
23627 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23628 (eval $ac_link) 2>conftest.er1
23630 grep -v '^ *+' conftest.er1
>conftest.err
23632 cat conftest.err
>&5
23633 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23634 (exit $ac_status); } &&
23635 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
23636 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23637 (eval $ac_try) 2>&5
23639 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23640 (exit $ac_status); }; } &&
23641 { ac_try
='test -s conftest$ac_exeext'
23642 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23643 (eval $ac_try) 2>&5
23645 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23646 (exit $ac_status); }; }; then
23647 ac_cv_lib_dnet_stub_dnet_ntoa
=yes
23649 echo "$as_me: failed program was:" >&5
23650 sed 's/^/| /' conftest.
$ac_ext >&5
23652 ac_cv_lib_dnet_stub_dnet_ntoa
=no
23654 rm -f conftest.err conftest.
$ac_objext \
23655 conftest
$ac_exeext conftest.
$ac_ext
23656 LIBS
=$ac_check_lib_save_LIBS
23658 echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
23659 echo "${ECHO_T}$ac_cv_lib_dnet_stub_dnet_ntoa" >&6
23660 if test $ac_cv_lib_dnet_stub_dnet_ntoa = yes; then
23661 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet_stub"
23666 rm -f conftest.err conftest.
$ac_objext \
23667 conftest
$ac_exeext conftest.
$ac_ext
23668 LIBS
="$ac_xsave_LIBS"
23670 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
23671 # to get the SysV transport functions.
23672 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
23674 # The nsl library prevents programs from opening the X display
23675 # on Irix 5.2, according to T.E. Dickey.
23676 # The functions gethostbyname, getservbyname, and inet_addr are
23677 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
23678 echo "$as_me:$LINENO: checking for gethostbyname" >&5
23679 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6
23680 if test "${ac_cv_func_gethostbyname+set}" = set; then
23681 echo $ECHO_N "(cached) $ECHO_C" >&6
23683 cat >conftest.
$ac_ext <<_ACEOF
23686 cat confdefs.h
>>conftest.
$ac_ext
23687 cat >>conftest.
$ac_ext <<_ACEOF
23688 /* end confdefs.h. */
23689 /* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
23690 For example, HP-UX 11i <limits.h> declares gettimeofday. */
23691 #define gethostbyname innocuous_gethostbyname
23693 /* System header to define __stub macros and hopefully few prototypes,
23694 which can conflict with char gethostbyname (); below.
23695 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
23696 <limits.h> exists even on freestanding compilers. */
23699 # include <limits.h>
23701 # include <assert.h>
23704 #undef gethostbyname
23706 /* Override any gcc2 internal prototype to avoid an error. */
23711 /* We use char because int might match the return type of a gcc2
23712 builtin and then its argument prototype would still apply. */
23713 char gethostbyname ();
23714 /* The GNU C library defines this for functions which it implements
23715 to always fail with ENOSYS. Some functions are actually named
23716 something starting with __ and the normal name is an alias. */
23717 #if defined (__stub_gethostbyname) || defined (__stub___gethostbyname)
23720 char (*f) () = gethostbyname;
23729 return f != gethostbyname;
23734 rm -f conftest.
$ac_objext conftest
$ac_exeext
23735 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23736 (eval $ac_link) 2>conftest.er1
23738 grep -v '^ *+' conftest.er1
>conftest.err
23740 cat conftest.err
>&5
23741 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23742 (exit $ac_status); } &&
23743 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
23744 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23745 (eval $ac_try) 2>&5
23747 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23748 (exit $ac_status); }; } &&
23749 { ac_try
='test -s conftest$ac_exeext'
23750 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23751 (eval $ac_try) 2>&5
23753 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23754 (exit $ac_status); }; }; then
23755 ac_cv_func_gethostbyname
=yes
23757 echo "$as_me: failed program was:" >&5
23758 sed 's/^/| /' conftest.
$ac_ext >&5
23760 ac_cv_func_gethostbyname
=no
23762 rm -f conftest.err conftest.
$ac_objext \
23763 conftest
$ac_exeext conftest.
$ac_ext
23765 echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
23766 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6
23768 if test $ac_cv_func_gethostbyname = no
; then
23769 echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
23770 echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6
23771 if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
23772 echo $ECHO_N "(cached) $ECHO_C" >&6
23774 ac_check_lib_save_LIBS
=$LIBS
23776 cat >conftest.
$ac_ext <<_ACEOF
23779 cat confdefs.h
>>conftest.
$ac_ext
23780 cat >>conftest.
$ac_ext <<_ACEOF
23781 /* end confdefs.h. */
23783 /* Override any gcc2 internal prototype to avoid an error. */
23787 /* We use char because int might match the return type of a gcc2
23788 builtin and then its argument prototype would still apply. */
23789 char gethostbyname ();
23798 rm -f conftest.
$ac_objext conftest
$ac_exeext
23799 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23800 (eval $ac_link) 2>conftest.er1
23802 grep -v '^ *+' conftest.er1
>conftest.err
23804 cat conftest.err
>&5
23805 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23806 (exit $ac_status); } &&
23807 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
23808 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23809 (eval $ac_try) 2>&5
23811 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23812 (exit $ac_status); }; } &&
23813 { ac_try
='test -s conftest$ac_exeext'
23814 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23815 (eval $ac_try) 2>&5
23817 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23818 (exit $ac_status); }; }; then
23819 ac_cv_lib_nsl_gethostbyname
=yes
23821 echo "$as_me: failed program was:" >&5
23822 sed 's/^/| /' conftest.
$ac_ext >&5
23824 ac_cv_lib_nsl_gethostbyname
=no
23826 rm -f conftest.err conftest.
$ac_objext \
23827 conftest
$ac_exeext conftest.
$ac_ext
23828 LIBS
=$ac_check_lib_save_LIBS
23830 echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
23831 echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6
23832 if test $ac_cv_lib_nsl_gethostbyname = yes; then
23833 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl"
23836 if test $ac_cv_lib_nsl_gethostbyname = no
; then
23837 echo "$as_me:$LINENO: checking for gethostbyname in -lbsd" >&5
23838 echo $ECHO_N "checking for gethostbyname in -lbsd... $ECHO_C" >&6
23839 if test "${ac_cv_lib_bsd_gethostbyname+set}" = set; then
23840 echo $ECHO_N "(cached) $ECHO_C" >&6
23842 ac_check_lib_save_LIBS
=$LIBS
23844 cat >conftest.
$ac_ext <<_ACEOF
23847 cat confdefs.h
>>conftest.
$ac_ext
23848 cat >>conftest.
$ac_ext <<_ACEOF
23849 /* end confdefs.h. */
23851 /* Override any gcc2 internal prototype to avoid an error. */
23855 /* We use char because int might match the return type of a gcc2
23856 builtin and then its argument prototype would still apply. */
23857 char gethostbyname ();
23866 rm -f conftest.
$ac_objext conftest
$ac_exeext
23867 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23868 (eval $ac_link) 2>conftest.er1
23870 grep -v '^ *+' conftest.er1
>conftest.err
23872 cat conftest.err
>&5
23873 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23874 (exit $ac_status); } &&
23875 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
23876 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23877 (eval $ac_try) 2>&5
23879 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23880 (exit $ac_status); }; } &&
23881 { ac_try
='test -s conftest$ac_exeext'
23882 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23883 (eval $ac_try) 2>&5
23885 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23886 (exit $ac_status); }; }; then
23887 ac_cv_lib_bsd_gethostbyname
=yes
23889 echo "$as_me: failed program was:" >&5
23890 sed 's/^/| /' conftest.
$ac_ext >&5
23892 ac_cv_lib_bsd_gethostbyname
=no
23894 rm -f conftest.err conftest.
$ac_objext \
23895 conftest
$ac_exeext conftest.
$ac_ext
23896 LIBS
=$ac_check_lib_save_LIBS
23898 echo "$as_me:$LINENO: result: $ac_cv_lib_bsd_gethostbyname" >&5
23899 echo "${ECHO_T}$ac_cv_lib_bsd_gethostbyname" >&6
23900 if test $ac_cv_lib_bsd_gethostbyname = yes; then
23901 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lbsd"
23907 # lieder@skyler.mavd.honeywell.com says without -lsocket,
23908 # socket/setsockopt and other routines are undefined under SCO ODT
23909 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
23910 # on later versions), says Simon Leinen: it contains gethostby*
23911 # variants that don't use the name server (or something). -lsocket
23912 # must be given before -lnsl if both are needed. We assume that
23913 # if connect needs -lnsl, so does gethostbyname.
23914 echo "$as_me:$LINENO: checking for connect" >&5
23915 echo $ECHO_N "checking for connect... $ECHO_C" >&6
23916 if test "${ac_cv_func_connect+set}" = set; then
23917 echo $ECHO_N "(cached) $ECHO_C" >&6
23919 cat >conftest.
$ac_ext <<_ACEOF
23922 cat confdefs.h
>>conftest.
$ac_ext
23923 cat >>conftest.
$ac_ext <<_ACEOF
23924 /* end confdefs.h. */
23925 /* Define connect to an innocuous variant, in case <limits.h> declares connect.
23926 For example, HP-UX 11i <limits.h> declares gettimeofday. */
23927 #define connect innocuous_connect
23929 /* System header to define __stub macros and hopefully few prototypes,
23930 which can conflict with char connect (); below.
23931 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
23932 <limits.h> exists even on freestanding compilers. */
23935 # include <limits.h>
23937 # include <assert.h>
23942 /* Override any gcc2 internal prototype to avoid an error. */
23947 /* We use char because int might match the return type of a gcc2
23948 builtin and then its argument prototype would still apply. */
23950 /* The GNU C library defines this for functions which it implements
23951 to always fail with ENOSYS. Some functions are actually named
23952 something starting with __ and the normal name is an alias. */
23953 #if defined (__stub_connect) || defined (__stub___connect)
23956 char (*f) () = connect;
23965 return f != connect;
23970 rm -f conftest.
$ac_objext conftest
$ac_exeext
23971 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23972 (eval $ac_link) 2>conftest.er1
23974 grep -v '^ *+' conftest.er1
>conftest.err
23976 cat conftest.err
>&5
23977 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23978 (exit $ac_status); } &&
23979 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
23980 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23981 (eval $ac_try) 2>&5
23983 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23984 (exit $ac_status); }; } &&
23985 { ac_try
='test -s conftest$ac_exeext'
23986 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23987 (eval $ac_try) 2>&5
23989 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23990 (exit $ac_status); }; }; then
23991 ac_cv_func_connect
=yes
23993 echo "$as_me: failed program was:" >&5
23994 sed 's/^/| /' conftest.
$ac_ext >&5
23996 ac_cv_func_connect
=no
23998 rm -f conftest.err conftest.
$ac_objext \
23999 conftest
$ac_exeext conftest.
$ac_ext
24001 echo "$as_me:$LINENO: result: $ac_cv_func_connect" >&5
24002 echo "${ECHO_T}$ac_cv_func_connect" >&6
24004 if test $ac_cv_func_connect = no
; then
24005 echo "$as_me:$LINENO: checking for connect in -lsocket" >&5
24006 echo $ECHO_N "checking for connect in -lsocket... $ECHO_C" >&6
24007 if test "${ac_cv_lib_socket_connect+set}" = set; then
24008 echo $ECHO_N "(cached) $ECHO_C" >&6
24010 ac_check_lib_save_LIBS
=$LIBS
24011 LIBS
="-lsocket $X_EXTRA_LIBS $LIBS"
24012 cat >conftest.
$ac_ext <<_ACEOF
24015 cat confdefs.h
>>conftest.
$ac_ext
24016 cat >>conftest.
$ac_ext <<_ACEOF
24017 /* end confdefs.h. */
24019 /* Override any gcc2 internal prototype to avoid an error. */
24023 /* We use char because int might match the return type of a gcc2
24024 builtin and then its argument prototype would still apply. */
24034 rm -f conftest.
$ac_objext conftest
$ac_exeext
24035 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24036 (eval $ac_link) 2>conftest.er1
24038 grep -v '^ *+' conftest.er1
>conftest.err
24040 cat conftest.err
>&5
24041 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24042 (exit $ac_status); } &&
24043 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
24044 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24045 (eval $ac_try) 2>&5
24047 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24048 (exit $ac_status); }; } &&
24049 { ac_try
='test -s conftest$ac_exeext'
24050 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24051 (eval $ac_try) 2>&5
24053 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24054 (exit $ac_status); }; }; then
24055 ac_cv_lib_socket_connect
=yes
24057 echo "$as_me: failed program was:" >&5
24058 sed 's/^/| /' conftest.
$ac_ext >&5
24060 ac_cv_lib_socket_connect
=no
24062 rm -f conftest.err conftest.
$ac_objext \
24063 conftest
$ac_exeext conftest.
$ac_ext
24064 LIBS
=$ac_check_lib_save_LIBS
24066 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5
24067 echo "${ECHO_T}$ac_cv_lib_socket_connect" >&6
24068 if test $ac_cv_lib_socket_connect = yes; then
24069 X_EXTRA_LIBS
="-lsocket $X_EXTRA_LIBS"
24074 # Guillermo Gomez says -lposix is necessary on A/UX.
24075 echo "$as_me:$LINENO: checking for remove" >&5
24076 echo $ECHO_N "checking for remove... $ECHO_C" >&6
24077 if test "${ac_cv_func_remove+set}" = set; then
24078 echo $ECHO_N "(cached) $ECHO_C" >&6
24080 cat >conftest.
$ac_ext <<_ACEOF
24083 cat confdefs.h
>>conftest.
$ac_ext
24084 cat >>conftest.
$ac_ext <<_ACEOF
24085 /* end confdefs.h. */
24086 /* Define remove to an innocuous variant, in case <limits.h> declares remove.
24087 For example, HP-UX 11i <limits.h> declares gettimeofday. */
24088 #define remove innocuous_remove
24090 /* System header to define __stub macros and hopefully few prototypes,
24091 which can conflict with char remove (); below.
24092 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24093 <limits.h> exists even on freestanding compilers. */
24096 # include <limits.h>
24098 # include <assert.h>
24103 /* Override any gcc2 internal prototype to avoid an error. */
24108 /* We use char because int might match the return type of a gcc2
24109 builtin and then its argument prototype would still apply. */
24111 /* The GNU C library defines this for functions which it implements
24112 to always fail with ENOSYS. Some functions are actually named
24113 something starting with __ and the normal name is an alias. */
24114 #if defined (__stub_remove) || defined (__stub___remove)
24117 char (*f) () = remove;
24126 return f != remove;
24131 rm -f conftest.
$ac_objext conftest
$ac_exeext
24132 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24133 (eval $ac_link) 2>conftest.er1
24135 grep -v '^ *+' conftest.er1
>conftest.err
24137 cat conftest.err
>&5
24138 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24139 (exit $ac_status); } &&
24140 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
24141 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24142 (eval $ac_try) 2>&5
24144 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24145 (exit $ac_status); }; } &&
24146 { ac_try
='test -s conftest$ac_exeext'
24147 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24148 (eval $ac_try) 2>&5
24150 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24151 (exit $ac_status); }; }; then
24152 ac_cv_func_remove
=yes
24154 echo "$as_me: failed program was:" >&5
24155 sed 's/^/| /' conftest.
$ac_ext >&5
24157 ac_cv_func_remove
=no
24159 rm -f conftest.err conftest.
$ac_objext \
24160 conftest
$ac_exeext conftest.
$ac_ext
24162 echo "$as_me:$LINENO: result: $ac_cv_func_remove" >&5
24163 echo "${ECHO_T}$ac_cv_func_remove" >&6
24165 if test $ac_cv_func_remove = no
; then
24166 echo "$as_me:$LINENO: checking for remove in -lposix" >&5
24167 echo $ECHO_N "checking for remove in -lposix... $ECHO_C" >&6
24168 if test "${ac_cv_lib_posix_remove+set}" = set; then
24169 echo $ECHO_N "(cached) $ECHO_C" >&6
24171 ac_check_lib_save_LIBS
=$LIBS
24172 LIBS
="-lposix $LIBS"
24173 cat >conftest.
$ac_ext <<_ACEOF
24176 cat confdefs.h
>>conftest.
$ac_ext
24177 cat >>conftest.
$ac_ext <<_ACEOF
24178 /* end confdefs.h. */
24180 /* Override any gcc2 internal prototype to avoid an error. */
24184 /* We use char because int might match the return type of a gcc2
24185 builtin and then its argument prototype would still apply. */
24195 rm -f conftest.
$ac_objext conftest
$ac_exeext
24196 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24197 (eval $ac_link) 2>conftest.er1
24199 grep -v '^ *+' conftest.er1
>conftest.err
24201 cat conftest.err
>&5
24202 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24203 (exit $ac_status); } &&
24204 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
24205 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24206 (eval $ac_try) 2>&5
24208 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24209 (exit $ac_status); }; } &&
24210 { ac_try
='test -s conftest$ac_exeext'
24211 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24212 (eval $ac_try) 2>&5
24214 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24215 (exit $ac_status); }; }; then
24216 ac_cv_lib_posix_remove
=yes
24218 echo "$as_me: failed program was:" >&5
24219 sed 's/^/| /' conftest.
$ac_ext >&5
24221 ac_cv_lib_posix_remove
=no
24223 rm -f conftest.err conftest.
$ac_objext \
24224 conftest
$ac_exeext conftest.
$ac_ext
24225 LIBS
=$ac_check_lib_save_LIBS
24227 echo "$as_me:$LINENO: result: $ac_cv_lib_posix_remove" >&5
24228 echo "${ECHO_T}$ac_cv_lib_posix_remove" >&6
24229 if test $ac_cv_lib_posix_remove = yes; then
24230 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lposix"
24235 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
24236 echo "$as_me:$LINENO: checking for shmat" >&5
24237 echo $ECHO_N "checking for shmat... $ECHO_C" >&6
24238 if test "${ac_cv_func_shmat+set}" = set; then
24239 echo $ECHO_N "(cached) $ECHO_C" >&6
24241 cat >conftest.
$ac_ext <<_ACEOF
24244 cat confdefs.h
>>conftest.
$ac_ext
24245 cat >>conftest.
$ac_ext <<_ACEOF
24246 /* end confdefs.h. */
24247 /* Define shmat to an innocuous variant, in case <limits.h> declares shmat.
24248 For example, HP-UX 11i <limits.h> declares gettimeofday. */
24249 #define shmat innocuous_shmat
24251 /* System header to define __stub macros and hopefully few prototypes,
24252 which can conflict with char shmat (); below.
24253 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24254 <limits.h> exists even on freestanding compilers. */
24257 # include <limits.h>
24259 # include <assert.h>
24264 /* Override any gcc2 internal prototype to avoid an error. */
24269 /* We use char because int might match the return type of a gcc2
24270 builtin and then its argument prototype would still apply. */
24272 /* The GNU C library defines this for functions which it implements
24273 to always fail with ENOSYS. Some functions are actually named
24274 something starting with __ and the normal name is an alias. */
24275 #if defined (__stub_shmat) || defined (__stub___shmat)
24278 char (*f) () = shmat;
24292 rm -f conftest.
$ac_objext conftest
$ac_exeext
24293 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24294 (eval $ac_link) 2>conftest.er1
24296 grep -v '^ *+' conftest.er1
>conftest.err
24298 cat conftest.err
>&5
24299 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24300 (exit $ac_status); } &&
24301 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
24302 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24303 (eval $ac_try) 2>&5
24305 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24306 (exit $ac_status); }; } &&
24307 { ac_try
='test -s conftest$ac_exeext'
24308 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24309 (eval $ac_try) 2>&5
24311 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24312 (exit $ac_status); }; }; then
24313 ac_cv_func_shmat
=yes
24315 echo "$as_me: failed program was:" >&5
24316 sed 's/^/| /' conftest.
$ac_ext >&5
24318 ac_cv_func_shmat
=no
24320 rm -f conftest.err conftest.
$ac_objext \
24321 conftest
$ac_exeext conftest.
$ac_ext
24323 echo "$as_me:$LINENO: result: $ac_cv_func_shmat" >&5
24324 echo "${ECHO_T}$ac_cv_func_shmat" >&6
24326 if test $ac_cv_func_shmat = no
; then
24327 echo "$as_me:$LINENO: checking for shmat in -lipc" >&5
24328 echo $ECHO_N "checking for shmat in -lipc... $ECHO_C" >&6
24329 if test "${ac_cv_lib_ipc_shmat+set}" = set; then
24330 echo $ECHO_N "(cached) $ECHO_C" >&6
24332 ac_check_lib_save_LIBS
=$LIBS
24334 cat >conftest.
$ac_ext <<_ACEOF
24337 cat confdefs.h
>>conftest.
$ac_ext
24338 cat >>conftest.
$ac_ext <<_ACEOF
24339 /* end confdefs.h. */
24341 /* Override any gcc2 internal prototype to avoid an error. */
24345 /* We use char because int might match the return type of a gcc2
24346 builtin and then its argument prototype would still apply. */
24356 rm -f conftest.
$ac_objext conftest
$ac_exeext
24357 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24358 (eval $ac_link) 2>conftest.er1
24360 grep -v '^ *+' conftest.er1
>conftest.err
24362 cat conftest.err
>&5
24363 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24364 (exit $ac_status); } &&
24365 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
24366 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24367 (eval $ac_try) 2>&5
24369 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24370 (exit $ac_status); }; } &&
24371 { ac_try
='test -s conftest$ac_exeext'
24372 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24373 (eval $ac_try) 2>&5
24375 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24376 (exit $ac_status); }; }; then
24377 ac_cv_lib_ipc_shmat
=yes
24379 echo "$as_me: failed program was:" >&5
24380 sed 's/^/| /' conftest.
$ac_ext >&5
24382 ac_cv_lib_ipc_shmat
=no
24384 rm -f conftest.err conftest.
$ac_objext \
24385 conftest
$ac_exeext conftest.
$ac_ext
24386 LIBS
=$ac_check_lib_save_LIBS
24388 echo "$as_me:$LINENO: result: $ac_cv_lib_ipc_shmat" >&5
24389 echo "${ECHO_T}$ac_cv_lib_ipc_shmat" >&6
24390 if test $ac_cv_lib_ipc_shmat = yes; then
24391 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lipc"
24397 # Check for libraries that X11R6 Xt/Xaw programs need.
24398 ac_save_LDFLAGS
=$LDFLAGS
24399 test -n "$x_libraries" && LDFLAGS
="$LDFLAGS -L$x_libraries"
24400 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
24401 # check for ICE first), but we must link in the order -lSM -lICE or
24402 # we get undefined symbols. So assume we have SM if we have ICE.
24403 # These have to be linked with before -lX11, unlike the other
24404 # libraries we check for below, so use a different variable.
24405 # John Interrante, Karl Berry
24406 echo "$as_me:$LINENO: checking for IceConnectionNumber in -lICE" >&5
24407 echo $ECHO_N "checking for IceConnectionNumber in -lICE... $ECHO_C" >&6
24408 if test "${ac_cv_lib_ICE_IceConnectionNumber+set}" = set; then
24409 echo $ECHO_N "(cached) $ECHO_C" >&6
24411 ac_check_lib_save_LIBS
=$LIBS
24412 LIBS
="-lICE $X_EXTRA_LIBS $LIBS"
24413 cat >conftest.
$ac_ext <<_ACEOF
24416 cat confdefs.h
>>conftest.
$ac_ext
24417 cat >>conftest.
$ac_ext <<_ACEOF
24418 /* end confdefs.h. */
24420 /* Override any gcc2 internal prototype to avoid an error. */
24424 /* We use char because int might match the return type of a gcc2
24425 builtin and then its argument prototype would still apply. */
24426 char IceConnectionNumber ();
24430 IceConnectionNumber ();
24435 rm -f conftest.
$ac_objext conftest
$ac_exeext
24436 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24437 (eval $ac_link) 2>conftest.er1
24439 grep -v '^ *+' conftest.er1
>conftest.err
24441 cat conftest.err
>&5
24442 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24443 (exit $ac_status); } &&
24444 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
24445 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24446 (eval $ac_try) 2>&5
24448 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24449 (exit $ac_status); }; } &&
24450 { ac_try
='test -s conftest$ac_exeext'
24451 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24452 (eval $ac_try) 2>&5
24454 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24455 (exit $ac_status); }; }; then
24456 ac_cv_lib_ICE_IceConnectionNumber
=yes
24458 echo "$as_me: failed program was:" >&5
24459 sed 's/^/| /' conftest.
$ac_ext >&5
24461 ac_cv_lib_ICE_IceConnectionNumber
=no
24463 rm -f conftest.err conftest.
$ac_objext \
24464 conftest
$ac_exeext conftest.
$ac_ext
24465 LIBS
=$ac_check_lib_save_LIBS
24467 echo "$as_me:$LINENO: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
24468 echo "${ECHO_T}$ac_cv_lib_ICE_IceConnectionNumber" >&6
24469 if test $ac_cv_lib_ICE_IceConnectionNumber = yes; then
24470 X_PRE_LIBS
="$X_PRE_LIBS -lSM -lICE"
24473 LDFLAGS
=$ac_save_LDFLAGS
24478 if test "$no_x" = "yes"; then
24479 { { echo "$as_me:$LINENO: error: X11 not found" >&5
24480 echo "$as_me: error: X11 not found" >&2;}
24481 { (exit please use
--x-includes and
/or
--x-libraries options
); exit please use
--x-includes and
/or
--x-libraries options
; }; }
24484 GUI_TK_LIBRARY
="$X_LIBS"
24485 TOOLKIT_INCLUDE
="$X_CFLAGS"
24486 AFMINSTALL
=afminstall
24487 COMPILED_X_PROGRAM
=0
24489 if test "$wxUSE_NANOX" = "yes"; then
24490 echo "$as_me:$LINENO: checking for MicroWindows/NanoX distribution" >&5
24491 echo $ECHO_N "checking for MicroWindows/NanoX distribution... $ECHO_C" >&6
24492 if test "x$MICROWIN" = x
; then
24493 echo "$as_me:$LINENO: result: not found" >&5
24494 echo "${ECHO_T}not found" >&6
24495 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows library. Make sure MICROWIN is set." >&5
24496 echo "$as_me: error: Cannot find MicroWindows library. Make sure MICROWIN is set." >&2;}
24497 { (exit 1); exit 1; }; }
24499 echo "$as_me:$LINENO: result: $MICROWIN" >&5
24500 echo "${ECHO_T}$MICROWIN" >&6
24501 cat >>confdefs.h
<<\_ACEOF
24502 #define wxUSE_NANOX 1
24508 if test "$wxUSE_UNICODE" = "yes"; then
24512 if test -z "$PKG_CONFIG"; then
24513 # Extract the first word of "pkg-config", so it can be a program name with args.
24514 set dummy pkg
-config; ac_word
=$2
24515 echo "$as_me:$LINENO: checking for $ac_word" >&5
24516 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
24517 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
24518 echo $ECHO_N "(cached) $ECHO_C" >&6
24520 case $PKG_CONFIG in
24522 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
24525 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
24526 for as_dir
in $PATH
24529 test -z "$as_dir" && as_dir
=.
24530 for ac_exec_ext
in '' $ac_executable_extensions; do
24531 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
24532 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
24533 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
24539 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
24543 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
24545 if test -n "$PKG_CONFIG"; then
24546 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
24547 echo "${ECHO_T}$PKG_CONFIG" >&6
24549 echo "$as_me:$LINENO: result: no" >&5
24550 echo "${ECHO_T}no" >&6
24555 if test "$PKG_CONFIG" = "no" ; then
24556 echo "*** The pkg-config script could not be found. Make sure it is"
24557 echo "*** in your path, or set the PKG_CONFIG environment variable"
24558 echo "*** to the full path to pkg-config."
24559 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
24561 PKG_CONFIG_MIN_VERSION
=0.9.0
24562 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
24563 echo "$as_me:$LINENO: checking for pangox" >&5
24564 echo $ECHO_N "checking for pangox... $ECHO_C" >&6
24566 if $PKG_CONFIG --exists "pangox" ; then
24567 echo "$as_me:$LINENO: result: yes" >&5
24568 echo "${ECHO_T}yes" >&6
24571 echo "$as_me:$LINENO: checking PANGOX_CFLAGS" >&5
24572 echo $ECHO_N "checking PANGOX_CFLAGS... $ECHO_C" >&6
24573 PANGOX_CFLAGS
=`$PKG_CONFIG --cflags "pangox"`
24574 echo "$as_me:$LINENO: result: $PANGOX_CFLAGS" >&5
24575 echo "${ECHO_T}$PANGOX_CFLAGS" >&6
24577 echo "$as_me:$LINENO: checking PANGOX_LIBS" >&5
24578 echo $ECHO_N "checking PANGOX_LIBS... $ECHO_C" >&6
24579 PANGOX_LIBS
=`$PKG_CONFIG --libs "pangox"`
24580 echo "$as_me:$LINENO: result: $PANGOX_LIBS" >&5
24581 echo "${ECHO_T}$PANGOX_LIBS" >&6
24585 ## If we have a custom action on failure, don't print errors, but
24586 ## do set a variable so people can do so.
24587 PANGOX_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "pangox"`
24594 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
24595 echo "*** See http://www.freedesktop.org/software/pkgconfig"
24599 if test $succeeded = yes; then
24601 CXXFLAGS
="$CXXFLAGS $PANGOX_CFLAGS"
24602 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY $PANGOX_LIBS"
24606 { { echo "$as_me:$LINENO: error: pangox library not found, library cannot be compiled in Unicode mode" >&5
24607 echo "$as_me: error: pangox library not found, library cannot be compiled in Unicode mode" >&2;}
24608 { (exit 1); exit 1; }; }
24616 if test -z "$PKG_CONFIG"; then
24617 # Extract the first word of "pkg-config", so it can be a program name with args.
24618 set dummy pkg
-config; ac_word
=$2
24619 echo "$as_me:$LINENO: checking for $ac_word" >&5
24620 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
24621 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
24622 echo $ECHO_N "(cached) $ECHO_C" >&6
24624 case $PKG_CONFIG in
24626 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
24629 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
24630 for as_dir
in $PATH
24633 test -z "$as_dir" && as_dir
=.
24634 for ac_exec_ext
in '' $ac_executable_extensions; do
24635 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
24636 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
24637 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
24643 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
24647 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
24649 if test -n "$PKG_CONFIG"; then
24650 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
24651 echo "${ECHO_T}$PKG_CONFIG" >&6
24653 echo "$as_me:$LINENO: result: no" >&5
24654 echo "${ECHO_T}no" >&6
24659 if test "$PKG_CONFIG" = "no" ; then
24660 echo "*** The pkg-config script could not be found. Make sure it is"
24661 echo "*** in your path, or set the PKG_CONFIG environment variable"
24662 echo "*** to the full path to pkg-config."
24663 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
24665 PKG_CONFIG_MIN_VERSION
=0.9.0
24666 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
24667 echo "$as_me:$LINENO: checking for pangoft2" >&5
24668 echo $ECHO_N "checking for pangoft2... $ECHO_C" >&6
24670 if $PKG_CONFIG --exists "pangoft2" ; then
24671 echo "$as_me:$LINENO: result: yes" >&5
24672 echo "${ECHO_T}yes" >&6
24675 echo "$as_me:$LINENO: checking PANGOFT2_CFLAGS" >&5
24676 echo $ECHO_N "checking PANGOFT2_CFLAGS... $ECHO_C" >&6
24677 PANGOFT2_CFLAGS
=`$PKG_CONFIG --cflags "pangoft2"`
24678 echo "$as_me:$LINENO: result: $PANGOFT2_CFLAGS" >&5
24679 echo "${ECHO_T}$PANGOFT2_CFLAGS" >&6
24681 echo "$as_me:$LINENO: checking PANGOFT2_LIBS" >&5
24682 echo $ECHO_N "checking PANGOFT2_LIBS... $ECHO_C" >&6
24683 PANGOFT2_LIBS
=`$PKG_CONFIG --libs "pangoft2"`
24684 echo "$as_me:$LINENO: result: $PANGOFT2_LIBS" >&5
24685 echo "${ECHO_T}$PANGOFT2_LIBS" >&6
24689 ## If we have a custom action on failure, don't print errors, but
24690 ## do set a variable so people can do so.
24691 PANGOFT2_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoft2"`
24698 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
24699 echo "*** See http://www.freedesktop.org/software/pkgconfig"
24703 if test $succeeded = yes; then
24705 CXXFLAGS
="$CXXFLAGS $PANGOFT2_CFLAGS"
24706 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY $PANGOFT2_LIBS"
24710 { echo "$as_me:$LINENO: WARNING: pangoft2 library not found, library will be compiled without printing support" >&5
24711 echo "$as_me: WARNING: pangoft2 library not found, library will be compiled without printing support" >&2;}
24712 wxUSE_PRINTING_ARCHITECTURE
="no"
24720 if test -z "$PKG_CONFIG"; then
24721 # Extract the first word of "pkg-config", so it can be a program name with args.
24722 set dummy pkg
-config; ac_word
=$2
24723 echo "$as_me:$LINENO: checking for $ac_word" >&5
24724 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
24725 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
24726 echo $ECHO_N "(cached) $ECHO_C" >&6
24728 case $PKG_CONFIG in
24730 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
24733 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
24734 for as_dir
in $PATH
24737 test -z "$as_dir" && as_dir
=.
24738 for ac_exec_ext
in '' $ac_executable_extensions; do
24739 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
24740 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
24741 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
24747 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
24751 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
24753 if test -n "$PKG_CONFIG"; then
24754 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
24755 echo "${ECHO_T}$PKG_CONFIG" >&6
24757 echo "$as_me:$LINENO: result: no" >&5
24758 echo "${ECHO_T}no" >&6
24763 if test "$PKG_CONFIG" = "no" ; then
24764 echo "*** The pkg-config script could not be found. Make sure it is"
24765 echo "*** in your path, or set the PKG_CONFIG environment variable"
24766 echo "*** to the full path to pkg-config."
24767 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
24769 PKG_CONFIG_MIN_VERSION
=0.9.0
24770 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
24771 echo "$as_me:$LINENO: checking for pangoxft" >&5
24772 echo $ECHO_N "checking for pangoxft... $ECHO_C" >&6
24774 if $PKG_CONFIG --exists "pangoxft" ; then
24775 echo "$as_me:$LINENO: result: yes" >&5
24776 echo "${ECHO_T}yes" >&6
24779 echo "$as_me:$LINENO: checking PANGOXFT_CFLAGS" >&5
24780 echo $ECHO_N "checking PANGOXFT_CFLAGS... $ECHO_C" >&6
24781 PANGOXFT_CFLAGS
=`$PKG_CONFIG --cflags "pangoxft"`
24782 echo "$as_me:$LINENO: result: $PANGOXFT_CFLAGS" >&5
24783 echo "${ECHO_T}$PANGOXFT_CFLAGS" >&6
24785 echo "$as_me:$LINENO: checking PANGOXFT_LIBS" >&5
24786 echo $ECHO_N "checking PANGOXFT_LIBS... $ECHO_C" >&6
24787 PANGOXFT_LIBS
=`$PKG_CONFIG --libs "pangoxft"`
24788 echo "$as_me:$LINENO: result: $PANGOXFT_LIBS" >&5
24789 echo "${ECHO_T}$PANGOXFT_LIBS" >&6
24793 ## If we have a custom action on failure, don't print errors, but
24794 ## do set a variable so people can do so.
24795 PANGOXFT_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoxft"`
24802 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
24803 echo "*** See http://www.freedesktop.org/software/pkgconfig"
24807 if test $succeeded = yes; then
24809 CXXFLAGS
="$CXXFLAGS $PANGOXFT_CFLAGS"
24810 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY $PANGOXFT_LIBS"
24814 { echo "$as_me:$LINENO: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&5
24815 echo "$as_me: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&2;}
24822 wxUSE_UNIVERSAL
="yes"
24824 if test "$wxUSE_NANOX" = "yes"; then
24825 TOOLKIT_INCLUDE
="-I\$(top_srcdir)/include/wx/x11/nanox -I\$(MICROWIN)/src/include $TOOLKIT_INCLUDE"
24826 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"
24827 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY \$(MICROWIN)/src/lib/libnano-X.a"
24829 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lX11"
24832 TOOLKIT_VPATH
="\${top_srcdir}/src/x11"
24837 if test "$wxUSE_MOTIF" = 1; then
24838 if test "$no_x" = yes; then
24839 # Not all programs may use this symbol, but it does not hurt to define it.
24841 cat >>confdefs.h
<<\_ACEOF
24842 #define X_DISPLAY_MISSING 1
24845 X_CFLAGS
= X_PRE_LIBS
= X_LIBS
= X_EXTRA_LIBS
=
24847 if test -n "$x_includes"; then
24848 X_CFLAGS
="$X_CFLAGS -I$x_includes"
24851 # It would also be nice to do this for all -L options, not just this one.
24852 if test -n "$x_libraries"; then
24853 X_LIBS
="$X_LIBS -L$x_libraries"
24854 # For Solaris; some versions of Sun CC require a space after -R and
24855 # others require no space. Words are not sufficient . . . .
24856 case `(uname -sr) 2>/dev/null` in
24858 echo "$as_me:$LINENO: checking whether -R must be followed by a space" >&5
24859 echo $ECHO_N "checking whether -R must be followed by a space... $ECHO_C" >&6
24860 ac_xsave_LIBS
=$LIBS; LIBS
="$LIBS -R$x_libraries"
24861 cat >conftest.
$ac_ext <<_ACEOF
24864 cat confdefs.h
>>conftest.
$ac_ext
24865 cat >>conftest.
$ac_ext <<_ACEOF
24866 /* end confdefs.h. */
24876 rm -f conftest.
$ac_objext conftest
$ac_exeext
24877 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24878 (eval $ac_link) 2>conftest.er1
24880 grep -v '^ *+' conftest.er1
>conftest.err
24882 cat conftest.err
>&5
24883 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24884 (exit $ac_status); } &&
24885 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
24886 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24887 (eval $ac_try) 2>&5
24889 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24890 (exit $ac_status); }; } &&
24891 { ac_try
='test -s conftest$ac_exeext'
24892 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24893 (eval $ac_try) 2>&5
24895 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24896 (exit $ac_status); }; }; then
24899 echo "$as_me: failed program was:" >&5
24900 sed 's/^/| /' conftest.
$ac_ext >&5
24904 rm -f conftest.err conftest.
$ac_objext \
24905 conftest
$ac_exeext conftest.
$ac_ext
24906 if test $ac_R_nospace = yes; then
24907 echo "$as_me:$LINENO: result: no" >&5
24908 echo "${ECHO_T}no" >&6
24909 X_LIBS
="$X_LIBS -R$x_libraries"
24911 LIBS
="$ac_xsave_LIBS -R $x_libraries"
24912 cat >conftest.
$ac_ext <<_ACEOF
24915 cat confdefs.h
>>conftest.
$ac_ext
24916 cat >>conftest.
$ac_ext <<_ACEOF
24917 /* end confdefs.h. */
24927 rm -f conftest.
$ac_objext conftest
$ac_exeext
24928 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24929 (eval $ac_link) 2>conftest.er1
24931 grep -v '^ *+' conftest.er1
>conftest.err
24933 cat conftest.err
>&5
24934 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24935 (exit $ac_status); } &&
24936 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
24937 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24938 (eval $ac_try) 2>&5
24940 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24941 (exit $ac_status); }; } &&
24942 { ac_try
='test -s conftest$ac_exeext'
24943 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24944 (eval $ac_try) 2>&5
24946 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24947 (exit $ac_status); }; }; then
24950 echo "$as_me: failed program was:" >&5
24951 sed 's/^/| /' conftest.
$ac_ext >&5
24955 rm -f conftest.err conftest.
$ac_objext \
24956 conftest
$ac_exeext conftest.
$ac_ext
24957 if test $ac_R_space = yes; then
24958 echo "$as_me:$LINENO: result: yes" >&5
24959 echo "${ECHO_T}yes" >&6
24960 X_LIBS
="$X_LIBS -R $x_libraries"
24962 echo "$as_me:$LINENO: result: neither works" >&5
24963 echo "${ECHO_T}neither works" >&6
24966 LIBS
=$ac_xsave_LIBS
24970 # Check for system-dependent libraries X programs must link with.
24971 # Do this before checking for the system-independent R6 libraries
24972 # (-lICE), since we may need -lsocket or whatever for X linking.
24974 if test "$ISC" = yes; then
24975 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl_s -linet"
24977 # Martyn Johnson says this is needed for Ultrix, if the X
24978 # libraries were built with DECnet support. And Karl Berry says
24979 # the Alpha needs dnet_stub (dnet does not exist).
24980 ac_xsave_LIBS
="$LIBS"; LIBS
="$LIBS $X_LIBS -lX11"
24981 cat >conftest.
$ac_ext <<_ACEOF
24984 cat confdefs.h
>>conftest.
$ac_ext
24985 cat >>conftest.
$ac_ext <<_ACEOF
24986 /* end confdefs.h. */
24988 /* Override any gcc2 internal prototype to avoid an error. */
24992 /* We use char because int might match the return type of a gcc2
24993 builtin and then its argument prototype would still apply. */
24994 char XOpenDisplay ();
25003 rm -f conftest.
$ac_objext conftest
$ac_exeext
25004 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25005 (eval $ac_link) 2>conftest.er1
25007 grep -v '^ *+' conftest.er1
>conftest.err
25009 cat conftest.err
>&5
25010 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25011 (exit $ac_status); } &&
25012 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
25013 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25014 (eval $ac_try) 2>&5
25016 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25017 (exit $ac_status); }; } &&
25018 { ac_try
='test -s conftest$ac_exeext'
25019 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25020 (eval $ac_try) 2>&5
25022 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25023 (exit $ac_status); }; }; then
25026 echo "$as_me: failed program was:" >&5
25027 sed 's/^/| /' conftest.
$ac_ext >&5
25029 echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet" >&5
25030 echo $ECHO_N "checking for dnet_ntoa in -ldnet... $ECHO_C" >&6
25031 if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then
25032 echo $ECHO_N "(cached) $ECHO_C" >&6
25034 ac_check_lib_save_LIBS
=$LIBS
25035 LIBS
="-ldnet $LIBS"
25036 cat >conftest.
$ac_ext <<_ACEOF
25039 cat confdefs.h
>>conftest.
$ac_ext
25040 cat >>conftest.
$ac_ext <<_ACEOF
25041 /* end confdefs.h. */
25043 /* Override any gcc2 internal prototype to avoid an error. */
25047 /* We use char because int might match the return type of a gcc2
25048 builtin and then its argument prototype would still apply. */
25058 rm -f conftest.
$ac_objext conftest
$ac_exeext
25059 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25060 (eval $ac_link) 2>conftest.er1
25062 grep -v '^ *+' conftest.er1
>conftest.err
25064 cat conftest.err
>&5
25065 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25066 (exit $ac_status); } &&
25067 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
25068 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25069 (eval $ac_try) 2>&5
25071 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25072 (exit $ac_status); }; } &&
25073 { ac_try
='test -s conftest$ac_exeext'
25074 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25075 (eval $ac_try) 2>&5
25077 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25078 (exit $ac_status); }; }; then
25079 ac_cv_lib_dnet_dnet_ntoa
=yes
25081 echo "$as_me: failed program was:" >&5
25082 sed 's/^/| /' conftest.
$ac_ext >&5
25084 ac_cv_lib_dnet_dnet_ntoa
=no
25086 rm -f conftest.err conftest.
$ac_objext \
25087 conftest
$ac_exeext conftest.
$ac_ext
25088 LIBS
=$ac_check_lib_save_LIBS
25090 echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
25091 echo "${ECHO_T}$ac_cv_lib_dnet_dnet_ntoa" >&6
25092 if test $ac_cv_lib_dnet_dnet_ntoa = yes; then
25093 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet"
25096 if test $ac_cv_lib_dnet_dnet_ntoa = no
; then
25097 echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet_stub" >&5
25098 echo $ECHO_N "checking for dnet_ntoa in -ldnet_stub... $ECHO_C" >&6
25099 if test "${ac_cv_lib_dnet_stub_dnet_ntoa+set}" = set; then
25100 echo $ECHO_N "(cached) $ECHO_C" >&6
25102 ac_check_lib_save_LIBS
=$LIBS
25103 LIBS
="-ldnet_stub $LIBS"
25104 cat >conftest.
$ac_ext <<_ACEOF
25107 cat confdefs.h
>>conftest.
$ac_ext
25108 cat >>conftest.
$ac_ext <<_ACEOF
25109 /* end confdefs.h. */
25111 /* Override any gcc2 internal prototype to avoid an error. */
25115 /* We use char because int might match the return type of a gcc2
25116 builtin and then its argument prototype would still apply. */
25126 rm -f conftest.
$ac_objext conftest
$ac_exeext
25127 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25128 (eval $ac_link) 2>conftest.er1
25130 grep -v '^ *+' conftest.er1
>conftest.err
25132 cat conftest.err
>&5
25133 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25134 (exit $ac_status); } &&
25135 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
25136 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25137 (eval $ac_try) 2>&5
25139 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25140 (exit $ac_status); }; } &&
25141 { ac_try
='test -s conftest$ac_exeext'
25142 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25143 (eval $ac_try) 2>&5
25145 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25146 (exit $ac_status); }; }; then
25147 ac_cv_lib_dnet_stub_dnet_ntoa
=yes
25149 echo "$as_me: failed program was:" >&5
25150 sed 's/^/| /' conftest.
$ac_ext >&5
25152 ac_cv_lib_dnet_stub_dnet_ntoa
=no
25154 rm -f conftest.err conftest.
$ac_objext \
25155 conftest
$ac_exeext conftest.
$ac_ext
25156 LIBS
=$ac_check_lib_save_LIBS
25158 echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
25159 echo "${ECHO_T}$ac_cv_lib_dnet_stub_dnet_ntoa" >&6
25160 if test $ac_cv_lib_dnet_stub_dnet_ntoa = yes; then
25161 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet_stub"
25166 rm -f conftest.err conftest.
$ac_objext \
25167 conftest
$ac_exeext conftest.
$ac_ext
25168 LIBS
="$ac_xsave_LIBS"
25170 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
25171 # to get the SysV transport functions.
25172 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
25174 # The nsl library prevents programs from opening the X display
25175 # on Irix 5.2, according to T.E. Dickey.
25176 # The functions gethostbyname, getservbyname, and inet_addr are
25177 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
25178 echo "$as_me:$LINENO: checking for gethostbyname" >&5
25179 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6
25180 if test "${ac_cv_func_gethostbyname+set}" = set; then
25181 echo $ECHO_N "(cached) $ECHO_C" >&6
25183 cat >conftest.
$ac_ext <<_ACEOF
25186 cat confdefs.h
>>conftest.
$ac_ext
25187 cat >>conftest.
$ac_ext <<_ACEOF
25188 /* end confdefs.h. */
25189 /* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
25190 For example, HP-UX 11i <limits.h> declares gettimeofday. */
25191 #define gethostbyname innocuous_gethostbyname
25193 /* System header to define __stub macros and hopefully few prototypes,
25194 which can conflict with char gethostbyname (); below.
25195 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25196 <limits.h> exists even on freestanding compilers. */
25199 # include <limits.h>
25201 # include <assert.h>
25204 #undef gethostbyname
25206 /* Override any gcc2 internal prototype to avoid an error. */
25211 /* We use char because int might match the return type of a gcc2
25212 builtin and then its argument prototype would still apply. */
25213 char gethostbyname ();
25214 /* The GNU C library defines this for functions which it implements
25215 to always fail with ENOSYS. Some functions are actually named
25216 something starting with __ and the normal name is an alias. */
25217 #if defined (__stub_gethostbyname) || defined (__stub___gethostbyname)
25220 char (*f) () = gethostbyname;
25229 return f != gethostbyname;
25234 rm -f conftest.
$ac_objext conftest
$ac_exeext
25235 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25236 (eval $ac_link) 2>conftest.er1
25238 grep -v '^ *+' conftest.er1
>conftest.err
25240 cat conftest.err
>&5
25241 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25242 (exit $ac_status); } &&
25243 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
25244 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25245 (eval $ac_try) 2>&5
25247 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25248 (exit $ac_status); }; } &&
25249 { ac_try
='test -s conftest$ac_exeext'
25250 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25251 (eval $ac_try) 2>&5
25253 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25254 (exit $ac_status); }; }; then
25255 ac_cv_func_gethostbyname
=yes
25257 echo "$as_me: failed program was:" >&5
25258 sed 's/^/| /' conftest.
$ac_ext >&5
25260 ac_cv_func_gethostbyname
=no
25262 rm -f conftest.err conftest.
$ac_objext \
25263 conftest
$ac_exeext conftest.
$ac_ext
25265 echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
25266 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6
25268 if test $ac_cv_func_gethostbyname = no
; then
25269 echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
25270 echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6
25271 if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
25272 echo $ECHO_N "(cached) $ECHO_C" >&6
25274 ac_check_lib_save_LIBS
=$LIBS
25276 cat >conftest.
$ac_ext <<_ACEOF
25279 cat confdefs.h
>>conftest.
$ac_ext
25280 cat >>conftest.
$ac_ext <<_ACEOF
25281 /* end confdefs.h. */
25283 /* Override any gcc2 internal prototype to avoid an error. */
25287 /* We use char because int might match the return type of a gcc2
25288 builtin and then its argument prototype would still apply. */
25289 char gethostbyname ();
25298 rm -f conftest.
$ac_objext conftest
$ac_exeext
25299 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25300 (eval $ac_link) 2>conftest.er1
25302 grep -v '^ *+' conftest.er1
>conftest.err
25304 cat conftest.err
>&5
25305 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25306 (exit $ac_status); } &&
25307 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
25308 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25309 (eval $ac_try) 2>&5
25311 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25312 (exit $ac_status); }; } &&
25313 { ac_try
='test -s conftest$ac_exeext'
25314 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25315 (eval $ac_try) 2>&5
25317 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25318 (exit $ac_status); }; }; then
25319 ac_cv_lib_nsl_gethostbyname
=yes
25321 echo "$as_me: failed program was:" >&5
25322 sed 's/^/| /' conftest.
$ac_ext >&5
25324 ac_cv_lib_nsl_gethostbyname
=no
25326 rm -f conftest.err conftest.
$ac_objext \
25327 conftest
$ac_exeext conftest.
$ac_ext
25328 LIBS
=$ac_check_lib_save_LIBS
25330 echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
25331 echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6
25332 if test $ac_cv_lib_nsl_gethostbyname = yes; then
25333 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl"
25336 if test $ac_cv_lib_nsl_gethostbyname = no
; then
25337 echo "$as_me:$LINENO: checking for gethostbyname in -lbsd" >&5
25338 echo $ECHO_N "checking for gethostbyname in -lbsd... $ECHO_C" >&6
25339 if test "${ac_cv_lib_bsd_gethostbyname+set}" = set; then
25340 echo $ECHO_N "(cached) $ECHO_C" >&6
25342 ac_check_lib_save_LIBS
=$LIBS
25344 cat >conftest.
$ac_ext <<_ACEOF
25347 cat confdefs.h
>>conftest.
$ac_ext
25348 cat >>conftest.
$ac_ext <<_ACEOF
25349 /* end confdefs.h. */
25351 /* Override any gcc2 internal prototype to avoid an error. */
25355 /* We use char because int might match the return type of a gcc2
25356 builtin and then its argument prototype would still apply. */
25357 char gethostbyname ();
25366 rm -f conftest.
$ac_objext conftest
$ac_exeext
25367 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25368 (eval $ac_link) 2>conftest.er1
25370 grep -v '^ *+' conftest.er1
>conftest.err
25372 cat conftest.err
>&5
25373 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25374 (exit $ac_status); } &&
25375 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
25376 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25377 (eval $ac_try) 2>&5
25379 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25380 (exit $ac_status); }; } &&
25381 { ac_try
='test -s conftest$ac_exeext'
25382 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25383 (eval $ac_try) 2>&5
25385 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25386 (exit $ac_status); }; }; then
25387 ac_cv_lib_bsd_gethostbyname
=yes
25389 echo "$as_me: failed program was:" >&5
25390 sed 's/^/| /' conftest.
$ac_ext >&5
25392 ac_cv_lib_bsd_gethostbyname
=no
25394 rm -f conftest.err conftest.
$ac_objext \
25395 conftest
$ac_exeext conftest.
$ac_ext
25396 LIBS
=$ac_check_lib_save_LIBS
25398 echo "$as_me:$LINENO: result: $ac_cv_lib_bsd_gethostbyname" >&5
25399 echo "${ECHO_T}$ac_cv_lib_bsd_gethostbyname" >&6
25400 if test $ac_cv_lib_bsd_gethostbyname = yes; then
25401 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lbsd"
25407 # lieder@skyler.mavd.honeywell.com says without -lsocket,
25408 # socket/setsockopt and other routines are undefined under SCO ODT
25409 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
25410 # on later versions), says Simon Leinen: it contains gethostby*
25411 # variants that don't use the name server (or something). -lsocket
25412 # must be given before -lnsl if both are needed. We assume that
25413 # if connect needs -lnsl, so does gethostbyname.
25414 echo "$as_me:$LINENO: checking for connect" >&5
25415 echo $ECHO_N "checking for connect... $ECHO_C" >&6
25416 if test "${ac_cv_func_connect+set}" = set; then
25417 echo $ECHO_N "(cached) $ECHO_C" >&6
25419 cat >conftest.
$ac_ext <<_ACEOF
25422 cat confdefs.h
>>conftest.
$ac_ext
25423 cat >>conftest.
$ac_ext <<_ACEOF
25424 /* end confdefs.h. */
25425 /* Define connect to an innocuous variant, in case <limits.h> declares connect.
25426 For example, HP-UX 11i <limits.h> declares gettimeofday. */
25427 #define connect innocuous_connect
25429 /* System header to define __stub macros and hopefully few prototypes,
25430 which can conflict with char connect (); below.
25431 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25432 <limits.h> exists even on freestanding compilers. */
25435 # include <limits.h>
25437 # include <assert.h>
25442 /* Override any gcc2 internal prototype to avoid an error. */
25447 /* We use char because int might match the return type of a gcc2
25448 builtin and then its argument prototype would still apply. */
25450 /* The GNU C library defines this for functions which it implements
25451 to always fail with ENOSYS. Some functions are actually named
25452 something starting with __ and the normal name is an alias. */
25453 #if defined (__stub_connect) || defined (__stub___connect)
25456 char (*f) () = connect;
25465 return f != connect;
25470 rm -f conftest.
$ac_objext conftest
$ac_exeext
25471 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25472 (eval $ac_link) 2>conftest.er1
25474 grep -v '^ *+' conftest.er1
>conftest.err
25476 cat conftest.err
>&5
25477 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25478 (exit $ac_status); } &&
25479 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
25480 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25481 (eval $ac_try) 2>&5
25483 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25484 (exit $ac_status); }; } &&
25485 { ac_try
='test -s conftest$ac_exeext'
25486 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25487 (eval $ac_try) 2>&5
25489 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25490 (exit $ac_status); }; }; then
25491 ac_cv_func_connect
=yes
25493 echo "$as_me: failed program was:" >&5
25494 sed 's/^/| /' conftest.
$ac_ext >&5
25496 ac_cv_func_connect
=no
25498 rm -f conftest.err conftest.
$ac_objext \
25499 conftest
$ac_exeext conftest.
$ac_ext
25501 echo "$as_me:$LINENO: result: $ac_cv_func_connect" >&5
25502 echo "${ECHO_T}$ac_cv_func_connect" >&6
25504 if test $ac_cv_func_connect = no
; then
25505 echo "$as_me:$LINENO: checking for connect in -lsocket" >&5
25506 echo $ECHO_N "checking for connect in -lsocket... $ECHO_C" >&6
25507 if test "${ac_cv_lib_socket_connect+set}" = set; then
25508 echo $ECHO_N "(cached) $ECHO_C" >&6
25510 ac_check_lib_save_LIBS
=$LIBS
25511 LIBS
="-lsocket $X_EXTRA_LIBS $LIBS"
25512 cat >conftest.
$ac_ext <<_ACEOF
25515 cat confdefs.h
>>conftest.
$ac_ext
25516 cat >>conftest.
$ac_ext <<_ACEOF
25517 /* end confdefs.h. */
25519 /* Override any gcc2 internal prototype to avoid an error. */
25523 /* We use char because int might match the return type of a gcc2
25524 builtin and then its argument prototype would still apply. */
25534 rm -f conftest.
$ac_objext conftest
$ac_exeext
25535 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25536 (eval $ac_link) 2>conftest.er1
25538 grep -v '^ *+' conftest.er1
>conftest.err
25540 cat conftest.err
>&5
25541 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25542 (exit $ac_status); } &&
25543 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
25544 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25545 (eval $ac_try) 2>&5
25547 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25548 (exit $ac_status); }; } &&
25549 { ac_try
='test -s conftest$ac_exeext'
25550 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25551 (eval $ac_try) 2>&5
25553 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25554 (exit $ac_status); }; }; then
25555 ac_cv_lib_socket_connect
=yes
25557 echo "$as_me: failed program was:" >&5
25558 sed 's/^/| /' conftest.
$ac_ext >&5
25560 ac_cv_lib_socket_connect
=no
25562 rm -f conftest.err conftest.
$ac_objext \
25563 conftest
$ac_exeext conftest.
$ac_ext
25564 LIBS
=$ac_check_lib_save_LIBS
25566 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5
25567 echo "${ECHO_T}$ac_cv_lib_socket_connect" >&6
25568 if test $ac_cv_lib_socket_connect = yes; then
25569 X_EXTRA_LIBS
="-lsocket $X_EXTRA_LIBS"
25574 # Guillermo Gomez says -lposix is necessary on A/UX.
25575 echo "$as_me:$LINENO: checking for remove" >&5
25576 echo $ECHO_N "checking for remove... $ECHO_C" >&6
25577 if test "${ac_cv_func_remove+set}" = set; then
25578 echo $ECHO_N "(cached) $ECHO_C" >&6
25580 cat >conftest.
$ac_ext <<_ACEOF
25583 cat confdefs.h
>>conftest.
$ac_ext
25584 cat >>conftest.
$ac_ext <<_ACEOF
25585 /* end confdefs.h. */
25586 /* Define remove to an innocuous variant, in case <limits.h> declares remove.
25587 For example, HP-UX 11i <limits.h> declares gettimeofday. */
25588 #define remove innocuous_remove
25590 /* System header to define __stub macros and hopefully few prototypes,
25591 which can conflict with char remove (); below.
25592 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25593 <limits.h> exists even on freestanding compilers. */
25596 # include <limits.h>
25598 # include <assert.h>
25603 /* Override any gcc2 internal prototype to avoid an error. */
25608 /* We use char because int might match the return type of a gcc2
25609 builtin and then its argument prototype would still apply. */
25611 /* The GNU C library defines this for functions which it implements
25612 to always fail with ENOSYS. Some functions are actually named
25613 something starting with __ and the normal name is an alias. */
25614 #if defined (__stub_remove) || defined (__stub___remove)
25617 char (*f) () = remove;
25626 return f != remove;
25631 rm -f conftest.
$ac_objext conftest
$ac_exeext
25632 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25633 (eval $ac_link) 2>conftest.er1
25635 grep -v '^ *+' conftest.er1
>conftest.err
25637 cat conftest.err
>&5
25638 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25639 (exit $ac_status); } &&
25640 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
25641 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25642 (eval $ac_try) 2>&5
25644 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25645 (exit $ac_status); }; } &&
25646 { ac_try
='test -s conftest$ac_exeext'
25647 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25648 (eval $ac_try) 2>&5
25650 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25651 (exit $ac_status); }; }; then
25652 ac_cv_func_remove
=yes
25654 echo "$as_me: failed program was:" >&5
25655 sed 's/^/| /' conftest.
$ac_ext >&5
25657 ac_cv_func_remove
=no
25659 rm -f conftest.err conftest.
$ac_objext \
25660 conftest
$ac_exeext conftest.
$ac_ext
25662 echo "$as_me:$LINENO: result: $ac_cv_func_remove" >&5
25663 echo "${ECHO_T}$ac_cv_func_remove" >&6
25665 if test $ac_cv_func_remove = no
; then
25666 echo "$as_me:$LINENO: checking for remove in -lposix" >&5
25667 echo $ECHO_N "checking for remove in -lposix... $ECHO_C" >&6
25668 if test "${ac_cv_lib_posix_remove+set}" = set; then
25669 echo $ECHO_N "(cached) $ECHO_C" >&6
25671 ac_check_lib_save_LIBS
=$LIBS
25672 LIBS
="-lposix $LIBS"
25673 cat >conftest.
$ac_ext <<_ACEOF
25676 cat confdefs.h
>>conftest.
$ac_ext
25677 cat >>conftest.
$ac_ext <<_ACEOF
25678 /* end confdefs.h. */
25680 /* Override any gcc2 internal prototype to avoid an error. */
25684 /* We use char because int might match the return type of a gcc2
25685 builtin and then its argument prototype would still apply. */
25695 rm -f conftest.
$ac_objext conftest
$ac_exeext
25696 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25697 (eval $ac_link) 2>conftest.er1
25699 grep -v '^ *+' conftest.er1
>conftest.err
25701 cat conftest.err
>&5
25702 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25703 (exit $ac_status); } &&
25704 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
25705 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25706 (eval $ac_try) 2>&5
25708 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25709 (exit $ac_status); }; } &&
25710 { ac_try
='test -s conftest$ac_exeext'
25711 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25712 (eval $ac_try) 2>&5
25714 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25715 (exit $ac_status); }; }; then
25716 ac_cv_lib_posix_remove
=yes
25718 echo "$as_me: failed program was:" >&5
25719 sed 's/^/| /' conftest.
$ac_ext >&5
25721 ac_cv_lib_posix_remove
=no
25723 rm -f conftest.err conftest.
$ac_objext \
25724 conftest
$ac_exeext conftest.
$ac_ext
25725 LIBS
=$ac_check_lib_save_LIBS
25727 echo "$as_me:$LINENO: result: $ac_cv_lib_posix_remove" >&5
25728 echo "${ECHO_T}$ac_cv_lib_posix_remove" >&6
25729 if test $ac_cv_lib_posix_remove = yes; then
25730 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lposix"
25735 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
25736 echo "$as_me:$LINENO: checking for shmat" >&5
25737 echo $ECHO_N "checking for shmat... $ECHO_C" >&6
25738 if test "${ac_cv_func_shmat+set}" = set; then
25739 echo $ECHO_N "(cached) $ECHO_C" >&6
25741 cat >conftest.
$ac_ext <<_ACEOF
25744 cat confdefs.h
>>conftest.
$ac_ext
25745 cat >>conftest.
$ac_ext <<_ACEOF
25746 /* end confdefs.h. */
25747 /* Define shmat to an innocuous variant, in case <limits.h> declares shmat.
25748 For example, HP-UX 11i <limits.h> declares gettimeofday. */
25749 #define shmat innocuous_shmat
25751 /* System header to define __stub macros and hopefully few prototypes,
25752 which can conflict with char shmat (); below.
25753 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25754 <limits.h> exists even on freestanding compilers. */
25757 # include <limits.h>
25759 # include <assert.h>
25764 /* Override any gcc2 internal prototype to avoid an error. */
25769 /* We use char because int might match the return type of a gcc2
25770 builtin and then its argument prototype would still apply. */
25772 /* The GNU C library defines this for functions which it implements
25773 to always fail with ENOSYS. Some functions are actually named
25774 something starting with __ and the normal name is an alias. */
25775 #if defined (__stub_shmat) || defined (__stub___shmat)
25778 char (*f) () = shmat;
25792 rm -f conftest.
$ac_objext conftest
$ac_exeext
25793 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25794 (eval $ac_link) 2>conftest.er1
25796 grep -v '^ *+' conftest.er1
>conftest.err
25798 cat conftest.err
>&5
25799 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25800 (exit $ac_status); } &&
25801 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
25802 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25803 (eval $ac_try) 2>&5
25805 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25806 (exit $ac_status); }; } &&
25807 { ac_try
='test -s conftest$ac_exeext'
25808 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25809 (eval $ac_try) 2>&5
25811 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25812 (exit $ac_status); }; }; then
25813 ac_cv_func_shmat
=yes
25815 echo "$as_me: failed program was:" >&5
25816 sed 's/^/| /' conftest.
$ac_ext >&5
25818 ac_cv_func_shmat
=no
25820 rm -f conftest.err conftest.
$ac_objext \
25821 conftest
$ac_exeext conftest.
$ac_ext
25823 echo "$as_me:$LINENO: result: $ac_cv_func_shmat" >&5
25824 echo "${ECHO_T}$ac_cv_func_shmat" >&6
25826 if test $ac_cv_func_shmat = no
; then
25827 echo "$as_me:$LINENO: checking for shmat in -lipc" >&5
25828 echo $ECHO_N "checking for shmat in -lipc... $ECHO_C" >&6
25829 if test "${ac_cv_lib_ipc_shmat+set}" = set; then
25830 echo $ECHO_N "(cached) $ECHO_C" >&6
25832 ac_check_lib_save_LIBS
=$LIBS
25834 cat >conftest.
$ac_ext <<_ACEOF
25837 cat confdefs.h
>>conftest.
$ac_ext
25838 cat >>conftest.
$ac_ext <<_ACEOF
25839 /* end confdefs.h. */
25841 /* Override any gcc2 internal prototype to avoid an error. */
25845 /* We use char because int might match the return type of a gcc2
25846 builtin and then its argument prototype would still apply. */
25856 rm -f conftest.
$ac_objext conftest
$ac_exeext
25857 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25858 (eval $ac_link) 2>conftest.er1
25860 grep -v '^ *+' conftest.er1
>conftest.err
25862 cat conftest.err
>&5
25863 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25864 (exit $ac_status); } &&
25865 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
25866 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25867 (eval $ac_try) 2>&5
25869 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25870 (exit $ac_status); }; } &&
25871 { ac_try
='test -s conftest$ac_exeext'
25872 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25873 (eval $ac_try) 2>&5
25875 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25876 (exit $ac_status); }; }; then
25877 ac_cv_lib_ipc_shmat
=yes
25879 echo "$as_me: failed program was:" >&5
25880 sed 's/^/| /' conftest.
$ac_ext >&5
25882 ac_cv_lib_ipc_shmat
=no
25884 rm -f conftest.err conftest.
$ac_objext \
25885 conftest
$ac_exeext conftest.
$ac_ext
25886 LIBS
=$ac_check_lib_save_LIBS
25888 echo "$as_me:$LINENO: result: $ac_cv_lib_ipc_shmat" >&5
25889 echo "${ECHO_T}$ac_cv_lib_ipc_shmat" >&6
25890 if test $ac_cv_lib_ipc_shmat = yes; then
25891 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lipc"
25897 # Check for libraries that X11R6 Xt/Xaw programs need.
25898 ac_save_LDFLAGS
=$LDFLAGS
25899 test -n "$x_libraries" && LDFLAGS
="$LDFLAGS -L$x_libraries"
25900 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
25901 # check for ICE first), but we must link in the order -lSM -lICE or
25902 # we get undefined symbols. So assume we have SM if we have ICE.
25903 # These have to be linked with before -lX11, unlike the other
25904 # libraries we check for below, so use a different variable.
25905 # John Interrante, Karl Berry
25906 echo "$as_me:$LINENO: checking for IceConnectionNumber in -lICE" >&5
25907 echo $ECHO_N "checking for IceConnectionNumber in -lICE... $ECHO_C" >&6
25908 if test "${ac_cv_lib_ICE_IceConnectionNumber+set}" = set; then
25909 echo $ECHO_N "(cached) $ECHO_C" >&6
25911 ac_check_lib_save_LIBS
=$LIBS
25912 LIBS
="-lICE $X_EXTRA_LIBS $LIBS"
25913 cat >conftest.
$ac_ext <<_ACEOF
25916 cat confdefs.h
>>conftest.
$ac_ext
25917 cat >>conftest.
$ac_ext <<_ACEOF
25918 /* end confdefs.h. */
25920 /* Override any gcc2 internal prototype to avoid an error. */
25924 /* We use char because int might match the return type of a gcc2
25925 builtin and then its argument prototype would still apply. */
25926 char IceConnectionNumber ();
25930 IceConnectionNumber ();
25935 rm -f conftest.
$ac_objext conftest
$ac_exeext
25936 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25937 (eval $ac_link) 2>conftest.er1
25939 grep -v '^ *+' conftest.er1
>conftest.err
25941 cat conftest.err
>&5
25942 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25943 (exit $ac_status); } &&
25944 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
25945 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25946 (eval $ac_try) 2>&5
25948 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25949 (exit $ac_status); }; } &&
25950 { ac_try
='test -s conftest$ac_exeext'
25951 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25952 (eval $ac_try) 2>&5
25954 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25955 (exit $ac_status); }; }; then
25956 ac_cv_lib_ICE_IceConnectionNumber
=yes
25958 echo "$as_me: failed program was:" >&5
25959 sed 's/^/| /' conftest.
$ac_ext >&5
25961 ac_cv_lib_ICE_IceConnectionNumber
=no
25963 rm -f conftest.err conftest.
$ac_objext \
25964 conftest
$ac_exeext conftest.
$ac_ext
25965 LIBS
=$ac_check_lib_save_LIBS
25967 echo "$as_me:$LINENO: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
25968 echo "${ECHO_T}$ac_cv_lib_ICE_IceConnectionNumber" >&6
25969 if test $ac_cv_lib_ICE_IceConnectionNumber = yes; then
25970 X_PRE_LIBS
="$X_PRE_LIBS -lSM -lICE"
25973 LDFLAGS
=$ac_save_LDFLAGS
25978 if test "$no_x" = "yes"; then
25979 { { echo "$as_me:$LINENO: error: X11 not found" >&5
25980 echo "$as_me: error: X11 not found" >&2;}
25981 { (exit please use
--x-includes and
/or
--x-libraries options
); exit please use
--x-includes and
/or
--x-libraries options
; }; }
25984 GUI_TK_LIBRARY
=`echo $X_LIBS | sed 's/ -LNONE//'`
25985 TOOLKIT_INCLUDE
=`echo $X_CFLAGS | sed 's/ -INONE//'`
25986 AFMINSTALL
=afminstall
25987 COMPILED_X_PROGRAM
=0
25989 echo "$as_me:$LINENO: checking for Motif/Lesstif headers" >&5
25990 echo $ECHO_N "checking for Motif/Lesstif headers... $ECHO_C" >&6
25993 for ac_dir
in $SEARCH_INCLUDE /usr
/include
;
25995 if test -f "$ac_dir/Xm/Xm.h"; then
25996 ac_find_includes
=$ac_dir
26001 if test "$ac_find_includes" != "" ; then
26002 echo "$as_me:$LINENO: result: found in $ac_find_includes" >&5
26003 echo "${ECHO_T}found in $ac_find_includes" >&6
26005 if test "x$ac_find_includes" = "x/usr/include"; then
26006 ac_path_to_include
=""
26008 echo "$TOOLKIT_INCLUDE" | grep "\-I$ac_find_includes" > /dev
/null
26010 if test $result = 0; then
26011 ac_path_to_include
=""
26013 ac_path_to_include
=" -I$ac_find_includes"
26017 TOOLKIT_INCLUDE
="$TOOLKIT_INCLUDE$ac_path_to_include"
26019 cat >conftest.
$ac_ext <<_ACEOF
26022 cat confdefs.h
>>conftest.
$ac_ext
26023 cat >>conftest.
$ac_ext <<_ACEOF
26024 /* end confdefs.h. */
26033 version = xmUseVersion;
26039 rm -f conftest.
$ac_objext
26040 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26041 (eval $ac_compile) 2>conftest.er1
26043 grep -v '^ *+' conftest.er1
>conftest.err
26045 cat conftest.err
>&5
26046 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26047 (exit $ac_status); } &&
26048 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
26049 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26050 (eval $ac_try) 2>&5
26052 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26053 (exit $ac_status); }; } &&
26054 { ac_try
='test -s conftest.$ac_objext'
26055 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26056 (eval $ac_try) 2>&5
26058 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26059 (exit $ac_status); }; }; then
26061 echo "$as_me:$LINENO: result: found in default search path" >&5
26062 echo "${ECHO_T}found in default search path" >&6
26063 COMPILED_X_PROGRAM
=1
26066 echo "$as_me: failed program was:" >&5
26067 sed 's/^/| /' conftest.
$ac_ext >&5
26070 echo "$as_me:$LINENO: result: no" >&5
26071 echo "${ECHO_T}no" >&6
26072 { { echo "$as_me:$LINENO: error: please set CFLAGS to contain the location of Xm/Xm.h" >&5
26073 echo "$as_me: error: please set CFLAGS to contain the location of Xm/Xm.h" >&2;}
26074 { (exit 1); exit 1; }; }
26078 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
26081 if test "$COMPILED_X_PROGRAM" = 0; then
26082 echo "$as_me:$LINENO: checking for Motif/Lesstif library" >&5
26083 echo $ECHO_N "checking for Motif/Lesstif library... $ECHO_C" >&6
26086 for ac_dir
in $SEARCH_LIB /usr
/lib
;
26088 for ac_extension
in a so sl dylib
; do
26089 if test -f "$ac_dir/libXm.$ac_extension"; then
26090 ac_find_libraries
=$ac_dir
26096 if test "$ac_find_libraries" != "" ; then
26097 echo "$as_me:$LINENO: result: found at $ac_find_libraries" >&5
26098 echo "${ECHO_T}found at $ac_find_libraries" >&6
26101 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev
/null
26103 if test $result = 0; then
26106 ac_path_to_link
=" -L$ac_find_libraries"
26109 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY$ac_path_to_link"
26111 save_CFLAGS
=$CFLAGS
26112 CFLAGS
="$CFLAGS $TOOLKIT_INCLUDE"
26114 cat >conftest.
$ac_ext <<_ACEOF
26117 cat confdefs.h
>>conftest.
$ac_ext
26118 cat >>conftest.
$ac_ext <<_ACEOF
26119 /* end confdefs.h. */
26128 version = xmUseVersion;
26134 rm -f conftest.
$ac_objext
26135 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26136 (eval $ac_compile) 2>conftest.er1
26138 grep -v '^ *+' conftest.er1
>conftest.err
26140 cat conftest.err
>&5
26141 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26142 (exit $ac_status); } &&
26143 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
26144 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26145 (eval $ac_try) 2>&5
26147 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26148 (exit $ac_status); }; } &&
26149 { ac_try
='test -s conftest.$ac_objext'
26150 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26151 (eval $ac_try) 2>&5
26153 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26154 (exit $ac_status); }; }; then
26156 echo "$as_me:$LINENO: result: found in default search path" >&5
26157 echo "${ECHO_T}found in default search path" >&6
26158 COMPILED_X_PROGRAM
=1
26161 echo "$as_me: failed program was:" >&5
26162 sed 's/^/| /' conftest.
$ac_ext >&5
26165 echo "$as_me:$LINENO: result: no" >&5
26166 echo "${ECHO_T}no" >&6
26167 { { echo "$as_me:$LINENO: error: please set LDFLAGS to contain the location of libXm" >&5
26168 echo "$as_me: error: please set LDFLAGS to contain the location of libXm" >&2;}
26169 { (exit 1); exit 1; }; }
26173 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
26175 CFLAGS
=$save_CFLAGS
26179 echo "$as_me:$LINENO: checking if we need -lXp and/or -lSM -lICE" >&5
26180 echo $ECHO_N "checking if we need -lXp and/or -lSM -lICE... $ECHO_C" >&6
26184 for libp
in "" " -lXp"; do
26185 if test "$libs_found" = "0"; then
26186 for libsm_ice
in "" " -lSM -lICE"; do
26187 if test "$libs_found" = "0"; then
26189 LIBS
="$GUI_TK_LIBRARY -lXm ${libp} -lXmu -lXext -lXt${libsm_ice} -lX11"
26190 save_CFLAGS
=$CFLAGS
26191 CFLAGS
="$CFLAGS $TOOLKIT_INCLUDE"
26193 cat >conftest.
$ac_ext <<_ACEOF
26196 cat confdefs.h
>>conftest.
$ac_ext
26197 cat >>conftest.
$ac_ext <<_ACEOF
26198 /* end confdefs.h. */
26201 #include <Xm/List.h>
26207 XmString string = NULL;
26210 XmListAddItem(w, string, position);
26216 rm -f conftest.
$ac_objext conftest
$ac_exeext
26217 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26218 (eval $ac_link) 2>conftest.er1
26220 grep -v '^ *+' conftest.er1
>conftest.err
26222 cat conftest.err
>&5
26223 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26224 (exit $ac_status); } &&
26225 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
26226 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26227 (eval $ac_try) 2>&5
26229 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26230 (exit $ac_status); }; } &&
26231 { ac_try
='test -s conftest$ac_exeext'
26232 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26233 (eval $ac_try) 2>&5
26235 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26236 (exit $ac_status); }; }; then
26239 libsm_ice_link
="$libsm_ice"
26240 echo "$as_me:$LINENO: result: need${libp_link}${libsm_ice_link}" >&5
26241 echo "${ECHO_T}need${libp_link}${libsm_ice_link}" >&6
26245 echo "$as_me: failed program was:" >&5
26246 sed 's/^/| /' conftest.
$ac_ext >&5
26251 rm -f conftest.err conftest.
$ac_objext \
26252 conftest
$ac_exeext conftest.
$ac_ext
26255 CFLAGS
=$save_CFLAGS
26261 if test "$libs_found" = "0"; then
26262 echo "$as_me:$LINENO: result: can't find the right libraries" >&5
26263 echo "${ECHO_T}can't find the right libraries" >&6
26264 { { echo "$as_me:$LINENO: error: can't link a simple motif program" >&5
26265 echo "$as_me: error: can't link a simple motif program" >&2;}
26266 { (exit 1); exit 1; }; }
26269 save_CFLAGS
=$CFLAGS
26270 CFLAGS
="$CFLAGS $TOOLKIT_INCLUDE"
26271 echo "$as_me:$LINENO: checking for Motif 2" >&5
26272 echo $ECHO_N "checking for Motif 2... $ECHO_C" >&6
26273 cat >conftest.
$ac_ext <<_ACEOF
26276 cat confdefs.h
>>conftest.
$ac_ext
26277 cat >>conftest.
$ac_ext <<_ACEOF
26278 /* end confdefs.h. */
26286 #if XmVersion < 2000
26287 #error "Not Motif 2"
26294 rm -f conftest.
$ac_objext
26295 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26296 (eval $ac_compile) 2>conftest.er1
26298 grep -v '^ *+' conftest.er1
>conftest.err
26300 cat conftest.err
>&5
26301 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26302 (exit $ac_status); } &&
26303 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
26304 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26305 (eval $ac_try) 2>&5
26307 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26308 (exit $ac_status); }; } &&
26309 { ac_try
='test -s conftest.$ac_objext'
26310 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26311 (eval $ac_try) 2>&5
26313 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26314 (exit $ac_status); }; }; then
26316 cat >>confdefs.h
<<\_ACEOF
26317 #define __WXMOTIF20__ 1
26320 echo "$as_me:$LINENO: result: found" >&5
26321 echo "${ECHO_T}found" >&6
26324 echo "$as_me: failed program was:" >&5
26325 sed 's/^/| /' conftest.
$ac_ext >&5
26328 cat >>confdefs.h
<<\_ACEOF
26329 #define __WXMOTIF20__ 0
26332 echo "$as_me:$LINENO: result: not found" >&5
26333 echo "${ECHO_T}not found" >&6
26336 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
26337 CFLAGS
=$save_CFLAGS
26339 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lXm${libp_link} -lXmu -lXext -lXt${libsm_ice_link} -lX11"
26340 TOOLKIT_VPATH
="\${top_srcdir}/src/motif${PATH_IFS}\${top_srcdir}/src/motif/xmcombo${PATH_IFS}\${top_srcdir}/src/x11"
26345 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
26346 if test "$wxUSE_LIBXPM" = "sys"; then
26347 echo "$as_me:$LINENO: checking for Xpm library" >&5
26348 echo $ECHO_N "checking for Xpm library... $ECHO_C" >&6
26351 for ac_dir
in $SEARCH_LIB /usr
/lib
;
26353 for ac_extension
in a so sl dylib
; do
26354 if test -f "$ac_dir/libXpm.$ac_extension"; then
26355 ac_find_libraries
=$ac_dir
26361 if test "$ac_find_libraries" != "" ; then
26363 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev
/null
26365 if test $result = 0; then
26368 ac_path_to_link
=" -L$ac_find_libraries"
26371 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY$ac_path_to_link"
26372 echo "$as_me:$LINENO: result: found at $ac_find_libraries" >&5
26373 echo "${ECHO_T}found at $ac_find_libraries" >&6
26375 echo "$as_me:$LINENO: checking for X11/xpm.h" >&5
26376 echo $ECHO_N "checking for X11/xpm.h... $ECHO_C" >&6
26377 if test "${wx_cv_x11_xpm_h+set}" = set; then
26378 echo $ECHO_N "(cached) $ECHO_C" >&6
26381 save_CFLAGS
=$CFLAGS
26382 CFLAGS
="$CFLAGS $TOOLKIT_INCLUDE"
26384 cat >conftest.
$ac_ext <<_ACEOF
26387 cat confdefs.h
>>conftest.
$ac_ext
26388 cat >>conftest.
$ac_ext <<_ACEOF
26389 /* end confdefs.h. */
26391 #include <X11/xpm.h>
26398 version = XpmLibraryVersion();
26404 rm -f conftest.
$ac_objext
26405 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26406 (eval $ac_compile) 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" || test ! -s conftest.err'
26414 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26415 (eval $ac_try) 2>&5
26417 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26418 (exit $ac_status); }; } &&
26419 { ac_try
='test -s conftest.$ac_objext'
26420 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26421 (eval $ac_try) 2>&5
26423 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26424 (exit $ac_status); }; }; then
26425 wx_cv_x11_xpm_h
=yes
26427 echo "$as_me: failed program was:" >&5
26428 sed 's/^/| /' conftest.
$ac_ext >&5
26433 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
26435 CFLAGS
=$save_CFLAGS
26439 echo "$as_me:$LINENO: result: $wx_cv_x11_xpm_h" >&5
26440 echo "${ECHO_T}$wx_cv_x11_xpm_h" >&6
26442 if test $wx_cv_x11_xpm_h = "yes"; then
26443 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lXpm"
26444 cat >>confdefs.h
<<\_ACEOF
26445 #define wxHAVE_LIB_XPM 1
26449 { echo "$as_me:$LINENO: WARNING: built-in less efficient XPM decoder will be used" >&5
26450 echo "$as_me: WARNING: built-in less efficient XPM decoder will be used" >&2;}
26456 echo "$as_me:$LINENO: checking for XShapeQueryExtension in -lXext" >&5
26457 echo $ECHO_N "checking for XShapeQueryExtension in -lXext... $ECHO_C" >&6
26458 if test "${ac_cv_lib_Xext_XShapeQueryExtension+set}" = set; then
26459 echo $ECHO_N "(cached) $ECHO_C" >&6
26461 ac_check_lib_save_LIBS
=$LIBS
26462 LIBS
="-lXext $GUI_TK_LIBRARY -lX11 $LIBS"
26463 cat >conftest.
$ac_ext <<_ACEOF
26466 cat confdefs.h
>>conftest.
$ac_ext
26467 cat >>conftest.
$ac_ext <<_ACEOF
26468 /* end confdefs.h. */
26470 /* Override any gcc2 internal prototype to avoid an error. */
26474 /* We use char because int might match the return type of a gcc2
26475 builtin and then its argument prototype would still apply. */
26476 char XShapeQueryExtension ();
26480 XShapeQueryExtension ();
26485 rm -f conftest.
$ac_objext conftest
$ac_exeext
26486 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26487 (eval $ac_link) 2>conftest.er1
26489 grep -v '^ *+' conftest.er1
>conftest.err
26491 cat conftest.err
>&5
26492 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26493 (exit $ac_status); } &&
26494 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
26495 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26496 (eval $ac_try) 2>&5
26498 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26499 (exit $ac_status); }; } &&
26500 { ac_try
='test -s conftest$ac_exeext'
26501 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26502 (eval $ac_try) 2>&5
26504 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26505 (exit $ac_status); }; }; then
26506 ac_cv_lib_Xext_XShapeQueryExtension
=yes
26508 echo "$as_me: failed program was:" >&5
26509 sed 's/^/| /' conftest.
$ac_ext >&5
26511 ac_cv_lib_Xext_XShapeQueryExtension
=no
26513 rm -f conftest.err conftest.
$ac_objext \
26514 conftest
$ac_exeext conftest.
$ac_ext
26515 LIBS
=$ac_check_lib_save_LIBS
26517 echo "$as_me:$LINENO: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
26518 echo "${ECHO_T}$ac_cv_lib_Xext_XShapeQueryExtension" >&6
26519 if test $ac_cv_lib_Xext_XShapeQueryExtension = yes; then
26521 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lXext"
26527 if test "$wxHAVE_XEXT_LIB" = 1; then
26528 save_CFLAGS
="$CFLAGS"
26529 CFLAGS
="$CFLAGS $TOOLKIT_INCLUDE"
26531 echo "$as_me:$LINENO: checking for X11/extensions/shape.h" >&5
26532 echo $ECHO_N "checking for X11/extensions/shape.h... $ECHO_C" >&6
26533 cat >conftest.
$ac_ext <<_ACEOF
26536 cat confdefs.h
>>conftest.
$ac_ext
26537 cat >>conftest.
$ac_ext <<_ACEOF
26538 /* end confdefs.h. */
26540 #include <X11/Xlib.h>
26541 #include <X11/extensions/shape.h>
26547 int dummy1, dummy2;
26548 XShapeQueryExtension((Display*)NULL,
26549 (int*)NULL, (int*)NULL);
26555 rm -f conftest.
$ac_objext
26556 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26557 (eval $ac_compile) 2>conftest.er1
26559 grep -v '^ *+' conftest.er1
>conftest.err
26561 cat conftest.err
>&5
26562 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26563 (exit $ac_status); } &&
26564 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
26565 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26566 (eval $ac_try) 2>&5
26568 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26569 (exit $ac_status); }; } &&
26570 { ac_try
='test -s conftest.$ac_objext'
26571 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26572 (eval $ac_try) 2>&5
26574 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26575 (exit $ac_status); }; }; then
26577 cat >>confdefs.h
<<\_ACEOF
26578 #define HAVE_XSHAPE 1
26581 echo "$as_me:$LINENO: result: found" >&5
26582 echo "${ECHO_T}found" >&6
26585 echo "$as_me: failed program was:" >&5
26586 sed 's/^/| /' conftest.
$ac_ext >&5
26589 echo "$as_me:$LINENO: result: not found" >&5
26590 echo "${ECHO_T}not found" >&6
26593 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
26594 CFLAGS
="$save_CFLAGS"
26599 if test "$wxUSE_MAC" = 1; then
26600 echo "$as_me:$LINENO: checking for compiler syntax to enable Pascal strings" >&5
26601 echo $ECHO_N "checking for compiler syntax to enable Pascal strings... $ECHO_C" >&6
26602 if test "$GCC" = yes; then
26603 echo "$as_me:$LINENO: result: gcc" >&5
26604 echo "${ECHO_T}gcc" >&6
26605 CPPFLAGS_PASCAL
="-fpascal-strings"
26606 elif test "`echo $CXX | sed -e 's@.*/@@'`" = "xlC"; then
26607 echo "$as_me:$LINENO: result: xlc" >&5
26608 echo "${ECHO_T}xlc" >&6
26609 CPPFLAGS_PASCAL
="-qmacpstr"
26611 echo "$as_me:$LINENO: result: none" >&5
26612 echo "${ECHO_T}none" >&6
26615 CPPFLAGS
="$CPPFLAGS $CPPFLAGS_PASCAL -I\${top_srcdir}/src/mac/morefilex -I/Developer/Headers/FlatCarbon"
26617 TOOLKIT_VPATH
="\${top_srcdir}/src/mac${PATH_IFS}\${top_srcdir}/src/mac/morefilex"
26620 WXBASEPORT
="_carbon"
26623 if test "$wxUSE_COCOA" = 1; then
26624 TOOLKIT_VPATH
="\${top_srcdir}/src/cocoa"
26629 if test "$wxUSE_PM" = 1; then
26634 if test "$TOOLKIT" = "PM" ; then
26637 TOOLKIT_DIR
=`echo ${TOOLKIT} | tr "[A-Z]" "[a-z]"`
26640 PORT_FILES
="\${top_srcdir}/src/\$(TOOLKITDIR)/files.lst"
26642 if test "$wxUSE_UNIVERSAL" = "yes"; then
26643 ALL_OBJECTS
="\$(GUI_LOWLEVEL_OBJS) \${UNIVOBJS}"
26645 ALL_SOURCES
="\$(ALL_SOURCES) \${UNIV_SOURCES}"
26646 ALL_HEADERS
="\$(ALL_HEADERS) \${UNIV_HEADERS}"
26648 PORT_FILES
="${PORT_FILES} \${top_srcdir}/src/univ/files.lst"
26649 if test "$wxUSE_X11" = 1; then
26650 TOOLKIT_VPATH
="\${top_srcdir}/src/${TOOLKIT_DIR}${PATH_IFS}\${top_srcdir}/src/univ${PATH_IFS}\${top_srcdir}/src/univ/themes"
26652 TOOLKIT_VPATH
="\${top_srcdir}/src/univ${PATH_IFS}\${top_srcdir}/src/univ/themes${PATH_IFS}\${top_srcdir}/src/${TOOLKIT_DIR}"
26654 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -D__WXUNIVERSAL__"
26657 ALL_OBJECTS
="\$(GUIOBJS)"
26658 ALL_SOURCES
="\$(ALL_SOURCES)"
26659 ALL_HEADERS
="\$(ALL_HEADERS)"
26662 ALL_OBJECTS
="${ALL_OBJECTS} \$(COMMONOBJS) \$(GENERICOBJS)"
26664 if test "$TOOLKIT" != "MSW" -a "$USE_DOS" != 1; then
26665 ALL_OBJECTS
="${ALL_OBJECTS} \$(UNIXOBJS)"
26668 if test "$wxUSE_HTML" = "yes"; then
26669 ALL_OBJECTS
="${ALL_OBJECTS} \$(HTMLOBJS)"
26672 if test "$wxUSE_LIBJPEG" = "builtin" ; then
26673 ALL_OBJECTS
="${ALL_OBJECTS} \$(JPEGOBJS)"
26675 if test "$wxUSE_LIBTIFF" = "builtin" ; then
26676 ALL_OBJECTS
="${ALL_OBJECTS} \$(TIFFOBJS)"
26678 if test "$wxUSE_LIBPNG" = "builtin" ; then
26679 ALL_OBJECTS
="${ALL_OBJECTS} \$(PNGOBJS)"
26682 GUIDIST
="${GUIDIST} SAMPLES_DIST DEMOS_DIST UTILS_DIST MISC_DIST"
26683 DISTDIR
="wx\$(TOOLKIT)"
26689 if test "$USE_WIN32" = 1 ; then
26690 ALL_OBJECTS
="\${BASE_OBJS} \${BASE_MSW_OBJS}"
26691 TOOLKIT_VPATH
="\${top_srcdir}/src/msw"
26695 ALL_OBJECTS
="\${BASE_OBJS} \${BASE_UNIX_OBJS}"
26696 TOOLKIT_VPATH
="\${top_srcdir}/src/unix"
26699 ALL_SOURCES
="\$(ALL_SOURCES)"
26700 ALL_HEADERS
="\$(ALL_HEADERS)"
26702 PORT_FILES
="\${top_srcdir}/src/files.lst"
26704 GUIDIST
="BASE_DIST"
26714 if test "$TOOLKIT" != "MSW" ; then
26716 if test "$wxUSE_ODBC" = "sys" -o "$wxUSE_ODBC" = "yes" ; then
26718 if test "${ac_cv_header_sql_h+set}" = set; then
26719 echo "$as_me:$LINENO: checking for sql.h" >&5
26720 echo $ECHO_N "checking for sql.h... $ECHO_C" >&6
26721 if test "${ac_cv_header_sql_h+set}" = set; then
26722 echo $ECHO_N "(cached) $ECHO_C" >&6
26724 echo "$as_me:$LINENO: result: $ac_cv_header_sql_h" >&5
26725 echo "${ECHO_T}$ac_cv_header_sql_h" >&6
26727 # Is the header compilable?
26728 echo "$as_me:$LINENO: checking sql.h usability" >&5
26729 echo $ECHO_N "checking sql.h usability... $ECHO_C" >&6
26730 cat >conftest.
$ac_ext <<_ACEOF
26733 cat confdefs.h
>>conftest.
$ac_ext
26734 cat >>conftest.
$ac_ext <<_ACEOF
26735 /* end confdefs.h. */
26736 $ac_includes_default
26739 rm -f conftest.
$ac_objext
26740 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26741 (eval $ac_compile) 2>conftest.er1
26743 grep -v '^ *+' conftest.er1
>conftest.err
26745 cat conftest.err
>&5
26746 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26747 (exit $ac_status); } &&
26748 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
26749 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26750 (eval $ac_try) 2>&5
26752 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26753 (exit $ac_status); }; } &&
26754 { ac_try
='test -s conftest.$ac_objext'
26755 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26756 (eval $ac_try) 2>&5
26758 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26759 (exit $ac_status); }; }; then
26760 ac_header_compiler
=yes
26762 echo "$as_me: failed program was:" >&5
26763 sed 's/^/| /' conftest.
$ac_ext >&5
26765 ac_header_compiler
=no
26767 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
26768 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
26769 echo "${ECHO_T}$ac_header_compiler" >&6
26771 # Is the header present?
26772 echo "$as_me:$LINENO: checking sql.h presence" >&5
26773 echo $ECHO_N "checking sql.h presence... $ECHO_C" >&6
26774 cat >conftest.
$ac_ext <<_ACEOF
26777 cat confdefs.h
>>conftest.
$ac_ext
26778 cat >>conftest.
$ac_ext <<_ACEOF
26779 /* end confdefs.h. */
26782 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
26783 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
26785 grep -v '^ *+' conftest.er1
>conftest.err
26787 cat conftest.err
>&5
26788 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26789 (exit $ac_status); } >/dev
/null
; then
26790 if test -s conftest.err
; then
26791 ac_cpp_err
=$ac_c_preproc_warn_flag
26792 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
26799 if test -z "$ac_cpp_err"; then
26800 ac_header_preproc
=yes
26802 echo "$as_me: failed program was:" >&5
26803 sed 's/^/| /' conftest.
$ac_ext >&5
26805 ac_header_preproc
=no
26807 rm -f conftest.err conftest.
$ac_ext
26808 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
26809 echo "${ECHO_T}$ac_header_preproc" >&6
26811 # So? What about this header?
26812 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
26814 { echo "$as_me:$LINENO: WARNING: sql.h: accepted by the compiler, rejected by the preprocessor!" >&5
26815 echo "$as_me: WARNING: sql.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
26816 { echo "$as_me:$LINENO: WARNING: sql.h: proceeding with the compiler's result" >&5
26817 echo "$as_me: WARNING: sql.h: proceeding with the compiler's result" >&2;}
26818 ac_header_preproc
=yes
26821 { echo "$as_me:$LINENO: WARNING: sql.h: present but cannot be compiled" >&5
26822 echo "$as_me: WARNING: sql.h: present but cannot be compiled" >&2;}
26823 { echo "$as_me:$LINENO: WARNING: sql.h: check for missing prerequisite headers?" >&5
26824 echo "$as_me: WARNING: sql.h: check for missing prerequisite headers?" >&2;}
26825 { echo "$as_me:$LINENO: WARNING: sql.h: see the Autoconf documentation" >&5
26826 echo "$as_me: WARNING: sql.h: see the Autoconf documentation" >&2;}
26827 { echo "$as_me:$LINENO: WARNING: sql.h: section \"Present But Cannot Be Compiled\"" >&5
26828 echo "$as_me: WARNING: sql.h: section \"Present But Cannot Be Compiled\"" >&2;}
26829 { echo "$as_me:$LINENO: WARNING: sql.h: proceeding with the preprocessor's result" >&5
26830 echo "$as_me: WARNING: sql.h: proceeding with the preprocessor's result" >&2;}
26831 { echo "$as_me:$LINENO: WARNING: sql.h: in the future, the compiler will take precedence" >&5
26832 echo "$as_me: WARNING: sql.h: in the future, the compiler will take precedence" >&2;}
26835 ## ----------------------------------------- ##
26836 ## Report this to wx-dev@lists.wxwindows.org ##
26837 ## ----------------------------------------- ##
26840 sed "s/^/$as_me: WARNING: /" >&2
26843 echo "$as_me:$LINENO: checking for sql.h" >&5
26844 echo $ECHO_N "checking for sql.h... $ECHO_C" >&6
26845 if test "${ac_cv_header_sql_h+set}" = set; then
26846 echo $ECHO_N "(cached) $ECHO_C" >&6
26848 ac_cv_header_sql_h
=$ac_header_preproc
26850 echo "$as_me:$LINENO: result: $ac_cv_header_sql_h" >&5
26851 echo "${ECHO_T}$ac_cv_header_sql_h" >&6
26854 if test $ac_cv_header_sql_h = yes; then
26859 if test "x$found_sql_h" = "x1" ; then
26860 echo "$as_me:$LINENO: checking for SQLAllocEnv in -liodbc" >&5
26861 echo $ECHO_N "checking for SQLAllocEnv in -liodbc... $ECHO_C" >&6
26862 if test "${ac_cv_lib_iodbc_SQLAllocEnv+set}" = set; then
26863 echo $ECHO_N "(cached) $ECHO_C" >&6
26865 ac_check_lib_save_LIBS
=$LIBS
26866 LIBS
="-liodbc $LIBS"
26867 cat >conftest.
$ac_ext <<_ACEOF
26870 cat confdefs.h
>>conftest.
$ac_ext
26871 cat >>conftest.
$ac_ext <<_ACEOF
26872 /* end confdefs.h. */
26874 /* Override any gcc2 internal prototype to avoid an error. */
26878 /* We use char because int might match the return type of a gcc2
26879 builtin and then its argument prototype would still apply. */
26880 char SQLAllocEnv ();
26889 rm -f conftest.
$ac_objext conftest
$ac_exeext
26890 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26891 (eval $ac_link) 2>conftest.er1
26893 grep -v '^ *+' conftest.er1
>conftest.err
26895 cat conftest.err
>&5
26896 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26897 (exit $ac_status); } &&
26898 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
26899 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26900 (eval $ac_try) 2>&5
26902 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26903 (exit $ac_status); }; } &&
26904 { ac_try
='test -s conftest$ac_exeext'
26905 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26906 (eval $ac_try) 2>&5
26908 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26909 (exit $ac_status); }; }; then
26910 ac_cv_lib_iodbc_SQLAllocEnv
=yes
26912 echo "$as_me: failed program was:" >&5
26913 sed 's/^/| /' conftest.
$ac_ext >&5
26915 ac_cv_lib_iodbc_SQLAllocEnv
=no
26917 rm -f conftest.err conftest.
$ac_objext \
26918 conftest
$ac_exeext conftest.
$ac_ext
26919 LIBS
=$ac_check_lib_save_LIBS
26921 echo "$as_me:$LINENO: result: $ac_cv_lib_iodbc_SQLAllocEnv" >&5
26922 echo "${ECHO_T}$ac_cv_lib_iodbc_SQLAllocEnv" >&6
26923 if test $ac_cv_lib_iodbc_SQLAllocEnv = yes; then
26924 ODBC_LINK
=" -liodbc"
26927 echo "$as_me:$LINENO: checking for SQLAllocEnv in -lunixodbc" >&5
26928 echo $ECHO_N "checking for SQLAllocEnv in -lunixodbc... $ECHO_C" >&6
26929 if test "${ac_cv_lib_unixodbc_SQLAllocEnv+set}" = set; then
26930 echo $ECHO_N "(cached) $ECHO_C" >&6
26932 ac_check_lib_save_LIBS
=$LIBS
26933 LIBS
="-lunixodbc $LIBS"
26934 cat >conftest.
$ac_ext <<_ACEOF
26937 cat confdefs.h
>>conftest.
$ac_ext
26938 cat >>conftest.
$ac_ext <<_ACEOF
26939 /* end confdefs.h. */
26941 /* Override any gcc2 internal prototype to avoid an error. */
26945 /* We use char because int might match the return type of a gcc2
26946 builtin and then its argument prototype would still apply. */
26947 char SQLAllocEnv ();
26956 rm -f conftest.
$ac_objext conftest
$ac_exeext
26957 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26958 (eval $ac_link) 2>conftest.er1
26960 grep -v '^ *+' conftest.er1
>conftest.err
26962 cat conftest.err
>&5
26963 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26964 (exit $ac_status); } &&
26965 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
26966 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26967 (eval $ac_try) 2>&5
26969 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26970 (exit $ac_status); }; } &&
26971 { ac_try
='test -s conftest$ac_exeext'
26972 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26973 (eval $ac_try) 2>&5
26975 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26976 (exit $ac_status); }; }; then
26977 ac_cv_lib_unixodbc_SQLAllocEnv
=yes
26979 echo "$as_me: failed program was:" >&5
26980 sed 's/^/| /' conftest.
$ac_ext >&5
26982 ac_cv_lib_unixodbc_SQLAllocEnv
=no
26984 rm -f conftest.err conftest.
$ac_objext \
26985 conftest
$ac_exeext conftest.
$ac_ext
26986 LIBS
=$ac_check_lib_save_LIBS
26988 echo "$as_me:$LINENO: result: $ac_cv_lib_unixodbc_SQLAllocEnv" >&5
26989 echo "${ECHO_T}$ac_cv_lib_unixodbc_SQLAllocEnv" >&6
26990 if test $ac_cv_lib_unixodbc_SQLAllocEnv = yes; then
26991 ODBC_LINK
=" -lunixodbc"
26994 echo "$as_me:$LINENO: checking for SQLAllocEnv in -lodbc" >&5
26995 echo $ECHO_N "checking for SQLAllocEnv in -lodbc... $ECHO_C" >&6
26996 if test "${ac_cv_lib_odbc_SQLAllocEnv+set}" = set; then
26997 echo $ECHO_N "(cached) $ECHO_C" >&6
26999 ac_check_lib_save_LIBS
=$LIBS
27000 LIBS
="-lodbc $LIBS"
27001 cat >conftest.
$ac_ext <<_ACEOF
27004 cat confdefs.h
>>conftest.
$ac_ext
27005 cat >>conftest.
$ac_ext <<_ACEOF
27006 /* end confdefs.h. */
27008 /* Override any gcc2 internal prototype to avoid an error. */
27012 /* We use char because int might match the return type of a gcc2
27013 builtin and then its argument prototype would still apply. */
27014 char SQLAllocEnv ();
27023 rm -f conftest.
$ac_objext conftest
$ac_exeext
27024 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27025 (eval $ac_link) 2>conftest.er1
27027 grep -v '^ *+' conftest.er1
>conftest.err
27029 cat conftest.err
>&5
27030 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27031 (exit $ac_status); } &&
27032 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
27033 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27034 (eval $ac_try) 2>&5
27036 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27037 (exit $ac_status); }; } &&
27038 { ac_try
='test -s conftest$ac_exeext'
27039 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27040 (eval $ac_try) 2>&5
27042 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27043 (exit $ac_status); }; }; then
27044 ac_cv_lib_odbc_SQLAllocEnv
=yes
27046 echo "$as_me: failed program was:" >&5
27047 sed 's/^/| /' conftest.
$ac_ext >&5
27049 ac_cv_lib_odbc_SQLAllocEnv
=no
27051 rm -f conftest.err conftest.
$ac_objext \
27052 conftest
$ac_exeext conftest.
$ac_ext
27053 LIBS
=$ac_check_lib_save_LIBS
27055 echo "$as_me:$LINENO: result: $ac_cv_lib_odbc_SQLAllocEnv" >&5
27056 echo "${ECHO_T}$ac_cv_lib_odbc_SQLAllocEnv" >&6
27057 if test $ac_cv_lib_odbc_SQLAllocEnv = yes; then
27058 ODBC_LINK
=" -lodbc"
27068 if test "x$ODBC_LINK" = "x" ; then
27069 if test "$wxUSE_ODBC" = "sys" ; then
27070 { { echo "$as_me:$LINENO: error: system ODBC library not found! Use --with-odbc=builtin to use built-in version" >&5
27071 echo "$as_me: error: system ODBC library not found! Use --with-odbc=builtin to use built-in version" >&2;}
27072 { (exit 1); exit 1; }; }
27074 { echo "$as_me:$LINENO: WARNING: system ODBC library not found, will use built-in instead" >&5
27075 echo "$as_me: WARNING: system ODBC library not found, will use built-in instead" >&2;}
27082 if test "$wxUSE_ODBC" != "no" ; then
27083 cat >>confdefs.h
<<\_ACEOF
27084 #define wxUSE_ODBC 1
27087 if test "$wxUSE_ODBC" = "builtin" ; then
27088 cat >>confdefs.h
<<\_ACEOF
27089 #define wxUSE_BUILTIN_IODBC 1
27093 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS db"
27095 WXODBCFLAG
="-D_IODBC_"
27099 if test "$wxUSE_REGEX" = "builtin" ; then
27100 ALL_OBJECTS
="${ALL_OBJECTS} \$(REGEXOBJS)"
27102 if test "$wxUSE_ZLIB" = "builtin" ; then
27103 ALL_OBJECTS
="${ALL_OBJECTS} \$(ZLIBOBJS)"
27106 if test "$wxUSE_DISPLAY" = "yes"; then
27107 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_MAC" != 1; then
27108 echo "$as_me:$LINENO: checking for Xinerama" >&5
27109 echo $ECHO_N "checking for Xinerama... $ECHO_C" >&6
27112 for ac_dir
in $SEARCH_LIB /usr
/lib
;
27114 for ac_extension
in a so sl dylib
; do
27115 if test -f "$ac_dir/libXinerama.$ac_extension"; then
27116 ac_find_libraries
=$ac_dir
27122 if test "$ac_find_libraries" != "" ; then
27124 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev
/null
27126 if test $result = 0; then
27129 ac_path_to_link
=" -L$ac_find_libraries"
27132 if test "$ac_path_to_link" != " -L/usr/lib" ; then
27133 LDFLAGS
="$LDFLAGS $ac_path_to_link"
27135 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lXinerama"
27136 echo "$as_me:$LINENO: result: yes" >&5
27137 echo "${ECHO_T}yes" >&6
27139 echo "$as_me:$LINENO: checking for Xxf86vm extension" >&5
27140 echo $ECHO_N "checking for Xxf86vm extension... $ECHO_C" >&6
27143 for ac_dir
in $SEARCH_LIB /usr
/lib
;
27145 for ac_extension
in a so sl dylib
; do
27146 if test -f "$ac_dir/libXxf86vm.$ac_extension"; then
27147 ac_find_libraries
=$ac_dir
27153 if test "$ac_find_libraries" != "" ; then
27154 echo "$as_me:$LINENO: result: yes" >&5
27155 echo "${ECHO_T}yes" >&6
27157 for ac_header
in X
11/extensions
/xf86vmode.h
27159 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
27160 echo "$as_me:$LINENO: checking for $ac_header" >&5
27161 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
27162 if eval "test \"\${$as_ac_Header+set}\" = set"; then
27163 echo $ECHO_N "(cached) $ECHO_C" >&6
27165 cat >conftest.
$ac_ext <<_ACEOF
27168 cat confdefs.h
>>conftest.
$ac_ext
27169 cat >>conftest.
$ac_ext <<_ACEOF
27170 /* end confdefs.h. */
27172 #if HAVE_X11_XLIB_H
27173 #include <X11/Xlib.h>
27177 #include <$ac_header>
27179 rm -f conftest.
$ac_objext
27180 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27181 (eval $ac_compile) 2>conftest.er1
27183 grep -v '^ *+' conftest.er1
>conftest.err
27185 cat conftest.err
>&5
27186 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27187 (exit $ac_status); } &&
27188 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
27189 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27190 (eval $ac_try) 2>&5
27192 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27193 (exit $ac_status); }; } &&
27194 { ac_try
='test -s conftest.$ac_objext'
27195 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27196 (eval $ac_try) 2>&5
27198 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27199 (exit $ac_status); }; }; then
27200 eval "$as_ac_Header=yes"
27202 echo "$as_me: failed program was:" >&5
27203 sed 's/^/| /' conftest.
$ac_ext >&5
27205 eval "$as_ac_Header=no"
27207 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
27209 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
27210 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
27211 if test `eval echo '${'$as_ac_Header'}'` = yes; then
27212 cat >>confdefs.h
<<_ACEOF
27213 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
27216 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lXxf86vm"
27223 echo "$as_me:$LINENO: result: no" >&5
27224 echo "${ECHO_T}no" >&6
27228 echo "$as_me:$LINENO: result: no" >&5
27229 echo "${ECHO_T}no" >&6
27230 { echo "$as_me:$LINENO: WARNING: \"*** Xinerama not found; disabling wxDisplay\"" >&5
27231 echo "$as_me: WARNING: \"*** Xinerama not found; disabling wxDisplay\"" >&2;}
27239 if test "$wxUSE_OPENGL" = "yes"; then
27240 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = "1"; then
27241 OPENGL_LIBS
="-framework OpenGL -framework AGL"
27242 elif test "$wxUSE_MSW" = 1; then
27243 OPENGL_LIBS
="-lopengl32 -lglu32"
27248 for ac_dir
in $SEARCH_INCLUDE /usr
/include
;
27250 if test -f "$ac_dir/GL/gl.h"; then
27251 ac_find_includes
=$ac_dir
27256 if test "$ac_find_includes" != "" ; then
27257 echo "$as_me:$LINENO: result: found in $ac_find_includes" >&5
27258 echo "${ECHO_T}found in $ac_find_includes" >&6
27260 if test "x$ac_find_includes" = "x/usr/include"; then
27261 ac_path_to_include
=""
27263 echo "$CPPFLAGS" | grep "\-I$ac_find_includes" > /dev
/null
27265 if test $result = 0; then
27266 ac_path_to_include
=""
27268 ac_path_to_include
=" -I$ac_find_includes"
27272 CPPFLAGS
="$CPPFLAGS$ac_path_to_include"
27275 if test "${ac_cv_header_GL_gl_h+set}" = set; then
27276 echo "$as_me:$LINENO: checking for GL/gl.h" >&5
27277 echo $ECHO_N "checking for GL/gl.h... $ECHO_C" >&6
27278 if test "${ac_cv_header_GL_gl_h+set}" = set; then
27279 echo $ECHO_N "(cached) $ECHO_C" >&6
27281 echo "$as_me:$LINENO: result: $ac_cv_header_GL_gl_h" >&5
27282 echo "${ECHO_T}$ac_cv_header_GL_gl_h" >&6
27284 # Is the header compilable?
27285 echo "$as_me:$LINENO: checking GL/gl.h usability" >&5
27286 echo $ECHO_N "checking GL/gl.h usability... $ECHO_C" >&6
27287 cat >conftest.
$ac_ext <<_ACEOF
27290 cat confdefs.h
>>conftest.
$ac_ext
27291 cat >>conftest.
$ac_ext <<_ACEOF
27292 /* end confdefs.h. */
27293 $ac_includes_default
27296 rm -f conftest.
$ac_objext
27297 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27298 (eval $ac_compile) 2>conftest.er1
27300 grep -v '^ *+' conftest.er1
>conftest.err
27302 cat conftest.err
>&5
27303 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27304 (exit $ac_status); } &&
27305 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
27306 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27307 (eval $ac_try) 2>&5
27309 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27310 (exit $ac_status); }; } &&
27311 { ac_try
='test -s conftest.$ac_objext'
27312 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27313 (eval $ac_try) 2>&5
27315 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27316 (exit $ac_status); }; }; then
27317 ac_header_compiler
=yes
27319 echo "$as_me: failed program was:" >&5
27320 sed 's/^/| /' conftest.
$ac_ext >&5
27322 ac_header_compiler
=no
27324 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
27325 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
27326 echo "${ECHO_T}$ac_header_compiler" >&6
27328 # Is the header present?
27329 echo "$as_me:$LINENO: checking GL/gl.h presence" >&5
27330 echo $ECHO_N "checking GL/gl.h presence... $ECHO_C" >&6
27331 cat >conftest.
$ac_ext <<_ACEOF
27334 cat confdefs.h
>>conftest.
$ac_ext
27335 cat >>conftest.
$ac_ext <<_ACEOF
27336 /* end confdefs.h. */
27339 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
27340 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
27342 grep -v '^ *+' conftest.er1
>conftest.err
27344 cat conftest.err
>&5
27345 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27346 (exit $ac_status); } >/dev
/null
; then
27347 if test -s conftest.err
; then
27348 ac_cpp_err
=$ac_c_preproc_warn_flag
27349 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
27356 if test -z "$ac_cpp_err"; then
27357 ac_header_preproc
=yes
27359 echo "$as_me: failed program was:" >&5
27360 sed 's/^/| /' conftest.
$ac_ext >&5
27362 ac_header_preproc
=no
27364 rm -f conftest.err conftest.
$ac_ext
27365 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
27366 echo "${ECHO_T}$ac_header_preproc" >&6
27368 # So? What about this header?
27369 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
27371 { echo "$as_me:$LINENO: WARNING: GL/gl.h: accepted by the compiler, rejected by the preprocessor!" >&5
27372 echo "$as_me: WARNING: GL/gl.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
27373 { echo "$as_me:$LINENO: WARNING: GL/gl.h: proceeding with the compiler's result" >&5
27374 echo "$as_me: WARNING: GL/gl.h: proceeding with the compiler's result" >&2;}
27375 ac_header_preproc
=yes
27378 { echo "$as_me:$LINENO: WARNING: GL/gl.h: present but cannot be compiled" >&5
27379 echo "$as_me: WARNING: GL/gl.h: present but cannot be compiled" >&2;}
27380 { echo "$as_me:$LINENO: WARNING: GL/gl.h: check for missing prerequisite headers?" >&5
27381 echo "$as_me: WARNING: GL/gl.h: check for missing prerequisite headers?" >&2;}
27382 { echo "$as_me:$LINENO: WARNING: GL/gl.h: see the Autoconf documentation" >&5
27383 echo "$as_me: WARNING: GL/gl.h: see the Autoconf documentation" >&2;}
27384 { echo "$as_me:$LINENO: WARNING: GL/gl.h: section \"Present But Cannot Be Compiled\"" >&5
27385 echo "$as_me: WARNING: GL/gl.h: section \"Present But Cannot Be Compiled\"" >&2;}
27386 { echo "$as_me:$LINENO: WARNING: GL/gl.h: proceeding with the preprocessor's result" >&5
27387 echo "$as_me: WARNING: GL/gl.h: proceeding with the preprocessor's result" >&2;}
27388 { echo "$as_me:$LINENO: WARNING: GL/gl.h: in the future, the compiler will take precedence" >&5
27389 echo "$as_me: WARNING: GL/gl.h: in the future, the compiler will take precedence" >&2;}
27392 ## ----------------------------------------- ##
27393 ## Report this to wx-dev@lists.wxwindows.org ##
27394 ## ----------------------------------------- ##
27397 sed "s/^/$as_me: WARNING: /" >&2
27400 echo "$as_me:$LINENO: checking for GL/gl.h" >&5
27401 echo $ECHO_N "checking for GL/gl.h... $ECHO_C" >&6
27402 if test "${ac_cv_header_GL_gl_h+set}" = set; then
27403 echo $ECHO_N "(cached) $ECHO_C" >&6
27405 ac_cv_header_GL_gl_h
=$ac_header_preproc
27407 echo "$as_me:$LINENO: result: $ac_cv_header_GL_gl_h" >&5
27408 echo "${ECHO_T}$ac_cv_header_GL_gl_h" >&6
27411 if test $ac_cv_header_GL_gl_h = yes; then
27415 echo "$as_me:$LINENO: checking for -lGL" >&5
27416 echo $ECHO_N "checking for -lGL... $ECHO_C" >&6
27419 for ac_dir
in $SEARCH_LIB /usr
/lib
;
27421 for ac_extension
in a so sl dylib
; do
27422 if test -f "$ac_dir/libGL.$ac_extension"; then
27423 ac_find_libraries
=$ac_dir
27429 if test "$ac_find_libraries" != "" ; then
27431 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev
/null
27433 if test $result = 0; then
27436 ac_path_to_link
=" -L$ac_find_libraries"
27439 if test "$ac_path_to_link" != " -L/usr/lib" ; then
27440 LDFLAGS_GL
="$ac_path_to_link"
27445 for ac_dir
in $SEARCH_LIB /usr
/lib
;
27447 for ac_extension
in a so sl dylib
; do
27448 if test -f "$ac_dir/libGLU.$ac_extension"; then
27449 ac_find_libraries
=$ac_dir
27455 if test "$ac_find_libraries" != "" ; then
27457 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev
/null
27459 if test $result = 0; then
27462 ac_path_to_link
=" -L$ac_find_libraries"
27465 if test "$ac_path_to_link" != " -L/usr/lib" -a \
27466 "$ac_path_to_link" != "$LDFLAGS_GL"; then
27467 LDFLAGS_GL
="$LDFLAGS_GL$ac_path_to_link"
27471 OPENGL_LIBS
="-lGL -lGLU"
27472 echo "$as_me:$LINENO: result: yes" >&5
27473 echo "${ECHO_T}yes" >&6
27477 if test "$found_gl" != 1; then
27478 echo "$as_me:$LINENO: result: no" >&5
27479 echo "${ECHO_T}no" >&6
27480 echo "$as_me:$LINENO: checking for -lMesaGL" >&5
27481 echo $ECHO_N "checking for -lMesaGL... $ECHO_C" >&6
27484 for ac_dir
in $SEARCH_LIB /usr
/lib
;
27486 for ac_extension
in a so sl dylib
; do
27487 if test -f "$ac_dir/libMesaGL.$ac_extension"; then
27488 ac_find_libraries
=$ac_dir
27494 if test "$ac_find_libraries" != "" ; then
27496 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev
/null
27498 if test $result = 0; then
27501 ac_path_to_link
=" -L$ac_find_libraries"
27504 LDFLAGS_GL
="$LDFLAGS$ac_path_to_link"
27505 OPENGL_LIBS
="-lMesaGL -lMesaGLU"
27506 echo "$as_me:$LINENO: result: yes" >&5
27507 echo "${ECHO_T}yes" >&6
27509 echo "$as_me:$LINENO: result: no" >&5
27510 echo "${ECHO_T}no" >&6
27518 if test "x$OPENGL_LIBS" = "x"; then
27519 { { echo "$as_me:$LINENO: error: OpenGL libraries not available" >&5
27520 echo "$as_me: error: OpenGL libraries not available" >&2;}
27521 { (exit 1); exit 1; }; }
27525 if test "$wxUSE_OPENGL" = "yes"; then
27527 cat >>confdefs.h
<<\_ACEOF
27528 #define wxUSE_OPENGL 1
27531 cat >>confdefs.h
<<\_ACEOF
27532 #define wxUSE_GLCANVAS 1
27535 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS opengl opengl/cube opengl/penguin opengl/isosurf"
27539 if test -z "$TOOLKIT_VPATH" ; then
27540 TOOLKIT_VPATH
="\${top_srcdir}/src/${TOOLKIT_DIR}"
27543 if test -n "$TOOLKIT" ; then
27544 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -D__WX${TOOLKIT}__"
27548 lib_unicode_suffix
=
27549 if test "$wxUSE_UNICODE" = "yes"; then
27550 lib_unicode_suffix
=u
27556 if test "$wxUSE_DEBUG_FLAG" = "yes"; then
27562 if test "$wxUSE_DEBUG_INFO" = "yes"; then
27566 WX_VERSION_TAG
=`echo WX${lib_unicode_suffix}${lib_debug_suffix}_${WX_RELEASE} | tr "[a-z]" "[A-Z]"`
27568 TOOLCHAIN_NAME
="${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}-${WX_RELEASE}"
27569 TOOLCHAIN_NAME_GL
="${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}_gl-${WX_RELEASE}"
27571 if test "$cross_compiling" = "yes"; then
27572 TOOLCHAIN_NAME
="${TOOLCHAIN_NAME}-${host_alias}"
27573 TOOLCHAIN_NAME_GL
="${TOOLCHAIN_NAME_GL}-${host_alias}"
27574 HOST_SUFFIX
="-${host_alias}"
27577 WX_LIBRARY
="wx_${TOOLCHAIN_NAME}"
27578 WX_LIBRARY_GL
="wx_${TOOLCHAIN_NAME_GL}"
27579 WX_LIBRARY_BASENAME_NOGUI
="wx_base${WXBASEPORT}${lib_unicode_suffix}${lib_debug_suffix}"
27580 WX_LIBRARY_BASENAME_GUI
="wx_${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}"
27582 WX_LIBRARY_NAME_SHARED
="lib${WX_LIBRARY}.${SO_SUFFIX}.${WX_CURRENT}.${WX_REVISION}.${WX_AGE}"
27583 WX_LIBRARY_NAME_SHARED_GL
="lib${WX_LIBRARY_GL}.${SO_SUFFIX}.${WX_CURRENT}.${WX_REVISION}.${WX_AGE}"
27585 WX_LIBRARY_LINK1
="lib${WX_LIBRARY}.${SO_SUFFIX}.${WX_CURRENT}"
27586 WX_LIBRARY_LINK2
="lib${WX_LIBRARY}.${SO_SUFFIX}"
27587 WX_LIBRARY_LINK1_GL
="lib${WX_LIBRARY_GL}.${SO_SUFFIX}.${WX_CURRENT}"
27588 WX_LIBRARY_LINK2_GL
="lib${WX_LIBRARY_GL}.${SO_SUFFIX}"
27591 *-*-cygwin* | *-*-mingw32* )
27592 WX_LIBRARY_NAME_SHARED
="lib${WX_LIBRARY}.${SO_SUFFIX}"
27593 WX_LIBRARY_NAME_SHARED_GL
="lib${WX_LIBRARY_GL}.${SO_SUFFIX}"
27598 WX_LIBRARY_NAME_SHARED
="lib${WX_LIBRARY}.${WX_CURRENT}.${WX_REVISION}.${WX_AGE}.${SO_SUFFIX}"
27599 WX_LIBRARY_NAME_SHARED_GL
="lib${WX_LIBRARY_GL}.${WX_CURRENT}.${WX_REVISION}.${WX_AGE}.${SO_SUFFIX}"
27601 WX_LIBRARY_LINK1
="lib${WX_LIBRARY}.${WX_CURRENT}.${SO_SUFFIX}"
27602 WX_LIBRARY_LINK2
="lib${WX_LIBRARY}.${SO_SUFFIX}"
27603 WX_LIBRARY_LINK1_GL
="lib${WX_LIBRARY_GL}.${WX_CURRENT}.${SO_SUFFIX}"
27604 WX_LIBRARY_LINK2_GL
="lib${WX_LIBRARY_GL}.${SO_SUFFIX}"
27606 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = "1"; then
27607 WX_RESOURCES_MACOSX_ASCII
="lib${WX_LIBRARY}.${WX_CURRENT}.r"
27608 WX_RESOURCES_MACOSX_DATA
="lib${WX_LIBRARY}.${WX_CURRENT}.rsrc"
27613 WX_LIBRARY_NAME_STATIC
="lib${WX_LIBRARY}.a"
27614 WX_LIBRARY_NAME_STATIC_GL
="lib${WX_LIBRARY_GL}.a"
27616 WXCONFIG_LIBS
="-l${WX_LIBRARY}"
27617 WXCONFIG_LIBS_STATIC
="lib${WX_LIBRARY}.a"
27619 if test "$wxUSE_OPENGL" = "yes"; then
27620 WXCONFIG_LIBS_GL
="-l${WX_LIBRARY_GL} ${OPENGL_LIBS}"
27621 WXCONFIG_LIBS_STATIC_GL
="lib${WX_LIBRARY_GL}.a ${OPENGL_LIBS}"
27626 if test "$wxUSE_SHARED" = "yes"; then
27628 *-pc-os2_emx | *-pc-os2-emx | \
27631 { echo "$as_me:$LINENO: WARNING: Host system doesn't support shared libraries, disabling" >&5
27632 echo "$as_me: WARNING: Host system doesn't support shared libraries, disabling" >&2;}
27638 if test "$wxUSE_SHARED" = "yes"; then
27642 found_versioning
=no
27645 if test $found_versioning = no
; then
27646 echo "$as_me:$LINENO: checking if the linker accepts --version-script" >&5
27647 echo $ECHO_N "checking if the linker accepts --version-script... $ECHO_C" >&6
27648 if test "${wx_cv_version_script+set}" = set; then
27649 echo $ECHO_N "(cached) $ECHO_C" >&6
27652 echo "VER_1 { *; };" >conftest.sym
27653 echo "int main() { return 0; }" >conftest.cpp
27656 $CXX -o conftest.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
27657 -Wl,--version-script,conftest.sym >/dev/null 2>conftest.stderr'
27658 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27659 (eval $ac_try) 2>&5
27661 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27662 (exit $ac_status); }; } ; then
27663 if test -s conftest.stderr
; then
27664 wx_cv_version_script
=no
27666 wx_cv_version_script
=yes
27669 wx_cv_version_script
=no
27671 rm -f conftest.output conftest.stderr conftest.sym conftest.cpp
27674 echo "$as_me:$LINENO: result: $wx_cv_version_script" >&5
27675 echo "${ECHO_T}$wx_cv_version_script" >&6
27676 if test $wx_cv_version_script = yes ; then
27677 LDFLAGS_VERSIONING
="-Wl,--version-script,\$(top_builddir)version-script"
27683 *-*-linux* | *-*-gnu* )
27684 SAMPLES_RPATH_FLAG
="-Wl,-rpath,\$(top_builddir)lib"
27688 if test "$GCC" = yes ; then
27689 CPPFLAGS
="$CPPFLAGS -isystem /usr/openwin/include"
27691 saveLdflags
="$LDFLAGS"
27692 LDFLAGS
="$saveLdflags -Wl,-rpath,/"
27693 echo "$as_me:$LINENO: checking if the linker accepts -rpath" >&5
27694 echo $ECHO_N "checking if the linker accepts -rpath... $ECHO_C" >&6
27695 cat >conftest.
$ac_ext <<_ACEOF
27698 cat confdefs.h
>>conftest.
$ac_ext
27699 cat >>conftest.
$ac_ext <<_ACEOF
27700 /* end confdefs.h. */
27710 rm -f conftest.
$ac_objext conftest
$ac_exeext
27711 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27712 (eval $ac_link) 2>conftest.er1
27714 grep -v '^ *+' conftest.er1
>conftest.err
27716 cat conftest.err
>&5
27717 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27718 (exit $ac_status); } &&
27719 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
27720 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27721 (eval $ac_try) 2>&5
27723 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27724 (exit $ac_status); }; } &&
27725 { ac_try
='test -s conftest$ac_exeext'
27726 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27727 (eval $ac_try) 2>&5
27729 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27730 (exit $ac_status); }; }; then
27732 echo "$as_me:$LINENO: result: yes" >&5
27733 echo "${ECHO_T}yes" >&6
27734 SAMPLES_RPATH_FLAG
="-Wl,-rpath,\$(top_builddir)lib"
27737 echo "$as_me: failed program was:" >&5
27738 sed 's/^/| /' conftest.
$ac_ext >&5
27741 echo "$as_me:$LINENO: result: no" >&5
27742 echo "${ECHO_T}no" >&6
27743 echo "$as_me:$LINENO: checking if the linker accepts -R" >&5
27744 echo $ECHO_N "checking if the linker accepts -R... $ECHO_C" >&6
27745 LDFLAGS
="$saveLdflags -Wl,-R,/"
27746 cat >conftest.
$ac_ext <<_ACEOF
27749 cat confdefs.h
>>conftest.
$ac_ext
27750 cat >>conftest.
$ac_ext <<_ACEOF
27751 /* end confdefs.h. */
27761 rm -f conftest.
$ac_objext conftest
$ac_exeext
27762 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27763 (eval $ac_link) 2>conftest.er1
27765 grep -v '^ *+' conftest.er1
>conftest.err
27767 cat conftest.err
>&5
27768 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27769 (exit $ac_status); } &&
27770 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
27771 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27772 (eval $ac_try) 2>&5
27774 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27775 (exit $ac_status); }; } &&
27776 { ac_try
='test -s conftest$ac_exeext'
27777 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27778 (eval $ac_try) 2>&5
27780 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27781 (exit $ac_status); }; }; then
27783 echo "$as_me:$LINENO: result: yes" >&5
27784 echo "${ECHO_T}yes" >&6
27785 SAMPLES_RPATH_FLAG
="-Wl,-R,\$(top_builddir)lib"
27787 echo "$as_me: failed program was:" >&5
27788 sed 's/^/| /' conftest.
$ac_ext >&5
27791 echo "$as_me:$LINENO: result: no" >&5
27792 echo "${ECHO_T}no" >&6
27795 rm -f conftest.err conftest.
$ac_objext \
27796 conftest
$ac_exeext conftest.
$ac_ext
27799 rm -f conftest.err conftest.
$ac_objext \
27800 conftest
$ac_exeext conftest.
$ac_ext
27801 LDFLAGS
="$saveLdflags"
27803 SHARED_LD
="${CXX} -G -o"
27805 SAMPLES_RPATH_FLAG
="-R\$(top_builddir)lib"
27809 powerpc
-*-darwin* )
27810 SAMPLES_RPATH_POSTLINK
="\$(top_builddir)change-install-names \$(LIBDIRNAME) \$(prefix) \$@"
27811 cat <<EOF >change-install-names
27813 libnames=\`cd \${1} ; ls -1 | grep '\.[0-9][0-9]*\.dylib\$'\`
27814 inst_cmd="install_name_tool "
27815 for i in \${libnames} ; do
27816 inst_cmd="\${inst_cmd} -change \${2}/lib/\${i} \${1}/\${i}"
27820 chmod +x change
-install-names
27825 if test "x$WX_TARGET_LIBRARY" = "x"; then
27826 WX_TARGET_LIBRARY
="${WX_LIBRARY_NAME_SHARED}"
27827 WX_TARGET_LIBRARY_GL
="${WX_LIBRARY_NAME_SHARED_GL}"
27830 WX_TARGET_LIBRARY_TYPE
="so"
27831 INSTALL_LIBRARY
='$(INSTALL_PROGRAM)'
27834 if test "$wxUSE_SHARED" = "no"; then
27836 if test "$wxUSE_GUI" = "no" -o "$USE_WIN32" = 1 ; then
27837 WX_ALL_INSTALLED
="${WX_ALL_INSTALLED} preinstall"
27840 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1 ; then
27841 WX_ALL_INSTALLED
="${WX_ALL_INSTALLED} preinstall"
27844 if test "$wxUSE_OPENGL" = "yes"; then
27845 WX_ALL_INSTALLED
="${WX_ALL_INSTALLED} preinstall_gl"
27846 WX_ALL
="\$(build_libdir)/${WX_LIBRARY_NAME_STATIC} \$(build_libdir)/${WX_LIBRARY_NAME_STATIC_GL}"
27848 WX_ALL
="\$(build_libdir)/${WX_LIBRARY_NAME_STATIC}"
27851 WX_TARGET_LIBRARY
="${WX_LIBRARY_NAME_STATIC}"
27852 WX_TARGET_LIBRARY_GL
="${WX_LIBRARY_NAME_STATIC_GL}"
27854 WX_TARGET_LIBRARY_TYPE
="a"
27855 INSTALL_LIBRARY
='$(INSTALL_DATA)'
27862 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1; then
27863 LIBWXMACRES
="\$(top_builddir)lib/${WX_RESOURCES_MACOSX_ASCII}"
27864 WX_ALL
="${WX_ALL} ${LIBWXMACRES}"
27865 WX_ALL_INSTALLED
="${WX_ALL_INSTALLED} preinstall_res"
27867 # Extract the first word of "Rez", so it can be a program name with args.
27868 set dummy Rez
; ac_word
=$2
27869 echo "$as_me:$LINENO: checking for $ac_word" >&5
27870 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
27871 if test "${ac_cv_prog_RESCOMP+set}" = set; then
27872 echo $ECHO_N "(cached) $ECHO_C" >&6
27874 if test -n "$RESCOMP"; then
27875 ac_cv_prog_RESCOMP
="$RESCOMP" # Let the user override the test.
27877 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
27878 for as_dir
in $PATH
27881 test -z "$as_dir" && as_dir
=.
27882 for ac_exec_ext
in '' $ac_executable_extensions; do
27883 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
27884 ac_cv_prog_RESCOMP
="Rez"
27885 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
27891 test -z "$ac_cv_prog_RESCOMP" && ac_cv_prog_RESCOMP
="/Developer/Tools/Rez"
27894 RESCOMP
=$ac_cv_prog_RESCOMP
27895 if test -n "$RESCOMP"; then
27896 echo "$as_me:$LINENO: result: $RESCOMP" >&5
27897 echo "${ECHO_T}$RESCOMP" >&6
27899 echo "$as_me:$LINENO: result: no" >&5
27900 echo "${ECHO_T}no" >&6
27903 # Extract the first word of "DeRez", so it can be a program name with args.
27904 set dummy DeRez
; ac_word
=$2
27905 echo "$as_me:$LINENO: checking for $ac_word" >&5
27906 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
27907 if test "${ac_cv_prog_DEREZ+set}" = set; then
27908 echo $ECHO_N "(cached) $ECHO_C" >&6
27910 if test -n "$DEREZ"; then
27911 ac_cv_prog_DEREZ
="$DEREZ" # Let the user override the test.
27913 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
27914 for as_dir
in $PATH
27917 test -z "$as_dir" && as_dir
=.
27918 for ac_exec_ext
in '' $ac_executable_extensions; do
27919 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
27920 ac_cv_prog_DEREZ
="DeRez"
27921 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
27927 test -z "$ac_cv_prog_DEREZ" && ac_cv_prog_DEREZ
="/Developer/Tools/DeRez"
27930 DEREZ
=$ac_cv_prog_DEREZ
27931 if test -n "$DEREZ"; then
27932 echo "$as_me:$LINENO: result: $DEREZ" >&5
27933 echo "${ECHO_T}$DEREZ" >&6
27935 echo "$as_me:$LINENO: result: no" >&5
27936 echo "${ECHO_T}no" >&6
27939 # Extract the first word of "SetFile", so it can be a program name with args.
27940 set dummy SetFile
; ac_word
=$2
27941 echo "$as_me:$LINENO: checking for $ac_word" >&5
27942 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
27943 if test "${ac_cv_prog_SETFILE+set}" = set; then
27944 echo $ECHO_N "(cached) $ECHO_C" >&6
27946 if test -n "$SETFILE"; then
27947 ac_cv_prog_SETFILE
="$SETFILE" # Let the user override the test.
27949 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
27950 for as_dir
in $PATH
27953 test -z "$as_dir" && as_dir
=.
27954 for ac_exec_ext
in '' $ac_executable_extensions; do
27955 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
27956 ac_cv_prog_SETFILE
="SetFile"
27957 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
27963 test -z "$ac_cv_prog_SETFILE" && ac_cv_prog_SETFILE
="/Developer/Tools/SetFile"
27966 SETFILE
=$ac_cv_prog_SETFILE
27967 if test -n "$SETFILE"; then
27968 echo "$as_me:$LINENO: result: $SETFILE" >&5
27969 echo "${ECHO_T}$SETFILE" >&6
27971 echo "$as_me:$LINENO: result: no" >&5
27972 echo "${ECHO_T}no" >&6
27976 MACSETFILE
="\$(SETFILE)"
27978 if test "$wxUSE_MAC" = 1; then
27979 MACRESCOMP
="\$(RESCOMP) -d __DARWIN__ -t APPL Carbon.r ${LIBWXMACRES} -o"
27981 MACRESWXCONFIG
="${RESCOMP} -d __DARWIN__ -t APPL Carbon.r \\\${exec_prefix}/lib/${WX_RESOURCES_MACOSX_ASCII} -o"
27983 MACRESCOMP
="echo -n | \$(RESCOMP) -d __DARWIN__ -t APPL ${LIBWXMACRES} -o"
27984 MACRESWXCONFIG
="echo -n \\\| ${RESCOMP} -d __DARWIN__ -t APPL \\\${exec_prefix}/lib/${WX_RESOURCES_MACOSX_ASCII} -o"
27990 if test "$wxUSE_PM" = 1; then
27991 MACRESCOMP
="emxbind -ep"
27999 echo "$as_me:$LINENO: checking for mode_t" >&5
28000 echo $ECHO_N "checking for mode_t... $ECHO_C" >&6
28001 if test "${ac_cv_type_mode_t+set}" = set; then
28002 echo $ECHO_N "(cached) $ECHO_C" >&6
28004 cat >conftest.
$ac_ext <<_ACEOF
28007 cat confdefs.h
>>conftest.
$ac_ext
28008 cat >>conftest.
$ac_ext <<_ACEOF
28009 /* end confdefs.h. */
28010 $ac_includes_default
28016 if (sizeof (mode_t))
28022 rm -f conftest.
$ac_objext
28023 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28024 (eval $ac_compile) 2>conftest.er1
28026 grep -v '^ *+' conftest.er1
>conftest.err
28028 cat conftest.err
>&5
28029 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28030 (exit $ac_status); } &&
28031 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
28032 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28033 (eval $ac_try) 2>&5
28035 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28036 (exit $ac_status); }; } &&
28037 { ac_try
='test -s conftest.$ac_objext'
28038 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28039 (eval $ac_try) 2>&5
28041 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28042 (exit $ac_status); }; }; then
28043 ac_cv_type_mode_t
=yes
28045 echo "$as_me: failed program was:" >&5
28046 sed 's/^/| /' conftest.
$ac_ext >&5
28048 ac_cv_type_mode_t
=no
28050 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
28052 echo "$as_me:$LINENO: result: $ac_cv_type_mode_t" >&5
28053 echo "${ECHO_T}$ac_cv_type_mode_t" >&6
28054 if test $ac_cv_type_mode_t = yes; then
28058 cat >>confdefs.h
<<_ACEOF
28064 echo "$as_me:$LINENO: checking for off_t" >&5
28065 echo $ECHO_N "checking for off_t... $ECHO_C" >&6
28066 if test "${ac_cv_type_off_t+set}" = set; then
28067 echo $ECHO_N "(cached) $ECHO_C" >&6
28069 cat >conftest.
$ac_ext <<_ACEOF
28072 cat confdefs.h
>>conftest.
$ac_ext
28073 cat >>conftest.
$ac_ext <<_ACEOF
28074 /* end confdefs.h. */
28075 $ac_includes_default
28081 if (sizeof (off_t))
28087 rm -f conftest.
$ac_objext
28088 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28089 (eval $ac_compile) 2>conftest.er1
28091 grep -v '^ *+' conftest.er1
>conftest.err
28093 cat conftest.err
>&5
28094 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28095 (exit $ac_status); } &&
28096 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
28097 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28098 (eval $ac_try) 2>&5
28100 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28101 (exit $ac_status); }; } &&
28102 { ac_try
='test -s conftest.$ac_objext'
28103 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28104 (eval $ac_try) 2>&5
28106 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28107 (exit $ac_status); }; }; then
28108 ac_cv_type_off_t
=yes
28110 echo "$as_me: failed program was:" >&5
28111 sed 's/^/| /' conftest.
$ac_ext >&5
28113 ac_cv_type_off_t
=no
28115 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
28117 echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
28118 echo "${ECHO_T}$ac_cv_type_off_t" >&6
28119 if test $ac_cv_type_off_t = yes; then
28123 cat >>confdefs.h
<<_ACEOF
28129 echo "$as_me:$LINENO: checking for pid_t" >&5
28130 echo $ECHO_N "checking for pid_t... $ECHO_C" >&6
28131 if test "${ac_cv_type_pid_t+set}" = set; then
28132 echo $ECHO_N "(cached) $ECHO_C" >&6
28134 cat >conftest.
$ac_ext <<_ACEOF
28137 cat confdefs.h
>>conftest.
$ac_ext
28138 cat >>conftest.
$ac_ext <<_ACEOF
28139 /* end confdefs.h. */
28140 $ac_includes_default
28146 if (sizeof (pid_t))
28152 rm -f conftest.
$ac_objext
28153 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28154 (eval $ac_compile) 2>conftest.er1
28156 grep -v '^ *+' conftest.er1
>conftest.err
28158 cat conftest.err
>&5
28159 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28160 (exit $ac_status); } &&
28161 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
28162 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28163 (eval $ac_try) 2>&5
28165 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28166 (exit $ac_status); }; } &&
28167 { ac_try
='test -s conftest.$ac_objext'
28168 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28169 (eval $ac_try) 2>&5
28171 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28172 (exit $ac_status); }; }; then
28173 ac_cv_type_pid_t
=yes
28175 echo "$as_me: failed program was:" >&5
28176 sed 's/^/| /' conftest.
$ac_ext >&5
28178 ac_cv_type_pid_t
=no
28180 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
28182 echo "$as_me:$LINENO: result: $ac_cv_type_pid_t" >&5
28183 echo "${ECHO_T}$ac_cv_type_pid_t" >&6
28184 if test $ac_cv_type_pid_t = yes; then
28188 cat >>confdefs.h
<<_ACEOF
28194 echo "$as_me:$LINENO: checking for size_t" >&5
28195 echo $ECHO_N "checking for size_t... $ECHO_C" >&6
28196 if test "${ac_cv_type_size_t+set}" = set; then
28197 echo $ECHO_N "(cached) $ECHO_C" >&6
28199 cat >conftest.
$ac_ext <<_ACEOF
28202 cat confdefs.h
>>conftest.
$ac_ext
28203 cat >>conftest.
$ac_ext <<_ACEOF
28204 /* end confdefs.h. */
28205 $ac_includes_default
28211 if (sizeof (size_t))
28217 rm -f conftest.
$ac_objext
28218 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28219 (eval $ac_compile) 2>conftest.er1
28221 grep -v '^ *+' conftest.er1
>conftest.err
28223 cat conftest.err
>&5
28224 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28225 (exit $ac_status); } &&
28226 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
28227 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28228 (eval $ac_try) 2>&5
28230 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28231 (exit $ac_status); }; } &&
28232 { ac_try
='test -s conftest.$ac_objext'
28233 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28234 (eval $ac_try) 2>&5
28236 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28237 (exit $ac_status); }; }; then
28238 ac_cv_type_size_t
=yes
28240 echo "$as_me: failed program was:" >&5
28241 sed 's/^/| /' conftest.
$ac_ext >&5
28243 ac_cv_type_size_t
=no
28245 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
28247 echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
28248 echo "${ECHO_T}$ac_cv_type_size_t" >&6
28249 if test $ac_cv_type_size_t = yes; then
28253 cat >>confdefs.h
<<_ACEOF
28254 #define size_t unsigned
28259 echo "$as_me:$LINENO: checking for uid_t in sys/types.h" >&5
28260 echo $ECHO_N "checking for uid_t in sys/types.h... $ECHO_C" >&6
28261 if test "${ac_cv_type_uid_t+set}" = set; then
28262 echo $ECHO_N "(cached) $ECHO_C" >&6
28264 cat >conftest.
$ac_ext <<_ACEOF
28267 cat confdefs.h
>>conftest.
$ac_ext
28268 cat >>conftest.
$ac_ext <<_ACEOF
28269 /* end confdefs.h. */
28270 #include <sys/types.h>
28273 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
28274 $EGREP "uid_t" >/dev
/null
2>&1; then
28275 ac_cv_type_uid_t
=yes
28277 ac_cv_type_uid_t
=no
28282 echo "$as_me:$LINENO: result: $ac_cv_type_uid_t" >&5
28283 echo "${ECHO_T}$ac_cv_type_uid_t" >&6
28284 if test $ac_cv_type_uid_t = no
; then
28286 cat >>confdefs.h
<<\_ACEOF
28291 cat >>confdefs.h
<<\_ACEOF
28301 ac_cpp
='$CXXCPP $CPPFLAGS'
28302 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28303 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28304 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
28306 echo "$as_me:$LINENO: checking if size_t is unsigned int" >&5
28307 echo $ECHO_N "checking if size_t is unsigned int... $ECHO_C" >&6
28308 if test "${wx_cv_size_t_is_uint+set}" = set; then
28309 echo $ECHO_N "(cached) $ECHO_C" >&6
28312 cat >conftest.
$ac_ext <<_ACEOF
28315 cat confdefs.h
>>conftest.
$ac_ext
28316 cat >>conftest.
$ac_ext <<_ACEOF
28317 /* end confdefs.h. */
28318 #include <stddef.h>
28325 struct Foo { void foo(size_t); void foo(unsigned int); };
28333 rm -f conftest.
$ac_objext
28334 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28335 (eval $ac_compile) 2>conftest.er1
28337 grep -v '^ *+' conftest.er1
>conftest.err
28339 cat conftest.err
>&5
28340 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28341 (exit $ac_status); } &&
28342 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
28343 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28344 (eval $ac_try) 2>&5
28346 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28347 (exit $ac_status); }; } &&
28348 { ac_try
='test -s conftest.$ac_objext'
28349 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28350 (eval $ac_try) 2>&5
28352 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28353 (exit $ac_status); }; }; then
28354 wx_cv_size_t_is_uint
=no
28356 echo "$as_me: failed program was:" >&5
28357 sed 's/^/| /' conftest.
$ac_ext >&5
28359 wx_cv_size_t_is_uint
=yes
28362 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
28366 echo "$as_me:$LINENO: result: $wx_cv_size_t_is_uint" >&5
28367 echo "${ECHO_T}$wx_cv_size_t_is_uint" >&6
28369 if test "$wx_cv_size_t_is_uint" = "yes"; then
28370 cat >>confdefs.h
<<\_ACEOF
28371 #define wxSIZE_T_IS_UINT 1
28375 echo "$as_me:$LINENO: checking if size_t is unsigned long" >&5
28376 echo $ECHO_N "checking if size_t is unsigned long... $ECHO_C" >&6
28377 if test "${wx_cv_size_t_is_ulong+set}" = set; then
28378 echo $ECHO_N "(cached) $ECHO_C" >&6
28380 cat >conftest.
$ac_ext <<_ACEOF
28383 cat confdefs.h
>>conftest.
$ac_ext
28384 cat >>conftest.
$ac_ext <<_ACEOF
28385 /* end confdefs.h. */
28386 #include <stddef.h>
28393 struct Foo { void foo(size_t); void foo(unsigned long); };
28401 rm -f conftest.
$ac_objext
28402 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28403 (eval $ac_compile) 2>conftest.er1
28405 grep -v '^ *+' conftest.er1
>conftest.err
28407 cat conftest.err
>&5
28408 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28409 (exit $ac_status); } &&
28410 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
28411 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28412 (eval $ac_try) 2>&5
28414 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28415 (exit $ac_status); }; } &&
28416 { ac_try
='test -s conftest.$ac_objext'
28417 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28418 (eval $ac_try) 2>&5
28420 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28421 (exit $ac_status); }; }; then
28422 wx_cv_size_t_is_ulong
=no
28424 echo "$as_me: failed program was:" >&5
28425 sed 's/^/| /' conftest.
$ac_ext >&5
28427 wx_cv_size_t_is_ulong
=yes
28430 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
28433 echo "$as_me:$LINENO: result: $wx_cv_size_t_is_ulong" >&5
28434 echo "${ECHO_T}$wx_cv_size_t_is_ulong" >&6
28436 if test "$wx_cv_size_t_is_ulong" = "yes"; then
28437 cat >>confdefs.h
<<\_ACEOF
28438 #define wxSIZE_T_IS_ULONG 1
28445 ac_cpp
='$CPP $CPPFLAGS'
28446 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28447 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28448 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
28452 echo "$as_me:$LINENO: checking for pw_gecos in struct passwd" >&5
28453 echo $ECHO_N "checking for pw_gecos in struct passwd... $ECHO_C" >&6
28454 if test "${wx_cv_struct_pw_gecos+set}" = set; then
28455 echo $ECHO_N "(cached) $ECHO_C" >&6
28458 cat >conftest.
$ac_ext <<_ACEOF
28461 cat confdefs.h
>>conftest.
$ac_ext
28462 cat >>conftest.
$ac_ext <<_ACEOF
28463 /* end confdefs.h. */
28477 rm -f conftest.
$ac_objext
28478 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28479 (eval $ac_compile) 2>conftest.er1
28481 grep -v '^ *+' conftest.er1
>conftest.err
28483 cat conftest.err
>&5
28484 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28485 (exit $ac_status); } &&
28486 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
28487 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28488 (eval $ac_try) 2>&5
28490 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28491 (exit $ac_status); }; } &&
28492 { ac_try
='test -s conftest.$ac_objext'
28493 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28494 (eval $ac_try) 2>&5
28496 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28497 (exit $ac_status); }; }; then
28499 wx_cv_struct_pw_gecos
=yes
28502 echo "$as_me: failed program was:" >&5
28503 sed 's/^/| /' conftest.
$ac_ext >&5
28506 wx_cv_struct_pw_gecos
=no
28510 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
28514 echo "$as_me:$LINENO: result: $wx_cv_struct_pw_gecos" >&5
28515 echo "${ECHO_T}$wx_cv_struct_pw_gecos" >&6
28517 if test "$wx_cv_struct_pw_gecos" = "yes"; then
28518 cat >>confdefs.h
<<\_ACEOF
28519 #define HAVE_PW_GECOS 1
28525 if test "$wx_cv_sizeof_wchar_t" != "0"; then
28526 cat >>confdefs.h
<<\_ACEOF
28527 #define wxUSE_WCHAR_T 1
28534 for ac_func
in wcslen
28536 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28537 echo "$as_me:$LINENO: checking for $ac_func" >&5
28538 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
28539 if eval "test \"\${$as_ac_var+set}\" = set"; then
28540 echo $ECHO_N "(cached) $ECHO_C" >&6
28542 cat >conftest.
$ac_ext <<_ACEOF
28545 cat confdefs.h
>>conftest.
$ac_ext
28546 cat >>conftest.
$ac_ext <<_ACEOF
28547 /* end confdefs.h. */
28548 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
28549 For example, HP-UX 11i <limits.h> declares gettimeofday. */
28550 #define $ac_func innocuous_$ac_func
28552 /* System header to define __stub macros and hopefully few prototypes,
28553 which can conflict with char $ac_func (); below.
28554 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28555 <limits.h> exists even on freestanding compilers. */
28558 # include <limits.h>
28560 # include <assert.h>
28565 /* Override any gcc2 internal prototype to avoid an error. */
28570 /* We use char because int might match the return type of a gcc2
28571 builtin and then its argument prototype would still apply. */
28573 /* The GNU C library defines this for functions which it implements
28574 to always fail with ENOSYS. Some functions are actually named
28575 something starting with __ and the normal name is an alias. */
28576 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
28579 char (*f) () = $ac_func;
28588 return f != $ac_func;
28593 rm -f conftest.
$ac_objext conftest
$ac_exeext
28594 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28595 (eval $ac_link) 2>conftest.er1
28597 grep -v '^ *+' conftest.er1
>conftest.err
28599 cat conftest.err
>&5
28600 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28601 (exit $ac_status); } &&
28602 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
28603 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28604 (eval $ac_try) 2>&5
28606 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28607 (exit $ac_status); }; } &&
28608 { ac_try
='test -s conftest$ac_exeext'
28609 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28610 (eval $ac_try) 2>&5
28612 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28613 (exit $ac_status); }; }; then
28614 eval "$as_ac_var=yes"
28616 echo "$as_me: failed program was:" >&5
28617 sed 's/^/| /' conftest.
$ac_ext >&5
28619 eval "$as_ac_var=no"
28621 rm -f conftest.err conftest.
$ac_objext \
28622 conftest
$ac_exeext conftest.
$ac_ext
28624 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
28625 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
28626 if test `eval echo '${'$as_ac_var'}'` = yes; then
28627 cat >>confdefs.h
<<_ACEOF
28628 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28635 if test "$WCSLEN_FOUND" = 0; then
28636 if test "$TOOLKIT" = "MSW"; then
28637 echo "$as_me:$LINENO: checking for wcslen in -lmsvcrt" >&5
28638 echo $ECHO_N "checking for wcslen in -lmsvcrt... $ECHO_C" >&6
28639 if test "${ac_cv_lib_msvcrt_wcslen+set}" = set; then
28640 echo $ECHO_N "(cached) $ECHO_C" >&6
28642 ac_check_lib_save_LIBS
=$LIBS
28643 LIBS
="-lmsvcrt $LIBS"
28644 cat >conftest.
$ac_ext <<_ACEOF
28647 cat confdefs.h
>>conftest.
$ac_ext
28648 cat >>conftest.
$ac_ext <<_ACEOF
28649 /* end confdefs.h. */
28651 /* Override any gcc2 internal prototype to avoid an error. */
28655 /* We use char because int might match the return type of a gcc2
28656 builtin and then its argument prototype would still apply. */
28666 rm -f conftest.
$ac_objext conftest
$ac_exeext
28667 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28668 (eval $ac_link) 2>conftest.er1
28670 grep -v '^ *+' conftest.er1
>conftest.err
28672 cat conftest.err
>&5
28673 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28674 (exit $ac_status); } &&
28675 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
28676 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28677 (eval $ac_try) 2>&5
28679 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28680 (exit $ac_status); }; } &&
28681 { ac_try
='test -s conftest$ac_exeext'
28682 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28683 (eval $ac_try) 2>&5
28685 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28686 (exit $ac_status); }; }; then
28687 ac_cv_lib_msvcrt_wcslen
=yes
28689 echo "$as_me: failed program was:" >&5
28690 sed 's/^/| /' conftest.
$ac_ext >&5
28692 ac_cv_lib_msvcrt_wcslen
=no
28694 rm -f conftest.err conftest.
$ac_objext \
28695 conftest
$ac_exeext conftest.
$ac_ext
28696 LIBS
=$ac_check_lib_save_LIBS
28698 echo "$as_me:$LINENO: result: $ac_cv_lib_msvcrt_wcslen" >&5
28699 echo "${ECHO_T}$ac_cv_lib_msvcrt_wcslen" >&6
28700 if test $ac_cv_lib_msvcrt_wcslen = yes; then
28705 echo "$as_me:$LINENO: checking for wcslen in -lw" >&5
28706 echo $ECHO_N "checking for wcslen in -lw... $ECHO_C" >&6
28707 if test "${ac_cv_lib_w_wcslen+set}" = set; then
28708 echo $ECHO_N "(cached) $ECHO_C" >&6
28710 ac_check_lib_save_LIBS
=$LIBS
28712 cat >conftest.
$ac_ext <<_ACEOF
28715 cat confdefs.h
>>conftest.
$ac_ext
28716 cat >>conftest.
$ac_ext <<_ACEOF
28717 /* end confdefs.h. */
28719 /* Override any gcc2 internal prototype to avoid an error. */
28723 /* We use char because int might match the return type of a gcc2
28724 builtin and then its argument prototype would still apply. */
28734 rm -f conftest.
$ac_objext conftest
$ac_exeext
28735 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28736 (eval $ac_link) 2>conftest.er1
28738 grep -v '^ *+' conftest.er1
>conftest.err
28740 cat conftest.err
>&5
28741 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28742 (exit $ac_status); } &&
28743 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
28744 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28745 (eval $ac_try) 2>&5
28747 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28748 (exit $ac_status); }; } &&
28749 { ac_try
='test -s conftest$ac_exeext'
28750 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28751 (eval $ac_try) 2>&5
28753 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28754 (exit $ac_status); }; }; then
28755 ac_cv_lib_w_wcslen
=yes
28757 echo "$as_me: failed program was:" >&5
28758 sed 's/^/| /' conftest.
$ac_ext >&5
28760 ac_cv_lib_w_wcslen
=no
28762 rm -f conftest.err conftest.
$ac_objext \
28763 conftest
$ac_exeext conftest.
$ac_ext
28764 LIBS
=$ac_check_lib_save_LIBS
28766 echo "$as_me:$LINENO: result: $ac_cv_lib_w_wcslen" >&5
28767 echo "${ECHO_T}$ac_cv_lib_w_wcslen" >&6
28768 if test $ac_cv_lib_w_wcslen = yes; then
28778 if test "$WCSLEN_FOUND" = 1; then
28779 cat >>confdefs.h
<<\_ACEOF
28780 #define HAVE_WCSLEN 1
28786 for ac_func
in wcsrtombs
28788 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28789 echo "$as_me:$LINENO: checking for $ac_func" >&5
28790 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
28791 if eval "test \"\${$as_ac_var+set}\" = set"; then
28792 echo $ECHO_N "(cached) $ECHO_C" >&6
28794 cat >conftest.
$ac_ext <<_ACEOF
28797 cat confdefs.h
>>conftest.
$ac_ext
28798 cat >>conftest.
$ac_ext <<_ACEOF
28799 /* end confdefs.h. */
28800 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
28801 For example, HP-UX 11i <limits.h> declares gettimeofday. */
28802 #define $ac_func innocuous_$ac_func
28804 /* System header to define __stub macros and hopefully few prototypes,
28805 which can conflict with char $ac_func (); below.
28806 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28807 <limits.h> exists even on freestanding compilers. */
28810 # include <limits.h>
28812 # include <assert.h>
28817 /* Override any gcc2 internal prototype to avoid an error. */
28822 /* We use char because int might match the return type of a gcc2
28823 builtin and then its argument prototype would still apply. */
28825 /* The GNU C library defines this for functions which it implements
28826 to always fail with ENOSYS. Some functions are actually named
28827 something starting with __ and the normal name is an alias. */
28828 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
28831 char (*f) () = $ac_func;
28840 return f != $ac_func;
28845 rm -f conftest.
$ac_objext conftest
$ac_exeext
28846 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28847 (eval $ac_link) 2>conftest.er1
28849 grep -v '^ *+' conftest.er1
>conftest.err
28851 cat conftest.err
>&5
28852 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28853 (exit $ac_status); } &&
28854 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
28855 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28856 (eval $ac_try) 2>&5
28858 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28859 (exit $ac_status); }; } &&
28860 { ac_try
='test -s conftest$ac_exeext'
28861 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28862 (eval $ac_try) 2>&5
28864 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28865 (exit $ac_status); }; }; then
28866 eval "$as_ac_var=yes"
28868 echo "$as_me: failed program was:" >&5
28869 sed 's/^/| /' conftest.
$ac_ext >&5
28871 eval "$as_ac_var=no"
28873 rm -f conftest.err conftest.
$ac_objext \
28874 conftest
$ac_exeext conftest.
$ac_ext
28876 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
28877 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
28878 if test `eval echo '${'$as_ac_var'}'` = yes; then
28879 cat >>confdefs.h
<<_ACEOF
28880 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28887 { echo "$as_me:$LINENO: WARNING: Wide character support is unavailable" >&5
28888 echo "$as_me: WARNING: Wide character support is unavailable" >&2;}
28894 ac_cpp
='$CXXCPP $CPPFLAGS'
28895 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28896 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28897 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
28901 for ac_func
in vsnprintf
28903 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28904 echo "$as_me:$LINENO: checking for $ac_func" >&5
28905 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
28906 if eval "test \"\${$as_ac_var+set}\" = set"; then
28907 echo $ECHO_N "(cached) $ECHO_C" >&6
28909 cat >conftest.
$ac_ext <<_ACEOF
28912 cat confdefs.h
>>conftest.
$ac_ext
28913 cat >>conftest.
$ac_ext <<_ACEOF
28914 /* end confdefs.h. */
28915 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
28916 For example, HP-UX 11i <limits.h> declares gettimeofday. */
28917 #define $ac_func innocuous_$ac_func
28919 /* System header to define __stub macros and hopefully few prototypes,
28920 which can conflict with char $ac_func (); below.
28921 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28922 <limits.h> exists even on freestanding compilers. */
28925 # include <limits.h>
28927 # include <assert.h>
28932 /* Override any gcc2 internal prototype to avoid an error. */
28937 /* We use char because int might match the return type of a gcc2
28938 builtin and then its argument prototype would still apply. */
28940 /* The GNU C library defines this for functions which it implements
28941 to always fail with ENOSYS. Some functions are actually named
28942 something starting with __ and the normal name is an alias. */
28943 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
28946 char (*f) () = $ac_func;
28955 return f != $ac_func;
28960 rm -f conftest.
$ac_objext conftest
$ac_exeext
28961 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28962 (eval $ac_link) 2>conftest.er1
28964 grep -v '^ *+' conftest.er1
>conftest.err
28966 cat conftest.err
>&5
28967 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28968 (exit $ac_status); } &&
28969 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
28970 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28971 (eval $ac_try) 2>&5
28973 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28974 (exit $ac_status); }; } &&
28975 { ac_try
='test -s conftest$ac_exeext'
28976 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28977 (eval $ac_try) 2>&5
28979 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28980 (exit $ac_status); }; }; then
28981 eval "$as_ac_var=yes"
28983 echo "$as_me: failed program was:" >&5
28984 sed 's/^/| /' conftest.
$ac_ext >&5
28986 eval "$as_ac_var=no"
28988 rm -f conftest.err conftest.
$ac_objext \
28989 conftest
$ac_exeext conftest.
$ac_ext
28991 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
28992 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
28993 if test `eval echo '${'$as_ac_var'}'` = yes; then
28994 cat >>confdefs.h
<<_ACEOF
28995 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
29002 if test "$ac_cv_func_vsnprintf" = "yes"; then
29003 echo "$as_me:$LINENO: checking for vsnprintf declaration" >&5
29004 echo $ECHO_N "checking for vsnprintf declaration... $ECHO_C" >&6
29005 if test "${wx_cv_func_vsnprintf_decl+set}" = set; then
29006 echo $ECHO_N "(cached) $ECHO_C" >&6
29009 cat >conftest.
$ac_ext <<_ACEOF
29012 cat confdefs.h
>>conftest.
$ac_ext
29013 cat >>conftest.
$ac_ext <<_ACEOF
29014 /* end confdefs.h. */
29017 #include <stdarg.h>
29025 vsnprintf(buf, 10u, "%s", ap);
29031 rm -f conftest.
$ac_objext
29032 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29033 (eval $ac_compile) 2>conftest.er1
29035 grep -v '^ *+' conftest.er1
>conftest.err
29037 cat conftest.err
>&5
29038 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29039 (exit $ac_status); } &&
29040 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
29041 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29042 (eval $ac_try) 2>&5
29044 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29045 (exit $ac_status); }; } &&
29046 { ac_try
='test -s conftest.$ac_objext'
29047 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29048 (eval $ac_try) 2>&5
29050 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29051 (exit $ac_status); }; }; then
29052 wx_cv_func_vsnprintf_decl
=yes
29054 echo "$as_me: failed program was:" >&5
29055 sed 's/^/| /' conftest.
$ac_ext >&5
29057 wx_cv_func_vsnprintf_decl
=no
29060 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
29064 echo "$as_me:$LINENO: result: $wx_cv_func_vsnprintf_decl" >&5
29065 echo "${ECHO_T}$wx_cv_func_vsnprintf_decl" >&6
29067 if test "$wx_cv_func_vsnprintf_decl" = "yes"; then
29068 cat >>confdefs.h
<<\_ACEOF
29069 #define HAVE_VSNPRINTF_DECL 1
29075 if test "$wxUSE_UNICODE" = yes; then
29079 for ac_func
in fputwc wprintf vswprintf
29081 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
29082 echo "$as_me:$LINENO: checking for $ac_func" >&5
29083 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
29084 if eval "test \"\${$as_ac_var+set}\" = set"; then
29085 echo $ECHO_N "(cached) $ECHO_C" >&6
29087 cat >conftest.
$ac_ext <<_ACEOF
29090 cat confdefs.h
>>conftest.
$ac_ext
29091 cat >>conftest.
$ac_ext <<_ACEOF
29092 /* end confdefs.h. */
29093 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
29094 For example, HP-UX 11i <limits.h> declares gettimeofday. */
29095 #define $ac_func innocuous_$ac_func
29097 /* System header to define __stub macros and hopefully few prototypes,
29098 which can conflict with char $ac_func (); below.
29099 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29100 <limits.h> exists even on freestanding compilers. */
29103 # include <limits.h>
29105 # include <assert.h>
29110 /* Override any gcc2 internal prototype to avoid an error. */
29115 /* We use char because int might match the return type of a gcc2
29116 builtin and then its argument prototype would still apply. */
29118 /* The GNU C library defines this for functions which it implements
29119 to always fail with ENOSYS. Some functions are actually named
29120 something starting with __ and the normal name is an alias. */
29121 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
29124 char (*f) () = $ac_func;
29133 return f != $ac_func;
29138 rm -f conftest.
$ac_objext conftest
$ac_exeext
29139 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29140 (eval $ac_link) 2>conftest.er1
29142 grep -v '^ *+' conftest.er1
>conftest.err
29144 cat conftest.err
>&5
29145 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29146 (exit $ac_status); } &&
29147 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
29148 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29149 (eval $ac_try) 2>&5
29151 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29152 (exit $ac_status); }; } &&
29153 { ac_try
='test -s conftest$ac_exeext'
29154 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29155 (eval $ac_try) 2>&5
29157 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29158 (exit $ac_status); }; }; then
29159 eval "$as_ac_var=yes"
29161 echo "$as_me: failed program was:" >&5
29162 sed 's/^/| /' conftest.
$ac_ext >&5
29164 eval "$as_ac_var=no"
29166 rm -f conftest.err conftest.
$ac_objext \
29167 conftest
$ac_exeext conftest.
$ac_ext
29169 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
29170 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
29171 if test `eval echo '${'$as_ac_var'}'` = yes; then
29172 cat >>confdefs.h
<<_ACEOF
29173 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
29180 echo "$as_me:$LINENO: checking for _vsnwprintf" >&5
29181 echo $ECHO_N "checking for _vsnwprintf... $ECHO_C" >&6
29182 cat >conftest.
$ac_ext <<_ACEOF
29185 cat confdefs.h
>>conftest.
$ac_ext
29186 cat >>conftest.
$ac_ext <<_ACEOF
29187 /* end confdefs.h. */
29197 rm -f conftest.
$ac_objext
29198 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29199 (eval $ac_compile) 2>conftest.er1
29201 grep -v '^ *+' conftest.er1
>conftest.err
29203 cat conftest.err
>&5
29204 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29205 (exit $ac_status); } &&
29206 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
29207 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29208 (eval $ac_try) 2>&5
29210 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29211 (exit $ac_status); }; } &&
29212 { ac_try
='test -s conftest.$ac_objext'
29213 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29214 (eval $ac_try) 2>&5
29216 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29217 (exit $ac_status); }; }; then
29218 echo "$as_me:$LINENO: result: yes" >&5
29219 echo "${ECHO_T}yes" >&6
29220 cat >>confdefs.h
<<\_ACEOF
29221 #define HAVE__VSNWPRINTF 1
29225 echo "$as_me: failed program was:" >&5
29226 sed 's/^/| /' conftest.
$ac_ext >&5
29228 echo "$as_me:$LINENO: result: no" >&5
29229 echo "${ECHO_T}no" >&6
29231 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext;
29235 ac_cpp
='$CPP $CPPFLAGS'
29236 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29237 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29238 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
29243 if test "$TOOLKIT" != "MSW"; then
29249 ac_cpp
='$CXXCPP $CPPFLAGS'
29250 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29251 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29252 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
29257 # Check whether --with-libiconv-prefix or --without-libiconv-prefix was given.
29258 if test "${with_libiconv_prefix+set}" = set; then
29259 withval
="$with_libiconv_prefix"
29261 for dir
in `echo "$withval" | tr : ' '`; do
29262 if test -d $dir/include
; then CPPFLAGS
="$CPPFLAGS -I$dir/include"; fi
29263 if test -d $dir/lib
; then LDFLAGS
="$LDFLAGS -L$dir/lib"; fi
29268 echo "$as_me:$LINENO: checking for iconv" >&5
29269 echo $ECHO_N "checking for iconv... $ECHO_C" >&6
29270 if test "${am_cv_func_iconv+set}" = set; then
29271 echo $ECHO_N "(cached) $ECHO_C" >&6
29274 am_cv_func_iconv
="no, consider installing GNU libiconv"
29276 cat >conftest.
$ac_ext <<_ACEOF
29279 cat confdefs.h
>>conftest.
$ac_ext
29280 cat >>conftest.
$ac_ext <<_ACEOF
29281 /* end confdefs.h. */
29282 #include <stdlib.h>
29287 iconv_t cd = iconv_open("","");
29288 iconv(cd,NULL,NULL,NULL,NULL);
29294 rm -f conftest.
$ac_objext conftest
$ac_exeext
29295 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29296 (eval $ac_link) 2>conftest.er1
29298 grep -v '^ *+' conftest.er1
>conftest.err
29300 cat conftest.err
>&5
29301 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29302 (exit $ac_status); } &&
29303 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
29304 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29305 (eval $ac_try) 2>&5
29307 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29308 (exit $ac_status); }; } &&
29309 { ac_try
='test -s conftest$ac_exeext'
29310 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29311 (eval $ac_try) 2>&5
29313 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29314 (exit $ac_status); }; }; then
29315 am_cv_func_iconv
=yes
29317 echo "$as_me: failed program was:" >&5
29318 sed 's/^/| /' conftest.
$ac_ext >&5
29321 rm -f conftest.err conftest.
$ac_objext \
29322 conftest
$ac_exeext conftest.
$ac_ext
29323 if test "$am_cv_func_iconv" != yes; then
29324 am_save_LIBS
="$LIBS"
29325 LIBS
="$LIBS -liconv"
29326 cat >conftest.
$ac_ext <<_ACEOF
29329 cat confdefs.h
>>conftest.
$ac_ext
29330 cat >>conftest.
$ac_ext <<_ACEOF
29331 /* end confdefs.h. */
29332 #include <stdlib.h>
29337 iconv_t cd = iconv_open("","");
29338 iconv(cd,NULL,NULL,NULL,NULL);
29344 rm -f conftest.
$ac_objext conftest
$ac_exeext
29345 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29346 (eval $ac_link) 2>conftest.er1
29348 grep -v '^ *+' conftest.er1
>conftest.err
29350 cat conftest.err
>&5
29351 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29352 (exit $ac_status); } &&
29353 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
29354 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29355 (eval $ac_try) 2>&5
29357 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29358 (exit $ac_status); }; } &&
29359 { ac_try
='test -s conftest$ac_exeext'
29360 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29361 (eval $ac_try) 2>&5
29363 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29364 (exit $ac_status); }; }; then
29365 am_cv_lib_iconv
=yes
29366 am_cv_func_iconv
=yes
29368 echo "$as_me: failed program was:" >&5
29369 sed 's/^/| /' conftest.
$ac_ext >&5
29372 rm -f conftest.err conftest.
$ac_objext \
29373 conftest
$ac_exeext conftest.
$ac_ext
29374 LIBS
="$am_save_LIBS"
29378 echo "$as_me:$LINENO: result: $am_cv_func_iconv" >&5
29379 echo "${ECHO_T}$am_cv_func_iconv" >&6
29380 if test "$am_cv_func_iconv" = yes; then
29382 cat >>confdefs.h
<<\_ACEOF
29383 #define HAVE_ICONV 1
29386 echo "$as_me:$LINENO: checking if iconv needs const" >&5
29387 echo $ECHO_N "checking if iconv needs const... $ECHO_C" >&6
29388 if test "${wx_cv_func_iconv_const+set}" = set; then
29389 echo $ECHO_N "(cached) $ECHO_C" >&6
29391 cat >conftest.
$ac_ext <<_ACEOF
29394 cat confdefs.h
>>conftest.
$ac_ext
29395 cat >>conftest.
$ac_ext <<_ACEOF
29396 /* end confdefs.h. */
29398 #include <stdlib.h>
29404 #if defined(__STDC__) || defined(__cplusplus)
29405 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
29418 rm -f conftest.
$ac_objext
29419 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29420 (eval $ac_compile) 2>conftest.er1
29422 grep -v '^ *+' conftest.er1
>conftest.err
29424 cat conftest.err
>&5
29425 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29426 (exit $ac_status); } &&
29427 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
29428 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29429 (eval $ac_try) 2>&5
29431 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29432 (exit $ac_status); }; } &&
29433 { ac_try
='test -s conftest.$ac_objext'
29434 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29435 (eval $ac_try) 2>&5
29437 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29438 (exit $ac_status); }; }; then
29439 wx_cv_func_iconv_const
="no"
29441 echo "$as_me: failed program was:" >&5
29442 sed 's/^/| /' conftest.
$ac_ext >&5
29444 wx_cv_func_iconv_const
="yes"
29447 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
29450 echo "$as_me:$LINENO: result: $wx_cv_func_iconv_const" >&5
29451 echo "${ECHO_T}$wx_cv_func_iconv_const" >&6
29454 if test "x$wx_cv_func_iconv_const" = "xyes"; then
29455 iconv_const
="const"
29459 cat >>confdefs.h
<<_ACEOF
29460 #define ICONV_CONST $iconv_const
29465 if test "$am_cv_lib_iconv" = yes; then
29470 LIBS
="$LIBICONV $LIBS"
29472 ac_cpp
='$CPP $CPPFLAGS'
29473 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29474 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29475 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
29478 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes" -a "$wxUSE_UNIX" = "yes"; then
29480 for ac_func
in sigaction
29482 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
29483 echo "$as_me:$LINENO: checking for $ac_func" >&5
29484 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
29485 if eval "test \"\${$as_ac_var+set}\" = set"; then
29486 echo $ECHO_N "(cached) $ECHO_C" >&6
29488 cat >conftest.
$ac_ext <<_ACEOF
29491 cat confdefs.h
>>conftest.
$ac_ext
29492 cat >>conftest.
$ac_ext <<_ACEOF
29493 /* end confdefs.h. */
29494 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
29495 For example, HP-UX 11i <limits.h> declares gettimeofday. */
29496 #define $ac_func innocuous_$ac_func
29498 /* System header to define __stub macros and hopefully few prototypes,
29499 which can conflict with char $ac_func (); below.
29500 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29501 <limits.h> exists even on freestanding compilers. */
29504 # include <limits.h>
29506 # include <assert.h>
29511 /* Override any gcc2 internal prototype to avoid an error. */
29516 /* We use char because int might match the return type of a gcc2
29517 builtin and then its argument prototype would still apply. */
29519 /* The GNU C library defines this for functions which it implements
29520 to always fail with ENOSYS. Some functions are actually named
29521 something starting with __ and the normal name is an alias. */
29522 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
29525 char (*f) () = $ac_func;
29534 return f != $ac_func;
29539 rm -f conftest.
$ac_objext conftest
$ac_exeext
29540 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29541 (eval $ac_link) 2>conftest.er1
29543 grep -v '^ *+' conftest.er1
>conftest.err
29545 cat conftest.err
>&5
29546 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29547 (exit $ac_status); } &&
29548 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
29549 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29550 (eval $ac_try) 2>&5
29552 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29553 (exit $ac_status); }; } &&
29554 { ac_try
='test -s conftest$ac_exeext'
29555 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29556 (eval $ac_try) 2>&5
29558 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29559 (exit $ac_status); }; }; then
29560 eval "$as_ac_var=yes"
29562 echo "$as_me: failed program was:" >&5
29563 sed 's/^/| /' conftest.
$ac_ext >&5
29565 eval "$as_ac_var=no"
29567 rm -f conftest.err conftest.
$ac_objext \
29568 conftest
$ac_exeext conftest.
$ac_ext
29570 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
29571 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
29572 if test `eval echo '${'$as_ac_var'}'` = yes; then
29573 cat >>confdefs.h
<<_ACEOF
29574 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
29581 if test "$ac_cv_func_sigaction" = "no"; then
29582 { echo "$as_me:$LINENO: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&5
29583 echo "$as_me: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&2;}
29584 wxUSE_ON_FATAL_EXCEPTION
=no
29587 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
29591 ac_cpp
='$CXXCPP $CPPFLAGS'
29592 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29593 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29594 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
29597 echo "$as_me:$LINENO: checking for sa_handler type" >&5
29598 echo $ECHO_N "checking for sa_handler type... $ECHO_C" >&6
29599 if test "${wx_cv_type_sa_handler+set}" = set; then
29600 echo $ECHO_N "(cached) $ECHO_C" >&6
29603 cat >conftest.
$ac_ext <<_ACEOF
29606 cat confdefs.h
>>conftest.
$ac_ext
29607 cat >>conftest.
$ac_ext <<_ACEOF
29608 /* end confdefs.h. */
29609 #include <signal.h>
29614 extern void testSigHandler(int);
29616 struct sigaction sa;
29617 sa.sa_handler = testSigHandler;
29623 rm -f conftest.
$ac_objext
29624 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29625 (eval $ac_compile) 2>conftest.er1
29627 grep -v '^ *+' conftest.er1
>conftest.err
29629 cat conftest.err
>&5
29630 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29631 (exit $ac_status); } &&
29632 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
29633 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29634 (eval $ac_try) 2>&5
29636 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29637 (exit $ac_status); }; } &&
29638 { ac_try
='test -s conftest.$ac_objext'
29639 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29640 (eval $ac_try) 2>&5
29642 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29643 (exit $ac_status); }; }; then
29645 wx_cv_type_sa_handler
=int
29648 echo "$as_me: failed program was:" >&5
29649 sed 's/^/| /' conftest.
$ac_ext >&5
29652 wx_cv_type_sa_handler
=void
29655 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
29658 echo "$as_me:$LINENO: result: $wx_cv_type_sa_handler" >&5
29659 echo "${ECHO_T}$wx_cv_type_sa_handler" >&6
29662 ac_cpp
='$CPP $CPPFLAGS'
29663 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29664 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29665 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
29668 cat >>confdefs.h
<<_ACEOF
29669 #define wxTYPE_SA_HANDLER $wx_cv_type_sa_handler
29677 for ac_func
in mkstemp mktemp
29679 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
29680 echo "$as_me:$LINENO: checking for $ac_func" >&5
29681 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
29682 if eval "test \"\${$as_ac_var+set}\" = set"; then
29683 echo $ECHO_N "(cached) $ECHO_C" >&6
29685 cat >conftest.
$ac_ext <<_ACEOF
29688 cat confdefs.h
>>conftest.
$ac_ext
29689 cat >>conftest.
$ac_ext <<_ACEOF
29690 /* end confdefs.h. */
29691 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
29692 For example, HP-UX 11i <limits.h> declares gettimeofday. */
29693 #define $ac_func innocuous_$ac_func
29695 /* System header to define __stub macros and hopefully few prototypes,
29696 which can conflict with char $ac_func (); below.
29697 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29698 <limits.h> exists even on freestanding compilers. */
29701 # include <limits.h>
29703 # include <assert.h>
29708 /* Override any gcc2 internal prototype to avoid an error. */
29713 /* We use char because int might match the return type of a gcc2
29714 builtin and then its argument prototype would still apply. */
29716 /* The GNU C library defines this for functions which it implements
29717 to always fail with ENOSYS. Some functions are actually named
29718 something starting with __ and the normal name is an alias. */
29719 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
29722 char (*f) () = $ac_func;
29731 return f != $ac_func;
29736 rm -f conftest.
$ac_objext conftest
$ac_exeext
29737 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29738 (eval $ac_link) 2>conftest.er1
29740 grep -v '^ *+' conftest.er1
>conftest.err
29742 cat conftest.err
>&5
29743 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29744 (exit $ac_status); } &&
29745 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
29746 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29747 (eval $ac_try) 2>&5
29749 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29750 (exit $ac_status); }; } &&
29751 { ac_try
='test -s conftest$ac_exeext'
29752 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29753 (eval $ac_try) 2>&5
29755 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29756 (exit $ac_status); }; }; then
29757 eval "$as_ac_var=yes"
29759 echo "$as_me: failed program was:" >&5
29760 sed 's/^/| /' conftest.
$ac_ext >&5
29762 eval "$as_ac_var=no"
29764 rm -f conftest.err conftest.
$ac_objext \
29765 conftest
$ac_exeext conftest.
$ac_ext
29767 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
29768 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
29769 if test `eval echo '${'$as_ac_var'}'` = yes; then
29770 cat >>confdefs.h
<<_ACEOF
29771 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
29778 echo "$as_me:$LINENO: checking for statfs" >&5
29779 echo $ECHO_N "checking for statfs... $ECHO_C" >&6
29780 if test "${wx_cv_func_statfs+set}" = set; then
29781 echo $ECHO_N "(cached) $ECHO_C" >&6
29783 cat >conftest.
$ac_ext <<_ACEOF
29786 cat confdefs.h
>>conftest.
$ac_ext
29787 cat >>conftest.
$ac_ext <<_ACEOF
29788 /* end confdefs.h. */
29790 #if defined(__BSD__)
29791 #include <sys/param.h>
29792 #include <sys/mount.h>
29794 #include <sys/vfs.h>
29812 rm -f conftest.
$ac_objext
29813 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29814 (eval $ac_compile) 2>conftest.er1
29816 grep -v '^ *+' conftest.er1
>conftest.err
29818 cat conftest.err
>&5
29819 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29820 (exit $ac_status); } &&
29821 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
29822 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29823 (eval $ac_try) 2>&5
29825 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29826 (exit $ac_status); }; } &&
29827 { ac_try
='test -s conftest.$ac_objext'
29828 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29829 (eval $ac_try) 2>&5
29831 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29832 (exit $ac_status); }; }; then
29834 wx_cv_func_statfs
=yes
29837 echo "$as_me: failed program was:" >&5
29838 sed 's/^/| /' conftest.
$ac_ext >&5
29841 wx_cv_func_statfs
=no
29845 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
29848 echo "$as_me:$LINENO: result: $wx_cv_func_statfs" >&5
29849 echo "${ECHO_T}$wx_cv_func_statfs" >&6
29851 if test "$wx_cv_func_statfs" = "yes"; then
29852 wx_cv_type_statvfs_t
="struct statfs"
29853 cat >>confdefs.h
<<\_ACEOF
29854 #define HAVE_STATFS 1
29858 echo "$as_me:$LINENO: checking for statvfs" >&5
29859 echo $ECHO_N "checking for statvfs... $ECHO_C" >&6
29860 if test "${wx_cv_func_statvfs+set}" = set; then
29861 echo $ECHO_N "(cached) $ECHO_C" >&6
29863 cat >conftest.
$ac_ext <<_ACEOF
29866 cat confdefs.h
>>conftest.
$ac_ext
29867 cat >>conftest.
$ac_ext <<_ACEOF
29868 /* end confdefs.h. */
29870 #include <stddef.h>
29871 #include <sys/statvfs.h>
29877 statvfs("/", NULL);
29883 rm -f conftest.
$ac_objext
29884 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29885 (eval $ac_compile) 2>conftest.er1
29887 grep -v '^ *+' conftest.er1
>conftest.err
29889 cat conftest.err
>&5
29890 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29891 (exit $ac_status); } &&
29892 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
29893 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29894 (eval $ac_try) 2>&5
29896 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29897 (exit $ac_status); }; } &&
29898 { ac_try
='test -s conftest.$ac_objext'
29899 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29900 (eval $ac_try) 2>&5
29902 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29903 (exit $ac_status); }; }; then
29904 wx_cv_func_statvfs
=yes
29906 echo "$as_me: failed program was:" >&5
29907 sed 's/^/| /' conftest.
$ac_ext >&5
29909 wx_cv_func_statvfs
=no
29912 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
29915 echo "$as_me:$LINENO: result: $wx_cv_func_statvfs" >&5
29916 echo "${ECHO_T}$wx_cv_func_statvfs" >&6
29918 if test "$wx_cv_func_statvfs" = "yes"; then
29922 ac_cpp
='$CXXCPP $CPPFLAGS'
29923 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29924 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29925 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
29928 echo "$as_me:$LINENO: checking for statvfs argument type" >&5
29929 echo $ECHO_N "checking for statvfs argument type... $ECHO_C" >&6
29930 if test "${wx_cv_type_statvfs_t+set}" = set; then
29931 echo $ECHO_N "(cached) $ECHO_C" >&6
29933 cat >conftest.
$ac_ext <<_ACEOF
29936 cat confdefs.h
>>conftest.
$ac_ext
29937 cat >>conftest.
$ac_ext <<_ACEOF
29938 /* end confdefs.h. */
29940 #include <sys/statvfs.h>
29957 rm -f conftest.
$ac_objext
29958 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29959 (eval $ac_compile) 2>conftest.er1
29961 grep -v '^ *+' conftest.er1
>conftest.err
29963 cat conftest.err
>&5
29964 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29965 (exit $ac_status); } &&
29966 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
29967 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29968 (eval $ac_try) 2>&5
29970 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29971 (exit $ac_status); }; } &&
29972 { ac_try
='test -s conftest.$ac_objext'
29973 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29974 (eval $ac_try) 2>&5
29976 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29977 (exit $ac_status); }; }; then
29978 wx_cv_type_statvfs_t
=statvfs_t
29980 echo "$as_me: failed program was:" >&5
29981 sed 's/^/| /' conftest.
$ac_ext >&5
29984 cat >conftest.
$ac_ext <<_ACEOF
29987 cat confdefs.h
>>conftest.
$ac_ext
29988 cat >>conftest.
$ac_ext <<_ACEOF
29989 /* end confdefs.h. */
29991 #include <sys/statvfs.h>
30008 rm -f conftest.
$ac_objext
30009 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30010 (eval $ac_compile) 2>conftest.er1
30012 grep -v '^ *+' conftest.er1
>conftest.err
30014 cat conftest.err
>&5
30015 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30016 (exit $ac_status); } &&
30017 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
30018 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30019 (eval $ac_try) 2>&5
30021 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30022 (exit $ac_status); }; } &&
30023 { ac_try
='test -s conftest.$ac_objext'
30024 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30025 (eval $ac_try) 2>&5
30027 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30028 (exit $ac_status); }; }; then
30029 wx_cv_type_statvfs_t
="struct statvfs"
30031 echo "$as_me: failed program was:" >&5
30032 sed 's/^/| /' conftest.
$ac_ext >&5
30034 wx_cv_type_statvfs_t
="unknown"
30037 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
30041 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
30044 echo "$as_me:$LINENO: result: $wx_cv_type_statvfs_t" >&5
30045 echo "${ECHO_T}$wx_cv_type_statvfs_t" >&6
30048 ac_cpp
='$CPP $CPPFLAGS'
30049 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30050 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30051 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
30054 if test "$wx_cv_type_statvfs_t" != "unknown"; then
30055 cat >>confdefs.h
<<\_ACEOF
30056 #define HAVE_STATVFS 1
30061 wx_cv_type_statvfs_t
="unknown"
30065 if test "$wx_cv_type_statvfs_t" != "unknown"; then
30066 cat >>confdefs.h
<<_ACEOF
30067 #define WX_STATFS_T $wx_cv_type_statvfs_t
30071 { echo "$as_me:$LINENO: WARNING: wxGetDiskSpace() function won't work without statfs()" >&5
30072 echo "$as_me: WARNING: wxGetDiskSpace() function won't work without statfs()" >&2;}
30075 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
30078 for ac_func
in fcntl flock
30080 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
30081 echo "$as_me:$LINENO: checking for $ac_func" >&5
30082 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
30083 if eval "test \"\${$as_ac_var+set}\" = set"; then
30084 echo $ECHO_N "(cached) $ECHO_C" >&6
30086 cat >conftest.
$ac_ext <<_ACEOF
30089 cat confdefs.h
>>conftest.
$ac_ext
30090 cat >>conftest.
$ac_ext <<_ACEOF
30091 /* end confdefs.h. */
30092 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
30093 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30094 #define $ac_func innocuous_$ac_func
30096 /* System header to define __stub macros and hopefully few prototypes,
30097 which can conflict with char $ac_func (); below.
30098 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30099 <limits.h> exists even on freestanding compilers. */
30102 # include <limits.h>
30104 # include <assert.h>
30109 /* Override any gcc2 internal prototype to avoid an error. */
30114 /* We use char because int might match the return type of a gcc2
30115 builtin and then its argument prototype would still apply. */
30117 /* The GNU C library defines this for functions which it implements
30118 to always fail with ENOSYS. Some functions are actually named
30119 something starting with __ and the normal name is an alias. */
30120 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
30123 char (*f) () = $ac_func;
30132 return f != $ac_func;
30137 rm -f conftest.
$ac_objext conftest
$ac_exeext
30138 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30139 (eval $ac_link) 2>conftest.er1
30141 grep -v '^ *+' conftest.er1
>conftest.err
30143 cat conftest.err
>&5
30144 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30145 (exit $ac_status); } &&
30146 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
30147 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30148 (eval $ac_try) 2>&5
30150 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30151 (exit $ac_status); }; } &&
30152 { ac_try
='test -s conftest$ac_exeext'
30153 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30154 (eval $ac_try) 2>&5
30156 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30157 (exit $ac_status); }; }; then
30158 eval "$as_ac_var=yes"
30160 echo "$as_me: failed program was:" >&5
30161 sed 's/^/| /' conftest.
$ac_ext >&5
30163 eval "$as_ac_var=no"
30165 rm -f conftest.err conftest.
$ac_objext \
30166 conftest
$ac_exeext conftest.
$ac_ext
30168 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
30169 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
30170 if test `eval echo '${'$as_ac_var'}'` = yes; then
30171 cat >>confdefs.h
<<_ACEOF
30172 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
30179 if test "$ac_cv_func_fcntl" != "yes" -a "$ac_cv_func_flock" != "yes"; then
30180 { echo "$as_me:$LINENO: WARNING: wxSingleInstanceChecker not available" >&5
30181 echo "$as_me: WARNING: wxSingleInstanceChecker not available" >&2;}
30182 wxUSE_SNGLINST_CHECKER
=no
30187 for ac_func
in timegm
30189 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
30190 echo "$as_me:$LINENO: checking for $ac_func" >&5
30191 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
30192 if eval "test \"\${$as_ac_var+set}\" = set"; then
30193 echo $ECHO_N "(cached) $ECHO_C" >&6
30195 cat >conftest.
$ac_ext <<_ACEOF
30198 cat confdefs.h
>>conftest.
$ac_ext
30199 cat >>conftest.
$ac_ext <<_ACEOF
30200 /* end confdefs.h. */
30201 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
30202 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30203 #define $ac_func innocuous_$ac_func
30205 /* System header to define __stub macros and hopefully few prototypes,
30206 which can conflict with char $ac_func (); below.
30207 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30208 <limits.h> exists even on freestanding compilers. */
30211 # include <limits.h>
30213 # include <assert.h>
30218 /* Override any gcc2 internal prototype to avoid an error. */
30223 /* We use char because int might match the return type of a gcc2
30224 builtin and then its argument prototype would still apply. */
30226 /* The GNU C library defines this for functions which it implements
30227 to always fail with ENOSYS. Some functions are actually named
30228 something starting with __ and the normal name is an alias. */
30229 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
30232 char (*f) () = $ac_func;
30241 return f != $ac_func;
30246 rm -f conftest.
$ac_objext conftest
$ac_exeext
30247 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30248 (eval $ac_link) 2>conftest.er1
30250 grep -v '^ *+' conftest.er1
>conftest.err
30252 cat conftest.err
>&5
30253 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30254 (exit $ac_status); } &&
30255 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
30256 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30257 (eval $ac_try) 2>&5
30259 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30260 (exit $ac_status); }; } &&
30261 { ac_try
='test -s conftest$ac_exeext'
30262 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30263 (eval $ac_try) 2>&5
30265 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30266 (exit $ac_status); }; }; then
30267 eval "$as_ac_var=yes"
30269 echo "$as_me: failed program was:" >&5
30270 sed 's/^/| /' conftest.
$ac_ext >&5
30272 eval "$as_ac_var=no"
30274 rm -f conftest.err conftest.
$ac_objext \
30275 conftest
$ac_exeext conftest.
$ac_ext
30277 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
30278 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
30279 if test `eval echo '${'$as_ac_var'}'` = yes; then
30280 cat >>confdefs.h
<<_ACEOF
30281 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
30290 for ac_func
in putenv setenv
30292 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
30293 echo "$as_me:$LINENO: checking for $ac_func" >&5
30294 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
30295 if eval "test \"\${$as_ac_var+set}\" = set"; then
30296 echo $ECHO_N "(cached) $ECHO_C" >&6
30298 cat >conftest.
$ac_ext <<_ACEOF
30301 cat confdefs.h
>>conftest.
$ac_ext
30302 cat >>conftest.
$ac_ext <<_ACEOF
30303 /* end confdefs.h. */
30304 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
30305 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30306 #define $ac_func innocuous_$ac_func
30308 /* System header to define __stub macros and hopefully few prototypes,
30309 which can conflict with char $ac_func (); below.
30310 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30311 <limits.h> exists even on freestanding compilers. */
30314 # include <limits.h>
30316 # include <assert.h>
30321 /* Override any gcc2 internal prototype to avoid an error. */
30326 /* We use char because int might match the return type of a gcc2
30327 builtin and then its argument prototype would still apply. */
30329 /* The GNU C library defines this for functions which it implements
30330 to always fail with ENOSYS. Some functions are actually named
30331 something starting with __ and the normal name is an alias. */
30332 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
30335 char (*f) () = $ac_func;
30344 return f != $ac_func;
30349 rm -f conftest.
$ac_objext conftest
$ac_exeext
30350 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30351 (eval $ac_link) 2>conftest.er1
30353 grep -v '^ *+' conftest.er1
>conftest.err
30355 cat conftest.err
>&5
30356 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30357 (exit $ac_status); } &&
30358 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
30359 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30360 (eval $ac_try) 2>&5
30362 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30363 (exit $ac_status); }; } &&
30364 { ac_try
='test -s conftest$ac_exeext'
30365 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30366 (eval $ac_try) 2>&5
30368 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30369 (exit $ac_status); }; }; then
30370 eval "$as_ac_var=yes"
30372 echo "$as_me: failed program was:" >&5
30373 sed 's/^/| /' conftest.
$ac_ext >&5
30375 eval "$as_ac_var=no"
30377 rm -f conftest.err conftest.
$ac_objext \
30378 conftest
$ac_exeext conftest.
$ac_ext
30380 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
30381 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
30382 if test `eval echo '${'$as_ac_var'}'` = yes; then
30383 cat >>confdefs.h
<<_ACEOF
30384 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
30391 HAVE_SOME_SLEEP_FUNC
=0
30392 if test "$USE_BEOS" = 1; then
30393 cat >>confdefs.h
<<\_ACEOF
30394 #define HAVE_SLEEP 1
30397 HAVE_SOME_SLEEP_FUNC
=1
30400 if test "$USE_DARWIN" = 1; then
30401 cat >>confdefs.h
<<\_ACEOF
30402 #define HAVE_USLEEP 1
30405 HAVE_SOME_SLEEP_FUNC
=1
30408 if test "$HAVE_SOME_SLEEP_FUNC" != 1; then
30411 for ac_func
in nanosleep
30413 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
30414 echo "$as_me:$LINENO: checking for $ac_func" >&5
30415 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
30416 if eval "test \"\${$as_ac_var+set}\" = set"; then
30417 echo $ECHO_N "(cached) $ECHO_C" >&6
30419 cat >conftest.
$ac_ext <<_ACEOF
30422 cat confdefs.h
>>conftest.
$ac_ext
30423 cat >>conftest.
$ac_ext <<_ACEOF
30424 /* end confdefs.h. */
30425 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
30426 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30427 #define $ac_func innocuous_$ac_func
30429 /* System header to define __stub macros and hopefully few prototypes,
30430 which can conflict with char $ac_func (); below.
30431 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30432 <limits.h> exists even on freestanding compilers. */
30435 # include <limits.h>
30437 # include <assert.h>
30442 /* Override any gcc2 internal prototype to avoid an error. */
30447 /* We use char because int might match the return type of a gcc2
30448 builtin and then its argument prototype would still apply. */
30450 /* The GNU C library defines this for functions which it implements
30451 to always fail with ENOSYS. Some functions are actually named
30452 something starting with __ and the normal name is an alias. */
30453 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
30456 char (*f) () = $ac_func;
30465 return f != $ac_func;
30470 rm -f conftest.
$ac_objext conftest
$ac_exeext
30471 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30472 (eval $ac_link) 2>conftest.er1
30474 grep -v '^ *+' conftest.er1
>conftest.err
30476 cat conftest.err
>&5
30477 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30478 (exit $ac_status); } &&
30479 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
30480 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30481 (eval $ac_try) 2>&5
30483 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30484 (exit $ac_status); }; } &&
30485 { ac_try
='test -s conftest$ac_exeext'
30486 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30487 (eval $ac_try) 2>&5
30489 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30490 (exit $ac_status); }; }; then
30491 eval "$as_ac_var=yes"
30493 echo "$as_me: failed program was:" >&5
30494 sed 's/^/| /' conftest.
$ac_ext >&5
30496 eval "$as_ac_var=no"
30498 rm -f conftest.err conftest.
$ac_objext \
30499 conftest
$ac_exeext conftest.
$ac_ext
30501 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
30502 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
30503 if test `eval echo '${'$as_ac_var'}'` = yes; then
30504 cat >>confdefs.h
<<_ACEOF
30505 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
30507 cat >>confdefs.h
<<\_ACEOF
30508 #define HAVE_NANOSLEEP 1
30513 echo "$as_me:$LINENO: checking for nanosleep in -lposix4" >&5
30514 echo $ECHO_N "checking for nanosleep in -lposix4... $ECHO_C" >&6
30515 if test "${ac_cv_lib_posix4_nanosleep+set}" = set; then
30516 echo $ECHO_N "(cached) $ECHO_C" >&6
30518 ac_check_lib_save_LIBS
=$LIBS
30519 LIBS
="-lposix4 $LIBS"
30520 cat >conftest.
$ac_ext <<_ACEOF
30523 cat confdefs.h
>>conftest.
$ac_ext
30524 cat >>conftest.
$ac_ext <<_ACEOF
30525 /* end confdefs.h. */
30527 /* Override any gcc2 internal prototype to avoid an error. */
30531 /* We use char because int might match the return type of a gcc2
30532 builtin and then its argument prototype would still apply. */
30542 rm -f conftest.
$ac_objext conftest
$ac_exeext
30543 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30544 (eval $ac_link) 2>conftest.er1
30546 grep -v '^ *+' conftest.er1
>conftest.err
30548 cat conftest.err
>&5
30549 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30550 (exit $ac_status); } &&
30551 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
30552 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30553 (eval $ac_try) 2>&5
30555 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30556 (exit $ac_status); }; } &&
30557 { ac_try
='test -s conftest$ac_exeext'
30558 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30559 (eval $ac_try) 2>&5
30561 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30562 (exit $ac_status); }; }; then
30563 ac_cv_lib_posix4_nanosleep
=yes
30565 echo "$as_me: failed program was:" >&5
30566 sed 's/^/| /' conftest.
$ac_ext >&5
30568 ac_cv_lib_posix4_nanosleep
=no
30570 rm -f conftest.err conftest.
$ac_objext \
30571 conftest
$ac_exeext conftest.
$ac_ext
30572 LIBS
=$ac_check_lib_save_LIBS
30574 echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_nanosleep" >&5
30575 echo "${ECHO_T}$ac_cv_lib_posix4_nanosleep" >&6
30576 if test $ac_cv_lib_posix4_nanosleep = yes; then
30578 cat >>confdefs.h
<<\_ACEOF
30579 #define HAVE_NANOSLEEP 1
30582 POSIX4_LINK
=" -lposix4"
30587 for ac_func
in usleep
30589 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
30590 echo "$as_me:$LINENO: checking for $ac_func" >&5
30591 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
30592 if eval "test \"\${$as_ac_var+set}\" = set"; then
30593 echo $ECHO_N "(cached) $ECHO_C" >&6
30595 cat >conftest.
$ac_ext <<_ACEOF
30598 cat confdefs.h
>>conftest.
$ac_ext
30599 cat >>conftest.
$ac_ext <<_ACEOF
30600 /* end confdefs.h. */
30601 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
30602 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30603 #define $ac_func innocuous_$ac_func
30605 /* System header to define __stub macros and hopefully few prototypes,
30606 which can conflict with char $ac_func (); below.
30607 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30608 <limits.h> exists even on freestanding compilers. */
30611 # include <limits.h>
30613 # include <assert.h>
30618 /* Override any gcc2 internal prototype to avoid an error. */
30623 /* We use char because int might match the return type of a gcc2
30624 builtin and then its argument prototype would still apply. */
30626 /* The GNU C library defines this for functions which it implements
30627 to always fail with ENOSYS. Some functions are actually named
30628 something starting with __ and the normal name is an alias. */
30629 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
30632 char (*f) () = $ac_func;
30641 return f != $ac_func;
30646 rm -f conftest.
$ac_objext conftest
$ac_exeext
30647 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30648 (eval $ac_link) 2>conftest.er1
30650 grep -v '^ *+' conftest.er1
>conftest.err
30652 cat conftest.err
>&5
30653 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30654 (exit $ac_status); } &&
30655 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
30656 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30657 (eval $ac_try) 2>&5
30659 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30660 (exit $ac_status); }; } &&
30661 { ac_try
='test -s conftest$ac_exeext'
30662 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30663 (eval $ac_try) 2>&5
30665 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30666 (exit $ac_status); }; }; then
30667 eval "$as_ac_var=yes"
30669 echo "$as_me: failed program was:" >&5
30670 sed 's/^/| /' conftest.
$ac_ext >&5
30672 eval "$as_ac_var=no"
30674 rm -f conftest.err conftest.
$ac_objext \
30675 conftest
$ac_exeext conftest.
$ac_ext
30677 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
30678 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
30679 if test `eval echo '${'$as_ac_var'}'` = yes; then
30680 cat >>confdefs.h
<<_ACEOF
30681 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
30683 cat >>confdefs.h
<<\_ACEOF
30684 #define HAVE_USLEEP 1
30688 { echo "$as_me:$LINENO: WARNING: wxSleep() function will not work" >&5
30689 echo "$as_me: WARNING: wxSleep() function will not work" >&2;}
30707 for ac_func
in uname gethostname
30709 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
30710 echo "$as_me:$LINENO: checking for $ac_func" >&5
30711 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
30712 if eval "test \"\${$as_ac_var+set}\" = set"; then
30713 echo $ECHO_N "(cached) $ECHO_C" >&6
30715 cat >conftest.
$ac_ext <<_ACEOF
30718 cat confdefs.h
>>conftest.
$ac_ext
30719 cat >>conftest.
$ac_ext <<_ACEOF
30720 /* end confdefs.h. */
30721 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
30722 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30723 #define $ac_func innocuous_$ac_func
30725 /* System header to define __stub macros and hopefully few prototypes,
30726 which can conflict with char $ac_func (); below.
30727 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30728 <limits.h> exists even on freestanding compilers. */
30731 # include <limits.h>
30733 # include <assert.h>
30738 /* Override any gcc2 internal prototype to avoid an error. */
30743 /* We use char because int might match the return type of a gcc2
30744 builtin and then its argument prototype would still apply. */
30746 /* The GNU C library defines this for functions which it implements
30747 to always fail with ENOSYS. Some functions are actually named
30748 something starting with __ and the normal name is an alias. */
30749 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
30752 char (*f) () = $ac_func;
30761 return f != $ac_func;
30766 rm -f conftest.
$ac_objext conftest
$ac_exeext
30767 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30768 (eval $ac_link) 2>conftest.er1
30770 grep -v '^ *+' conftest.er1
>conftest.err
30772 cat conftest.err
>&5
30773 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30774 (exit $ac_status); } &&
30775 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
30776 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30777 (eval $ac_try) 2>&5
30779 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30780 (exit $ac_status); }; } &&
30781 { ac_try
='test -s conftest$ac_exeext'
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); }; }; then
30787 eval "$as_ac_var=yes"
30789 echo "$as_me: failed program was:" >&5
30790 sed 's/^/| /' conftest.
$ac_ext >&5
30792 eval "$as_ac_var=no"
30794 rm -f conftest.err conftest.
$ac_objext \
30795 conftest
$ac_exeext conftest.
$ac_ext
30797 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
30798 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
30799 if test `eval echo '${'$as_ac_var'}'` = yes; then
30800 cat >>confdefs.h
<<_ACEOF
30801 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
30811 ac_cpp
='$CXXCPP $CPPFLAGS'
30812 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30813 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30814 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
30818 for ac_func
in strtok_r
30820 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
30821 echo "$as_me:$LINENO: checking for $ac_func" >&5
30822 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
30823 if eval "test \"\${$as_ac_var+set}\" = set"; then
30824 echo $ECHO_N "(cached) $ECHO_C" >&6
30826 cat >conftest.
$ac_ext <<_ACEOF
30829 cat confdefs.h
>>conftest.
$ac_ext
30830 cat >>conftest.
$ac_ext <<_ACEOF
30831 /* end confdefs.h. */
30832 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
30833 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30834 #define $ac_func innocuous_$ac_func
30836 /* System header to define __stub macros and hopefully few prototypes,
30837 which can conflict with char $ac_func (); below.
30838 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30839 <limits.h> exists even on freestanding compilers. */
30842 # include <limits.h>
30844 # include <assert.h>
30849 /* Override any gcc2 internal prototype to avoid an error. */
30854 /* We use char because int might match the return type of a gcc2
30855 builtin and then its argument prototype would still apply. */
30857 /* The GNU C library defines this for functions which it implements
30858 to always fail with ENOSYS. Some functions are actually named
30859 something starting with __ and the normal name is an alias. */
30860 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
30863 char (*f) () = $ac_func;
30872 return f != $ac_func;
30877 rm -f conftest.
$ac_objext conftest
$ac_exeext
30878 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30879 (eval $ac_link) 2>conftest.er1
30881 grep -v '^ *+' conftest.er1
>conftest.err
30883 cat conftest.err
>&5
30884 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30885 (exit $ac_status); } &&
30886 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
30887 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30888 (eval $ac_try) 2>&5
30890 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30891 (exit $ac_status); }; } &&
30892 { ac_try
='test -s conftest$ac_exeext'
30893 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30894 (eval $ac_try) 2>&5
30896 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30897 (exit $ac_status); }; }; then
30898 eval "$as_ac_var=yes"
30900 echo "$as_me: failed program was:" >&5
30901 sed 's/^/| /' conftest.
$ac_ext >&5
30903 eval "$as_ac_var=no"
30905 rm -f conftest.err conftest.
$ac_objext \
30906 conftest
$ac_exeext conftest.
$ac_ext
30908 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
30909 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
30910 if test `eval echo '${'$as_ac_var'}'` = yes; then
30911 cat >>confdefs.h
<<_ACEOF
30912 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
30920 ac_cpp
='$CPP $CPPFLAGS'
30921 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30922 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30923 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
30928 for ac_func
in inet_addr
30930 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
30931 echo "$as_me:$LINENO: checking for $ac_func" >&5
30932 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
30933 if eval "test \"\${$as_ac_var+set}\" = set"; then
30934 echo $ECHO_N "(cached) $ECHO_C" >&6
30936 cat >conftest.
$ac_ext <<_ACEOF
30939 cat confdefs.h
>>conftest.
$ac_ext
30940 cat >>conftest.
$ac_ext <<_ACEOF
30941 /* end confdefs.h. */
30942 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
30943 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30944 #define $ac_func innocuous_$ac_func
30946 /* System header to define __stub macros and hopefully few prototypes,
30947 which can conflict with char $ac_func (); below.
30948 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30949 <limits.h> exists even on freestanding compilers. */
30952 # include <limits.h>
30954 # include <assert.h>
30959 /* Override any gcc2 internal prototype to avoid an error. */
30964 /* We use char because int might match the return type of a gcc2
30965 builtin and then its argument prototype would still apply. */
30967 /* The GNU C library defines this for functions which it implements
30968 to always fail with ENOSYS. Some functions are actually named
30969 something starting with __ and the normal name is an alias. */
30970 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
30973 char (*f) () = $ac_func;
30982 return f != $ac_func;
30987 rm -f conftest.
$ac_objext conftest
$ac_exeext
30988 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30989 (eval $ac_link) 2>conftest.er1
30991 grep -v '^ *+' conftest.er1
>conftest.err
30993 cat conftest.err
>&5
30994 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30995 (exit $ac_status); } &&
30996 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
30997 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30998 (eval $ac_try) 2>&5
31000 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31001 (exit $ac_status); }; } &&
31002 { ac_try
='test -s conftest$ac_exeext'
31003 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31004 (eval $ac_try) 2>&5
31006 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31007 (exit $ac_status); }; }; then
31008 eval "$as_ac_var=yes"
31010 echo "$as_me: failed program was:" >&5
31011 sed 's/^/| /' conftest.
$ac_ext >&5
31013 eval "$as_ac_var=no"
31015 rm -f conftest.err conftest.
$ac_objext \
31016 conftest
$ac_exeext conftest.
$ac_ext
31018 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
31019 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
31020 if test `eval echo '${'$as_ac_var'}'` = yes; then
31021 cat >>confdefs.h
<<_ACEOF
31022 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31024 cat >>confdefs.h
<<\_ACEOF
31025 #define HAVE_INET_ADDR 1
31030 echo "$as_me:$LINENO: checking for inet_addr in -lnsl" >&5
31031 echo $ECHO_N "checking for inet_addr in -lnsl... $ECHO_C" >&6
31032 if test "${ac_cv_lib_nsl_inet_addr+set}" = set; then
31033 echo $ECHO_N "(cached) $ECHO_C" >&6
31035 ac_check_lib_save_LIBS
=$LIBS
31037 cat >conftest.
$ac_ext <<_ACEOF
31040 cat confdefs.h
>>conftest.
$ac_ext
31041 cat >>conftest.
$ac_ext <<_ACEOF
31042 /* end confdefs.h. */
31044 /* Override any gcc2 internal prototype to avoid an error. */
31048 /* We use char because int might match the return type of a gcc2
31049 builtin and then its argument prototype would still apply. */
31059 rm -f conftest.
$ac_objext conftest
$ac_exeext
31060 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31061 (eval $ac_link) 2>conftest.er1
31063 grep -v '^ *+' conftest.er1
>conftest.err
31065 cat conftest.err
>&5
31066 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31067 (exit $ac_status); } &&
31068 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
31069 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31070 (eval $ac_try) 2>&5
31072 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31073 (exit $ac_status); }; } &&
31074 { ac_try
='test -s conftest$ac_exeext'
31075 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31076 (eval $ac_try) 2>&5
31078 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31079 (exit $ac_status); }; }; then
31080 ac_cv_lib_nsl_inet_addr
=yes
31082 echo "$as_me: failed program was:" >&5
31083 sed 's/^/| /' conftest.
$ac_ext >&5
31085 ac_cv_lib_nsl_inet_addr
=no
31087 rm -f conftest.err conftest.
$ac_objext \
31088 conftest
$ac_exeext conftest.
$ac_ext
31089 LIBS
=$ac_check_lib_save_LIBS
31091 echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_inet_addr" >&5
31092 echo "${ECHO_T}$ac_cv_lib_nsl_inet_addr" >&6
31093 if test $ac_cv_lib_nsl_inet_addr = yes; then
31097 echo "$as_me:$LINENO: checking for inet_addr in -lresolv" >&5
31098 echo $ECHO_N "checking for inet_addr in -lresolv... $ECHO_C" >&6
31099 if test "${ac_cv_lib_resolv_inet_addr+set}" = set; then
31100 echo $ECHO_N "(cached) $ECHO_C" >&6
31102 ac_check_lib_save_LIBS
=$LIBS
31103 LIBS
="-lresolv $LIBS"
31104 cat >conftest.
$ac_ext <<_ACEOF
31107 cat confdefs.h
>>conftest.
$ac_ext
31108 cat >>conftest.
$ac_ext <<_ACEOF
31109 /* end confdefs.h. */
31111 /* Override any gcc2 internal prototype to avoid an error. */
31115 /* We use char because int might match the return type of a gcc2
31116 builtin and then its argument prototype would still apply. */
31126 rm -f conftest.
$ac_objext conftest
$ac_exeext
31127 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31128 (eval $ac_link) 2>conftest.er1
31130 grep -v '^ *+' conftest.er1
>conftest.err
31132 cat conftest.err
>&5
31133 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31134 (exit $ac_status); } &&
31135 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
31136 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31137 (eval $ac_try) 2>&5
31139 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31140 (exit $ac_status); }; } &&
31141 { ac_try
='test -s conftest$ac_exeext'
31142 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31143 (eval $ac_try) 2>&5
31145 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31146 (exit $ac_status); }; }; then
31147 ac_cv_lib_resolv_inet_addr
=yes
31149 echo "$as_me: failed program was:" >&5
31150 sed 's/^/| /' conftest.
$ac_ext >&5
31152 ac_cv_lib_resolv_inet_addr
=no
31154 rm -f conftest.err conftest.
$ac_objext \
31155 conftest
$ac_exeext conftest.
$ac_ext
31156 LIBS
=$ac_check_lib_save_LIBS
31158 echo "$as_me:$LINENO: result: $ac_cv_lib_resolv_inet_addr" >&5
31159 echo "${ECHO_T}$ac_cv_lib_resolv_inet_addr" >&6
31160 if test $ac_cv_lib_resolv_inet_addr = yes; then
31164 echo "$as_me:$LINENO: checking for inet_addr in -lsocket" >&5
31165 echo $ECHO_N "checking for inet_addr in -lsocket... $ECHO_C" >&6
31166 if test "${ac_cv_lib_socket_inet_addr+set}" = set; then
31167 echo $ECHO_N "(cached) $ECHO_C" >&6
31169 ac_check_lib_save_LIBS
=$LIBS
31170 LIBS
="-lsocket $LIBS"
31171 cat >conftest.
$ac_ext <<_ACEOF
31174 cat confdefs.h
>>conftest.
$ac_ext
31175 cat >>conftest.
$ac_ext <<_ACEOF
31176 /* end confdefs.h. */
31178 /* Override any gcc2 internal prototype to avoid an error. */
31182 /* We use char because int might match the return type of a gcc2
31183 builtin and then its argument prototype would still apply. */
31193 rm -f conftest.
$ac_objext conftest
$ac_exeext
31194 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31195 (eval $ac_link) 2>conftest.er1
31197 grep -v '^ *+' conftest.er1
>conftest.err
31199 cat conftest.err
>&5
31200 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31201 (exit $ac_status); } &&
31202 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
31203 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31204 (eval $ac_try) 2>&5
31206 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31207 (exit $ac_status); }; } &&
31208 { ac_try
='test -s conftest$ac_exeext'
31209 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31210 (eval $ac_try) 2>&5
31212 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31213 (exit $ac_status); }; }; then
31214 ac_cv_lib_socket_inet_addr
=yes
31216 echo "$as_me: failed program was:" >&5
31217 sed 's/^/| /' conftest.
$ac_ext >&5
31219 ac_cv_lib_socket_inet_addr
=no
31221 rm -f conftest.err conftest.
$ac_objext \
31222 conftest
$ac_exeext conftest.
$ac_ext
31223 LIBS
=$ac_check_lib_save_LIBS
31225 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_inet_addr" >&5
31226 echo "${ECHO_T}$ac_cv_lib_socket_inet_addr" >&6
31227 if test $ac_cv_lib_socket_inet_addr = yes; then
31247 for ac_func
in inet_aton
31249 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31250 echo "$as_me:$LINENO: checking for $ac_func" >&5
31251 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
31252 if eval "test \"\${$as_ac_var+set}\" = set"; then
31253 echo $ECHO_N "(cached) $ECHO_C" >&6
31255 cat >conftest.
$ac_ext <<_ACEOF
31258 cat confdefs.h
>>conftest.
$ac_ext
31259 cat >>conftest.
$ac_ext <<_ACEOF
31260 /* end confdefs.h. */
31261 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
31262 For example, HP-UX 11i <limits.h> declares gettimeofday. */
31263 #define $ac_func innocuous_$ac_func
31265 /* System header to define __stub macros and hopefully few prototypes,
31266 which can conflict with char $ac_func (); below.
31267 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31268 <limits.h> exists even on freestanding compilers. */
31271 # include <limits.h>
31273 # include <assert.h>
31278 /* Override any gcc2 internal prototype to avoid an error. */
31283 /* We use char because int might match the return type of a gcc2
31284 builtin and then its argument prototype would still apply. */
31286 /* The GNU C library defines this for functions which it implements
31287 to always fail with ENOSYS. Some functions are actually named
31288 something starting with __ and the normal name is an alias. */
31289 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
31292 char (*f) () = $ac_func;
31301 return f != $ac_func;
31306 rm -f conftest.
$ac_objext conftest
$ac_exeext
31307 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31308 (eval $ac_link) 2>conftest.er1
31310 grep -v '^ *+' conftest.er1
>conftest.err
31312 cat conftest.err
>&5
31313 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31314 (exit $ac_status); } &&
31315 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
31316 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31317 (eval $ac_try) 2>&5
31319 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31320 (exit $ac_status); }; } &&
31321 { ac_try
='test -s conftest$ac_exeext'
31322 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31323 (eval $ac_try) 2>&5
31325 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31326 (exit $ac_status); }; }; then
31327 eval "$as_ac_var=yes"
31329 echo "$as_me: failed program was:" >&5
31330 sed 's/^/| /' conftest.
$ac_ext >&5
31332 eval "$as_ac_var=no"
31334 rm -f conftest.err conftest.
$ac_objext \
31335 conftest
$ac_exeext conftest.
$ac_ext
31337 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
31338 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
31339 if test `eval echo '${'$as_ac_var'}'` = yes; then
31340 cat >>confdefs.h
<<_ACEOF
31341 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31343 cat >>confdefs.h
<<\_ACEOF
31344 #define HAVE_INET_ATON 1
31349 as_ac_Lib
=`echo "ac_cv_lib_$INET_LINK''_inet_aton" | $as_tr_sh`
31350 echo "$as_me:$LINENO: checking for inet_aton in -l$INET_LINK" >&5
31351 echo $ECHO_N "checking for inet_aton in -l$INET_LINK... $ECHO_C" >&6
31352 if eval "test \"\${$as_ac_Lib+set}\" = set"; then
31353 echo $ECHO_N "(cached) $ECHO_C" >&6
31355 ac_check_lib_save_LIBS
=$LIBS
31356 LIBS
="-l$INET_LINK $LIBS"
31357 cat >conftest.
$ac_ext <<_ACEOF
31360 cat confdefs.h
>>conftest.
$ac_ext
31361 cat >>conftest.
$ac_ext <<_ACEOF
31362 /* end confdefs.h. */
31364 /* Override any gcc2 internal prototype to avoid an error. */
31368 /* We use char because int might match the return type of a gcc2
31369 builtin and then its argument prototype would still apply. */
31379 rm -f conftest.
$ac_objext conftest
$ac_exeext
31380 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31381 (eval $ac_link) 2>conftest.er1
31383 grep -v '^ *+' conftest.er1
>conftest.err
31385 cat conftest.err
>&5
31386 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31387 (exit $ac_status); } &&
31388 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
31389 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31390 (eval $ac_try) 2>&5
31392 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31393 (exit $ac_status); }; } &&
31394 { ac_try
='test -s conftest$ac_exeext'
31395 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31396 (eval $ac_try) 2>&5
31398 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31399 (exit $ac_status); }; }; then
31400 eval "$as_ac_Lib=yes"
31402 echo "$as_me: failed program was:" >&5
31403 sed 's/^/| /' conftest.
$ac_ext >&5
31405 eval "$as_ac_Lib=no"
31407 rm -f conftest.err conftest.
$ac_objext \
31408 conftest
$ac_exeext conftest.
$ac_ext
31409 LIBS
=$ac_check_lib_save_LIBS
31411 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Lib'}'`" >&5
31412 echo "${ECHO_T}`eval echo '${'$as_ac_Lib'}'`" >&6
31413 if test `eval echo '${'$as_ac_Lib'}'` = yes; then
31414 cat >>confdefs.h
<<\_ACEOF
31415 #define HAVE_INET_ATON 1
31425 if test "x$INET_LINK" != "x"; then
31426 cat >>confdefs.h
<<\_ACEOF
31427 #define HAVE_INET_ADDR 1
31430 INET_LINK
=" -l$INET_LINK"
31438 echo "$as_me:$LINENO: checking for esd_close in -lesd" >&5
31439 echo $ECHO_N "checking for esd_close in -lesd... $ECHO_C" >&6
31440 if test "${ac_cv_lib_esd_esd_close+set}" = set; then
31441 echo $ECHO_N "(cached) $ECHO_C" >&6
31443 ac_check_lib_save_LIBS
=$LIBS
31445 cat >conftest.
$ac_ext <<_ACEOF
31448 cat confdefs.h
>>conftest.
$ac_ext
31449 cat >>conftest.
$ac_ext <<_ACEOF
31450 /* end confdefs.h. */
31452 /* Override any gcc2 internal prototype to avoid an error. */
31456 /* We use char because int might match the return type of a gcc2
31457 builtin and then its argument prototype would still apply. */
31467 rm -f conftest.
$ac_objext conftest
$ac_exeext
31468 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31469 (eval $ac_link) 2>conftest.er1
31471 grep -v '^ *+' conftest.er1
>conftest.err
31473 cat conftest.err
>&5
31474 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31475 (exit $ac_status); } &&
31476 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
31477 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31478 (eval $ac_try) 2>&5
31480 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31481 (exit $ac_status); }; } &&
31482 { ac_try
='test -s conftest$ac_exeext'
31483 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31484 (eval $ac_try) 2>&5
31486 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31487 (exit $ac_status); }; }; then
31488 ac_cv_lib_esd_esd_close
=yes
31490 echo "$as_me: failed program was:" >&5
31491 sed 's/^/| /' conftest.
$ac_ext >&5
31493 ac_cv_lib_esd_esd_close
=no
31495 rm -f conftest.err conftest.
$ac_objext \
31496 conftest
$ac_exeext conftest.
$ac_ext
31497 LIBS
=$ac_check_lib_save_LIBS
31499 echo "$as_me:$LINENO: result: $ac_cv_lib_esd_esd_close" >&5
31500 echo "${ECHO_T}$ac_cv_lib_esd_esd_close" >&6
31501 if test $ac_cv_lib_esd_esd_close = yes; then
31504 for ac_header
in esd.h
31506 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
31507 if eval "test \"\${$as_ac_Header+set}\" = set"; then
31508 echo "$as_me:$LINENO: checking for $ac_header" >&5
31509 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
31510 if eval "test \"\${$as_ac_Header+set}\" = set"; then
31511 echo $ECHO_N "(cached) $ECHO_C" >&6
31513 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
31514 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
31516 # Is the header compilable?
31517 echo "$as_me:$LINENO: checking $ac_header usability" >&5
31518 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
31519 cat >conftest.
$ac_ext <<_ACEOF
31522 cat confdefs.h
>>conftest.
$ac_ext
31523 cat >>conftest.
$ac_ext <<_ACEOF
31524 /* end confdefs.h. */
31525 $ac_includes_default
31526 #include <$ac_header>
31528 rm -f conftest.
$ac_objext
31529 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31530 (eval $ac_compile) 2>conftest.er1
31532 grep -v '^ *+' conftest.er1
>conftest.err
31534 cat conftest.err
>&5
31535 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31536 (exit $ac_status); } &&
31537 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
31538 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31539 (eval $ac_try) 2>&5
31541 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31542 (exit $ac_status); }; } &&
31543 { ac_try
='test -s conftest.$ac_objext'
31544 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31545 (eval $ac_try) 2>&5
31547 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31548 (exit $ac_status); }; }; then
31549 ac_header_compiler
=yes
31551 echo "$as_me: failed program was:" >&5
31552 sed 's/^/| /' conftest.
$ac_ext >&5
31554 ac_header_compiler
=no
31556 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
31557 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
31558 echo "${ECHO_T}$ac_header_compiler" >&6
31560 # Is the header present?
31561 echo "$as_me:$LINENO: checking $ac_header presence" >&5
31562 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
31563 cat >conftest.
$ac_ext <<_ACEOF
31566 cat confdefs.h
>>conftest.
$ac_ext
31567 cat >>conftest.
$ac_ext <<_ACEOF
31568 /* end confdefs.h. */
31569 #include <$ac_header>
31571 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
31572 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
31574 grep -v '^ *+' conftest.er1
>conftest.err
31576 cat conftest.err
>&5
31577 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31578 (exit $ac_status); } >/dev
/null
; then
31579 if test -s conftest.err
; then
31580 ac_cpp_err
=$ac_c_preproc_warn_flag
31581 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
31588 if test -z "$ac_cpp_err"; then
31589 ac_header_preproc
=yes
31591 echo "$as_me: failed program was:" >&5
31592 sed 's/^/| /' conftest.
$ac_ext >&5
31594 ac_header_preproc
=no
31596 rm -f conftest.err conftest.
$ac_ext
31597 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
31598 echo "${ECHO_T}$ac_header_preproc" >&6
31600 # So? What about this header?
31601 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
31603 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
31604 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
31605 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
31606 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
31607 ac_header_preproc
=yes
31610 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
31611 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
31612 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
31613 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
31614 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
31615 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
31616 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
31617 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
31618 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
31619 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
31620 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
31621 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
31624 ## ----------------------------------------- ##
31625 ## Report this to wx-dev@lists.wxwindows.org ##
31626 ## ----------------------------------------- ##
31629 sed "s/^/$as_me: WARNING: /" >&2
31632 echo "$as_me:$LINENO: checking for $ac_header" >&5
31633 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
31634 if eval "test \"\${$as_ac_Header+set}\" = set"; then
31635 echo $ECHO_N "(cached) $ECHO_C" >&6
31637 eval "$as_ac_Header=\$ac_header_preproc"
31639 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
31640 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
31643 if test `eval echo '${'$as_ac_Header'}'` = yes; then
31644 cat >>confdefs.h
<<_ACEOF
31645 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
31648 EXTRALIBS_ESD
="-lesd"
31659 echo "$as_me:$LINENO: checking for known CD-ROM interface" >&5
31660 echo $ECHO_N "checking for known CD-ROM interface... $ECHO_C" >&6
31661 cat >conftest.
$ac_ext <<_ACEOF
31664 cat confdefs.h
>>conftest.
$ac_ext
31665 cat >>conftest.
$ac_ext <<_ACEOF
31666 /* end confdefs.h. */
31668 #include <linux/cdrom.h>
31671 #include <sys/cdio.h>
31677 struct cdrom_tocentry entry, old_entry;
31682 rm -f conftest.
$ac_objext
31683 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31684 (eval $ac_compile) 2>conftest.er1
31686 grep -v '^ *+' conftest.er1
>conftest.err
31688 cat conftest.err
>&5
31689 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31690 (exit $ac_status); } &&
31691 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
31692 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31693 (eval $ac_try) 2>&5
31695 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31696 (exit $ac_status); }; } &&
31697 { ac_try
='test -s conftest.$ac_objext'
31698 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31699 (eval $ac_try) 2>&5
31701 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31702 (exit $ac_status); }; }; then
31703 echo "$as_me:$LINENO: result: yes" >&5
31704 echo "${ECHO_T}yes" >&6
31705 cat >>confdefs.h
<<\_ACEOF
31706 #define HAVE_KNOWN_CDROM_INTERFACE 1
31710 echo "$as_me: failed program was:" >&5
31711 sed 's/^/| /' conftest.
$ac_ext >&5
31713 echo "$as_me:$LINENO: result: no" >&5
31714 echo "${ECHO_T}no" >&6
31716 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
31719 cat >confcache
<<\_ACEOF
31720 # This file is a shell script that caches the results of configure
31721 # tests run on this system so they can be shared between configure
31722 # scripts and configure runs, see configure's option --config-cache.
31723 # It is not useful on other systems. If it contains results you don't
31724 # want to keep, you may remove or edit it.
31726 # config.status only pays attention to the cache file if you give it
31727 # the --recheck option to rerun configure.
31729 # `ac_cv_env_foo' variables (set or unset) will be overridden when
31730 # loading this file, other *unset* `ac_cv_foo' will be assigned the
31731 # following values.
31735 # The following way of writing the cache mishandles newlines in values,
31736 # but we know of no workaround that is simple, portable, and efficient.
31737 # So, don't put newlines in cache variables' values.
31738 # Ultrix sh set writes to stderr and can't be redirected directly,
31739 # and sets the high bit in the cache file unless we assign to the vars.
31742 case `(ac_space=' '; set | grep ac_space) 2>&1` in
31744 # `set' does not quote correctly, so add quotes (double-quote
31745 # substitution turns \\\\ into \\, and sed turns \\ into \).
31748 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
31751 # `set' quotes correctly as required by POSIX, so do not add quotes.
31753 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
31760 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
31762 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
31764 if diff $cache_file confcache
>/dev
/null
2>&1; then :; else
31765 if test -w $cache_file; then
31766 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
31767 cat confcache
>$cache_file
31769 echo "not updating unwritable cache $cache_file"
31776 if test "$TOOLKIT" != "MSW" -a "$USE_OS2" != 1; then
31782 if test "$wxUSE_THREADS" = "yes" ; then
31783 if test "$USE_BEOS" = 1; then
31784 { echo "$as_me:$LINENO: WARNING: BeOS threads are not yet supported... disabled" >&5
31785 echo "$as_me: WARNING: BeOS threads are not yet supported... disabled" >&2;}
31790 if test "$wxUSE_THREADS" = "yes" ; then
31793 THREAD_OPTS
="-pthread"
31795 *-*-solaris2* | *-*-sunos4* )
31796 if test "x$GCC" = "xyes"; then
31797 THREAD_OPTS
="-pthreads $THREAD_OPTS"
31799 THREAD_OPTS
="-mt $THREAD_OPTS"
31803 THREAD_OPTS
="-kthread lthread $THREAD_OPTS c_r"
31805 *-*-darwin* | *-*-cygwin* )
31809 THREAD_OPTS
="pthreads"
31812 if test "x$GCC" != "xyes"; then
31818 if test "x$GCC" = "xyes"; then
31824 if test "x$GCC" != "xyes"; then
31825 THREAD_OPTS
="-Ethread"
31830 THREAD_OPTS
="$THREAD_OPTS pthread none"
31833 for flag
in $THREAD_OPTS; do
31836 echo "$as_me:$LINENO: checking whether pthreads work without any flags" >&5
31837 echo $ECHO_N "checking whether pthreads work without any flags... $ECHO_C" >&6
31841 echo "$as_me:$LINENO: checking whether pthreads work with $flag" >&5
31842 echo $ECHO_N "checking whether pthreads work with $flag... $ECHO_C" >&6
31843 THREADS_CFLAGS
="$flag"
31847 echo "$as_me:$LINENO: checking for the pthreads library -l$flag" >&5
31848 echo $ECHO_N "checking for the pthreads library -l$flag... $ECHO_C" >&6
31849 THREADS_LINK
="-l$flag"
31854 save_CFLAGS
="$CFLAGS"
31855 LIBS
="$THREADS_LINK $LIBS"
31856 CFLAGS
="$THREADS_CFLAGS $CFLAGS"
31858 cat >conftest.
$ac_ext <<_ACEOF
31861 cat confdefs.h
>>conftest.
$ac_ext
31862 cat >>conftest.
$ac_ext <<_ACEOF
31863 /* end confdefs.h. */
31864 #include <pthread.h>
31868 pthread_create(0,0,0,0);
31873 rm -f conftest.
$ac_objext conftest
$ac_exeext
31874 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31875 (eval $ac_link) 2>conftest.er1
31877 grep -v '^ *+' conftest.er1
>conftest.err
31879 cat conftest.err
>&5
31880 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31881 (exit $ac_status); } &&
31882 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
31883 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31884 (eval $ac_try) 2>&5
31886 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31887 (exit $ac_status); }; } &&
31888 { ac_try
='test -s conftest$ac_exeext'
31889 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31890 (eval $ac_try) 2>&5
31892 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31893 (exit $ac_status); }; }; then
31896 echo "$as_me: failed program was:" >&5
31897 sed 's/^/| /' conftest.
$ac_ext >&5
31900 rm -f conftest.err conftest.
$ac_objext \
31901 conftest
$ac_exeext conftest.
$ac_ext
31904 CFLAGS
="$save_CFLAGS"
31906 echo "$as_me:$LINENO: result: $THREADS_OK" >&5
31907 echo "${ECHO_T}$THREADS_OK" >&6
31908 if test "x$THREADS_OK" = "xyes"; then
31916 if test "x$THREADS_OK" != "xyes"; then
31918 { echo "$as_me:$LINENO: WARNING: No thread support on this system... disabled" >&5
31919 echo "$as_me: WARNING: No thread support on this system... disabled" >&2;}
31921 LDFLAGS
="$THREADS_CFLAGS $LDFLAGS"
31922 LIBS
="$THREADS_LINK $LIBS"
31924 echo "$as_me:$LINENO: checking if more special flags are required for pthreads" >&5
31925 echo $ECHO_N "checking if more special flags are required for pthreads... $ECHO_C" >&6
31929 LDFLAGS
="-L/usr/lib/threads $LDFLAGS"
31930 flag
="-D_THREAD_SAFE"
31933 flag
="-D_THREAD_SAFE"
31936 flag
="-D_REENTRANT"
31937 if test "x$GCC" != "xyes"; then
31938 flag
="$flag -D_RWSTD_MULTI_THREAD"
31941 *solaris
* | alpha
*-osf*)
31942 flag
="-D_REENTRANT"
31945 echo "$as_me:$LINENO: result: ${flag}" >&5
31946 echo "${ECHO_T}${flag}" >&6
31947 if test "x$flag" != xno
; then
31948 THREADS_CFLAGS
="$THREADS_CFLAGS $flag"
31951 if test "x$THREADS_CFLAGS" != "x"; then
31952 CFLAGS
="$CFLAGS $THREADS_CFLAGS"
31953 CXXFLAGS
="$CXXFLAGS $THREADS_CFLAGS"
31958 if test "$wxUSE_THREADS" = "yes" ; then
31960 for ac_func
in thr_setconcurrency
31962 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31963 echo "$as_me:$LINENO: checking for $ac_func" >&5
31964 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
31965 if eval "test \"\${$as_ac_var+set}\" = set"; then
31966 echo $ECHO_N "(cached) $ECHO_C" >&6
31968 cat >conftest.
$ac_ext <<_ACEOF
31971 cat confdefs.h
>>conftest.
$ac_ext
31972 cat >>conftest.
$ac_ext <<_ACEOF
31973 /* end confdefs.h. */
31974 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
31975 For example, HP-UX 11i <limits.h> declares gettimeofday. */
31976 #define $ac_func innocuous_$ac_func
31978 /* System header to define __stub macros and hopefully few prototypes,
31979 which can conflict with char $ac_func (); below.
31980 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31981 <limits.h> exists even on freestanding compilers. */
31984 # include <limits.h>
31986 # include <assert.h>
31991 /* Override any gcc2 internal prototype to avoid an error. */
31996 /* We use char because int might match the return type of a gcc2
31997 builtin and then its argument prototype would still apply. */
31999 /* The GNU C library defines this for functions which it implements
32000 to always fail with ENOSYS. Some functions are actually named
32001 something starting with __ and the normal name is an alias. */
32002 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
32005 char (*f) () = $ac_func;
32014 return f != $ac_func;
32019 rm -f conftest.
$ac_objext conftest
$ac_exeext
32020 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32021 (eval $ac_link) 2>conftest.er1
32023 grep -v '^ *+' conftest.er1
>conftest.err
32025 cat conftest.err
>&5
32026 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32027 (exit $ac_status); } &&
32028 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
32029 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32030 (eval $ac_try) 2>&5
32032 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32033 (exit $ac_status); }; } &&
32034 { ac_try
='test -s conftest$ac_exeext'
32035 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32036 (eval $ac_try) 2>&5
32038 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32039 (exit $ac_status); }; }; then
32040 eval "$as_ac_var=yes"
32042 echo "$as_me: failed program was:" >&5
32043 sed 's/^/| /' conftest.
$ac_ext >&5
32045 eval "$as_ac_var=no"
32047 rm -f conftest.err conftest.
$ac_objext \
32048 conftest
$ac_exeext conftest.
$ac_ext
32050 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
32051 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
32052 if test `eval echo '${'$as_ac_var'}'` = yes; then
32053 cat >>confdefs.h
<<_ACEOF
32054 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
32062 for ac_header
in sched.h
32064 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
32065 if eval "test \"\${$as_ac_Header+set}\" = set"; then
32066 echo "$as_me:$LINENO: checking for $ac_header" >&5
32067 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
32068 if eval "test \"\${$as_ac_Header+set}\" = set"; then
32069 echo $ECHO_N "(cached) $ECHO_C" >&6
32071 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
32072 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
32074 # Is the header compilable?
32075 echo "$as_me:$LINENO: checking $ac_header usability" >&5
32076 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
32077 cat >conftest.
$ac_ext <<_ACEOF
32080 cat confdefs.h
>>conftest.
$ac_ext
32081 cat >>conftest.
$ac_ext <<_ACEOF
32082 /* end confdefs.h. */
32083 $ac_includes_default
32084 #include <$ac_header>
32086 rm -f conftest.
$ac_objext
32087 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32088 (eval $ac_compile) 2>conftest.er1
32090 grep -v '^ *+' conftest.er1
>conftest.err
32092 cat conftest.err
>&5
32093 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32094 (exit $ac_status); } &&
32095 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
32096 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32097 (eval $ac_try) 2>&5
32099 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32100 (exit $ac_status); }; } &&
32101 { ac_try
='test -s conftest.$ac_objext'
32102 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32103 (eval $ac_try) 2>&5
32105 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32106 (exit $ac_status); }; }; then
32107 ac_header_compiler
=yes
32109 echo "$as_me: failed program was:" >&5
32110 sed 's/^/| /' conftest.
$ac_ext >&5
32112 ac_header_compiler
=no
32114 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
32115 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
32116 echo "${ECHO_T}$ac_header_compiler" >&6
32118 # Is the header present?
32119 echo "$as_me:$LINENO: checking $ac_header presence" >&5
32120 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
32121 cat >conftest.
$ac_ext <<_ACEOF
32124 cat confdefs.h
>>conftest.
$ac_ext
32125 cat >>conftest.
$ac_ext <<_ACEOF
32126 /* end confdefs.h. */
32127 #include <$ac_header>
32129 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
32130 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
32132 grep -v '^ *+' conftest.er1
>conftest.err
32134 cat conftest.err
>&5
32135 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32136 (exit $ac_status); } >/dev
/null
; then
32137 if test -s conftest.err
; then
32138 ac_cpp_err
=$ac_c_preproc_warn_flag
32139 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
32146 if test -z "$ac_cpp_err"; then
32147 ac_header_preproc
=yes
32149 echo "$as_me: failed program was:" >&5
32150 sed 's/^/| /' conftest.
$ac_ext >&5
32152 ac_header_preproc
=no
32154 rm -f conftest.err conftest.
$ac_ext
32155 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
32156 echo "${ECHO_T}$ac_header_preproc" >&6
32158 # So? What about this header?
32159 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
32161 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
32162 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
32163 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
32164 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
32165 ac_header_preproc
=yes
32168 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
32169 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
32170 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
32171 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
32172 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
32173 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
32174 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
32175 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
32176 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
32177 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
32178 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
32179 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
32182 ## ----------------------------------------- ##
32183 ## Report this to wx-dev@lists.wxwindows.org ##
32184 ## ----------------------------------------- ##
32187 sed "s/^/$as_me: WARNING: /" >&2
32190 echo "$as_me:$LINENO: checking for $ac_header" >&5
32191 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
32192 if eval "test \"\${$as_ac_Header+set}\" = set"; then
32193 echo $ECHO_N "(cached) $ECHO_C" >&6
32195 eval "$as_ac_Header=\$ac_header_preproc"
32197 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
32198 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
32201 if test `eval echo '${'$as_ac_Header'}'` = yes; then
32202 cat >>confdefs.h
<<_ACEOF
32203 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
32210 if test "$ac_cv_header_sched_h" = "yes"; then
32211 echo "$as_me:$LINENO: checking for sched_yield" >&5
32212 echo $ECHO_N "checking for sched_yield... $ECHO_C" >&6
32213 if test "${ac_cv_func_sched_yield+set}" = set; then
32214 echo $ECHO_N "(cached) $ECHO_C" >&6
32216 cat >conftest.
$ac_ext <<_ACEOF
32219 cat confdefs.h
>>conftest.
$ac_ext
32220 cat >>conftest.
$ac_ext <<_ACEOF
32221 /* end confdefs.h. */
32222 /* Define sched_yield to an innocuous variant, in case <limits.h> declares sched_yield.
32223 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32224 #define sched_yield innocuous_sched_yield
32226 /* System header to define __stub macros and hopefully few prototypes,
32227 which can conflict with char sched_yield (); below.
32228 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32229 <limits.h> exists even on freestanding compilers. */
32232 # include <limits.h>
32234 # include <assert.h>
32239 /* Override any gcc2 internal prototype to avoid an error. */
32244 /* We use char because int might match the return type of a gcc2
32245 builtin and then its argument prototype would still apply. */
32246 char sched_yield ();
32247 /* The GNU C library defines this for functions which it implements
32248 to always fail with ENOSYS. Some functions are actually named
32249 something starting with __ and the normal name is an alias. */
32250 #if defined (__stub_sched_yield) || defined (__stub___sched_yield)
32253 char (*f) () = sched_yield;
32262 return f != sched_yield;
32267 rm -f conftest.
$ac_objext conftest
$ac_exeext
32268 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32269 (eval $ac_link) 2>conftest.er1
32271 grep -v '^ *+' conftest.er1
>conftest.err
32273 cat conftest.err
>&5
32274 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32275 (exit $ac_status); } &&
32276 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
32277 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32278 (eval $ac_try) 2>&5
32280 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32281 (exit $ac_status); }; } &&
32282 { ac_try
='test -s conftest$ac_exeext'
32283 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32284 (eval $ac_try) 2>&5
32286 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32287 (exit $ac_status); }; }; then
32288 ac_cv_func_sched_yield
=yes
32290 echo "$as_me: failed program was:" >&5
32291 sed 's/^/| /' conftest.
$ac_ext >&5
32293 ac_cv_func_sched_yield
=no
32295 rm -f conftest.err conftest.
$ac_objext \
32296 conftest
$ac_exeext conftest.
$ac_ext
32298 echo "$as_me:$LINENO: result: $ac_cv_func_sched_yield" >&5
32299 echo "${ECHO_T}$ac_cv_func_sched_yield" >&6
32300 if test $ac_cv_func_sched_yield = yes; then
32301 cat >>confdefs.h
<<\_ACEOF
32302 #define HAVE_SCHED_YIELD 1
32307 echo "$as_me:$LINENO: checking for sched_yield in -lposix4" >&5
32308 echo $ECHO_N "checking for sched_yield in -lposix4... $ECHO_C" >&6
32309 if test "${ac_cv_lib_posix4_sched_yield+set}" = set; then
32310 echo $ECHO_N "(cached) $ECHO_C" >&6
32312 ac_check_lib_save_LIBS
=$LIBS
32313 LIBS
="-lposix4 $LIBS"
32314 cat >conftest.
$ac_ext <<_ACEOF
32317 cat confdefs.h
>>conftest.
$ac_ext
32318 cat >>conftest.
$ac_ext <<_ACEOF
32319 /* end confdefs.h. */
32321 /* Override any gcc2 internal prototype to avoid an error. */
32325 /* We use char because int might match the return type of a gcc2
32326 builtin and then its argument prototype would still apply. */
32327 char sched_yield ();
32336 rm -f conftest.
$ac_objext conftest
$ac_exeext
32337 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32338 (eval $ac_link) 2>conftest.er1
32340 grep -v '^ *+' conftest.er1
>conftest.err
32342 cat conftest.err
>&5
32343 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32344 (exit $ac_status); } &&
32345 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
32346 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32347 (eval $ac_try) 2>&5
32349 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32350 (exit $ac_status); }; } &&
32351 { ac_try
='test -s conftest$ac_exeext'
32352 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32353 (eval $ac_try) 2>&5
32355 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32356 (exit $ac_status); }; }; then
32357 ac_cv_lib_posix4_sched_yield
=yes
32359 echo "$as_me: failed program was:" >&5
32360 sed 's/^/| /' conftest.
$ac_ext >&5
32362 ac_cv_lib_posix4_sched_yield
=no
32364 rm -f conftest.err conftest.
$ac_objext \
32365 conftest
$ac_exeext conftest.
$ac_ext
32366 LIBS
=$ac_check_lib_save_LIBS
32368 echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_sched_yield" >&5
32369 echo "${ECHO_T}$ac_cv_lib_posix4_sched_yield" >&6
32370 if test $ac_cv_lib_posix4_sched_yield = yes; then
32371 cat >>confdefs.h
<<\_ACEOF
32372 #define HAVE_SCHED_YIELD 1
32374 POSIX4_LINK
=" -lposix4"
32376 { echo "$as_me:$LINENO: WARNING: wxThread::Yield will not work properly" >&5
32377 echo "$as_me: WARNING: wxThread::Yield will not work properly" >&2;}
32388 echo "$as_me:$LINENO: checking for pthread_attr_getschedpolicy" >&5
32389 echo $ECHO_N "checking for pthread_attr_getschedpolicy... $ECHO_C" >&6
32390 if test "${ac_cv_func_pthread_attr_getschedpolicy+set}" = set; then
32391 echo $ECHO_N "(cached) $ECHO_C" >&6
32393 cat >conftest.
$ac_ext <<_ACEOF
32396 cat confdefs.h
>>conftest.
$ac_ext
32397 cat >>conftest.
$ac_ext <<_ACEOF
32398 /* end confdefs.h. */
32399 /* Define pthread_attr_getschedpolicy to an innocuous variant, in case <limits.h> declares pthread_attr_getschedpolicy.
32400 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32401 #define pthread_attr_getschedpolicy innocuous_pthread_attr_getschedpolicy
32403 /* System header to define __stub macros and hopefully few prototypes,
32404 which can conflict with char pthread_attr_getschedpolicy (); below.
32405 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32406 <limits.h> exists even on freestanding compilers. */
32409 # include <limits.h>
32411 # include <assert.h>
32414 #undef pthread_attr_getschedpolicy
32416 /* Override any gcc2 internal prototype to avoid an error. */
32421 /* We use char because int might match the return type of a gcc2
32422 builtin and then its argument prototype would still apply. */
32423 char pthread_attr_getschedpolicy ();
32424 /* The GNU C library defines this for functions which it implements
32425 to always fail with ENOSYS. Some functions are actually named
32426 something starting with __ and the normal name is an alias. */
32427 #if defined (__stub_pthread_attr_getschedpolicy) || defined (__stub___pthread_attr_getschedpolicy)
32430 char (*f) () = pthread_attr_getschedpolicy;
32439 return f != pthread_attr_getschedpolicy;
32444 rm -f conftest.
$ac_objext conftest
$ac_exeext
32445 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32446 (eval $ac_link) 2>conftest.er1
32448 grep -v '^ *+' conftest.er1
>conftest.err
32450 cat conftest.err
>&5
32451 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32452 (exit $ac_status); } &&
32453 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
32454 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32455 (eval $ac_try) 2>&5
32457 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32458 (exit $ac_status); }; } &&
32459 { ac_try
='test -s conftest$ac_exeext'
32460 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32461 (eval $ac_try) 2>&5
32463 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32464 (exit $ac_status); }; }; then
32465 ac_cv_func_pthread_attr_getschedpolicy
=yes
32467 echo "$as_me: failed program was:" >&5
32468 sed 's/^/| /' conftest.
$ac_ext >&5
32470 ac_cv_func_pthread_attr_getschedpolicy
=no
32472 rm -f conftest.err conftest.
$ac_objext \
32473 conftest
$ac_exeext conftest.
$ac_ext
32475 echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_getschedpolicy" >&5
32476 echo "${ECHO_T}$ac_cv_func_pthread_attr_getschedpolicy" >&6
32477 if test $ac_cv_func_pthread_attr_getschedpolicy = yes; then
32478 echo "$as_me:$LINENO: checking for pthread_attr_setschedparam" >&5
32479 echo $ECHO_N "checking for pthread_attr_setschedparam... $ECHO_C" >&6
32480 if test "${ac_cv_func_pthread_attr_setschedparam+set}" = set; then
32481 echo $ECHO_N "(cached) $ECHO_C" >&6
32483 cat >conftest.
$ac_ext <<_ACEOF
32486 cat confdefs.h
>>conftest.
$ac_ext
32487 cat >>conftest.
$ac_ext <<_ACEOF
32488 /* end confdefs.h. */
32489 /* Define pthread_attr_setschedparam to an innocuous variant, in case <limits.h> declares pthread_attr_setschedparam.
32490 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32491 #define pthread_attr_setschedparam innocuous_pthread_attr_setschedparam
32493 /* System header to define __stub macros and hopefully few prototypes,
32494 which can conflict with char pthread_attr_setschedparam (); below.
32495 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32496 <limits.h> exists even on freestanding compilers. */
32499 # include <limits.h>
32501 # include <assert.h>
32504 #undef pthread_attr_setschedparam
32506 /* Override any gcc2 internal prototype to avoid an error. */
32511 /* We use char because int might match the return type of a gcc2
32512 builtin and then its argument prototype would still apply. */
32513 char pthread_attr_setschedparam ();
32514 /* The GNU C library defines this for functions which it implements
32515 to always fail with ENOSYS. Some functions are actually named
32516 something starting with __ and the normal name is an alias. */
32517 #if defined (__stub_pthread_attr_setschedparam) || defined (__stub___pthread_attr_setschedparam)
32520 char (*f) () = pthread_attr_setschedparam;
32529 return f != pthread_attr_setschedparam;
32534 rm -f conftest.
$ac_objext conftest
$ac_exeext
32535 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32536 (eval $ac_link) 2>conftest.er1
32538 grep -v '^ *+' conftest.er1
>conftest.err
32540 cat conftest.err
>&5
32541 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32542 (exit $ac_status); } &&
32543 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
32544 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32545 (eval $ac_try) 2>&5
32547 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32548 (exit $ac_status); }; } &&
32549 { ac_try
='test -s conftest$ac_exeext'
32550 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32551 (eval $ac_try) 2>&5
32553 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32554 (exit $ac_status); }; }; then
32555 ac_cv_func_pthread_attr_setschedparam
=yes
32557 echo "$as_me: failed program was:" >&5
32558 sed 's/^/| /' conftest.
$ac_ext >&5
32560 ac_cv_func_pthread_attr_setschedparam
=no
32562 rm -f conftest.err conftest.
$ac_objext \
32563 conftest
$ac_exeext conftest.
$ac_ext
32565 echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_setschedparam" >&5
32566 echo "${ECHO_T}$ac_cv_func_pthread_attr_setschedparam" >&6
32567 if test $ac_cv_func_pthread_attr_setschedparam = yes; then
32568 echo "$as_me:$LINENO: checking for sched_get_priority_max" >&5
32569 echo $ECHO_N "checking for sched_get_priority_max... $ECHO_C" >&6
32570 if test "${ac_cv_func_sched_get_priority_max+set}" = set; then
32571 echo $ECHO_N "(cached) $ECHO_C" >&6
32573 cat >conftest.
$ac_ext <<_ACEOF
32576 cat confdefs.h
>>conftest.
$ac_ext
32577 cat >>conftest.
$ac_ext <<_ACEOF
32578 /* end confdefs.h. */
32579 /* Define sched_get_priority_max to an innocuous variant, in case <limits.h> declares sched_get_priority_max.
32580 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32581 #define sched_get_priority_max innocuous_sched_get_priority_max
32583 /* System header to define __stub macros and hopefully few prototypes,
32584 which can conflict with char sched_get_priority_max (); below.
32585 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32586 <limits.h> exists even on freestanding compilers. */
32589 # include <limits.h>
32591 # include <assert.h>
32594 #undef sched_get_priority_max
32596 /* Override any gcc2 internal prototype to avoid an error. */
32601 /* We use char because int might match the return type of a gcc2
32602 builtin and then its argument prototype would still apply. */
32603 char sched_get_priority_max ();
32604 /* The GNU C library defines this for functions which it implements
32605 to always fail with ENOSYS. Some functions are actually named
32606 something starting with __ and the normal name is an alias. */
32607 #if defined (__stub_sched_get_priority_max) || defined (__stub___sched_get_priority_max)
32610 char (*f) () = sched_get_priority_max;
32619 return f != sched_get_priority_max;
32624 rm -f conftest.
$ac_objext conftest
$ac_exeext
32625 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32626 (eval $ac_link) 2>conftest.er1
32628 grep -v '^ *+' conftest.er1
>conftest.err
32630 cat conftest.err
>&5
32631 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32632 (exit $ac_status); } &&
32633 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
32634 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32635 (eval $ac_try) 2>&5
32637 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32638 (exit $ac_status); }; } &&
32639 { ac_try
='test -s conftest$ac_exeext'
32640 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32641 (eval $ac_try) 2>&5
32643 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32644 (exit $ac_status); }; }; then
32645 ac_cv_func_sched_get_priority_max
=yes
32647 echo "$as_me: failed program was:" >&5
32648 sed 's/^/| /' conftest.
$ac_ext >&5
32650 ac_cv_func_sched_get_priority_max
=no
32652 rm -f conftest.err conftest.
$ac_objext \
32653 conftest
$ac_exeext conftest.
$ac_ext
32655 echo "$as_me:$LINENO: result: $ac_cv_func_sched_get_priority_max" >&5
32656 echo "${ECHO_T}$ac_cv_func_sched_get_priority_max" >&6
32657 if test $ac_cv_func_sched_get_priority_max = yes; then
32660 echo "$as_me:$LINENO: checking for sched_get_priority_max in -lposix4" >&5
32661 echo $ECHO_N "checking for sched_get_priority_max in -lposix4... $ECHO_C" >&6
32662 if test "${ac_cv_lib_posix4_sched_get_priority_max+set}" = set; then
32663 echo $ECHO_N "(cached) $ECHO_C" >&6
32665 ac_check_lib_save_LIBS
=$LIBS
32666 LIBS
="-lposix4 $LIBS"
32667 cat >conftest.
$ac_ext <<_ACEOF
32670 cat confdefs.h
>>conftest.
$ac_ext
32671 cat >>conftest.
$ac_ext <<_ACEOF
32672 /* end confdefs.h. */
32674 /* Override any gcc2 internal prototype to avoid an error. */
32678 /* We use char because int might match the return type of a gcc2
32679 builtin and then its argument prototype would still apply. */
32680 char sched_get_priority_max ();
32684 sched_get_priority_max ();
32689 rm -f conftest.
$ac_objext conftest
$ac_exeext
32690 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32691 (eval $ac_link) 2>conftest.er1
32693 grep -v '^ *+' conftest.er1
>conftest.err
32695 cat conftest.err
>&5
32696 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32697 (exit $ac_status); } &&
32698 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
32699 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32700 (eval $ac_try) 2>&5
32702 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32703 (exit $ac_status); }; } &&
32704 { ac_try
='test -s conftest$ac_exeext'
32705 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32706 (eval $ac_try) 2>&5
32708 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32709 (exit $ac_status); }; }; then
32710 ac_cv_lib_posix4_sched_get_priority_max
=yes
32712 echo "$as_me: failed program was:" >&5
32713 sed 's/^/| /' conftest.
$ac_ext >&5
32715 ac_cv_lib_posix4_sched_get_priority_max
=no
32717 rm -f conftest.err conftest.
$ac_objext \
32718 conftest
$ac_exeext conftest.
$ac_ext
32719 LIBS
=$ac_check_lib_save_LIBS
32721 echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_sched_get_priority_max" >&5
32722 echo "${ECHO_T}$ac_cv_lib_posix4_sched_get_priority_max" >&6
32723 if test $ac_cv_lib_posix4_sched_get_priority_max = yes; then
32726 POSIX4_LINK
=" -lposix4"
32740 if test "$HAVE_PRIOR_FUNCS" = 1; then
32741 cat >>confdefs.h
<<\_ACEOF
32742 #define HAVE_THREAD_PRIORITY_FUNCTIONS 1
32746 { echo "$as_me:$LINENO: WARNING: Setting thread priority will not work" >&5
32747 echo "$as_me: WARNING: Setting thread priority will not work" >&2;}
32750 echo "$as_me:$LINENO: checking for pthread_cancel" >&5
32751 echo $ECHO_N "checking for pthread_cancel... $ECHO_C" >&6
32752 if test "${ac_cv_func_pthread_cancel+set}" = set; then
32753 echo $ECHO_N "(cached) $ECHO_C" >&6
32755 cat >conftest.
$ac_ext <<_ACEOF
32758 cat confdefs.h
>>conftest.
$ac_ext
32759 cat >>conftest.
$ac_ext <<_ACEOF
32760 /* end confdefs.h. */
32761 /* Define pthread_cancel to an innocuous variant, in case <limits.h> declares pthread_cancel.
32762 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32763 #define pthread_cancel innocuous_pthread_cancel
32765 /* System header to define __stub macros and hopefully few prototypes,
32766 which can conflict with char pthread_cancel (); below.
32767 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32768 <limits.h> exists even on freestanding compilers. */
32771 # include <limits.h>
32773 # include <assert.h>
32776 #undef pthread_cancel
32778 /* Override any gcc2 internal prototype to avoid an error. */
32783 /* We use char because int might match the return type of a gcc2
32784 builtin and then its argument prototype would still apply. */
32785 char pthread_cancel ();
32786 /* The GNU C library defines this for functions which it implements
32787 to always fail with ENOSYS. Some functions are actually named
32788 something starting with __ and the normal name is an alias. */
32789 #if defined (__stub_pthread_cancel) || defined (__stub___pthread_cancel)
32792 char (*f) () = pthread_cancel;
32801 return f != pthread_cancel;
32806 rm -f conftest.
$ac_objext conftest
$ac_exeext
32807 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32808 (eval $ac_link) 2>conftest.er1
32810 grep -v '^ *+' conftest.er1
>conftest.err
32812 cat conftest.err
>&5
32813 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32814 (exit $ac_status); } &&
32815 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
32816 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32817 (eval $ac_try) 2>&5
32819 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32820 (exit $ac_status); }; } &&
32821 { ac_try
='test -s conftest$ac_exeext'
32822 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32823 (eval $ac_try) 2>&5
32825 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32826 (exit $ac_status); }; }; then
32827 ac_cv_func_pthread_cancel
=yes
32829 echo "$as_me: failed program was:" >&5
32830 sed 's/^/| /' conftest.
$ac_ext >&5
32832 ac_cv_func_pthread_cancel
=no
32834 rm -f conftest.err conftest.
$ac_objext \
32835 conftest
$ac_exeext conftest.
$ac_ext
32837 echo "$as_me:$LINENO: result: $ac_cv_func_pthread_cancel" >&5
32838 echo "${ECHO_T}$ac_cv_func_pthread_cancel" >&6
32839 if test $ac_cv_func_pthread_cancel = yes; then
32840 cat >>confdefs.h
<<\_ACEOF
32841 #define HAVE_PTHREAD_CANCEL 1
32845 { echo "$as_me:$LINENO: WARNING: wxThread::Kill() will not work properly" >&5
32846 echo "$as_me: WARNING: wxThread::Kill() will not work properly" >&2;}
32852 echo "$as_me:$LINENO: checking for pthread_mutexattr_t" >&5
32853 echo $ECHO_N "checking for pthread_mutexattr_t... $ECHO_C" >&6
32854 if test "${wx_cv_type_pthread_mutexattr_t+set}" = set; then
32855 echo $ECHO_N "(cached) $ECHO_C" >&6
32858 cat >conftest.
$ac_ext <<_ACEOF
32861 cat confdefs.h
>>conftest.
$ac_ext
32862 cat >>conftest.
$ac_ext <<_ACEOF
32863 /* end confdefs.h. */
32864 #include <pthread.h>
32869 pthread_mutexattr_t attr;
32870 pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE);
32876 rm -f conftest.
$ac_objext
32877 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32878 (eval $ac_compile) 2>conftest.er1
32880 grep -v '^ *+' conftest.er1
>conftest.err
32882 cat conftest.err
>&5
32883 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32884 (exit $ac_status); } &&
32885 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
32886 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32887 (eval $ac_try) 2>&5
32889 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32890 (exit $ac_status); }; } &&
32891 { ac_try
='test -s conftest.$ac_objext'
32892 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32893 (eval $ac_try) 2>&5
32895 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32896 (exit $ac_status); }; }; then
32898 wx_cv_type_pthread_mutexattr_t
=yes
32901 echo "$as_me: failed program was:" >&5
32902 sed 's/^/| /' conftest.
$ac_ext >&5
32905 wx_cv_type_pthread_mutexattr_t
=no
32909 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
32912 echo "$as_me:$LINENO: result: $wx_cv_type_pthread_mutexattr_t" >&5
32913 echo "${ECHO_T}$wx_cv_type_pthread_mutexattr_t" >&6
32915 if test "$wx_cv_type_pthread_mutexattr_t" = "yes"; then
32916 cat >>confdefs.h
<<\_ACEOF
32917 #define HAVE_PTHREAD_MUTEXATTR_T 1
32921 echo "$as_me:$LINENO: checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER" >&5
32922 echo $ECHO_N "checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER... $ECHO_C" >&6
32923 if test "${wx_cv_type_pthread_rec_mutex_init+set}" = set; then
32924 echo $ECHO_N "(cached) $ECHO_C" >&6
32927 cat >conftest.
$ac_ext <<_ACEOF
32930 cat confdefs.h
>>conftest.
$ac_ext
32931 cat >>conftest.
$ac_ext <<_ACEOF
32932 /* end confdefs.h. */
32933 #include <pthread.h>
32938 pthread_mutex_t attr = PTHREAD_RECURSIVE_MUTEX_INITIALIZER_NP;
32944 rm -f conftest.
$ac_objext
32945 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32946 (eval $ac_compile) 2>conftest.er1
32948 grep -v '^ *+' conftest.er1
>conftest.err
32950 cat conftest.err
>&5
32951 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32952 (exit $ac_status); } &&
32953 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
32954 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32955 (eval $ac_try) 2>&5
32957 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32958 (exit $ac_status); }; } &&
32959 { ac_try
='test -s conftest.$ac_objext'
32960 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32961 (eval $ac_try) 2>&5
32963 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32964 (exit $ac_status); }; }; then
32966 wx_cv_type_pthread_rec_mutex_init
=yes
32969 echo "$as_me: failed program was:" >&5
32970 sed 's/^/| /' conftest.
$ac_ext >&5
32973 wx_cv_type_pthread_rec_mutex_init
=no
32977 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
32980 echo "$as_me:$LINENO: result: $wx_cv_type_pthread_rec_mutex_init" >&5
32981 echo "${ECHO_T}$wx_cv_type_pthread_rec_mutex_init" >&6
32982 if test "$wx_cv_type_pthread_rec_mutex_init" = "yes"; then
32983 cat >>confdefs.h
<<\_ACEOF
32984 #define HAVE_PTHREAD_RECURSIVE_MUTEX_INITIALIZER 1
32988 { echo "$as_me:$LINENO: WARNING: wxMutex won't be recursive on this platform" >&5
32989 echo "$as_me: WARNING: wxMutex won't be recursive on this platform" >&2;}
32995 if test "$wxUSE_THREADS" = "yes" ; then
32998 echo "$as_me:$LINENO: checking if compiler supports -mthreads" >&5
32999 echo $ECHO_N "checking if compiler supports -mthreads... $ECHO_C" >&6
33000 if test "${wx_cv_cflags_mthread+set}" = set; then
33001 echo $ECHO_N "(cached) $ECHO_C" >&6
33004 CFLAGS_OLD
="$CFLAGS"
33005 CFLAGS
="$CFLAGS -mthreads"
33006 cat >conftest.
$ac_ext <<_ACEOF
33009 cat confdefs.h
>>conftest.
$ac_ext
33010 cat >>conftest.
$ac_ext <<_ACEOF
33011 /* end confdefs.h. */
33021 rm -f conftest.
$ac_objext
33022 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33023 (eval $ac_compile) 2>conftest.er1
33025 grep -v '^ *+' conftest.er1
>conftest.err
33027 cat conftest.err
>&5
33028 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33029 (exit $ac_status); } &&
33030 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
33031 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33032 (eval $ac_try) 2>&5
33034 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33035 (exit $ac_status); }; } &&
33036 { ac_try
='test -s conftest.$ac_objext'
33037 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33038 (eval $ac_try) 2>&5
33040 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33041 (exit $ac_status); }; }; then
33042 wx_cv_cflags_mthread
=yes
33044 echo "$as_me: failed program was:" >&5
33045 sed 's/^/| /' conftest.
$ac_ext >&5
33047 wx_cv_cflags_mthread
=no
33050 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
33054 echo "$as_me:$LINENO: result: $wx_cv_cflags_mthread" >&5
33055 echo "${ECHO_T}$wx_cv_cflags_mthread" >&6
33057 if test "$wx_cv_cflags_mthread" = "yes"; then
33058 CXXFLAGS
="$CXXFLAGS -mthreads"
33059 TOOLCHAIN_DEFS
="$TOOLCHAIN_DEFS -mthreads"
33060 LDFLAGS
="$LDFLAGS -mthreads"
33062 CFLAGS
="$CFLAGS_OLD"
33066 CFLAGS
="$CFLAGS -Zmt -D__ST_MT_ERRNO__"
33067 CXXFLAGS
="$CXXFLAGS -Zmt -D__ST_MT_ERRNO__"
33068 LDFLAGS
="$LDFLAGS -Zmt"
33074 if test "$wxUSE_THREADS" = "yes"; then
33075 cat >>confdefs.h
<<\_ACEOF
33076 #define wxUSE_THREADS 1
33080 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS thread"
33082 if test "$ac_cv_func_strtok_r" = "yes"; then
33083 echo "$as_me:$LINENO: checking if -D_REENTRANT is needed" >&5
33084 echo $ECHO_N "checking if -D_REENTRANT is needed... $ECHO_C" >&6
33085 if test "$NEEDS_D_REENTRANT_FOR_R_FUNCS" = 1; then
33086 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -D_REENTRANT"
33087 echo "$as_me:$LINENO: result: yes" >&5
33088 echo "${ECHO_T}yes" >&6
33090 echo "$as_me:$LINENO: result: no" >&5
33091 echo "${ECHO_T}no" >&6
33096 if test "$WXGTK20" = 1 ; then
33097 cat >>confdefs.h
<<_ACEOF
33098 #define __WXGTK20__ $WXGTK20
33104 if test "$WXGTK12" = 1 ; then
33105 cat >>confdefs.h
<<_ACEOF
33106 #define __WXGTK12__ $WXGTK12
33111 if test "$WXGTK127" = 1 ; then
33112 cat >>confdefs.h
<<_ACEOF
33113 #define __WXGTK127__ $WXGTK127
33118 if test "$WXGPE" = 1 ; then
33119 cat >>confdefs.h
<<_ACEOF
33120 #define __WXGPE__ $WXGPE
33127 if test "$wxUSE_DEBUG_INFO" = "yes" ; then
33132 if test "$wxUSE_DEBUG_GDB" = "yes" ; then
33133 wxUSE_DEBUG_INFO
=yes
33137 if test "$wxUSE_DEBUG_FLAG" = "yes" ; then
33138 cat >>confdefs.h
<<\_ACEOF
33142 WXDEBUG_DEFINE
="-D__WXDEBUG__"
33144 if test "$wxUSE_GTK" = 1 ; then
33145 WXDEBUG_DEFINE
="-DGTK_NO_CHECK_CASTS"
33149 if test "$wxUSE_MEM_TRACING" = "yes" ; then
33150 cat >>confdefs.h
<<\_ACEOF
33151 #define wxUSE_MEMORY_TRACING 1
33154 cat >>confdefs.h
<<\_ACEOF
33155 #define wxUSE_GLOBAL_MEMORY_OPERATORS 1
33158 cat >>confdefs.h
<<\_ACEOF
33159 #define wxUSE_DEBUG_NEW_ALWAYS 1
33162 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS memcheck"
33165 if test "$wxUSE_DMALLOC" = "yes" ; then
33166 DMALLOC_LIBS
="-ldmalloc"
33170 if test "$wxUSE_PROFILE" = "yes" ; then
33175 CODE_GEN_FLAGS_CXX
=
33176 if test "$GCC" = "yes" ; then
33177 if test "$wxUSE_NO_RTTI" = "yes" ; then
33178 CODE_GEN_FLAGS_CXX
="$CODE_GEN_FLAGS_CXX -fno-rtti"
33180 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
33181 CODE_GEN_FLAGS_CXX
="$CODE_GEN_FLAGS_CXX -fno-exceptions"
33183 if test "$wxUSE_PERMISSIVE" = "yes" ; then
33184 CODE_GEN_FLAGS
="$CODE_GEN_FLAGS -fpermissive"
33189 CODE_GEN_FLAGS
="$CODE_GEN_FLAGS -mminimal-toc"
33192 CODE_GEN_FLAGS
="$CODE_GEN_FLAGS -ffunction-sections"
33198 if test "$wxUSE_OPTIMISE" = "no" ; then
33199 if test "$GCC" = yes ; then
33203 if test "$GCC" = yes ; then
33207 i586
-*-*|i686
-*-* )
33208 OPTIMISE
="${OPTIMISE} "
33217 if test "x$WXWIN_COMPATIBILITY_2_2" = "xyes"; then
33218 cat >>confdefs.h
<<\_ACEOF
33219 #define WXWIN_COMPATIBILITY_2_2 1
33223 WXWIN_COMPATIBILITY_2_4
="yes"
33226 if test "x$WXWIN_COMPATIBILITY_2_4" != "xno"; then
33227 cat >>confdefs.h
<<\_ACEOF
33228 #define WXWIN_COMPATIBILITY_2_4 1
33234 if test "$wxUSE_GUI" = "yes"; then
33235 cat >>confdefs.h
<<\_ACEOF
33236 #define wxUSE_GUI 1
33241 cat >>confdefs.h
<<\_ACEOF
33242 #define wxUSE_NOGUI 1
33248 if test "$wxUSE_UNIX" = "yes"; then
33249 cat >>confdefs.h
<<\_ACEOF
33250 #define wxUSE_UNIX 1
33256 if test "$TOOLKIT" != "MSW" -a "$USE_OS2" != 1; then
33260 if test "$wxUSE_DYNAMIC_LOADER" = "yes" -o "$wxUSE_DYNLIB_CLASS" = "yes" ; then
33261 if test "$USE_DARWIN" = 1; then
33265 for ac_func
in dlopen
33267 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33268 echo "$as_me:$LINENO: checking for $ac_func" >&5
33269 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33270 if eval "test \"\${$as_ac_var+set}\" = set"; then
33271 echo $ECHO_N "(cached) $ECHO_C" >&6
33273 cat >conftest.
$ac_ext <<_ACEOF
33276 cat confdefs.h
>>conftest.
$ac_ext
33277 cat >>conftest.
$ac_ext <<_ACEOF
33278 /* end confdefs.h. */
33279 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
33280 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33281 #define $ac_func innocuous_$ac_func
33283 /* System header to define __stub macros and hopefully few prototypes,
33284 which can conflict with char $ac_func (); below.
33285 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33286 <limits.h> exists even on freestanding compilers. */
33289 # include <limits.h>
33291 # include <assert.h>
33296 /* Override any gcc2 internal prototype to avoid an error. */
33301 /* We use char because int might match the return type of a gcc2
33302 builtin and then its argument prototype would still apply. */
33304 /* The GNU C library defines this for functions which it implements
33305 to always fail with ENOSYS. Some functions are actually named
33306 something starting with __ and the normal name is an alias. */
33307 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33310 char (*f) () = $ac_func;
33319 return f != $ac_func;
33324 rm -f conftest.
$ac_objext conftest
$ac_exeext
33325 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33326 (eval $ac_link) 2>conftest.er1
33328 grep -v '^ *+' conftest.er1
>conftest.err
33330 cat conftest.err
>&5
33331 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33332 (exit $ac_status); } &&
33333 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
33334 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33335 (eval $ac_try) 2>&5
33337 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33338 (exit $ac_status); }; } &&
33339 { ac_try
='test -s conftest$ac_exeext'
33340 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33341 (eval $ac_try) 2>&5
33343 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33344 (exit $ac_status); }; }; then
33345 eval "$as_ac_var=yes"
33347 echo "$as_me: failed program was:" >&5
33348 sed 's/^/| /' conftest.
$ac_ext >&5
33350 eval "$as_ac_var=no"
33352 rm -f conftest.err conftest.
$ac_objext \
33353 conftest
$ac_exeext conftest.
$ac_ext
33355 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33356 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33357 if test `eval echo '${'$as_ac_var'}'` = yes; then
33358 cat >>confdefs.h
<<_ACEOF
33359 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33362 cat >>confdefs.h
<<\_ACEOF
33363 #define HAVE_DLOPEN 1
33370 echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
33371 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
33372 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
33373 echo $ECHO_N "(cached) $ECHO_C" >&6
33375 ac_check_lib_save_LIBS
=$LIBS
33377 cat >conftest.
$ac_ext <<_ACEOF
33380 cat confdefs.h
>>conftest.
$ac_ext
33381 cat >>conftest.
$ac_ext <<_ACEOF
33382 /* end confdefs.h. */
33384 /* Override any gcc2 internal prototype to avoid an error. */
33388 /* We use char because int might match the return type of a gcc2
33389 builtin and then its argument prototype would still apply. */
33399 rm -f conftest.
$ac_objext conftest
$ac_exeext
33400 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33401 (eval $ac_link) 2>conftest.er1
33403 grep -v '^ *+' conftest.er1
>conftest.err
33405 cat conftest.err
>&5
33406 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33407 (exit $ac_status); } &&
33408 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
33409 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33410 (eval $ac_try) 2>&5
33412 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33413 (exit $ac_status); }; } &&
33414 { ac_try
='test -s conftest$ac_exeext'
33415 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33416 (eval $ac_try) 2>&5
33418 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33419 (exit $ac_status); }; }; then
33420 ac_cv_lib_dl_dlopen
=yes
33422 echo "$as_me: failed program was:" >&5
33423 sed 's/^/| /' conftest.
$ac_ext >&5
33425 ac_cv_lib_dl_dlopen
=no
33427 rm -f conftest.err conftest.
$ac_objext \
33428 conftest
$ac_exeext conftest.
$ac_ext
33429 LIBS
=$ac_check_lib_save_LIBS
33431 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
33432 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
33433 if test $ac_cv_lib_dl_dlopen = yes; then
33435 cat >>confdefs.h
<<\_ACEOF
33436 #define HAVE_DLOPEN 1
33440 DL_LINK
=" -ldl$DL_LINK"
33445 for ac_func
in shl_load
33447 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33448 echo "$as_me:$LINENO: checking for $ac_func" >&5
33449 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33450 if eval "test \"\${$as_ac_var+set}\" = set"; then
33451 echo $ECHO_N "(cached) $ECHO_C" >&6
33453 cat >conftest.
$ac_ext <<_ACEOF
33456 cat confdefs.h
>>conftest.
$ac_ext
33457 cat >>conftest.
$ac_ext <<_ACEOF
33458 /* end confdefs.h. */
33459 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
33460 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33461 #define $ac_func innocuous_$ac_func
33463 /* System header to define __stub macros and hopefully few prototypes,
33464 which can conflict with char $ac_func (); below.
33465 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33466 <limits.h> exists even on freestanding compilers. */
33469 # include <limits.h>
33471 # include <assert.h>
33476 /* Override any gcc2 internal prototype to avoid an error. */
33481 /* We use char because int might match the return type of a gcc2
33482 builtin and then its argument prototype would still apply. */
33484 /* The GNU C library defines this for functions which it implements
33485 to always fail with ENOSYS. Some functions are actually named
33486 something starting with __ and the normal name is an alias. */
33487 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33490 char (*f) () = $ac_func;
33499 return f != $ac_func;
33504 rm -f conftest.
$ac_objext conftest
$ac_exeext
33505 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33506 (eval $ac_link) 2>conftest.er1
33508 grep -v '^ *+' conftest.er1
>conftest.err
33510 cat conftest.err
>&5
33511 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33512 (exit $ac_status); } &&
33513 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
33514 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33515 (eval $ac_try) 2>&5
33517 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33518 (exit $ac_status); }; } &&
33519 { ac_try
='test -s conftest$ac_exeext'
33520 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33521 (eval $ac_try) 2>&5
33523 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33524 (exit $ac_status); }; }; then
33525 eval "$as_ac_var=yes"
33527 echo "$as_me: failed program was:" >&5
33528 sed 's/^/| /' conftest.
$ac_ext >&5
33530 eval "$as_ac_var=no"
33532 rm -f conftest.err conftest.
$ac_objext \
33533 conftest
$ac_exeext conftest.
$ac_ext
33535 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33536 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33537 if test `eval echo '${'$as_ac_var'}'` = yes; then
33538 cat >>confdefs.h
<<_ACEOF
33539 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33542 cat >>confdefs.h
<<\_ACEOF
33543 #define HAVE_SHL_LOAD 1
33550 echo "$as_me:$LINENO: checking for dld in -lshl_load" >&5
33551 echo $ECHO_N "checking for dld in -lshl_load... $ECHO_C" >&6
33552 if test "${ac_cv_lib_shl_load_dld+set}" = set; then
33553 echo $ECHO_N "(cached) $ECHO_C" >&6
33555 ac_check_lib_save_LIBS
=$LIBS
33556 LIBS
="-lshl_load $LIBS"
33557 cat >conftest.
$ac_ext <<_ACEOF
33560 cat confdefs.h
>>conftest.
$ac_ext
33561 cat >>conftest.
$ac_ext <<_ACEOF
33562 /* end confdefs.h. */
33564 /* Override any gcc2 internal prototype to avoid an error. */
33568 /* We use char because int might match the return type of a gcc2
33569 builtin and then its argument prototype would still apply. */
33579 rm -f conftest.
$ac_objext conftest
$ac_exeext
33580 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33581 (eval $ac_link) 2>conftest.er1
33583 grep -v '^ *+' conftest.er1
>conftest.err
33585 cat conftest.err
>&5
33586 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33587 (exit $ac_status); } &&
33588 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
33589 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33590 (eval $ac_try) 2>&5
33592 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33593 (exit $ac_status); }; } &&
33594 { ac_try
='test -s conftest$ac_exeext'
33595 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33596 (eval $ac_try) 2>&5
33598 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33599 (exit $ac_status); }; }; then
33600 ac_cv_lib_shl_load_dld
=yes
33602 echo "$as_me: failed program was:" >&5
33603 sed 's/^/| /' conftest.
$ac_ext >&5
33605 ac_cv_lib_shl_load_dld
=no
33607 rm -f conftest.err conftest.
$ac_objext \
33608 conftest
$ac_exeext conftest.
$ac_ext
33609 LIBS
=$ac_check_lib_save_LIBS
33611 echo "$as_me:$LINENO: result: $ac_cv_lib_shl_load_dld" >&5
33612 echo "${ECHO_T}$ac_cv_lib_shl_load_dld" >&6
33613 if test $ac_cv_lib_shl_load_dld = yes; then
33616 DL_LINK
=" -ldld$DL_LINK"
33632 if test "$HAVE_DL_FUNCS" = 1; then
33634 for ac_func
in dlerror
33636 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33637 echo "$as_me:$LINENO: checking for $ac_func" >&5
33638 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33639 if eval "test \"\${$as_ac_var+set}\" = set"; then
33640 echo $ECHO_N "(cached) $ECHO_C" >&6
33642 cat >conftest.
$ac_ext <<_ACEOF
33645 cat confdefs.h
>>conftest.
$ac_ext
33646 cat >>conftest.
$ac_ext <<_ACEOF
33647 /* end confdefs.h. */
33648 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
33649 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33650 #define $ac_func innocuous_$ac_func
33652 /* System header to define __stub macros and hopefully few prototypes,
33653 which can conflict with char $ac_func (); below.
33654 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33655 <limits.h> exists even on freestanding compilers. */
33658 # include <limits.h>
33660 # include <assert.h>
33665 /* Override any gcc2 internal prototype to avoid an error. */
33670 /* We use char because int might match the return type of a gcc2
33671 builtin and then its argument prototype would still apply. */
33673 /* The GNU C library defines this for functions which it implements
33674 to always fail with ENOSYS. Some functions are actually named
33675 something starting with __ and the normal name is an alias. */
33676 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33679 char (*f) () = $ac_func;
33688 return f != $ac_func;
33693 rm -f conftest.
$ac_objext conftest
$ac_exeext
33694 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33695 (eval $ac_link) 2>conftest.er1
33697 grep -v '^ *+' conftest.er1
>conftest.err
33699 cat conftest.err
>&5
33700 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33701 (exit $ac_status); } &&
33702 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
33703 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33704 (eval $ac_try) 2>&5
33706 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33707 (exit $ac_status); }; } &&
33708 { ac_try
='test -s conftest$ac_exeext'
33709 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33710 (eval $ac_try) 2>&5
33712 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33713 (exit $ac_status); }; }; then
33714 eval "$as_ac_var=yes"
33716 echo "$as_me: failed program was:" >&5
33717 sed 's/^/| /' conftest.
$ac_ext >&5
33719 eval "$as_ac_var=no"
33721 rm -f conftest.err conftest.
$ac_objext \
33722 conftest
$ac_exeext conftest.
$ac_ext
33724 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33725 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33726 if test `eval echo '${'$as_ac_var'}'` = yes; then
33727 cat >>confdefs.h
<<_ACEOF
33728 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33730 cat >>confdefs.h
<<\_ACEOF
33731 #define HAVE_DLERROR 1
33736 echo "$as_me:$LINENO: checking for dlerror in -ldl" >&5
33737 echo $ECHO_N "checking for dlerror in -ldl... $ECHO_C" >&6
33738 if test "${ac_cv_lib_dl_dlerror+set}" = set; then
33739 echo $ECHO_N "(cached) $ECHO_C" >&6
33741 ac_check_lib_save_LIBS
=$LIBS
33743 cat >conftest.
$ac_ext <<_ACEOF
33746 cat confdefs.h
>>conftest.
$ac_ext
33747 cat >>conftest.
$ac_ext <<_ACEOF
33748 /* end confdefs.h. */
33750 /* Override any gcc2 internal prototype to avoid an error. */
33754 /* We use char because int might match the return type of a gcc2
33755 builtin and then its argument prototype would still apply. */
33765 rm -f conftest.
$ac_objext conftest
$ac_exeext
33766 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33767 (eval $ac_link) 2>conftest.er1
33769 grep -v '^ *+' conftest.er1
>conftest.err
33771 cat conftest.err
>&5
33772 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33773 (exit $ac_status); } &&
33774 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
33775 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33776 (eval $ac_try) 2>&5
33778 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33779 (exit $ac_status); }; } &&
33780 { ac_try
='test -s conftest$ac_exeext'
33781 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33782 (eval $ac_try) 2>&5
33784 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33785 (exit $ac_status); }; }; then
33786 ac_cv_lib_dl_dlerror
=yes
33788 echo "$as_me: failed program was:" >&5
33789 sed 's/^/| /' conftest.
$ac_ext >&5
33791 ac_cv_lib_dl_dlerror
=no
33793 rm -f conftest.err conftest.
$ac_objext \
33794 conftest
$ac_exeext conftest.
$ac_ext
33795 LIBS
=$ac_check_lib_save_LIBS
33797 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlerror" >&5
33798 echo "${ECHO_T}$ac_cv_lib_dl_dlerror" >&6
33799 if test $ac_cv_lib_dl_dlerror = yes; then
33800 cat >>confdefs.h
<<\_ACEOF
33801 #define HAVE_DLERROR 1
33814 if test "$HAVE_DL_FUNCS" = 0; then
33815 if test "$HAVE_SHL_FUNCS" = 0; then
33816 if test "$USE_UNIX" = 1; then
33817 { echo "$as_me:$LINENO: WARNING: Missing dynamic loading support, several features will be disabled" >&5
33818 echo "$as_me: WARNING: Missing dynamic loading support, several features will be disabled" >&2;}
33819 wxUSE_DYNAMIC_LOADER
=no
33820 wxUSE_DYNLIB_CLASS
=no
33822 { echo "$as_me:$LINENO: WARNING: Assuming wxLibrary class works on this platform" >&5
33823 echo "$as_me: WARNING: Assuming wxLibrary class works on this platform" >&2;}
33830 if test "$wxUSE_DYNAMIC_LOADER" = "yes" ; then
33831 cat >>confdefs.h
<<\_ACEOF
33832 #define wxUSE_DYNAMIC_LOADER 1
33836 if test "$wxUSE_DYNLIB_CLASS" = "yes" ; then
33837 cat >>confdefs.h
<<\_ACEOF
33838 #define wxUSE_DYNLIB_CLASS 1
33845 if test "$wxUSE_PLUGINS" = "yes" ; then
33846 if test "$wxUSE_SHARED" = "no" ; then
33847 { echo "$as_me:$LINENO: WARNING: plugins supported only in shared build, disabling" >&5
33848 echo "$as_me: WARNING: plugins supported only in shared build, disabling" >&2;}
33851 if test "$wxUSE_MONOLITHIC" = "yes" ; then
33852 { echo "$as_me:$LINENO: WARNING: plugins not supported monolithic build, disabling" >&5
33853 echo "$as_me: WARNING: plugins not supported monolithic build, disabling" >&2;}
33856 if test "$wxUSE_DYNLIB_CLASS" = "no" ; then
33857 { echo "$as_me:$LINENO: WARNING: plugins require wxDynamicLibrary, disabling" >&5
33858 echo "$as_me: WARNING: plugins require wxDynamicLibrary, disabling" >&2;}
33861 if test "$wxUSE_PLUGINS" = "yes" ; then
33862 cat >>confdefs.h
<<\_ACEOF
33863 #define wxUSE_PLUGINS 1
33870 if test "$wxUSE_STL" = "yes"; then
33871 cat >>confdefs.h
<<\_ACEOF
33872 #define wxUSE_STL 1
33877 if test "$wxUSE_APPLE_IEEE" = "yes"; then
33878 cat >>confdefs.h
<<\_ACEOF
33879 #define wxUSE_APPLE_IEEE 1
33884 if test "$wxUSE_TIMER" = "yes"; then
33885 cat >>confdefs.h
<<\_ACEOF
33886 #define wxUSE_TIMER 1
33892 if test "$wxUSE_SOUND" = "yes"; then
33893 if test "$USE_UNIX" = "1" ; then
33895 for ac_header
in sys
/soundcard.h
33897 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
33898 if eval "test \"\${$as_ac_Header+set}\" = set"; then
33899 echo "$as_me:$LINENO: checking for $ac_header" >&5
33900 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
33901 if eval "test \"\${$as_ac_Header+set}\" = set"; then
33902 echo $ECHO_N "(cached) $ECHO_C" >&6
33904 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
33905 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
33907 # Is the header compilable?
33908 echo "$as_me:$LINENO: checking $ac_header usability" >&5
33909 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
33910 cat >conftest.
$ac_ext <<_ACEOF
33913 cat confdefs.h
>>conftest.
$ac_ext
33914 cat >>conftest.
$ac_ext <<_ACEOF
33915 /* end confdefs.h. */
33916 $ac_includes_default
33917 #include <$ac_header>
33919 rm -f conftest.
$ac_objext
33920 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33921 (eval $ac_compile) 2>conftest.er1
33923 grep -v '^ *+' conftest.er1
>conftest.err
33925 cat conftest.err
>&5
33926 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33927 (exit $ac_status); } &&
33928 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
33929 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33930 (eval $ac_try) 2>&5
33932 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33933 (exit $ac_status); }; } &&
33934 { ac_try
='test -s conftest.$ac_objext'
33935 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33936 (eval $ac_try) 2>&5
33938 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33939 (exit $ac_status); }; }; then
33940 ac_header_compiler
=yes
33942 echo "$as_me: failed program was:" >&5
33943 sed 's/^/| /' conftest.
$ac_ext >&5
33945 ac_header_compiler
=no
33947 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
33948 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
33949 echo "${ECHO_T}$ac_header_compiler" >&6
33951 # Is the header present?
33952 echo "$as_me:$LINENO: checking $ac_header presence" >&5
33953 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
33954 cat >conftest.
$ac_ext <<_ACEOF
33957 cat confdefs.h
>>conftest.
$ac_ext
33958 cat >>conftest.
$ac_ext <<_ACEOF
33959 /* end confdefs.h. */
33960 #include <$ac_header>
33962 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
33963 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
33965 grep -v '^ *+' conftest.er1
>conftest.err
33967 cat conftest.err
>&5
33968 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33969 (exit $ac_status); } >/dev
/null
; then
33970 if test -s conftest.err
; then
33971 ac_cpp_err
=$ac_c_preproc_warn_flag
33972 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
33979 if test -z "$ac_cpp_err"; then
33980 ac_header_preproc
=yes
33982 echo "$as_me: failed program was:" >&5
33983 sed 's/^/| /' conftest.
$ac_ext >&5
33985 ac_header_preproc
=no
33987 rm -f conftest.err conftest.
$ac_ext
33988 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
33989 echo "${ECHO_T}$ac_header_preproc" >&6
33991 # So? What about this header?
33992 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
33994 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
33995 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
33996 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
33997 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
33998 ac_header_preproc
=yes
34001 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
34002 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
34003 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
34004 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
34005 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
34006 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
34007 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
34008 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
34009 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
34010 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
34011 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
34012 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
34015 ## ----------------------------------------- ##
34016 ## Report this to wx-dev@lists.wxwindows.org ##
34017 ## ----------------------------------------- ##
34020 sed "s/^/$as_me: WARNING: /" >&2
34023 echo "$as_me:$LINENO: checking for $ac_header" >&5
34024 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
34025 if eval "test \"\${$as_ac_Header+set}\" = set"; then
34026 echo $ECHO_N "(cached) $ECHO_C" >&6
34028 eval "$as_ac_Header=\$ac_header_preproc"
34030 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
34031 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
34034 if test `eval echo '${'$as_ac_Header'}'` = yes; then
34035 cat >>confdefs.h
<<_ACEOF
34036 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
34044 if test "$wxUSE_LIBSDL" != "no"; then
34046 # Check whether --with-sdl-prefix or --without-sdl-prefix was given.
34047 if test "${with_sdl_prefix+set}" = set; then
34048 withval
="$with_sdl_prefix"
34049 sdl_prefix
="$withval"
34054 # Check whether --with-sdl-exec-prefix or --without-sdl-exec-prefix was given.
34055 if test "${with_sdl_exec_prefix+set}" = set; then
34056 withval
="$with_sdl_exec_prefix"
34057 sdl_exec_prefix
="$withval"
34061 # Check whether --enable-sdltest or --disable-sdltest was given.
34062 if test "${enable_sdltest+set}" = set; then
34063 enableval
="$enable_sdltest"
34069 if test x
$sdl_exec_prefix != x
; then
34070 sdl_args
="$sdl_args --exec-prefix=$sdl_exec_prefix"
34071 if test x
${SDL_CONFIG+set} != xset
; then
34072 SDL_CONFIG
=$sdl_exec_prefix/bin
/sdl
-config
34075 if test x
$sdl_prefix != x
; then
34076 sdl_args
="$sdl_args --prefix=$sdl_prefix"
34077 if test x
${SDL_CONFIG+set} != xset
; then
34078 SDL_CONFIG
=$sdl_prefix/bin
/sdl
-config
34083 PATH
="$prefix/bin:$prefix/usr/bin:$PATH"
34084 # Extract the first word of "sdl-config", so it can be a program name with args.
34085 set dummy sdl
-config; ac_word
=$2
34086 echo "$as_me:$LINENO: checking for $ac_word" >&5
34087 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
34088 if test "${ac_cv_path_SDL_CONFIG+set}" = set; then
34089 echo $ECHO_N "(cached) $ECHO_C" >&6
34091 case $SDL_CONFIG in
34093 ac_cv_path_SDL_CONFIG
="$SDL_CONFIG" # Let the user override the test with a path.
34096 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
34097 for as_dir
in $PATH
34100 test -z "$as_dir" && as_dir
=.
34101 for ac_exec_ext
in '' $ac_executable_extensions; do
34102 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
34103 ac_cv_path_SDL_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
34104 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
34110 test -z "$ac_cv_path_SDL_CONFIG" && ac_cv_path_SDL_CONFIG
="no"
34114 SDL_CONFIG
=$ac_cv_path_SDL_CONFIG
34116 if test -n "$SDL_CONFIG"; then
34117 echo "$as_me:$LINENO: result: $SDL_CONFIG" >&5
34118 echo "${ECHO_T}$SDL_CONFIG" >&6
34120 echo "$as_me:$LINENO: result: no" >&5
34121 echo "${ECHO_T}no" >&6
34124 min_sdl_version
=1.2.0
34125 echo "$as_me:$LINENO: checking for SDL - version >= $min_sdl_version" >&5
34126 echo $ECHO_N "checking for SDL - version >= $min_sdl_version... $ECHO_C" >&6
34128 if test "$SDL_CONFIG" = "no" ; then
34131 SDL_CFLAGS
=`$SDL_CONFIG $sdlconf_args --cflags`
34132 SDL_LIBS
=`$SDL_CONFIG $sdlconf_args --libs`
34134 sdl_major_version
=`$SDL_CONFIG $sdl_args --version | \
34135 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
34136 sdl_minor_version
=`$SDL_CONFIG $sdl_args --version | \
34137 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
34138 sdl_micro_version
=`$SDL_CONFIG $sdl_config_args --version | \
34139 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
34140 if test "x$enable_sdltest" = "xyes" ; then
34141 ac_save_CFLAGS
="$CFLAGS"
34142 ac_save_LIBS
="$LIBS"
34143 CFLAGS
="$CFLAGS $SDL_CFLAGS"
34144 LIBS
="$LIBS $SDL_LIBS"
34146 if test "$cross_compiling" = yes; then
34147 echo $ac_n "cross compiling; assumed OK... $ac_c"
34149 cat >conftest.
$ac_ext <<_ACEOF
34152 cat confdefs.h
>>conftest.
$ac_ext
34153 cat >>conftest.
$ac_ext <<_ACEOF
34154 /* end confdefs.h. */
34157 #include <stdlib.h>
34158 #include <string.h>
34162 my_strdup (char *str)
34168 new_str = (char *)malloc ((strlen (str) + 1) * sizeof(char));
34169 strcpy (new_str, str);
34177 int main (int argc, char *argv[])
34179 int major, minor, micro;
34182 /* This hangs on some systems (?)
34183 system ("touch conf.sdltest");
34185 { FILE *fp = fopen("conf.sdltest", "a"); if ( fp ) fclose(fp); }
34187 /* HP/UX 9 (%@#!) writes to sscanf strings */
34188 tmp_version = my_strdup("$min_sdl_version");
34189 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
34190 printf("%s, bad version string\n", "$min_sdl_version");
34194 if (($sdl_major_version > major) ||
34195 (($sdl_major_version == major) && ($sdl_minor_version > minor)) ||
34196 (($sdl_major_version == major) && ($sdl_minor_version == minor) && ($sdl_micro_version >= micro)))
34202 printf("\n*** 'sdl-config --version' returned %d.%d.%d, but the minimum version\n", $sdl_major_version, $sdl_minor_version, $sdl_micro_version);
34203 printf("*** of SDL required is %d.%d.%d. If sdl-config is correct, then it is\n", major, minor, micro);
34204 printf("*** best to upgrade to the required version.\n");
34205 printf("*** If sdl-config was wrong, set the environment variable SDL_CONFIG\n");
34206 printf("*** to point to the correct copy of sdl-config, and remove the file\n");
34207 printf("*** config.cache before re-running configure\n");
34214 rm -f conftest
$ac_exeext
34215 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34216 (eval $ac_link) 2>&5
34218 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34219 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
34220 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34221 (eval $ac_try) 2>&5
34223 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34224 (exit $ac_status); }; }; then
34227 echo "$as_me: program exited with status $ac_status" >&5
34228 echo "$as_me: failed program was:" >&5
34229 sed 's/^/| /' conftest.
$ac_ext >&5
34231 ( exit $ac_status )
34234 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
34236 CFLAGS
="$ac_save_CFLAGS"
34237 LIBS
="$ac_save_LIBS"
34240 if test "x$no_sdl" = x
; then
34241 echo "$as_me:$LINENO: result: yes" >&5
34242 echo "${ECHO_T}yes" >&6
34244 EXTRALIBS_SDL
="$SDL_LIBS"
34245 CXXFLAGS
="$CXXFLAGS $SDL_CFLAGS"
34246 cat >>confdefs.h
<<\_ACEOF
34247 #define wxUSE_LIBSDL 1
34252 echo "$as_me:$LINENO: result: no" >&5
34253 echo "${ECHO_T}no" >&6
34254 if test "$SDL_CONFIG" = "no" ; then
34255 echo "*** The sdl-config script installed by SDL could not be found"
34256 echo "*** If SDL was installed in PREFIX, make sure PREFIX/bin is in"
34257 echo "*** your path, or set the SDL_CONFIG environment variable to the"
34258 echo "*** full path to sdl-config."
34260 if test -f conf.sdltest
; then
34263 echo "*** Could not run SDL test program, checking why..."
34264 CFLAGS
="$CFLAGS $SDL_CFLAGS"
34265 LIBS
="$LIBS $SDL_LIBS"
34266 cat >conftest.
$ac_ext <<_ACEOF
34269 cat confdefs.h
>>conftest.
$ac_ext
34270 cat >>conftest.
$ac_ext <<_ACEOF
34271 /* end confdefs.h. */
34276 int main(int argc, char *argv[])
34279 #define main K_and_R_C_main
34289 rm -f conftest.
$ac_objext conftest
$ac_exeext
34290 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34291 (eval $ac_link) 2>conftest.er1
34293 grep -v '^ *+' conftest.er1
>conftest.err
34295 cat conftest.err
>&5
34296 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34297 (exit $ac_status); } &&
34298 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
34299 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34300 (eval $ac_try) 2>&5
34302 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34303 (exit $ac_status); }; } &&
34304 { ac_try
='test -s conftest$ac_exeext'
34305 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34306 (eval $ac_try) 2>&5
34308 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34309 (exit $ac_status); }; }; then
34310 echo "*** The test program compiled, but did not run. This usually means"
34311 echo "*** that the run-time linker is not finding SDL or finding the wrong"
34312 echo "*** version of SDL. If it is not finding SDL, you'll need to set your"
34313 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
34314 echo "*** to the installed location Also, make sure you have run ldconfig if that"
34315 echo "*** is required on your system"
34317 echo "*** If you have an old version installed, it is best to remove it, although"
34318 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
34320 echo "$as_me: failed program was:" >&5
34321 sed 's/^/| /' conftest.
$ac_ext >&5
34323 echo "*** The test program failed to compile or link. See the file config.log for the"
34324 echo "*** exact error that occured. This usually means SDL was incorrectly installed"
34325 echo "*** or that you have moved SDL since it was installed. In the latter case, you"
34326 echo "*** may want to edit the sdl-config script: $SDL_CONFIG"
34328 rm -f conftest.err conftest.
$ac_objext \
34329 conftest
$ac_exeext conftest.
$ac_ext
34330 CFLAGS
="$ac_save_CFLAGS"
34331 LIBS
="$ac_save_LIBS"
34342 if test "$wxUSE_LIBSDL" = "yes" -a "$wxUSE_PLUGINS" = "yes" ; then
34348 cat >>confdefs.h
<<\_ACEOF
34349 #define wxUSE_SOUND 1
34352 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS sound"
34355 if test "$wxUSE_CMDLINE_PARSER" = "yes"; then
34356 cat >>confdefs.h
<<\_ACEOF
34357 #define wxUSE_CMDLINE_PARSER 1
34362 if test "$wxUSE_STOPWATCH" = "yes"; then
34363 cat >>confdefs.h
<<\_ACEOF
34364 #define wxUSE_STOPWATCH 1
34369 if test "$wxUSE_DATETIME" = "yes"; then
34370 cat >>confdefs.h
<<\_ACEOF
34371 #define wxUSE_DATETIME 1
34376 if test "$wxUSE_FILE" = "yes"; then
34377 cat >>confdefs.h
<<\_ACEOF
34378 #define wxUSE_FILE 1
34383 if test "$wxUSE_FFILE" = "yes"; then
34384 cat >>confdefs.h
<<\_ACEOF
34385 #define wxUSE_FFILE 1
34390 if test "$wxUSE_FILESYSTEM" = "yes"; then
34391 cat >>confdefs.h
<<\_ACEOF
34392 #define wxUSE_FILESYSTEM 1
34397 if test "$wxUSE_FS_ZIP" = "yes"; then
34398 cat >>confdefs.h
<<\_ACEOF
34399 #define wxUSE_FS_ZIP 1
34404 if test "$wxUSE_ZIPSTREAM" = "yes"; then
34405 cat >>confdefs.h
<<\_ACEOF
34406 #define wxUSE_ZIPSTREAM 1
34411 if test "$wxUSE_GZSTREAM" = "yes"; then
34412 cat >>confdefs.h
<<\_ACEOF
34413 #define wxUSE_GZSTREAM 1
34418 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
34419 cat >>confdefs.h
<<\_ACEOF
34420 #define wxUSE_ON_FATAL_EXCEPTION 1
34425 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
34426 cat >>confdefs.h
<<\_ACEOF
34427 #define wxUSE_SNGLINST_CHECKER 1
34432 if test "$wxUSE_BUSYINFO" = "yes"; then
34433 cat >>confdefs.h
<<\_ACEOF
34434 #define wxUSE_BUSYINFO 1
34439 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
34440 cat >>confdefs.h
<<\_ACEOF
34441 #define wxUSE_STD_IOSTREAM 1
34446 if test "$wxUSE_TEXTBUFFER" = "yes"; then
34447 cat >>confdefs.h
<<\_ACEOF
34448 #define wxUSE_TEXTBUFFER 1
34453 if test "$wxUSE_TEXTFILE" = "yes"; then
34454 if test "$wxUSE_FILE" != "yes" -o "$wxUSE_TEXTBUFFER" != "yes" ; then
34455 { echo "$as_me:$LINENO: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&5
34456 echo "$as_me: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&2;}
34458 cat >>confdefs.h
<<\_ACEOF
34459 #define wxUSE_TEXTFILE 1
34465 if test "$wxUSE_CONFIG" = "yes" ; then
34466 if test "$wxUSE_TEXTFILE" != "yes"; then
34467 { echo "$as_me:$LINENO: WARNING: wxConfig requires wxTextFile... disabled" >&5
34468 echo "$as_me: WARNING: wxConfig requires wxTextFile... disabled" >&2;}
34470 cat >>confdefs.h
<<\_ACEOF
34471 #define wxUSE_CONFIG 1
34474 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS config"
34478 if test "$wxUSE_INTL" = "yes" ; then
34479 if test "$wxUSE_FILE" != "yes"; then
34480 { echo "$as_me:$LINENO: WARNING: I18n code requires wxFile... disabled" >&5
34481 echo "$as_me: WARNING: I18n code requires wxFile... disabled" >&2;}
34483 cat >>confdefs.h
<<\_ACEOF
34484 #define wxUSE_INTL 1
34487 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS internat"
34488 GUIDIST
="$GUIDIST INTL_DIST"
34492 if test "$wxUSE_LOG" = "yes"; then
34493 cat >>confdefs.h
<<\_ACEOF
34494 #define wxUSE_LOG 1
34498 if test "$wxUSE_LOGGUI" = "yes"; then
34499 cat >>confdefs.h
<<\_ACEOF
34500 #define wxUSE_LOGGUI 1
34505 if test "$wxUSE_LOGWINDOW" = "yes"; then
34506 cat >>confdefs.h
<<\_ACEOF
34507 #define wxUSE_LOGWINDOW 1
34512 if test "$wxUSE_LOGDIALOG" = "yes"; then
34513 cat >>confdefs.h
<<\_ACEOF
34514 #define wxUSE_LOG_DIALOG 1
34520 if test "$wxUSE_LONGLONG" = "yes"; then
34521 cat >>confdefs.h
<<\_ACEOF
34522 #define wxUSE_LONGLONG 1
34527 if test "$wxUSE_GEOMETRY" = "yes"; then
34528 cat >>confdefs.h
<<\_ACEOF
34529 #define wxUSE_GEOMETRY 1
34534 if test "$wxUSE_DIALUP_MANAGER" = "yes" ; then
34535 cat >>confdefs.h
<<\_ACEOF
34536 #define wxUSE_DIALUP_MANAGER 1
34539 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS dialup"
34542 if test "$wxUSE_STREAMS" = "yes" ; then
34543 cat >>confdefs.h
<<\_ACEOF
34544 #define wxUSE_STREAMS 1
34550 if test "$wxUSE_DATETIME" = "yes"; then
34552 for ac_func
in strptime
34554 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34555 echo "$as_me:$LINENO: checking for $ac_func" >&5
34556 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
34557 if eval "test \"\${$as_ac_var+set}\" = set"; then
34558 echo $ECHO_N "(cached) $ECHO_C" >&6
34560 cat >conftest.
$ac_ext <<_ACEOF
34563 cat confdefs.h
>>conftest.
$ac_ext
34564 cat >>conftest.
$ac_ext <<_ACEOF
34565 /* end confdefs.h. */
34566 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34567 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34568 #define $ac_func innocuous_$ac_func
34570 /* System header to define __stub macros and hopefully few prototypes,
34571 which can conflict with char $ac_func (); below.
34572 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34573 <limits.h> exists even on freestanding compilers. */
34576 # include <limits.h>
34578 # include <assert.h>
34583 /* Override any gcc2 internal prototype to avoid an error. */
34588 /* We use char because int might match the return type of a gcc2
34589 builtin and then its argument prototype would still apply. */
34591 /* The GNU C library defines this for functions which it implements
34592 to always fail with ENOSYS. Some functions are actually named
34593 something starting with __ and the normal name is an alias. */
34594 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
34597 char (*f) () = $ac_func;
34606 return f != $ac_func;
34611 rm -f conftest.
$ac_objext conftest
$ac_exeext
34612 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34613 (eval $ac_link) 2>conftest.er1
34615 grep -v '^ *+' conftest.er1
>conftest.err
34617 cat conftest.err
>&5
34618 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34619 (exit $ac_status); } &&
34620 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
34621 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34622 (eval $ac_try) 2>&5
34624 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34625 (exit $ac_status); }; } &&
34626 { ac_try
='test -s conftest$ac_exeext'
34627 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34628 (eval $ac_try) 2>&5
34630 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34631 (exit $ac_status); }; }; then
34632 eval "$as_ac_var=yes"
34634 echo "$as_me: failed program was:" >&5
34635 sed 's/^/| /' conftest.
$ac_ext >&5
34637 eval "$as_ac_var=no"
34639 rm -f conftest.err conftest.
$ac_objext \
34640 conftest
$ac_exeext conftest.
$ac_ext
34642 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
34643 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
34644 if test `eval echo '${'$as_ac_var'}'` = yes; then
34645 cat >>confdefs.h
<<_ACEOF
34646 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34653 echo "$as_me:$LINENO: checking for timezone variable in <time.h>" >&5
34654 echo $ECHO_N "checking for timezone variable in <time.h>... $ECHO_C" >&6
34655 if test "${wx_cv_var_timezone+set}" = set; then
34656 echo $ECHO_N "(cached) $ECHO_C" >&6
34659 cat >conftest.
$ac_ext <<_ACEOF
34662 cat confdefs.h
>>conftest.
$ac_ext
34663 cat >>conftest.
$ac_ext <<_ACEOF
34664 /* end confdefs.h. */
34679 rm -f conftest.
$ac_objext
34680 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34681 (eval $ac_compile) 2>conftest.er1
34683 grep -v '^ *+' conftest.er1
>conftest.err
34685 cat conftest.err
>&5
34686 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34687 (exit $ac_status); } &&
34688 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
34689 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34690 (eval $ac_try) 2>&5
34692 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34693 (exit $ac_status); }; } &&
34694 { ac_try
='test -s conftest.$ac_objext'
34695 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34696 (eval $ac_try) 2>&5
34698 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34699 (exit $ac_status); }; }; then
34701 wx_cv_var_timezone
=timezone
34704 echo "$as_me: failed program was:" >&5
34705 sed 's/^/| /' conftest.
$ac_ext >&5
34708 cat >conftest.
$ac_ext <<_ACEOF
34711 cat confdefs.h
>>conftest.
$ac_ext
34712 cat >>conftest.
$ac_ext <<_ACEOF
34713 /* end confdefs.h. */
34728 rm -f conftest.
$ac_objext
34729 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34730 (eval $ac_compile) 2>conftest.er1
34732 grep -v '^ *+' conftest.er1
>conftest.err
34734 cat conftest.err
>&5
34735 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34736 (exit $ac_status); } &&
34737 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
34738 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34739 (eval $ac_try) 2>&5
34741 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34742 (exit $ac_status); }; } &&
34743 { ac_try
='test -s conftest.$ac_objext'
34744 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34745 (eval $ac_try) 2>&5
34747 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34748 (exit $ac_status); }; }; then
34750 wx_cv_var_timezone
=_timezone
34753 echo "$as_me: failed program was:" >&5
34754 sed 's/^/| /' conftest.
$ac_ext >&5
34757 cat >conftest.
$ac_ext <<_ACEOF
34760 cat confdefs.h
>>conftest.
$ac_ext
34761 cat >>conftest.
$ac_ext <<_ACEOF
34762 /* end confdefs.h. */
34777 rm -f conftest.
$ac_objext
34778 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34779 (eval $ac_compile) 2>conftest.er1
34781 grep -v '^ *+' conftest.er1
>conftest.err
34783 cat conftest.err
>&5
34784 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34785 (exit $ac_status); } &&
34786 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
34787 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34788 (eval $ac_try) 2>&5
34790 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34791 (exit $ac_status); }; } &&
34792 { ac_try
='test -s conftest.$ac_objext'
34793 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34794 (eval $ac_try) 2>&5
34796 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34797 (exit $ac_status); }; }; then
34799 wx_cv_var_timezone
=__timezone
34802 echo "$as_me: failed program was:" >&5
34803 sed 's/^/| /' conftest.
$ac_ext >&5
34806 if test "$USE_DOS" = 0 ; then
34807 { echo "$as_me:$LINENO: WARNING: no timezone variable" >&5
34808 echo "$as_me: WARNING: no timezone variable" >&2;}
34813 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
34817 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
34821 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
34825 echo "$as_me:$LINENO: result: $wx_cv_var_timezone" >&5
34826 echo "${ECHO_T}$wx_cv_var_timezone" >&6
34828 if test "x$wx_cv_var_timezone" != x
; then
34829 cat >>confdefs.h
<<_ACEOF
34830 #define WX_TIMEZONE $wx_cv_var_timezone
34836 for ac_func
in localtime
34838 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34839 echo "$as_me:$LINENO: checking for $ac_func" >&5
34840 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
34841 if eval "test \"\${$as_ac_var+set}\" = set"; then
34842 echo $ECHO_N "(cached) $ECHO_C" >&6
34844 cat >conftest.
$ac_ext <<_ACEOF
34847 cat confdefs.h
>>conftest.
$ac_ext
34848 cat >>conftest.
$ac_ext <<_ACEOF
34849 /* end confdefs.h. */
34850 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34851 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34852 #define $ac_func innocuous_$ac_func
34854 /* System header to define __stub macros and hopefully few prototypes,
34855 which can conflict with char $ac_func (); below.
34856 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34857 <limits.h> exists even on freestanding compilers. */
34860 # include <limits.h>
34862 # include <assert.h>
34867 /* Override any gcc2 internal prototype to avoid an error. */
34872 /* We use char because int might match the return type of a gcc2
34873 builtin and then its argument prototype would still apply. */
34875 /* The GNU C library defines this for functions which it implements
34876 to always fail with ENOSYS. Some functions are actually named
34877 something starting with __ and the normal name is an alias. */
34878 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
34881 char (*f) () = $ac_func;
34890 return f != $ac_func;
34895 rm -f conftest.
$ac_objext conftest
$ac_exeext
34896 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34897 (eval $ac_link) 2>conftest.er1
34899 grep -v '^ *+' conftest.er1
>conftest.err
34901 cat conftest.err
>&5
34902 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34903 (exit $ac_status); } &&
34904 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
34905 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34906 (eval $ac_try) 2>&5
34908 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34909 (exit $ac_status); }; } &&
34910 { ac_try
='test -s conftest$ac_exeext'
34911 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34912 (eval $ac_try) 2>&5
34914 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34915 (exit $ac_status); }; }; then
34916 eval "$as_ac_var=yes"
34918 echo "$as_me: failed program was:" >&5
34919 sed 's/^/| /' conftest.
$ac_ext >&5
34921 eval "$as_ac_var=no"
34923 rm -f conftest.err conftest.
$ac_objext \
34924 conftest
$ac_exeext conftest.
$ac_ext
34926 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
34927 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
34928 if test `eval echo '${'$as_ac_var'}'` = yes; then
34929 cat >>confdefs.h
<<_ACEOF
34930 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34937 if test "$ac_cv_func_localtime" = "yes"; then
34938 echo "$as_me:$LINENO: checking for tm_gmtoff in struct tm" >&5
34939 echo $ECHO_N "checking for tm_gmtoff in struct tm... $ECHO_C" >&6
34940 if test "${wx_cv_struct_tm_has_gmtoff+set}" = set; then
34941 echo $ECHO_N "(cached) $ECHO_C" >&6
34944 cat >conftest.
$ac_ext <<_ACEOF
34947 cat confdefs.h
>>conftest.
$ac_ext
34948 cat >>conftest.
$ac_ext <<_ACEOF
34949 /* end confdefs.h. */
34964 rm -f conftest.
$ac_objext
34965 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34966 (eval $ac_compile) 2>conftest.er1
34968 grep -v '^ *+' conftest.er1
>conftest.err
34970 cat conftest.err
>&5
34971 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34972 (exit $ac_status); } &&
34973 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
34974 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34975 (eval $ac_try) 2>&5
34977 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34978 (exit $ac_status); }; } &&
34979 { ac_try
='test -s conftest.$ac_objext'
34980 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34981 (eval $ac_try) 2>&5
34983 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34984 (exit $ac_status); }; }; then
34986 wx_cv_struct_tm_has_gmtoff
=yes
34989 echo "$as_me: failed program was:" >&5
34990 sed 's/^/| /' conftest.
$ac_ext >&5
34992 wx_cv_struct_tm_has_gmtoff
=no
34995 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
34998 echo "$as_me:$LINENO: result: $wx_cv_struct_tm_has_gmtoff" >&5
34999 echo "${ECHO_T}$wx_cv_struct_tm_has_gmtoff" >&6
35002 if test "$wx_cv_struct_tm_has_gmtoff" = "yes"; then
35003 cat >>confdefs.h
<<\_ACEOF
35004 #define WX_GMTOFF_IN_TM 1
35011 for ac_func
in gettimeofday ftime
35013 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35014 echo "$as_me:$LINENO: checking for $ac_func" >&5
35015 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
35016 if eval "test \"\${$as_ac_var+set}\" = set"; then
35017 echo $ECHO_N "(cached) $ECHO_C" >&6
35019 cat >conftest.
$ac_ext <<_ACEOF
35022 cat confdefs.h
>>conftest.
$ac_ext
35023 cat >>conftest.
$ac_ext <<_ACEOF
35024 /* end confdefs.h. */
35025 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35026 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35027 #define $ac_func innocuous_$ac_func
35029 /* System header to define __stub macros and hopefully few prototypes,
35030 which can conflict with char $ac_func (); below.
35031 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35032 <limits.h> exists even on freestanding compilers. */
35035 # include <limits.h>
35037 # include <assert.h>
35042 /* Override any gcc2 internal prototype to avoid an error. */
35047 /* We use char because int might match the return type of a gcc2
35048 builtin and then its argument prototype would still apply. */
35050 /* The GNU C library defines this for functions which it implements
35051 to always fail with ENOSYS. Some functions are actually named
35052 something starting with __ and the normal name is an alias. */
35053 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
35056 char (*f) () = $ac_func;
35065 return f != $ac_func;
35070 rm -f conftest.
$ac_objext conftest
$ac_exeext
35071 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35072 (eval $ac_link) 2>conftest.er1
35074 grep -v '^ *+' conftest.er1
>conftest.err
35076 cat conftest.err
>&5
35077 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35078 (exit $ac_status); } &&
35079 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
35080 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35081 (eval $ac_try) 2>&5
35083 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35084 (exit $ac_status); }; } &&
35085 { ac_try
='test -s conftest$ac_exeext'
35086 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35087 (eval $ac_try) 2>&5
35089 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35090 (exit $ac_status); }; }; then
35091 eval "$as_ac_var=yes"
35093 echo "$as_me: failed program was:" >&5
35094 sed 's/^/| /' conftest.
$ac_ext >&5
35096 eval "$as_ac_var=no"
35098 rm -f conftest.err conftest.
$ac_objext \
35099 conftest
$ac_exeext conftest.
$ac_ext
35101 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
35102 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
35103 if test `eval echo '${'$as_ac_var'}'` = yes; then
35104 cat >>confdefs.h
<<_ACEOF
35105 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35112 if test "$ac_cv_func_gettimeofday" = "yes"; then
35113 echo "$as_me:$LINENO: checking whether gettimeofday takes two arguments" >&5
35114 echo $ECHO_N "checking whether gettimeofday takes two arguments... $ECHO_C" >&6
35115 if test "${wx_cv_func_gettimeofday_has_2_args+set}" = set; then
35116 echo $ECHO_N "(cached) $ECHO_C" >&6
35122 ac_cpp
='$CXXCPP $CPPFLAGS'
35123 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35124 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35125 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
35128 cat >conftest.
$ac_ext <<_ACEOF
35131 cat confdefs.h
>>conftest.
$ac_ext
35132 cat >>conftest.
$ac_ext <<_ACEOF
35133 /* end confdefs.h. */
35135 #include <sys/time.h>
35136 #include <unistd.h>
35143 gettimeofday(&tv, NULL);
35149 rm -f conftest.
$ac_objext
35150 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35151 (eval $ac_compile) 2>conftest.er1
35153 grep -v '^ *+' conftest.er1
>conftest.err
35155 cat conftest.err
>&5
35156 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35157 (exit $ac_status); } &&
35158 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
35159 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35160 (eval $ac_try) 2>&5
35162 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35163 (exit $ac_status); }; } &&
35164 { ac_try
='test -s conftest.$ac_objext'
35165 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35166 (eval $ac_try) 2>&5
35168 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35169 (exit $ac_status); }; }; then
35170 wx_cv_func_gettimeofday_has_2_args
=yes
35172 echo "$as_me: failed program was:" >&5
35173 sed 's/^/| /' conftest.
$ac_ext >&5
35175 cat >conftest.
$ac_ext <<_ACEOF
35178 cat confdefs.h
>>conftest.
$ac_ext
35179 cat >>conftest.
$ac_ext <<_ACEOF
35180 /* end confdefs.h. */
35182 #include <sys/time.h>
35183 #include <unistd.h>
35196 rm -f conftest.
$ac_objext
35197 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35198 (eval $ac_compile) 2>conftest.er1
35200 grep -v '^ *+' conftest.er1
>conftest.err
35202 cat conftest.err
>&5
35203 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35204 (exit $ac_status); } &&
35205 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
35206 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35207 (eval $ac_try) 2>&5
35209 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35210 (exit $ac_status); }; } &&
35211 { ac_try
='test -s conftest.$ac_objext'
35212 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35213 (eval $ac_try) 2>&5
35215 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35216 (exit $ac_status); }; }; then
35217 wx_cv_func_gettimeofday_has_2_args
=no
35219 echo "$as_me: failed program was:" >&5
35220 sed 's/^/| /' conftest.
$ac_ext >&5
35223 { echo "$as_me:$LINENO: WARNING: failed to determine number of gettimeofday() arguments" >&5
35224 echo "$as_me: WARNING: failed to determine number of gettimeofday() arguments" >&2;}
35225 wx_cv_func_gettimeofday_has_2_args
=unknown
35229 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
35232 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
35234 ac_cpp
='$CPP $CPPFLAGS'
35235 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35236 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35237 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
35241 echo "$as_me:$LINENO: result: $wx_cv_func_gettimeofday_has_2_args" >&5
35242 echo "${ECHO_T}$wx_cv_func_gettimeofday_has_2_args" >&6
35244 if test "$wx_cv_func_gettimeofday_has_2_args" != "yes"; then
35245 cat >>confdefs.h
<<\_ACEOF
35246 #define WX_GETTIMEOFDAY_NO_TZ 1
35252 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS typetest"
35256 if test "$wxUSE_SOCKETS" = "yes"; then
35257 if test "$wxUSE_MGL" = "1"; then
35258 { echo "$as_me:$LINENO: WARNING: wxSocket not yet supported under MGL... disabled" >&5
35259 echo "$as_me: WARNING: wxSocket not yet supported under MGL... disabled" >&2;}
35264 if test "$wxUSE_SOCKETS" = "yes"; then
35265 if test "$TOOLKIT" != "MSW"; then
35266 echo "$as_me:$LINENO: checking for socket" >&5
35267 echo $ECHO_N "checking for socket... $ECHO_C" >&6
35268 if test "${ac_cv_func_socket+set}" = set; then
35269 echo $ECHO_N "(cached) $ECHO_C" >&6
35271 cat >conftest.
$ac_ext <<_ACEOF
35274 cat confdefs.h
>>conftest.
$ac_ext
35275 cat >>conftest.
$ac_ext <<_ACEOF
35276 /* end confdefs.h. */
35277 /* Define socket to an innocuous variant, in case <limits.h> declares socket.
35278 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35279 #define socket innocuous_socket
35281 /* System header to define __stub macros and hopefully few prototypes,
35282 which can conflict with char socket (); below.
35283 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35284 <limits.h> exists even on freestanding compilers. */
35287 # include <limits.h>
35289 # include <assert.h>
35294 /* Override any gcc2 internal prototype to avoid an error. */
35299 /* We use char because int might match the return type of a gcc2
35300 builtin and then its argument prototype would still apply. */
35302 /* The GNU C library defines this for functions which it implements
35303 to always fail with ENOSYS. Some functions are actually named
35304 something starting with __ and the normal name is an alias. */
35305 #if defined (__stub_socket) || defined (__stub___socket)
35308 char (*f) () = socket;
35317 return f != socket;
35322 rm -f conftest.
$ac_objext conftest
$ac_exeext
35323 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35324 (eval $ac_link) 2>conftest.er1
35326 grep -v '^ *+' conftest.er1
>conftest.err
35328 cat conftest.err
>&5
35329 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35330 (exit $ac_status); } &&
35331 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
35332 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35333 (eval $ac_try) 2>&5
35335 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35336 (exit $ac_status); }; } &&
35337 { ac_try
='test -s conftest$ac_exeext'
35338 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35339 (eval $ac_try) 2>&5
35341 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35342 (exit $ac_status); }; }; then
35343 ac_cv_func_socket
=yes
35345 echo "$as_me: failed program was:" >&5
35346 sed 's/^/| /' conftest.
$ac_ext >&5
35348 ac_cv_func_socket
=no
35350 rm -f conftest.err conftest.
$ac_objext \
35351 conftest
$ac_exeext conftest.
$ac_ext
35353 echo "$as_me:$LINENO: result: $ac_cv_func_socket" >&5
35354 echo "${ECHO_T}$ac_cv_func_socket" >&6
35355 if test $ac_cv_func_socket = yes; then
35359 echo "$as_me:$LINENO: checking for socket in -lsocket" >&5
35360 echo $ECHO_N "checking for socket in -lsocket... $ECHO_C" >&6
35361 if test "${ac_cv_lib_socket_socket+set}" = set; then
35362 echo $ECHO_N "(cached) $ECHO_C" >&6
35364 ac_check_lib_save_LIBS
=$LIBS
35365 LIBS
="-lsocket $LIBS"
35366 cat >conftest.
$ac_ext <<_ACEOF
35369 cat confdefs.h
>>conftest.
$ac_ext
35370 cat >>conftest.
$ac_ext <<_ACEOF
35371 /* end confdefs.h. */
35373 /* Override any gcc2 internal prototype to avoid an error. */
35377 /* We use char because int might match the return type of a gcc2
35378 builtin and then its argument prototype would still apply. */
35388 rm -f conftest.
$ac_objext conftest
$ac_exeext
35389 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35390 (eval $ac_link) 2>conftest.er1
35392 grep -v '^ *+' conftest.er1
>conftest.err
35394 cat conftest.err
>&5
35395 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35396 (exit $ac_status); } &&
35397 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
35398 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35399 (eval $ac_try) 2>&5
35401 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35402 (exit $ac_status); }; } &&
35403 { ac_try
='test -s conftest$ac_exeext'
35404 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35405 (eval $ac_try) 2>&5
35407 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35408 (exit $ac_status); }; }; then
35409 ac_cv_lib_socket_socket
=yes
35411 echo "$as_me: failed program was:" >&5
35412 sed 's/^/| /' conftest.
$ac_ext >&5
35414 ac_cv_lib_socket_socket
=no
35416 rm -f conftest.err conftest.
$ac_objext \
35417 conftest
$ac_exeext conftest.
$ac_ext
35418 LIBS
=$ac_check_lib_save_LIBS
35420 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_socket" >&5
35421 echo "${ECHO_T}$ac_cv_lib_socket_socket" >&6
35422 if test $ac_cv_lib_socket_socket = yes; then
35423 if test "$INET_LINK" != " -lsocket"; then
35424 INET_LINK
="$INET_LINK -lsocket"
35428 { echo "$as_me:$LINENO: WARNING: socket library not found - sockets will be disabled" >&5
35429 echo "$as_me: WARNING: socket library not found - sockets will be disabled" >&2;}
35442 if test "$wxUSE_SOCKETS" = "yes" ; then
35443 if test "$TOOLKIT" != "MSW"; then
35444 echo "$as_me:$LINENO: checking what is the type of the third argument of getsockname" >&5
35445 echo $ECHO_N "checking what is the type of the third argument of getsockname... $ECHO_C" >&6
35446 if test "${wx_cv_type_getsockname3+set}" = set; then
35447 echo $ECHO_N "(cached) $ECHO_C" >&6
35450 cat >conftest.
$ac_ext <<_ACEOF
35453 cat confdefs.h
>>conftest.
$ac_ext
35454 cat >>conftest.
$ac_ext <<_ACEOF
35455 /* end confdefs.h. */
35457 #include <sys/types.h>
35458 #include <sys/socket.h>
35465 getsockname(0, 0, &len);
35471 rm -f conftest.
$ac_objext
35472 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35473 (eval $ac_compile) 2>conftest.er1
35475 grep -v '^ *+' conftest.er1
>conftest.err
35477 cat conftest.err
>&5
35478 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35479 (exit $ac_status); } &&
35480 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
35481 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35482 (eval $ac_try) 2>&5
35484 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35485 (exit $ac_status); }; } &&
35486 { ac_try
='test -s conftest.$ac_objext'
35487 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35488 (eval $ac_try) 2>&5
35490 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35491 (exit $ac_status); }; }; then
35492 wx_cv_type_getsockname3
=socklen_t
35494 echo "$as_me: failed program was:" >&5
35495 sed 's/^/| /' conftest.
$ac_ext >&5
35498 CFLAGS_OLD
="$CFLAGS"
35499 if test "$GCC" = yes ; then
35500 CFLAGS
="$CFLAGS -Werror"
35503 cat >conftest.
$ac_ext <<_ACEOF
35506 cat confdefs.h
>>conftest.
$ac_ext
35507 cat >>conftest.
$ac_ext <<_ACEOF
35508 /* end confdefs.h. */
35510 #include <sys/types.h>
35511 #include <sys/socket.h>
35518 getsockname(0, 0, &len);
35524 rm -f conftest.
$ac_objext
35525 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35526 (eval $ac_compile) 2>conftest.er1
35528 grep -v '^ *+' conftest.er1
>conftest.err
35530 cat conftest.err
>&5
35531 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35532 (exit $ac_status); } &&
35533 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
35534 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35535 (eval $ac_try) 2>&5
35537 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35538 (exit $ac_status); }; } &&
35539 { ac_try
='test -s conftest.$ac_objext'
35540 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35541 (eval $ac_try) 2>&5
35543 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35544 (exit $ac_status); }; }; then
35545 wx_cv_type_getsockname3
=size_t
35547 echo "$as_me: failed program was:" >&5
35548 sed 's/^/| /' conftest.
$ac_ext >&5
35550 cat >conftest.
$ac_ext <<_ACEOF
35553 cat confdefs.h
>>conftest.
$ac_ext
35554 cat >>conftest.
$ac_ext <<_ACEOF
35555 /* end confdefs.h. */
35557 #include <sys/types.h>
35558 #include <sys/socket.h>
35565 getsockname(0, 0, &len);
35571 rm -f conftest.
$ac_objext
35572 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35573 (eval $ac_compile) 2>conftest.er1
35575 grep -v '^ *+' conftest.er1
>conftest.err
35577 cat conftest.err
>&5
35578 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35579 (exit $ac_status); } &&
35580 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
35581 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35582 (eval $ac_try) 2>&5
35584 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35585 (exit $ac_status); }; } &&
35586 { ac_try
='test -s conftest.$ac_objext'
35587 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35588 (eval $ac_try) 2>&5
35590 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35591 (exit $ac_status); }; }; then
35592 wx_cv_type_getsockname3
=int
35594 echo "$as_me: failed program was:" >&5
35595 sed 's/^/| /' conftest.
$ac_ext >&5
35597 wx_cv_type_getsockname3
=unknown
35600 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
35603 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
35605 CFLAGS
="$CFLAGS_OLD"
35609 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
35612 echo "$as_me:$LINENO: result: $wx_cv_type_getsockname3" >&5
35613 echo "${ECHO_T}$wx_cv_type_getsockname3" >&6
35615 if test "$wx_cv_type_getsockname3" = "unknown"; then
35617 { echo "$as_me:$LINENO: WARNING: Couldn't find socklen_t synonym for this system" >&5
35618 echo "$as_me: WARNING: Couldn't find socklen_t synonym for this system" >&2;}
35620 cat >>confdefs.h
<<_ACEOF
35621 #define SOCKLEN_T $wx_cv_type_getsockname3
35628 if test "$wxUSE_SOCKETS" = "yes" ; then
35629 cat >>confdefs.h
<<\_ACEOF
35630 #define wxUSE_SOCKETS 1
35633 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS sockets"
35636 if test "$wxUSE_PROTOCOL" = "yes"; then
35637 if test "$wxUSE_SOCKETS" != "yes"; then
35638 { echo "$as_me:$LINENO: WARNING: Protocol classes require sockets... disabled" >&5
35639 echo "$as_me: WARNING: Protocol classes require sockets... disabled" >&2;}
35644 if test "$wxUSE_PROTOCOL" = "yes"; then
35645 cat >>confdefs.h
<<\_ACEOF
35646 #define wxUSE_PROTOCOL 1
35650 if test "$wxUSE_PROTOCOL_HTTP" = "yes"; then
35651 cat >>confdefs.h
<<\_ACEOF
35652 #define wxUSE_PROTOCOL_HTTP 1
35656 if test "$wxUSE_PROTOCOL_FTP" = "yes"; then
35657 cat >>confdefs.h
<<\_ACEOF
35658 #define wxUSE_PROTOCOL_FTP 1
35662 if test "$wxUSE_PROTOCOL_FILE" = "yes"; then
35663 cat >>confdefs.h
<<\_ACEOF
35664 #define wxUSE_PROTOCOL_FILE 1
35669 if test "$wxUSE_FS_INET" = "yes"; then
35670 { echo "$as_me:$LINENO: WARNING: HTTP filesystem require protocol classes... disabled" >&5
35671 echo "$as_me: WARNING: HTTP filesystem require protocol classes... disabled" >&2;}
35676 if test "$wxUSE_URL" = "yes"; then
35677 if test "$wxUSE_PROTOCOL" != "yes"; then
35678 { echo "$as_me:$LINENO: WARNING: wxURL class requires wxProtocol... disabled" >&5
35679 echo "$as_me: WARNING: wxURL class requires wxProtocol... disabled" >&2;}
35682 if test "$wxUSE_URL" = "yes"; then
35683 cat >>confdefs.h
<<\_ACEOF
35684 #define wxUSE_URL 1
35690 if test "$wxUSE_FS_INET" = "yes"; then
35691 cat >>confdefs.h
<<\_ACEOF
35692 #define wxUSE_FS_INET 1
35698 if test "$wxUSE_GUI" = "yes"; then
35700 if test "$TOOLKIT" = "MAC" -o "$TOOLKIT" = "COCOA"; then
35701 { echo "$as_me:$LINENO: WARNING: Joystick not yet supported under Mac OS X... disabled" >&5
35702 echo "$as_me: WARNING: Joystick not yet supported under Mac OS X... disabled" >&2;}
35706 if test "$TOOLKIT" != "MSW"; then
35707 if test "$wxUSE_JOYSTICK" = "yes"; then
35709 for ac_header
in linux
/joystick.h
35711 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
35712 if eval "test \"\${$as_ac_Header+set}\" = set"; then
35713 echo "$as_me:$LINENO: checking for $ac_header" >&5
35714 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
35715 if eval "test \"\${$as_ac_Header+set}\" = set"; then
35716 echo $ECHO_N "(cached) $ECHO_C" >&6
35718 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
35719 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
35721 # Is the header compilable?
35722 echo "$as_me:$LINENO: checking $ac_header usability" >&5
35723 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
35724 cat >conftest.
$ac_ext <<_ACEOF
35727 cat confdefs.h
>>conftest.
$ac_ext
35728 cat >>conftest.
$ac_ext <<_ACEOF
35729 /* end confdefs.h. */
35730 $ac_includes_default
35731 #include <$ac_header>
35733 rm -f conftest.
$ac_objext
35734 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35735 (eval $ac_compile) 2>conftest.er1
35737 grep -v '^ *+' conftest.er1
>conftest.err
35739 cat conftest.err
>&5
35740 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35741 (exit $ac_status); } &&
35742 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
35743 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35744 (eval $ac_try) 2>&5
35746 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35747 (exit $ac_status); }; } &&
35748 { ac_try
='test -s conftest.$ac_objext'
35749 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35750 (eval $ac_try) 2>&5
35752 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35753 (exit $ac_status); }; }; then
35754 ac_header_compiler
=yes
35756 echo "$as_me: failed program was:" >&5
35757 sed 's/^/| /' conftest.
$ac_ext >&5
35759 ac_header_compiler
=no
35761 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
35762 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
35763 echo "${ECHO_T}$ac_header_compiler" >&6
35765 # Is the header present?
35766 echo "$as_me:$LINENO: checking $ac_header presence" >&5
35767 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
35768 cat >conftest.
$ac_ext <<_ACEOF
35771 cat confdefs.h
>>conftest.
$ac_ext
35772 cat >>conftest.
$ac_ext <<_ACEOF
35773 /* end confdefs.h. */
35774 #include <$ac_header>
35776 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
35777 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
35779 grep -v '^ *+' conftest.er1
>conftest.err
35781 cat conftest.err
>&5
35782 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35783 (exit $ac_status); } >/dev
/null
; then
35784 if test -s conftest.err
; then
35785 ac_cpp_err
=$ac_c_preproc_warn_flag
35786 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
35793 if test -z "$ac_cpp_err"; then
35794 ac_header_preproc
=yes
35796 echo "$as_me: failed program was:" >&5
35797 sed 's/^/| /' conftest.
$ac_ext >&5
35799 ac_header_preproc
=no
35801 rm -f conftest.err conftest.
$ac_ext
35802 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
35803 echo "${ECHO_T}$ac_header_preproc" >&6
35805 # So? What about this header?
35806 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
35808 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
35809 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
35810 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
35811 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
35812 ac_header_preproc
=yes
35815 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
35816 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
35817 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
35818 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
35819 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
35820 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
35821 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
35822 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
35823 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
35824 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
35825 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
35826 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
35829 ## ----------------------------------------- ##
35830 ## Report this to wx-dev@lists.wxwindows.org ##
35831 ## ----------------------------------------- ##
35834 sed "s/^/$as_me: WARNING: /" >&2
35837 echo "$as_me:$LINENO: checking for $ac_header" >&5
35838 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
35839 if eval "test \"\${$as_ac_Header+set}\" = set"; then
35840 echo $ECHO_N "(cached) $ECHO_C" >&6
35842 eval "$as_ac_Header=\$ac_header_preproc"
35844 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
35845 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
35848 if test `eval echo '${'$as_ac_Header'}'` = yes; then
35849 cat >>confdefs.h
<<_ACEOF
35850 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
35857 if test "$ac_cv_header_linux_joystick_h" != "yes"; then
35859 { echo "$as_me:$LINENO: WARNING: Joystick not supported by this system... disabled" >&5
35860 echo "$as_me: WARNING: Joystick not supported by this system... disabled" >&2;}
35865 if test "$wxUSE_JOYSTICK" = "yes"; then
35866 cat >>confdefs.h
<<\_ACEOF
35867 #define wxUSE_JOYSTICK 1
35870 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS joytest"
35876 if test "$wxUSE_FONTMAP" = "yes" ; then
35877 cat >>confdefs.h
<<\_ACEOF
35878 #define wxUSE_FONTMAP 1
35883 if test "$wxUSE_UNICODE" = "yes" ; then
35884 cat >>confdefs.h
<<\_ACEOF
35885 #define wxUSE_UNICODE 1
35889 if test "$USE_WIN32" != 1; then
35890 wxUSE_UNICODE_MSLU
=no
35893 if test "$USE_WIN32" = 1 -a "$wxUSE_UNICODE_MSLU" = "yes"; then
35894 echo "$as_me:$LINENO: checking for main in -lunicows" >&5
35895 echo $ECHO_N "checking for main in -lunicows... $ECHO_C" >&6
35896 if test "${ac_cv_lib_unicows_main+set}" = set; then
35897 echo $ECHO_N "(cached) $ECHO_C" >&6
35899 ac_check_lib_save_LIBS
=$LIBS
35900 LIBS
="-lunicows $LIBS"
35901 cat >conftest.
$ac_ext <<_ACEOF
35904 cat confdefs.h
>>conftest.
$ac_ext
35905 cat >>conftest.
$ac_ext <<_ACEOF
35906 /* end confdefs.h. */
35917 rm -f conftest.
$ac_objext conftest
$ac_exeext
35918 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35919 (eval $ac_link) 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" || test ! -s conftest.err'
35927 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35928 (eval $ac_try) 2>&5
35930 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35931 (exit $ac_status); }; } &&
35932 { ac_try
='test -s conftest$ac_exeext'
35933 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35934 (eval $ac_try) 2>&5
35936 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35937 (exit $ac_status); }; }; then
35938 ac_cv_lib_unicows_main
=yes
35940 echo "$as_me: failed program was:" >&5
35941 sed 's/^/| /' conftest.
$ac_ext >&5
35943 ac_cv_lib_unicows_main
=no
35945 rm -f conftest.err conftest.
$ac_objext \
35946 conftest
$ac_exeext conftest.
$ac_ext
35947 LIBS
=$ac_check_lib_save_LIBS
35949 echo "$as_me:$LINENO: result: $ac_cv_lib_unicows_main" >&5
35950 echo "${ECHO_T}$ac_cv_lib_unicows_main" >&6
35951 if test $ac_cv_lib_unicows_main = yes; then
35953 cat >>confdefs.h
<<\_ACEOF
35954 #define wxUSE_UNICODE_MSLU 1
35960 { echo "$as_me:$LINENO: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
35961 Applications will only run on Windows NT/2000/XP!" >&5
35962 echo "$as_me: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
35963 Applications will only run on Windows NT/2000/XP!" >&2;}
35964 wxUSE_UNICODE_MSLU
=no
35971 if test "$wxUSE_wxUSE_EXPERIMENTAL_PRINTF" = "yes"; then
35972 cat >>confdefs.h
<<\_ACEOF
35973 #define wxUSE_EXPERIMENTAL_PRINTF 1
35979 if test "$wxUSE_POSTSCRIPT" = "yes" ; then
35980 cat >>confdefs.h
<<\_ACEOF
35981 #define wxUSE_POSTSCRIPT 1
35986 cat >>confdefs.h
<<\_ACEOF
35987 #define wxUSE_AFM_FOR_POSTSCRIPT 1
35991 cat >>confdefs.h
<<\_ACEOF
35992 #define wxUSE_NORMALIZED_PS_FONTS 1
35997 if test "$wxUSE_CONSTRAINTS" = "yes"; then
35998 cat >>confdefs.h
<<\_ACEOF
35999 #define wxUSE_CONSTRAINTS 1
36002 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS layout"
36005 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
36006 cat >>confdefs.h
<<\_ACEOF
36007 #define wxUSE_MDI_ARCHITECTURE 1
36010 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS mdi"
36013 if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = "yes" ; then
36014 cat >>confdefs.h
<<\_ACEOF
36015 #define wxUSE_DOC_VIEW_ARCHITECTURE 1
36018 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS docview"
36019 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
36020 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS docvwmdi"
36024 if test "$wxUSE_HELP" = "yes"; then
36025 cat >>confdefs.h
<<\_ACEOF
36026 #define wxUSE_HELP 1
36029 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS help"
36031 if test "$wxUSE_MSW" = 1; then
36032 if test "$wxUSE_MS_HTML_HELP" = "yes"; then
36033 cat >>confdefs.h
<<\_ACEOF
36034 #define wxUSE_MS_HTML_HELP 1
36040 if test "$wxUSE_WXHTML_HELP" = "yes"; then
36041 if test "$wxUSE_HTML" = "yes"; then
36042 cat >>confdefs.h
<<\_ACEOF
36043 #define wxUSE_WXHTML_HELP 1
36047 { echo "$as_me:$LINENO: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&5
36048 echo "$as_me: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&2;}
36049 wxUSE_WXHTML_HELP
=no
36054 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
36055 if test "$wxUSE_CONSTRAINTS" != "yes"; then
36056 { echo "$as_me:$LINENO: WARNING: Printing support cannot be used without constraints so it won't be compiled without it" >&5
36057 echo "$as_me: WARNING: Printing support cannot be used without constraints so it won't be compiled without it" >&2;}
36059 cat >>confdefs.h
<<\_ACEOF
36060 #define wxUSE_PRINTING_ARCHITECTURE 1
36064 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS printing"
36067 if test "$wxUSE_PROLOGIO" = "yes" -o "$wxUSE_RESOURCES" = "yes"; then
36068 { { echo "$as_me:$LINENO: error: wxExpr and old-style resources are now available in contrib only" >&5
36069 echo "$as_me: error: wxExpr and old-style resources are now available in contrib only" >&2;}
36070 { (exit 1); exit 1; }; }
36074 if test "$USE_WIN32" = 1 -a \
( "$wxUSE_DATAOBJ" = "yes" \
36075 -o "$wxUSE_CLIPBOARD" = "yes" \
36076 -o "$wxUSE_OLE" = "yes" \
36077 -o "$wxUSE_DRAG_AND_DROP" = "yes" \
) ; then
36079 for ac_header
in ole2.h
36081 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
36082 if eval "test \"\${$as_ac_Header+set}\" = set"; then
36083 echo "$as_me:$LINENO: checking for $ac_header" >&5
36084 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
36085 if eval "test \"\${$as_ac_Header+set}\" = set"; then
36086 echo $ECHO_N "(cached) $ECHO_C" >&6
36088 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
36089 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
36091 # Is the header compilable?
36092 echo "$as_me:$LINENO: checking $ac_header usability" >&5
36093 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
36094 cat >conftest.
$ac_ext <<_ACEOF
36097 cat confdefs.h
>>conftest.
$ac_ext
36098 cat >>conftest.
$ac_ext <<_ACEOF
36099 /* end confdefs.h. */
36100 $ac_includes_default
36101 #include <$ac_header>
36103 rm -f conftest.
$ac_objext
36104 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36105 (eval $ac_compile) 2>conftest.er1
36107 grep -v '^ *+' conftest.er1
>conftest.err
36109 cat conftest.err
>&5
36110 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36111 (exit $ac_status); } &&
36112 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
36113 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36114 (eval $ac_try) 2>&5
36116 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36117 (exit $ac_status); }; } &&
36118 { ac_try
='test -s conftest.$ac_objext'
36119 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36120 (eval $ac_try) 2>&5
36122 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36123 (exit $ac_status); }; }; then
36124 ac_header_compiler
=yes
36126 echo "$as_me: failed program was:" >&5
36127 sed 's/^/| /' conftest.
$ac_ext >&5
36129 ac_header_compiler
=no
36131 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
36132 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
36133 echo "${ECHO_T}$ac_header_compiler" >&6
36135 # Is the header present?
36136 echo "$as_me:$LINENO: checking $ac_header presence" >&5
36137 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
36138 cat >conftest.
$ac_ext <<_ACEOF
36141 cat confdefs.h
>>conftest.
$ac_ext
36142 cat >>conftest.
$ac_ext <<_ACEOF
36143 /* end confdefs.h. */
36144 #include <$ac_header>
36146 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
36147 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
36149 grep -v '^ *+' conftest.er1
>conftest.err
36151 cat conftest.err
>&5
36152 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36153 (exit $ac_status); } >/dev
/null
; then
36154 if test -s conftest.err
; then
36155 ac_cpp_err
=$ac_c_preproc_warn_flag
36156 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
36163 if test -z "$ac_cpp_err"; then
36164 ac_header_preproc
=yes
36166 echo "$as_me: failed program was:" >&5
36167 sed 's/^/| /' conftest.
$ac_ext >&5
36169 ac_header_preproc
=no
36171 rm -f conftest.err conftest.
$ac_ext
36172 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
36173 echo "${ECHO_T}$ac_header_preproc" >&6
36175 # So? What about this header?
36176 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
36178 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
36179 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
36180 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
36181 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
36182 ac_header_preproc
=yes
36185 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
36186 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
36187 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
36188 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
36189 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
36190 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
36191 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
36192 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
36193 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
36194 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
36195 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
36196 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
36199 ## ----------------------------------------- ##
36200 ## Report this to wx-dev@lists.wxwindows.org ##
36201 ## ----------------------------------------- ##
36204 sed "s/^/$as_me: WARNING: /" >&2
36207 echo "$as_me:$LINENO: checking for $ac_header" >&5
36208 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
36209 if eval "test \"\${$as_ac_Header+set}\" = set"; then
36210 echo $ECHO_N "(cached) $ECHO_C" >&6
36212 eval "$as_ac_Header=\$ac_header_preproc"
36214 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
36215 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
36218 if test `eval echo '${'$as_ac_Header'}'` = yes; then
36219 cat >>confdefs.h
<<_ACEOF
36220 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
36228 if test "$ac_cv_header_ole2_h" = "yes" ; then
36229 if test "$GCC" = yes ; then
36233 ac_cpp
='$CXXCPP $CPPFLAGS'
36234 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36235 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36236 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
36239 echo "$as_me:$LINENO: checking if g++ requires -fvtable-thunks" >&5
36240 echo $ECHO_N "checking if g++ requires -fvtable-thunks... $ECHO_C" >&6
36241 cat >conftest.
$ac_ext <<_ACEOF
36244 cat confdefs.h
>>conftest.
$ac_ext
36245 cat >>conftest.
$ac_ext <<_ACEOF
36246 /* end confdefs.h. */
36247 #include <windows.h>
36257 rm -f conftest.
$ac_objext
36258 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36259 (eval $ac_compile) 2>conftest.er1
36261 grep -v '^ *+' conftest.er1
>conftest.err
36263 cat conftest.err
>&5
36264 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36265 (exit $ac_status); } &&
36266 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
36267 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36268 (eval $ac_try) 2>&5
36270 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36271 (exit $ac_status); }; } &&
36272 { ac_try
='test -s conftest.$ac_objext'
36273 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36274 (eval $ac_try) 2>&5
36276 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36277 (exit $ac_status); }; }; then
36278 echo "$as_me:$LINENO: result: no" >&5
36279 echo "${ECHO_T}no" >&6
36281 echo "$as_me: failed program was:" >&5
36282 sed 's/^/| /' conftest.
$ac_ext >&5
36284 echo "$as_me:$LINENO: result: yes" >&5
36285 echo "${ECHO_T}yes" >&6
36286 CODE_GEN_FLAGS_CXX
="$CODE_GEN_FLAGS_CXX -fvtable-thunks"
36288 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
36290 ac_cpp
='$CPP $CPPFLAGS'
36291 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36292 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36293 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
36295 ALL_OBJECTS
="$ALL_OBJECTS \$(OLEOBJS)"
36296 LIBS
=" -lrpcrt4 -loleaut32 -lole32 -luuid$LIBS"
36297 if test "$wxUSE_OLE" = "yes" ; then
36298 cat >>confdefs.h
<<\_ACEOF
36299 #define wxUSE_OLE 1
36305 if test "$wxUSE_DATAOBJ" = "yes" ; then
36306 cat >>confdefs.h
<<\_ACEOF
36307 #define wxUSE_DATAOBJ 1
36312 { echo "$as_me:$LINENO: WARNING: Some features disabled because OLE headers not found" >&5
36313 echo "$as_me: WARNING: Some features disabled because OLE headers not found" >&2;}
36316 wxUSE_DRAG_AND_DROP
=no
36321 if test "$wxUSE_METAFILE" = "yes"; then
36322 cat >>confdefs.h
<<\_ACEOF
36323 #define wxUSE_METAFILE 1
36327 cat >>confdefs.h
<<\_ACEOF
36328 #define wxUSE_ENH_METAFILE 1
36334 if test "$wxUSE_IPC" = "yes"; then
36335 if test "$wxUSE_SOCKETS" != "yes"; then
36336 { echo "$as_me:$LINENO: WARNING: wxWindows IPC classes require sockets... disabled" >&5
36337 echo "$as_me: WARNING: wxWindows IPC classes require sockets... disabled" >&2;}
36340 cat >>confdefs.h
<<\_ACEOF
36341 #define wxUSE_IPC 1
36346 if test "$wxUSE_CLIPBOARD" = "yes"; then
36347 if test "$wxUSE_MGL" = 1; then
36348 { echo "$as_me:$LINENO: WARNING: Clipboard not yet supported under MGL... disabled" >&5
36349 echo "$as_me: WARNING: Clipboard not yet supported under MGL... disabled" >&2;}
36353 if test "$wxUSE_CLIPBOARD" = "yes"; then
36354 cat >>confdefs.h
<<\_ACEOF
36355 #define wxUSE_CLIPBOARD 1
36359 cat >>confdefs.h
<<\_ACEOF
36360 #define wxUSE_DATAOBJ 1
36366 if test "$wxUSE_DRAG_AND_DROP" = "yes" ; then
36367 if test "$wxUSE_GTK" = 1; then
36368 if test "$WXGTK12" != 1; then
36369 { echo "$as_me:$LINENO: WARNING: Drag and drop is only supported under GTK+ 1.2... disabled" >&5
36370 echo "$as_me: WARNING: Drag and drop is only supported under GTK+ 1.2... disabled" >&2;}
36371 wxUSE_DRAG_AND_DROP
=no
36375 if test "$wxUSE_MOTIF" = 1; then
36376 { echo "$as_me:$LINENO: WARNING: Drag and drop not yet supported under Motif... disabled" >&5
36377 echo "$as_me: WARNING: Drag and drop not yet supported under Motif... disabled" >&2;}
36378 wxUSE_DRAG_AND_DROP
=no
36381 if test "$wxUSE_X11" = 1; then
36382 { echo "$as_me:$LINENO: WARNING: Drag and drop not yet supported under X11... disabled" >&5
36383 echo "$as_me: WARNING: Drag and drop not yet supported under X11... disabled" >&2;}
36384 wxUSE_DRAG_AND_DROP
=no
36387 if test "$wxUSE_MGL" = 1; then
36388 { echo "$as_me:$LINENO: WARNING: Drag and drop not yet supported under MGL... disabled" >&5
36389 echo "$as_me: WARNING: Drag and drop not yet supported under MGL... disabled" >&2;}
36390 wxUSE_DRAG_AND_DROP
=no
36393 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
36394 cat >>confdefs.h
<<\_ACEOF
36395 #define wxUSE_DRAG_AND_DROP 1
36402 if test "$wxUSE_DRAG_AND_DROP" = "yes" -o "$wxUSE_CLIPBOARD" = "yes"; then
36403 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS dnd"
36406 if test "$wxUSE_SPLINES" = "yes" ; then
36407 cat >>confdefs.h
<<\_ACEOF
36408 #define wxUSE_SPLINES 1
36415 if test "$wxUSE_CONTROLS" = "yes"; then
36419 if test "$wxUSE_ACCEL" = "yes"; then
36420 cat >>confdefs.h
<<\_ACEOF
36421 #define wxUSE_ACCEL 1
36427 if test "$wxUSE_BUTTON" = "yes"; then
36428 cat >>confdefs.h
<<\_ACEOF
36429 #define wxUSE_BUTTON 1
36435 if test "$wxUSE_BMPBUTTON" = "yes"; then
36436 cat >>confdefs.h
<<\_ACEOF
36437 #define wxUSE_BMPBUTTON 1
36443 if test "$wxUSE_CALCTRL" = "yes"; then
36444 cat >>confdefs.h
<<\_ACEOF
36445 #define wxUSE_CALENDARCTRL 1
36449 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS calendar"
36452 if test "$wxUSE_CARET" = "yes"; then
36453 cat >>confdefs.h
<<\_ACEOF
36454 #define wxUSE_CARET 1
36458 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS caret"
36461 if test "$wxUSE_COMBOBOX" = "yes"; then
36462 cat >>confdefs.h
<<\_ACEOF
36463 #define wxUSE_COMBOBOX 1
36469 if test "$wxUSE_CHOICE" = "yes"; then
36470 cat >>confdefs.h
<<\_ACEOF
36471 #define wxUSE_CHOICE 1
36477 if test "$wxUSE_CHECKBOX" = "yes"; then
36478 cat >>confdefs.h
<<\_ACEOF
36479 #define wxUSE_CHECKBOX 1
36485 if test "$wxUSE_CHECKLST" = "yes"; then
36486 cat >>confdefs.h
<<\_ACEOF
36487 #define wxUSE_CHECKLISTBOX 1
36491 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS checklst"
36494 if test "$wxUSE_DISPLAY" = "yes"; then
36495 cat >>confdefs.h
<<\_ACEOF
36496 #define wxUSE_DISPLAY 1
36499 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS display"
36502 if test "$wxUSE_GAUGE" = "yes"; then
36503 cat >>confdefs.h
<<\_ACEOF
36504 #define wxUSE_GAUGE 1
36510 if test "$wxUSE_GRID" = "yes"; then
36511 cat >>confdefs.h
<<\_ACEOF
36512 #define wxUSE_GRID 1
36516 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS grid"
36519 if test "$wxUSE_IMAGLIST" = "yes"; then
36520 cat >>confdefs.h
<<\_ACEOF
36521 #define wxUSE_IMAGLIST 1
36526 if test "$wxUSE_LISTBOOK" = "yes"; then
36527 cat >>confdefs.h
<<\_ACEOF
36528 #define wxUSE_LISTBOOK 1
36534 if test "$wxUSE_LISTBOX" = "yes"; then
36535 cat >>confdefs.h
<<\_ACEOF
36536 #define wxUSE_LISTBOX 1
36542 if test "$wxUSE_LISTCTRL" = "yes"; then
36543 if test "$wxUSE_IMAGLIST" = "yes"; then
36544 cat >>confdefs.h
<<\_ACEOF
36545 #define wxUSE_LISTCTRL 1
36549 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS listctrl"
36551 { echo "$as_me:$LINENO: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&5
36552 echo "$as_me: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&2;}
36556 if test "$wxUSE_NOTEBOOK" = "yes"; then
36557 cat >>confdefs.h
<<\_ACEOF
36558 #define wxUSE_NOTEBOOK 1
36562 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS notebook"
36566 if test "$wxUSE_RADIOBOX" = "yes"; then
36567 cat >>confdefs.h
<<\_ACEOF
36568 #define wxUSE_RADIOBOX 1
36574 if test "$wxUSE_RADIOBTN" = "yes"; then
36575 cat >>confdefs.h
<<\_ACEOF
36576 #define wxUSE_RADIOBTN 1
36582 if test "$wxUSE_SASH" = "yes"; then
36583 cat >>confdefs.h
<<\_ACEOF
36584 #define wxUSE_SASH 1
36587 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS sashtest"
36590 if test "$wxUSE_SCROLLBAR" = "yes"; then
36591 cat >>confdefs.h
<<\_ACEOF
36592 #define wxUSE_SCROLLBAR 1
36596 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS scroll scrollsub"
36599 if test "$wxUSE_SLIDER" = "yes"; then
36600 cat >>confdefs.h
<<\_ACEOF
36601 #define wxUSE_SLIDER 1
36607 if test "$wxUSE_SPINBTN" = "yes"; then
36608 cat >>confdefs.h
<<\_ACEOF
36609 #define wxUSE_SPINBTN 1
36615 if test "$wxUSE_SPINCTRL" = "yes"; then
36616 cat >>confdefs.h
<<\_ACEOF
36617 #define wxUSE_SPINCTRL 1
36623 if test "$wxUSE_SPLITTER" = "yes"; then
36624 cat >>confdefs.h
<<\_ACEOF
36625 #define wxUSE_SPLITTER 1
36628 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS splitter"
36631 if test "$wxUSE_STATBMP" = "yes"; then
36632 cat >>confdefs.h
<<\_ACEOF
36633 #define wxUSE_STATBMP 1
36639 if test "$wxUSE_STATBOX" = "yes"; then
36640 cat >>confdefs.h
<<\_ACEOF
36641 #define wxUSE_STATBOX 1
36647 if test "$wxUSE_STATTEXT" = "yes"; then
36648 cat >>confdefs.h
<<\_ACEOF
36649 #define wxUSE_STATTEXT 1
36655 if test "$wxUSE_STATLINE" = "yes"; then
36656 cat >>confdefs.h
<<\_ACEOF
36657 #define wxUSE_STATLINE 1
36663 if test "$wxUSE_STATUSBAR" = "yes"; then
36664 cat >>confdefs.h
<<\_ACEOF
36665 #define wxUSE_STATUSBAR 1
36670 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS statbar"
36673 if test "$wxUSE_TABDIALOG" = "yes"; then
36674 cat >>confdefs.h
<<\_ACEOF
36675 #define wxUSE_TAB_DIALOG 1
36678 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS tab"
36681 if test "$wxUSE_TEXTCTRL" = "yes"; then
36682 cat >>confdefs.h
<<\_ACEOF
36683 #define wxUSE_TEXTCTRL 1
36687 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS text"
36690 if test "$wxUSE_TOGGLEBTN" = "yes"; then
36691 if test "$wxUSE_COCOA" = 1 ; then
36692 { echo "$as_me:$LINENO: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&5
36693 echo "$as_me: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&2;}
36696 if test "$wxUSE_UNIVERSAL" = "yes"; then
36697 { echo "$as_me:$LINENO: WARNING: Toggle button not yet supported under wxUniversal... disabled" >&5
36698 echo "$as_me: WARNING: Toggle button not yet supported under wxUniversal... disabled" >&2;}
36702 if test "$wxUSE_TOGGLEBTN" = "yes"; then
36703 cat >>confdefs.h
<<\_ACEOF
36704 #define wxUSE_TOGGLEBTN 1
36711 if test "$wxUSE_TOOLBAR_SIMPLE" = "yes"; then
36712 cat >>confdefs.h
<<\_ACEOF
36713 #define wxUSE_TOOLBAR_SIMPLE 1
36716 wxUSE_TOOLBAR
="yes"
36720 if test "$wxUSE_TOOLBAR" = "yes"; then
36721 cat >>confdefs.h
<<\_ACEOF
36722 #define wxUSE_TOOLBAR 1
36727 if test "$wxUSE_TOOLBAR_SIMPLE" != "yes"; then
36728 wxUSE_TOOLBAR_NATIVE
="yes"
36731 if test "$wxUSE_TOOLBAR_NATIVE" = "yes"; then
36732 cat >>confdefs.h
<<\_ACEOF
36733 #define wxUSE_TOOLBAR_NATIVE 1
36739 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS toolbar"
36742 if test "$wxUSE_TOOLTIPS" = "yes"; then
36743 if test "$wxUSE_MOTIF" = 1; then
36744 { echo "$as_me:$LINENO: WARNING: wxTooltip not supported yet under Motif... disabled" >&5
36745 echo "$as_me: WARNING: wxTooltip not supported yet under Motif... disabled" >&2;}
36747 if test "$wxUSE_UNIVERSAL" = "yes"; then
36748 { echo "$as_me:$LINENO: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&5
36749 echo "$as_me: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&2;}
36751 cat >>confdefs.h
<<\_ACEOF
36752 #define wxUSE_TOOLTIPS 1
36759 if test "$wxUSE_TREECTRL" = "yes"; then
36760 if test "$wxUSE_IMAGLIST" = "yes"; then
36761 cat >>confdefs.h
<<\_ACEOF
36762 #define wxUSE_TREECTRL 1
36766 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS treectrl"
36768 { echo "$as_me:$LINENO: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&5
36769 echo "$as_me: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&2;}
36773 if test "$wxUSE_POPUPWIN" = "yes"; then
36774 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1 ; then
36775 { echo "$as_me:$LINENO: WARNING: Popup window not yet supported under Mac OS X... disabled" >&5
36776 echo "$as_me: WARNING: Popup window not yet supported under Mac OS X... disabled" >&2;}
36778 if test "$wxUSE_PM" = 1; then
36779 { echo "$as_me:$LINENO: WARNING: wxPopupWindow not yet supported under PM... disabled" >&5
36780 echo "$as_me: WARNING: wxPopupWindow not yet supported under PM... disabled" >&2;}
36782 cat >>confdefs.h
<<\_ACEOF
36783 #define wxUSE_POPUPWIN 1
36792 if test "$wxUSE_TIPWINDOW" = "yes"; then
36793 if test "$wxUSE_PM" = 1; then
36794 { echo "$as_me:$LINENO: WARNING: wxTipWindow not yet supported under PM... disabled" >&5
36795 echo "$as_me: WARNING: wxTipWindow not yet supported under PM... disabled" >&2;}
36797 cat >>confdefs.h
<<\_ACEOF
36798 #define wxUSE_TIPWINDOW 1
36804 if test "$USES_CONTROLS" = 1; then
36805 cat >>confdefs.h
<<\_ACEOF
36806 #define wxUSE_CONTROLS 1
36812 if test "$wxUSE_ACCESSIBILITY" = "yes"; then
36813 cat >>confdefs.h
<<\_ACEOF
36814 #define wxUSE_ACCESSIBILITY 1
36817 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS access"
36820 if test "$wxUSE_DRAGIMAGE" = "yes"; then
36821 cat >>confdefs.h
<<\_ACEOF
36822 #define wxUSE_DRAGIMAGE 1
36825 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS dragimag"
36828 if test "$wxUSE_EXCEPTIONS" = "yes"; then
36829 cat >>confdefs.h
<<\_ACEOF
36830 #define wxUSE_EXCEPTIONS 1
36836 if test "$wxUSE_HTML" = "yes"; then
36837 cat >>confdefs.h
<<\_ACEOF
36838 #define wxUSE_HTML 1
36842 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS html html/about html/help html/helpview html/printing html/test html/virtual html/widget html/zip htlbox"
36845 if test "$wxUSE_MENUS" = "yes"; then
36846 cat >>confdefs.h
<<\_ACEOF
36847 #define wxUSE_MENUS 1
36850 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS menu"
36853 if test "$wxUSE_METAFILE" = "yes"; then
36854 cat >>confdefs.h
<<\_ACEOF
36855 #define wxUSE_METAFILE 1
36860 if test "$wxUSE_MIMETYPE" = "yes"; then
36861 cat >>confdefs.h
<<\_ACEOF
36862 #define wxUSE_MIMETYPE 1
36867 if test "$wxUSE_MINIFRAME" = "yes"; then
36868 cat >>confdefs.h
<<\_ACEOF
36869 #define wxUSE_MINIFRAME 1
36872 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS minifram"
36875 if test "$wxUSE_SYSTEM_OPTIONS" = "yes"; then
36876 cat >>confdefs.h
<<\_ACEOF
36877 #define wxUSE_SYSTEM_OPTIONS 1
36880 if test "$TOOLKIT" = "MSW" -o "$TOOLKIT" = "GTK" -o "$TOOLKIT" = "X11" -o \
36881 "$TOOLKIT" = "MOTIF"; then
36882 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS taskbar"
36887 if test "$wxUSE_VALIDATORS" = "yes"; then
36888 cat >>confdefs.h
<<\_ACEOF
36889 #define wxUSE_VALIDATORS 1
36892 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS validate"
36895 if test "$wxUSE_PALETTE" = "yes" ; then
36896 cat >>confdefs.h
<<\_ACEOF
36897 #define wxUSE_PALETTE 1
36902 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_MSLU" = "yes" ; then
36903 LIBS
=" -lunicows $LIBS"
36907 if test "$wxUSE_IMAGE" = "yes" ; then
36908 cat >>confdefs.h
<<\_ACEOF
36909 #define wxUSE_IMAGE 1
36913 if test "$wxUSE_GIF" = "yes" ; then
36914 cat >>confdefs.h
<<\_ACEOF
36915 #define wxUSE_GIF 1
36920 if test "$wxUSE_PCX" = "yes" ; then
36921 cat >>confdefs.h
<<\_ACEOF
36922 #define wxUSE_PCX 1
36927 if test "$wxUSE_IFF" = "yes" ; then
36928 cat >>confdefs.h
<<\_ACEOF
36929 #define wxUSE_IFF 1
36934 if test "$wxUSE_PNM" = "yes" ; then
36935 cat >>confdefs.h
<<\_ACEOF
36936 #define wxUSE_PNM 1
36941 if test "$wxUSE_XPM" = "yes" ; then
36942 cat >>confdefs.h
<<\_ACEOF
36943 #define wxUSE_XPM 1
36948 if test "$wxUSE_ICO_CUR" = "yes" ; then
36949 cat >>confdefs.h
<<\_ACEOF
36950 #define wxUSE_ICO_CUR 1
36957 if test "$wxUSE_CHOICEDLG" = "yes"; then
36958 cat >>confdefs.h
<<\_ACEOF
36959 #define wxUSE_CHOICEDLG 1
36964 if test "$wxUSE_COLOURDLG" = "yes"; then
36965 cat >>confdefs.h
<<\_ACEOF
36966 #define wxUSE_COLOURDLG 1
36971 if test "$wxUSE_FILEDLG" = "yes"; then
36972 cat >>confdefs.h
<<\_ACEOF
36973 #define wxUSE_FILEDLG 1
36978 if test "$wxUSE_FINDREPLDLG" = "yes"; then
36979 cat >>confdefs.h
<<\_ACEOF
36980 #define wxUSE_FINDREPLDLG 1
36985 if test "$wxUSE_FONTDLG" = "yes"; then
36986 cat >>confdefs.h
<<\_ACEOF
36987 #define wxUSE_FONTDLG 1
36992 if test "$wxUSE_DIRDLG" = "yes"; then
36993 if test "$wxUSE_TREECTRL" != "yes"; then
36994 { echo "$as_me:$LINENO: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&5
36995 echo "$as_me: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&2;}
36997 cat >>confdefs.h
<<\_ACEOF
36998 #define wxUSE_DIRDLG 1
37004 if test "$wxUSE_MSGDLG" = "yes"; then
37005 cat >>confdefs.h
<<\_ACEOF
37006 #define wxUSE_MSGDLG 1
37011 if test "$wxUSE_NUMBERDLG" = "yes"; then
37012 cat >>confdefs.h
<<\_ACEOF
37013 #define wxUSE_NUMBERDLG 1
37018 if test "$wxUSE_PROGRESSDLG" = "yes"; then
37019 if test "$wxUSE_CONSTRAINTS" != "yes"; then
37020 { echo "$as_me:$LINENO: WARNING: wxProgressDialog requires constraints so it won't be compiled without them" >&5
37021 echo "$as_me: WARNING: wxProgressDialog requires constraints so it won't be compiled without them" >&2;}
37023 cat >>confdefs.h
<<\_ACEOF
37024 #define wxUSE_PROGRESSDLG 1
37030 if test "$wxUSE_SPLASH" = "yes"; then
37031 cat >>confdefs.h
<<\_ACEOF
37032 #define wxUSE_SPLASH 1
37037 if test "$wxUSE_STARTUP_TIPS" = "yes"; then
37038 if test "$wxUSE_CONSTRAINTS" != "yes"; then
37039 { echo "$as_me:$LINENO: WARNING: Startup tips requires constraints and won't be compiled without them" >&5
37040 echo "$as_me: WARNING: Startup tips requires constraints and won't be compiled without them" >&2;}
37042 cat >>confdefs.h
<<\_ACEOF
37043 #define wxUSE_STARTUP_TIPS 1
37049 if test "$wxUSE_TEXTDLG" = "yes"; then
37050 cat >>confdefs.h
<<\_ACEOF
37051 #define wxUSE_TEXTDLG 1
37056 if test "$wxUSE_WIZARDDLG" = "yes"; then
37057 cat >>confdefs.h
<<\_ACEOF
37058 #define wxUSE_WIZARDDLG 1
37061 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS wizard"
37065 if test "$cross_compiling" = "yes"; then
37068 OSINFO
=`uname -s -r -m`
37069 OSINFO
="\"$OSINFO\""
37072 cat >>confdefs.h
<<_ACEOF
37073 #define WXWIN_OS_DESCRIPTION $OSINFO
37078 if test "x$prefix" != "xNONE"; then
37081 wxPREFIX
=$ac_default_prefix
37084 cat >>confdefs.h
<<_ACEOF
37085 #define wxINSTALL_PREFIX "$wxPREFIX"
37089 top_builddir_wxconfig
=`pwd`
37093 CORE_BASE_LIBS
="net base"
37094 CORE_GUI_LIBS
="adv core"
37096 if test "$wxUSE_XML" = "yes" ; then
37097 CORE_BASE_LIBS
="xml $CORE_BASE_LIBS"
37099 if test "$wxUSE_ODBC" != "no" ; then
37100 CORE_BASE_LIBS
="odbc $CORE_BASE_LIBS"
37101 CORE_GUI_LIBS
="dbgrid $CORE_GUI_LIBS"
37103 if test "$wxUSE_HTML" = "yes" ; then
37104 CORE_GUI_LIBS
="html $CORE_GUI_LIBS"
37107 if test "$wxUSE_GUI" != "yes"; then
37118 if test "$wxUSE_MAC" = 1 ; then
37119 LDFLAGS
="$LDFLAGS -framework Carbon -framework System"
37121 if test "$wxUSE_COCOA" = 1 ; then
37122 LDFLAGS
="$LDFLAGS -framework Cocoa -framework System"
37126 LIBS
="$ZLIB_LINK $POSIX4_LINK $INET_LINK $WCHAR_LINK $DL_LINK $LIBS"
37133 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37134 echo "$as_me:$LINENO: checking for $ac_func" >&5
37135 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
37136 if eval "test \"\${$as_ac_var+set}\" = set"; then
37137 echo $ECHO_N "(cached) $ECHO_C" >&6
37139 cat >conftest.
$ac_ext <<_ACEOF
37142 cat confdefs.h
>>conftest.
$ac_ext
37143 cat >>conftest.
$ac_ext <<_ACEOF
37144 /* end confdefs.h. */
37145 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37146 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37147 #define $ac_func innocuous_$ac_func
37149 /* System header to define __stub macros and hopefully few prototypes,
37150 which can conflict with char $ac_func (); below.
37151 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37152 <limits.h> exists even on freestanding compilers. */
37155 # include <limits.h>
37157 # include <assert.h>
37162 /* Override any gcc2 internal prototype to avoid an error. */
37167 /* We use char because int might match the return type of a gcc2
37168 builtin and then its argument prototype would still apply. */
37170 /* The GNU C library defines this for functions which it implements
37171 to always fail with ENOSYS. Some functions are actually named
37172 something starting with __ and the normal name is an alias. */
37173 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
37176 char (*f) () = $ac_func;
37185 return f != $ac_func;
37190 rm -f conftest.
$ac_objext conftest
$ac_exeext
37191 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37192 (eval $ac_link) 2>conftest.er1
37194 grep -v '^ *+' conftest.er1
>conftest.err
37196 cat conftest.err
>&5
37197 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37198 (exit $ac_status); } &&
37199 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
37200 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37201 (eval $ac_try) 2>&5
37203 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37204 (exit $ac_status); }; } &&
37205 { ac_try
='test -s conftest$ac_exeext'
37206 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37207 (eval $ac_try) 2>&5
37209 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37210 (exit $ac_status); }; }; then
37211 eval "$as_ac_var=yes"
37213 echo "$as_me: failed program was:" >&5
37214 sed 's/^/| /' conftest.
$ac_ext >&5
37216 eval "$as_ac_var=no"
37218 rm -f conftest.err conftest.
$ac_objext \
37219 conftest
$ac_exeext conftest.
$ac_ext
37221 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
37222 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
37223 if test `eval echo '${'$as_ac_var'}'` = yes; then
37224 cat >>confdefs.h
<<_ACEOF
37225 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37232 for ac_func
in floor
37234 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37235 echo "$as_me:$LINENO: checking for $ac_func" >&5
37236 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
37237 if eval "test \"\${$as_ac_var+set}\" = set"; then
37238 echo $ECHO_N "(cached) $ECHO_C" >&6
37240 cat >conftest.
$ac_ext <<_ACEOF
37243 cat confdefs.h
>>conftest.
$ac_ext
37244 cat >>conftest.
$ac_ext <<_ACEOF
37245 /* end confdefs.h. */
37246 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37247 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37248 #define $ac_func innocuous_$ac_func
37250 /* System header to define __stub macros and hopefully few prototypes,
37251 which can conflict with char $ac_func (); below.
37252 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37253 <limits.h> exists even on freestanding compilers. */
37256 # include <limits.h>
37258 # include <assert.h>
37263 /* Override any gcc2 internal prototype to avoid an error. */
37268 /* We use char because int might match the return type of a gcc2
37269 builtin and then its argument prototype would still apply. */
37271 /* The GNU C library defines this for functions which it implements
37272 to always fail with ENOSYS. Some functions are actually named
37273 something starting with __ and the normal name is an alias. */
37274 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
37277 char (*f) () = $ac_func;
37286 return f != $ac_func;
37291 rm -f conftest.
$ac_objext conftest
$ac_exeext
37292 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37293 (eval $ac_link) 2>conftest.er1
37295 grep -v '^ *+' conftest.er1
>conftest.err
37297 cat conftest.err
>&5
37298 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37299 (exit $ac_status); } &&
37300 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
37301 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37302 (eval $ac_try) 2>&5
37304 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37305 (exit $ac_status); }; } &&
37306 { ac_try
='test -s conftest$ac_exeext'
37307 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37308 (eval $ac_try) 2>&5
37310 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37311 (exit $ac_status); }; }; then
37312 eval "$as_ac_var=yes"
37314 echo "$as_me: failed program was:" >&5
37315 sed 's/^/| /' conftest.
$ac_ext >&5
37317 eval "$as_ac_var=no"
37319 rm -f conftest.err conftest.
$ac_objext \
37320 conftest
$ac_exeext conftest.
$ac_ext
37322 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
37323 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
37324 if test `eval echo '${'$as_ac_var'}'` = yes; then
37325 cat >>confdefs.h
<<_ACEOF
37326 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37332 echo "$as_me:$LINENO: checking if floating point functions link without -lm" >&5
37333 echo $ECHO_N "checking if floating point functions link without -lm... $ECHO_C" >&6
37334 if test "$have_cos" = 1 -a "$have_floor" = 1; then
37335 echo "$as_me:$LINENO: result: yes" >&5
37336 echo "${ECHO_T}yes" >&6
37338 echo "$as_me:$LINENO: result: no" >&5
37339 echo "${ECHO_T}no" >&6
37341 # use different functions to avoid configure caching
37347 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37348 echo "$as_me:$LINENO: checking for $ac_func" >&5
37349 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
37350 if eval "test \"\${$as_ac_var+set}\" = set"; then
37351 echo $ECHO_N "(cached) $ECHO_C" >&6
37353 cat >conftest.
$ac_ext <<_ACEOF
37356 cat confdefs.h
>>conftest.
$ac_ext
37357 cat >>conftest.
$ac_ext <<_ACEOF
37358 /* end confdefs.h. */
37359 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37360 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37361 #define $ac_func innocuous_$ac_func
37363 /* System header to define __stub macros and hopefully few prototypes,
37364 which can conflict with char $ac_func (); below.
37365 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37366 <limits.h> exists even on freestanding compilers. */
37369 # include <limits.h>
37371 # include <assert.h>
37376 /* Override any gcc2 internal prototype to avoid an error. */
37381 /* We use char because int might match the return type of a gcc2
37382 builtin and then its argument prototype would still apply. */
37384 /* The GNU C library defines this for functions which it implements
37385 to always fail with ENOSYS. Some functions are actually named
37386 something starting with __ and the normal name is an alias. */
37387 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
37390 char (*f) () = $ac_func;
37399 return f != $ac_func;
37404 rm -f conftest.
$ac_objext conftest
$ac_exeext
37405 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37406 (eval $ac_link) 2>conftest.er1
37408 grep -v '^ *+' conftest.er1
>conftest.err
37410 cat conftest.err
>&5
37411 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37412 (exit $ac_status); } &&
37413 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
37414 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37415 (eval $ac_try) 2>&5
37417 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37418 (exit $ac_status); }; } &&
37419 { ac_try
='test -s conftest$ac_exeext'
37420 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37421 (eval $ac_try) 2>&5
37423 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37424 (exit $ac_status); }; }; then
37425 eval "$as_ac_var=yes"
37427 echo "$as_me: failed program was:" >&5
37428 sed 's/^/| /' conftest.
$ac_ext >&5
37430 eval "$as_ac_var=no"
37432 rm -f conftest.err conftest.
$ac_objext \
37433 conftest
$ac_exeext conftest.
$ac_ext
37435 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
37436 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
37437 if test `eval echo '${'$as_ac_var'}'` = yes; then
37438 cat >>confdefs.h
<<_ACEOF
37439 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37446 for ac_func
in ceil
37448 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37449 echo "$as_me:$LINENO: checking for $ac_func" >&5
37450 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
37451 if eval "test \"\${$as_ac_var+set}\" = set"; then
37452 echo $ECHO_N "(cached) $ECHO_C" >&6
37454 cat >conftest.
$ac_ext <<_ACEOF
37457 cat confdefs.h
>>conftest.
$ac_ext
37458 cat >>conftest.
$ac_ext <<_ACEOF
37459 /* end confdefs.h. */
37460 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37461 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37462 #define $ac_func innocuous_$ac_func
37464 /* System header to define __stub macros and hopefully few prototypes,
37465 which can conflict with char $ac_func (); below.
37466 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37467 <limits.h> exists even on freestanding compilers. */
37470 # include <limits.h>
37472 # include <assert.h>
37477 /* Override any gcc2 internal prototype to avoid an error. */
37482 /* We use char because int might match the return type of a gcc2
37483 builtin and then its argument prototype would still apply. */
37485 /* The GNU C library defines this for functions which it implements
37486 to always fail with ENOSYS. Some functions are actually named
37487 something starting with __ and the normal name is an alias. */
37488 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
37491 char (*f) () = $ac_func;
37500 return f != $ac_func;
37505 rm -f conftest.
$ac_objext conftest
$ac_exeext
37506 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37507 (eval $ac_link) 2>conftest.er1
37509 grep -v '^ *+' conftest.er1
>conftest.err
37511 cat conftest.err
>&5
37512 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37513 (exit $ac_status); } &&
37514 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
37515 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37516 (eval $ac_try) 2>&5
37518 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37519 (exit $ac_status); }; } &&
37520 { ac_try
='test -s conftest$ac_exeext'
37521 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37522 (eval $ac_try) 2>&5
37524 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37525 (exit $ac_status); }; }; then
37526 eval "$as_ac_var=yes"
37528 echo "$as_me: failed program was:" >&5
37529 sed 's/^/| /' conftest.
$ac_ext >&5
37531 eval "$as_ac_var=no"
37533 rm -f conftest.err conftest.
$ac_objext \
37534 conftest
$ac_exeext conftest.
$ac_ext
37536 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
37537 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
37538 if test `eval echo '${'$as_ac_var'}'` = yes; then
37539 cat >>confdefs.h
<<_ACEOF
37540 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37546 echo "$as_me:$LINENO: checking if floating point functions link with -lm" >&5
37547 echo $ECHO_N "checking if floating point functions link with -lm... $ECHO_C" >&6
37548 if test "$have_sin" = 1 -a "$have_ceil" = 1; then
37549 echo "$as_me:$LINENO: result: yes" >&5
37550 echo "${ECHO_T}yes" >&6
37552 echo "$as_me:$LINENO: result: no" >&5
37553 echo "${ECHO_T}no" >&6
37554 # not sure we should warn the user, crash, etc.
37558 if test "$wxUSE_GUI" = "yes"; then
37561 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS artprov controls dialogs \
37562 drawing dynamic erase event exec font image \
37563 minimal propsize rotate shaped widgets render"
37565 if test "$wxUSE_MONOLITHIC" != "yes"; then
37566 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS console"
37569 SAMPLES_SUBDIRS
="console"
37573 INCLUDES
="-I\${top_builddir}lib/wx/include/${TOOLCHAIN_NAME} \
37574 -I\${top_srcdir}/include $TOOLKIT_INCLUDE"
37576 if test "$GXX" = yes ; then
37577 CXXWARNINGS
="-Wall"
37580 EXTRA_CFLAGS
="$WXDEBUG $WXODBCFLAG $PROFILE $OPTIMISE"
37582 CPPFLAGS
=`echo $WXDEBUG_DEFINE $INCLUDES $CPPFLAGS | sed 's/ \\+/ /g'`
37583 CFLAGS
=`echo $CODE_GEN_FLAGS $EXTRA_CFLAGS $CFLAGS $CXXWARNINGS | sed 's/ \\+/ /g'`
37584 CXXFLAGS
=`echo $CODE_GEN_FLAGS $CODE_GEN_FLAGS_CXX $EXTRA_CFLAGS $CXXFLAGS $CXXWARNINGS | sed 's/ \+/ /g'`
37587 LIBS
=`echo $LIBS | sed 's/ \+/ /g'`
37588 EXTRALIBS
="$LDFLAGS $LDFLAGS_VERSIONING $LIBS $DMALLOC_LIBS"
37589 EXTRALIBS_XML
="$EXPAT_LINK"
37590 EXTRALIBS_HTML
="$MSPACK_LINK"
37591 EXTRALIBS_ODBC
="$ODBC_LINK"
37592 if test "$wxUSE_GUI" = "yes"; then
37593 EXTRALIBS_GUI
=`echo $GUI_TK_LIBRARY $PNG_LINK $JPEG_LINK $TIFF_LINK | sed 's/ \+/ /g'`
37595 if test "$wxUSE_OPENGL" = "yes"; then
37596 EXTRALIBS_OPENGL
="$LDFLAGS_GL $OPENGL_LIBS"
37599 LDFLAGS
="$LDFLAGS $PROFILE"
37601 if test "$wxUSE_GTK" = 1; then
37604 WXCONFIG_INCLUDE
="$TOOLKIT_INCLUDE"
37607 WXCONFIG_EXTRALIBS
="$LIBS"
37609 if test "$wxUSE_REGEX" = "builtin" ; then
37610 wxconfig_3rdparty
="$wxconfig_3rdparty regex${lib_unicode_suffix}"
37612 if test "$wxUSE_EXPAT" = "builtin" ; then
37613 wxconfig_3rdparty
="$wxconfig_3rdparty expat"
37615 if test "$wxUSE_ODBC" = "builtin" ; then
37616 wxconfig_3rdparty
="$wxconfig_3rdparty odbc"
37618 if test "$wxUSE_LIBTIFF" = "builtin" ; then
37619 wxconfig_3rdparty
="$wxconfig_3rdparty tiff"
37621 if test "$wxUSE_LIBJPEG" = "builtin" ; then
37622 wxconfig_3rdparty
="$wxconfig_3rdparty jpeg"
37624 if test "$wxUSE_LIBPNG" = "builtin" ; then
37625 wxconfig_3rdparty
="$wxconfig_3rdparty png"
37627 if test "$wxUSE_ZLIB" = "builtin" ; then
37628 wxconfig_3rdparty
="$wxconfig_3rdparty zlib"
37630 if test "$wxUSE_ODBC" = "builtin" ; then
37631 wxconfig_3rdparty
="$wxconfig_3rdparty odbc"
37634 for i
in $wxconfig_3rdparty ; do
37635 WXCONFIG_EXTRALIBS
="$WXCONFIG_EXTRALIBS -lwx${i}${lib_debug_suffix}${HOST_SUFFIX}"
37639 if test "x$wxUSE_UNIVERSAL" = "xyes" ; then
37653 if test $wxUSE_MONOLITHIC = "yes" ; then
37659 if test $wxUSE_PLUGINS = "yes" ; then
37665 if test $wxUSE_ODBC != "no" ; then
37671 if test $wxUSE_OFFICIAL_BUILD = "yes" ; then
37697 TOOLKIT_LOWERCASE
=`echo $TOOLKIT | tr "[A-Z]" "[a-z]"`
37705 if test "x$BAKEFILE_HOST" = "x"; then
37706 BAKEFILE_HOST
="${host}"
37709 if test "x$BAKEFILE_CHECK_BASICS" != "xno"; then
37711 if test -n "$ac_tool_prefix"; then
37712 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
37713 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
37714 echo "$as_me:$LINENO: checking for $ac_word" >&5
37715 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
37716 if test "${ac_cv_prog_RANLIB+set}" = set; then
37717 echo $ECHO_N "(cached) $ECHO_C" >&6
37719 if test -n "$RANLIB"; then
37720 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
37722 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
37723 for as_dir
in $PATH
37726 test -z "$as_dir" && as_dir
=.
37727 for ac_exec_ext
in '' $ac_executable_extensions; do
37728 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
37729 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
37730 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
37738 RANLIB
=$ac_cv_prog_RANLIB
37739 if test -n "$RANLIB"; then
37740 echo "$as_me:$LINENO: result: $RANLIB" >&5
37741 echo "${ECHO_T}$RANLIB" >&6
37743 echo "$as_me:$LINENO: result: no" >&5
37744 echo "${ECHO_T}no" >&6
37748 if test -z "$ac_cv_prog_RANLIB"; then
37749 ac_ct_RANLIB
=$RANLIB
37750 # Extract the first word of "ranlib", so it can be a program name with args.
37751 set dummy ranlib
; ac_word
=$2
37752 echo "$as_me:$LINENO: checking for $ac_word" >&5
37753 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
37754 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
37755 echo $ECHO_N "(cached) $ECHO_C" >&6
37757 if test -n "$ac_ct_RANLIB"; then
37758 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
37760 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
37761 for as_dir
in $PATH
37764 test -z "$as_dir" && as_dir
=.
37765 for ac_exec_ext
in '' $ac_executable_extensions; do
37766 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
37767 ac_cv_prog_ac_ct_RANLIB
="ranlib"
37768 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
37774 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB
=":"
37777 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
37778 if test -n "$ac_ct_RANLIB"; then
37779 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
37780 echo "${ECHO_T}$ac_ct_RANLIB" >&6
37782 echo "$as_me:$LINENO: result: no" >&5
37783 echo "${ECHO_T}no" >&6
37786 RANLIB
=$ac_ct_RANLIB
37788 RANLIB
="$ac_cv_prog_RANLIB"
37791 # Find a good install program. We prefer a C program (faster),
37792 # so one script is as good as another. But avoid the broken or
37793 # incompatible versions:
37794 # SysV /etc/install, /usr/sbin/install
37795 # SunOS /usr/etc/install
37796 # IRIX /sbin/install
37798 # AmigaOS /C/install, which installs bootblocks on floppy discs
37799 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
37800 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
37801 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
37802 # OS/2's system install, which has a completely different semantic
37803 # ./install, which can be erroneously created by make from ./install.sh.
37804 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
37805 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
37806 if test -z "$INSTALL"; then
37807 if test "${ac_cv_path_install+set}" = set; then
37808 echo $ECHO_N "(cached) $ECHO_C" >&6
37810 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
37811 for as_dir
in $PATH
37814 test -z "$as_dir" && as_dir
=.
37815 # Account for people who put trailing slashes in PATH elements.
37817 .
/ | .
// | /cC
/* | \
37818 /etc
/* | /usr
/sbin
/* | /usr
/etc
/* | /sbin
/* | /usr
/afsws
/bin
/* | \
37819 ?
:\\/os2
\\/install\\/* | ?
:\\/OS2
\\/INSTALL
\\/* | \
37822 # OSF1 and SCO ODT 3.0 have their own names for install.
37823 # Don't use installbsd from OSF since it installs stuff as root
37825 for ac_prog
in ginstall scoinst
install; do
37826 for ac_exec_ext
in '' $ac_executable_extensions; do
37827 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
37828 if test $ac_prog = install &&
37829 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
37830 # AIX install. It has an incompatible calling convention.
37832 elif test $ac_prog = install &&
37833 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
37834 # program-specific install script used by HP pwplus--don't use.
37837 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
37849 if test "${ac_cv_path_install+set}" = set; then
37850 INSTALL
=$ac_cv_path_install
37852 # As a last resort, use the slow shell script. We don't cache a
37853 # path for INSTALL within a source directory, because that will
37854 # break other packages using the cache if that directory is
37855 # removed, or if the path is relative.
37856 INSTALL
=$ac_install_sh
37859 echo "$as_me:$LINENO: result: $INSTALL" >&5
37860 echo "${ECHO_T}$INSTALL" >&6
37862 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
37863 # It thinks the first close brace ends the variable substitution.
37864 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
37866 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
37868 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
37870 echo "$as_me:$LINENO: checking whether ln -s works" >&5
37871 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
37873 if test "$LN_S" = "ln -s"; then
37874 echo "$as_me:$LINENO: result: yes" >&5
37875 echo "${ECHO_T}yes" >&6
37877 echo "$as_me:$LINENO: result: no, using $LN_S" >&5
37878 echo "${ECHO_T}no, using $LN_S" >&6
37882 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
37883 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
37884 set dummy
${MAKE-make}; ac_make
=`echo "$2" | sed 'y,:./+-,___p_,'`
37885 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
37886 echo $ECHO_N "(cached) $ECHO_C" >&6
37888 cat >conftest.
make <<\_ACEOF
37890 @
echo 'ac_maketemp="$(MAKE)"'
37892 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
37893 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
37894 if test -n "$ac_maketemp"; then
37895 eval ac_cv_prog_make_
${ac_make}_set
=yes
37897 eval ac_cv_prog_make_
${ac_make}_set
=no
37899 rm -f conftest.
make
37901 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
37902 echo "$as_me:$LINENO: result: yes" >&5
37903 echo "${ECHO_T}yes" >&6
37906 echo "$as_me:$LINENO: result: no" >&5
37907 echo "${ECHO_T}no" >&6
37908 SET_MAKE
="MAKE=${MAKE-make}"
37913 if test -n "$ac_tool_prefix"; then
37914 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
37915 set dummy
${ac_tool_prefix}ar; ac_word
=$2
37916 echo "$as_me:$LINENO: checking for $ac_word" >&5
37917 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
37918 if test "${ac_cv_prog_AR+set}" = set; then
37919 echo $ECHO_N "(cached) $ECHO_C" >&6
37921 if test -n "$AR"; then
37922 ac_cv_prog_AR
="$AR" # Let the user override the test.
37924 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
37925 for as_dir
in $PATH
37928 test -z "$as_dir" && as_dir
=.
37929 for ac_exec_ext
in '' $ac_executable_extensions; do
37930 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
37931 ac_cv_prog_AR
="${ac_tool_prefix}ar"
37932 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
37941 if test -n "$AR"; then
37942 echo "$as_me:$LINENO: result: $AR" >&5
37943 echo "${ECHO_T}$AR" >&6
37945 echo "$as_me:$LINENO: result: no" >&5
37946 echo "${ECHO_T}no" >&6
37950 if test -z "$ac_cv_prog_AR"; then
37952 # Extract the first word of "ar", so it can be a program name with args.
37953 set dummy
ar; ac_word
=$2
37954 echo "$as_me:$LINENO: checking for $ac_word" >&5
37955 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
37956 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
37957 echo $ECHO_N "(cached) $ECHO_C" >&6
37959 if test -n "$ac_ct_AR"; then
37960 ac_cv_prog_ac_ct_AR
="$ac_ct_AR" # Let the user override the test.
37962 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
37963 for as_dir
in $PATH
37966 test -z "$as_dir" && as_dir
=.
37967 for ac_exec_ext
in '' $ac_executable_extensions; do
37968 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
37969 ac_cv_prog_ac_ct_AR
="ar"
37970 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
37976 test -z "$ac_cv_prog_ac_ct_AR" && ac_cv_prog_ac_ct_AR
="ar"
37979 ac_ct_AR
=$ac_cv_prog_ac_ct_AR
37980 if test -n "$ac_ct_AR"; then
37981 echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
37982 echo "${ECHO_T}$ac_ct_AR" >&6
37984 echo "$as_me:$LINENO: result: no" >&5
37985 echo "${ECHO_T}no" >&6
37990 AR
="$ac_cv_prog_AR"
37993 if test -n "$ac_tool_prefix"; then
37994 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
37995 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
37996 echo "$as_me:$LINENO: checking for $ac_word" >&5
37997 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
37998 if test "${ac_cv_prog_STRIP+set}" = set; then
37999 echo $ECHO_N "(cached) $ECHO_C" >&6
38001 if test -n "$STRIP"; then
38002 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
38004 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
38005 for as_dir
in $PATH
38008 test -z "$as_dir" && as_dir
=.
38009 for ac_exec_ext
in '' $ac_executable_extensions; do
38010 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
38011 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
38012 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
38020 STRIP
=$ac_cv_prog_STRIP
38021 if test -n "$STRIP"; then
38022 echo "$as_me:$LINENO: result: $STRIP" >&5
38023 echo "${ECHO_T}$STRIP" >&6
38025 echo "$as_me:$LINENO: result: no" >&5
38026 echo "${ECHO_T}no" >&6
38030 if test -z "$ac_cv_prog_STRIP"; then
38032 # Extract the first word of "strip", so it can be a program name with args.
38033 set dummy strip
; ac_word
=$2
38034 echo "$as_me:$LINENO: checking for $ac_word" >&5
38035 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
38036 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
38037 echo $ECHO_N "(cached) $ECHO_C" >&6
38039 if test -n "$ac_ct_STRIP"; then
38040 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
38042 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
38043 for as_dir
in $PATH
38046 test -z "$as_dir" && as_dir
=.
38047 for ac_exec_ext
in '' $ac_executable_extensions; do
38048 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
38049 ac_cv_prog_ac_ct_STRIP
="strip"
38050 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
38056 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP
=":"
38059 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
38060 if test -n "$ac_ct_STRIP"; then
38061 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
38062 echo "${ECHO_T}$ac_ct_STRIP" >&6
38064 echo "$as_me:$LINENO: result: no" >&5
38065 echo "${ECHO_T}no" >&6
38070 STRIP
="$ac_cv_prog_STRIP"
38073 if test -n "$ac_tool_prefix"; then
38074 # Extract the first word of "${ac_tool_prefix}nm", so it can be a program name with args.
38075 set dummy
${ac_tool_prefix}nm
; ac_word
=$2
38076 echo "$as_me:$LINENO: checking for $ac_word" >&5
38077 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
38078 if test "${ac_cv_prog_NM+set}" = set; then
38079 echo $ECHO_N "(cached) $ECHO_C" >&6
38081 if test -n "$NM"; then
38082 ac_cv_prog_NM
="$NM" # Let the user override the test.
38084 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
38085 for as_dir
in $PATH
38088 test -z "$as_dir" && as_dir
=.
38089 for ac_exec_ext
in '' $ac_executable_extensions; do
38090 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
38091 ac_cv_prog_NM
="${ac_tool_prefix}nm"
38092 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
38101 if test -n "$NM"; then
38102 echo "$as_me:$LINENO: result: $NM" >&5
38103 echo "${ECHO_T}$NM" >&6
38105 echo "$as_me:$LINENO: result: no" >&5
38106 echo "${ECHO_T}no" >&6
38110 if test -z "$ac_cv_prog_NM"; then
38112 # Extract the first word of "nm", so it can be a program name with args.
38113 set dummy nm
; ac_word
=$2
38114 echo "$as_me:$LINENO: checking for $ac_word" >&5
38115 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
38116 if test "${ac_cv_prog_ac_ct_NM+set}" = set; then
38117 echo $ECHO_N "(cached) $ECHO_C" >&6
38119 if test -n "$ac_ct_NM"; then
38120 ac_cv_prog_ac_ct_NM
="$ac_ct_NM" # Let the user override the test.
38122 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
38123 for as_dir
in $PATH
38126 test -z "$as_dir" && as_dir
=.
38127 for ac_exec_ext
in '' $ac_executable_extensions; do
38128 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
38129 ac_cv_prog_ac_ct_NM
="nm"
38130 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
38136 test -z "$ac_cv_prog_ac_ct_NM" && ac_cv_prog_ac_ct_NM
=":"
38139 ac_ct_NM
=$ac_cv_prog_ac_ct_NM
38140 if test -n "$ac_ct_NM"; then
38141 echo "$as_me:$LINENO: result: $ac_ct_NM" >&5
38142 echo "${ECHO_T}$ac_ct_NM" >&6
38144 echo "$as_me:$LINENO: result: no" >&5
38145 echo "${ECHO_T}no" >&6
38150 NM
="$ac_cv_prog_NM"
38154 case ${BAKEFILE_HOST} in
38156 INSTALL_DIR
="mkdir"
38158 *) INSTALL_DIR
="$INSTALL -d"
38164 case ${BAKEFILE_HOST} in
38165 *-*-cygwin* | *-*-mingw32* )
38166 LDFLAGS_GUI
="-Wl,--subsystem,windows -mwindows"
38172 echo "$as_me:$LINENO: checking if make is GNU make" >&5
38173 echo $ECHO_N "checking if make is GNU make... $ECHO_C" >&6
38174 if test "${bakefile_cv_prog_makeisgnu+set}" = set; then
38175 echo $ECHO_N "(cached) $ECHO_C" >&6
38178 if ( ${SHELL-sh} -c "${MAKE-make} --version" 2> /dev
/null
|
38179 egrep -s GNU
> /dev
/null
); then
38180 bakefile_cv_prog_makeisgnu
="yes"
38182 bakefile_cv_prog_makeisgnu
="no"
38186 echo "$as_me:$LINENO: result: $bakefile_cv_prog_makeisgnu" >&5
38187 echo "${ECHO_T}$bakefile_cv_prog_makeisgnu" >&6
38189 if test "x$bakefile_cv_prog_makeisgnu" = "xyes"; then
38204 if test "x$BAKEFILE_FORCE_PLATFORM" = "x"; then
38205 case "${BAKEFILE_HOST}" in
38206 *-*-cygwin* | *-*-mingw32* )
38212 *-pc-os2_emx | *-pc-os2-emx )
38215 powerpc
-*-darwin* )
38224 case "$BAKEFILE_FORCE_PLATFORM" in
38242 { { echo "$as_me:$LINENO: error: Unknown platform: $BAKEFILE_FORCE_PLATFORM" >&5
38243 echo "$as_me: error: Unknown platform: $BAKEFILE_FORCE_PLATFORM" >&2;}
38244 { (exit 1); exit 1; }; }
38258 SO_SUFFIX_MODULE
="so"
38264 case "${BAKEFILE_HOST}" in
38267 SO_SUFFIX_MODULE
="sl"
38271 SO_SUFFIX_MODULE
="a"
38273 *-*-cygwin* | *-*-mingw32* )
38275 SO_SUFFIX_MODULE
="dll"
38283 *-pc-os2_emx | *-pc-os2-emx )
38288 powerpc
-*-darwin* )
38290 SO_SUFFIX_MODULE
="bundle"
38302 SHARED_LD_CC
="\$(CC) -shared -o"
38303 SHARED_LD_CXX
="\$(CXX) -shared -o"
38305 if test "x$GCC" = "xyes"; then
38309 case "${BAKEFILE_HOST}" in
38311 if test "x$GCC" = "xyes"; then
38312 SHARED_LD_CC
="${CC} -shared ${PIC_FLAG} -o"
38313 SHARED_LD_CXX
="${CXX} -shared ${PIC_FLAG} -o"
38315 LDFLAGS
="$LDFLAGS -L/usr/lib"
38317 SHARED_LD_CC
="${CC} -b -o"
38318 SHARED_LD_CXX
="${CXX} -b -o"
38324 if test "x$GCC" != "xyes"; then
38325 echo "$as_me:$LINENO: checking for Intel compiler" >&5
38326 echo $ECHO_N "checking for Intel compiler... $ECHO_C" >&6
38327 if test "${bakefile_cv_prog_icc+set}" = set; then
38328 echo $ECHO_N "(cached) $ECHO_C" >&6
38331 cat >conftest.
$ac_ext <<_ACEOF
38334 cat confdefs.h
>>conftest.
$ac_ext
38335 cat >>conftest.
$ac_ext <<_ACEOF
38336 /* end confdefs.h. */
38342 #ifndef __INTEL_COMPILER
38350 rm -f conftest.
$ac_objext
38351 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
38352 (eval $ac_compile) 2>conftest.er1
38354 grep -v '^ *+' conftest.er1
>conftest.err
38356 cat conftest.err
>&5
38357 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38358 (exit $ac_status); } &&
38359 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
38360 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38361 (eval $ac_try) 2>&5
38363 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38364 (exit $ac_status); }; } &&
38365 { ac_try
='test -s conftest.$ac_objext'
38366 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38367 (eval $ac_try) 2>&5
38369 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38370 (exit $ac_status); }; }; then
38371 bakefile_cv_prog_icc
=yes
38373 echo "$as_me: failed program was:" >&5
38374 sed 's/^/| /' conftest.
$ac_ext >&5
38376 bakefile_cv_prog_icc
=no
38379 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
38382 echo "$as_me:$LINENO: result: $bakefile_cv_prog_icc" >&5
38383 echo "${ECHO_T}$bakefile_cv_prog_icc" >&6
38384 if test "$bakefile_cv_prog_icc" = "yes"; then
38391 if test "x$GCC" != xyes
; then
38392 SHARED_LD_CC
="${CC} -G -o"
38393 SHARED_LD_CXX
="${CXX} -G -o"
38399 CFLAGS
="$CFLAGS -fno-common"
38400 CXXFLAGS
="$CXXFLAGS -fno-common"
38403 echo "$as_me:$LINENO: checking for gcc 3.1 or later" >&5
38404 echo $ECHO_N "checking for gcc 3.1 or later... $ECHO_C" >&6
38405 if test "${wx_cv_gcc31+set}" = set; then
38406 echo $ECHO_N "(cached) $ECHO_C" >&6
38409 cat >conftest.
$ac_ext <<_ACEOF
38412 cat confdefs.h
>>conftest.
$ac_ext
38413 cat >>conftest.
$ac_ext <<_ACEOF
38414 /* end confdefs.h. */
38420 #if (__GNUC__ < 3) || \
38421 ((__GNUC__ == 3) && (__GNUC_MINOR__ < 1))
38429 rm -f conftest.
$ac_objext
38430 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
38431 (eval $ac_compile) 2>conftest.er1
38433 grep -v '^ *+' conftest.er1
>conftest.err
38435 cat conftest.err
>&5
38436 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38437 (exit $ac_status); } &&
38438 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
38439 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38440 (eval $ac_try) 2>&5
38442 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38443 (exit $ac_status); }; } &&
38444 { ac_try
='test -s conftest.$ac_objext'
38445 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38446 (eval $ac_try) 2>&5
38448 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38449 (exit $ac_status); }; }; then
38454 echo "$as_me: failed program was:" >&5
38455 sed 's/^/| /' conftest.
$ac_ext >&5
38462 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
38465 echo "$as_me:$LINENO: result: $wx_cv_gcc31" >&5
38466 echo "${ECHO_T}$wx_cv_gcc31" >&6
38467 if test "$wx_cv_gcc31" = "no"; then
38468 cat <<EOF >shared-ld-sh
38470 #-----------------------------------------------------------------------------
38471 #-- Name: distrib/mac/shared-ld-sh
38472 #-- Purpose: Link a mach-o dynamic shared library for Darwin / Mac OS X
38473 #-- Author: Gilles Depeyrot
38474 #-- Copyright: (c) 2002 Gilles Depeyrot
38475 #-- Licence: any use permitted
38476 #-----------------------------------------------------------------------------
38481 linking_flag="-dynamiclib"
38483 while test \${#} -gt 0; do
38490 -o|-compatibility_version|-current_version|-framework|-undefined|-install_name)
38491 # collect these options and values
38492 args="\${args} \${1} \${2}"
38496 -l*|-L*|-flat_namespace|-headerpad_max_install_names)
38497 # collect these options
38498 args="\${args} \${1}"
38501 -dynamiclib|-bundle)
38502 linking_flag="\${1}"
38506 echo "shared-ld: unhandled option '\${1}'"
38510 *.o | *.a | *.dylib)
38511 # collect object files
38512 objects="\${objects} \${1}"
38516 echo "shared-ld: unhandled argument '\${1}'"
38525 # Link one module containing all the others
38527 if test \${verbose} = 1; then
38528 echo "c++ -r -keep_private_externs -nostdlib \${objects} -o master.\$\$.o"
38530 c++ -r -keep_private_externs -nostdlib \${objects} -o master.\$\$.o
38532 if test \${status} != 0; then
38537 # Link the shared library from the single module created
38539 if test \${verbose} = 1; then
38540 echo "cc \${linking_flag} master.\$\$.o \${args}"
38542 c++ \${linking_flag} master.\$\$.o \${args}
38544 if test \${status} != 0; then
38549 # Remove intermediate module
38551 rm -f master.\$\$.o
38555 chmod +x shared
-ld-sh
38557 SHARED_LD_CC
="`pwd`/shared-ld-sh -dynamiclib -headerpad_max_install_names -o"
38558 SHARED_LD_MODULE_CC
="`pwd`/shared-ld-sh -bundle -headerpad_max_install_names -o"
38559 SHARED_LD_CXX
="$SHARED_LD_CC"
38560 SHARED_LD_MODULE_CXX
="$SHARED_LD_MODULE_CC"
38562 SHARED_LD_CC
="\${CC} -dynamiclib -single_module -headerpad_max_install_names -o"
38563 SHARED_LD_MODULE_CC
="\${CC} -bundle -single_module -headerpad_max_install_names -o"
38564 SHARED_LD_CXX
="\${CXX} -dynamiclib -single_module -headerpad_max_install_names -o"
38565 SHARED_LD_MODULE_CXX
="\${CXX} -bundle -single_module -headerpad_max_install_names -o"
38568 PIC_FLAG
="-dynamic -fPIC"
38572 if test "x$GCC" != "xyes"; then
38573 # Extract the first word of "makeC++SharedLib", so it can be a program name with args.
38574 set dummy makeC
++SharedLib
; ac_word
=$2
38575 echo "$as_me:$LINENO: checking for $ac_word" >&5
38576 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
38577 if test "${ac_cv_prog_AIX_CXX_LD+set}" = set; then
38578 echo $ECHO_N "(cached) $ECHO_C" >&6
38580 if test -n "$AIX_CXX_LD"; then
38581 ac_cv_prog_AIX_CXX_LD
="$AIX_CXX_LD" # Let the user override the test.
38583 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
38584 for as_dir
in $PATH
38587 test -z "$as_dir" && as_dir
=.
38588 for ac_exec_ext
in '' $ac_executable_extensions; do
38589 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
38590 ac_cv_prog_AIX_CXX_LD
="makeC++SharedLib"
38591 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
38597 test -z "$ac_cv_prog_AIX_CXX_LD" && ac_cv_prog_AIX_CXX_LD
="/usr/lpp/xlC/bin/makeC++SharedLib"
38600 AIX_CXX_LD
=$ac_cv_prog_AIX_CXX_LD
38601 if test -n "$AIX_CXX_LD"; then
38602 echo "$as_me:$LINENO: result: $AIX_CXX_LD" >&5
38603 echo "${ECHO_T}$AIX_CXX_LD" >&6
38605 echo "$as_me:$LINENO: result: no" >&5
38606 echo "${ECHO_T}no" >&6
38609 SHARED_LD_CC
="$AIX_CC_LD -p 0 -o"
38610 SHARED_LD_CXX
="$AIX_CXX_LD -p 0 -o"
38615 SHARED_LD_CC
="${LD} -shared -o"
38616 SHARED_LD_CXX
="${LD} -shared -o"
38620 if test "x$GCC" != "xyes"; then
38625 *-*-cygwin* | *-*-mingw32* )
38629 *-*-freebsd* | *-*-openbsd* | *-*-netbsd* | \
38633 *-pc-os2_emx | *-pc-os2-emx | \
38638 { { echo "$as_me:$LINENO: error: unknown system type $BAKEFILE_HOST." >&5
38639 echo "$as_me: error: unknown system type $BAKEFILE_HOST." >&2;}
38640 { (exit 1); exit 1; }; }
38643 if test "x$SHARED_LD_MODULE_CC" = "x" ; then
38644 SHARED_LD_MODULE_CC
="$SHARED_LD_CC"
38646 if test "x$SHARED_LD_MODULE_CXX" = "x" ; then
38647 SHARED_LD_MODULE_CXX
="$SHARED_LD_CXX"
38664 case "${BAKEFILE_HOST}" in
38666 SONAME_FLAG
="-Wl,-soname,"
38694 echo "$as_me:$LINENO: checking for dependency tracking method" >&5
38695 echo $ECHO_N "checking for dependency tracking method... $ECHO_C" >&6
38698 if test "x$GCC" = "xyes"; then
38701 case "${BAKEFILE_HOST}" in
38702 powerpc
-*-darwin* )
38703 DEPSFLAG_GCC
="-no-cpp-precomp -MMD"
38706 DEPSFLAG_GCC
="-MMD"
38709 echo "$as_me:$LINENO: result: gcc" >&5
38710 echo "${ECHO_T}gcc" >&6
38712 echo "$as_me:$LINENO: result: none" >&5
38713 echo "${ECHO_T}none" >&6
38716 if test $DEPS_TRACKING = 1 ; then
38720 # This script is part of Bakefile (http://bakefile.sourceforge.net) autoconf
38721 # script. It is used to track C/C++ files dependencies in portable way.
38723 # Permission is given to use this file in any way.
38727 DEPSFLAG_GCC="$DEPSFLAG_GCC"
38731 if test \$DEPSMODE = gcc ; then
38732 \${*} \${DEPSFLAG_GCC}
38734 if test \${status} != 0 ; then
38737 # move created file to the location we want it in:
38738 while test \${#} -gt 0; do
38752 depfile=\`basename \$srcfile | sed -e 's/\..*$/.d/g'\`
38753 depobjname=\`echo \$depfile |sed -e 's/\.d/.o/g'\`
38754 if test -f \$depfile ; then
38755 sed -e "s,\$depobjname:,\$objfile:,g" \$depfile >\${DEPSDIR}/\${objfile}.d
38758 depfile=\`basename \$objfile | sed -e 's/\..*$/.d/g'\`
38759 if test -f \$depfile ; then
38760 sed -e "/^\$objfile/!s,\$depobjname:,\$objfile:,g" \$depfile >\${DEPSDIR}/\${objfile}.d
38779 case ${BAKEFILE_HOST} in
38780 *-*-cygwin* | *-*-mingw32* )
38781 if test "$build" != "$host" ; then
38782 RESCOMP
=$host_alias-windres
38784 # Extract the first word of "windres", so it can be a program name with args.
38785 set dummy windres
; ac_word
=$2
38786 echo "$as_me:$LINENO: checking for $ac_word" >&5
38787 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
38788 if test "${ac_cv_prog_RESCOMP+set}" = set; then
38789 echo $ECHO_N "(cached) $ECHO_C" >&6
38791 if test -n "$RESCOMP"; then
38792 ac_cv_prog_RESCOMP
="$RESCOMP" # Let the user override the test.
38794 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
38795 for as_dir
in $PATH
38798 test -z "$as_dir" && as_dir
=.
38799 for ac_exec_ext
in '' $ac_executable_extensions; do
38800 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
38801 ac_cv_prog_RESCOMP
="windres"
38802 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
38808 test -z "$ac_cv_prog_RESCOMP" && ac_cv_prog_RESCOMP
="windres"
38811 RESCOMP
=$ac_cv_prog_RESCOMP
38812 if test -n "$RESCOMP"; then
38813 echo "$as_me:$LINENO: result: $RESCOMP" >&5
38814 echo "${ECHO_T}$RESCOMP" >&6
38816 echo "$as_me:$LINENO: result: no" >&5
38817 echo "${ECHO_T}no" >&6
38824 # Extract the first word of "Rez", so it can be a program name with args.
38825 set dummy Rez
; ac_word
=$2
38826 echo "$as_me:$LINENO: checking for $ac_word" >&5
38827 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
38828 if test "${ac_cv_prog_RESCOMP+set}" = set; then
38829 echo $ECHO_N "(cached) $ECHO_C" >&6
38831 if test -n "$RESCOMP"; then
38832 ac_cv_prog_RESCOMP
="$RESCOMP" # Let the user override the test.
38834 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
38835 for as_dir
in $PATH
38838 test -z "$as_dir" && as_dir
=.
38839 for ac_exec_ext
in '' $ac_executable_extensions; do
38840 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
38841 ac_cv_prog_RESCOMP
="Rez"
38842 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
38848 test -z "$ac_cv_prog_RESCOMP" && ac_cv_prog_RESCOMP
="/Developer/Tools/Rez"
38851 RESCOMP
=$ac_cv_prog_RESCOMP
38852 if test -n "$RESCOMP"; then
38853 echo "$as_me:$LINENO: result: $RESCOMP" >&5
38854 echo "${ECHO_T}$RESCOMP" >&6
38856 echo "$as_me:$LINENO: result: no" >&5
38857 echo "${ECHO_T}no" >&6
38860 # Extract the first word of "SetFile", so it can be a program name with args.
38861 set dummy SetFile
; ac_word
=$2
38862 echo "$as_me:$LINENO: checking for $ac_word" >&5
38863 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
38864 if test "${ac_cv_prog_SETFILE+set}" = set; then
38865 echo $ECHO_N "(cached) $ECHO_C" >&6
38867 if test -n "$SETFILE"; then
38868 ac_cv_prog_SETFILE
="$SETFILE" # Let the user override the test.
38870 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
38871 for as_dir
in $PATH
38874 test -z "$as_dir" && as_dir
=.
38875 for ac_exec_ext
in '' $ac_executable_extensions; do
38876 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
38877 ac_cv_prog_SETFILE
="SetFile"
38878 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
38884 test -z "$ac_cv_prog_SETFILE" && ac_cv_prog_SETFILE
="/Developer/Tools/SetFile"
38887 SETFILE
=$ac_cv_prog_SETFILE
38888 if test -n "$SETFILE"; then
38889 echo "$as_me:$LINENO: result: $SETFILE" >&5
38890 echo "${ECHO_T}$SETFILE" >&6
38892 echo "$as_me:$LINENO: result: no" >&5
38893 echo "${ECHO_T}no" >&6
38906 # Check whether --enable-precomp-headers or --disable-precomp-headers was given.
38907 if test "${enable_precomp_headers+set}" = set; then
38908 enableval
="$enable_precomp_headers"
38909 bk_use_pch
="$enableval"
38914 if test "x$bk_use_pch" = "x" -o "x$bk_use_pch" = "xyes" ; then
38915 if test "x$GCC" = "xyes"; then
38916 echo "$as_me:$LINENO: checking if the compiler supports precompiled headers" >&5
38917 echo $ECHO_N "checking if the compiler supports precompiled headers... $ECHO_C" >&6
38918 cat >conftest.
$ac_ext <<_ACEOF
38921 cat confdefs.h
>>conftest.
$ac_ext
38922 cat >>conftest.
$ac_ext <<_ACEOF
38923 /* end confdefs.h. */
38929 #if !defined(__GNUC__) || !defined(__GNUC_MINOR__)
38930 #error "no pch support"
38933 #error "no pch support"
38935 #if (__GNUC__ == 3) && \
38936 ((!defined(__APPLE_CC__) && (__GNUC_MINOR__ < 4)) || \
38937 ( defined(__APPLE_CC__) && (__GNUC_MINOR__ < 3)))
38938 #error "no pch support"
38945 rm -f conftest.
$ac_objext
38946 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
38947 (eval $ac_compile) 2>conftest.er1
38949 grep -v '^ *+' conftest.er1
>conftest.err
38951 cat conftest.err
>&5
38952 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38953 (exit $ac_status); } &&
38954 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
38955 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38956 (eval $ac_try) 2>&5
38958 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38959 (exit $ac_status); }; } &&
38960 { ac_try
='test -s conftest.$ac_objext'
38961 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38962 (eval $ac_try) 2>&5
38964 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38965 (exit $ac_status); }; }; then
38967 echo "$as_me:$LINENO: result: yes" >&5
38968 echo "${ECHO_T}yes" >&6
38969 CPPFLAGS
="-fpch-deps $CPPFLAGS"
38973 echo "$as_me: failed program was:" >&5
38974 sed 's/^/| /' conftest.
$ac_ext >&5
38977 echo "$as_me:$LINENO: result: no" >&5
38978 echo "${ECHO_T}no" >&6
38981 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
38982 if test $GCC_PCH = 1 ; then
38983 cat <<EOF >bk-make-pch
38986 # This script is part of Bakefile (http://bakefile.sourceforge.net) autoconf
38987 # script. It is used to generated precompiled headers.
38989 # Permission is given to use this file in any way.
38998 while test \${#} -gt 0; do
39001 incdir=\`echo \${1} | sed -e 's/-I\(.*\)/\1/g'\`
39002 if test "x\${headerfile}" = "x" -a -f "\${incdir}/\${header}" ; then
39003 headerfile="\${incdir}/\${header}"
39007 compiler="\${compiler} \${1}"
39011 if test "x\${headerfile}" = "x" ; then
39012 echo "error: can't find header \${header} in include paths" >2
39014 if test -f \${outfile} ; then
39017 mkdir -p \`dirname \${outfile}\`
39019 depsfile=".deps/\`basename \${outfile}\`.d"
39021 # can do this because gcc is >= 3.4:
39022 \${compiler} -o \${outfile} -MMD -MF "\${depsfile}" "\${headerfile}"
39026 chmod +x bk
-make-pch
39035 COND_BUILD_DEBUG
="#"
39036 if test "x$BUILD" = "xdebug" ; then
39037 COND_BUILD_DEBUG
=""
39040 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT
="#"
39041 if test "x$BUILD" = "xdebug" -a "x$DEBUG_FLAG" = "xdefault" ; then
39042 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT
=""
39045 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT
="#"
39046 if test "x$BUILD" = "xdebug" -a "x$DEBUG_INFO" = "xdefault" ; then
39047 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT
=""
39050 COND_BUILD_DEBUG_UNICODE_0
="#"
39051 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x0" ; then
39052 COND_BUILD_DEBUG_UNICODE_0
=""
39055 COND_BUILD_DEBUG_UNICODE_1
="#"
39056 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x1" ; then
39057 COND_BUILD_DEBUG_UNICODE_1
=""
39060 COND_BUILD_RELEASE
="#"
39061 if test "x$BUILD" = "xrelease" ; then
39062 COND_BUILD_RELEASE
=""
39065 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT
="#"
39066 if test "x$BUILD" = "xrelease" -a "x$DEBUG_INFO" = "xdefault" ; then
39067 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT
=""
39070 COND_BUILD_RELEASE_UNICODE_0
="#"
39071 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x0" ; then
39072 COND_BUILD_RELEASE_UNICODE_0
=""
39075 COND_BUILD_RELEASE_UNICODE_1
="#"
39076 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x1" ; then
39077 COND_BUILD_RELEASE_UNICODE_1
=""
39080 COND_DEBUG_FLAG_1
="#"
39081 if test "x$DEBUG_FLAG" = "x1" ; then
39082 COND_DEBUG_FLAG_1
=""
39085 COND_DEBUG_INFO_0
="#"
39086 if test "x$DEBUG_INFO" = "x0" ; then
39087 COND_DEBUG_INFO_0
=""
39090 COND_DEBUG_INFO_1
="#"
39091 if test "x$DEBUG_INFO" = "x1" ; then
39092 COND_DEBUG_INFO_1
=""
39095 COND_DEPS_TRACKING_0
="#"
39096 if test "x$DEPS_TRACKING" = "x0" ; then
39097 COND_DEPS_TRACKING_0
=""
39100 COND_DEPS_TRACKING_1
="#"
39101 if test "x$DEPS_TRACKING" = "x1" ; then
39102 COND_DEPS_TRACKING_1
=""
39106 if test "x$GCC_PCH" = "x1" ; then
39110 COND_MONOLITHIC_0
="#"
39111 if test "x$MONOLITHIC" = "x0" ; then
39112 COND_MONOLITHIC_0
=""
39115 COND_MONOLITHIC_0_SHARED_0
="#"
39116 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" ; then
39117 COND_MONOLITHIC_0_SHARED_0
=""
39120 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1
="#"
39121 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" ; then
39122 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1
=""
39125 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_ODBC_1
="#"
39126 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_ODBC" = "x1" ; then
39127 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_ODBC_1
=""
39130 COND_MONOLITHIC_0_SHARED_0_USE_HTML_1
="#"
39131 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_HTML" = "x1" ; then
39132 COND_MONOLITHIC_0_SHARED_0_USE_HTML_1
=""
39135 COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1
="#"
39136 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_ODBC" = "x1" ; then
39137 COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1
=""
39140 COND_MONOLITHIC_0_SHARED_1
="#"
39141 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" ; then
39142 COND_MONOLITHIC_0_SHARED_1
=""
39145 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1
="#"
39146 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" ; then
39147 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1
=""
39150 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_ODBC_1
="#"
39151 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_ODBC" = "x1" ; then
39152 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_ODBC_1
=""
39155 COND_MONOLITHIC_0_SHARED_1_USE_HTML_1
="#"
39156 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_HTML" = "x1" ; then
39157 COND_MONOLITHIC_0_SHARED_1_USE_HTML_1
=""
39160 COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1
="#"
39161 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_ODBC" = "x1" ; then
39162 COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1
=""
39165 COND_MONOLITHIC_0_USE_ODBC_1
="#"
39166 if test "x$MONOLITHIC" = "x0" -a "x$USE_ODBC" = "x1" ; then
39167 COND_MONOLITHIC_0_USE_ODBC_1
=""
39170 COND_MONOLITHIC_1
="#"
39171 if test "x$MONOLITHIC" = "x1" ; then
39172 COND_MONOLITHIC_1
=""
39175 COND_MONOLITHIC_1_SHARED_0
="#"
39176 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x0" ; then
39177 COND_MONOLITHIC_1_SHARED_0
=""
39180 COND_MONOLITHIC_1_SHARED_1
="#"
39181 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x1" ; then
39182 COND_MONOLITHIC_1_SHARED_1
=""
39185 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1
="#"
39186 if test "x$OFFICIAL_BUILD" = "x0" -a "x$PLATFORM_WIN32" = "x1" ; then
39187 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1
=""
39190 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1
="#"
39191 if test "x$OFFICIAL_BUILD" = "x1" -a "x$PLATFORM_WIN32" = "x1" ; then
39192 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1
=""
39195 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1
="#"
39196 if test "x$PLATFORM_MACOSX" = "x0" -a "x$USE_SOVERSION" = "x1" ; then
39197 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1
=""
39200 COND_PLATFORM_MACOSX_1
="#"
39201 if test "x$PLATFORM_MACOSX" = "x1" ; then
39202 COND_PLATFORM_MACOSX_1
=""
39205 COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA
="#"
39206 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xCOCOA" ; then
39207 COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA
=""
39210 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK
="#"
39211 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xGTK" ; then
39212 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK
=""
39215 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC
="#"
39216 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMAC" ; then
39217 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC
=""
39220 COND_PLATFORM_MACOSX_1_USE_GUI_1
="#"
39221 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_GUI" = "x1" ; then
39222 COND_PLATFORM_MACOSX_1_USE_GUI_1
=""
39225 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1
="#"
39226 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_SOVERSION" = "x1" ; then
39227 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1
=""
39230 COND_PLATFORM_MAC_1
="#"
39231 if test "x$PLATFORM_MAC" = "x1" ; then
39232 COND_PLATFORM_MAC_1
=""
39235 COND_PLATFORM_OS2_1
="#"
39236 if test "x$PLATFORM_OS2" = "x1" ; then
39237 COND_PLATFORM_OS2_1
=""
39240 COND_PLATFORM_UNIX_0
="#"
39241 if test "x$PLATFORM_UNIX" = "x0" ; then
39242 COND_PLATFORM_UNIX_0
=""
39245 COND_PLATFORM_UNIX_1
="#"
39246 if test "x$PLATFORM_UNIX" = "x1" ; then
39247 COND_PLATFORM_UNIX_1
=""
39250 COND_PLATFORM_UNIX_1_USE_GUI_1
="#"
39251 if test "x$PLATFORM_UNIX" = "x1" -a "x$USE_GUI" = "x1" ; then
39252 COND_PLATFORM_UNIX_1_USE_GUI_1
=""
39255 COND_PLATFORM_UNIX_1_USE_PLUGINS_0
="#"
39256 if test "x$PLATFORM_UNIX" = "x1" -a "x$USE_PLUGINS" = "x0" ; then
39257 COND_PLATFORM_UNIX_1_USE_PLUGINS_0
=""
39260 COND_PLATFORM_WIN32_0
="#"
39261 if test "x$PLATFORM_WIN32" = "x0" ; then
39262 COND_PLATFORM_WIN32_0
=""
39265 COND_PLATFORM_WIN32_1
="#"
39266 if test "x$PLATFORM_WIN32" = "x1" ; then
39267 COND_PLATFORM_WIN32_1
=""
39271 if test "x$SHARED" = "x0" ; then
39275 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1
="#"
39276 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
39277 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1
=""
39280 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN
="#"
39281 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
39282 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN
=""
39285 COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN
="#"
39286 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
39287 COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN
=""
39290 COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN
="#"
39291 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
39292 COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN
=""
39295 COND_SHARED_0_WXUSE_EXPAT_BUILTIN
="#"
39296 if test "x$SHARED" = "x0" -a "x$wxUSE_EXPAT" = "xbuiltin" ; then
39297 COND_SHARED_0_WXUSE_EXPAT_BUILTIN
=""
39300 COND_SHARED_0_WXUSE_ODBC_BUILTIN
="#"
39301 if test "x$SHARED" = "x0" -a "x$wxUSE_ODBC" = "xbuiltin" ; then
39302 COND_SHARED_0_WXUSE_ODBC_BUILTIN
=""
39305 COND_SHARED_0_WXUSE_REGEX_BUILTIN
="#"
39306 if test "x$SHARED" = "x0" -a "x$wxUSE_REGEX" = "xbuiltin" ; then
39307 COND_SHARED_0_WXUSE_REGEX_BUILTIN
=""
39310 COND_SHARED_0_WXUSE_ZLIB_BUILTIN
="#"
39311 if test "x$SHARED" = "x0" -a "x$wxUSE_ZLIB" = "xbuiltin" ; then
39312 COND_SHARED_0_WXUSE_ZLIB_BUILTIN
=""
39316 if test "x$SHARED" = "x1" ; then
39320 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1
="#"
39321 if test "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
39322 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1
=""
39325 COND_TOOLKIT_COCOA
="#"
39326 if test "x$TOOLKIT" = "xCOCOA" ; then
39327 COND_TOOLKIT_COCOA
=""
39330 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0
="#"
39331 if test "x$TOOLKIT" = "xCOCOA" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
39332 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0
=""
39335 COND_TOOLKIT_GTK
="#"
39336 if test "x$TOOLKIT" = "xGTK" ; then
39337 COND_TOOLKIT_GTK
=""
39340 COND_TOOLKIT_GTK_USE_GUI_1
="#"
39341 if test "x$TOOLKIT" = "xGTK" -a "x$USE_GUI" = "x1" ; then
39342 COND_TOOLKIT_GTK_USE_GUI_1
=""
39345 COND_TOOLKIT_GTK_USE_GUI_1_WXUNIV_0
="#"
39346 if test "x$TOOLKIT" = "xGTK" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
39347 COND_TOOLKIT_GTK_USE_GUI_1_WXUNIV_0
=""
39350 COND_TOOLKIT_MAC
="#"
39351 if test "x$TOOLKIT" = "xMAC" ; then
39352 COND_TOOLKIT_MAC
=""
39355 COND_TOOLKIT_MAC_USE_GUI_1
="#"
39356 if test "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" ; then
39357 COND_TOOLKIT_MAC_USE_GUI_1
=""
39360 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0
="#"
39361 if test "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
39362 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0
=""
39365 COND_TOOLKIT_MGL
="#"
39366 if test "x$TOOLKIT" = "xMGL" ; then
39367 COND_TOOLKIT_MGL
=""
39370 COND_TOOLKIT_MGL_USE_GUI_1
="#"
39371 if test "x$TOOLKIT" = "xMGL" -a "x$USE_GUI" = "x1" ; then
39372 COND_TOOLKIT_MGL_USE_GUI_1
=""
39375 COND_TOOLKIT_MOTIF
="#"
39376 if test "x$TOOLKIT" = "xMOTIF" ; then
39377 COND_TOOLKIT_MOTIF
=""
39380 COND_TOOLKIT_MOTIF_USE_GUI_1
="#"
39381 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" ; then
39382 COND_TOOLKIT_MOTIF_USE_GUI_1
=""
39385 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0
="#"
39386 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
39387 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0
=""
39390 COND_TOOLKIT_MSW
="#"
39391 if test "x$TOOLKIT" = "xMSW" ; then
39392 COND_TOOLKIT_MSW
=""
39395 COND_TOOLKIT_MSW_USE_GUI_1
="#"
39396 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" ; then
39397 COND_TOOLKIT_MSW_USE_GUI_1
=""
39400 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0
="#"
39401 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
39402 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0
=""
39405 COND_TOOLKIT_PM
="#"
39406 if test "x$TOOLKIT" = "xPM" ; then
39410 COND_TOOLKIT_PM_USE_GUI_1
="#"
39411 if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" ; then
39412 COND_TOOLKIT_PM_USE_GUI_1
=""
39415 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0
="#"
39416 if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
39417 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0
=""
39420 COND_TOOLKIT_X11
="#"
39421 if test "x$TOOLKIT" = "xX11" ; then
39422 COND_TOOLKIT_X11
=""
39425 COND_TOOLKIT_X11_USE_GUI_1
="#"
39426 if test "x$TOOLKIT" = "xX11" -a "x$USE_GUI" = "x1" ; then
39427 COND_TOOLKIT_X11_USE_GUI_1
=""
39431 if test "x$UNICODE" = "x1" ; then
39435 COND_USE_EXCEPTIONS_0
="#"
39436 if test "x$USE_EXCEPTIONS" = "x0" ; then
39437 COND_USE_EXCEPTIONS_0
=""
39440 COND_USE_EXCEPTIONS_1
="#"
39441 if test "x$USE_EXCEPTIONS" = "x1" ; then
39442 COND_USE_EXCEPTIONS_1
=""
39446 if test "x$USE_GUI" = "x0" ; then
39451 if test "x$USE_GUI" = "x1" ; then
39455 COND_USE_GUI_1_WXUNIV_0
="#"
39456 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
39457 COND_USE_GUI_1_WXUNIV_0
=""
39460 COND_USE_GUI_1_WXUNIV_1
="#"
39461 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x1" ; then
39462 COND_USE_GUI_1_WXUNIV_1
=""
39465 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN
="#"
39466 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
39467 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN
=""
39470 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN
="#"
39471 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
39472 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN
=""
39475 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN
="#"
39476 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
39477 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN
=""
39480 COND_USE_ODBC_1
="#"
39481 if test "x$USE_ODBC" = "x1" ; then
39485 COND_USE_PLUGINS_0
="#"
39486 if test "x$USE_PLUGINS" = "x0" ; then
39487 COND_USE_PLUGINS_0
=""
39490 COND_USE_SOSYMLINKS_1
="#"
39491 if test "x$USE_SOSYMLINKS" = "x1" ; then
39492 COND_USE_SOSYMLINKS_1
=""
39495 COND_USE_SOVERLINUX_1
="#"
39496 if test "x$USE_SOVERLINUX" = "x1" ; then
39497 COND_USE_SOVERLINUX_1
=""
39500 COND_USE_SOVERSION_0
="#"
39501 if test "x$USE_SOVERSION" = "x0" ; then
39502 COND_USE_SOVERSION_0
=""
39505 COND_USE_SOVERSOLARIS_1
="#"
39506 if test "x$USE_SOVERSOLARIS" = "x1" ; then
39507 COND_USE_SOVERSOLARIS_1
=""
39510 COND_WITH_PLUGIN_SDL_1
="#"
39511 if test "x$WITH_PLUGIN_SDL" = "x1" ; then
39512 COND_WITH_PLUGIN_SDL_1
=""
39515 COND_WITH_SDL_1
="#"
39516 if test "x$WITH_SDL" = "x1" ; then
39521 if test "x$WXUNIV" = "x1" ; then
39525 COND_WXUSE_EXPAT_BUILTIN
="#"
39526 if test "x$wxUSE_EXPAT" = "xbuiltin" ; then
39527 COND_WXUSE_EXPAT_BUILTIN
=""
39530 COND_WXUSE_LIBJPEG_BUILTIN
="#"
39531 if test "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
39532 COND_WXUSE_LIBJPEG_BUILTIN
=""
39535 COND_WXUSE_LIBPNG_BUILTIN
="#"
39536 if test "x$wxUSE_LIBPNG" = "xbuiltin" ; then
39537 COND_WXUSE_LIBPNG_BUILTIN
=""
39540 COND_WXUSE_LIBTIFF_BUILTIN
="#"
39541 if test "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
39542 COND_WXUSE_LIBTIFF_BUILTIN
=""
39545 COND_WXUSE_ODBC_BUILTIN
="#"
39546 if test "x$wxUSE_ODBC" = "xbuiltin" ; then
39547 COND_WXUSE_ODBC_BUILTIN
=""
39550 COND_WXUSE_REGEX_BUILTIN
="#"
39551 if test "x$wxUSE_REGEX" = "xbuiltin" ; then
39552 COND_WXUSE_REGEX_BUILTIN
=""
39555 COND_WXUSE_ZLIB_BUILTIN
="#"
39556 if test "x$wxUSE_ZLIB" = "xbuiltin" ; then
39557 COND_WXUSE_ZLIB_BUILTIN
=""
39564 if test $GCC_PCH = 1 ; then
39565 CODE_GEN_FLAGS
="-DWX_PRECOMP -DNO_GCC_PRAGMA $CODE_GEN_FLAGS"
39566 CPPFLAGS
="-DWX_PRECOMP -DNO_GCC_PRAGMA $CPPFLAGS"
39569 powerpc
-*-darwin* )
39570 CODE_GEN_FLAGS
="-DNO_GCC_PRAGMA $CODE_GEN_FLAGS"
39571 CPPFLAGS
="-DNO_GCC_PRAGMA $CPPFLAGS"
39577 SAMPLES_SUBDIRS
="`echo $SAMPLES_SUBDIRS | tr -s ' ' | tr ' ' '\n' | sort | uniq | tr '\n' ' '| tr -d '\r'`"
39678 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
39679 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
39680 set dummy
${MAKE-make}; ac_make
=`echo "$2" | sed 'y,:./+-,___p_,'`
39681 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
39682 echo $ECHO_N "(cached) $ECHO_C" >&6
39684 cat >conftest.
make <<\_ACEOF
39686 @
echo 'ac_maketemp="$(MAKE)"'
39688 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
39689 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
39690 if test -n "$ac_maketemp"; then
39691 eval ac_cv_prog_make_
${ac_make}_set
=yes
39693 eval ac_cv_prog_make_
${ac_make}_set
=no
39695 rm -f conftest.
make
39697 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
39698 echo "$as_me:$LINENO: result: yes" >&5
39699 echo "${ECHO_T}yes" >&6
39702 echo "$as_me:$LINENO: result: no" >&5
39703 echo "${ECHO_T}no" >&6
39704 SET_MAKE
="MAKE=${MAKE-make}"
39708 if test -f lib
/wx
/include
/${TOOLCHAIN_NAME}/wx
/setup.h
; then
39709 mv -f lib
/wx
/include
/${TOOLCHAIN_NAME}/wx
/setup.h setup.h
39712 ac_config_headers
="$ac_config_headers setup.h"
39715 ac_config_files
="$ac_config_files wx-config version-script Makefile"
39718 ac_config_commands
="$ac_config_commands default"
39722 if test "$wxUSE_GUI" = "yes"; then
39723 SUBDIRS
="samples demos utils contrib"
39724 else SUBDIRS
="samples utils"
39727 for subdir
in `echo $SUBDIRS`; do
39728 if test -d ${srcdir}/${subdir} ; then
39729 if test "$wxUSE_GUI" = "yes"; then
39730 if test ${subdir} = "samples"; then
39731 makefiles
="samples/Makefile.in $makefiles"
39732 for sample
in `echo $SAMPLES_SUBDIRS`; do
39733 if test -d $srcdir/samples
/$sample; then
39734 makefiles
="samples/$sample/Makefile.in $makefiles"
39737 else makefiles
=`(cd $srcdir ; find $subdir -name Makefile.in)`
39739 else if test ${subdir} = "samples"; then
39740 makefiles
="samples/Makefile.in samples/console/Makefile.in"
39741 else makefiles
="utils/HelpGen/Makefile.in \
39742 utils/HelpGen/src/Makefile.in \
39743 utils/tex2rtf/Makefile.in \
39744 utils/tex2rtf/src/Makefile.in"
39748 for mkin
in $makefiles ; do
39749 mk
=`echo $mkin | sed 's/Makefile\.in/Makefile/g'`
39750 ac_config_files
="$ac_config_files $mk"
39757 cat >confcache
<<\_ACEOF
39758 # This file is a shell script that caches the results of configure
39759 # tests run on this system so they can be shared between configure
39760 # scripts and configure runs, see configure's option --config-cache.
39761 # It is not useful on other systems. If it contains results you don't
39762 # want to keep, you may remove or edit it.
39764 # config.status only pays attention to the cache file if you give it
39765 # the --recheck option to rerun configure.
39767 # `ac_cv_env_foo' variables (set or unset) will be overridden when
39768 # loading this file, other *unset* `ac_cv_foo' will be assigned the
39769 # following values.
39773 # The following way of writing the cache mishandles newlines in values,
39774 # but we know of no workaround that is simple, portable, and efficient.
39775 # So, don't put newlines in cache variables' values.
39776 # Ultrix sh set writes to stderr and can't be redirected directly,
39777 # and sets the high bit in the cache file unless we assign to the vars.
39780 case `(ac_space=' '; set | grep ac_space) 2>&1` in
39782 # `set' does not quote correctly, so add quotes (double-quote
39783 # substitution turns \\\\ into \\, and sed turns \\ into \).
39786 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
39789 # `set' quotes correctly as required by POSIX, so do not add quotes.
39791 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
39798 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
39800 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
39802 if diff $cache_file confcache
>/dev
/null
2>&1; then :; else
39803 if test -w $cache_file; then
39804 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
39805 cat confcache
>$cache_file
39807 echo "not updating unwritable cache $cache_file"
39812 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
39813 # Let make expand exec_prefix.
39814 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
39816 # VPATH may cause trouble with some makes, so we remove $(srcdir),
39817 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
39818 # trailing colons and then remove the whole line if VPATH becomes empty
39819 # (actually we leave an empty line to preserve line numbers).
39820 if test "x$srcdir" = x.
; then
39821 ac_vpsub
='/^[ ]*VPATH[ ]*=/{
39822 s/:*\$(srcdir):*/:/;
39823 s/:*\${srcdir}:*/:/;
39825 s/^\([^=]*=[ ]*\):*/\1/;
39831 DEFS
=-DHAVE_CONFIG_H
39835 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
39836 # 1. Remove the extension, and $U if already installed.
39837 ac_i
=`echo "$ac_i" |
39838 sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
39840 ac_libobjs
="$ac_libobjs $ac_i\$U.$ac_objext"
39841 ac_ltlibobjs
="$ac_ltlibobjs $ac_i"'$U.lo'
39843 LIBOBJS
=$ac_libobjs
39845 LTLIBOBJS
=$ac_ltlibobjs
39849 : ${CONFIG_STATUS=./config.status}
39850 ac_clean_files_save
=$ac_clean_files
39851 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
39852 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
39853 echo "$as_me: creating $CONFIG_STATUS" >&6;}
39854 cat >$CONFIG_STATUS <<_ACEOF
39856 # Generated by $as_me.
39857 # Run this file to recreate the current configuration.
39858 # Compiler output produced by configure, useful for debugging
39859 # configure, is in config.log if it exists.
39862 ac_cs_recheck=false
39864 SHELL=\${CONFIG_SHELL-$SHELL}
39867 cat >>$CONFIG_STATUS <<\_ACEOF
39868 ## --------------------- ##
39869 ## M4sh Initialization. ##
39870 ## --------------------- ##
39872 # Be Bourne compatible
39873 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
39876 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
39877 # is contrary to our usage. Disable this feature.
39878 alias -g '${1+"$@"}'='"$@"'
39879 elif test -n "${BASH_VERSION+set}" && (set -o posix
) >/dev
/null
2>&1; then
39882 DUALCASE
=1; export DUALCASE
# for MKS sh
39884 # Support unset when possible.
39885 if ( (MAIL
=60; unset MAIL
) || exit) >/dev
/null
2>&1; then
39892 # Work around bugs in pre-3.0 UWIN ksh.
39893 $as_unset ENV MAIL MAILPATH
39900 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
39901 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
39902 LC_TELEPHONE LC_TIME
39904 if (set +x
; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
39905 eval $as_var=C
; export $as_var
39911 # Required to use basename.
39912 if expr a
: '\(a\)' >/dev
/null
2>&1; then
39918 if (basename /) >/dev
/null
2>&1 && test "X`basename / 2>&1`" = "X/"; then
39919 as_basename
=basename
39925 # Name of the executable.
39926 as_me
=`$as_basename "$0" ||
39927 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
39928 X"$0" : 'X\(//\)$' \| \
39929 X"$0" : 'X\(/\)$' \| \
39930 . : '\(.\)' 2>/dev/null ||
39932 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
39933 /^X\/\(\/\/\)$/{ s//\1/; q; }
39934 /^X\/\(\/\).*/{ s//\1/; q; }
39938 # PATH needs CR, and LINENO needs CR and PATH.
39939 # Avoid depending upon Character Ranges.
39940 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
39941 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
39942 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
39943 as_cr_digits
='0123456789'
39944 as_cr_alnum
=$as_cr_Letters$as_cr_digits
39946 # The user is always right.
39947 if test "${PATH_SEPARATOR+set}" != set; then
39948 echo "#! /bin/sh" >conf$$.sh
39949 echo "exit 0" >>conf$$.sh
39951 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
39960 as_lineno_1
=$LINENO
39961 as_lineno_2
=$LINENO
39962 as_lineno_3
=`(expr $as_lineno_1 + 1) 2>/dev/null`
39963 test "x$as_lineno_1" != "x$as_lineno_2" &&
39964 test "x$as_lineno_3" = "x$as_lineno_2" || {
39965 # Find who we are. Look in the path if we contain no path at all
39968 *[\\/]* ) as_myself
=$0 ;;
39969 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
39970 for as_dir
in $PATH
39973 test -z "$as_dir" && as_dir
=.
39974 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
39979 # We did not find ourselves, most probably we were run as `sh COMMAND'
39980 # in which case we are not to be found in the path.
39981 if test "x$as_myself" = x
; then
39984 if test ! -f "$as_myself"; then
39985 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
39986 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
39987 { (exit 1); exit 1; }; }
39989 case $CONFIG_SHELL in
39991 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
39992 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
39995 test -z "$as_dir" && as_dir
=.
39996 for as_base
in sh bash ksh sh5
; do
39999 if ("$as_dir/$as_base" -c '
40000 as_lineno_1=$LINENO
40001 as_lineno_2=$LINENO
40002 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
40003 test "x$as_lineno_1" != "x$as_lineno_2" &&
40004 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev
/null
; then
40005 $as_unset BASH_ENV
|| test "${BASH_ENV+set}" != set || { BASH_ENV
=; export BASH_ENV
; }
40006 $as_unset ENV
|| test "${ENV+set}" != set || { ENV
=; export ENV
; }
40007 CONFIG_SHELL
=$as_dir/$as_base
40008 export CONFIG_SHELL
40009 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
40017 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
40018 # uniformly replaced by the line number. The first 'sed' inserts a
40019 # line-number line before each line; the second 'sed' does the real
40020 # work. The second script uses 'N' to pair each line-number line
40021 # with the numbered line, and appends trailing '-' during
40022 # substitution so that $LINENO is not a special case at line end.
40023 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
40024 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
40025 sed '=' <$as_myself |
40030 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
40033 s,^['$as_cr_digits']*\n,,
40034 ' >$as_me.lineno
&&
40035 chmod +x
$as_me.lineno
||
40036 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
40037 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
40038 { (exit 1); exit 1; }; }
40040 # Don't try to exec as it changes $[0], causing all sort of problems
40041 # (the dirname of $[0] is not the place where we might find the
40042 # original and so on. Autoconf is especially sensible to this).
40044 # Exit status is that of the last command.
40049 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
40050 *c
*,-n*) ECHO_N
= ECHO_C
='
40052 *c
*,* ) ECHO_N
=-n ECHO_C
= ECHO_T
= ;;
40053 *) ECHO_N
= ECHO_C
='\c' ECHO_T
= ;;
40056 if expr a
: '\(a\)' >/dev
/null
2>&1; then
40062 rm -f conf$$ conf$$.exe conf$$.
file
40064 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
40065 # We could just check for DJGPP; but this test a) works b) is more generic
40066 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
40067 if test -f conf$$.exe
; then
40068 # Don't use ln at all; we don't have any links
40073 elif ln conf$$.
file conf$$
2>/dev
/null
; then
40078 rm -f conf$$ conf$$.exe conf$$.
file
40080 if mkdir -p .
2>/dev
/null
; then
40083 test -d .
/-p && rmdir .
/-p
40087 as_executable_p
="test -f"
40089 # Sed expression to map a string onto a valid CPP name.
40090 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
40092 # Sed expression to map a string onto a valid variable name.
40093 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
40097 # We need space, tab and new line, in precisely that order.
40107 # Open the log real soon, to keep \$[0] and so on meaningful, and to
40108 # report actual input values of CONFIG_FILES etc. instead of their
40109 # values after options handling. Logging --version etc. is OK.
40113 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
40114 ## Running $as_me. ##
40119 This file was extended by wxWindows $as_me 2.5.1, which was
40120 generated by GNU Autoconf 2.59. Invocation command line was
40122 CONFIG_FILES = $CONFIG_FILES
40123 CONFIG_HEADERS = $CONFIG_HEADERS
40124 CONFIG_LINKS = $CONFIG_LINKS
40125 CONFIG_COMMANDS = $CONFIG_COMMANDS
40129 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
40133 # Files that config.status was made for.
40134 if test -n "$ac_config_files"; then
40135 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
40138 if test -n "$ac_config_headers"; then
40139 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
40142 if test -n "$ac_config_links"; then
40143 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
40146 if test -n "$ac_config_commands"; then
40147 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
40150 cat >>$CONFIG_STATUS <<\_ACEOF
40153 \`$as_me' instantiates files from templates according to the
40154 current configuration.
40156 Usage: $0 [OPTIONS] [FILE]...
40158 -h, --help print this help, then exit
40159 -V, --version print version number, then exit
40160 -q, --quiet do not print progress messages
40161 -d, --debug don't remove temporary files
40162 --recheck update $as_me by reconfiguring in the same conditions
40163 --file=FILE[:TEMPLATE]
40164 instantiate the configuration file FILE
40165 --header=FILE[:TEMPLATE]
40166 instantiate the configuration header FILE
40168 Configuration files:
40171 Configuration headers:
40174 Configuration commands:
40177 Report bugs to <bug-autoconf@gnu.org>."
40180 cat >>$CONFIG_STATUS <<_ACEOF
40182 wxWindows config.status 2.5.1
40183 configured by $0, generated by GNU Autoconf 2.59,
40184 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
40186 Copyright (C) 2003 Free Software Foundation, Inc.
40187 This config.status script is free software; the Free Software Foundation
40188 gives unlimited permission to copy, distribute and modify it."
40193 cat >>$CONFIG_STATUS <<\_ACEOF
40194 # If no file are specified by the user, then we need to provide default
40195 # value. By we need to know if files were specified by the user.
40201 ac_option
=`expr "x$1" : 'x\([^=]*\)='`
40202 ac_optarg
=`expr "x$1" : 'x[^=]*=\(.*\)'`
40210 *) # This is not an option, so the user has probably given explicit
40213 ac_need_defaults
=false
;;
40217 # Handling of the options.
40219 cat >>$CONFIG_STATUS <<\_ACEOF
40220 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
40222 --version | --vers* | -V )
40223 echo "$ac_cs_version"; exit 0 ;;
40225 # Conflict between --help and --header
40226 { { echo "$as_me:$LINENO: error: ambiguous option: $1
40227 Try \`$0 --help' for more information." >&5
40228 echo "$as_me: error: ambiguous option: $1
40229 Try \`$0 --help' for more information." >&2;}
40230 { (exit 1); exit 1; }; };;
40231 --help | --hel | -h )
40232 echo "$ac_cs_usage"; exit 0 ;;
40233 --debug | --d* | -d )
40235 --file | --fil | --fi | --f )
40237 CONFIG_FILES
="$CONFIG_FILES $ac_optarg"
40238 ac_need_defaults
=false
;;
40239 --header | --heade | --head | --hea )
40241 CONFIG_HEADERS
="$CONFIG_HEADERS $ac_optarg"
40242 ac_need_defaults
=false
;;
40243 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
40244 | -silent | --silent | --silen | --sile | --sil | --si | --s)
40247 # This is an error.
40248 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
40249 Try \`$0 --help' for more information." >&5
40250 echo "$as_me: error: unrecognized option: $1
40251 Try \`$0 --help' for more information." >&2;}
40252 { (exit 1); exit 1; }; } ;;
40254 *) ac_config_targets
="$ac_config_targets $1" ;;
40260 ac_configure_extra_args
=
40262 if $ac_cs_silent; then
40264 ac_configure_extra_args
="$ac_configure_extra_args --silent"
40268 cat >>$CONFIG_STATUS <<_ACEOF
40269 if \$ac_cs_recheck; then
40270 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
40271 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
40276 cat >>$CONFIG_STATUS <<_ACEOF
40278 # INIT-COMMANDS section.
40282 TOOLCHAIN_NAME="${TOOLCHAIN_NAME}"
40291 cat >>$CONFIG_STATUS <<\_ACEOF
40292 for ac_config_target
in $ac_config_targets
40294 case "$ac_config_target" in
40295 # Handling of arguments.
40296 "wx-config" ) CONFIG_FILES
="$CONFIG_FILES wx-config" ;;
40297 "version-script" ) CONFIG_FILES
="$CONFIG_FILES version-script" ;;
40298 "Makefile" ) CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
40299 "$mk" ) CONFIG_FILES
="$CONFIG_FILES $mk" ;;
40300 "default" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS default" ;;
40301 "setup.h" ) CONFIG_HEADERS
="$CONFIG_HEADERS setup.h" ;;
40302 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
40303 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
40304 { (exit 1); exit 1; }; };;
40308 # If the user did not use the arguments to specify the items to instantiate,
40309 # then the envvar interface is used. Set only those that are not.
40310 # We use the long form for the default assignment because of an extremely
40311 # bizarre bug on SunOS 4.1.3.
40312 if $ac_need_defaults; then
40313 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
40314 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
40315 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
40318 # Have a temporary directory for convenience. Make it in the build tree
40319 # simply because there is no reason to put it here, and in addition,
40320 # creating and moving files from /tmp can sometimes cause problems.
40321 # Create a temporary directory, and hook for its removal unless debugging.
40324 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
40325 trap '{ (exit 1); exit 1; }' 1 2 13 15
40328 # Create a (secure) tmp directory for tmp files.
40331 tmp
=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
40332 test -n "$tmp" && test -d "$tmp"
40335 tmp
=.
/confstat$$
-$RANDOM
40336 (umask 077 && mkdir $tmp)
40339 echo "$me: cannot create a temporary directory in ." >&2
40340 { (exit 1); exit 1; }
40345 cat >>$CONFIG_STATUS <<_ACEOF
40348 # CONFIG_FILES section.
40351 # No need to generate the scripts if there are no CONFIG_FILES.
40352 # This happens for instance when ./config.status config.h
40353 if test -n "\$CONFIG_FILES"; then
40354 # Protect against being on the right side of a sed subst in config.status.
40355 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
40356 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
40357 s,@SHELL@,$SHELL,;t t
40358 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
40359 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
40360 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
40361 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
40362 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
40363 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
40364 s,@exec_prefix@,$exec_prefix,;t t
40365 s,@prefix@,$prefix,;t t
40366 s,@program_transform_name@,$program_transform_name,;t t
40367 s,@bindir@,$bindir,;t t
40368 s,@sbindir@,$sbindir,;t t
40369 s,@libexecdir@,$libexecdir,;t t
40370 s,@datadir@,$datadir,;t t
40371 s,@sysconfdir@,$sysconfdir,;t t
40372 s,@sharedstatedir@,$sharedstatedir,;t t
40373 s,@localstatedir@,$localstatedir,;t t
40374 s,@libdir@,$libdir,;t t
40375 s,@includedir@,$includedir,;t t
40376 s,@oldincludedir@,$oldincludedir,;t t
40377 s,@infodir@,$infodir,;t t
40378 s,@mandir@,$mandir,;t t
40379 s,@build_alias@,$build_alias,;t t
40380 s,@host_alias@,$host_alias,;t t
40381 s,@target_alias@,$target_alias,;t t
40382 s,@DEFS@,$DEFS,;t t
40383 s,@ECHO_C@,$ECHO_C,;t t
40384 s,@ECHO_N@,$ECHO_N,;t t
40385 s,@ECHO_T@,$ECHO_T,;t t
40386 s,@LIBS@,$LIBS,;t t
40387 s,@build@,$build,;t t
40388 s,@build_cpu@,$build_cpu,;t t
40389 s,@build_vendor@,$build_vendor,;t t
40390 s,@build_os@,$build_os,;t t
40391 s,@host@,$host,;t t
40392 s,@host_cpu@,$host_cpu,;t t
40393 s,@host_vendor@,$host_vendor,;t t
40394 s,@host_os@,$host_os,;t t
40395 s,@target@,$target,;t t
40396 s,@target_cpu@,$target_cpu,;t t
40397 s,@target_vendor@,$target_vendor,;t t
40398 s,@target_os@,$target_os,;t t
40400 s,@CFLAGS@,$CFLAGS,;t t
40401 s,@LDFLAGS@,$LDFLAGS,;t t
40402 s,@CPPFLAGS@,$CPPFLAGS,;t t
40403 s,@ac_ct_CC@,$ac_ct_CC,;t t
40404 s,@EXEEXT@,$EXEEXT,;t t
40405 s,@OBJEXT@,$OBJEXT,;t t
40407 s,@EGREP@,$EGREP,;t t
40409 s,@CXXFLAGS@,$CXXFLAGS,;t t
40410 s,@ac_ct_CXX@,$ac_ct_CXX,;t t
40411 s,@RANLIB@,$RANLIB,;t t
40412 s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
40414 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
40415 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
40416 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
40417 s,@STRIP@,$STRIP,;t t
40418 s,@IF_GNU_MAKE@,$IF_GNU_MAKE,;t t
40419 s,@LN_S@,$LN_S,;t t
40420 s,@CXXCPP@,$CXXCPP,;t t
40421 s,@subdirs@,$subdirs,;t t
40422 s,@PKG_CONFIG@,$PKG_CONFIG,;t t
40423 s,@GTK_CFLAGS@,$GTK_CFLAGS,;t t
40424 s,@GTK_LIBS@,$GTK_LIBS,;t t
40425 s,@GTK_CONFIG@,$GTK_CONFIG,;t t
40426 s,@PANGOFT2_CFLAGS@,$PANGOFT2_CFLAGS,;t t
40427 s,@PANGOFT2_LIBS@,$PANGOFT2_LIBS,;t t
40428 s,@X_CFLAGS@,$X_CFLAGS,;t t
40429 s,@X_PRE_LIBS@,$X_PRE_LIBS,;t t
40430 s,@X_LIBS@,$X_LIBS,;t t
40431 s,@X_EXTRA_LIBS@,$X_EXTRA_LIBS,;t t
40432 s,@PANGOX_CFLAGS@,$PANGOX_CFLAGS,;t t
40433 s,@PANGOX_LIBS@,$PANGOX_LIBS,;t t
40434 s,@PANGOXFT_CFLAGS@,$PANGOXFT_CFLAGS,;t t
40435 s,@PANGOXFT_LIBS@,$PANGOXFT_LIBS,;t t
40436 s,@RESCOMP@,$RESCOMP,;t t
40437 s,@DEREZ@,$DEREZ,;t t
40438 s,@SETFILE@,$SETFILE,;t t
40439 s,@LIBICONV@,$LIBICONV,;t t
40440 s,@EXTRALIBS_ESD@,$EXTRALIBS_ESD,;t t
40441 s,@SDL_CONFIG@,$SDL_CONFIG,;t t
40442 s,@SDL_CFLAGS@,$SDL_CFLAGS,;t t
40443 s,@SDL_LIBS@,$SDL_LIBS,;t t
40444 s,@CORE_BASE_LIBS@,$CORE_BASE_LIBS,;t t
40445 s,@CORE_GUI_LIBS@,$CORE_GUI_LIBS,;t t
40446 s,@wxUSE_ZLIB@,$wxUSE_ZLIB,;t t
40447 s,@wxUSE_REGEX@,$wxUSE_REGEX,;t t
40448 s,@wxUSE_EXPAT@,$wxUSE_EXPAT,;t t
40449 s,@wxUSE_ODBC@,$wxUSE_ODBC,;t t
40450 s,@wxUSE_LIBJPEG@,$wxUSE_LIBJPEG,;t t
40451 s,@wxUSE_LIBPNG@,$wxUSE_LIBPNG,;t t
40452 s,@wxUSE_LIBTIFF@,$wxUSE_LIBTIFF,;t t
40453 s,@VENDOR@,$VENDOR,;t t
40454 s,@OFFICIAL_BUILD@,$OFFICIAL_BUILD,;t t
40455 s,@WXUNIV@,$WXUNIV,;t t
40456 s,@MONOLITHIC@,$MONOLITHIC,;t t
40457 s,@USE_PLUGINS@,$USE_PLUGINS,;t t
40458 s,@EXTRALIBS@,$EXTRALIBS,;t t
40459 s,@EXTRALIBS_XML@,$EXTRALIBS_XML,;t t
40460 s,@EXTRALIBS_HTML@,$EXTRALIBS_HTML,;t t
40461 s,@EXTRALIBS_ODBC@,$EXTRALIBS_ODBC,;t t
40462 s,@EXTRALIBS_GUI@,$EXTRALIBS_GUI,;t t
40463 s,@EXTRALIBS_OPENGL@,$EXTRALIBS_OPENGL,;t t
40464 s,@EXTRALIBS_SDL@,$EXTRALIBS_SDL,;t t
40465 s,@WITH_PLUGIN_SDL@,$WITH_PLUGIN_SDL,;t t
40466 s,@UNICODE@,$UNICODE,;t t
40467 s,@BUILD@,$BUILD,;t t
40468 s,@DEBUG_INFO@,$DEBUG_INFO,;t t
40469 s,@DEBUG_FLAG@,$DEBUG_FLAG,;t t
40470 s,@SHARED@,$SHARED,;t t
40471 s,@TOOLKIT_LOWERCASE@,$TOOLKIT_LOWERCASE,;t t
40472 s,@TOOLKIT_VERSION@,$TOOLKIT_VERSION,;t t
40473 s,@SAMPLES_RPATH_FLAG@,$SAMPLES_RPATH_FLAG,;t t
40474 s,@SAMPLES_RPATH_POSTLINK@,$SAMPLES_RPATH_POSTLINK,;t t
40475 s,@HOST_SUFFIX@,$HOST_SUFFIX,;t t
40476 s,@SET_MAKE@,$SET_MAKE,;t t
40477 s,@MAKE_SET@,$MAKE_SET,;t t
40478 s,@ac_ct_AR@,$ac_ct_AR,;t t
40479 s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
40481 s,@ac_ct_NM@,$ac_ct_NM,;t t
40482 s,@INSTALL_DIR@,$INSTALL_DIR,;t t
40483 s,@LDFLAGS_GUI@,$LDFLAGS_GUI,;t t
40484 s,@PLATFORM_UNIX@,$PLATFORM_UNIX,;t t
40485 s,@PLATFORM_WIN32@,$PLATFORM_WIN32,;t t
40486 s,@PLATFORM_MSDOS@,$PLATFORM_MSDOS,;t t
40487 s,@PLATFORM_MAC@,$PLATFORM_MAC,;t t
40488 s,@PLATFORM_MACOSX@,$PLATFORM_MACOSX,;t t
40489 s,@PLATFORM_OS2@,$PLATFORM_OS2,;t t
40490 s,@SO_SUFFIX@,$SO_SUFFIX,;t t
40491 s,@SO_SUFFIX_MODULE@,$SO_SUFFIX_MODULE,;t t
40492 s,@LIBPREFIX@,$LIBPREFIX,;t t
40493 s,@DLLPREFIX@,$DLLPREFIX,;t t
40494 s,@DLLPREFIX_MODULE@,$DLLPREFIX_MODULE,;t t
40495 s,@AIX_CXX_LD@,$AIX_CXX_LD,;t t
40496 s,@SHARED_LD_CC@,$SHARED_LD_CC,;t t
40497 s,@SHARED_LD_CXX@,$SHARED_LD_CXX,;t t
40498 s,@SHARED_LD_MODULE_CC@,$SHARED_LD_MODULE_CC,;t t
40499 s,@SHARED_LD_MODULE_CXX@,$SHARED_LD_MODULE_CXX,;t t
40500 s,@PIC_FLAG@,$PIC_FLAG,;t t
40501 s,@USE_SOVERSION@,$USE_SOVERSION,;t t
40502 s,@USE_SOVERLINUX@,$USE_SOVERLINUX,;t t
40503 s,@USE_SOVERSOLARIS@,$USE_SOVERSOLARIS,;t t
40504 s,@USE_MACVERSION@,$USE_MACVERSION,;t t
40505 s,@USE_SOSYMLINKS@,$USE_SOSYMLINKS,;t t
40506 s,@SONAME_FLAG@,$SONAME_FLAG,;t t
40507 s,@DEPS_TRACKING@,$DEPS_TRACKING,;t t
40508 s,@GCC_PCH@,$GCC_PCH,;t t
40509 s,@COND_BUILD_DEBUG@,$COND_BUILD_DEBUG,;t t
40510 s,@COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT@,$COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT,;t t
40511 s,@COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT@,$COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT,;t t
40512 s,@COND_BUILD_DEBUG_UNICODE_0@,$COND_BUILD_DEBUG_UNICODE_0,;t t
40513 s,@COND_BUILD_DEBUG_UNICODE_1@,$COND_BUILD_DEBUG_UNICODE_1,;t t
40514 s,@COND_BUILD_RELEASE@,$COND_BUILD_RELEASE,;t t
40515 s,@COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT@,$COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT,;t t
40516 s,@COND_BUILD_RELEASE_UNICODE_0@,$COND_BUILD_RELEASE_UNICODE_0,;t t
40517 s,@COND_BUILD_RELEASE_UNICODE_1@,$COND_BUILD_RELEASE_UNICODE_1,;t t
40518 s,@COND_DEBUG_FLAG_1@,$COND_DEBUG_FLAG_1,;t t
40519 s,@COND_DEBUG_INFO_0@,$COND_DEBUG_INFO_0,;t t
40520 s,@COND_DEBUG_INFO_1@,$COND_DEBUG_INFO_1,;t t
40521 s,@COND_DEPS_TRACKING_0@,$COND_DEPS_TRACKING_0,;t t
40522 s,@COND_DEPS_TRACKING_1@,$COND_DEPS_TRACKING_1,;t t
40523 s,@COND_GCC_PCH_1@,$COND_GCC_PCH_1,;t t
40524 s,@COND_MONOLITHIC_0@,$COND_MONOLITHIC_0,;t t
40525 s,@COND_MONOLITHIC_0_SHARED_0@,$COND_MONOLITHIC_0_SHARED_0,;t t
40526 s,@COND_MONOLITHIC_0_SHARED_0_USE_GUI_1@,$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1,;t t
40527 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
40528 s,@COND_MONOLITHIC_0_SHARED_0_USE_HTML_1@,$COND_MONOLITHIC_0_SHARED_0_USE_HTML_1,;t t
40529 s,@COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1@,$COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1,;t t
40530 s,@COND_MONOLITHIC_0_SHARED_1@,$COND_MONOLITHIC_0_SHARED_1,;t t
40531 s,@COND_MONOLITHIC_0_SHARED_1_USE_GUI_1@,$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1,;t t
40532 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
40533 s,@COND_MONOLITHIC_0_SHARED_1_USE_HTML_1@,$COND_MONOLITHIC_0_SHARED_1_USE_HTML_1,;t t
40534 s,@COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1@,$COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1,;t t
40535 s,@COND_MONOLITHIC_0_USE_ODBC_1@,$COND_MONOLITHIC_0_USE_ODBC_1,;t t
40536 s,@COND_MONOLITHIC_1@,$COND_MONOLITHIC_1,;t t
40537 s,@COND_MONOLITHIC_1_SHARED_0@,$COND_MONOLITHIC_1_SHARED_0,;t t
40538 s,@COND_MONOLITHIC_1_SHARED_1@,$COND_MONOLITHIC_1_SHARED_1,;t t
40539 s,@COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1@,$COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1,;t t
40540 s,@COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1@,$COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1,;t t
40541 s,@COND_PLATFORM_MACOSX_0_USE_SOVERSION_1@,$COND_PLATFORM_MACOSX_0_USE_SOVERSION_1,;t t
40542 s,@COND_PLATFORM_MACOSX_1@,$COND_PLATFORM_MACOSX_1,;t t
40543 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA@,$COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA,;t t
40544 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_GTK@,$COND_PLATFORM_MACOSX_1_TOOLKIT_GTK,;t t
40545 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_MAC@,$COND_PLATFORM_MACOSX_1_TOOLKIT_MAC,;t t
40546 s,@COND_PLATFORM_MACOSX_1_USE_GUI_1@,$COND_PLATFORM_MACOSX_1_USE_GUI_1,;t t
40547 s,@COND_PLATFORM_MACOSX_1_USE_SOVERSION_1@,$COND_PLATFORM_MACOSX_1_USE_SOVERSION_1,;t t
40548 s,@COND_PLATFORM_MAC_1@,$COND_PLATFORM_MAC_1,;t t
40549 s,@COND_PLATFORM_OS2_1@,$COND_PLATFORM_OS2_1,;t t
40550 s,@COND_PLATFORM_UNIX_0@,$COND_PLATFORM_UNIX_0,;t t
40551 s,@COND_PLATFORM_UNIX_1@,$COND_PLATFORM_UNIX_1,;t t
40552 s,@COND_PLATFORM_UNIX_1_USE_GUI_1@,$COND_PLATFORM_UNIX_1_USE_GUI_1,;t t
40553 s,@COND_PLATFORM_UNIX_1_USE_PLUGINS_0@,$COND_PLATFORM_UNIX_1_USE_PLUGINS_0,;t t
40554 s,@COND_PLATFORM_WIN32_0@,$COND_PLATFORM_WIN32_0,;t t
40555 s,@COND_PLATFORM_WIN32_1@,$COND_PLATFORM_WIN32_1,;t t
40556 s,@COND_SHARED_0@,$COND_SHARED_0,;t t
40557 s,@COND_SHARED_0_USE_GUI_1_USE_OPENGL_1@,$COND_SHARED_0_USE_GUI_1_USE_OPENGL_1,;t t
40558 s,@COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN@,$COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN,;t t
40559 s,@COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN@,$COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN,;t t
40560 s,@COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN@,$COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN,;t t
40561 s,@COND_SHARED_0_WXUSE_EXPAT_BUILTIN@,$COND_SHARED_0_WXUSE_EXPAT_BUILTIN,;t t
40562 s,@COND_SHARED_0_WXUSE_ODBC_BUILTIN@,$COND_SHARED_0_WXUSE_ODBC_BUILTIN,;t t
40563 s,@COND_SHARED_0_WXUSE_REGEX_BUILTIN@,$COND_SHARED_0_WXUSE_REGEX_BUILTIN,;t t
40564 s,@COND_SHARED_0_WXUSE_ZLIB_BUILTIN@,$COND_SHARED_0_WXUSE_ZLIB_BUILTIN,;t t
40565 s,@COND_SHARED_1@,$COND_SHARED_1,;t t
40566 s,@COND_SHARED_1_USE_GUI_1_USE_OPENGL_1@,$COND_SHARED_1_USE_GUI_1_USE_OPENGL_1,;t t
40567 s,@COND_TOOLKIT_COCOA@,$COND_TOOLKIT_COCOA,;t t
40568 s,@COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0,;t t
40569 s,@COND_TOOLKIT_GTK@,$COND_TOOLKIT_GTK,;t t
40570 s,@COND_TOOLKIT_GTK_USE_GUI_1@,$COND_TOOLKIT_GTK_USE_GUI_1,;t t
40571 s,@COND_TOOLKIT_GTK_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_GTK_USE_GUI_1_WXUNIV_0,;t t
40572 s,@COND_TOOLKIT_MAC@,$COND_TOOLKIT_MAC,;t t
40573 s,@COND_TOOLKIT_MAC_USE_GUI_1@,$COND_TOOLKIT_MAC_USE_GUI_1,;t t
40574 s,@COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0,;t t
40575 s,@COND_TOOLKIT_MGL@,$COND_TOOLKIT_MGL,;t t
40576 s,@COND_TOOLKIT_MGL_USE_GUI_1@,$COND_TOOLKIT_MGL_USE_GUI_1,;t t
40577 s,@COND_TOOLKIT_MOTIF@,$COND_TOOLKIT_MOTIF,;t t
40578 s,@COND_TOOLKIT_MOTIF_USE_GUI_1@,$COND_TOOLKIT_MOTIF_USE_GUI_1,;t t
40579 s,@COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0,;t t
40580 s,@COND_TOOLKIT_MSW@,$COND_TOOLKIT_MSW,;t t
40581 s,@COND_TOOLKIT_MSW_USE_GUI_1@,$COND_TOOLKIT_MSW_USE_GUI_1,;t t
40582 s,@COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0,;t t
40583 s,@COND_TOOLKIT_PM@,$COND_TOOLKIT_PM,;t t
40584 s,@COND_TOOLKIT_PM_USE_GUI_1@,$COND_TOOLKIT_PM_USE_GUI_1,;t t
40585 s,@COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0,;t t
40586 s,@COND_TOOLKIT_X11@,$COND_TOOLKIT_X11,;t t
40587 s,@COND_TOOLKIT_X11_USE_GUI_1@,$COND_TOOLKIT_X11_USE_GUI_1,;t t
40588 s,@COND_UNICODE_1@,$COND_UNICODE_1,;t t
40589 s,@COND_USE_EXCEPTIONS_0@,$COND_USE_EXCEPTIONS_0,;t t
40590 s,@COND_USE_EXCEPTIONS_1@,$COND_USE_EXCEPTIONS_1,;t t
40591 s,@COND_USE_GUI_0@,$COND_USE_GUI_0,;t t
40592 s,@COND_USE_GUI_1@,$COND_USE_GUI_1,;t t
40593 s,@COND_USE_GUI_1_WXUNIV_0@,$COND_USE_GUI_1_WXUNIV_0,;t t
40594 s,@COND_USE_GUI_1_WXUNIV_1@,$COND_USE_GUI_1_WXUNIV_1,;t t
40595 s,@COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN@,$COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN,;t t
40596 s,@COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN@,$COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN,;t t
40597 s,@COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN@,$COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN,;t t
40598 s,@COND_USE_ODBC_1@,$COND_USE_ODBC_1,;t t
40599 s,@COND_USE_PLUGINS_0@,$COND_USE_PLUGINS_0,;t t
40600 s,@COND_USE_SOSYMLINKS_1@,$COND_USE_SOSYMLINKS_1,;t t
40601 s,@COND_USE_SOVERLINUX_1@,$COND_USE_SOVERLINUX_1,;t t
40602 s,@COND_USE_SOVERSION_0@,$COND_USE_SOVERSION_0,;t t
40603 s,@COND_USE_SOVERSOLARIS_1@,$COND_USE_SOVERSOLARIS_1,;t t
40604 s,@COND_WITH_PLUGIN_SDL_1@,$COND_WITH_PLUGIN_SDL_1,;t t
40605 s,@COND_WITH_SDL_1@,$COND_WITH_SDL_1,;t t
40606 s,@COND_WXUNIV_1@,$COND_WXUNIV_1,;t t
40607 s,@COND_WXUSE_EXPAT_BUILTIN@,$COND_WXUSE_EXPAT_BUILTIN,;t t
40608 s,@COND_WXUSE_LIBJPEG_BUILTIN@,$COND_WXUSE_LIBJPEG_BUILTIN,;t t
40609 s,@COND_WXUSE_LIBPNG_BUILTIN@,$COND_WXUSE_LIBPNG_BUILTIN,;t t
40610 s,@COND_WXUSE_LIBTIFF_BUILTIN@,$COND_WXUSE_LIBTIFF_BUILTIN,;t t
40611 s,@COND_WXUSE_ODBC_BUILTIN@,$COND_WXUSE_ODBC_BUILTIN,;t t
40612 s,@COND_WXUSE_REGEX_BUILTIN@,$COND_WXUSE_REGEX_BUILTIN,;t t
40613 s,@COND_WXUSE_ZLIB_BUILTIN@,$COND_WXUSE_ZLIB_BUILTIN,;t t
40614 s,@PATH_IFS@,$PATH_IFS,;t t
40615 s,@WX_MAJOR_VERSION_NUMBER@,$WX_MAJOR_VERSION_NUMBER,;t t
40616 s,@WX_MINOR_VERSION_NUMBER@,$WX_MINOR_VERSION_NUMBER,;t t
40617 s,@WX_RELEASE_NUMBER@,$WX_RELEASE_NUMBER,;t t
40618 s,@WX_LIBRARY_NAME_STATIC@,$WX_LIBRARY_NAME_STATIC,;t t
40619 s,@WX_LIBRARY_NAME_SHARED@,$WX_LIBRARY_NAME_SHARED,;t t
40620 s,@WX_LIBRARY_BASENAME_NOGUI@,$WX_LIBRARY_BASENAME_NOGUI,;t t
40621 s,@WX_LIBRARY_BASENAME_GUI@,$WX_LIBRARY_BASENAME_GUI,;t t
40622 s,@WX_LIBRARY_IMPORTLIB@,$WX_LIBRARY_IMPORTLIB,;t t
40623 s,@WX_TARGET_LIBRARY@,$WX_TARGET_LIBRARY,;t t
40624 s,@WX_LIBRARY_LINK1@,$WX_LIBRARY_LINK1,;t t
40625 s,@WX_LIBRARY_LINK2@,$WX_LIBRARY_LINK2,;t t
40626 s,@PROGRAM_EXT@,$PROGRAM_EXT,;t t
40627 s,@WX_LIBRARY_NAME_STATIC_GL@,$WX_LIBRARY_NAME_STATIC_GL,;t t
40628 s,@WX_LIBRARY_NAME_SHARED_GL@,$WX_LIBRARY_NAME_SHARED_GL,;t t
40629 s,@WX_TARGET_LIBRARY_GL@,$WX_TARGET_LIBRARY_GL,;t t
40630 s,@WX_LIBRARY_LINK1_GL@,$WX_LIBRARY_LINK1_GL,;t t
40631 s,@WX_LIBRARY_LINK2_GL@,$WX_LIBRARY_LINK2_GL,;t t
40632 s,@WX_ALL@,$WX_ALL,;t t
40633 s,@WX_ALL_INSTALLED@,$WX_ALL_INSTALLED,;t t
40634 s,@SHARED_LD@,$SHARED_LD,;t t
40635 s,@WX_TARGET_LIBRARY_TYPE@,$WX_TARGET_LIBRARY_TYPE,;t t
40636 s,@STATIC_FLAG@,$STATIC_FLAG,;t t
40637 s,@WXDEBUG_DEFINE@,$WXDEBUG_DEFINE,;t t
40638 s,@USE_GUI@,$USE_GUI,;t t
40639 s,@AFMINSTALL@,$AFMINSTALL,;t t
40640 s,@WIN32INSTALL@,$WIN32INSTALL,;t t
40641 s,@TOOLKIT@,$TOOLKIT,;t t
40642 s,@TOOLKIT_DIR@,$TOOLKIT_DIR,;t t
40643 s,@TOOLKIT_VPATH@,$TOOLKIT_VPATH,;t t
40644 s,@TOOLCHAIN_NAME@,$TOOLCHAIN_NAME,;t t
40645 s,@TOOLCHAIN_DEFS@,$TOOLCHAIN_DEFS,;t t
40646 s,@TOOLCHAIN_DLL_DEFS@,$TOOLCHAIN_DLL_DEFS,;t t
40647 s,@top_builddir_wxconfig@,$top_builddir_wxconfig,;t t
40648 s,@cross_compiling@,$cross_compiling,;t t
40649 s,@WXCONFIG_EXTRALIBS@,$WXCONFIG_EXTRALIBS,;t t
40650 s,@WXCONFIG_LIBS@,$WXCONFIG_LIBS,;t t
40651 s,@WXCONFIG_LIBS_GL@,$WXCONFIG_LIBS_GL,;t t
40652 s,@WXCONFIG_LIBS_STATIC@,$WXCONFIG_LIBS_STATIC,;t t
40653 s,@WXCONFIG_LIBS_STATIC_GL@,$WXCONFIG_LIBS_STATIC_GL,;t t
40654 s,@WXCONFIG_INCLUDE@,$WXCONFIG_INCLUDE,;t t
40655 s,@WXCONFIG_RPATH@,$WXCONFIG_RPATH,;t t
40656 s,@WXCONFIG_LDFLAGS_GUI@,$WXCONFIG_LDFLAGS_GUI,;t t
40657 s,@WX_LARGEFILE_FLAGS@,$WX_LARGEFILE_FLAGS,;t t
40658 s,@CODE_GEN_FLAGS@,$CODE_GEN_FLAGS,;t t
40659 s,@CODE_GEN_FLAGS_CXX@,$CODE_GEN_FLAGS_CXX,;t t
40660 s,@ALL_OBJECTS@,$ALL_OBJECTS,;t t
40661 s,@ALL_HEADERS@,$ALL_HEADERS,;t t
40662 s,@ALL_SOURCES@,$ALL_SOURCES,;t t
40663 s,@GUIDIST@,$GUIDIST,;t t
40664 s,@PORT_FILES@,$PORT_FILES,;t t
40665 s,@DISTDIR@,$DISTDIR,;t t
40666 s,@SAMPLES_SUBDIRS@,$SAMPLES_SUBDIRS,;t t
40667 s,@LDFLAGS_GL@,$LDFLAGS_GL,;t t
40668 s,@LDFLAGS_VERSIONING@,$LDFLAGS_VERSIONING,;t t
40669 s,@LDFLAGS_EXE@,$LDFLAGS_EXE,;t t
40670 s,@OPENGL_LIBS@,$OPENGL_LIBS,;t t
40671 s,@DMALLOC_LIBS@,$DMALLOC_LIBS,;t t
40672 s,@WX_VERSION_TAG@,$WX_VERSION_TAG,;t t
40673 s,@RESFLAGS@,$RESFLAGS,;t t
40674 s,@RESPROGRAMOBJ@,$RESPROGRAMOBJ,;t t
40675 s,@WX_RESOURCES_MACOSX_ASCII@,$WX_RESOURCES_MACOSX_ASCII,;t t
40676 s,@WX_RESOURCES_MACOSX_DATA@,$WX_RESOURCES_MACOSX_DATA,;t t
40677 s,@LIBWXMACRES@,$LIBWXMACRES,;t t
40678 s,@MACRESCOMP@,$MACRESCOMP,;t t
40679 s,@MACSETFILE@,$MACSETFILE,;t t
40680 s,@MACRESWXCONFIG@,$MACRESWXCONFIG,;t t
40682 s,@GCC_SEARCHES_USR_LOCAL_INCLUDE@,$GCC_SEARCHES_USR_LOCAL_INCLUDE,;t t
40683 s,@DLLTOOL@,$DLLTOOL,;t t
40686 s,@MAKEINFO@,$MAKEINFO,;t t
40687 s,@INSTALL_LIBRARY@,$INSTALL_LIBRARY,;t t
40688 s,@LIBOBJS@,$LIBOBJS,;t t
40689 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
40694 cat >>$CONFIG_STATUS <<\_ACEOF
40695 # Split the substitutions into bite-sized pieces for seds with
40696 # small command number limits, like on Digital OSF/1 and HP-UX.
40697 ac_max_sed_lines
=48
40698 ac_sed_frag
=1 # Number of current file.
40699 ac_beg
=1 # First line for current file.
40700 ac_end
=$ac_max_sed_lines # Line after last line for current file.
40703 while $ac_more_lines; do
40704 if test $ac_beg -gt 1; then
40705 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
40707 sed "${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
40709 if test ! -s $tmp/subs.frag
; then
40710 ac_more_lines
=false
40712 # The purpose of the label and of the branching condition is to
40713 # speed up the sed processing (if there are no `@' at all, there
40714 # is no need to browse any of the substitutions).
40715 # These are the two extra sed commands mentioned above.
40717 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag
) >$tmp/subs
-$ac_sed_frag.
sed
40718 if test -z "$ac_sed_cmds"; then
40719 ac_sed_cmds
="sed -f $tmp/subs-$ac_sed_frag.sed"
40721 ac_sed_cmds
="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
40723 ac_sed_frag
=`expr $ac_sed_frag + 1`
40725 ac_end
=`expr $ac_end + $ac_max_sed_lines`
40728 if test -z "$ac_sed_cmds"; then
40731 fi # test -n "$CONFIG_FILES"
40734 cat >>$CONFIG_STATUS <<\_ACEOF
40735 for ac_file
in : $CONFIG_FILES; do test "x$ac_file" = x
: && continue
40736 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
40738 - | *:- | *:-:* ) # input from stdin
40740 ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
40741 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
40742 *:* ) ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
40743 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
40744 * ) ac_file_in
=$ac_file.
in ;;
40747 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
40748 ac_dir
=`(dirname "$ac_file") 2>/dev/null ||
40749 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
40750 X"$ac_file" : 'X\(//\)[^/]' \| \
40751 X"$ac_file" : 'X\(//\)$' \| \
40752 X"$ac_file" : 'X\(/\)' \| \
40753 . : '\(.\)' 2>/dev/null ||
40755 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
40756 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
40757 /^X\(\/\/\)$/{ s//\1/; q; }
40758 /^X\(\/\).*/{ s//\1/; q; }
40760 { if $as_mkdir_p; then
40765 while test ! -d "$as_dir"; do
40766 as_dirs
="$as_dir $as_dirs"
40767 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
40768 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
40769 X"$as_dir" : 'X\(//\)[^/]' \| \
40770 X"$as_dir" : 'X\(//\)$' \| \
40771 X"$as_dir" : 'X\(/\)' \| \
40772 . : '\(.\)' 2>/dev/null ||
40774 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
40775 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
40776 /^X\(\/\/\)$/{ s//\1/; q; }
40777 /^X\(\/\).*/{ s//\1/; q; }
40780 test ! -n "$as_dirs" || mkdir $as_dirs
40781 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
40782 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
40783 { (exit 1); exit 1; }; }; }
40787 if test "$ac_dir" != .
; then
40788 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
40789 # A "../" for each directory in $ac_dir_suffix.
40790 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
40792 ac_dir_suffix
= ac_top_builddir
=
40796 .
) # No --srcdir option. We are building in place.
40798 if test -z "$ac_top_builddir"; then
40801 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
40803 [\\/]* | ?
:[\\/]* ) # Absolute path.
40804 ac_srcdir
=$srcdir$ac_dir_suffix;
40805 ac_top_srcdir
=$srcdir ;;
40806 *) # Relative path.
40807 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
40808 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
40811 # Do not use `cd foo && pwd` to compute absolute paths, because
40812 # the directories may not exist.
40814 .
) ac_abs_builddir
="$ac_dir";;
40817 .
) ac_abs_builddir
=`pwd`;;
40818 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
40819 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
40822 case $ac_abs_builddir in
40823 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
40825 case ${ac_top_builddir}.
in
40826 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
40827 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
40828 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
40831 case $ac_abs_builddir in
40832 .
) ac_abs_srcdir
=$ac_srcdir;;
40835 .
) ac_abs_srcdir
=$ac_abs_builddir;;
40836 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
40837 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
40840 case $ac_abs_builddir in
40841 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
40843 case $ac_top_srcdir in
40844 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
40845 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
40846 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
40852 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
40853 *) ac_INSTALL
=$ac_top_builddir$INSTALL ;;
40856 # Let's still pretend it is `configure' which instantiates (i.e., don't
40857 # use $as_me), people would be surprised to read:
40858 # /* config.h. Generated by config.status. */
40859 if test x
"$ac_file" = x
-; then
40862 configure_input
="$ac_file. "
40864 configure_input
=$configure_input"Generated from `echo $ac_file_in |
40865 sed 's,.*/,,'` by configure."
40867 # First look for the input files in the build tree, otherwise in the
40869 ac_file_inputs
=`IFS=:
40870 for f in $ac_file_in; do
40872 -) echo $tmp/stdin ;;
40874 # Absolute (can't be DOS-style, as IFS=:)
40875 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
40876 echo "$as_me: error: cannot find input file: $f" >&2;}
40877 { (exit 1); exit 1; }; }
40880 if test -f "$f"; then
40883 elif test -f "$srcdir/$f"; then
40888 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
40889 echo "$as_me: error: cannot find input file: $f" >&2;}
40890 { (exit 1); exit 1; }; }
40893 done` || { (exit 1); exit 1; }
40895 if test x
"$ac_file" != x
-; then
40896 { echo "$as_me:$LINENO: creating $ac_file" >&5
40897 echo "$as_me: creating $ac_file" >&6;}
40901 cat >>$CONFIG_STATUS <<_ACEOF
40905 cat >>$CONFIG_STATUS <<\_ACEOF
40907 /@
[a
-zA-Z_][a
-zA-Z_0-9]*@
/!b
40908 s
,@configure_input@
,$configure_input,;t t
40909 s
,@srcdir@
,$ac_srcdir,;t t
40910 s
,@abs_srcdir@
,$ac_abs_srcdir,;t t
40911 s
,@top_srcdir@
,$ac_top_srcdir,;t t
40912 s
,@abs_top_srcdir@
,$ac_abs_top_srcdir,;t t
40913 s
,@builddir@
,$ac_builddir,;t t
40914 s
,@abs_builddir@
,$ac_abs_builddir,;t t
40915 s
,@top_builddir@
,$ac_top_builddir,;t t
40916 s
,@abs_top_builddir@
,$ac_abs_top_builddir,;t t
40917 s
,@INSTALL@
,$ac_INSTALL,;t t
40918 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
40920 if test x"$ac_file" != x-; then
40921 mv $tmp/out $ac_file
40929 cat >>$CONFIG_STATUS <<\_ACEOF
40932 # CONFIG_HEADER section.
40935 # These sed commands are passed to sed as "A NAME B NAME C VALUE D
", where
40936 # NAME is the cpp macro being defined and VALUE is the value it is being given.
40938 # ac_d sets the value in "#define NAME VALUE" lines.
40939 ac_dA
='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
40940 ac_dB
='[ ].*$,\1#\2'
40943 # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
40944 ac_uA
='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
40945 ac_uB
='$,\1#\2define\3'
40949 for ac_file
in : $CONFIG_HEADERS; do test "x$ac_file" = x
: && continue
40950 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
40952 - | *:- | *:-:* ) # input from stdin
40954 ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
40955 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
40956 *:* ) ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
40957 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
40958 * ) ac_file_in
=$ac_file.
in ;;
40961 test x
"$ac_file" != x
- && { echo "$as_me:$LINENO: creating $ac_file" >&5
40962 echo "$as_me: creating $ac_file" >&6;}
40964 # First look for the input files in the build tree, otherwise in the
40966 ac_file_inputs
=`IFS=:
40967 for f in $ac_file_in; do
40969 -) echo $tmp/stdin ;;
40971 # Absolute (can't be DOS-style, as IFS=:)
40972 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
40973 echo "$as_me: error: cannot find input file: $f" >&2;}
40974 { (exit 1); exit 1; }; }
40975 # Do quote $f, to prevent DOS paths from being IFS'd.
40978 if test -f "$f"; then
40981 elif test -f "$srcdir/$f"; then
40986 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
40987 echo "$as_me: error: cannot find input file: $f" >&2;}
40988 { (exit 1); exit 1; }; }
40991 done` || { (exit 1); exit 1; }
40992 # Remove the trailing spaces.
40993 sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
40997 # Transform confdefs.h into two sed scripts, `conftest.defines' and
40998 # `conftest.undefs', that substitutes the proper values into
40999 # config.h.in to produce config.h. The first handles `#define'
41000 # templates, and the second `#undef' templates.
41001 # And first: Protect against being on the right side of a sed subst in
41002 # config.status. Protect against being in an unquoted here document
41003 # in config.status.
41004 rm -f conftest.defines conftest.undefs
41005 # Using a here document instead of a string reduces the quoting nightmare.
41006 # Putting comments in sed scripts is not portable.
41008 # `end' is used to avoid that the second main sed command (meant for
41009 # 0-ary CPP macros) applies to n-ary macro definitions.
41010 # See the Autoconf documentation for `clear'.
41011 cat >confdef2sed.
sed <<\_ACEOF
41016 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
41018 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
41021 # If some macros were called several times there might be several times
41022 # the same #defines, which is useless. Nevertheless, we may not want to
41023 # sort them, since we want the *last* AC-DEFINE to be honored.
41024 uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
41025 sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
41026 rm -f confdef2sed.sed
41028 # This sed command replaces #undef with comments. This is necessary, for
41029 # example, in the case of _POSIX_SOURCE, which is predefined and required
41030 # on some systems where configure will not decide to define it.
41031 cat >>conftest.undefs <<\_ACEOF
41032 s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
41035 # Break up conftest.defines because some shells have a limit on the size
41036 # of here documents, and old seds have small limits too (100 cmds).
41037 echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
41038 echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
41039 echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
41040 echo ' :' >>$CONFIG_STATUS
41041 rm -f conftest.tail
41042 while grep . conftest.defines >/dev/null
41044 # Write a limited-size here document to $tmp/defines.sed.
41045 echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
41046 # Speed up: don't consider the non `#define' lines.
41047 echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
41048 # Work around the forget-to-reset-the-flag bug.
41049 echo 't clr' >>$CONFIG_STATUS
41050 echo ': clr' >>$CONFIG_STATUS
41051 sed ${ac_max_here_lines}q conftest.defines
>>$CONFIG_STATUS
41053 sed -f $tmp/defines.sed $tmp/in >$tmp/out
41055 mv $tmp/out $tmp/in
41057 sed 1,${ac_max_here_lines}d conftest.defines
>conftest.
tail
41058 rm -f conftest.defines
41059 mv conftest.
tail conftest.defines
41061 rm -f conftest.defines
41062 echo ' fi # grep' >>$CONFIG_STATUS
41063 echo >>$CONFIG_STATUS
41065 # Break up conftest.undefs because some shells have a limit on the size
41066 # of here documents, and old seds have small limits too (100 cmds).
41067 echo ' # Handle all the #undef templates' >>$CONFIG_STATUS
41068 rm -f conftest.
tail
41069 while grep . conftest.undefs
>/dev
/null
41071 # Write a limited-size here document to $tmp/undefs.sed.
41072 echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
41073 # Speed up: don't consider the non
`#undef'
41074 echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
41075 # Work around the forget-to-reset-the-flag bug.
41076 echo 't clr' >>$CONFIG_STATUS
41077 echo ': clr' >>$CONFIG_STATUS
41078 sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
41080 sed -f $tmp/undefs.sed $tmp/in >$tmp/out
41082 mv $tmp/out $tmp/in
41084 sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
41085 rm -f conftest.undefs
41086 mv conftest.tail conftest.undefs
41088 rm -f conftest.undefs
41090 cat >>$CONFIG_STATUS <<\_ACEOF
41091 # Let's still pretend it is `configure
' which instantiates (i.e., don't
41092 # use $as_me), people would be surprised to read:
41093 # /* config.h. Generated by config.status. */
41094 if test x
"$ac_file" = x
-; then
41095 echo "/* Generated by configure. */" >$tmp/config.h
41097 echo "/* $ac_file. Generated by configure. */" >$tmp/config.h
41099 cat $tmp/in >>$tmp/config.h
41101 if test x
"$ac_file" != x
-; then
41102 if diff $ac_file $tmp/config.h
>/dev
/null
2>&1; then
41103 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
41104 echo "$as_me: $ac_file is unchanged" >&6;}
41106 ac_dir
=`(dirname "$ac_file") 2>/dev/null ||
41107 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
41108 X"$ac_file" : 'X\(//\)[^/]' \| \
41109 X"$ac_file" : 'X\(//\)$' \| \
41110 X"$ac_file" : 'X\(/\)' \| \
41111 . : '\(.\)' 2>/dev/null ||
41113 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
41114 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
41115 /^X\(\/\/\)$/{ s//\1/; q; }
41116 /^X\(\/\).*/{ s//\1/; q; }
41118 { if $as_mkdir_p; then
41123 while test ! -d "$as_dir"; do
41124 as_dirs
="$as_dir $as_dirs"
41125 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
41126 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
41127 X"$as_dir" : 'X\(//\)[^/]' \| \
41128 X"$as_dir" : 'X\(//\)$' \| \
41129 X"$as_dir" : 'X\(/\)' \| \
41130 . : '\(.\)' 2>/dev/null ||
41132 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
41133 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
41134 /^X\(\/\/\)$/{ s//\1/; q; }
41135 /^X\(\/\).*/{ s//\1/; q; }
41138 test ! -n "$as_dirs" || mkdir $as_dirs
41139 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
41140 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
41141 { (exit 1); exit 1; }; }; }
41144 mv $tmp/config.h
$ac_file
41148 rm -f $tmp/config.h
41152 cat >>$CONFIG_STATUS <<\_ACEOF
41155 # CONFIG_COMMANDS section.
41157 for ac_file
in : $CONFIG_COMMANDS; do test "x$ac_file" = x
: && continue
41158 ac_dest
=`echo "$ac_file" | sed 's,:.*,,'`
41159 ac_source
=`echo "$ac_file" | sed 's,[^:]*:,,'`
41160 ac_dir
=`(dirname "$ac_dest") 2>/dev/null ||
41161 $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
41162 X"$ac_dest" : 'X\(//\)[^/]' \| \
41163 X"$ac_dest" : 'X\(//\)$' \| \
41164 X"$ac_dest" : 'X\(/\)' \| \
41165 . : '\(.\)' 2>/dev/null ||
41167 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
41168 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
41169 /^X\(\/\/\)$/{ s//\1/; q; }
41170 /^X\(\/\).*/{ s//\1/; q; }
41172 { if $as_mkdir_p; then
41177 while test ! -d "$as_dir"; do
41178 as_dirs
="$as_dir $as_dirs"
41179 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
41180 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
41181 X"$as_dir" : 'X\(//\)[^/]' \| \
41182 X"$as_dir" : 'X\(//\)$' \| \
41183 X"$as_dir" : 'X\(/\)' \| \
41184 . : '\(.\)' 2>/dev/null ||
41186 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
41187 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
41188 /^X\(\/\/\)$/{ s//\1/; q; }
41189 /^X\(\/\).*/{ s//\1/; q; }
41192 test ! -n "$as_dirs" || mkdir $as_dirs
41193 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
41194 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
41195 { (exit 1); exit 1; }; }; }
41199 if test "$ac_dir" != .
; then
41200 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
41201 # A "../" for each directory in $ac_dir_suffix.
41202 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
41204 ac_dir_suffix
= ac_top_builddir
=
41208 .
) # No --srcdir option. We are building in place.
41210 if test -z "$ac_top_builddir"; then
41213 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
41215 [\\/]* | ?
:[\\/]* ) # Absolute path.
41216 ac_srcdir
=$srcdir$ac_dir_suffix;
41217 ac_top_srcdir
=$srcdir ;;
41218 *) # Relative path.
41219 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
41220 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
41223 # Do not use `cd foo && pwd` to compute absolute paths, because
41224 # the directories may not exist.
41226 .
) ac_abs_builddir
="$ac_dir";;
41229 .
) ac_abs_builddir
=`pwd`;;
41230 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
41231 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
41234 case $ac_abs_builddir in
41235 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
41237 case ${ac_top_builddir}.
in
41238 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
41239 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
41240 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
41243 case $ac_abs_builddir in
41244 .
) ac_abs_srcdir
=$ac_srcdir;;
41247 .
) ac_abs_srcdir
=$ac_abs_builddir;;
41248 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
41249 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
41252 case $ac_abs_builddir in
41253 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
41255 case $ac_top_srcdir in
41256 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
41257 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
41258 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
41263 { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
41264 echo "$as_me: executing $ac_dest commands" >&6;}
41267 if test ! -h wx
-config; then
41269 mv wx
-config wx
${TOOLCHAIN_NAME}-config
41270 ${LN_S} wx
${TOOLCHAIN_NAME}-config wx
-config
41273 if test ! -d lib
; then
41276 if test ! -d lib
/wx
; then
41279 if test ! -d lib
/wx
/include
; then
41280 mkdir lib
/wx
/include
41282 if test ! -d lib
/wx
/include
/${TOOLCHAIN_NAME}; then
41283 mkdir lib
/wx
/include
/${TOOLCHAIN_NAME}
41285 if test ! -d lib
/wx
/include
/${TOOLCHAIN_NAME}/wx
; then
41286 mkdir lib
/wx
/include
/${TOOLCHAIN_NAME}/wx
41288 if test -f setup.h
; then
41289 mv -f setup.h lib
/wx
/include
/${TOOLCHAIN_NAME}/wx
/setup.h
41296 cat >>$CONFIG_STATUS <<\_ACEOF
41298 { (exit 0); exit 0; }
41300 chmod +x
$CONFIG_STATUS
41301 ac_clean_files
=$ac_clean_files_save
41304 # configure is writing to config.log, and then calls config.status.
41305 # config.status does its own redirection, appending to config.log.
41306 # Unfortunately, on DOS this fails, as config.log is still kept open
41307 # by configure, so config.status won't be able to write to it; its
41308 # output is simply discarded. So we exec the FD to /dev/null,
41309 # effectively closing config.log, so it can be properly (re)opened and
41310 # appended to by config.status. When coming back to configure, we
41311 # need to make the FD available again.
41312 if test "$no_create" != yes; then
41314 ac_config_status_args
=
41315 test "$silent" = yes &&
41316 ac_config_status_args
="$ac_config_status_args --quiet"
41318 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
41320 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
41321 # would make configure fail if this is the last instruction.
41322 $ac_cs_success || { (exit 1); exit 1; }
41326 # CONFIG_SUBDIRS section.
41328 if test "$no_recursion" != yes; then
41330 # Remove --cache-file and --srcdir arguments so they do not pile up.
41331 ac_sub_configure_args
=
41333 for ac_arg
in $ac_configure_args; do
41334 if test -n "$ac_prev"; then
41339 -cache-file | --cache-file | --cache-fil | --cache-fi \
41340 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
41341 ac_prev
=cache_file
;;
41342 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
41343 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* \
41346 --config-cache | -C)
41348 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
41350 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
41352 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
41354 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
41356 *) ac_sub_configure_args
="$ac_sub_configure_args $ac_arg" ;;
41360 # Always prepend --prefix to ensure using the same prefix
41361 # in subdir configurations.
41362 ac_sub_configure_args
="--prefix=$prefix $ac_sub_configure_args"
41365 for ac_dir
in : $subdirs; do test "x$ac_dir" = x
: && continue
41367 # Do not complain, so a configure script can configure whichever
41368 # parts of a large source tree are present.
41369 test -d $srcdir/$ac_dir || continue
41371 { echo "$as_me:$LINENO: configuring in $ac_dir" >&5
41372 echo "$as_me: configuring in $ac_dir" >&6;}
41373 { if $as_mkdir_p; then
41378 while test ! -d "$as_dir"; do
41379 as_dirs
="$as_dir $as_dirs"
41380 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
41381 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
41382 X"$as_dir" : 'X\(//\)[^/]' \| \
41383 X"$as_dir" : 'X\(//\)$' \| \
41384 X"$as_dir" : 'X\(/\)' \| \
41385 . : '\(.\)' 2>/dev/null ||
41387 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
41388 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
41389 /^X\(\/\/\)$/{ s//\1/; q; }
41390 /^X\(\/\).*/{ s//\1/; q; }
41393 test ! -n "$as_dirs" || mkdir $as_dirs
41394 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
41395 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
41396 { (exit 1); exit 1; }; }; }
41400 if test "$ac_dir" != .
; then
41401 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
41402 # A "../" for each directory in $ac_dir_suffix.
41403 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
41405 ac_dir_suffix
= ac_top_builddir
=
41409 .
) # No --srcdir option. We are building in place.
41411 if test -z "$ac_top_builddir"; then
41414 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
41416 [\\/]* | ?
:[\\/]* ) # Absolute path.
41417 ac_srcdir
=$srcdir$ac_dir_suffix;
41418 ac_top_srcdir
=$srcdir ;;
41419 *) # Relative path.
41420 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
41421 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
41424 # Do not use `cd foo && pwd` to compute absolute paths, because
41425 # the directories may not exist.
41427 .
) ac_abs_builddir
="$ac_dir";;
41430 .
) ac_abs_builddir
=`pwd`;;
41431 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
41432 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
41435 case $ac_abs_builddir in
41436 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
41438 case ${ac_top_builddir}.
in
41439 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
41440 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
41441 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
41444 case $ac_abs_builddir in
41445 .
) ac_abs_srcdir
=$ac_srcdir;;
41448 .
) ac_abs_srcdir
=$ac_abs_builddir;;
41449 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
41450 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
41453 case $ac_abs_builddir in
41454 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
41456 case $ac_top_srcdir in
41457 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
41458 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
41459 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
41466 # Check for guested configure; otherwise get Cygnus style configure.
41467 if test -f $ac_srcdir/configure.gnu
; then
41468 ac_sub_configure
="$SHELL '$ac_srcdir/configure.gnu'"
41469 elif test -f $ac_srcdir/configure
; then
41470 ac_sub_configure
="$SHELL '$ac_srcdir/configure'"
41471 elif test -f $ac_srcdir/configure.
in; then
41472 ac_sub_configure
=$ac_configure
41474 { echo "$as_me:$LINENO: WARNING: no configuration information is in $ac_dir" >&5
41475 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;}
41479 # The recursion is here.
41480 if test -n "$ac_sub_configure"; then
41481 # Make the cache file name correct relative to the subdirectory.
41482 case $cache_file in
41483 [\\/]* | ?
:[\\/]* ) ac_sub_cache_file
=$cache_file ;;
41484 *) # Relative path.
41485 ac_sub_cache_file
=$ac_top_builddir$cache_file ;;
41488 { echo "$as_me:$LINENO: running $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&5
41489 echo "$as_me: running $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;}
41490 # The eval makes quoting arguments work.
41491 eval $ac_sub_configure $ac_sub_configure_args \
41492 --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir ||
41493 { { echo "$as_me:$LINENO: error: $ac_sub_configure failed for $ac_dir" >&5
41494 echo "$as_me: error: $ac_sub_configure failed for $ac_dir" >&2;}
41495 { (exit 1); exit 1; }; }
41504 echo "Configured wxWindows ${WX_VERSION} for \`${host}'"
41506 echo " Which GUI toolkit should wxWindows use? ${TOOLKIT_LOWERCASE:-base only}"
41507 echo " Should wxWindows be compiled into single library? ${wxUSE_MONOLITHIC:-yes}"
41509 echo " Should wxWindows be compiled in debug mode? ${wxUSE_DEBUG:-no}"
41510 echo " Should wxWindows be linked as a shared library? ${wxUSE_SHARED:-no}"
41511 echo " Should wxWindows be compiled in Unicode mode? ${wxUSE_UNICODE:-no}"
41513 echo " What level of wxWindows compatibility should be enabled?"
41514 echo " wxWindows 2.2 ${WXWIN_COMPATIBILITY_2_2:-no}"
41515 echo " wxWindows 2.4 ${WXWIN_COMPATIBILITY_2_4:-yes}"
41517 echo " Which libraries should wxWindows use?"
41518 echo " jpeg ${wxUSE_LIBJPEG-none}"
41519 echo " png ${wxUSE_LIBPNG-none}"
41520 echo " regex ${wxUSE_REGEX}"
41521 echo " tiff ${wxUSE_LIBTIFF-none}"
41522 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
41523 echo " xpm ${wxUSE_LIBXPM-none}"
41525 echo " zlib ${wxUSE_ZLIB}"
41526 echo " odbc ${wxUSE_ODBC}"
41527 echo " expat ${wxUSE_EXPAT}"
41528 echo " libmspack ${wxUSE_LIBMSPACK}"
41529 echo " sdl ${wxUSE_LIBSDL}"