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 CPPUNIT_CFLAGS CPPUNIT_LIBS SET_MAKE MAKE_SET ac_ct_AR ac_ct_STRIP NM ac_ct_NM INSTALL_DIR LDFLAGS_GUI PLATFORM_UNIX PLATFORM_WIN32 PLATFORM_MSDOS PLATFORM_MAC PLATFORM_MACOSX PLATFORM_OS2 SO_SUFFIX SO_SUFFIX_MODULE 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 CPPUNIT_CONFIG LIBOBJS LTLIBOBJS'
319 # Initialize some variables set by options.
321 ac_init_version
=false
322 # The variables have the same names as the options, with
323 # dashes changed to underlines.
331 program_transform_name
=s
,x
,x
,
339 # Installation directory options.
340 # These are left unexpanded so users can "make install exec_prefix=/foo"
341 # and all the variables that are supposed to be based on exec_prefix
342 # by default will actually change.
343 # Use braces instead of parens because sh, perl, etc. also accept them.
344 bindir
='${exec_prefix}/bin'
345 sbindir
='${exec_prefix}/sbin'
346 libexecdir
='${exec_prefix}/libexec'
347 datadir
='${prefix}/share'
348 sysconfdir
='${prefix}/etc'
349 sharedstatedir
='${prefix}/com'
350 localstatedir
='${prefix}/var'
351 libdir
='${exec_prefix}/lib'
352 includedir
='${prefix}/include'
353 oldincludedir
='/usr/include'
354 infodir
='${prefix}/info'
355 mandir
='${prefix}/man'
360 # If the previous option needs an argument, assign it.
361 if test -n "$ac_prev"; then
362 eval "$ac_prev=\$ac_option"
367 ac_optarg
=`expr "x$ac_option" : 'x[^=]*=\(.*\)'`
369 # Accept the important Cygnus configure options, so we can diagnose typos.
373 -bindir | --bindir | --bindi | --bind | --bin | --bi)
375 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
378 -build | --build | --buil | --bui | --bu)
379 ac_prev
=build_alias
;;
380 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
381 build_alias
=$ac_optarg ;;
383 -cache-file | --cache-file | --cache-fil | --cache-fi \
384 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
385 ac_prev
=cache_file
;;
386 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
387 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
388 cache_file
=$ac_optarg ;;
391 cache_file
=config.cache
;;
393 -datadir | --datadir | --datadi | --datad | --data | --dat | --da)
395 -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
397 datadir
=$ac_optarg ;;
399 -disable-* | --disable-*)
400 ac_feature
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
401 # Reject names that are not valid shell variable names.
402 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
403 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
404 { (exit 1); exit 1; }; }
405 ac_feature
=`echo $ac_feature | sed 's/-/_/g'`
406 eval "enable_$ac_feature=no" ;;
408 -enable-* | --enable-*)
409 ac_feature
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
410 # Reject names that are not valid shell variable names.
411 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
412 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
413 { (exit 1); exit 1; }; }
414 ac_feature
=`echo $ac_feature | sed 's/-/_/g'`
416 *=*) ac_optarg
=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
419 eval "enable_$ac_feature='$ac_optarg'" ;;
421 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
422 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
423 | --exec | --exe | --ex)
424 ac_prev
=exec_prefix
;;
425 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
426 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
427 | --exec=* | --exe=* | --ex=*)
428 exec_prefix
=$ac_optarg ;;
430 -gas | --gas | --ga | --g)
431 # Obsolete; use --with-gas.
434 -help | --help | --hel | --he | -h)
436 -help=r
* | --help=r
* | --hel=r
* | --he=r
* | -hr*)
437 ac_init_help
=recursive
;;
438 -help=s
* | --help=s
* | --hel=s
* | --he=s
* | -hs*)
439 ac_init_help
=short
;;
441 -host | --host | --hos | --ho)
442 ac_prev
=host_alias
;;
443 -host=* | --host=* | --hos=* | --ho=*)
444 host_alias
=$ac_optarg ;;
446 -includedir | --includedir | --includedi | --included | --include \
447 | --includ | --inclu | --incl | --inc)
448 ac_prev
=includedir
;;
449 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
450 | --includ=* | --inclu=* | --incl=* | --inc=*)
451 includedir
=$ac_optarg ;;
453 -infodir | --infodir | --infodi | --infod | --info | --inf)
455 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
456 infodir
=$ac_optarg ;;
458 -libdir | --libdir | --libdi | --libd)
460 -libdir=* | --libdir=* | --libdi=* | --libd=*)
463 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
464 | --libexe | --libex | --libe)
465 ac_prev
=libexecdir
;;
466 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
467 | --libexe=* | --libex=* | --libe=*)
468 libexecdir
=$ac_optarg ;;
470 -localstatedir | --localstatedir | --localstatedi | --localstated \
471 | --localstate | --localstat | --localsta | --localst \
472 | --locals | --local | --loca | --loc | --lo)
473 ac_prev
=localstatedir
;;
474 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
475 | --localstate=* | --localstat=* | --localsta=* | --localst=* \
476 | --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
477 localstatedir
=$ac_optarg ;;
479 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
481 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
485 # Obsolete; use --without-fp.
488 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
489 | --no-cr | --no-c | -n)
492 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
493 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
496 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
497 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
498 | --oldin | --oldi | --old | --ol | --o)
499 ac_prev
=oldincludedir
;;
500 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
501 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
502 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
503 oldincludedir
=$ac_optarg ;;
505 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
507 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
510 -program-prefix | --program-prefix | --program-prefi | --program-pref \
511 | --program-pre | --program-pr | --program-p)
512 ac_prev
=program_prefix
;;
513 -program-prefix=* | --program-prefix=* | --program-prefi=* \
514 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
515 program_prefix
=$ac_optarg ;;
517 -program-suffix | --program-suffix | --program-suffi | --program-suff \
518 | --program-suf | --program-su | --program-s)
519 ac_prev
=program_suffix
;;
520 -program-suffix=* | --program-suffix=* | --program-suffi=* \
521 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
522 program_suffix
=$ac_optarg ;;
524 -program-transform-name | --program-transform-name \
525 | --program-transform-nam | --program-transform-na \
526 | --program-transform-n | --program-transform- \
527 | --program-transform | --program-transfor \
528 | --program-transfo | --program-transf \
529 | --program-trans | --program-tran \
530 | --progr-tra | --program-tr | --program-t)
531 ac_prev
=program_transform_name
;;
532 -program-transform-name=* | --program-transform-name=* \
533 | --program-transform-nam=* | --program-transform-na=* \
534 | --program-transform-n=* | --program-transform-=* \
535 | --program-transform=* | --program-transfor=* \
536 | --program-transfo=* | --program-transf=* \
537 | --program-trans=* | --program-tran=* \
538 | --progr-tra=* | --program-tr=* | --program-t=*)
539 program_transform_name
=$ac_optarg ;;
541 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
542 | -silent | --silent | --silen | --sile | --sil)
545 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
547 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
549 sbindir
=$ac_optarg ;;
551 -sharedstatedir | --sharedstatedir | --sharedstatedi \
552 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
553 | --sharedst | --shareds | --shared | --share | --shar \
555 ac_prev
=sharedstatedir
;;
556 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
557 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
558 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
560 sharedstatedir
=$ac_optarg ;;
562 -site | --site | --sit)
564 -site=* | --site=* | --sit=*)
567 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
569 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
572 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
573 | --syscon | --sysco | --sysc | --sys | --sy)
574 ac_prev
=sysconfdir
;;
575 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
576 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
577 sysconfdir
=$ac_optarg ;;
579 -target | --target | --targe | --targ | --tar | --ta | --t)
580 ac_prev
=target_alias
;;
581 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
582 target_alias
=$ac_optarg ;;
584 -v | -verbose | --verbose | --verbos | --verbo | --verb)
587 -version | --version | --versio | --versi | --vers | -V)
591 ac_package
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
592 # Reject names that are not valid shell variable names.
593 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
594 { echo "$as_me: error: invalid package name: $ac_package" >&2
595 { (exit 1); exit 1; }; }
596 ac_package
=`echo $ac_package| sed 's/-/_/g'`
598 *=*) ac_optarg
=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
601 eval "with_$ac_package='$ac_optarg'" ;;
603 -without-* | --without-*)
604 ac_package
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
605 # Reject names that are not valid shell variable names.
606 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
607 { echo "$as_me: error: invalid package name: $ac_package" >&2
608 { (exit 1); exit 1; }; }
609 ac_package
=`echo $ac_package | sed 's/-/_/g'`
610 eval "with_$ac_package=no" ;;
613 # Obsolete; use --with-x.
616 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
617 | --x-incl | --x-inc | --x-in | --x-i)
618 ac_prev
=x_includes
;;
619 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
620 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
621 x_includes
=$ac_optarg ;;
623 -x-libraries | --x-libraries | --x-librarie | --x-librari \
624 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
625 ac_prev
=x_libraries
;;
626 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
627 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
628 x_libraries
=$ac_optarg ;;
630 -*) { echo "$as_me: error: unrecognized option: $ac_option
631 Try \`$0 --help' for more information." >&2
632 { (exit 1); exit 1; }; }
636 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
637 # Reject names that are not valid shell variable names.
638 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev
/null
&&
639 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
640 { (exit 1); exit 1; }; }
641 ac_optarg
=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`
642 eval "$ac_envvar='$ac_optarg'"
646 # FIXME: should be removed in autoconf 3.0.
647 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
648 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
649 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
650 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
656 if test -n "$ac_prev"; then
657 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
658 { echo "$as_me: error: missing argument to $ac_option" >&2
659 { (exit 1); exit 1; }; }
662 # Be sure to have absolute paths.
663 for ac_var
in exec_prefix prefix
665 eval ac_val
=$
`echo $ac_var`
667 [\\/$
]* | ?
:[\\/]* | NONE
| '' ) ;;
668 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
669 { (exit 1); exit 1; }; };;
673 # Be sure to have absolute paths.
674 for ac_var
in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
675 localstatedir libdir includedir oldincludedir infodir mandir
677 eval ac_val
=$
`echo $ac_var`
679 [\\/$
]* | ?
:[\\/]* ) ;;
680 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
681 { (exit 1); exit 1; }; };;
685 # There might be people who depend on the old broken behavior: `$host'
686 # used to hold the argument of --host etc.
687 # FIXME: To remove some day.
692 # FIXME: To remove some day.
693 if test "x$host_alias" != x
; then
694 if test "x$build_alias" = x
; then
695 cross_compiling
=maybe
696 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
697 If a cross compiler is detected then cross compile mode will be used." >&2
698 elif test "x$build_alias" != "x$host_alias"; then
704 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
706 test "$silent" = yes && exec 6>/dev
/null
709 # Find the source files, if location was not specified.
710 if test -z "$srcdir"; then
711 ac_srcdir_defaulted
=yes
712 # Try the directory containing this script, then its parent.
713 ac_confdir
=`(dirname "$0") 2>/dev/null ||
714 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
715 X"$0" : 'X\(//\)[^/]' \| \
716 X"$0" : 'X\(//\)$' \| \
717 X"$0" : 'X\(/\)' \| \
718 . : '\(.\)' 2>/dev/null ||
720 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
721 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
722 /^X\(\/\/\)$/{ s//\1/; q; }
723 /^X\(\/\).*/{ s//\1/; q; }
726 if test ! -r $srcdir/$ac_unique_file; then
730 ac_srcdir_defaulted
=no
732 if test ! -r $srcdir/$ac_unique_file; then
733 if test "$ac_srcdir_defaulted" = yes; then
734 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2
735 { (exit 1); exit 1; }; }
737 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
738 { (exit 1); exit 1; }; }
741 (cd $srcdir && test -r .
/$ac_unique_file) 2>/dev
/null
||
742 { echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2
743 { (exit 1); exit 1; }; }
744 srcdir
=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
745 ac_env_build_alias_set
=${build_alias+set}
746 ac_env_build_alias_value
=$build_alias
747 ac_cv_env_build_alias_set
=${build_alias+set}
748 ac_cv_env_build_alias_value
=$build_alias
749 ac_env_host_alias_set
=${host_alias+set}
750 ac_env_host_alias_value
=$host_alias
751 ac_cv_env_host_alias_set
=${host_alias+set}
752 ac_cv_env_host_alias_value
=$host_alias
753 ac_env_target_alias_set
=${target_alias+set}
754 ac_env_target_alias_value
=$target_alias
755 ac_cv_env_target_alias_set
=${target_alias+set}
756 ac_cv_env_target_alias_value
=$target_alias
757 ac_env_CC_set
=${CC+set}
759 ac_cv_env_CC_set
=${CC+set}
760 ac_cv_env_CC_value
=$CC
761 ac_env_CFLAGS_set
=${CFLAGS+set}
762 ac_env_CFLAGS_value
=$CFLAGS
763 ac_cv_env_CFLAGS_set
=${CFLAGS+set}
764 ac_cv_env_CFLAGS_value
=$CFLAGS
765 ac_env_LDFLAGS_set
=${LDFLAGS+set}
766 ac_env_LDFLAGS_value
=$LDFLAGS
767 ac_cv_env_LDFLAGS_set
=${LDFLAGS+set}
768 ac_cv_env_LDFLAGS_value
=$LDFLAGS
769 ac_env_CPPFLAGS_set
=${CPPFLAGS+set}
770 ac_env_CPPFLAGS_value
=$CPPFLAGS
771 ac_cv_env_CPPFLAGS_set
=${CPPFLAGS+set}
772 ac_cv_env_CPPFLAGS_value
=$CPPFLAGS
773 ac_env_CPP_set
=${CPP+set}
774 ac_env_CPP_value
=$CPP
775 ac_cv_env_CPP_set
=${CPP+set}
776 ac_cv_env_CPP_value
=$CPP
777 ac_env_CXX_set
=${CXX+set}
778 ac_env_CXX_value
=$CXX
779 ac_cv_env_CXX_set
=${CXX+set}
780 ac_cv_env_CXX_value
=$CXX
781 ac_env_CXXFLAGS_set
=${CXXFLAGS+set}
782 ac_env_CXXFLAGS_value
=$CXXFLAGS
783 ac_cv_env_CXXFLAGS_set
=${CXXFLAGS+set}
784 ac_cv_env_CXXFLAGS_value
=$CXXFLAGS
785 ac_env_CXXCPP_set
=${CXXCPP+set}
786 ac_env_CXXCPP_value
=$CXXCPP
787 ac_cv_env_CXXCPP_set
=${CXXCPP+set}
788 ac_cv_env_CXXCPP_value
=$CXXCPP
791 # Report the --help message.
793 if test "$ac_init_help" = "long"; then
794 # Omit some internal or obsolete options to make the list less imposing.
795 # This message is too long to be a string in the A/UX 3.1 sh.
797 \`configure' configures 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-omf use OMF object format
882 --enable-debug_flag set __WXDEBUG__ flag
(recommended
for developers
!)
883 --enable-debug_info create code with debugging information
884 --enable-debug_gdb create code with extra GDB debugging information
885 --enable-debug_cntxt use wxDebugContext
886 --enable-mem_tracing create code with memory tracing
887 --enable-profile create code with profiling information
888 --enable-no_rtti create code without RTTI information
889 --enable-no_exceptions create code without C
++ exceptions handling
890 --enable-permissive compile code disregarding strict ANSI
891 --enable-no_deps create code without dependency information
892 --enable-compat22 enable wxWindows
2.2 compatibility
893 --disable-compat24 disable wxWindows
2.4 compatibility
894 --enable-rpath=DIR output the rpath flag from wx
-config
895 --enable-intl use internationalization system
896 --enable-config use wxConfig
(and derived
) classes
897 --enable-protocols use wxProtocol and derived classes
898 --enable-ftp use wxFTP
(requires wxProtocol
899 --enable-http use wxHTTP
(requires wxProtocol
900 --enable-fileproto use wxFileProto class
(requires wxProtocol
901 --enable-sockets use socket
/network classes
902 --enable-ole use OLE classes
(Win32 only
)
903 --enable-dataobj use data object classes
904 --enable-ipc use interprocess communication
(wxSocket etc.
)
905 --enable-apple_ieee use the Apple IEEE codec
906 --enable-catch_segvs catch signals
in wxApp
::OnFatalException
(Unix only
)
907 --enable-cmdline use wxCmdLineParser class
908 --enable-datetime use wxDateTime class
909 --enable-dialupman use dialup network classes
910 --enable-dynlib use wxLibrary class
for DLL loading
911 --enable-dynamicloader use
(new
) wxDynamicLibrary class
912 --enable-exceptions build exception
-safe library
913 --enable-ffile use wxFFile class
914 --enable-file use wxFile class
915 --enable-filesystem use virtual
file systems classes
916 --enable-fontmap use font encodings conversion classes
917 --enable-fs_inet use virtual HTTP
/FTP filesystems
918 --enable-fs_zip use virtual ZIP filesystems
919 --enable-geometry use geometry class
920 --enable-log use logging system
921 --enable-longlong use wxLongLong class
922 --enable-mimetype use wxMimeTypesManager
923 --enable-mslu use MS Layer
for Unicode on Windows
9x
(Win32 only
)
924 --enable-snglinst use wxSingleInstanceChecker class
925 --enable-streams use wxStream etc classes
926 --enable-std_iostreams use standard C
++ stream classes
927 --enable-stopwatch use wxStopWatch class
928 --enable-sysoptions use wxSystemOptions
929 --enable-textbuf use wxTextBuffer class
930 --enable-textfile use wxTextFile class
931 --enable-timer use wxTimer class
932 --enable-unicode compile wxString with Unicode support
933 --enable-sound use wxSound class
934 --enable-wxprintfv use wxWindows implementation of vprintf
()
935 --enable-zipstream use wxZipInputStream
936 --enable-gzstream use wxGzipInputStream
937 --enable-url use wxURL class
938 --enable-protocol use wxProtocol class
939 --enable-protocol-http HTTP support
in wxProtocol
940 --enable-protocol-ftp FTP support
in wxProtocol
941 --enable-protocol-file FILE support
in wxProtocol
942 --enable-threads use threads
943 --enable-docview use document view architecture
944 --enable-help use
help subsystem
945 --enable-mshtmlhelp use MS HTML Help
(win32
)
946 --enable-html use wxHTML sub
-library
947 --enable-htmlhelp use wxHTML
-based help
948 --enable-constraints use layout
-constraints system
949 --enable-printarch use printing architecture
950 --enable-mdi use multiple document interface architecture
951 --enable-loggui use standard GUI logger
952 --enable-logwin use wxLogWindow
953 --enable-logdialog use wxLogDialog
954 --enable-postscript use wxPostscriptDC device context
(default
for gtk
+)
955 --enable-prologio not available
; see contrib
956 --enable-resources not available
; see contrib
957 --enable-clipboard use wxClipboard class
958 --enable-dnd use Drag
'n'Drop classes
959 --enable-metafile use win32 metafiles
960 --enable-controls use all usual controls
961 --enable-accel use accelerators
962 --enable-button use wxButton class
963 --enable-bmpbutton use wxBitmapButton class
964 --enable-calendar use wxCalendarCtrl class
965 --enable-caret use wxCaret class
966 --enable-checkbox use wxCheckBox class
967 --enable-checklst use wxCheckListBox
(listbox with checkboxes
) class
968 --enable-choice use wxChoice class
969 --enable-combobox use wxComboBox class
970 --enable-display use wxDisplay class
971 --enable-gauge use wxGauge class
972 --enable-grid use wxGrid class
973 --enable-imaglist use wxImageList class
974 --enable-listbook use wxListbook class
975 --enable-listbox use wxListBox class
976 --enable-listctrl use wxListCtrl class
977 --enable-notebook use wxNotebook class
978 --enable-radiobox use wxRadioBox class
979 --enable-radiobtn use wxRadioButton class
980 --enable-sash use wxSashWindow class
981 --enable-scrollbar use wxScrollBar class and scrollable windows
982 --enable-slider use wxSlider class
983 --enable-spinbtn use wxSpinButton class
984 --enable-spinctrl use wxSpinCtrl class
985 --enable-splitter use wxSplitterWindow class
986 --enable-statbmp use wxStaticBitmap class
987 --enable-statbox use wxStaticBox class
988 --enable-statline use wxStaticLine class
989 --enable-stattext use wxStaticText class
990 --enable-statusbar use wxStatusBar class
991 --enable-tabdialog use wxTabControl class
992 --enable-textctrl use wxTextCtrl class
993 --enable-togglebtn use wxToggleButton class
994 --enable-toolbar use wxToolBar class
995 --enable-tbarnative use native wxToolBar class
996 --enable-tbarsmpl use wxToolBarSimple class
997 --enable-treectrl use wxTreeCtrl class
998 --enable-tipwindow use wxTipWindow class
999 --enable-popupwin use wxPopUpWindow class
1000 --enable-commondlg use all common dialogs
1001 --enable-choicedlg use wxChoiceDialog
1002 --enable-coldlg use wxColourDialog
1003 --enable-filedlg use wxFileDialog
1004 --enable-finddlg use wxFindReplaceDialog
1005 --enable-fontdlg use wxFontDialog
1006 --enable-dirdlg use wxDirDialog
1007 --enable-msgdlg use wxMessageDialog
1008 --enable-numberdlg use wxNumberEntryDialog
1009 --enable-splash use wxSplashScreen
1010 --enable-textdlg use wxTextDialog
1011 --enable-tipdlg use startup tips
1012 --enable-progressdlg use wxProgressDialog
1013 --enable-wizarddlg use wxWizard
1014 --enable-menus use wxMenu
/wxMenuBar
/wxMenuItem classes
1015 --enable-miniframe use wxMiniFrame class
1016 --enable-tooltips use wxToolTip class
1017 --enable-splines use spline drawing code
1018 --enable-validators use wxValidator and derived classes
1019 --enable-busyinfo use wxBusyInfo
1020 --enable-joystick use wxJoystick
(Linux only
)
1021 --enable-metafiles use wxMetaFile
(Windows only
)
1022 --enable-dragimage use wxDragImage
1023 --enable-accessibility enable accessibility support
1024 --enable-palette use wxPalette class
1025 --enable-image use wxImage class
1026 --enable-gif use gif images
(GIF
file format
)
1027 --enable-pcx use pcx images
(PCX
file format
)
1028 --enable-iff use iff images
(IFF
file format
)
1029 --enable-pnm use pnm images
(PNM
file format
)
1030 --enable-xpm use xpm images
(XPM
file format
)
1031 --enable-icocur use Windows ICO and CUR formats
1032 --enable-official_build official build of wxWindows
(win32 DLL only
)
1033 --enable-vendor=VENDOR vendor name
(win32 DLL only
)
1034 --disable-largefile omit support
for large files
1035 --disable-gtktest do not try to compile and run a
test GTK
+ program
1036 --disable-gtktest Do not try to compile and run a
test GTK program
1037 --disable-sdltest Do not try to compile and run a
test SDL program
1038 --disable-precomp-headers don
't use precompiled headers even if compiler can
1041 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1042 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1044 --with-motif use Motif/Lesstif
1045 --with-mac use Mac OS X
1046 --with-cocoa use Cocoa
1047 --with-wine use Wine
1048 --with-msw use MS-Windows
1049 --with-pm use OS/2 Presentation Manager
1050 --with-mgl use SciTech MGL
1051 --with-microwin use MicroWindows
1053 --with-libpng use libpng (PNG image format)
1054 --with-libjpeg use libjpeg (JPEG file format)
1055 --with-libtiff use libtiff (TIFF file format)
1056 --with-libxpm use libxpm (XPM file format)
1057 --with-libmspack use libmspack (CHM help files loading)
1058 --with-sdl use SDL for audio on Unix
1059 --with-opengl use OpenGL (or Mesa)
1060 --with-dmalloc use dmalloc library (http://dmalloc.com/)
1061 --with-regex enable support for wxRegEx class
1062 --with-zlib use zlib for LZW compression
1063 --with-odbc use the IODBC and wxODBC classes
1064 --with-expat enable XML support using expat parser
1065 --with-gtk-prefix=PFX Prefix where GTK is installed (optional)
1066 --with-gtk-exec-prefix=PFX Exec prefix where GTK is installed (optional)
1067 --with-x use the X Window System
1068 --with-libiconv-prefix=DIR search for libiconv in DIR/include and DIR/lib
1069 --with-sdl-prefix=PFX Prefix where SDL is installed (optional)
1070 --with-sdl-exec-prefix=PFX Exec prefix where SDL is installed (optional)
1071 --with-cppunit-prefix=PFX Prefix where CppUnit is installed (optional)
1072 --with-cppunit-exec-prefix=PFX Exec prefix where CppUnit is installed (optional)
1074 Some influential environment variables:
1075 CC C compiler command
1076 CFLAGS C compiler flags
1077 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1078 nonstandard directory <lib dir>
1079 CPPFLAGS C/C++ preprocessor flags, e.g. -I<include dir> if you have
1080 headers in a nonstandard directory <include dir>
1082 CXX C++ compiler command
1083 CXXFLAGS C++ compiler flags
1084 CXXCPP C++ preprocessor
1086 Use these variables to override the choices made by `configure' or to
help
1087 it to
find libraries and programs with nonstandard names
/locations.
1089 Report bugs to
<wx
-dev@lists.wxwindows.org
>.
1093 if test "$ac_init_help" = "recursive"; then
1094 # If there are subdirs, report their specific --help.
1096 for ac_dir
in : $ac_subdirs_all; do test "x$ac_dir" = x
: && continue
1097 test -d $ac_dir || continue
1100 if test "$ac_dir" != .
; then
1101 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
1102 # A "../" for each directory in $ac_dir_suffix.
1103 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
1105 ac_dir_suffix
= ac_top_builddir
=
1109 .
) # No --srcdir option. We are building in place.
1111 if test -z "$ac_top_builddir"; then
1114 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
1116 [\\/]* | ?
:[\\/]* ) # Absolute path.
1117 ac_srcdir
=$srcdir$ac_dir_suffix;
1118 ac_top_srcdir
=$srcdir ;;
1120 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
1121 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
1124 # Do not use `cd foo && pwd` to compute absolute paths, because
1125 # the directories may not exist.
1127 .
) ac_abs_builddir
="$ac_dir";;
1130 .
) ac_abs_builddir
=`pwd`;;
1131 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
1132 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
1135 case $ac_abs_builddir in
1136 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
1138 case ${ac_top_builddir}.
in
1139 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
1140 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
1141 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
1144 case $ac_abs_builddir in
1145 .
) ac_abs_srcdir
=$ac_srcdir;;
1148 .
) ac_abs_srcdir
=$ac_abs_builddir;;
1149 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
1150 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
1153 case $ac_abs_builddir in
1154 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
1156 case $ac_top_srcdir in
1157 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
1158 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
1159 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
1164 # Check for guested configure; otherwise get Cygnus style configure.
1165 if test -f $ac_srcdir/configure.gnu
; then
1167 $SHELL $ac_srcdir/configure.gnu
--help=recursive
1168 elif test -f $ac_srcdir/configure
; then
1170 $SHELL $ac_srcdir/configure
--help=recursive
1171 elif test -f $ac_srcdir/configure.ac
||
1172 test -f $ac_srcdir/configure.
in; then
1174 $ac_configure --help
1176 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1182 test -n "$ac_init_help" && exit 0
1183 if $ac_init_version; then
1185 wxWindows configure
2.5.1
1186 generated by GNU Autoconf
2.59
1188 Copyright
(C
) 2003 Free Software Foundation
, Inc.
1189 This configure
script is free software
; the Free Software Foundation
1190 gives unlimited permission to copy
, distribute and modify it.
1196 This file contains any messages produced by compilers while
1197 running configure, to aid debugging if configure makes a mistake.
1199 It was created by wxWindows $as_me 2.5.1, which was
1200 generated by GNU Autoconf 2.59. Invocation command line was
1211 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1212 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1213 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1214 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1215 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1217 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1218 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1220 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1221 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1222 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1223 hostinfo = `(hostinfo) 2>/dev/null || echo unknown`
1224 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1225 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1226 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1230 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1234 test -z "$as_dir" && as_dir
=.
1235 echo "PATH: $as_dir"
1250 # Keep a trace of the command line.
1251 # Strip out --no-create and --no-recursion so they do not pile up.
1252 # Strip out --silent because we don't want to record it for future runs.
1253 # Also quote any args containing shell meta-characters.
1254 # Make two passes to allow for proper duplicate-argument suppression.
1259 ac_must_keep_next
=false
1265 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1266 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1267 | -silent | --silent | --silen | --sile | --sil)
1269 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1270 ac_arg
=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1273 1) ac_configure_args0
="$ac_configure_args0 '$ac_arg'" ;;
1275 ac_configure_args1
="$ac_configure_args1 '$ac_arg'"
1276 if test $ac_must_keep_next = true
; then
1277 ac_must_keep_next
=false
# Got value, back to normal.
1280 *=* | --config-cache | -C | -disable-* | --disable-* \
1281 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1282 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1283 | -with-* | --with-* | -without-* | --without-* | --x)
1284 case "$ac_configure_args0 " in
1285 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1288 -* ) ac_must_keep_next
=true
;;
1291 ac_configure_args
="$ac_configure_args$ac_sep'$ac_arg'"
1292 # Get rid of the leading space.
1298 $as_unset ac_configure_args0
|| test "${ac_configure_args0+set}" != set || { ac_configure_args0
=; export ac_configure_args0
; }
1299 $as_unset ac_configure_args1
|| test "${ac_configure_args1+set}" != set || { ac_configure_args1
=; export ac_configure_args1
; }
1301 # When interrupted or exit'd, cleanup temporary files, and complete
1302 # config.log. We remove comments because anyway the quotes in there
1303 # would cause problems or look ugly.
1304 # WARNING: Be sure not to use single quotes in there, as some shells,
1305 # such as our DU 5.0 friend, will then `close' the trap.
1306 trap 'exit_status=$?
1307 # Save into config.log some information that might help in debugging.
1312 ## ---------------- ##
1313 ## Cache variables. ##
1314 ## ---------------- ##
1317 # The following way of writing the cache mishandles newlines in values,
1320 case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1323 "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1324 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1328 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1335 ## ----------------- ##
1336 ## Output variables. ##
1337 ## ----------------- ##
1340 for ac_var in $ac_subst_vars
1342 eval ac_val=$`echo $ac_var`
1343 echo "$ac_var='"'"'$ac_val'"'"'"
1347 if test -n "$ac_subst_files"; then
1354 for ac_var in $ac_subst_files
1356 eval ac_val=$`echo $ac_var`
1357 echo "$ac_var='"'"'$ac_val'"'"'"
1362 if test -s confdefs.h; then
1369 sed "/^$/d" confdefs.h | sort
1372 test "$ac_signal" != 0 &&
1373 echo "$as_me: caught signal $ac_signal"
1374 echo "$as_me: exit $exit_status"
1376 rm -f core *.core &&
1377 rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
1380 for ac_signal
in 1 2 13 15; do
1381 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1385 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1386 rm -rf conftest
* confdefs.h
1387 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
1390 # Predefined preprocessor variables.
1392 cat >>confdefs.h
<<_ACEOF
1393 #define PACKAGE_NAME "$PACKAGE_NAME"
1397 cat >>confdefs.h
<<_ACEOF
1398 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1402 cat >>confdefs.h
<<_ACEOF
1403 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1407 cat >>confdefs.h
<<_ACEOF
1408 #define PACKAGE_STRING "$PACKAGE_STRING"
1412 cat >>confdefs.h
<<_ACEOF
1413 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1417 # Let the site file select an alternate cache file if it wants to.
1418 # Prefer explicitly selected file to automatically selected ones.
1419 if test -z "$CONFIG_SITE"; then
1420 if test "x$prefix" != xNONE
; then
1421 CONFIG_SITE
="$prefix/share/config.site $prefix/etc/config.site"
1423 CONFIG_SITE
="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1426 for ac_site_file
in $CONFIG_SITE; do
1427 if test -r "$ac_site_file"; then
1428 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1429 echo "$as_me: loading site script $ac_site_file" >&6;}
1430 sed 's/^/| /' "$ac_site_file" >&5
1435 if test -r "$cache_file"; then
1436 # Some versions of bash will fail to source /dev/null (special
1437 # files actually), so we avoid doing that.
1438 if test -f "$cache_file"; then
1439 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1440 echo "$as_me: loading cache $cache_file" >&6;}
1442 [\\/]* | ?
:[\\/]* ) .
$cache_file;;
1443 *) . .
/$cache_file;;
1447 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1448 echo "$as_me: creating cache $cache_file" >&6;}
1452 # Check that the precious variables saved in the cache have kept the same
1454 ac_cache_corrupted
=false
1455 for ac_var
in `(set) 2>&1 |
1456 sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
1457 eval ac_old_set
=\
$ac_cv_env_${ac_var}_set
1458 eval ac_new_set
=\
$ac_env_${ac_var}_set
1459 eval ac_old_val
="\$ac_cv_env_${ac_var}_value"
1460 eval ac_new_val
="\$ac_env_${ac_var}_value"
1461 case $ac_old_set,$ac_new_set in
1463 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1464 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1465 ac_cache_corrupted
=: ;;
1467 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1468 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1469 ac_cache_corrupted
=: ;;
1472 if test "x$ac_old_val" != "x$ac_new_val"; then
1473 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1474 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1475 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1476 echo "$as_me: former value: $ac_old_val" >&2;}
1477 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1478 echo "$as_me: current value: $ac_new_val" >&2;}
1479 ac_cache_corrupted
=:
1482 # Pass precious variables to config.status.
1483 if test "$ac_new_set" = set; then
1485 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1486 ac_arg
=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1487 *) ac_arg
=$ac_var=$ac_new_val ;;
1489 case " $ac_configure_args " in
1490 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1491 *) ac_configure_args
="$ac_configure_args '$ac_arg'" ;;
1495 if $ac_cache_corrupted; then
1496 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1497 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1498 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1499 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1500 { (exit 1); exit 1; }; }
1504 ac_cpp
='$CPP $CPPFLAGS'
1505 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1506 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1507 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
1539 for ac_dir
in $srcdir $srcdir/..
$srcdir/..
/..
; do
1540 if test -f $ac_dir/install-sh; then
1542 ac_install_sh
="$ac_aux_dir/install-sh -c"
1544 elif test -f $ac_dir/install.sh
; then
1546 ac_install_sh
="$ac_aux_dir/install.sh -c"
1548 elif test -f $ac_dir/shtool
; then
1550 ac_install_sh
="$ac_aux_dir/shtool install -c"
1554 if test -z "$ac_aux_dir"; then
1555 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
1556 echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
1557 { (exit 1); exit 1; }; }
1559 ac_config_guess
="$SHELL $ac_aux_dir/config.guess"
1560 ac_config_sub
="$SHELL $ac_aux_dir/config.sub"
1561 ac_configure
="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
1563 # Make sure we can run config.sub.
1564 $ac_config_sub sun4
>/dev
/null
2>&1 ||
1565 { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
1566 echo "$as_me: error: cannot run $ac_config_sub" >&2;}
1567 { (exit 1); exit 1; }; }
1569 echo "$as_me:$LINENO: checking build system type" >&5
1570 echo $ECHO_N "checking build system type... $ECHO_C" >&6
1571 if test "${ac_cv_build+set}" = set; then
1572 echo $ECHO_N "(cached) $ECHO_C" >&6
1574 ac_cv_build_alias
=$build_alias
1575 test -z "$ac_cv_build_alias" &&
1576 ac_cv_build_alias
=`$ac_config_guess`
1577 test -z "$ac_cv_build_alias" &&
1578 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
1579 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
1580 { (exit 1); exit 1; }; }
1581 ac_cv_build
=`$ac_config_sub $ac_cv_build_alias` ||
1582 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
1583 echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
1584 { (exit 1); exit 1; }; }
1587 echo "$as_me:$LINENO: result: $ac_cv_build" >&5
1588 echo "${ECHO_T}$ac_cv_build" >&6
1590 build_cpu
=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1591 build_vendor
=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1592 build_os
=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1595 echo "$as_me:$LINENO: checking host system type" >&5
1596 echo $ECHO_N "checking host system type... $ECHO_C" >&6
1597 if test "${ac_cv_host+set}" = set; then
1598 echo $ECHO_N "(cached) $ECHO_C" >&6
1600 ac_cv_host_alias
=$host_alias
1601 test -z "$ac_cv_host_alias" &&
1602 ac_cv_host_alias
=$ac_cv_build_alias
1603 ac_cv_host
=`$ac_config_sub $ac_cv_host_alias` ||
1604 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
1605 echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
1606 { (exit 1); exit 1; }; }
1609 echo "$as_me:$LINENO: result: $ac_cv_host" >&5
1610 echo "${ECHO_T}$ac_cv_host" >&6
1612 host_cpu
=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1613 host_vendor
=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1614 host_os
=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1617 echo "$as_me:$LINENO: checking target system type" >&5
1618 echo $ECHO_N "checking target system type... $ECHO_C" >&6
1619 if test "${ac_cv_target+set}" = set; then
1620 echo $ECHO_N "(cached) $ECHO_C" >&6
1622 ac_cv_target_alias
=$target_alias
1623 test "x$ac_cv_target_alias" = "x" &&
1624 ac_cv_target_alias
=$ac_cv_host_alias
1625 ac_cv_target
=`$ac_config_sub $ac_cv_target_alias` ||
1626 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_target_alias failed" >&5
1627 echo "$as_me: error: $ac_config_sub $ac_cv_target_alias failed" >&2;}
1628 { (exit 1); exit 1; }; }
1631 echo "$as_me:$LINENO: result: $ac_cv_target" >&5
1632 echo "${ECHO_T}$ac_cv_target" >&6
1633 target
=$ac_cv_target
1634 target_cpu
=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1635 target_vendor
=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1636 target_os
=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1639 # The aliases save the names the user supplied, while $host etc.
1640 # will get canonicalized.
1641 test -n "$target_alias" &&
1642 test "$program_prefix$program_suffix$program_transform_name" = \
1644 program_prefix
=${target_alias}-
1648 WX_MAJOR_VERSION_NUMBER
=2
1649 WX_MINOR_VERSION_NUMBER
=5
1652 WX_VERSION
=$WX_MAJOR_VERSION_NUMBER.
$WX_MINOR_VERSION_NUMBER.
$WX_RELEASE_NUMBER
1653 WX_RELEASE
=$WX_MAJOR_VERSION_NUMBER.
$WX_MINOR_VERSION_NUMBER
1655 WX_MSW_VERSION
=$WX_MAJOR_VERSION_NUMBER$WX_MINOR_VERSION_NUMBER$WX_RELEASE_NUMBER
1671 USE_BSD
= USE_DARWIN
= USE_FREEBSD
=
1677 USE_SOLARIS
= USE_SUN
= USE_SUNOS
= USE_SVR4
= USE_SYSV
= USE_VMS
=
1683 NEEDS_D_REENTRANT_FOR_R_FUNCS
=0
1685 ALL_TOOLKITS
="COCOA GTK MAC MGL MICROWIN MOTIF MSW PM X11"
1687 DEFAULT_wxUSE_COCOA
=0
1691 DEFAULT_wxUSE_MICROWIN
=0
1692 DEFAULT_wxUSE_MOTIF
=0
1697 DEFAULT_DEFAULT_wxUSE_COCOA
=0
1698 DEFAULT_DEFAULT_wxUSE_GTK
=0
1699 DEFAULT_DEFAULT_wxUSE_MAC
=0
1700 DEFAULT_DEFAULT_wxUSE_MGL
=0
1701 DEFAULT_DEFAULT_wxUSE_MICROWIN
=0
1702 DEFAULT_DEFAULT_wxUSE_MOTIF
=0
1703 DEFAULT_DEFAULT_wxUSE_MSW
=0
1704 DEFAULT_DEFAULT_wxUSE_PM
=0
1705 DEFAULT_DEFAULT_wxUSE_X11
=0
1710 SAMPLES_RPATH_POSTLINK
=
1715 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1716 NEEDS_D_REENTRANT_FOR_R_FUNCS
=1
1718 cat >>confdefs.h
<<\_ACEOF
1725 cat >>confdefs.h
<<\_ACEOF
1730 if test "x$TMP" = "xalpha"; then
1732 cat >>confdefs.h
<<\_ACEOF
1737 DEFAULT_DEFAULT_wxUSE_GTK
=1
1739 *-*-gnu* | *-*-k*bsd
*-gnu )
1742 if test "x$TMP" = "xalpha"; then
1744 cat >>confdefs.h
<<\_ACEOF
1749 DEFAULT_DEFAULT_wxUSE_GTK
=1
1751 *-*-irix5* | *-*-irix6* )
1754 cat >>confdefs.h
<<\_ACEOF
1758 cat >>confdefs.h
<<\_ACEOF
1762 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1768 cat >>confdefs.h
<<\_ACEOF
1772 cat >>confdefs.h
<<\_ACEOF
1773 #define __SOLARIS__ 1
1776 cat >>confdefs.h
<<\_ACEOF
1780 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1781 NEEDS_D_REENTRANT_FOR_R_FUNCS
=1
1787 cat >>confdefs.h
<<\_ACEOF
1791 cat >>confdefs.h
<<\_ACEOF
1795 cat >>confdefs.h
<<\_ACEOF
1799 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1804 cat >>confdefs.h
<<\_ACEOF
1805 #define __FREEBSD__ 1
1808 cat >>confdefs.h
<<\_ACEOF
1812 DEFAULT_DEFAULT_wxUSE_GTK
=1
1817 cat >>confdefs.h
<<\_ACEOF
1818 #define __OPENBSD__ 1
1821 cat >>confdefs.h
<<\_ACEOF
1825 DEFAULT_DEFAULT_wxUSE_GTK
=1
1830 cat >>confdefs.h
<<\_ACEOF
1831 #define __NETBSD__ 1
1834 cat >>confdefs.h
<<\_ACEOF
1838 DEFAULT_DEFAULT_wxUSE_GTK
=1
1843 cat >>confdefs.h
<<\_ACEOF
1847 cat >>confdefs.h
<<\_ACEOF
1851 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1852 NEEDS_D_REENTRANT_FOR_R_FUNCS
=1
1857 cat >>confdefs.h
<<\_ACEOF
1861 cat >>confdefs.h
<<\_ACEOF
1865 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1870 cat >>confdefs.h
<<\_ACEOF
1874 cat >>confdefs.h
<<\_ACEOF
1878 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1885 cat >>confdefs.h
<<\_ACEOF
1889 cat >>confdefs.h
<<\_ACEOF
1893 cat >>confdefs.h
<<\_ACEOF
1897 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1904 cat >>confdefs.h
<<\_ACEOF
1905 #define __UNIXWARE__ 1
1910 *-*-cygwin* | *-*-mingw32* )
1914 DEFAULT_DEFAULT_wxUSE_MSW
=1
1920 cat >>confdefs.h
<<\_ACEOF
1925 DEFAULT_DEFAULT_wxUSE_MGL
=1
1926 LIBS
="$LIBS -lstdc++"
1929 *-pc-os2_emx | *-pc-os2-emx )
1930 cat >>confdefs.h
<<\_ACEOF
1935 cat >>confdefs.h
<<\_ACEOF
1940 DEFAULT_DEFAULT_wxUSE_PM
=1
1942 LDFLAGS
="$LDFLAGS -Zcrtdll"
1943 ac_executable_extensions
=".exe"
1944 export ac_executable_extensions
1948 for ac_dir
in $PATH; do
1950 if test -z "$ac_TEMP_PATH"; then
1951 ac_TEMP_PATH
="$ac_dir"
1953 ac_TEMP_PATH
="$ac_TEMP_PATH/$ac_dir"
1956 export PATH
="$ac_TEMP_PATH"
1964 cat >>confdefs.h
<<\_ACEOF
1968 cat >>confdefs.h
<<\_ACEOF
1969 #define __DARWIN__ 1
1972 cat >>confdefs.h
<<\_ACEOF
1973 #define __POWERPC__ 1
1976 cat >>confdefs.h
<<\_ACEOF
1977 #define TARGET_CARBON 1
1980 DEFAULT_DEFAULT_wxUSE_MAC
=1
1985 cat >>confdefs.h
<<\_ACEOF
1992 { { echo "$as_me:$LINENO: error: unknown system type ${host}." >&5
1993 echo "$as_me: error: unknown system type ${host}." >&2;}
1994 { (exit 1); exit 1; }; }
2000 wx_arg_cache_file
="configarg.cache"
2001 echo "loading argument cache $wx_arg_cache_file"
2002 rm -f ${wx_arg_cache_file}.tmp
2003 touch ${wx_arg_cache_file}.tmp
2004 touch ${wx_arg_cache_file}
2008 if test $DEBUG_CONFIGURE = 1; then
2009 DEFAULT_wxUSE_UNIVERSAL
=no
2010 DEFAULT_wxUSE_STL
=no
2012 DEFAULT_wxUSE_NANOX
=no
2014 DEFAULT_wxUSE_THREADS
=yes
2016 DEFAULT_wxUSE_SHARED
=yes
2017 DEFAULT_wxUSE_OPTIMISE
=no
2018 DEFAULT_wxUSE_PROFILE
=no
2019 DEFAULT_wxUSE_NO_DEPS
=no
2020 DEFAULT_wxUSE_NO_RTTI
=no
2021 DEFAULT_wxUSE_NO_EXCEPTIONS
=no
2022 DEFAULT_wxUSE_PERMISSIVE
=no
2023 DEFAULT_wxUSE_DEBUG_FLAG
=yes
2024 DEFAULT_wxUSE_DEBUG_INFO
=yes
2025 DEFAULT_wxUSE_DEBUG_GDB
=yes
2026 DEFAULT_wxUSE_MEM_TRACING
=no
2027 DEFAULT_wxUSE_DEBUG_CONTEXT
=no
2028 DEFAULT_wxUSE_DMALLOC
=no
2029 DEFAULT_wxUSE_APPLE_IEEE
=no
2031 DEFAULT_wxUSE_EXCEPTIONS
=no
2032 DEFAULT_wxUSE_LOG
=yes
2033 DEFAULT_wxUSE_LOGWINDOW
=no
2034 DEFAULT_wxUSE_LOGGUI
=no
2035 DEFAULT_wxUSE_LOGDIALOG
=no
2037 DEFAULT_wxUSE_GUI
=yes
2038 DEFAULT_wxUSE_CONTROLS
=no
2040 DEFAULT_wxUSE_REGEX
=no
2041 DEFAULT_wxUSE_XML
=no
2042 DEFAULT_wxUSE_EXPAT
=no
2043 DEFAULT_wxUSE_ZLIB
=no
2044 DEFAULT_wxUSE_LIBPNG
=no
2045 DEFAULT_wxUSE_LIBJPEG
=no
2046 DEFAULT_wxUSE_LIBTIFF
=no
2047 DEFAULT_wxUSE_LIBXPM
=no
2048 DEFAULT_wxUSE_LIBMSPACK
=no
2049 DEFAULT_wxUSE_LIBSDL
=no
2050 DEFAULT_wxUSE_ODBC
=no
2051 DEFAULT_wxUSE_OPENGL
=no
2053 DEFAULT_wxUSE_ON_FATAL_EXCEPTION
=no
2054 DEFAULT_wxUSE_SNGLINST_CHECKER
=no
2055 DEFAULT_wxUSE_STD_IOSTREAM
=no
2056 DEFAULT_wxUSE_CMDLINE_PARSER
=no
2057 DEFAULT_wxUSE_DATETIME
=no
2058 DEFAULT_wxUSE_TIMER
=no
2059 DEFAULT_wxUSE_STOPWATCH
=no
2060 DEFAULT_wxUSE_FILE
=no
2061 DEFAULT_wxUSE_FFILE
=no
2062 DEFAULT_wxUSE_TEXTBUFFER
=no
2063 DEFAULT_wxUSE_TEXTFILE
=no
2064 DEFAULT_wxUSE_SOUND
=no
2065 DEFAULT_wxUSE_INTL
=no
2066 DEFAULT_wxUSE_CONFIG
=no
2067 DEFAULT_wxUSE_FONTMAP
=no
2068 DEFAULT_wxUSE_STREAMS
=no
2069 DEFAULT_wxUSE_SOCKETS
=no
2070 DEFAULT_wxUSE_OLE
=no
2071 DEFAULT_wxUSE_DATAOBJ
=no
2072 DEFAULT_wxUSE_DIALUP_MANAGER
=no
2073 DEFAULT_wxUSE_JOYSTICK
=no
2074 DEFAULT_wxUSE_DYNLIB_CLASS
=no
2075 DEFAULT_wxUSE_DYNAMIC_LOADER
=no
2076 DEFAULT_wxUSE_LONGLONG
=no
2077 DEFAULT_wxUSE_GEOMETRY
=no
2079 DEFAULT_wxUSE_AFM_FOR_POSTSCRIPT
=no
2080 DEFAULT_wxUSE_NORMALIZED_PS_FONTS
=no
2081 DEFAULT_wxUSE_POSTSCRIPT
=no
2083 DEFAULT_wxUSE_CLIPBOARD
=no
2084 DEFAULT_wxUSE_TOOLTIPS
=no
2085 DEFAULT_wxUSE_DRAG_AND_DROP
=no
2086 DEFAULT_wxUSE_DRAGIMAGE
=no
2087 DEFAULT_wxUSE_SPLINES
=no
2089 DEFAULT_wxUSE_MDI_ARCHITECTURE
=no
2090 DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE
=no
2091 DEFAULT_wxUSE_PRINTING_ARCHITECTURE
=no
2093 DEFAULT_wxUSE_RESOURCES
=no
2094 DEFAULT_wxUSE_CONSTRAINTS
=no
2095 DEFAULT_wxUSE_IPC
=no
2096 DEFAULT_wxUSE_HELP
=no
2097 DEFAULT_wxUSE_MS_HTML_HELP
=no
2098 DEFAULT_wxUSE_WXHTML_HELP
=no
2099 DEFAULT_wxUSE_TREELAYOUT
=no
2100 DEFAULT_wxUSE_METAFILE
=no
2101 DEFAULT_wxUSE_MIMETYPE
=no
2102 DEFAULT_wxUSE_SYSTEM_OPTIONS
=no
2103 DEFAULT_wxUSE_PROTOCOL
=no
2104 DEFAULT_wxUSE_PROTOCOL_HTTP
=no
2105 DEFAULT_wxUSE_PROTOCOL_FTP
=no
2106 DEFAULT_wxUSE_PROTOCOL_FILE
=no
2107 DEFAULT_wxUSE_URL
=no
2109 DEFAULT_wxUSE_COMMONDLGS
=no
2110 DEFAULT_wxUSE_CHOICEDLG
=no
2111 DEFAULT_wxUSE_COLOURDLG
=no
2112 DEFAULT_wxUSE_DIRDLG
=no
2113 DEFAULT_wxUSE_FILEDLG
=no
2114 DEFAULT_wxUSE_FINDREPLDLG
=no
2115 DEFAULT_wxUSE_FONTDLG
=no
2116 DEFAULT_wxUSE_MSGDLG
=no
2117 DEFAULT_wxUSE_NUMBERDLG
=no
2118 DEFAULT_wxUSE_TEXTDLG
=no
2119 DEFAULT_wxUSE_SPLASH
=no
2120 DEFAULT_wxUSE_STARTUP_TIPS
=no
2121 DEFAULT_wxUSE_PROGRESSDLG
=no
2122 DEFAULT_wxUSE_WIZARDDLG
=no
2124 DEFAULT_wxUSE_MENUS
=no
2125 DEFAULT_wxUSE_MINIFRAME
=no
2126 DEFAULT_wxUSE_HTML
=no
2127 DEFAULT_wxUSE_FILESYSTEM
=no
2128 DEFAULT_wxUSE_FS_INET
=no
2129 DEFAULT_wxUSE_FS_ZIP
=no
2130 DEFAULT_wxUSE_BUSYINFO
=no
2131 DEFAULT_wxUSE_ZIPSTREAM
=no
2132 DEFAULT_wxUSE_GZSTREAM
=no
2133 DEFAULT_wxUSE_VALIDATORS
=no
2135 DEFAULT_wxUSE_ACCEL
=no
2136 DEFAULT_wxUSE_BUTTON
=no
2137 DEFAULT_wxUSE_BMPBUTTON
=no
2138 DEFAULT_wxUSE_CALCTRL
=no
2139 DEFAULT_wxUSE_CARET
=no
2140 DEFAULT_wxUSE_CHECKBOX
=no
2141 DEFAULT_wxUSE_CHECKLST
=no
2142 DEFAULT_wxUSE_CHOICE
=no
2143 DEFAULT_wxUSE_COMBOBOX
=no
2144 DEFAULT_wxUSE_DISPLAY
=no
2145 DEFAULT_wxUSE_GAUGE
=no
2146 DEFAULT_wxUSE_GRID
=no
2147 DEFAULT_wxUSE_IMAGLIST
=no
2148 DEFAULT_wxUSE_LISTBOOK
=no
2149 DEFAULT_wxUSE_LISTBOX
=no
2150 DEFAULT_wxUSE_LISTCTRL
=no
2151 DEFAULT_wxUSE_NOTEBOOK
=no
2152 DEFAULT_wxUSE_RADIOBOX
=no
2153 DEFAULT_wxUSE_RADIOBTN
=no
2154 DEFAULT_wxUSE_SASH
=no
2155 DEFAULT_wxUSE_SCROLLBAR
=no
2156 DEFAULT_wxUSE_SLIDER
=no
2157 DEFAULT_wxUSE_SPINBTN
=no
2158 DEFAULT_wxUSE_SPINCTRL
=no
2159 DEFAULT_wxUSE_SPLITTER
=no
2160 DEFAULT_wxUSE_STATBMP
=no
2161 DEFAULT_wxUSE_STATBOX
=no
2162 DEFAULT_wxUSE_STATLINE
=no
2163 DEFAULT_wxUSE_STATTEXT
=no
2164 DEFAULT_wxUSE_STATUSBAR
=yes
2165 DEFAULT_wxUSE_TABDIALOG
=no
2166 DEFAULT_wxUSE_TEXTCTRL
=no
2167 DEFAULT_wxUSE_TOGGLEBTN
=no
2168 DEFAULT_wxUSE_TOOLBAR
=no
2169 DEFAULT_wxUSE_TOOLBAR_NATIVE
=no
2170 DEFAULT_wxUSE_TOOLBAR_SIMPLE
=no
2171 DEFAULT_wxUSE_TREECTRL
=no
2172 DEFAULT_wxUSE_POPUPWIN
=no
2173 DEFAULT_wxUSE_TIPWINDOW
=no
2175 DEFAULT_wxUSE_UNICODE
=no
2176 DEFAULT_wxUSE_UNICODE_MSLU
=no
2177 DEFAULT_wxUSE_WCSRTOMBS
=no
2179 DEFAULT_wxUSE_PALETTE
=no
2180 DEFAULT_wxUSE_IMAGE
=no
2181 DEFAULT_wxUSE_GIF
=no
2182 DEFAULT_wxUSE_PCX
=no
2183 DEFAULT_wxUSE_PNM
=no
2184 DEFAULT_wxUSE_IFF
=no
2185 DEFAULT_wxUSE_XPM
=no
2186 DEFAULT_wxUSE_ICO_CUR
=no
2187 DEFAULT_wxUSE_ACCESSIBILITY
=no
2189 DEFAULT_wxUSE_MONOLITHIC
=no
2190 DEFAULT_wxUSE_PLUGINS
=no
2191 DEFAULT_wxUSE_OFFICIAL_BUILD
=no
2193 DEFAULT_wxUSE_UNIVERSAL
=no
2194 DEFAULT_wxUSE_STL
=no
2196 DEFAULT_wxUSE_NANOX
=no
2198 DEFAULT_wxUSE_THREADS
=yes
2200 DEFAULT_wxUSE_SHARED
=yes
2201 DEFAULT_wxUSE_OPTIMISE
=yes
2202 DEFAULT_wxUSE_PROFILE
=no
2203 DEFAULT_wxUSE_NO_DEPS
=no
2204 DEFAULT_wxUSE_NO_RTTI
=no
2205 DEFAULT_wxUSE_NO_EXCEPTIONS
=no
2206 DEFAULT_wxUSE_PERMISSIVE
=no
2207 DEFAULT_wxUSE_DEBUG_FLAG
=no
2208 DEFAULT_wxUSE_DEBUG_INFO
=no
2209 DEFAULT_wxUSE_DEBUG_GDB
=no
2210 DEFAULT_wxUSE_MEM_TRACING
=no
2211 DEFAULT_wxUSE_DEBUG_CONTEXT
=no
2212 DEFAULT_wxUSE_DMALLOC
=no
2213 DEFAULT_wxUSE_APPLE_IEEE
=yes
2215 DEFAULT_wxUSE_EXCEPTIONS
=yes
2216 DEFAULT_wxUSE_LOG
=yes
2217 DEFAULT_wxUSE_LOGWINDOW
=yes
2218 DEFAULT_wxUSE_LOGGUI
=yes
2219 DEFAULT_wxUSE_LOGDIALOG
=yes
2221 DEFAULT_wxUSE_GUI
=yes
2223 DEFAULT_wxUSE_REGEX
=yes
2224 DEFAULT_wxUSE_XML
=yes
2225 DEFAULT_wxUSE_EXPAT
=yes
2226 DEFAULT_wxUSE_ZLIB
=yes
2227 DEFAULT_wxUSE_LIBPNG
=yes
2228 DEFAULT_wxUSE_LIBJPEG
=yes
2229 DEFAULT_wxUSE_LIBTIFF
=yes
2230 DEFAULT_wxUSE_LIBXPM
=yes
2231 DEFAULT_wxUSE_LIBMSPACK
=yes
2232 DEFAULT_wxUSE_LIBSDL
=no
2233 DEFAULT_wxUSE_ODBC
=no
2234 DEFAULT_wxUSE_OPENGL
=no
2236 DEFAULT_wxUSE_ON_FATAL_EXCEPTION
=yes
2237 DEFAULT_wxUSE_SNGLINST_CHECKER
=yes
2238 DEFAULT_wxUSE_STD_IOSTREAM
=no
2239 DEFAULT_wxUSE_CMDLINE_PARSER
=yes
2240 DEFAULT_wxUSE_DATETIME
=yes
2241 DEFAULT_wxUSE_TIMER
=yes
2242 DEFAULT_wxUSE_STOPWATCH
=yes
2243 DEFAULT_wxUSE_FILE
=yes
2244 DEFAULT_wxUSE_FFILE
=yes
2245 DEFAULT_wxUSE_TEXTBUFFER
=yes
2246 DEFAULT_wxUSE_TEXTFILE
=yes
2247 DEFAULT_wxUSE_SOUND
=yes
2248 DEFAULT_wxUSE_INTL
=yes
2249 DEFAULT_wxUSE_CONFIG
=yes
2250 DEFAULT_wxUSE_FONTMAP
=yes
2251 DEFAULT_wxUSE_STREAMS
=yes
2252 DEFAULT_wxUSE_SOCKETS
=yes
2253 DEFAULT_wxUSE_OLE
=yes
2254 DEFAULT_wxUSE_DATAOBJ
=yes
2255 DEFAULT_wxUSE_DIALUP_MANAGER
=yes
2256 DEFAULT_wxUSE_JOYSTICK
=yes
2257 DEFAULT_wxUSE_DYNLIB_CLASS
=yes
2258 DEFAULT_wxUSE_DYNAMIC_LOADER
=yes
2259 DEFAULT_wxUSE_LONGLONG
=yes
2260 DEFAULT_wxUSE_GEOMETRY
=yes
2262 DEFAULT_wxUSE_AFM_FOR_POSTSCRIPT
=yes
2263 DEFAULT_wxUSE_NORMALIZED_PS_FONTS
=yes
2264 DEFAULT_wxUSE_POSTSCRIPT
=yes
2266 DEFAULT_wxUSE_CLIPBOARD
=yes
2267 DEFAULT_wxUSE_TOOLTIPS
=yes
2268 DEFAULT_wxUSE_DRAG_AND_DROP
=yes
2269 DEFAULT_wxUSE_DRAGIMAGE
=yes
2270 DEFAULT_wxUSE_SPLINES
=yes
2272 DEFAULT_wxUSE_MDI_ARCHITECTURE
=yes
2273 DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE
=yes
2274 DEFAULT_wxUSE_PRINTING_ARCHITECTURE
=yes
2276 DEFAULT_wxUSE_RESOURCES
=no
2277 DEFAULT_wxUSE_CONSTRAINTS
=yes
2278 DEFAULT_wxUSE_IPC
=yes
2279 DEFAULT_wxUSE_HELP
=yes
2280 DEFAULT_wxUSE_MS_HTML_HELP
=yes
2281 DEFAULT_wxUSE_WXHTML_HELP
=yes
2282 DEFAULT_wxUSE_TREELAYOUT
=yes
2283 DEFAULT_wxUSE_METAFILE
=yes
2284 DEFAULT_wxUSE_MIMETYPE
=yes
2285 DEFAULT_wxUSE_SYSTEM_OPTIONS
=yes
2286 DEFAULT_wxUSE_PROTOCOL
=yes
2287 DEFAULT_wxUSE_PROTOCOL_HTTP
=yes
2288 DEFAULT_wxUSE_PROTOCOL_FTP
=yes
2289 DEFAULT_wxUSE_PROTOCOL_FILE
=yes
2290 DEFAULT_wxUSE_URL
=yes
2292 DEFAULT_wxUSE_COMMONDLGS
=yes
2293 DEFAULT_wxUSE_CHOICEDLG
=yes
2294 DEFAULT_wxUSE_COLOURDLG
=yes
2295 DEFAULT_wxUSE_DIRDLG
=yes
2296 DEFAULT_wxUSE_FILEDLG
=yes
2297 DEFAULT_wxUSE_FINDREPLDLG
=yes
2298 DEFAULT_wxUSE_FONTDLG
=yes
2299 DEFAULT_wxUSE_MSGDLG
=yes
2300 DEFAULT_wxUSE_NUMBERDLG
=yes
2301 DEFAULT_wxUSE_TEXTDLG
=yes
2302 DEFAULT_wxUSE_SPLASH
=yes
2303 DEFAULT_wxUSE_STARTUP_TIPS
=yes
2304 DEFAULT_wxUSE_PROGRESSDLG
=yes
2305 DEFAULT_wxUSE_WIZARDDLG
=yes
2307 DEFAULT_wxUSE_MENUS
=yes
2308 DEFAULT_wxUSE_MINIFRAME
=yes
2309 DEFAULT_wxUSE_HTML
=yes
2310 DEFAULT_wxUSE_FILESYSTEM
=yes
2311 DEFAULT_wxUSE_FS_INET
=yes
2312 DEFAULT_wxUSE_FS_ZIP
=yes
2313 DEFAULT_wxUSE_BUSYINFO
=yes
2314 DEFAULT_wxUSE_ZIPSTREAM
=yes
2315 DEFAULT_wxUSE_GZSTREAM
=yes
2316 DEFAULT_wxUSE_VALIDATORS
=yes
2318 DEFAULT_wxUSE_ACCEL
=yes
2319 DEFAULT_wxUSE_BUTTON
=yes
2320 DEFAULT_wxUSE_BMPBUTTON
=yes
2321 DEFAULT_wxUSE_CALCTRL
=yes
2322 DEFAULT_wxUSE_CARET
=yes
2323 DEFAULT_wxUSE_CHECKBOX
=yes
2324 DEFAULT_wxUSE_CHECKLST
=yes
2325 DEFAULT_wxUSE_CHOICE
=yes
2326 DEFAULT_wxUSE_COMBOBOX
=yes
2327 DEFAULT_wxUSE_DISPLAY
=yes
2328 DEFAULT_wxUSE_GAUGE
=yes
2329 DEFAULT_wxUSE_GRID
=yes
2330 DEFAULT_wxUSE_IMAGLIST
=yes
2331 DEFAULT_wxUSE_LISTBOOK
=yes
2332 DEFAULT_wxUSE_LISTBOX
=yes
2333 DEFAULT_wxUSE_LISTCTRL
=yes
2334 DEFAULT_wxUSE_NOTEBOOK
=yes
2335 DEFAULT_wxUSE_RADIOBOX
=yes
2336 DEFAULT_wxUSE_RADIOBTN
=yes
2337 DEFAULT_wxUSE_SASH
=yes
2338 DEFAULT_wxUSE_SCROLLBAR
=yes
2339 DEFAULT_wxUSE_SLIDER
=yes
2340 DEFAULT_wxUSE_SPINBTN
=yes
2341 DEFAULT_wxUSE_SPINCTRL
=yes
2342 DEFAULT_wxUSE_SPLITTER
=yes
2343 DEFAULT_wxUSE_STATBMP
=yes
2344 DEFAULT_wxUSE_STATBOX
=yes
2345 DEFAULT_wxUSE_STATLINE
=yes
2346 DEFAULT_wxUSE_STATTEXT
=yes
2347 DEFAULT_wxUSE_STATUSBAR
=yes
2348 DEFAULT_wxUSE_TABDIALOG
=no
2349 DEFAULT_wxUSE_TEXTCTRL
=yes
2350 DEFAULT_wxUSE_TOGGLEBTN
=yes
2351 DEFAULT_wxUSE_TOOLBAR
=yes
2352 DEFAULT_wxUSE_TOOLBAR_NATIVE
=yes
2353 DEFAULT_wxUSE_TOOLBAR_SIMPLE
=yes
2354 DEFAULT_wxUSE_TREECTRL
=yes
2355 DEFAULT_wxUSE_POPUPWIN
=yes
2356 DEFAULT_wxUSE_TIPWINDOW
=yes
2358 DEFAULT_wxUSE_UNICODE
=no
2359 DEFAULT_wxUSE_UNICODE_MSLU
=yes
2360 DEFAULT_wxUSE_WCSRTOMBS
=no
2362 DEFAULT_wxUSE_PALETTE
=yes
2363 DEFAULT_wxUSE_IMAGE
=yes
2364 DEFAULT_wxUSE_GIF
=yes
2365 DEFAULT_wxUSE_PCX
=yes
2366 DEFAULT_wxUSE_IFF
=no
2367 DEFAULT_wxUSE_PNM
=yes
2368 DEFAULT_wxUSE_XPM
=yes
2369 DEFAULT_wxUSE_ICO_CUR
=yes
2370 DEFAULT_wxUSE_ACCESSIBILITY
=no
2372 DEFAULT_wxUSE_MONOLITHIC
=no
2373 DEFAULT_wxUSE_PLUGINS
=no
2374 DEFAULT_wxUSE_OFFICIAL_BUILD
=no
2379 for toolkit
in `echo $ALL_TOOLKITS`; do
2380 LINE
=`grep "wxUSE_$toolkit=" ${wx_arg_cache_file}`
2381 if test "x$LINE" != "x" ; then
2382 has_toolkit_in_cache
=1
2383 eval "DEFAULT_$LINE"
2384 eval "CACHE_$toolkit=1"
2391 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gui" >&5
2392 echo $ECHO_N "checking for --${enablestring:-enable}-gui... $ECHO_C" >&6
2394 # Check whether --enable-gui or --disable-gui was given.
2395 if test "${enable_gui+set}" = set; then
2396 enableval
="$enable_gui"
2398 if test "$enableval" = yes; then
2399 ac_cv_use_gui
='wxUSE_GUI=yes'
2401 ac_cv_use_gui
='wxUSE_GUI=no'
2406 LINE
=`grep "wxUSE_GUI" ${wx_arg_cache_file}`
2407 if test "x$LINE" != x
; then
2408 eval "DEFAULT_$LINE"
2413 ac_cv_use_gui
='wxUSE_GUI='$DEFAULT_wxUSE_GUI
2417 eval "$ac_cv_use_gui"
2418 if test "$no_cache" != 1; then
2419 echo $ac_cv_use_gui >> ${wx_arg_cache_file}.tmp
2422 if test "$wxUSE_GUI" = yes; then
2423 echo "$as_me:$LINENO: result: yes" >&5
2424 echo "${ECHO_T}yes" >&6
2426 echo "$as_me:$LINENO: result: no" >&5
2427 echo "${ECHO_T}no" >&6
2432 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-monolithic" >&5
2433 echo $ECHO_N "checking for --${enablestring:-enable}-monolithic... $ECHO_C" >&6
2435 # Check whether --enable-monolithic or --disable-monolithic was given.
2436 if test "${enable_monolithic+set}" = set; then
2437 enableval
="$enable_monolithic"
2439 if test "$enableval" = yes; then
2440 ac_cv_use_monolithic
='wxUSE_MONOLITHIC=yes'
2442 ac_cv_use_monolithic
='wxUSE_MONOLITHIC=no'
2447 LINE
=`grep "wxUSE_MONOLITHIC" ${wx_arg_cache_file}`
2448 if test "x$LINE" != x
; then
2449 eval "DEFAULT_$LINE"
2454 ac_cv_use_monolithic
='wxUSE_MONOLITHIC='$DEFAULT_wxUSE_MONOLITHIC
2458 eval "$ac_cv_use_monolithic"
2459 if test "$no_cache" != 1; then
2460 echo $ac_cv_use_monolithic >> ${wx_arg_cache_file}.tmp
2463 if test "$wxUSE_MONOLITHIC" = yes; then
2464 echo "$as_me:$LINENO: result: yes" >&5
2465 echo "${ECHO_T}yes" >&6
2467 echo "$as_me:$LINENO: result: no" >&5
2468 echo "${ECHO_T}no" >&6
2473 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-plugins" >&5
2474 echo $ECHO_N "checking for --${enablestring:-enable}-plugins... $ECHO_C" >&6
2476 # Check whether --enable-plugins or --disable-plugins was given.
2477 if test "${enable_plugins+set}" = set; then
2478 enableval
="$enable_plugins"
2480 if test "$enableval" = yes; then
2481 ac_cv_use_plugins
='wxUSE_PLUGINS=yes'
2483 ac_cv_use_plugins
='wxUSE_PLUGINS=no'
2488 LINE
=`grep "wxUSE_PLUGINS" ${wx_arg_cache_file}`
2489 if test "x$LINE" != x
; then
2490 eval "DEFAULT_$LINE"
2495 ac_cv_use_plugins
='wxUSE_PLUGINS='$DEFAULT_wxUSE_PLUGINS
2499 eval "$ac_cv_use_plugins"
2500 if test "$no_cache" != 1; then
2501 echo $ac_cv_use_plugins >> ${wx_arg_cache_file}.tmp
2504 if test "$wxUSE_PLUGINS" = yes; then
2505 echo "$as_me:$LINENO: result: yes" >&5
2506 echo "${ECHO_T}yes" >&6
2508 echo "$as_me:$LINENO: result: no" >&5
2509 echo "${ECHO_T}no" >&6
2513 if test "$wxUSE_GUI" = "yes"; then
2517 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-universal" >&5
2518 echo $ECHO_N "checking for --${enablestring:-enable}-universal... $ECHO_C" >&6
2520 # Check whether --enable-universal or --disable-universal was given.
2521 if test "${enable_universal+set}" = set; then
2522 enableval
="$enable_universal"
2524 if test "$enableval" = yes; then
2525 ac_cv_use_universal
='wxUSE_UNIVERSAL=yes'
2527 ac_cv_use_universal
='wxUSE_UNIVERSAL=no'
2532 LINE
=`grep "wxUSE_UNIVERSAL" ${wx_arg_cache_file}`
2533 if test "x$LINE" != x
; then
2534 eval "DEFAULT_$LINE"
2539 ac_cv_use_universal
='wxUSE_UNIVERSAL='$DEFAULT_wxUSE_UNIVERSAL
2543 eval "$ac_cv_use_universal"
2544 if test "$no_cache" != 1; then
2545 echo $ac_cv_use_universal >> ${wx_arg_cache_file}.tmp
2548 if test "$wxUSE_UNIVERSAL" = yes; then
2549 echo "$as_me:$LINENO: result: yes" >&5
2550 echo "${ECHO_T}yes" >&6
2552 echo "$as_me:$LINENO: result: no" >&5
2553 echo "${ECHO_T}no" >&6
2557 # Check whether --with-gtk or --without-gtk was given.
2558 if test "${with_gtk+set}" = set; then
2560 wxUSE_GTK
="$withval" CACHE_GTK
=1 TOOLKIT_GIVEN
=1
2563 # Check whether --with-motif or --without-motif was given.
2564 if test "${with_motif+set}" = set; then
2565 withval
="$with_motif"
2566 wxUSE_MOTIF
="$withval" CACHE_MOTIF
=1 TOOLKIT_GIVEN
=1
2569 # Check whether --with-mac or --without-mac was given.
2570 if test "${with_mac+set}" = set; then
2572 wxUSE_MAC
="$withval" TOOLKIT_GIVEN
=1
2575 # Check whether --with-cocoa or --without-cocoa was given.
2576 if test "${with_cocoa+set}" = set; then
2577 withval
="$with_cocoa"
2578 wxUSE_COCOA
="$withval" TOOLKIT_GIVEN
=1
2581 # Check whether --with-wine or --without-wine was given.
2582 if test "${with_wine+set}" = set; then
2583 withval
="$with_wine"
2584 wxUSE_WINE
="$withval" CACHE_WINE
=1
2587 # Check whether --with-msw or --without-msw was given.
2588 if test "${with_msw+set}" = set; then
2590 wxUSE_MSW
="$withval" CACHE_MSW
=1 TOOLKIT_GIVEN
=1
2593 # Check whether --with-pm or --without-pm was given.
2594 if test "${with_pm+set}" = set; then
2596 wxUSE_PM
="$withval" CACHE_PM
=1 TOOLKIT_GIVEN
=1
2599 # Check whether --with-mgl or --without-mgl was given.
2600 if test "${with_mgl+set}" = set; then
2602 wxUSE_MGL
="$withval" wxUSE_UNIVERSAL
="yes" CACHE_MGL
=1 TOOLKIT_GIVEN
=1
2605 # Check whether --with-microwin or --without-microwin was given.
2606 if test "${with_microwin+set}" = set; then
2607 withval
="$with_microwin"
2608 wxUSE_MICROWIN
="$withval" CACHE_MICROWIN
=1 TOOLKIT_GIVEN
=1
2611 # Check whether --with-x11 or --without-x11 was given.
2612 if test "${with_x11+set}" = set; then
2614 wxUSE_X11
="$withval" wxUSE_UNIVERSAL
="yes" CACHE_X11
=1 TOOLKIT_GIVEN
=1
2618 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-nanox" >&5
2619 echo $ECHO_N "checking for --${enablestring:-enable}-nanox... $ECHO_C" >&6
2621 # Check whether --enable-nanox or --disable-nanox was given.
2622 if test "${enable_nanox+set}" = set; then
2623 enableval
="$enable_nanox"
2625 if test "$enableval" = yes; then
2626 ac_cv_use_nanox
='wxUSE_NANOX=yes'
2628 ac_cv_use_nanox
='wxUSE_NANOX=no'
2633 LINE
=`grep "wxUSE_NANOX" ${wx_arg_cache_file}`
2634 if test "x$LINE" != x
; then
2635 eval "DEFAULT_$LINE"
2640 ac_cv_use_nanox
='wxUSE_NANOX='$DEFAULT_wxUSE_NANOX
2644 eval "$ac_cv_use_nanox"
2645 if test "$no_cache" != 1; then
2646 echo $ac_cv_use_nanox >> ${wx_arg_cache_file}.tmp
2649 if test "$wxUSE_NANOX" = yes; then
2650 echo "$as_me:$LINENO: result: yes" >&5
2651 echo "${ECHO_T}yes" >&6
2653 echo "$as_me:$LINENO: result: no" >&5
2654 echo "${ECHO_T}no" >&6
2660 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gtk2" >&5
2661 echo $ECHO_N "checking for --${enablestring:-enable}-gtk2... $ECHO_C" >&6
2663 # Check whether --enable-gtk2 or --disable-gtk2 was given.
2664 if test "${enable_gtk2+set}" = set; then
2665 enableval
="$enable_gtk2"
2667 if test "$enableval" = yes; then
2668 ac_cv_use_gtk2
='wxUSE_GTK2=yes'
2670 ac_cv_use_gtk2
='wxUSE_GTK2=no'
2675 LINE
=`grep "wxUSE_GTK2" ${wx_arg_cache_file}`
2676 if test "x$LINE" != x
; then
2677 eval "DEFAULT_$LINE"
2682 ac_cv_use_gtk2
='wxUSE_GTK2='$DEFAULT_wxUSE_GTK2
2686 eval "$ac_cv_use_gtk2"
2687 if test "$no_cache" != 1; then
2688 echo $ac_cv_use_gtk2 >> ${wx_arg_cache_file}.tmp
2691 if test "$wxUSE_GTK2" = yes; then
2692 echo "$as_me:$LINENO: result: yes" >&5
2693 echo "${ECHO_T}yes" >&6
2695 echo "$as_me:$LINENO: result: no" >&5
2696 echo "${ECHO_T}no" >&6
2701 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gpe" >&5
2702 echo $ECHO_N "checking for --${enablestring:-enable}-gpe... $ECHO_C" >&6
2704 # Check whether --enable-gpe or --disable-gpe was given.
2705 if test "${enable_gpe+set}" = set; then
2706 enableval
="$enable_gpe"
2708 if test "$enableval" = yes; then
2709 ac_cv_use_gpe
='wxUSE_GPE=yes'
2711 ac_cv_use_gpe
='wxUSE_GPE=no'
2716 LINE
=`grep "wxUSE_GPE" ${wx_arg_cache_file}`
2717 if test "x$LINE" != x
; then
2718 eval "DEFAULT_$LINE"
2723 ac_cv_use_gpe
='wxUSE_GPE='$DEFAULT_wxUSE_GPE
2727 eval "$ac_cv_use_gpe"
2728 if test "$no_cache" != 1; then
2729 echo $ac_cv_use_gpe >> ${wx_arg_cache_file}.tmp
2732 if test "$wxUSE_GPE" = yes; then
2733 echo "$as_me:$LINENO: result: yes" >&5
2734 echo "${ECHO_T}yes" >&6
2736 echo "$as_me:$LINENO: result: no" >&5
2737 echo "${ECHO_T}no" >&6
2742 echo "$as_me:$LINENO: checking for --with-libpng" >&5
2743 echo $ECHO_N "checking for --with-libpng... $ECHO_C" >&6
2746 # Check whether --with-libpng or --without-libpng was given.
2747 if test "${with_libpng+set}" = set; then
2748 withval
="$with_libpng"
2750 if test "$withval" = yes; then
2751 ac_cv_use_libpng
='wxUSE_LIBPNG=yes'
2752 elif test "$withval" = no
; then
2753 ac_cv_use_libpng
='wxUSE_LIBPNG=no'
2754 elif test "$withval" = sys
; then
2755 ac_cv_use_libpng
='wxUSE_LIBPNG=sys'
2756 elif test "$withval" = builtin; then
2757 ac_cv_use_libpng
='wxUSE_LIBPNG=builtin'
2759 { { echo "$as_me:$LINENO: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&5
2760 echo "$as_me: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&2;}
2761 { (exit 1); exit 1; }; }
2766 LINE
=`grep "wxUSE_LIBPNG" ${wx_arg_cache_file}`
2767 if test "x$LINE" != x
; then
2768 eval "DEFAULT_$LINE"
2773 ac_cv_use_libpng
='wxUSE_LIBPNG='$DEFAULT_wxUSE_LIBPNG
2777 eval "$ac_cv_use_libpng"
2778 if test "$no_cache" != 1; then
2779 echo $ac_cv_use_libpng >> ${wx_arg_cache_file}.tmp
2782 if test "$wxUSE_LIBPNG" = yes; then
2783 echo "$as_me:$LINENO: result: yes" >&5
2784 echo "${ECHO_T}yes" >&6
2785 elif test "$wxUSE_LIBPNG" = no
; then
2786 echo "$as_me:$LINENO: result: no" >&5
2787 echo "${ECHO_T}no" >&6
2788 elif test "$wxUSE_LIBPNG" = sys
; then
2789 echo "$as_me:$LINENO: result: system version" >&5
2790 echo "${ECHO_T}system version" >&6
2791 elif test "$wxUSE_LIBPNG" = builtin; then
2792 echo "$as_me:$LINENO: result: builtin version" >&5
2793 echo "${ECHO_T}builtin version" >&6
2795 { { echo "$as_me:$LINENO: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&5
2796 echo "$as_me: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&2;}
2797 { (exit 1); exit 1; }; }
2801 echo "$as_me:$LINENO: checking for --with-libjpeg" >&5
2802 echo $ECHO_N "checking for --with-libjpeg... $ECHO_C" >&6
2805 # Check whether --with-libjpeg or --without-libjpeg was given.
2806 if test "${with_libjpeg+set}" = set; then
2807 withval
="$with_libjpeg"
2809 if test "$withval" = yes; then
2810 ac_cv_use_libjpeg
='wxUSE_LIBJPEG=yes'
2811 elif test "$withval" = no
; then
2812 ac_cv_use_libjpeg
='wxUSE_LIBJPEG=no'
2813 elif test "$withval" = sys
; then
2814 ac_cv_use_libjpeg
='wxUSE_LIBJPEG=sys'
2815 elif test "$withval" = builtin; then
2816 ac_cv_use_libjpeg
='wxUSE_LIBJPEG=builtin'
2818 { { echo "$as_me:$LINENO: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&5
2819 echo "$as_me: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&2;}
2820 { (exit 1); exit 1; }; }
2825 LINE
=`grep "wxUSE_LIBJPEG" ${wx_arg_cache_file}`
2826 if test "x$LINE" != x
; then
2827 eval "DEFAULT_$LINE"
2832 ac_cv_use_libjpeg
='wxUSE_LIBJPEG='$DEFAULT_wxUSE_LIBJPEG
2836 eval "$ac_cv_use_libjpeg"
2837 if test "$no_cache" != 1; then
2838 echo $ac_cv_use_libjpeg >> ${wx_arg_cache_file}.tmp
2841 if test "$wxUSE_LIBJPEG" = yes; then
2842 echo "$as_me:$LINENO: result: yes" >&5
2843 echo "${ECHO_T}yes" >&6
2844 elif test "$wxUSE_LIBJPEG" = no
; then
2845 echo "$as_me:$LINENO: result: no" >&5
2846 echo "${ECHO_T}no" >&6
2847 elif test "$wxUSE_LIBJPEG" = sys
; then
2848 echo "$as_me:$LINENO: result: system version" >&5
2849 echo "${ECHO_T}system version" >&6
2850 elif test "$wxUSE_LIBJPEG" = builtin; then
2851 echo "$as_me:$LINENO: result: builtin version" >&5
2852 echo "${ECHO_T}builtin version" >&6
2854 { { echo "$as_me:$LINENO: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&5
2855 echo "$as_me: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&2;}
2856 { (exit 1); exit 1; }; }
2860 echo "$as_me:$LINENO: checking for --with-libtiff" >&5
2861 echo $ECHO_N "checking for --with-libtiff... $ECHO_C" >&6
2864 # Check whether --with-libtiff or --without-libtiff was given.
2865 if test "${with_libtiff+set}" = set; then
2866 withval
="$with_libtiff"
2868 if test "$withval" = yes; then
2869 ac_cv_use_libtiff
='wxUSE_LIBTIFF=yes'
2870 elif test "$withval" = no
; then
2871 ac_cv_use_libtiff
='wxUSE_LIBTIFF=no'
2872 elif test "$withval" = sys
; then
2873 ac_cv_use_libtiff
='wxUSE_LIBTIFF=sys'
2874 elif test "$withval" = builtin; then
2875 ac_cv_use_libtiff
='wxUSE_LIBTIFF=builtin'
2877 { { echo "$as_me:$LINENO: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&5
2878 echo "$as_me: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&2;}
2879 { (exit 1); exit 1; }; }
2884 LINE
=`grep "wxUSE_LIBTIFF" ${wx_arg_cache_file}`
2885 if test "x$LINE" != x
; then
2886 eval "DEFAULT_$LINE"
2891 ac_cv_use_libtiff
='wxUSE_LIBTIFF='$DEFAULT_wxUSE_LIBTIFF
2895 eval "$ac_cv_use_libtiff"
2896 if test "$no_cache" != 1; then
2897 echo $ac_cv_use_libtiff >> ${wx_arg_cache_file}.tmp
2900 if test "$wxUSE_LIBTIFF" = yes; then
2901 echo "$as_me:$LINENO: result: yes" >&5
2902 echo "${ECHO_T}yes" >&6
2903 elif test "$wxUSE_LIBTIFF" = no
; then
2904 echo "$as_me:$LINENO: result: no" >&5
2905 echo "${ECHO_T}no" >&6
2906 elif test "$wxUSE_LIBTIFF" = sys
; then
2907 echo "$as_me:$LINENO: result: system version" >&5
2908 echo "${ECHO_T}system version" >&6
2909 elif test "$wxUSE_LIBTIFF" = builtin; then
2910 echo "$as_me:$LINENO: result: builtin version" >&5
2911 echo "${ECHO_T}builtin version" >&6
2913 { { echo "$as_me:$LINENO: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&5
2914 echo "$as_me: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&2;}
2915 { (exit 1); exit 1; }; }
2919 echo "$as_me:$LINENO: checking for --with-libxpm" >&5
2920 echo $ECHO_N "checking for --with-libxpm... $ECHO_C" >&6
2923 # Check whether --with-libxpm or --without-libxpm was given.
2924 if test "${with_libxpm+set}" = set; then
2925 withval
="$with_libxpm"
2927 if test "$withval" = yes; then
2928 ac_cv_use_libxpm
='wxUSE_LIBXPM=yes'
2929 elif test "$withval" = no
; then
2930 ac_cv_use_libxpm
='wxUSE_LIBXPM=no'
2931 elif test "$withval" = sys
; then
2932 ac_cv_use_libxpm
='wxUSE_LIBXPM=sys'
2933 elif test "$withval" = builtin; then
2934 ac_cv_use_libxpm
='wxUSE_LIBXPM=builtin'
2936 { { echo "$as_me:$LINENO: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&5
2937 echo "$as_me: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&2;}
2938 { (exit 1); exit 1; }; }
2943 LINE
=`grep "wxUSE_LIBXPM" ${wx_arg_cache_file}`
2944 if test "x$LINE" != x
; then
2945 eval "DEFAULT_$LINE"
2950 ac_cv_use_libxpm
='wxUSE_LIBXPM='$DEFAULT_wxUSE_LIBXPM
2954 eval "$ac_cv_use_libxpm"
2955 if test "$no_cache" != 1; then
2956 echo $ac_cv_use_libxpm >> ${wx_arg_cache_file}.tmp
2959 if test "$wxUSE_LIBXPM" = yes; then
2960 echo "$as_me:$LINENO: result: yes" >&5
2961 echo "${ECHO_T}yes" >&6
2962 elif test "$wxUSE_LIBXPM" = no
; then
2963 echo "$as_me:$LINENO: result: no" >&5
2964 echo "${ECHO_T}no" >&6
2965 elif test "$wxUSE_LIBXPM" = sys
; then
2966 echo "$as_me:$LINENO: result: system version" >&5
2967 echo "${ECHO_T}system version" >&6
2968 elif test "$wxUSE_LIBXPM" = builtin; then
2969 echo "$as_me:$LINENO: result: builtin version" >&5
2970 echo "${ECHO_T}builtin version" >&6
2972 { { echo "$as_me:$LINENO: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&5
2973 echo "$as_me: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&2;}
2974 { (exit 1); exit 1; }; }
2978 echo "$as_me:$LINENO: checking for --with-libmspack" >&5
2979 echo $ECHO_N "checking for --with-libmspack... $ECHO_C" >&6
2982 # Check whether --with-libmspack or --without-libmspack was given.
2983 if test "${with_libmspack+set}" = set; then
2984 withval
="$with_libmspack"
2986 if test "$withval" = yes; then
2987 ac_cv_use_libmspack
='wxUSE_LIBMSPACK=yes'
2989 ac_cv_use_libmspack
='wxUSE_LIBMSPACK=no'
2994 LINE
=`grep "wxUSE_LIBMSPACK" ${wx_arg_cache_file}`
2995 if test "x$LINE" != x
; then
2996 eval "DEFAULT_$LINE"
3001 ac_cv_use_libmspack
='wxUSE_LIBMSPACK='$DEFAULT_wxUSE_LIBMSPACK
3005 eval "$ac_cv_use_libmspack"
3006 if test "$no_cache" != 1; then
3007 echo $ac_cv_use_libmspack >> ${wx_arg_cache_file}.tmp
3010 if test "$wxUSE_LIBMSPACK" = yes; then
3011 echo "$as_me:$LINENO: result: yes" >&5
3012 echo "${ECHO_T}yes" >&6
3014 echo "$as_me:$LINENO: result: no" >&5
3015 echo "${ECHO_T}no" >&6
3019 echo "$as_me:$LINENO: checking for --with-sdl" >&5
3020 echo $ECHO_N "checking for --with-sdl... $ECHO_C" >&6
3023 # Check whether --with-sdl or --without-sdl was given.
3024 if test "${with_sdl+set}" = set; then
3027 if test "$withval" = yes; then
3028 ac_cv_use_sdl
='wxUSE_LIBSDL=yes'
3030 ac_cv_use_sdl
='wxUSE_LIBSDL=no'
3035 LINE
=`grep "wxUSE_LIBSDL" ${wx_arg_cache_file}`
3036 if test "x$LINE" != x
; then
3037 eval "DEFAULT_$LINE"
3042 ac_cv_use_sdl
='wxUSE_LIBSDL='$DEFAULT_wxUSE_LIBSDL
3046 eval "$ac_cv_use_sdl"
3047 if test "$no_cache" != 1; then
3048 echo $ac_cv_use_sdl >> ${wx_arg_cache_file}.tmp
3051 if test "$wxUSE_LIBSDL" = yes; then
3052 echo "$as_me:$LINENO: result: yes" >&5
3053 echo "${ECHO_T}yes" >&6
3055 echo "$as_me:$LINENO: result: no" >&5
3056 echo "${ECHO_T}no" >&6
3060 echo "$as_me:$LINENO: checking for --with-opengl" >&5
3061 echo $ECHO_N "checking for --with-opengl... $ECHO_C" >&6
3064 # Check whether --with-opengl or --without-opengl was given.
3065 if test "${with_opengl+set}" = set; then
3066 withval
="$with_opengl"
3068 if test "$withval" = yes; then
3069 ac_cv_use_opengl
='wxUSE_OPENGL=yes'
3071 ac_cv_use_opengl
='wxUSE_OPENGL=no'
3076 LINE
=`grep "wxUSE_OPENGL" ${wx_arg_cache_file}`
3077 if test "x$LINE" != x
; then
3078 eval "DEFAULT_$LINE"
3083 ac_cv_use_opengl
='wxUSE_OPENGL='$DEFAULT_wxUSE_OPENGL
3087 eval "$ac_cv_use_opengl"
3088 if test "$no_cache" != 1; then
3089 echo $ac_cv_use_opengl >> ${wx_arg_cache_file}.tmp
3092 if test "$wxUSE_OPENGL" = yes; then
3093 echo "$as_me:$LINENO: result: yes" >&5
3094 echo "${ECHO_T}yes" >&6
3096 echo "$as_me:$LINENO: result: no" >&5
3097 echo "${ECHO_T}no" >&6
3104 echo "$as_me:$LINENO: checking for --with-dmalloc" >&5
3105 echo $ECHO_N "checking for --with-dmalloc... $ECHO_C" >&6
3108 # Check whether --with-dmalloc or --without-dmalloc was given.
3109 if test "${with_dmalloc+set}" = set; then
3110 withval
="$with_dmalloc"
3112 if test "$withval" = yes; then
3113 ac_cv_use_dmalloc
='wxUSE_DMALLOC=yes'
3115 ac_cv_use_dmalloc
='wxUSE_DMALLOC=no'
3120 LINE
=`grep "wxUSE_DMALLOC" ${wx_arg_cache_file}`
3121 if test "x$LINE" != x
; then
3122 eval "DEFAULT_$LINE"
3127 ac_cv_use_dmalloc
='wxUSE_DMALLOC='$DEFAULT_wxUSE_DMALLOC
3131 eval "$ac_cv_use_dmalloc"
3132 if test "$no_cache" != 1; then
3133 echo $ac_cv_use_dmalloc >> ${wx_arg_cache_file}.tmp
3136 if test "$wxUSE_DMALLOC" = yes; then
3137 echo "$as_me:$LINENO: result: yes" >&5
3138 echo "${ECHO_T}yes" >&6
3140 echo "$as_me:$LINENO: result: no" >&5
3141 echo "${ECHO_T}no" >&6
3145 echo "$as_me:$LINENO: checking for --with-regex" >&5
3146 echo $ECHO_N "checking for --with-regex... $ECHO_C" >&6
3149 # Check whether --with-regex or --without-regex was given.
3150 if test "${with_regex+set}" = set; then
3151 withval
="$with_regex"
3153 if test "$withval" = yes; then
3154 ac_cv_use_regex
='wxUSE_REGEX=yes'
3155 elif test "$withval" = no
; then
3156 ac_cv_use_regex
='wxUSE_REGEX=no'
3157 elif test "$withval" = sys
; then
3158 ac_cv_use_regex
='wxUSE_REGEX=sys'
3159 elif test "$withval" = builtin; then
3160 ac_cv_use_regex
='wxUSE_REGEX=builtin'
3162 { { echo "$as_me:$LINENO: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&5
3163 echo "$as_me: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&2;}
3164 { (exit 1); exit 1; }; }
3169 LINE
=`grep "wxUSE_REGEX" ${wx_arg_cache_file}`
3170 if test "x$LINE" != x
; then
3171 eval "DEFAULT_$LINE"
3176 ac_cv_use_regex
='wxUSE_REGEX='$DEFAULT_wxUSE_REGEX
3180 eval "$ac_cv_use_regex"
3181 if test "$no_cache" != 1; then
3182 echo $ac_cv_use_regex >> ${wx_arg_cache_file}.tmp
3185 if test "$wxUSE_REGEX" = yes; then
3186 echo "$as_me:$LINENO: result: yes" >&5
3187 echo "${ECHO_T}yes" >&6
3188 elif test "$wxUSE_REGEX" = no
; then
3189 echo "$as_me:$LINENO: result: no" >&5
3190 echo "${ECHO_T}no" >&6
3191 elif test "$wxUSE_REGEX" = sys
; then
3192 echo "$as_me:$LINENO: result: system version" >&5
3193 echo "${ECHO_T}system version" >&6
3194 elif test "$wxUSE_REGEX" = builtin; then
3195 echo "$as_me:$LINENO: result: builtin version" >&5
3196 echo "${ECHO_T}builtin version" >&6
3198 { { echo "$as_me:$LINENO: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&5
3199 echo "$as_me: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&2;}
3200 { (exit 1); exit 1; }; }
3204 echo "$as_me:$LINENO: checking for --with-zlib" >&5
3205 echo $ECHO_N "checking for --with-zlib... $ECHO_C" >&6
3208 # Check whether --with-zlib or --without-zlib was given.
3209 if test "${with_zlib+set}" = set; then
3210 withval
="$with_zlib"
3212 if test "$withval" = yes; then
3213 ac_cv_use_zlib
='wxUSE_ZLIB=yes'
3214 elif test "$withval" = no
; then
3215 ac_cv_use_zlib
='wxUSE_ZLIB=no'
3216 elif test "$withval" = sys
; then
3217 ac_cv_use_zlib
='wxUSE_ZLIB=sys'
3218 elif test "$withval" = builtin; then
3219 ac_cv_use_zlib
='wxUSE_ZLIB=builtin'
3221 { { echo "$as_me:$LINENO: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&5
3222 echo "$as_me: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&2;}
3223 { (exit 1); exit 1; }; }
3228 LINE
=`grep "wxUSE_ZLIB" ${wx_arg_cache_file}`
3229 if test "x$LINE" != x
; then
3230 eval "DEFAULT_$LINE"
3235 ac_cv_use_zlib
='wxUSE_ZLIB='$DEFAULT_wxUSE_ZLIB
3239 eval "$ac_cv_use_zlib"
3240 if test "$no_cache" != 1; then
3241 echo $ac_cv_use_zlib >> ${wx_arg_cache_file}.tmp
3244 if test "$wxUSE_ZLIB" = yes; then
3245 echo "$as_me:$LINENO: result: yes" >&5
3246 echo "${ECHO_T}yes" >&6
3247 elif test "$wxUSE_ZLIB" = no
; then
3248 echo "$as_me:$LINENO: result: no" >&5
3249 echo "${ECHO_T}no" >&6
3250 elif test "$wxUSE_ZLIB" = sys
; then
3251 echo "$as_me:$LINENO: result: system version" >&5
3252 echo "${ECHO_T}system version" >&6
3253 elif test "$wxUSE_ZLIB" = builtin; then
3254 echo "$as_me:$LINENO: result: builtin version" >&5
3255 echo "${ECHO_T}builtin version" >&6
3257 { { echo "$as_me:$LINENO: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&5
3258 echo "$as_me: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&2;}
3259 { (exit 1); exit 1; }; }
3263 echo "$as_me:$LINENO: checking for --with-odbc" >&5
3264 echo $ECHO_N "checking for --with-odbc... $ECHO_C" >&6
3267 # Check whether --with-odbc or --without-odbc was given.
3268 if test "${with_odbc+set}" = set; then
3269 withval
="$with_odbc"
3271 if test "$withval" = yes; then
3272 ac_cv_use_odbc
='wxUSE_ODBC=yes'
3273 elif test "$withval" = no
; then
3274 ac_cv_use_odbc
='wxUSE_ODBC=no'
3275 elif test "$withval" = sys
; then
3276 ac_cv_use_odbc
='wxUSE_ODBC=sys'
3277 elif test "$withval" = builtin; then
3278 ac_cv_use_odbc
='wxUSE_ODBC=builtin'
3280 { { echo "$as_me:$LINENO: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&5
3281 echo "$as_me: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&2;}
3282 { (exit 1); exit 1; }; }
3287 LINE
=`grep "wxUSE_ODBC" ${wx_arg_cache_file}`
3288 if test "x$LINE" != x
; then
3289 eval "DEFAULT_$LINE"
3294 ac_cv_use_odbc
='wxUSE_ODBC='$DEFAULT_wxUSE_ODBC
3298 eval "$ac_cv_use_odbc"
3299 if test "$no_cache" != 1; then
3300 echo $ac_cv_use_odbc >> ${wx_arg_cache_file}.tmp
3303 if test "$wxUSE_ODBC" = yes; then
3304 echo "$as_me:$LINENO: result: yes" >&5
3305 echo "${ECHO_T}yes" >&6
3306 elif test "$wxUSE_ODBC" = no
; then
3307 echo "$as_me:$LINENO: result: no" >&5
3308 echo "${ECHO_T}no" >&6
3309 elif test "$wxUSE_ODBC" = sys
; then
3310 echo "$as_me:$LINENO: result: system version" >&5
3311 echo "${ECHO_T}system version" >&6
3312 elif test "$wxUSE_ODBC" = builtin; then
3313 echo "$as_me:$LINENO: result: builtin version" >&5
3314 echo "${ECHO_T}builtin version" >&6
3316 { { echo "$as_me:$LINENO: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&5
3317 echo "$as_me: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&2;}
3318 { (exit 1); exit 1; }; }
3322 echo "$as_me:$LINENO: checking for --with-expat" >&5
3323 echo $ECHO_N "checking for --with-expat... $ECHO_C" >&6
3326 # Check whether --with-expat or --without-expat was given.
3327 if test "${with_expat+set}" = set; then
3328 withval
="$with_expat"
3330 if test "$withval" = yes; then
3331 ac_cv_use_expat
='wxUSE_EXPAT=yes'
3332 elif test "$withval" = no
; then
3333 ac_cv_use_expat
='wxUSE_EXPAT=no'
3334 elif test "$withval" = sys
; then
3335 ac_cv_use_expat
='wxUSE_EXPAT=sys'
3336 elif test "$withval" = builtin; then
3337 ac_cv_use_expat
='wxUSE_EXPAT=builtin'
3339 { { echo "$as_me:$LINENO: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&5
3340 echo "$as_me: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&2;}
3341 { (exit 1); exit 1; }; }
3346 LINE
=`grep "wxUSE_EXPAT" ${wx_arg_cache_file}`
3347 if test "x$LINE" != x
; then
3348 eval "DEFAULT_$LINE"
3353 ac_cv_use_expat
='wxUSE_EXPAT='$DEFAULT_wxUSE_EXPAT
3357 eval "$ac_cv_use_expat"
3358 if test "$no_cache" != 1; then
3359 echo $ac_cv_use_expat >> ${wx_arg_cache_file}.tmp
3362 if test "$wxUSE_EXPAT" = yes; then
3363 echo "$as_me:$LINENO: result: yes" >&5
3364 echo "${ECHO_T}yes" >&6
3365 elif test "$wxUSE_EXPAT" = no
; then
3366 echo "$as_me:$LINENO: result: no" >&5
3367 echo "${ECHO_T}no" >&6
3368 elif test "$wxUSE_EXPAT" = sys
; then
3369 echo "$as_me:$LINENO: result: system version" >&5
3370 echo "${ECHO_T}system version" >&6
3371 elif test "$wxUSE_EXPAT" = builtin; then
3372 echo "$as_me:$LINENO: result: builtin version" >&5
3373 echo "${ECHO_T}builtin version" >&6
3375 { { echo "$as_me:$LINENO: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&5
3376 echo "$as_me: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&2;}
3377 { (exit 1); exit 1; }; }
3384 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-shared" >&5
3385 echo $ECHO_N "checking for --${enablestring:-enable}-shared... $ECHO_C" >&6
3387 # Check whether --enable-shared or --disable-shared was given.
3388 if test "${enable_shared+set}" = set; then
3389 enableval
="$enable_shared"
3391 if test "$enableval" = yes; then
3392 ac_cv_use_shared
='wxUSE_SHARED=yes'
3394 ac_cv_use_shared
='wxUSE_SHARED=no'
3399 LINE
=`grep "wxUSE_SHARED" ${wx_arg_cache_file}`
3400 if test "x$LINE" != x
; then
3401 eval "DEFAULT_$LINE"
3406 ac_cv_use_shared
='wxUSE_SHARED='$DEFAULT_wxUSE_SHARED
3410 eval "$ac_cv_use_shared"
3411 if test "$no_cache" != 1; then
3412 echo $ac_cv_use_shared >> ${wx_arg_cache_file}.tmp
3415 if test "$wxUSE_SHARED" = yes; then
3416 echo "$as_me:$LINENO: result: yes" >&5
3417 echo "${ECHO_T}yes" >&6
3419 echo "$as_me:$LINENO: result: no" >&5
3420 echo "${ECHO_T}no" >&6
3425 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-optimise" >&5
3426 echo $ECHO_N "checking for --${enablestring:-enable}-optimise... $ECHO_C" >&6
3428 # Check whether --enable-optimise or --disable-optimise was given.
3429 if test "${enable_optimise+set}" = set; then
3430 enableval
="$enable_optimise"
3432 if test "$enableval" = yes; then
3433 ac_cv_use_optimise
='wxUSE_OPTIMISE=yes'
3435 ac_cv_use_optimise
='wxUSE_OPTIMISE=no'
3440 LINE
=`grep "wxUSE_OPTIMISE" ${wx_arg_cache_file}`
3441 if test "x$LINE" != x
; then
3442 eval "DEFAULT_$LINE"
3447 ac_cv_use_optimise
='wxUSE_OPTIMISE='$DEFAULT_wxUSE_OPTIMISE
3451 eval "$ac_cv_use_optimise"
3452 if test "$no_cache" != 1; then
3453 echo $ac_cv_use_optimise >> ${wx_arg_cache_file}.tmp
3456 if test "$wxUSE_OPTIMISE" = yes; then
3457 echo "$as_me:$LINENO: result: yes" >&5
3458 echo "${ECHO_T}yes" >&6
3460 echo "$as_me:$LINENO: result: no" >&5
3461 echo "${ECHO_T}no" >&6
3466 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug" >&5
3467 echo $ECHO_N "checking for --${enablestring:-enable}-debug... $ECHO_C" >&6
3469 # Check whether --enable-debug or --disable-debug was given.
3470 if test "${enable_debug+set}" = set; then
3471 enableval
="$enable_debug"
3473 if test "$enableval" = yes; then
3474 ac_cv_use_debug
='wxUSE_DEBUG=yes'
3476 ac_cv_use_debug
='wxUSE_DEBUG=no'
3481 LINE
=`grep "wxUSE_DEBUG" ${wx_arg_cache_file}`
3482 if test "x$LINE" != x
; then
3483 eval "DEFAULT_$LINE"
3488 ac_cv_use_debug
='wxUSE_DEBUG='$DEFAULT_wxUSE_DEBUG
3492 eval "$ac_cv_use_debug"
3493 if test "$no_cache" != 1; then
3494 echo $ac_cv_use_debug >> ${wx_arg_cache_file}.tmp
3497 if test "$wxUSE_DEBUG" = yes; then
3498 echo "$as_me:$LINENO: result: yes" >&5
3499 echo "${ECHO_T}yes" >&6
3501 echo "$as_me:$LINENO: result: no" >&5
3502 echo "${ECHO_T}no" >&6
3507 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stl" >&5
3508 echo $ECHO_N "checking for --${enablestring:-enable}-stl... $ECHO_C" >&6
3510 # Check whether --enable-stl or --disable-stl was given.
3511 if test "${enable_stl+set}" = set; then
3512 enableval
="$enable_stl"
3514 if test "$enableval" = yes; then
3515 ac_cv_use_stl
='wxUSE_STL=yes'
3517 ac_cv_use_stl
='wxUSE_STL=no'
3522 LINE
=`grep "wxUSE_STL" ${wx_arg_cache_file}`
3523 if test "x$LINE" != x
; then
3524 eval "DEFAULT_$LINE"
3529 ac_cv_use_stl
='wxUSE_STL='$DEFAULT_wxUSE_STL
3533 eval "$ac_cv_use_stl"
3534 if test "$no_cache" != 1; then
3535 echo $ac_cv_use_stl >> ${wx_arg_cache_file}.tmp
3538 if test "$wxUSE_STL" = yes; then
3539 echo "$as_me:$LINENO: result: yes" >&5
3540 echo "${ECHO_T}yes" >&6
3542 echo "$as_me:$LINENO: result: no" >&5
3543 echo "${ECHO_T}no" >&6
3546 if test "$USE_OS2" = "1"; then
3549 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-omf" >&5
3550 echo $ECHO_N "checking for --${enablestring:-enable}-omf... $ECHO_C" >&6
3552 # Check whether --enable-omf or --disable-omf was given.
3553 if test "${enable_omf+set}" = set; then
3554 enableval
="$enable_omf"
3556 if test "$enableval" = yes; then
3557 ac_cv_use_omf
='wxUSE_OMF=yes'
3559 ac_cv_use_omf
='wxUSE_OMF=no'
3564 LINE
=`grep "wxUSE_OMF" ${wx_arg_cache_file}`
3565 if test "x$LINE" != x
; then
3566 eval "DEFAULT_$LINE"
3571 ac_cv_use_omf
='wxUSE_OMF='$DEFAULT_wxUSE_OMF
3575 eval "$ac_cv_use_omf"
3576 if test "$no_cache" != 1; then
3577 echo $ac_cv_use_omf >> ${wx_arg_cache_file}.tmp
3580 if test "$wxUSE_OMF" = yes; then
3581 echo "$as_me:$LINENO: result: yes" >&5
3582 echo "${ECHO_T}yes" >&6
3584 echo "$as_me:$LINENO: result: no" >&5
3585 echo "${ECHO_T}no" >&6
3590 if test "$wxUSE_DEBUG" = "yes"; then
3591 DEFAULT_wxUSE_DEBUG_FLAG
=yes
3592 DEFAULT_wxUSE_DEBUG_INFO
=yes
3594 elif test "$wxUSE_DEBUG" = "no"; then
3595 DEFAULT_wxUSE_DEBUG_FLAG
=no
3596 DEFAULT_wxUSE_DEBUG_INFO
=no
3602 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_flag" >&5
3603 echo $ECHO_N "checking for --${enablestring:-enable}-debug_flag... $ECHO_C" >&6
3605 # Check whether --enable-debug_flag or --disable-debug_flag was given.
3606 if test "${enable_debug_flag+set}" = set; then
3607 enableval
="$enable_debug_flag"
3609 if test "$enableval" = yes; then
3610 ac_cv_use_debug_flag
='wxUSE_DEBUG_FLAG=yes'
3612 ac_cv_use_debug_flag
='wxUSE_DEBUG_FLAG=no'
3617 LINE
=`grep "wxUSE_DEBUG_FLAG" ${wx_arg_cache_file}`
3618 if test "x$LINE" != x
; then
3619 eval "DEFAULT_$LINE"
3624 ac_cv_use_debug_flag
='wxUSE_DEBUG_FLAG='$DEFAULT_wxUSE_DEBUG_FLAG
3628 eval "$ac_cv_use_debug_flag"
3629 if test "$no_cache" != 1; then
3630 echo $ac_cv_use_debug_flag >> ${wx_arg_cache_file}.tmp
3633 if test "$wxUSE_DEBUG_FLAG" = yes; then
3634 echo "$as_me:$LINENO: result: yes" >&5
3635 echo "${ECHO_T}yes" >&6
3637 echo "$as_me:$LINENO: result: no" >&5
3638 echo "${ECHO_T}no" >&6
3643 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_info" >&5
3644 echo $ECHO_N "checking for --${enablestring:-enable}-debug_info... $ECHO_C" >&6
3646 # Check whether --enable-debug_info or --disable-debug_info was given.
3647 if test "${enable_debug_info+set}" = set; then
3648 enableval
="$enable_debug_info"
3650 if test "$enableval" = yes; then
3651 ac_cv_use_debug_info
='wxUSE_DEBUG_INFO=yes'
3653 ac_cv_use_debug_info
='wxUSE_DEBUG_INFO=no'
3658 LINE
=`grep "wxUSE_DEBUG_INFO" ${wx_arg_cache_file}`
3659 if test "x$LINE" != x
; then
3660 eval "DEFAULT_$LINE"
3665 ac_cv_use_debug_info
='wxUSE_DEBUG_INFO='$DEFAULT_wxUSE_DEBUG_INFO
3669 eval "$ac_cv_use_debug_info"
3670 if test "$no_cache" != 1; then
3671 echo $ac_cv_use_debug_info >> ${wx_arg_cache_file}.tmp
3674 if test "$wxUSE_DEBUG_INFO" = yes; then
3675 echo "$as_me:$LINENO: result: yes" >&5
3676 echo "${ECHO_T}yes" >&6
3678 echo "$as_me:$LINENO: result: no" >&5
3679 echo "${ECHO_T}no" >&6
3684 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_gdb" >&5
3685 echo $ECHO_N "checking for --${enablestring:-enable}-debug_gdb... $ECHO_C" >&6
3687 # Check whether --enable-debug_gdb or --disable-debug_gdb was given.
3688 if test "${enable_debug_gdb+set}" = set; then
3689 enableval
="$enable_debug_gdb"
3691 if test "$enableval" = yes; then
3692 ac_cv_use_debug_gdb
='wxUSE_DEBUG_GDB=yes'
3694 ac_cv_use_debug_gdb
='wxUSE_DEBUG_GDB=no'
3699 LINE
=`grep "wxUSE_DEBUG_GDB" ${wx_arg_cache_file}`
3700 if test "x$LINE" != x
; then
3701 eval "DEFAULT_$LINE"
3706 ac_cv_use_debug_gdb
='wxUSE_DEBUG_GDB='$DEFAULT_wxUSE_DEBUG_GDB
3710 eval "$ac_cv_use_debug_gdb"
3711 if test "$no_cache" != 1; then
3712 echo $ac_cv_use_debug_gdb >> ${wx_arg_cache_file}.tmp
3715 if test "$wxUSE_DEBUG_GDB" = yes; then
3716 echo "$as_me:$LINENO: result: yes" >&5
3717 echo "${ECHO_T}yes" >&6
3719 echo "$as_me:$LINENO: result: no" >&5
3720 echo "${ECHO_T}no" >&6
3725 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_cntxt" >&5
3726 echo $ECHO_N "checking for --${enablestring:-enable}-debug_cntxt... $ECHO_C" >&6
3728 # Check whether --enable-debug_cntxt or --disable-debug_cntxt was given.
3729 if test "${enable_debug_cntxt+set}" = set; then
3730 enableval
="$enable_debug_cntxt"
3732 if test "$enableval" = yes; then
3733 ac_cv_use_debug_cntxt
='wxUSE_DEBUG_CONTEXT=yes'
3735 ac_cv_use_debug_cntxt
='wxUSE_DEBUG_CONTEXT=no'
3740 LINE
=`grep "wxUSE_DEBUG_CONTEXT" ${wx_arg_cache_file}`
3741 if test "x$LINE" != x
; then
3742 eval "DEFAULT_$LINE"
3747 ac_cv_use_debug_cntxt
='wxUSE_DEBUG_CONTEXT='$DEFAULT_wxUSE_DEBUG_CONTEXT
3751 eval "$ac_cv_use_debug_cntxt"
3752 if test "$no_cache" != 1; then
3753 echo $ac_cv_use_debug_cntxt >> ${wx_arg_cache_file}.tmp
3756 if test "$wxUSE_DEBUG_CONTEXT" = yes; then
3757 echo "$as_me:$LINENO: result: yes" >&5
3758 echo "${ECHO_T}yes" >&6
3760 echo "$as_me:$LINENO: result: no" >&5
3761 echo "${ECHO_T}no" >&6
3766 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mem_tracing" >&5
3767 echo $ECHO_N "checking for --${enablestring:-enable}-mem_tracing... $ECHO_C" >&6
3769 # Check whether --enable-mem_tracing or --disable-mem_tracing was given.
3770 if test "${enable_mem_tracing+set}" = set; then
3771 enableval
="$enable_mem_tracing"
3773 if test "$enableval" = yes; then
3774 ac_cv_use_mem_tracing
='wxUSE_MEM_TRACING=yes'
3776 ac_cv_use_mem_tracing
='wxUSE_MEM_TRACING=no'
3781 LINE
=`grep "wxUSE_MEM_TRACING" ${wx_arg_cache_file}`
3782 if test "x$LINE" != x
; then
3783 eval "DEFAULT_$LINE"
3788 ac_cv_use_mem_tracing
='wxUSE_MEM_TRACING='$DEFAULT_wxUSE_MEM_TRACING
3792 eval "$ac_cv_use_mem_tracing"
3793 if test "$no_cache" != 1; then
3794 echo $ac_cv_use_mem_tracing >> ${wx_arg_cache_file}.tmp
3797 if test "$wxUSE_MEM_TRACING" = yes; then
3798 echo "$as_me:$LINENO: result: yes" >&5
3799 echo "${ECHO_T}yes" >&6
3801 echo "$as_me:$LINENO: result: no" >&5
3802 echo "${ECHO_T}no" >&6
3807 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-profile" >&5
3808 echo $ECHO_N "checking for --${enablestring:-enable}-profile... $ECHO_C" >&6
3810 # Check whether --enable-profile or --disable-profile was given.
3811 if test "${enable_profile+set}" = set; then
3812 enableval
="$enable_profile"
3814 if test "$enableval" = yes; then
3815 ac_cv_use_profile
='wxUSE_PROFILE=yes'
3817 ac_cv_use_profile
='wxUSE_PROFILE=no'
3822 LINE
=`grep "wxUSE_PROFILE" ${wx_arg_cache_file}`
3823 if test "x$LINE" != x
; then
3824 eval "DEFAULT_$LINE"
3829 ac_cv_use_profile
='wxUSE_PROFILE='$DEFAULT_wxUSE_PROFILE
3833 eval "$ac_cv_use_profile"
3834 if test "$no_cache" != 1; then
3835 echo $ac_cv_use_profile >> ${wx_arg_cache_file}.tmp
3838 if test "$wxUSE_PROFILE" = yes; then
3839 echo "$as_me:$LINENO: result: yes" >&5
3840 echo "${ECHO_T}yes" >&6
3842 echo "$as_me:$LINENO: result: no" >&5
3843 echo "${ECHO_T}no" >&6
3848 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_rtti" >&5
3849 echo $ECHO_N "checking for --${enablestring:-enable}-no_rtti... $ECHO_C" >&6
3851 # Check whether --enable-no_rtti or --disable-no_rtti was given.
3852 if test "${enable_no_rtti+set}" = set; then
3853 enableval
="$enable_no_rtti"
3855 if test "$enableval" = yes; then
3856 ac_cv_use_no_rtti
='wxUSE_NO_RTTI=yes'
3858 ac_cv_use_no_rtti
='wxUSE_NO_RTTI=no'
3863 LINE
=`grep "wxUSE_NO_RTTI" ${wx_arg_cache_file}`
3864 if test "x$LINE" != x
; then
3865 eval "DEFAULT_$LINE"
3870 ac_cv_use_no_rtti
='wxUSE_NO_RTTI='$DEFAULT_wxUSE_NO_RTTI
3874 eval "$ac_cv_use_no_rtti"
3875 if test "$no_cache" != 1; then
3876 echo $ac_cv_use_no_rtti >> ${wx_arg_cache_file}.tmp
3879 if test "$wxUSE_NO_RTTI" = yes; then
3880 echo "$as_me:$LINENO: result: yes" >&5
3881 echo "${ECHO_T}yes" >&6
3883 echo "$as_me:$LINENO: result: no" >&5
3884 echo "${ECHO_T}no" >&6
3889 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_exceptions" >&5
3890 echo $ECHO_N "checking for --${enablestring:-enable}-no_exceptions... $ECHO_C" >&6
3892 # Check whether --enable-no_exceptions or --disable-no_exceptions was given.
3893 if test "${enable_no_exceptions+set}" = set; then
3894 enableval
="$enable_no_exceptions"
3896 if test "$enableval" = yes; then
3897 ac_cv_use_no_exceptions
='wxUSE_NO_EXCEPTIONS=yes'
3899 ac_cv_use_no_exceptions
='wxUSE_NO_EXCEPTIONS=no'
3904 LINE
=`grep "wxUSE_NO_EXCEPTIONS" ${wx_arg_cache_file}`
3905 if test "x$LINE" != x
; then
3906 eval "DEFAULT_$LINE"
3911 ac_cv_use_no_exceptions
='wxUSE_NO_EXCEPTIONS='$DEFAULT_wxUSE_NO_EXCEPTIONS
3915 eval "$ac_cv_use_no_exceptions"
3916 if test "$no_cache" != 1; then
3917 echo $ac_cv_use_no_exceptions >> ${wx_arg_cache_file}.tmp
3920 if test "$wxUSE_NO_EXCEPTIONS" = yes; then
3921 echo "$as_me:$LINENO: result: yes" >&5
3922 echo "${ECHO_T}yes" >&6
3924 echo "$as_me:$LINENO: result: no" >&5
3925 echo "${ECHO_T}no" >&6
3930 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-permissive" >&5
3931 echo $ECHO_N "checking for --${enablestring:-enable}-permissive... $ECHO_C" >&6
3933 # Check whether --enable-permissive or --disable-permissive was given.
3934 if test "${enable_permissive+set}" = set; then
3935 enableval
="$enable_permissive"
3937 if test "$enableval" = yes; then
3938 ac_cv_use_permissive
='wxUSE_PERMISSIVE=yes'
3940 ac_cv_use_permissive
='wxUSE_PERMISSIVE=no'
3945 LINE
=`grep "wxUSE_PERMISSIVE" ${wx_arg_cache_file}`
3946 if test "x$LINE" != x
; then
3947 eval "DEFAULT_$LINE"
3952 ac_cv_use_permissive
='wxUSE_PERMISSIVE='$DEFAULT_wxUSE_PERMISSIVE
3956 eval "$ac_cv_use_permissive"
3957 if test "$no_cache" != 1; then
3958 echo $ac_cv_use_permissive >> ${wx_arg_cache_file}.tmp
3961 if test "$wxUSE_PERMISSIVE" = yes; then
3962 echo "$as_me:$LINENO: result: yes" >&5
3963 echo "${ECHO_T}yes" >&6
3965 echo "$as_me:$LINENO: result: no" >&5
3966 echo "${ECHO_T}no" >&6
3971 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_deps" >&5
3972 echo $ECHO_N "checking for --${enablestring:-enable}-no_deps... $ECHO_C" >&6
3974 # Check whether --enable-no_deps or --disable-no_deps was given.
3975 if test "${enable_no_deps+set}" = set; then
3976 enableval
="$enable_no_deps"
3978 if test "$enableval" = yes; then
3979 ac_cv_use_no_deps
='wxUSE_NO_DEPS=yes'
3981 ac_cv_use_no_deps
='wxUSE_NO_DEPS=no'
3986 LINE
=`grep "wxUSE_NO_DEPS" ${wx_arg_cache_file}`
3987 if test "x$LINE" != x
; then
3988 eval "DEFAULT_$LINE"
3993 ac_cv_use_no_deps
='wxUSE_NO_DEPS='$DEFAULT_wxUSE_NO_DEPS
3997 eval "$ac_cv_use_no_deps"
3998 if test "$no_cache" != 1; then
3999 echo $ac_cv_use_no_deps >> ${wx_arg_cache_file}.tmp
4002 if test "$wxUSE_NO_DEPS" = yes; then
4003 echo "$as_me:$LINENO: result: yes" >&5
4004 echo "${ECHO_T}yes" >&6
4006 echo "$as_me:$LINENO: result: no" >&5
4007 echo "${ECHO_T}no" >&6
4013 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-compat22" >&5
4014 echo $ECHO_N "checking for --${enablestring:-enable}-compat22... $ECHO_C" >&6
4016 # Check whether --enable-compat22 or --disable-compat22 was given.
4017 if test "${enable_compat22+set}" = set; then
4018 enableval
="$enable_compat22"
4020 if test "$enableval" = yes; then
4021 ac_cv_use_compat22
='WXWIN_COMPATIBILITY_2_2=yes'
4023 ac_cv_use_compat22
='WXWIN_COMPATIBILITY_2_2=no'
4028 LINE
=`grep "WXWIN_COMPATIBILITY_2_2" ${wx_arg_cache_file}`
4029 if test "x$LINE" != x
; then
4030 eval "DEFAULT_$LINE"
4035 ac_cv_use_compat22
='WXWIN_COMPATIBILITY_2_2='$DEFAULT_WXWIN_COMPATIBILITY_2_2
4039 eval "$ac_cv_use_compat22"
4040 if test "$no_cache" != 1; then
4041 echo $ac_cv_use_compat22 >> ${wx_arg_cache_file}.tmp
4044 if test "$WXWIN_COMPATIBILITY_2_2" = yes; then
4045 echo "$as_me:$LINENO: result: yes" >&5
4046 echo "${ECHO_T}yes" >&6
4048 echo "$as_me:$LINENO: result: no" >&5
4049 echo "${ECHO_T}no" >&6
4053 enablestring
=disable
4054 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-compat24" >&5
4055 echo $ECHO_N "checking for --${enablestring:-enable}-compat24... $ECHO_C" >&6
4057 # Check whether --enable-compat24 or --disable-compat24 was given.
4058 if test "${enable_compat24+set}" = set; then
4059 enableval
="$enable_compat24"
4061 if test "$enableval" = yes; then
4062 ac_cv_use_compat24
='WXWIN_COMPATIBILITY_2_4=yes'
4064 ac_cv_use_compat24
='WXWIN_COMPATIBILITY_2_4=no'
4069 LINE
=`grep "WXWIN_COMPATIBILITY_2_4" ${wx_arg_cache_file}`
4070 if test "x$LINE" != x
; then
4071 eval "DEFAULT_$LINE"
4076 ac_cv_use_compat24
='WXWIN_COMPATIBILITY_2_4='$DEFAULT_WXWIN_COMPATIBILITY_2_4
4080 eval "$ac_cv_use_compat24"
4081 if test "$no_cache" != 1; then
4082 echo $ac_cv_use_compat24 >> ${wx_arg_cache_file}.tmp
4085 if test "$WXWIN_COMPATIBILITY_2_4" = yes; then
4086 echo "$as_me:$LINENO: result: yes" >&5
4087 echo "${ECHO_T}yes" >&6
4089 echo "$as_me:$LINENO: result: no" >&5
4090 echo "${ECHO_T}no" >&6
4094 # Check whether --enable-rpath or --disable-rpath was given.
4095 if test "${enable_rpath+set}" = set; then
4096 enableval
="$enable_rpath"
4097 wxRPATH_DIR
="$enableval"
4100 if test "$wxRPATH_DIR" != "" -a "$wxRPATH_DIR" != "disable"; then
4101 WXCONFIG_RPATH
="-Wl,-rpath -Wl,$wxRPATH_DIR"
4108 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-intl" >&5
4109 echo $ECHO_N "checking for --${enablestring:-enable}-intl... $ECHO_C" >&6
4111 # Check whether --enable-intl or --disable-intl was given.
4112 if test "${enable_intl+set}" = set; then
4113 enableval
="$enable_intl"
4115 if test "$enableval" = yes; then
4116 ac_cv_use_intl
='wxUSE_INTL=yes'
4118 ac_cv_use_intl
='wxUSE_INTL=no'
4123 LINE
=`grep "wxUSE_INTL" ${wx_arg_cache_file}`
4124 if test "x$LINE" != x
; then
4125 eval "DEFAULT_$LINE"
4130 ac_cv_use_intl
='wxUSE_INTL='$DEFAULT_wxUSE_INTL
4134 eval "$ac_cv_use_intl"
4135 if test "$no_cache" != 1; then
4136 echo $ac_cv_use_intl >> ${wx_arg_cache_file}.tmp
4139 if test "$wxUSE_INTL" = yes; then
4140 echo "$as_me:$LINENO: result: yes" >&5
4141 echo "${ECHO_T}yes" >&6
4143 echo "$as_me:$LINENO: result: no" >&5
4144 echo "${ECHO_T}no" >&6
4149 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-config" >&5
4150 echo $ECHO_N "checking for --${enablestring:-enable}-config... $ECHO_C" >&6
4152 # Check whether --enable-config or --disable-config was given.
4153 if test "${enable_config+set}" = set; then
4154 enableval
="$enable_config"
4156 if test "$enableval" = yes; then
4157 ac_cv_use_config
='wxUSE_CONFIG=yes'
4159 ac_cv_use_config
='wxUSE_CONFIG=no'
4164 LINE
=`grep "wxUSE_CONFIG" ${wx_arg_cache_file}`
4165 if test "x$LINE" != x
; then
4166 eval "DEFAULT_$LINE"
4171 ac_cv_use_config
='wxUSE_CONFIG='$DEFAULT_wxUSE_CONFIG
4175 eval "$ac_cv_use_config"
4176 if test "$no_cache" != 1; then
4177 echo $ac_cv_use_config >> ${wx_arg_cache_file}.tmp
4180 if test "$wxUSE_CONFIG" = yes; then
4181 echo "$as_me:$LINENO: result: yes" >&5
4182 echo "${ECHO_T}yes" >&6
4184 echo "$as_me:$LINENO: result: no" >&5
4185 echo "${ECHO_T}no" >&6
4191 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocols" >&5
4192 echo $ECHO_N "checking for --${enablestring:-enable}-protocols... $ECHO_C" >&6
4194 # Check whether --enable-protocols or --disable-protocols was given.
4195 if test "${enable_protocols+set}" = set; then
4196 enableval
="$enable_protocols"
4198 if test "$enableval" = yes; then
4199 ac_cv_use_protocols
='wxUSE_PROTOCOL=yes'
4201 ac_cv_use_protocols
='wxUSE_PROTOCOL=no'
4206 LINE
=`grep "wxUSE_PROTOCOL" ${wx_arg_cache_file}`
4207 if test "x$LINE" != x
; then
4208 eval "DEFAULT_$LINE"
4213 ac_cv_use_protocols
='wxUSE_PROTOCOL='$DEFAULT_wxUSE_PROTOCOL
4217 eval "$ac_cv_use_protocols"
4218 if test "$no_cache" != 1; then
4219 echo $ac_cv_use_protocols >> ${wx_arg_cache_file}.tmp
4222 if test "$wxUSE_PROTOCOL" = yes; then
4223 echo "$as_me:$LINENO: result: yes" >&5
4224 echo "${ECHO_T}yes" >&6
4226 echo "$as_me:$LINENO: result: no" >&5
4227 echo "${ECHO_T}no" >&6
4232 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ftp" >&5
4233 echo $ECHO_N "checking for --${enablestring:-enable}-ftp... $ECHO_C" >&6
4235 # Check whether --enable-ftp or --disable-ftp was given.
4236 if test "${enable_ftp+set}" = set; then
4237 enableval
="$enable_ftp"
4239 if test "$enableval" = yes; then
4240 ac_cv_use_ftp
='wxUSE_PROTOCOL_FTP=yes'
4242 ac_cv_use_ftp
='wxUSE_PROTOCOL_FTP=no'
4247 LINE
=`grep "wxUSE_PROTOCOL_FTP" ${wx_arg_cache_file}`
4248 if test "x$LINE" != x
; then
4249 eval "DEFAULT_$LINE"
4254 ac_cv_use_ftp
='wxUSE_PROTOCOL_FTP='$DEFAULT_wxUSE_PROTOCOL_FTP
4258 eval "$ac_cv_use_ftp"
4259 if test "$no_cache" != 1; then
4260 echo $ac_cv_use_ftp >> ${wx_arg_cache_file}.tmp
4263 if test "$wxUSE_PROTOCOL_FTP" = yes; then
4264 echo "$as_me:$LINENO: result: yes" >&5
4265 echo "${ECHO_T}yes" >&6
4267 echo "$as_me:$LINENO: result: no" >&5
4268 echo "${ECHO_T}no" >&6
4273 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-http" >&5
4274 echo $ECHO_N "checking for --${enablestring:-enable}-http... $ECHO_C" >&6
4276 # Check whether --enable-http or --disable-http was given.
4277 if test "${enable_http+set}" = set; then
4278 enableval
="$enable_http"
4280 if test "$enableval" = yes; then
4281 ac_cv_use_http
='wxUSE_PROTOCOL_HTTP=yes'
4283 ac_cv_use_http
='wxUSE_PROTOCOL_HTTP=no'
4288 LINE
=`grep "wxUSE_PROTOCOL_HTTP" ${wx_arg_cache_file}`
4289 if test "x$LINE" != x
; then
4290 eval "DEFAULT_$LINE"
4295 ac_cv_use_http
='wxUSE_PROTOCOL_HTTP='$DEFAULT_wxUSE_PROTOCOL_HTTP
4299 eval "$ac_cv_use_http"
4300 if test "$no_cache" != 1; then
4301 echo $ac_cv_use_http >> ${wx_arg_cache_file}.tmp
4304 if test "$wxUSE_PROTOCOL_HTTP" = yes; then
4305 echo "$as_me:$LINENO: result: yes" >&5
4306 echo "${ECHO_T}yes" >&6
4308 echo "$as_me:$LINENO: result: no" >&5
4309 echo "${ECHO_T}no" >&6
4314 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fileproto" >&5
4315 echo $ECHO_N "checking for --${enablestring:-enable}-fileproto... $ECHO_C" >&6
4317 # Check whether --enable-fileproto or --disable-fileproto was given.
4318 if test "${enable_fileproto+set}" = set; then
4319 enableval
="$enable_fileproto"
4321 if test "$enableval" = yes; then
4322 ac_cv_use_fileproto
='wxUSE_PROTOCOL_FILE=yes'
4324 ac_cv_use_fileproto
='wxUSE_PROTOCOL_FILE=no'
4329 LINE
=`grep "wxUSE_PROTOCOL_FILE" ${wx_arg_cache_file}`
4330 if test "x$LINE" != x
; then
4331 eval "DEFAULT_$LINE"
4336 ac_cv_use_fileproto
='wxUSE_PROTOCOL_FILE='$DEFAULT_wxUSE_PROTOCOL_FILE
4340 eval "$ac_cv_use_fileproto"
4341 if test "$no_cache" != 1; then
4342 echo $ac_cv_use_fileproto >> ${wx_arg_cache_file}.tmp
4345 if test "$wxUSE_PROTOCOL_FILE" = yes; then
4346 echo "$as_me:$LINENO: result: yes" >&5
4347 echo "${ECHO_T}yes" >&6
4349 echo "$as_me:$LINENO: result: no" >&5
4350 echo "${ECHO_T}no" >&6
4355 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sockets" >&5
4356 echo $ECHO_N "checking for --${enablestring:-enable}-sockets... $ECHO_C" >&6
4358 # Check whether --enable-sockets or --disable-sockets was given.
4359 if test "${enable_sockets+set}" = set; then
4360 enableval
="$enable_sockets"
4362 if test "$enableval" = yes; then
4363 ac_cv_use_sockets
='wxUSE_SOCKETS=yes'
4365 ac_cv_use_sockets
='wxUSE_SOCKETS=no'
4370 LINE
=`grep "wxUSE_SOCKETS" ${wx_arg_cache_file}`
4371 if test "x$LINE" != x
; then
4372 eval "DEFAULT_$LINE"
4377 ac_cv_use_sockets
='wxUSE_SOCKETS='$DEFAULT_wxUSE_SOCKETS
4381 eval "$ac_cv_use_sockets"
4382 if test "$no_cache" != 1; then
4383 echo $ac_cv_use_sockets >> ${wx_arg_cache_file}.tmp
4386 if test "$wxUSE_SOCKETS" = yes; then
4387 echo "$as_me:$LINENO: result: yes" >&5
4388 echo "${ECHO_T}yes" >&6
4390 echo "$as_me:$LINENO: result: no" >&5
4391 echo "${ECHO_T}no" >&6
4396 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ole" >&5
4397 echo $ECHO_N "checking for --${enablestring:-enable}-ole... $ECHO_C" >&6
4399 # Check whether --enable-ole or --disable-ole was given.
4400 if test "${enable_ole+set}" = set; then
4401 enableval
="$enable_ole"
4403 if test "$enableval" = yes; then
4404 ac_cv_use_ole
='wxUSE_OLE=yes'
4406 ac_cv_use_ole
='wxUSE_OLE=no'
4411 LINE
=`grep "wxUSE_OLE" ${wx_arg_cache_file}`
4412 if test "x$LINE" != x
; then
4413 eval "DEFAULT_$LINE"
4418 ac_cv_use_ole
='wxUSE_OLE='$DEFAULT_wxUSE_OLE
4422 eval "$ac_cv_use_ole"
4423 if test "$no_cache" != 1; then
4424 echo $ac_cv_use_ole >> ${wx_arg_cache_file}.tmp
4427 if test "$wxUSE_OLE" = yes; then
4428 echo "$as_me:$LINENO: result: yes" >&5
4429 echo "${ECHO_T}yes" >&6
4431 echo "$as_me:$LINENO: result: no" >&5
4432 echo "${ECHO_T}no" >&6
4437 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dataobj" >&5
4438 echo $ECHO_N "checking for --${enablestring:-enable}-dataobj... $ECHO_C" >&6
4440 # Check whether --enable-dataobj or --disable-dataobj was given.
4441 if test "${enable_dataobj+set}" = set; then
4442 enableval
="$enable_dataobj"
4444 if test "$enableval" = yes; then
4445 ac_cv_use_dataobj
='wxUSE_DATAOBJ=yes'
4447 ac_cv_use_dataobj
='wxUSE_DATAOBJ=no'
4452 LINE
=`grep "wxUSE_DATAOBJ" ${wx_arg_cache_file}`
4453 if test "x$LINE" != x
; then
4454 eval "DEFAULT_$LINE"
4459 ac_cv_use_dataobj
='wxUSE_DATAOBJ='$DEFAULT_wxUSE_DATAOBJ
4463 eval "$ac_cv_use_dataobj"
4464 if test "$no_cache" != 1; then
4465 echo $ac_cv_use_dataobj >> ${wx_arg_cache_file}.tmp
4468 if test "$wxUSE_DATAOBJ" = yes; then
4469 echo "$as_me:$LINENO: result: yes" >&5
4470 echo "${ECHO_T}yes" >&6
4472 echo "$as_me:$LINENO: result: no" >&5
4473 echo "${ECHO_T}no" >&6
4479 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ipc" >&5
4480 echo $ECHO_N "checking for --${enablestring:-enable}-ipc... $ECHO_C" >&6
4482 # Check whether --enable-ipc or --disable-ipc was given.
4483 if test "${enable_ipc+set}" = set; then
4484 enableval
="$enable_ipc"
4486 if test "$enableval" = yes; then
4487 ac_cv_use_ipc
='wxUSE_IPC=yes'
4489 ac_cv_use_ipc
='wxUSE_IPC=no'
4494 LINE
=`grep "wxUSE_IPC" ${wx_arg_cache_file}`
4495 if test "x$LINE" != x
; then
4496 eval "DEFAULT_$LINE"
4501 ac_cv_use_ipc
='wxUSE_IPC='$DEFAULT_wxUSE_IPC
4505 eval "$ac_cv_use_ipc"
4506 if test "$no_cache" != 1; then
4507 echo $ac_cv_use_ipc >> ${wx_arg_cache_file}.tmp
4510 if test "$wxUSE_IPC" = yes; then
4511 echo "$as_me:$LINENO: result: yes" >&5
4512 echo "${ECHO_T}yes" >&6
4514 echo "$as_me:$LINENO: result: no" >&5
4515 echo "${ECHO_T}no" >&6
4521 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-apple_ieee" >&5
4522 echo $ECHO_N "checking for --${enablestring:-enable}-apple_ieee... $ECHO_C" >&6
4524 # Check whether --enable-apple_ieee or --disable-apple_ieee was given.
4525 if test "${enable_apple_ieee+set}" = set; then
4526 enableval
="$enable_apple_ieee"
4528 if test "$enableval" = yes; then
4529 ac_cv_use_apple_ieee
='wxUSE_APPLE_IEEE=yes'
4531 ac_cv_use_apple_ieee
='wxUSE_APPLE_IEEE=no'
4536 LINE
=`grep "wxUSE_APPLE_IEEE" ${wx_arg_cache_file}`
4537 if test "x$LINE" != x
; then
4538 eval "DEFAULT_$LINE"
4543 ac_cv_use_apple_ieee
='wxUSE_APPLE_IEEE='$DEFAULT_wxUSE_APPLE_IEEE
4547 eval "$ac_cv_use_apple_ieee"
4548 if test "$no_cache" != 1; then
4549 echo $ac_cv_use_apple_ieee >> ${wx_arg_cache_file}.tmp
4552 if test "$wxUSE_APPLE_IEEE" = yes; then
4553 echo "$as_me:$LINENO: result: yes" >&5
4554 echo "${ECHO_T}yes" >&6
4556 echo "$as_me:$LINENO: result: no" >&5
4557 echo "${ECHO_T}no" >&6
4562 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-catch_segvs" >&5
4563 echo $ECHO_N "checking for --${enablestring:-enable}-catch_segvs... $ECHO_C" >&6
4565 # Check whether --enable-catch_segvs or --disable-catch_segvs was given.
4566 if test "${enable_catch_segvs+set}" = set; then
4567 enableval
="$enable_catch_segvs"
4569 if test "$enableval" = yes; then
4570 ac_cv_use_catch_segvs
='wxUSE_ON_FATAL_EXCEPTION=yes'
4572 ac_cv_use_catch_segvs
='wxUSE_ON_FATAL_EXCEPTION=no'
4577 LINE
=`grep "wxUSE_ON_FATAL_EXCEPTION" ${wx_arg_cache_file}`
4578 if test "x$LINE" != x
; then
4579 eval "DEFAULT_$LINE"
4584 ac_cv_use_catch_segvs
='wxUSE_ON_FATAL_EXCEPTION='$DEFAULT_wxUSE_ON_FATAL_EXCEPTION
4588 eval "$ac_cv_use_catch_segvs"
4589 if test "$no_cache" != 1; then
4590 echo $ac_cv_use_catch_segvs >> ${wx_arg_cache_file}.tmp
4593 if test "$wxUSE_ON_FATAL_EXCEPTION" = yes; then
4594 echo "$as_me:$LINENO: result: yes" >&5
4595 echo "${ECHO_T}yes" >&6
4597 echo "$as_me:$LINENO: result: no" >&5
4598 echo "${ECHO_T}no" >&6
4603 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-cmdline" >&5
4604 echo $ECHO_N "checking for --${enablestring:-enable}-cmdline... $ECHO_C" >&6
4606 # Check whether --enable-cmdline or --disable-cmdline was given.
4607 if test "${enable_cmdline+set}" = set; then
4608 enableval
="$enable_cmdline"
4610 if test "$enableval" = yes; then
4611 ac_cv_use_cmdline
='wxUSE_CMDLINE_PARSER=yes'
4613 ac_cv_use_cmdline
='wxUSE_CMDLINE_PARSER=no'
4618 LINE
=`grep "wxUSE_CMDLINE_PARSER" ${wx_arg_cache_file}`
4619 if test "x$LINE" != x
; then
4620 eval "DEFAULT_$LINE"
4625 ac_cv_use_cmdline
='wxUSE_CMDLINE_PARSER='$DEFAULT_wxUSE_CMDLINE_PARSER
4629 eval "$ac_cv_use_cmdline"
4630 if test "$no_cache" != 1; then
4631 echo $ac_cv_use_cmdline >> ${wx_arg_cache_file}.tmp
4634 if test "$wxUSE_CMDLINE_PARSER" = yes; then
4635 echo "$as_me:$LINENO: result: yes" >&5
4636 echo "${ECHO_T}yes" >&6
4638 echo "$as_me:$LINENO: result: no" >&5
4639 echo "${ECHO_T}no" >&6
4644 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-datetime" >&5
4645 echo $ECHO_N "checking for --${enablestring:-enable}-datetime... $ECHO_C" >&6
4647 # Check whether --enable-datetime or --disable-datetime was given.
4648 if test "${enable_datetime+set}" = set; then
4649 enableval
="$enable_datetime"
4651 if test "$enableval" = yes; then
4652 ac_cv_use_datetime
='wxUSE_DATETIME=yes'
4654 ac_cv_use_datetime
='wxUSE_DATETIME=no'
4659 LINE
=`grep "wxUSE_DATETIME" ${wx_arg_cache_file}`
4660 if test "x$LINE" != x
; then
4661 eval "DEFAULT_$LINE"
4666 ac_cv_use_datetime
='wxUSE_DATETIME='$DEFAULT_wxUSE_DATETIME
4670 eval "$ac_cv_use_datetime"
4671 if test "$no_cache" != 1; then
4672 echo $ac_cv_use_datetime >> ${wx_arg_cache_file}.tmp
4675 if test "$wxUSE_DATETIME" = yes; then
4676 echo "$as_me:$LINENO: result: yes" >&5
4677 echo "${ECHO_T}yes" >&6
4679 echo "$as_me:$LINENO: result: no" >&5
4680 echo "${ECHO_T}no" >&6
4685 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dialupman" >&5
4686 echo $ECHO_N "checking for --${enablestring:-enable}-dialupman... $ECHO_C" >&6
4688 # Check whether --enable-dialupman or --disable-dialupman was given.
4689 if test "${enable_dialupman+set}" = set; then
4690 enableval
="$enable_dialupman"
4692 if test "$enableval" = yes; then
4693 ac_cv_use_dialupman
='wxUSE_DIALUP_MANAGER=yes'
4695 ac_cv_use_dialupman
='wxUSE_DIALUP_MANAGER=no'
4700 LINE
=`grep "wxUSE_DIALUP_MANAGER" ${wx_arg_cache_file}`
4701 if test "x$LINE" != x
; then
4702 eval "DEFAULT_$LINE"
4707 ac_cv_use_dialupman
='wxUSE_DIALUP_MANAGER='$DEFAULT_wxUSE_DIALUP_MANAGER
4711 eval "$ac_cv_use_dialupman"
4712 if test "$no_cache" != 1; then
4713 echo $ac_cv_use_dialupman >> ${wx_arg_cache_file}.tmp
4716 if test "$wxUSE_DIALUP_MANAGER" = yes; then
4717 echo "$as_me:$LINENO: result: yes" >&5
4718 echo "${ECHO_T}yes" >&6
4720 echo "$as_me:$LINENO: result: no" >&5
4721 echo "${ECHO_T}no" >&6
4726 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dynlib" >&5
4727 echo $ECHO_N "checking for --${enablestring:-enable}-dynlib... $ECHO_C" >&6
4729 # Check whether --enable-dynlib or --disable-dynlib was given.
4730 if test "${enable_dynlib+set}" = set; then
4731 enableval
="$enable_dynlib"
4733 if test "$enableval" = yes; then
4734 ac_cv_use_dynlib
='wxUSE_DYNLIB_CLASS=yes'
4736 ac_cv_use_dynlib
='wxUSE_DYNLIB_CLASS=no'
4741 LINE
=`grep "wxUSE_DYNLIB_CLASS" ${wx_arg_cache_file}`
4742 if test "x$LINE" != x
; then
4743 eval "DEFAULT_$LINE"
4748 ac_cv_use_dynlib
='wxUSE_DYNLIB_CLASS='$DEFAULT_wxUSE_DYNLIB_CLASS
4752 eval "$ac_cv_use_dynlib"
4753 if test "$no_cache" != 1; then
4754 echo $ac_cv_use_dynlib >> ${wx_arg_cache_file}.tmp
4757 if test "$wxUSE_DYNLIB_CLASS" = yes; then
4758 echo "$as_me:$LINENO: result: yes" >&5
4759 echo "${ECHO_T}yes" >&6
4761 echo "$as_me:$LINENO: result: no" >&5
4762 echo "${ECHO_T}no" >&6
4767 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dynamicloader" >&5
4768 echo $ECHO_N "checking for --${enablestring:-enable}-dynamicloader... $ECHO_C" >&6
4770 # Check whether --enable-dynamicloader or --disable-dynamicloader was given.
4771 if test "${enable_dynamicloader+set}" = set; then
4772 enableval
="$enable_dynamicloader"
4774 if test "$enableval" = yes; then
4775 ac_cv_use_dynamicloader
='wxUSE_DYNAMIC_LOADER=yes'
4777 ac_cv_use_dynamicloader
='wxUSE_DYNAMIC_LOADER=no'
4782 LINE
=`grep "wxUSE_DYNAMIC_LOADER" ${wx_arg_cache_file}`
4783 if test "x$LINE" != x
; then
4784 eval "DEFAULT_$LINE"
4789 ac_cv_use_dynamicloader
='wxUSE_DYNAMIC_LOADER='$DEFAULT_wxUSE_DYNAMIC_LOADER
4793 eval "$ac_cv_use_dynamicloader"
4794 if test "$no_cache" != 1; then
4795 echo $ac_cv_use_dynamicloader >> ${wx_arg_cache_file}.tmp
4798 if test "$wxUSE_DYNAMIC_LOADER" = yes; then
4799 echo "$as_me:$LINENO: result: yes" >&5
4800 echo "${ECHO_T}yes" >&6
4802 echo "$as_me:$LINENO: result: no" >&5
4803 echo "${ECHO_T}no" >&6
4808 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-exceptions" >&5
4809 echo $ECHO_N "checking for --${enablestring:-enable}-exceptions... $ECHO_C" >&6
4811 # Check whether --enable-exceptions or --disable-exceptions was given.
4812 if test "${enable_exceptions+set}" = set; then
4813 enableval
="$enable_exceptions"
4815 if test "$enableval" = yes; then
4816 ac_cv_use_exceptions
='wxUSE_EXCEPTIONS=yes'
4818 ac_cv_use_exceptions
='wxUSE_EXCEPTIONS=no'
4823 LINE
=`grep "wxUSE_EXCEPTIONS" ${wx_arg_cache_file}`
4824 if test "x$LINE" != x
; then
4825 eval "DEFAULT_$LINE"
4830 ac_cv_use_exceptions
='wxUSE_EXCEPTIONS='$DEFAULT_wxUSE_EXCEPTIONS
4834 eval "$ac_cv_use_exceptions"
4835 if test "$no_cache" != 1; then
4836 echo $ac_cv_use_exceptions >> ${wx_arg_cache_file}.tmp
4839 if test "$wxUSE_EXCEPTIONS" = yes; then
4840 echo "$as_me:$LINENO: result: yes" >&5
4841 echo "${ECHO_T}yes" >&6
4843 echo "$as_me:$LINENO: result: no" >&5
4844 echo "${ECHO_T}no" >&6
4849 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ffile" >&5
4850 echo $ECHO_N "checking for --${enablestring:-enable}-ffile... $ECHO_C" >&6
4852 # Check whether --enable-ffile or --disable-ffile was given.
4853 if test "${enable_ffile+set}" = set; then
4854 enableval
="$enable_ffile"
4856 if test "$enableval" = yes; then
4857 ac_cv_use_ffile
='wxUSE_FFILE=yes'
4859 ac_cv_use_ffile
='wxUSE_FFILE=no'
4864 LINE
=`grep "wxUSE_FFILE" ${wx_arg_cache_file}`
4865 if test "x$LINE" != x
; then
4866 eval "DEFAULT_$LINE"
4871 ac_cv_use_ffile
='wxUSE_FFILE='$DEFAULT_wxUSE_FFILE
4875 eval "$ac_cv_use_ffile"
4876 if test "$no_cache" != 1; then
4877 echo $ac_cv_use_ffile >> ${wx_arg_cache_file}.tmp
4880 if test "$wxUSE_FFILE" = yes; then
4881 echo "$as_me:$LINENO: result: yes" >&5
4882 echo "${ECHO_T}yes" >&6
4884 echo "$as_me:$LINENO: result: no" >&5
4885 echo "${ECHO_T}no" >&6
4890 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-file" >&5
4891 echo $ECHO_N "checking for --${enablestring:-enable}-file... $ECHO_C" >&6
4893 # Check whether --enable-file or --disable-file was given.
4894 if test "${enable_file+set}" = set; then
4895 enableval
="$enable_file"
4897 if test "$enableval" = yes; then
4898 ac_cv_use_file
='wxUSE_FILE=yes'
4900 ac_cv_use_file
='wxUSE_FILE=no'
4905 LINE
=`grep "wxUSE_FILE" ${wx_arg_cache_file}`
4906 if test "x$LINE" != x
; then
4907 eval "DEFAULT_$LINE"
4912 ac_cv_use_file
='wxUSE_FILE='$DEFAULT_wxUSE_FILE
4916 eval "$ac_cv_use_file"
4917 if test "$no_cache" != 1; then
4918 echo $ac_cv_use_file >> ${wx_arg_cache_file}.tmp
4921 if test "$wxUSE_FILE" = yes; then
4922 echo "$as_me:$LINENO: result: yes" >&5
4923 echo "${ECHO_T}yes" >&6
4925 echo "$as_me:$LINENO: result: no" >&5
4926 echo "${ECHO_T}no" >&6
4931 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filesystem" >&5
4932 echo $ECHO_N "checking for --${enablestring:-enable}-filesystem... $ECHO_C" >&6
4934 # Check whether --enable-filesystem or --disable-filesystem was given.
4935 if test "${enable_filesystem+set}" = set; then
4936 enableval
="$enable_filesystem"
4938 if test "$enableval" = yes; then
4939 ac_cv_use_filesystem
='wxUSE_FILESYSTEM=yes'
4941 ac_cv_use_filesystem
='wxUSE_FILESYSTEM=no'
4946 LINE
=`grep "wxUSE_FILESYSTEM" ${wx_arg_cache_file}`
4947 if test "x$LINE" != x
; then
4948 eval "DEFAULT_$LINE"
4953 ac_cv_use_filesystem
='wxUSE_FILESYSTEM='$DEFAULT_wxUSE_FILESYSTEM
4957 eval "$ac_cv_use_filesystem"
4958 if test "$no_cache" != 1; then
4959 echo $ac_cv_use_filesystem >> ${wx_arg_cache_file}.tmp
4962 if test "$wxUSE_FILESYSTEM" = yes; then
4963 echo "$as_me:$LINENO: result: yes" >&5
4964 echo "${ECHO_T}yes" >&6
4966 echo "$as_me:$LINENO: result: no" >&5
4967 echo "${ECHO_T}no" >&6
4972 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontmap" >&5
4973 echo $ECHO_N "checking for --${enablestring:-enable}-fontmap... $ECHO_C" >&6
4975 # Check whether --enable-fontmap or --disable-fontmap was given.
4976 if test "${enable_fontmap+set}" = set; then
4977 enableval
="$enable_fontmap"
4979 if test "$enableval" = yes; then
4980 ac_cv_use_fontmap
='wxUSE_FONTMAP=yes'
4982 ac_cv_use_fontmap
='wxUSE_FONTMAP=no'
4987 LINE
=`grep "wxUSE_FONTMAP" ${wx_arg_cache_file}`
4988 if test "x$LINE" != x
; then
4989 eval "DEFAULT_$LINE"
4994 ac_cv_use_fontmap
='wxUSE_FONTMAP='$DEFAULT_wxUSE_FONTMAP
4998 eval "$ac_cv_use_fontmap"
4999 if test "$no_cache" != 1; then
5000 echo $ac_cv_use_fontmap >> ${wx_arg_cache_file}.tmp
5003 if test "$wxUSE_FONTMAP" = yes; then
5004 echo "$as_me:$LINENO: result: yes" >&5
5005 echo "${ECHO_T}yes" >&6
5007 echo "$as_me:$LINENO: result: no" >&5
5008 echo "${ECHO_T}no" >&6
5013 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_inet" >&5
5014 echo $ECHO_N "checking for --${enablestring:-enable}-fs_inet... $ECHO_C" >&6
5016 # Check whether --enable-fs_inet or --disable-fs_inet was given.
5017 if test "${enable_fs_inet+set}" = set; then
5018 enableval
="$enable_fs_inet"
5020 if test "$enableval" = yes; then
5021 ac_cv_use_fs_inet
='wxUSE_FS_INET=yes'
5023 ac_cv_use_fs_inet
='wxUSE_FS_INET=no'
5028 LINE
=`grep "wxUSE_FS_INET" ${wx_arg_cache_file}`
5029 if test "x$LINE" != x
; then
5030 eval "DEFAULT_$LINE"
5035 ac_cv_use_fs_inet
='wxUSE_FS_INET='$DEFAULT_wxUSE_FS_INET
5039 eval "$ac_cv_use_fs_inet"
5040 if test "$no_cache" != 1; then
5041 echo $ac_cv_use_fs_inet >> ${wx_arg_cache_file}.tmp
5044 if test "$wxUSE_FS_INET" = yes; then
5045 echo "$as_me:$LINENO: result: yes" >&5
5046 echo "${ECHO_T}yes" >&6
5048 echo "$as_me:$LINENO: result: no" >&5
5049 echo "${ECHO_T}no" >&6
5054 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_zip" >&5
5055 echo $ECHO_N "checking for --${enablestring:-enable}-fs_zip... $ECHO_C" >&6
5057 # Check whether --enable-fs_zip or --disable-fs_zip was given.
5058 if test "${enable_fs_zip+set}" = set; then
5059 enableval
="$enable_fs_zip"
5061 if test "$enableval" = yes; then
5062 ac_cv_use_fs_zip
='wxUSE_FS_ZIP=yes'
5064 ac_cv_use_fs_zip
='wxUSE_FS_ZIP=no'
5069 LINE
=`grep "wxUSE_FS_ZIP" ${wx_arg_cache_file}`
5070 if test "x$LINE" != x
; then
5071 eval "DEFAULT_$LINE"
5076 ac_cv_use_fs_zip
='wxUSE_FS_ZIP='$DEFAULT_wxUSE_FS_ZIP
5080 eval "$ac_cv_use_fs_zip"
5081 if test "$no_cache" != 1; then
5082 echo $ac_cv_use_fs_zip >> ${wx_arg_cache_file}.tmp
5085 if test "$wxUSE_FS_ZIP" = yes; then
5086 echo "$as_me:$LINENO: result: yes" >&5
5087 echo "${ECHO_T}yes" >&6
5089 echo "$as_me:$LINENO: result: no" >&5
5090 echo "${ECHO_T}no" >&6
5095 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-geometry" >&5
5096 echo $ECHO_N "checking for --${enablestring:-enable}-geometry... $ECHO_C" >&6
5098 # Check whether --enable-geometry or --disable-geometry was given.
5099 if test "${enable_geometry+set}" = set; then
5100 enableval
="$enable_geometry"
5102 if test "$enableval" = yes; then
5103 ac_cv_use_geometry
='wxUSE_GEOMETRY=yes'
5105 ac_cv_use_geometry
='wxUSE_GEOMETRY=no'
5110 LINE
=`grep "wxUSE_GEOMETRY" ${wx_arg_cache_file}`
5111 if test "x$LINE" != x
; then
5112 eval "DEFAULT_$LINE"
5117 ac_cv_use_geometry
='wxUSE_GEOMETRY='$DEFAULT_wxUSE_GEOMETRY
5121 eval "$ac_cv_use_geometry"
5122 if test "$no_cache" != 1; then
5123 echo $ac_cv_use_geometry >> ${wx_arg_cache_file}.tmp
5126 if test "$wxUSE_GEOMETRY" = yes; then
5127 echo "$as_me:$LINENO: result: yes" >&5
5128 echo "${ECHO_T}yes" >&6
5130 echo "$as_me:$LINENO: result: no" >&5
5131 echo "${ECHO_T}no" >&6
5136 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-log" >&5
5137 echo $ECHO_N "checking for --${enablestring:-enable}-log... $ECHO_C" >&6
5139 # Check whether --enable-log or --disable-log was given.
5140 if test "${enable_log+set}" = set; then
5141 enableval
="$enable_log"
5143 if test "$enableval" = yes; then
5144 ac_cv_use_log
='wxUSE_LOG=yes'
5146 ac_cv_use_log
='wxUSE_LOG=no'
5151 LINE
=`grep "wxUSE_LOG" ${wx_arg_cache_file}`
5152 if test "x$LINE" != x
; then
5153 eval "DEFAULT_$LINE"
5158 ac_cv_use_log
='wxUSE_LOG='$DEFAULT_wxUSE_LOG
5162 eval "$ac_cv_use_log"
5163 if test "$no_cache" != 1; then
5164 echo $ac_cv_use_log >> ${wx_arg_cache_file}.tmp
5167 if test "$wxUSE_LOG" = yes; then
5168 echo "$as_me:$LINENO: result: yes" >&5
5169 echo "${ECHO_T}yes" >&6
5171 echo "$as_me:$LINENO: result: no" >&5
5172 echo "${ECHO_T}no" >&6
5177 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-longlong" >&5
5178 echo $ECHO_N "checking for --${enablestring:-enable}-longlong... $ECHO_C" >&6
5180 # Check whether --enable-longlong or --disable-longlong was given.
5181 if test "${enable_longlong+set}" = set; then
5182 enableval
="$enable_longlong"
5184 if test "$enableval" = yes; then
5185 ac_cv_use_longlong
='wxUSE_LONGLONG=yes'
5187 ac_cv_use_longlong
='wxUSE_LONGLONG=no'
5192 LINE
=`grep "wxUSE_LONGLONG" ${wx_arg_cache_file}`
5193 if test "x$LINE" != x
; then
5194 eval "DEFAULT_$LINE"
5199 ac_cv_use_longlong
='wxUSE_LONGLONG='$DEFAULT_wxUSE_LONGLONG
5203 eval "$ac_cv_use_longlong"
5204 if test "$no_cache" != 1; then
5205 echo $ac_cv_use_longlong >> ${wx_arg_cache_file}.tmp
5208 if test "$wxUSE_LONGLONG" = yes; then
5209 echo "$as_me:$LINENO: result: yes" >&5
5210 echo "${ECHO_T}yes" >&6
5212 echo "$as_me:$LINENO: result: no" >&5
5213 echo "${ECHO_T}no" >&6
5218 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mimetype" >&5
5219 echo $ECHO_N "checking for --${enablestring:-enable}-mimetype... $ECHO_C" >&6
5221 # Check whether --enable-mimetype or --disable-mimetype was given.
5222 if test "${enable_mimetype+set}" = set; then
5223 enableval
="$enable_mimetype"
5225 if test "$enableval" = yes; then
5226 ac_cv_use_mimetype
='wxUSE_MIMETYPE=yes'
5228 ac_cv_use_mimetype
='wxUSE_MIMETYPE=no'
5233 LINE
=`grep "wxUSE_MIMETYPE" ${wx_arg_cache_file}`
5234 if test "x$LINE" != x
; then
5235 eval "DEFAULT_$LINE"
5240 ac_cv_use_mimetype
='wxUSE_MIMETYPE='$DEFAULT_wxUSE_MIMETYPE
5244 eval "$ac_cv_use_mimetype"
5245 if test "$no_cache" != 1; then
5246 echo $ac_cv_use_mimetype >> ${wx_arg_cache_file}.tmp
5249 if test "$wxUSE_MIMETYPE" = yes; then
5250 echo "$as_me:$LINENO: result: yes" >&5
5251 echo "${ECHO_T}yes" >&6
5253 echo "$as_me:$LINENO: result: no" >&5
5254 echo "${ECHO_T}no" >&6
5259 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mslu" >&5
5260 echo $ECHO_N "checking for --${enablestring:-enable}-mslu... $ECHO_C" >&6
5262 # Check whether --enable-mslu or --disable-mslu was given.
5263 if test "${enable_mslu+set}" = set; then
5264 enableval
="$enable_mslu"
5266 if test "$enableval" = yes; then
5267 ac_cv_use_mslu
='wxUSE_UNICODE_MSLU=yes'
5269 ac_cv_use_mslu
='wxUSE_UNICODE_MSLU=no'
5274 LINE
=`grep "wxUSE_UNICODE_MSLU" ${wx_arg_cache_file}`
5275 if test "x$LINE" != x
; then
5276 eval "DEFAULT_$LINE"
5281 ac_cv_use_mslu
='wxUSE_UNICODE_MSLU='$DEFAULT_wxUSE_UNICODE_MSLU
5285 eval "$ac_cv_use_mslu"
5286 if test "$no_cache" != 1; then
5287 echo $ac_cv_use_mslu >> ${wx_arg_cache_file}.tmp
5290 if test "$wxUSE_UNICODE_MSLU" = yes; then
5291 echo "$as_me:$LINENO: result: yes" >&5
5292 echo "${ECHO_T}yes" >&6
5294 echo "$as_me:$LINENO: result: no" >&5
5295 echo "${ECHO_T}no" >&6
5300 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-snglinst" >&5
5301 echo $ECHO_N "checking for --${enablestring:-enable}-snglinst... $ECHO_C" >&6
5303 # Check whether --enable-snglinst or --disable-snglinst was given.
5304 if test "${enable_snglinst+set}" = set; then
5305 enableval
="$enable_snglinst"
5307 if test "$enableval" = yes; then
5308 ac_cv_use_snglinst
='wxUSE_SNGLINST_CHECKER=yes'
5310 ac_cv_use_snglinst
='wxUSE_SNGLINST_CHECKER=no'
5315 LINE
=`grep "wxUSE_SNGLINST_CHECKER" ${wx_arg_cache_file}`
5316 if test "x$LINE" != x
; then
5317 eval "DEFAULT_$LINE"
5322 ac_cv_use_snglinst
='wxUSE_SNGLINST_CHECKER='$DEFAULT_wxUSE_SNGLINST_CHECKER
5326 eval "$ac_cv_use_snglinst"
5327 if test "$no_cache" != 1; then
5328 echo $ac_cv_use_snglinst >> ${wx_arg_cache_file}.tmp
5331 if test "$wxUSE_SNGLINST_CHECKER" = yes; then
5332 echo "$as_me:$LINENO: result: yes" >&5
5333 echo "${ECHO_T}yes" >&6
5335 echo "$as_me:$LINENO: result: no" >&5
5336 echo "${ECHO_T}no" >&6
5341 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-streams" >&5
5342 echo $ECHO_N "checking for --${enablestring:-enable}-streams... $ECHO_C" >&6
5344 # Check whether --enable-streams or --disable-streams was given.
5345 if test "${enable_streams+set}" = set; then
5346 enableval
="$enable_streams"
5348 if test "$enableval" = yes; then
5349 ac_cv_use_streams
='wxUSE_STREAMS=yes'
5351 ac_cv_use_streams
='wxUSE_STREAMS=no'
5356 LINE
=`grep "wxUSE_STREAMS" ${wx_arg_cache_file}`
5357 if test "x$LINE" != x
; then
5358 eval "DEFAULT_$LINE"
5363 ac_cv_use_streams
='wxUSE_STREAMS='$DEFAULT_wxUSE_STREAMS
5367 eval "$ac_cv_use_streams"
5368 if test "$no_cache" != 1; then
5369 echo $ac_cv_use_streams >> ${wx_arg_cache_file}.tmp
5372 if test "$wxUSE_STREAMS" = yes; then
5373 echo "$as_me:$LINENO: result: yes" >&5
5374 echo "${ECHO_T}yes" >&6
5376 echo "$as_me:$LINENO: result: no" >&5
5377 echo "${ECHO_T}no" >&6
5382 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-std_iostreams" >&5
5383 echo $ECHO_N "checking for --${enablestring:-enable}-std_iostreams... $ECHO_C" >&6
5385 # Check whether --enable-std_iostreams or --disable-std_iostreams was given.
5386 if test "${enable_std_iostreams+set}" = set; then
5387 enableval
="$enable_std_iostreams"
5389 if test "$enableval" = yes; then
5390 ac_cv_use_std_iostreams
='wxUSE_STD_IOSTREAM=yes'
5392 ac_cv_use_std_iostreams
='wxUSE_STD_IOSTREAM=no'
5397 LINE
=`grep "wxUSE_STD_IOSTREAM" ${wx_arg_cache_file}`
5398 if test "x$LINE" != x
; then
5399 eval "DEFAULT_$LINE"
5404 ac_cv_use_std_iostreams
='wxUSE_STD_IOSTREAM='$DEFAULT_wxUSE_STD_IOSTREAM
5408 eval "$ac_cv_use_std_iostreams"
5409 if test "$no_cache" != 1; then
5410 echo $ac_cv_use_std_iostreams >> ${wx_arg_cache_file}.tmp
5413 if test "$wxUSE_STD_IOSTREAM" = yes; then
5414 echo "$as_me:$LINENO: result: yes" >&5
5415 echo "${ECHO_T}yes" >&6
5417 echo "$as_me:$LINENO: result: no" >&5
5418 echo "${ECHO_T}no" >&6
5423 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stopwatch" >&5
5424 echo $ECHO_N "checking for --${enablestring:-enable}-stopwatch... $ECHO_C" >&6
5426 # Check whether --enable-stopwatch or --disable-stopwatch was given.
5427 if test "${enable_stopwatch+set}" = set; then
5428 enableval
="$enable_stopwatch"
5430 if test "$enableval" = yes; then
5431 ac_cv_use_stopwatch
='wxUSE_STOPWATCH=yes'
5433 ac_cv_use_stopwatch
='wxUSE_STOPWATCH=no'
5438 LINE
=`grep "wxUSE_STOPWATCH" ${wx_arg_cache_file}`
5439 if test "x$LINE" != x
; then
5440 eval "DEFAULT_$LINE"
5445 ac_cv_use_stopwatch
='wxUSE_STOPWATCH='$DEFAULT_wxUSE_STOPWATCH
5449 eval "$ac_cv_use_stopwatch"
5450 if test "$no_cache" != 1; then
5451 echo $ac_cv_use_stopwatch >> ${wx_arg_cache_file}.tmp
5454 if test "$wxUSE_STOPWATCH" = yes; then
5455 echo "$as_me:$LINENO: result: yes" >&5
5456 echo "${ECHO_T}yes" >&6
5458 echo "$as_me:$LINENO: result: no" >&5
5459 echo "${ECHO_T}no" >&6
5464 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-system_options" >&5
5465 echo $ECHO_N "checking for --${enablestring:-enable}-system_options... $ECHO_C" >&6
5467 # Check whether --enable-system_options or --disable-system_options was given.
5468 if test "${enable_system_options+set}" = set; then
5469 enableval
="$enable_system_options"
5471 if test "$enableval" = yes; then
5472 ac_cv_use_system_options
='wxUSE_SYSTEM_OPTIONS=yes'
5474 ac_cv_use_system_options
='wxUSE_SYSTEM_OPTIONS=no'
5479 LINE
=`grep "wxUSE_SYSTEM_OPTIONS" ${wx_arg_cache_file}`
5480 if test "x$LINE" != x
; then
5481 eval "DEFAULT_$LINE"
5486 ac_cv_use_system_options
='wxUSE_SYSTEM_OPTIONS='$DEFAULT_wxUSE_SYSTEM_OPTIONS
5490 eval "$ac_cv_use_system_options"
5491 if test "$no_cache" != 1; then
5492 echo $ac_cv_use_system_options >> ${wx_arg_cache_file}.tmp
5495 if test "$wxUSE_SYSTEM_OPTIONS" = yes; then
5496 echo "$as_me:$LINENO: result: yes" >&5
5497 echo "${ECHO_T}yes" >&6
5499 echo "$as_me:$LINENO: result: no" >&5
5500 echo "${ECHO_T}no" >&6
5505 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textbuf" >&5
5506 echo $ECHO_N "checking for --${enablestring:-enable}-textbuf... $ECHO_C" >&6
5508 # Check whether --enable-textbuf or --disable-textbuf was given.
5509 if test "${enable_textbuf+set}" = set; then
5510 enableval
="$enable_textbuf"
5512 if test "$enableval" = yes; then
5513 ac_cv_use_textbuf
='wxUSE_TEXTBUFFER=yes'
5515 ac_cv_use_textbuf
='wxUSE_TEXTBUFFER=no'
5520 LINE
=`grep "wxUSE_TEXTBUFFER" ${wx_arg_cache_file}`
5521 if test "x$LINE" != x
; then
5522 eval "DEFAULT_$LINE"
5527 ac_cv_use_textbuf
='wxUSE_TEXTBUFFER='$DEFAULT_wxUSE_TEXTBUFFER
5531 eval "$ac_cv_use_textbuf"
5532 if test "$no_cache" != 1; then
5533 echo $ac_cv_use_textbuf >> ${wx_arg_cache_file}.tmp
5536 if test "$wxUSE_TEXTBUFFER" = yes; then
5537 echo "$as_me:$LINENO: result: yes" >&5
5538 echo "${ECHO_T}yes" >&6
5540 echo "$as_me:$LINENO: result: no" >&5
5541 echo "${ECHO_T}no" >&6
5546 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textfile" >&5
5547 echo $ECHO_N "checking for --${enablestring:-enable}-textfile... $ECHO_C" >&6
5549 # Check whether --enable-textfile or --disable-textfile was given.
5550 if test "${enable_textfile+set}" = set; then
5551 enableval
="$enable_textfile"
5553 if test "$enableval" = yes; then
5554 ac_cv_use_textfile
='wxUSE_TEXTFILE=yes'
5556 ac_cv_use_textfile
='wxUSE_TEXTFILE=no'
5561 LINE
=`grep "wxUSE_TEXTFILE" ${wx_arg_cache_file}`
5562 if test "x$LINE" != x
; then
5563 eval "DEFAULT_$LINE"
5568 ac_cv_use_textfile
='wxUSE_TEXTFILE='$DEFAULT_wxUSE_TEXTFILE
5572 eval "$ac_cv_use_textfile"
5573 if test "$no_cache" != 1; then
5574 echo $ac_cv_use_textfile >> ${wx_arg_cache_file}.tmp
5577 if test "$wxUSE_TEXTFILE" = yes; then
5578 echo "$as_me:$LINENO: result: yes" >&5
5579 echo "${ECHO_T}yes" >&6
5581 echo "$as_me:$LINENO: result: no" >&5
5582 echo "${ECHO_T}no" >&6
5587 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-timer" >&5
5588 echo $ECHO_N "checking for --${enablestring:-enable}-timer... $ECHO_C" >&6
5590 # Check whether --enable-timer or --disable-timer was given.
5591 if test "${enable_timer+set}" = set; then
5592 enableval
="$enable_timer"
5594 if test "$enableval" = yes; then
5595 ac_cv_use_timer
='wxUSE_TIMER=yes'
5597 ac_cv_use_timer
='wxUSE_TIMER=no'
5602 LINE
=`grep "wxUSE_TIMER" ${wx_arg_cache_file}`
5603 if test "x$LINE" != x
; then
5604 eval "DEFAULT_$LINE"
5609 ac_cv_use_timer
='wxUSE_TIMER='$DEFAULT_wxUSE_TIMER
5613 eval "$ac_cv_use_timer"
5614 if test "$no_cache" != 1; then
5615 echo $ac_cv_use_timer >> ${wx_arg_cache_file}.tmp
5618 if test "$wxUSE_TIMER" = yes; then
5619 echo "$as_me:$LINENO: result: yes" >&5
5620 echo "${ECHO_T}yes" >&6
5622 echo "$as_me:$LINENO: result: no" >&5
5623 echo "${ECHO_T}no" >&6
5628 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-unicode" >&5
5629 echo $ECHO_N "checking for --${enablestring:-enable}-unicode... $ECHO_C" >&6
5631 # Check whether --enable-unicode or --disable-unicode was given.
5632 if test "${enable_unicode+set}" = set; then
5633 enableval
="$enable_unicode"
5635 if test "$enableval" = yes; then
5636 ac_cv_use_unicode
='wxUSE_UNICODE=yes'
5638 ac_cv_use_unicode
='wxUSE_UNICODE=no'
5643 LINE
=`grep "wxUSE_UNICODE" ${wx_arg_cache_file}`
5644 if test "x$LINE" != x
; then
5645 eval "DEFAULT_$LINE"
5650 ac_cv_use_unicode
='wxUSE_UNICODE='$DEFAULT_wxUSE_UNICODE
5654 eval "$ac_cv_use_unicode"
5655 if test "$no_cache" != 1; then
5656 echo $ac_cv_use_unicode >> ${wx_arg_cache_file}.tmp
5659 if test "$wxUSE_UNICODE" = yes; then
5660 echo "$as_me:$LINENO: result: yes" >&5
5661 echo "${ECHO_T}yes" >&6
5663 echo "$as_me:$LINENO: result: no" >&5
5664 echo "${ECHO_T}no" >&6
5669 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sound" >&5
5670 echo $ECHO_N "checking for --${enablestring:-enable}-sound... $ECHO_C" >&6
5672 # Check whether --enable-sound or --disable-sound was given.
5673 if test "${enable_sound+set}" = set; then
5674 enableval
="$enable_sound"
5676 if test "$enableval" = yes; then
5677 ac_cv_use_sound
='wxUSE_SOUND=yes'
5679 ac_cv_use_sound
='wxUSE_SOUND=no'
5684 LINE
=`grep "wxUSE_SOUND" ${wx_arg_cache_file}`
5685 if test "x$LINE" != x
; then
5686 eval "DEFAULT_$LINE"
5691 ac_cv_use_sound
='wxUSE_SOUND='$DEFAULT_wxUSE_SOUND
5695 eval "$ac_cv_use_sound"
5696 if test "$no_cache" != 1; then
5697 echo $ac_cv_use_sound >> ${wx_arg_cache_file}.tmp
5700 if test "$wxUSE_SOUND" = yes; then
5701 echo "$as_me:$LINENO: result: yes" >&5
5702 echo "${ECHO_T}yes" >&6
5704 echo "$as_me:$LINENO: result: no" >&5
5705 echo "${ECHO_T}no" >&6
5710 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-wxprintfv" >&5
5711 echo $ECHO_N "checking for --${enablestring:-enable}-wxprintfv... $ECHO_C" >&6
5713 # Check whether --enable-wxprintfv or --disable-wxprintfv was given.
5714 if test "${enable_wxprintfv+set}" = set; then
5715 enableval
="$enable_wxprintfv"
5717 if test "$enableval" = yes; then
5718 ac_cv_use_wxprintfv
='wxUSE_EXPERIMENTAL_PRINTF=yes'
5720 ac_cv_use_wxprintfv
='wxUSE_EXPERIMENTAL_PRINTF=no'
5725 LINE
=`grep "wxUSE_EXPERIMENTAL_PRINTF" ${wx_arg_cache_file}`
5726 if test "x$LINE" != x
; then
5727 eval "DEFAULT_$LINE"
5732 ac_cv_use_wxprintfv
='wxUSE_EXPERIMENTAL_PRINTF='$DEFAULT_wxUSE_EXPERIMENTAL_PRINTF
5736 eval "$ac_cv_use_wxprintfv"
5737 if test "$no_cache" != 1; then
5738 echo $ac_cv_use_wxprintfv >> ${wx_arg_cache_file}.tmp
5741 if test "$wxUSE_EXPERIMENTAL_PRINTF" = yes; then
5742 echo "$as_me:$LINENO: result: yes" >&5
5743 echo "${ECHO_T}yes" >&6
5745 echo "$as_me:$LINENO: result: no" >&5
5746 echo "${ECHO_T}no" >&6
5751 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-zipstream" >&5
5752 echo $ECHO_N "checking for --${enablestring:-enable}-zipstream... $ECHO_C" >&6
5754 # Check whether --enable-zipstream or --disable-zipstream was given.
5755 if test "${enable_zipstream+set}" = set; then
5756 enableval
="$enable_zipstream"
5758 if test "$enableval" = yes; then
5759 ac_cv_use_zipstream
='wxUSE_ZIPSTREAM=yes'
5761 ac_cv_use_zipstream
='wxUSE_ZIPSTREAM=no'
5766 LINE
=`grep "wxUSE_ZIPSTREAM" ${wx_arg_cache_file}`
5767 if test "x$LINE" != x
; then
5768 eval "DEFAULT_$LINE"
5773 ac_cv_use_zipstream
='wxUSE_ZIPSTREAM='$DEFAULT_wxUSE_ZIPSTREAM
5777 eval "$ac_cv_use_zipstream"
5778 if test "$no_cache" != 1; then
5779 echo $ac_cv_use_zipstream >> ${wx_arg_cache_file}.tmp
5782 if test "$wxUSE_ZIPSTREAM" = yes; then
5783 echo "$as_me:$LINENO: result: yes" >&5
5784 echo "${ECHO_T}yes" >&6
5786 echo "$as_me:$LINENO: result: no" >&5
5787 echo "${ECHO_T}no" >&6
5792 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gzstream" >&5
5793 echo $ECHO_N "checking for --${enablestring:-enable}-gzstream... $ECHO_C" >&6
5795 # Check whether --enable-gzstream or --disable-gzstream was given.
5796 if test "${enable_gzstream+set}" = set; then
5797 enableval
="$enable_gzstream"
5799 if test "$enableval" = yes; then
5800 ac_cv_use_gzstream
='wxUSE_GZSTREAM=yes'
5802 ac_cv_use_gzstream
='wxUSE_GZSTREAM=no'
5807 LINE
=`grep "wxUSE_GZSTREAM" ${wx_arg_cache_file}`
5808 if test "x$LINE" != x
; then
5809 eval "DEFAULT_$LINE"
5814 ac_cv_use_gzstream
='wxUSE_GZSTREAM='$DEFAULT_wxUSE_GZSTREAM
5818 eval "$ac_cv_use_gzstream"
5819 if test "$no_cache" != 1; then
5820 echo $ac_cv_use_gzstream >> ${wx_arg_cache_file}.tmp
5823 if test "$wxUSE_GZSTREAM" = yes; then
5824 echo "$as_me:$LINENO: result: yes" >&5
5825 echo "${ECHO_T}yes" >&6
5827 echo "$as_me:$LINENO: result: no" >&5
5828 echo "${ECHO_T}no" >&6
5834 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-url" >&5
5835 echo $ECHO_N "checking for --${enablestring:-enable}-url... $ECHO_C" >&6
5837 # Check whether --enable-url or --disable-url was given.
5838 if test "${enable_url+set}" = set; then
5839 enableval
="$enable_url"
5841 if test "$enableval" = yes; then
5842 ac_cv_use_url
='wxUSE_URL=yes'
5844 ac_cv_use_url
='wxUSE_URL=no'
5849 LINE
=`grep "wxUSE_URL" ${wx_arg_cache_file}`
5850 if test "x$LINE" != x
; then
5851 eval "DEFAULT_$LINE"
5856 ac_cv_use_url
='wxUSE_URL='$DEFAULT_wxUSE_URL
5860 eval "$ac_cv_use_url"
5861 if test "$no_cache" != 1; then
5862 echo $ac_cv_use_url >> ${wx_arg_cache_file}.tmp
5865 if test "$wxUSE_URL" = yes; then
5866 echo "$as_me:$LINENO: result: yes" >&5
5867 echo "${ECHO_T}yes" >&6
5869 echo "$as_me:$LINENO: result: no" >&5
5870 echo "${ECHO_T}no" >&6
5875 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol" >&5
5876 echo $ECHO_N "checking for --${enablestring:-enable}-protocol... $ECHO_C" >&6
5878 # Check whether --enable-protocol or --disable-protocol was given.
5879 if test "${enable_protocol+set}" = set; then
5880 enableval
="$enable_protocol"
5882 if test "$enableval" = yes; then
5883 ac_cv_use_protocol
='wxUSE_PROTOCOL=yes'
5885 ac_cv_use_protocol
='wxUSE_PROTOCOL=no'
5890 LINE
=`grep "wxUSE_PROTOCOL" ${wx_arg_cache_file}`
5891 if test "x$LINE" != x
; then
5892 eval "DEFAULT_$LINE"
5897 ac_cv_use_protocol
='wxUSE_PROTOCOL='$DEFAULT_wxUSE_PROTOCOL
5901 eval "$ac_cv_use_protocol"
5902 if test "$no_cache" != 1; then
5903 echo $ac_cv_use_protocol >> ${wx_arg_cache_file}.tmp
5906 if test "$wxUSE_PROTOCOL" = yes; then
5907 echo "$as_me:$LINENO: result: yes" >&5
5908 echo "${ECHO_T}yes" >&6
5910 echo "$as_me:$LINENO: result: no" >&5
5911 echo "${ECHO_T}no" >&6
5916 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_http" >&5
5917 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_http... $ECHO_C" >&6
5919 # Check whether --enable-protocol_http or --disable-protocol_http was given.
5920 if test "${enable_protocol_http+set}" = set; then
5921 enableval
="$enable_protocol_http"
5923 if test "$enableval" = yes; then
5924 ac_cv_use_protocol_http
='wxUSE_PROTOCOL_HTTP=yes'
5926 ac_cv_use_protocol_http
='wxUSE_PROTOCOL_HTTP=no'
5931 LINE
=`grep "wxUSE_PROTOCOL_HTTP" ${wx_arg_cache_file}`
5932 if test "x$LINE" != x
; then
5933 eval "DEFAULT_$LINE"
5938 ac_cv_use_protocol_http
='wxUSE_PROTOCOL_HTTP='$DEFAULT_wxUSE_PROTOCOL_HTTP
5942 eval "$ac_cv_use_protocol_http"
5943 if test "$no_cache" != 1; then
5944 echo $ac_cv_use_protocol_http >> ${wx_arg_cache_file}.tmp
5947 if test "$wxUSE_PROTOCOL_HTTP" = yes; then
5948 echo "$as_me:$LINENO: result: yes" >&5
5949 echo "${ECHO_T}yes" >&6
5951 echo "$as_me:$LINENO: result: no" >&5
5952 echo "${ECHO_T}no" >&6
5957 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_ftp" >&5
5958 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_ftp... $ECHO_C" >&6
5960 # Check whether --enable-protocol_ftp or --disable-protocol_ftp was given.
5961 if test "${enable_protocol_ftp+set}" = set; then
5962 enableval
="$enable_protocol_ftp"
5964 if test "$enableval" = yes; then
5965 ac_cv_use_protocol_ftp
='wxUSE_PROTOCOL_FTP=yes'
5967 ac_cv_use_protocol_ftp
='wxUSE_PROTOCOL_FTP=no'
5972 LINE
=`grep "wxUSE_PROTOCOL_FTP" ${wx_arg_cache_file}`
5973 if test "x$LINE" != x
; then
5974 eval "DEFAULT_$LINE"
5979 ac_cv_use_protocol_ftp
='wxUSE_PROTOCOL_FTP='$DEFAULT_wxUSE_PROTOCOL_FTP
5983 eval "$ac_cv_use_protocol_ftp"
5984 if test "$no_cache" != 1; then
5985 echo $ac_cv_use_protocol_ftp >> ${wx_arg_cache_file}.tmp
5988 if test "$wxUSE_PROTOCOL_FTP" = yes; then
5989 echo "$as_me:$LINENO: result: yes" >&5
5990 echo "${ECHO_T}yes" >&6
5992 echo "$as_me:$LINENO: result: no" >&5
5993 echo "${ECHO_T}no" >&6
5998 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_file" >&5
5999 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_file... $ECHO_C" >&6
6001 # Check whether --enable-protocol_file or --disable-protocol_file was given.
6002 if test "${enable_protocol_file+set}" = set; then
6003 enableval
="$enable_protocol_file"
6005 if test "$enableval" = yes; then
6006 ac_cv_use_protocol_file
='wxUSE_PROTOCOL_FILE=yes'
6008 ac_cv_use_protocol_file
='wxUSE_PROTOCOL_FILE=no'
6013 LINE
=`grep "wxUSE_PROTOCOL_FILE" ${wx_arg_cache_file}`
6014 if test "x$LINE" != x
; then
6015 eval "DEFAULT_$LINE"
6020 ac_cv_use_protocol_file
='wxUSE_PROTOCOL_FILE='$DEFAULT_wxUSE_PROTOCOL_FILE
6024 eval "$ac_cv_use_protocol_file"
6025 if test "$no_cache" != 1; then
6026 echo $ac_cv_use_protocol_file >> ${wx_arg_cache_file}.tmp
6029 if test "$wxUSE_PROTOCOL_FILE" = yes; then
6030 echo "$as_me:$LINENO: result: yes" >&5
6031 echo "${ECHO_T}yes" >&6
6033 echo "$as_me:$LINENO: result: no" >&5
6034 echo "${ECHO_T}no" >&6
6042 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-threads" >&5
6043 echo $ECHO_N "checking for --${enablestring:-enable}-threads... $ECHO_C" >&6
6045 # Check whether --enable-threads or --disable-threads was given.
6046 if test "${enable_threads+set}" = set; then
6047 enableval
="$enable_threads"
6049 if test "$enableval" = yes; then
6050 ac_cv_use_threads
='wxUSE_THREADS=yes'
6052 ac_cv_use_threads
='wxUSE_THREADS=no'
6057 LINE
=`grep "wxUSE_THREADS" ${wx_arg_cache_file}`
6058 if test "x$LINE" != x
; then
6059 eval "DEFAULT_$LINE"
6064 ac_cv_use_threads
='wxUSE_THREADS='$DEFAULT_wxUSE_THREADS
6068 eval "$ac_cv_use_threads"
6069 if test "$no_cache" != 1; then
6070 echo $ac_cv_use_threads >> ${wx_arg_cache_file}.tmp
6073 if test "$wxUSE_THREADS" = yes; then
6074 echo "$as_me:$LINENO: result: yes" >&5
6075 echo "${ECHO_T}yes" >&6
6077 echo "$as_me:$LINENO: result: no" >&5
6078 echo "${ECHO_T}no" >&6
6082 if test "$wxUSE_GUI" = "yes"; then
6087 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-docview" >&5
6088 echo $ECHO_N "checking for --${enablestring:-enable}-docview... $ECHO_C" >&6
6090 # Check whether --enable-docview or --disable-docview was given.
6091 if test "${enable_docview+set}" = set; then
6092 enableval
="$enable_docview"
6094 if test "$enableval" = yes; then
6095 ac_cv_use_docview
='wxUSE_DOC_VIEW_ARCHITECTURE=yes'
6097 ac_cv_use_docview
='wxUSE_DOC_VIEW_ARCHITECTURE=no'
6102 LINE
=`grep "wxUSE_DOC_VIEW_ARCHITECTURE" ${wx_arg_cache_file}`
6103 if test "x$LINE" != x
; then
6104 eval "DEFAULT_$LINE"
6109 ac_cv_use_docview
='wxUSE_DOC_VIEW_ARCHITECTURE='$DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE
6113 eval "$ac_cv_use_docview"
6114 if test "$no_cache" != 1; then
6115 echo $ac_cv_use_docview >> ${wx_arg_cache_file}.tmp
6118 if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = yes; then
6119 echo "$as_me:$LINENO: result: yes" >&5
6120 echo "${ECHO_T}yes" >&6
6122 echo "$as_me:$LINENO: result: no" >&5
6123 echo "${ECHO_T}no" >&6
6128 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-help" >&5
6129 echo $ECHO_N "checking for --${enablestring:-enable}-help... $ECHO_C" >&6
6131 # Check whether --enable-help or --disable-help was given.
6132 if test "${enable_help+set}" = set; then
6133 enableval
="$enable_help"
6135 if test "$enableval" = yes; then
6136 ac_cv_use_help
='wxUSE_HELP=yes'
6138 ac_cv_use_help
='wxUSE_HELP=no'
6143 LINE
=`grep "wxUSE_HELP" ${wx_arg_cache_file}`
6144 if test "x$LINE" != x
; then
6145 eval "DEFAULT_$LINE"
6150 ac_cv_use_help
='wxUSE_HELP='$DEFAULT_wxUSE_HELP
6154 eval "$ac_cv_use_help"
6155 if test "$no_cache" != 1; then
6156 echo $ac_cv_use_help >> ${wx_arg_cache_file}.tmp
6159 if test "$wxUSE_HELP" = yes; then
6160 echo "$as_me:$LINENO: result: yes" >&5
6161 echo "${ECHO_T}yes" >&6
6163 echo "$as_me:$LINENO: result: no" >&5
6164 echo "${ECHO_T}no" >&6
6169 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mshtmlhelp" >&5
6170 echo $ECHO_N "checking for --${enablestring:-enable}-mshtmlhelp... $ECHO_C" >&6
6172 # Check whether --enable-mshtmlhelp or --disable-mshtmlhelp was given.
6173 if test "${enable_mshtmlhelp+set}" = set; then
6174 enableval
="$enable_mshtmlhelp"
6176 if test "$enableval" = yes; then
6177 ac_cv_use_mshtmlhelp
='wxUSE_MS_HTML_HELP=yes'
6179 ac_cv_use_mshtmlhelp
='wxUSE_MS_HTML_HELP=no'
6184 LINE
=`grep "wxUSE_MS_HTML_HELP" ${wx_arg_cache_file}`
6185 if test "x$LINE" != x
; then
6186 eval "DEFAULT_$LINE"
6191 ac_cv_use_mshtmlhelp
='wxUSE_MS_HTML_HELP='$DEFAULT_wxUSE_MS_HTML_HELP
6195 eval "$ac_cv_use_mshtmlhelp"
6196 if test "$no_cache" != 1; then
6197 echo $ac_cv_use_mshtmlhelp >> ${wx_arg_cache_file}.tmp
6200 if test "$wxUSE_MS_HTML_HELP" = yes; then
6201 echo "$as_me:$LINENO: result: yes" >&5
6202 echo "${ECHO_T}yes" >&6
6204 echo "$as_me:$LINENO: result: no" >&5
6205 echo "${ECHO_T}no" >&6
6210 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-html" >&5
6211 echo $ECHO_N "checking for --${enablestring:-enable}-html... $ECHO_C" >&6
6213 # Check whether --enable-html or --disable-html was given.
6214 if test "${enable_html+set}" = set; then
6215 enableval
="$enable_html"
6217 if test "$enableval" = yes; then
6218 ac_cv_use_html
='wxUSE_HTML=yes'
6220 ac_cv_use_html
='wxUSE_HTML=no'
6225 LINE
=`grep "wxUSE_HTML" ${wx_arg_cache_file}`
6226 if test "x$LINE" != x
; then
6227 eval "DEFAULT_$LINE"
6232 ac_cv_use_html
='wxUSE_HTML='$DEFAULT_wxUSE_HTML
6236 eval "$ac_cv_use_html"
6237 if test "$no_cache" != 1; then
6238 echo $ac_cv_use_html >> ${wx_arg_cache_file}.tmp
6241 if test "$wxUSE_HTML" = yes; then
6242 echo "$as_me:$LINENO: result: yes" >&5
6243 echo "${ECHO_T}yes" >&6
6245 echo "$as_me:$LINENO: result: no" >&5
6246 echo "${ECHO_T}no" >&6
6251 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-htmlhelp" >&5
6252 echo $ECHO_N "checking for --${enablestring:-enable}-htmlhelp... $ECHO_C" >&6
6254 # Check whether --enable-htmlhelp or --disable-htmlhelp was given.
6255 if test "${enable_htmlhelp+set}" = set; then
6256 enableval
="$enable_htmlhelp"
6258 if test "$enableval" = yes; then
6259 ac_cv_use_htmlhelp
='wxUSE_WXHTML_HELP=yes'
6261 ac_cv_use_htmlhelp
='wxUSE_WXHTML_HELP=no'
6266 LINE
=`grep "wxUSE_WXHTML_HELP" ${wx_arg_cache_file}`
6267 if test "x$LINE" != x
; then
6268 eval "DEFAULT_$LINE"
6273 ac_cv_use_htmlhelp
='wxUSE_WXHTML_HELP='$DEFAULT_wxUSE_WXHTML_HELP
6277 eval "$ac_cv_use_htmlhelp"
6278 if test "$no_cache" != 1; then
6279 echo $ac_cv_use_htmlhelp >> ${wx_arg_cache_file}.tmp
6282 if test "$wxUSE_WXHTML_HELP" = yes; then
6283 echo "$as_me:$LINENO: result: yes" >&5
6284 echo "${ECHO_T}yes" >&6
6286 echo "$as_me:$LINENO: result: no" >&5
6287 echo "${ECHO_T}no" >&6
6292 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-constraints" >&5
6293 echo $ECHO_N "checking for --${enablestring:-enable}-constraints... $ECHO_C" >&6
6295 # Check whether --enable-constraints or --disable-constraints was given.
6296 if test "${enable_constraints+set}" = set; then
6297 enableval
="$enable_constraints"
6299 if test "$enableval" = yes; then
6300 ac_cv_use_constraints
='wxUSE_CONSTRAINTS=yes'
6302 ac_cv_use_constraints
='wxUSE_CONSTRAINTS=no'
6307 LINE
=`grep "wxUSE_CONSTRAINTS" ${wx_arg_cache_file}`
6308 if test "x$LINE" != x
; then
6309 eval "DEFAULT_$LINE"
6314 ac_cv_use_constraints
='wxUSE_CONSTRAINTS='$DEFAULT_wxUSE_CONSTRAINTS
6318 eval "$ac_cv_use_constraints"
6319 if test "$no_cache" != 1; then
6320 echo $ac_cv_use_constraints >> ${wx_arg_cache_file}.tmp
6323 if test "$wxUSE_CONSTRAINTS" = yes; then
6324 echo "$as_me:$LINENO: result: yes" >&5
6325 echo "${ECHO_T}yes" >&6
6327 echo "$as_me:$LINENO: result: no" >&5
6328 echo "${ECHO_T}no" >&6
6333 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-printarch" >&5
6334 echo $ECHO_N "checking for --${enablestring:-enable}-printarch... $ECHO_C" >&6
6336 # Check whether --enable-printarch or --disable-printarch was given.
6337 if test "${enable_printarch+set}" = set; then
6338 enableval
="$enable_printarch"
6340 if test "$enableval" = yes; then
6341 ac_cv_use_printarch
='wxUSE_PRINTING_ARCHITECTURE=yes'
6343 ac_cv_use_printarch
='wxUSE_PRINTING_ARCHITECTURE=no'
6348 LINE
=`grep "wxUSE_PRINTING_ARCHITECTURE" ${wx_arg_cache_file}`
6349 if test "x$LINE" != x
; then
6350 eval "DEFAULT_$LINE"
6355 ac_cv_use_printarch
='wxUSE_PRINTING_ARCHITECTURE='$DEFAULT_wxUSE_PRINTING_ARCHITECTURE
6359 eval "$ac_cv_use_printarch"
6360 if test "$no_cache" != 1; then
6361 echo $ac_cv_use_printarch >> ${wx_arg_cache_file}.tmp
6364 if test "$wxUSE_PRINTING_ARCHITECTURE" = yes; then
6365 echo "$as_me:$LINENO: result: yes" >&5
6366 echo "${ECHO_T}yes" >&6
6368 echo "$as_me:$LINENO: result: no" >&5
6369 echo "${ECHO_T}no" >&6
6374 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mdi" >&5
6375 echo $ECHO_N "checking for --${enablestring:-enable}-mdi... $ECHO_C" >&6
6377 # Check whether --enable-mdi or --disable-mdi was given.
6378 if test "${enable_mdi+set}" = set; then
6379 enableval
="$enable_mdi"
6381 if test "$enableval" = yes; then
6382 ac_cv_use_mdi
='wxUSE_MDI_ARCHITECTURE=yes'
6384 ac_cv_use_mdi
='wxUSE_MDI_ARCHITECTURE=no'
6389 LINE
=`grep "wxUSE_MDI_ARCHITECTURE" ${wx_arg_cache_file}`
6390 if test "x$LINE" != x
; then
6391 eval "DEFAULT_$LINE"
6396 ac_cv_use_mdi
='wxUSE_MDI_ARCHITECTURE='$DEFAULT_wxUSE_MDI_ARCHITECTURE
6400 eval "$ac_cv_use_mdi"
6401 if test "$no_cache" != 1; then
6402 echo $ac_cv_use_mdi >> ${wx_arg_cache_file}.tmp
6405 if test "$wxUSE_MDI_ARCHITECTURE" = yes; then
6406 echo "$as_me:$LINENO: result: yes" >&5
6407 echo "${ECHO_T}yes" >&6
6409 echo "$as_me:$LINENO: result: no" >&5
6410 echo "${ECHO_T}no" >&6
6415 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-loggui" >&5
6416 echo $ECHO_N "checking for --${enablestring:-enable}-loggui... $ECHO_C" >&6
6418 # Check whether --enable-loggui or --disable-loggui was given.
6419 if test "${enable_loggui+set}" = set; then
6420 enableval
="$enable_loggui"
6422 if test "$enableval" = yes; then
6423 ac_cv_use_loggui
='wxUSE_LOGGUI=yes'
6425 ac_cv_use_loggui
='wxUSE_LOGGUI=no'
6430 LINE
=`grep "wxUSE_LOGGUI" ${wx_arg_cache_file}`
6431 if test "x$LINE" != x
; then
6432 eval "DEFAULT_$LINE"
6437 ac_cv_use_loggui
='wxUSE_LOGGUI='$DEFAULT_wxUSE_LOGGUI
6441 eval "$ac_cv_use_loggui"
6442 if test "$no_cache" != 1; then
6443 echo $ac_cv_use_loggui >> ${wx_arg_cache_file}.tmp
6446 if test "$wxUSE_LOGGUI" = yes; then
6447 echo "$as_me:$LINENO: result: yes" >&5
6448 echo "${ECHO_T}yes" >&6
6450 echo "$as_me:$LINENO: result: no" >&5
6451 echo "${ECHO_T}no" >&6
6456 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-logwin" >&5
6457 echo $ECHO_N "checking for --${enablestring:-enable}-logwin... $ECHO_C" >&6
6459 # Check whether --enable-logwin or --disable-logwin was given.
6460 if test "${enable_logwin+set}" = set; then
6461 enableval
="$enable_logwin"
6463 if test "$enableval" = yes; then
6464 ac_cv_use_logwin
='wxUSE_LOGWINDOW=yes'
6466 ac_cv_use_logwin
='wxUSE_LOGWINDOW=no'
6471 LINE
=`grep "wxUSE_LOGWINDOW" ${wx_arg_cache_file}`
6472 if test "x$LINE" != x
; then
6473 eval "DEFAULT_$LINE"
6478 ac_cv_use_logwin
='wxUSE_LOGWINDOW='$DEFAULT_wxUSE_LOGWINDOW
6482 eval "$ac_cv_use_logwin"
6483 if test "$no_cache" != 1; then
6484 echo $ac_cv_use_logwin >> ${wx_arg_cache_file}.tmp
6487 if test "$wxUSE_LOGWINDOW" = yes; then
6488 echo "$as_me:$LINENO: result: yes" >&5
6489 echo "${ECHO_T}yes" >&6
6491 echo "$as_me:$LINENO: result: no" >&5
6492 echo "${ECHO_T}no" >&6
6497 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-logdialog" >&5
6498 echo $ECHO_N "checking for --${enablestring:-enable}-logdialog... $ECHO_C" >&6
6500 # Check whether --enable-logdialog or --disable-logdialog was given.
6501 if test "${enable_logdialog+set}" = set; then
6502 enableval
="$enable_logdialog"
6504 if test "$enableval" = yes; then
6505 ac_cv_use_logdialog
='wxUSE_LOGDIALOG=yes'
6507 ac_cv_use_logdialog
='wxUSE_LOGDIALOG=no'
6512 LINE
=`grep "wxUSE_LOGDIALOG" ${wx_arg_cache_file}`
6513 if test "x$LINE" != x
; then
6514 eval "DEFAULT_$LINE"
6519 ac_cv_use_logdialog
='wxUSE_LOGDIALOG='$DEFAULT_wxUSE_LOGDIALOG
6523 eval "$ac_cv_use_logdialog"
6524 if test "$no_cache" != 1; then
6525 echo $ac_cv_use_logdialog >> ${wx_arg_cache_file}.tmp
6528 if test "$wxUSE_LOGDIALOG" = yes; then
6529 echo "$as_me:$LINENO: result: yes" >&5
6530 echo "${ECHO_T}yes" >&6
6532 echo "$as_me:$LINENO: result: no" >&5
6533 echo "${ECHO_T}no" >&6
6539 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-postscript" >&5
6540 echo $ECHO_N "checking for --${enablestring:-enable}-postscript... $ECHO_C" >&6
6542 # Check whether --enable-postscript or --disable-postscript was given.
6543 if test "${enable_postscript+set}" = set; then
6544 enableval
="$enable_postscript"
6546 if test "$enableval" = yes; then
6547 ac_cv_use_postscript
='wxUSE_POSTSCRIPT=yes'
6549 ac_cv_use_postscript
='wxUSE_POSTSCRIPT=no'
6554 LINE
=`grep "wxUSE_POSTSCRIPT" ${wx_arg_cache_file}`
6555 if test "x$LINE" != x
; then
6556 eval "DEFAULT_$LINE"
6561 ac_cv_use_postscript
='wxUSE_POSTSCRIPT='$DEFAULT_wxUSE_POSTSCRIPT
6565 eval "$ac_cv_use_postscript"
6566 if test "$no_cache" != 1; then
6567 echo $ac_cv_use_postscript >> ${wx_arg_cache_file}.tmp
6570 if test "$wxUSE_POSTSCRIPT" = yes; then
6571 echo "$as_me:$LINENO: result: yes" >&5
6572 echo "${ECHO_T}yes" >&6
6574 echo "$as_me:$LINENO: result: no" >&5
6575 echo "${ECHO_T}no" >&6
6583 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-prologio" >&5
6584 echo $ECHO_N "checking for --${enablestring:-enable}-prologio... $ECHO_C" >&6
6586 # Check whether --enable-prologio or --disable-prologio was given.
6587 if test "${enable_prologio+set}" = set; then
6588 enableval
="$enable_prologio"
6590 if test "$enableval" = yes; then
6591 ac_cv_use_prologio
='wxUSE_PROLOGIO=yes'
6593 ac_cv_use_prologio
='wxUSE_PROLOGIO=no'
6598 LINE
=`grep "wxUSE_PROLOGIO" ${wx_arg_cache_file}`
6599 if test "x$LINE" != x
; then
6600 eval "DEFAULT_$LINE"
6605 ac_cv_use_prologio
='wxUSE_PROLOGIO='$DEFAULT_wxUSE_PROLOGIO
6609 eval "$ac_cv_use_prologio"
6610 if test "$no_cache" != 1; then
6611 echo $ac_cv_use_prologio >> ${wx_arg_cache_file}.tmp
6614 if test "$wxUSE_PROLOGIO" = yes; then
6615 echo "$as_me:$LINENO: result: yes" >&5
6616 echo "${ECHO_T}yes" >&6
6618 echo "$as_me:$LINENO: result: no" >&5
6619 echo "${ECHO_T}no" >&6
6624 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-resources" >&5
6625 echo $ECHO_N "checking for --${enablestring:-enable}-resources... $ECHO_C" >&6
6627 # Check whether --enable-resources or --disable-resources was given.
6628 if test "${enable_resources+set}" = set; then
6629 enableval
="$enable_resources"
6631 if test "$enableval" = yes; then
6632 ac_cv_use_resources
='wxUSE_RESOURCES=yes'
6634 ac_cv_use_resources
='wxUSE_RESOURCES=no'
6639 LINE
=`grep "wxUSE_RESOURCES" ${wx_arg_cache_file}`
6640 if test "x$LINE" != x
; then
6641 eval "DEFAULT_$LINE"
6646 ac_cv_use_resources
='wxUSE_RESOURCES='$DEFAULT_wxUSE_RESOURCES
6650 eval "$ac_cv_use_resources"
6651 if test "$no_cache" != 1; then
6652 echo $ac_cv_use_resources >> ${wx_arg_cache_file}.tmp
6655 if test "$wxUSE_RESOURCES" = yes; then
6656 echo "$as_me:$LINENO: result: yes" >&5
6657 echo "${ECHO_T}yes" >&6
6659 echo "$as_me:$LINENO: result: no" >&5
6660 echo "${ECHO_T}no" >&6
6667 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-clipboard" >&5
6668 echo $ECHO_N "checking for --${enablestring:-enable}-clipboard... $ECHO_C" >&6
6670 # Check whether --enable-clipboard or --disable-clipboard was given.
6671 if test "${enable_clipboard+set}" = set; then
6672 enableval
="$enable_clipboard"
6674 if test "$enableval" = yes; then
6675 ac_cv_use_clipboard
='wxUSE_CLIPBOARD=yes'
6677 ac_cv_use_clipboard
='wxUSE_CLIPBOARD=no'
6682 LINE
=`grep "wxUSE_CLIPBOARD" ${wx_arg_cache_file}`
6683 if test "x$LINE" != x
; then
6684 eval "DEFAULT_$LINE"
6689 ac_cv_use_clipboard
='wxUSE_CLIPBOARD='$DEFAULT_wxUSE_CLIPBOARD
6693 eval "$ac_cv_use_clipboard"
6694 if test "$no_cache" != 1; then
6695 echo $ac_cv_use_clipboard >> ${wx_arg_cache_file}.tmp
6698 if test "$wxUSE_CLIPBOARD" = yes; then
6699 echo "$as_me:$LINENO: result: yes" >&5
6700 echo "${ECHO_T}yes" >&6
6702 echo "$as_me:$LINENO: result: no" >&5
6703 echo "${ECHO_T}no" >&6
6708 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dnd" >&5
6709 echo $ECHO_N "checking for --${enablestring:-enable}-dnd... $ECHO_C" >&6
6711 # Check whether --enable-dnd or --disable-dnd was given.
6712 if test "${enable_dnd+set}" = set; then
6713 enableval
="$enable_dnd"
6715 if test "$enableval" = yes; then
6716 ac_cv_use_dnd
='wxUSE_DRAG_AND_DROP=yes'
6718 ac_cv_use_dnd
='wxUSE_DRAG_AND_DROP=no'
6723 LINE
=`grep "wxUSE_DRAG_AND_DROP" ${wx_arg_cache_file}`
6724 if test "x$LINE" != x
; then
6725 eval "DEFAULT_$LINE"
6730 ac_cv_use_dnd
='wxUSE_DRAG_AND_DROP='$DEFAULT_wxUSE_DRAG_AND_DROP
6734 eval "$ac_cv_use_dnd"
6735 if test "$no_cache" != 1; then
6736 echo $ac_cv_use_dnd >> ${wx_arg_cache_file}.tmp
6739 if test "$wxUSE_DRAG_AND_DROP" = yes; then
6740 echo "$as_me:$LINENO: result: yes" >&5
6741 echo "${ECHO_T}yes" >&6
6743 echo "$as_me:$LINENO: result: no" >&5
6744 echo "${ECHO_T}no" >&6
6749 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-metafile" >&5
6750 echo $ECHO_N "checking for --${enablestring:-enable}-metafile... $ECHO_C" >&6
6752 # Check whether --enable-metafile or --disable-metafile was given.
6753 if test "${enable_metafile+set}" = set; then
6754 enableval
="$enable_metafile"
6756 if test "$enableval" = yes; then
6757 ac_cv_use_metafile
='wxUSE_METAFILE=yes'
6759 ac_cv_use_metafile
='wxUSE_METAFILE=no'
6764 LINE
=`grep "wxUSE_METAFILE" ${wx_arg_cache_file}`
6765 if test "x$LINE" != x
; then
6766 eval "DEFAULT_$LINE"
6771 ac_cv_use_metafile
='wxUSE_METAFILE='$DEFAULT_wxUSE_METAFILE
6775 eval "$ac_cv_use_metafile"
6776 if test "$no_cache" != 1; then
6777 echo $ac_cv_use_metafile >> ${wx_arg_cache_file}.tmp
6780 if test "$wxUSE_METAFILE" = yes; then
6781 echo "$as_me:$LINENO: result: yes" >&5
6782 echo "${ECHO_T}yes" >&6
6784 echo "$as_me:$LINENO: result: no" >&5
6785 echo "${ECHO_T}no" >&6
6793 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-controls" >&5
6794 echo $ECHO_N "checking for --${enablestring:-enable}-controls... $ECHO_C" >&6
6796 # Check whether --enable-controls or --disable-controls was given.
6797 if test "${enable_controls+set}" = set; then
6798 enableval
="$enable_controls"
6800 if test "$enableval" = yes; then
6801 ac_cv_use_controls
='wxUSE_CONTROLS=yes'
6803 ac_cv_use_controls
='wxUSE_CONTROLS=no'
6808 LINE
=`grep "wxUSE_CONTROLS" ${wx_arg_cache_file}`
6809 if test "x$LINE" != x
; then
6810 eval "DEFAULT_$LINE"
6815 ac_cv_use_controls
='wxUSE_CONTROLS='$DEFAULT_wxUSE_CONTROLS
6819 eval "$ac_cv_use_controls"
6820 if test "$no_cache" != 1; then
6821 echo $ac_cv_use_controls >> ${wx_arg_cache_file}.tmp
6824 if test "$wxUSE_CONTROLS" = yes; then
6825 echo "$as_me:$LINENO: result: yes" >&5
6826 echo "${ECHO_T}yes" >&6
6828 echo "$as_me:$LINENO: result: no" >&5
6829 echo "${ECHO_T}no" >&6
6833 if test "$wxUSE_CONTROLS" = "yes"; then
6834 DEFAULT_wxUSE_ACCEL
=yes
6835 DEFAULT_wxUSE_BMPBUTTON
=yes
6836 DEFAULT_wxUSE_BUTTON
=yes
6837 DEFAULT_wxUSE_CALCTRL
=no
6838 DEFAULT_wxUSE_CARET
=yes
6839 DEFAULT_wxUSE_COMBOBOX
=yes
6840 DEFAULT_wxUSE_CHECKBOX
=yes
6841 DEFAULT_wxUSE_CHECKLISTBOX
=yes
6842 DEFAULT_wxUSE_CHOICE
=yes
6843 DEFAULT_wxUSE_GAUGE
=yes
6844 DEFAULT_wxUSE_GRID
=yes
6845 DEFAULT_wxUSE_IMAGLIST
=yes
6846 DEFAULT_wxUSE_LISTBOOK
=yes
6847 DEFAULT_wxUSE_LISTBOX
=yes
6848 DEFAULT_wxUSE_LISTCTRL
=yes
6849 DEFAULT_wxUSE_NOTEBOOK
=yes
6850 DEFAULT_wxUSE_RADIOBOX
=yes
6851 DEFAULT_wxUSE_RADIOBTN
=yes
6852 DEFAULT_wxUSE_SASH
=yes
6853 DEFAULT_wxUSE_SCROLLBAR
=yes
6854 DEFAULT_wxUSE_SLIDER
=yes
6855 DEFAULT_wxUSE_SPINBTN
=yes
6856 DEFAULT_wxUSE_SPINCTRL
=yes
6857 DEFAULT_wxUSE_SPLITTER
=yes
6858 DEFAULT_wxUSE_STATBMP
=yes
6859 DEFAULT_wxUSE_STATBOX
=yes
6860 DEFAULT_wxUSE_STATLINE
=yes
6861 DEFAULT_wxUSE_STATUSBAR
=yes
6862 DEFAULT_wxUSE_TAB_DIALOG
=yes
6863 DEFAULT_wxUSE_TOGGLEBTN
=yes
6864 DEFAULT_wxUSE_TOOLBAR
=yes
6865 DEFAULT_wxUSE_TOOLBAR_NATIVE
=yes
6866 DEFAULT_wxUSE_TOOLBAR_SIMPLE
=yes
6867 DEFAULT_wxUSE_TOOLTIPS
=yes
6868 DEFAULT_wxUSE_TREECTRL
=yes
6869 DEFAULT_wxUSE_POPUPWIN
=yes
6870 DEFAULT_wxUSE_TIPWINDOW
=yes
6871 elif test "$wxUSE_CONTROLS" = "no"; then
6872 DEFAULT_wxUSE_ACCEL
=no
6873 DEFAULT_wxUSE_BMPBUTTON
=no
6874 DEFAULT_wxUSE_BUTTON
=no
6875 DEFAULT_wxUSE_CALCTRL
=no
6876 DEFAULT_wxUSE_CARET
=no
6877 DEFAULT_wxUSE_COMBOBOX
=no
6878 DEFAULT_wxUSE_CHECKBOX
=no
6879 DEFAULT_wxUSE_CHECKLISTBOX
=no
6880 DEFAULT_wxUSE_CHOICE
=no
6881 DEFAULT_wxUSE_GAUGE
=no
6882 DEFAULT_wxUSE_GRID
=no
6883 DEFAULT_wxUSE_IMAGLIST
=no
6884 DEFAULT_wxUSE_LISTBOOK
=no
6885 DEFAULT_wxUSE_LISTBOX
=no
6886 DEFAULT_wxUSE_LISTCTRL
=no
6887 DEFAULT_wxUSE_NOTEBOOK
=no
6888 DEFAULT_wxUSE_RADIOBOX
=no
6889 DEFAULT_wxUSE_RADIOBTN
=no
6890 DEFAULT_wxUSE_SASH
=no
6891 DEFAULT_wxUSE_SCROLLBAR
=no
6892 DEFAULT_wxUSE_SLIDER
=no
6893 DEFAULT_wxUSE_SPINBTN
=no
6894 DEFAULT_wxUSE_SPINCTRL
=no
6895 DEFAULT_wxUSE_SPLITTER
=no
6896 DEFAULT_wxUSE_STATBMP
=no
6897 DEFAULT_wxUSE_STATBOX
=no
6898 DEFAULT_wxUSE_STATLINE
=no
6899 DEFAULT_wxUSE_STATUSBAR
=no
6900 DEFAULT_wxUSE_TAB_DIALOG
=no
6901 DEFAULT_wxUSE_TOGGLEBTN
=no
6902 DEFAULT_wxUSE_TOOLBAR
=no
6903 DEFAULT_wxUSE_TOOLBAR_NATIVE
=no
6904 DEFAULT_wxUSE_TOOLBAR_SIMPLE
=no
6905 DEFAULT_wxUSE_TOOLTIPS
=no
6906 DEFAULT_wxUSE_TREECTRL
=no
6907 DEFAULT_wxUSE_POPUPWIN
=no
6908 DEFAULT_wxUSE_TIPWINDOW
=no
6911 ## FIXME: This is a blatant hack
6912 if test "x$wxUSE_COCOA" != "x" -a "$wxUSE_COCOA" != "0" ; then
6913 wxUSE_PRINTING_ARCHITECTURE
=no
6914 wxUSE_DRAG_AND_DROP
=no
6915 # Generic notebook requires tab dialog
6916 DEFAULT_wxUSE_TABDIALOG
=yes
6917 DEFAULT_wxUSE_SCROLLBAR
=no
6918 DEFAULT_wxUSE_TOOLTIPS
=no
6919 DEFAULT_wxUSE_DRAGIMAGE
=no
6924 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-accel" >&5
6925 echo $ECHO_N "checking for --${enablestring:-enable}-accel... $ECHO_C" >&6
6927 # Check whether --enable-accel or --disable-accel was given.
6928 if test "${enable_accel+set}" = set; then
6929 enableval
="$enable_accel"
6931 if test "$enableval" = yes; then
6932 ac_cv_use_accel
='wxUSE_ACCEL=yes'
6934 ac_cv_use_accel
='wxUSE_ACCEL=no'
6939 LINE
=`grep "wxUSE_ACCEL" ${wx_arg_cache_file}`
6940 if test "x$LINE" != x
; then
6941 eval "DEFAULT_$LINE"
6946 ac_cv_use_accel
='wxUSE_ACCEL='$DEFAULT_wxUSE_ACCEL
6950 eval "$ac_cv_use_accel"
6951 if test "$no_cache" != 1; then
6952 echo $ac_cv_use_accel >> ${wx_arg_cache_file}.tmp
6955 if test "$wxUSE_ACCEL" = yes; then
6956 echo "$as_me:$LINENO: result: yes" >&5
6957 echo "${ECHO_T}yes" >&6
6959 echo "$as_me:$LINENO: result: no" >&5
6960 echo "${ECHO_T}no" >&6
6965 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-button" >&5
6966 echo $ECHO_N "checking for --${enablestring:-enable}-button... $ECHO_C" >&6
6968 # Check whether --enable-button or --disable-button was given.
6969 if test "${enable_button+set}" = set; then
6970 enableval
="$enable_button"
6972 if test "$enableval" = yes; then
6973 ac_cv_use_button
='wxUSE_BUTTON=yes'
6975 ac_cv_use_button
='wxUSE_BUTTON=no'
6980 LINE
=`grep "wxUSE_BUTTON" ${wx_arg_cache_file}`
6981 if test "x$LINE" != x
; then
6982 eval "DEFAULT_$LINE"
6987 ac_cv_use_button
='wxUSE_BUTTON='$DEFAULT_wxUSE_BUTTON
6991 eval "$ac_cv_use_button"
6992 if test "$no_cache" != 1; then
6993 echo $ac_cv_use_button >> ${wx_arg_cache_file}.tmp
6996 if test "$wxUSE_BUTTON" = yes; then
6997 echo "$as_me:$LINENO: result: yes" >&5
6998 echo "${ECHO_T}yes" >&6
7000 echo "$as_me:$LINENO: result: no" >&5
7001 echo "${ECHO_T}no" >&6
7006 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-bmpbutton" >&5
7007 echo $ECHO_N "checking for --${enablestring:-enable}-bmpbutton... $ECHO_C" >&6
7009 # Check whether --enable-bmpbutton or --disable-bmpbutton was given.
7010 if test "${enable_bmpbutton+set}" = set; then
7011 enableval
="$enable_bmpbutton"
7013 if test "$enableval" = yes; then
7014 ac_cv_use_bmpbutton
='wxUSE_BMPBUTTON=yes'
7016 ac_cv_use_bmpbutton
='wxUSE_BMPBUTTON=no'
7021 LINE
=`grep "wxUSE_BMPBUTTON" ${wx_arg_cache_file}`
7022 if test "x$LINE" != x
; then
7023 eval "DEFAULT_$LINE"
7028 ac_cv_use_bmpbutton
='wxUSE_BMPBUTTON='$DEFAULT_wxUSE_BMPBUTTON
7032 eval "$ac_cv_use_bmpbutton"
7033 if test "$no_cache" != 1; then
7034 echo $ac_cv_use_bmpbutton >> ${wx_arg_cache_file}.tmp
7037 if test "$wxUSE_BMPBUTTON" = yes; then
7038 echo "$as_me:$LINENO: result: yes" >&5
7039 echo "${ECHO_T}yes" >&6
7041 echo "$as_me:$LINENO: result: no" >&5
7042 echo "${ECHO_T}no" >&6
7047 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-calendar" >&5
7048 echo $ECHO_N "checking for --${enablestring:-enable}-calendar... $ECHO_C" >&6
7050 # Check whether --enable-calendar or --disable-calendar was given.
7051 if test "${enable_calendar+set}" = set; then
7052 enableval
="$enable_calendar"
7054 if test "$enableval" = yes; then
7055 ac_cv_use_calendar
='wxUSE_CALCTRL=yes'
7057 ac_cv_use_calendar
='wxUSE_CALCTRL=no'
7062 LINE
=`grep "wxUSE_CALCTRL" ${wx_arg_cache_file}`
7063 if test "x$LINE" != x
; then
7064 eval "DEFAULT_$LINE"
7069 ac_cv_use_calendar
='wxUSE_CALCTRL='$DEFAULT_wxUSE_CALCTRL
7073 eval "$ac_cv_use_calendar"
7074 if test "$no_cache" != 1; then
7075 echo $ac_cv_use_calendar >> ${wx_arg_cache_file}.tmp
7078 if test "$wxUSE_CALCTRL" = yes; then
7079 echo "$as_me:$LINENO: result: yes" >&5
7080 echo "${ECHO_T}yes" >&6
7082 echo "$as_me:$LINENO: result: no" >&5
7083 echo "${ECHO_T}no" >&6
7088 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-caret" >&5
7089 echo $ECHO_N "checking for --${enablestring:-enable}-caret... $ECHO_C" >&6
7091 # Check whether --enable-caret or --disable-caret was given.
7092 if test "${enable_caret+set}" = set; then
7093 enableval
="$enable_caret"
7095 if test "$enableval" = yes; then
7096 ac_cv_use_caret
='wxUSE_CARET=yes'
7098 ac_cv_use_caret
='wxUSE_CARET=no'
7103 LINE
=`grep "wxUSE_CARET" ${wx_arg_cache_file}`
7104 if test "x$LINE" != x
; then
7105 eval "DEFAULT_$LINE"
7110 ac_cv_use_caret
='wxUSE_CARET='$DEFAULT_wxUSE_CARET
7114 eval "$ac_cv_use_caret"
7115 if test "$no_cache" != 1; then
7116 echo $ac_cv_use_caret >> ${wx_arg_cache_file}.tmp
7119 if test "$wxUSE_CARET" = yes; then
7120 echo "$as_me:$LINENO: result: yes" >&5
7121 echo "${ECHO_T}yes" >&6
7123 echo "$as_me:$LINENO: result: no" >&5
7124 echo "${ECHO_T}no" >&6
7129 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-checkbox" >&5
7130 echo $ECHO_N "checking for --${enablestring:-enable}-checkbox... $ECHO_C" >&6
7132 # Check whether --enable-checkbox or --disable-checkbox was given.
7133 if test "${enable_checkbox+set}" = set; then
7134 enableval
="$enable_checkbox"
7136 if test "$enableval" = yes; then
7137 ac_cv_use_checkbox
='wxUSE_CHECKBOX=yes'
7139 ac_cv_use_checkbox
='wxUSE_CHECKBOX=no'
7144 LINE
=`grep "wxUSE_CHECKBOX" ${wx_arg_cache_file}`
7145 if test "x$LINE" != x
; then
7146 eval "DEFAULT_$LINE"
7151 ac_cv_use_checkbox
='wxUSE_CHECKBOX='$DEFAULT_wxUSE_CHECKBOX
7155 eval "$ac_cv_use_checkbox"
7156 if test "$no_cache" != 1; then
7157 echo $ac_cv_use_checkbox >> ${wx_arg_cache_file}.tmp
7160 if test "$wxUSE_CHECKBOX" = yes; then
7161 echo "$as_me:$LINENO: result: yes" >&5
7162 echo "${ECHO_T}yes" >&6
7164 echo "$as_me:$LINENO: result: no" >&5
7165 echo "${ECHO_T}no" >&6
7170 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-checklst" >&5
7171 echo $ECHO_N "checking for --${enablestring:-enable}-checklst... $ECHO_C" >&6
7173 # Check whether --enable-checklst or --disable-checklst was given.
7174 if test "${enable_checklst+set}" = set; then
7175 enableval
="$enable_checklst"
7177 if test "$enableval" = yes; then
7178 ac_cv_use_checklst
='wxUSE_CHECKLST=yes'
7180 ac_cv_use_checklst
='wxUSE_CHECKLST=no'
7185 LINE
=`grep "wxUSE_CHECKLST" ${wx_arg_cache_file}`
7186 if test "x$LINE" != x
; then
7187 eval "DEFAULT_$LINE"
7192 ac_cv_use_checklst
='wxUSE_CHECKLST='$DEFAULT_wxUSE_CHECKLST
7196 eval "$ac_cv_use_checklst"
7197 if test "$no_cache" != 1; then
7198 echo $ac_cv_use_checklst >> ${wx_arg_cache_file}.tmp
7201 if test "$wxUSE_CHECKLST" = yes; then
7202 echo "$as_me:$LINENO: result: yes" >&5
7203 echo "${ECHO_T}yes" >&6
7205 echo "$as_me:$LINENO: result: no" >&5
7206 echo "${ECHO_T}no" >&6
7211 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choice" >&5
7212 echo $ECHO_N "checking for --${enablestring:-enable}-choice... $ECHO_C" >&6
7214 # Check whether --enable-choice or --disable-choice was given.
7215 if test "${enable_choice+set}" = set; then
7216 enableval
="$enable_choice"
7218 if test "$enableval" = yes; then
7219 ac_cv_use_choice
='wxUSE_CHOICE=yes'
7221 ac_cv_use_choice
='wxUSE_CHOICE=no'
7226 LINE
=`grep "wxUSE_CHOICE" ${wx_arg_cache_file}`
7227 if test "x$LINE" != x
; then
7228 eval "DEFAULT_$LINE"
7233 ac_cv_use_choice
='wxUSE_CHOICE='$DEFAULT_wxUSE_CHOICE
7237 eval "$ac_cv_use_choice"
7238 if test "$no_cache" != 1; then
7239 echo $ac_cv_use_choice >> ${wx_arg_cache_file}.tmp
7242 if test "$wxUSE_CHOICE" = yes; then
7243 echo "$as_me:$LINENO: result: yes" >&5
7244 echo "${ECHO_T}yes" >&6
7246 echo "$as_me:$LINENO: result: no" >&5
7247 echo "${ECHO_T}no" >&6
7252 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-combobox" >&5
7253 echo $ECHO_N "checking for --${enablestring:-enable}-combobox... $ECHO_C" >&6
7255 # Check whether --enable-combobox or --disable-combobox was given.
7256 if test "${enable_combobox+set}" = set; then
7257 enableval
="$enable_combobox"
7259 if test "$enableval" = yes; then
7260 ac_cv_use_combobox
='wxUSE_COMBOBOX=yes'
7262 ac_cv_use_combobox
='wxUSE_COMBOBOX=no'
7267 LINE
=`grep "wxUSE_COMBOBOX" ${wx_arg_cache_file}`
7268 if test "x$LINE" != x
; then
7269 eval "DEFAULT_$LINE"
7274 ac_cv_use_combobox
='wxUSE_COMBOBOX='$DEFAULT_wxUSE_COMBOBOX
7278 eval "$ac_cv_use_combobox"
7279 if test "$no_cache" != 1; then
7280 echo $ac_cv_use_combobox >> ${wx_arg_cache_file}.tmp
7283 if test "$wxUSE_COMBOBOX" = yes; then
7284 echo "$as_me:$LINENO: result: yes" >&5
7285 echo "${ECHO_T}yes" >&6
7287 echo "$as_me:$LINENO: result: no" >&5
7288 echo "${ECHO_T}no" >&6
7293 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-display" >&5
7294 echo $ECHO_N "checking for --${enablestring:-enable}-display... $ECHO_C" >&6
7296 # Check whether --enable-display or --disable-display was given.
7297 if test "${enable_display+set}" = set; then
7298 enableval
="$enable_display"
7300 if test "$enableval" = yes; then
7301 ac_cv_use_display
='wxUSE_DISPLAY=yes'
7303 ac_cv_use_display
='wxUSE_DISPLAY=no'
7308 LINE
=`grep "wxUSE_DISPLAY" ${wx_arg_cache_file}`
7309 if test "x$LINE" != x
; then
7310 eval "DEFAULT_$LINE"
7315 ac_cv_use_display
='wxUSE_DISPLAY='$DEFAULT_wxUSE_DISPLAY
7319 eval "$ac_cv_use_display"
7320 if test "$no_cache" != 1; then
7321 echo $ac_cv_use_display >> ${wx_arg_cache_file}.tmp
7324 if test "$wxUSE_DISPLAY" = yes; then
7325 echo "$as_me:$LINENO: result: yes" >&5
7326 echo "${ECHO_T}yes" >&6
7328 echo "$as_me:$LINENO: result: no" >&5
7329 echo "${ECHO_T}no" >&6
7334 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gauge" >&5
7335 echo $ECHO_N "checking for --${enablestring:-enable}-gauge... $ECHO_C" >&6
7337 # Check whether --enable-gauge or --disable-gauge was given.
7338 if test "${enable_gauge+set}" = set; then
7339 enableval
="$enable_gauge"
7341 if test "$enableval" = yes; then
7342 ac_cv_use_gauge
='wxUSE_GAUGE=yes'
7344 ac_cv_use_gauge
='wxUSE_GAUGE=no'
7349 LINE
=`grep "wxUSE_GAUGE" ${wx_arg_cache_file}`
7350 if test "x$LINE" != x
; then
7351 eval "DEFAULT_$LINE"
7356 ac_cv_use_gauge
='wxUSE_GAUGE='$DEFAULT_wxUSE_GAUGE
7360 eval "$ac_cv_use_gauge"
7361 if test "$no_cache" != 1; then
7362 echo $ac_cv_use_gauge >> ${wx_arg_cache_file}.tmp
7365 if test "$wxUSE_GAUGE" = yes; then
7366 echo "$as_me:$LINENO: result: yes" >&5
7367 echo "${ECHO_T}yes" >&6
7369 echo "$as_me:$LINENO: result: no" >&5
7370 echo "${ECHO_T}no" >&6
7375 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-grid" >&5
7376 echo $ECHO_N "checking for --${enablestring:-enable}-grid... $ECHO_C" >&6
7378 # Check whether --enable-grid or --disable-grid was given.
7379 if test "${enable_grid+set}" = set; then
7380 enableval
="$enable_grid"
7382 if test "$enableval" = yes; then
7383 ac_cv_use_grid
='wxUSE_GRID=yes'
7385 ac_cv_use_grid
='wxUSE_GRID=no'
7390 LINE
=`grep "wxUSE_GRID" ${wx_arg_cache_file}`
7391 if test "x$LINE" != x
; then
7392 eval "DEFAULT_$LINE"
7397 ac_cv_use_grid
='wxUSE_GRID='$DEFAULT_wxUSE_GRID
7401 eval "$ac_cv_use_grid"
7402 if test "$no_cache" != 1; then
7403 echo $ac_cv_use_grid >> ${wx_arg_cache_file}.tmp
7406 if test "$wxUSE_GRID" = yes; then
7407 echo "$as_me:$LINENO: result: yes" >&5
7408 echo "${ECHO_T}yes" >&6
7410 echo "$as_me:$LINENO: result: no" >&5
7411 echo "${ECHO_T}no" >&6
7416 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-imaglist" >&5
7417 echo $ECHO_N "checking for --${enablestring:-enable}-imaglist... $ECHO_C" >&6
7419 # Check whether --enable-imaglist or --disable-imaglist was given.
7420 if test "${enable_imaglist+set}" = set; then
7421 enableval
="$enable_imaglist"
7423 if test "$enableval" = yes; then
7424 ac_cv_use_imaglist
='wxUSE_IMAGLIST=yes'
7426 ac_cv_use_imaglist
='wxUSE_IMAGLIST=no'
7431 LINE
=`grep "wxUSE_IMAGLIST" ${wx_arg_cache_file}`
7432 if test "x$LINE" != x
; then
7433 eval "DEFAULT_$LINE"
7438 ac_cv_use_imaglist
='wxUSE_IMAGLIST='$DEFAULT_wxUSE_IMAGLIST
7442 eval "$ac_cv_use_imaglist"
7443 if test "$no_cache" != 1; then
7444 echo $ac_cv_use_imaglist >> ${wx_arg_cache_file}.tmp
7447 if test "$wxUSE_IMAGLIST" = yes; then
7448 echo "$as_me:$LINENO: result: yes" >&5
7449 echo "${ECHO_T}yes" >&6
7451 echo "$as_me:$LINENO: result: no" >&5
7452 echo "${ECHO_T}no" >&6
7457 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listbook" >&5
7458 echo $ECHO_N "checking for --${enablestring:-enable}-listbook... $ECHO_C" >&6
7460 # Check whether --enable-listbook or --disable-listbook was given.
7461 if test "${enable_listbook+set}" = set; then
7462 enableval
="$enable_listbook"
7464 if test "$enableval" = yes; then
7465 ac_cv_use_listbook
='wxUSE_LISTBOOK=yes'
7467 ac_cv_use_listbook
='wxUSE_LISTBOOK=no'
7472 LINE
=`grep "wxUSE_LISTBOOK" ${wx_arg_cache_file}`
7473 if test "x$LINE" != x
; then
7474 eval "DEFAULT_$LINE"
7479 ac_cv_use_listbook
='wxUSE_LISTBOOK='$DEFAULT_wxUSE_LISTBOOK
7483 eval "$ac_cv_use_listbook"
7484 if test "$no_cache" != 1; then
7485 echo $ac_cv_use_listbook >> ${wx_arg_cache_file}.tmp
7488 if test "$wxUSE_LISTBOOK" = yes; then
7489 echo "$as_me:$LINENO: result: yes" >&5
7490 echo "${ECHO_T}yes" >&6
7492 echo "$as_me:$LINENO: result: no" >&5
7493 echo "${ECHO_T}no" >&6
7498 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listbox" >&5
7499 echo $ECHO_N "checking for --${enablestring:-enable}-listbox... $ECHO_C" >&6
7501 # Check whether --enable-listbox or --disable-listbox was given.
7502 if test "${enable_listbox+set}" = set; then
7503 enableval
="$enable_listbox"
7505 if test "$enableval" = yes; then
7506 ac_cv_use_listbox
='wxUSE_LISTBOX=yes'
7508 ac_cv_use_listbox
='wxUSE_LISTBOX=no'
7513 LINE
=`grep "wxUSE_LISTBOX" ${wx_arg_cache_file}`
7514 if test "x$LINE" != x
; then
7515 eval "DEFAULT_$LINE"
7520 ac_cv_use_listbox
='wxUSE_LISTBOX='$DEFAULT_wxUSE_LISTBOX
7524 eval "$ac_cv_use_listbox"
7525 if test "$no_cache" != 1; then
7526 echo $ac_cv_use_listbox >> ${wx_arg_cache_file}.tmp
7529 if test "$wxUSE_LISTBOX" = yes; then
7530 echo "$as_me:$LINENO: result: yes" >&5
7531 echo "${ECHO_T}yes" >&6
7533 echo "$as_me:$LINENO: result: no" >&5
7534 echo "${ECHO_T}no" >&6
7539 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listctrl" >&5
7540 echo $ECHO_N "checking for --${enablestring:-enable}-listctrl... $ECHO_C" >&6
7542 # Check whether --enable-listctrl or --disable-listctrl was given.
7543 if test "${enable_listctrl+set}" = set; then
7544 enableval
="$enable_listctrl"
7546 if test "$enableval" = yes; then
7547 ac_cv_use_listctrl
='wxUSE_LISTCTRL=yes'
7549 ac_cv_use_listctrl
='wxUSE_LISTCTRL=no'
7554 LINE
=`grep "wxUSE_LISTCTRL" ${wx_arg_cache_file}`
7555 if test "x$LINE" != x
; then
7556 eval "DEFAULT_$LINE"
7561 ac_cv_use_listctrl
='wxUSE_LISTCTRL='$DEFAULT_wxUSE_LISTCTRL
7565 eval "$ac_cv_use_listctrl"
7566 if test "$no_cache" != 1; then
7567 echo $ac_cv_use_listctrl >> ${wx_arg_cache_file}.tmp
7570 if test "$wxUSE_LISTCTRL" = yes; then
7571 echo "$as_me:$LINENO: result: yes" >&5
7572 echo "${ECHO_T}yes" >&6
7574 echo "$as_me:$LINENO: result: no" >&5
7575 echo "${ECHO_T}no" >&6
7580 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-notebook" >&5
7581 echo $ECHO_N "checking for --${enablestring:-enable}-notebook... $ECHO_C" >&6
7583 # Check whether --enable-notebook or --disable-notebook was given.
7584 if test "${enable_notebook+set}" = set; then
7585 enableval
="$enable_notebook"
7587 if test "$enableval" = yes; then
7588 ac_cv_use_notebook
='wxUSE_NOTEBOOK=yes'
7590 ac_cv_use_notebook
='wxUSE_NOTEBOOK=no'
7595 LINE
=`grep "wxUSE_NOTEBOOK" ${wx_arg_cache_file}`
7596 if test "x$LINE" != x
; then
7597 eval "DEFAULT_$LINE"
7602 ac_cv_use_notebook
='wxUSE_NOTEBOOK='$DEFAULT_wxUSE_NOTEBOOK
7606 eval "$ac_cv_use_notebook"
7607 if test "$no_cache" != 1; then
7608 echo $ac_cv_use_notebook >> ${wx_arg_cache_file}.tmp
7611 if test "$wxUSE_NOTEBOOK" = yes; then
7612 echo "$as_me:$LINENO: result: yes" >&5
7613 echo "${ECHO_T}yes" >&6
7615 echo "$as_me:$LINENO: result: no" >&5
7616 echo "${ECHO_T}no" >&6
7621 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-radiobox" >&5
7622 echo $ECHO_N "checking for --${enablestring:-enable}-radiobox... $ECHO_C" >&6
7624 # Check whether --enable-radiobox or --disable-radiobox was given.
7625 if test "${enable_radiobox+set}" = set; then
7626 enableval
="$enable_radiobox"
7628 if test "$enableval" = yes; then
7629 ac_cv_use_radiobox
='wxUSE_RADIOBOX=yes'
7631 ac_cv_use_radiobox
='wxUSE_RADIOBOX=no'
7636 LINE
=`grep "wxUSE_RADIOBOX" ${wx_arg_cache_file}`
7637 if test "x$LINE" != x
; then
7638 eval "DEFAULT_$LINE"
7643 ac_cv_use_radiobox
='wxUSE_RADIOBOX='$DEFAULT_wxUSE_RADIOBOX
7647 eval "$ac_cv_use_radiobox"
7648 if test "$no_cache" != 1; then
7649 echo $ac_cv_use_radiobox >> ${wx_arg_cache_file}.tmp
7652 if test "$wxUSE_RADIOBOX" = yes; then
7653 echo "$as_me:$LINENO: result: yes" >&5
7654 echo "${ECHO_T}yes" >&6
7656 echo "$as_me:$LINENO: result: no" >&5
7657 echo "${ECHO_T}no" >&6
7662 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-radiobtn" >&5
7663 echo $ECHO_N "checking for --${enablestring:-enable}-radiobtn... $ECHO_C" >&6
7665 # Check whether --enable-radiobtn or --disable-radiobtn was given.
7666 if test "${enable_radiobtn+set}" = set; then
7667 enableval
="$enable_radiobtn"
7669 if test "$enableval" = yes; then
7670 ac_cv_use_radiobtn
='wxUSE_RADIOBTN=yes'
7672 ac_cv_use_radiobtn
='wxUSE_RADIOBTN=no'
7677 LINE
=`grep "wxUSE_RADIOBTN" ${wx_arg_cache_file}`
7678 if test "x$LINE" != x
; then
7679 eval "DEFAULT_$LINE"
7684 ac_cv_use_radiobtn
='wxUSE_RADIOBTN='$DEFAULT_wxUSE_RADIOBTN
7688 eval "$ac_cv_use_radiobtn"
7689 if test "$no_cache" != 1; then
7690 echo $ac_cv_use_radiobtn >> ${wx_arg_cache_file}.tmp
7693 if test "$wxUSE_RADIOBTN" = yes; then
7694 echo "$as_me:$LINENO: result: yes" >&5
7695 echo "${ECHO_T}yes" >&6
7697 echo "$as_me:$LINENO: result: no" >&5
7698 echo "${ECHO_T}no" >&6
7703 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sash" >&5
7704 echo $ECHO_N "checking for --${enablestring:-enable}-sash... $ECHO_C" >&6
7706 # Check whether --enable-sash or --disable-sash was given.
7707 if test "${enable_sash+set}" = set; then
7708 enableval
="$enable_sash"
7710 if test "$enableval" = yes; then
7711 ac_cv_use_sash
='wxUSE_SASH=yes'
7713 ac_cv_use_sash
='wxUSE_SASH=no'
7718 LINE
=`grep "wxUSE_SASH" ${wx_arg_cache_file}`
7719 if test "x$LINE" != x
; then
7720 eval "DEFAULT_$LINE"
7725 ac_cv_use_sash
='wxUSE_SASH='$DEFAULT_wxUSE_SASH
7729 eval "$ac_cv_use_sash"
7730 if test "$no_cache" != 1; then
7731 echo $ac_cv_use_sash >> ${wx_arg_cache_file}.tmp
7734 if test "$wxUSE_SASH" = yes; then
7735 echo "$as_me:$LINENO: result: yes" >&5
7736 echo "${ECHO_T}yes" >&6
7738 echo "$as_me:$LINENO: result: no" >&5
7739 echo "${ECHO_T}no" >&6
7744 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-scrollbar" >&5
7745 echo $ECHO_N "checking for --${enablestring:-enable}-scrollbar... $ECHO_C" >&6
7747 # Check whether --enable-scrollbar or --disable-scrollbar was given.
7748 if test "${enable_scrollbar+set}" = set; then
7749 enableval
="$enable_scrollbar"
7751 if test "$enableval" = yes; then
7752 ac_cv_use_scrollbar
='wxUSE_SCROLLBAR=yes'
7754 ac_cv_use_scrollbar
='wxUSE_SCROLLBAR=no'
7759 LINE
=`grep "wxUSE_SCROLLBAR" ${wx_arg_cache_file}`
7760 if test "x$LINE" != x
; then
7761 eval "DEFAULT_$LINE"
7766 ac_cv_use_scrollbar
='wxUSE_SCROLLBAR='$DEFAULT_wxUSE_SCROLLBAR
7770 eval "$ac_cv_use_scrollbar"
7771 if test "$no_cache" != 1; then
7772 echo $ac_cv_use_scrollbar >> ${wx_arg_cache_file}.tmp
7775 if test "$wxUSE_SCROLLBAR" = yes; then
7776 echo "$as_me:$LINENO: result: yes" >&5
7777 echo "${ECHO_T}yes" >&6
7779 echo "$as_me:$LINENO: result: no" >&5
7780 echo "${ECHO_T}no" >&6
7785 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-slider" >&5
7786 echo $ECHO_N "checking for --${enablestring:-enable}-slider... $ECHO_C" >&6
7788 # Check whether --enable-slider or --disable-slider was given.
7789 if test "${enable_slider+set}" = set; then
7790 enableval
="$enable_slider"
7792 if test "$enableval" = yes; then
7793 ac_cv_use_slider
='wxUSE_SLIDER=yes'
7795 ac_cv_use_slider
='wxUSE_SLIDER=no'
7800 LINE
=`grep "wxUSE_SLIDER" ${wx_arg_cache_file}`
7801 if test "x$LINE" != x
; then
7802 eval "DEFAULT_$LINE"
7807 ac_cv_use_slider
='wxUSE_SLIDER='$DEFAULT_wxUSE_SLIDER
7811 eval "$ac_cv_use_slider"
7812 if test "$no_cache" != 1; then
7813 echo $ac_cv_use_slider >> ${wx_arg_cache_file}.tmp
7816 if test "$wxUSE_SLIDER" = yes; then
7817 echo "$as_me:$LINENO: result: yes" >&5
7818 echo "${ECHO_T}yes" >&6
7820 echo "$as_me:$LINENO: result: no" >&5
7821 echo "${ECHO_T}no" >&6
7826 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-spinbtn" >&5
7827 echo $ECHO_N "checking for --${enablestring:-enable}-spinbtn... $ECHO_C" >&6
7829 # Check whether --enable-spinbtn or --disable-spinbtn was given.
7830 if test "${enable_spinbtn+set}" = set; then
7831 enableval
="$enable_spinbtn"
7833 if test "$enableval" = yes; then
7834 ac_cv_use_spinbtn
='wxUSE_SPINBTN=yes'
7836 ac_cv_use_spinbtn
='wxUSE_SPINBTN=no'
7841 LINE
=`grep "wxUSE_SPINBTN" ${wx_arg_cache_file}`
7842 if test "x$LINE" != x
; then
7843 eval "DEFAULT_$LINE"
7848 ac_cv_use_spinbtn
='wxUSE_SPINBTN='$DEFAULT_wxUSE_SPINBTN
7852 eval "$ac_cv_use_spinbtn"
7853 if test "$no_cache" != 1; then
7854 echo $ac_cv_use_spinbtn >> ${wx_arg_cache_file}.tmp
7857 if test "$wxUSE_SPINBTN" = yes; then
7858 echo "$as_me:$LINENO: result: yes" >&5
7859 echo "${ECHO_T}yes" >&6
7861 echo "$as_me:$LINENO: result: no" >&5
7862 echo "${ECHO_T}no" >&6
7867 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-spinctrl" >&5
7868 echo $ECHO_N "checking for --${enablestring:-enable}-spinctrl... $ECHO_C" >&6
7870 # Check whether --enable-spinctrl or --disable-spinctrl was given.
7871 if test "${enable_spinctrl+set}" = set; then
7872 enableval
="$enable_spinctrl"
7874 if test "$enableval" = yes; then
7875 ac_cv_use_spinctrl
='wxUSE_SPINCTRL=yes'
7877 ac_cv_use_spinctrl
='wxUSE_SPINCTRL=no'
7882 LINE
=`grep "wxUSE_SPINCTRL" ${wx_arg_cache_file}`
7883 if test "x$LINE" != x
; then
7884 eval "DEFAULT_$LINE"
7889 ac_cv_use_spinctrl
='wxUSE_SPINCTRL='$DEFAULT_wxUSE_SPINCTRL
7893 eval "$ac_cv_use_spinctrl"
7894 if test "$no_cache" != 1; then
7895 echo $ac_cv_use_spinctrl >> ${wx_arg_cache_file}.tmp
7898 if test "$wxUSE_SPINCTRL" = yes; then
7899 echo "$as_me:$LINENO: result: yes" >&5
7900 echo "${ECHO_T}yes" >&6
7902 echo "$as_me:$LINENO: result: no" >&5
7903 echo "${ECHO_T}no" >&6
7908 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splitter" >&5
7909 echo $ECHO_N "checking for --${enablestring:-enable}-splitter... $ECHO_C" >&6
7911 # Check whether --enable-splitter or --disable-splitter was given.
7912 if test "${enable_splitter+set}" = set; then
7913 enableval
="$enable_splitter"
7915 if test "$enableval" = yes; then
7916 ac_cv_use_splitter
='wxUSE_SPLITTER=yes'
7918 ac_cv_use_splitter
='wxUSE_SPLITTER=no'
7923 LINE
=`grep "wxUSE_SPLITTER" ${wx_arg_cache_file}`
7924 if test "x$LINE" != x
; then
7925 eval "DEFAULT_$LINE"
7930 ac_cv_use_splitter
='wxUSE_SPLITTER='$DEFAULT_wxUSE_SPLITTER
7934 eval "$ac_cv_use_splitter"
7935 if test "$no_cache" != 1; then
7936 echo $ac_cv_use_splitter >> ${wx_arg_cache_file}.tmp
7939 if test "$wxUSE_SPLITTER" = yes; then
7940 echo "$as_me:$LINENO: result: yes" >&5
7941 echo "${ECHO_T}yes" >&6
7943 echo "$as_me:$LINENO: result: no" >&5
7944 echo "${ECHO_T}no" >&6
7949 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statbmp" >&5
7950 echo $ECHO_N "checking for --${enablestring:-enable}-statbmp... $ECHO_C" >&6
7952 # Check whether --enable-statbmp or --disable-statbmp was given.
7953 if test "${enable_statbmp+set}" = set; then
7954 enableval
="$enable_statbmp"
7956 if test "$enableval" = yes; then
7957 ac_cv_use_statbmp
='wxUSE_STATBMP=yes'
7959 ac_cv_use_statbmp
='wxUSE_STATBMP=no'
7964 LINE
=`grep "wxUSE_STATBMP" ${wx_arg_cache_file}`
7965 if test "x$LINE" != x
; then
7966 eval "DEFAULT_$LINE"
7971 ac_cv_use_statbmp
='wxUSE_STATBMP='$DEFAULT_wxUSE_STATBMP
7975 eval "$ac_cv_use_statbmp"
7976 if test "$no_cache" != 1; then
7977 echo $ac_cv_use_statbmp >> ${wx_arg_cache_file}.tmp
7980 if test "$wxUSE_STATBMP" = yes; then
7981 echo "$as_me:$LINENO: result: yes" >&5
7982 echo "${ECHO_T}yes" >&6
7984 echo "$as_me:$LINENO: result: no" >&5
7985 echo "${ECHO_T}no" >&6
7990 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statbox" >&5
7991 echo $ECHO_N "checking for --${enablestring:-enable}-statbox... $ECHO_C" >&6
7993 # Check whether --enable-statbox or --disable-statbox was given.
7994 if test "${enable_statbox+set}" = set; then
7995 enableval
="$enable_statbox"
7997 if test "$enableval" = yes; then
7998 ac_cv_use_statbox
='wxUSE_STATBOX=yes'
8000 ac_cv_use_statbox
='wxUSE_STATBOX=no'
8005 LINE
=`grep "wxUSE_STATBOX" ${wx_arg_cache_file}`
8006 if test "x$LINE" != x
; then
8007 eval "DEFAULT_$LINE"
8012 ac_cv_use_statbox
='wxUSE_STATBOX='$DEFAULT_wxUSE_STATBOX
8016 eval "$ac_cv_use_statbox"
8017 if test "$no_cache" != 1; then
8018 echo $ac_cv_use_statbox >> ${wx_arg_cache_file}.tmp
8021 if test "$wxUSE_STATBOX" = yes; then
8022 echo "$as_me:$LINENO: result: yes" >&5
8023 echo "${ECHO_T}yes" >&6
8025 echo "$as_me:$LINENO: result: no" >&5
8026 echo "${ECHO_T}no" >&6
8031 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statline" >&5
8032 echo $ECHO_N "checking for --${enablestring:-enable}-statline... $ECHO_C" >&6
8034 # Check whether --enable-statline or --disable-statline was given.
8035 if test "${enable_statline+set}" = set; then
8036 enableval
="$enable_statline"
8038 if test "$enableval" = yes; then
8039 ac_cv_use_statline
='wxUSE_STATLINE=yes'
8041 ac_cv_use_statline
='wxUSE_STATLINE=no'
8046 LINE
=`grep "wxUSE_STATLINE" ${wx_arg_cache_file}`
8047 if test "x$LINE" != x
; then
8048 eval "DEFAULT_$LINE"
8053 ac_cv_use_statline
='wxUSE_STATLINE='$DEFAULT_wxUSE_STATLINE
8057 eval "$ac_cv_use_statline"
8058 if test "$no_cache" != 1; then
8059 echo $ac_cv_use_statline >> ${wx_arg_cache_file}.tmp
8062 if test "$wxUSE_STATLINE" = yes; then
8063 echo "$as_me:$LINENO: result: yes" >&5
8064 echo "${ECHO_T}yes" >&6
8066 echo "$as_me:$LINENO: result: no" >&5
8067 echo "${ECHO_T}no" >&6
8072 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stattext" >&5
8073 echo $ECHO_N "checking for --${enablestring:-enable}-stattext... $ECHO_C" >&6
8075 # Check whether --enable-stattext or --disable-stattext was given.
8076 if test "${enable_stattext+set}" = set; then
8077 enableval
="$enable_stattext"
8079 if test "$enableval" = yes; then
8080 ac_cv_use_stattext
='wxUSE_STATTEXT=yes'
8082 ac_cv_use_stattext
='wxUSE_STATTEXT=no'
8087 LINE
=`grep "wxUSE_STATTEXT" ${wx_arg_cache_file}`
8088 if test "x$LINE" != x
; then
8089 eval "DEFAULT_$LINE"
8094 ac_cv_use_stattext
='wxUSE_STATTEXT='$DEFAULT_wxUSE_STATTEXT
8098 eval "$ac_cv_use_stattext"
8099 if test "$no_cache" != 1; then
8100 echo $ac_cv_use_stattext >> ${wx_arg_cache_file}.tmp
8103 if test "$wxUSE_STATTEXT" = yes; then
8104 echo "$as_me:$LINENO: result: yes" >&5
8105 echo "${ECHO_T}yes" >&6
8107 echo "$as_me:$LINENO: result: no" >&5
8108 echo "${ECHO_T}no" >&6
8113 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statusbar" >&5
8114 echo $ECHO_N "checking for --${enablestring:-enable}-statusbar... $ECHO_C" >&6
8116 # Check whether --enable-statusbar or --disable-statusbar was given.
8117 if test "${enable_statusbar+set}" = set; then
8118 enableval
="$enable_statusbar"
8120 if test "$enableval" = yes; then
8121 ac_cv_use_statusbar
='wxUSE_STATUSBAR=yes'
8123 ac_cv_use_statusbar
='wxUSE_STATUSBAR=no'
8128 LINE
=`grep "wxUSE_STATUSBAR" ${wx_arg_cache_file}`
8129 if test "x$LINE" != x
; then
8130 eval "DEFAULT_$LINE"
8135 ac_cv_use_statusbar
='wxUSE_STATUSBAR='$DEFAULT_wxUSE_STATUSBAR
8139 eval "$ac_cv_use_statusbar"
8140 if test "$no_cache" != 1; then
8141 echo $ac_cv_use_statusbar >> ${wx_arg_cache_file}.tmp
8144 if test "$wxUSE_STATUSBAR" = yes; then
8145 echo "$as_me:$LINENO: result: yes" >&5
8146 echo "${ECHO_T}yes" >&6
8148 echo "$as_me:$LINENO: result: no" >&5
8149 echo "${ECHO_T}no" >&6
8154 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tabdialog" >&5
8155 echo $ECHO_N "checking for --${enablestring:-enable}-tabdialog... $ECHO_C" >&6
8157 # Check whether --enable-tabdialog or --disable-tabdialog was given.
8158 if test "${enable_tabdialog+set}" = set; then
8159 enableval
="$enable_tabdialog"
8161 if test "$enableval" = yes; then
8162 ac_cv_use_tabdialog
='wxUSE_TABDIALOG=yes'
8164 ac_cv_use_tabdialog
='wxUSE_TABDIALOG=no'
8169 LINE
=`grep "wxUSE_TABDIALOG" ${wx_arg_cache_file}`
8170 if test "x$LINE" != x
; then
8171 eval "DEFAULT_$LINE"
8176 ac_cv_use_tabdialog
='wxUSE_TABDIALOG='$DEFAULT_wxUSE_TABDIALOG
8180 eval "$ac_cv_use_tabdialog"
8181 if test "$no_cache" != 1; then
8182 echo $ac_cv_use_tabdialog >> ${wx_arg_cache_file}.tmp
8185 if test "$wxUSE_TABDIALOG" = yes; then
8186 echo "$as_me:$LINENO: result: yes" >&5
8187 echo "${ECHO_T}yes" >&6
8189 echo "$as_me:$LINENO: result: no" >&5
8190 echo "${ECHO_T}no" >&6
8195 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textctrl" >&5
8196 echo $ECHO_N "checking for --${enablestring:-enable}-textctrl... $ECHO_C" >&6
8198 # Check whether --enable-textctrl or --disable-textctrl was given.
8199 if test "${enable_textctrl+set}" = set; then
8200 enableval
="$enable_textctrl"
8202 if test "$enableval" = yes; then
8203 ac_cv_use_textctrl
='wxUSE_TEXTCTRL=yes'
8205 ac_cv_use_textctrl
='wxUSE_TEXTCTRL=no'
8210 LINE
=`grep "wxUSE_TEXTCTRL" ${wx_arg_cache_file}`
8211 if test "x$LINE" != x
; then
8212 eval "DEFAULT_$LINE"
8217 ac_cv_use_textctrl
='wxUSE_TEXTCTRL='$DEFAULT_wxUSE_TEXTCTRL
8221 eval "$ac_cv_use_textctrl"
8222 if test "$no_cache" != 1; then
8223 echo $ac_cv_use_textctrl >> ${wx_arg_cache_file}.tmp
8226 if test "$wxUSE_TEXTCTRL" = yes; then
8227 echo "$as_me:$LINENO: result: yes" >&5
8228 echo "${ECHO_T}yes" >&6
8230 echo "$as_me:$LINENO: result: no" >&5
8231 echo "${ECHO_T}no" >&6
8236 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-togglebtn" >&5
8237 echo $ECHO_N "checking for --${enablestring:-enable}-togglebtn... $ECHO_C" >&6
8239 # Check whether --enable-togglebtn or --disable-togglebtn was given.
8240 if test "${enable_togglebtn+set}" = set; then
8241 enableval
="$enable_togglebtn"
8243 if test "$enableval" = yes; then
8244 ac_cv_use_togglebtn
='wxUSE_TOGGLEBTN=yes'
8246 ac_cv_use_togglebtn
='wxUSE_TOGGLEBTN=no'
8251 LINE
=`grep "wxUSE_TOGGLEBTN" ${wx_arg_cache_file}`
8252 if test "x$LINE" != x
; then
8253 eval "DEFAULT_$LINE"
8258 ac_cv_use_togglebtn
='wxUSE_TOGGLEBTN='$DEFAULT_wxUSE_TOGGLEBTN
8262 eval "$ac_cv_use_togglebtn"
8263 if test "$no_cache" != 1; then
8264 echo $ac_cv_use_togglebtn >> ${wx_arg_cache_file}.tmp
8267 if test "$wxUSE_TOGGLEBTN" = yes; then
8268 echo "$as_me:$LINENO: result: yes" >&5
8269 echo "${ECHO_T}yes" >&6
8271 echo "$as_me:$LINENO: result: no" >&5
8272 echo "${ECHO_T}no" >&6
8277 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-toolbar" >&5
8278 echo $ECHO_N "checking for --${enablestring:-enable}-toolbar... $ECHO_C" >&6
8280 # Check whether --enable-toolbar or --disable-toolbar was given.
8281 if test "${enable_toolbar+set}" = set; then
8282 enableval
="$enable_toolbar"
8284 if test "$enableval" = yes; then
8285 ac_cv_use_toolbar
='wxUSE_TOOLBAR=yes'
8287 ac_cv_use_toolbar
='wxUSE_TOOLBAR=no'
8292 LINE
=`grep "wxUSE_TOOLBAR" ${wx_arg_cache_file}`
8293 if test "x$LINE" != x
; then
8294 eval "DEFAULT_$LINE"
8299 ac_cv_use_toolbar
='wxUSE_TOOLBAR='$DEFAULT_wxUSE_TOOLBAR
8303 eval "$ac_cv_use_toolbar"
8304 if test "$no_cache" != 1; then
8305 echo $ac_cv_use_toolbar >> ${wx_arg_cache_file}.tmp
8308 if test "$wxUSE_TOOLBAR" = yes; then
8309 echo "$as_me:$LINENO: result: yes" >&5
8310 echo "${ECHO_T}yes" >&6
8312 echo "$as_me:$LINENO: result: no" >&5
8313 echo "${ECHO_T}no" >&6
8318 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tbarnative" >&5
8319 echo $ECHO_N "checking for --${enablestring:-enable}-tbarnative... $ECHO_C" >&6
8321 # Check whether --enable-tbarnative or --disable-tbarnative was given.
8322 if test "${enable_tbarnative+set}" = set; then
8323 enableval
="$enable_tbarnative"
8325 if test "$enableval" = yes; then
8326 ac_cv_use_tbarnative
='wxUSE_TOOLBAR_NATIVE=yes'
8328 ac_cv_use_tbarnative
='wxUSE_TOOLBAR_NATIVE=no'
8333 LINE
=`grep "wxUSE_TOOLBAR_NATIVE" ${wx_arg_cache_file}`
8334 if test "x$LINE" != x
; then
8335 eval "DEFAULT_$LINE"
8340 ac_cv_use_tbarnative
='wxUSE_TOOLBAR_NATIVE='$DEFAULT_wxUSE_TOOLBAR_NATIVE
8344 eval "$ac_cv_use_tbarnative"
8345 if test "$no_cache" != 1; then
8346 echo $ac_cv_use_tbarnative >> ${wx_arg_cache_file}.tmp
8349 if test "$wxUSE_TOOLBAR_NATIVE" = yes; then
8350 echo "$as_me:$LINENO: result: yes" >&5
8351 echo "${ECHO_T}yes" >&6
8353 echo "$as_me:$LINENO: result: no" >&5
8354 echo "${ECHO_T}no" >&6
8359 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tbarsmpl" >&5
8360 echo $ECHO_N "checking for --${enablestring:-enable}-tbarsmpl... $ECHO_C" >&6
8362 # Check whether --enable-tbarsmpl or --disable-tbarsmpl was given.
8363 if test "${enable_tbarsmpl+set}" = set; then
8364 enableval
="$enable_tbarsmpl"
8366 if test "$enableval" = yes; then
8367 ac_cv_use_tbarsmpl
='wxUSE_TOOLBAR_SIMPLE=yes'
8369 ac_cv_use_tbarsmpl
='wxUSE_TOOLBAR_SIMPLE=no'
8374 LINE
=`grep "wxUSE_TOOLBAR_SIMPLE" ${wx_arg_cache_file}`
8375 if test "x$LINE" != x
; then
8376 eval "DEFAULT_$LINE"
8381 ac_cv_use_tbarsmpl
='wxUSE_TOOLBAR_SIMPLE='$DEFAULT_wxUSE_TOOLBAR_SIMPLE
8385 eval "$ac_cv_use_tbarsmpl"
8386 if test "$no_cache" != 1; then
8387 echo $ac_cv_use_tbarsmpl >> ${wx_arg_cache_file}.tmp
8390 if test "$wxUSE_TOOLBAR_SIMPLE" = yes; then
8391 echo "$as_me:$LINENO: result: yes" >&5
8392 echo "${ECHO_T}yes" >&6
8394 echo "$as_me:$LINENO: result: no" >&5
8395 echo "${ECHO_T}no" >&6
8400 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-treectrl" >&5
8401 echo $ECHO_N "checking for --${enablestring:-enable}-treectrl... $ECHO_C" >&6
8403 # Check whether --enable-treectrl or --disable-treectrl was given.
8404 if test "${enable_treectrl+set}" = set; then
8405 enableval
="$enable_treectrl"
8407 if test "$enableval" = yes; then
8408 ac_cv_use_treectrl
='wxUSE_TREECTRL=yes'
8410 ac_cv_use_treectrl
='wxUSE_TREECTRL=no'
8415 LINE
=`grep "wxUSE_TREECTRL" ${wx_arg_cache_file}`
8416 if test "x$LINE" != x
; then
8417 eval "DEFAULT_$LINE"
8422 ac_cv_use_treectrl
='wxUSE_TREECTRL='$DEFAULT_wxUSE_TREECTRL
8426 eval "$ac_cv_use_treectrl"
8427 if test "$no_cache" != 1; then
8428 echo $ac_cv_use_treectrl >> ${wx_arg_cache_file}.tmp
8431 if test "$wxUSE_TREECTRL" = yes; then
8432 echo "$as_me:$LINENO: result: yes" >&5
8433 echo "${ECHO_T}yes" >&6
8435 echo "$as_me:$LINENO: result: no" >&5
8436 echo "${ECHO_T}no" >&6
8441 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tipwindow" >&5
8442 echo $ECHO_N "checking for --${enablestring:-enable}-tipwindow... $ECHO_C" >&6
8444 # Check whether --enable-tipwindow or --disable-tipwindow was given.
8445 if test "${enable_tipwindow+set}" = set; then
8446 enableval
="$enable_tipwindow"
8448 if test "$enableval" = yes; then
8449 ac_cv_use_tipwindow
='wxUSE_TIPWINDOW=yes'
8451 ac_cv_use_tipwindow
='wxUSE_TIPWINDOW=no'
8456 LINE
=`grep "wxUSE_TIPWINDOW" ${wx_arg_cache_file}`
8457 if test "x$LINE" != x
; then
8458 eval "DEFAULT_$LINE"
8463 ac_cv_use_tipwindow
='wxUSE_TIPWINDOW='$DEFAULT_wxUSE_TIPWINDOW
8467 eval "$ac_cv_use_tipwindow"
8468 if test "$no_cache" != 1; then
8469 echo $ac_cv_use_tipwindow >> ${wx_arg_cache_file}.tmp
8472 if test "$wxUSE_TIPWINDOW" = yes; then
8473 echo "$as_me:$LINENO: result: yes" >&5
8474 echo "${ECHO_T}yes" >&6
8476 echo "$as_me:$LINENO: result: no" >&5
8477 echo "${ECHO_T}no" >&6
8482 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-popupwin" >&5
8483 echo $ECHO_N "checking for --${enablestring:-enable}-popupwin... $ECHO_C" >&6
8485 # Check whether --enable-popupwin or --disable-popupwin was given.
8486 if test "${enable_popupwin+set}" = set; then
8487 enableval
="$enable_popupwin"
8489 if test "$enableval" = yes; then
8490 ac_cv_use_popupwin
='wxUSE_POPUPWIN=yes'
8492 ac_cv_use_popupwin
='wxUSE_POPUPWIN=no'
8497 LINE
=`grep "wxUSE_POPUPWIN" ${wx_arg_cache_file}`
8498 if test "x$LINE" != x
; then
8499 eval "DEFAULT_$LINE"
8504 ac_cv_use_popupwin
='wxUSE_POPUPWIN='$DEFAULT_wxUSE_POPUPWIN
8508 eval "$ac_cv_use_popupwin"
8509 if test "$no_cache" != 1; then
8510 echo $ac_cv_use_popupwin >> ${wx_arg_cache_file}.tmp
8513 if test "$wxUSE_POPUPWIN" = yes; then
8514 echo "$as_me:$LINENO: result: yes" >&5
8515 echo "${ECHO_T}yes" >&6
8517 echo "$as_me:$LINENO: result: no" >&5
8518 echo "${ECHO_T}no" >&6
8525 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-commondlg" >&5
8526 echo $ECHO_N "checking for --${enablestring:-enable}-commondlg... $ECHO_C" >&6
8528 # Check whether --enable-commondlg or --disable-commondlg was given.
8529 if test "${enable_commondlg+set}" = set; then
8530 enableval
="$enable_commondlg"
8532 if test "$enableval" = yes; then
8533 ac_cv_use_commondlg
='wxUSE_COMMONDLGS=yes'
8535 ac_cv_use_commondlg
='wxUSE_COMMONDLGS=no'
8540 LINE
=`grep "wxUSE_COMMONDLGS" ${wx_arg_cache_file}`
8541 if test "x$LINE" != x
; then
8542 eval "DEFAULT_$LINE"
8547 ac_cv_use_commondlg
='wxUSE_COMMONDLGS='$DEFAULT_wxUSE_COMMONDLGS
8551 eval "$ac_cv_use_commondlg"
8552 if test "$no_cache" != 1; then
8553 echo $ac_cv_use_commondlg >> ${wx_arg_cache_file}.tmp
8556 if test "$wxUSE_COMMONDLGS" = yes; then
8557 echo "$as_me:$LINENO: result: yes" >&5
8558 echo "${ECHO_T}yes" >&6
8560 echo "$as_me:$LINENO: result: no" >&5
8561 echo "${ECHO_T}no" >&6
8566 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choicedlg" >&5
8567 echo $ECHO_N "checking for --${enablestring:-enable}-choicedlg... $ECHO_C" >&6
8569 # Check whether --enable-choicedlg or --disable-choicedlg was given.
8570 if test "${enable_choicedlg+set}" = set; then
8571 enableval
="$enable_choicedlg"
8573 if test "$enableval" = yes; then
8574 ac_cv_use_choicedlg
='wxUSE_CHOICEDLG=yes'
8576 ac_cv_use_choicedlg
='wxUSE_CHOICEDLG=no'
8581 LINE
=`grep "wxUSE_CHOICEDLG" ${wx_arg_cache_file}`
8582 if test "x$LINE" != x
; then
8583 eval "DEFAULT_$LINE"
8588 ac_cv_use_choicedlg
='wxUSE_CHOICEDLG='$DEFAULT_wxUSE_CHOICEDLG
8592 eval "$ac_cv_use_choicedlg"
8593 if test "$no_cache" != 1; then
8594 echo $ac_cv_use_choicedlg >> ${wx_arg_cache_file}.tmp
8597 if test "$wxUSE_CHOICEDLG" = yes; then
8598 echo "$as_me:$LINENO: result: yes" >&5
8599 echo "${ECHO_T}yes" >&6
8601 echo "$as_me:$LINENO: result: no" >&5
8602 echo "${ECHO_T}no" >&6
8607 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-coldlg" >&5
8608 echo $ECHO_N "checking for --${enablestring:-enable}-coldlg... $ECHO_C" >&6
8610 # Check whether --enable-coldlg or --disable-coldlg was given.
8611 if test "${enable_coldlg+set}" = set; then
8612 enableval
="$enable_coldlg"
8614 if test "$enableval" = yes; then
8615 ac_cv_use_coldlg
='wxUSE_COLOURDLG=yes'
8617 ac_cv_use_coldlg
='wxUSE_COLOURDLG=no'
8622 LINE
=`grep "wxUSE_COLOURDLG" ${wx_arg_cache_file}`
8623 if test "x$LINE" != x
; then
8624 eval "DEFAULT_$LINE"
8629 ac_cv_use_coldlg
='wxUSE_COLOURDLG='$DEFAULT_wxUSE_COLOURDLG
8633 eval "$ac_cv_use_coldlg"
8634 if test "$no_cache" != 1; then
8635 echo $ac_cv_use_coldlg >> ${wx_arg_cache_file}.tmp
8638 if test "$wxUSE_COLOURDLG" = yes; then
8639 echo "$as_me:$LINENO: result: yes" >&5
8640 echo "${ECHO_T}yes" >&6
8642 echo "$as_me:$LINENO: result: no" >&5
8643 echo "${ECHO_T}no" >&6
8648 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filedlg" >&5
8649 echo $ECHO_N "checking for --${enablestring:-enable}-filedlg... $ECHO_C" >&6
8651 # Check whether --enable-filedlg or --disable-filedlg was given.
8652 if test "${enable_filedlg+set}" = set; then
8653 enableval
="$enable_filedlg"
8655 if test "$enableval" = yes; then
8656 ac_cv_use_filedlg
='wxUSE_FILEDLG=yes'
8658 ac_cv_use_filedlg
='wxUSE_FILEDLG=no'
8663 LINE
=`grep "wxUSE_FILEDLG" ${wx_arg_cache_file}`
8664 if test "x$LINE" != x
; then
8665 eval "DEFAULT_$LINE"
8670 ac_cv_use_filedlg
='wxUSE_FILEDLG='$DEFAULT_wxUSE_FILEDLG
8674 eval "$ac_cv_use_filedlg"
8675 if test "$no_cache" != 1; then
8676 echo $ac_cv_use_filedlg >> ${wx_arg_cache_file}.tmp
8679 if test "$wxUSE_FILEDLG" = yes; then
8680 echo "$as_me:$LINENO: result: yes" >&5
8681 echo "${ECHO_T}yes" >&6
8683 echo "$as_me:$LINENO: result: no" >&5
8684 echo "${ECHO_T}no" >&6
8689 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-finddlg" >&5
8690 echo $ECHO_N "checking for --${enablestring:-enable}-finddlg... $ECHO_C" >&6
8692 # Check whether --enable-finddlg or --disable-finddlg was given.
8693 if test "${enable_finddlg+set}" = set; then
8694 enableval
="$enable_finddlg"
8696 if test "$enableval" = yes; then
8697 ac_cv_use_finddlg
='wxUSE_FINDREPLDLG=yes'
8699 ac_cv_use_finddlg
='wxUSE_FINDREPLDLG=no'
8704 LINE
=`grep "wxUSE_FINDREPLDLG" ${wx_arg_cache_file}`
8705 if test "x$LINE" != x
; then
8706 eval "DEFAULT_$LINE"
8711 ac_cv_use_finddlg
='wxUSE_FINDREPLDLG='$DEFAULT_wxUSE_FINDREPLDLG
8715 eval "$ac_cv_use_finddlg"
8716 if test "$no_cache" != 1; then
8717 echo $ac_cv_use_finddlg >> ${wx_arg_cache_file}.tmp
8720 if test "$wxUSE_FINDREPLDLG" = yes; then
8721 echo "$as_me:$LINENO: result: yes" >&5
8722 echo "${ECHO_T}yes" >&6
8724 echo "$as_me:$LINENO: result: no" >&5
8725 echo "${ECHO_T}no" >&6
8730 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontdlg" >&5
8731 echo $ECHO_N "checking for --${enablestring:-enable}-fontdlg... $ECHO_C" >&6
8733 # Check whether --enable-fontdlg or --disable-fontdlg was given.
8734 if test "${enable_fontdlg+set}" = set; then
8735 enableval
="$enable_fontdlg"
8737 if test "$enableval" = yes; then
8738 ac_cv_use_fontdlg
='wxUSE_FONTDLG=yes'
8740 ac_cv_use_fontdlg
='wxUSE_FONTDLG=no'
8745 LINE
=`grep "wxUSE_FONTDLG" ${wx_arg_cache_file}`
8746 if test "x$LINE" != x
; then
8747 eval "DEFAULT_$LINE"
8752 ac_cv_use_fontdlg
='wxUSE_FONTDLG='$DEFAULT_wxUSE_FONTDLG
8756 eval "$ac_cv_use_fontdlg"
8757 if test "$no_cache" != 1; then
8758 echo $ac_cv_use_fontdlg >> ${wx_arg_cache_file}.tmp
8761 if test "$wxUSE_FONTDLG" = yes; then
8762 echo "$as_me:$LINENO: result: yes" >&5
8763 echo "${ECHO_T}yes" >&6
8765 echo "$as_me:$LINENO: result: no" >&5
8766 echo "${ECHO_T}no" >&6
8771 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dirdlg" >&5
8772 echo $ECHO_N "checking for --${enablestring:-enable}-dirdlg... $ECHO_C" >&6
8774 # Check whether --enable-dirdlg or --disable-dirdlg was given.
8775 if test "${enable_dirdlg+set}" = set; then
8776 enableval
="$enable_dirdlg"
8778 if test "$enableval" = yes; then
8779 ac_cv_use_dirdlg
='wxUSE_DIRDLG=yes'
8781 ac_cv_use_dirdlg
='wxUSE_DIRDLG=no'
8786 LINE
=`grep "wxUSE_DIRDLG" ${wx_arg_cache_file}`
8787 if test "x$LINE" != x
; then
8788 eval "DEFAULT_$LINE"
8793 ac_cv_use_dirdlg
='wxUSE_DIRDLG='$DEFAULT_wxUSE_DIRDLG
8797 eval "$ac_cv_use_dirdlg"
8798 if test "$no_cache" != 1; then
8799 echo $ac_cv_use_dirdlg >> ${wx_arg_cache_file}.tmp
8802 if test "$wxUSE_DIRDLG" = yes; then
8803 echo "$as_me:$LINENO: result: yes" >&5
8804 echo "${ECHO_T}yes" >&6
8806 echo "$as_me:$LINENO: result: no" >&5
8807 echo "${ECHO_T}no" >&6
8812 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-msgdlg" >&5
8813 echo $ECHO_N "checking for --${enablestring:-enable}-msgdlg... $ECHO_C" >&6
8815 # Check whether --enable-msgdlg or --disable-msgdlg was given.
8816 if test "${enable_msgdlg+set}" = set; then
8817 enableval
="$enable_msgdlg"
8819 if test "$enableval" = yes; then
8820 ac_cv_use_msgdlg
='wxUSE_MSGDLG=yes'
8822 ac_cv_use_msgdlg
='wxUSE_MSGDLG=no'
8827 LINE
=`grep "wxUSE_MSGDLG" ${wx_arg_cache_file}`
8828 if test "x$LINE" != x
; then
8829 eval "DEFAULT_$LINE"
8834 ac_cv_use_msgdlg
='wxUSE_MSGDLG='$DEFAULT_wxUSE_MSGDLG
8838 eval "$ac_cv_use_msgdlg"
8839 if test "$no_cache" != 1; then
8840 echo $ac_cv_use_msgdlg >> ${wx_arg_cache_file}.tmp
8843 if test "$wxUSE_MSGDLG" = yes; then
8844 echo "$as_me:$LINENO: result: yes" >&5
8845 echo "${ECHO_T}yes" >&6
8847 echo "$as_me:$LINENO: result: no" >&5
8848 echo "${ECHO_T}no" >&6
8853 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-numberdlg" >&5
8854 echo $ECHO_N "checking for --${enablestring:-enable}-numberdlg... $ECHO_C" >&6
8856 # Check whether --enable-numberdlg or --disable-numberdlg was given.
8857 if test "${enable_numberdlg+set}" = set; then
8858 enableval
="$enable_numberdlg"
8860 if test "$enableval" = yes; then
8861 ac_cv_use_numberdlg
='wxUSE_NUMBERDLG=yes'
8863 ac_cv_use_numberdlg
='wxUSE_NUMBERDLG=no'
8868 LINE
=`grep "wxUSE_NUMBERDLG" ${wx_arg_cache_file}`
8869 if test "x$LINE" != x
; then
8870 eval "DEFAULT_$LINE"
8875 ac_cv_use_numberdlg
='wxUSE_NUMBERDLG='$DEFAULT_wxUSE_NUMBERDLG
8879 eval "$ac_cv_use_numberdlg"
8880 if test "$no_cache" != 1; then
8881 echo $ac_cv_use_numberdlg >> ${wx_arg_cache_file}.tmp
8884 if test "$wxUSE_NUMBERDLG" = yes; then
8885 echo "$as_me:$LINENO: result: yes" >&5
8886 echo "${ECHO_T}yes" >&6
8888 echo "$as_me:$LINENO: result: no" >&5
8889 echo "${ECHO_T}no" >&6
8894 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splash" >&5
8895 echo $ECHO_N "checking for --${enablestring:-enable}-splash... $ECHO_C" >&6
8897 # Check whether --enable-splash or --disable-splash was given.
8898 if test "${enable_splash+set}" = set; then
8899 enableval
="$enable_splash"
8901 if test "$enableval" = yes; then
8902 ac_cv_use_splash
='wxUSE_SPLASH=yes'
8904 ac_cv_use_splash
='wxUSE_SPLASH=no'
8909 LINE
=`grep "wxUSE_SPLASH" ${wx_arg_cache_file}`
8910 if test "x$LINE" != x
; then
8911 eval "DEFAULT_$LINE"
8916 ac_cv_use_splash
='wxUSE_SPLASH='$DEFAULT_wxUSE_SPLASH
8920 eval "$ac_cv_use_splash"
8921 if test "$no_cache" != 1; then
8922 echo $ac_cv_use_splash >> ${wx_arg_cache_file}.tmp
8925 if test "$wxUSE_SPLASH" = yes; then
8926 echo "$as_me:$LINENO: result: yes" >&5
8927 echo "${ECHO_T}yes" >&6
8929 echo "$as_me:$LINENO: result: no" >&5
8930 echo "${ECHO_T}no" >&6
8935 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textdlg" >&5
8936 echo $ECHO_N "checking for --${enablestring:-enable}-textdlg... $ECHO_C" >&6
8938 # Check whether --enable-textdlg or --disable-textdlg was given.
8939 if test "${enable_textdlg+set}" = set; then
8940 enableval
="$enable_textdlg"
8942 if test "$enableval" = yes; then
8943 ac_cv_use_textdlg
='wxUSE_TEXTDLG=yes'
8945 ac_cv_use_textdlg
='wxUSE_TEXTDLG=no'
8950 LINE
=`grep "wxUSE_TEXTDLG" ${wx_arg_cache_file}`
8951 if test "x$LINE" != x
; then
8952 eval "DEFAULT_$LINE"
8957 ac_cv_use_textdlg
='wxUSE_TEXTDLG='$DEFAULT_wxUSE_TEXTDLG
8961 eval "$ac_cv_use_textdlg"
8962 if test "$no_cache" != 1; then
8963 echo $ac_cv_use_textdlg >> ${wx_arg_cache_file}.tmp
8966 if test "$wxUSE_TEXTDLG" = yes; then
8967 echo "$as_me:$LINENO: result: yes" >&5
8968 echo "${ECHO_T}yes" >&6
8970 echo "$as_me:$LINENO: result: no" >&5
8971 echo "${ECHO_T}no" >&6
8976 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tipdlg" >&5
8977 echo $ECHO_N "checking for --${enablestring:-enable}-tipdlg... $ECHO_C" >&6
8979 # Check whether --enable-tipdlg or --disable-tipdlg was given.
8980 if test "${enable_tipdlg+set}" = set; then
8981 enableval
="$enable_tipdlg"
8983 if test "$enableval" = yes; then
8984 ac_cv_use_tipdlg
='wxUSE_STARTUP_TIPS=yes'
8986 ac_cv_use_tipdlg
='wxUSE_STARTUP_TIPS=no'
8991 LINE
=`grep "wxUSE_STARTUP_TIPS" ${wx_arg_cache_file}`
8992 if test "x$LINE" != x
; then
8993 eval "DEFAULT_$LINE"
8998 ac_cv_use_tipdlg
='wxUSE_STARTUP_TIPS='$DEFAULT_wxUSE_STARTUP_TIPS
9002 eval "$ac_cv_use_tipdlg"
9003 if test "$no_cache" != 1; then
9004 echo $ac_cv_use_tipdlg >> ${wx_arg_cache_file}.tmp
9007 if test "$wxUSE_STARTUP_TIPS" = yes; then
9008 echo "$as_me:$LINENO: result: yes" >&5
9009 echo "${ECHO_T}yes" >&6
9011 echo "$as_me:$LINENO: result: no" >&5
9012 echo "${ECHO_T}no" >&6
9017 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-progressdlg" >&5
9018 echo $ECHO_N "checking for --${enablestring:-enable}-progressdlg... $ECHO_C" >&6
9020 # Check whether --enable-progressdlg or --disable-progressdlg was given.
9021 if test "${enable_progressdlg+set}" = set; then
9022 enableval
="$enable_progressdlg"
9024 if test "$enableval" = yes; then
9025 ac_cv_use_progressdlg
='wxUSE_PROGRESSDLG=yes'
9027 ac_cv_use_progressdlg
='wxUSE_PROGRESSDLG=no'
9032 LINE
=`grep "wxUSE_PROGRESSDLG" ${wx_arg_cache_file}`
9033 if test "x$LINE" != x
; then
9034 eval "DEFAULT_$LINE"
9039 ac_cv_use_progressdlg
='wxUSE_PROGRESSDLG='$DEFAULT_wxUSE_PROGRESSDLG
9043 eval "$ac_cv_use_progressdlg"
9044 if test "$no_cache" != 1; then
9045 echo $ac_cv_use_progressdlg >> ${wx_arg_cache_file}.tmp
9048 if test "$wxUSE_PROGRESSDLG" = yes; then
9049 echo "$as_me:$LINENO: result: yes" >&5
9050 echo "${ECHO_T}yes" >&6
9052 echo "$as_me:$LINENO: result: no" >&5
9053 echo "${ECHO_T}no" >&6
9058 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-wizarddlg" >&5
9059 echo $ECHO_N "checking for --${enablestring:-enable}-wizarddlg... $ECHO_C" >&6
9061 # Check whether --enable-wizarddlg or --disable-wizarddlg was given.
9062 if test "${enable_wizarddlg+set}" = set; then
9063 enableval
="$enable_wizarddlg"
9065 if test "$enableval" = yes; then
9066 ac_cv_use_wizarddlg
='wxUSE_WIZARDDLG=yes'
9068 ac_cv_use_wizarddlg
='wxUSE_WIZARDDLG=no'
9073 LINE
=`grep "wxUSE_WIZARDDLG" ${wx_arg_cache_file}`
9074 if test "x$LINE" != x
; then
9075 eval "DEFAULT_$LINE"
9080 ac_cv_use_wizarddlg
='wxUSE_WIZARDDLG='$DEFAULT_wxUSE_WIZARDDLG
9084 eval "$ac_cv_use_wizarddlg"
9085 if test "$no_cache" != 1; then
9086 echo $ac_cv_use_wizarddlg >> ${wx_arg_cache_file}.tmp
9089 if test "$wxUSE_WIZARDDLG" = yes; then
9090 echo "$as_me:$LINENO: result: yes" >&5
9091 echo "${ECHO_T}yes" >&6
9093 echo "$as_me:$LINENO: result: no" >&5
9094 echo "${ECHO_T}no" >&6
9101 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-menus" >&5
9102 echo $ECHO_N "checking for --${enablestring:-enable}-menus... $ECHO_C" >&6
9104 # Check whether --enable-menus or --disable-menus was given.
9105 if test "${enable_menus+set}" = set; then
9106 enableval
="$enable_menus"
9108 if test "$enableval" = yes; then
9109 ac_cv_use_menus
='wxUSE_MENUS=yes'
9111 ac_cv_use_menus
='wxUSE_MENUS=no'
9116 LINE
=`grep "wxUSE_MENUS" ${wx_arg_cache_file}`
9117 if test "x$LINE" != x
; then
9118 eval "DEFAULT_$LINE"
9123 ac_cv_use_menus
='wxUSE_MENUS='$DEFAULT_wxUSE_MENUS
9127 eval "$ac_cv_use_menus"
9128 if test "$no_cache" != 1; then
9129 echo $ac_cv_use_menus >> ${wx_arg_cache_file}.tmp
9132 if test "$wxUSE_MENUS" = yes; then
9133 echo "$as_me:$LINENO: result: yes" >&5
9134 echo "${ECHO_T}yes" >&6
9136 echo "$as_me:$LINENO: result: no" >&5
9137 echo "${ECHO_T}no" >&6
9142 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-miniframe" >&5
9143 echo $ECHO_N "checking for --${enablestring:-enable}-miniframe... $ECHO_C" >&6
9145 # Check whether --enable-miniframe or --disable-miniframe was given.
9146 if test "${enable_miniframe+set}" = set; then
9147 enableval
="$enable_miniframe"
9149 if test "$enableval" = yes; then
9150 ac_cv_use_miniframe
='wxUSE_MINIFRAME=yes'
9152 ac_cv_use_miniframe
='wxUSE_MINIFRAME=no'
9157 LINE
=`grep "wxUSE_MINIFRAME" ${wx_arg_cache_file}`
9158 if test "x$LINE" != x
; then
9159 eval "DEFAULT_$LINE"
9164 ac_cv_use_miniframe
='wxUSE_MINIFRAME='$DEFAULT_wxUSE_MINIFRAME
9168 eval "$ac_cv_use_miniframe"
9169 if test "$no_cache" != 1; then
9170 echo $ac_cv_use_miniframe >> ${wx_arg_cache_file}.tmp
9173 if test "$wxUSE_MINIFRAME" = yes; then
9174 echo "$as_me:$LINENO: result: yes" >&5
9175 echo "${ECHO_T}yes" >&6
9177 echo "$as_me:$LINENO: result: no" >&5
9178 echo "${ECHO_T}no" >&6
9183 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tooltips" >&5
9184 echo $ECHO_N "checking for --${enablestring:-enable}-tooltips... $ECHO_C" >&6
9186 # Check whether --enable-tooltips or --disable-tooltips was given.
9187 if test "${enable_tooltips+set}" = set; then
9188 enableval
="$enable_tooltips"
9190 if test "$enableval" = yes; then
9191 ac_cv_use_tooltips
='wxUSE_TOOLTIPS=yes'
9193 ac_cv_use_tooltips
='wxUSE_TOOLTIPS=no'
9198 LINE
=`grep "wxUSE_TOOLTIPS" ${wx_arg_cache_file}`
9199 if test "x$LINE" != x
; then
9200 eval "DEFAULT_$LINE"
9205 ac_cv_use_tooltips
='wxUSE_TOOLTIPS='$DEFAULT_wxUSE_TOOLTIPS
9209 eval "$ac_cv_use_tooltips"
9210 if test "$no_cache" != 1; then
9211 echo $ac_cv_use_tooltips >> ${wx_arg_cache_file}.tmp
9214 if test "$wxUSE_TOOLTIPS" = yes; then
9215 echo "$as_me:$LINENO: result: yes" >&5
9216 echo "${ECHO_T}yes" >&6
9218 echo "$as_me:$LINENO: result: no" >&5
9219 echo "${ECHO_T}no" >&6
9224 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splines" >&5
9225 echo $ECHO_N "checking for --${enablestring:-enable}-splines... $ECHO_C" >&6
9227 # Check whether --enable-splines or --disable-splines was given.
9228 if test "${enable_splines+set}" = set; then
9229 enableval
="$enable_splines"
9231 if test "$enableval" = yes; then
9232 ac_cv_use_splines
='wxUSE_SPLINES=yes'
9234 ac_cv_use_splines
='wxUSE_SPLINES=no'
9239 LINE
=`grep "wxUSE_SPLINES" ${wx_arg_cache_file}`
9240 if test "x$LINE" != x
; then
9241 eval "DEFAULT_$LINE"
9246 ac_cv_use_splines
='wxUSE_SPLINES='$DEFAULT_wxUSE_SPLINES
9250 eval "$ac_cv_use_splines"
9251 if test "$no_cache" != 1; then
9252 echo $ac_cv_use_splines >> ${wx_arg_cache_file}.tmp
9255 if test "$wxUSE_SPLINES" = yes; then
9256 echo "$as_me:$LINENO: result: yes" >&5
9257 echo "${ECHO_T}yes" >&6
9259 echo "$as_me:$LINENO: result: no" >&5
9260 echo "${ECHO_T}no" >&6
9265 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-validators" >&5
9266 echo $ECHO_N "checking for --${enablestring:-enable}-validators... $ECHO_C" >&6
9268 # Check whether --enable-validators or --disable-validators was given.
9269 if test "${enable_validators+set}" = set; then
9270 enableval
="$enable_validators"
9272 if test "$enableval" = yes; then
9273 ac_cv_use_validators
='wxUSE_VALIDATORS=yes'
9275 ac_cv_use_validators
='wxUSE_VALIDATORS=no'
9280 LINE
=`grep "wxUSE_VALIDATORS" ${wx_arg_cache_file}`
9281 if test "x$LINE" != x
; then
9282 eval "DEFAULT_$LINE"
9287 ac_cv_use_validators
='wxUSE_VALIDATORS='$DEFAULT_wxUSE_VALIDATORS
9291 eval "$ac_cv_use_validators"
9292 if test "$no_cache" != 1; then
9293 echo $ac_cv_use_validators >> ${wx_arg_cache_file}.tmp
9296 if test "$wxUSE_VALIDATORS" = yes; then
9297 echo "$as_me:$LINENO: result: yes" >&5
9298 echo "${ECHO_T}yes" >&6
9300 echo "$as_me:$LINENO: result: no" >&5
9301 echo "${ECHO_T}no" >&6
9306 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-busyinfo" >&5
9307 echo $ECHO_N "checking for --${enablestring:-enable}-busyinfo... $ECHO_C" >&6
9309 # Check whether --enable-busyinfo or --disable-busyinfo was given.
9310 if test "${enable_busyinfo+set}" = set; then
9311 enableval
="$enable_busyinfo"
9313 if test "$enableval" = yes; then
9314 ac_cv_use_busyinfo
='wxUSE_BUSYINFO=yes'
9316 ac_cv_use_busyinfo
='wxUSE_BUSYINFO=no'
9321 LINE
=`grep "wxUSE_BUSYINFO" ${wx_arg_cache_file}`
9322 if test "x$LINE" != x
; then
9323 eval "DEFAULT_$LINE"
9328 ac_cv_use_busyinfo
='wxUSE_BUSYINFO='$DEFAULT_wxUSE_BUSYINFO
9332 eval "$ac_cv_use_busyinfo"
9333 if test "$no_cache" != 1; then
9334 echo $ac_cv_use_busyinfo >> ${wx_arg_cache_file}.tmp
9337 if test "$wxUSE_BUSYINFO" = yes; then
9338 echo "$as_me:$LINENO: result: yes" >&5
9339 echo "${ECHO_T}yes" >&6
9341 echo "$as_me:$LINENO: result: no" >&5
9342 echo "${ECHO_T}no" >&6
9347 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-joystick" >&5
9348 echo $ECHO_N "checking for --${enablestring:-enable}-joystick... $ECHO_C" >&6
9350 # Check whether --enable-joystick or --disable-joystick was given.
9351 if test "${enable_joystick+set}" = set; then
9352 enableval
="$enable_joystick"
9354 if test "$enableval" = yes; then
9355 ac_cv_use_joystick
='wxUSE_JOYSTICK=yes'
9357 ac_cv_use_joystick
='wxUSE_JOYSTICK=no'
9362 LINE
=`grep "wxUSE_JOYSTICK" ${wx_arg_cache_file}`
9363 if test "x$LINE" != x
; then
9364 eval "DEFAULT_$LINE"
9369 ac_cv_use_joystick
='wxUSE_JOYSTICK='$DEFAULT_wxUSE_JOYSTICK
9373 eval "$ac_cv_use_joystick"
9374 if test "$no_cache" != 1; then
9375 echo $ac_cv_use_joystick >> ${wx_arg_cache_file}.tmp
9378 if test "$wxUSE_JOYSTICK" = yes; then
9379 echo "$as_me:$LINENO: result: yes" >&5
9380 echo "${ECHO_T}yes" >&6
9382 echo "$as_me:$LINENO: result: no" >&5
9383 echo "${ECHO_T}no" >&6
9388 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-metafile" >&5
9389 echo $ECHO_N "checking for --${enablestring:-enable}-metafile... $ECHO_C" >&6
9391 # Check whether --enable-metafile or --disable-metafile was given.
9392 if test "${enable_metafile+set}" = set; then
9393 enableval
="$enable_metafile"
9395 if test "$enableval" = yes; then
9396 ac_cv_use_metafile
='wxUSE_METAFILE=yes'
9398 ac_cv_use_metafile
='wxUSE_METAFILE=no'
9403 LINE
=`grep "wxUSE_METAFILE" ${wx_arg_cache_file}`
9404 if test "x$LINE" != x
; then
9405 eval "DEFAULT_$LINE"
9410 ac_cv_use_metafile
='wxUSE_METAFILE='$DEFAULT_wxUSE_METAFILE
9414 eval "$ac_cv_use_metafile"
9415 if test "$no_cache" != 1; then
9416 echo $ac_cv_use_metafile >> ${wx_arg_cache_file}.tmp
9419 if test "$wxUSE_METAFILE" = yes; then
9420 echo "$as_me:$LINENO: result: yes" >&5
9421 echo "${ECHO_T}yes" >&6
9423 echo "$as_me:$LINENO: result: no" >&5
9424 echo "${ECHO_T}no" >&6
9429 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dragimage" >&5
9430 echo $ECHO_N "checking for --${enablestring:-enable}-dragimage... $ECHO_C" >&6
9432 # Check whether --enable-dragimage or --disable-dragimage was given.
9433 if test "${enable_dragimage+set}" = set; then
9434 enableval
="$enable_dragimage"
9436 if test "$enableval" = yes; then
9437 ac_cv_use_dragimage
='wxUSE_DRAGIMAGE=yes'
9439 ac_cv_use_dragimage
='wxUSE_DRAGIMAGE=no'
9444 LINE
=`grep "wxUSE_DRAGIMAGE" ${wx_arg_cache_file}`
9445 if test "x$LINE" != x
; then
9446 eval "DEFAULT_$LINE"
9451 ac_cv_use_dragimage
='wxUSE_DRAGIMAGE='$DEFAULT_wxUSE_DRAGIMAGE
9455 eval "$ac_cv_use_dragimage"
9456 if test "$no_cache" != 1; then
9457 echo $ac_cv_use_dragimage >> ${wx_arg_cache_file}.tmp
9460 if test "$wxUSE_DRAGIMAGE" = yes; then
9461 echo "$as_me:$LINENO: result: yes" >&5
9462 echo "${ECHO_T}yes" >&6
9464 echo "$as_me:$LINENO: result: no" >&5
9465 echo "${ECHO_T}no" >&6
9470 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-accessibility" >&5
9471 echo $ECHO_N "checking for --${enablestring:-enable}-accessibility... $ECHO_C" >&6
9473 # Check whether --enable-accessibility or --disable-accessibility was given.
9474 if test "${enable_accessibility+set}" = set; then
9475 enableval
="$enable_accessibility"
9477 if test "$enableval" = yes; then
9478 ac_cv_use_accessibility
='wxUSE_ACCESSIBILITY=yes'
9480 ac_cv_use_accessibility
='wxUSE_ACCESSIBILITY=no'
9485 LINE
=`grep "wxUSE_ACCESSIBILITY" ${wx_arg_cache_file}`
9486 if test "x$LINE" != x
; then
9487 eval "DEFAULT_$LINE"
9492 ac_cv_use_accessibility
='wxUSE_ACCESSIBILITY='$DEFAULT_wxUSE_ACCESSIBILITY
9496 eval "$ac_cv_use_accessibility"
9497 if test "$no_cache" != 1; then
9498 echo $ac_cv_use_accessibility >> ${wx_arg_cache_file}.tmp
9501 if test "$wxUSE_ACCESSIBILITY" = yes; then
9502 echo "$as_me:$LINENO: result: yes" >&5
9503 echo "${ECHO_T}yes" >&6
9505 echo "$as_me:$LINENO: result: no" >&5
9506 echo "${ECHO_T}no" >&6
9513 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-palette" >&5
9514 echo $ECHO_N "checking for --${enablestring:-enable}-palette... $ECHO_C" >&6
9516 # Check whether --enable-palette or --disable-palette was given.
9517 if test "${enable_palette+set}" = set; then
9518 enableval
="$enable_palette"
9520 if test "$enableval" = yes; then
9521 ac_cv_use_palette
='wxUSE_PALETTE=yes'
9523 ac_cv_use_palette
='wxUSE_PALETTE=no'
9528 LINE
=`grep "wxUSE_PALETTE" ${wx_arg_cache_file}`
9529 if test "x$LINE" != x
; then
9530 eval "DEFAULT_$LINE"
9535 ac_cv_use_palette
='wxUSE_PALETTE='$DEFAULT_wxUSE_PALETTE
9539 eval "$ac_cv_use_palette"
9540 if test "$no_cache" != 1; then
9541 echo $ac_cv_use_palette >> ${wx_arg_cache_file}.tmp
9544 if test "$wxUSE_PALETTE" = yes; then
9545 echo "$as_me:$LINENO: result: yes" >&5
9546 echo "${ECHO_T}yes" >&6
9548 echo "$as_me:$LINENO: result: no" >&5
9549 echo "${ECHO_T}no" >&6
9554 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-image" >&5
9555 echo $ECHO_N "checking for --${enablestring:-enable}-image... $ECHO_C" >&6
9557 # Check whether --enable-image or --disable-image was given.
9558 if test "${enable_image+set}" = set; then
9559 enableval
="$enable_image"
9561 if test "$enableval" = yes; then
9562 ac_cv_use_image
='wxUSE_IMAGE=yes'
9564 ac_cv_use_image
='wxUSE_IMAGE=no'
9569 LINE
=`grep "wxUSE_IMAGE" ${wx_arg_cache_file}`
9570 if test "x$LINE" != x
; then
9571 eval "DEFAULT_$LINE"
9576 ac_cv_use_image
='wxUSE_IMAGE='$DEFAULT_wxUSE_IMAGE
9580 eval "$ac_cv_use_image"
9581 if test "$no_cache" != 1; then
9582 echo $ac_cv_use_image >> ${wx_arg_cache_file}.tmp
9585 if test "$wxUSE_IMAGE" = yes; then
9586 echo "$as_me:$LINENO: result: yes" >&5
9587 echo "${ECHO_T}yes" >&6
9589 echo "$as_me:$LINENO: result: no" >&5
9590 echo "${ECHO_T}no" >&6
9595 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gif" >&5
9596 echo $ECHO_N "checking for --${enablestring:-enable}-gif... $ECHO_C" >&6
9598 # Check whether --enable-gif or --disable-gif was given.
9599 if test "${enable_gif+set}" = set; then
9600 enableval
="$enable_gif"
9602 if test "$enableval" = yes; then
9603 ac_cv_use_gif
='wxUSE_GIF=yes'
9605 ac_cv_use_gif
='wxUSE_GIF=no'
9610 LINE
=`grep "wxUSE_GIF" ${wx_arg_cache_file}`
9611 if test "x$LINE" != x
; then
9612 eval "DEFAULT_$LINE"
9617 ac_cv_use_gif
='wxUSE_GIF='$DEFAULT_wxUSE_GIF
9621 eval "$ac_cv_use_gif"
9622 if test "$no_cache" != 1; then
9623 echo $ac_cv_use_gif >> ${wx_arg_cache_file}.tmp
9626 if test "$wxUSE_GIF" = yes; then
9627 echo "$as_me:$LINENO: result: yes" >&5
9628 echo "${ECHO_T}yes" >&6
9630 echo "$as_me:$LINENO: result: no" >&5
9631 echo "${ECHO_T}no" >&6
9636 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-pcx" >&5
9637 echo $ECHO_N "checking for --${enablestring:-enable}-pcx... $ECHO_C" >&6
9639 # Check whether --enable-pcx or --disable-pcx was given.
9640 if test "${enable_pcx+set}" = set; then
9641 enableval
="$enable_pcx"
9643 if test "$enableval" = yes; then
9644 ac_cv_use_pcx
='wxUSE_PCX=yes'
9646 ac_cv_use_pcx
='wxUSE_PCX=no'
9651 LINE
=`grep "wxUSE_PCX" ${wx_arg_cache_file}`
9652 if test "x$LINE" != x
; then
9653 eval "DEFAULT_$LINE"
9658 ac_cv_use_pcx
='wxUSE_PCX='$DEFAULT_wxUSE_PCX
9662 eval "$ac_cv_use_pcx"
9663 if test "$no_cache" != 1; then
9664 echo $ac_cv_use_pcx >> ${wx_arg_cache_file}.tmp
9667 if test "$wxUSE_PCX" = yes; then
9668 echo "$as_me:$LINENO: result: yes" >&5
9669 echo "${ECHO_T}yes" >&6
9671 echo "$as_me:$LINENO: result: no" >&5
9672 echo "${ECHO_T}no" >&6
9677 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-iff" >&5
9678 echo $ECHO_N "checking for --${enablestring:-enable}-iff... $ECHO_C" >&6
9680 # Check whether --enable-iff or --disable-iff was given.
9681 if test "${enable_iff+set}" = set; then
9682 enableval
="$enable_iff"
9684 if test "$enableval" = yes; then
9685 ac_cv_use_iff
='wxUSE_IFF=yes'
9687 ac_cv_use_iff
='wxUSE_IFF=no'
9692 LINE
=`grep "wxUSE_IFF" ${wx_arg_cache_file}`
9693 if test "x$LINE" != x
; then
9694 eval "DEFAULT_$LINE"
9699 ac_cv_use_iff
='wxUSE_IFF='$DEFAULT_wxUSE_IFF
9703 eval "$ac_cv_use_iff"
9704 if test "$no_cache" != 1; then
9705 echo $ac_cv_use_iff >> ${wx_arg_cache_file}.tmp
9708 if test "$wxUSE_IFF" = yes; then
9709 echo "$as_me:$LINENO: result: yes" >&5
9710 echo "${ECHO_T}yes" >&6
9712 echo "$as_me:$LINENO: result: no" >&5
9713 echo "${ECHO_T}no" >&6
9718 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-pnm" >&5
9719 echo $ECHO_N "checking for --${enablestring:-enable}-pnm... $ECHO_C" >&6
9721 # Check whether --enable-pnm or --disable-pnm was given.
9722 if test "${enable_pnm+set}" = set; then
9723 enableval
="$enable_pnm"
9725 if test "$enableval" = yes; then
9726 ac_cv_use_pnm
='wxUSE_PNM=yes'
9728 ac_cv_use_pnm
='wxUSE_PNM=no'
9733 LINE
=`grep "wxUSE_PNM" ${wx_arg_cache_file}`
9734 if test "x$LINE" != x
; then
9735 eval "DEFAULT_$LINE"
9740 ac_cv_use_pnm
='wxUSE_PNM='$DEFAULT_wxUSE_PNM
9744 eval "$ac_cv_use_pnm"
9745 if test "$no_cache" != 1; then
9746 echo $ac_cv_use_pnm >> ${wx_arg_cache_file}.tmp
9749 if test "$wxUSE_PNM" = yes; then
9750 echo "$as_me:$LINENO: result: yes" >&5
9751 echo "${ECHO_T}yes" >&6
9753 echo "$as_me:$LINENO: result: no" >&5
9754 echo "${ECHO_T}no" >&6
9759 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-xpm" >&5
9760 echo $ECHO_N "checking for --${enablestring:-enable}-xpm... $ECHO_C" >&6
9762 # Check whether --enable-xpm or --disable-xpm was given.
9763 if test "${enable_xpm+set}" = set; then
9764 enableval
="$enable_xpm"
9766 if test "$enableval" = yes; then
9767 ac_cv_use_xpm
='wxUSE_XPM=yes'
9769 ac_cv_use_xpm
='wxUSE_XPM=no'
9774 LINE
=`grep "wxUSE_XPM" ${wx_arg_cache_file}`
9775 if test "x$LINE" != x
; then
9776 eval "DEFAULT_$LINE"
9781 ac_cv_use_xpm
='wxUSE_XPM='$DEFAULT_wxUSE_XPM
9785 eval "$ac_cv_use_xpm"
9786 if test "$no_cache" != 1; then
9787 echo $ac_cv_use_xpm >> ${wx_arg_cache_file}.tmp
9790 if test "$wxUSE_XPM" = yes; then
9791 echo "$as_me:$LINENO: result: yes" >&5
9792 echo "${ECHO_T}yes" >&6
9794 echo "$as_me:$LINENO: result: no" >&5
9795 echo "${ECHO_T}no" >&6
9800 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ico_cur" >&5
9801 echo $ECHO_N "checking for --${enablestring:-enable}-ico_cur... $ECHO_C" >&6
9803 # Check whether --enable-ico_cur or --disable-ico_cur was given.
9804 if test "${enable_ico_cur+set}" = set; then
9805 enableval
="$enable_ico_cur"
9807 if test "$enableval" = yes; then
9808 ac_cv_use_ico_cur
='wxUSE_ICO_CUR=yes'
9810 ac_cv_use_ico_cur
='wxUSE_ICO_CUR=no'
9815 LINE
=`grep "wxUSE_ICO_CUR" ${wx_arg_cache_file}`
9816 if test "x$LINE" != x
; then
9817 eval "DEFAULT_$LINE"
9822 ac_cv_use_ico_cur
='wxUSE_ICO_CUR='$DEFAULT_wxUSE_ICO_CUR
9826 eval "$ac_cv_use_ico_cur"
9827 if test "$no_cache" != 1; then
9828 echo $ac_cv_use_ico_cur >> ${wx_arg_cache_file}.tmp
9831 if test "$wxUSE_ICO_CUR" = yes; then
9832 echo "$as_me:$LINENO: result: yes" >&5
9833 echo "${ECHO_T}yes" >&6
9835 echo "$as_me:$LINENO: result: no" >&5
9836 echo "${ECHO_T}no" >&6
9845 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-official_build" >&5
9846 echo $ECHO_N "checking for --${enablestring:-enable}-official_build... $ECHO_C" >&6
9848 # Check whether --enable-official_build or --disable-official_build was given.
9849 if test "${enable_official_build+set}" = set; then
9850 enableval
="$enable_official_build"
9852 if test "$enableval" = yes; then
9853 ac_cv_use_official_build
='wxUSE_OFFICIAL_BUILD=yes'
9855 ac_cv_use_official_build
='wxUSE_OFFICIAL_BUILD=no'
9860 LINE
=`grep "wxUSE_OFFICIAL_BUILD" ${wx_arg_cache_file}`
9861 if test "x$LINE" != x
; then
9862 eval "DEFAULT_$LINE"
9867 ac_cv_use_official_build
='wxUSE_OFFICIAL_BUILD='$DEFAULT_wxUSE_OFFICIAL_BUILD
9871 eval "$ac_cv_use_official_build"
9872 if test "$no_cache" != 1; then
9873 echo $ac_cv_use_official_build >> ${wx_arg_cache_file}.tmp
9876 if test "$wxUSE_OFFICIAL_BUILD" = yes; then
9877 echo "$as_me:$LINENO: result: yes" >&5
9878 echo "${ECHO_T}yes" >&6
9880 echo "$as_me:$LINENO: result: no" >&5
9881 echo "${ECHO_T}no" >&6
9884 # Check whether --enable-vendor or --disable-vendor was given.
9885 if test "${enable_vendor+set}" = set; then
9886 enableval
="$enable_vendor"
9889 if test "x$VENDOR" = "x"; then
9894 *-pc-os2_emx | *-pc-os2-emx )
9896 if test "$wxUSE_OMF" = "yes"; then
9899 LDFLAGS
="-Zomf $LDFLAGS"
9900 CFLAGS
="-Zomf $CFLAGS"
9901 CXXFLAGS
="-Zomf $CXXFLAGS"
9911 echo "saving argument cache $wx_arg_cache_file"
9912 mv ${wx_arg_cache_file}.tmp
${wx_arg_cache_file}
9916 echo "$as_me:$LINENO: checking for toolkit" >&5
9917 echo $ECHO_N "checking for toolkit... $ECHO_C" >&6
9919 # In Wine, we need to default to MSW, not GTK or MOTIF
9920 if test "$wxUSE_WINE" = "yes"; then
9921 DEFAULT_DEFAULT_wxUSE_GTK
=0
9922 DEFAULT_DEFAULT_wxUSE_MOTIF
=0
9923 DEFAULT_DEFAULT_wxUSE_MSW
=1
9927 if test "$wxUSE_GUI" = "yes"; then
9929 if test "$USE_BEOS" = 1; then
9930 { { echo "$as_me:$LINENO: error: BeOS GUI is not supported yet, use --disable-gui" >&5
9931 echo "$as_me: error: BeOS GUI is not supported yet, use --disable-gui" >&2;}
9932 { (exit 1); exit 1; }; }
9935 if test "$TOOLKIT_GIVEN" = 1; then
9936 for toolkit
in `echo $ALL_TOOLKITS`; do
9938 eval "value=\$${var}"
9939 eval "$var=`echo \$value | sed -e "s
/yes
/1/" -e "s
/no
/0/"`"
9942 for toolkit
in `echo $ALL_TOOLKITS`; do
9943 if test "$has_toolkit_in_cache" != 1; then
9944 var
=DEFAULT_DEFAULT_wxUSE_
$toolkit
9946 var
=DEFAULT_wxUSE_
$toolkit
9948 eval "wxUSE_$toolkit=\$${var}"
9952 NUM_TOOLKITS
=`expr ${wxUSE_COCOA:-0} + ${wxUSE_GTK:-0} + ${wxUSE_MAC:-0} \
9953 + ${wxUSE_MGL:-0} + ${wxUSE_MICROWIN:-0} \
9954 + ${wxUSE_MOTIF:-0} + ${wxUSE_MSW:-0} + ${wxUSE_X11:-0}`
9957 *-pc-os2_emx | *-pc-os2-emx )
9958 NUM_TOOLKITS
=`expr ${NUM_TOOLKITS} + ${wxUSE_PM:-0}`
9961 case "$NUM_TOOLKITS" in
9965 { { echo "$as_me:$LINENO: error: Please specify a toolkit -- cannot determine the default for ${host}" >&5
9966 echo "$as_me: error: Please specify a toolkit -- cannot determine the default for ${host}" >&2;}
9967 { (exit 1); exit 1; }; }
9970 { { echo "$as_me:$LINENO: error: Please specify at most one toolkit (maybe some are cached in configarg.cache?)" >&5
9971 echo "$as_me: error: Please specify at most one toolkit (maybe some are cached in configarg.cache?)" >&2;}
9972 { (exit 1); exit 1; }; }
9975 for toolkit
in `echo $ALL_TOOLKITS`; do
9977 eval "value=\$${var}"
9978 if test "x$value" != x
; then
9979 cache_var
=CACHE_
$toolkit
9980 eval "cache=\$${cache_var}"
9981 if test "$cache" = 1; then
9982 echo "$var=$value" >> ${wx_arg_cache_file}
9984 if test "$value" = 1; then
9985 toolkit_echo
=`echo $toolkit | tr "[A-Z]" "[a-z]"`
9986 echo "$as_me:$LINENO: result: $toolkit_echo" >&5
9987 echo "${ECHO_T}$toolkit_echo" >&6
9992 if test "x$host_alias" != "x"; then
9993 echo "$as_me:$LINENO: result: base ($host_alias hosted) only" >&5
9994 echo "${ECHO_T}base ($host_alias hosted) only" >&6
9996 echo "$as_me:$LINENO: result: base only" >&5
9997 echo "${ECHO_T}base only" >&6
10002 doesnt_want_win32
=0
10005 if test "$wxUSE_MSW" = 1 ; then
10008 doesnt_want_win32
=1
10016 if test "$wxUSE_WINE" = "yes"; then
10021 LDFLAGS_GUI
="-mwindows"
10024 if test "$wants_win32" = 1 ; then
10027 cat >>confdefs.h
<<\_ACEOF
10028 #define __WIN32__ 1
10031 cat >>confdefs.h
<<\_ACEOF
10032 #define __WIN95__ 1
10035 cat >>confdefs.h
<<\_ACEOF
10036 #define __WINDOWS__ 1
10039 cat >>confdefs.h
<<\_ACEOF
10040 #define __GNUWIN32__ 1
10043 cat >>confdefs.h
<<\_ACEOF
10047 cat >>confdefs.h
<<\_ACEOF
10048 #define WINVER 0x0400
10052 if test "$doesnt_want_win32" = 1 ; then
10057 if test "$USE_UNIX" = 1 ; then
10059 cat >>confdefs.h
<<\_ACEOF
10066 cat >confcache
<<\_ACEOF
10067 # This file is a shell script that caches the results of configure
10068 # tests run on this system so they can be shared between configure
10069 # scripts and configure runs, see configure's option --config-cache.
10070 # It is not useful on other systems. If it contains results you don't
10071 # want to keep, you may remove or edit it.
10073 # config.status only pays attention to the cache file if you give it
10074 # the --recheck option to rerun configure.
10076 # `ac_cv_env_foo' variables (set or unset) will be overridden when
10077 # loading this file, other *unset* `ac_cv_foo' will be assigned the
10078 # following values.
10082 # The following way of writing the cache mishandles newlines in values,
10083 # but we know of no workaround that is simple, portable, and efficient.
10084 # So, don't put newlines in cache variables' values.
10085 # Ultrix sh set writes to stderr and can't be redirected directly,
10086 # and sets the high bit in the cache file unless we assign to the vars.
10089 case `(ac_space=' '; set | grep ac_space) 2>&1` in
10091 # `set' does not quote correctly, so add quotes (double-quote
10092 # substitution turns \\\\ into \\, and sed turns \\ into \).
10095 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
10098 # `set' quotes correctly as required by POSIX, so do not add quotes.
10100 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
10107 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
10109 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
10111 if diff $cache_file confcache
>/dev
/null
2>&1; then :; else
10112 if test -w $cache_file; then
10113 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
10114 cat confcache
>$cache_file
10116 echo "not updating unwritable cache $cache_file"
10121 if test "$build" != "$host" ; then
10122 if test "$USE_WIN32" = 1 -o "$USE_DOS" = 1 -o "$USE_UNIX"; then
10124 CXX
=$host_alias-c++
10126 RANLIB
=$host_alias-ranlib
10127 DLLTOOL
=$host_alias-dlltool
10128 RESCOMP
=$host_alias-windres
10131 STRIP
=$host_alias-strip
10133 { { echo "$as_me:$LINENO: error: $build_alias -> $host_alias cross compilation not supported yet." >&5
10134 echo "$as_me: error: $build_alias -> $host_alias cross compilation not supported yet." >&2;}
10135 { (exit 1); exit 1; }; }
10141 ac_cpp
='$CPP $CPPFLAGS'
10142 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10143 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10144 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
10145 if test -n "$ac_tool_prefix"; then
10146 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
10147 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
10148 echo "$as_me:$LINENO: checking for $ac_word" >&5
10149 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10150 if test "${ac_cv_prog_CC+set}" = set; then
10151 echo $ECHO_N "(cached) $ECHO_C" >&6
10153 if test -n "$CC"; then
10154 ac_cv_prog_CC
="$CC" # Let the user override the test.
10156 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10157 for as_dir
in $PATH
10160 test -z "$as_dir" && as_dir
=.
10161 for ac_exec_ext
in '' $ac_executable_extensions; do
10162 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10163 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
10164 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10173 if test -n "$CC"; then
10174 echo "$as_me:$LINENO: result: $CC" >&5
10175 echo "${ECHO_T}$CC" >&6
10177 echo "$as_me:$LINENO: result: no" >&5
10178 echo "${ECHO_T}no" >&6
10182 if test -z "$ac_cv_prog_CC"; then
10184 # Extract the first word of "gcc", so it can be a program name with args.
10185 set dummy gcc
; ac_word
=$2
10186 echo "$as_me:$LINENO: checking for $ac_word" >&5
10187 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10188 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
10189 echo $ECHO_N "(cached) $ECHO_C" >&6
10191 if test -n "$ac_ct_CC"; then
10192 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
10194 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10195 for as_dir
in $PATH
10198 test -z "$as_dir" && as_dir
=.
10199 for ac_exec_ext
in '' $ac_executable_extensions; do
10200 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10201 ac_cv_prog_ac_ct_CC
="gcc"
10202 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10210 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
10211 if test -n "$ac_ct_CC"; then
10212 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
10213 echo "${ECHO_T}$ac_ct_CC" >&6
10215 echo "$as_me:$LINENO: result: no" >&5
10216 echo "${ECHO_T}no" >&6
10221 CC
="$ac_cv_prog_CC"
10224 if test -z "$CC"; then
10225 if test -n "$ac_tool_prefix"; then
10226 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
10227 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
10228 echo "$as_me:$LINENO: checking for $ac_word" >&5
10229 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10230 if test "${ac_cv_prog_CC+set}" = set; then
10231 echo $ECHO_N "(cached) $ECHO_C" >&6
10233 if test -n "$CC"; then
10234 ac_cv_prog_CC
="$CC" # Let the user override the test.
10236 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10237 for as_dir
in $PATH
10240 test -z "$as_dir" && as_dir
=.
10241 for ac_exec_ext
in '' $ac_executable_extensions; do
10242 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10243 ac_cv_prog_CC
="${ac_tool_prefix}cc"
10244 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10253 if test -n "$CC"; then
10254 echo "$as_me:$LINENO: result: $CC" >&5
10255 echo "${ECHO_T}$CC" >&6
10257 echo "$as_me:$LINENO: result: no" >&5
10258 echo "${ECHO_T}no" >&6
10262 if test -z "$ac_cv_prog_CC"; then
10264 # Extract the first word of "cc", so it can be a program name with args.
10265 set dummy cc
; ac_word
=$2
10266 echo "$as_me:$LINENO: checking for $ac_word" >&5
10267 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10268 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
10269 echo $ECHO_N "(cached) $ECHO_C" >&6
10271 if test -n "$ac_ct_CC"; then
10272 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
10274 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10275 for as_dir
in $PATH
10278 test -z "$as_dir" && as_dir
=.
10279 for ac_exec_ext
in '' $ac_executable_extensions; do
10280 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10281 ac_cv_prog_ac_ct_CC
="cc"
10282 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10290 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
10291 if test -n "$ac_ct_CC"; then
10292 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
10293 echo "${ECHO_T}$ac_ct_CC" >&6
10295 echo "$as_me:$LINENO: result: no" >&5
10296 echo "${ECHO_T}no" >&6
10301 CC
="$ac_cv_prog_CC"
10305 if test -z "$CC"; then
10306 # Extract the first word of "cc", so it can be a program name with args.
10307 set dummy cc
; ac_word
=$2
10308 echo "$as_me:$LINENO: checking for $ac_word" >&5
10309 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10310 if test "${ac_cv_prog_CC+set}" = set; then
10311 echo $ECHO_N "(cached) $ECHO_C" >&6
10313 if test -n "$CC"; then
10314 ac_cv_prog_CC
="$CC" # Let the user override the test.
10316 ac_prog_rejected
=no
10317 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10318 for as_dir
in $PATH
10321 test -z "$as_dir" && as_dir
=.
10322 for ac_exec_ext
in '' $ac_executable_extensions; do
10323 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10324 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
10325 ac_prog_rejected
=yes
10329 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10335 if test $ac_prog_rejected = yes; then
10336 # We found a bogon in the path, so make sure we never use it.
10337 set dummy
$ac_cv_prog_CC
10339 if test $# != 0; then
10340 # We chose a different compiler from the bogus one.
10341 # However, it has the same basename, so the bogon will be chosen
10342 # first if we set CC to just the basename; use the full file name.
10344 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
10350 if test -n "$CC"; then
10351 echo "$as_me:$LINENO: result: $CC" >&5
10352 echo "${ECHO_T}$CC" >&6
10354 echo "$as_me:$LINENO: result: no" >&5
10355 echo "${ECHO_T}no" >&6
10359 if test -z "$CC"; then
10360 if test -n "$ac_tool_prefix"; then
10363 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
10364 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
10365 echo "$as_me:$LINENO: checking for $ac_word" >&5
10366 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10367 if test "${ac_cv_prog_CC+set}" = set; then
10368 echo $ECHO_N "(cached) $ECHO_C" >&6
10370 if test -n "$CC"; then
10371 ac_cv_prog_CC
="$CC" # Let the user override the test.
10373 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10374 for as_dir
in $PATH
10377 test -z "$as_dir" && as_dir
=.
10378 for ac_exec_ext
in '' $ac_executable_extensions; do
10379 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10380 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
10381 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10390 if test -n "$CC"; then
10391 echo "$as_me:$LINENO: result: $CC" >&5
10392 echo "${ECHO_T}$CC" >&6
10394 echo "$as_me:$LINENO: result: no" >&5
10395 echo "${ECHO_T}no" >&6
10398 test -n "$CC" && break
10401 if test -z "$CC"; then
10405 # Extract the first word of "$ac_prog", so it can be a program name with args.
10406 set dummy
$ac_prog; ac_word
=$2
10407 echo "$as_me:$LINENO: checking for $ac_word" >&5
10408 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10409 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
10410 echo $ECHO_N "(cached) $ECHO_C" >&6
10412 if test -n "$ac_ct_CC"; then
10413 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
10415 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10416 for as_dir
in $PATH
10419 test -z "$as_dir" && as_dir
=.
10420 for ac_exec_ext
in '' $ac_executable_extensions; do
10421 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10422 ac_cv_prog_ac_ct_CC
="$ac_prog"
10423 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10431 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
10432 if test -n "$ac_ct_CC"; then
10433 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
10434 echo "${ECHO_T}$ac_ct_CC" >&6
10436 echo "$as_me:$LINENO: result: no" >&5
10437 echo "${ECHO_T}no" >&6
10440 test -n "$ac_ct_CC" && break
10449 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
10450 See \`config.log' for more details." >&5
10451 echo "$as_me: error: no acceptable C compiler found in \$PATH
10452 See \`config.log' for more details." >&2;}
10453 { (exit 1); exit 1; }; }
10455 # Provide some information about the compiler.
10456 echo "$as_me:$LINENO:" \
10457 "checking for C compiler version" >&5
10458 ac_compiler
=`set X $ac_compile; echo $2`
10459 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
10460 (eval $ac_compiler --version </dev
/null
>&5) 2>&5
10462 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10463 (exit $ac_status); }
10464 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
10465 (eval $ac_compiler -v </dev
/null
>&5) 2>&5
10467 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10468 (exit $ac_status); }
10469 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
10470 (eval $ac_compiler -V </dev
/null
>&5) 2>&5
10472 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10473 (exit $ac_status); }
10475 cat >conftest.
$ac_ext <<_ACEOF
10478 cat confdefs.h
>>conftest.
$ac_ext
10479 cat >>conftest.
$ac_ext <<_ACEOF
10480 /* end confdefs.h. */
10490 ac_clean_files_save
=$ac_clean_files
10491 ac_clean_files
="$ac_clean_files a.out a.exe b.out"
10492 # Try to create an executable without -o first, disregard a.out.
10493 # It will help us diagnose broken compilers, and finding out an intuition
10495 echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
10496 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6
10497 ac_link_default
=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
10498 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
10499 (eval $ac_link_default) 2>&5
10501 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10502 (exit $ac_status); }; then
10503 # Find the output, starting from the most likely. This scheme is
10504 # not robust to junk in `.', hence go to wildcards (a.*) only as a last
10507 # Be careful to initialize this variable, since it used to be cached.
10508 # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
10510 # b.out is created by i960 compilers.
10511 for ac_file
in a_out.exe a.exe conftest.exe a.out conftest a.
* conftest.
* b.out
10513 test -f "$ac_file" || continue
10515 *.
$ac_ext | *.xcoff
| *.tds
| *.d
| *.pdb
| *.xSYM
| *.bb
| *.bbg
| *.o
| *.obj
)
10518 # This is the source file.
10521 # We found the default executable, but exeext='' is most
10525 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
10526 # FIXME: I believe we export ac_cv_exeext for Libtool,
10527 # but it would be cool to find out if it's true. Does anybody
10528 # maintain Libtool? --akim.
10529 export ac_cv_exeext
10536 echo "$as_me: failed program was:" >&5
10537 sed 's/^/| /' conftest.
$ac_ext >&5
10539 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
10540 See \`config.log' for more details." >&5
10541 echo "$as_me: error: C compiler cannot create executables
10542 See \`config.log' for more details." >&2;}
10543 { (exit 77); exit 77; }; }
10546 ac_exeext
=$ac_cv_exeext
10547 echo "$as_me:$LINENO: result: $ac_file" >&5
10548 echo "${ECHO_T}$ac_file" >&6
10550 # Check the compiler produces executables we can run. If not, either
10551 # the compiler is broken, or we cross compile.
10552 echo "$as_me:$LINENO: checking whether the C compiler works" >&5
10553 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
10554 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
10555 # If not cross compiling, check that we can run a simple program.
10556 if test "$cross_compiling" != yes; then
10557 if { ac_try
='./$ac_file'
10558 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10559 (eval $ac_try) 2>&5
10561 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10562 (exit $ac_status); }; }; then
10565 if test "$cross_compiling" = maybe
; then
10566 cross_compiling
=yes
10568 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
10569 If you meant to cross compile, use \`--host'.
10570 See \`config.log' for more details." >&5
10571 echo "$as_me: error: cannot run C compiled programs.
10572 If you meant to cross compile, use \`--host'.
10573 See \`config.log' for more details." >&2;}
10574 { (exit 1); exit 1; }; }
10578 echo "$as_me:$LINENO: result: yes" >&5
10579 echo "${ECHO_T}yes" >&6
10581 rm -f a.out a.exe conftest
$ac_cv_exeext b.out
10582 ac_clean_files
=$ac_clean_files_save
10583 # Check the compiler produces executables we can run. If not, either
10584 # the compiler is broken, or we cross compile.
10585 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
10586 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
10587 echo "$as_me:$LINENO: result: $cross_compiling" >&5
10588 echo "${ECHO_T}$cross_compiling" >&6
10590 echo "$as_me:$LINENO: checking for suffix of executables" >&5
10591 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
10592 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10593 (eval $ac_link) 2>&5
10595 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10596 (exit $ac_status); }; then
10597 # If both `conftest.exe' and `conftest' are `present' (well, observable)
10598 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
10599 # work properly (i.e., refer to `conftest.exe'), while it won't with
10601 for ac_file
in conftest.exe conftest conftest.
*; do
10602 test -f "$ac_file" || continue
10604 *.
$ac_ext | *.xcoff
| *.tds
| *.d
| *.pdb
| *.xSYM
| *.bb
| *.bbg
| *.o
| *.obj
) ;;
10605 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
10606 export ac_cv_exeext
10612 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
10613 See \`config.log' for more details." >&5
10614 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
10615 See \`config.log' for more details." >&2;}
10616 { (exit 1); exit 1; }; }
10619 rm -f conftest
$ac_cv_exeext
10620 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
10621 echo "${ECHO_T}$ac_cv_exeext" >&6
10623 rm -f conftest.
$ac_ext
10624 EXEEXT
=$ac_cv_exeext
10626 echo "$as_me:$LINENO: checking for suffix of object files" >&5
10627 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
10628 if test "${ac_cv_objext+set}" = set; then
10629 echo $ECHO_N "(cached) $ECHO_C" >&6
10631 cat >conftest.
$ac_ext <<_ACEOF
10634 cat confdefs.h
>>conftest.
$ac_ext
10635 cat >>conftest.
$ac_ext <<_ACEOF
10636 /* end confdefs.h. */
10646 rm -f conftest.o conftest.obj
10647 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10648 (eval $ac_compile) 2>&5
10650 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10651 (exit $ac_status); }; then
10652 for ac_file
in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
10654 *.
$ac_ext | *.xcoff
| *.tds
| *.d
| *.pdb
| *.xSYM
| *.bb
| *.bbg
) ;;
10655 *) ac_cv_objext
=`expr "$ac_file" : '.*\.\(.*\)'`
10660 echo "$as_me: failed program was:" >&5
10661 sed 's/^/| /' conftest.
$ac_ext >&5
10663 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
10664 See \`config.log' for more details." >&5
10665 echo "$as_me: error: cannot compute suffix of object files: cannot compile
10666 See \`config.log' for more details." >&2;}
10667 { (exit 1); exit 1; }; }
10670 rm -f conftest.
$ac_cv_objext conftest.
$ac_ext
10672 echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
10673 echo "${ECHO_T}$ac_cv_objext" >&6
10674 OBJEXT
=$ac_cv_objext
10676 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
10677 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
10678 if test "${ac_cv_c_compiler_gnu+set}" = set; then
10679 echo $ECHO_N "(cached) $ECHO_C" >&6
10681 cat >conftest.
$ac_ext <<_ACEOF
10684 cat confdefs.h
>>conftest.
$ac_ext
10685 cat >>conftest.
$ac_ext <<_ACEOF
10686 /* end confdefs.h. */
10699 rm -f conftest.
$ac_objext
10700 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10701 (eval $ac_compile) 2>conftest.er1
10703 grep -v '^ *+' conftest.er1
>conftest.err
10705 cat conftest.err
>&5
10706 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10707 (exit $ac_status); } &&
10708 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10709 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10710 (eval $ac_try) 2>&5
10712 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10713 (exit $ac_status); }; } &&
10714 { ac_try
='test -s conftest.$ac_objext'
10715 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10716 (eval $ac_try) 2>&5
10718 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10719 (exit $ac_status); }; }; then
10720 ac_compiler_gnu
=yes
10722 echo "$as_me: failed program was:" >&5
10723 sed 's/^/| /' conftest.
$ac_ext >&5
10727 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
10728 ac_cv_c_compiler_gnu
=$ac_compiler_gnu
10731 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
10732 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
10733 GCC
=`test $ac_compiler_gnu = yes && echo yes`
10734 ac_test_CFLAGS
=${CFLAGS+set}
10735 ac_save_CFLAGS
=$CFLAGS
10737 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
10738 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
10739 if test "${ac_cv_prog_cc_g+set}" = set; then
10740 echo $ECHO_N "(cached) $ECHO_C" >&6
10742 cat >conftest.
$ac_ext <<_ACEOF
10745 cat confdefs.h
>>conftest.
$ac_ext
10746 cat >>conftest.
$ac_ext <<_ACEOF
10747 /* end confdefs.h. */
10757 rm -f conftest.
$ac_objext
10758 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10759 (eval $ac_compile) 2>conftest.er1
10761 grep -v '^ *+' conftest.er1
>conftest.err
10763 cat conftest.err
>&5
10764 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10765 (exit $ac_status); } &&
10766 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10767 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10768 (eval $ac_try) 2>&5
10770 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10771 (exit $ac_status); }; } &&
10772 { ac_try
='test -s conftest.$ac_objext'
10773 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10774 (eval $ac_try) 2>&5
10776 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10777 (exit $ac_status); }; }; then
10778 ac_cv_prog_cc_g
=yes
10780 echo "$as_me: failed program was:" >&5
10781 sed 's/^/| /' conftest.
$ac_ext >&5
10785 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
10787 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
10788 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
10789 if test "$ac_test_CFLAGS" = set; then
10790 CFLAGS
=$ac_save_CFLAGS
10791 elif test $ac_cv_prog_cc_g = yes; then
10792 if test "$GCC" = yes; then
10798 if test "$GCC" = yes; then
10804 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
10805 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
10806 if test "${ac_cv_prog_cc_stdc+set}" = set; then
10807 echo $ECHO_N "(cached) $ECHO_C" >&6
10809 ac_cv_prog_cc_stdc
=no
10811 cat >conftest.
$ac_ext <<_ACEOF
10814 cat confdefs.h
>>conftest.
$ac_ext
10815 cat >>conftest.
$ac_ext <<_ACEOF
10816 /* end confdefs.h. */
10817 #include <stdarg.h>
10819 #include <sys/types.h>
10820 #include <sys/stat.h>
10821 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
10822 struct buf { int x; };
10823 FILE * (*rcsopen) (struct buf *, struct stat *, int);
10824 static char *e (p, i)
10830 static char *f (char * (*g) (char **, int), char **p, ...)
10835 s = g (p, va_arg (v,int));
10840 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
10841 function prototypes and stuff, but not '\xHH' hex character constants.
10842 These don't provoke an error unfortunately, instead are silently treated
10843 as 'x'. The following induces an error, until -std1 is added to get
10844 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
10845 array size at least. It's necessary to write '\x00'==0 to get something
10846 that's true only with -std1. */
10847 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
10849 int test (int i, double x);
10850 struct s1 {int (*f) (int a);};
10851 struct s2 {int (*f) (double a);};
10852 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
10858 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
10863 # Don't try gcc -ansi; that turns off useful extensions and
10864 # breaks some systems' header files.
10865 # AIX -qlanglvl=ansi
10866 # Ultrix and OSF/1 -std1
10867 # HP-UX 10.20 and later -Ae
10868 # HP-UX older versions -Aa -D_HPUX_SOURCE
10869 # SVR4 -Xc -D__EXTENSIONS__
10870 for ac_arg
in "" -qlanglvl=ansi
-std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
10872 CC
="$ac_save_CC $ac_arg"
10873 rm -f conftest.
$ac_objext
10874 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10875 (eval $ac_compile) 2>conftest.er1
10877 grep -v '^ *+' conftest.er1
>conftest.err
10879 cat conftest.err
>&5
10880 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10881 (exit $ac_status); } &&
10882 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10883 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10884 (eval $ac_try) 2>&5
10886 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10887 (exit $ac_status); }; } &&
10888 { ac_try
='test -s conftest.$ac_objext'
10889 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10890 (eval $ac_try) 2>&5
10892 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10893 (exit $ac_status); }; }; then
10894 ac_cv_prog_cc_stdc
=$ac_arg
10897 echo "$as_me: failed program was:" >&5
10898 sed 's/^/| /' conftest.
$ac_ext >&5
10901 rm -f conftest.err conftest.
$ac_objext
10903 rm -f conftest.
$ac_ext conftest.
$ac_objext
10908 case "x$ac_cv_prog_cc_stdc" in
10910 echo "$as_me:$LINENO: result: none needed" >&5
10911 echo "${ECHO_T}none needed" >&6 ;;
10913 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
10914 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
10915 CC
="$CC $ac_cv_prog_cc_stdc" ;;
10918 # Some people use a C++ compiler to compile C. Since we use `exit',
10919 # in C++ we need to declare it. In case someone uses the same compiler
10920 # for both compiling C and C++ we need to have the C++ compiler decide
10921 # the declaration of exit, since it's the most demanding environment.
10922 cat >conftest.
$ac_ext <<_ACEOF
10923 #ifndef __cplusplus
10927 rm -f conftest.
$ac_objext
10928 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10929 (eval $ac_compile) 2>conftest.er1
10931 grep -v '^ *+' conftest.er1
>conftest.err
10933 cat conftest.err
>&5
10934 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10935 (exit $ac_status); } &&
10936 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10937 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10938 (eval $ac_try) 2>&5
10940 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10941 (exit $ac_status); }; } &&
10942 { ac_try
='test -s conftest.$ac_objext'
10943 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10944 (eval $ac_try) 2>&5
10946 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10947 (exit $ac_status); }; }; then
10948 for ac_declaration
in \
10950 'extern "C" void std::exit (int) throw (); using std::exit;' \
10951 'extern "C" void std::exit (int); using std::exit;' \
10952 'extern "C" void exit (int) throw ();' \
10953 'extern "C" void exit (int);' \
10956 cat >conftest.
$ac_ext <<_ACEOF
10959 cat confdefs.h
>>conftest.
$ac_ext
10960 cat >>conftest.
$ac_ext <<_ACEOF
10961 /* end confdefs.h. */
10963 #include <stdlib.h>
10972 rm -f conftest.
$ac_objext
10973 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10974 (eval $ac_compile) 2>conftest.er1
10976 grep -v '^ *+' conftest.er1
>conftest.err
10978 cat conftest.err
>&5
10979 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10980 (exit $ac_status); } &&
10981 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10982 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10983 (eval $ac_try) 2>&5
10985 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10986 (exit $ac_status); }; } &&
10987 { ac_try
='test -s conftest.$ac_objext'
10988 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10989 (eval $ac_try) 2>&5
10991 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10992 (exit $ac_status); }; }; then
10995 echo "$as_me: failed program was:" >&5
10996 sed 's/^/| /' conftest.
$ac_ext >&5
11000 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11001 cat >conftest.
$ac_ext <<_ACEOF
11004 cat confdefs.h
>>conftest.
$ac_ext
11005 cat >>conftest.
$ac_ext <<_ACEOF
11006 /* end confdefs.h. */
11016 rm -f conftest.
$ac_objext
11017 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11018 (eval $ac_compile) 2>conftest.er1
11020 grep -v '^ *+' conftest.er1
>conftest.err
11022 cat conftest.err
>&5
11023 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11024 (exit $ac_status); } &&
11025 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11026 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11027 (eval $ac_try) 2>&5
11029 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11030 (exit $ac_status); }; } &&
11031 { ac_try
='test -s conftest.$ac_objext'
11032 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11033 (eval $ac_try) 2>&5
11035 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11036 (exit $ac_status); }; }; then
11039 echo "$as_me: failed program was:" >&5
11040 sed 's/^/| /' conftest.
$ac_ext >&5
11043 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11046 if test -n "$ac_declaration"; then
11047 echo '#ifdef __cplusplus' >>confdefs.h
11048 echo $ac_declaration >>confdefs.h
11049 echo '#endif' >>confdefs.h
11053 echo "$as_me: failed program was:" >&5
11054 sed 's/^/| /' conftest.
$ac_ext >&5
11057 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11059 ac_cpp
='$CPP $CPPFLAGS'
11060 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11061 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11062 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
11067 ac_cpp
='$CPP $CPPFLAGS'
11068 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11069 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11070 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
11071 echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
11072 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
11073 # On Suns, sometimes $CPP names a directory.
11074 if test -n "$CPP" && test -d "$CPP"; then
11077 if test -z "$CPP"; then
11078 if test "${ac_cv_prog_CPP+set}" = set; then
11079 echo $ECHO_N "(cached) $ECHO_C" >&6
11081 # Double quotes because CPP needs to be expanded
11082 for CPP
in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
11084 ac_preproc_ok
=false
11085 for ac_c_preproc_warn_flag
in '' yes
11087 # Use a header file that comes with gcc, so configuring glibc
11088 # with a fresh cross-compiler works.
11089 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11090 # <limits.h> exists even on freestanding compilers.
11091 # On the NeXT, cc -E runs the code through the compiler's parser,
11092 # not just through cpp. "Syntax error" is here to catch this case.
11093 cat >conftest.
$ac_ext <<_ACEOF
11096 cat confdefs.h
>>conftest.
$ac_ext
11097 cat >>conftest.
$ac_ext <<_ACEOF
11098 /* end confdefs.h. */
11100 # include <limits.h>
11102 # include <assert.h>
11106 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
11107 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
11109 grep -v '^ *+' conftest.er1
>conftest.err
11111 cat conftest.err
>&5
11112 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11113 (exit $ac_status); } >/dev
/null
; then
11114 if test -s conftest.err
; then
11115 ac_cpp_err
=$ac_c_preproc_warn_flag
11116 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
11123 if test -z "$ac_cpp_err"; then
11126 echo "$as_me: failed program was:" >&5
11127 sed 's/^/| /' conftest.
$ac_ext >&5
11129 # Broken: fails on valid input.
11132 rm -f conftest.err conftest.
$ac_ext
11134 # OK, works on sane cases. Now check whether non-existent headers
11135 # can be detected and how.
11136 cat >conftest.
$ac_ext <<_ACEOF
11139 cat confdefs.h
>>conftest.
$ac_ext
11140 cat >>conftest.
$ac_ext <<_ACEOF
11141 /* end confdefs.h. */
11142 #include <ac_nonexistent.h>
11144 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
11145 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
11147 grep -v '^ *+' conftest.er1
>conftest.err
11149 cat conftest.err
>&5
11150 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11151 (exit $ac_status); } >/dev
/null
; then
11152 if test -s conftest.err
; then
11153 ac_cpp_err
=$ac_c_preproc_warn_flag
11154 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
11161 if test -z "$ac_cpp_err"; then
11162 # Broken: success on invalid input.
11165 echo "$as_me: failed program was:" >&5
11166 sed 's/^/| /' conftest.
$ac_ext >&5
11168 # Passes both tests.
11172 rm -f conftest.err conftest.
$ac_ext
11175 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
11176 rm -f conftest.err conftest.
$ac_ext
11177 if $ac_preproc_ok; then
11182 ac_cv_prog_CPP
=$CPP
11185 CPP
=$ac_cv_prog_CPP
11187 ac_cv_prog_CPP
=$CPP
11189 echo "$as_me:$LINENO: result: $CPP" >&5
11190 echo "${ECHO_T}$CPP" >&6
11191 ac_preproc_ok
=false
11192 for ac_c_preproc_warn_flag
in '' yes
11194 # Use a header file that comes with gcc, so configuring glibc
11195 # with a fresh cross-compiler works.
11196 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11197 # <limits.h> exists even on freestanding compilers.
11198 # On the NeXT, cc -E runs the code through the compiler's parser,
11199 # not just through cpp. "Syntax error" is here to catch this case.
11200 cat >conftest.
$ac_ext <<_ACEOF
11203 cat confdefs.h
>>conftest.
$ac_ext
11204 cat >>conftest.
$ac_ext <<_ACEOF
11205 /* end confdefs.h. */
11207 # include <limits.h>
11209 # include <assert.h>
11213 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
11214 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
11216 grep -v '^ *+' conftest.er1
>conftest.err
11218 cat conftest.err
>&5
11219 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11220 (exit $ac_status); } >/dev
/null
; then
11221 if test -s conftest.err
; then
11222 ac_cpp_err
=$ac_c_preproc_warn_flag
11223 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
11230 if test -z "$ac_cpp_err"; then
11233 echo "$as_me: failed program was:" >&5
11234 sed 's/^/| /' conftest.
$ac_ext >&5
11236 # Broken: fails on valid input.
11239 rm -f conftest.err conftest.
$ac_ext
11241 # OK, works on sane cases. Now check whether non-existent headers
11242 # can be detected and how.
11243 cat >conftest.
$ac_ext <<_ACEOF
11246 cat confdefs.h
>>conftest.
$ac_ext
11247 cat >>conftest.
$ac_ext <<_ACEOF
11248 /* end confdefs.h. */
11249 #include <ac_nonexistent.h>
11251 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
11252 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
11254 grep -v '^ *+' conftest.er1
>conftest.err
11256 cat conftest.err
>&5
11257 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11258 (exit $ac_status); } >/dev
/null
; then
11259 if test -s conftest.err
; then
11260 ac_cpp_err
=$ac_c_preproc_warn_flag
11261 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
11268 if test -z "$ac_cpp_err"; then
11269 # Broken: success on invalid input.
11272 echo "$as_me: failed program was:" >&5
11273 sed 's/^/| /' conftest.
$ac_ext >&5
11275 # Passes both tests.
11279 rm -f conftest.err conftest.
$ac_ext
11282 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
11283 rm -f conftest.err conftest.
$ac_ext
11284 if $ac_preproc_ok; then
11287 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
11288 See \`config.log' for more details." >&5
11289 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
11290 See \`config.log' for more details." >&2;}
11291 { (exit 1); exit 1; }; }
11295 ac_cpp
='$CPP $CPPFLAGS'
11296 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11297 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11298 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
11301 echo "$as_me:$LINENO: checking for egrep" >&5
11302 echo $ECHO_N "checking for egrep... $ECHO_C" >&6
11303 if test "${ac_cv_prog_egrep+set}" = set; then
11304 echo $ECHO_N "(cached) $ECHO_C" >&6
11306 if echo a
| (grep -E '(a|b)') >/dev
/null
2>&1
11307 then ac_cv_prog_egrep
='grep -E'
11308 else ac_cv_prog_egrep
='egrep'
11311 echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
11312 echo "${ECHO_T}$ac_cv_prog_egrep" >&6
11313 EGREP
=$ac_cv_prog_egrep
11316 if test $ac_cv_c_compiler_gnu = yes; then
11317 echo "$as_me:$LINENO: checking whether $CC needs -traditional" >&5
11318 echo $ECHO_N "checking whether $CC needs -traditional... $ECHO_C" >&6
11319 if test "${ac_cv_prog_gcc_traditional+set}" = set; then
11320 echo $ECHO_N "(cached) $ECHO_C" >&6
11322 ac_pattern
="Autoconf.*'x'"
11323 cat >conftest.
$ac_ext <<_ACEOF
11326 cat confdefs.h
>>conftest.
$ac_ext
11327 cat >>conftest.
$ac_ext <<_ACEOF
11328 /* end confdefs.h. */
11332 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
11333 $EGREP "$ac_pattern" >/dev
/null
2>&1; then
11334 ac_cv_prog_gcc_traditional
=yes
11336 ac_cv_prog_gcc_traditional
=no
11341 if test $ac_cv_prog_gcc_traditional = no
; then
11342 cat >conftest.
$ac_ext <<_ACEOF
11345 cat confdefs.h
>>conftest.
$ac_ext
11346 cat >>conftest.
$ac_ext <<_ACEOF
11347 /* end confdefs.h. */
11348 #include <termio.h>
11351 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
11352 $EGREP "$ac_pattern" >/dev
/null
2>&1; then
11353 ac_cv_prog_gcc_traditional
=yes
11359 echo "$as_me:$LINENO: result: $ac_cv_prog_gcc_traditional" >&5
11360 echo "${ECHO_T}$ac_cv_prog_gcc_traditional" >&6
11361 if test $ac_cv_prog_gcc_traditional = yes; then
11362 CC
="$CC -traditional"
11370 ac_cpp
='$CXXCPP $CPPFLAGS'
11371 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11372 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11373 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
11376 CXXFLAGS
=${CXXFLAGS:=}
11378 ac_cpp
='$CXXCPP $CPPFLAGS'
11379 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11380 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11381 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
11382 if test -n "$ac_tool_prefix"; then
11383 for ac_prog
in $CCC g
++ c
++ gpp aCC CC cxx cc
++ cl FCC KCC RCC xlC_r xlC
11385 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
11386 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
11387 echo "$as_me:$LINENO: checking for $ac_word" >&5
11388 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11389 if test "${ac_cv_prog_CXX+set}" = set; then
11390 echo $ECHO_N "(cached) $ECHO_C" >&6
11392 if test -n "$CXX"; then
11393 ac_cv_prog_CXX
="$CXX" # Let the user override the test.
11395 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11396 for as_dir
in $PATH
11399 test -z "$as_dir" && as_dir
=.
11400 for ac_exec_ext
in '' $ac_executable_extensions; do
11401 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11402 ac_cv_prog_CXX
="$ac_tool_prefix$ac_prog"
11403 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11411 CXX
=$ac_cv_prog_CXX
11412 if test -n "$CXX"; then
11413 echo "$as_me:$LINENO: result: $CXX" >&5
11414 echo "${ECHO_T}$CXX" >&6
11416 echo "$as_me:$LINENO: result: no" >&5
11417 echo "${ECHO_T}no" >&6
11420 test -n "$CXX" && break
11423 if test -z "$CXX"; then
11425 for ac_prog
in $CCC g
++ c
++ gpp aCC CC cxx cc
++ cl FCC KCC RCC xlC_r xlC
11427 # Extract the first word of "$ac_prog", so it can be a program name with args.
11428 set dummy
$ac_prog; ac_word
=$2
11429 echo "$as_me:$LINENO: checking for $ac_word" >&5
11430 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11431 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
11432 echo $ECHO_N "(cached) $ECHO_C" >&6
11434 if test -n "$ac_ct_CXX"; then
11435 ac_cv_prog_ac_ct_CXX
="$ac_ct_CXX" # Let the user override the test.
11437 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11438 for as_dir
in $PATH
11441 test -z "$as_dir" && as_dir
=.
11442 for ac_exec_ext
in '' $ac_executable_extensions; do
11443 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11444 ac_cv_prog_ac_ct_CXX
="$ac_prog"
11445 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11453 ac_ct_CXX
=$ac_cv_prog_ac_ct_CXX
11454 if test -n "$ac_ct_CXX"; then
11455 echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
11456 echo "${ECHO_T}$ac_ct_CXX" >&6
11458 echo "$as_me:$LINENO: result: no" >&5
11459 echo "${ECHO_T}no" >&6
11462 test -n "$ac_ct_CXX" && break
11464 test -n "$ac_ct_CXX" || ac_ct_CXX
="g++"
11470 # Provide some information about the compiler.
11471 echo "$as_me:$LINENO:" \
11472 "checking for C++ compiler version" >&5
11473 ac_compiler
=`set X $ac_compile; echo $2`
11474 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
11475 (eval $ac_compiler --version </dev
/null
>&5) 2>&5
11477 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11478 (exit $ac_status); }
11479 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
11480 (eval $ac_compiler -v </dev
/null
>&5) 2>&5
11482 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11483 (exit $ac_status); }
11484 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
11485 (eval $ac_compiler -V </dev
/null
>&5) 2>&5
11487 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11488 (exit $ac_status); }
11490 echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
11491 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6
11492 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
11493 echo $ECHO_N "(cached) $ECHO_C" >&6
11495 cat >conftest.
$ac_ext <<_ACEOF
11498 cat confdefs.h
>>conftest.
$ac_ext
11499 cat >>conftest.
$ac_ext <<_ACEOF
11500 /* end confdefs.h. */
11513 rm -f conftest.
$ac_objext
11514 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11515 (eval $ac_compile) 2>conftest.er1
11517 grep -v '^ *+' conftest.er1
>conftest.err
11519 cat conftest.err
>&5
11520 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11521 (exit $ac_status); } &&
11522 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
11523 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11524 (eval $ac_try) 2>&5
11526 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11527 (exit $ac_status); }; } &&
11528 { ac_try
='test -s conftest.$ac_objext'
11529 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11530 (eval $ac_try) 2>&5
11532 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11533 (exit $ac_status); }; }; then
11534 ac_compiler_gnu
=yes
11536 echo "$as_me: failed program was:" >&5
11537 sed 's/^/| /' conftest.
$ac_ext >&5
11541 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11542 ac_cv_cxx_compiler_gnu
=$ac_compiler_gnu
11545 echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
11546 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6
11547 GXX
=`test $ac_compiler_gnu = yes && echo yes`
11548 ac_test_CXXFLAGS
=${CXXFLAGS+set}
11549 ac_save_CXXFLAGS
=$CXXFLAGS
11551 echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
11552 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6
11553 if test "${ac_cv_prog_cxx_g+set}" = set; then
11554 echo $ECHO_N "(cached) $ECHO_C" >&6
11556 cat >conftest.
$ac_ext <<_ACEOF
11559 cat confdefs.h
>>conftest.
$ac_ext
11560 cat >>conftest.
$ac_ext <<_ACEOF
11561 /* end confdefs.h. */
11571 rm -f conftest.
$ac_objext
11572 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11573 (eval $ac_compile) 2>conftest.er1
11575 grep -v '^ *+' conftest.er1
>conftest.err
11577 cat conftest.err
>&5
11578 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11579 (exit $ac_status); } &&
11580 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
11581 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11582 (eval $ac_try) 2>&5
11584 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11585 (exit $ac_status); }; } &&
11586 { ac_try
='test -s conftest.$ac_objext'
11587 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11588 (eval $ac_try) 2>&5
11590 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11591 (exit $ac_status); }; }; then
11592 ac_cv_prog_cxx_g
=yes
11594 echo "$as_me: failed program was:" >&5
11595 sed 's/^/| /' conftest.
$ac_ext >&5
11597 ac_cv_prog_cxx_g
=no
11599 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11601 echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
11602 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6
11603 if test "$ac_test_CXXFLAGS" = set; then
11604 CXXFLAGS
=$ac_save_CXXFLAGS
11605 elif test $ac_cv_prog_cxx_g = yes; then
11606 if test "$GXX" = yes; then
11612 if test "$GXX" = yes; then
11618 for ac_declaration
in \
11620 'extern "C" void std::exit (int) throw (); using std::exit;' \
11621 'extern "C" void std::exit (int); using std::exit;' \
11622 'extern "C" void exit (int) throw ();' \
11623 'extern "C" void exit (int);' \
11626 cat >conftest.
$ac_ext <<_ACEOF
11629 cat confdefs.h
>>conftest.
$ac_ext
11630 cat >>conftest.
$ac_ext <<_ACEOF
11631 /* end confdefs.h. */
11633 #include <stdlib.h>
11642 rm -f conftest.
$ac_objext
11643 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11644 (eval $ac_compile) 2>conftest.er1
11646 grep -v '^ *+' conftest.er1
>conftest.err
11648 cat conftest.err
>&5
11649 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11650 (exit $ac_status); } &&
11651 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
11652 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11653 (eval $ac_try) 2>&5
11655 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11656 (exit $ac_status); }; } &&
11657 { ac_try
='test -s conftest.$ac_objext'
11658 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11659 (eval $ac_try) 2>&5
11661 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11662 (exit $ac_status); }; }; then
11665 echo "$as_me: failed program was:" >&5
11666 sed 's/^/| /' conftest.
$ac_ext >&5
11670 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11671 cat >conftest.
$ac_ext <<_ACEOF
11674 cat confdefs.h
>>conftest.
$ac_ext
11675 cat >>conftest.
$ac_ext <<_ACEOF
11676 /* end confdefs.h. */
11686 rm -f conftest.
$ac_objext
11687 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11688 (eval $ac_compile) 2>conftest.er1
11690 grep -v '^ *+' conftest.er1
>conftest.err
11692 cat conftest.err
>&5
11693 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11694 (exit $ac_status); } &&
11695 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
11696 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11697 (eval $ac_try) 2>&5
11699 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11700 (exit $ac_status); }; } &&
11701 { ac_try
='test -s conftest.$ac_objext'
11702 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11703 (eval $ac_try) 2>&5
11705 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11706 (exit $ac_status); }; }; then
11709 echo "$as_me: failed program was:" >&5
11710 sed 's/^/| /' conftest.
$ac_ext >&5
11713 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11716 if test -n "$ac_declaration"; then
11717 echo '#ifdef __cplusplus' >>confdefs.h
11718 echo $ac_declaration >>confdefs.h
11719 echo '#endif' >>confdefs.h
11723 ac_cpp
='$CXXCPP $CPPFLAGS'
11724 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11725 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11726 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
11730 ac_cpp
='$CPP $CPPFLAGS'
11731 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11732 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11733 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
11736 echo "$as_me:$LINENO: checking for /usr/local/include in default include path" >&5
11737 echo $ECHO_N "checking for /usr/local/include in default include path... $ECHO_C" >&6
11738 GCC_SEARCHES_USR_LOCAL_INCLUDE
="no"
11739 if test "$GCC" = "yes" ; then
11740 echo | gcc
-v -x c
++ -E - 2>&1 | sed -n '/^#include </,$p' | \
11741 sed -n '1,/End of search list\./p' | \
11742 grep '^ */usr/local/include$' 2>&1 /dev
/null \
11743 && GCC_SEARCHES_USR_LOCAL_INCLUDE
="yes"
11745 echo "$as_me:$LINENO: result: $GCC_SEARCHES_USR_LOCAL_INCLUDE" >&5
11746 echo "${ECHO_T}$GCC_SEARCHES_USR_LOCAL_INCLUDE" >&6
11748 if test -n "$ac_tool_prefix"; then
11749 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
11750 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
11751 echo "$as_me:$LINENO: checking for $ac_word" >&5
11752 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11753 if test "${ac_cv_prog_RANLIB+set}" = set; then
11754 echo $ECHO_N "(cached) $ECHO_C" >&6
11756 if test -n "$RANLIB"; then
11757 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
11759 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11760 for as_dir
in $PATH
11763 test -z "$as_dir" && as_dir
=.
11764 for ac_exec_ext
in '' $ac_executable_extensions; do
11765 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11766 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
11767 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11775 RANLIB
=$ac_cv_prog_RANLIB
11776 if test -n "$RANLIB"; then
11777 echo "$as_me:$LINENO: result: $RANLIB" >&5
11778 echo "${ECHO_T}$RANLIB" >&6
11780 echo "$as_me:$LINENO: result: no" >&5
11781 echo "${ECHO_T}no" >&6
11785 if test -z "$ac_cv_prog_RANLIB"; then
11786 ac_ct_RANLIB
=$RANLIB
11787 # Extract the first word of "ranlib", so it can be a program name with args.
11788 set dummy ranlib
; ac_word
=$2
11789 echo "$as_me:$LINENO: checking for $ac_word" >&5
11790 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11791 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
11792 echo $ECHO_N "(cached) $ECHO_C" >&6
11794 if test -n "$ac_ct_RANLIB"; then
11795 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
11797 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11798 for as_dir
in $PATH
11801 test -z "$as_dir" && as_dir
=.
11802 for ac_exec_ext
in '' $ac_executable_extensions; do
11803 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11804 ac_cv_prog_ac_ct_RANLIB
="ranlib"
11805 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11811 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB
=":"
11814 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
11815 if test -n "$ac_ct_RANLIB"; then
11816 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
11817 echo "${ECHO_T}$ac_ct_RANLIB" >&6
11819 echo "$as_me:$LINENO: result: no" >&5
11820 echo "${ECHO_T}no" >&6
11823 RANLIB
=$ac_ct_RANLIB
11825 RANLIB
="$ac_cv_prog_RANLIB"
11829 # Extract the first word of "ar", so it can be a program name with args.
11830 set dummy
ar; ac_word
=$2
11831 echo "$as_me:$LINENO: checking for $ac_word" >&5
11832 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11833 if test "${ac_cv_prog_AR+set}" = set; then
11834 echo $ECHO_N "(cached) $ECHO_C" >&6
11836 if test -n "$AR"; then
11837 ac_cv_prog_AR
="$AR" # Let the user override the test.
11839 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11840 for as_dir
in $PATH
11843 test -z "$as_dir" && as_dir
=.
11844 for ac_exec_ext
in '' $ac_executable_extensions; do
11845 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11847 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11856 if test -n "$AR"; then
11857 echo "$as_me:$LINENO: result: $AR" >&5
11858 echo "${ECHO_T}$AR" >&6
11860 echo "$as_me:$LINENO: result: no" >&5
11861 echo "${ECHO_T}no" >&6
11864 if test "x$AR" = "x" ; then
11865 { { echo "$as_me:$LINENO: error: ar is needed to build wxWindows" >&5
11866 echo "$as_me: error: ar is needed to build wxWindows" >&2;}
11867 { (exit 1); exit 1; }; }
11870 # Find a good install program. We prefer a C program (faster),
11871 # so one script is as good as another. But avoid the broken or
11872 # incompatible versions:
11873 # SysV /etc/install, /usr/sbin/install
11874 # SunOS /usr/etc/install
11875 # IRIX /sbin/install
11877 # AmigaOS /C/install, which installs bootblocks on floppy discs
11878 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
11879 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
11880 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
11881 # OS/2's system install, which has a completely different semantic
11882 # ./install, which can be erroneously created by make from ./install.sh.
11883 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
11884 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
11885 if test -z "$INSTALL"; then
11886 if test "${ac_cv_path_install+set}" = set; then
11887 echo $ECHO_N "(cached) $ECHO_C" >&6
11889 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11890 for as_dir
in $PATH
11893 test -z "$as_dir" && as_dir
=.
11894 # Account for people who put trailing slashes in PATH elements.
11896 .
/ | .
// | /cC
/* | \
11897 /etc
/* | /usr
/sbin
/* | /usr
/etc
/* | /sbin
/* | /usr
/afsws
/bin
/* | \
11898 ?
:\\/os2
\\/install\\/* | ?
:\\/OS2
\\/INSTALL
\\/* | \
11901 # OSF1 and SCO ODT 3.0 have their own names for install.
11902 # Don't use installbsd from OSF since it installs stuff as root
11904 for ac_prog
in ginstall scoinst
install; do
11905 for ac_exec_ext
in '' $ac_executable_extensions; do
11906 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
11907 if test $ac_prog = install &&
11908 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
11909 # AIX install. It has an incompatible calling convention.
11911 elif test $ac_prog = install &&
11912 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
11913 # program-specific install script used by HP pwplus--don't use.
11916 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
11928 if test "${ac_cv_path_install+set}" = set; then
11929 INSTALL
=$ac_cv_path_install
11931 # As a last resort, use the slow shell script. We don't cache a
11932 # path for INSTALL within a source directory, because that will
11933 # break other packages using the cache if that directory is
11934 # removed, or if the path is relative.
11935 INSTALL
=$ac_install_sh
11938 echo "$as_me:$LINENO: result: $INSTALL" >&5
11939 echo "${ECHO_T}$INSTALL" >&6
11941 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
11942 # It thinks the first close brace ends the variable substitution.
11943 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
11945 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
11947 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
11953 ?
:* ) # Drive letter, considered as absolute.
11956 INSTALL
=`pwd`/${INSTALL} ;;
11961 INSTALL_DIR
="mkdir"
11964 *) INSTALL_DIR
="$INSTALL -d"
11971 powerpc
-*-darwin* )
11972 INSTALL_PROGRAM
="cp -fp"
11973 INSTALL_DATA
="cp -fp"
11979 # Extract the first word of "strip", so it can be a program name with args.
11980 set dummy strip
; ac_word
=$2
11981 echo "$as_me:$LINENO: checking for $ac_word" >&5
11982 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11983 if test "${ac_cv_prog_STRIP+set}" = set; then
11984 echo $ECHO_N "(cached) $ECHO_C" >&6
11986 if test -n "$STRIP"; then
11987 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
11989 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11990 for as_dir
in $PATH
11993 test -z "$as_dir" && as_dir
=.
11994 for ac_exec_ext
in '' $ac_executable_extensions; do
11995 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11996 ac_cv_prog_STRIP
="strip"
11997 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12003 test -z "$ac_cv_prog_STRIP" && ac_cv_prog_STRIP
="true"
12006 STRIP
=$ac_cv_prog_STRIP
12007 if test -n "$STRIP"; then
12008 echo "$as_me:$LINENO: result: $STRIP" >&5
12009 echo "${ECHO_T}$STRIP" >&6
12011 echo "$as_me:$LINENO: result: no" >&5
12012 echo "${ECHO_T}no" >&6
12016 echo "$as_me:$LINENO: checking if make is GNU make" >&5
12017 echo $ECHO_N "checking if make is GNU make... $ECHO_C" >&6
12018 if test "${wx_cv_prog_makeisgnu+set}" = set; then
12019 echo $ECHO_N "(cached) $ECHO_C" >&6
12022 if ( ${SHELL-sh} -c "${MAKE-make} --version" 2> /dev
/null
|
12023 egrep -s GNU
> /dev
/null
); then
12024 wx_cv_prog_makeisgnu
="yes"
12026 wx_cv_prog_makeisgnu
="no"
12030 echo "$as_me:$LINENO: result: $wx_cv_prog_makeisgnu" >&5
12031 echo "${ECHO_T}$wx_cv_prog_makeisgnu" >&6
12033 if test "x$wx_cv_prog_makeisgnu" = "xyes"; then
12041 if test "x$wx_cv_prog_makeisgnu" != "xyes"; then
12042 echo "$as_me:$LINENO: checking if make supports VPATH" >&5
12043 echo $ECHO_N "checking if make supports VPATH... $ECHO_C" >&6
12044 if test "${wx_cv_prog_makevpath+set}" = set; then
12045 echo $ECHO_N "(cached) $ECHO_C" >&6
12048 cat - << EOF > confMake
12054 if test ! -d sub
; then
12057 echo dummy
> sub
/file
12058 ${MAKE-make} -f confMake VPATH
=sub
2>&5 > /dev
/null
12060 rm -f sub
/file check final_file confMake
12062 if test "$RESULT" = 0; then
12063 wx_cv_prog_makevpath
="yes"
12065 wx_cv_prog_makevpath
="no"
12069 echo "$as_me:$LINENO: result: $wx_cv_prog_makevpath" >&5
12070 echo "${ECHO_T}$wx_cv_prog_makevpath" >&6
12072 if test "x$wx_cv_prog_makevpath" != "xyes"; then
12073 { { echo "$as_me:$LINENO: error:
12074 You need a make-utility that is able to use the variable
12076 If your version of make does not support VPATH correctly,
12077 please install GNU-make (possibly as gmake), and start
12078 configure with the following command:
12079 export MAKE=gmake; ./configure for sh-type shells
12080 setenv MAKE gmake; ./configure for csh-type shells
12081 Also please do remember to use gmake in this case every time
12082 you are trying to compile.
12084 echo "$as_me: error:
12085 You need a make-utility that is able to use the variable
12087 If your version of make does not support VPATH correctly,
12088 please install GNU-make (possibly as gmake), and start
12089 configure with the following command:
12090 export MAKE=gmake; ./configure for sh-type shells
12091 setenv MAKE gmake; ./configure for csh-type shells
12092 Also please do remember to use gmake in this case every time
12093 you are trying to compile.
12095 { (exit 1); exit 1; }; }
12097 echo "$as_me:$LINENO: checking whether ln -s works" >&5
12098 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
12100 if test "$LN_S" = "ln -s"; then
12101 echo "$as_me:$LINENO: result: yes" >&5
12102 echo "${ECHO_T}yes" >&6
12104 echo "$as_me:$LINENO: result: no, using $LN_S" >&5
12105 echo "${ECHO_T}no, using $LN_S" >&6
12111 *-pc-os2_emx | *-pc-os2-emx )
12112 if test "$wxUSE_MOTIF" = 1 -o "$wxUSE_GTK" = 1 -o "$wxUSE_X11" = 1; then
12113 echo "$as_me:$LINENO: checking for drand48 in -lcExt" >&5
12114 echo $ECHO_N "checking for drand48 in -lcExt... $ECHO_C" >&6
12115 if test "${ac_cv_lib_cExt_drand48+set}" = set; then
12116 echo $ECHO_N "(cached) $ECHO_C" >&6
12118 ac_check_lib_save_LIBS
=$LIBS
12119 LIBS
="-lcExt $LIBS"
12120 cat >conftest.
$ac_ext <<_ACEOF
12123 cat confdefs.h
>>conftest.
$ac_ext
12124 cat >>conftest.
$ac_ext <<_ACEOF
12125 /* end confdefs.h. */
12127 /* Override any gcc2 internal prototype to avoid an error. */
12131 /* We use char because int might match the return type of a gcc2
12132 builtin and then its argument prototype would still apply. */
12142 rm -f conftest.
$ac_objext conftest
$ac_exeext
12143 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12144 (eval $ac_link) 2>conftest.er1
12146 grep -v '^ *+' conftest.er1
>conftest.err
12148 cat conftest.err
>&5
12149 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12150 (exit $ac_status); } &&
12151 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12152 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12153 (eval $ac_try) 2>&5
12155 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12156 (exit $ac_status); }; } &&
12157 { ac_try
='test -s conftest$ac_exeext'
12158 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12159 (eval $ac_try) 2>&5
12161 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12162 (exit $ac_status); }; }; then
12163 ac_cv_lib_cExt_drand48
=yes
12165 echo "$as_me: failed program was:" >&5
12166 sed 's/^/| /' conftest.
$ac_ext >&5
12168 ac_cv_lib_cExt_drand48
=no
12170 rm -f conftest.err conftest.
$ac_objext \
12171 conftest
$ac_exeext conftest.
$ac_ext
12172 LIBS
=$ac_check_lib_save_LIBS
12174 echo "$as_me:$LINENO: result: $ac_cv_lib_cExt_drand48" >&5
12175 echo "${ECHO_T}$ac_cv_lib_cExt_drand48" >&6
12176 if test $ac_cv_lib_cExt_drand48 = yes; then
12177 LIBS
="$LIBS -lcExt"
12181 RESPROGRAMOBJ
="\${top_srcdir}/include/wx/os2/wx.res"
12183 echo "$as_me:$LINENO: checking for gcc version" >&5
12184 echo $ECHO_N "checking for gcc version... $ECHO_C" >&6
12185 if test "${wx_cv_gccversion+set}" = set; then
12186 echo $ECHO_N "(cached) $ECHO_C" >&6
12189 cat >conftest.
$ac_ext <<_ACEOF
12192 cat confdefs.h
>>conftest.
$ac_ext
12193 cat >>conftest.
$ac_ext <<_ACEOF
12194 /* end confdefs.h. */
12208 rm -f conftest.
$ac_objext
12209 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12210 (eval $ac_compile) 2>conftest.er1
12212 grep -v '^ *+' conftest.er1
>conftest.err
12214 cat conftest.err
>&5
12215 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12216 (exit $ac_status); } &&
12217 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12218 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12219 (eval $ac_try) 2>&5
12221 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12222 (exit $ac_status); }; } &&
12223 { ac_try
='test -s conftest.$ac_objext'
12224 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12225 (eval $ac_try) 2>&5
12227 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12228 (exit $ac_status); }; }; then
12230 cat >conftest.
$ac_ext <<_ACEOF
12233 cat confdefs.h
>>conftest.
$ac_ext
12234 cat >>conftest.
$ac_ext <<_ACEOF
12235 /* end confdefs.h. */
12241 #if (__GNUC__==3) && ((__GNUC_MINOR__ < 2) || ((__GNUC_MINOR__==2) && (__GNUC_PATCHLEVEL__<2)))
12242 #error intermediate gcc
12249 rm -f conftest.
$ac_objext
12250 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12251 (eval $ac_compile) 2>conftest.er1
12253 grep -v '^ *+' conftest.er1
>conftest.err
12255 cat conftest.err
>&5
12256 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12257 (exit $ac_status); } &&
12258 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12259 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12260 (eval $ac_try) 2>&5
12262 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12263 (exit $ac_status); }; } &&
12264 { ac_try
='test -s conftest.$ac_objext'
12265 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12266 (eval $ac_try) 2>&5
12268 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12269 (exit $ac_status); }; }; then
12271 wx_cv_gccversion
=Innotek
12274 echo "$as_me: failed program was:" >&5
12275 sed 's/^/| /' conftest.
$ac_ext >&5
12282 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12285 echo "$as_me: failed program was:" >&5
12286 sed 's/^/| /' conftest.
$ac_ext >&5
12293 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12296 echo "$as_me:$LINENO: result: $wx_cv_gccversion" >&5
12297 echo "${ECHO_T}$wx_cv_gccversion" >&6
12298 if test "$wx_cv_gccversion" = "2"; then
12299 LIBS
="$LIBS -lstdcpp"
12300 LDFLAGS
="$LDFLAGS -Zsysv-signals"
12302 if test "$wx_cv_gccversion" = "3"; then
12303 LIBS
="$LIBS -lstdcxx"
12304 LDFLAGS
="$LDFLAGS -Zsysv-signals"
12306 LIBS
="$LIBS -lstdc++"
12309 if test "$wxUSE_OMF" = "yes"; then
12310 LDFLAGS
="$LDFLAGS -Zlinker /PMTYPE:PM -Zlinker /EXEPACK"
12318 ac_cpp
='$CXXCPP $CPPFLAGS'
12319 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12320 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12321 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
12325 echo "$as_me:$LINENO: checking for strcasecmp() in string.h" >&5
12326 echo $ECHO_N "checking for strcasecmp() in string.h... $ECHO_C" >&6
12327 if test "${ac_cv_string_strcasecmp+set}" = set; then
12328 echo $ECHO_N "(cached) $ECHO_C" >&6
12331 cat >conftest.
$ac_ext <<_ACEOF
12334 cat confdefs.h
>>conftest.
$ac_ext
12335 cat >>conftest.
$ac_ext <<_ACEOF
12336 /* end confdefs.h. */
12338 #include <string.h>
12344 strcasecmp("foo", "bar");
12350 rm -f conftest.
$ac_objext conftest
$ac_exeext
12351 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12352 (eval $ac_link) 2>conftest.er1
12354 grep -v '^ *+' conftest.er1
>conftest.err
12356 cat conftest.err
>&5
12357 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12358 (exit $ac_status); } &&
12359 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
12360 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12361 (eval $ac_try) 2>&5
12363 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12364 (exit $ac_status); }; } &&
12365 { ac_try
='test -s conftest$ac_exeext'
12366 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12367 (eval $ac_try) 2>&5
12369 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12370 (exit $ac_status); }; }; then
12371 ac_cv_string_strcasecmp
=yes
12373 echo "$as_me: failed program was:" >&5
12374 sed 's/^/| /' conftest.
$ac_ext >&5
12376 ac_cv_string_strcasecmp
=no
12379 rm -f conftest.err conftest.
$ac_objext \
12380 conftest
$ac_exeext conftest.
$ac_ext
12383 echo "$as_me:$LINENO: result: $ac_cv_string_strcasecmp" >&5
12384 echo "${ECHO_T}$ac_cv_string_strcasecmp" >&6
12386 if test x
"$ac_cv_string_strcasecmp" = "xyes"; then
12387 cat >>confdefs.h
<<\_ACEOF
12388 #define HAVE_STRCASECMP_IN_STRING_H 1
12392 echo "$as_me:$LINENO: checking for strcasecmp() in strings.h" >&5
12393 echo $ECHO_N "checking for strcasecmp() in strings.h... $ECHO_C" >&6
12394 if test "${ac_cv_strings_strcasecmp+set}" = set; then
12395 echo $ECHO_N "(cached) $ECHO_C" >&6
12398 cat >conftest.
$ac_ext <<_ACEOF
12401 cat confdefs.h
>>conftest.
$ac_ext
12402 cat >>conftest.
$ac_ext <<_ACEOF
12403 /* end confdefs.h. */
12405 #include <strings.h>
12411 strcasecmp("foo", "bar");
12417 rm -f conftest.
$ac_objext conftest
$ac_exeext
12418 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12419 (eval $ac_link) 2>conftest.er1
12421 grep -v '^ *+' conftest.er1
>conftest.err
12423 cat conftest.err
>&5
12424 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12425 (exit $ac_status); } &&
12426 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
12427 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12428 (eval $ac_try) 2>&5
12430 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12431 (exit $ac_status); }; } &&
12432 { ac_try
='test -s conftest$ac_exeext'
12433 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12434 (eval $ac_try) 2>&5
12436 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12437 (exit $ac_status); }; }; then
12438 ac_cv_strings_strcasecmp
=yes
12440 echo "$as_me: failed program was:" >&5
12441 sed 's/^/| /' conftest.
$ac_ext >&5
12443 ac_cv_strings_strcasecmp
=no
12446 rm -f conftest.err conftest.
$ac_objext \
12447 conftest
$ac_exeext conftest.
$ac_ext
12450 echo "$as_me:$LINENO: result: $ac_cv_strings_strcasecmp" >&5
12451 echo "${ECHO_T}$ac_cv_strings_strcasecmp" >&6
12453 if test x
"$ac_cv_string_strcasecmp" = "xyes"; then
12454 cat >>confdefs.h
<<\_ACEOF
12455 #define HAVE_STRCASECMP_IN_STRINGS_H 1
12459 { { echo "$as_me:$LINENO: error: No case-insensitive string comparison function found." >&5
12460 echo "$as_me: error: No case-insensitive string comparison function found." >&2;}
12461 { (exit 1); exit 1; }; }
12466 ac_cpp
='$CPP $CPPFLAGS'
12467 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12468 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12469 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
12475 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
12476 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
12477 if test "${ac_cv_header_stdc+set}" = set; then
12478 echo $ECHO_N "(cached) $ECHO_C" >&6
12480 cat >conftest.
$ac_ext <<_ACEOF
12483 cat confdefs.h
>>conftest.
$ac_ext
12484 cat >>conftest.
$ac_ext <<_ACEOF
12485 /* end confdefs.h. */
12486 #include <stdlib.h>
12487 #include <stdarg.h>
12488 #include <string.h>
12499 rm -f conftest.
$ac_objext
12500 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12501 (eval $ac_compile) 2>conftest.er1
12503 grep -v '^ *+' conftest.er1
>conftest.err
12505 cat conftest.err
>&5
12506 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12507 (exit $ac_status); } &&
12508 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12509 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12510 (eval $ac_try) 2>&5
12512 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12513 (exit $ac_status); }; } &&
12514 { ac_try
='test -s conftest.$ac_objext'
12515 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12516 (eval $ac_try) 2>&5
12518 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12519 (exit $ac_status); }; }; then
12520 ac_cv_header_stdc
=yes
12522 echo "$as_me: failed program was:" >&5
12523 sed 's/^/| /' conftest.
$ac_ext >&5
12525 ac_cv_header_stdc
=no
12527 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12529 if test $ac_cv_header_stdc = yes; then
12530 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
12531 cat >conftest.
$ac_ext <<_ACEOF
12534 cat confdefs.h
>>conftest.
$ac_ext
12535 cat >>conftest.
$ac_ext <<_ACEOF
12536 /* end confdefs.h. */
12537 #include <string.h>
12540 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
12541 $EGREP "memchr" >/dev
/null
2>&1; then
12544 ac_cv_header_stdc
=no
12550 if test $ac_cv_header_stdc = yes; then
12551 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
12552 cat >conftest.
$ac_ext <<_ACEOF
12555 cat confdefs.h
>>conftest.
$ac_ext
12556 cat >>conftest.
$ac_ext <<_ACEOF
12557 /* end confdefs.h. */
12558 #include <stdlib.h>
12561 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
12562 $EGREP "free" >/dev
/null
2>&1; then
12565 ac_cv_header_stdc
=no
12571 if test $ac_cv_header_stdc = yes; then
12572 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
12573 if test "$cross_compiling" = yes; then
12576 cat >conftest.
$ac_ext <<_ACEOF
12579 cat confdefs.h
>>conftest.
$ac_ext
12580 cat >>conftest.
$ac_ext <<_ACEOF
12581 /* end confdefs.h. */
12583 #if ((' ' & 0x0FF) == 0x020)
12584 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
12585 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
12587 # define ISLOWER(c) \
12588 (('a' <= (c) && (c) <= 'i') \
12589 || ('j' <= (c) && (c) <= 'r') \
12590 || ('s' <= (c) && (c) <= 'z'))
12591 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
12594 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
12599 for (i = 0; i < 256; i++)
12600 if (XOR (islower (i), ISLOWER (i))
12601 || toupper (i) != TOUPPER (i))
12606 rm -f conftest
$ac_exeext
12607 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12608 (eval $ac_link) 2>&5
12610 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12611 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
12612 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12613 (eval $ac_try) 2>&5
12615 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12616 (exit $ac_status); }; }; then
12619 echo "$as_me: program exited with status $ac_status" >&5
12620 echo "$as_me: failed program was:" >&5
12621 sed 's/^/| /' conftest.
$ac_ext >&5
12623 ( exit $ac_status )
12624 ac_cv_header_stdc
=no
12626 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
12630 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
12631 echo "${ECHO_T}$ac_cv_header_stdc" >&6
12632 if test $ac_cv_header_stdc = yes; then
12634 cat >>confdefs.h
<<\_ACEOF
12635 #define STDC_HEADERS 1
12640 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
12650 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
12651 inttypes.h stdint.h unistd.h
12653 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
12654 echo "$as_me:$LINENO: checking for $ac_header" >&5
12655 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12656 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12657 echo $ECHO_N "(cached) $ECHO_C" >&6
12659 cat >conftest.
$ac_ext <<_ACEOF
12662 cat confdefs.h
>>conftest.
$ac_ext
12663 cat >>conftest.
$ac_ext <<_ACEOF
12664 /* end confdefs.h. */
12665 $ac_includes_default
12667 #include <$ac_header>
12669 rm -f conftest.
$ac_objext
12670 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12671 (eval $ac_compile) 2>conftest.er1
12673 grep -v '^ *+' conftest.er1
>conftest.err
12675 cat conftest.err
>&5
12676 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12677 (exit $ac_status); } &&
12678 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12679 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12680 (eval $ac_try) 2>&5
12682 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12683 (exit $ac_status); }; } &&
12684 { ac_try
='test -s conftest.$ac_objext'
12685 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12686 (eval $ac_try) 2>&5
12688 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12689 (exit $ac_status); }; }; then
12690 eval "$as_ac_Header=yes"
12692 echo "$as_me: failed program was:" >&5
12693 sed 's/^/| /' conftest.
$ac_ext >&5
12695 eval "$as_ac_Header=no"
12697 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12699 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12700 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12701 if test `eval echo '${'$as_ac_Header'}'` = yes; then
12702 cat >>confdefs.h
<<_ACEOF
12703 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
12712 for ac_header
in stdlib.h
12714 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
12715 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12716 echo "$as_me:$LINENO: checking for $ac_header" >&5
12717 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12718 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12719 echo $ECHO_N "(cached) $ECHO_C" >&6
12721 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12722 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12724 # Is the header compilable?
12725 echo "$as_me:$LINENO: checking $ac_header usability" >&5
12726 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
12727 cat >conftest.
$ac_ext <<_ACEOF
12730 cat confdefs.h
>>conftest.
$ac_ext
12731 cat >>conftest.
$ac_ext <<_ACEOF
12732 /* end confdefs.h. */
12733 $ac_includes_default
12734 #include <$ac_header>
12736 rm -f conftest.
$ac_objext
12737 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12738 (eval $ac_compile) 2>conftest.er1
12740 grep -v '^ *+' conftest.er1
>conftest.err
12742 cat conftest.err
>&5
12743 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12744 (exit $ac_status); } &&
12745 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12746 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12747 (eval $ac_try) 2>&5
12749 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12750 (exit $ac_status); }; } &&
12751 { ac_try
='test -s conftest.$ac_objext'
12752 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12753 (eval $ac_try) 2>&5
12755 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12756 (exit $ac_status); }; }; then
12757 ac_header_compiler
=yes
12759 echo "$as_me: failed program was:" >&5
12760 sed 's/^/| /' conftest.
$ac_ext >&5
12762 ac_header_compiler
=no
12764 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12765 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
12766 echo "${ECHO_T}$ac_header_compiler" >&6
12768 # Is the header present?
12769 echo "$as_me:$LINENO: checking $ac_header presence" >&5
12770 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
12771 cat >conftest.
$ac_ext <<_ACEOF
12774 cat confdefs.h
>>conftest.
$ac_ext
12775 cat >>conftest.
$ac_ext <<_ACEOF
12776 /* end confdefs.h. */
12777 #include <$ac_header>
12779 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
12780 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
12782 grep -v '^ *+' conftest.er1
>conftest.err
12784 cat conftest.err
>&5
12785 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12786 (exit $ac_status); } >/dev
/null
; then
12787 if test -s conftest.err
; then
12788 ac_cpp_err
=$ac_c_preproc_warn_flag
12789 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
12796 if test -z "$ac_cpp_err"; then
12797 ac_header_preproc
=yes
12799 echo "$as_me: failed program was:" >&5
12800 sed 's/^/| /' conftest.
$ac_ext >&5
12802 ac_header_preproc
=no
12804 rm -f conftest.err conftest.
$ac_ext
12805 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
12806 echo "${ECHO_T}$ac_header_preproc" >&6
12808 # So? What about this header?
12809 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
12811 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
12812 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
12813 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
12814 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
12815 ac_header_preproc
=yes
12818 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
12819 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
12820 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
12821 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
12822 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
12823 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
12824 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
12825 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
12826 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12827 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
12828 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
12829 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
12832 ## ----------------------------------------- ##
12833 ## Report this to wx-dev@lists.wxwindows.org ##
12834 ## ----------------------------------------- ##
12837 sed "s/^/$as_me: WARNING: /" >&2
12840 echo "$as_me:$LINENO: checking for $ac_header" >&5
12841 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12842 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12843 echo $ECHO_N "(cached) $ECHO_C" >&6
12845 eval "$as_ac_Header=\$ac_header_preproc"
12847 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12848 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12851 if test `eval echo '${'$as_ac_Header'}'` = yes; then
12852 cat >>confdefs.h
<<_ACEOF
12853 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
12861 for ac_header
in malloc.h
12863 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
12864 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12865 echo "$as_me:$LINENO: checking for $ac_header" >&5
12866 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12867 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12868 echo $ECHO_N "(cached) $ECHO_C" >&6
12870 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12871 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12873 # Is the header compilable?
12874 echo "$as_me:$LINENO: checking $ac_header usability" >&5
12875 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
12876 cat >conftest.
$ac_ext <<_ACEOF
12879 cat confdefs.h
>>conftest.
$ac_ext
12880 cat >>conftest.
$ac_ext <<_ACEOF
12881 /* end confdefs.h. */
12882 $ac_includes_default
12883 #include <$ac_header>
12885 rm -f conftest.
$ac_objext
12886 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12887 (eval $ac_compile) 2>conftest.er1
12889 grep -v '^ *+' conftest.er1
>conftest.err
12891 cat conftest.err
>&5
12892 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12893 (exit $ac_status); } &&
12894 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12895 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12896 (eval $ac_try) 2>&5
12898 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12899 (exit $ac_status); }; } &&
12900 { ac_try
='test -s conftest.$ac_objext'
12901 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12902 (eval $ac_try) 2>&5
12904 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12905 (exit $ac_status); }; }; then
12906 ac_header_compiler
=yes
12908 echo "$as_me: failed program was:" >&5
12909 sed 's/^/| /' conftest.
$ac_ext >&5
12911 ac_header_compiler
=no
12913 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12914 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
12915 echo "${ECHO_T}$ac_header_compiler" >&6
12917 # Is the header present?
12918 echo "$as_me:$LINENO: checking $ac_header presence" >&5
12919 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
12920 cat >conftest.
$ac_ext <<_ACEOF
12923 cat confdefs.h
>>conftest.
$ac_ext
12924 cat >>conftest.
$ac_ext <<_ACEOF
12925 /* end confdefs.h. */
12926 #include <$ac_header>
12928 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
12929 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
12931 grep -v '^ *+' conftest.er1
>conftest.err
12933 cat conftest.err
>&5
12934 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12935 (exit $ac_status); } >/dev
/null
; then
12936 if test -s conftest.err
; then
12937 ac_cpp_err
=$ac_c_preproc_warn_flag
12938 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
12945 if test -z "$ac_cpp_err"; then
12946 ac_header_preproc
=yes
12948 echo "$as_me: failed program was:" >&5
12949 sed 's/^/| /' conftest.
$ac_ext >&5
12951 ac_header_preproc
=no
12953 rm -f conftest.err conftest.
$ac_ext
12954 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
12955 echo "${ECHO_T}$ac_header_preproc" >&6
12957 # So? What about this header?
12958 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
12960 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
12961 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
12962 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
12963 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
12964 ac_header_preproc
=yes
12967 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
12968 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
12969 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
12970 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
12971 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
12972 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
12973 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
12974 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
12975 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12976 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
12977 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
12978 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
12981 ## ----------------------------------------- ##
12982 ## Report this to wx-dev@lists.wxwindows.org ##
12983 ## ----------------------------------------- ##
12986 sed "s/^/$as_me: WARNING: /" >&2
12989 echo "$as_me:$LINENO: checking for $ac_header" >&5
12990 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12991 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12992 echo $ECHO_N "(cached) $ECHO_C" >&6
12994 eval "$as_ac_Header=\$ac_header_preproc"
12996 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12997 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13000 if test `eval echo '${'$as_ac_Header'}'` = yes; then
13001 cat >>confdefs.h
<<_ACEOF
13002 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
13010 for ac_header
in unistd.h
13012 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
13013 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13014 echo "$as_me:$LINENO: checking for $ac_header" >&5
13015 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13016 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13017 echo $ECHO_N "(cached) $ECHO_C" >&6
13019 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13020 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13022 # Is the header compilable?
13023 echo "$as_me:$LINENO: checking $ac_header usability" >&5
13024 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
13025 cat >conftest.
$ac_ext <<_ACEOF
13028 cat confdefs.h
>>conftest.
$ac_ext
13029 cat >>conftest.
$ac_ext <<_ACEOF
13030 /* end confdefs.h. */
13031 $ac_includes_default
13032 #include <$ac_header>
13034 rm -f conftest.
$ac_objext
13035 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13036 (eval $ac_compile) 2>conftest.er1
13038 grep -v '^ *+' conftest.er1
>conftest.err
13040 cat conftest.err
>&5
13041 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13042 (exit $ac_status); } &&
13043 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13044 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13045 (eval $ac_try) 2>&5
13047 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13048 (exit $ac_status); }; } &&
13049 { ac_try
='test -s conftest.$ac_objext'
13050 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13051 (eval $ac_try) 2>&5
13053 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13054 (exit $ac_status); }; }; then
13055 ac_header_compiler
=yes
13057 echo "$as_me: failed program was:" >&5
13058 sed 's/^/| /' conftest.
$ac_ext >&5
13060 ac_header_compiler
=no
13062 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13063 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
13064 echo "${ECHO_T}$ac_header_compiler" >&6
13066 # Is the header present?
13067 echo "$as_me:$LINENO: checking $ac_header presence" >&5
13068 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
13069 cat >conftest.
$ac_ext <<_ACEOF
13072 cat confdefs.h
>>conftest.
$ac_ext
13073 cat >>conftest.
$ac_ext <<_ACEOF
13074 /* end confdefs.h. */
13075 #include <$ac_header>
13077 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
13078 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
13080 grep -v '^ *+' conftest.er1
>conftest.err
13082 cat conftest.err
>&5
13083 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13084 (exit $ac_status); } >/dev
/null
; then
13085 if test -s conftest.err
; then
13086 ac_cpp_err
=$ac_c_preproc_warn_flag
13087 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
13094 if test -z "$ac_cpp_err"; then
13095 ac_header_preproc
=yes
13097 echo "$as_me: failed program was:" >&5
13098 sed 's/^/| /' conftest.
$ac_ext >&5
13100 ac_header_preproc
=no
13102 rm -f conftest.err conftest.
$ac_ext
13103 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
13104 echo "${ECHO_T}$ac_header_preproc" >&6
13106 # So? What about this header?
13107 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
13109 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
13110 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
13111 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
13112 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
13113 ac_header_preproc
=yes
13116 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
13117 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
13118 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
13119 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
13120 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
13121 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
13122 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
13123 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
13124 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
13125 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
13126 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
13127 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
13130 ## ----------------------------------------- ##
13131 ## Report this to wx-dev@lists.wxwindows.org ##
13132 ## ----------------------------------------- ##
13135 sed "s/^/$as_me: WARNING: /" >&2
13138 echo "$as_me:$LINENO: checking for $ac_header" >&5
13139 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13140 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13141 echo $ECHO_N "(cached) $ECHO_C" >&6
13143 eval "$as_ac_Header=\$ac_header_preproc"
13145 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13146 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13149 if test `eval echo '${'$as_ac_Header'}'` = yes; then
13150 cat >>confdefs.h
<<_ACEOF
13151 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
13159 for ac_header
in wchar.h
13161 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
13162 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13163 echo "$as_me:$LINENO: checking for $ac_header" >&5
13164 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13165 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13166 echo $ECHO_N "(cached) $ECHO_C" >&6
13168 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13169 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13171 # Is the header compilable?
13172 echo "$as_me:$LINENO: checking $ac_header usability" >&5
13173 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
13174 cat >conftest.
$ac_ext <<_ACEOF
13177 cat confdefs.h
>>conftest.
$ac_ext
13178 cat >>conftest.
$ac_ext <<_ACEOF
13179 /* end confdefs.h. */
13180 $ac_includes_default
13181 #include <$ac_header>
13183 rm -f conftest.
$ac_objext
13184 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13185 (eval $ac_compile) 2>conftest.er1
13187 grep -v '^ *+' conftest.er1
>conftest.err
13189 cat conftest.err
>&5
13190 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13191 (exit $ac_status); } &&
13192 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13193 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13194 (eval $ac_try) 2>&5
13196 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13197 (exit $ac_status); }; } &&
13198 { ac_try
='test -s conftest.$ac_objext'
13199 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13200 (eval $ac_try) 2>&5
13202 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13203 (exit $ac_status); }; }; then
13204 ac_header_compiler
=yes
13206 echo "$as_me: failed program was:" >&5
13207 sed 's/^/| /' conftest.
$ac_ext >&5
13209 ac_header_compiler
=no
13211 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13212 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
13213 echo "${ECHO_T}$ac_header_compiler" >&6
13215 # Is the header present?
13216 echo "$as_me:$LINENO: checking $ac_header presence" >&5
13217 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
13218 cat >conftest.
$ac_ext <<_ACEOF
13221 cat confdefs.h
>>conftest.
$ac_ext
13222 cat >>conftest.
$ac_ext <<_ACEOF
13223 /* end confdefs.h. */
13224 #include <$ac_header>
13226 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
13227 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
13229 grep -v '^ *+' conftest.er1
>conftest.err
13231 cat conftest.err
>&5
13232 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13233 (exit $ac_status); } >/dev
/null
; then
13234 if test -s conftest.err
; then
13235 ac_cpp_err
=$ac_c_preproc_warn_flag
13236 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
13243 if test -z "$ac_cpp_err"; then
13244 ac_header_preproc
=yes
13246 echo "$as_me: failed program was:" >&5
13247 sed 's/^/| /' conftest.
$ac_ext >&5
13249 ac_header_preproc
=no
13251 rm -f conftest.err conftest.
$ac_ext
13252 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
13253 echo "${ECHO_T}$ac_header_preproc" >&6
13255 # So? What about this header?
13256 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
13258 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
13259 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
13260 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
13261 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
13262 ac_header_preproc
=yes
13265 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
13266 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
13267 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
13268 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
13269 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
13270 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
13271 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
13272 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
13273 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
13274 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
13275 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
13276 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
13279 ## ----------------------------------------- ##
13280 ## Report this to wx-dev@lists.wxwindows.org ##
13281 ## ----------------------------------------- ##
13284 sed "s/^/$as_me: WARNING: /" >&2
13287 echo "$as_me:$LINENO: checking for $ac_header" >&5
13288 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13289 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13290 echo $ECHO_N "(cached) $ECHO_C" >&6
13292 eval "$as_ac_Header=\$ac_header_preproc"
13294 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13295 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13298 if test `eval echo '${'$as_ac_Header'}'` = yes; then
13299 cat >>confdefs.h
<<_ACEOF
13300 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
13308 if test "$ac_cv_header_wchar_h" != "yes"; then
13310 for ac_header
in wcstr.h
13312 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
13313 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13314 echo "$as_me:$LINENO: checking for $ac_header" >&5
13315 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13316 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13317 echo $ECHO_N "(cached) $ECHO_C" >&6
13319 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13320 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13322 # Is the header compilable?
13323 echo "$as_me:$LINENO: checking $ac_header usability" >&5
13324 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
13325 cat >conftest.
$ac_ext <<_ACEOF
13328 cat confdefs.h
>>conftest.
$ac_ext
13329 cat >>conftest.
$ac_ext <<_ACEOF
13330 /* end confdefs.h. */
13331 $ac_includes_default
13332 #include <$ac_header>
13334 rm -f conftest.
$ac_objext
13335 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13336 (eval $ac_compile) 2>conftest.er1
13338 grep -v '^ *+' conftest.er1
>conftest.err
13340 cat conftest.err
>&5
13341 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13342 (exit $ac_status); } &&
13343 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13344 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13345 (eval $ac_try) 2>&5
13347 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13348 (exit $ac_status); }; } &&
13349 { ac_try
='test -s conftest.$ac_objext'
13350 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13351 (eval $ac_try) 2>&5
13353 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13354 (exit $ac_status); }; }; then
13355 ac_header_compiler
=yes
13357 echo "$as_me: failed program was:" >&5
13358 sed 's/^/| /' conftest.
$ac_ext >&5
13360 ac_header_compiler
=no
13362 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13363 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
13364 echo "${ECHO_T}$ac_header_compiler" >&6
13366 # Is the header present?
13367 echo "$as_me:$LINENO: checking $ac_header presence" >&5
13368 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
13369 cat >conftest.
$ac_ext <<_ACEOF
13372 cat confdefs.h
>>conftest.
$ac_ext
13373 cat >>conftest.
$ac_ext <<_ACEOF
13374 /* end confdefs.h. */
13375 #include <$ac_header>
13377 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
13378 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
13380 grep -v '^ *+' conftest.er1
>conftest.err
13382 cat conftest.err
>&5
13383 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13384 (exit $ac_status); } >/dev
/null
; then
13385 if test -s conftest.err
; then
13386 ac_cpp_err
=$ac_c_preproc_warn_flag
13387 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
13394 if test -z "$ac_cpp_err"; then
13395 ac_header_preproc
=yes
13397 echo "$as_me: failed program was:" >&5
13398 sed 's/^/| /' conftest.
$ac_ext >&5
13400 ac_header_preproc
=no
13402 rm -f conftest.err conftest.
$ac_ext
13403 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
13404 echo "${ECHO_T}$ac_header_preproc" >&6
13406 # So? What about this header?
13407 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
13409 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
13410 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
13411 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
13412 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
13413 ac_header_preproc
=yes
13416 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
13417 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
13418 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
13419 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
13420 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
13421 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
13422 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
13423 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
13424 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
13425 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
13426 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
13427 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
13430 ## ----------------------------------------- ##
13431 ## Report this to wx-dev@lists.wxwindows.org ##
13432 ## ----------------------------------------- ##
13435 sed "s/^/$as_me: WARNING: /" >&2
13438 echo "$as_me:$LINENO: checking for $ac_header" >&5
13439 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13440 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13441 echo $ECHO_N "(cached) $ECHO_C" >&6
13443 eval "$as_ac_Header=\$ac_header_preproc"
13445 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13446 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13449 if test `eval echo '${'$as_ac_Header'}'` = yes; then
13450 cat >>confdefs.h
<<_ACEOF
13451 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
13461 for ac_header
in fnmatch.h
13463 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
13464 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13465 echo "$as_me:$LINENO: checking for $ac_header" >&5
13466 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13467 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13468 echo $ECHO_N "(cached) $ECHO_C" >&6
13470 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13471 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13473 # Is the header compilable?
13474 echo "$as_me:$LINENO: checking $ac_header usability" >&5
13475 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
13476 cat >conftest.
$ac_ext <<_ACEOF
13479 cat confdefs.h
>>conftest.
$ac_ext
13480 cat >>conftest.
$ac_ext <<_ACEOF
13481 /* end confdefs.h. */
13482 $ac_includes_default
13483 #include <$ac_header>
13485 rm -f conftest.
$ac_objext
13486 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13487 (eval $ac_compile) 2>conftest.er1
13489 grep -v '^ *+' conftest.er1
>conftest.err
13491 cat conftest.err
>&5
13492 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13493 (exit $ac_status); } &&
13494 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13495 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13496 (eval $ac_try) 2>&5
13498 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13499 (exit $ac_status); }; } &&
13500 { ac_try
='test -s conftest.$ac_objext'
13501 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13502 (eval $ac_try) 2>&5
13504 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13505 (exit $ac_status); }; }; then
13506 ac_header_compiler
=yes
13508 echo "$as_me: failed program was:" >&5
13509 sed 's/^/| /' conftest.
$ac_ext >&5
13511 ac_header_compiler
=no
13513 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13514 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
13515 echo "${ECHO_T}$ac_header_compiler" >&6
13517 # Is the header present?
13518 echo "$as_me:$LINENO: checking $ac_header presence" >&5
13519 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
13520 cat >conftest.
$ac_ext <<_ACEOF
13523 cat confdefs.h
>>conftest.
$ac_ext
13524 cat >>conftest.
$ac_ext <<_ACEOF
13525 /* end confdefs.h. */
13526 #include <$ac_header>
13528 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
13529 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
13531 grep -v '^ *+' conftest.er1
>conftest.err
13533 cat conftest.err
>&5
13534 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13535 (exit $ac_status); } >/dev
/null
; then
13536 if test -s conftest.err
; then
13537 ac_cpp_err
=$ac_c_preproc_warn_flag
13538 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
13545 if test -z "$ac_cpp_err"; then
13546 ac_header_preproc
=yes
13548 echo "$as_me: failed program was:" >&5
13549 sed 's/^/| /' conftest.
$ac_ext >&5
13551 ac_header_preproc
=no
13553 rm -f conftest.err conftest.
$ac_ext
13554 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
13555 echo "${ECHO_T}$ac_header_preproc" >&6
13557 # So? What about this header?
13558 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
13560 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
13561 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
13562 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
13563 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
13564 ac_header_preproc
=yes
13567 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
13568 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
13569 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
13570 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
13571 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
13572 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
13573 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
13574 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
13575 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
13576 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
13577 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
13578 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
13581 ## ----------------------------------------- ##
13582 ## Report this to wx-dev@lists.wxwindows.org ##
13583 ## ----------------------------------------- ##
13586 sed "s/^/$as_me: WARNING: /" >&2
13589 echo "$as_me:$LINENO: checking for $ac_header" >&5
13590 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13591 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13592 echo $ECHO_N "(cached) $ECHO_C" >&6
13594 eval "$as_ac_Header=\$ac_header_preproc"
13596 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13597 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13600 if test `eval echo '${'$as_ac_Header'}'` = yes; then
13601 cat >>confdefs.h
<<_ACEOF
13602 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
13610 if test "x$ac_cv_header_fnmatch_h" = "xyes"; then
13612 for ac_func
in fnmatch
13614 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
13615 echo "$as_me:$LINENO: checking for $ac_func" >&5
13616 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
13617 if eval "test \"\${$as_ac_var+set}\" = set"; then
13618 echo $ECHO_N "(cached) $ECHO_C" >&6
13620 cat >conftest.
$ac_ext <<_ACEOF
13623 cat confdefs.h
>>conftest.
$ac_ext
13624 cat >>conftest.
$ac_ext <<_ACEOF
13625 /* end confdefs.h. */
13626 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
13627 For example, HP-UX 11i <limits.h> declares gettimeofday. */
13628 #define $ac_func innocuous_$ac_func
13630 /* System header to define __stub macros and hopefully few prototypes,
13631 which can conflict with char $ac_func (); below.
13632 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13633 <limits.h> exists even on freestanding compilers. */
13636 # include <limits.h>
13638 # include <assert.h>
13643 /* Override any gcc2 internal prototype to avoid an error. */
13648 /* We use char because int might match the return type of a gcc2
13649 builtin and then its argument prototype would still apply. */
13651 /* The GNU C library defines this for functions which it implements
13652 to always fail with ENOSYS. Some functions are actually named
13653 something starting with __ and the normal name is an alias. */
13654 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13657 char (*f) () = $ac_func;
13666 return f != $ac_func;
13671 rm -f conftest.
$ac_objext conftest
$ac_exeext
13672 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13673 (eval $ac_link) 2>conftest.er1
13675 grep -v '^ *+' conftest.er1
>conftest.err
13677 cat conftest.err
>&5
13678 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13679 (exit $ac_status); } &&
13680 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13681 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13682 (eval $ac_try) 2>&5
13684 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13685 (exit $ac_status); }; } &&
13686 { ac_try
='test -s conftest$ac_exeext'
13687 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13688 (eval $ac_try) 2>&5
13690 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13691 (exit $ac_status); }; }; then
13692 eval "$as_ac_var=yes"
13694 echo "$as_me: failed program was:" >&5
13695 sed 's/^/| /' conftest.
$ac_ext >&5
13697 eval "$as_ac_var=no"
13699 rm -f conftest.err conftest.
$ac_objext \
13700 conftest
$ac_exeext conftest.
$ac_ext
13702 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
13703 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
13704 if test `eval echo '${'$as_ac_var'}'` = yes; then
13705 cat >>confdefs.h
<<_ACEOF
13706 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
13715 for ac_header
in langinfo.h
13717 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
13718 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13719 echo "$as_me:$LINENO: checking for $ac_header" >&5
13720 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13721 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13722 echo $ECHO_N "(cached) $ECHO_C" >&6
13724 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13725 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13727 # Is the header compilable?
13728 echo "$as_me:$LINENO: checking $ac_header usability" >&5
13729 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
13730 cat >conftest.
$ac_ext <<_ACEOF
13733 cat confdefs.h
>>conftest.
$ac_ext
13734 cat >>conftest.
$ac_ext <<_ACEOF
13735 /* end confdefs.h. */
13736 $ac_includes_default
13737 #include <$ac_header>
13739 rm -f conftest.
$ac_objext
13740 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13741 (eval $ac_compile) 2>conftest.er1
13743 grep -v '^ *+' conftest.er1
>conftest.err
13745 cat conftest.err
>&5
13746 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13747 (exit $ac_status); } &&
13748 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13749 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13750 (eval $ac_try) 2>&5
13752 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13753 (exit $ac_status); }; } &&
13754 { ac_try
='test -s conftest.$ac_objext'
13755 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13756 (eval $ac_try) 2>&5
13758 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13759 (exit $ac_status); }; }; then
13760 ac_header_compiler
=yes
13762 echo "$as_me: failed program was:" >&5
13763 sed 's/^/| /' conftest.
$ac_ext >&5
13765 ac_header_compiler
=no
13767 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13768 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
13769 echo "${ECHO_T}$ac_header_compiler" >&6
13771 # Is the header present?
13772 echo "$as_me:$LINENO: checking $ac_header presence" >&5
13773 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
13774 cat >conftest.
$ac_ext <<_ACEOF
13777 cat confdefs.h
>>conftest.
$ac_ext
13778 cat >>conftest.
$ac_ext <<_ACEOF
13779 /* end confdefs.h. */
13780 #include <$ac_header>
13782 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
13783 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
13785 grep -v '^ *+' conftest.er1
>conftest.err
13787 cat conftest.err
>&5
13788 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13789 (exit $ac_status); } >/dev
/null
; then
13790 if test -s conftest.err
; then
13791 ac_cpp_err
=$ac_c_preproc_warn_flag
13792 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
13799 if test -z "$ac_cpp_err"; then
13800 ac_header_preproc
=yes
13802 echo "$as_me: failed program was:" >&5
13803 sed 's/^/| /' conftest.
$ac_ext >&5
13805 ac_header_preproc
=no
13807 rm -f conftest.err conftest.
$ac_ext
13808 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
13809 echo "${ECHO_T}$ac_header_preproc" >&6
13811 # So? What about this header?
13812 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
13814 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
13815 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
13816 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
13817 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
13818 ac_header_preproc
=yes
13821 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
13822 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
13823 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
13824 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
13825 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
13826 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
13827 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
13828 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
13829 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
13830 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
13831 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
13832 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
13835 ## ----------------------------------------- ##
13836 ## Report this to wx-dev@lists.wxwindows.org ##
13837 ## ----------------------------------------- ##
13840 sed "s/^/$as_me: WARNING: /" >&2
13843 echo "$as_me:$LINENO: checking for $ac_header" >&5
13844 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13845 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13846 echo $ECHO_N "(cached) $ECHO_C" >&6
13848 eval "$as_ac_Header=\$ac_header_preproc"
13850 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13851 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13854 if test `eval echo '${'$as_ac_Header'}'` = yes; then
13855 cat >>confdefs.h
<<_ACEOF
13856 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
13865 *-pc-os2_emx | *-pc-os2-emx )
13866 if test $ac_cv_header_langinfo_h = "yes"; then
13867 LIBS
="$LIBS -lintl"
13872 if test "$wxUSE_GUI" = "yes"; then
13873 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_PM" != 1; then
13875 for ac_header
in X
11/Xlib.h
13877 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
13878 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13879 echo "$as_me:$LINENO: checking for $ac_header" >&5
13880 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13881 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13882 echo $ECHO_N "(cached) $ECHO_C" >&6
13884 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13885 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13887 # Is the header compilable?
13888 echo "$as_me:$LINENO: checking $ac_header usability" >&5
13889 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
13890 cat >conftest.
$ac_ext <<_ACEOF
13893 cat confdefs.h
>>conftest.
$ac_ext
13894 cat >>conftest.
$ac_ext <<_ACEOF
13895 /* end confdefs.h. */
13896 $ac_includes_default
13897 #include <$ac_header>
13899 rm -f conftest.
$ac_objext
13900 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13901 (eval $ac_compile) 2>conftest.er1
13903 grep -v '^ *+' conftest.er1
>conftest.err
13905 cat conftest.err
>&5
13906 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13907 (exit $ac_status); } &&
13908 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13909 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13910 (eval $ac_try) 2>&5
13912 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13913 (exit $ac_status); }; } &&
13914 { ac_try
='test -s conftest.$ac_objext'
13915 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13916 (eval $ac_try) 2>&5
13918 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13919 (exit $ac_status); }; }; then
13920 ac_header_compiler
=yes
13922 echo "$as_me: failed program was:" >&5
13923 sed 's/^/| /' conftest.
$ac_ext >&5
13925 ac_header_compiler
=no
13927 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13928 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
13929 echo "${ECHO_T}$ac_header_compiler" >&6
13931 # Is the header present?
13932 echo "$as_me:$LINENO: checking $ac_header presence" >&5
13933 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
13934 cat >conftest.
$ac_ext <<_ACEOF
13937 cat confdefs.h
>>conftest.
$ac_ext
13938 cat >>conftest.
$ac_ext <<_ACEOF
13939 /* end confdefs.h. */
13940 #include <$ac_header>
13942 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
13943 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
13945 grep -v '^ *+' conftest.er1
>conftest.err
13947 cat conftest.err
>&5
13948 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13949 (exit $ac_status); } >/dev
/null
; then
13950 if test -s conftest.err
; then
13951 ac_cpp_err
=$ac_c_preproc_warn_flag
13952 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
13959 if test -z "$ac_cpp_err"; then
13960 ac_header_preproc
=yes
13962 echo "$as_me: failed program was:" >&5
13963 sed 's/^/| /' conftest.
$ac_ext >&5
13965 ac_header_preproc
=no
13967 rm -f conftest.err conftest.
$ac_ext
13968 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
13969 echo "${ECHO_T}$ac_header_preproc" >&6
13971 # So? What about this header?
13972 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
13974 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
13975 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
13976 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
13977 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
13978 ac_header_preproc
=yes
13981 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
13982 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
13983 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
13984 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
13985 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
13986 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
13987 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
13988 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
13989 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
13990 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
13991 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
13992 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
13995 ## ----------------------------------------- ##
13996 ## Report this to wx-dev@lists.wxwindows.org ##
13997 ## ----------------------------------------- ##
14000 sed "s/^/$as_me: WARNING: /" >&2
14003 echo "$as_me:$LINENO: checking for $ac_header" >&5
14004 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
14005 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14006 echo $ECHO_N "(cached) $ECHO_C" >&6
14008 eval "$as_ac_Header=\$ac_header_preproc"
14010 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
14011 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
14014 if test `eval echo '${'$as_ac_Header'}'` = yes; then
14015 cat >>confdefs.h
<<_ACEOF
14016 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
14024 for ac_header
in X
11/XKBlib.h
14026 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
14027 echo "$as_me:$LINENO: checking for $ac_header" >&5
14028 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
14029 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14030 echo $ECHO_N "(cached) $ECHO_C" >&6
14032 cat >conftest.
$ac_ext <<_ACEOF
14035 cat confdefs.h
>>conftest.
$ac_ext
14036 cat >>conftest.
$ac_ext <<_ACEOF
14037 /* end confdefs.h. */
14039 #if HAVE_X11_XLIB_H
14040 #include <X11/Xlib.h>
14044 #include <$ac_header>
14046 rm -f conftest.
$ac_objext
14047 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14048 (eval $ac_compile) 2>conftest.er1
14050 grep -v '^ *+' conftest.er1
>conftest.err
14052 cat conftest.err
>&5
14053 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14054 (exit $ac_status); } &&
14055 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14056 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14057 (eval $ac_try) 2>&5
14059 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14060 (exit $ac_status); }; } &&
14061 { ac_try
='test -s conftest.$ac_objext'
14062 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14063 (eval $ac_try) 2>&5
14065 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14066 (exit $ac_status); }; }; then
14067 eval "$as_ac_Header=yes"
14069 echo "$as_me: failed program was:" >&5
14070 sed 's/^/| /' conftest.
$ac_ext >&5
14072 eval "$as_ac_Header=no"
14074 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14076 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
14077 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
14078 if test `eval echo '${'$as_ac_Header'}'` = yes; then
14079 cat >>confdefs.h
<<_ACEOF
14080 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
14091 echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
14092 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6
14093 if test "${ac_cv_c_const+set}" = set; then
14094 echo $ECHO_N "(cached) $ECHO_C" >&6
14096 cat >conftest.
$ac_ext <<_ACEOF
14099 cat confdefs.h
>>conftest.
$ac_ext
14100 cat >>conftest.
$ac_ext <<_ACEOF
14101 /* end confdefs.h. */
14106 /* FIXME: Include the comments suggested by Paul. */
14107 #ifndef __cplusplus
14108 /* Ultrix mips cc rejects this. */
14109 typedef int charset[2];
14111 /* SunOS 4.1.1 cc rejects this. */
14112 char const *const *ccp;
14114 /* NEC SVR4.0.2 mips cc rejects this. */
14115 struct point {int x, y;};
14116 static struct point const zero = {0,0};
14117 /* AIX XL C 1.02.0.0 rejects this.
14118 It does not let you subtract one const X* pointer from another in
14119 an arm of an if-expression whose if-part is not a constant
14121 const char *g = "string";
14122 ccp = &g + (g ? g-g : 0);
14123 /* HPUX 7.0 cc rejects these. */
14126 ccp = (char const *const *) p;
14127 { /* SCO 3.2v4 cc rejects this. */
14129 char const *s = 0 ? (char *) 0 : (char const *) 0;
14133 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
14134 int x[] = {25, 17};
14135 const int *foo = &x[0];
14138 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
14139 typedef const int *iptr;
14143 { /* AIX XL C 1.02.0.0 rejects this saying
14144 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
14145 struct s { int j; const int *ap[3]; };
14146 struct s *b; b->j = 5;
14148 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
14149 const int foo = 10;
14157 rm -f conftest.
$ac_objext
14158 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14159 (eval $ac_compile) 2>conftest.er1
14161 grep -v '^ *+' conftest.er1
>conftest.err
14163 cat conftest.err
>&5
14164 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14165 (exit $ac_status); } &&
14166 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14167 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14168 (eval $ac_try) 2>&5
14170 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14171 (exit $ac_status); }; } &&
14172 { ac_try
='test -s conftest.$ac_objext'
14173 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14174 (eval $ac_try) 2>&5
14176 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14177 (exit $ac_status); }; }; then
14180 echo "$as_me: failed program was:" >&5
14181 sed 's/^/| /' conftest.
$ac_ext >&5
14185 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14187 echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
14188 echo "${ECHO_T}$ac_cv_c_const" >&6
14189 if test $ac_cv_c_const = no
; then
14191 cat >>confdefs.h
<<\_ACEOF
14197 echo "$as_me:$LINENO: checking for inline" >&5
14198 echo $ECHO_N "checking for inline... $ECHO_C" >&6
14199 if test "${ac_cv_c_inline+set}" = set; then
14200 echo $ECHO_N "(cached) $ECHO_C" >&6
14203 for ac_kw
in inline __inline__ __inline
; do
14204 cat >conftest.
$ac_ext <<_ACEOF
14207 cat confdefs.h
>>conftest.
$ac_ext
14208 cat >>conftest.
$ac_ext <<_ACEOF
14209 /* end confdefs.h. */
14210 #ifndef __cplusplus
14212 static $ac_kw foo_t static_foo () {return 0; }
14213 $ac_kw foo_t foo () {return 0; }
14217 rm -f conftest.
$ac_objext
14218 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14219 (eval $ac_compile) 2>conftest.er1
14221 grep -v '^ *+' conftest.er1
>conftest.err
14223 cat conftest.err
>&5
14224 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14225 (exit $ac_status); } &&
14226 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14227 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14228 (eval $ac_try) 2>&5
14230 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14231 (exit $ac_status); }; } &&
14232 { ac_try
='test -s conftest.$ac_objext'
14233 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14234 (eval $ac_try) 2>&5
14236 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14237 (exit $ac_status); }; }; then
14238 ac_cv_c_inline
=$ac_kw; break
14240 echo "$as_me: failed program was:" >&5
14241 sed 's/^/| /' conftest.
$ac_ext >&5
14244 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14248 echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
14249 echo "${ECHO_T}$ac_cv_c_inline" >&6
14252 case $ac_cv_c_inline in
14255 case $ac_cv_c_inline in
14257 *) ac_val
=$ac_cv_c_inline;;
14259 cat >>confdefs.h
<<_ACEOF
14260 #ifndef __cplusplus
14261 #define inline $ac_val
14268 echo "$as_me:$LINENO: checking for char" >&5
14269 echo $ECHO_N "checking for char... $ECHO_C" >&6
14270 if test "${ac_cv_type_char+set}" = set; then
14271 echo $ECHO_N "(cached) $ECHO_C" >&6
14273 cat >conftest.
$ac_ext <<_ACEOF
14276 cat confdefs.h
>>conftest.
$ac_ext
14277 cat >>conftest.
$ac_ext <<_ACEOF
14278 /* end confdefs.h. */
14279 $ac_includes_default
14291 rm -f conftest.
$ac_objext
14292 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14293 (eval $ac_compile) 2>conftest.er1
14295 grep -v '^ *+' conftest.er1
>conftest.err
14297 cat conftest.err
>&5
14298 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14299 (exit $ac_status); } &&
14300 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14301 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14302 (eval $ac_try) 2>&5
14304 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14305 (exit $ac_status); }; } &&
14306 { ac_try
='test -s conftest.$ac_objext'
14307 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14308 (eval $ac_try) 2>&5
14310 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14311 (exit $ac_status); }; }; then
14312 ac_cv_type_char
=yes
14314 echo "$as_me: failed program was:" >&5
14315 sed 's/^/| /' conftest.
$ac_ext >&5
14319 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14321 echo "$as_me:$LINENO: result: $ac_cv_type_char" >&5
14322 echo "${ECHO_T}$ac_cv_type_char" >&6
14324 echo "$as_me:$LINENO: checking size of char" >&5
14325 echo $ECHO_N "checking size of char... $ECHO_C" >&6
14326 if test "${ac_cv_sizeof_char+set}" = set; then
14327 echo $ECHO_N "(cached) $ECHO_C" >&6
14329 if test "$ac_cv_type_char" = yes; then
14330 # The cast to unsigned long works around a bug in the HP C Compiler
14331 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
14332 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
14333 # This bug is HP SR number 8606223364.
14334 if test "$cross_compiling" = yes; then
14335 # Depending upon the size, compute the lo and hi bounds.
14336 cat >conftest.
$ac_ext <<_ACEOF
14339 cat confdefs.h
>>conftest.
$ac_ext
14340 cat >>conftest.
$ac_ext <<_ACEOF
14341 /* end confdefs.h. */
14342 $ac_includes_default
14346 static int test_array [1 - 2 * !(((long) (sizeof (char))) >= 0)];
14353 rm -f conftest.
$ac_objext
14354 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14355 (eval $ac_compile) 2>conftest.er1
14357 grep -v '^ *+' conftest.er1
>conftest.err
14359 cat conftest.err
>&5
14360 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14361 (exit $ac_status); } &&
14362 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14363 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14364 (eval $ac_try) 2>&5
14366 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14367 (exit $ac_status); }; } &&
14368 { ac_try
='test -s conftest.$ac_objext'
14369 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14370 (eval $ac_try) 2>&5
14372 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14373 (exit $ac_status); }; }; then
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))) <= $ac_mid)];
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
14414 ac_hi
=$ac_mid; break
14416 echo "$as_me: failed program was:" >&5
14417 sed 's/^/| /' conftest.
$ac_ext >&5
14419 ac_lo
=`expr $ac_mid + 1`
14420 if test $ac_lo -le $ac_mid; then
14424 ac_mid
=`expr 2 '*' $ac_mid + 1`
14426 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14429 echo "$as_me: failed program was:" >&5
14430 sed 's/^/| /' conftest.
$ac_ext >&5
14432 cat >conftest.
$ac_ext <<_ACEOF
14435 cat confdefs.h
>>conftest.
$ac_ext
14436 cat >>conftest.
$ac_ext <<_ACEOF
14437 /* end confdefs.h. */
14438 $ac_includes_default
14442 static int test_array [1 - 2 * !(((long) (sizeof (char))) < 0)];
14449 rm -f conftest.
$ac_objext
14450 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14451 (eval $ac_compile) 2>conftest.er1
14453 grep -v '^ *+' conftest.er1
>conftest.err
14455 cat conftest.err
>&5
14456 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14457 (exit $ac_status); } &&
14458 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14459 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14460 (eval $ac_try) 2>&5
14462 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14463 (exit $ac_status); }; } &&
14464 { ac_try
='test -s conftest.$ac_objext'
14465 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14466 (eval $ac_try) 2>&5
14468 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14469 (exit $ac_status); }; }; then
14472 cat >conftest.
$ac_ext <<_ACEOF
14475 cat confdefs.h
>>conftest.
$ac_ext
14476 cat >>conftest.
$ac_ext <<_ACEOF
14477 /* end confdefs.h. */
14478 $ac_includes_default
14482 static int test_array [1 - 2 * !(((long) (sizeof (char))) >= $ac_mid)];
14489 rm -f conftest.
$ac_objext
14490 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14491 (eval $ac_compile) 2>conftest.er1
14493 grep -v '^ *+' conftest.er1
>conftest.err
14495 cat conftest.err
>&5
14496 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14497 (exit $ac_status); } &&
14498 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14499 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14500 (eval $ac_try) 2>&5
14502 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14503 (exit $ac_status); }; } &&
14504 { ac_try
='test -s conftest.$ac_objext'
14505 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14506 (eval $ac_try) 2>&5
14508 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14509 (exit $ac_status); }; }; then
14510 ac_lo
=$ac_mid; break
14512 echo "$as_me: failed program was:" >&5
14513 sed 's/^/| /' conftest.
$ac_ext >&5
14515 ac_hi
=`expr '(' $ac_mid ')' - 1`
14516 if test $ac_mid -le $ac_hi; then
14520 ac_mid
=`expr 2 '*' $ac_mid`
14522 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14525 echo "$as_me: failed program was:" >&5
14526 sed 's/^/| /' conftest.
$ac_ext >&5
14530 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14532 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14533 # Binary search between lo and hi bounds.
14534 while test "x$ac_lo" != "x$ac_hi"; do
14535 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
14536 cat >conftest.
$ac_ext <<_ACEOF
14539 cat confdefs.h
>>conftest.
$ac_ext
14540 cat >>conftest.
$ac_ext <<_ACEOF
14541 /* end confdefs.h. */
14542 $ac_includes_default
14546 static int test_array [1 - 2 * !(((long) (sizeof (char))) <= $ac_mid)];
14553 rm -f conftest.
$ac_objext
14554 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14555 (eval $ac_compile) 2>conftest.er1
14557 grep -v '^ *+' conftest.er1
>conftest.err
14559 cat conftest.err
>&5
14560 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14561 (exit $ac_status); } &&
14562 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14563 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14564 (eval $ac_try) 2>&5
14566 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14567 (exit $ac_status); }; } &&
14568 { ac_try
='test -s conftest.$ac_objext'
14569 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14570 (eval $ac_try) 2>&5
14572 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14573 (exit $ac_status); }; }; then
14576 echo "$as_me: failed program was:" >&5
14577 sed 's/^/| /' conftest.
$ac_ext >&5
14579 ac_lo
=`expr '(' $ac_mid ')' + 1`
14581 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14584 ?
*) ac_cv_sizeof_char
=$ac_lo;;
14585 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (char), 77
14586 See \`config.log' for more details." >&5
14587 echo "$as_me: error: cannot compute sizeof (char), 77
14588 See \`config.log' for more details." >&2;}
14589 { (exit 1); exit 1; }; } ;;
14592 if test "$cross_compiling" = yes; then
14593 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
14594 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
14595 { (exit 1); exit 1; }; }
14597 cat >conftest.
$ac_ext <<_ACEOF
14600 cat confdefs.h
>>conftest.
$ac_ext
14601 cat >>conftest.
$ac_ext <<_ACEOF
14602 /* end confdefs.h. */
14603 $ac_includes_default
14604 long longval () { return (long) (sizeof (char)); }
14605 unsigned long ulongval () { return (long) (sizeof (char)); }
14607 #include <stdlib.h>
14612 FILE *f = fopen ("conftest.val", "w");
14615 if (((long) (sizeof (char))) < 0)
14617 long i = longval ();
14618 if (i != ((long) (sizeof (char))))
14620 fprintf (f, "%ld\n", i);
14624 unsigned long i = ulongval ();
14625 if (i != ((long) (sizeof (char))))
14627 fprintf (f, "%lu\n", i);
14629 exit (ferror (f) || fclose (f) != 0);
14635 rm -f conftest
$ac_exeext
14636 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14637 (eval $ac_link) 2>&5
14639 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14640 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
14641 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14642 (eval $ac_try) 2>&5
14644 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14645 (exit $ac_status); }; }; then
14646 ac_cv_sizeof_char
=`cat conftest.val`
14648 echo "$as_me: program exited with status $ac_status" >&5
14649 echo "$as_me: failed program was:" >&5
14650 sed 's/^/| /' conftest.
$ac_ext >&5
14652 ( exit $ac_status )
14653 { { echo "$as_me:$LINENO: error: cannot compute sizeof (char), 77
14654 See \`config.log' for more details." >&5
14655 echo "$as_me: error: cannot compute sizeof (char), 77
14656 See \`config.log' for more details." >&2;}
14657 { (exit 1); exit 1; }; }
14659 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
14664 ac_cv_sizeof_char
=0
14667 echo "$as_me:$LINENO: result: $ac_cv_sizeof_char" >&5
14668 echo "${ECHO_T}$ac_cv_sizeof_char" >&6
14669 cat >>confdefs.h
<<_ACEOF
14670 #define SIZEOF_CHAR $ac_cv_sizeof_char
14674 echo "$as_me:$LINENO: checking for short" >&5
14675 echo $ECHO_N "checking for short... $ECHO_C" >&6
14676 if test "${ac_cv_type_short+set}" = set; then
14677 echo $ECHO_N "(cached) $ECHO_C" >&6
14679 cat >conftest.
$ac_ext <<_ACEOF
14682 cat confdefs.h
>>conftest.
$ac_ext
14683 cat >>conftest.
$ac_ext <<_ACEOF
14684 /* end confdefs.h. */
14685 $ac_includes_default
14691 if (sizeof (short))
14697 rm -f conftest.
$ac_objext
14698 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14699 (eval $ac_compile) 2>conftest.er1
14701 grep -v '^ *+' conftest.er1
>conftest.err
14703 cat conftest.err
>&5
14704 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14705 (exit $ac_status); } &&
14706 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14707 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14708 (eval $ac_try) 2>&5
14710 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14711 (exit $ac_status); }; } &&
14712 { ac_try
='test -s conftest.$ac_objext'
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); }; }; then
14718 ac_cv_type_short
=yes
14720 echo "$as_me: failed program was:" >&5
14721 sed 's/^/| /' conftest.
$ac_ext >&5
14723 ac_cv_type_short
=no
14725 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14727 echo "$as_me:$LINENO: result: $ac_cv_type_short" >&5
14728 echo "${ECHO_T}$ac_cv_type_short" >&6
14730 echo "$as_me:$LINENO: checking size of short" >&5
14731 echo $ECHO_N "checking size of short... $ECHO_C" >&6
14732 if test "${ac_cv_sizeof_short+set}" = set; then
14733 echo $ECHO_N "(cached) $ECHO_C" >&6
14735 if test "$ac_cv_type_short" = yes; then
14736 # The cast to unsigned long works around a bug in the HP C Compiler
14737 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
14738 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
14739 # This bug is HP SR number 8606223364.
14740 if test "$cross_compiling" = yes; then
14741 # Depending upon the size, compute the lo and hi bounds.
14742 cat >conftest.
$ac_ext <<_ACEOF
14745 cat confdefs.h
>>conftest.
$ac_ext
14746 cat >>conftest.
$ac_ext <<_ACEOF
14747 /* end confdefs.h. */
14748 $ac_includes_default
14752 static int test_array [1 - 2 * !(((long) (sizeof (short))) >= 0)];
14759 rm -f conftest.
$ac_objext
14760 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14761 (eval $ac_compile) 2>conftest.er1
14763 grep -v '^ *+' conftest.er1
>conftest.err
14765 cat conftest.err
>&5
14766 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14767 (exit $ac_status); } &&
14768 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14769 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14770 (eval $ac_try) 2>&5
14772 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14773 (exit $ac_status); }; } &&
14774 { ac_try
='test -s conftest.$ac_objext'
14775 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14776 (eval $ac_try) 2>&5
14778 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14779 (exit $ac_status); }; }; then
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))) <= $ac_mid)];
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
14820 ac_hi
=$ac_mid; break
14822 echo "$as_me: failed program was:" >&5
14823 sed 's/^/| /' conftest.
$ac_ext >&5
14825 ac_lo
=`expr $ac_mid + 1`
14826 if test $ac_lo -le $ac_mid; then
14830 ac_mid
=`expr 2 '*' $ac_mid + 1`
14832 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14835 echo "$as_me: failed program was:" >&5
14836 sed 's/^/| /' conftest.
$ac_ext >&5
14838 cat >conftest.
$ac_ext <<_ACEOF
14841 cat confdefs.h
>>conftest.
$ac_ext
14842 cat >>conftest.
$ac_ext <<_ACEOF
14843 /* end confdefs.h. */
14844 $ac_includes_default
14848 static int test_array [1 - 2 * !(((long) (sizeof (short))) < 0)];
14855 rm -f conftest.
$ac_objext
14856 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14857 (eval $ac_compile) 2>conftest.er1
14859 grep -v '^ *+' conftest.er1
>conftest.err
14861 cat conftest.err
>&5
14862 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14863 (exit $ac_status); } &&
14864 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14865 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14866 (eval $ac_try) 2>&5
14868 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14869 (exit $ac_status); }; } &&
14870 { ac_try
='test -s conftest.$ac_objext'
14871 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14872 (eval $ac_try) 2>&5
14874 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14875 (exit $ac_status); }; }; then
14878 cat >conftest.
$ac_ext <<_ACEOF
14881 cat confdefs.h
>>conftest.
$ac_ext
14882 cat >>conftest.
$ac_ext <<_ACEOF
14883 /* end confdefs.h. */
14884 $ac_includes_default
14888 static int test_array [1 - 2 * !(((long) (sizeof (short))) >= $ac_mid)];
14895 rm -f conftest.
$ac_objext
14896 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14897 (eval $ac_compile) 2>conftest.er1
14899 grep -v '^ *+' conftest.er1
>conftest.err
14901 cat conftest.err
>&5
14902 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14903 (exit $ac_status); } &&
14904 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14905 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14906 (eval $ac_try) 2>&5
14908 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14909 (exit $ac_status); }; } &&
14910 { ac_try
='test -s conftest.$ac_objext'
14911 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14912 (eval $ac_try) 2>&5
14914 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14915 (exit $ac_status); }; }; then
14916 ac_lo
=$ac_mid; break
14918 echo "$as_me: failed program was:" >&5
14919 sed 's/^/| /' conftest.
$ac_ext >&5
14921 ac_hi
=`expr '(' $ac_mid ')' - 1`
14922 if test $ac_mid -le $ac_hi; then
14926 ac_mid
=`expr 2 '*' $ac_mid`
14928 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14931 echo "$as_me: failed program was:" >&5
14932 sed 's/^/| /' conftest.
$ac_ext >&5
14936 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14938 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14939 # Binary search between lo and hi bounds.
14940 while test "x$ac_lo" != "x$ac_hi"; do
14941 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
14942 cat >conftest.
$ac_ext <<_ACEOF
14945 cat confdefs.h
>>conftest.
$ac_ext
14946 cat >>conftest.
$ac_ext <<_ACEOF
14947 /* end confdefs.h. */
14948 $ac_includes_default
14952 static int test_array [1 - 2 * !(((long) (sizeof (short))) <= $ac_mid)];
14959 rm -f conftest.
$ac_objext
14960 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14961 (eval $ac_compile) 2>conftest.er1
14963 grep -v '^ *+' conftest.er1
>conftest.err
14965 cat conftest.err
>&5
14966 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14967 (exit $ac_status); } &&
14968 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14969 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14970 (eval $ac_try) 2>&5
14972 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14973 (exit $ac_status); }; } &&
14974 { ac_try
='test -s conftest.$ac_objext'
14975 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14976 (eval $ac_try) 2>&5
14978 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14979 (exit $ac_status); }; }; then
14982 echo "$as_me: failed program was:" >&5
14983 sed 's/^/| /' conftest.
$ac_ext >&5
14985 ac_lo
=`expr '(' $ac_mid ')' + 1`
14987 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14990 ?
*) ac_cv_sizeof_short
=$ac_lo;;
14991 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (short), 77
14992 See \`config.log' for more details." >&5
14993 echo "$as_me: error: cannot compute sizeof (short), 77
14994 See \`config.log' for more details." >&2;}
14995 { (exit 1); exit 1; }; } ;;
14998 if test "$cross_compiling" = yes; then
14999 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
15000 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
15001 { (exit 1); exit 1; }; }
15003 cat >conftest.
$ac_ext <<_ACEOF
15006 cat confdefs.h
>>conftest.
$ac_ext
15007 cat >>conftest.
$ac_ext <<_ACEOF
15008 /* end confdefs.h. */
15009 $ac_includes_default
15010 long longval () { return (long) (sizeof (short)); }
15011 unsigned long ulongval () { return (long) (sizeof (short)); }
15013 #include <stdlib.h>
15018 FILE *f = fopen ("conftest.val", "w");
15021 if (((long) (sizeof (short))) < 0)
15023 long i = longval ();
15024 if (i != ((long) (sizeof (short))))
15026 fprintf (f, "%ld\n", i);
15030 unsigned long i = ulongval ();
15031 if (i != ((long) (sizeof (short))))
15033 fprintf (f, "%lu\n", i);
15035 exit (ferror (f) || fclose (f) != 0);
15041 rm -f conftest
$ac_exeext
15042 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15043 (eval $ac_link) 2>&5
15045 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15046 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
15047 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15048 (eval $ac_try) 2>&5
15050 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15051 (exit $ac_status); }; }; then
15052 ac_cv_sizeof_short
=`cat conftest.val`
15054 echo "$as_me: program exited with status $ac_status" >&5
15055 echo "$as_me: failed program was:" >&5
15056 sed 's/^/| /' conftest.
$ac_ext >&5
15058 ( exit $ac_status )
15059 { { echo "$as_me:$LINENO: error: cannot compute sizeof (short), 77
15060 See \`config.log' for more details." >&5
15061 echo "$as_me: error: cannot compute sizeof (short), 77
15062 See \`config.log' for more details." >&2;}
15063 { (exit 1); exit 1; }; }
15065 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
15070 ac_cv_sizeof_short
=0
15073 echo "$as_me:$LINENO: result: $ac_cv_sizeof_short" >&5
15074 echo "${ECHO_T}$ac_cv_sizeof_short" >&6
15075 cat >>confdefs.h
<<_ACEOF
15076 #define SIZEOF_SHORT $ac_cv_sizeof_short
15080 echo "$as_me:$LINENO: checking for void *" >&5
15081 echo $ECHO_N "checking for void *... $ECHO_C" >&6
15082 if test "${ac_cv_type_void_p+set}" = set; then
15083 echo $ECHO_N "(cached) $ECHO_C" >&6
15085 cat >conftest.
$ac_ext <<_ACEOF
15088 cat confdefs.h
>>conftest.
$ac_ext
15089 cat >>conftest.
$ac_ext <<_ACEOF
15090 /* end confdefs.h. */
15091 $ac_includes_default
15097 if (sizeof (void *))
15103 rm -f conftest.
$ac_objext
15104 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15105 (eval $ac_compile) 2>conftest.er1
15107 grep -v '^ *+' conftest.er1
>conftest.err
15109 cat conftest.err
>&5
15110 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15111 (exit $ac_status); } &&
15112 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15113 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15114 (eval $ac_try) 2>&5
15116 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15117 (exit $ac_status); }; } &&
15118 { ac_try
='test -s conftest.$ac_objext'
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); }; }; then
15124 ac_cv_type_void_p
=yes
15126 echo "$as_me: failed program was:" >&5
15127 sed 's/^/| /' conftest.
$ac_ext >&5
15129 ac_cv_type_void_p
=no
15131 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15133 echo "$as_me:$LINENO: result: $ac_cv_type_void_p" >&5
15134 echo "${ECHO_T}$ac_cv_type_void_p" >&6
15136 echo "$as_me:$LINENO: checking size of void *" >&5
15137 echo $ECHO_N "checking size of void *... $ECHO_C" >&6
15138 if test "${ac_cv_sizeof_void_p+set}" = set; then
15139 echo $ECHO_N "(cached) $ECHO_C" >&6
15141 if test "$ac_cv_type_void_p" = yes; then
15142 # The cast to unsigned long works around a bug in the HP C Compiler
15143 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
15144 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
15145 # This bug is HP SR number 8606223364.
15146 if test "$cross_compiling" = yes; then
15147 # Depending upon the size, compute the lo and hi bounds.
15148 cat >conftest.
$ac_ext <<_ACEOF
15151 cat confdefs.h
>>conftest.
$ac_ext
15152 cat >>conftest.
$ac_ext <<_ACEOF
15153 /* end confdefs.h. */
15154 $ac_includes_default
15158 static int test_array [1 - 2 * !(((long) (sizeof (void *))) >= 0)];
15165 rm -f conftest.
$ac_objext
15166 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15167 (eval $ac_compile) 2>conftest.er1
15169 grep -v '^ *+' conftest.er1
>conftest.err
15171 cat conftest.err
>&5
15172 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15173 (exit $ac_status); } &&
15174 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15175 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15176 (eval $ac_try) 2>&5
15178 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15179 (exit $ac_status); }; } &&
15180 { ac_try
='test -s conftest.$ac_objext'
15181 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15182 (eval $ac_try) 2>&5
15184 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15185 (exit $ac_status); }; }; then
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 *))) <= $ac_mid)];
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
15226 ac_hi
=$ac_mid; break
15228 echo "$as_me: failed program was:" >&5
15229 sed 's/^/| /' conftest.
$ac_ext >&5
15231 ac_lo
=`expr $ac_mid + 1`
15232 if test $ac_lo -le $ac_mid; then
15236 ac_mid
=`expr 2 '*' $ac_mid + 1`
15238 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15241 echo "$as_me: failed program was:" >&5
15242 sed 's/^/| /' conftest.
$ac_ext >&5
15244 cat >conftest.
$ac_ext <<_ACEOF
15247 cat confdefs.h
>>conftest.
$ac_ext
15248 cat >>conftest.
$ac_ext <<_ACEOF
15249 /* end confdefs.h. */
15250 $ac_includes_default
15254 static int test_array [1 - 2 * !(((long) (sizeof (void *))) < 0)];
15261 rm -f conftest.
$ac_objext
15262 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15263 (eval $ac_compile) 2>conftest.er1
15265 grep -v '^ *+' conftest.er1
>conftest.err
15267 cat conftest.err
>&5
15268 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15269 (exit $ac_status); } &&
15270 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15271 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15272 (eval $ac_try) 2>&5
15274 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15275 (exit $ac_status); }; } &&
15276 { ac_try
='test -s conftest.$ac_objext'
15277 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15278 (eval $ac_try) 2>&5
15280 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15281 (exit $ac_status); }; }; then
15284 cat >conftest.
$ac_ext <<_ACEOF
15287 cat confdefs.h
>>conftest.
$ac_ext
15288 cat >>conftest.
$ac_ext <<_ACEOF
15289 /* end confdefs.h. */
15290 $ac_includes_default
15294 static int test_array [1 - 2 * !(((long) (sizeof (void *))) >= $ac_mid)];
15301 rm -f conftest.
$ac_objext
15302 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15303 (eval $ac_compile) 2>conftest.er1
15305 grep -v '^ *+' conftest.er1
>conftest.err
15307 cat conftest.err
>&5
15308 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15309 (exit $ac_status); } &&
15310 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15311 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15312 (eval $ac_try) 2>&5
15314 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15315 (exit $ac_status); }; } &&
15316 { ac_try
='test -s conftest.$ac_objext'
15317 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15318 (eval $ac_try) 2>&5
15320 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15321 (exit $ac_status); }; }; then
15322 ac_lo
=$ac_mid; break
15324 echo "$as_me: failed program was:" >&5
15325 sed 's/^/| /' conftest.
$ac_ext >&5
15327 ac_hi
=`expr '(' $ac_mid ')' - 1`
15328 if test $ac_mid -le $ac_hi; then
15332 ac_mid
=`expr 2 '*' $ac_mid`
15334 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15337 echo "$as_me: failed program was:" >&5
15338 sed 's/^/| /' conftest.
$ac_ext >&5
15342 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15344 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15345 # Binary search between lo and hi bounds.
15346 while test "x$ac_lo" != "x$ac_hi"; do
15347 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
15348 cat >conftest.
$ac_ext <<_ACEOF
15351 cat confdefs.h
>>conftest.
$ac_ext
15352 cat >>conftest.
$ac_ext <<_ACEOF
15353 /* end confdefs.h. */
15354 $ac_includes_default
15358 static int test_array [1 - 2 * !(((long) (sizeof (void *))) <= $ac_mid)];
15365 rm -f conftest.
$ac_objext
15366 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15367 (eval $ac_compile) 2>conftest.er1
15369 grep -v '^ *+' conftest.er1
>conftest.err
15371 cat conftest.err
>&5
15372 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15373 (exit $ac_status); } &&
15374 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15375 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15376 (eval $ac_try) 2>&5
15378 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15379 (exit $ac_status); }; } &&
15380 { ac_try
='test -s conftest.$ac_objext'
15381 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15382 (eval $ac_try) 2>&5
15384 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15385 (exit $ac_status); }; }; then
15388 echo "$as_me: failed program was:" >&5
15389 sed 's/^/| /' conftest.
$ac_ext >&5
15391 ac_lo
=`expr '(' $ac_mid ')' + 1`
15393 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15396 ?
*) ac_cv_sizeof_void_p
=$ac_lo;;
15397 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *), 77
15398 See \`config.log' for more details." >&5
15399 echo "$as_me: error: cannot compute sizeof (void *), 77
15400 See \`config.log' for more details." >&2;}
15401 { (exit 1); exit 1; }; } ;;
15404 if test "$cross_compiling" = yes; then
15405 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
15406 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
15407 { (exit 1); exit 1; }; }
15409 cat >conftest.
$ac_ext <<_ACEOF
15412 cat confdefs.h
>>conftest.
$ac_ext
15413 cat >>conftest.
$ac_ext <<_ACEOF
15414 /* end confdefs.h. */
15415 $ac_includes_default
15416 long longval () { return (long) (sizeof (void *)); }
15417 unsigned long ulongval () { return (long) (sizeof (void *)); }
15419 #include <stdlib.h>
15424 FILE *f = fopen ("conftest.val", "w");
15427 if (((long) (sizeof (void *))) < 0)
15429 long i = longval ();
15430 if (i != ((long) (sizeof (void *))))
15432 fprintf (f, "%ld\n", i);
15436 unsigned long i = ulongval ();
15437 if (i != ((long) (sizeof (void *))))
15439 fprintf (f, "%lu\n", i);
15441 exit (ferror (f) || fclose (f) != 0);
15447 rm -f conftest
$ac_exeext
15448 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15449 (eval $ac_link) 2>&5
15451 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15452 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
15453 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15454 (eval $ac_try) 2>&5
15456 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15457 (exit $ac_status); }; }; then
15458 ac_cv_sizeof_void_p
=`cat conftest.val`
15460 echo "$as_me: program exited with status $ac_status" >&5
15461 echo "$as_me: failed program was:" >&5
15462 sed 's/^/| /' conftest.
$ac_ext >&5
15464 ( exit $ac_status )
15465 { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *), 77
15466 See \`config.log' for more details." >&5
15467 echo "$as_me: error: cannot compute sizeof (void *), 77
15468 See \`config.log' for more details." >&2;}
15469 { (exit 1); exit 1; }; }
15471 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
15476 ac_cv_sizeof_void_p
=0
15479 echo "$as_me:$LINENO: result: $ac_cv_sizeof_void_p" >&5
15480 echo "${ECHO_T}$ac_cv_sizeof_void_p" >&6
15481 cat >>confdefs.h
<<_ACEOF
15482 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
15486 echo "$as_me:$LINENO: checking for int" >&5
15487 echo $ECHO_N "checking for int... $ECHO_C" >&6
15488 if test "${ac_cv_type_int+set}" = set; then
15489 echo $ECHO_N "(cached) $ECHO_C" >&6
15491 cat >conftest.
$ac_ext <<_ACEOF
15494 cat confdefs.h
>>conftest.
$ac_ext
15495 cat >>conftest.
$ac_ext <<_ACEOF
15496 /* end confdefs.h. */
15497 $ac_includes_default
15509 rm -f conftest.
$ac_objext
15510 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15511 (eval $ac_compile) 2>conftest.er1
15513 grep -v '^ *+' conftest.er1
>conftest.err
15515 cat conftest.err
>&5
15516 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15517 (exit $ac_status); } &&
15518 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15519 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15520 (eval $ac_try) 2>&5
15522 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15523 (exit $ac_status); }; } &&
15524 { ac_try
='test -s conftest.$ac_objext'
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); }; }; then
15532 echo "$as_me: failed program was:" >&5
15533 sed 's/^/| /' conftest.
$ac_ext >&5
15537 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15539 echo "$as_me:$LINENO: result: $ac_cv_type_int" >&5
15540 echo "${ECHO_T}$ac_cv_type_int" >&6
15542 echo "$as_me:$LINENO: checking size of int" >&5
15543 echo $ECHO_N "checking size of int... $ECHO_C" >&6
15544 if test "${ac_cv_sizeof_int+set}" = set; then
15545 echo $ECHO_N "(cached) $ECHO_C" >&6
15547 if test "$ac_cv_type_int" = yes; then
15548 # The cast to unsigned long works around a bug in the HP C Compiler
15549 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
15550 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
15551 # This bug is HP SR number 8606223364.
15552 if test "$cross_compiling" = yes; then
15553 # Depending upon the size, compute the lo and hi bounds.
15554 cat >conftest.
$ac_ext <<_ACEOF
15557 cat confdefs.h
>>conftest.
$ac_ext
15558 cat >>conftest.
$ac_ext <<_ACEOF
15559 /* end confdefs.h. */
15560 $ac_includes_default
15564 static int test_array [1 - 2 * !(((long) (sizeof (int))) >= 0)];
15571 rm -f conftest.
$ac_objext
15572 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15573 (eval $ac_compile) 2>conftest.er1
15575 grep -v '^ *+' conftest.er1
>conftest.err
15577 cat conftest.err
>&5
15578 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15579 (exit $ac_status); } &&
15580 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15581 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15582 (eval $ac_try) 2>&5
15584 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15585 (exit $ac_status); }; } &&
15586 { ac_try
='test -s conftest.$ac_objext'
15587 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15588 (eval $ac_try) 2>&5
15590 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15591 (exit $ac_status); }; }; then
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))) <= $ac_mid)];
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
15632 ac_hi
=$ac_mid; break
15634 echo "$as_me: failed program was:" >&5
15635 sed 's/^/| /' conftest.
$ac_ext >&5
15637 ac_lo
=`expr $ac_mid + 1`
15638 if test $ac_lo -le $ac_mid; then
15642 ac_mid
=`expr 2 '*' $ac_mid + 1`
15644 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15647 echo "$as_me: failed program was:" >&5
15648 sed 's/^/| /' conftest.
$ac_ext >&5
15650 cat >conftest.
$ac_ext <<_ACEOF
15653 cat confdefs.h
>>conftest.
$ac_ext
15654 cat >>conftest.
$ac_ext <<_ACEOF
15655 /* end confdefs.h. */
15656 $ac_includes_default
15660 static int test_array [1 - 2 * !(((long) (sizeof (int))) < 0)];
15667 rm -f conftest.
$ac_objext
15668 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15669 (eval $ac_compile) 2>conftest.er1
15671 grep -v '^ *+' conftest.er1
>conftest.err
15673 cat conftest.err
>&5
15674 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15675 (exit $ac_status); } &&
15676 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15677 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15678 (eval $ac_try) 2>&5
15680 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15681 (exit $ac_status); }; } &&
15682 { ac_try
='test -s conftest.$ac_objext'
15683 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15684 (eval $ac_try) 2>&5
15686 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15687 (exit $ac_status); }; }; then
15690 cat >conftest.
$ac_ext <<_ACEOF
15693 cat confdefs.h
>>conftest.
$ac_ext
15694 cat >>conftest.
$ac_ext <<_ACEOF
15695 /* end confdefs.h. */
15696 $ac_includes_default
15700 static int test_array [1 - 2 * !(((long) (sizeof (int))) >= $ac_mid)];
15707 rm -f conftest.
$ac_objext
15708 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15709 (eval $ac_compile) 2>conftest.er1
15711 grep -v '^ *+' conftest.er1
>conftest.err
15713 cat conftest.err
>&5
15714 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15715 (exit $ac_status); } &&
15716 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15717 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15718 (eval $ac_try) 2>&5
15720 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15721 (exit $ac_status); }; } &&
15722 { ac_try
='test -s conftest.$ac_objext'
15723 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15724 (eval $ac_try) 2>&5
15726 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15727 (exit $ac_status); }; }; then
15728 ac_lo
=$ac_mid; break
15730 echo "$as_me: failed program was:" >&5
15731 sed 's/^/| /' conftest.
$ac_ext >&5
15733 ac_hi
=`expr '(' $ac_mid ')' - 1`
15734 if test $ac_mid -le $ac_hi; then
15738 ac_mid
=`expr 2 '*' $ac_mid`
15740 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15743 echo "$as_me: failed program was:" >&5
15744 sed 's/^/| /' conftest.
$ac_ext >&5
15748 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15750 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15751 # Binary search between lo and hi bounds.
15752 while test "x$ac_lo" != "x$ac_hi"; do
15753 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
15754 cat >conftest.
$ac_ext <<_ACEOF
15757 cat confdefs.h
>>conftest.
$ac_ext
15758 cat >>conftest.
$ac_ext <<_ACEOF
15759 /* end confdefs.h. */
15760 $ac_includes_default
15764 static int test_array [1 - 2 * !(((long) (sizeof (int))) <= $ac_mid)];
15771 rm -f conftest.
$ac_objext
15772 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15773 (eval $ac_compile) 2>conftest.er1
15775 grep -v '^ *+' conftest.er1
>conftest.err
15777 cat conftest.err
>&5
15778 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15779 (exit $ac_status); } &&
15780 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15781 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15782 (eval $ac_try) 2>&5
15784 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15785 (exit $ac_status); }; } &&
15786 { ac_try
='test -s conftest.$ac_objext'
15787 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15788 (eval $ac_try) 2>&5
15790 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15791 (exit $ac_status); }; }; then
15794 echo "$as_me: failed program was:" >&5
15795 sed 's/^/| /' conftest.
$ac_ext >&5
15797 ac_lo
=`expr '(' $ac_mid ')' + 1`
15799 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15802 ?
*) ac_cv_sizeof_int
=$ac_lo;;
15803 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (int), 77
15804 See \`config.log' for more details." >&5
15805 echo "$as_me: error: cannot compute sizeof (int), 77
15806 See \`config.log' for more details." >&2;}
15807 { (exit 1); exit 1; }; } ;;
15810 if test "$cross_compiling" = yes; then
15811 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
15812 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
15813 { (exit 1); exit 1; }; }
15815 cat >conftest.
$ac_ext <<_ACEOF
15818 cat confdefs.h
>>conftest.
$ac_ext
15819 cat >>conftest.
$ac_ext <<_ACEOF
15820 /* end confdefs.h. */
15821 $ac_includes_default
15822 long longval () { return (long) (sizeof (int)); }
15823 unsigned long ulongval () { return (long) (sizeof (int)); }
15825 #include <stdlib.h>
15830 FILE *f = fopen ("conftest.val", "w");
15833 if (((long) (sizeof (int))) < 0)
15835 long i = longval ();
15836 if (i != ((long) (sizeof (int))))
15838 fprintf (f, "%ld\n", i);
15842 unsigned long i = ulongval ();
15843 if (i != ((long) (sizeof (int))))
15845 fprintf (f, "%lu\n", i);
15847 exit (ferror (f) || fclose (f) != 0);
15853 rm -f conftest
$ac_exeext
15854 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15855 (eval $ac_link) 2>&5
15857 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15858 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
15859 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15860 (eval $ac_try) 2>&5
15862 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15863 (exit $ac_status); }; }; then
15864 ac_cv_sizeof_int
=`cat conftest.val`
15866 echo "$as_me: program exited with status $ac_status" >&5
15867 echo "$as_me: failed program was:" >&5
15868 sed 's/^/| /' conftest.
$ac_ext >&5
15870 ( exit $ac_status )
15871 { { echo "$as_me:$LINENO: error: cannot compute sizeof (int), 77
15872 See \`config.log' for more details." >&5
15873 echo "$as_me: error: cannot compute sizeof (int), 77
15874 See \`config.log' for more details." >&2;}
15875 { (exit 1); exit 1; }; }
15877 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
15885 echo "$as_me:$LINENO: result: $ac_cv_sizeof_int" >&5
15886 echo "${ECHO_T}$ac_cv_sizeof_int" >&6
15887 cat >>confdefs.h
<<_ACEOF
15888 #define SIZEOF_INT $ac_cv_sizeof_int
15892 echo "$as_me:$LINENO: checking for long" >&5
15893 echo $ECHO_N "checking for long... $ECHO_C" >&6
15894 if test "${ac_cv_type_long+set}" = set; then
15895 echo $ECHO_N "(cached) $ECHO_C" >&6
15897 cat >conftest.
$ac_ext <<_ACEOF
15900 cat confdefs.h
>>conftest.
$ac_ext
15901 cat >>conftest.
$ac_ext <<_ACEOF
15902 /* end confdefs.h. */
15903 $ac_includes_default
15915 rm -f conftest.
$ac_objext
15916 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15917 (eval $ac_compile) 2>conftest.er1
15919 grep -v '^ *+' conftest.er1
>conftest.err
15921 cat conftest.err
>&5
15922 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15923 (exit $ac_status); } &&
15924 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15925 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15926 (eval $ac_try) 2>&5
15928 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15929 (exit $ac_status); }; } &&
15930 { ac_try
='test -s conftest.$ac_objext'
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); }; }; then
15936 ac_cv_type_long
=yes
15938 echo "$as_me: failed program was:" >&5
15939 sed 's/^/| /' conftest.
$ac_ext >&5
15943 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15945 echo "$as_me:$LINENO: result: $ac_cv_type_long" >&5
15946 echo "${ECHO_T}$ac_cv_type_long" >&6
15948 echo "$as_me:$LINENO: checking size of long" >&5
15949 echo $ECHO_N "checking size of long... $ECHO_C" >&6
15950 if test "${ac_cv_sizeof_long+set}" = set; then
15951 echo $ECHO_N "(cached) $ECHO_C" >&6
15953 if test "$ac_cv_type_long" = yes; then
15954 # The cast to unsigned long works around a bug in the HP C Compiler
15955 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
15956 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
15957 # This bug is HP SR number 8606223364.
15958 if test "$cross_compiling" = yes; then
15959 # Depending upon the size, compute the lo and hi bounds.
15960 cat >conftest.
$ac_ext <<_ACEOF
15963 cat confdefs.h
>>conftest.
$ac_ext
15964 cat >>conftest.
$ac_ext <<_ACEOF
15965 /* end confdefs.h. */
15966 $ac_includes_default
15970 static int test_array [1 - 2 * !(((long) (sizeof (long))) >= 0)];
15977 rm -f conftest.
$ac_objext
15978 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15979 (eval $ac_compile) 2>conftest.er1
15981 grep -v '^ *+' conftest.er1
>conftest.err
15983 cat conftest.err
>&5
15984 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15985 (exit $ac_status); } &&
15986 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15987 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15988 (eval $ac_try) 2>&5
15990 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15991 (exit $ac_status); }; } &&
15992 { ac_try
='test -s conftest.$ac_objext'
15993 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15994 (eval $ac_try) 2>&5
15996 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15997 (exit $ac_status); }; }; then
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))) <= $ac_mid)];
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
16038 ac_hi
=$ac_mid; break
16040 echo "$as_me: failed program was:" >&5
16041 sed 's/^/| /' conftest.
$ac_ext >&5
16043 ac_lo
=`expr $ac_mid + 1`
16044 if test $ac_lo -le $ac_mid; then
16048 ac_mid
=`expr 2 '*' $ac_mid + 1`
16050 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16053 echo "$as_me: failed program was:" >&5
16054 sed 's/^/| /' conftest.
$ac_ext >&5
16056 cat >conftest.
$ac_ext <<_ACEOF
16059 cat confdefs.h
>>conftest.
$ac_ext
16060 cat >>conftest.
$ac_ext <<_ACEOF
16061 /* end confdefs.h. */
16062 $ac_includes_default
16066 static int test_array [1 - 2 * !(((long) (sizeof (long))) < 0)];
16073 rm -f conftest.
$ac_objext
16074 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16075 (eval $ac_compile) 2>conftest.er1
16077 grep -v '^ *+' conftest.er1
>conftest.err
16079 cat conftest.err
>&5
16080 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16081 (exit $ac_status); } &&
16082 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16083 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16084 (eval $ac_try) 2>&5
16086 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16087 (exit $ac_status); }; } &&
16088 { ac_try
='test -s conftest.$ac_objext'
16089 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16090 (eval $ac_try) 2>&5
16092 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16093 (exit $ac_status); }; }; then
16096 cat >conftest.
$ac_ext <<_ACEOF
16099 cat confdefs.h
>>conftest.
$ac_ext
16100 cat >>conftest.
$ac_ext <<_ACEOF
16101 /* end confdefs.h. */
16102 $ac_includes_default
16106 static int test_array [1 - 2 * !(((long) (sizeof (long))) >= $ac_mid)];
16113 rm -f conftest.
$ac_objext
16114 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16115 (eval $ac_compile) 2>conftest.er1
16117 grep -v '^ *+' conftest.er1
>conftest.err
16119 cat conftest.err
>&5
16120 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16121 (exit $ac_status); } &&
16122 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16123 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16124 (eval $ac_try) 2>&5
16126 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16127 (exit $ac_status); }; } &&
16128 { ac_try
='test -s conftest.$ac_objext'
16129 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16130 (eval $ac_try) 2>&5
16132 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16133 (exit $ac_status); }; }; then
16134 ac_lo
=$ac_mid; break
16136 echo "$as_me: failed program was:" >&5
16137 sed 's/^/| /' conftest.
$ac_ext >&5
16139 ac_hi
=`expr '(' $ac_mid ')' - 1`
16140 if test $ac_mid -le $ac_hi; then
16144 ac_mid
=`expr 2 '*' $ac_mid`
16146 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16149 echo "$as_me: failed program was:" >&5
16150 sed 's/^/| /' conftest.
$ac_ext >&5
16154 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16156 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16157 # Binary search between lo and hi bounds.
16158 while test "x$ac_lo" != "x$ac_hi"; do
16159 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
16160 cat >conftest.
$ac_ext <<_ACEOF
16163 cat confdefs.h
>>conftest.
$ac_ext
16164 cat >>conftest.
$ac_ext <<_ACEOF
16165 /* end confdefs.h. */
16166 $ac_includes_default
16170 static int test_array [1 - 2 * !(((long) (sizeof (long))) <= $ac_mid)];
16177 rm -f conftest.
$ac_objext
16178 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16179 (eval $ac_compile) 2>conftest.er1
16181 grep -v '^ *+' conftest.er1
>conftest.err
16183 cat conftest.err
>&5
16184 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16185 (exit $ac_status); } &&
16186 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16187 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16188 (eval $ac_try) 2>&5
16190 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16191 (exit $ac_status); }; } &&
16192 { ac_try
='test -s conftest.$ac_objext'
16193 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16194 (eval $ac_try) 2>&5
16196 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16197 (exit $ac_status); }; }; then
16200 echo "$as_me: failed program was:" >&5
16201 sed 's/^/| /' conftest.
$ac_ext >&5
16203 ac_lo
=`expr '(' $ac_mid ')' + 1`
16205 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16208 ?
*) ac_cv_sizeof_long
=$ac_lo;;
16209 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long), 77
16210 See \`config.log' for more details." >&5
16211 echo "$as_me: error: cannot compute sizeof (long), 77
16212 See \`config.log' for more details." >&2;}
16213 { (exit 1); exit 1; }; } ;;
16216 if test "$cross_compiling" = yes; then
16217 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
16218 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
16219 { (exit 1); exit 1; }; }
16221 cat >conftest.
$ac_ext <<_ACEOF
16224 cat confdefs.h
>>conftest.
$ac_ext
16225 cat >>conftest.
$ac_ext <<_ACEOF
16226 /* end confdefs.h. */
16227 $ac_includes_default
16228 long longval () { return (long) (sizeof (long)); }
16229 unsigned long ulongval () { return (long) (sizeof (long)); }
16231 #include <stdlib.h>
16236 FILE *f = fopen ("conftest.val", "w");
16239 if (((long) (sizeof (long))) < 0)
16241 long i = longval ();
16242 if (i != ((long) (sizeof (long))))
16244 fprintf (f, "%ld\n", i);
16248 unsigned long i = ulongval ();
16249 if (i != ((long) (sizeof (long))))
16251 fprintf (f, "%lu\n", i);
16253 exit (ferror (f) || fclose (f) != 0);
16259 rm -f conftest
$ac_exeext
16260 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16261 (eval $ac_link) 2>&5
16263 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16264 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
16265 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16266 (eval $ac_try) 2>&5
16268 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16269 (exit $ac_status); }; }; then
16270 ac_cv_sizeof_long
=`cat conftest.val`
16272 echo "$as_me: program exited with status $ac_status" >&5
16273 echo "$as_me: failed program was:" >&5
16274 sed 's/^/| /' conftest.
$ac_ext >&5
16276 ( exit $ac_status )
16277 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long), 77
16278 See \`config.log' for more details." >&5
16279 echo "$as_me: error: cannot compute sizeof (long), 77
16280 See \`config.log' for more details." >&2;}
16281 { (exit 1); exit 1; }; }
16283 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
16288 ac_cv_sizeof_long
=0
16291 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long" >&5
16292 echo "${ECHO_T}$ac_cv_sizeof_long" >&6
16293 cat >>confdefs.h
<<_ACEOF
16294 #define SIZEOF_LONG $ac_cv_sizeof_long
16298 echo "$as_me:$LINENO: checking for size_t" >&5
16299 echo $ECHO_N "checking for size_t... $ECHO_C" >&6
16300 if test "${ac_cv_type_size_t+set}" = set; then
16301 echo $ECHO_N "(cached) $ECHO_C" >&6
16303 cat >conftest.
$ac_ext <<_ACEOF
16306 cat confdefs.h
>>conftest.
$ac_ext
16307 cat >>conftest.
$ac_ext <<_ACEOF
16308 /* end confdefs.h. */
16309 $ac_includes_default
16315 if (sizeof (size_t))
16321 rm -f conftest.
$ac_objext
16322 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16323 (eval $ac_compile) 2>conftest.er1
16325 grep -v '^ *+' conftest.er1
>conftest.err
16327 cat conftest.err
>&5
16328 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16329 (exit $ac_status); } &&
16330 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16331 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16332 (eval $ac_try) 2>&5
16334 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16335 (exit $ac_status); }; } &&
16336 { ac_try
='test -s conftest.$ac_objext'
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); }; }; then
16342 ac_cv_type_size_t
=yes
16344 echo "$as_me: failed program was:" >&5
16345 sed 's/^/| /' conftest.
$ac_ext >&5
16347 ac_cv_type_size_t
=no
16349 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16351 echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
16352 echo "${ECHO_T}$ac_cv_type_size_t" >&6
16354 echo "$as_me:$LINENO: checking size of size_t" >&5
16355 echo $ECHO_N "checking size of size_t... $ECHO_C" >&6
16356 if test "${ac_cv_sizeof_size_t+set}" = set; then
16357 echo $ECHO_N "(cached) $ECHO_C" >&6
16359 if test "$ac_cv_type_size_t" = yes; then
16360 # The cast to unsigned long works around a bug in the HP C Compiler
16361 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
16362 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
16363 # This bug is HP SR number 8606223364.
16364 if test "$cross_compiling" = yes; then
16365 # Depending upon the size, compute the lo and hi bounds.
16366 cat >conftest.
$ac_ext <<_ACEOF
16369 cat confdefs.h
>>conftest.
$ac_ext
16370 cat >>conftest.
$ac_ext <<_ACEOF
16371 /* end confdefs.h. */
16372 $ac_includes_default
16376 static int test_array [1 - 2 * !(((long) (sizeof (size_t))) >= 0)];
16383 rm -f conftest.
$ac_objext
16384 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16385 (eval $ac_compile) 2>conftest.er1
16387 grep -v '^ *+' conftest.er1
>conftest.err
16389 cat conftest.err
>&5
16390 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16391 (exit $ac_status); } &&
16392 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16393 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16394 (eval $ac_try) 2>&5
16396 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16397 (exit $ac_status); }; } &&
16398 { ac_try
='test -s conftest.$ac_objext'
16399 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16400 (eval $ac_try) 2>&5
16402 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16403 (exit $ac_status); }; }; then
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))) <= $ac_mid)];
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
16444 ac_hi
=$ac_mid; break
16446 echo "$as_me: failed program was:" >&5
16447 sed 's/^/| /' conftest.
$ac_ext >&5
16449 ac_lo
=`expr $ac_mid + 1`
16450 if test $ac_lo -le $ac_mid; then
16454 ac_mid
=`expr 2 '*' $ac_mid + 1`
16456 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16459 echo "$as_me: failed program was:" >&5
16460 sed 's/^/| /' conftest.
$ac_ext >&5
16462 cat >conftest.
$ac_ext <<_ACEOF
16465 cat confdefs.h
>>conftest.
$ac_ext
16466 cat >>conftest.
$ac_ext <<_ACEOF
16467 /* end confdefs.h. */
16468 $ac_includes_default
16472 static int test_array [1 - 2 * !(((long) (sizeof (size_t))) < 0)];
16479 rm -f conftest.
$ac_objext
16480 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16481 (eval $ac_compile) 2>conftest.er1
16483 grep -v '^ *+' conftest.er1
>conftest.err
16485 cat conftest.err
>&5
16486 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16487 (exit $ac_status); } &&
16488 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16489 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16490 (eval $ac_try) 2>&5
16492 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16493 (exit $ac_status); }; } &&
16494 { ac_try
='test -s conftest.$ac_objext'
16495 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16496 (eval $ac_try) 2>&5
16498 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16499 (exit $ac_status); }; }; then
16502 cat >conftest.
$ac_ext <<_ACEOF
16505 cat confdefs.h
>>conftest.
$ac_ext
16506 cat >>conftest.
$ac_ext <<_ACEOF
16507 /* end confdefs.h. */
16508 $ac_includes_default
16512 static int test_array [1 - 2 * !(((long) (sizeof (size_t))) >= $ac_mid)];
16519 rm -f conftest.
$ac_objext
16520 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16521 (eval $ac_compile) 2>conftest.er1
16523 grep -v '^ *+' conftest.er1
>conftest.err
16525 cat conftest.err
>&5
16526 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16527 (exit $ac_status); } &&
16528 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16529 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16530 (eval $ac_try) 2>&5
16532 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16533 (exit $ac_status); }; } &&
16534 { ac_try
='test -s conftest.$ac_objext'
16535 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16536 (eval $ac_try) 2>&5
16538 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16539 (exit $ac_status); }; }; then
16540 ac_lo
=$ac_mid; break
16542 echo "$as_me: failed program was:" >&5
16543 sed 's/^/| /' conftest.
$ac_ext >&5
16545 ac_hi
=`expr '(' $ac_mid ')' - 1`
16546 if test $ac_mid -le $ac_hi; then
16550 ac_mid
=`expr 2 '*' $ac_mid`
16552 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16555 echo "$as_me: failed program was:" >&5
16556 sed 's/^/| /' conftest.
$ac_ext >&5
16560 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16562 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16563 # Binary search between lo and hi bounds.
16564 while test "x$ac_lo" != "x$ac_hi"; do
16565 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
16566 cat >conftest.
$ac_ext <<_ACEOF
16569 cat confdefs.h
>>conftest.
$ac_ext
16570 cat >>conftest.
$ac_ext <<_ACEOF
16571 /* end confdefs.h. */
16572 $ac_includes_default
16576 static int test_array [1 - 2 * !(((long) (sizeof (size_t))) <= $ac_mid)];
16583 rm -f conftest.
$ac_objext
16584 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16585 (eval $ac_compile) 2>conftest.er1
16587 grep -v '^ *+' conftest.er1
>conftest.err
16589 cat conftest.err
>&5
16590 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16591 (exit $ac_status); } &&
16592 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16593 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16594 (eval $ac_try) 2>&5
16596 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16597 (exit $ac_status); }; } &&
16598 { ac_try
='test -s conftest.$ac_objext'
16599 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16600 (eval $ac_try) 2>&5
16602 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16603 (exit $ac_status); }; }; then
16606 echo "$as_me: failed program was:" >&5
16607 sed 's/^/| /' conftest.
$ac_ext >&5
16609 ac_lo
=`expr '(' $ac_mid ')' + 1`
16611 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16614 ?
*) ac_cv_sizeof_size_t
=$ac_lo;;
16615 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (size_t), 77
16616 See \`config.log' for more details." >&5
16617 echo "$as_me: error: cannot compute sizeof (size_t), 77
16618 See \`config.log' for more details." >&2;}
16619 { (exit 1); exit 1; }; } ;;
16622 if test "$cross_compiling" = yes; then
16623 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
16624 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
16625 { (exit 1); exit 1; }; }
16627 cat >conftest.
$ac_ext <<_ACEOF
16630 cat confdefs.h
>>conftest.
$ac_ext
16631 cat >>conftest.
$ac_ext <<_ACEOF
16632 /* end confdefs.h. */
16633 $ac_includes_default
16634 long longval () { return (long) (sizeof (size_t)); }
16635 unsigned long ulongval () { return (long) (sizeof (size_t)); }
16637 #include <stdlib.h>
16642 FILE *f = fopen ("conftest.val", "w");
16645 if (((long) (sizeof (size_t))) < 0)
16647 long i = longval ();
16648 if (i != ((long) (sizeof (size_t))))
16650 fprintf (f, "%ld\n", i);
16654 unsigned long i = ulongval ();
16655 if (i != ((long) (sizeof (size_t))))
16657 fprintf (f, "%lu\n", i);
16659 exit (ferror (f) || fclose (f) != 0);
16665 rm -f conftest
$ac_exeext
16666 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16667 (eval $ac_link) 2>&5
16669 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16670 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
16671 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16672 (eval $ac_try) 2>&5
16674 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16675 (exit $ac_status); }; }; then
16676 ac_cv_sizeof_size_t
=`cat conftest.val`
16678 echo "$as_me: program exited with status $ac_status" >&5
16679 echo "$as_me: failed program was:" >&5
16680 sed 's/^/| /' conftest.
$ac_ext >&5
16682 ( exit $ac_status )
16683 { { echo "$as_me:$LINENO: error: cannot compute sizeof (size_t), 77
16684 See \`config.log' for more details." >&5
16685 echo "$as_me: error: cannot compute sizeof (size_t), 77
16686 See \`config.log' for more details." >&2;}
16687 { (exit 1); exit 1; }; }
16689 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
16694 ac_cv_sizeof_size_t
=0
16697 echo "$as_me:$LINENO: result: $ac_cv_sizeof_size_t" >&5
16698 echo "${ECHO_T}$ac_cv_sizeof_size_t" >&6
16699 cat >>confdefs.h
<<_ACEOF
16700 #define SIZEOF_SIZE_T $ac_cv_sizeof_size_t
16707 echo "$as_me:$LINENO: checking for long long" >&5
16708 echo $ECHO_N "checking for long long... $ECHO_C" >&6
16709 if test "${ac_cv_type_long_long+set}" = set; then
16710 echo $ECHO_N "(cached) $ECHO_C" >&6
16712 cat >conftest.
$ac_ext <<_ACEOF
16715 cat confdefs.h
>>conftest.
$ac_ext
16716 cat >>conftest.
$ac_ext <<_ACEOF
16717 /* end confdefs.h. */
16718 $ac_includes_default
16722 if ((long long *) 0)
16724 if (sizeof (long long))
16730 rm -f conftest.
$ac_objext
16731 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16732 (eval $ac_compile) 2>conftest.er1
16734 grep -v '^ *+' conftest.er1
>conftest.err
16736 cat conftest.err
>&5
16737 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16738 (exit $ac_status); } &&
16739 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16740 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16741 (eval $ac_try) 2>&5
16743 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16744 (exit $ac_status); }; } &&
16745 { ac_try
='test -s conftest.$ac_objext'
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); }; }; then
16751 ac_cv_type_long_long
=yes
16753 echo "$as_me: failed program was:" >&5
16754 sed 's/^/| /' conftest.
$ac_ext >&5
16756 ac_cv_type_long_long
=no
16758 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16760 echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
16761 echo "${ECHO_T}$ac_cv_type_long_long" >&6
16763 echo "$as_me:$LINENO: checking size of long long" >&5
16764 echo $ECHO_N "checking size of long long... $ECHO_C" >&6
16765 if test "${ac_cv_sizeof_long_long+set}" = set; then
16766 echo $ECHO_N "(cached) $ECHO_C" >&6
16768 if test "$ac_cv_type_long_long" = yes; then
16769 # The cast to unsigned long works around a bug in the HP C Compiler
16770 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
16771 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
16772 # This bug is HP SR number 8606223364.
16773 if test "$cross_compiling" = yes; then
16774 # Depending upon the size, compute the lo and hi bounds.
16775 cat >conftest.
$ac_ext <<_ACEOF
16778 cat confdefs.h
>>conftest.
$ac_ext
16779 cat >>conftest.
$ac_ext <<_ACEOF
16780 /* end confdefs.h. */
16781 $ac_includes_default
16785 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= 0)];
16792 rm -f conftest.
$ac_objext
16793 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16794 (eval $ac_compile) 2>conftest.er1
16796 grep -v '^ *+' conftest.er1
>conftest.err
16798 cat conftest.err
>&5
16799 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16800 (exit $ac_status); } &&
16801 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16802 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16803 (eval $ac_try) 2>&5
16805 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16806 (exit $ac_status); }; } &&
16807 { ac_try
='test -s conftest.$ac_objext'
16808 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16809 (eval $ac_try) 2>&5
16811 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16812 (exit $ac_status); }; }; then
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))) <= $ac_mid)];
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
16853 ac_hi
=$ac_mid; break
16855 echo "$as_me: failed program was:" >&5
16856 sed 's/^/| /' conftest.
$ac_ext >&5
16858 ac_lo
=`expr $ac_mid + 1`
16859 if test $ac_lo -le $ac_mid; then
16863 ac_mid
=`expr 2 '*' $ac_mid + 1`
16865 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16868 echo "$as_me: failed program was:" >&5
16869 sed 's/^/| /' conftest.
$ac_ext >&5
16871 cat >conftest.
$ac_ext <<_ACEOF
16874 cat confdefs.h
>>conftest.
$ac_ext
16875 cat >>conftest.
$ac_ext <<_ACEOF
16876 /* end confdefs.h. */
16877 $ac_includes_default
16881 static int test_array [1 - 2 * !(((long) (sizeof (long long))) < 0)];
16888 rm -f conftest.
$ac_objext
16889 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16890 (eval $ac_compile) 2>conftest.er1
16892 grep -v '^ *+' conftest.er1
>conftest.err
16894 cat conftest.err
>&5
16895 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16896 (exit $ac_status); } &&
16897 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16898 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16899 (eval $ac_try) 2>&5
16901 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16902 (exit $ac_status); }; } &&
16903 { ac_try
='test -s conftest.$ac_objext'
16904 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16905 (eval $ac_try) 2>&5
16907 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16908 (exit $ac_status); }; }; then
16911 cat >conftest.
$ac_ext <<_ACEOF
16914 cat confdefs.h
>>conftest.
$ac_ext
16915 cat >>conftest.
$ac_ext <<_ACEOF
16916 /* end confdefs.h. */
16917 $ac_includes_default
16921 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= $ac_mid)];
16928 rm -f conftest.
$ac_objext
16929 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16930 (eval $ac_compile) 2>conftest.er1
16932 grep -v '^ *+' conftest.er1
>conftest.err
16934 cat conftest.err
>&5
16935 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16936 (exit $ac_status); } &&
16937 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16938 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16939 (eval $ac_try) 2>&5
16941 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16942 (exit $ac_status); }; } &&
16943 { ac_try
='test -s conftest.$ac_objext'
16944 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16945 (eval $ac_try) 2>&5
16947 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16948 (exit $ac_status); }; }; then
16949 ac_lo
=$ac_mid; break
16951 echo "$as_me: failed program was:" >&5
16952 sed 's/^/| /' conftest.
$ac_ext >&5
16954 ac_hi
=`expr '(' $ac_mid ')' - 1`
16955 if test $ac_mid -le $ac_hi; then
16959 ac_mid
=`expr 2 '*' $ac_mid`
16961 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16964 echo "$as_me: failed program was:" >&5
16965 sed 's/^/| /' conftest.
$ac_ext >&5
16969 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16971 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16972 # Binary search between lo and hi bounds.
16973 while test "x$ac_lo" != "x$ac_hi"; do
16974 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
16975 cat >conftest.
$ac_ext <<_ACEOF
16978 cat confdefs.h
>>conftest.
$ac_ext
16979 cat >>conftest.
$ac_ext <<_ACEOF
16980 /* end confdefs.h. */
16981 $ac_includes_default
16985 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
16992 rm -f conftest.
$ac_objext
16993 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16994 (eval $ac_compile) 2>conftest.er1
16996 grep -v '^ *+' conftest.er1
>conftest.err
16998 cat conftest.err
>&5
16999 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17000 (exit $ac_status); } &&
17001 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17002 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17003 (eval $ac_try) 2>&5
17005 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17006 (exit $ac_status); }; } &&
17007 { ac_try
='test -s conftest.$ac_objext'
17008 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17009 (eval $ac_try) 2>&5
17011 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17012 (exit $ac_status); }; }; then
17015 echo "$as_me: failed program was:" >&5
17016 sed 's/^/| /' conftest.
$ac_ext >&5
17018 ac_lo
=`expr '(' $ac_mid ')' + 1`
17020 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17023 ?
*) ac_cv_sizeof_long_long
=$ac_lo;;
17024 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
17025 See \`config.log' for more details." >&5
17026 echo "$as_me: error: cannot compute sizeof (long long), 77
17027 See \`config.log' for more details." >&2;}
17028 { (exit 1); exit 1; }; } ;;
17031 if test "$cross_compiling" = yes; then
17032 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
17033 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
17034 { (exit 1); exit 1; }; }
17036 cat >conftest.
$ac_ext <<_ACEOF
17039 cat confdefs.h
>>conftest.
$ac_ext
17040 cat >>conftest.
$ac_ext <<_ACEOF
17041 /* end confdefs.h. */
17042 $ac_includes_default
17043 long longval () { return (long) (sizeof (long long)); }
17044 unsigned long ulongval () { return (long) (sizeof (long long)); }
17046 #include <stdlib.h>
17051 FILE *f = fopen ("conftest.val", "w");
17054 if (((long) (sizeof (long long))) < 0)
17056 long i = longval ();
17057 if (i != ((long) (sizeof (long long))))
17059 fprintf (f, "%ld\n", i);
17063 unsigned long i = ulongval ();
17064 if (i != ((long) (sizeof (long long))))
17066 fprintf (f, "%lu\n", i);
17068 exit (ferror (f) || fclose (f) != 0);
17074 rm -f conftest
$ac_exeext
17075 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17076 (eval $ac_link) 2>&5
17078 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17079 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
17080 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17081 (eval $ac_try) 2>&5
17083 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17084 (exit $ac_status); }; }; then
17085 ac_cv_sizeof_long_long
=`cat conftest.val`
17087 echo "$as_me: program exited with status $ac_status" >&5
17088 echo "$as_me: failed program was:" >&5
17089 sed 's/^/| /' conftest.
$ac_ext >&5
17091 ( exit $ac_status )
17092 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
17093 See \`config.log' for more details." >&5
17094 echo "$as_me: error: cannot compute sizeof (long long), 77
17095 See \`config.log' for more details." >&2;}
17096 { (exit 1); exit 1; }; }
17098 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
17103 ac_cv_sizeof_long_long
=0
17106 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
17107 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6
17108 cat >>confdefs.h
<<_ACEOF
17109 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
17115 echo "$as_me:$LINENO: checking for long long" >&5
17116 echo $ECHO_N "checking for long long... $ECHO_C" >&6
17117 if test "${ac_cv_type_long_long+set}" = set; then
17118 echo $ECHO_N "(cached) $ECHO_C" >&6
17120 cat >conftest.
$ac_ext <<_ACEOF
17123 cat confdefs.h
>>conftest.
$ac_ext
17124 cat >>conftest.
$ac_ext <<_ACEOF
17125 /* end confdefs.h. */
17126 $ac_includes_default
17130 if ((long long *) 0)
17132 if (sizeof (long long))
17138 rm -f conftest.
$ac_objext
17139 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17140 (eval $ac_compile) 2>conftest.er1
17142 grep -v '^ *+' conftest.er1
>conftest.err
17144 cat conftest.err
>&5
17145 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17146 (exit $ac_status); } &&
17147 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17148 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17149 (eval $ac_try) 2>&5
17151 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17152 (exit $ac_status); }; } &&
17153 { ac_try
='test -s conftest.$ac_objext'
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); }; }; then
17159 ac_cv_type_long_long
=yes
17161 echo "$as_me: failed program was:" >&5
17162 sed 's/^/| /' conftest.
$ac_ext >&5
17164 ac_cv_type_long_long
=no
17166 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17168 echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
17169 echo "${ECHO_T}$ac_cv_type_long_long" >&6
17171 echo "$as_me:$LINENO: checking size of long long" >&5
17172 echo $ECHO_N "checking size of long long... $ECHO_C" >&6
17173 if test "${ac_cv_sizeof_long_long+set}" = set; then
17174 echo $ECHO_N "(cached) $ECHO_C" >&6
17176 if test "$ac_cv_type_long_long" = yes; then
17177 # The cast to unsigned long works around a bug in the HP C Compiler
17178 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
17179 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
17180 # This bug is HP SR number 8606223364.
17181 if test "$cross_compiling" = yes; then
17182 # Depending upon the size, compute the lo and hi bounds.
17183 cat >conftest.
$ac_ext <<_ACEOF
17186 cat confdefs.h
>>conftest.
$ac_ext
17187 cat >>conftest.
$ac_ext <<_ACEOF
17188 /* end confdefs.h. */
17189 $ac_includes_default
17193 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= 0)];
17200 rm -f conftest.
$ac_objext
17201 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17202 (eval $ac_compile) 2>conftest.er1
17204 grep -v '^ *+' conftest.er1
>conftest.err
17206 cat conftest.err
>&5
17207 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17208 (exit $ac_status); } &&
17209 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17210 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17211 (eval $ac_try) 2>&5
17213 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17214 (exit $ac_status); }; } &&
17215 { ac_try
='test -s conftest.$ac_objext'
17216 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17217 (eval $ac_try) 2>&5
17219 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17220 (exit $ac_status); }; }; then
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))) <= $ac_mid)];
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
17261 ac_hi
=$ac_mid; break
17263 echo "$as_me: failed program was:" >&5
17264 sed 's/^/| /' conftest.
$ac_ext >&5
17266 ac_lo
=`expr $ac_mid + 1`
17267 if test $ac_lo -le $ac_mid; then
17271 ac_mid
=`expr 2 '*' $ac_mid + 1`
17273 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17276 echo "$as_me: failed program was:" >&5
17277 sed 's/^/| /' conftest.
$ac_ext >&5
17279 cat >conftest.
$ac_ext <<_ACEOF
17282 cat confdefs.h
>>conftest.
$ac_ext
17283 cat >>conftest.
$ac_ext <<_ACEOF
17284 /* end confdefs.h. */
17285 $ac_includes_default
17289 static int test_array [1 - 2 * !(((long) (sizeof (long long))) < 0)];
17296 rm -f conftest.
$ac_objext
17297 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17298 (eval $ac_compile) 2>conftest.er1
17300 grep -v '^ *+' conftest.er1
>conftest.err
17302 cat conftest.err
>&5
17303 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17304 (exit $ac_status); } &&
17305 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17306 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17307 (eval $ac_try) 2>&5
17309 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17310 (exit $ac_status); }; } &&
17311 { ac_try
='test -s conftest.$ac_objext'
17312 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17313 (eval $ac_try) 2>&5
17315 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17316 (exit $ac_status); }; }; then
17319 cat >conftest.
$ac_ext <<_ACEOF
17322 cat confdefs.h
>>conftest.
$ac_ext
17323 cat >>conftest.
$ac_ext <<_ACEOF
17324 /* end confdefs.h. */
17325 $ac_includes_default
17329 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= $ac_mid)];
17336 rm -f conftest.
$ac_objext
17337 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17338 (eval $ac_compile) 2>conftest.er1
17340 grep -v '^ *+' conftest.er1
>conftest.err
17342 cat conftest.err
>&5
17343 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17344 (exit $ac_status); } &&
17345 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17346 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17347 (eval $ac_try) 2>&5
17349 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17350 (exit $ac_status); }; } &&
17351 { ac_try
='test -s conftest.$ac_objext'
17352 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17353 (eval $ac_try) 2>&5
17355 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17356 (exit $ac_status); }; }; then
17357 ac_lo
=$ac_mid; break
17359 echo "$as_me: failed program was:" >&5
17360 sed 's/^/| /' conftest.
$ac_ext >&5
17362 ac_hi
=`expr '(' $ac_mid ')' - 1`
17363 if test $ac_mid -le $ac_hi; then
17367 ac_mid
=`expr 2 '*' $ac_mid`
17369 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17372 echo "$as_me: failed program was:" >&5
17373 sed 's/^/| /' conftest.
$ac_ext >&5
17377 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17379 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17380 # Binary search between lo and hi bounds.
17381 while test "x$ac_lo" != "x$ac_hi"; do
17382 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
17383 cat >conftest.
$ac_ext <<_ACEOF
17386 cat confdefs.h
>>conftest.
$ac_ext
17387 cat >>conftest.
$ac_ext <<_ACEOF
17388 /* end confdefs.h. */
17389 $ac_includes_default
17393 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
17400 rm -f conftest.
$ac_objext
17401 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17402 (eval $ac_compile) 2>conftest.er1
17404 grep -v '^ *+' conftest.er1
>conftest.err
17406 cat conftest.err
>&5
17407 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17408 (exit $ac_status); } &&
17409 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17410 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17411 (eval $ac_try) 2>&5
17413 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17414 (exit $ac_status); }; } &&
17415 { ac_try
='test -s conftest.$ac_objext'
17416 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17417 (eval $ac_try) 2>&5
17419 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17420 (exit $ac_status); }; }; then
17423 echo "$as_me: failed program was:" >&5
17424 sed 's/^/| /' conftest.
$ac_ext >&5
17426 ac_lo
=`expr '(' $ac_mid ')' + 1`
17428 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17431 ?
*) ac_cv_sizeof_long_long
=$ac_lo;;
17432 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
17433 See \`config.log' for more details." >&5
17434 echo "$as_me: error: cannot compute sizeof (long long), 77
17435 See \`config.log' for more details." >&2;}
17436 { (exit 1); exit 1; }; } ;;
17439 if test "$cross_compiling" = yes; then
17440 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
17441 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
17442 { (exit 1); exit 1; }; }
17444 cat >conftest.
$ac_ext <<_ACEOF
17447 cat confdefs.h
>>conftest.
$ac_ext
17448 cat >>conftest.
$ac_ext <<_ACEOF
17449 /* end confdefs.h. */
17450 $ac_includes_default
17451 long longval () { return (long) (sizeof (long long)); }
17452 unsigned long ulongval () { return (long) (sizeof (long long)); }
17454 #include <stdlib.h>
17459 FILE *f = fopen ("conftest.val", "w");
17462 if (((long) (sizeof (long long))) < 0)
17464 long i = longval ();
17465 if (i != ((long) (sizeof (long long))))
17467 fprintf (f, "%ld\n", i);
17471 unsigned long i = ulongval ();
17472 if (i != ((long) (sizeof (long long))))
17474 fprintf (f, "%lu\n", i);
17476 exit (ferror (f) || fclose (f) != 0);
17482 rm -f conftest
$ac_exeext
17483 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17484 (eval $ac_link) 2>&5
17486 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17487 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
17488 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17489 (eval $ac_try) 2>&5
17491 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17492 (exit $ac_status); }; }; then
17493 ac_cv_sizeof_long_long
=`cat conftest.val`
17495 echo "$as_me: program exited with status $ac_status" >&5
17496 echo "$as_me: failed program was:" >&5
17497 sed 's/^/| /' conftest.
$ac_ext >&5
17499 ( exit $ac_status )
17500 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
17501 See \`config.log' for more details." >&5
17502 echo "$as_me: error: cannot compute sizeof (long long), 77
17503 See \`config.log' for more details." >&2;}
17504 { (exit 1); exit 1; }; }
17506 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
17511 ac_cv_sizeof_long_long
=0
17514 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
17515 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6
17516 cat >>confdefs.h
<<_ACEOF
17517 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
17521 if test "$ac_cv_sizeof_long_long" != "0"; then
17522 CPPFLAGS
="$CPPFLAGS -D_INCLUDE_LONGLONG"
17526 echo "$as_me:$LINENO: checking for long long" >&5
17527 echo $ECHO_N "checking for long long... $ECHO_C" >&6
17528 if test "${ac_cv_type_long_long+set}" = set; then
17529 echo $ECHO_N "(cached) $ECHO_C" >&6
17531 cat >conftest.
$ac_ext <<_ACEOF
17534 cat confdefs.h
>>conftest.
$ac_ext
17535 cat >>conftest.
$ac_ext <<_ACEOF
17536 /* end confdefs.h. */
17537 $ac_includes_default
17541 if ((long long *) 0)
17543 if (sizeof (long long))
17549 rm -f conftest.
$ac_objext
17550 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17551 (eval $ac_compile) 2>conftest.er1
17553 grep -v '^ *+' conftest.er1
>conftest.err
17555 cat conftest.err
>&5
17556 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17557 (exit $ac_status); } &&
17558 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17559 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17560 (eval $ac_try) 2>&5
17562 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17563 (exit $ac_status); }; } &&
17564 { ac_try
='test -s conftest.$ac_objext'
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); }; }; then
17570 ac_cv_type_long_long
=yes
17572 echo "$as_me: failed program was:" >&5
17573 sed 's/^/| /' conftest.
$ac_ext >&5
17575 ac_cv_type_long_long
=no
17577 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17579 echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
17580 echo "${ECHO_T}$ac_cv_type_long_long" >&6
17582 echo "$as_me:$LINENO: checking size of long long" >&5
17583 echo $ECHO_N "checking size of long long... $ECHO_C" >&6
17584 if test "${ac_cv_sizeof_long_long+set}" = set; then
17585 echo $ECHO_N "(cached) $ECHO_C" >&6
17587 if test "$ac_cv_type_long_long" = yes; then
17588 # The cast to unsigned long works around a bug in the HP C Compiler
17589 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
17590 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
17591 # This bug is HP SR number 8606223364.
17592 if test "$cross_compiling" = yes; then
17593 # Depending upon the size, compute the lo and hi bounds.
17594 cat >conftest.
$ac_ext <<_ACEOF
17597 cat confdefs.h
>>conftest.
$ac_ext
17598 cat >>conftest.
$ac_ext <<_ACEOF
17599 /* end confdefs.h. */
17600 $ac_includes_default
17604 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= 0)];
17611 rm -f conftest.
$ac_objext
17612 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17613 (eval $ac_compile) 2>conftest.er1
17615 grep -v '^ *+' conftest.er1
>conftest.err
17617 cat conftest.err
>&5
17618 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17619 (exit $ac_status); } &&
17620 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17621 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17622 (eval $ac_try) 2>&5
17624 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17625 (exit $ac_status); }; } &&
17626 { ac_try
='test -s conftest.$ac_objext'
17627 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17628 (eval $ac_try) 2>&5
17630 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17631 (exit $ac_status); }; }; then
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))) <= $ac_mid)];
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
17672 ac_hi
=$ac_mid; break
17674 echo "$as_me: failed program was:" >&5
17675 sed 's/^/| /' conftest.
$ac_ext >&5
17677 ac_lo
=`expr $ac_mid + 1`
17678 if test $ac_lo -le $ac_mid; then
17682 ac_mid
=`expr 2 '*' $ac_mid + 1`
17684 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17687 echo "$as_me: failed program was:" >&5
17688 sed 's/^/| /' conftest.
$ac_ext >&5
17690 cat >conftest.
$ac_ext <<_ACEOF
17693 cat confdefs.h
>>conftest.
$ac_ext
17694 cat >>conftest.
$ac_ext <<_ACEOF
17695 /* end confdefs.h. */
17696 $ac_includes_default
17700 static int test_array [1 - 2 * !(((long) (sizeof (long long))) < 0)];
17707 rm -f conftest.
$ac_objext
17708 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17709 (eval $ac_compile) 2>conftest.er1
17711 grep -v '^ *+' conftest.er1
>conftest.err
17713 cat conftest.err
>&5
17714 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17715 (exit $ac_status); } &&
17716 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17717 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17718 (eval $ac_try) 2>&5
17720 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17721 (exit $ac_status); }; } &&
17722 { ac_try
='test -s conftest.$ac_objext'
17723 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17724 (eval $ac_try) 2>&5
17726 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17727 (exit $ac_status); }; }; then
17730 cat >conftest.
$ac_ext <<_ACEOF
17733 cat confdefs.h
>>conftest.
$ac_ext
17734 cat >>conftest.
$ac_ext <<_ACEOF
17735 /* end confdefs.h. */
17736 $ac_includes_default
17740 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= $ac_mid)];
17747 rm -f conftest.
$ac_objext
17748 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17749 (eval $ac_compile) 2>conftest.er1
17751 grep -v '^ *+' conftest.er1
>conftest.err
17753 cat conftest.err
>&5
17754 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17755 (exit $ac_status); } &&
17756 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17757 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17758 (eval $ac_try) 2>&5
17760 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17761 (exit $ac_status); }; } &&
17762 { ac_try
='test -s conftest.$ac_objext'
17763 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17764 (eval $ac_try) 2>&5
17766 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17767 (exit $ac_status); }; }; then
17768 ac_lo
=$ac_mid; break
17770 echo "$as_me: failed program was:" >&5
17771 sed 's/^/| /' conftest.
$ac_ext >&5
17773 ac_hi
=`expr '(' $ac_mid ')' - 1`
17774 if test $ac_mid -le $ac_hi; then
17778 ac_mid
=`expr 2 '*' $ac_mid`
17780 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17783 echo "$as_me: failed program was:" >&5
17784 sed 's/^/| /' conftest.
$ac_ext >&5
17788 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17790 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17791 # Binary search between lo and hi bounds.
17792 while test "x$ac_lo" != "x$ac_hi"; do
17793 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
17794 cat >conftest.
$ac_ext <<_ACEOF
17797 cat confdefs.h
>>conftest.
$ac_ext
17798 cat >>conftest.
$ac_ext <<_ACEOF
17799 /* end confdefs.h. */
17800 $ac_includes_default
17804 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
17811 rm -f conftest.
$ac_objext
17812 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17813 (eval $ac_compile) 2>conftest.er1
17815 grep -v '^ *+' conftest.er1
>conftest.err
17817 cat conftest.err
>&5
17818 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17819 (exit $ac_status); } &&
17820 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17821 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17822 (eval $ac_try) 2>&5
17824 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17825 (exit $ac_status); }; } &&
17826 { ac_try
='test -s conftest.$ac_objext'
17827 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17828 (eval $ac_try) 2>&5
17830 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17831 (exit $ac_status); }; }; then
17834 echo "$as_me: failed program was:" >&5
17835 sed 's/^/| /' conftest.
$ac_ext >&5
17837 ac_lo
=`expr '(' $ac_mid ')' + 1`
17839 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17842 ?
*) ac_cv_sizeof_long_long
=$ac_lo;;
17843 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
17844 See \`config.log' for more details." >&5
17845 echo "$as_me: error: cannot compute sizeof (long long), 77
17846 See \`config.log' for more details." >&2;}
17847 { (exit 1); exit 1; }; } ;;
17850 if test "$cross_compiling" = yes; then
17851 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
17852 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
17853 { (exit 1); exit 1; }; }
17855 cat >conftest.
$ac_ext <<_ACEOF
17858 cat confdefs.h
>>conftest.
$ac_ext
17859 cat >>conftest.
$ac_ext <<_ACEOF
17860 /* end confdefs.h. */
17861 $ac_includes_default
17862 long longval () { return (long) (sizeof (long long)); }
17863 unsigned long ulongval () { return (long) (sizeof (long long)); }
17865 #include <stdlib.h>
17870 FILE *f = fopen ("conftest.val", "w");
17873 if (((long) (sizeof (long long))) < 0)
17875 long i = longval ();
17876 if (i != ((long) (sizeof (long long))))
17878 fprintf (f, "%ld\n", i);
17882 unsigned long i = ulongval ();
17883 if (i != ((long) (sizeof (long long))))
17885 fprintf (f, "%lu\n", i);
17887 exit (ferror (f) || fclose (f) != 0);
17893 rm -f conftest
$ac_exeext
17894 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17895 (eval $ac_link) 2>&5
17897 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17898 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
17899 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17900 (eval $ac_try) 2>&5
17902 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17903 (exit $ac_status); }; }; then
17904 ac_cv_sizeof_long_long
=`cat conftest.val`
17906 echo "$as_me: program exited with status $ac_status" >&5
17907 echo "$as_me: failed program was:" >&5
17908 sed 's/^/| /' conftest.
$ac_ext >&5
17910 ( exit $ac_status )
17911 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
17912 See \`config.log' for more details." >&5
17913 echo "$as_me: error: cannot compute sizeof (long long), 77
17914 See \`config.log' for more details." >&2;}
17915 { (exit 1); exit 1; }; }
17917 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
17922 ac_cv_sizeof_long_long
=0
17925 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
17926 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6
17927 cat >>confdefs.h
<<_ACEOF
17928 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
17934 echo "$as_me:$LINENO: checking size of wchar_t" >&5
17935 echo $ECHO_N "checking size of wchar_t... $ECHO_C" >&6
17936 if test "${wx_cv_sizeof_wchar_t+set}" = set; then
17937 echo $ECHO_N "(cached) $ECHO_C" >&6
17940 if test "$cross_compiling" = yes; then
17944 wx_cv_sizeof_wchar_t
=0
17947 wx_cv_sizeof_wchar_t
=4
17953 cat >conftest.
$ac_ext <<_ACEOF
17956 cat confdefs.h
>>conftest.
$ac_ext
17957 cat >>conftest.
$ac_ext <<_ACEOF
17958 /* end confdefs.h. */
17960 /* DJGPP only has fake wchar_t: */
17962 # error "fake wchar_t"
17964 #ifdef HAVE_WCHAR_H
17966 # include <stddef.h>
17968 # include <wchar.h>
17970 #ifdef HAVE_STDLIB_H
17971 # include <stdlib.h>
17976 FILE *f=fopen("conftestval", "w");
17978 fprintf(f, "%i", sizeof(wchar_t));
17983 rm -f conftest
$ac_exeext
17984 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17985 (eval $ac_link) 2>&5
17987 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17988 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
17989 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17990 (eval $ac_try) 2>&5
17992 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17993 (exit $ac_status); }; }; then
17994 wx_cv_sizeof_wchar_t
=`cat conftestval`
17996 echo "$as_me: program exited with status $ac_status" >&5
17997 echo "$as_me: failed program was:" >&5
17998 sed 's/^/| /' conftest.
$ac_ext >&5
18000 ( exit $ac_status )
18001 wx_cv_sizeof_wchar_t
=0
18003 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
18007 echo "$as_me:$LINENO: result: $wx_cv_sizeof_wchar_t" >&5
18008 echo "${ECHO_T}$wx_cv_sizeof_wchar_t" >&6
18010 cat >>confdefs.h
<<_ACEOF
18011 #define SIZEOF_WCHAR_T $wx_cv_sizeof_wchar_t
18015 # Check whether --enable-largefile or --disable-largefile was given.
18016 if test "${enable_largefile+set}" = set; then
18017 enableval
="$enable_largefile"
18020 if test "$enable_largefile" != no
; then
18023 echo "$as_me:$LINENO: checking for _FILE_OFFSET_BITS value needed for large files" >&5
18024 echo $ECHO_N "checking for _FILE_OFFSET_BITS value needed for large files... $ECHO_C" >&6
18025 if test "${ac_cv_sys_file_offset_bits+set}" = set; then
18026 echo $ECHO_N "(cached) $ECHO_C" >&6
18029 cat >conftest.
$ac_ext <<_ACEOF
18032 cat confdefs.h
>>conftest.
$ac_ext
18033 cat >>conftest.
$ac_ext <<_ACEOF
18034 /* end confdefs.h. */
18035 #define _FILE_OFFSET_BITS 64
18036 #include <sys/types.h>
18041 unsigned int field: sizeof(off_t) == 8;
18048 rm -f conftest.
$ac_objext
18049 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18050 (eval $ac_compile) 2>conftest.er1
18052 grep -v '^ *+' conftest.er1
>conftest.err
18054 cat conftest.err
>&5
18055 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18056 (exit $ac_status); } &&
18057 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18058 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18059 (eval $ac_try) 2>&5
18061 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18062 (exit $ac_status); }; } &&
18063 { ac_try
='test -s conftest.$ac_objext'
18064 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18065 (eval $ac_try) 2>&5
18067 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18068 (exit $ac_status); }; }; then
18069 ac_cv_sys_file_offset_bits
=64
18071 echo "$as_me: failed program was:" >&5
18072 sed 's/^/| /' conftest.
$ac_ext >&5
18074 ac_cv_sys_file_offset_bits
=no
18076 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18080 echo "$as_me:$LINENO: result: $ac_cv_sys_file_offset_bits" >&5
18081 echo "${ECHO_T}$ac_cv_sys_file_offset_bits" >&6
18083 if test "$ac_cv_sys_file_offset_bits" != no
; then
18085 cat >>confdefs.h
<<_ACEOF
18086 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
18091 if test "x$wx_largefile" != "xyes"; then
18093 echo "$as_me:$LINENO: checking for _LARGE_FILES value needed for large files" >&5
18094 echo $ECHO_N "checking for _LARGE_FILES value needed for large files... $ECHO_C" >&6
18095 if test "${ac_cv_sys_large_files+set}" = set; then
18096 echo $ECHO_N "(cached) $ECHO_C" >&6
18099 cat >conftest.
$ac_ext <<_ACEOF
18102 cat confdefs.h
>>conftest.
$ac_ext
18103 cat >>conftest.
$ac_ext <<_ACEOF
18104 /* end confdefs.h. */
18105 #define _LARGE_FILES 1
18106 #include <sys/types.h>
18111 unsigned int field: sizeof(off_t) == 8;
18118 rm -f conftest.
$ac_objext
18119 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18120 (eval $ac_compile) 2>conftest.er1
18122 grep -v '^ *+' conftest.er1
>conftest.err
18124 cat conftest.err
>&5
18125 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18126 (exit $ac_status); } &&
18127 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18128 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18129 (eval $ac_try) 2>&5
18131 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18132 (exit $ac_status); }; } &&
18133 { ac_try
='test -s conftest.$ac_objext'
18134 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18135 (eval $ac_try) 2>&5
18137 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18138 (exit $ac_status); }; }; then
18139 ac_cv_sys_large_files
=1
18141 echo "$as_me: failed program was:" >&5
18142 sed 's/^/| /' conftest.
$ac_ext >&5
18144 ac_cv_sys_large_files
=no
18146 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18150 echo "$as_me:$LINENO: result: $ac_cv_sys_large_files" >&5
18151 echo "${ECHO_T}$ac_cv_sys_large_files" >&6
18153 if test "$ac_cv_sys_large_files" != no
; then
18155 cat >>confdefs.h
<<_ACEOF
18156 #define _LARGE_FILES $ac_cv_sys_large_files
18163 echo "$as_me:$LINENO: checking if large file support is available" >&5
18164 echo $ECHO_N "checking if large file support is available... $ECHO_C" >&6
18165 if test "x$wx_largefile" = "xyes"; then
18166 cat >>confdefs.h
<<\_ACEOF
18167 #define HAVE_LARGEFILE_SUPPORT 1
18171 echo "$as_me:$LINENO: result: $wx_largefile" >&5
18172 echo "${ECHO_T}$wx_largefile" >&6
18176 if test "x$wx_largefile" = "xyes"; then
18177 if test "x$ac_cv_sys_file_offset_bits" = "x64"; then
18178 WX_LARGEFILE_FLAGS
="-D_FILE_OFFSET_BITS=64 -D_LARGE_FILES"
18180 WX_LARGEFILE_FLAGS
="-D_LARGE_FILES"
18182 CPPFLAGS
="$CPPFLAGS $WX_LARGEFILE_FLAGS"
18185 echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5
18186 echo $ECHO_N "checking whether byte ordering is bigendian... $ECHO_C" >&6
18187 if test "${ac_cv_c_bigendian+set}" = set; then
18188 echo $ECHO_N "(cached) $ECHO_C" >&6
18190 ac_cv_c_bigendian
=unknown
18191 # See if sys/param.h defines the BYTE_ORDER macro.
18192 cat >conftest.
$ac_ext <<_ACEOF
18195 cat confdefs.h
>>conftest.
$ac_ext
18196 cat >>conftest.
$ac_ext <<_ACEOF
18197 /* end confdefs.h. */
18198 #include <sys/types.h>
18199 #include <sys/param.h>
18204 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN
18205 bogus endian macros
18211 rm -f conftest.
$ac_objext
18212 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18213 (eval $ac_compile) 2>conftest.er1
18215 grep -v '^ *+' conftest.er1
>conftest.err
18217 cat conftest.err
>&5
18218 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18219 (exit $ac_status); } &&
18220 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18221 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18222 (eval $ac_try) 2>&5
18224 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18225 (exit $ac_status); }; } &&
18226 { ac_try
='test -s conftest.$ac_objext'
18227 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18228 (eval $ac_try) 2>&5
18230 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18231 (exit $ac_status); }; }; then
18232 # It does; now see whether it defined to BIG_ENDIAN or not.
18233 cat >conftest.
$ac_ext <<_ACEOF
18236 cat confdefs.h
>>conftest.
$ac_ext
18237 cat >>conftest.
$ac_ext <<_ACEOF
18238 /* end confdefs.h. */
18239 #include <sys/types.h>
18240 #include <sys/param.h>
18245 #if BYTE_ORDER != BIG_ENDIAN
18252 rm -f conftest.
$ac_objext
18253 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18254 (eval $ac_compile) 2>conftest.er1
18256 grep -v '^ *+' conftest.er1
>conftest.err
18258 cat conftest.err
>&5
18259 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18260 (exit $ac_status); } &&
18261 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18262 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18263 (eval $ac_try) 2>&5
18265 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18266 (exit $ac_status); }; } &&
18267 { ac_try
='test -s conftest.$ac_objext'
18268 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18269 (eval $ac_try) 2>&5
18271 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18272 (exit $ac_status); }; }; then
18273 ac_cv_c_bigendian
=yes
18275 echo "$as_me: failed program was:" >&5
18276 sed 's/^/| /' conftest.
$ac_ext >&5
18278 ac_cv_c_bigendian
=no
18280 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18282 echo "$as_me: failed program was:" >&5
18283 sed 's/^/| /' conftest.
$ac_ext >&5
18286 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18287 if test $ac_cv_c_bigendian = unknown
; then
18288 if test "$cross_compiling" = yes; then
18289 ac_cv_c_bigendian
=unknown
18291 cat >conftest.
$ac_ext <<_ACEOF
18294 cat confdefs.h
>>conftest.
$ac_ext
18295 cat >>conftest.
$ac_ext <<_ACEOF
18296 /* end confdefs.h. */
18298 /* Are we little or big endian? From Harbison&Steele. */
18302 char c[sizeof (long)];
18305 exit (u.c[sizeof (long) - 1] == 1);
18308 rm -f conftest
$ac_exeext
18309 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18310 (eval $ac_link) 2>&5
18312 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18313 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
18314 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18315 (eval $ac_try) 2>&5
18317 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18318 (exit $ac_status); }; }; then
18319 ac_cv_c_bigendian
=no
18321 echo "$as_me: program exited with status $ac_status" >&5
18322 echo "$as_me: failed program was:" >&5
18323 sed 's/^/| /' conftest.
$ac_ext >&5
18325 ( exit $ac_status )
18326 ac_cv_c_bigendian
=yes
18328 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
18332 echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5
18333 echo "${ECHO_T}$ac_cv_c_bigendian" >&6
18334 if test $ac_cv_c_bigendian = unknown
; then
18335 { 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
18336 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;}
18338 if test $ac_cv_c_bigendian = yes; then
18339 cat >>confdefs.h
<<\_ACEOF
18340 #define WORDS_BIGENDIAN 1
18347 ac_cpp
='$CXXCPP $CPPFLAGS'
18348 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18349 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18350 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
18351 echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5
18352 echo $ECHO_N "checking how to run the C++ preprocessor... $ECHO_C" >&6
18353 if test -z "$CXXCPP"; then
18354 if test "${ac_cv_prog_CXXCPP+set}" = set; then
18355 echo $ECHO_N "(cached) $ECHO_C" >&6
18357 # Double quotes because CXXCPP needs to be expanded
18358 for CXXCPP
in "$CXX -E" "/lib/cpp"
18360 ac_preproc_ok
=false
18361 for ac_cxx_preproc_warn_flag
in '' yes
18363 # Use a header file that comes with gcc, so configuring glibc
18364 # with a fresh cross-compiler works.
18365 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
18366 # <limits.h> exists even on freestanding compilers.
18367 # On the NeXT, cc -E runs the code through the compiler's parser,
18368 # not just through cpp. "Syntax error" is here to catch this case.
18369 cat >conftest.
$ac_ext <<_ACEOF
18372 cat confdefs.h
>>conftest.
$ac_ext
18373 cat >>conftest.
$ac_ext <<_ACEOF
18374 /* end confdefs.h. */
18376 # include <limits.h>
18378 # include <assert.h>
18382 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
18383 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
18385 grep -v '^ *+' conftest.er1
>conftest.err
18387 cat conftest.err
>&5
18388 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18389 (exit $ac_status); } >/dev
/null
; then
18390 if test -s conftest.err
; then
18391 ac_cpp_err
=$ac_cxx_preproc_warn_flag
18392 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
18399 if test -z "$ac_cpp_err"; then
18402 echo "$as_me: failed program was:" >&5
18403 sed 's/^/| /' conftest.
$ac_ext >&5
18405 # Broken: fails on valid input.
18408 rm -f conftest.err conftest.
$ac_ext
18410 # OK, works on sane cases. Now check whether non-existent headers
18411 # can be detected and how.
18412 cat >conftest.
$ac_ext <<_ACEOF
18415 cat confdefs.h
>>conftest.
$ac_ext
18416 cat >>conftest.
$ac_ext <<_ACEOF
18417 /* end confdefs.h. */
18418 #include <ac_nonexistent.h>
18420 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
18421 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
18423 grep -v '^ *+' conftest.er1
>conftest.err
18425 cat conftest.err
>&5
18426 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18427 (exit $ac_status); } >/dev
/null
; then
18428 if test -s conftest.err
; then
18429 ac_cpp_err
=$ac_cxx_preproc_warn_flag
18430 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
18437 if test -z "$ac_cpp_err"; then
18438 # Broken: success on invalid input.
18441 echo "$as_me: failed program was:" >&5
18442 sed 's/^/| /' conftest.
$ac_ext >&5
18444 # Passes both tests.
18448 rm -f conftest.err conftest.
$ac_ext
18451 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
18452 rm -f conftest.err conftest.
$ac_ext
18453 if $ac_preproc_ok; then
18458 ac_cv_prog_CXXCPP
=$CXXCPP
18461 CXXCPP
=$ac_cv_prog_CXXCPP
18463 ac_cv_prog_CXXCPP
=$CXXCPP
18465 echo "$as_me:$LINENO: result: $CXXCPP" >&5
18466 echo "${ECHO_T}$CXXCPP" >&6
18467 ac_preproc_ok
=false
18468 for ac_cxx_preproc_warn_flag
in '' yes
18470 # Use a header file that comes with gcc, so configuring glibc
18471 # with a fresh cross-compiler works.
18472 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
18473 # <limits.h> exists even on freestanding compilers.
18474 # On the NeXT, cc -E runs the code through the compiler's parser,
18475 # not just through cpp. "Syntax error" is here to catch this case.
18476 cat >conftest.
$ac_ext <<_ACEOF
18479 cat confdefs.h
>>conftest.
$ac_ext
18480 cat >>conftest.
$ac_ext <<_ACEOF
18481 /* end confdefs.h. */
18483 # include <limits.h>
18485 # include <assert.h>
18489 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
18490 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
18492 grep -v '^ *+' conftest.er1
>conftest.err
18494 cat conftest.err
>&5
18495 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18496 (exit $ac_status); } >/dev
/null
; then
18497 if test -s conftest.err
; then
18498 ac_cpp_err
=$ac_cxx_preproc_warn_flag
18499 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
18506 if test -z "$ac_cpp_err"; then
18509 echo "$as_me: failed program was:" >&5
18510 sed 's/^/| /' conftest.
$ac_ext >&5
18512 # Broken: fails on valid input.
18515 rm -f conftest.err conftest.
$ac_ext
18517 # OK, works on sane cases. Now check whether non-existent headers
18518 # can be detected and how.
18519 cat >conftest.
$ac_ext <<_ACEOF
18522 cat confdefs.h
>>conftest.
$ac_ext
18523 cat >>conftest.
$ac_ext <<_ACEOF
18524 /* end confdefs.h. */
18525 #include <ac_nonexistent.h>
18527 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
18528 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
18530 grep -v '^ *+' conftest.er1
>conftest.err
18532 cat conftest.err
>&5
18533 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18534 (exit $ac_status); } >/dev
/null
; then
18535 if test -s conftest.err
; then
18536 ac_cpp_err
=$ac_cxx_preproc_warn_flag
18537 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
18544 if test -z "$ac_cpp_err"; then
18545 # Broken: success on invalid input.
18548 echo "$as_me: failed program was:" >&5
18549 sed 's/^/| /' conftest.
$ac_ext >&5
18551 # Passes both tests.
18555 rm -f conftest.err conftest.
$ac_ext
18558 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
18559 rm -f conftest.err conftest.
$ac_ext
18560 if $ac_preproc_ok; then
18563 { { echo "$as_me:$LINENO: error: C++ preprocessor \"$CXXCPP\" fails sanity check
18564 See \`config.log' for more details." >&5
18565 echo "$as_me: error: C++ preprocessor \"$CXXCPP\" fails sanity check
18566 See \`config.log' for more details." >&2;}
18567 { (exit 1); exit 1; }; }
18571 ac_cpp
='$CXXCPP $CPPFLAGS'
18572 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18573 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18574 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
18578 if test "$cross_compiling" = "yes"; then
18579 cat >>confdefs.h
<<\_ACEOF
18580 #define wxUSE_IOSTREAMH 1
18587 ac_cpp
='$CXXCPP $CPPFLAGS'
18588 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18589 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18590 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
18594 for ac_header
in iostream
18596 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
18597 if eval "test \"\${$as_ac_Header+set}\" = set"; then
18598 echo "$as_me:$LINENO: checking for $ac_header" >&5
18599 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
18600 if eval "test \"\${$as_ac_Header+set}\" = set"; then
18601 echo $ECHO_N "(cached) $ECHO_C" >&6
18603 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
18604 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
18606 # Is the header compilable?
18607 echo "$as_me:$LINENO: checking $ac_header usability" >&5
18608 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
18609 cat >conftest.
$ac_ext <<_ACEOF
18612 cat confdefs.h
>>conftest.
$ac_ext
18613 cat >>conftest.
$ac_ext <<_ACEOF
18614 /* end confdefs.h. */
18615 $ac_includes_default
18616 #include <$ac_header>
18618 rm -f conftest.
$ac_objext
18619 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18620 (eval $ac_compile) 2>conftest.er1
18622 grep -v '^ *+' conftest.er1
>conftest.err
18624 cat conftest.err
>&5
18625 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18626 (exit $ac_status); } &&
18627 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
18628 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18629 (eval $ac_try) 2>&5
18631 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18632 (exit $ac_status); }; } &&
18633 { ac_try
='test -s conftest.$ac_objext'
18634 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18635 (eval $ac_try) 2>&5
18637 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18638 (exit $ac_status); }; }; then
18639 ac_header_compiler
=yes
18641 echo "$as_me: failed program was:" >&5
18642 sed 's/^/| /' conftest.
$ac_ext >&5
18644 ac_header_compiler
=no
18646 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18647 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
18648 echo "${ECHO_T}$ac_header_compiler" >&6
18650 # Is the header present?
18651 echo "$as_me:$LINENO: checking $ac_header presence" >&5
18652 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
18653 cat >conftest.
$ac_ext <<_ACEOF
18656 cat confdefs.h
>>conftest.
$ac_ext
18657 cat >>conftest.
$ac_ext <<_ACEOF
18658 /* end confdefs.h. */
18659 #include <$ac_header>
18661 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
18662 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
18664 grep -v '^ *+' conftest.er1
>conftest.err
18666 cat conftest.err
>&5
18667 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18668 (exit $ac_status); } >/dev
/null
; then
18669 if test -s conftest.err
; then
18670 ac_cpp_err
=$ac_cxx_preproc_warn_flag
18671 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
18678 if test -z "$ac_cpp_err"; then
18679 ac_header_preproc
=yes
18681 echo "$as_me: failed program was:" >&5
18682 sed 's/^/| /' conftest.
$ac_ext >&5
18684 ac_header_preproc
=no
18686 rm -f conftest.err conftest.
$ac_ext
18687 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
18688 echo "${ECHO_T}$ac_header_preproc" >&6
18690 # So? What about this header?
18691 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
18693 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
18694 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
18695 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
18696 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
18697 ac_header_preproc
=yes
18700 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
18701 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
18702 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
18703 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
18704 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
18705 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
18706 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
18707 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
18708 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
18709 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
18710 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
18711 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
18714 ## ----------------------------------------- ##
18715 ## Report this to wx-dev@lists.wxwindows.org ##
18716 ## ----------------------------------------- ##
18719 sed "s/^/$as_me: WARNING: /" >&2
18722 echo "$as_me:$LINENO: checking for $ac_header" >&5
18723 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
18724 if eval "test \"\${$as_ac_Header+set}\" = set"; then
18725 echo $ECHO_N "(cached) $ECHO_C" >&6
18727 eval "$as_ac_Header=\$ac_header_preproc"
18729 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
18730 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
18733 if test `eval echo '${'$as_ac_Header'}'` = yes; then
18734 cat >>confdefs.h
<<_ACEOF
18735 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
18743 if test "$ac_cv_header_iostream" = "yes" ; then
18746 cat >>confdefs.h
<<\_ACEOF
18747 #define wxUSE_IOSTREAMH 1
18753 ac_cpp
='$CPP $CPPFLAGS'
18754 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18755 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18756 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
18762 echo "$as_me:$LINENO: checking if C++ compiler supports bool" >&5
18763 echo $ECHO_N "checking if C++ compiler supports bool... $ECHO_C" >&6
18764 if test "${wx_cv_cpp_bool+set}" = set; then
18765 echo $ECHO_N "(cached) $ECHO_C" >&6
18771 ac_cpp
='$CXXCPP $CPPFLAGS'
18772 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18773 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18774 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
18777 cat >conftest.
$ac_ext <<_ACEOF
18780 cat confdefs.h
>>conftest.
$ac_ext
18781 cat >>conftest.
$ac_ext <<_ACEOF
18782 /* end confdefs.h. */
18797 rm -f conftest.
$ac_objext
18798 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18799 (eval $ac_compile) 2>conftest.er1
18801 grep -v '^ *+' conftest.er1
>conftest.err
18803 cat conftest.err
>&5
18804 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18805 (exit $ac_status); } &&
18806 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
18807 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18808 (eval $ac_try) 2>&5
18810 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18811 (exit $ac_status); }; } &&
18812 { ac_try
='test -s conftest.$ac_objext'
18813 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18814 (eval $ac_try) 2>&5
18816 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18817 (exit $ac_status); }; }; then
18822 echo "$as_me: failed program was:" >&5
18823 sed 's/^/| /' conftest.
$ac_ext >&5
18830 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18833 ac_cpp
='$CPP $CPPFLAGS'
18834 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18835 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18836 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
18840 echo "$as_me:$LINENO: result: $wx_cv_cpp_bool" >&5
18841 echo "${ECHO_T}$wx_cv_cpp_bool" >&6
18843 if test "$wx_cv_cpp_bool" = "yes"; then
18844 cat >>confdefs.h
<<\_ACEOF
18845 #define HAVE_BOOL 1
18852 echo "$as_me:$LINENO: checking if C++ compiler supports the explicit keyword" >&5
18853 echo $ECHO_N "checking if C++ compiler supports the explicit keyword... $ECHO_C" >&6
18854 if test "${wx_cv_explicit+set}" = set; then
18855 echo $ECHO_N "(cached) $ECHO_C" >&6
18861 ac_cpp
='$CXXCPP $CPPFLAGS'
18862 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18863 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18864 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
18867 cat >conftest.
$ac_ext <<_ACEOF
18870 cat confdefs.h
>>conftest.
$ac_ext
18871 cat >>conftest.
$ac_ext <<_ACEOF
18872 /* end confdefs.h. */
18874 class Foo { public: explicit Foo(int) {} };
18886 rm -f conftest.
$ac_objext
18887 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18888 (eval $ac_compile) 2>conftest.er1
18890 grep -v '^ *+' conftest.er1
>conftest.err
18892 cat conftest.err
>&5
18893 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18894 (exit $ac_status); } &&
18895 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
18896 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18897 (eval $ac_try) 2>&5
18899 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18900 (exit $ac_status); }; } &&
18901 { ac_try
='test -s conftest.$ac_objext'
18902 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18903 (eval $ac_try) 2>&5
18905 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18906 (exit $ac_status); }; }; then
18908 cat >conftest.
$ac_ext <<_ACEOF
18911 cat confdefs.h
>>conftest.
$ac_ext
18912 cat >>conftest.
$ac_ext <<_ACEOF
18913 /* end confdefs.h. */
18915 class Foo { public: explicit Foo(int) {} };
18916 static void TakeFoo(const Foo& foo) { }
18929 rm -f conftest.
$ac_objext
18930 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18931 (eval $ac_compile) 2>conftest.er1
18933 grep -v '^ *+' conftest.er1
>conftest.err
18935 cat conftest.err
>&5
18936 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18937 (exit $ac_status); } &&
18938 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
18939 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18940 (eval $ac_try) 2>&5
18942 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18943 (exit $ac_status); }; } &&
18944 { ac_try
='test -s conftest.$ac_objext'
18945 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18946 (eval $ac_try) 2>&5
18948 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18949 (exit $ac_status); }; }; then
18952 echo "$as_me: failed program was:" >&5
18953 sed 's/^/| /' conftest.
$ac_ext >&5
18958 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18961 echo "$as_me: failed program was:" >&5
18962 sed 's/^/| /' conftest.
$ac_ext >&5
18967 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18970 ac_cpp
='$CPP $CPPFLAGS'
18971 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18972 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18973 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
18977 echo "$as_me:$LINENO: result: $wx_cv_explicit" >&5
18978 echo "${ECHO_T}$wx_cv_explicit" >&6
18980 if test "$wx_cv_explicit" = "yes"; then
18981 cat >>confdefs.h
<<\_ACEOF
18982 #define HAVE_EXPLICIT 1
18988 echo "$as_me:$LINENO: checking whether the compiler supports const_cast<>" >&5
18989 echo $ECHO_N "checking whether the compiler supports const_cast<>... $ECHO_C" >&6
18990 if test "${ac_cv_cxx_const_cast+set}" = set; then
18991 echo $ECHO_N "(cached) $ECHO_C" >&6
18996 ac_cpp
='$CXXCPP $CPPFLAGS'
18997 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18998 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18999 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
19001 cat >conftest.
$ac_ext <<_ACEOF
19004 cat confdefs.h
>>conftest.
$ac_ext
19005 cat >>conftest.
$ac_ext <<_ACEOF
19006 /* end confdefs.h. */
19011 int x = 0;const int& y = x;int& z = const_cast<int&>(y);return z;
19016 rm -f conftest.
$ac_objext
19017 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19018 (eval $ac_compile) 2>conftest.er1
19020 grep -v '^ *+' conftest.er1
>conftest.err
19022 cat conftest.err
>&5
19023 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19024 (exit $ac_status); } &&
19025 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
19026 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19027 (eval $ac_try) 2>&5
19029 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19030 (exit $ac_status); }; } &&
19031 { ac_try
='test -s conftest.$ac_objext'
19032 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19033 (eval $ac_try) 2>&5
19035 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19036 (exit $ac_status); }; }; then
19037 ac_cv_cxx_const_cast
=yes
19039 echo "$as_me: failed program was:" >&5
19040 sed 's/^/| /' conftest.
$ac_ext >&5
19042 ac_cv_cxx_const_cast
=no
19044 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19046 ac_cpp
='$CPP $CPPFLAGS'
19047 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19048 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19049 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
19053 echo "$as_me:$LINENO: result: $ac_cv_cxx_const_cast" >&5
19054 echo "${ECHO_T}$ac_cv_cxx_const_cast" >&6
19055 if test "$ac_cv_cxx_const_cast" = yes; then
19057 cat >>confdefs.h
<<\_ACEOF
19058 #define HAVE_CONST_CAST
19063 echo "$as_me:$LINENO: checking whether the compiler supports static_cast<>" >&5
19064 echo $ECHO_N "checking whether the compiler supports static_cast<>... $ECHO_C" >&6
19065 if test "${ac_cv_cxx_static_cast+set}" = set; then
19066 echo $ECHO_N "(cached) $ECHO_C" >&6
19071 ac_cpp
='$CXXCPP $CPPFLAGS'
19072 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19073 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19074 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
19076 cat >conftest.
$ac_ext <<_ACEOF
19079 cat confdefs.h
>>conftest.
$ac_ext
19080 cat >>conftest.
$ac_ext <<_ACEOF
19081 /* end confdefs.h. */
19082 #include <typeinfo>
19083 class Base { public : Base () {} virtual void f () = 0; };
19084 class Derived : public Base { public : Derived () {} virtual void f () {} };
19085 int g (Derived&) { return 0; }
19090 Derived d; Base& b = d; Derived& s = static_cast<Derived&> (b); return g (s);
19095 rm -f conftest.
$ac_objext
19096 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19097 (eval $ac_compile) 2>conftest.er1
19099 grep -v '^ *+' conftest.er1
>conftest.err
19101 cat conftest.err
>&5
19102 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19103 (exit $ac_status); } &&
19104 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
19105 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19106 (eval $ac_try) 2>&5
19108 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19109 (exit $ac_status); }; } &&
19110 { ac_try
='test -s conftest.$ac_objext'
19111 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19112 (eval $ac_try) 2>&5
19114 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19115 (exit $ac_status); }; }; then
19116 ac_cv_cxx_static_cast
=yes
19118 echo "$as_me: failed program was:" >&5
19119 sed 's/^/| /' conftest.
$ac_ext >&5
19121 ac_cv_cxx_static_cast
=no
19123 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19125 ac_cpp
='$CPP $CPPFLAGS'
19126 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19127 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19128 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
19132 echo "$as_me:$LINENO: result: $ac_cv_cxx_static_cast" >&5
19133 echo "${ECHO_T}$ac_cv_cxx_static_cast" >&6
19134 if test "$ac_cv_cxx_static_cast" = yes; then
19136 cat >>confdefs.h
<<\_ACEOF
19137 #define HAVE_STATIC_CAST
19143 if test "$wxUSE_STL" = "yes"; then
19145 ac_cpp
='$CXXCPP $CPPFLAGS'
19146 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19147 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19148 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
19151 echo "$as_me:$LINENO: checking for basic STL functionality" >&5
19152 echo $ECHO_N "checking for basic STL functionality... $ECHO_C" >&6
19153 cat >conftest.
$ac_ext <<_ACEOF
19156 cat confdefs.h
>>conftest.
$ac_ext
19157 cat >>conftest.
$ac_ext <<_ACEOF
19158 /* end confdefs.h. */
19160 #include <functional>
19161 #include <algorithm>
19167 std::vector<int> moo;
19168 std::list<int> foo;
19169 std::vector<int>::iterator it =
19170 std::find_if(moo.begin(), moo.end(),
19171 std::bind2nd(std::less<int>(), 3));
19176 rm -f conftest.
$ac_objext
19177 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19178 (eval $ac_compile) 2>conftest.er1
19180 grep -v '^ *+' conftest.er1
>conftest.err
19182 cat conftest.err
>&5
19183 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19184 (exit $ac_status); } &&
19185 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
19186 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19187 (eval $ac_try) 2>&5
19189 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19190 (exit $ac_status); }; } &&
19191 { ac_try
='test -s conftest.$ac_objext'
19192 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19193 (eval $ac_try) 2>&5
19195 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19196 (exit $ac_status); }; }; then
19197 echo "$as_me:$LINENO: result: yes" >&5
19198 echo "${ECHO_T}yes" >&6
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
19205 { { echo "$as_me:$LINENO: error: Basic STL functionality missing" >&5
19206 echo "$as_me: error: Basic STL functionality missing" >&2;}
19207 { (exit 1); exit 1; }; }
19209 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19211 echo "$as_me:$LINENO: checking for std::wstring in <string>" >&5
19212 echo $ECHO_N "checking for std::wstring in <string>... $ECHO_C" >&6
19213 cat >conftest.
$ac_ext <<_ACEOF
19216 cat confdefs.h
>>conftest.
$ac_ext
19217 cat >>conftest.
$ac_ext <<_ACEOF
19218 /* end confdefs.h. */
19228 rm -f conftest.
$ac_objext
19229 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19230 (eval $ac_compile) 2>conftest.er1
19232 grep -v '^ *+' conftest.er1
>conftest.err
19234 cat conftest.err
>&5
19235 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19236 (exit $ac_status); } &&
19237 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
19238 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19239 (eval $ac_try) 2>&5
19241 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19242 (exit $ac_status); }; } &&
19243 { ac_try
='test -s conftest.$ac_objext'
19244 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19245 (eval $ac_try) 2>&5
19247 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19248 (exit $ac_status); }; }; then
19249 echo "$as_me:$LINENO: result: yes" >&5
19250 echo "${ECHO_T}yes" >&6
19251 cat >>confdefs.h
<<\_ACEOF
19252 #define HAVE_STD_WSTRING 1
19256 echo "$as_me: failed program was:" >&5
19257 sed 's/^/| /' conftest.
$ac_ext >&5
19259 echo "$as_me:$LINENO: result: no" >&5
19260 echo "${ECHO_T}no" >&6
19262 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19264 echo "$as_me:$LINENO: checking for compliant std::string::compare" >&5
19265 echo $ECHO_N "checking for compliant std::string::compare... $ECHO_C" >&6
19266 cat >conftest.
$ac_ext <<_ACEOF
19269 cat confdefs.h
>>conftest.
$ac_ext
19270 cat >>conftest.
$ac_ext <<_ACEOF
19271 /* end confdefs.h. */
19276 std::string foo, bar;
19278 foo.compare(1, 1, bar);
19279 foo.compare(1, 1, bar, 1, 1);
19281 foo.compare(1, 1, "");
19282 foo.compare(1, 1, "", 2);
19287 rm -f conftest.
$ac_objext
19288 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19289 (eval $ac_compile) 2>conftest.er1
19291 grep -v '^ *+' conftest.er1
>conftest.err
19293 cat conftest.err
>&5
19294 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19295 (exit $ac_status); } &&
19296 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
19297 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19298 (eval $ac_try) 2>&5
19300 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19301 (exit $ac_status); }; } &&
19302 { ac_try
='test -s conftest.$ac_objext'
19303 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19304 (eval $ac_try) 2>&5
19306 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19307 (exit $ac_status); }; }; then
19308 echo "$as_me:$LINENO: result: yes" >&5
19309 echo "${ECHO_T}yes" >&6
19310 cat >>confdefs.h
<<\_ACEOF
19311 #define HAVE_STD_STRING_COMPARE 1
19315 echo "$as_me: failed program was:" >&5
19316 sed 's/^/| /' conftest.
$ac_ext >&5
19318 echo "$as_me:$LINENO: result: no" >&5
19319 echo "${ECHO_T}no" >&6
19321 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19324 ac_cpp
='$CPP $CPPFLAGS'
19325 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19326 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19327 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
19333 /usr/local/include \
19335 /usr/Motif-2.1/include \
19336 /usr/Motif-1.2/include \
19337 /usr/include/Motif1.2 \
19338 /opt/xpm/include/X11 \
19339 /opt/GBxpm/include/ \
19340 /opt/GBxpm/X11/include/ \
19343 /usr/openwin/include \
19347 /usr/X11R6/include \
19348 /usr/X11R6.4/include \
19349 /usr/X11R5/include \
19350 /usr/X11R4/include \
19352 /usr/include/X11R6 \
19353 /usr/include/X11R5 \
19354 /usr/include/X11R4 \
19356 /usr/local/X11R6/include \
19357 /usr/local/X11R5/include \
19358 /usr/local/X11R4/include \
19360 /usr/local/include/X11R6 \
19361 /usr/local/include/X11R5 \
19362 /usr/local/include/X11R4 \
19366 /usr/local/X11/include \
19367 /usr/local/include/X11 \
19369 /usr/X386/include \
19370 /usr/x386/include \
19371 /usr/XFree86/include/X11 \
19373 X:/XFree86/include \
19374 X:/XFree86/include/X11 \
19377 /usr/local/include/gtk \
19378 /usr/include/glib \
19379 /usr/local/include/glib \
19382 /usr/local/include/qt \
19384 /usr/local/arm/3.3.2/include \
19386 /usr/include/windows \
19387 /usr/include/wine \
19388 /usr/local/include/wine \
19390 /usr/unsupported/include \
19391 /usr/athena/include \
19392 /usr/local/x11r5/include \
19393 /usr/lpp/Xamples/include \
19395 /usr/openwin/share/include"
19397 SEARCH_LIB
="/usr/lib /usr/lib32 `echo "$SEARCH_INCLUDE" | sed s/include/lib/g` /usr/lib64 /usr/X11R6/lib64"
19400 cat >confcache
<<\_ACEOF
19401 # This file is a shell script that caches the results of configure
19402 # tests run on this system so they can be shared between configure
19403 # scripts and configure runs, see configure's option --config-cache.
19404 # It is not useful on other systems. If it contains results you don't
19405 # want to keep, you may remove or edit it.
19407 # config.status only pays attention to the cache file if you give it
19408 # the --recheck option to rerun configure.
19410 # `ac_cv_env_foo' variables (set or unset) will be overridden when
19411 # loading this file, other *unset* `ac_cv_foo' will be assigned the
19412 # following values.
19416 # The following way of writing the cache mishandles newlines in values,
19417 # but we know of no workaround that is simple, portable, and efficient.
19418 # So, don't put newlines in cache variables' values.
19419 # Ultrix sh set writes to stderr and can't be redirected directly,
19420 # and sets the high bit in the cache file unless we assign to the vars.
19423 case `(ac_space=' '; set | grep ac_space) 2>&1` in
19425 # `set' does not quote correctly, so add quotes (double-quote
19426 # substitution turns \\\\ into \\, and sed turns \\ into \).
19429 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
19432 # `set' quotes correctly as required by POSIX, so do not add quotes.
19434 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
19441 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
19443 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
19445 if diff $cache_file confcache
>/dev
/null
2>&1; then :; else
19446 if test -w $cache_file; then
19447 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
19448 cat confcache
>$cache_file
19450 echo "not updating unwritable cache $cache_file"
19455 if test "$USE_LINUX" = 1 -o "$USE_GNU" = 1; then
19456 echo "$as_me:$LINENO: checking for glibc 2.1 or later" >&5
19457 echo $ECHO_N "checking for glibc 2.1 or later... $ECHO_C" >&6
19458 if test "${wx_cv_lib_glibc21+set}" = set; then
19459 echo $ECHO_N "(cached) $ECHO_C" >&6
19462 cat >conftest.
$ac_ext <<_ACEOF
19465 cat confdefs.h
>>conftest.
$ac_ext
19466 cat >>conftest.
$ac_ext <<_ACEOF
19467 /* end confdefs.h. */
19468 #include <features.h>
19473 #if (__GLIBC__ < 2) || (__GLIBC_MINOR__ < 1)
19474 #error not glibc2.1
19481 rm -f conftest.
$ac_objext
19482 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19483 (eval $ac_compile) 2>conftest.er1
19485 grep -v '^ *+' conftest.er1
>conftest.err
19487 cat conftest.err
>&5
19488 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19489 (exit $ac_status); } &&
19490 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19491 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19492 (eval $ac_try) 2>&5
19494 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19495 (exit $ac_status); }; } &&
19496 { ac_try
='test -s conftest.$ac_objext'
19497 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19498 (eval $ac_try) 2>&5
19500 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19501 (exit $ac_status); }; }; then
19503 wx_cv_lib_glibc21
=yes
19506 echo "$as_me: failed program was:" >&5
19507 sed 's/^/| /' conftest.
$ac_ext >&5
19510 wx_cv_lib_glibc21
=no
19514 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19517 echo "$as_me:$LINENO: result: $wx_cv_lib_glibc21" >&5
19518 echo "${ECHO_T}$wx_cv_lib_glibc21" >&6
19519 if test "$wx_cv_lib_glibc21" = "yes"; then
19520 cat >>confdefs.h
<<\_ACEOF
19521 #define wxHAVE_GLIBC2 1
19527 if test "x$wx_cv_lib_glibc21" = "xyes"; then
19528 if test "$wxUSE_UNICODE" = "yes" -o "$wxUSE_THREADS" = "yes"; then
19529 cat >>confdefs.h
<<\_ACEOF
19530 #define _GNU_SOURCE 1
19538 if test "$wxUSE_REGEX" != "no"; then
19539 cat >>confdefs.h
<<\_ACEOF
19540 #define wxUSE_REGEX 1
19544 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_REGEX" = "yes"; then
19545 { echo "$as_me:$LINENO: WARNING: Defaulting to the the builtin regex library for Unicode build." >&5
19546 echo "$as_me: WARNING: Defaulting to the the builtin regex library for Unicode build." >&2;}
19547 wxUSE_REGEX
=builtin
19550 if test "$wxUSE_REGEX" = "sys" -o "$wxUSE_REGEX" = "yes" ; then
19551 if test "${ac_cv_header_regex_h+set}" = set; then
19552 echo "$as_me:$LINENO: checking for regex.h" >&5
19553 echo $ECHO_N "checking for regex.h... $ECHO_C" >&6
19554 if test "${ac_cv_header_regex_h+set}" = set; then
19555 echo $ECHO_N "(cached) $ECHO_C" >&6
19557 echo "$as_me:$LINENO: result: $ac_cv_header_regex_h" >&5
19558 echo "${ECHO_T}$ac_cv_header_regex_h" >&6
19560 # Is the header compilable?
19561 echo "$as_me:$LINENO: checking regex.h usability" >&5
19562 echo $ECHO_N "checking regex.h usability... $ECHO_C" >&6
19563 cat >conftest.
$ac_ext <<_ACEOF
19566 cat confdefs.h
>>conftest.
$ac_ext
19567 cat >>conftest.
$ac_ext <<_ACEOF
19568 /* end confdefs.h. */
19569 $ac_includes_default
19572 rm -f conftest.
$ac_objext
19573 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19574 (eval $ac_compile) 2>conftest.er1
19576 grep -v '^ *+' conftest.er1
>conftest.err
19578 cat conftest.err
>&5
19579 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19580 (exit $ac_status); } &&
19581 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19582 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19583 (eval $ac_try) 2>&5
19585 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19586 (exit $ac_status); }; } &&
19587 { ac_try
='test -s conftest.$ac_objext'
19588 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19589 (eval $ac_try) 2>&5
19591 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19592 (exit $ac_status); }; }; then
19593 ac_header_compiler
=yes
19595 echo "$as_me: failed program was:" >&5
19596 sed 's/^/| /' conftest.
$ac_ext >&5
19598 ac_header_compiler
=no
19600 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19601 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
19602 echo "${ECHO_T}$ac_header_compiler" >&6
19604 # Is the header present?
19605 echo "$as_me:$LINENO: checking regex.h presence" >&5
19606 echo $ECHO_N "checking regex.h presence... $ECHO_C" >&6
19607 cat >conftest.
$ac_ext <<_ACEOF
19610 cat confdefs.h
>>conftest.
$ac_ext
19611 cat >>conftest.
$ac_ext <<_ACEOF
19612 /* end confdefs.h. */
19615 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
19616 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
19618 grep -v '^ *+' conftest.er1
>conftest.err
19620 cat conftest.err
>&5
19621 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19622 (exit $ac_status); } >/dev
/null
; then
19623 if test -s conftest.err
; then
19624 ac_cpp_err
=$ac_c_preproc_warn_flag
19625 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
19632 if test -z "$ac_cpp_err"; then
19633 ac_header_preproc
=yes
19635 echo "$as_me: failed program was:" >&5
19636 sed 's/^/| /' conftest.
$ac_ext >&5
19638 ac_header_preproc
=no
19640 rm -f conftest.err conftest.
$ac_ext
19641 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
19642 echo "${ECHO_T}$ac_header_preproc" >&6
19644 # So? What about this header?
19645 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
19647 { echo "$as_me:$LINENO: WARNING: regex.h: accepted by the compiler, rejected by the preprocessor!" >&5
19648 echo "$as_me: WARNING: regex.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
19649 { echo "$as_me:$LINENO: WARNING: regex.h: proceeding with the compiler's result" >&5
19650 echo "$as_me: WARNING: regex.h: proceeding with the compiler's result" >&2;}
19651 ac_header_preproc
=yes
19654 { echo "$as_me:$LINENO: WARNING: regex.h: present but cannot be compiled" >&5
19655 echo "$as_me: WARNING: regex.h: present but cannot be compiled" >&2;}
19656 { echo "$as_me:$LINENO: WARNING: regex.h: check for missing prerequisite headers?" >&5
19657 echo "$as_me: WARNING: regex.h: check for missing prerequisite headers?" >&2;}
19658 { echo "$as_me:$LINENO: WARNING: regex.h: see the Autoconf documentation" >&5
19659 echo "$as_me: WARNING: regex.h: see the Autoconf documentation" >&2;}
19660 { echo "$as_me:$LINENO: WARNING: regex.h: section \"Present But Cannot Be Compiled\"" >&5
19661 echo "$as_me: WARNING: regex.h: section \"Present But Cannot Be Compiled\"" >&2;}
19662 { echo "$as_me:$LINENO: WARNING: regex.h: proceeding with the preprocessor's result" >&5
19663 echo "$as_me: WARNING: regex.h: proceeding with the preprocessor's result" >&2;}
19664 { echo "$as_me:$LINENO: WARNING: regex.h: in the future, the compiler will take precedence" >&5
19665 echo "$as_me: WARNING: regex.h: in the future, the compiler will take precedence" >&2;}
19668 ## ----------------------------------------- ##
19669 ## Report this to wx-dev@lists.wxwindows.org ##
19670 ## ----------------------------------------- ##
19673 sed "s/^/$as_me: WARNING: /" >&2
19676 echo "$as_me:$LINENO: checking for regex.h" >&5
19677 echo $ECHO_N "checking for regex.h... $ECHO_C" >&6
19678 if test "${ac_cv_header_regex_h+set}" = set; then
19679 echo $ECHO_N "(cached) $ECHO_C" >&6
19681 ac_cv_header_regex_h
=$ac_header_preproc
19683 echo "$as_me:$LINENO: result: $ac_cv_header_regex_h" >&5
19684 echo "${ECHO_T}$ac_cv_header_regex_h" >&6
19687 if test $ac_cv_header_regex_h = yes; then
19689 for ac_func
in regcomp
19691 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
19692 echo "$as_me:$LINENO: checking for $ac_func" >&5
19693 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
19694 if eval "test \"\${$as_ac_var+set}\" = set"; then
19695 echo $ECHO_N "(cached) $ECHO_C" >&6
19697 cat >conftest.
$ac_ext <<_ACEOF
19700 cat confdefs.h
>>conftest.
$ac_ext
19701 cat >>conftest.
$ac_ext <<_ACEOF
19702 /* end confdefs.h. */
19703 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
19704 For example, HP-UX 11i <limits.h> declares gettimeofday. */
19705 #define $ac_func innocuous_$ac_func
19707 /* System header to define __stub macros and hopefully few prototypes,
19708 which can conflict with char $ac_func (); below.
19709 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
19710 <limits.h> exists even on freestanding compilers. */
19713 # include <limits.h>
19715 # include <assert.h>
19720 /* Override any gcc2 internal prototype to avoid an error. */
19725 /* We use char because int might match the return type of a gcc2
19726 builtin and then its argument prototype would still apply. */
19728 /* The GNU C library defines this for functions which it implements
19729 to always fail with ENOSYS. Some functions are actually named
19730 something starting with __ and the normal name is an alias. */
19731 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19734 char (*f) () = $ac_func;
19743 return f != $ac_func;
19748 rm -f conftest.
$ac_objext conftest
$ac_exeext
19749 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19750 (eval $ac_link) 2>conftest.er1
19752 grep -v '^ *+' conftest.er1
>conftest.err
19754 cat conftest.err
>&5
19755 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19756 (exit $ac_status); } &&
19757 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19758 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19759 (eval $ac_try) 2>&5
19761 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19762 (exit $ac_status); }; } &&
19763 { ac_try
='test -s conftest$ac_exeext'
19764 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19765 (eval $ac_try) 2>&5
19767 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19768 (exit $ac_status); }; }; then
19769 eval "$as_ac_var=yes"
19771 echo "$as_me: failed program was:" >&5
19772 sed 's/^/| /' conftest.
$ac_ext >&5
19774 eval "$as_ac_var=no"
19776 rm -f conftest.err conftest.
$ac_objext \
19777 conftest
$ac_exeext conftest.
$ac_ext
19779 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
19780 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
19781 if test `eval echo '${'$as_ac_var'}'` = yes; then
19782 cat >>confdefs.h
<<_ACEOF
19783 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
19793 if test "x$ac_cv_func_regcomp" != "xyes"; then
19794 if test "$wxUSE_REGEX" = "sys" ; then
19795 { { echo "$as_me:$LINENO: error: system regex library not found! Use --with-regex to use built-in version" >&5
19796 echo "$as_me: error: system regex library not found! Use --with-regex to use built-in version" >&2;}
19797 { (exit 1); exit 1; }; }
19799 { echo "$as_me:$LINENO: WARNING: system regex library not found, will use built-in instead" >&5
19800 echo "$as_me: WARNING: system regex library not found, will use built-in instead" >&2;}
19801 wxUSE_REGEX
=builtin
19805 cat >>confdefs.h
<<\_ACEOF
19806 #define WX_NO_REGEX_ADVANCED 1
19815 if test "$wxUSE_ZLIB" != "no" ; then
19816 cat >>confdefs.h
<<\_ACEOF
19817 #define wxUSE_ZLIB 1
19821 if test "$wxUSE_ZLIB" = "sys" -o "$wxUSE_ZLIB" = "yes" ; then
19822 if test "$USE_DARWIN" = 1; then
19823 system_zlib_h_ok
="yes"
19825 echo "$as_me:$LINENO: checking for zlib.h >= 1.1.4" >&5
19826 echo $ECHO_N "checking for zlib.h >= 1.1.4... $ECHO_C" >&6
19827 if test "${ac_cv_header_zlib_h+set}" = set; then
19828 echo $ECHO_N "(cached) $ECHO_C" >&6
19830 if test "$cross_compiling" = yes; then
19831 unset ac_cv_header_zlib_h
19834 cat >conftest.
$ac_ext <<_ACEOF
19837 cat confdefs.h
>>conftest.
$ac_ext
19838 cat >>conftest.
$ac_ext <<_ACEOF
19839 /* end confdefs.h. */
19846 FILE *f=fopen("conftestval", "w");
19849 ZLIB_VERSION[0] == '1' &&
19850 (ZLIB_VERSION[2] > '1' ||
19851 (ZLIB_VERSION[2] == '1' &&
19852 ZLIB_VERSION[4] >= '4')) ? "yes" : "no");
19857 rm -f conftest
$ac_exeext
19858 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19859 (eval $ac_link) 2>&5
19861 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19862 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
19863 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19864 (eval $ac_try) 2>&5
19866 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19867 (exit $ac_status); }; }; then
19868 ac_cv_header_zlib_h
=`cat conftestval`
19870 echo "$as_me: program exited with status $ac_status" >&5
19871 echo "$as_me: failed program was:" >&5
19872 sed 's/^/| /' conftest.
$ac_ext >&5
19874 ( exit $ac_status )
19875 ac_cv_header_zlib_h
=no
19877 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
19881 echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
19882 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6
19883 if test "${ac_cv_header_zlib_h+set}" = set; then
19884 echo "$as_me:$LINENO: checking for zlib.h" >&5
19885 echo $ECHO_N "checking for zlib.h... $ECHO_C" >&6
19886 if test "${ac_cv_header_zlib_h+set}" = set; then
19887 echo $ECHO_N "(cached) $ECHO_C" >&6
19889 echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
19890 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6
19892 # Is the header compilable?
19893 echo "$as_me:$LINENO: checking zlib.h usability" >&5
19894 echo $ECHO_N "checking zlib.h usability... $ECHO_C" >&6
19895 cat >conftest.
$ac_ext <<_ACEOF
19898 cat confdefs.h
>>conftest.
$ac_ext
19899 cat >>conftest.
$ac_ext <<_ACEOF
19900 /* end confdefs.h. */
19901 $ac_includes_default
19904 rm -f conftest.
$ac_objext
19905 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19906 (eval $ac_compile) 2>conftest.er1
19908 grep -v '^ *+' conftest.er1
>conftest.err
19910 cat conftest.err
>&5
19911 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19912 (exit $ac_status); } &&
19913 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19914 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19915 (eval $ac_try) 2>&5
19917 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19918 (exit $ac_status); }; } &&
19919 { ac_try
='test -s conftest.$ac_objext'
19920 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19921 (eval $ac_try) 2>&5
19923 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19924 (exit $ac_status); }; }; then
19925 ac_header_compiler
=yes
19927 echo "$as_me: failed program was:" >&5
19928 sed 's/^/| /' conftest.
$ac_ext >&5
19930 ac_header_compiler
=no
19932 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19933 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
19934 echo "${ECHO_T}$ac_header_compiler" >&6
19936 # Is the header present?
19937 echo "$as_me:$LINENO: checking zlib.h presence" >&5
19938 echo $ECHO_N "checking zlib.h presence... $ECHO_C" >&6
19939 cat >conftest.
$ac_ext <<_ACEOF
19942 cat confdefs.h
>>conftest.
$ac_ext
19943 cat >>conftest.
$ac_ext <<_ACEOF
19944 /* end confdefs.h. */
19947 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
19948 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
19950 grep -v '^ *+' conftest.er1
>conftest.err
19952 cat conftest.err
>&5
19953 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19954 (exit $ac_status); } >/dev
/null
; then
19955 if test -s conftest.err
; then
19956 ac_cpp_err
=$ac_c_preproc_warn_flag
19957 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
19964 if test -z "$ac_cpp_err"; then
19965 ac_header_preproc
=yes
19967 echo "$as_me: failed program was:" >&5
19968 sed 's/^/| /' conftest.
$ac_ext >&5
19970 ac_header_preproc
=no
19972 rm -f conftest.err conftest.
$ac_ext
19973 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
19974 echo "${ECHO_T}$ac_header_preproc" >&6
19976 # So? What about this header?
19977 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
19979 { echo "$as_me:$LINENO: WARNING: zlib.h: accepted by the compiler, rejected by the preprocessor!" >&5
19980 echo "$as_me: WARNING: zlib.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
19981 { echo "$as_me:$LINENO: WARNING: zlib.h: proceeding with the compiler's result" >&5
19982 echo "$as_me: WARNING: zlib.h: proceeding with the compiler's result" >&2;}
19983 ac_header_preproc
=yes
19986 { echo "$as_me:$LINENO: WARNING: zlib.h: present but cannot be compiled" >&5
19987 echo "$as_me: WARNING: zlib.h: present but cannot be compiled" >&2;}
19988 { echo "$as_me:$LINENO: WARNING: zlib.h: check for missing prerequisite headers?" >&5
19989 echo "$as_me: WARNING: zlib.h: check for missing prerequisite headers?" >&2;}
19990 { echo "$as_me:$LINENO: WARNING: zlib.h: see the Autoconf documentation" >&5
19991 echo "$as_me: WARNING: zlib.h: see the Autoconf documentation" >&2;}
19992 { echo "$as_me:$LINENO: WARNING: zlib.h: section \"Present But Cannot Be Compiled\"" >&5
19993 echo "$as_me: WARNING: zlib.h: section \"Present But Cannot Be Compiled\"" >&2;}
19994 { echo "$as_me:$LINENO: WARNING: zlib.h: proceeding with the preprocessor's result" >&5
19995 echo "$as_me: WARNING: zlib.h: proceeding with the preprocessor's result" >&2;}
19996 { echo "$as_me:$LINENO: WARNING: zlib.h: in the future, the compiler will take precedence" >&5
19997 echo "$as_me: WARNING: zlib.h: in the future, the compiler will take precedence" >&2;}
20000 ## ----------------------------------------- ##
20001 ## Report this to wx-dev@lists.wxwindows.org ##
20002 ## ----------------------------------------- ##
20005 sed "s/^/$as_me: WARNING: /" >&2
20008 echo "$as_me:$LINENO: checking for zlib.h" >&5
20009 echo $ECHO_N "checking for zlib.h... $ECHO_C" >&6
20010 if test "${ac_cv_header_zlib_h+set}" = set; then
20011 echo $ECHO_N "(cached) $ECHO_C" >&6
20013 ac_cv_header_zlib_h
=$ac_header_preproc
20015 echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
20016 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6
20022 system_zlib_h_ok
=$ac_cv_header_zlib_h
20025 if test "$system_zlib_h_ok" = "yes"; then
20026 echo "$as_me:$LINENO: checking for deflate in -lz" >&5
20027 echo $ECHO_N "checking for deflate in -lz... $ECHO_C" >&6
20028 if test "${ac_cv_lib_z_deflate+set}" = set; then
20029 echo $ECHO_N "(cached) $ECHO_C" >&6
20031 ac_check_lib_save_LIBS
=$LIBS
20033 cat >conftest.
$ac_ext <<_ACEOF
20036 cat confdefs.h
>>conftest.
$ac_ext
20037 cat >>conftest.
$ac_ext <<_ACEOF
20038 /* end confdefs.h. */
20040 /* Override any gcc2 internal prototype to avoid an error. */
20044 /* We use char because int might match the return type of a gcc2
20045 builtin and then its argument prototype would still apply. */
20055 rm -f conftest.
$ac_objext conftest
$ac_exeext
20056 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20057 (eval $ac_link) 2>conftest.er1
20059 grep -v '^ *+' conftest.er1
>conftest.err
20061 cat conftest.err
>&5
20062 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20063 (exit $ac_status); } &&
20064 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20065 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20066 (eval $ac_try) 2>&5
20068 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20069 (exit $ac_status); }; } &&
20070 { ac_try
='test -s conftest$ac_exeext'
20071 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20072 (eval $ac_try) 2>&5
20074 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20075 (exit $ac_status); }; }; then
20076 ac_cv_lib_z_deflate
=yes
20078 echo "$as_me: failed program was:" >&5
20079 sed 's/^/| /' conftest.
$ac_ext >&5
20081 ac_cv_lib_z_deflate
=no
20083 rm -f conftest.err conftest.
$ac_objext \
20084 conftest
$ac_exeext conftest.
$ac_ext
20085 LIBS
=$ac_check_lib_save_LIBS
20087 echo "$as_me:$LINENO: result: $ac_cv_lib_z_deflate" >&5
20088 echo "${ECHO_T}$ac_cv_lib_z_deflate" >&6
20089 if test $ac_cv_lib_z_deflate = yes; then
20095 if test "x$ZLIB_LINK" = "x" ; then
20096 if test "$wxUSE_ZLIB" = "sys" ; then
20097 { { echo "$as_me:$LINENO: error: zlib library not found or too old! Use --with-zlib=builtin to use built-in version" >&5
20098 echo "$as_me: error: zlib library not found or too old! Use --with-zlib=builtin to use built-in version" >&2;}
20099 { (exit 1); exit 1; }; }
20101 { echo "$as_me:$LINENO: WARNING: zlib library not found or too old, will use built-in instead" >&5
20102 echo "$as_me: WARNING: zlib library not found or too old, will use built-in instead" >&2;}
20113 if test "$wxUSE_LIBPNG" != "no" ; then
20114 cat >>confdefs.h
<<\_ACEOF
20115 #define wxUSE_LIBPNG 1
20119 if test "$wxUSE_MGL" = 1 -a "$wxUSE_LIBPNG" = "builtin" ; then
20120 { echo "$as_me:$LINENO: WARNING: wxMGL doesn't work with builtin png library, will use MGL one instead" >&5
20121 echo "$as_me: WARNING: wxMGL doesn't work with builtin png library, will use MGL one instead" >&2;}
20125 if test "$wxUSE_MGL" != 1 -a "$wxUSE_LIBPNG" = "sys" -a "$wxUSE_ZLIB" != "sys" ; then
20126 { echo "$as_me:$LINENO: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&5
20127 echo "$as_me: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&2;}
20128 wxUSE_LIBPNG
=builtin
20131 if test "$wxUSE_MGL" != 1 ; then
20132 if test "$wxUSE_LIBPNG" = "sys" -o "$wxUSE_LIBPNG" = "yes" ; then
20133 echo "$as_me:$LINENO: checking for png.h > 0.90" >&5
20134 echo $ECHO_N "checking for png.h > 0.90... $ECHO_C" >&6
20135 if test "${ac_cv_header_png_h+set}" = set; then
20136 echo $ECHO_N "(cached) $ECHO_C" >&6
20138 if test "$cross_compiling" = yes; then
20139 unset ac_cv_header_png_h
20142 cat >conftest.
$ac_ext <<_ACEOF
20145 cat confdefs.h
>>conftest.
$ac_ext
20146 cat >>conftest.
$ac_ext <<_ACEOF
20147 /* end confdefs.h. */
20154 FILE *f=fopen("conftestval", "w");
20157 PNG_LIBPNG_VER > 90 ? "yes" : "no");
20162 rm -f conftest
$ac_exeext
20163 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20164 (eval $ac_link) 2>&5
20166 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20167 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
20168 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20169 (eval $ac_try) 2>&5
20171 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20172 (exit $ac_status); }; }; then
20173 ac_cv_header_png_h
=`cat conftestval`
20175 echo "$as_me: program exited with status $ac_status" >&5
20176 echo "$as_me: failed program was:" >&5
20177 sed 's/^/| /' conftest.
$ac_ext >&5
20179 ( exit $ac_status )
20180 ac_cv_header_png_h
=no
20182 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
20186 echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
20187 echo "${ECHO_T}$ac_cv_header_png_h" >&6
20188 if test "${ac_cv_header_png_h+set}" = set; then
20189 echo "$as_me:$LINENO: checking for png.h" >&5
20190 echo $ECHO_N "checking for png.h... $ECHO_C" >&6
20191 if test "${ac_cv_header_png_h+set}" = set; then
20192 echo $ECHO_N "(cached) $ECHO_C" >&6
20194 echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
20195 echo "${ECHO_T}$ac_cv_header_png_h" >&6
20197 # Is the header compilable?
20198 echo "$as_me:$LINENO: checking png.h usability" >&5
20199 echo $ECHO_N "checking png.h usability... $ECHO_C" >&6
20200 cat >conftest.
$ac_ext <<_ACEOF
20203 cat confdefs.h
>>conftest.
$ac_ext
20204 cat >>conftest.
$ac_ext <<_ACEOF
20205 /* end confdefs.h. */
20206 $ac_includes_default
20209 rm -f conftest.
$ac_objext
20210 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20211 (eval $ac_compile) 2>conftest.er1
20213 grep -v '^ *+' conftest.er1
>conftest.err
20215 cat conftest.err
>&5
20216 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20217 (exit $ac_status); } &&
20218 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20219 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20220 (eval $ac_try) 2>&5
20222 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20223 (exit $ac_status); }; } &&
20224 { ac_try
='test -s conftest.$ac_objext'
20225 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20226 (eval $ac_try) 2>&5
20228 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20229 (exit $ac_status); }; }; then
20230 ac_header_compiler
=yes
20232 echo "$as_me: failed program was:" >&5
20233 sed 's/^/| /' conftest.
$ac_ext >&5
20235 ac_header_compiler
=no
20237 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20238 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
20239 echo "${ECHO_T}$ac_header_compiler" >&6
20241 # Is the header present?
20242 echo "$as_me:$LINENO: checking png.h presence" >&5
20243 echo $ECHO_N "checking png.h presence... $ECHO_C" >&6
20244 cat >conftest.
$ac_ext <<_ACEOF
20247 cat confdefs.h
>>conftest.
$ac_ext
20248 cat >>conftest.
$ac_ext <<_ACEOF
20249 /* end confdefs.h. */
20252 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
20253 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
20255 grep -v '^ *+' conftest.er1
>conftest.err
20257 cat conftest.err
>&5
20258 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20259 (exit $ac_status); } >/dev
/null
; then
20260 if test -s conftest.err
; then
20261 ac_cpp_err
=$ac_c_preproc_warn_flag
20262 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
20269 if test -z "$ac_cpp_err"; then
20270 ac_header_preproc
=yes
20272 echo "$as_me: failed program was:" >&5
20273 sed 's/^/| /' conftest.
$ac_ext >&5
20275 ac_header_preproc
=no
20277 rm -f conftest.err conftest.
$ac_ext
20278 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
20279 echo "${ECHO_T}$ac_header_preproc" >&6
20281 # So? What about this header?
20282 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
20284 { echo "$as_me:$LINENO: WARNING: png.h: accepted by the compiler, rejected by the preprocessor!" >&5
20285 echo "$as_me: WARNING: png.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
20286 { echo "$as_me:$LINENO: WARNING: png.h: proceeding with the compiler's result" >&5
20287 echo "$as_me: WARNING: png.h: proceeding with the compiler's result" >&2;}
20288 ac_header_preproc
=yes
20291 { echo "$as_me:$LINENO: WARNING: png.h: present but cannot be compiled" >&5
20292 echo "$as_me: WARNING: png.h: present but cannot be compiled" >&2;}
20293 { echo "$as_me:$LINENO: WARNING: png.h: check for missing prerequisite headers?" >&5
20294 echo "$as_me: WARNING: png.h: check for missing prerequisite headers?" >&2;}
20295 { echo "$as_me:$LINENO: WARNING: png.h: see the Autoconf documentation" >&5
20296 echo "$as_me: WARNING: png.h: see the Autoconf documentation" >&2;}
20297 { echo "$as_me:$LINENO: WARNING: png.h: section \"Present But Cannot Be Compiled\"" >&5
20298 echo "$as_me: WARNING: png.h: section \"Present But Cannot Be Compiled\"" >&2;}
20299 { echo "$as_me:$LINENO: WARNING: png.h: proceeding with the preprocessor's result" >&5
20300 echo "$as_me: WARNING: png.h: proceeding with the preprocessor's result" >&2;}
20301 { echo "$as_me:$LINENO: WARNING: png.h: in the future, the compiler will take precedence" >&5
20302 echo "$as_me: WARNING: png.h: in the future, the compiler will take precedence" >&2;}
20305 ## ----------------------------------------- ##
20306 ## Report this to wx-dev@lists.wxwindows.org ##
20307 ## ----------------------------------------- ##
20310 sed "s/^/$as_me: WARNING: /" >&2
20313 echo "$as_me:$LINENO: checking for png.h" >&5
20314 echo $ECHO_N "checking for png.h... $ECHO_C" >&6
20315 if test "${ac_cv_header_png_h+set}" = set; then
20316 echo $ECHO_N "(cached) $ECHO_C" >&6
20318 ac_cv_header_png_h
=$ac_header_preproc
20320 echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
20321 echo "${ECHO_T}$ac_cv_header_png_h" >&6
20327 if test "$ac_cv_header_png_h" = "yes"; then
20328 echo "$as_me:$LINENO: checking for png_check_sig in -lpng" >&5
20329 echo $ECHO_N "checking for png_check_sig in -lpng... $ECHO_C" >&6
20330 if test "${ac_cv_lib_png_png_check_sig+set}" = set; then
20331 echo $ECHO_N "(cached) $ECHO_C" >&6
20333 ac_check_lib_save_LIBS
=$LIBS
20334 LIBS
="-lpng -lz -lm $LIBS"
20335 cat >conftest.
$ac_ext <<_ACEOF
20338 cat confdefs.h
>>conftest.
$ac_ext
20339 cat >>conftest.
$ac_ext <<_ACEOF
20340 /* end confdefs.h. */
20342 /* Override any gcc2 internal prototype to avoid an error. */
20346 /* We use char because int might match the return type of a gcc2
20347 builtin and then its argument prototype would still apply. */
20348 char png_check_sig ();
20357 rm -f conftest.
$ac_objext conftest
$ac_exeext
20358 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20359 (eval $ac_link) 2>conftest.er1
20361 grep -v '^ *+' conftest.er1
>conftest.err
20363 cat conftest.err
>&5
20364 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20365 (exit $ac_status); } &&
20366 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20367 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20368 (eval $ac_try) 2>&5
20370 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20371 (exit $ac_status); }; } &&
20372 { ac_try
='test -s conftest$ac_exeext'
20373 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20374 (eval $ac_try) 2>&5
20376 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20377 (exit $ac_status); }; }; then
20378 ac_cv_lib_png_png_check_sig
=yes
20380 echo "$as_me: failed program was:" >&5
20381 sed 's/^/| /' conftest.
$ac_ext >&5
20383 ac_cv_lib_png_png_check_sig
=no
20385 rm -f conftest.err conftest.
$ac_objext \
20386 conftest
$ac_exeext conftest.
$ac_ext
20387 LIBS
=$ac_check_lib_save_LIBS
20389 echo "$as_me:$LINENO: result: $ac_cv_lib_png_png_check_sig" >&5
20390 echo "${ECHO_T}$ac_cv_lib_png_png_check_sig" >&6
20391 if test $ac_cv_lib_png_png_check_sig = yes; then
20397 if test "x$PNG_LINK" = "x" ; then
20398 if test "$wxUSE_LIBPNG" = "sys" ; then
20399 { { echo "$as_me:$LINENO: error: system png library not found or too old! Use --with-libpng=builtin to use built-in version" >&5
20400 echo "$as_me: error: system png library not found or too old! Use --with-libpng=builtin to use built-in version" >&2;}
20401 { (exit 1); exit 1; }; }
20403 { echo "$as_me:$LINENO: WARNING: system png library not found or too old, will use built-in instead" >&5
20404 echo "$as_me: WARNING: system png library not found or too old, will use built-in instead" >&2;}
20405 wxUSE_LIBPNG
=builtin
20413 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS png"
20418 if test "$wxUSE_LIBJPEG" != "no" ; then
20419 cat >>confdefs.h
<<\_ACEOF
20420 #define wxUSE_LIBJPEG 1
20424 if test "$wxUSE_MGL" = 1 -a "$wxUSE_LIBJPEG" = "builtin" ; then
20425 { echo "$as_me:$LINENO: WARNING: wxMGL doesn't work with builtin jpeg library, will use MGL one instead" >&5
20426 echo "$as_me: WARNING: wxMGL doesn't work with builtin jpeg library, will use MGL one instead" >&2;}
20430 if test "$wxUSE_MGL" != 1 ; then
20431 if test "$wxUSE_LIBJPEG" = "sys" -o "$wxUSE_LIBJPEG" = "yes" ; then
20432 echo "$as_me:$LINENO: checking for jpeglib.h" >&5
20433 echo $ECHO_N "checking for jpeglib.h... $ECHO_C" >&6
20434 if test "${ac_cv_header_jpeglib_h+set}" = set; then
20435 echo $ECHO_N "(cached) $ECHO_C" >&6
20437 cat >conftest.
$ac_ext <<_ACEOF
20440 cat confdefs.h
>>conftest.
$ac_ext
20441 cat >>conftest.
$ac_ext <<_ACEOF
20442 /* end confdefs.h. */
20444 #undef HAVE_STDLIB_H
20446 #include <jpeglib.h>
20457 rm -f conftest.
$ac_objext
20458 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20459 (eval $ac_compile) 2>conftest.er1
20461 grep -v '^ *+' conftest.er1
>conftest.err
20463 cat conftest.err
>&5
20464 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20465 (exit $ac_status); } &&
20466 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20467 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20468 (eval $ac_try) 2>&5
20470 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20471 (exit $ac_status); }; } &&
20472 { ac_try
='test -s conftest.$ac_objext'
20473 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20474 (eval $ac_try) 2>&5
20476 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20477 (exit $ac_status); }; }; then
20478 ac_cv_header_jpeglib_h
=yes
20480 echo "$as_me: failed program was:" >&5
20481 sed 's/^/| /' conftest.
$ac_ext >&5
20483 ac_cv_header_jpeglib_h
=no
20486 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20490 echo "$as_me:$LINENO: result: $ac_cv_header_jpeglib_h" >&5
20491 echo "${ECHO_T}$ac_cv_header_jpeglib_h" >&6
20493 if test "$ac_cv_header_jpeglib_h" = "yes"; then
20494 echo "$as_me:$LINENO: checking for jpeg_read_header in -ljpeg" >&5
20495 echo $ECHO_N "checking for jpeg_read_header in -ljpeg... $ECHO_C" >&6
20496 if test "${ac_cv_lib_jpeg_jpeg_read_header+set}" = set; then
20497 echo $ECHO_N "(cached) $ECHO_C" >&6
20499 ac_check_lib_save_LIBS
=$LIBS
20500 LIBS
="-ljpeg $LIBS"
20501 cat >conftest.
$ac_ext <<_ACEOF
20504 cat confdefs.h
>>conftest.
$ac_ext
20505 cat >>conftest.
$ac_ext <<_ACEOF
20506 /* end confdefs.h. */
20508 /* Override any gcc2 internal prototype to avoid an error. */
20512 /* We use char because int might match the return type of a gcc2
20513 builtin and then its argument prototype would still apply. */
20514 char jpeg_read_header ();
20518 jpeg_read_header ();
20523 rm -f conftest.
$ac_objext conftest
$ac_exeext
20524 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20525 (eval $ac_link) 2>conftest.er1
20527 grep -v '^ *+' conftest.er1
>conftest.err
20529 cat conftest.err
>&5
20530 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20531 (exit $ac_status); } &&
20532 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20533 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20534 (eval $ac_try) 2>&5
20536 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20537 (exit $ac_status); }; } &&
20538 { ac_try
='test -s conftest$ac_exeext'
20539 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20540 (eval $ac_try) 2>&5
20542 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20543 (exit $ac_status); }; }; then
20544 ac_cv_lib_jpeg_jpeg_read_header
=yes
20546 echo "$as_me: failed program was:" >&5
20547 sed 's/^/| /' conftest.
$ac_ext >&5
20549 ac_cv_lib_jpeg_jpeg_read_header
=no
20551 rm -f conftest.err conftest.
$ac_objext \
20552 conftest
$ac_exeext conftest.
$ac_ext
20553 LIBS
=$ac_check_lib_save_LIBS
20555 echo "$as_me:$LINENO: result: $ac_cv_lib_jpeg_jpeg_read_header" >&5
20556 echo "${ECHO_T}$ac_cv_lib_jpeg_jpeg_read_header" >&6
20557 if test $ac_cv_lib_jpeg_jpeg_read_header = yes; then
20558 JPEG_LINK
=" -ljpeg"
20563 if test "x$JPEG_LINK" = "x" ; then
20564 if test "$wxUSE_LIBJPEG" = "sys" ; then
20565 { { echo "$as_me:$LINENO: error: system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" >&5
20566 echo "$as_me: error: system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" >&2;}
20567 { (exit 1); exit 1; }; }
20569 { echo "$as_me:$LINENO: WARNING: system jpeg library not found, will use built-in instead" >&5
20570 echo "$as_me: WARNING: system jpeg library not found, will use built-in instead" >&2;}
20571 wxUSE_LIBJPEG
=builtin
20582 TIFF_PREREQ_LINKS
=-lm
20583 if test "$wxUSE_LIBTIFF" != "no" ; then
20584 cat >>confdefs.h
<<\_ACEOF
20585 #define wxUSE_LIBTIFF 1
20589 if test "$wxUSE_LIBTIFF" = "sys" -o "$wxUSE_LIBTIFF" = "yes" ; then
20590 if test "$wxUSE_LIBJPEG" = "sys"; then
20591 TIFF_PREREQ_LINKS
="$TIFF_PREREQ_LINKS $JPEG_LINK"
20593 if test "$wxUSE_ZLIB" = "sys"; then
20594 TIFF_PREREQ_LINKS
="$TIFF_PREREQ_LINKS $ZLIB_LINK"
20596 if test "${ac_cv_header_tiffio_h+set}" = set; then
20597 echo "$as_me:$LINENO: checking for tiffio.h" >&5
20598 echo $ECHO_N "checking for tiffio.h... $ECHO_C" >&6
20599 if test "${ac_cv_header_tiffio_h+set}" = set; then
20600 echo $ECHO_N "(cached) $ECHO_C" >&6
20602 echo "$as_me:$LINENO: result: $ac_cv_header_tiffio_h" >&5
20603 echo "${ECHO_T}$ac_cv_header_tiffio_h" >&6
20605 # Is the header compilable?
20606 echo "$as_me:$LINENO: checking tiffio.h usability" >&5
20607 echo $ECHO_N "checking tiffio.h usability... $ECHO_C" >&6
20608 cat >conftest.
$ac_ext <<_ACEOF
20611 cat confdefs.h
>>conftest.
$ac_ext
20612 cat >>conftest.
$ac_ext <<_ACEOF
20613 /* end confdefs.h. */
20614 $ac_includes_default
20615 #include <tiffio.h>
20617 rm -f conftest.
$ac_objext
20618 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20619 (eval $ac_compile) 2>conftest.er1
20621 grep -v '^ *+' conftest.er1
>conftest.err
20623 cat conftest.err
>&5
20624 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20625 (exit $ac_status); } &&
20626 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20627 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20628 (eval $ac_try) 2>&5
20630 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20631 (exit $ac_status); }; } &&
20632 { ac_try
='test -s conftest.$ac_objext'
20633 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20634 (eval $ac_try) 2>&5
20636 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20637 (exit $ac_status); }; }; then
20638 ac_header_compiler
=yes
20640 echo "$as_me: failed program was:" >&5
20641 sed 's/^/| /' conftest.
$ac_ext >&5
20643 ac_header_compiler
=no
20645 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20646 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
20647 echo "${ECHO_T}$ac_header_compiler" >&6
20649 # Is the header present?
20650 echo "$as_me:$LINENO: checking tiffio.h presence" >&5
20651 echo $ECHO_N "checking tiffio.h presence... $ECHO_C" >&6
20652 cat >conftest.
$ac_ext <<_ACEOF
20655 cat confdefs.h
>>conftest.
$ac_ext
20656 cat >>conftest.
$ac_ext <<_ACEOF
20657 /* end confdefs.h. */
20658 #include <tiffio.h>
20660 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
20661 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
20663 grep -v '^ *+' conftest.er1
>conftest.err
20665 cat conftest.err
>&5
20666 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20667 (exit $ac_status); } >/dev
/null
; then
20668 if test -s conftest.err
; then
20669 ac_cpp_err
=$ac_c_preproc_warn_flag
20670 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
20677 if test -z "$ac_cpp_err"; then
20678 ac_header_preproc
=yes
20680 echo "$as_me: failed program was:" >&5
20681 sed 's/^/| /' conftest.
$ac_ext >&5
20683 ac_header_preproc
=no
20685 rm -f conftest.err conftest.
$ac_ext
20686 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
20687 echo "${ECHO_T}$ac_header_preproc" >&6
20689 # So? What about this header?
20690 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
20692 { echo "$as_me:$LINENO: WARNING: tiffio.h: accepted by the compiler, rejected by the preprocessor!" >&5
20693 echo "$as_me: WARNING: tiffio.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
20694 { echo "$as_me:$LINENO: WARNING: tiffio.h: proceeding with the compiler's result" >&5
20695 echo "$as_me: WARNING: tiffio.h: proceeding with the compiler's result" >&2;}
20696 ac_header_preproc
=yes
20699 { echo "$as_me:$LINENO: WARNING: tiffio.h: present but cannot be compiled" >&5
20700 echo "$as_me: WARNING: tiffio.h: present but cannot be compiled" >&2;}
20701 { echo "$as_me:$LINENO: WARNING: tiffio.h: check for missing prerequisite headers?" >&5
20702 echo "$as_me: WARNING: tiffio.h: check for missing prerequisite headers?" >&2;}
20703 { echo "$as_me:$LINENO: WARNING: tiffio.h: see the Autoconf documentation" >&5
20704 echo "$as_me: WARNING: tiffio.h: see the Autoconf documentation" >&2;}
20705 { echo "$as_me:$LINENO: WARNING: tiffio.h: section \"Present But Cannot Be Compiled\"" >&5
20706 echo "$as_me: WARNING: tiffio.h: section \"Present But Cannot Be Compiled\"" >&2;}
20707 { echo "$as_me:$LINENO: WARNING: tiffio.h: proceeding with the preprocessor's result" >&5
20708 echo "$as_me: WARNING: tiffio.h: proceeding with the preprocessor's result" >&2;}
20709 { echo "$as_me:$LINENO: WARNING: tiffio.h: in the future, the compiler will take precedence" >&5
20710 echo "$as_me: WARNING: tiffio.h: in the future, the compiler will take precedence" >&2;}
20713 ## ----------------------------------------- ##
20714 ## Report this to wx-dev@lists.wxwindows.org ##
20715 ## ----------------------------------------- ##
20718 sed "s/^/$as_me: WARNING: /" >&2
20721 echo "$as_me:$LINENO: checking for tiffio.h" >&5
20722 echo $ECHO_N "checking for tiffio.h... $ECHO_C" >&6
20723 if test "${ac_cv_header_tiffio_h+set}" = set; then
20724 echo $ECHO_N "(cached) $ECHO_C" >&6
20726 ac_cv_header_tiffio_h
=$ac_header_preproc
20728 echo "$as_me:$LINENO: result: $ac_cv_header_tiffio_h" >&5
20729 echo "${ECHO_T}$ac_cv_header_tiffio_h" >&6
20732 if test $ac_cv_header_tiffio_h = yes; then
20734 echo "$as_me:$LINENO: checking for TIFFError in -ltiff" >&5
20735 echo $ECHO_N "checking for TIFFError in -ltiff... $ECHO_C" >&6
20736 if test "${ac_cv_lib_tiff_TIFFError+set}" = set; then
20737 echo $ECHO_N "(cached) $ECHO_C" >&6
20739 ac_check_lib_save_LIBS
=$LIBS
20740 LIBS
="-ltiff $TIFF_PREREQ_LINKS $LIBS"
20741 cat >conftest.
$ac_ext <<_ACEOF
20744 cat confdefs.h
>>conftest.
$ac_ext
20745 cat >>conftest.
$ac_ext <<_ACEOF
20746 /* end confdefs.h. */
20748 /* Override any gcc2 internal prototype to avoid an error. */
20752 /* We use char because int might match the return type of a gcc2
20753 builtin and then its argument prototype would still apply. */
20763 rm -f conftest.
$ac_objext conftest
$ac_exeext
20764 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20765 (eval $ac_link) 2>conftest.er1
20767 grep -v '^ *+' conftest.er1
>conftest.err
20769 cat conftest.err
>&5
20770 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20771 (exit $ac_status); } &&
20772 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20773 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20774 (eval $ac_try) 2>&5
20776 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20777 (exit $ac_status); }; } &&
20778 { ac_try
='test -s conftest$ac_exeext'
20779 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20780 (eval $ac_try) 2>&5
20782 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20783 (exit $ac_status); }; }; then
20784 ac_cv_lib_tiff_TIFFError
=yes
20786 echo "$as_me: failed program was:" >&5
20787 sed 's/^/| /' conftest.
$ac_ext >&5
20789 ac_cv_lib_tiff_TIFFError
=no
20791 rm -f conftest.err conftest.
$ac_objext \
20792 conftest
$ac_exeext conftest.
$ac_ext
20793 LIBS
=$ac_check_lib_save_LIBS
20795 echo "$as_me:$LINENO: result: $ac_cv_lib_tiff_TIFFError" >&5
20796 echo "${ECHO_T}$ac_cv_lib_tiff_TIFFError" >&6
20797 if test $ac_cv_lib_tiff_TIFFError = yes; then
20798 TIFF_LINK
=" -ltiff"
20807 if test "x$TIFF_LINK" = "x" ; then
20808 if test "$wxUSE_LIBTIFF" = "sys" ; then
20809 { { echo "$as_me:$LINENO: error: system tiff library not found! Use --with-libtiff=builtin to use built-in version" >&5
20810 echo "$as_me: error: system tiff library not found! Use --with-libtiff=builtin to use built-in version" >&2;}
20811 { (exit 1); exit 1; }; }
20813 { echo "$as_me:$LINENO: WARNING: system tiff library not found, will use built-in instead" >&5
20814 echo "$as_me: WARNING: system tiff library not found, will use built-in instead" >&2;}
20815 wxUSE_LIBTIFF
=builtin
20824 if test "$wxUSE_EXPAT" != "no"; then
20826 cat >>confdefs.h
<<\_ACEOF
20827 #define wxUSE_EXPAT 1
20830 cat >>confdefs.h
<<\_ACEOF
20831 #define wxUSE_XML 1
20835 if test "$wxUSE_EXPAT" = "sys" -o "$wxUSE_EXPAT" = "yes" ; then
20836 if test "${ac_cv_header_expat_h+set}" = set; then
20837 echo "$as_me:$LINENO: checking for expat.h" >&5
20838 echo $ECHO_N "checking for expat.h... $ECHO_C" >&6
20839 if test "${ac_cv_header_expat_h+set}" = set; then
20840 echo $ECHO_N "(cached) $ECHO_C" >&6
20842 echo "$as_me:$LINENO: result: $ac_cv_header_expat_h" >&5
20843 echo "${ECHO_T}$ac_cv_header_expat_h" >&6
20845 # Is the header compilable?
20846 echo "$as_me:$LINENO: checking expat.h usability" >&5
20847 echo $ECHO_N "checking expat.h usability... $ECHO_C" >&6
20848 cat >conftest.
$ac_ext <<_ACEOF
20851 cat confdefs.h
>>conftest.
$ac_ext
20852 cat >>conftest.
$ac_ext <<_ACEOF
20853 /* end confdefs.h. */
20854 $ac_includes_default
20857 rm -f conftest.
$ac_objext
20858 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20859 (eval $ac_compile) 2>conftest.er1
20861 grep -v '^ *+' conftest.er1
>conftest.err
20863 cat conftest.err
>&5
20864 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20865 (exit $ac_status); } &&
20866 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20867 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20868 (eval $ac_try) 2>&5
20870 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20871 (exit $ac_status); }; } &&
20872 { ac_try
='test -s conftest.$ac_objext'
20873 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20874 (eval $ac_try) 2>&5
20876 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20877 (exit $ac_status); }; }; then
20878 ac_header_compiler
=yes
20880 echo "$as_me: failed program was:" >&5
20881 sed 's/^/| /' conftest.
$ac_ext >&5
20883 ac_header_compiler
=no
20885 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20886 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
20887 echo "${ECHO_T}$ac_header_compiler" >&6
20889 # Is the header present?
20890 echo "$as_me:$LINENO: checking expat.h presence" >&5
20891 echo $ECHO_N "checking expat.h presence... $ECHO_C" >&6
20892 cat >conftest.
$ac_ext <<_ACEOF
20895 cat confdefs.h
>>conftest.
$ac_ext
20896 cat >>conftest.
$ac_ext <<_ACEOF
20897 /* end confdefs.h. */
20900 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
20901 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
20903 grep -v '^ *+' conftest.er1
>conftest.err
20905 cat conftest.err
>&5
20906 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20907 (exit $ac_status); } >/dev
/null
; then
20908 if test -s conftest.err
; then
20909 ac_cpp_err
=$ac_c_preproc_warn_flag
20910 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
20917 if test -z "$ac_cpp_err"; then
20918 ac_header_preproc
=yes
20920 echo "$as_me: failed program was:" >&5
20921 sed 's/^/| /' conftest.
$ac_ext >&5
20923 ac_header_preproc
=no
20925 rm -f conftest.err conftest.
$ac_ext
20926 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
20927 echo "${ECHO_T}$ac_header_preproc" >&6
20929 # So? What about this header?
20930 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
20932 { echo "$as_me:$LINENO: WARNING: expat.h: accepted by the compiler, rejected by the preprocessor!" >&5
20933 echo "$as_me: WARNING: expat.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
20934 { echo "$as_me:$LINENO: WARNING: expat.h: proceeding with the compiler's result" >&5
20935 echo "$as_me: WARNING: expat.h: proceeding with the compiler's result" >&2;}
20936 ac_header_preproc
=yes
20939 { echo "$as_me:$LINENO: WARNING: expat.h: present but cannot be compiled" >&5
20940 echo "$as_me: WARNING: expat.h: present but cannot be compiled" >&2;}
20941 { echo "$as_me:$LINENO: WARNING: expat.h: check for missing prerequisite headers?" >&5
20942 echo "$as_me: WARNING: expat.h: check for missing prerequisite headers?" >&2;}
20943 { echo "$as_me:$LINENO: WARNING: expat.h: see the Autoconf documentation" >&5
20944 echo "$as_me: WARNING: expat.h: see the Autoconf documentation" >&2;}
20945 { echo "$as_me:$LINENO: WARNING: expat.h: section \"Present But Cannot Be Compiled\"" >&5
20946 echo "$as_me: WARNING: expat.h: section \"Present But Cannot Be Compiled\"" >&2;}
20947 { echo "$as_me:$LINENO: WARNING: expat.h: proceeding with the preprocessor's result" >&5
20948 echo "$as_me: WARNING: expat.h: proceeding with the preprocessor's result" >&2;}
20949 { echo "$as_me:$LINENO: WARNING: expat.h: in the future, the compiler will take precedence" >&5
20950 echo "$as_me: WARNING: expat.h: in the future, the compiler will take precedence" >&2;}
20953 ## ----------------------------------------- ##
20954 ## Report this to wx-dev@lists.wxwindows.org ##
20955 ## ----------------------------------------- ##
20958 sed "s/^/$as_me: WARNING: /" >&2
20961 echo "$as_me:$LINENO: checking for expat.h" >&5
20962 echo $ECHO_N "checking for expat.h... $ECHO_C" >&6
20963 if test "${ac_cv_header_expat_h+set}" = set; then
20964 echo $ECHO_N "(cached) $ECHO_C" >&6
20966 ac_cv_header_expat_h
=$ac_header_preproc
20968 echo "$as_me:$LINENO: result: $ac_cv_header_expat_h" >&5
20969 echo "${ECHO_T}$ac_cv_header_expat_h" >&6
20972 if test $ac_cv_header_expat_h = yes; then
20977 if test "x$found_expat_h" = "x1"; then
20978 echo "$as_me:$LINENO: checking if expat.h is valid C++ header" >&5
20979 echo $ECHO_N "checking if expat.h is valid C++ header... $ECHO_C" >&6
20980 if test "${wx_cv_expat_is_not_broken+set}" = set; then
20981 echo $ECHO_N "(cached) $ECHO_C" >&6
20987 ac_cpp
='$CXXCPP $CPPFLAGS'
20988 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20989 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20990 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
20992 cat >conftest.
$ac_ext <<_ACEOF
20995 cat confdefs.h
>>conftest.
$ac_ext
20996 cat >>conftest.
$ac_ext <<_ACEOF
20997 /* end confdefs.h. */
21007 rm -f conftest.
$ac_objext
21008 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21009 (eval $ac_compile) 2>conftest.er1
21011 grep -v '^ *+' conftest.er1
>conftest.err
21013 cat conftest.err
>&5
21014 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21015 (exit $ac_status); } &&
21016 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
21017 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21018 (eval $ac_try) 2>&5
21020 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21021 (exit $ac_status); }; } &&
21022 { ac_try
='test -s conftest.$ac_objext'
21023 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21024 (eval $ac_try) 2>&5
21026 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21027 (exit $ac_status); }; }; then
21028 wx_cv_expat_is_not_broken
=yes
21030 echo "$as_me: failed program was:" >&5
21031 sed 's/^/| /' conftest.
$ac_ext >&5
21033 wx_cv_expat_is_not_broken
=no
21036 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21038 ac_cpp
='$CPP $CPPFLAGS'
21039 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21040 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21041 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
21046 echo "$as_me:$LINENO: result: $wx_cv_expat_is_not_broken" >&5
21047 echo "${ECHO_T}$wx_cv_expat_is_not_broken" >&6
21048 if test "$wx_cv_expat_is_not_broken" = "yes" ; then
21049 echo "$as_me:$LINENO: checking for XML_ParserCreate in -lexpat" >&5
21050 echo $ECHO_N "checking for XML_ParserCreate in -lexpat... $ECHO_C" >&6
21051 if test "${ac_cv_lib_expat_XML_ParserCreate+set}" = set; then
21052 echo $ECHO_N "(cached) $ECHO_C" >&6
21054 ac_check_lib_save_LIBS
=$LIBS
21055 LIBS
="-lexpat $LIBS"
21056 cat >conftest.
$ac_ext <<_ACEOF
21059 cat confdefs.h
>>conftest.
$ac_ext
21060 cat >>conftest.
$ac_ext <<_ACEOF
21061 /* end confdefs.h. */
21063 /* Override any gcc2 internal prototype to avoid an error. */
21067 /* We use char because int might match the return type of a gcc2
21068 builtin and then its argument prototype would still apply. */
21069 char XML_ParserCreate ();
21073 XML_ParserCreate ();
21078 rm -f conftest.
$ac_objext conftest
$ac_exeext
21079 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21080 (eval $ac_link) 2>conftest.er1
21082 grep -v '^ *+' conftest.er1
>conftest.err
21084 cat conftest.err
>&5
21085 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21086 (exit $ac_status); } &&
21087 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
21088 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21089 (eval $ac_try) 2>&5
21091 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21092 (exit $ac_status); }; } &&
21093 { ac_try
='test -s conftest$ac_exeext'
21094 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21095 (eval $ac_try) 2>&5
21097 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21098 (exit $ac_status); }; }; then
21099 ac_cv_lib_expat_XML_ParserCreate
=yes
21101 echo "$as_me: failed program was:" >&5
21102 sed 's/^/| /' conftest.
$ac_ext >&5
21104 ac_cv_lib_expat_XML_ParserCreate
=no
21106 rm -f conftest.err conftest.
$ac_objext \
21107 conftest
$ac_exeext conftest.
$ac_ext
21108 LIBS
=$ac_check_lib_save_LIBS
21110 echo "$as_me:$LINENO: result: $ac_cv_lib_expat_XML_ParserCreate" >&5
21111 echo "${ECHO_T}$ac_cv_lib_expat_XML_ParserCreate" >&6
21112 if test $ac_cv_lib_expat_XML_ParserCreate = yes; then
21113 EXPAT_LINK
=" -lexpat"
21118 if test "x$EXPAT_LINK" = "x" ; then
21119 if test "$wxUSE_EXPAT" = "sys" ; then
21120 { { echo "$as_me:$LINENO: error: system expat library not found! Use --with-expat=builtin to use built-in version" >&5
21121 echo "$as_me: error: system expat library not found! Use --with-expat=builtin to use built-in version" >&2;}
21122 { (exit 1); exit 1; }; }
21124 { echo "$as_me:$LINENO: WARNING: system expat library not found, will use built-in instead" >&5
21125 echo "$as_me: WARNING: system expat library not found, will use built-in instead" >&2;}
21126 wxUSE_EXPAT
=builtin
21132 if test "$wxUSE_EXPAT" = "builtin" ; then
21135 subdirs
="$subdirs src/expat"
21142 if test "$wxUSE_LIBMSPACK" != "no"; then
21144 if test "${ac_cv_header_mspack_h+set}" = set; then
21145 echo "$as_me:$LINENO: checking for mspack.h" >&5
21146 echo $ECHO_N "checking for mspack.h... $ECHO_C" >&6
21147 if test "${ac_cv_header_mspack_h+set}" = set; then
21148 echo $ECHO_N "(cached) $ECHO_C" >&6
21150 echo "$as_me:$LINENO: result: $ac_cv_header_mspack_h" >&5
21151 echo "${ECHO_T}$ac_cv_header_mspack_h" >&6
21153 # Is the header compilable?
21154 echo "$as_me:$LINENO: checking mspack.h usability" >&5
21155 echo $ECHO_N "checking mspack.h usability... $ECHO_C" >&6
21156 cat >conftest.
$ac_ext <<_ACEOF
21159 cat confdefs.h
>>conftest.
$ac_ext
21160 cat >>conftest.
$ac_ext <<_ACEOF
21161 /* end confdefs.h. */
21162 $ac_includes_default
21163 #include <mspack.h>
21165 rm -f conftest.
$ac_objext
21166 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21167 (eval $ac_compile) 2>conftest.er1
21169 grep -v '^ *+' conftest.er1
>conftest.err
21171 cat conftest.err
>&5
21172 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21173 (exit $ac_status); } &&
21174 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
21175 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21176 (eval $ac_try) 2>&5
21178 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21179 (exit $ac_status); }; } &&
21180 { ac_try
='test -s conftest.$ac_objext'
21181 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21182 (eval $ac_try) 2>&5
21184 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21185 (exit $ac_status); }; }; then
21186 ac_header_compiler
=yes
21188 echo "$as_me: failed program was:" >&5
21189 sed 's/^/| /' conftest.
$ac_ext >&5
21191 ac_header_compiler
=no
21193 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21194 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
21195 echo "${ECHO_T}$ac_header_compiler" >&6
21197 # Is the header present?
21198 echo "$as_me:$LINENO: checking mspack.h presence" >&5
21199 echo $ECHO_N "checking mspack.h presence... $ECHO_C" >&6
21200 cat >conftest.
$ac_ext <<_ACEOF
21203 cat confdefs.h
>>conftest.
$ac_ext
21204 cat >>conftest.
$ac_ext <<_ACEOF
21205 /* end confdefs.h. */
21206 #include <mspack.h>
21208 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
21209 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
21211 grep -v '^ *+' conftest.er1
>conftest.err
21213 cat conftest.err
>&5
21214 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21215 (exit $ac_status); } >/dev
/null
; then
21216 if test -s conftest.err
; then
21217 ac_cpp_err
=$ac_c_preproc_warn_flag
21218 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
21225 if test -z "$ac_cpp_err"; then
21226 ac_header_preproc
=yes
21228 echo "$as_me: failed program was:" >&5
21229 sed 's/^/| /' conftest.
$ac_ext >&5
21231 ac_header_preproc
=no
21233 rm -f conftest.err conftest.
$ac_ext
21234 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
21235 echo "${ECHO_T}$ac_header_preproc" >&6
21237 # So? What about this header?
21238 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
21240 { echo "$as_me:$LINENO: WARNING: mspack.h: accepted by the compiler, rejected by the preprocessor!" >&5
21241 echo "$as_me: WARNING: mspack.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
21242 { echo "$as_me:$LINENO: WARNING: mspack.h: proceeding with the compiler's result" >&5
21243 echo "$as_me: WARNING: mspack.h: proceeding with the compiler's result" >&2;}
21244 ac_header_preproc
=yes
21247 { echo "$as_me:$LINENO: WARNING: mspack.h: present but cannot be compiled" >&5
21248 echo "$as_me: WARNING: mspack.h: present but cannot be compiled" >&2;}
21249 { echo "$as_me:$LINENO: WARNING: mspack.h: check for missing prerequisite headers?" >&5
21250 echo "$as_me: WARNING: mspack.h: check for missing prerequisite headers?" >&2;}
21251 { echo "$as_me:$LINENO: WARNING: mspack.h: see the Autoconf documentation" >&5
21252 echo "$as_me: WARNING: mspack.h: see the Autoconf documentation" >&2;}
21253 { echo "$as_me:$LINENO: WARNING: mspack.h: section \"Present But Cannot Be Compiled\"" >&5
21254 echo "$as_me: WARNING: mspack.h: section \"Present But Cannot Be Compiled\"" >&2;}
21255 { echo "$as_me:$LINENO: WARNING: mspack.h: proceeding with the preprocessor's result" >&5
21256 echo "$as_me: WARNING: mspack.h: proceeding with the preprocessor's result" >&2;}
21257 { echo "$as_me:$LINENO: WARNING: mspack.h: in the future, the compiler will take precedence" >&5
21258 echo "$as_me: WARNING: mspack.h: in the future, the compiler will take precedence" >&2;}
21261 ## ----------------------------------------- ##
21262 ## Report this to wx-dev@lists.wxwindows.org ##
21263 ## ----------------------------------------- ##
21266 sed "s/^/$as_me: WARNING: /" >&2
21269 echo "$as_me:$LINENO: checking for mspack.h" >&5
21270 echo $ECHO_N "checking for mspack.h... $ECHO_C" >&6
21271 if test "${ac_cv_header_mspack_h+set}" = set; then
21272 echo $ECHO_N "(cached) $ECHO_C" >&6
21274 ac_cv_header_mspack_h
=$ac_header_preproc
21276 echo "$as_me:$LINENO: result: $ac_cv_header_mspack_h" >&5
21277 echo "${ECHO_T}$ac_cv_header_mspack_h" >&6
21280 if test $ac_cv_header_mspack_h = yes; then
21285 if test "x$found_mspack_h" = "x1"; then
21286 echo "$as_me:$LINENO: checking for mspack_create_chm_decompressor in -lmspack" >&5
21287 echo $ECHO_N "checking for mspack_create_chm_decompressor in -lmspack... $ECHO_C" >&6
21288 if test "${ac_cv_lib_mspack_mspack_create_chm_decompressor+set}" = set; then
21289 echo $ECHO_N "(cached) $ECHO_C" >&6
21291 ac_check_lib_save_LIBS
=$LIBS
21292 LIBS
="-lmspack $LIBS"
21293 cat >conftest.
$ac_ext <<_ACEOF
21296 cat confdefs.h
>>conftest.
$ac_ext
21297 cat >>conftest.
$ac_ext <<_ACEOF
21298 /* end confdefs.h. */
21300 /* Override any gcc2 internal prototype to avoid an error. */
21304 /* We use char because int might match the return type of a gcc2
21305 builtin and then its argument prototype would still apply. */
21306 char mspack_create_chm_decompressor ();
21310 mspack_create_chm_decompressor ();
21315 rm -f conftest.
$ac_objext conftest
$ac_exeext
21316 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21317 (eval $ac_link) 2>conftest.er1
21319 grep -v '^ *+' conftest.er1
>conftest.err
21321 cat conftest.err
>&5
21322 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21323 (exit $ac_status); } &&
21324 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
21325 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21326 (eval $ac_try) 2>&5
21328 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21329 (exit $ac_status); }; } &&
21330 { ac_try
='test -s conftest$ac_exeext'
21331 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21332 (eval $ac_try) 2>&5
21334 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21335 (exit $ac_status); }; }; then
21336 ac_cv_lib_mspack_mspack_create_chm_decompressor
=yes
21338 echo "$as_me: failed program was:" >&5
21339 sed 's/^/| /' conftest.
$ac_ext >&5
21341 ac_cv_lib_mspack_mspack_create_chm_decompressor
=no
21343 rm -f conftest.err conftest.
$ac_objext \
21344 conftest
$ac_exeext conftest.
$ac_ext
21345 LIBS
=$ac_check_lib_save_LIBS
21347 echo "$as_me:$LINENO: result: $ac_cv_lib_mspack_mspack_create_chm_decompressor" >&5
21348 echo "${ECHO_T}$ac_cv_lib_mspack_mspack_create_chm_decompressor" >&6
21349 if test $ac_cv_lib_mspack_mspack_create_chm_decompressor = yes; then
21350 MSPACK_LINK
=" -lmspack"
21354 if test "x$MSPACK_LINK" = "x" ; then
21357 cat >>confdefs.h
<<\_ACEOF
21358 #define wxUSE_LIBMSPACK 1
21373 if test "$USE_WIN32" = 1 ; then
21375 for ac_header
in w32api.h
21377 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
21378 if eval "test \"\${$as_ac_Header+set}\" = set"; then
21379 echo "$as_me:$LINENO: checking for $ac_header" >&5
21380 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
21381 if eval "test \"\${$as_ac_Header+set}\" = set"; then
21382 echo $ECHO_N "(cached) $ECHO_C" >&6
21384 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
21385 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
21387 # Is the header compilable?
21388 echo "$as_me:$LINENO: checking $ac_header usability" >&5
21389 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
21390 cat >conftest.
$ac_ext <<_ACEOF
21393 cat confdefs.h
>>conftest.
$ac_ext
21394 cat >>conftest.
$ac_ext <<_ACEOF
21395 /* end confdefs.h. */
21396 $ac_includes_default
21397 #include <$ac_header>
21399 rm -f conftest.
$ac_objext
21400 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21401 (eval $ac_compile) 2>conftest.er1
21403 grep -v '^ *+' conftest.er1
>conftest.err
21405 cat conftest.err
>&5
21406 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21407 (exit $ac_status); } &&
21408 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
21409 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21410 (eval $ac_try) 2>&5
21412 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21413 (exit $ac_status); }; } &&
21414 { ac_try
='test -s conftest.$ac_objext'
21415 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21416 (eval $ac_try) 2>&5
21418 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21419 (exit $ac_status); }; }; then
21420 ac_header_compiler
=yes
21422 echo "$as_me: failed program was:" >&5
21423 sed 's/^/| /' conftest.
$ac_ext >&5
21425 ac_header_compiler
=no
21427 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21428 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
21429 echo "${ECHO_T}$ac_header_compiler" >&6
21431 # Is the header present?
21432 echo "$as_me:$LINENO: checking $ac_header presence" >&5
21433 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
21434 cat >conftest.
$ac_ext <<_ACEOF
21437 cat confdefs.h
>>conftest.
$ac_ext
21438 cat >>conftest.
$ac_ext <<_ACEOF
21439 /* end confdefs.h. */
21440 #include <$ac_header>
21442 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
21443 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
21445 grep -v '^ *+' conftest.er1
>conftest.err
21447 cat conftest.err
>&5
21448 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21449 (exit $ac_status); } >/dev
/null
; then
21450 if test -s conftest.err
; then
21451 ac_cpp_err
=$ac_c_preproc_warn_flag
21452 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
21459 if test -z "$ac_cpp_err"; then
21460 ac_header_preproc
=yes
21462 echo "$as_me: failed program was:" >&5
21463 sed 's/^/| /' conftest.
$ac_ext >&5
21465 ac_header_preproc
=no
21467 rm -f conftest.err conftest.
$ac_ext
21468 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
21469 echo "${ECHO_T}$ac_header_preproc" >&6
21471 # So? What about this header?
21472 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
21474 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
21475 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
21476 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
21477 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
21478 ac_header_preproc
=yes
21481 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
21482 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
21483 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
21484 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
21485 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
21486 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
21487 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
21488 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
21489 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
21490 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
21491 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
21492 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
21495 ## ----------------------------------------- ##
21496 ## Report this to wx-dev@lists.wxwindows.org ##
21497 ## ----------------------------------------- ##
21500 sed "s/^/$as_me: WARNING: /" >&2
21503 echo "$as_me:$LINENO: checking for $ac_header" >&5
21504 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
21505 if eval "test \"\${$as_ac_Header+set}\" = set"; then
21506 echo $ECHO_N "(cached) $ECHO_C" >&6
21508 eval "$as_ac_Header=\$ac_header_preproc"
21510 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
21511 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
21514 if test `eval echo '${'$as_ac_Header'}'` = yes; then
21515 cat >>confdefs.h
<<_ACEOF
21516 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
21523 if test "${ac_cv_header_windows_h+set}" = set; then
21524 echo "$as_me:$LINENO: checking for windows.h" >&5
21525 echo $ECHO_N "checking for windows.h... $ECHO_C" >&6
21526 if test "${ac_cv_header_windows_h+set}" = set; then
21527 echo $ECHO_N "(cached) $ECHO_C" >&6
21529 echo "$as_me:$LINENO: result: $ac_cv_header_windows_h" >&5
21530 echo "${ECHO_T}$ac_cv_header_windows_h" >&6
21532 # Is the header compilable?
21533 echo "$as_me:$LINENO: checking windows.h usability" >&5
21534 echo $ECHO_N "checking windows.h usability... $ECHO_C" >&6
21535 cat >conftest.
$ac_ext <<_ACEOF
21538 cat confdefs.h
>>conftest.
$ac_ext
21539 cat >>conftest.
$ac_ext <<_ACEOF
21540 /* end confdefs.h. */
21541 $ac_includes_default
21542 #include <windows.h>
21544 rm -f conftest.
$ac_objext
21545 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21546 (eval $ac_compile) 2>conftest.er1
21548 grep -v '^ *+' conftest.er1
>conftest.err
21550 cat conftest.err
>&5
21551 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21552 (exit $ac_status); } &&
21553 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
21554 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21555 (eval $ac_try) 2>&5
21557 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21558 (exit $ac_status); }; } &&
21559 { ac_try
='test -s conftest.$ac_objext'
21560 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21561 (eval $ac_try) 2>&5
21563 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21564 (exit $ac_status); }; }; then
21565 ac_header_compiler
=yes
21567 echo "$as_me: failed program was:" >&5
21568 sed 's/^/| /' conftest.
$ac_ext >&5
21570 ac_header_compiler
=no
21572 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21573 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
21574 echo "${ECHO_T}$ac_header_compiler" >&6
21576 # Is the header present?
21577 echo "$as_me:$LINENO: checking windows.h presence" >&5
21578 echo $ECHO_N "checking windows.h presence... $ECHO_C" >&6
21579 cat >conftest.
$ac_ext <<_ACEOF
21582 cat confdefs.h
>>conftest.
$ac_ext
21583 cat >>conftest.
$ac_ext <<_ACEOF
21584 /* end confdefs.h. */
21585 #include <windows.h>
21587 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
21588 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
21590 grep -v '^ *+' conftest.er1
>conftest.err
21592 cat conftest.err
>&5
21593 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21594 (exit $ac_status); } >/dev
/null
; then
21595 if test -s conftest.err
; then
21596 ac_cpp_err
=$ac_c_preproc_warn_flag
21597 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
21604 if test -z "$ac_cpp_err"; then
21605 ac_header_preproc
=yes
21607 echo "$as_me: failed program was:" >&5
21608 sed 's/^/| /' conftest.
$ac_ext >&5
21610 ac_header_preproc
=no
21612 rm -f conftest.err conftest.
$ac_ext
21613 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
21614 echo "${ECHO_T}$ac_header_preproc" >&6
21616 # So? What about this header?
21617 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
21619 { echo "$as_me:$LINENO: WARNING: windows.h: accepted by the compiler, rejected by the preprocessor!" >&5
21620 echo "$as_me: WARNING: windows.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
21621 { echo "$as_me:$LINENO: WARNING: windows.h: proceeding with the compiler's result" >&5
21622 echo "$as_me: WARNING: windows.h: proceeding with the compiler's result" >&2;}
21623 ac_header_preproc
=yes
21626 { echo "$as_me:$LINENO: WARNING: windows.h: present but cannot be compiled" >&5
21627 echo "$as_me: WARNING: windows.h: present but cannot be compiled" >&2;}
21628 { echo "$as_me:$LINENO: WARNING: windows.h: check for missing prerequisite headers?" >&5
21629 echo "$as_me: WARNING: windows.h: check for missing prerequisite headers?" >&2;}
21630 { echo "$as_me:$LINENO: WARNING: windows.h: see the Autoconf documentation" >&5
21631 echo "$as_me: WARNING: windows.h: see the Autoconf documentation" >&2;}
21632 { echo "$as_me:$LINENO: WARNING: windows.h: section \"Present But Cannot Be Compiled\"" >&5
21633 echo "$as_me: WARNING: windows.h: section \"Present But Cannot Be Compiled\"" >&2;}
21634 { echo "$as_me:$LINENO: WARNING: windows.h: proceeding with the preprocessor's result" >&5
21635 echo "$as_me: WARNING: windows.h: proceeding with the preprocessor's result" >&2;}
21636 { echo "$as_me:$LINENO: WARNING: windows.h: in the future, the compiler will take precedence" >&5
21637 echo "$as_me: WARNING: windows.h: in the future, the compiler will take precedence" >&2;}
21640 ## ----------------------------------------- ##
21641 ## Report this to wx-dev@lists.wxwindows.org ##
21642 ## ----------------------------------------- ##
21645 sed "s/^/$as_me: WARNING: /" >&2
21648 echo "$as_me:$LINENO: checking for windows.h" >&5
21649 echo $ECHO_N "checking for windows.h... $ECHO_C" >&6
21650 if test "${ac_cv_header_windows_h+set}" = set; then
21651 echo $ECHO_N "(cached) $ECHO_C" >&6
21653 ac_cv_header_windows_h
=$ac_header_preproc
21655 echo "$as_me:$LINENO: result: $ac_cv_header_windows_h" >&5
21656 echo "${ECHO_T}$ac_cv_header_windows_h" >&6
21659 if test $ac_cv_header_windows_h = yes; then
21663 { { echo "$as_me:$LINENO: error: please set CFLAGS to contain the location of windows.h" >&5
21664 echo "$as_me: error: please set CFLAGS to contain the location of windows.h" >&2;}
21665 { (exit 1); exit 1; }; }
21671 LIBS
="$LIBS -lwinspool -lwinmm -lshell32 -lcomctl32 -lcomdlg32 -lctl3d32 -ladvapi32 -lwsock32 -lgdi32"
21673 if test "$wxUSE_ACCESSIBILITY" = "yes" ; then
21674 LIBS
="$LIBS -loleacc"
21679 LIBS
="$LIBS -lkernel32 -luser32"
21680 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -D__WIN95__"
21683 if test "$wxUSE_ODBC" = "sys" ; then
21686 if test "$wxUSE_ODBC" = "yes" ; then
21687 LIBS
=" -lodbc32 -lole32 -loleaut32 $LIBS"
21688 cat >>confdefs.h
<<\_ACEOF
21689 #define wxUSE_ODBC 1
21694 RESFLAGS
="--include-dir \$(top_srcdir)/include --include-dir \$(top_srcdir)/\$(program_dir) --define __WIN32__ --define __WIN95__ --define __GNUWIN32__"
21695 RESPROGRAMOBJ
="\$(PROGRAM)_resources.o"
21697 WIN32INSTALL
=win32install
21700 if test "$wxUSE_GUI" = "yes"; then
21710 if test "$wxUSE_MSW" = 1 ; then
21716 WXCONFIG_LDFLAGS_GUI
="$LDFLAGS -Wl,--subsystem,windows -mwindows"
21720 if test "$wxUSE_GTK" = 1; then
21721 echo "$as_me:$LINENO: checking for GTK+ version" >&5
21722 echo $ECHO_N "checking for GTK+ version... $ECHO_C" >&6
21724 gtk_version_cached
=1
21725 if test "${wx_cv_lib_gtk+set}" = set; then
21726 echo $ECHO_N "(cached) $ECHO_C" >&6
21729 gtk_version_cached
=0
21730 echo "$as_me:$LINENO: result: " >&5
21731 echo "${ECHO_T}" >&6
21734 if test "$wxUSE_THREADS" = "yes"; then
21735 GTK_MODULES
=gthread
21739 if test "x$wxUSE_GTK2" = "xyes"; then
21740 # Check whether --enable-gtktest or --disable-gtktest was given.
21741 if test "${enable_gtktest+set}" = set; then
21742 enableval
="$enable_gtktest"
21748 pkg_config_args
=gtk
+-2.0
21749 for module
in .
$GTK_MODULES
21753 pkg_config_args
="$pkg_config_args gthread-2.0"
21760 # Extract the first word of "pkg-config", so it can be a program name with args.
21761 set dummy pkg
-config; ac_word
=$2
21762 echo "$as_me:$LINENO: checking for $ac_word" >&5
21763 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
21764 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
21765 echo $ECHO_N "(cached) $ECHO_C" >&6
21767 case $PKG_CONFIG in
21769 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
21772 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
21773 for as_dir
in $PATH
21776 test -z "$as_dir" && as_dir
=.
21777 for ac_exec_ext
in '' $ac_executable_extensions; do
21778 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
21779 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
21780 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
21786 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
21790 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
21792 if test -n "$PKG_CONFIG"; then
21793 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
21794 echo "${ECHO_T}$PKG_CONFIG" >&6
21796 echo "$as_me:$LINENO: result: no" >&5
21797 echo "${ECHO_T}no" >&6
21801 if test x
$PKG_CONFIG != xno
; then
21802 if pkg
-config --atleast-pkgconfig-version 0.7 ; then
21805 echo *** pkg
-config too old
; version
0.7 or better required.
21813 min_gtk_version
=2.0.0
21814 echo "$as_me:$LINENO: checking for GTK+ - version >= $min_gtk_version" >&5
21815 echo $ECHO_N "checking for GTK+ - version >= $min_gtk_version... $ECHO_C" >&6
21817 if test x
$PKG_CONFIG != xno
; then
21818 ## don't try to run the test against uninstalled libtool libs
21819 if $PKG_CONFIG --uninstalled $pkg_config_args; then
21820 echo "Will use uninstalled version of GTK+ found in PKG_CONFIG_PATH"
21824 if $PKG_CONFIG --atleast-version $min_gtk_version $pkg_config_args; then
21831 if test x
"$no_gtk" = x
; then
21832 GTK_CFLAGS
=`$PKG_CONFIG $pkg_config_args --cflags`
21833 GTK_LIBS
=`$PKG_CONFIG $pkg_config_args --libs`
21834 gtk_config_major_version
=`$PKG_CONFIG --modversion gtk+-2.0 | \
21835 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
21836 gtk_config_minor_version
=`$PKG_CONFIG --modversion gtk+-2.0 | \
21837 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
21838 gtk_config_micro_version
=`$PKG_CONFIG --modversion gtk+-2.0 | \
21839 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
21840 if test "x$enable_gtktest" = "xyes" ; then
21841 ac_save_CFLAGS
="$CFLAGS"
21842 ac_save_LIBS
="$LIBS"
21843 CFLAGS
="$CFLAGS $GTK_CFLAGS"
21844 LIBS
="$GTK_LIBS $LIBS"
21846 if test "$cross_compiling" = yes; then
21847 echo $ac_n "cross compiling; assumed OK... $ac_c"
21849 cat >conftest.
$ac_ext <<_ACEOF
21852 cat confdefs.h
>>conftest.
$ac_ext
21853 cat >>conftest.
$ac_ext <<_ACEOF
21854 /* end confdefs.h. */
21856 #include <gtk/gtk.h>
21858 #include <stdlib.h>
21863 int major, minor, micro;
21866 system ("touch conf.gtktest");
21868 /* HP/UX 9 (%@#!) writes to sscanf strings */
21869 tmp_version = g_strdup("$min_gtk_version");
21870 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
21871 printf("%s, bad version string\n", "$min_gtk_version");
21875 if ((gtk_major_version != $gtk_config_major_version) ||
21876 (gtk_minor_version != $gtk_config_minor_version) ||
21877 (gtk_micro_version != $gtk_config_micro_version))
21879 printf("\n*** 'pkg-config --modversion gtk+-2.0' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
21880 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
21881 gtk_major_version, gtk_minor_version, gtk_micro_version);
21882 printf ("*** was found! If pkg-config was correct, then it is best\n");
21883 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
21884 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
21885 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
21886 printf("*** required on your system.\n");
21887 printf("*** If pkg-config was wrong, set the environment variable PKG_CONFIG_PATH\n");
21888 printf("*** to point to the correct configuration files\n");
21890 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
21891 (gtk_minor_version != GTK_MINOR_VERSION) ||
21892 (gtk_micro_version != GTK_MICRO_VERSION))
21894 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
21895 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
21896 printf("*** library (version %d.%d.%d)\n",
21897 gtk_major_version, gtk_minor_version, gtk_micro_version);
21901 if ((gtk_major_version > major) ||
21902 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
21903 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
21909 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
21910 gtk_major_version, gtk_minor_version, gtk_micro_version);
21911 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
21912 major, minor, micro);
21913 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
21915 printf("*** If you have already installed a sufficiently new version, this error\n");
21916 printf("*** probably means that the wrong copy of the pkg-config shell script is\n");
21917 printf("*** being found. The easiest way to fix this is to remove the old version\n");
21918 printf("*** of GTK+, but you can also set the PKG_CONFIG environment to point to the\n");
21919 printf("*** correct copy of pkg-config. (In this case, you will have to\n");
21920 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
21921 printf("*** so that the correct libraries are found at run-time))\n");
21928 rm -f conftest
$ac_exeext
21929 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21930 (eval $ac_link) 2>&5
21932 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21933 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
21934 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21935 (eval $ac_try) 2>&5
21937 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21938 (exit $ac_status); }; }; then
21941 echo "$as_me: program exited with status $ac_status" >&5
21942 echo "$as_me: failed program was:" >&5
21943 sed 's/^/| /' conftest.
$ac_ext >&5
21945 ( exit $ac_status )
21948 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
21950 CFLAGS
="$ac_save_CFLAGS"
21951 LIBS
="$ac_save_LIBS"
21954 if test "x$no_gtk" = x
; then
21955 echo "$as_me:$LINENO: result: yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&5
21956 echo "${ECHO_T}yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&6
21959 echo "$as_me:$LINENO: result: no" >&5
21960 echo "${ECHO_T}no" >&6
21961 if test "$PKG_CONFIG" = "no" ; then
21962 echo "*** A new enough version of pkg-config was not found."
21963 echo "*** See http://pkgconfig.sourceforge.net"
21965 if test -f conf.gtktest
; then
21968 echo "*** Could not run GTK+ test program, checking why..."
21969 ac_save_CFLAGS
="$CFLAGS"
21970 ac_save_LIBS
="$LIBS"
21971 CFLAGS
="$CFLAGS $GTK_CFLAGS"
21972 LIBS
="$LIBS $GTK_LIBS"
21973 cat >conftest.
$ac_ext <<_ACEOF
21976 cat confdefs.h
>>conftest.
$ac_ext
21977 cat >>conftest.
$ac_ext <<_ACEOF
21978 /* end confdefs.h. */
21980 #include <gtk/gtk.h>
21986 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
21991 rm -f conftest.
$ac_objext conftest
$ac_exeext
21992 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21993 (eval $ac_link) 2>conftest.er1
21995 grep -v '^ *+' conftest.er1
>conftest.err
21997 cat conftest.err
>&5
21998 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21999 (exit $ac_status); } &&
22000 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
22001 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22002 (eval $ac_try) 2>&5
22004 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22005 (exit $ac_status); }; } &&
22006 { ac_try
='test -s conftest$ac_exeext'
22007 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22008 (eval $ac_try) 2>&5
22010 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22011 (exit $ac_status); }; }; then
22012 echo "*** The test program compiled, but did not run. This usually means"
22013 echo "*** that the run-time linker is not finding GTK+ or finding the wrong"
22014 echo "*** version of GTK+. If it is not finding GTK+, you'll need to set your"
22015 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
22016 echo "*** to the installed location Also, make sure you have run ldconfig if that"
22017 echo "*** is required on your system"
22019 echo "*** If you have an old version installed, it is best to remove it, although"
22020 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
22022 echo "$as_me: failed program was:" >&5
22023 sed 's/^/| /' conftest.
$ac_ext >&5
22025 echo "*** The test program failed to compile or link. See the file config.log for the"
22026 echo "*** exact error that occured. This usually means GTK+ is incorrectly installed."
22028 rm -f conftest.err conftest.
$ac_objext \
22029 conftest
$ac_exeext conftest.
$ac_ext
22030 CFLAGS
="$ac_save_CFLAGS"
22031 LIBS
="$ac_save_LIBS"
22044 # Check whether --with-gtk-prefix or --without-gtk-prefix was given.
22045 if test "${with_gtk_prefix+set}" = set; then
22046 withval
="$with_gtk_prefix"
22047 gtk_config_prefix
="$withval"
22049 gtk_config_prefix
=""
22052 # Check whether --with-gtk-exec-prefix or --without-gtk-exec-prefix was given.
22053 if test "${with_gtk_exec_prefix+set}" = set; then
22054 withval
="$with_gtk_exec_prefix"
22055 gtk_config_exec_prefix
="$withval"
22057 gtk_config_exec_prefix
=""
22059 # Check whether --enable-gtktest or --disable-gtktest was given.
22060 if test "${enable_gtktest+set}" = set; then
22061 enableval
="$enable_gtktest"
22067 for module
in .
$GTK_MODULES
22071 gtk_config_args
="$gtk_config_args gthread"
22076 if test x
$gtk_config_exec_prefix != x
; then
22077 gtk_config_args
="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
22078 if test x
${GTK_CONFIG+set} != xset
; then
22079 GTK_CONFIG
=$gtk_config_exec_prefix/bin
/gtk
-config
22082 if test x
$gtk_config_prefix != x
; then
22083 gtk_config_args
="$gtk_config_args --prefix=$gtk_config_prefix"
22084 if test x
${GTK_CONFIG+set} != xset
; then
22085 GTK_CONFIG
=$gtk_config_prefix/bin
/gtk
-config
22089 # Extract the first word of "gtk-config", so it can be a program name with args.
22090 set dummy gtk
-config; ac_word
=$2
22091 echo "$as_me:$LINENO: checking for $ac_word" >&5
22092 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
22093 if test "${ac_cv_path_GTK_CONFIG+set}" = set; then
22094 echo $ECHO_N "(cached) $ECHO_C" >&6
22096 case $GTK_CONFIG in
22098 ac_cv_path_GTK_CONFIG
="$GTK_CONFIG" # Let the user override the test with a path.
22101 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
22102 for as_dir
in $PATH
22105 test -z "$as_dir" && as_dir
=.
22106 for ac_exec_ext
in '' $ac_executable_extensions; do
22107 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
22108 ac_cv_path_GTK_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
22109 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
22115 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG
="no"
22119 GTK_CONFIG
=$ac_cv_path_GTK_CONFIG
22121 if test -n "$GTK_CONFIG"; then
22122 echo "$as_me:$LINENO: result: $GTK_CONFIG" >&5
22123 echo "${ECHO_T}$GTK_CONFIG" >&6
22125 echo "$as_me:$LINENO: result: no" >&5
22126 echo "${ECHO_T}no" >&6
22129 min_gtk_version
=1.2.7
22130 echo "$as_me:$LINENO: checking for GTK - version >= $min_gtk_version" >&5
22131 echo $ECHO_N "checking for GTK - version >= $min_gtk_version... $ECHO_C" >&6
22133 if test "$GTK_CONFIG" = "no" ; then
22136 GTK_CFLAGS
=`$GTK_CONFIG $gtk_config_args --cflags`
22137 GTK_LIBS
=`$GTK_CONFIG $gtk_config_args --libs`
22138 gtk_config_major_version
=`$GTK_CONFIG $gtk_config_args --version | \
22139 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
22140 gtk_config_minor_version
=`$GTK_CONFIG $gtk_config_args --version | \
22141 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
22142 gtk_config_micro_version
=`$GTK_CONFIG $gtk_config_args --version | \
22143 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
22144 if test "x$enable_gtktest" = "xyes" ; then
22145 ac_save_CFLAGS
="$CFLAGS"
22146 ac_save_LIBS
="$LIBS"
22147 CFLAGS
="$CFLAGS $GTK_CFLAGS"
22148 LIBS
="$GTK_LIBS $LIBS"
22150 if test "$cross_compiling" = yes; then
22151 echo $ac_n "cross compiling; assumed OK... $ac_c"
22153 cat >conftest.
$ac_ext <<_ACEOF
22156 cat confdefs.h
>>conftest.
$ac_ext
22157 cat >>conftest.
$ac_ext <<_ACEOF
22158 /* end confdefs.h. */
22160 #include <gtk/gtk.h>
22162 #include <stdlib.h>
22167 int major, minor, micro;
22170 system ("touch conf.gtktest");
22172 /* HP/UX 9 (%@#!) writes to sscanf strings */
22173 tmp_version = g_strdup("$min_gtk_version");
22174 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
22175 printf("%s, bad version string\n", "$min_gtk_version");
22179 if ((gtk_major_version != $gtk_config_major_version) ||
22180 (gtk_minor_version != $gtk_config_minor_version) ||
22181 (gtk_micro_version != $gtk_config_micro_version))
22183 printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
22184 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
22185 gtk_major_version, gtk_minor_version, gtk_micro_version);
22186 printf ("*** was found! If gtk-config was correct, then it is best\n");
22187 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
22188 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
22189 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
22190 printf("*** required on your system.\n");
22191 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
22192 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
22193 printf("*** before re-running configure\n");
22195 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
22196 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
22197 (gtk_minor_version != GTK_MINOR_VERSION) ||
22198 (gtk_micro_version != GTK_MICRO_VERSION))
22200 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
22201 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
22202 printf("*** library (version %d.%d.%d)\n",
22203 gtk_major_version, gtk_minor_version, gtk_micro_version);
22205 #endif /* defined (GTK_MAJOR_VERSION) ... */
22208 if ((gtk_major_version > major) ||
22209 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
22210 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
22216 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
22217 gtk_major_version, gtk_minor_version, gtk_micro_version);
22218 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
22219 major, minor, micro);
22220 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
22222 printf("*** If you have already installed a sufficiently new version, this error\n");
22223 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
22224 printf("*** being found. The easiest way to fix this is to remove the old version\n");
22225 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
22226 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
22227 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
22228 printf("*** so that the correct libraries are found at run-time))\n");
22235 rm -f conftest
$ac_exeext
22236 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22237 (eval $ac_link) 2>&5
22239 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22240 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
22241 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22242 (eval $ac_try) 2>&5
22244 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22245 (exit $ac_status); }; }; then
22248 echo "$as_me: program exited with status $ac_status" >&5
22249 echo "$as_me: failed program was:" >&5
22250 sed 's/^/| /' conftest.
$ac_ext >&5
22252 ( exit $ac_status )
22255 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
22257 CFLAGS
="$ac_save_CFLAGS"
22258 LIBS
="$ac_save_LIBS"
22261 if test "x$no_gtk" = x
; then
22262 echo "$as_me:$LINENO: result: yes" >&5
22263 echo "${ECHO_T}yes" >&6
22264 wx_cv_lib_gtk
=1.2.7
22266 echo "$as_me:$LINENO: result: no" >&5
22267 echo "${ECHO_T}no" >&6
22268 if test "$GTK_CONFIG" = "no" ; then
22269 echo "*** The gtk-config script installed by GTK could not be found"
22270 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
22271 echo "*** your path, or set the GTK_CONFIG environment variable to the"
22272 echo "*** full path to gtk-config."
22274 if test -f conf.gtktest
; then
22277 echo "*** Could not run GTK test program, checking why..."
22278 CFLAGS
="$CFLAGS $GTK_CFLAGS"
22279 LIBS
="$LIBS $GTK_LIBS"
22280 cat >conftest.
$ac_ext <<_ACEOF
22283 cat confdefs.h
>>conftest.
$ac_ext
22284 cat >>conftest.
$ac_ext <<_ACEOF
22285 /* end confdefs.h. */
22287 #include <gtk/gtk.h>
22293 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
22298 rm -f conftest.
$ac_objext conftest
$ac_exeext
22299 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22300 (eval $ac_link) 2>conftest.er1
22302 grep -v '^ *+' conftest.er1
>conftest.err
22304 cat conftest.err
>&5
22305 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22306 (exit $ac_status); } &&
22307 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
22308 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22309 (eval $ac_try) 2>&5
22311 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22312 (exit $ac_status); }; } &&
22313 { ac_try
='test -s conftest$ac_exeext'
22314 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22315 (eval $ac_try) 2>&5
22317 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22318 (exit $ac_status); }; }; then
22319 echo "*** The test program compiled, but did not run. This usually means"
22320 echo "*** that the run-time linker is not finding GTK or finding the wrong"
22321 echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
22322 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
22323 echo "*** to the installed location Also, make sure you have run ldconfig if that"
22324 echo "*** is required on your system"
22326 echo "*** If you have an old version installed, it is best to remove it, although"
22327 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
22329 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
22330 echo "*** came with the system with the command"
22332 echo "*** rpm --erase --nodeps gtk gtk-devel"
22334 echo "$as_me: failed program was:" >&5
22335 sed 's/^/| /' conftest.
$ac_ext >&5
22337 echo "*** The test program failed to compile or link. See the file config.log for the"
22338 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
22339 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
22340 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
22342 rm -f conftest.err conftest.
$ac_objext \
22343 conftest
$ac_exeext conftest.
$ac_ext
22344 CFLAGS
="$ac_save_CFLAGS"
22345 LIBS
="$ac_save_LIBS"
22357 if test -z "$wx_cv_lib_gtk"; then
22359 # Check whether --with-gtk-prefix or --without-gtk-prefix was given.
22360 if test "${with_gtk_prefix+set}" = set; then
22361 withval
="$with_gtk_prefix"
22362 gtk_config_prefix
="$withval"
22364 gtk_config_prefix
=""
22367 # Check whether --with-gtk-exec-prefix or --without-gtk-exec-prefix was given.
22368 if test "${with_gtk_exec_prefix+set}" = set; then
22369 withval
="$with_gtk_exec_prefix"
22370 gtk_config_exec_prefix
="$withval"
22372 gtk_config_exec_prefix
=""
22374 # Check whether --enable-gtktest or --disable-gtktest was given.
22375 if test "${enable_gtktest+set}" = set; then
22376 enableval
="$enable_gtktest"
22382 for module
in .
$GTK_MODULES
22386 gtk_config_args
="$gtk_config_args gthread"
22391 if test x
$gtk_config_exec_prefix != x
; then
22392 gtk_config_args
="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
22393 if test x
${GTK_CONFIG+set} != xset
; then
22394 GTK_CONFIG
=$gtk_config_exec_prefix/bin
/gtk
-config
22397 if test x
$gtk_config_prefix != x
; then
22398 gtk_config_args
="$gtk_config_args --prefix=$gtk_config_prefix"
22399 if test x
${GTK_CONFIG+set} != xset
; then
22400 GTK_CONFIG
=$gtk_config_prefix/bin
/gtk
-config
22404 # Extract the first word of "gtk-config", so it can be a program name with args.
22405 set dummy gtk
-config; ac_word
=$2
22406 echo "$as_me:$LINENO: checking for $ac_word" >&5
22407 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
22408 if test "${ac_cv_path_GTK_CONFIG+set}" = set; then
22409 echo $ECHO_N "(cached) $ECHO_C" >&6
22411 case $GTK_CONFIG in
22413 ac_cv_path_GTK_CONFIG
="$GTK_CONFIG" # Let the user override the test with a path.
22416 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
22417 for as_dir
in $PATH
22420 test -z "$as_dir" && as_dir
=.
22421 for ac_exec_ext
in '' $ac_executable_extensions; do
22422 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
22423 ac_cv_path_GTK_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
22424 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
22430 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG
="no"
22434 GTK_CONFIG
=$ac_cv_path_GTK_CONFIG
22436 if test -n "$GTK_CONFIG"; then
22437 echo "$as_me:$LINENO: result: $GTK_CONFIG" >&5
22438 echo "${ECHO_T}$GTK_CONFIG" >&6
22440 echo "$as_me:$LINENO: result: no" >&5
22441 echo "${ECHO_T}no" >&6
22444 min_gtk_version
=1.2.3
22445 echo "$as_me:$LINENO: checking for GTK - version >= $min_gtk_version" >&5
22446 echo $ECHO_N "checking for GTK - version >= $min_gtk_version... $ECHO_C" >&6
22448 if test "$GTK_CONFIG" = "no" ; then
22451 GTK_CFLAGS
=`$GTK_CONFIG $gtk_config_args --cflags`
22452 GTK_LIBS
=`$GTK_CONFIG $gtk_config_args --libs`
22453 gtk_config_major_version
=`$GTK_CONFIG $gtk_config_args --version | \
22454 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
22455 gtk_config_minor_version
=`$GTK_CONFIG $gtk_config_args --version | \
22456 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
22457 gtk_config_micro_version
=`$GTK_CONFIG $gtk_config_args --version | \
22458 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
22459 if test "x$enable_gtktest" = "xyes" ; then
22460 ac_save_CFLAGS
="$CFLAGS"
22461 ac_save_LIBS
="$LIBS"
22462 CFLAGS
="$CFLAGS $GTK_CFLAGS"
22463 LIBS
="$GTK_LIBS $LIBS"
22465 if test "$cross_compiling" = yes; then
22466 echo $ac_n "cross compiling; assumed OK... $ac_c"
22468 cat >conftest.
$ac_ext <<_ACEOF
22471 cat confdefs.h
>>conftest.
$ac_ext
22472 cat >>conftest.
$ac_ext <<_ACEOF
22473 /* end confdefs.h. */
22475 #include <gtk/gtk.h>
22477 #include <stdlib.h>
22482 int major, minor, micro;
22485 system ("touch conf.gtktest");
22487 /* HP/UX 9 (%@#!) writes to sscanf strings */
22488 tmp_version = g_strdup("$min_gtk_version");
22489 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
22490 printf("%s, bad version string\n", "$min_gtk_version");
22494 if ((gtk_major_version != $gtk_config_major_version) ||
22495 (gtk_minor_version != $gtk_config_minor_version) ||
22496 (gtk_micro_version != $gtk_config_micro_version))
22498 printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
22499 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
22500 gtk_major_version, gtk_minor_version, gtk_micro_version);
22501 printf ("*** was found! If gtk-config was correct, then it is best\n");
22502 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
22503 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
22504 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
22505 printf("*** required on your system.\n");
22506 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
22507 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
22508 printf("*** before re-running configure\n");
22510 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
22511 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
22512 (gtk_minor_version != GTK_MINOR_VERSION) ||
22513 (gtk_micro_version != GTK_MICRO_VERSION))
22515 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
22516 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
22517 printf("*** library (version %d.%d.%d)\n",
22518 gtk_major_version, gtk_minor_version, gtk_micro_version);
22520 #endif /* defined (GTK_MAJOR_VERSION) ... */
22523 if ((gtk_major_version > major) ||
22524 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
22525 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
22531 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
22532 gtk_major_version, gtk_minor_version, gtk_micro_version);
22533 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
22534 major, minor, micro);
22535 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
22537 printf("*** If you have already installed a sufficiently new version, this error\n");
22538 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
22539 printf("*** being found. The easiest way to fix this is to remove the old version\n");
22540 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
22541 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
22542 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
22543 printf("*** so that the correct libraries are found at run-time))\n");
22550 rm -f conftest
$ac_exeext
22551 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22552 (eval $ac_link) 2>&5
22554 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22555 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
22556 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22557 (eval $ac_try) 2>&5
22559 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22560 (exit $ac_status); }; }; then
22563 echo "$as_me: program exited with status $ac_status" >&5
22564 echo "$as_me: failed program was:" >&5
22565 sed 's/^/| /' conftest.
$ac_ext >&5
22567 ( exit $ac_status )
22570 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
22572 CFLAGS
="$ac_save_CFLAGS"
22573 LIBS
="$ac_save_LIBS"
22576 if test "x$no_gtk" = x
; then
22577 echo "$as_me:$LINENO: result: yes" >&5
22578 echo "${ECHO_T}yes" >&6
22579 wx_cv_lib_gtk
=1.2.3
22581 echo "$as_me:$LINENO: result: no" >&5
22582 echo "${ECHO_T}no" >&6
22583 if test "$GTK_CONFIG" = "no" ; then
22584 echo "*** The gtk-config script installed by GTK could not be found"
22585 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
22586 echo "*** your path, or set the GTK_CONFIG environment variable to the"
22587 echo "*** full path to gtk-config."
22589 if test -f conf.gtktest
; then
22592 echo "*** Could not run GTK test program, checking why..."
22593 CFLAGS
="$CFLAGS $GTK_CFLAGS"
22594 LIBS
="$LIBS $GTK_LIBS"
22595 cat >conftest.
$ac_ext <<_ACEOF
22598 cat confdefs.h
>>conftest.
$ac_ext
22599 cat >>conftest.
$ac_ext <<_ACEOF
22600 /* end confdefs.h. */
22602 #include <gtk/gtk.h>
22608 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
22613 rm -f conftest.
$ac_objext conftest
$ac_exeext
22614 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22615 (eval $ac_link) 2>conftest.er1
22617 grep -v '^ *+' conftest.er1
>conftest.err
22619 cat conftest.err
>&5
22620 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22621 (exit $ac_status); } &&
22622 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
22623 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22624 (eval $ac_try) 2>&5
22626 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22627 (exit $ac_status); }; } &&
22628 { ac_try
='test -s conftest$ac_exeext'
22629 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22630 (eval $ac_try) 2>&5
22632 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22633 (exit $ac_status); }; }; then
22634 echo "*** The test program compiled, but did not run. This usually means"
22635 echo "*** that the run-time linker is not finding GTK or finding the wrong"
22636 echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
22637 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
22638 echo "*** to the installed location Also, make sure you have run ldconfig if that"
22639 echo "*** is required on your system"
22641 echo "*** If you have an old version installed, it is best to remove it, although"
22642 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
22644 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
22645 echo "*** came with the system with the command"
22647 echo "*** rpm --erase --nodeps gtk gtk-devel"
22649 echo "$as_me: failed program was:" >&5
22650 sed 's/^/| /' conftest.
$ac_ext >&5
22652 echo "*** The test program failed to compile or link. See the file config.log for the"
22653 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
22654 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
22655 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
22657 rm -f conftest.err conftest.
$ac_objext \
22658 conftest
$ac_exeext conftest.
$ac_ext
22659 CFLAGS
="$ac_save_CFLAGS"
22660 LIBS
="$ac_save_LIBS"
22674 if test -z "$wx_cv_lib_gtk"; then
22677 wx_cv_cflags_gtk
=$GTK_CFLAGS
22678 wx_cv_libs_gtk
=$GTK_LIBS
22685 if test "$gtk_version_cached" = 1; then
22686 echo "$as_me:$LINENO: result: $wx_cv_lib_gtk" >&5
22687 echo "${ECHO_T}$wx_cv_lib_gtk" >&6
22690 case "$wx_cv_lib_gtk" in
22699 *) { { echo "$as_me:$LINENO: error:
22700 Please check that gtk-config is in path, the directory
22701 where GTK+ libraries are installed (returned by
22702 'gtk-config --libs' command) is in LD_LIBRARY_PATH or
22703 equivalent variable and GTK+ is version 1.2.3 or above.
22705 echo "$as_me: error:
22706 Please check that gtk-config is in path, the directory
22707 where GTK+ libraries are installed (returned by
22708 'gtk-config --libs' command) is in LD_LIBRARY_PATH or
22709 equivalent variable and GTK+ is version 1.2.3 or above.
22711 { (exit 1); exit 1; }; }
22715 if test "$WXGTK20" = 1; then
22716 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
22720 if test -z "$PKG_CONFIG"; then
22721 # Extract the first word of "pkg-config", so it can be a program name with args.
22722 set dummy pkg
-config; ac_word
=$2
22723 echo "$as_me:$LINENO: checking for $ac_word" >&5
22724 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
22725 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
22726 echo $ECHO_N "(cached) $ECHO_C" >&6
22728 case $PKG_CONFIG in
22730 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
22733 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
22734 for as_dir
in $PATH
22737 test -z "$as_dir" && as_dir
=.
22738 for ac_exec_ext
in '' $ac_executable_extensions; do
22739 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
22740 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
22741 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
22747 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
22751 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
22753 if test -n "$PKG_CONFIG"; then
22754 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
22755 echo "${ECHO_T}$PKG_CONFIG" >&6
22757 echo "$as_me:$LINENO: result: no" >&5
22758 echo "${ECHO_T}no" >&6
22763 if test "$PKG_CONFIG" = "no" ; then
22764 echo "*** The pkg-config script could not be found. Make sure it is"
22765 echo "*** in your path, or set the PKG_CONFIG environment variable"
22766 echo "*** to the full path to pkg-config."
22767 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
22769 PKG_CONFIG_MIN_VERSION
=0.9.0
22770 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
22771 echo "$as_me:$LINENO: checking for pangoft2" >&5
22772 echo $ECHO_N "checking for pangoft2... $ECHO_C" >&6
22774 if $PKG_CONFIG --exists "pangoft2" ; then
22775 echo "$as_me:$LINENO: result: yes" >&5
22776 echo "${ECHO_T}yes" >&6
22779 echo "$as_me:$LINENO: checking PANGOFT2_CFLAGS" >&5
22780 echo $ECHO_N "checking PANGOFT2_CFLAGS... $ECHO_C" >&6
22781 PANGOFT2_CFLAGS
=`$PKG_CONFIG --cflags "pangoft2"`
22782 echo "$as_me:$LINENO: result: $PANGOFT2_CFLAGS" >&5
22783 echo "${ECHO_T}$PANGOFT2_CFLAGS" >&6
22785 echo "$as_me:$LINENO: checking PANGOFT2_LIBS" >&5
22786 echo $ECHO_N "checking PANGOFT2_LIBS... $ECHO_C" >&6
22787 PANGOFT2_LIBS
=`$PKG_CONFIG --libs "pangoft2"`
22788 echo "$as_me:$LINENO: result: $PANGOFT2_LIBS" >&5
22789 echo "${ECHO_T}$PANGOFT2_LIBS" >&6
22793 ## If we have a custom action on failure, don't print errors, but
22794 ## do set a variable so people can do so.
22795 PANGOFT2_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoft2"`
22802 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
22803 echo "*** See http://www.freedesktop.org/software/pkgconfig"
22807 if test $succeeded = yes; then
22809 CXXFLAGS
="$CXXFLAGS $PANGOFT2_CFLAGS"
22810 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY $PANGOFT2_LIBS"
22814 { echo "$as_me:$LINENO: WARNING: pangoft2 library not found, library will be compiled without printing support" >&5
22815 echo "$as_me: WARNING: pangoft2 library not found, library will be compiled without printing support" >&2;}
22816 wxUSE_PRINTING_ARCHITECTURE
="no"
22823 if test "$wxUSE_UNICODE" = "yes"; then
22824 { echo "$as_me:$LINENO: WARNING: Unicode configuration not supported with GTK+ 1.x" >&5
22825 echo "$as_me: WARNING: Unicode configuration not supported with GTK+ 1.x" >&2;}
22830 if test "$USE_DARWIN" != 1; then
22832 for ac_func
in poll
22834 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
22835 echo "$as_me:$LINENO: checking for $ac_func" >&5
22836 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
22837 if eval "test \"\${$as_ac_var+set}\" = set"; then
22838 echo $ECHO_N "(cached) $ECHO_C" >&6
22840 cat >conftest.
$ac_ext <<_ACEOF
22843 cat confdefs.h
>>conftest.
$ac_ext
22844 cat >>conftest.
$ac_ext <<_ACEOF
22845 /* end confdefs.h. */
22846 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
22847 For example, HP-UX 11i <limits.h> declares gettimeofday. */
22848 #define $ac_func innocuous_$ac_func
22850 /* System header to define __stub macros and hopefully few prototypes,
22851 which can conflict with char $ac_func (); below.
22852 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
22853 <limits.h> exists even on freestanding compilers. */
22856 # include <limits.h>
22858 # include <assert.h>
22863 /* Override any gcc2 internal prototype to avoid an error. */
22868 /* We use char because int might match the return type of a gcc2
22869 builtin and then its argument prototype would still apply. */
22871 /* The GNU C library defines this for functions which it implements
22872 to always fail with ENOSYS. Some functions are actually named
22873 something starting with __ and the normal name is an alias. */
22874 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
22877 char (*f) () = $ac_func;
22886 return f != $ac_func;
22891 rm -f conftest.
$ac_objext conftest
$ac_exeext
22892 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22893 (eval $ac_link) 2>conftest.er1
22895 grep -v '^ *+' conftest.er1
>conftest.err
22897 cat conftest.err
>&5
22898 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22899 (exit $ac_status); } &&
22900 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
22901 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22902 (eval $ac_try) 2>&5
22904 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22905 (exit $ac_status); }; } &&
22906 { ac_try
='test -s conftest$ac_exeext'
22907 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22908 (eval $ac_try) 2>&5
22910 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22911 (exit $ac_status); }; }; then
22912 eval "$as_ac_var=yes"
22914 echo "$as_me: failed program was:" >&5
22915 sed 's/^/| /' conftest.
$ac_ext >&5
22917 eval "$as_ac_var=no"
22919 rm -f conftest.err conftest.
$ac_objext \
22920 conftest
$ac_exeext conftest.
$ac_ext
22922 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
22923 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
22924 if test `eval echo '${'$as_ac_var'}'` = yes; then
22925 cat >>confdefs.h
<<_ACEOF
22926 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
22934 TOOLKIT_INCLUDE
="$wx_cv_cflags_gtk"
22935 GUI_TK_LIBRARY
="$wx_cv_libs_gtk $GUI_TK_LIBRARY"
22937 AFMINSTALL
=afminstall
22941 echo "$as_me:$LINENO: checking for gdk_im_open in -lgdk" >&5
22942 echo $ECHO_N "checking for gdk_im_open in -lgdk... $ECHO_C" >&6
22943 if test "${ac_cv_lib_gdk_gdk_im_open+set}" = set; then
22944 echo $ECHO_N "(cached) $ECHO_C" >&6
22946 ac_check_lib_save_LIBS
=$LIBS
22948 cat >conftest.
$ac_ext <<_ACEOF
22951 cat confdefs.h
>>conftest.
$ac_ext
22952 cat >>conftest.
$ac_ext <<_ACEOF
22953 /* end confdefs.h. */
22955 /* Override any gcc2 internal prototype to avoid an error. */
22959 /* We use char because int might match the return type of a gcc2
22960 builtin and then its argument prototype would still apply. */
22961 char gdk_im_open ();
22970 rm -f conftest.
$ac_objext conftest
$ac_exeext
22971 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22972 (eval $ac_link) 2>conftest.er1
22974 grep -v '^ *+' conftest.er1
>conftest.err
22976 cat conftest.err
>&5
22977 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22978 (exit $ac_status); } &&
22979 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
22980 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22981 (eval $ac_try) 2>&5
22983 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22984 (exit $ac_status); }; } &&
22985 { ac_try
='test -s conftest$ac_exeext'
22986 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22987 (eval $ac_try) 2>&5
22989 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22990 (exit $ac_status); }; }; then
22991 ac_cv_lib_gdk_gdk_im_open
=yes
22993 echo "$as_me: failed program was:" >&5
22994 sed 's/^/| /' conftest.
$ac_ext >&5
22996 ac_cv_lib_gdk_gdk_im_open
=no
22998 rm -f conftest.err conftest.
$ac_objext \
22999 conftest
$ac_exeext conftest.
$ac_ext
23000 LIBS
=$ac_check_lib_save_LIBS
23002 echo "$as_me:$LINENO: result: $ac_cv_lib_gdk_gdk_im_open" >&5
23003 echo "${ECHO_T}$ac_cv_lib_gdk_gdk_im_open" >&6
23004 if test $ac_cv_lib_gdk_gdk_im_open = yes; then
23005 cat >>confdefs.h
<<\_ACEOF
23013 if test "$wxUSE_GPE" = "yes"; then
23014 echo "$as_me:$LINENO: checking for gpewidget library" >&5
23015 echo $ECHO_N "checking for gpewidget library... $ECHO_C" >&6
23018 for ac_dir
in $SEARCH_LIB /usr
/lib
;
23020 for ac_extension
in a so sl dylib
; do
23021 if test -f "$ac_dir/libgpewidget.$ac_extension"; then
23022 ac_find_libraries
=$ac_dir
23028 if test "$ac_find_libraries" != "" ; then
23030 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev
/null
23032 if test $result = 0; then
23035 ac_path_to_link
=" -L$ac_find_libraries"
23038 GUI_TK_LIBRARY
="-L${prefix}/lib -lgpewidget $GUI_TK_LIBRARY"
23040 echo "$as_me:$LINENO: result: found at $ac_find_libraries" >&5
23041 echo "${ECHO_T}found at $ac_find_libraries" >&6
23043 echo "$as_me:$LINENO: result: not found" >&5
23044 echo "${ECHO_T}not found" >&6
23050 if test "$wxUSE_MGL" = 1; then
23051 echo "$as_me:$LINENO: checking for SciTech MGL library" >&5
23052 echo $ECHO_N "checking for SciTech MGL library... $ECHO_C" >&6
23053 if test "x$MGL_ROOT" = x
; then
23054 echo "$as_me:$LINENO: result: not found" >&5
23055 echo "${ECHO_T}not found" >&6
23056 { { echo "$as_me:$LINENO: error: Cannot find MGL library. Make sure MGL_ROOT is set." >&5
23057 echo "$as_me: error: Cannot find MGL library. Make sure MGL_ROOT is set." >&2;}
23058 { (exit 1); exit 1; }; }
23060 echo "$as_me:$LINENO: result: $MGL_ROOT" >&5
23061 echo "${ECHO_T}$MGL_ROOT" >&6
23064 echo "$as_me:$LINENO: checking for libmgl location" >&5
23065 echo $ECHO_N "checking for libmgl location... $ECHO_C" >&6
23068 if test "x$wxUSE_SHARED" = xyes
; then
23069 mgl_os_candidates
="linux/gcc/x86/so linux/gcc/x86/a linux/gcc/glibc.so linux/gcc/glibc"
23071 mgl_os_candidates
="linux/gcc/x86/a linux/gcc/x86/so linux/gcc/glibc linux/gcc/glibc.so"
23075 mgl_os_candidates
="dos32/dj2"
23078 { { echo "$as_me:$LINENO: error: This system type ${host} is not yet supported by wxMGL." >&5
23079 echo "$as_me: error: This system type ${host} is not yet supported by wxMGL." >&2;}
23080 { (exit 1); exit 1; }; }
23086 for mgl_os_i
in $mgl_os_candidates ; do
23087 if test "x$mgl_os" = x
; then
23088 if test "$wxUSE_DEBUG_FLAG" = yes ; then
23089 if test -f $MGL_ROOT/lib
/debug
/$mgl_os_i/libmgl.a
-o \
23090 -f $MGL_ROOT/lib
/debug
/$mgl_os_i/libmgl.so
; then
23095 if test "x$mgl_lib_type" = x
; then
23096 if test -f $MGL_ROOT/lib
/release
/$mgl_os_i/libmgl.a
-o \
23097 -f $MGL_ROOT/lib
/release
/$mgl_os_i/libmgl.so
; then
23098 mgl_lib_type
=release
23105 if test "x$mgl_os" = x
; then
23106 echo "$as_me:$LINENO: result: not found" >&5
23107 echo "${ECHO_T}not found" >&6
23108 { { echo "$as_me:$LINENO: error: Cannot find MGL libraries, make sure they are compiled." >&5
23109 echo "$as_me: error: Cannot find MGL libraries, make sure they are compiled." >&2;}
23110 { (exit 1); exit 1; }; }
23112 echo "$as_me:$LINENO: result: \"$MGL_ROOT/lib/$mgl_lib_type/$mgl_os\"" >&5
23113 echo "${ECHO_T}\"$MGL_ROOT/lib/$mgl_lib_type/$mgl_os\"" >&6
23115 wxUSE_UNIVERSAL
="yes"
23117 TOOLKIT_INCLUDE
="-I$MGL_ROOT/include"
23118 GUI_TK_LIBRARY
="-L$MGL_ROOT/lib/$mgl_lib_type/$mgl_os -lmgl -lmglcpp -lpm"
23120 AFMINSTALL
=afminstall
23125 if test "$wxUSE_MICROWIN" = 1; then
23126 echo "$as_me:$LINENO: checking for MicroWindows" >&5
23127 echo $ECHO_N "checking for MicroWindows... $ECHO_C" >&6
23128 if test "x$MICROWINDOWS" = x
; then
23129 echo "$as_me:$LINENO: result: not found" >&5
23130 echo "${ECHO_T}not found" >&6
23131 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows library. Make sure MICROWINDOWS is set." >&5
23132 echo "$as_me: error: Cannot find MicroWindows library. Make sure MICROWINDOWS is set." >&2;}
23133 { (exit 1); exit 1; }; }
23135 echo "$as_me:$LINENO: result: $MICROWINDOWS" >&5
23136 echo "${ECHO_T}$MICROWINDOWS" >&6
23139 if test -f $MICROWINDOWS/lib
/libmwin.a
; then
23140 echo "$as_me:$LINENO: result: MicroWindows' libraries found." >&5
23141 echo "${ECHO_T}MicroWindows' libraries found." >&6
23143 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows libraries, make sure they are compiled." >&5
23144 echo "$as_me: error: Cannot find MicroWindows libraries, make sure they are compiled." >&2;}
23145 { (exit 1); exit 1; }; }
23148 TOOLKIT_INCLUDE
="-I$MICROWINDOWS/include"
23149 GUI_TK_LIBRARY
="-L$MICROWINDOWS/lib -lmwin -lmwengine -mwfonts -mwdrivers -mwinlib"
23151 wxUSE_UNIVERSAL
="yes"
23153 AFMINSTALL
=afminstall
23155 GUIDIST
=MICROWIN_DIST
23157 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -D__WXMSW__ -D__WIN95__ -D__WIN32__ -DMWIN -DMICROWIN_NOCONTROLS -DMICROWIN_TODO=1"
23160 if test "$wxUSE_X11" = 1; then
23161 echo "$as_me:$LINENO: checking for X" >&5
23162 echo $ECHO_N "checking for X... $ECHO_C" >&6
23165 # Check whether --with-x or --without-x was given.
23166 if test "${with_x+set}" = set; then
23170 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
23171 if test "x$with_x" = xno
; then
23172 # The user explicitly disabled X.
23175 if test "x$x_includes" != xNONE
&& test "x$x_libraries" != xNONE
; then
23176 # Both variables are already set.
23179 if test "${ac_cv_have_x+set}" = set; then
23180 echo $ECHO_N "(cached) $ECHO_C" >&6
23182 # One or both of the vars are not set, and there is no cached value.
23183 ac_x_includes
=no ac_x_libraries
=no
23184 rm -fr conftest.dir
23185 if mkdir conftest.dir
; then
23187 # Make sure to not put "make" in the Imakefile rules, since we grep it out.
23188 cat >Imakefile
<<'_ACEOF'
23190 @echo 'ac_im_incroot="${INCROOT}"; ac_im_usrlibdir="${USRLIBDIR}"; ac_im_libdir="${LIBDIR}"'
23192 if (xmkmf
) >/dev
/null
2>/dev
/null
&& test -f Makefile
; then
23193 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
23194 eval `${MAKE-make} acfindx 2>/dev/null | grep -v make`
23195 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
23196 for ac_extension
in a so sl
; do
23197 if test ! -f $ac_im_usrlibdir/libX11.
$ac_extension &&
23198 test -f $ac_im_libdir/libX11.
$ac_extension; then
23199 ac_im_usrlibdir
=$ac_im_libdir; break
23202 # Screen out bogus values from the imake configuration. They are
23203 # bogus both because they are the default anyway, and because
23204 # using them would break gcc on systems where it needs fixed includes.
23205 case $ac_im_incroot in
23207 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes
=$ac_im_incroot;;
23209 case $ac_im_usrlibdir in
23210 /usr
/lib
| /lib
) ;;
23211 *) test -d "$ac_im_usrlibdir" && ac_x_libraries
=$ac_im_usrlibdir ;;
23215 rm -fr conftest.dir
23218 # Standard set of common directories for X headers.
23219 # Check X11 before X11Rn because it is often a symlink to the current release.
23231 /usr/local/X11/include
23232 /usr/local/X11R6/include
23233 /usr/local/X11R5/include
23234 /usr/local/X11R4/include
23236 /usr/local/include/X11
23237 /usr/local/include/X11R6
23238 /usr/local/include/X11R5
23239 /usr/local/include/X11R4
23243 /usr/XFree86/include/X11
23247 /usr/unsupported/include
23248 /usr/athena/include
23249 /usr/local/x11r5/include
23250 /usr/lpp/Xamples/include
23252 /usr/openwin/include
23253 /usr/openwin/share/include'
23255 if test "$ac_x_includes" = no
; then
23256 # Guess where to find include files, by looking for Intrinsic.h.
23257 # First, try using that file with no special directory specified.
23258 cat >conftest.
$ac_ext <<_ACEOF
23261 cat confdefs.h
>>conftest.
$ac_ext
23262 cat >>conftest.
$ac_ext <<_ACEOF
23263 /* end confdefs.h. */
23264 #include <X11/Intrinsic.h>
23266 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
23267 (eval $ac_cpp conftest.
$ac_ext) 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); } >/dev
/null
; then
23274 if test -s conftest.err
; then
23275 ac_cpp_err
=$ac_c_preproc_warn_flag
23276 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
23283 if test -z "$ac_cpp_err"; then
23284 # We can compile using X headers with no special include directory.
23287 echo "$as_me: failed program was:" >&5
23288 sed 's/^/| /' conftest.
$ac_ext >&5
23290 for ac_dir
in $ac_x_header_dirs; do
23291 if test -r "$ac_dir/X11/Intrinsic.h"; then
23292 ac_x_includes
=$ac_dir
23297 rm -f conftest.err conftest.
$ac_ext
23298 fi # $ac_x_includes = no
23300 if test "$ac_x_libraries" = no
; then
23301 # Check for the libraries.
23302 # See if we find them without any special options.
23303 # Don't add to $LIBS permanently.
23306 cat >conftest.
$ac_ext <<_ACEOF
23309 cat confdefs.h
>>conftest.
$ac_ext
23310 cat >>conftest.
$ac_ext <<_ACEOF
23311 /* end confdefs.h. */
23312 #include <X11/Intrinsic.h>
23321 rm -f conftest.
$ac_objext conftest
$ac_exeext
23322 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23323 (eval $ac_link) 2>conftest.er1
23325 grep -v '^ *+' conftest.er1
>conftest.err
23327 cat conftest.err
>&5
23328 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23329 (exit $ac_status); } &&
23330 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
23331 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23332 (eval $ac_try) 2>&5
23334 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23335 (exit $ac_status); }; } &&
23336 { ac_try
='test -s conftest$ac_exeext'
23337 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23338 (eval $ac_try) 2>&5
23340 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23341 (exit $ac_status); }; }; then
23343 # We can link X programs with no special library path.
23346 echo "$as_me: failed program was:" >&5
23347 sed 's/^/| /' conftest.
$ac_ext >&5
23350 for ac_dir
in `echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
23352 # Don't even attempt the hair of trying to link an X program!
23353 for ac_extension
in a so sl
; do
23354 if test -r $ac_dir/libXt.
$ac_extension; then
23355 ac_x_libraries
=$ac_dir
23361 rm -f conftest.err conftest.
$ac_objext \
23362 conftest
$ac_exeext conftest.
$ac_ext
23363 fi # $ac_x_libraries = no
23365 if test "$ac_x_includes" = no
|| test "$ac_x_libraries" = no
; then
23366 # Didn't find X anywhere. Cache the known absence of X.
23367 ac_cv_have_x
="have_x=no"
23369 # Record where we found X for the cache.
23370 ac_cv_have_x
="have_x=yes \
23371 ac_x_includes=$ac_x_includes ac_x_libraries=$ac_x_libraries"
23376 eval "$ac_cv_have_x"
23379 if test "$have_x" != yes; then
23380 echo "$as_me:$LINENO: result: $have_x" >&5
23381 echo "${ECHO_T}$have_x" >&6
23384 # If each of the values was on the command line, it overrides each guess.
23385 test "x$x_includes" = xNONE
&& x_includes
=$ac_x_includes
23386 test "x$x_libraries" = xNONE
&& x_libraries
=$ac_x_libraries
23387 # Update the cache value to reflect the command line values.
23388 ac_cv_have_x
="have_x=yes \
23389 ac_x_includes=$x_includes ac_x_libraries=$x_libraries"
23390 echo "$as_me:$LINENO: result: libraries $x_libraries, headers $x_includes" >&5
23391 echo "${ECHO_T}libraries $x_libraries, headers $x_includes" >&6
23394 if test "$no_x" = yes; then
23395 # Not all programs may use this symbol, but it does not hurt to define it.
23397 cat >>confdefs.h
<<\_ACEOF
23398 #define X_DISPLAY_MISSING 1
23401 X_CFLAGS
= X_PRE_LIBS
= X_LIBS
= X_EXTRA_LIBS
=
23403 if test -n "$x_includes"; then
23404 X_CFLAGS
="$X_CFLAGS -I$x_includes"
23407 # It would also be nice to do this for all -L options, not just this one.
23408 if test -n "$x_libraries"; then
23409 X_LIBS
="$X_LIBS -L$x_libraries"
23410 # For Solaris; some versions of Sun CC require a space after -R and
23411 # others require no space. Words are not sufficient . . . .
23412 case `(uname -sr) 2>/dev/null` in
23414 echo "$as_me:$LINENO: checking whether -R must be followed by a space" >&5
23415 echo $ECHO_N "checking whether -R must be followed by a space... $ECHO_C" >&6
23416 ac_xsave_LIBS
=$LIBS; LIBS
="$LIBS -R$x_libraries"
23417 cat >conftest.
$ac_ext <<_ACEOF
23420 cat confdefs.h
>>conftest.
$ac_ext
23421 cat >>conftest.
$ac_ext <<_ACEOF
23422 /* end confdefs.h. */
23432 rm -f conftest.
$ac_objext conftest
$ac_exeext
23433 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23434 (eval $ac_link) 2>conftest.er1
23436 grep -v '^ *+' conftest.er1
>conftest.err
23438 cat conftest.err
>&5
23439 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23440 (exit $ac_status); } &&
23441 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
23442 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23443 (eval $ac_try) 2>&5
23445 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23446 (exit $ac_status); }; } &&
23447 { ac_try
='test -s conftest$ac_exeext'
23448 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23449 (eval $ac_try) 2>&5
23451 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23452 (exit $ac_status); }; }; then
23455 echo "$as_me: failed program was:" >&5
23456 sed 's/^/| /' conftest.
$ac_ext >&5
23460 rm -f conftest.err conftest.
$ac_objext \
23461 conftest
$ac_exeext conftest.
$ac_ext
23462 if test $ac_R_nospace = yes; then
23463 echo "$as_me:$LINENO: result: no" >&5
23464 echo "${ECHO_T}no" >&6
23465 X_LIBS
="$X_LIBS -R$x_libraries"
23467 LIBS
="$ac_xsave_LIBS -R $x_libraries"
23468 cat >conftest.
$ac_ext <<_ACEOF
23471 cat confdefs.h
>>conftest.
$ac_ext
23472 cat >>conftest.
$ac_ext <<_ACEOF
23473 /* end confdefs.h. */
23483 rm -f conftest.
$ac_objext conftest
$ac_exeext
23484 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23485 (eval $ac_link) 2>conftest.er1
23487 grep -v '^ *+' conftest.er1
>conftest.err
23489 cat conftest.err
>&5
23490 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23491 (exit $ac_status); } &&
23492 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
23493 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23494 (eval $ac_try) 2>&5
23496 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23497 (exit $ac_status); }; } &&
23498 { ac_try
='test -s conftest$ac_exeext'
23499 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23500 (eval $ac_try) 2>&5
23502 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23503 (exit $ac_status); }; }; then
23506 echo "$as_me: failed program was:" >&5
23507 sed 's/^/| /' conftest.
$ac_ext >&5
23511 rm -f conftest.err conftest.
$ac_objext \
23512 conftest
$ac_exeext conftest.
$ac_ext
23513 if test $ac_R_space = yes; then
23514 echo "$as_me:$LINENO: result: yes" >&5
23515 echo "${ECHO_T}yes" >&6
23516 X_LIBS
="$X_LIBS -R $x_libraries"
23518 echo "$as_me:$LINENO: result: neither works" >&5
23519 echo "${ECHO_T}neither works" >&6
23522 LIBS
=$ac_xsave_LIBS
23526 # Check for system-dependent libraries X programs must link with.
23527 # Do this before checking for the system-independent R6 libraries
23528 # (-lICE), since we may need -lsocket or whatever for X linking.
23530 if test "$ISC" = yes; then
23531 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl_s -linet"
23533 # Martyn Johnson says this is needed for Ultrix, if the X
23534 # libraries were built with DECnet support. And Karl Berry says
23535 # the Alpha needs dnet_stub (dnet does not exist).
23536 ac_xsave_LIBS
="$LIBS"; LIBS
="$LIBS $X_LIBS -lX11"
23537 cat >conftest.
$ac_ext <<_ACEOF
23540 cat confdefs.h
>>conftest.
$ac_ext
23541 cat >>conftest.
$ac_ext <<_ACEOF
23542 /* end confdefs.h. */
23544 /* Override any gcc2 internal prototype to avoid an error. */
23548 /* We use char because int might match the return type of a gcc2
23549 builtin and then its argument prototype would still apply. */
23550 char XOpenDisplay ();
23559 rm -f conftest.
$ac_objext conftest
$ac_exeext
23560 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23561 (eval $ac_link) 2>conftest.er1
23563 grep -v '^ *+' conftest.er1
>conftest.err
23565 cat conftest.err
>&5
23566 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23567 (exit $ac_status); } &&
23568 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
23569 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23570 (eval $ac_try) 2>&5
23572 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23573 (exit $ac_status); }; } &&
23574 { ac_try
='test -s conftest$ac_exeext'
23575 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23576 (eval $ac_try) 2>&5
23578 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23579 (exit $ac_status); }; }; then
23582 echo "$as_me: failed program was:" >&5
23583 sed 's/^/| /' conftest.
$ac_ext >&5
23585 echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet" >&5
23586 echo $ECHO_N "checking for dnet_ntoa in -ldnet... $ECHO_C" >&6
23587 if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then
23588 echo $ECHO_N "(cached) $ECHO_C" >&6
23590 ac_check_lib_save_LIBS
=$LIBS
23591 LIBS
="-ldnet $LIBS"
23592 cat >conftest.
$ac_ext <<_ACEOF
23595 cat confdefs.h
>>conftest.
$ac_ext
23596 cat >>conftest.
$ac_ext <<_ACEOF
23597 /* end confdefs.h. */
23599 /* Override any gcc2 internal prototype to avoid an error. */
23603 /* We use char because int might match the return type of a gcc2
23604 builtin and then its argument prototype would still apply. */
23614 rm -f conftest.
$ac_objext conftest
$ac_exeext
23615 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23616 (eval $ac_link) 2>conftest.er1
23618 grep -v '^ *+' conftest.er1
>conftest.err
23620 cat conftest.err
>&5
23621 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23622 (exit $ac_status); } &&
23623 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
23624 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23625 (eval $ac_try) 2>&5
23627 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23628 (exit $ac_status); }; } &&
23629 { ac_try
='test -s conftest$ac_exeext'
23630 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23631 (eval $ac_try) 2>&5
23633 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23634 (exit $ac_status); }; }; then
23635 ac_cv_lib_dnet_dnet_ntoa
=yes
23637 echo "$as_me: failed program was:" >&5
23638 sed 's/^/| /' conftest.
$ac_ext >&5
23640 ac_cv_lib_dnet_dnet_ntoa
=no
23642 rm -f conftest.err conftest.
$ac_objext \
23643 conftest
$ac_exeext conftest.
$ac_ext
23644 LIBS
=$ac_check_lib_save_LIBS
23646 echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
23647 echo "${ECHO_T}$ac_cv_lib_dnet_dnet_ntoa" >&6
23648 if test $ac_cv_lib_dnet_dnet_ntoa = yes; then
23649 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet"
23652 if test $ac_cv_lib_dnet_dnet_ntoa = no
; then
23653 echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet_stub" >&5
23654 echo $ECHO_N "checking for dnet_ntoa in -ldnet_stub... $ECHO_C" >&6
23655 if test "${ac_cv_lib_dnet_stub_dnet_ntoa+set}" = set; then
23656 echo $ECHO_N "(cached) $ECHO_C" >&6
23658 ac_check_lib_save_LIBS
=$LIBS
23659 LIBS
="-ldnet_stub $LIBS"
23660 cat >conftest.
$ac_ext <<_ACEOF
23663 cat confdefs.h
>>conftest.
$ac_ext
23664 cat >>conftest.
$ac_ext <<_ACEOF
23665 /* end confdefs.h. */
23667 /* Override any gcc2 internal prototype to avoid an error. */
23671 /* We use char because int might match the return type of a gcc2
23672 builtin and then its argument prototype would still apply. */
23682 rm -f conftest.
$ac_objext conftest
$ac_exeext
23683 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23684 (eval $ac_link) 2>conftest.er1
23686 grep -v '^ *+' conftest.er1
>conftest.err
23688 cat conftest.err
>&5
23689 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23690 (exit $ac_status); } &&
23691 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
23692 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23693 (eval $ac_try) 2>&5
23695 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23696 (exit $ac_status); }; } &&
23697 { ac_try
='test -s conftest$ac_exeext'
23698 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23699 (eval $ac_try) 2>&5
23701 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23702 (exit $ac_status); }; }; then
23703 ac_cv_lib_dnet_stub_dnet_ntoa
=yes
23705 echo "$as_me: failed program was:" >&5
23706 sed 's/^/| /' conftest.
$ac_ext >&5
23708 ac_cv_lib_dnet_stub_dnet_ntoa
=no
23710 rm -f conftest.err conftest.
$ac_objext \
23711 conftest
$ac_exeext conftest.
$ac_ext
23712 LIBS
=$ac_check_lib_save_LIBS
23714 echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
23715 echo "${ECHO_T}$ac_cv_lib_dnet_stub_dnet_ntoa" >&6
23716 if test $ac_cv_lib_dnet_stub_dnet_ntoa = yes; then
23717 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet_stub"
23722 rm -f conftest.err conftest.
$ac_objext \
23723 conftest
$ac_exeext conftest.
$ac_ext
23724 LIBS
="$ac_xsave_LIBS"
23726 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
23727 # to get the SysV transport functions.
23728 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
23730 # The nsl library prevents programs from opening the X display
23731 # on Irix 5.2, according to T.E. Dickey.
23732 # The functions gethostbyname, getservbyname, and inet_addr are
23733 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
23734 echo "$as_me:$LINENO: checking for gethostbyname" >&5
23735 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6
23736 if test "${ac_cv_func_gethostbyname+set}" = set; then
23737 echo $ECHO_N "(cached) $ECHO_C" >&6
23739 cat >conftest.
$ac_ext <<_ACEOF
23742 cat confdefs.h
>>conftest.
$ac_ext
23743 cat >>conftest.
$ac_ext <<_ACEOF
23744 /* end confdefs.h. */
23745 /* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
23746 For example, HP-UX 11i <limits.h> declares gettimeofday. */
23747 #define gethostbyname innocuous_gethostbyname
23749 /* System header to define __stub macros and hopefully few prototypes,
23750 which can conflict with char gethostbyname (); below.
23751 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
23752 <limits.h> exists even on freestanding compilers. */
23755 # include <limits.h>
23757 # include <assert.h>
23760 #undef gethostbyname
23762 /* Override any gcc2 internal prototype to avoid an error. */
23767 /* We use char because int might match the return type of a gcc2
23768 builtin and then its argument prototype would still apply. */
23769 char gethostbyname ();
23770 /* The GNU C library defines this for functions which it implements
23771 to always fail with ENOSYS. Some functions are actually named
23772 something starting with __ and the normal name is an alias. */
23773 #if defined (__stub_gethostbyname) || defined (__stub___gethostbyname)
23776 char (*f) () = gethostbyname;
23785 return f != gethostbyname;
23790 rm -f conftest.
$ac_objext conftest
$ac_exeext
23791 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23792 (eval $ac_link) 2>conftest.er1
23794 grep -v '^ *+' conftest.er1
>conftest.err
23796 cat conftest.err
>&5
23797 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23798 (exit $ac_status); } &&
23799 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
23800 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23801 (eval $ac_try) 2>&5
23803 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23804 (exit $ac_status); }; } &&
23805 { ac_try
='test -s conftest$ac_exeext'
23806 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23807 (eval $ac_try) 2>&5
23809 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23810 (exit $ac_status); }; }; then
23811 ac_cv_func_gethostbyname
=yes
23813 echo "$as_me: failed program was:" >&5
23814 sed 's/^/| /' conftest.
$ac_ext >&5
23816 ac_cv_func_gethostbyname
=no
23818 rm -f conftest.err conftest.
$ac_objext \
23819 conftest
$ac_exeext conftest.
$ac_ext
23821 echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
23822 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6
23824 if test $ac_cv_func_gethostbyname = no
; then
23825 echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
23826 echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6
23827 if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
23828 echo $ECHO_N "(cached) $ECHO_C" >&6
23830 ac_check_lib_save_LIBS
=$LIBS
23832 cat >conftest.
$ac_ext <<_ACEOF
23835 cat confdefs.h
>>conftest.
$ac_ext
23836 cat >>conftest.
$ac_ext <<_ACEOF
23837 /* end confdefs.h. */
23839 /* Override any gcc2 internal prototype to avoid an error. */
23843 /* We use char because int might match the return type of a gcc2
23844 builtin and then its argument prototype would still apply. */
23845 char gethostbyname ();
23854 rm -f conftest.
$ac_objext conftest
$ac_exeext
23855 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23856 (eval $ac_link) 2>conftest.er1
23858 grep -v '^ *+' conftest.er1
>conftest.err
23860 cat conftest.err
>&5
23861 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23862 (exit $ac_status); } &&
23863 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
23864 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23865 (eval $ac_try) 2>&5
23867 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23868 (exit $ac_status); }; } &&
23869 { ac_try
='test -s conftest$ac_exeext'
23870 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23871 (eval $ac_try) 2>&5
23873 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23874 (exit $ac_status); }; }; then
23875 ac_cv_lib_nsl_gethostbyname
=yes
23877 echo "$as_me: failed program was:" >&5
23878 sed 's/^/| /' conftest.
$ac_ext >&5
23880 ac_cv_lib_nsl_gethostbyname
=no
23882 rm -f conftest.err conftest.
$ac_objext \
23883 conftest
$ac_exeext conftest.
$ac_ext
23884 LIBS
=$ac_check_lib_save_LIBS
23886 echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
23887 echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6
23888 if test $ac_cv_lib_nsl_gethostbyname = yes; then
23889 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl"
23892 if test $ac_cv_lib_nsl_gethostbyname = no
; then
23893 echo "$as_me:$LINENO: checking for gethostbyname in -lbsd" >&5
23894 echo $ECHO_N "checking for gethostbyname in -lbsd... $ECHO_C" >&6
23895 if test "${ac_cv_lib_bsd_gethostbyname+set}" = set; then
23896 echo $ECHO_N "(cached) $ECHO_C" >&6
23898 ac_check_lib_save_LIBS
=$LIBS
23900 cat >conftest.
$ac_ext <<_ACEOF
23903 cat confdefs.h
>>conftest.
$ac_ext
23904 cat >>conftest.
$ac_ext <<_ACEOF
23905 /* end confdefs.h. */
23907 /* Override any gcc2 internal prototype to avoid an error. */
23911 /* We use char because int might match the return type of a gcc2
23912 builtin and then its argument prototype would still apply. */
23913 char gethostbyname ();
23922 rm -f conftest.
$ac_objext conftest
$ac_exeext
23923 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23924 (eval $ac_link) 2>conftest.er1
23926 grep -v '^ *+' conftest.er1
>conftest.err
23928 cat conftest.err
>&5
23929 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23930 (exit $ac_status); } &&
23931 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
23932 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23933 (eval $ac_try) 2>&5
23935 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23936 (exit $ac_status); }; } &&
23937 { ac_try
='test -s conftest$ac_exeext'
23938 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23939 (eval $ac_try) 2>&5
23941 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23942 (exit $ac_status); }; }; then
23943 ac_cv_lib_bsd_gethostbyname
=yes
23945 echo "$as_me: failed program was:" >&5
23946 sed 's/^/| /' conftest.
$ac_ext >&5
23948 ac_cv_lib_bsd_gethostbyname
=no
23950 rm -f conftest.err conftest.
$ac_objext \
23951 conftest
$ac_exeext conftest.
$ac_ext
23952 LIBS
=$ac_check_lib_save_LIBS
23954 echo "$as_me:$LINENO: result: $ac_cv_lib_bsd_gethostbyname" >&5
23955 echo "${ECHO_T}$ac_cv_lib_bsd_gethostbyname" >&6
23956 if test $ac_cv_lib_bsd_gethostbyname = yes; then
23957 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lbsd"
23963 # lieder@skyler.mavd.honeywell.com says without -lsocket,
23964 # socket/setsockopt and other routines are undefined under SCO ODT
23965 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
23966 # on later versions), says Simon Leinen: it contains gethostby*
23967 # variants that don't use the name server (or something). -lsocket
23968 # must be given before -lnsl if both are needed. We assume that
23969 # if connect needs -lnsl, so does gethostbyname.
23970 echo "$as_me:$LINENO: checking for connect" >&5
23971 echo $ECHO_N "checking for connect... $ECHO_C" >&6
23972 if test "${ac_cv_func_connect+set}" = set; then
23973 echo $ECHO_N "(cached) $ECHO_C" >&6
23975 cat >conftest.
$ac_ext <<_ACEOF
23978 cat confdefs.h
>>conftest.
$ac_ext
23979 cat >>conftest.
$ac_ext <<_ACEOF
23980 /* end confdefs.h. */
23981 /* Define connect to an innocuous variant, in case <limits.h> declares connect.
23982 For example, HP-UX 11i <limits.h> declares gettimeofday. */
23983 #define connect innocuous_connect
23985 /* System header to define __stub macros and hopefully few prototypes,
23986 which can conflict with char connect (); below.
23987 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
23988 <limits.h> exists even on freestanding compilers. */
23991 # include <limits.h>
23993 # include <assert.h>
23998 /* Override any gcc2 internal prototype to avoid an error. */
24003 /* We use char because int might match the return type of a gcc2
24004 builtin and then its argument prototype would still apply. */
24006 /* The GNU C library defines this for functions which it implements
24007 to always fail with ENOSYS. Some functions are actually named
24008 something starting with __ and the normal name is an alias. */
24009 #if defined (__stub_connect) || defined (__stub___connect)
24012 char (*f) () = connect;
24021 return f != connect;
24026 rm -f conftest.
$ac_objext conftest
$ac_exeext
24027 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24028 (eval $ac_link) 2>conftest.er1
24030 grep -v '^ *+' conftest.er1
>conftest.err
24032 cat conftest.err
>&5
24033 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24034 (exit $ac_status); } &&
24035 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
24036 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24037 (eval $ac_try) 2>&5
24039 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24040 (exit $ac_status); }; } &&
24041 { ac_try
='test -s conftest$ac_exeext'
24042 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24043 (eval $ac_try) 2>&5
24045 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24046 (exit $ac_status); }; }; then
24047 ac_cv_func_connect
=yes
24049 echo "$as_me: failed program was:" >&5
24050 sed 's/^/| /' conftest.
$ac_ext >&5
24052 ac_cv_func_connect
=no
24054 rm -f conftest.err conftest.
$ac_objext \
24055 conftest
$ac_exeext conftest.
$ac_ext
24057 echo "$as_me:$LINENO: result: $ac_cv_func_connect" >&5
24058 echo "${ECHO_T}$ac_cv_func_connect" >&6
24060 if test $ac_cv_func_connect = no
; then
24061 echo "$as_me:$LINENO: checking for connect in -lsocket" >&5
24062 echo $ECHO_N "checking for connect in -lsocket... $ECHO_C" >&6
24063 if test "${ac_cv_lib_socket_connect+set}" = set; then
24064 echo $ECHO_N "(cached) $ECHO_C" >&6
24066 ac_check_lib_save_LIBS
=$LIBS
24067 LIBS
="-lsocket $X_EXTRA_LIBS $LIBS"
24068 cat >conftest.
$ac_ext <<_ACEOF
24071 cat confdefs.h
>>conftest.
$ac_ext
24072 cat >>conftest.
$ac_ext <<_ACEOF
24073 /* end confdefs.h. */
24075 /* Override any gcc2 internal prototype to avoid an error. */
24079 /* We use char because int might match the return type of a gcc2
24080 builtin and then its argument prototype would still apply. */
24090 rm -f conftest.
$ac_objext conftest
$ac_exeext
24091 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24092 (eval $ac_link) 2>conftest.er1
24094 grep -v '^ *+' conftest.er1
>conftest.err
24096 cat conftest.err
>&5
24097 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24098 (exit $ac_status); } &&
24099 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
24100 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24101 (eval $ac_try) 2>&5
24103 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24104 (exit $ac_status); }; } &&
24105 { ac_try
='test -s conftest$ac_exeext'
24106 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24107 (eval $ac_try) 2>&5
24109 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24110 (exit $ac_status); }; }; then
24111 ac_cv_lib_socket_connect
=yes
24113 echo "$as_me: failed program was:" >&5
24114 sed 's/^/| /' conftest.
$ac_ext >&5
24116 ac_cv_lib_socket_connect
=no
24118 rm -f conftest.err conftest.
$ac_objext \
24119 conftest
$ac_exeext conftest.
$ac_ext
24120 LIBS
=$ac_check_lib_save_LIBS
24122 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5
24123 echo "${ECHO_T}$ac_cv_lib_socket_connect" >&6
24124 if test $ac_cv_lib_socket_connect = yes; then
24125 X_EXTRA_LIBS
="-lsocket $X_EXTRA_LIBS"
24130 # Guillermo Gomez says -lposix is necessary on A/UX.
24131 echo "$as_me:$LINENO: checking for remove" >&5
24132 echo $ECHO_N "checking for remove... $ECHO_C" >&6
24133 if test "${ac_cv_func_remove+set}" = set; then
24134 echo $ECHO_N "(cached) $ECHO_C" >&6
24136 cat >conftest.
$ac_ext <<_ACEOF
24139 cat confdefs.h
>>conftest.
$ac_ext
24140 cat >>conftest.
$ac_ext <<_ACEOF
24141 /* end confdefs.h. */
24142 /* Define remove to an innocuous variant, in case <limits.h> declares remove.
24143 For example, HP-UX 11i <limits.h> declares gettimeofday. */
24144 #define remove innocuous_remove
24146 /* System header to define __stub macros and hopefully few prototypes,
24147 which can conflict with char remove (); below.
24148 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24149 <limits.h> exists even on freestanding compilers. */
24152 # include <limits.h>
24154 # include <assert.h>
24159 /* Override any gcc2 internal prototype to avoid an error. */
24164 /* We use char because int might match the return type of a gcc2
24165 builtin and then its argument prototype would still apply. */
24167 /* The GNU C library defines this for functions which it implements
24168 to always fail with ENOSYS. Some functions are actually named
24169 something starting with __ and the normal name is an alias. */
24170 #if defined (__stub_remove) || defined (__stub___remove)
24173 char (*f) () = remove;
24182 return f != remove;
24187 rm -f conftest.
$ac_objext conftest
$ac_exeext
24188 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24189 (eval $ac_link) 2>conftest.er1
24191 grep -v '^ *+' conftest.er1
>conftest.err
24193 cat conftest.err
>&5
24194 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24195 (exit $ac_status); } &&
24196 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
24197 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24198 (eval $ac_try) 2>&5
24200 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24201 (exit $ac_status); }; } &&
24202 { ac_try
='test -s conftest$ac_exeext'
24203 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24204 (eval $ac_try) 2>&5
24206 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24207 (exit $ac_status); }; }; then
24208 ac_cv_func_remove
=yes
24210 echo "$as_me: failed program was:" >&5
24211 sed 's/^/| /' conftest.
$ac_ext >&5
24213 ac_cv_func_remove
=no
24215 rm -f conftest.err conftest.
$ac_objext \
24216 conftest
$ac_exeext conftest.
$ac_ext
24218 echo "$as_me:$LINENO: result: $ac_cv_func_remove" >&5
24219 echo "${ECHO_T}$ac_cv_func_remove" >&6
24221 if test $ac_cv_func_remove = no
; then
24222 echo "$as_me:$LINENO: checking for remove in -lposix" >&5
24223 echo $ECHO_N "checking for remove in -lposix... $ECHO_C" >&6
24224 if test "${ac_cv_lib_posix_remove+set}" = set; then
24225 echo $ECHO_N "(cached) $ECHO_C" >&6
24227 ac_check_lib_save_LIBS
=$LIBS
24228 LIBS
="-lposix $LIBS"
24229 cat >conftest.
$ac_ext <<_ACEOF
24232 cat confdefs.h
>>conftest.
$ac_ext
24233 cat >>conftest.
$ac_ext <<_ACEOF
24234 /* end confdefs.h. */
24236 /* Override any gcc2 internal prototype to avoid an error. */
24240 /* We use char because int might match the return type of a gcc2
24241 builtin and then its argument prototype would still apply. */
24251 rm -f conftest.
$ac_objext conftest
$ac_exeext
24252 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24253 (eval $ac_link) 2>conftest.er1
24255 grep -v '^ *+' conftest.er1
>conftest.err
24257 cat conftest.err
>&5
24258 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24259 (exit $ac_status); } &&
24260 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
24261 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24262 (eval $ac_try) 2>&5
24264 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24265 (exit $ac_status); }; } &&
24266 { ac_try
='test -s conftest$ac_exeext'
24267 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24268 (eval $ac_try) 2>&5
24270 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24271 (exit $ac_status); }; }; then
24272 ac_cv_lib_posix_remove
=yes
24274 echo "$as_me: failed program was:" >&5
24275 sed 's/^/| /' conftest.
$ac_ext >&5
24277 ac_cv_lib_posix_remove
=no
24279 rm -f conftest.err conftest.
$ac_objext \
24280 conftest
$ac_exeext conftest.
$ac_ext
24281 LIBS
=$ac_check_lib_save_LIBS
24283 echo "$as_me:$LINENO: result: $ac_cv_lib_posix_remove" >&5
24284 echo "${ECHO_T}$ac_cv_lib_posix_remove" >&6
24285 if test $ac_cv_lib_posix_remove = yes; then
24286 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lposix"
24291 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
24292 echo "$as_me:$LINENO: checking for shmat" >&5
24293 echo $ECHO_N "checking for shmat... $ECHO_C" >&6
24294 if test "${ac_cv_func_shmat+set}" = set; then
24295 echo $ECHO_N "(cached) $ECHO_C" >&6
24297 cat >conftest.
$ac_ext <<_ACEOF
24300 cat confdefs.h
>>conftest.
$ac_ext
24301 cat >>conftest.
$ac_ext <<_ACEOF
24302 /* end confdefs.h. */
24303 /* Define shmat to an innocuous variant, in case <limits.h> declares shmat.
24304 For example, HP-UX 11i <limits.h> declares gettimeofday. */
24305 #define shmat innocuous_shmat
24307 /* System header to define __stub macros and hopefully few prototypes,
24308 which can conflict with char shmat (); below.
24309 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24310 <limits.h> exists even on freestanding compilers. */
24313 # include <limits.h>
24315 # include <assert.h>
24320 /* Override any gcc2 internal prototype to avoid an error. */
24325 /* We use char because int might match the return type of a gcc2
24326 builtin and then its argument prototype would still apply. */
24328 /* The GNU C library defines this for functions which it implements
24329 to always fail with ENOSYS. Some functions are actually named
24330 something starting with __ and the normal name is an alias. */
24331 #if defined (__stub_shmat) || defined (__stub___shmat)
24334 char (*f) () = shmat;
24348 rm -f conftest.
$ac_objext conftest
$ac_exeext
24349 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24350 (eval $ac_link) 2>conftest.er1
24352 grep -v '^ *+' conftest.er1
>conftest.err
24354 cat conftest.err
>&5
24355 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24356 (exit $ac_status); } &&
24357 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
24358 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24359 (eval $ac_try) 2>&5
24361 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24362 (exit $ac_status); }; } &&
24363 { ac_try
='test -s conftest$ac_exeext'
24364 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24365 (eval $ac_try) 2>&5
24367 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24368 (exit $ac_status); }; }; then
24369 ac_cv_func_shmat
=yes
24371 echo "$as_me: failed program was:" >&5
24372 sed 's/^/| /' conftest.
$ac_ext >&5
24374 ac_cv_func_shmat
=no
24376 rm -f conftest.err conftest.
$ac_objext \
24377 conftest
$ac_exeext conftest.
$ac_ext
24379 echo "$as_me:$LINENO: result: $ac_cv_func_shmat" >&5
24380 echo "${ECHO_T}$ac_cv_func_shmat" >&6
24382 if test $ac_cv_func_shmat = no
; then
24383 echo "$as_me:$LINENO: checking for shmat in -lipc" >&5
24384 echo $ECHO_N "checking for shmat in -lipc... $ECHO_C" >&6
24385 if test "${ac_cv_lib_ipc_shmat+set}" = set; then
24386 echo $ECHO_N "(cached) $ECHO_C" >&6
24388 ac_check_lib_save_LIBS
=$LIBS
24390 cat >conftest.
$ac_ext <<_ACEOF
24393 cat confdefs.h
>>conftest.
$ac_ext
24394 cat >>conftest.
$ac_ext <<_ACEOF
24395 /* end confdefs.h. */
24397 /* Override any gcc2 internal prototype to avoid an error. */
24401 /* We use char because int might match the return type of a gcc2
24402 builtin and then its argument prototype would still apply. */
24412 rm -f conftest.
$ac_objext conftest
$ac_exeext
24413 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24414 (eval $ac_link) 2>conftest.er1
24416 grep -v '^ *+' conftest.er1
>conftest.err
24418 cat conftest.err
>&5
24419 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24420 (exit $ac_status); } &&
24421 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
24422 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24423 (eval $ac_try) 2>&5
24425 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24426 (exit $ac_status); }; } &&
24427 { ac_try
='test -s conftest$ac_exeext'
24428 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24429 (eval $ac_try) 2>&5
24431 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24432 (exit $ac_status); }; }; then
24433 ac_cv_lib_ipc_shmat
=yes
24435 echo "$as_me: failed program was:" >&5
24436 sed 's/^/| /' conftest.
$ac_ext >&5
24438 ac_cv_lib_ipc_shmat
=no
24440 rm -f conftest.err conftest.
$ac_objext \
24441 conftest
$ac_exeext conftest.
$ac_ext
24442 LIBS
=$ac_check_lib_save_LIBS
24444 echo "$as_me:$LINENO: result: $ac_cv_lib_ipc_shmat" >&5
24445 echo "${ECHO_T}$ac_cv_lib_ipc_shmat" >&6
24446 if test $ac_cv_lib_ipc_shmat = yes; then
24447 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lipc"
24453 # Check for libraries that X11R6 Xt/Xaw programs need.
24454 ac_save_LDFLAGS
=$LDFLAGS
24455 test -n "$x_libraries" && LDFLAGS
="$LDFLAGS -L$x_libraries"
24456 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
24457 # check for ICE first), but we must link in the order -lSM -lICE or
24458 # we get undefined symbols. So assume we have SM if we have ICE.
24459 # These have to be linked with before -lX11, unlike the other
24460 # libraries we check for below, so use a different variable.
24461 # John Interrante, Karl Berry
24462 echo "$as_me:$LINENO: checking for IceConnectionNumber in -lICE" >&5
24463 echo $ECHO_N "checking for IceConnectionNumber in -lICE... $ECHO_C" >&6
24464 if test "${ac_cv_lib_ICE_IceConnectionNumber+set}" = set; then
24465 echo $ECHO_N "(cached) $ECHO_C" >&6
24467 ac_check_lib_save_LIBS
=$LIBS
24468 LIBS
="-lICE $X_EXTRA_LIBS $LIBS"
24469 cat >conftest.
$ac_ext <<_ACEOF
24472 cat confdefs.h
>>conftest.
$ac_ext
24473 cat >>conftest.
$ac_ext <<_ACEOF
24474 /* end confdefs.h. */
24476 /* Override any gcc2 internal prototype to avoid an error. */
24480 /* We use char because int might match the return type of a gcc2
24481 builtin and then its argument prototype would still apply. */
24482 char IceConnectionNumber ();
24486 IceConnectionNumber ();
24491 rm -f conftest.
$ac_objext conftest
$ac_exeext
24492 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24493 (eval $ac_link) 2>conftest.er1
24495 grep -v '^ *+' conftest.er1
>conftest.err
24497 cat conftest.err
>&5
24498 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24499 (exit $ac_status); } &&
24500 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
24501 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24502 (eval $ac_try) 2>&5
24504 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24505 (exit $ac_status); }; } &&
24506 { ac_try
='test -s conftest$ac_exeext'
24507 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24508 (eval $ac_try) 2>&5
24510 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24511 (exit $ac_status); }; }; then
24512 ac_cv_lib_ICE_IceConnectionNumber
=yes
24514 echo "$as_me: failed program was:" >&5
24515 sed 's/^/| /' conftest.
$ac_ext >&5
24517 ac_cv_lib_ICE_IceConnectionNumber
=no
24519 rm -f conftest.err conftest.
$ac_objext \
24520 conftest
$ac_exeext conftest.
$ac_ext
24521 LIBS
=$ac_check_lib_save_LIBS
24523 echo "$as_me:$LINENO: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
24524 echo "${ECHO_T}$ac_cv_lib_ICE_IceConnectionNumber" >&6
24525 if test $ac_cv_lib_ICE_IceConnectionNumber = yes; then
24526 X_PRE_LIBS
="$X_PRE_LIBS -lSM -lICE"
24529 LDFLAGS
=$ac_save_LDFLAGS
24534 if test "$no_x" = "yes"; then
24535 { { echo "$as_me:$LINENO: error: X11 not found" >&5
24536 echo "$as_me: error: X11 not found" >&2;}
24537 { (exit please use
--x-includes and
/or
--x-libraries options
); exit please use
--x-includes and
/or
--x-libraries options
; }; }
24540 GUI_TK_LIBRARY
="$X_LIBS"
24541 TOOLKIT_INCLUDE
="$X_CFLAGS"
24542 AFMINSTALL
=afminstall
24543 COMPILED_X_PROGRAM
=0
24545 if test "$wxUSE_NANOX" = "yes"; then
24546 echo "$as_me:$LINENO: checking for MicroWindows/NanoX distribution" >&5
24547 echo $ECHO_N "checking for MicroWindows/NanoX distribution... $ECHO_C" >&6
24548 if test "x$MICROWIN" = x
; then
24549 echo "$as_me:$LINENO: result: not found" >&5
24550 echo "${ECHO_T}not found" >&6
24551 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows library. Make sure MICROWIN is set." >&5
24552 echo "$as_me: error: Cannot find MicroWindows library. Make sure MICROWIN is set." >&2;}
24553 { (exit 1); exit 1; }; }
24555 echo "$as_me:$LINENO: result: $MICROWIN" >&5
24556 echo "${ECHO_T}$MICROWIN" >&6
24557 cat >>confdefs.h
<<\_ACEOF
24558 #define wxUSE_NANOX 1
24564 if test "$wxUSE_UNICODE" = "yes"; then
24568 if test -z "$PKG_CONFIG"; then
24569 # Extract the first word of "pkg-config", so it can be a program name with args.
24570 set dummy pkg
-config; ac_word
=$2
24571 echo "$as_me:$LINENO: checking for $ac_word" >&5
24572 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
24573 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
24574 echo $ECHO_N "(cached) $ECHO_C" >&6
24576 case $PKG_CONFIG in
24578 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
24581 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
24582 for as_dir
in $PATH
24585 test -z "$as_dir" && as_dir
=.
24586 for ac_exec_ext
in '' $ac_executable_extensions; do
24587 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
24588 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
24589 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
24595 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
24599 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
24601 if test -n "$PKG_CONFIG"; then
24602 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
24603 echo "${ECHO_T}$PKG_CONFIG" >&6
24605 echo "$as_me:$LINENO: result: no" >&5
24606 echo "${ECHO_T}no" >&6
24611 if test "$PKG_CONFIG" = "no" ; then
24612 echo "*** The pkg-config script could not be found. Make sure it is"
24613 echo "*** in your path, or set the PKG_CONFIG environment variable"
24614 echo "*** to the full path to pkg-config."
24615 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
24617 PKG_CONFIG_MIN_VERSION
=0.9.0
24618 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
24619 echo "$as_me:$LINENO: checking for pangox" >&5
24620 echo $ECHO_N "checking for pangox... $ECHO_C" >&6
24622 if $PKG_CONFIG --exists "pangox" ; then
24623 echo "$as_me:$LINENO: result: yes" >&5
24624 echo "${ECHO_T}yes" >&6
24627 echo "$as_me:$LINENO: checking PANGOX_CFLAGS" >&5
24628 echo $ECHO_N "checking PANGOX_CFLAGS... $ECHO_C" >&6
24629 PANGOX_CFLAGS
=`$PKG_CONFIG --cflags "pangox"`
24630 echo "$as_me:$LINENO: result: $PANGOX_CFLAGS" >&5
24631 echo "${ECHO_T}$PANGOX_CFLAGS" >&6
24633 echo "$as_me:$LINENO: checking PANGOX_LIBS" >&5
24634 echo $ECHO_N "checking PANGOX_LIBS... $ECHO_C" >&6
24635 PANGOX_LIBS
=`$PKG_CONFIG --libs "pangox"`
24636 echo "$as_me:$LINENO: result: $PANGOX_LIBS" >&5
24637 echo "${ECHO_T}$PANGOX_LIBS" >&6
24641 ## If we have a custom action on failure, don't print errors, but
24642 ## do set a variable so people can do so.
24643 PANGOX_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "pangox"`
24650 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
24651 echo "*** See http://www.freedesktop.org/software/pkgconfig"
24655 if test $succeeded = yes; then
24657 CXXFLAGS
="$CXXFLAGS $PANGOX_CFLAGS"
24658 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY $PANGOX_LIBS"
24662 { { echo "$as_me:$LINENO: error: pangox library not found, library cannot be compiled in Unicode mode" >&5
24663 echo "$as_me: error: pangox library not found, library cannot be compiled in Unicode mode" >&2;}
24664 { (exit 1); exit 1; }; }
24672 if test -z "$PKG_CONFIG"; then
24673 # Extract the first word of "pkg-config", so it can be a program name with args.
24674 set dummy pkg
-config; ac_word
=$2
24675 echo "$as_me:$LINENO: checking for $ac_word" >&5
24676 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
24677 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
24678 echo $ECHO_N "(cached) $ECHO_C" >&6
24680 case $PKG_CONFIG in
24682 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
24685 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
24686 for as_dir
in $PATH
24689 test -z "$as_dir" && as_dir
=.
24690 for ac_exec_ext
in '' $ac_executable_extensions; do
24691 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
24692 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
24693 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
24699 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
24703 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
24705 if test -n "$PKG_CONFIG"; then
24706 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
24707 echo "${ECHO_T}$PKG_CONFIG" >&6
24709 echo "$as_me:$LINENO: result: no" >&5
24710 echo "${ECHO_T}no" >&6
24715 if test "$PKG_CONFIG" = "no" ; then
24716 echo "*** The pkg-config script could not be found. Make sure it is"
24717 echo "*** in your path, or set the PKG_CONFIG environment variable"
24718 echo "*** to the full path to pkg-config."
24719 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
24721 PKG_CONFIG_MIN_VERSION
=0.9.0
24722 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
24723 echo "$as_me:$LINENO: checking for pangoft2" >&5
24724 echo $ECHO_N "checking for pangoft2... $ECHO_C" >&6
24726 if $PKG_CONFIG --exists "pangoft2" ; then
24727 echo "$as_me:$LINENO: result: yes" >&5
24728 echo "${ECHO_T}yes" >&6
24731 echo "$as_me:$LINENO: checking PANGOFT2_CFLAGS" >&5
24732 echo $ECHO_N "checking PANGOFT2_CFLAGS... $ECHO_C" >&6
24733 PANGOFT2_CFLAGS
=`$PKG_CONFIG --cflags "pangoft2"`
24734 echo "$as_me:$LINENO: result: $PANGOFT2_CFLAGS" >&5
24735 echo "${ECHO_T}$PANGOFT2_CFLAGS" >&6
24737 echo "$as_me:$LINENO: checking PANGOFT2_LIBS" >&5
24738 echo $ECHO_N "checking PANGOFT2_LIBS... $ECHO_C" >&6
24739 PANGOFT2_LIBS
=`$PKG_CONFIG --libs "pangoft2"`
24740 echo "$as_me:$LINENO: result: $PANGOFT2_LIBS" >&5
24741 echo "${ECHO_T}$PANGOFT2_LIBS" >&6
24745 ## If we have a custom action on failure, don't print errors, but
24746 ## do set a variable so people can do so.
24747 PANGOFT2_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoft2"`
24754 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
24755 echo "*** See http://www.freedesktop.org/software/pkgconfig"
24759 if test $succeeded = yes; then
24761 CXXFLAGS
="$CXXFLAGS $PANGOFT2_CFLAGS"
24762 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY $PANGOFT2_LIBS"
24766 { echo "$as_me:$LINENO: WARNING: pangoft2 library not found, library will be compiled without printing support" >&5
24767 echo "$as_me: WARNING: pangoft2 library not found, library will be compiled without printing support" >&2;}
24768 wxUSE_PRINTING_ARCHITECTURE
="no"
24776 if test -z "$PKG_CONFIG"; then
24777 # Extract the first word of "pkg-config", so it can be a program name with args.
24778 set dummy pkg
-config; ac_word
=$2
24779 echo "$as_me:$LINENO: checking for $ac_word" >&5
24780 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
24781 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
24782 echo $ECHO_N "(cached) $ECHO_C" >&6
24784 case $PKG_CONFIG in
24786 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
24789 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
24790 for as_dir
in $PATH
24793 test -z "$as_dir" && as_dir
=.
24794 for ac_exec_ext
in '' $ac_executable_extensions; do
24795 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
24796 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
24797 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
24803 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
24807 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
24809 if test -n "$PKG_CONFIG"; then
24810 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
24811 echo "${ECHO_T}$PKG_CONFIG" >&6
24813 echo "$as_me:$LINENO: result: no" >&5
24814 echo "${ECHO_T}no" >&6
24819 if test "$PKG_CONFIG" = "no" ; then
24820 echo "*** The pkg-config script could not be found. Make sure it is"
24821 echo "*** in your path, or set the PKG_CONFIG environment variable"
24822 echo "*** to the full path to pkg-config."
24823 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
24825 PKG_CONFIG_MIN_VERSION
=0.9.0
24826 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
24827 echo "$as_me:$LINENO: checking for pangoxft" >&5
24828 echo $ECHO_N "checking for pangoxft... $ECHO_C" >&6
24830 if $PKG_CONFIG --exists "pangoxft" ; then
24831 echo "$as_me:$LINENO: result: yes" >&5
24832 echo "${ECHO_T}yes" >&6
24835 echo "$as_me:$LINENO: checking PANGOXFT_CFLAGS" >&5
24836 echo $ECHO_N "checking PANGOXFT_CFLAGS... $ECHO_C" >&6
24837 PANGOXFT_CFLAGS
=`$PKG_CONFIG --cflags "pangoxft"`
24838 echo "$as_me:$LINENO: result: $PANGOXFT_CFLAGS" >&5
24839 echo "${ECHO_T}$PANGOXFT_CFLAGS" >&6
24841 echo "$as_me:$LINENO: checking PANGOXFT_LIBS" >&5
24842 echo $ECHO_N "checking PANGOXFT_LIBS... $ECHO_C" >&6
24843 PANGOXFT_LIBS
=`$PKG_CONFIG --libs "pangoxft"`
24844 echo "$as_me:$LINENO: result: $PANGOXFT_LIBS" >&5
24845 echo "${ECHO_T}$PANGOXFT_LIBS" >&6
24849 ## If we have a custom action on failure, don't print errors, but
24850 ## do set a variable so people can do so.
24851 PANGOXFT_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoxft"`
24858 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
24859 echo "*** See http://www.freedesktop.org/software/pkgconfig"
24863 if test $succeeded = yes; then
24865 CXXFLAGS
="$CXXFLAGS $PANGOXFT_CFLAGS"
24866 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY $PANGOXFT_LIBS"
24870 { echo "$as_me:$LINENO: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&5
24871 echo "$as_me: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&2;}
24878 wxUSE_UNIVERSAL
="yes"
24880 if test "$wxUSE_NANOX" = "yes"; then
24881 TOOLKIT_INCLUDE
="-I\$(top_srcdir)/include/wx/x11/nanox -I\$(MICROWIN)/src/include $TOOLKIT_INCLUDE"
24882 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"
24883 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY \$(MICROWIN)/src/lib/libnano-X.a"
24885 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lX11"
24888 TOOLKIT_VPATH
="\${top_srcdir}/src/x11"
24893 if test "$wxUSE_MOTIF" = 1; then
24894 if test "$no_x" = yes; then
24895 # Not all programs may use this symbol, but it does not hurt to define it.
24897 cat >>confdefs.h
<<\_ACEOF
24898 #define X_DISPLAY_MISSING 1
24901 X_CFLAGS
= X_PRE_LIBS
= X_LIBS
= X_EXTRA_LIBS
=
24903 if test -n "$x_includes"; then
24904 X_CFLAGS
="$X_CFLAGS -I$x_includes"
24907 # It would also be nice to do this for all -L options, not just this one.
24908 if test -n "$x_libraries"; then
24909 X_LIBS
="$X_LIBS -L$x_libraries"
24910 # For Solaris; some versions of Sun CC require a space after -R and
24911 # others require no space. Words are not sufficient . . . .
24912 case `(uname -sr) 2>/dev/null` in
24914 echo "$as_me:$LINENO: checking whether -R must be followed by a space" >&5
24915 echo $ECHO_N "checking whether -R must be followed by a space... $ECHO_C" >&6
24916 ac_xsave_LIBS
=$LIBS; LIBS
="$LIBS -R$x_libraries"
24917 cat >conftest.
$ac_ext <<_ACEOF
24920 cat confdefs.h
>>conftest.
$ac_ext
24921 cat >>conftest.
$ac_ext <<_ACEOF
24922 /* end confdefs.h. */
24932 rm -f conftest.
$ac_objext conftest
$ac_exeext
24933 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24934 (eval $ac_link) 2>conftest.er1
24936 grep -v '^ *+' conftest.er1
>conftest.err
24938 cat conftest.err
>&5
24939 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24940 (exit $ac_status); } &&
24941 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
24942 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24943 (eval $ac_try) 2>&5
24945 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24946 (exit $ac_status); }; } &&
24947 { ac_try
='test -s conftest$ac_exeext'
24948 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24949 (eval $ac_try) 2>&5
24951 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24952 (exit $ac_status); }; }; then
24955 echo "$as_me: failed program was:" >&5
24956 sed 's/^/| /' conftest.
$ac_ext >&5
24960 rm -f conftest.err conftest.
$ac_objext \
24961 conftest
$ac_exeext conftest.
$ac_ext
24962 if test $ac_R_nospace = yes; then
24963 echo "$as_me:$LINENO: result: no" >&5
24964 echo "${ECHO_T}no" >&6
24965 X_LIBS
="$X_LIBS -R$x_libraries"
24967 LIBS
="$ac_xsave_LIBS -R $x_libraries"
24968 cat >conftest.
$ac_ext <<_ACEOF
24971 cat confdefs.h
>>conftest.
$ac_ext
24972 cat >>conftest.
$ac_ext <<_ACEOF
24973 /* end confdefs.h. */
24983 rm -f conftest.
$ac_objext conftest
$ac_exeext
24984 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24985 (eval $ac_link) 2>conftest.er1
24987 grep -v '^ *+' conftest.er1
>conftest.err
24989 cat conftest.err
>&5
24990 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24991 (exit $ac_status); } &&
24992 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
24993 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24994 (eval $ac_try) 2>&5
24996 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24997 (exit $ac_status); }; } &&
24998 { ac_try
='test -s conftest$ac_exeext'
24999 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25000 (eval $ac_try) 2>&5
25002 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25003 (exit $ac_status); }; }; then
25006 echo "$as_me: failed program was:" >&5
25007 sed 's/^/| /' conftest.
$ac_ext >&5
25011 rm -f conftest.err conftest.
$ac_objext \
25012 conftest
$ac_exeext conftest.
$ac_ext
25013 if test $ac_R_space = yes; then
25014 echo "$as_me:$LINENO: result: yes" >&5
25015 echo "${ECHO_T}yes" >&6
25016 X_LIBS
="$X_LIBS -R $x_libraries"
25018 echo "$as_me:$LINENO: result: neither works" >&5
25019 echo "${ECHO_T}neither works" >&6
25022 LIBS
=$ac_xsave_LIBS
25026 # Check for system-dependent libraries X programs must link with.
25027 # Do this before checking for the system-independent R6 libraries
25028 # (-lICE), since we may need -lsocket or whatever for X linking.
25030 if test "$ISC" = yes; then
25031 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl_s -linet"
25033 # Martyn Johnson says this is needed for Ultrix, if the X
25034 # libraries were built with DECnet support. And Karl Berry says
25035 # the Alpha needs dnet_stub (dnet does not exist).
25036 ac_xsave_LIBS
="$LIBS"; LIBS
="$LIBS $X_LIBS -lX11"
25037 cat >conftest.
$ac_ext <<_ACEOF
25040 cat confdefs.h
>>conftest.
$ac_ext
25041 cat >>conftest.
$ac_ext <<_ACEOF
25042 /* end confdefs.h. */
25044 /* Override any gcc2 internal prototype to avoid an error. */
25048 /* We use char because int might match the return type of a gcc2
25049 builtin and then its argument prototype would still apply. */
25050 char XOpenDisplay ();
25059 rm -f conftest.
$ac_objext conftest
$ac_exeext
25060 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25061 (eval $ac_link) 2>conftest.er1
25063 grep -v '^ *+' conftest.er1
>conftest.err
25065 cat conftest.err
>&5
25066 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25067 (exit $ac_status); } &&
25068 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
25069 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25070 (eval $ac_try) 2>&5
25072 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25073 (exit $ac_status); }; } &&
25074 { ac_try
='test -s conftest$ac_exeext'
25075 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25076 (eval $ac_try) 2>&5
25078 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25079 (exit $ac_status); }; }; then
25082 echo "$as_me: failed program was:" >&5
25083 sed 's/^/| /' conftest.
$ac_ext >&5
25085 echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet" >&5
25086 echo $ECHO_N "checking for dnet_ntoa in -ldnet... $ECHO_C" >&6
25087 if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then
25088 echo $ECHO_N "(cached) $ECHO_C" >&6
25090 ac_check_lib_save_LIBS
=$LIBS
25091 LIBS
="-ldnet $LIBS"
25092 cat >conftest.
$ac_ext <<_ACEOF
25095 cat confdefs.h
>>conftest.
$ac_ext
25096 cat >>conftest.
$ac_ext <<_ACEOF
25097 /* end confdefs.h. */
25099 /* Override any gcc2 internal prototype to avoid an error. */
25103 /* We use char because int might match the return type of a gcc2
25104 builtin and then its argument prototype would still apply. */
25114 rm -f conftest.
$ac_objext conftest
$ac_exeext
25115 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25116 (eval $ac_link) 2>conftest.er1
25118 grep -v '^ *+' conftest.er1
>conftest.err
25120 cat conftest.err
>&5
25121 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25122 (exit $ac_status); } &&
25123 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
25124 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25125 (eval $ac_try) 2>&5
25127 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25128 (exit $ac_status); }; } &&
25129 { ac_try
='test -s conftest$ac_exeext'
25130 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25131 (eval $ac_try) 2>&5
25133 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25134 (exit $ac_status); }; }; then
25135 ac_cv_lib_dnet_dnet_ntoa
=yes
25137 echo "$as_me: failed program was:" >&5
25138 sed 's/^/| /' conftest.
$ac_ext >&5
25140 ac_cv_lib_dnet_dnet_ntoa
=no
25142 rm -f conftest.err conftest.
$ac_objext \
25143 conftest
$ac_exeext conftest.
$ac_ext
25144 LIBS
=$ac_check_lib_save_LIBS
25146 echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
25147 echo "${ECHO_T}$ac_cv_lib_dnet_dnet_ntoa" >&6
25148 if test $ac_cv_lib_dnet_dnet_ntoa = yes; then
25149 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet"
25152 if test $ac_cv_lib_dnet_dnet_ntoa = no
; then
25153 echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet_stub" >&5
25154 echo $ECHO_N "checking for dnet_ntoa in -ldnet_stub... $ECHO_C" >&6
25155 if test "${ac_cv_lib_dnet_stub_dnet_ntoa+set}" = set; then
25156 echo $ECHO_N "(cached) $ECHO_C" >&6
25158 ac_check_lib_save_LIBS
=$LIBS
25159 LIBS
="-ldnet_stub $LIBS"
25160 cat >conftest.
$ac_ext <<_ACEOF
25163 cat confdefs.h
>>conftest.
$ac_ext
25164 cat >>conftest.
$ac_ext <<_ACEOF
25165 /* end confdefs.h. */
25167 /* Override any gcc2 internal prototype to avoid an error. */
25171 /* We use char because int might match the return type of a gcc2
25172 builtin and then its argument prototype would still apply. */
25182 rm -f conftest.
$ac_objext conftest
$ac_exeext
25183 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25184 (eval $ac_link) 2>conftest.er1
25186 grep -v '^ *+' conftest.er1
>conftest.err
25188 cat conftest.err
>&5
25189 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25190 (exit $ac_status); } &&
25191 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
25192 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25193 (eval $ac_try) 2>&5
25195 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25196 (exit $ac_status); }; } &&
25197 { ac_try
='test -s conftest$ac_exeext'
25198 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25199 (eval $ac_try) 2>&5
25201 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25202 (exit $ac_status); }; }; then
25203 ac_cv_lib_dnet_stub_dnet_ntoa
=yes
25205 echo "$as_me: failed program was:" >&5
25206 sed 's/^/| /' conftest.
$ac_ext >&5
25208 ac_cv_lib_dnet_stub_dnet_ntoa
=no
25210 rm -f conftest.err conftest.
$ac_objext \
25211 conftest
$ac_exeext conftest.
$ac_ext
25212 LIBS
=$ac_check_lib_save_LIBS
25214 echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
25215 echo "${ECHO_T}$ac_cv_lib_dnet_stub_dnet_ntoa" >&6
25216 if test $ac_cv_lib_dnet_stub_dnet_ntoa = yes; then
25217 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet_stub"
25222 rm -f conftest.err conftest.
$ac_objext \
25223 conftest
$ac_exeext conftest.
$ac_ext
25224 LIBS
="$ac_xsave_LIBS"
25226 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
25227 # to get the SysV transport functions.
25228 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
25230 # The nsl library prevents programs from opening the X display
25231 # on Irix 5.2, according to T.E. Dickey.
25232 # The functions gethostbyname, getservbyname, and inet_addr are
25233 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
25234 echo "$as_me:$LINENO: checking for gethostbyname" >&5
25235 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6
25236 if test "${ac_cv_func_gethostbyname+set}" = set; then
25237 echo $ECHO_N "(cached) $ECHO_C" >&6
25239 cat >conftest.
$ac_ext <<_ACEOF
25242 cat confdefs.h
>>conftest.
$ac_ext
25243 cat >>conftest.
$ac_ext <<_ACEOF
25244 /* end confdefs.h. */
25245 /* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
25246 For example, HP-UX 11i <limits.h> declares gettimeofday. */
25247 #define gethostbyname innocuous_gethostbyname
25249 /* System header to define __stub macros and hopefully few prototypes,
25250 which can conflict with char gethostbyname (); below.
25251 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25252 <limits.h> exists even on freestanding compilers. */
25255 # include <limits.h>
25257 # include <assert.h>
25260 #undef gethostbyname
25262 /* Override any gcc2 internal prototype to avoid an error. */
25267 /* We use char because int might match the return type of a gcc2
25268 builtin and then its argument prototype would still apply. */
25269 char gethostbyname ();
25270 /* The GNU C library defines this for functions which it implements
25271 to always fail with ENOSYS. Some functions are actually named
25272 something starting with __ and the normal name is an alias. */
25273 #if defined (__stub_gethostbyname) || defined (__stub___gethostbyname)
25276 char (*f) () = gethostbyname;
25285 return f != gethostbyname;
25290 rm -f conftest.
$ac_objext conftest
$ac_exeext
25291 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25292 (eval $ac_link) 2>conftest.er1
25294 grep -v '^ *+' conftest.er1
>conftest.err
25296 cat conftest.err
>&5
25297 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25298 (exit $ac_status); } &&
25299 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
25300 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25301 (eval $ac_try) 2>&5
25303 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25304 (exit $ac_status); }; } &&
25305 { ac_try
='test -s conftest$ac_exeext'
25306 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25307 (eval $ac_try) 2>&5
25309 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25310 (exit $ac_status); }; }; then
25311 ac_cv_func_gethostbyname
=yes
25313 echo "$as_me: failed program was:" >&5
25314 sed 's/^/| /' conftest.
$ac_ext >&5
25316 ac_cv_func_gethostbyname
=no
25318 rm -f conftest.err conftest.
$ac_objext \
25319 conftest
$ac_exeext conftest.
$ac_ext
25321 echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
25322 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6
25324 if test $ac_cv_func_gethostbyname = no
; then
25325 echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
25326 echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6
25327 if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
25328 echo $ECHO_N "(cached) $ECHO_C" >&6
25330 ac_check_lib_save_LIBS
=$LIBS
25332 cat >conftest.
$ac_ext <<_ACEOF
25335 cat confdefs.h
>>conftest.
$ac_ext
25336 cat >>conftest.
$ac_ext <<_ACEOF
25337 /* end confdefs.h. */
25339 /* Override any gcc2 internal prototype to avoid an error. */
25343 /* We use char because int might match the return type of a gcc2
25344 builtin and then its argument prototype would still apply. */
25345 char gethostbyname ();
25354 rm -f conftest.
$ac_objext conftest
$ac_exeext
25355 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25356 (eval $ac_link) 2>conftest.er1
25358 grep -v '^ *+' conftest.er1
>conftest.err
25360 cat conftest.err
>&5
25361 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25362 (exit $ac_status); } &&
25363 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
25364 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25365 (eval $ac_try) 2>&5
25367 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25368 (exit $ac_status); }; } &&
25369 { ac_try
='test -s conftest$ac_exeext'
25370 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25371 (eval $ac_try) 2>&5
25373 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25374 (exit $ac_status); }; }; then
25375 ac_cv_lib_nsl_gethostbyname
=yes
25377 echo "$as_me: failed program was:" >&5
25378 sed 's/^/| /' conftest.
$ac_ext >&5
25380 ac_cv_lib_nsl_gethostbyname
=no
25382 rm -f conftest.err conftest.
$ac_objext \
25383 conftest
$ac_exeext conftest.
$ac_ext
25384 LIBS
=$ac_check_lib_save_LIBS
25386 echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
25387 echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6
25388 if test $ac_cv_lib_nsl_gethostbyname = yes; then
25389 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl"
25392 if test $ac_cv_lib_nsl_gethostbyname = no
; then
25393 echo "$as_me:$LINENO: checking for gethostbyname in -lbsd" >&5
25394 echo $ECHO_N "checking for gethostbyname in -lbsd... $ECHO_C" >&6
25395 if test "${ac_cv_lib_bsd_gethostbyname+set}" = set; then
25396 echo $ECHO_N "(cached) $ECHO_C" >&6
25398 ac_check_lib_save_LIBS
=$LIBS
25400 cat >conftest.
$ac_ext <<_ACEOF
25403 cat confdefs.h
>>conftest.
$ac_ext
25404 cat >>conftest.
$ac_ext <<_ACEOF
25405 /* end confdefs.h. */
25407 /* Override any gcc2 internal prototype to avoid an error. */
25411 /* We use char because int might match the return type of a gcc2
25412 builtin and then its argument prototype would still apply. */
25413 char gethostbyname ();
25422 rm -f conftest.
$ac_objext conftest
$ac_exeext
25423 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25424 (eval $ac_link) 2>conftest.er1
25426 grep -v '^ *+' conftest.er1
>conftest.err
25428 cat conftest.err
>&5
25429 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25430 (exit $ac_status); } &&
25431 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
25432 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25433 (eval $ac_try) 2>&5
25435 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25436 (exit $ac_status); }; } &&
25437 { ac_try
='test -s conftest$ac_exeext'
25438 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25439 (eval $ac_try) 2>&5
25441 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25442 (exit $ac_status); }; }; then
25443 ac_cv_lib_bsd_gethostbyname
=yes
25445 echo "$as_me: failed program was:" >&5
25446 sed 's/^/| /' conftest.
$ac_ext >&5
25448 ac_cv_lib_bsd_gethostbyname
=no
25450 rm -f conftest.err conftest.
$ac_objext \
25451 conftest
$ac_exeext conftest.
$ac_ext
25452 LIBS
=$ac_check_lib_save_LIBS
25454 echo "$as_me:$LINENO: result: $ac_cv_lib_bsd_gethostbyname" >&5
25455 echo "${ECHO_T}$ac_cv_lib_bsd_gethostbyname" >&6
25456 if test $ac_cv_lib_bsd_gethostbyname = yes; then
25457 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lbsd"
25463 # lieder@skyler.mavd.honeywell.com says without -lsocket,
25464 # socket/setsockopt and other routines are undefined under SCO ODT
25465 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
25466 # on later versions), says Simon Leinen: it contains gethostby*
25467 # variants that don't use the name server (or something). -lsocket
25468 # must be given before -lnsl if both are needed. We assume that
25469 # if connect needs -lnsl, so does gethostbyname.
25470 echo "$as_me:$LINENO: checking for connect" >&5
25471 echo $ECHO_N "checking for connect... $ECHO_C" >&6
25472 if test "${ac_cv_func_connect+set}" = set; then
25473 echo $ECHO_N "(cached) $ECHO_C" >&6
25475 cat >conftest.
$ac_ext <<_ACEOF
25478 cat confdefs.h
>>conftest.
$ac_ext
25479 cat >>conftest.
$ac_ext <<_ACEOF
25480 /* end confdefs.h. */
25481 /* Define connect to an innocuous variant, in case <limits.h> declares connect.
25482 For example, HP-UX 11i <limits.h> declares gettimeofday. */
25483 #define connect innocuous_connect
25485 /* System header to define __stub macros and hopefully few prototypes,
25486 which can conflict with char connect (); below.
25487 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25488 <limits.h> exists even on freestanding compilers. */
25491 # include <limits.h>
25493 # include <assert.h>
25498 /* Override any gcc2 internal prototype to avoid an error. */
25503 /* We use char because int might match the return type of a gcc2
25504 builtin and then its argument prototype would still apply. */
25506 /* The GNU C library defines this for functions which it implements
25507 to always fail with ENOSYS. Some functions are actually named
25508 something starting with __ and the normal name is an alias. */
25509 #if defined (__stub_connect) || defined (__stub___connect)
25512 char (*f) () = connect;
25521 return f != connect;
25526 rm -f conftest.
$ac_objext conftest
$ac_exeext
25527 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25528 (eval $ac_link) 2>conftest.er1
25530 grep -v '^ *+' conftest.er1
>conftest.err
25532 cat conftest.err
>&5
25533 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25534 (exit $ac_status); } &&
25535 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
25536 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25537 (eval $ac_try) 2>&5
25539 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25540 (exit $ac_status); }; } &&
25541 { ac_try
='test -s conftest$ac_exeext'
25542 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25543 (eval $ac_try) 2>&5
25545 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25546 (exit $ac_status); }; }; then
25547 ac_cv_func_connect
=yes
25549 echo "$as_me: failed program was:" >&5
25550 sed 's/^/| /' conftest.
$ac_ext >&5
25552 ac_cv_func_connect
=no
25554 rm -f conftest.err conftest.
$ac_objext \
25555 conftest
$ac_exeext conftest.
$ac_ext
25557 echo "$as_me:$LINENO: result: $ac_cv_func_connect" >&5
25558 echo "${ECHO_T}$ac_cv_func_connect" >&6
25560 if test $ac_cv_func_connect = no
; then
25561 echo "$as_me:$LINENO: checking for connect in -lsocket" >&5
25562 echo $ECHO_N "checking for connect in -lsocket... $ECHO_C" >&6
25563 if test "${ac_cv_lib_socket_connect+set}" = set; then
25564 echo $ECHO_N "(cached) $ECHO_C" >&6
25566 ac_check_lib_save_LIBS
=$LIBS
25567 LIBS
="-lsocket $X_EXTRA_LIBS $LIBS"
25568 cat >conftest.
$ac_ext <<_ACEOF
25571 cat confdefs.h
>>conftest.
$ac_ext
25572 cat >>conftest.
$ac_ext <<_ACEOF
25573 /* end confdefs.h. */
25575 /* Override any gcc2 internal prototype to avoid an error. */
25579 /* We use char because int might match the return type of a gcc2
25580 builtin and then its argument prototype would still apply. */
25590 rm -f conftest.
$ac_objext conftest
$ac_exeext
25591 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25592 (eval $ac_link) 2>conftest.er1
25594 grep -v '^ *+' conftest.er1
>conftest.err
25596 cat conftest.err
>&5
25597 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25598 (exit $ac_status); } &&
25599 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
25600 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25601 (eval $ac_try) 2>&5
25603 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25604 (exit $ac_status); }; } &&
25605 { ac_try
='test -s conftest$ac_exeext'
25606 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25607 (eval $ac_try) 2>&5
25609 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25610 (exit $ac_status); }; }; then
25611 ac_cv_lib_socket_connect
=yes
25613 echo "$as_me: failed program was:" >&5
25614 sed 's/^/| /' conftest.
$ac_ext >&5
25616 ac_cv_lib_socket_connect
=no
25618 rm -f conftest.err conftest.
$ac_objext \
25619 conftest
$ac_exeext conftest.
$ac_ext
25620 LIBS
=$ac_check_lib_save_LIBS
25622 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5
25623 echo "${ECHO_T}$ac_cv_lib_socket_connect" >&6
25624 if test $ac_cv_lib_socket_connect = yes; then
25625 X_EXTRA_LIBS
="-lsocket $X_EXTRA_LIBS"
25630 # Guillermo Gomez says -lposix is necessary on A/UX.
25631 echo "$as_me:$LINENO: checking for remove" >&5
25632 echo $ECHO_N "checking for remove... $ECHO_C" >&6
25633 if test "${ac_cv_func_remove+set}" = set; then
25634 echo $ECHO_N "(cached) $ECHO_C" >&6
25636 cat >conftest.
$ac_ext <<_ACEOF
25639 cat confdefs.h
>>conftest.
$ac_ext
25640 cat >>conftest.
$ac_ext <<_ACEOF
25641 /* end confdefs.h. */
25642 /* Define remove to an innocuous variant, in case <limits.h> declares remove.
25643 For example, HP-UX 11i <limits.h> declares gettimeofday. */
25644 #define remove innocuous_remove
25646 /* System header to define __stub macros and hopefully few prototypes,
25647 which can conflict with char remove (); below.
25648 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25649 <limits.h> exists even on freestanding compilers. */
25652 # include <limits.h>
25654 # include <assert.h>
25659 /* Override any gcc2 internal prototype to avoid an error. */
25664 /* We use char because int might match the return type of a gcc2
25665 builtin and then its argument prototype would still apply. */
25667 /* The GNU C library defines this for functions which it implements
25668 to always fail with ENOSYS. Some functions are actually named
25669 something starting with __ and the normal name is an alias. */
25670 #if defined (__stub_remove) || defined (__stub___remove)
25673 char (*f) () = remove;
25682 return f != remove;
25687 rm -f conftest.
$ac_objext conftest
$ac_exeext
25688 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25689 (eval $ac_link) 2>conftest.er1
25691 grep -v '^ *+' conftest.er1
>conftest.err
25693 cat conftest.err
>&5
25694 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25695 (exit $ac_status); } &&
25696 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
25697 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25698 (eval $ac_try) 2>&5
25700 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25701 (exit $ac_status); }; } &&
25702 { ac_try
='test -s conftest$ac_exeext'
25703 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25704 (eval $ac_try) 2>&5
25706 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25707 (exit $ac_status); }; }; then
25708 ac_cv_func_remove
=yes
25710 echo "$as_me: failed program was:" >&5
25711 sed 's/^/| /' conftest.
$ac_ext >&5
25713 ac_cv_func_remove
=no
25715 rm -f conftest.err conftest.
$ac_objext \
25716 conftest
$ac_exeext conftest.
$ac_ext
25718 echo "$as_me:$LINENO: result: $ac_cv_func_remove" >&5
25719 echo "${ECHO_T}$ac_cv_func_remove" >&6
25721 if test $ac_cv_func_remove = no
; then
25722 echo "$as_me:$LINENO: checking for remove in -lposix" >&5
25723 echo $ECHO_N "checking for remove in -lposix... $ECHO_C" >&6
25724 if test "${ac_cv_lib_posix_remove+set}" = set; then
25725 echo $ECHO_N "(cached) $ECHO_C" >&6
25727 ac_check_lib_save_LIBS
=$LIBS
25728 LIBS
="-lposix $LIBS"
25729 cat >conftest.
$ac_ext <<_ACEOF
25732 cat confdefs.h
>>conftest.
$ac_ext
25733 cat >>conftest.
$ac_ext <<_ACEOF
25734 /* end confdefs.h. */
25736 /* Override any gcc2 internal prototype to avoid an error. */
25740 /* We use char because int might match the return type of a gcc2
25741 builtin and then its argument prototype would still apply. */
25751 rm -f conftest.
$ac_objext conftest
$ac_exeext
25752 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25753 (eval $ac_link) 2>conftest.er1
25755 grep -v '^ *+' conftest.er1
>conftest.err
25757 cat conftest.err
>&5
25758 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25759 (exit $ac_status); } &&
25760 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
25761 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25762 (eval $ac_try) 2>&5
25764 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25765 (exit $ac_status); }; } &&
25766 { ac_try
='test -s conftest$ac_exeext'
25767 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25768 (eval $ac_try) 2>&5
25770 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25771 (exit $ac_status); }; }; then
25772 ac_cv_lib_posix_remove
=yes
25774 echo "$as_me: failed program was:" >&5
25775 sed 's/^/| /' conftest.
$ac_ext >&5
25777 ac_cv_lib_posix_remove
=no
25779 rm -f conftest.err conftest.
$ac_objext \
25780 conftest
$ac_exeext conftest.
$ac_ext
25781 LIBS
=$ac_check_lib_save_LIBS
25783 echo "$as_me:$LINENO: result: $ac_cv_lib_posix_remove" >&5
25784 echo "${ECHO_T}$ac_cv_lib_posix_remove" >&6
25785 if test $ac_cv_lib_posix_remove = yes; then
25786 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lposix"
25791 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
25792 echo "$as_me:$LINENO: checking for shmat" >&5
25793 echo $ECHO_N "checking for shmat... $ECHO_C" >&6
25794 if test "${ac_cv_func_shmat+set}" = set; then
25795 echo $ECHO_N "(cached) $ECHO_C" >&6
25797 cat >conftest.
$ac_ext <<_ACEOF
25800 cat confdefs.h
>>conftest.
$ac_ext
25801 cat >>conftest.
$ac_ext <<_ACEOF
25802 /* end confdefs.h. */
25803 /* Define shmat to an innocuous variant, in case <limits.h> declares shmat.
25804 For example, HP-UX 11i <limits.h> declares gettimeofday. */
25805 #define shmat innocuous_shmat
25807 /* System header to define __stub macros and hopefully few prototypes,
25808 which can conflict with char shmat (); below.
25809 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25810 <limits.h> exists even on freestanding compilers. */
25813 # include <limits.h>
25815 # include <assert.h>
25820 /* Override any gcc2 internal prototype to avoid an error. */
25825 /* We use char because int might match the return type of a gcc2
25826 builtin and then its argument prototype would still apply. */
25828 /* The GNU C library defines this for functions which it implements
25829 to always fail with ENOSYS. Some functions are actually named
25830 something starting with __ and the normal name is an alias. */
25831 #if defined (__stub_shmat) || defined (__stub___shmat)
25834 char (*f) () = shmat;
25848 rm -f conftest.
$ac_objext conftest
$ac_exeext
25849 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25850 (eval $ac_link) 2>conftest.er1
25852 grep -v '^ *+' conftest.er1
>conftest.err
25854 cat conftest.err
>&5
25855 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25856 (exit $ac_status); } &&
25857 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
25858 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25859 (eval $ac_try) 2>&5
25861 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25862 (exit $ac_status); }; } &&
25863 { ac_try
='test -s conftest$ac_exeext'
25864 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25865 (eval $ac_try) 2>&5
25867 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25868 (exit $ac_status); }; }; then
25869 ac_cv_func_shmat
=yes
25871 echo "$as_me: failed program was:" >&5
25872 sed 's/^/| /' conftest.
$ac_ext >&5
25874 ac_cv_func_shmat
=no
25876 rm -f conftest.err conftest.
$ac_objext \
25877 conftest
$ac_exeext conftest.
$ac_ext
25879 echo "$as_me:$LINENO: result: $ac_cv_func_shmat" >&5
25880 echo "${ECHO_T}$ac_cv_func_shmat" >&6
25882 if test $ac_cv_func_shmat = no
; then
25883 echo "$as_me:$LINENO: checking for shmat in -lipc" >&5
25884 echo $ECHO_N "checking for shmat in -lipc... $ECHO_C" >&6
25885 if test "${ac_cv_lib_ipc_shmat+set}" = set; then
25886 echo $ECHO_N "(cached) $ECHO_C" >&6
25888 ac_check_lib_save_LIBS
=$LIBS
25890 cat >conftest.
$ac_ext <<_ACEOF
25893 cat confdefs.h
>>conftest.
$ac_ext
25894 cat >>conftest.
$ac_ext <<_ACEOF
25895 /* end confdefs.h. */
25897 /* Override any gcc2 internal prototype to avoid an error. */
25901 /* We use char because int might match the return type of a gcc2
25902 builtin and then its argument prototype would still apply. */
25912 rm -f conftest.
$ac_objext conftest
$ac_exeext
25913 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25914 (eval $ac_link) 2>conftest.er1
25916 grep -v '^ *+' conftest.er1
>conftest.err
25918 cat conftest.err
>&5
25919 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25920 (exit $ac_status); } &&
25921 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
25922 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25923 (eval $ac_try) 2>&5
25925 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25926 (exit $ac_status); }; } &&
25927 { ac_try
='test -s conftest$ac_exeext'
25928 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25929 (eval $ac_try) 2>&5
25931 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25932 (exit $ac_status); }; }; then
25933 ac_cv_lib_ipc_shmat
=yes
25935 echo "$as_me: failed program was:" >&5
25936 sed 's/^/| /' conftest.
$ac_ext >&5
25938 ac_cv_lib_ipc_shmat
=no
25940 rm -f conftest.err conftest.
$ac_objext \
25941 conftest
$ac_exeext conftest.
$ac_ext
25942 LIBS
=$ac_check_lib_save_LIBS
25944 echo "$as_me:$LINENO: result: $ac_cv_lib_ipc_shmat" >&5
25945 echo "${ECHO_T}$ac_cv_lib_ipc_shmat" >&6
25946 if test $ac_cv_lib_ipc_shmat = yes; then
25947 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lipc"
25953 # Check for libraries that X11R6 Xt/Xaw programs need.
25954 ac_save_LDFLAGS
=$LDFLAGS
25955 test -n "$x_libraries" && LDFLAGS
="$LDFLAGS -L$x_libraries"
25956 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
25957 # check for ICE first), but we must link in the order -lSM -lICE or
25958 # we get undefined symbols. So assume we have SM if we have ICE.
25959 # These have to be linked with before -lX11, unlike the other
25960 # libraries we check for below, so use a different variable.
25961 # John Interrante, Karl Berry
25962 echo "$as_me:$LINENO: checking for IceConnectionNumber in -lICE" >&5
25963 echo $ECHO_N "checking for IceConnectionNumber in -lICE... $ECHO_C" >&6
25964 if test "${ac_cv_lib_ICE_IceConnectionNumber+set}" = set; then
25965 echo $ECHO_N "(cached) $ECHO_C" >&6
25967 ac_check_lib_save_LIBS
=$LIBS
25968 LIBS
="-lICE $X_EXTRA_LIBS $LIBS"
25969 cat >conftest.
$ac_ext <<_ACEOF
25972 cat confdefs.h
>>conftest.
$ac_ext
25973 cat >>conftest.
$ac_ext <<_ACEOF
25974 /* end confdefs.h. */
25976 /* Override any gcc2 internal prototype to avoid an error. */
25980 /* We use char because int might match the return type of a gcc2
25981 builtin and then its argument prototype would still apply. */
25982 char IceConnectionNumber ();
25986 IceConnectionNumber ();
25991 rm -f conftest.
$ac_objext conftest
$ac_exeext
25992 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25993 (eval $ac_link) 2>conftest.er1
25995 grep -v '^ *+' conftest.er1
>conftest.err
25997 cat conftest.err
>&5
25998 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25999 (exit $ac_status); } &&
26000 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
26001 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26002 (eval $ac_try) 2>&5
26004 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26005 (exit $ac_status); }; } &&
26006 { ac_try
='test -s conftest$ac_exeext'
26007 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26008 (eval $ac_try) 2>&5
26010 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26011 (exit $ac_status); }; }; then
26012 ac_cv_lib_ICE_IceConnectionNumber
=yes
26014 echo "$as_me: failed program was:" >&5
26015 sed 's/^/| /' conftest.
$ac_ext >&5
26017 ac_cv_lib_ICE_IceConnectionNumber
=no
26019 rm -f conftest.err conftest.
$ac_objext \
26020 conftest
$ac_exeext conftest.
$ac_ext
26021 LIBS
=$ac_check_lib_save_LIBS
26023 echo "$as_me:$LINENO: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
26024 echo "${ECHO_T}$ac_cv_lib_ICE_IceConnectionNumber" >&6
26025 if test $ac_cv_lib_ICE_IceConnectionNumber = yes; then
26026 X_PRE_LIBS
="$X_PRE_LIBS -lSM -lICE"
26029 LDFLAGS
=$ac_save_LDFLAGS
26034 if test "$no_x" = "yes"; then
26035 { { echo "$as_me:$LINENO: error: X11 not found" >&5
26036 echo "$as_me: error: X11 not found" >&2;}
26037 { (exit please use
--x-includes and
/or
--x-libraries options
); exit please use
--x-includes and
/or
--x-libraries options
; }; }
26040 GUI_TK_LIBRARY
=`echo $X_LIBS | sed 's/ -LNONE//'`
26041 TOOLKIT_INCLUDE
=`echo $X_CFLAGS | sed 's/ -INONE//'`
26042 AFMINSTALL
=afminstall
26043 COMPILED_X_PROGRAM
=0
26045 echo "$as_me:$LINENO: checking for Motif/Lesstif headers" >&5
26046 echo $ECHO_N "checking for Motif/Lesstif headers... $ECHO_C" >&6
26049 for ac_dir
in $SEARCH_INCLUDE /usr
/include
;
26051 if test -f "$ac_dir/Xm/Xm.h"; then
26052 ac_find_includes
=$ac_dir
26057 if test "$ac_find_includes" != "" ; then
26058 echo "$as_me:$LINENO: result: found in $ac_find_includes" >&5
26059 echo "${ECHO_T}found in $ac_find_includes" >&6
26061 if test "x$ac_find_includes" = "x/usr/include"; then
26062 ac_path_to_include
=""
26064 echo "$TOOLKIT_INCLUDE" | grep "\-I$ac_find_includes" > /dev
/null
26066 if test $result = 0; then
26067 ac_path_to_include
=""
26069 ac_path_to_include
=" -I$ac_find_includes"
26073 TOOLKIT_INCLUDE
="$TOOLKIT_INCLUDE$ac_path_to_include"
26075 cat >conftest.
$ac_ext <<_ACEOF
26078 cat confdefs.h
>>conftest.
$ac_ext
26079 cat >>conftest.
$ac_ext <<_ACEOF
26080 /* end confdefs.h. */
26089 version = xmUseVersion;
26095 rm -f conftest.
$ac_objext
26096 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26097 (eval $ac_compile) 2>conftest.er1
26099 grep -v '^ *+' conftest.er1
>conftest.err
26101 cat conftest.err
>&5
26102 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26103 (exit $ac_status); } &&
26104 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
26105 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26106 (eval $ac_try) 2>&5
26108 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26109 (exit $ac_status); }; } &&
26110 { ac_try
='test -s conftest.$ac_objext'
26111 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26112 (eval $ac_try) 2>&5
26114 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26115 (exit $ac_status); }; }; then
26117 echo "$as_me:$LINENO: result: found in default search path" >&5
26118 echo "${ECHO_T}found in default search path" >&6
26119 COMPILED_X_PROGRAM
=1
26122 echo "$as_me: failed program was:" >&5
26123 sed 's/^/| /' conftest.
$ac_ext >&5
26126 echo "$as_me:$LINENO: result: no" >&5
26127 echo "${ECHO_T}no" >&6
26128 { { echo "$as_me:$LINENO: error: please set CFLAGS to contain the location of Xm/Xm.h" >&5
26129 echo "$as_me: error: please set CFLAGS to contain the location of Xm/Xm.h" >&2;}
26130 { (exit 1); exit 1; }; }
26134 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
26137 if test "$COMPILED_X_PROGRAM" = 0; then
26138 echo "$as_me:$LINENO: checking for Motif/Lesstif library" >&5
26139 echo $ECHO_N "checking for Motif/Lesstif library... $ECHO_C" >&6
26142 for ac_dir
in $SEARCH_LIB /usr
/lib
;
26144 for ac_extension
in a so sl dylib
; do
26145 if test -f "$ac_dir/libXm.$ac_extension"; then
26146 ac_find_libraries
=$ac_dir
26152 if test "$ac_find_libraries" != "" ; then
26153 echo "$as_me:$LINENO: result: found at $ac_find_libraries" >&5
26154 echo "${ECHO_T}found at $ac_find_libraries" >&6
26157 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev
/null
26159 if test $result = 0; then
26162 ac_path_to_link
=" -L$ac_find_libraries"
26165 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY$ac_path_to_link"
26167 save_CFLAGS
=$CFLAGS
26168 CFLAGS
="$CFLAGS $TOOLKIT_INCLUDE"
26170 cat >conftest.
$ac_ext <<_ACEOF
26173 cat confdefs.h
>>conftest.
$ac_ext
26174 cat >>conftest.
$ac_ext <<_ACEOF
26175 /* end confdefs.h. */
26184 version = xmUseVersion;
26190 rm -f conftest.
$ac_objext
26191 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26192 (eval $ac_compile) 2>conftest.er1
26194 grep -v '^ *+' conftest.er1
>conftest.err
26196 cat conftest.err
>&5
26197 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26198 (exit $ac_status); } &&
26199 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
26200 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26201 (eval $ac_try) 2>&5
26203 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26204 (exit $ac_status); }; } &&
26205 { ac_try
='test -s conftest.$ac_objext'
26206 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26207 (eval $ac_try) 2>&5
26209 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26210 (exit $ac_status); }; }; then
26212 echo "$as_me:$LINENO: result: found in default search path" >&5
26213 echo "${ECHO_T}found in default search path" >&6
26214 COMPILED_X_PROGRAM
=1
26217 echo "$as_me: failed program was:" >&5
26218 sed 's/^/| /' conftest.
$ac_ext >&5
26221 echo "$as_me:$LINENO: result: no" >&5
26222 echo "${ECHO_T}no" >&6
26223 { { echo "$as_me:$LINENO: error: please set LDFLAGS to contain the location of libXm" >&5
26224 echo "$as_me: error: please set LDFLAGS to contain the location of libXm" >&2;}
26225 { (exit 1); exit 1; }; }
26229 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
26231 CFLAGS
=$save_CFLAGS
26235 echo "$as_me:$LINENO: checking if we need -lXp and/or -lSM -lICE" >&5
26236 echo $ECHO_N "checking if we need -lXp and/or -lSM -lICE... $ECHO_C" >&6
26240 for libp
in "" " -lXp"; do
26241 if test "$libs_found" = "0"; then
26242 for libsm_ice
in "" " -lSM -lICE"; do
26243 if test "$libs_found" = "0"; then
26245 LIBS
="$GUI_TK_LIBRARY -lXm ${libp} -lXmu -lXext -lXt${libsm_ice} -lX11"
26246 save_CFLAGS
=$CFLAGS
26247 CFLAGS
="$CFLAGS $TOOLKIT_INCLUDE"
26249 cat >conftest.
$ac_ext <<_ACEOF
26252 cat confdefs.h
>>conftest.
$ac_ext
26253 cat >>conftest.
$ac_ext <<_ACEOF
26254 /* end confdefs.h. */
26257 #include <Xm/List.h>
26263 XmString string = NULL;
26266 XmListAddItem(w, string, position);
26272 rm -f conftest.
$ac_objext conftest
$ac_exeext
26273 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26274 (eval $ac_link) 2>conftest.er1
26276 grep -v '^ *+' conftest.er1
>conftest.err
26278 cat conftest.err
>&5
26279 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26280 (exit $ac_status); } &&
26281 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
26282 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26283 (eval $ac_try) 2>&5
26285 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26286 (exit $ac_status); }; } &&
26287 { ac_try
='test -s conftest$ac_exeext'
26288 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26289 (eval $ac_try) 2>&5
26291 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26292 (exit $ac_status); }; }; then
26295 libsm_ice_link
="$libsm_ice"
26296 echo "$as_me:$LINENO: result: need${libp_link}${libsm_ice_link}" >&5
26297 echo "${ECHO_T}need${libp_link}${libsm_ice_link}" >&6
26301 echo "$as_me: failed program was:" >&5
26302 sed 's/^/| /' conftest.
$ac_ext >&5
26307 rm -f conftest.err conftest.
$ac_objext \
26308 conftest
$ac_exeext conftest.
$ac_ext
26311 CFLAGS
=$save_CFLAGS
26317 if test "$libs_found" = "0"; then
26318 echo "$as_me:$LINENO: result: can't find the right libraries" >&5
26319 echo "${ECHO_T}can't find the right libraries" >&6
26320 { { echo "$as_me:$LINENO: error: can't link a simple motif program" >&5
26321 echo "$as_me: error: can't link a simple motif program" >&2;}
26322 { (exit 1); exit 1; }; }
26325 save_CFLAGS
=$CFLAGS
26326 CFLAGS
="$CFLAGS $TOOLKIT_INCLUDE"
26327 echo "$as_me:$LINENO: checking for Motif 2" >&5
26328 echo $ECHO_N "checking for Motif 2... $ECHO_C" >&6
26329 cat >conftest.
$ac_ext <<_ACEOF
26332 cat confdefs.h
>>conftest.
$ac_ext
26333 cat >>conftest.
$ac_ext <<_ACEOF
26334 /* end confdefs.h. */
26342 #if XmVersion < 2000
26343 #error "Not Motif 2"
26350 rm -f conftest.
$ac_objext
26351 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26352 (eval $ac_compile) 2>conftest.er1
26354 grep -v '^ *+' conftest.er1
>conftest.err
26356 cat conftest.err
>&5
26357 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26358 (exit $ac_status); } &&
26359 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
26360 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26361 (eval $ac_try) 2>&5
26363 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26364 (exit $ac_status); }; } &&
26365 { ac_try
='test -s conftest.$ac_objext'
26366 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26367 (eval $ac_try) 2>&5
26369 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26370 (exit $ac_status); }; }; then
26372 cat >>confdefs.h
<<\_ACEOF
26373 #define __WXMOTIF20__ 1
26376 echo "$as_me:$LINENO: result: found" >&5
26377 echo "${ECHO_T}found" >&6
26380 echo "$as_me: failed program was:" >&5
26381 sed 's/^/| /' conftest.
$ac_ext >&5
26384 cat >>confdefs.h
<<\_ACEOF
26385 #define __WXMOTIF20__ 0
26388 echo "$as_me:$LINENO: result: not found" >&5
26389 echo "${ECHO_T}not found" >&6
26392 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
26393 CFLAGS
=$save_CFLAGS
26395 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lXm${libp_link} -lXmu -lXext -lXt${libsm_ice_link} -lX11"
26396 TOOLKIT_VPATH
="\${top_srcdir}/src/motif${PATH_IFS}\${top_srcdir}/src/motif/xmcombo${PATH_IFS}\${top_srcdir}/src/x11"
26401 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
26402 if test "$wxUSE_LIBXPM" = "sys"; then
26403 echo "$as_me:$LINENO: checking for Xpm library" >&5
26404 echo $ECHO_N "checking for Xpm library... $ECHO_C" >&6
26407 for ac_dir
in $SEARCH_LIB /usr
/lib
;
26409 for ac_extension
in a so sl dylib
; do
26410 if test -f "$ac_dir/libXpm.$ac_extension"; then
26411 ac_find_libraries
=$ac_dir
26417 if test "$ac_find_libraries" != "" ; then
26419 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev
/null
26421 if test $result = 0; then
26424 ac_path_to_link
=" -L$ac_find_libraries"
26427 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY$ac_path_to_link"
26428 echo "$as_me:$LINENO: result: found at $ac_find_libraries" >&5
26429 echo "${ECHO_T}found at $ac_find_libraries" >&6
26431 echo "$as_me:$LINENO: checking for X11/xpm.h" >&5
26432 echo $ECHO_N "checking for X11/xpm.h... $ECHO_C" >&6
26433 if test "${wx_cv_x11_xpm_h+set}" = set; then
26434 echo $ECHO_N "(cached) $ECHO_C" >&6
26437 save_CFLAGS
=$CFLAGS
26438 CFLAGS
="$CFLAGS $TOOLKIT_INCLUDE"
26440 cat >conftest.
$ac_ext <<_ACEOF
26443 cat confdefs.h
>>conftest.
$ac_ext
26444 cat >>conftest.
$ac_ext <<_ACEOF
26445 /* end confdefs.h. */
26447 #include <X11/xpm.h>
26454 version = XpmLibraryVersion();
26460 rm -f conftest.
$ac_objext
26461 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26462 (eval $ac_compile) 2>conftest.er1
26464 grep -v '^ *+' conftest.er1
>conftest.err
26466 cat conftest.err
>&5
26467 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26468 (exit $ac_status); } &&
26469 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
26470 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26471 (eval $ac_try) 2>&5
26473 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26474 (exit $ac_status); }; } &&
26475 { ac_try
='test -s conftest.$ac_objext'
26476 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26477 (eval $ac_try) 2>&5
26479 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26480 (exit $ac_status); }; }; then
26481 wx_cv_x11_xpm_h
=yes
26483 echo "$as_me: failed program was:" >&5
26484 sed 's/^/| /' conftest.
$ac_ext >&5
26489 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
26491 CFLAGS
=$save_CFLAGS
26495 echo "$as_me:$LINENO: result: $wx_cv_x11_xpm_h" >&5
26496 echo "${ECHO_T}$wx_cv_x11_xpm_h" >&6
26498 if test $wx_cv_x11_xpm_h = "yes"; then
26499 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lXpm"
26500 cat >>confdefs.h
<<\_ACEOF
26501 #define wxHAVE_LIB_XPM 1
26505 { echo "$as_me:$LINENO: WARNING: built-in less efficient XPM decoder will be used" >&5
26506 echo "$as_me: WARNING: built-in less efficient XPM decoder will be used" >&2;}
26512 echo "$as_me:$LINENO: checking for XShapeQueryExtension in -lXext" >&5
26513 echo $ECHO_N "checking for XShapeQueryExtension in -lXext... $ECHO_C" >&6
26514 if test "${ac_cv_lib_Xext_XShapeQueryExtension+set}" = set; then
26515 echo $ECHO_N "(cached) $ECHO_C" >&6
26517 ac_check_lib_save_LIBS
=$LIBS
26518 LIBS
="-lXext $GUI_TK_LIBRARY -lX11 $LIBS"
26519 cat >conftest.
$ac_ext <<_ACEOF
26522 cat confdefs.h
>>conftest.
$ac_ext
26523 cat >>conftest.
$ac_ext <<_ACEOF
26524 /* end confdefs.h. */
26526 /* Override any gcc2 internal prototype to avoid an error. */
26530 /* We use char because int might match the return type of a gcc2
26531 builtin and then its argument prototype would still apply. */
26532 char XShapeQueryExtension ();
26536 XShapeQueryExtension ();
26541 rm -f conftest.
$ac_objext conftest
$ac_exeext
26542 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26543 (eval $ac_link) 2>conftest.er1
26545 grep -v '^ *+' conftest.er1
>conftest.err
26547 cat conftest.err
>&5
26548 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26549 (exit $ac_status); } &&
26550 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
26551 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26552 (eval $ac_try) 2>&5
26554 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26555 (exit $ac_status); }; } &&
26556 { ac_try
='test -s conftest$ac_exeext'
26557 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26558 (eval $ac_try) 2>&5
26560 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26561 (exit $ac_status); }; }; then
26562 ac_cv_lib_Xext_XShapeQueryExtension
=yes
26564 echo "$as_me: failed program was:" >&5
26565 sed 's/^/| /' conftest.
$ac_ext >&5
26567 ac_cv_lib_Xext_XShapeQueryExtension
=no
26569 rm -f conftest.err conftest.
$ac_objext \
26570 conftest
$ac_exeext conftest.
$ac_ext
26571 LIBS
=$ac_check_lib_save_LIBS
26573 echo "$as_me:$LINENO: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
26574 echo "${ECHO_T}$ac_cv_lib_Xext_XShapeQueryExtension" >&6
26575 if test $ac_cv_lib_Xext_XShapeQueryExtension = yes; then
26577 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lXext"
26583 if test "$wxHAVE_XEXT_LIB" = 1; then
26584 save_CFLAGS
="$CFLAGS"
26585 CFLAGS
="$CFLAGS $TOOLKIT_INCLUDE"
26587 echo "$as_me:$LINENO: checking for X11/extensions/shape.h" >&5
26588 echo $ECHO_N "checking for X11/extensions/shape.h... $ECHO_C" >&6
26589 cat >conftest.
$ac_ext <<_ACEOF
26592 cat confdefs.h
>>conftest.
$ac_ext
26593 cat >>conftest.
$ac_ext <<_ACEOF
26594 /* end confdefs.h. */
26596 #include <X11/Xlib.h>
26597 #include <X11/extensions/shape.h>
26603 int dummy1, dummy2;
26604 XShapeQueryExtension((Display*)NULL,
26605 (int*)NULL, (int*)NULL);
26611 rm -f conftest.
$ac_objext
26612 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26613 (eval $ac_compile) 2>conftest.er1
26615 grep -v '^ *+' conftest.er1
>conftest.err
26617 cat conftest.err
>&5
26618 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26619 (exit $ac_status); } &&
26620 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
26621 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26622 (eval $ac_try) 2>&5
26624 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26625 (exit $ac_status); }; } &&
26626 { ac_try
='test -s conftest.$ac_objext'
26627 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26628 (eval $ac_try) 2>&5
26630 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26631 (exit $ac_status); }; }; then
26633 cat >>confdefs.h
<<\_ACEOF
26634 #define HAVE_XSHAPE 1
26637 echo "$as_me:$LINENO: result: found" >&5
26638 echo "${ECHO_T}found" >&6
26641 echo "$as_me: failed program was:" >&5
26642 sed 's/^/| /' conftest.
$ac_ext >&5
26645 echo "$as_me:$LINENO: result: not found" >&5
26646 echo "${ECHO_T}not found" >&6
26649 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
26650 CFLAGS
="$save_CFLAGS"
26655 if test "$wxUSE_MAC" = 1; then
26656 echo "$as_me:$LINENO: checking for compiler syntax to enable Pascal strings" >&5
26657 echo $ECHO_N "checking for compiler syntax to enable Pascal strings... $ECHO_C" >&6
26658 if test "$GCC" = yes; then
26659 echo "$as_me:$LINENO: result: gcc" >&5
26660 echo "${ECHO_T}gcc" >&6
26661 CPPFLAGS_PASCAL
="-fpascal-strings"
26662 elif test "`echo $CXX | sed -e 's@.*/@@'`" = "xlC"; then
26663 echo "$as_me:$LINENO: result: xlc" >&5
26664 echo "${ECHO_T}xlc" >&6
26665 CPPFLAGS_PASCAL
="-qmacpstr"
26667 echo "$as_me:$LINENO: result: none" >&5
26668 echo "${ECHO_T}none" >&6
26671 CPPFLAGS
="$CPPFLAGS $CPPFLAGS_PASCAL -I\${top_srcdir}/src/mac/morefilex -I/Developer/Headers/FlatCarbon"
26673 TOOLKIT_VPATH
="\${top_srcdir}/src/mac${PATH_IFS}\${top_srcdir}/src/mac/morefilex"
26676 WXBASEPORT
="_carbon"
26679 if test "$wxUSE_COCOA" = 1; then
26680 TOOLKIT_VPATH
="\${top_srcdir}/src/cocoa"
26685 if test "$wxUSE_PM" = 1; then
26690 if test "$TOOLKIT" = "PM" ; then
26693 TOOLKIT_DIR
=`echo ${TOOLKIT} | tr "[A-Z]" "[a-z]"`
26696 PORT_FILES
="\${top_srcdir}/src/\$(TOOLKITDIR)/files.lst"
26698 if test "$wxUSE_UNIVERSAL" = "yes"; then
26699 ALL_OBJECTS
="\$(GUI_LOWLEVEL_OBJS) \${UNIVOBJS}"
26701 ALL_SOURCES
="\$(ALL_SOURCES) \${UNIV_SOURCES}"
26702 ALL_HEADERS
="\$(ALL_HEADERS) \${UNIV_HEADERS}"
26704 PORT_FILES
="${PORT_FILES} \${top_srcdir}/src/univ/files.lst"
26705 if test "$wxUSE_X11" = 1; then
26706 TOOLKIT_VPATH
="\${top_srcdir}/src/${TOOLKIT_DIR}${PATH_IFS}\${top_srcdir}/src/univ${PATH_IFS}\${top_srcdir}/src/univ/themes"
26708 TOOLKIT_VPATH
="\${top_srcdir}/src/univ${PATH_IFS}\${top_srcdir}/src/univ/themes${PATH_IFS}\${top_srcdir}/src/${TOOLKIT_DIR}"
26710 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -D__WXUNIVERSAL__"
26713 ALL_OBJECTS
="\$(GUIOBJS)"
26714 ALL_SOURCES
="\$(ALL_SOURCES)"
26715 ALL_HEADERS
="\$(ALL_HEADERS)"
26718 ALL_OBJECTS
="${ALL_OBJECTS} \$(COMMONOBJS) \$(GENERICOBJS)"
26720 if test "$TOOLKIT" != "MSW" -a "$USE_DOS" != 1; then
26721 ALL_OBJECTS
="${ALL_OBJECTS} \$(UNIXOBJS)"
26724 if test "$wxUSE_HTML" = "yes"; then
26725 ALL_OBJECTS
="${ALL_OBJECTS} \$(HTMLOBJS)"
26728 if test "$wxUSE_LIBJPEG" = "builtin" ; then
26729 ALL_OBJECTS
="${ALL_OBJECTS} \$(JPEGOBJS)"
26731 if test "$wxUSE_LIBTIFF" = "builtin" ; then
26732 ALL_OBJECTS
="${ALL_OBJECTS} \$(TIFFOBJS)"
26734 if test "$wxUSE_LIBPNG" = "builtin" ; then
26735 ALL_OBJECTS
="${ALL_OBJECTS} \$(PNGOBJS)"
26738 GUIDIST
="${GUIDIST} SAMPLES_DIST DEMOS_DIST UTILS_DIST MISC_DIST"
26739 DISTDIR
="wx\$(TOOLKIT)"
26745 if test "$USE_WIN32" = 1 ; then
26746 ALL_OBJECTS
="\${BASE_OBJS} \${BASE_MSW_OBJS}"
26747 TOOLKIT_VPATH
="\${top_srcdir}/src/msw"
26751 ALL_OBJECTS
="\${BASE_OBJS} \${BASE_UNIX_OBJS}"
26752 TOOLKIT_VPATH
="\${top_srcdir}/src/unix"
26755 ALL_SOURCES
="\$(ALL_SOURCES)"
26756 ALL_HEADERS
="\$(ALL_HEADERS)"
26758 PORT_FILES
="\${top_srcdir}/src/files.lst"
26760 GUIDIST
="BASE_DIST"
26770 if test "$TOOLKIT" != "MSW" ; then
26772 if test "$wxUSE_ODBC" = "sys" -o "$wxUSE_ODBC" = "yes" ; then
26774 if test "${ac_cv_header_sql_h+set}" = set; then
26775 echo "$as_me:$LINENO: checking for sql.h" >&5
26776 echo $ECHO_N "checking for sql.h... $ECHO_C" >&6
26777 if test "${ac_cv_header_sql_h+set}" = set; then
26778 echo $ECHO_N "(cached) $ECHO_C" >&6
26780 echo "$as_me:$LINENO: result: $ac_cv_header_sql_h" >&5
26781 echo "${ECHO_T}$ac_cv_header_sql_h" >&6
26783 # Is the header compilable?
26784 echo "$as_me:$LINENO: checking sql.h usability" >&5
26785 echo $ECHO_N "checking sql.h usability... $ECHO_C" >&6
26786 cat >conftest.
$ac_ext <<_ACEOF
26789 cat confdefs.h
>>conftest.
$ac_ext
26790 cat >>conftest.
$ac_ext <<_ACEOF
26791 /* end confdefs.h. */
26792 $ac_includes_default
26795 rm -f conftest.
$ac_objext
26796 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26797 (eval $ac_compile) 2>conftest.er1
26799 grep -v '^ *+' conftest.er1
>conftest.err
26801 cat conftest.err
>&5
26802 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26803 (exit $ac_status); } &&
26804 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
26805 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26806 (eval $ac_try) 2>&5
26808 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26809 (exit $ac_status); }; } &&
26810 { ac_try
='test -s conftest.$ac_objext'
26811 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26812 (eval $ac_try) 2>&5
26814 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26815 (exit $ac_status); }; }; then
26816 ac_header_compiler
=yes
26818 echo "$as_me: failed program was:" >&5
26819 sed 's/^/| /' conftest.
$ac_ext >&5
26821 ac_header_compiler
=no
26823 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
26824 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
26825 echo "${ECHO_T}$ac_header_compiler" >&6
26827 # Is the header present?
26828 echo "$as_me:$LINENO: checking sql.h presence" >&5
26829 echo $ECHO_N "checking sql.h presence... $ECHO_C" >&6
26830 cat >conftest.
$ac_ext <<_ACEOF
26833 cat confdefs.h
>>conftest.
$ac_ext
26834 cat >>conftest.
$ac_ext <<_ACEOF
26835 /* end confdefs.h. */
26838 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
26839 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
26841 grep -v '^ *+' conftest.er1
>conftest.err
26843 cat conftest.err
>&5
26844 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26845 (exit $ac_status); } >/dev
/null
; then
26846 if test -s conftest.err
; then
26847 ac_cpp_err
=$ac_c_preproc_warn_flag
26848 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
26855 if test -z "$ac_cpp_err"; then
26856 ac_header_preproc
=yes
26858 echo "$as_me: failed program was:" >&5
26859 sed 's/^/| /' conftest.
$ac_ext >&5
26861 ac_header_preproc
=no
26863 rm -f conftest.err conftest.
$ac_ext
26864 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
26865 echo "${ECHO_T}$ac_header_preproc" >&6
26867 # So? What about this header?
26868 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
26870 { echo "$as_me:$LINENO: WARNING: sql.h: accepted by the compiler, rejected by the preprocessor!" >&5
26871 echo "$as_me: WARNING: sql.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
26872 { echo "$as_me:$LINENO: WARNING: sql.h: proceeding with the compiler's result" >&5
26873 echo "$as_me: WARNING: sql.h: proceeding with the compiler's result" >&2;}
26874 ac_header_preproc
=yes
26877 { echo "$as_me:$LINENO: WARNING: sql.h: present but cannot be compiled" >&5
26878 echo "$as_me: WARNING: sql.h: present but cannot be compiled" >&2;}
26879 { echo "$as_me:$LINENO: WARNING: sql.h: check for missing prerequisite headers?" >&5
26880 echo "$as_me: WARNING: sql.h: check for missing prerequisite headers?" >&2;}
26881 { echo "$as_me:$LINENO: WARNING: sql.h: see the Autoconf documentation" >&5
26882 echo "$as_me: WARNING: sql.h: see the Autoconf documentation" >&2;}
26883 { echo "$as_me:$LINENO: WARNING: sql.h: section \"Present But Cannot Be Compiled\"" >&5
26884 echo "$as_me: WARNING: sql.h: section \"Present But Cannot Be Compiled\"" >&2;}
26885 { echo "$as_me:$LINENO: WARNING: sql.h: proceeding with the preprocessor's result" >&5
26886 echo "$as_me: WARNING: sql.h: proceeding with the preprocessor's result" >&2;}
26887 { echo "$as_me:$LINENO: WARNING: sql.h: in the future, the compiler will take precedence" >&5
26888 echo "$as_me: WARNING: sql.h: in the future, the compiler will take precedence" >&2;}
26891 ## ----------------------------------------- ##
26892 ## Report this to wx-dev@lists.wxwindows.org ##
26893 ## ----------------------------------------- ##
26896 sed "s/^/$as_me: WARNING: /" >&2
26899 echo "$as_me:$LINENO: checking for sql.h" >&5
26900 echo $ECHO_N "checking for sql.h... $ECHO_C" >&6
26901 if test "${ac_cv_header_sql_h+set}" = set; then
26902 echo $ECHO_N "(cached) $ECHO_C" >&6
26904 ac_cv_header_sql_h
=$ac_header_preproc
26906 echo "$as_me:$LINENO: result: $ac_cv_header_sql_h" >&5
26907 echo "${ECHO_T}$ac_cv_header_sql_h" >&6
26910 if test $ac_cv_header_sql_h = yes; then
26915 if test "x$found_sql_h" = "x1" ; then
26916 echo "$as_me:$LINENO: checking for SQLAllocEnv in -liodbc" >&5
26917 echo $ECHO_N "checking for SQLAllocEnv in -liodbc... $ECHO_C" >&6
26918 if test "${ac_cv_lib_iodbc_SQLAllocEnv+set}" = set; then
26919 echo $ECHO_N "(cached) $ECHO_C" >&6
26921 ac_check_lib_save_LIBS
=$LIBS
26922 LIBS
="-liodbc $LIBS"
26923 cat >conftest.
$ac_ext <<_ACEOF
26926 cat confdefs.h
>>conftest.
$ac_ext
26927 cat >>conftest.
$ac_ext <<_ACEOF
26928 /* end confdefs.h. */
26930 /* Override any gcc2 internal prototype to avoid an error. */
26934 /* We use char because int might match the return type of a gcc2
26935 builtin and then its argument prototype would still apply. */
26936 char SQLAllocEnv ();
26945 rm -f conftest.
$ac_objext conftest
$ac_exeext
26946 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26947 (eval $ac_link) 2>conftest.er1
26949 grep -v '^ *+' conftest.er1
>conftest.err
26951 cat conftest.err
>&5
26952 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26953 (exit $ac_status); } &&
26954 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
26955 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26956 (eval $ac_try) 2>&5
26958 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26959 (exit $ac_status); }; } &&
26960 { ac_try
='test -s conftest$ac_exeext'
26961 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26962 (eval $ac_try) 2>&5
26964 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26965 (exit $ac_status); }; }; then
26966 ac_cv_lib_iodbc_SQLAllocEnv
=yes
26968 echo "$as_me: failed program was:" >&5
26969 sed 's/^/| /' conftest.
$ac_ext >&5
26971 ac_cv_lib_iodbc_SQLAllocEnv
=no
26973 rm -f conftest.err conftest.
$ac_objext \
26974 conftest
$ac_exeext conftest.
$ac_ext
26975 LIBS
=$ac_check_lib_save_LIBS
26977 echo "$as_me:$LINENO: result: $ac_cv_lib_iodbc_SQLAllocEnv" >&5
26978 echo "${ECHO_T}$ac_cv_lib_iodbc_SQLAllocEnv" >&6
26979 if test $ac_cv_lib_iodbc_SQLAllocEnv = yes; then
26980 ODBC_LINK
=" -liodbc"
26983 echo "$as_me:$LINENO: checking for SQLAllocEnv in -lunixodbc" >&5
26984 echo $ECHO_N "checking for SQLAllocEnv in -lunixodbc... $ECHO_C" >&6
26985 if test "${ac_cv_lib_unixodbc_SQLAllocEnv+set}" = set; then
26986 echo $ECHO_N "(cached) $ECHO_C" >&6
26988 ac_check_lib_save_LIBS
=$LIBS
26989 LIBS
="-lunixodbc $LIBS"
26990 cat >conftest.
$ac_ext <<_ACEOF
26993 cat confdefs.h
>>conftest.
$ac_ext
26994 cat >>conftest.
$ac_ext <<_ACEOF
26995 /* end confdefs.h. */
26997 /* Override any gcc2 internal prototype to avoid an error. */
27001 /* We use char because int might match the return type of a gcc2
27002 builtin and then its argument prototype would still apply. */
27003 char SQLAllocEnv ();
27012 rm -f conftest.
$ac_objext conftest
$ac_exeext
27013 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27014 (eval $ac_link) 2>conftest.er1
27016 grep -v '^ *+' conftest.er1
>conftest.err
27018 cat conftest.err
>&5
27019 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27020 (exit $ac_status); } &&
27021 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
27022 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27023 (eval $ac_try) 2>&5
27025 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27026 (exit $ac_status); }; } &&
27027 { ac_try
='test -s conftest$ac_exeext'
27028 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27029 (eval $ac_try) 2>&5
27031 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27032 (exit $ac_status); }; }; then
27033 ac_cv_lib_unixodbc_SQLAllocEnv
=yes
27035 echo "$as_me: failed program was:" >&5
27036 sed 's/^/| /' conftest.
$ac_ext >&5
27038 ac_cv_lib_unixodbc_SQLAllocEnv
=no
27040 rm -f conftest.err conftest.
$ac_objext \
27041 conftest
$ac_exeext conftest.
$ac_ext
27042 LIBS
=$ac_check_lib_save_LIBS
27044 echo "$as_me:$LINENO: result: $ac_cv_lib_unixodbc_SQLAllocEnv" >&5
27045 echo "${ECHO_T}$ac_cv_lib_unixodbc_SQLAllocEnv" >&6
27046 if test $ac_cv_lib_unixodbc_SQLAllocEnv = yes; then
27047 ODBC_LINK
=" -lunixodbc"
27050 echo "$as_me:$LINENO: checking for SQLAllocEnv in -lodbc" >&5
27051 echo $ECHO_N "checking for SQLAllocEnv in -lodbc... $ECHO_C" >&6
27052 if test "${ac_cv_lib_odbc_SQLAllocEnv+set}" = set; then
27053 echo $ECHO_N "(cached) $ECHO_C" >&6
27055 ac_check_lib_save_LIBS
=$LIBS
27056 LIBS
="-lodbc $LIBS"
27057 cat >conftest.
$ac_ext <<_ACEOF
27060 cat confdefs.h
>>conftest.
$ac_ext
27061 cat >>conftest.
$ac_ext <<_ACEOF
27062 /* end confdefs.h. */
27064 /* Override any gcc2 internal prototype to avoid an error. */
27068 /* We use char because int might match the return type of a gcc2
27069 builtin and then its argument prototype would still apply. */
27070 char SQLAllocEnv ();
27079 rm -f conftest.
$ac_objext conftest
$ac_exeext
27080 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27081 (eval $ac_link) 2>conftest.er1
27083 grep -v '^ *+' conftest.er1
>conftest.err
27085 cat conftest.err
>&5
27086 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27087 (exit $ac_status); } &&
27088 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
27089 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27090 (eval $ac_try) 2>&5
27092 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27093 (exit $ac_status); }; } &&
27094 { ac_try
='test -s conftest$ac_exeext'
27095 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27096 (eval $ac_try) 2>&5
27098 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27099 (exit $ac_status); }; }; then
27100 ac_cv_lib_odbc_SQLAllocEnv
=yes
27102 echo "$as_me: failed program was:" >&5
27103 sed 's/^/| /' conftest.
$ac_ext >&5
27105 ac_cv_lib_odbc_SQLAllocEnv
=no
27107 rm -f conftest.err conftest.
$ac_objext \
27108 conftest
$ac_exeext conftest.
$ac_ext
27109 LIBS
=$ac_check_lib_save_LIBS
27111 echo "$as_me:$LINENO: result: $ac_cv_lib_odbc_SQLAllocEnv" >&5
27112 echo "${ECHO_T}$ac_cv_lib_odbc_SQLAllocEnv" >&6
27113 if test $ac_cv_lib_odbc_SQLAllocEnv = yes; then
27114 ODBC_LINK
=" -lodbc"
27124 if test "x$ODBC_LINK" = "x" ; then
27125 if test "$wxUSE_ODBC" = "sys" ; then
27126 { { echo "$as_me:$LINENO: error: system ODBC library not found! Use --with-odbc=builtin to use built-in version" >&5
27127 echo "$as_me: error: system ODBC library not found! Use --with-odbc=builtin to use built-in version" >&2;}
27128 { (exit 1); exit 1; }; }
27130 { echo "$as_me:$LINENO: WARNING: system ODBC library not found, will use built-in instead" >&5
27131 echo "$as_me: WARNING: system ODBC library not found, will use built-in instead" >&2;}
27138 if test "$wxUSE_ODBC" != "no" ; then
27139 cat >>confdefs.h
<<\_ACEOF
27140 #define wxUSE_ODBC 1
27143 if test "$wxUSE_ODBC" = "builtin" ; then
27144 cat >>confdefs.h
<<\_ACEOF
27145 #define wxUSE_BUILTIN_IODBC 1
27149 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS db"
27151 WXODBCFLAG
="-D_IODBC_"
27155 if test "$wxUSE_REGEX" = "builtin" ; then
27156 ALL_OBJECTS
="${ALL_OBJECTS} \$(REGEXOBJS)"
27158 if test "$wxUSE_ZLIB" = "builtin" ; then
27159 ALL_OBJECTS
="${ALL_OBJECTS} \$(ZLIBOBJS)"
27162 if test "$wxUSE_DISPLAY" = "yes"; then
27163 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_MAC" != 1; then
27164 echo "$as_me:$LINENO: checking for Xinerama" >&5
27165 echo $ECHO_N "checking for Xinerama... $ECHO_C" >&6
27168 for ac_dir
in $SEARCH_LIB /usr
/lib
;
27170 for ac_extension
in a so sl dylib
; do
27171 if test -f "$ac_dir/libXinerama.$ac_extension"; then
27172 ac_find_libraries
=$ac_dir
27178 if test "$ac_find_libraries" != "" ; then
27180 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev
/null
27182 if test $result = 0; then
27185 ac_path_to_link
=" -L$ac_find_libraries"
27188 if test "$ac_path_to_link" != " -L/usr/lib" ; then
27189 LDFLAGS
="$LDFLAGS $ac_path_to_link"
27191 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lXinerama"
27192 echo "$as_me:$LINENO: result: yes" >&5
27193 echo "${ECHO_T}yes" >&6
27195 echo "$as_me:$LINENO: checking for Xxf86vm extension" >&5
27196 echo $ECHO_N "checking for Xxf86vm extension... $ECHO_C" >&6
27199 for ac_dir
in $SEARCH_LIB /usr
/lib
;
27201 for ac_extension
in a so sl dylib
; do
27202 if test -f "$ac_dir/libXxf86vm.$ac_extension"; then
27203 ac_find_libraries
=$ac_dir
27209 if test "$ac_find_libraries" != "" ; then
27210 echo "$as_me:$LINENO: result: yes" >&5
27211 echo "${ECHO_T}yes" >&6
27213 for ac_header
in X
11/extensions
/xf86vmode.h
27215 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
27216 echo "$as_me:$LINENO: checking for $ac_header" >&5
27217 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
27218 if eval "test \"\${$as_ac_Header+set}\" = set"; then
27219 echo $ECHO_N "(cached) $ECHO_C" >&6
27221 cat >conftest.
$ac_ext <<_ACEOF
27224 cat confdefs.h
>>conftest.
$ac_ext
27225 cat >>conftest.
$ac_ext <<_ACEOF
27226 /* end confdefs.h. */
27228 #if HAVE_X11_XLIB_H
27229 #include <X11/Xlib.h>
27233 #include <$ac_header>
27235 rm -f conftest.
$ac_objext
27236 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27237 (eval $ac_compile) 2>conftest.er1
27239 grep -v '^ *+' conftest.er1
>conftest.err
27241 cat conftest.err
>&5
27242 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27243 (exit $ac_status); } &&
27244 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
27245 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27246 (eval $ac_try) 2>&5
27248 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27249 (exit $ac_status); }; } &&
27250 { ac_try
='test -s conftest.$ac_objext'
27251 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27252 (eval $ac_try) 2>&5
27254 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27255 (exit $ac_status); }; }; then
27256 eval "$as_ac_Header=yes"
27258 echo "$as_me: failed program was:" >&5
27259 sed 's/^/| /' conftest.
$ac_ext >&5
27261 eval "$as_ac_Header=no"
27263 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
27265 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
27266 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
27267 if test `eval echo '${'$as_ac_Header'}'` = yes; then
27268 cat >>confdefs.h
<<_ACEOF
27269 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
27272 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lXxf86vm"
27279 echo "$as_me:$LINENO: result: no" >&5
27280 echo "${ECHO_T}no" >&6
27284 echo "$as_me:$LINENO: result: no" >&5
27285 echo "${ECHO_T}no" >&6
27286 { echo "$as_me:$LINENO: WARNING: \"*** Xinerama not found; disabling wxDisplay\"" >&5
27287 echo "$as_me: WARNING: \"*** Xinerama not found; disabling wxDisplay\"" >&2;}
27295 if test "$wxUSE_OPENGL" = "yes"; then
27296 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = "1"; then
27297 OPENGL_LIBS
="-framework OpenGL -framework AGL"
27298 elif test "$wxUSE_MSW" = 1; then
27299 OPENGL_LIBS
="-lopengl32 -lglu32"
27304 for ac_dir
in $SEARCH_INCLUDE /usr
/include
;
27306 if test -f "$ac_dir/GL/gl.h"; then
27307 ac_find_includes
=$ac_dir
27312 if test "$ac_find_includes" != "" ; then
27313 echo "$as_me:$LINENO: result: found in $ac_find_includes" >&5
27314 echo "${ECHO_T}found in $ac_find_includes" >&6
27316 if test "x$ac_find_includes" = "x/usr/include"; then
27317 ac_path_to_include
=""
27319 echo "$CPPFLAGS" | grep "\-I$ac_find_includes" > /dev
/null
27321 if test $result = 0; then
27322 ac_path_to_include
=""
27324 ac_path_to_include
=" -I$ac_find_includes"
27328 CPPFLAGS
="$CPPFLAGS$ac_path_to_include"
27331 if test "${ac_cv_header_GL_gl_h+set}" = set; then
27332 echo "$as_me:$LINENO: checking for GL/gl.h" >&5
27333 echo $ECHO_N "checking for GL/gl.h... $ECHO_C" >&6
27334 if test "${ac_cv_header_GL_gl_h+set}" = set; then
27335 echo $ECHO_N "(cached) $ECHO_C" >&6
27337 echo "$as_me:$LINENO: result: $ac_cv_header_GL_gl_h" >&5
27338 echo "${ECHO_T}$ac_cv_header_GL_gl_h" >&6
27340 # Is the header compilable?
27341 echo "$as_me:$LINENO: checking GL/gl.h usability" >&5
27342 echo $ECHO_N "checking GL/gl.h usability... $ECHO_C" >&6
27343 cat >conftest.
$ac_ext <<_ACEOF
27346 cat confdefs.h
>>conftest.
$ac_ext
27347 cat >>conftest.
$ac_ext <<_ACEOF
27348 /* end confdefs.h. */
27349 $ac_includes_default
27352 rm -f conftest.
$ac_objext
27353 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27354 (eval $ac_compile) 2>conftest.er1
27356 grep -v '^ *+' conftest.er1
>conftest.err
27358 cat conftest.err
>&5
27359 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27360 (exit $ac_status); } &&
27361 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
27362 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27363 (eval $ac_try) 2>&5
27365 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27366 (exit $ac_status); }; } &&
27367 { ac_try
='test -s conftest.$ac_objext'
27368 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27369 (eval $ac_try) 2>&5
27371 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27372 (exit $ac_status); }; }; then
27373 ac_header_compiler
=yes
27375 echo "$as_me: failed program was:" >&5
27376 sed 's/^/| /' conftest.
$ac_ext >&5
27378 ac_header_compiler
=no
27380 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
27381 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
27382 echo "${ECHO_T}$ac_header_compiler" >&6
27384 # Is the header present?
27385 echo "$as_me:$LINENO: checking GL/gl.h presence" >&5
27386 echo $ECHO_N "checking GL/gl.h presence... $ECHO_C" >&6
27387 cat >conftest.
$ac_ext <<_ACEOF
27390 cat confdefs.h
>>conftest.
$ac_ext
27391 cat >>conftest.
$ac_ext <<_ACEOF
27392 /* end confdefs.h. */
27395 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
27396 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
27398 grep -v '^ *+' conftest.er1
>conftest.err
27400 cat conftest.err
>&5
27401 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27402 (exit $ac_status); } >/dev
/null
; then
27403 if test -s conftest.err
; then
27404 ac_cpp_err
=$ac_c_preproc_warn_flag
27405 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
27412 if test -z "$ac_cpp_err"; then
27413 ac_header_preproc
=yes
27415 echo "$as_me: failed program was:" >&5
27416 sed 's/^/| /' conftest.
$ac_ext >&5
27418 ac_header_preproc
=no
27420 rm -f conftest.err conftest.
$ac_ext
27421 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
27422 echo "${ECHO_T}$ac_header_preproc" >&6
27424 # So? What about this header?
27425 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
27427 { echo "$as_me:$LINENO: WARNING: GL/gl.h: accepted by the compiler, rejected by the preprocessor!" >&5
27428 echo "$as_me: WARNING: GL/gl.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
27429 { echo "$as_me:$LINENO: WARNING: GL/gl.h: proceeding with the compiler's result" >&5
27430 echo "$as_me: WARNING: GL/gl.h: proceeding with the compiler's result" >&2;}
27431 ac_header_preproc
=yes
27434 { echo "$as_me:$LINENO: WARNING: GL/gl.h: present but cannot be compiled" >&5
27435 echo "$as_me: WARNING: GL/gl.h: present but cannot be compiled" >&2;}
27436 { echo "$as_me:$LINENO: WARNING: GL/gl.h: check for missing prerequisite headers?" >&5
27437 echo "$as_me: WARNING: GL/gl.h: check for missing prerequisite headers?" >&2;}
27438 { echo "$as_me:$LINENO: WARNING: GL/gl.h: see the Autoconf documentation" >&5
27439 echo "$as_me: WARNING: GL/gl.h: see the Autoconf documentation" >&2;}
27440 { echo "$as_me:$LINENO: WARNING: GL/gl.h: section \"Present But Cannot Be Compiled\"" >&5
27441 echo "$as_me: WARNING: GL/gl.h: section \"Present But Cannot Be Compiled\"" >&2;}
27442 { echo "$as_me:$LINENO: WARNING: GL/gl.h: proceeding with the preprocessor's result" >&5
27443 echo "$as_me: WARNING: GL/gl.h: proceeding with the preprocessor's result" >&2;}
27444 { echo "$as_me:$LINENO: WARNING: GL/gl.h: in the future, the compiler will take precedence" >&5
27445 echo "$as_me: WARNING: GL/gl.h: in the future, the compiler will take precedence" >&2;}
27448 ## ----------------------------------------- ##
27449 ## Report this to wx-dev@lists.wxwindows.org ##
27450 ## ----------------------------------------- ##
27453 sed "s/^/$as_me: WARNING: /" >&2
27456 echo "$as_me:$LINENO: checking for GL/gl.h" >&5
27457 echo $ECHO_N "checking for GL/gl.h... $ECHO_C" >&6
27458 if test "${ac_cv_header_GL_gl_h+set}" = set; then
27459 echo $ECHO_N "(cached) $ECHO_C" >&6
27461 ac_cv_header_GL_gl_h
=$ac_header_preproc
27463 echo "$as_me:$LINENO: result: $ac_cv_header_GL_gl_h" >&5
27464 echo "${ECHO_T}$ac_cv_header_GL_gl_h" >&6
27467 if test $ac_cv_header_GL_gl_h = yes; then
27471 echo "$as_me:$LINENO: checking for -lGL" >&5
27472 echo $ECHO_N "checking for -lGL... $ECHO_C" >&6
27475 for ac_dir
in $SEARCH_LIB /usr
/lib
;
27477 for ac_extension
in a so sl dylib
; do
27478 if test -f "$ac_dir/libGL.$ac_extension"; then
27479 ac_find_libraries
=$ac_dir
27485 if test "$ac_find_libraries" != "" ; then
27487 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev
/null
27489 if test $result = 0; then
27492 ac_path_to_link
=" -L$ac_find_libraries"
27495 if test "$ac_path_to_link" != " -L/usr/lib" ; then
27496 LDFLAGS_GL
="$ac_path_to_link"
27501 for ac_dir
in $SEARCH_LIB /usr
/lib
;
27503 for ac_extension
in a so sl dylib
; do
27504 if test -f "$ac_dir/libGLU.$ac_extension"; then
27505 ac_find_libraries
=$ac_dir
27511 if test "$ac_find_libraries" != "" ; then
27513 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev
/null
27515 if test $result = 0; then
27518 ac_path_to_link
=" -L$ac_find_libraries"
27521 if test "$ac_path_to_link" != " -L/usr/lib" -a \
27522 "$ac_path_to_link" != "$LDFLAGS_GL"; then
27523 LDFLAGS_GL
="$LDFLAGS_GL$ac_path_to_link"
27527 OPENGL_LIBS
="-lGL -lGLU"
27528 echo "$as_me:$LINENO: result: yes" >&5
27529 echo "${ECHO_T}yes" >&6
27533 if test "$found_gl" != 1; then
27534 echo "$as_me:$LINENO: result: no" >&5
27535 echo "${ECHO_T}no" >&6
27536 echo "$as_me:$LINENO: checking for -lMesaGL" >&5
27537 echo $ECHO_N "checking for -lMesaGL... $ECHO_C" >&6
27540 for ac_dir
in $SEARCH_LIB /usr
/lib
;
27542 for ac_extension
in a so sl dylib
; do
27543 if test -f "$ac_dir/libMesaGL.$ac_extension"; then
27544 ac_find_libraries
=$ac_dir
27550 if test "$ac_find_libraries" != "" ; then
27552 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev
/null
27554 if test $result = 0; then
27557 ac_path_to_link
=" -L$ac_find_libraries"
27560 LDFLAGS_GL
="$LDFLAGS$ac_path_to_link"
27561 OPENGL_LIBS
="-lMesaGL -lMesaGLU"
27562 echo "$as_me:$LINENO: result: yes" >&5
27563 echo "${ECHO_T}yes" >&6
27565 echo "$as_me:$LINENO: result: no" >&5
27566 echo "${ECHO_T}no" >&6
27574 if test "x$OPENGL_LIBS" = "x"; then
27575 { { echo "$as_me:$LINENO: error: OpenGL libraries not available" >&5
27576 echo "$as_me: error: OpenGL libraries not available" >&2;}
27577 { (exit 1); exit 1; }; }
27581 if test "$wxUSE_OPENGL" = "yes"; then
27583 cat >>confdefs.h
<<\_ACEOF
27584 #define wxUSE_OPENGL 1
27587 cat >>confdefs.h
<<\_ACEOF
27588 #define wxUSE_GLCANVAS 1
27591 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS opengl opengl/cube opengl/penguin opengl/isosurf"
27595 if test -z "$TOOLKIT_VPATH" ; then
27596 TOOLKIT_VPATH
="\${top_srcdir}/src/${TOOLKIT_DIR}"
27599 if test -n "$TOOLKIT" ; then
27600 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -D__WX${TOOLKIT}__"
27604 lib_unicode_suffix
=
27605 if test "$wxUSE_UNICODE" = "yes"; then
27606 lib_unicode_suffix
=u
27612 if test "$wxUSE_DEBUG_FLAG" = "yes"; then
27618 if test "$wxUSE_DEBUG_INFO" = "yes"; then
27622 WX_VERSION_TAG
=`echo WX${lib_unicode_suffix}${lib_debug_suffix}_${WX_RELEASE} | tr "[a-z]" "[A-Z]"`
27624 TOOLCHAIN_NAME
="${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}-${WX_RELEASE}"
27625 TOOLCHAIN_NAME_GL
="${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}_gl-${WX_RELEASE}"
27627 if test "$cross_compiling" = "yes"; then
27628 TOOLCHAIN_NAME
="${TOOLCHAIN_NAME}-${host_alias}"
27629 TOOLCHAIN_NAME_GL
="${TOOLCHAIN_NAME_GL}-${host_alias}"
27630 HOST_SUFFIX
="-${host_alias}"
27633 WX_LIBRARY
="wx_${TOOLCHAIN_NAME}"
27634 WX_LIBRARY_GL
="wx_${TOOLCHAIN_NAME_GL}"
27635 WX_LIBRARY_BASENAME_NOGUI
="wx_base${WXBASEPORT}${lib_unicode_suffix}${lib_debug_suffix}"
27636 WX_LIBRARY_BASENAME_GUI
="wx_${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}"
27638 WX_LIBRARY_NAME_SHARED
="lib${WX_LIBRARY}.${SO_SUFFIX}.${WX_CURRENT}.${WX_REVISION}.${WX_AGE}"
27639 WX_LIBRARY_NAME_SHARED_GL
="lib${WX_LIBRARY_GL}.${SO_SUFFIX}.${WX_CURRENT}.${WX_REVISION}.${WX_AGE}"
27641 WX_LIBRARY_LINK1
="lib${WX_LIBRARY}.${SO_SUFFIX}.${WX_CURRENT}"
27642 WX_LIBRARY_LINK2
="lib${WX_LIBRARY}.${SO_SUFFIX}"
27643 WX_LIBRARY_LINK1_GL
="lib${WX_LIBRARY_GL}.${SO_SUFFIX}.${WX_CURRENT}"
27644 WX_LIBRARY_LINK2_GL
="lib${WX_LIBRARY_GL}.${SO_SUFFIX}"
27647 *-*-cygwin* | *-*-mingw32* )
27648 WX_LIBRARY_NAME_SHARED
="lib${WX_LIBRARY}.${SO_SUFFIX}"
27649 WX_LIBRARY_NAME_SHARED_GL
="lib${WX_LIBRARY_GL}.${SO_SUFFIX}"
27654 WX_LIBRARY_NAME_SHARED
="lib${WX_LIBRARY}.${WX_CURRENT}.${WX_REVISION}.${WX_AGE}.${SO_SUFFIX}"
27655 WX_LIBRARY_NAME_SHARED_GL
="lib${WX_LIBRARY_GL}.${WX_CURRENT}.${WX_REVISION}.${WX_AGE}.${SO_SUFFIX}"
27657 WX_LIBRARY_LINK1
="lib${WX_LIBRARY}.${WX_CURRENT}.${SO_SUFFIX}"
27658 WX_LIBRARY_LINK2
="lib${WX_LIBRARY}.${SO_SUFFIX}"
27659 WX_LIBRARY_LINK1_GL
="lib${WX_LIBRARY_GL}.${WX_CURRENT}.${SO_SUFFIX}"
27660 WX_LIBRARY_LINK2_GL
="lib${WX_LIBRARY_GL}.${SO_SUFFIX}"
27662 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = "1"; then
27663 WX_RESOURCES_MACOSX_ASCII
="lib${WX_LIBRARY}.${WX_CURRENT}.r"
27664 WX_RESOURCES_MACOSX_DATA
="lib${WX_LIBRARY}.${WX_CURRENT}.rsrc"
27669 WX_LIBRARY_NAME_STATIC
="lib${WX_LIBRARY}.a"
27670 WX_LIBRARY_NAME_STATIC_GL
="lib${WX_LIBRARY_GL}.a"
27672 WXCONFIG_LIBS
="-l${WX_LIBRARY}"
27673 WXCONFIG_LIBS_STATIC
="lib${WX_LIBRARY}.a"
27675 if test "$wxUSE_OPENGL" = "yes"; then
27676 WXCONFIG_LIBS_GL
="-l${WX_LIBRARY_GL} ${OPENGL_LIBS}"
27677 WXCONFIG_LIBS_STATIC_GL
="lib${WX_LIBRARY_GL}.a ${OPENGL_LIBS}"
27682 if test "$wxUSE_SHARED" = "yes"; then
27686 { echo "$as_me:$LINENO: WARNING: Host system doesn't support shared libraries, disabling" >&5
27687 echo "$as_me: WARNING: Host system doesn't support shared libraries, disabling" >&2;}
27693 if test "$wxUSE_SHARED" = "yes"; then
27697 found_versioning
=no
27700 if test $found_versioning = no
; then
27701 echo "$as_me:$LINENO: checking if the linker accepts --version-script" >&5
27702 echo $ECHO_N "checking if the linker accepts --version-script... $ECHO_C" >&6
27703 if test "${wx_cv_version_script+set}" = set; then
27704 echo $ECHO_N "(cached) $ECHO_C" >&6
27707 echo "VER_1 { *; };" >conftest.sym
27708 echo "int main() { return 0; }" >conftest.cpp
27711 $CXX -o conftest.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
27712 -Wl,--version-script,conftest.sym >/dev/null 2>conftest.stderr'
27713 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27714 (eval $ac_try) 2>&5
27716 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27717 (exit $ac_status); }; } ; then
27718 if test -s conftest.stderr
; then
27719 wx_cv_version_script
=no
27721 wx_cv_version_script
=yes
27724 wx_cv_version_script
=no
27726 rm -f conftest.output conftest.stderr conftest.sym conftest.cpp
27729 echo "$as_me:$LINENO: result: $wx_cv_version_script" >&5
27730 echo "${ECHO_T}$wx_cv_version_script" >&6
27731 if test $wx_cv_version_script = yes ; then
27732 LDFLAGS_VERSIONING
="-Wl,--version-script,\$(top_builddir)version-script"
27738 *-*-linux* | *-*-gnu* )
27739 SAMPLES_RPATH_FLAG
="-Wl,-rpath,\$(top_builddir)lib"
27743 if test "$GCC" = yes ; then
27744 CPPFLAGS
="$CPPFLAGS -isystem /usr/openwin/include"
27746 saveLdflags
="$LDFLAGS"
27747 LDFLAGS
="$saveLdflags -Wl,-rpath,/"
27748 echo "$as_me:$LINENO: checking if the linker accepts -rpath" >&5
27749 echo $ECHO_N "checking if the linker accepts -rpath... $ECHO_C" >&6
27750 cat >conftest.
$ac_ext <<_ACEOF
27753 cat confdefs.h
>>conftest.
$ac_ext
27754 cat >>conftest.
$ac_ext <<_ACEOF
27755 /* end confdefs.h. */
27765 rm -f conftest.
$ac_objext conftest
$ac_exeext
27766 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27767 (eval $ac_link) 2>conftest.er1
27769 grep -v '^ *+' conftest.er1
>conftest.err
27771 cat conftest.err
>&5
27772 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27773 (exit $ac_status); } &&
27774 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
27775 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27776 (eval $ac_try) 2>&5
27778 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27779 (exit $ac_status); }; } &&
27780 { ac_try
='test -s conftest$ac_exeext'
27781 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27782 (eval $ac_try) 2>&5
27784 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27785 (exit $ac_status); }; }; then
27787 echo "$as_me:$LINENO: result: yes" >&5
27788 echo "${ECHO_T}yes" >&6
27789 SAMPLES_RPATH_FLAG
="-Wl,-rpath,\$(top_builddir)lib"
27792 echo "$as_me: failed program was:" >&5
27793 sed 's/^/| /' conftest.
$ac_ext >&5
27796 echo "$as_me:$LINENO: result: no" >&5
27797 echo "${ECHO_T}no" >&6
27798 echo "$as_me:$LINENO: checking if the linker accepts -R" >&5
27799 echo $ECHO_N "checking if the linker accepts -R... $ECHO_C" >&6
27800 LDFLAGS
="$saveLdflags -Wl,-R,/"
27801 cat >conftest.
$ac_ext <<_ACEOF
27804 cat confdefs.h
>>conftest.
$ac_ext
27805 cat >>conftest.
$ac_ext <<_ACEOF
27806 /* end confdefs.h. */
27816 rm -f conftest.
$ac_objext conftest
$ac_exeext
27817 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27818 (eval $ac_link) 2>conftest.er1
27820 grep -v '^ *+' conftest.er1
>conftest.err
27822 cat conftest.err
>&5
27823 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27824 (exit $ac_status); } &&
27825 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
27826 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27827 (eval $ac_try) 2>&5
27829 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27830 (exit $ac_status); }; } &&
27831 { ac_try
='test -s conftest$ac_exeext'
27832 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27833 (eval $ac_try) 2>&5
27835 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27836 (exit $ac_status); }; }; then
27838 echo "$as_me:$LINENO: result: yes" >&5
27839 echo "${ECHO_T}yes" >&6
27840 SAMPLES_RPATH_FLAG
="-Wl,-R,\$(top_builddir)lib"
27842 echo "$as_me: failed program was:" >&5
27843 sed 's/^/| /' conftest.
$ac_ext >&5
27846 echo "$as_me:$LINENO: result: no" >&5
27847 echo "${ECHO_T}no" >&6
27850 rm -f conftest.err conftest.
$ac_objext \
27851 conftest
$ac_exeext conftest.
$ac_ext
27854 rm -f conftest.err conftest.
$ac_objext \
27855 conftest
$ac_exeext conftest.
$ac_ext
27856 LDFLAGS
="$saveLdflags"
27858 SHARED_LD
="${CXX} -G -o"
27860 SAMPLES_RPATH_FLAG
="-R\$(top_builddir)lib"
27864 powerpc
-*-darwin* )
27865 SAMPLES_RPATH_POSTLINK
="\$(top_builddir)change-install-names \$(LIBDIRNAME) \$(prefix) \$@"
27866 cat <<EOF >change-install-names
27868 libnames=\`cd \${1} ; ls -1 | grep '\.[0-9][0-9]*\.dylib\$'\`
27869 inst_cmd="install_name_tool "
27870 for i in \${libnames} ; do
27871 inst_cmd="\${inst_cmd} -change \${2}/lib/\${i} \${1}/\${i}"
27875 chmod +x change
-install-names
27880 if test "x$WX_TARGET_LIBRARY" = "x"; then
27881 WX_TARGET_LIBRARY
="${WX_LIBRARY_NAME_SHARED}"
27882 WX_TARGET_LIBRARY_GL
="${WX_LIBRARY_NAME_SHARED_GL}"
27885 WX_TARGET_LIBRARY_TYPE
="so"
27886 INSTALL_LIBRARY
='$(INSTALL_PROGRAM)'
27889 if test "$wxUSE_SHARED" = "no"; then
27891 if test "$wxUSE_GUI" = "no" -o "$USE_WIN32" = 1 ; then
27892 WX_ALL_INSTALLED
="${WX_ALL_INSTALLED} preinstall"
27895 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1 ; then
27896 WX_ALL_INSTALLED
="${WX_ALL_INSTALLED} preinstall"
27899 if test "$wxUSE_OPENGL" = "yes"; then
27900 WX_ALL_INSTALLED
="${WX_ALL_INSTALLED} preinstall_gl"
27901 WX_ALL
="\$(build_libdir)/${WX_LIBRARY_NAME_STATIC} \$(build_libdir)/${WX_LIBRARY_NAME_STATIC_GL}"
27903 WX_ALL
="\$(build_libdir)/${WX_LIBRARY_NAME_STATIC}"
27906 WX_TARGET_LIBRARY
="${WX_LIBRARY_NAME_STATIC}"
27907 WX_TARGET_LIBRARY_GL
="${WX_LIBRARY_NAME_STATIC_GL}"
27909 WX_TARGET_LIBRARY_TYPE
="a"
27910 INSTALL_LIBRARY
='$(INSTALL_DATA)'
27917 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1; then
27918 LIBWXMACRES
="\$(top_builddir)lib/${WX_RESOURCES_MACOSX_ASCII}"
27919 WX_ALL
="${WX_ALL} ${LIBWXMACRES}"
27920 WX_ALL_INSTALLED
="${WX_ALL_INSTALLED} preinstall_res"
27922 # Extract the first word of "Rez", so it can be a program name with args.
27923 set dummy Rez
; ac_word
=$2
27924 echo "$as_me:$LINENO: checking for $ac_word" >&5
27925 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
27926 if test "${ac_cv_prog_RESCOMP+set}" = set; then
27927 echo $ECHO_N "(cached) $ECHO_C" >&6
27929 if test -n "$RESCOMP"; then
27930 ac_cv_prog_RESCOMP
="$RESCOMP" # Let the user override the test.
27932 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
27933 for as_dir
in $PATH
27936 test -z "$as_dir" && as_dir
=.
27937 for ac_exec_ext
in '' $ac_executable_extensions; do
27938 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
27939 ac_cv_prog_RESCOMP
="Rez"
27940 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
27946 test -z "$ac_cv_prog_RESCOMP" && ac_cv_prog_RESCOMP
="/Developer/Tools/Rez"
27949 RESCOMP
=$ac_cv_prog_RESCOMP
27950 if test -n "$RESCOMP"; then
27951 echo "$as_me:$LINENO: result: $RESCOMP" >&5
27952 echo "${ECHO_T}$RESCOMP" >&6
27954 echo "$as_me:$LINENO: result: no" >&5
27955 echo "${ECHO_T}no" >&6
27958 # Extract the first word of "DeRez", so it can be a program name with args.
27959 set dummy DeRez
; ac_word
=$2
27960 echo "$as_me:$LINENO: checking for $ac_word" >&5
27961 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
27962 if test "${ac_cv_prog_DEREZ+set}" = set; then
27963 echo $ECHO_N "(cached) $ECHO_C" >&6
27965 if test -n "$DEREZ"; then
27966 ac_cv_prog_DEREZ
="$DEREZ" # Let the user override the test.
27968 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
27969 for as_dir
in $PATH
27972 test -z "$as_dir" && as_dir
=.
27973 for ac_exec_ext
in '' $ac_executable_extensions; do
27974 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
27975 ac_cv_prog_DEREZ
="DeRez"
27976 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
27982 test -z "$ac_cv_prog_DEREZ" && ac_cv_prog_DEREZ
="/Developer/Tools/DeRez"
27985 DEREZ
=$ac_cv_prog_DEREZ
27986 if test -n "$DEREZ"; then
27987 echo "$as_me:$LINENO: result: $DEREZ" >&5
27988 echo "${ECHO_T}$DEREZ" >&6
27990 echo "$as_me:$LINENO: result: no" >&5
27991 echo "${ECHO_T}no" >&6
27994 # Extract the first word of "SetFile", so it can be a program name with args.
27995 set dummy SetFile
; ac_word
=$2
27996 echo "$as_me:$LINENO: checking for $ac_word" >&5
27997 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
27998 if test "${ac_cv_prog_SETFILE+set}" = set; then
27999 echo $ECHO_N "(cached) $ECHO_C" >&6
28001 if test -n "$SETFILE"; then
28002 ac_cv_prog_SETFILE
="$SETFILE" # Let the user override the test.
28004 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
28005 for as_dir
in $PATH
28008 test -z "$as_dir" && as_dir
=.
28009 for ac_exec_ext
in '' $ac_executable_extensions; do
28010 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
28011 ac_cv_prog_SETFILE
="SetFile"
28012 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
28018 test -z "$ac_cv_prog_SETFILE" && ac_cv_prog_SETFILE
="/Developer/Tools/SetFile"
28021 SETFILE
=$ac_cv_prog_SETFILE
28022 if test -n "$SETFILE"; then
28023 echo "$as_me:$LINENO: result: $SETFILE" >&5
28024 echo "${ECHO_T}$SETFILE" >&6
28026 echo "$as_me:$LINENO: result: no" >&5
28027 echo "${ECHO_T}no" >&6
28031 MACSETFILE
="\$(SETFILE)"
28033 if test "$wxUSE_MAC" = 1; then
28034 MACRESCOMP
="\$(RESCOMP) -d __DARWIN__ -t APPL Carbon.r ${LIBWXMACRES} -o"
28036 MACRESWXCONFIG
="${RESCOMP} -d __DARWIN__ -t APPL Carbon.r \\\${exec_prefix}/lib/${WX_RESOURCES_MACOSX_ASCII} -o"
28038 MACRESCOMP
="echo -n | \$(RESCOMP) -d __DARWIN__ -t APPL ${LIBWXMACRES} -o"
28039 MACRESWXCONFIG
="echo -n \\\| ${RESCOMP} -d __DARWIN__ -t APPL \\\${exec_prefix}/lib/${WX_RESOURCES_MACOSX_ASCII} -o"
28045 if test "$wxUSE_PM" = 1; then
28046 MACRESCOMP
="emxbind -ep"
28054 echo "$as_me:$LINENO: checking for mode_t" >&5
28055 echo $ECHO_N "checking for mode_t... $ECHO_C" >&6
28056 if test "${ac_cv_type_mode_t+set}" = set; then
28057 echo $ECHO_N "(cached) $ECHO_C" >&6
28059 cat >conftest.
$ac_ext <<_ACEOF
28062 cat confdefs.h
>>conftest.
$ac_ext
28063 cat >>conftest.
$ac_ext <<_ACEOF
28064 /* end confdefs.h. */
28065 $ac_includes_default
28071 if (sizeof (mode_t))
28077 rm -f conftest.
$ac_objext
28078 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28079 (eval $ac_compile) 2>conftest.er1
28081 grep -v '^ *+' conftest.er1
>conftest.err
28083 cat conftest.err
>&5
28084 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28085 (exit $ac_status); } &&
28086 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
28087 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28088 (eval $ac_try) 2>&5
28090 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28091 (exit $ac_status); }; } &&
28092 { ac_try
='test -s conftest.$ac_objext'
28093 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28094 (eval $ac_try) 2>&5
28096 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28097 (exit $ac_status); }; }; then
28098 ac_cv_type_mode_t
=yes
28100 echo "$as_me: failed program was:" >&5
28101 sed 's/^/| /' conftest.
$ac_ext >&5
28103 ac_cv_type_mode_t
=no
28105 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
28107 echo "$as_me:$LINENO: result: $ac_cv_type_mode_t" >&5
28108 echo "${ECHO_T}$ac_cv_type_mode_t" >&6
28109 if test $ac_cv_type_mode_t = yes; then
28113 cat >>confdefs.h
<<_ACEOF
28119 echo "$as_me:$LINENO: checking for off_t" >&5
28120 echo $ECHO_N "checking for off_t... $ECHO_C" >&6
28121 if test "${ac_cv_type_off_t+set}" = set; then
28122 echo $ECHO_N "(cached) $ECHO_C" >&6
28124 cat >conftest.
$ac_ext <<_ACEOF
28127 cat confdefs.h
>>conftest.
$ac_ext
28128 cat >>conftest.
$ac_ext <<_ACEOF
28129 /* end confdefs.h. */
28130 $ac_includes_default
28136 if (sizeof (off_t))
28142 rm -f conftest.
$ac_objext
28143 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28144 (eval $ac_compile) 2>conftest.er1
28146 grep -v '^ *+' conftest.er1
>conftest.err
28148 cat conftest.err
>&5
28149 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28150 (exit $ac_status); } &&
28151 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
28152 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28153 (eval $ac_try) 2>&5
28155 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28156 (exit $ac_status); }; } &&
28157 { ac_try
='test -s conftest.$ac_objext'
28158 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28159 (eval $ac_try) 2>&5
28161 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28162 (exit $ac_status); }; }; then
28163 ac_cv_type_off_t
=yes
28165 echo "$as_me: failed program was:" >&5
28166 sed 's/^/| /' conftest.
$ac_ext >&5
28168 ac_cv_type_off_t
=no
28170 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
28172 echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
28173 echo "${ECHO_T}$ac_cv_type_off_t" >&6
28174 if test $ac_cv_type_off_t = yes; then
28178 cat >>confdefs.h
<<_ACEOF
28184 echo "$as_me:$LINENO: checking for pid_t" >&5
28185 echo $ECHO_N "checking for pid_t... $ECHO_C" >&6
28186 if test "${ac_cv_type_pid_t+set}" = set; then
28187 echo $ECHO_N "(cached) $ECHO_C" >&6
28189 cat >conftest.
$ac_ext <<_ACEOF
28192 cat confdefs.h
>>conftest.
$ac_ext
28193 cat >>conftest.
$ac_ext <<_ACEOF
28194 /* end confdefs.h. */
28195 $ac_includes_default
28201 if (sizeof (pid_t))
28207 rm -f conftest.
$ac_objext
28208 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28209 (eval $ac_compile) 2>conftest.er1
28211 grep -v '^ *+' conftest.er1
>conftest.err
28213 cat conftest.err
>&5
28214 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28215 (exit $ac_status); } &&
28216 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
28217 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28218 (eval $ac_try) 2>&5
28220 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28221 (exit $ac_status); }; } &&
28222 { ac_try
='test -s conftest.$ac_objext'
28223 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28224 (eval $ac_try) 2>&5
28226 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28227 (exit $ac_status); }; }; then
28228 ac_cv_type_pid_t
=yes
28230 echo "$as_me: failed program was:" >&5
28231 sed 's/^/| /' conftest.
$ac_ext >&5
28233 ac_cv_type_pid_t
=no
28235 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
28237 echo "$as_me:$LINENO: result: $ac_cv_type_pid_t" >&5
28238 echo "${ECHO_T}$ac_cv_type_pid_t" >&6
28239 if test $ac_cv_type_pid_t = yes; then
28243 cat >>confdefs.h
<<_ACEOF
28249 echo "$as_me:$LINENO: checking for size_t" >&5
28250 echo $ECHO_N "checking for size_t... $ECHO_C" >&6
28251 if test "${ac_cv_type_size_t+set}" = set; then
28252 echo $ECHO_N "(cached) $ECHO_C" >&6
28254 cat >conftest.
$ac_ext <<_ACEOF
28257 cat confdefs.h
>>conftest.
$ac_ext
28258 cat >>conftest.
$ac_ext <<_ACEOF
28259 /* end confdefs.h. */
28260 $ac_includes_default
28266 if (sizeof (size_t))
28272 rm -f conftest.
$ac_objext
28273 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28274 (eval $ac_compile) 2>conftest.er1
28276 grep -v '^ *+' conftest.er1
>conftest.err
28278 cat conftest.err
>&5
28279 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28280 (exit $ac_status); } &&
28281 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
28282 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28283 (eval $ac_try) 2>&5
28285 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28286 (exit $ac_status); }; } &&
28287 { ac_try
='test -s conftest.$ac_objext'
28288 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28289 (eval $ac_try) 2>&5
28291 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28292 (exit $ac_status); }; }; then
28293 ac_cv_type_size_t
=yes
28295 echo "$as_me: failed program was:" >&5
28296 sed 's/^/| /' conftest.
$ac_ext >&5
28298 ac_cv_type_size_t
=no
28300 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
28302 echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
28303 echo "${ECHO_T}$ac_cv_type_size_t" >&6
28304 if test $ac_cv_type_size_t = yes; then
28308 cat >>confdefs.h
<<_ACEOF
28309 #define size_t unsigned
28314 echo "$as_me:$LINENO: checking for uid_t in sys/types.h" >&5
28315 echo $ECHO_N "checking for uid_t in sys/types.h... $ECHO_C" >&6
28316 if test "${ac_cv_type_uid_t+set}" = set; then
28317 echo $ECHO_N "(cached) $ECHO_C" >&6
28319 cat >conftest.
$ac_ext <<_ACEOF
28322 cat confdefs.h
>>conftest.
$ac_ext
28323 cat >>conftest.
$ac_ext <<_ACEOF
28324 /* end confdefs.h. */
28325 #include <sys/types.h>
28328 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
28329 $EGREP "uid_t" >/dev
/null
2>&1; then
28330 ac_cv_type_uid_t
=yes
28332 ac_cv_type_uid_t
=no
28337 echo "$as_me:$LINENO: result: $ac_cv_type_uid_t" >&5
28338 echo "${ECHO_T}$ac_cv_type_uid_t" >&6
28339 if test $ac_cv_type_uid_t = no
; then
28341 cat >>confdefs.h
<<\_ACEOF
28346 cat >>confdefs.h
<<\_ACEOF
28356 ac_cpp
='$CXXCPP $CPPFLAGS'
28357 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28358 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28359 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
28361 echo "$as_me:$LINENO: checking if size_t is unsigned int" >&5
28362 echo $ECHO_N "checking if size_t is unsigned int... $ECHO_C" >&6
28363 if test "${wx_cv_size_t_is_uint+set}" = set; then
28364 echo $ECHO_N "(cached) $ECHO_C" >&6
28367 cat >conftest.
$ac_ext <<_ACEOF
28370 cat confdefs.h
>>conftest.
$ac_ext
28371 cat >>conftest.
$ac_ext <<_ACEOF
28372 /* end confdefs.h. */
28373 #include <stddef.h>
28380 struct Foo { void foo(size_t); void foo(unsigned int); };
28388 rm -f conftest.
$ac_objext
28389 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28390 (eval $ac_compile) 2>conftest.er1
28392 grep -v '^ *+' conftest.er1
>conftest.err
28394 cat conftest.err
>&5
28395 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28396 (exit $ac_status); } &&
28397 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
28398 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28399 (eval $ac_try) 2>&5
28401 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28402 (exit $ac_status); }; } &&
28403 { ac_try
='test -s conftest.$ac_objext'
28404 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28405 (eval $ac_try) 2>&5
28407 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28408 (exit $ac_status); }; }; then
28409 wx_cv_size_t_is_uint
=no
28411 echo "$as_me: failed program was:" >&5
28412 sed 's/^/| /' conftest.
$ac_ext >&5
28414 wx_cv_size_t_is_uint
=yes
28417 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
28421 echo "$as_me:$LINENO: result: $wx_cv_size_t_is_uint" >&5
28422 echo "${ECHO_T}$wx_cv_size_t_is_uint" >&6
28424 if test "$wx_cv_size_t_is_uint" = "yes"; then
28425 cat >>confdefs.h
<<\_ACEOF
28426 #define wxSIZE_T_IS_UINT 1
28430 echo "$as_me:$LINENO: checking if size_t is unsigned long" >&5
28431 echo $ECHO_N "checking if size_t is unsigned long... $ECHO_C" >&6
28432 if test "${wx_cv_size_t_is_ulong+set}" = set; then
28433 echo $ECHO_N "(cached) $ECHO_C" >&6
28435 cat >conftest.
$ac_ext <<_ACEOF
28438 cat confdefs.h
>>conftest.
$ac_ext
28439 cat >>conftest.
$ac_ext <<_ACEOF
28440 /* end confdefs.h. */
28441 #include <stddef.h>
28448 struct Foo { void foo(size_t); void foo(unsigned long); };
28456 rm -f conftest.
$ac_objext
28457 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28458 (eval $ac_compile) 2>conftest.er1
28460 grep -v '^ *+' conftest.er1
>conftest.err
28462 cat conftest.err
>&5
28463 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28464 (exit $ac_status); } &&
28465 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
28466 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28467 (eval $ac_try) 2>&5
28469 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28470 (exit $ac_status); }; } &&
28471 { ac_try
='test -s conftest.$ac_objext'
28472 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28473 (eval $ac_try) 2>&5
28475 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28476 (exit $ac_status); }; }; then
28477 wx_cv_size_t_is_ulong
=no
28479 echo "$as_me: failed program was:" >&5
28480 sed 's/^/| /' conftest.
$ac_ext >&5
28482 wx_cv_size_t_is_ulong
=yes
28485 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
28488 echo "$as_me:$LINENO: result: $wx_cv_size_t_is_ulong" >&5
28489 echo "${ECHO_T}$wx_cv_size_t_is_ulong" >&6
28491 if test "$wx_cv_size_t_is_ulong" = "yes"; then
28492 cat >>confdefs.h
<<\_ACEOF
28493 #define wxSIZE_T_IS_ULONG 1
28500 ac_cpp
='$CPP $CPPFLAGS'
28501 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28502 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28503 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
28507 echo "$as_me:$LINENO: checking for pw_gecos in struct passwd" >&5
28508 echo $ECHO_N "checking for pw_gecos in struct passwd... $ECHO_C" >&6
28509 if test "${wx_cv_struct_pw_gecos+set}" = set; then
28510 echo $ECHO_N "(cached) $ECHO_C" >&6
28513 cat >conftest.
$ac_ext <<_ACEOF
28516 cat confdefs.h
>>conftest.
$ac_ext
28517 cat >>conftest.
$ac_ext <<_ACEOF
28518 /* end confdefs.h. */
28532 rm -f conftest.
$ac_objext
28533 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28534 (eval $ac_compile) 2>conftest.er1
28536 grep -v '^ *+' conftest.er1
>conftest.err
28538 cat conftest.err
>&5
28539 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28540 (exit $ac_status); } &&
28541 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
28542 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28543 (eval $ac_try) 2>&5
28545 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28546 (exit $ac_status); }; } &&
28547 { ac_try
='test -s conftest.$ac_objext'
28548 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28549 (eval $ac_try) 2>&5
28551 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28552 (exit $ac_status); }; }; then
28554 wx_cv_struct_pw_gecos
=yes
28557 echo "$as_me: failed program was:" >&5
28558 sed 's/^/| /' conftest.
$ac_ext >&5
28561 wx_cv_struct_pw_gecos
=no
28565 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
28569 echo "$as_me:$LINENO: result: $wx_cv_struct_pw_gecos" >&5
28570 echo "${ECHO_T}$wx_cv_struct_pw_gecos" >&6
28572 if test "$wx_cv_struct_pw_gecos" = "yes"; then
28573 cat >>confdefs.h
<<\_ACEOF
28574 #define HAVE_PW_GECOS 1
28580 if test "$wx_cv_sizeof_wchar_t" != "0"; then
28581 cat >>confdefs.h
<<\_ACEOF
28582 #define wxUSE_WCHAR_T 1
28589 for ac_func
in wcslen
28591 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28592 echo "$as_me:$LINENO: checking for $ac_func" >&5
28593 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
28594 if eval "test \"\${$as_ac_var+set}\" = set"; then
28595 echo $ECHO_N "(cached) $ECHO_C" >&6
28597 cat >conftest.
$ac_ext <<_ACEOF
28600 cat confdefs.h
>>conftest.
$ac_ext
28601 cat >>conftest.
$ac_ext <<_ACEOF
28602 /* end confdefs.h. */
28603 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
28604 For example, HP-UX 11i <limits.h> declares gettimeofday. */
28605 #define $ac_func innocuous_$ac_func
28607 /* System header to define __stub macros and hopefully few prototypes,
28608 which can conflict with char $ac_func (); below.
28609 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28610 <limits.h> exists even on freestanding compilers. */
28613 # include <limits.h>
28615 # include <assert.h>
28620 /* Override any gcc2 internal prototype to avoid an error. */
28625 /* We use char because int might match the return type of a gcc2
28626 builtin and then its argument prototype would still apply. */
28628 /* The GNU C library defines this for functions which it implements
28629 to always fail with ENOSYS. Some functions are actually named
28630 something starting with __ and the normal name is an alias. */
28631 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
28634 char (*f) () = $ac_func;
28643 return f != $ac_func;
28648 rm -f conftest.
$ac_objext conftest
$ac_exeext
28649 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28650 (eval $ac_link) 2>conftest.er1
28652 grep -v '^ *+' conftest.er1
>conftest.err
28654 cat conftest.err
>&5
28655 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28656 (exit $ac_status); } &&
28657 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
28658 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28659 (eval $ac_try) 2>&5
28661 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28662 (exit $ac_status); }; } &&
28663 { ac_try
='test -s conftest$ac_exeext'
28664 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28665 (eval $ac_try) 2>&5
28667 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28668 (exit $ac_status); }; }; then
28669 eval "$as_ac_var=yes"
28671 echo "$as_me: failed program was:" >&5
28672 sed 's/^/| /' conftest.
$ac_ext >&5
28674 eval "$as_ac_var=no"
28676 rm -f conftest.err conftest.
$ac_objext \
28677 conftest
$ac_exeext conftest.
$ac_ext
28679 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
28680 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
28681 if test `eval echo '${'$as_ac_var'}'` = yes; then
28682 cat >>confdefs.h
<<_ACEOF
28683 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28690 if test "$WCSLEN_FOUND" = 0; then
28691 if test "$TOOLKIT" = "MSW"; then
28692 echo "$as_me:$LINENO: checking for wcslen in -lmsvcrt" >&5
28693 echo $ECHO_N "checking for wcslen in -lmsvcrt... $ECHO_C" >&6
28694 if test "${ac_cv_lib_msvcrt_wcslen+set}" = set; then
28695 echo $ECHO_N "(cached) $ECHO_C" >&6
28697 ac_check_lib_save_LIBS
=$LIBS
28698 LIBS
="-lmsvcrt $LIBS"
28699 cat >conftest.
$ac_ext <<_ACEOF
28702 cat confdefs.h
>>conftest.
$ac_ext
28703 cat >>conftest.
$ac_ext <<_ACEOF
28704 /* end confdefs.h. */
28706 /* Override any gcc2 internal prototype to avoid an error. */
28710 /* We use char because int might match the return type of a gcc2
28711 builtin and then its argument prototype would still apply. */
28721 rm -f conftest.
$ac_objext conftest
$ac_exeext
28722 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28723 (eval $ac_link) 2>conftest.er1
28725 grep -v '^ *+' conftest.er1
>conftest.err
28727 cat conftest.err
>&5
28728 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28729 (exit $ac_status); } &&
28730 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
28731 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28732 (eval $ac_try) 2>&5
28734 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28735 (exit $ac_status); }; } &&
28736 { ac_try
='test -s conftest$ac_exeext'
28737 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28738 (eval $ac_try) 2>&5
28740 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28741 (exit $ac_status); }; }; then
28742 ac_cv_lib_msvcrt_wcslen
=yes
28744 echo "$as_me: failed program was:" >&5
28745 sed 's/^/| /' conftest.
$ac_ext >&5
28747 ac_cv_lib_msvcrt_wcslen
=no
28749 rm -f conftest.err conftest.
$ac_objext \
28750 conftest
$ac_exeext conftest.
$ac_ext
28751 LIBS
=$ac_check_lib_save_LIBS
28753 echo "$as_me:$LINENO: result: $ac_cv_lib_msvcrt_wcslen" >&5
28754 echo "${ECHO_T}$ac_cv_lib_msvcrt_wcslen" >&6
28755 if test $ac_cv_lib_msvcrt_wcslen = yes; then
28760 echo "$as_me:$LINENO: checking for wcslen in -lw" >&5
28761 echo $ECHO_N "checking for wcslen in -lw... $ECHO_C" >&6
28762 if test "${ac_cv_lib_w_wcslen+set}" = set; then
28763 echo $ECHO_N "(cached) $ECHO_C" >&6
28765 ac_check_lib_save_LIBS
=$LIBS
28767 cat >conftest.
$ac_ext <<_ACEOF
28770 cat confdefs.h
>>conftest.
$ac_ext
28771 cat >>conftest.
$ac_ext <<_ACEOF
28772 /* end confdefs.h. */
28774 /* Override any gcc2 internal prototype to avoid an error. */
28778 /* We use char because int might match the return type of a gcc2
28779 builtin and then its argument prototype would still apply. */
28789 rm -f conftest.
$ac_objext conftest
$ac_exeext
28790 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28791 (eval $ac_link) 2>conftest.er1
28793 grep -v '^ *+' conftest.er1
>conftest.err
28795 cat conftest.err
>&5
28796 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28797 (exit $ac_status); } &&
28798 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
28799 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28800 (eval $ac_try) 2>&5
28802 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28803 (exit $ac_status); }; } &&
28804 { ac_try
='test -s conftest$ac_exeext'
28805 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28806 (eval $ac_try) 2>&5
28808 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28809 (exit $ac_status); }; }; then
28810 ac_cv_lib_w_wcslen
=yes
28812 echo "$as_me: failed program was:" >&5
28813 sed 's/^/| /' conftest.
$ac_ext >&5
28815 ac_cv_lib_w_wcslen
=no
28817 rm -f conftest.err conftest.
$ac_objext \
28818 conftest
$ac_exeext conftest.
$ac_ext
28819 LIBS
=$ac_check_lib_save_LIBS
28821 echo "$as_me:$LINENO: result: $ac_cv_lib_w_wcslen" >&5
28822 echo "${ECHO_T}$ac_cv_lib_w_wcslen" >&6
28823 if test $ac_cv_lib_w_wcslen = yes; then
28833 if test "$WCSLEN_FOUND" = 1; then
28834 cat >>confdefs.h
<<\_ACEOF
28835 #define HAVE_WCSLEN 1
28841 for ac_func
in wcsrtombs
28843 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28844 echo "$as_me:$LINENO: checking for $ac_func" >&5
28845 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
28846 if eval "test \"\${$as_ac_var+set}\" = set"; then
28847 echo $ECHO_N "(cached) $ECHO_C" >&6
28849 cat >conftest.
$ac_ext <<_ACEOF
28852 cat confdefs.h
>>conftest.
$ac_ext
28853 cat >>conftest.
$ac_ext <<_ACEOF
28854 /* end confdefs.h. */
28855 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
28856 For example, HP-UX 11i <limits.h> declares gettimeofday. */
28857 #define $ac_func innocuous_$ac_func
28859 /* System header to define __stub macros and hopefully few prototypes,
28860 which can conflict with char $ac_func (); below.
28861 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28862 <limits.h> exists even on freestanding compilers. */
28865 # include <limits.h>
28867 # include <assert.h>
28872 /* Override any gcc2 internal prototype to avoid an error. */
28877 /* We use char because int might match the return type of a gcc2
28878 builtin and then its argument prototype would still apply. */
28880 /* The GNU C library defines this for functions which it implements
28881 to always fail with ENOSYS. Some functions are actually named
28882 something starting with __ and the normal name is an alias. */
28883 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
28886 char (*f) () = $ac_func;
28895 return f != $ac_func;
28900 rm -f conftest.
$ac_objext conftest
$ac_exeext
28901 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28902 (eval $ac_link) 2>conftest.er1
28904 grep -v '^ *+' conftest.er1
>conftest.err
28906 cat conftest.err
>&5
28907 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28908 (exit $ac_status); } &&
28909 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
28910 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28911 (eval $ac_try) 2>&5
28913 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28914 (exit $ac_status); }; } &&
28915 { ac_try
='test -s conftest$ac_exeext'
28916 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28917 (eval $ac_try) 2>&5
28919 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28920 (exit $ac_status); }; }; then
28921 eval "$as_ac_var=yes"
28923 echo "$as_me: failed program was:" >&5
28924 sed 's/^/| /' conftest.
$ac_ext >&5
28926 eval "$as_ac_var=no"
28928 rm -f conftest.err conftest.
$ac_objext \
28929 conftest
$ac_exeext conftest.
$ac_ext
28931 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
28932 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
28933 if test `eval echo '${'$as_ac_var'}'` = yes; then
28934 cat >>confdefs.h
<<_ACEOF
28935 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28942 { echo "$as_me:$LINENO: WARNING: Wide character support is unavailable" >&5
28943 echo "$as_me: WARNING: Wide character support is unavailable" >&2;}
28949 ac_cpp
='$CXXCPP $CPPFLAGS'
28950 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28951 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28952 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
28956 for ac_func
in vsnprintf
28958 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28959 echo "$as_me:$LINENO: checking for $ac_func" >&5
28960 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
28961 if eval "test \"\${$as_ac_var+set}\" = set"; then
28962 echo $ECHO_N "(cached) $ECHO_C" >&6
28964 cat >conftest.
$ac_ext <<_ACEOF
28967 cat confdefs.h
>>conftest.
$ac_ext
28968 cat >>conftest.
$ac_ext <<_ACEOF
28969 /* end confdefs.h. */
28970 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
28971 For example, HP-UX 11i <limits.h> declares gettimeofday. */
28972 #define $ac_func innocuous_$ac_func
28974 /* System header to define __stub macros and hopefully few prototypes,
28975 which can conflict with char $ac_func (); below.
28976 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28977 <limits.h> exists even on freestanding compilers. */
28980 # include <limits.h>
28982 # include <assert.h>
28987 /* Override any gcc2 internal prototype to avoid an error. */
28992 /* We use char because int might match the return type of a gcc2
28993 builtin and then its argument prototype would still apply. */
28995 /* The GNU C library defines this for functions which it implements
28996 to always fail with ENOSYS. Some functions are actually named
28997 something starting with __ and the normal name is an alias. */
28998 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
29001 char (*f) () = $ac_func;
29010 return f != $ac_func;
29015 rm -f conftest.
$ac_objext conftest
$ac_exeext
29016 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29017 (eval $ac_link) 2>conftest.er1
29019 grep -v '^ *+' conftest.er1
>conftest.err
29021 cat conftest.err
>&5
29022 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29023 (exit $ac_status); } &&
29024 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
29025 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29026 (eval $ac_try) 2>&5
29028 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29029 (exit $ac_status); }; } &&
29030 { ac_try
='test -s conftest$ac_exeext'
29031 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29032 (eval $ac_try) 2>&5
29034 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29035 (exit $ac_status); }; }; then
29036 eval "$as_ac_var=yes"
29038 echo "$as_me: failed program was:" >&5
29039 sed 's/^/| /' conftest.
$ac_ext >&5
29041 eval "$as_ac_var=no"
29043 rm -f conftest.err conftest.
$ac_objext \
29044 conftest
$ac_exeext conftest.
$ac_ext
29046 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
29047 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
29048 if test `eval echo '${'$as_ac_var'}'` = yes; then
29049 cat >>confdefs.h
<<_ACEOF
29050 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
29057 if test "$ac_cv_func_vsnprintf" = "yes"; then
29058 echo "$as_me:$LINENO: checking for vsnprintf declaration" >&5
29059 echo $ECHO_N "checking for vsnprintf declaration... $ECHO_C" >&6
29060 if test "${wx_cv_func_vsnprintf_decl+set}" = set; then
29061 echo $ECHO_N "(cached) $ECHO_C" >&6
29064 cat >conftest.
$ac_ext <<_ACEOF
29067 cat confdefs.h
>>conftest.
$ac_ext
29068 cat >>conftest.
$ac_ext <<_ACEOF
29069 /* end confdefs.h. */
29072 #include <stdarg.h>
29080 vsnprintf(buf, 10u, "%s", ap);
29086 rm -f conftest.
$ac_objext
29087 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29088 (eval $ac_compile) 2>conftest.er1
29090 grep -v '^ *+' conftest.er1
>conftest.err
29092 cat conftest.err
>&5
29093 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29094 (exit $ac_status); } &&
29095 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
29096 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29097 (eval $ac_try) 2>&5
29099 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29100 (exit $ac_status); }; } &&
29101 { ac_try
='test -s conftest.$ac_objext'
29102 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29103 (eval $ac_try) 2>&5
29105 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29106 (exit $ac_status); }; }; then
29107 wx_cv_func_vsnprintf_decl
=yes
29109 echo "$as_me: failed program was:" >&5
29110 sed 's/^/| /' conftest.
$ac_ext >&5
29112 wx_cv_func_vsnprintf_decl
=no
29115 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
29119 echo "$as_me:$LINENO: result: $wx_cv_func_vsnprintf_decl" >&5
29120 echo "${ECHO_T}$wx_cv_func_vsnprintf_decl" >&6
29122 if test "$wx_cv_func_vsnprintf_decl" = "yes"; then
29123 cat >>confdefs.h
<<\_ACEOF
29124 #define HAVE_VSNPRINTF_DECL 1
29130 if test "$wxUSE_UNICODE" = yes; then
29134 for ac_func
in fputwc wprintf vswprintf
29136 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
29137 echo "$as_me:$LINENO: checking for $ac_func" >&5
29138 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
29139 if eval "test \"\${$as_ac_var+set}\" = set"; then
29140 echo $ECHO_N "(cached) $ECHO_C" >&6
29142 cat >conftest.
$ac_ext <<_ACEOF
29145 cat confdefs.h
>>conftest.
$ac_ext
29146 cat >>conftest.
$ac_ext <<_ACEOF
29147 /* end confdefs.h. */
29148 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
29149 For example, HP-UX 11i <limits.h> declares gettimeofday. */
29150 #define $ac_func innocuous_$ac_func
29152 /* System header to define __stub macros and hopefully few prototypes,
29153 which can conflict with char $ac_func (); below.
29154 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29155 <limits.h> exists even on freestanding compilers. */
29158 # include <limits.h>
29160 # include <assert.h>
29165 /* Override any gcc2 internal prototype to avoid an error. */
29170 /* We use char because int might match the return type of a gcc2
29171 builtin and then its argument prototype would still apply. */
29173 /* The GNU C library defines this for functions which it implements
29174 to always fail with ENOSYS. Some functions are actually named
29175 something starting with __ and the normal name is an alias. */
29176 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
29179 char (*f) () = $ac_func;
29188 return f != $ac_func;
29193 rm -f conftest.
$ac_objext conftest
$ac_exeext
29194 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29195 (eval $ac_link) 2>conftest.er1
29197 grep -v '^ *+' conftest.er1
>conftest.err
29199 cat conftest.err
>&5
29200 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29201 (exit $ac_status); } &&
29202 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
29203 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29204 (eval $ac_try) 2>&5
29206 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29207 (exit $ac_status); }; } &&
29208 { ac_try
='test -s conftest$ac_exeext'
29209 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29210 (eval $ac_try) 2>&5
29212 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29213 (exit $ac_status); }; }; then
29214 eval "$as_ac_var=yes"
29216 echo "$as_me: failed program was:" >&5
29217 sed 's/^/| /' conftest.
$ac_ext >&5
29219 eval "$as_ac_var=no"
29221 rm -f conftest.err conftest.
$ac_objext \
29222 conftest
$ac_exeext conftest.
$ac_ext
29224 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
29225 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
29226 if test `eval echo '${'$as_ac_var'}'` = yes; then
29227 cat >>confdefs.h
<<_ACEOF
29228 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
29235 echo "$as_me:$LINENO: checking for _vsnwprintf" >&5
29236 echo $ECHO_N "checking for _vsnwprintf... $ECHO_C" >&6
29237 cat >conftest.
$ac_ext <<_ACEOF
29240 cat confdefs.h
>>conftest.
$ac_ext
29241 cat >>conftest.
$ac_ext <<_ACEOF
29242 /* end confdefs.h. */
29252 rm -f conftest.
$ac_objext
29253 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29254 (eval $ac_compile) 2>conftest.er1
29256 grep -v '^ *+' conftest.er1
>conftest.err
29258 cat conftest.err
>&5
29259 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29260 (exit $ac_status); } &&
29261 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
29262 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29263 (eval $ac_try) 2>&5
29265 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29266 (exit $ac_status); }; } &&
29267 { ac_try
='test -s conftest.$ac_objext'
29268 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29269 (eval $ac_try) 2>&5
29271 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29272 (exit $ac_status); }; }; then
29273 echo "$as_me:$LINENO: result: yes" >&5
29274 echo "${ECHO_T}yes" >&6
29275 cat >>confdefs.h
<<\_ACEOF
29276 #define HAVE__VSNWPRINTF 1
29280 echo "$as_me: failed program was:" >&5
29281 sed 's/^/| /' conftest.
$ac_ext >&5
29283 echo "$as_me:$LINENO: result: no" >&5
29284 echo "${ECHO_T}no" >&6
29286 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext;
29290 ac_cpp
='$CPP $CPPFLAGS'
29291 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29292 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29293 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
29298 if test "$TOOLKIT" != "MSW"; then
29304 ac_cpp
='$CXXCPP $CPPFLAGS'
29305 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29306 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29307 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
29312 # Check whether --with-libiconv-prefix or --without-libiconv-prefix was given.
29313 if test "${with_libiconv_prefix+set}" = set; then
29314 withval
="$with_libiconv_prefix"
29316 for dir
in `echo "$withval" | tr : ' '`; do
29317 if test -d $dir/include
; then CPPFLAGS
="$CPPFLAGS -I$dir/include"; fi
29318 if test -d $dir/lib
; then LDFLAGS
="$LDFLAGS -L$dir/lib"; fi
29323 echo "$as_me:$LINENO: checking for iconv" >&5
29324 echo $ECHO_N "checking for iconv... $ECHO_C" >&6
29325 if test "${am_cv_func_iconv+set}" = set; then
29326 echo $ECHO_N "(cached) $ECHO_C" >&6
29329 am_cv_func_iconv
="no, consider installing GNU libiconv"
29331 cat >conftest.
$ac_ext <<_ACEOF
29334 cat confdefs.h
>>conftest.
$ac_ext
29335 cat >>conftest.
$ac_ext <<_ACEOF
29336 /* end confdefs.h. */
29337 #include <stdlib.h>
29342 iconv_t cd = iconv_open("","");
29343 iconv(cd,NULL,NULL,NULL,NULL);
29349 rm -f conftest.
$ac_objext conftest
$ac_exeext
29350 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29351 (eval $ac_link) 2>conftest.er1
29353 grep -v '^ *+' conftest.er1
>conftest.err
29355 cat conftest.err
>&5
29356 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29357 (exit $ac_status); } &&
29358 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
29359 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29360 (eval $ac_try) 2>&5
29362 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29363 (exit $ac_status); }; } &&
29364 { ac_try
='test -s conftest$ac_exeext'
29365 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29366 (eval $ac_try) 2>&5
29368 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29369 (exit $ac_status); }; }; then
29370 am_cv_func_iconv
=yes
29372 echo "$as_me: failed program was:" >&5
29373 sed 's/^/| /' conftest.
$ac_ext >&5
29376 rm -f conftest.err conftest.
$ac_objext \
29377 conftest
$ac_exeext conftest.
$ac_ext
29378 if test "$am_cv_func_iconv" != yes; then
29379 am_save_LIBS
="$LIBS"
29380 LIBS
="$LIBS -liconv"
29381 cat >conftest.
$ac_ext <<_ACEOF
29384 cat confdefs.h
>>conftest.
$ac_ext
29385 cat >>conftest.
$ac_ext <<_ACEOF
29386 /* end confdefs.h. */
29387 #include <stdlib.h>
29392 iconv_t cd = iconv_open("","");
29393 iconv(cd,NULL,NULL,NULL,NULL);
29399 rm -f conftest.
$ac_objext conftest
$ac_exeext
29400 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29401 (eval $ac_link) 2>conftest.er1
29403 grep -v '^ *+' conftest.er1
>conftest.err
29405 cat conftest.err
>&5
29406 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29407 (exit $ac_status); } &&
29408 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
29409 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29410 (eval $ac_try) 2>&5
29412 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29413 (exit $ac_status); }; } &&
29414 { ac_try
='test -s conftest$ac_exeext'
29415 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29416 (eval $ac_try) 2>&5
29418 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29419 (exit $ac_status); }; }; then
29420 am_cv_lib_iconv
=yes
29421 am_cv_func_iconv
=yes
29423 echo "$as_me: failed program was:" >&5
29424 sed 's/^/| /' conftest.
$ac_ext >&5
29427 rm -f conftest.err conftest.
$ac_objext \
29428 conftest
$ac_exeext conftest.
$ac_ext
29429 LIBS
="$am_save_LIBS"
29433 echo "$as_me:$LINENO: result: $am_cv_func_iconv" >&5
29434 echo "${ECHO_T}$am_cv_func_iconv" >&6
29435 if test "$am_cv_func_iconv" = yes; then
29437 cat >>confdefs.h
<<\_ACEOF
29438 #define HAVE_ICONV 1
29441 echo "$as_me:$LINENO: checking if iconv needs const" >&5
29442 echo $ECHO_N "checking if iconv needs const... $ECHO_C" >&6
29443 if test "${wx_cv_func_iconv_const+set}" = set; then
29444 echo $ECHO_N "(cached) $ECHO_C" >&6
29446 cat >conftest.
$ac_ext <<_ACEOF
29449 cat confdefs.h
>>conftest.
$ac_ext
29450 cat >>conftest.
$ac_ext <<_ACEOF
29451 /* end confdefs.h. */
29453 #include <stdlib.h>
29459 #if defined(__STDC__) || defined(__cplusplus)
29460 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
29473 rm -f conftest.
$ac_objext
29474 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29475 (eval $ac_compile) 2>conftest.er1
29477 grep -v '^ *+' conftest.er1
>conftest.err
29479 cat conftest.err
>&5
29480 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29481 (exit $ac_status); } &&
29482 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
29483 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29484 (eval $ac_try) 2>&5
29486 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29487 (exit $ac_status); }; } &&
29488 { ac_try
='test -s conftest.$ac_objext'
29489 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29490 (eval $ac_try) 2>&5
29492 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29493 (exit $ac_status); }; }; then
29494 wx_cv_func_iconv_const
="no"
29496 echo "$as_me: failed program was:" >&5
29497 sed 's/^/| /' conftest.
$ac_ext >&5
29499 wx_cv_func_iconv_const
="yes"
29502 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
29505 echo "$as_me:$LINENO: result: $wx_cv_func_iconv_const" >&5
29506 echo "${ECHO_T}$wx_cv_func_iconv_const" >&6
29509 if test "x$wx_cv_func_iconv_const" = "xyes"; then
29510 iconv_const
="const"
29514 cat >>confdefs.h
<<_ACEOF
29515 #define ICONV_CONST $iconv_const
29520 if test "$am_cv_lib_iconv" = yes; then
29525 LIBS
="$LIBICONV $LIBS"
29527 ac_cpp
='$CPP $CPPFLAGS'
29528 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29529 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29530 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
29533 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes" -a "$wxUSE_UNIX" = "yes"; then
29535 for ac_func
in sigaction
29537 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
29538 echo "$as_me:$LINENO: checking for $ac_func" >&5
29539 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
29540 if eval "test \"\${$as_ac_var+set}\" = set"; then
29541 echo $ECHO_N "(cached) $ECHO_C" >&6
29543 cat >conftest.
$ac_ext <<_ACEOF
29546 cat confdefs.h
>>conftest.
$ac_ext
29547 cat >>conftest.
$ac_ext <<_ACEOF
29548 /* end confdefs.h. */
29549 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
29550 For example, HP-UX 11i <limits.h> declares gettimeofday. */
29551 #define $ac_func innocuous_$ac_func
29553 /* System header to define __stub macros and hopefully few prototypes,
29554 which can conflict with char $ac_func (); below.
29555 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29556 <limits.h> exists even on freestanding compilers. */
29559 # include <limits.h>
29561 # include <assert.h>
29566 /* Override any gcc2 internal prototype to avoid an error. */
29571 /* We use char because int might match the return type of a gcc2
29572 builtin and then its argument prototype would still apply. */
29574 /* The GNU C library defines this for functions which it implements
29575 to always fail with ENOSYS. Some functions are actually named
29576 something starting with __ and the normal name is an alias. */
29577 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
29580 char (*f) () = $ac_func;
29589 return f != $ac_func;
29594 rm -f conftest.
$ac_objext conftest
$ac_exeext
29595 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29596 (eval $ac_link) 2>conftest.er1
29598 grep -v '^ *+' conftest.er1
>conftest.err
29600 cat conftest.err
>&5
29601 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29602 (exit $ac_status); } &&
29603 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
29604 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29605 (eval $ac_try) 2>&5
29607 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29608 (exit $ac_status); }; } &&
29609 { ac_try
='test -s conftest$ac_exeext'
29610 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29611 (eval $ac_try) 2>&5
29613 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29614 (exit $ac_status); }; }; then
29615 eval "$as_ac_var=yes"
29617 echo "$as_me: failed program was:" >&5
29618 sed 's/^/| /' conftest.
$ac_ext >&5
29620 eval "$as_ac_var=no"
29622 rm -f conftest.err conftest.
$ac_objext \
29623 conftest
$ac_exeext conftest.
$ac_ext
29625 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
29626 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
29627 if test `eval echo '${'$as_ac_var'}'` = yes; then
29628 cat >>confdefs.h
<<_ACEOF
29629 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
29636 if test "$ac_cv_func_sigaction" = "no"; then
29637 { echo "$as_me:$LINENO: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&5
29638 echo "$as_me: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&2;}
29639 wxUSE_ON_FATAL_EXCEPTION
=no
29642 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
29646 ac_cpp
='$CXXCPP $CPPFLAGS'
29647 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29648 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29649 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
29652 echo "$as_me:$LINENO: checking for sa_handler type" >&5
29653 echo $ECHO_N "checking for sa_handler type... $ECHO_C" >&6
29654 if test "${wx_cv_type_sa_handler+set}" = set; then
29655 echo $ECHO_N "(cached) $ECHO_C" >&6
29658 cat >conftest.
$ac_ext <<_ACEOF
29661 cat confdefs.h
>>conftest.
$ac_ext
29662 cat >>conftest.
$ac_ext <<_ACEOF
29663 /* end confdefs.h. */
29664 #include <signal.h>
29669 extern void testSigHandler(int);
29671 struct sigaction sa;
29672 sa.sa_handler = testSigHandler;
29678 rm -f conftest.
$ac_objext
29679 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29680 (eval $ac_compile) 2>conftest.er1
29682 grep -v '^ *+' conftest.er1
>conftest.err
29684 cat conftest.err
>&5
29685 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29686 (exit $ac_status); } &&
29687 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
29688 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29689 (eval $ac_try) 2>&5
29691 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29692 (exit $ac_status); }; } &&
29693 { ac_try
='test -s conftest.$ac_objext'
29694 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29695 (eval $ac_try) 2>&5
29697 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29698 (exit $ac_status); }; }; then
29700 wx_cv_type_sa_handler
=int
29703 echo "$as_me: failed program was:" >&5
29704 sed 's/^/| /' conftest.
$ac_ext >&5
29707 wx_cv_type_sa_handler
=void
29710 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
29713 echo "$as_me:$LINENO: result: $wx_cv_type_sa_handler" >&5
29714 echo "${ECHO_T}$wx_cv_type_sa_handler" >&6
29717 ac_cpp
='$CPP $CPPFLAGS'
29718 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29719 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29720 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
29723 cat >>confdefs.h
<<_ACEOF
29724 #define wxTYPE_SA_HANDLER $wx_cv_type_sa_handler
29732 for ac_func
in mkstemp mktemp
29734 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
29735 echo "$as_me:$LINENO: checking for $ac_func" >&5
29736 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
29737 if eval "test \"\${$as_ac_var+set}\" = set"; then
29738 echo $ECHO_N "(cached) $ECHO_C" >&6
29740 cat >conftest.
$ac_ext <<_ACEOF
29743 cat confdefs.h
>>conftest.
$ac_ext
29744 cat >>conftest.
$ac_ext <<_ACEOF
29745 /* end confdefs.h. */
29746 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
29747 For example, HP-UX 11i <limits.h> declares gettimeofday. */
29748 #define $ac_func innocuous_$ac_func
29750 /* System header to define __stub macros and hopefully few prototypes,
29751 which can conflict with char $ac_func (); below.
29752 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29753 <limits.h> exists even on freestanding compilers. */
29756 # include <limits.h>
29758 # include <assert.h>
29763 /* Override any gcc2 internal prototype to avoid an error. */
29768 /* We use char because int might match the return type of a gcc2
29769 builtin and then its argument prototype would still apply. */
29771 /* The GNU C library defines this for functions which it implements
29772 to always fail with ENOSYS. Some functions are actually named
29773 something starting with __ and the normal name is an alias. */
29774 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
29777 char (*f) () = $ac_func;
29786 return f != $ac_func;
29791 rm -f conftest.
$ac_objext conftest
$ac_exeext
29792 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29793 (eval $ac_link) 2>conftest.er1
29795 grep -v '^ *+' conftest.er1
>conftest.err
29797 cat conftest.err
>&5
29798 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29799 (exit $ac_status); } &&
29800 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
29801 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29802 (eval $ac_try) 2>&5
29804 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29805 (exit $ac_status); }; } &&
29806 { ac_try
='test -s conftest$ac_exeext'
29807 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29808 (eval $ac_try) 2>&5
29810 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29811 (exit $ac_status); }; }; then
29812 eval "$as_ac_var=yes"
29814 echo "$as_me: failed program was:" >&5
29815 sed 's/^/| /' conftest.
$ac_ext >&5
29817 eval "$as_ac_var=no"
29819 rm -f conftest.err conftest.
$ac_objext \
29820 conftest
$ac_exeext conftest.
$ac_ext
29822 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
29823 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
29824 if test `eval echo '${'$as_ac_var'}'` = yes; then
29825 cat >>confdefs.h
<<_ACEOF
29826 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
29833 echo "$as_me:$LINENO: checking for statfs" >&5
29834 echo $ECHO_N "checking for statfs... $ECHO_C" >&6
29835 if test "${wx_cv_func_statfs+set}" = set; then
29836 echo $ECHO_N "(cached) $ECHO_C" >&6
29838 cat >conftest.
$ac_ext <<_ACEOF
29841 cat confdefs.h
>>conftest.
$ac_ext
29842 cat >>conftest.
$ac_ext <<_ACEOF
29843 /* end confdefs.h. */
29845 #if defined(__BSD__)
29846 #include <sys/param.h>
29847 #include <sys/mount.h>
29849 #include <sys/vfs.h>
29867 rm -f conftest.
$ac_objext
29868 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29869 (eval $ac_compile) 2>conftest.er1
29871 grep -v '^ *+' conftest.er1
>conftest.err
29873 cat conftest.err
>&5
29874 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29875 (exit $ac_status); } &&
29876 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
29877 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29878 (eval $ac_try) 2>&5
29880 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29881 (exit $ac_status); }; } &&
29882 { ac_try
='test -s conftest.$ac_objext'
29883 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29884 (eval $ac_try) 2>&5
29886 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29887 (exit $ac_status); }; }; then
29889 wx_cv_func_statfs
=yes
29892 echo "$as_me: failed program was:" >&5
29893 sed 's/^/| /' conftest.
$ac_ext >&5
29896 wx_cv_func_statfs
=no
29900 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
29903 echo "$as_me:$LINENO: result: $wx_cv_func_statfs" >&5
29904 echo "${ECHO_T}$wx_cv_func_statfs" >&6
29906 if test "$wx_cv_func_statfs" = "yes"; then
29907 wx_cv_type_statvfs_t
="struct statfs"
29908 cat >>confdefs.h
<<\_ACEOF
29909 #define HAVE_STATFS 1
29913 echo "$as_me:$LINENO: checking for statvfs" >&5
29914 echo $ECHO_N "checking for statvfs... $ECHO_C" >&6
29915 if test "${wx_cv_func_statvfs+set}" = set; then
29916 echo $ECHO_N "(cached) $ECHO_C" >&6
29918 cat >conftest.
$ac_ext <<_ACEOF
29921 cat confdefs.h
>>conftest.
$ac_ext
29922 cat >>conftest.
$ac_ext <<_ACEOF
29923 /* end confdefs.h. */
29925 #include <stddef.h>
29926 #include <sys/statvfs.h>
29932 statvfs("/", NULL);
29938 rm -f conftest.
$ac_objext
29939 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29940 (eval $ac_compile) 2>conftest.er1
29942 grep -v '^ *+' conftest.er1
>conftest.err
29944 cat conftest.err
>&5
29945 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29946 (exit $ac_status); } &&
29947 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
29948 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29949 (eval $ac_try) 2>&5
29951 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29952 (exit $ac_status); }; } &&
29953 { ac_try
='test -s conftest.$ac_objext'
29954 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29955 (eval $ac_try) 2>&5
29957 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29958 (exit $ac_status); }; }; then
29959 wx_cv_func_statvfs
=yes
29961 echo "$as_me: failed program was:" >&5
29962 sed 's/^/| /' conftest.
$ac_ext >&5
29964 wx_cv_func_statvfs
=no
29967 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
29970 echo "$as_me:$LINENO: result: $wx_cv_func_statvfs" >&5
29971 echo "${ECHO_T}$wx_cv_func_statvfs" >&6
29973 if test "$wx_cv_func_statvfs" = "yes"; then
29977 ac_cpp
='$CXXCPP $CPPFLAGS'
29978 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29979 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29980 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
29983 echo "$as_me:$LINENO: checking for statvfs argument type" >&5
29984 echo $ECHO_N "checking for statvfs argument type... $ECHO_C" >&6
29985 if test "${wx_cv_type_statvfs_t+set}" = set; then
29986 echo $ECHO_N "(cached) $ECHO_C" >&6
29988 cat >conftest.
$ac_ext <<_ACEOF
29991 cat confdefs.h
>>conftest.
$ac_ext
29992 cat >>conftest.
$ac_ext <<_ACEOF
29993 /* end confdefs.h. */
29995 #include <sys/statvfs.h>
30012 rm -f conftest.
$ac_objext
30013 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30014 (eval $ac_compile) 2>conftest.er1
30016 grep -v '^ *+' conftest.er1
>conftest.err
30018 cat conftest.err
>&5
30019 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30020 (exit $ac_status); } &&
30021 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
30022 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30023 (eval $ac_try) 2>&5
30025 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30026 (exit $ac_status); }; } &&
30027 { ac_try
='test -s conftest.$ac_objext'
30028 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30029 (eval $ac_try) 2>&5
30031 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30032 (exit $ac_status); }; }; then
30033 wx_cv_type_statvfs_t
=statvfs_t
30035 echo "$as_me: failed program was:" >&5
30036 sed 's/^/| /' conftest.
$ac_ext >&5
30039 cat >conftest.
$ac_ext <<_ACEOF
30042 cat confdefs.h
>>conftest.
$ac_ext
30043 cat >>conftest.
$ac_ext <<_ACEOF
30044 /* end confdefs.h. */
30046 #include <sys/statvfs.h>
30063 rm -f conftest.
$ac_objext
30064 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30065 (eval $ac_compile) 2>conftest.er1
30067 grep -v '^ *+' conftest.er1
>conftest.err
30069 cat conftest.err
>&5
30070 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30071 (exit $ac_status); } &&
30072 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
30073 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30074 (eval $ac_try) 2>&5
30076 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30077 (exit $ac_status); }; } &&
30078 { ac_try
='test -s conftest.$ac_objext'
30079 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30080 (eval $ac_try) 2>&5
30082 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30083 (exit $ac_status); }; }; then
30084 wx_cv_type_statvfs_t
="struct statvfs"
30086 echo "$as_me: failed program was:" >&5
30087 sed 's/^/| /' conftest.
$ac_ext >&5
30089 wx_cv_type_statvfs_t
="unknown"
30092 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
30096 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
30099 echo "$as_me:$LINENO: result: $wx_cv_type_statvfs_t" >&5
30100 echo "${ECHO_T}$wx_cv_type_statvfs_t" >&6
30103 ac_cpp
='$CPP $CPPFLAGS'
30104 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30105 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30106 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
30109 if test "$wx_cv_type_statvfs_t" != "unknown"; then
30110 cat >>confdefs.h
<<\_ACEOF
30111 #define HAVE_STATVFS 1
30116 wx_cv_type_statvfs_t
="unknown"
30120 if test "$wx_cv_type_statvfs_t" != "unknown"; then
30121 cat >>confdefs.h
<<_ACEOF
30122 #define WX_STATFS_T $wx_cv_type_statvfs_t
30126 { echo "$as_me:$LINENO: WARNING: wxGetDiskSpace() function won't work without statfs()" >&5
30127 echo "$as_me: WARNING: wxGetDiskSpace() function won't work without statfs()" >&2;}
30130 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
30133 for ac_func
in fcntl flock
30135 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
30136 echo "$as_me:$LINENO: checking for $ac_func" >&5
30137 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
30138 if eval "test \"\${$as_ac_var+set}\" = set"; then
30139 echo $ECHO_N "(cached) $ECHO_C" >&6
30141 cat >conftest.
$ac_ext <<_ACEOF
30144 cat confdefs.h
>>conftest.
$ac_ext
30145 cat >>conftest.
$ac_ext <<_ACEOF
30146 /* end confdefs.h. */
30147 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
30148 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30149 #define $ac_func innocuous_$ac_func
30151 /* System header to define __stub macros and hopefully few prototypes,
30152 which can conflict with char $ac_func (); below.
30153 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30154 <limits.h> exists even on freestanding compilers. */
30157 # include <limits.h>
30159 # include <assert.h>
30164 /* Override any gcc2 internal prototype to avoid an error. */
30169 /* We use char because int might match the return type of a gcc2
30170 builtin and then its argument prototype would still apply. */
30172 /* The GNU C library defines this for functions which it implements
30173 to always fail with ENOSYS. Some functions are actually named
30174 something starting with __ and the normal name is an alias. */
30175 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
30178 char (*f) () = $ac_func;
30187 return f != $ac_func;
30192 rm -f conftest.
$ac_objext conftest
$ac_exeext
30193 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30194 (eval $ac_link) 2>conftest.er1
30196 grep -v '^ *+' conftest.er1
>conftest.err
30198 cat conftest.err
>&5
30199 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30200 (exit $ac_status); } &&
30201 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
30202 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30203 (eval $ac_try) 2>&5
30205 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30206 (exit $ac_status); }; } &&
30207 { ac_try
='test -s conftest$ac_exeext'
30208 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30209 (eval $ac_try) 2>&5
30211 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30212 (exit $ac_status); }; }; then
30213 eval "$as_ac_var=yes"
30215 echo "$as_me: failed program was:" >&5
30216 sed 's/^/| /' conftest.
$ac_ext >&5
30218 eval "$as_ac_var=no"
30220 rm -f conftest.err conftest.
$ac_objext \
30221 conftest
$ac_exeext conftest.
$ac_ext
30223 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
30224 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
30225 if test `eval echo '${'$as_ac_var'}'` = yes; then
30226 cat >>confdefs.h
<<_ACEOF
30227 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
30234 if test "$ac_cv_func_fcntl" != "yes" -a "$ac_cv_func_flock" != "yes"; then
30235 { echo "$as_me:$LINENO: WARNING: wxSingleInstanceChecker not available" >&5
30236 echo "$as_me: WARNING: wxSingleInstanceChecker not available" >&2;}
30237 wxUSE_SNGLINST_CHECKER
=no
30242 for ac_func
in timegm
30244 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
30245 echo "$as_me:$LINENO: checking for $ac_func" >&5
30246 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
30247 if eval "test \"\${$as_ac_var+set}\" = set"; then
30248 echo $ECHO_N "(cached) $ECHO_C" >&6
30250 cat >conftest.
$ac_ext <<_ACEOF
30253 cat confdefs.h
>>conftest.
$ac_ext
30254 cat >>conftest.
$ac_ext <<_ACEOF
30255 /* end confdefs.h. */
30256 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
30257 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30258 #define $ac_func innocuous_$ac_func
30260 /* System header to define __stub macros and hopefully few prototypes,
30261 which can conflict with char $ac_func (); below.
30262 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30263 <limits.h> exists even on freestanding compilers. */
30266 # include <limits.h>
30268 # include <assert.h>
30273 /* Override any gcc2 internal prototype to avoid an error. */
30278 /* We use char because int might match the return type of a gcc2
30279 builtin and then its argument prototype would still apply. */
30281 /* The GNU C library defines this for functions which it implements
30282 to always fail with ENOSYS. Some functions are actually named
30283 something starting with __ and the normal name is an alias. */
30284 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
30287 char (*f) () = $ac_func;
30296 return f != $ac_func;
30301 rm -f conftest.
$ac_objext conftest
$ac_exeext
30302 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30303 (eval $ac_link) 2>conftest.er1
30305 grep -v '^ *+' conftest.er1
>conftest.err
30307 cat conftest.err
>&5
30308 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30309 (exit $ac_status); } &&
30310 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
30311 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30312 (eval $ac_try) 2>&5
30314 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30315 (exit $ac_status); }; } &&
30316 { ac_try
='test -s conftest$ac_exeext'
30317 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30318 (eval $ac_try) 2>&5
30320 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30321 (exit $ac_status); }; }; then
30322 eval "$as_ac_var=yes"
30324 echo "$as_me: failed program was:" >&5
30325 sed 's/^/| /' conftest.
$ac_ext >&5
30327 eval "$as_ac_var=no"
30329 rm -f conftest.err conftest.
$ac_objext \
30330 conftest
$ac_exeext conftest.
$ac_ext
30332 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
30333 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
30334 if test `eval echo '${'$as_ac_var'}'` = yes; then
30335 cat >>confdefs.h
<<_ACEOF
30336 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
30345 for ac_func
in putenv setenv
30347 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
30348 echo "$as_me:$LINENO: checking for $ac_func" >&5
30349 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
30350 if eval "test \"\${$as_ac_var+set}\" = set"; then
30351 echo $ECHO_N "(cached) $ECHO_C" >&6
30353 cat >conftest.
$ac_ext <<_ACEOF
30356 cat confdefs.h
>>conftest.
$ac_ext
30357 cat >>conftest.
$ac_ext <<_ACEOF
30358 /* end confdefs.h. */
30359 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
30360 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30361 #define $ac_func innocuous_$ac_func
30363 /* System header to define __stub macros and hopefully few prototypes,
30364 which can conflict with char $ac_func (); below.
30365 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30366 <limits.h> exists even on freestanding compilers. */
30369 # include <limits.h>
30371 # include <assert.h>
30376 /* Override any gcc2 internal prototype to avoid an error. */
30381 /* We use char because int might match the return type of a gcc2
30382 builtin and then its argument prototype would still apply. */
30384 /* The GNU C library defines this for functions which it implements
30385 to always fail with ENOSYS. Some functions are actually named
30386 something starting with __ and the normal name is an alias. */
30387 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
30390 char (*f) () = $ac_func;
30399 return f != $ac_func;
30404 rm -f conftest.
$ac_objext conftest
$ac_exeext
30405 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30406 (eval $ac_link) 2>conftest.er1
30408 grep -v '^ *+' conftest.er1
>conftest.err
30410 cat conftest.err
>&5
30411 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30412 (exit $ac_status); } &&
30413 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
30414 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30415 (eval $ac_try) 2>&5
30417 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30418 (exit $ac_status); }; } &&
30419 { ac_try
='test -s conftest$ac_exeext'
30420 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30421 (eval $ac_try) 2>&5
30423 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30424 (exit $ac_status); }; }; then
30425 eval "$as_ac_var=yes"
30427 echo "$as_me: failed program was:" >&5
30428 sed 's/^/| /' conftest.
$ac_ext >&5
30430 eval "$as_ac_var=no"
30432 rm -f conftest.err conftest.
$ac_objext \
30433 conftest
$ac_exeext conftest.
$ac_ext
30435 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
30436 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
30437 if test `eval echo '${'$as_ac_var'}'` = yes; then
30438 cat >>confdefs.h
<<_ACEOF
30439 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
30446 HAVE_SOME_SLEEP_FUNC
=0
30447 if test "$USE_BEOS" = 1; then
30448 cat >>confdefs.h
<<\_ACEOF
30449 #define HAVE_SLEEP 1
30452 HAVE_SOME_SLEEP_FUNC
=1
30455 if test "$USE_DARWIN" = 1; then
30456 cat >>confdefs.h
<<\_ACEOF
30457 #define HAVE_USLEEP 1
30460 HAVE_SOME_SLEEP_FUNC
=1
30463 if test "$HAVE_SOME_SLEEP_FUNC" != 1; then
30466 for ac_func
in nanosleep
30468 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
30469 echo "$as_me:$LINENO: checking for $ac_func" >&5
30470 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
30471 if eval "test \"\${$as_ac_var+set}\" = set"; then
30472 echo $ECHO_N "(cached) $ECHO_C" >&6
30474 cat >conftest.
$ac_ext <<_ACEOF
30477 cat confdefs.h
>>conftest.
$ac_ext
30478 cat >>conftest.
$ac_ext <<_ACEOF
30479 /* end confdefs.h. */
30480 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
30481 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30482 #define $ac_func innocuous_$ac_func
30484 /* System header to define __stub macros and hopefully few prototypes,
30485 which can conflict with char $ac_func (); below.
30486 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30487 <limits.h> exists even on freestanding compilers. */
30490 # include <limits.h>
30492 # include <assert.h>
30497 /* Override any gcc2 internal prototype to avoid an error. */
30502 /* We use char because int might match the return type of a gcc2
30503 builtin and then its argument prototype would still apply. */
30505 /* The GNU C library defines this for functions which it implements
30506 to always fail with ENOSYS. Some functions are actually named
30507 something starting with __ and the normal name is an alias. */
30508 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
30511 char (*f) () = $ac_func;
30520 return f != $ac_func;
30525 rm -f conftest.
$ac_objext conftest
$ac_exeext
30526 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30527 (eval $ac_link) 2>conftest.er1
30529 grep -v '^ *+' conftest.er1
>conftest.err
30531 cat conftest.err
>&5
30532 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30533 (exit $ac_status); } &&
30534 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
30535 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30536 (eval $ac_try) 2>&5
30538 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30539 (exit $ac_status); }; } &&
30540 { ac_try
='test -s conftest$ac_exeext'
30541 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30542 (eval $ac_try) 2>&5
30544 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30545 (exit $ac_status); }; }; then
30546 eval "$as_ac_var=yes"
30548 echo "$as_me: failed program was:" >&5
30549 sed 's/^/| /' conftest.
$ac_ext >&5
30551 eval "$as_ac_var=no"
30553 rm -f conftest.err conftest.
$ac_objext \
30554 conftest
$ac_exeext conftest.
$ac_ext
30556 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
30557 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
30558 if test `eval echo '${'$as_ac_var'}'` = yes; then
30559 cat >>confdefs.h
<<_ACEOF
30560 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
30562 cat >>confdefs.h
<<\_ACEOF
30563 #define HAVE_NANOSLEEP 1
30568 echo "$as_me:$LINENO: checking for nanosleep in -lposix4" >&5
30569 echo $ECHO_N "checking for nanosleep in -lposix4... $ECHO_C" >&6
30570 if test "${ac_cv_lib_posix4_nanosleep+set}" = set; then
30571 echo $ECHO_N "(cached) $ECHO_C" >&6
30573 ac_check_lib_save_LIBS
=$LIBS
30574 LIBS
="-lposix4 $LIBS"
30575 cat >conftest.
$ac_ext <<_ACEOF
30578 cat confdefs.h
>>conftest.
$ac_ext
30579 cat >>conftest.
$ac_ext <<_ACEOF
30580 /* end confdefs.h. */
30582 /* Override any gcc2 internal prototype to avoid an error. */
30586 /* We use char because int might match the return type of a gcc2
30587 builtin and then its argument prototype would still apply. */
30597 rm -f conftest.
$ac_objext conftest
$ac_exeext
30598 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30599 (eval $ac_link) 2>conftest.er1
30601 grep -v '^ *+' conftest.er1
>conftest.err
30603 cat conftest.err
>&5
30604 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30605 (exit $ac_status); } &&
30606 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
30607 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30608 (eval $ac_try) 2>&5
30610 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30611 (exit $ac_status); }; } &&
30612 { ac_try
='test -s conftest$ac_exeext'
30613 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30614 (eval $ac_try) 2>&5
30616 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30617 (exit $ac_status); }; }; then
30618 ac_cv_lib_posix4_nanosleep
=yes
30620 echo "$as_me: failed program was:" >&5
30621 sed 's/^/| /' conftest.
$ac_ext >&5
30623 ac_cv_lib_posix4_nanosleep
=no
30625 rm -f conftest.err conftest.
$ac_objext \
30626 conftest
$ac_exeext conftest.
$ac_ext
30627 LIBS
=$ac_check_lib_save_LIBS
30629 echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_nanosleep" >&5
30630 echo "${ECHO_T}$ac_cv_lib_posix4_nanosleep" >&6
30631 if test $ac_cv_lib_posix4_nanosleep = yes; then
30633 cat >>confdefs.h
<<\_ACEOF
30634 #define HAVE_NANOSLEEP 1
30637 POSIX4_LINK
=" -lposix4"
30642 for ac_func
in usleep
30644 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
30645 echo "$as_me:$LINENO: checking for $ac_func" >&5
30646 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
30647 if eval "test \"\${$as_ac_var+set}\" = set"; then
30648 echo $ECHO_N "(cached) $ECHO_C" >&6
30650 cat >conftest.
$ac_ext <<_ACEOF
30653 cat confdefs.h
>>conftest.
$ac_ext
30654 cat >>conftest.
$ac_ext <<_ACEOF
30655 /* end confdefs.h. */
30656 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
30657 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30658 #define $ac_func innocuous_$ac_func
30660 /* System header to define __stub macros and hopefully few prototypes,
30661 which can conflict with char $ac_func (); below.
30662 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30663 <limits.h> exists even on freestanding compilers. */
30666 # include <limits.h>
30668 # include <assert.h>
30673 /* Override any gcc2 internal prototype to avoid an error. */
30678 /* We use char because int might match the return type of a gcc2
30679 builtin and then its argument prototype would still apply. */
30681 /* The GNU C library defines this for functions which it implements
30682 to always fail with ENOSYS. Some functions are actually named
30683 something starting with __ and the normal name is an alias. */
30684 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
30687 char (*f) () = $ac_func;
30696 return f != $ac_func;
30701 rm -f conftest.
$ac_objext conftest
$ac_exeext
30702 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30703 (eval $ac_link) 2>conftest.er1
30705 grep -v '^ *+' conftest.er1
>conftest.err
30707 cat conftest.err
>&5
30708 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30709 (exit $ac_status); } &&
30710 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
30711 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30712 (eval $ac_try) 2>&5
30714 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30715 (exit $ac_status); }; } &&
30716 { ac_try
='test -s conftest$ac_exeext'
30717 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30718 (eval $ac_try) 2>&5
30720 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30721 (exit $ac_status); }; }; then
30722 eval "$as_ac_var=yes"
30724 echo "$as_me: failed program was:" >&5
30725 sed 's/^/| /' conftest.
$ac_ext >&5
30727 eval "$as_ac_var=no"
30729 rm -f conftest.err conftest.
$ac_objext \
30730 conftest
$ac_exeext conftest.
$ac_ext
30732 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
30733 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
30734 if test `eval echo '${'$as_ac_var'}'` = yes; then
30735 cat >>confdefs.h
<<_ACEOF
30736 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
30738 cat >>confdefs.h
<<\_ACEOF
30739 #define HAVE_USLEEP 1
30743 { echo "$as_me:$LINENO: WARNING: wxSleep() function will not work" >&5
30744 echo "$as_me: WARNING: wxSleep() function will not work" >&2;}
30762 for ac_func
in uname gethostname
30764 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
30765 echo "$as_me:$LINENO: checking for $ac_func" >&5
30766 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
30767 if eval "test \"\${$as_ac_var+set}\" = set"; then
30768 echo $ECHO_N "(cached) $ECHO_C" >&6
30770 cat >conftest.
$ac_ext <<_ACEOF
30773 cat confdefs.h
>>conftest.
$ac_ext
30774 cat >>conftest.
$ac_ext <<_ACEOF
30775 /* end confdefs.h. */
30776 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
30777 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30778 #define $ac_func innocuous_$ac_func
30780 /* System header to define __stub macros and hopefully few prototypes,
30781 which can conflict with char $ac_func (); below.
30782 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30783 <limits.h> exists even on freestanding compilers. */
30786 # include <limits.h>
30788 # include <assert.h>
30793 /* Override any gcc2 internal prototype to avoid an error. */
30798 /* We use char because int might match the return type of a gcc2
30799 builtin and then its argument prototype would still apply. */
30801 /* The GNU C library defines this for functions which it implements
30802 to always fail with ENOSYS. Some functions are actually named
30803 something starting with __ and the normal name is an alias. */
30804 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
30807 char (*f) () = $ac_func;
30816 return f != $ac_func;
30821 rm -f conftest.
$ac_objext conftest
$ac_exeext
30822 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30823 (eval $ac_link) 2>conftest.er1
30825 grep -v '^ *+' conftest.er1
>conftest.err
30827 cat conftest.err
>&5
30828 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30829 (exit $ac_status); } &&
30830 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
30831 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30832 (eval $ac_try) 2>&5
30834 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30835 (exit $ac_status); }; } &&
30836 { ac_try
='test -s conftest$ac_exeext'
30837 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30838 (eval $ac_try) 2>&5
30840 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30841 (exit $ac_status); }; }; then
30842 eval "$as_ac_var=yes"
30844 echo "$as_me: failed program was:" >&5
30845 sed 's/^/| /' conftest.
$ac_ext >&5
30847 eval "$as_ac_var=no"
30849 rm -f conftest.err conftest.
$ac_objext \
30850 conftest
$ac_exeext conftest.
$ac_ext
30852 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
30853 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
30854 if test `eval echo '${'$as_ac_var'}'` = yes; then
30855 cat >>confdefs.h
<<_ACEOF
30856 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
30866 ac_cpp
='$CXXCPP $CPPFLAGS'
30867 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30868 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30869 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
30873 for ac_func
in strtok_r
30875 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
30876 echo "$as_me:$LINENO: checking for $ac_func" >&5
30877 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
30878 if eval "test \"\${$as_ac_var+set}\" = set"; then
30879 echo $ECHO_N "(cached) $ECHO_C" >&6
30881 cat >conftest.
$ac_ext <<_ACEOF
30884 cat confdefs.h
>>conftest.
$ac_ext
30885 cat >>conftest.
$ac_ext <<_ACEOF
30886 /* end confdefs.h. */
30887 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
30888 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30889 #define $ac_func innocuous_$ac_func
30891 /* System header to define __stub macros and hopefully few prototypes,
30892 which can conflict with char $ac_func (); below.
30893 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30894 <limits.h> exists even on freestanding compilers. */
30897 # include <limits.h>
30899 # include <assert.h>
30904 /* Override any gcc2 internal prototype to avoid an error. */
30909 /* We use char because int might match the return type of a gcc2
30910 builtin and then its argument prototype would still apply. */
30912 /* The GNU C library defines this for functions which it implements
30913 to always fail with ENOSYS. Some functions are actually named
30914 something starting with __ and the normal name is an alias. */
30915 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
30918 char (*f) () = $ac_func;
30927 return f != $ac_func;
30932 rm -f conftest.
$ac_objext conftest
$ac_exeext
30933 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30934 (eval $ac_link) 2>conftest.er1
30936 grep -v '^ *+' conftest.er1
>conftest.err
30938 cat conftest.err
>&5
30939 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30940 (exit $ac_status); } &&
30941 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
30942 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30943 (eval $ac_try) 2>&5
30945 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30946 (exit $ac_status); }; } &&
30947 { ac_try
='test -s conftest$ac_exeext'
30948 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30949 (eval $ac_try) 2>&5
30951 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30952 (exit $ac_status); }; }; then
30953 eval "$as_ac_var=yes"
30955 echo "$as_me: failed program was:" >&5
30956 sed 's/^/| /' conftest.
$ac_ext >&5
30958 eval "$as_ac_var=no"
30960 rm -f conftest.err conftest.
$ac_objext \
30961 conftest
$ac_exeext conftest.
$ac_ext
30963 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
30964 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
30965 if test `eval echo '${'$as_ac_var'}'` = yes; then
30966 cat >>confdefs.h
<<_ACEOF
30967 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
30975 ac_cpp
='$CPP $CPPFLAGS'
30976 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30977 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30978 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
30983 for ac_func
in inet_addr
30985 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
30986 echo "$as_me:$LINENO: checking for $ac_func" >&5
30987 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
30988 if eval "test \"\${$as_ac_var+set}\" = set"; then
30989 echo $ECHO_N "(cached) $ECHO_C" >&6
30991 cat >conftest.
$ac_ext <<_ACEOF
30994 cat confdefs.h
>>conftest.
$ac_ext
30995 cat >>conftest.
$ac_ext <<_ACEOF
30996 /* end confdefs.h. */
30997 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
30998 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30999 #define $ac_func innocuous_$ac_func
31001 /* System header to define __stub macros and hopefully few prototypes,
31002 which can conflict with char $ac_func (); below.
31003 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31004 <limits.h> exists even on freestanding compilers. */
31007 # include <limits.h>
31009 # include <assert.h>
31014 /* Override any gcc2 internal prototype to avoid an error. */
31019 /* We use char because int might match the return type of a gcc2
31020 builtin and then its argument prototype would still apply. */
31022 /* The GNU C library defines this for functions which it implements
31023 to always fail with ENOSYS. Some functions are actually named
31024 something starting with __ and the normal name is an alias. */
31025 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
31028 char (*f) () = $ac_func;
31037 return f != $ac_func;
31042 rm -f conftest.
$ac_objext conftest
$ac_exeext
31043 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31044 (eval $ac_link) 2>conftest.er1
31046 grep -v '^ *+' conftest.er1
>conftest.err
31048 cat conftest.err
>&5
31049 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31050 (exit $ac_status); } &&
31051 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
31052 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31053 (eval $ac_try) 2>&5
31055 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31056 (exit $ac_status); }; } &&
31057 { ac_try
='test -s conftest$ac_exeext'
31058 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31059 (eval $ac_try) 2>&5
31061 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31062 (exit $ac_status); }; }; then
31063 eval "$as_ac_var=yes"
31065 echo "$as_me: failed program was:" >&5
31066 sed 's/^/| /' conftest.
$ac_ext >&5
31068 eval "$as_ac_var=no"
31070 rm -f conftest.err conftest.
$ac_objext \
31071 conftest
$ac_exeext conftest.
$ac_ext
31073 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
31074 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
31075 if test `eval echo '${'$as_ac_var'}'` = yes; then
31076 cat >>confdefs.h
<<_ACEOF
31077 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31079 cat >>confdefs.h
<<\_ACEOF
31080 #define HAVE_INET_ADDR 1
31085 echo "$as_me:$LINENO: checking for inet_addr in -lnsl" >&5
31086 echo $ECHO_N "checking for inet_addr in -lnsl... $ECHO_C" >&6
31087 if test "${ac_cv_lib_nsl_inet_addr+set}" = set; then
31088 echo $ECHO_N "(cached) $ECHO_C" >&6
31090 ac_check_lib_save_LIBS
=$LIBS
31092 cat >conftest.
$ac_ext <<_ACEOF
31095 cat confdefs.h
>>conftest.
$ac_ext
31096 cat >>conftest.
$ac_ext <<_ACEOF
31097 /* end confdefs.h. */
31099 /* Override any gcc2 internal prototype to avoid an error. */
31103 /* We use char because int might match the return type of a gcc2
31104 builtin and then its argument prototype would still apply. */
31114 rm -f conftest.
$ac_objext conftest
$ac_exeext
31115 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31116 (eval $ac_link) 2>conftest.er1
31118 grep -v '^ *+' conftest.er1
>conftest.err
31120 cat conftest.err
>&5
31121 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31122 (exit $ac_status); } &&
31123 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
31124 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31125 (eval $ac_try) 2>&5
31127 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31128 (exit $ac_status); }; } &&
31129 { ac_try
='test -s conftest$ac_exeext'
31130 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31131 (eval $ac_try) 2>&5
31133 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31134 (exit $ac_status); }; }; then
31135 ac_cv_lib_nsl_inet_addr
=yes
31137 echo "$as_me: failed program was:" >&5
31138 sed 's/^/| /' conftest.
$ac_ext >&5
31140 ac_cv_lib_nsl_inet_addr
=no
31142 rm -f conftest.err conftest.
$ac_objext \
31143 conftest
$ac_exeext conftest.
$ac_ext
31144 LIBS
=$ac_check_lib_save_LIBS
31146 echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_inet_addr" >&5
31147 echo "${ECHO_T}$ac_cv_lib_nsl_inet_addr" >&6
31148 if test $ac_cv_lib_nsl_inet_addr = yes; then
31152 echo "$as_me:$LINENO: checking for inet_addr in -lresolv" >&5
31153 echo $ECHO_N "checking for inet_addr in -lresolv... $ECHO_C" >&6
31154 if test "${ac_cv_lib_resolv_inet_addr+set}" = set; then
31155 echo $ECHO_N "(cached) $ECHO_C" >&6
31157 ac_check_lib_save_LIBS
=$LIBS
31158 LIBS
="-lresolv $LIBS"
31159 cat >conftest.
$ac_ext <<_ACEOF
31162 cat confdefs.h
>>conftest.
$ac_ext
31163 cat >>conftest.
$ac_ext <<_ACEOF
31164 /* end confdefs.h. */
31166 /* Override any gcc2 internal prototype to avoid an error. */
31170 /* We use char because int might match the return type of a gcc2
31171 builtin and then its argument prototype would still apply. */
31181 rm -f conftest.
$ac_objext conftest
$ac_exeext
31182 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31183 (eval $ac_link) 2>conftest.er1
31185 grep -v '^ *+' conftest.er1
>conftest.err
31187 cat conftest.err
>&5
31188 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31189 (exit $ac_status); } &&
31190 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
31191 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31192 (eval $ac_try) 2>&5
31194 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31195 (exit $ac_status); }; } &&
31196 { ac_try
='test -s conftest$ac_exeext'
31197 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31198 (eval $ac_try) 2>&5
31200 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31201 (exit $ac_status); }; }; then
31202 ac_cv_lib_resolv_inet_addr
=yes
31204 echo "$as_me: failed program was:" >&5
31205 sed 's/^/| /' conftest.
$ac_ext >&5
31207 ac_cv_lib_resolv_inet_addr
=no
31209 rm -f conftest.err conftest.
$ac_objext \
31210 conftest
$ac_exeext conftest.
$ac_ext
31211 LIBS
=$ac_check_lib_save_LIBS
31213 echo "$as_me:$LINENO: result: $ac_cv_lib_resolv_inet_addr" >&5
31214 echo "${ECHO_T}$ac_cv_lib_resolv_inet_addr" >&6
31215 if test $ac_cv_lib_resolv_inet_addr = yes; then
31219 echo "$as_me:$LINENO: checking for inet_addr in -lsocket" >&5
31220 echo $ECHO_N "checking for inet_addr in -lsocket... $ECHO_C" >&6
31221 if test "${ac_cv_lib_socket_inet_addr+set}" = set; then
31222 echo $ECHO_N "(cached) $ECHO_C" >&6
31224 ac_check_lib_save_LIBS
=$LIBS
31225 LIBS
="-lsocket $LIBS"
31226 cat >conftest.
$ac_ext <<_ACEOF
31229 cat confdefs.h
>>conftest.
$ac_ext
31230 cat >>conftest.
$ac_ext <<_ACEOF
31231 /* end confdefs.h. */
31233 /* Override any gcc2 internal prototype to avoid an error. */
31237 /* We use char because int might match the return type of a gcc2
31238 builtin and then its argument prototype would still apply. */
31248 rm -f conftest.
$ac_objext conftest
$ac_exeext
31249 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31250 (eval $ac_link) 2>conftest.er1
31252 grep -v '^ *+' conftest.er1
>conftest.err
31254 cat conftest.err
>&5
31255 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31256 (exit $ac_status); } &&
31257 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
31258 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31259 (eval $ac_try) 2>&5
31261 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31262 (exit $ac_status); }; } &&
31263 { ac_try
='test -s conftest$ac_exeext'
31264 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31265 (eval $ac_try) 2>&5
31267 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31268 (exit $ac_status); }; }; then
31269 ac_cv_lib_socket_inet_addr
=yes
31271 echo "$as_me: failed program was:" >&5
31272 sed 's/^/| /' conftest.
$ac_ext >&5
31274 ac_cv_lib_socket_inet_addr
=no
31276 rm -f conftest.err conftest.
$ac_objext \
31277 conftest
$ac_exeext conftest.
$ac_ext
31278 LIBS
=$ac_check_lib_save_LIBS
31280 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_inet_addr" >&5
31281 echo "${ECHO_T}$ac_cv_lib_socket_inet_addr" >&6
31282 if test $ac_cv_lib_socket_inet_addr = yes; then
31302 for ac_func
in inet_aton
31304 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31305 echo "$as_me:$LINENO: checking for $ac_func" >&5
31306 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
31307 if eval "test \"\${$as_ac_var+set}\" = set"; then
31308 echo $ECHO_N "(cached) $ECHO_C" >&6
31310 cat >conftest.
$ac_ext <<_ACEOF
31313 cat confdefs.h
>>conftest.
$ac_ext
31314 cat >>conftest.
$ac_ext <<_ACEOF
31315 /* end confdefs.h. */
31316 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
31317 For example, HP-UX 11i <limits.h> declares gettimeofday. */
31318 #define $ac_func innocuous_$ac_func
31320 /* System header to define __stub macros and hopefully few prototypes,
31321 which can conflict with char $ac_func (); below.
31322 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31323 <limits.h> exists even on freestanding compilers. */
31326 # include <limits.h>
31328 # include <assert.h>
31333 /* Override any gcc2 internal prototype to avoid an error. */
31338 /* We use char because int might match the return type of a gcc2
31339 builtin and then its argument prototype would still apply. */
31341 /* The GNU C library defines this for functions which it implements
31342 to always fail with ENOSYS. Some functions are actually named
31343 something starting with __ and the normal name is an alias. */
31344 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
31347 char (*f) () = $ac_func;
31356 return f != $ac_func;
31361 rm -f conftest.
$ac_objext conftest
$ac_exeext
31362 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31363 (eval $ac_link) 2>conftest.er1
31365 grep -v '^ *+' conftest.er1
>conftest.err
31367 cat conftest.err
>&5
31368 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31369 (exit $ac_status); } &&
31370 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
31371 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31372 (eval $ac_try) 2>&5
31374 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31375 (exit $ac_status); }; } &&
31376 { ac_try
='test -s conftest$ac_exeext'
31377 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31378 (eval $ac_try) 2>&5
31380 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31381 (exit $ac_status); }; }; then
31382 eval "$as_ac_var=yes"
31384 echo "$as_me: failed program was:" >&5
31385 sed 's/^/| /' conftest.
$ac_ext >&5
31387 eval "$as_ac_var=no"
31389 rm -f conftest.err conftest.
$ac_objext \
31390 conftest
$ac_exeext conftest.
$ac_ext
31392 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
31393 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
31394 if test `eval echo '${'$as_ac_var'}'` = yes; then
31395 cat >>confdefs.h
<<_ACEOF
31396 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31398 cat >>confdefs.h
<<\_ACEOF
31399 #define HAVE_INET_ATON 1
31404 as_ac_Lib
=`echo "ac_cv_lib_$INET_LINK''_inet_aton" | $as_tr_sh`
31405 echo "$as_me:$LINENO: checking for inet_aton in -l$INET_LINK" >&5
31406 echo $ECHO_N "checking for inet_aton in -l$INET_LINK... $ECHO_C" >&6
31407 if eval "test \"\${$as_ac_Lib+set}\" = set"; then
31408 echo $ECHO_N "(cached) $ECHO_C" >&6
31410 ac_check_lib_save_LIBS
=$LIBS
31411 LIBS
="-l$INET_LINK $LIBS"
31412 cat >conftest.
$ac_ext <<_ACEOF
31415 cat confdefs.h
>>conftest.
$ac_ext
31416 cat >>conftest.
$ac_ext <<_ACEOF
31417 /* end confdefs.h. */
31419 /* Override any gcc2 internal prototype to avoid an error. */
31423 /* We use char because int might match the return type of a gcc2
31424 builtin and then its argument prototype would still apply. */
31434 rm -f conftest.
$ac_objext conftest
$ac_exeext
31435 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31436 (eval $ac_link) 2>conftest.er1
31438 grep -v '^ *+' conftest.er1
>conftest.err
31440 cat conftest.err
>&5
31441 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31442 (exit $ac_status); } &&
31443 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
31444 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31445 (eval $ac_try) 2>&5
31447 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31448 (exit $ac_status); }; } &&
31449 { ac_try
='test -s conftest$ac_exeext'
31450 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31451 (eval $ac_try) 2>&5
31453 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31454 (exit $ac_status); }; }; then
31455 eval "$as_ac_Lib=yes"
31457 echo "$as_me: failed program was:" >&5
31458 sed 's/^/| /' conftest.
$ac_ext >&5
31460 eval "$as_ac_Lib=no"
31462 rm -f conftest.err conftest.
$ac_objext \
31463 conftest
$ac_exeext conftest.
$ac_ext
31464 LIBS
=$ac_check_lib_save_LIBS
31466 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Lib'}'`" >&5
31467 echo "${ECHO_T}`eval echo '${'$as_ac_Lib'}'`" >&6
31468 if test `eval echo '${'$as_ac_Lib'}'` = yes; then
31469 cat >>confdefs.h
<<\_ACEOF
31470 #define HAVE_INET_ATON 1
31480 if test "x$INET_LINK" != "x"; then
31481 cat >>confdefs.h
<<\_ACEOF
31482 #define HAVE_INET_ADDR 1
31485 INET_LINK
=" -l$INET_LINK"
31493 echo "$as_me:$LINENO: checking for esd_close in -lesd" >&5
31494 echo $ECHO_N "checking for esd_close in -lesd... $ECHO_C" >&6
31495 if test "${ac_cv_lib_esd_esd_close+set}" = set; then
31496 echo $ECHO_N "(cached) $ECHO_C" >&6
31498 ac_check_lib_save_LIBS
=$LIBS
31500 cat >conftest.
$ac_ext <<_ACEOF
31503 cat confdefs.h
>>conftest.
$ac_ext
31504 cat >>conftest.
$ac_ext <<_ACEOF
31505 /* end confdefs.h. */
31507 /* Override any gcc2 internal prototype to avoid an error. */
31511 /* We use char because int might match the return type of a gcc2
31512 builtin and then its argument prototype would still apply. */
31522 rm -f conftest.
$ac_objext conftest
$ac_exeext
31523 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31524 (eval $ac_link) 2>conftest.er1
31526 grep -v '^ *+' conftest.er1
>conftest.err
31528 cat conftest.err
>&5
31529 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31530 (exit $ac_status); } &&
31531 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
31532 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31533 (eval $ac_try) 2>&5
31535 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31536 (exit $ac_status); }; } &&
31537 { ac_try
='test -s conftest$ac_exeext'
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); }; }; then
31543 ac_cv_lib_esd_esd_close
=yes
31545 echo "$as_me: failed program was:" >&5
31546 sed 's/^/| /' conftest.
$ac_ext >&5
31548 ac_cv_lib_esd_esd_close
=no
31550 rm -f conftest.err conftest.
$ac_objext \
31551 conftest
$ac_exeext conftest.
$ac_ext
31552 LIBS
=$ac_check_lib_save_LIBS
31554 echo "$as_me:$LINENO: result: $ac_cv_lib_esd_esd_close" >&5
31555 echo "${ECHO_T}$ac_cv_lib_esd_esd_close" >&6
31556 if test $ac_cv_lib_esd_esd_close = yes; then
31559 for ac_header
in esd.h
31561 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
31562 if eval "test \"\${$as_ac_Header+set}\" = set"; then
31563 echo "$as_me:$LINENO: checking for $ac_header" >&5
31564 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
31565 if eval "test \"\${$as_ac_Header+set}\" = set"; then
31566 echo $ECHO_N "(cached) $ECHO_C" >&6
31568 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
31569 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
31571 # Is the header compilable?
31572 echo "$as_me:$LINENO: checking $ac_header usability" >&5
31573 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
31574 cat >conftest.
$ac_ext <<_ACEOF
31577 cat confdefs.h
>>conftest.
$ac_ext
31578 cat >>conftest.
$ac_ext <<_ACEOF
31579 /* end confdefs.h. */
31580 $ac_includes_default
31581 #include <$ac_header>
31583 rm -f conftest.
$ac_objext
31584 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31585 (eval $ac_compile) 2>conftest.er1
31587 grep -v '^ *+' conftest.er1
>conftest.err
31589 cat conftest.err
>&5
31590 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31591 (exit $ac_status); } &&
31592 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
31593 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31594 (eval $ac_try) 2>&5
31596 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31597 (exit $ac_status); }; } &&
31598 { ac_try
='test -s conftest.$ac_objext'
31599 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31600 (eval $ac_try) 2>&5
31602 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31603 (exit $ac_status); }; }; then
31604 ac_header_compiler
=yes
31606 echo "$as_me: failed program was:" >&5
31607 sed 's/^/| /' conftest.
$ac_ext >&5
31609 ac_header_compiler
=no
31611 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
31612 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
31613 echo "${ECHO_T}$ac_header_compiler" >&6
31615 # Is the header present?
31616 echo "$as_me:$LINENO: checking $ac_header presence" >&5
31617 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
31618 cat >conftest.
$ac_ext <<_ACEOF
31621 cat confdefs.h
>>conftest.
$ac_ext
31622 cat >>conftest.
$ac_ext <<_ACEOF
31623 /* end confdefs.h. */
31624 #include <$ac_header>
31626 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
31627 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
31629 grep -v '^ *+' conftest.er1
>conftest.err
31631 cat conftest.err
>&5
31632 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31633 (exit $ac_status); } >/dev
/null
; then
31634 if test -s conftest.err
; then
31635 ac_cpp_err
=$ac_c_preproc_warn_flag
31636 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
31643 if test -z "$ac_cpp_err"; then
31644 ac_header_preproc
=yes
31646 echo "$as_me: failed program was:" >&5
31647 sed 's/^/| /' conftest.
$ac_ext >&5
31649 ac_header_preproc
=no
31651 rm -f conftest.err conftest.
$ac_ext
31652 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
31653 echo "${ECHO_T}$ac_header_preproc" >&6
31655 # So? What about this header?
31656 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
31658 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
31659 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
31660 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
31661 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
31662 ac_header_preproc
=yes
31665 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
31666 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
31667 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
31668 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
31669 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
31670 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
31671 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
31672 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
31673 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
31674 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
31675 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
31676 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
31679 ## ----------------------------------------- ##
31680 ## Report this to wx-dev@lists.wxwindows.org ##
31681 ## ----------------------------------------- ##
31684 sed "s/^/$as_me: WARNING: /" >&2
31687 echo "$as_me:$LINENO: checking for $ac_header" >&5
31688 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
31689 if eval "test \"\${$as_ac_Header+set}\" = set"; then
31690 echo $ECHO_N "(cached) $ECHO_C" >&6
31692 eval "$as_ac_Header=\$ac_header_preproc"
31694 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
31695 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
31698 if test `eval echo '${'$as_ac_Header'}'` = yes; then
31699 cat >>confdefs.h
<<_ACEOF
31700 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
31703 EXTRALIBS_ESD
="-lesd"
31714 echo "$as_me:$LINENO: checking for known CD-ROM interface" >&5
31715 echo $ECHO_N "checking for known CD-ROM interface... $ECHO_C" >&6
31716 cat >conftest.
$ac_ext <<_ACEOF
31719 cat confdefs.h
>>conftest.
$ac_ext
31720 cat >>conftest.
$ac_ext <<_ACEOF
31721 /* end confdefs.h. */
31723 #include <linux/cdrom.h>
31726 #include <sys/cdio.h>
31732 struct cdrom_tocentry entry, old_entry;
31737 rm -f conftest.
$ac_objext
31738 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31739 (eval $ac_compile) 2>conftest.er1
31741 grep -v '^ *+' conftest.er1
>conftest.err
31743 cat conftest.err
>&5
31744 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31745 (exit $ac_status); } &&
31746 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
31747 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31748 (eval $ac_try) 2>&5
31750 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31751 (exit $ac_status); }; } &&
31752 { ac_try
='test -s conftest.$ac_objext'
31753 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31754 (eval $ac_try) 2>&5
31756 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31757 (exit $ac_status); }; }; then
31758 echo "$as_me:$LINENO: result: yes" >&5
31759 echo "${ECHO_T}yes" >&6
31760 cat >>confdefs.h
<<\_ACEOF
31761 #define HAVE_KNOWN_CDROM_INTERFACE 1
31765 echo "$as_me: failed program was:" >&5
31766 sed 's/^/| /' conftest.
$ac_ext >&5
31768 echo "$as_me:$LINENO: result: no" >&5
31769 echo "${ECHO_T}no" >&6
31771 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
31774 cat >confcache
<<\_ACEOF
31775 # This file is a shell script that caches the results of configure
31776 # tests run on this system so they can be shared between configure
31777 # scripts and configure runs, see configure's option --config-cache.
31778 # It is not useful on other systems. If it contains results you don't
31779 # want to keep, you may remove or edit it.
31781 # config.status only pays attention to the cache file if you give it
31782 # the --recheck option to rerun configure.
31784 # `ac_cv_env_foo' variables (set or unset) will be overridden when
31785 # loading this file, other *unset* `ac_cv_foo' will be assigned the
31786 # following values.
31790 # The following way of writing the cache mishandles newlines in values,
31791 # but we know of no workaround that is simple, portable, and efficient.
31792 # So, don't put newlines in cache variables' values.
31793 # Ultrix sh set writes to stderr and can't be redirected directly,
31794 # and sets the high bit in the cache file unless we assign to the vars.
31797 case `(ac_space=' '; set | grep ac_space) 2>&1` in
31799 # `set' does not quote correctly, so add quotes (double-quote
31800 # substitution turns \\\\ into \\, and sed turns \\ into \).
31803 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
31806 # `set' quotes correctly as required by POSIX, so do not add quotes.
31808 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
31815 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
31817 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
31819 if diff $cache_file confcache
>/dev
/null
2>&1; then :; else
31820 if test -w $cache_file; then
31821 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
31822 cat confcache
>$cache_file
31824 echo "not updating unwritable cache $cache_file"
31831 if test "$TOOLKIT" != "MSW" -a "$USE_OS2" != 1; then
31837 if test "$wxUSE_THREADS" = "yes" ; then
31838 if test "$USE_BEOS" = 1; then
31839 { echo "$as_me:$LINENO: WARNING: BeOS threads are not yet supported... disabled" >&5
31840 echo "$as_me: WARNING: BeOS threads are not yet supported... disabled" >&2;}
31845 if test "$wxUSE_THREADS" = "yes" ; then
31848 THREAD_OPTS
="-pthread"
31850 *-*-solaris2* | *-*-sunos4* )
31851 if test "x$GCC" = "xyes"; then
31852 THREAD_OPTS
="-pthreads $THREAD_OPTS"
31854 THREAD_OPTS
="-mt $THREAD_OPTS"
31858 THREAD_OPTS
="-kthread lthread $THREAD_OPTS c_r"
31860 *-*-darwin* | *-*-cygwin* )
31864 THREAD_OPTS
="pthreads"
31867 if test "x$GCC" != "xyes"; then
31873 if test "x$GCC" = "xyes"; then
31879 if test "x$GCC" != "xyes"; then
31880 THREAD_OPTS
="-Ethread"
31885 THREAD_OPTS
="$THREAD_OPTS pthread none"
31888 for flag
in $THREAD_OPTS; do
31891 echo "$as_me:$LINENO: checking whether pthreads work without any flags" >&5
31892 echo $ECHO_N "checking whether pthreads work without any flags... $ECHO_C" >&6
31896 echo "$as_me:$LINENO: checking whether pthreads work with $flag" >&5
31897 echo $ECHO_N "checking whether pthreads work with $flag... $ECHO_C" >&6
31898 THREADS_CFLAGS
="$flag"
31902 echo "$as_me:$LINENO: checking for the pthreads library -l$flag" >&5
31903 echo $ECHO_N "checking for the pthreads library -l$flag... $ECHO_C" >&6
31904 THREADS_LINK
="-l$flag"
31909 save_CFLAGS
="$CFLAGS"
31910 LIBS
="$THREADS_LINK $LIBS"
31911 CFLAGS
="$THREADS_CFLAGS $CFLAGS"
31913 cat >conftest.
$ac_ext <<_ACEOF
31916 cat confdefs.h
>>conftest.
$ac_ext
31917 cat >>conftest.
$ac_ext <<_ACEOF
31918 /* end confdefs.h. */
31919 #include <pthread.h>
31923 pthread_create(0,0,0,0);
31928 rm -f conftest.
$ac_objext conftest
$ac_exeext
31929 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31930 (eval $ac_link) 2>conftest.er1
31932 grep -v '^ *+' conftest.er1
>conftest.err
31934 cat conftest.err
>&5
31935 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31936 (exit $ac_status); } &&
31937 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
31938 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31939 (eval $ac_try) 2>&5
31941 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31942 (exit $ac_status); }; } &&
31943 { ac_try
='test -s conftest$ac_exeext'
31944 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31945 (eval $ac_try) 2>&5
31947 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31948 (exit $ac_status); }; }; then
31951 echo "$as_me: failed program was:" >&5
31952 sed 's/^/| /' conftest.
$ac_ext >&5
31955 rm -f conftest.err conftest.
$ac_objext \
31956 conftest
$ac_exeext conftest.
$ac_ext
31959 CFLAGS
="$save_CFLAGS"
31961 echo "$as_me:$LINENO: result: $THREADS_OK" >&5
31962 echo "${ECHO_T}$THREADS_OK" >&6
31963 if test "x$THREADS_OK" = "xyes"; then
31971 if test "x$THREADS_OK" != "xyes"; then
31973 { echo "$as_me:$LINENO: WARNING: No thread support on this system... disabled" >&5
31974 echo "$as_me: WARNING: No thread support on this system... disabled" >&2;}
31976 LDFLAGS
="$THREADS_CFLAGS $LDFLAGS"
31977 LIBS
="$THREADS_LINK $LIBS"
31979 echo "$as_me:$LINENO: checking if more special flags are required for pthreads" >&5
31980 echo $ECHO_N "checking if more special flags are required for pthreads... $ECHO_C" >&6
31984 LDFLAGS
="-L/usr/lib/threads $LDFLAGS"
31985 flag
="-D_THREAD_SAFE"
31988 flag
="-D_THREAD_SAFE"
31991 flag
="-D_REENTRANT"
31992 if test "x$GCC" != "xyes"; then
31993 flag
="$flag -D_RWSTD_MULTI_THREAD"
31996 *solaris
* | alpha
*-osf*)
31997 flag
="-D_REENTRANT"
32000 echo "$as_me:$LINENO: result: ${flag}" >&5
32001 echo "${ECHO_T}${flag}" >&6
32002 if test "x$flag" != xno
; then
32003 THREADS_CFLAGS
="$THREADS_CFLAGS $flag"
32006 if test "x$THREADS_CFLAGS" != "x"; then
32007 CFLAGS
="$CFLAGS $THREADS_CFLAGS"
32008 CXXFLAGS
="$CXXFLAGS $THREADS_CFLAGS"
32013 if test "$wxUSE_THREADS" = "yes" ; then
32015 for ac_func
in thr_setconcurrency
32017 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
32018 echo "$as_me:$LINENO: checking for $ac_func" >&5
32019 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
32020 if eval "test \"\${$as_ac_var+set}\" = set"; then
32021 echo $ECHO_N "(cached) $ECHO_C" >&6
32023 cat >conftest.
$ac_ext <<_ACEOF
32026 cat confdefs.h
>>conftest.
$ac_ext
32027 cat >>conftest.
$ac_ext <<_ACEOF
32028 /* end confdefs.h. */
32029 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
32030 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32031 #define $ac_func innocuous_$ac_func
32033 /* System header to define __stub macros and hopefully few prototypes,
32034 which can conflict with char $ac_func (); below.
32035 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32036 <limits.h> exists even on freestanding compilers. */
32039 # include <limits.h>
32041 # include <assert.h>
32046 /* Override any gcc2 internal prototype to avoid an error. */
32051 /* We use char because int might match the return type of a gcc2
32052 builtin and then its argument prototype would still apply. */
32054 /* The GNU C library defines this for functions which it implements
32055 to always fail with ENOSYS. Some functions are actually named
32056 something starting with __ and the normal name is an alias. */
32057 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
32060 char (*f) () = $ac_func;
32069 return f != $ac_func;
32074 rm -f conftest.
$ac_objext conftest
$ac_exeext
32075 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32076 (eval $ac_link) 2>conftest.er1
32078 grep -v '^ *+' conftest.er1
>conftest.err
32080 cat conftest.err
>&5
32081 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32082 (exit $ac_status); } &&
32083 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
32084 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32085 (eval $ac_try) 2>&5
32087 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32088 (exit $ac_status); }; } &&
32089 { ac_try
='test -s conftest$ac_exeext'
32090 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32091 (eval $ac_try) 2>&5
32093 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32094 (exit $ac_status); }; }; then
32095 eval "$as_ac_var=yes"
32097 echo "$as_me: failed program was:" >&5
32098 sed 's/^/| /' conftest.
$ac_ext >&5
32100 eval "$as_ac_var=no"
32102 rm -f conftest.err conftest.
$ac_objext \
32103 conftest
$ac_exeext conftest.
$ac_ext
32105 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
32106 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
32107 if test `eval echo '${'$as_ac_var'}'` = yes; then
32108 cat >>confdefs.h
<<_ACEOF
32109 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
32117 for ac_header
in sched.h
32119 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
32120 if eval "test \"\${$as_ac_Header+set}\" = set"; then
32121 echo "$as_me:$LINENO: checking for $ac_header" >&5
32122 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
32123 if eval "test \"\${$as_ac_Header+set}\" = set"; then
32124 echo $ECHO_N "(cached) $ECHO_C" >&6
32126 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
32127 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
32129 # Is the header compilable?
32130 echo "$as_me:$LINENO: checking $ac_header usability" >&5
32131 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
32132 cat >conftest.
$ac_ext <<_ACEOF
32135 cat confdefs.h
>>conftest.
$ac_ext
32136 cat >>conftest.
$ac_ext <<_ACEOF
32137 /* end confdefs.h. */
32138 $ac_includes_default
32139 #include <$ac_header>
32141 rm -f conftest.
$ac_objext
32142 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32143 (eval $ac_compile) 2>conftest.er1
32145 grep -v '^ *+' conftest.er1
>conftest.err
32147 cat conftest.err
>&5
32148 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32149 (exit $ac_status); } &&
32150 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
32151 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32152 (eval $ac_try) 2>&5
32154 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32155 (exit $ac_status); }; } &&
32156 { ac_try
='test -s conftest.$ac_objext'
32157 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32158 (eval $ac_try) 2>&5
32160 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32161 (exit $ac_status); }; }; then
32162 ac_header_compiler
=yes
32164 echo "$as_me: failed program was:" >&5
32165 sed 's/^/| /' conftest.
$ac_ext >&5
32167 ac_header_compiler
=no
32169 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
32170 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
32171 echo "${ECHO_T}$ac_header_compiler" >&6
32173 # Is the header present?
32174 echo "$as_me:$LINENO: checking $ac_header presence" >&5
32175 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
32176 cat >conftest.
$ac_ext <<_ACEOF
32179 cat confdefs.h
>>conftest.
$ac_ext
32180 cat >>conftest.
$ac_ext <<_ACEOF
32181 /* end confdefs.h. */
32182 #include <$ac_header>
32184 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
32185 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
32187 grep -v '^ *+' conftest.er1
>conftest.err
32189 cat conftest.err
>&5
32190 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32191 (exit $ac_status); } >/dev
/null
; then
32192 if test -s conftest.err
; then
32193 ac_cpp_err
=$ac_c_preproc_warn_flag
32194 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
32201 if test -z "$ac_cpp_err"; then
32202 ac_header_preproc
=yes
32204 echo "$as_me: failed program was:" >&5
32205 sed 's/^/| /' conftest.
$ac_ext >&5
32207 ac_header_preproc
=no
32209 rm -f conftest.err conftest.
$ac_ext
32210 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
32211 echo "${ECHO_T}$ac_header_preproc" >&6
32213 # So? What about this header?
32214 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
32216 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
32217 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
32218 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
32219 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
32220 ac_header_preproc
=yes
32223 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
32224 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
32225 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
32226 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
32227 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
32228 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
32229 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
32230 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
32231 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
32232 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
32233 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
32234 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
32237 ## ----------------------------------------- ##
32238 ## Report this to wx-dev@lists.wxwindows.org ##
32239 ## ----------------------------------------- ##
32242 sed "s/^/$as_me: WARNING: /" >&2
32245 echo "$as_me:$LINENO: checking for $ac_header" >&5
32246 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
32247 if eval "test \"\${$as_ac_Header+set}\" = set"; then
32248 echo $ECHO_N "(cached) $ECHO_C" >&6
32250 eval "$as_ac_Header=\$ac_header_preproc"
32252 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
32253 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
32256 if test `eval echo '${'$as_ac_Header'}'` = yes; then
32257 cat >>confdefs.h
<<_ACEOF
32258 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
32265 if test "$ac_cv_header_sched_h" = "yes"; then
32266 echo "$as_me:$LINENO: checking for sched_yield" >&5
32267 echo $ECHO_N "checking for sched_yield... $ECHO_C" >&6
32268 if test "${ac_cv_func_sched_yield+set}" = set; then
32269 echo $ECHO_N "(cached) $ECHO_C" >&6
32271 cat >conftest.
$ac_ext <<_ACEOF
32274 cat confdefs.h
>>conftest.
$ac_ext
32275 cat >>conftest.
$ac_ext <<_ACEOF
32276 /* end confdefs.h. */
32277 /* Define sched_yield to an innocuous variant, in case <limits.h> declares sched_yield.
32278 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32279 #define sched_yield innocuous_sched_yield
32281 /* System header to define __stub macros and hopefully few prototypes,
32282 which can conflict with char sched_yield (); below.
32283 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32284 <limits.h> exists even on freestanding compilers. */
32287 # include <limits.h>
32289 # include <assert.h>
32294 /* Override any gcc2 internal prototype to avoid an error. */
32299 /* We use char because int might match the return type of a gcc2
32300 builtin and then its argument prototype would still apply. */
32301 char sched_yield ();
32302 /* The GNU C library defines this for functions which it implements
32303 to always fail with ENOSYS. Some functions are actually named
32304 something starting with __ and the normal name is an alias. */
32305 #if defined (__stub_sched_yield) || defined (__stub___sched_yield)
32308 char (*f) () = sched_yield;
32317 return f != sched_yield;
32322 rm -f conftest.
$ac_objext conftest
$ac_exeext
32323 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32324 (eval $ac_link) 2>conftest.er1
32326 grep -v '^ *+' conftest.er1
>conftest.err
32328 cat conftest.err
>&5
32329 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32330 (exit $ac_status); } &&
32331 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
32332 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32333 (eval $ac_try) 2>&5
32335 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32336 (exit $ac_status); }; } &&
32337 { ac_try
='test -s conftest$ac_exeext'
32338 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32339 (eval $ac_try) 2>&5
32341 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32342 (exit $ac_status); }; }; then
32343 ac_cv_func_sched_yield
=yes
32345 echo "$as_me: failed program was:" >&5
32346 sed 's/^/| /' conftest.
$ac_ext >&5
32348 ac_cv_func_sched_yield
=no
32350 rm -f conftest.err conftest.
$ac_objext \
32351 conftest
$ac_exeext conftest.
$ac_ext
32353 echo "$as_me:$LINENO: result: $ac_cv_func_sched_yield" >&5
32354 echo "${ECHO_T}$ac_cv_func_sched_yield" >&6
32355 if test $ac_cv_func_sched_yield = yes; then
32356 cat >>confdefs.h
<<\_ACEOF
32357 #define HAVE_SCHED_YIELD 1
32362 echo "$as_me:$LINENO: checking for sched_yield in -lposix4" >&5
32363 echo $ECHO_N "checking for sched_yield in -lposix4... $ECHO_C" >&6
32364 if test "${ac_cv_lib_posix4_sched_yield+set}" = set; then
32365 echo $ECHO_N "(cached) $ECHO_C" >&6
32367 ac_check_lib_save_LIBS
=$LIBS
32368 LIBS
="-lposix4 $LIBS"
32369 cat >conftest.
$ac_ext <<_ACEOF
32372 cat confdefs.h
>>conftest.
$ac_ext
32373 cat >>conftest.
$ac_ext <<_ACEOF
32374 /* end confdefs.h. */
32376 /* Override any gcc2 internal prototype to avoid an error. */
32380 /* We use char because int might match the return type of a gcc2
32381 builtin and then its argument prototype would still apply. */
32382 char sched_yield ();
32391 rm -f conftest.
$ac_objext conftest
$ac_exeext
32392 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32393 (eval $ac_link) 2>conftest.er1
32395 grep -v '^ *+' conftest.er1
>conftest.err
32397 cat conftest.err
>&5
32398 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32399 (exit $ac_status); } &&
32400 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
32401 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32402 (eval $ac_try) 2>&5
32404 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32405 (exit $ac_status); }; } &&
32406 { ac_try
='test -s conftest$ac_exeext'
32407 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32408 (eval $ac_try) 2>&5
32410 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32411 (exit $ac_status); }; }; then
32412 ac_cv_lib_posix4_sched_yield
=yes
32414 echo "$as_me: failed program was:" >&5
32415 sed 's/^/| /' conftest.
$ac_ext >&5
32417 ac_cv_lib_posix4_sched_yield
=no
32419 rm -f conftest.err conftest.
$ac_objext \
32420 conftest
$ac_exeext conftest.
$ac_ext
32421 LIBS
=$ac_check_lib_save_LIBS
32423 echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_sched_yield" >&5
32424 echo "${ECHO_T}$ac_cv_lib_posix4_sched_yield" >&6
32425 if test $ac_cv_lib_posix4_sched_yield = yes; then
32426 cat >>confdefs.h
<<\_ACEOF
32427 #define HAVE_SCHED_YIELD 1
32429 POSIX4_LINK
=" -lposix4"
32431 { echo "$as_me:$LINENO: WARNING: wxThread::Yield will not work properly" >&5
32432 echo "$as_me: WARNING: wxThread::Yield will not work properly" >&2;}
32443 echo "$as_me:$LINENO: checking for pthread_attr_getschedpolicy" >&5
32444 echo $ECHO_N "checking for pthread_attr_getschedpolicy... $ECHO_C" >&6
32445 if test "${ac_cv_func_pthread_attr_getschedpolicy+set}" = set; then
32446 echo $ECHO_N "(cached) $ECHO_C" >&6
32448 cat >conftest.
$ac_ext <<_ACEOF
32451 cat confdefs.h
>>conftest.
$ac_ext
32452 cat >>conftest.
$ac_ext <<_ACEOF
32453 /* end confdefs.h. */
32454 /* Define pthread_attr_getschedpolicy to an innocuous variant, in case <limits.h> declares pthread_attr_getschedpolicy.
32455 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32456 #define pthread_attr_getschedpolicy innocuous_pthread_attr_getschedpolicy
32458 /* System header to define __stub macros and hopefully few prototypes,
32459 which can conflict with char pthread_attr_getschedpolicy (); below.
32460 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32461 <limits.h> exists even on freestanding compilers. */
32464 # include <limits.h>
32466 # include <assert.h>
32469 #undef pthread_attr_getschedpolicy
32471 /* Override any gcc2 internal prototype to avoid an error. */
32476 /* We use char because int might match the return type of a gcc2
32477 builtin and then its argument prototype would still apply. */
32478 char pthread_attr_getschedpolicy ();
32479 /* The GNU C library defines this for functions which it implements
32480 to always fail with ENOSYS. Some functions are actually named
32481 something starting with __ and the normal name is an alias. */
32482 #if defined (__stub_pthread_attr_getschedpolicy) || defined (__stub___pthread_attr_getschedpolicy)
32485 char (*f) () = pthread_attr_getschedpolicy;
32494 return f != pthread_attr_getschedpolicy;
32499 rm -f conftest.
$ac_objext conftest
$ac_exeext
32500 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32501 (eval $ac_link) 2>conftest.er1
32503 grep -v '^ *+' conftest.er1
>conftest.err
32505 cat conftest.err
>&5
32506 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32507 (exit $ac_status); } &&
32508 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
32509 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32510 (eval $ac_try) 2>&5
32512 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32513 (exit $ac_status); }; } &&
32514 { ac_try
='test -s conftest$ac_exeext'
32515 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32516 (eval $ac_try) 2>&5
32518 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32519 (exit $ac_status); }; }; then
32520 ac_cv_func_pthread_attr_getschedpolicy
=yes
32522 echo "$as_me: failed program was:" >&5
32523 sed 's/^/| /' conftest.
$ac_ext >&5
32525 ac_cv_func_pthread_attr_getschedpolicy
=no
32527 rm -f conftest.err conftest.
$ac_objext \
32528 conftest
$ac_exeext conftest.
$ac_ext
32530 echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_getschedpolicy" >&5
32531 echo "${ECHO_T}$ac_cv_func_pthread_attr_getschedpolicy" >&6
32532 if test $ac_cv_func_pthread_attr_getschedpolicy = yes; then
32533 echo "$as_me:$LINENO: checking for pthread_attr_setschedparam" >&5
32534 echo $ECHO_N "checking for pthread_attr_setschedparam... $ECHO_C" >&6
32535 if test "${ac_cv_func_pthread_attr_setschedparam+set}" = set; then
32536 echo $ECHO_N "(cached) $ECHO_C" >&6
32538 cat >conftest.
$ac_ext <<_ACEOF
32541 cat confdefs.h
>>conftest.
$ac_ext
32542 cat >>conftest.
$ac_ext <<_ACEOF
32543 /* end confdefs.h. */
32544 /* Define pthread_attr_setschedparam to an innocuous variant, in case <limits.h> declares pthread_attr_setschedparam.
32545 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32546 #define pthread_attr_setschedparam innocuous_pthread_attr_setschedparam
32548 /* System header to define __stub macros and hopefully few prototypes,
32549 which can conflict with char pthread_attr_setschedparam (); below.
32550 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32551 <limits.h> exists even on freestanding compilers. */
32554 # include <limits.h>
32556 # include <assert.h>
32559 #undef pthread_attr_setschedparam
32561 /* Override any gcc2 internal prototype to avoid an error. */
32566 /* We use char because int might match the return type of a gcc2
32567 builtin and then its argument prototype would still apply. */
32568 char pthread_attr_setschedparam ();
32569 /* The GNU C library defines this for functions which it implements
32570 to always fail with ENOSYS. Some functions are actually named
32571 something starting with __ and the normal name is an alias. */
32572 #if defined (__stub_pthread_attr_setschedparam) || defined (__stub___pthread_attr_setschedparam)
32575 char (*f) () = pthread_attr_setschedparam;
32584 return f != pthread_attr_setschedparam;
32589 rm -f conftest.
$ac_objext conftest
$ac_exeext
32590 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32591 (eval $ac_link) 2>conftest.er1
32593 grep -v '^ *+' conftest.er1
>conftest.err
32595 cat conftest.err
>&5
32596 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32597 (exit $ac_status); } &&
32598 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
32599 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32600 (eval $ac_try) 2>&5
32602 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32603 (exit $ac_status); }; } &&
32604 { ac_try
='test -s conftest$ac_exeext'
32605 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32606 (eval $ac_try) 2>&5
32608 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32609 (exit $ac_status); }; }; then
32610 ac_cv_func_pthread_attr_setschedparam
=yes
32612 echo "$as_me: failed program was:" >&5
32613 sed 's/^/| /' conftest.
$ac_ext >&5
32615 ac_cv_func_pthread_attr_setschedparam
=no
32617 rm -f conftest.err conftest.
$ac_objext \
32618 conftest
$ac_exeext conftest.
$ac_ext
32620 echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_setschedparam" >&5
32621 echo "${ECHO_T}$ac_cv_func_pthread_attr_setschedparam" >&6
32622 if test $ac_cv_func_pthread_attr_setschedparam = yes; then
32623 echo "$as_me:$LINENO: checking for sched_get_priority_max" >&5
32624 echo $ECHO_N "checking for sched_get_priority_max... $ECHO_C" >&6
32625 if test "${ac_cv_func_sched_get_priority_max+set}" = set; then
32626 echo $ECHO_N "(cached) $ECHO_C" >&6
32628 cat >conftest.
$ac_ext <<_ACEOF
32631 cat confdefs.h
>>conftest.
$ac_ext
32632 cat >>conftest.
$ac_ext <<_ACEOF
32633 /* end confdefs.h. */
32634 /* Define sched_get_priority_max to an innocuous variant, in case <limits.h> declares sched_get_priority_max.
32635 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32636 #define sched_get_priority_max innocuous_sched_get_priority_max
32638 /* System header to define __stub macros and hopefully few prototypes,
32639 which can conflict with char sched_get_priority_max (); below.
32640 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32641 <limits.h> exists even on freestanding compilers. */
32644 # include <limits.h>
32646 # include <assert.h>
32649 #undef sched_get_priority_max
32651 /* Override any gcc2 internal prototype to avoid an error. */
32656 /* We use char because int might match the return type of a gcc2
32657 builtin and then its argument prototype would still apply. */
32658 char sched_get_priority_max ();
32659 /* The GNU C library defines this for functions which it implements
32660 to always fail with ENOSYS. Some functions are actually named
32661 something starting with __ and the normal name is an alias. */
32662 #if defined (__stub_sched_get_priority_max) || defined (__stub___sched_get_priority_max)
32665 char (*f) () = sched_get_priority_max;
32674 return f != sched_get_priority_max;
32679 rm -f conftest.
$ac_objext conftest
$ac_exeext
32680 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32681 (eval $ac_link) 2>conftest.er1
32683 grep -v '^ *+' conftest.er1
>conftest.err
32685 cat conftest.err
>&5
32686 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32687 (exit $ac_status); } &&
32688 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
32689 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32690 (eval $ac_try) 2>&5
32692 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32693 (exit $ac_status); }; } &&
32694 { ac_try
='test -s conftest$ac_exeext'
32695 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32696 (eval $ac_try) 2>&5
32698 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32699 (exit $ac_status); }; }; then
32700 ac_cv_func_sched_get_priority_max
=yes
32702 echo "$as_me: failed program was:" >&5
32703 sed 's/^/| /' conftest.
$ac_ext >&5
32705 ac_cv_func_sched_get_priority_max
=no
32707 rm -f conftest.err conftest.
$ac_objext \
32708 conftest
$ac_exeext conftest.
$ac_ext
32710 echo "$as_me:$LINENO: result: $ac_cv_func_sched_get_priority_max" >&5
32711 echo "${ECHO_T}$ac_cv_func_sched_get_priority_max" >&6
32712 if test $ac_cv_func_sched_get_priority_max = yes; then
32715 echo "$as_me:$LINENO: checking for sched_get_priority_max in -lposix4" >&5
32716 echo $ECHO_N "checking for sched_get_priority_max in -lposix4... $ECHO_C" >&6
32717 if test "${ac_cv_lib_posix4_sched_get_priority_max+set}" = set; then
32718 echo $ECHO_N "(cached) $ECHO_C" >&6
32720 ac_check_lib_save_LIBS
=$LIBS
32721 LIBS
="-lposix4 $LIBS"
32722 cat >conftest.
$ac_ext <<_ACEOF
32725 cat confdefs.h
>>conftest.
$ac_ext
32726 cat >>conftest.
$ac_ext <<_ACEOF
32727 /* end confdefs.h. */
32729 /* Override any gcc2 internal prototype to avoid an error. */
32733 /* We use char because int might match the return type of a gcc2
32734 builtin and then its argument prototype would still apply. */
32735 char sched_get_priority_max ();
32739 sched_get_priority_max ();
32744 rm -f conftest.
$ac_objext conftest
$ac_exeext
32745 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32746 (eval $ac_link) 2>conftest.er1
32748 grep -v '^ *+' conftest.er1
>conftest.err
32750 cat conftest.err
>&5
32751 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32752 (exit $ac_status); } &&
32753 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
32754 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32755 (eval $ac_try) 2>&5
32757 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32758 (exit $ac_status); }; } &&
32759 { ac_try
='test -s conftest$ac_exeext'
32760 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32761 (eval $ac_try) 2>&5
32763 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32764 (exit $ac_status); }; }; then
32765 ac_cv_lib_posix4_sched_get_priority_max
=yes
32767 echo "$as_me: failed program was:" >&5
32768 sed 's/^/| /' conftest.
$ac_ext >&5
32770 ac_cv_lib_posix4_sched_get_priority_max
=no
32772 rm -f conftest.err conftest.
$ac_objext \
32773 conftest
$ac_exeext conftest.
$ac_ext
32774 LIBS
=$ac_check_lib_save_LIBS
32776 echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_sched_get_priority_max" >&5
32777 echo "${ECHO_T}$ac_cv_lib_posix4_sched_get_priority_max" >&6
32778 if test $ac_cv_lib_posix4_sched_get_priority_max = yes; then
32781 POSIX4_LINK
=" -lposix4"
32795 if test "$HAVE_PRIOR_FUNCS" = 1; then
32796 cat >>confdefs.h
<<\_ACEOF
32797 #define HAVE_THREAD_PRIORITY_FUNCTIONS 1
32801 { echo "$as_me:$LINENO: WARNING: Setting thread priority will not work" >&5
32802 echo "$as_me: WARNING: Setting thread priority will not work" >&2;}
32805 echo "$as_me:$LINENO: checking for pthread_cancel" >&5
32806 echo $ECHO_N "checking for pthread_cancel... $ECHO_C" >&6
32807 if test "${ac_cv_func_pthread_cancel+set}" = set; then
32808 echo $ECHO_N "(cached) $ECHO_C" >&6
32810 cat >conftest.
$ac_ext <<_ACEOF
32813 cat confdefs.h
>>conftest.
$ac_ext
32814 cat >>conftest.
$ac_ext <<_ACEOF
32815 /* end confdefs.h. */
32816 /* Define pthread_cancel to an innocuous variant, in case <limits.h> declares pthread_cancel.
32817 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32818 #define pthread_cancel innocuous_pthread_cancel
32820 /* System header to define __stub macros and hopefully few prototypes,
32821 which can conflict with char pthread_cancel (); below.
32822 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32823 <limits.h> exists even on freestanding compilers. */
32826 # include <limits.h>
32828 # include <assert.h>
32831 #undef pthread_cancel
32833 /* Override any gcc2 internal prototype to avoid an error. */
32838 /* We use char because int might match the return type of a gcc2
32839 builtin and then its argument prototype would still apply. */
32840 char pthread_cancel ();
32841 /* The GNU C library defines this for functions which it implements
32842 to always fail with ENOSYS. Some functions are actually named
32843 something starting with __ and the normal name is an alias. */
32844 #if defined (__stub_pthread_cancel) || defined (__stub___pthread_cancel)
32847 char (*f) () = pthread_cancel;
32856 return f != pthread_cancel;
32861 rm -f conftest.
$ac_objext conftest
$ac_exeext
32862 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32863 (eval $ac_link) 2>conftest.er1
32865 grep -v '^ *+' conftest.er1
>conftest.err
32867 cat conftest.err
>&5
32868 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32869 (exit $ac_status); } &&
32870 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
32871 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32872 (eval $ac_try) 2>&5
32874 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32875 (exit $ac_status); }; } &&
32876 { ac_try
='test -s conftest$ac_exeext'
32877 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32878 (eval $ac_try) 2>&5
32880 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32881 (exit $ac_status); }; }; then
32882 ac_cv_func_pthread_cancel
=yes
32884 echo "$as_me: failed program was:" >&5
32885 sed 's/^/| /' conftest.
$ac_ext >&5
32887 ac_cv_func_pthread_cancel
=no
32889 rm -f conftest.err conftest.
$ac_objext \
32890 conftest
$ac_exeext conftest.
$ac_ext
32892 echo "$as_me:$LINENO: result: $ac_cv_func_pthread_cancel" >&5
32893 echo "${ECHO_T}$ac_cv_func_pthread_cancel" >&6
32894 if test $ac_cv_func_pthread_cancel = yes; then
32895 cat >>confdefs.h
<<\_ACEOF
32896 #define HAVE_PTHREAD_CANCEL 1
32900 { echo "$as_me:$LINENO: WARNING: wxThread::Kill() will not work properly" >&5
32901 echo "$as_me: WARNING: wxThread::Kill() will not work properly" >&2;}
32907 echo "$as_me:$LINENO: checking for pthread_mutexattr_t" >&5
32908 echo $ECHO_N "checking for pthread_mutexattr_t... $ECHO_C" >&6
32909 if test "${wx_cv_type_pthread_mutexattr_t+set}" = set; then
32910 echo $ECHO_N "(cached) $ECHO_C" >&6
32913 cat >conftest.
$ac_ext <<_ACEOF
32916 cat confdefs.h
>>conftest.
$ac_ext
32917 cat >>conftest.
$ac_ext <<_ACEOF
32918 /* end confdefs.h. */
32919 #include <pthread.h>
32924 pthread_mutexattr_t attr;
32925 pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE);
32931 rm -f conftest.
$ac_objext
32932 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32933 (eval $ac_compile) 2>conftest.er1
32935 grep -v '^ *+' conftest.er1
>conftest.err
32937 cat conftest.err
>&5
32938 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32939 (exit $ac_status); } &&
32940 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
32941 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32942 (eval $ac_try) 2>&5
32944 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32945 (exit $ac_status); }; } &&
32946 { ac_try
='test -s conftest.$ac_objext'
32947 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32948 (eval $ac_try) 2>&5
32950 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32951 (exit $ac_status); }; }; then
32953 wx_cv_type_pthread_mutexattr_t
=yes
32956 echo "$as_me: failed program was:" >&5
32957 sed 's/^/| /' conftest.
$ac_ext >&5
32960 wx_cv_type_pthread_mutexattr_t
=no
32964 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
32967 echo "$as_me:$LINENO: result: $wx_cv_type_pthread_mutexattr_t" >&5
32968 echo "${ECHO_T}$wx_cv_type_pthread_mutexattr_t" >&6
32970 if test "$wx_cv_type_pthread_mutexattr_t" = "yes"; then
32971 cat >>confdefs.h
<<\_ACEOF
32972 #define HAVE_PTHREAD_MUTEXATTR_T 1
32976 echo "$as_me:$LINENO: checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER" >&5
32977 echo $ECHO_N "checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER... $ECHO_C" >&6
32978 if test "${wx_cv_type_pthread_rec_mutex_init+set}" = set; then
32979 echo $ECHO_N "(cached) $ECHO_C" >&6
32982 cat >conftest.
$ac_ext <<_ACEOF
32985 cat confdefs.h
>>conftest.
$ac_ext
32986 cat >>conftest.
$ac_ext <<_ACEOF
32987 /* end confdefs.h. */
32988 #include <pthread.h>
32993 pthread_mutex_t attr = PTHREAD_RECURSIVE_MUTEX_INITIALIZER_NP;
32999 rm -f conftest.
$ac_objext
33000 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33001 (eval $ac_compile) 2>conftest.er1
33003 grep -v '^ *+' conftest.er1
>conftest.err
33005 cat conftest.err
>&5
33006 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33007 (exit $ac_status); } &&
33008 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
33009 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33010 (eval $ac_try) 2>&5
33012 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33013 (exit $ac_status); }; } &&
33014 { ac_try
='test -s conftest.$ac_objext'
33015 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33016 (eval $ac_try) 2>&5
33018 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33019 (exit $ac_status); }; }; then
33021 wx_cv_type_pthread_rec_mutex_init
=yes
33024 echo "$as_me: failed program was:" >&5
33025 sed 's/^/| /' conftest.
$ac_ext >&5
33028 wx_cv_type_pthread_rec_mutex_init
=no
33032 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
33035 echo "$as_me:$LINENO: result: $wx_cv_type_pthread_rec_mutex_init" >&5
33036 echo "${ECHO_T}$wx_cv_type_pthread_rec_mutex_init" >&6
33037 if test "$wx_cv_type_pthread_rec_mutex_init" = "yes"; then
33038 cat >>confdefs.h
<<\_ACEOF
33039 #define HAVE_PTHREAD_RECURSIVE_MUTEX_INITIALIZER 1
33043 { echo "$as_me:$LINENO: WARNING: wxMutex won't be recursive on this platform" >&5
33044 echo "$as_me: WARNING: wxMutex won't be recursive on this platform" >&2;}
33050 if test "$wxUSE_THREADS" = "yes" ; then
33053 echo "$as_me:$LINENO: checking if compiler supports -mthreads" >&5
33054 echo $ECHO_N "checking if compiler supports -mthreads... $ECHO_C" >&6
33055 if test "${wx_cv_cflags_mthread+set}" = set; then
33056 echo $ECHO_N "(cached) $ECHO_C" >&6
33059 CFLAGS_OLD
="$CFLAGS"
33060 CFLAGS
="$CFLAGS -mthreads"
33061 cat >conftest.
$ac_ext <<_ACEOF
33064 cat confdefs.h
>>conftest.
$ac_ext
33065 cat >>conftest.
$ac_ext <<_ACEOF
33066 /* end confdefs.h. */
33076 rm -f conftest.
$ac_objext
33077 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33078 (eval $ac_compile) 2>conftest.er1
33080 grep -v '^ *+' conftest.er1
>conftest.err
33082 cat conftest.err
>&5
33083 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33084 (exit $ac_status); } &&
33085 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
33086 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33087 (eval $ac_try) 2>&5
33089 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33090 (exit $ac_status); }; } &&
33091 { ac_try
='test -s conftest.$ac_objext'
33092 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33093 (eval $ac_try) 2>&5
33095 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33096 (exit $ac_status); }; }; then
33097 wx_cv_cflags_mthread
=yes
33099 echo "$as_me: failed program was:" >&5
33100 sed 's/^/| /' conftest.
$ac_ext >&5
33102 wx_cv_cflags_mthread
=no
33105 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
33109 echo "$as_me:$LINENO: result: $wx_cv_cflags_mthread" >&5
33110 echo "${ECHO_T}$wx_cv_cflags_mthread" >&6
33112 if test "$wx_cv_cflags_mthread" = "yes"; then
33113 CXXFLAGS
="$CXXFLAGS -mthreads"
33114 TOOLCHAIN_DEFS
="$TOOLCHAIN_DEFS -mthreads"
33115 LDFLAGS
="$LDFLAGS -mthreads"
33117 CFLAGS
="$CFLAGS_OLD"
33121 CFLAGS
="$CFLAGS -Zmt -D__ST_MT_ERRNO__"
33122 CXXFLAGS
="$CXXFLAGS -Zmt -D__ST_MT_ERRNO__"
33123 LDFLAGS
="$LDFLAGS -Zmt"
33129 if test "$wxUSE_THREADS" = "yes"; then
33130 cat >>confdefs.h
<<\_ACEOF
33131 #define wxUSE_THREADS 1
33135 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS thread"
33137 if test "$ac_cv_func_strtok_r" = "yes"; then
33138 echo "$as_me:$LINENO: checking if -D_REENTRANT is needed" >&5
33139 echo $ECHO_N "checking if -D_REENTRANT is needed... $ECHO_C" >&6
33140 if test "$NEEDS_D_REENTRANT_FOR_R_FUNCS" = 1; then
33141 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -D_REENTRANT"
33142 echo "$as_me:$LINENO: result: yes" >&5
33143 echo "${ECHO_T}yes" >&6
33145 echo "$as_me:$LINENO: result: no" >&5
33146 echo "${ECHO_T}no" >&6
33151 if test "$WXGTK20" = 1 ; then
33152 cat >>confdefs.h
<<_ACEOF
33153 #define __WXGTK20__ $WXGTK20
33159 if test "$WXGTK12" = 1 ; then
33160 cat >>confdefs.h
<<_ACEOF
33161 #define __WXGTK12__ $WXGTK12
33166 if test "$WXGTK127" = 1 ; then
33167 cat >>confdefs.h
<<_ACEOF
33168 #define __WXGTK127__ $WXGTK127
33173 if test "$WXGPE" = 1 ; then
33174 cat >>confdefs.h
<<_ACEOF
33175 #define __WXGPE__ $WXGPE
33182 if test "$wxUSE_DEBUG_INFO" = "yes" ; then
33187 if test "$wxUSE_DEBUG_GDB" = "yes" ; then
33188 wxUSE_DEBUG_INFO
=yes
33192 if test "$wxUSE_DEBUG_FLAG" = "yes" ; then
33193 cat >>confdefs.h
<<\_ACEOF
33197 WXDEBUG_DEFINE
="-D__WXDEBUG__"
33199 if test "$wxUSE_GTK" = 1 ; then
33200 WXDEBUG_DEFINE
="-DGTK_NO_CHECK_CASTS"
33204 if test "$wxUSE_MEM_TRACING" = "yes" ; then
33205 cat >>confdefs.h
<<\_ACEOF
33206 #define wxUSE_MEMORY_TRACING 1
33209 cat >>confdefs.h
<<\_ACEOF
33210 #define wxUSE_GLOBAL_MEMORY_OPERATORS 1
33213 cat >>confdefs.h
<<\_ACEOF
33214 #define wxUSE_DEBUG_NEW_ALWAYS 1
33217 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS memcheck"
33220 if test "$wxUSE_DMALLOC" = "yes" ; then
33221 DMALLOC_LIBS
="-ldmalloc"
33225 if test "$wxUSE_PROFILE" = "yes" ; then
33230 CODE_GEN_FLAGS_CXX
=
33231 if test "$GCC" = "yes" ; then
33232 if test "$wxUSE_NO_RTTI" = "yes" ; then
33233 CODE_GEN_FLAGS_CXX
="$CODE_GEN_FLAGS_CXX -fno-rtti"
33235 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
33236 CODE_GEN_FLAGS_CXX
="$CODE_GEN_FLAGS_CXX -fno-exceptions"
33238 if test "$wxUSE_PERMISSIVE" = "yes" ; then
33239 CODE_GEN_FLAGS
="$CODE_GEN_FLAGS -fpermissive"
33244 CODE_GEN_FLAGS
="$CODE_GEN_FLAGS -mminimal-toc"
33247 CODE_GEN_FLAGS
="$CODE_GEN_FLAGS -ffunction-sections"
33253 if test "$wxUSE_OPTIMISE" = "no" ; then
33254 if test "$GCC" = yes ; then
33258 if test "$GCC" = yes ; then
33262 i586
-*-*|i686
-*-* )
33263 OPTIMISE
="${OPTIMISE} "
33272 if test "x$WXWIN_COMPATIBILITY_2_2" = "xyes"; then
33273 cat >>confdefs.h
<<\_ACEOF
33274 #define WXWIN_COMPATIBILITY_2_2 1
33278 WXWIN_COMPATIBILITY_2_4
="yes"
33281 if test "x$WXWIN_COMPATIBILITY_2_4" != "xno"; then
33282 cat >>confdefs.h
<<\_ACEOF
33283 #define WXWIN_COMPATIBILITY_2_4 1
33289 if test "$wxUSE_GUI" = "yes"; then
33290 cat >>confdefs.h
<<\_ACEOF
33291 #define wxUSE_GUI 1
33296 cat >>confdefs.h
<<\_ACEOF
33297 #define wxUSE_NOGUI 1
33303 if test "$wxUSE_UNIX" = "yes"; then
33304 cat >>confdefs.h
<<\_ACEOF
33305 #define wxUSE_UNIX 1
33311 if test "$TOOLKIT" != "MSW" -a "$USE_OS2" != 1; then
33315 if test "$wxUSE_DYNAMIC_LOADER" = "yes" -o "$wxUSE_DYNLIB_CLASS" = "yes" ; then
33316 if test "$USE_DARWIN" = 1; then
33320 for ac_func
in dlopen
33322 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33323 echo "$as_me:$LINENO: checking for $ac_func" >&5
33324 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33325 if eval "test \"\${$as_ac_var+set}\" = set"; then
33326 echo $ECHO_N "(cached) $ECHO_C" >&6
33328 cat >conftest.
$ac_ext <<_ACEOF
33331 cat confdefs.h
>>conftest.
$ac_ext
33332 cat >>conftest.
$ac_ext <<_ACEOF
33333 /* end confdefs.h. */
33334 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
33335 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33336 #define $ac_func innocuous_$ac_func
33338 /* System header to define __stub macros and hopefully few prototypes,
33339 which can conflict with char $ac_func (); below.
33340 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33341 <limits.h> exists even on freestanding compilers. */
33344 # include <limits.h>
33346 # include <assert.h>
33351 /* Override any gcc2 internal prototype to avoid an error. */
33356 /* We use char because int might match the return type of a gcc2
33357 builtin and then its argument prototype would still apply. */
33359 /* The GNU C library defines this for functions which it implements
33360 to always fail with ENOSYS. Some functions are actually named
33361 something starting with __ and the normal name is an alias. */
33362 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33365 char (*f) () = $ac_func;
33374 return f != $ac_func;
33379 rm -f conftest.
$ac_objext conftest
$ac_exeext
33380 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33381 (eval $ac_link) 2>conftest.er1
33383 grep -v '^ *+' conftest.er1
>conftest.err
33385 cat conftest.err
>&5
33386 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33387 (exit $ac_status); } &&
33388 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
33389 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33390 (eval $ac_try) 2>&5
33392 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33393 (exit $ac_status); }; } &&
33394 { ac_try
='test -s conftest$ac_exeext'
33395 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33396 (eval $ac_try) 2>&5
33398 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33399 (exit $ac_status); }; }; then
33400 eval "$as_ac_var=yes"
33402 echo "$as_me: failed program was:" >&5
33403 sed 's/^/| /' conftest.
$ac_ext >&5
33405 eval "$as_ac_var=no"
33407 rm -f conftest.err conftest.
$ac_objext \
33408 conftest
$ac_exeext conftest.
$ac_ext
33410 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33411 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33412 if test `eval echo '${'$as_ac_var'}'` = yes; then
33413 cat >>confdefs.h
<<_ACEOF
33414 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33417 cat >>confdefs.h
<<\_ACEOF
33418 #define HAVE_DLOPEN 1
33425 echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
33426 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
33427 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
33428 echo $ECHO_N "(cached) $ECHO_C" >&6
33430 ac_check_lib_save_LIBS
=$LIBS
33432 cat >conftest.
$ac_ext <<_ACEOF
33435 cat confdefs.h
>>conftest.
$ac_ext
33436 cat >>conftest.
$ac_ext <<_ACEOF
33437 /* end confdefs.h. */
33439 /* Override any gcc2 internal prototype to avoid an error. */
33443 /* We use char because int might match the return type of a gcc2
33444 builtin and then its argument prototype would still apply. */
33454 rm -f conftest.
$ac_objext conftest
$ac_exeext
33455 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33456 (eval $ac_link) 2>conftest.er1
33458 grep -v '^ *+' conftest.er1
>conftest.err
33460 cat conftest.err
>&5
33461 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33462 (exit $ac_status); } &&
33463 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
33464 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33465 (eval $ac_try) 2>&5
33467 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33468 (exit $ac_status); }; } &&
33469 { ac_try
='test -s conftest$ac_exeext'
33470 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33471 (eval $ac_try) 2>&5
33473 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33474 (exit $ac_status); }; }; then
33475 ac_cv_lib_dl_dlopen
=yes
33477 echo "$as_me: failed program was:" >&5
33478 sed 's/^/| /' conftest.
$ac_ext >&5
33480 ac_cv_lib_dl_dlopen
=no
33482 rm -f conftest.err conftest.
$ac_objext \
33483 conftest
$ac_exeext conftest.
$ac_ext
33484 LIBS
=$ac_check_lib_save_LIBS
33486 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
33487 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
33488 if test $ac_cv_lib_dl_dlopen = yes; then
33490 cat >>confdefs.h
<<\_ACEOF
33491 #define HAVE_DLOPEN 1
33495 DL_LINK
=" -ldl$DL_LINK"
33500 for ac_func
in shl_load
33502 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33503 echo "$as_me:$LINENO: checking for $ac_func" >&5
33504 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33505 if eval "test \"\${$as_ac_var+set}\" = set"; then
33506 echo $ECHO_N "(cached) $ECHO_C" >&6
33508 cat >conftest.
$ac_ext <<_ACEOF
33511 cat confdefs.h
>>conftest.
$ac_ext
33512 cat >>conftest.
$ac_ext <<_ACEOF
33513 /* end confdefs.h. */
33514 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
33515 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33516 #define $ac_func innocuous_$ac_func
33518 /* System header to define __stub macros and hopefully few prototypes,
33519 which can conflict with char $ac_func (); below.
33520 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33521 <limits.h> exists even on freestanding compilers. */
33524 # include <limits.h>
33526 # include <assert.h>
33531 /* Override any gcc2 internal prototype to avoid an error. */
33536 /* We use char because int might match the return type of a gcc2
33537 builtin and then its argument prototype would still apply. */
33539 /* The GNU C library defines this for functions which it implements
33540 to always fail with ENOSYS. Some functions are actually named
33541 something starting with __ and the normal name is an alias. */
33542 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33545 char (*f) () = $ac_func;
33554 return f != $ac_func;
33559 rm -f conftest.
$ac_objext conftest
$ac_exeext
33560 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33561 (eval $ac_link) 2>conftest.er1
33563 grep -v '^ *+' conftest.er1
>conftest.err
33565 cat conftest.err
>&5
33566 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33567 (exit $ac_status); } &&
33568 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
33569 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33570 (eval $ac_try) 2>&5
33572 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33573 (exit $ac_status); }; } &&
33574 { ac_try
='test -s conftest$ac_exeext'
33575 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33576 (eval $ac_try) 2>&5
33578 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33579 (exit $ac_status); }; }; then
33580 eval "$as_ac_var=yes"
33582 echo "$as_me: failed program was:" >&5
33583 sed 's/^/| /' conftest.
$ac_ext >&5
33585 eval "$as_ac_var=no"
33587 rm -f conftest.err conftest.
$ac_objext \
33588 conftest
$ac_exeext conftest.
$ac_ext
33590 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33591 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33592 if test `eval echo '${'$as_ac_var'}'` = yes; then
33593 cat >>confdefs.h
<<_ACEOF
33594 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33597 cat >>confdefs.h
<<\_ACEOF
33598 #define HAVE_SHL_LOAD 1
33605 echo "$as_me:$LINENO: checking for dld in -lshl_load" >&5
33606 echo $ECHO_N "checking for dld in -lshl_load... $ECHO_C" >&6
33607 if test "${ac_cv_lib_shl_load_dld+set}" = set; then
33608 echo $ECHO_N "(cached) $ECHO_C" >&6
33610 ac_check_lib_save_LIBS
=$LIBS
33611 LIBS
="-lshl_load $LIBS"
33612 cat >conftest.
$ac_ext <<_ACEOF
33615 cat confdefs.h
>>conftest.
$ac_ext
33616 cat >>conftest.
$ac_ext <<_ACEOF
33617 /* end confdefs.h. */
33619 /* Override any gcc2 internal prototype to avoid an error. */
33623 /* We use char because int might match the return type of a gcc2
33624 builtin and then its argument prototype would still apply. */
33634 rm -f conftest.
$ac_objext conftest
$ac_exeext
33635 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33636 (eval $ac_link) 2>conftest.er1
33638 grep -v '^ *+' conftest.er1
>conftest.err
33640 cat conftest.err
>&5
33641 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33642 (exit $ac_status); } &&
33643 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
33644 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33645 (eval $ac_try) 2>&5
33647 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33648 (exit $ac_status); }; } &&
33649 { ac_try
='test -s conftest$ac_exeext'
33650 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33651 (eval $ac_try) 2>&5
33653 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33654 (exit $ac_status); }; }; then
33655 ac_cv_lib_shl_load_dld
=yes
33657 echo "$as_me: failed program was:" >&5
33658 sed 's/^/| /' conftest.
$ac_ext >&5
33660 ac_cv_lib_shl_load_dld
=no
33662 rm -f conftest.err conftest.
$ac_objext \
33663 conftest
$ac_exeext conftest.
$ac_ext
33664 LIBS
=$ac_check_lib_save_LIBS
33666 echo "$as_me:$LINENO: result: $ac_cv_lib_shl_load_dld" >&5
33667 echo "${ECHO_T}$ac_cv_lib_shl_load_dld" >&6
33668 if test $ac_cv_lib_shl_load_dld = yes; then
33671 DL_LINK
=" -ldld$DL_LINK"
33687 if test "$HAVE_DL_FUNCS" = 1; then
33689 for ac_func
in dlerror
33691 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33692 echo "$as_me:$LINENO: checking for $ac_func" >&5
33693 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33694 if eval "test \"\${$as_ac_var+set}\" = set"; then
33695 echo $ECHO_N "(cached) $ECHO_C" >&6
33697 cat >conftest.
$ac_ext <<_ACEOF
33700 cat confdefs.h
>>conftest.
$ac_ext
33701 cat >>conftest.
$ac_ext <<_ACEOF
33702 /* end confdefs.h. */
33703 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
33704 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33705 #define $ac_func innocuous_$ac_func
33707 /* System header to define __stub macros and hopefully few prototypes,
33708 which can conflict with char $ac_func (); below.
33709 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33710 <limits.h> exists even on freestanding compilers. */
33713 # include <limits.h>
33715 # include <assert.h>
33720 /* Override any gcc2 internal prototype to avoid an error. */
33725 /* We use char because int might match the return type of a gcc2
33726 builtin and then its argument prototype would still apply. */
33728 /* The GNU C library defines this for functions which it implements
33729 to always fail with ENOSYS. Some functions are actually named
33730 something starting with __ and the normal name is an alias. */
33731 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33734 char (*f) () = $ac_func;
33743 return f != $ac_func;
33748 rm -f conftest.
$ac_objext conftest
$ac_exeext
33749 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33750 (eval $ac_link) 2>conftest.er1
33752 grep -v '^ *+' conftest.er1
>conftest.err
33754 cat conftest.err
>&5
33755 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33756 (exit $ac_status); } &&
33757 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
33758 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33759 (eval $ac_try) 2>&5
33761 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33762 (exit $ac_status); }; } &&
33763 { ac_try
='test -s conftest$ac_exeext'
33764 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33765 (eval $ac_try) 2>&5
33767 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33768 (exit $ac_status); }; }; then
33769 eval "$as_ac_var=yes"
33771 echo "$as_me: failed program was:" >&5
33772 sed 's/^/| /' conftest.
$ac_ext >&5
33774 eval "$as_ac_var=no"
33776 rm -f conftest.err conftest.
$ac_objext \
33777 conftest
$ac_exeext conftest.
$ac_ext
33779 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33780 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33781 if test `eval echo '${'$as_ac_var'}'` = yes; then
33782 cat >>confdefs.h
<<_ACEOF
33783 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33785 cat >>confdefs.h
<<\_ACEOF
33786 #define HAVE_DLERROR 1
33791 echo "$as_me:$LINENO: checking for dlerror in -ldl" >&5
33792 echo $ECHO_N "checking for dlerror in -ldl... $ECHO_C" >&6
33793 if test "${ac_cv_lib_dl_dlerror+set}" = set; then
33794 echo $ECHO_N "(cached) $ECHO_C" >&6
33796 ac_check_lib_save_LIBS
=$LIBS
33798 cat >conftest.
$ac_ext <<_ACEOF
33801 cat confdefs.h
>>conftest.
$ac_ext
33802 cat >>conftest.
$ac_ext <<_ACEOF
33803 /* end confdefs.h. */
33805 /* Override any gcc2 internal prototype to avoid an error. */
33809 /* We use char because int might match the return type of a gcc2
33810 builtin and then its argument prototype would still apply. */
33820 rm -f conftest.
$ac_objext conftest
$ac_exeext
33821 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33822 (eval $ac_link) 2>conftest.er1
33824 grep -v '^ *+' conftest.er1
>conftest.err
33826 cat conftest.err
>&5
33827 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33828 (exit $ac_status); } &&
33829 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
33830 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33831 (eval $ac_try) 2>&5
33833 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33834 (exit $ac_status); }; } &&
33835 { ac_try
='test -s conftest$ac_exeext'
33836 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33837 (eval $ac_try) 2>&5
33839 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33840 (exit $ac_status); }; }; then
33841 ac_cv_lib_dl_dlerror
=yes
33843 echo "$as_me: failed program was:" >&5
33844 sed 's/^/| /' conftest.
$ac_ext >&5
33846 ac_cv_lib_dl_dlerror
=no
33848 rm -f conftest.err conftest.
$ac_objext \
33849 conftest
$ac_exeext conftest.
$ac_ext
33850 LIBS
=$ac_check_lib_save_LIBS
33852 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlerror" >&5
33853 echo "${ECHO_T}$ac_cv_lib_dl_dlerror" >&6
33854 if test $ac_cv_lib_dl_dlerror = yes; then
33855 cat >>confdefs.h
<<\_ACEOF
33856 #define HAVE_DLERROR 1
33869 if test "$HAVE_DL_FUNCS" = 0; then
33870 if test "$HAVE_SHL_FUNCS" = 0; then
33871 if test "$USE_UNIX" = 1; then
33872 { echo "$as_me:$LINENO: WARNING: Missing dynamic loading support, several features will be disabled" >&5
33873 echo "$as_me: WARNING: Missing dynamic loading support, several features will be disabled" >&2;}
33874 wxUSE_DYNAMIC_LOADER
=no
33875 wxUSE_DYNLIB_CLASS
=no
33877 { echo "$as_me:$LINENO: WARNING: Assuming wxLibrary class works on this platform" >&5
33878 echo "$as_me: WARNING: Assuming wxLibrary class works on this platform" >&2;}
33885 if test "$wxUSE_DYNAMIC_LOADER" = "yes" ; then
33886 cat >>confdefs.h
<<\_ACEOF
33887 #define wxUSE_DYNAMIC_LOADER 1
33891 if test "$wxUSE_DYNLIB_CLASS" = "yes" ; then
33892 cat >>confdefs.h
<<\_ACEOF
33893 #define wxUSE_DYNLIB_CLASS 1
33900 if test "$wxUSE_PLUGINS" = "yes" ; then
33901 if test "$wxUSE_SHARED" = "no" ; then
33902 { echo "$as_me:$LINENO: WARNING: plugins supported only in shared build, disabling" >&5
33903 echo "$as_me: WARNING: plugins supported only in shared build, disabling" >&2;}
33906 if test "$wxUSE_MONOLITHIC" = "yes" ; then
33907 { echo "$as_me:$LINENO: WARNING: plugins not supported monolithic build, disabling" >&5
33908 echo "$as_me: WARNING: plugins not supported monolithic build, disabling" >&2;}
33911 if test "$wxUSE_DYNLIB_CLASS" = "no" ; then
33912 { echo "$as_me:$LINENO: WARNING: plugins require wxDynamicLibrary, disabling" >&5
33913 echo "$as_me: WARNING: plugins require wxDynamicLibrary, disabling" >&2;}
33916 if test "$wxUSE_PLUGINS" = "yes" ; then
33917 cat >>confdefs.h
<<\_ACEOF
33918 #define wxUSE_PLUGINS 1
33925 if test "$wxUSE_STL" = "yes"; then
33926 cat >>confdefs.h
<<\_ACEOF
33927 #define wxUSE_STL 1
33932 if test "$wxUSE_APPLE_IEEE" = "yes"; then
33933 cat >>confdefs.h
<<\_ACEOF
33934 #define wxUSE_APPLE_IEEE 1
33939 if test "$wxUSE_TIMER" = "yes"; then
33940 cat >>confdefs.h
<<\_ACEOF
33941 #define wxUSE_TIMER 1
33947 if test "$wxUSE_SOUND" = "yes"; then
33948 if test "$USE_UNIX" = "1" ; then
33950 for ac_header
in sys
/soundcard.h
33952 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
33953 if eval "test \"\${$as_ac_Header+set}\" = set"; then
33954 echo "$as_me:$LINENO: checking for $ac_header" >&5
33955 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
33956 if eval "test \"\${$as_ac_Header+set}\" = set"; then
33957 echo $ECHO_N "(cached) $ECHO_C" >&6
33959 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
33960 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
33962 # Is the header compilable?
33963 echo "$as_me:$LINENO: checking $ac_header usability" >&5
33964 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
33965 cat >conftest.
$ac_ext <<_ACEOF
33968 cat confdefs.h
>>conftest.
$ac_ext
33969 cat >>conftest.
$ac_ext <<_ACEOF
33970 /* end confdefs.h. */
33971 $ac_includes_default
33972 #include <$ac_header>
33974 rm -f conftest.
$ac_objext
33975 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33976 (eval $ac_compile) 2>conftest.er1
33978 grep -v '^ *+' conftest.er1
>conftest.err
33980 cat conftest.err
>&5
33981 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33982 (exit $ac_status); } &&
33983 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
33984 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33985 (eval $ac_try) 2>&5
33987 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33988 (exit $ac_status); }; } &&
33989 { ac_try
='test -s conftest.$ac_objext'
33990 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33991 (eval $ac_try) 2>&5
33993 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33994 (exit $ac_status); }; }; then
33995 ac_header_compiler
=yes
33997 echo "$as_me: failed program was:" >&5
33998 sed 's/^/| /' conftest.
$ac_ext >&5
34000 ac_header_compiler
=no
34002 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
34003 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
34004 echo "${ECHO_T}$ac_header_compiler" >&6
34006 # Is the header present?
34007 echo "$as_me:$LINENO: checking $ac_header presence" >&5
34008 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
34009 cat >conftest.
$ac_ext <<_ACEOF
34012 cat confdefs.h
>>conftest.
$ac_ext
34013 cat >>conftest.
$ac_ext <<_ACEOF
34014 /* end confdefs.h. */
34015 #include <$ac_header>
34017 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
34018 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
34020 grep -v '^ *+' conftest.er1
>conftest.err
34022 cat conftest.err
>&5
34023 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34024 (exit $ac_status); } >/dev
/null
; then
34025 if test -s conftest.err
; then
34026 ac_cpp_err
=$ac_c_preproc_warn_flag
34027 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
34034 if test -z "$ac_cpp_err"; then
34035 ac_header_preproc
=yes
34037 echo "$as_me: failed program was:" >&5
34038 sed 's/^/| /' conftest.
$ac_ext >&5
34040 ac_header_preproc
=no
34042 rm -f conftest.err conftest.
$ac_ext
34043 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
34044 echo "${ECHO_T}$ac_header_preproc" >&6
34046 # So? What about this header?
34047 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
34049 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
34050 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
34051 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
34052 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
34053 ac_header_preproc
=yes
34056 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
34057 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
34058 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
34059 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
34060 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
34061 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
34062 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
34063 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
34064 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
34065 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
34066 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
34067 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
34070 ## ----------------------------------------- ##
34071 ## Report this to wx-dev@lists.wxwindows.org ##
34072 ## ----------------------------------------- ##
34075 sed "s/^/$as_me: WARNING: /" >&2
34078 echo "$as_me:$LINENO: checking for $ac_header" >&5
34079 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
34080 if eval "test \"\${$as_ac_Header+set}\" = set"; then
34081 echo $ECHO_N "(cached) $ECHO_C" >&6
34083 eval "$as_ac_Header=\$ac_header_preproc"
34085 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
34086 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
34089 if test `eval echo '${'$as_ac_Header'}'` = yes; then
34090 cat >>confdefs.h
<<_ACEOF
34091 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
34099 if test "$wxUSE_LIBSDL" != "no"; then
34101 # Check whether --with-sdl-prefix or --without-sdl-prefix was given.
34102 if test "${with_sdl_prefix+set}" = set; then
34103 withval
="$with_sdl_prefix"
34104 sdl_prefix
="$withval"
34109 # Check whether --with-sdl-exec-prefix or --without-sdl-exec-prefix was given.
34110 if test "${with_sdl_exec_prefix+set}" = set; then
34111 withval
="$with_sdl_exec_prefix"
34112 sdl_exec_prefix
="$withval"
34116 # Check whether --enable-sdltest or --disable-sdltest was given.
34117 if test "${enable_sdltest+set}" = set; then
34118 enableval
="$enable_sdltest"
34124 if test x
$sdl_exec_prefix != x
; then
34125 sdl_args
="$sdl_args --exec-prefix=$sdl_exec_prefix"
34126 if test x
${SDL_CONFIG+set} != xset
; then
34127 SDL_CONFIG
=$sdl_exec_prefix/bin
/sdl
-config
34130 if test x
$sdl_prefix != x
; then
34131 sdl_args
="$sdl_args --prefix=$sdl_prefix"
34132 if test x
${SDL_CONFIG+set} != xset
; then
34133 SDL_CONFIG
=$sdl_prefix/bin
/sdl
-config
34138 PATH
="$prefix/bin:$prefix/usr/bin:$PATH"
34139 # Extract the first word of "sdl-config", so it can be a program name with args.
34140 set dummy sdl
-config; ac_word
=$2
34141 echo "$as_me:$LINENO: checking for $ac_word" >&5
34142 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
34143 if test "${ac_cv_path_SDL_CONFIG+set}" = set; then
34144 echo $ECHO_N "(cached) $ECHO_C" >&6
34146 case $SDL_CONFIG in
34148 ac_cv_path_SDL_CONFIG
="$SDL_CONFIG" # Let the user override the test with a path.
34151 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
34152 for as_dir
in $PATH
34155 test -z "$as_dir" && as_dir
=.
34156 for ac_exec_ext
in '' $ac_executable_extensions; do
34157 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
34158 ac_cv_path_SDL_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
34159 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
34165 test -z "$ac_cv_path_SDL_CONFIG" && ac_cv_path_SDL_CONFIG
="no"
34169 SDL_CONFIG
=$ac_cv_path_SDL_CONFIG
34171 if test -n "$SDL_CONFIG"; then
34172 echo "$as_me:$LINENO: result: $SDL_CONFIG" >&5
34173 echo "${ECHO_T}$SDL_CONFIG" >&6
34175 echo "$as_me:$LINENO: result: no" >&5
34176 echo "${ECHO_T}no" >&6
34179 min_sdl_version
=1.2.0
34180 echo "$as_me:$LINENO: checking for SDL - version >= $min_sdl_version" >&5
34181 echo $ECHO_N "checking for SDL - version >= $min_sdl_version... $ECHO_C" >&6
34183 if test "$SDL_CONFIG" = "no" ; then
34186 SDL_CFLAGS
=`$SDL_CONFIG $sdlconf_args --cflags`
34187 SDL_LIBS
=`$SDL_CONFIG $sdlconf_args --libs`
34189 sdl_major_version
=`$SDL_CONFIG $sdl_args --version | \
34190 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
34191 sdl_minor_version
=`$SDL_CONFIG $sdl_args --version | \
34192 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
34193 sdl_micro_version
=`$SDL_CONFIG $sdl_config_args --version | \
34194 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
34195 if test "x$enable_sdltest" = "xyes" ; then
34196 ac_save_CFLAGS
="$CFLAGS"
34197 ac_save_LIBS
="$LIBS"
34198 CFLAGS
="$CFLAGS $SDL_CFLAGS"
34199 LIBS
="$LIBS $SDL_LIBS"
34201 if test "$cross_compiling" = yes; then
34202 echo $ac_n "cross compiling; assumed OK... $ac_c"
34204 cat >conftest.
$ac_ext <<_ACEOF
34207 cat confdefs.h
>>conftest.
$ac_ext
34208 cat >>conftest.
$ac_ext <<_ACEOF
34209 /* end confdefs.h. */
34212 #include <stdlib.h>
34213 #include <string.h>
34217 my_strdup (char *str)
34223 new_str = (char *)malloc ((strlen (str) + 1) * sizeof(char));
34224 strcpy (new_str, str);
34232 int main (int argc, char *argv[])
34234 int major, minor, micro;
34237 /* This hangs on some systems (?)
34238 system ("touch conf.sdltest");
34240 { FILE *fp = fopen("conf.sdltest", "a"); if ( fp ) fclose(fp); }
34242 /* HP/UX 9 (%@#!) writes to sscanf strings */
34243 tmp_version = my_strdup("$min_sdl_version");
34244 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
34245 printf("%s, bad version string\n", "$min_sdl_version");
34249 if (($sdl_major_version > major) ||
34250 (($sdl_major_version == major) && ($sdl_minor_version > minor)) ||
34251 (($sdl_major_version == major) && ($sdl_minor_version == minor) && ($sdl_micro_version >= micro)))
34257 printf("\n*** 'sdl-config --version' returned %d.%d.%d, but the minimum version\n", $sdl_major_version, $sdl_minor_version, $sdl_micro_version);
34258 printf("*** of SDL required is %d.%d.%d. If sdl-config is correct, then it is\n", major, minor, micro);
34259 printf("*** best to upgrade to the required version.\n");
34260 printf("*** If sdl-config was wrong, set the environment variable SDL_CONFIG\n");
34261 printf("*** to point to the correct copy of sdl-config, and remove the file\n");
34262 printf("*** config.cache before re-running configure\n");
34269 rm -f conftest
$ac_exeext
34270 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34271 (eval $ac_link) 2>&5
34273 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34274 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
34275 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34276 (eval $ac_try) 2>&5
34278 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34279 (exit $ac_status); }; }; then
34282 echo "$as_me: program exited with status $ac_status" >&5
34283 echo "$as_me: failed program was:" >&5
34284 sed 's/^/| /' conftest.
$ac_ext >&5
34286 ( exit $ac_status )
34289 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
34291 CFLAGS
="$ac_save_CFLAGS"
34292 LIBS
="$ac_save_LIBS"
34295 if test "x$no_sdl" = x
; then
34296 echo "$as_me:$LINENO: result: yes" >&5
34297 echo "${ECHO_T}yes" >&6
34299 EXTRALIBS_SDL
="$SDL_LIBS"
34300 CXXFLAGS
="$CXXFLAGS $SDL_CFLAGS"
34301 cat >>confdefs.h
<<\_ACEOF
34302 #define wxUSE_LIBSDL 1
34307 echo "$as_me:$LINENO: result: no" >&5
34308 echo "${ECHO_T}no" >&6
34309 if test "$SDL_CONFIG" = "no" ; then
34310 echo "*** The sdl-config script installed by SDL could not be found"
34311 echo "*** If SDL was installed in PREFIX, make sure PREFIX/bin is in"
34312 echo "*** your path, or set the SDL_CONFIG environment variable to the"
34313 echo "*** full path to sdl-config."
34315 if test -f conf.sdltest
; then
34318 echo "*** Could not run SDL test program, checking why..."
34319 CFLAGS
="$CFLAGS $SDL_CFLAGS"
34320 LIBS
="$LIBS $SDL_LIBS"
34321 cat >conftest.
$ac_ext <<_ACEOF
34324 cat confdefs.h
>>conftest.
$ac_ext
34325 cat >>conftest.
$ac_ext <<_ACEOF
34326 /* end confdefs.h. */
34331 int main(int argc, char *argv[])
34334 #define main K_and_R_C_main
34344 rm -f conftest.
$ac_objext conftest
$ac_exeext
34345 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34346 (eval $ac_link) 2>conftest.er1
34348 grep -v '^ *+' conftest.er1
>conftest.err
34350 cat conftest.err
>&5
34351 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34352 (exit $ac_status); } &&
34353 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
34354 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34355 (eval $ac_try) 2>&5
34357 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34358 (exit $ac_status); }; } &&
34359 { ac_try
='test -s conftest$ac_exeext'
34360 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34361 (eval $ac_try) 2>&5
34363 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34364 (exit $ac_status); }; }; then
34365 echo "*** The test program compiled, but did not run. This usually means"
34366 echo "*** that the run-time linker is not finding SDL or finding the wrong"
34367 echo "*** version of SDL. If it is not finding SDL, you'll need to set your"
34368 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
34369 echo "*** to the installed location Also, make sure you have run ldconfig if that"
34370 echo "*** is required on your system"
34372 echo "*** If you have an old version installed, it is best to remove it, although"
34373 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
34375 echo "$as_me: failed program was:" >&5
34376 sed 's/^/| /' conftest.
$ac_ext >&5
34378 echo "*** The test program failed to compile or link. See the file config.log for the"
34379 echo "*** exact error that occured. This usually means SDL was incorrectly installed"
34380 echo "*** or that you have moved SDL since it was installed. In the latter case, you"
34381 echo "*** may want to edit the sdl-config script: $SDL_CONFIG"
34383 rm -f conftest.err conftest.
$ac_objext \
34384 conftest
$ac_exeext conftest.
$ac_ext
34385 CFLAGS
="$ac_save_CFLAGS"
34386 LIBS
="$ac_save_LIBS"
34397 if test "$wxUSE_LIBSDL" = "yes" -a "$wxUSE_PLUGINS" = "yes" ; then
34403 cat >>confdefs.h
<<\_ACEOF
34404 #define wxUSE_SOUND 1
34407 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS sound"
34410 if test "$wxUSE_CMDLINE_PARSER" = "yes"; then
34411 cat >>confdefs.h
<<\_ACEOF
34412 #define wxUSE_CMDLINE_PARSER 1
34417 if test "$wxUSE_STOPWATCH" = "yes"; then
34418 cat >>confdefs.h
<<\_ACEOF
34419 #define wxUSE_STOPWATCH 1
34424 if test "$wxUSE_DATETIME" = "yes"; then
34425 cat >>confdefs.h
<<\_ACEOF
34426 #define wxUSE_DATETIME 1
34431 if test "$wxUSE_FILE" = "yes"; then
34432 cat >>confdefs.h
<<\_ACEOF
34433 #define wxUSE_FILE 1
34438 if test "$wxUSE_FFILE" = "yes"; then
34439 cat >>confdefs.h
<<\_ACEOF
34440 #define wxUSE_FFILE 1
34445 if test "$wxUSE_FILESYSTEM" = "yes"; then
34446 cat >>confdefs.h
<<\_ACEOF
34447 #define wxUSE_FILESYSTEM 1
34452 if test "$wxUSE_FS_ZIP" = "yes"; then
34453 cat >>confdefs.h
<<\_ACEOF
34454 #define wxUSE_FS_ZIP 1
34459 if test "$wxUSE_ZIPSTREAM" = "yes"; then
34460 cat >>confdefs.h
<<\_ACEOF
34461 #define wxUSE_ZIPSTREAM 1
34466 if test "$wxUSE_GZSTREAM" = "yes"; then
34467 cat >>confdefs.h
<<\_ACEOF
34468 #define wxUSE_GZSTREAM 1
34473 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
34474 cat >>confdefs.h
<<\_ACEOF
34475 #define wxUSE_ON_FATAL_EXCEPTION 1
34480 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
34481 cat >>confdefs.h
<<\_ACEOF
34482 #define wxUSE_SNGLINST_CHECKER 1
34487 if test "$wxUSE_BUSYINFO" = "yes"; then
34488 cat >>confdefs.h
<<\_ACEOF
34489 #define wxUSE_BUSYINFO 1
34494 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
34495 cat >>confdefs.h
<<\_ACEOF
34496 #define wxUSE_STD_IOSTREAM 1
34501 if test "$wxUSE_TEXTBUFFER" = "yes"; then
34502 cat >>confdefs.h
<<\_ACEOF
34503 #define wxUSE_TEXTBUFFER 1
34508 if test "$wxUSE_TEXTFILE" = "yes"; then
34509 if test "$wxUSE_FILE" != "yes" -o "$wxUSE_TEXTBUFFER" != "yes" ; then
34510 { echo "$as_me:$LINENO: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&5
34511 echo "$as_me: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&2;}
34513 cat >>confdefs.h
<<\_ACEOF
34514 #define wxUSE_TEXTFILE 1
34520 if test "$wxUSE_CONFIG" = "yes" ; then
34521 if test "$wxUSE_TEXTFILE" != "yes"; then
34522 { echo "$as_me:$LINENO: WARNING: wxConfig requires wxTextFile... disabled" >&5
34523 echo "$as_me: WARNING: wxConfig requires wxTextFile... disabled" >&2;}
34525 cat >>confdefs.h
<<\_ACEOF
34526 #define wxUSE_CONFIG 1
34529 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS config"
34533 if test "$wxUSE_INTL" = "yes" ; then
34534 if test "$wxUSE_FILE" != "yes"; then
34535 { echo "$as_me:$LINENO: WARNING: I18n code requires wxFile... disabled" >&5
34536 echo "$as_me: WARNING: I18n code requires wxFile... disabled" >&2;}
34538 cat >>confdefs.h
<<\_ACEOF
34539 #define wxUSE_INTL 1
34542 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS internat"
34543 GUIDIST
="$GUIDIST INTL_DIST"
34547 if test "$wxUSE_LOG" = "yes"; then
34548 cat >>confdefs.h
<<\_ACEOF
34549 #define wxUSE_LOG 1
34553 if test "$wxUSE_LOGGUI" = "yes"; then
34554 cat >>confdefs.h
<<\_ACEOF
34555 #define wxUSE_LOGGUI 1
34560 if test "$wxUSE_LOGWINDOW" = "yes"; then
34561 cat >>confdefs.h
<<\_ACEOF
34562 #define wxUSE_LOGWINDOW 1
34567 if test "$wxUSE_LOGDIALOG" = "yes"; then
34568 cat >>confdefs.h
<<\_ACEOF
34569 #define wxUSE_LOG_DIALOG 1
34575 if test "$wxUSE_LONGLONG" = "yes"; then
34576 cat >>confdefs.h
<<\_ACEOF
34577 #define wxUSE_LONGLONG 1
34582 if test "$wxUSE_GEOMETRY" = "yes"; then
34583 cat >>confdefs.h
<<\_ACEOF
34584 #define wxUSE_GEOMETRY 1
34589 if test "$wxUSE_DIALUP_MANAGER" = "yes" ; then
34590 cat >>confdefs.h
<<\_ACEOF
34591 #define wxUSE_DIALUP_MANAGER 1
34594 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS dialup"
34597 if test "$wxUSE_STREAMS" = "yes" ; then
34598 cat >>confdefs.h
<<\_ACEOF
34599 #define wxUSE_STREAMS 1
34605 if test "$wxUSE_DATETIME" = "yes"; then
34607 for ac_func
in strptime
34609 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34610 echo "$as_me:$LINENO: checking for $ac_func" >&5
34611 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
34612 if eval "test \"\${$as_ac_var+set}\" = set"; then
34613 echo $ECHO_N "(cached) $ECHO_C" >&6
34615 cat >conftest.
$ac_ext <<_ACEOF
34618 cat confdefs.h
>>conftest.
$ac_ext
34619 cat >>conftest.
$ac_ext <<_ACEOF
34620 /* end confdefs.h. */
34621 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34622 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34623 #define $ac_func innocuous_$ac_func
34625 /* System header to define __stub macros and hopefully few prototypes,
34626 which can conflict with char $ac_func (); below.
34627 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34628 <limits.h> exists even on freestanding compilers. */
34631 # include <limits.h>
34633 # include <assert.h>
34638 /* Override any gcc2 internal prototype to avoid an error. */
34643 /* We use char because int might match the return type of a gcc2
34644 builtin and then its argument prototype would still apply. */
34646 /* The GNU C library defines this for functions which it implements
34647 to always fail with ENOSYS. Some functions are actually named
34648 something starting with __ and the normal name is an alias. */
34649 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
34652 char (*f) () = $ac_func;
34661 return f != $ac_func;
34666 rm -f conftest.
$ac_objext conftest
$ac_exeext
34667 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34668 (eval $ac_link) 2>conftest.er1
34670 grep -v '^ *+' conftest.er1
>conftest.err
34672 cat conftest.err
>&5
34673 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34674 (exit $ac_status); } &&
34675 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
34676 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34677 (eval $ac_try) 2>&5
34679 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34680 (exit $ac_status); }; } &&
34681 { ac_try
='test -s conftest$ac_exeext'
34682 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34683 (eval $ac_try) 2>&5
34685 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34686 (exit $ac_status); }; }; then
34687 eval "$as_ac_var=yes"
34689 echo "$as_me: failed program was:" >&5
34690 sed 's/^/| /' conftest.
$ac_ext >&5
34692 eval "$as_ac_var=no"
34694 rm -f conftest.err conftest.
$ac_objext \
34695 conftest
$ac_exeext conftest.
$ac_ext
34697 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
34698 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
34699 if test `eval echo '${'$as_ac_var'}'` = yes; then
34700 cat >>confdefs.h
<<_ACEOF
34701 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34708 echo "$as_me:$LINENO: checking for timezone variable in <time.h>" >&5
34709 echo $ECHO_N "checking for timezone variable in <time.h>... $ECHO_C" >&6
34710 if test "${wx_cv_var_timezone+set}" = set; then
34711 echo $ECHO_N "(cached) $ECHO_C" >&6
34714 cat >conftest.
$ac_ext <<_ACEOF
34717 cat confdefs.h
>>conftest.
$ac_ext
34718 cat >>conftest.
$ac_ext <<_ACEOF
34719 /* end confdefs.h. */
34734 rm -f conftest.
$ac_objext
34735 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34736 (eval $ac_compile) 2>conftest.er1
34738 grep -v '^ *+' conftest.er1
>conftest.err
34740 cat conftest.err
>&5
34741 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34742 (exit $ac_status); } &&
34743 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
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); }; } &&
34749 { ac_try
='test -s conftest.$ac_objext'
34750 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34751 (eval $ac_try) 2>&5
34753 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34754 (exit $ac_status); }; }; then
34756 wx_cv_var_timezone
=timezone
34759 echo "$as_me: failed program was:" >&5
34760 sed 's/^/| /' conftest.
$ac_ext >&5
34763 cat >conftest.
$ac_ext <<_ACEOF
34766 cat confdefs.h
>>conftest.
$ac_ext
34767 cat >>conftest.
$ac_ext <<_ACEOF
34768 /* end confdefs.h. */
34783 rm -f conftest.
$ac_objext
34784 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34785 (eval $ac_compile) 2>conftest.er1
34787 grep -v '^ *+' conftest.er1
>conftest.err
34789 cat conftest.err
>&5
34790 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34791 (exit $ac_status); } &&
34792 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
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); }; } &&
34798 { ac_try
='test -s conftest.$ac_objext'
34799 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34800 (eval $ac_try) 2>&5
34802 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34803 (exit $ac_status); }; }; then
34805 wx_cv_var_timezone
=_timezone
34808 echo "$as_me: failed program was:" >&5
34809 sed 's/^/| /' conftest.
$ac_ext >&5
34812 cat >conftest.
$ac_ext <<_ACEOF
34815 cat confdefs.h
>>conftest.
$ac_ext
34816 cat >>conftest.
$ac_ext <<_ACEOF
34817 /* end confdefs.h. */
34832 rm -f conftest.
$ac_objext
34833 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34834 (eval $ac_compile) 2>conftest.er1
34836 grep -v '^ *+' conftest.er1
>conftest.err
34838 cat conftest.err
>&5
34839 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34840 (exit $ac_status); } &&
34841 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
34842 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34843 (eval $ac_try) 2>&5
34845 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34846 (exit $ac_status); }; } &&
34847 { ac_try
='test -s conftest.$ac_objext'
34848 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34849 (eval $ac_try) 2>&5
34851 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34852 (exit $ac_status); }; }; then
34854 wx_cv_var_timezone
=__timezone
34857 echo "$as_me: failed program was:" >&5
34858 sed 's/^/| /' conftest.
$ac_ext >&5
34861 if test "$USE_DOS" = 0 ; then
34862 { echo "$as_me:$LINENO: WARNING: no timezone variable" >&5
34863 echo "$as_me: WARNING: no timezone variable" >&2;}
34868 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
34872 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
34876 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
34880 echo "$as_me:$LINENO: result: $wx_cv_var_timezone" >&5
34881 echo "${ECHO_T}$wx_cv_var_timezone" >&6
34883 if test "x$wx_cv_var_timezone" != x
; then
34884 cat >>confdefs.h
<<_ACEOF
34885 #define WX_TIMEZONE $wx_cv_var_timezone
34891 for ac_func
in localtime
34893 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34894 echo "$as_me:$LINENO: checking for $ac_func" >&5
34895 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
34896 if eval "test \"\${$as_ac_var+set}\" = set"; then
34897 echo $ECHO_N "(cached) $ECHO_C" >&6
34899 cat >conftest.
$ac_ext <<_ACEOF
34902 cat confdefs.h
>>conftest.
$ac_ext
34903 cat >>conftest.
$ac_ext <<_ACEOF
34904 /* end confdefs.h. */
34905 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34906 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34907 #define $ac_func innocuous_$ac_func
34909 /* System header to define __stub macros and hopefully few prototypes,
34910 which can conflict with char $ac_func (); below.
34911 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34912 <limits.h> exists even on freestanding compilers. */
34915 # include <limits.h>
34917 # include <assert.h>
34922 /* Override any gcc2 internal prototype to avoid an error. */
34927 /* We use char because int might match the return type of a gcc2
34928 builtin and then its argument prototype would still apply. */
34930 /* The GNU C library defines this for functions which it implements
34931 to always fail with ENOSYS. Some functions are actually named
34932 something starting with __ and the normal name is an alias. */
34933 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
34936 char (*f) () = $ac_func;
34945 return f != $ac_func;
34950 rm -f conftest.
$ac_objext conftest
$ac_exeext
34951 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34952 (eval $ac_link) 2>conftest.er1
34954 grep -v '^ *+' conftest.er1
>conftest.err
34956 cat conftest.err
>&5
34957 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34958 (exit $ac_status); } &&
34959 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
34960 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34961 (eval $ac_try) 2>&5
34963 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34964 (exit $ac_status); }; } &&
34965 { ac_try
='test -s conftest$ac_exeext'
34966 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34967 (eval $ac_try) 2>&5
34969 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34970 (exit $ac_status); }; }; then
34971 eval "$as_ac_var=yes"
34973 echo "$as_me: failed program was:" >&5
34974 sed 's/^/| /' conftest.
$ac_ext >&5
34976 eval "$as_ac_var=no"
34978 rm -f conftest.err conftest.
$ac_objext \
34979 conftest
$ac_exeext conftest.
$ac_ext
34981 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
34982 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
34983 if test `eval echo '${'$as_ac_var'}'` = yes; then
34984 cat >>confdefs.h
<<_ACEOF
34985 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34992 if test "$ac_cv_func_localtime" = "yes"; then
34993 echo "$as_me:$LINENO: checking for tm_gmtoff in struct tm" >&5
34994 echo $ECHO_N "checking for tm_gmtoff in struct tm... $ECHO_C" >&6
34995 if test "${wx_cv_struct_tm_has_gmtoff+set}" = set; then
34996 echo $ECHO_N "(cached) $ECHO_C" >&6
34999 cat >conftest.
$ac_ext <<_ACEOF
35002 cat confdefs.h
>>conftest.
$ac_ext
35003 cat >>conftest.
$ac_ext <<_ACEOF
35004 /* end confdefs.h. */
35019 rm -f conftest.
$ac_objext
35020 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35021 (eval $ac_compile) 2>conftest.er1
35023 grep -v '^ *+' conftest.er1
>conftest.err
35025 cat conftest.err
>&5
35026 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35027 (exit $ac_status); } &&
35028 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
35029 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35030 (eval $ac_try) 2>&5
35032 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35033 (exit $ac_status); }; } &&
35034 { ac_try
='test -s conftest.$ac_objext'
35035 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35036 (eval $ac_try) 2>&5
35038 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35039 (exit $ac_status); }; }; then
35041 wx_cv_struct_tm_has_gmtoff
=yes
35044 echo "$as_me: failed program was:" >&5
35045 sed 's/^/| /' conftest.
$ac_ext >&5
35047 wx_cv_struct_tm_has_gmtoff
=no
35050 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
35053 echo "$as_me:$LINENO: result: $wx_cv_struct_tm_has_gmtoff" >&5
35054 echo "${ECHO_T}$wx_cv_struct_tm_has_gmtoff" >&6
35057 if test "$wx_cv_struct_tm_has_gmtoff" = "yes"; then
35058 cat >>confdefs.h
<<\_ACEOF
35059 #define WX_GMTOFF_IN_TM 1
35066 for ac_func
in gettimeofday ftime
35068 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35069 echo "$as_me:$LINENO: checking for $ac_func" >&5
35070 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
35071 if eval "test \"\${$as_ac_var+set}\" = set"; then
35072 echo $ECHO_N "(cached) $ECHO_C" >&6
35074 cat >conftest.
$ac_ext <<_ACEOF
35077 cat confdefs.h
>>conftest.
$ac_ext
35078 cat >>conftest.
$ac_ext <<_ACEOF
35079 /* end confdefs.h. */
35080 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35081 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35082 #define $ac_func innocuous_$ac_func
35084 /* System header to define __stub macros and hopefully few prototypes,
35085 which can conflict with char $ac_func (); below.
35086 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35087 <limits.h> exists even on freestanding compilers. */
35090 # include <limits.h>
35092 # include <assert.h>
35097 /* Override any gcc2 internal prototype to avoid an error. */
35102 /* We use char because int might match the return type of a gcc2
35103 builtin and then its argument prototype would still apply. */
35105 /* The GNU C library defines this for functions which it implements
35106 to always fail with ENOSYS. Some functions are actually named
35107 something starting with __ and the normal name is an alias. */
35108 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
35111 char (*f) () = $ac_func;
35120 return f != $ac_func;
35125 rm -f conftest.
$ac_objext conftest
$ac_exeext
35126 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35127 (eval $ac_link) 2>conftest.er1
35129 grep -v '^ *+' conftest.er1
>conftest.err
35131 cat conftest.err
>&5
35132 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35133 (exit $ac_status); } &&
35134 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
35135 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35136 (eval $ac_try) 2>&5
35138 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35139 (exit $ac_status); }; } &&
35140 { ac_try
='test -s conftest$ac_exeext'
35141 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35142 (eval $ac_try) 2>&5
35144 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35145 (exit $ac_status); }; }; then
35146 eval "$as_ac_var=yes"
35148 echo "$as_me: failed program was:" >&5
35149 sed 's/^/| /' conftest.
$ac_ext >&5
35151 eval "$as_ac_var=no"
35153 rm -f conftest.err conftest.
$ac_objext \
35154 conftest
$ac_exeext conftest.
$ac_ext
35156 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
35157 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
35158 if test `eval echo '${'$as_ac_var'}'` = yes; then
35159 cat >>confdefs.h
<<_ACEOF
35160 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35167 if test "$ac_cv_func_gettimeofday" = "yes"; then
35168 echo "$as_me:$LINENO: checking whether gettimeofday takes two arguments" >&5
35169 echo $ECHO_N "checking whether gettimeofday takes two arguments... $ECHO_C" >&6
35170 if test "${wx_cv_func_gettimeofday_has_2_args+set}" = set; then
35171 echo $ECHO_N "(cached) $ECHO_C" >&6
35177 ac_cpp
='$CXXCPP $CPPFLAGS'
35178 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35179 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35180 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
35183 cat >conftest.
$ac_ext <<_ACEOF
35186 cat confdefs.h
>>conftest.
$ac_ext
35187 cat >>conftest.
$ac_ext <<_ACEOF
35188 /* end confdefs.h. */
35190 #include <sys/time.h>
35191 #include <unistd.h>
35198 gettimeofday(&tv, NULL);
35204 rm -f conftest.
$ac_objext
35205 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35206 (eval $ac_compile) 2>conftest.er1
35208 grep -v '^ *+' conftest.er1
>conftest.err
35210 cat conftest.err
>&5
35211 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35212 (exit $ac_status); } &&
35213 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
35214 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35215 (eval $ac_try) 2>&5
35217 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35218 (exit $ac_status); }; } &&
35219 { ac_try
='test -s conftest.$ac_objext'
35220 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35221 (eval $ac_try) 2>&5
35223 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35224 (exit $ac_status); }; }; then
35225 wx_cv_func_gettimeofday_has_2_args
=yes
35227 echo "$as_me: failed program was:" >&5
35228 sed 's/^/| /' conftest.
$ac_ext >&5
35230 cat >conftest.
$ac_ext <<_ACEOF
35233 cat confdefs.h
>>conftest.
$ac_ext
35234 cat >>conftest.
$ac_ext <<_ACEOF
35235 /* end confdefs.h. */
35237 #include <sys/time.h>
35238 #include <unistd.h>
35251 rm -f conftest.
$ac_objext
35252 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35253 (eval $ac_compile) 2>conftest.er1
35255 grep -v '^ *+' conftest.er1
>conftest.err
35257 cat conftest.err
>&5
35258 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35259 (exit $ac_status); } &&
35260 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
35261 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35262 (eval $ac_try) 2>&5
35264 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35265 (exit $ac_status); }; } &&
35266 { ac_try
='test -s conftest.$ac_objext'
35267 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35268 (eval $ac_try) 2>&5
35270 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35271 (exit $ac_status); }; }; then
35272 wx_cv_func_gettimeofday_has_2_args
=no
35274 echo "$as_me: failed program was:" >&5
35275 sed 's/^/| /' conftest.
$ac_ext >&5
35278 { echo "$as_me:$LINENO: WARNING: failed to determine number of gettimeofday() arguments" >&5
35279 echo "$as_me: WARNING: failed to determine number of gettimeofday() arguments" >&2;}
35280 wx_cv_func_gettimeofday_has_2_args
=unknown
35284 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
35287 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
35289 ac_cpp
='$CPP $CPPFLAGS'
35290 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35291 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35292 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
35296 echo "$as_me:$LINENO: result: $wx_cv_func_gettimeofday_has_2_args" >&5
35297 echo "${ECHO_T}$wx_cv_func_gettimeofday_has_2_args" >&6
35299 if test "$wx_cv_func_gettimeofday_has_2_args" != "yes"; then
35300 cat >>confdefs.h
<<\_ACEOF
35301 #define WX_GETTIMEOFDAY_NO_TZ 1
35307 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS typetest"
35311 if test "$wxUSE_SOCKETS" = "yes"; then
35312 if test "$wxUSE_MGL" = "1"; then
35313 { echo "$as_me:$LINENO: WARNING: wxSocket not yet supported under MGL... disabled" >&5
35314 echo "$as_me: WARNING: wxSocket not yet supported under MGL... disabled" >&2;}
35319 if test "$wxUSE_SOCKETS" = "yes"; then
35320 if test "$TOOLKIT" != "MSW"; then
35321 echo "$as_me:$LINENO: checking for socket" >&5
35322 echo $ECHO_N "checking for socket... $ECHO_C" >&6
35323 if test "${ac_cv_func_socket+set}" = set; then
35324 echo $ECHO_N "(cached) $ECHO_C" >&6
35326 cat >conftest.
$ac_ext <<_ACEOF
35329 cat confdefs.h
>>conftest.
$ac_ext
35330 cat >>conftest.
$ac_ext <<_ACEOF
35331 /* end confdefs.h. */
35332 /* Define socket to an innocuous variant, in case <limits.h> declares socket.
35333 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35334 #define socket innocuous_socket
35336 /* System header to define __stub macros and hopefully few prototypes,
35337 which can conflict with char socket (); below.
35338 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35339 <limits.h> exists even on freestanding compilers. */
35342 # include <limits.h>
35344 # include <assert.h>
35349 /* Override any gcc2 internal prototype to avoid an error. */
35354 /* We use char because int might match the return type of a gcc2
35355 builtin and then its argument prototype would still apply. */
35357 /* The GNU C library defines this for functions which it implements
35358 to always fail with ENOSYS. Some functions are actually named
35359 something starting with __ and the normal name is an alias. */
35360 #if defined (__stub_socket) || defined (__stub___socket)
35363 char (*f) () = socket;
35372 return f != socket;
35377 rm -f conftest.
$ac_objext conftest
$ac_exeext
35378 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35379 (eval $ac_link) 2>conftest.er1
35381 grep -v '^ *+' conftest.er1
>conftest.err
35383 cat conftest.err
>&5
35384 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35385 (exit $ac_status); } &&
35386 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
35387 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35388 (eval $ac_try) 2>&5
35390 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35391 (exit $ac_status); }; } &&
35392 { ac_try
='test -s conftest$ac_exeext'
35393 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35394 (eval $ac_try) 2>&5
35396 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35397 (exit $ac_status); }; }; then
35398 ac_cv_func_socket
=yes
35400 echo "$as_me: failed program was:" >&5
35401 sed 's/^/| /' conftest.
$ac_ext >&5
35403 ac_cv_func_socket
=no
35405 rm -f conftest.err conftest.
$ac_objext \
35406 conftest
$ac_exeext conftest.
$ac_ext
35408 echo "$as_me:$LINENO: result: $ac_cv_func_socket" >&5
35409 echo "${ECHO_T}$ac_cv_func_socket" >&6
35410 if test $ac_cv_func_socket = yes; then
35414 echo "$as_me:$LINENO: checking for socket in -lsocket" >&5
35415 echo $ECHO_N "checking for socket in -lsocket... $ECHO_C" >&6
35416 if test "${ac_cv_lib_socket_socket+set}" = set; then
35417 echo $ECHO_N "(cached) $ECHO_C" >&6
35419 ac_check_lib_save_LIBS
=$LIBS
35420 LIBS
="-lsocket $LIBS"
35421 cat >conftest.
$ac_ext <<_ACEOF
35424 cat confdefs.h
>>conftest.
$ac_ext
35425 cat >>conftest.
$ac_ext <<_ACEOF
35426 /* end confdefs.h. */
35428 /* Override any gcc2 internal prototype to avoid an error. */
35432 /* We use char because int might match the return type of a gcc2
35433 builtin and then its argument prototype would still apply. */
35443 rm -f conftest.
$ac_objext conftest
$ac_exeext
35444 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35445 (eval $ac_link) 2>conftest.er1
35447 grep -v '^ *+' conftest.er1
>conftest.err
35449 cat conftest.err
>&5
35450 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35451 (exit $ac_status); } &&
35452 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
35453 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35454 (eval $ac_try) 2>&5
35456 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35457 (exit $ac_status); }; } &&
35458 { ac_try
='test -s conftest$ac_exeext'
35459 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35460 (eval $ac_try) 2>&5
35462 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35463 (exit $ac_status); }; }; then
35464 ac_cv_lib_socket_socket
=yes
35466 echo "$as_me: failed program was:" >&5
35467 sed 's/^/| /' conftest.
$ac_ext >&5
35469 ac_cv_lib_socket_socket
=no
35471 rm -f conftest.err conftest.
$ac_objext \
35472 conftest
$ac_exeext conftest.
$ac_ext
35473 LIBS
=$ac_check_lib_save_LIBS
35475 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_socket" >&5
35476 echo "${ECHO_T}$ac_cv_lib_socket_socket" >&6
35477 if test $ac_cv_lib_socket_socket = yes; then
35478 if test "$INET_LINK" != " -lsocket"; then
35479 INET_LINK
="$INET_LINK -lsocket"
35483 { echo "$as_me:$LINENO: WARNING: socket library not found - sockets will be disabled" >&5
35484 echo "$as_me: WARNING: socket library not found - sockets will be disabled" >&2;}
35497 if test "$wxUSE_SOCKETS" = "yes" ; then
35498 if test "$TOOLKIT" != "MSW"; then
35499 echo "$as_me:$LINENO: checking what is the type of the third argument of getsockname" >&5
35500 echo $ECHO_N "checking what is the type of the third argument of getsockname... $ECHO_C" >&6
35501 if test "${wx_cv_type_getsockname3+set}" = set; then
35502 echo $ECHO_N "(cached) $ECHO_C" >&6
35505 cat >conftest.
$ac_ext <<_ACEOF
35508 cat confdefs.h
>>conftest.
$ac_ext
35509 cat >>conftest.
$ac_ext <<_ACEOF
35510 /* end confdefs.h. */
35512 #include <sys/types.h>
35513 #include <sys/socket.h>
35520 getsockname(0, 0, &len);
35526 rm -f conftest.
$ac_objext
35527 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35528 (eval $ac_compile) 2>conftest.er1
35530 grep -v '^ *+' conftest.er1
>conftest.err
35532 cat conftest.err
>&5
35533 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35534 (exit $ac_status); } &&
35535 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
35536 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35537 (eval $ac_try) 2>&5
35539 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35540 (exit $ac_status); }; } &&
35541 { ac_try
='test -s conftest.$ac_objext'
35542 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35543 (eval $ac_try) 2>&5
35545 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35546 (exit $ac_status); }; }; then
35547 wx_cv_type_getsockname3
=socklen_t
35549 echo "$as_me: failed program was:" >&5
35550 sed 's/^/| /' conftest.
$ac_ext >&5
35553 CFLAGS_OLD
="$CFLAGS"
35554 if test "$GCC" = yes ; then
35555 CFLAGS
="$CFLAGS -Werror"
35558 cat >conftest.
$ac_ext <<_ACEOF
35561 cat confdefs.h
>>conftest.
$ac_ext
35562 cat >>conftest.
$ac_ext <<_ACEOF
35563 /* end confdefs.h. */
35565 #include <sys/types.h>
35566 #include <sys/socket.h>
35573 getsockname(0, 0, &len);
35579 rm -f conftest.
$ac_objext
35580 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35581 (eval $ac_compile) 2>conftest.er1
35583 grep -v '^ *+' conftest.er1
>conftest.err
35585 cat conftest.err
>&5
35586 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35587 (exit $ac_status); } &&
35588 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
35589 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35590 (eval $ac_try) 2>&5
35592 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35593 (exit $ac_status); }; } &&
35594 { ac_try
='test -s conftest.$ac_objext'
35595 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35596 (eval $ac_try) 2>&5
35598 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35599 (exit $ac_status); }; }; then
35600 wx_cv_type_getsockname3
=size_t
35602 echo "$as_me: failed program was:" >&5
35603 sed 's/^/| /' conftest.
$ac_ext >&5
35605 cat >conftest.
$ac_ext <<_ACEOF
35608 cat confdefs.h
>>conftest.
$ac_ext
35609 cat >>conftest.
$ac_ext <<_ACEOF
35610 /* end confdefs.h. */
35612 #include <sys/types.h>
35613 #include <sys/socket.h>
35620 getsockname(0, 0, &len);
35626 rm -f conftest.
$ac_objext
35627 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35628 (eval $ac_compile) 2>conftest.er1
35630 grep -v '^ *+' conftest.er1
>conftest.err
35632 cat conftest.err
>&5
35633 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35634 (exit $ac_status); } &&
35635 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
35636 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35637 (eval $ac_try) 2>&5
35639 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35640 (exit $ac_status); }; } &&
35641 { ac_try
='test -s conftest.$ac_objext'
35642 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35643 (eval $ac_try) 2>&5
35645 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35646 (exit $ac_status); }; }; then
35647 wx_cv_type_getsockname3
=int
35649 echo "$as_me: failed program was:" >&5
35650 sed 's/^/| /' conftest.
$ac_ext >&5
35652 wx_cv_type_getsockname3
=unknown
35655 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
35658 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
35660 CFLAGS
="$CFLAGS_OLD"
35664 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
35667 echo "$as_me:$LINENO: result: $wx_cv_type_getsockname3" >&5
35668 echo "${ECHO_T}$wx_cv_type_getsockname3" >&6
35670 if test "$wx_cv_type_getsockname3" = "unknown"; then
35672 { echo "$as_me:$LINENO: WARNING: Couldn't find socklen_t synonym for this system" >&5
35673 echo "$as_me: WARNING: Couldn't find socklen_t synonym for this system" >&2;}
35675 cat >>confdefs.h
<<_ACEOF
35676 #define SOCKLEN_T $wx_cv_type_getsockname3
35683 if test "$wxUSE_SOCKETS" = "yes" ; then
35684 cat >>confdefs.h
<<\_ACEOF
35685 #define wxUSE_SOCKETS 1
35688 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS sockets"
35691 if test "$wxUSE_PROTOCOL" = "yes"; then
35692 if test "$wxUSE_SOCKETS" != "yes"; then
35693 { echo "$as_me:$LINENO: WARNING: Protocol classes require sockets... disabled" >&5
35694 echo "$as_me: WARNING: Protocol classes require sockets... disabled" >&2;}
35699 if test "$wxUSE_PROTOCOL" = "yes"; then
35700 cat >>confdefs.h
<<\_ACEOF
35701 #define wxUSE_PROTOCOL 1
35705 if test "$wxUSE_PROTOCOL_HTTP" = "yes"; then
35706 cat >>confdefs.h
<<\_ACEOF
35707 #define wxUSE_PROTOCOL_HTTP 1
35711 if test "$wxUSE_PROTOCOL_FTP" = "yes"; then
35712 cat >>confdefs.h
<<\_ACEOF
35713 #define wxUSE_PROTOCOL_FTP 1
35717 if test "$wxUSE_PROTOCOL_FILE" = "yes"; then
35718 cat >>confdefs.h
<<\_ACEOF
35719 #define wxUSE_PROTOCOL_FILE 1
35724 if test "$wxUSE_FS_INET" = "yes"; then
35725 { echo "$as_me:$LINENO: WARNING: HTTP filesystem require protocol classes... disabled" >&5
35726 echo "$as_me: WARNING: HTTP filesystem require protocol classes... disabled" >&2;}
35731 if test "$wxUSE_URL" = "yes"; then
35732 if test "$wxUSE_PROTOCOL" != "yes"; then
35733 { echo "$as_me:$LINENO: WARNING: wxURL class requires wxProtocol... disabled" >&5
35734 echo "$as_me: WARNING: wxURL class requires wxProtocol... disabled" >&2;}
35737 if test "$wxUSE_URL" = "yes"; then
35738 cat >>confdefs.h
<<\_ACEOF
35739 #define wxUSE_URL 1
35745 if test "$wxUSE_FS_INET" = "yes"; then
35746 cat >>confdefs.h
<<\_ACEOF
35747 #define wxUSE_FS_INET 1
35753 if test "$wxUSE_GUI" = "yes"; then
35755 if test "$TOOLKIT" = "MAC" -o "$TOOLKIT" = "COCOA"; then
35756 { echo "$as_me:$LINENO: WARNING: Joystick not yet supported under Mac OS X... disabled" >&5
35757 echo "$as_me: WARNING: Joystick not yet supported under Mac OS X... disabled" >&2;}
35761 if test "$TOOLKIT" != "MSW"; then
35762 if test "$wxUSE_JOYSTICK" = "yes"; then
35764 for ac_header
in linux
/joystick.h
35766 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
35767 if eval "test \"\${$as_ac_Header+set}\" = set"; then
35768 echo "$as_me:$LINENO: checking for $ac_header" >&5
35769 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
35770 if eval "test \"\${$as_ac_Header+set}\" = set"; then
35771 echo $ECHO_N "(cached) $ECHO_C" >&6
35773 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
35774 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
35776 # Is the header compilable?
35777 echo "$as_me:$LINENO: checking $ac_header usability" >&5
35778 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
35779 cat >conftest.
$ac_ext <<_ACEOF
35782 cat confdefs.h
>>conftest.
$ac_ext
35783 cat >>conftest.
$ac_ext <<_ACEOF
35784 /* end confdefs.h. */
35785 $ac_includes_default
35786 #include <$ac_header>
35788 rm -f conftest.
$ac_objext
35789 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35790 (eval $ac_compile) 2>conftest.er1
35792 grep -v '^ *+' conftest.er1
>conftest.err
35794 cat conftest.err
>&5
35795 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35796 (exit $ac_status); } &&
35797 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
35798 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35799 (eval $ac_try) 2>&5
35801 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35802 (exit $ac_status); }; } &&
35803 { ac_try
='test -s conftest.$ac_objext'
35804 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35805 (eval $ac_try) 2>&5
35807 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35808 (exit $ac_status); }; }; then
35809 ac_header_compiler
=yes
35811 echo "$as_me: failed program was:" >&5
35812 sed 's/^/| /' conftest.
$ac_ext >&5
35814 ac_header_compiler
=no
35816 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
35817 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
35818 echo "${ECHO_T}$ac_header_compiler" >&6
35820 # Is the header present?
35821 echo "$as_me:$LINENO: checking $ac_header presence" >&5
35822 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
35823 cat >conftest.
$ac_ext <<_ACEOF
35826 cat confdefs.h
>>conftest.
$ac_ext
35827 cat >>conftest.
$ac_ext <<_ACEOF
35828 /* end confdefs.h. */
35829 #include <$ac_header>
35831 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
35832 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
35834 grep -v '^ *+' conftest.er1
>conftest.err
35836 cat conftest.err
>&5
35837 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35838 (exit $ac_status); } >/dev
/null
; then
35839 if test -s conftest.err
; then
35840 ac_cpp_err
=$ac_c_preproc_warn_flag
35841 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
35848 if test -z "$ac_cpp_err"; then
35849 ac_header_preproc
=yes
35851 echo "$as_me: failed program was:" >&5
35852 sed 's/^/| /' conftest.
$ac_ext >&5
35854 ac_header_preproc
=no
35856 rm -f conftest.err conftest.
$ac_ext
35857 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
35858 echo "${ECHO_T}$ac_header_preproc" >&6
35860 # So? What about this header?
35861 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
35863 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
35864 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
35865 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
35866 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
35867 ac_header_preproc
=yes
35870 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
35871 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
35872 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
35873 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
35874 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
35875 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
35876 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
35877 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
35878 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
35879 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
35880 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
35881 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
35884 ## ----------------------------------------- ##
35885 ## Report this to wx-dev@lists.wxwindows.org ##
35886 ## ----------------------------------------- ##
35889 sed "s/^/$as_me: WARNING: /" >&2
35892 echo "$as_me:$LINENO: checking for $ac_header" >&5
35893 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
35894 if eval "test \"\${$as_ac_Header+set}\" = set"; then
35895 echo $ECHO_N "(cached) $ECHO_C" >&6
35897 eval "$as_ac_Header=\$ac_header_preproc"
35899 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
35900 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
35903 if test `eval echo '${'$as_ac_Header'}'` = yes; then
35904 cat >>confdefs.h
<<_ACEOF
35905 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
35912 if test "$ac_cv_header_linux_joystick_h" != "yes"; then
35914 { echo "$as_me:$LINENO: WARNING: Joystick not supported by this system... disabled" >&5
35915 echo "$as_me: WARNING: Joystick not supported by this system... disabled" >&2;}
35920 if test "$wxUSE_JOYSTICK" = "yes"; then
35921 cat >>confdefs.h
<<\_ACEOF
35922 #define wxUSE_JOYSTICK 1
35925 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS joytest"
35931 if test "$wxUSE_FONTMAP" = "yes" ; then
35932 cat >>confdefs.h
<<\_ACEOF
35933 #define wxUSE_FONTMAP 1
35938 if test "$wxUSE_UNICODE" = "yes" ; then
35939 cat >>confdefs.h
<<\_ACEOF
35940 #define wxUSE_UNICODE 1
35944 if test "$USE_WIN32" != 1; then
35945 wxUSE_UNICODE_MSLU
=no
35948 if test "$USE_WIN32" = 1 -a "$wxUSE_UNICODE_MSLU" = "yes"; then
35949 echo "$as_me:$LINENO: checking for main in -lunicows" >&5
35950 echo $ECHO_N "checking for main in -lunicows... $ECHO_C" >&6
35951 if test "${ac_cv_lib_unicows_main+set}" = set; then
35952 echo $ECHO_N "(cached) $ECHO_C" >&6
35954 ac_check_lib_save_LIBS
=$LIBS
35955 LIBS
="-lunicows $LIBS"
35956 cat >conftest.
$ac_ext <<_ACEOF
35959 cat confdefs.h
>>conftest.
$ac_ext
35960 cat >>conftest.
$ac_ext <<_ACEOF
35961 /* end confdefs.h. */
35972 rm -f conftest.
$ac_objext conftest
$ac_exeext
35973 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35974 (eval $ac_link) 2>conftest.er1
35976 grep -v '^ *+' conftest.er1
>conftest.err
35978 cat conftest.err
>&5
35979 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35980 (exit $ac_status); } &&
35981 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
35982 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35983 (eval $ac_try) 2>&5
35985 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35986 (exit $ac_status); }; } &&
35987 { ac_try
='test -s conftest$ac_exeext'
35988 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35989 (eval $ac_try) 2>&5
35991 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35992 (exit $ac_status); }; }; then
35993 ac_cv_lib_unicows_main
=yes
35995 echo "$as_me: failed program was:" >&5
35996 sed 's/^/| /' conftest.
$ac_ext >&5
35998 ac_cv_lib_unicows_main
=no
36000 rm -f conftest.err conftest.
$ac_objext \
36001 conftest
$ac_exeext conftest.
$ac_ext
36002 LIBS
=$ac_check_lib_save_LIBS
36004 echo "$as_me:$LINENO: result: $ac_cv_lib_unicows_main" >&5
36005 echo "${ECHO_T}$ac_cv_lib_unicows_main" >&6
36006 if test $ac_cv_lib_unicows_main = yes; then
36008 cat >>confdefs.h
<<\_ACEOF
36009 #define wxUSE_UNICODE_MSLU 1
36015 { echo "$as_me:$LINENO: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
36016 Applications will only run on Windows NT/2000/XP!" >&5
36017 echo "$as_me: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
36018 Applications will only run on Windows NT/2000/XP!" >&2;}
36019 wxUSE_UNICODE_MSLU
=no
36026 if test "$wxUSE_wxUSE_EXPERIMENTAL_PRINTF" = "yes"; then
36027 cat >>confdefs.h
<<\_ACEOF
36028 #define wxUSE_EXPERIMENTAL_PRINTF 1
36034 if test "$wxUSE_POSTSCRIPT" = "yes" ; then
36035 cat >>confdefs.h
<<\_ACEOF
36036 #define wxUSE_POSTSCRIPT 1
36041 cat >>confdefs.h
<<\_ACEOF
36042 #define wxUSE_AFM_FOR_POSTSCRIPT 1
36046 cat >>confdefs.h
<<\_ACEOF
36047 #define wxUSE_NORMALIZED_PS_FONTS 1
36052 if test "$wxUSE_CONSTRAINTS" = "yes"; then
36053 cat >>confdefs.h
<<\_ACEOF
36054 #define wxUSE_CONSTRAINTS 1
36057 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS layout"
36060 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
36061 cat >>confdefs.h
<<\_ACEOF
36062 #define wxUSE_MDI_ARCHITECTURE 1
36065 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS mdi"
36068 if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = "yes" ; then
36069 cat >>confdefs.h
<<\_ACEOF
36070 #define wxUSE_DOC_VIEW_ARCHITECTURE 1
36073 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS docview"
36074 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
36075 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS docvwmdi"
36079 if test "$wxUSE_HELP" = "yes"; then
36080 cat >>confdefs.h
<<\_ACEOF
36081 #define wxUSE_HELP 1
36084 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS help"
36086 if test "$wxUSE_MSW" = 1; then
36087 if test "$wxUSE_MS_HTML_HELP" = "yes"; then
36088 cat >>confdefs.h
<<\_ACEOF
36089 #define wxUSE_MS_HTML_HELP 1
36095 if test "$wxUSE_WXHTML_HELP" = "yes"; then
36096 if test "$wxUSE_HTML" = "yes"; then
36097 cat >>confdefs.h
<<\_ACEOF
36098 #define wxUSE_WXHTML_HELP 1
36102 { echo "$as_me:$LINENO: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&5
36103 echo "$as_me: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&2;}
36104 wxUSE_WXHTML_HELP
=no
36109 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
36110 if test "$wxUSE_CONSTRAINTS" != "yes"; then
36111 { echo "$as_me:$LINENO: WARNING: Printing support cannot be used without constraints so it won't be compiled without it" >&5
36112 echo "$as_me: WARNING: Printing support cannot be used without constraints so it won't be compiled without it" >&2;}
36114 cat >>confdefs.h
<<\_ACEOF
36115 #define wxUSE_PRINTING_ARCHITECTURE 1
36119 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS printing"
36122 if test "$wxUSE_PROLOGIO" = "yes" -o "$wxUSE_RESOURCES" = "yes"; then
36123 { { echo "$as_me:$LINENO: error: wxExpr and old-style resources are now available in contrib only" >&5
36124 echo "$as_me: error: wxExpr and old-style resources are now available in contrib only" >&2;}
36125 { (exit 1); exit 1; }; }
36129 if test "$USE_WIN32" = 1 -a \
( "$wxUSE_DATAOBJ" = "yes" \
36130 -o "$wxUSE_CLIPBOARD" = "yes" \
36131 -o "$wxUSE_OLE" = "yes" \
36132 -o "$wxUSE_DRAG_AND_DROP" = "yes" \
) ; then
36134 for ac_header
in ole2.h
36136 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
36137 if eval "test \"\${$as_ac_Header+set}\" = set"; then
36138 echo "$as_me:$LINENO: checking for $ac_header" >&5
36139 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
36140 if eval "test \"\${$as_ac_Header+set}\" = set"; then
36141 echo $ECHO_N "(cached) $ECHO_C" >&6
36143 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
36144 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
36146 # Is the header compilable?
36147 echo "$as_me:$LINENO: checking $ac_header usability" >&5
36148 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
36149 cat >conftest.
$ac_ext <<_ACEOF
36152 cat confdefs.h
>>conftest.
$ac_ext
36153 cat >>conftest.
$ac_ext <<_ACEOF
36154 /* end confdefs.h. */
36155 $ac_includes_default
36156 #include <$ac_header>
36158 rm -f conftest.
$ac_objext
36159 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36160 (eval $ac_compile) 2>conftest.er1
36162 grep -v '^ *+' conftest.er1
>conftest.err
36164 cat conftest.err
>&5
36165 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36166 (exit $ac_status); } &&
36167 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
36168 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36169 (eval $ac_try) 2>&5
36171 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36172 (exit $ac_status); }; } &&
36173 { ac_try
='test -s conftest.$ac_objext'
36174 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36175 (eval $ac_try) 2>&5
36177 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36178 (exit $ac_status); }; }; then
36179 ac_header_compiler
=yes
36181 echo "$as_me: failed program was:" >&5
36182 sed 's/^/| /' conftest.
$ac_ext >&5
36184 ac_header_compiler
=no
36186 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
36187 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
36188 echo "${ECHO_T}$ac_header_compiler" >&6
36190 # Is the header present?
36191 echo "$as_me:$LINENO: checking $ac_header presence" >&5
36192 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
36193 cat >conftest.
$ac_ext <<_ACEOF
36196 cat confdefs.h
>>conftest.
$ac_ext
36197 cat >>conftest.
$ac_ext <<_ACEOF
36198 /* end confdefs.h. */
36199 #include <$ac_header>
36201 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
36202 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
36204 grep -v '^ *+' conftest.er1
>conftest.err
36206 cat conftest.err
>&5
36207 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36208 (exit $ac_status); } >/dev
/null
; then
36209 if test -s conftest.err
; then
36210 ac_cpp_err
=$ac_c_preproc_warn_flag
36211 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
36218 if test -z "$ac_cpp_err"; then
36219 ac_header_preproc
=yes
36221 echo "$as_me: failed program was:" >&5
36222 sed 's/^/| /' conftest.
$ac_ext >&5
36224 ac_header_preproc
=no
36226 rm -f conftest.err conftest.
$ac_ext
36227 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
36228 echo "${ECHO_T}$ac_header_preproc" >&6
36230 # So? What about this header?
36231 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
36233 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
36234 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
36235 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
36236 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
36237 ac_header_preproc
=yes
36240 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
36241 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
36242 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
36243 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
36244 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
36245 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
36246 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
36247 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
36248 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
36249 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
36250 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
36251 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
36254 ## ----------------------------------------- ##
36255 ## Report this to wx-dev@lists.wxwindows.org ##
36256 ## ----------------------------------------- ##
36259 sed "s/^/$as_me: WARNING: /" >&2
36262 echo "$as_me:$LINENO: checking for $ac_header" >&5
36263 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
36264 if eval "test \"\${$as_ac_Header+set}\" = set"; then
36265 echo $ECHO_N "(cached) $ECHO_C" >&6
36267 eval "$as_ac_Header=\$ac_header_preproc"
36269 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
36270 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
36273 if test `eval echo '${'$as_ac_Header'}'` = yes; then
36274 cat >>confdefs.h
<<_ACEOF
36275 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
36283 if test "$ac_cv_header_ole2_h" = "yes" ; then
36284 if test "$GCC" = yes ; then
36288 ac_cpp
='$CXXCPP $CPPFLAGS'
36289 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36290 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36291 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
36294 echo "$as_me:$LINENO: checking if g++ requires -fvtable-thunks" >&5
36295 echo $ECHO_N "checking if g++ requires -fvtable-thunks... $ECHO_C" >&6
36296 cat >conftest.
$ac_ext <<_ACEOF
36299 cat confdefs.h
>>conftest.
$ac_ext
36300 cat >>conftest.
$ac_ext <<_ACEOF
36301 /* end confdefs.h. */
36302 #include <windows.h>
36312 rm -f conftest.
$ac_objext
36313 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36314 (eval $ac_compile) 2>conftest.er1
36316 grep -v '^ *+' conftest.er1
>conftest.err
36318 cat conftest.err
>&5
36319 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36320 (exit $ac_status); } &&
36321 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
36322 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36323 (eval $ac_try) 2>&5
36325 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36326 (exit $ac_status); }; } &&
36327 { ac_try
='test -s conftest.$ac_objext'
36328 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36329 (eval $ac_try) 2>&5
36331 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36332 (exit $ac_status); }; }; then
36333 echo "$as_me:$LINENO: result: no" >&5
36334 echo "${ECHO_T}no" >&6
36336 echo "$as_me: failed program was:" >&5
36337 sed 's/^/| /' conftest.
$ac_ext >&5
36339 echo "$as_me:$LINENO: result: yes" >&5
36340 echo "${ECHO_T}yes" >&6
36341 CODE_GEN_FLAGS_CXX
="$CODE_GEN_FLAGS_CXX -fvtable-thunks"
36343 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
36345 ac_cpp
='$CPP $CPPFLAGS'
36346 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36347 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36348 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
36350 ALL_OBJECTS
="$ALL_OBJECTS \$(OLEOBJS)"
36351 LIBS
=" -lrpcrt4 -loleaut32 -lole32 -luuid$LIBS"
36352 if test "$wxUSE_OLE" = "yes" ; then
36353 cat >>confdefs.h
<<\_ACEOF
36354 #define wxUSE_OLE 1
36360 if test "$wxUSE_DATAOBJ" = "yes" ; then
36361 cat >>confdefs.h
<<\_ACEOF
36362 #define wxUSE_DATAOBJ 1
36367 { echo "$as_me:$LINENO: WARNING: Some features disabled because OLE headers not found" >&5
36368 echo "$as_me: WARNING: Some features disabled because OLE headers not found" >&2;}
36371 wxUSE_DRAG_AND_DROP
=no
36376 if test "$wxUSE_METAFILE" = "yes"; then
36377 cat >>confdefs.h
<<\_ACEOF
36378 #define wxUSE_METAFILE 1
36382 cat >>confdefs.h
<<\_ACEOF
36383 #define wxUSE_ENH_METAFILE 1
36389 if test "$wxUSE_IPC" = "yes"; then
36390 if test "$wxUSE_SOCKETS" != "yes"; then
36391 { echo "$as_me:$LINENO: WARNING: wxWindows IPC classes require sockets... disabled" >&5
36392 echo "$as_me: WARNING: wxWindows IPC classes require sockets... disabled" >&2;}
36395 cat >>confdefs.h
<<\_ACEOF
36396 #define wxUSE_IPC 1
36401 if test "$wxUSE_CLIPBOARD" = "yes"; then
36402 if test "$wxUSE_MGL" = 1; then
36403 { echo "$as_me:$LINENO: WARNING: Clipboard not yet supported under MGL... disabled" >&5
36404 echo "$as_me: WARNING: Clipboard not yet supported under MGL... disabled" >&2;}
36408 if test "$wxUSE_CLIPBOARD" = "yes"; then
36409 cat >>confdefs.h
<<\_ACEOF
36410 #define wxUSE_CLIPBOARD 1
36414 cat >>confdefs.h
<<\_ACEOF
36415 #define wxUSE_DATAOBJ 1
36421 if test "$wxUSE_DRAG_AND_DROP" = "yes" ; then
36422 if test "$wxUSE_GTK" = 1; then
36423 if test "$WXGTK12" != 1; then
36424 { echo "$as_me:$LINENO: WARNING: Drag and drop is only supported under GTK+ 1.2... disabled" >&5
36425 echo "$as_me: WARNING: Drag and drop is only supported under GTK+ 1.2... disabled" >&2;}
36426 wxUSE_DRAG_AND_DROP
=no
36430 if test "$wxUSE_MOTIF" = 1; then
36431 { echo "$as_me:$LINENO: WARNING: Drag and drop not yet supported under Motif... disabled" >&5
36432 echo "$as_me: WARNING: Drag and drop not yet supported under Motif... disabled" >&2;}
36433 wxUSE_DRAG_AND_DROP
=no
36436 if test "$wxUSE_X11" = 1; then
36437 { echo "$as_me:$LINENO: WARNING: Drag and drop not yet supported under X11... disabled" >&5
36438 echo "$as_me: WARNING: Drag and drop not yet supported under X11... disabled" >&2;}
36439 wxUSE_DRAG_AND_DROP
=no
36442 if test "$wxUSE_MGL" = 1; then
36443 { echo "$as_me:$LINENO: WARNING: Drag and drop not yet supported under MGL... disabled" >&5
36444 echo "$as_me: WARNING: Drag and drop not yet supported under MGL... disabled" >&2;}
36445 wxUSE_DRAG_AND_DROP
=no
36448 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
36449 cat >>confdefs.h
<<\_ACEOF
36450 #define wxUSE_DRAG_AND_DROP 1
36457 if test "$wxUSE_DRAG_AND_DROP" = "yes" -o "$wxUSE_CLIPBOARD" = "yes"; then
36458 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS dnd"
36461 if test "$wxUSE_SPLINES" = "yes" ; then
36462 cat >>confdefs.h
<<\_ACEOF
36463 #define wxUSE_SPLINES 1
36470 if test "$wxUSE_CONTROLS" = "yes"; then
36474 if test "$wxUSE_ACCEL" = "yes"; then
36475 cat >>confdefs.h
<<\_ACEOF
36476 #define wxUSE_ACCEL 1
36482 if test "$wxUSE_BUTTON" = "yes"; then
36483 cat >>confdefs.h
<<\_ACEOF
36484 #define wxUSE_BUTTON 1
36490 if test "$wxUSE_BMPBUTTON" = "yes"; then
36491 cat >>confdefs.h
<<\_ACEOF
36492 #define wxUSE_BMPBUTTON 1
36498 if test "$wxUSE_CALCTRL" = "yes"; then
36499 cat >>confdefs.h
<<\_ACEOF
36500 #define wxUSE_CALENDARCTRL 1
36504 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS calendar"
36507 if test "$wxUSE_CARET" = "yes"; then
36508 cat >>confdefs.h
<<\_ACEOF
36509 #define wxUSE_CARET 1
36513 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS caret"
36516 if test "$wxUSE_COMBOBOX" = "yes"; then
36517 cat >>confdefs.h
<<\_ACEOF
36518 #define wxUSE_COMBOBOX 1
36524 if test "$wxUSE_CHOICE" = "yes"; then
36525 cat >>confdefs.h
<<\_ACEOF
36526 #define wxUSE_CHOICE 1
36532 if test "$wxUSE_CHECKBOX" = "yes"; then
36533 cat >>confdefs.h
<<\_ACEOF
36534 #define wxUSE_CHECKBOX 1
36540 if test "$wxUSE_CHECKLST" = "yes"; then
36541 cat >>confdefs.h
<<\_ACEOF
36542 #define wxUSE_CHECKLISTBOX 1
36546 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS checklst"
36549 if test "$wxUSE_DISPLAY" = "yes"; then
36550 cat >>confdefs.h
<<\_ACEOF
36551 #define wxUSE_DISPLAY 1
36554 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS display"
36557 if test "$wxUSE_GAUGE" = "yes"; then
36558 cat >>confdefs.h
<<\_ACEOF
36559 #define wxUSE_GAUGE 1
36565 if test "$wxUSE_GRID" = "yes"; then
36566 cat >>confdefs.h
<<\_ACEOF
36567 #define wxUSE_GRID 1
36571 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS grid"
36574 if test "$wxUSE_IMAGLIST" = "yes"; then
36575 cat >>confdefs.h
<<\_ACEOF
36576 #define wxUSE_IMAGLIST 1
36581 if test "$wxUSE_LISTBOOK" = "yes"; then
36582 cat >>confdefs.h
<<\_ACEOF
36583 #define wxUSE_LISTBOOK 1
36589 if test "$wxUSE_LISTBOX" = "yes"; then
36590 cat >>confdefs.h
<<\_ACEOF
36591 #define wxUSE_LISTBOX 1
36597 if test "$wxUSE_LISTCTRL" = "yes"; then
36598 if test "$wxUSE_IMAGLIST" = "yes"; then
36599 cat >>confdefs.h
<<\_ACEOF
36600 #define wxUSE_LISTCTRL 1
36604 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS listctrl"
36606 { echo "$as_me:$LINENO: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&5
36607 echo "$as_me: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&2;}
36611 if test "$wxUSE_NOTEBOOK" = "yes"; then
36612 cat >>confdefs.h
<<\_ACEOF
36613 #define wxUSE_NOTEBOOK 1
36617 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS notebook"
36621 if test "$wxUSE_RADIOBOX" = "yes"; then
36622 cat >>confdefs.h
<<\_ACEOF
36623 #define wxUSE_RADIOBOX 1
36629 if test "$wxUSE_RADIOBTN" = "yes"; then
36630 cat >>confdefs.h
<<\_ACEOF
36631 #define wxUSE_RADIOBTN 1
36637 if test "$wxUSE_SASH" = "yes"; then
36638 cat >>confdefs.h
<<\_ACEOF
36639 #define wxUSE_SASH 1
36642 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS sashtest"
36645 if test "$wxUSE_SCROLLBAR" = "yes"; then
36646 cat >>confdefs.h
<<\_ACEOF
36647 #define wxUSE_SCROLLBAR 1
36651 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS scroll scrollsub"
36654 if test "$wxUSE_SLIDER" = "yes"; then
36655 cat >>confdefs.h
<<\_ACEOF
36656 #define wxUSE_SLIDER 1
36662 if test "$wxUSE_SPINBTN" = "yes"; then
36663 cat >>confdefs.h
<<\_ACEOF
36664 #define wxUSE_SPINBTN 1
36670 if test "$wxUSE_SPINCTRL" = "yes"; then
36671 cat >>confdefs.h
<<\_ACEOF
36672 #define wxUSE_SPINCTRL 1
36678 if test "$wxUSE_SPLITTER" = "yes"; then
36679 cat >>confdefs.h
<<\_ACEOF
36680 #define wxUSE_SPLITTER 1
36683 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS splitter"
36686 if test "$wxUSE_STATBMP" = "yes"; then
36687 cat >>confdefs.h
<<\_ACEOF
36688 #define wxUSE_STATBMP 1
36694 if test "$wxUSE_STATBOX" = "yes"; then
36695 cat >>confdefs.h
<<\_ACEOF
36696 #define wxUSE_STATBOX 1
36702 if test "$wxUSE_STATTEXT" = "yes"; then
36703 cat >>confdefs.h
<<\_ACEOF
36704 #define wxUSE_STATTEXT 1
36710 if test "$wxUSE_STATLINE" = "yes"; then
36711 cat >>confdefs.h
<<\_ACEOF
36712 #define wxUSE_STATLINE 1
36718 if test "$wxUSE_STATUSBAR" = "yes"; then
36719 cat >>confdefs.h
<<\_ACEOF
36720 #define wxUSE_STATUSBAR 1
36725 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS statbar"
36728 if test "$wxUSE_TABDIALOG" = "yes"; then
36729 cat >>confdefs.h
<<\_ACEOF
36730 #define wxUSE_TAB_DIALOG 1
36733 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS tab"
36736 if test "$wxUSE_TEXTCTRL" = "yes"; then
36737 cat >>confdefs.h
<<\_ACEOF
36738 #define wxUSE_TEXTCTRL 1
36742 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS text"
36745 if test "$wxUSE_TOGGLEBTN" = "yes"; then
36746 if test "$wxUSE_COCOA" = 1 ; then
36747 { echo "$as_me:$LINENO: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&5
36748 echo "$as_me: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&2;}
36751 if test "$wxUSE_UNIVERSAL" = "yes"; then
36752 { echo "$as_me:$LINENO: WARNING: Toggle button not yet supported under wxUniversal... disabled" >&5
36753 echo "$as_me: WARNING: Toggle button not yet supported under wxUniversal... disabled" >&2;}
36757 if test "$wxUSE_TOGGLEBTN" = "yes"; then
36758 cat >>confdefs.h
<<\_ACEOF
36759 #define wxUSE_TOGGLEBTN 1
36766 if test "$wxUSE_TOOLBAR_SIMPLE" = "yes"; then
36767 cat >>confdefs.h
<<\_ACEOF
36768 #define wxUSE_TOOLBAR_SIMPLE 1
36771 wxUSE_TOOLBAR
="yes"
36775 if test "$wxUSE_TOOLBAR" = "yes"; then
36776 cat >>confdefs.h
<<\_ACEOF
36777 #define wxUSE_TOOLBAR 1
36782 if test "$wxUSE_TOOLBAR_SIMPLE" != "yes"; then
36783 wxUSE_TOOLBAR_NATIVE
="yes"
36786 if test "$wxUSE_TOOLBAR_NATIVE" = "yes"; then
36787 cat >>confdefs.h
<<\_ACEOF
36788 #define wxUSE_TOOLBAR_NATIVE 1
36794 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS toolbar"
36797 if test "$wxUSE_TOOLTIPS" = "yes"; then
36798 if test "$wxUSE_MOTIF" = 1; then
36799 { echo "$as_me:$LINENO: WARNING: wxTooltip not supported yet under Motif... disabled" >&5
36800 echo "$as_me: WARNING: wxTooltip not supported yet under Motif... disabled" >&2;}
36802 if test "$wxUSE_UNIVERSAL" = "yes"; then
36803 { echo "$as_me:$LINENO: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&5
36804 echo "$as_me: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&2;}
36806 cat >>confdefs.h
<<\_ACEOF
36807 #define wxUSE_TOOLTIPS 1
36814 if test "$wxUSE_TREECTRL" = "yes"; then
36815 if test "$wxUSE_IMAGLIST" = "yes"; then
36816 cat >>confdefs.h
<<\_ACEOF
36817 #define wxUSE_TREECTRL 1
36821 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS treectrl"
36823 { echo "$as_me:$LINENO: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&5
36824 echo "$as_me: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&2;}
36828 if test "$wxUSE_POPUPWIN" = "yes"; then
36829 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1 ; then
36830 { echo "$as_me:$LINENO: WARNING: Popup window not yet supported under Mac OS X... disabled" >&5
36831 echo "$as_me: WARNING: Popup window not yet supported under Mac OS X... disabled" >&2;}
36833 if test "$wxUSE_PM" = 1; then
36834 { echo "$as_me:$LINENO: WARNING: wxPopupWindow not yet supported under PM... disabled" >&5
36835 echo "$as_me: WARNING: wxPopupWindow not yet supported under PM... disabled" >&2;}
36837 cat >>confdefs.h
<<\_ACEOF
36838 #define wxUSE_POPUPWIN 1
36847 if test "$wxUSE_TIPWINDOW" = "yes"; then
36848 if test "$wxUSE_PM" = 1; then
36849 { echo "$as_me:$LINENO: WARNING: wxTipWindow not yet supported under PM... disabled" >&5
36850 echo "$as_me: WARNING: wxTipWindow not yet supported under PM... disabled" >&2;}
36852 cat >>confdefs.h
<<\_ACEOF
36853 #define wxUSE_TIPWINDOW 1
36859 if test "$USES_CONTROLS" = 1; then
36860 cat >>confdefs.h
<<\_ACEOF
36861 #define wxUSE_CONTROLS 1
36867 if test "$wxUSE_ACCESSIBILITY" = "yes"; then
36868 cat >>confdefs.h
<<\_ACEOF
36869 #define wxUSE_ACCESSIBILITY 1
36872 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS access"
36875 if test "$wxUSE_DRAGIMAGE" = "yes"; then
36876 cat >>confdefs.h
<<\_ACEOF
36877 #define wxUSE_DRAGIMAGE 1
36880 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS dragimag"
36883 if test "$wxUSE_EXCEPTIONS" = "yes"; then
36884 cat >>confdefs.h
<<\_ACEOF
36885 #define wxUSE_EXCEPTIONS 1
36891 if test "$wxUSE_HTML" = "yes"; then
36892 cat >>confdefs.h
<<\_ACEOF
36893 #define wxUSE_HTML 1
36897 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS html html/about html/help html/helpview html/printing html/test html/virtual html/widget html/zip htlbox"
36900 if test "$wxUSE_MENUS" = "yes"; then
36901 cat >>confdefs.h
<<\_ACEOF
36902 #define wxUSE_MENUS 1
36905 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS menu"
36908 if test "$wxUSE_METAFILE" = "yes"; then
36909 cat >>confdefs.h
<<\_ACEOF
36910 #define wxUSE_METAFILE 1
36915 if test "$wxUSE_MIMETYPE" = "yes"; then
36916 cat >>confdefs.h
<<\_ACEOF
36917 #define wxUSE_MIMETYPE 1
36922 if test "$wxUSE_MINIFRAME" = "yes"; then
36923 cat >>confdefs.h
<<\_ACEOF
36924 #define wxUSE_MINIFRAME 1
36927 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS minifram"
36930 if test "$wxUSE_SYSTEM_OPTIONS" = "yes"; then
36931 cat >>confdefs.h
<<\_ACEOF
36932 #define wxUSE_SYSTEM_OPTIONS 1
36935 if test "$TOOLKIT" = "MSW" -o "$TOOLKIT" = "GTK" -o "$TOOLKIT" = "X11" -o \
36936 "$TOOLKIT" = "MOTIF"; then
36937 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS taskbar"
36942 if test "$wxUSE_VALIDATORS" = "yes"; then
36943 cat >>confdefs.h
<<\_ACEOF
36944 #define wxUSE_VALIDATORS 1
36947 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS validate"
36950 if test "$wxUSE_PALETTE" = "yes" ; then
36951 cat >>confdefs.h
<<\_ACEOF
36952 #define wxUSE_PALETTE 1
36957 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_MSLU" = "yes" ; then
36958 LIBS
=" -lunicows $LIBS"
36962 if test "$wxUSE_IMAGE" = "yes" ; then
36963 cat >>confdefs.h
<<\_ACEOF
36964 #define wxUSE_IMAGE 1
36968 if test "$wxUSE_GIF" = "yes" ; then
36969 cat >>confdefs.h
<<\_ACEOF
36970 #define wxUSE_GIF 1
36975 if test "$wxUSE_PCX" = "yes" ; then
36976 cat >>confdefs.h
<<\_ACEOF
36977 #define wxUSE_PCX 1
36982 if test "$wxUSE_IFF" = "yes" ; then
36983 cat >>confdefs.h
<<\_ACEOF
36984 #define wxUSE_IFF 1
36989 if test "$wxUSE_PNM" = "yes" ; then
36990 cat >>confdefs.h
<<\_ACEOF
36991 #define wxUSE_PNM 1
36996 if test "$wxUSE_XPM" = "yes" ; then
36997 cat >>confdefs.h
<<\_ACEOF
36998 #define wxUSE_XPM 1
37003 if test "$wxUSE_ICO_CUR" = "yes" ; then
37004 cat >>confdefs.h
<<\_ACEOF
37005 #define wxUSE_ICO_CUR 1
37012 if test "$wxUSE_CHOICEDLG" = "yes"; then
37013 cat >>confdefs.h
<<\_ACEOF
37014 #define wxUSE_CHOICEDLG 1
37019 if test "$wxUSE_COLOURDLG" = "yes"; then
37020 cat >>confdefs.h
<<\_ACEOF
37021 #define wxUSE_COLOURDLG 1
37026 if test "$wxUSE_FILEDLG" = "yes"; then
37027 cat >>confdefs.h
<<\_ACEOF
37028 #define wxUSE_FILEDLG 1
37033 if test "$wxUSE_FINDREPLDLG" = "yes"; then
37034 cat >>confdefs.h
<<\_ACEOF
37035 #define wxUSE_FINDREPLDLG 1
37040 if test "$wxUSE_FONTDLG" = "yes"; then
37041 cat >>confdefs.h
<<\_ACEOF
37042 #define wxUSE_FONTDLG 1
37047 if test "$wxUSE_DIRDLG" = "yes"; then
37048 if test "$wxUSE_TREECTRL" != "yes"; then
37049 { echo "$as_me:$LINENO: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&5
37050 echo "$as_me: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&2;}
37052 cat >>confdefs.h
<<\_ACEOF
37053 #define wxUSE_DIRDLG 1
37059 if test "$wxUSE_MSGDLG" = "yes"; then
37060 cat >>confdefs.h
<<\_ACEOF
37061 #define wxUSE_MSGDLG 1
37066 if test "$wxUSE_NUMBERDLG" = "yes"; then
37067 cat >>confdefs.h
<<\_ACEOF
37068 #define wxUSE_NUMBERDLG 1
37073 if test "$wxUSE_PROGRESSDLG" = "yes"; then
37074 if test "$wxUSE_CONSTRAINTS" != "yes"; then
37075 { echo "$as_me:$LINENO: WARNING: wxProgressDialog requires constraints so it won't be compiled without them" >&5
37076 echo "$as_me: WARNING: wxProgressDialog requires constraints so it won't be compiled without them" >&2;}
37078 cat >>confdefs.h
<<\_ACEOF
37079 #define wxUSE_PROGRESSDLG 1
37085 if test "$wxUSE_SPLASH" = "yes"; then
37086 cat >>confdefs.h
<<\_ACEOF
37087 #define wxUSE_SPLASH 1
37092 if test "$wxUSE_STARTUP_TIPS" = "yes"; then
37093 if test "$wxUSE_CONSTRAINTS" != "yes"; then
37094 { echo "$as_me:$LINENO: WARNING: Startup tips requires constraints and won't be compiled without them" >&5
37095 echo "$as_me: WARNING: Startup tips requires constraints and won't be compiled without them" >&2;}
37097 cat >>confdefs.h
<<\_ACEOF
37098 #define wxUSE_STARTUP_TIPS 1
37104 if test "$wxUSE_TEXTDLG" = "yes"; then
37105 cat >>confdefs.h
<<\_ACEOF
37106 #define wxUSE_TEXTDLG 1
37111 if test "$wxUSE_WIZARDDLG" = "yes"; then
37112 cat >>confdefs.h
<<\_ACEOF
37113 #define wxUSE_WIZARDDLG 1
37116 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS wizard"
37120 if test "$cross_compiling" = "yes"; then
37123 OSINFO
=`uname -s -r -m`
37124 OSINFO
="\"$OSINFO\""
37127 cat >>confdefs.h
<<_ACEOF
37128 #define WXWIN_OS_DESCRIPTION $OSINFO
37133 if test "x$prefix" != "xNONE"; then
37136 wxPREFIX
=$ac_default_prefix
37139 cat >>confdefs.h
<<_ACEOF
37140 #define wxINSTALL_PREFIX "$wxPREFIX"
37144 top_builddir_wxconfig
=`pwd`
37148 CORE_BASE_LIBS
="net base"
37149 CORE_GUI_LIBS
="adv core"
37151 if test "$wxUSE_XML" = "yes" ; then
37152 CORE_BASE_LIBS
="xml $CORE_BASE_LIBS"
37154 if test "$wxUSE_ODBC" != "no" ; then
37155 CORE_BASE_LIBS
="odbc $CORE_BASE_LIBS"
37156 CORE_GUI_LIBS
="dbgrid $CORE_GUI_LIBS"
37158 if test "$wxUSE_HTML" = "yes" ; then
37159 CORE_GUI_LIBS
="html $CORE_GUI_LIBS"
37162 if test "$wxUSE_GUI" != "yes"; then
37173 if test "$wxUSE_MAC" = 1 ; then
37174 LDFLAGS
="$LDFLAGS -framework Carbon -framework System"
37176 if test "$wxUSE_COCOA" = 1 ; then
37177 LDFLAGS
="$LDFLAGS -framework Cocoa -framework System"
37181 LIBS
="$ZLIB_LINK $POSIX4_LINK $INET_LINK $WCHAR_LINK $DL_LINK $LIBS"
37188 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37189 echo "$as_me:$LINENO: checking for $ac_func" >&5
37190 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
37191 if eval "test \"\${$as_ac_var+set}\" = set"; then
37192 echo $ECHO_N "(cached) $ECHO_C" >&6
37194 cat >conftest.
$ac_ext <<_ACEOF
37197 cat confdefs.h
>>conftest.
$ac_ext
37198 cat >>conftest.
$ac_ext <<_ACEOF
37199 /* end confdefs.h. */
37200 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37201 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37202 #define $ac_func innocuous_$ac_func
37204 /* System header to define __stub macros and hopefully few prototypes,
37205 which can conflict with char $ac_func (); below.
37206 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37207 <limits.h> exists even on freestanding compilers. */
37210 # include <limits.h>
37212 # include <assert.h>
37217 /* Override any gcc2 internal prototype to avoid an error. */
37222 /* We use char because int might match the return type of a gcc2
37223 builtin and then its argument prototype would still apply. */
37225 /* The GNU C library defines this for functions which it implements
37226 to always fail with ENOSYS. Some functions are actually named
37227 something starting with __ and the normal name is an alias. */
37228 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
37231 char (*f) () = $ac_func;
37240 return f != $ac_func;
37245 rm -f conftest.
$ac_objext conftest
$ac_exeext
37246 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37247 (eval $ac_link) 2>conftest.er1
37249 grep -v '^ *+' conftest.er1
>conftest.err
37251 cat conftest.err
>&5
37252 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37253 (exit $ac_status); } &&
37254 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
37255 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37256 (eval $ac_try) 2>&5
37258 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37259 (exit $ac_status); }; } &&
37260 { ac_try
='test -s conftest$ac_exeext'
37261 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37262 (eval $ac_try) 2>&5
37264 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37265 (exit $ac_status); }; }; then
37266 eval "$as_ac_var=yes"
37268 echo "$as_me: failed program was:" >&5
37269 sed 's/^/| /' conftest.
$ac_ext >&5
37271 eval "$as_ac_var=no"
37273 rm -f conftest.err conftest.
$ac_objext \
37274 conftest
$ac_exeext conftest.
$ac_ext
37276 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
37277 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
37278 if test `eval echo '${'$as_ac_var'}'` = yes; then
37279 cat >>confdefs.h
<<_ACEOF
37280 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37287 for ac_func
in floor
37289 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37290 echo "$as_me:$LINENO: checking for $ac_func" >&5
37291 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
37292 if eval "test \"\${$as_ac_var+set}\" = set"; then
37293 echo $ECHO_N "(cached) $ECHO_C" >&6
37295 cat >conftest.
$ac_ext <<_ACEOF
37298 cat confdefs.h
>>conftest.
$ac_ext
37299 cat >>conftest.
$ac_ext <<_ACEOF
37300 /* end confdefs.h. */
37301 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37302 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37303 #define $ac_func innocuous_$ac_func
37305 /* System header to define __stub macros and hopefully few prototypes,
37306 which can conflict with char $ac_func (); below.
37307 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37308 <limits.h> exists even on freestanding compilers. */
37311 # include <limits.h>
37313 # include <assert.h>
37318 /* Override any gcc2 internal prototype to avoid an error. */
37323 /* We use char because int might match the return type of a gcc2
37324 builtin and then its argument prototype would still apply. */
37326 /* The GNU C library defines this for functions which it implements
37327 to always fail with ENOSYS. Some functions are actually named
37328 something starting with __ and the normal name is an alias. */
37329 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
37332 char (*f) () = $ac_func;
37341 return f != $ac_func;
37346 rm -f conftest.
$ac_objext conftest
$ac_exeext
37347 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37348 (eval $ac_link) 2>conftest.er1
37350 grep -v '^ *+' conftest.er1
>conftest.err
37352 cat conftest.err
>&5
37353 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37354 (exit $ac_status); } &&
37355 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
37356 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37357 (eval $ac_try) 2>&5
37359 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37360 (exit $ac_status); }; } &&
37361 { ac_try
='test -s conftest$ac_exeext'
37362 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37363 (eval $ac_try) 2>&5
37365 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37366 (exit $ac_status); }; }; then
37367 eval "$as_ac_var=yes"
37369 echo "$as_me: failed program was:" >&5
37370 sed 's/^/| /' conftest.
$ac_ext >&5
37372 eval "$as_ac_var=no"
37374 rm -f conftest.err conftest.
$ac_objext \
37375 conftest
$ac_exeext conftest.
$ac_ext
37377 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
37378 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
37379 if test `eval echo '${'$as_ac_var'}'` = yes; then
37380 cat >>confdefs.h
<<_ACEOF
37381 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37387 echo "$as_me:$LINENO: checking if floating point functions link without -lm" >&5
37388 echo $ECHO_N "checking if floating point functions link without -lm... $ECHO_C" >&6
37389 if test "$have_cos" = 1 -a "$have_floor" = 1; then
37390 echo "$as_me:$LINENO: result: yes" >&5
37391 echo "${ECHO_T}yes" >&6
37393 echo "$as_me:$LINENO: result: no" >&5
37394 echo "${ECHO_T}no" >&6
37396 # use different functions to avoid configure caching
37402 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37403 echo "$as_me:$LINENO: checking for $ac_func" >&5
37404 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
37405 if eval "test \"\${$as_ac_var+set}\" = set"; then
37406 echo $ECHO_N "(cached) $ECHO_C" >&6
37408 cat >conftest.
$ac_ext <<_ACEOF
37411 cat confdefs.h
>>conftest.
$ac_ext
37412 cat >>conftest.
$ac_ext <<_ACEOF
37413 /* end confdefs.h. */
37414 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37415 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37416 #define $ac_func innocuous_$ac_func
37418 /* System header to define __stub macros and hopefully few prototypes,
37419 which can conflict with char $ac_func (); below.
37420 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37421 <limits.h> exists even on freestanding compilers. */
37424 # include <limits.h>
37426 # include <assert.h>
37431 /* Override any gcc2 internal prototype to avoid an error. */
37436 /* We use char because int might match the return type of a gcc2
37437 builtin and then its argument prototype would still apply. */
37439 /* The GNU C library defines this for functions which it implements
37440 to always fail with ENOSYS. Some functions are actually named
37441 something starting with __ and the normal name is an alias. */
37442 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
37445 char (*f) () = $ac_func;
37454 return f != $ac_func;
37459 rm -f conftest.
$ac_objext conftest
$ac_exeext
37460 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37461 (eval $ac_link) 2>conftest.er1
37463 grep -v '^ *+' conftest.er1
>conftest.err
37465 cat conftest.err
>&5
37466 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37467 (exit $ac_status); } &&
37468 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
37469 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37470 (eval $ac_try) 2>&5
37472 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37473 (exit $ac_status); }; } &&
37474 { ac_try
='test -s conftest$ac_exeext'
37475 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37476 (eval $ac_try) 2>&5
37478 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37479 (exit $ac_status); }; }; then
37480 eval "$as_ac_var=yes"
37482 echo "$as_me: failed program was:" >&5
37483 sed 's/^/| /' conftest.
$ac_ext >&5
37485 eval "$as_ac_var=no"
37487 rm -f conftest.err conftest.
$ac_objext \
37488 conftest
$ac_exeext conftest.
$ac_ext
37490 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
37491 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
37492 if test `eval echo '${'$as_ac_var'}'` = yes; then
37493 cat >>confdefs.h
<<_ACEOF
37494 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37501 for ac_func
in ceil
37503 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37504 echo "$as_me:$LINENO: checking for $ac_func" >&5
37505 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
37506 if eval "test \"\${$as_ac_var+set}\" = set"; then
37507 echo $ECHO_N "(cached) $ECHO_C" >&6
37509 cat >conftest.
$ac_ext <<_ACEOF
37512 cat confdefs.h
>>conftest.
$ac_ext
37513 cat >>conftest.
$ac_ext <<_ACEOF
37514 /* end confdefs.h. */
37515 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37516 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37517 #define $ac_func innocuous_$ac_func
37519 /* System header to define __stub macros and hopefully few prototypes,
37520 which can conflict with char $ac_func (); below.
37521 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37522 <limits.h> exists even on freestanding compilers. */
37525 # include <limits.h>
37527 # include <assert.h>
37532 /* Override any gcc2 internal prototype to avoid an error. */
37537 /* We use char because int might match the return type of a gcc2
37538 builtin and then its argument prototype would still apply. */
37540 /* The GNU C library defines this for functions which it implements
37541 to always fail with ENOSYS. Some functions are actually named
37542 something starting with __ and the normal name is an alias. */
37543 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
37546 char (*f) () = $ac_func;
37555 return f != $ac_func;
37560 rm -f conftest.
$ac_objext conftest
$ac_exeext
37561 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37562 (eval $ac_link) 2>conftest.er1
37564 grep -v '^ *+' conftest.er1
>conftest.err
37566 cat conftest.err
>&5
37567 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37568 (exit $ac_status); } &&
37569 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
37570 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37571 (eval $ac_try) 2>&5
37573 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37574 (exit $ac_status); }; } &&
37575 { ac_try
='test -s conftest$ac_exeext'
37576 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37577 (eval $ac_try) 2>&5
37579 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37580 (exit $ac_status); }; }; then
37581 eval "$as_ac_var=yes"
37583 echo "$as_me: failed program was:" >&5
37584 sed 's/^/| /' conftest.
$ac_ext >&5
37586 eval "$as_ac_var=no"
37588 rm -f conftest.err conftest.
$ac_objext \
37589 conftest
$ac_exeext conftest.
$ac_ext
37591 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
37592 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
37593 if test `eval echo '${'$as_ac_var'}'` = yes; then
37594 cat >>confdefs.h
<<_ACEOF
37595 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37601 echo "$as_me:$LINENO: checking if floating point functions link with -lm" >&5
37602 echo $ECHO_N "checking if floating point functions link with -lm... $ECHO_C" >&6
37603 if test "$have_sin" = 1 -a "$have_ceil" = 1; then
37604 echo "$as_me:$LINENO: result: yes" >&5
37605 echo "${ECHO_T}yes" >&6
37607 echo "$as_me:$LINENO: result: no" >&5
37608 echo "${ECHO_T}no" >&6
37609 # not sure we should warn the user, crash, etc.
37613 if test "$wxUSE_GUI" = "yes"; then
37616 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS artprov controls dialogs \
37617 drawing dynamic erase event exec font image \
37618 minimal propsize rotate shaped widgets render"
37620 if test "$wxUSE_MONOLITHIC" != "yes"; then
37621 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS console"
37624 SAMPLES_SUBDIRS
="console"
37628 INCLUDES
="-I\${top_builddir}lib/wx/include/${TOOLCHAIN_NAME} \
37629 -I\${top_srcdir}/include $TOOLKIT_INCLUDE"
37631 if test "$GXX" = yes ; then
37632 CXXWARNINGS
="-Wall"
37635 EXTRA_CFLAGS
="$WXDEBUG $WXODBCFLAG $PROFILE $OPTIMISE"
37637 CPPFLAGS
=`echo $WXDEBUG_DEFINE $INCLUDES $CPPFLAGS | sed 's/ \\+/ /g'`
37638 CFLAGS
=`echo $CODE_GEN_FLAGS $EXTRA_CFLAGS $CFLAGS $CXXWARNINGS | sed 's/ \\+/ /g'`
37639 CXXFLAGS
=`echo $CODE_GEN_FLAGS $CODE_GEN_FLAGS_CXX $EXTRA_CFLAGS $CXXFLAGS $CXXWARNINGS | sed 's/ \+/ /g'`
37642 LIBS
=`echo $LIBS | sed 's/ \+/ /g'`
37643 EXTRALIBS
="$LDFLAGS $LDFLAGS_VERSIONING $LIBS $DMALLOC_LIBS"
37644 EXTRALIBS_XML
="$EXPAT_LINK"
37645 EXTRALIBS_HTML
="$MSPACK_LINK"
37646 EXTRALIBS_ODBC
="$ODBC_LINK"
37647 if test "$wxUSE_GUI" = "yes"; then
37648 EXTRALIBS_GUI
=`echo $GUI_TK_LIBRARY $PNG_LINK $JPEG_LINK $TIFF_LINK | sed 's/ \+/ /g'`
37650 if test "$wxUSE_OPENGL" = "yes"; then
37651 EXTRALIBS_OPENGL
="$LDFLAGS_GL $OPENGL_LIBS"
37654 LDFLAGS
="$LDFLAGS $PROFILE"
37656 if test "$wxUSE_GTK" = 1; then
37659 WXCONFIG_INCLUDE
="$TOOLKIT_INCLUDE"
37662 WXCONFIG_EXTRALIBS
="$LIBS"
37664 if test "$wxUSE_REGEX" = "builtin" ; then
37665 wxconfig_3rdparty
="$wxconfig_3rdparty regex${lib_unicode_suffix}"
37667 if test "$wxUSE_EXPAT" = "builtin" ; then
37668 wxconfig_3rdparty
="$wxconfig_3rdparty expat"
37670 if test "$wxUSE_ODBC" = "builtin" ; then
37671 wxconfig_3rdparty
="$wxconfig_3rdparty odbc"
37673 if test "$wxUSE_LIBTIFF" = "builtin" ; then
37674 wxconfig_3rdparty
="$wxconfig_3rdparty tiff"
37676 if test "$wxUSE_LIBJPEG" = "builtin" ; then
37677 wxconfig_3rdparty
="$wxconfig_3rdparty jpeg"
37679 if test "$wxUSE_LIBPNG" = "builtin" ; then
37680 wxconfig_3rdparty
="$wxconfig_3rdparty png"
37682 if test "$wxUSE_ZLIB" = "builtin" ; then
37683 wxconfig_3rdparty
="$wxconfig_3rdparty zlib"
37685 if test "$wxUSE_ODBC" = "builtin" ; then
37686 wxconfig_3rdparty
="$wxconfig_3rdparty odbc"
37689 for i
in $wxconfig_3rdparty ; do
37690 WXCONFIG_EXTRALIBS
="$WXCONFIG_EXTRALIBS -lwx${i}${lib_debug_suffix}${HOST_SUFFIX}"
37694 if test "x$wxUSE_UNIVERSAL" = "xyes" ; then
37708 if test $wxUSE_MONOLITHIC = "yes" ; then
37714 if test $wxUSE_PLUGINS = "yes" ; then
37720 if test $wxUSE_ODBC != "no" ; then
37726 if test $wxUSE_OFFICIAL_BUILD = "yes" ; then
37752 TOOLKIT_LOWERCASE
=`echo $TOOLKIT | tr "[A-Z]" "[a-z]"`
37762 if test "x$BAKEFILE_HOST" = "x"; then
37763 BAKEFILE_HOST
="${host}"
37766 if test "x$BAKEFILE_CHECK_BASICS" != "xno"; then
37768 if test -n "$ac_tool_prefix"; then
37769 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
37770 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
37771 echo "$as_me:$LINENO: checking for $ac_word" >&5
37772 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
37773 if test "${ac_cv_prog_RANLIB+set}" = set; then
37774 echo $ECHO_N "(cached) $ECHO_C" >&6
37776 if test -n "$RANLIB"; then
37777 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
37779 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
37780 for as_dir
in $PATH
37783 test -z "$as_dir" && as_dir
=.
37784 for ac_exec_ext
in '' $ac_executable_extensions; do
37785 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
37786 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
37787 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
37795 RANLIB
=$ac_cv_prog_RANLIB
37796 if test -n "$RANLIB"; then
37797 echo "$as_me:$LINENO: result: $RANLIB" >&5
37798 echo "${ECHO_T}$RANLIB" >&6
37800 echo "$as_me:$LINENO: result: no" >&5
37801 echo "${ECHO_T}no" >&6
37805 if test -z "$ac_cv_prog_RANLIB"; then
37806 ac_ct_RANLIB
=$RANLIB
37807 # Extract the first word of "ranlib", so it can be a program name with args.
37808 set dummy ranlib
; ac_word
=$2
37809 echo "$as_me:$LINENO: checking for $ac_word" >&5
37810 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
37811 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
37812 echo $ECHO_N "(cached) $ECHO_C" >&6
37814 if test -n "$ac_ct_RANLIB"; then
37815 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
37817 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
37818 for as_dir
in $PATH
37821 test -z "$as_dir" && as_dir
=.
37822 for ac_exec_ext
in '' $ac_executable_extensions; do
37823 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
37824 ac_cv_prog_ac_ct_RANLIB
="ranlib"
37825 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
37831 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB
=":"
37834 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
37835 if test -n "$ac_ct_RANLIB"; then
37836 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
37837 echo "${ECHO_T}$ac_ct_RANLIB" >&6
37839 echo "$as_me:$LINENO: result: no" >&5
37840 echo "${ECHO_T}no" >&6
37843 RANLIB
=$ac_ct_RANLIB
37845 RANLIB
="$ac_cv_prog_RANLIB"
37848 # Find a good install program. We prefer a C program (faster),
37849 # so one script is as good as another. But avoid the broken or
37850 # incompatible versions:
37851 # SysV /etc/install, /usr/sbin/install
37852 # SunOS /usr/etc/install
37853 # IRIX /sbin/install
37855 # AmigaOS /C/install, which installs bootblocks on floppy discs
37856 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
37857 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
37858 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
37859 # OS/2's system install, which has a completely different semantic
37860 # ./install, which can be erroneously created by make from ./install.sh.
37861 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
37862 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
37863 if test -z "$INSTALL"; then
37864 if test "${ac_cv_path_install+set}" = set; then
37865 echo $ECHO_N "(cached) $ECHO_C" >&6
37867 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
37868 for as_dir
in $PATH
37871 test -z "$as_dir" && as_dir
=.
37872 # Account for people who put trailing slashes in PATH elements.
37874 .
/ | .
// | /cC
/* | \
37875 /etc
/* | /usr
/sbin
/* | /usr
/etc
/* | /sbin
/* | /usr
/afsws
/bin
/* | \
37876 ?
:\\/os2
\\/install\\/* | ?
:\\/OS2
\\/INSTALL
\\/* | \
37879 # OSF1 and SCO ODT 3.0 have their own names for install.
37880 # Don't use installbsd from OSF since it installs stuff as root
37882 for ac_prog
in ginstall scoinst
install; do
37883 for ac_exec_ext
in '' $ac_executable_extensions; do
37884 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
37885 if test $ac_prog = install &&
37886 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
37887 # AIX install. It has an incompatible calling convention.
37889 elif test $ac_prog = install &&
37890 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
37891 # program-specific install script used by HP pwplus--don't use.
37894 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
37906 if test "${ac_cv_path_install+set}" = set; then
37907 INSTALL
=$ac_cv_path_install
37909 # As a last resort, use the slow shell script. We don't cache a
37910 # path for INSTALL within a source directory, because that will
37911 # break other packages using the cache if that directory is
37912 # removed, or if the path is relative.
37913 INSTALL
=$ac_install_sh
37916 echo "$as_me:$LINENO: result: $INSTALL" >&5
37917 echo "${ECHO_T}$INSTALL" >&6
37919 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
37920 # It thinks the first close brace ends the variable substitution.
37921 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
37923 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
37925 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
37927 echo "$as_me:$LINENO: checking whether ln -s works" >&5
37928 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
37930 if test "$LN_S" = "ln -s"; then
37931 echo "$as_me:$LINENO: result: yes" >&5
37932 echo "${ECHO_T}yes" >&6
37934 echo "$as_me:$LINENO: result: no, using $LN_S" >&5
37935 echo "${ECHO_T}no, using $LN_S" >&6
37939 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
37940 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
37941 set dummy
${MAKE-make}; ac_make
=`echo "$2" | sed 'y,:./+-,___p_,'`
37942 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
37943 echo $ECHO_N "(cached) $ECHO_C" >&6
37945 cat >conftest.
make <<\_ACEOF
37947 @
echo 'ac_maketemp="$(MAKE)"'
37949 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
37950 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
37951 if test -n "$ac_maketemp"; then
37952 eval ac_cv_prog_make_
${ac_make}_set
=yes
37954 eval ac_cv_prog_make_
${ac_make}_set
=no
37956 rm -f conftest.
make
37958 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
37959 echo "$as_me:$LINENO: result: yes" >&5
37960 echo "${ECHO_T}yes" >&6
37963 echo "$as_me:$LINENO: result: no" >&5
37964 echo "${ECHO_T}no" >&6
37965 SET_MAKE
="MAKE=${MAKE-make}"
37970 if test -n "$ac_tool_prefix"; then
37971 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
37972 set dummy
${ac_tool_prefix}ar; ac_word
=$2
37973 echo "$as_me:$LINENO: checking for $ac_word" >&5
37974 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
37975 if test "${ac_cv_prog_AR+set}" = set; then
37976 echo $ECHO_N "(cached) $ECHO_C" >&6
37978 if test -n "$AR"; then
37979 ac_cv_prog_AR
="$AR" # Let the user override the test.
37981 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
37982 for as_dir
in $PATH
37985 test -z "$as_dir" && as_dir
=.
37986 for ac_exec_ext
in '' $ac_executable_extensions; do
37987 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
37988 ac_cv_prog_AR
="${ac_tool_prefix}ar"
37989 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
37998 if test -n "$AR"; then
37999 echo "$as_me:$LINENO: result: $AR" >&5
38000 echo "${ECHO_T}$AR" >&6
38002 echo "$as_me:$LINENO: result: no" >&5
38003 echo "${ECHO_T}no" >&6
38007 if test -z "$ac_cv_prog_AR"; then
38009 # Extract the first word of "ar", so it can be a program name with args.
38010 set dummy
ar; ac_word
=$2
38011 echo "$as_me:$LINENO: checking for $ac_word" >&5
38012 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
38013 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
38014 echo $ECHO_N "(cached) $ECHO_C" >&6
38016 if test -n "$ac_ct_AR"; then
38017 ac_cv_prog_ac_ct_AR
="$ac_ct_AR" # Let the user override the test.
38019 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
38020 for as_dir
in $PATH
38023 test -z "$as_dir" && as_dir
=.
38024 for ac_exec_ext
in '' $ac_executable_extensions; do
38025 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
38026 ac_cv_prog_ac_ct_AR
="ar"
38027 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
38033 test -z "$ac_cv_prog_ac_ct_AR" && ac_cv_prog_ac_ct_AR
="ar"
38036 ac_ct_AR
=$ac_cv_prog_ac_ct_AR
38037 if test -n "$ac_ct_AR"; then
38038 echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
38039 echo "${ECHO_T}$ac_ct_AR" >&6
38041 echo "$as_me:$LINENO: result: no" >&5
38042 echo "${ECHO_T}no" >&6
38047 AR
="$ac_cv_prog_AR"
38050 if test -n "$ac_tool_prefix"; then
38051 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
38052 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
38053 echo "$as_me:$LINENO: checking for $ac_word" >&5
38054 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
38055 if test "${ac_cv_prog_STRIP+set}" = set; then
38056 echo $ECHO_N "(cached) $ECHO_C" >&6
38058 if test -n "$STRIP"; then
38059 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
38061 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
38062 for as_dir
in $PATH
38065 test -z "$as_dir" && as_dir
=.
38066 for ac_exec_ext
in '' $ac_executable_extensions; do
38067 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
38068 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
38069 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
38077 STRIP
=$ac_cv_prog_STRIP
38078 if test -n "$STRIP"; then
38079 echo "$as_me:$LINENO: result: $STRIP" >&5
38080 echo "${ECHO_T}$STRIP" >&6
38082 echo "$as_me:$LINENO: result: no" >&5
38083 echo "${ECHO_T}no" >&6
38087 if test -z "$ac_cv_prog_STRIP"; then
38089 # Extract the first word of "strip", so it can be a program name with args.
38090 set dummy strip
; ac_word
=$2
38091 echo "$as_me:$LINENO: checking for $ac_word" >&5
38092 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
38093 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
38094 echo $ECHO_N "(cached) $ECHO_C" >&6
38096 if test -n "$ac_ct_STRIP"; then
38097 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
38099 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
38100 for as_dir
in $PATH
38103 test -z "$as_dir" && as_dir
=.
38104 for ac_exec_ext
in '' $ac_executable_extensions; do
38105 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
38106 ac_cv_prog_ac_ct_STRIP
="strip"
38107 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
38113 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP
=":"
38116 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
38117 if test -n "$ac_ct_STRIP"; then
38118 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
38119 echo "${ECHO_T}$ac_ct_STRIP" >&6
38121 echo "$as_me:$LINENO: result: no" >&5
38122 echo "${ECHO_T}no" >&6
38127 STRIP
="$ac_cv_prog_STRIP"
38130 if test -n "$ac_tool_prefix"; then
38131 # Extract the first word of "${ac_tool_prefix}nm", so it can be a program name with args.
38132 set dummy
${ac_tool_prefix}nm
; ac_word
=$2
38133 echo "$as_me:$LINENO: checking for $ac_word" >&5
38134 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
38135 if test "${ac_cv_prog_NM+set}" = set; then
38136 echo $ECHO_N "(cached) $ECHO_C" >&6
38138 if test -n "$NM"; then
38139 ac_cv_prog_NM
="$NM" # Let the user override the test.
38141 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
38142 for as_dir
in $PATH
38145 test -z "$as_dir" && as_dir
=.
38146 for ac_exec_ext
in '' $ac_executable_extensions; do
38147 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
38148 ac_cv_prog_NM
="${ac_tool_prefix}nm"
38149 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
38158 if test -n "$NM"; then
38159 echo "$as_me:$LINENO: result: $NM" >&5
38160 echo "${ECHO_T}$NM" >&6
38162 echo "$as_me:$LINENO: result: no" >&5
38163 echo "${ECHO_T}no" >&6
38167 if test -z "$ac_cv_prog_NM"; then
38169 # Extract the first word of "nm", so it can be a program name with args.
38170 set dummy nm
; ac_word
=$2
38171 echo "$as_me:$LINENO: checking for $ac_word" >&5
38172 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
38173 if test "${ac_cv_prog_ac_ct_NM+set}" = set; then
38174 echo $ECHO_N "(cached) $ECHO_C" >&6
38176 if test -n "$ac_ct_NM"; then
38177 ac_cv_prog_ac_ct_NM
="$ac_ct_NM" # Let the user override the test.
38179 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
38180 for as_dir
in $PATH
38183 test -z "$as_dir" && as_dir
=.
38184 for ac_exec_ext
in '' $ac_executable_extensions; do
38185 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
38186 ac_cv_prog_ac_ct_NM
="nm"
38187 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
38193 test -z "$ac_cv_prog_ac_ct_NM" && ac_cv_prog_ac_ct_NM
=":"
38196 ac_ct_NM
=$ac_cv_prog_ac_ct_NM
38197 if test -n "$ac_ct_NM"; then
38198 echo "$as_me:$LINENO: result: $ac_ct_NM" >&5
38199 echo "${ECHO_T}$ac_ct_NM" >&6
38201 echo "$as_me:$LINENO: result: no" >&5
38202 echo "${ECHO_T}no" >&6
38207 NM
="$ac_cv_prog_NM"
38211 case ${BAKEFILE_HOST} in
38213 INSTALL_DIR
="mkdir"
38215 *) INSTALL_DIR
="$INSTALL -d"
38221 case ${BAKEFILE_HOST} in
38222 *-*-cygwin* | *-*-mingw32* )
38223 LDFLAGS_GUI
="-Wl,--subsystem,windows -mwindows"
38229 echo "$as_me:$LINENO: checking if make is GNU make" >&5
38230 echo $ECHO_N "checking if make is GNU make... $ECHO_C" >&6
38231 if test "${bakefile_cv_prog_makeisgnu+set}" = set; then
38232 echo $ECHO_N "(cached) $ECHO_C" >&6
38235 if ( ${SHELL-sh} -c "${MAKE-make} --version" 2> /dev
/null
|
38236 egrep -s GNU
> /dev
/null
); then
38237 bakefile_cv_prog_makeisgnu
="yes"
38239 bakefile_cv_prog_makeisgnu
="no"
38243 echo "$as_me:$LINENO: result: $bakefile_cv_prog_makeisgnu" >&5
38244 echo "${ECHO_T}$bakefile_cv_prog_makeisgnu" >&6
38246 if test "x$bakefile_cv_prog_makeisgnu" = "xyes"; then
38261 if test "x$BAKEFILE_FORCE_PLATFORM" = "x"; then
38262 case "${BAKEFILE_HOST}" in
38263 *-*-cygwin* | *-*-mingw32* )
38269 *-pc-os2_emx | *-pc-os2-emx )
38272 powerpc
-*-darwin* )
38281 case "$BAKEFILE_FORCE_PLATFORM" in
38299 { { echo "$as_me:$LINENO: error: Unknown platform: $BAKEFILE_FORCE_PLATFORM" >&5
38300 echo "$as_me: error: Unknown platform: $BAKEFILE_FORCE_PLATFORM" >&2;}
38301 { (exit 1); exit 1; }; }
38315 SO_SUFFIX_MODULE
="so"
38321 case "${BAKEFILE_HOST}" in
38324 SO_SUFFIX_MODULE
="sl"
38328 SO_SUFFIX_MODULE
="a"
38330 *-*-cygwin* | *-*-mingw32* )
38332 SO_SUFFIX_MODULE
="dll"
38340 *-pc-os2_emx | *-pc-os2-emx )
38342 SO_SUFFIX_MODULE
="dll"
38347 powerpc
-*-darwin* )
38349 SO_SUFFIX_MODULE
="bundle"
38361 SHARED_LD_CC
="\$(CC) -shared -o"
38362 SHARED_LD_CXX
="\$(CXX) -shared -o"
38364 if test "x$GCC" = "xyes"; then
38368 case "${BAKEFILE_HOST}" in
38370 if test "x$GCC" = "xyes"; then
38371 SHARED_LD_CC
="${CC} -shared ${PIC_FLAG} -o"
38372 SHARED_LD_CXX
="${CXX} -shared ${PIC_FLAG} -o"
38374 LDFLAGS
="$LDFLAGS -L/usr/lib"
38376 SHARED_LD_CC
="${CC} -b -o"
38377 SHARED_LD_CXX
="${CXX} -b -o"
38383 if test "x$GCC" != "xyes"; then
38384 echo "$as_me:$LINENO: checking for Intel compiler" >&5
38385 echo $ECHO_N "checking for Intel compiler... $ECHO_C" >&6
38386 if test "${bakefile_cv_prog_icc+set}" = set; then
38387 echo $ECHO_N "(cached) $ECHO_C" >&6
38390 cat >conftest.
$ac_ext <<_ACEOF
38393 cat confdefs.h
>>conftest.
$ac_ext
38394 cat >>conftest.
$ac_ext <<_ACEOF
38395 /* end confdefs.h. */
38401 #ifndef __INTEL_COMPILER
38409 rm -f conftest.
$ac_objext
38410 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
38411 (eval $ac_compile) 2>conftest.er1
38413 grep -v '^ *+' conftest.er1
>conftest.err
38415 cat conftest.err
>&5
38416 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38417 (exit $ac_status); } &&
38418 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
38419 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38420 (eval $ac_try) 2>&5
38422 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38423 (exit $ac_status); }; } &&
38424 { ac_try
='test -s conftest.$ac_objext'
38425 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38426 (eval $ac_try) 2>&5
38428 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38429 (exit $ac_status); }; }; then
38430 bakefile_cv_prog_icc
=yes
38432 echo "$as_me: failed program was:" >&5
38433 sed 's/^/| /' conftest.
$ac_ext >&5
38435 bakefile_cv_prog_icc
=no
38438 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
38441 echo "$as_me:$LINENO: result: $bakefile_cv_prog_icc" >&5
38442 echo "${ECHO_T}$bakefile_cv_prog_icc" >&6
38443 if test "$bakefile_cv_prog_icc" = "yes"; then
38450 if test "x$GCC" != xyes
; then
38451 SHARED_LD_CC
="${CC} -G -o"
38452 SHARED_LD_CXX
="${CXX} -G -o"
38458 CFLAGS
="$CFLAGS -fno-common"
38459 CXXFLAGS
="$CXXFLAGS -fno-common"
38462 echo "$as_me:$LINENO: checking for gcc 3.1 or later" >&5
38463 echo $ECHO_N "checking for gcc 3.1 or later... $ECHO_C" >&6
38464 if test "${wx_cv_gcc31+set}" = set; then
38465 echo $ECHO_N "(cached) $ECHO_C" >&6
38468 cat >conftest.
$ac_ext <<_ACEOF
38471 cat confdefs.h
>>conftest.
$ac_ext
38472 cat >>conftest.
$ac_ext <<_ACEOF
38473 /* end confdefs.h. */
38479 #if (__GNUC__ < 3) || \
38480 ((__GNUC__ == 3) && (__GNUC_MINOR__ < 1))
38488 rm -f conftest.
$ac_objext
38489 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
38490 (eval $ac_compile) 2>conftest.er1
38492 grep -v '^ *+' conftest.er1
>conftest.err
38494 cat conftest.err
>&5
38495 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38496 (exit $ac_status); } &&
38497 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
38498 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38499 (eval $ac_try) 2>&5
38501 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38502 (exit $ac_status); }; } &&
38503 { ac_try
='test -s conftest.$ac_objext'
38504 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38505 (eval $ac_try) 2>&5
38507 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38508 (exit $ac_status); }; }; then
38513 echo "$as_me: failed program was:" >&5
38514 sed 's/^/| /' conftest.
$ac_ext >&5
38521 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
38524 echo "$as_me:$LINENO: result: $wx_cv_gcc31" >&5
38525 echo "${ECHO_T}$wx_cv_gcc31" >&6
38526 if test "$wx_cv_gcc31" = "no"; then
38527 cat <<EOF >shared-ld-sh
38529 #-----------------------------------------------------------------------------
38530 #-- Name: distrib/mac/shared-ld-sh
38531 #-- Purpose: Link a mach-o dynamic shared library for Darwin / Mac OS X
38532 #-- Author: Gilles Depeyrot
38533 #-- Copyright: (c) 2002 Gilles Depeyrot
38534 #-- Licence: any use permitted
38535 #-----------------------------------------------------------------------------
38540 linking_flag="-dynamiclib"
38542 while test \${#} -gt 0; do
38549 -o|-compatibility_version|-current_version|-framework|-undefined|-install_name)
38550 # collect these options and values
38551 args="\${args} \${1} \${2}"
38555 -l*|-L*|-flat_namespace|-headerpad_max_install_names)
38556 # collect these options
38557 args="\${args} \${1}"
38560 -dynamiclib|-bundle)
38561 linking_flag="\${1}"
38565 echo "shared-ld: unhandled option '\${1}'"
38569 *.o | *.a | *.dylib)
38570 # collect object files
38571 objects="\${objects} \${1}"
38575 echo "shared-ld: unhandled argument '\${1}'"
38584 # Link one module containing all the others
38586 if test \${verbose} = 1; then
38587 echo "c++ -r -keep_private_externs -nostdlib \${objects} -o master.\$\$.o"
38589 c++ -r -keep_private_externs -nostdlib \${objects} -o master.\$\$.o
38591 if test \${status} != 0; then
38596 # Link the shared library from the single module created
38598 if test \${verbose} = 1; then
38599 echo "cc \${linking_flag} master.\$\$.o \${args}"
38601 c++ \${linking_flag} master.\$\$.o \${args}
38603 if test \${status} != 0; then
38608 # Remove intermediate module
38610 rm -f master.\$\$.o
38614 chmod +x shared
-ld-sh
38616 SHARED_LD_CC
="`pwd`/shared-ld-sh -dynamiclib -headerpad_max_install_names -o"
38617 SHARED_LD_MODULE_CC
="`pwd`/shared-ld-sh -bundle -headerpad_max_install_names -o"
38618 SHARED_LD_CXX
="$SHARED_LD_CC"
38619 SHARED_LD_MODULE_CXX
="$SHARED_LD_MODULE_CC"
38621 SHARED_LD_CC
="\${CC} -dynamiclib -single_module -headerpad_max_install_names -o"
38622 SHARED_LD_MODULE_CC
="\${CC} -bundle -single_module -headerpad_max_install_names -o"
38623 SHARED_LD_CXX
="\${CXX} -dynamiclib -single_module -headerpad_max_install_names -o"
38624 SHARED_LD_MODULE_CXX
="\${CXX} -bundle -single_module -headerpad_max_install_names -o"
38627 PIC_FLAG
="-dynamic -fPIC"
38631 if test "x$GCC" != "xyes"; then
38632 # Extract the first word of "makeC++SharedLib", so it can be a program name with args.
38633 set dummy makeC
++SharedLib
; ac_word
=$2
38634 echo "$as_me:$LINENO: checking for $ac_word" >&5
38635 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
38636 if test "${ac_cv_prog_AIX_CXX_LD+set}" = set; then
38637 echo $ECHO_N "(cached) $ECHO_C" >&6
38639 if test -n "$AIX_CXX_LD"; then
38640 ac_cv_prog_AIX_CXX_LD
="$AIX_CXX_LD" # Let the user override the test.
38642 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
38643 for as_dir
in $PATH
38646 test -z "$as_dir" && as_dir
=.
38647 for ac_exec_ext
in '' $ac_executable_extensions; do
38648 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
38649 ac_cv_prog_AIX_CXX_LD
="makeC++SharedLib"
38650 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
38656 test -z "$ac_cv_prog_AIX_CXX_LD" && ac_cv_prog_AIX_CXX_LD
="/usr/lpp/xlC/bin/makeC++SharedLib"
38659 AIX_CXX_LD
=$ac_cv_prog_AIX_CXX_LD
38660 if test -n "$AIX_CXX_LD"; then
38661 echo "$as_me:$LINENO: result: $AIX_CXX_LD" >&5
38662 echo "${ECHO_T}$AIX_CXX_LD" >&6
38664 echo "$as_me:$LINENO: result: no" >&5
38665 echo "${ECHO_T}no" >&6
38668 SHARED_LD_CC
="$AIX_CC_LD -p 0 -o"
38669 SHARED_LD_CXX
="$AIX_CXX_LD -p 0 -o"
38674 SHARED_LD_CC
="${LD} -shared -o"
38675 SHARED_LD_CXX
="${LD} -shared -o"
38679 if test "x$GCC" != "xyes"; then
38684 *-*-cygwin* | *-*-mingw32* )
38688 *-pc-os2_emx | *-pc-os2-emx )
38689 SHARED_LD_CC
="dllar.sh -o"
38690 SHARED_LD_CXX
="dllar.sh -o"
38694 *-*-freebsd* | *-*-openbsd* | *-*-netbsd* | \
38702 { { echo "$as_me:$LINENO: error: unknown system type $BAKEFILE_HOST." >&5
38703 echo "$as_me: error: unknown system type $BAKEFILE_HOST." >&2;}
38704 { (exit 1); exit 1; }; }
38707 if test "x$SHARED_LD_MODULE_CC" = "x" ; then
38708 SHARED_LD_MODULE_CC
="$SHARED_LD_CC"
38710 if test "x$SHARED_LD_MODULE_CXX" = "x" ; then
38711 SHARED_LD_MODULE_CXX
="$SHARED_LD_CXX"
38728 case "${BAKEFILE_HOST}" in
38730 SONAME_FLAG
="-Wl,-soname,"
38758 echo "$as_me:$LINENO: checking for dependency tracking method" >&5
38759 echo $ECHO_N "checking for dependency tracking method... $ECHO_C" >&6
38762 if test "x$GCC" = "xyes"; then
38765 case "${BAKEFILE_HOST}" in
38766 powerpc
-*-darwin* )
38767 DEPSFLAG_GCC
="-no-cpp-precomp -MMD"
38770 DEPSFLAG_GCC
="-MMD"
38773 echo "$as_me:$LINENO: result: gcc" >&5
38774 echo "${ECHO_T}gcc" >&6
38776 echo "$as_me:$LINENO: result: none" >&5
38777 echo "${ECHO_T}none" >&6
38780 if test $DEPS_TRACKING = 1 ; then
38784 # This script is part of Bakefile (http://bakefile.sourceforge.net) autoconf
38785 # script. It is used to track C/C++ files dependencies in portable way.
38787 # Permission is given to use this file in any way.
38791 DEPSFLAG_GCC="$DEPSFLAG_GCC"
38795 if test \$DEPSMODE = gcc ; then
38796 \${*} \${DEPSFLAG_GCC}
38798 if test \${status} != 0 ; then
38801 # move created file to the location we want it in:
38802 while test \${#} -gt 0; do
38816 depfile=\`basename \$srcfile | sed -e 's/\..*$/.d/g'\`
38817 depobjname=\`echo \$depfile |sed -e 's/\.d/.o/g'\`
38818 if test -f \$depfile ; then
38819 sed -e "s,\$depobjname:,\$objfile:,g" \$depfile >\${DEPSDIR}/\${objfile}.d
38822 depfile=\`basename \$objfile | sed -e 's/\..*$/.d/g'\`
38823 if test -f \$depfile ; then
38824 sed -e "/^\$objfile/!s,\$depobjname:,\$objfile:,g" \$depfile >\${DEPSDIR}/\${objfile}.d
38843 case ${BAKEFILE_HOST} in
38844 *-*-cygwin* | *-*-mingw32* )
38845 if test "$build" != "$host" ; then
38846 RESCOMP
=$host_alias-windres
38848 # Extract the first word of "windres", so it can be a program name with args.
38849 set dummy windres
; ac_word
=$2
38850 echo "$as_me:$LINENO: checking for $ac_word" >&5
38851 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
38852 if test "${ac_cv_prog_RESCOMP+set}" = set; then
38853 echo $ECHO_N "(cached) $ECHO_C" >&6
38855 if test -n "$RESCOMP"; then
38856 ac_cv_prog_RESCOMP
="$RESCOMP" # Let the user override the test.
38858 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
38859 for as_dir
in $PATH
38862 test -z "$as_dir" && as_dir
=.
38863 for ac_exec_ext
in '' $ac_executable_extensions; do
38864 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
38865 ac_cv_prog_RESCOMP
="windres"
38866 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
38872 test -z "$ac_cv_prog_RESCOMP" && ac_cv_prog_RESCOMP
="windres"
38875 RESCOMP
=$ac_cv_prog_RESCOMP
38876 if test -n "$RESCOMP"; then
38877 echo "$as_me:$LINENO: result: $RESCOMP" >&5
38878 echo "${ECHO_T}$RESCOMP" >&6
38880 echo "$as_me:$LINENO: result: no" >&5
38881 echo "${ECHO_T}no" >&6
38888 # Extract the first word of "Rez", so it can be a program name with args.
38889 set dummy Rez
; ac_word
=$2
38890 echo "$as_me:$LINENO: checking for $ac_word" >&5
38891 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
38892 if test "${ac_cv_prog_RESCOMP+set}" = set; then
38893 echo $ECHO_N "(cached) $ECHO_C" >&6
38895 if test -n "$RESCOMP"; then
38896 ac_cv_prog_RESCOMP
="$RESCOMP" # Let the user override the test.
38898 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
38899 for as_dir
in $PATH
38902 test -z "$as_dir" && as_dir
=.
38903 for ac_exec_ext
in '' $ac_executable_extensions; do
38904 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
38905 ac_cv_prog_RESCOMP
="Rez"
38906 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
38912 test -z "$ac_cv_prog_RESCOMP" && ac_cv_prog_RESCOMP
="/Developer/Tools/Rez"
38915 RESCOMP
=$ac_cv_prog_RESCOMP
38916 if test -n "$RESCOMP"; then
38917 echo "$as_me:$LINENO: result: $RESCOMP" >&5
38918 echo "${ECHO_T}$RESCOMP" >&6
38920 echo "$as_me:$LINENO: result: no" >&5
38921 echo "${ECHO_T}no" >&6
38924 # Extract the first word of "SetFile", so it can be a program name with args.
38925 set dummy SetFile
; ac_word
=$2
38926 echo "$as_me:$LINENO: checking for $ac_word" >&5
38927 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
38928 if test "${ac_cv_prog_SETFILE+set}" = set; then
38929 echo $ECHO_N "(cached) $ECHO_C" >&6
38931 if test -n "$SETFILE"; then
38932 ac_cv_prog_SETFILE
="$SETFILE" # Let the user override the test.
38934 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
38935 for as_dir
in $PATH
38938 test -z "$as_dir" && as_dir
=.
38939 for ac_exec_ext
in '' $ac_executable_extensions; do
38940 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
38941 ac_cv_prog_SETFILE
="SetFile"
38942 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
38948 test -z "$ac_cv_prog_SETFILE" && ac_cv_prog_SETFILE
="/Developer/Tools/SetFile"
38951 SETFILE
=$ac_cv_prog_SETFILE
38952 if test -n "$SETFILE"; then
38953 echo "$as_me:$LINENO: result: $SETFILE" >&5
38954 echo "${ECHO_T}$SETFILE" >&6
38956 echo "$as_me:$LINENO: result: no" >&5
38957 echo "${ECHO_T}no" >&6
38970 # Check whether --enable-precomp-headers or --disable-precomp-headers was given.
38971 if test "${enable_precomp_headers+set}" = set; then
38972 enableval
="$enable_precomp_headers"
38973 bk_use_pch
="$enableval"
38978 if test "x$bk_use_pch" = "x" -o "x$bk_use_pch" = "xyes" ; then
38979 if test "x$GCC" = "xyes"; then
38980 echo "$as_me:$LINENO: checking if the compiler supports precompiled headers" >&5
38981 echo $ECHO_N "checking if the compiler supports precompiled headers... $ECHO_C" >&6
38982 cat >conftest.
$ac_ext <<_ACEOF
38985 cat confdefs.h
>>conftest.
$ac_ext
38986 cat >>conftest.
$ac_ext <<_ACEOF
38987 /* end confdefs.h. */
38993 #if !defined(__GNUC__) || !defined(__GNUC_MINOR__)
38994 #error "no pch support"
38997 #error "no pch support"
38999 #if (__GNUC__ == 3) && \
39000 ((!defined(__APPLE_CC__) && (__GNUC_MINOR__ < 4)) || \
39001 ( defined(__APPLE_CC__) && (__GNUC_MINOR__ < 3)))
39002 #error "no pch support"
39009 rm -f conftest.
$ac_objext
39010 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39011 (eval $ac_compile) 2>conftest.er1
39013 grep -v '^ *+' conftest.er1
>conftest.err
39015 cat conftest.err
>&5
39016 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39017 (exit $ac_status); } &&
39018 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
39019 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39020 (eval $ac_try) 2>&5
39022 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39023 (exit $ac_status); }; } &&
39024 { ac_try
='test -s conftest.$ac_objext'
39025 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39026 (eval $ac_try) 2>&5
39028 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39029 (exit $ac_status); }; }; then
39031 echo "$as_me:$LINENO: result: yes" >&5
39032 echo "${ECHO_T}yes" >&6
39033 CPPFLAGS
="-fpch-deps $CPPFLAGS"
39037 echo "$as_me: failed program was:" >&5
39038 sed 's/^/| /' conftest.
$ac_ext >&5
39041 echo "$as_me:$LINENO: result: no" >&5
39042 echo "${ECHO_T}no" >&6
39045 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
39046 if test $GCC_PCH = 1 ; then
39047 cat <<EOF >bk-make-pch
39050 # This script is part of Bakefile (http://bakefile.sourceforge.net) autoconf
39051 # script. It is used to generated precompiled headers.
39053 # Permission is given to use this file in any way.
39062 while test \${#} -gt 0; do
39065 incdir=\`echo \${1} | sed -e 's/-I\(.*\)/\1/g'\`
39066 if test "x\${headerfile}" = "x" -a -f "\${incdir}/\${header}" ; then
39067 headerfile="\${incdir}/\${header}"
39071 compiler="\${compiler} \${1}"
39075 if test "x\${headerfile}" = "x" ; then
39076 echo "error: can't find header \${header} in include paths" >2
39078 if test -f \${outfile} ; then
39081 mkdir -p \`dirname \${outfile}\`
39083 depsfile=".deps/\`basename \${outfile}\`.d"
39085 # can do this because gcc is >= 3.4:
39086 \${compiler} -o \${outfile} -MMD -MF "\${depsfile}" "\${headerfile}"
39090 chmod +x bk
-make-pch
39099 COND_BUILD_DEBUG
="#"
39100 if test "x$BUILD" = "xdebug" ; then
39101 COND_BUILD_DEBUG
=""
39104 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT
="#"
39105 if test "x$BUILD" = "xdebug" -a "x$DEBUG_FLAG" = "xdefault" ; then
39106 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT
=""
39109 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT
="#"
39110 if test "x$BUILD" = "xdebug" -a "x$DEBUG_INFO" = "xdefault" ; then
39111 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT
=""
39114 COND_BUILD_DEBUG_UNICODE_0
="#"
39115 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x0" ; then
39116 COND_BUILD_DEBUG_UNICODE_0
=""
39119 COND_BUILD_DEBUG_UNICODE_1
="#"
39120 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x1" ; then
39121 COND_BUILD_DEBUG_UNICODE_1
=""
39124 COND_BUILD_RELEASE
="#"
39125 if test "x$BUILD" = "xrelease" ; then
39126 COND_BUILD_RELEASE
=""
39129 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT
="#"
39130 if test "x$BUILD" = "xrelease" -a "x$DEBUG_INFO" = "xdefault" ; then
39131 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT
=""
39134 COND_BUILD_RELEASE_UNICODE_0
="#"
39135 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x0" ; then
39136 COND_BUILD_RELEASE_UNICODE_0
=""
39139 COND_BUILD_RELEASE_UNICODE_1
="#"
39140 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x1" ; then
39141 COND_BUILD_RELEASE_UNICODE_1
=""
39144 COND_DEBUG_FLAG_1
="#"
39145 if test "x$DEBUG_FLAG" = "x1" ; then
39146 COND_DEBUG_FLAG_1
=""
39149 COND_DEBUG_INFO_0
="#"
39150 if test "x$DEBUG_INFO" = "x0" ; then
39151 COND_DEBUG_INFO_0
=""
39154 COND_DEBUG_INFO_1
="#"
39155 if test "x$DEBUG_INFO" = "x1" ; then
39156 COND_DEBUG_INFO_1
=""
39159 COND_DEPS_TRACKING_0
="#"
39160 if test "x$DEPS_TRACKING" = "x0" ; then
39161 COND_DEPS_TRACKING_0
=""
39164 COND_DEPS_TRACKING_1
="#"
39165 if test "x$DEPS_TRACKING" = "x1" ; then
39166 COND_DEPS_TRACKING_1
=""
39170 if test "x$GCC_PCH" = "x1" ; then
39174 COND_MONOLITHIC_0
="#"
39175 if test "x$MONOLITHIC" = "x0" ; then
39176 COND_MONOLITHIC_0
=""
39179 COND_MONOLITHIC_0_SHARED_0
="#"
39180 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" ; then
39181 COND_MONOLITHIC_0_SHARED_0
=""
39184 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1
="#"
39185 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" ; then
39186 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1
=""
39189 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_ODBC_1
="#"
39190 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_ODBC" = "x1" ; then
39191 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_ODBC_1
=""
39194 COND_MONOLITHIC_0_SHARED_0_USE_HTML_1
="#"
39195 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_HTML" = "x1" ; then
39196 COND_MONOLITHIC_0_SHARED_0_USE_HTML_1
=""
39199 COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1
="#"
39200 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_ODBC" = "x1" ; then
39201 COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1
=""
39204 COND_MONOLITHIC_0_SHARED_1
="#"
39205 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" ; then
39206 COND_MONOLITHIC_0_SHARED_1
=""
39209 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1
="#"
39210 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" ; then
39211 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1
=""
39214 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_ODBC_1
="#"
39215 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_ODBC" = "x1" ; then
39216 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_ODBC_1
=""
39219 COND_MONOLITHIC_0_SHARED_1_USE_HTML_1
="#"
39220 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_HTML" = "x1" ; then
39221 COND_MONOLITHIC_0_SHARED_1_USE_HTML_1
=""
39224 COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1
="#"
39225 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_ODBC" = "x1" ; then
39226 COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1
=""
39229 COND_MONOLITHIC_0_USE_ODBC_1
="#"
39230 if test "x$MONOLITHIC" = "x0" -a "x$USE_ODBC" = "x1" ; then
39231 COND_MONOLITHIC_0_USE_ODBC_1
=""
39234 COND_MONOLITHIC_1
="#"
39235 if test "x$MONOLITHIC" = "x1" ; then
39236 COND_MONOLITHIC_1
=""
39239 COND_MONOLITHIC_1_SHARED_0
="#"
39240 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x0" ; then
39241 COND_MONOLITHIC_1_SHARED_0
=""
39244 COND_MONOLITHIC_1_SHARED_1
="#"
39245 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x1" ; then
39246 COND_MONOLITHIC_1_SHARED_1
=""
39249 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1
="#"
39250 if test "x$OFFICIAL_BUILD" = "x0" -a "x$PLATFORM_WIN32" = "x1" ; then
39251 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1
=""
39254 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1
="#"
39255 if test "x$OFFICIAL_BUILD" = "x1" -a "x$PLATFORM_WIN32" = "x1" ; then
39256 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1
=""
39259 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1
="#"
39260 if test "x$PLATFORM_MACOSX" = "x0" -a "x$USE_SOVERSION" = "x1" ; then
39261 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1
=""
39264 COND_PLATFORM_MACOSX_1
="#"
39265 if test "x$PLATFORM_MACOSX" = "x1" ; then
39266 COND_PLATFORM_MACOSX_1
=""
39269 COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA
="#"
39270 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xCOCOA" ; then
39271 COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA
=""
39274 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK
="#"
39275 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xGTK" ; then
39276 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK
=""
39279 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC
="#"
39280 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMAC" ; then
39281 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC
=""
39284 COND_PLATFORM_MACOSX_1_USE_GUI_1
="#"
39285 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_GUI" = "x1" ; then
39286 COND_PLATFORM_MACOSX_1_USE_GUI_1
=""
39289 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1
="#"
39290 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_SOVERSION" = "x1" ; then
39291 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1
=""
39294 COND_PLATFORM_MAC_1
="#"
39295 if test "x$PLATFORM_MAC" = "x1" ; then
39296 COND_PLATFORM_MAC_1
=""
39299 COND_PLATFORM_OS2_1
="#"
39300 if test "x$PLATFORM_OS2" = "x1" ; then
39301 COND_PLATFORM_OS2_1
=""
39304 COND_PLATFORM_UNIX_0
="#"
39305 if test "x$PLATFORM_UNIX" = "x0" ; then
39306 COND_PLATFORM_UNIX_0
=""
39309 COND_PLATFORM_UNIX_1
="#"
39310 if test "x$PLATFORM_UNIX" = "x1" ; then
39311 COND_PLATFORM_UNIX_1
=""
39314 COND_PLATFORM_UNIX_1_USE_GUI_1
="#"
39315 if test "x$PLATFORM_UNIX" = "x1" -a "x$USE_GUI" = "x1" ; then
39316 COND_PLATFORM_UNIX_1_USE_GUI_1
=""
39319 COND_PLATFORM_UNIX_1_USE_PLUGINS_0
="#"
39320 if test "x$PLATFORM_UNIX" = "x1" -a "x$USE_PLUGINS" = "x0" ; then
39321 COND_PLATFORM_UNIX_1_USE_PLUGINS_0
=""
39324 COND_PLATFORM_WIN32_0
="#"
39325 if test "x$PLATFORM_WIN32" = "x0" ; then
39326 COND_PLATFORM_WIN32_0
=""
39329 COND_PLATFORM_WIN32_1
="#"
39330 if test "x$PLATFORM_WIN32" = "x1" ; then
39331 COND_PLATFORM_WIN32_1
=""
39335 if test "x$SHARED" = "x0" ; then
39339 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1
="#"
39340 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
39341 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1
=""
39344 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN
="#"
39345 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
39346 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN
=""
39349 COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN
="#"
39350 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
39351 COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN
=""
39354 COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN
="#"
39355 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
39356 COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN
=""
39359 COND_SHARED_0_WXUSE_EXPAT_BUILTIN
="#"
39360 if test "x$SHARED" = "x0" -a "x$wxUSE_EXPAT" = "xbuiltin" ; then
39361 COND_SHARED_0_WXUSE_EXPAT_BUILTIN
=""
39364 COND_SHARED_0_WXUSE_ODBC_BUILTIN
="#"
39365 if test "x$SHARED" = "x0" -a "x$wxUSE_ODBC" = "xbuiltin" ; then
39366 COND_SHARED_0_WXUSE_ODBC_BUILTIN
=""
39369 COND_SHARED_0_WXUSE_REGEX_BUILTIN
="#"
39370 if test "x$SHARED" = "x0" -a "x$wxUSE_REGEX" = "xbuiltin" ; then
39371 COND_SHARED_0_WXUSE_REGEX_BUILTIN
=""
39374 COND_SHARED_0_WXUSE_ZLIB_BUILTIN
="#"
39375 if test "x$SHARED" = "x0" -a "x$wxUSE_ZLIB" = "xbuiltin" ; then
39376 COND_SHARED_0_WXUSE_ZLIB_BUILTIN
=""
39380 if test "x$SHARED" = "x1" ; then
39384 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1
="#"
39385 if test "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
39386 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1
=""
39389 COND_TOOLKIT_COCOA
="#"
39390 if test "x$TOOLKIT" = "xCOCOA" ; then
39391 COND_TOOLKIT_COCOA
=""
39394 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0
="#"
39395 if test "x$TOOLKIT" = "xCOCOA" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
39396 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0
=""
39399 COND_TOOLKIT_GTK
="#"
39400 if test "x$TOOLKIT" = "xGTK" ; then
39401 COND_TOOLKIT_GTK
=""
39404 COND_TOOLKIT_GTK_USE_GUI_1
="#"
39405 if test "x$TOOLKIT" = "xGTK" -a "x$USE_GUI" = "x1" ; then
39406 COND_TOOLKIT_GTK_USE_GUI_1
=""
39409 COND_TOOLKIT_GTK_USE_GUI_1_WXUNIV_0
="#"
39410 if test "x$TOOLKIT" = "xGTK" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
39411 COND_TOOLKIT_GTK_USE_GUI_1_WXUNIV_0
=""
39414 COND_TOOLKIT_MAC
="#"
39415 if test "x$TOOLKIT" = "xMAC" ; then
39416 COND_TOOLKIT_MAC
=""
39419 COND_TOOLKIT_MAC_USE_GUI_1
="#"
39420 if test "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" ; then
39421 COND_TOOLKIT_MAC_USE_GUI_1
=""
39424 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0
="#"
39425 if test "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
39426 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0
=""
39429 COND_TOOLKIT_MGL
="#"
39430 if test "x$TOOLKIT" = "xMGL" ; then
39431 COND_TOOLKIT_MGL
=""
39434 COND_TOOLKIT_MGL_USE_GUI_1
="#"
39435 if test "x$TOOLKIT" = "xMGL" -a "x$USE_GUI" = "x1" ; then
39436 COND_TOOLKIT_MGL_USE_GUI_1
=""
39439 COND_TOOLKIT_MOTIF
="#"
39440 if test "x$TOOLKIT" = "xMOTIF" ; then
39441 COND_TOOLKIT_MOTIF
=""
39444 COND_TOOLKIT_MOTIF_USE_GUI_1
="#"
39445 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" ; then
39446 COND_TOOLKIT_MOTIF_USE_GUI_1
=""
39449 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0
="#"
39450 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
39451 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0
=""
39454 COND_TOOLKIT_MSW
="#"
39455 if test "x$TOOLKIT" = "xMSW" ; then
39456 COND_TOOLKIT_MSW
=""
39459 COND_TOOLKIT_MSW_USE_GUI_1
="#"
39460 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" ; then
39461 COND_TOOLKIT_MSW_USE_GUI_1
=""
39464 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0
="#"
39465 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
39466 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0
=""
39469 COND_TOOLKIT_PM
="#"
39470 if test "x$TOOLKIT" = "xPM" ; then
39474 COND_TOOLKIT_PM_USE_GUI_1
="#"
39475 if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" ; then
39476 COND_TOOLKIT_PM_USE_GUI_1
=""
39479 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0
="#"
39480 if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
39481 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0
=""
39484 COND_TOOLKIT_X11
="#"
39485 if test "x$TOOLKIT" = "xX11" ; then
39486 COND_TOOLKIT_X11
=""
39489 COND_TOOLKIT_X11_USE_GUI_1
="#"
39490 if test "x$TOOLKIT" = "xX11" -a "x$USE_GUI" = "x1" ; then
39491 COND_TOOLKIT_X11_USE_GUI_1
=""
39495 if test "x$UNICODE" = "x1" ; then
39499 COND_USE_EXCEPTIONS_0
="#"
39500 if test "x$USE_EXCEPTIONS" = "x0" ; then
39501 COND_USE_EXCEPTIONS_0
=""
39504 COND_USE_EXCEPTIONS_1
="#"
39505 if test "x$USE_EXCEPTIONS" = "x1" ; then
39506 COND_USE_EXCEPTIONS_1
=""
39510 if test "x$USE_GUI" = "x0" ; then
39515 if test "x$USE_GUI" = "x1" ; then
39519 COND_USE_GUI_1_WXUNIV_0
="#"
39520 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
39521 COND_USE_GUI_1_WXUNIV_0
=""
39524 COND_USE_GUI_1_WXUNIV_1
="#"
39525 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x1" ; then
39526 COND_USE_GUI_1_WXUNIV_1
=""
39529 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN
="#"
39530 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
39531 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN
=""
39534 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN
="#"
39535 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
39536 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN
=""
39539 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN
="#"
39540 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
39541 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN
=""
39544 COND_USE_ODBC_1
="#"
39545 if test "x$USE_ODBC" = "x1" ; then
39549 COND_USE_PLUGINS_0
="#"
39550 if test "x$USE_PLUGINS" = "x0" ; then
39551 COND_USE_PLUGINS_0
=""
39554 COND_USE_SOSYMLINKS_1
="#"
39555 if test "x$USE_SOSYMLINKS" = "x1" ; then
39556 COND_USE_SOSYMLINKS_1
=""
39559 COND_USE_SOVERLINUX_1
="#"
39560 if test "x$USE_SOVERLINUX" = "x1" ; then
39561 COND_USE_SOVERLINUX_1
=""
39564 COND_USE_SOVERSION_0
="#"
39565 if test "x$USE_SOVERSION" = "x0" ; then
39566 COND_USE_SOVERSION_0
=""
39569 COND_USE_SOVERSOLARIS_1
="#"
39570 if test "x$USE_SOVERSOLARIS" = "x1" ; then
39571 COND_USE_SOVERSOLARIS_1
=""
39574 COND_WITH_PLUGIN_SDL_1
="#"
39575 if test "x$WITH_PLUGIN_SDL" = "x1" ; then
39576 COND_WITH_PLUGIN_SDL_1
=""
39579 COND_WITH_SDL_1
="#"
39580 if test "x$WITH_SDL" = "x1" ; then
39585 if test "x$WXUNIV" = "x1" ; then
39589 COND_WXUSE_EXPAT_BUILTIN
="#"
39590 if test "x$wxUSE_EXPAT" = "xbuiltin" ; then
39591 COND_WXUSE_EXPAT_BUILTIN
=""
39594 COND_WXUSE_LIBJPEG_BUILTIN
="#"
39595 if test "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
39596 COND_WXUSE_LIBJPEG_BUILTIN
=""
39599 COND_WXUSE_LIBPNG_BUILTIN
="#"
39600 if test "x$wxUSE_LIBPNG" = "xbuiltin" ; then
39601 COND_WXUSE_LIBPNG_BUILTIN
=""
39604 COND_WXUSE_LIBTIFF_BUILTIN
="#"
39605 if test "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
39606 COND_WXUSE_LIBTIFF_BUILTIN
=""
39609 COND_WXUSE_ODBC_BUILTIN
="#"
39610 if test "x$wxUSE_ODBC" = "xbuiltin" ; then
39611 COND_WXUSE_ODBC_BUILTIN
=""
39614 COND_WXUSE_REGEX_BUILTIN
="#"
39615 if test "x$wxUSE_REGEX" = "xbuiltin" ; then
39616 COND_WXUSE_REGEX_BUILTIN
=""
39619 COND_WXUSE_ZLIB_BUILTIN
="#"
39620 if test "x$wxUSE_ZLIB" = "xbuiltin" ; then
39621 COND_WXUSE_ZLIB_BUILTIN
=""
39628 if test $GCC_PCH = 1 ; then
39629 CODE_GEN_FLAGS
="-DWX_PRECOMP -DNO_GCC_PRAGMA $CODE_GEN_FLAGS"
39630 CPPFLAGS
="-DWX_PRECOMP -DNO_GCC_PRAGMA $CPPFLAGS"
39633 powerpc
-*-darwin* )
39634 CODE_GEN_FLAGS
="-DNO_GCC_PRAGMA $CODE_GEN_FLAGS"
39635 CPPFLAGS
="-DNO_GCC_PRAGMA $CPPFLAGS"
39641 SAMPLES_SUBDIRS
="`echo $SAMPLES_SUBDIRS | tr -s ' ' | tr ' ' '\n' | sort | uniq | tr '\n' ' '| tr -d '\r'`"
39742 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
39743 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
39744 set dummy
${MAKE-make}; ac_make
=`echo "$2" | sed 'y,:./+-,___p_,'`
39745 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
39746 echo $ECHO_N "(cached) $ECHO_C" >&6
39748 cat >conftest.
make <<\_ACEOF
39750 @
echo 'ac_maketemp="$(MAKE)"'
39752 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
39753 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
39754 if test -n "$ac_maketemp"; then
39755 eval ac_cv_prog_make_
${ac_make}_set
=yes
39757 eval ac_cv_prog_make_
${ac_make}_set
=no
39759 rm -f conftest.
make
39761 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
39762 echo "$as_me:$LINENO: result: yes" >&5
39763 echo "${ECHO_T}yes" >&6
39766 echo "$as_me:$LINENO: result: no" >&5
39767 echo "${ECHO_T}no" >&6
39768 SET_MAKE
="MAKE=${MAKE-make}"
39772 if test -f lib
/wx
/include
/${TOOLCHAIN_NAME}/wx
/setup.h
; then
39773 mv -f lib
/wx
/include
/${TOOLCHAIN_NAME}/wx
/setup.h setup.h
39776 ac_config_headers
="$ac_config_headers setup.h"
39779 ac_config_files
="$ac_config_files wx-config version-script Makefile"
39782 ac_config_commands
="$ac_config_commands default"
39786 if test "$wxUSE_GUI" = "yes"; then
39787 SUBDIRS
="samples demos utils contrib"
39788 else SUBDIRS
="samples utils"
39793 # Check whether --with-cppunit-prefix or --without-cppunit-prefix was given.
39794 if test "${with_cppunit_prefix+set}" = set; then
39795 withval
="$with_cppunit_prefix"
39796 cppunit_config_prefix
="$withval"
39798 cppunit_config_prefix
=""
39801 # Check whether --with-cppunit-exec-prefix or --without-cppunit-exec-prefix was given.
39802 if test "${with_cppunit_exec_prefix+set}" = set; then
39803 withval
="$with_cppunit_exec_prefix"
39804 cppunit_config_exec_prefix
="$withval"
39806 cppunit_config_exec_prefix
=""
39809 if test x
$cppunit_config_exec_prefix != x
; then
39810 cppunit_config_args
="$cppunit_config_args --exec-prefix=$cppunit_config_exec_prefix"
39811 if test x
${CPPUNIT_CONFIG+set} != xset
; then
39812 CPPUNIT_CONFIG
=$cppunit_config_exec_prefix/bin
/cppunit
-config
39815 if test x
$cppunit_config_prefix != x
; then
39816 cppunit_config_args
="$cppunit_config_args --prefix=$cppunit_config_prefix"
39817 if test x
${CPPUNIT_CONFIG+set} != xset
; then
39818 CPPUNIT_CONFIG
=$cppunit_config_prefix/bin
/cppunit
-config
39822 # Extract the first word of "cppunit-config", so it can be a program name with args.
39823 set dummy cppunit
-config; ac_word
=$2
39824 echo "$as_me:$LINENO: checking for $ac_word" >&5
39825 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
39826 if test "${ac_cv_path_CPPUNIT_CONFIG+set}" = set; then
39827 echo $ECHO_N "(cached) $ECHO_C" >&6
39829 case $CPPUNIT_CONFIG in
39831 ac_cv_path_CPPUNIT_CONFIG
="$CPPUNIT_CONFIG" # Let the user override the test with a path.
39834 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
39835 for as_dir
in $PATH
39838 test -z "$as_dir" && as_dir
=.
39839 for ac_exec_ext
in '' $ac_executable_extensions; do
39840 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
39841 ac_cv_path_CPPUNIT_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
39842 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
39848 test -z "$ac_cv_path_CPPUNIT_CONFIG" && ac_cv_path_CPPUNIT_CONFIG
="no"
39852 CPPUNIT_CONFIG
=$ac_cv_path_CPPUNIT_CONFIG
39854 if test -n "$CPPUNIT_CONFIG"; then
39855 echo "$as_me:$LINENO: result: $CPPUNIT_CONFIG" >&5
39856 echo "${ECHO_T}$CPPUNIT_CONFIG" >&6
39858 echo "$as_me:$LINENO: result: no" >&5
39859 echo "${ECHO_T}no" >&6
39862 cppunit_version_min
=1.8.0
39864 echo "$as_me:$LINENO: checking for Cppunit - version >= $cppunit_version_min" >&5
39865 echo $ECHO_N "checking for Cppunit - version >= $cppunit_version_min... $ECHO_C" >&6
39867 if test "$CPPUNIT_CONFIG" = "no" ; then
39870 CPPUNIT_CFLAGS
=`$CPPUNIT_CONFIG --cflags`
39871 CPPUNIT_LIBS
=`$CPPUNIT_CONFIG --libs`
39872 cppunit_version
=`$CPPUNIT_CONFIG --version`
39874 cppunit_major_version
=`echo $cppunit_version | \
39875 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
39876 cppunit_minor_version
=`echo $cppunit_version | \
39877 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
39878 cppunit_micro_version
=`echo $cppunit_version | \
39879 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
39881 cppunit_major_min
=`echo $cppunit_version_min | \
39882 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
39883 cppunit_minor_min
=`echo $cppunit_version_min | \
39884 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
39885 cppunit_micro_min
=`echo $cppunit_version_min | \
39886 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
39888 cppunit_version_proper
=`expr \
39889 $cppunit_major_version \> $cppunit_major_min \| \
39890 $cppunit_major_version \= $cppunit_major_min \& \
39891 $cppunit_minor_version \> $cppunit_minor_min \| \
39892 $cppunit_major_version \= $cppunit_major_min \& \
39893 $cppunit_minor_version \= $cppunit_minor_min \& \
39894 $cppunit_micro_version \>= $cppunit_micro_min `
39896 if test "$cppunit_version_proper" = "1" ; then
39897 echo "$as_me:$LINENO: result: $cppunit_major_version.$cppunit_minor_version.$cppunit_micro_version" >&5
39898 echo "${ECHO_T}$cppunit_major_version.$cppunit_minor_version.$cppunit_micro_version" >&6
39900 echo "$as_me:$LINENO: result: no" >&5
39901 echo "${ECHO_T}no" >&6
39906 if test "x$no_cppunit" = x
; then
39907 SUBDIRS
="$SUBDIRS tests"
39918 for subdir
in `echo $SUBDIRS`; do
39919 if test -d ${srcdir}/${subdir} ; then
39920 if test "$wxUSE_GUI" = "yes"; then
39921 if test ${subdir} = "samples"; then
39922 makefiles
="samples/Makefile.in $makefiles"
39923 for sample
in `echo $SAMPLES_SUBDIRS`; do
39924 if test -d $srcdir/samples
/$sample; then
39925 makefiles
="samples/$sample/Makefile.in $makefiles"
39928 else makefiles
=`(cd $srcdir ; find $subdir -name Makefile.in)`
39930 else if test ${subdir} = "samples"; then
39931 makefiles
="samples/Makefile.in samples/console/Makefile.in"
39932 elif test ${subdir} = "utils"; then
39933 makefiles
="utils/HelpGen/Makefile.in \
39934 utils/HelpGen/src/Makefile.in \
39935 utils/tex2rtf/Makefile.in \
39936 utils/tex2rtf/src/Makefile.in"
39937 else makefiles
=`(cd $srcdir ; find $subdir -name Makefile.in)`
39941 for mkin
in $makefiles ; do
39942 mk
=`echo $mkin | sed 's/Makefile\.in/Makefile/g'`
39943 ac_config_files
="$ac_config_files $mk"
39950 cat >confcache
<<\_ACEOF
39951 # This file is a shell script that caches the results of configure
39952 # tests run on this system so they can be shared between configure
39953 # scripts and configure runs, see configure's option --config-cache.
39954 # It is not useful on other systems. If it contains results you don't
39955 # want to keep, you may remove or edit it.
39957 # config.status only pays attention to the cache file if you give it
39958 # the --recheck option to rerun configure.
39960 # `ac_cv_env_foo' variables (set or unset) will be overridden when
39961 # loading this file, other *unset* `ac_cv_foo' will be assigned the
39962 # following values.
39966 # The following way of writing the cache mishandles newlines in values,
39967 # but we know of no workaround that is simple, portable, and efficient.
39968 # So, don't put newlines in cache variables' values.
39969 # Ultrix sh set writes to stderr and can't be redirected directly,
39970 # and sets the high bit in the cache file unless we assign to the vars.
39973 case `(ac_space=' '; set | grep ac_space) 2>&1` in
39975 # `set' does not quote correctly, so add quotes (double-quote
39976 # substitution turns \\\\ into \\, and sed turns \\ into \).
39979 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
39982 # `set' quotes correctly as required by POSIX, so do not add quotes.
39984 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
39991 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
39993 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
39995 if diff $cache_file confcache
>/dev
/null
2>&1; then :; else
39996 if test -w $cache_file; then
39997 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
39998 cat confcache
>$cache_file
40000 echo "not updating unwritable cache $cache_file"
40005 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
40006 # Let make expand exec_prefix.
40007 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
40009 # VPATH may cause trouble with some makes, so we remove $(srcdir),
40010 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
40011 # trailing colons and then remove the whole line if VPATH becomes empty
40012 # (actually we leave an empty line to preserve line numbers).
40013 if test "x$srcdir" = x.
; then
40014 ac_vpsub
='/^[ ]*VPATH[ ]*=/{
40015 s/:*\$(srcdir):*/:/;
40016 s/:*\${srcdir}:*/:/;
40018 s/^\([^=]*=[ ]*\):*/\1/;
40024 DEFS
=-DHAVE_CONFIG_H
40028 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
40029 # 1. Remove the extension, and $U if already installed.
40030 ac_i
=`echo "$ac_i" |
40031 sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
40033 ac_libobjs
="$ac_libobjs $ac_i\$U.$ac_objext"
40034 ac_ltlibobjs
="$ac_ltlibobjs $ac_i"'$U.lo'
40036 LIBOBJS
=$ac_libobjs
40038 LTLIBOBJS
=$ac_ltlibobjs
40042 : ${CONFIG_STATUS=./config.status}
40043 ac_clean_files_save
=$ac_clean_files
40044 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
40045 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
40046 echo "$as_me: creating $CONFIG_STATUS" >&6;}
40047 cat >$CONFIG_STATUS <<_ACEOF
40049 # Generated by $as_me.
40050 # Run this file to recreate the current configuration.
40051 # Compiler output produced by configure, useful for debugging
40052 # configure, is in config.log if it exists.
40055 ac_cs_recheck=false
40057 SHELL=\${CONFIG_SHELL-$SHELL}
40060 cat >>$CONFIG_STATUS <<\_ACEOF
40061 ## --------------------- ##
40062 ## M4sh Initialization. ##
40063 ## --------------------- ##
40065 # Be Bourne compatible
40066 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
40069 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
40070 # is contrary to our usage. Disable this feature.
40071 alias -g '${1+"$@"}'='"$@"'
40072 elif test -n "${BASH_VERSION+set}" && (set -o posix
) >/dev
/null
2>&1; then
40075 DUALCASE
=1; export DUALCASE
# for MKS sh
40077 # Support unset when possible.
40078 if ( (MAIL
=60; unset MAIL
) || exit) >/dev
/null
2>&1; then
40085 # Work around bugs in pre-3.0 UWIN ksh.
40086 $as_unset ENV MAIL MAILPATH
40093 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
40094 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
40095 LC_TELEPHONE LC_TIME
40097 if (set +x
; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
40098 eval $as_var=C
; export $as_var
40104 # Required to use basename.
40105 if expr a
: '\(a\)' >/dev
/null
2>&1; then
40111 if (basename /) >/dev
/null
2>&1 && test "X`basename / 2>&1`" = "X/"; then
40112 as_basename
=basename
40118 # Name of the executable.
40119 as_me
=`$as_basename "$0" ||
40120 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
40121 X"$0" : 'X\(//\)$' \| \
40122 X"$0" : 'X\(/\)$' \| \
40123 . : '\(.\)' 2>/dev/null ||
40125 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
40126 /^X\/\(\/\/\)$/{ s//\1/; q; }
40127 /^X\/\(\/\).*/{ s//\1/; q; }
40131 # PATH needs CR, and LINENO needs CR and PATH.
40132 # Avoid depending upon Character Ranges.
40133 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
40134 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
40135 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
40136 as_cr_digits
='0123456789'
40137 as_cr_alnum
=$as_cr_Letters$as_cr_digits
40139 # The user is always right.
40140 if test "${PATH_SEPARATOR+set}" != set; then
40141 echo "#! /bin/sh" >conf$$.sh
40142 echo "exit 0" >>conf$$.sh
40144 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
40153 as_lineno_1
=$LINENO
40154 as_lineno_2
=$LINENO
40155 as_lineno_3
=`(expr $as_lineno_1 + 1) 2>/dev/null`
40156 test "x$as_lineno_1" != "x$as_lineno_2" &&
40157 test "x$as_lineno_3" = "x$as_lineno_2" || {
40158 # Find who we are. Look in the path if we contain no path at all
40161 *[\\/]* ) as_myself
=$0 ;;
40162 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
40163 for as_dir
in $PATH
40166 test -z "$as_dir" && as_dir
=.
40167 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
40172 # We did not find ourselves, most probably we were run as `sh COMMAND'
40173 # in which case we are not to be found in the path.
40174 if test "x$as_myself" = x
; then
40177 if test ! -f "$as_myself"; then
40178 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
40179 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
40180 { (exit 1); exit 1; }; }
40182 case $CONFIG_SHELL in
40184 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
40185 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
40188 test -z "$as_dir" && as_dir
=.
40189 for as_base
in sh bash ksh sh5
; do
40192 if ("$as_dir/$as_base" -c '
40193 as_lineno_1=$LINENO
40194 as_lineno_2=$LINENO
40195 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
40196 test "x$as_lineno_1" != "x$as_lineno_2" &&
40197 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev
/null
; then
40198 $as_unset BASH_ENV
|| test "${BASH_ENV+set}" != set || { BASH_ENV
=; export BASH_ENV
; }
40199 $as_unset ENV
|| test "${ENV+set}" != set || { ENV
=; export ENV
; }
40200 CONFIG_SHELL
=$as_dir/$as_base
40201 export CONFIG_SHELL
40202 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
40210 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
40211 # uniformly replaced by the line number. The first 'sed' inserts a
40212 # line-number line before each line; the second 'sed' does the real
40213 # work. The second script uses 'N' to pair each line-number line
40214 # with the numbered line, and appends trailing '-' during
40215 # substitution so that $LINENO is not a special case at line end.
40216 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
40217 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
40218 sed '=' <$as_myself |
40223 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
40226 s,^['$as_cr_digits']*\n,,
40227 ' >$as_me.lineno
&&
40228 chmod +x
$as_me.lineno
||
40229 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
40230 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
40231 { (exit 1); exit 1; }; }
40233 # Don't try to exec as it changes $[0], causing all sort of problems
40234 # (the dirname of $[0] is not the place where we might find the
40235 # original and so on. Autoconf is especially sensible to this).
40237 # Exit status is that of the last command.
40242 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
40243 *c
*,-n*) ECHO_N
= ECHO_C
='
40245 *c
*,* ) ECHO_N
=-n ECHO_C
= ECHO_T
= ;;
40246 *) ECHO_N
= ECHO_C
='\c' ECHO_T
= ;;
40249 if expr a
: '\(a\)' >/dev
/null
2>&1; then
40255 rm -f conf$$ conf$$.exe conf$$.
file
40257 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
40258 # We could just check for DJGPP; but this test a) works b) is more generic
40259 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
40260 if test -f conf$$.exe
; then
40261 # Don't use ln at all; we don't have any links
40266 elif ln conf$$.
file conf$$
2>/dev
/null
; then
40271 rm -f conf$$ conf$$.exe conf$$.
file
40273 if mkdir -p .
2>/dev
/null
; then
40276 test -d .
/-p && rmdir .
/-p
40280 as_executable_p
="test -f"
40282 # Sed expression to map a string onto a valid CPP name.
40283 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
40285 # Sed expression to map a string onto a valid variable name.
40286 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
40290 # We need space, tab and new line, in precisely that order.
40300 # Open the log real soon, to keep \$[0] and so on meaningful, and to
40301 # report actual input values of CONFIG_FILES etc. instead of their
40302 # values after options handling. Logging --version etc. is OK.
40306 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
40307 ## Running $as_me. ##
40312 This file was extended by wxWindows $as_me 2.5.1, which was
40313 generated by GNU Autoconf 2.59. Invocation command line was
40315 CONFIG_FILES = $CONFIG_FILES
40316 CONFIG_HEADERS = $CONFIG_HEADERS
40317 CONFIG_LINKS = $CONFIG_LINKS
40318 CONFIG_COMMANDS = $CONFIG_COMMANDS
40322 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
40326 # Files that config.status was made for.
40327 if test -n "$ac_config_files"; then
40328 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
40331 if test -n "$ac_config_headers"; then
40332 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
40335 if test -n "$ac_config_links"; then
40336 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
40339 if test -n "$ac_config_commands"; then
40340 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
40343 cat >>$CONFIG_STATUS <<\_ACEOF
40346 \`$as_me' instantiates files from templates according to the
40347 current configuration.
40349 Usage: $0 [OPTIONS] [FILE]...
40351 -h, --help print this help, then exit
40352 -V, --version print version number, then exit
40353 -q, --quiet do not print progress messages
40354 -d, --debug don't remove temporary files
40355 --recheck update $as_me by reconfiguring in the same conditions
40356 --file=FILE[:TEMPLATE]
40357 instantiate the configuration file FILE
40358 --header=FILE[:TEMPLATE]
40359 instantiate the configuration header FILE
40361 Configuration files:
40364 Configuration headers:
40367 Configuration commands:
40370 Report bugs to <bug-autoconf@gnu.org>."
40373 cat >>$CONFIG_STATUS <<_ACEOF
40375 wxWindows config.status 2.5.1
40376 configured by $0, generated by GNU Autoconf 2.59,
40377 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
40379 Copyright (C) 2003 Free Software Foundation, Inc.
40380 This config.status script is free software; the Free Software Foundation
40381 gives unlimited permission to copy, distribute and modify it."
40386 cat >>$CONFIG_STATUS <<\_ACEOF
40387 # If no file are specified by the user, then we need to provide default
40388 # value. By we need to know if files were specified by the user.
40394 ac_option
=`expr "x$1" : 'x\([^=]*\)='`
40395 ac_optarg
=`expr "x$1" : 'x[^=]*=\(.*\)'`
40403 *) # This is not an option, so the user has probably given explicit
40406 ac_need_defaults
=false
;;
40410 # Handling of the options.
40412 cat >>$CONFIG_STATUS <<\_ACEOF
40413 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
40415 --version | --vers* | -V )
40416 echo "$ac_cs_version"; exit 0 ;;
40418 # Conflict between --help and --header
40419 { { echo "$as_me:$LINENO: error: ambiguous option: $1
40420 Try \`$0 --help' for more information." >&5
40421 echo "$as_me: error: ambiguous option: $1
40422 Try \`$0 --help' for more information." >&2;}
40423 { (exit 1); exit 1; }; };;
40424 --help | --hel | -h )
40425 echo "$ac_cs_usage"; exit 0 ;;
40426 --debug | --d* | -d )
40428 --file | --fil | --fi | --f )
40430 CONFIG_FILES
="$CONFIG_FILES $ac_optarg"
40431 ac_need_defaults
=false
;;
40432 --header | --heade | --head | --hea )
40434 CONFIG_HEADERS
="$CONFIG_HEADERS $ac_optarg"
40435 ac_need_defaults
=false
;;
40436 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
40437 | -silent | --silent | --silen | --sile | --sil | --si | --s)
40440 # This is an error.
40441 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
40442 Try \`$0 --help' for more information." >&5
40443 echo "$as_me: error: unrecognized option: $1
40444 Try \`$0 --help' for more information." >&2;}
40445 { (exit 1); exit 1; }; } ;;
40447 *) ac_config_targets
="$ac_config_targets $1" ;;
40453 ac_configure_extra_args
=
40455 if $ac_cs_silent; then
40457 ac_configure_extra_args
="$ac_configure_extra_args --silent"
40461 cat >>$CONFIG_STATUS <<_ACEOF
40462 if \$ac_cs_recheck; then
40463 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
40464 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
40469 cat >>$CONFIG_STATUS <<_ACEOF
40471 # INIT-COMMANDS section.
40475 TOOLCHAIN_NAME="${TOOLCHAIN_NAME}"
40484 cat >>$CONFIG_STATUS <<\_ACEOF
40485 for ac_config_target
in $ac_config_targets
40487 case "$ac_config_target" in
40488 # Handling of arguments.
40489 "wx-config" ) CONFIG_FILES
="$CONFIG_FILES wx-config" ;;
40490 "version-script" ) CONFIG_FILES
="$CONFIG_FILES version-script" ;;
40491 "Makefile" ) CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
40492 "$mk" ) CONFIG_FILES
="$CONFIG_FILES $mk" ;;
40493 "default" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS default" ;;
40494 "setup.h" ) CONFIG_HEADERS
="$CONFIG_HEADERS setup.h" ;;
40495 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
40496 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
40497 { (exit 1); exit 1; }; };;
40501 # If the user did not use the arguments to specify the items to instantiate,
40502 # then the envvar interface is used. Set only those that are not.
40503 # We use the long form for the default assignment because of an extremely
40504 # bizarre bug on SunOS 4.1.3.
40505 if $ac_need_defaults; then
40506 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
40507 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
40508 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
40511 # Have a temporary directory for convenience. Make it in the build tree
40512 # simply because there is no reason to put it here, and in addition,
40513 # creating and moving files from /tmp can sometimes cause problems.
40514 # Create a temporary directory, and hook for its removal unless debugging.
40517 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
40518 trap '{ (exit 1); exit 1; }' 1 2 13 15
40521 # Create a (secure) tmp directory for tmp files.
40524 tmp
=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
40525 test -n "$tmp" && test -d "$tmp"
40528 tmp
=.
/confstat$$
-$RANDOM
40529 (umask 077 && mkdir $tmp)
40532 echo "$me: cannot create a temporary directory in ." >&2
40533 { (exit 1); exit 1; }
40538 cat >>$CONFIG_STATUS <<_ACEOF
40541 # CONFIG_FILES section.
40544 # No need to generate the scripts if there are no CONFIG_FILES.
40545 # This happens for instance when ./config.status config.h
40546 if test -n "\$CONFIG_FILES"; then
40547 # Protect against being on the right side of a sed subst in config.status.
40548 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
40549 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
40550 s,@SHELL@,$SHELL,;t t
40551 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
40552 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
40553 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
40554 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
40555 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
40556 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
40557 s,@exec_prefix@,$exec_prefix,;t t
40558 s,@prefix@,$prefix,;t t
40559 s,@program_transform_name@,$program_transform_name,;t t
40560 s,@bindir@,$bindir,;t t
40561 s,@sbindir@,$sbindir,;t t
40562 s,@libexecdir@,$libexecdir,;t t
40563 s,@datadir@,$datadir,;t t
40564 s,@sysconfdir@,$sysconfdir,;t t
40565 s,@sharedstatedir@,$sharedstatedir,;t t
40566 s,@localstatedir@,$localstatedir,;t t
40567 s,@libdir@,$libdir,;t t
40568 s,@includedir@,$includedir,;t t
40569 s,@oldincludedir@,$oldincludedir,;t t
40570 s,@infodir@,$infodir,;t t
40571 s,@mandir@,$mandir,;t t
40572 s,@build_alias@,$build_alias,;t t
40573 s,@host_alias@,$host_alias,;t t
40574 s,@target_alias@,$target_alias,;t t
40575 s,@DEFS@,$DEFS,;t t
40576 s,@ECHO_C@,$ECHO_C,;t t
40577 s,@ECHO_N@,$ECHO_N,;t t
40578 s,@ECHO_T@,$ECHO_T,;t t
40579 s,@LIBS@,$LIBS,;t t
40580 s,@build@,$build,;t t
40581 s,@build_cpu@,$build_cpu,;t t
40582 s,@build_vendor@,$build_vendor,;t t
40583 s,@build_os@,$build_os,;t t
40584 s,@host@,$host,;t t
40585 s,@host_cpu@,$host_cpu,;t t
40586 s,@host_vendor@,$host_vendor,;t t
40587 s,@host_os@,$host_os,;t t
40588 s,@target@,$target,;t t
40589 s,@target_cpu@,$target_cpu,;t t
40590 s,@target_vendor@,$target_vendor,;t t
40591 s,@target_os@,$target_os,;t t
40593 s,@CFLAGS@,$CFLAGS,;t t
40594 s,@LDFLAGS@,$LDFLAGS,;t t
40595 s,@CPPFLAGS@,$CPPFLAGS,;t t
40596 s,@ac_ct_CC@,$ac_ct_CC,;t t
40597 s,@EXEEXT@,$EXEEXT,;t t
40598 s,@OBJEXT@,$OBJEXT,;t t
40600 s,@EGREP@,$EGREP,;t t
40602 s,@CXXFLAGS@,$CXXFLAGS,;t t
40603 s,@ac_ct_CXX@,$ac_ct_CXX,;t t
40604 s,@RANLIB@,$RANLIB,;t t
40605 s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
40607 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
40608 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
40609 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
40610 s,@STRIP@,$STRIP,;t t
40611 s,@IF_GNU_MAKE@,$IF_GNU_MAKE,;t t
40612 s,@LN_S@,$LN_S,;t t
40613 s,@CXXCPP@,$CXXCPP,;t t
40614 s,@subdirs@,$subdirs,;t t
40615 s,@PKG_CONFIG@,$PKG_CONFIG,;t t
40616 s,@GTK_CFLAGS@,$GTK_CFLAGS,;t t
40617 s,@GTK_LIBS@,$GTK_LIBS,;t t
40618 s,@GTK_CONFIG@,$GTK_CONFIG,;t t
40619 s,@PANGOFT2_CFLAGS@,$PANGOFT2_CFLAGS,;t t
40620 s,@PANGOFT2_LIBS@,$PANGOFT2_LIBS,;t t
40621 s,@X_CFLAGS@,$X_CFLAGS,;t t
40622 s,@X_PRE_LIBS@,$X_PRE_LIBS,;t t
40623 s,@X_LIBS@,$X_LIBS,;t t
40624 s,@X_EXTRA_LIBS@,$X_EXTRA_LIBS,;t t
40625 s,@PANGOX_CFLAGS@,$PANGOX_CFLAGS,;t t
40626 s,@PANGOX_LIBS@,$PANGOX_LIBS,;t t
40627 s,@PANGOXFT_CFLAGS@,$PANGOXFT_CFLAGS,;t t
40628 s,@PANGOXFT_LIBS@,$PANGOXFT_LIBS,;t t
40629 s,@RESCOMP@,$RESCOMP,;t t
40630 s,@DEREZ@,$DEREZ,;t t
40631 s,@SETFILE@,$SETFILE,;t t
40632 s,@LIBICONV@,$LIBICONV,;t t
40633 s,@EXTRALIBS_ESD@,$EXTRALIBS_ESD,;t t
40634 s,@SDL_CONFIG@,$SDL_CONFIG,;t t
40635 s,@SDL_CFLAGS@,$SDL_CFLAGS,;t t
40636 s,@SDL_LIBS@,$SDL_LIBS,;t t
40637 s,@CORE_BASE_LIBS@,$CORE_BASE_LIBS,;t t
40638 s,@CORE_GUI_LIBS@,$CORE_GUI_LIBS,;t t
40639 s,@wxUSE_ZLIB@,$wxUSE_ZLIB,;t t
40640 s,@wxUSE_REGEX@,$wxUSE_REGEX,;t t
40641 s,@wxUSE_EXPAT@,$wxUSE_EXPAT,;t t
40642 s,@wxUSE_ODBC@,$wxUSE_ODBC,;t t
40643 s,@wxUSE_LIBJPEG@,$wxUSE_LIBJPEG,;t t
40644 s,@wxUSE_LIBPNG@,$wxUSE_LIBPNG,;t t
40645 s,@wxUSE_LIBTIFF@,$wxUSE_LIBTIFF,;t t
40646 s,@VENDOR@,$VENDOR,;t t
40647 s,@OFFICIAL_BUILD@,$OFFICIAL_BUILD,;t t
40648 s,@WXUNIV@,$WXUNIV,;t t
40649 s,@MONOLITHIC@,$MONOLITHIC,;t t
40650 s,@USE_PLUGINS@,$USE_PLUGINS,;t t
40651 s,@EXTRALIBS@,$EXTRALIBS,;t t
40652 s,@EXTRALIBS_XML@,$EXTRALIBS_XML,;t t
40653 s,@EXTRALIBS_HTML@,$EXTRALIBS_HTML,;t t
40654 s,@EXTRALIBS_ODBC@,$EXTRALIBS_ODBC,;t t
40655 s,@EXTRALIBS_GUI@,$EXTRALIBS_GUI,;t t
40656 s,@EXTRALIBS_OPENGL@,$EXTRALIBS_OPENGL,;t t
40657 s,@EXTRALIBS_SDL@,$EXTRALIBS_SDL,;t t
40658 s,@WITH_PLUGIN_SDL@,$WITH_PLUGIN_SDL,;t t
40659 s,@UNICODE@,$UNICODE,;t t
40660 s,@BUILD@,$BUILD,;t t
40661 s,@DEBUG_INFO@,$DEBUG_INFO,;t t
40662 s,@DEBUG_FLAG@,$DEBUG_FLAG,;t t
40663 s,@SHARED@,$SHARED,;t t
40664 s,@TOOLKIT_LOWERCASE@,$TOOLKIT_LOWERCASE,;t t
40665 s,@TOOLKIT_VERSION@,$TOOLKIT_VERSION,;t t
40666 s,@SAMPLES_RPATH_FLAG@,$SAMPLES_RPATH_FLAG,;t t
40667 s,@SAMPLES_RPATH_POSTLINK@,$SAMPLES_RPATH_POSTLINK,;t t
40668 s,@HOST_SUFFIX@,$HOST_SUFFIX,;t t
40669 s,@CPPUNIT_CFLAGS@,$CPPUNIT_CFLAGS,;t t
40670 s,@CPPUNIT_LIBS@,$CPPUNIT_LIBS,;t t
40671 s,@SET_MAKE@,$SET_MAKE,;t t
40672 s,@MAKE_SET@,$MAKE_SET,;t t
40673 s,@ac_ct_AR@,$ac_ct_AR,;t t
40674 s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
40676 s,@ac_ct_NM@,$ac_ct_NM,;t t
40677 s,@INSTALL_DIR@,$INSTALL_DIR,;t t
40678 s,@LDFLAGS_GUI@,$LDFLAGS_GUI,;t t
40679 s,@PLATFORM_UNIX@,$PLATFORM_UNIX,;t t
40680 s,@PLATFORM_WIN32@,$PLATFORM_WIN32,;t t
40681 s,@PLATFORM_MSDOS@,$PLATFORM_MSDOS,;t t
40682 s,@PLATFORM_MAC@,$PLATFORM_MAC,;t t
40683 s,@PLATFORM_MACOSX@,$PLATFORM_MACOSX,;t t
40684 s,@PLATFORM_OS2@,$PLATFORM_OS2,;t t
40685 s,@SO_SUFFIX@,$SO_SUFFIX,;t t
40686 s,@SO_SUFFIX_MODULE@,$SO_SUFFIX_MODULE,;t t
40687 s,@LIBPREFIX@,$LIBPREFIX,;t t
40688 s,@DLLPREFIX@,$DLLPREFIX,;t t
40689 s,@DLLPREFIX_MODULE@,$DLLPREFIX_MODULE,;t t
40690 s,@AIX_CXX_LD@,$AIX_CXX_LD,;t t
40691 s,@SHARED_LD_CC@,$SHARED_LD_CC,;t t
40692 s,@SHARED_LD_CXX@,$SHARED_LD_CXX,;t t
40693 s,@SHARED_LD_MODULE_CC@,$SHARED_LD_MODULE_CC,;t t
40694 s,@SHARED_LD_MODULE_CXX@,$SHARED_LD_MODULE_CXX,;t t
40695 s,@PIC_FLAG@,$PIC_FLAG,;t t
40696 s,@USE_SOVERSION@,$USE_SOVERSION,;t t
40697 s,@USE_SOVERLINUX@,$USE_SOVERLINUX,;t t
40698 s,@USE_SOVERSOLARIS@,$USE_SOVERSOLARIS,;t t
40699 s,@USE_MACVERSION@,$USE_MACVERSION,;t t
40700 s,@USE_SOSYMLINKS@,$USE_SOSYMLINKS,;t t
40701 s,@SONAME_FLAG@,$SONAME_FLAG,;t t
40702 s,@DEPS_TRACKING@,$DEPS_TRACKING,;t t
40703 s,@GCC_PCH@,$GCC_PCH,;t t
40704 s,@COND_BUILD_DEBUG@,$COND_BUILD_DEBUG,;t t
40705 s,@COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT@,$COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT,;t t
40706 s,@COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT@,$COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT,;t t
40707 s,@COND_BUILD_DEBUG_UNICODE_0@,$COND_BUILD_DEBUG_UNICODE_0,;t t
40708 s,@COND_BUILD_DEBUG_UNICODE_1@,$COND_BUILD_DEBUG_UNICODE_1,;t t
40709 s,@COND_BUILD_RELEASE@,$COND_BUILD_RELEASE,;t t
40710 s,@COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT@,$COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT,;t t
40711 s,@COND_BUILD_RELEASE_UNICODE_0@,$COND_BUILD_RELEASE_UNICODE_0,;t t
40712 s,@COND_BUILD_RELEASE_UNICODE_1@,$COND_BUILD_RELEASE_UNICODE_1,;t t
40713 s,@COND_DEBUG_FLAG_1@,$COND_DEBUG_FLAG_1,;t t
40714 s,@COND_DEBUG_INFO_0@,$COND_DEBUG_INFO_0,;t t
40715 s,@COND_DEBUG_INFO_1@,$COND_DEBUG_INFO_1,;t t
40716 s,@COND_DEPS_TRACKING_0@,$COND_DEPS_TRACKING_0,;t t
40717 s,@COND_DEPS_TRACKING_1@,$COND_DEPS_TRACKING_1,;t t
40718 s,@COND_GCC_PCH_1@,$COND_GCC_PCH_1,;t t
40719 s,@COND_MONOLITHIC_0@,$COND_MONOLITHIC_0,;t t
40720 s,@COND_MONOLITHIC_0_SHARED_0@,$COND_MONOLITHIC_0_SHARED_0,;t t
40721 s,@COND_MONOLITHIC_0_SHARED_0_USE_GUI_1@,$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1,;t t
40722 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
40723 s,@COND_MONOLITHIC_0_SHARED_0_USE_HTML_1@,$COND_MONOLITHIC_0_SHARED_0_USE_HTML_1,;t t
40724 s,@COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1@,$COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1,;t t
40725 s,@COND_MONOLITHIC_0_SHARED_1@,$COND_MONOLITHIC_0_SHARED_1,;t t
40726 s,@COND_MONOLITHIC_0_SHARED_1_USE_GUI_1@,$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1,;t t
40727 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
40728 s,@COND_MONOLITHIC_0_SHARED_1_USE_HTML_1@,$COND_MONOLITHIC_0_SHARED_1_USE_HTML_1,;t t
40729 s,@COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1@,$COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1,;t t
40730 s,@COND_MONOLITHIC_0_USE_ODBC_1@,$COND_MONOLITHIC_0_USE_ODBC_1,;t t
40731 s,@COND_MONOLITHIC_1@,$COND_MONOLITHIC_1,;t t
40732 s,@COND_MONOLITHIC_1_SHARED_0@,$COND_MONOLITHIC_1_SHARED_0,;t t
40733 s,@COND_MONOLITHIC_1_SHARED_1@,$COND_MONOLITHIC_1_SHARED_1,;t t
40734 s,@COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1@,$COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1,;t t
40735 s,@COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1@,$COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1,;t t
40736 s,@COND_PLATFORM_MACOSX_0_USE_SOVERSION_1@,$COND_PLATFORM_MACOSX_0_USE_SOVERSION_1,;t t
40737 s,@COND_PLATFORM_MACOSX_1@,$COND_PLATFORM_MACOSX_1,;t t
40738 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA@,$COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA,;t t
40739 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_GTK@,$COND_PLATFORM_MACOSX_1_TOOLKIT_GTK,;t t
40740 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_MAC@,$COND_PLATFORM_MACOSX_1_TOOLKIT_MAC,;t t
40741 s,@COND_PLATFORM_MACOSX_1_USE_GUI_1@,$COND_PLATFORM_MACOSX_1_USE_GUI_1,;t t
40742 s,@COND_PLATFORM_MACOSX_1_USE_SOVERSION_1@,$COND_PLATFORM_MACOSX_1_USE_SOVERSION_1,;t t
40743 s,@COND_PLATFORM_MAC_1@,$COND_PLATFORM_MAC_1,;t t
40744 s,@COND_PLATFORM_OS2_1@,$COND_PLATFORM_OS2_1,;t t
40745 s,@COND_PLATFORM_UNIX_0@,$COND_PLATFORM_UNIX_0,;t t
40746 s,@COND_PLATFORM_UNIX_1@,$COND_PLATFORM_UNIX_1,;t t
40747 s,@COND_PLATFORM_UNIX_1_USE_GUI_1@,$COND_PLATFORM_UNIX_1_USE_GUI_1,;t t
40748 s,@COND_PLATFORM_UNIX_1_USE_PLUGINS_0@,$COND_PLATFORM_UNIX_1_USE_PLUGINS_0,;t t
40749 s,@COND_PLATFORM_WIN32_0@,$COND_PLATFORM_WIN32_0,;t t
40750 s,@COND_PLATFORM_WIN32_1@,$COND_PLATFORM_WIN32_1,;t t
40751 s,@COND_SHARED_0@,$COND_SHARED_0,;t t
40752 s,@COND_SHARED_0_USE_GUI_1_USE_OPENGL_1@,$COND_SHARED_0_USE_GUI_1_USE_OPENGL_1,;t t
40753 s,@COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN@,$COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN,;t t
40754 s,@COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN@,$COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN,;t t
40755 s,@COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN@,$COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN,;t t
40756 s,@COND_SHARED_0_WXUSE_EXPAT_BUILTIN@,$COND_SHARED_0_WXUSE_EXPAT_BUILTIN,;t t
40757 s,@COND_SHARED_0_WXUSE_ODBC_BUILTIN@,$COND_SHARED_0_WXUSE_ODBC_BUILTIN,;t t
40758 s,@COND_SHARED_0_WXUSE_REGEX_BUILTIN@,$COND_SHARED_0_WXUSE_REGEX_BUILTIN,;t t
40759 s,@COND_SHARED_0_WXUSE_ZLIB_BUILTIN@,$COND_SHARED_0_WXUSE_ZLIB_BUILTIN,;t t
40760 s,@COND_SHARED_1@,$COND_SHARED_1,;t t
40761 s,@COND_SHARED_1_USE_GUI_1_USE_OPENGL_1@,$COND_SHARED_1_USE_GUI_1_USE_OPENGL_1,;t t
40762 s,@COND_TOOLKIT_COCOA@,$COND_TOOLKIT_COCOA,;t t
40763 s,@COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0,;t t
40764 s,@COND_TOOLKIT_GTK@,$COND_TOOLKIT_GTK,;t t
40765 s,@COND_TOOLKIT_GTK_USE_GUI_1@,$COND_TOOLKIT_GTK_USE_GUI_1,;t t
40766 s,@COND_TOOLKIT_GTK_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_GTK_USE_GUI_1_WXUNIV_0,;t t
40767 s,@COND_TOOLKIT_MAC@,$COND_TOOLKIT_MAC,;t t
40768 s,@COND_TOOLKIT_MAC_USE_GUI_1@,$COND_TOOLKIT_MAC_USE_GUI_1,;t t
40769 s,@COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0,;t t
40770 s,@COND_TOOLKIT_MGL@,$COND_TOOLKIT_MGL,;t t
40771 s,@COND_TOOLKIT_MGL_USE_GUI_1@,$COND_TOOLKIT_MGL_USE_GUI_1,;t t
40772 s,@COND_TOOLKIT_MOTIF@,$COND_TOOLKIT_MOTIF,;t t
40773 s,@COND_TOOLKIT_MOTIF_USE_GUI_1@,$COND_TOOLKIT_MOTIF_USE_GUI_1,;t t
40774 s,@COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0,;t t
40775 s,@COND_TOOLKIT_MSW@,$COND_TOOLKIT_MSW,;t t
40776 s,@COND_TOOLKIT_MSW_USE_GUI_1@,$COND_TOOLKIT_MSW_USE_GUI_1,;t t
40777 s,@COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0,;t t
40778 s,@COND_TOOLKIT_PM@,$COND_TOOLKIT_PM,;t t
40779 s,@COND_TOOLKIT_PM_USE_GUI_1@,$COND_TOOLKIT_PM_USE_GUI_1,;t t
40780 s,@COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0,;t t
40781 s,@COND_TOOLKIT_X11@,$COND_TOOLKIT_X11,;t t
40782 s,@COND_TOOLKIT_X11_USE_GUI_1@,$COND_TOOLKIT_X11_USE_GUI_1,;t t
40783 s,@COND_UNICODE_1@,$COND_UNICODE_1,;t t
40784 s,@COND_USE_EXCEPTIONS_0@,$COND_USE_EXCEPTIONS_0,;t t
40785 s,@COND_USE_EXCEPTIONS_1@,$COND_USE_EXCEPTIONS_1,;t t
40786 s,@COND_USE_GUI_0@,$COND_USE_GUI_0,;t t
40787 s,@COND_USE_GUI_1@,$COND_USE_GUI_1,;t t
40788 s,@COND_USE_GUI_1_WXUNIV_0@,$COND_USE_GUI_1_WXUNIV_0,;t t
40789 s,@COND_USE_GUI_1_WXUNIV_1@,$COND_USE_GUI_1_WXUNIV_1,;t t
40790 s,@COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN@,$COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN,;t t
40791 s,@COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN@,$COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN,;t t
40792 s,@COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN@,$COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN,;t t
40793 s,@COND_USE_ODBC_1@,$COND_USE_ODBC_1,;t t
40794 s,@COND_USE_PLUGINS_0@,$COND_USE_PLUGINS_0,;t t
40795 s,@COND_USE_SOSYMLINKS_1@,$COND_USE_SOSYMLINKS_1,;t t
40796 s,@COND_USE_SOVERLINUX_1@,$COND_USE_SOVERLINUX_1,;t t
40797 s,@COND_USE_SOVERSION_0@,$COND_USE_SOVERSION_0,;t t
40798 s,@COND_USE_SOVERSOLARIS_1@,$COND_USE_SOVERSOLARIS_1,;t t
40799 s,@COND_WITH_PLUGIN_SDL_1@,$COND_WITH_PLUGIN_SDL_1,;t t
40800 s,@COND_WITH_SDL_1@,$COND_WITH_SDL_1,;t t
40801 s,@COND_WXUNIV_1@,$COND_WXUNIV_1,;t t
40802 s,@COND_WXUSE_EXPAT_BUILTIN@,$COND_WXUSE_EXPAT_BUILTIN,;t t
40803 s,@COND_WXUSE_LIBJPEG_BUILTIN@,$COND_WXUSE_LIBJPEG_BUILTIN,;t t
40804 s,@COND_WXUSE_LIBPNG_BUILTIN@,$COND_WXUSE_LIBPNG_BUILTIN,;t t
40805 s,@COND_WXUSE_LIBTIFF_BUILTIN@,$COND_WXUSE_LIBTIFF_BUILTIN,;t t
40806 s,@COND_WXUSE_ODBC_BUILTIN@,$COND_WXUSE_ODBC_BUILTIN,;t t
40807 s,@COND_WXUSE_REGEX_BUILTIN@,$COND_WXUSE_REGEX_BUILTIN,;t t
40808 s,@COND_WXUSE_ZLIB_BUILTIN@,$COND_WXUSE_ZLIB_BUILTIN,;t t
40809 s,@PATH_IFS@,$PATH_IFS,;t t
40810 s,@WX_MAJOR_VERSION_NUMBER@,$WX_MAJOR_VERSION_NUMBER,;t t
40811 s,@WX_MINOR_VERSION_NUMBER@,$WX_MINOR_VERSION_NUMBER,;t t
40812 s,@WX_RELEASE_NUMBER@,$WX_RELEASE_NUMBER,;t t
40813 s,@WX_LIBRARY_NAME_STATIC@,$WX_LIBRARY_NAME_STATIC,;t t
40814 s,@WX_LIBRARY_NAME_SHARED@,$WX_LIBRARY_NAME_SHARED,;t t
40815 s,@WX_LIBRARY_BASENAME_NOGUI@,$WX_LIBRARY_BASENAME_NOGUI,;t t
40816 s,@WX_LIBRARY_BASENAME_GUI@,$WX_LIBRARY_BASENAME_GUI,;t t
40817 s,@WX_LIBRARY_IMPORTLIB@,$WX_LIBRARY_IMPORTLIB,;t t
40818 s,@WX_TARGET_LIBRARY@,$WX_TARGET_LIBRARY,;t t
40819 s,@WX_LIBRARY_LINK1@,$WX_LIBRARY_LINK1,;t t
40820 s,@WX_LIBRARY_LINK2@,$WX_LIBRARY_LINK2,;t t
40821 s,@PROGRAM_EXT@,$PROGRAM_EXT,;t t
40822 s,@WX_LIBRARY_NAME_STATIC_GL@,$WX_LIBRARY_NAME_STATIC_GL,;t t
40823 s,@WX_LIBRARY_NAME_SHARED_GL@,$WX_LIBRARY_NAME_SHARED_GL,;t t
40824 s,@WX_TARGET_LIBRARY_GL@,$WX_TARGET_LIBRARY_GL,;t t
40825 s,@WX_LIBRARY_LINK1_GL@,$WX_LIBRARY_LINK1_GL,;t t
40826 s,@WX_LIBRARY_LINK2_GL@,$WX_LIBRARY_LINK2_GL,;t t
40827 s,@WX_ALL@,$WX_ALL,;t t
40828 s,@WX_ALL_INSTALLED@,$WX_ALL_INSTALLED,;t t
40829 s,@SHARED_LD@,$SHARED_LD,;t t
40830 s,@WX_TARGET_LIBRARY_TYPE@,$WX_TARGET_LIBRARY_TYPE,;t t
40831 s,@STATIC_FLAG@,$STATIC_FLAG,;t t
40832 s,@WXDEBUG_DEFINE@,$WXDEBUG_DEFINE,;t t
40833 s,@USE_GUI@,$USE_GUI,;t t
40834 s,@AFMINSTALL@,$AFMINSTALL,;t t
40835 s,@WIN32INSTALL@,$WIN32INSTALL,;t t
40836 s,@TOOLKIT@,$TOOLKIT,;t t
40837 s,@TOOLKIT_DIR@,$TOOLKIT_DIR,;t t
40838 s,@TOOLKIT_VPATH@,$TOOLKIT_VPATH,;t t
40839 s,@TOOLCHAIN_NAME@,$TOOLCHAIN_NAME,;t t
40840 s,@TOOLCHAIN_DEFS@,$TOOLCHAIN_DEFS,;t t
40841 s,@TOOLCHAIN_DLL_DEFS@,$TOOLCHAIN_DLL_DEFS,;t t
40842 s,@top_builddir_wxconfig@,$top_builddir_wxconfig,;t t
40843 s,@cross_compiling@,$cross_compiling,;t t
40844 s,@WXCONFIG_EXTRALIBS@,$WXCONFIG_EXTRALIBS,;t t
40845 s,@WXCONFIG_LIBS@,$WXCONFIG_LIBS,;t t
40846 s,@WXCONFIG_LIBS_GL@,$WXCONFIG_LIBS_GL,;t t
40847 s,@WXCONFIG_LIBS_STATIC@,$WXCONFIG_LIBS_STATIC,;t t
40848 s,@WXCONFIG_LIBS_STATIC_GL@,$WXCONFIG_LIBS_STATIC_GL,;t t
40849 s,@WXCONFIG_INCLUDE@,$WXCONFIG_INCLUDE,;t t
40850 s,@WXCONFIG_RPATH@,$WXCONFIG_RPATH,;t t
40851 s,@WXCONFIG_LDFLAGS_GUI@,$WXCONFIG_LDFLAGS_GUI,;t t
40852 s,@WX_LARGEFILE_FLAGS@,$WX_LARGEFILE_FLAGS,;t t
40853 s,@CODE_GEN_FLAGS@,$CODE_GEN_FLAGS,;t t
40854 s,@CODE_GEN_FLAGS_CXX@,$CODE_GEN_FLAGS_CXX,;t t
40855 s,@ALL_OBJECTS@,$ALL_OBJECTS,;t t
40856 s,@ALL_HEADERS@,$ALL_HEADERS,;t t
40857 s,@ALL_SOURCES@,$ALL_SOURCES,;t t
40858 s,@GUIDIST@,$GUIDIST,;t t
40859 s,@PORT_FILES@,$PORT_FILES,;t t
40860 s,@DISTDIR@,$DISTDIR,;t t
40861 s,@SAMPLES_SUBDIRS@,$SAMPLES_SUBDIRS,;t t
40862 s,@LDFLAGS_GL@,$LDFLAGS_GL,;t t
40863 s,@LDFLAGS_VERSIONING@,$LDFLAGS_VERSIONING,;t t
40864 s,@LDFLAGS_EXE@,$LDFLAGS_EXE,;t t
40865 s,@OPENGL_LIBS@,$OPENGL_LIBS,;t t
40866 s,@DMALLOC_LIBS@,$DMALLOC_LIBS,;t t
40867 s,@WX_VERSION_TAG@,$WX_VERSION_TAG,;t t
40868 s,@RESFLAGS@,$RESFLAGS,;t t
40869 s,@RESPROGRAMOBJ@,$RESPROGRAMOBJ,;t t
40870 s,@WX_RESOURCES_MACOSX_ASCII@,$WX_RESOURCES_MACOSX_ASCII,;t t
40871 s,@WX_RESOURCES_MACOSX_DATA@,$WX_RESOURCES_MACOSX_DATA,;t t
40872 s,@LIBWXMACRES@,$LIBWXMACRES,;t t
40873 s,@MACRESCOMP@,$MACRESCOMP,;t t
40874 s,@MACSETFILE@,$MACSETFILE,;t t
40875 s,@MACRESWXCONFIG@,$MACRESWXCONFIG,;t t
40877 s,@GCC_SEARCHES_USR_LOCAL_INCLUDE@,$GCC_SEARCHES_USR_LOCAL_INCLUDE,;t t
40878 s,@DLLTOOL@,$DLLTOOL,;t t
40881 s,@MAKEINFO@,$MAKEINFO,;t t
40882 s,@INSTALL_LIBRARY@,$INSTALL_LIBRARY,;t t
40883 s,@CPPUNIT_CONFIG@,$CPPUNIT_CONFIG,;t t
40884 s,@LIBOBJS@,$LIBOBJS,;t t
40885 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
40890 cat >>$CONFIG_STATUS <<\_ACEOF
40891 # Split the substitutions into bite-sized pieces for seds with
40892 # small command number limits, like on Digital OSF/1 and HP-UX.
40893 ac_max_sed_lines
=48
40894 ac_sed_frag
=1 # Number of current file.
40895 ac_beg
=1 # First line for current file.
40896 ac_end
=$ac_max_sed_lines # Line after last line for current file.
40899 while $ac_more_lines; do
40900 if test $ac_beg -gt 1; then
40901 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
40903 sed "${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
40905 if test ! -s $tmp/subs.frag
; then
40906 ac_more_lines
=false
40908 # The purpose of the label and of the branching condition is to
40909 # speed up the sed processing (if there are no `@' at all, there
40910 # is no need to browse any of the substitutions).
40911 # These are the two extra sed commands mentioned above.
40913 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag
) >$tmp/subs
-$ac_sed_frag.
sed
40914 if test -z "$ac_sed_cmds"; then
40915 ac_sed_cmds
="sed -f $tmp/subs-$ac_sed_frag.sed"
40917 ac_sed_cmds
="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
40919 ac_sed_frag
=`expr $ac_sed_frag + 1`
40921 ac_end
=`expr $ac_end + $ac_max_sed_lines`
40924 if test -z "$ac_sed_cmds"; then
40927 fi # test -n "$CONFIG_FILES"
40930 cat >>$CONFIG_STATUS <<\_ACEOF
40931 for ac_file
in : $CONFIG_FILES; do test "x$ac_file" = x
: && continue
40932 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
40934 - | *:- | *:-:* ) # input from stdin
40936 ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
40937 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
40938 *:* ) ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
40939 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
40940 * ) ac_file_in
=$ac_file.
in ;;
40943 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
40944 ac_dir
=`(dirname "$ac_file") 2>/dev/null ||
40945 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
40946 X"$ac_file" : 'X\(//\)[^/]' \| \
40947 X"$ac_file" : 'X\(//\)$' \| \
40948 X"$ac_file" : 'X\(/\)' \| \
40949 . : '\(.\)' 2>/dev/null ||
40951 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
40952 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
40953 /^X\(\/\/\)$/{ s//\1/; q; }
40954 /^X\(\/\).*/{ s//\1/; q; }
40956 { if $as_mkdir_p; then
40961 while test ! -d "$as_dir"; do
40962 as_dirs
="$as_dir $as_dirs"
40963 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
40964 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
40965 X"$as_dir" : 'X\(//\)[^/]' \| \
40966 X"$as_dir" : 'X\(//\)$' \| \
40967 X"$as_dir" : 'X\(/\)' \| \
40968 . : '\(.\)' 2>/dev/null ||
40970 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
40971 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
40972 /^X\(\/\/\)$/{ s//\1/; q; }
40973 /^X\(\/\).*/{ s//\1/; q; }
40976 test ! -n "$as_dirs" || mkdir $as_dirs
40977 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
40978 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
40979 { (exit 1); exit 1; }; }; }
40983 if test "$ac_dir" != .
; then
40984 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
40985 # A "../" for each directory in $ac_dir_suffix.
40986 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
40988 ac_dir_suffix
= ac_top_builddir
=
40992 .
) # No --srcdir option. We are building in place.
40994 if test -z "$ac_top_builddir"; then
40997 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
40999 [\\/]* | ?
:[\\/]* ) # Absolute path.
41000 ac_srcdir
=$srcdir$ac_dir_suffix;
41001 ac_top_srcdir
=$srcdir ;;
41002 *) # Relative path.
41003 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
41004 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
41007 # Do not use `cd foo && pwd` to compute absolute paths, because
41008 # the directories may not exist.
41010 .
) ac_abs_builddir
="$ac_dir";;
41013 .
) ac_abs_builddir
=`pwd`;;
41014 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
41015 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
41018 case $ac_abs_builddir in
41019 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
41021 case ${ac_top_builddir}.
in
41022 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
41023 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
41024 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
41027 case $ac_abs_builddir in
41028 .
) ac_abs_srcdir
=$ac_srcdir;;
41031 .
) ac_abs_srcdir
=$ac_abs_builddir;;
41032 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
41033 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
41036 case $ac_abs_builddir in
41037 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
41039 case $ac_top_srcdir in
41040 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
41041 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
41042 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
41048 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
41049 *) ac_INSTALL
=$ac_top_builddir$INSTALL ;;
41052 # Let's still pretend it is `configure' which instantiates (i.e., don't
41053 # use $as_me), people would be surprised to read:
41054 # /* config.h. Generated by config.status. */
41055 if test x
"$ac_file" = x
-; then
41058 configure_input
="$ac_file. "
41060 configure_input
=$configure_input"Generated from `echo $ac_file_in |
41061 sed 's,.*/,,'` by configure."
41063 # First look for the input files in the build tree, otherwise in the
41065 ac_file_inputs
=`IFS=:
41066 for f in $ac_file_in; do
41068 -) echo $tmp/stdin ;;
41070 # Absolute (can't be DOS-style, as IFS=:)
41071 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
41072 echo "$as_me: error: cannot find input file: $f" >&2;}
41073 { (exit 1); exit 1; }; }
41076 if test -f "$f"; then
41079 elif test -f "$srcdir/$f"; then
41084 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
41085 echo "$as_me: error: cannot find input file: $f" >&2;}
41086 { (exit 1); exit 1; }; }
41089 done` || { (exit 1); exit 1; }
41091 if test x
"$ac_file" != x
-; then
41092 { echo "$as_me:$LINENO: creating $ac_file" >&5
41093 echo "$as_me: creating $ac_file" >&6;}
41097 cat >>$CONFIG_STATUS <<_ACEOF
41101 cat >>$CONFIG_STATUS <<\_ACEOF
41103 /@
[a
-zA-Z_][a
-zA-Z_0-9]*@
/!b
41104 s
,@configure_input@
,$configure_input,;t t
41105 s
,@srcdir@
,$ac_srcdir,;t t
41106 s
,@abs_srcdir@
,$ac_abs_srcdir,;t t
41107 s
,@top_srcdir@
,$ac_top_srcdir,;t t
41108 s
,@abs_top_srcdir@
,$ac_abs_top_srcdir,;t t
41109 s
,@builddir@
,$ac_builddir,;t t
41110 s
,@abs_builddir@
,$ac_abs_builddir,;t t
41111 s
,@top_builddir@
,$ac_top_builddir,;t t
41112 s
,@abs_top_builddir@
,$ac_abs_top_builddir,;t t
41113 s
,@INSTALL@
,$ac_INSTALL,;t t
41114 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
41116 if test x"$ac_file" != x-; then
41117 mv $tmp/out $ac_file
41125 cat >>$CONFIG_STATUS <<\_ACEOF
41128 # CONFIG_HEADER section.
41131 # These sed commands are passed to sed as "A NAME B NAME C VALUE D
", where
41132 # NAME is the cpp macro being defined and VALUE is the value it is being given.
41134 # ac_d sets the value in "#define NAME VALUE" lines.
41135 ac_dA
='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
41136 ac_dB
='[ ].*$,\1#\2'
41139 # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
41140 ac_uA
='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
41141 ac_uB
='$,\1#\2define\3'
41145 for ac_file
in : $CONFIG_HEADERS; do test "x$ac_file" = x
: && continue
41146 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
41148 - | *:- | *:-:* ) # input from stdin
41150 ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
41151 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
41152 *:* ) ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
41153 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
41154 * ) ac_file_in
=$ac_file.
in ;;
41157 test x
"$ac_file" != x
- && { echo "$as_me:$LINENO: creating $ac_file" >&5
41158 echo "$as_me: creating $ac_file" >&6;}
41160 # First look for the input files in the build tree, otherwise in the
41162 ac_file_inputs
=`IFS=:
41163 for f in $ac_file_in; do
41165 -) echo $tmp/stdin ;;
41167 # Absolute (can't be DOS-style, as IFS=:)
41168 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
41169 echo "$as_me: error: cannot find input file: $f" >&2;}
41170 { (exit 1); exit 1; }; }
41171 # Do quote $f, to prevent DOS paths from being IFS'd.
41174 if test -f "$f"; then
41177 elif test -f "$srcdir/$f"; then
41182 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
41183 echo "$as_me: error: cannot find input file: $f" >&2;}
41184 { (exit 1); exit 1; }; }
41187 done` || { (exit 1); exit 1; }
41188 # Remove the trailing spaces.
41189 sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
41193 # Transform confdefs.h into two sed scripts, `conftest.defines' and
41194 # `conftest.undefs', that substitutes the proper values into
41195 # config.h.in to produce config.h. The first handles `#define'
41196 # templates, and the second `#undef' templates.
41197 # And first: Protect against being on the right side of a sed subst in
41198 # config.status. Protect against being in an unquoted here document
41199 # in config.status.
41200 rm -f conftest.defines conftest.undefs
41201 # Using a here document instead of a string reduces the quoting nightmare.
41202 # Putting comments in sed scripts is not portable.
41204 # `end' is used to avoid that the second main sed command (meant for
41205 # 0-ary CPP macros) applies to n-ary macro definitions.
41206 # See the Autoconf documentation for `clear'.
41207 cat >confdef2sed.
sed <<\_ACEOF
41212 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
41214 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
41217 # If some macros were called several times there might be several times
41218 # the same #defines, which is useless. Nevertheless, we may not want to
41219 # sort them, since we want the *last* AC-DEFINE to be honored.
41220 uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
41221 sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
41222 rm -f confdef2sed.sed
41224 # This sed command replaces #undef with comments. This is necessary, for
41225 # example, in the case of _POSIX_SOURCE, which is predefined and required
41226 # on some systems where configure will not decide to define it.
41227 cat >>conftest.undefs <<\_ACEOF
41228 s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
41231 # Break up conftest.defines because some shells have a limit on the size
41232 # of here documents, and old seds have small limits too (100 cmds).
41233 echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
41234 echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
41235 echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
41236 echo ' :' >>$CONFIG_STATUS
41237 rm -f conftest.tail
41238 while grep . conftest.defines >/dev/null
41240 # Write a limited-size here document to $tmp/defines.sed.
41241 echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
41242 # Speed up: don't consider the non `#define' lines.
41243 echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
41244 # Work around the forget-to-reset-the-flag bug.
41245 echo 't clr' >>$CONFIG_STATUS
41246 echo ': clr' >>$CONFIG_STATUS
41247 sed ${ac_max_here_lines}q conftest.defines
>>$CONFIG_STATUS
41249 sed -f $tmp/defines.sed $tmp/in >$tmp/out
41251 mv $tmp/out $tmp/in
41253 sed 1,${ac_max_here_lines}d conftest.defines
>conftest.
tail
41254 rm -f conftest.defines
41255 mv conftest.
tail conftest.defines
41257 rm -f conftest.defines
41258 echo ' fi # grep' >>$CONFIG_STATUS
41259 echo >>$CONFIG_STATUS
41261 # Break up conftest.undefs because some shells have a limit on the size
41262 # of here documents, and old seds have small limits too (100 cmds).
41263 echo ' # Handle all the #undef templates' >>$CONFIG_STATUS
41264 rm -f conftest.
tail
41265 while grep . conftest.undefs
>/dev
/null
41267 # Write a limited-size here document to $tmp/undefs.sed.
41268 echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
41269 # Speed up: don't consider the non
`#undef'
41270 echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
41271 # Work around the forget-to-reset-the-flag bug.
41272 echo 't clr' >>$CONFIG_STATUS
41273 echo ': clr' >>$CONFIG_STATUS
41274 sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
41276 sed -f $tmp/undefs.sed $tmp/in >$tmp/out
41278 mv $tmp/out $tmp/in
41280 sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
41281 rm -f conftest.undefs
41282 mv conftest.tail conftest.undefs
41284 rm -f conftest.undefs
41286 cat >>$CONFIG_STATUS <<\_ACEOF
41287 # Let's still pretend it is `configure
' which instantiates (i.e., don't
41288 # use $as_me), people would be surprised to read:
41289 # /* config.h. Generated by config.status. */
41290 if test x
"$ac_file" = x
-; then
41291 echo "/* Generated by configure. */" >$tmp/config.h
41293 echo "/* $ac_file. Generated by configure. */" >$tmp/config.h
41295 cat $tmp/in >>$tmp/config.h
41297 if test x
"$ac_file" != x
-; then
41298 if diff $ac_file $tmp/config.h
>/dev
/null
2>&1; then
41299 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
41300 echo "$as_me: $ac_file is unchanged" >&6;}
41302 ac_dir
=`(dirname "$ac_file") 2>/dev/null ||
41303 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
41304 X"$ac_file" : 'X\(//\)[^/]' \| \
41305 X"$ac_file" : 'X\(//\)$' \| \
41306 X"$ac_file" : 'X\(/\)' \| \
41307 . : '\(.\)' 2>/dev/null ||
41309 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
41310 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
41311 /^X\(\/\/\)$/{ s//\1/; q; }
41312 /^X\(\/\).*/{ s//\1/; q; }
41314 { if $as_mkdir_p; then
41319 while test ! -d "$as_dir"; do
41320 as_dirs
="$as_dir $as_dirs"
41321 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
41322 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
41323 X"$as_dir" : 'X\(//\)[^/]' \| \
41324 X"$as_dir" : 'X\(//\)$' \| \
41325 X"$as_dir" : 'X\(/\)' \| \
41326 . : '\(.\)' 2>/dev/null ||
41328 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
41329 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
41330 /^X\(\/\/\)$/{ s//\1/; q; }
41331 /^X\(\/\).*/{ s//\1/; q; }
41334 test ! -n "$as_dirs" || mkdir $as_dirs
41335 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
41336 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
41337 { (exit 1); exit 1; }; }; }
41340 mv $tmp/config.h
$ac_file
41344 rm -f $tmp/config.h
41348 cat >>$CONFIG_STATUS <<\_ACEOF
41351 # CONFIG_COMMANDS section.
41353 for ac_file
in : $CONFIG_COMMANDS; do test "x$ac_file" = x
: && continue
41354 ac_dest
=`echo "$ac_file" | sed 's,:.*,,'`
41355 ac_source
=`echo "$ac_file" | sed 's,[^:]*:,,'`
41356 ac_dir
=`(dirname "$ac_dest") 2>/dev/null ||
41357 $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
41358 X"$ac_dest" : 'X\(//\)[^/]' \| \
41359 X"$ac_dest" : 'X\(//\)$' \| \
41360 X"$ac_dest" : 'X\(/\)' \| \
41361 . : '\(.\)' 2>/dev/null ||
41363 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
41364 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
41365 /^X\(\/\/\)$/{ s//\1/; q; }
41366 /^X\(\/\).*/{ s//\1/; q; }
41368 { if $as_mkdir_p; then
41373 while test ! -d "$as_dir"; do
41374 as_dirs
="$as_dir $as_dirs"
41375 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
41376 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
41377 X"$as_dir" : 'X\(//\)[^/]' \| \
41378 X"$as_dir" : 'X\(//\)$' \| \
41379 X"$as_dir" : 'X\(/\)' \| \
41380 . : '\(.\)' 2>/dev/null ||
41382 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
41383 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
41384 /^X\(\/\/\)$/{ s//\1/; q; }
41385 /^X\(\/\).*/{ s//\1/; q; }
41388 test ! -n "$as_dirs" || mkdir $as_dirs
41389 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
41390 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
41391 { (exit 1); exit 1; }; }; }
41395 if test "$ac_dir" != .
; then
41396 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
41397 # A "../" for each directory in $ac_dir_suffix.
41398 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
41400 ac_dir_suffix
= ac_top_builddir
=
41404 .
) # No --srcdir option. We are building in place.
41406 if test -z "$ac_top_builddir"; then
41409 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
41411 [\\/]* | ?
:[\\/]* ) # Absolute path.
41412 ac_srcdir
=$srcdir$ac_dir_suffix;
41413 ac_top_srcdir
=$srcdir ;;
41414 *) # Relative path.
41415 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
41416 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
41419 # Do not use `cd foo && pwd` to compute absolute paths, because
41420 # the directories may not exist.
41422 .
) ac_abs_builddir
="$ac_dir";;
41425 .
) ac_abs_builddir
=`pwd`;;
41426 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
41427 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
41430 case $ac_abs_builddir in
41431 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
41433 case ${ac_top_builddir}.
in
41434 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
41435 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
41436 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
41439 case $ac_abs_builddir in
41440 .
) ac_abs_srcdir
=$ac_srcdir;;
41443 .
) ac_abs_srcdir
=$ac_abs_builddir;;
41444 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
41445 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
41448 case $ac_abs_builddir in
41449 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
41451 case $ac_top_srcdir in
41452 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
41453 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
41454 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
41459 { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
41460 echo "$as_me: executing $ac_dest commands" >&6;}
41463 if test ! -h wx
-config; then
41465 mv wx
-config wx
${TOOLCHAIN_NAME}-config
41466 ${LN_S} wx
${TOOLCHAIN_NAME}-config wx
-config
41469 if test ! -d lib
; then
41472 if test ! -d lib
/wx
; then
41475 if test ! -d lib
/wx
/include
; then
41476 mkdir lib
/wx
/include
41478 if test ! -d lib
/wx
/include
/${TOOLCHAIN_NAME}; then
41479 mkdir lib
/wx
/include
/${TOOLCHAIN_NAME}
41481 if test ! -d lib
/wx
/include
/${TOOLCHAIN_NAME}/wx
; then
41482 mkdir lib
/wx
/include
/${TOOLCHAIN_NAME}/wx
41484 if test -f setup.h
; then
41485 mv -f setup.h lib
/wx
/include
/${TOOLCHAIN_NAME}/wx
/setup.h
41492 cat >>$CONFIG_STATUS <<\_ACEOF
41494 { (exit 0); exit 0; }
41496 chmod +x
$CONFIG_STATUS
41497 ac_clean_files
=$ac_clean_files_save
41500 # configure is writing to config.log, and then calls config.status.
41501 # config.status does its own redirection, appending to config.log.
41502 # Unfortunately, on DOS this fails, as config.log is still kept open
41503 # by configure, so config.status won't be able to write to it; its
41504 # output is simply discarded. So we exec the FD to /dev/null,
41505 # effectively closing config.log, so it can be properly (re)opened and
41506 # appended to by config.status. When coming back to configure, we
41507 # need to make the FD available again.
41508 if test "$no_create" != yes; then
41510 ac_config_status_args
=
41511 test "$silent" = yes &&
41512 ac_config_status_args
="$ac_config_status_args --quiet"
41514 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
41516 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
41517 # would make configure fail if this is the last instruction.
41518 $ac_cs_success || { (exit 1); exit 1; }
41522 # CONFIG_SUBDIRS section.
41524 if test "$no_recursion" != yes; then
41526 # Remove --cache-file and --srcdir arguments so they do not pile up.
41527 ac_sub_configure_args
=
41529 for ac_arg
in $ac_configure_args; do
41530 if test -n "$ac_prev"; then
41535 -cache-file | --cache-file | --cache-fil | --cache-fi \
41536 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
41537 ac_prev
=cache_file
;;
41538 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
41539 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* \
41542 --config-cache | -C)
41544 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
41546 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
41548 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
41550 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
41552 *) ac_sub_configure_args
="$ac_sub_configure_args $ac_arg" ;;
41556 # Always prepend --prefix to ensure using the same prefix
41557 # in subdir configurations.
41558 ac_sub_configure_args
="--prefix=$prefix $ac_sub_configure_args"
41561 for ac_dir
in : $subdirs; do test "x$ac_dir" = x
: && continue
41563 # Do not complain, so a configure script can configure whichever
41564 # parts of a large source tree are present.
41565 test -d $srcdir/$ac_dir || continue
41567 { echo "$as_me:$LINENO: configuring in $ac_dir" >&5
41568 echo "$as_me: configuring in $ac_dir" >&6;}
41569 { if $as_mkdir_p; then
41574 while test ! -d "$as_dir"; do
41575 as_dirs
="$as_dir $as_dirs"
41576 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
41577 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
41578 X"$as_dir" : 'X\(//\)[^/]' \| \
41579 X"$as_dir" : 'X\(//\)$' \| \
41580 X"$as_dir" : 'X\(/\)' \| \
41581 . : '\(.\)' 2>/dev/null ||
41583 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
41584 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
41585 /^X\(\/\/\)$/{ s//\1/; q; }
41586 /^X\(\/\).*/{ s//\1/; q; }
41589 test ! -n "$as_dirs" || mkdir $as_dirs
41590 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
41591 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
41592 { (exit 1); exit 1; }; }; }
41596 if test "$ac_dir" != .
; then
41597 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
41598 # A "../" for each directory in $ac_dir_suffix.
41599 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
41601 ac_dir_suffix
= ac_top_builddir
=
41605 .
) # No --srcdir option. We are building in place.
41607 if test -z "$ac_top_builddir"; then
41610 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
41612 [\\/]* | ?
:[\\/]* ) # Absolute path.
41613 ac_srcdir
=$srcdir$ac_dir_suffix;
41614 ac_top_srcdir
=$srcdir ;;
41615 *) # Relative path.
41616 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
41617 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
41620 # Do not use `cd foo && pwd` to compute absolute paths, because
41621 # the directories may not exist.
41623 .
) ac_abs_builddir
="$ac_dir";;
41626 .
) ac_abs_builddir
=`pwd`;;
41627 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
41628 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
41631 case $ac_abs_builddir in
41632 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
41634 case ${ac_top_builddir}.
in
41635 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
41636 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
41637 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
41640 case $ac_abs_builddir in
41641 .
) ac_abs_srcdir
=$ac_srcdir;;
41644 .
) ac_abs_srcdir
=$ac_abs_builddir;;
41645 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
41646 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
41649 case $ac_abs_builddir in
41650 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
41652 case $ac_top_srcdir in
41653 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
41654 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
41655 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
41662 # Check for guested configure; otherwise get Cygnus style configure.
41663 if test -f $ac_srcdir/configure.gnu
; then
41664 ac_sub_configure
="$SHELL '$ac_srcdir/configure.gnu'"
41665 elif test -f $ac_srcdir/configure
; then
41666 ac_sub_configure
="$SHELL '$ac_srcdir/configure'"
41667 elif test -f $ac_srcdir/configure.
in; then
41668 ac_sub_configure
=$ac_configure
41670 { echo "$as_me:$LINENO: WARNING: no configuration information is in $ac_dir" >&5
41671 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;}
41675 # The recursion is here.
41676 if test -n "$ac_sub_configure"; then
41677 # Make the cache file name correct relative to the subdirectory.
41678 case $cache_file in
41679 [\\/]* | ?
:[\\/]* ) ac_sub_cache_file
=$cache_file ;;
41680 *) # Relative path.
41681 ac_sub_cache_file
=$ac_top_builddir$cache_file ;;
41684 { echo "$as_me:$LINENO: running $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&5
41685 echo "$as_me: running $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;}
41686 # The eval makes quoting arguments work.
41687 eval $ac_sub_configure $ac_sub_configure_args \
41688 --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir ||
41689 { { echo "$as_me:$LINENO: error: $ac_sub_configure failed for $ac_dir" >&5
41690 echo "$as_me: error: $ac_sub_configure failed for $ac_dir" >&2;}
41691 { (exit 1); exit 1; }; }
41700 echo "Configured wxWindows ${WX_VERSION} for \`${host}'"
41702 echo " Which GUI toolkit should wxWindows use? ${TOOLKIT_LOWERCASE:-base only}"
41703 echo " Should wxWindows be compiled into single library? ${wxUSE_MONOLITHIC:-yes}"
41705 echo " Should wxWindows be compiled in debug mode? ${wxUSE_DEBUG:-no}"
41706 echo " Should wxWindows be linked as a shared library? ${wxUSE_SHARED:-no}"
41707 echo " Should wxWindows be compiled in Unicode mode? ${wxUSE_UNICODE:-no}"
41709 echo " What level of wxWindows compatibility should be enabled?"
41710 echo " wxWindows 2.2 ${WXWIN_COMPATIBILITY_2_2:-no}"
41711 echo " wxWindows 2.4 ${WXWIN_COMPATIBILITY_2_4:-yes}"
41713 echo " Which libraries should wxWindows use?"
41714 echo " jpeg ${wxUSE_LIBJPEG-none}"
41715 echo " png ${wxUSE_LIBPNG-none}"
41716 echo " regex ${wxUSE_REGEX}"
41717 echo " tiff ${wxUSE_LIBTIFF-none}"
41718 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
41719 echo " xpm ${wxUSE_LIBXPM-none}"
41721 echo " zlib ${wxUSE_ZLIB}"
41722 echo " odbc ${wxUSE_ODBC}"
41723 echo " expat ${wxUSE_EXPAT}"
41724 echo " libmspack ${wxUSE_LIBMSPACK}"
41725 echo " sdl ${wxUSE_LIBSDL}"