2 # From configure.in Id: configure.in.
3 # Guess values for system-dependent variables and create Makefiles.
4 # Generated by GNU Autoconf 2.58 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 DLLIMP_SUFFIX LIBPREFIX LIBEXT DLLPREFIX DLLPREFIX_MODULE AIX_CXX_LD SHARED_LD_CC SHARED_LD_CXX SHARED_LD_MODULE_CC SHARED_LD_MODULE_CXX PIC_FLAG USE_SOVERSION USE_SOVERLINUX USE_SOVERSOLARIS USE_MACVERSION USE_SOSYMLINKS SONAME_FLAG DEPS_TRACKING GCC_PCH COND_BUILD_DEBUG COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT COND_BUILD_DEBUG_UNICODE_0 COND_BUILD_DEBUG_UNICODE_1 COND_BUILD_RELEASE COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT COND_BUILD_RELEASE_UNICODE_0 COND_BUILD_RELEASE_UNICODE_1 COND_DEBUG_FLAG_1 COND_DEBUG_INFO_0 COND_DEBUG_INFO_1 COND_DEPS_TRACKING_0 COND_DEPS_TRACKING_1 COND_GCC_PCH_1 COND_MONOLITHIC_0 COND_MONOLITHIC_0_SHARED_0 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_ODBC_1 COND_MONOLITHIC_0_SHARED_0_USE_HTML_1 COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1 COND_MONOLITHIC_0_SHARED_1 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_ODBC_1 COND_MONOLITHIC_0_SHARED_1_USE_HTML_1 COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1 COND_MONOLITHIC_0_USE_ODBC_1 COND_MONOLITHIC_1 COND_MONOLITHIC_1_SHARED_0 COND_MONOLITHIC_1_SHARED_1 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1 COND_PLATFORM_MACOSX_1 COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA COND_PLATFORM_MACOSX_1_TOOLKIT_GTK COND_PLATFORM_MACOSX_1_TOOLKIT_MAC COND_PLATFORM_MACOSX_1_USE_GUI_1 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1 COND_PLATFORM_MAC_1 COND_PLATFORM_OS2_1 COND_PLATFORM_UNIX_0 COND_PLATFORM_UNIX_1 COND_PLATFORM_UNIX_1_USE_GUI_1 COND_PLATFORM_UNIX_1_USE_PLUGINS_0 COND_PLATFORM_WIN32_0 COND_PLATFORM_WIN32_1 COND_SHARED_0 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN COND_SHARED_0_WXUSE_EXPAT_BUILTIN COND_SHARED_0_WXUSE_ODBC_BUILTIN COND_SHARED_0_WXUSE_REGEX_BUILTIN COND_SHARED_0_WXUSE_ZLIB_BUILTIN COND_SHARED_1 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1 COND_TOOLKIT_COCOA COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0 COND_TOOLKIT_GTK COND_TOOLKIT_GTK_USE_GUI_1 COND_TOOLKIT_GTK_USE_GUI_1_WXUNIV_0 COND_TOOLKIT_MAC COND_TOOLKIT_MAC_USE_GUI_1 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0 COND_TOOLKIT_MGL COND_TOOLKIT_MGL_USE_GUI_1 COND_TOOLKIT_MOTIF COND_TOOLKIT_MOTIF_USE_GUI_1 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0 COND_TOOLKIT_MSW COND_TOOLKIT_MSW_USE_GUI_1 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0 COND_TOOLKIT_PM COND_TOOLKIT_PM_USE_GUI_1 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0 COND_TOOLKIT_WINCE COND_TOOLKIT_WINCE_USE_GUI_1 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0 COND_TOOLKIT_X11 COND_TOOLKIT_X11_USE_GUI_1 COND_UNICODE_1 COND_USE_EXCEPTIONS_0 COND_USE_EXCEPTIONS_1 COND_USE_GUI_0 COND_USE_GUI_1 COND_USE_GUI_1_WXUNIV_0 COND_USE_GUI_1_WXUNIV_1 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN COND_USE_ODBC_1 COND_USE_PLUGINS_0 COND_USE_SOSYMLINKS_1 COND_USE_SOVERLINUX_1 COND_USE_SOVERSION_0 COND_USE_SOVERSOLARIS_1 COND_WITH_PLUGIN_SDL_1 COND_WITH_SDL_1 COND_WXUNIV_1 COND_WXUSE_EXPAT_BUILTIN COND_WXUSE_LIBJPEG_BUILTIN COND_WXUSE_LIBPNG_BUILTIN COND_WXUSE_LIBTIFF_BUILTIN COND_WXUSE_ODBC_BUILTIN COND_WXUSE_REGEX_BUILTIN COND_WXUSE_ZLIB_BUILTIN PATH_IFS WX_MAJOR_VERSION_NUMBER WX_MINOR_VERSION_NUMBER WX_RELEASE_NUMBER WX_LIBRARY_NAME_STATIC WX_LIBRARY_NAME_SHARED WX_LIBRARY_BASENAME_NOGUI WX_LIBRARY_BASENAME_GUI WX_LIBRARY_IMPORTLIB WX_TARGET_LIBRARY WX_LIBRARY_LINK1 WX_LIBRARY_LINK2 PROGRAM_EXT WX_LIBRARY_NAME_STATIC_GL WX_LIBRARY_NAME_SHARED_GL WX_TARGET_LIBRARY_GL WX_LIBRARY_LINK1_GL WX_LIBRARY_LINK2_GL WX_ALL WX_ALL_INSTALLED SHARED_LD WX_TARGET_LIBRARY_TYPE STATIC_FLAG WXDEBUG_DEFINE USE_GUI AFMINSTALL WIN32INSTALL TOOLKIT TOOLKIT_DIR TOOLKIT_VPATH TOOLCHAIN_NAME TOOLCHAIN_DEFS TOOLCHAIN_DLL_DEFS top_builddir_wxconfig cross_compiling WXCONFIG_EXTRALIBS WXCONFIG_LIBS WXCONFIG_LIBS_GL WXCONFIG_LIBS_STATIC WXCONFIG_LIBS_STATIC_GL WXCONFIG_INCLUDE WXCONFIG_RPATH WXCONFIG_LDFLAGS_GUI WX_LARGEFILE_FLAGS CODE_GEN_FLAGS CODE_GEN_FLAGS_CXX ALL_OBJECTS ALL_HEADERS ALL_SOURCES GUIDIST PORT_FILES DISTDIR SAMPLES_SUBDIRS LDFLAGS_GL LDFLAGS_VERSIONING LDFLAGS_EXE OPENGL_LIBS DMALLOC_LIBS WX_VERSION_TAG RESFLAGS RESPROGRAMOBJ WX_RESOURCES_MACOSX_ASCII WX_RESOURCES_MACOSX_DATA LIBWXMACRES MACRESCOMP MACSETFILE MACRESWXCONFIG GCC GCC_SEARCHES_USR_LOCAL_INCLUDE DLLTOOL AS LD MAKEINFO INSTALL_LIBRARY CPPUNIT_CONFIG LIBOBJS LTLIBOBJS'
319 # Initialize some variables set by options.
321 ac_init_version
=false
322 # The variables have the same names as the options, with
323 # dashes changed to underlines.
331 program_transform_name
=s
,x
,x
,
339 # Installation directory options.
340 # These are left unexpanded so users can "make install exec_prefix=/foo"
341 # and all the variables that are supposed to be based on exec_prefix
342 # by default will actually change.
343 # Use braces instead of parens because sh, perl, etc. also accept them.
344 bindir
='${exec_prefix}/bin'
345 sbindir
='${exec_prefix}/sbin'
346 libexecdir
='${exec_prefix}/libexec'
347 datadir
='${prefix}/share'
348 sysconfdir
='${prefix}/etc'
349 sharedstatedir
='${prefix}/com'
350 localstatedir
='${prefix}/var'
351 libdir
='${exec_prefix}/lib'
352 includedir
='${prefix}/include'
353 oldincludedir
='/usr/include'
354 infodir
='${prefix}/info'
355 mandir
='${prefix}/man'
360 # If the previous option needs an argument, assign it.
361 if test -n "$ac_prev"; then
362 eval "$ac_prev=\$ac_option"
367 ac_optarg
=`expr "x$ac_option" : 'x[^=]*=\(.*\)'`
369 # Accept the important Cygnus configure options, so we can diagnose typos.
373 -bindir | --bindir | --bindi | --bind | --bin | --bi)
375 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
378 -build | --build | --buil | --bui | --bu)
379 ac_prev
=build_alias
;;
380 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
381 build_alias
=$ac_optarg ;;
383 -cache-file | --cache-file | --cache-fil | --cache-fi \
384 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
385 ac_prev
=cache_file
;;
386 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
387 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
388 cache_file
=$ac_optarg ;;
391 cache_file
=config.cache
;;
393 -datadir | --datadir | --datadi | --datad | --data | --dat | --da)
395 -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
397 datadir
=$ac_optarg ;;
399 -disable-* | --disable-*)
400 ac_feature
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
401 # Reject names that are not valid shell variable names.
402 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
403 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
404 { (exit 1); exit 1; }; }
405 ac_feature
=`echo $ac_feature | sed 's/-/_/g'`
406 eval "enable_$ac_feature=no" ;;
408 -enable-* | --enable-*)
409 ac_feature
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
410 # Reject names that are not valid shell variable names.
411 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
412 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
413 { (exit 1); exit 1; }; }
414 ac_feature
=`echo $ac_feature | sed 's/-/_/g'`
416 *=*) ac_optarg
=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
419 eval "enable_$ac_feature='$ac_optarg'" ;;
421 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
422 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
423 | --exec | --exe | --ex)
424 ac_prev
=exec_prefix
;;
425 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
426 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
427 | --exec=* | --exe=* | --ex=*)
428 exec_prefix
=$ac_optarg ;;
430 -gas | --gas | --ga | --g)
431 # Obsolete; use --with-gas.
434 -help | --help | --hel | --he | -h)
436 -help=r
* | --help=r
* | --hel=r
* | --he=r
* | -hr*)
437 ac_init_help
=recursive
;;
438 -help=s
* | --help=s
* | --hel=s
* | --he=s
* | -hs*)
439 ac_init_help
=short
;;
441 -host | --host | --hos | --ho)
442 ac_prev
=host_alias
;;
443 -host=* | --host=* | --hos=* | --ho=*)
444 host_alias
=$ac_optarg ;;
446 -includedir | --includedir | --includedi | --included | --include \
447 | --includ | --inclu | --incl | --inc)
448 ac_prev
=includedir
;;
449 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
450 | --includ=* | --inclu=* | --incl=* | --inc=*)
451 includedir
=$ac_optarg ;;
453 -infodir | --infodir | --infodi | --infod | --info | --inf)
455 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
456 infodir
=$ac_optarg ;;
458 -libdir | --libdir | --libdi | --libd)
460 -libdir=* | --libdir=* | --libdi=* | --libd=*)
463 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
464 | --libexe | --libex | --libe)
465 ac_prev
=libexecdir
;;
466 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
467 | --libexe=* | --libex=* | --libe=*)
468 libexecdir
=$ac_optarg ;;
470 -localstatedir | --localstatedir | --localstatedi | --localstated \
471 | --localstate | --localstat | --localsta | --localst \
472 | --locals | --local | --loca | --loc | --lo)
473 ac_prev
=localstatedir
;;
474 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
475 | --localstate=* | --localstat=* | --localsta=* | --localst=* \
476 | --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
477 localstatedir
=$ac_optarg ;;
479 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
481 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
485 # Obsolete; use --without-fp.
488 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
489 | --no-cr | --no-c | -n)
492 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
493 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
496 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
497 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
498 | --oldin | --oldi | --old | --ol | --o)
499 ac_prev
=oldincludedir
;;
500 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
501 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
502 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
503 oldincludedir
=$ac_optarg ;;
505 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
507 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
510 -program-prefix | --program-prefix | --program-prefi | --program-pref \
511 | --program-pre | --program-pr | --program-p)
512 ac_prev
=program_prefix
;;
513 -program-prefix=* | --program-prefix=* | --program-prefi=* \
514 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
515 program_prefix
=$ac_optarg ;;
517 -program-suffix | --program-suffix | --program-suffi | --program-suff \
518 | --program-suf | --program-su | --program-s)
519 ac_prev
=program_suffix
;;
520 -program-suffix=* | --program-suffix=* | --program-suffi=* \
521 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
522 program_suffix
=$ac_optarg ;;
524 -program-transform-name | --program-transform-name \
525 | --program-transform-nam | --program-transform-na \
526 | --program-transform-n | --program-transform- \
527 | --program-transform | --program-transfor \
528 | --program-transfo | --program-transf \
529 | --program-trans | --program-tran \
530 | --progr-tra | --program-tr | --program-t)
531 ac_prev
=program_transform_name
;;
532 -program-transform-name=* | --program-transform-name=* \
533 | --program-transform-nam=* | --program-transform-na=* \
534 | --program-transform-n=* | --program-transform-=* \
535 | --program-transform=* | --program-transfor=* \
536 | --program-transfo=* | --program-transf=* \
537 | --program-trans=* | --program-tran=* \
538 | --progr-tra=* | --program-tr=* | --program-t=*)
539 program_transform_name
=$ac_optarg ;;
541 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
542 | -silent | --silent | --silen | --sile | --sil)
545 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
547 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
549 sbindir
=$ac_optarg ;;
551 -sharedstatedir | --sharedstatedir | --sharedstatedi \
552 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
553 | --sharedst | --shareds | --shared | --share | --shar \
555 ac_prev
=sharedstatedir
;;
556 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
557 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
558 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
560 sharedstatedir
=$ac_optarg ;;
562 -site | --site | --sit)
564 -site=* | --site=* | --sit=*)
567 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
569 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
572 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
573 | --syscon | --sysco | --sysc | --sys | --sy)
574 ac_prev
=sysconfdir
;;
575 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
576 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
577 sysconfdir
=$ac_optarg ;;
579 -target | --target | --targe | --targ | --tar | --ta | --t)
580 ac_prev
=target_alias
;;
581 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
582 target_alias
=$ac_optarg ;;
584 -v | -verbose | --verbose | --verbos | --verbo | --verb)
587 -version | --version | --versio | --versi | --vers | -V)
591 ac_package
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
592 # Reject names that are not valid shell variable names.
593 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
594 { echo "$as_me: error: invalid package name: $ac_package" >&2
595 { (exit 1); exit 1; }; }
596 ac_package
=`echo $ac_package| sed 's/-/_/g'`
598 *=*) ac_optarg
=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
601 eval "with_$ac_package='$ac_optarg'" ;;
603 -without-* | --without-*)
604 ac_package
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
605 # Reject names that are not valid shell variable names.
606 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
607 { echo "$as_me: error: invalid package name: $ac_package" >&2
608 { (exit 1); exit 1; }; }
609 ac_package
=`echo $ac_package | sed 's/-/_/g'`
610 eval "with_$ac_package=no" ;;
613 # Obsolete; use --with-x.
616 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
617 | --x-incl | --x-inc | --x-in | --x-i)
618 ac_prev
=x_includes
;;
619 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
620 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
621 x_includes
=$ac_optarg ;;
623 -x-libraries | --x-libraries | --x-librarie | --x-librari \
624 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
625 ac_prev
=x_libraries
;;
626 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
627 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
628 x_libraries
=$ac_optarg ;;
630 -*) { echo "$as_me: error: unrecognized option: $ac_option
631 Try \`$0 --help' for more information." >&2
632 { (exit 1); exit 1; }; }
636 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
637 # Reject names that are not valid shell variable names.
638 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev
/null
&&
639 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
640 { (exit 1); exit 1; }; }
641 ac_optarg
=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`
642 eval "$ac_envvar='$ac_optarg'"
646 # FIXME: should be removed in autoconf 3.0.
647 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
648 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
649 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
650 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
656 if test -n "$ac_prev"; then
657 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
658 { echo "$as_me: error: missing argument to $ac_option" >&2
659 { (exit 1); exit 1; }; }
662 # Be sure to have absolute paths.
663 for ac_var
in exec_prefix prefix
665 eval ac_val
=$
`echo $ac_var`
667 [\\/$
]* | ?
:[\\/]* | NONE
| '' ) ;;
668 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
669 { (exit 1); exit 1; }; };;
673 # Be sure to have absolute paths.
674 for ac_var
in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
675 localstatedir libdir includedir oldincludedir infodir mandir
677 eval ac_val
=$
`echo $ac_var`
679 [\\/$
]* | ?
:[\\/]* ) ;;
680 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
681 { (exit 1); exit 1; }; };;
685 # There might be people who depend on the old broken behavior: `$host'
686 # used to hold the argument of --host etc.
687 # FIXME: To remove some day.
692 # FIXME: To remove some day.
693 if test "x$host_alias" != x
; then
694 if test "x$build_alias" = x
; then
695 cross_compiling
=maybe
696 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
697 If a cross compiler is detected then cross compile mode will be used." >&2
698 elif test "x$build_alias" != "x$host_alias"; then
704 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
706 test "$silent" = yes && exec 6>/dev
/null
709 # Find the source files, if location was not specified.
710 if test -z "$srcdir"; then
711 ac_srcdir_defaulted
=yes
712 # Try the directory containing this script, then its parent.
713 ac_confdir
=`(dirname "$0") 2>/dev/null ||
714 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
715 X"$0" : 'X\(//\)[^/]' \| \
716 X"$0" : 'X\(//\)$' \| \
717 X"$0" : 'X\(/\)' \| \
718 . : '\(.\)' 2>/dev/null ||
720 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
721 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
722 /^X\(\/\/\)$/{ s//\1/; q; }
723 /^X\(\/\).*/{ s//\1/; q; }
726 if test ! -r $srcdir/$ac_unique_file; then
730 ac_srcdir_defaulted
=no
732 if test ! -r $srcdir/$ac_unique_file; then
733 if test "$ac_srcdir_defaulted" = yes; then
734 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2
735 { (exit 1); exit 1; }; }
737 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
738 { (exit 1); exit 1; }; }
741 (cd $srcdir && test -r .
/$ac_unique_file) 2>/dev
/null
||
742 { echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2
743 { (exit 1); exit 1; }; }
744 srcdir
=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
745 ac_env_build_alias_set
=${build_alias+set}
746 ac_env_build_alias_value
=$build_alias
747 ac_cv_env_build_alias_set
=${build_alias+set}
748 ac_cv_env_build_alias_value
=$build_alias
749 ac_env_host_alias_set
=${host_alias+set}
750 ac_env_host_alias_value
=$host_alias
751 ac_cv_env_host_alias_set
=${host_alias+set}
752 ac_cv_env_host_alias_value
=$host_alias
753 ac_env_target_alias_set
=${target_alias+set}
754 ac_env_target_alias_value
=$target_alias
755 ac_cv_env_target_alias_set
=${target_alias+set}
756 ac_cv_env_target_alias_value
=$target_alias
757 ac_env_CC_set
=${CC+set}
759 ac_cv_env_CC_set
=${CC+set}
760 ac_cv_env_CC_value
=$CC
761 ac_env_CFLAGS_set
=${CFLAGS+set}
762 ac_env_CFLAGS_value
=$CFLAGS
763 ac_cv_env_CFLAGS_set
=${CFLAGS+set}
764 ac_cv_env_CFLAGS_value
=$CFLAGS
765 ac_env_LDFLAGS_set
=${LDFLAGS+set}
766 ac_env_LDFLAGS_value
=$LDFLAGS
767 ac_cv_env_LDFLAGS_set
=${LDFLAGS+set}
768 ac_cv_env_LDFLAGS_value
=$LDFLAGS
769 ac_env_CPPFLAGS_set
=${CPPFLAGS+set}
770 ac_env_CPPFLAGS_value
=$CPPFLAGS
771 ac_cv_env_CPPFLAGS_set
=${CPPFLAGS+set}
772 ac_cv_env_CPPFLAGS_value
=$CPPFLAGS
773 ac_env_CPP_set
=${CPP+set}
774 ac_env_CPP_value
=$CPP
775 ac_cv_env_CPP_set
=${CPP+set}
776 ac_cv_env_CPP_value
=$CPP
777 ac_env_CXX_set
=${CXX+set}
778 ac_env_CXX_value
=$CXX
779 ac_cv_env_CXX_set
=${CXX+set}
780 ac_cv_env_CXX_value
=$CXX
781 ac_env_CXXFLAGS_set
=${CXXFLAGS+set}
782 ac_env_CXXFLAGS_value
=$CXXFLAGS
783 ac_cv_env_CXXFLAGS_set
=${CXXFLAGS+set}
784 ac_cv_env_CXXFLAGS_value
=$CXXFLAGS
785 ac_env_CXXCPP_set
=${CXXCPP+set}
786 ac_env_CXXCPP_value
=$CXXCPP
787 ac_cv_env_CXXCPP_set
=${CXXCPP+set}
788 ac_cv_env_CXXCPP_value
=$CXXCPP
791 # Report the --help message.
793 if test "$ac_init_help" = "long"; then
794 # Omit some internal or obsolete options to make the list less imposing.
795 # This message is too long to be a string in the A/UX 3.1 sh.
797 \`configure' configures 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 --enable-omf use OMF object format
(OS
/2)
1039 --disable-precomp-headers don
't use precompiled headers even if compiler can
1042 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1043 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1045 --with-motif use Motif/Lesstif
1046 --with-mac use Mac OS X
1047 --with-cocoa use Cocoa
1048 --with-wine use Wine
1049 --with-msw use MS-Windows
1050 --with-pm use OS/2 Presentation Manager
1051 --with-mgl use SciTech MGL
1052 --with-microwin use MicroWindows
1054 --with-libpng use libpng (PNG image format)
1055 --with-libjpeg use libjpeg (JPEG file format)
1056 --with-libtiff use libtiff (TIFF file format)
1057 --with-libxpm use libxpm (XPM file format)
1058 --with-libmspack use libmspack (CHM help files loading)
1059 --with-sdl use SDL for audio on Unix
1060 --with-opengl use OpenGL (or Mesa)
1061 --with-dmalloc use dmalloc library (http://dmalloc.com/)
1062 --with-regex enable support for wxRegEx class
1063 --with-zlib use zlib for LZW compression
1064 --with-odbc use the IODBC and wxODBC classes
1065 --with-expat enable XML support using expat parser
1066 --with-gtk-prefix=PFX Prefix where GTK is installed (optional)
1067 --with-gtk-exec-prefix=PFX Exec prefix where GTK is installed (optional)
1068 --with-x use the X Window System
1069 --with-libiconv-prefix=DIR search for libiconv in DIR/include and DIR/lib
1070 --with-sdl-prefix=PFX Prefix where SDL is installed (optional)
1071 --with-sdl-exec-prefix=PFX Exec prefix where SDL is installed (optional)
1072 --with-cppunit-prefix=PFX Prefix where CppUnit is installed (optional)
1073 --with-cppunit-exec-prefix=PFX Exec prefix where CppUnit is installed (optional)
1075 Some influential environment variables:
1081 linker flags, e.g. -L<lib dir> if you have
1082 libraries in a nonstandard directory <lib dir>
1084 C/C++ preprocessor flags, e.g. -I<include dir> if you
1085 have headers in a nonstandard directory <include dir>
1089 C++ compiler command
1095 Use these variables to override the choices made by `configure' or to
help
1096 it to
find libraries and programs with nonstandard names
/locations.
1098 Report bugs to
<wx
-dev@lists.wxwindows.org
>.
1102 if test "$ac_init_help" = "recursive"; then
1103 # If there are subdirs, report their specific --help.
1105 for ac_dir
in : $ac_subdirs_all; do test "x$ac_dir" = x
: && continue
1106 test -d $ac_dir || continue
1109 if test "$ac_dir" != .
; then
1110 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
1111 # A "../" for each directory in $ac_dir_suffix.
1112 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
1114 ac_dir_suffix
= ac_top_builddir
=
1118 .
) # No --srcdir option. We are building in place.
1120 if test -z "$ac_top_builddir"; then
1123 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
1125 [\\/]* | ?
:[\\/]* ) # Absolute path.
1126 ac_srcdir
=$srcdir$ac_dir_suffix;
1127 ac_top_srcdir
=$srcdir ;;
1129 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
1130 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
1133 # Do not use `cd foo && pwd` to compute absolute paths, because
1134 # the directories may not exist.
1136 .
) ac_abs_builddir
="$ac_dir";;
1139 .
) ac_abs_builddir
=`pwd`;;
1140 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
1141 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
1144 case $ac_abs_builddir in
1145 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
1147 case ${ac_top_builddir}.
in
1148 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
1149 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
1150 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
1153 case $ac_abs_builddir in
1154 .
) ac_abs_srcdir
=$ac_srcdir;;
1157 .
) ac_abs_srcdir
=$ac_abs_builddir;;
1158 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
1159 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
1162 case $ac_abs_builddir in
1163 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
1165 case $ac_top_srcdir in
1166 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
1167 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
1168 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
1173 # Check for guested configure; otherwise get Cygnus style configure.
1174 if test -f $ac_srcdir/configure.gnu
; then
1176 $SHELL $ac_srcdir/configure.gnu
--help=recursive
1177 elif test -f $ac_srcdir/configure
; then
1179 $SHELL $ac_srcdir/configure
--help=recursive
1180 elif test -f $ac_srcdir/configure.ac
||
1181 test -f $ac_srcdir/configure.
in; then
1183 $ac_configure --help
1185 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1191 test -n "$ac_init_help" && exit 0
1192 if $ac_init_version; then
1194 wxWindows configure
2.5.1
1195 generated by GNU Autoconf
2.58
1197 Copyright
(C
) 2003 Free Software Foundation
, Inc.
1198 This configure
script is free software
; the Free Software Foundation
1199 gives unlimited permission to copy
, distribute and modify it.
1205 This file contains any messages produced by compilers while
1206 running configure, to aid debugging if configure makes a mistake.
1208 It was created by wxWindows $as_me 2.5.1, which was
1209 generated by GNU Autoconf 2.58. Invocation command line was
1220 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1221 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1222 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1223 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1224 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1226 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1227 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1229 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1230 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1231 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1232 hostinfo = `(hostinfo) 2>/dev/null || echo unknown`
1233 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1234 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1235 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1239 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1243 test -z "$as_dir" && as_dir
=.
1244 echo "PATH: $as_dir"
1259 # Keep a trace of the command line.
1260 # Strip out --no-create and --no-recursion so they do not pile up.
1261 # Strip out --silent because we don't want to record it for future runs.
1262 # Also quote any args containing shell meta-characters.
1263 # Make two passes to allow for proper duplicate-argument suppression.
1268 ac_must_keep_next
=false
1274 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1275 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1276 | -silent | --silent | --silen | --sile | --sil)
1278 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1279 ac_arg
=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1282 1) ac_configure_args0
="$ac_configure_args0 '$ac_arg'" ;;
1284 ac_configure_args1
="$ac_configure_args1 '$ac_arg'"
1285 if test $ac_must_keep_next = true
; then
1286 ac_must_keep_next
=false
# Got value, back to normal.
1289 *=* | --config-cache | -C | -disable-* | --disable-* \
1290 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1291 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1292 | -with-* | --with-* | -without-* | --without-* | --x)
1293 case "$ac_configure_args0 " in
1294 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1297 -* ) ac_must_keep_next
=true
;;
1300 ac_configure_args
="$ac_configure_args$ac_sep'$ac_arg'"
1301 # Get rid of the leading space.
1307 $as_unset ac_configure_args0
|| test "${ac_configure_args0+set}" != set || { ac_configure_args0
=; export ac_configure_args0
; }
1308 $as_unset ac_configure_args1
|| test "${ac_configure_args1+set}" != set || { ac_configure_args1
=; export ac_configure_args1
; }
1310 # When interrupted or exit'd, cleanup temporary files, and complete
1311 # config.log. We remove comments because anyway the quotes in there
1312 # would cause problems or look ugly.
1313 # WARNING: Be sure not to use single quotes in there, as some shells,
1314 # such as our DU 5.0 friend, will then `close' the trap.
1315 trap 'exit_status=$?
1316 # Save into config.log some information that might help in debugging.
1321 ## ---------------- ##
1322 ## Cache variables. ##
1323 ## ---------------- ##
1326 # The following way of writing the cache mishandles newlines in values,
1329 case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1332 "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1333 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1337 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1344 ## ----------------- ##
1345 ## Output variables. ##
1346 ## ----------------- ##
1349 for ac_var in $ac_subst_vars
1351 eval ac_val=$`echo $ac_var`
1352 echo "$ac_var='"'"'$ac_val'"'"'"
1356 if test -n "$ac_subst_files"; then
1363 for ac_var in $ac_subst_files
1365 eval ac_val=$`echo $ac_var`
1366 echo "$ac_var='"'"'$ac_val'"'"'"
1371 if test -s confdefs.h; then
1378 sed "/^$/d" confdefs.h | sort
1381 test "$ac_signal" != 0 &&
1382 echo "$as_me: caught signal $ac_signal"
1383 echo "$as_me: exit $exit_status"
1385 rm -f core *.core &&
1386 rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
1389 for ac_signal
in 1 2 13 15; do
1390 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1394 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1395 rm -rf conftest
* confdefs.h
1396 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
1399 # Predefined preprocessor variables.
1401 cat >>confdefs.h
<<_ACEOF
1402 #define PACKAGE_NAME "$PACKAGE_NAME"
1406 cat >>confdefs.h
<<_ACEOF
1407 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1411 cat >>confdefs.h
<<_ACEOF
1412 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1416 cat >>confdefs.h
<<_ACEOF
1417 #define PACKAGE_STRING "$PACKAGE_STRING"
1421 cat >>confdefs.h
<<_ACEOF
1422 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1426 # Let the site file select an alternate cache file if it wants to.
1427 # Prefer explicitly selected file to automatically selected ones.
1428 if test -z "$CONFIG_SITE"; then
1429 if test "x$prefix" != xNONE
; then
1430 CONFIG_SITE
="$prefix/share/config.site $prefix/etc/config.site"
1432 CONFIG_SITE
="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1435 for ac_site_file
in $CONFIG_SITE; do
1436 if test -r "$ac_site_file"; then
1437 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1438 echo "$as_me: loading site script $ac_site_file" >&6;}
1439 sed 's/^/| /' "$ac_site_file" >&5
1444 if test -r "$cache_file"; then
1445 # Some versions of bash will fail to source /dev/null (special
1446 # files actually), so we avoid doing that.
1447 if test -f "$cache_file"; then
1448 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1449 echo "$as_me: loading cache $cache_file" >&6;}
1451 [\\/]* | ?
:[\\/]* ) .
$cache_file;;
1452 *) . .
/$cache_file;;
1456 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1457 echo "$as_me: creating cache $cache_file" >&6;}
1461 # Check that the precious variables saved in the cache have kept the same
1463 ac_cache_corrupted
=false
1464 for ac_var
in `(set) 2>&1 |
1465 sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
1466 eval ac_old_set
=\
$ac_cv_env_${ac_var}_set
1467 eval ac_new_set
=\
$ac_env_${ac_var}_set
1468 eval ac_old_val
="\$ac_cv_env_${ac_var}_value"
1469 eval ac_new_val
="\$ac_env_${ac_var}_value"
1470 case $ac_old_set,$ac_new_set in
1472 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1473 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1474 ac_cache_corrupted
=: ;;
1476 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1477 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1478 ac_cache_corrupted
=: ;;
1481 if test "x$ac_old_val" != "x$ac_new_val"; then
1482 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1483 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1484 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1485 echo "$as_me: former value: $ac_old_val" >&2;}
1486 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1487 echo "$as_me: current value: $ac_new_val" >&2;}
1488 ac_cache_corrupted
=:
1491 # Pass precious variables to config.status.
1492 if test "$ac_new_set" = set; then
1494 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1495 ac_arg
=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1496 *) ac_arg
=$ac_var=$ac_new_val ;;
1498 case " $ac_configure_args " in
1499 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1500 *) ac_configure_args
="$ac_configure_args '$ac_arg'" ;;
1504 if $ac_cache_corrupted; then
1505 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1506 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1507 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1508 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1509 { (exit 1); exit 1; }; }
1513 ac_cpp
='$CPP $CPPFLAGS'
1514 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1515 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1516 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
1548 for ac_dir
in $srcdir $srcdir/..
$srcdir/..
/..
; do
1549 if test -f $ac_dir/install-sh; then
1551 ac_install_sh
="$ac_aux_dir/install-sh -c"
1553 elif test -f $ac_dir/install.sh
; then
1555 ac_install_sh
="$ac_aux_dir/install.sh -c"
1557 elif test -f $ac_dir/shtool
; then
1559 ac_install_sh
="$ac_aux_dir/shtool install -c"
1563 if test -z "$ac_aux_dir"; then
1564 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
1565 echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
1566 { (exit 1); exit 1; }; }
1568 ac_config_guess
="$SHELL $ac_aux_dir/config.guess"
1569 ac_config_sub
="$SHELL $ac_aux_dir/config.sub"
1570 ac_configure
="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
1572 # Make sure we can run config.sub.
1573 $ac_config_sub sun4
>/dev
/null
2>&1 ||
1574 { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
1575 echo "$as_me: error: cannot run $ac_config_sub" >&2;}
1576 { (exit 1); exit 1; }; }
1578 echo "$as_me:$LINENO: checking build system type" >&5
1579 echo $ECHO_N "checking build system type... $ECHO_C" >&6
1580 if test "${ac_cv_build+set}" = set; then
1581 echo $ECHO_N "(cached) $ECHO_C" >&6
1583 ac_cv_build_alias
=$build_alias
1584 test -z "$ac_cv_build_alias" &&
1585 ac_cv_build_alias
=`$ac_config_guess`
1586 test -z "$ac_cv_build_alias" &&
1587 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
1588 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
1589 { (exit 1); exit 1; }; }
1590 ac_cv_build
=`$ac_config_sub $ac_cv_build_alias` ||
1591 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
1592 echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
1593 { (exit 1); exit 1; }; }
1596 echo "$as_me:$LINENO: result: $ac_cv_build" >&5
1597 echo "${ECHO_T}$ac_cv_build" >&6
1599 build_cpu
=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1600 build_vendor
=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1601 build_os
=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1604 echo "$as_me:$LINENO: checking host system type" >&5
1605 echo $ECHO_N "checking host system type... $ECHO_C" >&6
1606 if test "${ac_cv_host+set}" = set; then
1607 echo $ECHO_N "(cached) $ECHO_C" >&6
1609 ac_cv_host_alias
=$host_alias
1610 test -z "$ac_cv_host_alias" &&
1611 ac_cv_host_alias
=$ac_cv_build_alias
1612 ac_cv_host
=`$ac_config_sub $ac_cv_host_alias` ||
1613 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
1614 echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
1615 { (exit 1); exit 1; }; }
1618 echo "$as_me:$LINENO: result: $ac_cv_host" >&5
1619 echo "${ECHO_T}$ac_cv_host" >&6
1621 host_cpu
=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1622 host_vendor
=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1623 host_os
=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1626 echo "$as_me:$LINENO: checking target system type" >&5
1627 echo $ECHO_N "checking target system type... $ECHO_C" >&6
1628 if test "${ac_cv_target+set}" = set; then
1629 echo $ECHO_N "(cached) $ECHO_C" >&6
1631 ac_cv_target_alias
=$target_alias
1632 test "x$ac_cv_target_alias" = "x" &&
1633 ac_cv_target_alias
=$ac_cv_host_alias
1634 ac_cv_target
=`$ac_config_sub $ac_cv_target_alias` ||
1635 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_target_alias failed" >&5
1636 echo "$as_me: error: $ac_config_sub $ac_cv_target_alias failed" >&2;}
1637 { (exit 1); exit 1; }; }
1640 echo "$as_me:$LINENO: result: $ac_cv_target" >&5
1641 echo "${ECHO_T}$ac_cv_target" >&6
1642 target
=$ac_cv_target
1643 target_cpu
=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1644 target_vendor
=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1645 target_os
=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1648 # The aliases save the names the user supplied, while $host etc.
1649 # will get canonicalized.
1650 test -n "$target_alias" &&
1651 test "$program_prefix$program_suffix$program_transform_name" = \
1653 program_prefix
=${target_alias}-
1657 WX_MAJOR_VERSION_NUMBER
=2
1658 WX_MINOR_VERSION_NUMBER
=5
1661 WX_VERSION
=$WX_MAJOR_VERSION_NUMBER.
$WX_MINOR_VERSION_NUMBER.
$WX_RELEASE_NUMBER
1662 WX_RELEASE
=$WX_MAJOR_VERSION_NUMBER.
$WX_MINOR_VERSION_NUMBER
1664 WX_MSW_VERSION
=$WX_MAJOR_VERSION_NUMBER$WX_MINOR_VERSION_NUMBER$WX_RELEASE_NUMBER
1680 USE_BSD
= USE_DARWIN
= USE_FREEBSD
=
1686 USE_SOLARIS
= USE_SUN
= USE_SUNOS
= USE_SVR4
= USE_SYSV
= USE_VMS
=
1692 NEEDS_D_REENTRANT_FOR_R_FUNCS
=0
1694 ALL_TOOLKITS
="COCOA GTK MAC MGL MICROWIN MOTIF MSW PM X11"
1696 DEFAULT_wxUSE_COCOA
=0
1700 DEFAULT_wxUSE_MICROWIN
=0
1701 DEFAULT_wxUSE_MOTIF
=0
1706 DEFAULT_DEFAULT_wxUSE_COCOA
=0
1707 DEFAULT_DEFAULT_wxUSE_GTK
=0
1708 DEFAULT_DEFAULT_wxUSE_MAC
=0
1709 DEFAULT_DEFAULT_wxUSE_MGL
=0
1710 DEFAULT_DEFAULT_wxUSE_MICROWIN
=0
1711 DEFAULT_DEFAULT_wxUSE_MOTIF
=0
1712 DEFAULT_DEFAULT_wxUSE_MSW
=0
1713 DEFAULT_DEFAULT_wxUSE_PM
=0
1714 DEFAULT_DEFAULT_wxUSE_X11
=0
1719 SAMPLES_RPATH_POSTLINK
=
1724 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1725 NEEDS_D_REENTRANT_FOR_R_FUNCS
=1
1727 cat >>confdefs.h
<<\_ACEOF
1734 cat >>confdefs.h
<<\_ACEOF
1739 if test "x$TMP" = "xalpha"; then
1741 cat >>confdefs.h
<<\_ACEOF
1746 DEFAULT_DEFAULT_wxUSE_GTK
=1
1748 *-*-gnu* | *-*-k*bsd
*-gnu )
1751 if test "x$TMP" = "xalpha"; then
1753 cat >>confdefs.h
<<\_ACEOF
1758 DEFAULT_DEFAULT_wxUSE_GTK
=1
1760 *-*-irix5* | *-*-irix6* )
1763 cat >>confdefs.h
<<\_ACEOF
1767 cat >>confdefs.h
<<\_ACEOF
1771 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1777 cat >>confdefs.h
<<\_ACEOF
1781 cat >>confdefs.h
<<\_ACEOF
1782 #define __SOLARIS__ 1
1785 cat >>confdefs.h
<<\_ACEOF
1789 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1790 NEEDS_D_REENTRANT_FOR_R_FUNCS
=1
1796 cat >>confdefs.h
<<\_ACEOF
1800 cat >>confdefs.h
<<\_ACEOF
1804 cat >>confdefs.h
<<\_ACEOF
1808 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1813 cat >>confdefs.h
<<\_ACEOF
1814 #define __FREEBSD__ 1
1817 cat >>confdefs.h
<<\_ACEOF
1821 DEFAULT_DEFAULT_wxUSE_GTK
=1
1826 cat >>confdefs.h
<<\_ACEOF
1827 #define __OPENBSD__ 1
1830 cat >>confdefs.h
<<\_ACEOF
1834 DEFAULT_DEFAULT_wxUSE_GTK
=1
1839 cat >>confdefs.h
<<\_ACEOF
1840 #define __NETBSD__ 1
1843 cat >>confdefs.h
<<\_ACEOF
1847 DEFAULT_DEFAULT_wxUSE_GTK
=1
1852 cat >>confdefs.h
<<\_ACEOF
1856 cat >>confdefs.h
<<\_ACEOF
1860 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1861 NEEDS_D_REENTRANT_FOR_R_FUNCS
=1
1866 cat >>confdefs.h
<<\_ACEOF
1870 cat >>confdefs.h
<<\_ACEOF
1874 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1879 cat >>confdefs.h
<<\_ACEOF
1883 cat >>confdefs.h
<<\_ACEOF
1887 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1894 cat >>confdefs.h
<<\_ACEOF
1898 cat >>confdefs.h
<<\_ACEOF
1902 cat >>confdefs.h
<<\_ACEOF
1906 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1913 cat >>confdefs.h
<<\_ACEOF
1914 #define __UNIXWARE__ 1
1919 *-*-cygwin* | *-*-mingw32* )
1923 DEFAULT_DEFAULT_wxUSE_MSW
=1
1929 cat >>confdefs.h
<<\_ACEOF
1934 DEFAULT_DEFAULT_wxUSE_MGL
=1
1935 LIBS
="$LIBS -lstdc++"
1938 *-pc-os2_emx | *-pc-os2-emx )
1939 cat >>confdefs.h
<<\_ACEOF
1944 cat >>confdefs.h
<<\_ACEOF
1949 DEFAULT_DEFAULT_wxUSE_PM
=1
1951 LDFLAGS
="$LDFLAGS -Zcrtdll"
1952 ac_executable_extensions
=".exe"
1953 export ac_executable_extensions
1957 for ac_dir
in $PATH; do
1959 if test -z "$ac_TEMP_PATH"; then
1960 ac_TEMP_PATH
="$ac_dir"
1962 ac_TEMP_PATH
="$ac_TEMP_PATH/$ac_dir"
1965 export PATH
="$ac_TEMP_PATH"
1973 cat >>confdefs.h
<<\_ACEOF
1977 cat >>confdefs.h
<<\_ACEOF
1978 #define __DARWIN__ 1
1981 cat >>confdefs.h
<<\_ACEOF
1982 #define __POWERPC__ 1
1985 cat >>confdefs.h
<<\_ACEOF
1986 #define TARGET_CARBON 1
1989 DEFAULT_DEFAULT_wxUSE_MAC
=1
1994 cat >>confdefs.h
<<\_ACEOF
2001 { { echo "$as_me:$LINENO: error: unknown system type ${host}." >&5
2002 echo "$as_me: error: unknown system type ${host}." >&2;}
2003 { (exit 1); exit 1; }; }
2009 wx_arg_cache_file
="configarg.cache"
2010 echo "loading argument cache $wx_arg_cache_file"
2011 rm -f ${wx_arg_cache_file}.tmp
2012 touch ${wx_arg_cache_file}.tmp
2013 touch ${wx_arg_cache_file}
2017 if test $DEBUG_CONFIGURE = 1; then
2018 DEFAULT_wxUSE_UNIVERSAL
=no
2019 DEFAULT_wxUSE_STL
=no
2021 DEFAULT_wxUSE_NANOX
=no
2023 DEFAULT_wxUSE_THREADS
=yes
2025 DEFAULT_wxUSE_SHARED
=yes
2026 DEFAULT_wxUSE_OPTIMISE
=no
2027 DEFAULT_wxUSE_PROFILE
=no
2028 DEFAULT_wxUSE_NO_DEPS
=no
2029 DEFAULT_wxUSE_NO_RTTI
=no
2030 DEFAULT_wxUSE_NO_EXCEPTIONS
=no
2031 DEFAULT_wxUSE_PERMISSIVE
=no
2032 DEFAULT_wxUSE_DEBUG_FLAG
=yes
2033 DEFAULT_wxUSE_DEBUG_INFO
=yes
2034 DEFAULT_wxUSE_DEBUG_GDB
=yes
2035 DEFAULT_wxUSE_MEM_TRACING
=no
2036 DEFAULT_wxUSE_DEBUG_CONTEXT
=no
2037 DEFAULT_wxUSE_DMALLOC
=no
2038 DEFAULT_wxUSE_APPLE_IEEE
=no
2040 DEFAULT_wxUSE_EXCEPTIONS
=no
2041 DEFAULT_wxUSE_LOG
=yes
2042 DEFAULT_wxUSE_LOGWINDOW
=no
2043 DEFAULT_wxUSE_LOGGUI
=no
2044 DEFAULT_wxUSE_LOGDIALOG
=no
2046 DEFAULT_wxUSE_GUI
=yes
2047 DEFAULT_wxUSE_CONTROLS
=no
2049 DEFAULT_wxUSE_REGEX
=no
2050 DEFAULT_wxUSE_XML
=no
2051 DEFAULT_wxUSE_EXPAT
=no
2052 DEFAULT_wxUSE_ZLIB
=no
2053 DEFAULT_wxUSE_LIBPNG
=no
2054 DEFAULT_wxUSE_LIBJPEG
=no
2055 DEFAULT_wxUSE_LIBTIFF
=no
2056 DEFAULT_wxUSE_LIBXPM
=no
2057 DEFAULT_wxUSE_LIBMSPACK
=no
2058 DEFAULT_wxUSE_LIBSDL
=no
2059 DEFAULT_wxUSE_ODBC
=no
2060 DEFAULT_wxUSE_OPENGL
=no
2062 DEFAULT_wxUSE_ON_FATAL_EXCEPTION
=no
2063 DEFAULT_wxUSE_SNGLINST_CHECKER
=no
2064 DEFAULT_wxUSE_STD_IOSTREAM
=no
2065 DEFAULT_wxUSE_CMDLINE_PARSER
=no
2066 DEFAULT_wxUSE_DATETIME
=no
2067 DEFAULT_wxUSE_TIMER
=no
2068 DEFAULT_wxUSE_STOPWATCH
=no
2069 DEFAULT_wxUSE_FILE
=no
2070 DEFAULT_wxUSE_FFILE
=no
2071 DEFAULT_wxUSE_TEXTBUFFER
=no
2072 DEFAULT_wxUSE_TEXTFILE
=no
2073 DEFAULT_wxUSE_SOUND
=no
2074 DEFAULT_wxUSE_INTL
=no
2075 DEFAULT_wxUSE_CONFIG
=no
2076 DEFAULT_wxUSE_FONTMAP
=no
2077 DEFAULT_wxUSE_STREAMS
=no
2078 DEFAULT_wxUSE_SOCKETS
=no
2079 DEFAULT_wxUSE_OLE
=no
2080 DEFAULT_wxUSE_DATAOBJ
=no
2081 DEFAULT_wxUSE_DIALUP_MANAGER
=no
2082 DEFAULT_wxUSE_JOYSTICK
=no
2083 DEFAULT_wxUSE_DYNLIB_CLASS
=no
2084 DEFAULT_wxUSE_DYNAMIC_LOADER
=no
2085 DEFAULT_wxUSE_LONGLONG
=no
2086 DEFAULT_wxUSE_GEOMETRY
=no
2088 DEFAULT_wxUSE_AFM_FOR_POSTSCRIPT
=no
2089 DEFAULT_wxUSE_NORMALIZED_PS_FONTS
=no
2090 DEFAULT_wxUSE_POSTSCRIPT
=no
2092 DEFAULT_wxUSE_CLIPBOARD
=no
2093 DEFAULT_wxUSE_TOOLTIPS
=no
2094 DEFAULT_wxUSE_DRAG_AND_DROP
=no
2095 DEFAULT_wxUSE_DRAGIMAGE
=no
2096 DEFAULT_wxUSE_SPLINES
=no
2098 DEFAULT_wxUSE_MDI_ARCHITECTURE
=no
2099 DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE
=no
2100 DEFAULT_wxUSE_PRINTING_ARCHITECTURE
=no
2102 DEFAULT_wxUSE_RESOURCES
=no
2103 DEFAULT_wxUSE_CONSTRAINTS
=no
2104 DEFAULT_wxUSE_IPC
=no
2105 DEFAULT_wxUSE_HELP
=no
2106 DEFAULT_wxUSE_MS_HTML_HELP
=no
2107 DEFAULT_wxUSE_WXHTML_HELP
=no
2108 DEFAULT_wxUSE_TREELAYOUT
=no
2109 DEFAULT_wxUSE_METAFILE
=no
2110 DEFAULT_wxUSE_MIMETYPE
=no
2111 DEFAULT_wxUSE_SYSTEM_OPTIONS
=no
2112 DEFAULT_wxUSE_PROTOCOL
=no
2113 DEFAULT_wxUSE_PROTOCOL_HTTP
=no
2114 DEFAULT_wxUSE_PROTOCOL_FTP
=no
2115 DEFAULT_wxUSE_PROTOCOL_FILE
=no
2116 DEFAULT_wxUSE_URL
=no
2118 DEFAULT_wxUSE_COMMONDLGS
=no
2119 DEFAULT_wxUSE_CHOICEDLG
=no
2120 DEFAULT_wxUSE_COLOURDLG
=no
2121 DEFAULT_wxUSE_DIRDLG
=no
2122 DEFAULT_wxUSE_FILEDLG
=no
2123 DEFAULT_wxUSE_FINDREPLDLG
=no
2124 DEFAULT_wxUSE_FONTDLG
=no
2125 DEFAULT_wxUSE_MSGDLG
=no
2126 DEFAULT_wxUSE_NUMBERDLG
=no
2127 DEFAULT_wxUSE_TEXTDLG
=no
2128 DEFAULT_wxUSE_SPLASH
=no
2129 DEFAULT_wxUSE_STARTUP_TIPS
=no
2130 DEFAULT_wxUSE_PROGRESSDLG
=no
2131 DEFAULT_wxUSE_WIZARDDLG
=no
2133 DEFAULT_wxUSE_MENUS
=no
2134 DEFAULT_wxUSE_MINIFRAME
=no
2135 DEFAULT_wxUSE_HTML
=no
2136 DEFAULT_wxUSE_FILESYSTEM
=no
2137 DEFAULT_wxUSE_FS_INET
=no
2138 DEFAULT_wxUSE_FS_ZIP
=no
2139 DEFAULT_wxUSE_BUSYINFO
=no
2140 DEFAULT_wxUSE_ZIPSTREAM
=no
2141 DEFAULT_wxUSE_GZSTREAM
=no
2142 DEFAULT_wxUSE_VALIDATORS
=no
2144 DEFAULT_wxUSE_ACCEL
=no
2145 DEFAULT_wxUSE_BUTTON
=no
2146 DEFAULT_wxUSE_BMPBUTTON
=no
2147 DEFAULT_wxUSE_CALCTRL
=no
2148 DEFAULT_wxUSE_CARET
=no
2149 DEFAULT_wxUSE_CHECKBOX
=no
2150 DEFAULT_wxUSE_CHECKLST
=no
2151 DEFAULT_wxUSE_CHOICE
=no
2152 DEFAULT_wxUSE_COMBOBOX
=no
2153 DEFAULT_wxUSE_DISPLAY
=no
2154 DEFAULT_wxUSE_GAUGE
=no
2155 DEFAULT_wxUSE_GRID
=no
2156 DEFAULT_wxUSE_IMAGLIST
=no
2157 DEFAULT_wxUSE_LISTBOOK
=no
2158 DEFAULT_wxUSE_LISTBOX
=no
2159 DEFAULT_wxUSE_LISTCTRL
=no
2160 DEFAULT_wxUSE_NOTEBOOK
=no
2161 DEFAULT_wxUSE_RADIOBOX
=no
2162 DEFAULT_wxUSE_RADIOBTN
=no
2163 DEFAULT_wxUSE_SASH
=no
2164 DEFAULT_wxUSE_SCROLLBAR
=no
2165 DEFAULT_wxUSE_SLIDER
=no
2166 DEFAULT_wxUSE_SPINBTN
=no
2167 DEFAULT_wxUSE_SPINCTRL
=no
2168 DEFAULT_wxUSE_SPLITTER
=no
2169 DEFAULT_wxUSE_STATBMP
=no
2170 DEFAULT_wxUSE_STATBOX
=no
2171 DEFAULT_wxUSE_STATLINE
=no
2172 DEFAULT_wxUSE_STATTEXT
=no
2173 DEFAULT_wxUSE_STATUSBAR
=yes
2174 DEFAULT_wxUSE_TABDIALOG
=no
2175 DEFAULT_wxUSE_TEXTCTRL
=no
2176 DEFAULT_wxUSE_TOGGLEBTN
=no
2177 DEFAULT_wxUSE_TOOLBAR
=no
2178 DEFAULT_wxUSE_TOOLBAR_NATIVE
=no
2179 DEFAULT_wxUSE_TOOLBAR_SIMPLE
=no
2180 DEFAULT_wxUSE_TREECTRL
=no
2181 DEFAULT_wxUSE_POPUPWIN
=no
2182 DEFAULT_wxUSE_TIPWINDOW
=no
2184 DEFAULT_wxUSE_UNICODE
=no
2185 DEFAULT_wxUSE_UNICODE_MSLU
=no
2186 DEFAULT_wxUSE_WCSRTOMBS
=no
2188 DEFAULT_wxUSE_PALETTE
=no
2189 DEFAULT_wxUSE_IMAGE
=no
2190 DEFAULT_wxUSE_GIF
=no
2191 DEFAULT_wxUSE_PCX
=no
2192 DEFAULT_wxUSE_PNM
=no
2193 DEFAULT_wxUSE_IFF
=no
2194 DEFAULT_wxUSE_XPM
=no
2195 DEFAULT_wxUSE_ICO_CUR
=no
2196 DEFAULT_wxUSE_ACCESSIBILITY
=no
2198 DEFAULT_wxUSE_MONOLITHIC
=no
2199 DEFAULT_wxUSE_PLUGINS
=no
2200 DEFAULT_wxUSE_OFFICIAL_BUILD
=no
2202 DEFAULT_wxUSE_UNIVERSAL
=no
2203 DEFAULT_wxUSE_STL
=no
2205 DEFAULT_wxUSE_NANOX
=no
2207 DEFAULT_wxUSE_THREADS
=yes
2209 DEFAULT_wxUSE_SHARED
=yes
2210 DEFAULT_wxUSE_OPTIMISE
=yes
2211 DEFAULT_wxUSE_PROFILE
=no
2212 DEFAULT_wxUSE_NO_DEPS
=no
2213 DEFAULT_wxUSE_NO_RTTI
=no
2214 DEFAULT_wxUSE_NO_EXCEPTIONS
=no
2215 DEFAULT_wxUSE_PERMISSIVE
=no
2216 DEFAULT_wxUSE_DEBUG_FLAG
=no
2217 DEFAULT_wxUSE_DEBUG_INFO
=no
2218 DEFAULT_wxUSE_DEBUG_GDB
=no
2219 DEFAULT_wxUSE_MEM_TRACING
=no
2220 DEFAULT_wxUSE_DEBUG_CONTEXT
=no
2221 DEFAULT_wxUSE_DMALLOC
=no
2222 DEFAULT_wxUSE_APPLE_IEEE
=yes
2224 DEFAULT_wxUSE_EXCEPTIONS
=yes
2225 DEFAULT_wxUSE_LOG
=yes
2226 DEFAULT_wxUSE_LOGWINDOW
=yes
2227 DEFAULT_wxUSE_LOGGUI
=yes
2228 DEFAULT_wxUSE_LOGDIALOG
=yes
2230 DEFAULT_wxUSE_GUI
=yes
2232 DEFAULT_wxUSE_REGEX
=yes
2233 DEFAULT_wxUSE_XML
=yes
2234 DEFAULT_wxUSE_EXPAT
=yes
2235 DEFAULT_wxUSE_ZLIB
=yes
2236 DEFAULT_wxUSE_LIBPNG
=yes
2237 DEFAULT_wxUSE_LIBJPEG
=yes
2238 DEFAULT_wxUSE_LIBTIFF
=yes
2239 DEFAULT_wxUSE_LIBXPM
=yes
2240 DEFAULT_wxUSE_LIBMSPACK
=yes
2241 DEFAULT_wxUSE_LIBSDL
=no
2242 DEFAULT_wxUSE_ODBC
=no
2243 DEFAULT_wxUSE_OPENGL
=no
2245 DEFAULT_wxUSE_ON_FATAL_EXCEPTION
=yes
2246 DEFAULT_wxUSE_SNGLINST_CHECKER
=yes
2247 DEFAULT_wxUSE_STD_IOSTREAM
=no
2248 DEFAULT_wxUSE_CMDLINE_PARSER
=yes
2249 DEFAULT_wxUSE_DATETIME
=yes
2250 DEFAULT_wxUSE_TIMER
=yes
2251 DEFAULT_wxUSE_STOPWATCH
=yes
2252 DEFAULT_wxUSE_FILE
=yes
2253 DEFAULT_wxUSE_FFILE
=yes
2254 DEFAULT_wxUSE_TEXTBUFFER
=yes
2255 DEFAULT_wxUSE_TEXTFILE
=yes
2256 DEFAULT_wxUSE_SOUND
=yes
2257 DEFAULT_wxUSE_INTL
=yes
2258 DEFAULT_wxUSE_CONFIG
=yes
2259 DEFAULT_wxUSE_FONTMAP
=yes
2260 DEFAULT_wxUSE_STREAMS
=yes
2261 DEFAULT_wxUSE_SOCKETS
=yes
2262 DEFAULT_wxUSE_OLE
=yes
2263 DEFAULT_wxUSE_DATAOBJ
=yes
2264 DEFAULT_wxUSE_DIALUP_MANAGER
=yes
2265 DEFAULT_wxUSE_JOYSTICK
=yes
2266 DEFAULT_wxUSE_DYNLIB_CLASS
=yes
2267 DEFAULT_wxUSE_DYNAMIC_LOADER
=yes
2268 DEFAULT_wxUSE_LONGLONG
=yes
2269 DEFAULT_wxUSE_GEOMETRY
=yes
2271 DEFAULT_wxUSE_AFM_FOR_POSTSCRIPT
=yes
2272 DEFAULT_wxUSE_NORMALIZED_PS_FONTS
=yes
2273 DEFAULT_wxUSE_POSTSCRIPT
=yes
2275 DEFAULT_wxUSE_CLIPBOARD
=yes
2276 DEFAULT_wxUSE_TOOLTIPS
=yes
2277 DEFAULT_wxUSE_DRAG_AND_DROP
=yes
2278 DEFAULT_wxUSE_DRAGIMAGE
=yes
2279 DEFAULT_wxUSE_SPLINES
=yes
2281 DEFAULT_wxUSE_MDI_ARCHITECTURE
=yes
2282 DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE
=yes
2283 DEFAULT_wxUSE_PRINTING_ARCHITECTURE
=yes
2285 DEFAULT_wxUSE_RESOURCES
=no
2286 DEFAULT_wxUSE_CONSTRAINTS
=yes
2287 DEFAULT_wxUSE_IPC
=yes
2288 DEFAULT_wxUSE_HELP
=yes
2289 DEFAULT_wxUSE_MS_HTML_HELP
=yes
2290 DEFAULT_wxUSE_WXHTML_HELP
=yes
2291 DEFAULT_wxUSE_TREELAYOUT
=yes
2292 DEFAULT_wxUSE_METAFILE
=yes
2293 DEFAULT_wxUSE_MIMETYPE
=yes
2294 DEFAULT_wxUSE_SYSTEM_OPTIONS
=yes
2295 DEFAULT_wxUSE_PROTOCOL
=yes
2296 DEFAULT_wxUSE_PROTOCOL_HTTP
=yes
2297 DEFAULT_wxUSE_PROTOCOL_FTP
=yes
2298 DEFAULT_wxUSE_PROTOCOL_FILE
=yes
2299 DEFAULT_wxUSE_URL
=yes
2301 DEFAULT_wxUSE_COMMONDLGS
=yes
2302 DEFAULT_wxUSE_CHOICEDLG
=yes
2303 DEFAULT_wxUSE_COLOURDLG
=yes
2304 DEFAULT_wxUSE_DIRDLG
=yes
2305 DEFAULT_wxUSE_FILEDLG
=yes
2306 DEFAULT_wxUSE_FINDREPLDLG
=yes
2307 DEFAULT_wxUSE_FONTDLG
=yes
2308 DEFAULT_wxUSE_MSGDLG
=yes
2309 DEFAULT_wxUSE_NUMBERDLG
=yes
2310 DEFAULT_wxUSE_TEXTDLG
=yes
2311 DEFAULT_wxUSE_SPLASH
=yes
2312 DEFAULT_wxUSE_STARTUP_TIPS
=yes
2313 DEFAULT_wxUSE_PROGRESSDLG
=yes
2314 DEFAULT_wxUSE_WIZARDDLG
=yes
2316 DEFAULT_wxUSE_MENUS
=yes
2317 DEFAULT_wxUSE_MINIFRAME
=yes
2318 DEFAULT_wxUSE_HTML
=yes
2319 DEFAULT_wxUSE_FILESYSTEM
=yes
2320 DEFAULT_wxUSE_FS_INET
=yes
2321 DEFAULT_wxUSE_FS_ZIP
=yes
2322 DEFAULT_wxUSE_BUSYINFO
=yes
2323 DEFAULT_wxUSE_ZIPSTREAM
=yes
2324 DEFAULT_wxUSE_GZSTREAM
=yes
2325 DEFAULT_wxUSE_VALIDATORS
=yes
2327 DEFAULT_wxUSE_ACCEL
=yes
2328 DEFAULT_wxUSE_BUTTON
=yes
2329 DEFAULT_wxUSE_BMPBUTTON
=yes
2330 DEFAULT_wxUSE_CALCTRL
=yes
2331 DEFAULT_wxUSE_CARET
=yes
2332 DEFAULT_wxUSE_CHECKBOX
=yes
2333 DEFAULT_wxUSE_CHECKLST
=yes
2334 DEFAULT_wxUSE_CHOICE
=yes
2335 DEFAULT_wxUSE_COMBOBOX
=yes
2336 DEFAULT_wxUSE_DISPLAY
=yes
2337 DEFAULT_wxUSE_GAUGE
=yes
2338 DEFAULT_wxUSE_GRID
=yes
2339 DEFAULT_wxUSE_IMAGLIST
=yes
2340 DEFAULT_wxUSE_LISTBOOK
=yes
2341 DEFAULT_wxUSE_LISTBOX
=yes
2342 DEFAULT_wxUSE_LISTCTRL
=yes
2343 DEFAULT_wxUSE_NOTEBOOK
=yes
2344 DEFAULT_wxUSE_RADIOBOX
=yes
2345 DEFAULT_wxUSE_RADIOBTN
=yes
2346 DEFAULT_wxUSE_SASH
=yes
2347 DEFAULT_wxUSE_SCROLLBAR
=yes
2348 DEFAULT_wxUSE_SLIDER
=yes
2349 DEFAULT_wxUSE_SPINBTN
=yes
2350 DEFAULT_wxUSE_SPINCTRL
=yes
2351 DEFAULT_wxUSE_SPLITTER
=yes
2352 DEFAULT_wxUSE_STATBMP
=yes
2353 DEFAULT_wxUSE_STATBOX
=yes
2354 DEFAULT_wxUSE_STATLINE
=yes
2355 DEFAULT_wxUSE_STATTEXT
=yes
2356 DEFAULT_wxUSE_STATUSBAR
=yes
2357 DEFAULT_wxUSE_TABDIALOG
=no
2358 DEFAULT_wxUSE_TEXTCTRL
=yes
2359 DEFAULT_wxUSE_TOGGLEBTN
=yes
2360 DEFAULT_wxUSE_TOOLBAR
=yes
2361 DEFAULT_wxUSE_TOOLBAR_NATIVE
=yes
2362 DEFAULT_wxUSE_TOOLBAR_SIMPLE
=yes
2363 DEFAULT_wxUSE_TREECTRL
=yes
2364 DEFAULT_wxUSE_POPUPWIN
=yes
2365 DEFAULT_wxUSE_TIPWINDOW
=yes
2367 DEFAULT_wxUSE_UNICODE
=no
2368 DEFAULT_wxUSE_UNICODE_MSLU
=yes
2369 DEFAULT_wxUSE_WCSRTOMBS
=no
2371 DEFAULT_wxUSE_PALETTE
=yes
2372 DEFAULT_wxUSE_IMAGE
=yes
2373 DEFAULT_wxUSE_GIF
=yes
2374 DEFAULT_wxUSE_PCX
=yes
2375 DEFAULT_wxUSE_IFF
=no
2376 DEFAULT_wxUSE_PNM
=yes
2377 DEFAULT_wxUSE_XPM
=yes
2378 DEFAULT_wxUSE_ICO_CUR
=yes
2379 DEFAULT_wxUSE_ACCESSIBILITY
=no
2381 DEFAULT_wxUSE_MONOLITHIC
=no
2382 DEFAULT_wxUSE_PLUGINS
=no
2383 DEFAULT_wxUSE_OFFICIAL_BUILD
=no
2388 for toolkit
in `echo $ALL_TOOLKITS`; do
2389 LINE
=`grep "wxUSE_$toolkit=" ${wx_arg_cache_file}`
2390 if test "x$LINE" != "x" ; then
2391 has_toolkit_in_cache
=1
2392 eval "DEFAULT_$LINE"
2393 eval "CACHE_$toolkit=1"
2400 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gui" >&5
2401 echo $ECHO_N "checking for --${enablestring:-enable}-gui... $ECHO_C" >&6
2403 # Check whether --enable-gui or --disable-gui was given.
2404 if test "${enable_gui+set}" = set; then
2405 enableval
="$enable_gui"
2407 if test "$enableval" = yes; then
2408 ac_cv_use_gui
='wxUSE_GUI=yes'
2410 ac_cv_use_gui
='wxUSE_GUI=no'
2415 LINE
=`grep "wxUSE_GUI" ${wx_arg_cache_file}`
2416 if test "x$LINE" != x
; then
2417 eval "DEFAULT_$LINE"
2422 ac_cv_use_gui
='wxUSE_GUI='$DEFAULT_wxUSE_GUI
2426 eval "$ac_cv_use_gui"
2427 if test "$no_cache" != 1; then
2428 echo $ac_cv_use_gui >> ${wx_arg_cache_file}.tmp
2431 if test "$wxUSE_GUI" = yes; then
2432 echo "$as_me:$LINENO: result: yes" >&5
2433 echo "${ECHO_T}yes" >&6
2435 echo "$as_me:$LINENO: result: no" >&5
2436 echo "${ECHO_T}no" >&6
2441 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-monolithic" >&5
2442 echo $ECHO_N "checking for --${enablestring:-enable}-monolithic... $ECHO_C" >&6
2444 # Check whether --enable-monolithic or --disable-monolithic was given.
2445 if test "${enable_monolithic+set}" = set; then
2446 enableval
="$enable_monolithic"
2448 if test "$enableval" = yes; then
2449 ac_cv_use_monolithic
='wxUSE_MONOLITHIC=yes'
2451 ac_cv_use_monolithic
='wxUSE_MONOLITHIC=no'
2456 LINE
=`grep "wxUSE_MONOLITHIC" ${wx_arg_cache_file}`
2457 if test "x$LINE" != x
; then
2458 eval "DEFAULT_$LINE"
2463 ac_cv_use_monolithic
='wxUSE_MONOLITHIC='$DEFAULT_wxUSE_MONOLITHIC
2467 eval "$ac_cv_use_monolithic"
2468 if test "$no_cache" != 1; then
2469 echo $ac_cv_use_monolithic >> ${wx_arg_cache_file}.tmp
2472 if test "$wxUSE_MONOLITHIC" = yes; then
2473 echo "$as_me:$LINENO: result: yes" >&5
2474 echo "${ECHO_T}yes" >&6
2476 echo "$as_me:$LINENO: result: no" >&5
2477 echo "${ECHO_T}no" >&6
2482 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-plugins" >&5
2483 echo $ECHO_N "checking for --${enablestring:-enable}-plugins... $ECHO_C" >&6
2485 # Check whether --enable-plugins or --disable-plugins was given.
2486 if test "${enable_plugins+set}" = set; then
2487 enableval
="$enable_plugins"
2489 if test "$enableval" = yes; then
2490 ac_cv_use_plugins
='wxUSE_PLUGINS=yes'
2492 ac_cv_use_plugins
='wxUSE_PLUGINS=no'
2497 LINE
=`grep "wxUSE_PLUGINS" ${wx_arg_cache_file}`
2498 if test "x$LINE" != x
; then
2499 eval "DEFAULT_$LINE"
2504 ac_cv_use_plugins
='wxUSE_PLUGINS='$DEFAULT_wxUSE_PLUGINS
2508 eval "$ac_cv_use_plugins"
2509 if test "$no_cache" != 1; then
2510 echo $ac_cv_use_plugins >> ${wx_arg_cache_file}.tmp
2513 if test "$wxUSE_PLUGINS" = yes; then
2514 echo "$as_me:$LINENO: result: yes" >&5
2515 echo "${ECHO_T}yes" >&6
2517 echo "$as_me:$LINENO: result: no" >&5
2518 echo "${ECHO_T}no" >&6
2522 if test "$wxUSE_GUI" = "yes"; then
2526 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-universal" >&5
2527 echo $ECHO_N "checking for --${enablestring:-enable}-universal... $ECHO_C" >&6
2529 # Check whether --enable-universal or --disable-universal was given.
2530 if test "${enable_universal+set}" = set; then
2531 enableval
="$enable_universal"
2533 if test "$enableval" = yes; then
2534 ac_cv_use_universal
='wxUSE_UNIVERSAL=yes'
2536 ac_cv_use_universal
='wxUSE_UNIVERSAL=no'
2541 LINE
=`grep "wxUSE_UNIVERSAL" ${wx_arg_cache_file}`
2542 if test "x$LINE" != x
; then
2543 eval "DEFAULT_$LINE"
2548 ac_cv_use_universal
='wxUSE_UNIVERSAL='$DEFAULT_wxUSE_UNIVERSAL
2552 eval "$ac_cv_use_universal"
2553 if test "$no_cache" != 1; then
2554 echo $ac_cv_use_universal >> ${wx_arg_cache_file}.tmp
2557 if test "$wxUSE_UNIVERSAL" = yes; then
2558 echo "$as_me:$LINENO: result: yes" >&5
2559 echo "${ECHO_T}yes" >&6
2561 echo "$as_me:$LINENO: result: no" >&5
2562 echo "${ECHO_T}no" >&6
2566 # Check whether --with-gtk or --without-gtk was given.
2567 if test "${with_gtk+set}" = set; then
2569 wxUSE_GTK
="$withval" CACHE_GTK
=1 TOOLKIT_GIVEN
=1
2572 # Check whether --with-motif or --without-motif was given.
2573 if test "${with_motif+set}" = set; then
2574 withval
="$with_motif"
2575 wxUSE_MOTIF
="$withval" CACHE_MOTIF
=1 TOOLKIT_GIVEN
=1
2578 # Check whether --with-mac or --without-mac was given.
2579 if test "${with_mac+set}" = set; then
2581 wxUSE_MAC
="$withval" TOOLKIT_GIVEN
=1
2584 # Check whether --with-cocoa or --without-cocoa was given.
2585 if test "${with_cocoa+set}" = set; then
2586 withval
="$with_cocoa"
2587 wxUSE_COCOA
="$withval" TOOLKIT_GIVEN
=1
2590 # Check whether --with-wine or --without-wine was given.
2591 if test "${with_wine+set}" = set; then
2592 withval
="$with_wine"
2593 wxUSE_WINE
="$withval" CACHE_WINE
=1
2596 # Check whether --with-msw or --without-msw was given.
2597 if test "${with_msw+set}" = set; then
2599 wxUSE_MSW
="$withval" CACHE_MSW
=1 TOOLKIT_GIVEN
=1
2602 # Check whether --with-pm or --without-pm was given.
2603 if test "${with_pm+set}" = set; then
2605 wxUSE_PM
="$withval" CACHE_PM
=1 TOOLKIT_GIVEN
=1
2608 # Check whether --with-mgl or --without-mgl was given.
2609 if test "${with_mgl+set}" = set; then
2611 wxUSE_MGL
="$withval" wxUSE_UNIVERSAL
="yes" CACHE_MGL
=1 TOOLKIT_GIVEN
=1
2614 # Check whether --with-microwin or --without-microwin was given.
2615 if test "${with_microwin+set}" = set; then
2616 withval
="$with_microwin"
2617 wxUSE_MICROWIN
="$withval" CACHE_MICROWIN
=1 TOOLKIT_GIVEN
=1
2620 # Check whether --with-x11 or --without-x11 was given.
2621 if test "${with_x11+set}" = set; then
2623 wxUSE_X11
="$withval" wxUSE_UNIVERSAL
="yes" CACHE_X11
=1 TOOLKIT_GIVEN
=1
2627 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-nanox" >&5
2628 echo $ECHO_N "checking for --${enablestring:-enable}-nanox... $ECHO_C" >&6
2630 # Check whether --enable-nanox or --disable-nanox was given.
2631 if test "${enable_nanox+set}" = set; then
2632 enableval
="$enable_nanox"
2634 if test "$enableval" = yes; then
2635 ac_cv_use_nanox
='wxUSE_NANOX=yes'
2637 ac_cv_use_nanox
='wxUSE_NANOX=no'
2642 LINE
=`grep "wxUSE_NANOX" ${wx_arg_cache_file}`
2643 if test "x$LINE" != x
; then
2644 eval "DEFAULT_$LINE"
2649 ac_cv_use_nanox
='wxUSE_NANOX='$DEFAULT_wxUSE_NANOX
2653 eval "$ac_cv_use_nanox"
2654 if test "$no_cache" != 1; then
2655 echo $ac_cv_use_nanox >> ${wx_arg_cache_file}.tmp
2658 if test "$wxUSE_NANOX" = yes; then
2659 echo "$as_me:$LINENO: result: yes" >&5
2660 echo "${ECHO_T}yes" >&6
2662 echo "$as_me:$LINENO: result: no" >&5
2663 echo "${ECHO_T}no" >&6
2669 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gtk2" >&5
2670 echo $ECHO_N "checking for --${enablestring:-enable}-gtk2... $ECHO_C" >&6
2672 # Check whether --enable-gtk2 or --disable-gtk2 was given.
2673 if test "${enable_gtk2+set}" = set; then
2674 enableval
="$enable_gtk2"
2676 if test "$enableval" = yes; then
2677 ac_cv_use_gtk2
='wxUSE_GTK2=yes'
2679 ac_cv_use_gtk2
='wxUSE_GTK2=no'
2684 LINE
=`grep "wxUSE_GTK2" ${wx_arg_cache_file}`
2685 if test "x$LINE" != x
; then
2686 eval "DEFAULT_$LINE"
2691 ac_cv_use_gtk2
='wxUSE_GTK2='$DEFAULT_wxUSE_GTK2
2695 eval "$ac_cv_use_gtk2"
2696 if test "$no_cache" != 1; then
2697 echo $ac_cv_use_gtk2 >> ${wx_arg_cache_file}.tmp
2700 if test "$wxUSE_GTK2" = yes; then
2701 echo "$as_me:$LINENO: result: yes" >&5
2702 echo "${ECHO_T}yes" >&6
2704 echo "$as_me:$LINENO: result: no" >&5
2705 echo "${ECHO_T}no" >&6
2710 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gpe" >&5
2711 echo $ECHO_N "checking for --${enablestring:-enable}-gpe... $ECHO_C" >&6
2713 # Check whether --enable-gpe or --disable-gpe was given.
2714 if test "${enable_gpe+set}" = set; then
2715 enableval
="$enable_gpe"
2717 if test "$enableval" = yes; then
2718 ac_cv_use_gpe
='wxUSE_GPE=yes'
2720 ac_cv_use_gpe
='wxUSE_GPE=no'
2725 LINE
=`grep "wxUSE_GPE" ${wx_arg_cache_file}`
2726 if test "x$LINE" != x
; then
2727 eval "DEFAULT_$LINE"
2732 ac_cv_use_gpe
='wxUSE_GPE='$DEFAULT_wxUSE_GPE
2736 eval "$ac_cv_use_gpe"
2737 if test "$no_cache" != 1; then
2738 echo $ac_cv_use_gpe >> ${wx_arg_cache_file}.tmp
2741 if test "$wxUSE_GPE" = yes; then
2742 echo "$as_me:$LINENO: result: yes" >&5
2743 echo "${ECHO_T}yes" >&6
2745 echo "$as_me:$LINENO: result: no" >&5
2746 echo "${ECHO_T}no" >&6
2751 echo "$as_me:$LINENO: checking for --with-libpng" >&5
2752 echo $ECHO_N "checking for --with-libpng... $ECHO_C" >&6
2755 # Check whether --with-libpng or --without-libpng was given.
2756 if test "${with_libpng+set}" = set; then
2757 withval
="$with_libpng"
2759 if test "$withval" = yes; then
2760 ac_cv_use_libpng
='wxUSE_LIBPNG=yes'
2761 elif test "$withval" = no
; then
2762 ac_cv_use_libpng
='wxUSE_LIBPNG=no'
2763 elif test "$withval" = sys
; then
2764 ac_cv_use_libpng
='wxUSE_LIBPNG=sys'
2765 elif test "$withval" = builtin; then
2766 ac_cv_use_libpng
='wxUSE_LIBPNG=builtin'
2768 { { echo "$as_me:$LINENO: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&5
2769 echo "$as_me: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&2;}
2770 { (exit 1); exit 1; }; }
2775 LINE
=`grep "wxUSE_LIBPNG" ${wx_arg_cache_file}`
2776 if test "x$LINE" != x
; then
2777 eval "DEFAULT_$LINE"
2782 ac_cv_use_libpng
='wxUSE_LIBPNG='$DEFAULT_wxUSE_LIBPNG
2786 eval "$ac_cv_use_libpng"
2787 if test "$no_cache" != 1; then
2788 echo $ac_cv_use_libpng >> ${wx_arg_cache_file}.tmp
2791 if test "$wxUSE_LIBPNG" = yes; then
2792 echo "$as_me:$LINENO: result: yes" >&5
2793 echo "${ECHO_T}yes" >&6
2794 elif test "$wxUSE_LIBPNG" = no
; then
2795 echo "$as_me:$LINENO: result: no" >&5
2796 echo "${ECHO_T}no" >&6
2797 elif test "$wxUSE_LIBPNG" = sys
; then
2798 echo "$as_me:$LINENO: result: system version" >&5
2799 echo "${ECHO_T}system version" >&6
2800 elif test "$wxUSE_LIBPNG" = builtin; then
2801 echo "$as_me:$LINENO: result: builtin version" >&5
2802 echo "${ECHO_T}builtin version" >&6
2804 { { echo "$as_me:$LINENO: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&5
2805 echo "$as_me: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&2;}
2806 { (exit 1); exit 1; }; }
2810 echo "$as_me:$LINENO: checking for --with-libjpeg" >&5
2811 echo $ECHO_N "checking for --with-libjpeg... $ECHO_C" >&6
2814 # Check whether --with-libjpeg or --without-libjpeg was given.
2815 if test "${with_libjpeg+set}" = set; then
2816 withval
="$with_libjpeg"
2818 if test "$withval" = yes; then
2819 ac_cv_use_libjpeg
='wxUSE_LIBJPEG=yes'
2820 elif test "$withval" = no
; then
2821 ac_cv_use_libjpeg
='wxUSE_LIBJPEG=no'
2822 elif test "$withval" = sys
; then
2823 ac_cv_use_libjpeg
='wxUSE_LIBJPEG=sys'
2824 elif test "$withval" = builtin; then
2825 ac_cv_use_libjpeg
='wxUSE_LIBJPEG=builtin'
2827 { { echo "$as_me:$LINENO: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&5
2828 echo "$as_me: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&2;}
2829 { (exit 1); exit 1; }; }
2834 LINE
=`grep "wxUSE_LIBJPEG" ${wx_arg_cache_file}`
2835 if test "x$LINE" != x
; then
2836 eval "DEFAULT_$LINE"
2841 ac_cv_use_libjpeg
='wxUSE_LIBJPEG='$DEFAULT_wxUSE_LIBJPEG
2845 eval "$ac_cv_use_libjpeg"
2846 if test "$no_cache" != 1; then
2847 echo $ac_cv_use_libjpeg >> ${wx_arg_cache_file}.tmp
2850 if test "$wxUSE_LIBJPEG" = yes; then
2851 echo "$as_me:$LINENO: result: yes" >&5
2852 echo "${ECHO_T}yes" >&6
2853 elif test "$wxUSE_LIBJPEG" = no
; then
2854 echo "$as_me:$LINENO: result: no" >&5
2855 echo "${ECHO_T}no" >&6
2856 elif test "$wxUSE_LIBJPEG" = sys
; then
2857 echo "$as_me:$LINENO: result: system version" >&5
2858 echo "${ECHO_T}system version" >&6
2859 elif test "$wxUSE_LIBJPEG" = builtin; then
2860 echo "$as_me:$LINENO: result: builtin version" >&5
2861 echo "${ECHO_T}builtin version" >&6
2863 { { echo "$as_me:$LINENO: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&5
2864 echo "$as_me: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&2;}
2865 { (exit 1); exit 1; }; }
2869 echo "$as_me:$LINENO: checking for --with-libtiff" >&5
2870 echo $ECHO_N "checking for --with-libtiff... $ECHO_C" >&6
2873 # Check whether --with-libtiff or --without-libtiff was given.
2874 if test "${with_libtiff+set}" = set; then
2875 withval
="$with_libtiff"
2877 if test "$withval" = yes; then
2878 ac_cv_use_libtiff
='wxUSE_LIBTIFF=yes'
2879 elif test "$withval" = no
; then
2880 ac_cv_use_libtiff
='wxUSE_LIBTIFF=no'
2881 elif test "$withval" = sys
; then
2882 ac_cv_use_libtiff
='wxUSE_LIBTIFF=sys'
2883 elif test "$withval" = builtin; then
2884 ac_cv_use_libtiff
='wxUSE_LIBTIFF=builtin'
2886 { { echo "$as_me:$LINENO: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&5
2887 echo "$as_me: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&2;}
2888 { (exit 1); exit 1; }; }
2893 LINE
=`grep "wxUSE_LIBTIFF" ${wx_arg_cache_file}`
2894 if test "x$LINE" != x
; then
2895 eval "DEFAULT_$LINE"
2900 ac_cv_use_libtiff
='wxUSE_LIBTIFF='$DEFAULT_wxUSE_LIBTIFF
2904 eval "$ac_cv_use_libtiff"
2905 if test "$no_cache" != 1; then
2906 echo $ac_cv_use_libtiff >> ${wx_arg_cache_file}.tmp
2909 if test "$wxUSE_LIBTIFF" = yes; then
2910 echo "$as_me:$LINENO: result: yes" >&5
2911 echo "${ECHO_T}yes" >&6
2912 elif test "$wxUSE_LIBTIFF" = no
; then
2913 echo "$as_me:$LINENO: result: no" >&5
2914 echo "${ECHO_T}no" >&6
2915 elif test "$wxUSE_LIBTIFF" = sys
; then
2916 echo "$as_me:$LINENO: result: system version" >&5
2917 echo "${ECHO_T}system version" >&6
2918 elif test "$wxUSE_LIBTIFF" = builtin; then
2919 echo "$as_me:$LINENO: result: builtin version" >&5
2920 echo "${ECHO_T}builtin version" >&6
2922 { { echo "$as_me:$LINENO: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&5
2923 echo "$as_me: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&2;}
2924 { (exit 1); exit 1; }; }
2928 echo "$as_me:$LINENO: checking for --with-libxpm" >&5
2929 echo $ECHO_N "checking for --with-libxpm... $ECHO_C" >&6
2932 # Check whether --with-libxpm or --without-libxpm was given.
2933 if test "${with_libxpm+set}" = set; then
2934 withval
="$with_libxpm"
2936 if test "$withval" = yes; then
2937 ac_cv_use_libxpm
='wxUSE_LIBXPM=yes'
2938 elif test "$withval" = no
; then
2939 ac_cv_use_libxpm
='wxUSE_LIBXPM=no'
2940 elif test "$withval" = sys
; then
2941 ac_cv_use_libxpm
='wxUSE_LIBXPM=sys'
2942 elif test "$withval" = builtin; then
2943 ac_cv_use_libxpm
='wxUSE_LIBXPM=builtin'
2945 { { echo "$as_me:$LINENO: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&5
2946 echo "$as_me: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&2;}
2947 { (exit 1); exit 1; }; }
2952 LINE
=`grep "wxUSE_LIBXPM" ${wx_arg_cache_file}`
2953 if test "x$LINE" != x
; then
2954 eval "DEFAULT_$LINE"
2959 ac_cv_use_libxpm
='wxUSE_LIBXPM='$DEFAULT_wxUSE_LIBXPM
2963 eval "$ac_cv_use_libxpm"
2964 if test "$no_cache" != 1; then
2965 echo $ac_cv_use_libxpm >> ${wx_arg_cache_file}.tmp
2968 if test "$wxUSE_LIBXPM" = yes; then
2969 echo "$as_me:$LINENO: result: yes" >&5
2970 echo "${ECHO_T}yes" >&6
2971 elif test "$wxUSE_LIBXPM" = no
; then
2972 echo "$as_me:$LINENO: result: no" >&5
2973 echo "${ECHO_T}no" >&6
2974 elif test "$wxUSE_LIBXPM" = sys
; then
2975 echo "$as_me:$LINENO: result: system version" >&5
2976 echo "${ECHO_T}system version" >&6
2977 elif test "$wxUSE_LIBXPM" = builtin; then
2978 echo "$as_me:$LINENO: result: builtin version" >&5
2979 echo "${ECHO_T}builtin version" >&6
2981 { { echo "$as_me:$LINENO: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&5
2982 echo "$as_me: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&2;}
2983 { (exit 1); exit 1; }; }
2987 echo "$as_me:$LINENO: checking for --with-libmspack" >&5
2988 echo $ECHO_N "checking for --with-libmspack... $ECHO_C" >&6
2991 # Check whether --with-libmspack or --without-libmspack was given.
2992 if test "${with_libmspack+set}" = set; then
2993 withval
="$with_libmspack"
2995 if test "$withval" = yes; then
2996 ac_cv_use_libmspack
='wxUSE_LIBMSPACK=yes'
2998 ac_cv_use_libmspack
='wxUSE_LIBMSPACK=no'
3003 LINE
=`grep "wxUSE_LIBMSPACK" ${wx_arg_cache_file}`
3004 if test "x$LINE" != x
; then
3005 eval "DEFAULT_$LINE"
3010 ac_cv_use_libmspack
='wxUSE_LIBMSPACK='$DEFAULT_wxUSE_LIBMSPACK
3014 eval "$ac_cv_use_libmspack"
3015 if test "$no_cache" != 1; then
3016 echo $ac_cv_use_libmspack >> ${wx_arg_cache_file}.tmp
3019 if test "$wxUSE_LIBMSPACK" = yes; then
3020 echo "$as_me:$LINENO: result: yes" >&5
3021 echo "${ECHO_T}yes" >&6
3023 echo "$as_me:$LINENO: result: no" >&5
3024 echo "${ECHO_T}no" >&6
3028 echo "$as_me:$LINENO: checking for --with-sdl" >&5
3029 echo $ECHO_N "checking for --with-sdl... $ECHO_C" >&6
3032 # Check whether --with-sdl or --without-sdl was given.
3033 if test "${with_sdl+set}" = set; then
3036 if test "$withval" = yes; then
3037 ac_cv_use_sdl
='wxUSE_LIBSDL=yes'
3039 ac_cv_use_sdl
='wxUSE_LIBSDL=no'
3044 LINE
=`grep "wxUSE_LIBSDL" ${wx_arg_cache_file}`
3045 if test "x$LINE" != x
; then
3046 eval "DEFAULT_$LINE"
3051 ac_cv_use_sdl
='wxUSE_LIBSDL='$DEFAULT_wxUSE_LIBSDL
3055 eval "$ac_cv_use_sdl"
3056 if test "$no_cache" != 1; then
3057 echo $ac_cv_use_sdl >> ${wx_arg_cache_file}.tmp
3060 if test "$wxUSE_LIBSDL" = yes; then
3061 echo "$as_me:$LINENO: result: yes" >&5
3062 echo "${ECHO_T}yes" >&6
3064 echo "$as_me:$LINENO: result: no" >&5
3065 echo "${ECHO_T}no" >&6
3069 echo "$as_me:$LINENO: checking for --with-opengl" >&5
3070 echo $ECHO_N "checking for --with-opengl... $ECHO_C" >&6
3073 # Check whether --with-opengl or --without-opengl was given.
3074 if test "${with_opengl+set}" = set; then
3075 withval
="$with_opengl"
3077 if test "$withval" = yes; then
3078 ac_cv_use_opengl
='wxUSE_OPENGL=yes'
3080 ac_cv_use_opengl
='wxUSE_OPENGL=no'
3085 LINE
=`grep "wxUSE_OPENGL" ${wx_arg_cache_file}`
3086 if test "x$LINE" != x
; then
3087 eval "DEFAULT_$LINE"
3092 ac_cv_use_opengl
='wxUSE_OPENGL='$DEFAULT_wxUSE_OPENGL
3096 eval "$ac_cv_use_opengl"
3097 if test "$no_cache" != 1; then
3098 echo $ac_cv_use_opengl >> ${wx_arg_cache_file}.tmp
3101 if test "$wxUSE_OPENGL" = yes; then
3102 echo "$as_me:$LINENO: result: yes" >&5
3103 echo "${ECHO_T}yes" >&6
3105 echo "$as_me:$LINENO: result: no" >&5
3106 echo "${ECHO_T}no" >&6
3113 echo "$as_me:$LINENO: checking for --with-dmalloc" >&5
3114 echo $ECHO_N "checking for --with-dmalloc... $ECHO_C" >&6
3117 # Check whether --with-dmalloc or --without-dmalloc was given.
3118 if test "${with_dmalloc+set}" = set; then
3119 withval
="$with_dmalloc"
3121 if test "$withval" = yes; then
3122 ac_cv_use_dmalloc
='wxUSE_DMALLOC=yes'
3124 ac_cv_use_dmalloc
='wxUSE_DMALLOC=no'
3129 LINE
=`grep "wxUSE_DMALLOC" ${wx_arg_cache_file}`
3130 if test "x$LINE" != x
; then
3131 eval "DEFAULT_$LINE"
3136 ac_cv_use_dmalloc
='wxUSE_DMALLOC='$DEFAULT_wxUSE_DMALLOC
3140 eval "$ac_cv_use_dmalloc"
3141 if test "$no_cache" != 1; then
3142 echo $ac_cv_use_dmalloc >> ${wx_arg_cache_file}.tmp
3145 if test "$wxUSE_DMALLOC" = yes; then
3146 echo "$as_me:$LINENO: result: yes" >&5
3147 echo "${ECHO_T}yes" >&6
3149 echo "$as_me:$LINENO: result: no" >&5
3150 echo "${ECHO_T}no" >&6
3154 echo "$as_me:$LINENO: checking for --with-regex" >&5
3155 echo $ECHO_N "checking for --with-regex... $ECHO_C" >&6
3158 # Check whether --with-regex or --without-regex was given.
3159 if test "${with_regex+set}" = set; then
3160 withval
="$with_regex"
3162 if test "$withval" = yes; then
3163 ac_cv_use_regex
='wxUSE_REGEX=yes'
3164 elif test "$withval" = no
; then
3165 ac_cv_use_regex
='wxUSE_REGEX=no'
3166 elif test "$withval" = sys
; then
3167 ac_cv_use_regex
='wxUSE_REGEX=sys'
3168 elif test "$withval" = builtin; then
3169 ac_cv_use_regex
='wxUSE_REGEX=builtin'
3171 { { echo "$as_me:$LINENO: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&5
3172 echo "$as_me: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&2;}
3173 { (exit 1); exit 1; }; }
3178 LINE
=`grep "wxUSE_REGEX" ${wx_arg_cache_file}`
3179 if test "x$LINE" != x
; then
3180 eval "DEFAULT_$LINE"
3185 ac_cv_use_regex
='wxUSE_REGEX='$DEFAULT_wxUSE_REGEX
3189 eval "$ac_cv_use_regex"
3190 if test "$no_cache" != 1; then
3191 echo $ac_cv_use_regex >> ${wx_arg_cache_file}.tmp
3194 if test "$wxUSE_REGEX" = yes; then
3195 echo "$as_me:$LINENO: result: yes" >&5
3196 echo "${ECHO_T}yes" >&6
3197 elif test "$wxUSE_REGEX" = no
; then
3198 echo "$as_me:$LINENO: result: no" >&5
3199 echo "${ECHO_T}no" >&6
3200 elif test "$wxUSE_REGEX" = sys
; then
3201 echo "$as_me:$LINENO: result: system version" >&5
3202 echo "${ECHO_T}system version" >&6
3203 elif test "$wxUSE_REGEX" = builtin; then
3204 echo "$as_me:$LINENO: result: builtin version" >&5
3205 echo "${ECHO_T}builtin version" >&6
3207 { { echo "$as_me:$LINENO: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&5
3208 echo "$as_me: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&2;}
3209 { (exit 1); exit 1; }; }
3213 echo "$as_me:$LINENO: checking for --with-zlib" >&5
3214 echo $ECHO_N "checking for --with-zlib... $ECHO_C" >&6
3217 # Check whether --with-zlib or --without-zlib was given.
3218 if test "${with_zlib+set}" = set; then
3219 withval
="$with_zlib"
3221 if test "$withval" = yes; then
3222 ac_cv_use_zlib
='wxUSE_ZLIB=yes'
3223 elif test "$withval" = no
; then
3224 ac_cv_use_zlib
='wxUSE_ZLIB=no'
3225 elif test "$withval" = sys
; then
3226 ac_cv_use_zlib
='wxUSE_ZLIB=sys'
3227 elif test "$withval" = builtin; then
3228 ac_cv_use_zlib
='wxUSE_ZLIB=builtin'
3230 { { echo "$as_me:$LINENO: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&5
3231 echo "$as_me: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&2;}
3232 { (exit 1); exit 1; }; }
3237 LINE
=`grep "wxUSE_ZLIB" ${wx_arg_cache_file}`
3238 if test "x$LINE" != x
; then
3239 eval "DEFAULT_$LINE"
3244 ac_cv_use_zlib
='wxUSE_ZLIB='$DEFAULT_wxUSE_ZLIB
3248 eval "$ac_cv_use_zlib"
3249 if test "$no_cache" != 1; then
3250 echo $ac_cv_use_zlib >> ${wx_arg_cache_file}.tmp
3253 if test "$wxUSE_ZLIB" = yes; then
3254 echo "$as_me:$LINENO: result: yes" >&5
3255 echo "${ECHO_T}yes" >&6
3256 elif test "$wxUSE_ZLIB" = no
; then
3257 echo "$as_me:$LINENO: result: no" >&5
3258 echo "${ECHO_T}no" >&6
3259 elif test "$wxUSE_ZLIB" = sys
; then
3260 echo "$as_me:$LINENO: result: system version" >&5
3261 echo "${ECHO_T}system version" >&6
3262 elif test "$wxUSE_ZLIB" = builtin; then
3263 echo "$as_me:$LINENO: result: builtin version" >&5
3264 echo "${ECHO_T}builtin version" >&6
3266 { { echo "$as_me:$LINENO: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&5
3267 echo "$as_me: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&2;}
3268 { (exit 1); exit 1; }; }
3272 echo "$as_me:$LINENO: checking for --with-odbc" >&5
3273 echo $ECHO_N "checking for --with-odbc... $ECHO_C" >&6
3276 # Check whether --with-odbc or --without-odbc was given.
3277 if test "${with_odbc+set}" = set; then
3278 withval
="$with_odbc"
3280 if test "$withval" = yes; then
3281 ac_cv_use_odbc
='wxUSE_ODBC=yes'
3282 elif test "$withval" = no
; then
3283 ac_cv_use_odbc
='wxUSE_ODBC=no'
3284 elif test "$withval" = sys
; then
3285 ac_cv_use_odbc
='wxUSE_ODBC=sys'
3286 elif test "$withval" = builtin; then
3287 ac_cv_use_odbc
='wxUSE_ODBC=builtin'
3289 { { echo "$as_me:$LINENO: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&5
3290 echo "$as_me: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&2;}
3291 { (exit 1); exit 1; }; }
3296 LINE
=`grep "wxUSE_ODBC" ${wx_arg_cache_file}`
3297 if test "x$LINE" != x
; then
3298 eval "DEFAULT_$LINE"
3303 ac_cv_use_odbc
='wxUSE_ODBC='$DEFAULT_wxUSE_ODBC
3307 eval "$ac_cv_use_odbc"
3308 if test "$no_cache" != 1; then
3309 echo $ac_cv_use_odbc >> ${wx_arg_cache_file}.tmp
3312 if test "$wxUSE_ODBC" = yes; then
3313 echo "$as_me:$LINENO: result: yes" >&5
3314 echo "${ECHO_T}yes" >&6
3315 elif test "$wxUSE_ODBC" = no
; then
3316 echo "$as_me:$LINENO: result: no" >&5
3317 echo "${ECHO_T}no" >&6
3318 elif test "$wxUSE_ODBC" = sys
; then
3319 echo "$as_me:$LINENO: result: system version" >&5
3320 echo "${ECHO_T}system version" >&6
3321 elif test "$wxUSE_ODBC" = builtin; then
3322 echo "$as_me:$LINENO: result: builtin version" >&5
3323 echo "${ECHO_T}builtin version" >&6
3325 { { echo "$as_me:$LINENO: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&5
3326 echo "$as_me: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&2;}
3327 { (exit 1); exit 1; }; }
3331 echo "$as_me:$LINENO: checking for --with-expat" >&5
3332 echo $ECHO_N "checking for --with-expat... $ECHO_C" >&6
3335 # Check whether --with-expat or --without-expat was given.
3336 if test "${with_expat+set}" = set; then
3337 withval
="$with_expat"
3339 if test "$withval" = yes; then
3340 ac_cv_use_expat
='wxUSE_EXPAT=yes'
3341 elif test "$withval" = no
; then
3342 ac_cv_use_expat
='wxUSE_EXPAT=no'
3343 elif test "$withval" = sys
; then
3344 ac_cv_use_expat
='wxUSE_EXPAT=sys'
3345 elif test "$withval" = builtin; then
3346 ac_cv_use_expat
='wxUSE_EXPAT=builtin'
3348 { { echo "$as_me:$LINENO: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&5
3349 echo "$as_me: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&2;}
3350 { (exit 1); exit 1; }; }
3355 LINE
=`grep "wxUSE_EXPAT" ${wx_arg_cache_file}`
3356 if test "x$LINE" != x
; then
3357 eval "DEFAULT_$LINE"
3362 ac_cv_use_expat
='wxUSE_EXPAT='$DEFAULT_wxUSE_EXPAT
3366 eval "$ac_cv_use_expat"
3367 if test "$no_cache" != 1; then
3368 echo $ac_cv_use_expat >> ${wx_arg_cache_file}.tmp
3371 if test "$wxUSE_EXPAT" = yes; then
3372 echo "$as_me:$LINENO: result: yes" >&5
3373 echo "${ECHO_T}yes" >&6
3374 elif test "$wxUSE_EXPAT" = no
; then
3375 echo "$as_me:$LINENO: result: no" >&5
3376 echo "${ECHO_T}no" >&6
3377 elif test "$wxUSE_EXPAT" = sys
; then
3378 echo "$as_me:$LINENO: result: system version" >&5
3379 echo "${ECHO_T}system version" >&6
3380 elif test "$wxUSE_EXPAT" = builtin; then
3381 echo "$as_me:$LINENO: result: builtin version" >&5
3382 echo "${ECHO_T}builtin version" >&6
3384 { { echo "$as_me:$LINENO: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&5
3385 echo "$as_me: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&2;}
3386 { (exit 1); exit 1; }; }
3393 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-shared" >&5
3394 echo $ECHO_N "checking for --${enablestring:-enable}-shared... $ECHO_C" >&6
3396 # Check whether --enable-shared or --disable-shared was given.
3397 if test "${enable_shared+set}" = set; then
3398 enableval
="$enable_shared"
3400 if test "$enableval" = yes; then
3401 ac_cv_use_shared
='wxUSE_SHARED=yes'
3403 ac_cv_use_shared
='wxUSE_SHARED=no'
3408 LINE
=`grep "wxUSE_SHARED" ${wx_arg_cache_file}`
3409 if test "x$LINE" != x
; then
3410 eval "DEFAULT_$LINE"
3415 ac_cv_use_shared
='wxUSE_SHARED='$DEFAULT_wxUSE_SHARED
3419 eval "$ac_cv_use_shared"
3420 if test "$no_cache" != 1; then
3421 echo $ac_cv_use_shared >> ${wx_arg_cache_file}.tmp
3424 if test "$wxUSE_SHARED" = yes; then
3425 echo "$as_me:$LINENO: result: yes" >&5
3426 echo "${ECHO_T}yes" >&6
3428 echo "$as_me:$LINENO: result: no" >&5
3429 echo "${ECHO_T}no" >&6
3434 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-optimise" >&5
3435 echo $ECHO_N "checking for --${enablestring:-enable}-optimise... $ECHO_C" >&6
3437 # Check whether --enable-optimise or --disable-optimise was given.
3438 if test "${enable_optimise+set}" = set; then
3439 enableval
="$enable_optimise"
3441 if test "$enableval" = yes; then
3442 ac_cv_use_optimise
='wxUSE_OPTIMISE=yes'
3444 ac_cv_use_optimise
='wxUSE_OPTIMISE=no'
3449 LINE
=`grep "wxUSE_OPTIMISE" ${wx_arg_cache_file}`
3450 if test "x$LINE" != x
; then
3451 eval "DEFAULT_$LINE"
3456 ac_cv_use_optimise
='wxUSE_OPTIMISE='$DEFAULT_wxUSE_OPTIMISE
3460 eval "$ac_cv_use_optimise"
3461 if test "$no_cache" != 1; then
3462 echo $ac_cv_use_optimise >> ${wx_arg_cache_file}.tmp
3465 if test "$wxUSE_OPTIMISE" = yes; then
3466 echo "$as_me:$LINENO: result: yes" >&5
3467 echo "${ECHO_T}yes" >&6
3469 echo "$as_me:$LINENO: result: no" >&5
3470 echo "${ECHO_T}no" >&6
3475 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug" >&5
3476 echo $ECHO_N "checking for --${enablestring:-enable}-debug... $ECHO_C" >&6
3478 # Check whether --enable-debug or --disable-debug was given.
3479 if test "${enable_debug+set}" = set; then
3480 enableval
="$enable_debug"
3482 if test "$enableval" = yes; then
3483 ac_cv_use_debug
='wxUSE_DEBUG=yes'
3485 ac_cv_use_debug
='wxUSE_DEBUG=no'
3490 LINE
=`grep "wxUSE_DEBUG" ${wx_arg_cache_file}`
3491 if test "x$LINE" != x
; then
3492 eval "DEFAULT_$LINE"
3497 ac_cv_use_debug
='wxUSE_DEBUG='$DEFAULT_wxUSE_DEBUG
3501 eval "$ac_cv_use_debug"
3502 if test "$no_cache" != 1; then
3503 echo $ac_cv_use_debug >> ${wx_arg_cache_file}.tmp
3506 if test "$wxUSE_DEBUG" = yes; then
3507 echo "$as_me:$LINENO: result: yes" >&5
3508 echo "${ECHO_T}yes" >&6
3510 echo "$as_me:$LINENO: result: no" >&5
3511 echo "${ECHO_T}no" >&6
3516 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stl" >&5
3517 echo $ECHO_N "checking for --${enablestring:-enable}-stl... $ECHO_C" >&6
3519 # Check whether --enable-stl or --disable-stl was given.
3520 if test "${enable_stl+set}" = set; then
3521 enableval
="$enable_stl"
3523 if test "$enableval" = yes; then
3524 ac_cv_use_stl
='wxUSE_STL=yes'
3526 ac_cv_use_stl
='wxUSE_STL=no'
3531 LINE
=`grep "wxUSE_STL" ${wx_arg_cache_file}`
3532 if test "x$LINE" != x
; then
3533 eval "DEFAULT_$LINE"
3538 ac_cv_use_stl
='wxUSE_STL='$DEFAULT_wxUSE_STL
3542 eval "$ac_cv_use_stl"
3543 if test "$no_cache" != 1; then
3544 echo $ac_cv_use_stl >> ${wx_arg_cache_file}.tmp
3547 if test "$wxUSE_STL" = yes; then
3548 echo "$as_me:$LINENO: result: yes" >&5
3549 echo "${ECHO_T}yes" >&6
3551 echo "$as_me:$LINENO: result: no" >&5
3552 echo "${ECHO_T}no" >&6
3555 if test "$USE_OS2" = "1"; then
3558 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-omf" >&5
3559 echo $ECHO_N "checking for --${enablestring:-enable}-omf... $ECHO_C" >&6
3561 # Check whether --enable-omf or --disable-omf was given.
3562 if test "${enable_omf+set}" = set; then
3563 enableval
="$enable_omf"
3565 if test "$enableval" = yes; then
3566 ac_cv_use_omf
='wxUSE_OMF=yes'
3568 ac_cv_use_omf
='wxUSE_OMF=no'
3573 LINE
=`grep "wxUSE_OMF" ${wx_arg_cache_file}`
3574 if test "x$LINE" != x
; then
3575 eval "DEFAULT_$LINE"
3580 ac_cv_use_omf
='wxUSE_OMF='$DEFAULT_wxUSE_OMF
3584 eval "$ac_cv_use_omf"
3585 if test "$no_cache" != 1; then
3586 echo $ac_cv_use_omf >> ${wx_arg_cache_file}.tmp
3589 if test "$wxUSE_OMF" = yes; then
3590 echo "$as_me:$LINENO: result: yes" >&5
3591 echo "${ECHO_T}yes" >&6
3593 echo "$as_me:$LINENO: result: no" >&5
3594 echo "${ECHO_T}no" >&6
3599 if test "$wxUSE_DEBUG" = "yes"; then
3600 DEFAULT_wxUSE_DEBUG_FLAG
=yes
3601 DEFAULT_wxUSE_DEBUG_INFO
=yes
3603 elif test "$wxUSE_DEBUG" = "no"; then
3604 DEFAULT_wxUSE_DEBUG_FLAG
=no
3605 DEFAULT_wxUSE_DEBUG_INFO
=no
3611 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_flag" >&5
3612 echo $ECHO_N "checking for --${enablestring:-enable}-debug_flag... $ECHO_C" >&6
3614 # Check whether --enable-debug_flag or --disable-debug_flag was given.
3615 if test "${enable_debug_flag+set}" = set; then
3616 enableval
="$enable_debug_flag"
3618 if test "$enableval" = yes; then
3619 ac_cv_use_debug_flag
='wxUSE_DEBUG_FLAG=yes'
3621 ac_cv_use_debug_flag
='wxUSE_DEBUG_FLAG=no'
3626 LINE
=`grep "wxUSE_DEBUG_FLAG" ${wx_arg_cache_file}`
3627 if test "x$LINE" != x
; then
3628 eval "DEFAULT_$LINE"
3633 ac_cv_use_debug_flag
='wxUSE_DEBUG_FLAG='$DEFAULT_wxUSE_DEBUG_FLAG
3637 eval "$ac_cv_use_debug_flag"
3638 if test "$no_cache" != 1; then
3639 echo $ac_cv_use_debug_flag >> ${wx_arg_cache_file}.tmp
3642 if test "$wxUSE_DEBUG_FLAG" = yes; then
3643 echo "$as_me:$LINENO: result: yes" >&5
3644 echo "${ECHO_T}yes" >&6
3646 echo "$as_me:$LINENO: result: no" >&5
3647 echo "${ECHO_T}no" >&6
3652 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_info" >&5
3653 echo $ECHO_N "checking for --${enablestring:-enable}-debug_info... $ECHO_C" >&6
3655 # Check whether --enable-debug_info or --disable-debug_info was given.
3656 if test "${enable_debug_info+set}" = set; then
3657 enableval
="$enable_debug_info"
3659 if test "$enableval" = yes; then
3660 ac_cv_use_debug_info
='wxUSE_DEBUG_INFO=yes'
3662 ac_cv_use_debug_info
='wxUSE_DEBUG_INFO=no'
3667 LINE
=`grep "wxUSE_DEBUG_INFO" ${wx_arg_cache_file}`
3668 if test "x$LINE" != x
; then
3669 eval "DEFAULT_$LINE"
3674 ac_cv_use_debug_info
='wxUSE_DEBUG_INFO='$DEFAULT_wxUSE_DEBUG_INFO
3678 eval "$ac_cv_use_debug_info"
3679 if test "$no_cache" != 1; then
3680 echo $ac_cv_use_debug_info >> ${wx_arg_cache_file}.tmp
3683 if test "$wxUSE_DEBUG_INFO" = yes; then
3684 echo "$as_me:$LINENO: result: yes" >&5
3685 echo "${ECHO_T}yes" >&6
3687 echo "$as_me:$LINENO: result: no" >&5
3688 echo "${ECHO_T}no" >&6
3693 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_gdb" >&5
3694 echo $ECHO_N "checking for --${enablestring:-enable}-debug_gdb... $ECHO_C" >&6
3696 # Check whether --enable-debug_gdb or --disable-debug_gdb was given.
3697 if test "${enable_debug_gdb+set}" = set; then
3698 enableval
="$enable_debug_gdb"
3700 if test "$enableval" = yes; then
3701 ac_cv_use_debug_gdb
='wxUSE_DEBUG_GDB=yes'
3703 ac_cv_use_debug_gdb
='wxUSE_DEBUG_GDB=no'
3708 LINE
=`grep "wxUSE_DEBUG_GDB" ${wx_arg_cache_file}`
3709 if test "x$LINE" != x
; then
3710 eval "DEFAULT_$LINE"
3715 ac_cv_use_debug_gdb
='wxUSE_DEBUG_GDB='$DEFAULT_wxUSE_DEBUG_GDB
3719 eval "$ac_cv_use_debug_gdb"
3720 if test "$no_cache" != 1; then
3721 echo $ac_cv_use_debug_gdb >> ${wx_arg_cache_file}.tmp
3724 if test "$wxUSE_DEBUG_GDB" = yes; then
3725 echo "$as_me:$LINENO: result: yes" >&5
3726 echo "${ECHO_T}yes" >&6
3728 echo "$as_me:$LINENO: result: no" >&5
3729 echo "${ECHO_T}no" >&6
3734 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_cntxt" >&5
3735 echo $ECHO_N "checking for --${enablestring:-enable}-debug_cntxt... $ECHO_C" >&6
3737 # Check whether --enable-debug_cntxt or --disable-debug_cntxt was given.
3738 if test "${enable_debug_cntxt+set}" = set; then
3739 enableval
="$enable_debug_cntxt"
3741 if test "$enableval" = yes; then
3742 ac_cv_use_debug_cntxt
='wxUSE_DEBUG_CONTEXT=yes'
3744 ac_cv_use_debug_cntxt
='wxUSE_DEBUG_CONTEXT=no'
3749 LINE
=`grep "wxUSE_DEBUG_CONTEXT" ${wx_arg_cache_file}`
3750 if test "x$LINE" != x
; then
3751 eval "DEFAULT_$LINE"
3756 ac_cv_use_debug_cntxt
='wxUSE_DEBUG_CONTEXT='$DEFAULT_wxUSE_DEBUG_CONTEXT
3760 eval "$ac_cv_use_debug_cntxt"
3761 if test "$no_cache" != 1; then
3762 echo $ac_cv_use_debug_cntxt >> ${wx_arg_cache_file}.tmp
3765 if test "$wxUSE_DEBUG_CONTEXT" = yes; then
3766 echo "$as_me:$LINENO: result: yes" >&5
3767 echo "${ECHO_T}yes" >&6
3769 echo "$as_me:$LINENO: result: no" >&5
3770 echo "${ECHO_T}no" >&6
3775 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mem_tracing" >&5
3776 echo $ECHO_N "checking for --${enablestring:-enable}-mem_tracing... $ECHO_C" >&6
3778 # Check whether --enable-mem_tracing or --disable-mem_tracing was given.
3779 if test "${enable_mem_tracing+set}" = set; then
3780 enableval
="$enable_mem_tracing"
3782 if test "$enableval" = yes; then
3783 ac_cv_use_mem_tracing
='wxUSE_MEM_TRACING=yes'
3785 ac_cv_use_mem_tracing
='wxUSE_MEM_TRACING=no'
3790 LINE
=`grep "wxUSE_MEM_TRACING" ${wx_arg_cache_file}`
3791 if test "x$LINE" != x
; then
3792 eval "DEFAULT_$LINE"
3797 ac_cv_use_mem_tracing
='wxUSE_MEM_TRACING='$DEFAULT_wxUSE_MEM_TRACING
3801 eval "$ac_cv_use_mem_tracing"
3802 if test "$no_cache" != 1; then
3803 echo $ac_cv_use_mem_tracing >> ${wx_arg_cache_file}.tmp
3806 if test "$wxUSE_MEM_TRACING" = yes; then
3807 echo "$as_me:$LINENO: result: yes" >&5
3808 echo "${ECHO_T}yes" >&6
3810 echo "$as_me:$LINENO: result: no" >&5
3811 echo "${ECHO_T}no" >&6
3816 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-profile" >&5
3817 echo $ECHO_N "checking for --${enablestring:-enable}-profile... $ECHO_C" >&6
3819 # Check whether --enable-profile or --disable-profile was given.
3820 if test "${enable_profile+set}" = set; then
3821 enableval
="$enable_profile"
3823 if test "$enableval" = yes; then
3824 ac_cv_use_profile
='wxUSE_PROFILE=yes'
3826 ac_cv_use_profile
='wxUSE_PROFILE=no'
3831 LINE
=`grep "wxUSE_PROFILE" ${wx_arg_cache_file}`
3832 if test "x$LINE" != x
; then
3833 eval "DEFAULT_$LINE"
3838 ac_cv_use_profile
='wxUSE_PROFILE='$DEFAULT_wxUSE_PROFILE
3842 eval "$ac_cv_use_profile"
3843 if test "$no_cache" != 1; then
3844 echo $ac_cv_use_profile >> ${wx_arg_cache_file}.tmp
3847 if test "$wxUSE_PROFILE" = yes; then
3848 echo "$as_me:$LINENO: result: yes" >&5
3849 echo "${ECHO_T}yes" >&6
3851 echo "$as_me:$LINENO: result: no" >&5
3852 echo "${ECHO_T}no" >&6
3857 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_rtti" >&5
3858 echo $ECHO_N "checking for --${enablestring:-enable}-no_rtti... $ECHO_C" >&6
3860 # Check whether --enable-no_rtti or --disable-no_rtti was given.
3861 if test "${enable_no_rtti+set}" = set; then
3862 enableval
="$enable_no_rtti"
3864 if test "$enableval" = yes; then
3865 ac_cv_use_no_rtti
='wxUSE_NO_RTTI=yes'
3867 ac_cv_use_no_rtti
='wxUSE_NO_RTTI=no'
3872 LINE
=`grep "wxUSE_NO_RTTI" ${wx_arg_cache_file}`
3873 if test "x$LINE" != x
; then
3874 eval "DEFAULT_$LINE"
3879 ac_cv_use_no_rtti
='wxUSE_NO_RTTI='$DEFAULT_wxUSE_NO_RTTI
3883 eval "$ac_cv_use_no_rtti"
3884 if test "$no_cache" != 1; then
3885 echo $ac_cv_use_no_rtti >> ${wx_arg_cache_file}.tmp
3888 if test "$wxUSE_NO_RTTI" = yes; then
3889 echo "$as_me:$LINENO: result: yes" >&5
3890 echo "${ECHO_T}yes" >&6
3892 echo "$as_me:$LINENO: result: no" >&5
3893 echo "${ECHO_T}no" >&6
3898 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_exceptions" >&5
3899 echo $ECHO_N "checking for --${enablestring:-enable}-no_exceptions... $ECHO_C" >&6
3901 # Check whether --enable-no_exceptions or --disable-no_exceptions was given.
3902 if test "${enable_no_exceptions+set}" = set; then
3903 enableval
="$enable_no_exceptions"
3905 if test "$enableval" = yes; then
3906 ac_cv_use_no_exceptions
='wxUSE_NO_EXCEPTIONS=yes'
3908 ac_cv_use_no_exceptions
='wxUSE_NO_EXCEPTIONS=no'
3913 LINE
=`grep "wxUSE_NO_EXCEPTIONS" ${wx_arg_cache_file}`
3914 if test "x$LINE" != x
; then
3915 eval "DEFAULT_$LINE"
3920 ac_cv_use_no_exceptions
='wxUSE_NO_EXCEPTIONS='$DEFAULT_wxUSE_NO_EXCEPTIONS
3924 eval "$ac_cv_use_no_exceptions"
3925 if test "$no_cache" != 1; then
3926 echo $ac_cv_use_no_exceptions >> ${wx_arg_cache_file}.tmp
3929 if test "$wxUSE_NO_EXCEPTIONS" = yes; then
3930 echo "$as_me:$LINENO: result: yes" >&5
3931 echo "${ECHO_T}yes" >&6
3933 echo "$as_me:$LINENO: result: no" >&5
3934 echo "${ECHO_T}no" >&6
3939 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-permissive" >&5
3940 echo $ECHO_N "checking for --${enablestring:-enable}-permissive... $ECHO_C" >&6
3942 # Check whether --enable-permissive or --disable-permissive was given.
3943 if test "${enable_permissive+set}" = set; then
3944 enableval
="$enable_permissive"
3946 if test "$enableval" = yes; then
3947 ac_cv_use_permissive
='wxUSE_PERMISSIVE=yes'
3949 ac_cv_use_permissive
='wxUSE_PERMISSIVE=no'
3954 LINE
=`grep "wxUSE_PERMISSIVE" ${wx_arg_cache_file}`
3955 if test "x$LINE" != x
; then
3956 eval "DEFAULT_$LINE"
3961 ac_cv_use_permissive
='wxUSE_PERMISSIVE='$DEFAULT_wxUSE_PERMISSIVE
3965 eval "$ac_cv_use_permissive"
3966 if test "$no_cache" != 1; then
3967 echo $ac_cv_use_permissive >> ${wx_arg_cache_file}.tmp
3970 if test "$wxUSE_PERMISSIVE" = yes; then
3971 echo "$as_me:$LINENO: result: yes" >&5
3972 echo "${ECHO_T}yes" >&6
3974 echo "$as_me:$LINENO: result: no" >&5
3975 echo "${ECHO_T}no" >&6
3980 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_deps" >&5
3981 echo $ECHO_N "checking for --${enablestring:-enable}-no_deps... $ECHO_C" >&6
3983 # Check whether --enable-no_deps or --disable-no_deps was given.
3984 if test "${enable_no_deps+set}" = set; then
3985 enableval
="$enable_no_deps"
3987 if test "$enableval" = yes; then
3988 ac_cv_use_no_deps
='wxUSE_NO_DEPS=yes'
3990 ac_cv_use_no_deps
='wxUSE_NO_DEPS=no'
3995 LINE
=`grep "wxUSE_NO_DEPS" ${wx_arg_cache_file}`
3996 if test "x$LINE" != x
; then
3997 eval "DEFAULT_$LINE"
4002 ac_cv_use_no_deps
='wxUSE_NO_DEPS='$DEFAULT_wxUSE_NO_DEPS
4006 eval "$ac_cv_use_no_deps"
4007 if test "$no_cache" != 1; then
4008 echo $ac_cv_use_no_deps >> ${wx_arg_cache_file}.tmp
4011 if test "$wxUSE_NO_DEPS" = yes; then
4012 echo "$as_me:$LINENO: result: yes" >&5
4013 echo "${ECHO_T}yes" >&6
4015 echo "$as_me:$LINENO: result: no" >&5
4016 echo "${ECHO_T}no" >&6
4022 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-compat22" >&5
4023 echo $ECHO_N "checking for --${enablestring:-enable}-compat22... $ECHO_C" >&6
4025 # Check whether --enable-compat22 or --disable-compat22 was given.
4026 if test "${enable_compat22+set}" = set; then
4027 enableval
="$enable_compat22"
4029 if test "$enableval" = yes; then
4030 ac_cv_use_compat22
='WXWIN_COMPATIBILITY_2_2=yes'
4032 ac_cv_use_compat22
='WXWIN_COMPATIBILITY_2_2=no'
4037 LINE
=`grep "WXWIN_COMPATIBILITY_2_2" ${wx_arg_cache_file}`
4038 if test "x$LINE" != x
; then
4039 eval "DEFAULT_$LINE"
4044 ac_cv_use_compat22
='WXWIN_COMPATIBILITY_2_2='$DEFAULT_WXWIN_COMPATIBILITY_2_2
4048 eval "$ac_cv_use_compat22"
4049 if test "$no_cache" != 1; then
4050 echo $ac_cv_use_compat22 >> ${wx_arg_cache_file}.tmp
4053 if test "$WXWIN_COMPATIBILITY_2_2" = yes; then
4054 echo "$as_me:$LINENO: result: yes" >&5
4055 echo "${ECHO_T}yes" >&6
4057 echo "$as_me:$LINENO: result: no" >&5
4058 echo "${ECHO_T}no" >&6
4062 enablestring
=disable
4063 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-compat24" >&5
4064 echo $ECHO_N "checking for --${enablestring:-enable}-compat24... $ECHO_C" >&6
4066 # Check whether --enable-compat24 or --disable-compat24 was given.
4067 if test "${enable_compat24+set}" = set; then
4068 enableval
="$enable_compat24"
4070 if test "$enableval" = yes; then
4071 ac_cv_use_compat24
='WXWIN_COMPATIBILITY_2_4=yes'
4073 ac_cv_use_compat24
='WXWIN_COMPATIBILITY_2_4=no'
4078 LINE
=`grep "WXWIN_COMPATIBILITY_2_4" ${wx_arg_cache_file}`
4079 if test "x$LINE" != x
; then
4080 eval "DEFAULT_$LINE"
4085 ac_cv_use_compat24
='WXWIN_COMPATIBILITY_2_4='$DEFAULT_WXWIN_COMPATIBILITY_2_4
4089 eval "$ac_cv_use_compat24"
4090 if test "$no_cache" != 1; then
4091 echo $ac_cv_use_compat24 >> ${wx_arg_cache_file}.tmp
4094 if test "$WXWIN_COMPATIBILITY_2_4" = yes; then
4095 echo "$as_me:$LINENO: result: yes" >&5
4096 echo "${ECHO_T}yes" >&6
4098 echo "$as_me:$LINENO: result: no" >&5
4099 echo "${ECHO_T}no" >&6
4103 # Check whether --enable-rpath or --disable-rpath was given.
4104 if test "${enable_rpath+set}" = set; then
4105 enableval
="$enable_rpath"
4106 wxRPATH_DIR
="$enableval"
4109 if test "$wxRPATH_DIR" != "" -a "$wxRPATH_DIR" != "disable"; then
4110 WXCONFIG_RPATH
="-Wl,-rpath -Wl,$wxRPATH_DIR"
4117 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-intl" >&5
4118 echo $ECHO_N "checking for --${enablestring:-enable}-intl... $ECHO_C" >&6
4120 # Check whether --enable-intl or --disable-intl was given.
4121 if test "${enable_intl+set}" = set; then
4122 enableval
="$enable_intl"
4124 if test "$enableval" = yes; then
4125 ac_cv_use_intl
='wxUSE_INTL=yes'
4127 ac_cv_use_intl
='wxUSE_INTL=no'
4132 LINE
=`grep "wxUSE_INTL" ${wx_arg_cache_file}`
4133 if test "x$LINE" != x
; then
4134 eval "DEFAULT_$LINE"
4139 ac_cv_use_intl
='wxUSE_INTL='$DEFAULT_wxUSE_INTL
4143 eval "$ac_cv_use_intl"
4144 if test "$no_cache" != 1; then
4145 echo $ac_cv_use_intl >> ${wx_arg_cache_file}.tmp
4148 if test "$wxUSE_INTL" = yes; then
4149 echo "$as_me:$LINENO: result: yes" >&5
4150 echo "${ECHO_T}yes" >&6
4152 echo "$as_me:$LINENO: result: no" >&5
4153 echo "${ECHO_T}no" >&6
4158 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-config" >&5
4159 echo $ECHO_N "checking for --${enablestring:-enable}-config... $ECHO_C" >&6
4161 # Check whether --enable-config or --disable-config was given.
4162 if test "${enable_config+set}" = set; then
4163 enableval
="$enable_config"
4165 if test "$enableval" = yes; then
4166 ac_cv_use_config
='wxUSE_CONFIG=yes'
4168 ac_cv_use_config
='wxUSE_CONFIG=no'
4173 LINE
=`grep "wxUSE_CONFIG" ${wx_arg_cache_file}`
4174 if test "x$LINE" != x
; then
4175 eval "DEFAULT_$LINE"
4180 ac_cv_use_config
='wxUSE_CONFIG='$DEFAULT_wxUSE_CONFIG
4184 eval "$ac_cv_use_config"
4185 if test "$no_cache" != 1; then
4186 echo $ac_cv_use_config >> ${wx_arg_cache_file}.tmp
4189 if test "$wxUSE_CONFIG" = yes; then
4190 echo "$as_me:$LINENO: result: yes" >&5
4191 echo "${ECHO_T}yes" >&6
4193 echo "$as_me:$LINENO: result: no" >&5
4194 echo "${ECHO_T}no" >&6
4200 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocols" >&5
4201 echo $ECHO_N "checking for --${enablestring:-enable}-protocols... $ECHO_C" >&6
4203 # Check whether --enable-protocols or --disable-protocols was given.
4204 if test "${enable_protocols+set}" = set; then
4205 enableval
="$enable_protocols"
4207 if test "$enableval" = yes; then
4208 ac_cv_use_protocols
='wxUSE_PROTOCOL=yes'
4210 ac_cv_use_protocols
='wxUSE_PROTOCOL=no'
4215 LINE
=`grep "wxUSE_PROTOCOL" ${wx_arg_cache_file}`
4216 if test "x$LINE" != x
; then
4217 eval "DEFAULT_$LINE"
4222 ac_cv_use_protocols
='wxUSE_PROTOCOL='$DEFAULT_wxUSE_PROTOCOL
4226 eval "$ac_cv_use_protocols"
4227 if test "$no_cache" != 1; then
4228 echo $ac_cv_use_protocols >> ${wx_arg_cache_file}.tmp
4231 if test "$wxUSE_PROTOCOL" = yes; then
4232 echo "$as_me:$LINENO: result: yes" >&5
4233 echo "${ECHO_T}yes" >&6
4235 echo "$as_me:$LINENO: result: no" >&5
4236 echo "${ECHO_T}no" >&6
4241 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ftp" >&5
4242 echo $ECHO_N "checking for --${enablestring:-enable}-ftp... $ECHO_C" >&6
4244 # Check whether --enable-ftp or --disable-ftp was given.
4245 if test "${enable_ftp+set}" = set; then
4246 enableval
="$enable_ftp"
4248 if test "$enableval" = yes; then
4249 ac_cv_use_ftp
='wxUSE_PROTOCOL_FTP=yes'
4251 ac_cv_use_ftp
='wxUSE_PROTOCOL_FTP=no'
4256 LINE
=`grep "wxUSE_PROTOCOL_FTP" ${wx_arg_cache_file}`
4257 if test "x$LINE" != x
; then
4258 eval "DEFAULT_$LINE"
4263 ac_cv_use_ftp
='wxUSE_PROTOCOL_FTP='$DEFAULT_wxUSE_PROTOCOL_FTP
4267 eval "$ac_cv_use_ftp"
4268 if test "$no_cache" != 1; then
4269 echo $ac_cv_use_ftp >> ${wx_arg_cache_file}.tmp
4272 if test "$wxUSE_PROTOCOL_FTP" = yes; then
4273 echo "$as_me:$LINENO: result: yes" >&5
4274 echo "${ECHO_T}yes" >&6
4276 echo "$as_me:$LINENO: result: no" >&5
4277 echo "${ECHO_T}no" >&6
4282 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-http" >&5
4283 echo $ECHO_N "checking for --${enablestring:-enable}-http... $ECHO_C" >&6
4285 # Check whether --enable-http or --disable-http was given.
4286 if test "${enable_http+set}" = set; then
4287 enableval
="$enable_http"
4289 if test "$enableval" = yes; then
4290 ac_cv_use_http
='wxUSE_PROTOCOL_HTTP=yes'
4292 ac_cv_use_http
='wxUSE_PROTOCOL_HTTP=no'
4297 LINE
=`grep "wxUSE_PROTOCOL_HTTP" ${wx_arg_cache_file}`
4298 if test "x$LINE" != x
; then
4299 eval "DEFAULT_$LINE"
4304 ac_cv_use_http
='wxUSE_PROTOCOL_HTTP='$DEFAULT_wxUSE_PROTOCOL_HTTP
4308 eval "$ac_cv_use_http"
4309 if test "$no_cache" != 1; then
4310 echo $ac_cv_use_http >> ${wx_arg_cache_file}.tmp
4313 if test "$wxUSE_PROTOCOL_HTTP" = yes; then
4314 echo "$as_me:$LINENO: result: yes" >&5
4315 echo "${ECHO_T}yes" >&6
4317 echo "$as_me:$LINENO: result: no" >&5
4318 echo "${ECHO_T}no" >&6
4323 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fileproto" >&5
4324 echo $ECHO_N "checking for --${enablestring:-enable}-fileproto... $ECHO_C" >&6
4326 # Check whether --enable-fileproto or --disable-fileproto was given.
4327 if test "${enable_fileproto+set}" = set; then
4328 enableval
="$enable_fileproto"
4330 if test "$enableval" = yes; then
4331 ac_cv_use_fileproto
='wxUSE_PROTOCOL_FILE=yes'
4333 ac_cv_use_fileproto
='wxUSE_PROTOCOL_FILE=no'
4338 LINE
=`grep "wxUSE_PROTOCOL_FILE" ${wx_arg_cache_file}`
4339 if test "x$LINE" != x
; then
4340 eval "DEFAULT_$LINE"
4345 ac_cv_use_fileproto
='wxUSE_PROTOCOL_FILE='$DEFAULT_wxUSE_PROTOCOL_FILE
4349 eval "$ac_cv_use_fileproto"
4350 if test "$no_cache" != 1; then
4351 echo $ac_cv_use_fileproto >> ${wx_arg_cache_file}.tmp
4354 if test "$wxUSE_PROTOCOL_FILE" = yes; then
4355 echo "$as_me:$LINENO: result: yes" >&5
4356 echo "${ECHO_T}yes" >&6
4358 echo "$as_me:$LINENO: result: no" >&5
4359 echo "${ECHO_T}no" >&6
4364 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sockets" >&5
4365 echo $ECHO_N "checking for --${enablestring:-enable}-sockets... $ECHO_C" >&6
4367 # Check whether --enable-sockets or --disable-sockets was given.
4368 if test "${enable_sockets+set}" = set; then
4369 enableval
="$enable_sockets"
4371 if test "$enableval" = yes; then
4372 ac_cv_use_sockets
='wxUSE_SOCKETS=yes'
4374 ac_cv_use_sockets
='wxUSE_SOCKETS=no'
4379 LINE
=`grep "wxUSE_SOCKETS" ${wx_arg_cache_file}`
4380 if test "x$LINE" != x
; then
4381 eval "DEFAULT_$LINE"
4386 ac_cv_use_sockets
='wxUSE_SOCKETS='$DEFAULT_wxUSE_SOCKETS
4390 eval "$ac_cv_use_sockets"
4391 if test "$no_cache" != 1; then
4392 echo $ac_cv_use_sockets >> ${wx_arg_cache_file}.tmp
4395 if test "$wxUSE_SOCKETS" = yes; then
4396 echo "$as_me:$LINENO: result: yes" >&5
4397 echo "${ECHO_T}yes" >&6
4399 echo "$as_me:$LINENO: result: no" >&5
4400 echo "${ECHO_T}no" >&6
4405 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ole" >&5
4406 echo $ECHO_N "checking for --${enablestring:-enable}-ole... $ECHO_C" >&6
4408 # Check whether --enable-ole or --disable-ole was given.
4409 if test "${enable_ole+set}" = set; then
4410 enableval
="$enable_ole"
4412 if test "$enableval" = yes; then
4413 ac_cv_use_ole
='wxUSE_OLE=yes'
4415 ac_cv_use_ole
='wxUSE_OLE=no'
4420 LINE
=`grep "wxUSE_OLE" ${wx_arg_cache_file}`
4421 if test "x$LINE" != x
; then
4422 eval "DEFAULT_$LINE"
4427 ac_cv_use_ole
='wxUSE_OLE='$DEFAULT_wxUSE_OLE
4431 eval "$ac_cv_use_ole"
4432 if test "$no_cache" != 1; then
4433 echo $ac_cv_use_ole >> ${wx_arg_cache_file}.tmp
4436 if test "$wxUSE_OLE" = yes; then
4437 echo "$as_me:$LINENO: result: yes" >&5
4438 echo "${ECHO_T}yes" >&6
4440 echo "$as_me:$LINENO: result: no" >&5
4441 echo "${ECHO_T}no" >&6
4446 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dataobj" >&5
4447 echo $ECHO_N "checking for --${enablestring:-enable}-dataobj... $ECHO_C" >&6
4449 # Check whether --enable-dataobj or --disable-dataobj was given.
4450 if test "${enable_dataobj+set}" = set; then
4451 enableval
="$enable_dataobj"
4453 if test "$enableval" = yes; then
4454 ac_cv_use_dataobj
='wxUSE_DATAOBJ=yes'
4456 ac_cv_use_dataobj
='wxUSE_DATAOBJ=no'
4461 LINE
=`grep "wxUSE_DATAOBJ" ${wx_arg_cache_file}`
4462 if test "x$LINE" != x
; then
4463 eval "DEFAULT_$LINE"
4468 ac_cv_use_dataobj
='wxUSE_DATAOBJ='$DEFAULT_wxUSE_DATAOBJ
4472 eval "$ac_cv_use_dataobj"
4473 if test "$no_cache" != 1; then
4474 echo $ac_cv_use_dataobj >> ${wx_arg_cache_file}.tmp
4477 if test "$wxUSE_DATAOBJ" = yes; then
4478 echo "$as_me:$LINENO: result: yes" >&5
4479 echo "${ECHO_T}yes" >&6
4481 echo "$as_me:$LINENO: result: no" >&5
4482 echo "${ECHO_T}no" >&6
4488 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ipc" >&5
4489 echo $ECHO_N "checking for --${enablestring:-enable}-ipc... $ECHO_C" >&6
4491 # Check whether --enable-ipc or --disable-ipc was given.
4492 if test "${enable_ipc+set}" = set; then
4493 enableval
="$enable_ipc"
4495 if test "$enableval" = yes; then
4496 ac_cv_use_ipc
='wxUSE_IPC=yes'
4498 ac_cv_use_ipc
='wxUSE_IPC=no'
4503 LINE
=`grep "wxUSE_IPC" ${wx_arg_cache_file}`
4504 if test "x$LINE" != x
; then
4505 eval "DEFAULT_$LINE"
4510 ac_cv_use_ipc
='wxUSE_IPC='$DEFAULT_wxUSE_IPC
4514 eval "$ac_cv_use_ipc"
4515 if test "$no_cache" != 1; then
4516 echo $ac_cv_use_ipc >> ${wx_arg_cache_file}.tmp
4519 if test "$wxUSE_IPC" = yes; then
4520 echo "$as_me:$LINENO: result: yes" >&5
4521 echo "${ECHO_T}yes" >&6
4523 echo "$as_me:$LINENO: result: no" >&5
4524 echo "${ECHO_T}no" >&6
4530 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-apple_ieee" >&5
4531 echo $ECHO_N "checking for --${enablestring:-enable}-apple_ieee... $ECHO_C" >&6
4533 # Check whether --enable-apple_ieee or --disable-apple_ieee was given.
4534 if test "${enable_apple_ieee+set}" = set; then
4535 enableval
="$enable_apple_ieee"
4537 if test "$enableval" = yes; then
4538 ac_cv_use_apple_ieee
='wxUSE_APPLE_IEEE=yes'
4540 ac_cv_use_apple_ieee
='wxUSE_APPLE_IEEE=no'
4545 LINE
=`grep "wxUSE_APPLE_IEEE" ${wx_arg_cache_file}`
4546 if test "x$LINE" != x
; then
4547 eval "DEFAULT_$LINE"
4552 ac_cv_use_apple_ieee
='wxUSE_APPLE_IEEE='$DEFAULT_wxUSE_APPLE_IEEE
4556 eval "$ac_cv_use_apple_ieee"
4557 if test "$no_cache" != 1; then
4558 echo $ac_cv_use_apple_ieee >> ${wx_arg_cache_file}.tmp
4561 if test "$wxUSE_APPLE_IEEE" = yes; then
4562 echo "$as_me:$LINENO: result: yes" >&5
4563 echo "${ECHO_T}yes" >&6
4565 echo "$as_me:$LINENO: result: no" >&5
4566 echo "${ECHO_T}no" >&6
4571 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-catch_segvs" >&5
4572 echo $ECHO_N "checking for --${enablestring:-enable}-catch_segvs... $ECHO_C" >&6
4574 # Check whether --enable-catch_segvs or --disable-catch_segvs was given.
4575 if test "${enable_catch_segvs+set}" = set; then
4576 enableval
="$enable_catch_segvs"
4578 if test "$enableval" = yes; then
4579 ac_cv_use_catch_segvs
='wxUSE_ON_FATAL_EXCEPTION=yes'
4581 ac_cv_use_catch_segvs
='wxUSE_ON_FATAL_EXCEPTION=no'
4586 LINE
=`grep "wxUSE_ON_FATAL_EXCEPTION" ${wx_arg_cache_file}`
4587 if test "x$LINE" != x
; then
4588 eval "DEFAULT_$LINE"
4593 ac_cv_use_catch_segvs
='wxUSE_ON_FATAL_EXCEPTION='$DEFAULT_wxUSE_ON_FATAL_EXCEPTION
4597 eval "$ac_cv_use_catch_segvs"
4598 if test "$no_cache" != 1; then
4599 echo $ac_cv_use_catch_segvs >> ${wx_arg_cache_file}.tmp
4602 if test "$wxUSE_ON_FATAL_EXCEPTION" = yes; then
4603 echo "$as_me:$LINENO: result: yes" >&5
4604 echo "${ECHO_T}yes" >&6
4606 echo "$as_me:$LINENO: result: no" >&5
4607 echo "${ECHO_T}no" >&6
4612 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-cmdline" >&5
4613 echo $ECHO_N "checking for --${enablestring:-enable}-cmdline... $ECHO_C" >&6
4615 # Check whether --enable-cmdline or --disable-cmdline was given.
4616 if test "${enable_cmdline+set}" = set; then
4617 enableval
="$enable_cmdline"
4619 if test "$enableval" = yes; then
4620 ac_cv_use_cmdline
='wxUSE_CMDLINE_PARSER=yes'
4622 ac_cv_use_cmdline
='wxUSE_CMDLINE_PARSER=no'
4627 LINE
=`grep "wxUSE_CMDLINE_PARSER" ${wx_arg_cache_file}`
4628 if test "x$LINE" != x
; then
4629 eval "DEFAULT_$LINE"
4634 ac_cv_use_cmdline
='wxUSE_CMDLINE_PARSER='$DEFAULT_wxUSE_CMDLINE_PARSER
4638 eval "$ac_cv_use_cmdline"
4639 if test "$no_cache" != 1; then
4640 echo $ac_cv_use_cmdline >> ${wx_arg_cache_file}.tmp
4643 if test "$wxUSE_CMDLINE_PARSER" = yes; then
4644 echo "$as_me:$LINENO: result: yes" >&5
4645 echo "${ECHO_T}yes" >&6
4647 echo "$as_me:$LINENO: result: no" >&5
4648 echo "${ECHO_T}no" >&6
4653 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-datetime" >&5
4654 echo $ECHO_N "checking for --${enablestring:-enable}-datetime... $ECHO_C" >&6
4656 # Check whether --enable-datetime or --disable-datetime was given.
4657 if test "${enable_datetime+set}" = set; then
4658 enableval
="$enable_datetime"
4660 if test "$enableval" = yes; then
4661 ac_cv_use_datetime
='wxUSE_DATETIME=yes'
4663 ac_cv_use_datetime
='wxUSE_DATETIME=no'
4668 LINE
=`grep "wxUSE_DATETIME" ${wx_arg_cache_file}`
4669 if test "x$LINE" != x
; then
4670 eval "DEFAULT_$LINE"
4675 ac_cv_use_datetime
='wxUSE_DATETIME='$DEFAULT_wxUSE_DATETIME
4679 eval "$ac_cv_use_datetime"
4680 if test "$no_cache" != 1; then
4681 echo $ac_cv_use_datetime >> ${wx_arg_cache_file}.tmp
4684 if test "$wxUSE_DATETIME" = yes; then
4685 echo "$as_me:$LINENO: result: yes" >&5
4686 echo "${ECHO_T}yes" >&6
4688 echo "$as_me:$LINENO: result: no" >&5
4689 echo "${ECHO_T}no" >&6
4694 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dialupman" >&5
4695 echo $ECHO_N "checking for --${enablestring:-enable}-dialupman... $ECHO_C" >&6
4697 # Check whether --enable-dialupman or --disable-dialupman was given.
4698 if test "${enable_dialupman+set}" = set; then
4699 enableval
="$enable_dialupman"
4701 if test "$enableval" = yes; then
4702 ac_cv_use_dialupman
='wxUSE_DIALUP_MANAGER=yes'
4704 ac_cv_use_dialupman
='wxUSE_DIALUP_MANAGER=no'
4709 LINE
=`grep "wxUSE_DIALUP_MANAGER" ${wx_arg_cache_file}`
4710 if test "x$LINE" != x
; then
4711 eval "DEFAULT_$LINE"
4716 ac_cv_use_dialupman
='wxUSE_DIALUP_MANAGER='$DEFAULT_wxUSE_DIALUP_MANAGER
4720 eval "$ac_cv_use_dialupman"
4721 if test "$no_cache" != 1; then
4722 echo $ac_cv_use_dialupman >> ${wx_arg_cache_file}.tmp
4725 if test "$wxUSE_DIALUP_MANAGER" = yes; then
4726 echo "$as_me:$LINENO: result: yes" >&5
4727 echo "${ECHO_T}yes" >&6
4729 echo "$as_me:$LINENO: result: no" >&5
4730 echo "${ECHO_T}no" >&6
4735 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dynlib" >&5
4736 echo $ECHO_N "checking for --${enablestring:-enable}-dynlib... $ECHO_C" >&6
4738 # Check whether --enable-dynlib or --disable-dynlib was given.
4739 if test "${enable_dynlib+set}" = set; then
4740 enableval
="$enable_dynlib"
4742 if test "$enableval" = yes; then
4743 ac_cv_use_dynlib
='wxUSE_DYNLIB_CLASS=yes'
4745 ac_cv_use_dynlib
='wxUSE_DYNLIB_CLASS=no'
4750 LINE
=`grep "wxUSE_DYNLIB_CLASS" ${wx_arg_cache_file}`
4751 if test "x$LINE" != x
; then
4752 eval "DEFAULT_$LINE"
4757 ac_cv_use_dynlib
='wxUSE_DYNLIB_CLASS='$DEFAULT_wxUSE_DYNLIB_CLASS
4761 eval "$ac_cv_use_dynlib"
4762 if test "$no_cache" != 1; then
4763 echo $ac_cv_use_dynlib >> ${wx_arg_cache_file}.tmp
4766 if test "$wxUSE_DYNLIB_CLASS" = yes; then
4767 echo "$as_me:$LINENO: result: yes" >&5
4768 echo "${ECHO_T}yes" >&6
4770 echo "$as_me:$LINENO: result: no" >&5
4771 echo "${ECHO_T}no" >&6
4776 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dynamicloader" >&5
4777 echo $ECHO_N "checking for --${enablestring:-enable}-dynamicloader... $ECHO_C" >&6
4779 # Check whether --enable-dynamicloader or --disable-dynamicloader was given.
4780 if test "${enable_dynamicloader+set}" = set; then
4781 enableval
="$enable_dynamicloader"
4783 if test "$enableval" = yes; then
4784 ac_cv_use_dynamicloader
='wxUSE_DYNAMIC_LOADER=yes'
4786 ac_cv_use_dynamicloader
='wxUSE_DYNAMIC_LOADER=no'
4791 LINE
=`grep "wxUSE_DYNAMIC_LOADER" ${wx_arg_cache_file}`
4792 if test "x$LINE" != x
; then
4793 eval "DEFAULT_$LINE"
4798 ac_cv_use_dynamicloader
='wxUSE_DYNAMIC_LOADER='$DEFAULT_wxUSE_DYNAMIC_LOADER
4802 eval "$ac_cv_use_dynamicloader"
4803 if test "$no_cache" != 1; then
4804 echo $ac_cv_use_dynamicloader >> ${wx_arg_cache_file}.tmp
4807 if test "$wxUSE_DYNAMIC_LOADER" = yes; then
4808 echo "$as_me:$LINENO: result: yes" >&5
4809 echo "${ECHO_T}yes" >&6
4811 echo "$as_me:$LINENO: result: no" >&5
4812 echo "${ECHO_T}no" >&6
4817 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-exceptions" >&5
4818 echo $ECHO_N "checking for --${enablestring:-enable}-exceptions... $ECHO_C" >&6
4820 # Check whether --enable-exceptions or --disable-exceptions was given.
4821 if test "${enable_exceptions+set}" = set; then
4822 enableval
="$enable_exceptions"
4824 if test "$enableval" = yes; then
4825 ac_cv_use_exceptions
='wxUSE_EXCEPTIONS=yes'
4827 ac_cv_use_exceptions
='wxUSE_EXCEPTIONS=no'
4832 LINE
=`grep "wxUSE_EXCEPTIONS" ${wx_arg_cache_file}`
4833 if test "x$LINE" != x
; then
4834 eval "DEFAULT_$LINE"
4839 ac_cv_use_exceptions
='wxUSE_EXCEPTIONS='$DEFAULT_wxUSE_EXCEPTIONS
4843 eval "$ac_cv_use_exceptions"
4844 if test "$no_cache" != 1; then
4845 echo $ac_cv_use_exceptions >> ${wx_arg_cache_file}.tmp
4848 if test "$wxUSE_EXCEPTIONS" = yes; then
4849 echo "$as_me:$LINENO: result: yes" >&5
4850 echo "${ECHO_T}yes" >&6
4852 echo "$as_me:$LINENO: result: no" >&5
4853 echo "${ECHO_T}no" >&6
4858 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ffile" >&5
4859 echo $ECHO_N "checking for --${enablestring:-enable}-ffile... $ECHO_C" >&6
4861 # Check whether --enable-ffile or --disable-ffile was given.
4862 if test "${enable_ffile+set}" = set; then
4863 enableval
="$enable_ffile"
4865 if test "$enableval" = yes; then
4866 ac_cv_use_ffile
='wxUSE_FFILE=yes'
4868 ac_cv_use_ffile
='wxUSE_FFILE=no'
4873 LINE
=`grep "wxUSE_FFILE" ${wx_arg_cache_file}`
4874 if test "x$LINE" != x
; then
4875 eval "DEFAULT_$LINE"
4880 ac_cv_use_ffile
='wxUSE_FFILE='$DEFAULT_wxUSE_FFILE
4884 eval "$ac_cv_use_ffile"
4885 if test "$no_cache" != 1; then
4886 echo $ac_cv_use_ffile >> ${wx_arg_cache_file}.tmp
4889 if test "$wxUSE_FFILE" = yes; then
4890 echo "$as_me:$LINENO: result: yes" >&5
4891 echo "${ECHO_T}yes" >&6
4893 echo "$as_me:$LINENO: result: no" >&5
4894 echo "${ECHO_T}no" >&6
4899 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-file" >&5
4900 echo $ECHO_N "checking for --${enablestring:-enable}-file... $ECHO_C" >&6
4902 # Check whether --enable-file or --disable-file was given.
4903 if test "${enable_file+set}" = set; then
4904 enableval
="$enable_file"
4906 if test "$enableval" = yes; then
4907 ac_cv_use_file
='wxUSE_FILE=yes'
4909 ac_cv_use_file
='wxUSE_FILE=no'
4914 LINE
=`grep "wxUSE_FILE" ${wx_arg_cache_file}`
4915 if test "x$LINE" != x
; then
4916 eval "DEFAULT_$LINE"
4921 ac_cv_use_file
='wxUSE_FILE='$DEFAULT_wxUSE_FILE
4925 eval "$ac_cv_use_file"
4926 if test "$no_cache" != 1; then
4927 echo $ac_cv_use_file >> ${wx_arg_cache_file}.tmp
4930 if test "$wxUSE_FILE" = yes; then
4931 echo "$as_me:$LINENO: result: yes" >&5
4932 echo "${ECHO_T}yes" >&6
4934 echo "$as_me:$LINENO: result: no" >&5
4935 echo "${ECHO_T}no" >&6
4940 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filesystem" >&5
4941 echo $ECHO_N "checking for --${enablestring:-enable}-filesystem... $ECHO_C" >&6
4943 # Check whether --enable-filesystem or --disable-filesystem was given.
4944 if test "${enable_filesystem+set}" = set; then
4945 enableval
="$enable_filesystem"
4947 if test "$enableval" = yes; then
4948 ac_cv_use_filesystem
='wxUSE_FILESYSTEM=yes'
4950 ac_cv_use_filesystem
='wxUSE_FILESYSTEM=no'
4955 LINE
=`grep "wxUSE_FILESYSTEM" ${wx_arg_cache_file}`
4956 if test "x$LINE" != x
; then
4957 eval "DEFAULT_$LINE"
4962 ac_cv_use_filesystem
='wxUSE_FILESYSTEM='$DEFAULT_wxUSE_FILESYSTEM
4966 eval "$ac_cv_use_filesystem"
4967 if test "$no_cache" != 1; then
4968 echo $ac_cv_use_filesystem >> ${wx_arg_cache_file}.tmp
4971 if test "$wxUSE_FILESYSTEM" = yes; then
4972 echo "$as_me:$LINENO: result: yes" >&5
4973 echo "${ECHO_T}yes" >&6
4975 echo "$as_me:$LINENO: result: no" >&5
4976 echo "${ECHO_T}no" >&6
4981 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontmap" >&5
4982 echo $ECHO_N "checking for --${enablestring:-enable}-fontmap... $ECHO_C" >&6
4984 # Check whether --enable-fontmap or --disable-fontmap was given.
4985 if test "${enable_fontmap+set}" = set; then
4986 enableval
="$enable_fontmap"
4988 if test "$enableval" = yes; then
4989 ac_cv_use_fontmap
='wxUSE_FONTMAP=yes'
4991 ac_cv_use_fontmap
='wxUSE_FONTMAP=no'
4996 LINE
=`grep "wxUSE_FONTMAP" ${wx_arg_cache_file}`
4997 if test "x$LINE" != x
; then
4998 eval "DEFAULT_$LINE"
5003 ac_cv_use_fontmap
='wxUSE_FONTMAP='$DEFAULT_wxUSE_FONTMAP
5007 eval "$ac_cv_use_fontmap"
5008 if test "$no_cache" != 1; then
5009 echo $ac_cv_use_fontmap >> ${wx_arg_cache_file}.tmp
5012 if test "$wxUSE_FONTMAP" = yes; then
5013 echo "$as_me:$LINENO: result: yes" >&5
5014 echo "${ECHO_T}yes" >&6
5016 echo "$as_me:$LINENO: result: no" >&5
5017 echo "${ECHO_T}no" >&6
5022 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_inet" >&5
5023 echo $ECHO_N "checking for --${enablestring:-enable}-fs_inet... $ECHO_C" >&6
5025 # Check whether --enable-fs_inet or --disable-fs_inet was given.
5026 if test "${enable_fs_inet+set}" = set; then
5027 enableval
="$enable_fs_inet"
5029 if test "$enableval" = yes; then
5030 ac_cv_use_fs_inet
='wxUSE_FS_INET=yes'
5032 ac_cv_use_fs_inet
='wxUSE_FS_INET=no'
5037 LINE
=`grep "wxUSE_FS_INET" ${wx_arg_cache_file}`
5038 if test "x$LINE" != x
; then
5039 eval "DEFAULT_$LINE"
5044 ac_cv_use_fs_inet
='wxUSE_FS_INET='$DEFAULT_wxUSE_FS_INET
5048 eval "$ac_cv_use_fs_inet"
5049 if test "$no_cache" != 1; then
5050 echo $ac_cv_use_fs_inet >> ${wx_arg_cache_file}.tmp
5053 if test "$wxUSE_FS_INET" = yes; then
5054 echo "$as_me:$LINENO: result: yes" >&5
5055 echo "${ECHO_T}yes" >&6
5057 echo "$as_me:$LINENO: result: no" >&5
5058 echo "${ECHO_T}no" >&6
5063 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_zip" >&5
5064 echo $ECHO_N "checking for --${enablestring:-enable}-fs_zip... $ECHO_C" >&6
5066 # Check whether --enable-fs_zip or --disable-fs_zip was given.
5067 if test "${enable_fs_zip+set}" = set; then
5068 enableval
="$enable_fs_zip"
5070 if test "$enableval" = yes; then
5071 ac_cv_use_fs_zip
='wxUSE_FS_ZIP=yes'
5073 ac_cv_use_fs_zip
='wxUSE_FS_ZIP=no'
5078 LINE
=`grep "wxUSE_FS_ZIP" ${wx_arg_cache_file}`
5079 if test "x$LINE" != x
; then
5080 eval "DEFAULT_$LINE"
5085 ac_cv_use_fs_zip
='wxUSE_FS_ZIP='$DEFAULT_wxUSE_FS_ZIP
5089 eval "$ac_cv_use_fs_zip"
5090 if test "$no_cache" != 1; then
5091 echo $ac_cv_use_fs_zip >> ${wx_arg_cache_file}.tmp
5094 if test "$wxUSE_FS_ZIP" = yes; then
5095 echo "$as_me:$LINENO: result: yes" >&5
5096 echo "${ECHO_T}yes" >&6
5098 echo "$as_me:$LINENO: result: no" >&5
5099 echo "${ECHO_T}no" >&6
5104 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-geometry" >&5
5105 echo $ECHO_N "checking for --${enablestring:-enable}-geometry... $ECHO_C" >&6
5107 # Check whether --enable-geometry or --disable-geometry was given.
5108 if test "${enable_geometry+set}" = set; then
5109 enableval
="$enable_geometry"
5111 if test "$enableval" = yes; then
5112 ac_cv_use_geometry
='wxUSE_GEOMETRY=yes'
5114 ac_cv_use_geometry
='wxUSE_GEOMETRY=no'
5119 LINE
=`grep "wxUSE_GEOMETRY" ${wx_arg_cache_file}`
5120 if test "x$LINE" != x
; then
5121 eval "DEFAULT_$LINE"
5126 ac_cv_use_geometry
='wxUSE_GEOMETRY='$DEFAULT_wxUSE_GEOMETRY
5130 eval "$ac_cv_use_geometry"
5131 if test "$no_cache" != 1; then
5132 echo $ac_cv_use_geometry >> ${wx_arg_cache_file}.tmp
5135 if test "$wxUSE_GEOMETRY" = yes; then
5136 echo "$as_me:$LINENO: result: yes" >&5
5137 echo "${ECHO_T}yes" >&6
5139 echo "$as_me:$LINENO: result: no" >&5
5140 echo "${ECHO_T}no" >&6
5145 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-log" >&5
5146 echo $ECHO_N "checking for --${enablestring:-enable}-log... $ECHO_C" >&6
5148 # Check whether --enable-log or --disable-log was given.
5149 if test "${enable_log+set}" = set; then
5150 enableval
="$enable_log"
5152 if test "$enableval" = yes; then
5153 ac_cv_use_log
='wxUSE_LOG=yes'
5155 ac_cv_use_log
='wxUSE_LOG=no'
5160 LINE
=`grep "wxUSE_LOG" ${wx_arg_cache_file}`
5161 if test "x$LINE" != x
; then
5162 eval "DEFAULT_$LINE"
5167 ac_cv_use_log
='wxUSE_LOG='$DEFAULT_wxUSE_LOG
5171 eval "$ac_cv_use_log"
5172 if test "$no_cache" != 1; then
5173 echo $ac_cv_use_log >> ${wx_arg_cache_file}.tmp
5176 if test "$wxUSE_LOG" = yes; then
5177 echo "$as_me:$LINENO: result: yes" >&5
5178 echo "${ECHO_T}yes" >&6
5180 echo "$as_me:$LINENO: result: no" >&5
5181 echo "${ECHO_T}no" >&6
5186 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-longlong" >&5
5187 echo $ECHO_N "checking for --${enablestring:-enable}-longlong... $ECHO_C" >&6
5189 # Check whether --enable-longlong or --disable-longlong was given.
5190 if test "${enable_longlong+set}" = set; then
5191 enableval
="$enable_longlong"
5193 if test "$enableval" = yes; then
5194 ac_cv_use_longlong
='wxUSE_LONGLONG=yes'
5196 ac_cv_use_longlong
='wxUSE_LONGLONG=no'
5201 LINE
=`grep "wxUSE_LONGLONG" ${wx_arg_cache_file}`
5202 if test "x$LINE" != x
; then
5203 eval "DEFAULT_$LINE"
5208 ac_cv_use_longlong
='wxUSE_LONGLONG='$DEFAULT_wxUSE_LONGLONG
5212 eval "$ac_cv_use_longlong"
5213 if test "$no_cache" != 1; then
5214 echo $ac_cv_use_longlong >> ${wx_arg_cache_file}.tmp
5217 if test "$wxUSE_LONGLONG" = yes; then
5218 echo "$as_me:$LINENO: result: yes" >&5
5219 echo "${ECHO_T}yes" >&6
5221 echo "$as_me:$LINENO: result: no" >&5
5222 echo "${ECHO_T}no" >&6
5227 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mimetype" >&5
5228 echo $ECHO_N "checking for --${enablestring:-enable}-mimetype... $ECHO_C" >&6
5230 # Check whether --enable-mimetype or --disable-mimetype was given.
5231 if test "${enable_mimetype+set}" = set; then
5232 enableval
="$enable_mimetype"
5234 if test "$enableval" = yes; then
5235 ac_cv_use_mimetype
='wxUSE_MIMETYPE=yes'
5237 ac_cv_use_mimetype
='wxUSE_MIMETYPE=no'
5242 LINE
=`grep "wxUSE_MIMETYPE" ${wx_arg_cache_file}`
5243 if test "x$LINE" != x
; then
5244 eval "DEFAULT_$LINE"
5249 ac_cv_use_mimetype
='wxUSE_MIMETYPE='$DEFAULT_wxUSE_MIMETYPE
5253 eval "$ac_cv_use_mimetype"
5254 if test "$no_cache" != 1; then
5255 echo $ac_cv_use_mimetype >> ${wx_arg_cache_file}.tmp
5258 if test "$wxUSE_MIMETYPE" = yes; then
5259 echo "$as_me:$LINENO: result: yes" >&5
5260 echo "${ECHO_T}yes" >&6
5262 echo "$as_me:$LINENO: result: no" >&5
5263 echo "${ECHO_T}no" >&6
5268 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mslu" >&5
5269 echo $ECHO_N "checking for --${enablestring:-enable}-mslu... $ECHO_C" >&6
5271 # Check whether --enable-mslu or --disable-mslu was given.
5272 if test "${enable_mslu+set}" = set; then
5273 enableval
="$enable_mslu"
5275 if test "$enableval" = yes; then
5276 ac_cv_use_mslu
='wxUSE_UNICODE_MSLU=yes'
5278 ac_cv_use_mslu
='wxUSE_UNICODE_MSLU=no'
5283 LINE
=`grep "wxUSE_UNICODE_MSLU" ${wx_arg_cache_file}`
5284 if test "x$LINE" != x
; then
5285 eval "DEFAULT_$LINE"
5290 ac_cv_use_mslu
='wxUSE_UNICODE_MSLU='$DEFAULT_wxUSE_UNICODE_MSLU
5294 eval "$ac_cv_use_mslu"
5295 if test "$no_cache" != 1; then
5296 echo $ac_cv_use_mslu >> ${wx_arg_cache_file}.tmp
5299 if test "$wxUSE_UNICODE_MSLU" = yes; then
5300 echo "$as_me:$LINENO: result: yes" >&5
5301 echo "${ECHO_T}yes" >&6
5303 echo "$as_me:$LINENO: result: no" >&5
5304 echo "${ECHO_T}no" >&6
5309 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-snglinst" >&5
5310 echo $ECHO_N "checking for --${enablestring:-enable}-snglinst... $ECHO_C" >&6
5312 # Check whether --enable-snglinst or --disable-snglinst was given.
5313 if test "${enable_snglinst+set}" = set; then
5314 enableval
="$enable_snglinst"
5316 if test "$enableval" = yes; then
5317 ac_cv_use_snglinst
='wxUSE_SNGLINST_CHECKER=yes'
5319 ac_cv_use_snglinst
='wxUSE_SNGLINST_CHECKER=no'
5324 LINE
=`grep "wxUSE_SNGLINST_CHECKER" ${wx_arg_cache_file}`
5325 if test "x$LINE" != x
; then
5326 eval "DEFAULT_$LINE"
5331 ac_cv_use_snglinst
='wxUSE_SNGLINST_CHECKER='$DEFAULT_wxUSE_SNGLINST_CHECKER
5335 eval "$ac_cv_use_snglinst"
5336 if test "$no_cache" != 1; then
5337 echo $ac_cv_use_snglinst >> ${wx_arg_cache_file}.tmp
5340 if test "$wxUSE_SNGLINST_CHECKER" = yes; then
5341 echo "$as_me:$LINENO: result: yes" >&5
5342 echo "${ECHO_T}yes" >&6
5344 echo "$as_me:$LINENO: result: no" >&5
5345 echo "${ECHO_T}no" >&6
5350 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-streams" >&5
5351 echo $ECHO_N "checking for --${enablestring:-enable}-streams... $ECHO_C" >&6
5353 # Check whether --enable-streams or --disable-streams was given.
5354 if test "${enable_streams+set}" = set; then
5355 enableval
="$enable_streams"
5357 if test "$enableval" = yes; then
5358 ac_cv_use_streams
='wxUSE_STREAMS=yes'
5360 ac_cv_use_streams
='wxUSE_STREAMS=no'
5365 LINE
=`grep "wxUSE_STREAMS" ${wx_arg_cache_file}`
5366 if test "x$LINE" != x
; then
5367 eval "DEFAULT_$LINE"
5372 ac_cv_use_streams
='wxUSE_STREAMS='$DEFAULT_wxUSE_STREAMS
5376 eval "$ac_cv_use_streams"
5377 if test "$no_cache" != 1; then
5378 echo $ac_cv_use_streams >> ${wx_arg_cache_file}.tmp
5381 if test "$wxUSE_STREAMS" = yes; then
5382 echo "$as_me:$LINENO: result: yes" >&5
5383 echo "${ECHO_T}yes" >&6
5385 echo "$as_me:$LINENO: result: no" >&5
5386 echo "${ECHO_T}no" >&6
5391 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-std_iostreams" >&5
5392 echo $ECHO_N "checking for --${enablestring:-enable}-std_iostreams... $ECHO_C" >&6
5394 # Check whether --enable-std_iostreams or --disable-std_iostreams was given.
5395 if test "${enable_std_iostreams+set}" = set; then
5396 enableval
="$enable_std_iostreams"
5398 if test "$enableval" = yes; then
5399 ac_cv_use_std_iostreams
='wxUSE_STD_IOSTREAM=yes'
5401 ac_cv_use_std_iostreams
='wxUSE_STD_IOSTREAM=no'
5406 LINE
=`grep "wxUSE_STD_IOSTREAM" ${wx_arg_cache_file}`
5407 if test "x$LINE" != x
; then
5408 eval "DEFAULT_$LINE"
5413 ac_cv_use_std_iostreams
='wxUSE_STD_IOSTREAM='$DEFAULT_wxUSE_STD_IOSTREAM
5417 eval "$ac_cv_use_std_iostreams"
5418 if test "$no_cache" != 1; then
5419 echo $ac_cv_use_std_iostreams >> ${wx_arg_cache_file}.tmp
5422 if test "$wxUSE_STD_IOSTREAM" = yes; then
5423 echo "$as_me:$LINENO: result: yes" >&5
5424 echo "${ECHO_T}yes" >&6
5426 echo "$as_me:$LINENO: result: no" >&5
5427 echo "${ECHO_T}no" >&6
5432 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stopwatch" >&5
5433 echo $ECHO_N "checking for --${enablestring:-enable}-stopwatch... $ECHO_C" >&6
5435 # Check whether --enable-stopwatch or --disable-stopwatch was given.
5436 if test "${enable_stopwatch+set}" = set; then
5437 enableval
="$enable_stopwatch"
5439 if test "$enableval" = yes; then
5440 ac_cv_use_stopwatch
='wxUSE_STOPWATCH=yes'
5442 ac_cv_use_stopwatch
='wxUSE_STOPWATCH=no'
5447 LINE
=`grep "wxUSE_STOPWATCH" ${wx_arg_cache_file}`
5448 if test "x$LINE" != x
; then
5449 eval "DEFAULT_$LINE"
5454 ac_cv_use_stopwatch
='wxUSE_STOPWATCH='$DEFAULT_wxUSE_STOPWATCH
5458 eval "$ac_cv_use_stopwatch"
5459 if test "$no_cache" != 1; then
5460 echo $ac_cv_use_stopwatch >> ${wx_arg_cache_file}.tmp
5463 if test "$wxUSE_STOPWATCH" = yes; then
5464 echo "$as_me:$LINENO: result: yes" >&5
5465 echo "${ECHO_T}yes" >&6
5467 echo "$as_me:$LINENO: result: no" >&5
5468 echo "${ECHO_T}no" >&6
5473 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-system_options" >&5
5474 echo $ECHO_N "checking for --${enablestring:-enable}-system_options... $ECHO_C" >&6
5476 # Check whether --enable-system_options or --disable-system_options was given.
5477 if test "${enable_system_options+set}" = set; then
5478 enableval
="$enable_system_options"
5480 if test "$enableval" = yes; then
5481 ac_cv_use_system_options
='wxUSE_SYSTEM_OPTIONS=yes'
5483 ac_cv_use_system_options
='wxUSE_SYSTEM_OPTIONS=no'
5488 LINE
=`grep "wxUSE_SYSTEM_OPTIONS" ${wx_arg_cache_file}`
5489 if test "x$LINE" != x
; then
5490 eval "DEFAULT_$LINE"
5495 ac_cv_use_system_options
='wxUSE_SYSTEM_OPTIONS='$DEFAULT_wxUSE_SYSTEM_OPTIONS
5499 eval "$ac_cv_use_system_options"
5500 if test "$no_cache" != 1; then
5501 echo $ac_cv_use_system_options >> ${wx_arg_cache_file}.tmp
5504 if test "$wxUSE_SYSTEM_OPTIONS" = yes; then
5505 echo "$as_me:$LINENO: result: yes" >&5
5506 echo "${ECHO_T}yes" >&6
5508 echo "$as_me:$LINENO: result: no" >&5
5509 echo "${ECHO_T}no" >&6
5514 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textbuf" >&5
5515 echo $ECHO_N "checking for --${enablestring:-enable}-textbuf... $ECHO_C" >&6
5517 # Check whether --enable-textbuf or --disable-textbuf was given.
5518 if test "${enable_textbuf+set}" = set; then
5519 enableval
="$enable_textbuf"
5521 if test "$enableval" = yes; then
5522 ac_cv_use_textbuf
='wxUSE_TEXTBUFFER=yes'
5524 ac_cv_use_textbuf
='wxUSE_TEXTBUFFER=no'
5529 LINE
=`grep "wxUSE_TEXTBUFFER" ${wx_arg_cache_file}`
5530 if test "x$LINE" != x
; then
5531 eval "DEFAULT_$LINE"
5536 ac_cv_use_textbuf
='wxUSE_TEXTBUFFER='$DEFAULT_wxUSE_TEXTBUFFER
5540 eval "$ac_cv_use_textbuf"
5541 if test "$no_cache" != 1; then
5542 echo $ac_cv_use_textbuf >> ${wx_arg_cache_file}.tmp
5545 if test "$wxUSE_TEXTBUFFER" = yes; then
5546 echo "$as_me:$LINENO: result: yes" >&5
5547 echo "${ECHO_T}yes" >&6
5549 echo "$as_me:$LINENO: result: no" >&5
5550 echo "${ECHO_T}no" >&6
5555 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textfile" >&5
5556 echo $ECHO_N "checking for --${enablestring:-enable}-textfile... $ECHO_C" >&6
5558 # Check whether --enable-textfile or --disable-textfile was given.
5559 if test "${enable_textfile+set}" = set; then
5560 enableval
="$enable_textfile"
5562 if test "$enableval" = yes; then
5563 ac_cv_use_textfile
='wxUSE_TEXTFILE=yes'
5565 ac_cv_use_textfile
='wxUSE_TEXTFILE=no'
5570 LINE
=`grep "wxUSE_TEXTFILE" ${wx_arg_cache_file}`
5571 if test "x$LINE" != x
; then
5572 eval "DEFAULT_$LINE"
5577 ac_cv_use_textfile
='wxUSE_TEXTFILE='$DEFAULT_wxUSE_TEXTFILE
5581 eval "$ac_cv_use_textfile"
5582 if test "$no_cache" != 1; then
5583 echo $ac_cv_use_textfile >> ${wx_arg_cache_file}.tmp
5586 if test "$wxUSE_TEXTFILE" = yes; then
5587 echo "$as_me:$LINENO: result: yes" >&5
5588 echo "${ECHO_T}yes" >&6
5590 echo "$as_me:$LINENO: result: no" >&5
5591 echo "${ECHO_T}no" >&6
5596 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-timer" >&5
5597 echo $ECHO_N "checking for --${enablestring:-enable}-timer... $ECHO_C" >&6
5599 # Check whether --enable-timer or --disable-timer was given.
5600 if test "${enable_timer+set}" = set; then
5601 enableval
="$enable_timer"
5603 if test "$enableval" = yes; then
5604 ac_cv_use_timer
='wxUSE_TIMER=yes'
5606 ac_cv_use_timer
='wxUSE_TIMER=no'
5611 LINE
=`grep "wxUSE_TIMER" ${wx_arg_cache_file}`
5612 if test "x$LINE" != x
; then
5613 eval "DEFAULT_$LINE"
5618 ac_cv_use_timer
='wxUSE_TIMER='$DEFAULT_wxUSE_TIMER
5622 eval "$ac_cv_use_timer"
5623 if test "$no_cache" != 1; then
5624 echo $ac_cv_use_timer >> ${wx_arg_cache_file}.tmp
5627 if test "$wxUSE_TIMER" = yes; then
5628 echo "$as_me:$LINENO: result: yes" >&5
5629 echo "${ECHO_T}yes" >&6
5631 echo "$as_me:$LINENO: result: no" >&5
5632 echo "${ECHO_T}no" >&6
5637 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-unicode" >&5
5638 echo $ECHO_N "checking for --${enablestring:-enable}-unicode... $ECHO_C" >&6
5640 # Check whether --enable-unicode or --disable-unicode was given.
5641 if test "${enable_unicode+set}" = set; then
5642 enableval
="$enable_unicode"
5644 if test "$enableval" = yes; then
5645 ac_cv_use_unicode
='wxUSE_UNICODE=yes'
5647 ac_cv_use_unicode
='wxUSE_UNICODE=no'
5652 LINE
=`grep "wxUSE_UNICODE" ${wx_arg_cache_file}`
5653 if test "x$LINE" != x
; then
5654 eval "DEFAULT_$LINE"
5659 ac_cv_use_unicode
='wxUSE_UNICODE='$DEFAULT_wxUSE_UNICODE
5663 eval "$ac_cv_use_unicode"
5664 if test "$no_cache" != 1; then
5665 echo $ac_cv_use_unicode >> ${wx_arg_cache_file}.tmp
5668 if test "$wxUSE_UNICODE" = yes; then
5669 echo "$as_me:$LINENO: result: yes" >&5
5670 echo "${ECHO_T}yes" >&6
5672 echo "$as_me:$LINENO: result: no" >&5
5673 echo "${ECHO_T}no" >&6
5678 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sound" >&5
5679 echo $ECHO_N "checking for --${enablestring:-enable}-sound... $ECHO_C" >&6
5681 # Check whether --enable-sound or --disable-sound was given.
5682 if test "${enable_sound+set}" = set; then
5683 enableval
="$enable_sound"
5685 if test "$enableval" = yes; then
5686 ac_cv_use_sound
='wxUSE_SOUND=yes'
5688 ac_cv_use_sound
='wxUSE_SOUND=no'
5693 LINE
=`grep "wxUSE_SOUND" ${wx_arg_cache_file}`
5694 if test "x$LINE" != x
; then
5695 eval "DEFAULT_$LINE"
5700 ac_cv_use_sound
='wxUSE_SOUND='$DEFAULT_wxUSE_SOUND
5704 eval "$ac_cv_use_sound"
5705 if test "$no_cache" != 1; then
5706 echo $ac_cv_use_sound >> ${wx_arg_cache_file}.tmp
5709 if test "$wxUSE_SOUND" = yes; then
5710 echo "$as_me:$LINENO: result: yes" >&5
5711 echo "${ECHO_T}yes" >&6
5713 echo "$as_me:$LINENO: result: no" >&5
5714 echo "${ECHO_T}no" >&6
5719 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-wxprintfv" >&5
5720 echo $ECHO_N "checking for --${enablestring:-enable}-wxprintfv... $ECHO_C" >&6
5722 # Check whether --enable-wxprintfv or --disable-wxprintfv was given.
5723 if test "${enable_wxprintfv+set}" = set; then
5724 enableval
="$enable_wxprintfv"
5726 if test "$enableval" = yes; then
5727 ac_cv_use_wxprintfv
='wxUSE_EXPERIMENTAL_PRINTF=yes'
5729 ac_cv_use_wxprintfv
='wxUSE_EXPERIMENTAL_PRINTF=no'
5734 LINE
=`grep "wxUSE_EXPERIMENTAL_PRINTF" ${wx_arg_cache_file}`
5735 if test "x$LINE" != x
; then
5736 eval "DEFAULT_$LINE"
5741 ac_cv_use_wxprintfv
='wxUSE_EXPERIMENTAL_PRINTF='$DEFAULT_wxUSE_EXPERIMENTAL_PRINTF
5745 eval "$ac_cv_use_wxprintfv"
5746 if test "$no_cache" != 1; then
5747 echo $ac_cv_use_wxprintfv >> ${wx_arg_cache_file}.tmp
5750 if test "$wxUSE_EXPERIMENTAL_PRINTF" = yes; then
5751 echo "$as_me:$LINENO: result: yes" >&5
5752 echo "${ECHO_T}yes" >&6
5754 echo "$as_me:$LINENO: result: no" >&5
5755 echo "${ECHO_T}no" >&6
5760 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-zipstream" >&5
5761 echo $ECHO_N "checking for --${enablestring:-enable}-zipstream... $ECHO_C" >&6
5763 # Check whether --enable-zipstream or --disable-zipstream was given.
5764 if test "${enable_zipstream+set}" = set; then
5765 enableval
="$enable_zipstream"
5767 if test "$enableval" = yes; then
5768 ac_cv_use_zipstream
='wxUSE_ZIPSTREAM=yes'
5770 ac_cv_use_zipstream
='wxUSE_ZIPSTREAM=no'
5775 LINE
=`grep "wxUSE_ZIPSTREAM" ${wx_arg_cache_file}`
5776 if test "x$LINE" != x
; then
5777 eval "DEFAULT_$LINE"
5782 ac_cv_use_zipstream
='wxUSE_ZIPSTREAM='$DEFAULT_wxUSE_ZIPSTREAM
5786 eval "$ac_cv_use_zipstream"
5787 if test "$no_cache" != 1; then
5788 echo $ac_cv_use_zipstream >> ${wx_arg_cache_file}.tmp
5791 if test "$wxUSE_ZIPSTREAM" = yes; then
5792 echo "$as_me:$LINENO: result: yes" >&5
5793 echo "${ECHO_T}yes" >&6
5795 echo "$as_me:$LINENO: result: no" >&5
5796 echo "${ECHO_T}no" >&6
5801 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gzstream" >&5
5802 echo $ECHO_N "checking for --${enablestring:-enable}-gzstream... $ECHO_C" >&6
5804 # Check whether --enable-gzstream or --disable-gzstream was given.
5805 if test "${enable_gzstream+set}" = set; then
5806 enableval
="$enable_gzstream"
5808 if test "$enableval" = yes; then
5809 ac_cv_use_gzstream
='wxUSE_GZSTREAM=yes'
5811 ac_cv_use_gzstream
='wxUSE_GZSTREAM=no'
5816 LINE
=`grep "wxUSE_GZSTREAM" ${wx_arg_cache_file}`
5817 if test "x$LINE" != x
; then
5818 eval "DEFAULT_$LINE"
5823 ac_cv_use_gzstream
='wxUSE_GZSTREAM='$DEFAULT_wxUSE_GZSTREAM
5827 eval "$ac_cv_use_gzstream"
5828 if test "$no_cache" != 1; then
5829 echo $ac_cv_use_gzstream >> ${wx_arg_cache_file}.tmp
5832 if test "$wxUSE_GZSTREAM" = yes; then
5833 echo "$as_me:$LINENO: result: yes" >&5
5834 echo "${ECHO_T}yes" >&6
5836 echo "$as_me:$LINENO: result: no" >&5
5837 echo "${ECHO_T}no" >&6
5843 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-url" >&5
5844 echo $ECHO_N "checking for --${enablestring:-enable}-url... $ECHO_C" >&6
5846 # Check whether --enable-url or --disable-url was given.
5847 if test "${enable_url+set}" = set; then
5848 enableval
="$enable_url"
5850 if test "$enableval" = yes; then
5851 ac_cv_use_url
='wxUSE_URL=yes'
5853 ac_cv_use_url
='wxUSE_URL=no'
5858 LINE
=`grep "wxUSE_URL" ${wx_arg_cache_file}`
5859 if test "x$LINE" != x
; then
5860 eval "DEFAULT_$LINE"
5865 ac_cv_use_url
='wxUSE_URL='$DEFAULT_wxUSE_URL
5869 eval "$ac_cv_use_url"
5870 if test "$no_cache" != 1; then
5871 echo $ac_cv_use_url >> ${wx_arg_cache_file}.tmp
5874 if test "$wxUSE_URL" = yes; then
5875 echo "$as_me:$LINENO: result: yes" >&5
5876 echo "${ECHO_T}yes" >&6
5878 echo "$as_me:$LINENO: result: no" >&5
5879 echo "${ECHO_T}no" >&6
5884 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol" >&5
5885 echo $ECHO_N "checking for --${enablestring:-enable}-protocol... $ECHO_C" >&6
5887 # Check whether --enable-protocol or --disable-protocol was given.
5888 if test "${enable_protocol+set}" = set; then
5889 enableval
="$enable_protocol"
5891 if test "$enableval" = yes; then
5892 ac_cv_use_protocol
='wxUSE_PROTOCOL=yes'
5894 ac_cv_use_protocol
='wxUSE_PROTOCOL=no'
5899 LINE
=`grep "wxUSE_PROTOCOL" ${wx_arg_cache_file}`
5900 if test "x$LINE" != x
; then
5901 eval "DEFAULT_$LINE"
5906 ac_cv_use_protocol
='wxUSE_PROTOCOL='$DEFAULT_wxUSE_PROTOCOL
5910 eval "$ac_cv_use_protocol"
5911 if test "$no_cache" != 1; then
5912 echo $ac_cv_use_protocol >> ${wx_arg_cache_file}.tmp
5915 if test "$wxUSE_PROTOCOL" = yes; then
5916 echo "$as_me:$LINENO: result: yes" >&5
5917 echo "${ECHO_T}yes" >&6
5919 echo "$as_me:$LINENO: result: no" >&5
5920 echo "${ECHO_T}no" >&6
5925 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_http" >&5
5926 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_http... $ECHO_C" >&6
5928 # Check whether --enable-protocol_http or --disable-protocol_http was given.
5929 if test "${enable_protocol_http+set}" = set; then
5930 enableval
="$enable_protocol_http"
5932 if test "$enableval" = yes; then
5933 ac_cv_use_protocol_http
='wxUSE_PROTOCOL_HTTP=yes'
5935 ac_cv_use_protocol_http
='wxUSE_PROTOCOL_HTTP=no'
5940 LINE
=`grep "wxUSE_PROTOCOL_HTTP" ${wx_arg_cache_file}`
5941 if test "x$LINE" != x
; then
5942 eval "DEFAULT_$LINE"
5947 ac_cv_use_protocol_http
='wxUSE_PROTOCOL_HTTP='$DEFAULT_wxUSE_PROTOCOL_HTTP
5951 eval "$ac_cv_use_protocol_http"
5952 if test "$no_cache" != 1; then
5953 echo $ac_cv_use_protocol_http >> ${wx_arg_cache_file}.tmp
5956 if test "$wxUSE_PROTOCOL_HTTP" = yes; then
5957 echo "$as_me:$LINENO: result: yes" >&5
5958 echo "${ECHO_T}yes" >&6
5960 echo "$as_me:$LINENO: result: no" >&5
5961 echo "${ECHO_T}no" >&6
5966 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_ftp" >&5
5967 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_ftp... $ECHO_C" >&6
5969 # Check whether --enable-protocol_ftp or --disable-protocol_ftp was given.
5970 if test "${enable_protocol_ftp+set}" = set; then
5971 enableval
="$enable_protocol_ftp"
5973 if test "$enableval" = yes; then
5974 ac_cv_use_protocol_ftp
='wxUSE_PROTOCOL_FTP=yes'
5976 ac_cv_use_protocol_ftp
='wxUSE_PROTOCOL_FTP=no'
5981 LINE
=`grep "wxUSE_PROTOCOL_FTP" ${wx_arg_cache_file}`
5982 if test "x$LINE" != x
; then
5983 eval "DEFAULT_$LINE"
5988 ac_cv_use_protocol_ftp
='wxUSE_PROTOCOL_FTP='$DEFAULT_wxUSE_PROTOCOL_FTP
5992 eval "$ac_cv_use_protocol_ftp"
5993 if test "$no_cache" != 1; then
5994 echo $ac_cv_use_protocol_ftp >> ${wx_arg_cache_file}.tmp
5997 if test "$wxUSE_PROTOCOL_FTP" = yes; then
5998 echo "$as_me:$LINENO: result: yes" >&5
5999 echo "${ECHO_T}yes" >&6
6001 echo "$as_me:$LINENO: result: no" >&5
6002 echo "${ECHO_T}no" >&6
6007 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_file" >&5
6008 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_file... $ECHO_C" >&6
6010 # Check whether --enable-protocol_file or --disable-protocol_file was given.
6011 if test "${enable_protocol_file+set}" = set; then
6012 enableval
="$enable_protocol_file"
6014 if test "$enableval" = yes; then
6015 ac_cv_use_protocol_file
='wxUSE_PROTOCOL_FILE=yes'
6017 ac_cv_use_protocol_file
='wxUSE_PROTOCOL_FILE=no'
6022 LINE
=`grep "wxUSE_PROTOCOL_FILE" ${wx_arg_cache_file}`
6023 if test "x$LINE" != x
; then
6024 eval "DEFAULT_$LINE"
6029 ac_cv_use_protocol_file
='wxUSE_PROTOCOL_FILE='$DEFAULT_wxUSE_PROTOCOL_FILE
6033 eval "$ac_cv_use_protocol_file"
6034 if test "$no_cache" != 1; then
6035 echo $ac_cv_use_protocol_file >> ${wx_arg_cache_file}.tmp
6038 if test "$wxUSE_PROTOCOL_FILE" = yes; then
6039 echo "$as_me:$LINENO: result: yes" >&5
6040 echo "${ECHO_T}yes" >&6
6042 echo "$as_me:$LINENO: result: no" >&5
6043 echo "${ECHO_T}no" >&6
6051 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-threads" >&5
6052 echo $ECHO_N "checking for --${enablestring:-enable}-threads... $ECHO_C" >&6
6054 # Check whether --enable-threads or --disable-threads was given.
6055 if test "${enable_threads+set}" = set; then
6056 enableval
="$enable_threads"
6058 if test "$enableval" = yes; then
6059 ac_cv_use_threads
='wxUSE_THREADS=yes'
6061 ac_cv_use_threads
='wxUSE_THREADS=no'
6066 LINE
=`grep "wxUSE_THREADS" ${wx_arg_cache_file}`
6067 if test "x$LINE" != x
; then
6068 eval "DEFAULT_$LINE"
6073 ac_cv_use_threads
='wxUSE_THREADS='$DEFAULT_wxUSE_THREADS
6077 eval "$ac_cv_use_threads"
6078 if test "$no_cache" != 1; then
6079 echo $ac_cv_use_threads >> ${wx_arg_cache_file}.tmp
6082 if test "$wxUSE_THREADS" = yes; then
6083 echo "$as_me:$LINENO: result: yes" >&5
6084 echo "${ECHO_T}yes" >&6
6086 echo "$as_me:$LINENO: result: no" >&5
6087 echo "${ECHO_T}no" >&6
6091 if test "$wxUSE_GUI" = "yes"; then
6096 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-docview" >&5
6097 echo $ECHO_N "checking for --${enablestring:-enable}-docview... $ECHO_C" >&6
6099 # Check whether --enable-docview or --disable-docview was given.
6100 if test "${enable_docview+set}" = set; then
6101 enableval
="$enable_docview"
6103 if test "$enableval" = yes; then
6104 ac_cv_use_docview
='wxUSE_DOC_VIEW_ARCHITECTURE=yes'
6106 ac_cv_use_docview
='wxUSE_DOC_VIEW_ARCHITECTURE=no'
6111 LINE
=`grep "wxUSE_DOC_VIEW_ARCHITECTURE" ${wx_arg_cache_file}`
6112 if test "x$LINE" != x
; then
6113 eval "DEFAULT_$LINE"
6118 ac_cv_use_docview
='wxUSE_DOC_VIEW_ARCHITECTURE='$DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE
6122 eval "$ac_cv_use_docview"
6123 if test "$no_cache" != 1; then
6124 echo $ac_cv_use_docview >> ${wx_arg_cache_file}.tmp
6127 if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = yes; then
6128 echo "$as_me:$LINENO: result: yes" >&5
6129 echo "${ECHO_T}yes" >&6
6131 echo "$as_me:$LINENO: result: no" >&5
6132 echo "${ECHO_T}no" >&6
6137 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-help" >&5
6138 echo $ECHO_N "checking for --${enablestring:-enable}-help... $ECHO_C" >&6
6140 # Check whether --enable-help or --disable-help was given.
6141 if test "${enable_help+set}" = set; then
6142 enableval
="$enable_help"
6144 if test "$enableval" = yes; then
6145 ac_cv_use_help
='wxUSE_HELP=yes'
6147 ac_cv_use_help
='wxUSE_HELP=no'
6152 LINE
=`grep "wxUSE_HELP" ${wx_arg_cache_file}`
6153 if test "x$LINE" != x
; then
6154 eval "DEFAULT_$LINE"
6159 ac_cv_use_help
='wxUSE_HELP='$DEFAULT_wxUSE_HELP
6163 eval "$ac_cv_use_help"
6164 if test "$no_cache" != 1; then
6165 echo $ac_cv_use_help >> ${wx_arg_cache_file}.tmp
6168 if test "$wxUSE_HELP" = yes; then
6169 echo "$as_me:$LINENO: result: yes" >&5
6170 echo "${ECHO_T}yes" >&6
6172 echo "$as_me:$LINENO: result: no" >&5
6173 echo "${ECHO_T}no" >&6
6178 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mshtmlhelp" >&5
6179 echo $ECHO_N "checking for --${enablestring:-enable}-mshtmlhelp... $ECHO_C" >&6
6181 # Check whether --enable-mshtmlhelp or --disable-mshtmlhelp was given.
6182 if test "${enable_mshtmlhelp+set}" = set; then
6183 enableval
="$enable_mshtmlhelp"
6185 if test "$enableval" = yes; then
6186 ac_cv_use_mshtmlhelp
='wxUSE_MS_HTML_HELP=yes'
6188 ac_cv_use_mshtmlhelp
='wxUSE_MS_HTML_HELP=no'
6193 LINE
=`grep "wxUSE_MS_HTML_HELP" ${wx_arg_cache_file}`
6194 if test "x$LINE" != x
; then
6195 eval "DEFAULT_$LINE"
6200 ac_cv_use_mshtmlhelp
='wxUSE_MS_HTML_HELP='$DEFAULT_wxUSE_MS_HTML_HELP
6204 eval "$ac_cv_use_mshtmlhelp"
6205 if test "$no_cache" != 1; then
6206 echo $ac_cv_use_mshtmlhelp >> ${wx_arg_cache_file}.tmp
6209 if test "$wxUSE_MS_HTML_HELP" = yes; then
6210 echo "$as_me:$LINENO: result: yes" >&5
6211 echo "${ECHO_T}yes" >&6
6213 echo "$as_me:$LINENO: result: no" >&5
6214 echo "${ECHO_T}no" >&6
6219 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-html" >&5
6220 echo $ECHO_N "checking for --${enablestring:-enable}-html... $ECHO_C" >&6
6222 # Check whether --enable-html or --disable-html was given.
6223 if test "${enable_html+set}" = set; then
6224 enableval
="$enable_html"
6226 if test "$enableval" = yes; then
6227 ac_cv_use_html
='wxUSE_HTML=yes'
6229 ac_cv_use_html
='wxUSE_HTML=no'
6234 LINE
=`grep "wxUSE_HTML" ${wx_arg_cache_file}`
6235 if test "x$LINE" != x
; then
6236 eval "DEFAULT_$LINE"
6241 ac_cv_use_html
='wxUSE_HTML='$DEFAULT_wxUSE_HTML
6245 eval "$ac_cv_use_html"
6246 if test "$no_cache" != 1; then
6247 echo $ac_cv_use_html >> ${wx_arg_cache_file}.tmp
6250 if test "$wxUSE_HTML" = yes; then
6251 echo "$as_me:$LINENO: result: yes" >&5
6252 echo "${ECHO_T}yes" >&6
6254 echo "$as_me:$LINENO: result: no" >&5
6255 echo "${ECHO_T}no" >&6
6260 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-htmlhelp" >&5
6261 echo $ECHO_N "checking for --${enablestring:-enable}-htmlhelp... $ECHO_C" >&6
6263 # Check whether --enable-htmlhelp or --disable-htmlhelp was given.
6264 if test "${enable_htmlhelp+set}" = set; then
6265 enableval
="$enable_htmlhelp"
6267 if test "$enableval" = yes; then
6268 ac_cv_use_htmlhelp
='wxUSE_WXHTML_HELP=yes'
6270 ac_cv_use_htmlhelp
='wxUSE_WXHTML_HELP=no'
6275 LINE
=`grep "wxUSE_WXHTML_HELP" ${wx_arg_cache_file}`
6276 if test "x$LINE" != x
; then
6277 eval "DEFAULT_$LINE"
6282 ac_cv_use_htmlhelp
='wxUSE_WXHTML_HELP='$DEFAULT_wxUSE_WXHTML_HELP
6286 eval "$ac_cv_use_htmlhelp"
6287 if test "$no_cache" != 1; then
6288 echo $ac_cv_use_htmlhelp >> ${wx_arg_cache_file}.tmp
6291 if test "$wxUSE_WXHTML_HELP" = yes; then
6292 echo "$as_me:$LINENO: result: yes" >&5
6293 echo "${ECHO_T}yes" >&6
6295 echo "$as_me:$LINENO: result: no" >&5
6296 echo "${ECHO_T}no" >&6
6301 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-constraints" >&5
6302 echo $ECHO_N "checking for --${enablestring:-enable}-constraints... $ECHO_C" >&6
6304 # Check whether --enable-constraints or --disable-constraints was given.
6305 if test "${enable_constraints+set}" = set; then
6306 enableval
="$enable_constraints"
6308 if test "$enableval" = yes; then
6309 ac_cv_use_constraints
='wxUSE_CONSTRAINTS=yes'
6311 ac_cv_use_constraints
='wxUSE_CONSTRAINTS=no'
6316 LINE
=`grep "wxUSE_CONSTRAINTS" ${wx_arg_cache_file}`
6317 if test "x$LINE" != x
; then
6318 eval "DEFAULT_$LINE"
6323 ac_cv_use_constraints
='wxUSE_CONSTRAINTS='$DEFAULT_wxUSE_CONSTRAINTS
6327 eval "$ac_cv_use_constraints"
6328 if test "$no_cache" != 1; then
6329 echo $ac_cv_use_constraints >> ${wx_arg_cache_file}.tmp
6332 if test "$wxUSE_CONSTRAINTS" = yes; then
6333 echo "$as_me:$LINENO: result: yes" >&5
6334 echo "${ECHO_T}yes" >&6
6336 echo "$as_me:$LINENO: result: no" >&5
6337 echo "${ECHO_T}no" >&6
6342 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-printarch" >&5
6343 echo $ECHO_N "checking for --${enablestring:-enable}-printarch... $ECHO_C" >&6
6345 # Check whether --enable-printarch or --disable-printarch was given.
6346 if test "${enable_printarch+set}" = set; then
6347 enableval
="$enable_printarch"
6349 if test "$enableval" = yes; then
6350 ac_cv_use_printarch
='wxUSE_PRINTING_ARCHITECTURE=yes'
6352 ac_cv_use_printarch
='wxUSE_PRINTING_ARCHITECTURE=no'
6357 LINE
=`grep "wxUSE_PRINTING_ARCHITECTURE" ${wx_arg_cache_file}`
6358 if test "x$LINE" != x
; then
6359 eval "DEFAULT_$LINE"
6364 ac_cv_use_printarch
='wxUSE_PRINTING_ARCHITECTURE='$DEFAULT_wxUSE_PRINTING_ARCHITECTURE
6368 eval "$ac_cv_use_printarch"
6369 if test "$no_cache" != 1; then
6370 echo $ac_cv_use_printarch >> ${wx_arg_cache_file}.tmp
6373 if test "$wxUSE_PRINTING_ARCHITECTURE" = yes; then
6374 echo "$as_me:$LINENO: result: yes" >&5
6375 echo "${ECHO_T}yes" >&6
6377 echo "$as_me:$LINENO: result: no" >&5
6378 echo "${ECHO_T}no" >&6
6383 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mdi" >&5
6384 echo $ECHO_N "checking for --${enablestring:-enable}-mdi... $ECHO_C" >&6
6386 # Check whether --enable-mdi or --disable-mdi was given.
6387 if test "${enable_mdi+set}" = set; then
6388 enableval
="$enable_mdi"
6390 if test "$enableval" = yes; then
6391 ac_cv_use_mdi
='wxUSE_MDI_ARCHITECTURE=yes'
6393 ac_cv_use_mdi
='wxUSE_MDI_ARCHITECTURE=no'
6398 LINE
=`grep "wxUSE_MDI_ARCHITECTURE" ${wx_arg_cache_file}`
6399 if test "x$LINE" != x
; then
6400 eval "DEFAULT_$LINE"
6405 ac_cv_use_mdi
='wxUSE_MDI_ARCHITECTURE='$DEFAULT_wxUSE_MDI_ARCHITECTURE
6409 eval "$ac_cv_use_mdi"
6410 if test "$no_cache" != 1; then
6411 echo $ac_cv_use_mdi >> ${wx_arg_cache_file}.tmp
6414 if test "$wxUSE_MDI_ARCHITECTURE" = yes; then
6415 echo "$as_me:$LINENO: result: yes" >&5
6416 echo "${ECHO_T}yes" >&6
6418 echo "$as_me:$LINENO: result: no" >&5
6419 echo "${ECHO_T}no" >&6
6424 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-loggui" >&5
6425 echo $ECHO_N "checking for --${enablestring:-enable}-loggui... $ECHO_C" >&6
6427 # Check whether --enable-loggui or --disable-loggui was given.
6428 if test "${enable_loggui+set}" = set; then
6429 enableval
="$enable_loggui"
6431 if test "$enableval" = yes; then
6432 ac_cv_use_loggui
='wxUSE_LOGGUI=yes'
6434 ac_cv_use_loggui
='wxUSE_LOGGUI=no'
6439 LINE
=`grep "wxUSE_LOGGUI" ${wx_arg_cache_file}`
6440 if test "x$LINE" != x
; then
6441 eval "DEFAULT_$LINE"
6446 ac_cv_use_loggui
='wxUSE_LOGGUI='$DEFAULT_wxUSE_LOGGUI
6450 eval "$ac_cv_use_loggui"
6451 if test "$no_cache" != 1; then
6452 echo $ac_cv_use_loggui >> ${wx_arg_cache_file}.tmp
6455 if test "$wxUSE_LOGGUI" = yes; then
6456 echo "$as_me:$LINENO: result: yes" >&5
6457 echo "${ECHO_T}yes" >&6
6459 echo "$as_me:$LINENO: result: no" >&5
6460 echo "${ECHO_T}no" >&6
6465 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-logwin" >&5
6466 echo $ECHO_N "checking for --${enablestring:-enable}-logwin... $ECHO_C" >&6
6468 # Check whether --enable-logwin or --disable-logwin was given.
6469 if test "${enable_logwin+set}" = set; then
6470 enableval
="$enable_logwin"
6472 if test "$enableval" = yes; then
6473 ac_cv_use_logwin
='wxUSE_LOGWINDOW=yes'
6475 ac_cv_use_logwin
='wxUSE_LOGWINDOW=no'
6480 LINE
=`grep "wxUSE_LOGWINDOW" ${wx_arg_cache_file}`
6481 if test "x$LINE" != x
; then
6482 eval "DEFAULT_$LINE"
6487 ac_cv_use_logwin
='wxUSE_LOGWINDOW='$DEFAULT_wxUSE_LOGWINDOW
6491 eval "$ac_cv_use_logwin"
6492 if test "$no_cache" != 1; then
6493 echo $ac_cv_use_logwin >> ${wx_arg_cache_file}.tmp
6496 if test "$wxUSE_LOGWINDOW" = yes; then
6497 echo "$as_me:$LINENO: result: yes" >&5
6498 echo "${ECHO_T}yes" >&6
6500 echo "$as_me:$LINENO: result: no" >&5
6501 echo "${ECHO_T}no" >&6
6506 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-logdialog" >&5
6507 echo $ECHO_N "checking for --${enablestring:-enable}-logdialog... $ECHO_C" >&6
6509 # Check whether --enable-logdialog or --disable-logdialog was given.
6510 if test "${enable_logdialog+set}" = set; then
6511 enableval
="$enable_logdialog"
6513 if test "$enableval" = yes; then
6514 ac_cv_use_logdialog
='wxUSE_LOGDIALOG=yes'
6516 ac_cv_use_logdialog
='wxUSE_LOGDIALOG=no'
6521 LINE
=`grep "wxUSE_LOGDIALOG" ${wx_arg_cache_file}`
6522 if test "x$LINE" != x
; then
6523 eval "DEFAULT_$LINE"
6528 ac_cv_use_logdialog
='wxUSE_LOGDIALOG='$DEFAULT_wxUSE_LOGDIALOG
6532 eval "$ac_cv_use_logdialog"
6533 if test "$no_cache" != 1; then
6534 echo $ac_cv_use_logdialog >> ${wx_arg_cache_file}.tmp
6537 if test "$wxUSE_LOGDIALOG" = yes; then
6538 echo "$as_me:$LINENO: result: yes" >&5
6539 echo "${ECHO_T}yes" >&6
6541 echo "$as_me:$LINENO: result: no" >&5
6542 echo "${ECHO_T}no" >&6
6548 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-postscript" >&5
6549 echo $ECHO_N "checking for --${enablestring:-enable}-postscript... $ECHO_C" >&6
6551 # Check whether --enable-postscript or --disable-postscript was given.
6552 if test "${enable_postscript+set}" = set; then
6553 enableval
="$enable_postscript"
6555 if test "$enableval" = yes; then
6556 ac_cv_use_postscript
='wxUSE_POSTSCRIPT=yes'
6558 ac_cv_use_postscript
='wxUSE_POSTSCRIPT=no'
6563 LINE
=`grep "wxUSE_POSTSCRIPT" ${wx_arg_cache_file}`
6564 if test "x$LINE" != x
; then
6565 eval "DEFAULT_$LINE"
6570 ac_cv_use_postscript
='wxUSE_POSTSCRIPT='$DEFAULT_wxUSE_POSTSCRIPT
6574 eval "$ac_cv_use_postscript"
6575 if test "$no_cache" != 1; then
6576 echo $ac_cv_use_postscript >> ${wx_arg_cache_file}.tmp
6579 if test "$wxUSE_POSTSCRIPT" = yes; then
6580 echo "$as_me:$LINENO: result: yes" >&5
6581 echo "${ECHO_T}yes" >&6
6583 echo "$as_me:$LINENO: result: no" >&5
6584 echo "${ECHO_T}no" >&6
6592 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-prologio" >&5
6593 echo $ECHO_N "checking for --${enablestring:-enable}-prologio... $ECHO_C" >&6
6595 # Check whether --enable-prologio or --disable-prologio was given.
6596 if test "${enable_prologio+set}" = set; then
6597 enableval
="$enable_prologio"
6599 if test "$enableval" = yes; then
6600 ac_cv_use_prologio
='wxUSE_PROLOGIO=yes'
6602 ac_cv_use_prologio
='wxUSE_PROLOGIO=no'
6607 LINE
=`grep "wxUSE_PROLOGIO" ${wx_arg_cache_file}`
6608 if test "x$LINE" != x
; then
6609 eval "DEFAULT_$LINE"
6614 ac_cv_use_prologio
='wxUSE_PROLOGIO='$DEFAULT_wxUSE_PROLOGIO
6618 eval "$ac_cv_use_prologio"
6619 if test "$no_cache" != 1; then
6620 echo $ac_cv_use_prologio >> ${wx_arg_cache_file}.tmp
6623 if test "$wxUSE_PROLOGIO" = yes; then
6624 echo "$as_me:$LINENO: result: yes" >&5
6625 echo "${ECHO_T}yes" >&6
6627 echo "$as_me:$LINENO: result: no" >&5
6628 echo "${ECHO_T}no" >&6
6633 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-resources" >&5
6634 echo $ECHO_N "checking for --${enablestring:-enable}-resources... $ECHO_C" >&6
6636 # Check whether --enable-resources or --disable-resources was given.
6637 if test "${enable_resources+set}" = set; then
6638 enableval
="$enable_resources"
6640 if test "$enableval" = yes; then
6641 ac_cv_use_resources
='wxUSE_RESOURCES=yes'
6643 ac_cv_use_resources
='wxUSE_RESOURCES=no'
6648 LINE
=`grep "wxUSE_RESOURCES" ${wx_arg_cache_file}`
6649 if test "x$LINE" != x
; then
6650 eval "DEFAULT_$LINE"
6655 ac_cv_use_resources
='wxUSE_RESOURCES='$DEFAULT_wxUSE_RESOURCES
6659 eval "$ac_cv_use_resources"
6660 if test "$no_cache" != 1; then
6661 echo $ac_cv_use_resources >> ${wx_arg_cache_file}.tmp
6664 if test "$wxUSE_RESOURCES" = yes; then
6665 echo "$as_me:$LINENO: result: yes" >&5
6666 echo "${ECHO_T}yes" >&6
6668 echo "$as_me:$LINENO: result: no" >&5
6669 echo "${ECHO_T}no" >&6
6676 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-clipboard" >&5
6677 echo $ECHO_N "checking for --${enablestring:-enable}-clipboard... $ECHO_C" >&6
6679 # Check whether --enable-clipboard or --disable-clipboard was given.
6680 if test "${enable_clipboard+set}" = set; then
6681 enableval
="$enable_clipboard"
6683 if test "$enableval" = yes; then
6684 ac_cv_use_clipboard
='wxUSE_CLIPBOARD=yes'
6686 ac_cv_use_clipboard
='wxUSE_CLIPBOARD=no'
6691 LINE
=`grep "wxUSE_CLIPBOARD" ${wx_arg_cache_file}`
6692 if test "x$LINE" != x
; then
6693 eval "DEFAULT_$LINE"
6698 ac_cv_use_clipboard
='wxUSE_CLIPBOARD='$DEFAULT_wxUSE_CLIPBOARD
6702 eval "$ac_cv_use_clipboard"
6703 if test "$no_cache" != 1; then
6704 echo $ac_cv_use_clipboard >> ${wx_arg_cache_file}.tmp
6707 if test "$wxUSE_CLIPBOARD" = yes; then
6708 echo "$as_me:$LINENO: result: yes" >&5
6709 echo "${ECHO_T}yes" >&6
6711 echo "$as_me:$LINENO: result: no" >&5
6712 echo "${ECHO_T}no" >&6
6717 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dnd" >&5
6718 echo $ECHO_N "checking for --${enablestring:-enable}-dnd... $ECHO_C" >&6
6720 # Check whether --enable-dnd or --disable-dnd was given.
6721 if test "${enable_dnd+set}" = set; then
6722 enableval
="$enable_dnd"
6724 if test "$enableval" = yes; then
6725 ac_cv_use_dnd
='wxUSE_DRAG_AND_DROP=yes'
6727 ac_cv_use_dnd
='wxUSE_DRAG_AND_DROP=no'
6732 LINE
=`grep "wxUSE_DRAG_AND_DROP" ${wx_arg_cache_file}`
6733 if test "x$LINE" != x
; then
6734 eval "DEFAULT_$LINE"
6739 ac_cv_use_dnd
='wxUSE_DRAG_AND_DROP='$DEFAULT_wxUSE_DRAG_AND_DROP
6743 eval "$ac_cv_use_dnd"
6744 if test "$no_cache" != 1; then
6745 echo $ac_cv_use_dnd >> ${wx_arg_cache_file}.tmp
6748 if test "$wxUSE_DRAG_AND_DROP" = yes; then
6749 echo "$as_me:$LINENO: result: yes" >&5
6750 echo "${ECHO_T}yes" >&6
6752 echo "$as_me:$LINENO: result: no" >&5
6753 echo "${ECHO_T}no" >&6
6758 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-metafile" >&5
6759 echo $ECHO_N "checking for --${enablestring:-enable}-metafile... $ECHO_C" >&6
6761 # Check whether --enable-metafile or --disable-metafile was given.
6762 if test "${enable_metafile+set}" = set; then
6763 enableval
="$enable_metafile"
6765 if test "$enableval" = yes; then
6766 ac_cv_use_metafile
='wxUSE_METAFILE=yes'
6768 ac_cv_use_metafile
='wxUSE_METAFILE=no'
6773 LINE
=`grep "wxUSE_METAFILE" ${wx_arg_cache_file}`
6774 if test "x$LINE" != x
; then
6775 eval "DEFAULT_$LINE"
6780 ac_cv_use_metafile
='wxUSE_METAFILE='$DEFAULT_wxUSE_METAFILE
6784 eval "$ac_cv_use_metafile"
6785 if test "$no_cache" != 1; then
6786 echo $ac_cv_use_metafile >> ${wx_arg_cache_file}.tmp
6789 if test "$wxUSE_METAFILE" = yes; then
6790 echo "$as_me:$LINENO: result: yes" >&5
6791 echo "${ECHO_T}yes" >&6
6793 echo "$as_me:$LINENO: result: no" >&5
6794 echo "${ECHO_T}no" >&6
6802 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-controls" >&5
6803 echo $ECHO_N "checking for --${enablestring:-enable}-controls... $ECHO_C" >&6
6805 # Check whether --enable-controls or --disable-controls was given.
6806 if test "${enable_controls+set}" = set; then
6807 enableval
="$enable_controls"
6809 if test "$enableval" = yes; then
6810 ac_cv_use_controls
='wxUSE_CONTROLS=yes'
6812 ac_cv_use_controls
='wxUSE_CONTROLS=no'
6817 LINE
=`grep "wxUSE_CONTROLS" ${wx_arg_cache_file}`
6818 if test "x$LINE" != x
; then
6819 eval "DEFAULT_$LINE"
6824 ac_cv_use_controls
='wxUSE_CONTROLS='$DEFAULT_wxUSE_CONTROLS
6828 eval "$ac_cv_use_controls"
6829 if test "$no_cache" != 1; then
6830 echo $ac_cv_use_controls >> ${wx_arg_cache_file}.tmp
6833 if test "$wxUSE_CONTROLS" = yes; then
6834 echo "$as_me:$LINENO: result: yes" >&5
6835 echo "${ECHO_T}yes" >&6
6837 echo "$as_me:$LINENO: result: no" >&5
6838 echo "${ECHO_T}no" >&6
6842 if test "$wxUSE_CONTROLS" = "yes"; then
6843 DEFAULT_wxUSE_ACCEL
=yes
6844 DEFAULT_wxUSE_BMPBUTTON
=yes
6845 DEFAULT_wxUSE_BUTTON
=yes
6846 DEFAULT_wxUSE_CALCTRL
=no
6847 DEFAULT_wxUSE_CARET
=yes
6848 DEFAULT_wxUSE_COMBOBOX
=yes
6849 DEFAULT_wxUSE_CHECKBOX
=yes
6850 DEFAULT_wxUSE_CHECKLISTBOX
=yes
6851 DEFAULT_wxUSE_CHOICE
=yes
6852 DEFAULT_wxUSE_GAUGE
=yes
6853 DEFAULT_wxUSE_GRID
=yes
6854 DEFAULT_wxUSE_IMAGLIST
=yes
6855 DEFAULT_wxUSE_LISTBOOK
=yes
6856 DEFAULT_wxUSE_LISTBOX
=yes
6857 DEFAULT_wxUSE_LISTCTRL
=yes
6858 DEFAULT_wxUSE_NOTEBOOK
=yes
6859 DEFAULT_wxUSE_RADIOBOX
=yes
6860 DEFAULT_wxUSE_RADIOBTN
=yes
6861 DEFAULT_wxUSE_SASH
=yes
6862 DEFAULT_wxUSE_SCROLLBAR
=yes
6863 DEFAULT_wxUSE_SLIDER
=yes
6864 DEFAULT_wxUSE_SPINBTN
=yes
6865 DEFAULT_wxUSE_SPINCTRL
=yes
6866 DEFAULT_wxUSE_SPLITTER
=yes
6867 DEFAULT_wxUSE_STATBMP
=yes
6868 DEFAULT_wxUSE_STATBOX
=yes
6869 DEFAULT_wxUSE_STATLINE
=yes
6870 DEFAULT_wxUSE_STATUSBAR
=yes
6871 DEFAULT_wxUSE_TAB_DIALOG
=yes
6872 DEFAULT_wxUSE_TOGGLEBTN
=yes
6873 DEFAULT_wxUSE_TOOLBAR
=yes
6874 DEFAULT_wxUSE_TOOLBAR_NATIVE
=yes
6875 DEFAULT_wxUSE_TOOLBAR_SIMPLE
=yes
6876 DEFAULT_wxUSE_TOOLTIPS
=yes
6877 DEFAULT_wxUSE_TREECTRL
=yes
6878 DEFAULT_wxUSE_POPUPWIN
=yes
6879 DEFAULT_wxUSE_TIPWINDOW
=yes
6880 elif test "$wxUSE_CONTROLS" = "no"; then
6881 DEFAULT_wxUSE_ACCEL
=no
6882 DEFAULT_wxUSE_BMPBUTTON
=no
6883 DEFAULT_wxUSE_BUTTON
=no
6884 DEFAULT_wxUSE_CALCTRL
=no
6885 DEFAULT_wxUSE_CARET
=no
6886 DEFAULT_wxUSE_COMBOBOX
=no
6887 DEFAULT_wxUSE_CHECKBOX
=no
6888 DEFAULT_wxUSE_CHECKLISTBOX
=no
6889 DEFAULT_wxUSE_CHOICE
=no
6890 DEFAULT_wxUSE_GAUGE
=no
6891 DEFAULT_wxUSE_GRID
=no
6892 DEFAULT_wxUSE_IMAGLIST
=no
6893 DEFAULT_wxUSE_LISTBOOK
=no
6894 DEFAULT_wxUSE_LISTBOX
=no
6895 DEFAULT_wxUSE_LISTCTRL
=no
6896 DEFAULT_wxUSE_NOTEBOOK
=no
6897 DEFAULT_wxUSE_RADIOBOX
=no
6898 DEFAULT_wxUSE_RADIOBTN
=no
6899 DEFAULT_wxUSE_SASH
=no
6900 DEFAULT_wxUSE_SCROLLBAR
=no
6901 DEFAULT_wxUSE_SLIDER
=no
6902 DEFAULT_wxUSE_SPINBTN
=no
6903 DEFAULT_wxUSE_SPINCTRL
=no
6904 DEFAULT_wxUSE_SPLITTER
=no
6905 DEFAULT_wxUSE_STATBMP
=no
6906 DEFAULT_wxUSE_STATBOX
=no
6907 DEFAULT_wxUSE_STATLINE
=no
6908 DEFAULT_wxUSE_STATUSBAR
=no
6909 DEFAULT_wxUSE_TAB_DIALOG
=no
6910 DEFAULT_wxUSE_TOGGLEBTN
=no
6911 DEFAULT_wxUSE_TOOLBAR
=no
6912 DEFAULT_wxUSE_TOOLBAR_NATIVE
=no
6913 DEFAULT_wxUSE_TOOLBAR_SIMPLE
=no
6914 DEFAULT_wxUSE_TOOLTIPS
=no
6915 DEFAULT_wxUSE_TREECTRL
=no
6916 DEFAULT_wxUSE_POPUPWIN
=no
6917 DEFAULT_wxUSE_TIPWINDOW
=no
6920 ## FIXME: This is a blatant hack
6921 if test "x$wxUSE_COCOA" != "x" -a "$wxUSE_COCOA" != "0" ; then
6922 wxUSE_PRINTING_ARCHITECTURE
=no
6923 wxUSE_DRAG_AND_DROP
=no
6924 # Generic notebook requires tab dialog
6925 DEFAULT_wxUSE_TABDIALOG
=yes
6926 DEFAULT_wxUSE_SCROLLBAR
=no
6927 DEFAULT_wxUSE_TOOLTIPS
=no
6928 DEFAULT_wxUSE_DRAGIMAGE
=no
6933 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-accel" >&5
6934 echo $ECHO_N "checking for --${enablestring:-enable}-accel... $ECHO_C" >&6
6936 # Check whether --enable-accel or --disable-accel was given.
6937 if test "${enable_accel+set}" = set; then
6938 enableval
="$enable_accel"
6940 if test "$enableval" = yes; then
6941 ac_cv_use_accel
='wxUSE_ACCEL=yes'
6943 ac_cv_use_accel
='wxUSE_ACCEL=no'
6948 LINE
=`grep "wxUSE_ACCEL" ${wx_arg_cache_file}`
6949 if test "x$LINE" != x
; then
6950 eval "DEFAULT_$LINE"
6955 ac_cv_use_accel
='wxUSE_ACCEL='$DEFAULT_wxUSE_ACCEL
6959 eval "$ac_cv_use_accel"
6960 if test "$no_cache" != 1; then
6961 echo $ac_cv_use_accel >> ${wx_arg_cache_file}.tmp
6964 if test "$wxUSE_ACCEL" = yes; then
6965 echo "$as_me:$LINENO: result: yes" >&5
6966 echo "${ECHO_T}yes" >&6
6968 echo "$as_me:$LINENO: result: no" >&5
6969 echo "${ECHO_T}no" >&6
6974 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-button" >&5
6975 echo $ECHO_N "checking for --${enablestring:-enable}-button... $ECHO_C" >&6
6977 # Check whether --enable-button or --disable-button was given.
6978 if test "${enable_button+set}" = set; then
6979 enableval
="$enable_button"
6981 if test "$enableval" = yes; then
6982 ac_cv_use_button
='wxUSE_BUTTON=yes'
6984 ac_cv_use_button
='wxUSE_BUTTON=no'
6989 LINE
=`grep "wxUSE_BUTTON" ${wx_arg_cache_file}`
6990 if test "x$LINE" != x
; then
6991 eval "DEFAULT_$LINE"
6996 ac_cv_use_button
='wxUSE_BUTTON='$DEFAULT_wxUSE_BUTTON
7000 eval "$ac_cv_use_button"
7001 if test "$no_cache" != 1; then
7002 echo $ac_cv_use_button >> ${wx_arg_cache_file}.tmp
7005 if test "$wxUSE_BUTTON" = yes; then
7006 echo "$as_me:$LINENO: result: yes" >&5
7007 echo "${ECHO_T}yes" >&6
7009 echo "$as_me:$LINENO: result: no" >&5
7010 echo "${ECHO_T}no" >&6
7015 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-bmpbutton" >&5
7016 echo $ECHO_N "checking for --${enablestring:-enable}-bmpbutton... $ECHO_C" >&6
7018 # Check whether --enable-bmpbutton or --disable-bmpbutton was given.
7019 if test "${enable_bmpbutton+set}" = set; then
7020 enableval
="$enable_bmpbutton"
7022 if test "$enableval" = yes; then
7023 ac_cv_use_bmpbutton
='wxUSE_BMPBUTTON=yes'
7025 ac_cv_use_bmpbutton
='wxUSE_BMPBUTTON=no'
7030 LINE
=`grep "wxUSE_BMPBUTTON" ${wx_arg_cache_file}`
7031 if test "x$LINE" != x
; then
7032 eval "DEFAULT_$LINE"
7037 ac_cv_use_bmpbutton
='wxUSE_BMPBUTTON='$DEFAULT_wxUSE_BMPBUTTON
7041 eval "$ac_cv_use_bmpbutton"
7042 if test "$no_cache" != 1; then
7043 echo $ac_cv_use_bmpbutton >> ${wx_arg_cache_file}.tmp
7046 if test "$wxUSE_BMPBUTTON" = yes; then
7047 echo "$as_me:$LINENO: result: yes" >&5
7048 echo "${ECHO_T}yes" >&6
7050 echo "$as_me:$LINENO: result: no" >&5
7051 echo "${ECHO_T}no" >&6
7056 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-calendar" >&5
7057 echo $ECHO_N "checking for --${enablestring:-enable}-calendar... $ECHO_C" >&6
7059 # Check whether --enable-calendar or --disable-calendar was given.
7060 if test "${enable_calendar+set}" = set; then
7061 enableval
="$enable_calendar"
7063 if test "$enableval" = yes; then
7064 ac_cv_use_calendar
='wxUSE_CALCTRL=yes'
7066 ac_cv_use_calendar
='wxUSE_CALCTRL=no'
7071 LINE
=`grep "wxUSE_CALCTRL" ${wx_arg_cache_file}`
7072 if test "x$LINE" != x
; then
7073 eval "DEFAULT_$LINE"
7078 ac_cv_use_calendar
='wxUSE_CALCTRL='$DEFAULT_wxUSE_CALCTRL
7082 eval "$ac_cv_use_calendar"
7083 if test "$no_cache" != 1; then
7084 echo $ac_cv_use_calendar >> ${wx_arg_cache_file}.tmp
7087 if test "$wxUSE_CALCTRL" = yes; then
7088 echo "$as_me:$LINENO: result: yes" >&5
7089 echo "${ECHO_T}yes" >&6
7091 echo "$as_me:$LINENO: result: no" >&5
7092 echo "${ECHO_T}no" >&6
7097 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-caret" >&5
7098 echo $ECHO_N "checking for --${enablestring:-enable}-caret... $ECHO_C" >&6
7100 # Check whether --enable-caret or --disable-caret was given.
7101 if test "${enable_caret+set}" = set; then
7102 enableval
="$enable_caret"
7104 if test "$enableval" = yes; then
7105 ac_cv_use_caret
='wxUSE_CARET=yes'
7107 ac_cv_use_caret
='wxUSE_CARET=no'
7112 LINE
=`grep "wxUSE_CARET" ${wx_arg_cache_file}`
7113 if test "x$LINE" != x
; then
7114 eval "DEFAULT_$LINE"
7119 ac_cv_use_caret
='wxUSE_CARET='$DEFAULT_wxUSE_CARET
7123 eval "$ac_cv_use_caret"
7124 if test "$no_cache" != 1; then
7125 echo $ac_cv_use_caret >> ${wx_arg_cache_file}.tmp
7128 if test "$wxUSE_CARET" = yes; then
7129 echo "$as_me:$LINENO: result: yes" >&5
7130 echo "${ECHO_T}yes" >&6
7132 echo "$as_me:$LINENO: result: no" >&5
7133 echo "${ECHO_T}no" >&6
7138 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-checkbox" >&5
7139 echo $ECHO_N "checking for --${enablestring:-enable}-checkbox... $ECHO_C" >&6
7141 # Check whether --enable-checkbox or --disable-checkbox was given.
7142 if test "${enable_checkbox+set}" = set; then
7143 enableval
="$enable_checkbox"
7145 if test "$enableval" = yes; then
7146 ac_cv_use_checkbox
='wxUSE_CHECKBOX=yes'
7148 ac_cv_use_checkbox
='wxUSE_CHECKBOX=no'
7153 LINE
=`grep "wxUSE_CHECKBOX" ${wx_arg_cache_file}`
7154 if test "x$LINE" != x
; then
7155 eval "DEFAULT_$LINE"
7160 ac_cv_use_checkbox
='wxUSE_CHECKBOX='$DEFAULT_wxUSE_CHECKBOX
7164 eval "$ac_cv_use_checkbox"
7165 if test "$no_cache" != 1; then
7166 echo $ac_cv_use_checkbox >> ${wx_arg_cache_file}.tmp
7169 if test "$wxUSE_CHECKBOX" = yes; then
7170 echo "$as_me:$LINENO: result: yes" >&5
7171 echo "${ECHO_T}yes" >&6
7173 echo "$as_me:$LINENO: result: no" >&5
7174 echo "${ECHO_T}no" >&6
7179 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-checklst" >&5
7180 echo $ECHO_N "checking for --${enablestring:-enable}-checklst... $ECHO_C" >&6
7182 # Check whether --enable-checklst or --disable-checklst was given.
7183 if test "${enable_checklst+set}" = set; then
7184 enableval
="$enable_checklst"
7186 if test "$enableval" = yes; then
7187 ac_cv_use_checklst
='wxUSE_CHECKLST=yes'
7189 ac_cv_use_checklst
='wxUSE_CHECKLST=no'
7194 LINE
=`grep "wxUSE_CHECKLST" ${wx_arg_cache_file}`
7195 if test "x$LINE" != x
; then
7196 eval "DEFAULT_$LINE"
7201 ac_cv_use_checklst
='wxUSE_CHECKLST='$DEFAULT_wxUSE_CHECKLST
7205 eval "$ac_cv_use_checklst"
7206 if test "$no_cache" != 1; then
7207 echo $ac_cv_use_checklst >> ${wx_arg_cache_file}.tmp
7210 if test "$wxUSE_CHECKLST" = yes; then
7211 echo "$as_me:$LINENO: result: yes" >&5
7212 echo "${ECHO_T}yes" >&6
7214 echo "$as_me:$LINENO: result: no" >&5
7215 echo "${ECHO_T}no" >&6
7220 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choice" >&5
7221 echo $ECHO_N "checking for --${enablestring:-enable}-choice... $ECHO_C" >&6
7223 # Check whether --enable-choice or --disable-choice was given.
7224 if test "${enable_choice+set}" = set; then
7225 enableval
="$enable_choice"
7227 if test "$enableval" = yes; then
7228 ac_cv_use_choice
='wxUSE_CHOICE=yes'
7230 ac_cv_use_choice
='wxUSE_CHOICE=no'
7235 LINE
=`grep "wxUSE_CHOICE" ${wx_arg_cache_file}`
7236 if test "x$LINE" != x
; then
7237 eval "DEFAULT_$LINE"
7242 ac_cv_use_choice
='wxUSE_CHOICE='$DEFAULT_wxUSE_CHOICE
7246 eval "$ac_cv_use_choice"
7247 if test "$no_cache" != 1; then
7248 echo $ac_cv_use_choice >> ${wx_arg_cache_file}.tmp
7251 if test "$wxUSE_CHOICE" = yes; then
7252 echo "$as_me:$LINENO: result: yes" >&5
7253 echo "${ECHO_T}yes" >&6
7255 echo "$as_me:$LINENO: result: no" >&5
7256 echo "${ECHO_T}no" >&6
7261 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-combobox" >&5
7262 echo $ECHO_N "checking for --${enablestring:-enable}-combobox... $ECHO_C" >&6
7264 # Check whether --enable-combobox or --disable-combobox was given.
7265 if test "${enable_combobox+set}" = set; then
7266 enableval
="$enable_combobox"
7268 if test "$enableval" = yes; then
7269 ac_cv_use_combobox
='wxUSE_COMBOBOX=yes'
7271 ac_cv_use_combobox
='wxUSE_COMBOBOX=no'
7276 LINE
=`grep "wxUSE_COMBOBOX" ${wx_arg_cache_file}`
7277 if test "x$LINE" != x
; then
7278 eval "DEFAULT_$LINE"
7283 ac_cv_use_combobox
='wxUSE_COMBOBOX='$DEFAULT_wxUSE_COMBOBOX
7287 eval "$ac_cv_use_combobox"
7288 if test "$no_cache" != 1; then
7289 echo $ac_cv_use_combobox >> ${wx_arg_cache_file}.tmp
7292 if test "$wxUSE_COMBOBOX" = yes; then
7293 echo "$as_me:$LINENO: result: yes" >&5
7294 echo "${ECHO_T}yes" >&6
7296 echo "$as_me:$LINENO: result: no" >&5
7297 echo "${ECHO_T}no" >&6
7302 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-display" >&5
7303 echo $ECHO_N "checking for --${enablestring:-enable}-display... $ECHO_C" >&6
7305 # Check whether --enable-display or --disable-display was given.
7306 if test "${enable_display+set}" = set; then
7307 enableval
="$enable_display"
7309 if test "$enableval" = yes; then
7310 ac_cv_use_display
='wxUSE_DISPLAY=yes'
7312 ac_cv_use_display
='wxUSE_DISPLAY=no'
7317 LINE
=`grep "wxUSE_DISPLAY" ${wx_arg_cache_file}`
7318 if test "x$LINE" != x
; then
7319 eval "DEFAULT_$LINE"
7324 ac_cv_use_display
='wxUSE_DISPLAY='$DEFAULT_wxUSE_DISPLAY
7328 eval "$ac_cv_use_display"
7329 if test "$no_cache" != 1; then
7330 echo $ac_cv_use_display >> ${wx_arg_cache_file}.tmp
7333 if test "$wxUSE_DISPLAY" = yes; then
7334 echo "$as_me:$LINENO: result: yes" >&5
7335 echo "${ECHO_T}yes" >&6
7337 echo "$as_me:$LINENO: result: no" >&5
7338 echo "${ECHO_T}no" >&6
7343 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gauge" >&5
7344 echo $ECHO_N "checking for --${enablestring:-enable}-gauge... $ECHO_C" >&6
7346 # Check whether --enable-gauge or --disable-gauge was given.
7347 if test "${enable_gauge+set}" = set; then
7348 enableval
="$enable_gauge"
7350 if test "$enableval" = yes; then
7351 ac_cv_use_gauge
='wxUSE_GAUGE=yes'
7353 ac_cv_use_gauge
='wxUSE_GAUGE=no'
7358 LINE
=`grep "wxUSE_GAUGE" ${wx_arg_cache_file}`
7359 if test "x$LINE" != x
; then
7360 eval "DEFAULT_$LINE"
7365 ac_cv_use_gauge
='wxUSE_GAUGE='$DEFAULT_wxUSE_GAUGE
7369 eval "$ac_cv_use_gauge"
7370 if test "$no_cache" != 1; then
7371 echo $ac_cv_use_gauge >> ${wx_arg_cache_file}.tmp
7374 if test "$wxUSE_GAUGE" = yes; then
7375 echo "$as_me:$LINENO: result: yes" >&5
7376 echo "${ECHO_T}yes" >&6
7378 echo "$as_me:$LINENO: result: no" >&5
7379 echo "${ECHO_T}no" >&6
7384 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-grid" >&5
7385 echo $ECHO_N "checking for --${enablestring:-enable}-grid... $ECHO_C" >&6
7387 # Check whether --enable-grid or --disable-grid was given.
7388 if test "${enable_grid+set}" = set; then
7389 enableval
="$enable_grid"
7391 if test "$enableval" = yes; then
7392 ac_cv_use_grid
='wxUSE_GRID=yes'
7394 ac_cv_use_grid
='wxUSE_GRID=no'
7399 LINE
=`grep "wxUSE_GRID" ${wx_arg_cache_file}`
7400 if test "x$LINE" != x
; then
7401 eval "DEFAULT_$LINE"
7406 ac_cv_use_grid
='wxUSE_GRID='$DEFAULT_wxUSE_GRID
7410 eval "$ac_cv_use_grid"
7411 if test "$no_cache" != 1; then
7412 echo $ac_cv_use_grid >> ${wx_arg_cache_file}.tmp
7415 if test "$wxUSE_GRID" = yes; then
7416 echo "$as_me:$LINENO: result: yes" >&5
7417 echo "${ECHO_T}yes" >&6
7419 echo "$as_me:$LINENO: result: no" >&5
7420 echo "${ECHO_T}no" >&6
7425 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-imaglist" >&5
7426 echo $ECHO_N "checking for --${enablestring:-enable}-imaglist... $ECHO_C" >&6
7428 # Check whether --enable-imaglist or --disable-imaglist was given.
7429 if test "${enable_imaglist+set}" = set; then
7430 enableval
="$enable_imaglist"
7432 if test "$enableval" = yes; then
7433 ac_cv_use_imaglist
='wxUSE_IMAGLIST=yes'
7435 ac_cv_use_imaglist
='wxUSE_IMAGLIST=no'
7440 LINE
=`grep "wxUSE_IMAGLIST" ${wx_arg_cache_file}`
7441 if test "x$LINE" != x
; then
7442 eval "DEFAULT_$LINE"
7447 ac_cv_use_imaglist
='wxUSE_IMAGLIST='$DEFAULT_wxUSE_IMAGLIST
7451 eval "$ac_cv_use_imaglist"
7452 if test "$no_cache" != 1; then
7453 echo $ac_cv_use_imaglist >> ${wx_arg_cache_file}.tmp
7456 if test "$wxUSE_IMAGLIST" = yes; then
7457 echo "$as_me:$LINENO: result: yes" >&5
7458 echo "${ECHO_T}yes" >&6
7460 echo "$as_me:$LINENO: result: no" >&5
7461 echo "${ECHO_T}no" >&6
7466 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listbook" >&5
7467 echo $ECHO_N "checking for --${enablestring:-enable}-listbook... $ECHO_C" >&6
7469 # Check whether --enable-listbook or --disable-listbook was given.
7470 if test "${enable_listbook+set}" = set; then
7471 enableval
="$enable_listbook"
7473 if test "$enableval" = yes; then
7474 ac_cv_use_listbook
='wxUSE_LISTBOOK=yes'
7476 ac_cv_use_listbook
='wxUSE_LISTBOOK=no'
7481 LINE
=`grep "wxUSE_LISTBOOK" ${wx_arg_cache_file}`
7482 if test "x$LINE" != x
; then
7483 eval "DEFAULT_$LINE"
7488 ac_cv_use_listbook
='wxUSE_LISTBOOK='$DEFAULT_wxUSE_LISTBOOK
7492 eval "$ac_cv_use_listbook"
7493 if test "$no_cache" != 1; then
7494 echo $ac_cv_use_listbook >> ${wx_arg_cache_file}.tmp
7497 if test "$wxUSE_LISTBOOK" = yes; then
7498 echo "$as_me:$LINENO: result: yes" >&5
7499 echo "${ECHO_T}yes" >&6
7501 echo "$as_me:$LINENO: result: no" >&5
7502 echo "${ECHO_T}no" >&6
7507 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listbox" >&5
7508 echo $ECHO_N "checking for --${enablestring:-enable}-listbox... $ECHO_C" >&6
7510 # Check whether --enable-listbox or --disable-listbox was given.
7511 if test "${enable_listbox+set}" = set; then
7512 enableval
="$enable_listbox"
7514 if test "$enableval" = yes; then
7515 ac_cv_use_listbox
='wxUSE_LISTBOX=yes'
7517 ac_cv_use_listbox
='wxUSE_LISTBOX=no'
7522 LINE
=`grep "wxUSE_LISTBOX" ${wx_arg_cache_file}`
7523 if test "x$LINE" != x
; then
7524 eval "DEFAULT_$LINE"
7529 ac_cv_use_listbox
='wxUSE_LISTBOX='$DEFAULT_wxUSE_LISTBOX
7533 eval "$ac_cv_use_listbox"
7534 if test "$no_cache" != 1; then
7535 echo $ac_cv_use_listbox >> ${wx_arg_cache_file}.tmp
7538 if test "$wxUSE_LISTBOX" = yes; then
7539 echo "$as_me:$LINENO: result: yes" >&5
7540 echo "${ECHO_T}yes" >&6
7542 echo "$as_me:$LINENO: result: no" >&5
7543 echo "${ECHO_T}no" >&6
7548 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listctrl" >&5
7549 echo $ECHO_N "checking for --${enablestring:-enable}-listctrl... $ECHO_C" >&6
7551 # Check whether --enable-listctrl or --disable-listctrl was given.
7552 if test "${enable_listctrl+set}" = set; then
7553 enableval
="$enable_listctrl"
7555 if test "$enableval" = yes; then
7556 ac_cv_use_listctrl
='wxUSE_LISTCTRL=yes'
7558 ac_cv_use_listctrl
='wxUSE_LISTCTRL=no'
7563 LINE
=`grep "wxUSE_LISTCTRL" ${wx_arg_cache_file}`
7564 if test "x$LINE" != x
; then
7565 eval "DEFAULT_$LINE"
7570 ac_cv_use_listctrl
='wxUSE_LISTCTRL='$DEFAULT_wxUSE_LISTCTRL
7574 eval "$ac_cv_use_listctrl"
7575 if test "$no_cache" != 1; then
7576 echo $ac_cv_use_listctrl >> ${wx_arg_cache_file}.tmp
7579 if test "$wxUSE_LISTCTRL" = yes; then
7580 echo "$as_me:$LINENO: result: yes" >&5
7581 echo "${ECHO_T}yes" >&6
7583 echo "$as_me:$LINENO: result: no" >&5
7584 echo "${ECHO_T}no" >&6
7589 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-notebook" >&5
7590 echo $ECHO_N "checking for --${enablestring:-enable}-notebook... $ECHO_C" >&6
7592 # Check whether --enable-notebook or --disable-notebook was given.
7593 if test "${enable_notebook+set}" = set; then
7594 enableval
="$enable_notebook"
7596 if test "$enableval" = yes; then
7597 ac_cv_use_notebook
='wxUSE_NOTEBOOK=yes'
7599 ac_cv_use_notebook
='wxUSE_NOTEBOOK=no'
7604 LINE
=`grep "wxUSE_NOTEBOOK" ${wx_arg_cache_file}`
7605 if test "x$LINE" != x
; then
7606 eval "DEFAULT_$LINE"
7611 ac_cv_use_notebook
='wxUSE_NOTEBOOK='$DEFAULT_wxUSE_NOTEBOOK
7615 eval "$ac_cv_use_notebook"
7616 if test "$no_cache" != 1; then
7617 echo $ac_cv_use_notebook >> ${wx_arg_cache_file}.tmp
7620 if test "$wxUSE_NOTEBOOK" = yes; then
7621 echo "$as_me:$LINENO: result: yes" >&5
7622 echo "${ECHO_T}yes" >&6
7624 echo "$as_me:$LINENO: result: no" >&5
7625 echo "${ECHO_T}no" >&6
7630 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-radiobox" >&5
7631 echo $ECHO_N "checking for --${enablestring:-enable}-radiobox... $ECHO_C" >&6
7633 # Check whether --enable-radiobox or --disable-radiobox was given.
7634 if test "${enable_radiobox+set}" = set; then
7635 enableval
="$enable_radiobox"
7637 if test "$enableval" = yes; then
7638 ac_cv_use_radiobox
='wxUSE_RADIOBOX=yes'
7640 ac_cv_use_radiobox
='wxUSE_RADIOBOX=no'
7645 LINE
=`grep "wxUSE_RADIOBOX" ${wx_arg_cache_file}`
7646 if test "x$LINE" != x
; then
7647 eval "DEFAULT_$LINE"
7652 ac_cv_use_radiobox
='wxUSE_RADIOBOX='$DEFAULT_wxUSE_RADIOBOX
7656 eval "$ac_cv_use_radiobox"
7657 if test "$no_cache" != 1; then
7658 echo $ac_cv_use_radiobox >> ${wx_arg_cache_file}.tmp
7661 if test "$wxUSE_RADIOBOX" = yes; then
7662 echo "$as_me:$LINENO: result: yes" >&5
7663 echo "${ECHO_T}yes" >&6
7665 echo "$as_me:$LINENO: result: no" >&5
7666 echo "${ECHO_T}no" >&6
7671 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-radiobtn" >&5
7672 echo $ECHO_N "checking for --${enablestring:-enable}-radiobtn... $ECHO_C" >&6
7674 # Check whether --enable-radiobtn or --disable-radiobtn was given.
7675 if test "${enable_radiobtn+set}" = set; then
7676 enableval
="$enable_radiobtn"
7678 if test "$enableval" = yes; then
7679 ac_cv_use_radiobtn
='wxUSE_RADIOBTN=yes'
7681 ac_cv_use_radiobtn
='wxUSE_RADIOBTN=no'
7686 LINE
=`grep "wxUSE_RADIOBTN" ${wx_arg_cache_file}`
7687 if test "x$LINE" != x
; then
7688 eval "DEFAULT_$LINE"
7693 ac_cv_use_radiobtn
='wxUSE_RADIOBTN='$DEFAULT_wxUSE_RADIOBTN
7697 eval "$ac_cv_use_radiobtn"
7698 if test "$no_cache" != 1; then
7699 echo $ac_cv_use_radiobtn >> ${wx_arg_cache_file}.tmp
7702 if test "$wxUSE_RADIOBTN" = yes; then
7703 echo "$as_me:$LINENO: result: yes" >&5
7704 echo "${ECHO_T}yes" >&6
7706 echo "$as_me:$LINENO: result: no" >&5
7707 echo "${ECHO_T}no" >&6
7712 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sash" >&5
7713 echo $ECHO_N "checking for --${enablestring:-enable}-sash... $ECHO_C" >&6
7715 # Check whether --enable-sash or --disable-sash was given.
7716 if test "${enable_sash+set}" = set; then
7717 enableval
="$enable_sash"
7719 if test "$enableval" = yes; then
7720 ac_cv_use_sash
='wxUSE_SASH=yes'
7722 ac_cv_use_sash
='wxUSE_SASH=no'
7727 LINE
=`grep "wxUSE_SASH" ${wx_arg_cache_file}`
7728 if test "x$LINE" != x
; then
7729 eval "DEFAULT_$LINE"
7734 ac_cv_use_sash
='wxUSE_SASH='$DEFAULT_wxUSE_SASH
7738 eval "$ac_cv_use_sash"
7739 if test "$no_cache" != 1; then
7740 echo $ac_cv_use_sash >> ${wx_arg_cache_file}.tmp
7743 if test "$wxUSE_SASH" = yes; then
7744 echo "$as_me:$LINENO: result: yes" >&5
7745 echo "${ECHO_T}yes" >&6
7747 echo "$as_me:$LINENO: result: no" >&5
7748 echo "${ECHO_T}no" >&6
7753 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-scrollbar" >&5
7754 echo $ECHO_N "checking for --${enablestring:-enable}-scrollbar... $ECHO_C" >&6
7756 # Check whether --enable-scrollbar or --disable-scrollbar was given.
7757 if test "${enable_scrollbar+set}" = set; then
7758 enableval
="$enable_scrollbar"
7760 if test "$enableval" = yes; then
7761 ac_cv_use_scrollbar
='wxUSE_SCROLLBAR=yes'
7763 ac_cv_use_scrollbar
='wxUSE_SCROLLBAR=no'
7768 LINE
=`grep "wxUSE_SCROLLBAR" ${wx_arg_cache_file}`
7769 if test "x$LINE" != x
; then
7770 eval "DEFAULT_$LINE"
7775 ac_cv_use_scrollbar
='wxUSE_SCROLLBAR='$DEFAULT_wxUSE_SCROLLBAR
7779 eval "$ac_cv_use_scrollbar"
7780 if test "$no_cache" != 1; then
7781 echo $ac_cv_use_scrollbar >> ${wx_arg_cache_file}.tmp
7784 if test "$wxUSE_SCROLLBAR" = yes; then
7785 echo "$as_me:$LINENO: result: yes" >&5
7786 echo "${ECHO_T}yes" >&6
7788 echo "$as_me:$LINENO: result: no" >&5
7789 echo "${ECHO_T}no" >&6
7794 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-slider" >&5
7795 echo $ECHO_N "checking for --${enablestring:-enable}-slider... $ECHO_C" >&6
7797 # Check whether --enable-slider or --disable-slider was given.
7798 if test "${enable_slider+set}" = set; then
7799 enableval
="$enable_slider"
7801 if test "$enableval" = yes; then
7802 ac_cv_use_slider
='wxUSE_SLIDER=yes'
7804 ac_cv_use_slider
='wxUSE_SLIDER=no'
7809 LINE
=`grep "wxUSE_SLIDER" ${wx_arg_cache_file}`
7810 if test "x$LINE" != x
; then
7811 eval "DEFAULT_$LINE"
7816 ac_cv_use_slider
='wxUSE_SLIDER='$DEFAULT_wxUSE_SLIDER
7820 eval "$ac_cv_use_slider"
7821 if test "$no_cache" != 1; then
7822 echo $ac_cv_use_slider >> ${wx_arg_cache_file}.tmp
7825 if test "$wxUSE_SLIDER" = yes; then
7826 echo "$as_me:$LINENO: result: yes" >&5
7827 echo "${ECHO_T}yes" >&6
7829 echo "$as_me:$LINENO: result: no" >&5
7830 echo "${ECHO_T}no" >&6
7835 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-spinbtn" >&5
7836 echo $ECHO_N "checking for --${enablestring:-enable}-spinbtn... $ECHO_C" >&6
7838 # Check whether --enable-spinbtn or --disable-spinbtn was given.
7839 if test "${enable_spinbtn+set}" = set; then
7840 enableval
="$enable_spinbtn"
7842 if test "$enableval" = yes; then
7843 ac_cv_use_spinbtn
='wxUSE_SPINBTN=yes'
7845 ac_cv_use_spinbtn
='wxUSE_SPINBTN=no'
7850 LINE
=`grep "wxUSE_SPINBTN" ${wx_arg_cache_file}`
7851 if test "x$LINE" != x
; then
7852 eval "DEFAULT_$LINE"
7857 ac_cv_use_spinbtn
='wxUSE_SPINBTN='$DEFAULT_wxUSE_SPINBTN
7861 eval "$ac_cv_use_spinbtn"
7862 if test "$no_cache" != 1; then
7863 echo $ac_cv_use_spinbtn >> ${wx_arg_cache_file}.tmp
7866 if test "$wxUSE_SPINBTN" = yes; then
7867 echo "$as_me:$LINENO: result: yes" >&5
7868 echo "${ECHO_T}yes" >&6
7870 echo "$as_me:$LINENO: result: no" >&5
7871 echo "${ECHO_T}no" >&6
7876 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-spinctrl" >&5
7877 echo $ECHO_N "checking for --${enablestring:-enable}-spinctrl... $ECHO_C" >&6
7879 # Check whether --enable-spinctrl or --disable-spinctrl was given.
7880 if test "${enable_spinctrl+set}" = set; then
7881 enableval
="$enable_spinctrl"
7883 if test "$enableval" = yes; then
7884 ac_cv_use_spinctrl
='wxUSE_SPINCTRL=yes'
7886 ac_cv_use_spinctrl
='wxUSE_SPINCTRL=no'
7891 LINE
=`grep "wxUSE_SPINCTRL" ${wx_arg_cache_file}`
7892 if test "x$LINE" != x
; then
7893 eval "DEFAULT_$LINE"
7898 ac_cv_use_spinctrl
='wxUSE_SPINCTRL='$DEFAULT_wxUSE_SPINCTRL
7902 eval "$ac_cv_use_spinctrl"
7903 if test "$no_cache" != 1; then
7904 echo $ac_cv_use_spinctrl >> ${wx_arg_cache_file}.tmp
7907 if test "$wxUSE_SPINCTRL" = yes; then
7908 echo "$as_me:$LINENO: result: yes" >&5
7909 echo "${ECHO_T}yes" >&6
7911 echo "$as_me:$LINENO: result: no" >&5
7912 echo "${ECHO_T}no" >&6
7917 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splitter" >&5
7918 echo $ECHO_N "checking for --${enablestring:-enable}-splitter... $ECHO_C" >&6
7920 # Check whether --enable-splitter or --disable-splitter was given.
7921 if test "${enable_splitter+set}" = set; then
7922 enableval
="$enable_splitter"
7924 if test "$enableval" = yes; then
7925 ac_cv_use_splitter
='wxUSE_SPLITTER=yes'
7927 ac_cv_use_splitter
='wxUSE_SPLITTER=no'
7932 LINE
=`grep "wxUSE_SPLITTER" ${wx_arg_cache_file}`
7933 if test "x$LINE" != x
; then
7934 eval "DEFAULT_$LINE"
7939 ac_cv_use_splitter
='wxUSE_SPLITTER='$DEFAULT_wxUSE_SPLITTER
7943 eval "$ac_cv_use_splitter"
7944 if test "$no_cache" != 1; then
7945 echo $ac_cv_use_splitter >> ${wx_arg_cache_file}.tmp
7948 if test "$wxUSE_SPLITTER" = yes; then
7949 echo "$as_me:$LINENO: result: yes" >&5
7950 echo "${ECHO_T}yes" >&6
7952 echo "$as_me:$LINENO: result: no" >&5
7953 echo "${ECHO_T}no" >&6
7958 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statbmp" >&5
7959 echo $ECHO_N "checking for --${enablestring:-enable}-statbmp... $ECHO_C" >&6
7961 # Check whether --enable-statbmp or --disable-statbmp was given.
7962 if test "${enable_statbmp+set}" = set; then
7963 enableval
="$enable_statbmp"
7965 if test "$enableval" = yes; then
7966 ac_cv_use_statbmp
='wxUSE_STATBMP=yes'
7968 ac_cv_use_statbmp
='wxUSE_STATBMP=no'
7973 LINE
=`grep "wxUSE_STATBMP" ${wx_arg_cache_file}`
7974 if test "x$LINE" != x
; then
7975 eval "DEFAULT_$LINE"
7980 ac_cv_use_statbmp
='wxUSE_STATBMP='$DEFAULT_wxUSE_STATBMP
7984 eval "$ac_cv_use_statbmp"
7985 if test "$no_cache" != 1; then
7986 echo $ac_cv_use_statbmp >> ${wx_arg_cache_file}.tmp
7989 if test "$wxUSE_STATBMP" = yes; then
7990 echo "$as_me:$LINENO: result: yes" >&5
7991 echo "${ECHO_T}yes" >&6
7993 echo "$as_me:$LINENO: result: no" >&5
7994 echo "${ECHO_T}no" >&6
7999 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statbox" >&5
8000 echo $ECHO_N "checking for --${enablestring:-enable}-statbox... $ECHO_C" >&6
8002 # Check whether --enable-statbox or --disable-statbox was given.
8003 if test "${enable_statbox+set}" = set; then
8004 enableval
="$enable_statbox"
8006 if test "$enableval" = yes; then
8007 ac_cv_use_statbox
='wxUSE_STATBOX=yes'
8009 ac_cv_use_statbox
='wxUSE_STATBOX=no'
8014 LINE
=`grep "wxUSE_STATBOX" ${wx_arg_cache_file}`
8015 if test "x$LINE" != x
; then
8016 eval "DEFAULT_$LINE"
8021 ac_cv_use_statbox
='wxUSE_STATBOX='$DEFAULT_wxUSE_STATBOX
8025 eval "$ac_cv_use_statbox"
8026 if test "$no_cache" != 1; then
8027 echo $ac_cv_use_statbox >> ${wx_arg_cache_file}.tmp
8030 if test "$wxUSE_STATBOX" = yes; then
8031 echo "$as_me:$LINENO: result: yes" >&5
8032 echo "${ECHO_T}yes" >&6
8034 echo "$as_me:$LINENO: result: no" >&5
8035 echo "${ECHO_T}no" >&6
8040 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statline" >&5
8041 echo $ECHO_N "checking for --${enablestring:-enable}-statline... $ECHO_C" >&6
8043 # Check whether --enable-statline or --disable-statline was given.
8044 if test "${enable_statline+set}" = set; then
8045 enableval
="$enable_statline"
8047 if test "$enableval" = yes; then
8048 ac_cv_use_statline
='wxUSE_STATLINE=yes'
8050 ac_cv_use_statline
='wxUSE_STATLINE=no'
8055 LINE
=`grep "wxUSE_STATLINE" ${wx_arg_cache_file}`
8056 if test "x$LINE" != x
; then
8057 eval "DEFAULT_$LINE"
8062 ac_cv_use_statline
='wxUSE_STATLINE='$DEFAULT_wxUSE_STATLINE
8066 eval "$ac_cv_use_statline"
8067 if test "$no_cache" != 1; then
8068 echo $ac_cv_use_statline >> ${wx_arg_cache_file}.tmp
8071 if test "$wxUSE_STATLINE" = yes; then
8072 echo "$as_me:$LINENO: result: yes" >&5
8073 echo "${ECHO_T}yes" >&6
8075 echo "$as_me:$LINENO: result: no" >&5
8076 echo "${ECHO_T}no" >&6
8081 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stattext" >&5
8082 echo $ECHO_N "checking for --${enablestring:-enable}-stattext... $ECHO_C" >&6
8084 # Check whether --enable-stattext or --disable-stattext was given.
8085 if test "${enable_stattext+set}" = set; then
8086 enableval
="$enable_stattext"
8088 if test "$enableval" = yes; then
8089 ac_cv_use_stattext
='wxUSE_STATTEXT=yes'
8091 ac_cv_use_stattext
='wxUSE_STATTEXT=no'
8096 LINE
=`grep "wxUSE_STATTEXT" ${wx_arg_cache_file}`
8097 if test "x$LINE" != x
; then
8098 eval "DEFAULT_$LINE"
8103 ac_cv_use_stattext
='wxUSE_STATTEXT='$DEFAULT_wxUSE_STATTEXT
8107 eval "$ac_cv_use_stattext"
8108 if test "$no_cache" != 1; then
8109 echo $ac_cv_use_stattext >> ${wx_arg_cache_file}.tmp
8112 if test "$wxUSE_STATTEXT" = yes; then
8113 echo "$as_me:$LINENO: result: yes" >&5
8114 echo "${ECHO_T}yes" >&6
8116 echo "$as_me:$LINENO: result: no" >&5
8117 echo "${ECHO_T}no" >&6
8122 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statusbar" >&5
8123 echo $ECHO_N "checking for --${enablestring:-enable}-statusbar... $ECHO_C" >&6
8125 # Check whether --enable-statusbar or --disable-statusbar was given.
8126 if test "${enable_statusbar+set}" = set; then
8127 enableval
="$enable_statusbar"
8129 if test "$enableval" = yes; then
8130 ac_cv_use_statusbar
='wxUSE_STATUSBAR=yes'
8132 ac_cv_use_statusbar
='wxUSE_STATUSBAR=no'
8137 LINE
=`grep "wxUSE_STATUSBAR" ${wx_arg_cache_file}`
8138 if test "x$LINE" != x
; then
8139 eval "DEFAULT_$LINE"
8144 ac_cv_use_statusbar
='wxUSE_STATUSBAR='$DEFAULT_wxUSE_STATUSBAR
8148 eval "$ac_cv_use_statusbar"
8149 if test "$no_cache" != 1; then
8150 echo $ac_cv_use_statusbar >> ${wx_arg_cache_file}.tmp
8153 if test "$wxUSE_STATUSBAR" = yes; then
8154 echo "$as_me:$LINENO: result: yes" >&5
8155 echo "${ECHO_T}yes" >&6
8157 echo "$as_me:$LINENO: result: no" >&5
8158 echo "${ECHO_T}no" >&6
8163 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tabdialog" >&5
8164 echo $ECHO_N "checking for --${enablestring:-enable}-tabdialog... $ECHO_C" >&6
8166 # Check whether --enable-tabdialog or --disable-tabdialog was given.
8167 if test "${enable_tabdialog+set}" = set; then
8168 enableval
="$enable_tabdialog"
8170 if test "$enableval" = yes; then
8171 ac_cv_use_tabdialog
='wxUSE_TABDIALOG=yes'
8173 ac_cv_use_tabdialog
='wxUSE_TABDIALOG=no'
8178 LINE
=`grep "wxUSE_TABDIALOG" ${wx_arg_cache_file}`
8179 if test "x$LINE" != x
; then
8180 eval "DEFAULT_$LINE"
8185 ac_cv_use_tabdialog
='wxUSE_TABDIALOG='$DEFAULT_wxUSE_TABDIALOG
8189 eval "$ac_cv_use_tabdialog"
8190 if test "$no_cache" != 1; then
8191 echo $ac_cv_use_tabdialog >> ${wx_arg_cache_file}.tmp
8194 if test "$wxUSE_TABDIALOG" = yes; then
8195 echo "$as_me:$LINENO: result: yes" >&5
8196 echo "${ECHO_T}yes" >&6
8198 echo "$as_me:$LINENO: result: no" >&5
8199 echo "${ECHO_T}no" >&6
8204 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textctrl" >&5
8205 echo $ECHO_N "checking for --${enablestring:-enable}-textctrl... $ECHO_C" >&6
8207 # Check whether --enable-textctrl or --disable-textctrl was given.
8208 if test "${enable_textctrl+set}" = set; then
8209 enableval
="$enable_textctrl"
8211 if test "$enableval" = yes; then
8212 ac_cv_use_textctrl
='wxUSE_TEXTCTRL=yes'
8214 ac_cv_use_textctrl
='wxUSE_TEXTCTRL=no'
8219 LINE
=`grep "wxUSE_TEXTCTRL" ${wx_arg_cache_file}`
8220 if test "x$LINE" != x
; then
8221 eval "DEFAULT_$LINE"
8226 ac_cv_use_textctrl
='wxUSE_TEXTCTRL='$DEFAULT_wxUSE_TEXTCTRL
8230 eval "$ac_cv_use_textctrl"
8231 if test "$no_cache" != 1; then
8232 echo $ac_cv_use_textctrl >> ${wx_arg_cache_file}.tmp
8235 if test "$wxUSE_TEXTCTRL" = yes; then
8236 echo "$as_me:$LINENO: result: yes" >&5
8237 echo "${ECHO_T}yes" >&6
8239 echo "$as_me:$LINENO: result: no" >&5
8240 echo "${ECHO_T}no" >&6
8245 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-togglebtn" >&5
8246 echo $ECHO_N "checking for --${enablestring:-enable}-togglebtn... $ECHO_C" >&6
8248 # Check whether --enable-togglebtn or --disable-togglebtn was given.
8249 if test "${enable_togglebtn+set}" = set; then
8250 enableval
="$enable_togglebtn"
8252 if test "$enableval" = yes; then
8253 ac_cv_use_togglebtn
='wxUSE_TOGGLEBTN=yes'
8255 ac_cv_use_togglebtn
='wxUSE_TOGGLEBTN=no'
8260 LINE
=`grep "wxUSE_TOGGLEBTN" ${wx_arg_cache_file}`
8261 if test "x$LINE" != x
; then
8262 eval "DEFAULT_$LINE"
8267 ac_cv_use_togglebtn
='wxUSE_TOGGLEBTN='$DEFAULT_wxUSE_TOGGLEBTN
8271 eval "$ac_cv_use_togglebtn"
8272 if test "$no_cache" != 1; then
8273 echo $ac_cv_use_togglebtn >> ${wx_arg_cache_file}.tmp
8276 if test "$wxUSE_TOGGLEBTN" = yes; then
8277 echo "$as_me:$LINENO: result: yes" >&5
8278 echo "${ECHO_T}yes" >&6
8280 echo "$as_me:$LINENO: result: no" >&5
8281 echo "${ECHO_T}no" >&6
8286 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-toolbar" >&5
8287 echo $ECHO_N "checking for --${enablestring:-enable}-toolbar... $ECHO_C" >&6
8289 # Check whether --enable-toolbar or --disable-toolbar was given.
8290 if test "${enable_toolbar+set}" = set; then
8291 enableval
="$enable_toolbar"
8293 if test "$enableval" = yes; then
8294 ac_cv_use_toolbar
='wxUSE_TOOLBAR=yes'
8296 ac_cv_use_toolbar
='wxUSE_TOOLBAR=no'
8301 LINE
=`grep "wxUSE_TOOLBAR" ${wx_arg_cache_file}`
8302 if test "x$LINE" != x
; then
8303 eval "DEFAULT_$LINE"
8308 ac_cv_use_toolbar
='wxUSE_TOOLBAR='$DEFAULT_wxUSE_TOOLBAR
8312 eval "$ac_cv_use_toolbar"
8313 if test "$no_cache" != 1; then
8314 echo $ac_cv_use_toolbar >> ${wx_arg_cache_file}.tmp
8317 if test "$wxUSE_TOOLBAR" = yes; then
8318 echo "$as_me:$LINENO: result: yes" >&5
8319 echo "${ECHO_T}yes" >&6
8321 echo "$as_me:$LINENO: result: no" >&5
8322 echo "${ECHO_T}no" >&6
8327 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tbarnative" >&5
8328 echo $ECHO_N "checking for --${enablestring:-enable}-tbarnative... $ECHO_C" >&6
8330 # Check whether --enable-tbarnative or --disable-tbarnative was given.
8331 if test "${enable_tbarnative+set}" = set; then
8332 enableval
="$enable_tbarnative"
8334 if test "$enableval" = yes; then
8335 ac_cv_use_tbarnative
='wxUSE_TOOLBAR_NATIVE=yes'
8337 ac_cv_use_tbarnative
='wxUSE_TOOLBAR_NATIVE=no'
8342 LINE
=`grep "wxUSE_TOOLBAR_NATIVE" ${wx_arg_cache_file}`
8343 if test "x$LINE" != x
; then
8344 eval "DEFAULT_$LINE"
8349 ac_cv_use_tbarnative
='wxUSE_TOOLBAR_NATIVE='$DEFAULT_wxUSE_TOOLBAR_NATIVE
8353 eval "$ac_cv_use_tbarnative"
8354 if test "$no_cache" != 1; then
8355 echo $ac_cv_use_tbarnative >> ${wx_arg_cache_file}.tmp
8358 if test "$wxUSE_TOOLBAR_NATIVE" = yes; then
8359 echo "$as_me:$LINENO: result: yes" >&5
8360 echo "${ECHO_T}yes" >&6
8362 echo "$as_me:$LINENO: result: no" >&5
8363 echo "${ECHO_T}no" >&6
8368 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tbarsmpl" >&5
8369 echo $ECHO_N "checking for --${enablestring:-enable}-tbarsmpl... $ECHO_C" >&6
8371 # Check whether --enable-tbarsmpl or --disable-tbarsmpl was given.
8372 if test "${enable_tbarsmpl+set}" = set; then
8373 enableval
="$enable_tbarsmpl"
8375 if test "$enableval" = yes; then
8376 ac_cv_use_tbarsmpl
='wxUSE_TOOLBAR_SIMPLE=yes'
8378 ac_cv_use_tbarsmpl
='wxUSE_TOOLBAR_SIMPLE=no'
8383 LINE
=`grep "wxUSE_TOOLBAR_SIMPLE" ${wx_arg_cache_file}`
8384 if test "x$LINE" != x
; then
8385 eval "DEFAULT_$LINE"
8390 ac_cv_use_tbarsmpl
='wxUSE_TOOLBAR_SIMPLE='$DEFAULT_wxUSE_TOOLBAR_SIMPLE
8394 eval "$ac_cv_use_tbarsmpl"
8395 if test "$no_cache" != 1; then
8396 echo $ac_cv_use_tbarsmpl >> ${wx_arg_cache_file}.tmp
8399 if test "$wxUSE_TOOLBAR_SIMPLE" = yes; then
8400 echo "$as_me:$LINENO: result: yes" >&5
8401 echo "${ECHO_T}yes" >&6
8403 echo "$as_me:$LINENO: result: no" >&5
8404 echo "${ECHO_T}no" >&6
8409 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-treectrl" >&5
8410 echo $ECHO_N "checking for --${enablestring:-enable}-treectrl... $ECHO_C" >&6
8412 # Check whether --enable-treectrl or --disable-treectrl was given.
8413 if test "${enable_treectrl+set}" = set; then
8414 enableval
="$enable_treectrl"
8416 if test "$enableval" = yes; then
8417 ac_cv_use_treectrl
='wxUSE_TREECTRL=yes'
8419 ac_cv_use_treectrl
='wxUSE_TREECTRL=no'
8424 LINE
=`grep "wxUSE_TREECTRL" ${wx_arg_cache_file}`
8425 if test "x$LINE" != x
; then
8426 eval "DEFAULT_$LINE"
8431 ac_cv_use_treectrl
='wxUSE_TREECTRL='$DEFAULT_wxUSE_TREECTRL
8435 eval "$ac_cv_use_treectrl"
8436 if test "$no_cache" != 1; then
8437 echo $ac_cv_use_treectrl >> ${wx_arg_cache_file}.tmp
8440 if test "$wxUSE_TREECTRL" = yes; then
8441 echo "$as_me:$LINENO: result: yes" >&5
8442 echo "${ECHO_T}yes" >&6
8444 echo "$as_me:$LINENO: result: no" >&5
8445 echo "${ECHO_T}no" >&6
8450 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tipwindow" >&5
8451 echo $ECHO_N "checking for --${enablestring:-enable}-tipwindow... $ECHO_C" >&6
8453 # Check whether --enable-tipwindow or --disable-tipwindow was given.
8454 if test "${enable_tipwindow+set}" = set; then
8455 enableval
="$enable_tipwindow"
8457 if test "$enableval" = yes; then
8458 ac_cv_use_tipwindow
='wxUSE_TIPWINDOW=yes'
8460 ac_cv_use_tipwindow
='wxUSE_TIPWINDOW=no'
8465 LINE
=`grep "wxUSE_TIPWINDOW" ${wx_arg_cache_file}`
8466 if test "x$LINE" != x
; then
8467 eval "DEFAULT_$LINE"
8472 ac_cv_use_tipwindow
='wxUSE_TIPWINDOW='$DEFAULT_wxUSE_TIPWINDOW
8476 eval "$ac_cv_use_tipwindow"
8477 if test "$no_cache" != 1; then
8478 echo $ac_cv_use_tipwindow >> ${wx_arg_cache_file}.tmp
8481 if test "$wxUSE_TIPWINDOW" = yes; then
8482 echo "$as_me:$LINENO: result: yes" >&5
8483 echo "${ECHO_T}yes" >&6
8485 echo "$as_me:$LINENO: result: no" >&5
8486 echo "${ECHO_T}no" >&6
8491 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-popupwin" >&5
8492 echo $ECHO_N "checking for --${enablestring:-enable}-popupwin... $ECHO_C" >&6
8494 # Check whether --enable-popupwin or --disable-popupwin was given.
8495 if test "${enable_popupwin+set}" = set; then
8496 enableval
="$enable_popupwin"
8498 if test "$enableval" = yes; then
8499 ac_cv_use_popupwin
='wxUSE_POPUPWIN=yes'
8501 ac_cv_use_popupwin
='wxUSE_POPUPWIN=no'
8506 LINE
=`grep "wxUSE_POPUPWIN" ${wx_arg_cache_file}`
8507 if test "x$LINE" != x
; then
8508 eval "DEFAULT_$LINE"
8513 ac_cv_use_popupwin
='wxUSE_POPUPWIN='$DEFAULT_wxUSE_POPUPWIN
8517 eval "$ac_cv_use_popupwin"
8518 if test "$no_cache" != 1; then
8519 echo $ac_cv_use_popupwin >> ${wx_arg_cache_file}.tmp
8522 if test "$wxUSE_POPUPWIN" = yes; then
8523 echo "$as_me:$LINENO: result: yes" >&5
8524 echo "${ECHO_T}yes" >&6
8526 echo "$as_me:$LINENO: result: no" >&5
8527 echo "${ECHO_T}no" >&6
8534 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-commondlg" >&5
8535 echo $ECHO_N "checking for --${enablestring:-enable}-commondlg... $ECHO_C" >&6
8537 # Check whether --enable-commondlg or --disable-commondlg was given.
8538 if test "${enable_commondlg+set}" = set; then
8539 enableval
="$enable_commondlg"
8541 if test "$enableval" = yes; then
8542 ac_cv_use_commondlg
='wxUSE_COMMONDLGS=yes'
8544 ac_cv_use_commondlg
='wxUSE_COMMONDLGS=no'
8549 LINE
=`grep "wxUSE_COMMONDLGS" ${wx_arg_cache_file}`
8550 if test "x$LINE" != x
; then
8551 eval "DEFAULT_$LINE"
8556 ac_cv_use_commondlg
='wxUSE_COMMONDLGS='$DEFAULT_wxUSE_COMMONDLGS
8560 eval "$ac_cv_use_commondlg"
8561 if test "$no_cache" != 1; then
8562 echo $ac_cv_use_commondlg >> ${wx_arg_cache_file}.tmp
8565 if test "$wxUSE_COMMONDLGS" = yes; then
8566 echo "$as_me:$LINENO: result: yes" >&5
8567 echo "${ECHO_T}yes" >&6
8569 echo "$as_me:$LINENO: result: no" >&5
8570 echo "${ECHO_T}no" >&6
8575 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choicedlg" >&5
8576 echo $ECHO_N "checking for --${enablestring:-enable}-choicedlg... $ECHO_C" >&6
8578 # Check whether --enable-choicedlg or --disable-choicedlg was given.
8579 if test "${enable_choicedlg+set}" = set; then
8580 enableval
="$enable_choicedlg"
8582 if test "$enableval" = yes; then
8583 ac_cv_use_choicedlg
='wxUSE_CHOICEDLG=yes'
8585 ac_cv_use_choicedlg
='wxUSE_CHOICEDLG=no'
8590 LINE
=`grep "wxUSE_CHOICEDLG" ${wx_arg_cache_file}`
8591 if test "x$LINE" != x
; then
8592 eval "DEFAULT_$LINE"
8597 ac_cv_use_choicedlg
='wxUSE_CHOICEDLG='$DEFAULT_wxUSE_CHOICEDLG
8601 eval "$ac_cv_use_choicedlg"
8602 if test "$no_cache" != 1; then
8603 echo $ac_cv_use_choicedlg >> ${wx_arg_cache_file}.tmp
8606 if test "$wxUSE_CHOICEDLG" = yes; then
8607 echo "$as_me:$LINENO: result: yes" >&5
8608 echo "${ECHO_T}yes" >&6
8610 echo "$as_me:$LINENO: result: no" >&5
8611 echo "${ECHO_T}no" >&6
8616 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-coldlg" >&5
8617 echo $ECHO_N "checking for --${enablestring:-enable}-coldlg... $ECHO_C" >&6
8619 # Check whether --enable-coldlg or --disable-coldlg was given.
8620 if test "${enable_coldlg+set}" = set; then
8621 enableval
="$enable_coldlg"
8623 if test "$enableval" = yes; then
8624 ac_cv_use_coldlg
='wxUSE_COLOURDLG=yes'
8626 ac_cv_use_coldlg
='wxUSE_COLOURDLG=no'
8631 LINE
=`grep "wxUSE_COLOURDLG" ${wx_arg_cache_file}`
8632 if test "x$LINE" != x
; then
8633 eval "DEFAULT_$LINE"
8638 ac_cv_use_coldlg
='wxUSE_COLOURDLG='$DEFAULT_wxUSE_COLOURDLG
8642 eval "$ac_cv_use_coldlg"
8643 if test "$no_cache" != 1; then
8644 echo $ac_cv_use_coldlg >> ${wx_arg_cache_file}.tmp
8647 if test "$wxUSE_COLOURDLG" = yes; then
8648 echo "$as_me:$LINENO: result: yes" >&5
8649 echo "${ECHO_T}yes" >&6
8651 echo "$as_me:$LINENO: result: no" >&5
8652 echo "${ECHO_T}no" >&6
8657 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filedlg" >&5
8658 echo $ECHO_N "checking for --${enablestring:-enable}-filedlg... $ECHO_C" >&6
8660 # Check whether --enable-filedlg or --disable-filedlg was given.
8661 if test "${enable_filedlg+set}" = set; then
8662 enableval
="$enable_filedlg"
8664 if test "$enableval" = yes; then
8665 ac_cv_use_filedlg
='wxUSE_FILEDLG=yes'
8667 ac_cv_use_filedlg
='wxUSE_FILEDLG=no'
8672 LINE
=`grep "wxUSE_FILEDLG" ${wx_arg_cache_file}`
8673 if test "x$LINE" != x
; then
8674 eval "DEFAULT_$LINE"
8679 ac_cv_use_filedlg
='wxUSE_FILEDLG='$DEFAULT_wxUSE_FILEDLG
8683 eval "$ac_cv_use_filedlg"
8684 if test "$no_cache" != 1; then
8685 echo $ac_cv_use_filedlg >> ${wx_arg_cache_file}.tmp
8688 if test "$wxUSE_FILEDLG" = yes; then
8689 echo "$as_me:$LINENO: result: yes" >&5
8690 echo "${ECHO_T}yes" >&6
8692 echo "$as_me:$LINENO: result: no" >&5
8693 echo "${ECHO_T}no" >&6
8698 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-finddlg" >&5
8699 echo $ECHO_N "checking for --${enablestring:-enable}-finddlg... $ECHO_C" >&6
8701 # Check whether --enable-finddlg or --disable-finddlg was given.
8702 if test "${enable_finddlg+set}" = set; then
8703 enableval
="$enable_finddlg"
8705 if test "$enableval" = yes; then
8706 ac_cv_use_finddlg
='wxUSE_FINDREPLDLG=yes'
8708 ac_cv_use_finddlg
='wxUSE_FINDREPLDLG=no'
8713 LINE
=`grep "wxUSE_FINDREPLDLG" ${wx_arg_cache_file}`
8714 if test "x$LINE" != x
; then
8715 eval "DEFAULT_$LINE"
8720 ac_cv_use_finddlg
='wxUSE_FINDREPLDLG='$DEFAULT_wxUSE_FINDREPLDLG
8724 eval "$ac_cv_use_finddlg"
8725 if test "$no_cache" != 1; then
8726 echo $ac_cv_use_finddlg >> ${wx_arg_cache_file}.tmp
8729 if test "$wxUSE_FINDREPLDLG" = yes; then
8730 echo "$as_me:$LINENO: result: yes" >&5
8731 echo "${ECHO_T}yes" >&6
8733 echo "$as_me:$LINENO: result: no" >&5
8734 echo "${ECHO_T}no" >&6
8739 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontdlg" >&5
8740 echo $ECHO_N "checking for --${enablestring:-enable}-fontdlg... $ECHO_C" >&6
8742 # Check whether --enable-fontdlg or --disable-fontdlg was given.
8743 if test "${enable_fontdlg+set}" = set; then
8744 enableval
="$enable_fontdlg"
8746 if test "$enableval" = yes; then
8747 ac_cv_use_fontdlg
='wxUSE_FONTDLG=yes'
8749 ac_cv_use_fontdlg
='wxUSE_FONTDLG=no'
8754 LINE
=`grep "wxUSE_FONTDLG" ${wx_arg_cache_file}`
8755 if test "x$LINE" != x
; then
8756 eval "DEFAULT_$LINE"
8761 ac_cv_use_fontdlg
='wxUSE_FONTDLG='$DEFAULT_wxUSE_FONTDLG
8765 eval "$ac_cv_use_fontdlg"
8766 if test "$no_cache" != 1; then
8767 echo $ac_cv_use_fontdlg >> ${wx_arg_cache_file}.tmp
8770 if test "$wxUSE_FONTDLG" = yes; then
8771 echo "$as_me:$LINENO: result: yes" >&5
8772 echo "${ECHO_T}yes" >&6
8774 echo "$as_me:$LINENO: result: no" >&5
8775 echo "${ECHO_T}no" >&6
8780 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dirdlg" >&5
8781 echo $ECHO_N "checking for --${enablestring:-enable}-dirdlg... $ECHO_C" >&6
8783 # Check whether --enable-dirdlg or --disable-dirdlg was given.
8784 if test "${enable_dirdlg+set}" = set; then
8785 enableval
="$enable_dirdlg"
8787 if test "$enableval" = yes; then
8788 ac_cv_use_dirdlg
='wxUSE_DIRDLG=yes'
8790 ac_cv_use_dirdlg
='wxUSE_DIRDLG=no'
8795 LINE
=`grep "wxUSE_DIRDLG" ${wx_arg_cache_file}`
8796 if test "x$LINE" != x
; then
8797 eval "DEFAULT_$LINE"
8802 ac_cv_use_dirdlg
='wxUSE_DIRDLG='$DEFAULT_wxUSE_DIRDLG
8806 eval "$ac_cv_use_dirdlg"
8807 if test "$no_cache" != 1; then
8808 echo $ac_cv_use_dirdlg >> ${wx_arg_cache_file}.tmp
8811 if test "$wxUSE_DIRDLG" = yes; then
8812 echo "$as_me:$LINENO: result: yes" >&5
8813 echo "${ECHO_T}yes" >&6
8815 echo "$as_me:$LINENO: result: no" >&5
8816 echo "${ECHO_T}no" >&6
8821 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-msgdlg" >&5
8822 echo $ECHO_N "checking for --${enablestring:-enable}-msgdlg... $ECHO_C" >&6
8824 # Check whether --enable-msgdlg or --disable-msgdlg was given.
8825 if test "${enable_msgdlg+set}" = set; then
8826 enableval
="$enable_msgdlg"
8828 if test "$enableval" = yes; then
8829 ac_cv_use_msgdlg
='wxUSE_MSGDLG=yes'
8831 ac_cv_use_msgdlg
='wxUSE_MSGDLG=no'
8836 LINE
=`grep "wxUSE_MSGDLG" ${wx_arg_cache_file}`
8837 if test "x$LINE" != x
; then
8838 eval "DEFAULT_$LINE"
8843 ac_cv_use_msgdlg
='wxUSE_MSGDLG='$DEFAULT_wxUSE_MSGDLG
8847 eval "$ac_cv_use_msgdlg"
8848 if test "$no_cache" != 1; then
8849 echo $ac_cv_use_msgdlg >> ${wx_arg_cache_file}.tmp
8852 if test "$wxUSE_MSGDLG" = yes; then
8853 echo "$as_me:$LINENO: result: yes" >&5
8854 echo "${ECHO_T}yes" >&6
8856 echo "$as_me:$LINENO: result: no" >&5
8857 echo "${ECHO_T}no" >&6
8862 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-numberdlg" >&5
8863 echo $ECHO_N "checking for --${enablestring:-enable}-numberdlg... $ECHO_C" >&6
8865 # Check whether --enable-numberdlg or --disable-numberdlg was given.
8866 if test "${enable_numberdlg+set}" = set; then
8867 enableval
="$enable_numberdlg"
8869 if test "$enableval" = yes; then
8870 ac_cv_use_numberdlg
='wxUSE_NUMBERDLG=yes'
8872 ac_cv_use_numberdlg
='wxUSE_NUMBERDLG=no'
8877 LINE
=`grep "wxUSE_NUMBERDLG" ${wx_arg_cache_file}`
8878 if test "x$LINE" != x
; then
8879 eval "DEFAULT_$LINE"
8884 ac_cv_use_numberdlg
='wxUSE_NUMBERDLG='$DEFAULT_wxUSE_NUMBERDLG
8888 eval "$ac_cv_use_numberdlg"
8889 if test "$no_cache" != 1; then
8890 echo $ac_cv_use_numberdlg >> ${wx_arg_cache_file}.tmp
8893 if test "$wxUSE_NUMBERDLG" = yes; then
8894 echo "$as_me:$LINENO: result: yes" >&5
8895 echo "${ECHO_T}yes" >&6
8897 echo "$as_me:$LINENO: result: no" >&5
8898 echo "${ECHO_T}no" >&6
8903 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splash" >&5
8904 echo $ECHO_N "checking for --${enablestring:-enable}-splash... $ECHO_C" >&6
8906 # Check whether --enable-splash or --disable-splash was given.
8907 if test "${enable_splash+set}" = set; then
8908 enableval
="$enable_splash"
8910 if test "$enableval" = yes; then
8911 ac_cv_use_splash
='wxUSE_SPLASH=yes'
8913 ac_cv_use_splash
='wxUSE_SPLASH=no'
8918 LINE
=`grep "wxUSE_SPLASH" ${wx_arg_cache_file}`
8919 if test "x$LINE" != x
; then
8920 eval "DEFAULT_$LINE"
8925 ac_cv_use_splash
='wxUSE_SPLASH='$DEFAULT_wxUSE_SPLASH
8929 eval "$ac_cv_use_splash"
8930 if test "$no_cache" != 1; then
8931 echo $ac_cv_use_splash >> ${wx_arg_cache_file}.tmp
8934 if test "$wxUSE_SPLASH" = yes; then
8935 echo "$as_me:$LINENO: result: yes" >&5
8936 echo "${ECHO_T}yes" >&6
8938 echo "$as_me:$LINENO: result: no" >&5
8939 echo "${ECHO_T}no" >&6
8944 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textdlg" >&5
8945 echo $ECHO_N "checking for --${enablestring:-enable}-textdlg... $ECHO_C" >&6
8947 # Check whether --enable-textdlg or --disable-textdlg was given.
8948 if test "${enable_textdlg+set}" = set; then
8949 enableval
="$enable_textdlg"
8951 if test "$enableval" = yes; then
8952 ac_cv_use_textdlg
='wxUSE_TEXTDLG=yes'
8954 ac_cv_use_textdlg
='wxUSE_TEXTDLG=no'
8959 LINE
=`grep "wxUSE_TEXTDLG" ${wx_arg_cache_file}`
8960 if test "x$LINE" != x
; then
8961 eval "DEFAULT_$LINE"
8966 ac_cv_use_textdlg
='wxUSE_TEXTDLG='$DEFAULT_wxUSE_TEXTDLG
8970 eval "$ac_cv_use_textdlg"
8971 if test "$no_cache" != 1; then
8972 echo $ac_cv_use_textdlg >> ${wx_arg_cache_file}.tmp
8975 if test "$wxUSE_TEXTDLG" = yes; then
8976 echo "$as_me:$LINENO: result: yes" >&5
8977 echo "${ECHO_T}yes" >&6
8979 echo "$as_me:$LINENO: result: no" >&5
8980 echo "${ECHO_T}no" >&6
8985 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tipdlg" >&5
8986 echo $ECHO_N "checking for --${enablestring:-enable}-tipdlg... $ECHO_C" >&6
8988 # Check whether --enable-tipdlg or --disable-tipdlg was given.
8989 if test "${enable_tipdlg+set}" = set; then
8990 enableval
="$enable_tipdlg"
8992 if test "$enableval" = yes; then
8993 ac_cv_use_tipdlg
='wxUSE_STARTUP_TIPS=yes'
8995 ac_cv_use_tipdlg
='wxUSE_STARTUP_TIPS=no'
9000 LINE
=`grep "wxUSE_STARTUP_TIPS" ${wx_arg_cache_file}`
9001 if test "x$LINE" != x
; then
9002 eval "DEFAULT_$LINE"
9007 ac_cv_use_tipdlg
='wxUSE_STARTUP_TIPS='$DEFAULT_wxUSE_STARTUP_TIPS
9011 eval "$ac_cv_use_tipdlg"
9012 if test "$no_cache" != 1; then
9013 echo $ac_cv_use_tipdlg >> ${wx_arg_cache_file}.tmp
9016 if test "$wxUSE_STARTUP_TIPS" = yes; then
9017 echo "$as_me:$LINENO: result: yes" >&5
9018 echo "${ECHO_T}yes" >&6
9020 echo "$as_me:$LINENO: result: no" >&5
9021 echo "${ECHO_T}no" >&6
9026 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-progressdlg" >&5
9027 echo $ECHO_N "checking for --${enablestring:-enable}-progressdlg... $ECHO_C" >&6
9029 # Check whether --enable-progressdlg or --disable-progressdlg was given.
9030 if test "${enable_progressdlg+set}" = set; then
9031 enableval
="$enable_progressdlg"
9033 if test "$enableval" = yes; then
9034 ac_cv_use_progressdlg
='wxUSE_PROGRESSDLG=yes'
9036 ac_cv_use_progressdlg
='wxUSE_PROGRESSDLG=no'
9041 LINE
=`grep "wxUSE_PROGRESSDLG" ${wx_arg_cache_file}`
9042 if test "x$LINE" != x
; then
9043 eval "DEFAULT_$LINE"
9048 ac_cv_use_progressdlg
='wxUSE_PROGRESSDLG='$DEFAULT_wxUSE_PROGRESSDLG
9052 eval "$ac_cv_use_progressdlg"
9053 if test "$no_cache" != 1; then
9054 echo $ac_cv_use_progressdlg >> ${wx_arg_cache_file}.tmp
9057 if test "$wxUSE_PROGRESSDLG" = yes; then
9058 echo "$as_me:$LINENO: result: yes" >&5
9059 echo "${ECHO_T}yes" >&6
9061 echo "$as_me:$LINENO: result: no" >&5
9062 echo "${ECHO_T}no" >&6
9067 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-wizarddlg" >&5
9068 echo $ECHO_N "checking for --${enablestring:-enable}-wizarddlg... $ECHO_C" >&6
9070 # Check whether --enable-wizarddlg or --disable-wizarddlg was given.
9071 if test "${enable_wizarddlg+set}" = set; then
9072 enableval
="$enable_wizarddlg"
9074 if test "$enableval" = yes; then
9075 ac_cv_use_wizarddlg
='wxUSE_WIZARDDLG=yes'
9077 ac_cv_use_wizarddlg
='wxUSE_WIZARDDLG=no'
9082 LINE
=`grep "wxUSE_WIZARDDLG" ${wx_arg_cache_file}`
9083 if test "x$LINE" != x
; then
9084 eval "DEFAULT_$LINE"
9089 ac_cv_use_wizarddlg
='wxUSE_WIZARDDLG='$DEFAULT_wxUSE_WIZARDDLG
9093 eval "$ac_cv_use_wizarddlg"
9094 if test "$no_cache" != 1; then
9095 echo $ac_cv_use_wizarddlg >> ${wx_arg_cache_file}.tmp
9098 if test "$wxUSE_WIZARDDLG" = yes; then
9099 echo "$as_me:$LINENO: result: yes" >&5
9100 echo "${ECHO_T}yes" >&6
9102 echo "$as_me:$LINENO: result: no" >&5
9103 echo "${ECHO_T}no" >&6
9110 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-menus" >&5
9111 echo $ECHO_N "checking for --${enablestring:-enable}-menus... $ECHO_C" >&6
9113 # Check whether --enable-menus or --disable-menus was given.
9114 if test "${enable_menus+set}" = set; then
9115 enableval
="$enable_menus"
9117 if test "$enableval" = yes; then
9118 ac_cv_use_menus
='wxUSE_MENUS=yes'
9120 ac_cv_use_menus
='wxUSE_MENUS=no'
9125 LINE
=`grep "wxUSE_MENUS" ${wx_arg_cache_file}`
9126 if test "x$LINE" != x
; then
9127 eval "DEFAULT_$LINE"
9132 ac_cv_use_menus
='wxUSE_MENUS='$DEFAULT_wxUSE_MENUS
9136 eval "$ac_cv_use_menus"
9137 if test "$no_cache" != 1; then
9138 echo $ac_cv_use_menus >> ${wx_arg_cache_file}.tmp
9141 if test "$wxUSE_MENUS" = yes; then
9142 echo "$as_me:$LINENO: result: yes" >&5
9143 echo "${ECHO_T}yes" >&6
9145 echo "$as_me:$LINENO: result: no" >&5
9146 echo "${ECHO_T}no" >&6
9151 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-miniframe" >&5
9152 echo $ECHO_N "checking for --${enablestring:-enable}-miniframe... $ECHO_C" >&6
9154 # Check whether --enable-miniframe or --disable-miniframe was given.
9155 if test "${enable_miniframe+set}" = set; then
9156 enableval
="$enable_miniframe"
9158 if test "$enableval" = yes; then
9159 ac_cv_use_miniframe
='wxUSE_MINIFRAME=yes'
9161 ac_cv_use_miniframe
='wxUSE_MINIFRAME=no'
9166 LINE
=`grep "wxUSE_MINIFRAME" ${wx_arg_cache_file}`
9167 if test "x$LINE" != x
; then
9168 eval "DEFAULT_$LINE"
9173 ac_cv_use_miniframe
='wxUSE_MINIFRAME='$DEFAULT_wxUSE_MINIFRAME
9177 eval "$ac_cv_use_miniframe"
9178 if test "$no_cache" != 1; then
9179 echo $ac_cv_use_miniframe >> ${wx_arg_cache_file}.tmp
9182 if test "$wxUSE_MINIFRAME" = yes; then
9183 echo "$as_me:$LINENO: result: yes" >&5
9184 echo "${ECHO_T}yes" >&6
9186 echo "$as_me:$LINENO: result: no" >&5
9187 echo "${ECHO_T}no" >&6
9192 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tooltips" >&5
9193 echo $ECHO_N "checking for --${enablestring:-enable}-tooltips... $ECHO_C" >&6
9195 # Check whether --enable-tooltips or --disable-tooltips was given.
9196 if test "${enable_tooltips+set}" = set; then
9197 enableval
="$enable_tooltips"
9199 if test "$enableval" = yes; then
9200 ac_cv_use_tooltips
='wxUSE_TOOLTIPS=yes'
9202 ac_cv_use_tooltips
='wxUSE_TOOLTIPS=no'
9207 LINE
=`grep "wxUSE_TOOLTIPS" ${wx_arg_cache_file}`
9208 if test "x$LINE" != x
; then
9209 eval "DEFAULT_$LINE"
9214 ac_cv_use_tooltips
='wxUSE_TOOLTIPS='$DEFAULT_wxUSE_TOOLTIPS
9218 eval "$ac_cv_use_tooltips"
9219 if test "$no_cache" != 1; then
9220 echo $ac_cv_use_tooltips >> ${wx_arg_cache_file}.tmp
9223 if test "$wxUSE_TOOLTIPS" = yes; then
9224 echo "$as_me:$LINENO: result: yes" >&5
9225 echo "${ECHO_T}yes" >&6
9227 echo "$as_me:$LINENO: result: no" >&5
9228 echo "${ECHO_T}no" >&6
9233 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splines" >&5
9234 echo $ECHO_N "checking for --${enablestring:-enable}-splines... $ECHO_C" >&6
9236 # Check whether --enable-splines or --disable-splines was given.
9237 if test "${enable_splines+set}" = set; then
9238 enableval
="$enable_splines"
9240 if test "$enableval" = yes; then
9241 ac_cv_use_splines
='wxUSE_SPLINES=yes'
9243 ac_cv_use_splines
='wxUSE_SPLINES=no'
9248 LINE
=`grep "wxUSE_SPLINES" ${wx_arg_cache_file}`
9249 if test "x$LINE" != x
; then
9250 eval "DEFAULT_$LINE"
9255 ac_cv_use_splines
='wxUSE_SPLINES='$DEFAULT_wxUSE_SPLINES
9259 eval "$ac_cv_use_splines"
9260 if test "$no_cache" != 1; then
9261 echo $ac_cv_use_splines >> ${wx_arg_cache_file}.tmp
9264 if test "$wxUSE_SPLINES" = yes; then
9265 echo "$as_me:$LINENO: result: yes" >&5
9266 echo "${ECHO_T}yes" >&6
9268 echo "$as_me:$LINENO: result: no" >&5
9269 echo "${ECHO_T}no" >&6
9274 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-validators" >&5
9275 echo $ECHO_N "checking for --${enablestring:-enable}-validators... $ECHO_C" >&6
9277 # Check whether --enable-validators or --disable-validators was given.
9278 if test "${enable_validators+set}" = set; then
9279 enableval
="$enable_validators"
9281 if test "$enableval" = yes; then
9282 ac_cv_use_validators
='wxUSE_VALIDATORS=yes'
9284 ac_cv_use_validators
='wxUSE_VALIDATORS=no'
9289 LINE
=`grep "wxUSE_VALIDATORS" ${wx_arg_cache_file}`
9290 if test "x$LINE" != x
; then
9291 eval "DEFAULT_$LINE"
9296 ac_cv_use_validators
='wxUSE_VALIDATORS='$DEFAULT_wxUSE_VALIDATORS
9300 eval "$ac_cv_use_validators"
9301 if test "$no_cache" != 1; then
9302 echo $ac_cv_use_validators >> ${wx_arg_cache_file}.tmp
9305 if test "$wxUSE_VALIDATORS" = yes; then
9306 echo "$as_me:$LINENO: result: yes" >&5
9307 echo "${ECHO_T}yes" >&6
9309 echo "$as_me:$LINENO: result: no" >&5
9310 echo "${ECHO_T}no" >&6
9315 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-busyinfo" >&5
9316 echo $ECHO_N "checking for --${enablestring:-enable}-busyinfo... $ECHO_C" >&6
9318 # Check whether --enable-busyinfo or --disable-busyinfo was given.
9319 if test "${enable_busyinfo+set}" = set; then
9320 enableval
="$enable_busyinfo"
9322 if test "$enableval" = yes; then
9323 ac_cv_use_busyinfo
='wxUSE_BUSYINFO=yes'
9325 ac_cv_use_busyinfo
='wxUSE_BUSYINFO=no'
9330 LINE
=`grep "wxUSE_BUSYINFO" ${wx_arg_cache_file}`
9331 if test "x$LINE" != x
; then
9332 eval "DEFAULT_$LINE"
9337 ac_cv_use_busyinfo
='wxUSE_BUSYINFO='$DEFAULT_wxUSE_BUSYINFO
9341 eval "$ac_cv_use_busyinfo"
9342 if test "$no_cache" != 1; then
9343 echo $ac_cv_use_busyinfo >> ${wx_arg_cache_file}.tmp
9346 if test "$wxUSE_BUSYINFO" = yes; then
9347 echo "$as_me:$LINENO: result: yes" >&5
9348 echo "${ECHO_T}yes" >&6
9350 echo "$as_me:$LINENO: result: no" >&5
9351 echo "${ECHO_T}no" >&6
9356 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-joystick" >&5
9357 echo $ECHO_N "checking for --${enablestring:-enable}-joystick... $ECHO_C" >&6
9359 # Check whether --enable-joystick or --disable-joystick was given.
9360 if test "${enable_joystick+set}" = set; then
9361 enableval
="$enable_joystick"
9363 if test "$enableval" = yes; then
9364 ac_cv_use_joystick
='wxUSE_JOYSTICK=yes'
9366 ac_cv_use_joystick
='wxUSE_JOYSTICK=no'
9371 LINE
=`grep "wxUSE_JOYSTICK" ${wx_arg_cache_file}`
9372 if test "x$LINE" != x
; then
9373 eval "DEFAULT_$LINE"
9378 ac_cv_use_joystick
='wxUSE_JOYSTICK='$DEFAULT_wxUSE_JOYSTICK
9382 eval "$ac_cv_use_joystick"
9383 if test "$no_cache" != 1; then
9384 echo $ac_cv_use_joystick >> ${wx_arg_cache_file}.tmp
9387 if test "$wxUSE_JOYSTICK" = yes; then
9388 echo "$as_me:$LINENO: result: yes" >&5
9389 echo "${ECHO_T}yes" >&6
9391 echo "$as_me:$LINENO: result: no" >&5
9392 echo "${ECHO_T}no" >&6
9397 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-metafile" >&5
9398 echo $ECHO_N "checking for --${enablestring:-enable}-metafile... $ECHO_C" >&6
9400 # Check whether --enable-metafile or --disable-metafile was given.
9401 if test "${enable_metafile+set}" = set; then
9402 enableval
="$enable_metafile"
9404 if test "$enableval" = yes; then
9405 ac_cv_use_metafile
='wxUSE_METAFILE=yes'
9407 ac_cv_use_metafile
='wxUSE_METAFILE=no'
9412 LINE
=`grep "wxUSE_METAFILE" ${wx_arg_cache_file}`
9413 if test "x$LINE" != x
; then
9414 eval "DEFAULT_$LINE"
9419 ac_cv_use_metafile
='wxUSE_METAFILE='$DEFAULT_wxUSE_METAFILE
9423 eval "$ac_cv_use_metafile"
9424 if test "$no_cache" != 1; then
9425 echo $ac_cv_use_metafile >> ${wx_arg_cache_file}.tmp
9428 if test "$wxUSE_METAFILE" = yes; then
9429 echo "$as_me:$LINENO: result: yes" >&5
9430 echo "${ECHO_T}yes" >&6
9432 echo "$as_me:$LINENO: result: no" >&5
9433 echo "${ECHO_T}no" >&6
9438 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dragimage" >&5
9439 echo $ECHO_N "checking for --${enablestring:-enable}-dragimage... $ECHO_C" >&6
9441 # Check whether --enable-dragimage or --disable-dragimage was given.
9442 if test "${enable_dragimage+set}" = set; then
9443 enableval
="$enable_dragimage"
9445 if test "$enableval" = yes; then
9446 ac_cv_use_dragimage
='wxUSE_DRAGIMAGE=yes'
9448 ac_cv_use_dragimage
='wxUSE_DRAGIMAGE=no'
9453 LINE
=`grep "wxUSE_DRAGIMAGE" ${wx_arg_cache_file}`
9454 if test "x$LINE" != x
; then
9455 eval "DEFAULT_$LINE"
9460 ac_cv_use_dragimage
='wxUSE_DRAGIMAGE='$DEFAULT_wxUSE_DRAGIMAGE
9464 eval "$ac_cv_use_dragimage"
9465 if test "$no_cache" != 1; then
9466 echo $ac_cv_use_dragimage >> ${wx_arg_cache_file}.tmp
9469 if test "$wxUSE_DRAGIMAGE" = yes; then
9470 echo "$as_me:$LINENO: result: yes" >&5
9471 echo "${ECHO_T}yes" >&6
9473 echo "$as_me:$LINENO: result: no" >&5
9474 echo "${ECHO_T}no" >&6
9479 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-accessibility" >&5
9480 echo $ECHO_N "checking for --${enablestring:-enable}-accessibility... $ECHO_C" >&6
9482 # Check whether --enable-accessibility or --disable-accessibility was given.
9483 if test "${enable_accessibility+set}" = set; then
9484 enableval
="$enable_accessibility"
9486 if test "$enableval" = yes; then
9487 ac_cv_use_accessibility
='wxUSE_ACCESSIBILITY=yes'
9489 ac_cv_use_accessibility
='wxUSE_ACCESSIBILITY=no'
9494 LINE
=`grep "wxUSE_ACCESSIBILITY" ${wx_arg_cache_file}`
9495 if test "x$LINE" != x
; then
9496 eval "DEFAULT_$LINE"
9501 ac_cv_use_accessibility
='wxUSE_ACCESSIBILITY='$DEFAULT_wxUSE_ACCESSIBILITY
9505 eval "$ac_cv_use_accessibility"
9506 if test "$no_cache" != 1; then
9507 echo $ac_cv_use_accessibility >> ${wx_arg_cache_file}.tmp
9510 if test "$wxUSE_ACCESSIBILITY" = yes; then
9511 echo "$as_me:$LINENO: result: yes" >&5
9512 echo "${ECHO_T}yes" >&6
9514 echo "$as_me:$LINENO: result: no" >&5
9515 echo "${ECHO_T}no" >&6
9522 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-palette" >&5
9523 echo $ECHO_N "checking for --${enablestring:-enable}-palette... $ECHO_C" >&6
9525 # Check whether --enable-palette or --disable-palette was given.
9526 if test "${enable_palette+set}" = set; then
9527 enableval
="$enable_palette"
9529 if test "$enableval" = yes; then
9530 ac_cv_use_palette
='wxUSE_PALETTE=yes'
9532 ac_cv_use_palette
='wxUSE_PALETTE=no'
9537 LINE
=`grep "wxUSE_PALETTE" ${wx_arg_cache_file}`
9538 if test "x$LINE" != x
; then
9539 eval "DEFAULT_$LINE"
9544 ac_cv_use_palette
='wxUSE_PALETTE='$DEFAULT_wxUSE_PALETTE
9548 eval "$ac_cv_use_palette"
9549 if test "$no_cache" != 1; then
9550 echo $ac_cv_use_palette >> ${wx_arg_cache_file}.tmp
9553 if test "$wxUSE_PALETTE" = yes; then
9554 echo "$as_me:$LINENO: result: yes" >&5
9555 echo "${ECHO_T}yes" >&6
9557 echo "$as_me:$LINENO: result: no" >&5
9558 echo "${ECHO_T}no" >&6
9563 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-image" >&5
9564 echo $ECHO_N "checking for --${enablestring:-enable}-image... $ECHO_C" >&6
9566 # Check whether --enable-image or --disable-image was given.
9567 if test "${enable_image+set}" = set; then
9568 enableval
="$enable_image"
9570 if test "$enableval" = yes; then
9571 ac_cv_use_image
='wxUSE_IMAGE=yes'
9573 ac_cv_use_image
='wxUSE_IMAGE=no'
9578 LINE
=`grep "wxUSE_IMAGE" ${wx_arg_cache_file}`
9579 if test "x$LINE" != x
; then
9580 eval "DEFAULT_$LINE"
9585 ac_cv_use_image
='wxUSE_IMAGE='$DEFAULT_wxUSE_IMAGE
9589 eval "$ac_cv_use_image"
9590 if test "$no_cache" != 1; then
9591 echo $ac_cv_use_image >> ${wx_arg_cache_file}.tmp
9594 if test "$wxUSE_IMAGE" = yes; then
9595 echo "$as_me:$LINENO: result: yes" >&5
9596 echo "${ECHO_T}yes" >&6
9598 echo "$as_me:$LINENO: result: no" >&5
9599 echo "${ECHO_T}no" >&6
9604 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gif" >&5
9605 echo $ECHO_N "checking for --${enablestring:-enable}-gif... $ECHO_C" >&6
9607 # Check whether --enable-gif or --disable-gif was given.
9608 if test "${enable_gif+set}" = set; then
9609 enableval
="$enable_gif"
9611 if test "$enableval" = yes; then
9612 ac_cv_use_gif
='wxUSE_GIF=yes'
9614 ac_cv_use_gif
='wxUSE_GIF=no'
9619 LINE
=`grep "wxUSE_GIF" ${wx_arg_cache_file}`
9620 if test "x$LINE" != x
; then
9621 eval "DEFAULT_$LINE"
9626 ac_cv_use_gif
='wxUSE_GIF='$DEFAULT_wxUSE_GIF
9630 eval "$ac_cv_use_gif"
9631 if test "$no_cache" != 1; then
9632 echo $ac_cv_use_gif >> ${wx_arg_cache_file}.tmp
9635 if test "$wxUSE_GIF" = yes; then
9636 echo "$as_me:$LINENO: result: yes" >&5
9637 echo "${ECHO_T}yes" >&6
9639 echo "$as_me:$LINENO: result: no" >&5
9640 echo "${ECHO_T}no" >&6
9645 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-pcx" >&5
9646 echo $ECHO_N "checking for --${enablestring:-enable}-pcx... $ECHO_C" >&6
9648 # Check whether --enable-pcx or --disable-pcx was given.
9649 if test "${enable_pcx+set}" = set; then
9650 enableval
="$enable_pcx"
9652 if test "$enableval" = yes; then
9653 ac_cv_use_pcx
='wxUSE_PCX=yes'
9655 ac_cv_use_pcx
='wxUSE_PCX=no'
9660 LINE
=`grep "wxUSE_PCX" ${wx_arg_cache_file}`
9661 if test "x$LINE" != x
; then
9662 eval "DEFAULT_$LINE"
9667 ac_cv_use_pcx
='wxUSE_PCX='$DEFAULT_wxUSE_PCX
9671 eval "$ac_cv_use_pcx"
9672 if test "$no_cache" != 1; then
9673 echo $ac_cv_use_pcx >> ${wx_arg_cache_file}.tmp
9676 if test "$wxUSE_PCX" = yes; then
9677 echo "$as_me:$LINENO: result: yes" >&5
9678 echo "${ECHO_T}yes" >&6
9680 echo "$as_me:$LINENO: result: no" >&5
9681 echo "${ECHO_T}no" >&6
9686 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-iff" >&5
9687 echo $ECHO_N "checking for --${enablestring:-enable}-iff... $ECHO_C" >&6
9689 # Check whether --enable-iff or --disable-iff was given.
9690 if test "${enable_iff+set}" = set; then
9691 enableval
="$enable_iff"
9693 if test "$enableval" = yes; then
9694 ac_cv_use_iff
='wxUSE_IFF=yes'
9696 ac_cv_use_iff
='wxUSE_IFF=no'
9701 LINE
=`grep "wxUSE_IFF" ${wx_arg_cache_file}`
9702 if test "x$LINE" != x
; then
9703 eval "DEFAULT_$LINE"
9708 ac_cv_use_iff
='wxUSE_IFF='$DEFAULT_wxUSE_IFF
9712 eval "$ac_cv_use_iff"
9713 if test "$no_cache" != 1; then
9714 echo $ac_cv_use_iff >> ${wx_arg_cache_file}.tmp
9717 if test "$wxUSE_IFF" = yes; then
9718 echo "$as_me:$LINENO: result: yes" >&5
9719 echo "${ECHO_T}yes" >&6
9721 echo "$as_me:$LINENO: result: no" >&5
9722 echo "${ECHO_T}no" >&6
9727 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-pnm" >&5
9728 echo $ECHO_N "checking for --${enablestring:-enable}-pnm... $ECHO_C" >&6
9730 # Check whether --enable-pnm or --disable-pnm was given.
9731 if test "${enable_pnm+set}" = set; then
9732 enableval
="$enable_pnm"
9734 if test "$enableval" = yes; then
9735 ac_cv_use_pnm
='wxUSE_PNM=yes'
9737 ac_cv_use_pnm
='wxUSE_PNM=no'
9742 LINE
=`grep "wxUSE_PNM" ${wx_arg_cache_file}`
9743 if test "x$LINE" != x
; then
9744 eval "DEFAULT_$LINE"
9749 ac_cv_use_pnm
='wxUSE_PNM='$DEFAULT_wxUSE_PNM
9753 eval "$ac_cv_use_pnm"
9754 if test "$no_cache" != 1; then
9755 echo $ac_cv_use_pnm >> ${wx_arg_cache_file}.tmp
9758 if test "$wxUSE_PNM" = yes; then
9759 echo "$as_me:$LINENO: result: yes" >&5
9760 echo "${ECHO_T}yes" >&6
9762 echo "$as_me:$LINENO: result: no" >&5
9763 echo "${ECHO_T}no" >&6
9768 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-xpm" >&5
9769 echo $ECHO_N "checking for --${enablestring:-enable}-xpm... $ECHO_C" >&6
9771 # Check whether --enable-xpm or --disable-xpm was given.
9772 if test "${enable_xpm+set}" = set; then
9773 enableval
="$enable_xpm"
9775 if test "$enableval" = yes; then
9776 ac_cv_use_xpm
='wxUSE_XPM=yes'
9778 ac_cv_use_xpm
='wxUSE_XPM=no'
9783 LINE
=`grep "wxUSE_XPM" ${wx_arg_cache_file}`
9784 if test "x$LINE" != x
; then
9785 eval "DEFAULT_$LINE"
9790 ac_cv_use_xpm
='wxUSE_XPM='$DEFAULT_wxUSE_XPM
9794 eval "$ac_cv_use_xpm"
9795 if test "$no_cache" != 1; then
9796 echo $ac_cv_use_xpm >> ${wx_arg_cache_file}.tmp
9799 if test "$wxUSE_XPM" = yes; then
9800 echo "$as_me:$LINENO: result: yes" >&5
9801 echo "${ECHO_T}yes" >&6
9803 echo "$as_me:$LINENO: result: no" >&5
9804 echo "${ECHO_T}no" >&6
9809 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ico_cur" >&5
9810 echo $ECHO_N "checking for --${enablestring:-enable}-ico_cur... $ECHO_C" >&6
9812 # Check whether --enable-ico_cur or --disable-ico_cur was given.
9813 if test "${enable_ico_cur+set}" = set; then
9814 enableval
="$enable_ico_cur"
9816 if test "$enableval" = yes; then
9817 ac_cv_use_ico_cur
='wxUSE_ICO_CUR=yes'
9819 ac_cv_use_ico_cur
='wxUSE_ICO_CUR=no'
9824 LINE
=`grep "wxUSE_ICO_CUR" ${wx_arg_cache_file}`
9825 if test "x$LINE" != x
; then
9826 eval "DEFAULT_$LINE"
9831 ac_cv_use_ico_cur
='wxUSE_ICO_CUR='$DEFAULT_wxUSE_ICO_CUR
9835 eval "$ac_cv_use_ico_cur"
9836 if test "$no_cache" != 1; then
9837 echo $ac_cv_use_ico_cur >> ${wx_arg_cache_file}.tmp
9840 if test "$wxUSE_ICO_CUR" = yes; then
9841 echo "$as_me:$LINENO: result: yes" >&5
9842 echo "${ECHO_T}yes" >&6
9844 echo "$as_me:$LINENO: result: no" >&5
9845 echo "${ECHO_T}no" >&6
9854 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-official_build" >&5
9855 echo $ECHO_N "checking for --${enablestring:-enable}-official_build... $ECHO_C" >&6
9857 # Check whether --enable-official_build or --disable-official_build was given.
9858 if test "${enable_official_build+set}" = set; then
9859 enableval
="$enable_official_build"
9861 if test "$enableval" = yes; then
9862 ac_cv_use_official_build
='wxUSE_OFFICIAL_BUILD=yes'
9864 ac_cv_use_official_build
='wxUSE_OFFICIAL_BUILD=no'
9869 LINE
=`grep "wxUSE_OFFICIAL_BUILD" ${wx_arg_cache_file}`
9870 if test "x$LINE" != x
; then
9871 eval "DEFAULT_$LINE"
9876 ac_cv_use_official_build
='wxUSE_OFFICIAL_BUILD='$DEFAULT_wxUSE_OFFICIAL_BUILD
9880 eval "$ac_cv_use_official_build"
9881 if test "$no_cache" != 1; then
9882 echo $ac_cv_use_official_build >> ${wx_arg_cache_file}.tmp
9885 if test "$wxUSE_OFFICIAL_BUILD" = yes; then
9886 echo "$as_me:$LINENO: result: yes" >&5
9887 echo "${ECHO_T}yes" >&6
9889 echo "$as_me:$LINENO: result: no" >&5
9890 echo "${ECHO_T}no" >&6
9893 # Check whether --enable-vendor or --disable-vendor was given.
9894 if test "${enable_vendor+set}" = set; then
9895 enableval
="$enable_vendor"
9898 if test "x$VENDOR" = "x"; then
9903 *-pc-os2_emx | *-pc-os2-emx )
9913 echo "saving argument cache $wx_arg_cache_file"
9914 mv ${wx_arg_cache_file}.tmp
${wx_arg_cache_file}
9918 echo "$as_me:$LINENO: checking for toolkit" >&5
9919 echo $ECHO_N "checking for toolkit... $ECHO_C" >&6
9921 # In Wine, we need to default to MSW, not GTK or MOTIF
9922 if test "$wxUSE_WINE" = "yes"; then
9923 DEFAULT_DEFAULT_wxUSE_GTK
=0
9924 DEFAULT_DEFAULT_wxUSE_MOTIF
=0
9925 DEFAULT_DEFAULT_wxUSE_MSW
=1
9929 if test "$wxUSE_GUI" = "yes"; then
9931 if test "$USE_BEOS" = 1; then
9932 { { echo "$as_me:$LINENO: error: BeOS GUI is not supported yet, use --disable-gui" >&5
9933 echo "$as_me: error: BeOS GUI is not supported yet, use --disable-gui" >&2;}
9934 { (exit 1); exit 1; }; }
9937 if test "$TOOLKIT_GIVEN" = 1; then
9938 for toolkit
in `echo $ALL_TOOLKITS`; do
9940 eval "value=\$${var}"
9941 eval "$var=`echo \$value | sed -e "s
/yes
/1/" -e "s
/no
/0/"`"
9944 for toolkit
in `echo $ALL_TOOLKITS`; do
9945 if test "$has_toolkit_in_cache" != 1; then
9946 var
=DEFAULT_DEFAULT_wxUSE_
$toolkit
9948 var
=DEFAULT_wxUSE_
$toolkit
9950 eval "wxUSE_$toolkit=\$${var}"
9954 NUM_TOOLKITS
=`expr ${wxUSE_COCOA:-0} + ${wxUSE_GTK:-0} + ${wxUSE_MAC:-0} \
9955 + ${wxUSE_MGL:-0} + ${wxUSE_MICROWIN:-0} \
9956 + ${wxUSE_MOTIF:-0} + ${wxUSE_MSW:-0} + ${wxUSE_X11:-0}`
9959 *-pc-os2_emx | *-pc-os2-emx )
9960 NUM_TOOLKITS
=`expr ${NUM_TOOLKITS} + ${wxUSE_PM:-0}`
9963 case "$NUM_TOOLKITS" in
9967 { { echo "$as_me:$LINENO: error: Please specify a toolkit -- cannot determine the default for ${host}" >&5
9968 echo "$as_me: error: Please specify a toolkit -- cannot determine the default for ${host}" >&2;}
9969 { (exit 1); exit 1; }; }
9972 { { echo "$as_me:$LINENO: error: Please specify at most one toolkit (maybe some are cached in configarg.cache?)" >&5
9973 echo "$as_me: error: Please specify at most one toolkit (maybe some are cached in configarg.cache?)" >&2;}
9974 { (exit 1); exit 1; }; }
9977 for toolkit
in `echo $ALL_TOOLKITS`; do
9979 eval "value=\$${var}"
9980 if test "x$value" != x
; then
9981 cache_var
=CACHE_
$toolkit
9982 eval "cache=\$${cache_var}"
9983 if test "$cache" = 1; then
9984 echo "$var=$value" >> ${wx_arg_cache_file}
9986 if test "$value" = 1; then
9987 toolkit_echo
=`echo $toolkit | tr "[A-Z]" "[a-z]"`
9988 echo "$as_me:$LINENO: result: $toolkit_echo" >&5
9989 echo "${ECHO_T}$toolkit_echo" >&6
9994 if test "x$host_alias" != "x"; then
9995 echo "$as_me:$LINENO: result: base ($host_alias hosted) only" >&5
9996 echo "${ECHO_T}base ($host_alias hosted) only" >&6
9998 echo "$as_me:$LINENO: result: base only" >&5
9999 echo "${ECHO_T}base only" >&6
10004 doesnt_want_win32
=0
10007 if test "$wxUSE_MSW" = 1 ; then
10010 doesnt_want_win32
=1
10018 if test "$wxUSE_WINE" = "yes"; then
10023 LDFLAGS_GUI
="-mwindows"
10026 if test "$wants_win32" = 1 ; then
10029 cat >>confdefs.h
<<\_ACEOF
10030 #define __WIN32__ 1
10033 cat >>confdefs.h
<<\_ACEOF
10034 #define __WIN95__ 1
10037 cat >>confdefs.h
<<\_ACEOF
10038 #define __WINDOWS__ 1
10041 cat >>confdefs.h
<<\_ACEOF
10042 #define __GNUWIN32__ 1
10045 cat >>confdefs.h
<<\_ACEOF
10049 cat >>confdefs.h
<<\_ACEOF
10050 #define WINVER 0x0400
10054 if test "$doesnt_want_win32" = 1 ; then
10059 if test "$USE_UNIX" = 1 ; then
10061 cat >>confdefs.h
<<\_ACEOF
10068 cat >confcache
<<\_ACEOF
10069 # This file is a shell script that caches the results of configure
10070 # tests run on this system so they can be shared between configure
10071 # scripts and configure runs, see configure's option --config-cache.
10072 # It is not useful on other systems. If it contains results you don't
10073 # want to keep, you may remove or edit it.
10075 # config.status only pays attention to the cache file if you give it
10076 # the --recheck option to rerun configure.
10078 # `ac_cv_env_foo' variables (set or unset) will be overridden when
10079 # loading this file, other *unset* `ac_cv_foo' will be assigned the
10080 # following values.
10084 # The following way of writing the cache mishandles newlines in values,
10085 # but we know of no workaround that is simple, portable, and efficient.
10086 # So, don't put newlines in cache variables' values.
10087 # Ultrix sh set writes to stderr and can't be redirected directly,
10088 # and sets the high bit in the cache file unless we assign to the vars.
10091 case `(ac_space=' '; set | grep ac_space) 2>&1` in
10093 # `set' does not quote correctly, so add quotes (double-quote
10094 # substitution turns \\\\ into \\, and sed turns \\ into \).
10097 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
10100 # `set' quotes correctly as required by POSIX, so do not add quotes.
10102 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
10109 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
10111 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
10113 if diff $cache_file confcache
>/dev
/null
2>&1; then :; else
10114 if test -w $cache_file; then
10115 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
10116 cat confcache
>$cache_file
10118 echo "not updating unwritable cache $cache_file"
10123 if test "$build" != "$host" ; then
10124 if test "$USE_WIN32" = 1 -o "$USE_DOS" = 1 -o "$USE_UNIX"; then
10126 CXX
=$host_alias-c++
10128 RANLIB
=$host_alias-ranlib
10129 DLLTOOL
=$host_alias-dlltool
10130 RESCOMP
=$host_alias-windres
10133 STRIP
=$host_alias-strip
10135 { { echo "$as_me:$LINENO: error: $build_alias -> $host_alias cross compilation not supported yet." >&5
10136 echo "$as_me: error: $build_alias -> $host_alias cross compilation not supported yet." >&2;}
10137 { (exit 1); exit 1; }; }
10143 ac_cpp
='$CPP $CPPFLAGS'
10144 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10145 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10146 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
10147 if test -n "$ac_tool_prefix"; then
10148 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
10149 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
10150 echo "$as_me:$LINENO: checking for $ac_word" >&5
10151 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10152 if test "${ac_cv_prog_CC+set}" = set; then
10153 echo $ECHO_N "(cached) $ECHO_C" >&6
10155 if test -n "$CC"; then
10156 ac_cv_prog_CC
="$CC" # Let the user override the test.
10158 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10159 for as_dir
in $PATH
10162 test -z "$as_dir" && as_dir
=.
10163 for ac_exec_ext
in '' $ac_executable_extensions; do
10164 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10165 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
10166 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10175 if test -n "$CC"; then
10176 echo "$as_me:$LINENO: result: $CC" >&5
10177 echo "${ECHO_T}$CC" >&6
10179 echo "$as_me:$LINENO: result: no" >&5
10180 echo "${ECHO_T}no" >&6
10184 if test -z "$ac_cv_prog_CC"; then
10186 # Extract the first word of "gcc", so it can be a program name with args.
10187 set dummy gcc
; ac_word
=$2
10188 echo "$as_me:$LINENO: checking for $ac_word" >&5
10189 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10190 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
10191 echo $ECHO_N "(cached) $ECHO_C" >&6
10193 if test -n "$ac_ct_CC"; then
10194 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
10196 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10197 for as_dir
in $PATH
10200 test -z "$as_dir" && as_dir
=.
10201 for ac_exec_ext
in '' $ac_executable_extensions; do
10202 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10203 ac_cv_prog_ac_ct_CC
="gcc"
10204 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10212 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
10213 if test -n "$ac_ct_CC"; then
10214 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
10215 echo "${ECHO_T}$ac_ct_CC" >&6
10217 echo "$as_me:$LINENO: result: no" >&5
10218 echo "${ECHO_T}no" >&6
10223 CC
="$ac_cv_prog_CC"
10226 if test -z "$CC"; then
10227 if test -n "$ac_tool_prefix"; then
10228 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
10229 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
10230 echo "$as_me:$LINENO: checking for $ac_word" >&5
10231 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10232 if test "${ac_cv_prog_CC+set}" = set; then
10233 echo $ECHO_N "(cached) $ECHO_C" >&6
10235 if test -n "$CC"; then
10236 ac_cv_prog_CC
="$CC" # Let the user override the test.
10238 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10239 for as_dir
in $PATH
10242 test -z "$as_dir" && as_dir
=.
10243 for ac_exec_ext
in '' $ac_executable_extensions; do
10244 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10245 ac_cv_prog_CC
="${ac_tool_prefix}cc"
10246 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10255 if test -n "$CC"; then
10256 echo "$as_me:$LINENO: result: $CC" >&5
10257 echo "${ECHO_T}$CC" >&6
10259 echo "$as_me:$LINENO: result: no" >&5
10260 echo "${ECHO_T}no" >&6
10264 if test -z "$ac_cv_prog_CC"; then
10266 # Extract the first word of "cc", so it can be a program name with args.
10267 set dummy cc
; ac_word
=$2
10268 echo "$as_me:$LINENO: checking for $ac_word" >&5
10269 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10270 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
10271 echo $ECHO_N "(cached) $ECHO_C" >&6
10273 if test -n "$ac_ct_CC"; then
10274 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
10276 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10277 for as_dir
in $PATH
10280 test -z "$as_dir" && as_dir
=.
10281 for ac_exec_ext
in '' $ac_executable_extensions; do
10282 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10283 ac_cv_prog_ac_ct_CC
="cc"
10284 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10292 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
10293 if test -n "$ac_ct_CC"; then
10294 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
10295 echo "${ECHO_T}$ac_ct_CC" >&6
10297 echo "$as_me:$LINENO: result: no" >&5
10298 echo "${ECHO_T}no" >&6
10303 CC
="$ac_cv_prog_CC"
10307 if test -z "$CC"; then
10308 # Extract the first word of "cc", so it can be a program name with args.
10309 set dummy cc
; ac_word
=$2
10310 echo "$as_me:$LINENO: checking for $ac_word" >&5
10311 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10312 if test "${ac_cv_prog_CC+set}" = set; then
10313 echo $ECHO_N "(cached) $ECHO_C" >&6
10315 if test -n "$CC"; then
10316 ac_cv_prog_CC
="$CC" # Let the user override the test.
10318 ac_prog_rejected
=no
10319 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10320 for as_dir
in $PATH
10323 test -z "$as_dir" && as_dir
=.
10324 for ac_exec_ext
in '' $ac_executable_extensions; do
10325 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10326 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
10327 ac_prog_rejected
=yes
10331 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10337 if test $ac_prog_rejected = yes; then
10338 # We found a bogon in the path, so make sure we never use it.
10339 set dummy
$ac_cv_prog_CC
10341 if test $# != 0; then
10342 # We chose a different compiler from the bogus one.
10343 # However, it has the same basename, so the bogon will be chosen
10344 # first if we set CC to just the basename; use the full file name.
10346 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
10352 if test -n "$CC"; then
10353 echo "$as_me:$LINENO: result: $CC" >&5
10354 echo "${ECHO_T}$CC" >&6
10356 echo "$as_me:$LINENO: result: no" >&5
10357 echo "${ECHO_T}no" >&6
10361 if test -z "$CC"; then
10362 if test -n "$ac_tool_prefix"; then
10365 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
10366 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
10367 echo "$as_me:$LINENO: checking for $ac_word" >&5
10368 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10369 if test "${ac_cv_prog_CC+set}" = set; then
10370 echo $ECHO_N "(cached) $ECHO_C" >&6
10372 if test -n "$CC"; then
10373 ac_cv_prog_CC
="$CC" # Let the user override the test.
10375 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10376 for as_dir
in $PATH
10379 test -z "$as_dir" && as_dir
=.
10380 for ac_exec_ext
in '' $ac_executable_extensions; do
10381 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10382 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
10383 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10392 if test -n "$CC"; then
10393 echo "$as_me:$LINENO: result: $CC" >&5
10394 echo "${ECHO_T}$CC" >&6
10396 echo "$as_me:$LINENO: result: no" >&5
10397 echo "${ECHO_T}no" >&6
10400 test -n "$CC" && break
10403 if test -z "$CC"; then
10407 # Extract the first word of "$ac_prog", so it can be a program name with args.
10408 set dummy
$ac_prog; ac_word
=$2
10409 echo "$as_me:$LINENO: checking for $ac_word" >&5
10410 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10411 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
10412 echo $ECHO_N "(cached) $ECHO_C" >&6
10414 if test -n "$ac_ct_CC"; then
10415 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
10417 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10418 for as_dir
in $PATH
10421 test -z "$as_dir" && as_dir
=.
10422 for ac_exec_ext
in '' $ac_executable_extensions; do
10423 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10424 ac_cv_prog_ac_ct_CC
="$ac_prog"
10425 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10433 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
10434 if test -n "$ac_ct_CC"; then
10435 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
10436 echo "${ECHO_T}$ac_ct_CC" >&6
10438 echo "$as_me:$LINENO: result: no" >&5
10439 echo "${ECHO_T}no" >&6
10442 test -n "$ac_ct_CC" && break
10451 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
10452 See \`config.log' for more details." >&5
10453 echo "$as_me: error: no acceptable C compiler found in \$PATH
10454 See \`config.log' for more details." >&2;}
10455 { (exit 1); exit 1; }; }
10457 # Provide some information about the compiler.
10458 echo "$as_me:$LINENO:" \
10459 "checking for C compiler version" >&5
10460 ac_compiler
=`set X $ac_compile; echo $2`
10461 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
10462 (eval $ac_compiler --version </dev
/null
>&5) 2>&5
10464 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10465 (exit $ac_status); }
10466 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
10467 (eval $ac_compiler -v </dev
/null
>&5) 2>&5
10469 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10470 (exit $ac_status); }
10471 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
10472 (eval $ac_compiler -V </dev
/null
>&5) 2>&5
10474 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10475 (exit $ac_status); }
10477 cat >conftest.
$ac_ext <<_ACEOF
10480 cat confdefs.h
>>conftest.
$ac_ext
10481 cat >>conftest.
$ac_ext <<_ACEOF
10482 /* end confdefs.h. */
10492 ac_clean_files_save
=$ac_clean_files
10493 ac_clean_files
="$ac_clean_files a.out a.exe b.out"
10494 # Try to create an executable without -o first, disregard a.out.
10495 # It will help us diagnose broken compilers, and finding out an intuition
10497 echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
10498 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6
10499 ac_link_default
=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
10500 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
10501 (eval $ac_link_default) 2>&5
10503 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10504 (exit $ac_status); }; then
10505 # Find the output, starting from the most likely. This scheme is
10506 # not robust to junk in `.', hence go to wildcards (a.*) only as a last
10509 # Be careful to initialize this variable, since it used to be cached.
10510 # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
10512 # b.out is created by i960 compilers.
10513 for ac_file
in a_out.exe a.exe conftest.exe a.out conftest a.
* conftest.
* b.out
10515 test -f "$ac_file" || continue
10517 *.
$ac_ext | *.xcoff
| *.tds
| *.d
| *.pdb
| *.xSYM
| *.bb
| *.bbg
| *.o
| *.obj
)
10520 # This is the source file.
10523 # We found the default executable, but exeext='' is most
10527 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
10528 # FIXME: I believe we export ac_cv_exeext for Libtool,
10529 # but it would be cool to find out if it's true. Does anybody
10530 # maintain Libtool? --akim.
10531 export ac_cv_exeext
10538 echo "$as_me: failed program was:" >&5
10539 sed 's/^/| /' conftest.
$ac_ext >&5
10541 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
10542 See \`config.log' for more details." >&5
10543 echo "$as_me: error: C compiler cannot create executables
10544 See \`config.log' for more details." >&2;}
10545 { (exit 77); exit 77; }; }
10548 ac_exeext
=$ac_cv_exeext
10549 echo "$as_me:$LINENO: result: $ac_file" >&5
10550 echo "${ECHO_T}$ac_file" >&6
10552 # Check the compiler produces executables we can run. If not, either
10553 # the compiler is broken, or we cross compile.
10554 echo "$as_me:$LINENO: checking whether the C compiler works" >&5
10555 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
10556 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
10557 # If not cross compiling, check that we can run a simple program.
10558 if test "$cross_compiling" != yes; then
10559 if { ac_try
='./$ac_file'
10560 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10561 (eval $ac_try) 2>&5
10563 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10564 (exit $ac_status); }; }; then
10567 if test "$cross_compiling" = maybe
; then
10568 cross_compiling
=yes
10570 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
10571 If you meant to cross compile, use \`--host'.
10572 See \`config.log' for more details." >&5
10573 echo "$as_me: error: cannot run C compiled programs.
10574 If you meant to cross compile, use \`--host'.
10575 See \`config.log' for more details." >&2;}
10576 { (exit 1); exit 1; }; }
10580 echo "$as_me:$LINENO: result: yes" >&5
10581 echo "${ECHO_T}yes" >&6
10583 rm -f a.out a.exe conftest
$ac_cv_exeext b.out
10584 ac_clean_files
=$ac_clean_files_save
10585 # Check the compiler produces executables we can run. If not, either
10586 # the compiler is broken, or we cross compile.
10587 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
10588 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
10589 echo "$as_me:$LINENO: result: $cross_compiling" >&5
10590 echo "${ECHO_T}$cross_compiling" >&6
10592 echo "$as_me:$LINENO: checking for suffix of executables" >&5
10593 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
10594 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10595 (eval $ac_link) 2>&5
10597 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10598 (exit $ac_status); }; then
10599 # If both `conftest.exe' and `conftest' are `present' (well, observable)
10600 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
10601 # work properly (i.e., refer to `conftest.exe'), while it won't with
10603 for ac_file
in conftest.exe conftest conftest.
*; do
10604 test -f "$ac_file" || continue
10606 *.
$ac_ext | *.xcoff
| *.tds
| *.d
| *.pdb
| *.xSYM
| *.bb
| *.bbg
| *.o
| *.obj
) ;;
10607 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
10608 export ac_cv_exeext
10614 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
10615 See \`config.log' for more details." >&5
10616 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
10617 See \`config.log' for more details." >&2;}
10618 { (exit 1); exit 1; }; }
10621 rm -f conftest
$ac_cv_exeext
10622 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
10623 echo "${ECHO_T}$ac_cv_exeext" >&6
10625 rm -f conftest.
$ac_ext
10626 EXEEXT
=$ac_cv_exeext
10628 echo "$as_me:$LINENO: checking for suffix of object files" >&5
10629 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
10630 if test "${ac_cv_objext+set}" = set; then
10631 echo $ECHO_N "(cached) $ECHO_C" >&6
10633 cat >conftest.
$ac_ext <<_ACEOF
10636 cat confdefs.h
>>conftest.
$ac_ext
10637 cat >>conftest.
$ac_ext <<_ACEOF
10638 /* end confdefs.h. */
10648 rm -f conftest.o conftest.obj
10649 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10650 (eval $ac_compile) 2>&5
10652 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10653 (exit $ac_status); }; then
10654 for ac_file
in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
10656 *.
$ac_ext | *.xcoff
| *.tds
| *.d
| *.pdb
| *.xSYM
| *.bb
| *.bbg
) ;;
10657 *) ac_cv_objext
=`expr "$ac_file" : '.*\.\(.*\)'`
10662 echo "$as_me: failed program was:" >&5
10663 sed 's/^/| /' conftest.
$ac_ext >&5
10665 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
10666 See \`config.log' for more details." >&5
10667 echo "$as_me: error: cannot compute suffix of object files: cannot compile
10668 See \`config.log' for more details." >&2;}
10669 { (exit 1); exit 1; }; }
10672 rm -f conftest.
$ac_cv_objext conftest.
$ac_ext
10674 echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
10675 echo "${ECHO_T}$ac_cv_objext" >&6
10676 OBJEXT
=$ac_cv_objext
10678 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
10679 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
10680 if test "${ac_cv_c_compiler_gnu+set}" = set; then
10681 echo $ECHO_N "(cached) $ECHO_C" >&6
10683 cat >conftest.
$ac_ext <<_ACEOF
10686 cat confdefs.h
>>conftest.
$ac_ext
10687 cat >>conftest.
$ac_ext <<_ACEOF
10688 /* end confdefs.h. */
10701 rm -f conftest.
$ac_objext
10702 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10703 (eval $ac_compile) 2>conftest.er1
10705 grep -v '^ *+' conftest.er1
>conftest.err
10707 cat conftest.err
>&5
10708 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10709 (exit $ac_status); } &&
10710 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10711 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10712 (eval $ac_try) 2>&5
10714 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10715 (exit $ac_status); }; } &&
10716 { ac_try
='test -s conftest.$ac_objext'
10717 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10718 (eval $ac_try) 2>&5
10720 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10721 (exit $ac_status); }; }; then
10722 ac_compiler_gnu
=yes
10724 echo "$as_me: failed program was:" >&5
10725 sed 's/^/| /' conftest.
$ac_ext >&5
10729 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
10730 ac_cv_c_compiler_gnu
=$ac_compiler_gnu
10733 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
10734 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
10735 GCC
=`test $ac_compiler_gnu = yes && echo yes`
10736 ac_test_CFLAGS
=${CFLAGS+set}
10737 ac_save_CFLAGS
=$CFLAGS
10739 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
10740 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
10741 if test "${ac_cv_prog_cc_g+set}" = set; then
10742 echo $ECHO_N "(cached) $ECHO_C" >&6
10744 cat >conftest.
$ac_ext <<_ACEOF
10747 cat confdefs.h
>>conftest.
$ac_ext
10748 cat >>conftest.
$ac_ext <<_ACEOF
10749 /* end confdefs.h. */
10759 rm -f conftest.
$ac_objext
10760 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10761 (eval $ac_compile) 2>conftest.er1
10763 grep -v '^ *+' conftest.er1
>conftest.err
10765 cat conftest.err
>&5
10766 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10767 (exit $ac_status); } &&
10768 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10769 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10770 (eval $ac_try) 2>&5
10772 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10773 (exit $ac_status); }; } &&
10774 { ac_try
='test -s conftest.$ac_objext'
10775 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10776 (eval $ac_try) 2>&5
10778 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10779 (exit $ac_status); }; }; then
10780 ac_cv_prog_cc_g
=yes
10782 echo "$as_me: failed program was:" >&5
10783 sed 's/^/| /' conftest.
$ac_ext >&5
10787 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
10789 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
10790 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
10791 if test "$ac_test_CFLAGS" = set; then
10792 CFLAGS
=$ac_save_CFLAGS
10793 elif test $ac_cv_prog_cc_g = yes; then
10794 if test "$GCC" = yes; then
10800 if test "$GCC" = yes; then
10806 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
10807 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
10808 if test "${ac_cv_prog_cc_stdc+set}" = set; then
10809 echo $ECHO_N "(cached) $ECHO_C" >&6
10811 ac_cv_prog_cc_stdc
=no
10813 cat >conftest.
$ac_ext <<_ACEOF
10816 cat confdefs.h
>>conftest.
$ac_ext
10817 cat >>conftest.
$ac_ext <<_ACEOF
10818 /* end confdefs.h. */
10819 #include <stdarg.h>
10821 #include <sys/types.h>
10822 #include <sys/stat.h>
10823 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
10824 struct buf { int x; };
10825 FILE * (*rcsopen) (struct buf *, struct stat *, int);
10826 static char *e (p, i)
10832 static char *f (char * (*g) (char **, int), char **p, ...)
10837 s = g (p, va_arg (v,int));
10842 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
10843 function prototypes and stuff, but not '\xHH' hex character constants.
10844 These don't provoke an error unfortunately, instead are silently treated
10845 as 'x'. The following induces an error, until -std1 is added to get
10846 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
10847 array size at least. It's necessary to write '\x00'==0 to get something
10848 that's true only with -std1. */
10849 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
10851 int test (int i, double x);
10852 struct s1 {int (*f) (int a);};
10853 struct s2 {int (*f) (double a);};
10854 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
10860 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
10865 # Don't try gcc -ansi; that turns off useful extensions and
10866 # breaks some systems' header files.
10867 # AIX -qlanglvl=ansi
10868 # Ultrix and OSF/1 -std1
10869 # HP-UX 10.20 and later -Ae
10870 # HP-UX older versions -Aa -D_HPUX_SOURCE
10871 # SVR4 -Xc -D__EXTENSIONS__
10872 for ac_arg
in "" -qlanglvl=ansi
-std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
10874 CC
="$ac_save_CC $ac_arg"
10875 rm -f conftest.
$ac_objext
10876 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10877 (eval $ac_compile) 2>conftest.er1
10879 grep -v '^ *+' conftest.er1
>conftest.err
10881 cat conftest.err
>&5
10882 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10883 (exit $ac_status); } &&
10884 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10885 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10886 (eval $ac_try) 2>&5
10888 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10889 (exit $ac_status); }; } &&
10890 { ac_try
='test -s conftest.$ac_objext'
10891 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10892 (eval $ac_try) 2>&5
10894 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10895 (exit $ac_status); }; }; then
10896 ac_cv_prog_cc_stdc
=$ac_arg
10899 echo "$as_me: failed program was:" >&5
10900 sed 's/^/| /' conftest.
$ac_ext >&5
10903 rm -f conftest.err conftest.
$ac_objext
10905 rm -f conftest.
$ac_ext conftest.
$ac_objext
10910 case "x$ac_cv_prog_cc_stdc" in
10912 echo "$as_me:$LINENO: result: none needed" >&5
10913 echo "${ECHO_T}none needed" >&6 ;;
10915 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
10916 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
10917 CC
="$CC $ac_cv_prog_cc_stdc" ;;
10920 # Some people use a C++ compiler to compile C. Since we use `exit',
10921 # in C++ we need to declare it. In case someone uses the same compiler
10922 # for both compiling C and C++ we need to have the C++ compiler decide
10923 # the declaration of exit, since it's the most demanding environment.
10924 cat >conftest.
$ac_ext <<_ACEOF
10925 #ifndef __cplusplus
10929 rm -f conftest.
$ac_objext
10930 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10931 (eval $ac_compile) 2>conftest.er1
10933 grep -v '^ *+' conftest.er1
>conftest.err
10935 cat conftest.err
>&5
10936 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10937 (exit $ac_status); } &&
10938 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10939 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10940 (eval $ac_try) 2>&5
10942 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10943 (exit $ac_status); }; } &&
10944 { ac_try
='test -s conftest.$ac_objext'
10945 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10946 (eval $ac_try) 2>&5
10948 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10949 (exit $ac_status); }; }; then
10950 for ac_declaration
in \
10952 'extern "C" void std::exit (int) throw (); using std::exit;' \
10953 'extern "C" void std::exit (int); using std::exit;' \
10954 'extern "C" void exit (int) throw ();' \
10955 'extern "C" void exit (int);' \
10958 cat >conftest.
$ac_ext <<_ACEOF
10961 cat confdefs.h
>>conftest.
$ac_ext
10962 cat >>conftest.
$ac_ext <<_ACEOF
10963 /* end confdefs.h. */
10965 #include <stdlib.h>
10974 rm -f conftest.
$ac_objext
10975 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10976 (eval $ac_compile) 2>conftest.er1
10978 grep -v '^ *+' conftest.er1
>conftest.err
10980 cat conftest.err
>&5
10981 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10982 (exit $ac_status); } &&
10983 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10984 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10985 (eval $ac_try) 2>&5
10987 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10988 (exit $ac_status); }; } &&
10989 { ac_try
='test -s conftest.$ac_objext'
10990 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10991 (eval $ac_try) 2>&5
10993 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10994 (exit $ac_status); }; }; then
10997 echo "$as_me: failed program was:" >&5
10998 sed 's/^/| /' conftest.
$ac_ext >&5
11002 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11003 cat >conftest.
$ac_ext <<_ACEOF
11006 cat confdefs.h
>>conftest.
$ac_ext
11007 cat >>conftest.
$ac_ext <<_ACEOF
11008 /* end confdefs.h. */
11018 rm -f conftest.
$ac_objext
11019 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11020 (eval $ac_compile) 2>conftest.er1
11022 grep -v '^ *+' conftest.er1
>conftest.err
11024 cat conftest.err
>&5
11025 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11026 (exit $ac_status); } &&
11027 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11028 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11029 (eval $ac_try) 2>&5
11031 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11032 (exit $ac_status); }; } &&
11033 { ac_try
='test -s conftest.$ac_objext'
11034 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11035 (eval $ac_try) 2>&5
11037 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11038 (exit $ac_status); }; }; then
11041 echo "$as_me: failed program was:" >&5
11042 sed 's/^/| /' conftest.
$ac_ext >&5
11045 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11048 if test -n "$ac_declaration"; then
11049 echo '#ifdef __cplusplus' >>confdefs.h
11050 echo $ac_declaration >>confdefs.h
11051 echo '#endif' >>confdefs.h
11055 echo "$as_me: failed program was:" >&5
11056 sed 's/^/| /' conftest.
$ac_ext >&5
11059 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11061 ac_cpp
='$CPP $CPPFLAGS'
11062 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11063 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11064 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
11069 ac_cpp
='$CPP $CPPFLAGS'
11070 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11071 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11072 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
11073 echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
11074 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
11075 # On Suns, sometimes $CPP names a directory.
11076 if test -n "$CPP" && test -d "$CPP"; then
11079 if test -z "$CPP"; then
11080 if test "${ac_cv_prog_CPP+set}" = set; then
11081 echo $ECHO_N "(cached) $ECHO_C" >&6
11083 # Double quotes because CPP needs to be expanded
11084 for CPP
in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
11086 ac_preproc_ok
=false
11087 for ac_c_preproc_warn_flag
in '' yes
11089 # Use a header file that comes with gcc, so configuring glibc
11090 # with a fresh cross-compiler works.
11091 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11092 # <limits.h> exists even on freestanding compilers.
11093 # On the NeXT, cc -E runs the code through the compiler's parser,
11094 # not just through cpp. "Syntax error" is here to catch this case.
11095 cat >conftest.
$ac_ext <<_ACEOF
11098 cat confdefs.h
>>conftest.
$ac_ext
11099 cat >>conftest.
$ac_ext <<_ACEOF
11100 /* end confdefs.h. */
11102 # include <limits.h>
11104 # include <assert.h>
11108 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
11109 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
11111 grep -v '^ *+' conftest.er1
>conftest.err
11113 cat conftest.err
>&5
11114 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11115 (exit $ac_status); } >/dev
/null
; then
11116 if test -s conftest.err
; then
11117 ac_cpp_err
=$ac_c_preproc_warn_flag
11118 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
11125 if test -z "$ac_cpp_err"; then
11128 echo "$as_me: failed program was:" >&5
11129 sed 's/^/| /' conftest.
$ac_ext >&5
11131 # Broken: fails on valid input.
11134 rm -f conftest.err conftest.
$ac_ext
11136 # OK, works on sane cases. Now check whether non-existent headers
11137 # can be detected and how.
11138 cat >conftest.
$ac_ext <<_ACEOF
11141 cat confdefs.h
>>conftest.
$ac_ext
11142 cat >>conftest.
$ac_ext <<_ACEOF
11143 /* end confdefs.h. */
11144 #include <ac_nonexistent.h>
11146 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
11147 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
11149 grep -v '^ *+' conftest.er1
>conftest.err
11151 cat conftest.err
>&5
11152 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11153 (exit $ac_status); } >/dev
/null
; then
11154 if test -s conftest.err
; then
11155 ac_cpp_err
=$ac_c_preproc_warn_flag
11156 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
11163 if test -z "$ac_cpp_err"; then
11164 # Broken: success on invalid input.
11167 echo "$as_me: failed program was:" >&5
11168 sed 's/^/| /' conftest.
$ac_ext >&5
11170 # Passes both tests.
11174 rm -f conftest.err conftest.
$ac_ext
11177 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
11178 rm -f conftest.err conftest.
$ac_ext
11179 if $ac_preproc_ok; then
11184 ac_cv_prog_CPP
=$CPP
11187 CPP
=$ac_cv_prog_CPP
11189 ac_cv_prog_CPP
=$CPP
11191 echo "$as_me:$LINENO: result: $CPP" >&5
11192 echo "${ECHO_T}$CPP" >&6
11193 ac_preproc_ok
=false
11194 for ac_c_preproc_warn_flag
in '' yes
11196 # Use a header file that comes with gcc, so configuring glibc
11197 # with a fresh cross-compiler works.
11198 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11199 # <limits.h> exists even on freestanding compilers.
11200 # On the NeXT, cc -E runs the code through the compiler's parser,
11201 # not just through cpp. "Syntax error" is here to catch this case.
11202 cat >conftest.
$ac_ext <<_ACEOF
11205 cat confdefs.h
>>conftest.
$ac_ext
11206 cat >>conftest.
$ac_ext <<_ACEOF
11207 /* end confdefs.h. */
11209 # include <limits.h>
11211 # include <assert.h>
11215 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
11216 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
11218 grep -v '^ *+' conftest.er1
>conftest.err
11220 cat conftest.err
>&5
11221 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11222 (exit $ac_status); } >/dev
/null
; then
11223 if test -s conftest.err
; then
11224 ac_cpp_err
=$ac_c_preproc_warn_flag
11225 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
11232 if test -z "$ac_cpp_err"; then
11235 echo "$as_me: failed program was:" >&5
11236 sed 's/^/| /' conftest.
$ac_ext >&5
11238 # Broken: fails on valid input.
11241 rm -f conftest.err conftest.
$ac_ext
11243 # OK, works on sane cases. Now check whether non-existent headers
11244 # can be detected and how.
11245 cat >conftest.
$ac_ext <<_ACEOF
11248 cat confdefs.h
>>conftest.
$ac_ext
11249 cat >>conftest.
$ac_ext <<_ACEOF
11250 /* end confdefs.h. */
11251 #include <ac_nonexistent.h>
11253 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
11254 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
11256 grep -v '^ *+' conftest.er1
>conftest.err
11258 cat conftest.err
>&5
11259 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11260 (exit $ac_status); } >/dev
/null
; then
11261 if test -s conftest.err
; then
11262 ac_cpp_err
=$ac_c_preproc_warn_flag
11263 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
11270 if test -z "$ac_cpp_err"; then
11271 # Broken: success on invalid input.
11274 echo "$as_me: failed program was:" >&5
11275 sed 's/^/| /' conftest.
$ac_ext >&5
11277 # Passes both tests.
11281 rm -f conftest.err conftest.
$ac_ext
11284 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
11285 rm -f conftest.err conftest.
$ac_ext
11286 if $ac_preproc_ok; then
11289 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
11290 See \`config.log' for more details." >&5
11291 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
11292 See \`config.log' for more details." >&2;}
11293 { (exit 1); exit 1; }; }
11297 ac_cpp
='$CPP $CPPFLAGS'
11298 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11299 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11300 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
11303 echo "$as_me:$LINENO: checking for egrep" >&5
11304 echo $ECHO_N "checking for egrep... $ECHO_C" >&6
11305 if test "${ac_cv_prog_egrep+set}" = set; then
11306 echo $ECHO_N "(cached) $ECHO_C" >&6
11308 if echo a
| (grep -E '(a|b)') >/dev
/null
2>&1
11309 then ac_cv_prog_egrep
='grep -E'
11310 else ac_cv_prog_egrep
='egrep'
11313 echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
11314 echo "${ECHO_T}$ac_cv_prog_egrep" >&6
11315 EGREP
=$ac_cv_prog_egrep
11318 if test $ac_cv_c_compiler_gnu = yes; then
11319 echo "$as_me:$LINENO: checking whether $CC needs -traditional" >&5
11320 echo $ECHO_N "checking whether $CC needs -traditional... $ECHO_C" >&6
11321 if test "${ac_cv_prog_gcc_traditional+set}" = set; then
11322 echo $ECHO_N "(cached) $ECHO_C" >&6
11324 ac_pattern
="Autoconf.*'x'"
11325 cat >conftest.
$ac_ext <<_ACEOF
11328 cat confdefs.h
>>conftest.
$ac_ext
11329 cat >>conftest.
$ac_ext <<_ACEOF
11330 /* end confdefs.h. */
11334 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
11335 $EGREP "$ac_pattern" >/dev
/null
2>&1; then
11336 ac_cv_prog_gcc_traditional
=yes
11338 ac_cv_prog_gcc_traditional
=no
11343 if test $ac_cv_prog_gcc_traditional = no
; then
11344 cat >conftest.
$ac_ext <<_ACEOF
11347 cat confdefs.h
>>conftest.
$ac_ext
11348 cat >>conftest.
$ac_ext <<_ACEOF
11349 /* end confdefs.h. */
11350 #include <termio.h>
11353 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
11354 $EGREP "$ac_pattern" >/dev
/null
2>&1; then
11355 ac_cv_prog_gcc_traditional
=yes
11361 echo "$as_me:$LINENO: result: $ac_cv_prog_gcc_traditional" >&5
11362 echo "${ECHO_T}$ac_cv_prog_gcc_traditional" >&6
11363 if test $ac_cv_prog_gcc_traditional = yes; then
11364 CC
="$CC -traditional"
11372 ac_cpp
='$CXXCPP $CPPFLAGS'
11373 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11374 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11375 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
11378 CXXFLAGS
=${CXXFLAGS:=}
11380 ac_cpp
='$CXXCPP $CPPFLAGS'
11381 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11382 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11383 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
11384 if test -n "$ac_tool_prefix"; then
11385 for ac_prog
in $CCC g
++ c
++ gpp aCC CC cxx cc
++ cl FCC KCC RCC xlC_r xlC
11387 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
11388 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
11389 echo "$as_me:$LINENO: checking for $ac_word" >&5
11390 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11391 if test "${ac_cv_prog_CXX+set}" = set; then
11392 echo $ECHO_N "(cached) $ECHO_C" >&6
11394 if test -n "$CXX"; then
11395 ac_cv_prog_CXX
="$CXX" # Let the user override the test.
11397 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11398 for as_dir
in $PATH
11401 test -z "$as_dir" && as_dir
=.
11402 for ac_exec_ext
in '' $ac_executable_extensions; do
11403 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11404 ac_cv_prog_CXX
="$ac_tool_prefix$ac_prog"
11405 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11413 CXX
=$ac_cv_prog_CXX
11414 if test -n "$CXX"; then
11415 echo "$as_me:$LINENO: result: $CXX" >&5
11416 echo "${ECHO_T}$CXX" >&6
11418 echo "$as_me:$LINENO: result: no" >&5
11419 echo "${ECHO_T}no" >&6
11422 test -n "$CXX" && break
11425 if test -z "$CXX"; then
11427 for ac_prog
in $CCC g
++ c
++ gpp aCC CC cxx cc
++ cl FCC KCC RCC xlC_r xlC
11429 # Extract the first word of "$ac_prog", so it can be a program name with args.
11430 set dummy
$ac_prog; ac_word
=$2
11431 echo "$as_me:$LINENO: checking for $ac_word" >&5
11432 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11433 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
11434 echo $ECHO_N "(cached) $ECHO_C" >&6
11436 if test -n "$ac_ct_CXX"; then
11437 ac_cv_prog_ac_ct_CXX
="$ac_ct_CXX" # Let the user override the test.
11439 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11440 for as_dir
in $PATH
11443 test -z "$as_dir" && as_dir
=.
11444 for ac_exec_ext
in '' $ac_executable_extensions; do
11445 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11446 ac_cv_prog_ac_ct_CXX
="$ac_prog"
11447 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11455 ac_ct_CXX
=$ac_cv_prog_ac_ct_CXX
11456 if test -n "$ac_ct_CXX"; then
11457 echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
11458 echo "${ECHO_T}$ac_ct_CXX" >&6
11460 echo "$as_me:$LINENO: result: no" >&5
11461 echo "${ECHO_T}no" >&6
11464 test -n "$ac_ct_CXX" && break
11466 test -n "$ac_ct_CXX" || ac_ct_CXX
="g++"
11472 # Provide some information about the compiler.
11473 echo "$as_me:$LINENO:" \
11474 "checking for C++ compiler version" >&5
11475 ac_compiler
=`set X $ac_compile; echo $2`
11476 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
11477 (eval $ac_compiler --version </dev
/null
>&5) 2>&5
11479 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11480 (exit $ac_status); }
11481 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
11482 (eval $ac_compiler -v </dev
/null
>&5) 2>&5
11484 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11485 (exit $ac_status); }
11486 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
11487 (eval $ac_compiler -V </dev
/null
>&5) 2>&5
11489 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11490 (exit $ac_status); }
11492 echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
11493 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6
11494 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
11495 echo $ECHO_N "(cached) $ECHO_C" >&6
11497 cat >conftest.
$ac_ext <<_ACEOF
11500 cat confdefs.h
>>conftest.
$ac_ext
11501 cat >>conftest.
$ac_ext <<_ACEOF
11502 /* end confdefs.h. */
11515 rm -f conftest.
$ac_objext
11516 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11517 (eval $ac_compile) 2>conftest.er1
11519 grep -v '^ *+' conftest.er1
>conftest.err
11521 cat conftest.err
>&5
11522 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11523 (exit $ac_status); } &&
11524 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
11525 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11526 (eval $ac_try) 2>&5
11528 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11529 (exit $ac_status); }; } &&
11530 { ac_try
='test -s conftest.$ac_objext'
11531 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11532 (eval $ac_try) 2>&5
11534 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11535 (exit $ac_status); }; }; then
11536 ac_compiler_gnu
=yes
11538 echo "$as_me: failed program was:" >&5
11539 sed 's/^/| /' conftest.
$ac_ext >&5
11543 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11544 ac_cv_cxx_compiler_gnu
=$ac_compiler_gnu
11547 echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
11548 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6
11549 GXX
=`test $ac_compiler_gnu = yes && echo yes`
11550 ac_test_CXXFLAGS
=${CXXFLAGS+set}
11551 ac_save_CXXFLAGS
=$CXXFLAGS
11553 echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
11554 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6
11555 if test "${ac_cv_prog_cxx_g+set}" = set; then
11556 echo $ECHO_N "(cached) $ECHO_C" >&6
11558 cat >conftest.
$ac_ext <<_ACEOF
11561 cat confdefs.h
>>conftest.
$ac_ext
11562 cat >>conftest.
$ac_ext <<_ACEOF
11563 /* end confdefs.h. */
11573 rm -f conftest.
$ac_objext
11574 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11575 (eval $ac_compile) 2>conftest.er1
11577 grep -v '^ *+' conftest.er1
>conftest.err
11579 cat conftest.err
>&5
11580 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11581 (exit $ac_status); } &&
11582 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
11583 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11584 (eval $ac_try) 2>&5
11586 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11587 (exit $ac_status); }; } &&
11588 { ac_try
='test -s conftest.$ac_objext'
11589 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11590 (eval $ac_try) 2>&5
11592 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11593 (exit $ac_status); }; }; then
11594 ac_cv_prog_cxx_g
=yes
11596 echo "$as_me: failed program was:" >&5
11597 sed 's/^/| /' conftest.
$ac_ext >&5
11599 ac_cv_prog_cxx_g
=no
11601 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11603 echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
11604 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6
11605 if test "$ac_test_CXXFLAGS" = set; then
11606 CXXFLAGS
=$ac_save_CXXFLAGS
11607 elif test $ac_cv_prog_cxx_g = yes; then
11608 if test "$GXX" = yes; then
11614 if test "$GXX" = yes; then
11620 for ac_declaration
in \
11622 'extern "C" void std::exit (int) throw (); using std::exit;' \
11623 'extern "C" void std::exit (int); using std::exit;' \
11624 'extern "C" void exit (int) throw ();' \
11625 'extern "C" void exit (int);' \
11628 cat >conftest.
$ac_ext <<_ACEOF
11631 cat confdefs.h
>>conftest.
$ac_ext
11632 cat >>conftest.
$ac_ext <<_ACEOF
11633 /* end confdefs.h. */
11635 #include <stdlib.h>
11644 rm -f conftest.
$ac_objext
11645 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11646 (eval $ac_compile) 2>conftest.er1
11648 grep -v '^ *+' conftest.er1
>conftest.err
11650 cat conftest.err
>&5
11651 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11652 (exit $ac_status); } &&
11653 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
11654 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11655 (eval $ac_try) 2>&5
11657 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11658 (exit $ac_status); }; } &&
11659 { ac_try
='test -s conftest.$ac_objext'
11660 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11661 (eval $ac_try) 2>&5
11663 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11664 (exit $ac_status); }; }; then
11667 echo "$as_me: failed program was:" >&5
11668 sed 's/^/| /' conftest.
$ac_ext >&5
11672 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11673 cat >conftest.
$ac_ext <<_ACEOF
11676 cat confdefs.h
>>conftest.
$ac_ext
11677 cat >>conftest.
$ac_ext <<_ACEOF
11678 /* end confdefs.h. */
11688 rm -f conftest.
$ac_objext
11689 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11690 (eval $ac_compile) 2>conftest.er1
11692 grep -v '^ *+' conftest.er1
>conftest.err
11694 cat conftest.err
>&5
11695 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11696 (exit $ac_status); } &&
11697 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
11698 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11699 (eval $ac_try) 2>&5
11701 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11702 (exit $ac_status); }; } &&
11703 { ac_try
='test -s conftest.$ac_objext'
11704 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11705 (eval $ac_try) 2>&5
11707 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11708 (exit $ac_status); }; }; then
11711 echo "$as_me: failed program was:" >&5
11712 sed 's/^/| /' conftest.
$ac_ext >&5
11715 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11718 if test -n "$ac_declaration"; then
11719 echo '#ifdef __cplusplus' >>confdefs.h
11720 echo $ac_declaration >>confdefs.h
11721 echo '#endif' >>confdefs.h
11725 ac_cpp
='$CXXCPP $CPPFLAGS'
11726 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11727 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11728 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
11732 ac_cpp
='$CPP $CPPFLAGS'
11733 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11734 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11735 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
11738 echo "$as_me:$LINENO: checking for /usr/local/include in default include path" >&5
11739 echo $ECHO_N "checking for /usr/local/include in default include path... $ECHO_C" >&6
11740 GCC_SEARCHES_USR_LOCAL_INCLUDE
="no"
11741 if test "$GCC" = "yes" ; then
11742 echo | gcc
-v -x c
++ -E - 2>&1 | sed -n '/^#include </,$p' | \
11743 sed -n '1,/End of search list\./p' | \
11744 grep '^ */usr/local/include$' 2>&1 /dev
/null \
11745 && GCC_SEARCHES_USR_LOCAL_INCLUDE
="yes"
11747 echo "$as_me:$LINENO: result: $GCC_SEARCHES_USR_LOCAL_INCLUDE" >&5
11748 echo "${ECHO_T}$GCC_SEARCHES_USR_LOCAL_INCLUDE" >&6
11750 if test -n "$ac_tool_prefix"; then
11751 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
11752 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
11753 echo "$as_me:$LINENO: checking for $ac_word" >&5
11754 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11755 if test "${ac_cv_prog_RANLIB+set}" = set; then
11756 echo $ECHO_N "(cached) $ECHO_C" >&6
11758 if test -n "$RANLIB"; then
11759 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
11761 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11762 for as_dir
in $PATH
11765 test -z "$as_dir" && as_dir
=.
11766 for ac_exec_ext
in '' $ac_executable_extensions; do
11767 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11768 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
11769 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11777 RANLIB
=$ac_cv_prog_RANLIB
11778 if test -n "$RANLIB"; then
11779 echo "$as_me:$LINENO: result: $RANLIB" >&5
11780 echo "${ECHO_T}$RANLIB" >&6
11782 echo "$as_me:$LINENO: result: no" >&5
11783 echo "${ECHO_T}no" >&6
11787 if test -z "$ac_cv_prog_RANLIB"; then
11788 ac_ct_RANLIB
=$RANLIB
11789 # Extract the first word of "ranlib", so it can be a program name with args.
11790 set dummy ranlib
; ac_word
=$2
11791 echo "$as_me:$LINENO: checking for $ac_word" >&5
11792 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11793 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
11794 echo $ECHO_N "(cached) $ECHO_C" >&6
11796 if test -n "$ac_ct_RANLIB"; then
11797 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
11799 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11800 for as_dir
in $PATH
11803 test -z "$as_dir" && as_dir
=.
11804 for ac_exec_ext
in '' $ac_executable_extensions; do
11805 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11806 ac_cv_prog_ac_ct_RANLIB
="ranlib"
11807 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11813 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB
=":"
11816 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
11817 if test -n "$ac_ct_RANLIB"; then
11818 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
11819 echo "${ECHO_T}$ac_ct_RANLIB" >&6
11821 echo "$as_me:$LINENO: result: no" >&5
11822 echo "${ECHO_T}no" >&6
11825 RANLIB
=$ac_ct_RANLIB
11827 RANLIB
="$ac_cv_prog_RANLIB"
11831 # Extract the first word of "ar", so it can be a program name with args.
11832 set dummy
ar; ac_word
=$2
11833 echo "$as_me:$LINENO: checking for $ac_word" >&5
11834 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11835 if test "${ac_cv_prog_AR+set}" = set; then
11836 echo $ECHO_N "(cached) $ECHO_C" >&6
11838 if test -n "$AR"; then
11839 ac_cv_prog_AR
="$AR" # Let the user override the test.
11841 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11842 for as_dir
in $PATH
11845 test -z "$as_dir" && as_dir
=.
11846 for ac_exec_ext
in '' $ac_executable_extensions; do
11847 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11849 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11858 if test -n "$AR"; then
11859 echo "$as_me:$LINENO: result: $AR" >&5
11860 echo "${ECHO_T}$AR" >&6
11862 echo "$as_me:$LINENO: result: no" >&5
11863 echo "${ECHO_T}no" >&6
11866 if test "x$AR" = "x" ; then
11867 { { echo "$as_me:$LINENO: error: ar is needed to build wxWindows" >&5
11868 echo "$as_me: error: ar is needed to build wxWindows" >&2;}
11869 { (exit 1); exit 1; }; }
11872 # Find a good install program. We prefer a C program (faster),
11873 # so one script is as good as another. But avoid the broken or
11874 # incompatible versions:
11875 # SysV /etc/install, /usr/sbin/install
11876 # SunOS /usr/etc/install
11877 # IRIX /sbin/install
11879 # AmigaOS /C/install, which installs bootblocks on floppy discs
11880 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
11881 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
11882 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
11883 # OS/2's system install, which has a completely different semantic
11884 # ./install, which can be erroneously created by make from ./install.sh.
11885 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
11886 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
11887 if test -z "$INSTALL"; then
11888 if test "${ac_cv_path_install+set}" = set; then
11889 echo $ECHO_N "(cached) $ECHO_C" >&6
11891 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11892 for as_dir
in $PATH
11895 test -z "$as_dir" && as_dir
=.
11896 # Account for people who put trailing slashes in PATH elements.
11898 .
/ | .
// | /cC
/* | \
11899 /etc
/* | /usr
/sbin
/* | /usr
/etc
/* | /sbin
/* | /usr
/afsws
/bin
/* | \
11900 ?
:\\/os2
\\/install\\/* | ?
:\\/OS2
\\/INSTALL
\\/* | \
11903 # OSF1 and SCO ODT 3.0 have their own names for install.
11904 # Don't use installbsd from OSF since it installs stuff as root
11906 for ac_prog
in ginstall scoinst
install; do
11907 for ac_exec_ext
in '' $ac_executable_extensions; do
11908 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
11909 if test $ac_prog = install &&
11910 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
11911 # AIX install. It has an incompatible calling convention.
11913 elif test $ac_prog = install &&
11914 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
11915 # program-specific install script used by HP pwplus--don't use.
11918 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
11930 if test "${ac_cv_path_install+set}" = set; then
11931 INSTALL
=$ac_cv_path_install
11933 # As a last resort, use the slow shell script. We don't cache a
11934 # path for INSTALL within a source directory, because that will
11935 # break other packages using the cache if that directory is
11936 # removed, or if the path is relative.
11937 INSTALL
=$ac_install_sh
11940 echo "$as_me:$LINENO: result: $INSTALL" >&5
11941 echo "${ECHO_T}$INSTALL" >&6
11943 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
11944 # It thinks the first close brace ends the variable substitution.
11945 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
11947 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
11949 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
11955 ?
:* ) # Drive letter, considered as absolute.
11958 INSTALL
=`pwd`/${INSTALL} ;;
11963 INSTALL_DIR
="mkdir"
11966 *) INSTALL_DIR
="$INSTALL -d"
11973 powerpc
-*-darwin* )
11974 INSTALL_PROGRAM
="cp -fp"
11975 INSTALL_DATA
="cp -fp"
11981 # Extract the first word of "strip", so it can be a program name with args.
11982 set dummy strip
; ac_word
=$2
11983 echo "$as_me:$LINENO: checking for $ac_word" >&5
11984 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11985 if test "${ac_cv_prog_STRIP+set}" = set; then
11986 echo $ECHO_N "(cached) $ECHO_C" >&6
11988 if test -n "$STRIP"; then
11989 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
11991 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11992 for as_dir
in $PATH
11995 test -z "$as_dir" && as_dir
=.
11996 for ac_exec_ext
in '' $ac_executable_extensions; do
11997 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11998 ac_cv_prog_STRIP
="strip"
11999 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12005 test -z "$ac_cv_prog_STRIP" && ac_cv_prog_STRIP
="true"
12008 STRIP
=$ac_cv_prog_STRIP
12009 if test -n "$STRIP"; then
12010 echo "$as_me:$LINENO: result: $STRIP" >&5
12011 echo "${ECHO_T}$STRIP" >&6
12013 echo "$as_me:$LINENO: result: no" >&5
12014 echo "${ECHO_T}no" >&6
12018 echo "$as_me:$LINENO: checking if make is GNU make" >&5
12019 echo $ECHO_N "checking if make is GNU make... $ECHO_C" >&6
12020 if test "${wx_cv_prog_makeisgnu+set}" = set; then
12021 echo $ECHO_N "(cached) $ECHO_C" >&6
12024 if ( ${SHELL-sh} -c "${MAKE-make} --version" 2> /dev
/null
|
12025 egrep -s GNU
> /dev
/null
); then
12026 wx_cv_prog_makeisgnu
="yes"
12028 wx_cv_prog_makeisgnu
="no"
12032 echo "$as_me:$LINENO: result: $wx_cv_prog_makeisgnu" >&5
12033 echo "${ECHO_T}$wx_cv_prog_makeisgnu" >&6
12035 if test "x$wx_cv_prog_makeisgnu" = "xyes"; then
12043 if test "x$wx_cv_prog_makeisgnu" != "xyes"; then
12044 echo "$as_me:$LINENO: checking if make supports VPATH" >&5
12045 echo $ECHO_N "checking if make supports VPATH... $ECHO_C" >&6
12046 if test "${wx_cv_prog_makevpath+set}" = set; then
12047 echo $ECHO_N "(cached) $ECHO_C" >&6
12050 cat - << EOF > confMake
12056 if test ! -d sub
; then
12059 echo dummy
> sub
/file
12060 ${MAKE-make} -f confMake VPATH
=sub
2>&5 > /dev
/null
12062 rm -f sub
/file check final_file confMake
12064 if test "$RESULT" = 0; then
12065 wx_cv_prog_makevpath
="yes"
12067 wx_cv_prog_makevpath
="no"
12071 echo "$as_me:$LINENO: result: $wx_cv_prog_makevpath" >&5
12072 echo "${ECHO_T}$wx_cv_prog_makevpath" >&6
12074 if test "x$wx_cv_prog_makevpath" != "xyes"; then
12075 { { echo "$as_me:$LINENO: error:
12076 You need a make-utility that is able to use the variable
12078 If your version of make does not support VPATH correctly,
12079 please install GNU-make (possibly as gmake), and start
12080 configure with the following command:
12081 export MAKE=gmake; ./configure for sh-type shells
12082 setenv MAKE gmake; ./configure for csh-type shells
12083 Also please do remember to use gmake in this case every time
12084 you are trying to compile.
12086 echo "$as_me: error:
12087 You need a make-utility that is able to use the variable
12089 If your version of make does not support VPATH correctly,
12090 please install GNU-make (possibly as gmake), and start
12091 configure with the following command:
12092 export MAKE=gmake; ./configure for sh-type shells
12093 setenv MAKE gmake; ./configure for csh-type shells
12094 Also please do remember to use gmake in this case every time
12095 you are trying to compile.
12097 { (exit 1); exit 1; }; }
12099 echo "$as_me:$LINENO: checking whether ln -s works" >&5
12100 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
12102 if test "$LN_S" = "ln -s"; then
12103 echo "$as_me:$LINENO: result: yes" >&5
12104 echo "${ECHO_T}yes" >&6
12106 echo "$as_me:$LINENO: result: no, using $LN_S" >&5
12107 echo "${ECHO_T}no, using $LN_S" >&6
12113 *-pc-os2_emx | *-pc-os2-emx )
12114 if test "$wxUSE_MOTIF" = 1 -o "$wxUSE_GTK" = 1 -o "$wxUSE_X11" = 1; then
12115 echo "$as_me:$LINENO: checking for drand48 in -lcExt" >&5
12116 echo $ECHO_N "checking for drand48 in -lcExt... $ECHO_C" >&6
12117 if test "${ac_cv_lib_cExt_drand48+set}" = set; then
12118 echo $ECHO_N "(cached) $ECHO_C" >&6
12120 ac_check_lib_save_LIBS
=$LIBS
12121 LIBS
="-lcExt $LIBS"
12122 cat >conftest.
$ac_ext <<_ACEOF
12125 cat confdefs.h
>>conftest.
$ac_ext
12126 cat >>conftest.
$ac_ext <<_ACEOF
12127 /* end confdefs.h. */
12129 /* Override any gcc2 internal prototype to avoid an error. */
12133 /* We use char because int might match the return type of a gcc2
12134 builtin and then its argument prototype would still apply. */
12144 rm -f conftest.
$ac_objext conftest
$ac_exeext
12145 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12146 (eval $ac_link) 2>conftest.er1
12148 grep -v '^ *+' conftest.er1
>conftest.err
12150 cat conftest.err
>&5
12151 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12152 (exit $ac_status); } &&
12153 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12154 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12155 (eval $ac_try) 2>&5
12157 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12158 (exit $ac_status); }; } &&
12159 { ac_try
='test -s conftest$ac_exeext'
12160 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12161 (eval $ac_try) 2>&5
12163 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12164 (exit $ac_status); }; }; then
12165 ac_cv_lib_cExt_drand48
=yes
12167 echo "$as_me: failed program was:" >&5
12168 sed 's/^/| /' conftest.
$ac_ext >&5
12170 ac_cv_lib_cExt_drand48
=no
12172 rm -f conftest.err conftest.
$ac_objext \
12173 conftest
$ac_exeext conftest.
$ac_ext
12174 LIBS
=$ac_check_lib_save_LIBS
12176 echo "$as_me:$LINENO: result: $ac_cv_lib_cExt_drand48" >&5
12177 echo "${ECHO_T}$ac_cv_lib_cExt_drand48" >&6
12178 if test $ac_cv_lib_cExt_drand48 = yes; then
12179 LIBS
="$LIBS -lcExt"
12183 RESPROGRAMOBJ
="\${top_srcdir}/include/wx/os2/wx.res"
12185 echo "$as_me:$LINENO: checking for gcc version" >&5
12186 echo $ECHO_N "checking for gcc version... $ECHO_C" >&6
12187 if test "${wx_cv_gccversion+set}" = set; then
12188 echo $ECHO_N "(cached) $ECHO_C" >&6
12191 cat >conftest.
$ac_ext <<_ACEOF
12194 cat confdefs.h
>>conftest.
$ac_ext
12195 cat >>conftest.
$ac_ext <<_ACEOF
12196 /* end confdefs.h. */
12210 rm -f conftest.
$ac_objext
12211 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12212 (eval $ac_compile) 2>conftest.er1
12214 grep -v '^ *+' conftest.er1
>conftest.err
12216 cat conftest.err
>&5
12217 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12218 (exit $ac_status); } &&
12219 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12220 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12221 (eval $ac_try) 2>&5
12223 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12224 (exit $ac_status); }; } &&
12225 { ac_try
='test -s conftest.$ac_objext'
12226 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12227 (eval $ac_try) 2>&5
12229 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12230 (exit $ac_status); }; }; then
12232 cat >conftest.
$ac_ext <<_ACEOF
12235 cat confdefs.h
>>conftest.
$ac_ext
12236 cat >>conftest.
$ac_ext <<_ACEOF
12237 /* end confdefs.h. */
12243 #if (__GNUC__==3) && ((__GNUC_MINOR__ < 2) || ((__GNUC_MINOR__==2) && (__GNUC_PATCHLEVEL__<2)))
12244 #error intermediate gcc
12251 rm -f conftest.
$ac_objext
12252 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12253 (eval $ac_compile) 2>conftest.er1
12255 grep -v '^ *+' conftest.er1
>conftest.err
12257 cat conftest.err
>&5
12258 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12259 (exit $ac_status); } &&
12260 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12261 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12262 (eval $ac_try) 2>&5
12264 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12265 (exit $ac_status); }; } &&
12266 { ac_try
='test -s conftest.$ac_objext'
12267 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12268 (eval $ac_try) 2>&5
12270 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12271 (exit $ac_status); }; }; then
12273 wx_cv_gccversion
=Innotek
12276 echo "$as_me: failed program was:" >&5
12277 sed 's/^/| /' conftest.
$ac_ext >&5
12284 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12287 echo "$as_me: failed program was:" >&5
12288 sed 's/^/| /' conftest.
$ac_ext >&5
12295 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12298 echo "$as_me:$LINENO: result: $wx_cv_gccversion" >&5
12299 echo "${ECHO_T}$wx_cv_gccversion" >&6
12300 if test "$wx_cv_gccversion" = "2"; then
12301 LIBS
="$LIBS -lstdcpp"
12302 LDFLAGS
="$LDFLAGS -Zsysv-signals"
12304 if test "$wx_cv_gccversion" = "3"; then
12305 LIBS
="$LIBS -lstdcxx"
12306 LDFLAGS
="$LDFLAGS -Zsysv-signals"
12308 LIBS
="$LIBS -lstdc++"
12311 if test "$wxUSE_OMF" = "yes"; then
12312 LDFLAGS
="$LDFLAGS -Zlinker /PMTYPE:PM -Zlinker /EXEPACK"
12320 ac_cpp
='$CXXCPP $CPPFLAGS'
12321 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12322 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12323 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
12327 echo "$as_me:$LINENO: checking for strcasecmp() in string.h" >&5
12328 echo $ECHO_N "checking for strcasecmp() in string.h... $ECHO_C" >&6
12329 if test "${ac_cv_string_strcasecmp+set}" = set; then
12330 echo $ECHO_N "(cached) $ECHO_C" >&6
12333 cat >conftest.
$ac_ext <<_ACEOF
12336 cat confdefs.h
>>conftest.
$ac_ext
12337 cat >>conftest.
$ac_ext <<_ACEOF
12338 /* end confdefs.h. */
12340 #include <string.h>
12346 strcasecmp("foo", "bar");
12352 rm -f conftest.
$ac_objext conftest
$ac_exeext
12353 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12354 (eval $ac_link) 2>conftest.er1
12356 grep -v '^ *+' conftest.er1
>conftest.err
12358 cat conftest.err
>&5
12359 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12360 (exit $ac_status); } &&
12361 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
12362 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12363 (eval $ac_try) 2>&5
12365 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12366 (exit $ac_status); }; } &&
12367 { ac_try
='test -s conftest$ac_exeext'
12368 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12369 (eval $ac_try) 2>&5
12371 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12372 (exit $ac_status); }; }; then
12373 ac_cv_string_strcasecmp
=yes
12375 echo "$as_me: failed program was:" >&5
12376 sed 's/^/| /' conftest.
$ac_ext >&5
12378 ac_cv_string_strcasecmp
=no
12381 rm -f conftest.err conftest.
$ac_objext \
12382 conftest
$ac_exeext conftest.
$ac_ext
12385 echo "$as_me:$LINENO: result: $ac_cv_string_strcasecmp" >&5
12386 echo "${ECHO_T}$ac_cv_string_strcasecmp" >&6
12388 if test x
"$ac_cv_string_strcasecmp" = "xyes"; then
12389 cat >>confdefs.h
<<\_ACEOF
12390 #define HAVE_STRCASECMP_IN_STRING_H 1
12394 echo "$as_me:$LINENO: checking for strcasecmp() in strings.h" >&5
12395 echo $ECHO_N "checking for strcasecmp() in strings.h... $ECHO_C" >&6
12396 if test "${ac_cv_strings_strcasecmp+set}" = set; then
12397 echo $ECHO_N "(cached) $ECHO_C" >&6
12400 cat >conftest.
$ac_ext <<_ACEOF
12403 cat confdefs.h
>>conftest.
$ac_ext
12404 cat >>conftest.
$ac_ext <<_ACEOF
12405 /* end confdefs.h. */
12407 #include <strings.h>
12413 strcasecmp("foo", "bar");
12419 rm -f conftest.
$ac_objext conftest
$ac_exeext
12420 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12421 (eval $ac_link) 2>conftest.er1
12423 grep -v '^ *+' conftest.er1
>conftest.err
12425 cat conftest.err
>&5
12426 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12427 (exit $ac_status); } &&
12428 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
12429 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12430 (eval $ac_try) 2>&5
12432 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12433 (exit $ac_status); }; } &&
12434 { ac_try
='test -s conftest$ac_exeext'
12435 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12436 (eval $ac_try) 2>&5
12438 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12439 (exit $ac_status); }; }; then
12440 ac_cv_strings_strcasecmp
=yes
12442 echo "$as_me: failed program was:" >&5
12443 sed 's/^/| /' conftest.
$ac_ext >&5
12445 ac_cv_strings_strcasecmp
=no
12448 rm -f conftest.err conftest.
$ac_objext \
12449 conftest
$ac_exeext conftest.
$ac_ext
12452 echo "$as_me:$LINENO: result: $ac_cv_strings_strcasecmp" >&5
12453 echo "${ECHO_T}$ac_cv_strings_strcasecmp" >&6
12455 if test x
"$ac_cv_string_strcasecmp" = "xyes"; then
12456 cat >>confdefs.h
<<\_ACEOF
12457 #define HAVE_STRCASECMP_IN_STRINGS_H 1
12461 { { echo "$as_me:$LINENO: error: No case-insensitive string comparison function found." >&5
12462 echo "$as_me: error: No case-insensitive string comparison function found." >&2;}
12463 { (exit 1); exit 1; }; }
12468 ac_cpp
='$CPP $CPPFLAGS'
12469 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12470 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12471 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
12477 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
12478 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
12479 if test "${ac_cv_header_stdc+set}" = set; then
12480 echo $ECHO_N "(cached) $ECHO_C" >&6
12482 cat >conftest.
$ac_ext <<_ACEOF
12485 cat confdefs.h
>>conftest.
$ac_ext
12486 cat >>conftest.
$ac_ext <<_ACEOF
12487 /* end confdefs.h. */
12488 #include <stdlib.h>
12489 #include <stdarg.h>
12490 #include <string.h>
12501 rm -f conftest.
$ac_objext
12502 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12503 (eval $ac_compile) 2>conftest.er1
12505 grep -v '^ *+' conftest.er1
>conftest.err
12507 cat conftest.err
>&5
12508 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12509 (exit $ac_status); } &&
12510 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12511 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12512 (eval $ac_try) 2>&5
12514 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12515 (exit $ac_status); }; } &&
12516 { ac_try
='test -s conftest.$ac_objext'
12517 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12518 (eval $ac_try) 2>&5
12520 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12521 (exit $ac_status); }; }; then
12522 ac_cv_header_stdc
=yes
12524 echo "$as_me: failed program was:" >&5
12525 sed 's/^/| /' conftest.
$ac_ext >&5
12527 ac_cv_header_stdc
=no
12529 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12531 if test $ac_cv_header_stdc = yes; then
12532 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
12533 cat >conftest.
$ac_ext <<_ACEOF
12536 cat confdefs.h
>>conftest.
$ac_ext
12537 cat >>conftest.
$ac_ext <<_ACEOF
12538 /* end confdefs.h. */
12539 #include <string.h>
12542 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
12543 $EGREP "memchr" >/dev
/null
2>&1; then
12546 ac_cv_header_stdc
=no
12552 if test $ac_cv_header_stdc = yes; then
12553 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
12554 cat >conftest.
$ac_ext <<_ACEOF
12557 cat confdefs.h
>>conftest.
$ac_ext
12558 cat >>conftest.
$ac_ext <<_ACEOF
12559 /* end confdefs.h. */
12560 #include <stdlib.h>
12563 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
12564 $EGREP "free" >/dev
/null
2>&1; then
12567 ac_cv_header_stdc
=no
12573 if test $ac_cv_header_stdc = yes; then
12574 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
12575 if test "$cross_compiling" = yes; then
12578 cat >conftest.
$ac_ext <<_ACEOF
12581 cat confdefs.h
>>conftest.
$ac_ext
12582 cat >>conftest.
$ac_ext <<_ACEOF
12583 /* end confdefs.h. */
12585 #if ((' ' & 0x0FF) == 0x020)
12586 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
12587 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
12589 # define ISLOWER(c) \
12590 (('a' <= (c) && (c) <= 'i') \
12591 || ('j' <= (c) && (c) <= 'r') \
12592 || ('s' <= (c) && (c) <= 'z'))
12593 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
12596 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
12601 for (i = 0; i < 256; i++)
12602 if (XOR (islower (i), ISLOWER (i))
12603 || toupper (i) != TOUPPER (i))
12608 rm -f conftest
$ac_exeext
12609 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12610 (eval $ac_link) 2>&5
12612 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12613 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
12614 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12615 (eval $ac_try) 2>&5
12617 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12618 (exit $ac_status); }; }; then
12621 echo "$as_me: program exited with status $ac_status" >&5
12622 echo "$as_me: failed program was:" >&5
12623 sed 's/^/| /' conftest.
$ac_ext >&5
12625 ( exit $ac_status )
12626 ac_cv_header_stdc
=no
12628 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
12632 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
12633 echo "${ECHO_T}$ac_cv_header_stdc" >&6
12634 if test $ac_cv_header_stdc = yes; then
12636 cat >>confdefs.h
<<\_ACEOF
12637 #define STDC_HEADERS 1
12642 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
12652 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
12653 inttypes.h stdint.h unistd.h
12655 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
12656 echo "$as_me:$LINENO: checking for $ac_header" >&5
12657 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12658 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12659 echo $ECHO_N "(cached) $ECHO_C" >&6
12661 cat >conftest.
$ac_ext <<_ACEOF
12664 cat confdefs.h
>>conftest.
$ac_ext
12665 cat >>conftest.
$ac_ext <<_ACEOF
12666 /* end confdefs.h. */
12667 $ac_includes_default
12669 #include <$ac_header>
12671 rm -f conftest.
$ac_objext
12672 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12673 (eval $ac_compile) 2>conftest.er1
12675 grep -v '^ *+' conftest.er1
>conftest.err
12677 cat conftest.err
>&5
12678 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12679 (exit $ac_status); } &&
12680 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12681 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12682 (eval $ac_try) 2>&5
12684 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12685 (exit $ac_status); }; } &&
12686 { ac_try
='test -s conftest.$ac_objext'
12687 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12688 (eval $ac_try) 2>&5
12690 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12691 (exit $ac_status); }; }; then
12692 eval "$as_ac_Header=yes"
12694 echo "$as_me: failed program was:" >&5
12695 sed 's/^/| /' conftest.
$ac_ext >&5
12697 eval "$as_ac_Header=no"
12699 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12701 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12702 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12703 if test `eval echo '${'$as_ac_Header'}'` = yes; then
12704 cat >>confdefs.h
<<_ACEOF
12705 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
12714 for ac_header
in stdlib.h
12716 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
12717 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12718 echo "$as_me:$LINENO: checking for $ac_header" >&5
12719 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12720 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12721 echo $ECHO_N "(cached) $ECHO_C" >&6
12723 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12724 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12726 # Is the header compilable?
12727 echo "$as_me:$LINENO: checking $ac_header usability" >&5
12728 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
12729 cat >conftest.
$ac_ext <<_ACEOF
12732 cat confdefs.h
>>conftest.
$ac_ext
12733 cat >>conftest.
$ac_ext <<_ACEOF
12734 /* end confdefs.h. */
12735 $ac_includes_default
12736 #include <$ac_header>
12738 rm -f conftest.
$ac_objext
12739 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12740 (eval $ac_compile) 2>conftest.er1
12742 grep -v '^ *+' conftest.er1
>conftest.err
12744 cat conftest.err
>&5
12745 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12746 (exit $ac_status); } &&
12747 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12748 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12749 (eval $ac_try) 2>&5
12751 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12752 (exit $ac_status); }; } &&
12753 { ac_try
='test -s conftest.$ac_objext'
12754 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12755 (eval $ac_try) 2>&5
12757 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12758 (exit $ac_status); }; }; then
12759 ac_header_compiler
=yes
12761 echo "$as_me: failed program was:" >&5
12762 sed 's/^/| /' conftest.
$ac_ext >&5
12764 ac_header_compiler
=no
12766 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12767 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
12768 echo "${ECHO_T}$ac_header_compiler" >&6
12770 # Is the header present?
12771 echo "$as_me:$LINENO: checking $ac_header presence" >&5
12772 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
12773 cat >conftest.
$ac_ext <<_ACEOF
12776 cat confdefs.h
>>conftest.
$ac_ext
12777 cat >>conftest.
$ac_ext <<_ACEOF
12778 /* end confdefs.h. */
12779 #include <$ac_header>
12781 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
12782 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
12784 grep -v '^ *+' conftest.er1
>conftest.err
12786 cat conftest.err
>&5
12787 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12788 (exit $ac_status); } >/dev
/null
; then
12789 if test -s conftest.err
; then
12790 ac_cpp_err
=$ac_c_preproc_warn_flag
12791 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
12798 if test -z "$ac_cpp_err"; then
12799 ac_header_preproc
=yes
12801 echo "$as_me: failed program was:" >&5
12802 sed 's/^/| /' conftest.
$ac_ext >&5
12804 ac_header_preproc
=no
12806 rm -f conftest.err conftest.
$ac_ext
12807 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
12808 echo "${ECHO_T}$ac_header_preproc" >&6
12810 # So? What about this header?
12811 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
12813 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
12814 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
12815 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
12816 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
12817 ac_header_preproc
=yes
12820 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
12821 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
12822 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
12823 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
12824 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
12825 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
12826 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
12827 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
12828 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12829 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
12830 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
12831 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
12834 ## ----------------------------------------- ##
12835 ## Report this to wx-dev@lists.wxwindows.org ##
12836 ## ----------------------------------------- ##
12839 sed "s/^/$as_me: WARNING: /" >&2
12842 echo "$as_me:$LINENO: checking for $ac_header" >&5
12843 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12844 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12845 echo $ECHO_N "(cached) $ECHO_C" >&6
12847 eval "$as_ac_Header=\$ac_header_preproc"
12849 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12850 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12853 if test `eval echo '${'$as_ac_Header'}'` = yes; then
12854 cat >>confdefs.h
<<_ACEOF
12855 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
12863 for ac_header
in malloc.h
12865 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
12866 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12867 echo "$as_me:$LINENO: checking for $ac_header" >&5
12868 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12869 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12870 echo $ECHO_N "(cached) $ECHO_C" >&6
12872 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12873 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12875 # Is the header compilable?
12876 echo "$as_me:$LINENO: checking $ac_header usability" >&5
12877 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
12878 cat >conftest.
$ac_ext <<_ACEOF
12881 cat confdefs.h
>>conftest.
$ac_ext
12882 cat >>conftest.
$ac_ext <<_ACEOF
12883 /* end confdefs.h. */
12884 $ac_includes_default
12885 #include <$ac_header>
12887 rm -f conftest.
$ac_objext
12888 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12889 (eval $ac_compile) 2>conftest.er1
12891 grep -v '^ *+' conftest.er1
>conftest.err
12893 cat conftest.err
>&5
12894 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12895 (exit $ac_status); } &&
12896 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12897 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12898 (eval $ac_try) 2>&5
12900 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12901 (exit $ac_status); }; } &&
12902 { ac_try
='test -s conftest.$ac_objext'
12903 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12904 (eval $ac_try) 2>&5
12906 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12907 (exit $ac_status); }; }; then
12908 ac_header_compiler
=yes
12910 echo "$as_me: failed program was:" >&5
12911 sed 's/^/| /' conftest.
$ac_ext >&5
12913 ac_header_compiler
=no
12915 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12916 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
12917 echo "${ECHO_T}$ac_header_compiler" >&6
12919 # Is the header present?
12920 echo "$as_me:$LINENO: checking $ac_header presence" >&5
12921 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
12922 cat >conftest.
$ac_ext <<_ACEOF
12925 cat confdefs.h
>>conftest.
$ac_ext
12926 cat >>conftest.
$ac_ext <<_ACEOF
12927 /* end confdefs.h. */
12928 #include <$ac_header>
12930 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
12931 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
12933 grep -v '^ *+' conftest.er1
>conftest.err
12935 cat conftest.err
>&5
12936 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12937 (exit $ac_status); } >/dev
/null
; then
12938 if test -s conftest.err
; then
12939 ac_cpp_err
=$ac_c_preproc_warn_flag
12940 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
12947 if test -z "$ac_cpp_err"; then
12948 ac_header_preproc
=yes
12950 echo "$as_me: failed program was:" >&5
12951 sed 's/^/| /' conftest.
$ac_ext >&5
12953 ac_header_preproc
=no
12955 rm -f conftest.err conftest.
$ac_ext
12956 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
12957 echo "${ECHO_T}$ac_header_preproc" >&6
12959 # So? What about this header?
12960 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
12962 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
12963 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
12964 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
12965 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
12966 ac_header_preproc
=yes
12969 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
12970 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
12971 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
12972 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
12973 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
12974 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
12975 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
12976 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
12977 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12978 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
12979 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
12980 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
12983 ## ----------------------------------------- ##
12984 ## Report this to wx-dev@lists.wxwindows.org ##
12985 ## ----------------------------------------- ##
12988 sed "s/^/$as_me: WARNING: /" >&2
12991 echo "$as_me:$LINENO: checking for $ac_header" >&5
12992 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12993 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12994 echo $ECHO_N "(cached) $ECHO_C" >&6
12996 eval "$as_ac_Header=\$ac_header_preproc"
12998 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12999 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13002 if test `eval echo '${'$as_ac_Header'}'` = yes; then
13003 cat >>confdefs.h
<<_ACEOF
13004 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
13012 for ac_header
in unistd.h
13014 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
13015 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13016 echo "$as_me:$LINENO: checking for $ac_header" >&5
13017 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13018 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13019 echo $ECHO_N "(cached) $ECHO_C" >&6
13021 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13022 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13024 # Is the header compilable?
13025 echo "$as_me:$LINENO: checking $ac_header usability" >&5
13026 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
13027 cat >conftest.
$ac_ext <<_ACEOF
13030 cat confdefs.h
>>conftest.
$ac_ext
13031 cat >>conftest.
$ac_ext <<_ACEOF
13032 /* end confdefs.h. */
13033 $ac_includes_default
13034 #include <$ac_header>
13036 rm -f conftest.
$ac_objext
13037 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13038 (eval $ac_compile) 2>conftest.er1
13040 grep -v '^ *+' conftest.er1
>conftest.err
13042 cat conftest.err
>&5
13043 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13044 (exit $ac_status); } &&
13045 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13046 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13047 (eval $ac_try) 2>&5
13049 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13050 (exit $ac_status); }; } &&
13051 { ac_try
='test -s conftest.$ac_objext'
13052 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13053 (eval $ac_try) 2>&5
13055 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13056 (exit $ac_status); }; }; then
13057 ac_header_compiler
=yes
13059 echo "$as_me: failed program was:" >&5
13060 sed 's/^/| /' conftest.
$ac_ext >&5
13062 ac_header_compiler
=no
13064 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13065 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
13066 echo "${ECHO_T}$ac_header_compiler" >&6
13068 # Is the header present?
13069 echo "$as_me:$LINENO: checking $ac_header presence" >&5
13070 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
13071 cat >conftest.
$ac_ext <<_ACEOF
13074 cat confdefs.h
>>conftest.
$ac_ext
13075 cat >>conftest.
$ac_ext <<_ACEOF
13076 /* end confdefs.h. */
13077 #include <$ac_header>
13079 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
13080 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
13082 grep -v '^ *+' conftest.er1
>conftest.err
13084 cat conftest.err
>&5
13085 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13086 (exit $ac_status); } >/dev
/null
; then
13087 if test -s conftest.err
; then
13088 ac_cpp_err
=$ac_c_preproc_warn_flag
13089 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
13096 if test -z "$ac_cpp_err"; then
13097 ac_header_preproc
=yes
13099 echo "$as_me: failed program was:" >&5
13100 sed 's/^/| /' conftest.
$ac_ext >&5
13102 ac_header_preproc
=no
13104 rm -f conftest.err conftest.
$ac_ext
13105 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
13106 echo "${ECHO_T}$ac_header_preproc" >&6
13108 # So? What about this header?
13109 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
13111 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
13112 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
13113 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
13114 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
13115 ac_header_preproc
=yes
13118 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
13119 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
13120 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
13121 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
13122 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
13123 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
13124 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
13125 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
13126 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
13127 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
13128 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
13129 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
13132 ## ----------------------------------------- ##
13133 ## Report this to wx-dev@lists.wxwindows.org ##
13134 ## ----------------------------------------- ##
13137 sed "s/^/$as_me: WARNING: /" >&2
13140 echo "$as_me:$LINENO: checking for $ac_header" >&5
13141 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13142 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13143 echo $ECHO_N "(cached) $ECHO_C" >&6
13145 eval "$as_ac_Header=\$ac_header_preproc"
13147 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13148 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13151 if test `eval echo '${'$as_ac_Header'}'` = yes; then
13152 cat >>confdefs.h
<<_ACEOF
13153 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
13161 for ac_header
in wchar.h
13163 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
13164 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13165 echo "$as_me:$LINENO: checking for $ac_header" >&5
13166 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13167 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13168 echo $ECHO_N "(cached) $ECHO_C" >&6
13170 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13171 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13173 # Is the header compilable?
13174 echo "$as_me:$LINENO: checking $ac_header usability" >&5
13175 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
13176 cat >conftest.
$ac_ext <<_ACEOF
13179 cat confdefs.h
>>conftest.
$ac_ext
13180 cat >>conftest.
$ac_ext <<_ACEOF
13181 /* end confdefs.h. */
13182 $ac_includes_default
13183 #include <$ac_header>
13185 rm -f conftest.
$ac_objext
13186 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13187 (eval $ac_compile) 2>conftest.er1
13189 grep -v '^ *+' conftest.er1
>conftest.err
13191 cat conftest.err
>&5
13192 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13193 (exit $ac_status); } &&
13194 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13195 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13196 (eval $ac_try) 2>&5
13198 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13199 (exit $ac_status); }; } &&
13200 { ac_try
='test -s conftest.$ac_objext'
13201 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13202 (eval $ac_try) 2>&5
13204 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13205 (exit $ac_status); }; }; then
13206 ac_header_compiler
=yes
13208 echo "$as_me: failed program was:" >&5
13209 sed 's/^/| /' conftest.
$ac_ext >&5
13211 ac_header_compiler
=no
13213 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13214 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
13215 echo "${ECHO_T}$ac_header_compiler" >&6
13217 # Is the header present?
13218 echo "$as_me:$LINENO: checking $ac_header presence" >&5
13219 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
13220 cat >conftest.
$ac_ext <<_ACEOF
13223 cat confdefs.h
>>conftest.
$ac_ext
13224 cat >>conftest.
$ac_ext <<_ACEOF
13225 /* end confdefs.h. */
13226 #include <$ac_header>
13228 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
13229 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
13231 grep -v '^ *+' conftest.er1
>conftest.err
13233 cat conftest.err
>&5
13234 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13235 (exit $ac_status); } >/dev
/null
; then
13236 if test -s conftest.err
; then
13237 ac_cpp_err
=$ac_c_preproc_warn_flag
13238 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
13245 if test -z "$ac_cpp_err"; then
13246 ac_header_preproc
=yes
13248 echo "$as_me: failed program was:" >&5
13249 sed 's/^/| /' conftest.
$ac_ext >&5
13251 ac_header_preproc
=no
13253 rm -f conftest.err conftest.
$ac_ext
13254 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
13255 echo "${ECHO_T}$ac_header_preproc" >&6
13257 # So? What about this header?
13258 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
13260 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
13261 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
13262 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
13263 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
13264 ac_header_preproc
=yes
13267 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
13268 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
13269 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
13270 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
13271 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
13272 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
13273 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
13274 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
13275 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
13276 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
13277 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
13278 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
13281 ## ----------------------------------------- ##
13282 ## Report this to wx-dev@lists.wxwindows.org ##
13283 ## ----------------------------------------- ##
13286 sed "s/^/$as_me: WARNING: /" >&2
13289 echo "$as_me:$LINENO: checking for $ac_header" >&5
13290 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13291 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13292 echo $ECHO_N "(cached) $ECHO_C" >&6
13294 eval "$as_ac_Header=\$ac_header_preproc"
13296 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13297 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13300 if test `eval echo '${'$as_ac_Header'}'` = yes; then
13301 cat >>confdefs.h
<<_ACEOF
13302 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
13310 if test "$ac_cv_header_wchar_h" != "yes"; then
13312 for ac_header
in wcstr.h
13314 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
13315 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13316 echo "$as_me:$LINENO: checking for $ac_header" >&5
13317 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13318 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13319 echo $ECHO_N "(cached) $ECHO_C" >&6
13321 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13322 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13324 # Is the header compilable?
13325 echo "$as_me:$LINENO: checking $ac_header usability" >&5
13326 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
13327 cat >conftest.
$ac_ext <<_ACEOF
13330 cat confdefs.h
>>conftest.
$ac_ext
13331 cat >>conftest.
$ac_ext <<_ACEOF
13332 /* end confdefs.h. */
13333 $ac_includes_default
13334 #include <$ac_header>
13336 rm -f conftest.
$ac_objext
13337 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13338 (eval $ac_compile) 2>conftest.er1
13340 grep -v '^ *+' conftest.er1
>conftest.err
13342 cat conftest.err
>&5
13343 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13344 (exit $ac_status); } &&
13345 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13346 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13347 (eval $ac_try) 2>&5
13349 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13350 (exit $ac_status); }; } &&
13351 { ac_try
='test -s conftest.$ac_objext'
13352 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13353 (eval $ac_try) 2>&5
13355 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13356 (exit $ac_status); }; }; then
13357 ac_header_compiler
=yes
13359 echo "$as_me: failed program was:" >&5
13360 sed 's/^/| /' conftest.
$ac_ext >&5
13362 ac_header_compiler
=no
13364 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13365 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
13366 echo "${ECHO_T}$ac_header_compiler" >&6
13368 # Is the header present?
13369 echo "$as_me:$LINENO: checking $ac_header presence" >&5
13370 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
13371 cat >conftest.
$ac_ext <<_ACEOF
13374 cat confdefs.h
>>conftest.
$ac_ext
13375 cat >>conftest.
$ac_ext <<_ACEOF
13376 /* end confdefs.h. */
13377 #include <$ac_header>
13379 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
13380 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
13382 grep -v '^ *+' conftest.er1
>conftest.err
13384 cat conftest.err
>&5
13385 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13386 (exit $ac_status); } >/dev
/null
; then
13387 if test -s conftest.err
; then
13388 ac_cpp_err
=$ac_c_preproc_warn_flag
13389 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
13396 if test -z "$ac_cpp_err"; then
13397 ac_header_preproc
=yes
13399 echo "$as_me: failed program was:" >&5
13400 sed 's/^/| /' conftest.
$ac_ext >&5
13402 ac_header_preproc
=no
13404 rm -f conftest.err conftest.
$ac_ext
13405 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
13406 echo "${ECHO_T}$ac_header_preproc" >&6
13408 # So? What about this header?
13409 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
13411 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
13412 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
13413 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
13414 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
13415 ac_header_preproc
=yes
13418 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
13419 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
13420 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
13421 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
13422 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
13423 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
13424 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
13425 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
13426 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
13427 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
13428 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
13429 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
13432 ## ----------------------------------------- ##
13433 ## Report this to wx-dev@lists.wxwindows.org ##
13434 ## ----------------------------------------- ##
13437 sed "s/^/$as_me: WARNING: /" >&2
13440 echo "$as_me:$LINENO: checking for $ac_header" >&5
13441 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13442 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13443 echo $ECHO_N "(cached) $ECHO_C" >&6
13445 eval "$as_ac_Header=\$ac_header_preproc"
13447 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13448 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13451 if test `eval echo '${'$as_ac_Header'}'` = yes; then
13452 cat >>confdefs.h
<<_ACEOF
13453 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
13463 for ac_header
in fnmatch.h
13465 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
13466 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13467 echo "$as_me:$LINENO: checking for $ac_header" >&5
13468 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13469 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13470 echo $ECHO_N "(cached) $ECHO_C" >&6
13472 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13473 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13475 # Is the header compilable?
13476 echo "$as_me:$LINENO: checking $ac_header usability" >&5
13477 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
13478 cat >conftest.
$ac_ext <<_ACEOF
13481 cat confdefs.h
>>conftest.
$ac_ext
13482 cat >>conftest.
$ac_ext <<_ACEOF
13483 /* end confdefs.h. */
13484 $ac_includes_default
13485 #include <$ac_header>
13487 rm -f conftest.
$ac_objext
13488 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13489 (eval $ac_compile) 2>conftest.er1
13491 grep -v '^ *+' conftest.er1
>conftest.err
13493 cat conftest.err
>&5
13494 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13495 (exit $ac_status); } &&
13496 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13497 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13498 (eval $ac_try) 2>&5
13500 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13501 (exit $ac_status); }; } &&
13502 { ac_try
='test -s conftest.$ac_objext'
13503 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13504 (eval $ac_try) 2>&5
13506 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13507 (exit $ac_status); }; }; then
13508 ac_header_compiler
=yes
13510 echo "$as_me: failed program was:" >&5
13511 sed 's/^/| /' conftest.
$ac_ext >&5
13513 ac_header_compiler
=no
13515 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13516 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
13517 echo "${ECHO_T}$ac_header_compiler" >&6
13519 # Is the header present?
13520 echo "$as_me:$LINENO: checking $ac_header presence" >&5
13521 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
13522 cat >conftest.
$ac_ext <<_ACEOF
13525 cat confdefs.h
>>conftest.
$ac_ext
13526 cat >>conftest.
$ac_ext <<_ACEOF
13527 /* end confdefs.h. */
13528 #include <$ac_header>
13530 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
13531 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
13533 grep -v '^ *+' conftest.er1
>conftest.err
13535 cat conftest.err
>&5
13536 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13537 (exit $ac_status); } >/dev
/null
; then
13538 if test -s conftest.err
; then
13539 ac_cpp_err
=$ac_c_preproc_warn_flag
13540 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
13547 if test -z "$ac_cpp_err"; then
13548 ac_header_preproc
=yes
13550 echo "$as_me: failed program was:" >&5
13551 sed 's/^/| /' conftest.
$ac_ext >&5
13553 ac_header_preproc
=no
13555 rm -f conftest.err conftest.
$ac_ext
13556 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
13557 echo "${ECHO_T}$ac_header_preproc" >&6
13559 # So? What about this header?
13560 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
13562 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
13563 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
13564 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
13565 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
13566 ac_header_preproc
=yes
13569 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
13570 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
13571 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
13572 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
13573 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
13574 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
13575 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
13576 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
13577 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
13578 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
13579 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
13580 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
13583 ## ----------------------------------------- ##
13584 ## Report this to wx-dev@lists.wxwindows.org ##
13585 ## ----------------------------------------- ##
13588 sed "s/^/$as_me: WARNING: /" >&2
13591 echo "$as_me:$LINENO: checking for $ac_header" >&5
13592 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13593 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13594 echo $ECHO_N "(cached) $ECHO_C" >&6
13596 eval "$as_ac_Header=\$ac_header_preproc"
13598 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13599 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13602 if test `eval echo '${'$as_ac_Header'}'` = yes; then
13603 cat >>confdefs.h
<<_ACEOF
13604 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
13612 if test "x$ac_cv_header_fnmatch_h" = "xyes"; then
13614 for ac_func
in fnmatch
13616 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
13617 echo "$as_me:$LINENO: checking for $ac_func" >&5
13618 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
13619 if eval "test \"\${$as_ac_var+set}\" = set"; then
13620 echo $ECHO_N "(cached) $ECHO_C" >&6
13622 cat >conftest.
$ac_ext <<_ACEOF
13625 cat confdefs.h
>>conftest.
$ac_ext
13626 cat >>conftest.
$ac_ext <<_ACEOF
13627 /* end confdefs.h. */
13628 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
13629 For example, HP-UX 11i <limits.h> declares gettimeofday. */
13630 #define $ac_func innocuous_$ac_func
13632 /* System header to define __stub macros and hopefully few prototypes,
13633 which can conflict with char $ac_func (); below.
13634 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13635 <limits.h> exists even on freestanding compilers. */
13638 # include <limits.h>
13640 # include <assert.h>
13645 /* Override any gcc2 internal prototype to avoid an error. */
13650 /* We use char because int might match the return type of a gcc2
13651 builtin and then its argument prototype would still apply. */
13653 /* The GNU C library defines this for functions which it implements
13654 to always fail with ENOSYS. Some functions are actually named
13655 something starting with __ and the normal name is an alias. */
13656 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13659 char (*f) () = $ac_func;
13668 return f != $ac_func;
13673 rm -f conftest.
$ac_objext conftest
$ac_exeext
13674 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13675 (eval $ac_link) 2>conftest.er1
13677 grep -v '^ *+' conftest.er1
>conftest.err
13679 cat conftest.err
>&5
13680 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13681 (exit $ac_status); } &&
13682 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13683 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13684 (eval $ac_try) 2>&5
13686 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13687 (exit $ac_status); }; } &&
13688 { ac_try
='test -s conftest$ac_exeext'
13689 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13690 (eval $ac_try) 2>&5
13692 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13693 (exit $ac_status); }; }; then
13694 eval "$as_ac_var=yes"
13696 echo "$as_me: failed program was:" >&5
13697 sed 's/^/| /' conftest.
$ac_ext >&5
13699 eval "$as_ac_var=no"
13701 rm -f conftest.err conftest.
$ac_objext \
13702 conftest
$ac_exeext conftest.
$ac_ext
13704 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
13705 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
13706 if test `eval echo '${'$as_ac_var'}'` = yes; then
13707 cat >>confdefs.h
<<_ACEOF
13708 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
13717 for ac_header
in langinfo.h
13719 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
13720 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13721 echo "$as_me:$LINENO: checking for $ac_header" >&5
13722 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13723 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13724 echo $ECHO_N "(cached) $ECHO_C" >&6
13726 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13727 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13729 # Is the header compilable?
13730 echo "$as_me:$LINENO: checking $ac_header usability" >&5
13731 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
13732 cat >conftest.
$ac_ext <<_ACEOF
13735 cat confdefs.h
>>conftest.
$ac_ext
13736 cat >>conftest.
$ac_ext <<_ACEOF
13737 /* end confdefs.h. */
13738 $ac_includes_default
13739 #include <$ac_header>
13741 rm -f conftest.
$ac_objext
13742 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13743 (eval $ac_compile) 2>conftest.er1
13745 grep -v '^ *+' conftest.er1
>conftest.err
13747 cat conftest.err
>&5
13748 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13749 (exit $ac_status); } &&
13750 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13751 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13752 (eval $ac_try) 2>&5
13754 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13755 (exit $ac_status); }; } &&
13756 { ac_try
='test -s conftest.$ac_objext'
13757 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13758 (eval $ac_try) 2>&5
13760 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13761 (exit $ac_status); }; }; then
13762 ac_header_compiler
=yes
13764 echo "$as_me: failed program was:" >&5
13765 sed 's/^/| /' conftest.
$ac_ext >&5
13767 ac_header_compiler
=no
13769 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13770 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
13771 echo "${ECHO_T}$ac_header_compiler" >&6
13773 # Is the header present?
13774 echo "$as_me:$LINENO: checking $ac_header presence" >&5
13775 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
13776 cat >conftest.
$ac_ext <<_ACEOF
13779 cat confdefs.h
>>conftest.
$ac_ext
13780 cat >>conftest.
$ac_ext <<_ACEOF
13781 /* end confdefs.h. */
13782 #include <$ac_header>
13784 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
13785 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
13787 grep -v '^ *+' conftest.er1
>conftest.err
13789 cat conftest.err
>&5
13790 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13791 (exit $ac_status); } >/dev
/null
; then
13792 if test -s conftest.err
; then
13793 ac_cpp_err
=$ac_c_preproc_warn_flag
13794 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
13801 if test -z "$ac_cpp_err"; then
13802 ac_header_preproc
=yes
13804 echo "$as_me: failed program was:" >&5
13805 sed 's/^/| /' conftest.
$ac_ext >&5
13807 ac_header_preproc
=no
13809 rm -f conftest.err conftest.
$ac_ext
13810 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
13811 echo "${ECHO_T}$ac_header_preproc" >&6
13813 # So? What about this header?
13814 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
13816 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
13817 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
13818 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
13819 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
13820 ac_header_preproc
=yes
13823 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
13824 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
13825 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
13826 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
13827 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
13828 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
13829 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
13830 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
13831 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
13832 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
13833 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
13834 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
13837 ## ----------------------------------------- ##
13838 ## Report this to wx-dev@lists.wxwindows.org ##
13839 ## ----------------------------------------- ##
13842 sed "s/^/$as_me: WARNING: /" >&2
13845 echo "$as_me:$LINENO: checking for $ac_header" >&5
13846 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13847 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13848 echo $ECHO_N "(cached) $ECHO_C" >&6
13850 eval "$as_ac_Header=\$ac_header_preproc"
13852 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13853 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13856 if test `eval echo '${'$as_ac_Header'}'` = yes; then
13857 cat >>confdefs.h
<<_ACEOF
13858 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
13867 *-pc-os2_emx | *-pc-os2-emx )
13868 if test $ac_cv_header_langinfo_h = "yes"; then
13869 LIBS
="$LIBS -lintl"
13874 if test "$wxUSE_GUI" = "yes"; then
13875 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_PM" != 1; then
13877 for ac_header
in X
11/Xlib.h
13879 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
13880 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13881 echo "$as_me:$LINENO: checking for $ac_header" >&5
13882 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13883 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13884 echo $ECHO_N "(cached) $ECHO_C" >&6
13886 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13887 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13889 # Is the header compilable?
13890 echo "$as_me:$LINENO: checking $ac_header usability" >&5
13891 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
13892 cat >conftest.
$ac_ext <<_ACEOF
13895 cat confdefs.h
>>conftest.
$ac_ext
13896 cat >>conftest.
$ac_ext <<_ACEOF
13897 /* end confdefs.h. */
13898 $ac_includes_default
13899 #include <$ac_header>
13901 rm -f conftest.
$ac_objext
13902 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13903 (eval $ac_compile) 2>conftest.er1
13905 grep -v '^ *+' conftest.er1
>conftest.err
13907 cat conftest.err
>&5
13908 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13909 (exit $ac_status); } &&
13910 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13911 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13912 (eval $ac_try) 2>&5
13914 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13915 (exit $ac_status); }; } &&
13916 { ac_try
='test -s conftest.$ac_objext'
13917 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13918 (eval $ac_try) 2>&5
13920 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13921 (exit $ac_status); }; }; then
13922 ac_header_compiler
=yes
13924 echo "$as_me: failed program was:" >&5
13925 sed 's/^/| /' conftest.
$ac_ext >&5
13927 ac_header_compiler
=no
13929 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13930 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
13931 echo "${ECHO_T}$ac_header_compiler" >&6
13933 # Is the header present?
13934 echo "$as_me:$LINENO: checking $ac_header presence" >&5
13935 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
13936 cat >conftest.
$ac_ext <<_ACEOF
13939 cat confdefs.h
>>conftest.
$ac_ext
13940 cat >>conftest.
$ac_ext <<_ACEOF
13941 /* end confdefs.h. */
13942 #include <$ac_header>
13944 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
13945 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
13947 grep -v '^ *+' conftest.er1
>conftest.err
13949 cat conftest.err
>&5
13950 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13951 (exit $ac_status); } >/dev
/null
; then
13952 if test -s conftest.err
; then
13953 ac_cpp_err
=$ac_c_preproc_warn_flag
13954 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
13961 if test -z "$ac_cpp_err"; then
13962 ac_header_preproc
=yes
13964 echo "$as_me: failed program was:" >&5
13965 sed 's/^/| /' conftest.
$ac_ext >&5
13967 ac_header_preproc
=no
13969 rm -f conftest.err conftest.
$ac_ext
13970 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
13971 echo "${ECHO_T}$ac_header_preproc" >&6
13973 # So? What about this header?
13974 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
13976 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
13977 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
13978 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
13979 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
13980 ac_header_preproc
=yes
13983 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
13984 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
13985 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
13986 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
13987 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
13988 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
13989 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
13990 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
13991 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
13992 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
13993 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
13994 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
13997 ## ----------------------------------------- ##
13998 ## Report this to wx-dev@lists.wxwindows.org ##
13999 ## ----------------------------------------- ##
14002 sed "s/^/$as_me: WARNING: /" >&2
14005 echo "$as_me:$LINENO: checking for $ac_header" >&5
14006 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
14007 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14008 echo $ECHO_N "(cached) $ECHO_C" >&6
14010 eval "$as_ac_Header=\$ac_header_preproc"
14012 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
14013 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
14016 if test `eval echo '${'$as_ac_Header'}'` = yes; then
14017 cat >>confdefs.h
<<_ACEOF
14018 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
14026 for ac_header
in X
11/XKBlib.h
14028 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
14029 echo "$as_me:$LINENO: checking for $ac_header" >&5
14030 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
14031 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14032 echo $ECHO_N "(cached) $ECHO_C" >&6
14034 cat >conftest.
$ac_ext <<_ACEOF
14037 cat confdefs.h
>>conftest.
$ac_ext
14038 cat >>conftest.
$ac_ext <<_ACEOF
14039 /* end confdefs.h. */
14041 #if HAVE_X11_XLIB_H
14042 #include <X11/Xlib.h>
14046 #include <$ac_header>
14048 rm -f conftest.
$ac_objext
14049 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14050 (eval $ac_compile) 2>conftest.er1
14052 grep -v '^ *+' conftest.er1
>conftest.err
14054 cat conftest.err
>&5
14055 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14056 (exit $ac_status); } &&
14057 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14058 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14059 (eval $ac_try) 2>&5
14061 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14062 (exit $ac_status); }; } &&
14063 { ac_try
='test -s conftest.$ac_objext'
14064 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14065 (eval $ac_try) 2>&5
14067 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14068 (exit $ac_status); }; }; then
14069 eval "$as_ac_Header=yes"
14071 echo "$as_me: failed program was:" >&5
14072 sed 's/^/| /' conftest.
$ac_ext >&5
14074 eval "$as_ac_Header=no"
14076 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14078 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
14079 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
14080 if test `eval echo '${'$as_ac_Header'}'` = yes; then
14081 cat >>confdefs.h
<<_ACEOF
14082 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
14093 echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
14094 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6
14095 if test "${ac_cv_c_const+set}" = set; then
14096 echo $ECHO_N "(cached) $ECHO_C" >&6
14098 cat >conftest.
$ac_ext <<_ACEOF
14101 cat confdefs.h
>>conftest.
$ac_ext
14102 cat >>conftest.
$ac_ext <<_ACEOF
14103 /* end confdefs.h. */
14108 /* FIXME: Include the comments suggested by Paul. */
14109 #ifndef __cplusplus
14110 /* Ultrix mips cc rejects this. */
14111 typedef int charset[2];
14113 /* SunOS 4.1.1 cc rejects this. */
14114 char const *const *ccp;
14116 /* NEC SVR4.0.2 mips cc rejects this. */
14117 struct point {int x, y;};
14118 static struct point const zero = {0,0};
14119 /* AIX XL C 1.02.0.0 rejects this.
14120 It does not let you subtract one const X* pointer from another in
14121 an arm of an if-expression whose if-part is not a constant
14123 const char *g = "string";
14124 ccp = &g + (g ? g-g : 0);
14125 /* HPUX 7.0 cc rejects these. */
14128 ccp = (char const *const *) p;
14129 { /* SCO 3.2v4 cc rejects this. */
14131 char const *s = 0 ? (char *) 0 : (char const *) 0;
14135 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
14136 int x[] = {25, 17};
14137 const int *foo = &x[0];
14140 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
14141 typedef const int *iptr;
14145 { /* AIX XL C 1.02.0.0 rejects this saying
14146 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
14147 struct s { int j; const int *ap[3]; };
14148 struct s *b; b->j = 5;
14150 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
14151 const int foo = 10;
14159 rm -f conftest.
$ac_objext
14160 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14161 (eval $ac_compile) 2>conftest.er1
14163 grep -v '^ *+' conftest.er1
>conftest.err
14165 cat conftest.err
>&5
14166 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14167 (exit $ac_status); } &&
14168 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14169 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14170 (eval $ac_try) 2>&5
14172 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14173 (exit $ac_status); }; } &&
14174 { ac_try
='test -s conftest.$ac_objext'
14175 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14176 (eval $ac_try) 2>&5
14178 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14179 (exit $ac_status); }; }; then
14182 echo "$as_me: failed program was:" >&5
14183 sed 's/^/| /' conftest.
$ac_ext >&5
14187 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14189 echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
14190 echo "${ECHO_T}$ac_cv_c_const" >&6
14191 if test $ac_cv_c_const = no
; then
14193 cat >>confdefs.h
<<\_ACEOF
14199 echo "$as_me:$LINENO: checking for inline" >&5
14200 echo $ECHO_N "checking for inline... $ECHO_C" >&6
14201 if test "${ac_cv_c_inline+set}" = set; then
14202 echo $ECHO_N "(cached) $ECHO_C" >&6
14205 for ac_kw
in inline __inline__ __inline
; do
14206 cat >conftest.
$ac_ext <<_ACEOF
14209 cat confdefs.h
>>conftest.
$ac_ext
14210 cat >>conftest.
$ac_ext <<_ACEOF
14211 /* end confdefs.h. */
14212 #ifndef __cplusplus
14214 static $ac_kw foo_t static_foo () {return 0; }
14215 $ac_kw foo_t foo () {return 0; }
14219 rm -f conftest.
$ac_objext
14220 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14221 (eval $ac_compile) 2>conftest.er1
14223 grep -v '^ *+' conftest.er1
>conftest.err
14225 cat conftest.err
>&5
14226 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14227 (exit $ac_status); } &&
14228 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14229 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14230 (eval $ac_try) 2>&5
14232 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14233 (exit $ac_status); }; } &&
14234 { ac_try
='test -s conftest.$ac_objext'
14235 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14236 (eval $ac_try) 2>&5
14238 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14239 (exit $ac_status); }; }; then
14240 ac_cv_c_inline
=$ac_kw; break
14242 echo "$as_me: failed program was:" >&5
14243 sed 's/^/| /' conftest.
$ac_ext >&5
14246 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14250 echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
14251 echo "${ECHO_T}$ac_cv_c_inline" >&6
14254 case $ac_cv_c_inline in
14257 case $ac_cv_c_inline in
14259 *) ac_val
=$ac_cv_c_inline;;
14261 cat >>confdefs.h
<<_ACEOF
14262 #ifndef __cplusplus
14263 #define inline $ac_val
14270 echo "$as_me:$LINENO: checking for char" >&5
14271 echo $ECHO_N "checking for char... $ECHO_C" >&6
14272 if test "${ac_cv_type_char+set}" = set; then
14273 echo $ECHO_N "(cached) $ECHO_C" >&6
14275 cat >conftest.
$ac_ext <<_ACEOF
14278 cat confdefs.h
>>conftest.
$ac_ext
14279 cat >>conftest.
$ac_ext <<_ACEOF
14280 /* end confdefs.h. */
14281 $ac_includes_default
14293 rm -f conftest.
$ac_objext
14294 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14295 (eval $ac_compile) 2>conftest.er1
14297 grep -v '^ *+' conftest.er1
>conftest.err
14299 cat conftest.err
>&5
14300 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14301 (exit $ac_status); } &&
14302 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14303 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14304 (eval $ac_try) 2>&5
14306 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14307 (exit $ac_status); }; } &&
14308 { ac_try
='test -s conftest.$ac_objext'
14309 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14310 (eval $ac_try) 2>&5
14312 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14313 (exit $ac_status); }; }; then
14314 ac_cv_type_char
=yes
14316 echo "$as_me: failed program was:" >&5
14317 sed 's/^/| /' conftest.
$ac_ext >&5
14321 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14323 echo "$as_me:$LINENO: result: $ac_cv_type_char" >&5
14324 echo "${ECHO_T}$ac_cv_type_char" >&6
14326 echo "$as_me:$LINENO: checking size of char" >&5
14327 echo $ECHO_N "checking size of char... $ECHO_C" >&6
14328 if test "${ac_cv_sizeof_char+set}" = set; then
14329 echo $ECHO_N "(cached) $ECHO_C" >&6
14331 if test "$ac_cv_type_char" = yes; then
14332 # The cast to unsigned long works around a bug in the HP C Compiler
14333 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
14334 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
14335 # This bug is HP SR number 8606223364.
14336 if test "$cross_compiling" = yes; then
14337 # Depending upon the size, compute the lo and hi bounds.
14338 cat >conftest.
$ac_ext <<_ACEOF
14341 cat confdefs.h
>>conftest.
$ac_ext
14342 cat >>conftest.
$ac_ext <<_ACEOF
14343 /* end confdefs.h. */
14344 $ac_includes_default
14348 static int test_array [1 - 2 * !(((long) (sizeof (char))) >= 0)];
14355 rm -f conftest.
$ac_objext
14356 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14357 (eval $ac_compile) 2>conftest.er1
14359 grep -v '^ *+' conftest.er1
>conftest.err
14361 cat conftest.err
>&5
14362 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14363 (exit $ac_status); } &&
14364 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14365 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14366 (eval $ac_try) 2>&5
14368 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14369 (exit $ac_status); }; } &&
14370 { ac_try
='test -s conftest.$ac_objext'
14371 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14372 (eval $ac_try) 2>&5
14374 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14375 (exit $ac_status); }; }; then
14378 cat >conftest.
$ac_ext <<_ACEOF
14381 cat confdefs.h
>>conftest.
$ac_ext
14382 cat >>conftest.
$ac_ext <<_ACEOF
14383 /* end confdefs.h. */
14384 $ac_includes_default
14388 static int test_array [1 - 2 * !(((long) (sizeof (char))) <= $ac_mid)];
14395 rm -f conftest.
$ac_objext
14396 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14397 (eval $ac_compile) 2>conftest.er1
14399 grep -v '^ *+' conftest.er1
>conftest.err
14401 cat conftest.err
>&5
14402 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14403 (exit $ac_status); } &&
14404 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14405 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14406 (eval $ac_try) 2>&5
14408 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14409 (exit $ac_status); }; } &&
14410 { ac_try
='test -s conftest.$ac_objext'
14411 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14412 (eval $ac_try) 2>&5
14414 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14415 (exit $ac_status); }; }; then
14416 ac_hi
=$ac_mid; break
14418 echo "$as_me: failed program was:" >&5
14419 sed 's/^/| /' conftest.
$ac_ext >&5
14421 ac_lo
=`expr $ac_mid + 1`
14422 if test $ac_lo -le $ac_mid; then
14426 ac_mid
=`expr 2 '*' $ac_mid + 1`
14428 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14431 echo "$as_me: failed program was:" >&5
14432 sed 's/^/| /' conftest.
$ac_ext >&5
14434 cat >conftest.
$ac_ext <<_ACEOF
14437 cat confdefs.h
>>conftest.
$ac_ext
14438 cat >>conftest.
$ac_ext <<_ACEOF
14439 /* end confdefs.h. */
14440 $ac_includes_default
14444 static int test_array [1 - 2 * !(((long) (sizeof (char))) < 0)];
14451 rm -f conftest.
$ac_objext
14452 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14453 (eval $ac_compile) 2>conftest.er1
14455 grep -v '^ *+' conftest.er1
>conftest.err
14457 cat conftest.err
>&5
14458 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14459 (exit $ac_status); } &&
14460 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14461 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14462 (eval $ac_try) 2>&5
14464 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14465 (exit $ac_status); }; } &&
14466 { ac_try
='test -s conftest.$ac_objext'
14467 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14468 (eval $ac_try) 2>&5
14470 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14471 (exit $ac_status); }; }; then
14474 cat >conftest.
$ac_ext <<_ACEOF
14477 cat confdefs.h
>>conftest.
$ac_ext
14478 cat >>conftest.
$ac_ext <<_ACEOF
14479 /* end confdefs.h. */
14480 $ac_includes_default
14484 static int test_array [1 - 2 * !(((long) (sizeof (char))) >= $ac_mid)];
14491 rm -f conftest.
$ac_objext
14492 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14493 (eval $ac_compile) 2>conftest.er1
14495 grep -v '^ *+' conftest.er1
>conftest.err
14497 cat conftest.err
>&5
14498 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14499 (exit $ac_status); } &&
14500 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14501 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14502 (eval $ac_try) 2>&5
14504 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14505 (exit $ac_status); }; } &&
14506 { ac_try
='test -s conftest.$ac_objext'
14507 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14508 (eval $ac_try) 2>&5
14510 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14511 (exit $ac_status); }; }; then
14512 ac_lo
=$ac_mid; break
14514 echo "$as_me: failed program was:" >&5
14515 sed 's/^/| /' conftest.
$ac_ext >&5
14517 ac_hi
=`expr '(' $ac_mid ')' - 1`
14518 if test $ac_mid -le $ac_hi; then
14522 ac_mid
=`expr 2 '*' $ac_mid`
14524 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14527 echo "$as_me: failed program was:" >&5
14528 sed 's/^/| /' conftest.
$ac_ext >&5
14532 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14534 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14535 # Binary search between lo and hi bounds.
14536 while test "x$ac_lo" != "x$ac_hi"; do
14537 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
14538 cat >conftest.
$ac_ext <<_ACEOF
14541 cat confdefs.h
>>conftest.
$ac_ext
14542 cat >>conftest.
$ac_ext <<_ACEOF
14543 /* end confdefs.h. */
14544 $ac_includes_default
14548 static int test_array [1 - 2 * !(((long) (sizeof (char))) <= $ac_mid)];
14555 rm -f conftest.
$ac_objext
14556 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14557 (eval $ac_compile) 2>conftest.er1
14559 grep -v '^ *+' conftest.er1
>conftest.err
14561 cat conftest.err
>&5
14562 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14563 (exit $ac_status); } &&
14564 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14565 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14566 (eval $ac_try) 2>&5
14568 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14569 (exit $ac_status); }; } &&
14570 { ac_try
='test -s conftest.$ac_objext'
14571 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14572 (eval $ac_try) 2>&5
14574 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14575 (exit $ac_status); }; }; then
14578 echo "$as_me: failed program was:" >&5
14579 sed 's/^/| /' conftest.
$ac_ext >&5
14581 ac_lo
=`expr '(' $ac_mid ')' + 1`
14583 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14586 ?
*) ac_cv_sizeof_char
=$ac_lo;;
14587 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (char), 77
14588 See \`config.log' for more details." >&5
14589 echo "$as_me: error: cannot compute sizeof (char), 77
14590 See \`config.log' for more details." >&2;}
14591 { (exit 1); exit 1; }; } ;;
14594 if test "$cross_compiling" = yes; then
14595 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
14596 See \`config.log' for more details." >&5
14597 echo "$as_me: error: cannot run test program while cross compiling
14598 See \`config.log' for more details." >&2;}
14599 { (exit 1); exit 1; }; }
14601 cat >conftest.
$ac_ext <<_ACEOF
14604 cat confdefs.h
>>conftest.
$ac_ext
14605 cat >>conftest.
$ac_ext <<_ACEOF
14606 /* end confdefs.h. */
14607 $ac_includes_default
14608 long longval () { return (long) (sizeof (char)); }
14609 unsigned long ulongval () { return (long) (sizeof (char)); }
14611 #include <stdlib.h>
14616 FILE *f = fopen ("conftest.val", "w");
14619 if (((long) (sizeof (char))) < 0)
14621 long i = longval ();
14622 if (i != ((long) (sizeof (char))))
14624 fprintf (f, "%ld\n", i);
14628 unsigned long i = ulongval ();
14629 if (i != ((long) (sizeof (char))))
14631 fprintf (f, "%lu\n", i);
14633 exit (ferror (f) || fclose (f) != 0);
14639 rm -f conftest
$ac_exeext
14640 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14641 (eval $ac_link) 2>&5
14643 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14644 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
14645 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14646 (eval $ac_try) 2>&5
14648 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14649 (exit $ac_status); }; }; then
14650 ac_cv_sizeof_char
=`cat conftest.val`
14652 echo "$as_me: program exited with status $ac_status" >&5
14653 echo "$as_me: failed program was:" >&5
14654 sed 's/^/| /' conftest.
$ac_ext >&5
14656 ( exit $ac_status )
14657 { { echo "$as_me:$LINENO: error: cannot compute sizeof (char), 77
14658 See \`config.log' for more details." >&5
14659 echo "$as_me: error: cannot compute sizeof (char), 77
14660 See \`config.log' for more details." >&2;}
14661 { (exit 1); exit 1; }; }
14663 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
14668 ac_cv_sizeof_char
=0
14671 echo "$as_me:$LINENO: result: $ac_cv_sizeof_char" >&5
14672 echo "${ECHO_T}$ac_cv_sizeof_char" >&6
14673 cat >>confdefs.h
<<_ACEOF
14674 #define SIZEOF_CHAR $ac_cv_sizeof_char
14678 echo "$as_me:$LINENO: checking for short" >&5
14679 echo $ECHO_N "checking for short... $ECHO_C" >&6
14680 if test "${ac_cv_type_short+set}" = set; then
14681 echo $ECHO_N "(cached) $ECHO_C" >&6
14683 cat >conftest.
$ac_ext <<_ACEOF
14686 cat confdefs.h
>>conftest.
$ac_ext
14687 cat >>conftest.
$ac_ext <<_ACEOF
14688 /* end confdefs.h. */
14689 $ac_includes_default
14695 if (sizeof (short))
14701 rm -f conftest.
$ac_objext
14702 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14703 (eval $ac_compile) 2>conftest.er1
14705 grep -v '^ *+' conftest.er1
>conftest.err
14707 cat conftest.err
>&5
14708 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14709 (exit $ac_status); } &&
14710 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14711 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14712 (eval $ac_try) 2>&5
14714 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14715 (exit $ac_status); }; } &&
14716 { ac_try
='test -s conftest.$ac_objext'
14717 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14718 (eval $ac_try) 2>&5
14720 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14721 (exit $ac_status); }; }; then
14722 ac_cv_type_short
=yes
14724 echo "$as_me: failed program was:" >&5
14725 sed 's/^/| /' conftest.
$ac_ext >&5
14727 ac_cv_type_short
=no
14729 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14731 echo "$as_me:$LINENO: result: $ac_cv_type_short" >&5
14732 echo "${ECHO_T}$ac_cv_type_short" >&6
14734 echo "$as_me:$LINENO: checking size of short" >&5
14735 echo $ECHO_N "checking size of short... $ECHO_C" >&6
14736 if test "${ac_cv_sizeof_short+set}" = set; then
14737 echo $ECHO_N "(cached) $ECHO_C" >&6
14739 if test "$ac_cv_type_short" = yes; then
14740 # The cast to unsigned long works around a bug in the HP C Compiler
14741 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
14742 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
14743 # This bug is HP SR number 8606223364.
14744 if test "$cross_compiling" = yes; then
14745 # Depending upon the size, compute the lo and hi bounds.
14746 cat >conftest.
$ac_ext <<_ACEOF
14749 cat confdefs.h
>>conftest.
$ac_ext
14750 cat >>conftest.
$ac_ext <<_ACEOF
14751 /* end confdefs.h. */
14752 $ac_includes_default
14756 static int test_array [1 - 2 * !(((long) (sizeof (short))) >= 0)];
14763 rm -f conftest.
$ac_objext
14764 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14765 (eval $ac_compile) 2>conftest.er1
14767 grep -v '^ *+' conftest.er1
>conftest.err
14769 cat conftest.err
>&5
14770 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14771 (exit $ac_status); } &&
14772 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14773 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14774 (eval $ac_try) 2>&5
14776 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14777 (exit $ac_status); }; } &&
14778 { ac_try
='test -s conftest.$ac_objext'
14779 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14780 (eval $ac_try) 2>&5
14782 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14783 (exit $ac_status); }; }; then
14786 cat >conftest.
$ac_ext <<_ACEOF
14789 cat confdefs.h
>>conftest.
$ac_ext
14790 cat >>conftest.
$ac_ext <<_ACEOF
14791 /* end confdefs.h. */
14792 $ac_includes_default
14796 static int test_array [1 - 2 * !(((long) (sizeof (short))) <= $ac_mid)];
14803 rm -f conftest.
$ac_objext
14804 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14805 (eval $ac_compile) 2>conftest.er1
14807 grep -v '^ *+' conftest.er1
>conftest.err
14809 cat conftest.err
>&5
14810 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14811 (exit $ac_status); } &&
14812 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14813 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14814 (eval $ac_try) 2>&5
14816 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14817 (exit $ac_status); }; } &&
14818 { ac_try
='test -s conftest.$ac_objext'
14819 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14820 (eval $ac_try) 2>&5
14822 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14823 (exit $ac_status); }; }; then
14824 ac_hi
=$ac_mid; break
14826 echo "$as_me: failed program was:" >&5
14827 sed 's/^/| /' conftest.
$ac_ext >&5
14829 ac_lo
=`expr $ac_mid + 1`
14830 if test $ac_lo -le $ac_mid; then
14834 ac_mid
=`expr 2 '*' $ac_mid + 1`
14836 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14839 echo "$as_me: failed program was:" >&5
14840 sed 's/^/| /' conftest.
$ac_ext >&5
14842 cat >conftest.
$ac_ext <<_ACEOF
14845 cat confdefs.h
>>conftest.
$ac_ext
14846 cat >>conftest.
$ac_ext <<_ACEOF
14847 /* end confdefs.h. */
14848 $ac_includes_default
14852 static int test_array [1 - 2 * !(((long) (sizeof (short))) < 0)];
14859 rm -f conftest.
$ac_objext
14860 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14861 (eval $ac_compile) 2>conftest.er1
14863 grep -v '^ *+' conftest.er1
>conftest.err
14865 cat conftest.err
>&5
14866 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14867 (exit $ac_status); } &&
14868 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14869 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14870 (eval $ac_try) 2>&5
14872 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14873 (exit $ac_status); }; } &&
14874 { ac_try
='test -s conftest.$ac_objext'
14875 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14876 (eval $ac_try) 2>&5
14878 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14879 (exit $ac_status); }; }; then
14882 cat >conftest.
$ac_ext <<_ACEOF
14885 cat confdefs.h
>>conftest.
$ac_ext
14886 cat >>conftest.
$ac_ext <<_ACEOF
14887 /* end confdefs.h. */
14888 $ac_includes_default
14892 static int test_array [1 - 2 * !(((long) (sizeof (short))) >= $ac_mid)];
14899 rm -f conftest.
$ac_objext
14900 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14901 (eval $ac_compile) 2>conftest.er1
14903 grep -v '^ *+' conftest.er1
>conftest.err
14905 cat conftest.err
>&5
14906 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14907 (exit $ac_status); } &&
14908 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14909 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14910 (eval $ac_try) 2>&5
14912 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14913 (exit $ac_status); }; } &&
14914 { ac_try
='test -s conftest.$ac_objext'
14915 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14916 (eval $ac_try) 2>&5
14918 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14919 (exit $ac_status); }; }; then
14920 ac_lo
=$ac_mid; break
14922 echo "$as_me: failed program was:" >&5
14923 sed 's/^/| /' conftest.
$ac_ext >&5
14925 ac_hi
=`expr '(' $ac_mid ')' - 1`
14926 if test $ac_mid -le $ac_hi; then
14930 ac_mid
=`expr 2 '*' $ac_mid`
14932 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14935 echo "$as_me: failed program was:" >&5
14936 sed 's/^/| /' conftest.
$ac_ext >&5
14940 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14942 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14943 # Binary search between lo and hi bounds.
14944 while test "x$ac_lo" != "x$ac_hi"; do
14945 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
14946 cat >conftest.
$ac_ext <<_ACEOF
14949 cat confdefs.h
>>conftest.
$ac_ext
14950 cat >>conftest.
$ac_ext <<_ACEOF
14951 /* end confdefs.h. */
14952 $ac_includes_default
14956 static int test_array [1 - 2 * !(((long) (sizeof (short))) <= $ac_mid)];
14963 rm -f conftest.
$ac_objext
14964 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14965 (eval $ac_compile) 2>conftest.er1
14967 grep -v '^ *+' conftest.er1
>conftest.err
14969 cat conftest.err
>&5
14970 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14971 (exit $ac_status); } &&
14972 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14973 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14974 (eval $ac_try) 2>&5
14976 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14977 (exit $ac_status); }; } &&
14978 { ac_try
='test -s conftest.$ac_objext'
14979 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14980 (eval $ac_try) 2>&5
14982 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14983 (exit $ac_status); }; }; then
14986 echo "$as_me: failed program was:" >&5
14987 sed 's/^/| /' conftest.
$ac_ext >&5
14989 ac_lo
=`expr '(' $ac_mid ')' + 1`
14991 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14994 ?
*) ac_cv_sizeof_short
=$ac_lo;;
14995 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (short), 77
14996 See \`config.log' for more details." >&5
14997 echo "$as_me: error: cannot compute sizeof (short), 77
14998 See \`config.log' for more details." >&2;}
14999 { (exit 1); exit 1; }; } ;;
15002 if test "$cross_compiling" = yes; then
15003 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
15004 See \`config.log' for more details." >&5
15005 echo "$as_me: error: cannot run test program while cross compiling
15006 See \`config.log' for more details." >&2;}
15007 { (exit 1); exit 1; }; }
15009 cat >conftest.
$ac_ext <<_ACEOF
15012 cat confdefs.h
>>conftest.
$ac_ext
15013 cat >>conftest.
$ac_ext <<_ACEOF
15014 /* end confdefs.h. */
15015 $ac_includes_default
15016 long longval () { return (long) (sizeof (short)); }
15017 unsigned long ulongval () { return (long) (sizeof (short)); }
15019 #include <stdlib.h>
15024 FILE *f = fopen ("conftest.val", "w");
15027 if (((long) (sizeof (short))) < 0)
15029 long i = longval ();
15030 if (i != ((long) (sizeof (short))))
15032 fprintf (f, "%ld\n", i);
15036 unsigned long i = ulongval ();
15037 if (i != ((long) (sizeof (short))))
15039 fprintf (f, "%lu\n", i);
15041 exit (ferror (f) || fclose (f) != 0);
15047 rm -f conftest
$ac_exeext
15048 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15049 (eval $ac_link) 2>&5
15051 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15052 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
15053 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15054 (eval $ac_try) 2>&5
15056 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15057 (exit $ac_status); }; }; then
15058 ac_cv_sizeof_short
=`cat conftest.val`
15060 echo "$as_me: program exited with status $ac_status" >&5
15061 echo "$as_me: failed program was:" >&5
15062 sed 's/^/| /' conftest.
$ac_ext >&5
15064 ( exit $ac_status )
15065 { { echo "$as_me:$LINENO: error: cannot compute sizeof (short), 77
15066 See \`config.log' for more details." >&5
15067 echo "$as_me: error: cannot compute sizeof (short), 77
15068 See \`config.log' for more details." >&2;}
15069 { (exit 1); exit 1; }; }
15071 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
15076 ac_cv_sizeof_short
=0
15079 echo "$as_me:$LINENO: result: $ac_cv_sizeof_short" >&5
15080 echo "${ECHO_T}$ac_cv_sizeof_short" >&6
15081 cat >>confdefs.h
<<_ACEOF
15082 #define SIZEOF_SHORT $ac_cv_sizeof_short
15086 echo "$as_me:$LINENO: checking for void *" >&5
15087 echo $ECHO_N "checking for void *... $ECHO_C" >&6
15088 if test "${ac_cv_type_void_p+set}" = set; then
15089 echo $ECHO_N "(cached) $ECHO_C" >&6
15091 cat >conftest.
$ac_ext <<_ACEOF
15094 cat confdefs.h
>>conftest.
$ac_ext
15095 cat >>conftest.
$ac_ext <<_ACEOF
15096 /* end confdefs.h. */
15097 $ac_includes_default
15103 if (sizeof (void *))
15109 rm -f conftest.
$ac_objext
15110 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15111 (eval $ac_compile) 2>conftest.er1
15113 grep -v '^ *+' conftest.er1
>conftest.err
15115 cat conftest.err
>&5
15116 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15117 (exit $ac_status); } &&
15118 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15119 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15120 (eval $ac_try) 2>&5
15122 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15123 (exit $ac_status); }; } &&
15124 { ac_try
='test -s conftest.$ac_objext'
15125 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15126 (eval $ac_try) 2>&5
15128 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15129 (exit $ac_status); }; }; then
15130 ac_cv_type_void_p
=yes
15132 echo "$as_me: failed program was:" >&5
15133 sed 's/^/| /' conftest.
$ac_ext >&5
15135 ac_cv_type_void_p
=no
15137 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15139 echo "$as_me:$LINENO: result: $ac_cv_type_void_p" >&5
15140 echo "${ECHO_T}$ac_cv_type_void_p" >&6
15142 echo "$as_me:$LINENO: checking size of void *" >&5
15143 echo $ECHO_N "checking size of void *... $ECHO_C" >&6
15144 if test "${ac_cv_sizeof_void_p+set}" = set; then
15145 echo $ECHO_N "(cached) $ECHO_C" >&6
15147 if test "$ac_cv_type_void_p" = yes; then
15148 # The cast to unsigned long works around a bug in the HP C Compiler
15149 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
15150 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
15151 # This bug is HP SR number 8606223364.
15152 if test "$cross_compiling" = yes; then
15153 # Depending upon the size, compute the lo and hi bounds.
15154 cat >conftest.
$ac_ext <<_ACEOF
15157 cat confdefs.h
>>conftest.
$ac_ext
15158 cat >>conftest.
$ac_ext <<_ACEOF
15159 /* end confdefs.h. */
15160 $ac_includes_default
15164 static int test_array [1 - 2 * !(((long) (sizeof (void *))) >= 0)];
15171 rm -f conftest.
$ac_objext
15172 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15173 (eval $ac_compile) 2>conftest.er1
15175 grep -v '^ *+' conftest.er1
>conftest.err
15177 cat conftest.err
>&5
15178 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15179 (exit $ac_status); } &&
15180 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
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); }; } &&
15186 { ac_try
='test -s conftest.$ac_objext'
15187 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15188 (eval $ac_try) 2>&5
15190 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15191 (exit $ac_status); }; }; then
15194 cat >conftest.
$ac_ext <<_ACEOF
15197 cat confdefs.h
>>conftest.
$ac_ext
15198 cat >>conftest.
$ac_ext <<_ACEOF
15199 /* end confdefs.h. */
15200 $ac_includes_default
15204 static int test_array [1 - 2 * !(((long) (sizeof (void *))) <= $ac_mid)];
15211 rm -f conftest.
$ac_objext
15212 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15213 (eval $ac_compile) 2>conftest.er1
15215 grep -v '^ *+' conftest.er1
>conftest.err
15217 cat conftest.err
>&5
15218 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15219 (exit $ac_status); } &&
15220 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
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); }; } &&
15226 { ac_try
='test -s conftest.$ac_objext'
15227 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15228 (eval $ac_try) 2>&5
15230 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15231 (exit $ac_status); }; }; then
15232 ac_hi
=$ac_mid; break
15234 echo "$as_me: failed program was:" >&5
15235 sed 's/^/| /' conftest.
$ac_ext >&5
15237 ac_lo
=`expr $ac_mid + 1`
15238 if test $ac_lo -le $ac_mid; then
15242 ac_mid
=`expr 2 '*' $ac_mid + 1`
15244 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15247 echo "$as_me: failed program was:" >&5
15248 sed 's/^/| /' conftest.
$ac_ext >&5
15250 cat >conftest.
$ac_ext <<_ACEOF
15253 cat confdefs.h
>>conftest.
$ac_ext
15254 cat >>conftest.
$ac_ext <<_ACEOF
15255 /* end confdefs.h. */
15256 $ac_includes_default
15260 static int test_array [1 - 2 * !(((long) (sizeof (void *))) < 0)];
15267 rm -f conftest.
$ac_objext
15268 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15269 (eval $ac_compile) 2>conftest.er1
15271 grep -v '^ *+' conftest.er1
>conftest.err
15273 cat conftest.err
>&5
15274 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15275 (exit $ac_status); } &&
15276 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
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); }; } &&
15282 { ac_try
='test -s conftest.$ac_objext'
15283 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15284 (eval $ac_try) 2>&5
15286 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15287 (exit $ac_status); }; }; then
15290 cat >conftest.
$ac_ext <<_ACEOF
15293 cat confdefs.h
>>conftest.
$ac_ext
15294 cat >>conftest.
$ac_ext <<_ACEOF
15295 /* end confdefs.h. */
15296 $ac_includes_default
15300 static int test_array [1 - 2 * !(((long) (sizeof (void *))) >= $ac_mid)];
15307 rm -f conftest.
$ac_objext
15308 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15309 (eval $ac_compile) 2>conftest.er1
15311 grep -v '^ *+' conftest.er1
>conftest.err
15313 cat conftest.err
>&5
15314 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15315 (exit $ac_status); } &&
15316 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
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); }; } &&
15322 { ac_try
='test -s conftest.$ac_objext'
15323 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15324 (eval $ac_try) 2>&5
15326 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15327 (exit $ac_status); }; }; then
15328 ac_lo
=$ac_mid; break
15330 echo "$as_me: failed program was:" >&5
15331 sed 's/^/| /' conftest.
$ac_ext >&5
15333 ac_hi
=`expr '(' $ac_mid ')' - 1`
15334 if test $ac_mid -le $ac_hi; then
15338 ac_mid
=`expr 2 '*' $ac_mid`
15340 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15343 echo "$as_me: failed program was:" >&5
15344 sed 's/^/| /' conftest.
$ac_ext >&5
15348 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15350 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15351 # Binary search between lo and hi bounds.
15352 while test "x$ac_lo" != "x$ac_hi"; do
15353 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
15354 cat >conftest.
$ac_ext <<_ACEOF
15357 cat confdefs.h
>>conftest.
$ac_ext
15358 cat >>conftest.
$ac_ext <<_ACEOF
15359 /* end confdefs.h. */
15360 $ac_includes_default
15364 static int test_array [1 - 2 * !(((long) (sizeof (void *))) <= $ac_mid)];
15371 rm -f conftest.
$ac_objext
15372 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15373 (eval $ac_compile) 2>conftest.er1
15375 grep -v '^ *+' conftest.er1
>conftest.err
15377 cat conftest.err
>&5
15378 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15379 (exit $ac_status); } &&
15380 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
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); }; } &&
15386 { ac_try
='test -s conftest.$ac_objext'
15387 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15388 (eval $ac_try) 2>&5
15390 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15391 (exit $ac_status); }; }; then
15394 echo "$as_me: failed program was:" >&5
15395 sed 's/^/| /' conftest.
$ac_ext >&5
15397 ac_lo
=`expr '(' $ac_mid ')' + 1`
15399 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15402 ?
*) ac_cv_sizeof_void_p
=$ac_lo;;
15403 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *), 77
15404 See \`config.log' for more details." >&5
15405 echo "$as_me: error: cannot compute sizeof (void *), 77
15406 See \`config.log' for more details." >&2;}
15407 { (exit 1); exit 1; }; } ;;
15410 if test "$cross_compiling" = yes; then
15411 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
15412 See \`config.log' for more details." >&5
15413 echo "$as_me: error: cannot run test program while cross compiling
15414 See \`config.log' for more details." >&2;}
15415 { (exit 1); exit 1; }; }
15417 cat >conftest.
$ac_ext <<_ACEOF
15420 cat confdefs.h
>>conftest.
$ac_ext
15421 cat >>conftest.
$ac_ext <<_ACEOF
15422 /* end confdefs.h. */
15423 $ac_includes_default
15424 long longval () { return (long) (sizeof (void *)); }
15425 unsigned long ulongval () { return (long) (sizeof (void *)); }
15427 #include <stdlib.h>
15432 FILE *f = fopen ("conftest.val", "w");
15435 if (((long) (sizeof (void *))) < 0)
15437 long i = longval ();
15438 if (i != ((long) (sizeof (void *))))
15440 fprintf (f, "%ld\n", i);
15444 unsigned long i = ulongval ();
15445 if (i != ((long) (sizeof (void *))))
15447 fprintf (f, "%lu\n", i);
15449 exit (ferror (f) || fclose (f) != 0);
15455 rm -f conftest
$ac_exeext
15456 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15457 (eval $ac_link) 2>&5
15459 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15460 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
15461 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15462 (eval $ac_try) 2>&5
15464 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15465 (exit $ac_status); }; }; then
15466 ac_cv_sizeof_void_p
=`cat conftest.val`
15468 echo "$as_me: program exited with status $ac_status" >&5
15469 echo "$as_me: failed program was:" >&5
15470 sed 's/^/| /' conftest.
$ac_ext >&5
15472 ( exit $ac_status )
15473 { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *), 77
15474 See \`config.log' for more details." >&5
15475 echo "$as_me: error: cannot compute sizeof (void *), 77
15476 See \`config.log' for more details." >&2;}
15477 { (exit 1); exit 1; }; }
15479 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
15484 ac_cv_sizeof_void_p
=0
15487 echo "$as_me:$LINENO: result: $ac_cv_sizeof_void_p" >&5
15488 echo "${ECHO_T}$ac_cv_sizeof_void_p" >&6
15489 cat >>confdefs.h
<<_ACEOF
15490 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
15494 echo "$as_me:$LINENO: checking for int" >&5
15495 echo $ECHO_N "checking for int... $ECHO_C" >&6
15496 if test "${ac_cv_type_int+set}" = set; then
15497 echo $ECHO_N "(cached) $ECHO_C" >&6
15499 cat >conftest.
$ac_ext <<_ACEOF
15502 cat confdefs.h
>>conftest.
$ac_ext
15503 cat >>conftest.
$ac_ext <<_ACEOF
15504 /* end confdefs.h. */
15505 $ac_includes_default
15517 rm -f conftest.
$ac_objext
15518 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15519 (eval $ac_compile) 2>conftest.er1
15521 grep -v '^ *+' conftest.er1
>conftest.err
15523 cat conftest.err
>&5
15524 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15525 (exit $ac_status); } &&
15526 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15527 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15528 (eval $ac_try) 2>&5
15530 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15531 (exit $ac_status); }; } &&
15532 { ac_try
='test -s conftest.$ac_objext'
15533 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15534 (eval $ac_try) 2>&5
15536 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15537 (exit $ac_status); }; }; then
15540 echo "$as_me: failed program was:" >&5
15541 sed 's/^/| /' conftest.
$ac_ext >&5
15545 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15547 echo "$as_me:$LINENO: result: $ac_cv_type_int" >&5
15548 echo "${ECHO_T}$ac_cv_type_int" >&6
15550 echo "$as_me:$LINENO: checking size of int" >&5
15551 echo $ECHO_N "checking size of int... $ECHO_C" >&6
15552 if test "${ac_cv_sizeof_int+set}" = set; then
15553 echo $ECHO_N "(cached) $ECHO_C" >&6
15555 if test "$ac_cv_type_int" = yes; then
15556 # The cast to unsigned long works around a bug in the HP C Compiler
15557 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
15558 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
15559 # This bug is HP SR number 8606223364.
15560 if test "$cross_compiling" = yes; then
15561 # Depending upon the size, compute the lo and hi bounds.
15562 cat >conftest.
$ac_ext <<_ACEOF
15565 cat confdefs.h
>>conftest.
$ac_ext
15566 cat >>conftest.
$ac_ext <<_ACEOF
15567 /* end confdefs.h. */
15568 $ac_includes_default
15572 static int test_array [1 - 2 * !(((long) (sizeof (int))) >= 0)];
15579 rm -f conftest.
$ac_objext
15580 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15581 (eval $ac_compile) 2>conftest.er1
15583 grep -v '^ *+' conftest.er1
>conftest.err
15585 cat conftest.err
>&5
15586 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15587 (exit $ac_status); } &&
15588 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15589 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15590 (eval $ac_try) 2>&5
15592 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15593 (exit $ac_status); }; } &&
15594 { ac_try
='test -s conftest.$ac_objext'
15595 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15596 (eval $ac_try) 2>&5
15598 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15599 (exit $ac_status); }; }; then
15602 cat >conftest.
$ac_ext <<_ACEOF
15605 cat confdefs.h
>>conftest.
$ac_ext
15606 cat >>conftest.
$ac_ext <<_ACEOF
15607 /* end confdefs.h. */
15608 $ac_includes_default
15612 static int test_array [1 - 2 * !(((long) (sizeof (int))) <= $ac_mid)];
15619 rm -f conftest.
$ac_objext
15620 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15621 (eval $ac_compile) 2>conftest.er1
15623 grep -v '^ *+' conftest.er1
>conftest.err
15625 cat conftest.err
>&5
15626 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15627 (exit $ac_status); } &&
15628 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15629 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15630 (eval $ac_try) 2>&5
15632 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15633 (exit $ac_status); }; } &&
15634 { ac_try
='test -s conftest.$ac_objext'
15635 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15636 (eval $ac_try) 2>&5
15638 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15639 (exit $ac_status); }; }; then
15640 ac_hi
=$ac_mid; break
15642 echo "$as_me: failed program was:" >&5
15643 sed 's/^/| /' conftest.
$ac_ext >&5
15645 ac_lo
=`expr $ac_mid + 1`
15646 if test $ac_lo -le $ac_mid; then
15650 ac_mid
=`expr 2 '*' $ac_mid + 1`
15652 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15655 echo "$as_me: failed program was:" >&5
15656 sed 's/^/| /' conftest.
$ac_ext >&5
15658 cat >conftest.
$ac_ext <<_ACEOF
15661 cat confdefs.h
>>conftest.
$ac_ext
15662 cat >>conftest.
$ac_ext <<_ACEOF
15663 /* end confdefs.h. */
15664 $ac_includes_default
15668 static int test_array [1 - 2 * !(((long) (sizeof (int))) < 0)];
15675 rm -f conftest.
$ac_objext
15676 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15677 (eval $ac_compile) 2>conftest.er1
15679 grep -v '^ *+' conftest.er1
>conftest.err
15681 cat conftest.err
>&5
15682 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15683 (exit $ac_status); } &&
15684 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15685 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15686 (eval $ac_try) 2>&5
15688 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15689 (exit $ac_status); }; } &&
15690 { ac_try
='test -s conftest.$ac_objext'
15691 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15692 (eval $ac_try) 2>&5
15694 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15695 (exit $ac_status); }; }; then
15698 cat >conftest.
$ac_ext <<_ACEOF
15701 cat confdefs.h
>>conftest.
$ac_ext
15702 cat >>conftest.
$ac_ext <<_ACEOF
15703 /* end confdefs.h. */
15704 $ac_includes_default
15708 static int test_array [1 - 2 * !(((long) (sizeof (int))) >= $ac_mid)];
15715 rm -f conftest.
$ac_objext
15716 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15717 (eval $ac_compile) 2>conftest.er1
15719 grep -v '^ *+' conftest.er1
>conftest.err
15721 cat conftest.err
>&5
15722 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15723 (exit $ac_status); } &&
15724 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15725 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15726 (eval $ac_try) 2>&5
15728 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15729 (exit $ac_status); }; } &&
15730 { ac_try
='test -s conftest.$ac_objext'
15731 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15732 (eval $ac_try) 2>&5
15734 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15735 (exit $ac_status); }; }; then
15736 ac_lo
=$ac_mid; break
15738 echo "$as_me: failed program was:" >&5
15739 sed 's/^/| /' conftest.
$ac_ext >&5
15741 ac_hi
=`expr '(' $ac_mid ')' - 1`
15742 if test $ac_mid -le $ac_hi; then
15746 ac_mid
=`expr 2 '*' $ac_mid`
15748 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15751 echo "$as_me: failed program was:" >&5
15752 sed 's/^/| /' conftest.
$ac_ext >&5
15756 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15758 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15759 # Binary search between lo and hi bounds.
15760 while test "x$ac_lo" != "x$ac_hi"; do
15761 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
15762 cat >conftest.
$ac_ext <<_ACEOF
15765 cat confdefs.h
>>conftest.
$ac_ext
15766 cat >>conftest.
$ac_ext <<_ACEOF
15767 /* end confdefs.h. */
15768 $ac_includes_default
15772 static int test_array [1 - 2 * !(((long) (sizeof (int))) <= $ac_mid)];
15779 rm -f conftest.
$ac_objext
15780 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15781 (eval $ac_compile) 2>conftest.er1
15783 grep -v '^ *+' conftest.er1
>conftest.err
15785 cat conftest.err
>&5
15786 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15787 (exit $ac_status); } &&
15788 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15789 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15790 (eval $ac_try) 2>&5
15792 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15793 (exit $ac_status); }; } &&
15794 { ac_try
='test -s conftest.$ac_objext'
15795 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15796 (eval $ac_try) 2>&5
15798 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15799 (exit $ac_status); }; }; then
15802 echo "$as_me: failed program was:" >&5
15803 sed 's/^/| /' conftest.
$ac_ext >&5
15805 ac_lo
=`expr '(' $ac_mid ')' + 1`
15807 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15810 ?
*) ac_cv_sizeof_int
=$ac_lo;;
15811 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (int), 77
15812 See \`config.log' for more details." >&5
15813 echo "$as_me: error: cannot compute sizeof (int), 77
15814 See \`config.log' for more details." >&2;}
15815 { (exit 1); exit 1; }; } ;;
15818 if test "$cross_compiling" = yes; then
15819 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
15820 See \`config.log' for more details." >&5
15821 echo "$as_me: error: cannot run test program while cross compiling
15822 See \`config.log' for more details." >&2;}
15823 { (exit 1); exit 1; }; }
15825 cat >conftest.
$ac_ext <<_ACEOF
15828 cat confdefs.h
>>conftest.
$ac_ext
15829 cat >>conftest.
$ac_ext <<_ACEOF
15830 /* end confdefs.h. */
15831 $ac_includes_default
15832 long longval () { return (long) (sizeof (int)); }
15833 unsigned long ulongval () { return (long) (sizeof (int)); }
15835 #include <stdlib.h>
15840 FILE *f = fopen ("conftest.val", "w");
15843 if (((long) (sizeof (int))) < 0)
15845 long i = longval ();
15846 if (i != ((long) (sizeof (int))))
15848 fprintf (f, "%ld\n", i);
15852 unsigned long i = ulongval ();
15853 if (i != ((long) (sizeof (int))))
15855 fprintf (f, "%lu\n", i);
15857 exit (ferror (f) || fclose (f) != 0);
15863 rm -f conftest
$ac_exeext
15864 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15865 (eval $ac_link) 2>&5
15867 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15868 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
15869 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15870 (eval $ac_try) 2>&5
15872 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15873 (exit $ac_status); }; }; then
15874 ac_cv_sizeof_int
=`cat conftest.val`
15876 echo "$as_me: program exited with status $ac_status" >&5
15877 echo "$as_me: failed program was:" >&5
15878 sed 's/^/| /' conftest.
$ac_ext >&5
15880 ( exit $ac_status )
15881 { { echo "$as_me:$LINENO: error: cannot compute sizeof (int), 77
15882 See \`config.log' for more details." >&5
15883 echo "$as_me: error: cannot compute sizeof (int), 77
15884 See \`config.log' for more details." >&2;}
15885 { (exit 1); exit 1; }; }
15887 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
15895 echo "$as_me:$LINENO: result: $ac_cv_sizeof_int" >&5
15896 echo "${ECHO_T}$ac_cv_sizeof_int" >&6
15897 cat >>confdefs.h
<<_ACEOF
15898 #define SIZEOF_INT $ac_cv_sizeof_int
15902 echo "$as_me:$LINENO: checking for long" >&5
15903 echo $ECHO_N "checking for long... $ECHO_C" >&6
15904 if test "${ac_cv_type_long+set}" = set; then
15905 echo $ECHO_N "(cached) $ECHO_C" >&6
15907 cat >conftest.
$ac_ext <<_ACEOF
15910 cat confdefs.h
>>conftest.
$ac_ext
15911 cat >>conftest.
$ac_ext <<_ACEOF
15912 /* end confdefs.h. */
15913 $ac_includes_default
15925 rm -f conftest.
$ac_objext
15926 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15927 (eval $ac_compile) 2>conftest.er1
15929 grep -v '^ *+' conftest.er1
>conftest.err
15931 cat conftest.err
>&5
15932 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15933 (exit $ac_status); } &&
15934 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15935 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15936 (eval $ac_try) 2>&5
15938 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15939 (exit $ac_status); }; } &&
15940 { ac_try
='test -s conftest.$ac_objext'
15941 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15942 (eval $ac_try) 2>&5
15944 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15945 (exit $ac_status); }; }; then
15946 ac_cv_type_long
=yes
15948 echo "$as_me: failed program was:" >&5
15949 sed 's/^/| /' conftest.
$ac_ext >&5
15953 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15955 echo "$as_me:$LINENO: result: $ac_cv_type_long" >&5
15956 echo "${ECHO_T}$ac_cv_type_long" >&6
15958 echo "$as_me:$LINENO: checking size of long" >&5
15959 echo $ECHO_N "checking size of long... $ECHO_C" >&6
15960 if test "${ac_cv_sizeof_long+set}" = set; then
15961 echo $ECHO_N "(cached) $ECHO_C" >&6
15963 if test "$ac_cv_type_long" = yes; then
15964 # The cast to unsigned long works around a bug in the HP C Compiler
15965 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
15966 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
15967 # This bug is HP SR number 8606223364.
15968 if test "$cross_compiling" = yes; then
15969 # Depending upon the size, compute the lo and hi bounds.
15970 cat >conftest.
$ac_ext <<_ACEOF
15973 cat confdefs.h
>>conftest.
$ac_ext
15974 cat >>conftest.
$ac_ext <<_ACEOF
15975 /* end confdefs.h. */
15976 $ac_includes_default
15980 static int test_array [1 - 2 * !(((long) (sizeof (long))) >= 0)];
15987 rm -f conftest.
$ac_objext
15988 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15989 (eval $ac_compile) 2>conftest.er1
15991 grep -v '^ *+' conftest.er1
>conftest.err
15993 cat conftest.err
>&5
15994 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15995 (exit $ac_status); } &&
15996 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15997 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15998 (eval $ac_try) 2>&5
16000 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16001 (exit $ac_status); }; } &&
16002 { ac_try
='test -s conftest.$ac_objext'
16003 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16004 (eval $ac_try) 2>&5
16006 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16007 (exit $ac_status); }; }; then
16010 cat >conftest.
$ac_ext <<_ACEOF
16013 cat confdefs.h
>>conftest.
$ac_ext
16014 cat >>conftest.
$ac_ext <<_ACEOF
16015 /* end confdefs.h. */
16016 $ac_includes_default
16020 static int test_array [1 - 2 * !(((long) (sizeof (long))) <= $ac_mid)];
16027 rm -f conftest.
$ac_objext
16028 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16029 (eval $ac_compile) 2>conftest.er1
16031 grep -v '^ *+' conftest.er1
>conftest.err
16033 cat conftest.err
>&5
16034 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16035 (exit $ac_status); } &&
16036 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16037 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16038 (eval $ac_try) 2>&5
16040 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16041 (exit $ac_status); }; } &&
16042 { ac_try
='test -s conftest.$ac_objext'
16043 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16044 (eval $ac_try) 2>&5
16046 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16047 (exit $ac_status); }; }; then
16048 ac_hi
=$ac_mid; break
16050 echo "$as_me: failed program was:" >&5
16051 sed 's/^/| /' conftest.
$ac_ext >&5
16053 ac_lo
=`expr $ac_mid + 1`
16054 if test $ac_lo -le $ac_mid; then
16058 ac_mid
=`expr 2 '*' $ac_mid + 1`
16060 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16063 echo "$as_me: failed program was:" >&5
16064 sed 's/^/| /' conftest.
$ac_ext >&5
16066 cat >conftest.
$ac_ext <<_ACEOF
16069 cat confdefs.h
>>conftest.
$ac_ext
16070 cat >>conftest.
$ac_ext <<_ACEOF
16071 /* end confdefs.h. */
16072 $ac_includes_default
16076 static int test_array [1 - 2 * !(((long) (sizeof (long))) < 0)];
16083 rm -f conftest.
$ac_objext
16084 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16085 (eval $ac_compile) 2>conftest.er1
16087 grep -v '^ *+' conftest.er1
>conftest.err
16089 cat conftest.err
>&5
16090 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16091 (exit $ac_status); } &&
16092 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16093 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16094 (eval $ac_try) 2>&5
16096 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16097 (exit $ac_status); }; } &&
16098 { ac_try
='test -s conftest.$ac_objext'
16099 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16100 (eval $ac_try) 2>&5
16102 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16103 (exit $ac_status); }; }; then
16106 cat >conftest.
$ac_ext <<_ACEOF
16109 cat confdefs.h
>>conftest.
$ac_ext
16110 cat >>conftest.
$ac_ext <<_ACEOF
16111 /* end confdefs.h. */
16112 $ac_includes_default
16116 static int test_array [1 - 2 * !(((long) (sizeof (long))) >= $ac_mid)];
16123 rm -f conftest.
$ac_objext
16124 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16125 (eval $ac_compile) 2>conftest.er1
16127 grep -v '^ *+' conftest.er1
>conftest.err
16129 cat conftest.err
>&5
16130 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16131 (exit $ac_status); } &&
16132 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16133 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16134 (eval $ac_try) 2>&5
16136 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16137 (exit $ac_status); }; } &&
16138 { ac_try
='test -s conftest.$ac_objext'
16139 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16140 (eval $ac_try) 2>&5
16142 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16143 (exit $ac_status); }; }; then
16144 ac_lo
=$ac_mid; break
16146 echo "$as_me: failed program was:" >&5
16147 sed 's/^/| /' conftest.
$ac_ext >&5
16149 ac_hi
=`expr '(' $ac_mid ')' - 1`
16150 if test $ac_mid -le $ac_hi; then
16154 ac_mid
=`expr 2 '*' $ac_mid`
16156 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16159 echo "$as_me: failed program was:" >&5
16160 sed 's/^/| /' conftest.
$ac_ext >&5
16164 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16166 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16167 # Binary search between lo and hi bounds.
16168 while test "x$ac_lo" != "x$ac_hi"; do
16169 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
16170 cat >conftest.
$ac_ext <<_ACEOF
16173 cat confdefs.h
>>conftest.
$ac_ext
16174 cat >>conftest.
$ac_ext <<_ACEOF
16175 /* end confdefs.h. */
16176 $ac_includes_default
16180 static int test_array [1 - 2 * !(((long) (sizeof (long))) <= $ac_mid)];
16187 rm -f conftest.
$ac_objext
16188 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16189 (eval $ac_compile) 2>conftest.er1
16191 grep -v '^ *+' conftest.er1
>conftest.err
16193 cat conftest.err
>&5
16194 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16195 (exit $ac_status); } &&
16196 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16197 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16198 (eval $ac_try) 2>&5
16200 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16201 (exit $ac_status); }; } &&
16202 { ac_try
='test -s conftest.$ac_objext'
16203 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16204 (eval $ac_try) 2>&5
16206 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16207 (exit $ac_status); }; }; then
16210 echo "$as_me: failed program was:" >&5
16211 sed 's/^/| /' conftest.
$ac_ext >&5
16213 ac_lo
=`expr '(' $ac_mid ')' + 1`
16215 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16218 ?
*) ac_cv_sizeof_long
=$ac_lo;;
16219 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long), 77
16220 See \`config.log' for more details." >&5
16221 echo "$as_me: error: cannot compute sizeof (long), 77
16222 See \`config.log' for more details." >&2;}
16223 { (exit 1); exit 1; }; } ;;
16226 if test "$cross_compiling" = yes; then
16227 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
16228 See \`config.log' for more details." >&5
16229 echo "$as_me: error: cannot run test program while cross compiling
16230 See \`config.log' for more details." >&2;}
16231 { (exit 1); exit 1; }; }
16233 cat >conftest.
$ac_ext <<_ACEOF
16236 cat confdefs.h
>>conftest.
$ac_ext
16237 cat >>conftest.
$ac_ext <<_ACEOF
16238 /* end confdefs.h. */
16239 $ac_includes_default
16240 long longval () { return (long) (sizeof (long)); }
16241 unsigned long ulongval () { return (long) (sizeof (long)); }
16243 #include <stdlib.h>
16248 FILE *f = fopen ("conftest.val", "w");
16251 if (((long) (sizeof (long))) < 0)
16253 long i = longval ();
16254 if (i != ((long) (sizeof (long))))
16256 fprintf (f, "%ld\n", i);
16260 unsigned long i = ulongval ();
16261 if (i != ((long) (sizeof (long))))
16263 fprintf (f, "%lu\n", i);
16265 exit (ferror (f) || fclose (f) != 0);
16271 rm -f conftest
$ac_exeext
16272 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16273 (eval $ac_link) 2>&5
16275 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16276 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
16277 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16278 (eval $ac_try) 2>&5
16280 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16281 (exit $ac_status); }; }; then
16282 ac_cv_sizeof_long
=`cat conftest.val`
16284 echo "$as_me: program exited with status $ac_status" >&5
16285 echo "$as_me: failed program was:" >&5
16286 sed 's/^/| /' conftest.
$ac_ext >&5
16288 ( exit $ac_status )
16289 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long), 77
16290 See \`config.log' for more details." >&5
16291 echo "$as_me: error: cannot compute sizeof (long), 77
16292 See \`config.log' for more details." >&2;}
16293 { (exit 1); exit 1; }; }
16295 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
16300 ac_cv_sizeof_long
=0
16303 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long" >&5
16304 echo "${ECHO_T}$ac_cv_sizeof_long" >&6
16305 cat >>confdefs.h
<<_ACEOF
16306 #define SIZEOF_LONG $ac_cv_sizeof_long
16310 echo "$as_me:$LINENO: checking for size_t" >&5
16311 echo $ECHO_N "checking for size_t... $ECHO_C" >&6
16312 if test "${ac_cv_type_size_t+set}" = set; then
16313 echo $ECHO_N "(cached) $ECHO_C" >&6
16315 cat >conftest.
$ac_ext <<_ACEOF
16318 cat confdefs.h
>>conftest.
$ac_ext
16319 cat >>conftest.
$ac_ext <<_ACEOF
16320 /* end confdefs.h. */
16321 $ac_includes_default
16327 if (sizeof (size_t))
16333 rm -f conftest.
$ac_objext
16334 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16335 (eval $ac_compile) 2>conftest.er1
16337 grep -v '^ *+' conftest.er1
>conftest.err
16339 cat conftest.err
>&5
16340 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16341 (exit $ac_status); } &&
16342 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16343 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16344 (eval $ac_try) 2>&5
16346 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16347 (exit $ac_status); }; } &&
16348 { ac_try
='test -s conftest.$ac_objext'
16349 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16350 (eval $ac_try) 2>&5
16352 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16353 (exit $ac_status); }; }; then
16354 ac_cv_type_size_t
=yes
16356 echo "$as_me: failed program was:" >&5
16357 sed 's/^/| /' conftest.
$ac_ext >&5
16359 ac_cv_type_size_t
=no
16361 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16363 echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
16364 echo "${ECHO_T}$ac_cv_type_size_t" >&6
16366 echo "$as_me:$LINENO: checking size of size_t" >&5
16367 echo $ECHO_N "checking size of size_t... $ECHO_C" >&6
16368 if test "${ac_cv_sizeof_size_t+set}" = set; then
16369 echo $ECHO_N "(cached) $ECHO_C" >&6
16371 if test "$ac_cv_type_size_t" = yes; then
16372 # The cast to unsigned long works around a bug in the HP C Compiler
16373 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
16374 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
16375 # This bug is HP SR number 8606223364.
16376 if test "$cross_compiling" = yes; then
16377 # Depending upon the size, compute the lo and hi bounds.
16378 cat >conftest.
$ac_ext <<_ACEOF
16381 cat confdefs.h
>>conftest.
$ac_ext
16382 cat >>conftest.
$ac_ext <<_ACEOF
16383 /* end confdefs.h. */
16384 $ac_includes_default
16388 static int test_array [1 - 2 * !(((long) (sizeof (size_t))) >= 0)];
16395 rm -f conftest.
$ac_objext
16396 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16397 (eval $ac_compile) 2>conftest.er1
16399 grep -v '^ *+' conftest.er1
>conftest.err
16401 cat conftest.err
>&5
16402 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16403 (exit $ac_status); } &&
16404 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16405 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16406 (eval $ac_try) 2>&5
16408 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16409 (exit $ac_status); }; } &&
16410 { ac_try
='test -s conftest.$ac_objext'
16411 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16412 (eval $ac_try) 2>&5
16414 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16415 (exit $ac_status); }; }; then
16418 cat >conftest.
$ac_ext <<_ACEOF
16421 cat confdefs.h
>>conftest.
$ac_ext
16422 cat >>conftest.
$ac_ext <<_ACEOF
16423 /* end confdefs.h. */
16424 $ac_includes_default
16428 static int test_array [1 - 2 * !(((long) (sizeof (size_t))) <= $ac_mid)];
16435 rm -f conftest.
$ac_objext
16436 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16437 (eval $ac_compile) 2>conftest.er1
16439 grep -v '^ *+' conftest.er1
>conftest.err
16441 cat conftest.err
>&5
16442 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16443 (exit $ac_status); } &&
16444 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16445 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16446 (eval $ac_try) 2>&5
16448 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16449 (exit $ac_status); }; } &&
16450 { ac_try
='test -s conftest.$ac_objext'
16451 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16452 (eval $ac_try) 2>&5
16454 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16455 (exit $ac_status); }; }; then
16456 ac_hi
=$ac_mid; break
16458 echo "$as_me: failed program was:" >&5
16459 sed 's/^/| /' conftest.
$ac_ext >&5
16461 ac_lo
=`expr $ac_mid + 1`
16462 if test $ac_lo -le $ac_mid; then
16466 ac_mid
=`expr 2 '*' $ac_mid + 1`
16468 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16471 echo "$as_me: failed program was:" >&5
16472 sed 's/^/| /' conftest.
$ac_ext >&5
16474 cat >conftest.
$ac_ext <<_ACEOF
16477 cat confdefs.h
>>conftest.
$ac_ext
16478 cat >>conftest.
$ac_ext <<_ACEOF
16479 /* end confdefs.h. */
16480 $ac_includes_default
16484 static int test_array [1 - 2 * !(((long) (sizeof (size_t))) < 0)];
16491 rm -f conftest.
$ac_objext
16492 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16493 (eval $ac_compile) 2>conftest.er1
16495 grep -v '^ *+' conftest.er1
>conftest.err
16497 cat conftest.err
>&5
16498 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16499 (exit $ac_status); } &&
16500 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16501 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16502 (eval $ac_try) 2>&5
16504 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16505 (exit $ac_status); }; } &&
16506 { ac_try
='test -s conftest.$ac_objext'
16507 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16508 (eval $ac_try) 2>&5
16510 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16511 (exit $ac_status); }; }; then
16514 cat >conftest.
$ac_ext <<_ACEOF
16517 cat confdefs.h
>>conftest.
$ac_ext
16518 cat >>conftest.
$ac_ext <<_ACEOF
16519 /* end confdefs.h. */
16520 $ac_includes_default
16524 static int test_array [1 - 2 * !(((long) (sizeof (size_t))) >= $ac_mid)];
16531 rm -f conftest.
$ac_objext
16532 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16533 (eval $ac_compile) 2>conftest.er1
16535 grep -v '^ *+' conftest.er1
>conftest.err
16537 cat conftest.err
>&5
16538 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16539 (exit $ac_status); } &&
16540 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16541 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16542 (eval $ac_try) 2>&5
16544 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16545 (exit $ac_status); }; } &&
16546 { ac_try
='test -s conftest.$ac_objext'
16547 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16548 (eval $ac_try) 2>&5
16550 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16551 (exit $ac_status); }; }; then
16552 ac_lo
=$ac_mid; break
16554 echo "$as_me: failed program was:" >&5
16555 sed 's/^/| /' conftest.
$ac_ext >&5
16557 ac_hi
=`expr '(' $ac_mid ')' - 1`
16558 if test $ac_mid -le $ac_hi; then
16562 ac_mid
=`expr 2 '*' $ac_mid`
16564 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16567 echo "$as_me: failed program was:" >&5
16568 sed 's/^/| /' conftest.
$ac_ext >&5
16572 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16574 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16575 # Binary search between lo and hi bounds.
16576 while test "x$ac_lo" != "x$ac_hi"; do
16577 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
16578 cat >conftest.
$ac_ext <<_ACEOF
16581 cat confdefs.h
>>conftest.
$ac_ext
16582 cat >>conftest.
$ac_ext <<_ACEOF
16583 /* end confdefs.h. */
16584 $ac_includes_default
16588 static int test_array [1 - 2 * !(((long) (sizeof (size_t))) <= $ac_mid)];
16595 rm -f conftest.
$ac_objext
16596 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16597 (eval $ac_compile) 2>conftest.er1
16599 grep -v '^ *+' conftest.er1
>conftest.err
16601 cat conftest.err
>&5
16602 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16603 (exit $ac_status); } &&
16604 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16605 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16606 (eval $ac_try) 2>&5
16608 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16609 (exit $ac_status); }; } &&
16610 { ac_try
='test -s conftest.$ac_objext'
16611 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16612 (eval $ac_try) 2>&5
16614 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16615 (exit $ac_status); }; }; then
16618 echo "$as_me: failed program was:" >&5
16619 sed 's/^/| /' conftest.
$ac_ext >&5
16621 ac_lo
=`expr '(' $ac_mid ')' + 1`
16623 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16626 ?
*) ac_cv_sizeof_size_t
=$ac_lo;;
16627 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (size_t), 77
16628 See \`config.log' for more details." >&5
16629 echo "$as_me: error: cannot compute sizeof (size_t), 77
16630 See \`config.log' for more details." >&2;}
16631 { (exit 1); exit 1; }; } ;;
16634 if test "$cross_compiling" = yes; then
16635 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
16636 See \`config.log' for more details." >&5
16637 echo "$as_me: error: cannot run test program while cross compiling
16638 See \`config.log' for more details." >&2;}
16639 { (exit 1); exit 1; }; }
16641 cat >conftest.
$ac_ext <<_ACEOF
16644 cat confdefs.h
>>conftest.
$ac_ext
16645 cat >>conftest.
$ac_ext <<_ACEOF
16646 /* end confdefs.h. */
16647 $ac_includes_default
16648 long longval () { return (long) (sizeof (size_t)); }
16649 unsigned long ulongval () { return (long) (sizeof (size_t)); }
16651 #include <stdlib.h>
16656 FILE *f = fopen ("conftest.val", "w");
16659 if (((long) (sizeof (size_t))) < 0)
16661 long i = longval ();
16662 if (i != ((long) (sizeof (size_t))))
16664 fprintf (f, "%ld\n", i);
16668 unsigned long i = ulongval ();
16669 if (i != ((long) (sizeof (size_t))))
16671 fprintf (f, "%lu\n", i);
16673 exit (ferror (f) || fclose (f) != 0);
16679 rm -f conftest
$ac_exeext
16680 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16681 (eval $ac_link) 2>&5
16683 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16684 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
16685 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16686 (eval $ac_try) 2>&5
16688 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16689 (exit $ac_status); }; }; then
16690 ac_cv_sizeof_size_t
=`cat conftest.val`
16692 echo "$as_me: program exited with status $ac_status" >&5
16693 echo "$as_me: failed program was:" >&5
16694 sed 's/^/| /' conftest.
$ac_ext >&5
16696 ( exit $ac_status )
16697 { { echo "$as_me:$LINENO: error: cannot compute sizeof (size_t), 77
16698 See \`config.log' for more details." >&5
16699 echo "$as_me: error: cannot compute sizeof (size_t), 77
16700 See \`config.log' for more details." >&2;}
16701 { (exit 1); exit 1; }; }
16703 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
16708 ac_cv_sizeof_size_t
=0
16711 echo "$as_me:$LINENO: result: $ac_cv_sizeof_size_t" >&5
16712 echo "${ECHO_T}$ac_cv_sizeof_size_t" >&6
16713 cat >>confdefs.h
<<_ACEOF
16714 #define SIZEOF_SIZE_T $ac_cv_sizeof_size_t
16721 echo "$as_me:$LINENO: checking for long long" >&5
16722 echo $ECHO_N "checking for long long... $ECHO_C" >&6
16723 if test "${ac_cv_type_long_long+set}" = set; then
16724 echo $ECHO_N "(cached) $ECHO_C" >&6
16726 cat >conftest.
$ac_ext <<_ACEOF
16729 cat confdefs.h
>>conftest.
$ac_ext
16730 cat >>conftest.
$ac_ext <<_ACEOF
16731 /* end confdefs.h. */
16732 $ac_includes_default
16736 if ((long long *) 0)
16738 if (sizeof (long long))
16744 rm -f conftest.
$ac_objext
16745 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16746 (eval $ac_compile) 2>conftest.er1
16748 grep -v '^ *+' conftest.er1
>conftest.err
16750 cat conftest.err
>&5
16751 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16752 (exit $ac_status); } &&
16753 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16754 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16755 (eval $ac_try) 2>&5
16757 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16758 (exit $ac_status); }; } &&
16759 { ac_try
='test -s conftest.$ac_objext'
16760 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16761 (eval $ac_try) 2>&5
16763 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16764 (exit $ac_status); }; }; then
16765 ac_cv_type_long_long
=yes
16767 echo "$as_me: failed program was:" >&5
16768 sed 's/^/| /' conftest.
$ac_ext >&5
16770 ac_cv_type_long_long
=no
16772 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16774 echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
16775 echo "${ECHO_T}$ac_cv_type_long_long" >&6
16777 echo "$as_me:$LINENO: checking size of long long" >&5
16778 echo $ECHO_N "checking size of long long... $ECHO_C" >&6
16779 if test "${ac_cv_sizeof_long_long+set}" = set; then
16780 echo $ECHO_N "(cached) $ECHO_C" >&6
16782 if test "$ac_cv_type_long_long" = yes; then
16783 # The cast to unsigned long works around a bug in the HP C Compiler
16784 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
16785 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
16786 # This bug is HP SR number 8606223364.
16787 if test "$cross_compiling" = yes; then
16788 # Depending upon the size, compute the lo and hi bounds.
16789 cat >conftest.
$ac_ext <<_ACEOF
16792 cat confdefs.h
>>conftest.
$ac_ext
16793 cat >>conftest.
$ac_ext <<_ACEOF
16794 /* end confdefs.h. */
16795 $ac_includes_default
16799 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= 0)];
16806 rm -f conftest.
$ac_objext
16807 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16808 (eval $ac_compile) 2>conftest.er1
16810 grep -v '^ *+' conftest.er1
>conftest.err
16812 cat conftest.err
>&5
16813 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16814 (exit $ac_status); } &&
16815 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16816 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16817 (eval $ac_try) 2>&5
16819 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16820 (exit $ac_status); }; } &&
16821 { ac_try
='test -s conftest.$ac_objext'
16822 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16823 (eval $ac_try) 2>&5
16825 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16826 (exit $ac_status); }; }; then
16829 cat >conftest.
$ac_ext <<_ACEOF
16832 cat confdefs.h
>>conftest.
$ac_ext
16833 cat >>conftest.
$ac_ext <<_ACEOF
16834 /* end confdefs.h. */
16835 $ac_includes_default
16839 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
16846 rm -f conftest.
$ac_objext
16847 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16848 (eval $ac_compile) 2>conftest.er1
16850 grep -v '^ *+' conftest.er1
>conftest.err
16852 cat conftest.err
>&5
16853 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16854 (exit $ac_status); } &&
16855 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16856 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16857 (eval $ac_try) 2>&5
16859 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16860 (exit $ac_status); }; } &&
16861 { ac_try
='test -s conftest.$ac_objext'
16862 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16863 (eval $ac_try) 2>&5
16865 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16866 (exit $ac_status); }; }; then
16867 ac_hi
=$ac_mid; break
16869 echo "$as_me: failed program was:" >&5
16870 sed 's/^/| /' conftest.
$ac_ext >&5
16872 ac_lo
=`expr $ac_mid + 1`
16873 if test $ac_lo -le $ac_mid; then
16877 ac_mid
=`expr 2 '*' $ac_mid + 1`
16879 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16882 echo "$as_me: failed program was:" >&5
16883 sed 's/^/| /' conftest.
$ac_ext >&5
16885 cat >conftest.
$ac_ext <<_ACEOF
16888 cat confdefs.h
>>conftest.
$ac_ext
16889 cat >>conftest.
$ac_ext <<_ACEOF
16890 /* end confdefs.h. */
16891 $ac_includes_default
16895 static int test_array [1 - 2 * !(((long) (sizeof (long long))) < 0)];
16902 rm -f conftest.
$ac_objext
16903 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16904 (eval $ac_compile) 2>conftest.er1
16906 grep -v '^ *+' conftest.er1
>conftest.err
16908 cat conftest.err
>&5
16909 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16910 (exit $ac_status); } &&
16911 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16912 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16913 (eval $ac_try) 2>&5
16915 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16916 (exit $ac_status); }; } &&
16917 { ac_try
='test -s conftest.$ac_objext'
16918 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16919 (eval $ac_try) 2>&5
16921 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16922 (exit $ac_status); }; }; then
16925 cat >conftest.
$ac_ext <<_ACEOF
16928 cat confdefs.h
>>conftest.
$ac_ext
16929 cat >>conftest.
$ac_ext <<_ACEOF
16930 /* end confdefs.h. */
16931 $ac_includes_default
16935 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= $ac_mid)];
16942 rm -f conftest.
$ac_objext
16943 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16944 (eval $ac_compile) 2>conftest.er1
16946 grep -v '^ *+' conftest.er1
>conftest.err
16948 cat conftest.err
>&5
16949 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16950 (exit $ac_status); } &&
16951 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16952 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16953 (eval $ac_try) 2>&5
16955 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16956 (exit $ac_status); }; } &&
16957 { ac_try
='test -s conftest.$ac_objext'
16958 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16959 (eval $ac_try) 2>&5
16961 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16962 (exit $ac_status); }; }; then
16963 ac_lo
=$ac_mid; break
16965 echo "$as_me: failed program was:" >&5
16966 sed 's/^/| /' conftest.
$ac_ext >&5
16968 ac_hi
=`expr '(' $ac_mid ')' - 1`
16969 if test $ac_mid -le $ac_hi; then
16973 ac_mid
=`expr 2 '*' $ac_mid`
16975 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16978 echo "$as_me: failed program was:" >&5
16979 sed 's/^/| /' conftest.
$ac_ext >&5
16983 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16985 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16986 # Binary search between lo and hi bounds.
16987 while test "x$ac_lo" != "x$ac_hi"; do
16988 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
16989 cat >conftest.
$ac_ext <<_ACEOF
16992 cat confdefs.h
>>conftest.
$ac_ext
16993 cat >>conftest.
$ac_ext <<_ACEOF
16994 /* end confdefs.h. */
16995 $ac_includes_default
16999 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
17006 rm -f conftest.
$ac_objext
17007 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17008 (eval $ac_compile) 2>conftest.er1
17010 grep -v '^ *+' conftest.er1
>conftest.err
17012 cat conftest.err
>&5
17013 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17014 (exit $ac_status); } &&
17015 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17016 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17017 (eval $ac_try) 2>&5
17019 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17020 (exit $ac_status); }; } &&
17021 { ac_try
='test -s conftest.$ac_objext'
17022 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17023 (eval $ac_try) 2>&5
17025 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17026 (exit $ac_status); }; }; then
17029 echo "$as_me: failed program was:" >&5
17030 sed 's/^/| /' conftest.
$ac_ext >&5
17032 ac_lo
=`expr '(' $ac_mid ')' + 1`
17034 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17037 ?
*) ac_cv_sizeof_long_long
=$ac_lo;;
17038 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
17039 See \`config.log' for more details." >&5
17040 echo "$as_me: error: cannot compute sizeof (long long), 77
17041 See \`config.log' for more details." >&2;}
17042 { (exit 1); exit 1; }; } ;;
17045 if test "$cross_compiling" = yes; then
17046 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
17047 See \`config.log' for more details." >&5
17048 echo "$as_me: error: cannot run test program while cross compiling
17049 See \`config.log' for more details." >&2;}
17050 { (exit 1); exit 1; }; }
17052 cat >conftest.
$ac_ext <<_ACEOF
17055 cat confdefs.h
>>conftest.
$ac_ext
17056 cat >>conftest.
$ac_ext <<_ACEOF
17057 /* end confdefs.h. */
17058 $ac_includes_default
17059 long longval () { return (long) (sizeof (long long)); }
17060 unsigned long ulongval () { return (long) (sizeof (long long)); }
17062 #include <stdlib.h>
17067 FILE *f = fopen ("conftest.val", "w");
17070 if (((long) (sizeof (long long))) < 0)
17072 long i = longval ();
17073 if (i != ((long) (sizeof (long long))))
17075 fprintf (f, "%ld\n", i);
17079 unsigned long i = ulongval ();
17080 if (i != ((long) (sizeof (long long))))
17082 fprintf (f, "%lu\n", i);
17084 exit (ferror (f) || fclose (f) != 0);
17090 rm -f conftest
$ac_exeext
17091 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17092 (eval $ac_link) 2>&5
17094 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17095 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
17096 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17097 (eval $ac_try) 2>&5
17099 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17100 (exit $ac_status); }; }; then
17101 ac_cv_sizeof_long_long
=`cat conftest.val`
17103 echo "$as_me: program exited with status $ac_status" >&5
17104 echo "$as_me: failed program was:" >&5
17105 sed 's/^/| /' conftest.
$ac_ext >&5
17107 ( exit $ac_status )
17108 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
17109 See \`config.log' for more details." >&5
17110 echo "$as_me: error: cannot compute sizeof (long long), 77
17111 See \`config.log' for more details." >&2;}
17112 { (exit 1); exit 1; }; }
17114 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
17119 ac_cv_sizeof_long_long
=0
17122 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
17123 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6
17124 cat >>confdefs.h
<<_ACEOF
17125 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
17131 echo "$as_me:$LINENO: checking for long long" >&5
17132 echo $ECHO_N "checking for long long... $ECHO_C" >&6
17133 if test "${ac_cv_type_long_long+set}" = set; then
17134 echo $ECHO_N "(cached) $ECHO_C" >&6
17136 cat >conftest.
$ac_ext <<_ACEOF
17139 cat confdefs.h
>>conftest.
$ac_ext
17140 cat >>conftest.
$ac_ext <<_ACEOF
17141 /* end confdefs.h. */
17142 $ac_includes_default
17146 if ((long long *) 0)
17148 if (sizeof (long long))
17154 rm -f conftest.
$ac_objext
17155 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17156 (eval $ac_compile) 2>conftest.er1
17158 grep -v '^ *+' conftest.er1
>conftest.err
17160 cat conftest.err
>&5
17161 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17162 (exit $ac_status); } &&
17163 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17164 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17165 (eval $ac_try) 2>&5
17167 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17168 (exit $ac_status); }; } &&
17169 { ac_try
='test -s conftest.$ac_objext'
17170 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17171 (eval $ac_try) 2>&5
17173 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17174 (exit $ac_status); }; }; then
17175 ac_cv_type_long_long
=yes
17177 echo "$as_me: failed program was:" >&5
17178 sed 's/^/| /' conftest.
$ac_ext >&5
17180 ac_cv_type_long_long
=no
17182 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17184 echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
17185 echo "${ECHO_T}$ac_cv_type_long_long" >&6
17187 echo "$as_me:$LINENO: checking size of long long" >&5
17188 echo $ECHO_N "checking size of long long... $ECHO_C" >&6
17189 if test "${ac_cv_sizeof_long_long+set}" = set; then
17190 echo $ECHO_N "(cached) $ECHO_C" >&6
17192 if test "$ac_cv_type_long_long" = yes; then
17193 # The cast to unsigned long works around a bug in the HP C Compiler
17194 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
17195 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
17196 # This bug is HP SR number 8606223364.
17197 if test "$cross_compiling" = yes; then
17198 # Depending upon the size, compute the lo and hi bounds.
17199 cat >conftest.
$ac_ext <<_ACEOF
17202 cat confdefs.h
>>conftest.
$ac_ext
17203 cat >>conftest.
$ac_ext <<_ACEOF
17204 /* end confdefs.h. */
17205 $ac_includes_default
17209 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= 0)];
17216 rm -f conftest.
$ac_objext
17217 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17218 (eval $ac_compile) 2>conftest.er1
17220 grep -v '^ *+' conftest.er1
>conftest.err
17222 cat conftest.err
>&5
17223 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17224 (exit $ac_status); } &&
17225 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17226 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17227 (eval $ac_try) 2>&5
17229 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17230 (exit $ac_status); }; } &&
17231 { ac_try
='test -s conftest.$ac_objext'
17232 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17233 (eval $ac_try) 2>&5
17235 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17236 (exit $ac_status); }; }; then
17239 cat >conftest.
$ac_ext <<_ACEOF
17242 cat confdefs.h
>>conftest.
$ac_ext
17243 cat >>conftest.
$ac_ext <<_ACEOF
17244 /* end confdefs.h. */
17245 $ac_includes_default
17249 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
17256 rm -f conftest.
$ac_objext
17257 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17258 (eval $ac_compile) 2>conftest.er1
17260 grep -v '^ *+' conftest.er1
>conftest.err
17262 cat conftest.err
>&5
17263 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17264 (exit $ac_status); } &&
17265 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17266 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17267 (eval $ac_try) 2>&5
17269 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17270 (exit $ac_status); }; } &&
17271 { ac_try
='test -s conftest.$ac_objext'
17272 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17273 (eval $ac_try) 2>&5
17275 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17276 (exit $ac_status); }; }; then
17277 ac_hi
=$ac_mid; break
17279 echo "$as_me: failed program was:" >&5
17280 sed 's/^/| /' conftest.
$ac_ext >&5
17282 ac_lo
=`expr $ac_mid + 1`
17283 if test $ac_lo -le $ac_mid; then
17287 ac_mid
=`expr 2 '*' $ac_mid + 1`
17289 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17292 echo "$as_me: failed program was:" >&5
17293 sed 's/^/| /' conftest.
$ac_ext >&5
17295 cat >conftest.
$ac_ext <<_ACEOF
17298 cat confdefs.h
>>conftest.
$ac_ext
17299 cat >>conftest.
$ac_ext <<_ACEOF
17300 /* end confdefs.h. */
17301 $ac_includes_default
17305 static int test_array [1 - 2 * !(((long) (sizeof (long long))) < 0)];
17312 rm -f conftest.
$ac_objext
17313 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17314 (eval $ac_compile) 2>conftest.er1
17316 grep -v '^ *+' conftest.er1
>conftest.err
17318 cat conftest.err
>&5
17319 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17320 (exit $ac_status); } &&
17321 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17322 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17323 (eval $ac_try) 2>&5
17325 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17326 (exit $ac_status); }; } &&
17327 { ac_try
='test -s conftest.$ac_objext'
17328 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17329 (eval $ac_try) 2>&5
17331 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17332 (exit $ac_status); }; }; then
17335 cat >conftest.
$ac_ext <<_ACEOF
17338 cat confdefs.h
>>conftest.
$ac_ext
17339 cat >>conftest.
$ac_ext <<_ACEOF
17340 /* end confdefs.h. */
17341 $ac_includes_default
17345 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= $ac_mid)];
17352 rm -f conftest.
$ac_objext
17353 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17354 (eval $ac_compile) 2>conftest.er1
17356 grep -v '^ *+' conftest.er1
>conftest.err
17358 cat conftest.err
>&5
17359 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17360 (exit $ac_status); } &&
17361 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17362 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17363 (eval $ac_try) 2>&5
17365 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17366 (exit $ac_status); }; } &&
17367 { ac_try
='test -s conftest.$ac_objext'
17368 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17369 (eval $ac_try) 2>&5
17371 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17372 (exit $ac_status); }; }; then
17373 ac_lo
=$ac_mid; break
17375 echo "$as_me: failed program was:" >&5
17376 sed 's/^/| /' conftest.
$ac_ext >&5
17378 ac_hi
=`expr '(' $ac_mid ')' - 1`
17379 if test $ac_mid -le $ac_hi; then
17383 ac_mid
=`expr 2 '*' $ac_mid`
17385 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17388 echo "$as_me: failed program was:" >&5
17389 sed 's/^/| /' conftest.
$ac_ext >&5
17393 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17395 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17396 # Binary search between lo and hi bounds.
17397 while test "x$ac_lo" != "x$ac_hi"; do
17398 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
17399 cat >conftest.
$ac_ext <<_ACEOF
17402 cat confdefs.h
>>conftest.
$ac_ext
17403 cat >>conftest.
$ac_ext <<_ACEOF
17404 /* end confdefs.h. */
17405 $ac_includes_default
17409 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
17416 rm -f conftest.
$ac_objext
17417 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17418 (eval $ac_compile) 2>conftest.er1
17420 grep -v '^ *+' conftest.er1
>conftest.err
17422 cat conftest.err
>&5
17423 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17424 (exit $ac_status); } &&
17425 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17426 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17427 (eval $ac_try) 2>&5
17429 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17430 (exit $ac_status); }; } &&
17431 { ac_try
='test -s conftest.$ac_objext'
17432 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17433 (eval $ac_try) 2>&5
17435 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17436 (exit $ac_status); }; }; then
17439 echo "$as_me: failed program was:" >&5
17440 sed 's/^/| /' conftest.
$ac_ext >&5
17442 ac_lo
=`expr '(' $ac_mid ')' + 1`
17444 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17447 ?
*) ac_cv_sizeof_long_long
=$ac_lo;;
17448 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
17449 See \`config.log' for more details." >&5
17450 echo "$as_me: error: cannot compute sizeof (long long), 77
17451 See \`config.log' for more details." >&2;}
17452 { (exit 1); exit 1; }; } ;;
17455 if test "$cross_compiling" = yes; then
17456 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
17457 See \`config.log' for more details." >&5
17458 echo "$as_me: error: cannot run test program while cross compiling
17459 See \`config.log' for more details." >&2;}
17460 { (exit 1); exit 1; }; }
17462 cat >conftest.
$ac_ext <<_ACEOF
17465 cat confdefs.h
>>conftest.
$ac_ext
17466 cat >>conftest.
$ac_ext <<_ACEOF
17467 /* end confdefs.h. */
17468 $ac_includes_default
17469 long longval () { return (long) (sizeof (long long)); }
17470 unsigned long ulongval () { return (long) (sizeof (long long)); }
17472 #include <stdlib.h>
17477 FILE *f = fopen ("conftest.val", "w");
17480 if (((long) (sizeof (long long))) < 0)
17482 long i = longval ();
17483 if (i != ((long) (sizeof (long long))))
17485 fprintf (f, "%ld\n", i);
17489 unsigned long i = ulongval ();
17490 if (i != ((long) (sizeof (long long))))
17492 fprintf (f, "%lu\n", i);
17494 exit (ferror (f) || fclose (f) != 0);
17500 rm -f conftest
$ac_exeext
17501 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17502 (eval $ac_link) 2>&5
17504 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17505 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
17506 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17507 (eval $ac_try) 2>&5
17509 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17510 (exit $ac_status); }; }; then
17511 ac_cv_sizeof_long_long
=`cat conftest.val`
17513 echo "$as_me: program exited with status $ac_status" >&5
17514 echo "$as_me: failed program was:" >&5
17515 sed 's/^/| /' conftest.
$ac_ext >&5
17517 ( exit $ac_status )
17518 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
17519 See \`config.log' for more details." >&5
17520 echo "$as_me: error: cannot compute sizeof (long long), 77
17521 See \`config.log' for more details." >&2;}
17522 { (exit 1); exit 1; }; }
17524 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
17529 ac_cv_sizeof_long_long
=0
17532 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
17533 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6
17534 cat >>confdefs.h
<<_ACEOF
17535 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
17539 if test "$ac_cv_sizeof_long_long" != "0"; then
17540 CPPFLAGS
="$CPPFLAGS -D_INCLUDE_LONGLONG"
17544 echo "$as_me:$LINENO: checking for long long" >&5
17545 echo $ECHO_N "checking for long long... $ECHO_C" >&6
17546 if test "${ac_cv_type_long_long+set}" = set; then
17547 echo $ECHO_N "(cached) $ECHO_C" >&6
17549 cat >conftest.
$ac_ext <<_ACEOF
17552 cat confdefs.h
>>conftest.
$ac_ext
17553 cat >>conftest.
$ac_ext <<_ACEOF
17554 /* end confdefs.h. */
17555 $ac_includes_default
17559 if ((long long *) 0)
17561 if (sizeof (long long))
17567 rm -f conftest.
$ac_objext
17568 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17569 (eval $ac_compile) 2>conftest.er1
17571 grep -v '^ *+' conftest.er1
>conftest.err
17573 cat conftest.err
>&5
17574 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17575 (exit $ac_status); } &&
17576 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17577 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17578 (eval $ac_try) 2>&5
17580 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17581 (exit $ac_status); }; } &&
17582 { ac_try
='test -s conftest.$ac_objext'
17583 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17584 (eval $ac_try) 2>&5
17586 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17587 (exit $ac_status); }; }; then
17588 ac_cv_type_long_long
=yes
17590 echo "$as_me: failed program was:" >&5
17591 sed 's/^/| /' conftest.
$ac_ext >&5
17593 ac_cv_type_long_long
=no
17595 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17597 echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
17598 echo "${ECHO_T}$ac_cv_type_long_long" >&6
17600 echo "$as_me:$LINENO: checking size of long long" >&5
17601 echo $ECHO_N "checking size of long long... $ECHO_C" >&6
17602 if test "${ac_cv_sizeof_long_long+set}" = set; then
17603 echo $ECHO_N "(cached) $ECHO_C" >&6
17605 if test "$ac_cv_type_long_long" = yes; then
17606 # The cast to unsigned long works around a bug in the HP C Compiler
17607 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
17608 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
17609 # This bug is HP SR number 8606223364.
17610 if test "$cross_compiling" = yes; then
17611 # Depending upon the size, compute the lo and hi bounds.
17612 cat >conftest.
$ac_ext <<_ACEOF
17615 cat confdefs.h
>>conftest.
$ac_ext
17616 cat >>conftest.
$ac_ext <<_ACEOF
17617 /* end confdefs.h. */
17618 $ac_includes_default
17622 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= 0)];
17629 rm -f conftest.
$ac_objext
17630 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17631 (eval $ac_compile) 2>conftest.er1
17633 grep -v '^ *+' conftest.er1
>conftest.err
17635 cat conftest.err
>&5
17636 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17637 (exit $ac_status); } &&
17638 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17639 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17640 (eval $ac_try) 2>&5
17642 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17643 (exit $ac_status); }; } &&
17644 { ac_try
='test -s conftest.$ac_objext'
17645 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17646 (eval $ac_try) 2>&5
17648 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17649 (exit $ac_status); }; }; then
17652 cat >conftest.
$ac_ext <<_ACEOF
17655 cat confdefs.h
>>conftest.
$ac_ext
17656 cat >>conftest.
$ac_ext <<_ACEOF
17657 /* end confdefs.h. */
17658 $ac_includes_default
17662 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
17669 rm -f conftest.
$ac_objext
17670 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17671 (eval $ac_compile) 2>conftest.er1
17673 grep -v '^ *+' conftest.er1
>conftest.err
17675 cat conftest.err
>&5
17676 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17677 (exit $ac_status); } &&
17678 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17679 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17680 (eval $ac_try) 2>&5
17682 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17683 (exit $ac_status); }; } &&
17684 { ac_try
='test -s conftest.$ac_objext'
17685 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17686 (eval $ac_try) 2>&5
17688 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17689 (exit $ac_status); }; }; then
17690 ac_hi
=$ac_mid; break
17692 echo "$as_me: failed program was:" >&5
17693 sed 's/^/| /' conftest.
$ac_ext >&5
17695 ac_lo
=`expr $ac_mid + 1`
17696 if test $ac_lo -le $ac_mid; then
17700 ac_mid
=`expr 2 '*' $ac_mid + 1`
17702 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17705 echo "$as_me: failed program was:" >&5
17706 sed 's/^/| /' conftest.
$ac_ext >&5
17708 cat >conftest.
$ac_ext <<_ACEOF
17711 cat confdefs.h
>>conftest.
$ac_ext
17712 cat >>conftest.
$ac_ext <<_ACEOF
17713 /* end confdefs.h. */
17714 $ac_includes_default
17718 static int test_array [1 - 2 * !(((long) (sizeof (long long))) < 0)];
17725 rm -f conftest.
$ac_objext
17726 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17727 (eval $ac_compile) 2>conftest.er1
17729 grep -v '^ *+' conftest.er1
>conftest.err
17731 cat conftest.err
>&5
17732 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17733 (exit $ac_status); } &&
17734 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17735 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17736 (eval $ac_try) 2>&5
17738 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17739 (exit $ac_status); }; } &&
17740 { ac_try
='test -s conftest.$ac_objext'
17741 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17742 (eval $ac_try) 2>&5
17744 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17745 (exit $ac_status); }; }; then
17748 cat >conftest.
$ac_ext <<_ACEOF
17751 cat confdefs.h
>>conftest.
$ac_ext
17752 cat >>conftest.
$ac_ext <<_ACEOF
17753 /* end confdefs.h. */
17754 $ac_includes_default
17758 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= $ac_mid)];
17765 rm -f conftest.
$ac_objext
17766 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17767 (eval $ac_compile) 2>conftest.er1
17769 grep -v '^ *+' conftest.er1
>conftest.err
17771 cat conftest.err
>&5
17772 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17773 (exit $ac_status); } &&
17774 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17775 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17776 (eval $ac_try) 2>&5
17778 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17779 (exit $ac_status); }; } &&
17780 { ac_try
='test -s conftest.$ac_objext'
17781 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17782 (eval $ac_try) 2>&5
17784 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17785 (exit $ac_status); }; }; then
17786 ac_lo
=$ac_mid; break
17788 echo "$as_me: failed program was:" >&5
17789 sed 's/^/| /' conftest.
$ac_ext >&5
17791 ac_hi
=`expr '(' $ac_mid ')' - 1`
17792 if test $ac_mid -le $ac_hi; then
17796 ac_mid
=`expr 2 '*' $ac_mid`
17798 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17801 echo "$as_me: failed program was:" >&5
17802 sed 's/^/| /' conftest.
$ac_ext >&5
17806 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17808 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17809 # Binary search between lo and hi bounds.
17810 while test "x$ac_lo" != "x$ac_hi"; do
17811 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
17812 cat >conftest.
$ac_ext <<_ACEOF
17815 cat confdefs.h
>>conftest.
$ac_ext
17816 cat >>conftest.
$ac_ext <<_ACEOF
17817 /* end confdefs.h. */
17818 $ac_includes_default
17822 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
17829 rm -f conftest.
$ac_objext
17830 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17831 (eval $ac_compile) 2>conftest.er1
17833 grep -v '^ *+' conftest.er1
>conftest.err
17835 cat conftest.err
>&5
17836 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17837 (exit $ac_status); } &&
17838 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17839 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17840 (eval $ac_try) 2>&5
17842 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17843 (exit $ac_status); }; } &&
17844 { ac_try
='test -s conftest.$ac_objext'
17845 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17846 (eval $ac_try) 2>&5
17848 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17849 (exit $ac_status); }; }; then
17852 echo "$as_me: failed program was:" >&5
17853 sed 's/^/| /' conftest.
$ac_ext >&5
17855 ac_lo
=`expr '(' $ac_mid ')' + 1`
17857 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17860 ?
*) ac_cv_sizeof_long_long
=$ac_lo;;
17861 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
17862 See \`config.log' for more details." >&5
17863 echo "$as_me: error: cannot compute sizeof (long long), 77
17864 See \`config.log' for more details." >&2;}
17865 { (exit 1); exit 1; }; } ;;
17868 if test "$cross_compiling" = yes; then
17869 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
17870 See \`config.log' for more details." >&5
17871 echo "$as_me: error: cannot run test program while cross compiling
17872 See \`config.log' for more details." >&2;}
17873 { (exit 1); exit 1; }; }
17875 cat >conftest.
$ac_ext <<_ACEOF
17878 cat confdefs.h
>>conftest.
$ac_ext
17879 cat >>conftest.
$ac_ext <<_ACEOF
17880 /* end confdefs.h. */
17881 $ac_includes_default
17882 long longval () { return (long) (sizeof (long long)); }
17883 unsigned long ulongval () { return (long) (sizeof (long long)); }
17885 #include <stdlib.h>
17890 FILE *f = fopen ("conftest.val", "w");
17893 if (((long) (sizeof (long long))) < 0)
17895 long i = longval ();
17896 if (i != ((long) (sizeof (long long))))
17898 fprintf (f, "%ld\n", i);
17902 unsigned long i = ulongval ();
17903 if (i != ((long) (sizeof (long long))))
17905 fprintf (f, "%lu\n", i);
17907 exit (ferror (f) || fclose (f) != 0);
17913 rm -f conftest
$ac_exeext
17914 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17915 (eval $ac_link) 2>&5
17917 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17918 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
17919 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17920 (eval $ac_try) 2>&5
17922 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17923 (exit $ac_status); }; }; then
17924 ac_cv_sizeof_long_long
=`cat conftest.val`
17926 echo "$as_me: program exited with status $ac_status" >&5
17927 echo "$as_me: failed program was:" >&5
17928 sed 's/^/| /' conftest.
$ac_ext >&5
17930 ( exit $ac_status )
17931 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
17932 See \`config.log' for more details." >&5
17933 echo "$as_me: error: cannot compute sizeof (long long), 77
17934 See \`config.log' for more details." >&2;}
17935 { (exit 1); exit 1; }; }
17937 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
17942 ac_cv_sizeof_long_long
=0
17945 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
17946 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6
17947 cat >>confdefs.h
<<_ACEOF
17948 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
17954 echo "$as_me:$LINENO: checking size of wchar_t" >&5
17955 echo $ECHO_N "checking size of wchar_t... $ECHO_C" >&6
17956 if test "${wx_cv_sizeof_wchar_t+set}" = set; then
17957 echo $ECHO_N "(cached) $ECHO_C" >&6
17960 if test "$cross_compiling" = yes; then
17964 wx_cv_sizeof_wchar_t
=0
17967 wx_cv_sizeof_wchar_t
=4
17973 cat >conftest.
$ac_ext <<_ACEOF
17976 cat confdefs.h
>>conftest.
$ac_ext
17977 cat >>conftest.
$ac_ext <<_ACEOF
17978 /* end confdefs.h. */
17980 /* DJGPP only has fake wchar_t: */
17982 # error "fake wchar_t"
17984 #ifdef HAVE_WCHAR_H
17986 # include <stddef.h>
17988 # include <wchar.h>
17990 #ifdef HAVE_STDLIB_H
17991 # include <stdlib.h>
17996 FILE *f=fopen("conftestval", "w");
17998 fprintf(f, "%i", sizeof(wchar_t));
18003 rm -f conftest
$ac_exeext
18004 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18005 (eval $ac_link) 2>&5
18007 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18008 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
18009 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18010 (eval $ac_try) 2>&5
18012 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18013 (exit $ac_status); }; }; then
18014 wx_cv_sizeof_wchar_t
=`cat conftestval`
18016 echo "$as_me: program exited with status $ac_status" >&5
18017 echo "$as_me: failed program was:" >&5
18018 sed 's/^/| /' conftest.
$ac_ext >&5
18020 ( exit $ac_status )
18021 wx_cv_sizeof_wchar_t
=0
18023 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
18027 echo "$as_me:$LINENO: result: $wx_cv_sizeof_wchar_t" >&5
18028 echo "${ECHO_T}$wx_cv_sizeof_wchar_t" >&6
18030 cat >>confdefs.h
<<_ACEOF
18031 #define SIZEOF_WCHAR_T $wx_cv_sizeof_wchar_t
18035 # Check whether --enable-largefile or --disable-largefile was given.
18036 if test "${enable_largefile+set}" = set; then
18037 enableval
="$enable_largefile"
18040 if test "$enable_largefile" != no
; then
18043 echo "$as_me:$LINENO: checking for _FILE_OFFSET_BITS value needed for large files" >&5
18044 echo $ECHO_N "checking for _FILE_OFFSET_BITS value needed for large files... $ECHO_C" >&6
18045 if test "${ac_cv_sys_file_offset_bits+set}" = set; then
18046 echo $ECHO_N "(cached) $ECHO_C" >&6
18049 cat >conftest.
$ac_ext <<_ACEOF
18052 cat confdefs.h
>>conftest.
$ac_ext
18053 cat >>conftest.
$ac_ext <<_ACEOF
18054 /* end confdefs.h. */
18055 #define _FILE_OFFSET_BITS 64
18056 #include <sys/types.h>
18061 unsigned int field: sizeof(off_t) == 8;
18068 rm -f conftest.
$ac_objext
18069 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18070 (eval $ac_compile) 2>conftest.er1
18072 grep -v '^ *+' conftest.er1
>conftest.err
18074 cat conftest.err
>&5
18075 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18076 (exit $ac_status); } &&
18077 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18078 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18079 (eval $ac_try) 2>&5
18081 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18082 (exit $ac_status); }; } &&
18083 { ac_try
='test -s conftest.$ac_objext'
18084 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18085 (eval $ac_try) 2>&5
18087 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18088 (exit $ac_status); }; }; then
18089 ac_cv_sys_file_offset_bits
=64
18091 echo "$as_me: failed program was:" >&5
18092 sed 's/^/| /' conftest.
$ac_ext >&5
18094 ac_cv_sys_file_offset_bits
=no
18096 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18100 echo "$as_me:$LINENO: result: $ac_cv_sys_file_offset_bits" >&5
18101 echo "${ECHO_T}$ac_cv_sys_file_offset_bits" >&6
18103 if test "$ac_cv_sys_file_offset_bits" != no
; then
18105 cat >>confdefs.h
<<_ACEOF
18106 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
18111 if test "x$wx_largefile" != "xyes"; then
18113 echo "$as_me:$LINENO: checking for _LARGE_FILES value needed for large files" >&5
18114 echo $ECHO_N "checking for _LARGE_FILES value needed for large files... $ECHO_C" >&6
18115 if test "${ac_cv_sys_large_files+set}" = set; then
18116 echo $ECHO_N "(cached) $ECHO_C" >&6
18119 cat >conftest.
$ac_ext <<_ACEOF
18122 cat confdefs.h
>>conftest.
$ac_ext
18123 cat >>conftest.
$ac_ext <<_ACEOF
18124 /* end confdefs.h. */
18125 #define _LARGE_FILES 1
18126 #include <sys/types.h>
18131 unsigned int field: sizeof(off_t) == 8;
18138 rm -f conftest.
$ac_objext
18139 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18140 (eval $ac_compile) 2>conftest.er1
18142 grep -v '^ *+' conftest.er1
>conftest.err
18144 cat conftest.err
>&5
18145 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18146 (exit $ac_status); } &&
18147 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18148 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18149 (eval $ac_try) 2>&5
18151 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18152 (exit $ac_status); }; } &&
18153 { ac_try
='test -s conftest.$ac_objext'
18154 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18155 (eval $ac_try) 2>&5
18157 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18158 (exit $ac_status); }; }; then
18159 ac_cv_sys_large_files
=1
18161 echo "$as_me: failed program was:" >&5
18162 sed 's/^/| /' conftest.
$ac_ext >&5
18164 ac_cv_sys_large_files
=no
18166 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18170 echo "$as_me:$LINENO: result: $ac_cv_sys_large_files" >&5
18171 echo "${ECHO_T}$ac_cv_sys_large_files" >&6
18173 if test "$ac_cv_sys_large_files" != no
; then
18175 cat >>confdefs.h
<<_ACEOF
18176 #define _LARGE_FILES $ac_cv_sys_large_files
18183 echo "$as_me:$LINENO: checking if large file support is available" >&5
18184 echo $ECHO_N "checking if large file support is available... $ECHO_C" >&6
18185 if test "x$wx_largefile" = "xyes"; then
18186 cat >>confdefs.h
<<\_ACEOF
18187 #define HAVE_LARGEFILE_SUPPORT 1
18191 echo "$as_me:$LINENO: result: $wx_largefile" >&5
18192 echo "${ECHO_T}$wx_largefile" >&6
18196 if test "x$wx_largefile" = "xyes"; then
18197 if test "x$ac_cv_sys_file_offset_bits" = "x64"; then
18198 WX_LARGEFILE_FLAGS
="-D_FILE_OFFSET_BITS=64 -D_LARGE_FILES"
18200 WX_LARGEFILE_FLAGS
="-D_LARGE_FILES"
18202 CPPFLAGS
="$CPPFLAGS $WX_LARGEFILE_FLAGS"
18205 echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5
18206 echo $ECHO_N "checking whether byte ordering is bigendian... $ECHO_C" >&6
18207 if test "${ac_cv_c_bigendian+set}" = set; then
18208 echo $ECHO_N "(cached) $ECHO_C" >&6
18210 ac_cv_c_bigendian
=unknown
18211 # See if sys/param.h defines the BYTE_ORDER macro.
18212 cat >conftest.
$ac_ext <<_ACEOF
18215 cat confdefs.h
>>conftest.
$ac_ext
18216 cat >>conftest.
$ac_ext <<_ACEOF
18217 /* end confdefs.h. */
18218 #include <sys/types.h>
18219 #include <sys/param.h>
18224 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN
18225 bogus endian macros
18231 rm -f conftest.
$ac_objext
18232 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18233 (eval $ac_compile) 2>conftest.er1
18235 grep -v '^ *+' conftest.er1
>conftest.err
18237 cat conftest.err
>&5
18238 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18239 (exit $ac_status); } &&
18240 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18241 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18242 (eval $ac_try) 2>&5
18244 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18245 (exit $ac_status); }; } &&
18246 { ac_try
='test -s conftest.$ac_objext'
18247 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18248 (eval $ac_try) 2>&5
18250 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18251 (exit $ac_status); }; }; then
18252 # It does; now see whether it defined to BIG_ENDIAN or not.
18253 cat >conftest.
$ac_ext <<_ACEOF
18256 cat confdefs.h
>>conftest.
$ac_ext
18257 cat >>conftest.
$ac_ext <<_ACEOF
18258 /* end confdefs.h. */
18259 #include <sys/types.h>
18260 #include <sys/param.h>
18265 #if BYTE_ORDER != BIG_ENDIAN
18272 rm -f conftest.
$ac_objext
18273 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18274 (eval $ac_compile) 2>conftest.er1
18276 grep -v '^ *+' conftest.er1
>conftest.err
18278 cat conftest.err
>&5
18279 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18280 (exit $ac_status); } &&
18281 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18282 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18283 (eval $ac_try) 2>&5
18285 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18286 (exit $ac_status); }; } &&
18287 { ac_try
='test -s conftest.$ac_objext'
18288 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18289 (eval $ac_try) 2>&5
18291 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18292 (exit $ac_status); }; }; then
18293 ac_cv_c_bigendian
=yes
18295 echo "$as_me: failed program was:" >&5
18296 sed 's/^/| /' conftest.
$ac_ext >&5
18298 ac_cv_c_bigendian
=no
18300 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18302 echo "$as_me: failed program was:" >&5
18303 sed 's/^/| /' conftest.
$ac_ext >&5
18306 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18307 if test $ac_cv_c_bigendian = unknown
; then
18308 if test "$cross_compiling" = yes; then
18309 ac_cv_c_bigendian
=unknown
18311 cat >conftest.
$ac_ext <<_ACEOF
18314 cat confdefs.h
>>conftest.
$ac_ext
18315 cat >>conftest.
$ac_ext <<_ACEOF
18316 /* end confdefs.h. */
18318 /* Are we little or big endian? From Harbison&Steele. */
18322 char c[sizeof (long)];
18325 exit (u.c[sizeof (long) - 1] == 1);
18328 rm -f conftest
$ac_exeext
18329 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18330 (eval $ac_link) 2>&5
18332 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18333 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
18334 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18335 (eval $ac_try) 2>&5
18337 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18338 (exit $ac_status); }; }; then
18339 ac_cv_c_bigendian
=no
18341 echo "$as_me: program exited with status $ac_status" >&5
18342 echo "$as_me: failed program was:" >&5
18343 sed 's/^/| /' conftest.
$ac_ext >&5
18345 ( exit $ac_status )
18346 ac_cv_c_bigendian
=yes
18348 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
18352 echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5
18353 echo "${ECHO_T}$ac_cv_c_bigendian" >&6
18354 if test $ac_cv_c_bigendian = unknown
; then
18355 { 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
18356 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;}
18358 if test $ac_cv_c_bigendian = yes; then
18359 cat >>confdefs.h
<<\_ACEOF
18360 #define WORDS_BIGENDIAN 1
18367 ac_cpp
='$CXXCPP $CPPFLAGS'
18368 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18369 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18370 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
18371 echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5
18372 echo $ECHO_N "checking how to run the C++ preprocessor... $ECHO_C" >&6
18373 if test -z "$CXXCPP"; then
18374 if test "${ac_cv_prog_CXXCPP+set}" = set; then
18375 echo $ECHO_N "(cached) $ECHO_C" >&6
18377 # Double quotes because CXXCPP needs to be expanded
18378 for CXXCPP
in "$CXX -E" "/lib/cpp"
18380 ac_preproc_ok
=false
18381 for ac_cxx_preproc_warn_flag
in '' yes
18383 # Use a header file that comes with gcc, so configuring glibc
18384 # with a fresh cross-compiler works.
18385 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
18386 # <limits.h> exists even on freestanding compilers.
18387 # On the NeXT, cc -E runs the code through the compiler's parser,
18388 # not just through cpp. "Syntax error" is here to catch this case.
18389 cat >conftest.
$ac_ext <<_ACEOF
18392 cat confdefs.h
>>conftest.
$ac_ext
18393 cat >>conftest.
$ac_ext <<_ACEOF
18394 /* end confdefs.h. */
18396 # include <limits.h>
18398 # include <assert.h>
18402 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
18403 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
18405 grep -v '^ *+' conftest.er1
>conftest.err
18407 cat conftest.err
>&5
18408 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18409 (exit $ac_status); } >/dev
/null
; then
18410 if test -s conftest.err
; then
18411 ac_cpp_err
=$ac_cxx_preproc_warn_flag
18412 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
18419 if test -z "$ac_cpp_err"; then
18422 echo "$as_me: failed program was:" >&5
18423 sed 's/^/| /' conftest.
$ac_ext >&5
18425 # Broken: fails on valid input.
18428 rm -f conftest.err conftest.
$ac_ext
18430 # OK, works on sane cases. Now check whether non-existent headers
18431 # can be detected and how.
18432 cat >conftest.
$ac_ext <<_ACEOF
18435 cat confdefs.h
>>conftest.
$ac_ext
18436 cat >>conftest.
$ac_ext <<_ACEOF
18437 /* end confdefs.h. */
18438 #include <ac_nonexistent.h>
18440 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
18441 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
18443 grep -v '^ *+' conftest.er1
>conftest.err
18445 cat conftest.err
>&5
18446 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18447 (exit $ac_status); } >/dev
/null
; then
18448 if test -s conftest.err
; then
18449 ac_cpp_err
=$ac_cxx_preproc_warn_flag
18450 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
18457 if test -z "$ac_cpp_err"; then
18458 # Broken: success on invalid input.
18461 echo "$as_me: failed program was:" >&5
18462 sed 's/^/| /' conftest.
$ac_ext >&5
18464 # Passes both tests.
18468 rm -f conftest.err conftest.
$ac_ext
18471 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
18472 rm -f conftest.err conftest.
$ac_ext
18473 if $ac_preproc_ok; then
18478 ac_cv_prog_CXXCPP
=$CXXCPP
18481 CXXCPP
=$ac_cv_prog_CXXCPP
18483 ac_cv_prog_CXXCPP
=$CXXCPP
18485 echo "$as_me:$LINENO: result: $CXXCPP" >&5
18486 echo "${ECHO_T}$CXXCPP" >&6
18487 ac_preproc_ok
=false
18488 for ac_cxx_preproc_warn_flag
in '' yes
18490 # Use a header file that comes with gcc, so configuring glibc
18491 # with a fresh cross-compiler works.
18492 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
18493 # <limits.h> exists even on freestanding compilers.
18494 # On the NeXT, cc -E runs the code through the compiler's parser,
18495 # not just through cpp. "Syntax error" is here to catch this case.
18496 cat >conftest.
$ac_ext <<_ACEOF
18499 cat confdefs.h
>>conftest.
$ac_ext
18500 cat >>conftest.
$ac_ext <<_ACEOF
18501 /* end confdefs.h. */
18503 # include <limits.h>
18505 # include <assert.h>
18509 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
18510 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
18512 grep -v '^ *+' conftest.er1
>conftest.err
18514 cat conftest.err
>&5
18515 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18516 (exit $ac_status); } >/dev
/null
; then
18517 if test -s conftest.err
; then
18518 ac_cpp_err
=$ac_cxx_preproc_warn_flag
18519 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
18526 if test -z "$ac_cpp_err"; then
18529 echo "$as_me: failed program was:" >&5
18530 sed 's/^/| /' conftest.
$ac_ext >&5
18532 # Broken: fails on valid input.
18535 rm -f conftest.err conftest.
$ac_ext
18537 # OK, works on sane cases. Now check whether non-existent headers
18538 # can be detected and how.
18539 cat >conftest.
$ac_ext <<_ACEOF
18542 cat confdefs.h
>>conftest.
$ac_ext
18543 cat >>conftest.
$ac_ext <<_ACEOF
18544 /* end confdefs.h. */
18545 #include <ac_nonexistent.h>
18547 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
18548 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
18550 grep -v '^ *+' conftest.er1
>conftest.err
18552 cat conftest.err
>&5
18553 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18554 (exit $ac_status); } >/dev
/null
; then
18555 if test -s conftest.err
; then
18556 ac_cpp_err
=$ac_cxx_preproc_warn_flag
18557 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
18564 if test -z "$ac_cpp_err"; then
18565 # Broken: success on invalid input.
18568 echo "$as_me: failed program was:" >&5
18569 sed 's/^/| /' conftest.
$ac_ext >&5
18571 # Passes both tests.
18575 rm -f conftest.err conftest.
$ac_ext
18578 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
18579 rm -f conftest.err conftest.
$ac_ext
18580 if $ac_preproc_ok; then
18583 { { echo "$as_me:$LINENO: error: C++ preprocessor \"$CXXCPP\" fails sanity check
18584 See \`config.log' for more details." >&5
18585 echo "$as_me: error: C++ preprocessor \"$CXXCPP\" fails sanity check
18586 See \`config.log' for more details." >&2;}
18587 { (exit 1); exit 1; }; }
18591 ac_cpp
='$CXXCPP $CPPFLAGS'
18592 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18593 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18594 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
18598 if test "$cross_compiling" = "yes"; then
18599 cat >>confdefs.h
<<\_ACEOF
18600 #define wxUSE_IOSTREAMH 1
18607 ac_cpp
='$CXXCPP $CPPFLAGS'
18608 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18609 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18610 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
18614 for ac_header
in iostream
18616 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
18617 if eval "test \"\${$as_ac_Header+set}\" = set"; then
18618 echo "$as_me:$LINENO: checking for $ac_header" >&5
18619 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
18620 if eval "test \"\${$as_ac_Header+set}\" = set"; then
18621 echo $ECHO_N "(cached) $ECHO_C" >&6
18623 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
18624 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
18626 # Is the header compilable?
18627 echo "$as_me:$LINENO: checking $ac_header usability" >&5
18628 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
18629 cat >conftest.
$ac_ext <<_ACEOF
18632 cat confdefs.h
>>conftest.
$ac_ext
18633 cat >>conftest.
$ac_ext <<_ACEOF
18634 /* end confdefs.h. */
18635 $ac_includes_default
18636 #include <$ac_header>
18638 rm -f conftest.
$ac_objext
18639 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18640 (eval $ac_compile) 2>conftest.er1
18642 grep -v '^ *+' conftest.er1
>conftest.err
18644 cat conftest.err
>&5
18645 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18646 (exit $ac_status); } &&
18647 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
18648 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18649 (eval $ac_try) 2>&5
18651 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18652 (exit $ac_status); }; } &&
18653 { ac_try
='test -s conftest.$ac_objext'
18654 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18655 (eval $ac_try) 2>&5
18657 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18658 (exit $ac_status); }; }; then
18659 ac_header_compiler
=yes
18661 echo "$as_me: failed program was:" >&5
18662 sed 's/^/| /' conftest.
$ac_ext >&5
18664 ac_header_compiler
=no
18666 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18667 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
18668 echo "${ECHO_T}$ac_header_compiler" >&6
18670 # Is the header present?
18671 echo "$as_me:$LINENO: checking $ac_header presence" >&5
18672 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
18673 cat >conftest.
$ac_ext <<_ACEOF
18676 cat confdefs.h
>>conftest.
$ac_ext
18677 cat >>conftest.
$ac_ext <<_ACEOF
18678 /* end confdefs.h. */
18679 #include <$ac_header>
18681 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
18682 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
18684 grep -v '^ *+' conftest.er1
>conftest.err
18686 cat conftest.err
>&5
18687 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18688 (exit $ac_status); } >/dev
/null
; then
18689 if test -s conftest.err
; then
18690 ac_cpp_err
=$ac_cxx_preproc_warn_flag
18691 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
18698 if test -z "$ac_cpp_err"; then
18699 ac_header_preproc
=yes
18701 echo "$as_me: failed program was:" >&5
18702 sed 's/^/| /' conftest.
$ac_ext >&5
18704 ac_header_preproc
=no
18706 rm -f conftest.err conftest.
$ac_ext
18707 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
18708 echo "${ECHO_T}$ac_header_preproc" >&6
18710 # So? What about this header?
18711 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
18713 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
18714 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
18715 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
18716 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
18717 ac_header_preproc
=yes
18720 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
18721 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
18722 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
18723 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
18724 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
18725 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
18726 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
18727 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
18728 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
18729 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
18730 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
18731 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
18734 ## ----------------------------------------- ##
18735 ## Report this to wx-dev@lists.wxwindows.org ##
18736 ## ----------------------------------------- ##
18739 sed "s/^/$as_me: WARNING: /" >&2
18742 echo "$as_me:$LINENO: checking for $ac_header" >&5
18743 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
18744 if eval "test \"\${$as_ac_Header+set}\" = set"; then
18745 echo $ECHO_N "(cached) $ECHO_C" >&6
18747 eval "$as_ac_Header=\$ac_header_preproc"
18749 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
18750 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
18753 if test `eval echo '${'$as_ac_Header'}'` = yes; then
18754 cat >>confdefs.h
<<_ACEOF
18755 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
18763 if test "$ac_cv_header_iostream" = "yes" ; then
18766 cat >>confdefs.h
<<\_ACEOF
18767 #define wxUSE_IOSTREAMH 1
18773 ac_cpp
='$CPP $CPPFLAGS'
18774 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18775 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18776 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
18782 echo "$as_me:$LINENO: checking if C++ compiler supports bool" >&5
18783 echo $ECHO_N "checking if C++ compiler supports bool... $ECHO_C" >&6
18784 if test "${wx_cv_cpp_bool+set}" = set; then
18785 echo $ECHO_N "(cached) $ECHO_C" >&6
18791 ac_cpp
='$CXXCPP $CPPFLAGS'
18792 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18793 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18794 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
18797 cat >conftest.
$ac_ext <<_ACEOF
18800 cat confdefs.h
>>conftest.
$ac_ext
18801 cat >>conftest.
$ac_ext <<_ACEOF
18802 /* end confdefs.h. */
18817 rm -f conftest.
$ac_objext
18818 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18819 (eval $ac_compile) 2>conftest.er1
18821 grep -v '^ *+' conftest.er1
>conftest.err
18823 cat conftest.err
>&5
18824 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18825 (exit $ac_status); } &&
18826 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
18827 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18828 (eval $ac_try) 2>&5
18830 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18831 (exit $ac_status); }; } &&
18832 { ac_try
='test -s conftest.$ac_objext'
18833 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18834 (eval $ac_try) 2>&5
18836 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18837 (exit $ac_status); }; }; then
18842 echo "$as_me: failed program was:" >&5
18843 sed 's/^/| /' conftest.
$ac_ext >&5
18850 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18853 ac_cpp
='$CPP $CPPFLAGS'
18854 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18855 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18856 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
18860 echo "$as_me:$LINENO: result: $wx_cv_cpp_bool" >&5
18861 echo "${ECHO_T}$wx_cv_cpp_bool" >&6
18863 if test "$wx_cv_cpp_bool" = "yes"; then
18864 cat >>confdefs.h
<<\_ACEOF
18865 #define HAVE_BOOL 1
18872 echo "$as_me:$LINENO: checking if C++ compiler supports the explicit keyword" >&5
18873 echo $ECHO_N "checking if C++ compiler supports the explicit keyword... $ECHO_C" >&6
18874 if test "${wx_cv_explicit+set}" = set; then
18875 echo $ECHO_N "(cached) $ECHO_C" >&6
18881 ac_cpp
='$CXXCPP $CPPFLAGS'
18882 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18883 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18884 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
18887 cat >conftest.
$ac_ext <<_ACEOF
18890 cat confdefs.h
>>conftest.
$ac_ext
18891 cat >>conftest.
$ac_ext <<_ACEOF
18892 /* end confdefs.h. */
18894 class Foo { public: explicit Foo(int) {} };
18906 rm -f conftest.
$ac_objext
18907 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18908 (eval $ac_compile) 2>conftest.er1
18910 grep -v '^ *+' conftest.er1
>conftest.err
18912 cat conftest.err
>&5
18913 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18914 (exit $ac_status); } &&
18915 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
18916 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18917 (eval $ac_try) 2>&5
18919 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18920 (exit $ac_status); }; } &&
18921 { ac_try
='test -s conftest.$ac_objext'
18922 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18923 (eval $ac_try) 2>&5
18925 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18926 (exit $ac_status); }; }; then
18928 cat >conftest.
$ac_ext <<_ACEOF
18931 cat confdefs.h
>>conftest.
$ac_ext
18932 cat >>conftest.
$ac_ext <<_ACEOF
18933 /* end confdefs.h. */
18935 class Foo { public: explicit Foo(int) {} };
18936 static void TakeFoo(const Foo& foo) { }
18949 rm -f conftest.
$ac_objext
18950 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18951 (eval $ac_compile) 2>conftest.er1
18953 grep -v '^ *+' conftest.er1
>conftest.err
18955 cat conftest.err
>&5
18956 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18957 (exit $ac_status); } &&
18958 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
18959 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18960 (eval $ac_try) 2>&5
18962 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18963 (exit $ac_status); }; } &&
18964 { ac_try
='test -s conftest.$ac_objext'
18965 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18966 (eval $ac_try) 2>&5
18968 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18969 (exit $ac_status); }; }; then
18972 echo "$as_me: failed program was:" >&5
18973 sed 's/^/| /' conftest.
$ac_ext >&5
18978 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18981 echo "$as_me: failed program was:" >&5
18982 sed 's/^/| /' conftest.
$ac_ext >&5
18987 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18990 ac_cpp
='$CPP $CPPFLAGS'
18991 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18992 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18993 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
18997 echo "$as_me:$LINENO: result: $wx_cv_explicit" >&5
18998 echo "${ECHO_T}$wx_cv_explicit" >&6
19000 if test "$wx_cv_explicit" = "yes"; then
19001 cat >>confdefs.h
<<\_ACEOF
19002 #define HAVE_EXPLICIT 1
19008 echo "$as_me:$LINENO: checking whether the compiler supports const_cast<>" >&5
19009 echo $ECHO_N "checking whether the compiler supports const_cast<>... $ECHO_C" >&6
19010 if test "${ac_cv_cxx_const_cast+set}" = set; then
19011 echo $ECHO_N "(cached) $ECHO_C" >&6
19016 ac_cpp
='$CXXCPP $CPPFLAGS'
19017 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19018 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19019 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
19021 cat >conftest.
$ac_ext <<_ACEOF
19024 cat confdefs.h
>>conftest.
$ac_ext
19025 cat >>conftest.
$ac_ext <<_ACEOF
19026 /* end confdefs.h. */
19031 int x = 0;const int& y = x;int& z = const_cast<int&>(y);return z;
19036 rm -f conftest.
$ac_objext
19037 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19038 (eval $ac_compile) 2>conftest.er1
19040 grep -v '^ *+' conftest.er1
>conftest.err
19042 cat conftest.err
>&5
19043 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19044 (exit $ac_status); } &&
19045 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
19046 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19047 (eval $ac_try) 2>&5
19049 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19050 (exit $ac_status); }; } &&
19051 { ac_try
='test -s conftest.$ac_objext'
19052 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19053 (eval $ac_try) 2>&5
19055 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19056 (exit $ac_status); }; }; then
19057 ac_cv_cxx_const_cast
=yes
19059 echo "$as_me: failed program was:" >&5
19060 sed 's/^/| /' conftest.
$ac_ext >&5
19062 ac_cv_cxx_const_cast
=no
19064 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19066 ac_cpp
='$CPP $CPPFLAGS'
19067 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19068 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19069 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
19073 echo "$as_me:$LINENO: result: $ac_cv_cxx_const_cast" >&5
19074 echo "${ECHO_T}$ac_cv_cxx_const_cast" >&6
19075 if test "$ac_cv_cxx_const_cast" = yes; then
19077 cat >>confdefs.h
<<\_ACEOF
19078 #define HAVE_CONST_CAST
19083 echo "$as_me:$LINENO: checking whether the compiler supports static_cast<>" >&5
19084 echo $ECHO_N "checking whether the compiler supports static_cast<>... $ECHO_C" >&6
19085 if test "${ac_cv_cxx_static_cast+set}" = set; then
19086 echo $ECHO_N "(cached) $ECHO_C" >&6
19091 ac_cpp
='$CXXCPP $CPPFLAGS'
19092 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19093 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19094 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
19096 cat >conftest.
$ac_ext <<_ACEOF
19099 cat confdefs.h
>>conftest.
$ac_ext
19100 cat >>conftest.
$ac_ext <<_ACEOF
19101 /* end confdefs.h. */
19102 #include <typeinfo>
19103 class Base { public : Base () {} virtual void f () = 0; };
19104 class Derived : public Base { public : Derived () {} virtual void f () {} };
19105 int g (Derived&) { return 0; }
19110 Derived d; Base& b = d; Derived& s = static_cast<Derived&> (b); return g (s);
19115 rm -f conftest.
$ac_objext
19116 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19117 (eval $ac_compile) 2>conftest.er1
19119 grep -v '^ *+' conftest.er1
>conftest.err
19121 cat conftest.err
>&5
19122 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19123 (exit $ac_status); } &&
19124 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
19125 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19126 (eval $ac_try) 2>&5
19128 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19129 (exit $ac_status); }; } &&
19130 { ac_try
='test -s conftest.$ac_objext'
19131 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19132 (eval $ac_try) 2>&5
19134 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19135 (exit $ac_status); }; }; then
19136 ac_cv_cxx_static_cast
=yes
19138 echo "$as_me: failed program was:" >&5
19139 sed 's/^/| /' conftest.
$ac_ext >&5
19141 ac_cv_cxx_static_cast
=no
19143 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19145 ac_cpp
='$CPP $CPPFLAGS'
19146 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19147 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19148 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
19152 echo "$as_me:$LINENO: result: $ac_cv_cxx_static_cast" >&5
19153 echo "${ECHO_T}$ac_cv_cxx_static_cast" >&6
19154 if test "$ac_cv_cxx_static_cast" = yes; then
19156 cat >>confdefs.h
<<\_ACEOF
19157 #define HAVE_STATIC_CAST
19163 if test "$wxUSE_STL" = "yes"; then
19165 ac_cpp
='$CXXCPP $CPPFLAGS'
19166 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19167 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19168 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
19171 echo "$as_me:$LINENO: checking for basic STL functionality" >&5
19172 echo $ECHO_N "checking for basic STL functionality... $ECHO_C" >&6
19173 cat >conftest.
$ac_ext <<_ACEOF
19176 cat confdefs.h
>>conftest.
$ac_ext
19177 cat >>conftest.
$ac_ext <<_ACEOF
19178 /* end confdefs.h. */
19180 #include <functional>
19181 #include <algorithm>
19187 std::vector<int> moo;
19188 std::list<int> foo;
19189 std::vector<int>::iterator it =
19190 std::find_if(moo.begin(), moo.end(),
19191 std::bind2nd(std::less<int>(), 3));
19196 rm -f conftest.
$ac_objext
19197 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19198 (eval $ac_compile) 2>conftest.er1
19200 grep -v '^ *+' conftest.er1
>conftest.err
19202 cat conftest.err
>&5
19203 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19204 (exit $ac_status); } &&
19205 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
19206 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19207 (eval $ac_try) 2>&5
19209 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19210 (exit $ac_status); }; } &&
19211 { ac_try
='test -s conftest.$ac_objext'
19212 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19213 (eval $ac_try) 2>&5
19215 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19216 (exit $ac_status); }; }; then
19217 echo "$as_me:$LINENO: result: yes" >&5
19218 echo "${ECHO_T}yes" >&6
19220 echo "$as_me: failed program was:" >&5
19221 sed 's/^/| /' conftest.
$ac_ext >&5
19223 echo "$as_me:$LINENO: result: no" >&5
19224 echo "${ECHO_T}no" >&6
19225 { { echo "$as_me:$LINENO: error: Basic STL functionality missing" >&5
19226 echo "$as_me: error: Basic STL functionality missing" >&2;}
19227 { (exit 1); exit 1; }; }
19229 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19231 echo "$as_me:$LINENO: checking for std::wstring in <string>" >&5
19232 echo $ECHO_N "checking for std::wstring in <string>... $ECHO_C" >&6
19233 cat >conftest.
$ac_ext <<_ACEOF
19236 cat confdefs.h
>>conftest.
$ac_ext
19237 cat >>conftest.
$ac_ext <<_ACEOF
19238 /* end confdefs.h. */
19248 rm -f conftest.
$ac_objext
19249 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19250 (eval $ac_compile) 2>conftest.er1
19252 grep -v '^ *+' conftest.er1
>conftest.err
19254 cat conftest.err
>&5
19255 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19256 (exit $ac_status); } &&
19257 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
19258 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19259 (eval $ac_try) 2>&5
19261 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19262 (exit $ac_status); }; } &&
19263 { ac_try
='test -s conftest.$ac_objext'
19264 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19265 (eval $ac_try) 2>&5
19267 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19268 (exit $ac_status); }; }; then
19269 echo "$as_me:$LINENO: result: yes" >&5
19270 echo "${ECHO_T}yes" >&6
19271 cat >>confdefs.h
<<\_ACEOF
19272 #define HAVE_STD_WSTRING 1
19276 echo "$as_me: failed program was:" >&5
19277 sed 's/^/| /' conftest.
$ac_ext >&5
19279 echo "$as_me:$LINENO: result: no" >&5
19280 echo "${ECHO_T}no" >&6
19282 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19284 echo "$as_me:$LINENO: checking for compliant std::string::compare" >&5
19285 echo $ECHO_N "checking for compliant std::string::compare... $ECHO_C" >&6
19286 cat >conftest.
$ac_ext <<_ACEOF
19289 cat confdefs.h
>>conftest.
$ac_ext
19290 cat >>conftest.
$ac_ext <<_ACEOF
19291 /* end confdefs.h. */
19296 std::string foo, bar;
19298 foo.compare(1, 1, bar);
19299 foo.compare(1, 1, bar, 1, 1);
19301 foo.compare(1, 1, "");
19302 foo.compare(1, 1, "", 2);
19307 rm -f conftest.
$ac_objext
19308 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19309 (eval $ac_compile) 2>conftest.er1
19311 grep -v '^ *+' conftest.er1
>conftest.err
19313 cat conftest.err
>&5
19314 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19315 (exit $ac_status); } &&
19316 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
19317 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19318 (eval $ac_try) 2>&5
19320 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19321 (exit $ac_status); }; } &&
19322 { ac_try
='test -s conftest.$ac_objext'
19323 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19324 (eval $ac_try) 2>&5
19326 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19327 (exit $ac_status); }; }; then
19328 echo "$as_me:$LINENO: result: yes" >&5
19329 echo "${ECHO_T}yes" >&6
19330 cat >>confdefs.h
<<\_ACEOF
19331 #define HAVE_STD_STRING_COMPARE 1
19335 echo "$as_me: failed program was:" >&5
19336 sed 's/^/| /' conftest.
$ac_ext >&5
19338 echo "$as_me:$LINENO: result: no" >&5
19339 echo "${ECHO_T}no" >&6
19341 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19344 ac_cpp
='$CPP $CPPFLAGS'
19345 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19346 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19347 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
19353 /usr/local/include \
19355 /usr/Motif-2.1/include \
19356 /usr/Motif-1.2/include \
19357 /usr/include/Motif1.2 \
19358 /opt/xpm/include/X11 \
19359 /opt/GBxpm/include/ \
19360 /opt/GBxpm/X11/include/ \
19363 /usr/openwin/include \
19367 /usr/X11R6/include \
19368 /usr/X11R6.4/include \
19369 /usr/X11R5/include \
19370 /usr/X11R4/include \
19372 /usr/include/X11R6 \
19373 /usr/include/X11R5 \
19374 /usr/include/X11R4 \
19376 /usr/local/X11R6/include \
19377 /usr/local/X11R5/include \
19378 /usr/local/X11R4/include \
19380 /usr/local/include/X11R6 \
19381 /usr/local/include/X11R5 \
19382 /usr/local/include/X11R4 \
19386 /usr/local/X11/include \
19387 /usr/local/include/X11 \
19389 /usr/X386/include \
19390 /usr/x386/include \
19391 /usr/XFree86/include/X11 \
19393 X:/XFree86/include \
19394 X:/XFree86/include/X11 \
19397 /usr/local/include/gtk \
19398 /usr/include/glib \
19399 /usr/local/include/glib \
19402 /usr/local/include/qt \
19404 /usr/local/arm/3.3.2/include \
19406 /usr/include/windows \
19407 /usr/include/wine \
19408 /usr/local/include/wine \
19410 /usr/unsupported/include \
19411 /usr/athena/include \
19412 /usr/local/x11r5/include \
19413 /usr/lpp/Xamples/include \
19415 /usr/openwin/share/include"
19417 SEARCH_LIB
="/usr/lib /usr/lib32 `echo "$SEARCH_INCLUDE" | sed s/include/lib/g` /usr/lib64 /usr/X11R6/lib64"
19420 cat >confcache
<<\_ACEOF
19421 # This file is a shell script that caches the results of configure
19422 # tests run on this system so they can be shared between configure
19423 # scripts and configure runs, see configure's option --config-cache.
19424 # It is not useful on other systems. If it contains results you don't
19425 # want to keep, you may remove or edit it.
19427 # config.status only pays attention to the cache file if you give it
19428 # the --recheck option to rerun configure.
19430 # `ac_cv_env_foo' variables (set or unset) will be overridden when
19431 # loading this file, other *unset* `ac_cv_foo' will be assigned the
19432 # following values.
19436 # The following way of writing the cache mishandles newlines in values,
19437 # but we know of no workaround that is simple, portable, and efficient.
19438 # So, don't put newlines in cache variables' values.
19439 # Ultrix sh set writes to stderr and can't be redirected directly,
19440 # and sets the high bit in the cache file unless we assign to the vars.
19443 case `(ac_space=' '; set | grep ac_space) 2>&1` in
19445 # `set' does not quote correctly, so add quotes (double-quote
19446 # substitution turns \\\\ into \\, and sed turns \\ into \).
19449 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
19452 # `set' quotes correctly as required by POSIX, so do not add quotes.
19454 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
19461 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
19463 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
19465 if diff $cache_file confcache
>/dev
/null
2>&1; then :; else
19466 if test -w $cache_file; then
19467 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
19468 cat confcache
>$cache_file
19470 echo "not updating unwritable cache $cache_file"
19475 if test "$USE_LINUX" = 1 -o "$USE_GNU" = 1; then
19476 echo "$as_me:$LINENO: checking for glibc 2.1 or later" >&5
19477 echo $ECHO_N "checking for glibc 2.1 or later... $ECHO_C" >&6
19478 if test "${wx_cv_lib_glibc21+set}" = set; then
19479 echo $ECHO_N "(cached) $ECHO_C" >&6
19482 cat >conftest.
$ac_ext <<_ACEOF
19485 cat confdefs.h
>>conftest.
$ac_ext
19486 cat >>conftest.
$ac_ext <<_ACEOF
19487 /* end confdefs.h. */
19488 #include <features.h>
19493 #if (__GLIBC__ < 2) || (__GLIBC_MINOR__ < 1)
19494 #error not glibc2.1
19501 rm -f conftest.
$ac_objext
19502 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19503 (eval $ac_compile) 2>conftest.er1
19505 grep -v '^ *+' conftest.er1
>conftest.err
19507 cat conftest.err
>&5
19508 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19509 (exit $ac_status); } &&
19510 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19511 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19512 (eval $ac_try) 2>&5
19514 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19515 (exit $ac_status); }; } &&
19516 { ac_try
='test -s conftest.$ac_objext'
19517 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19518 (eval $ac_try) 2>&5
19520 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19521 (exit $ac_status); }; }; then
19523 wx_cv_lib_glibc21
=yes
19526 echo "$as_me: failed program was:" >&5
19527 sed 's/^/| /' conftest.
$ac_ext >&5
19530 wx_cv_lib_glibc21
=no
19534 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19537 echo "$as_me:$LINENO: result: $wx_cv_lib_glibc21" >&5
19538 echo "${ECHO_T}$wx_cv_lib_glibc21" >&6
19539 if test "$wx_cv_lib_glibc21" = "yes"; then
19540 cat >>confdefs.h
<<\_ACEOF
19541 #define wxHAVE_GLIBC2 1
19547 if test "x$wx_cv_lib_glibc21" = "xyes"; then
19548 if test "$wxUSE_UNICODE" = "yes" -o "$wxUSE_THREADS" = "yes"; then
19549 cat >>confdefs.h
<<\_ACEOF
19550 #define _GNU_SOURCE 1
19558 if test "$wxUSE_REGEX" != "no"; then
19559 cat >>confdefs.h
<<\_ACEOF
19560 #define wxUSE_REGEX 1
19564 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_REGEX" = "yes"; then
19565 { echo "$as_me:$LINENO: WARNING: Defaulting to the the builtin regex library for Unicode build." >&5
19566 echo "$as_me: WARNING: Defaulting to the the builtin regex library for Unicode build." >&2;}
19567 wxUSE_REGEX
=builtin
19570 if test "$wxUSE_REGEX" = "sys" -o "$wxUSE_REGEX" = "yes" ; then
19571 if test "${ac_cv_header_regex_h+set}" = set; then
19572 echo "$as_me:$LINENO: checking for regex.h" >&5
19573 echo $ECHO_N "checking for regex.h... $ECHO_C" >&6
19574 if test "${ac_cv_header_regex_h+set}" = set; then
19575 echo $ECHO_N "(cached) $ECHO_C" >&6
19577 echo "$as_me:$LINENO: result: $ac_cv_header_regex_h" >&5
19578 echo "${ECHO_T}$ac_cv_header_regex_h" >&6
19580 # Is the header compilable?
19581 echo "$as_me:$LINENO: checking regex.h usability" >&5
19582 echo $ECHO_N "checking regex.h usability... $ECHO_C" >&6
19583 cat >conftest.
$ac_ext <<_ACEOF
19586 cat confdefs.h
>>conftest.
$ac_ext
19587 cat >>conftest.
$ac_ext <<_ACEOF
19588 /* end confdefs.h. */
19589 $ac_includes_default
19592 rm -f conftest.
$ac_objext
19593 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19594 (eval $ac_compile) 2>conftest.er1
19596 grep -v '^ *+' conftest.er1
>conftest.err
19598 cat conftest.err
>&5
19599 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19600 (exit $ac_status); } &&
19601 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19602 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19603 (eval $ac_try) 2>&5
19605 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19606 (exit $ac_status); }; } &&
19607 { ac_try
='test -s conftest.$ac_objext'
19608 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19609 (eval $ac_try) 2>&5
19611 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19612 (exit $ac_status); }; }; then
19613 ac_header_compiler
=yes
19615 echo "$as_me: failed program was:" >&5
19616 sed 's/^/| /' conftest.
$ac_ext >&5
19618 ac_header_compiler
=no
19620 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19621 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
19622 echo "${ECHO_T}$ac_header_compiler" >&6
19624 # Is the header present?
19625 echo "$as_me:$LINENO: checking regex.h presence" >&5
19626 echo $ECHO_N "checking regex.h presence... $ECHO_C" >&6
19627 cat >conftest.
$ac_ext <<_ACEOF
19630 cat confdefs.h
>>conftest.
$ac_ext
19631 cat >>conftest.
$ac_ext <<_ACEOF
19632 /* end confdefs.h. */
19635 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
19636 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
19638 grep -v '^ *+' conftest.er1
>conftest.err
19640 cat conftest.err
>&5
19641 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19642 (exit $ac_status); } >/dev
/null
; then
19643 if test -s conftest.err
; then
19644 ac_cpp_err
=$ac_c_preproc_warn_flag
19645 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
19652 if test -z "$ac_cpp_err"; then
19653 ac_header_preproc
=yes
19655 echo "$as_me: failed program was:" >&5
19656 sed 's/^/| /' conftest.
$ac_ext >&5
19658 ac_header_preproc
=no
19660 rm -f conftest.err conftest.
$ac_ext
19661 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
19662 echo "${ECHO_T}$ac_header_preproc" >&6
19664 # So? What about this header?
19665 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
19667 { echo "$as_me:$LINENO: WARNING: regex.h: accepted by the compiler, rejected by the preprocessor!" >&5
19668 echo "$as_me: WARNING: regex.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
19669 { echo "$as_me:$LINENO: WARNING: regex.h: proceeding with the compiler's result" >&5
19670 echo "$as_me: WARNING: regex.h: proceeding with the compiler's result" >&2;}
19671 ac_header_preproc
=yes
19674 { echo "$as_me:$LINENO: WARNING: regex.h: present but cannot be compiled" >&5
19675 echo "$as_me: WARNING: regex.h: present but cannot be compiled" >&2;}
19676 { echo "$as_me:$LINENO: WARNING: regex.h: check for missing prerequisite headers?" >&5
19677 echo "$as_me: WARNING: regex.h: check for missing prerequisite headers?" >&2;}
19678 { echo "$as_me:$LINENO: WARNING: regex.h: see the Autoconf documentation" >&5
19679 echo "$as_me: WARNING: regex.h: see the Autoconf documentation" >&2;}
19680 { echo "$as_me:$LINENO: WARNING: regex.h: section \"Present But Cannot Be Compiled\"" >&5
19681 echo "$as_me: WARNING: regex.h: section \"Present But Cannot Be Compiled\"" >&2;}
19682 { echo "$as_me:$LINENO: WARNING: regex.h: proceeding with the preprocessor's result" >&5
19683 echo "$as_me: WARNING: regex.h: proceeding with the preprocessor's result" >&2;}
19684 { echo "$as_me:$LINENO: WARNING: regex.h: in the future, the compiler will take precedence" >&5
19685 echo "$as_me: WARNING: regex.h: in the future, the compiler will take precedence" >&2;}
19688 ## ----------------------------------------- ##
19689 ## Report this to wx-dev@lists.wxwindows.org ##
19690 ## ----------------------------------------- ##
19693 sed "s/^/$as_me: WARNING: /" >&2
19696 echo "$as_me:$LINENO: checking for regex.h" >&5
19697 echo $ECHO_N "checking for regex.h... $ECHO_C" >&6
19698 if test "${ac_cv_header_regex_h+set}" = set; then
19699 echo $ECHO_N "(cached) $ECHO_C" >&6
19701 ac_cv_header_regex_h
=$ac_header_preproc
19703 echo "$as_me:$LINENO: result: $ac_cv_header_regex_h" >&5
19704 echo "${ECHO_T}$ac_cv_header_regex_h" >&6
19707 if test $ac_cv_header_regex_h = yes; then
19709 for ac_func
in regcomp
19711 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
19712 echo "$as_me:$LINENO: checking for $ac_func" >&5
19713 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
19714 if eval "test \"\${$as_ac_var+set}\" = set"; then
19715 echo $ECHO_N "(cached) $ECHO_C" >&6
19717 cat >conftest.
$ac_ext <<_ACEOF
19720 cat confdefs.h
>>conftest.
$ac_ext
19721 cat >>conftest.
$ac_ext <<_ACEOF
19722 /* end confdefs.h. */
19723 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
19724 For example, HP-UX 11i <limits.h> declares gettimeofday. */
19725 #define $ac_func innocuous_$ac_func
19727 /* System header to define __stub macros and hopefully few prototypes,
19728 which can conflict with char $ac_func (); below.
19729 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
19730 <limits.h> exists even on freestanding compilers. */
19733 # include <limits.h>
19735 # include <assert.h>
19740 /* Override any gcc2 internal prototype to avoid an error. */
19745 /* We use char because int might match the return type of a gcc2
19746 builtin and then its argument prototype would still apply. */
19748 /* The GNU C library defines this for functions which it implements
19749 to always fail with ENOSYS. Some functions are actually named
19750 something starting with __ and the normal name is an alias. */
19751 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19754 char (*f) () = $ac_func;
19763 return f != $ac_func;
19768 rm -f conftest.
$ac_objext conftest
$ac_exeext
19769 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19770 (eval $ac_link) 2>conftest.er1
19772 grep -v '^ *+' conftest.er1
>conftest.err
19774 cat conftest.err
>&5
19775 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19776 (exit $ac_status); } &&
19777 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19778 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19779 (eval $ac_try) 2>&5
19781 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19782 (exit $ac_status); }; } &&
19783 { ac_try
='test -s conftest$ac_exeext'
19784 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19785 (eval $ac_try) 2>&5
19787 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19788 (exit $ac_status); }; }; then
19789 eval "$as_ac_var=yes"
19791 echo "$as_me: failed program was:" >&5
19792 sed 's/^/| /' conftest.
$ac_ext >&5
19794 eval "$as_ac_var=no"
19796 rm -f conftest.err conftest.
$ac_objext \
19797 conftest
$ac_exeext conftest.
$ac_ext
19799 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
19800 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
19801 if test `eval echo '${'$as_ac_var'}'` = yes; then
19802 cat >>confdefs.h
<<_ACEOF
19803 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
19813 if test "x$ac_cv_func_regcomp" != "xyes"; then
19814 if test "$wxUSE_REGEX" = "sys" ; then
19815 { { echo "$as_me:$LINENO: error: system regex library not found! Use --with-regex to use built-in version" >&5
19816 echo "$as_me: error: system regex library not found! Use --with-regex to use built-in version" >&2;}
19817 { (exit 1); exit 1; }; }
19819 { echo "$as_me:$LINENO: WARNING: system regex library not found, will use built-in instead" >&5
19820 echo "$as_me: WARNING: system regex library not found, will use built-in instead" >&2;}
19821 wxUSE_REGEX
=builtin
19825 cat >>confdefs.h
<<\_ACEOF
19826 #define WX_NO_REGEX_ADVANCED 1
19835 if test "$wxUSE_ZLIB" != "no" ; then
19836 cat >>confdefs.h
<<\_ACEOF
19837 #define wxUSE_ZLIB 1
19841 if test "$wxUSE_ZLIB" = "sys" -o "$wxUSE_ZLIB" = "yes" ; then
19842 if test "$USE_DARWIN" = 1; then
19843 system_zlib_h_ok
="yes"
19845 echo "$as_me:$LINENO: checking for zlib.h >= 1.1.4" >&5
19846 echo $ECHO_N "checking for zlib.h >= 1.1.4... $ECHO_C" >&6
19847 if test "${ac_cv_header_zlib_h+set}" = set; then
19848 echo $ECHO_N "(cached) $ECHO_C" >&6
19850 if test "$cross_compiling" = yes; then
19851 unset ac_cv_header_zlib_h
19854 cat >conftest.
$ac_ext <<_ACEOF
19857 cat confdefs.h
>>conftest.
$ac_ext
19858 cat >>conftest.
$ac_ext <<_ACEOF
19859 /* end confdefs.h. */
19866 FILE *f=fopen("conftestval", "w");
19869 ZLIB_VERSION[0] == '1' &&
19870 (ZLIB_VERSION[2] > '1' ||
19871 (ZLIB_VERSION[2] == '1' &&
19872 ZLIB_VERSION[4] >= '4')) ? "yes" : "no");
19877 rm -f conftest
$ac_exeext
19878 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19879 (eval $ac_link) 2>&5
19881 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19882 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
19883 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19884 (eval $ac_try) 2>&5
19886 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19887 (exit $ac_status); }; }; then
19888 ac_cv_header_zlib_h
=`cat conftestval`
19890 echo "$as_me: program exited with status $ac_status" >&5
19891 echo "$as_me: failed program was:" >&5
19892 sed 's/^/| /' conftest.
$ac_ext >&5
19894 ( exit $ac_status )
19895 ac_cv_header_zlib_h
=no
19897 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
19901 echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
19902 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6
19903 if test "${ac_cv_header_zlib_h+set}" = set; then
19904 echo "$as_me:$LINENO: checking for zlib.h" >&5
19905 echo $ECHO_N "checking for zlib.h... $ECHO_C" >&6
19906 if test "${ac_cv_header_zlib_h+set}" = set; then
19907 echo $ECHO_N "(cached) $ECHO_C" >&6
19909 echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
19910 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6
19912 # Is the header compilable?
19913 echo "$as_me:$LINENO: checking zlib.h usability" >&5
19914 echo $ECHO_N "checking zlib.h usability... $ECHO_C" >&6
19915 cat >conftest.
$ac_ext <<_ACEOF
19918 cat confdefs.h
>>conftest.
$ac_ext
19919 cat >>conftest.
$ac_ext <<_ACEOF
19920 /* end confdefs.h. */
19921 $ac_includes_default
19924 rm -f conftest.
$ac_objext
19925 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19926 (eval $ac_compile) 2>conftest.er1
19928 grep -v '^ *+' conftest.er1
>conftest.err
19930 cat conftest.err
>&5
19931 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19932 (exit $ac_status); } &&
19933 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19934 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19935 (eval $ac_try) 2>&5
19937 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19938 (exit $ac_status); }; } &&
19939 { ac_try
='test -s conftest.$ac_objext'
19940 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19941 (eval $ac_try) 2>&5
19943 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19944 (exit $ac_status); }; }; then
19945 ac_header_compiler
=yes
19947 echo "$as_me: failed program was:" >&5
19948 sed 's/^/| /' conftest.
$ac_ext >&5
19950 ac_header_compiler
=no
19952 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19953 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
19954 echo "${ECHO_T}$ac_header_compiler" >&6
19956 # Is the header present?
19957 echo "$as_me:$LINENO: checking zlib.h presence" >&5
19958 echo $ECHO_N "checking zlib.h presence... $ECHO_C" >&6
19959 cat >conftest.
$ac_ext <<_ACEOF
19962 cat confdefs.h
>>conftest.
$ac_ext
19963 cat >>conftest.
$ac_ext <<_ACEOF
19964 /* end confdefs.h. */
19967 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
19968 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
19970 grep -v '^ *+' conftest.er1
>conftest.err
19972 cat conftest.err
>&5
19973 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19974 (exit $ac_status); } >/dev
/null
; then
19975 if test -s conftest.err
; then
19976 ac_cpp_err
=$ac_c_preproc_warn_flag
19977 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
19984 if test -z "$ac_cpp_err"; then
19985 ac_header_preproc
=yes
19987 echo "$as_me: failed program was:" >&5
19988 sed 's/^/| /' conftest.
$ac_ext >&5
19990 ac_header_preproc
=no
19992 rm -f conftest.err conftest.
$ac_ext
19993 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
19994 echo "${ECHO_T}$ac_header_preproc" >&6
19996 # So? What about this header?
19997 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
19999 { echo "$as_me:$LINENO: WARNING: zlib.h: accepted by the compiler, rejected by the preprocessor!" >&5
20000 echo "$as_me: WARNING: zlib.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
20001 { echo "$as_me:$LINENO: WARNING: zlib.h: proceeding with the compiler's result" >&5
20002 echo "$as_me: WARNING: zlib.h: proceeding with the compiler's result" >&2;}
20003 ac_header_preproc
=yes
20006 { echo "$as_me:$LINENO: WARNING: zlib.h: present but cannot be compiled" >&5
20007 echo "$as_me: WARNING: zlib.h: present but cannot be compiled" >&2;}
20008 { echo "$as_me:$LINENO: WARNING: zlib.h: check for missing prerequisite headers?" >&5
20009 echo "$as_me: WARNING: zlib.h: check for missing prerequisite headers?" >&2;}
20010 { echo "$as_me:$LINENO: WARNING: zlib.h: see the Autoconf documentation" >&5
20011 echo "$as_me: WARNING: zlib.h: see the Autoconf documentation" >&2;}
20012 { echo "$as_me:$LINENO: WARNING: zlib.h: section \"Present But Cannot Be Compiled\"" >&5
20013 echo "$as_me: WARNING: zlib.h: section \"Present But Cannot Be Compiled\"" >&2;}
20014 { echo "$as_me:$LINENO: WARNING: zlib.h: proceeding with the preprocessor's result" >&5
20015 echo "$as_me: WARNING: zlib.h: proceeding with the preprocessor's result" >&2;}
20016 { echo "$as_me:$LINENO: WARNING: zlib.h: in the future, the compiler will take precedence" >&5
20017 echo "$as_me: WARNING: zlib.h: in the future, the compiler will take precedence" >&2;}
20020 ## ----------------------------------------- ##
20021 ## Report this to wx-dev@lists.wxwindows.org ##
20022 ## ----------------------------------------- ##
20025 sed "s/^/$as_me: WARNING: /" >&2
20028 echo "$as_me:$LINENO: checking for zlib.h" >&5
20029 echo $ECHO_N "checking for zlib.h... $ECHO_C" >&6
20030 if test "${ac_cv_header_zlib_h+set}" = set; then
20031 echo $ECHO_N "(cached) $ECHO_C" >&6
20033 ac_cv_header_zlib_h
=$ac_header_preproc
20035 echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
20036 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6
20042 system_zlib_h_ok
=$ac_cv_header_zlib_h
20045 if test "$system_zlib_h_ok" = "yes"; then
20046 echo "$as_me:$LINENO: checking for deflate in -lz" >&5
20047 echo $ECHO_N "checking for deflate in -lz... $ECHO_C" >&6
20048 if test "${ac_cv_lib_z_deflate+set}" = set; then
20049 echo $ECHO_N "(cached) $ECHO_C" >&6
20051 ac_check_lib_save_LIBS
=$LIBS
20053 cat >conftest.
$ac_ext <<_ACEOF
20056 cat confdefs.h
>>conftest.
$ac_ext
20057 cat >>conftest.
$ac_ext <<_ACEOF
20058 /* end confdefs.h. */
20060 /* Override any gcc2 internal prototype to avoid an error. */
20064 /* We use char because int might match the return type of a gcc2
20065 builtin and then its argument prototype would still apply. */
20075 rm -f conftest.
$ac_objext conftest
$ac_exeext
20076 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20077 (eval $ac_link) 2>conftest.er1
20079 grep -v '^ *+' conftest.er1
>conftest.err
20081 cat conftest.err
>&5
20082 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20083 (exit $ac_status); } &&
20084 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20085 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20086 (eval $ac_try) 2>&5
20088 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20089 (exit $ac_status); }; } &&
20090 { ac_try
='test -s conftest$ac_exeext'
20091 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20092 (eval $ac_try) 2>&5
20094 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20095 (exit $ac_status); }; }; then
20096 ac_cv_lib_z_deflate
=yes
20098 echo "$as_me: failed program was:" >&5
20099 sed 's/^/| /' conftest.
$ac_ext >&5
20101 ac_cv_lib_z_deflate
=no
20103 rm -f conftest.err conftest.
$ac_objext \
20104 conftest
$ac_exeext conftest.
$ac_ext
20105 LIBS
=$ac_check_lib_save_LIBS
20107 echo "$as_me:$LINENO: result: $ac_cv_lib_z_deflate" >&5
20108 echo "${ECHO_T}$ac_cv_lib_z_deflate" >&6
20109 if test $ac_cv_lib_z_deflate = yes; then
20115 if test "x$ZLIB_LINK" = "x" ; then
20116 if test "$wxUSE_ZLIB" = "sys" ; then
20117 { { echo "$as_me:$LINENO: error: zlib library not found or too old! Use --with-zlib=builtin to use built-in version" >&5
20118 echo "$as_me: error: zlib library not found or too old! Use --with-zlib=builtin to use built-in version" >&2;}
20119 { (exit 1); exit 1; }; }
20121 { echo "$as_me:$LINENO: WARNING: zlib library not found or too old, will use built-in instead" >&5
20122 echo "$as_me: WARNING: zlib library not found or too old, will use built-in instead" >&2;}
20133 if test "$wxUSE_LIBPNG" != "no" ; then
20134 cat >>confdefs.h
<<\_ACEOF
20135 #define wxUSE_LIBPNG 1
20139 if test "$wxUSE_MGL" = 1 -a "$wxUSE_LIBPNG" = "builtin" ; then
20140 { echo "$as_me:$LINENO: WARNING: wxMGL doesn't work with builtin png library, will use MGL one instead" >&5
20141 echo "$as_me: WARNING: wxMGL doesn't work with builtin png library, will use MGL one instead" >&2;}
20145 if test "$wxUSE_MGL" != 1 -a "$wxUSE_LIBPNG" = "sys" -a "$wxUSE_ZLIB" != "sys" ; then
20146 { echo "$as_me:$LINENO: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&5
20147 echo "$as_me: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&2;}
20148 wxUSE_LIBPNG
=builtin
20151 if test "$wxUSE_MGL" != 1 ; then
20152 if test "$wxUSE_LIBPNG" = "sys" -o "$wxUSE_LIBPNG" = "yes" ; then
20153 echo "$as_me:$LINENO: checking for png.h > 0.90" >&5
20154 echo $ECHO_N "checking for png.h > 0.90... $ECHO_C" >&6
20155 if test "${ac_cv_header_png_h+set}" = set; then
20156 echo $ECHO_N "(cached) $ECHO_C" >&6
20158 if test "$cross_compiling" = yes; then
20159 unset ac_cv_header_png_h
20162 cat >conftest.
$ac_ext <<_ACEOF
20165 cat confdefs.h
>>conftest.
$ac_ext
20166 cat >>conftest.
$ac_ext <<_ACEOF
20167 /* end confdefs.h. */
20174 FILE *f=fopen("conftestval", "w");
20177 PNG_LIBPNG_VER > 90 ? "yes" : "no");
20182 rm -f conftest
$ac_exeext
20183 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20184 (eval $ac_link) 2>&5
20186 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20187 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
20188 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20189 (eval $ac_try) 2>&5
20191 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20192 (exit $ac_status); }; }; then
20193 ac_cv_header_png_h
=`cat conftestval`
20195 echo "$as_me: program exited with status $ac_status" >&5
20196 echo "$as_me: failed program was:" >&5
20197 sed 's/^/| /' conftest.
$ac_ext >&5
20199 ( exit $ac_status )
20200 ac_cv_header_png_h
=no
20202 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
20206 echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
20207 echo "${ECHO_T}$ac_cv_header_png_h" >&6
20208 if test "${ac_cv_header_png_h+set}" = set; then
20209 echo "$as_me:$LINENO: checking for png.h" >&5
20210 echo $ECHO_N "checking for png.h... $ECHO_C" >&6
20211 if test "${ac_cv_header_png_h+set}" = set; then
20212 echo $ECHO_N "(cached) $ECHO_C" >&6
20214 echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
20215 echo "${ECHO_T}$ac_cv_header_png_h" >&6
20217 # Is the header compilable?
20218 echo "$as_me:$LINENO: checking png.h usability" >&5
20219 echo $ECHO_N "checking png.h usability... $ECHO_C" >&6
20220 cat >conftest.
$ac_ext <<_ACEOF
20223 cat confdefs.h
>>conftest.
$ac_ext
20224 cat >>conftest.
$ac_ext <<_ACEOF
20225 /* end confdefs.h. */
20226 $ac_includes_default
20229 rm -f conftest.
$ac_objext
20230 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20231 (eval $ac_compile) 2>conftest.er1
20233 grep -v '^ *+' conftest.er1
>conftest.err
20235 cat conftest.err
>&5
20236 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20237 (exit $ac_status); } &&
20238 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20239 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20240 (eval $ac_try) 2>&5
20242 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20243 (exit $ac_status); }; } &&
20244 { ac_try
='test -s conftest.$ac_objext'
20245 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20246 (eval $ac_try) 2>&5
20248 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20249 (exit $ac_status); }; }; then
20250 ac_header_compiler
=yes
20252 echo "$as_me: failed program was:" >&5
20253 sed 's/^/| /' conftest.
$ac_ext >&5
20255 ac_header_compiler
=no
20257 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20258 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
20259 echo "${ECHO_T}$ac_header_compiler" >&6
20261 # Is the header present?
20262 echo "$as_me:$LINENO: checking png.h presence" >&5
20263 echo $ECHO_N "checking png.h presence... $ECHO_C" >&6
20264 cat >conftest.
$ac_ext <<_ACEOF
20267 cat confdefs.h
>>conftest.
$ac_ext
20268 cat >>conftest.
$ac_ext <<_ACEOF
20269 /* end confdefs.h. */
20272 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
20273 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
20275 grep -v '^ *+' conftest.er1
>conftest.err
20277 cat conftest.err
>&5
20278 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20279 (exit $ac_status); } >/dev
/null
; then
20280 if test -s conftest.err
; then
20281 ac_cpp_err
=$ac_c_preproc_warn_flag
20282 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
20289 if test -z "$ac_cpp_err"; then
20290 ac_header_preproc
=yes
20292 echo "$as_me: failed program was:" >&5
20293 sed 's/^/| /' conftest.
$ac_ext >&5
20295 ac_header_preproc
=no
20297 rm -f conftest.err conftest.
$ac_ext
20298 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
20299 echo "${ECHO_T}$ac_header_preproc" >&6
20301 # So? What about this header?
20302 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
20304 { echo "$as_me:$LINENO: WARNING: png.h: accepted by the compiler, rejected by the preprocessor!" >&5
20305 echo "$as_me: WARNING: png.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
20306 { echo "$as_me:$LINENO: WARNING: png.h: proceeding with the compiler's result" >&5
20307 echo "$as_me: WARNING: png.h: proceeding with the compiler's result" >&2;}
20308 ac_header_preproc
=yes
20311 { echo "$as_me:$LINENO: WARNING: png.h: present but cannot be compiled" >&5
20312 echo "$as_me: WARNING: png.h: present but cannot be compiled" >&2;}
20313 { echo "$as_me:$LINENO: WARNING: png.h: check for missing prerequisite headers?" >&5
20314 echo "$as_me: WARNING: png.h: check for missing prerequisite headers?" >&2;}
20315 { echo "$as_me:$LINENO: WARNING: png.h: see the Autoconf documentation" >&5
20316 echo "$as_me: WARNING: png.h: see the Autoconf documentation" >&2;}
20317 { echo "$as_me:$LINENO: WARNING: png.h: section \"Present But Cannot Be Compiled\"" >&5
20318 echo "$as_me: WARNING: png.h: section \"Present But Cannot Be Compiled\"" >&2;}
20319 { echo "$as_me:$LINENO: WARNING: png.h: proceeding with the preprocessor's result" >&5
20320 echo "$as_me: WARNING: png.h: proceeding with the preprocessor's result" >&2;}
20321 { echo "$as_me:$LINENO: WARNING: png.h: in the future, the compiler will take precedence" >&5
20322 echo "$as_me: WARNING: png.h: in the future, the compiler will take precedence" >&2;}
20325 ## ----------------------------------------- ##
20326 ## Report this to wx-dev@lists.wxwindows.org ##
20327 ## ----------------------------------------- ##
20330 sed "s/^/$as_me: WARNING: /" >&2
20333 echo "$as_me:$LINENO: checking for png.h" >&5
20334 echo $ECHO_N "checking for png.h... $ECHO_C" >&6
20335 if test "${ac_cv_header_png_h+set}" = set; then
20336 echo $ECHO_N "(cached) $ECHO_C" >&6
20338 ac_cv_header_png_h
=$ac_header_preproc
20340 echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
20341 echo "${ECHO_T}$ac_cv_header_png_h" >&6
20347 if test "$ac_cv_header_png_h" = "yes"; then
20348 echo "$as_me:$LINENO: checking for png_check_sig in -lpng" >&5
20349 echo $ECHO_N "checking for png_check_sig in -lpng... $ECHO_C" >&6
20350 if test "${ac_cv_lib_png_png_check_sig+set}" = set; then
20351 echo $ECHO_N "(cached) $ECHO_C" >&6
20353 ac_check_lib_save_LIBS
=$LIBS
20354 LIBS
="-lpng -lz -lm $LIBS"
20355 cat >conftest.
$ac_ext <<_ACEOF
20358 cat confdefs.h
>>conftest.
$ac_ext
20359 cat >>conftest.
$ac_ext <<_ACEOF
20360 /* end confdefs.h. */
20362 /* Override any gcc2 internal prototype to avoid an error. */
20366 /* We use char because int might match the return type of a gcc2
20367 builtin and then its argument prototype would still apply. */
20368 char png_check_sig ();
20377 rm -f conftest.
$ac_objext conftest
$ac_exeext
20378 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20379 (eval $ac_link) 2>conftest.er1
20381 grep -v '^ *+' conftest.er1
>conftest.err
20383 cat conftest.err
>&5
20384 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20385 (exit $ac_status); } &&
20386 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20387 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20388 (eval $ac_try) 2>&5
20390 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20391 (exit $ac_status); }; } &&
20392 { ac_try
='test -s conftest$ac_exeext'
20393 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20394 (eval $ac_try) 2>&5
20396 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20397 (exit $ac_status); }; }; then
20398 ac_cv_lib_png_png_check_sig
=yes
20400 echo "$as_me: failed program was:" >&5
20401 sed 's/^/| /' conftest.
$ac_ext >&5
20403 ac_cv_lib_png_png_check_sig
=no
20405 rm -f conftest.err conftest.
$ac_objext \
20406 conftest
$ac_exeext conftest.
$ac_ext
20407 LIBS
=$ac_check_lib_save_LIBS
20409 echo "$as_me:$LINENO: result: $ac_cv_lib_png_png_check_sig" >&5
20410 echo "${ECHO_T}$ac_cv_lib_png_png_check_sig" >&6
20411 if test $ac_cv_lib_png_png_check_sig = yes; then
20412 PNG_LINK
=" -lpng -lz"
20417 if test "x$PNG_LINK" = "x" ; then
20418 if test "$wxUSE_LIBPNG" = "sys" ; then
20419 { { echo "$as_me:$LINENO: error: system png library not found or too old! Use --with-libpng=builtin to use built-in version" >&5
20420 echo "$as_me: error: system png library not found or too old! Use --with-libpng=builtin to use built-in version" >&2;}
20421 { (exit 1); exit 1; }; }
20423 { echo "$as_me:$LINENO: WARNING: system png library not found or too old, will use built-in instead" >&5
20424 echo "$as_me: WARNING: system png library not found or too old, will use built-in instead" >&2;}
20425 wxUSE_LIBPNG
=builtin
20433 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS png"
20438 if test "$wxUSE_LIBJPEG" != "no" ; then
20439 cat >>confdefs.h
<<\_ACEOF
20440 #define wxUSE_LIBJPEG 1
20444 if test "$wxUSE_MGL" = 1 -a "$wxUSE_LIBJPEG" = "builtin" ; then
20445 { echo "$as_me:$LINENO: WARNING: wxMGL doesn't work with builtin jpeg library, will use MGL one instead" >&5
20446 echo "$as_me: WARNING: wxMGL doesn't work with builtin jpeg library, will use MGL one instead" >&2;}
20450 if test "$wxUSE_MGL" != 1 ; then
20451 if test "$wxUSE_LIBJPEG" = "sys" -o "$wxUSE_LIBJPEG" = "yes" ; then
20452 echo "$as_me:$LINENO: checking for jpeglib.h" >&5
20453 echo $ECHO_N "checking for jpeglib.h... $ECHO_C" >&6
20454 if test "${ac_cv_header_jpeglib_h+set}" = set; then
20455 echo $ECHO_N "(cached) $ECHO_C" >&6
20457 cat >conftest.
$ac_ext <<_ACEOF
20460 cat confdefs.h
>>conftest.
$ac_ext
20461 cat >>conftest.
$ac_ext <<_ACEOF
20462 /* end confdefs.h. */
20464 #undef HAVE_STDLIB_H
20466 #include <jpeglib.h>
20477 rm -f conftest.
$ac_objext
20478 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20479 (eval $ac_compile) 2>conftest.er1
20481 grep -v '^ *+' conftest.er1
>conftest.err
20483 cat conftest.err
>&5
20484 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20485 (exit $ac_status); } &&
20486 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20487 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20488 (eval $ac_try) 2>&5
20490 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20491 (exit $ac_status); }; } &&
20492 { ac_try
='test -s conftest.$ac_objext'
20493 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20494 (eval $ac_try) 2>&5
20496 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20497 (exit $ac_status); }; }; then
20498 ac_cv_header_jpeglib_h
=yes
20500 echo "$as_me: failed program was:" >&5
20501 sed 's/^/| /' conftest.
$ac_ext >&5
20503 ac_cv_header_jpeglib_h
=no
20506 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20510 echo "$as_me:$LINENO: result: $ac_cv_header_jpeglib_h" >&5
20511 echo "${ECHO_T}$ac_cv_header_jpeglib_h" >&6
20513 if test "$ac_cv_header_jpeglib_h" = "yes"; then
20514 echo "$as_me:$LINENO: checking for jpeg_read_header in -ljpeg" >&5
20515 echo $ECHO_N "checking for jpeg_read_header in -ljpeg... $ECHO_C" >&6
20516 if test "${ac_cv_lib_jpeg_jpeg_read_header+set}" = set; then
20517 echo $ECHO_N "(cached) $ECHO_C" >&6
20519 ac_check_lib_save_LIBS
=$LIBS
20520 LIBS
="-ljpeg $LIBS"
20521 cat >conftest.
$ac_ext <<_ACEOF
20524 cat confdefs.h
>>conftest.
$ac_ext
20525 cat >>conftest.
$ac_ext <<_ACEOF
20526 /* end confdefs.h. */
20528 /* Override any gcc2 internal prototype to avoid an error. */
20532 /* We use char because int might match the return type of a gcc2
20533 builtin and then its argument prototype would still apply. */
20534 char jpeg_read_header ();
20538 jpeg_read_header ();
20543 rm -f conftest.
$ac_objext conftest
$ac_exeext
20544 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20545 (eval $ac_link) 2>conftest.er1
20547 grep -v '^ *+' conftest.er1
>conftest.err
20549 cat conftest.err
>&5
20550 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20551 (exit $ac_status); } &&
20552 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20553 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20554 (eval $ac_try) 2>&5
20556 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20557 (exit $ac_status); }; } &&
20558 { ac_try
='test -s conftest$ac_exeext'
20559 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20560 (eval $ac_try) 2>&5
20562 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20563 (exit $ac_status); }; }; then
20564 ac_cv_lib_jpeg_jpeg_read_header
=yes
20566 echo "$as_me: failed program was:" >&5
20567 sed 's/^/| /' conftest.
$ac_ext >&5
20569 ac_cv_lib_jpeg_jpeg_read_header
=no
20571 rm -f conftest.err conftest.
$ac_objext \
20572 conftest
$ac_exeext conftest.
$ac_ext
20573 LIBS
=$ac_check_lib_save_LIBS
20575 echo "$as_me:$LINENO: result: $ac_cv_lib_jpeg_jpeg_read_header" >&5
20576 echo "${ECHO_T}$ac_cv_lib_jpeg_jpeg_read_header" >&6
20577 if test $ac_cv_lib_jpeg_jpeg_read_header = yes; then
20578 JPEG_LINK
=" -ljpeg"
20583 if test "x$JPEG_LINK" = "x" ; then
20584 if test "$wxUSE_LIBJPEG" = "sys" ; then
20585 { { echo "$as_me:$LINENO: error: system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" >&5
20586 echo "$as_me: error: system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" >&2;}
20587 { (exit 1); exit 1; }; }
20589 { echo "$as_me:$LINENO: WARNING: system jpeg library not found, will use built-in instead" >&5
20590 echo "$as_me: WARNING: system jpeg library not found, will use built-in instead" >&2;}
20591 wxUSE_LIBJPEG
=builtin
20602 TIFF_PREREQ_LINKS
=-lm
20603 if test "$wxUSE_LIBTIFF" != "no" ; then
20604 cat >>confdefs.h
<<\_ACEOF
20605 #define wxUSE_LIBTIFF 1
20609 if test "$wxUSE_LIBTIFF" = "sys" -o "$wxUSE_LIBTIFF" = "yes" ; then
20610 if test "$wxUSE_LIBJPEG" = "sys"; then
20611 TIFF_PREREQ_LINKS
="$TIFF_PREREQ_LINKS $JPEG_LINK"
20613 if test "$wxUSE_ZLIB" = "sys"; then
20614 TIFF_PREREQ_LINKS
="$TIFF_PREREQ_LINKS $ZLIB_LINK"
20616 if test "${ac_cv_header_tiffio_h+set}" = set; then
20617 echo "$as_me:$LINENO: checking for tiffio.h" >&5
20618 echo $ECHO_N "checking for tiffio.h... $ECHO_C" >&6
20619 if test "${ac_cv_header_tiffio_h+set}" = set; then
20620 echo $ECHO_N "(cached) $ECHO_C" >&6
20622 echo "$as_me:$LINENO: result: $ac_cv_header_tiffio_h" >&5
20623 echo "${ECHO_T}$ac_cv_header_tiffio_h" >&6
20625 # Is the header compilable?
20626 echo "$as_me:$LINENO: checking tiffio.h usability" >&5
20627 echo $ECHO_N "checking tiffio.h usability... $ECHO_C" >&6
20628 cat >conftest.
$ac_ext <<_ACEOF
20631 cat confdefs.h
>>conftest.
$ac_ext
20632 cat >>conftest.
$ac_ext <<_ACEOF
20633 /* end confdefs.h. */
20634 $ac_includes_default
20635 #include <tiffio.h>
20637 rm -f conftest.
$ac_objext
20638 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20639 (eval $ac_compile) 2>conftest.er1
20641 grep -v '^ *+' conftest.er1
>conftest.err
20643 cat conftest.err
>&5
20644 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20645 (exit $ac_status); } &&
20646 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20647 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20648 (eval $ac_try) 2>&5
20650 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20651 (exit $ac_status); }; } &&
20652 { ac_try
='test -s conftest.$ac_objext'
20653 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20654 (eval $ac_try) 2>&5
20656 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20657 (exit $ac_status); }; }; then
20658 ac_header_compiler
=yes
20660 echo "$as_me: failed program was:" >&5
20661 sed 's/^/| /' conftest.
$ac_ext >&5
20663 ac_header_compiler
=no
20665 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20666 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
20667 echo "${ECHO_T}$ac_header_compiler" >&6
20669 # Is the header present?
20670 echo "$as_me:$LINENO: checking tiffio.h presence" >&5
20671 echo $ECHO_N "checking tiffio.h presence... $ECHO_C" >&6
20672 cat >conftest.
$ac_ext <<_ACEOF
20675 cat confdefs.h
>>conftest.
$ac_ext
20676 cat >>conftest.
$ac_ext <<_ACEOF
20677 /* end confdefs.h. */
20678 #include <tiffio.h>
20680 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
20681 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
20683 grep -v '^ *+' conftest.er1
>conftest.err
20685 cat conftest.err
>&5
20686 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20687 (exit $ac_status); } >/dev
/null
; then
20688 if test -s conftest.err
; then
20689 ac_cpp_err
=$ac_c_preproc_warn_flag
20690 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
20697 if test -z "$ac_cpp_err"; then
20698 ac_header_preproc
=yes
20700 echo "$as_me: failed program was:" >&5
20701 sed 's/^/| /' conftest.
$ac_ext >&5
20703 ac_header_preproc
=no
20705 rm -f conftest.err conftest.
$ac_ext
20706 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
20707 echo "${ECHO_T}$ac_header_preproc" >&6
20709 # So? What about this header?
20710 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
20712 { echo "$as_me:$LINENO: WARNING: tiffio.h: accepted by the compiler, rejected by the preprocessor!" >&5
20713 echo "$as_me: WARNING: tiffio.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
20714 { echo "$as_me:$LINENO: WARNING: tiffio.h: proceeding with the compiler's result" >&5
20715 echo "$as_me: WARNING: tiffio.h: proceeding with the compiler's result" >&2;}
20716 ac_header_preproc
=yes
20719 { echo "$as_me:$LINENO: WARNING: tiffio.h: present but cannot be compiled" >&5
20720 echo "$as_me: WARNING: tiffio.h: present but cannot be compiled" >&2;}
20721 { echo "$as_me:$LINENO: WARNING: tiffio.h: check for missing prerequisite headers?" >&5
20722 echo "$as_me: WARNING: tiffio.h: check for missing prerequisite headers?" >&2;}
20723 { echo "$as_me:$LINENO: WARNING: tiffio.h: see the Autoconf documentation" >&5
20724 echo "$as_me: WARNING: tiffio.h: see the Autoconf documentation" >&2;}
20725 { echo "$as_me:$LINENO: WARNING: tiffio.h: section \"Present But Cannot Be Compiled\"" >&5
20726 echo "$as_me: WARNING: tiffio.h: section \"Present But Cannot Be Compiled\"" >&2;}
20727 { echo "$as_me:$LINENO: WARNING: tiffio.h: proceeding with the preprocessor's result" >&5
20728 echo "$as_me: WARNING: tiffio.h: proceeding with the preprocessor's result" >&2;}
20729 { echo "$as_me:$LINENO: WARNING: tiffio.h: in the future, the compiler will take precedence" >&5
20730 echo "$as_me: WARNING: tiffio.h: in the future, the compiler will take precedence" >&2;}
20733 ## ----------------------------------------- ##
20734 ## Report this to wx-dev@lists.wxwindows.org ##
20735 ## ----------------------------------------- ##
20738 sed "s/^/$as_me: WARNING: /" >&2
20741 echo "$as_me:$LINENO: checking for tiffio.h" >&5
20742 echo $ECHO_N "checking for tiffio.h... $ECHO_C" >&6
20743 if test "${ac_cv_header_tiffio_h+set}" = set; then
20744 echo $ECHO_N "(cached) $ECHO_C" >&6
20746 ac_cv_header_tiffio_h
=$ac_header_preproc
20748 echo "$as_me:$LINENO: result: $ac_cv_header_tiffio_h" >&5
20749 echo "${ECHO_T}$ac_cv_header_tiffio_h" >&6
20752 if test $ac_cv_header_tiffio_h = yes; then
20754 echo "$as_me:$LINENO: checking for TIFFError in -ltiff" >&5
20755 echo $ECHO_N "checking for TIFFError in -ltiff... $ECHO_C" >&6
20756 if test "${ac_cv_lib_tiff_TIFFError+set}" = set; then
20757 echo $ECHO_N "(cached) $ECHO_C" >&6
20759 ac_check_lib_save_LIBS
=$LIBS
20760 LIBS
="-ltiff $TIFF_PREREQ_LINKS $LIBS"
20761 cat >conftest.
$ac_ext <<_ACEOF
20764 cat confdefs.h
>>conftest.
$ac_ext
20765 cat >>conftest.
$ac_ext <<_ACEOF
20766 /* end confdefs.h. */
20768 /* Override any gcc2 internal prototype to avoid an error. */
20772 /* We use char because int might match the return type of a gcc2
20773 builtin and then its argument prototype would still apply. */
20783 rm -f conftest.
$ac_objext conftest
$ac_exeext
20784 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20785 (eval $ac_link) 2>conftest.er1
20787 grep -v '^ *+' conftest.er1
>conftest.err
20789 cat conftest.err
>&5
20790 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20791 (exit $ac_status); } &&
20792 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20793 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20794 (eval $ac_try) 2>&5
20796 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20797 (exit $ac_status); }; } &&
20798 { ac_try
='test -s conftest$ac_exeext'
20799 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20800 (eval $ac_try) 2>&5
20802 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20803 (exit $ac_status); }; }; then
20804 ac_cv_lib_tiff_TIFFError
=yes
20806 echo "$as_me: failed program was:" >&5
20807 sed 's/^/| /' conftest.
$ac_ext >&5
20809 ac_cv_lib_tiff_TIFFError
=no
20811 rm -f conftest.err conftest.
$ac_objext \
20812 conftest
$ac_exeext conftest.
$ac_ext
20813 LIBS
=$ac_check_lib_save_LIBS
20815 echo "$as_me:$LINENO: result: $ac_cv_lib_tiff_TIFFError" >&5
20816 echo "${ECHO_T}$ac_cv_lib_tiff_TIFFError" >&6
20817 if test $ac_cv_lib_tiff_TIFFError = yes; then
20818 TIFF_LINK
=" -ltiff"
20827 if test "x$TIFF_LINK" = "x" ; then
20828 if test "$wxUSE_LIBTIFF" = "sys" ; then
20829 { { echo "$as_me:$LINENO: error: system tiff library not found! Use --with-libtiff=builtin to use built-in version" >&5
20830 echo "$as_me: error: system tiff library not found! Use --with-libtiff=builtin to use built-in version" >&2;}
20831 { (exit 1); exit 1; }; }
20833 { echo "$as_me:$LINENO: WARNING: system tiff library not found, will use built-in instead" >&5
20834 echo "$as_me: WARNING: system tiff library not found, will use built-in instead" >&2;}
20835 wxUSE_LIBTIFF
=builtin
20844 if test "$wxUSE_EXPAT" != "no"; then
20846 cat >>confdefs.h
<<\_ACEOF
20847 #define wxUSE_EXPAT 1
20850 cat >>confdefs.h
<<\_ACEOF
20851 #define wxUSE_XML 1
20855 if test "$wxUSE_EXPAT" = "sys" -o "$wxUSE_EXPAT" = "yes" ; then
20856 if test "${ac_cv_header_expat_h+set}" = set; then
20857 echo "$as_me:$LINENO: checking for expat.h" >&5
20858 echo $ECHO_N "checking for expat.h... $ECHO_C" >&6
20859 if test "${ac_cv_header_expat_h+set}" = set; then
20860 echo $ECHO_N "(cached) $ECHO_C" >&6
20862 echo "$as_me:$LINENO: result: $ac_cv_header_expat_h" >&5
20863 echo "${ECHO_T}$ac_cv_header_expat_h" >&6
20865 # Is the header compilable?
20866 echo "$as_me:$LINENO: checking expat.h usability" >&5
20867 echo $ECHO_N "checking expat.h usability... $ECHO_C" >&6
20868 cat >conftest.
$ac_ext <<_ACEOF
20871 cat confdefs.h
>>conftest.
$ac_ext
20872 cat >>conftest.
$ac_ext <<_ACEOF
20873 /* end confdefs.h. */
20874 $ac_includes_default
20877 rm -f conftest.
$ac_objext
20878 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20879 (eval $ac_compile) 2>conftest.er1
20881 grep -v '^ *+' conftest.er1
>conftest.err
20883 cat conftest.err
>&5
20884 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20885 (exit $ac_status); } &&
20886 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20887 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20888 (eval $ac_try) 2>&5
20890 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20891 (exit $ac_status); }; } &&
20892 { ac_try
='test -s conftest.$ac_objext'
20893 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20894 (eval $ac_try) 2>&5
20896 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20897 (exit $ac_status); }; }; then
20898 ac_header_compiler
=yes
20900 echo "$as_me: failed program was:" >&5
20901 sed 's/^/| /' conftest.
$ac_ext >&5
20903 ac_header_compiler
=no
20905 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20906 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
20907 echo "${ECHO_T}$ac_header_compiler" >&6
20909 # Is the header present?
20910 echo "$as_me:$LINENO: checking expat.h presence" >&5
20911 echo $ECHO_N "checking expat.h presence... $ECHO_C" >&6
20912 cat >conftest.
$ac_ext <<_ACEOF
20915 cat confdefs.h
>>conftest.
$ac_ext
20916 cat >>conftest.
$ac_ext <<_ACEOF
20917 /* end confdefs.h. */
20920 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
20921 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
20923 grep -v '^ *+' conftest.er1
>conftest.err
20925 cat conftest.err
>&5
20926 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20927 (exit $ac_status); } >/dev
/null
; then
20928 if test -s conftest.err
; then
20929 ac_cpp_err
=$ac_c_preproc_warn_flag
20930 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
20937 if test -z "$ac_cpp_err"; then
20938 ac_header_preproc
=yes
20940 echo "$as_me: failed program was:" >&5
20941 sed 's/^/| /' conftest.
$ac_ext >&5
20943 ac_header_preproc
=no
20945 rm -f conftest.err conftest.
$ac_ext
20946 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
20947 echo "${ECHO_T}$ac_header_preproc" >&6
20949 # So? What about this header?
20950 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
20952 { echo "$as_me:$LINENO: WARNING: expat.h: accepted by the compiler, rejected by the preprocessor!" >&5
20953 echo "$as_me: WARNING: expat.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
20954 { echo "$as_me:$LINENO: WARNING: expat.h: proceeding with the compiler's result" >&5
20955 echo "$as_me: WARNING: expat.h: proceeding with the compiler's result" >&2;}
20956 ac_header_preproc
=yes
20959 { echo "$as_me:$LINENO: WARNING: expat.h: present but cannot be compiled" >&5
20960 echo "$as_me: WARNING: expat.h: present but cannot be compiled" >&2;}
20961 { echo "$as_me:$LINENO: WARNING: expat.h: check for missing prerequisite headers?" >&5
20962 echo "$as_me: WARNING: expat.h: check for missing prerequisite headers?" >&2;}
20963 { echo "$as_me:$LINENO: WARNING: expat.h: see the Autoconf documentation" >&5
20964 echo "$as_me: WARNING: expat.h: see the Autoconf documentation" >&2;}
20965 { echo "$as_me:$LINENO: WARNING: expat.h: section \"Present But Cannot Be Compiled\"" >&5
20966 echo "$as_me: WARNING: expat.h: section \"Present But Cannot Be Compiled\"" >&2;}
20967 { echo "$as_me:$LINENO: WARNING: expat.h: proceeding with the preprocessor's result" >&5
20968 echo "$as_me: WARNING: expat.h: proceeding with the preprocessor's result" >&2;}
20969 { echo "$as_me:$LINENO: WARNING: expat.h: in the future, the compiler will take precedence" >&5
20970 echo "$as_me: WARNING: expat.h: in the future, the compiler will take precedence" >&2;}
20973 ## ----------------------------------------- ##
20974 ## Report this to wx-dev@lists.wxwindows.org ##
20975 ## ----------------------------------------- ##
20978 sed "s/^/$as_me: WARNING: /" >&2
20981 echo "$as_me:$LINENO: checking for expat.h" >&5
20982 echo $ECHO_N "checking for expat.h... $ECHO_C" >&6
20983 if test "${ac_cv_header_expat_h+set}" = set; then
20984 echo $ECHO_N "(cached) $ECHO_C" >&6
20986 ac_cv_header_expat_h
=$ac_header_preproc
20988 echo "$as_me:$LINENO: result: $ac_cv_header_expat_h" >&5
20989 echo "${ECHO_T}$ac_cv_header_expat_h" >&6
20992 if test $ac_cv_header_expat_h = yes; then
20997 if test "x$found_expat_h" = "x1"; then
20998 echo "$as_me:$LINENO: checking if expat.h is valid C++ header" >&5
20999 echo $ECHO_N "checking if expat.h is valid C++ header... $ECHO_C" >&6
21000 if test "${wx_cv_expat_is_not_broken+set}" = set; then
21001 echo $ECHO_N "(cached) $ECHO_C" >&6
21007 ac_cpp
='$CXXCPP $CPPFLAGS'
21008 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21009 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21010 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
21012 cat >conftest.
$ac_ext <<_ACEOF
21015 cat confdefs.h
>>conftest.
$ac_ext
21016 cat >>conftest.
$ac_ext <<_ACEOF
21017 /* end confdefs.h. */
21027 rm -f conftest.
$ac_objext
21028 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21029 (eval $ac_compile) 2>conftest.er1
21031 grep -v '^ *+' conftest.er1
>conftest.err
21033 cat conftest.err
>&5
21034 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21035 (exit $ac_status); } &&
21036 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
21037 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21038 (eval $ac_try) 2>&5
21040 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21041 (exit $ac_status); }; } &&
21042 { ac_try
='test -s conftest.$ac_objext'
21043 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21044 (eval $ac_try) 2>&5
21046 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21047 (exit $ac_status); }; }; then
21048 wx_cv_expat_is_not_broken
=yes
21050 echo "$as_me: failed program was:" >&5
21051 sed 's/^/| /' conftest.
$ac_ext >&5
21053 wx_cv_expat_is_not_broken
=no
21056 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21058 ac_cpp
='$CPP $CPPFLAGS'
21059 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21060 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21061 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
21066 echo "$as_me:$LINENO: result: $wx_cv_expat_is_not_broken" >&5
21067 echo "${ECHO_T}$wx_cv_expat_is_not_broken" >&6
21068 if test "$wx_cv_expat_is_not_broken" = "yes" ; then
21069 echo "$as_me:$LINENO: checking for XML_ParserCreate in -lexpat" >&5
21070 echo $ECHO_N "checking for XML_ParserCreate in -lexpat... $ECHO_C" >&6
21071 if test "${ac_cv_lib_expat_XML_ParserCreate+set}" = set; then
21072 echo $ECHO_N "(cached) $ECHO_C" >&6
21074 ac_check_lib_save_LIBS
=$LIBS
21075 LIBS
="-lexpat $LIBS"
21076 cat >conftest.
$ac_ext <<_ACEOF
21079 cat confdefs.h
>>conftest.
$ac_ext
21080 cat >>conftest.
$ac_ext <<_ACEOF
21081 /* end confdefs.h. */
21083 /* Override any gcc2 internal prototype to avoid an error. */
21087 /* We use char because int might match the return type of a gcc2
21088 builtin and then its argument prototype would still apply. */
21089 char XML_ParserCreate ();
21093 XML_ParserCreate ();
21098 rm -f conftest.
$ac_objext conftest
$ac_exeext
21099 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21100 (eval $ac_link) 2>conftest.er1
21102 grep -v '^ *+' conftest.er1
>conftest.err
21104 cat conftest.err
>&5
21105 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21106 (exit $ac_status); } &&
21107 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
21108 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21109 (eval $ac_try) 2>&5
21111 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21112 (exit $ac_status); }; } &&
21113 { ac_try
='test -s conftest$ac_exeext'
21114 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21115 (eval $ac_try) 2>&5
21117 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21118 (exit $ac_status); }; }; then
21119 ac_cv_lib_expat_XML_ParserCreate
=yes
21121 echo "$as_me: failed program was:" >&5
21122 sed 's/^/| /' conftest.
$ac_ext >&5
21124 ac_cv_lib_expat_XML_ParserCreate
=no
21126 rm -f conftest.err conftest.
$ac_objext \
21127 conftest
$ac_exeext conftest.
$ac_ext
21128 LIBS
=$ac_check_lib_save_LIBS
21130 echo "$as_me:$LINENO: result: $ac_cv_lib_expat_XML_ParserCreate" >&5
21131 echo "${ECHO_T}$ac_cv_lib_expat_XML_ParserCreate" >&6
21132 if test $ac_cv_lib_expat_XML_ParserCreate = yes; then
21133 EXPAT_LINK
=" -lexpat"
21138 if test "x$EXPAT_LINK" = "x" ; then
21139 if test "$wxUSE_EXPAT" = "sys" ; then
21140 { { echo "$as_me:$LINENO: error: system expat library not found! Use --with-expat=builtin to use built-in version" >&5
21141 echo "$as_me: error: system expat library not found! Use --with-expat=builtin to use built-in version" >&2;}
21142 { (exit 1); exit 1; }; }
21144 { echo "$as_me:$LINENO: WARNING: system expat library not found, will use built-in instead" >&5
21145 echo "$as_me: WARNING: system expat library not found, will use built-in instead" >&2;}
21146 wxUSE_EXPAT
=builtin
21152 if test "$wxUSE_EXPAT" = "builtin" ; then
21155 subdirs
="$subdirs src/expat"
21162 if test "$wxUSE_LIBMSPACK" != "no"; then
21164 if test "${ac_cv_header_mspack_h+set}" = set; then
21165 echo "$as_me:$LINENO: checking for mspack.h" >&5
21166 echo $ECHO_N "checking for mspack.h... $ECHO_C" >&6
21167 if test "${ac_cv_header_mspack_h+set}" = set; then
21168 echo $ECHO_N "(cached) $ECHO_C" >&6
21170 echo "$as_me:$LINENO: result: $ac_cv_header_mspack_h" >&5
21171 echo "${ECHO_T}$ac_cv_header_mspack_h" >&6
21173 # Is the header compilable?
21174 echo "$as_me:$LINENO: checking mspack.h usability" >&5
21175 echo $ECHO_N "checking mspack.h usability... $ECHO_C" >&6
21176 cat >conftest.
$ac_ext <<_ACEOF
21179 cat confdefs.h
>>conftest.
$ac_ext
21180 cat >>conftest.
$ac_ext <<_ACEOF
21181 /* end confdefs.h. */
21182 $ac_includes_default
21183 #include <mspack.h>
21185 rm -f conftest.
$ac_objext
21186 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21187 (eval $ac_compile) 2>conftest.er1
21189 grep -v '^ *+' conftest.er1
>conftest.err
21191 cat conftest.err
>&5
21192 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21193 (exit $ac_status); } &&
21194 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
21195 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21196 (eval $ac_try) 2>&5
21198 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21199 (exit $ac_status); }; } &&
21200 { ac_try
='test -s conftest.$ac_objext'
21201 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21202 (eval $ac_try) 2>&5
21204 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21205 (exit $ac_status); }; }; then
21206 ac_header_compiler
=yes
21208 echo "$as_me: failed program was:" >&5
21209 sed 's/^/| /' conftest.
$ac_ext >&5
21211 ac_header_compiler
=no
21213 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21214 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
21215 echo "${ECHO_T}$ac_header_compiler" >&6
21217 # Is the header present?
21218 echo "$as_me:$LINENO: checking mspack.h presence" >&5
21219 echo $ECHO_N "checking mspack.h presence... $ECHO_C" >&6
21220 cat >conftest.
$ac_ext <<_ACEOF
21223 cat confdefs.h
>>conftest.
$ac_ext
21224 cat >>conftest.
$ac_ext <<_ACEOF
21225 /* end confdefs.h. */
21226 #include <mspack.h>
21228 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
21229 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
21231 grep -v '^ *+' conftest.er1
>conftest.err
21233 cat conftest.err
>&5
21234 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21235 (exit $ac_status); } >/dev
/null
; then
21236 if test -s conftest.err
; then
21237 ac_cpp_err
=$ac_c_preproc_warn_flag
21238 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
21245 if test -z "$ac_cpp_err"; then
21246 ac_header_preproc
=yes
21248 echo "$as_me: failed program was:" >&5
21249 sed 's/^/| /' conftest.
$ac_ext >&5
21251 ac_header_preproc
=no
21253 rm -f conftest.err conftest.
$ac_ext
21254 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
21255 echo "${ECHO_T}$ac_header_preproc" >&6
21257 # So? What about this header?
21258 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
21260 { echo "$as_me:$LINENO: WARNING: mspack.h: accepted by the compiler, rejected by the preprocessor!" >&5
21261 echo "$as_me: WARNING: mspack.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
21262 { echo "$as_me:$LINENO: WARNING: mspack.h: proceeding with the compiler's result" >&5
21263 echo "$as_me: WARNING: mspack.h: proceeding with the compiler's result" >&2;}
21264 ac_header_preproc
=yes
21267 { echo "$as_me:$LINENO: WARNING: mspack.h: present but cannot be compiled" >&5
21268 echo "$as_me: WARNING: mspack.h: present but cannot be compiled" >&2;}
21269 { echo "$as_me:$LINENO: WARNING: mspack.h: check for missing prerequisite headers?" >&5
21270 echo "$as_me: WARNING: mspack.h: check for missing prerequisite headers?" >&2;}
21271 { echo "$as_me:$LINENO: WARNING: mspack.h: see the Autoconf documentation" >&5
21272 echo "$as_me: WARNING: mspack.h: see the Autoconf documentation" >&2;}
21273 { echo "$as_me:$LINENO: WARNING: mspack.h: section \"Present But Cannot Be Compiled\"" >&5
21274 echo "$as_me: WARNING: mspack.h: section \"Present But Cannot Be Compiled\"" >&2;}
21275 { echo "$as_me:$LINENO: WARNING: mspack.h: proceeding with the preprocessor's result" >&5
21276 echo "$as_me: WARNING: mspack.h: proceeding with the preprocessor's result" >&2;}
21277 { echo "$as_me:$LINENO: WARNING: mspack.h: in the future, the compiler will take precedence" >&5
21278 echo "$as_me: WARNING: mspack.h: in the future, the compiler will take precedence" >&2;}
21281 ## ----------------------------------------- ##
21282 ## Report this to wx-dev@lists.wxwindows.org ##
21283 ## ----------------------------------------- ##
21286 sed "s/^/$as_me: WARNING: /" >&2
21289 echo "$as_me:$LINENO: checking for mspack.h" >&5
21290 echo $ECHO_N "checking for mspack.h... $ECHO_C" >&6
21291 if test "${ac_cv_header_mspack_h+set}" = set; then
21292 echo $ECHO_N "(cached) $ECHO_C" >&6
21294 ac_cv_header_mspack_h
=$ac_header_preproc
21296 echo "$as_me:$LINENO: result: $ac_cv_header_mspack_h" >&5
21297 echo "${ECHO_T}$ac_cv_header_mspack_h" >&6
21300 if test $ac_cv_header_mspack_h = yes; then
21305 if test "x$found_mspack_h" = "x1"; then
21306 echo "$as_me:$LINENO: checking for mspack_create_chm_decompressor in -lmspack" >&5
21307 echo $ECHO_N "checking for mspack_create_chm_decompressor in -lmspack... $ECHO_C" >&6
21308 if test "${ac_cv_lib_mspack_mspack_create_chm_decompressor+set}" = set; then
21309 echo $ECHO_N "(cached) $ECHO_C" >&6
21311 ac_check_lib_save_LIBS
=$LIBS
21312 LIBS
="-lmspack $LIBS"
21313 cat >conftest.
$ac_ext <<_ACEOF
21316 cat confdefs.h
>>conftest.
$ac_ext
21317 cat >>conftest.
$ac_ext <<_ACEOF
21318 /* end confdefs.h. */
21320 /* Override any gcc2 internal prototype to avoid an error. */
21324 /* We use char because int might match the return type of a gcc2
21325 builtin and then its argument prototype would still apply. */
21326 char mspack_create_chm_decompressor ();
21330 mspack_create_chm_decompressor ();
21335 rm -f conftest.
$ac_objext conftest
$ac_exeext
21336 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21337 (eval $ac_link) 2>conftest.er1
21339 grep -v '^ *+' conftest.er1
>conftest.err
21341 cat conftest.err
>&5
21342 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21343 (exit $ac_status); } &&
21344 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
21345 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21346 (eval $ac_try) 2>&5
21348 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21349 (exit $ac_status); }; } &&
21350 { ac_try
='test -s conftest$ac_exeext'
21351 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21352 (eval $ac_try) 2>&5
21354 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21355 (exit $ac_status); }; }; then
21356 ac_cv_lib_mspack_mspack_create_chm_decompressor
=yes
21358 echo "$as_me: failed program was:" >&5
21359 sed 's/^/| /' conftest.
$ac_ext >&5
21361 ac_cv_lib_mspack_mspack_create_chm_decompressor
=no
21363 rm -f conftest.err conftest.
$ac_objext \
21364 conftest
$ac_exeext conftest.
$ac_ext
21365 LIBS
=$ac_check_lib_save_LIBS
21367 echo "$as_me:$LINENO: result: $ac_cv_lib_mspack_mspack_create_chm_decompressor" >&5
21368 echo "${ECHO_T}$ac_cv_lib_mspack_mspack_create_chm_decompressor" >&6
21369 if test $ac_cv_lib_mspack_mspack_create_chm_decompressor = yes; then
21370 MSPACK_LINK
=" -lmspack"
21374 if test "x$MSPACK_LINK" = "x" ; then
21377 cat >>confdefs.h
<<\_ACEOF
21378 #define wxUSE_LIBMSPACK 1
21393 if test "$USE_WIN32" = 1 ; then
21395 for ac_header
in w32api.h
21397 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
21398 if eval "test \"\${$as_ac_Header+set}\" = set"; then
21399 echo "$as_me:$LINENO: checking for $ac_header" >&5
21400 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
21401 if eval "test \"\${$as_ac_Header+set}\" = set"; then
21402 echo $ECHO_N "(cached) $ECHO_C" >&6
21404 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
21405 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
21407 # Is the header compilable?
21408 echo "$as_me:$LINENO: checking $ac_header usability" >&5
21409 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
21410 cat >conftest.
$ac_ext <<_ACEOF
21413 cat confdefs.h
>>conftest.
$ac_ext
21414 cat >>conftest.
$ac_ext <<_ACEOF
21415 /* end confdefs.h. */
21416 $ac_includes_default
21417 #include <$ac_header>
21419 rm -f conftest.
$ac_objext
21420 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21421 (eval $ac_compile) 2>conftest.er1
21423 grep -v '^ *+' conftest.er1
>conftest.err
21425 cat conftest.err
>&5
21426 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21427 (exit $ac_status); } &&
21428 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
21429 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21430 (eval $ac_try) 2>&5
21432 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21433 (exit $ac_status); }; } &&
21434 { ac_try
='test -s conftest.$ac_objext'
21435 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21436 (eval $ac_try) 2>&5
21438 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21439 (exit $ac_status); }; }; then
21440 ac_header_compiler
=yes
21442 echo "$as_me: failed program was:" >&5
21443 sed 's/^/| /' conftest.
$ac_ext >&5
21445 ac_header_compiler
=no
21447 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21448 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
21449 echo "${ECHO_T}$ac_header_compiler" >&6
21451 # Is the header present?
21452 echo "$as_me:$LINENO: checking $ac_header presence" >&5
21453 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
21454 cat >conftest.
$ac_ext <<_ACEOF
21457 cat confdefs.h
>>conftest.
$ac_ext
21458 cat >>conftest.
$ac_ext <<_ACEOF
21459 /* end confdefs.h. */
21460 #include <$ac_header>
21462 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
21463 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
21465 grep -v '^ *+' conftest.er1
>conftest.err
21467 cat conftest.err
>&5
21468 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21469 (exit $ac_status); } >/dev
/null
; then
21470 if test -s conftest.err
; then
21471 ac_cpp_err
=$ac_c_preproc_warn_flag
21472 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
21479 if test -z "$ac_cpp_err"; then
21480 ac_header_preproc
=yes
21482 echo "$as_me: failed program was:" >&5
21483 sed 's/^/| /' conftest.
$ac_ext >&5
21485 ac_header_preproc
=no
21487 rm -f conftest.err conftest.
$ac_ext
21488 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
21489 echo "${ECHO_T}$ac_header_preproc" >&6
21491 # So? What about this header?
21492 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
21494 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
21495 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
21496 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
21497 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
21498 ac_header_preproc
=yes
21501 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
21502 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
21503 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
21504 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
21505 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
21506 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
21507 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
21508 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
21509 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
21510 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
21511 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
21512 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
21515 ## ----------------------------------------- ##
21516 ## Report this to wx-dev@lists.wxwindows.org ##
21517 ## ----------------------------------------- ##
21520 sed "s/^/$as_me: WARNING: /" >&2
21523 echo "$as_me:$LINENO: checking for $ac_header" >&5
21524 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
21525 if eval "test \"\${$as_ac_Header+set}\" = set"; then
21526 echo $ECHO_N "(cached) $ECHO_C" >&6
21528 eval "$as_ac_Header=\$ac_header_preproc"
21530 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
21531 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
21534 if test `eval echo '${'$as_ac_Header'}'` = yes; then
21535 cat >>confdefs.h
<<_ACEOF
21536 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
21543 if test "${ac_cv_header_windows_h+set}" = set; then
21544 echo "$as_me:$LINENO: checking for windows.h" >&5
21545 echo $ECHO_N "checking for windows.h... $ECHO_C" >&6
21546 if test "${ac_cv_header_windows_h+set}" = set; then
21547 echo $ECHO_N "(cached) $ECHO_C" >&6
21549 echo "$as_me:$LINENO: result: $ac_cv_header_windows_h" >&5
21550 echo "${ECHO_T}$ac_cv_header_windows_h" >&6
21552 # Is the header compilable?
21553 echo "$as_me:$LINENO: checking windows.h usability" >&5
21554 echo $ECHO_N "checking windows.h usability... $ECHO_C" >&6
21555 cat >conftest.
$ac_ext <<_ACEOF
21558 cat confdefs.h
>>conftest.
$ac_ext
21559 cat >>conftest.
$ac_ext <<_ACEOF
21560 /* end confdefs.h. */
21561 $ac_includes_default
21562 #include <windows.h>
21564 rm -f conftest.
$ac_objext
21565 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21566 (eval $ac_compile) 2>conftest.er1
21568 grep -v '^ *+' conftest.er1
>conftest.err
21570 cat conftest.err
>&5
21571 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21572 (exit $ac_status); } &&
21573 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
21574 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21575 (eval $ac_try) 2>&5
21577 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21578 (exit $ac_status); }; } &&
21579 { ac_try
='test -s conftest.$ac_objext'
21580 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21581 (eval $ac_try) 2>&5
21583 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21584 (exit $ac_status); }; }; then
21585 ac_header_compiler
=yes
21587 echo "$as_me: failed program was:" >&5
21588 sed 's/^/| /' conftest.
$ac_ext >&5
21590 ac_header_compiler
=no
21592 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21593 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
21594 echo "${ECHO_T}$ac_header_compiler" >&6
21596 # Is the header present?
21597 echo "$as_me:$LINENO: checking windows.h presence" >&5
21598 echo $ECHO_N "checking windows.h presence... $ECHO_C" >&6
21599 cat >conftest.
$ac_ext <<_ACEOF
21602 cat confdefs.h
>>conftest.
$ac_ext
21603 cat >>conftest.
$ac_ext <<_ACEOF
21604 /* end confdefs.h. */
21605 #include <windows.h>
21607 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
21608 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
21610 grep -v '^ *+' conftest.er1
>conftest.err
21612 cat conftest.err
>&5
21613 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21614 (exit $ac_status); } >/dev
/null
; then
21615 if test -s conftest.err
; then
21616 ac_cpp_err
=$ac_c_preproc_warn_flag
21617 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
21624 if test -z "$ac_cpp_err"; then
21625 ac_header_preproc
=yes
21627 echo "$as_me: failed program was:" >&5
21628 sed 's/^/| /' conftest.
$ac_ext >&5
21630 ac_header_preproc
=no
21632 rm -f conftest.err conftest.
$ac_ext
21633 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
21634 echo "${ECHO_T}$ac_header_preproc" >&6
21636 # So? What about this header?
21637 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
21639 { echo "$as_me:$LINENO: WARNING: windows.h: accepted by the compiler, rejected by the preprocessor!" >&5
21640 echo "$as_me: WARNING: windows.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
21641 { echo "$as_me:$LINENO: WARNING: windows.h: proceeding with the compiler's result" >&5
21642 echo "$as_me: WARNING: windows.h: proceeding with the compiler's result" >&2;}
21643 ac_header_preproc
=yes
21646 { echo "$as_me:$LINENO: WARNING: windows.h: present but cannot be compiled" >&5
21647 echo "$as_me: WARNING: windows.h: present but cannot be compiled" >&2;}
21648 { echo "$as_me:$LINENO: WARNING: windows.h: check for missing prerequisite headers?" >&5
21649 echo "$as_me: WARNING: windows.h: check for missing prerequisite headers?" >&2;}
21650 { echo "$as_me:$LINENO: WARNING: windows.h: see the Autoconf documentation" >&5
21651 echo "$as_me: WARNING: windows.h: see the Autoconf documentation" >&2;}
21652 { echo "$as_me:$LINENO: WARNING: windows.h: section \"Present But Cannot Be Compiled\"" >&5
21653 echo "$as_me: WARNING: windows.h: section \"Present But Cannot Be Compiled\"" >&2;}
21654 { echo "$as_me:$LINENO: WARNING: windows.h: proceeding with the preprocessor's result" >&5
21655 echo "$as_me: WARNING: windows.h: proceeding with the preprocessor's result" >&2;}
21656 { echo "$as_me:$LINENO: WARNING: windows.h: in the future, the compiler will take precedence" >&5
21657 echo "$as_me: WARNING: windows.h: in the future, the compiler will take precedence" >&2;}
21660 ## ----------------------------------------- ##
21661 ## Report this to wx-dev@lists.wxwindows.org ##
21662 ## ----------------------------------------- ##
21665 sed "s/^/$as_me: WARNING: /" >&2
21668 echo "$as_me:$LINENO: checking for windows.h" >&5
21669 echo $ECHO_N "checking for windows.h... $ECHO_C" >&6
21670 if test "${ac_cv_header_windows_h+set}" = set; then
21671 echo $ECHO_N "(cached) $ECHO_C" >&6
21673 ac_cv_header_windows_h
=$ac_header_preproc
21675 echo "$as_me:$LINENO: result: $ac_cv_header_windows_h" >&5
21676 echo "${ECHO_T}$ac_cv_header_windows_h" >&6
21679 if test $ac_cv_header_windows_h = yes; then
21683 { { echo "$as_me:$LINENO: error: please set CFLAGS to contain the location of windows.h" >&5
21684 echo "$as_me: error: please set CFLAGS to contain the location of windows.h" >&2;}
21685 { (exit 1); exit 1; }; }
21691 LIBS
="$LIBS -lwinspool -lwinmm -lshell32 -lcomctl32 -lcomdlg32 -lctl3d32 -ladvapi32 -lwsock32 -lgdi32"
21693 if test "$wxUSE_ACCESSIBILITY" = "yes" ; then
21694 LIBS
="$LIBS -loleacc"
21699 LIBS
="$LIBS -lkernel32 -luser32"
21700 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -D__WIN95__"
21703 if test "$wxUSE_ODBC" = "sys" ; then
21706 if test "$wxUSE_ODBC" = "yes" ; then
21707 LIBS
=" -lodbc32 -lole32 -loleaut32 $LIBS"
21708 cat >>confdefs.h
<<\_ACEOF
21709 #define wxUSE_ODBC 1
21714 RESFLAGS
="--include-dir \$(top_srcdir)/include --include-dir \$(top_srcdir)/\$(program_dir) --define __WIN32__ --define __WIN95__ --define __GNUWIN32__"
21715 RESPROGRAMOBJ
="\$(PROGRAM)_resources.o"
21717 WIN32INSTALL
=win32install
21720 if test "$wxUSE_GUI" = "yes"; then
21730 if test "$wxUSE_MSW" = 1 ; then
21736 WXCONFIG_LDFLAGS_GUI
="$LDFLAGS -Wl,--subsystem,windows -mwindows"
21740 if test "$wxUSE_GTK" = 1; then
21741 echo "$as_me:$LINENO: checking for GTK+ version" >&5
21742 echo $ECHO_N "checking for GTK+ version... $ECHO_C" >&6
21744 gtk_version_cached
=1
21745 if test "${wx_cv_lib_gtk+set}" = set; then
21746 echo $ECHO_N "(cached) $ECHO_C" >&6
21749 gtk_version_cached
=0
21750 echo "$as_me:$LINENO: result: " >&5
21751 echo "${ECHO_T}" >&6
21754 if test "$wxUSE_THREADS" = "yes"; then
21755 GTK_MODULES
=gthread
21759 if test "x$wxUSE_GTK2" = "xyes"; then
21760 # Check whether --enable-gtktest or --disable-gtktest was given.
21761 if test "${enable_gtktest+set}" = set; then
21762 enableval
="$enable_gtktest"
21768 pkg_config_args
=gtk
+-2.0
21769 for module
in .
$GTK_MODULES
21773 pkg_config_args
="$pkg_config_args gthread-2.0"
21780 # Extract the first word of "pkg-config", so it can be a program name with args.
21781 set dummy pkg
-config; ac_word
=$2
21782 echo "$as_me:$LINENO: checking for $ac_word" >&5
21783 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
21784 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
21785 echo $ECHO_N "(cached) $ECHO_C" >&6
21787 case $PKG_CONFIG in
21789 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
21792 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
21793 for as_dir
in $PATH
21796 test -z "$as_dir" && as_dir
=.
21797 for ac_exec_ext
in '' $ac_executable_extensions; do
21798 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
21799 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
21800 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
21806 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
21810 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
21812 if test -n "$PKG_CONFIG"; then
21813 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
21814 echo "${ECHO_T}$PKG_CONFIG" >&6
21816 echo "$as_me:$LINENO: result: no" >&5
21817 echo "${ECHO_T}no" >&6
21821 if test x
$PKG_CONFIG != xno
; then
21822 if pkg
-config --atleast-pkgconfig-version 0.7 ; then
21825 echo *** pkg
-config too old
; version
0.7 or better required.
21833 min_gtk_version
=2.0.0
21834 echo "$as_me:$LINENO: checking for GTK+ - version >= $min_gtk_version" >&5
21835 echo $ECHO_N "checking for GTK+ - version >= $min_gtk_version... $ECHO_C" >&6
21837 if test x
$PKG_CONFIG != xno
; then
21838 ## don't try to run the test against uninstalled libtool libs
21839 if $PKG_CONFIG --uninstalled $pkg_config_args; then
21840 echo "Will use uninstalled version of GTK+ found in PKG_CONFIG_PATH"
21844 if $PKG_CONFIG --atleast-version $min_gtk_version $pkg_config_args; then
21851 if test x
"$no_gtk" = x
; then
21852 GTK_CFLAGS
=`$PKG_CONFIG $pkg_config_args --cflags`
21853 GTK_LIBS
=`$PKG_CONFIG $pkg_config_args --libs`
21854 gtk_config_major_version
=`$PKG_CONFIG --modversion gtk+-2.0 | \
21855 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
21856 gtk_config_minor_version
=`$PKG_CONFIG --modversion gtk+-2.0 | \
21857 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
21858 gtk_config_micro_version
=`$PKG_CONFIG --modversion gtk+-2.0 | \
21859 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
21860 if test "x$enable_gtktest" = "xyes" ; then
21861 ac_save_CFLAGS
="$CFLAGS"
21862 ac_save_LIBS
="$LIBS"
21863 CFLAGS
="$CFLAGS $GTK_CFLAGS"
21864 LIBS
="$GTK_LIBS $LIBS"
21866 if test "$cross_compiling" = yes; then
21867 echo $ac_n "cross compiling; assumed OK... $ac_c"
21869 cat >conftest.
$ac_ext <<_ACEOF
21872 cat confdefs.h
>>conftest.
$ac_ext
21873 cat >>conftest.
$ac_ext <<_ACEOF
21874 /* end confdefs.h. */
21876 #include <gtk/gtk.h>
21878 #include <stdlib.h>
21883 int major, minor, micro;
21886 system ("touch conf.gtktest");
21888 /* HP/UX 9 (%@#!) writes to sscanf strings */
21889 tmp_version = g_strdup("$min_gtk_version");
21890 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
21891 printf("%s, bad version string\n", "$min_gtk_version");
21895 if ((gtk_major_version != $gtk_config_major_version) ||
21896 (gtk_minor_version != $gtk_config_minor_version) ||
21897 (gtk_micro_version != $gtk_config_micro_version))
21899 printf("\n*** 'pkg-config --modversion gtk+-2.0' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
21900 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
21901 gtk_major_version, gtk_minor_version, gtk_micro_version);
21902 printf ("*** was found! If pkg-config was correct, then it is best\n");
21903 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
21904 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
21905 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
21906 printf("*** required on your system.\n");
21907 printf("*** If pkg-config was wrong, set the environment variable PKG_CONFIG_PATH\n");
21908 printf("*** to point to the correct configuration files\n");
21910 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
21911 (gtk_minor_version != GTK_MINOR_VERSION) ||
21912 (gtk_micro_version != GTK_MICRO_VERSION))
21914 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
21915 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
21916 printf("*** library (version %d.%d.%d)\n",
21917 gtk_major_version, gtk_minor_version, gtk_micro_version);
21921 if ((gtk_major_version > major) ||
21922 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
21923 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
21929 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
21930 gtk_major_version, gtk_minor_version, gtk_micro_version);
21931 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
21932 major, minor, micro);
21933 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
21935 printf("*** If you have already installed a sufficiently new version, this error\n");
21936 printf("*** probably means that the wrong copy of the pkg-config shell script is\n");
21937 printf("*** being found. The easiest way to fix this is to remove the old version\n");
21938 printf("*** of GTK+, but you can also set the PKG_CONFIG environment to point to the\n");
21939 printf("*** correct copy of pkg-config. (In this case, you will have to\n");
21940 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
21941 printf("*** so that the correct libraries are found at run-time))\n");
21948 rm -f conftest
$ac_exeext
21949 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21950 (eval $ac_link) 2>&5
21952 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21953 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
21954 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21955 (eval $ac_try) 2>&5
21957 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21958 (exit $ac_status); }; }; then
21961 echo "$as_me: program exited with status $ac_status" >&5
21962 echo "$as_me: failed program was:" >&5
21963 sed 's/^/| /' conftest.
$ac_ext >&5
21965 ( exit $ac_status )
21968 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
21970 CFLAGS
="$ac_save_CFLAGS"
21971 LIBS
="$ac_save_LIBS"
21974 if test "x$no_gtk" = x
; then
21975 echo "$as_me:$LINENO: result: yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&5
21976 echo "${ECHO_T}yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&6
21979 echo "$as_me:$LINENO: result: no" >&5
21980 echo "${ECHO_T}no" >&6
21981 if test "$PKG_CONFIG" = "no" ; then
21982 echo "*** A new enough version of pkg-config was not found."
21983 echo "*** See http://pkgconfig.sourceforge.net"
21985 if test -f conf.gtktest
; then
21988 echo "*** Could not run GTK+ test program, checking why..."
21989 ac_save_CFLAGS
="$CFLAGS"
21990 ac_save_LIBS
="$LIBS"
21991 CFLAGS
="$CFLAGS $GTK_CFLAGS"
21992 LIBS
="$LIBS $GTK_LIBS"
21993 cat >conftest.
$ac_ext <<_ACEOF
21996 cat confdefs.h
>>conftest.
$ac_ext
21997 cat >>conftest.
$ac_ext <<_ACEOF
21998 /* end confdefs.h. */
22000 #include <gtk/gtk.h>
22006 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
22011 rm -f conftest.
$ac_objext conftest
$ac_exeext
22012 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22013 (eval $ac_link) 2>conftest.er1
22015 grep -v '^ *+' conftest.er1
>conftest.err
22017 cat conftest.err
>&5
22018 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22019 (exit $ac_status); } &&
22020 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
22021 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22022 (eval $ac_try) 2>&5
22024 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22025 (exit $ac_status); }; } &&
22026 { ac_try
='test -s conftest$ac_exeext'
22027 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22028 (eval $ac_try) 2>&5
22030 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22031 (exit $ac_status); }; }; then
22032 echo "*** The test program compiled, but did not run. This usually means"
22033 echo "*** that the run-time linker is not finding GTK+ or finding the wrong"
22034 echo "*** version of GTK+. If it is not finding GTK+, you'll need to set your"
22035 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
22036 echo "*** to the installed location Also, make sure you have run ldconfig if that"
22037 echo "*** is required on your system"
22039 echo "*** If you have an old version installed, it is best to remove it, although"
22040 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
22042 echo "$as_me: failed program was:" >&5
22043 sed 's/^/| /' conftest.
$ac_ext >&5
22045 echo "*** The test program failed to compile or link. See the file config.log for the"
22046 echo "*** exact error that occured. This usually means GTK+ is incorrectly installed."
22048 rm -f conftest.err conftest.
$ac_objext \
22049 conftest
$ac_exeext conftest.
$ac_ext
22050 CFLAGS
="$ac_save_CFLAGS"
22051 LIBS
="$ac_save_LIBS"
22064 # Check whether --with-gtk-prefix or --without-gtk-prefix was given.
22065 if test "${with_gtk_prefix+set}" = set; then
22066 withval
="$with_gtk_prefix"
22067 gtk_config_prefix
="$withval"
22069 gtk_config_prefix
=""
22072 # Check whether --with-gtk-exec-prefix or --without-gtk-exec-prefix was given.
22073 if test "${with_gtk_exec_prefix+set}" = set; then
22074 withval
="$with_gtk_exec_prefix"
22075 gtk_config_exec_prefix
="$withval"
22077 gtk_config_exec_prefix
=""
22079 # Check whether --enable-gtktest or --disable-gtktest was given.
22080 if test "${enable_gtktest+set}" = set; then
22081 enableval
="$enable_gtktest"
22087 for module
in .
$GTK_MODULES
22091 gtk_config_args
="$gtk_config_args gthread"
22096 if test x
$gtk_config_exec_prefix != x
; then
22097 gtk_config_args
="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
22098 if test x
${GTK_CONFIG+set} != xset
; then
22099 GTK_CONFIG
=$gtk_config_exec_prefix/bin
/gtk
-config
22102 if test x
$gtk_config_prefix != x
; then
22103 gtk_config_args
="$gtk_config_args --prefix=$gtk_config_prefix"
22104 if test x
${GTK_CONFIG+set} != xset
; then
22105 GTK_CONFIG
=$gtk_config_prefix/bin
/gtk
-config
22109 # Extract the first word of "gtk-config", so it can be a program name with args.
22110 set dummy gtk
-config; ac_word
=$2
22111 echo "$as_me:$LINENO: checking for $ac_word" >&5
22112 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
22113 if test "${ac_cv_path_GTK_CONFIG+set}" = set; then
22114 echo $ECHO_N "(cached) $ECHO_C" >&6
22116 case $GTK_CONFIG in
22118 ac_cv_path_GTK_CONFIG
="$GTK_CONFIG" # Let the user override the test with a path.
22121 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
22122 for as_dir
in $PATH
22125 test -z "$as_dir" && as_dir
=.
22126 for ac_exec_ext
in '' $ac_executable_extensions; do
22127 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
22128 ac_cv_path_GTK_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
22129 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
22135 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG
="no"
22139 GTK_CONFIG
=$ac_cv_path_GTK_CONFIG
22141 if test -n "$GTK_CONFIG"; then
22142 echo "$as_me:$LINENO: result: $GTK_CONFIG" >&5
22143 echo "${ECHO_T}$GTK_CONFIG" >&6
22145 echo "$as_me:$LINENO: result: no" >&5
22146 echo "${ECHO_T}no" >&6
22149 min_gtk_version
=1.2.7
22150 echo "$as_me:$LINENO: checking for GTK - version >= $min_gtk_version" >&5
22151 echo $ECHO_N "checking for GTK - version >= $min_gtk_version... $ECHO_C" >&6
22153 if test "$GTK_CONFIG" = "no" ; then
22156 GTK_CFLAGS
=`$GTK_CONFIG $gtk_config_args --cflags`
22157 GTK_LIBS
=`$GTK_CONFIG $gtk_config_args --libs`
22158 gtk_config_major_version
=`$GTK_CONFIG $gtk_config_args --version | \
22159 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
22160 gtk_config_minor_version
=`$GTK_CONFIG $gtk_config_args --version | \
22161 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
22162 gtk_config_micro_version
=`$GTK_CONFIG $gtk_config_args --version | \
22163 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
22164 if test "x$enable_gtktest" = "xyes" ; then
22165 ac_save_CFLAGS
="$CFLAGS"
22166 ac_save_LIBS
="$LIBS"
22167 CFLAGS
="$CFLAGS $GTK_CFLAGS"
22168 LIBS
="$GTK_LIBS $LIBS"
22170 if test "$cross_compiling" = yes; then
22171 echo $ac_n "cross compiling; assumed OK... $ac_c"
22173 cat >conftest.
$ac_ext <<_ACEOF
22176 cat confdefs.h
>>conftest.
$ac_ext
22177 cat >>conftest.
$ac_ext <<_ACEOF
22178 /* end confdefs.h. */
22180 #include <gtk/gtk.h>
22182 #include <stdlib.h>
22187 int major, minor, micro;
22190 system ("touch conf.gtktest");
22192 /* HP/UX 9 (%@#!) writes to sscanf strings */
22193 tmp_version = g_strdup("$min_gtk_version");
22194 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
22195 printf("%s, bad version string\n", "$min_gtk_version");
22199 if ((gtk_major_version != $gtk_config_major_version) ||
22200 (gtk_minor_version != $gtk_config_minor_version) ||
22201 (gtk_micro_version != $gtk_config_micro_version))
22203 printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
22204 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
22205 gtk_major_version, gtk_minor_version, gtk_micro_version);
22206 printf ("*** was found! If gtk-config was correct, then it is best\n");
22207 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
22208 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
22209 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
22210 printf("*** required on your system.\n");
22211 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
22212 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
22213 printf("*** before re-running configure\n");
22215 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
22216 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
22217 (gtk_minor_version != GTK_MINOR_VERSION) ||
22218 (gtk_micro_version != GTK_MICRO_VERSION))
22220 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
22221 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
22222 printf("*** library (version %d.%d.%d)\n",
22223 gtk_major_version, gtk_minor_version, gtk_micro_version);
22225 #endif /* defined (GTK_MAJOR_VERSION) ... */
22228 if ((gtk_major_version > major) ||
22229 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
22230 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
22236 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
22237 gtk_major_version, gtk_minor_version, gtk_micro_version);
22238 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
22239 major, minor, micro);
22240 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
22242 printf("*** If you have already installed a sufficiently new version, this error\n");
22243 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
22244 printf("*** being found. The easiest way to fix this is to remove the old version\n");
22245 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
22246 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
22247 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
22248 printf("*** so that the correct libraries are found at run-time))\n");
22255 rm -f conftest
$ac_exeext
22256 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22257 (eval $ac_link) 2>&5
22259 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22260 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
22261 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22262 (eval $ac_try) 2>&5
22264 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22265 (exit $ac_status); }; }; then
22268 echo "$as_me: program exited with status $ac_status" >&5
22269 echo "$as_me: failed program was:" >&5
22270 sed 's/^/| /' conftest.
$ac_ext >&5
22272 ( exit $ac_status )
22275 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
22277 CFLAGS
="$ac_save_CFLAGS"
22278 LIBS
="$ac_save_LIBS"
22281 if test "x$no_gtk" = x
; then
22282 echo "$as_me:$LINENO: result: yes" >&5
22283 echo "${ECHO_T}yes" >&6
22284 wx_cv_lib_gtk
=1.2.7
22286 echo "$as_me:$LINENO: result: no" >&5
22287 echo "${ECHO_T}no" >&6
22288 if test "$GTK_CONFIG" = "no" ; then
22289 echo "*** The gtk-config script installed by GTK could not be found"
22290 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
22291 echo "*** your path, or set the GTK_CONFIG environment variable to the"
22292 echo "*** full path to gtk-config."
22294 if test -f conf.gtktest
; then
22297 echo "*** Could not run GTK test program, checking why..."
22298 CFLAGS
="$CFLAGS $GTK_CFLAGS"
22299 LIBS
="$LIBS $GTK_LIBS"
22300 cat >conftest.
$ac_ext <<_ACEOF
22303 cat confdefs.h
>>conftest.
$ac_ext
22304 cat >>conftest.
$ac_ext <<_ACEOF
22305 /* end confdefs.h. */
22307 #include <gtk/gtk.h>
22313 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
22318 rm -f conftest.
$ac_objext conftest
$ac_exeext
22319 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22320 (eval $ac_link) 2>conftest.er1
22322 grep -v '^ *+' conftest.er1
>conftest.err
22324 cat conftest.err
>&5
22325 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22326 (exit $ac_status); } &&
22327 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
22328 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22329 (eval $ac_try) 2>&5
22331 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22332 (exit $ac_status); }; } &&
22333 { ac_try
='test -s conftest$ac_exeext'
22334 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22335 (eval $ac_try) 2>&5
22337 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22338 (exit $ac_status); }; }; then
22339 echo "*** The test program compiled, but did not run. This usually means"
22340 echo "*** that the run-time linker is not finding GTK or finding the wrong"
22341 echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
22342 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
22343 echo "*** to the installed location Also, make sure you have run ldconfig if that"
22344 echo "*** is required on your system"
22346 echo "*** If you have an old version installed, it is best to remove it, although"
22347 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
22349 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
22350 echo "*** came with the system with the command"
22352 echo "*** rpm --erase --nodeps gtk gtk-devel"
22354 echo "$as_me: failed program was:" >&5
22355 sed 's/^/| /' conftest.
$ac_ext >&5
22357 echo "*** The test program failed to compile or link. See the file config.log for the"
22358 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
22359 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
22360 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
22362 rm -f conftest.err conftest.
$ac_objext \
22363 conftest
$ac_exeext conftest.
$ac_ext
22364 CFLAGS
="$ac_save_CFLAGS"
22365 LIBS
="$ac_save_LIBS"
22377 if test -z "$wx_cv_lib_gtk"; then
22379 # Check whether --with-gtk-prefix or --without-gtk-prefix was given.
22380 if test "${with_gtk_prefix+set}" = set; then
22381 withval
="$with_gtk_prefix"
22382 gtk_config_prefix
="$withval"
22384 gtk_config_prefix
=""
22387 # Check whether --with-gtk-exec-prefix or --without-gtk-exec-prefix was given.
22388 if test "${with_gtk_exec_prefix+set}" = set; then
22389 withval
="$with_gtk_exec_prefix"
22390 gtk_config_exec_prefix
="$withval"
22392 gtk_config_exec_prefix
=""
22394 # Check whether --enable-gtktest or --disable-gtktest was given.
22395 if test "${enable_gtktest+set}" = set; then
22396 enableval
="$enable_gtktest"
22402 for module
in .
$GTK_MODULES
22406 gtk_config_args
="$gtk_config_args gthread"
22411 if test x
$gtk_config_exec_prefix != x
; then
22412 gtk_config_args
="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
22413 if test x
${GTK_CONFIG+set} != xset
; then
22414 GTK_CONFIG
=$gtk_config_exec_prefix/bin
/gtk
-config
22417 if test x
$gtk_config_prefix != x
; then
22418 gtk_config_args
="$gtk_config_args --prefix=$gtk_config_prefix"
22419 if test x
${GTK_CONFIG+set} != xset
; then
22420 GTK_CONFIG
=$gtk_config_prefix/bin
/gtk
-config
22424 # Extract the first word of "gtk-config", so it can be a program name with args.
22425 set dummy gtk
-config; ac_word
=$2
22426 echo "$as_me:$LINENO: checking for $ac_word" >&5
22427 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
22428 if test "${ac_cv_path_GTK_CONFIG+set}" = set; then
22429 echo $ECHO_N "(cached) $ECHO_C" >&6
22431 case $GTK_CONFIG in
22433 ac_cv_path_GTK_CONFIG
="$GTK_CONFIG" # Let the user override the test with a path.
22436 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
22437 for as_dir
in $PATH
22440 test -z "$as_dir" && as_dir
=.
22441 for ac_exec_ext
in '' $ac_executable_extensions; do
22442 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
22443 ac_cv_path_GTK_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
22444 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
22450 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG
="no"
22454 GTK_CONFIG
=$ac_cv_path_GTK_CONFIG
22456 if test -n "$GTK_CONFIG"; then
22457 echo "$as_me:$LINENO: result: $GTK_CONFIG" >&5
22458 echo "${ECHO_T}$GTK_CONFIG" >&6
22460 echo "$as_me:$LINENO: result: no" >&5
22461 echo "${ECHO_T}no" >&6
22464 min_gtk_version
=1.2.3
22465 echo "$as_me:$LINENO: checking for GTK - version >= $min_gtk_version" >&5
22466 echo $ECHO_N "checking for GTK - version >= $min_gtk_version... $ECHO_C" >&6
22468 if test "$GTK_CONFIG" = "no" ; then
22471 GTK_CFLAGS
=`$GTK_CONFIG $gtk_config_args --cflags`
22472 GTK_LIBS
=`$GTK_CONFIG $gtk_config_args --libs`
22473 gtk_config_major_version
=`$GTK_CONFIG $gtk_config_args --version | \
22474 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
22475 gtk_config_minor_version
=`$GTK_CONFIG $gtk_config_args --version | \
22476 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
22477 gtk_config_micro_version
=`$GTK_CONFIG $gtk_config_args --version | \
22478 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
22479 if test "x$enable_gtktest" = "xyes" ; then
22480 ac_save_CFLAGS
="$CFLAGS"
22481 ac_save_LIBS
="$LIBS"
22482 CFLAGS
="$CFLAGS $GTK_CFLAGS"
22483 LIBS
="$GTK_LIBS $LIBS"
22485 if test "$cross_compiling" = yes; then
22486 echo $ac_n "cross compiling; assumed OK... $ac_c"
22488 cat >conftest.
$ac_ext <<_ACEOF
22491 cat confdefs.h
>>conftest.
$ac_ext
22492 cat >>conftest.
$ac_ext <<_ACEOF
22493 /* end confdefs.h. */
22495 #include <gtk/gtk.h>
22497 #include <stdlib.h>
22502 int major, minor, micro;
22505 system ("touch conf.gtktest");
22507 /* HP/UX 9 (%@#!) writes to sscanf strings */
22508 tmp_version = g_strdup("$min_gtk_version");
22509 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
22510 printf("%s, bad version string\n", "$min_gtk_version");
22514 if ((gtk_major_version != $gtk_config_major_version) ||
22515 (gtk_minor_version != $gtk_config_minor_version) ||
22516 (gtk_micro_version != $gtk_config_micro_version))
22518 printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
22519 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
22520 gtk_major_version, gtk_minor_version, gtk_micro_version);
22521 printf ("*** was found! If gtk-config was correct, then it is best\n");
22522 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
22523 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
22524 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
22525 printf("*** required on your system.\n");
22526 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
22527 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
22528 printf("*** before re-running configure\n");
22530 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
22531 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
22532 (gtk_minor_version != GTK_MINOR_VERSION) ||
22533 (gtk_micro_version != GTK_MICRO_VERSION))
22535 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
22536 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
22537 printf("*** library (version %d.%d.%d)\n",
22538 gtk_major_version, gtk_minor_version, gtk_micro_version);
22540 #endif /* defined (GTK_MAJOR_VERSION) ... */
22543 if ((gtk_major_version > major) ||
22544 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
22545 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
22551 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
22552 gtk_major_version, gtk_minor_version, gtk_micro_version);
22553 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
22554 major, minor, micro);
22555 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
22557 printf("*** If you have already installed a sufficiently new version, this error\n");
22558 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
22559 printf("*** being found. The easiest way to fix this is to remove the old version\n");
22560 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
22561 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
22562 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
22563 printf("*** so that the correct libraries are found at run-time))\n");
22570 rm -f conftest
$ac_exeext
22571 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22572 (eval $ac_link) 2>&5
22574 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22575 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
22576 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22577 (eval $ac_try) 2>&5
22579 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22580 (exit $ac_status); }; }; then
22583 echo "$as_me: program exited with status $ac_status" >&5
22584 echo "$as_me: failed program was:" >&5
22585 sed 's/^/| /' conftest.
$ac_ext >&5
22587 ( exit $ac_status )
22590 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
22592 CFLAGS
="$ac_save_CFLAGS"
22593 LIBS
="$ac_save_LIBS"
22596 if test "x$no_gtk" = x
; then
22597 echo "$as_me:$LINENO: result: yes" >&5
22598 echo "${ECHO_T}yes" >&6
22599 wx_cv_lib_gtk
=1.2.3
22601 echo "$as_me:$LINENO: result: no" >&5
22602 echo "${ECHO_T}no" >&6
22603 if test "$GTK_CONFIG" = "no" ; then
22604 echo "*** The gtk-config script installed by GTK could not be found"
22605 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
22606 echo "*** your path, or set the GTK_CONFIG environment variable to the"
22607 echo "*** full path to gtk-config."
22609 if test -f conf.gtktest
; then
22612 echo "*** Could not run GTK test program, checking why..."
22613 CFLAGS
="$CFLAGS $GTK_CFLAGS"
22614 LIBS
="$LIBS $GTK_LIBS"
22615 cat >conftest.
$ac_ext <<_ACEOF
22618 cat confdefs.h
>>conftest.
$ac_ext
22619 cat >>conftest.
$ac_ext <<_ACEOF
22620 /* end confdefs.h. */
22622 #include <gtk/gtk.h>
22628 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
22633 rm -f conftest.
$ac_objext conftest
$ac_exeext
22634 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22635 (eval $ac_link) 2>conftest.er1
22637 grep -v '^ *+' conftest.er1
>conftest.err
22639 cat conftest.err
>&5
22640 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22641 (exit $ac_status); } &&
22642 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
22643 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22644 (eval $ac_try) 2>&5
22646 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22647 (exit $ac_status); }; } &&
22648 { ac_try
='test -s conftest$ac_exeext'
22649 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22650 (eval $ac_try) 2>&5
22652 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22653 (exit $ac_status); }; }; then
22654 echo "*** The test program compiled, but did not run. This usually means"
22655 echo "*** that the run-time linker is not finding GTK or finding the wrong"
22656 echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
22657 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
22658 echo "*** to the installed location Also, make sure you have run ldconfig if that"
22659 echo "*** is required on your system"
22661 echo "*** If you have an old version installed, it is best to remove it, although"
22662 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
22664 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
22665 echo "*** came with the system with the command"
22667 echo "*** rpm --erase --nodeps gtk gtk-devel"
22669 echo "$as_me: failed program was:" >&5
22670 sed 's/^/| /' conftest.
$ac_ext >&5
22672 echo "*** The test program failed to compile or link. See the file config.log for the"
22673 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
22674 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
22675 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
22677 rm -f conftest.err conftest.
$ac_objext \
22678 conftest
$ac_exeext conftest.
$ac_ext
22679 CFLAGS
="$ac_save_CFLAGS"
22680 LIBS
="$ac_save_LIBS"
22694 if test -z "$wx_cv_lib_gtk"; then
22697 wx_cv_cflags_gtk
=$GTK_CFLAGS
22698 wx_cv_libs_gtk
=$GTK_LIBS
22705 if test "$gtk_version_cached" = 1; then
22706 echo "$as_me:$LINENO: result: $wx_cv_lib_gtk" >&5
22707 echo "${ECHO_T}$wx_cv_lib_gtk" >&6
22710 case "$wx_cv_lib_gtk" in
22719 *) { { echo "$as_me:$LINENO: error:
22720 Please check that gtk-config is in path, the directory
22721 where GTK+ libraries are installed (returned by
22722 'gtk-config --libs' command) is in LD_LIBRARY_PATH or
22723 equivalent variable and GTK+ is version 1.2.3 or above.
22725 echo "$as_me: error:
22726 Please check that gtk-config is in path, the directory
22727 where GTK+ libraries are installed (returned by
22728 'gtk-config --libs' command) is in LD_LIBRARY_PATH or
22729 equivalent variable and GTK+ is version 1.2.3 or above.
22731 { (exit 1); exit 1; }; }
22735 if test "$WXGTK20" = 1; then
22736 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
22740 if test -z "$PKG_CONFIG"; then
22741 # Extract the first word of "pkg-config", so it can be a program name with args.
22742 set dummy pkg
-config; ac_word
=$2
22743 echo "$as_me:$LINENO: checking for $ac_word" >&5
22744 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
22745 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
22746 echo $ECHO_N "(cached) $ECHO_C" >&6
22748 case $PKG_CONFIG in
22750 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
22753 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
22754 for as_dir
in $PATH
22757 test -z "$as_dir" && as_dir
=.
22758 for ac_exec_ext
in '' $ac_executable_extensions; do
22759 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
22760 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
22761 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
22767 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
22771 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
22773 if test -n "$PKG_CONFIG"; then
22774 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
22775 echo "${ECHO_T}$PKG_CONFIG" >&6
22777 echo "$as_me:$LINENO: result: no" >&5
22778 echo "${ECHO_T}no" >&6
22783 if test "$PKG_CONFIG" = "no" ; then
22784 echo "*** The pkg-config script could not be found. Make sure it is"
22785 echo "*** in your path, or set the PKG_CONFIG environment variable"
22786 echo "*** to the full path to pkg-config."
22787 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
22789 PKG_CONFIG_MIN_VERSION
=0.9.0
22790 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
22791 echo "$as_me:$LINENO: checking for pangoft2" >&5
22792 echo $ECHO_N "checking for pangoft2... $ECHO_C" >&6
22794 if $PKG_CONFIG --exists "pangoft2" ; then
22795 echo "$as_me:$LINENO: result: yes" >&5
22796 echo "${ECHO_T}yes" >&6
22799 echo "$as_me:$LINENO: checking PANGOFT2_CFLAGS" >&5
22800 echo $ECHO_N "checking PANGOFT2_CFLAGS... $ECHO_C" >&6
22801 PANGOFT2_CFLAGS
=`$PKG_CONFIG --cflags "pangoft2"`
22802 echo "$as_me:$LINENO: result: $PANGOFT2_CFLAGS" >&5
22803 echo "${ECHO_T}$PANGOFT2_CFLAGS" >&6
22805 echo "$as_me:$LINENO: checking PANGOFT2_LIBS" >&5
22806 echo $ECHO_N "checking PANGOFT2_LIBS... $ECHO_C" >&6
22807 PANGOFT2_LIBS
=`$PKG_CONFIG --libs "pangoft2"`
22808 echo "$as_me:$LINENO: result: $PANGOFT2_LIBS" >&5
22809 echo "${ECHO_T}$PANGOFT2_LIBS" >&6
22813 ## If we have a custom action on failure, don't print errors, but
22814 ## do set a variable so people can do so.
22815 PANGOFT2_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoft2"`
22822 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
22823 echo "*** See http://www.freedesktop.org/software/pkgconfig"
22827 if test $succeeded = yes; then
22829 CXXFLAGS
="$CXXFLAGS $PANGOFT2_CFLAGS"
22830 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY $PANGOFT2_LIBS"
22834 { echo "$as_me:$LINENO: WARNING: pangoft2 library not found, library will be compiled without printing support" >&5
22835 echo "$as_me: WARNING: pangoft2 library not found, library will be compiled without printing support" >&2;}
22836 wxUSE_PRINTING_ARCHITECTURE
="no"
22843 if test "$wxUSE_UNICODE" = "yes"; then
22844 { echo "$as_me:$LINENO: WARNING: Unicode configuration not supported with GTK+ 1.x" >&5
22845 echo "$as_me: WARNING: Unicode configuration not supported with GTK+ 1.x" >&2;}
22850 if test "$USE_DARWIN" != 1; then
22852 for ac_func
in poll
22854 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
22855 echo "$as_me:$LINENO: checking for $ac_func" >&5
22856 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
22857 if eval "test \"\${$as_ac_var+set}\" = set"; then
22858 echo $ECHO_N "(cached) $ECHO_C" >&6
22860 cat >conftest.
$ac_ext <<_ACEOF
22863 cat confdefs.h
>>conftest.
$ac_ext
22864 cat >>conftest.
$ac_ext <<_ACEOF
22865 /* end confdefs.h. */
22866 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
22867 For example, HP-UX 11i <limits.h> declares gettimeofday. */
22868 #define $ac_func innocuous_$ac_func
22870 /* System header to define __stub macros and hopefully few prototypes,
22871 which can conflict with char $ac_func (); below.
22872 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
22873 <limits.h> exists even on freestanding compilers. */
22876 # include <limits.h>
22878 # include <assert.h>
22883 /* Override any gcc2 internal prototype to avoid an error. */
22888 /* We use char because int might match the return type of a gcc2
22889 builtin and then its argument prototype would still apply. */
22891 /* The GNU C library defines this for functions which it implements
22892 to always fail with ENOSYS. Some functions are actually named
22893 something starting with __ and the normal name is an alias. */
22894 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
22897 char (*f) () = $ac_func;
22906 return f != $ac_func;
22911 rm -f conftest.
$ac_objext conftest
$ac_exeext
22912 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22913 (eval $ac_link) 2>conftest.er1
22915 grep -v '^ *+' conftest.er1
>conftest.err
22917 cat conftest.err
>&5
22918 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22919 (exit $ac_status); } &&
22920 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
22921 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22922 (eval $ac_try) 2>&5
22924 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22925 (exit $ac_status); }; } &&
22926 { ac_try
='test -s conftest$ac_exeext'
22927 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22928 (eval $ac_try) 2>&5
22930 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22931 (exit $ac_status); }; }; then
22932 eval "$as_ac_var=yes"
22934 echo "$as_me: failed program was:" >&5
22935 sed 's/^/| /' conftest.
$ac_ext >&5
22937 eval "$as_ac_var=no"
22939 rm -f conftest.err conftest.
$ac_objext \
22940 conftest
$ac_exeext conftest.
$ac_ext
22942 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
22943 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
22944 if test `eval echo '${'$as_ac_var'}'` = yes; then
22945 cat >>confdefs.h
<<_ACEOF
22946 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
22954 TOOLKIT_INCLUDE
="$wx_cv_cflags_gtk"
22955 GUI_TK_LIBRARY
="$wx_cv_libs_gtk $GUI_TK_LIBRARY"
22957 AFMINSTALL
=afminstall
22961 echo "$as_me:$LINENO: checking for gdk_im_open in -lgdk" >&5
22962 echo $ECHO_N "checking for gdk_im_open in -lgdk... $ECHO_C" >&6
22963 if test "${ac_cv_lib_gdk_gdk_im_open+set}" = set; then
22964 echo $ECHO_N "(cached) $ECHO_C" >&6
22966 ac_check_lib_save_LIBS
=$LIBS
22968 cat >conftest.
$ac_ext <<_ACEOF
22971 cat confdefs.h
>>conftest.
$ac_ext
22972 cat >>conftest.
$ac_ext <<_ACEOF
22973 /* end confdefs.h. */
22975 /* Override any gcc2 internal prototype to avoid an error. */
22979 /* We use char because int might match the return type of a gcc2
22980 builtin and then its argument prototype would still apply. */
22981 char gdk_im_open ();
22990 rm -f conftest.
$ac_objext conftest
$ac_exeext
22991 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22992 (eval $ac_link) 2>conftest.er1
22994 grep -v '^ *+' conftest.er1
>conftest.err
22996 cat conftest.err
>&5
22997 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22998 (exit $ac_status); } &&
22999 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
23000 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23001 (eval $ac_try) 2>&5
23003 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23004 (exit $ac_status); }; } &&
23005 { ac_try
='test -s conftest$ac_exeext'
23006 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23007 (eval $ac_try) 2>&5
23009 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23010 (exit $ac_status); }; }; then
23011 ac_cv_lib_gdk_gdk_im_open
=yes
23013 echo "$as_me: failed program was:" >&5
23014 sed 's/^/| /' conftest.
$ac_ext >&5
23016 ac_cv_lib_gdk_gdk_im_open
=no
23018 rm -f conftest.err conftest.
$ac_objext \
23019 conftest
$ac_exeext conftest.
$ac_ext
23020 LIBS
=$ac_check_lib_save_LIBS
23022 echo "$as_me:$LINENO: result: $ac_cv_lib_gdk_gdk_im_open" >&5
23023 echo "${ECHO_T}$ac_cv_lib_gdk_gdk_im_open" >&6
23024 if test $ac_cv_lib_gdk_gdk_im_open = yes; then
23025 cat >>confdefs.h
<<\_ACEOF
23033 if test "$wxUSE_GPE" = "yes"; then
23034 echo "$as_me:$LINENO: checking for gpewidget library" >&5
23035 echo $ECHO_N "checking for gpewidget library... $ECHO_C" >&6
23038 for ac_dir
in $SEARCH_LIB /usr
/lib
;
23040 for ac_extension
in a so sl dylib
; do
23041 if test -f "$ac_dir/libgpewidget.$ac_extension"; then
23042 ac_find_libraries
=$ac_dir
23048 if test "$ac_find_libraries" != "" ; then
23050 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev
/null
23052 if test $result = 0; then
23055 ac_path_to_link
=" -L$ac_find_libraries"
23058 GUI_TK_LIBRARY
="-L${prefix}/lib -lgpewidget $GUI_TK_LIBRARY"
23060 echo "$as_me:$LINENO: result: found at $ac_find_libraries" >&5
23061 echo "${ECHO_T}found at $ac_find_libraries" >&6
23063 echo "$as_me:$LINENO: result: not found" >&5
23064 echo "${ECHO_T}not found" >&6
23070 if test "$wxUSE_MGL" = 1; then
23071 echo "$as_me:$LINENO: checking for SciTech MGL library" >&5
23072 echo $ECHO_N "checking for SciTech MGL library... $ECHO_C" >&6
23073 if test "x$MGL_ROOT" = x
; then
23074 echo "$as_me:$LINENO: result: not found" >&5
23075 echo "${ECHO_T}not found" >&6
23076 { { echo "$as_me:$LINENO: error: Cannot find MGL library. Make sure MGL_ROOT is set." >&5
23077 echo "$as_me: error: Cannot find MGL library. Make sure MGL_ROOT is set." >&2;}
23078 { (exit 1); exit 1; }; }
23080 echo "$as_me:$LINENO: result: $MGL_ROOT" >&5
23081 echo "${ECHO_T}$MGL_ROOT" >&6
23084 echo "$as_me:$LINENO: checking for libmgl location" >&5
23085 echo $ECHO_N "checking for libmgl location... $ECHO_C" >&6
23088 if test "x$wxUSE_SHARED" = xyes
; then
23089 mgl_os_candidates
="linux/gcc/x86/so linux/gcc/x86/a linux/gcc/glibc.so linux/gcc/glibc"
23091 mgl_os_candidates
="linux/gcc/x86/a linux/gcc/x86/so linux/gcc/glibc linux/gcc/glibc.so"
23095 mgl_os_candidates
="dos32/dj2"
23098 { { echo "$as_me:$LINENO: error: This system type ${host} is not yet supported by wxMGL." >&5
23099 echo "$as_me: error: This system type ${host} is not yet supported by wxMGL." >&2;}
23100 { (exit 1); exit 1; }; }
23106 for mgl_os_i
in $mgl_os_candidates ; do
23107 if test "x$mgl_os" = x
; then
23108 if test "$wxUSE_DEBUG_FLAG" = yes ; then
23109 if test -f $MGL_ROOT/lib
/debug
/$mgl_os_i/libmgl.a
-o \
23110 -f $MGL_ROOT/lib
/debug
/$mgl_os_i/libmgl.so
; then
23115 if test "x$mgl_lib_type" = x
; then
23116 if test -f $MGL_ROOT/lib
/release
/$mgl_os_i/libmgl.a
-o \
23117 -f $MGL_ROOT/lib
/release
/$mgl_os_i/libmgl.so
; then
23118 mgl_lib_type
=release
23125 if test "x$mgl_os" = x
; then
23126 echo "$as_me:$LINENO: result: not found" >&5
23127 echo "${ECHO_T}not found" >&6
23128 { { echo "$as_me:$LINENO: error: Cannot find MGL libraries, make sure they are compiled." >&5
23129 echo "$as_me: error: Cannot find MGL libraries, make sure they are compiled." >&2;}
23130 { (exit 1); exit 1; }; }
23132 echo "$as_me:$LINENO: result: \"$MGL_ROOT/lib/$mgl_lib_type/$mgl_os\"" >&5
23133 echo "${ECHO_T}\"$MGL_ROOT/lib/$mgl_lib_type/$mgl_os\"" >&6
23135 wxUSE_UNIVERSAL
="yes"
23137 TOOLKIT_INCLUDE
="-I$MGL_ROOT/include"
23138 GUI_TK_LIBRARY
="-L$MGL_ROOT/lib/$mgl_lib_type/$mgl_os -lmgl -lmglcpp -lpm"
23140 AFMINSTALL
=afminstall
23145 if test "$wxUSE_MICROWIN" = 1; then
23146 echo "$as_me:$LINENO: checking for MicroWindows" >&5
23147 echo $ECHO_N "checking for MicroWindows... $ECHO_C" >&6
23148 if test "x$MICROWINDOWS" = x
; then
23149 echo "$as_me:$LINENO: result: not found" >&5
23150 echo "${ECHO_T}not found" >&6
23151 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows library. Make sure MICROWINDOWS is set." >&5
23152 echo "$as_me: error: Cannot find MicroWindows library. Make sure MICROWINDOWS is set." >&2;}
23153 { (exit 1); exit 1; }; }
23155 echo "$as_me:$LINENO: result: $MICROWINDOWS" >&5
23156 echo "${ECHO_T}$MICROWINDOWS" >&6
23159 if test -f $MICROWINDOWS/lib
/libmwin.a
; then
23160 echo "$as_me:$LINENO: result: MicroWindows' libraries found." >&5
23161 echo "${ECHO_T}MicroWindows' libraries found." >&6
23163 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows libraries, make sure they are compiled." >&5
23164 echo "$as_me: error: Cannot find MicroWindows libraries, make sure they are compiled." >&2;}
23165 { (exit 1); exit 1; }; }
23168 TOOLKIT_INCLUDE
="-I$MICROWINDOWS/include"
23169 GUI_TK_LIBRARY
="-L$MICROWINDOWS/lib -lmwin -lmwengine -mwfonts -mwdrivers -mwinlib"
23171 wxUSE_UNIVERSAL
="yes"
23173 AFMINSTALL
=afminstall
23175 GUIDIST
=MICROWIN_DIST
23177 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -D__WXMSW__ -D__WIN95__ -D__WIN32__ -DMWIN -DMICROWIN_NOCONTROLS -DMICROWIN_TODO=1"
23180 if test "$wxUSE_X11" = 1; then
23181 echo "$as_me:$LINENO: checking for X" >&5
23182 echo $ECHO_N "checking for X... $ECHO_C" >&6
23185 # Check whether --with-x or --without-x was given.
23186 if test "${with_x+set}" = set; then
23190 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
23191 if test "x$with_x" = xno
; then
23192 # The user explicitly disabled X.
23195 if test "x$x_includes" != xNONE
&& test "x$x_libraries" != xNONE
; then
23196 # Both variables are already set.
23199 if test "${ac_cv_have_x+set}" = set; then
23200 echo $ECHO_N "(cached) $ECHO_C" >&6
23202 # One or both of the vars are not set, and there is no cached value.
23203 ac_x_includes
=no ac_x_libraries
=no
23204 rm -fr conftest.dir
23205 if mkdir conftest.dir
; then
23207 # Make sure to not put "make" in the Imakefile rules, since we grep it out.
23208 cat >Imakefile
<<'_ACEOF'
23210 @echo 'ac_im_incroot="${INCROOT}"; ac_im_usrlibdir="${USRLIBDIR}"; ac_im_libdir="${LIBDIR}"'
23212 if (xmkmf
) >/dev
/null
2>/dev
/null
&& test -f Makefile
; then
23213 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
23214 eval `${MAKE-make} acfindx 2>/dev/null | grep -v make`
23215 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
23216 for ac_extension
in a so sl
; do
23217 if test ! -f $ac_im_usrlibdir/libX11.
$ac_extension &&
23218 test -f $ac_im_libdir/libX11.
$ac_extension; then
23219 ac_im_usrlibdir
=$ac_im_libdir; break
23222 # Screen out bogus values from the imake configuration. They are
23223 # bogus both because they are the default anyway, and because
23224 # using them would break gcc on systems where it needs fixed includes.
23225 case $ac_im_incroot in
23227 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes
=$ac_im_incroot;;
23229 case $ac_im_usrlibdir in
23230 /usr
/lib
| /lib
) ;;
23231 *) test -d "$ac_im_usrlibdir" && ac_x_libraries
=$ac_im_usrlibdir ;;
23235 rm -fr conftest.dir
23238 # Standard set of common directories for X headers.
23239 # Check X11 before X11Rn because it is often a symlink to the current release.
23251 /usr/local/X11/include
23252 /usr/local/X11R6/include
23253 /usr/local/X11R5/include
23254 /usr/local/X11R4/include
23256 /usr/local/include/X11
23257 /usr/local/include/X11R6
23258 /usr/local/include/X11R5
23259 /usr/local/include/X11R4
23263 /usr/XFree86/include/X11
23267 /usr/unsupported/include
23268 /usr/athena/include
23269 /usr/local/x11r5/include
23270 /usr/lpp/Xamples/include
23272 /usr/openwin/include
23273 /usr/openwin/share/include'
23275 if test "$ac_x_includes" = no
; then
23276 # Guess where to find include files, by looking for Intrinsic.h.
23277 # First, try using that file with no special directory specified.
23278 cat >conftest.
$ac_ext <<_ACEOF
23281 cat confdefs.h
>>conftest.
$ac_ext
23282 cat >>conftest.
$ac_ext <<_ACEOF
23283 /* end confdefs.h. */
23284 #include <X11/Intrinsic.h>
23286 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
23287 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
23289 grep -v '^ *+' conftest.er1
>conftest.err
23291 cat conftest.err
>&5
23292 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23293 (exit $ac_status); } >/dev
/null
; then
23294 if test -s conftest.err
; then
23295 ac_cpp_err
=$ac_c_preproc_warn_flag
23296 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
23303 if test -z "$ac_cpp_err"; then
23304 # We can compile using X headers with no special include directory.
23307 echo "$as_me: failed program was:" >&5
23308 sed 's/^/| /' conftest.
$ac_ext >&5
23310 for ac_dir
in $ac_x_header_dirs; do
23311 if test -r "$ac_dir/X11/Intrinsic.h"; then
23312 ac_x_includes
=$ac_dir
23317 rm -f conftest.err conftest.
$ac_ext
23318 fi # $ac_x_includes = no
23320 if test "$ac_x_libraries" = no
; then
23321 # Check for the libraries.
23322 # See if we find them without any special options.
23323 # Don't add to $LIBS permanently.
23326 cat >conftest.
$ac_ext <<_ACEOF
23329 cat confdefs.h
>>conftest.
$ac_ext
23330 cat >>conftest.
$ac_ext <<_ACEOF
23331 /* end confdefs.h. */
23332 #include <X11/Intrinsic.h>
23341 rm -f conftest.
$ac_objext conftest
$ac_exeext
23342 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23343 (eval $ac_link) 2>conftest.er1
23345 grep -v '^ *+' conftest.er1
>conftest.err
23347 cat conftest.err
>&5
23348 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23349 (exit $ac_status); } &&
23350 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
23351 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23352 (eval $ac_try) 2>&5
23354 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23355 (exit $ac_status); }; } &&
23356 { ac_try
='test -s conftest$ac_exeext'
23357 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23358 (eval $ac_try) 2>&5
23360 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23361 (exit $ac_status); }; }; then
23363 # We can link X programs with no special library path.
23366 echo "$as_me: failed program was:" >&5
23367 sed 's/^/| /' conftest.
$ac_ext >&5
23370 for ac_dir
in `echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
23372 # Don't even attempt the hair of trying to link an X program!
23373 for ac_extension
in a so sl
; do
23374 if test -r $ac_dir/libXt.
$ac_extension; then
23375 ac_x_libraries
=$ac_dir
23381 rm -f conftest.err conftest.
$ac_objext \
23382 conftest
$ac_exeext conftest.
$ac_ext
23383 fi # $ac_x_libraries = no
23385 if test "$ac_x_includes" = no
|| test "$ac_x_libraries" = no
; then
23386 # Didn't find X anywhere. Cache the known absence of X.
23387 ac_cv_have_x
="have_x=no"
23389 # Record where we found X for the cache.
23390 ac_cv_have_x
="have_x=yes \
23391 ac_x_includes=$ac_x_includes ac_x_libraries=$ac_x_libraries"
23396 eval "$ac_cv_have_x"
23399 if test "$have_x" != yes; then
23400 echo "$as_me:$LINENO: result: $have_x" >&5
23401 echo "${ECHO_T}$have_x" >&6
23404 # If each of the values was on the command line, it overrides each guess.
23405 test "x$x_includes" = xNONE
&& x_includes
=$ac_x_includes
23406 test "x$x_libraries" = xNONE
&& x_libraries
=$ac_x_libraries
23407 # Update the cache value to reflect the command line values.
23408 ac_cv_have_x
="have_x=yes \
23409 ac_x_includes=$x_includes ac_x_libraries=$x_libraries"
23410 echo "$as_me:$LINENO: result: libraries $x_libraries, headers $x_includes" >&5
23411 echo "${ECHO_T}libraries $x_libraries, headers $x_includes" >&6
23414 if test "$no_x" = yes; then
23415 # Not all programs may use this symbol, but it does not hurt to define it.
23417 cat >>confdefs.h
<<\_ACEOF
23418 #define X_DISPLAY_MISSING 1
23421 X_CFLAGS
= X_PRE_LIBS
= X_LIBS
= X_EXTRA_LIBS
=
23423 if test -n "$x_includes"; then
23424 X_CFLAGS
="$X_CFLAGS -I$x_includes"
23427 # It would also be nice to do this for all -L options, not just this one.
23428 if test -n "$x_libraries"; then
23429 X_LIBS
="$X_LIBS -L$x_libraries"
23430 # For Solaris; some versions of Sun CC require a space after -R and
23431 # others require no space. Words are not sufficient . . . .
23432 case `(uname -sr) 2>/dev/null` in
23434 echo "$as_me:$LINENO: checking whether -R must be followed by a space" >&5
23435 echo $ECHO_N "checking whether -R must be followed by a space... $ECHO_C" >&6
23436 ac_xsave_LIBS
=$LIBS; LIBS
="$LIBS -R$x_libraries"
23437 cat >conftest.
$ac_ext <<_ACEOF
23440 cat confdefs.h
>>conftest.
$ac_ext
23441 cat >>conftest.
$ac_ext <<_ACEOF
23442 /* end confdefs.h. */
23452 rm -f conftest.
$ac_objext conftest
$ac_exeext
23453 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23454 (eval $ac_link) 2>conftest.er1
23456 grep -v '^ *+' conftest.er1
>conftest.err
23458 cat conftest.err
>&5
23459 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23460 (exit $ac_status); } &&
23461 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
23462 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23463 (eval $ac_try) 2>&5
23465 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23466 (exit $ac_status); }; } &&
23467 { ac_try
='test -s conftest$ac_exeext'
23468 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23469 (eval $ac_try) 2>&5
23471 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23472 (exit $ac_status); }; }; then
23475 echo "$as_me: failed program was:" >&5
23476 sed 's/^/| /' conftest.
$ac_ext >&5
23480 rm -f conftest.err conftest.
$ac_objext \
23481 conftest
$ac_exeext conftest.
$ac_ext
23482 if test $ac_R_nospace = yes; then
23483 echo "$as_me:$LINENO: result: no" >&5
23484 echo "${ECHO_T}no" >&6
23485 X_LIBS
="$X_LIBS -R$x_libraries"
23487 LIBS
="$ac_xsave_LIBS -R $x_libraries"
23488 cat >conftest.
$ac_ext <<_ACEOF
23491 cat confdefs.h
>>conftest.
$ac_ext
23492 cat >>conftest.
$ac_ext <<_ACEOF
23493 /* end confdefs.h. */
23503 rm -f conftest.
$ac_objext conftest
$ac_exeext
23504 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23505 (eval $ac_link) 2>conftest.er1
23507 grep -v '^ *+' conftest.er1
>conftest.err
23509 cat conftest.err
>&5
23510 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23511 (exit $ac_status); } &&
23512 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
23513 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23514 (eval $ac_try) 2>&5
23516 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23517 (exit $ac_status); }; } &&
23518 { ac_try
='test -s conftest$ac_exeext'
23519 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23520 (eval $ac_try) 2>&5
23522 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23523 (exit $ac_status); }; }; then
23526 echo "$as_me: failed program was:" >&5
23527 sed 's/^/| /' conftest.
$ac_ext >&5
23531 rm -f conftest.err conftest.
$ac_objext \
23532 conftest
$ac_exeext conftest.
$ac_ext
23533 if test $ac_R_space = yes; then
23534 echo "$as_me:$LINENO: result: yes" >&5
23535 echo "${ECHO_T}yes" >&6
23536 X_LIBS
="$X_LIBS -R $x_libraries"
23538 echo "$as_me:$LINENO: result: neither works" >&5
23539 echo "${ECHO_T}neither works" >&6
23542 LIBS
=$ac_xsave_LIBS
23546 # Check for system-dependent libraries X programs must link with.
23547 # Do this before checking for the system-independent R6 libraries
23548 # (-lICE), since we may need -lsocket or whatever for X linking.
23550 if test "$ISC" = yes; then
23551 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl_s -linet"
23553 # Martyn Johnson says this is needed for Ultrix, if the X
23554 # libraries were built with DECnet support. And Karl Berry says
23555 # the Alpha needs dnet_stub (dnet does not exist).
23556 ac_xsave_LIBS
="$LIBS"; LIBS
="$LIBS $X_LIBS -lX11"
23557 cat >conftest.
$ac_ext <<_ACEOF
23560 cat confdefs.h
>>conftest.
$ac_ext
23561 cat >>conftest.
$ac_ext <<_ACEOF
23562 /* end confdefs.h. */
23564 /* Override any gcc2 internal prototype to avoid an error. */
23568 /* We use char because int might match the return type of a gcc2
23569 builtin and then its argument prototype would still apply. */
23570 char XOpenDisplay ();
23579 rm -f conftest.
$ac_objext conftest
$ac_exeext
23580 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23581 (eval $ac_link) 2>conftest.er1
23583 grep -v '^ *+' conftest.er1
>conftest.err
23585 cat conftest.err
>&5
23586 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23587 (exit $ac_status); } &&
23588 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
23589 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23590 (eval $ac_try) 2>&5
23592 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23593 (exit $ac_status); }; } &&
23594 { ac_try
='test -s conftest$ac_exeext'
23595 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23596 (eval $ac_try) 2>&5
23598 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23599 (exit $ac_status); }; }; then
23602 echo "$as_me: failed program was:" >&5
23603 sed 's/^/| /' conftest.
$ac_ext >&5
23605 echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet" >&5
23606 echo $ECHO_N "checking for dnet_ntoa in -ldnet... $ECHO_C" >&6
23607 if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then
23608 echo $ECHO_N "(cached) $ECHO_C" >&6
23610 ac_check_lib_save_LIBS
=$LIBS
23611 LIBS
="-ldnet $LIBS"
23612 cat >conftest.
$ac_ext <<_ACEOF
23615 cat confdefs.h
>>conftest.
$ac_ext
23616 cat >>conftest.
$ac_ext <<_ACEOF
23617 /* end confdefs.h. */
23619 /* Override any gcc2 internal prototype to avoid an error. */
23623 /* We use char because int might match the return type of a gcc2
23624 builtin and then its argument prototype would still apply. */
23634 rm -f conftest.
$ac_objext conftest
$ac_exeext
23635 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23636 (eval $ac_link) 2>conftest.er1
23638 grep -v '^ *+' conftest.er1
>conftest.err
23640 cat conftest.err
>&5
23641 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23642 (exit $ac_status); } &&
23643 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
23644 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23645 (eval $ac_try) 2>&5
23647 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23648 (exit $ac_status); }; } &&
23649 { ac_try
='test -s conftest$ac_exeext'
23650 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23651 (eval $ac_try) 2>&5
23653 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23654 (exit $ac_status); }; }; then
23655 ac_cv_lib_dnet_dnet_ntoa
=yes
23657 echo "$as_me: failed program was:" >&5
23658 sed 's/^/| /' conftest.
$ac_ext >&5
23660 ac_cv_lib_dnet_dnet_ntoa
=no
23662 rm -f conftest.err conftest.
$ac_objext \
23663 conftest
$ac_exeext conftest.
$ac_ext
23664 LIBS
=$ac_check_lib_save_LIBS
23666 echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
23667 echo "${ECHO_T}$ac_cv_lib_dnet_dnet_ntoa" >&6
23668 if test $ac_cv_lib_dnet_dnet_ntoa = yes; then
23669 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet"
23672 if test $ac_cv_lib_dnet_dnet_ntoa = no
; then
23673 echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet_stub" >&5
23674 echo $ECHO_N "checking for dnet_ntoa in -ldnet_stub... $ECHO_C" >&6
23675 if test "${ac_cv_lib_dnet_stub_dnet_ntoa+set}" = set; then
23676 echo $ECHO_N "(cached) $ECHO_C" >&6
23678 ac_check_lib_save_LIBS
=$LIBS
23679 LIBS
="-ldnet_stub $LIBS"
23680 cat >conftest.
$ac_ext <<_ACEOF
23683 cat confdefs.h
>>conftest.
$ac_ext
23684 cat >>conftest.
$ac_ext <<_ACEOF
23685 /* end confdefs.h. */
23687 /* Override any gcc2 internal prototype to avoid an error. */
23691 /* We use char because int might match the return type of a gcc2
23692 builtin and then its argument prototype would still apply. */
23702 rm -f conftest.
$ac_objext conftest
$ac_exeext
23703 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23704 (eval $ac_link) 2>conftest.er1
23706 grep -v '^ *+' conftest.er1
>conftest.err
23708 cat conftest.err
>&5
23709 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23710 (exit $ac_status); } &&
23711 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
23712 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23713 (eval $ac_try) 2>&5
23715 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23716 (exit $ac_status); }; } &&
23717 { ac_try
='test -s conftest$ac_exeext'
23718 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23719 (eval $ac_try) 2>&5
23721 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23722 (exit $ac_status); }; }; then
23723 ac_cv_lib_dnet_stub_dnet_ntoa
=yes
23725 echo "$as_me: failed program was:" >&5
23726 sed 's/^/| /' conftest.
$ac_ext >&5
23728 ac_cv_lib_dnet_stub_dnet_ntoa
=no
23730 rm -f conftest.err conftest.
$ac_objext \
23731 conftest
$ac_exeext conftest.
$ac_ext
23732 LIBS
=$ac_check_lib_save_LIBS
23734 echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
23735 echo "${ECHO_T}$ac_cv_lib_dnet_stub_dnet_ntoa" >&6
23736 if test $ac_cv_lib_dnet_stub_dnet_ntoa = yes; then
23737 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet_stub"
23742 rm -f conftest.err conftest.
$ac_objext \
23743 conftest
$ac_exeext conftest.
$ac_ext
23744 LIBS
="$ac_xsave_LIBS"
23746 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
23747 # to get the SysV transport functions.
23748 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
23750 # The nsl library prevents programs from opening the X display
23751 # on Irix 5.2, according to T.E. Dickey.
23752 # The functions gethostbyname, getservbyname, and inet_addr are
23753 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
23754 echo "$as_me:$LINENO: checking for gethostbyname" >&5
23755 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6
23756 if test "${ac_cv_func_gethostbyname+set}" = set; then
23757 echo $ECHO_N "(cached) $ECHO_C" >&6
23759 cat >conftest.
$ac_ext <<_ACEOF
23762 cat confdefs.h
>>conftest.
$ac_ext
23763 cat >>conftest.
$ac_ext <<_ACEOF
23764 /* end confdefs.h. */
23765 /* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
23766 For example, HP-UX 11i <limits.h> declares gettimeofday. */
23767 #define gethostbyname innocuous_gethostbyname
23769 /* System header to define __stub macros and hopefully few prototypes,
23770 which can conflict with char gethostbyname (); below.
23771 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
23772 <limits.h> exists even on freestanding compilers. */
23775 # include <limits.h>
23777 # include <assert.h>
23780 #undef gethostbyname
23782 /* Override any gcc2 internal prototype to avoid an error. */
23787 /* We use char because int might match the return type of a gcc2
23788 builtin and then its argument prototype would still apply. */
23789 char gethostbyname ();
23790 /* The GNU C library defines this for functions which it implements
23791 to always fail with ENOSYS. Some functions are actually named
23792 something starting with __ and the normal name is an alias. */
23793 #if defined (__stub_gethostbyname) || defined (__stub___gethostbyname)
23796 char (*f) () = gethostbyname;
23805 return f != gethostbyname;
23810 rm -f conftest.
$ac_objext conftest
$ac_exeext
23811 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23812 (eval $ac_link) 2>conftest.er1
23814 grep -v '^ *+' conftest.er1
>conftest.err
23816 cat conftest.err
>&5
23817 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23818 (exit $ac_status); } &&
23819 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
23820 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23821 (eval $ac_try) 2>&5
23823 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23824 (exit $ac_status); }; } &&
23825 { ac_try
='test -s conftest$ac_exeext'
23826 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23827 (eval $ac_try) 2>&5
23829 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23830 (exit $ac_status); }; }; then
23831 ac_cv_func_gethostbyname
=yes
23833 echo "$as_me: failed program was:" >&5
23834 sed 's/^/| /' conftest.
$ac_ext >&5
23836 ac_cv_func_gethostbyname
=no
23838 rm -f conftest.err conftest.
$ac_objext \
23839 conftest
$ac_exeext conftest.
$ac_ext
23841 echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
23842 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6
23844 if test $ac_cv_func_gethostbyname = no
; then
23845 echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
23846 echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6
23847 if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
23848 echo $ECHO_N "(cached) $ECHO_C" >&6
23850 ac_check_lib_save_LIBS
=$LIBS
23852 cat >conftest.
$ac_ext <<_ACEOF
23855 cat confdefs.h
>>conftest.
$ac_ext
23856 cat >>conftest.
$ac_ext <<_ACEOF
23857 /* end confdefs.h. */
23859 /* Override any gcc2 internal prototype to avoid an error. */
23863 /* We use char because int might match the return type of a gcc2
23864 builtin and then its argument prototype would still apply. */
23865 char gethostbyname ();
23874 rm -f conftest.
$ac_objext conftest
$ac_exeext
23875 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23876 (eval $ac_link) 2>conftest.er1
23878 grep -v '^ *+' conftest.er1
>conftest.err
23880 cat conftest.err
>&5
23881 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23882 (exit $ac_status); } &&
23883 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
23884 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23885 (eval $ac_try) 2>&5
23887 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23888 (exit $ac_status); }; } &&
23889 { ac_try
='test -s conftest$ac_exeext'
23890 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23891 (eval $ac_try) 2>&5
23893 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23894 (exit $ac_status); }; }; then
23895 ac_cv_lib_nsl_gethostbyname
=yes
23897 echo "$as_me: failed program was:" >&5
23898 sed 's/^/| /' conftest.
$ac_ext >&5
23900 ac_cv_lib_nsl_gethostbyname
=no
23902 rm -f conftest.err conftest.
$ac_objext \
23903 conftest
$ac_exeext conftest.
$ac_ext
23904 LIBS
=$ac_check_lib_save_LIBS
23906 echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
23907 echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6
23908 if test $ac_cv_lib_nsl_gethostbyname = yes; then
23909 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl"
23912 if test $ac_cv_lib_nsl_gethostbyname = no
; then
23913 echo "$as_me:$LINENO: checking for gethostbyname in -lbsd" >&5
23914 echo $ECHO_N "checking for gethostbyname in -lbsd... $ECHO_C" >&6
23915 if test "${ac_cv_lib_bsd_gethostbyname+set}" = set; then
23916 echo $ECHO_N "(cached) $ECHO_C" >&6
23918 ac_check_lib_save_LIBS
=$LIBS
23920 cat >conftest.
$ac_ext <<_ACEOF
23923 cat confdefs.h
>>conftest.
$ac_ext
23924 cat >>conftest.
$ac_ext <<_ACEOF
23925 /* end confdefs.h. */
23927 /* Override any gcc2 internal prototype to avoid an error. */
23931 /* We use char because int might match the return type of a gcc2
23932 builtin and then its argument prototype would still apply. */
23933 char gethostbyname ();
23942 rm -f conftest.
$ac_objext conftest
$ac_exeext
23943 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23944 (eval $ac_link) 2>conftest.er1
23946 grep -v '^ *+' conftest.er1
>conftest.err
23948 cat conftest.err
>&5
23949 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23950 (exit $ac_status); } &&
23951 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
23952 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23953 (eval $ac_try) 2>&5
23955 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23956 (exit $ac_status); }; } &&
23957 { ac_try
='test -s conftest$ac_exeext'
23958 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23959 (eval $ac_try) 2>&5
23961 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23962 (exit $ac_status); }; }; then
23963 ac_cv_lib_bsd_gethostbyname
=yes
23965 echo "$as_me: failed program was:" >&5
23966 sed 's/^/| /' conftest.
$ac_ext >&5
23968 ac_cv_lib_bsd_gethostbyname
=no
23970 rm -f conftest.err conftest.
$ac_objext \
23971 conftest
$ac_exeext conftest.
$ac_ext
23972 LIBS
=$ac_check_lib_save_LIBS
23974 echo "$as_me:$LINENO: result: $ac_cv_lib_bsd_gethostbyname" >&5
23975 echo "${ECHO_T}$ac_cv_lib_bsd_gethostbyname" >&6
23976 if test $ac_cv_lib_bsd_gethostbyname = yes; then
23977 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lbsd"
23983 # lieder@skyler.mavd.honeywell.com says without -lsocket,
23984 # socket/setsockopt and other routines are undefined under SCO ODT
23985 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
23986 # on later versions), says Simon Leinen: it contains gethostby*
23987 # variants that don't use the name server (or something). -lsocket
23988 # must be given before -lnsl if both are needed. We assume that
23989 # if connect needs -lnsl, so does gethostbyname.
23990 echo "$as_me:$LINENO: checking for connect" >&5
23991 echo $ECHO_N "checking for connect... $ECHO_C" >&6
23992 if test "${ac_cv_func_connect+set}" = set; then
23993 echo $ECHO_N "(cached) $ECHO_C" >&6
23995 cat >conftest.
$ac_ext <<_ACEOF
23998 cat confdefs.h
>>conftest.
$ac_ext
23999 cat >>conftest.
$ac_ext <<_ACEOF
24000 /* end confdefs.h. */
24001 /* Define connect to an innocuous variant, in case <limits.h> declares connect.
24002 For example, HP-UX 11i <limits.h> declares gettimeofday. */
24003 #define connect innocuous_connect
24005 /* System header to define __stub macros and hopefully few prototypes,
24006 which can conflict with char connect (); below.
24007 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24008 <limits.h> exists even on freestanding compilers. */
24011 # include <limits.h>
24013 # include <assert.h>
24018 /* Override any gcc2 internal prototype to avoid an error. */
24023 /* We use char because int might match the return type of a gcc2
24024 builtin and then its argument prototype would still apply. */
24026 /* The GNU C library defines this for functions which it implements
24027 to always fail with ENOSYS. Some functions are actually named
24028 something starting with __ and the normal name is an alias. */
24029 #if defined (__stub_connect) || defined (__stub___connect)
24032 char (*f) () = connect;
24041 return f != connect;
24046 rm -f conftest.
$ac_objext conftest
$ac_exeext
24047 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24048 (eval $ac_link) 2>conftest.er1
24050 grep -v '^ *+' conftest.er1
>conftest.err
24052 cat conftest.err
>&5
24053 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24054 (exit $ac_status); } &&
24055 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
24056 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24057 (eval $ac_try) 2>&5
24059 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24060 (exit $ac_status); }; } &&
24061 { ac_try
='test -s conftest$ac_exeext'
24062 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24063 (eval $ac_try) 2>&5
24065 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24066 (exit $ac_status); }; }; then
24067 ac_cv_func_connect
=yes
24069 echo "$as_me: failed program was:" >&5
24070 sed 's/^/| /' conftest.
$ac_ext >&5
24072 ac_cv_func_connect
=no
24074 rm -f conftest.err conftest.
$ac_objext \
24075 conftest
$ac_exeext conftest.
$ac_ext
24077 echo "$as_me:$LINENO: result: $ac_cv_func_connect" >&5
24078 echo "${ECHO_T}$ac_cv_func_connect" >&6
24080 if test $ac_cv_func_connect = no
; then
24081 echo "$as_me:$LINENO: checking for connect in -lsocket" >&5
24082 echo $ECHO_N "checking for connect in -lsocket... $ECHO_C" >&6
24083 if test "${ac_cv_lib_socket_connect+set}" = set; then
24084 echo $ECHO_N "(cached) $ECHO_C" >&6
24086 ac_check_lib_save_LIBS
=$LIBS
24087 LIBS
="-lsocket $X_EXTRA_LIBS $LIBS"
24088 cat >conftest.
$ac_ext <<_ACEOF
24091 cat confdefs.h
>>conftest.
$ac_ext
24092 cat >>conftest.
$ac_ext <<_ACEOF
24093 /* end confdefs.h. */
24095 /* Override any gcc2 internal prototype to avoid an error. */
24099 /* We use char because int might match the return type of a gcc2
24100 builtin and then its argument prototype would still apply. */
24110 rm -f conftest.
$ac_objext conftest
$ac_exeext
24111 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24112 (eval $ac_link) 2>conftest.er1
24114 grep -v '^ *+' conftest.er1
>conftest.err
24116 cat conftest.err
>&5
24117 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24118 (exit $ac_status); } &&
24119 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
24120 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24121 (eval $ac_try) 2>&5
24123 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24124 (exit $ac_status); }; } &&
24125 { ac_try
='test -s conftest$ac_exeext'
24126 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24127 (eval $ac_try) 2>&5
24129 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24130 (exit $ac_status); }; }; then
24131 ac_cv_lib_socket_connect
=yes
24133 echo "$as_me: failed program was:" >&5
24134 sed 's/^/| /' conftest.
$ac_ext >&5
24136 ac_cv_lib_socket_connect
=no
24138 rm -f conftest.err conftest.
$ac_objext \
24139 conftest
$ac_exeext conftest.
$ac_ext
24140 LIBS
=$ac_check_lib_save_LIBS
24142 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5
24143 echo "${ECHO_T}$ac_cv_lib_socket_connect" >&6
24144 if test $ac_cv_lib_socket_connect = yes; then
24145 X_EXTRA_LIBS
="-lsocket $X_EXTRA_LIBS"
24150 # Guillermo Gomez says -lposix is necessary on A/UX.
24151 echo "$as_me:$LINENO: checking for remove" >&5
24152 echo $ECHO_N "checking for remove... $ECHO_C" >&6
24153 if test "${ac_cv_func_remove+set}" = set; then
24154 echo $ECHO_N "(cached) $ECHO_C" >&6
24156 cat >conftest.
$ac_ext <<_ACEOF
24159 cat confdefs.h
>>conftest.
$ac_ext
24160 cat >>conftest.
$ac_ext <<_ACEOF
24161 /* end confdefs.h. */
24162 /* Define remove to an innocuous variant, in case <limits.h> declares remove.
24163 For example, HP-UX 11i <limits.h> declares gettimeofday. */
24164 #define remove innocuous_remove
24166 /* System header to define __stub macros and hopefully few prototypes,
24167 which can conflict with char remove (); below.
24168 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24169 <limits.h> exists even on freestanding compilers. */
24172 # include <limits.h>
24174 # include <assert.h>
24179 /* Override any gcc2 internal prototype to avoid an error. */
24184 /* We use char because int might match the return type of a gcc2
24185 builtin and then its argument prototype would still apply. */
24187 /* The GNU C library defines this for functions which it implements
24188 to always fail with ENOSYS. Some functions are actually named
24189 something starting with __ and the normal name is an alias. */
24190 #if defined (__stub_remove) || defined (__stub___remove)
24193 char (*f) () = remove;
24202 return f != remove;
24207 rm -f conftest.
$ac_objext conftest
$ac_exeext
24208 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24209 (eval $ac_link) 2>conftest.er1
24211 grep -v '^ *+' conftest.er1
>conftest.err
24213 cat conftest.err
>&5
24214 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24215 (exit $ac_status); } &&
24216 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
24217 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24218 (eval $ac_try) 2>&5
24220 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24221 (exit $ac_status); }; } &&
24222 { ac_try
='test -s conftest$ac_exeext'
24223 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24224 (eval $ac_try) 2>&5
24226 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24227 (exit $ac_status); }; }; then
24228 ac_cv_func_remove
=yes
24230 echo "$as_me: failed program was:" >&5
24231 sed 's/^/| /' conftest.
$ac_ext >&5
24233 ac_cv_func_remove
=no
24235 rm -f conftest.err conftest.
$ac_objext \
24236 conftest
$ac_exeext conftest.
$ac_ext
24238 echo "$as_me:$LINENO: result: $ac_cv_func_remove" >&5
24239 echo "${ECHO_T}$ac_cv_func_remove" >&6
24241 if test $ac_cv_func_remove = no
; then
24242 echo "$as_me:$LINENO: checking for remove in -lposix" >&5
24243 echo $ECHO_N "checking for remove in -lposix... $ECHO_C" >&6
24244 if test "${ac_cv_lib_posix_remove+set}" = set; then
24245 echo $ECHO_N "(cached) $ECHO_C" >&6
24247 ac_check_lib_save_LIBS
=$LIBS
24248 LIBS
="-lposix $LIBS"
24249 cat >conftest.
$ac_ext <<_ACEOF
24252 cat confdefs.h
>>conftest.
$ac_ext
24253 cat >>conftest.
$ac_ext <<_ACEOF
24254 /* end confdefs.h. */
24256 /* Override any gcc2 internal prototype to avoid an error. */
24260 /* We use char because int might match the return type of a gcc2
24261 builtin and then its argument prototype would still apply. */
24271 rm -f conftest.
$ac_objext conftest
$ac_exeext
24272 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24273 (eval $ac_link) 2>conftest.er1
24275 grep -v '^ *+' conftest.er1
>conftest.err
24277 cat conftest.err
>&5
24278 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24279 (exit $ac_status); } &&
24280 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
24281 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24282 (eval $ac_try) 2>&5
24284 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24285 (exit $ac_status); }; } &&
24286 { ac_try
='test -s conftest$ac_exeext'
24287 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24288 (eval $ac_try) 2>&5
24290 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24291 (exit $ac_status); }; }; then
24292 ac_cv_lib_posix_remove
=yes
24294 echo "$as_me: failed program was:" >&5
24295 sed 's/^/| /' conftest.
$ac_ext >&5
24297 ac_cv_lib_posix_remove
=no
24299 rm -f conftest.err conftest.
$ac_objext \
24300 conftest
$ac_exeext conftest.
$ac_ext
24301 LIBS
=$ac_check_lib_save_LIBS
24303 echo "$as_me:$LINENO: result: $ac_cv_lib_posix_remove" >&5
24304 echo "${ECHO_T}$ac_cv_lib_posix_remove" >&6
24305 if test $ac_cv_lib_posix_remove = yes; then
24306 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lposix"
24311 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
24312 echo "$as_me:$LINENO: checking for shmat" >&5
24313 echo $ECHO_N "checking for shmat... $ECHO_C" >&6
24314 if test "${ac_cv_func_shmat+set}" = set; then
24315 echo $ECHO_N "(cached) $ECHO_C" >&6
24317 cat >conftest.
$ac_ext <<_ACEOF
24320 cat confdefs.h
>>conftest.
$ac_ext
24321 cat >>conftest.
$ac_ext <<_ACEOF
24322 /* end confdefs.h. */
24323 /* Define shmat to an innocuous variant, in case <limits.h> declares shmat.
24324 For example, HP-UX 11i <limits.h> declares gettimeofday. */
24325 #define shmat innocuous_shmat
24327 /* System header to define __stub macros and hopefully few prototypes,
24328 which can conflict with char shmat (); below.
24329 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24330 <limits.h> exists even on freestanding compilers. */
24333 # include <limits.h>
24335 # include <assert.h>
24340 /* Override any gcc2 internal prototype to avoid an error. */
24345 /* We use char because int might match the return type of a gcc2
24346 builtin and then its argument prototype would still apply. */
24348 /* The GNU C library defines this for functions which it implements
24349 to always fail with ENOSYS. Some functions are actually named
24350 something starting with __ and the normal name is an alias. */
24351 #if defined (__stub_shmat) || defined (__stub___shmat)
24354 char (*f) () = shmat;
24368 rm -f conftest.
$ac_objext conftest
$ac_exeext
24369 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24370 (eval $ac_link) 2>conftest.er1
24372 grep -v '^ *+' conftest.er1
>conftest.err
24374 cat conftest.err
>&5
24375 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24376 (exit $ac_status); } &&
24377 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
24378 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24379 (eval $ac_try) 2>&5
24381 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24382 (exit $ac_status); }; } &&
24383 { ac_try
='test -s conftest$ac_exeext'
24384 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24385 (eval $ac_try) 2>&5
24387 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24388 (exit $ac_status); }; }; then
24389 ac_cv_func_shmat
=yes
24391 echo "$as_me: failed program was:" >&5
24392 sed 's/^/| /' conftest.
$ac_ext >&5
24394 ac_cv_func_shmat
=no
24396 rm -f conftest.err conftest.
$ac_objext \
24397 conftest
$ac_exeext conftest.
$ac_ext
24399 echo "$as_me:$LINENO: result: $ac_cv_func_shmat" >&5
24400 echo "${ECHO_T}$ac_cv_func_shmat" >&6
24402 if test $ac_cv_func_shmat = no
; then
24403 echo "$as_me:$LINENO: checking for shmat in -lipc" >&5
24404 echo $ECHO_N "checking for shmat in -lipc... $ECHO_C" >&6
24405 if test "${ac_cv_lib_ipc_shmat+set}" = set; then
24406 echo $ECHO_N "(cached) $ECHO_C" >&6
24408 ac_check_lib_save_LIBS
=$LIBS
24410 cat >conftest.
$ac_ext <<_ACEOF
24413 cat confdefs.h
>>conftest.
$ac_ext
24414 cat >>conftest.
$ac_ext <<_ACEOF
24415 /* end confdefs.h. */
24417 /* Override any gcc2 internal prototype to avoid an error. */
24421 /* We use char because int might match the return type of a gcc2
24422 builtin and then its argument prototype would still apply. */
24432 rm -f conftest.
$ac_objext conftest
$ac_exeext
24433 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24434 (eval $ac_link) 2>conftest.er1
24436 grep -v '^ *+' conftest.er1
>conftest.err
24438 cat conftest.err
>&5
24439 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24440 (exit $ac_status); } &&
24441 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
24442 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24443 (eval $ac_try) 2>&5
24445 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24446 (exit $ac_status); }; } &&
24447 { ac_try
='test -s conftest$ac_exeext'
24448 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24449 (eval $ac_try) 2>&5
24451 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24452 (exit $ac_status); }; }; then
24453 ac_cv_lib_ipc_shmat
=yes
24455 echo "$as_me: failed program was:" >&5
24456 sed 's/^/| /' conftest.
$ac_ext >&5
24458 ac_cv_lib_ipc_shmat
=no
24460 rm -f conftest.err conftest.
$ac_objext \
24461 conftest
$ac_exeext conftest.
$ac_ext
24462 LIBS
=$ac_check_lib_save_LIBS
24464 echo "$as_me:$LINENO: result: $ac_cv_lib_ipc_shmat" >&5
24465 echo "${ECHO_T}$ac_cv_lib_ipc_shmat" >&6
24466 if test $ac_cv_lib_ipc_shmat = yes; then
24467 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lipc"
24473 # Check for libraries that X11R6 Xt/Xaw programs need.
24474 ac_save_LDFLAGS
=$LDFLAGS
24475 test -n "$x_libraries" && LDFLAGS
="$LDFLAGS -L$x_libraries"
24476 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
24477 # check for ICE first), but we must link in the order -lSM -lICE or
24478 # we get undefined symbols. So assume we have SM if we have ICE.
24479 # These have to be linked with before -lX11, unlike the other
24480 # libraries we check for below, so use a different variable.
24481 # John Interrante, Karl Berry
24482 echo "$as_me:$LINENO: checking for IceConnectionNumber in -lICE" >&5
24483 echo $ECHO_N "checking for IceConnectionNumber in -lICE... $ECHO_C" >&6
24484 if test "${ac_cv_lib_ICE_IceConnectionNumber+set}" = set; then
24485 echo $ECHO_N "(cached) $ECHO_C" >&6
24487 ac_check_lib_save_LIBS
=$LIBS
24488 LIBS
="-lICE $X_EXTRA_LIBS $LIBS"
24489 cat >conftest.
$ac_ext <<_ACEOF
24492 cat confdefs.h
>>conftest.
$ac_ext
24493 cat >>conftest.
$ac_ext <<_ACEOF
24494 /* end confdefs.h. */
24496 /* Override any gcc2 internal prototype to avoid an error. */
24500 /* We use char because int might match the return type of a gcc2
24501 builtin and then its argument prototype would still apply. */
24502 char IceConnectionNumber ();
24506 IceConnectionNumber ();
24511 rm -f conftest.
$ac_objext conftest
$ac_exeext
24512 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24513 (eval $ac_link) 2>conftest.er1
24515 grep -v '^ *+' conftest.er1
>conftest.err
24517 cat conftest.err
>&5
24518 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24519 (exit $ac_status); } &&
24520 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
24521 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24522 (eval $ac_try) 2>&5
24524 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24525 (exit $ac_status); }; } &&
24526 { ac_try
='test -s conftest$ac_exeext'
24527 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24528 (eval $ac_try) 2>&5
24530 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24531 (exit $ac_status); }; }; then
24532 ac_cv_lib_ICE_IceConnectionNumber
=yes
24534 echo "$as_me: failed program was:" >&5
24535 sed 's/^/| /' conftest.
$ac_ext >&5
24537 ac_cv_lib_ICE_IceConnectionNumber
=no
24539 rm -f conftest.err conftest.
$ac_objext \
24540 conftest
$ac_exeext conftest.
$ac_ext
24541 LIBS
=$ac_check_lib_save_LIBS
24543 echo "$as_me:$LINENO: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
24544 echo "${ECHO_T}$ac_cv_lib_ICE_IceConnectionNumber" >&6
24545 if test $ac_cv_lib_ICE_IceConnectionNumber = yes; then
24546 X_PRE_LIBS
="$X_PRE_LIBS -lSM -lICE"
24549 LDFLAGS
=$ac_save_LDFLAGS
24554 if test "$no_x" = "yes"; then
24555 { { echo "$as_me:$LINENO: error: X11 not found" >&5
24556 echo "$as_me: error: X11 not found" >&2;}
24557 { (exit please use
--x-includes and
/or
--x-libraries options
); exit please use
--x-includes and
/or
--x-libraries options
; }; }
24560 GUI_TK_LIBRARY
="$X_LIBS"
24561 TOOLKIT_INCLUDE
="$X_CFLAGS"
24562 AFMINSTALL
=afminstall
24563 COMPILED_X_PROGRAM
=0
24565 if test "$wxUSE_NANOX" = "yes"; then
24566 echo "$as_me:$LINENO: checking for MicroWindows/NanoX distribution" >&5
24567 echo $ECHO_N "checking for MicroWindows/NanoX distribution... $ECHO_C" >&6
24568 if test "x$MICROWIN" = x
; then
24569 echo "$as_me:$LINENO: result: not found" >&5
24570 echo "${ECHO_T}not found" >&6
24571 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows library. Make sure MICROWIN is set." >&5
24572 echo "$as_me: error: Cannot find MicroWindows library. Make sure MICROWIN is set." >&2;}
24573 { (exit 1); exit 1; }; }
24575 echo "$as_me:$LINENO: result: $MICROWIN" >&5
24576 echo "${ECHO_T}$MICROWIN" >&6
24577 cat >>confdefs.h
<<\_ACEOF
24578 #define wxUSE_NANOX 1
24584 if test "$wxUSE_UNICODE" = "yes"; then
24588 if test -z "$PKG_CONFIG"; then
24589 # Extract the first word of "pkg-config", so it can be a program name with args.
24590 set dummy pkg
-config; ac_word
=$2
24591 echo "$as_me:$LINENO: checking for $ac_word" >&5
24592 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
24593 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
24594 echo $ECHO_N "(cached) $ECHO_C" >&6
24596 case $PKG_CONFIG in
24598 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
24601 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
24602 for as_dir
in $PATH
24605 test -z "$as_dir" && as_dir
=.
24606 for ac_exec_ext
in '' $ac_executable_extensions; do
24607 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
24608 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
24609 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
24615 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
24619 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
24621 if test -n "$PKG_CONFIG"; then
24622 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
24623 echo "${ECHO_T}$PKG_CONFIG" >&6
24625 echo "$as_me:$LINENO: result: no" >&5
24626 echo "${ECHO_T}no" >&6
24631 if test "$PKG_CONFIG" = "no" ; then
24632 echo "*** The pkg-config script could not be found. Make sure it is"
24633 echo "*** in your path, or set the PKG_CONFIG environment variable"
24634 echo "*** to the full path to pkg-config."
24635 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
24637 PKG_CONFIG_MIN_VERSION
=0.9.0
24638 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
24639 echo "$as_me:$LINENO: checking for pangox" >&5
24640 echo $ECHO_N "checking for pangox... $ECHO_C" >&6
24642 if $PKG_CONFIG --exists "pangox" ; then
24643 echo "$as_me:$LINENO: result: yes" >&5
24644 echo "${ECHO_T}yes" >&6
24647 echo "$as_me:$LINENO: checking PANGOX_CFLAGS" >&5
24648 echo $ECHO_N "checking PANGOX_CFLAGS... $ECHO_C" >&6
24649 PANGOX_CFLAGS
=`$PKG_CONFIG --cflags "pangox"`
24650 echo "$as_me:$LINENO: result: $PANGOX_CFLAGS" >&5
24651 echo "${ECHO_T}$PANGOX_CFLAGS" >&6
24653 echo "$as_me:$LINENO: checking PANGOX_LIBS" >&5
24654 echo $ECHO_N "checking PANGOX_LIBS... $ECHO_C" >&6
24655 PANGOX_LIBS
=`$PKG_CONFIG --libs "pangox"`
24656 echo "$as_me:$LINENO: result: $PANGOX_LIBS" >&5
24657 echo "${ECHO_T}$PANGOX_LIBS" >&6
24661 ## If we have a custom action on failure, don't print errors, but
24662 ## do set a variable so people can do so.
24663 PANGOX_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "pangox"`
24670 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
24671 echo "*** See http://www.freedesktop.org/software/pkgconfig"
24675 if test $succeeded = yes; then
24677 CXXFLAGS
="$CXXFLAGS $PANGOX_CFLAGS"
24678 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY $PANGOX_LIBS"
24682 { { echo "$as_me:$LINENO: error: pangox library not found, library cannot be compiled in Unicode mode" >&5
24683 echo "$as_me: error: pangox library not found, library cannot be compiled in Unicode mode" >&2;}
24684 { (exit 1); exit 1; }; }
24692 if test -z "$PKG_CONFIG"; then
24693 # Extract the first word of "pkg-config", so it can be a program name with args.
24694 set dummy pkg
-config; ac_word
=$2
24695 echo "$as_me:$LINENO: checking for $ac_word" >&5
24696 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
24697 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
24698 echo $ECHO_N "(cached) $ECHO_C" >&6
24700 case $PKG_CONFIG in
24702 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
24705 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
24706 for as_dir
in $PATH
24709 test -z "$as_dir" && as_dir
=.
24710 for ac_exec_ext
in '' $ac_executable_extensions; do
24711 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
24712 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
24713 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
24719 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
24723 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
24725 if test -n "$PKG_CONFIG"; then
24726 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
24727 echo "${ECHO_T}$PKG_CONFIG" >&6
24729 echo "$as_me:$LINENO: result: no" >&5
24730 echo "${ECHO_T}no" >&6
24735 if test "$PKG_CONFIG" = "no" ; then
24736 echo "*** The pkg-config script could not be found. Make sure it is"
24737 echo "*** in your path, or set the PKG_CONFIG environment variable"
24738 echo "*** to the full path to pkg-config."
24739 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
24741 PKG_CONFIG_MIN_VERSION
=0.9.0
24742 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
24743 echo "$as_me:$LINENO: checking for pangoft2" >&5
24744 echo $ECHO_N "checking for pangoft2... $ECHO_C" >&6
24746 if $PKG_CONFIG --exists "pangoft2" ; then
24747 echo "$as_me:$LINENO: result: yes" >&5
24748 echo "${ECHO_T}yes" >&6
24751 echo "$as_me:$LINENO: checking PANGOFT2_CFLAGS" >&5
24752 echo $ECHO_N "checking PANGOFT2_CFLAGS... $ECHO_C" >&6
24753 PANGOFT2_CFLAGS
=`$PKG_CONFIG --cflags "pangoft2"`
24754 echo "$as_me:$LINENO: result: $PANGOFT2_CFLAGS" >&5
24755 echo "${ECHO_T}$PANGOFT2_CFLAGS" >&6
24757 echo "$as_me:$LINENO: checking PANGOFT2_LIBS" >&5
24758 echo $ECHO_N "checking PANGOFT2_LIBS... $ECHO_C" >&6
24759 PANGOFT2_LIBS
=`$PKG_CONFIG --libs "pangoft2"`
24760 echo "$as_me:$LINENO: result: $PANGOFT2_LIBS" >&5
24761 echo "${ECHO_T}$PANGOFT2_LIBS" >&6
24765 ## If we have a custom action on failure, don't print errors, but
24766 ## do set a variable so people can do so.
24767 PANGOFT2_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoft2"`
24774 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
24775 echo "*** See http://www.freedesktop.org/software/pkgconfig"
24779 if test $succeeded = yes; then
24781 CXXFLAGS
="$CXXFLAGS $PANGOFT2_CFLAGS"
24782 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY $PANGOFT2_LIBS"
24786 { echo "$as_me:$LINENO: WARNING: pangoft2 library not found, library will be compiled without printing support" >&5
24787 echo "$as_me: WARNING: pangoft2 library not found, library will be compiled without printing support" >&2;}
24788 wxUSE_PRINTING_ARCHITECTURE
="no"
24796 if test -z "$PKG_CONFIG"; then
24797 # Extract the first word of "pkg-config", so it can be a program name with args.
24798 set dummy pkg
-config; ac_word
=$2
24799 echo "$as_me:$LINENO: checking for $ac_word" >&5
24800 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
24801 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
24802 echo $ECHO_N "(cached) $ECHO_C" >&6
24804 case $PKG_CONFIG in
24806 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
24809 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
24810 for as_dir
in $PATH
24813 test -z "$as_dir" && as_dir
=.
24814 for ac_exec_ext
in '' $ac_executable_extensions; do
24815 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
24816 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
24817 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
24823 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
24827 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
24829 if test -n "$PKG_CONFIG"; then
24830 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
24831 echo "${ECHO_T}$PKG_CONFIG" >&6
24833 echo "$as_me:$LINENO: result: no" >&5
24834 echo "${ECHO_T}no" >&6
24839 if test "$PKG_CONFIG" = "no" ; then
24840 echo "*** The pkg-config script could not be found. Make sure it is"
24841 echo "*** in your path, or set the PKG_CONFIG environment variable"
24842 echo "*** to the full path to pkg-config."
24843 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
24845 PKG_CONFIG_MIN_VERSION
=0.9.0
24846 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
24847 echo "$as_me:$LINENO: checking for pangoxft" >&5
24848 echo $ECHO_N "checking for pangoxft... $ECHO_C" >&6
24850 if $PKG_CONFIG --exists "pangoxft" ; then
24851 echo "$as_me:$LINENO: result: yes" >&5
24852 echo "${ECHO_T}yes" >&6
24855 echo "$as_me:$LINENO: checking PANGOXFT_CFLAGS" >&5
24856 echo $ECHO_N "checking PANGOXFT_CFLAGS... $ECHO_C" >&6
24857 PANGOXFT_CFLAGS
=`$PKG_CONFIG --cflags "pangoxft"`
24858 echo "$as_me:$LINENO: result: $PANGOXFT_CFLAGS" >&5
24859 echo "${ECHO_T}$PANGOXFT_CFLAGS" >&6
24861 echo "$as_me:$LINENO: checking PANGOXFT_LIBS" >&5
24862 echo $ECHO_N "checking PANGOXFT_LIBS... $ECHO_C" >&6
24863 PANGOXFT_LIBS
=`$PKG_CONFIG --libs "pangoxft"`
24864 echo "$as_me:$LINENO: result: $PANGOXFT_LIBS" >&5
24865 echo "${ECHO_T}$PANGOXFT_LIBS" >&6
24869 ## If we have a custom action on failure, don't print errors, but
24870 ## do set a variable so people can do so.
24871 PANGOXFT_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoxft"`
24878 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
24879 echo "*** See http://www.freedesktop.org/software/pkgconfig"
24883 if test $succeeded = yes; then
24885 CXXFLAGS
="$CXXFLAGS $PANGOXFT_CFLAGS"
24886 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY $PANGOXFT_LIBS"
24890 { echo "$as_me:$LINENO: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&5
24891 echo "$as_me: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&2;}
24898 wxUSE_UNIVERSAL
="yes"
24900 if test "$wxUSE_NANOX" = "yes"; then
24901 TOOLKIT_INCLUDE
="-I\$(top_srcdir)/include/wx/x11/nanox -I\$(MICROWIN)/src/include $TOOLKIT_INCLUDE"
24902 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"
24903 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY \$(MICROWIN)/src/lib/libnano-X.a"
24905 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lX11"
24908 TOOLKIT_VPATH
="\${top_srcdir}/src/x11"
24913 if test "$wxUSE_MOTIF" = 1; then
24914 if test "$no_x" = yes; then
24915 # Not all programs may use this symbol, but it does not hurt to define it.
24917 cat >>confdefs.h
<<\_ACEOF
24918 #define X_DISPLAY_MISSING 1
24921 X_CFLAGS
= X_PRE_LIBS
= X_LIBS
= X_EXTRA_LIBS
=
24923 if test -n "$x_includes"; then
24924 X_CFLAGS
="$X_CFLAGS -I$x_includes"
24927 # It would also be nice to do this for all -L options, not just this one.
24928 if test -n "$x_libraries"; then
24929 X_LIBS
="$X_LIBS -L$x_libraries"
24930 # For Solaris; some versions of Sun CC require a space after -R and
24931 # others require no space. Words are not sufficient . . . .
24932 case `(uname -sr) 2>/dev/null` in
24934 echo "$as_me:$LINENO: checking whether -R must be followed by a space" >&5
24935 echo $ECHO_N "checking whether -R must be followed by a space... $ECHO_C" >&6
24936 ac_xsave_LIBS
=$LIBS; LIBS
="$LIBS -R$x_libraries"
24937 cat >conftest.
$ac_ext <<_ACEOF
24940 cat confdefs.h
>>conftest.
$ac_ext
24941 cat >>conftest.
$ac_ext <<_ACEOF
24942 /* end confdefs.h. */
24952 rm -f conftest.
$ac_objext conftest
$ac_exeext
24953 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24954 (eval $ac_link) 2>conftest.er1
24956 grep -v '^ *+' conftest.er1
>conftest.err
24958 cat conftest.err
>&5
24959 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24960 (exit $ac_status); } &&
24961 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
24962 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24963 (eval $ac_try) 2>&5
24965 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24966 (exit $ac_status); }; } &&
24967 { ac_try
='test -s conftest$ac_exeext'
24968 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24969 (eval $ac_try) 2>&5
24971 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24972 (exit $ac_status); }; }; then
24975 echo "$as_me: failed program was:" >&5
24976 sed 's/^/| /' conftest.
$ac_ext >&5
24980 rm -f conftest.err conftest.
$ac_objext \
24981 conftest
$ac_exeext conftest.
$ac_ext
24982 if test $ac_R_nospace = yes; then
24983 echo "$as_me:$LINENO: result: no" >&5
24984 echo "${ECHO_T}no" >&6
24985 X_LIBS
="$X_LIBS -R$x_libraries"
24987 LIBS
="$ac_xsave_LIBS -R $x_libraries"
24988 cat >conftest.
$ac_ext <<_ACEOF
24991 cat confdefs.h
>>conftest.
$ac_ext
24992 cat >>conftest.
$ac_ext <<_ACEOF
24993 /* end confdefs.h. */
25003 rm -f conftest.
$ac_objext conftest
$ac_exeext
25004 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25005 (eval $ac_link) 2>conftest.er1
25007 grep -v '^ *+' conftest.er1
>conftest.err
25009 cat conftest.err
>&5
25010 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25011 (exit $ac_status); } &&
25012 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
25013 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25014 (eval $ac_try) 2>&5
25016 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25017 (exit $ac_status); }; } &&
25018 { ac_try
='test -s conftest$ac_exeext'
25019 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25020 (eval $ac_try) 2>&5
25022 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25023 (exit $ac_status); }; }; then
25026 echo "$as_me: failed program was:" >&5
25027 sed 's/^/| /' conftest.
$ac_ext >&5
25031 rm -f conftest.err conftest.
$ac_objext \
25032 conftest
$ac_exeext conftest.
$ac_ext
25033 if test $ac_R_space = yes; then
25034 echo "$as_me:$LINENO: result: yes" >&5
25035 echo "${ECHO_T}yes" >&6
25036 X_LIBS
="$X_LIBS -R $x_libraries"
25038 echo "$as_me:$LINENO: result: neither works" >&5
25039 echo "${ECHO_T}neither works" >&6
25042 LIBS
=$ac_xsave_LIBS
25046 # Check for system-dependent libraries X programs must link with.
25047 # Do this before checking for the system-independent R6 libraries
25048 # (-lICE), since we may need -lsocket or whatever for X linking.
25050 if test "$ISC" = yes; then
25051 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl_s -linet"
25053 # Martyn Johnson says this is needed for Ultrix, if the X
25054 # libraries were built with DECnet support. And Karl Berry says
25055 # the Alpha needs dnet_stub (dnet does not exist).
25056 ac_xsave_LIBS
="$LIBS"; LIBS
="$LIBS $X_LIBS -lX11"
25057 cat >conftest.
$ac_ext <<_ACEOF
25060 cat confdefs.h
>>conftest.
$ac_ext
25061 cat >>conftest.
$ac_ext <<_ACEOF
25062 /* end confdefs.h. */
25064 /* Override any gcc2 internal prototype to avoid an error. */
25068 /* We use char because int might match the return type of a gcc2
25069 builtin and then its argument prototype would still apply. */
25070 char XOpenDisplay ();
25079 rm -f conftest.
$ac_objext conftest
$ac_exeext
25080 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25081 (eval $ac_link) 2>conftest.er1
25083 grep -v '^ *+' conftest.er1
>conftest.err
25085 cat conftest.err
>&5
25086 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25087 (exit $ac_status); } &&
25088 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
25089 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25090 (eval $ac_try) 2>&5
25092 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25093 (exit $ac_status); }; } &&
25094 { ac_try
='test -s conftest$ac_exeext'
25095 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25096 (eval $ac_try) 2>&5
25098 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25099 (exit $ac_status); }; }; then
25102 echo "$as_me: failed program was:" >&5
25103 sed 's/^/| /' conftest.
$ac_ext >&5
25105 echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet" >&5
25106 echo $ECHO_N "checking for dnet_ntoa in -ldnet... $ECHO_C" >&6
25107 if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then
25108 echo $ECHO_N "(cached) $ECHO_C" >&6
25110 ac_check_lib_save_LIBS
=$LIBS
25111 LIBS
="-ldnet $LIBS"
25112 cat >conftest.
$ac_ext <<_ACEOF
25115 cat confdefs.h
>>conftest.
$ac_ext
25116 cat >>conftest.
$ac_ext <<_ACEOF
25117 /* end confdefs.h. */
25119 /* Override any gcc2 internal prototype to avoid an error. */
25123 /* We use char because int might match the return type of a gcc2
25124 builtin and then its argument prototype would still apply. */
25134 rm -f conftest.
$ac_objext conftest
$ac_exeext
25135 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25136 (eval $ac_link) 2>conftest.er1
25138 grep -v '^ *+' conftest.er1
>conftest.err
25140 cat conftest.err
>&5
25141 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25142 (exit $ac_status); } &&
25143 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
25144 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25145 (eval $ac_try) 2>&5
25147 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25148 (exit $ac_status); }; } &&
25149 { ac_try
='test -s conftest$ac_exeext'
25150 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25151 (eval $ac_try) 2>&5
25153 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25154 (exit $ac_status); }; }; then
25155 ac_cv_lib_dnet_dnet_ntoa
=yes
25157 echo "$as_me: failed program was:" >&5
25158 sed 's/^/| /' conftest.
$ac_ext >&5
25160 ac_cv_lib_dnet_dnet_ntoa
=no
25162 rm -f conftest.err conftest.
$ac_objext \
25163 conftest
$ac_exeext conftest.
$ac_ext
25164 LIBS
=$ac_check_lib_save_LIBS
25166 echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
25167 echo "${ECHO_T}$ac_cv_lib_dnet_dnet_ntoa" >&6
25168 if test $ac_cv_lib_dnet_dnet_ntoa = yes; then
25169 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet"
25172 if test $ac_cv_lib_dnet_dnet_ntoa = no
; then
25173 echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet_stub" >&5
25174 echo $ECHO_N "checking for dnet_ntoa in -ldnet_stub... $ECHO_C" >&6
25175 if test "${ac_cv_lib_dnet_stub_dnet_ntoa+set}" = set; then
25176 echo $ECHO_N "(cached) $ECHO_C" >&6
25178 ac_check_lib_save_LIBS
=$LIBS
25179 LIBS
="-ldnet_stub $LIBS"
25180 cat >conftest.
$ac_ext <<_ACEOF
25183 cat confdefs.h
>>conftest.
$ac_ext
25184 cat >>conftest.
$ac_ext <<_ACEOF
25185 /* end confdefs.h. */
25187 /* Override any gcc2 internal prototype to avoid an error. */
25191 /* We use char because int might match the return type of a gcc2
25192 builtin and then its argument prototype would still apply. */
25202 rm -f conftest.
$ac_objext conftest
$ac_exeext
25203 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25204 (eval $ac_link) 2>conftest.er1
25206 grep -v '^ *+' conftest.er1
>conftest.err
25208 cat conftest.err
>&5
25209 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25210 (exit $ac_status); } &&
25211 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
25212 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25213 (eval $ac_try) 2>&5
25215 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25216 (exit $ac_status); }; } &&
25217 { ac_try
='test -s conftest$ac_exeext'
25218 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25219 (eval $ac_try) 2>&5
25221 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25222 (exit $ac_status); }; }; then
25223 ac_cv_lib_dnet_stub_dnet_ntoa
=yes
25225 echo "$as_me: failed program was:" >&5
25226 sed 's/^/| /' conftest.
$ac_ext >&5
25228 ac_cv_lib_dnet_stub_dnet_ntoa
=no
25230 rm -f conftest.err conftest.
$ac_objext \
25231 conftest
$ac_exeext conftest.
$ac_ext
25232 LIBS
=$ac_check_lib_save_LIBS
25234 echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
25235 echo "${ECHO_T}$ac_cv_lib_dnet_stub_dnet_ntoa" >&6
25236 if test $ac_cv_lib_dnet_stub_dnet_ntoa = yes; then
25237 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet_stub"
25242 rm -f conftest.err conftest.
$ac_objext \
25243 conftest
$ac_exeext conftest.
$ac_ext
25244 LIBS
="$ac_xsave_LIBS"
25246 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
25247 # to get the SysV transport functions.
25248 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
25250 # The nsl library prevents programs from opening the X display
25251 # on Irix 5.2, according to T.E. Dickey.
25252 # The functions gethostbyname, getservbyname, and inet_addr are
25253 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
25254 echo "$as_me:$LINENO: checking for gethostbyname" >&5
25255 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6
25256 if test "${ac_cv_func_gethostbyname+set}" = set; then
25257 echo $ECHO_N "(cached) $ECHO_C" >&6
25259 cat >conftest.
$ac_ext <<_ACEOF
25262 cat confdefs.h
>>conftest.
$ac_ext
25263 cat >>conftest.
$ac_ext <<_ACEOF
25264 /* end confdefs.h. */
25265 /* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
25266 For example, HP-UX 11i <limits.h> declares gettimeofday. */
25267 #define gethostbyname innocuous_gethostbyname
25269 /* System header to define __stub macros and hopefully few prototypes,
25270 which can conflict with char gethostbyname (); below.
25271 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25272 <limits.h> exists even on freestanding compilers. */
25275 # include <limits.h>
25277 # include <assert.h>
25280 #undef gethostbyname
25282 /* Override any gcc2 internal prototype to avoid an error. */
25287 /* We use char because int might match the return type of a gcc2
25288 builtin and then its argument prototype would still apply. */
25289 char gethostbyname ();
25290 /* The GNU C library defines this for functions which it implements
25291 to always fail with ENOSYS. Some functions are actually named
25292 something starting with __ and the normal name is an alias. */
25293 #if defined (__stub_gethostbyname) || defined (__stub___gethostbyname)
25296 char (*f) () = gethostbyname;
25305 return f != gethostbyname;
25310 rm -f conftest.
$ac_objext conftest
$ac_exeext
25311 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25312 (eval $ac_link) 2>conftest.er1
25314 grep -v '^ *+' conftest.er1
>conftest.err
25316 cat conftest.err
>&5
25317 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25318 (exit $ac_status); } &&
25319 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
25320 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25321 (eval $ac_try) 2>&5
25323 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25324 (exit $ac_status); }; } &&
25325 { ac_try
='test -s conftest$ac_exeext'
25326 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25327 (eval $ac_try) 2>&5
25329 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25330 (exit $ac_status); }; }; then
25331 ac_cv_func_gethostbyname
=yes
25333 echo "$as_me: failed program was:" >&5
25334 sed 's/^/| /' conftest.
$ac_ext >&5
25336 ac_cv_func_gethostbyname
=no
25338 rm -f conftest.err conftest.
$ac_objext \
25339 conftest
$ac_exeext conftest.
$ac_ext
25341 echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
25342 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6
25344 if test $ac_cv_func_gethostbyname = no
; then
25345 echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
25346 echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6
25347 if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
25348 echo $ECHO_N "(cached) $ECHO_C" >&6
25350 ac_check_lib_save_LIBS
=$LIBS
25352 cat >conftest.
$ac_ext <<_ACEOF
25355 cat confdefs.h
>>conftest.
$ac_ext
25356 cat >>conftest.
$ac_ext <<_ACEOF
25357 /* end confdefs.h. */
25359 /* Override any gcc2 internal prototype to avoid an error. */
25363 /* We use char because int might match the return type of a gcc2
25364 builtin and then its argument prototype would still apply. */
25365 char gethostbyname ();
25374 rm -f conftest.
$ac_objext conftest
$ac_exeext
25375 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25376 (eval $ac_link) 2>conftest.er1
25378 grep -v '^ *+' conftest.er1
>conftest.err
25380 cat conftest.err
>&5
25381 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25382 (exit $ac_status); } &&
25383 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
25384 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25385 (eval $ac_try) 2>&5
25387 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25388 (exit $ac_status); }; } &&
25389 { ac_try
='test -s conftest$ac_exeext'
25390 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25391 (eval $ac_try) 2>&5
25393 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25394 (exit $ac_status); }; }; then
25395 ac_cv_lib_nsl_gethostbyname
=yes
25397 echo "$as_me: failed program was:" >&5
25398 sed 's/^/| /' conftest.
$ac_ext >&5
25400 ac_cv_lib_nsl_gethostbyname
=no
25402 rm -f conftest.err conftest.
$ac_objext \
25403 conftest
$ac_exeext conftest.
$ac_ext
25404 LIBS
=$ac_check_lib_save_LIBS
25406 echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
25407 echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6
25408 if test $ac_cv_lib_nsl_gethostbyname = yes; then
25409 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl"
25412 if test $ac_cv_lib_nsl_gethostbyname = no
; then
25413 echo "$as_me:$LINENO: checking for gethostbyname in -lbsd" >&5
25414 echo $ECHO_N "checking for gethostbyname in -lbsd... $ECHO_C" >&6
25415 if test "${ac_cv_lib_bsd_gethostbyname+set}" = set; then
25416 echo $ECHO_N "(cached) $ECHO_C" >&6
25418 ac_check_lib_save_LIBS
=$LIBS
25420 cat >conftest.
$ac_ext <<_ACEOF
25423 cat confdefs.h
>>conftest.
$ac_ext
25424 cat >>conftest.
$ac_ext <<_ACEOF
25425 /* end confdefs.h. */
25427 /* Override any gcc2 internal prototype to avoid an error. */
25431 /* We use char because int might match the return type of a gcc2
25432 builtin and then its argument prototype would still apply. */
25433 char gethostbyname ();
25442 rm -f conftest.
$ac_objext conftest
$ac_exeext
25443 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25444 (eval $ac_link) 2>conftest.er1
25446 grep -v '^ *+' conftest.er1
>conftest.err
25448 cat conftest.err
>&5
25449 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25450 (exit $ac_status); } &&
25451 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
25452 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25453 (eval $ac_try) 2>&5
25455 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25456 (exit $ac_status); }; } &&
25457 { ac_try
='test -s conftest$ac_exeext'
25458 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25459 (eval $ac_try) 2>&5
25461 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25462 (exit $ac_status); }; }; then
25463 ac_cv_lib_bsd_gethostbyname
=yes
25465 echo "$as_me: failed program was:" >&5
25466 sed 's/^/| /' conftest.
$ac_ext >&5
25468 ac_cv_lib_bsd_gethostbyname
=no
25470 rm -f conftest.err conftest.
$ac_objext \
25471 conftest
$ac_exeext conftest.
$ac_ext
25472 LIBS
=$ac_check_lib_save_LIBS
25474 echo "$as_me:$LINENO: result: $ac_cv_lib_bsd_gethostbyname" >&5
25475 echo "${ECHO_T}$ac_cv_lib_bsd_gethostbyname" >&6
25476 if test $ac_cv_lib_bsd_gethostbyname = yes; then
25477 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lbsd"
25483 # lieder@skyler.mavd.honeywell.com says without -lsocket,
25484 # socket/setsockopt and other routines are undefined under SCO ODT
25485 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
25486 # on later versions), says Simon Leinen: it contains gethostby*
25487 # variants that don't use the name server (or something). -lsocket
25488 # must be given before -lnsl if both are needed. We assume that
25489 # if connect needs -lnsl, so does gethostbyname.
25490 echo "$as_me:$LINENO: checking for connect" >&5
25491 echo $ECHO_N "checking for connect... $ECHO_C" >&6
25492 if test "${ac_cv_func_connect+set}" = set; then
25493 echo $ECHO_N "(cached) $ECHO_C" >&6
25495 cat >conftest.
$ac_ext <<_ACEOF
25498 cat confdefs.h
>>conftest.
$ac_ext
25499 cat >>conftest.
$ac_ext <<_ACEOF
25500 /* end confdefs.h. */
25501 /* Define connect to an innocuous variant, in case <limits.h> declares connect.
25502 For example, HP-UX 11i <limits.h> declares gettimeofday. */
25503 #define connect innocuous_connect
25505 /* System header to define __stub macros and hopefully few prototypes,
25506 which can conflict with char connect (); below.
25507 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25508 <limits.h> exists even on freestanding compilers. */
25511 # include <limits.h>
25513 # include <assert.h>
25518 /* Override any gcc2 internal prototype to avoid an error. */
25523 /* We use char because int might match the return type of a gcc2
25524 builtin and then its argument prototype would still apply. */
25526 /* The GNU C library defines this for functions which it implements
25527 to always fail with ENOSYS. Some functions are actually named
25528 something starting with __ and the normal name is an alias. */
25529 #if defined (__stub_connect) || defined (__stub___connect)
25532 char (*f) () = connect;
25541 return f != connect;
25546 rm -f conftest.
$ac_objext conftest
$ac_exeext
25547 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25548 (eval $ac_link) 2>conftest.er1
25550 grep -v '^ *+' conftest.er1
>conftest.err
25552 cat conftest.err
>&5
25553 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25554 (exit $ac_status); } &&
25555 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
25556 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25557 (eval $ac_try) 2>&5
25559 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25560 (exit $ac_status); }; } &&
25561 { ac_try
='test -s conftest$ac_exeext'
25562 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25563 (eval $ac_try) 2>&5
25565 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25566 (exit $ac_status); }; }; then
25567 ac_cv_func_connect
=yes
25569 echo "$as_me: failed program was:" >&5
25570 sed 's/^/| /' conftest.
$ac_ext >&5
25572 ac_cv_func_connect
=no
25574 rm -f conftest.err conftest.
$ac_objext \
25575 conftest
$ac_exeext conftest.
$ac_ext
25577 echo "$as_me:$LINENO: result: $ac_cv_func_connect" >&5
25578 echo "${ECHO_T}$ac_cv_func_connect" >&6
25580 if test $ac_cv_func_connect = no
; then
25581 echo "$as_me:$LINENO: checking for connect in -lsocket" >&5
25582 echo $ECHO_N "checking for connect in -lsocket... $ECHO_C" >&6
25583 if test "${ac_cv_lib_socket_connect+set}" = set; then
25584 echo $ECHO_N "(cached) $ECHO_C" >&6
25586 ac_check_lib_save_LIBS
=$LIBS
25587 LIBS
="-lsocket $X_EXTRA_LIBS $LIBS"
25588 cat >conftest.
$ac_ext <<_ACEOF
25591 cat confdefs.h
>>conftest.
$ac_ext
25592 cat >>conftest.
$ac_ext <<_ACEOF
25593 /* end confdefs.h. */
25595 /* Override any gcc2 internal prototype to avoid an error. */
25599 /* We use char because int might match the return type of a gcc2
25600 builtin and then its argument prototype would still apply. */
25610 rm -f conftest.
$ac_objext conftest
$ac_exeext
25611 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25612 (eval $ac_link) 2>conftest.er1
25614 grep -v '^ *+' conftest.er1
>conftest.err
25616 cat conftest.err
>&5
25617 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25618 (exit $ac_status); } &&
25619 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
25620 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25621 (eval $ac_try) 2>&5
25623 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25624 (exit $ac_status); }; } &&
25625 { ac_try
='test -s conftest$ac_exeext'
25626 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25627 (eval $ac_try) 2>&5
25629 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25630 (exit $ac_status); }; }; then
25631 ac_cv_lib_socket_connect
=yes
25633 echo "$as_me: failed program was:" >&5
25634 sed 's/^/| /' conftest.
$ac_ext >&5
25636 ac_cv_lib_socket_connect
=no
25638 rm -f conftest.err conftest.
$ac_objext \
25639 conftest
$ac_exeext conftest.
$ac_ext
25640 LIBS
=$ac_check_lib_save_LIBS
25642 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5
25643 echo "${ECHO_T}$ac_cv_lib_socket_connect" >&6
25644 if test $ac_cv_lib_socket_connect = yes; then
25645 X_EXTRA_LIBS
="-lsocket $X_EXTRA_LIBS"
25650 # Guillermo Gomez says -lposix is necessary on A/UX.
25651 echo "$as_me:$LINENO: checking for remove" >&5
25652 echo $ECHO_N "checking for remove... $ECHO_C" >&6
25653 if test "${ac_cv_func_remove+set}" = set; then
25654 echo $ECHO_N "(cached) $ECHO_C" >&6
25656 cat >conftest.
$ac_ext <<_ACEOF
25659 cat confdefs.h
>>conftest.
$ac_ext
25660 cat >>conftest.
$ac_ext <<_ACEOF
25661 /* end confdefs.h. */
25662 /* Define remove to an innocuous variant, in case <limits.h> declares remove.
25663 For example, HP-UX 11i <limits.h> declares gettimeofday. */
25664 #define remove innocuous_remove
25666 /* System header to define __stub macros and hopefully few prototypes,
25667 which can conflict with char remove (); below.
25668 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25669 <limits.h> exists even on freestanding compilers. */
25672 # include <limits.h>
25674 # include <assert.h>
25679 /* Override any gcc2 internal prototype to avoid an error. */
25684 /* We use char because int might match the return type of a gcc2
25685 builtin and then its argument prototype would still apply. */
25687 /* The GNU C library defines this for functions which it implements
25688 to always fail with ENOSYS. Some functions are actually named
25689 something starting with __ and the normal name is an alias. */
25690 #if defined (__stub_remove) || defined (__stub___remove)
25693 char (*f) () = remove;
25702 return f != remove;
25707 rm -f conftest.
$ac_objext conftest
$ac_exeext
25708 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25709 (eval $ac_link) 2>conftest.er1
25711 grep -v '^ *+' conftest.er1
>conftest.err
25713 cat conftest.err
>&5
25714 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25715 (exit $ac_status); } &&
25716 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
25717 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25718 (eval $ac_try) 2>&5
25720 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25721 (exit $ac_status); }; } &&
25722 { ac_try
='test -s conftest$ac_exeext'
25723 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25724 (eval $ac_try) 2>&5
25726 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25727 (exit $ac_status); }; }; then
25728 ac_cv_func_remove
=yes
25730 echo "$as_me: failed program was:" >&5
25731 sed 's/^/| /' conftest.
$ac_ext >&5
25733 ac_cv_func_remove
=no
25735 rm -f conftest.err conftest.
$ac_objext \
25736 conftest
$ac_exeext conftest.
$ac_ext
25738 echo "$as_me:$LINENO: result: $ac_cv_func_remove" >&5
25739 echo "${ECHO_T}$ac_cv_func_remove" >&6
25741 if test $ac_cv_func_remove = no
; then
25742 echo "$as_me:$LINENO: checking for remove in -lposix" >&5
25743 echo $ECHO_N "checking for remove in -lposix... $ECHO_C" >&6
25744 if test "${ac_cv_lib_posix_remove+set}" = set; then
25745 echo $ECHO_N "(cached) $ECHO_C" >&6
25747 ac_check_lib_save_LIBS
=$LIBS
25748 LIBS
="-lposix $LIBS"
25749 cat >conftest.
$ac_ext <<_ACEOF
25752 cat confdefs.h
>>conftest.
$ac_ext
25753 cat >>conftest.
$ac_ext <<_ACEOF
25754 /* end confdefs.h. */
25756 /* Override any gcc2 internal prototype to avoid an error. */
25760 /* We use char because int might match the return type of a gcc2
25761 builtin and then its argument prototype would still apply. */
25771 rm -f conftest.
$ac_objext conftest
$ac_exeext
25772 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25773 (eval $ac_link) 2>conftest.er1
25775 grep -v '^ *+' conftest.er1
>conftest.err
25777 cat conftest.err
>&5
25778 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25779 (exit $ac_status); } &&
25780 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
25781 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25782 (eval $ac_try) 2>&5
25784 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25785 (exit $ac_status); }; } &&
25786 { ac_try
='test -s conftest$ac_exeext'
25787 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25788 (eval $ac_try) 2>&5
25790 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25791 (exit $ac_status); }; }; then
25792 ac_cv_lib_posix_remove
=yes
25794 echo "$as_me: failed program was:" >&5
25795 sed 's/^/| /' conftest.
$ac_ext >&5
25797 ac_cv_lib_posix_remove
=no
25799 rm -f conftest.err conftest.
$ac_objext \
25800 conftest
$ac_exeext conftest.
$ac_ext
25801 LIBS
=$ac_check_lib_save_LIBS
25803 echo "$as_me:$LINENO: result: $ac_cv_lib_posix_remove" >&5
25804 echo "${ECHO_T}$ac_cv_lib_posix_remove" >&6
25805 if test $ac_cv_lib_posix_remove = yes; then
25806 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lposix"
25811 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
25812 echo "$as_me:$LINENO: checking for shmat" >&5
25813 echo $ECHO_N "checking for shmat... $ECHO_C" >&6
25814 if test "${ac_cv_func_shmat+set}" = set; then
25815 echo $ECHO_N "(cached) $ECHO_C" >&6
25817 cat >conftest.
$ac_ext <<_ACEOF
25820 cat confdefs.h
>>conftest.
$ac_ext
25821 cat >>conftest.
$ac_ext <<_ACEOF
25822 /* end confdefs.h. */
25823 /* Define shmat to an innocuous variant, in case <limits.h> declares shmat.
25824 For example, HP-UX 11i <limits.h> declares gettimeofday. */
25825 #define shmat innocuous_shmat
25827 /* System header to define __stub macros and hopefully few prototypes,
25828 which can conflict with char shmat (); below.
25829 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25830 <limits.h> exists even on freestanding compilers. */
25833 # include <limits.h>
25835 # include <assert.h>
25840 /* Override any gcc2 internal prototype to avoid an error. */
25845 /* We use char because int might match the return type of a gcc2
25846 builtin and then its argument prototype would still apply. */
25848 /* The GNU C library defines this for functions which it implements
25849 to always fail with ENOSYS. Some functions are actually named
25850 something starting with __ and the normal name is an alias. */
25851 #if defined (__stub_shmat) || defined (__stub___shmat)
25854 char (*f) () = shmat;
25868 rm -f conftest.
$ac_objext conftest
$ac_exeext
25869 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25870 (eval $ac_link) 2>conftest.er1
25872 grep -v '^ *+' conftest.er1
>conftest.err
25874 cat conftest.err
>&5
25875 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25876 (exit $ac_status); } &&
25877 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
25878 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25879 (eval $ac_try) 2>&5
25881 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25882 (exit $ac_status); }; } &&
25883 { ac_try
='test -s conftest$ac_exeext'
25884 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25885 (eval $ac_try) 2>&5
25887 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25888 (exit $ac_status); }; }; then
25889 ac_cv_func_shmat
=yes
25891 echo "$as_me: failed program was:" >&5
25892 sed 's/^/| /' conftest.
$ac_ext >&5
25894 ac_cv_func_shmat
=no
25896 rm -f conftest.err conftest.
$ac_objext \
25897 conftest
$ac_exeext conftest.
$ac_ext
25899 echo "$as_me:$LINENO: result: $ac_cv_func_shmat" >&5
25900 echo "${ECHO_T}$ac_cv_func_shmat" >&6
25902 if test $ac_cv_func_shmat = no
; then
25903 echo "$as_me:$LINENO: checking for shmat in -lipc" >&5
25904 echo $ECHO_N "checking for shmat in -lipc... $ECHO_C" >&6
25905 if test "${ac_cv_lib_ipc_shmat+set}" = set; then
25906 echo $ECHO_N "(cached) $ECHO_C" >&6
25908 ac_check_lib_save_LIBS
=$LIBS
25910 cat >conftest.
$ac_ext <<_ACEOF
25913 cat confdefs.h
>>conftest.
$ac_ext
25914 cat >>conftest.
$ac_ext <<_ACEOF
25915 /* end confdefs.h. */
25917 /* Override any gcc2 internal prototype to avoid an error. */
25921 /* We use char because int might match the return type of a gcc2
25922 builtin and then its argument prototype would still apply. */
25932 rm -f conftest.
$ac_objext conftest
$ac_exeext
25933 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25934 (eval $ac_link) 2>conftest.er1
25936 grep -v '^ *+' conftest.er1
>conftest.err
25938 cat conftest.err
>&5
25939 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25940 (exit $ac_status); } &&
25941 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
25942 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25943 (eval $ac_try) 2>&5
25945 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25946 (exit $ac_status); }; } &&
25947 { ac_try
='test -s conftest$ac_exeext'
25948 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25949 (eval $ac_try) 2>&5
25951 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25952 (exit $ac_status); }; }; then
25953 ac_cv_lib_ipc_shmat
=yes
25955 echo "$as_me: failed program was:" >&5
25956 sed 's/^/| /' conftest.
$ac_ext >&5
25958 ac_cv_lib_ipc_shmat
=no
25960 rm -f conftest.err conftest.
$ac_objext \
25961 conftest
$ac_exeext conftest.
$ac_ext
25962 LIBS
=$ac_check_lib_save_LIBS
25964 echo "$as_me:$LINENO: result: $ac_cv_lib_ipc_shmat" >&5
25965 echo "${ECHO_T}$ac_cv_lib_ipc_shmat" >&6
25966 if test $ac_cv_lib_ipc_shmat = yes; then
25967 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lipc"
25973 # Check for libraries that X11R6 Xt/Xaw programs need.
25974 ac_save_LDFLAGS
=$LDFLAGS
25975 test -n "$x_libraries" && LDFLAGS
="$LDFLAGS -L$x_libraries"
25976 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
25977 # check for ICE first), but we must link in the order -lSM -lICE or
25978 # we get undefined symbols. So assume we have SM if we have ICE.
25979 # These have to be linked with before -lX11, unlike the other
25980 # libraries we check for below, so use a different variable.
25981 # John Interrante, Karl Berry
25982 echo "$as_me:$LINENO: checking for IceConnectionNumber in -lICE" >&5
25983 echo $ECHO_N "checking for IceConnectionNumber in -lICE... $ECHO_C" >&6
25984 if test "${ac_cv_lib_ICE_IceConnectionNumber+set}" = set; then
25985 echo $ECHO_N "(cached) $ECHO_C" >&6
25987 ac_check_lib_save_LIBS
=$LIBS
25988 LIBS
="-lICE $X_EXTRA_LIBS $LIBS"
25989 cat >conftest.
$ac_ext <<_ACEOF
25992 cat confdefs.h
>>conftest.
$ac_ext
25993 cat >>conftest.
$ac_ext <<_ACEOF
25994 /* end confdefs.h. */
25996 /* Override any gcc2 internal prototype to avoid an error. */
26000 /* We use char because int might match the return type of a gcc2
26001 builtin and then its argument prototype would still apply. */
26002 char IceConnectionNumber ();
26006 IceConnectionNumber ();
26011 rm -f conftest.
$ac_objext conftest
$ac_exeext
26012 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26013 (eval $ac_link) 2>conftest.er1
26015 grep -v '^ *+' conftest.er1
>conftest.err
26017 cat conftest.err
>&5
26018 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26019 (exit $ac_status); } &&
26020 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
26021 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26022 (eval $ac_try) 2>&5
26024 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26025 (exit $ac_status); }; } &&
26026 { ac_try
='test -s conftest$ac_exeext'
26027 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26028 (eval $ac_try) 2>&5
26030 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26031 (exit $ac_status); }; }; then
26032 ac_cv_lib_ICE_IceConnectionNumber
=yes
26034 echo "$as_me: failed program was:" >&5
26035 sed 's/^/| /' conftest.
$ac_ext >&5
26037 ac_cv_lib_ICE_IceConnectionNumber
=no
26039 rm -f conftest.err conftest.
$ac_objext \
26040 conftest
$ac_exeext conftest.
$ac_ext
26041 LIBS
=$ac_check_lib_save_LIBS
26043 echo "$as_me:$LINENO: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
26044 echo "${ECHO_T}$ac_cv_lib_ICE_IceConnectionNumber" >&6
26045 if test $ac_cv_lib_ICE_IceConnectionNumber = yes; then
26046 X_PRE_LIBS
="$X_PRE_LIBS -lSM -lICE"
26049 LDFLAGS
=$ac_save_LDFLAGS
26054 if test "$no_x" = "yes"; then
26055 { { echo "$as_me:$LINENO: error: X11 not found" >&5
26056 echo "$as_me: error: X11 not found" >&2;}
26057 { (exit please use
--x-includes and
/or
--x-libraries options
); exit please use
--x-includes and
/or
--x-libraries options
; }; }
26060 GUI_TK_LIBRARY
=`echo $X_LIBS | sed 's/ -LNONE//'`
26061 TOOLKIT_INCLUDE
=`echo $X_CFLAGS | sed 's/ -INONE//'`
26062 AFMINSTALL
=afminstall
26063 COMPILED_X_PROGRAM
=0
26065 echo "$as_me:$LINENO: checking for Motif/Lesstif headers" >&5
26066 echo $ECHO_N "checking for Motif/Lesstif headers... $ECHO_C" >&6
26069 for ac_dir
in $SEARCH_INCLUDE /usr
/include
;
26071 if test -f "$ac_dir/Xm/Xm.h"; then
26072 ac_find_includes
=$ac_dir
26077 if test "$ac_find_includes" != "" ; then
26078 echo "$as_me:$LINENO: result: found in $ac_find_includes" >&5
26079 echo "${ECHO_T}found in $ac_find_includes" >&6
26081 if test "x$ac_find_includes" = "x/usr/include"; then
26082 ac_path_to_include
=""
26084 echo "$TOOLKIT_INCLUDE" | grep "\-I$ac_find_includes" > /dev
/null
26086 if test $result = 0; then
26087 ac_path_to_include
=""
26089 ac_path_to_include
=" -I$ac_find_includes"
26093 TOOLKIT_INCLUDE
="$TOOLKIT_INCLUDE$ac_path_to_include"
26095 cat >conftest.
$ac_ext <<_ACEOF
26098 cat confdefs.h
>>conftest.
$ac_ext
26099 cat >>conftest.
$ac_ext <<_ACEOF
26100 /* end confdefs.h. */
26109 version = xmUseVersion;
26115 rm -f conftest.
$ac_objext
26116 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26117 (eval $ac_compile) 2>conftest.er1
26119 grep -v '^ *+' conftest.er1
>conftest.err
26121 cat conftest.err
>&5
26122 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26123 (exit $ac_status); } &&
26124 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
26125 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26126 (eval $ac_try) 2>&5
26128 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26129 (exit $ac_status); }; } &&
26130 { ac_try
='test -s conftest.$ac_objext'
26131 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26132 (eval $ac_try) 2>&5
26134 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26135 (exit $ac_status); }; }; then
26137 echo "$as_me:$LINENO: result: found in default search path" >&5
26138 echo "${ECHO_T}found in default search path" >&6
26139 COMPILED_X_PROGRAM
=1
26142 echo "$as_me: failed program was:" >&5
26143 sed 's/^/| /' conftest.
$ac_ext >&5
26146 echo "$as_me:$LINENO: result: no" >&5
26147 echo "${ECHO_T}no" >&6
26148 { { echo "$as_me:$LINENO: error: please set CFLAGS to contain the location of Xm/Xm.h" >&5
26149 echo "$as_me: error: please set CFLAGS to contain the location of Xm/Xm.h" >&2;}
26150 { (exit 1); exit 1; }; }
26154 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
26157 if test "$COMPILED_X_PROGRAM" = 0; then
26158 echo "$as_me:$LINENO: checking for Motif/Lesstif library" >&5
26159 echo $ECHO_N "checking for Motif/Lesstif library... $ECHO_C" >&6
26162 for ac_dir
in $SEARCH_LIB /usr
/lib
;
26164 for ac_extension
in a so sl dylib
; do
26165 if test -f "$ac_dir/libXm.$ac_extension"; then
26166 ac_find_libraries
=$ac_dir
26172 if test "$ac_find_libraries" != "" ; then
26173 echo "$as_me:$LINENO: result: found at $ac_find_libraries" >&5
26174 echo "${ECHO_T}found at $ac_find_libraries" >&6
26177 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev
/null
26179 if test $result = 0; then
26182 ac_path_to_link
=" -L$ac_find_libraries"
26185 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY$ac_path_to_link"
26187 save_CFLAGS
=$CFLAGS
26188 CFLAGS
="$CFLAGS $TOOLKIT_INCLUDE"
26190 cat >conftest.
$ac_ext <<_ACEOF
26193 cat confdefs.h
>>conftest.
$ac_ext
26194 cat >>conftest.
$ac_ext <<_ACEOF
26195 /* end confdefs.h. */
26204 version = xmUseVersion;
26210 rm -f conftest.
$ac_objext
26211 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26212 (eval $ac_compile) 2>conftest.er1
26214 grep -v '^ *+' conftest.er1
>conftest.err
26216 cat conftest.err
>&5
26217 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26218 (exit $ac_status); } &&
26219 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
26220 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26221 (eval $ac_try) 2>&5
26223 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26224 (exit $ac_status); }; } &&
26225 { ac_try
='test -s conftest.$ac_objext'
26226 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26227 (eval $ac_try) 2>&5
26229 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26230 (exit $ac_status); }; }; then
26232 echo "$as_me:$LINENO: result: found in default search path" >&5
26233 echo "${ECHO_T}found in default search path" >&6
26234 COMPILED_X_PROGRAM
=1
26237 echo "$as_me: failed program was:" >&5
26238 sed 's/^/| /' conftest.
$ac_ext >&5
26241 echo "$as_me:$LINENO: result: no" >&5
26242 echo "${ECHO_T}no" >&6
26243 { { echo "$as_me:$LINENO: error: please set LDFLAGS to contain the location of libXm" >&5
26244 echo "$as_me: error: please set LDFLAGS to contain the location of libXm" >&2;}
26245 { (exit 1); exit 1; }; }
26249 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
26251 CFLAGS
=$save_CFLAGS
26255 echo "$as_me:$LINENO: checking if we need -lXp and/or -lSM -lICE" >&5
26256 echo $ECHO_N "checking if we need -lXp and/or -lSM -lICE... $ECHO_C" >&6
26260 for libp
in "" " -lXp"; do
26261 if test "$libs_found" = "0"; then
26262 for libsm_ice
in "" " -lSM -lICE"; do
26263 if test "$libs_found" = "0"; then
26265 LIBS
="$GUI_TK_LIBRARY -lXm ${libp} -lXmu -lXext -lXt${libsm_ice} -lX11"
26266 save_CFLAGS
=$CFLAGS
26267 CFLAGS
="$CFLAGS $TOOLKIT_INCLUDE"
26269 cat >conftest.
$ac_ext <<_ACEOF
26272 cat confdefs.h
>>conftest.
$ac_ext
26273 cat >>conftest.
$ac_ext <<_ACEOF
26274 /* end confdefs.h. */
26277 #include <Xm/List.h>
26283 XmString string = NULL;
26286 XmListAddItem(w, string, position);
26292 rm -f conftest.
$ac_objext conftest
$ac_exeext
26293 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26294 (eval $ac_link) 2>conftest.er1
26296 grep -v '^ *+' conftest.er1
>conftest.err
26298 cat conftest.err
>&5
26299 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26300 (exit $ac_status); } &&
26301 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
26302 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26303 (eval $ac_try) 2>&5
26305 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26306 (exit $ac_status); }; } &&
26307 { ac_try
='test -s conftest$ac_exeext'
26308 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26309 (eval $ac_try) 2>&5
26311 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26312 (exit $ac_status); }; }; then
26315 libsm_ice_link
="$libsm_ice"
26316 echo "$as_me:$LINENO: result: need${libp_link}${libsm_ice_link}" >&5
26317 echo "${ECHO_T}need${libp_link}${libsm_ice_link}" >&6
26321 echo "$as_me: failed program was:" >&5
26322 sed 's/^/| /' conftest.
$ac_ext >&5
26327 rm -f conftest.err conftest.
$ac_objext \
26328 conftest
$ac_exeext conftest.
$ac_ext
26331 CFLAGS
=$save_CFLAGS
26337 if test "$libs_found" = "0"; then
26338 echo "$as_me:$LINENO: result: can't find the right libraries" >&5
26339 echo "${ECHO_T}can't find the right libraries" >&6
26340 { { echo "$as_me:$LINENO: error: can't link a simple motif program" >&5
26341 echo "$as_me: error: can't link a simple motif program" >&2;}
26342 { (exit 1); exit 1; }; }
26345 save_CFLAGS
=$CFLAGS
26346 CFLAGS
="$CFLAGS $TOOLKIT_INCLUDE"
26347 echo "$as_me:$LINENO: checking for Motif 2" >&5
26348 echo $ECHO_N "checking for Motif 2... $ECHO_C" >&6
26349 cat >conftest.
$ac_ext <<_ACEOF
26352 cat confdefs.h
>>conftest.
$ac_ext
26353 cat >>conftest.
$ac_ext <<_ACEOF
26354 /* end confdefs.h. */
26362 #if XmVersion < 2000
26363 #error "Not Motif 2"
26370 rm -f conftest.
$ac_objext
26371 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26372 (eval $ac_compile) 2>conftest.er1
26374 grep -v '^ *+' conftest.er1
>conftest.err
26376 cat conftest.err
>&5
26377 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26378 (exit $ac_status); } &&
26379 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
26380 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26381 (eval $ac_try) 2>&5
26383 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26384 (exit $ac_status); }; } &&
26385 { ac_try
='test -s conftest.$ac_objext'
26386 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26387 (eval $ac_try) 2>&5
26389 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26390 (exit $ac_status); }; }; then
26392 cat >>confdefs.h
<<\_ACEOF
26393 #define __WXMOTIF20__ 1
26396 echo "$as_me:$LINENO: result: found" >&5
26397 echo "${ECHO_T}found" >&6
26400 echo "$as_me: failed program was:" >&5
26401 sed 's/^/| /' conftest.
$ac_ext >&5
26404 cat >>confdefs.h
<<\_ACEOF
26405 #define __WXMOTIF20__ 0
26408 echo "$as_me:$LINENO: result: not found" >&5
26409 echo "${ECHO_T}not found" >&6
26412 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
26413 CFLAGS
=$save_CFLAGS
26415 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lXm${libp_link} -lXmu -lXext -lXt${libsm_ice_link} -lX11"
26416 TOOLKIT_VPATH
="\${top_srcdir}/src/motif${PATH_IFS}\${top_srcdir}/src/motif/xmcombo${PATH_IFS}\${top_srcdir}/src/x11"
26421 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
26422 if test "$wxUSE_LIBXPM" = "sys"; then
26423 echo "$as_me:$LINENO: checking for Xpm library" >&5
26424 echo $ECHO_N "checking for Xpm library... $ECHO_C" >&6
26427 for ac_dir
in $SEARCH_LIB /usr
/lib
;
26429 for ac_extension
in a so sl dylib
; do
26430 if test -f "$ac_dir/libXpm.$ac_extension"; then
26431 ac_find_libraries
=$ac_dir
26437 if test "$ac_find_libraries" != "" ; then
26439 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev
/null
26441 if test $result = 0; then
26444 ac_path_to_link
=" -L$ac_find_libraries"
26447 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY$ac_path_to_link"
26448 echo "$as_me:$LINENO: result: found at $ac_find_libraries" >&5
26449 echo "${ECHO_T}found at $ac_find_libraries" >&6
26451 echo "$as_me:$LINENO: checking for X11/xpm.h" >&5
26452 echo $ECHO_N "checking for X11/xpm.h... $ECHO_C" >&6
26453 if test "${wx_cv_x11_xpm_h+set}" = set; then
26454 echo $ECHO_N "(cached) $ECHO_C" >&6
26457 save_CFLAGS
=$CFLAGS
26458 CFLAGS
="$CFLAGS $TOOLKIT_INCLUDE"
26460 cat >conftest.
$ac_ext <<_ACEOF
26463 cat confdefs.h
>>conftest.
$ac_ext
26464 cat >>conftest.
$ac_ext <<_ACEOF
26465 /* end confdefs.h. */
26467 #include <X11/xpm.h>
26474 version = XpmLibraryVersion();
26480 rm -f conftest.
$ac_objext
26481 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26482 (eval $ac_compile) 2>conftest.er1
26484 grep -v '^ *+' conftest.er1
>conftest.err
26486 cat conftest.err
>&5
26487 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26488 (exit $ac_status); } &&
26489 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
26490 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26491 (eval $ac_try) 2>&5
26493 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26494 (exit $ac_status); }; } &&
26495 { ac_try
='test -s conftest.$ac_objext'
26496 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26497 (eval $ac_try) 2>&5
26499 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26500 (exit $ac_status); }; }; then
26501 wx_cv_x11_xpm_h
=yes
26503 echo "$as_me: failed program was:" >&5
26504 sed 's/^/| /' conftest.
$ac_ext >&5
26509 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
26511 CFLAGS
=$save_CFLAGS
26515 echo "$as_me:$LINENO: result: $wx_cv_x11_xpm_h" >&5
26516 echo "${ECHO_T}$wx_cv_x11_xpm_h" >&6
26518 if test $wx_cv_x11_xpm_h = "yes"; then
26519 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lXpm"
26520 cat >>confdefs.h
<<\_ACEOF
26521 #define wxHAVE_LIB_XPM 1
26525 { echo "$as_me:$LINENO: WARNING: built-in less efficient XPM decoder will be used" >&5
26526 echo "$as_me: WARNING: built-in less efficient XPM decoder will be used" >&2;}
26532 echo "$as_me:$LINENO: checking for XShapeQueryExtension in -lXext" >&5
26533 echo $ECHO_N "checking for XShapeQueryExtension in -lXext... $ECHO_C" >&6
26534 if test "${ac_cv_lib_Xext_XShapeQueryExtension+set}" = set; then
26535 echo $ECHO_N "(cached) $ECHO_C" >&6
26537 ac_check_lib_save_LIBS
=$LIBS
26538 LIBS
="-lXext $GUI_TK_LIBRARY -lX11 $LIBS"
26539 cat >conftest.
$ac_ext <<_ACEOF
26542 cat confdefs.h
>>conftest.
$ac_ext
26543 cat >>conftest.
$ac_ext <<_ACEOF
26544 /* end confdefs.h. */
26546 /* Override any gcc2 internal prototype to avoid an error. */
26550 /* We use char because int might match the return type of a gcc2
26551 builtin and then its argument prototype would still apply. */
26552 char XShapeQueryExtension ();
26556 XShapeQueryExtension ();
26561 rm -f conftest.
$ac_objext conftest
$ac_exeext
26562 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26563 (eval $ac_link) 2>conftest.er1
26565 grep -v '^ *+' conftest.er1
>conftest.err
26567 cat conftest.err
>&5
26568 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26569 (exit $ac_status); } &&
26570 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
26571 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26572 (eval $ac_try) 2>&5
26574 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26575 (exit $ac_status); }; } &&
26576 { ac_try
='test -s conftest$ac_exeext'
26577 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26578 (eval $ac_try) 2>&5
26580 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26581 (exit $ac_status); }; }; then
26582 ac_cv_lib_Xext_XShapeQueryExtension
=yes
26584 echo "$as_me: failed program was:" >&5
26585 sed 's/^/| /' conftest.
$ac_ext >&5
26587 ac_cv_lib_Xext_XShapeQueryExtension
=no
26589 rm -f conftest.err conftest.
$ac_objext \
26590 conftest
$ac_exeext conftest.
$ac_ext
26591 LIBS
=$ac_check_lib_save_LIBS
26593 echo "$as_me:$LINENO: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
26594 echo "${ECHO_T}$ac_cv_lib_Xext_XShapeQueryExtension" >&6
26595 if test $ac_cv_lib_Xext_XShapeQueryExtension = yes; then
26597 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lXext"
26603 if test "$wxHAVE_XEXT_LIB" = 1; then
26604 save_CFLAGS
="$CFLAGS"
26605 CFLAGS
="$CFLAGS $TOOLKIT_INCLUDE"
26607 echo "$as_me:$LINENO: checking for X11/extensions/shape.h" >&5
26608 echo $ECHO_N "checking for X11/extensions/shape.h... $ECHO_C" >&6
26609 cat >conftest.
$ac_ext <<_ACEOF
26612 cat confdefs.h
>>conftest.
$ac_ext
26613 cat >>conftest.
$ac_ext <<_ACEOF
26614 /* end confdefs.h. */
26616 #include <X11/Xlib.h>
26617 #include <X11/extensions/shape.h>
26623 int dummy1, dummy2;
26624 XShapeQueryExtension((Display*)NULL,
26625 (int*)NULL, (int*)NULL);
26631 rm -f conftest.
$ac_objext
26632 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26633 (eval $ac_compile) 2>conftest.er1
26635 grep -v '^ *+' conftest.er1
>conftest.err
26637 cat conftest.err
>&5
26638 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26639 (exit $ac_status); } &&
26640 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
26641 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26642 (eval $ac_try) 2>&5
26644 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26645 (exit $ac_status); }; } &&
26646 { ac_try
='test -s conftest.$ac_objext'
26647 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26648 (eval $ac_try) 2>&5
26650 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26651 (exit $ac_status); }; }; then
26653 cat >>confdefs.h
<<\_ACEOF
26654 #define HAVE_XSHAPE 1
26657 echo "$as_me:$LINENO: result: found" >&5
26658 echo "${ECHO_T}found" >&6
26661 echo "$as_me: failed program was:" >&5
26662 sed 's/^/| /' conftest.
$ac_ext >&5
26665 echo "$as_me:$LINENO: result: not found" >&5
26666 echo "${ECHO_T}not found" >&6
26669 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
26670 CFLAGS
="$save_CFLAGS"
26675 if test "$wxUSE_MAC" = 1; then
26676 echo "$as_me:$LINENO: checking for compiler syntax to enable Pascal strings" >&5
26677 echo $ECHO_N "checking for compiler syntax to enable Pascal strings... $ECHO_C" >&6
26678 if test "$GCC" = yes; then
26679 echo "$as_me:$LINENO: result: gcc" >&5
26680 echo "${ECHO_T}gcc" >&6
26681 CPPFLAGS_PASCAL
="-fpascal-strings"
26682 elif test "`echo $CXX | sed -e 's@.*/@@'`" = "xlC"; then
26683 echo "$as_me:$LINENO: result: xlc" >&5
26684 echo "${ECHO_T}xlc" >&6
26685 CPPFLAGS_PASCAL
="-qmacpstr"
26687 echo "$as_me:$LINENO: result: none" >&5
26688 echo "${ECHO_T}none" >&6
26691 CPPFLAGS
="$CPPFLAGS $CPPFLAGS_PASCAL -I\${top_srcdir}/src/mac/carbon/morefilex -I/Developer/Headers/FlatCarbon"
26693 TOOLKIT_VPATH
="\${top_srcdir}/src/mac/carbon${PATH_IFS}\${top_srcdir}/src/mac/carbon/morefilex"
26696 WXBASEPORT
="_carbon"
26699 if test "$wxUSE_COCOA" = 1; then
26700 TOOLKIT_VPATH
="\${top_srcdir}/src/cocoa"
26705 if test "$wxUSE_PM" = 1; then
26710 if test "$TOOLKIT" = "PM" ; then
26713 TOOLKIT_DIR
=`echo ${TOOLKIT} | tr "[A-Z]" "[a-z]"`
26716 PORT_FILES
="\${top_srcdir}/src/\$(TOOLKITDIR)/files.lst"
26718 if test "$wxUSE_UNIVERSAL" = "yes"; then
26719 ALL_OBJECTS
="\$(GUI_LOWLEVEL_OBJS) \${UNIVOBJS}"
26721 ALL_SOURCES
="\$(ALL_SOURCES) \${UNIV_SOURCES}"
26722 ALL_HEADERS
="\$(ALL_HEADERS) \${UNIV_HEADERS}"
26724 PORT_FILES
="${PORT_FILES} \${top_srcdir}/src/univ/files.lst"
26725 if test "$wxUSE_X11" = 1; then
26726 TOOLKIT_VPATH
="\${top_srcdir}/src/${TOOLKIT_DIR}${PATH_IFS}\${top_srcdir}/src/univ${PATH_IFS}\${top_srcdir}/src/univ/themes"
26728 TOOLKIT_VPATH
="\${top_srcdir}/src/univ${PATH_IFS}\${top_srcdir}/src/univ/themes${PATH_IFS}\${top_srcdir}/src/${TOOLKIT_DIR}"
26730 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -D__WXUNIVERSAL__"
26733 ALL_OBJECTS
="\$(GUIOBJS)"
26734 ALL_SOURCES
="\$(ALL_SOURCES)"
26735 ALL_HEADERS
="\$(ALL_HEADERS)"
26738 ALL_OBJECTS
="${ALL_OBJECTS} \$(COMMONOBJS) \$(GENERICOBJS)"
26740 if test "$TOOLKIT" != "MSW" -a "$USE_DOS" != 1; then
26741 ALL_OBJECTS
="${ALL_OBJECTS} \$(UNIXOBJS)"
26744 if test "$wxUSE_HTML" = "yes"; then
26745 ALL_OBJECTS
="${ALL_OBJECTS} \$(HTMLOBJS)"
26748 if test "$wxUSE_LIBJPEG" = "builtin" ; then
26749 ALL_OBJECTS
="${ALL_OBJECTS} \$(JPEGOBJS)"
26751 if test "$wxUSE_LIBTIFF" = "builtin" ; then
26752 ALL_OBJECTS
="${ALL_OBJECTS} \$(TIFFOBJS)"
26754 if test "$wxUSE_LIBPNG" = "builtin" ; then
26755 ALL_OBJECTS
="${ALL_OBJECTS} \$(PNGOBJS)"
26758 GUIDIST
="${GUIDIST} SAMPLES_DIST DEMOS_DIST UTILS_DIST MISC_DIST"
26759 DISTDIR
="wx\$(TOOLKIT)"
26765 if test "$USE_WIN32" = 1 ; then
26766 ALL_OBJECTS
="\${BASE_OBJS} \${BASE_MSW_OBJS}"
26767 TOOLKIT_VPATH
="\${top_srcdir}/src/msw"
26771 ALL_OBJECTS
="\${BASE_OBJS} \${BASE_UNIX_OBJS}"
26772 TOOLKIT_VPATH
="\${top_srcdir}/src/unix"
26775 ALL_SOURCES
="\$(ALL_SOURCES)"
26776 ALL_HEADERS
="\$(ALL_HEADERS)"
26778 PORT_FILES
="\${top_srcdir}/src/files.lst"
26780 GUIDIST
="BASE_DIST"
26790 if test "$TOOLKIT" != "MSW" ; then
26792 if test "$wxUSE_ODBC" = "sys" -o "$wxUSE_ODBC" = "yes" ; then
26794 if test "${ac_cv_header_sql_h+set}" = set; then
26795 echo "$as_me:$LINENO: checking for sql.h" >&5
26796 echo $ECHO_N "checking for sql.h... $ECHO_C" >&6
26797 if test "${ac_cv_header_sql_h+set}" = set; then
26798 echo $ECHO_N "(cached) $ECHO_C" >&6
26800 echo "$as_me:$LINENO: result: $ac_cv_header_sql_h" >&5
26801 echo "${ECHO_T}$ac_cv_header_sql_h" >&6
26803 # Is the header compilable?
26804 echo "$as_me:$LINENO: checking sql.h usability" >&5
26805 echo $ECHO_N "checking sql.h usability... $ECHO_C" >&6
26806 cat >conftest.
$ac_ext <<_ACEOF
26809 cat confdefs.h
>>conftest.
$ac_ext
26810 cat >>conftest.
$ac_ext <<_ACEOF
26811 /* end confdefs.h. */
26812 $ac_includes_default
26815 rm -f conftest.
$ac_objext
26816 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26817 (eval $ac_compile) 2>conftest.er1
26819 grep -v '^ *+' conftest.er1
>conftest.err
26821 cat conftest.err
>&5
26822 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26823 (exit $ac_status); } &&
26824 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
26825 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26826 (eval $ac_try) 2>&5
26828 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26829 (exit $ac_status); }; } &&
26830 { ac_try
='test -s conftest.$ac_objext'
26831 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26832 (eval $ac_try) 2>&5
26834 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26835 (exit $ac_status); }; }; then
26836 ac_header_compiler
=yes
26838 echo "$as_me: failed program was:" >&5
26839 sed 's/^/| /' conftest.
$ac_ext >&5
26841 ac_header_compiler
=no
26843 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
26844 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
26845 echo "${ECHO_T}$ac_header_compiler" >&6
26847 # Is the header present?
26848 echo "$as_me:$LINENO: checking sql.h presence" >&5
26849 echo $ECHO_N "checking sql.h presence... $ECHO_C" >&6
26850 cat >conftest.
$ac_ext <<_ACEOF
26853 cat confdefs.h
>>conftest.
$ac_ext
26854 cat >>conftest.
$ac_ext <<_ACEOF
26855 /* end confdefs.h. */
26858 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
26859 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
26861 grep -v '^ *+' conftest.er1
>conftest.err
26863 cat conftest.err
>&5
26864 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26865 (exit $ac_status); } >/dev
/null
; then
26866 if test -s conftest.err
; then
26867 ac_cpp_err
=$ac_c_preproc_warn_flag
26868 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
26875 if test -z "$ac_cpp_err"; then
26876 ac_header_preproc
=yes
26878 echo "$as_me: failed program was:" >&5
26879 sed 's/^/| /' conftest.
$ac_ext >&5
26881 ac_header_preproc
=no
26883 rm -f conftest.err conftest.
$ac_ext
26884 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
26885 echo "${ECHO_T}$ac_header_preproc" >&6
26887 # So? What about this header?
26888 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
26890 { echo "$as_me:$LINENO: WARNING: sql.h: accepted by the compiler, rejected by the preprocessor!" >&5
26891 echo "$as_me: WARNING: sql.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
26892 { echo "$as_me:$LINENO: WARNING: sql.h: proceeding with the compiler's result" >&5
26893 echo "$as_me: WARNING: sql.h: proceeding with the compiler's result" >&2;}
26894 ac_header_preproc
=yes
26897 { echo "$as_me:$LINENO: WARNING: sql.h: present but cannot be compiled" >&5
26898 echo "$as_me: WARNING: sql.h: present but cannot be compiled" >&2;}
26899 { echo "$as_me:$LINENO: WARNING: sql.h: check for missing prerequisite headers?" >&5
26900 echo "$as_me: WARNING: sql.h: check for missing prerequisite headers?" >&2;}
26901 { echo "$as_me:$LINENO: WARNING: sql.h: see the Autoconf documentation" >&5
26902 echo "$as_me: WARNING: sql.h: see the Autoconf documentation" >&2;}
26903 { echo "$as_me:$LINENO: WARNING: sql.h: section \"Present But Cannot Be Compiled\"" >&5
26904 echo "$as_me: WARNING: sql.h: section \"Present But Cannot Be Compiled\"" >&2;}
26905 { echo "$as_me:$LINENO: WARNING: sql.h: proceeding with the preprocessor's result" >&5
26906 echo "$as_me: WARNING: sql.h: proceeding with the preprocessor's result" >&2;}
26907 { echo "$as_me:$LINENO: WARNING: sql.h: in the future, the compiler will take precedence" >&5
26908 echo "$as_me: WARNING: sql.h: in the future, the compiler will take precedence" >&2;}
26911 ## ----------------------------------------- ##
26912 ## Report this to wx-dev@lists.wxwindows.org ##
26913 ## ----------------------------------------- ##
26916 sed "s/^/$as_me: WARNING: /" >&2
26919 echo "$as_me:$LINENO: checking for sql.h" >&5
26920 echo $ECHO_N "checking for sql.h... $ECHO_C" >&6
26921 if test "${ac_cv_header_sql_h+set}" = set; then
26922 echo $ECHO_N "(cached) $ECHO_C" >&6
26924 ac_cv_header_sql_h
=$ac_header_preproc
26926 echo "$as_me:$LINENO: result: $ac_cv_header_sql_h" >&5
26927 echo "${ECHO_T}$ac_cv_header_sql_h" >&6
26930 if test $ac_cv_header_sql_h = yes; then
26935 if test "x$found_sql_h" = "x1" ; then
26936 echo "$as_me:$LINENO: checking for SQLAllocEnv in -liodbc" >&5
26937 echo $ECHO_N "checking for SQLAllocEnv in -liodbc... $ECHO_C" >&6
26938 if test "${ac_cv_lib_iodbc_SQLAllocEnv+set}" = set; then
26939 echo $ECHO_N "(cached) $ECHO_C" >&6
26941 ac_check_lib_save_LIBS
=$LIBS
26942 LIBS
="-liodbc $LIBS"
26943 cat >conftest.
$ac_ext <<_ACEOF
26946 cat confdefs.h
>>conftest.
$ac_ext
26947 cat >>conftest.
$ac_ext <<_ACEOF
26948 /* end confdefs.h. */
26950 /* Override any gcc2 internal prototype to avoid an error. */
26954 /* We use char because int might match the return type of a gcc2
26955 builtin and then its argument prototype would still apply. */
26956 char SQLAllocEnv ();
26965 rm -f conftest.
$ac_objext conftest
$ac_exeext
26966 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26967 (eval $ac_link) 2>conftest.er1
26969 grep -v '^ *+' conftest.er1
>conftest.err
26971 cat conftest.err
>&5
26972 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26973 (exit $ac_status); } &&
26974 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
26975 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26976 (eval $ac_try) 2>&5
26978 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26979 (exit $ac_status); }; } &&
26980 { ac_try
='test -s conftest$ac_exeext'
26981 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26982 (eval $ac_try) 2>&5
26984 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26985 (exit $ac_status); }; }; then
26986 ac_cv_lib_iodbc_SQLAllocEnv
=yes
26988 echo "$as_me: failed program was:" >&5
26989 sed 's/^/| /' conftest.
$ac_ext >&5
26991 ac_cv_lib_iodbc_SQLAllocEnv
=no
26993 rm -f conftest.err conftest.
$ac_objext \
26994 conftest
$ac_exeext conftest.
$ac_ext
26995 LIBS
=$ac_check_lib_save_LIBS
26997 echo "$as_me:$LINENO: result: $ac_cv_lib_iodbc_SQLAllocEnv" >&5
26998 echo "${ECHO_T}$ac_cv_lib_iodbc_SQLAllocEnv" >&6
26999 if test $ac_cv_lib_iodbc_SQLAllocEnv = yes; then
27000 ODBC_LINK
=" -liodbc"
27003 echo "$as_me:$LINENO: checking for SQLAllocEnv in -lunixodbc" >&5
27004 echo $ECHO_N "checking for SQLAllocEnv in -lunixodbc... $ECHO_C" >&6
27005 if test "${ac_cv_lib_unixodbc_SQLAllocEnv+set}" = set; then
27006 echo $ECHO_N "(cached) $ECHO_C" >&6
27008 ac_check_lib_save_LIBS
=$LIBS
27009 LIBS
="-lunixodbc $LIBS"
27010 cat >conftest.
$ac_ext <<_ACEOF
27013 cat confdefs.h
>>conftest.
$ac_ext
27014 cat >>conftest.
$ac_ext <<_ACEOF
27015 /* end confdefs.h. */
27017 /* Override any gcc2 internal prototype to avoid an error. */
27021 /* We use char because int might match the return type of a gcc2
27022 builtin and then its argument prototype would still apply. */
27023 char SQLAllocEnv ();
27032 rm -f conftest.
$ac_objext conftest
$ac_exeext
27033 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27034 (eval $ac_link) 2>conftest.er1
27036 grep -v '^ *+' conftest.er1
>conftest.err
27038 cat conftest.err
>&5
27039 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27040 (exit $ac_status); } &&
27041 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
27042 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27043 (eval $ac_try) 2>&5
27045 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27046 (exit $ac_status); }; } &&
27047 { ac_try
='test -s conftest$ac_exeext'
27048 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27049 (eval $ac_try) 2>&5
27051 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27052 (exit $ac_status); }; }; then
27053 ac_cv_lib_unixodbc_SQLAllocEnv
=yes
27055 echo "$as_me: failed program was:" >&5
27056 sed 's/^/| /' conftest.
$ac_ext >&5
27058 ac_cv_lib_unixodbc_SQLAllocEnv
=no
27060 rm -f conftest.err conftest.
$ac_objext \
27061 conftest
$ac_exeext conftest.
$ac_ext
27062 LIBS
=$ac_check_lib_save_LIBS
27064 echo "$as_me:$LINENO: result: $ac_cv_lib_unixodbc_SQLAllocEnv" >&5
27065 echo "${ECHO_T}$ac_cv_lib_unixodbc_SQLAllocEnv" >&6
27066 if test $ac_cv_lib_unixodbc_SQLAllocEnv = yes; then
27067 ODBC_LINK
=" -lunixodbc"
27070 echo "$as_me:$LINENO: checking for SQLAllocEnv in -lodbc" >&5
27071 echo $ECHO_N "checking for SQLAllocEnv in -lodbc... $ECHO_C" >&6
27072 if test "${ac_cv_lib_odbc_SQLAllocEnv+set}" = set; then
27073 echo $ECHO_N "(cached) $ECHO_C" >&6
27075 ac_check_lib_save_LIBS
=$LIBS
27076 LIBS
="-lodbc $LIBS"
27077 cat >conftest.
$ac_ext <<_ACEOF
27080 cat confdefs.h
>>conftest.
$ac_ext
27081 cat >>conftest.
$ac_ext <<_ACEOF
27082 /* end confdefs.h. */
27084 /* Override any gcc2 internal prototype to avoid an error. */
27088 /* We use char because int might match the return type of a gcc2
27089 builtin and then its argument prototype would still apply. */
27090 char SQLAllocEnv ();
27099 rm -f conftest.
$ac_objext conftest
$ac_exeext
27100 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27101 (eval $ac_link) 2>conftest.er1
27103 grep -v '^ *+' conftest.er1
>conftest.err
27105 cat conftest.err
>&5
27106 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27107 (exit $ac_status); } &&
27108 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
27109 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27110 (eval $ac_try) 2>&5
27112 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27113 (exit $ac_status); }; } &&
27114 { ac_try
='test -s conftest$ac_exeext'
27115 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27116 (eval $ac_try) 2>&5
27118 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27119 (exit $ac_status); }; }; then
27120 ac_cv_lib_odbc_SQLAllocEnv
=yes
27122 echo "$as_me: failed program was:" >&5
27123 sed 's/^/| /' conftest.
$ac_ext >&5
27125 ac_cv_lib_odbc_SQLAllocEnv
=no
27127 rm -f conftest.err conftest.
$ac_objext \
27128 conftest
$ac_exeext conftest.
$ac_ext
27129 LIBS
=$ac_check_lib_save_LIBS
27131 echo "$as_me:$LINENO: result: $ac_cv_lib_odbc_SQLAllocEnv" >&5
27132 echo "${ECHO_T}$ac_cv_lib_odbc_SQLAllocEnv" >&6
27133 if test $ac_cv_lib_odbc_SQLAllocEnv = yes; then
27134 ODBC_LINK
=" -lodbc"
27144 if test "x$ODBC_LINK" = "x" ; then
27145 if test "$wxUSE_ODBC" = "sys" ; then
27146 { { echo "$as_me:$LINENO: error: system ODBC library not found! Use --with-odbc=builtin to use built-in version" >&5
27147 echo "$as_me: error: system ODBC library not found! Use --with-odbc=builtin to use built-in version" >&2;}
27148 { (exit 1); exit 1; }; }
27150 { echo "$as_me:$LINENO: WARNING: system ODBC library not found, will use built-in instead" >&5
27151 echo "$as_me: WARNING: system ODBC library not found, will use built-in instead" >&2;}
27158 if test "$wxUSE_ODBC" != "no" ; then
27159 cat >>confdefs.h
<<\_ACEOF
27160 #define wxUSE_ODBC 1
27163 if test "$wxUSE_ODBC" = "builtin" ; then
27164 cat >>confdefs.h
<<\_ACEOF
27165 #define wxUSE_BUILTIN_IODBC 1
27169 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS db"
27171 WXODBCFLAG
="-D_IODBC_"
27175 if test "$wxUSE_REGEX" = "builtin" ; then
27176 ALL_OBJECTS
="${ALL_OBJECTS} \$(REGEXOBJS)"
27178 if test "$wxUSE_ZLIB" = "builtin" ; then
27179 ALL_OBJECTS
="${ALL_OBJECTS} \$(ZLIBOBJS)"
27183 if test "$wxUSE_DISPLAY" = "yes"; then
27184 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_MAC" != 1; then
27185 echo "$as_me:$LINENO: checking for Xinerama" >&5
27186 echo $ECHO_N "checking for Xinerama... $ECHO_C" >&6
27189 for ac_dir
in $SEARCH_LIB /usr
/lib
;
27191 for ac_extension
in a so sl dylib
; do
27192 if test -f "$ac_dir/libXinerama.$ac_extension"; then
27193 ac_find_libraries
=$ac_dir
27199 if test "$ac_find_libraries" != "" ; then
27201 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev
/null
27203 if test $result = 0; then
27206 ac_path_to_link
=" -L$ac_find_libraries"
27209 if test "$ac_path_to_link" != " -L/usr/lib" ; then
27210 LDFLAGS
="$LDFLAGS $ac_path_to_link"
27212 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lXinerama"
27213 echo "$as_me:$LINENO: result: yes" >&5
27214 echo "${ECHO_T}yes" >&6
27216 echo "$as_me:$LINENO: checking for Xxf86vm extension" >&5
27217 echo $ECHO_N "checking for Xxf86vm extension... $ECHO_C" >&6
27220 for ac_dir
in $SEARCH_LIB /usr
/lib
;
27222 for ac_extension
in a so sl dylib
; do
27223 if test -f "$ac_dir/libXxf86vm.$ac_extension"; then
27224 ac_find_libraries
=$ac_dir
27230 if test "$ac_find_libraries" != "" ; then
27231 echo "$as_me:$LINENO: result: yes" >&5
27232 echo "${ECHO_T}yes" >&6
27234 for ac_header
in X
11/extensions
/xf86vmode.h
27236 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
27237 echo "$as_me:$LINENO: checking for $ac_header" >&5
27238 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
27239 if eval "test \"\${$as_ac_Header+set}\" = set"; then
27240 echo $ECHO_N "(cached) $ECHO_C" >&6
27242 cat >conftest.
$ac_ext <<_ACEOF
27245 cat confdefs.h
>>conftest.
$ac_ext
27246 cat >>conftest.
$ac_ext <<_ACEOF
27247 /* end confdefs.h. */
27249 #if HAVE_X11_XLIB_H
27250 #include <X11/Xlib.h>
27254 #include <$ac_header>
27256 rm -f conftest.
$ac_objext
27257 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27258 (eval $ac_compile) 2>conftest.er1
27260 grep -v '^ *+' conftest.er1
>conftest.err
27262 cat conftest.err
>&5
27263 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27264 (exit $ac_status); } &&
27265 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
27266 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27267 (eval $ac_try) 2>&5
27269 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27270 (exit $ac_status); }; } &&
27271 { ac_try
='test -s conftest.$ac_objext'
27272 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27273 (eval $ac_try) 2>&5
27275 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27276 (exit $ac_status); }; }; then
27277 eval "$as_ac_Header=yes"
27279 echo "$as_me: failed program was:" >&5
27280 sed 's/^/| /' conftest.
$ac_ext >&5
27282 eval "$as_ac_Header=no"
27284 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
27286 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
27287 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
27288 if test `eval echo '${'$as_ac_Header'}'` = yes; then
27289 cat >>confdefs.h
<<_ACEOF
27290 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
27293 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lXxf86vm"
27300 echo "$as_me:$LINENO: result: no" >&5
27301 echo "${ECHO_T}no" >&6
27305 echo "$as_me:$LINENO: result: no" >&5
27306 echo "${ECHO_T}no" >&6
27307 { echo "$as_me:$LINENO: WARNING: \"*** Xinerama not found; disabling wxDisplay\"" >&5
27308 echo "$as_me: WARNING: \"*** Xinerama not found; disabling wxDisplay\"" >&2;}
27311 elif test "$wxUSE_MSW" = 1; then
27314 for ac_header
in multimon.h ddraw.h
27316 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
27317 if eval "test \"\${$as_ac_Header+set}\" = set"; then
27318 echo "$as_me:$LINENO: checking for $ac_header" >&5
27319 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
27320 if eval "test \"\${$as_ac_Header+set}\" = set"; then
27321 echo $ECHO_N "(cached) $ECHO_C" >&6
27323 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
27324 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
27326 # Is the header compilable?
27327 echo "$as_me:$LINENO: checking $ac_header usability" >&5
27328 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
27329 cat >conftest.
$ac_ext <<_ACEOF
27332 cat confdefs.h
>>conftest.
$ac_ext
27333 cat >>conftest.
$ac_ext <<_ACEOF
27334 /* end confdefs.h. */
27335 $ac_includes_default
27336 #include <$ac_header>
27338 rm -f conftest.
$ac_objext
27339 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27340 (eval $ac_compile) 2>conftest.er1
27342 grep -v '^ *+' conftest.er1
>conftest.err
27344 cat conftest.err
>&5
27345 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27346 (exit $ac_status); } &&
27347 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
27348 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27349 (eval $ac_try) 2>&5
27351 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27352 (exit $ac_status); }; } &&
27353 { ac_try
='test -s conftest.$ac_objext'
27354 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27355 (eval $ac_try) 2>&5
27357 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27358 (exit $ac_status); }; }; then
27359 ac_header_compiler
=yes
27361 echo "$as_me: failed program was:" >&5
27362 sed 's/^/| /' conftest.
$ac_ext >&5
27364 ac_header_compiler
=no
27366 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
27367 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
27368 echo "${ECHO_T}$ac_header_compiler" >&6
27370 # Is the header present?
27371 echo "$as_me:$LINENO: checking $ac_header presence" >&5
27372 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
27373 cat >conftest.
$ac_ext <<_ACEOF
27376 cat confdefs.h
>>conftest.
$ac_ext
27377 cat >>conftest.
$ac_ext <<_ACEOF
27378 /* end confdefs.h. */
27379 #include <$ac_header>
27381 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
27382 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
27384 grep -v '^ *+' conftest.er1
>conftest.err
27386 cat conftest.err
>&5
27387 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27388 (exit $ac_status); } >/dev
/null
; then
27389 if test -s conftest.err
; then
27390 ac_cpp_err
=$ac_c_preproc_warn_flag
27391 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
27398 if test -z "$ac_cpp_err"; then
27399 ac_header_preproc
=yes
27401 echo "$as_me: failed program was:" >&5
27402 sed 's/^/| /' conftest.
$ac_ext >&5
27404 ac_header_preproc
=no
27406 rm -f conftest.err conftest.
$ac_ext
27407 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
27408 echo "${ECHO_T}$ac_header_preproc" >&6
27410 # So? What about this header?
27411 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
27413 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
27414 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
27415 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
27416 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
27417 ac_header_preproc
=yes
27420 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
27421 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
27422 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
27423 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
27424 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
27425 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
27426 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
27427 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
27428 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
27429 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
27430 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
27431 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
27434 ## ----------------------------------------- ##
27435 ## Report this to wx-dev@lists.wxwindows.org ##
27436 ## ----------------------------------------- ##
27439 sed "s/^/$as_me: WARNING: /" >&2
27442 echo "$as_me:$LINENO: checking for $ac_header" >&5
27443 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
27444 if eval "test \"\${$as_ac_Header+set}\" = set"; then
27445 echo $ECHO_N "(cached) $ECHO_C" >&6
27447 eval "$as_ac_Header=\$ac_header_preproc"
27449 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
27450 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
27453 if test `eval echo '${'$as_ac_Header'}'` = yes; then
27454 cat >>confdefs.h
<<_ACEOF
27455 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
27461 { echo "$as_me:$LINENO: WARNING: \"*** ddraw.h or multimon.h not found; disabling wxDisplay\"" >&5
27462 echo "$as_me: WARNING: \"*** ddraw.h or multimon.h not found; disabling wxDisplay\"" >&2;}
27473 if test "$wxUSE_OPENGL" = "yes"; then
27474 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = "1"; then
27475 OPENGL_LIBS
="-framework OpenGL -framework AGL"
27476 elif test "$wxUSE_MSW" = 1; then
27477 OPENGL_LIBS
="-lopengl32 -lglu32"
27482 for ac_dir
in $SEARCH_INCLUDE /usr
/include
;
27484 if test -f "$ac_dir/GL/gl.h"; then
27485 ac_find_includes
=$ac_dir
27490 if test "$ac_find_includes" != "" ; then
27491 echo "$as_me:$LINENO: result: found in $ac_find_includes" >&5
27492 echo "${ECHO_T}found in $ac_find_includes" >&6
27494 if test "x$ac_find_includes" = "x/usr/include"; then
27495 ac_path_to_include
=""
27497 echo "$CPPFLAGS" | grep "\-I$ac_find_includes" > /dev
/null
27499 if test $result = 0; then
27500 ac_path_to_include
=""
27502 ac_path_to_include
=" -I$ac_find_includes"
27506 CPPFLAGS
="$CPPFLAGS$ac_path_to_include"
27509 if test "${ac_cv_header_GL_gl_h+set}" = set; then
27510 echo "$as_me:$LINENO: checking for GL/gl.h" >&5
27511 echo $ECHO_N "checking for GL/gl.h... $ECHO_C" >&6
27512 if test "${ac_cv_header_GL_gl_h+set}" = set; then
27513 echo $ECHO_N "(cached) $ECHO_C" >&6
27515 echo "$as_me:$LINENO: result: $ac_cv_header_GL_gl_h" >&5
27516 echo "${ECHO_T}$ac_cv_header_GL_gl_h" >&6
27518 # Is the header compilable?
27519 echo "$as_me:$LINENO: checking GL/gl.h usability" >&5
27520 echo $ECHO_N "checking GL/gl.h usability... $ECHO_C" >&6
27521 cat >conftest.
$ac_ext <<_ACEOF
27524 cat confdefs.h
>>conftest.
$ac_ext
27525 cat >>conftest.
$ac_ext <<_ACEOF
27526 /* end confdefs.h. */
27527 $ac_includes_default
27530 rm -f conftest.
$ac_objext
27531 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27532 (eval $ac_compile) 2>conftest.er1
27534 grep -v '^ *+' conftest.er1
>conftest.err
27536 cat conftest.err
>&5
27537 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27538 (exit $ac_status); } &&
27539 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
27540 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27541 (eval $ac_try) 2>&5
27543 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27544 (exit $ac_status); }; } &&
27545 { ac_try
='test -s conftest.$ac_objext'
27546 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27547 (eval $ac_try) 2>&5
27549 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27550 (exit $ac_status); }; }; then
27551 ac_header_compiler
=yes
27553 echo "$as_me: failed program was:" >&5
27554 sed 's/^/| /' conftest.
$ac_ext >&5
27556 ac_header_compiler
=no
27558 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
27559 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
27560 echo "${ECHO_T}$ac_header_compiler" >&6
27562 # Is the header present?
27563 echo "$as_me:$LINENO: checking GL/gl.h presence" >&5
27564 echo $ECHO_N "checking GL/gl.h presence... $ECHO_C" >&6
27565 cat >conftest.
$ac_ext <<_ACEOF
27568 cat confdefs.h
>>conftest.
$ac_ext
27569 cat >>conftest.
$ac_ext <<_ACEOF
27570 /* end confdefs.h. */
27573 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
27574 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
27576 grep -v '^ *+' conftest.er1
>conftest.err
27578 cat conftest.err
>&5
27579 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27580 (exit $ac_status); } >/dev
/null
; then
27581 if test -s conftest.err
; then
27582 ac_cpp_err
=$ac_c_preproc_warn_flag
27583 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
27590 if test -z "$ac_cpp_err"; then
27591 ac_header_preproc
=yes
27593 echo "$as_me: failed program was:" >&5
27594 sed 's/^/| /' conftest.
$ac_ext >&5
27596 ac_header_preproc
=no
27598 rm -f conftest.err conftest.
$ac_ext
27599 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
27600 echo "${ECHO_T}$ac_header_preproc" >&6
27602 # So? What about this header?
27603 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
27605 { echo "$as_me:$LINENO: WARNING: GL/gl.h: accepted by the compiler, rejected by the preprocessor!" >&5
27606 echo "$as_me: WARNING: GL/gl.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
27607 { echo "$as_me:$LINENO: WARNING: GL/gl.h: proceeding with the compiler's result" >&5
27608 echo "$as_me: WARNING: GL/gl.h: proceeding with the compiler's result" >&2;}
27609 ac_header_preproc
=yes
27612 { echo "$as_me:$LINENO: WARNING: GL/gl.h: present but cannot be compiled" >&5
27613 echo "$as_me: WARNING: GL/gl.h: present but cannot be compiled" >&2;}
27614 { echo "$as_me:$LINENO: WARNING: GL/gl.h: check for missing prerequisite headers?" >&5
27615 echo "$as_me: WARNING: GL/gl.h: check for missing prerequisite headers?" >&2;}
27616 { echo "$as_me:$LINENO: WARNING: GL/gl.h: see the Autoconf documentation" >&5
27617 echo "$as_me: WARNING: GL/gl.h: see the Autoconf documentation" >&2;}
27618 { echo "$as_me:$LINENO: WARNING: GL/gl.h: section \"Present But Cannot Be Compiled\"" >&5
27619 echo "$as_me: WARNING: GL/gl.h: section \"Present But Cannot Be Compiled\"" >&2;}
27620 { echo "$as_me:$LINENO: WARNING: GL/gl.h: proceeding with the preprocessor's result" >&5
27621 echo "$as_me: WARNING: GL/gl.h: proceeding with the preprocessor's result" >&2;}
27622 { echo "$as_me:$LINENO: WARNING: GL/gl.h: in the future, the compiler will take precedence" >&5
27623 echo "$as_me: WARNING: GL/gl.h: in the future, the compiler will take precedence" >&2;}
27626 ## ----------------------------------------- ##
27627 ## Report this to wx-dev@lists.wxwindows.org ##
27628 ## ----------------------------------------- ##
27631 sed "s/^/$as_me: WARNING: /" >&2
27634 echo "$as_me:$LINENO: checking for GL/gl.h" >&5
27635 echo $ECHO_N "checking for GL/gl.h... $ECHO_C" >&6
27636 if test "${ac_cv_header_GL_gl_h+set}" = set; then
27637 echo $ECHO_N "(cached) $ECHO_C" >&6
27639 ac_cv_header_GL_gl_h
=$ac_header_preproc
27641 echo "$as_me:$LINENO: result: $ac_cv_header_GL_gl_h" >&5
27642 echo "${ECHO_T}$ac_cv_header_GL_gl_h" >&6
27645 if test $ac_cv_header_GL_gl_h = yes; then
27649 echo "$as_me:$LINENO: checking for -lGL" >&5
27650 echo $ECHO_N "checking for -lGL... $ECHO_C" >&6
27653 for ac_dir
in $SEARCH_LIB /usr
/lib
;
27655 for ac_extension
in a so sl dylib
; do
27656 if test -f "$ac_dir/libGL.$ac_extension"; then
27657 ac_find_libraries
=$ac_dir
27663 if test "$ac_find_libraries" != "" ; then
27665 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev
/null
27667 if test $result = 0; then
27670 ac_path_to_link
=" -L$ac_find_libraries"
27673 if test "$ac_path_to_link" != " -L/usr/lib" ; then
27674 LDFLAGS_GL
="$ac_path_to_link"
27679 for ac_dir
in $SEARCH_LIB /usr
/lib
;
27681 for ac_extension
in a so sl dylib
; do
27682 if test -f "$ac_dir/libGLU.$ac_extension"; then
27683 ac_find_libraries
=$ac_dir
27689 if test "$ac_find_libraries" != "" ; then
27691 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev
/null
27693 if test $result = 0; then
27696 ac_path_to_link
=" -L$ac_find_libraries"
27699 if test "$ac_path_to_link" != " -L/usr/lib" -a \
27700 "$ac_path_to_link" != "$LDFLAGS_GL"; then
27701 LDFLAGS_GL
="$LDFLAGS_GL$ac_path_to_link"
27705 OPENGL_LIBS
="-lGL -lGLU"
27706 echo "$as_me:$LINENO: result: yes" >&5
27707 echo "${ECHO_T}yes" >&6
27711 if test "$found_gl" != 1; then
27712 echo "$as_me:$LINENO: result: no" >&5
27713 echo "${ECHO_T}no" >&6
27714 echo "$as_me:$LINENO: checking for -lMesaGL" >&5
27715 echo $ECHO_N "checking for -lMesaGL... $ECHO_C" >&6
27718 for ac_dir
in $SEARCH_LIB /usr
/lib
;
27720 for ac_extension
in a so sl dylib
; do
27721 if test -f "$ac_dir/libMesaGL.$ac_extension"; then
27722 ac_find_libraries
=$ac_dir
27728 if test "$ac_find_libraries" != "" ; then
27730 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev
/null
27732 if test $result = 0; then
27735 ac_path_to_link
=" -L$ac_find_libraries"
27738 LDFLAGS_GL
="$LDFLAGS$ac_path_to_link"
27739 OPENGL_LIBS
="-lMesaGL -lMesaGLU"
27740 echo "$as_me:$LINENO: result: yes" >&5
27741 echo "${ECHO_T}yes" >&6
27743 echo "$as_me:$LINENO: result: no" >&5
27744 echo "${ECHO_T}no" >&6
27752 if test "x$OPENGL_LIBS" = "x"; then
27753 { { echo "$as_me:$LINENO: error: OpenGL libraries not available" >&5
27754 echo "$as_me: error: OpenGL libraries not available" >&2;}
27755 { (exit 1); exit 1; }; }
27759 if test "$wxUSE_OPENGL" = "yes"; then
27761 cat >>confdefs.h
<<\_ACEOF
27762 #define wxUSE_OPENGL 1
27765 cat >>confdefs.h
<<\_ACEOF
27766 #define wxUSE_GLCANVAS 1
27769 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS opengl opengl/cube opengl/penguin opengl/isosurf"
27773 if test -z "$TOOLKIT_VPATH" ; then
27774 TOOLKIT_VPATH
="\${top_srcdir}/src/${TOOLKIT_DIR}"
27777 if test -n "$TOOLKIT" ; then
27778 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -D__WX${TOOLKIT}__"
27782 lib_unicode_suffix
=
27783 if test "$wxUSE_UNICODE" = "yes"; then
27784 lib_unicode_suffix
=u
27790 if test "$wxUSE_DEBUG_FLAG" = "yes"; then
27796 if test "$wxUSE_DEBUG_INFO" = "yes"; then
27800 WX_VERSION_TAG
=`echo WX${lib_unicode_suffix}${lib_debug_suffix}_${WX_RELEASE} | tr "[a-z]" "[A-Z]"`
27802 TOOLCHAIN_NAME
="${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}-${WX_RELEASE}"
27803 TOOLCHAIN_NAME_GL
="${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}_gl-${WX_RELEASE}"
27805 if test "$cross_compiling" = "yes"; then
27806 TOOLCHAIN_NAME
="${TOOLCHAIN_NAME}-${host_alias}"
27807 TOOLCHAIN_NAME_GL
="${TOOLCHAIN_NAME_GL}-${host_alias}"
27808 HOST_SUFFIX
="-${host_alias}"
27811 WX_LIBRARY
="wx_${TOOLCHAIN_NAME}"
27812 WX_LIBRARY_GL
="wx_${TOOLCHAIN_NAME_GL}"
27813 WX_LIBRARY_BASENAME_NOGUI
="wx_base${WXBASEPORT}${lib_unicode_suffix}${lib_debug_suffix}"
27814 WX_LIBRARY_BASENAME_GUI
="wx_${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}"
27816 WX_LIBRARY_NAME_SHARED
="lib${WX_LIBRARY}.${SO_SUFFIX}.${WX_CURRENT}.${WX_REVISION}.${WX_AGE}"
27817 WX_LIBRARY_NAME_SHARED_GL
="lib${WX_LIBRARY_GL}.${SO_SUFFIX}.${WX_CURRENT}.${WX_REVISION}.${WX_AGE}"
27819 WX_LIBRARY_LINK1
="lib${WX_LIBRARY}.${SO_SUFFIX}.${WX_CURRENT}"
27820 WX_LIBRARY_LINK2
="lib${WX_LIBRARY}.${SO_SUFFIX}"
27821 WX_LIBRARY_LINK1_GL
="lib${WX_LIBRARY_GL}.${SO_SUFFIX}.${WX_CURRENT}"
27822 WX_LIBRARY_LINK2_GL
="lib${WX_LIBRARY_GL}.${SO_SUFFIX}"
27825 *-*-cygwin* | *-*-mingw32* )
27826 WX_LIBRARY_NAME_SHARED
="lib${WX_LIBRARY}.${SO_SUFFIX}"
27827 WX_LIBRARY_NAME_SHARED_GL
="lib${WX_LIBRARY_GL}.${SO_SUFFIX}"
27832 WX_LIBRARY_NAME_SHARED
="lib${WX_LIBRARY}.${WX_CURRENT}.${WX_REVISION}.${WX_AGE}.${SO_SUFFIX}"
27833 WX_LIBRARY_NAME_SHARED_GL
="lib${WX_LIBRARY_GL}.${WX_CURRENT}.${WX_REVISION}.${WX_AGE}.${SO_SUFFIX}"
27835 WX_LIBRARY_LINK1
="lib${WX_LIBRARY}.${WX_CURRENT}.${SO_SUFFIX}"
27836 WX_LIBRARY_LINK2
="lib${WX_LIBRARY}.${SO_SUFFIX}"
27837 WX_LIBRARY_LINK1_GL
="lib${WX_LIBRARY_GL}.${WX_CURRENT}.${SO_SUFFIX}"
27838 WX_LIBRARY_LINK2_GL
="lib${WX_LIBRARY_GL}.${SO_SUFFIX}"
27840 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = "1"; then
27841 WX_RESOURCES_MACOSX_ASCII
="lib${WX_LIBRARY}.${WX_CURRENT}.r"
27842 WX_RESOURCES_MACOSX_DATA
="lib${WX_LIBRARY}.${WX_CURRENT}.rsrc"
27847 WX_LIBRARY_NAME_STATIC
="lib${WX_LIBRARY}.a"
27848 WX_LIBRARY_NAME_STATIC_GL
="lib${WX_LIBRARY_GL}.a"
27850 WXCONFIG_LIBS
="-l${WX_LIBRARY}"
27851 WXCONFIG_LIBS_STATIC
="lib${WX_LIBRARY}.a"
27853 if test "$wxUSE_OPENGL" = "yes"; then
27854 WXCONFIG_LIBS_GL
="-l${WX_LIBRARY_GL} ${OPENGL_LIBS}"
27855 WXCONFIG_LIBS_STATIC_GL
="lib${WX_LIBRARY_GL}.a ${OPENGL_LIBS}"
27860 if test "$wxUSE_SHARED" = "yes"; then
27864 { echo "$as_me:$LINENO: WARNING: Host system doesn't support shared libraries, disabling" >&5
27865 echo "$as_me: WARNING: Host system doesn't support shared libraries, disabling" >&2;}
27871 if test "$wxUSE_SHARED" = "yes"; then
27875 found_versioning
=no
27878 if test $found_versioning = no
; then
27879 echo "$as_me:$LINENO: checking if the linker accepts --version-script" >&5
27880 echo $ECHO_N "checking if the linker accepts --version-script... $ECHO_C" >&6
27881 if test "${wx_cv_version_script+set}" = set; then
27882 echo $ECHO_N "(cached) $ECHO_C" >&6
27885 echo "VER_1 { *; };" >conftest.sym
27886 echo "int main() { return 0; }" >conftest.cpp
27889 $CXX -o conftest.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
27890 -Wl,--version-script,conftest.sym >/dev/null 2>conftest.stderr'
27891 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27892 (eval $ac_try) 2>&5
27894 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27895 (exit $ac_status); }; } ; then
27896 if test -s conftest.stderr
; then
27897 wx_cv_version_script
=no
27899 wx_cv_version_script
=yes
27902 wx_cv_version_script
=no
27904 rm -f conftest.output conftest.stderr conftest.sym conftest.cpp
27907 echo "$as_me:$LINENO: result: $wx_cv_version_script" >&5
27908 echo "${ECHO_T}$wx_cv_version_script" >&6
27909 if test $wx_cv_version_script = yes ; then
27910 LDFLAGS_VERSIONING
="-Wl,--version-script,\$(top_builddir)version-script"
27916 *-*-linux* | *-*-gnu* )
27917 SAMPLES_RPATH_FLAG
="-Wl,-rpath,\$(top_builddir)lib"
27921 if test "$GCC" = yes ; then
27922 CPPFLAGS
="$CPPFLAGS -isystem /usr/openwin/include"
27924 saveLdflags
="$LDFLAGS"
27925 LDFLAGS
="$saveLdflags -Wl,-rpath,/"
27926 echo "$as_me:$LINENO: checking if the linker accepts -rpath" >&5
27927 echo $ECHO_N "checking if the linker accepts -rpath... $ECHO_C" >&6
27928 cat >conftest.
$ac_ext <<_ACEOF
27931 cat confdefs.h
>>conftest.
$ac_ext
27932 cat >>conftest.
$ac_ext <<_ACEOF
27933 /* end confdefs.h. */
27943 rm -f conftest.
$ac_objext conftest
$ac_exeext
27944 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27945 (eval $ac_link) 2>conftest.er1
27947 grep -v '^ *+' conftest.er1
>conftest.err
27949 cat conftest.err
>&5
27950 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27951 (exit $ac_status); } &&
27952 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
27953 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27954 (eval $ac_try) 2>&5
27956 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27957 (exit $ac_status); }; } &&
27958 { ac_try
='test -s conftest$ac_exeext'
27959 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27960 (eval $ac_try) 2>&5
27962 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27963 (exit $ac_status); }; }; then
27965 echo "$as_me:$LINENO: result: yes" >&5
27966 echo "${ECHO_T}yes" >&6
27967 SAMPLES_RPATH_FLAG
="-Wl,-rpath,\$(top_builddir)lib"
27970 echo "$as_me: failed program was:" >&5
27971 sed 's/^/| /' conftest.
$ac_ext >&5
27974 echo "$as_me:$LINENO: result: no" >&5
27975 echo "${ECHO_T}no" >&6
27976 echo "$as_me:$LINENO: checking if the linker accepts -R" >&5
27977 echo $ECHO_N "checking if the linker accepts -R... $ECHO_C" >&6
27978 LDFLAGS
="$saveLdflags -Wl,-R,/"
27979 cat >conftest.
$ac_ext <<_ACEOF
27982 cat confdefs.h
>>conftest.
$ac_ext
27983 cat >>conftest.
$ac_ext <<_ACEOF
27984 /* end confdefs.h. */
27994 rm -f conftest.
$ac_objext conftest
$ac_exeext
27995 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27996 (eval $ac_link) 2>conftest.er1
27998 grep -v '^ *+' conftest.er1
>conftest.err
28000 cat conftest.err
>&5
28001 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28002 (exit $ac_status); } &&
28003 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
28004 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28005 (eval $ac_try) 2>&5
28007 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28008 (exit $ac_status); }; } &&
28009 { ac_try
='test -s conftest$ac_exeext'
28010 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28011 (eval $ac_try) 2>&5
28013 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28014 (exit $ac_status); }; }; then
28016 echo "$as_me:$LINENO: result: yes" >&5
28017 echo "${ECHO_T}yes" >&6
28018 SAMPLES_RPATH_FLAG
="-Wl,-R,\$(top_builddir)lib"
28020 echo "$as_me: failed program was:" >&5
28021 sed 's/^/| /' conftest.
$ac_ext >&5
28024 echo "$as_me:$LINENO: result: no" >&5
28025 echo "${ECHO_T}no" >&6
28028 rm -f conftest.err conftest.
$ac_objext \
28029 conftest
$ac_exeext conftest.
$ac_ext
28032 rm -f conftest.err conftest.
$ac_objext \
28033 conftest
$ac_exeext conftest.
$ac_ext
28034 LDFLAGS
="$saveLdflags"
28036 SHARED_LD
="${CXX} -G -o"
28038 SAMPLES_RPATH_FLAG
="-R\$(top_builddir)lib"
28042 powerpc
-*-darwin* )
28043 SAMPLES_RPATH_POSTLINK
="\$(top_builddir)change-install-names \$(LIBDIRNAME) \$(prefix) \$@"
28044 cat <<EOF >change-install-names
28046 libnames=\`cd \${1} ; ls -1 | grep '\.[0-9][0-9]*\.dylib\$'\`
28047 inst_cmd="install_name_tool "
28048 for i in \${libnames} ; do
28049 inst_cmd="\${inst_cmd} -change \${2}/lib/\${i} \${1}/\${i}"
28053 chmod +x change
-install-names
28056 *-*-cygwin* | *-*-mingw32* )
28057 TOOLCHAIN_DLL_DEFS
="${TOOLCHAIN_DLL_DEFS} -DWXUSINGDLL=1"
28062 if test "x$WX_TARGET_LIBRARY" = "x"; then
28063 WX_TARGET_LIBRARY
="${WX_LIBRARY_NAME_SHARED}"
28064 WX_TARGET_LIBRARY_GL
="${WX_LIBRARY_NAME_SHARED_GL}"
28067 WX_TARGET_LIBRARY_TYPE
="so"
28068 INSTALL_LIBRARY
='$(INSTALL_PROGRAM)'
28071 if test "$wxUSE_SHARED" = "no"; then
28073 if test "$wxUSE_GUI" = "no" -o "$USE_WIN32" = 1 ; then
28074 WX_ALL_INSTALLED
="${WX_ALL_INSTALLED} preinstall"
28077 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1 ; then
28078 WX_ALL_INSTALLED
="${WX_ALL_INSTALLED} preinstall"
28081 if test "$wxUSE_OPENGL" = "yes"; then
28082 WX_ALL_INSTALLED
="${WX_ALL_INSTALLED} preinstall_gl"
28083 WX_ALL
="\$(build_libdir)/${WX_LIBRARY_NAME_STATIC} \$(build_libdir)/${WX_LIBRARY_NAME_STATIC_GL}"
28085 WX_ALL
="\$(build_libdir)/${WX_LIBRARY_NAME_STATIC}"
28088 WX_TARGET_LIBRARY
="${WX_LIBRARY_NAME_STATIC}"
28089 WX_TARGET_LIBRARY_GL
="${WX_LIBRARY_NAME_STATIC_GL}"
28091 WX_TARGET_LIBRARY_TYPE
="a"
28092 INSTALL_LIBRARY
='$(INSTALL_DATA)'
28099 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1; then
28100 LIBWXMACRES
="\$(top_builddir)lib/${WX_RESOURCES_MACOSX_ASCII}"
28101 WX_ALL
="${WX_ALL} ${LIBWXMACRES}"
28102 WX_ALL_INSTALLED
="${WX_ALL_INSTALLED} preinstall_res"
28104 # Extract the first word of "Rez", so it can be a program name with args.
28105 set dummy Rez
; ac_word
=$2
28106 echo "$as_me:$LINENO: checking for $ac_word" >&5
28107 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
28108 if test "${ac_cv_prog_RESCOMP+set}" = set; then
28109 echo $ECHO_N "(cached) $ECHO_C" >&6
28111 if test -n "$RESCOMP"; then
28112 ac_cv_prog_RESCOMP
="$RESCOMP" # Let the user override the test.
28114 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
28115 for as_dir
in $PATH
28118 test -z "$as_dir" && as_dir
=.
28119 for ac_exec_ext
in '' $ac_executable_extensions; do
28120 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
28121 ac_cv_prog_RESCOMP
="Rez"
28122 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
28128 test -z "$ac_cv_prog_RESCOMP" && ac_cv_prog_RESCOMP
="/Developer/Tools/Rez"
28131 RESCOMP
=$ac_cv_prog_RESCOMP
28132 if test -n "$RESCOMP"; then
28133 echo "$as_me:$LINENO: result: $RESCOMP" >&5
28134 echo "${ECHO_T}$RESCOMP" >&6
28136 echo "$as_me:$LINENO: result: no" >&5
28137 echo "${ECHO_T}no" >&6
28140 # Extract the first word of "DeRez", so it can be a program name with args.
28141 set dummy DeRez
; ac_word
=$2
28142 echo "$as_me:$LINENO: checking for $ac_word" >&5
28143 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
28144 if test "${ac_cv_prog_DEREZ+set}" = set; then
28145 echo $ECHO_N "(cached) $ECHO_C" >&6
28147 if test -n "$DEREZ"; then
28148 ac_cv_prog_DEREZ
="$DEREZ" # Let the user override the test.
28150 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
28151 for as_dir
in $PATH
28154 test -z "$as_dir" && as_dir
=.
28155 for ac_exec_ext
in '' $ac_executable_extensions; do
28156 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
28157 ac_cv_prog_DEREZ
="DeRez"
28158 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
28164 test -z "$ac_cv_prog_DEREZ" && ac_cv_prog_DEREZ
="/Developer/Tools/DeRez"
28167 DEREZ
=$ac_cv_prog_DEREZ
28168 if test -n "$DEREZ"; then
28169 echo "$as_me:$LINENO: result: $DEREZ" >&5
28170 echo "${ECHO_T}$DEREZ" >&6
28172 echo "$as_me:$LINENO: result: no" >&5
28173 echo "${ECHO_T}no" >&6
28176 # Extract the first word of "SetFile", so it can be a program name with args.
28177 set dummy SetFile
; ac_word
=$2
28178 echo "$as_me:$LINENO: checking for $ac_word" >&5
28179 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
28180 if test "${ac_cv_prog_SETFILE+set}" = set; then
28181 echo $ECHO_N "(cached) $ECHO_C" >&6
28183 if test -n "$SETFILE"; then
28184 ac_cv_prog_SETFILE
="$SETFILE" # Let the user override the test.
28186 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
28187 for as_dir
in $PATH
28190 test -z "$as_dir" && as_dir
=.
28191 for ac_exec_ext
in '' $ac_executable_extensions; do
28192 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
28193 ac_cv_prog_SETFILE
="SetFile"
28194 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
28200 test -z "$ac_cv_prog_SETFILE" && ac_cv_prog_SETFILE
="/Developer/Tools/SetFile"
28203 SETFILE
=$ac_cv_prog_SETFILE
28204 if test -n "$SETFILE"; then
28205 echo "$as_me:$LINENO: result: $SETFILE" >&5
28206 echo "${ECHO_T}$SETFILE" >&6
28208 echo "$as_me:$LINENO: result: no" >&5
28209 echo "${ECHO_T}no" >&6
28213 MACSETFILE
="\$(SETFILE)"
28215 if test "$wxUSE_MAC" = 1; then
28216 MACRESCOMP
="\$(RESCOMP) -d __DARWIN__ -t APPL Carbon.r ${LIBWXMACRES} -o"
28218 MACRESWXCONFIG
="${RESCOMP} -d __DARWIN__ -t APPL Carbon.r \\\${exec_prefix}/lib/${WX_RESOURCES_MACOSX_ASCII} -o"
28220 MACRESCOMP
="echo -n | \$(RESCOMP) -d __DARWIN__ -t APPL ${LIBWXMACRES} -o"
28221 MACRESWXCONFIG
="echo -n \\\| ${RESCOMP} -d __DARWIN__ -t APPL \\\${exec_prefix}/lib/${WX_RESOURCES_MACOSX_ASCII} -o"
28227 if test "$wxUSE_PM" = 1; then
28228 MACRESCOMP
="emxbind -ep"
28236 echo "$as_me:$LINENO: checking for mode_t" >&5
28237 echo $ECHO_N "checking for mode_t... $ECHO_C" >&6
28238 if test "${ac_cv_type_mode_t+set}" = set; then
28239 echo $ECHO_N "(cached) $ECHO_C" >&6
28241 cat >conftest.
$ac_ext <<_ACEOF
28244 cat confdefs.h
>>conftest.
$ac_ext
28245 cat >>conftest.
$ac_ext <<_ACEOF
28246 /* end confdefs.h. */
28247 $ac_includes_default
28253 if (sizeof (mode_t))
28259 rm -f conftest.
$ac_objext
28260 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28261 (eval $ac_compile) 2>conftest.er1
28263 grep -v '^ *+' conftest.er1
>conftest.err
28265 cat conftest.err
>&5
28266 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28267 (exit $ac_status); } &&
28268 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
28269 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28270 (eval $ac_try) 2>&5
28272 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28273 (exit $ac_status); }; } &&
28274 { ac_try
='test -s conftest.$ac_objext'
28275 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28276 (eval $ac_try) 2>&5
28278 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28279 (exit $ac_status); }; }; then
28280 ac_cv_type_mode_t
=yes
28282 echo "$as_me: failed program was:" >&5
28283 sed 's/^/| /' conftest.
$ac_ext >&5
28285 ac_cv_type_mode_t
=no
28287 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
28289 echo "$as_me:$LINENO: result: $ac_cv_type_mode_t" >&5
28290 echo "${ECHO_T}$ac_cv_type_mode_t" >&6
28291 if test $ac_cv_type_mode_t = yes; then
28295 cat >>confdefs.h
<<_ACEOF
28301 echo "$as_me:$LINENO: checking for off_t" >&5
28302 echo $ECHO_N "checking for off_t... $ECHO_C" >&6
28303 if test "${ac_cv_type_off_t+set}" = set; then
28304 echo $ECHO_N "(cached) $ECHO_C" >&6
28306 cat >conftest.
$ac_ext <<_ACEOF
28309 cat confdefs.h
>>conftest.
$ac_ext
28310 cat >>conftest.
$ac_ext <<_ACEOF
28311 /* end confdefs.h. */
28312 $ac_includes_default
28318 if (sizeof (off_t))
28324 rm -f conftest.
$ac_objext
28325 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28326 (eval $ac_compile) 2>conftest.er1
28328 grep -v '^ *+' conftest.er1
>conftest.err
28330 cat conftest.err
>&5
28331 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28332 (exit $ac_status); } &&
28333 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
28334 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28335 (eval $ac_try) 2>&5
28337 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28338 (exit $ac_status); }; } &&
28339 { ac_try
='test -s conftest.$ac_objext'
28340 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28341 (eval $ac_try) 2>&5
28343 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28344 (exit $ac_status); }; }; then
28345 ac_cv_type_off_t
=yes
28347 echo "$as_me: failed program was:" >&5
28348 sed 's/^/| /' conftest.
$ac_ext >&5
28350 ac_cv_type_off_t
=no
28352 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
28354 echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
28355 echo "${ECHO_T}$ac_cv_type_off_t" >&6
28356 if test $ac_cv_type_off_t = yes; then
28360 cat >>confdefs.h
<<_ACEOF
28366 echo "$as_me:$LINENO: checking for pid_t" >&5
28367 echo $ECHO_N "checking for pid_t... $ECHO_C" >&6
28368 if test "${ac_cv_type_pid_t+set}" = set; then
28369 echo $ECHO_N "(cached) $ECHO_C" >&6
28371 cat >conftest.
$ac_ext <<_ACEOF
28374 cat confdefs.h
>>conftest.
$ac_ext
28375 cat >>conftest.
$ac_ext <<_ACEOF
28376 /* end confdefs.h. */
28377 $ac_includes_default
28383 if (sizeof (pid_t))
28389 rm -f conftest.
$ac_objext
28390 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28391 (eval $ac_compile) 2>conftest.er1
28393 grep -v '^ *+' conftest.er1
>conftest.err
28395 cat conftest.err
>&5
28396 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28397 (exit $ac_status); } &&
28398 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
28399 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28400 (eval $ac_try) 2>&5
28402 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28403 (exit $ac_status); }; } &&
28404 { ac_try
='test -s conftest.$ac_objext'
28405 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28406 (eval $ac_try) 2>&5
28408 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28409 (exit $ac_status); }; }; then
28410 ac_cv_type_pid_t
=yes
28412 echo "$as_me: failed program was:" >&5
28413 sed 's/^/| /' conftest.
$ac_ext >&5
28415 ac_cv_type_pid_t
=no
28417 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
28419 echo "$as_me:$LINENO: result: $ac_cv_type_pid_t" >&5
28420 echo "${ECHO_T}$ac_cv_type_pid_t" >&6
28421 if test $ac_cv_type_pid_t = yes; then
28425 cat >>confdefs.h
<<_ACEOF
28431 echo "$as_me:$LINENO: checking for size_t" >&5
28432 echo $ECHO_N "checking for size_t... $ECHO_C" >&6
28433 if test "${ac_cv_type_size_t+set}" = set; then
28434 echo $ECHO_N "(cached) $ECHO_C" >&6
28436 cat >conftest.
$ac_ext <<_ACEOF
28439 cat confdefs.h
>>conftest.
$ac_ext
28440 cat >>conftest.
$ac_ext <<_ACEOF
28441 /* end confdefs.h. */
28442 $ac_includes_default
28448 if (sizeof (size_t))
28454 rm -f conftest.
$ac_objext
28455 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28456 (eval $ac_compile) 2>conftest.er1
28458 grep -v '^ *+' conftest.er1
>conftest.err
28460 cat conftest.err
>&5
28461 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28462 (exit $ac_status); } &&
28463 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
28464 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28465 (eval $ac_try) 2>&5
28467 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28468 (exit $ac_status); }; } &&
28469 { ac_try
='test -s conftest.$ac_objext'
28470 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28471 (eval $ac_try) 2>&5
28473 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28474 (exit $ac_status); }; }; then
28475 ac_cv_type_size_t
=yes
28477 echo "$as_me: failed program was:" >&5
28478 sed 's/^/| /' conftest.
$ac_ext >&5
28480 ac_cv_type_size_t
=no
28482 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
28484 echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
28485 echo "${ECHO_T}$ac_cv_type_size_t" >&6
28486 if test $ac_cv_type_size_t = yes; then
28490 cat >>confdefs.h
<<_ACEOF
28491 #define size_t unsigned
28496 echo "$as_me:$LINENO: checking for uid_t in sys/types.h" >&5
28497 echo $ECHO_N "checking for uid_t in sys/types.h... $ECHO_C" >&6
28498 if test "${ac_cv_type_uid_t+set}" = set; then
28499 echo $ECHO_N "(cached) $ECHO_C" >&6
28501 cat >conftest.
$ac_ext <<_ACEOF
28504 cat confdefs.h
>>conftest.
$ac_ext
28505 cat >>conftest.
$ac_ext <<_ACEOF
28506 /* end confdefs.h. */
28507 #include <sys/types.h>
28510 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
28511 $EGREP "uid_t" >/dev
/null
2>&1; then
28512 ac_cv_type_uid_t
=yes
28514 ac_cv_type_uid_t
=no
28519 echo "$as_me:$LINENO: result: $ac_cv_type_uid_t" >&5
28520 echo "${ECHO_T}$ac_cv_type_uid_t" >&6
28521 if test $ac_cv_type_uid_t = no
; then
28523 cat >>confdefs.h
<<\_ACEOF
28528 cat >>confdefs.h
<<\_ACEOF
28538 ac_cpp
='$CXXCPP $CPPFLAGS'
28539 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28540 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28541 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
28543 echo "$as_me:$LINENO: checking if size_t is unsigned int" >&5
28544 echo $ECHO_N "checking if size_t is unsigned int... $ECHO_C" >&6
28545 if test "${wx_cv_size_t_is_uint+set}" = set; then
28546 echo $ECHO_N "(cached) $ECHO_C" >&6
28549 cat >conftest.
$ac_ext <<_ACEOF
28552 cat confdefs.h
>>conftest.
$ac_ext
28553 cat >>conftest.
$ac_ext <<_ACEOF
28554 /* end confdefs.h. */
28555 #include <stddef.h>
28562 struct Foo { void foo(size_t); void foo(unsigned int); };
28570 rm -f conftest.
$ac_objext
28571 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28572 (eval $ac_compile) 2>conftest.er1
28574 grep -v '^ *+' conftest.er1
>conftest.err
28576 cat conftest.err
>&5
28577 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28578 (exit $ac_status); } &&
28579 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
28580 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28581 (eval $ac_try) 2>&5
28583 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28584 (exit $ac_status); }; } &&
28585 { ac_try
='test -s conftest.$ac_objext'
28586 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28587 (eval $ac_try) 2>&5
28589 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28590 (exit $ac_status); }; }; then
28591 wx_cv_size_t_is_uint
=no
28593 echo "$as_me: failed program was:" >&5
28594 sed 's/^/| /' conftest.
$ac_ext >&5
28596 wx_cv_size_t_is_uint
=yes
28599 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
28603 echo "$as_me:$LINENO: result: $wx_cv_size_t_is_uint" >&5
28604 echo "${ECHO_T}$wx_cv_size_t_is_uint" >&6
28606 if test "$wx_cv_size_t_is_uint" = "yes"; then
28607 cat >>confdefs.h
<<\_ACEOF
28608 #define wxSIZE_T_IS_UINT 1
28612 echo "$as_me:$LINENO: checking if size_t is unsigned long" >&5
28613 echo $ECHO_N "checking if size_t is unsigned long... $ECHO_C" >&6
28614 if test "${wx_cv_size_t_is_ulong+set}" = set; then
28615 echo $ECHO_N "(cached) $ECHO_C" >&6
28617 cat >conftest.
$ac_ext <<_ACEOF
28620 cat confdefs.h
>>conftest.
$ac_ext
28621 cat >>conftest.
$ac_ext <<_ACEOF
28622 /* end confdefs.h. */
28623 #include <stddef.h>
28630 struct Foo { void foo(size_t); void foo(unsigned long); };
28638 rm -f conftest.
$ac_objext
28639 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28640 (eval $ac_compile) 2>conftest.er1
28642 grep -v '^ *+' conftest.er1
>conftest.err
28644 cat conftest.err
>&5
28645 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28646 (exit $ac_status); } &&
28647 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
28648 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28649 (eval $ac_try) 2>&5
28651 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28652 (exit $ac_status); }; } &&
28653 { ac_try
='test -s conftest.$ac_objext'
28654 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28655 (eval $ac_try) 2>&5
28657 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28658 (exit $ac_status); }; }; then
28659 wx_cv_size_t_is_ulong
=no
28661 echo "$as_me: failed program was:" >&5
28662 sed 's/^/| /' conftest.
$ac_ext >&5
28664 wx_cv_size_t_is_ulong
=yes
28667 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
28670 echo "$as_me:$LINENO: result: $wx_cv_size_t_is_ulong" >&5
28671 echo "${ECHO_T}$wx_cv_size_t_is_ulong" >&6
28673 if test "$wx_cv_size_t_is_ulong" = "yes"; then
28674 cat >>confdefs.h
<<\_ACEOF
28675 #define wxSIZE_T_IS_ULONG 1
28682 ac_cpp
='$CPP $CPPFLAGS'
28683 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28684 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28685 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
28689 echo "$as_me:$LINENO: checking for pw_gecos in struct passwd" >&5
28690 echo $ECHO_N "checking for pw_gecos in struct passwd... $ECHO_C" >&6
28691 if test "${wx_cv_struct_pw_gecos+set}" = set; then
28692 echo $ECHO_N "(cached) $ECHO_C" >&6
28695 cat >conftest.
$ac_ext <<_ACEOF
28698 cat confdefs.h
>>conftest.
$ac_ext
28699 cat >>conftest.
$ac_ext <<_ACEOF
28700 /* end confdefs.h. */
28714 rm -f conftest.
$ac_objext
28715 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28716 (eval $ac_compile) 2>conftest.er1
28718 grep -v '^ *+' conftest.er1
>conftest.err
28720 cat conftest.err
>&5
28721 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28722 (exit $ac_status); } &&
28723 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
28724 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28725 (eval $ac_try) 2>&5
28727 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28728 (exit $ac_status); }; } &&
28729 { ac_try
='test -s conftest.$ac_objext'
28730 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28731 (eval $ac_try) 2>&5
28733 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28734 (exit $ac_status); }; }; then
28736 wx_cv_struct_pw_gecos
=yes
28739 echo "$as_me: failed program was:" >&5
28740 sed 's/^/| /' conftest.
$ac_ext >&5
28743 wx_cv_struct_pw_gecos
=no
28747 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
28751 echo "$as_me:$LINENO: result: $wx_cv_struct_pw_gecos" >&5
28752 echo "${ECHO_T}$wx_cv_struct_pw_gecos" >&6
28754 if test "$wx_cv_struct_pw_gecos" = "yes"; then
28755 cat >>confdefs.h
<<\_ACEOF
28756 #define HAVE_PW_GECOS 1
28762 if test "$wx_cv_sizeof_wchar_t" != "0"; then
28763 cat >>confdefs.h
<<\_ACEOF
28764 #define wxUSE_WCHAR_T 1
28771 for ac_func
in wcslen
28773 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28774 echo "$as_me:$LINENO: checking for $ac_func" >&5
28775 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
28776 if eval "test \"\${$as_ac_var+set}\" = set"; then
28777 echo $ECHO_N "(cached) $ECHO_C" >&6
28779 cat >conftest.
$ac_ext <<_ACEOF
28782 cat confdefs.h
>>conftest.
$ac_ext
28783 cat >>conftest.
$ac_ext <<_ACEOF
28784 /* end confdefs.h. */
28785 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
28786 For example, HP-UX 11i <limits.h> declares gettimeofday. */
28787 #define $ac_func innocuous_$ac_func
28789 /* System header to define __stub macros and hopefully few prototypes,
28790 which can conflict with char $ac_func (); below.
28791 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28792 <limits.h> exists even on freestanding compilers. */
28795 # include <limits.h>
28797 # include <assert.h>
28802 /* Override any gcc2 internal prototype to avoid an error. */
28807 /* We use char because int might match the return type of a gcc2
28808 builtin and then its argument prototype would still apply. */
28810 /* The GNU C library defines this for functions which it implements
28811 to always fail with ENOSYS. Some functions are actually named
28812 something starting with __ and the normal name is an alias. */
28813 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
28816 char (*f) () = $ac_func;
28825 return f != $ac_func;
28830 rm -f conftest.
$ac_objext conftest
$ac_exeext
28831 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28832 (eval $ac_link) 2>conftest.er1
28834 grep -v '^ *+' conftest.er1
>conftest.err
28836 cat conftest.err
>&5
28837 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28838 (exit $ac_status); } &&
28839 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
28840 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28841 (eval $ac_try) 2>&5
28843 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28844 (exit $ac_status); }; } &&
28845 { ac_try
='test -s conftest$ac_exeext'
28846 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28847 (eval $ac_try) 2>&5
28849 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28850 (exit $ac_status); }; }; then
28851 eval "$as_ac_var=yes"
28853 echo "$as_me: failed program was:" >&5
28854 sed 's/^/| /' conftest.
$ac_ext >&5
28856 eval "$as_ac_var=no"
28858 rm -f conftest.err conftest.
$ac_objext \
28859 conftest
$ac_exeext conftest.
$ac_ext
28861 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
28862 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
28863 if test `eval echo '${'$as_ac_var'}'` = yes; then
28864 cat >>confdefs.h
<<_ACEOF
28865 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28872 if test "$WCSLEN_FOUND" = 0; then
28873 if test "$TOOLKIT" = "MSW"; then
28874 echo "$as_me:$LINENO: checking for wcslen in -lmsvcrt" >&5
28875 echo $ECHO_N "checking for wcslen in -lmsvcrt... $ECHO_C" >&6
28876 if test "${ac_cv_lib_msvcrt_wcslen+set}" = set; then
28877 echo $ECHO_N "(cached) $ECHO_C" >&6
28879 ac_check_lib_save_LIBS
=$LIBS
28880 LIBS
="-lmsvcrt $LIBS"
28881 cat >conftest.
$ac_ext <<_ACEOF
28884 cat confdefs.h
>>conftest.
$ac_ext
28885 cat >>conftest.
$ac_ext <<_ACEOF
28886 /* end confdefs.h. */
28888 /* Override any gcc2 internal prototype to avoid an error. */
28892 /* We use char because int might match the return type of a gcc2
28893 builtin and then its argument prototype would still apply. */
28903 rm -f conftest.
$ac_objext conftest
$ac_exeext
28904 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28905 (eval $ac_link) 2>conftest.er1
28907 grep -v '^ *+' conftest.er1
>conftest.err
28909 cat conftest.err
>&5
28910 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28911 (exit $ac_status); } &&
28912 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
28913 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28914 (eval $ac_try) 2>&5
28916 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28917 (exit $ac_status); }; } &&
28918 { ac_try
='test -s conftest$ac_exeext'
28919 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28920 (eval $ac_try) 2>&5
28922 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28923 (exit $ac_status); }; }; then
28924 ac_cv_lib_msvcrt_wcslen
=yes
28926 echo "$as_me: failed program was:" >&5
28927 sed 's/^/| /' conftest.
$ac_ext >&5
28929 ac_cv_lib_msvcrt_wcslen
=no
28931 rm -f conftest.err conftest.
$ac_objext \
28932 conftest
$ac_exeext conftest.
$ac_ext
28933 LIBS
=$ac_check_lib_save_LIBS
28935 echo "$as_me:$LINENO: result: $ac_cv_lib_msvcrt_wcslen" >&5
28936 echo "${ECHO_T}$ac_cv_lib_msvcrt_wcslen" >&6
28937 if test $ac_cv_lib_msvcrt_wcslen = yes; then
28942 echo "$as_me:$LINENO: checking for wcslen in -lw" >&5
28943 echo $ECHO_N "checking for wcslen in -lw... $ECHO_C" >&6
28944 if test "${ac_cv_lib_w_wcslen+set}" = set; then
28945 echo $ECHO_N "(cached) $ECHO_C" >&6
28947 ac_check_lib_save_LIBS
=$LIBS
28949 cat >conftest.
$ac_ext <<_ACEOF
28952 cat confdefs.h
>>conftest.
$ac_ext
28953 cat >>conftest.
$ac_ext <<_ACEOF
28954 /* end confdefs.h. */
28956 /* Override any gcc2 internal prototype to avoid an error. */
28960 /* We use char because int might match the return type of a gcc2
28961 builtin and then its argument prototype would still apply. */
28971 rm -f conftest.
$ac_objext conftest
$ac_exeext
28972 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28973 (eval $ac_link) 2>conftest.er1
28975 grep -v '^ *+' conftest.er1
>conftest.err
28977 cat conftest.err
>&5
28978 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28979 (exit $ac_status); } &&
28980 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
28981 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28982 (eval $ac_try) 2>&5
28984 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28985 (exit $ac_status); }; } &&
28986 { ac_try
='test -s conftest$ac_exeext'
28987 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28988 (eval $ac_try) 2>&5
28990 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28991 (exit $ac_status); }; }; then
28992 ac_cv_lib_w_wcslen
=yes
28994 echo "$as_me: failed program was:" >&5
28995 sed 's/^/| /' conftest.
$ac_ext >&5
28997 ac_cv_lib_w_wcslen
=no
28999 rm -f conftest.err conftest.
$ac_objext \
29000 conftest
$ac_exeext conftest.
$ac_ext
29001 LIBS
=$ac_check_lib_save_LIBS
29003 echo "$as_me:$LINENO: result: $ac_cv_lib_w_wcslen" >&5
29004 echo "${ECHO_T}$ac_cv_lib_w_wcslen" >&6
29005 if test $ac_cv_lib_w_wcslen = yes; then
29015 if test "$WCSLEN_FOUND" = 1; then
29016 cat >>confdefs.h
<<\_ACEOF
29017 #define HAVE_WCSLEN 1
29022 if test "$USE_HPUX" = 1 -a "x$GCC" != "xyes"; then
29023 CPPFLAGS
="$CPPFLAGS -D_INCLUDE__STDC_A1_SOURCE "
29027 for ac_func
in wcsrtombs
29029 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
29030 echo "$as_me:$LINENO: checking for $ac_func" >&5
29031 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
29032 if eval "test \"\${$as_ac_var+set}\" = set"; then
29033 echo $ECHO_N "(cached) $ECHO_C" >&6
29035 cat >conftest.
$ac_ext <<_ACEOF
29038 cat confdefs.h
>>conftest.
$ac_ext
29039 cat >>conftest.
$ac_ext <<_ACEOF
29040 /* end confdefs.h. */
29041 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
29042 For example, HP-UX 11i <limits.h> declares gettimeofday. */
29043 #define $ac_func innocuous_$ac_func
29045 /* System header to define __stub macros and hopefully few prototypes,
29046 which can conflict with char $ac_func (); below.
29047 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29048 <limits.h> exists even on freestanding compilers. */
29051 # include <limits.h>
29053 # include <assert.h>
29058 /* Override any gcc2 internal prototype to avoid an error. */
29063 /* We use char because int might match the return type of a gcc2
29064 builtin and then its argument prototype would still apply. */
29066 /* The GNU C library defines this for functions which it implements
29067 to always fail with ENOSYS. Some functions are actually named
29068 something starting with __ and the normal name is an alias. */
29069 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
29072 char (*f) () = $ac_func;
29081 return f != $ac_func;
29086 rm -f conftest.
$ac_objext conftest
$ac_exeext
29087 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29088 (eval $ac_link) 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_c_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_exeext'
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 eval "$as_ac_var=yes"
29109 echo "$as_me: failed program was:" >&5
29110 sed 's/^/| /' conftest.
$ac_ext >&5
29112 eval "$as_ac_var=no"
29114 rm -f conftest.err conftest.
$ac_objext \
29115 conftest
$ac_exeext conftest.
$ac_ext
29117 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
29118 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
29119 if test `eval echo '${'$as_ac_var'}'` = yes; then
29120 cat >>confdefs.h
<<_ACEOF
29121 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
29128 { echo "$as_me:$LINENO: WARNING: Wide character support is unavailable" >&5
29129 echo "$as_me: WARNING: Wide character support is unavailable" >&2;}
29135 ac_cpp
='$CXXCPP $CPPFLAGS'
29136 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29137 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29138 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
29142 for ac_func
in vsnprintf
29144 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
29145 echo "$as_me:$LINENO: checking for $ac_func" >&5
29146 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
29147 if eval "test \"\${$as_ac_var+set}\" = set"; then
29148 echo $ECHO_N "(cached) $ECHO_C" >&6
29150 cat >conftest.
$ac_ext <<_ACEOF
29153 cat confdefs.h
>>conftest.
$ac_ext
29154 cat >>conftest.
$ac_ext <<_ACEOF
29155 /* end confdefs.h. */
29156 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
29157 For example, HP-UX 11i <limits.h> declares gettimeofday. */
29158 #define $ac_func innocuous_$ac_func
29160 /* System header to define __stub macros and hopefully few prototypes,
29161 which can conflict with char $ac_func (); below.
29162 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29163 <limits.h> exists even on freestanding compilers. */
29166 # include <limits.h>
29168 # include <assert.h>
29173 /* Override any gcc2 internal prototype to avoid an error. */
29178 /* We use char because int might match the return type of a gcc2
29179 builtin and then its argument prototype would still apply. */
29181 /* The GNU C library defines this for functions which it implements
29182 to always fail with ENOSYS. Some functions are actually named
29183 something starting with __ and the normal name is an alias. */
29184 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
29187 char (*f) () = $ac_func;
29196 return f != $ac_func;
29201 rm -f conftest.
$ac_objext conftest
$ac_exeext
29202 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29203 (eval $ac_link) 2>conftest.er1
29205 grep -v '^ *+' conftest.er1
>conftest.err
29207 cat conftest.err
>&5
29208 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29209 (exit $ac_status); } &&
29210 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
29211 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29212 (eval $ac_try) 2>&5
29214 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29215 (exit $ac_status); }; } &&
29216 { ac_try
='test -s conftest$ac_exeext'
29217 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29218 (eval $ac_try) 2>&5
29220 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29221 (exit $ac_status); }; }; then
29222 eval "$as_ac_var=yes"
29224 echo "$as_me: failed program was:" >&5
29225 sed 's/^/| /' conftest.
$ac_ext >&5
29227 eval "$as_ac_var=no"
29229 rm -f conftest.err conftest.
$ac_objext \
29230 conftest
$ac_exeext conftest.
$ac_ext
29232 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
29233 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
29234 if test `eval echo '${'$as_ac_var'}'` = yes; then
29235 cat >>confdefs.h
<<_ACEOF
29236 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
29243 if test "$ac_cv_func_vsnprintf" = "yes"; then
29244 echo "$as_me:$LINENO: checking for vsnprintf declaration" >&5
29245 echo $ECHO_N "checking for vsnprintf declaration... $ECHO_C" >&6
29246 if test "${wx_cv_func_vsnprintf_decl+set}" = set; then
29247 echo $ECHO_N "(cached) $ECHO_C" >&6
29250 cat >conftest.
$ac_ext <<_ACEOF
29253 cat confdefs.h
>>conftest.
$ac_ext
29254 cat >>conftest.
$ac_ext <<_ACEOF
29255 /* end confdefs.h. */
29258 #include <stdarg.h>
29266 vsnprintf(buf, 10u, "%s", ap);
29272 rm -f conftest.
$ac_objext
29273 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29274 (eval $ac_compile) 2>conftest.er1
29276 grep -v '^ *+' conftest.er1
>conftest.err
29278 cat conftest.err
>&5
29279 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29280 (exit $ac_status); } &&
29281 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
29282 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29283 (eval $ac_try) 2>&5
29285 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29286 (exit $ac_status); }; } &&
29287 { ac_try
='test -s conftest.$ac_objext'
29288 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29289 (eval $ac_try) 2>&5
29291 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29292 (exit $ac_status); }; }; then
29293 wx_cv_func_vsnprintf_decl
=yes
29295 echo "$as_me: failed program was:" >&5
29296 sed 's/^/| /' conftest.
$ac_ext >&5
29298 wx_cv_func_vsnprintf_decl
=no
29301 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
29305 echo "$as_me:$LINENO: result: $wx_cv_func_vsnprintf_decl" >&5
29306 echo "${ECHO_T}$wx_cv_func_vsnprintf_decl" >&6
29308 if test "$wx_cv_func_vsnprintf_decl" = "yes"; then
29309 cat >>confdefs.h
<<\_ACEOF
29310 #define HAVE_VSNPRINTF_DECL 1
29316 if test "$wxUSE_UNICODE" = yes; then
29320 for ac_func
in fputwc wprintf vswprintf
29322 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
29323 echo "$as_me:$LINENO: checking for $ac_func" >&5
29324 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
29325 if eval "test \"\${$as_ac_var+set}\" = set"; then
29326 echo $ECHO_N "(cached) $ECHO_C" >&6
29328 cat >conftest.
$ac_ext <<_ACEOF
29331 cat confdefs.h
>>conftest.
$ac_ext
29332 cat >>conftest.
$ac_ext <<_ACEOF
29333 /* end confdefs.h. */
29334 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
29335 For example, HP-UX 11i <limits.h> declares gettimeofday. */
29336 #define $ac_func innocuous_$ac_func
29338 /* System header to define __stub macros and hopefully few prototypes,
29339 which can conflict with char $ac_func (); below.
29340 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29341 <limits.h> exists even on freestanding compilers. */
29344 # include <limits.h>
29346 # include <assert.h>
29351 /* Override any gcc2 internal prototype to avoid an error. */
29356 /* We use char because int might match the return type of a gcc2
29357 builtin and then its argument prototype would still apply. */
29359 /* The GNU C library defines this for functions which it implements
29360 to always fail with ENOSYS. Some functions are actually named
29361 something starting with __ and the normal name is an alias. */
29362 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
29365 char (*f) () = $ac_func;
29374 return f != $ac_func;
29379 rm -f conftest.
$ac_objext conftest
$ac_exeext
29380 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29381 (eval $ac_link) 2>conftest.er1
29383 grep -v '^ *+' conftest.er1
>conftest.err
29385 cat conftest.err
>&5
29386 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29387 (exit $ac_status); } &&
29388 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
29389 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29390 (eval $ac_try) 2>&5
29392 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29393 (exit $ac_status); }; } &&
29394 { ac_try
='test -s conftest$ac_exeext'
29395 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29396 (eval $ac_try) 2>&5
29398 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29399 (exit $ac_status); }; }; then
29400 eval "$as_ac_var=yes"
29402 echo "$as_me: failed program was:" >&5
29403 sed 's/^/| /' conftest.
$ac_ext >&5
29405 eval "$as_ac_var=no"
29407 rm -f conftest.err conftest.
$ac_objext \
29408 conftest
$ac_exeext conftest.
$ac_ext
29410 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
29411 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
29412 if test `eval echo '${'$as_ac_var'}'` = yes; then
29413 cat >>confdefs.h
<<_ACEOF
29414 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
29421 echo "$as_me:$LINENO: checking for _vsnwprintf" >&5
29422 echo $ECHO_N "checking for _vsnwprintf... $ECHO_C" >&6
29423 cat >conftest.
$ac_ext <<_ACEOF
29426 cat confdefs.h
>>conftest.
$ac_ext
29427 cat >>conftest.
$ac_ext <<_ACEOF
29428 /* end confdefs.h. */
29438 rm -f conftest.
$ac_objext
29439 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29440 (eval $ac_compile) 2>conftest.er1
29442 grep -v '^ *+' conftest.er1
>conftest.err
29444 cat conftest.err
>&5
29445 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29446 (exit $ac_status); } &&
29447 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
29448 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29449 (eval $ac_try) 2>&5
29451 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29452 (exit $ac_status); }; } &&
29453 { ac_try
='test -s conftest.$ac_objext'
29454 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29455 (eval $ac_try) 2>&5
29457 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29458 (exit $ac_status); }; }; then
29459 echo "$as_me:$LINENO: result: yes" >&5
29460 echo "${ECHO_T}yes" >&6
29461 cat >>confdefs.h
<<\_ACEOF
29462 #define HAVE__VSNWPRINTF 1
29466 echo "$as_me: failed program was:" >&5
29467 sed 's/^/| /' conftest.
$ac_ext >&5
29469 echo "$as_me:$LINENO: result: no" >&5
29470 echo "${ECHO_T}no" >&6
29472 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext;
29476 ac_cpp
='$CPP $CPPFLAGS'
29477 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29478 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29479 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
29484 if test "$TOOLKIT" != "MSW"; then
29490 ac_cpp
='$CXXCPP $CPPFLAGS'
29491 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29492 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29493 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
29498 # Check whether --with-libiconv-prefix or --without-libiconv-prefix was given.
29499 if test "${with_libiconv_prefix+set}" = set; then
29500 withval
="$with_libiconv_prefix"
29502 for dir
in `echo "$withval" | tr : ' '`; do
29503 if test -d $dir/include
; then CPPFLAGS
="$CPPFLAGS -I$dir/include"; fi
29504 if test -d $dir/lib
; then LDFLAGS
="$LDFLAGS -L$dir/lib"; fi
29509 echo "$as_me:$LINENO: checking for iconv" >&5
29510 echo $ECHO_N "checking for iconv... $ECHO_C" >&6
29511 if test "${am_cv_func_iconv+set}" = set; then
29512 echo $ECHO_N "(cached) $ECHO_C" >&6
29515 am_cv_func_iconv
="no, consider installing GNU libiconv"
29517 cat >conftest.
$ac_ext <<_ACEOF
29520 cat confdefs.h
>>conftest.
$ac_ext
29521 cat >>conftest.
$ac_ext <<_ACEOF
29522 /* end confdefs.h. */
29523 #include <stdlib.h>
29528 iconv_t cd = iconv_open("","");
29529 iconv(cd,NULL,NULL,NULL,NULL);
29535 rm -f conftest.
$ac_objext conftest
$ac_exeext
29536 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29537 (eval $ac_link) 2>conftest.er1
29539 grep -v '^ *+' conftest.er1
>conftest.err
29541 cat conftest.err
>&5
29542 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29543 (exit $ac_status); } &&
29544 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
29545 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29546 (eval $ac_try) 2>&5
29548 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29549 (exit $ac_status); }; } &&
29550 { ac_try
='test -s conftest$ac_exeext'
29551 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29552 (eval $ac_try) 2>&5
29554 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29555 (exit $ac_status); }; }; then
29556 am_cv_func_iconv
=yes
29558 echo "$as_me: failed program was:" >&5
29559 sed 's/^/| /' conftest.
$ac_ext >&5
29562 rm -f conftest.err conftest.
$ac_objext \
29563 conftest
$ac_exeext conftest.
$ac_ext
29564 if test "$am_cv_func_iconv" != yes; then
29565 am_save_LIBS
="$LIBS"
29566 LIBS
="$LIBS -liconv"
29567 cat >conftest.
$ac_ext <<_ACEOF
29570 cat confdefs.h
>>conftest.
$ac_ext
29571 cat >>conftest.
$ac_ext <<_ACEOF
29572 /* end confdefs.h. */
29573 #include <stdlib.h>
29578 iconv_t cd = iconv_open("","");
29579 iconv(cd,NULL,NULL,NULL,NULL);
29585 rm -f conftest.
$ac_objext conftest
$ac_exeext
29586 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29587 (eval $ac_link) 2>conftest.er1
29589 grep -v '^ *+' conftest.er1
>conftest.err
29591 cat conftest.err
>&5
29592 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29593 (exit $ac_status); } &&
29594 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
29595 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29596 (eval $ac_try) 2>&5
29598 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29599 (exit $ac_status); }; } &&
29600 { ac_try
='test -s conftest$ac_exeext'
29601 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29602 (eval $ac_try) 2>&5
29604 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29605 (exit $ac_status); }; }; then
29606 am_cv_lib_iconv
=yes
29607 am_cv_func_iconv
=yes
29609 echo "$as_me: failed program was:" >&5
29610 sed 's/^/| /' conftest.
$ac_ext >&5
29613 rm -f conftest.err conftest.
$ac_objext \
29614 conftest
$ac_exeext conftest.
$ac_ext
29615 LIBS
="$am_save_LIBS"
29619 echo "$as_me:$LINENO: result: $am_cv_func_iconv" >&5
29620 echo "${ECHO_T}$am_cv_func_iconv" >&6
29621 if test "$am_cv_func_iconv" = yes; then
29623 cat >>confdefs.h
<<\_ACEOF
29624 #define HAVE_ICONV 1
29627 echo "$as_me:$LINENO: checking if iconv needs const" >&5
29628 echo $ECHO_N "checking if iconv needs const... $ECHO_C" >&6
29629 if test "${wx_cv_func_iconv_const+set}" = set; then
29630 echo $ECHO_N "(cached) $ECHO_C" >&6
29632 cat >conftest.
$ac_ext <<_ACEOF
29635 cat confdefs.h
>>conftest.
$ac_ext
29636 cat >>conftest.
$ac_ext <<_ACEOF
29637 /* end confdefs.h. */
29639 #include <stdlib.h>
29645 #if defined(__STDC__) || defined(__cplusplus)
29646 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
29659 rm -f conftest.
$ac_objext
29660 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29661 (eval $ac_compile) 2>conftest.er1
29663 grep -v '^ *+' conftest.er1
>conftest.err
29665 cat conftest.err
>&5
29666 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29667 (exit $ac_status); } &&
29668 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
29669 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29670 (eval $ac_try) 2>&5
29672 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29673 (exit $ac_status); }; } &&
29674 { ac_try
='test -s conftest.$ac_objext'
29675 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29676 (eval $ac_try) 2>&5
29678 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29679 (exit $ac_status); }; }; then
29680 wx_cv_func_iconv_const
="no"
29682 echo "$as_me: failed program was:" >&5
29683 sed 's/^/| /' conftest.
$ac_ext >&5
29685 wx_cv_func_iconv_const
="yes"
29688 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
29691 echo "$as_me:$LINENO: result: $wx_cv_func_iconv_const" >&5
29692 echo "${ECHO_T}$wx_cv_func_iconv_const" >&6
29695 if test "x$wx_cv_func_iconv_const" = "xyes"; then
29696 iconv_const
="const"
29700 cat >>confdefs.h
<<_ACEOF
29701 #define ICONV_CONST $iconv_const
29706 if test "$am_cv_lib_iconv" = yes; then
29711 LIBS
="$LIBICONV $LIBS"
29713 ac_cpp
='$CPP $CPPFLAGS'
29714 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29715 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29716 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
29719 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes" -a "$wxUSE_UNIX" = "yes"; then
29721 for ac_func
in sigaction
29723 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
29724 echo "$as_me:$LINENO: checking for $ac_func" >&5
29725 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
29726 if eval "test \"\${$as_ac_var+set}\" = set"; then
29727 echo $ECHO_N "(cached) $ECHO_C" >&6
29729 cat >conftest.
$ac_ext <<_ACEOF
29732 cat confdefs.h
>>conftest.
$ac_ext
29733 cat >>conftest.
$ac_ext <<_ACEOF
29734 /* end confdefs.h. */
29735 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
29736 For example, HP-UX 11i <limits.h> declares gettimeofday. */
29737 #define $ac_func innocuous_$ac_func
29739 /* System header to define __stub macros and hopefully few prototypes,
29740 which can conflict with char $ac_func (); below.
29741 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29742 <limits.h> exists even on freestanding compilers. */
29745 # include <limits.h>
29747 # include <assert.h>
29752 /* Override any gcc2 internal prototype to avoid an error. */
29757 /* We use char because int might match the return type of a gcc2
29758 builtin and then its argument prototype would still apply. */
29760 /* The GNU C library defines this for functions which it implements
29761 to always fail with ENOSYS. Some functions are actually named
29762 something starting with __ and the normal name is an alias. */
29763 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
29766 char (*f) () = $ac_func;
29775 return f != $ac_func;
29780 rm -f conftest.
$ac_objext conftest
$ac_exeext
29781 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29782 (eval $ac_link) 2>conftest.er1
29784 grep -v '^ *+' conftest.er1
>conftest.err
29786 cat conftest.err
>&5
29787 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29788 (exit $ac_status); } &&
29789 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
29790 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29791 (eval $ac_try) 2>&5
29793 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29794 (exit $ac_status); }; } &&
29795 { ac_try
='test -s conftest$ac_exeext'
29796 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29797 (eval $ac_try) 2>&5
29799 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29800 (exit $ac_status); }; }; then
29801 eval "$as_ac_var=yes"
29803 echo "$as_me: failed program was:" >&5
29804 sed 's/^/| /' conftest.
$ac_ext >&5
29806 eval "$as_ac_var=no"
29808 rm -f conftest.err conftest.
$ac_objext \
29809 conftest
$ac_exeext conftest.
$ac_ext
29811 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
29812 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
29813 if test `eval echo '${'$as_ac_var'}'` = yes; then
29814 cat >>confdefs.h
<<_ACEOF
29815 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
29822 if test "$ac_cv_func_sigaction" = "no"; then
29823 { echo "$as_me:$LINENO: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&5
29824 echo "$as_me: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&2;}
29825 wxUSE_ON_FATAL_EXCEPTION
=no
29828 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
29832 ac_cpp
='$CXXCPP $CPPFLAGS'
29833 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29834 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29835 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
29838 echo "$as_me:$LINENO: checking for sa_handler type" >&5
29839 echo $ECHO_N "checking for sa_handler type... $ECHO_C" >&6
29840 if test "${wx_cv_type_sa_handler+set}" = set; then
29841 echo $ECHO_N "(cached) $ECHO_C" >&6
29844 cat >conftest.
$ac_ext <<_ACEOF
29847 cat confdefs.h
>>conftest.
$ac_ext
29848 cat >>conftest.
$ac_ext <<_ACEOF
29849 /* end confdefs.h. */
29850 #include <signal.h>
29855 extern void testSigHandler(int);
29857 struct sigaction sa;
29858 sa.sa_handler = testSigHandler;
29864 rm -f conftest.
$ac_objext
29865 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29866 (eval $ac_compile) 2>conftest.er1
29868 grep -v '^ *+' conftest.er1
>conftest.err
29870 cat conftest.err
>&5
29871 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29872 (exit $ac_status); } &&
29873 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
29874 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29875 (eval $ac_try) 2>&5
29877 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29878 (exit $ac_status); }; } &&
29879 { ac_try
='test -s conftest.$ac_objext'
29880 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29881 (eval $ac_try) 2>&5
29883 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29884 (exit $ac_status); }; }; then
29886 wx_cv_type_sa_handler
=int
29889 echo "$as_me: failed program was:" >&5
29890 sed 's/^/| /' conftest.
$ac_ext >&5
29893 wx_cv_type_sa_handler
=void
29896 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
29899 echo "$as_me:$LINENO: result: $wx_cv_type_sa_handler" >&5
29900 echo "${ECHO_T}$wx_cv_type_sa_handler" >&6
29903 ac_cpp
='$CPP $CPPFLAGS'
29904 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29905 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29906 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
29909 cat >>confdefs.h
<<_ACEOF
29910 #define wxTYPE_SA_HANDLER $wx_cv_type_sa_handler
29918 for ac_func
in mkstemp mktemp
29920 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
29921 echo "$as_me:$LINENO: checking for $ac_func" >&5
29922 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
29923 if eval "test \"\${$as_ac_var+set}\" = set"; then
29924 echo $ECHO_N "(cached) $ECHO_C" >&6
29926 cat >conftest.
$ac_ext <<_ACEOF
29929 cat confdefs.h
>>conftest.
$ac_ext
29930 cat >>conftest.
$ac_ext <<_ACEOF
29931 /* end confdefs.h. */
29932 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
29933 For example, HP-UX 11i <limits.h> declares gettimeofday. */
29934 #define $ac_func innocuous_$ac_func
29936 /* System header to define __stub macros and hopefully few prototypes,
29937 which can conflict with char $ac_func (); below.
29938 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29939 <limits.h> exists even on freestanding compilers. */
29942 # include <limits.h>
29944 # include <assert.h>
29949 /* Override any gcc2 internal prototype to avoid an error. */
29954 /* We use char because int might match the return type of a gcc2
29955 builtin and then its argument prototype would still apply. */
29957 /* The GNU C library defines this for functions which it implements
29958 to always fail with ENOSYS. Some functions are actually named
29959 something starting with __ and the normal name is an alias. */
29960 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
29963 char (*f) () = $ac_func;
29972 return f != $ac_func;
29977 rm -f conftest.
$ac_objext conftest
$ac_exeext
29978 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29979 (eval $ac_link) 2>conftest.er1
29981 grep -v '^ *+' conftest.er1
>conftest.err
29983 cat conftest.err
>&5
29984 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29985 (exit $ac_status); } &&
29986 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
29987 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29988 (eval $ac_try) 2>&5
29990 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29991 (exit $ac_status); }; } &&
29992 { ac_try
='test -s conftest$ac_exeext'
29993 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29994 (eval $ac_try) 2>&5
29996 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29997 (exit $ac_status); }; }; then
29998 eval "$as_ac_var=yes"
30000 echo "$as_me: failed program was:" >&5
30001 sed 's/^/| /' conftest.
$ac_ext >&5
30003 eval "$as_ac_var=no"
30005 rm -f conftest.err conftest.
$ac_objext \
30006 conftest
$ac_exeext conftest.
$ac_ext
30008 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
30009 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
30010 if test `eval echo '${'$as_ac_var'}'` = yes; then
30011 cat >>confdefs.h
<<_ACEOF
30012 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
30019 echo "$as_me:$LINENO: checking for statfs" >&5
30020 echo $ECHO_N "checking for statfs... $ECHO_C" >&6
30021 if test "${wx_cv_func_statfs+set}" = set; then
30022 echo $ECHO_N "(cached) $ECHO_C" >&6
30024 cat >conftest.
$ac_ext <<_ACEOF
30027 cat confdefs.h
>>conftest.
$ac_ext
30028 cat >>conftest.
$ac_ext <<_ACEOF
30029 /* end confdefs.h. */
30031 #if defined(__BSD__)
30032 #include <sys/param.h>
30033 #include <sys/mount.h>
30035 #include <sys/vfs.h>
30053 rm -f conftest.
$ac_objext
30054 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30055 (eval $ac_compile) 2>conftest.er1
30057 grep -v '^ *+' conftest.er1
>conftest.err
30059 cat conftest.err
>&5
30060 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30061 (exit $ac_status); } &&
30062 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
30063 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30064 (eval $ac_try) 2>&5
30066 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30067 (exit $ac_status); }; } &&
30068 { ac_try
='test -s conftest.$ac_objext'
30069 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30070 (eval $ac_try) 2>&5
30072 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30073 (exit $ac_status); }; }; then
30075 wx_cv_func_statfs
=yes
30078 echo "$as_me: failed program was:" >&5
30079 sed 's/^/| /' conftest.
$ac_ext >&5
30082 wx_cv_func_statfs
=no
30086 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
30089 echo "$as_me:$LINENO: result: $wx_cv_func_statfs" >&5
30090 echo "${ECHO_T}$wx_cv_func_statfs" >&6
30092 if test "$wx_cv_func_statfs" = "yes"; then
30093 wx_cv_type_statvfs_t
="struct statfs"
30094 cat >>confdefs.h
<<\_ACEOF
30095 #define HAVE_STATFS 1
30099 echo "$as_me:$LINENO: checking for statvfs" >&5
30100 echo $ECHO_N "checking for statvfs... $ECHO_C" >&6
30101 if test "${wx_cv_func_statvfs+set}" = set; then
30102 echo $ECHO_N "(cached) $ECHO_C" >&6
30104 cat >conftest.
$ac_ext <<_ACEOF
30107 cat confdefs.h
>>conftest.
$ac_ext
30108 cat >>conftest.
$ac_ext <<_ACEOF
30109 /* end confdefs.h. */
30111 #include <stddef.h>
30112 #include <sys/statvfs.h>
30118 statvfs("/", NULL);
30124 rm -f conftest.
$ac_objext
30125 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30126 (eval $ac_compile) 2>conftest.er1
30128 grep -v '^ *+' conftest.er1
>conftest.err
30130 cat conftest.err
>&5
30131 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30132 (exit $ac_status); } &&
30133 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
30134 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30135 (eval $ac_try) 2>&5
30137 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30138 (exit $ac_status); }; } &&
30139 { ac_try
='test -s conftest.$ac_objext'
30140 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30141 (eval $ac_try) 2>&5
30143 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30144 (exit $ac_status); }; }; then
30145 wx_cv_func_statvfs
=yes
30147 echo "$as_me: failed program was:" >&5
30148 sed 's/^/| /' conftest.
$ac_ext >&5
30150 wx_cv_func_statvfs
=no
30153 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
30156 echo "$as_me:$LINENO: result: $wx_cv_func_statvfs" >&5
30157 echo "${ECHO_T}$wx_cv_func_statvfs" >&6
30159 if test "$wx_cv_func_statvfs" = "yes"; then
30163 ac_cpp
='$CXXCPP $CPPFLAGS'
30164 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30165 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30166 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
30169 echo "$as_me:$LINENO: checking for statvfs argument type" >&5
30170 echo $ECHO_N "checking for statvfs argument type... $ECHO_C" >&6
30171 if test "${wx_cv_type_statvfs_t+set}" = set; then
30172 echo $ECHO_N "(cached) $ECHO_C" >&6
30174 cat >conftest.
$ac_ext <<_ACEOF
30177 cat confdefs.h
>>conftest.
$ac_ext
30178 cat >>conftest.
$ac_ext <<_ACEOF
30179 /* end confdefs.h. */
30181 #include <sys/statvfs.h>
30198 rm -f conftest.
$ac_objext
30199 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30200 (eval $ac_compile) 2>conftest.er1
30202 grep -v '^ *+' conftest.er1
>conftest.err
30204 cat conftest.err
>&5
30205 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30206 (exit $ac_status); } &&
30207 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
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); }; } &&
30213 { ac_try
='test -s conftest.$ac_objext'
30214 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30215 (eval $ac_try) 2>&5
30217 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30218 (exit $ac_status); }; }; then
30219 wx_cv_type_statvfs_t
=statvfs_t
30221 echo "$as_me: failed program was:" >&5
30222 sed 's/^/| /' conftest.
$ac_ext >&5
30225 cat >conftest.
$ac_ext <<_ACEOF
30228 cat confdefs.h
>>conftest.
$ac_ext
30229 cat >>conftest.
$ac_ext <<_ACEOF
30230 /* end confdefs.h. */
30232 #include <sys/statvfs.h>
30249 rm -f conftest.
$ac_objext
30250 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30251 (eval $ac_compile) 2>conftest.er1
30253 grep -v '^ *+' conftest.er1
>conftest.err
30255 cat conftest.err
>&5
30256 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30257 (exit $ac_status); } &&
30258 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
30259 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30260 (eval $ac_try) 2>&5
30262 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30263 (exit $ac_status); }; } &&
30264 { ac_try
='test -s conftest.$ac_objext'
30265 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30266 (eval $ac_try) 2>&5
30268 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30269 (exit $ac_status); }; }; then
30270 wx_cv_type_statvfs_t
="struct statvfs"
30272 echo "$as_me: failed program was:" >&5
30273 sed 's/^/| /' conftest.
$ac_ext >&5
30275 wx_cv_type_statvfs_t
="unknown"
30278 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
30282 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
30285 echo "$as_me:$LINENO: result: $wx_cv_type_statvfs_t" >&5
30286 echo "${ECHO_T}$wx_cv_type_statvfs_t" >&6
30289 ac_cpp
='$CPP $CPPFLAGS'
30290 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30291 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30292 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
30295 if test "$wx_cv_type_statvfs_t" != "unknown"; then
30296 cat >>confdefs.h
<<\_ACEOF
30297 #define HAVE_STATVFS 1
30302 wx_cv_type_statvfs_t
="unknown"
30306 if test "$wx_cv_type_statvfs_t" != "unknown"; then
30307 cat >>confdefs.h
<<_ACEOF
30308 #define WX_STATFS_T $wx_cv_type_statvfs_t
30312 { echo "$as_me:$LINENO: WARNING: wxGetDiskSpace() function won't work without statfs()" >&5
30313 echo "$as_me: WARNING: wxGetDiskSpace() function won't work without statfs()" >&2;}
30316 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
30319 for ac_func
in fcntl flock
30321 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
30322 echo "$as_me:$LINENO: checking for $ac_func" >&5
30323 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
30324 if eval "test \"\${$as_ac_var+set}\" = set"; then
30325 echo $ECHO_N "(cached) $ECHO_C" >&6
30327 cat >conftest.
$ac_ext <<_ACEOF
30330 cat confdefs.h
>>conftest.
$ac_ext
30331 cat >>conftest.
$ac_ext <<_ACEOF
30332 /* end confdefs.h. */
30333 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
30334 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30335 #define $ac_func innocuous_$ac_func
30337 /* System header to define __stub macros and hopefully few prototypes,
30338 which can conflict with char $ac_func (); below.
30339 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30340 <limits.h> exists even on freestanding compilers. */
30343 # include <limits.h>
30345 # include <assert.h>
30350 /* Override any gcc2 internal prototype to avoid an error. */
30355 /* We use char because int might match the return type of a gcc2
30356 builtin and then its argument prototype would still apply. */
30358 /* The GNU C library defines this for functions which it implements
30359 to always fail with ENOSYS. Some functions are actually named
30360 something starting with __ and the normal name is an alias. */
30361 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
30364 char (*f) () = $ac_func;
30373 return f != $ac_func;
30378 rm -f conftest.
$ac_objext conftest
$ac_exeext
30379 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30380 (eval $ac_link) 2>conftest.er1
30382 grep -v '^ *+' conftest.er1
>conftest.err
30384 cat conftest.err
>&5
30385 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30386 (exit $ac_status); } &&
30387 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
30388 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30389 (eval $ac_try) 2>&5
30391 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30392 (exit $ac_status); }; } &&
30393 { ac_try
='test -s conftest$ac_exeext'
30394 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30395 (eval $ac_try) 2>&5
30397 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30398 (exit $ac_status); }; }; then
30399 eval "$as_ac_var=yes"
30401 echo "$as_me: failed program was:" >&5
30402 sed 's/^/| /' conftest.
$ac_ext >&5
30404 eval "$as_ac_var=no"
30406 rm -f conftest.err conftest.
$ac_objext \
30407 conftest
$ac_exeext conftest.
$ac_ext
30409 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
30410 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
30411 if test `eval echo '${'$as_ac_var'}'` = yes; then
30412 cat >>confdefs.h
<<_ACEOF
30413 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
30420 if test "$ac_cv_func_fcntl" != "yes" -a "$ac_cv_func_flock" != "yes"; then
30421 { echo "$as_me:$LINENO: WARNING: wxSingleInstanceChecker not available" >&5
30422 echo "$as_me: WARNING: wxSingleInstanceChecker not available" >&2;}
30423 wxUSE_SNGLINST_CHECKER
=no
30428 for ac_func
in timegm
30430 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
30431 echo "$as_me:$LINENO: checking for $ac_func" >&5
30432 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
30433 if eval "test \"\${$as_ac_var+set}\" = set"; then
30434 echo $ECHO_N "(cached) $ECHO_C" >&6
30436 cat >conftest.
$ac_ext <<_ACEOF
30439 cat confdefs.h
>>conftest.
$ac_ext
30440 cat >>conftest.
$ac_ext <<_ACEOF
30441 /* end confdefs.h. */
30442 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
30443 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30444 #define $ac_func innocuous_$ac_func
30446 /* System header to define __stub macros and hopefully few prototypes,
30447 which can conflict with char $ac_func (); below.
30448 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30449 <limits.h> exists even on freestanding compilers. */
30452 # include <limits.h>
30454 # include <assert.h>
30459 /* Override any gcc2 internal prototype to avoid an error. */
30464 /* We use char because int might match the return type of a gcc2
30465 builtin and then its argument prototype would still apply. */
30467 /* The GNU C library defines this for functions which it implements
30468 to always fail with ENOSYS. Some functions are actually named
30469 something starting with __ and the normal name is an alias. */
30470 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
30473 char (*f) () = $ac_func;
30482 return f != $ac_func;
30487 rm -f conftest.
$ac_objext conftest
$ac_exeext
30488 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30489 (eval $ac_link) 2>conftest.er1
30491 grep -v '^ *+' conftest.er1
>conftest.err
30493 cat conftest.err
>&5
30494 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30495 (exit $ac_status); } &&
30496 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
30497 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30498 (eval $ac_try) 2>&5
30500 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30501 (exit $ac_status); }; } &&
30502 { ac_try
='test -s conftest$ac_exeext'
30503 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30504 (eval $ac_try) 2>&5
30506 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30507 (exit $ac_status); }; }; then
30508 eval "$as_ac_var=yes"
30510 echo "$as_me: failed program was:" >&5
30511 sed 's/^/| /' conftest.
$ac_ext >&5
30513 eval "$as_ac_var=no"
30515 rm -f conftest.err conftest.
$ac_objext \
30516 conftest
$ac_exeext conftest.
$ac_ext
30518 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
30519 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
30520 if test `eval echo '${'$as_ac_var'}'` = yes; then
30521 cat >>confdefs.h
<<_ACEOF
30522 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
30531 for ac_func
in putenv setenv
30533 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
30534 echo "$as_me:$LINENO: checking for $ac_func" >&5
30535 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
30536 if eval "test \"\${$as_ac_var+set}\" = set"; then
30537 echo $ECHO_N "(cached) $ECHO_C" >&6
30539 cat >conftest.
$ac_ext <<_ACEOF
30542 cat confdefs.h
>>conftest.
$ac_ext
30543 cat >>conftest.
$ac_ext <<_ACEOF
30544 /* end confdefs.h. */
30545 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
30546 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30547 #define $ac_func innocuous_$ac_func
30549 /* System header to define __stub macros and hopefully few prototypes,
30550 which can conflict with char $ac_func (); below.
30551 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30552 <limits.h> exists even on freestanding compilers. */
30555 # include <limits.h>
30557 # include <assert.h>
30562 /* Override any gcc2 internal prototype to avoid an error. */
30567 /* We use char because int might match the return type of a gcc2
30568 builtin and then its argument prototype would still apply. */
30570 /* The GNU C library defines this for functions which it implements
30571 to always fail with ENOSYS. Some functions are actually named
30572 something starting with __ and the normal name is an alias. */
30573 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
30576 char (*f) () = $ac_func;
30585 return f != $ac_func;
30590 rm -f conftest.
$ac_objext conftest
$ac_exeext
30591 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30592 (eval $ac_link) 2>conftest.er1
30594 grep -v '^ *+' conftest.er1
>conftest.err
30596 cat conftest.err
>&5
30597 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30598 (exit $ac_status); } &&
30599 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
30600 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30601 (eval $ac_try) 2>&5
30603 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30604 (exit $ac_status); }; } &&
30605 { ac_try
='test -s conftest$ac_exeext'
30606 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30607 (eval $ac_try) 2>&5
30609 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30610 (exit $ac_status); }; }; then
30611 eval "$as_ac_var=yes"
30613 echo "$as_me: failed program was:" >&5
30614 sed 's/^/| /' conftest.
$ac_ext >&5
30616 eval "$as_ac_var=no"
30618 rm -f conftest.err conftest.
$ac_objext \
30619 conftest
$ac_exeext conftest.
$ac_ext
30621 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
30622 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
30623 if test `eval echo '${'$as_ac_var'}'` = yes; then
30624 cat >>confdefs.h
<<_ACEOF
30625 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
30632 HAVE_SOME_SLEEP_FUNC
=0
30633 if test "$USE_BEOS" = 1; then
30634 cat >>confdefs.h
<<\_ACEOF
30635 #define HAVE_SLEEP 1
30638 HAVE_SOME_SLEEP_FUNC
=1
30641 if test "$USE_DARWIN" = 1; then
30642 cat >>confdefs.h
<<\_ACEOF
30643 #define HAVE_USLEEP 1
30646 HAVE_SOME_SLEEP_FUNC
=1
30649 if test "$HAVE_SOME_SLEEP_FUNC" != 1; then
30652 for ac_func
in nanosleep
30654 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
30655 echo "$as_me:$LINENO: checking for $ac_func" >&5
30656 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
30657 if eval "test \"\${$as_ac_var+set}\" = set"; then
30658 echo $ECHO_N "(cached) $ECHO_C" >&6
30660 cat >conftest.
$ac_ext <<_ACEOF
30663 cat confdefs.h
>>conftest.
$ac_ext
30664 cat >>conftest.
$ac_ext <<_ACEOF
30665 /* end confdefs.h. */
30666 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
30667 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30668 #define $ac_func innocuous_$ac_func
30670 /* System header to define __stub macros and hopefully few prototypes,
30671 which can conflict with char $ac_func (); below.
30672 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30673 <limits.h> exists even on freestanding compilers. */
30676 # include <limits.h>
30678 # include <assert.h>
30683 /* Override any gcc2 internal prototype to avoid an error. */
30688 /* We use char because int might match the return type of a gcc2
30689 builtin and then its argument prototype would still apply. */
30691 /* The GNU C library defines this for functions which it implements
30692 to always fail with ENOSYS. Some functions are actually named
30693 something starting with __ and the normal name is an alias. */
30694 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
30697 char (*f) () = $ac_func;
30706 return f != $ac_func;
30711 rm -f conftest.
$ac_objext conftest
$ac_exeext
30712 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30713 (eval $ac_link) 2>conftest.er1
30715 grep -v '^ *+' conftest.er1
>conftest.err
30717 cat conftest.err
>&5
30718 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30719 (exit $ac_status); } &&
30720 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
30721 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30722 (eval $ac_try) 2>&5
30724 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30725 (exit $ac_status); }; } &&
30726 { ac_try
='test -s conftest$ac_exeext'
30727 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30728 (eval $ac_try) 2>&5
30730 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30731 (exit $ac_status); }; }; then
30732 eval "$as_ac_var=yes"
30734 echo "$as_me: failed program was:" >&5
30735 sed 's/^/| /' conftest.
$ac_ext >&5
30737 eval "$as_ac_var=no"
30739 rm -f conftest.err conftest.
$ac_objext \
30740 conftest
$ac_exeext conftest.
$ac_ext
30742 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
30743 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
30744 if test `eval echo '${'$as_ac_var'}'` = yes; then
30745 cat >>confdefs.h
<<_ACEOF
30746 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
30748 cat >>confdefs.h
<<\_ACEOF
30749 #define HAVE_NANOSLEEP 1
30754 echo "$as_me:$LINENO: checking for nanosleep in -lposix4" >&5
30755 echo $ECHO_N "checking for nanosleep in -lposix4... $ECHO_C" >&6
30756 if test "${ac_cv_lib_posix4_nanosleep+set}" = set; then
30757 echo $ECHO_N "(cached) $ECHO_C" >&6
30759 ac_check_lib_save_LIBS
=$LIBS
30760 LIBS
="-lposix4 $LIBS"
30761 cat >conftest.
$ac_ext <<_ACEOF
30764 cat confdefs.h
>>conftest.
$ac_ext
30765 cat >>conftest.
$ac_ext <<_ACEOF
30766 /* end confdefs.h. */
30768 /* Override any gcc2 internal prototype to avoid an error. */
30772 /* We use char because int might match the return type of a gcc2
30773 builtin and then its argument prototype would still apply. */
30783 rm -f conftest.
$ac_objext conftest
$ac_exeext
30784 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30785 (eval $ac_link) 2>conftest.er1
30787 grep -v '^ *+' conftest.er1
>conftest.err
30789 cat conftest.err
>&5
30790 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30791 (exit $ac_status); } &&
30792 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
30793 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30794 (eval $ac_try) 2>&5
30796 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30797 (exit $ac_status); }; } &&
30798 { ac_try
='test -s conftest$ac_exeext'
30799 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30800 (eval $ac_try) 2>&5
30802 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30803 (exit $ac_status); }; }; then
30804 ac_cv_lib_posix4_nanosleep
=yes
30806 echo "$as_me: failed program was:" >&5
30807 sed 's/^/| /' conftest.
$ac_ext >&5
30809 ac_cv_lib_posix4_nanosleep
=no
30811 rm -f conftest.err conftest.
$ac_objext \
30812 conftest
$ac_exeext conftest.
$ac_ext
30813 LIBS
=$ac_check_lib_save_LIBS
30815 echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_nanosleep" >&5
30816 echo "${ECHO_T}$ac_cv_lib_posix4_nanosleep" >&6
30817 if test $ac_cv_lib_posix4_nanosleep = yes; then
30819 cat >>confdefs.h
<<\_ACEOF
30820 #define HAVE_NANOSLEEP 1
30823 POSIX4_LINK
=" -lposix4"
30828 for ac_func
in usleep
30830 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
30831 echo "$as_me:$LINENO: checking for $ac_func" >&5
30832 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
30833 if eval "test \"\${$as_ac_var+set}\" = set"; then
30834 echo $ECHO_N "(cached) $ECHO_C" >&6
30836 cat >conftest.
$ac_ext <<_ACEOF
30839 cat confdefs.h
>>conftest.
$ac_ext
30840 cat >>conftest.
$ac_ext <<_ACEOF
30841 /* end confdefs.h. */
30842 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
30843 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30844 #define $ac_func innocuous_$ac_func
30846 /* System header to define __stub macros and hopefully few prototypes,
30847 which can conflict with char $ac_func (); below.
30848 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30849 <limits.h> exists even on freestanding compilers. */
30852 # include <limits.h>
30854 # include <assert.h>
30859 /* Override any gcc2 internal prototype to avoid an error. */
30864 /* We use char because int might match the return type of a gcc2
30865 builtin and then its argument prototype would still apply. */
30867 /* The GNU C library defines this for functions which it implements
30868 to always fail with ENOSYS. Some functions are actually named
30869 something starting with __ and the normal name is an alias. */
30870 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
30873 char (*f) () = $ac_func;
30882 return f != $ac_func;
30887 rm -f conftest.
$ac_objext conftest
$ac_exeext
30888 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30889 (eval $ac_link) 2>conftest.er1
30891 grep -v '^ *+' conftest.er1
>conftest.err
30893 cat conftest.err
>&5
30894 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30895 (exit $ac_status); } &&
30896 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
30897 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30898 (eval $ac_try) 2>&5
30900 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30901 (exit $ac_status); }; } &&
30902 { ac_try
='test -s conftest$ac_exeext'
30903 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30904 (eval $ac_try) 2>&5
30906 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30907 (exit $ac_status); }; }; then
30908 eval "$as_ac_var=yes"
30910 echo "$as_me: failed program was:" >&5
30911 sed 's/^/| /' conftest.
$ac_ext >&5
30913 eval "$as_ac_var=no"
30915 rm -f conftest.err conftest.
$ac_objext \
30916 conftest
$ac_exeext conftest.
$ac_ext
30918 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
30919 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
30920 if test `eval echo '${'$as_ac_var'}'` = yes; then
30921 cat >>confdefs.h
<<_ACEOF
30922 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
30924 cat >>confdefs.h
<<\_ACEOF
30925 #define HAVE_USLEEP 1
30929 { echo "$as_me:$LINENO: WARNING: wxSleep() function will not work" >&5
30930 echo "$as_me: WARNING: wxSleep() function will not work" >&2;}
30948 for ac_func
in uname gethostname
30950 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
30951 echo "$as_me:$LINENO: checking for $ac_func" >&5
30952 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
30953 if eval "test \"\${$as_ac_var+set}\" = set"; then
30954 echo $ECHO_N "(cached) $ECHO_C" >&6
30956 cat >conftest.
$ac_ext <<_ACEOF
30959 cat confdefs.h
>>conftest.
$ac_ext
30960 cat >>conftest.
$ac_ext <<_ACEOF
30961 /* end confdefs.h. */
30962 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
30963 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30964 #define $ac_func innocuous_$ac_func
30966 /* System header to define __stub macros and hopefully few prototypes,
30967 which can conflict with char $ac_func (); below.
30968 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30969 <limits.h> exists even on freestanding compilers. */
30972 # include <limits.h>
30974 # include <assert.h>
30979 /* Override any gcc2 internal prototype to avoid an error. */
30984 /* We use char because int might match the return type of a gcc2
30985 builtin and then its argument prototype would still apply. */
30987 /* The GNU C library defines this for functions which it implements
30988 to always fail with ENOSYS. Some functions are actually named
30989 something starting with __ and the normal name is an alias. */
30990 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
30993 char (*f) () = $ac_func;
31002 return f != $ac_func;
31007 rm -f conftest.
$ac_objext conftest
$ac_exeext
31008 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31009 (eval $ac_link) 2>conftest.er1
31011 grep -v '^ *+' conftest.er1
>conftest.err
31013 cat conftest.err
>&5
31014 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31015 (exit $ac_status); } &&
31016 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
31017 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31018 (eval $ac_try) 2>&5
31020 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31021 (exit $ac_status); }; } &&
31022 { ac_try
='test -s conftest$ac_exeext'
31023 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31024 (eval $ac_try) 2>&5
31026 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31027 (exit $ac_status); }; }; then
31028 eval "$as_ac_var=yes"
31030 echo "$as_me: failed program was:" >&5
31031 sed 's/^/| /' conftest.
$ac_ext >&5
31033 eval "$as_ac_var=no"
31035 rm -f conftest.err conftest.
$ac_objext \
31036 conftest
$ac_exeext conftest.
$ac_ext
31038 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
31039 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
31040 if test `eval echo '${'$as_ac_var'}'` = yes; then
31041 cat >>confdefs.h
<<_ACEOF
31042 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31052 ac_cpp
='$CXXCPP $CPPFLAGS'
31053 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31054 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31055 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
31059 for ac_func
in strtok_r
31061 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31062 echo "$as_me:$LINENO: checking for $ac_func" >&5
31063 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
31064 if eval "test \"\${$as_ac_var+set}\" = set"; then
31065 echo $ECHO_N "(cached) $ECHO_C" >&6
31067 cat >conftest.
$ac_ext <<_ACEOF
31070 cat confdefs.h
>>conftest.
$ac_ext
31071 cat >>conftest.
$ac_ext <<_ACEOF
31072 /* end confdefs.h. */
31073 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
31074 For example, HP-UX 11i <limits.h> declares gettimeofday. */
31075 #define $ac_func innocuous_$ac_func
31077 /* System header to define __stub macros and hopefully few prototypes,
31078 which can conflict with char $ac_func (); below.
31079 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31080 <limits.h> exists even on freestanding compilers. */
31083 # include <limits.h>
31085 # include <assert.h>
31090 /* Override any gcc2 internal prototype to avoid an error. */
31095 /* We use char because int might match the return type of a gcc2
31096 builtin and then its argument prototype would still apply. */
31098 /* The GNU C library defines this for functions which it implements
31099 to always fail with ENOSYS. Some functions are actually named
31100 something starting with __ and the normal name is an alias. */
31101 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
31104 char (*f) () = $ac_func;
31113 return f != $ac_func;
31118 rm -f conftest.
$ac_objext conftest
$ac_exeext
31119 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31120 (eval $ac_link) 2>conftest.er1
31122 grep -v '^ *+' conftest.er1
>conftest.err
31124 cat conftest.err
>&5
31125 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31126 (exit $ac_status); } &&
31127 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
31128 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31129 (eval $ac_try) 2>&5
31131 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31132 (exit $ac_status); }; } &&
31133 { ac_try
='test -s conftest$ac_exeext'
31134 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31135 (eval $ac_try) 2>&5
31137 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31138 (exit $ac_status); }; }; then
31139 eval "$as_ac_var=yes"
31141 echo "$as_me: failed program was:" >&5
31142 sed 's/^/| /' conftest.
$ac_ext >&5
31144 eval "$as_ac_var=no"
31146 rm -f conftest.err conftest.
$ac_objext \
31147 conftest
$ac_exeext conftest.
$ac_ext
31149 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
31150 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
31151 if test `eval echo '${'$as_ac_var'}'` = yes; then
31152 cat >>confdefs.h
<<_ACEOF
31153 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31161 ac_cpp
='$CPP $CPPFLAGS'
31162 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31163 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31164 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
31169 for ac_func
in inet_addr
31171 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31172 echo "$as_me:$LINENO: checking for $ac_func" >&5
31173 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
31174 if eval "test \"\${$as_ac_var+set}\" = set"; then
31175 echo $ECHO_N "(cached) $ECHO_C" >&6
31177 cat >conftest.
$ac_ext <<_ACEOF
31180 cat confdefs.h
>>conftest.
$ac_ext
31181 cat >>conftest.
$ac_ext <<_ACEOF
31182 /* end confdefs.h. */
31183 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
31184 For example, HP-UX 11i <limits.h> declares gettimeofday. */
31185 #define $ac_func innocuous_$ac_func
31187 /* System header to define __stub macros and hopefully few prototypes,
31188 which can conflict with char $ac_func (); below.
31189 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31190 <limits.h> exists even on freestanding compilers. */
31193 # include <limits.h>
31195 # include <assert.h>
31200 /* Override any gcc2 internal prototype to avoid an error. */
31205 /* We use char because int might match the return type of a gcc2
31206 builtin and then its argument prototype would still apply. */
31208 /* The GNU C library defines this for functions which it implements
31209 to always fail with ENOSYS. Some functions are actually named
31210 something starting with __ and the normal name is an alias. */
31211 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
31214 char (*f) () = $ac_func;
31223 return f != $ac_func;
31228 rm -f conftest.
$ac_objext conftest
$ac_exeext
31229 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31230 (eval $ac_link) 2>conftest.er1
31232 grep -v '^ *+' conftest.er1
>conftest.err
31234 cat conftest.err
>&5
31235 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31236 (exit $ac_status); } &&
31237 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
31238 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31239 (eval $ac_try) 2>&5
31241 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31242 (exit $ac_status); }; } &&
31243 { ac_try
='test -s conftest$ac_exeext'
31244 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31245 (eval $ac_try) 2>&5
31247 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31248 (exit $ac_status); }; }; then
31249 eval "$as_ac_var=yes"
31251 echo "$as_me: failed program was:" >&5
31252 sed 's/^/| /' conftest.
$ac_ext >&5
31254 eval "$as_ac_var=no"
31256 rm -f conftest.err conftest.
$ac_objext \
31257 conftest
$ac_exeext conftest.
$ac_ext
31259 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
31260 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
31261 if test `eval echo '${'$as_ac_var'}'` = yes; then
31262 cat >>confdefs.h
<<_ACEOF
31263 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31265 cat >>confdefs.h
<<\_ACEOF
31266 #define HAVE_INET_ADDR 1
31271 echo "$as_me:$LINENO: checking for inet_addr in -lnsl" >&5
31272 echo $ECHO_N "checking for inet_addr in -lnsl... $ECHO_C" >&6
31273 if test "${ac_cv_lib_nsl_inet_addr+set}" = set; then
31274 echo $ECHO_N "(cached) $ECHO_C" >&6
31276 ac_check_lib_save_LIBS
=$LIBS
31278 cat >conftest.
$ac_ext <<_ACEOF
31281 cat confdefs.h
>>conftest.
$ac_ext
31282 cat >>conftest.
$ac_ext <<_ACEOF
31283 /* end confdefs.h. */
31285 /* Override any gcc2 internal prototype to avoid an error. */
31289 /* We use char because int might match the return type of a gcc2
31290 builtin and then its argument prototype would still apply. */
31300 rm -f conftest.
$ac_objext conftest
$ac_exeext
31301 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31302 (eval $ac_link) 2>conftest.er1
31304 grep -v '^ *+' conftest.er1
>conftest.err
31306 cat conftest.err
>&5
31307 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31308 (exit $ac_status); } &&
31309 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
31310 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31311 (eval $ac_try) 2>&5
31313 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31314 (exit $ac_status); }; } &&
31315 { ac_try
='test -s conftest$ac_exeext'
31316 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31317 (eval $ac_try) 2>&5
31319 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31320 (exit $ac_status); }; }; then
31321 ac_cv_lib_nsl_inet_addr
=yes
31323 echo "$as_me: failed program was:" >&5
31324 sed 's/^/| /' conftest.
$ac_ext >&5
31326 ac_cv_lib_nsl_inet_addr
=no
31328 rm -f conftest.err conftest.
$ac_objext \
31329 conftest
$ac_exeext conftest.
$ac_ext
31330 LIBS
=$ac_check_lib_save_LIBS
31332 echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_inet_addr" >&5
31333 echo "${ECHO_T}$ac_cv_lib_nsl_inet_addr" >&6
31334 if test $ac_cv_lib_nsl_inet_addr = yes; then
31338 echo "$as_me:$LINENO: checking for inet_addr in -lresolv" >&5
31339 echo $ECHO_N "checking for inet_addr in -lresolv... $ECHO_C" >&6
31340 if test "${ac_cv_lib_resolv_inet_addr+set}" = set; then
31341 echo $ECHO_N "(cached) $ECHO_C" >&6
31343 ac_check_lib_save_LIBS
=$LIBS
31344 LIBS
="-lresolv $LIBS"
31345 cat >conftest.
$ac_ext <<_ACEOF
31348 cat confdefs.h
>>conftest.
$ac_ext
31349 cat >>conftest.
$ac_ext <<_ACEOF
31350 /* end confdefs.h. */
31352 /* Override any gcc2 internal prototype to avoid an error. */
31356 /* We use char because int might match the return type of a gcc2
31357 builtin and then its argument prototype would still apply. */
31367 rm -f conftest.
$ac_objext conftest
$ac_exeext
31368 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31369 (eval $ac_link) 2>conftest.er1
31371 grep -v '^ *+' conftest.er1
>conftest.err
31373 cat conftest.err
>&5
31374 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31375 (exit $ac_status); } &&
31376 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
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); }; } &&
31382 { ac_try
='test -s conftest$ac_exeext'
31383 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31384 (eval $ac_try) 2>&5
31386 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31387 (exit $ac_status); }; }; then
31388 ac_cv_lib_resolv_inet_addr
=yes
31390 echo "$as_me: failed program was:" >&5
31391 sed 's/^/| /' conftest.
$ac_ext >&5
31393 ac_cv_lib_resolv_inet_addr
=no
31395 rm -f conftest.err conftest.
$ac_objext \
31396 conftest
$ac_exeext conftest.
$ac_ext
31397 LIBS
=$ac_check_lib_save_LIBS
31399 echo "$as_me:$LINENO: result: $ac_cv_lib_resolv_inet_addr" >&5
31400 echo "${ECHO_T}$ac_cv_lib_resolv_inet_addr" >&6
31401 if test $ac_cv_lib_resolv_inet_addr = yes; then
31405 echo "$as_me:$LINENO: checking for inet_addr in -lsocket" >&5
31406 echo $ECHO_N "checking for inet_addr in -lsocket... $ECHO_C" >&6
31407 if test "${ac_cv_lib_socket_inet_addr+set}" = set; then
31408 echo $ECHO_N "(cached) $ECHO_C" >&6
31410 ac_check_lib_save_LIBS
=$LIBS
31411 LIBS
="-lsocket $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 ac_cv_lib_socket_inet_addr
=yes
31457 echo "$as_me: failed program was:" >&5
31458 sed 's/^/| /' conftest.
$ac_ext >&5
31460 ac_cv_lib_socket_inet_addr
=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: $ac_cv_lib_socket_inet_addr" >&5
31467 echo "${ECHO_T}$ac_cv_lib_socket_inet_addr" >&6
31468 if test $ac_cv_lib_socket_inet_addr = yes; then
31488 for ac_func
in inet_aton
31490 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31491 echo "$as_me:$LINENO: checking for $ac_func" >&5
31492 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
31493 if eval "test \"\${$as_ac_var+set}\" = set"; then
31494 echo $ECHO_N "(cached) $ECHO_C" >&6
31496 cat >conftest.
$ac_ext <<_ACEOF
31499 cat confdefs.h
>>conftest.
$ac_ext
31500 cat >>conftest.
$ac_ext <<_ACEOF
31501 /* end confdefs.h. */
31502 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
31503 For example, HP-UX 11i <limits.h> declares gettimeofday. */
31504 #define $ac_func innocuous_$ac_func
31506 /* System header to define __stub macros and hopefully few prototypes,
31507 which can conflict with char $ac_func (); below.
31508 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31509 <limits.h> exists even on freestanding compilers. */
31512 # include <limits.h>
31514 # include <assert.h>
31519 /* Override any gcc2 internal prototype to avoid an error. */
31524 /* We use char because int might match the return type of a gcc2
31525 builtin and then its argument prototype would still apply. */
31527 /* The GNU C library defines this for functions which it implements
31528 to always fail with ENOSYS. Some functions are actually named
31529 something starting with __ and the normal name is an alias. */
31530 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
31533 char (*f) () = $ac_func;
31542 return f != $ac_func;
31547 rm -f conftest.
$ac_objext conftest
$ac_exeext
31548 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31549 (eval $ac_link) 2>conftest.er1
31551 grep -v '^ *+' conftest.er1
>conftest.err
31553 cat conftest.err
>&5
31554 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31555 (exit $ac_status); } &&
31556 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
31557 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31558 (eval $ac_try) 2>&5
31560 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31561 (exit $ac_status); }; } &&
31562 { ac_try
='test -s conftest$ac_exeext'
31563 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31564 (eval $ac_try) 2>&5
31566 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31567 (exit $ac_status); }; }; then
31568 eval "$as_ac_var=yes"
31570 echo "$as_me: failed program was:" >&5
31571 sed 's/^/| /' conftest.
$ac_ext >&5
31573 eval "$as_ac_var=no"
31575 rm -f conftest.err conftest.
$ac_objext \
31576 conftest
$ac_exeext conftest.
$ac_ext
31578 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
31579 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
31580 if test `eval echo '${'$as_ac_var'}'` = yes; then
31581 cat >>confdefs.h
<<_ACEOF
31582 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31584 cat >>confdefs.h
<<\_ACEOF
31585 #define HAVE_INET_ATON 1
31590 as_ac_Lib
=`echo "ac_cv_lib_$INET_LINK''_inet_aton" | $as_tr_sh`
31591 echo "$as_me:$LINENO: checking for inet_aton in -l$INET_LINK" >&5
31592 echo $ECHO_N "checking for inet_aton in -l$INET_LINK... $ECHO_C" >&6
31593 if eval "test \"\${$as_ac_Lib+set}\" = set"; then
31594 echo $ECHO_N "(cached) $ECHO_C" >&6
31596 ac_check_lib_save_LIBS
=$LIBS
31597 LIBS
="-l$INET_LINK $LIBS"
31598 cat >conftest.
$ac_ext <<_ACEOF
31601 cat confdefs.h
>>conftest.
$ac_ext
31602 cat >>conftest.
$ac_ext <<_ACEOF
31603 /* end confdefs.h. */
31605 /* Override any gcc2 internal prototype to avoid an error. */
31609 /* We use char because int might match the return type of a gcc2
31610 builtin and then its argument prototype would still apply. */
31620 rm -f conftest.
$ac_objext conftest
$ac_exeext
31621 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31622 (eval $ac_link) 2>conftest.er1
31624 grep -v '^ *+' conftest.er1
>conftest.err
31626 cat conftest.err
>&5
31627 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31628 (exit $ac_status); } &&
31629 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
31630 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31631 (eval $ac_try) 2>&5
31633 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31634 (exit $ac_status); }; } &&
31635 { ac_try
='test -s conftest$ac_exeext'
31636 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31637 (eval $ac_try) 2>&5
31639 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31640 (exit $ac_status); }; }; then
31641 eval "$as_ac_Lib=yes"
31643 echo "$as_me: failed program was:" >&5
31644 sed 's/^/| /' conftest.
$ac_ext >&5
31646 eval "$as_ac_Lib=no"
31648 rm -f conftest.err conftest.
$ac_objext \
31649 conftest
$ac_exeext conftest.
$ac_ext
31650 LIBS
=$ac_check_lib_save_LIBS
31652 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Lib'}'`" >&5
31653 echo "${ECHO_T}`eval echo '${'$as_ac_Lib'}'`" >&6
31654 if test `eval echo '${'$as_ac_Lib'}'` = yes; then
31655 cat >>confdefs.h
<<\_ACEOF
31656 #define HAVE_INET_ATON 1
31666 if test "x$INET_LINK" != "x"; then
31667 cat >>confdefs.h
<<\_ACEOF
31668 #define HAVE_INET_ADDR 1
31671 INET_LINK
=" -l$INET_LINK"
31679 echo "$as_me:$LINENO: checking for esd_close in -lesd" >&5
31680 echo $ECHO_N "checking for esd_close in -lesd... $ECHO_C" >&6
31681 if test "${ac_cv_lib_esd_esd_close+set}" = set; then
31682 echo $ECHO_N "(cached) $ECHO_C" >&6
31684 ac_check_lib_save_LIBS
=$LIBS
31686 cat >conftest.
$ac_ext <<_ACEOF
31689 cat confdefs.h
>>conftest.
$ac_ext
31690 cat >>conftest.
$ac_ext <<_ACEOF
31691 /* end confdefs.h. */
31693 /* Override any gcc2 internal prototype to avoid an error. */
31697 /* We use char because int might match the return type of a gcc2
31698 builtin and then its argument prototype would still apply. */
31708 rm -f conftest.
$ac_objext conftest
$ac_exeext
31709 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31710 (eval $ac_link) 2>conftest.er1
31712 grep -v '^ *+' conftest.er1
>conftest.err
31714 cat conftest.err
>&5
31715 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31716 (exit $ac_status); } &&
31717 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
31718 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31719 (eval $ac_try) 2>&5
31721 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31722 (exit $ac_status); }; } &&
31723 { ac_try
='test -s conftest$ac_exeext'
31724 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31725 (eval $ac_try) 2>&5
31727 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31728 (exit $ac_status); }; }; then
31729 ac_cv_lib_esd_esd_close
=yes
31731 echo "$as_me: failed program was:" >&5
31732 sed 's/^/| /' conftest.
$ac_ext >&5
31734 ac_cv_lib_esd_esd_close
=no
31736 rm -f conftest.err conftest.
$ac_objext \
31737 conftest
$ac_exeext conftest.
$ac_ext
31738 LIBS
=$ac_check_lib_save_LIBS
31740 echo "$as_me:$LINENO: result: $ac_cv_lib_esd_esd_close" >&5
31741 echo "${ECHO_T}$ac_cv_lib_esd_esd_close" >&6
31742 if test $ac_cv_lib_esd_esd_close = yes; then
31745 for ac_header
in esd.h
31747 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
31748 if eval "test \"\${$as_ac_Header+set}\" = set"; then
31749 echo "$as_me:$LINENO: checking for $ac_header" >&5
31750 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
31751 if eval "test \"\${$as_ac_Header+set}\" = set"; then
31752 echo $ECHO_N "(cached) $ECHO_C" >&6
31754 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
31755 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
31757 # Is the header compilable?
31758 echo "$as_me:$LINENO: checking $ac_header usability" >&5
31759 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
31760 cat >conftest.
$ac_ext <<_ACEOF
31763 cat confdefs.h
>>conftest.
$ac_ext
31764 cat >>conftest.
$ac_ext <<_ACEOF
31765 /* end confdefs.h. */
31766 $ac_includes_default
31767 #include <$ac_header>
31769 rm -f conftest.
$ac_objext
31770 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31771 (eval $ac_compile) 2>conftest.er1
31773 grep -v '^ *+' conftest.er1
>conftest.err
31775 cat conftest.err
>&5
31776 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31777 (exit $ac_status); } &&
31778 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
31779 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31780 (eval $ac_try) 2>&5
31782 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31783 (exit $ac_status); }; } &&
31784 { ac_try
='test -s conftest.$ac_objext'
31785 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31786 (eval $ac_try) 2>&5
31788 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31789 (exit $ac_status); }; }; then
31790 ac_header_compiler
=yes
31792 echo "$as_me: failed program was:" >&5
31793 sed 's/^/| /' conftest.
$ac_ext >&5
31795 ac_header_compiler
=no
31797 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
31798 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
31799 echo "${ECHO_T}$ac_header_compiler" >&6
31801 # Is the header present?
31802 echo "$as_me:$LINENO: checking $ac_header presence" >&5
31803 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
31804 cat >conftest.
$ac_ext <<_ACEOF
31807 cat confdefs.h
>>conftest.
$ac_ext
31808 cat >>conftest.
$ac_ext <<_ACEOF
31809 /* end confdefs.h. */
31810 #include <$ac_header>
31812 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
31813 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
31815 grep -v '^ *+' conftest.er1
>conftest.err
31817 cat conftest.err
>&5
31818 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31819 (exit $ac_status); } >/dev
/null
; then
31820 if test -s conftest.err
; then
31821 ac_cpp_err
=$ac_c_preproc_warn_flag
31822 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
31829 if test -z "$ac_cpp_err"; then
31830 ac_header_preproc
=yes
31832 echo "$as_me: failed program was:" >&5
31833 sed 's/^/| /' conftest.
$ac_ext >&5
31835 ac_header_preproc
=no
31837 rm -f conftest.err conftest.
$ac_ext
31838 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
31839 echo "${ECHO_T}$ac_header_preproc" >&6
31841 # So? What about this header?
31842 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
31844 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
31845 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
31846 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
31847 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
31848 ac_header_preproc
=yes
31851 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
31852 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
31853 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
31854 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
31855 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
31856 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
31857 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
31858 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
31859 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
31860 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
31861 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
31862 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
31865 ## ----------------------------------------- ##
31866 ## Report this to wx-dev@lists.wxwindows.org ##
31867 ## ----------------------------------------- ##
31870 sed "s/^/$as_me: WARNING: /" >&2
31873 echo "$as_me:$LINENO: checking for $ac_header" >&5
31874 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
31875 if eval "test \"\${$as_ac_Header+set}\" = set"; then
31876 echo $ECHO_N "(cached) $ECHO_C" >&6
31878 eval "$as_ac_Header=\$ac_header_preproc"
31880 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
31881 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
31884 if test `eval echo '${'$as_ac_Header'}'` = yes; then
31885 cat >>confdefs.h
<<_ACEOF
31886 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
31889 EXTRALIBS_ESD
="-lesd"
31900 echo "$as_me:$LINENO: checking for known CD-ROM interface" >&5
31901 echo $ECHO_N "checking for known CD-ROM interface... $ECHO_C" >&6
31902 cat >conftest.
$ac_ext <<_ACEOF
31905 cat confdefs.h
>>conftest.
$ac_ext
31906 cat >>conftest.
$ac_ext <<_ACEOF
31907 /* end confdefs.h. */
31909 #include <linux/cdrom.h>
31912 #include <sys/cdio.h>
31918 struct cdrom_tocentry entry, old_entry;
31923 rm -f conftest.
$ac_objext
31924 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31925 (eval $ac_compile) 2>conftest.er1
31927 grep -v '^ *+' conftest.er1
>conftest.err
31929 cat conftest.err
>&5
31930 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31931 (exit $ac_status); } &&
31932 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
31933 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31934 (eval $ac_try) 2>&5
31936 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31937 (exit $ac_status); }; } &&
31938 { ac_try
='test -s conftest.$ac_objext'
31939 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31940 (eval $ac_try) 2>&5
31942 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31943 (exit $ac_status); }; }; then
31944 echo "$as_me:$LINENO: result: yes" >&5
31945 echo "${ECHO_T}yes" >&6
31946 cat >>confdefs.h
<<\_ACEOF
31947 #define HAVE_KNOWN_CDROM_INTERFACE 1
31951 echo "$as_me: failed program was:" >&5
31952 sed 's/^/| /' conftest.
$ac_ext >&5
31954 echo "$as_me:$LINENO: result: no" >&5
31955 echo "${ECHO_T}no" >&6
31957 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
31960 cat >confcache
<<\_ACEOF
31961 # This file is a shell script that caches the results of configure
31962 # tests run on this system so they can be shared between configure
31963 # scripts and configure runs, see configure's option --config-cache.
31964 # It is not useful on other systems. If it contains results you don't
31965 # want to keep, you may remove or edit it.
31967 # config.status only pays attention to the cache file if you give it
31968 # the --recheck option to rerun configure.
31970 # `ac_cv_env_foo' variables (set or unset) will be overridden when
31971 # loading this file, other *unset* `ac_cv_foo' will be assigned the
31972 # following values.
31976 # The following way of writing the cache mishandles newlines in values,
31977 # but we know of no workaround that is simple, portable, and efficient.
31978 # So, don't put newlines in cache variables' values.
31979 # Ultrix sh set writes to stderr and can't be redirected directly,
31980 # and sets the high bit in the cache file unless we assign to the vars.
31983 case `(ac_space=' '; set | grep ac_space) 2>&1` in
31985 # `set' does not quote correctly, so add quotes (double-quote
31986 # substitution turns \\\\ into \\, and sed turns \\ into \).
31989 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
31992 # `set' quotes correctly as required by POSIX, so do not add quotes.
31994 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
32001 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
32003 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
32005 if diff $cache_file confcache
>/dev
/null
2>&1; then :; else
32006 if test -w $cache_file; then
32007 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
32008 cat confcache
>$cache_file
32010 echo "not updating unwritable cache $cache_file"
32017 if test "$TOOLKIT" != "MSW" -a "$USE_OS2" != 1; then
32023 if test "$wxUSE_THREADS" = "yes" ; then
32024 if test "$USE_BEOS" = 1; then
32025 { echo "$as_me:$LINENO: WARNING: BeOS threads are not yet supported... disabled" >&5
32026 echo "$as_me: WARNING: BeOS threads are not yet supported... disabled" >&2;}
32031 if test "$wxUSE_THREADS" = "yes" ; then
32034 THREAD_OPTS
="-pthread"
32036 *-*-solaris2* | *-*-sunos4* )
32037 if test "x$GCC" = "xyes"; then
32038 THREAD_OPTS
="-pthreads $THREAD_OPTS"
32040 THREAD_OPTS
="-mt $THREAD_OPTS"
32044 THREAD_OPTS
="-kthread lthread $THREAD_OPTS c_r"
32046 *-*-darwin* | *-*-cygwin* )
32050 THREAD_OPTS
="pthreads"
32053 if test "x$GCC" != "xyes"; then
32059 if test "x$GCC" = "xyes"; then
32065 if test "x$GCC" != "xyes"; then
32066 THREAD_OPTS
="-Ethread"
32071 THREAD_OPTS
="$THREAD_OPTS pthread none"
32074 for flag
in $THREAD_OPTS; do
32077 echo "$as_me:$LINENO: checking whether pthreads work without any flags" >&5
32078 echo $ECHO_N "checking whether pthreads work without any flags... $ECHO_C" >&6
32082 echo "$as_me:$LINENO: checking whether pthreads work with $flag" >&5
32083 echo $ECHO_N "checking whether pthreads work with $flag... $ECHO_C" >&6
32084 THREADS_CFLAGS
="$flag"
32088 echo "$as_me:$LINENO: checking for the pthreads library -l$flag" >&5
32089 echo $ECHO_N "checking for the pthreads library -l$flag... $ECHO_C" >&6
32090 THREADS_LINK
="-l$flag"
32095 save_CFLAGS
="$CFLAGS"
32096 LIBS
="$THREADS_LINK $LIBS"
32097 CFLAGS
="$THREADS_CFLAGS $CFLAGS"
32099 cat >conftest.
$ac_ext <<_ACEOF
32102 cat confdefs.h
>>conftest.
$ac_ext
32103 cat >>conftest.
$ac_ext <<_ACEOF
32104 /* end confdefs.h. */
32105 #include <pthread.h>
32109 pthread_create(0,0,0,0);
32114 rm -f conftest.
$ac_objext conftest
$ac_exeext
32115 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32116 (eval $ac_link) 2>conftest.er1
32118 grep -v '^ *+' conftest.er1
>conftest.err
32120 cat conftest.err
>&5
32121 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32122 (exit $ac_status); } &&
32123 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
32124 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32125 (eval $ac_try) 2>&5
32127 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32128 (exit $ac_status); }; } &&
32129 { ac_try
='test -s conftest$ac_exeext'
32130 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32131 (eval $ac_try) 2>&5
32133 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32134 (exit $ac_status); }; }; then
32137 echo "$as_me: failed program was:" >&5
32138 sed 's/^/| /' conftest.
$ac_ext >&5
32141 rm -f conftest.err conftest.
$ac_objext \
32142 conftest
$ac_exeext conftest.
$ac_ext
32145 CFLAGS
="$save_CFLAGS"
32147 echo "$as_me:$LINENO: result: $THREADS_OK" >&5
32148 echo "${ECHO_T}$THREADS_OK" >&6
32149 if test "x$THREADS_OK" = "xyes"; then
32157 if test "x$THREADS_OK" != "xyes"; then
32159 { echo "$as_me:$LINENO: WARNING: No thread support on this system... disabled" >&5
32160 echo "$as_me: WARNING: No thread support on this system... disabled" >&2;}
32162 LDFLAGS
="$THREADS_CFLAGS $LDFLAGS"
32163 LIBS
="$THREADS_LINK $LIBS"
32165 echo "$as_me:$LINENO: checking if more special flags are required for pthreads" >&5
32166 echo $ECHO_N "checking if more special flags are required for pthreads... $ECHO_C" >&6
32170 LDFLAGS
="-L/usr/lib/threads $LDFLAGS"
32171 flag
="-D_THREAD_SAFE"
32174 flag
="-D_THREAD_SAFE"
32177 flag
="-D_REENTRANT"
32178 if test "x$GCC" != "xyes"; then
32179 flag
="$flag -D_RWSTD_MULTI_THREAD"
32184 *solaris
* | alpha
*-osf*)
32185 flag
="-D_REENTRANT"
32188 echo "$as_me:$LINENO: result: ${flag}" >&5
32189 echo "${ECHO_T}${flag}" >&6
32190 if test "x$flag" != xno
; then
32191 THREADS_CFLAGS
="$THREADS_CFLAGS $flag"
32194 if test "x$THREADS_CFLAGS" != "x"; then
32195 CFLAGS
="$CFLAGS $THREADS_CFLAGS"
32196 CXXFLAGS
="$CXXFLAGS $THREADS_CFLAGS"
32201 if test "$wxUSE_THREADS" = "yes" ; then
32203 for ac_func
in thr_setconcurrency
32205 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
32206 echo "$as_me:$LINENO: checking for $ac_func" >&5
32207 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
32208 if eval "test \"\${$as_ac_var+set}\" = set"; then
32209 echo $ECHO_N "(cached) $ECHO_C" >&6
32211 cat >conftest.
$ac_ext <<_ACEOF
32214 cat confdefs.h
>>conftest.
$ac_ext
32215 cat >>conftest.
$ac_ext <<_ACEOF
32216 /* end confdefs.h. */
32217 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
32218 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32219 #define $ac_func innocuous_$ac_func
32221 /* System header to define __stub macros and hopefully few prototypes,
32222 which can conflict with char $ac_func (); below.
32223 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32224 <limits.h> exists even on freestanding compilers. */
32227 # include <limits.h>
32229 # include <assert.h>
32234 /* Override any gcc2 internal prototype to avoid an error. */
32239 /* We use char because int might match the return type of a gcc2
32240 builtin and then its argument prototype would still apply. */
32242 /* The GNU C library defines this for functions which it implements
32243 to always fail with ENOSYS. Some functions are actually named
32244 something starting with __ and the normal name is an alias. */
32245 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
32248 char (*f) () = $ac_func;
32257 return f != $ac_func;
32262 rm -f conftest.
$ac_objext conftest
$ac_exeext
32263 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32264 (eval $ac_link) 2>conftest.er1
32266 grep -v '^ *+' conftest.er1
>conftest.err
32268 cat conftest.err
>&5
32269 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32270 (exit $ac_status); } &&
32271 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
32272 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32273 (eval $ac_try) 2>&5
32275 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32276 (exit $ac_status); }; } &&
32277 { ac_try
='test -s conftest$ac_exeext'
32278 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32279 (eval $ac_try) 2>&5
32281 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32282 (exit $ac_status); }; }; then
32283 eval "$as_ac_var=yes"
32285 echo "$as_me: failed program was:" >&5
32286 sed 's/^/| /' conftest.
$ac_ext >&5
32288 eval "$as_ac_var=no"
32290 rm -f conftest.err conftest.
$ac_objext \
32291 conftest
$ac_exeext conftest.
$ac_ext
32293 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
32294 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
32295 if test `eval echo '${'$as_ac_var'}'` = yes; then
32296 cat >>confdefs.h
<<_ACEOF
32297 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
32305 for ac_header
in sched.h
32307 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
32308 if eval "test \"\${$as_ac_Header+set}\" = set"; then
32309 echo "$as_me:$LINENO: checking for $ac_header" >&5
32310 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
32311 if eval "test \"\${$as_ac_Header+set}\" = set"; then
32312 echo $ECHO_N "(cached) $ECHO_C" >&6
32314 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
32315 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
32317 # Is the header compilable?
32318 echo "$as_me:$LINENO: checking $ac_header usability" >&5
32319 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
32320 cat >conftest.
$ac_ext <<_ACEOF
32323 cat confdefs.h
>>conftest.
$ac_ext
32324 cat >>conftest.
$ac_ext <<_ACEOF
32325 /* end confdefs.h. */
32326 $ac_includes_default
32327 #include <$ac_header>
32329 rm -f conftest.
$ac_objext
32330 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32331 (eval $ac_compile) 2>conftest.er1
32333 grep -v '^ *+' conftest.er1
>conftest.err
32335 cat conftest.err
>&5
32336 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32337 (exit $ac_status); } &&
32338 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
32339 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32340 (eval $ac_try) 2>&5
32342 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32343 (exit $ac_status); }; } &&
32344 { ac_try
='test -s conftest.$ac_objext'
32345 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32346 (eval $ac_try) 2>&5
32348 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32349 (exit $ac_status); }; }; then
32350 ac_header_compiler
=yes
32352 echo "$as_me: failed program was:" >&5
32353 sed 's/^/| /' conftest.
$ac_ext >&5
32355 ac_header_compiler
=no
32357 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
32358 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
32359 echo "${ECHO_T}$ac_header_compiler" >&6
32361 # Is the header present?
32362 echo "$as_me:$LINENO: checking $ac_header presence" >&5
32363 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
32364 cat >conftest.
$ac_ext <<_ACEOF
32367 cat confdefs.h
>>conftest.
$ac_ext
32368 cat >>conftest.
$ac_ext <<_ACEOF
32369 /* end confdefs.h. */
32370 #include <$ac_header>
32372 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
32373 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
32375 grep -v '^ *+' conftest.er1
>conftest.err
32377 cat conftest.err
>&5
32378 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32379 (exit $ac_status); } >/dev
/null
; then
32380 if test -s conftest.err
; then
32381 ac_cpp_err
=$ac_c_preproc_warn_flag
32382 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
32389 if test -z "$ac_cpp_err"; then
32390 ac_header_preproc
=yes
32392 echo "$as_me: failed program was:" >&5
32393 sed 's/^/| /' conftest.
$ac_ext >&5
32395 ac_header_preproc
=no
32397 rm -f conftest.err conftest.
$ac_ext
32398 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
32399 echo "${ECHO_T}$ac_header_preproc" >&6
32401 # So? What about this header?
32402 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
32404 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
32405 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
32406 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
32407 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
32408 ac_header_preproc
=yes
32411 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
32412 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
32413 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
32414 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
32415 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
32416 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
32417 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
32418 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
32419 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
32420 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
32421 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
32422 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
32425 ## ----------------------------------------- ##
32426 ## Report this to wx-dev@lists.wxwindows.org ##
32427 ## ----------------------------------------- ##
32430 sed "s/^/$as_me: WARNING: /" >&2
32433 echo "$as_me:$LINENO: checking for $ac_header" >&5
32434 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
32435 if eval "test \"\${$as_ac_Header+set}\" = set"; then
32436 echo $ECHO_N "(cached) $ECHO_C" >&6
32438 eval "$as_ac_Header=\$ac_header_preproc"
32440 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
32441 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
32444 if test `eval echo '${'$as_ac_Header'}'` = yes; then
32445 cat >>confdefs.h
<<_ACEOF
32446 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
32453 if test "$ac_cv_header_sched_h" = "yes"; then
32454 echo "$as_me:$LINENO: checking for sched_yield" >&5
32455 echo $ECHO_N "checking for sched_yield... $ECHO_C" >&6
32456 if test "${ac_cv_func_sched_yield+set}" = set; then
32457 echo $ECHO_N "(cached) $ECHO_C" >&6
32459 cat >conftest.
$ac_ext <<_ACEOF
32462 cat confdefs.h
>>conftest.
$ac_ext
32463 cat >>conftest.
$ac_ext <<_ACEOF
32464 /* end confdefs.h. */
32465 /* Define sched_yield to an innocuous variant, in case <limits.h> declares sched_yield.
32466 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32467 #define sched_yield innocuous_sched_yield
32469 /* System header to define __stub macros and hopefully few prototypes,
32470 which can conflict with char sched_yield (); below.
32471 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32472 <limits.h> exists even on freestanding compilers. */
32475 # include <limits.h>
32477 # include <assert.h>
32482 /* Override any gcc2 internal prototype to avoid an error. */
32487 /* We use char because int might match the return type of a gcc2
32488 builtin and then its argument prototype would still apply. */
32489 char sched_yield ();
32490 /* The GNU C library defines this for functions which it implements
32491 to always fail with ENOSYS. Some functions are actually named
32492 something starting with __ and the normal name is an alias. */
32493 #if defined (__stub_sched_yield) || defined (__stub___sched_yield)
32496 char (*f) () = sched_yield;
32505 return f != sched_yield;
32510 rm -f conftest.
$ac_objext conftest
$ac_exeext
32511 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32512 (eval $ac_link) 2>conftest.er1
32514 grep -v '^ *+' conftest.er1
>conftest.err
32516 cat conftest.err
>&5
32517 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32518 (exit $ac_status); } &&
32519 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
32520 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32521 (eval $ac_try) 2>&5
32523 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32524 (exit $ac_status); }; } &&
32525 { ac_try
='test -s conftest$ac_exeext'
32526 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32527 (eval $ac_try) 2>&5
32529 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32530 (exit $ac_status); }; }; then
32531 ac_cv_func_sched_yield
=yes
32533 echo "$as_me: failed program was:" >&5
32534 sed 's/^/| /' conftest.
$ac_ext >&5
32536 ac_cv_func_sched_yield
=no
32538 rm -f conftest.err conftest.
$ac_objext \
32539 conftest
$ac_exeext conftest.
$ac_ext
32541 echo "$as_me:$LINENO: result: $ac_cv_func_sched_yield" >&5
32542 echo "${ECHO_T}$ac_cv_func_sched_yield" >&6
32543 if test $ac_cv_func_sched_yield = yes; then
32544 cat >>confdefs.h
<<\_ACEOF
32545 #define HAVE_SCHED_YIELD 1
32550 echo "$as_me:$LINENO: checking for sched_yield in -lposix4" >&5
32551 echo $ECHO_N "checking for sched_yield in -lposix4... $ECHO_C" >&6
32552 if test "${ac_cv_lib_posix4_sched_yield+set}" = set; then
32553 echo $ECHO_N "(cached) $ECHO_C" >&6
32555 ac_check_lib_save_LIBS
=$LIBS
32556 LIBS
="-lposix4 $LIBS"
32557 cat >conftest.
$ac_ext <<_ACEOF
32560 cat confdefs.h
>>conftest.
$ac_ext
32561 cat >>conftest.
$ac_ext <<_ACEOF
32562 /* end confdefs.h. */
32564 /* Override any gcc2 internal prototype to avoid an error. */
32568 /* We use char because int might match the return type of a gcc2
32569 builtin and then its argument prototype would still apply. */
32570 char sched_yield ();
32579 rm -f conftest.
$ac_objext conftest
$ac_exeext
32580 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32581 (eval $ac_link) 2>conftest.er1
32583 grep -v '^ *+' conftest.er1
>conftest.err
32585 cat conftest.err
>&5
32586 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32587 (exit $ac_status); } &&
32588 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
32589 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32590 (eval $ac_try) 2>&5
32592 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32593 (exit $ac_status); }; } &&
32594 { ac_try
='test -s conftest$ac_exeext'
32595 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32596 (eval $ac_try) 2>&5
32598 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32599 (exit $ac_status); }; }; then
32600 ac_cv_lib_posix4_sched_yield
=yes
32602 echo "$as_me: failed program was:" >&5
32603 sed 's/^/| /' conftest.
$ac_ext >&5
32605 ac_cv_lib_posix4_sched_yield
=no
32607 rm -f conftest.err conftest.
$ac_objext \
32608 conftest
$ac_exeext conftest.
$ac_ext
32609 LIBS
=$ac_check_lib_save_LIBS
32611 echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_sched_yield" >&5
32612 echo "${ECHO_T}$ac_cv_lib_posix4_sched_yield" >&6
32613 if test $ac_cv_lib_posix4_sched_yield = yes; then
32614 cat >>confdefs.h
<<\_ACEOF
32615 #define HAVE_SCHED_YIELD 1
32617 POSIX4_LINK
=" -lposix4"
32619 { echo "$as_me:$LINENO: WARNING: wxThread::Yield will not work properly" >&5
32620 echo "$as_me: WARNING: wxThread::Yield will not work properly" >&2;}
32631 echo "$as_me:$LINENO: checking for pthread_attr_getschedpolicy" >&5
32632 echo $ECHO_N "checking for pthread_attr_getschedpolicy... $ECHO_C" >&6
32633 if test "${ac_cv_func_pthread_attr_getschedpolicy+set}" = set; then
32634 echo $ECHO_N "(cached) $ECHO_C" >&6
32636 cat >conftest.
$ac_ext <<_ACEOF
32639 cat confdefs.h
>>conftest.
$ac_ext
32640 cat >>conftest.
$ac_ext <<_ACEOF
32641 /* end confdefs.h. */
32642 /* Define pthread_attr_getschedpolicy to an innocuous variant, in case <limits.h> declares pthread_attr_getschedpolicy.
32643 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32644 #define pthread_attr_getschedpolicy innocuous_pthread_attr_getschedpolicy
32646 /* System header to define __stub macros and hopefully few prototypes,
32647 which can conflict with char pthread_attr_getschedpolicy (); below.
32648 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32649 <limits.h> exists even on freestanding compilers. */
32652 # include <limits.h>
32654 # include <assert.h>
32657 #undef pthread_attr_getschedpolicy
32659 /* Override any gcc2 internal prototype to avoid an error. */
32664 /* We use char because int might match the return type of a gcc2
32665 builtin and then its argument prototype would still apply. */
32666 char pthread_attr_getschedpolicy ();
32667 /* The GNU C library defines this for functions which it implements
32668 to always fail with ENOSYS. Some functions are actually named
32669 something starting with __ and the normal name is an alias. */
32670 #if defined (__stub_pthread_attr_getschedpolicy) || defined (__stub___pthread_attr_getschedpolicy)
32673 char (*f) () = pthread_attr_getschedpolicy;
32682 return f != pthread_attr_getschedpolicy;
32687 rm -f conftest.
$ac_objext conftest
$ac_exeext
32688 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32689 (eval $ac_link) 2>conftest.er1
32691 grep -v '^ *+' conftest.er1
>conftest.err
32693 cat conftest.err
>&5
32694 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32695 (exit $ac_status); } &&
32696 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
32697 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32698 (eval $ac_try) 2>&5
32700 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32701 (exit $ac_status); }; } &&
32702 { ac_try
='test -s conftest$ac_exeext'
32703 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32704 (eval $ac_try) 2>&5
32706 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32707 (exit $ac_status); }; }; then
32708 ac_cv_func_pthread_attr_getschedpolicy
=yes
32710 echo "$as_me: failed program was:" >&5
32711 sed 's/^/| /' conftest.
$ac_ext >&5
32713 ac_cv_func_pthread_attr_getschedpolicy
=no
32715 rm -f conftest.err conftest.
$ac_objext \
32716 conftest
$ac_exeext conftest.
$ac_ext
32718 echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_getschedpolicy" >&5
32719 echo "${ECHO_T}$ac_cv_func_pthread_attr_getschedpolicy" >&6
32720 if test $ac_cv_func_pthread_attr_getschedpolicy = yes; then
32721 echo "$as_me:$LINENO: checking for pthread_attr_setschedparam" >&5
32722 echo $ECHO_N "checking for pthread_attr_setschedparam... $ECHO_C" >&6
32723 if test "${ac_cv_func_pthread_attr_setschedparam+set}" = set; then
32724 echo $ECHO_N "(cached) $ECHO_C" >&6
32726 cat >conftest.
$ac_ext <<_ACEOF
32729 cat confdefs.h
>>conftest.
$ac_ext
32730 cat >>conftest.
$ac_ext <<_ACEOF
32731 /* end confdefs.h. */
32732 /* Define pthread_attr_setschedparam to an innocuous variant, in case <limits.h> declares pthread_attr_setschedparam.
32733 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32734 #define pthread_attr_setschedparam innocuous_pthread_attr_setschedparam
32736 /* System header to define __stub macros and hopefully few prototypes,
32737 which can conflict with char pthread_attr_setschedparam (); below.
32738 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32739 <limits.h> exists even on freestanding compilers. */
32742 # include <limits.h>
32744 # include <assert.h>
32747 #undef pthread_attr_setschedparam
32749 /* Override any gcc2 internal prototype to avoid an error. */
32754 /* We use char because int might match the return type of a gcc2
32755 builtin and then its argument prototype would still apply. */
32756 char pthread_attr_setschedparam ();
32757 /* The GNU C library defines this for functions which it implements
32758 to always fail with ENOSYS. Some functions are actually named
32759 something starting with __ and the normal name is an alias. */
32760 #if defined (__stub_pthread_attr_setschedparam) || defined (__stub___pthread_attr_setschedparam)
32763 char (*f) () = pthread_attr_setschedparam;
32772 return f != pthread_attr_setschedparam;
32777 rm -f conftest.
$ac_objext conftest
$ac_exeext
32778 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32779 (eval $ac_link) 2>conftest.er1
32781 grep -v '^ *+' conftest.er1
>conftest.err
32783 cat conftest.err
>&5
32784 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32785 (exit $ac_status); } &&
32786 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
32787 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32788 (eval $ac_try) 2>&5
32790 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32791 (exit $ac_status); }; } &&
32792 { ac_try
='test -s conftest$ac_exeext'
32793 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32794 (eval $ac_try) 2>&5
32796 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32797 (exit $ac_status); }; }; then
32798 ac_cv_func_pthread_attr_setschedparam
=yes
32800 echo "$as_me: failed program was:" >&5
32801 sed 's/^/| /' conftest.
$ac_ext >&5
32803 ac_cv_func_pthread_attr_setschedparam
=no
32805 rm -f conftest.err conftest.
$ac_objext \
32806 conftest
$ac_exeext conftest.
$ac_ext
32808 echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_setschedparam" >&5
32809 echo "${ECHO_T}$ac_cv_func_pthread_attr_setschedparam" >&6
32810 if test $ac_cv_func_pthread_attr_setschedparam = yes; then
32811 echo "$as_me:$LINENO: checking for sched_get_priority_max" >&5
32812 echo $ECHO_N "checking for sched_get_priority_max... $ECHO_C" >&6
32813 if test "${ac_cv_func_sched_get_priority_max+set}" = set; then
32814 echo $ECHO_N "(cached) $ECHO_C" >&6
32816 cat >conftest.
$ac_ext <<_ACEOF
32819 cat confdefs.h
>>conftest.
$ac_ext
32820 cat >>conftest.
$ac_ext <<_ACEOF
32821 /* end confdefs.h. */
32822 /* Define sched_get_priority_max to an innocuous variant, in case <limits.h> declares sched_get_priority_max.
32823 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32824 #define sched_get_priority_max innocuous_sched_get_priority_max
32826 /* System header to define __stub macros and hopefully few prototypes,
32827 which can conflict with char sched_get_priority_max (); below.
32828 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32829 <limits.h> exists even on freestanding compilers. */
32832 # include <limits.h>
32834 # include <assert.h>
32837 #undef sched_get_priority_max
32839 /* Override any gcc2 internal prototype to avoid an error. */
32844 /* We use char because int might match the return type of a gcc2
32845 builtin and then its argument prototype would still apply. */
32846 char sched_get_priority_max ();
32847 /* The GNU C library defines this for functions which it implements
32848 to always fail with ENOSYS. Some functions are actually named
32849 something starting with __ and the normal name is an alias. */
32850 #if defined (__stub_sched_get_priority_max) || defined (__stub___sched_get_priority_max)
32853 char (*f) () = sched_get_priority_max;
32862 return f != sched_get_priority_max;
32867 rm -f conftest.
$ac_objext conftest
$ac_exeext
32868 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32869 (eval $ac_link) 2>conftest.er1
32871 grep -v '^ *+' conftest.er1
>conftest.err
32873 cat conftest.err
>&5
32874 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32875 (exit $ac_status); } &&
32876 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
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); }; } &&
32882 { ac_try
='test -s conftest$ac_exeext'
32883 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32884 (eval $ac_try) 2>&5
32886 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32887 (exit $ac_status); }; }; then
32888 ac_cv_func_sched_get_priority_max
=yes
32890 echo "$as_me: failed program was:" >&5
32891 sed 's/^/| /' conftest.
$ac_ext >&5
32893 ac_cv_func_sched_get_priority_max
=no
32895 rm -f conftest.err conftest.
$ac_objext \
32896 conftest
$ac_exeext conftest.
$ac_ext
32898 echo "$as_me:$LINENO: result: $ac_cv_func_sched_get_priority_max" >&5
32899 echo "${ECHO_T}$ac_cv_func_sched_get_priority_max" >&6
32900 if test $ac_cv_func_sched_get_priority_max = yes; then
32903 echo "$as_me:$LINENO: checking for sched_get_priority_max in -lposix4" >&5
32904 echo $ECHO_N "checking for sched_get_priority_max in -lposix4... $ECHO_C" >&6
32905 if test "${ac_cv_lib_posix4_sched_get_priority_max+set}" = set; then
32906 echo $ECHO_N "(cached) $ECHO_C" >&6
32908 ac_check_lib_save_LIBS
=$LIBS
32909 LIBS
="-lposix4 $LIBS"
32910 cat >conftest.
$ac_ext <<_ACEOF
32913 cat confdefs.h
>>conftest.
$ac_ext
32914 cat >>conftest.
$ac_ext <<_ACEOF
32915 /* end confdefs.h. */
32917 /* Override any gcc2 internal prototype to avoid an error. */
32921 /* We use char because int might match the return type of a gcc2
32922 builtin and then its argument prototype would still apply. */
32923 char sched_get_priority_max ();
32927 sched_get_priority_max ();
32932 rm -f conftest.
$ac_objext conftest
$ac_exeext
32933 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32934 (eval $ac_link) 2>conftest.er1
32936 grep -v '^ *+' conftest.er1
>conftest.err
32938 cat conftest.err
>&5
32939 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32940 (exit $ac_status); } &&
32941 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
32942 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32943 (eval $ac_try) 2>&5
32945 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32946 (exit $ac_status); }; } &&
32947 { ac_try
='test -s conftest$ac_exeext'
32948 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32949 (eval $ac_try) 2>&5
32951 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32952 (exit $ac_status); }; }; then
32953 ac_cv_lib_posix4_sched_get_priority_max
=yes
32955 echo "$as_me: failed program was:" >&5
32956 sed 's/^/| /' conftest.
$ac_ext >&5
32958 ac_cv_lib_posix4_sched_get_priority_max
=no
32960 rm -f conftest.err conftest.
$ac_objext \
32961 conftest
$ac_exeext conftest.
$ac_ext
32962 LIBS
=$ac_check_lib_save_LIBS
32964 echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_sched_get_priority_max" >&5
32965 echo "${ECHO_T}$ac_cv_lib_posix4_sched_get_priority_max" >&6
32966 if test $ac_cv_lib_posix4_sched_get_priority_max = yes; then
32969 POSIX4_LINK
=" -lposix4"
32983 if test "$HAVE_PRIOR_FUNCS" = 1; then
32984 cat >>confdefs.h
<<\_ACEOF
32985 #define HAVE_THREAD_PRIORITY_FUNCTIONS 1
32989 { echo "$as_me:$LINENO: WARNING: Setting thread priority will not work" >&5
32990 echo "$as_me: WARNING: Setting thread priority will not work" >&2;}
32993 echo "$as_me:$LINENO: checking for pthread_cancel" >&5
32994 echo $ECHO_N "checking for pthread_cancel... $ECHO_C" >&6
32995 if test "${ac_cv_func_pthread_cancel+set}" = set; then
32996 echo $ECHO_N "(cached) $ECHO_C" >&6
32998 cat >conftest.
$ac_ext <<_ACEOF
33001 cat confdefs.h
>>conftest.
$ac_ext
33002 cat >>conftest.
$ac_ext <<_ACEOF
33003 /* end confdefs.h. */
33004 /* Define pthread_cancel to an innocuous variant, in case <limits.h> declares pthread_cancel.
33005 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33006 #define pthread_cancel innocuous_pthread_cancel
33008 /* System header to define __stub macros and hopefully few prototypes,
33009 which can conflict with char pthread_cancel (); below.
33010 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33011 <limits.h> exists even on freestanding compilers. */
33014 # include <limits.h>
33016 # include <assert.h>
33019 #undef pthread_cancel
33021 /* Override any gcc2 internal prototype to avoid an error. */
33026 /* We use char because int might match the return type of a gcc2
33027 builtin and then its argument prototype would still apply. */
33028 char pthread_cancel ();
33029 /* The GNU C library defines this for functions which it implements
33030 to always fail with ENOSYS. Some functions are actually named
33031 something starting with __ and the normal name is an alias. */
33032 #if defined (__stub_pthread_cancel) || defined (__stub___pthread_cancel)
33035 char (*f) () = pthread_cancel;
33044 return f != pthread_cancel;
33049 rm -f conftest.
$ac_objext conftest
$ac_exeext
33050 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33051 (eval $ac_link) 2>conftest.er1
33053 grep -v '^ *+' conftest.er1
>conftest.err
33055 cat conftest.err
>&5
33056 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33057 (exit $ac_status); } &&
33058 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
33059 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33060 (eval $ac_try) 2>&5
33062 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33063 (exit $ac_status); }; } &&
33064 { ac_try
='test -s conftest$ac_exeext'
33065 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33066 (eval $ac_try) 2>&5
33068 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33069 (exit $ac_status); }; }; then
33070 ac_cv_func_pthread_cancel
=yes
33072 echo "$as_me: failed program was:" >&5
33073 sed 's/^/| /' conftest.
$ac_ext >&5
33075 ac_cv_func_pthread_cancel
=no
33077 rm -f conftest.err conftest.
$ac_objext \
33078 conftest
$ac_exeext conftest.
$ac_ext
33080 echo "$as_me:$LINENO: result: $ac_cv_func_pthread_cancel" >&5
33081 echo "${ECHO_T}$ac_cv_func_pthread_cancel" >&6
33082 if test $ac_cv_func_pthread_cancel = yes; then
33083 cat >>confdefs.h
<<\_ACEOF
33084 #define HAVE_PTHREAD_CANCEL 1
33088 { echo "$as_me:$LINENO: WARNING: wxThread::Kill() will not work properly" >&5
33089 echo "$as_me: WARNING: wxThread::Kill() will not work properly" >&2;}
33095 echo "$as_me:$LINENO: checking for pthread_mutexattr_t" >&5
33096 echo $ECHO_N "checking for pthread_mutexattr_t... $ECHO_C" >&6
33097 if test "${wx_cv_type_pthread_mutexattr_t+set}" = set; then
33098 echo $ECHO_N "(cached) $ECHO_C" >&6
33101 cat >conftest.
$ac_ext <<_ACEOF
33104 cat confdefs.h
>>conftest.
$ac_ext
33105 cat >>conftest.
$ac_ext <<_ACEOF
33106 /* end confdefs.h. */
33107 #include <pthread.h>
33112 pthread_mutexattr_t attr;
33113 pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE);
33119 rm -f conftest.
$ac_objext
33120 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33121 (eval $ac_compile) 2>conftest.er1
33123 grep -v '^ *+' conftest.er1
>conftest.err
33125 cat conftest.err
>&5
33126 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33127 (exit $ac_status); } &&
33128 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
33129 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33130 (eval $ac_try) 2>&5
33132 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33133 (exit $ac_status); }; } &&
33134 { ac_try
='test -s conftest.$ac_objext'
33135 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33136 (eval $ac_try) 2>&5
33138 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33139 (exit $ac_status); }; }; then
33141 wx_cv_type_pthread_mutexattr_t
=yes
33144 echo "$as_me: failed program was:" >&5
33145 sed 's/^/| /' conftest.
$ac_ext >&5
33148 wx_cv_type_pthread_mutexattr_t
=no
33152 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
33155 echo "$as_me:$LINENO: result: $wx_cv_type_pthread_mutexattr_t" >&5
33156 echo "${ECHO_T}$wx_cv_type_pthread_mutexattr_t" >&6
33158 if test "$wx_cv_type_pthread_mutexattr_t" = "yes"; then
33159 cat >>confdefs.h
<<\_ACEOF
33160 #define HAVE_PTHREAD_MUTEXATTR_T 1
33164 echo "$as_me:$LINENO: checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER" >&5
33165 echo $ECHO_N "checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER... $ECHO_C" >&6
33166 if test "${wx_cv_type_pthread_rec_mutex_init+set}" = set; then
33167 echo $ECHO_N "(cached) $ECHO_C" >&6
33170 cat >conftest.
$ac_ext <<_ACEOF
33173 cat confdefs.h
>>conftest.
$ac_ext
33174 cat >>conftest.
$ac_ext <<_ACEOF
33175 /* end confdefs.h. */
33176 #include <pthread.h>
33181 pthread_mutex_t attr = PTHREAD_RECURSIVE_MUTEX_INITIALIZER_NP;
33187 rm -f conftest.
$ac_objext
33188 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33189 (eval $ac_compile) 2>conftest.er1
33191 grep -v '^ *+' conftest.er1
>conftest.err
33193 cat conftest.err
>&5
33194 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33195 (exit $ac_status); } &&
33196 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
33197 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33198 (eval $ac_try) 2>&5
33200 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33201 (exit $ac_status); }; } &&
33202 { ac_try
='test -s conftest.$ac_objext'
33203 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33204 (eval $ac_try) 2>&5
33206 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33207 (exit $ac_status); }; }; then
33209 wx_cv_type_pthread_rec_mutex_init
=yes
33212 echo "$as_me: failed program was:" >&5
33213 sed 's/^/| /' conftest.
$ac_ext >&5
33216 wx_cv_type_pthread_rec_mutex_init
=no
33220 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
33223 echo "$as_me:$LINENO: result: $wx_cv_type_pthread_rec_mutex_init" >&5
33224 echo "${ECHO_T}$wx_cv_type_pthread_rec_mutex_init" >&6
33225 if test "$wx_cv_type_pthread_rec_mutex_init" = "yes"; then
33226 cat >>confdefs.h
<<\_ACEOF
33227 #define HAVE_PTHREAD_RECURSIVE_MUTEX_INITIALIZER 1
33231 { echo "$as_me:$LINENO: WARNING: wxMutex won't be recursive on this platform" >&5
33232 echo "$as_me: WARNING: wxMutex won't be recursive on this platform" >&2;}
33238 if test "$wxUSE_THREADS" = "yes" ; then
33241 echo "$as_me:$LINENO: checking if compiler supports -mthreads" >&5
33242 echo $ECHO_N "checking if compiler supports -mthreads... $ECHO_C" >&6
33243 if test "${wx_cv_cflags_mthread+set}" = set; then
33244 echo $ECHO_N "(cached) $ECHO_C" >&6
33247 CFLAGS_OLD
="$CFLAGS"
33248 CFLAGS
="$CFLAGS -mthreads"
33249 cat >conftest.
$ac_ext <<_ACEOF
33252 cat confdefs.h
>>conftest.
$ac_ext
33253 cat >>conftest.
$ac_ext <<_ACEOF
33254 /* end confdefs.h. */
33264 rm -f conftest.
$ac_objext
33265 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33266 (eval $ac_compile) 2>conftest.er1
33268 grep -v '^ *+' conftest.er1
>conftest.err
33270 cat conftest.err
>&5
33271 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33272 (exit $ac_status); } &&
33273 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
33274 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33275 (eval $ac_try) 2>&5
33277 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33278 (exit $ac_status); }; } &&
33279 { ac_try
='test -s conftest.$ac_objext'
33280 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33281 (eval $ac_try) 2>&5
33283 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33284 (exit $ac_status); }; }; then
33285 wx_cv_cflags_mthread
=yes
33287 echo "$as_me: failed program was:" >&5
33288 sed 's/^/| /' conftest.
$ac_ext >&5
33290 wx_cv_cflags_mthread
=no
33293 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
33297 echo "$as_me:$LINENO: result: $wx_cv_cflags_mthread" >&5
33298 echo "${ECHO_T}$wx_cv_cflags_mthread" >&6
33300 if test "$wx_cv_cflags_mthread" = "yes"; then
33301 CXXFLAGS
="$CXXFLAGS -mthreads"
33302 TOOLCHAIN_DEFS
="$TOOLCHAIN_DEFS -mthreads"
33303 LDFLAGS
="$LDFLAGS -mthreads"
33305 CFLAGS
="$CFLAGS_OLD"
33309 CFLAGS
="$CFLAGS -Zmt -D__ST_MT_ERRNO__"
33310 CXXFLAGS
="$CXXFLAGS -Zmt -D__ST_MT_ERRNO__"
33311 LDFLAGS
="$LDFLAGS -Zmt"
33317 if test "$wxUSE_THREADS" = "yes"; then
33318 cat >>confdefs.h
<<\_ACEOF
33319 #define wxUSE_THREADS 1
33323 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS thread"
33325 if test "$ac_cv_func_strtok_r" = "yes"; then
33326 echo "$as_me:$LINENO: checking if -D_REENTRANT is needed" >&5
33327 echo $ECHO_N "checking if -D_REENTRANT is needed... $ECHO_C" >&6
33328 if test "$NEEDS_D_REENTRANT_FOR_R_FUNCS" = 1; then
33329 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -D_REENTRANT"
33330 echo "$as_me:$LINENO: result: yes" >&5
33331 echo "${ECHO_T}yes" >&6
33333 echo "$as_me:$LINENO: result: no" >&5
33334 echo "${ECHO_T}no" >&6
33339 if test "$WXGTK20" = 1 ; then
33340 cat >>confdefs.h
<<_ACEOF
33341 #define __WXGTK20__ $WXGTK20
33347 if test "$WXGTK12" = 1 ; then
33348 cat >>confdefs.h
<<_ACEOF
33349 #define __WXGTK12__ $WXGTK12
33354 if test "$WXGTK127" = 1 ; then
33355 cat >>confdefs.h
<<_ACEOF
33356 #define __WXGTK127__ $WXGTK127
33361 if test "$WXGPE" = 1 ; then
33362 cat >>confdefs.h
<<_ACEOF
33363 #define __WXGPE__ $WXGPE
33370 if test "$wxUSE_DEBUG_INFO" = "yes" ; then
33375 if test "$wxUSE_DEBUG_GDB" = "yes" ; then
33376 wxUSE_DEBUG_INFO
=yes
33380 if test "$wxUSE_DEBUG_FLAG" = "yes" ; then
33381 cat >>confdefs.h
<<\_ACEOF
33385 WXDEBUG_DEFINE
="-D__WXDEBUG__"
33387 if test "$wxUSE_GTK" = 1 ; then
33388 WXDEBUG_DEFINE
="-DGTK_NO_CHECK_CASTS"
33392 if test "$wxUSE_MEM_TRACING" = "yes" ; then
33393 cat >>confdefs.h
<<\_ACEOF
33394 #define wxUSE_MEMORY_TRACING 1
33397 cat >>confdefs.h
<<\_ACEOF
33398 #define wxUSE_GLOBAL_MEMORY_OPERATORS 1
33401 cat >>confdefs.h
<<\_ACEOF
33402 #define wxUSE_DEBUG_NEW_ALWAYS 1
33405 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS memcheck"
33408 if test "$wxUSE_DMALLOC" = "yes" ; then
33409 DMALLOC_LIBS
="-ldmalloc"
33413 if test "$wxUSE_PROFILE" = "yes" ; then
33418 CODE_GEN_FLAGS_CXX
=
33419 if test "$GCC" = "yes" ; then
33420 if test "$wxUSE_NO_RTTI" = "yes" ; then
33421 CODE_GEN_FLAGS_CXX
="$CODE_GEN_FLAGS_CXX -fno-rtti"
33423 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
33424 CODE_GEN_FLAGS_CXX
="$CODE_GEN_FLAGS_CXX -fno-exceptions"
33426 if test "$wxUSE_PERMISSIVE" = "yes" ; then
33427 CODE_GEN_FLAGS
="$CODE_GEN_FLAGS -fpermissive"
33432 CODE_GEN_FLAGS
="$CODE_GEN_FLAGS -mminimal-toc"
33435 CODE_GEN_FLAGS
="$CODE_GEN_FLAGS -ffunction-sections"
33441 if test "$wxUSE_OPTIMISE" = "no" ; then
33442 if test "$GCC" = yes ; then
33446 if test "$GCC" = yes ; then
33450 i586
-*-*|i686
-*-* )
33451 OPTIMISE
="${OPTIMISE} "
33460 if test "x$WXWIN_COMPATIBILITY_2_2" = "xyes"; then
33461 cat >>confdefs.h
<<\_ACEOF
33462 #define WXWIN_COMPATIBILITY_2_2 1
33466 WXWIN_COMPATIBILITY_2_4
="yes"
33469 if test "x$WXWIN_COMPATIBILITY_2_4" != "xno"; then
33470 cat >>confdefs.h
<<\_ACEOF
33471 #define WXWIN_COMPATIBILITY_2_4 1
33477 if test "$wxUSE_GUI" = "yes"; then
33478 cat >>confdefs.h
<<\_ACEOF
33479 #define wxUSE_GUI 1
33484 cat >>confdefs.h
<<\_ACEOF
33485 #define wxUSE_NOGUI 1
33491 if test "$wxUSE_UNIX" = "yes"; then
33492 cat >>confdefs.h
<<\_ACEOF
33493 #define wxUSE_UNIX 1
33499 if test "$TOOLKIT" != "MSW" -a "$USE_OS2" != 1; then
33503 if test "$wxUSE_DYNAMIC_LOADER" = "yes" -o "$wxUSE_DYNLIB_CLASS" = "yes" ; then
33504 if test "$USE_DARWIN" = 1; then
33508 for ac_func
in dlopen
33510 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33511 echo "$as_me:$LINENO: checking for $ac_func" >&5
33512 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33513 if eval "test \"\${$as_ac_var+set}\" = set"; then
33514 echo $ECHO_N "(cached) $ECHO_C" >&6
33516 cat >conftest.
$ac_ext <<_ACEOF
33519 cat confdefs.h
>>conftest.
$ac_ext
33520 cat >>conftest.
$ac_ext <<_ACEOF
33521 /* end confdefs.h. */
33522 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
33523 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33524 #define $ac_func innocuous_$ac_func
33526 /* System header to define __stub macros and hopefully few prototypes,
33527 which can conflict with char $ac_func (); below.
33528 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33529 <limits.h> exists even on freestanding compilers. */
33532 # include <limits.h>
33534 # include <assert.h>
33539 /* Override any gcc2 internal prototype to avoid an error. */
33544 /* We use char because int might match the return type of a gcc2
33545 builtin and then its argument prototype would still apply. */
33547 /* The GNU C library defines this for functions which it implements
33548 to always fail with ENOSYS. Some functions are actually named
33549 something starting with __ and the normal name is an alias. */
33550 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33553 char (*f) () = $ac_func;
33562 return f != $ac_func;
33567 rm -f conftest.
$ac_objext conftest
$ac_exeext
33568 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33569 (eval $ac_link) 2>conftest.er1
33571 grep -v '^ *+' conftest.er1
>conftest.err
33573 cat conftest.err
>&5
33574 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33575 (exit $ac_status); } &&
33576 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
33577 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33578 (eval $ac_try) 2>&5
33580 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33581 (exit $ac_status); }; } &&
33582 { ac_try
='test -s conftest$ac_exeext'
33583 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33584 (eval $ac_try) 2>&5
33586 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33587 (exit $ac_status); }; }; then
33588 eval "$as_ac_var=yes"
33590 echo "$as_me: failed program was:" >&5
33591 sed 's/^/| /' conftest.
$ac_ext >&5
33593 eval "$as_ac_var=no"
33595 rm -f conftest.err conftest.
$ac_objext \
33596 conftest
$ac_exeext conftest.
$ac_ext
33598 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33599 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33600 if test `eval echo '${'$as_ac_var'}'` = yes; then
33601 cat >>confdefs.h
<<_ACEOF
33602 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33605 cat >>confdefs.h
<<\_ACEOF
33606 #define HAVE_DLOPEN 1
33613 echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
33614 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
33615 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
33616 echo $ECHO_N "(cached) $ECHO_C" >&6
33618 ac_check_lib_save_LIBS
=$LIBS
33620 cat >conftest.
$ac_ext <<_ACEOF
33623 cat confdefs.h
>>conftest.
$ac_ext
33624 cat >>conftest.
$ac_ext <<_ACEOF
33625 /* end confdefs.h. */
33627 /* Override any gcc2 internal prototype to avoid an error. */
33631 /* We use char because int might match the return type of a gcc2
33632 builtin and then its argument prototype would still apply. */
33642 rm -f conftest.
$ac_objext conftest
$ac_exeext
33643 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33644 (eval $ac_link) 2>conftest.er1
33646 grep -v '^ *+' conftest.er1
>conftest.err
33648 cat conftest.err
>&5
33649 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33650 (exit $ac_status); } &&
33651 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
33652 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33653 (eval $ac_try) 2>&5
33655 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33656 (exit $ac_status); }; } &&
33657 { ac_try
='test -s conftest$ac_exeext'
33658 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33659 (eval $ac_try) 2>&5
33661 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33662 (exit $ac_status); }; }; then
33663 ac_cv_lib_dl_dlopen
=yes
33665 echo "$as_me: failed program was:" >&5
33666 sed 's/^/| /' conftest.
$ac_ext >&5
33668 ac_cv_lib_dl_dlopen
=no
33670 rm -f conftest.err conftest.
$ac_objext \
33671 conftest
$ac_exeext conftest.
$ac_ext
33672 LIBS
=$ac_check_lib_save_LIBS
33674 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
33675 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
33676 if test $ac_cv_lib_dl_dlopen = yes; then
33678 cat >>confdefs.h
<<\_ACEOF
33679 #define HAVE_DLOPEN 1
33683 DL_LINK
=" -ldl$DL_LINK"
33688 for ac_func
in shl_load
33690 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33691 echo "$as_me:$LINENO: checking for $ac_func" >&5
33692 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33693 if eval "test \"\${$as_ac_var+set}\" = set"; then
33694 echo $ECHO_N "(cached) $ECHO_C" >&6
33696 cat >conftest.
$ac_ext <<_ACEOF
33699 cat confdefs.h
>>conftest.
$ac_ext
33700 cat >>conftest.
$ac_ext <<_ACEOF
33701 /* end confdefs.h. */
33702 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
33703 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33704 #define $ac_func innocuous_$ac_func
33706 /* System header to define __stub macros and hopefully few prototypes,
33707 which can conflict with char $ac_func (); below.
33708 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33709 <limits.h> exists even on freestanding compilers. */
33712 # include <limits.h>
33714 # include <assert.h>
33719 /* Override any gcc2 internal prototype to avoid an error. */
33724 /* We use char because int might match the return type of a gcc2
33725 builtin and then its argument prototype would still apply. */
33727 /* The GNU C library defines this for functions which it implements
33728 to always fail with ENOSYS. Some functions are actually named
33729 something starting with __ and the normal name is an alias. */
33730 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33733 char (*f) () = $ac_func;
33742 return f != $ac_func;
33747 rm -f conftest.
$ac_objext conftest
$ac_exeext
33748 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33749 (eval $ac_link) 2>conftest.er1
33751 grep -v '^ *+' conftest.er1
>conftest.err
33753 cat conftest.err
>&5
33754 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33755 (exit $ac_status); } &&
33756 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
33757 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33758 (eval $ac_try) 2>&5
33760 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33761 (exit $ac_status); }; } &&
33762 { ac_try
='test -s conftest$ac_exeext'
33763 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33764 (eval $ac_try) 2>&5
33766 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33767 (exit $ac_status); }; }; then
33768 eval "$as_ac_var=yes"
33770 echo "$as_me: failed program was:" >&5
33771 sed 's/^/| /' conftest.
$ac_ext >&5
33773 eval "$as_ac_var=no"
33775 rm -f conftest.err conftest.
$ac_objext \
33776 conftest
$ac_exeext conftest.
$ac_ext
33778 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33779 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33780 if test `eval echo '${'$as_ac_var'}'` = yes; then
33781 cat >>confdefs.h
<<_ACEOF
33782 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33785 cat >>confdefs.h
<<\_ACEOF
33786 #define HAVE_SHL_LOAD 1
33793 echo "$as_me:$LINENO: checking for dld in -lshl_load" >&5
33794 echo $ECHO_N "checking for dld in -lshl_load... $ECHO_C" >&6
33795 if test "${ac_cv_lib_shl_load_dld+set}" = set; then
33796 echo $ECHO_N "(cached) $ECHO_C" >&6
33798 ac_check_lib_save_LIBS
=$LIBS
33799 LIBS
="-lshl_load $LIBS"
33800 cat >conftest.
$ac_ext <<_ACEOF
33803 cat confdefs.h
>>conftest.
$ac_ext
33804 cat >>conftest.
$ac_ext <<_ACEOF
33805 /* end confdefs.h. */
33807 /* Override any gcc2 internal prototype to avoid an error. */
33811 /* We use char because int might match the return type of a gcc2
33812 builtin and then its argument prototype would still apply. */
33822 rm -f conftest.
$ac_objext conftest
$ac_exeext
33823 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33824 (eval $ac_link) 2>conftest.er1
33826 grep -v '^ *+' conftest.er1
>conftest.err
33828 cat conftest.err
>&5
33829 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33830 (exit $ac_status); } &&
33831 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
33832 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33833 (eval $ac_try) 2>&5
33835 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33836 (exit $ac_status); }; } &&
33837 { ac_try
='test -s conftest$ac_exeext'
33838 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33839 (eval $ac_try) 2>&5
33841 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33842 (exit $ac_status); }; }; then
33843 ac_cv_lib_shl_load_dld
=yes
33845 echo "$as_me: failed program was:" >&5
33846 sed 's/^/| /' conftest.
$ac_ext >&5
33848 ac_cv_lib_shl_load_dld
=no
33850 rm -f conftest.err conftest.
$ac_objext \
33851 conftest
$ac_exeext conftest.
$ac_ext
33852 LIBS
=$ac_check_lib_save_LIBS
33854 echo "$as_me:$LINENO: result: $ac_cv_lib_shl_load_dld" >&5
33855 echo "${ECHO_T}$ac_cv_lib_shl_load_dld" >&6
33856 if test $ac_cv_lib_shl_load_dld = yes; then
33859 DL_LINK
=" -ldld$DL_LINK"
33875 if test "$HAVE_DL_FUNCS" = 1; then
33877 for ac_func
in dlerror
33879 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33880 echo "$as_me:$LINENO: checking for $ac_func" >&5
33881 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33882 if eval "test \"\${$as_ac_var+set}\" = set"; then
33883 echo $ECHO_N "(cached) $ECHO_C" >&6
33885 cat >conftest.
$ac_ext <<_ACEOF
33888 cat confdefs.h
>>conftest.
$ac_ext
33889 cat >>conftest.
$ac_ext <<_ACEOF
33890 /* end confdefs.h. */
33891 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
33892 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33893 #define $ac_func innocuous_$ac_func
33895 /* System header to define __stub macros and hopefully few prototypes,
33896 which can conflict with char $ac_func (); below.
33897 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33898 <limits.h> exists even on freestanding compilers. */
33901 # include <limits.h>
33903 # include <assert.h>
33908 /* Override any gcc2 internal prototype to avoid an error. */
33913 /* We use char because int might match the return type of a gcc2
33914 builtin and then its argument prototype would still apply. */
33916 /* The GNU C library defines this for functions which it implements
33917 to always fail with ENOSYS. Some functions are actually named
33918 something starting with __ and the normal name is an alias. */
33919 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33922 char (*f) () = $ac_func;
33931 return f != $ac_func;
33936 rm -f conftest.
$ac_objext conftest
$ac_exeext
33937 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33938 (eval $ac_link) 2>conftest.er1
33940 grep -v '^ *+' conftest.er1
>conftest.err
33942 cat conftest.err
>&5
33943 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33944 (exit $ac_status); } &&
33945 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
33946 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33947 (eval $ac_try) 2>&5
33949 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33950 (exit $ac_status); }; } &&
33951 { ac_try
='test -s conftest$ac_exeext'
33952 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33953 (eval $ac_try) 2>&5
33955 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33956 (exit $ac_status); }; }; then
33957 eval "$as_ac_var=yes"
33959 echo "$as_me: failed program was:" >&5
33960 sed 's/^/| /' conftest.
$ac_ext >&5
33962 eval "$as_ac_var=no"
33964 rm -f conftest.err conftest.
$ac_objext \
33965 conftest
$ac_exeext conftest.
$ac_ext
33967 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33968 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33969 if test `eval echo '${'$as_ac_var'}'` = yes; then
33970 cat >>confdefs.h
<<_ACEOF
33971 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33973 cat >>confdefs.h
<<\_ACEOF
33974 #define HAVE_DLERROR 1
33979 echo "$as_me:$LINENO: checking for dlerror in -ldl" >&5
33980 echo $ECHO_N "checking for dlerror in -ldl... $ECHO_C" >&6
33981 if test "${ac_cv_lib_dl_dlerror+set}" = set; then
33982 echo $ECHO_N "(cached) $ECHO_C" >&6
33984 ac_check_lib_save_LIBS
=$LIBS
33986 cat >conftest.
$ac_ext <<_ACEOF
33989 cat confdefs.h
>>conftest.
$ac_ext
33990 cat >>conftest.
$ac_ext <<_ACEOF
33991 /* end confdefs.h. */
33993 /* Override any gcc2 internal prototype to avoid an error. */
33997 /* We use char because int might match the return type of a gcc2
33998 builtin and then its argument prototype would still apply. */
34008 rm -f conftest.
$ac_objext conftest
$ac_exeext
34009 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34010 (eval $ac_link) 2>conftest.er1
34012 grep -v '^ *+' conftest.er1
>conftest.err
34014 cat conftest.err
>&5
34015 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34016 (exit $ac_status); } &&
34017 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
34018 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34019 (eval $ac_try) 2>&5
34021 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34022 (exit $ac_status); }; } &&
34023 { ac_try
='test -s conftest$ac_exeext'
34024 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34025 (eval $ac_try) 2>&5
34027 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34028 (exit $ac_status); }; }; then
34029 ac_cv_lib_dl_dlerror
=yes
34031 echo "$as_me: failed program was:" >&5
34032 sed 's/^/| /' conftest.
$ac_ext >&5
34034 ac_cv_lib_dl_dlerror
=no
34036 rm -f conftest.err conftest.
$ac_objext \
34037 conftest
$ac_exeext conftest.
$ac_ext
34038 LIBS
=$ac_check_lib_save_LIBS
34040 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlerror" >&5
34041 echo "${ECHO_T}$ac_cv_lib_dl_dlerror" >&6
34042 if test $ac_cv_lib_dl_dlerror = yes; then
34043 cat >>confdefs.h
<<\_ACEOF
34044 #define HAVE_DLERROR 1
34057 if test "$HAVE_DL_FUNCS" = 0; then
34058 if test "$HAVE_SHL_FUNCS" = 0; then
34059 if test "$USE_UNIX" = 1; then
34060 { echo "$as_me:$LINENO: WARNING: Missing dynamic loading support, several features will be disabled" >&5
34061 echo "$as_me: WARNING: Missing dynamic loading support, several features will be disabled" >&2;}
34062 wxUSE_DYNAMIC_LOADER
=no
34063 wxUSE_DYNLIB_CLASS
=no
34065 { echo "$as_me:$LINENO: WARNING: Assuming wxLibrary class works on this platform" >&5
34066 echo "$as_me: WARNING: Assuming wxLibrary class works on this platform" >&2;}
34073 if test "$wxUSE_DYNAMIC_LOADER" = "yes" ; then
34074 cat >>confdefs.h
<<\_ACEOF
34075 #define wxUSE_DYNAMIC_LOADER 1
34079 if test "$wxUSE_DYNLIB_CLASS" = "yes" ; then
34080 cat >>confdefs.h
<<\_ACEOF
34081 #define wxUSE_DYNLIB_CLASS 1
34088 if test "$wxUSE_PLUGINS" = "yes" ; then
34089 if test "$wxUSE_SHARED" = "no" ; then
34090 { echo "$as_me:$LINENO: WARNING: plugins supported only in shared build, disabling" >&5
34091 echo "$as_me: WARNING: plugins supported only in shared build, disabling" >&2;}
34094 if test "$wxUSE_MONOLITHIC" = "yes" ; then
34095 { echo "$as_me:$LINENO: WARNING: plugins not supported monolithic build, disabling" >&5
34096 echo "$as_me: WARNING: plugins not supported monolithic build, disabling" >&2;}
34099 if test "$wxUSE_DYNLIB_CLASS" = "no" ; then
34100 { echo "$as_me:$LINENO: WARNING: plugins require wxDynamicLibrary, disabling" >&5
34101 echo "$as_me: WARNING: plugins require wxDynamicLibrary, disabling" >&2;}
34104 if test "$wxUSE_PLUGINS" = "yes" ; then
34105 cat >>confdefs.h
<<\_ACEOF
34106 #define wxUSE_PLUGINS 1
34113 if test "$wxUSE_STL" = "yes"; then
34114 cat >>confdefs.h
<<\_ACEOF
34115 #define wxUSE_STL 1
34120 if test "$wxUSE_APPLE_IEEE" = "yes"; then
34121 cat >>confdefs.h
<<\_ACEOF
34122 #define wxUSE_APPLE_IEEE 1
34127 if test "$wxUSE_TIMER" = "yes"; then
34128 cat >>confdefs.h
<<\_ACEOF
34129 #define wxUSE_TIMER 1
34135 if test "$wxUSE_SOUND" = "yes"; then
34136 if test "$USE_UNIX" = "1" ; then
34138 for ac_header
in sys
/soundcard.h
34140 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
34141 if eval "test \"\${$as_ac_Header+set}\" = set"; then
34142 echo "$as_me:$LINENO: checking for $ac_header" >&5
34143 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
34144 if eval "test \"\${$as_ac_Header+set}\" = set"; then
34145 echo $ECHO_N "(cached) $ECHO_C" >&6
34147 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
34148 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
34150 # Is the header compilable?
34151 echo "$as_me:$LINENO: checking $ac_header usability" >&5
34152 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
34153 cat >conftest.
$ac_ext <<_ACEOF
34156 cat confdefs.h
>>conftest.
$ac_ext
34157 cat >>conftest.
$ac_ext <<_ACEOF
34158 /* end confdefs.h. */
34159 $ac_includes_default
34160 #include <$ac_header>
34162 rm -f conftest.
$ac_objext
34163 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34164 (eval $ac_compile) 2>conftest.er1
34166 grep -v '^ *+' conftest.er1
>conftest.err
34168 cat conftest.err
>&5
34169 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34170 (exit $ac_status); } &&
34171 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
34172 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34173 (eval $ac_try) 2>&5
34175 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34176 (exit $ac_status); }; } &&
34177 { ac_try
='test -s conftest.$ac_objext'
34178 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34179 (eval $ac_try) 2>&5
34181 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34182 (exit $ac_status); }; }; then
34183 ac_header_compiler
=yes
34185 echo "$as_me: failed program was:" >&5
34186 sed 's/^/| /' conftest.
$ac_ext >&5
34188 ac_header_compiler
=no
34190 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
34191 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
34192 echo "${ECHO_T}$ac_header_compiler" >&6
34194 # Is the header present?
34195 echo "$as_me:$LINENO: checking $ac_header presence" >&5
34196 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
34197 cat >conftest.
$ac_ext <<_ACEOF
34200 cat confdefs.h
>>conftest.
$ac_ext
34201 cat >>conftest.
$ac_ext <<_ACEOF
34202 /* end confdefs.h. */
34203 #include <$ac_header>
34205 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
34206 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
34208 grep -v '^ *+' conftest.er1
>conftest.err
34210 cat conftest.err
>&5
34211 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34212 (exit $ac_status); } >/dev
/null
; then
34213 if test -s conftest.err
; then
34214 ac_cpp_err
=$ac_c_preproc_warn_flag
34215 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
34222 if test -z "$ac_cpp_err"; then
34223 ac_header_preproc
=yes
34225 echo "$as_me: failed program was:" >&5
34226 sed 's/^/| /' conftest.
$ac_ext >&5
34228 ac_header_preproc
=no
34230 rm -f conftest.err conftest.
$ac_ext
34231 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
34232 echo "${ECHO_T}$ac_header_preproc" >&6
34234 # So? What about this header?
34235 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
34237 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
34238 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
34239 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
34240 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
34241 ac_header_preproc
=yes
34244 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
34245 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
34246 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
34247 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
34248 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
34249 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
34250 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
34251 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
34252 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
34253 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
34254 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
34255 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
34258 ## ----------------------------------------- ##
34259 ## Report this to wx-dev@lists.wxwindows.org ##
34260 ## ----------------------------------------- ##
34263 sed "s/^/$as_me: WARNING: /" >&2
34266 echo "$as_me:$LINENO: checking for $ac_header" >&5
34267 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
34268 if eval "test \"\${$as_ac_Header+set}\" = set"; then
34269 echo $ECHO_N "(cached) $ECHO_C" >&6
34271 eval "$as_ac_Header=\$ac_header_preproc"
34273 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
34274 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
34277 if test `eval echo '${'$as_ac_Header'}'` = yes; then
34278 cat >>confdefs.h
<<_ACEOF
34279 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
34287 if test "$wxUSE_LIBSDL" != "no"; then
34289 # Check whether --with-sdl-prefix or --without-sdl-prefix was given.
34290 if test "${with_sdl_prefix+set}" = set; then
34291 withval
="$with_sdl_prefix"
34292 sdl_prefix
="$withval"
34297 # Check whether --with-sdl-exec-prefix or --without-sdl-exec-prefix was given.
34298 if test "${with_sdl_exec_prefix+set}" = set; then
34299 withval
="$with_sdl_exec_prefix"
34300 sdl_exec_prefix
="$withval"
34304 # Check whether --enable-sdltest or --disable-sdltest was given.
34305 if test "${enable_sdltest+set}" = set; then
34306 enableval
="$enable_sdltest"
34312 if test x
$sdl_exec_prefix != x
; then
34313 sdl_args
="$sdl_args --exec-prefix=$sdl_exec_prefix"
34314 if test x
${SDL_CONFIG+set} != xset
; then
34315 SDL_CONFIG
=$sdl_exec_prefix/bin
/sdl
-config
34318 if test x
$sdl_prefix != x
; then
34319 sdl_args
="$sdl_args --prefix=$sdl_prefix"
34320 if test x
${SDL_CONFIG+set} != xset
; then
34321 SDL_CONFIG
=$sdl_prefix/bin
/sdl
-config
34326 PATH
="$prefix/bin:$prefix/usr/bin:$PATH"
34327 # Extract the first word of "sdl-config", so it can be a program name with args.
34328 set dummy sdl
-config; ac_word
=$2
34329 echo "$as_me:$LINENO: checking for $ac_word" >&5
34330 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
34331 if test "${ac_cv_path_SDL_CONFIG+set}" = set; then
34332 echo $ECHO_N "(cached) $ECHO_C" >&6
34334 case $SDL_CONFIG in
34336 ac_cv_path_SDL_CONFIG
="$SDL_CONFIG" # Let the user override the test with a path.
34339 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
34340 for as_dir
in $PATH
34343 test -z "$as_dir" && as_dir
=.
34344 for ac_exec_ext
in '' $ac_executable_extensions; do
34345 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
34346 ac_cv_path_SDL_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
34347 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
34353 test -z "$ac_cv_path_SDL_CONFIG" && ac_cv_path_SDL_CONFIG
="no"
34357 SDL_CONFIG
=$ac_cv_path_SDL_CONFIG
34359 if test -n "$SDL_CONFIG"; then
34360 echo "$as_me:$LINENO: result: $SDL_CONFIG" >&5
34361 echo "${ECHO_T}$SDL_CONFIG" >&6
34363 echo "$as_me:$LINENO: result: no" >&5
34364 echo "${ECHO_T}no" >&6
34367 min_sdl_version
=1.2.0
34368 echo "$as_me:$LINENO: checking for SDL - version >= $min_sdl_version" >&5
34369 echo $ECHO_N "checking for SDL - version >= $min_sdl_version... $ECHO_C" >&6
34371 if test "$SDL_CONFIG" = "no" ; then
34374 SDL_CFLAGS
=`$SDL_CONFIG $sdlconf_args --cflags`
34375 SDL_LIBS
=`$SDL_CONFIG $sdlconf_args --libs`
34377 sdl_major_version
=`$SDL_CONFIG $sdl_args --version | \
34378 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
34379 sdl_minor_version
=`$SDL_CONFIG $sdl_args --version | \
34380 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
34381 sdl_micro_version
=`$SDL_CONFIG $sdl_config_args --version | \
34382 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
34383 if test "x$enable_sdltest" = "xyes" ; then
34384 ac_save_CFLAGS
="$CFLAGS"
34385 ac_save_LIBS
="$LIBS"
34386 CFLAGS
="$CFLAGS $SDL_CFLAGS"
34387 LIBS
="$LIBS $SDL_LIBS"
34389 if test "$cross_compiling" = yes; then
34390 echo $ac_n "cross compiling; assumed OK... $ac_c"
34392 cat >conftest.
$ac_ext <<_ACEOF
34395 cat confdefs.h
>>conftest.
$ac_ext
34396 cat >>conftest.
$ac_ext <<_ACEOF
34397 /* end confdefs.h. */
34400 #include <stdlib.h>
34401 #include <string.h>
34405 my_strdup (char *str)
34411 new_str = (char *)malloc ((strlen (str) + 1) * sizeof(char));
34412 strcpy (new_str, str);
34420 int main (int argc, char *argv[])
34422 int major, minor, micro;
34425 /* This hangs on some systems (?)
34426 system ("touch conf.sdltest");
34428 { FILE *fp = fopen("conf.sdltest", "a"); if ( fp ) fclose(fp); }
34430 /* HP/UX 9 (%@#!) writes to sscanf strings */
34431 tmp_version = my_strdup("$min_sdl_version");
34432 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
34433 printf("%s, bad version string\n", "$min_sdl_version");
34437 if (($sdl_major_version > major) ||
34438 (($sdl_major_version == major) && ($sdl_minor_version > minor)) ||
34439 (($sdl_major_version == major) && ($sdl_minor_version == minor) && ($sdl_micro_version >= micro)))
34445 printf("\n*** 'sdl-config --version' returned %d.%d.%d, but the minimum version\n", $sdl_major_version, $sdl_minor_version, $sdl_micro_version);
34446 printf("*** of SDL required is %d.%d.%d. If sdl-config is correct, then it is\n", major, minor, micro);
34447 printf("*** best to upgrade to the required version.\n");
34448 printf("*** If sdl-config was wrong, set the environment variable SDL_CONFIG\n");
34449 printf("*** to point to the correct copy of sdl-config, and remove the file\n");
34450 printf("*** config.cache before re-running configure\n");
34457 rm -f conftest
$ac_exeext
34458 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34459 (eval $ac_link) 2>&5
34461 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34462 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
34463 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34464 (eval $ac_try) 2>&5
34466 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34467 (exit $ac_status); }; }; then
34470 echo "$as_me: program exited with status $ac_status" >&5
34471 echo "$as_me: failed program was:" >&5
34472 sed 's/^/| /' conftest.
$ac_ext >&5
34474 ( exit $ac_status )
34477 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
34479 CFLAGS
="$ac_save_CFLAGS"
34480 LIBS
="$ac_save_LIBS"
34483 if test "x$no_sdl" = x
; then
34484 echo "$as_me:$LINENO: result: yes" >&5
34485 echo "${ECHO_T}yes" >&6
34487 EXTRALIBS_SDL
="$SDL_LIBS"
34488 CXXFLAGS
="$CXXFLAGS $SDL_CFLAGS"
34489 cat >>confdefs.h
<<\_ACEOF
34490 #define wxUSE_LIBSDL 1
34495 echo "$as_me:$LINENO: result: no" >&5
34496 echo "${ECHO_T}no" >&6
34497 if test "$SDL_CONFIG" = "no" ; then
34498 echo "*** The sdl-config script installed by SDL could not be found"
34499 echo "*** If SDL was installed in PREFIX, make sure PREFIX/bin is in"
34500 echo "*** your path, or set the SDL_CONFIG environment variable to the"
34501 echo "*** full path to sdl-config."
34503 if test -f conf.sdltest
; then
34506 echo "*** Could not run SDL test program, checking why..."
34507 CFLAGS
="$CFLAGS $SDL_CFLAGS"
34508 LIBS
="$LIBS $SDL_LIBS"
34509 cat >conftest.
$ac_ext <<_ACEOF
34512 cat confdefs.h
>>conftest.
$ac_ext
34513 cat >>conftest.
$ac_ext <<_ACEOF
34514 /* end confdefs.h. */
34519 int main(int argc, char *argv[])
34522 #define main K_and_R_C_main
34532 rm -f conftest.
$ac_objext conftest
$ac_exeext
34533 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34534 (eval $ac_link) 2>conftest.er1
34536 grep -v '^ *+' conftest.er1
>conftest.err
34538 cat conftest.err
>&5
34539 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34540 (exit $ac_status); } &&
34541 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
34542 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34543 (eval $ac_try) 2>&5
34545 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34546 (exit $ac_status); }; } &&
34547 { ac_try
='test -s conftest$ac_exeext'
34548 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34549 (eval $ac_try) 2>&5
34551 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34552 (exit $ac_status); }; }; then
34553 echo "*** The test program compiled, but did not run. This usually means"
34554 echo "*** that the run-time linker is not finding SDL or finding the wrong"
34555 echo "*** version of SDL. If it is not finding SDL, you'll need to set your"
34556 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
34557 echo "*** to the installed location Also, make sure you have run ldconfig if that"
34558 echo "*** is required on your system"
34560 echo "*** If you have an old version installed, it is best to remove it, although"
34561 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
34563 echo "$as_me: failed program was:" >&5
34564 sed 's/^/| /' conftest.
$ac_ext >&5
34566 echo "*** The test program failed to compile or link. See the file config.log for the"
34567 echo "*** exact error that occured. This usually means SDL was incorrectly installed"
34568 echo "*** or that you have moved SDL since it was installed. In the latter case, you"
34569 echo "*** may want to edit the sdl-config script: $SDL_CONFIG"
34571 rm -f conftest.err conftest.
$ac_objext \
34572 conftest
$ac_exeext conftest.
$ac_ext
34573 CFLAGS
="$ac_save_CFLAGS"
34574 LIBS
="$ac_save_LIBS"
34585 if test "$wxUSE_LIBSDL" = "yes" -a "$wxUSE_PLUGINS" = "yes" ; then
34591 cat >>confdefs.h
<<\_ACEOF
34592 #define wxUSE_SOUND 1
34595 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS sound"
34598 if test "$wxUSE_CMDLINE_PARSER" = "yes"; then
34599 cat >>confdefs.h
<<\_ACEOF
34600 #define wxUSE_CMDLINE_PARSER 1
34605 if test "$wxUSE_STOPWATCH" = "yes"; then
34606 cat >>confdefs.h
<<\_ACEOF
34607 #define wxUSE_STOPWATCH 1
34612 if test "$wxUSE_DATETIME" = "yes"; then
34613 cat >>confdefs.h
<<\_ACEOF
34614 #define wxUSE_DATETIME 1
34619 if test "$wxUSE_FILE" = "yes"; then
34620 cat >>confdefs.h
<<\_ACEOF
34621 #define wxUSE_FILE 1
34626 if test "$wxUSE_FFILE" = "yes"; then
34627 cat >>confdefs.h
<<\_ACEOF
34628 #define wxUSE_FFILE 1
34633 if test "$wxUSE_FILESYSTEM" = "yes"; then
34634 cat >>confdefs.h
<<\_ACEOF
34635 #define wxUSE_FILESYSTEM 1
34640 if test "$wxUSE_FS_ZIP" = "yes"; then
34641 cat >>confdefs.h
<<\_ACEOF
34642 #define wxUSE_FS_ZIP 1
34647 if test "$wxUSE_ZIPSTREAM" = "yes"; then
34648 cat >>confdefs.h
<<\_ACEOF
34649 #define wxUSE_ZIPSTREAM 1
34654 if test "$wxUSE_GZSTREAM" = "yes"; then
34655 cat >>confdefs.h
<<\_ACEOF
34656 #define wxUSE_GZSTREAM 1
34661 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
34662 cat >>confdefs.h
<<\_ACEOF
34663 #define wxUSE_ON_FATAL_EXCEPTION 1
34668 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
34669 cat >>confdefs.h
<<\_ACEOF
34670 #define wxUSE_SNGLINST_CHECKER 1
34675 if test "$wxUSE_BUSYINFO" = "yes"; then
34676 cat >>confdefs.h
<<\_ACEOF
34677 #define wxUSE_BUSYINFO 1
34682 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
34683 cat >>confdefs.h
<<\_ACEOF
34684 #define wxUSE_STD_IOSTREAM 1
34689 if test "$wxUSE_TEXTBUFFER" = "yes"; then
34690 cat >>confdefs.h
<<\_ACEOF
34691 #define wxUSE_TEXTBUFFER 1
34696 if test "$wxUSE_TEXTFILE" = "yes"; then
34697 if test "$wxUSE_FILE" != "yes" -o "$wxUSE_TEXTBUFFER" != "yes" ; then
34698 { echo "$as_me:$LINENO: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&5
34699 echo "$as_me: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&2;}
34701 cat >>confdefs.h
<<\_ACEOF
34702 #define wxUSE_TEXTFILE 1
34708 if test "$wxUSE_CONFIG" = "yes" ; then
34709 if test "$wxUSE_TEXTFILE" != "yes"; then
34710 { echo "$as_me:$LINENO: WARNING: wxConfig requires wxTextFile... disabled" >&5
34711 echo "$as_me: WARNING: wxConfig requires wxTextFile... disabled" >&2;}
34713 cat >>confdefs.h
<<\_ACEOF
34714 #define wxUSE_CONFIG 1
34717 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS config"
34721 if test "$wxUSE_INTL" = "yes" ; then
34722 if test "$wxUSE_FILE" != "yes"; then
34723 { echo "$as_me:$LINENO: WARNING: I18n code requires wxFile... disabled" >&5
34724 echo "$as_me: WARNING: I18n code requires wxFile... disabled" >&2;}
34726 cat >>confdefs.h
<<\_ACEOF
34727 #define wxUSE_INTL 1
34730 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS internat"
34731 GUIDIST
="$GUIDIST INTL_DIST"
34735 if test "$wxUSE_LOG" = "yes"; then
34736 cat >>confdefs.h
<<\_ACEOF
34737 #define wxUSE_LOG 1
34741 if test "$wxUSE_LOGGUI" = "yes"; then
34742 cat >>confdefs.h
<<\_ACEOF
34743 #define wxUSE_LOGGUI 1
34748 if test "$wxUSE_LOGWINDOW" = "yes"; then
34749 cat >>confdefs.h
<<\_ACEOF
34750 #define wxUSE_LOGWINDOW 1
34755 if test "$wxUSE_LOGDIALOG" = "yes"; then
34756 cat >>confdefs.h
<<\_ACEOF
34757 #define wxUSE_LOG_DIALOG 1
34763 if test "$wxUSE_LONGLONG" = "yes"; then
34764 cat >>confdefs.h
<<\_ACEOF
34765 #define wxUSE_LONGLONG 1
34770 if test "$wxUSE_GEOMETRY" = "yes"; then
34771 cat >>confdefs.h
<<\_ACEOF
34772 #define wxUSE_GEOMETRY 1
34777 if test "$wxUSE_DIALUP_MANAGER" = "yes" ; then
34778 cat >>confdefs.h
<<\_ACEOF
34779 #define wxUSE_DIALUP_MANAGER 1
34782 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS dialup"
34785 if test "$wxUSE_STREAMS" = "yes" ; then
34786 cat >>confdefs.h
<<\_ACEOF
34787 #define wxUSE_STREAMS 1
34793 if test "$wxUSE_DATETIME" = "yes"; then
34795 for ac_func
in strptime
34797 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34798 echo "$as_me:$LINENO: checking for $ac_func" >&5
34799 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
34800 if eval "test \"\${$as_ac_var+set}\" = set"; then
34801 echo $ECHO_N "(cached) $ECHO_C" >&6
34803 cat >conftest.
$ac_ext <<_ACEOF
34806 cat confdefs.h
>>conftest.
$ac_ext
34807 cat >>conftest.
$ac_ext <<_ACEOF
34808 /* end confdefs.h. */
34809 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34810 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34811 #define $ac_func innocuous_$ac_func
34813 /* System header to define __stub macros and hopefully few prototypes,
34814 which can conflict with char $ac_func (); below.
34815 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34816 <limits.h> exists even on freestanding compilers. */
34819 # include <limits.h>
34821 # include <assert.h>
34826 /* Override any gcc2 internal prototype to avoid an error. */
34831 /* We use char because int might match the return type of a gcc2
34832 builtin and then its argument prototype would still apply. */
34834 /* The GNU C library defines this for functions which it implements
34835 to always fail with ENOSYS. Some functions are actually named
34836 something starting with __ and the normal name is an alias. */
34837 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
34840 char (*f) () = $ac_func;
34849 return f != $ac_func;
34854 rm -f conftest.
$ac_objext conftest
$ac_exeext
34855 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34856 (eval $ac_link) 2>conftest.er1
34858 grep -v '^ *+' conftest.er1
>conftest.err
34860 cat conftest.err
>&5
34861 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34862 (exit $ac_status); } &&
34863 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
34864 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34865 (eval $ac_try) 2>&5
34867 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34868 (exit $ac_status); }; } &&
34869 { ac_try
='test -s conftest$ac_exeext'
34870 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34871 (eval $ac_try) 2>&5
34873 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34874 (exit $ac_status); }; }; then
34875 eval "$as_ac_var=yes"
34877 echo "$as_me: failed program was:" >&5
34878 sed 's/^/| /' conftest.
$ac_ext >&5
34880 eval "$as_ac_var=no"
34882 rm -f conftest.err conftest.
$ac_objext \
34883 conftest
$ac_exeext conftest.
$ac_ext
34885 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
34886 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
34887 if test `eval echo '${'$as_ac_var'}'` = yes; then
34888 cat >>confdefs.h
<<_ACEOF
34889 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34896 echo "$as_me:$LINENO: checking for timezone variable in <time.h>" >&5
34897 echo $ECHO_N "checking for timezone variable in <time.h>... $ECHO_C" >&6
34898 if test "${wx_cv_var_timezone+set}" = set; then
34899 echo $ECHO_N "(cached) $ECHO_C" >&6
34902 cat >conftest.
$ac_ext <<_ACEOF
34905 cat confdefs.h
>>conftest.
$ac_ext
34906 cat >>conftest.
$ac_ext <<_ACEOF
34907 /* end confdefs.h. */
34922 rm -f conftest.
$ac_objext
34923 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34924 (eval $ac_compile) 2>conftest.er1
34926 grep -v '^ *+' conftest.er1
>conftest.err
34928 cat conftest.err
>&5
34929 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34930 (exit $ac_status); } &&
34931 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
34932 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34933 (eval $ac_try) 2>&5
34935 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34936 (exit $ac_status); }; } &&
34937 { ac_try
='test -s conftest.$ac_objext'
34938 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34939 (eval $ac_try) 2>&5
34941 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34942 (exit $ac_status); }; }; then
34944 wx_cv_var_timezone
=timezone
34947 echo "$as_me: failed program was:" >&5
34948 sed 's/^/| /' conftest.
$ac_ext >&5
34951 cat >conftest.
$ac_ext <<_ACEOF
34954 cat confdefs.h
>>conftest.
$ac_ext
34955 cat >>conftest.
$ac_ext <<_ACEOF
34956 /* end confdefs.h. */
34971 rm -f conftest.
$ac_objext
34972 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34973 (eval $ac_compile) 2>conftest.er1
34975 grep -v '^ *+' conftest.er1
>conftest.err
34977 cat conftest.err
>&5
34978 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34979 (exit $ac_status); } &&
34980 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
34981 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34982 (eval $ac_try) 2>&5
34984 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34985 (exit $ac_status); }; } &&
34986 { ac_try
='test -s conftest.$ac_objext'
34987 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34988 (eval $ac_try) 2>&5
34990 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34991 (exit $ac_status); }; }; then
34993 wx_cv_var_timezone
=_timezone
34996 echo "$as_me: failed program was:" >&5
34997 sed 's/^/| /' conftest.
$ac_ext >&5
35000 cat >conftest.
$ac_ext <<_ACEOF
35003 cat confdefs.h
>>conftest.
$ac_ext
35004 cat >>conftest.
$ac_ext <<_ACEOF
35005 /* end confdefs.h. */
35020 rm -f conftest.
$ac_objext
35021 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35022 (eval $ac_compile) 2>conftest.er1
35024 grep -v '^ *+' conftest.er1
>conftest.err
35026 cat conftest.err
>&5
35027 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35028 (exit $ac_status); } &&
35029 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
35030 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35031 (eval $ac_try) 2>&5
35033 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35034 (exit $ac_status); }; } &&
35035 { ac_try
='test -s conftest.$ac_objext'
35036 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35037 (eval $ac_try) 2>&5
35039 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35040 (exit $ac_status); }; }; then
35042 wx_cv_var_timezone
=__timezone
35045 echo "$as_me: failed program was:" >&5
35046 sed 's/^/| /' conftest.
$ac_ext >&5
35049 if test "$USE_DOS" = 0 ; then
35050 { echo "$as_me:$LINENO: WARNING: no timezone variable" >&5
35051 echo "$as_me: WARNING: no timezone variable" >&2;}
35056 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
35060 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
35064 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
35068 echo "$as_me:$LINENO: result: $wx_cv_var_timezone" >&5
35069 echo "${ECHO_T}$wx_cv_var_timezone" >&6
35071 if test "x$wx_cv_var_timezone" != x
; then
35072 cat >>confdefs.h
<<_ACEOF
35073 #define WX_TIMEZONE $wx_cv_var_timezone
35079 for ac_func
in localtime
35081 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35082 echo "$as_me:$LINENO: checking for $ac_func" >&5
35083 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
35084 if eval "test \"\${$as_ac_var+set}\" = set"; then
35085 echo $ECHO_N "(cached) $ECHO_C" >&6
35087 cat >conftest.
$ac_ext <<_ACEOF
35090 cat confdefs.h
>>conftest.
$ac_ext
35091 cat >>conftest.
$ac_ext <<_ACEOF
35092 /* end confdefs.h. */
35093 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35094 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35095 #define $ac_func innocuous_$ac_func
35097 /* System header to define __stub macros and hopefully few prototypes,
35098 which can conflict with char $ac_func (); below.
35099 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35100 <limits.h> exists even on freestanding compilers. */
35103 # include <limits.h>
35105 # include <assert.h>
35110 /* Override any gcc2 internal prototype to avoid an error. */
35115 /* We use char because int might match the return type of a gcc2
35116 builtin and then its argument prototype would still apply. */
35118 /* The GNU C library defines this for functions which it implements
35119 to always fail with ENOSYS. Some functions are actually named
35120 something starting with __ and the normal name is an alias. */
35121 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
35124 char (*f) () = $ac_func;
35133 return f != $ac_func;
35138 rm -f conftest.
$ac_objext conftest
$ac_exeext
35139 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35140 (eval $ac_link) 2>conftest.er1
35142 grep -v '^ *+' conftest.er1
>conftest.err
35144 cat conftest.err
>&5
35145 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35146 (exit $ac_status); } &&
35147 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
35148 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35149 (eval $ac_try) 2>&5
35151 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35152 (exit $ac_status); }; } &&
35153 { ac_try
='test -s conftest$ac_exeext'
35154 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35155 (eval $ac_try) 2>&5
35157 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35158 (exit $ac_status); }; }; then
35159 eval "$as_ac_var=yes"
35161 echo "$as_me: failed program was:" >&5
35162 sed 's/^/| /' conftest.
$ac_ext >&5
35164 eval "$as_ac_var=no"
35166 rm -f conftest.err conftest.
$ac_objext \
35167 conftest
$ac_exeext conftest.
$ac_ext
35169 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
35170 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
35171 if test `eval echo '${'$as_ac_var'}'` = yes; then
35172 cat >>confdefs.h
<<_ACEOF
35173 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35180 if test "$ac_cv_func_localtime" = "yes"; then
35181 echo "$as_me:$LINENO: checking for tm_gmtoff in struct tm" >&5
35182 echo $ECHO_N "checking for tm_gmtoff in struct tm... $ECHO_C" >&6
35183 if test "${wx_cv_struct_tm_has_gmtoff+set}" = set; then
35184 echo $ECHO_N "(cached) $ECHO_C" >&6
35187 cat >conftest.
$ac_ext <<_ACEOF
35190 cat confdefs.h
>>conftest.
$ac_ext
35191 cat >>conftest.
$ac_ext <<_ACEOF
35192 /* end confdefs.h. */
35207 rm -f conftest.
$ac_objext
35208 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35209 (eval $ac_compile) 2>conftest.er1
35211 grep -v '^ *+' conftest.er1
>conftest.err
35213 cat conftest.err
>&5
35214 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35215 (exit $ac_status); } &&
35216 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
35217 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35218 (eval $ac_try) 2>&5
35220 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35221 (exit $ac_status); }; } &&
35222 { ac_try
='test -s conftest.$ac_objext'
35223 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35224 (eval $ac_try) 2>&5
35226 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35227 (exit $ac_status); }; }; then
35229 wx_cv_struct_tm_has_gmtoff
=yes
35232 echo "$as_me: failed program was:" >&5
35233 sed 's/^/| /' conftest.
$ac_ext >&5
35235 wx_cv_struct_tm_has_gmtoff
=no
35238 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
35241 echo "$as_me:$LINENO: result: $wx_cv_struct_tm_has_gmtoff" >&5
35242 echo "${ECHO_T}$wx_cv_struct_tm_has_gmtoff" >&6
35245 if test "$wx_cv_struct_tm_has_gmtoff" = "yes"; then
35246 cat >>confdefs.h
<<\_ACEOF
35247 #define WX_GMTOFF_IN_TM 1
35254 for ac_func
in gettimeofday ftime
35256 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35257 echo "$as_me:$LINENO: checking for $ac_func" >&5
35258 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
35259 if eval "test \"\${$as_ac_var+set}\" = set"; then
35260 echo $ECHO_N "(cached) $ECHO_C" >&6
35262 cat >conftest.
$ac_ext <<_ACEOF
35265 cat confdefs.h
>>conftest.
$ac_ext
35266 cat >>conftest.
$ac_ext <<_ACEOF
35267 /* end confdefs.h. */
35268 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35269 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35270 #define $ac_func innocuous_$ac_func
35272 /* System header to define __stub macros and hopefully few prototypes,
35273 which can conflict with char $ac_func (); below.
35274 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35275 <limits.h> exists even on freestanding compilers. */
35278 # include <limits.h>
35280 # include <assert.h>
35285 /* Override any gcc2 internal prototype to avoid an error. */
35290 /* We use char because int might match the return type of a gcc2
35291 builtin and then its argument prototype would still apply. */
35293 /* The GNU C library defines this for functions which it implements
35294 to always fail with ENOSYS. Some functions are actually named
35295 something starting with __ and the normal name is an alias. */
35296 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
35299 char (*f) () = $ac_func;
35308 return f != $ac_func;
35313 rm -f conftest.
$ac_objext conftest
$ac_exeext
35314 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35315 (eval $ac_link) 2>conftest.er1
35317 grep -v '^ *+' conftest.er1
>conftest.err
35319 cat conftest.err
>&5
35320 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35321 (exit $ac_status); } &&
35322 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
35323 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35324 (eval $ac_try) 2>&5
35326 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35327 (exit $ac_status); }; } &&
35328 { ac_try
='test -s conftest$ac_exeext'
35329 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35330 (eval $ac_try) 2>&5
35332 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35333 (exit $ac_status); }; }; then
35334 eval "$as_ac_var=yes"
35336 echo "$as_me: failed program was:" >&5
35337 sed 's/^/| /' conftest.
$ac_ext >&5
35339 eval "$as_ac_var=no"
35341 rm -f conftest.err conftest.
$ac_objext \
35342 conftest
$ac_exeext conftest.
$ac_ext
35344 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
35345 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
35346 if test `eval echo '${'$as_ac_var'}'` = yes; then
35347 cat >>confdefs.h
<<_ACEOF
35348 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35355 if test "$ac_cv_func_gettimeofday" = "yes"; then
35356 echo "$as_me:$LINENO: checking whether gettimeofday takes two arguments" >&5
35357 echo $ECHO_N "checking whether gettimeofday takes two arguments... $ECHO_C" >&6
35358 if test "${wx_cv_func_gettimeofday_has_2_args+set}" = set; then
35359 echo $ECHO_N "(cached) $ECHO_C" >&6
35365 ac_cpp
='$CXXCPP $CPPFLAGS'
35366 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35367 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35368 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
35371 cat >conftest.
$ac_ext <<_ACEOF
35374 cat confdefs.h
>>conftest.
$ac_ext
35375 cat >>conftest.
$ac_ext <<_ACEOF
35376 /* end confdefs.h. */
35378 #include <sys/time.h>
35379 #include <unistd.h>
35386 gettimeofday(&tv, NULL);
35392 rm -f conftest.
$ac_objext
35393 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35394 (eval $ac_compile) 2>conftest.er1
35396 grep -v '^ *+' conftest.er1
>conftest.err
35398 cat conftest.err
>&5
35399 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35400 (exit $ac_status); } &&
35401 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
35402 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35403 (eval $ac_try) 2>&5
35405 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35406 (exit $ac_status); }; } &&
35407 { ac_try
='test -s conftest.$ac_objext'
35408 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35409 (eval $ac_try) 2>&5
35411 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35412 (exit $ac_status); }; }; then
35413 wx_cv_func_gettimeofday_has_2_args
=yes
35415 echo "$as_me: failed program was:" >&5
35416 sed 's/^/| /' conftest.
$ac_ext >&5
35418 cat >conftest.
$ac_ext <<_ACEOF
35421 cat confdefs.h
>>conftest.
$ac_ext
35422 cat >>conftest.
$ac_ext <<_ACEOF
35423 /* end confdefs.h. */
35425 #include <sys/time.h>
35426 #include <unistd.h>
35439 rm -f conftest.
$ac_objext
35440 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35441 (eval $ac_compile) 2>conftest.er1
35443 grep -v '^ *+' conftest.er1
>conftest.err
35445 cat conftest.err
>&5
35446 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35447 (exit $ac_status); } &&
35448 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
35449 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35450 (eval $ac_try) 2>&5
35452 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35453 (exit $ac_status); }; } &&
35454 { ac_try
='test -s conftest.$ac_objext'
35455 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35456 (eval $ac_try) 2>&5
35458 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35459 (exit $ac_status); }; }; then
35460 wx_cv_func_gettimeofday_has_2_args
=no
35462 echo "$as_me: failed program was:" >&5
35463 sed 's/^/| /' conftest.
$ac_ext >&5
35466 { echo "$as_me:$LINENO: WARNING: failed to determine number of gettimeofday() arguments" >&5
35467 echo "$as_me: WARNING: failed to determine number of gettimeofday() arguments" >&2;}
35468 wx_cv_func_gettimeofday_has_2_args
=unknown
35472 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
35475 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
35477 ac_cpp
='$CPP $CPPFLAGS'
35478 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35479 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35480 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
35484 echo "$as_me:$LINENO: result: $wx_cv_func_gettimeofday_has_2_args" >&5
35485 echo "${ECHO_T}$wx_cv_func_gettimeofday_has_2_args" >&6
35487 if test "$wx_cv_func_gettimeofday_has_2_args" != "yes"; then
35488 cat >>confdefs.h
<<\_ACEOF
35489 #define WX_GETTIMEOFDAY_NO_TZ 1
35495 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS typetest"
35499 if test "$wxUSE_SOCKETS" = "yes"; then
35500 if test "$wxUSE_MGL" = "1"; then
35501 { echo "$as_me:$LINENO: WARNING: wxSocket not yet supported under MGL... disabled" >&5
35502 echo "$as_me: WARNING: wxSocket not yet supported under MGL... disabled" >&2;}
35507 if test "$wxUSE_SOCKETS" = "yes"; then
35508 if test "$TOOLKIT" != "MSW"; then
35509 echo "$as_me:$LINENO: checking for socket" >&5
35510 echo $ECHO_N "checking for socket... $ECHO_C" >&6
35511 if test "${ac_cv_func_socket+set}" = set; then
35512 echo $ECHO_N "(cached) $ECHO_C" >&6
35514 cat >conftest.
$ac_ext <<_ACEOF
35517 cat confdefs.h
>>conftest.
$ac_ext
35518 cat >>conftest.
$ac_ext <<_ACEOF
35519 /* end confdefs.h. */
35520 /* Define socket to an innocuous variant, in case <limits.h> declares socket.
35521 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35522 #define socket innocuous_socket
35524 /* System header to define __stub macros and hopefully few prototypes,
35525 which can conflict with char socket (); below.
35526 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35527 <limits.h> exists even on freestanding compilers. */
35530 # include <limits.h>
35532 # include <assert.h>
35537 /* Override any gcc2 internal prototype to avoid an error. */
35542 /* We use char because int might match the return type of a gcc2
35543 builtin and then its argument prototype would still apply. */
35545 /* The GNU C library defines this for functions which it implements
35546 to always fail with ENOSYS. Some functions are actually named
35547 something starting with __ and the normal name is an alias. */
35548 #if defined (__stub_socket) || defined (__stub___socket)
35551 char (*f) () = socket;
35560 return f != socket;
35565 rm -f conftest.
$ac_objext conftest
$ac_exeext
35566 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35567 (eval $ac_link) 2>conftest.er1
35569 grep -v '^ *+' conftest.er1
>conftest.err
35571 cat conftest.err
>&5
35572 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35573 (exit $ac_status); } &&
35574 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
35575 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35576 (eval $ac_try) 2>&5
35578 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35579 (exit $ac_status); }; } &&
35580 { ac_try
='test -s conftest$ac_exeext'
35581 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35582 (eval $ac_try) 2>&5
35584 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35585 (exit $ac_status); }; }; then
35586 ac_cv_func_socket
=yes
35588 echo "$as_me: failed program was:" >&5
35589 sed 's/^/| /' conftest.
$ac_ext >&5
35591 ac_cv_func_socket
=no
35593 rm -f conftest.err conftest.
$ac_objext \
35594 conftest
$ac_exeext conftest.
$ac_ext
35596 echo "$as_me:$LINENO: result: $ac_cv_func_socket" >&5
35597 echo "${ECHO_T}$ac_cv_func_socket" >&6
35598 if test $ac_cv_func_socket = yes; then
35602 echo "$as_me:$LINENO: checking for socket in -lsocket" >&5
35603 echo $ECHO_N "checking for socket in -lsocket... $ECHO_C" >&6
35604 if test "${ac_cv_lib_socket_socket+set}" = set; then
35605 echo $ECHO_N "(cached) $ECHO_C" >&6
35607 ac_check_lib_save_LIBS
=$LIBS
35608 LIBS
="-lsocket $LIBS"
35609 cat >conftest.
$ac_ext <<_ACEOF
35612 cat confdefs.h
>>conftest.
$ac_ext
35613 cat >>conftest.
$ac_ext <<_ACEOF
35614 /* end confdefs.h. */
35616 /* Override any gcc2 internal prototype to avoid an error. */
35620 /* We use char because int might match the return type of a gcc2
35621 builtin and then its argument prototype would still apply. */
35631 rm -f conftest.
$ac_objext conftest
$ac_exeext
35632 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35633 (eval $ac_link) 2>conftest.er1
35635 grep -v '^ *+' conftest.er1
>conftest.err
35637 cat conftest.err
>&5
35638 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35639 (exit $ac_status); } &&
35640 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
35641 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35642 (eval $ac_try) 2>&5
35644 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35645 (exit $ac_status); }; } &&
35646 { ac_try
='test -s conftest$ac_exeext'
35647 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35648 (eval $ac_try) 2>&5
35650 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35651 (exit $ac_status); }; }; then
35652 ac_cv_lib_socket_socket
=yes
35654 echo "$as_me: failed program was:" >&5
35655 sed 's/^/| /' conftest.
$ac_ext >&5
35657 ac_cv_lib_socket_socket
=no
35659 rm -f conftest.err conftest.
$ac_objext \
35660 conftest
$ac_exeext conftest.
$ac_ext
35661 LIBS
=$ac_check_lib_save_LIBS
35663 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_socket" >&5
35664 echo "${ECHO_T}$ac_cv_lib_socket_socket" >&6
35665 if test $ac_cv_lib_socket_socket = yes; then
35666 if test "$INET_LINK" != " -lsocket"; then
35667 INET_LINK
="$INET_LINK -lsocket"
35671 { echo "$as_me:$LINENO: WARNING: socket library not found - sockets will be disabled" >&5
35672 echo "$as_me: WARNING: socket library not found - sockets will be disabled" >&2;}
35685 if test "$wxUSE_SOCKETS" = "yes" ; then
35686 if test "$TOOLKIT" != "MSW"; then
35687 echo "$as_me:$LINENO: checking what is the type of the third argument of getsockname" >&5
35688 echo $ECHO_N "checking what is the type of the third argument of getsockname... $ECHO_C" >&6
35689 if test "${wx_cv_type_getsockname3+set}" = set; then
35690 echo $ECHO_N "(cached) $ECHO_C" >&6
35693 cat >conftest.
$ac_ext <<_ACEOF
35696 cat confdefs.h
>>conftest.
$ac_ext
35697 cat >>conftest.
$ac_ext <<_ACEOF
35698 /* end confdefs.h. */
35700 #include <sys/types.h>
35701 #include <sys/socket.h>
35708 getsockname(0, 0, &len);
35714 rm -f conftest.
$ac_objext
35715 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35716 (eval $ac_compile) 2>conftest.er1
35718 grep -v '^ *+' conftest.er1
>conftest.err
35720 cat conftest.err
>&5
35721 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35722 (exit $ac_status); } &&
35723 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
35724 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35725 (eval $ac_try) 2>&5
35727 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35728 (exit $ac_status); }; } &&
35729 { ac_try
='test -s conftest.$ac_objext'
35730 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35731 (eval $ac_try) 2>&5
35733 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35734 (exit $ac_status); }; }; then
35735 wx_cv_type_getsockname3
=socklen_t
35737 echo "$as_me: failed program was:" >&5
35738 sed 's/^/| /' conftest.
$ac_ext >&5
35741 CFLAGS_OLD
="$CFLAGS"
35742 if test "$GCC" = yes ; then
35743 CFLAGS
="$CFLAGS -Werror"
35746 cat >conftest.
$ac_ext <<_ACEOF
35749 cat confdefs.h
>>conftest.
$ac_ext
35750 cat >>conftest.
$ac_ext <<_ACEOF
35751 /* end confdefs.h. */
35753 #include <sys/types.h>
35754 #include <sys/socket.h>
35761 getsockname(0, 0, &len);
35767 rm -f conftest.
$ac_objext
35768 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35769 (eval $ac_compile) 2>conftest.er1
35771 grep -v '^ *+' conftest.er1
>conftest.err
35773 cat conftest.err
>&5
35774 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35775 (exit $ac_status); } &&
35776 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
35777 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35778 (eval $ac_try) 2>&5
35780 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35781 (exit $ac_status); }; } &&
35782 { ac_try
='test -s conftest.$ac_objext'
35783 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35784 (eval $ac_try) 2>&5
35786 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35787 (exit $ac_status); }; }; then
35788 wx_cv_type_getsockname3
=size_t
35790 echo "$as_me: failed program was:" >&5
35791 sed 's/^/| /' conftest.
$ac_ext >&5
35793 cat >conftest.
$ac_ext <<_ACEOF
35796 cat confdefs.h
>>conftest.
$ac_ext
35797 cat >>conftest.
$ac_ext <<_ACEOF
35798 /* end confdefs.h. */
35800 #include <sys/types.h>
35801 #include <sys/socket.h>
35808 getsockname(0, 0, &len);
35814 rm -f conftest.
$ac_objext
35815 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35816 (eval $ac_compile) 2>conftest.er1
35818 grep -v '^ *+' conftest.er1
>conftest.err
35820 cat conftest.err
>&5
35821 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35822 (exit $ac_status); } &&
35823 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
35824 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35825 (eval $ac_try) 2>&5
35827 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35828 (exit $ac_status); }; } &&
35829 { ac_try
='test -s conftest.$ac_objext'
35830 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35831 (eval $ac_try) 2>&5
35833 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35834 (exit $ac_status); }; }; then
35835 wx_cv_type_getsockname3
=int
35837 echo "$as_me: failed program was:" >&5
35838 sed 's/^/| /' conftest.
$ac_ext >&5
35840 wx_cv_type_getsockname3
=unknown
35843 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
35846 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
35848 CFLAGS
="$CFLAGS_OLD"
35852 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
35855 echo "$as_me:$LINENO: result: $wx_cv_type_getsockname3" >&5
35856 echo "${ECHO_T}$wx_cv_type_getsockname3" >&6
35858 if test "$wx_cv_type_getsockname3" = "unknown"; then
35860 { echo "$as_me:$LINENO: WARNING: Couldn't find socklen_t synonym for this system" >&5
35861 echo "$as_me: WARNING: Couldn't find socklen_t synonym for this system" >&2;}
35863 cat >>confdefs.h
<<_ACEOF
35864 #define SOCKLEN_T $wx_cv_type_getsockname3
35871 if test "$wxUSE_SOCKETS" = "yes" ; then
35872 cat >>confdefs.h
<<\_ACEOF
35873 #define wxUSE_SOCKETS 1
35876 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS sockets"
35879 if test "$wxUSE_PROTOCOL" = "yes"; then
35880 if test "$wxUSE_SOCKETS" != "yes"; then
35881 { echo "$as_me:$LINENO: WARNING: Protocol classes require sockets... disabled" >&5
35882 echo "$as_me: WARNING: Protocol classes require sockets... disabled" >&2;}
35887 if test "$wxUSE_PROTOCOL" = "yes"; then
35888 cat >>confdefs.h
<<\_ACEOF
35889 #define wxUSE_PROTOCOL 1
35893 if test "$wxUSE_PROTOCOL_HTTP" = "yes"; then
35894 cat >>confdefs.h
<<\_ACEOF
35895 #define wxUSE_PROTOCOL_HTTP 1
35899 if test "$wxUSE_PROTOCOL_FTP" = "yes"; then
35900 cat >>confdefs.h
<<\_ACEOF
35901 #define wxUSE_PROTOCOL_FTP 1
35905 if test "$wxUSE_PROTOCOL_FILE" = "yes"; then
35906 cat >>confdefs.h
<<\_ACEOF
35907 #define wxUSE_PROTOCOL_FILE 1
35912 if test "$wxUSE_FS_INET" = "yes"; then
35913 { echo "$as_me:$LINENO: WARNING: HTTP filesystem require protocol classes... disabled" >&5
35914 echo "$as_me: WARNING: HTTP filesystem require protocol classes... disabled" >&2;}
35919 if test "$wxUSE_URL" = "yes"; then
35920 if test "$wxUSE_PROTOCOL" != "yes"; then
35921 { echo "$as_me:$LINENO: WARNING: wxURL class requires wxProtocol... disabled" >&5
35922 echo "$as_me: WARNING: wxURL class requires wxProtocol... disabled" >&2;}
35925 if test "$wxUSE_URL" = "yes"; then
35926 cat >>confdefs.h
<<\_ACEOF
35927 #define wxUSE_URL 1
35933 if test "$wxUSE_FS_INET" = "yes"; then
35934 cat >>confdefs.h
<<\_ACEOF
35935 #define wxUSE_FS_INET 1
35941 if test "$wxUSE_GUI" = "yes"; then
35943 if test "$TOOLKIT" = "MAC" -o "$TOOLKIT" = "COCOA"; then
35944 { echo "$as_me:$LINENO: WARNING: Joystick not yet supported under Mac OS X... disabled" >&5
35945 echo "$as_me: WARNING: Joystick not yet supported under Mac OS X... disabled" >&2;}
35949 if test "$TOOLKIT" != "MSW"; then
35950 if test "$wxUSE_JOYSTICK" = "yes"; then
35952 for ac_header
in linux
/joystick.h
35954 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
35955 if eval "test \"\${$as_ac_Header+set}\" = set"; then
35956 echo "$as_me:$LINENO: checking for $ac_header" >&5
35957 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
35958 if eval "test \"\${$as_ac_Header+set}\" = set"; then
35959 echo $ECHO_N "(cached) $ECHO_C" >&6
35961 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
35962 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
35964 # Is the header compilable?
35965 echo "$as_me:$LINENO: checking $ac_header usability" >&5
35966 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
35967 cat >conftest.
$ac_ext <<_ACEOF
35970 cat confdefs.h
>>conftest.
$ac_ext
35971 cat >>conftest.
$ac_ext <<_ACEOF
35972 /* end confdefs.h. */
35973 $ac_includes_default
35974 #include <$ac_header>
35976 rm -f conftest.
$ac_objext
35977 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35978 (eval $ac_compile) 2>conftest.er1
35980 grep -v '^ *+' conftest.er1
>conftest.err
35982 cat conftest.err
>&5
35983 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35984 (exit $ac_status); } &&
35985 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
35986 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35987 (eval $ac_try) 2>&5
35989 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35990 (exit $ac_status); }; } &&
35991 { ac_try
='test -s conftest.$ac_objext'
35992 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35993 (eval $ac_try) 2>&5
35995 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35996 (exit $ac_status); }; }; then
35997 ac_header_compiler
=yes
35999 echo "$as_me: failed program was:" >&5
36000 sed 's/^/| /' conftest.
$ac_ext >&5
36002 ac_header_compiler
=no
36004 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
36005 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
36006 echo "${ECHO_T}$ac_header_compiler" >&6
36008 # Is the header present?
36009 echo "$as_me:$LINENO: checking $ac_header presence" >&5
36010 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
36011 cat >conftest.
$ac_ext <<_ACEOF
36014 cat confdefs.h
>>conftest.
$ac_ext
36015 cat >>conftest.
$ac_ext <<_ACEOF
36016 /* end confdefs.h. */
36017 #include <$ac_header>
36019 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
36020 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
36022 grep -v '^ *+' conftest.er1
>conftest.err
36024 cat conftest.err
>&5
36025 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36026 (exit $ac_status); } >/dev
/null
; then
36027 if test -s conftest.err
; then
36028 ac_cpp_err
=$ac_c_preproc_warn_flag
36029 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
36036 if test -z "$ac_cpp_err"; then
36037 ac_header_preproc
=yes
36039 echo "$as_me: failed program was:" >&5
36040 sed 's/^/| /' conftest.
$ac_ext >&5
36042 ac_header_preproc
=no
36044 rm -f conftest.err conftest.
$ac_ext
36045 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
36046 echo "${ECHO_T}$ac_header_preproc" >&6
36048 # So? What about this header?
36049 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
36051 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
36052 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
36053 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
36054 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
36055 ac_header_preproc
=yes
36058 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
36059 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
36060 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
36061 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
36062 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
36063 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
36064 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
36065 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
36066 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
36067 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
36068 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
36069 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
36072 ## ----------------------------------------- ##
36073 ## Report this to wx-dev@lists.wxwindows.org ##
36074 ## ----------------------------------------- ##
36077 sed "s/^/$as_me: WARNING: /" >&2
36080 echo "$as_me:$LINENO: checking for $ac_header" >&5
36081 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
36082 if eval "test \"\${$as_ac_Header+set}\" = set"; then
36083 echo $ECHO_N "(cached) $ECHO_C" >&6
36085 eval "$as_ac_Header=\$ac_header_preproc"
36087 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
36088 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
36091 if test `eval echo '${'$as_ac_Header'}'` = yes; then
36092 cat >>confdefs.h
<<_ACEOF
36093 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
36100 if test "$ac_cv_header_linux_joystick_h" != "yes"; then
36102 { echo "$as_me:$LINENO: WARNING: Joystick not supported by this system... disabled" >&5
36103 echo "$as_me: WARNING: Joystick not supported by this system... disabled" >&2;}
36108 if test "$wxUSE_JOYSTICK" = "yes"; then
36109 cat >>confdefs.h
<<\_ACEOF
36110 #define wxUSE_JOYSTICK 1
36113 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS joytest"
36119 if test "$wxUSE_FONTMAP" = "yes" ; then
36120 cat >>confdefs.h
<<\_ACEOF
36121 #define wxUSE_FONTMAP 1
36126 if test "$wxUSE_UNICODE" = "yes" ; then
36127 cat >>confdefs.h
<<\_ACEOF
36128 #define wxUSE_UNICODE 1
36132 if test "$USE_WIN32" != 1; then
36133 wxUSE_UNICODE_MSLU
=no
36136 if test "$USE_WIN32" = 1 -a "$wxUSE_UNICODE_MSLU" = "yes"; then
36137 echo "$as_me:$LINENO: checking for main in -lunicows" >&5
36138 echo $ECHO_N "checking for main in -lunicows... $ECHO_C" >&6
36139 if test "${ac_cv_lib_unicows_main+set}" = set; then
36140 echo $ECHO_N "(cached) $ECHO_C" >&6
36142 ac_check_lib_save_LIBS
=$LIBS
36143 LIBS
="-lunicows $LIBS"
36144 cat >conftest.
$ac_ext <<_ACEOF
36147 cat confdefs.h
>>conftest.
$ac_ext
36148 cat >>conftest.
$ac_ext <<_ACEOF
36149 /* end confdefs.h. */
36160 rm -f conftest.
$ac_objext conftest
$ac_exeext
36161 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36162 (eval $ac_link) 2>conftest.er1
36164 grep -v '^ *+' conftest.er1
>conftest.err
36166 cat conftest.err
>&5
36167 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36168 (exit $ac_status); } &&
36169 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
36170 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36171 (eval $ac_try) 2>&5
36173 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36174 (exit $ac_status); }; } &&
36175 { ac_try
='test -s conftest$ac_exeext'
36176 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36177 (eval $ac_try) 2>&5
36179 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36180 (exit $ac_status); }; }; then
36181 ac_cv_lib_unicows_main
=yes
36183 echo "$as_me: failed program was:" >&5
36184 sed 's/^/| /' conftest.
$ac_ext >&5
36186 ac_cv_lib_unicows_main
=no
36188 rm -f conftest.err conftest.
$ac_objext \
36189 conftest
$ac_exeext conftest.
$ac_ext
36190 LIBS
=$ac_check_lib_save_LIBS
36192 echo "$as_me:$LINENO: result: $ac_cv_lib_unicows_main" >&5
36193 echo "${ECHO_T}$ac_cv_lib_unicows_main" >&6
36194 if test $ac_cv_lib_unicows_main = yes; then
36196 cat >>confdefs.h
<<\_ACEOF
36197 #define wxUSE_UNICODE_MSLU 1
36203 { echo "$as_me:$LINENO: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
36204 Applications will only run on Windows NT/2000/XP!" >&5
36205 echo "$as_me: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
36206 Applications will only run on Windows NT/2000/XP!" >&2;}
36207 wxUSE_UNICODE_MSLU
=no
36214 if test "$wxUSE_wxUSE_EXPERIMENTAL_PRINTF" = "yes"; then
36215 cat >>confdefs.h
<<\_ACEOF
36216 #define wxUSE_EXPERIMENTAL_PRINTF 1
36222 if test "$wxUSE_POSTSCRIPT" = "yes" ; then
36223 cat >>confdefs.h
<<\_ACEOF
36224 #define wxUSE_POSTSCRIPT 1
36229 cat >>confdefs.h
<<\_ACEOF
36230 #define wxUSE_AFM_FOR_POSTSCRIPT 1
36234 cat >>confdefs.h
<<\_ACEOF
36235 #define wxUSE_NORMALIZED_PS_FONTS 1
36240 if test "$wxUSE_CONSTRAINTS" = "yes"; then
36241 cat >>confdefs.h
<<\_ACEOF
36242 #define wxUSE_CONSTRAINTS 1
36245 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS layout"
36248 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
36249 cat >>confdefs.h
<<\_ACEOF
36250 #define wxUSE_MDI_ARCHITECTURE 1
36253 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS mdi"
36256 if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = "yes" ; then
36257 cat >>confdefs.h
<<\_ACEOF
36258 #define wxUSE_DOC_VIEW_ARCHITECTURE 1
36261 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS docview"
36262 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
36263 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS docvwmdi"
36267 if test "$wxUSE_HELP" = "yes"; then
36268 cat >>confdefs.h
<<\_ACEOF
36269 #define wxUSE_HELP 1
36272 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS help"
36274 if test "$wxUSE_MSW" = 1; then
36275 if test "$wxUSE_MS_HTML_HELP" = "yes"; then
36276 cat >>confdefs.h
<<\_ACEOF
36277 #define wxUSE_MS_HTML_HELP 1
36283 if test "$wxUSE_WXHTML_HELP" = "yes"; then
36284 if test "$wxUSE_HTML" = "yes"; then
36285 cat >>confdefs.h
<<\_ACEOF
36286 #define wxUSE_WXHTML_HELP 1
36290 { echo "$as_me:$LINENO: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&5
36291 echo "$as_me: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&2;}
36292 wxUSE_WXHTML_HELP
=no
36297 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
36298 if test "$wxUSE_CONSTRAINTS" != "yes"; then
36299 { echo "$as_me:$LINENO: WARNING: Printing support cannot be used without constraints so it won't be compiled without it" >&5
36300 echo "$as_me: WARNING: Printing support cannot be used without constraints so it won't be compiled without it" >&2;}
36302 cat >>confdefs.h
<<\_ACEOF
36303 #define wxUSE_PRINTING_ARCHITECTURE 1
36307 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS printing"
36310 if test "$wxUSE_PROLOGIO" = "yes" -o "$wxUSE_RESOURCES" = "yes"; then
36311 { { echo "$as_me:$LINENO: error: wxExpr and old-style resources are now available in contrib only" >&5
36312 echo "$as_me: error: wxExpr and old-style resources are now available in contrib only" >&2;}
36313 { (exit 1); exit 1; }; }
36317 if test "$USE_WIN32" = 1 -a \
( "$wxUSE_DATAOBJ" = "yes" \
36318 -o "$wxUSE_CLIPBOARD" = "yes" \
36319 -o "$wxUSE_OLE" = "yes" \
36320 -o "$wxUSE_DRAG_AND_DROP" = "yes" \
) ; then
36322 for ac_header
in ole2.h
36324 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
36325 if eval "test \"\${$as_ac_Header+set}\" = set"; then
36326 echo "$as_me:$LINENO: checking for $ac_header" >&5
36327 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
36328 if eval "test \"\${$as_ac_Header+set}\" = set"; then
36329 echo $ECHO_N "(cached) $ECHO_C" >&6
36331 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
36332 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
36334 # Is the header compilable?
36335 echo "$as_me:$LINENO: checking $ac_header usability" >&5
36336 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
36337 cat >conftest.
$ac_ext <<_ACEOF
36340 cat confdefs.h
>>conftest.
$ac_ext
36341 cat >>conftest.
$ac_ext <<_ACEOF
36342 /* end confdefs.h. */
36343 $ac_includes_default
36344 #include <$ac_header>
36346 rm -f conftest.
$ac_objext
36347 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36348 (eval $ac_compile) 2>conftest.er1
36350 grep -v '^ *+' conftest.er1
>conftest.err
36352 cat conftest.err
>&5
36353 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36354 (exit $ac_status); } &&
36355 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
36356 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36357 (eval $ac_try) 2>&5
36359 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36360 (exit $ac_status); }; } &&
36361 { ac_try
='test -s conftest.$ac_objext'
36362 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36363 (eval $ac_try) 2>&5
36365 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36366 (exit $ac_status); }; }; then
36367 ac_header_compiler
=yes
36369 echo "$as_me: failed program was:" >&5
36370 sed 's/^/| /' conftest.
$ac_ext >&5
36372 ac_header_compiler
=no
36374 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
36375 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
36376 echo "${ECHO_T}$ac_header_compiler" >&6
36378 # Is the header present?
36379 echo "$as_me:$LINENO: checking $ac_header presence" >&5
36380 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
36381 cat >conftest.
$ac_ext <<_ACEOF
36384 cat confdefs.h
>>conftest.
$ac_ext
36385 cat >>conftest.
$ac_ext <<_ACEOF
36386 /* end confdefs.h. */
36387 #include <$ac_header>
36389 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
36390 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
36392 grep -v '^ *+' conftest.er1
>conftest.err
36394 cat conftest.err
>&5
36395 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36396 (exit $ac_status); } >/dev
/null
; then
36397 if test -s conftest.err
; then
36398 ac_cpp_err
=$ac_c_preproc_warn_flag
36399 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
36406 if test -z "$ac_cpp_err"; then
36407 ac_header_preproc
=yes
36409 echo "$as_me: failed program was:" >&5
36410 sed 's/^/| /' conftest.
$ac_ext >&5
36412 ac_header_preproc
=no
36414 rm -f conftest.err conftest.
$ac_ext
36415 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
36416 echo "${ECHO_T}$ac_header_preproc" >&6
36418 # So? What about this header?
36419 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
36421 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
36422 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
36423 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
36424 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
36425 ac_header_preproc
=yes
36428 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
36429 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
36430 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
36431 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
36432 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
36433 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
36434 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
36435 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
36436 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
36437 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
36438 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
36439 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
36442 ## ----------------------------------------- ##
36443 ## Report this to wx-dev@lists.wxwindows.org ##
36444 ## ----------------------------------------- ##
36447 sed "s/^/$as_me: WARNING: /" >&2
36450 echo "$as_me:$LINENO: checking for $ac_header" >&5
36451 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
36452 if eval "test \"\${$as_ac_Header+set}\" = set"; then
36453 echo $ECHO_N "(cached) $ECHO_C" >&6
36455 eval "$as_ac_Header=\$ac_header_preproc"
36457 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
36458 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
36461 if test `eval echo '${'$as_ac_Header'}'` = yes; then
36462 cat >>confdefs.h
<<_ACEOF
36463 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
36471 if test "$ac_cv_header_ole2_h" = "yes" ; then
36472 if test "$GCC" = yes ; then
36476 ac_cpp
='$CXXCPP $CPPFLAGS'
36477 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36478 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36479 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
36482 echo "$as_me:$LINENO: checking if g++ requires -fvtable-thunks" >&5
36483 echo $ECHO_N "checking if g++ requires -fvtable-thunks... $ECHO_C" >&6
36484 cat >conftest.
$ac_ext <<_ACEOF
36487 cat confdefs.h
>>conftest.
$ac_ext
36488 cat >>conftest.
$ac_ext <<_ACEOF
36489 /* end confdefs.h. */
36490 #include <windows.h>
36500 rm -f conftest.
$ac_objext
36501 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36502 (eval $ac_compile) 2>conftest.er1
36504 grep -v '^ *+' conftest.er1
>conftest.err
36506 cat conftest.err
>&5
36507 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36508 (exit $ac_status); } &&
36509 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
36510 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36511 (eval $ac_try) 2>&5
36513 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36514 (exit $ac_status); }; } &&
36515 { ac_try
='test -s conftest.$ac_objext'
36516 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36517 (eval $ac_try) 2>&5
36519 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36520 (exit $ac_status); }; }; then
36521 echo "$as_me:$LINENO: result: no" >&5
36522 echo "${ECHO_T}no" >&6
36524 echo "$as_me: failed program was:" >&5
36525 sed 's/^/| /' conftest.
$ac_ext >&5
36527 echo "$as_me:$LINENO: result: yes" >&5
36528 echo "${ECHO_T}yes" >&6
36529 CODE_GEN_FLAGS_CXX
="$CODE_GEN_FLAGS_CXX -fvtable-thunks"
36531 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
36533 ac_cpp
='$CPP $CPPFLAGS'
36534 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36535 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36536 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
36538 ALL_OBJECTS
="$ALL_OBJECTS \$(OLEOBJS)"
36539 LIBS
=" -lrpcrt4 -loleaut32 -lole32 -luuid$LIBS"
36540 if test "$wxUSE_OLE" = "yes" ; then
36541 cat >>confdefs.h
<<\_ACEOF
36542 #define wxUSE_OLE 1
36548 if test "$wxUSE_DATAOBJ" = "yes" ; then
36549 cat >>confdefs.h
<<\_ACEOF
36550 #define wxUSE_DATAOBJ 1
36555 { echo "$as_me:$LINENO: WARNING: Some features disabled because OLE headers not found" >&5
36556 echo "$as_me: WARNING: Some features disabled because OLE headers not found" >&2;}
36559 wxUSE_DRAG_AND_DROP
=no
36564 if test "$wxUSE_METAFILE" = "yes"; then
36565 cat >>confdefs.h
<<\_ACEOF
36566 #define wxUSE_METAFILE 1
36570 cat >>confdefs.h
<<\_ACEOF
36571 #define wxUSE_ENH_METAFILE 1
36577 if test "$wxUSE_IPC" = "yes"; then
36578 if test "$wxUSE_SOCKETS" != "yes"; then
36579 { echo "$as_me:$LINENO: WARNING: wxWindows IPC classes require sockets... disabled" >&5
36580 echo "$as_me: WARNING: wxWindows IPC classes require sockets... disabled" >&2;}
36583 cat >>confdefs.h
<<\_ACEOF
36584 #define wxUSE_IPC 1
36589 if test "$wxUSE_CLIPBOARD" = "yes"; then
36590 if test "$wxUSE_MGL" = 1; then
36591 { echo "$as_me:$LINENO: WARNING: Clipboard not yet supported under MGL... disabled" >&5
36592 echo "$as_me: WARNING: Clipboard not yet supported under MGL... disabled" >&2;}
36596 if test "$wxUSE_CLIPBOARD" = "yes"; then
36597 cat >>confdefs.h
<<\_ACEOF
36598 #define wxUSE_CLIPBOARD 1
36602 cat >>confdefs.h
<<\_ACEOF
36603 #define wxUSE_DATAOBJ 1
36609 if test "$wxUSE_DRAG_AND_DROP" = "yes" ; then
36610 if test "$wxUSE_GTK" = 1; then
36611 if test "$WXGTK12" != 1; then
36612 { echo "$as_me:$LINENO: WARNING: Drag and drop is only supported under GTK+ 1.2... disabled" >&5
36613 echo "$as_me: WARNING: Drag and drop is only supported under GTK+ 1.2... disabled" >&2;}
36614 wxUSE_DRAG_AND_DROP
=no
36618 if test "$wxUSE_MOTIF" = 1; then
36619 { echo "$as_me:$LINENO: WARNING: Drag and drop not yet supported under Motif... disabled" >&5
36620 echo "$as_me: WARNING: Drag and drop not yet supported under Motif... disabled" >&2;}
36621 wxUSE_DRAG_AND_DROP
=no
36624 if test "$wxUSE_X11" = 1; then
36625 { echo "$as_me:$LINENO: WARNING: Drag and drop not yet supported under X11... disabled" >&5
36626 echo "$as_me: WARNING: Drag and drop not yet supported under X11... disabled" >&2;}
36627 wxUSE_DRAG_AND_DROP
=no
36630 if test "$wxUSE_MGL" = 1; then
36631 { echo "$as_me:$LINENO: WARNING: Drag and drop not yet supported under MGL... disabled" >&5
36632 echo "$as_me: WARNING: Drag and drop not yet supported under MGL... disabled" >&2;}
36633 wxUSE_DRAG_AND_DROP
=no
36636 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
36637 cat >>confdefs.h
<<\_ACEOF
36638 #define wxUSE_DRAG_AND_DROP 1
36645 if test "$wxUSE_DRAG_AND_DROP" = "yes" -o "$wxUSE_CLIPBOARD" = "yes"; then
36646 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS dnd"
36649 if test "$wxUSE_SPLINES" = "yes" ; then
36650 cat >>confdefs.h
<<\_ACEOF
36651 #define wxUSE_SPLINES 1
36658 if test "$wxUSE_CONTROLS" = "yes"; then
36662 if test "$wxUSE_ACCEL" = "yes"; then
36663 cat >>confdefs.h
<<\_ACEOF
36664 #define wxUSE_ACCEL 1
36670 if test "$wxUSE_BUTTON" = "yes"; then
36671 cat >>confdefs.h
<<\_ACEOF
36672 #define wxUSE_BUTTON 1
36678 if test "$wxUSE_BMPBUTTON" = "yes"; then
36679 cat >>confdefs.h
<<\_ACEOF
36680 #define wxUSE_BMPBUTTON 1
36686 if test "$wxUSE_CALCTRL" = "yes"; then
36687 cat >>confdefs.h
<<\_ACEOF
36688 #define wxUSE_CALENDARCTRL 1
36692 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS calendar"
36695 if test "$wxUSE_CARET" = "yes"; then
36696 cat >>confdefs.h
<<\_ACEOF
36697 #define wxUSE_CARET 1
36701 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS caret"
36704 if test "$wxUSE_COMBOBOX" = "yes"; then
36705 cat >>confdefs.h
<<\_ACEOF
36706 #define wxUSE_COMBOBOX 1
36712 if test "$wxUSE_CHOICE" = "yes"; then
36713 cat >>confdefs.h
<<\_ACEOF
36714 #define wxUSE_CHOICE 1
36720 if test "$wxUSE_CHECKBOX" = "yes"; then
36721 cat >>confdefs.h
<<\_ACEOF
36722 #define wxUSE_CHECKBOX 1
36728 if test "$wxUSE_CHECKLST" = "yes"; then
36729 cat >>confdefs.h
<<\_ACEOF
36730 #define wxUSE_CHECKLISTBOX 1
36734 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS checklst"
36737 if test "$wxUSE_DISPLAY" = "yes"; then
36738 cat >>confdefs.h
<<\_ACEOF
36739 #define wxUSE_DISPLAY 1
36742 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS display"
36745 if test "$wxUSE_GAUGE" = "yes"; then
36746 cat >>confdefs.h
<<\_ACEOF
36747 #define wxUSE_GAUGE 1
36753 if test "$wxUSE_GRID" = "yes"; then
36754 cat >>confdefs.h
<<\_ACEOF
36755 #define wxUSE_GRID 1
36759 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS grid"
36762 if test "$wxUSE_IMAGLIST" = "yes"; then
36763 cat >>confdefs.h
<<\_ACEOF
36764 #define wxUSE_IMAGLIST 1
36769 if test "$wxUSE_LISTBOOK" = "yes"; then
36770 cat >>confdefs.h
<<\_ACEOF
36771 #define wxUSE_LISTBOOK 1
36777 if test "$wxUSE_LISTBOX" = "yes"; then
36778 cat >>confdefs.h
<<\_ACEOF
36779 #define wxUSE_LISTBOX 1
36785 if test "$wxUSE_LISTCTRL" = "yes"; then
36786 if test "$wxUSE_IMAGLIST" = "yes"; then
36787 cat >>confdefs.h
<<\_ACEOF
36788 #define wxUSE_LISTCTRL 1
36792 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS listctrl"
36794 { echo "$as_me:$LINENO: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&5
36795 echo "$as_me: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&2;}
36799 if test "$wxUSE_NOTEBOOK" = "yes"; then
36800 cat >>confdefs.h
<<\_ACEOF
36801 #define wxUSE_NOTEBOOK 1
36805 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS notebook"
36809 if test "$wxUSE_RADIOBOX" = "yes"; then
36810 cat >>confdefs.h
<<\_ACEOF
36811 #define wxUSE_RADIOBOX 1
36817 if test "$wxUSE_RADIOBTN" = "yes"; then
36818 cat >>confdefs.h
<<\_ACEOF
36819 #define wxUSE_RADIOBTN 1
36825 if test "$wxUSE_SASH" = "yes"; then
36826 cat >>confdefs.h
<<\_ACEOF
36827 #define wxUSE_SASH 1
36830 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS sashtest"
36833 if test "$wxUSE_SCROLLBAR" = "yes"; then
36834 cat >>confdefs.h
<<\_ACEOF
36835 #define wxUSE_SCROLLBAR 1
36839 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS scroll scrollsub"
36842 if test "$wxUSE_SLIDER" = "yes"; then
36843 cat >>confdefs.h
<<\_ACEOF
36844 #define wxUSE_SLIDER 1
36850 if test "$wxUSE_SPINBTN" = "yes"; then
36851 cat >>confdefs.h
<<\_ACEOF
36852 #define wxUSE_SPINBTN 1
36858 if test "$wxUSE_SPINCTRL" = "yes"; then
36859 cat >>confdefs.h
<<\_ACEOF
36860 #define wxUSE_SPINCTRL 1
36866 if test "$wxUSE_SPLITTER" = "yes"; then
36867 cat >>confdefs.h
<<\_ACEOF
36868 #define wxUSE_SPLITTER 1
36871 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS splitter"
36874 if test "$wxUSE_STATBMP" = "yes"; then
36875 cat >>confdefs.h
<<\_ACEOF
36876 #define wxUSE_STATBMP 1
36882 if test "$wxUSE_STATBOX" = "yes"; then
36883 cat >>confdefs.h
<<\_ACEOF
36884 #define wxUSE_STATBOX 1
36890 if test "$wxUSE_STATTEXT" = "yes"; then
36891 cat >>confdefs.h
<<\_ACEOF
36892 #define wxUSE_STATTEXT 1
36898 if test "$wxUSE_STATLINE" = "yes"; then
36899 cat >>confdefs.h
<<\_ACEOF
36900 #define wxUSE_STATLINE 1
36906 if test "$wxUSE_STATUSBAR" = "yes"; then
36907 cat >>confdefs.h
<<\_ACEOF
36908 #define wxUSE_STATUSBAR 1
36913 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS statbar"
36916 if test "$wxUSE_TABDIALOG" = "yes"; then
36917 cat >>confdefs.h
<<\_ACEOF
36918 #define wxUSE_TAB_DIALOG 1
36921 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS tab"
36924 if test "$wxUSE_TEXTCTRL" = "yes"; then
36925 cat >>confdefs.h
<<\_ACEOF
36926 #define wxUSE_TEXTCTRL 1
36930 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS text"
36933 if test "$wxUSE_TOGGLEBTN" = "yes"; then
36934 if test "$wxUSE_COCOA" = 1 ; then
36935 { echo "$as_me:$LINENO: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&5
36936 echo "$as_me: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&2;}
36939 if test "$wxUSE_UNIVERSAL" = "yes"; then
36940 { echo "$as_me:$LINENO: WARNING: Toggle button not yet supported under wxUniversal... disabled" >&5
36941 echo "$as_me: WARNING: Toggle button not yet supported under wxUniversal... disabled" >&2;}
36945 if test "$wxUSE_TOGGLEBTN" = "yes"; then
36946 cat >>confdefs.h
<<\_ACEOF
36947 #define wxUSE_TOGGLEBTN 1
36954 if test "$wxUSE_TOOLBAR_SIMPLE" = "yes"; then
36955 cat >>confdefs.h
<<\_ACEOF
36956 #define wxUSE_TOOLBAR_SIMPLE 1
36959 wxUSE_TOOLBAR
="yes"
36963 if test "$wxUSE_TOOLBAR" = "yes"; then
36964 cat >>confdefs.h
<<\_ACEOF
36965 #define wxUSE_TOOLBAR 1
36970 if test "$wxUSE_TOOLBAR_SIMPLE" != "yes"; then
36971 wxUSE_TOOLBAR_NATIVE
="yes"
36974 if test "$wxUSE_TOOLBAR_NATIVE" = "yes"; then
36975 cat >>confdefs.h
<<\_ACEOF
36976 #define wxUSE_TOOLBAR_NATIVE 1
36982 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS toolbar"
36985 if test "$wxUSE_TOOLTIPS" = "yes"; then
36986 if test "$wxUSE_MOTIF" = 1; then
36987 { echo "$as_me:$LINENO: WARNING: wxTooltip not supported yet under Motif... disabled" >&5
36988 echo "$as_me: WARNING: wxTooltip not supported yet under Motif... disabled" >&2;}
36990 if test "$wxUSE_UNIVERSAL" = "yes"; then
36991 { echo "$as_me:$LINENO: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&5
36992 echo "$as_me: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&2;}
36994 cat >>confdefs.h
<<\_ACEOF
36995 #define wxUSE_TOOLTIPS 1
37002 if test "$wxUSE_TREECTRL" = "yes"; then
37003 if test "$wxUSE_IMAGLIST" = "yes"; then
37004 cat >>confdefs.h
<<\_ACEOF
37005 #define wxUSE_TREECTRL 1
37009 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS treectrl"
37011 { echo "$as_me:$LINENO: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&5
37012 echo "$as_me: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&2;}
37016 if test "$wxUSE_POPUPWIN" = "yes"; then
37017 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1 ; then
37018 { echo "$as_me:$LINENO: WARNING: Popup window not yet supported under Mac OS X... disabled" >&5
37019 echo "$as_me: WARNING: Popup window not yet supported under Mac OS X... disabled" >&2;}
37021 if test "$wxUSE_PM" = 1; then
37022 { echo "$as_me:$LINENO: WARNING: wxPopupWindow not yet supported under PM... disabled" >&5
37023 echo "$as_me: WARNING: wxPopupWindow not yet supported under PM... disabled" >&2;}
37025 cat >>confdefs.h
<<\_ACEOF
37026 #define wxUSE_POPUPWIN 1
37035 if test "$wxUSE_TIPWINDOW" = "yes"; then
37036 if test "$wxUSE_PM" = 1; then
37037 { echo "$as_me:$LINENO: WARNING: wxTipWindow not yet supported under PM... disabled" >&5
37038 echo "$as_me: WARNING: wxTipWindow not yet supported under PM... disabled" >&2;}
37040 cat >>confdefs.h
<<\_ACEOF
37041 #define wxUSE_TIPWINDOW 1
37047 if test "$USES_CONTROLS" = 1; then
37048 cat >>confdefs.h
<<\_ACEOF
37049 #define wxUSE_CONTROLS 1
37055 if test "$wxUSE_ACCESSIBILITY" = "yes"; then
37056 cat >>confdefs.h
<<\_ACEOF
37057 #define wxUSE_ACCESSIBILITY 1
37060 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS access"
37063 if test "$wxUSE_DRAGIMAGE" = "yes"; then
37064 cat >>confdefs.h
<<\_ACEOF
37065 #define wxUSE_DRAGIMAGE 1
37068 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS dragimag"
37071 if test "$wxUSE_EXCEPTIONS" = "yes"; then
37072 cat >>confdefs.h
<<\_ACEOF
37073 #define wxUSE_EXCEPTIONS 1
37079 if test "$wxUSE_HTML" = "yes"; then
37080 cat >>confdefs.h
<<\_ACEOF
37081 #define wxUSE_HTML 1
37085 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS html html/about html/help html/helpview html/printing html/test html/virtual html/widget html/zip htlbox"
37088 if test "$wxUSE_MENUS" = "yes"; then
37089 cat >>confdefs.h
<<\_ACEOF
37090 #define wxUSE_MENUS 1
37093 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS menu"
37096 if test "$wxUSE_METAFILE" = "yes"; then
37097 cat >>confdefs.h
<<\_ACEOF
37098 #define wxUSE_METAFILE 1
37103 if test "$wxUSE_MIMETYPE" = "yes"; then
37104 cat >>confdefs.h
<<\_ACEOF
37105 #define wxUSE_MIMETYPE 1
37110 if test "$wxUSE_MINIFRAME" = "yes"; then
37111 cat >>confdefs.h
<<\_ACEOF
37112 #define wxUSE_MINIFRAME 1
37115 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS minifram"
37118 if test "$wxUSE_SYSTEM_OPTIONS" = "yes"; then
37119 cat >>confdefs.h
<<\_ACEOF
37120 #define wxUSE_SYSTEM_OPTIONS 1
37123 if test "$TOOLKIT" = "MSW" -o "$TOOLKIT" = "GTK" -o "$TOOLKIT" = "X11" -o \
37124 "$TOOLKIT" = "MOTIF"; then
37125 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS taskbar"
37130 if test "$wxUSE_VALIDATORS" = "yes"; then
37131 cat >>confdefs.h
<<\_ACEOF
37132 #define wxUSE_VALIDATORS 1
37135 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS validate"
37138 if test "$wxUSE_PALETTE" = "yes" ; then
37139 cat >>confdefs.h
<<\_ACEOF
37140 #define wxUSE_PALETTE 1
37145 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_MSLU" = "yes" ; then
37146 LIBS
=" -lunicows $LIBS"
37150 if test "$wxUSE_IMAGE" = "yes" ; then
37151 cat >>confdefs.h
<<\_ACEOF
37152 #define wxUSE_IMAGE 1
37156 if test "$wxUSE_GIF" = "yes" ; then
37157 cat >>confdefs.h
<<\_ACEOF
37158 #define wxUSE_GIF 1
37163 if test "$wxUSE_PCX" = "yes" ; then
37164 cat >>confdefs.h
<<\_ACEOF
37165 #define wxUSE_PCX 1
37170 if test "$wxUSE_IFF" = "yes" ; then
37171 cat >>confdefs.h
<<\_ACEOF
37172 #define wxUSE_IFF 1
37177 if test "$wxUSE_PNM" = "yes" ; then
37178 cat >>confdefs.h
<<\_ACEOF
37179 #define wxUSE_PNM 1
37184 if test "$wxUSE_XPM" = "yes" ; then
37185 cat >>confdefs.h
<<\_ACEOF
37186 #define wxUSE_XPM 1
37191 if test "$wxUSE_ICO_CUR" = "yes" ; then
37192 cat >>confdefs.h
<<\_ACEOF
37193 #define wxUSE_ICO_CUR 1
37200 if test "$wxUSE_CHOICEDLG" = "yes"; then
37201 cat >>confdefs.h
<<\_ACEOF
37202 #define wxUSE_CHOICEDLG 1
37207 if test "$wxUSE_COLOURDLG" = "yes"; then
37208 cat >>confdefs.h
<<\_ACEOF
37209 #define wxUSE_COLOURDLG 1
37214 if test "$wxUSE_FILEDLG" = "yes"; then
37215 cat >>confdefs.h
<<\_ACEOF
37216 #define wxUSE_FILEDLG 1
37221 if test "$wxUSE_FINDREPLDLG" = "yes"; then
37222 cat >>confdefs.h
<<\_ACEOF
37223 #define wxUSE_FINDREPLDLG 1
37228 if test "$wxUSE_FONTDLG" = "yes"; then
37229 cat >>confdefs.h
<<\_ACEOF
37230 #define wxUSE_FONTDLG 1
37235 if test "$wxUSE_DIRDLG" = "yes"; then
37236 if test "$wxUSE_TREECTRL" != "yes"; then
37237 { echo "$as_me:$LINENO: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&5
37238 echo "$as_me: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&2;}
37240 cat >>confdefs.h
<<\_ACEOF
37241 #define wxUSE_DIRDLG 1
37247 if test "$wxUSE_MSGDLG" = "yes"; then
37248 cat >>confdefs.h
<<\_ACEOF
37249 #define wxUSE_MSGDLG 1
37254 if test "$wxUSE_NUMBERDLG" = "yes"; then
37255 cat >>confdefs.h
<<\_ACEOF
37256 #define wxUSE_NUMBERDLG 1
37261 if test "$wxUSE_PROGRESSDLG" = "yes"; then
37262 if test "$wxUSE_CONSTRAINTS" != "yes"; then
37263 { echo "$as_me:$LINENO: WARNING: wxProgressDialog requires constraints so it won't be compiled without them" >&5
37264 echo "$as_me: WARNING: wxProgressDialog requires constraints so it won't be compiled without them" >&2;}
37266 cat >>confdefs.h
<<\_ACEOF
37267 #define wxUSE_PROGRESSDLG 1
37273 if test "$wxUSE_SPLASH" = "yes"; then
37274 cat >>confdefs.h
<<\_ACEOF
37275 #define wxUSE_SPLASH 1
37280 if test "$wxUSE_STARTUP_TIPS" = "yes"; then
37281 if test "$wxUSE_CONSTRAINTS" != "yes"; then
37282 { echo "$as_me:$LINENO: WARNING: Startup tips requires constraints and won't be compiled without them" >&5
37283 echo "$as_me: WARNING: Startup tips requires constraints and won't be compiled without them" >&2;}
37285 cat >>confdefs.h
<<\_ACEOF
37286 #define wxUSE_STARTUP_TIPS 1
37292 if test "$wxUSE_TEXTDLG" = "yes"; then
37293 cat >>confdefs.h
<<\_ACEOF
37294 #define wxUSE_TEXTDLG 1
37299 if test "$wxUSE_WIZARDDLG" = "yes"; then
37300 cat >>confdefs.h
<<\_ACEOF
37301 #define wxUSE_WIZARDDLG 1
37304 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS wizard"
37308 if test "$cross_compiling" = "yes"; then
37311 OSINFO
=`uname -s -r -m`
37312 OSINFO
="\"$OSINFO\""
37315 cat >>confdefs.h
<<_ACEOF
37316 #define WXWIN_OS_DESCRIPTION $OSINFO
37321 if test "x$prefix" != "xNONE"; then
37324 wxPREFIX
=$ac_default_prefix
37327 cat >>confdefs.h
<<_ACEOF
37328 #define wxINSTALL_PREFIX "$wxPREFIX"
37332 top_builddir_wxconfig
=`pwd`
37336 CORE_BASE_LIBS
="net base"
37337 CORE_GUI_LIBS
="adv core"
37339 if test "$wxUSE_XML" = "yes" ; then
37340 CORE_BASE_LIBS
="xml $CORE_BASE_LIBS"
37342 if test "$wxUSE_ODBC" != "no" ; then
37343 CORE_BASE_LIBS
="odbc $CORE_BASE_LIBS"
37344 CORE_GUI_LIBS
="dbgrid $CORE_GUI_LIBS"
37346 if test "$wxUSE_HTML" = "yes" ; then
37347 CORE_GUI_LIBS
="html $CORE_GUI_LIBS"
37350 if test "$wxUSE_GUI" != "yes"; then
37361 if test "$wxUSE_MAC" = 1 ; then
37362 LDFLAGS
="$LDFLAGS -framework Carbon -framework System"
37364 if test "$wxUSE_COCOA" = 1 ; then
37365 LDFLAGS
="$LDFLAGS -framework Cocoa -framework System"
37369 LIBS
="$ZLIB_LINK $POSIX4_LINK $INET_LINK $WCHAR_LINK $DL_LINK $LIBS"
37376 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37377 echo "$as_me:$LINENO: checking for $ac_func" >&5
37378 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
37379 if eval "test \"\${$as_ac_var+set}\" = set"; then
37380 echo $ECHO_N "(cached) $ECHO_C" >&6
37382 cat >conftest.
$ac_ext <<_ACEOF
37385 cat confdefs.h
>>conftest.
$ac_ext
37386 cat >>conftest.
$ac_ext <<_ACEOF
37387 /* end confdefs.h. */
37388 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37389 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37390 #define $ac_func innocuous_$ac_func
37392 /* System header to define __stub macros and hopefully few prototypes,
37393 which can conflict with char $ac_func (); below.
37394 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37395 <limits.h> exists even on freestanding compilers. */
37398 # include <limits.h>
37400 # include <assert.h>
37405 /* Override any gcc2 internal prototype to avoid an error. */
37410 /* We use char because int might match the return type of a gcc2
37411 builtin and then its argument prototype would still apply. */
37413 /* The GNU C library defines this for functions which it implements
37414 to always fail with ENOSYS. Some functions are actually named
37415 something starting with __ and the normal name is an alias. */
37416 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
37419 char (*f) () = $ac_func;
37428 return f != $ac_func;
37433 rm -f conftest.
$ac_objext conftest
$ac_exeext
37434 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37435 (eval $ac_link) 2>conftest.er1
37437 grep -v '^ *+' conftest.er1
>conftest.err
37439 cat conftest.err
>&5
37440 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37441 (exit $ac_status); } &&
37442 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
37443 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37444 (eval $ac_try) 2>&5
37446 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37447 (exit $ac_status); }; } &&
37448 { ac_try
='test -s conftest$ac_exeext'
37449 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37450 (eval $ac_try) 2>&5
37452 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37453 (exit $ac_status); }; }; then
37454 eval "$as_ac_var=yes"
37456 echo "$as_me: failed program was:" >&5
37457 sed 's/^/| /' conftest.
$ac_ext >&5
37459 eval "$as_ac_var=no"
37461 rm -f conftest.err conftest.
$ac_objext \
37462 conftest
$ac_exeext conftest.
$ac_ext
37464 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
37465 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
37466 if test `eval echo '${'$as_ac_var'}'` = yes; then
37467 cat >>confdefs.h
<<_ACEOF
37468 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37475 for ac_func
in floor
37477 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37478 echo "$as_me:$LINENO: checking for $ac_func" >&5
37479 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
37480 if eval "test \"\${$as_ac_var+set}\" = set"; then
37481 echo $ECHO_N "(cached) $ECHO_C" >&6
37483 cat >conftest.
$ac_ext <<_ACEOF
37486 cat confdefs.h
>>conftest.
$ac_ext
37487 cat >>conftest.
$ac_ext <<_ACEOF
37488 /* end confdefs.h. */
37489 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37490 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37491 #define $ac_func innocuous_$ac_func
37493 /* System header to define __stub macros and hopefully few prototypes,
37494 which can conflict with char $ac_func (); below.
37495 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37496 <limits.h> exists even on freestanding compilers. */
37499 # include <limits.h>
37501 # include <assert.h>
37506 /* Override any gcc2 internal prototype to avoid an error. */
37511 /* We use char because int might match the return type of a gcc2
37512 builtin and then its argument prototype would still apply. */
37514 /* The GNU C library defines this for functions which it implements
37515 to always fail with ENOSYS. Some functions are actually named
37516 something starting with __ and the normal name is an alias. */
37517 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
37520 char (*f) () = $ac_func;
37529 return f != $ac_func;
37534 rm -f conftest.
$ac_objext conftest
$ac_exeext
37535 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37536 (eval $ac_link) 2>conftest.er1
37538 grep -v '^ *+' conftest.er1
>conftest.err
37540 cat conftest.err
>&5
37541 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37542 (exit $ac_status); } &&
37543 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
37544 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37545 (eval $ac_try) 2>&5
37547 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37548 (exit $ac_status); }; } &&
37549 { ac_try
='test -s conftest$ac_exeext'
37550 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37551 (eval $ac_try) 2>&5
37553 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37554 (exit $ac_status); }; }; then
37555 eval "$as_ac_var=yes"
37557 echo "$as_me: failed program was:" >&5
37558 sed 's/^/| /' conftest.
$ac_ext >&5
37560 eval "$as_ac_var=no"
37562 rm -f conftest.err conftest.
$ac_objext \
37563 conftest
$ac_exeext conftest.
$ac_ext
37565 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
37566 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
37567 if test `eval echo '${'$as_ac_var'}'` = yes; then
37568 cat >>confdefs.h
<<_ACEOF
37569 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37575 echo "$as_me:$LINENO: checking if floating point functions link without -lm" >&5
37576 echo $ECHO_N "checking if floating point functions link without -lm... $ECHO_C" >&6
37577 if test "$have_cos" = 1 -a "$have_floor" = 1; then
37578 echo "$as_me:$LINENO: result: yes" >&5
37579 echo "${ECHO_T}yes" >&6
37581 echo "$as_me:$LINENO: result: no" >&5
37582 echo "${ECHO_T}no" >&6
37584 # use different functions to avoid configure caching
37590 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37591 echo "$as_me:$LINENO: checking for $ac_func" >&5
37592 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
37593 if eval "test \"\${$as_ac_var+set}\" = set"; then
37594 echo $ECHO_N "(cached) $ECHO_C" >&6
37596 cat >conftest.
$ac_ext <<_ACEOF
37599 cat confdefs.h
>>conftest.
$ac_ext
37600 cat >>conftest.
$ac_ext <<_ACEOF
37601 /* end confdefs.h. */
37602 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37603 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37604 #define $ac_func innocuous_$ac_func
37606 /* System header to define __stub macros and hopefully few prototypes,
37607 which can conflict with char $ac_func (); below.
37608 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37609 <limits.h> exists even on freestanding compilers. */
37612 # include <limits.h>
37614 # include <assert.h>
37619 /* Override any gcc2 internal prototype to avoid an error. */
37624 /* We use char because int might match the return type of a gcc2
37625 builtin and then its argument prototype would still apply. */
37627 /* The GNU C library defines this for functions which it implements
37628 to always fail with ENOSYS. Some functions are actually named
37629 something starting with __ and the normal name is an alias. */
37630 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
37633 char (*f) () = $ac_func;
37642 return f != $ac_func;
37647 rm -f conftest.
$ac_objext conftest
$ac_exeext
37648 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37649 (eval $ac_link) 2>conftest.er1
37651 grep -v '^ *+' conftest.er1
>conftest.err
37653 cat conftest.err
>&5
37654 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37655 (exit $ac_status); } &&
37656 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
37657 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37658 (eval $ac_try) 2>&5
37660 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37661 (exit $ac_status); }; } &&
37662 { ac_try
='test -s conftest$ac_exeext'
37663 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37664 (eval $ac_try) 2>&5
37666 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37667 (exit $ac_status); }; }; then
37668 eval "$as_ac_var=yes"
37670 echo "$as_me: failed program was:" >&5
37671 sed 's/^/| /' conftest.
$ac_ext >&5
37673 eval "$as_ac_var=no"
37675 rm -f conftest.err conftest.
$ac_objext \
37676 conftest
$ac_exeext conftest.
$ac_ext
37678 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
37679 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
37680 if test `eval echo '${'$as_ac_var'}'` = yes; then
37681 cat >>confdefs.h
<<_ACEOF
37682 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37689 for ac_func
in ceil
37691 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37692 echo "$as_me:$LINENO: checking for $ac_func" >&5
37693 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
37694 if eval "test \"\${$as_ac_var+set}\" = set"; then
37695 echo $ECHO_N "(cached) $ECHO_C" >&6
37697 cat >conftest.
$ac_ext <<_ACEOF
37700 cat confdefs.h
>>conftest.
$ac_ext
37701 cat >>conftest.
$ac_ext <<_ACEOF
37702 /* end confdefs.h. */
37703 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37704 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37705 #define $ac_func innocuous_$ac_func
37707 /* System header to define __stub macros and hopefully few prototypes,
37708 which can conflict with char $ac_func (); below.
37709 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37710 <limits.h> exists even on freestanding compilers. */
37713 # include <limits.h>
37715 # include <assert.h>
37720 /* Override any gcc2 internal prototype to avoid an error. */
37725 /* We use char because int might match the return type of a gcc2
37726 builtin and then its argument prototype would still apply. */
37728 /* The GNU C library defines this for functions which it implements
37729 to always fail with ENOSYS. Some functions are actually named
37730 something starting with __ and the normal name is an alias. */
37731 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
37734 char (*f) () = $ac_func;
37743 return f != $ac_func;
37748 rm -f conftest.
$ac_objext conftest
$ac_exeext
37749 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37750 (eval $ac_link) 2>conftest.er1
37752 grep -v '^ *+' conftest.er1
>conftest.err
37754 cat conftest.err
>&5
37755 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37756 (exit $ac_status); } &&
37757 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
37758 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37759 (eval $ac_try) 2>&5
37761 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37762 (exit $ac_status); }; } &&
37763 { ac_try
='test -s conftest$ac_exeext'
37764 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37765 (eval $ac_try) 2>&5
37767 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37768 (exit $ac_status); }; }; then
37769 eval "$as_ac_var=yes"
37771 echo "$as_me: failed program was:" >&5
37772 sed 's/^/| /' conftest.
$ac_ext >&5
37774 eval "$as_ac_var=no"
37776 rm -f conftest.err conftest.
$ac_objext \
37777 conftest
$ac_exeext conftest.
$ac_ext
37779 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
37780 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
37781 if test `eval echo '${'$as_ac_var'}'` = yes; then
37782 cat >>confdefs.h
<<_ACEOF
37783 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37789 echo "$as_me:$LINENO: checking if floating point functions link with -lm" >&5
37790 echo $ECHO_N "checking if floating point functions link with -lm... $ECHO_C" >&6
37791 if test "$have_sin" = 1 -a "$have_ceil" = 1; then
37792 echo "$as_me:$LINENO: result: yes" >&5
37793 echo "${ECHO_T}yes" >&6
37795 echo "$as_me:$LINENO: result: no" >&5
37796 echo "${ECHO_T}no" >&6
37797 # not sure we should warn the user, crash, etc.
37801 if test "$wxUSE_GUI" = "yes"; then
37804 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS artprov controls dialogs \
37805 drawing dynamic erase event exec font image \
37806 minimal propsize rotate shaped widgets render"
37808 if test "$wxUSE_MONOLITHIC" != "yes"; then
37809 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS console"
37812 SAMPLES_SUBDIRS
="console"
37816 INCLUDES
="-I\${top_builddir}lib/wx/include/${TOOLCHAIN_NAME} \
37817 -I\${top_srcdir}/include $TOOLKIT_INCLUDE"
37819 if test "$GXX" = yes ; then
37820 CXXWARNINGS
="-Wall"
37823 EXTRA_CFLAGS
="$WXDEBUG $WXODBCFLAG $PROFILE $OPTIMISE"
37825 CPPFLAGS
=`echo $WXDEBUG_DEFINE $INCLUDES $CPPFLAGS | sed 's/ \\+/ /g'`
37826 CFLAGS
=`echo $CODE_GEN_FLAGS $EXTRA_CFLAGS $CFLAGS $CXXWARNINGS | sed 's/ \\+/ /g'`
37827 CXXFLAGS
=`echo $CODE_GEN_FLAGS $CODE_GEN_FLAGS_CXX $EXTRA_CFLAGS $CXXFLAGS $CXXWARNINGS | sed 's/ \+/ /g'`
37830 LIBS
=`echo $LIBS | sed 's/ \+/ /g'`
37831 EXTRALIBS
="$LDFLAGS $LDFLAGS_VERSIONING $LIBS $DMALLOC_LIBS"
37832 EXTRALIBS_XML
="$EXPAT_LINK"
37833 EXTRALIBS_HTML
="$MSPACK_LINK"
37834 EXTRALIBS_ODBC
="$ODBC_LINK"
37835 if test "$wxUSE_GUI" = "yes"; then
37836 EXTRALIBS_GUI
=`echo $GUI_TK_LIBRARY $PNG_LINK $JPEG_LINK $TIFF_LINK | sed 's/ \+/ /g'`
37838 if test "$wxUSE_OPENGL" = "yes"; then
37839 EXTRALIBS_OPENGL
="$LDFLAGS_GL $OPENGL_LIBS"
37842 LDFLAGS
="$LDFLAGS $PROFILE"
37844 if test "$wxUSE_GTK" = 1; then
37847 WXCONFIG_INCLUDE
="$TOOLKIT_INCLUDE"
37850 WXCONFIG_EXTRALIBS
="$LIBS"
37852 if test "$wxUSE_REGEX" = "builtin" ; then
37853 wxconfig_3rdparty
="$wxconfig_3rdparty regex${lib_unicode_suffix}"
37855 if test "$wxUSE_EXPAT" = "builtin" ; then
37856 wxconfig_3rdparty
="$wxconfig_3rdparty expat"
37858 if test "$wxUSE_ODBC" = "builtin" ; then
37859 wxconfig_3rdparty
="$wxconfig_3rdparty odbc"
37861 if test "$wxUSE_LIBTIFF" = "builtin" ; then
37862 wxconfig_3rdparty
="$wxconfig_3rdparty tiff"
37864 if test "$wxUSE_LIBJPEG" = "builtin" ; then
37865 wxconfig_3rdparty
="$wxconfig_3rdparty jpeg"
37867 if test "$wxUSE_LIBPNG" = "builtin" ; then
37868 wxconfig_3rdparty
="$wxconfig_3rdparty png"
37870 if test "$wxUSE_ZLIB" = "builtin" ; then
37871 wxconfig_3rdparty
="$wxconfig_3rdparty zlib"
37873 if test "$wxUSE_ODBC" = "builtin" ; then
37874 wxconfig_3rdparty
="$wxconfig_3rdparty odbc"
37877 for i
in $wxconfig_3rdparty ; do
37878 WXCONFIG_EXTRALIBS
="$WXCONFIG_EXTRALIBS -lwx${i}${lib_debug_suffix}${HOST_SUFFIX}"
37882 if test "x$wxUSE_UNIVERSAL" = "xyes" ; then
37896 if test $wxUSE_MONOLITHIC = "yes" ; then
37902 if test $wxUSE_PLUGINS = "yes" ; then
37908 if test $wxUSE_ODBC != "no" ; then
37914 if test $wxUSE_OFFICIAL_BUILD = "yes" ; then
37940 TOOLKIT_LOWERCASE
=`echo $TOOLKIT | tr "[A-Z]" "[a-z]"`
37950 if test "x$BAKEFILE_HOST" = "x"; then
37951 BAKEFILE_HOST
="${host}"
37954 if test "x$BAKEFILE_CHECK_BASICS" != "xno"; then
37956 if test -n "$ac_tool_prefix"; then
37957 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
37958 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
37959 echo "$as_me:$LINENO: checking for $ac_word" >&5
37960 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
37961 if test "${ac_cv_prog_RANLIB+set}" = set; then
37962 echo $ECHO_N "(cached) $ECHO_C" >&6
37964 if test -n "$RANLIB"; then
37965 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
37967 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
37968 for as_dir
in $PATH
37971 test -z "$as_dir" && as_dir
=.
37972 for ac_exec_ext
in '' $ac_executable_extensions; do
37973 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
37974 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
37975 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
37983 RANLIB
=$ac_cv_prog_RANLIB
37984 if test -n "$RANLIB"; then
37985 echo "$as_me:$LINENO: result: $RANLIB" >&5
37986 echo "${ECHO_T}$RANLIB" >&6
37988 echo "$as_me:$LINENO: result: no" >&5
37989 echo "${ECHO_T}no" >&6
37993 if test -z "$ac_cv_prog_RANLIB"; then
37994 ac_ct_RANLIB
=$RANLIB
37995 # Extract the first word of "ranlib", so it can be a program name with args.
37996 set dummy ranlib
; ac_word
=$2
37997 echo "$as_me:$LINENO: checking for $ac_word" >&5
37998 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
37999 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
38000 echo $ECHO_N "(cached) $ECHO_C" >&6
38002 if test -n "$ac_ct_RANLIB"; then
38003 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
38005 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
38006 for as_dir
in $PATH
38009 test -z "$as_dir" && as_dir
=.
38010 for ac_exec_ext
in '' $ac_executable_extensions; do
38011 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
38012 ac_cv_prog_ac_ct_RANLIB
="ranlib"
38013 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
38019 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB
=":"
38022 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
38023 if test -n "$ac_ct_RANLIB"; then
38024 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
38025 echo "${ECHO_T}$ac_ct_RANLIB" >&6
38027 echo "$as_me:$LINENO: result: no" >&5
38028 echo "${ECHO_T}no" >&6
38031 RANLIB
=$ac_ct_RANLIB
38033 RANLIB
="$ac_cv_prog_RANLIB"
38036 # Find a good install program. We prefer a C program (faster),
38037 # so one script is as good as another. But avoid the broken or
38038 # incompatible versions:
38039 # SysV /etc/install, /usr/sbin/install
38040 # SunOS /usr/etc/install
38041 # IRIX /sbin/install
38043 # AmigaOS /C/install, which installs bootblocks on floppy discs
38044 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
38045 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
38046 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
38047 # OS/2's system install, which has a completely different semantic
38048 # ./install, which can be erroneously created by make from ./install.sh.
38049 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
38050 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
38051 if test -z "$INSTALL"; then
38052 if test "${ac_cv_path_install+set}" = set; then
38053 echo $ECHO_N "(cached) $ECHO_C" >&6
38055 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
38056 for as_dir
in $PATH
38059 test -z "$as_dir" && as_dir
=.
38060 # Account for people who put trailing slashes in PATH elements.
38062 .
/ | .
// | /cC
/* | \
38063 /etc
/* | /usr
/sbin
/* | /usr
/etc
/* | /sbin
/* | /usr
/afsws
/bin
/* | \
38064 ?
:\\/os2
\\/install\\/* | ?
:\\/OS2
\\/INSTALL
\\/* | \
38067 # OSF1 and SCO ODT 3.0 have their own names for install.
38068 # Don't use installbsd from OSF since it installs stuff as root
38070 for ac_prog
in ginstall scoinst
install; do
38071 for ac_exec_ext
in '' $ac_executable_extensions; do
38072 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
38073 if test $ac_prog = install &&
38074 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
38075 # AIX install. It has an incompatible calling convention.
38077 elif test $ac_prog = install &&
38078 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
38079 # program-specific install script used by HP pwplus--don't use.
38082 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
38094 if test "${ac_cv_path_install+set}" = set; then
38095 INSTALL
=$ac_cv_path_install
38097 # As a last resort, use the slow shell script. We don't cache a
38098 # path for INSTALL within a source directory, because that will
38099 # break other packages using the cache if that directory is
38100 # removed, or if the path is relative.
38101 INSTALL
=$ac_install_sh
38104 echo "$as_me:$LINENO: result: $INSTALL" >&5
38105 echo "${ECHO_T}$INSTALL" >&6
38107 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
38108 # It thinks the first close brace ends the variable substitution.
38109 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
38111 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
38113 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
38115 echo "$as_me:$LINENO: checking whether ln -s works" >&5
38116 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
38118 if test "$LN_S" = "ln -s"; then
38119 echo "$as_me:$LINENO: result: yes" >&5
38120 echo "${ECHO_T}yes" >&6
38122 echo "$as_me:$LINENO: result: no, using $LN_S" >&5
38123 echo "${ECHO_T}no, using $LN_S" >&6
38127 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
38128 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
38129 set dummy
${MAKE-make}; ac_make
=`echo "$2" | sed 'y,:./+-,___p_,'`
38130 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
38131 echo $ECHO_N "(cached) $ECHO_C" >&6
38133 cat >conftest.
make <<\_ACEOF
38135 @
echo 'ac_maketemp="$(MAKE)"'
38137 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
38138 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
38139 if test -n "$ac_maketemp"; then
38140 eval ac_cv_prog_make_
${ac_make}_set
=yes
38142 eval ac_cv_prog_make_
${ac_make}_set
=no
38144 rm -f conftest.
make
38146 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
38147 echo "$as_me:$LINENO: result: yes" >&5
38148 echo "${ECHO_T}yes" >&6
38151 echo "$as_me:$LINENO: result: no" >&5
38152 echo "${ECHO_T}no" >&6
38153 SET_MAKE
="MAKE=${MAKE-make}"
38158 if test -n "$ac_tool_prefix"; then
38159 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
38160 set dummy
${ac_tool_prefix}ar; ac_word
=$2
38161 echo "$as_me:$LINENO: checking for $ac_word" >&5
38162 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
38163 if test "${ac_cv_prog_AR+set}" = set; then
38164 echo $ECHO_N "(cached) $ECHO_C" >&6
38166 if test -n "$AR"; then
38167 ac_cv_prog_AR
="$AR" # Let the user override the test.
38169 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
38170 for as_dir
in $PATH
38173 test -z "$as_dir" && as_dir
=.
38174 for ac_exec_ext
in '' $ac_executable_extensions; do
38175 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
38176 ac_cv_prog_AR
="${ac_tool_prefix}ar"
38177 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
38186 if test -n "$AR"; then
38187 echo "$as_me:$LINENO: result: $AR" >&5
38188 echo "${ECHO_T}$AR" >&6
38190 echo "$as_me:$LINENO: result: no" >&5
38191 echo "${ECHO_T}no" >&6
38195 if test -z "$ac_cv_prog_AR"; then
38197 # Extract the first word of "ar", so it can be a program name with args.
38198 set dummy
ar; ac_word
=$2
38199 echo "$as_me:$LINENO: checking for $ac_word" >&5
38200 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
38201 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
38202 echo $ECHO_N "(cached) $ECHO_C" >&6
38204 if test -n "$ac_ct_AR"; then
38205 ac_cv_prog_ac_ct_AR
="$ac_ct_AR" # Let the user override the test.
38207 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
38208 for as_dir
in $PATH
38211 test -z "$as_dir" && as_dir
=.
38212 for ac_exec_ext
in '' $ac_executable_extensions; do
38213 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
38214 ac_cv_prog_ac_ct_AR
="ar"
38215 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
38221 test -z "$ac_cv_prog_ac_ct_AR" && ac_cv_prog_ac_ct_AR
="ar"
38224 ac_ct_AR
=$ac_cv_prog_ac_ct_AR
38225 if test -n "$ac_ct_AR"; then
38226 echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
38227 echo "${ECHO_T}$ac_ct_AR" >&6
38229 echo "$as_me:$LINENO: result: no" >&5
38230 echo "${ECHO_T}no" >&6
38235 AR
="$ac_cv_prog_AR"
38238 if test -n "$ac_tool_prefix"; then
38239 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
38240 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
38241 echo "$as_me:$LINENO: checking for $ac_word" >&5
38242 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
38243 if test "${ac_cv_prog_STRIP+set}" = set; then
38244 echo $ECHO_N "(cached) $ECHO_C" >&6
38246 if test -n "$STRIP"; then
38247 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
38249 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
38250 for as_dir
in $PATH
38253 test -z "$as_dir" && as_dir
=.
38254 for ac_exec_ext
in '' $ac_executable_extensions; do
38255 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
38256 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
38257 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
38265 STRIP
=$ac_cv_prog_STRIP
38266 if test -n "$STRIP"; then
38267 echo "$as_me:$LINENO: result: $STRIP" >&5
38268 echo "${ECHO_T}$STRIP" >&6
38270 echo "$as_me:$LINENO: result: no" >&5
38271 echo "${ECHO_T}no" >&6
38275 if test -z "$ac_cv_prog_STRIP"; then
38277 # Extract the first word of "strip", so it can be a program name with args.
38278 set dummy strip
; ac_word
=$2
38279 echo "$as_me:$LINENO: checking for $ac_word" >&5
38280 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
38281 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
38282 echo $ECHO_N "(cached) $ECHO_C" >&6
38284 if test -n "$ac_ct_STRIP"; then
38285 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
38287 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
38288 for as_dir
in $PATH
38291 test -z "$as_dir" && as_dir
=.
38292 for ac_exec_ext
in '' $ac_executable_extensions; do
38293 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
38294 ac_cv_prog_ac_ct_STRIP
="strip"
38295 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
38301 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP
=":"
38304 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
38305 if test -n "$ac_ct_STRIP"; then
38306 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
38307 echo "${ECHO_T}$ac_ct_STRIP" >&6
38309 echo "$as_me:$LINENO: result: no" >&5
38310 echo "${ECHO_T}no" >&6
38315 STRIP
="$ac_cv_prog_STRIP"
38318 if test -n "$ac_tool_prefix"; then
38319 # Extract the first word of "${ac_tool_prefix}nm", so it can be a program name with args.
38320 set dummy
${ac_tool_prefix}nm
; ac_word
=$2
38321 echo "$as_me:$LINENO: checking for $ac_word" >&5
38322 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
38323 if test "${ac_cv_prog_NM+set}" = set; then
38324 echo $ECHO_N "(cached) $ECHO_C" >&6
38326 if test -n "$NM"; then
38327 ac_cv_prog_NM
="$NM" # Let the user override the test.
38329 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
38330 for as_dir
in $PATH
38333 test -z "$as_dir" && as_dir
=.
38334 for ac_exec_ext
in '' $ac_executable_extensions; do
38335 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
38336 ac_cv_prog_NM
="${ac_tool_prefix}nm"
38337 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
38346 if test -n "$NM"; then
38347 echo "$as_me:$LINENO: result: $NM" >&5
38348 echo "${ECHO_T}$NM" >&6
38350 echo "$as_me:$LINENO: result: no" >&5
38351 echo "${ECHO_T}no" >&6
38355 if test -z "$ac_cv_prog_NM"; then
38357 # Extract the first word of "nm", so it can be a program name with args.
38358 set dummy nm
; ac_word
=$2
38359 echo "$as_me:$LINENO: checking for $ac_word" >&5
38360 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
38361 if test "${ac_cv_prog_ac_ct_NM+set}" = set; then
38362 echo $ECHO_N "(cached) $ECHO_C" >&6
38364 if test -n "$ac_ct_NM"; then
38365 ac_cv_prog_ac_ct_NM
="$ac_ct_NM" # Let the user override the test.
38367 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
38368 for as_dir
in $PATH
38371 test -z "$as_dir" && as_dir
=.
38372 for ac_exec_ext
in '' $ac_executable_extensions; do
38373 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
38374 ac_cv_prog_ac_ct_NM
="nm"
38375 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
38381 test -z "$ac_cv_prog_ac_ct_NM" && ac_cv_prog_ac_ct_NM
=":"
38384 ac_ct_NM
=$ac_cv_prog_ac_ct_NM
38385 if test -n "$ac_ct_NM"; then
38386 echo "$as_me:$LINENO: result: $ac_ct_NM" >&5
38387 echo "${ECHO_T}$ac_ct_NM" >&6
38389 echo "$as_me:$LINENO: result: no" >&5
38390 echo "${ECHO_T}no" >&6
38395 NM
="$ac_cv_prog_NM"
38399 case ${BAKEFILE_HOST} in
38401 INSTALL_DIR
="mkdir"
38403 *) INSTALL_DIR
="$INSTALL -d"
38409 case ${BAKEFILE_HOST} in
38410 *-*-cygwin* | *-*-mingw32* )
38411 LDFLAGS_GUI
="-mwindows"
38417 echo "$as_me:$LINENO: checking if make is GNU make" >&5
38418 echo $ECHO_N "checking if make is GNU make... $ECHO_C" >&6
38419 if test "${bakefile_cv_prog_makeisgnu+set}" = set; then
38420 echo $ECHO_N "(cached) $ECHO_C" >&6
38423 if ( ${SHELL-sh} -c "${MAKE-make} --version" 2> /dev
/null
|
38424 egrep -s GNU
> /dev
/null
); then
38425 bakefile_cv_prog_makeisgnu
="yes"
38427 bakefile_cv_prog_makeisgnu
="no"
38431 echo "$as_me:$LINENO: result: $bakefile_cv_prog_makeisgnu" >&5
38432 echo "${ECHO_T}$bakefile_cv_prog_makeisgnu" >&6
38434 if test "x$bakefile_cv_prog_makeisgnu" = "xyes"; then
38449 if test "x$BAKEFILE_FORCE_PLATFORM" = "x"; then
38450 case "${BAKEFILE_HOST}" in
38451 *-*-cygwin* | *-*-mingw32* )
38457 *-pc-os2_emx | *-pc-os2-emx )
38460 powerpc
-*-darwin* )
38469 case "$BAKEFILE_FORCE_PLATFORM" in
38487 { { echo "$as_me:$LINENO: error: Unknown platform: $BAKEFILE_FORCE_PLATFORM" >&5
38488 echo "$as_me: error: Unknown platform: $BAKEFILE_FORCE_PLATFORM" >&2;}
38489 { (exit 1); exit 1; }; }
38502 # Check whether --enable-omf or --disable-omf was given.
38503 if test "${enable_omf+set}" = set; then
38504 enableval
="$enable_omf"
38505 bk_os2_use_omf
="$enableval"
38508 case "${BAKEFILE_HOST}" in
38510 CFLAGS
="$CFLAGS -fno-common"
38511 CXXFLAGS
="$CXXFLAGS -fno-common"
38514 *-pc-os2_emx | *-pc-os2-emx )
38515 if test "x$bk_os2_use_omf" = "xyes" ; then
38518 LDFLAGS
="-Zomf $LDFLAGS"
38519 CFLAGS
="-Zomf $CFLAGS"
38520 CXXFLAGS
="-Zomf $CXXFLAGS"
38530 SO_SUFFIX_MODULE
="so"
38535 DLLPREFIX_MODULE
=""
38538 case "${BAKEFILE_HOST}" in
38541 SO_SUFFIX_MODULE
="sl"
38545 SO_SUFFIX_MODULE
="a"
38547 *-*-cygwin* | *-*-mingw32* )
38549 SO_SUFFIX_MODULE
="dll"
38550 DLLIMP_SUFFIX
="dll.a"
38558 *-pc-os2_emx | *-pc-os2-emx )
38560 SO_SUFFIX_MODULE
="dll"
38561 DLLIMP_SUFFIX
=$OS2_LIBEXT
38565 LIBEXT
=".$OS2_LIBEXT"
38567 powerpc
-*-darwin* )
38569 SO_SUFFIX_MODULE
="bundle"
38573 if test "x$DLLIMP_SUFFIX" = "x" ; then
38574 DLLIMP_SUFFIX
="$SO_SUFFIX"
38587 SHARED_LD_CC
="\$(CC) -shared -o"
38588 SHARED_LD_CXX
="\$(CXX) -shared -o"
38590 if test "x$GCC" = "xyes"; then
38594 case "${BAKEFILE_HOST}" in
38596 if test "x$GCC" = "xyes"; then
38597 SHARED_LD_CC
="${CC} -shared ${PIC_FLAG} -o"
38598 SHARED_LD_CXX
="${CXX} -shared ${PIC_FLAG} -o"
38600 LDFLAGS
="$LDFLAGS -L/usr/lib"
38602 SHARED_LD_CC
="${CC} -b -o"
38603 SHARED_LD_CXX
="${CXX} -b -o"
38609 if test "x$GCC" != "xyes"; then
38610 echo "$as_me:$LINENO: checking for Intel compiler" >&5
38611 echo $ECHO_N "checking for Intel compiler... $ECHO_C" >&6
38612 if test "${bakefile_cv_prog_icc+set}" = set; then
38613 echo $ECHO_N "(cached) $ECHO_C" >&6
38616 cat >conftest.
$ac_ext <<_ACEOF
38619 cat confdefs.h
>>conftest.
$ac_ext
38620 cat >>conftest.
$ac_ext <<_ACEOF
38621 /* end confdefs.h. */
38627 #ifndef __INTEL_COMPILER
38635 rm -f conftest.
$ac_objext
38636 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
38637 (eval $ac_compile) 2>conftest.er1
38639 grep -v '^ *+' conftest.er1
>conftest.err
38641 cat conftest.err
>&5
38642 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38643 (exit $ac_status); } &&
38644 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
38645 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38646 (eval $ac_try) 2>&5
38648 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38649 (exit $ac_status); }; } &&
38650 { ac_try
='test -s conftest.$ac_objext'
38651 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38652 (eval $ac_try) 2>&5
38654 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38655 (exit $ac_status); }; }; then
38656 bakefile_cv_prog_icc
=yes
38658 echo "$as_me: failed program was:" >&5
38659 sed 's/^/| /' conftest.
$ac_ext >&5
38661 bakefile_cv_prog_icc
=no
38664 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
38667 echo "$as_me:$LINENO: result: $bakefile_cv_prog_icc" >&5
38668 echo "${ECHO_T}$bakefile_cv_prog_icc" >&6
38669 if test "$bakefile_cv_prog_icc" = "yes"; then
38676 if test "x$GCC" != xyes
; then
38677 SHARED_LD_CC
="${CC} -G -o"
38678 SHARED_LD_CXX
="${CXX} -G -o"
38685 echo "$as_me:$LINENO: checking for gcc 3.1 or later" >&5
38686 echo $ECHO_N "checking for gcc 3.1 or later... $ECHO_C" >&6
38687 if test "${wx_cv_gcc31+set}" = set; then
38688 echo $ECHO_N "(cached) $ECHO_C" >&6
38691 cat >conftest.
$ac_ext <<_ACEOF
38694 cat confdefs.h
>>conftest.
$ac_ext
38695 cat >>conftest.
$ac_ext <<_ACEOF
38696 /* end confdefs.h. */
38702 #if (__GNUC__ < 3) || \
38703 ((__GNUC__ == 3) && (__GNUC_MINOR__ < 1))
38711 rm -f conftest.
$ac_objext
38712 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
38713 (eval $ac_compile) 2>conftest.er1
38715 grep -v '^ *+' conftest.er1
>conftest.err
38717 cat conftest.err
>&5
38718 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38719 (exit $ac_status); } &&
38720 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
38721 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38722 (eval $ac_try) 2>&5
38724 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38725 (exit $ac_status); }; } &&
38726 { ac_try
='test -s conftest.$ac_objext'
38727 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38728 (eval $ac_try) 2>&5
38730 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38731 (exit $ac_status); }; }; then
38736 echo "$as_me: failed program was:" >&5
38737 sed 's/^/| /' conftest.
$ac_ext >&5
38744 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
38747 echo "$as_me:$LINENO: result: $wx_cv_gcc31" >&5
38748 echo "${ECHO_T}$wx_cv_gcc31" >&6
38749 if test "$wx_cv_gcc31" = "no"; then
38752 cat <<EOF >shared-ld-sh
38754 #-----------------------------------------------------------------------------
38755 #-- Name: distrib/mac/shared-ld-sh
38756 #-- Purpose: Link a mach-o dynamic shared library for Darwin / Mac OS X
38757 #-- Author: Gilles Depeyrot
38758 #-- Copyright: (c) 2002 Gilles Depeyrot
38759 #-- Licence: any use permitted
38760 #-----------------------------------------------------------------------------
38765 linking_flag="-dynamiclib"
38767 while test ${D}# -gt 0; do
38774 -o|-compatibility_version|-current_version|-framework|-undefined|-install_name)
38775 # collect these options and values
38776 args="${D}{args} ${D}1 ${D}2"
38780 -l*|-L*|-flat_namespace|-headerpad_max_install_names)
38781 # collect these options
38782 args="${D}{args} ${D}1"
38785 -dynamiclib|-bundle)
38786 linking_flag="${D}1"
38790 echo "shared-ld: unhandled option '${D}1'"
38794 *.o | *.a | *.dylib)
38795 # collect object files
38796 objects="${D}{objects} ${D}1"
38800 echo "shared-ld: unhandled argument '${D}1'"
38809 # Link one module containing all the others
38811 if test ${D}{verbose} = 1; then
38812 echo "c++ -r -keep_private_externs -nostdlib ${D}{objects} -o master.${D}${D}.o"
38814 c++ -r -keep_private_externs -nostdlib ${D}{objects} -o master.${D}${D}.o
38816 if test ${D}{status} != 0; then
38821 # Link the shared library from the single module created
38823 if test ${D}{verbose} = 1; then
38824 echo "cc ${D}{linking_flag} master.${D}${D}.o ${D}{args}"
38826 c++ ${D}{linking_flag} master.${D}${D}.o ${D}{args}
38828 if test ${D}{status} != 0; then
38833 # Remove intermediate module
38835 rm -f master.${D}${D}.o
38840 chmod +x shared
-ld-sh
38842 SHARED_LD_CC
="`pwd`/shared-ld-sh -dynamiclib -headerpad_max_install_names -o"
38843 SHARED_LD_MODULE_CC
="`pwd`/shared-ld-sh -bundle -headerpad_max_install_names -o"
38844 SHARED_LD_CXX
="$SHARED_LD_CC"
38845 SHARED_LD_MODULE_CXX
="$SHARED_LD_MODULE_CC"
38847 SHARED_LD_CC
="\${CC} -dynamiclib -single_module -headerpad_max_install_names -o"
38848 SHARED_LD_MODULE_CC
="\${CC} -bundle -single_module -headerpad_max_install_names -o"
38849 SHARED_LD_CXX
="\${CXX} -dynamiclib -single_module -headerpad_max_install_names -o"
38850 SHARED_LD_MODULE_CXX
="\${CXX} -bundle -single_module -headerpad_max_install_names -o"
38853 PIC_FLAG
="-dynamic -fPIC"
38857 if test "x$GCC" != "xyes"; then
38858 # Extract the first word of "makeC++SharedLib", so it can be a program name with args.
38859 set dummy makeC
++SharedLib
; ac_word
=$2
38860 echo "$as_me:$LINENO: checking for $ac_word" >&5
38861 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
38862 if test "${ac_cv_prog_AIX_CXX_LD+set}" = set; then
38863 echo $ECHO_N "(cached) $ECHO_C" >&6
38865 if test -n "$AIX_CXX_LD"; then
38866 ac_cv_prog_AIX_CXX_LD
="$AIX_CXX_LD" # Let the user override the test.
38868 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
38869 for as_dir
in $PATH
38872 test -z "$as_dir" && as_dir
=.
38873 for ac_exec_ext
in '' $ac_executable_extensions; do
38874 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
38875 ac_cv_prog_AIX_CXX_LD
="makeC++SharedLib"
38876 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
38882 test -z "$ac_cv_prog_AIX_CXX_LD" && ac_cv_prog_AIX_CXX_LD
="/usr/lpp/xlC/bin/makeC++SharedLib"
38885 AIX_CXX_LD
=$ac_cv_prog_AIX_CXX_LD
38886 if test -n "$AIX_CXX_LD"; then
38887 echo "$as_me:$LINENO: result: $AIX_CXX_LD" >&5
38888 echo "${ECHO_T}$AIX_CXX_LD" >&6
38890 echo "$as_me:$LINENO: result: no" >&5
38891 echo "${ECHO_T}no" >&6
38894 SHARED_LD_CC
="$AIX_CC_LD -p 0 -o"
38895 SHARED_LD_CXX
="$AIX_CXX_LD -p 0 -o"
38900 SHARED_LD_CC
="${LD} -shared -o"
38901 SHARED_LD_CXX
="${LD} -shared -o"
38905 if test "x$GCC" != "xyes"; then
38910 *-*-cygwin* | *-*-mingw32* )
38914 *-pc-os2_emx | *-pc-os2-emx )
38915 SHARED_LD_CC
="`pwd`/dllar.sh -o"
38916 SHARED_LD_CXX
="`pwd`/dllar.sh -o"
38920 cat <<EOF >dllar.sh
38923 # dllar - a tool to build both a .dll and an .a file
38924 # from a set of object (.o) files for EMX/OS2.
38926 # Written by Andrew Zabolotny, bit@freya.etu.ru
38927 # Ported to Unix like shell by Stefan Neis, Stefan.Neis@t-online.de
38929 # This script will accept a set of files on the command line.
38930 # All the public symbols from the .o files will be exported into
38931 # a .DEF file, then linker will be run (through gcc) against them to
38932 # build a shared library consisting of all given .o files. All libraries
38933 # (.a) will be first decompressed into component .o files then act as
38934 # described above. You can optionally give a description (-d "description")
38935 # which will be put into .DLL. To see the list of accepted options (as well
38936 # as command-line format) simply run this program without options. The .DLL
38937 # is built to be imported by name (there is no guarantee that new versions
38938 # of the library you build will have same ordinals for same symbols).
38940 # dllar is free software; you can redistribute it and/or modify
38941 # it under the terms of the GNU General Public License as published by
38942 # the Free Software Foundation; either version 2, or (at your option)
38943 # any later version.
38945 # dllar is distributed in the hope that it will be useful,
38946 # but WITHOUT ANY WARRANTY; without even the implied warranty of
38947 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
38948 # GNU General Public License for more details.
38950 # You should have received a copy of the GNU General Public License
38951 # along with dllar; see the file COPYING. If not, write to the Free
38952 # Software Foundation, 59 Temple Place - Suite 330, Boston, MA
38955 # To successfuly run this program you will need:
38956 # - Current drive should have LFN support (HPFS, ext2, network, etc)
38957 # (Sometimes dllar generates filenames which won't fit 8.3 scheme)
38959 # (used to build the .dll)
38961 # (used to create .def file from .o files)
38963 # (used to create .a file from .def file)
38964 # - GNU text utilites (cat, sort, uniq)
38965 # used to process emxexp output
38966 # - GNU file utilities (mv, rm)
38968 # - lxlite (optional, see flag below)
38969 # (used for general .dll cleanup)
38976 # basnam, variant of basename, which does _not_ remove the path, _iff_
38977 # second argument (suffix to remove) is given
38981 echo ${D}1 | sed 's/.*\///' | sed 's/.*\\//'
38984 echo ${D}1 | sed 's/'${D}2'${D}//'
38987 echo "error in basnam ${D}*"
38993 # Cleanup temporary files and output
38996 for i in ${D}inputFiles ; do
38999 rm -rf \`basnam ${D}i !\`
39006 # Kill result in case of failure as there is just to many stupid make/nmake
39007 # things out there which doesn't do this.
39008 if ${D}# -eq 0 ; then
39009 rm -f ${D}arcFile ${D}arcFile2 ${D}defFile ${D}dllFile
39013 # Print usage and exit script with rc=1.
39015 echo 'Usage: dllar -o[utput] output_file -i[mport] importlib_name'
39016 echo ' -d[escription] "dll descrption" -cc "CC" -f[lags] "CFLAGS"'
39017 echo ' -ord[inals] -exclude "symbol(s)"'
39018 echo ' -libf[lags] "{INIT|TERM}{GLOBAL|INSTANCE}" -nocrt[dll] -nolxl[ite]'
39020 echo '*> "output_file" should have no extension.'
39021 echo ' If it has the .o, .a or .dll extension, it is automatically removed.'
39022 echo ' The import library name is derived from this and is set to "name".a,'
39023 echo ' unless overridden by -import'
39024 echo '*> "importlib_name" should have no extension.'
39025 echo ' If it has the .o, or .a extension, it is automatically removed.'
39026 echo ' This name is used as the import library name and may be longer and'
39027 echo ' more descriptive than the DLL name which has to follow the old '
39028 echo ' 8.3 convention of FAT.'
39029 echo '*> "cc" is used to use another GCC executable. (default: gcc.exe)'
39030 echo '*> "flags" should be any set of valid GCC flags. (default: -s -Zcrtdll)'
39031 echo ' These flags will be put at the start of GCC command line.'
39032 echo '*> -ordinals tells dllar to export entries by ordinals. Be careful.'
39033 echo '*> -exclude defines symbols which will not be exported. You can define'
39034 echo ' multiple symbols, for example -ex "myfunc yourfunc _GLOBAL*".'
39035 echo ' If the last character of a symbol is "*", all symbols beginning'
39036 echo ' with the prefix before "*" will be exclude, (see _GLOBAL* above).'
39037 echo '*> -libflags can be used to add INITGLOBAL/INITINSTANCE and/or'
39038 echo ' TERMGLOBAL/TERMINSTANCE flags to the dynamically-linked library.'
39039 echo '*> -nocrtdll switch will disable linking the library against emx''s'
39040 echo ' C runtime DLLs.'
39041 echo '*> -nolxlite switch will disable running lxlite on the resulting DLL.'
39042 echo '*> All other switches (for example -L./ or -lmylib) will be passed'
39043 echo ' unchanged to GCC at the end of command line.'
39044 echo '*> If you create a DLL from a library and you do not specify -o,'
39045 echo ' the basename for DLL and import library will be set to library name,'
39046 echo ' the initial library will be renamed to 'name'_s.a (_s for static)'
39047 echo ' i.e. "dllar gcc.a" will create gcc.dll and gcc.a, and the initial'
39048 echo ' library will be renamed into gcc_s.a.'
39051 echo ' dllar -o gcc290.dll libgcc.a -d "GNU C runtime library" -ord'
39052 echo ' -ex "__main __ctordtor*" -libf "INITINSTANCE TERMINSTANCE"'
39057 # Execute a command.
39058 # If exit code of the commnad <> 0 CleanUp() is called and we'll exit the script.
39059 # @Uses Whatever CleanUp() uses.
39065 if ${D}rcCmd -ne 0 ; then
39066 echo "command failed, exit code="${D}rcCmd
39080 CFLAGS="-s -Zcrtdll"
39082 EXPORT_BY_ORDINALS=0
39087 case ${D}curDirS in
39091 curDirS=${D}{curDirS}"/"
39094 # Parse commandline
39099 EXPORT_BY_ORDINALS=1;
39126 exclude_symbols=${D}{exclude_symbols}${D}1" "
39130 library_flags=${D}{library_flags}${D}1" "
39146 EXTRA_CFLAGS=${D}{EXTRA_CFLAGS}" "${D}1
39150 if ${D}libsToLink -ne 0 ; then
39151 EXTRA_CFLAGS=${D}{EXTRA_CFLAGS}" "${D}1
39153 for file in ${D}1 ; do
39154 if -f ${D}file ; then
39155 inputFiles="${D}{inputFiles} ${D}file"
39159 if ${D}found -eq 0 ; then
39160 echo "ERROR: No file(s) found: "${D}1
39167 done # iterate cmdline words
39170 if -z "${D}inputFiles" ; then
39171 echo "dllar: no input files"
39175 # Now extract all .o files from .a files
39177 for file in ${D}inputFiles ; do
39188 EXTRA_CFLAGS="${D}EXTRA_CFLAGS -Zomf"
39193 dirname=\`basnam ${D}file ${D}suffix\`"_%"
39195 if ${D}? -ne 0 ; then
39196 echo "Failed to create subdirectory ./${D}dirname"
39200 # Append '!' to indicate archive
39201 newInputFiles="${D}newInputFiles ${D}{dirname}!"
39202 doCommand "cd ${D}dirname; ${D}AR x ../${D}file"
39205 for subfile in ${D}dirname/*.o* ; do
39206 if -f ${D}subfile ; then
39208 if -s ${D}subfile ; then
39209 # FIXME: This should be: is file size > 32 byte, _not_ > 0!
39210 newInputFiles="${D}newInputFiles ${D}subfile"
39214 if ${D}found -eq 0 ; then
39215 echo "WARNING: there are no files in archive \'${D}file\'"
39219 newInputFiles="${D}{newInputFiles} ${D}file"
39223 inputFiles="${D}newInputFiles"
39225 # Output filename(s).
39227 if -z ${D}outFile ; then
39229 set outFile ${D}inputFiles; outFile=${D}2
39232 # If it is an archive, remove the '!' and the '_%' suffixes
39233 case ${D}outFile in
39235 outFile=\`basnam ${D}outFile _%!\`
39240 case ${D}outFile in
39242 outFile=\`basnam ${D}outFile .dll\`
39245 outFile=\`basnam ${D}outFile .DLL\`
39248 outFile=\`basnam ${D}outFile .o\`
39251 outFile=\`basnam ${D}outFile .obj\`
39254 outFile=\`basnam ${D}outFile .a\`
39257 outFile=\`basnam ${D}outFile .lib\`
39262 case ${D}outimpFile in
39264 outimpFile=\`basnam ${D}outimpFile .a\`
39267 outimpFile=\`basnam ${D}outimpFile .lib\`
39272 if -z ${D}outimpFile ; then
39273 outimpFile=${D}outFile
39275 defFile="${D}{outFile}.def"
39276 arcFile="${D}{outimpFile}.a"
39277 arcFile2="${D}{outimpFile}.lib"
39278 dllFile="${D}outFile"
39279 # Add suffix to dllFile later, first we need a version to use as
39280 # name in .def file.
39282 if ${D}do_backup -ne 0 ; then
39283 if -f ${D}arcFile ; then
39284 doCommand "mv ${D}arcFile ${D}{outFile}_s.a"
39286 if -f ${D}arcFile2 ; then
39287 doCommand "mv ${D}arcFile2 ${D}{outFile}_s.lib"
39291 # Extract public symbols from all the object files.
39292 tmpdefFile=${D}{defFile}_%
39293 rm -f ${D}tmpdefFile
39294 for file in ${D}inputFiles ; do
39299 doCommand "emxexp -u ${D}file >> ${D}tmpdefFile"
39304 # Create the def file.
39306 echo "LIBRARY \`basnam ${D}dllFile\` ${D}library_flags" >> ${D}defFile
39307 dllFile="${D}dllFile.dll"
39308 if -n ${D}description ; then
39309 echo "DESCRIPTION \"${D}{description}\"" >> ${D}defFile
39311 echo "EXPORTS" >> ${D}defFile
39313 doCommand "cat ${D}tmpdefFile | sort.exe | uniq.exe > ${D}{tmpdefFile}%"
39314 grep -v "^ *;" < ${D}{tmpdefFile}% | grep -v "^ *${D}" >${D}tmpdefFile
39316 # Checks if the export is ok or not.
39317 for word in ${D}exclude_symbols; do
39318 grep -v ${D}word < ${D}tmpdefFile >${D}{tmpdefFile}%
39319 mv ${D}{tmpdefFile}% ${D}tmpdefFile
39323 if ${D}EXPORT_BY_ORDINALS -ne 0 ; then
39324 sed "=" < ${D}tmpdefFile | \
39328 s/^\(0-9\+\)\(^;*\)\(;.*\)\?/\2 @\1 NONAME/
39330 ' > ${D}{tmpdefFile}%
39331 grep -v "^ *${D}" < ${D}{tmpdefFile}% > ${D}tmpdefFile
39333 rm -f ${D}{tmpdefFile}%
39335 cat ${D}tmpdefFile >> ${D}defFile
39336 rm -f ${D}tmpdefFile
39338 # Do linking, create implib, and apply lxlite.
39340 for file in ${D}inputFiles ; do
39345 gccCmdl="${D}gccCmdl ${D}file"
39349 doCommand "${D}CC ${D}CFLAGS -Zdll -o ${D}dllFile ${D}defFile ${D}gccCmdl ${D}EXTRA_CFLAGS"
39350 touch "${D}{outFile}.dll"
39352 doCommand "emximp -o ${D}arcFile ${D}defFile"
39353 if ${D}flag_USE_LXLITE -ne 0 ; then
39355 if ${D}EXPORT_BY_ORDINALS -ne 0 ; then
39358 doCommand "lxlite -cs -t: -mrn -mln ${D}add_flags ${D}dllFile"
39360 doCommand "emxomf -s -l ${D}arcFile"
39370 *-*-freebsd* | *-*-openbsd* | *-*-netbsd* | \
39378 { { echo "$as_me:$LINENO: error: unknown system type $BAKEFILE_HOST." >&5
39379 echo "$as_me: error: unknown system type $BAKEFILE_HOST." >&2;}
39380 { (exit 1); exit 1; }; }
39383 if test "x$SHARED_LD_MODULE_CC" = "x" ; then
39384 SHARED_LD_MODULE_CC
="$SHARED_LD_CC"
39386 if test "x$SHARED_LD_MODULE_CXX" = "x" ; then
39387 SHARED_LD_MODULE_CXX
="$SHARED_LD_CXX"
39404 case "${BAKEFILE_HOST}" in
39406 SONAME_FLAG
="-Wl,-soname,"
39434 echo "$as_me:$LINENO: checking for dependency tracking method" >&5
39435 echo $ECHO_N "checking for dependency tracking method... $ECHO_C" >&6
39438 if test "x$GCC" = "xyes"; then
39441 case "${BAKEFILE_HOST}" in
39442 powerpc
-*-darwin* )
39443 DEPSFLAG_GCC
="-no-cpp-precomp -MMD"
39446 DEPSFLAG_GCC
="-MMD"
39449 echo "$as_me:$LINENO: result: gcc" >&5
39450 echo "${ECHO_T}gcc" >&6
39452 echo "$as_me:$LINENO: result: none" >&5
39453 echo "${ECHO_T}none" >&6
39456 if test $DEPS_TRACKING = 1 ; then
39462 # This script is part of Bakefile (http://bakefile.sourceforge.net) autoconf
39463 # script. It is used to track C/C++ files dependencies in portable way.
39465 # Permission is given to use this file in any way.
39467 DEPSMODE=${DEPSMODE}
39469 DEPSFLAG_GCC="${DEPSFLAG_GCC}"
39471 mkdir -p ${D}DEPSDIR
39473 if test ${D}DEPSMODE = gcc ; then
39474 ${D}* ${D}{DEPSFLAG_GCC}
39476 if test ${D}{status} != 0 ; then
39479 # move created file to the location we want it in:
39480 while test ${D}# -gt 0; do
39494 depfile=\`basename ${D}srcfile | sed -e 's/\..*${D}/.d/g'\`
39495 depobjname=\`echo ${D}depfile |sed -e 's/\.d/.o/g'\`
39496 if test -f ${D}depfile ; then
39497 sed -e "s,${D}depobjname:,${D}objfile:,g" ${D}depfile >${D}{DEPSDIR}/${D}{objfile}.d
39500 depfile=\`basename ${D}objfile | sed -e 's/\..*${D}/.d/g'\`
39501 if test -f ${D}depfile ; then
39502 sed -e "/^${D}objfile/!s,${D}depobjname:,${D}objfile:,g" ${D}depfile >${D}{DEPSDIR}/${D}{objfile}.d
39522 case ${BAKEFILE_HOST} in
39523 *-*-cygwin* | *-*-mingw32* )
39524 if test "$build" != "$host" ; then
39525 RESCOMP
=$host_alias-windres
39527 # Extract the first word of "windres", so it can be a program name with args.
39528 set dummy windres
; ac_word
=$2
39529 echo "$as_me:$LINENO: checking for $ac_word" >&5
39530 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
39531 if test "${ac_cv_prog_RESCOMP+set}" = set; then
39532 echo $ECHO_N "(cached) $ECHO_C" >&6
39534 if test -n "$RESCOMP"; then
39535 ac_cv_prog_RESCOMP
="$RESCOMP" # Let the user override the test.
39537 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
39538 for as_dir
in $PATH
39541 test -z "$as_dir" && as_dir
=.
39542 for ac_exec_ext
in '' $ac_executable_extensions; do
39543 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
39544 ac_cv_prog_RESCOMP
="windres"
39545 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
39551 test -z "$ac_cv_prog_RESCOMP" && ac_cv_prog_RESCOMP
="windres"
39554 RESCOMP
=$ac_cv_prog_RESCOMP
39555 if test -n "$RESCOMP"; then
39556 echo "$as_me:$LINENO: result: $RESCOMP" >&5
39557 echo "${ECHO_T}$RESCOMP" >&6
39559 echo "$as_me:$LINENO: result: no" >&5
39560 echo "${ECHO_T}no" >&6
39567 # Extract the first word of "Rez", so it can be a program name with args.
39568 set dummy Rez
; ac_word
=$2
39569 echo "$as_me:$LINENO: checking for $ac_word" >&5
39570 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
39571 if test "${ac_cv_prog_RESCOMP+set}" = set; then
39572 echo $ECHO_N "(cached) $ECHO_C" >&6
39574 if test -n "$RESCOMP"; then
39575 ac_cv_prog_RESCOMP
="$RESCOMP" # Let the user override the test.
39577 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
39578 for as_dir
in $PATH
39581 test -z "$as_dir" && as_dir
=.
39582 for ac_exec_ext
in '' $ac_executable_extensions; do
39583 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
39584 ac_cv_prog_RESCOMP
="Rez"
39585 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
39591 test -z "$ac_cv_prog_RESCOMP" && ac_cv_prog_RESCOMP
="/Developer/Tools/Rez"
39594 RESCOMP
=$ac_cv_prog_RESCOMP
39595 if test -n "$RESCOMP"; then
39596 echo "$as_me:$LINENO: result: $RESCOMP" >&5
39597 echo "${ECHO_T}$RESCOMP" >&6
39599 echo "$as_me:$LINENO: result: no" >&5
39600 echo "${ECHO_T}no" >&6
39603 # Extract the first word of "SetFile", so it can be a program name with args.
39604 set dummy SetFile
; ac_word
=$2
39605 echo "$as_me:$LINENO: checking for $ac_word" >&5
39606 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
39607 if test "${ac_cv_prog_SETFILE+set}" = set; then
39608 echo $ECHO_N "(cached) $ECHO_C" >&6
39610 if test -n "$SETFILE"; then
39611 ac_cv_prog_SETFILE
="$SETFILE" # Let the user override the test.
39613 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
39614 for as_dir
in $PATH
39617 test -z "$as_dir" && as_dir
=.
39618 for ac_exec_ext
in '' $ac_executable_extensions; do
39619 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
39620 ac_cv_prog_SETFILE
="SetFile"
39621 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
39627 test -z "$ac_cv_prog_SETFILE" && ac_cv_prog_SETFILE
="/Developer/Tools/SetFile"
39630 SETFILE
=$ac_cv_prog_SETFILE
39631 if test -n "$SETFILE"; then
39632 echo "$as_me:$LINENO: result: $SETFILE" >&5
39633 echo "${ECHO_T}$SETFILE" >&6
39635 echo "$as_me:$LINENO: result: no" >&5
39636 echo "${ECHO_T}no" >&6
39649 # Check whether --enable-precomp-headers or --disable-precomp-headers was given.
39650 if test "${enable_precomp_headers+set}" = set; then
39651 enableval
="$enable_precomp_headers"
39652 bk_use_pch
="$enableval"
39657 if test "x$bk_use_pch" = "x" -o "x$bk_use_pch" = "xyes" ; then
39658 if test "x$GCC" = "xyes"; then
39659 echo "$as_me:$LINENO: checking if the compiler supports precompiled headers" >&5
39660 echo $ECHO_N "checking if the compiler supports precompiled headers... $ECHO_C" >&6
39661 cat >conftest.
$ac_ext <<_ACEOF
39664 cat confdefs.h
>>conftest.
$ac_ext
39665 cat >>conftest.
$ac_ext <<_ACEOF
39666 /* end confdefs.h. */
39672 #if !defined(__GNUC__) || !defined(__GNUC_MINOR__)
39673 #error "no pch support"
39676 #error "no pch support"
39678 #if (__GNUC__ == 3) && \
39679 ((!defined(__APPLE_CC__) && (__GNUC_MINOR__ < 4)) || \
39680 ( defined(__APPLE_CC__) && (__GNUC_MINOR__ < 3)))
39681 #error "no pch support"
39688 rm -f conftest.
$ac_objext
39689 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39690 (eval $ac_compile) 2>conftest.er1
39692 grep -v '^ *+' conftest.er1
>conftest.err
39694 cat conftest.err
>&5
39695 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39696 (exit $ac_status); } &&
39697 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
39698 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39699 (eval $ac_try) 2>&5
39701 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39702 (exit $ac_status); }; } &&
39703 { ac_try
='test -s conftest.$ac_objext'
39704 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39705 (eval $ac_try) 2>&5
39707 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39708 (exit $ac_status); }; }; then
39710 echo "$as_me:$LINENO: result: yes" >&5
39711 echo "${ECHO_T}yes" >&6
39712 CPPFLAGS
="-fpch-deps $CPPFLAGS"
39716 echo "$as_me: failed program was:" >&5
39717 sed 's/^/| /' conftest.
$ac_ext >&5
39720 echo "$as_me:$LINENO: result: no" >&5
39721 echo "${ECHO_T}no" >&6
39724 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
39725 if test $GCC_PCH = 1 ; then
39726 cat <<EOF >bk-make-pch
39729 # This script is part of Bakefile (http://bakefile.sourceforge.net) autoconf
39730 # script. It is used to generated precompiled headers.
39732 # Permission is given to use this file in any way.
39741 while test \${#} -gt 0; do
39744 incdir=\`echo \${1} | sed -e 's/-I\(.*\)/\1/g'\`
39745 if test "x\${headerfile}" = "x" -a -f "\${incdir}/\${header}" ; then
39746 headerfile="\${incdir}/\${header}"
39750 compiler="\${compiler} \${1}"
39754 if test "x\${headerfile}" = "x" ; then
39755 echo "error: can't find header \${header} in include paths" >2
39757 if test -f \${outfile} ; then
39760 mkdir -p \`dirname \${outfile}\`
39762 depsfile=".deps/\`basename \${outfile}\`.d"
39764 # can do this because gcc is >= 3.4:
39765 \${compiler} -o \${outfile} -MMD -MF "\${depsfile}" "\${headerfile}"
39769 chmod +x bk
-make-pch
39778 COND_BUILD_DEBUG
="#"
39779 if test "x$BUILD" = "xdebug" ; then
39780 COND_BUILD_DEBUG
=""
39783 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT
="#"
39784 if test "x$BUILD" = "xdebug" -a "x$DEBUG_FLAG" = "xdefault" ; then
39785 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT
=""
39788 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT
="#"
39789 if test "x$BUILD" = "xdebug" -a "x$DEBUG_INFO" = "xdefault" ; then
39790 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT
=""
39793 COND_BUILD_DEBUG_UNICODE_0
="#"
39794 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x0" ; then
39795 COND_BUILD_DEBUG_UNICODE_0
=""
39798 COND_BUILD_DEBUG_UNICODE_1
="#"
39799 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x1" ; then
39800 COND_BUILD_DEBUG_UNICODE_1
=""
39803 COND_BUILD_RELEASE
="#"
39804 if test "x$BUILD" = "xrelease" ; then
39805 COND_BUILD_RELEASE
=""
39808 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT
="#"
39809 if test "x$BUILD" = "xrelease" -a "x$DEBUG_INFO" = "xdefault" ; then
39810 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT
=""
39813 COND_BUILD_RELEASE_UNICODE_0
="#"
39814 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x0" ; then
39815 COND_BUILD_RELEASE_UNICODE_0
=""
39818 COND_BUILD_RELEASE_UNICODE_1
="#"
39819 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x1" ; then
39820 COND_BUILD_RELEASE_UNICODE_1
=""
39823 COND_DEBUG_FLAG_1
="#"
39824 if test "x$DEBUG_FLAG" = "x1" ; then
39825 COND_DEBUG_FLAG_1
=""
39828 COND_DEBUG_INFO_0
="#"
39829 if test "x$DEBUG_INFO" = "x0" ; then
39830 COND_DEBUG_INFO_0
=""
39833 COND_DEBUG_INFO_1
="#"
39834 if test "x$DEBUG_INFO" = "x1" ; then
39835 COND_DEBUG_INFO_1
=""
39838 COND_DEPS_TRACKING_0
="#"
39839 if test "x$DEPS_TRACKING" = "x0" ; then
39840 COND_DEPS_TRACKING_0
=""
39843 COND_DEPS_TRACKING_1
="#"
39844 if test "x$DEPS_TRACKING" = "x1" ; then
39845 COND_DEPS_TRACKING_1
=""
39849 if test "x$GCC_PCH" = "x1" ; then
39853 COND_MONOLITHIC_0
="#"
39854 if test "x$MONOLITHIC" = "x0" ; then
39855 COND_MONOLITHIC_0
=""
39858 COND_MONOLITHIC_0_SHARED_0
="#"
39859 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" ; then
39860 COND_MONOLITHIC_0_SHARED_0
=""
39863 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1
="#"
39864 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" ; then
39865 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1
=""
39868 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_ODBC_1
="#"
39869 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_ODBC" = "x1" ; then
39870 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_ODBC_1
=""
39873 COND_MONOLITHIC_0_SHARED_0_USE_HTML_1
="#"
39874 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_HTML" = "x1" ; then
39875 COND_MONOLITHIC_0_SHARED_0_USE_HTML_1
=""
39878 COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1
="#"
39879 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_ODBC" = "x1" ; then
39880 COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1
=""
39883 COND_MONOLITHIC_0_SHARED_1
="#"
39884 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" ; then
39885 COND_MONOLITHIC_0_SHARED_1
=""
39888 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1
="#"
39889 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" ; then
39890 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1
=""
39893 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_ODBC_1
="#"
39894 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_ODBC" = "x1" ; then
39895 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_ODBC_1
=""
39898 COND_MONOLITHIC_0_SHARED_1_USE_HTML_1
="#"
39899 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_HTML" = "x1" ; then
39900 COND_MONOLITHIC_0_SHARED_1_USE_HTML_1
=""
39903 COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1
="#"
39904 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_ODBC" = "x1" ; then
39905 COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1
=""
39908 COND_MONOLITHIC_0_USE_ODBC_1
="#"
39909 if test "x$MONOLITHIC" = "x0" -a "x$USE_ODBC" = "x1" ; then
39910 COND_MONOLITHIC_0_USE_ODBC_1
=""
39913 COND_MONOLITHIC_1
="#"
39914 if test "x$MONOLITHIC" = "x1" ; then
39915 COND_MONOLITHIC_1
=""
39918 COND_MONOLITHIC_1_SHARED_0
="#"
39919 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x0" ; then
39920 COND_MONOLITHIC_1_SHARED_0
=""
39923 COND_MONOLITHIC_1_SHARED_1
="#"
39924 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x1" ; then
39925 COND_MONOLITHIC_1_SHARED_1
=""
39928 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1
="#"
39929 if test "x$OFFICIAL_BUILD" = "x0" -a "x$PLATFORM_WIN32" = "x1" ; then
39930 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1
=""
39933 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1
="#"
39934 if test "x$OFFICIAL_BUILD" = "x1" -a "x$PLATFORM_WIN32" = "x1" ; then
39935 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1
=""
39938 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1
="#"
39939 if test "x$PLATFORM_MACOSX" = "x0" -a "x$USE_SOVERSION" = "x1" ; then
39940 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1
=""
39943 COND_PLATFORM_MACOSX_1
="#"
39944 if test "x$PLATFORM_MACOSX" = "x1" ; then
39945 COND_PLATFORM_MACOSX_1
=""
39948 COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA
="#"
39949 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xCOCOA" ; then
39950 COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA
=""
39953 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK
="#"
39954 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xGTK" ; then
39955 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK
=""
39958 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC
="#"
39959 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMAC" ; then
39960 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC
=""
39963 COND_PLATFORM_MACOSX_1_USE_GUI_1
="#"
39964 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_GUI" = "x1" ; then
39965 COND_PLATFORM_MACOSX_1_USE_GUI_1
=""
39968 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1
="#"
39969 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_SOVERSION" = "x1" ; then
39970 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1
=""
39973 COND_PLATFORM_MAC_1
="#"
39974 if test "x$PLATFORM_MAC" = "x1" ; then
39975 COND_PLATFORM_MAC_1
=""
39978 COND_PLATFORM_OS2_1
="#"
39979 if test "x$PLATFORM_OS2" = "x1" ; then
39980 COND_PLATFORM_OS2_1
=""
39983 COND_PLATFORM_UNIX_0
="#"
39984 if test "x$PLATFORM_UNIX" = "x0" ; then
39985 COND_PLATFORM_UNIX_0
=""
39988 COND_PLATFORM_UNIX_1
="#"
39989 if test "x$PLATFORM_UNIX" = "x1" ; then
39990 COND_PLATFORM_UNIX_1
=""
39993 COND_PLATFORM_UNIX_1_USE_GUI_1
="#"
39994 if test "x$PLATFORM_UNIX" = "x1" -a "x$USE_GUI" = "x1" ; then
39995 COND_PLATFORM_UNIX_1_USE_GUI_1
=""
39998 COND_PLATFORM_UNIX_1_USE_PLUGINS_0
="#"
39999 if test "x$PLATFORM_UNIX" = "x1" -a "x$USE_PLUGINS" = "x0" ; then
40000 COND_PLATFORM_UNIX_1_USE_PLUGINS_0
=""
40003 COND_PLATFORM_WIN32_0
="#"
40004 if test "x$PLATFORM_WIN32" = "x0" ; then
40005 COND_PLATFORM_WIN32_0
=""
40008 COND_PLATFORM_WIN32_1
="#"
40009 if test "x$PLATFORM_WIN32" = "x1" ; then
40010 COND_PLATFORM_WIN32_1
=""
40014 if test "x$SHARED" = "x0" ; then
40018 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1
="#"
40019 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
40020 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1
=""
40023 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN
="#"
40024 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
40025 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN
=""
40028 COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN
="#"
40029 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
40030 COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN
=""
40033 COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN
="#"
40034 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
40035 COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN
=""
40038 COND_SHARED_0_WXUSE_EXPAT_BUILTIN
="#"
40039 if test "x$SHARED" = "x0" -a "x$wxUSE_EXPAT" = "xbuiltin" ; then
40040 COND_SHARED_0_WXUSE_EXPAT_BUILTIN
=""
40043 COND_SHARED_0_WXUSE_ODBC_BUILTIN
="#"
40044 if test "x$SHARED" = "x0" -a "x$wxUSE_ODBC" = "xbuiltin" ; then
40045 COND_SHARED_0_WXUSE_ODBC_BUILTIN
=""
40048 COND_SHARED_0_WXUSE_REGEX_BUILTIN
="#"
40049 if test "x$SHARED" = "x0" -a "x$wxUSE_REGEX" = "xbuiltin" ; then
40050 COND_SHARED_0_WXUSE_REGEX_BUILTIN
=""
40053 COND_SHARED_0_WXUSE_ZLIB_BUILTIN
="#"
40054 if test "x$SHARED" = "x0" -a "x$wxUSE_ZLIB" = "xbuiltin" ; then
40055 COND_SHARED_0_WXUSE_ZLIB_BUILTIN
=""
40059 if test "x$SHARED" = "x1" ; then
40063 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1
="#"
40064 if test "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
40065 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1
=""
40068 COND_TOOLKIT_COCOA
="#"
40069 if test "x$TOOLKIT" = "xCOCOA" ; then
40070 COND_TOOLKIT_COCOA
=""
40073 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0
="#"
40074 if test "x$TOOLKIT" = "xCOCOA" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
40075 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0
=""
40078 COND_TOOLKIT_GTK
="#"
40079 if test "x$TOOLKIT" = "xGTK" ; then
40080 COND_TOOLKIT_GTK
=""
40083 COND_TOOLKIT_GTK_USE_GUI_1
="#"
40084 if test "x$TOOLKIT" = "xGTK" -a "x$USE_GUI" = "x1" ; then
40085 COND_TOOLKIT_GTK_USE_GUI_1
=""
40088 COND_TOOLKIT_GTK_USE_GUI_1_WXUNIV_0
="#"
40089 if test "x$TOOLKIT" = "xGTK" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
40090 COND_TOOLKIT_GTK_USE_GUI_1_WXUNIV_0
=""
40093 COND_TOOLKIT_MAC
="#"
40094 if test "x$TOOLKIT" = "xMAC" ; then
40095 COND_TOOLKIT_MAC
=""
40098 COND_TOOLKIT_MAC_USE_GUI_1
="#"
40099 if test "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" ; then
40100 COND_TOOLKIT_MAC_USE_GUI_1
=""
40103 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0
="#"
40104 if test "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
40105 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0
=""
40108 COND_TOOLKIT_MGL
="#"
40109 if test "x$TOOLKIT" = "xMGL" ; then
40110 COND_TOOLKIT_MGL
=""
40113 COND_TOOLKIT_MGL_USE_GUI_1
="#"
40114 if test "x$TOOLKIT" = "xMGL" -a "x$USE_GUI" = "x1" ; then
40115 COND_TOOLKIT_MGL_USE_GUI_1
=""
40118 COND_TOOLKIT_MOTIF
="#"
40119 if test "x$TOOLKIT" = "xMOTIF" ; then
40120 COND_TOOLKIT_MOTIF
=""
40123 COND_TOOLKIT_MOTIF_USE_GUI_1
="#"
40124 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" ; then
40125 COND_TOOLKIT_MOTIF_USE_GUI_1
=""
40128 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0
="#"
40129 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
40130 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0
=""
40133 COND_TOOLKIT_MSW
="#"
40134 if test "x$TOOLKIT" = "xMSW" ; then
40135 COND_TOOLKIT_MSW
=""
40138 COND_TOOLKIT_MSW_USE_GUI_1
="#"
40139 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" ; then
40140 COND_TOOLKIT_MSW_USE_GUI_1
=""
40143 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0
="#"
40144 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
40145 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0
=""
40148 COND_TOOLKIT_PM
="#"
40149 if test "x$TOOLKIT" = "xPM" ; then
40153 COND_TOOLKIT_PM_USE_GUI_1
="#"
40154 if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" ; then
40155 COND_TOOLKIT_PM_USE_GUI_1
=""
40158 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0
="#"
40159 if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
40160 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0
=""
40163 COND_TOOLKIT_WINCE
="#"
40164 if test "x$TOOLKIT" = "xWINCE" ; then
40165 COND_TOOLKIT_WINCE
=""
40168 COND_TOOLKIT_WINCE_USE_GUI_1
="#"
40169 if test "x$TOOLKIT" = "xWINCE" -a "x$USE_GUI" = "x1" ; then
40170 COND_TOOLKIT_WINCE_USE_GUI_1
=""
40173 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0
="#"
40174 if test "x$TOOLKIT" = "xWINCE" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
40175 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0
=""
40178 COND_TOOLKIT_X11
="#"
40179 if test "x$TOOLKIT" = "xX11" ; then
40180 COND_TOOLKIT_X11
=""
40183 COND_TOOLKIT_X11_USE_GUI_1
="#"
40184 if test "x$TOOLKIT" = "xX11" -a "x$USE_GUI" = "x1" ; then
40185 COND_TOOLKIT_X11_USE_GUI_1
=""
40189 if test "x$UNICODE" = "x1" ; then
40193 COND_USE_EXCEPTIONS_0
="#"
40194 if test "x$USE_EXCEPTIONS" = "x0" ; then
40195 COND_USE_EXCEPTIONS_0
=""
40198 COND_USE_EXCEPTIONS_1
="#"
40199 if test "x$USE_EXCEPTIONS" = "x1" ; then
40200 COND_USE_EXCEPTIONS_1
=""
40204 if test "x$USE_GUI" = "x0" ; then
40209 if test "x$USE_GUI" = "x1" ; then
40213 COND_USE_GUI_1_WXUNIV_0
="#"
40214 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
40215 COND_USE_GUI_1_WXUNIV_0
=""
40218 COND_USE_GUI_1_WXUNIV_1
="#"
40219 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x1" ; then
40220 COND_USE_GUI_1_WXUNIV_1
=""
40223 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN
="#"
40224 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
40225 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN
=""
40228 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN
="#"
40229 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
40230 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN
=""
40233 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN
="#"
40234 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
40235 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN
=""
40238 COND_USE_ODBC_1
="#"
40239 if test "x$USE_ODBC" = "x1" ; then
40243 COND_USE_PLUGINS_0
="#"
40244 if test "x$USE_PLUGINS" = "x0" ; then
40245 COND_USE_PLUGINS_0
=""
40248 COND_USE_SOSYMLINKS_1
="#"
40249 if test "x$USE_SOSYMLINKS" = "x1" ; then
40250 COND_USE_SOSYMLINKS_1
=""
40253 COND_USE_SOVERLINUX_1
="#"
40254 if test "x$USE_SOVERLINUX" = "x1" ; then
40255 COND_USE_SOVERLINUX_1
=""
40258 COND_USE_SOVERSION_0
="#"
40259 if test "x$USE_SOVERSION" = "x0" ; then
40260 COND_USE_SOVERSION_0
=""
40263 COND_USE_SOVERSOLARIS_1
="#"
40264 if test "x$USE_SOVERSOLARIS" = "x1" ; then
40265 COND_USE_SOVERSOLARIS_1
=""
40268 COND_WITH_PLUGIN_SDL_1
="#"
40269 if test "x$WITH_PLUGIN_SDL" = "x1" ; then
40270 COND_WITH_PLUGIN_SDL_1
=""
40273 COND_WITH_SDL_1
="#"
40274 if test "x$WITH_SDL" = "x1" ; then
40279 if test "x$WXUNIV" = "x1" ; then
40283 COND_WXUSE_EXPAT_BUILTIN
="#"
40284 if test "x$wxUSE_EXPAT" = "xbuiltin" ; then
40285 COND_WXUSE_EXPAT_BUILTIN
=""
40288 COND_WXUSE_LIBJPEG_BUILTIN
="#"
40289 if test "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
40290 COND_WXUSE_LIBJPEG_BUILTIN
=""
40293 COND_WXUSE_LIBPNG_BUILTIN
="#"
40294 if test "x$wxUSE_LIBPNG" = "xbuiltin" ; then
40295 COND_WXUSE_LIBPNG_BUILTIN
=""
40298 COND_WXUSE_LIBTIFF_BUILTIN
="#"
40299 if test "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
40300 COND_WXUSE_LIBTIFF_BUILTIN
=""
40303 COND_WXUSE_ODBC_BUILTIN
="#"
40304 if test "x$wxUSE_ODBC" = "xbuiltin" ; then
40305 COND_WXUSE_ODBC_BUILTIN
=""
40308 COND_WXUSE_REGEX_BUILTIN
="#"
40309 if test "x$wxUSE_REGEX" = "xbuiltin" ; then
40310 COND_WXUSE_REGEX_BUILTIN
=""
40313 COND_WXUSE_ZLIB_BUILTIN
="#"
40314 if test "x$wxUSE_ZLIB" = "xbuiltin" ; then
40315 COND_WXUSE_ZLIB_BUILTIN
=""
40322 if test $GCC_PCH = 1 ; then
40323 CODE_GEN_FLAGS
="-DWX_PRECOMP -DNO_GCC_PRAGMA $CODE_GEN_FLAGS"
40324 CPPFLAGS
="-DWX_PRECOMP -DNO_GCC_PRAGMA $CPPFLAGS"
40327 powerpc
-*-darwin* )
40328 CODE_GEN_FLAGS
="-DNO_GCC_PRAGMA $CODE_GEN_FLAGS"
40329 CPPFLAGS
="-DNO_GCC_PRAGMA $CPPFLAGS"
40335 SAMPLES_SUBDIRS
="`echo $SAMPLES_SUBDIRS | tr -s ' ' | tr ' ' '\n' | sort | uniq | tr '\n' ' '| tr -d '\r'`"
40436 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
40437 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
40438 set dummy
${MAKE-make}; ac_make
=`echo "$2" | sed 'y,:./+-,___p_,'`
40439 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
40440 echo $ECHO_N "(cached) $ECHO_C" >&6
40442 cat >conftest.
make <<\_ACEOF
40444 @
echo 'ac_maketemp="$(MAKE)"'
40446 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
40447 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
40448 if test -n "$ac_maketemp"; then
40449 eval ac_cv_prog_make_
${ac_make}_set
=yes
40451 eval ac_cv_prog_make_
${ac_make}_set
=no
40453 rm -f conftest.
make
40455 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
40456 echo "$as_me:$LINENO: result: yes" >&5
40457 echo "${ECHO_T}yes" >&6
40460 echo "$as_me:$LINENO: result: no" >&5
40461 echo "${ECHO_T}no" >&6
40462 SET_MAKE
="MAKE=${MAKE-make}"
40466 if test -f lib
/wx
/include
/${TOOLCHAIN_NAME}/wx
/setup.h
; then
40467 mv -f lib
/wx
/include
/${TOOLCHAIN_NAME}/wx
/setup.h setup.h
40470 ac_config_headers
="$ac_config_headers setup.h"
40473 ac_config_files
="$ac_config_files wx-config version-script Makefile"
40476 ac_config_commands
="$ac_config_commands default"
40480 if test "$wxUSE_GUI" = "yes"; then
40481 SUBDIRS
="samples demos utils contrib"
40482 else SUBDIRS
="samples utils"
40487 # Check whether --with-cppunit-prefix or --without-cppunit-prefix was given.
40488 if test "${with_cppunit_prefix+set}" = set; then
40489 withval
="$with_cppunit_prefix"
40490 cppunit_config_prefix
="$withval"
40492 cppunit_config_prefix
=""
40495 # Check whether --with-cppunit-exec-prefix or --without-cppunit-exec-prefix was given.
40496 if test "${with_cppunit_exec_prefix+set}" = set; then
40497 withval
="$with_cppunit_exec_prefix"
40498 cppunit_config_exec_prefix
="$withval"
40500 cppunit_config_exec_prefix
=""
40503 if test x
$cppunit_config_exec_prefix != x
; then
40504 cppunit_config_args
="$cppunit_config_args --exec-prefix=$cppunit_config_exec_prefix"
40505 if test x
${CPPUNIT_CONFIG+set} != xset
; then
40506 CPPUNIT_CONFIG
=$cppunit_config_exec_prefix/bin
/cppunit
-config
40509 if test x
$cppunit_config_prefix != x
; then
40510 cppunit_config_args
="$cppunit_config_args --prefix=$cppunit_config_prefix"
40511 if test x
${CPPUNIT_CONFIG+set} != xset
; then
40512 CPPUNIT_CONFIG
=$cppunit_config_prefix/bin
/cppunit
-config
40516 # Extract the first word of "cppunit-config", so it can be a program name with args.
40517 set dummy cppunit
-config; ac_word
=$2
40518 echo "$as_me:$LINENO: checking for $ac_word" >&5
40519 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
40520 if test "${ac_cv_path_CPPUNIT_CONFIG+set}" = set; then
40521 echo $ECHO_N "(cached) $ECHO_C" >&6
40523 case $CPPUNIT_CONFIG in
40525 ac_cv_path_CPPUNIT_CONFIG
="$CPPUNIT_CONFIG" # Let the user override the test with a path.
40528 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
40529 for as_dir
in $PATH
40532 test -z "$as_dir" && as_dir
=.
40533 for ac_exec_ext
in '' $ac_executable_extensions; do
40534 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
40535 ac_cv_path_CPPUNIT_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
40536 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
40542 test -z "$ac_cv_path_CPPUNIT_CONFIG" && ac_cv_path_CPPUNIT_CONFIG
="no"
40546 CPPUNIT_CONFIG
=$ac_cv_path_CPPUNIT_CONFIG
40548 if test -n "$CPPUNIT_CONFIG"; then
40549 echo "$as_me:$LINENO: result: $CPPUNIT_CONFIG" >&5
40550 echo "${ECHO_T}$CPPUNIT_CONFIG" >&6
40552 echo "$as_me:$LINENO: result: no" >&5
40553 echo "${ECHO_T}no" >&6
40556 cppunit_version_min
=1.8.0
40558 echo "$as_me:$LINENO: checking for Cppunit - version >= $cppunit_version_min" >&5
40559 echo $ECHO_N "checking for Cppunit - version >= $cppunit_version_min... $ECHO_C" >&6
40561 if test "$CPPUNIT_CONFIG" = "no" ; then
40564 CPPUNIT_CFLAGS
=`$CPPUNIT_CONFIG --cflags`
40565 CPPUNIT_LIBS
=`$CPPUNIT_CONFIG --libs`
40566 cppunit_version
=`$CPPUNIT_CONFIG --version`
40568 cppunit_major_version
=`echo $cppunit_version | \
40569 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
40570 cppunit_minor_version
=`echo $cppunit_version | \
40571 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
40572 cppunit_micro_version
=`echo $cppunit_version | \
40573 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
40575 cppunit_major_min
=`echo $cppunit_version_min | \
40576 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
40577 cppunit_minor_min
=`echo $cppunit_version_min | \
40578 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
40579 cppunit_micro_min
=`echo $cppunit_version_min | \
40580 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
40582 cppunit_version_proper
=`expr \
40583 $cppunit_major_version \> $cppunit_major_min \| \
40584 $cppunit_major_version \= $cppunit_major_min \& \
40585 $cppunit_minor_version \> $cppunit_minor_min \| \
40586 $cppunit_major_version \= $cppunit_major_min \& \
40587 $cppunit_minor_version \= $cppunit_minor_min \& \
40588 $cppunit_micro_version \>= $cppunit_micro_min `
40590 if test "$cppunit_version_proper" = "1" ; then
40591 echo "$as_me:$LINENO: result: $cppunit_major_version.$cppunit_minor_version.$cppunit_micro_version" >&5
40592 echo "${ECHO_T}$cppunit_major_version.$cppunit_minor_version.$cppunit_micro_version" >&6
40594 echo "$as_me:$LINENO: result: no" >&5
40595 echo "${ECHO_T}no" >&6
40600 if test "x$no_cppunit" = x
; then
40601 SUBDIRS
="$SUBDIRS tests"
40612 for subdir
in `echo $SUBDIRS`; do
40613 if test -d ${srcdir}/${subdir} ; then
40614 if test "$wxUSE_GUI" = "yes"; then
40615 if test ${subdir} = "samples"; then
40616 makefiles
="samples/Makefile.in $makefiles"
40617 for sample
in `echo $SAMPLES_SUBDIRS`; do
40618 if test -d $srcdir/samples
/$sample; then
40619 makefiles
="samples/$sample/Makefile.in $makefiles"
40622 else makefiles
=`(cd $srcdir ; find $subdir -name Makefile.in)`
40624 else if test ${subdir} = "samples"; then
40625 makefiles
="samples/Makefile.in samples/console/Makefile.in"
40626 elif test ${subdir} = "utils"; then
40627 makefiles
="utils/HelpGen/Makefile.in \
40628 utils/HelpGen/src/Makefile.in \
40629 utils/tex2rtf/Makefile.in \
40630 utils/tex2rtf/src/Makefile.in"
40631 else makefiles
=`(cd $srcdir ; find $subdir -name Makefile.in)`
40635 for mkin
in $makefiles ; do
40636 mk
=`echo $mkin | sed 's/Makefile\.in/Makefile/g'`
40637 ac_config_files
="$ac_config_files $mk"
40644 cat >confcache
<<\_ACEOF
40645 # This file is a shell script that caches the results of configure
40646 # tests run on this system so they can be shared between configure
40647 # scripts and configure runs, see configure's option --config-cache.
40648 # It is not useful on other systems. If it contains results you don't
40649 # want to keep, you may remove or edit it.
40651 # config.status only pays attention to the cache file if you give it
40652 # the --recheck option to rerun configure.
40654 # `ac_cv_env_foo' variables (set or unset) will be overridden when
40655 # loading this file, other *unset* `ac_cv_foo' will be assigned the
40656 # following values.
40660 # The following way of writing the cache mishandles newlines in values,
40661 # but we know of no workaround that is simple, portable, and efficient.
40662 # So, don't put newlines in cache variables' values.
40663 # Ultrix sh set writes to stderr and can't be redirected directly,
40664 # and sets the high bit in the cache file unless we assign to the vars.
40667 case `(ac_space=' '; set | grep ac_space) 2>&1` in
40669 # `set' does not quote correctly, so add quotes (double-quote
40670 # substitution turns \\\\ into \\, and sed turns \\ into \).
40673 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
40676 # `set' quotes correctly as required by POSIX, so do not add quotes.
40678 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
40685 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
40687 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
40689 if diff $cache_file confcache
>/dev
/null
2>&1; then :; else
40690 if test -w $cache_file; then
40691 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
40692 cat confcache
>$cache_file
40694 echo "not updating unwritable cache $cache_file"
40699 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
40700 # Let make expand exec_prefix.
40701 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
40703 # VPATH may cause trouble with some makes, so we remove $(srcdir),
40704 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
40705 # trailing colons and then remove the whole line if VPATH becomes empty
40706 # (actually we leave an empty line to preserve line numbers).
40707 if test "x$srcdir" = x.
; then
40708 ac_vpsub
='/^[ ]*VPATH[ ]*=/{
40709 s/:*\$(srcdir):*/:/;
40710 s/:*\${srcdir}:*/:/;
40712 s/^\([^=]*=[ ]*\):*/\1/;
40718 DEFS
=-DHAVE_CONFIG_H
40722 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
40723 # 1. Remove the extension, and $U if already installed.
40724 ac_i
=`echo "$ac_i" |
40725 sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
40727 ac_libobjs
="$ac_libobjs $ac_i\$U.$ac_objext"
40728 ac_ltlibobjs
="$ac_ltlibobjs $ac_i"'$U.lo'
40730 LIBOBJS
=$ac_libobjs
40732 LTLIBOBJS
=$ac_ltlibobjs
40736 : ${CONFIG_STATUS=./config.status}
40737 ac_clean_files_save
=$ac_clean_files
40738 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
40739 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
40740 echo "$as_me: creating $CONFIG_STATUS" >&6;}
40741 cat >$CONFIG_STATUS <<_ACEOF
40743 # Generated by $as_me.
40744 # Run this file to recreate the current configuration.
40745 # Compiler output produced by configure, useful for debugging
40746 # configure, is in config.log if it exists.
40749 ac_cs_recheck=false
40751 SHELL=\${CONFIG_SHELL-$SHELL}
40754 cat >>$CONFIG_STATUS <<\_ACEOF
40755 ## --------------------- ##
40756 ## M4sh Initialization. ##
40757 ## --------------------- ##
40759 # Be Bourne compatible
40760 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
40763 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
40764 # is contrary to our usage. Disable this feature.
40765 alias -g '${1+"$@"}'='"$@"'
40766 elif test -n "${BASH_VERSION+set}" && (set -o posix
) >/dev
/null
2>&1; then
40769 DUALCASE
=1; export DUALCASE
# for MKS sh
40771 # Support unset when possible.
40772 if ( (MAIL
=60; unset MAIL
) || exit) >/dev
/null
2>&1; then
40779 # Work around bugs in pre-3.0 UWIN ksh.
40780 $as_unset ENV MAIL MAILPATH
40787 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
40788 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
40789 LC_TELEPHONE LC_TIME
40791 if (set +x
; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
40792 eval $as_var=C
; export $as_var
40798 # Required to use basename.
40799 if expr a
: '\(a\)' >/dev
/null
2>&1; then
40805 if (basename /) >/dev
/null
2>&1 && test "X`basename / 2>&1`" = "X/"; then
40806 as_basename
=basename
40812 # Name of the executable.
40813 as_me
=`$as_basename "$0" ||
40814 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
40815 X"$0" : 'X\(//\)$' \| \
40816 X"$0" : 'X\(/\)$' \| \
40817 . : '\(.\)' 2>/dev/null ||
40819 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
40820 /^X\/\(\/\/\)$/{ s//\1/; q; }
40821 /^X\/\(\/\).*/{ s//\1/; q; }
40825 # PATH needs CR, and LINENO needs CR and PATH.
40826 # Avoid depending upon Character Ranges.
40827 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
40828 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
40829 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
40830 as_cr_digits
='0123456789'
40831 as_cr_alnum
=$as_cr_Letters$as_cr_digits
40833 # The user is always right.
40834 if test "${PATH_SEPARATOR+set}" != set; then
40835 echo "#! /bin/sh" >conf$$.sh
40836 echo "exit 0" >>conf$$.sh
40838 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
40847 as_lineno_1
=$LINENO
40848 as_lineno_2
=$LINENO
40849 as_lineno_3
=`(expr $as_lineno_1 + 1) 2>/dev/null`
40850 test "x$as_lineno_1" != "x$as_lineno_2" &&
40851 test "x$as_lineno_3" = "x$as_lineno_2" || {
40852 # Find who we are. Look in the path if we contain no path at all
40855 *[\\/]* ) as_myself
=$0 ;;
40856 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
40857 for as_dir
in $PATH
40860 test -z "$as_dir" && as_dir
=.
40861 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
40866 # We did not find ourselves, most probably we were run as `sh COMMAND'
40867 # in which case we are not to be found in the path.
40868 if test "x$as_myself" = x
; then
40871 if test ! -f "$as_myself"; then
40872 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
40873 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
40874 { (exit 1); exit 1; }; }
40876 case $CONFIG_SHELL in
40878 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
40879 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
40882 test -z "$as_dir" && as_dir
=.
40883 for as_base
in sh bash ksh sh5
; do
40886 if ("$as_dir/$as_base" -c '
40887 as_lineno_1=$LINENO
40888 as_lineno_2=$LINENO
40889 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
40890 test "x$as_lineno_1" != "x$as_lineno_2" &&
40891 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev
/null
; then
40892 $as_unset BASH_ENV
|| test "${BASH_ENV+set}" != set || { BASH_ENV
=; export BASH_ENV
; }
40893 $as_unset ENV
|| test "${ENV+set}" != set || { ENV
=; export ENV
; }
40894 CONFIG_SHELL
=$as_dir/$as_base
40895 export CONFIG_SHELL
40896 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
40904 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
40905 # uniformly replaced by the line number. The first 'sed' inserts a
40906 # line-number line before each line; the second 'sed' does the real
40907 # work. The second script uses 'N' to pair each line-number line
40908 # with the numbered line, and appends trailing '-' during
40909 # substitution so that $LINENO is not a special case at line end.
40910 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
40911 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
40912 sed '=' <$as_myself |
40917 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
40920 s,^['$as_cr_digits']*\n,,
40921 ' >$as_me.lineno
&&
40922 chmod +x
$as_me.lineno
||
40923 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
40924 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
40925 { (exit 1); exit 1; }; }
40927 # Don't try to exec as it changes $[0], causing all sort of problems
40928 # (the dirname of $[0] is not the place where we might find the
40929 # original and so on. Autoconf is especially sensible to this).
40931 # Exit status is that of the last command.
40936 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
40937 *c
*,-n*) ECHO_N
= ECHO_C
='
40939 *c
*,* ) ECHO_N
=-n ECHO_C
= ECHO_T
= ;;
40940 *) ECHO_N
= ECHO_C
='\c' ECHO_T
= ;;
40943 if expr a
: '\(a\)' >/dev
/null
2>&1; then
40949 rm -f conf$$ conf$$.exe conf$$.
file
40951 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
40952 # We could just check for DJGPP; but this test a) works b) is more generic
40953 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
40954 if test -f conf$$.exe
; then
40955 # Don't use ln at all; we don't have any links
40960 elif ln conf$$.
file conf$$
2>/dev
/null
; then
40965 rm -f conf$$ conf$$.exe conf$$.
file
40967 if mkdir -p .
2>/dev
/null
; then
40970 test -d .
/-p && rmdir .
/-p
40974 as_executable_p
="test -f"
40976 # Sed expression to map a string onto a valid CPP name.
40977 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
40979 # Sed expression to map a string onto a valid variable name.
40980 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
40984 # We need space, tab and new line, in precisely that order.
40994 # Open the log real soon, to keep \$[0] and so on meaningful, and to
40995 # report actual input values of CONFIG_FILES etc. instead of their
40996 # values after options handling. Logging --version etc. is OK.
41000 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
41001 ## Running $as_me. ##
41006 This file was extended by wxWindows $as_me 2.5.1, which was
41007 generated by GNU Autoconf 2.58. Invocation command line was
41009 CONFIG_FILES = $CONFIG_FILES
41010 CONFIG_HEADERS = $CONFIG_HEADERS
41011 CONFIG_LINKS = $CONFIG_LINKS
41012 CONFIG_COMMANDS = $CONFIG_COMMANDS
41016 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
41020 # Files that config.status was made for.
41021 if test -n "$ac_config_files"; then
41022 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
41025 if test -n "$ac_config_headers"; then
41026 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
41029 if test -n "$ac_config_links"; then
41030 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
41033 if test -n "$ac_config_commands"; then
41034 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
41037 cat >>$CONFIG_STATUS <<\_ACEOF
41040 \`$as_me' instantiates files from templates according to the
41041 current configuration.
41043 Usage: $0 [OPTIONS] [FILE]...
41045 -h, --help print this help, then exit
41046 -V, --version print version number, then exit
41047 -q, --quiet do not print progress messages
41048 -d, --debug don't remove temporary files
41049 --recheck update $as_me by reconfiguring in the same conditions
41050 --file=FILE[:TEMPLATE]
41051 instantiate the configuration file FILE
41052 --header=FILE[:TEMPLATE]
41053 instantiate the configuration header FILE
41055 Configuration files:
41058 Configuration headers:
41061 Configuration commands:
41064 Report bugs to <bug-autoconf@gnu.org>."
41067 cat >>$CONFIG_STATUS <<_ACEOF
41069 wxWindows config.status 2.5.1
41070 configured by $0, generated by GNU Autoconf 2.58,
41071 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
41073 Copyright (C) 2003 Free Software Foundation, Inc.
41074 This config.status script is free software; the Free Software Foundation
41075 gives unlimited permission to copy, distribute and modify it."
41080 cat >>$CONFIG_STATUS <<\_ACEOF
41081 # If no file are specified by the user, then we need to provide default
41082 # value. By we need to know if files were specified by the user.
41088 ac_option
=`expr "x$1" : 'x\([^=]*\)='`
41089 ac_optarg
=`expr "x$1" : 'x[^=]*=\(.*\)'`
41097 *) # This is not an option, so the user has probably given explicit
41100 ac_need_defaults
=false
;;
41104 # Handling of the options.
41106 cat >>$CONFIG_STATUS <<\_ACEOF
41107 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
41109 --version | --vers* | -V )
41110 echo "$ac_cs_version"; exit 0 ;;
41112 # Conflict between --help and --header
41113 { { echo "$as_me:$LINENO: error: ambiguous option: $1
41114 Try \`$0 --help' for more information." >&5
41115 echo "$as_me: error: ambiguous option: $1
41116 Try \`$0 --help' for more information." >&2;}
41117 { (exit 1); exit 1; }; };;
41118 --help | --hel | -h )
41119 echo "$ac_cs_usage"; exit 0 ;;
41120 --debug | --d* | -d )
41122 --file | --fil | --fi | --f )
41124 CONFIG_FILES
="$CONFIG_FILES $ac_optarg"
41125 ac_need_defaults
=false
;;
41126 --header | --heade | --head | --hea )
41128 CONFIG_HEADERS
="$CONFIG_HEADERS $ac_optarg"
41129 ac_need_defaults
=false
;;
41130 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
41131 | -silent | --silent | --silen | --sile | --sil | --si | --s)
41134 # This is an error.
41135 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
41136 Try \`$0 --help' for more information." >&5
41137 echo "$as_me: error: unrecognized option: $1
41138 Try \`$0 --help' for more information." >&2;}
41139 { (exit 1); exit 1; }; } ;;
41141 *) ac_config_targets
="$ac_config_targets $1" ;;
41147 ac_configure_extra_args
=
41149 if $ac_cs_silent; then
41151 ac_configure_extra_args
="$ac_configure_extra_args --silent"
41155 cat >>$CONFIG_STATUS <<_ACEOF
41156 if \$ac_cs_recheck; then
41157 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
41158 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
41163 cat >>$CONFIG_STATUS <<_ACEOF
41165 # INIT-COMMANDS section.
41169 TOOLCHAIN_NAME="${TOOLCHAIN_NAME}"
41178 cat >>$CONFIG_STATUS <<\_ACEOF
41179 for ac_config_target
in $ac_config_targets
41181 case "$ac_config_target" in
41182 # Handling of arguments.
41183 "wx-config" ) CONFIG_FILES
="$CONFIG_FILES wx-config" ;;
41184 "version-script" ) CONFIG_FILES
="$CONFIG_FILES version-script" ;;
41185 "Makefile" ) CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
41186 "$mk" ) CONFIG_FILES
="$CONFIG_FILES $mk" ;;
41187 "default" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS default" ;;
41188 "setup.h" ) CONFIG_HEADERS
="$CONFIG_HEADERS setup.h" ;;
41189 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
41190 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
41191 { (exit 1); exit 1; }; };;
41195 # If the user did not use the arguments to specify the items to instantiate,
41196 # then the envvar interface is used. Set only those that are not.
41197 # We use the long form for the default assignment because of an extremely
41198 # bizarre bug on SunOS 4.1.3.
41199 if $ac_need_defaults; then
41200 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
41201 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
41202 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
41205 # Have a temporary directory for convenience. Make it in the build tree
41206 # simply because there is no reason to put it here, and in addition,
41207 # creating and moving files from /tmp can sometimes cause problems.
41208 # Create a temporary directory, and hook for its removal unless debugging.
41211 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
41212 trap '{ (exit 1); exit 1; }' 1 2 13 15
41215 # Create a (secure) tmp directory for tmp files.
41218 tmp
=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
41219 test -n "$tmp" && test -d "$tmp"
41222 tmp
=.
/confstat$$
-$RANDOM
41223 (umask 077 && mkdir $tmp)
41226 echo "$me: cannot create a temporary directory in ." >&2
41227 { (exit 1); exit 1; }
41232 cat >>$CONFIG_STATUS <<_ACEOF
41235 # CONFIG_FILES section.
41238 # No need to generate the scripts if there are no CONFIG_FILES.
41239 # This happens for instance when ./config.status config.h
41240 if test -n "\$CONFIG_FILES"; then
41241 # Protect against being on the right side of a sed subst in config.status.
41242 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
41243 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
41244 s,@SHELL@,$SHELL,;t t
41245 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
41246 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
41247 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
41248 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
41249 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
41250 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
41251 s,@exec_prefix@,$exec_prefix,;t t
41252 s,@prefix@,$prefix,;t t
41253 s,@program_transform_name@,$program_transform_name,;t t
41254 s,@bindir@,$bindir,;t t
41255 s,@sbindir@,$sbindir,;t t
41256 s,@libexecdir@,$libexecdir,;t t
41257 s,@datadir@,$datadir,;t t
41258 s,@sysconfdir@,$sysconfdir,;t t
41259 s,@sharedstatedir@,$sharedstatedir,;t t
41260 s,@localstatedir@,$localstatedir,;t t
41261 s,@libdir@,$libdir,;t t
41262 s,@includedir@,$includedir,;t t
41263 s,@oldincludedir@,$oldincludedir,;t t
41264 s,@infodir@,$infodir,;t t
41265 s,@mandir@,$mandir,;t t
41266 s,@build_alias@,$build_alias,;t t
41267 s,@host_alias@,$host_alias,;t t
41268 s,@target_alias@,$target_alias,;t t
41269 s,@DEFS@,$DEFS,;t t
41270 s,@ECHO_C@,$ECHO_C,;t t
41271 s,@ECHO_N@,$ECHO_N,;t t
41272 s,@ECHO_T@,$ECHO_T,;t t
41273 s,@LIBS@,$LIBS,;t t
41274 s,@build@,$build,;t t
41275 s,@build_cpu@,$build_cpu,;t t
41276 s,@build_vendor@,$build_vendor,;t t
41277 s,@build_os@,$build_os,;t t
41278 s,@host@,$host,;t t
41279 s,@host_cpu@,$host_cpu,;t t
41280 s,@host_vendor@,$host_vendor,;t t
41281 s,@host_os@,$host_os,;t t
41282 s,@target@,$target,;t t
41283 s,@target_cpu@,$target_cpu,;t t
41284 s,@target_vendor@,$target_vendor,;t t
41285 s,@target_os@,$target_os,;t t
41287 s,@CFLAGS@,$CFLAGS,;t t
41288 s,@LDFLAGS@,$LDFLAGS,;t t
41289 s,@CPPFLAGS@,$CPPFLAGS,;t t
41290 s,@ac_ct_CC@,$ac_ct_CC,;t t
41291 s,@EXEEXT@,$EXEEXT,;t t
41292 s,@OBJEXT@,$OBJEXT,;t t
41294 s,@EGREP@,$EGREP,;t t
41296 s,@CXXFLAGS@,$CXXFLAGS,;t t
41297 s,@ac_ct_CXX@,$ac_ct_CXX,;t t
41298 s,@RANLIB@,$RANLIB,;t t
41299 s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
41301 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
41302 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
41303 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
41304 s,@STRIP@,$STRIP,;t t
41305 s,@IF_GNU_MAKE@,$IF_GNU_MAKE,;t t
41306 s,@LN_S@,$LN_S,;t t
41307 s,@CXXCPP@,$CXXCPP,;t t
41308 s,@subdirs@,$subdirs,;t t
41309 s,@PKG_CONFIG@,$PKG_CONFIG,;t t
41310 s,@GTK_CFLAGS@,$GTK_CFLAGS,;t t
41311 s,@GTK_LIBS@,$GTK_LIBS,;t t
41312 s,@GTK_CONFIG@,$GTK_CONFIG,;t t
41313 s,@PANGOFT2_CFLAGS@,$PANGOFT2_CFLAGS,;t t
41314 s,@PANGOFT2_LIBS@,$PANGOFT2_LIBS,;t t
41315 s,@X_CFLAGS@,$X_CFLAGS,;t t
41316 s,@X_PRE_LIBS@,$X_PRE_LIBS,;t t
41317 s,@X_LIBS@,$X_LIBS,;t t
41318 s,@X_EXTRA_LIBS@,$X_EXTRA_LIBS,;t t
41319 s,@PANGOX_CFLAGS@,$PANGOX_CFLAGS,;t t
41320 s,@PANGOX_LIBS@,$PANGOX_LIBS,;t t
41321 s,@PANGOXFT_CFLAGS@,$PANGOXFT_CFLAGS,;t t
41322 s,@PANGOXFT_LIBS@,$PANGOXFT_LIBS,;t t
41323 s,@RESCOMP@,$RESCOMP,;t t
41324 s,@DEREZ@,$DEREZ,;t t
41325 s,@SETFILE@,$SETFILE,;t t
41326 s,@LIBICONV@,$LIBICONV,;t t
41327 s,@EXTRALIBS_ESD@,$EXTRALIBS_ESD,;t t
41328 s,@SDL_CONFIG@,$SDL_CONFIG,;t t
41329 s,@SDL_CFLAGS@,$SDL_CFLAGS,;t t
41330 s,@SDL_LIBS@,$SDL_LIBS,;t t
41331 s,@CORE_BASE_LIBS@,$CORE_BASE_LIBS,;t t
41332 s,@CORE_GUI_LIBS@,$CORE_GUI_LIBS,;t t
41333 s,@wxUSE_ZLIB@,$wxUSE_ZLIB,;t t
41334 s,@wxUSE_REGEX@,$wxUSE_REGEX,;t t
41335 s,@wxUSE_EXPAT@,$wxUSE_EXPAT,;t t
41336 s,@wxUSE_ODBC@,$wxUSE_ODBC,;t t
41337 s,@wxUSE_LIBJPEG@,$wxUSE_LIBJPEG,;t t
41338 s,@wxUSE_LIBPNG@,$wxUSE_LIBPNG,;t t
41339 s,@wxUSE_LIBTIFF@,$wxUSE_LIBTIFF,;t t
41340 s,@VENDOR@,$VENDOR,;t t
41341 s,@OFFICIAL_BUILD@,$OFFICIAL_BUILD,;t t
41342 s,@WXUNIV@,$WXUNIV,;t t
41343 s,@MONOLITHIC@,$MONOLITHIC,;t t
41344 s,@USE_PLUGINS@,$USE_PLUGINS,;t t
41345 s,@EXTRALIBS@,$EXTRALIBS,;t t
41346 s,@EXTRALIBS_XML@,$EXTRALIBS_XML,;t t
41347 s,@EXTRALIBS_HTML@,$EXTRALIBS_HTML,;t t
41348 s,@EXTRALIBS_ODBC@,$EXTRALIBS_ODBC,;t t
41349 s,@EXTRALIBS_GUI@,$EXTRALIBS_GUI,;t t
41350 s,@EXTRALIBS_OPENGL@,$EXTRALIBS_OPENGL,;t t
41351 s,@EXTRALIBS_SDL@,$EXTRALIBS_SDL,;t t
41352 s,@WITH_PLUGIN_SDL@,$WITH_PLUGIN_SDL,;t t
41353 s,@UNICODE@,$UNICODE,;t t
41354 s,@BUILD@,$BUILD,;t t
41355 s,@DEBUG_INFO@,$DEBUG_INFO,;t t
41356 s,@DEBUG_FLAG@,$DEBUG_FLAG,;t t
41357 s,@SHARED@,$SHARED,;t t
41358 s,@TOOLKIT_LOWERCASE@,$TOOLKIT_LOWERCASE,;t t
41359 s,@TOOLKIT_VERSION@,$TOOLKIT_VERSION,;t t
41360 s,@SAMPLES_RPATH_FLAG@,$SAMPLES_RPATH_FLAG,;t t
41361 s,@SAMPLES_RPATH_POSTLINK@,$SAMPLES_RPATH_POSTLINK,;t t
41362 s,@HOST_SUFFIX@,$HOST_SUFFIX,;t t
41363 s,@CPPUNIT_CFLAGS@,$CPPUNIT_CFLAGS,;t t
41364 s,@CPPUNIT_LIBS@,$CPPUNIT_LIBS,;t t
41365 s,@SET_MAKE@,$SET_MAKE,;t t
41366 s,@MAKE_SET@,$MAKE_SET,;t t
41367 s,@ac_ct_AR@,$ac_ct_AR,;t t
41368 s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
41370 s,@ac_ct_NM@,$ac_ct_NM,;t t
41371 s,@INSTALL_DIR@,$INSTALL_DIR,;t t
41372 s,@LDFLAGS_GUI@,$LDFLAGS_GUI,;t t
41373 s,@PLATFORM_UNIX@,$PLATFORM_UNIX,;t t
41374 s,@PLATFORM_WIN32@,$PLATFORM_WIN32,;t t
41375 s,@PLATFORM_MSDOS@,$PLATFORM_MSDOS,;t t
41376 s,@PLATFORM_MAC@,$PLATFORM_MAC,;t t
41377 s,@PLATFORM_MACOSX@,$PLATFORM_MACOSX,;t t
41378 s,@PLATFORM_OS2@,$PLATFORM_OS2,;t t
41379 s,@SO_SUFFIX@,$SO_SUFFIX,;t t
41380 s,@SO_SUFFIX_MODULE@,$SO_SUFFIX_MODULE,;t t
41381 s,@DLLIMP_SUFFIX@,$DLLIMP_SUFFIX,;t t
41382 s,@LIBPREFIX@,$LIBPREFIX,;t t
41383 s,@LIBEXT@,$LIBEXT,;t t
41384 s,@DLLPREFIX@,$DLLPREFIX,;t t
41385 s,@DLLPREFIX_MODULE@,$DLLPREFIX_MODULE,;t t
41386 s,@AIX_CXX_LD@,$AIX_CXX_LD,;t t
41387 s,@SHARED_LD_CC@,$SHARED_LD_CC,;t t
41388 s,@SHARED_LD_CXX@,$SHARED_LD_CXX,;t t
41389 s,@SHARED_LD_MODULE_CC@,$SHARED_LD_MODULE_CC,;t t
41390 s,@SHARED_LD_MODULE_CXX@,$SHARED_LD_MODULE_CXX,;t t
41391 s,@PIC_FLAG@,$PIC_FLAG,;t t
41392 s,@USE_SOVERSION@,$USE_SOVERSION,;t t
41393 s,@USE_SOVERLINUX@,$USE_SOVERLINUX,;t t
41394 s,@USE_SOVERSOLARIS@,$USE_SOVERSOLARIS,;t t
41395 s,@USE_MACVERSION@,$USE_MACVERSION,;t t
41396 s,@USE_SOSYMLINKS@,$USE_SOSYMLINKS,;t t
41397 s,@SONAME_FLAG@,$SONAME_FLAG,;t t
41398 s,@DEPS_TRACKING@,$DEPS_TRACKING,;t t
41399 s,@GCC_PCH@,$GCC_PCH,;t t
41400 s,@COND_BUILD_DEBUG@,$COND_BUILD_DEBUG,;t t
41401 s,@COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT@,$COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT,;t t
41402 s,@COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT@,$COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT,;t t
41403 s,@COND_BUILD_DEBUG_UNICODE_0@,$COND_BUILD_DEBUG_UNICODE_0,;t t
41404 s,@COND_BUILD_DEBUG_UNICODE_1@,$COND_BUILD_DEBUG_UNICODE_1,;t t
41405 s,@COND_BUILD_RELEASE@,$COND_BUILD_RELEASE,;t t
41406 s,@COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT@,$COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT,;t t
41407 s,@COND_BUILD_RELEASE_UNICODE_0@,$COND_BUILD_RELEASE_UNICODE_0,;t t
41408 s,@COND_BUILD_RELEASE_UNICODE_1@,$COND_BUILD_RELEASE_UNICODE_1,;t t
41409 s,@COND_DEBUG_FLAG_1@,$COND_DEBUG_FLAG_1,;t t
41410 s,@COND_DEBUG_INFO_0@,$COND_DEBUG_INFO_0,;t t
41411 s,@COND_DEBUG_INFO_1@,$COND_DEBUG_INFO_1,;t t
41412 s,@COND_DEPS_TRACKING_0@,$COND_DEPS_TRACKING_0,;t t
41413 s,@COND_DEPS_TRACKING_1@,$COND_DEPS_TRACKING_1,;t t
41414 s,@COND_GCC_PCH_1@,$COND_GCC_PCH_1,;t t
41415 s,@COND_MONOLITHIC_0@,$COND_MONOLITHIC_0,;t t
41416 s,@COND_MONOLITHIC_0_SHARED_0@,$COND_MONOLITHIC_0_SHARED_0,;t t
41417 s,@COND_MONOLITHIC_0_SHARED_0_USE_GUI_1@,$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1,;t t
41418 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
41419 s,@COND_MONOLITHIC_0_SHARED_0_USE_HTML_1@,$COND_MONOLITHIC_0_SHARED_0_USE_HTML_1,;t t
41420 s,@COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1@,$COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1,;t t
41421 s,@COND_MONOLITHIC_0_SHARED_1@,$COND_MONOLITHIC_0_SHARED_1,;t t
41422 s,@COND_MONOLITHIC_0_SHARED_1_USE_GUI_1@,$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1,;t t
41423 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
41424 s,@COND_MONOLITHIC_0_SHARED_1_USE_HTML_1@,$COND_MONOLITHIC_0_SHARED_1_USE_HTML_1,;t t
41425 s,@COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1@,$COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1,;t t
41426 s,@COND_MONOLITHIC_0_USE_ODBC_1@,$COND_MONOLITHIC_0_USE_ODBC_1,;t t
41427 s,@COND_MONOLITHIC_1@,$COND_MONOLITHIC_1,;t t
41428 s,@COND_MONOLITHIC_1_SHARED_0@,$COND_MONOLITHIC_1_SHARED_0,;t t
41429 s,@COND_MONOLITHIC_1_SHARED_1@,$COND_MONOLITHIC_1_SHARED_1,;t t
41430 s,@COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1@,$COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1,;t t
41431 s,@COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1@,$COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1,;t t
41432 s,@COND_PLATFORM_MACOSX_0_USE_SOVERSION_1@,$COND_PLATFORM_MACOSX_0_USE_SOVERSION_1,;t t
41433 s,@COND_PLATFORM_MACOSX_1@,$COND_PLATFORM_MACOSX_1,;t t
41434 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA@,$COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA,;t t
41435 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_GTK@,$COND_PLATFORM_MACOSX_1_TOOLKIT_GTK,;t t
41436 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_MAC@,$COND_PLATFORM_MACOSX_1_TOOLKIT_MAC,;t t
41437 s,@COND_PLATFORM_MACOSX_1_USE_GUI_1@,$COND_PLATFORM_MACOSX_1_USE_GUI_1,;t t
41438 s,@COND_PLATFORM_MACOSX_1_USE_SOVERSION_1@,$COND_PLATFORM_MACOSX_1_USE_SOVERSION_1,;t t
41439 s,@COND_PLATFORM_MAC_1@,$COND_PLATFORM_MAC_1,;t t
41440 s,@COND_PLATFORM_OS2_1@,$COND_PLATFORM_OS2_1,;t t
41441 s,@COND_PLATFORM_UNIX_0@,$COND_PLATFORM_UNIX_0,;t t
41442 s,@COND_PLATFORM_UNIX_1@,$COND_PLATFORM_UNIX_1,;t t
41443 s,@COND_PLATFORM_UNIX_1_USE_GUI_1@,$COND_PLATFORM_UNIX_1_USE_GUI_1,;t t
41444 s,@COND_PLATFORM_UNIX_1_USE_PLUGINS_0@,$COND_PLATFORM_UNIX_1_USE_PLUGINS_0,;t t
41445 s,@COND_PLATFORM_WIN32_0@,$COND_PLATFORM_WIN32_0,;t t
41446 s,@COND_PLATFORM_WIN32_1@,$COND_PLATFORM_WIN32_1,;t t
41447 s,@COND_SHARED_0@,$COND_SHARED_0,;t t
41448 s,@COND_SHARED_0_USE_GUI_1_USE_OPENGL_1@,$COND_SHARED_0_USE_GUI_1_USE_OPENGL_1,;t t
41449 s,@COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN@,$COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN,;t t
41450 s,@COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN@,$COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN,;t t
41451 s,@COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN@,$COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN,;t t
41452 s,@COND_SHARED_0_WXUSE_EXPAT_BUILTIN@,$COND_SHARED_0_WXUSE_EXPAT_BUILTIN,;t t
41453 s,@COND_SHARED_0_WXUSE_ODBC_BUILTIN@,$COND_SHARED_0_WXUSE_ODBC_BUILTIN,;t t
41454 s,@COND_SHARED_0_WXUSE_REGEX_BUILTIN@,$COND_SHARED_0_WXUSE_REGEX_BUILTIN,;t t
41455 s,@COND_SHARED_0_WXUSE_ZLIB_BUILTIN@,$COND_SHARED_0_WXUSE_ZLIB_BUILTIN,;t t
41456 s,@COND_SHARED_1@,$COND_SHARED_1,;t t
41457 s,@COND_SHARED_1_USE_GUI_1_USE_OPENGL_1@,$COND_SHARED_1_USE_GUI_1_USE_OPENGL_1,;t t
41458 s,@COND_TOOLKIT_COCOA@,$COND_TOOLKIT_COCOA,;t t
41459 s,@COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0,;t t
41460 s,@COND_TOOLKIT_GTK@,$COND_TOOLKIT_GTK,;t t
41461 s,@COND_TOOLKIT_GTK_USE_GUI_1@,$COND_TOOLKIT_GTK_USE_GUI_1,;t t
41462 s,@COND_TOOLKIT_GTK_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_GTK_USE_GUI_1_WXUNIV_0,;t t
41463 s,@COND_TOOLKIT_MAC@,$COND_TOOLKIT_MAC,;t t
41464 s,@COND_TOOLKIT_MAC_USE_GUI_1@,$COND_TOOLKIT_MAC_USE_GUI_1,;t t
41465 s,@COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0,;t t
41466 s,@COND_TOOLKIT_MGL@,$COND_TOOLKIT_MGL,;t t
41467 s,@COND_TOOLKIT_MGL_USE_GUI_1@,$COND_TOOLKIT_MGL_USE_GUI_1,;t t
41468 s,@COND_TOOLKIT_MOTIF@,$COND_TOOLKIT_MOTIF,;t t
41469 s,@COND_TOOLKIT_MOTIF_USE_GUI_1@,$COND_TOOLKIT_MOTIF_USE_GUI_1,;t t
41470 s,@COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0,;t t
41471 s,@COND_TOOLKIT_MSW@,$COND_TOOLKIT_MSW,;t t
41472 s,@COND_TOOLKIT_MSW_USE_GUI_1@,$COND_TOOLKIT_MSW_USE_GUI_1,;t t
41473 s,@COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0,;t t
41474 s,@COND_TOOLKIT_PM@,$COND_TOOLKIT_PM,;t t
41475 s,@COND_TOOLKIT_PM_USE_GUI_1@,$COND_TOOLKIT_PM_USE_GUI_1,;t t
41476 s,@COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0,;t t
41477 s,@COND_TOOLKIT_WINCE@,$COND_TOOLKIT_WINCE,;t t
41478 s,@COND_TOOLKIT_WINCE_USE_GUI_1@,$COND_TOOLKIT_WINCE_USE_GUI_1,;t t
41479 s,@COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0,;t t
41480 s,@COND_TOOLKIT_X11@,$COND_TOOLKIT_X11,;t t
41481 s,@COND_TOOLKIT_X11_USE_GUI_1@,$COND_TOOLKIT_X11_USE_GUI_1,;t t
41482 s,@COND_UNICODE_1@,$COND_UNICODE_1,;t t
41483 s,@COND_USE_EXCEPTIONS_0@,$COND_USE_EXCEPTIONS_0,;t t
41484 s,@COND_USE_EXCEPTIONS_1@,$COND_USE_EXCEPTIONS_1,;t t
41485 s,@COND_USE_GUI_0@,$COND_USE_GUI_0,;t t
41486 s,@COND_USE_GUI_1@,$COND_USE_GUI_1,;t t
41487 s,@COND_USE_GUI_1_WXUNIV_0@,$COND_USE_GUI_1_WXUNIV_0,;t t
41488 s,@COND_USE_GUI_1_WXUNIV_1@,$COND_USE_GUI_1_WXUNIV_1,;t t
41489 s,@COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN@,$COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN,;t t
41490 s,@COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN@,$COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN,;t t
41491 s,@COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN@,$COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN,;t t
41492 s,@COND_USE_ODBC_1@,$COND_USE_ODBC_1,;t t
41493 s,@COND_USE_PLUGINS_0@,$COND_USE_PLUGINS_0,;t t
41494 s,@COND_USE_SOSYMLINKS_1@,$COND_USE_SOSYMLINKS_1,;t t
41495 s,@COND_USE_SOVERLINUX_1@,$COND_USE_SOVERLINUX_1,;t t
41496 s,@COND_USE_SOVERSION_0@,$COND_USE_SOVERSION_0,;t t
41497 s,@COND_USE_SOVERSOLARIS_1@,$COND_USE_SOVERSOLARIS_1,;t t
41498 s,@COND_WITH_PLUGIN_SDL_1@,$COND_WITH_PLUGIN_SDL_1,;t t
41499 s,@COND_WITH_SDL_1@,$COND_WITH_SDL_1,;t t
41500 s,@COND_WXUNIV_1@,$COND_WXUNIV_1,;t t
41501 s,@COND_WXUSE_EXPAT_BUILTIN@,$COND_WXUSE_EXPAT_BUILTIN,;t t
41502 s,@COND_WXUSE_LIBJPEG_BUILTIN@,$COND_WXUSE_LIBJPEG_BUILTIN,;t t
41503 s,@COND_WXUSE_LIBPNG_BUILTIN@,$COND_WXUSE_LIBPNG_BUILTIN,;t t
41504 s,@COND_WXUSE_LIBTIFF_BUILTIN@,$COND_WXUSE_LIBTIFF_BUILTIN,;t t
41505 s,@COND_WXUSE_ODBC_BUILTIN@,$COND_WXUSE_ODBC_BUILTIN,;t t
41506 s,@COND_WXUSE_REGEX_BUILTIN@,$COND_WXUSE_REGEX_BUILTIN,;t t
41507 s,@COND_WXUSE_ZLIB_BUILTIN@,$COND_WXUSE_ZLIB_BUILTIN,;t t
41508 s,@PATH_IFS@,$PATH_IFS,;t t
41509 s,@WX_MAJOR_VERSION_NUMBER@,$WX_MAJOR_VERSION_NUMBER,;t t
41510 s,@WX_MINOR_VERSION_NUMBER@,$WX_MINOR_VERSION_NUMBER,;t t
41511 s,@WX_RELEASE_NUMBER@,$WX_RELEASE_NUMBER,;t t
41512 s,@WX_LIBRARY_NAME_STATIC@,$WX_LIBRARY_NAME_STATIC,;t t
41513 s,@WX_LIBRARY_NAME_SHARED@,$WX_LIBRARY_NAME_SHARED,;t t
41514 s,@WX_LIBRARY_BASENAME_NOGUI@,$WX_LIBRARY_BASENAME_NOGUI,;t t
41515 s,@WX_LIBRARY_BASENAME_GUI@,$WX_LIBRARY_BASENAME_GUI,;t t
41516 s,@WX_LIBRARY_IMPORTLIB@,$WX_LIBRARY_IMPORTLIB,;t t
41517 s,@WX_TARGET_LIBRARY@,$WX_TARGET_LIBRARY,;t t
41518 s,@WX_LIBRARY_LINK1@,$WX_LIBRARY_LINK1,;t t
41519 s,@WX_LIBRARY_LINK2@,$WX_LIBRARY_LINK2,;t t
41520 s,@PROGRAM_EXT@,$PROGRAM_EXT,;t t
41521 s,@WX_LIBRARY_NAME_STATIC_GL@,$WX_LIBRARY_NAME_STATIC_GL,;t t
41522 s,@WX_LIBRARY_NAME_SHARED_GL@,$WX_LIBRARY_NAME_SHARED_GL,;t t
41523 s,@WX_TARGET_LIBRARY_GL@,$WX_TARGET_LIBRARY_GL,;t t
41524 s,@WX_LIBRARY_LINK1_GL@,$WX_LIBRARY_LINK1_GL,;t t
41525 s,@WX_LIBRARY_LINK2_GL@,$WX_LIBRARY_LINK2_GL,;t t
41526 s,@WX_ALL@,$WX_ALL,;t t
41527 s,@WX_ALL_INSTALLED@,$WX_ALL_INSTALLED,;t t
41528 s,@SHARED_LD@,$SHARED_LD,;t t
41529 s,@WX_TARGET_LIBRARY_TYPE@,$WX_TARGET_LIBRARY_TYPE,;t t
41530 s,@STATIC_FLAG@,$STATIC_FLAG,;t t
41531 s,@WXDEBUG_DEFINE@,$WXDEBUG_DEFINE,;t t
41532 s,@USE_GUI@,$USE_GUI,;t t
41533 s,@AFMINSTALL@,$AFMINSTALL,;t t
41534 s,@WIN32INSTALL@,$WIN32INSTALL,;t t
41535 s,@TOOLKIT@,$TOOLKIT,;t t
41536 s,@TOOLKIT_DIR@,$TOOLKIT_DIR,;t t
41537 s,@TOOLKIT_VPATH@,$TOOLKIT_VPATH,;t t
41538 s,@TOOLCHAIN_NAME@,$TOOLCHAIN_NAME,;t t
41539 s,@TOOLCHAIN_DEFS@,$TOOLCHAIN_DEFS,;t t
41540 s,@TOOLCHAIN_DLL_DEFS@,$TOOLCHAIN_DLL_DEFS,;t t
41541 s,@top_builddir_wxconfig@,$top_builddir_wxconfig,;t t
41542 s,@cross_compiling@,$cross_compiling,;t t
41543 s,@WXCONFIG_EXTRALIBS@,$WXCONFIG_EXTRALIBS,;t t
41544 s,@WXCONFIG_LIBS@,$WXCONFIG_LIBS,;t t
41545 s,@WXCONFIG_LIBS_GL@,$WXCONFIG_LIBS_GL,;t t
41546 s,@WXCONFIG_LIBS_STATIC@,$WXCONFIG_LIBS_STATIC,;t t
41547 s,@WXCONFIG_LIBS_STATIC_GL@,$WXCONFIG_LIBS_STATIC_GL,;t t
41548 s,@WXCONFIG_INCLUDE@,$WXCONFIG_INCLUDE,;t t
41549 s,@WXCONFIG_RPATH@,$WXCONFIG_RPATH,;t t
41550 s,@WXCONFIG_LDFLAGS_GUI@,$WXCONFIG_LDFLAGS_GUI,;t t
41551 s,@WX_LARGEFILE_FLAGS@,$WX_LARGEFILE_FLAGS,;t t
41552 s,@CODE_GEN_FLAGS@,$CODE_GEN_FLAGS,;t t
41553 s,@CODE_GEN_FLAGS_CXX@,$CODE_GEN_FLAGS_CXX,;t t
41554 s,@ALL_OBJECTS@,$ALL_OBJECTS,;t t
41555 s,@ALL_HEADERS@,$ALL_HEADERS,;t t
41556 s,@ALL_SOURCES@,$ALL_SOURCES,;t t
41557 s,@GUIDIST@,$GUIDIST,;t t
41558 s,@PORT_FILES@,$PORT_FILES,;t t
41559 s,@DISTDIR@,$DISTDIR,;t t
41560 s,@SAMPLES_SUBDIRS@,$SAMPLES_SUBDIRS,;t t
41561 s,@LDFLAGS_GL@,$LDFLAGS_GL,;t t
41562 s,@LDFLAGS_VERSIONING@,$LDFLAGS_VERSIONING,;t t
41563 s,@LDFLAGS_EXE@,$LDFLAGS_EXE,;t t
41564 s,@OPENGL_LIBS@,$OPENGL_LIBS,;t t
41565 s,@DMALLOC_LIBS@,$DMALLOC_LIBS,;t t
41566 s,@WX_VERSION_TAG@,$WX_VERSION_TAG,;t t
41567 s,@RESFLAGS@,$RESFLAGS,;t t
41568 s,@RESPROGRAMOBJ@,$RESPROGRAMOBJ,;t t
41569 s,@WX_RESOURCES_MACOSX_ASCII@,$WX_RESOURCES_MACOSX_ASCII,;t t
41570 s,@WX_RESOURCES_MACOSX_DATA@,$WX_RESOURCES_MACOSX_DATA,;t t
41571 s,@LIBWXMACRES@,$LIBWXMACRES,;t t
41572 s,@MACRESCOMP@,$MACRESCOMP,;t t
41573 s,@MACSETFILE@,$MACSETFILE,;t t
41574 s,@MACRESWXCONFIG@,$MACRESWXCONFIG,;t t
41576 s,@GCC_SEARCHES_USR_LOCAL_INCLUDE@,$GCC_SEARCHES_USR_LOCAL_INCLUDE,;t t
41577 s,@DLLTOOL@,$DLLTOOL,;t t
41580 s,@MAKEINFO@,$MAKEINFO,;t t
41581 s,@INSTALL_LIBRARY@,$INSTALL_LIBRARY,;t t
41582 s,@CPPUNIT_CONFIG@,$CPPUNIT_CONFIG,;t t
41583 s,@LIBOBJS@,$LIBOBJS,;t t
41584 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
41589 cat >>$CONFIG_STATUS <<\_ACEOF
41590 # Split the substitutions into bite-sized pieces for seds with
41591 # small command number limits, like on Digital OSF/1 and HP-UX.
41592 ac_max_sed_lines
=48
41593 ac_sed_frag
=1 # Number of current file.
41594 ac_beg
=1 # First line for current file.
41595 ac_end
=$ac_max_sed_lines # Line after last line for current file.
41598 while $ac_more_lines; do
41599 if test $ac_beg -gt 1; then
41600 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
41602 sed "${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
41604 if test ! -s $tmp/subs.frag
; then
41605 ac_more_lines
=false
41607 # The purpose of the label and of the branching condition is to
41608 # speed up the sed processing (if there are no `@' at all, there
41609 # is no need to browse any of the substitutions).
41610 # These are the two extra sed commands mentioned above.
41612 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag
) >$tmp/subs
-$ac_sed_frag.
sed
41613 if test -z "$ac_sed_cmds"; then
41614 ac_sed_cmds
="sed -f $tmp/subs-$ac_sed_frag.sed"
41616 ac_sed_cmds
="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
41618 ac_sed_frag
=`expr $ac_sed_frag + 1`
41620 ac_end
=`expr $ac_end + $ac_max_sed_lines`
41623 if test -z "$ac_sed_cmds"; then
41626 fi # test -n "$CONFIG_FILES"
41629 cat >>$CONFIG_STATUS <<\_ACEOF
41630 for ac_file
in : $CONFIG_FILES; do test "x$ac_file" = x
: && continue
41631 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
41633 - | *:- | *:-:* ) # input from stdin
41635 ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
41636 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
41637 *:* ) ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
41638 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
41639 * ) ac_file_in
=$ac_file.
in ;;
41642 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
41643 ac_dir
=`(dirname "$ac_file") 2>/dev/null ||
41644 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
41645 X"$ac_file" : 'X\(//\)[^/]' \| \
41646 X"$ac_file" : 'X\(//\)$' \| \
41647 X"$ac_file" : 'X\(/\)' \| \
41648 . : '\(.\)' 2>/dev/null ||
41650 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
41651 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
41652 /^X\(\/\/\)$/{ s//\1/; q; }
41653 /^X\(\/\).*/{ s//\1/; q; }
41655 { if $as_mkdir_p; then
41660 while test ! -d "$as_dir"; do
41661 as_dirs
="$as_dir $as_dirs"
41662 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
41663 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
41664 X"$as_dir" : 'X\(//\)[^/]' \| \
41665 X"$as_dir" : 'X\(//\)$' \| \
41666 X"$as_dir" : 'X\(/\)' \| \
41667 . : '\(.\)' 2>/dev/null ||
41669 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
41670 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
41671 /^X\(\/\/\)$/{ s//\1/; q; }
41672 /^X\(\/\).*/{ s//\1/; q; }
41675 test ! -n "$as_dirs" || mkdir $as_dirs
41676 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
41677 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
41678 { (exit 1); exit 1; }; }; }
41682 if test "$ac_dir" != .
; then
41683 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
41684 # A "../" for each directory in $ac_dir_suffix.
41685 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
41687 ac_dir_suffix
= ac_top_builddir
=
41691 .
) # No --srcdir option. We are building in place.
41693 if test -z "$ac_top_builddir"; then
41696 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
41698 [\\/]* | ?
:[\\/]* ) # Absolute path.
41699 ac_srcdir
=$srcdir$ac_dir_suffix;
41700 ac_top_srcdir
=$srcdir ;;
41701 *) # Relative path.
41702 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
41703 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
41706 # Do not use `cd foo && pwd` to compute absolute paths, because
41707 # the directories may not exist.
41709 .
) ac_abs_builddir
="$ac_dir";;
41712 .
) ac_abs_builddir
=`pwd`;;
41713 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
41714 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
41717 case $ac_abs_builddir in
41718 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
41720 case ${ac_top_builddir}.
in
41721 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
41722 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
41723 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
41726 case $ac_abs_builddir in
41727 .
) ac_abs_srcdir
=$ac_srcdir;;
41730 .
) ac_abs_srcdir
=$ac_abs_builddir;;
41731 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
41732 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
41735 case $ac_abs_builddir in
41736 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
41738 case $ac_top_srcdir in
41739 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
41740 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
41741 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
41747 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
41748 *) ac_INSTALL
=$ac_top_builddir$INSTALL ;;
41751 # Let's still pretend it is `configure' which instantiates (i.e., don't
41752 # use $as_me), people would be surprised to read:
41753 # /* config.h. Generated by config.status. */
41754 if test x
"$ac_file" = x
-; then
41757 configure_input
="$ac_file. "
41759 configure_input
=$configure_input"Generated from `echo $ac_file_in |
41760 sed 's,.*/,,'` by configure."
41762 # First look for the input files in the build tree, otherwise in the
41764 ac_file_inputs
=`IFS=:
41765 for f in $ac_file_in; do
41767 -) echo $tmp/stdin ;;
41769 # Absolute (can't be DOS-style, as IFS=:)
41770 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
41771 echo "$as_me: error: cannot find input file: $f" >&2;}
41772 { (exit 1); exit 1; }; }
41775 if test -f "$f"; then
41778 elif test -f "$srcdir/$f"; then
41783 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
41784 echo "$as_me: error: cannot find input file: $f" >&2;}
41785 { (exit 1); exit 1; }; }
41788 done` || { (exit 1); exit 1; }
41790 if test x
"$ac_file" != x
-; then
41791 { echo "$as_me:$LINENO: creating $ac_file" >&5
41792 echo "$as_me: creating $ac_file" >&6;}
41796 cat >>$CONFIG_STATUS <<_ACEOF
41800 cat >>$CONFIG_STATUS <<\_ACEOF
41802 /@
[a
-zA-Z_][a
-zA-Z_0-9]*@
/!b
41803 s
,@configure_input@
,$configure_input,;t t
41804 s
,@srcdir@
,$ac_srcdir,;t t
41805 s
,@abs_srcdir@
,$ac_abs_srcdir,;t t
41806 s
,@top_srcdir@
,$ac_top_srcdir,;t t
41807 s
,@abs_top_srcdir@
,$ac_abs_top_srcdir,;t t
41808 s
,@builddir@
,$ac_builddir,;t t
41809 s
,@abs_builddir@
,$ac_abs_builddir,;t t
41810 s
,@top_builddir@
,$ac_top_builddir,;t t
41811 s
,@abs_top_builddir@
,$ac_abs_top_builddir,;t t
41812 s
,@INSTALL@
,$ac_INSTALL,;t t
41813 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
41815 if test x"$ac_file" != x-; then
41816 mv $tmp/out $ac_file
41824 cat >>$CONFIG_STATUS <<\_ACEOF
41827 # CONFIG_HEADER section.
41830 # These sed commands are passed to sed as "A NAME B NAME C VALUE D
", where
41831 # NAME is the cpp macro being defined and VALUE is the value it is being given.
41833 # ac_d sets the value in "#define NAME VALUE" lines.
41834 ac_dA
='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
41835 ac_dB
='[ ].*$,\1#\2'
41838 # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
41839 ac_uA
='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
41840 ac_uB
='$,\1#\2define\3'
41844 for ac_file
in : $CONFIG_HEADERS; do test "x$ac_file" = x
: && continue
41845 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
41847 - | *:- | *:-:* ) # input from stdin
41849 ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
41850 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
41851 *:* ) ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
41852 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
41853 * ) ac_file_in
=$ac_file.
in ;;
41856 test x
"$ac_file" != x
- && { echo "$as_me:$LINENO: creating $ac_file" >&5
41857 echo "$as_me: creating $ac_file" >&6;}
41859 # First look for the input files in the build tree, otherwise in the
41861 ac_file_inputs
=`IFS=:
41862 for f in $ac_file_in; do
41864 -) echo $tmp/stdin ;;
41866 # Absolute (can't be DOS-style, as IFS=:)
41867 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
41868 echo "$as_me: error: cannot find input file: $f" >&2;}
41869 { (exit 1); exit 1; }; }
41870 # Do quote $f, to prevent DOS paths from being IFS'd.
41873 if test -f "$f"; then
41876 elif test -f "$srcdir/$f"; then
41881 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
41882 echo "$as_me: error: cannot find input file: $f" >&2;}
41883 { (exit 1); exit 1; }; }
41886 done` || { (exit 1); exit 1; }
41887 # Remove the trailing spaces.
41888 sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
41892 # Transform confdefs.h into two sed scripts, `conftest.defines' and
41893 # `conftest.undefs', that substitutes the proper values into
41894 # config.h.in to produce config.h. The first handles `#define'
41895 # templates, and the second `#undef' templates.
41896 # And first: Protect against being on the right side of a sed subst in
41897 # config.status. Protect against being in an unquoted here document
41898 # in config.status.
41899 rm -f conftest.defines conftest.undefs
41900 # Using a here document instead of a string reduces the quoting nightmare.
41901 # Putting comments in sed scripts is not portable.
41903 # `end' is used to avoid that the second main sed command (meant for
41904 # 0-ary CPP macros) applies to n-ary macro definitions.
41905 # See the Autoconf documentation for `clear'.
41906 cat >confdef2sed.
sed <<\_ACEOF
41911 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
41913 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
41916 # If some macros were called several times there might be several times
41917 # the same #defines, which is useless. Nevertheless, we may not want to
41918 # sort them, since we want the *last* AC-DEFINE to be honored.
41919 uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
41920 sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
41921 rm -f confdef2sed.sed
41923 # This sed command replaces #undef with comments. This is necessary, for
41924 # example, in the case of _POSIX_SOURCE, which is predefined and required
41925 # on some systems where configure will not decide to define it.
41926 cat >>conftest.undefs <<\_ACEOF
41927 s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
41930 # Break up conftest.defines because some shells have a limit on the size
41931 # of here documents, and old seds have small limits too (100 cmds).
41932 echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
41933 echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
41934 echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
41935 echo ' :' >>$CONFIG_STATUS
41936 rm -f conftest.tail
41937 while grep . conftest.defines >/dev/null
41939 # Write a limited-size here document to $tmp/defines.sed.
41940 echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
41941 # Speed up: don't consider the non `#define' lines.
41942 echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
41943 # Work around the forget-to-reset-the-flag bug.
41944 echo 't clr' >>$CONFIG_STATUS
41945 echo ': clr' >>$CONFIG_STATUS
41946 sed ${ac_max_here_lines}q conftest.defines
>>$CONFIG_STATUS
41948 sed -f $tmp/defines.sed $tmp/in >$tmp/out
41950 mv $tmp/out $tmp/in
41952 sed 1,${ac_max_here_lines}d conftest.defines
>conftest.
tail
41953 rm -f conftest.defines
41954 mv conftest.
tail conftest.defines
41956 rm -f conftest.defines
41957 echo ' fi # grep' >>$CONFIG_STATUS
41958 echo >>$CONFIG_STATUS
41960 # Break up conftest.undefs because some shells have a limit on the size
41961 # of here documents, and old seds have small limits too (100 cmds).
41962 echo ' # Handle all the #undef templates' >>$CONFIG_STATUS
41963 rm -f conftest.
tail
41964 while grep . conftest.undefs
>/dev
/null
41966 # Write a limited-size here document to $tmp/undefs.sed.
41967 echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
41968 # Speed up: don't consider the non
`#undef'
41969 echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
41970 # Work around the forget-to-reset-the-flag bug.
41971 echo 't clr' >>$CONFIG_STATUS
41972 echo ': clr' >>$CONFIG_STATUS
41973 sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
41975 sed -f $tmp/undefs.sed $tmp/in >$tmp/out
41977 mv $tmp/out $tmp/in
41979 sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
41980 rm -f conftest.undefs
41981 mv conftest.tail conftest.undefs
41983 rm -f conftest.undefs
41985 cat >>$CONFIG_STATUS <<\_ACEOF
41986 # Let's still pretend it is `configure
' which instantiates (i.e., don't
41987 # use $as_me), people would be surprised to read:
41988 # /* config.h. Generated by config.status. */
41989 if test x
"$ac_file" = x
-; then
41990 echo "/* Generated by configure. */" >$tmp/config.h
41992 echo "/* $ac_file. Generated by configure. */" >$tmp/config.h
41994 cat $tmp/in >>$tmp/config.h
41996 if test x
"$ac_file" != x
-; then
41997 if diff $ac_file $tmp/config.h
>/dev
/null
2>&1; then
41998 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
41999 echo "$as_me: $ac_file is unchanged" >&6;}
42001 ac_dir
=`(dirname "$ac_file") 2>/dev/null ||
42002 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
42003 X"$ac_file" : 'X\(//\)[^/]' \| \
42004 X"$ac_file" : 'X\(//\)$' \| \
42005 X"$ac_file" : 'X\(/\)' \| \
42006 . : '\(.\)' 2>/dev/null ||
42008 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
42009 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
42010 /^X\(\/\/\)$/{ s//\1/; q; }
42011 /^X\(\/\).*/{ s//\1/; q; }
42013 { if $as_mkdir_p; then
42018 while test ! -d "$as_dir"; do
42019 as_dirs
="$as_dir $as_dirs"
42020 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
42021 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
42022 X"$as_dir" : 'X\(//\)[^/]' \| \
42023 X"$as_dir" : 'X\(//\)$' \| \
42024 X"$as_dir" : 'X\(/\)' \| \
42025 . : '\(.\)' 2>/dev/null ||
42027 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
42028 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
42029 /^X\(\/\/\)$/{ s//\1/; q; }
42030 /^X\(\/\).*/{ s//\1/; q; }
42033 test ! -n "$as_dirs" || mkdir $as_dirs
42034 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
42035 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
42036 { (exit 1); exit 1; }; }; }
42039 mv $tmp/config.h
$ac_file
42043 rm -f $tmp/config.h
42047 cat >>$CONFIG_STATUS <<\_ACEOF
42050 # CONFIG_COMMANDS section.
42052 for ac_file
in : $CONFIG_COMMANDS; do test "x$ac_file" = x
: && continue
42053 ac_dest
=`echo "$ac_file" | sed 's,:.*,,'`
42054 ac_source
=`echo "$ac_file" | sed 's,[^:]*:,,'`
42055 ac_dir
=`(dirname "$ac_dest") 2>/dev/null ||
42056 $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
42057 X"$ac_dest" : 'X\(//\)[^/]' \| \
42058 X"$ac_dest" : 'X\(//\)$' \| \
42059 X"$ac_dest" : 'X\(/\)' \| \
42060 . : '\(.\)' 2>/dev/null ||
42062 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
42063 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
42064 /^X\(\/\/\)$/{ s//\1/; q; }
42065 /^X\(\/\).*/{ s//\1/; q; }
42067 { if $as_mkdir_p; then
42072 while test ! -d "$as_dir"; do
42073 as_dirs
="$as_dir $as_dirs"
42074 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
42075 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
42076 X"$as_dir" : 'X\(//\)[^/]' \| \
42077 X"$as_dir" : 'X\(//\)$' \| \
42078 X"$as_dir" : 'X\(/\)' \| \
42079 . : '\(.\)' 2>/dev/null ||
42081 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
42082 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
42083 /^X\(\/\/\)$/{ s//\1/; q; }
42084 /^X\(\/\).*/{ s//\1/; q; }
42087 test ! -n "$as_dirs" || mkdir $as_dirs
42088 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
42089 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
42090 { (exit 1); exit 1; }; }; }
42094 if test "$ac_dir" != .
; then
42095 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
42096 # A "../" for each directory in $ac_dir_suffix.
42097 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
42099 ac_dir_suffix
= ac_top_builddir
=
42103 .
) # No --srcdir option. We are building in place.
42105 if test -z "$ac_top_builddir"; then
42108 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
42110 [\\/]* | ?
:[\\/]* ) # Absolute path.
42111 ac_srcdir
=$srcdir$ac_dir_suffix;
42112 ac_top_srcdir
=$srcdir ;;
42113 *) # Relative path.
42114 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
42115 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
42118 # Do not use `cd foo && pwd` to compute absolute paths, because
42119 # the directories may not exist.
42121 .
) ac_abs_builddir
="$ac_dir";;
42124 .
) ac_abs_builddir
=`pwd`;;
42125 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
42126 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
42129 case $ac_abs_builddir in
42130 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
42132 case ${ac_top_builddir}.
in
42133 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
42134 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
42135 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
42138 case $ac_abs_builddir in
42139 .
) ac_abs_srcdir
=$ac_srcdir;;
42142 .
) ac_abs_srcdir
=$ac_abs_builddir;;
42143 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
42144 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
42147 case $ac_abs_builddir in
42148 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
42150 case $ac_top_srcdir in
42151 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
42152 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
42153 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
42158 { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
42159 echo "$as_me: executing $ac_dest commands" >&6;}
42162 if test ! -h wx
-config; then
42164 mv wx
-config wx
${TOOLCHAIN_NAME}-config
42165 ${LN_S} wx
${TOOLCHAIN_NAME}-config wx
-config
42168 if test ! -d lib
; then
42171 if test ! -d lib
/wx
; then
42174 if test ! -d lib
/wx
/include
; then
42175 mkdir lib
/wx
/include
42177 if test ! -d lib
/wx
/include
/${TOOLCHAIN_NAME}; then
42178 mkdir lib
/wx
/include
/${TOOLCHAIN_NAME}
42180 if test ! -d lib
/wx
/include
/${TOOLCHAIN_NAME}/wx
; then
42181 mkdir lib
/wx
/include
/${TOOLCHAIN_NAME}/wx
42183 if test -f setup.h
; then
42184 mv -f setup.h lib
/wx
/include
/${TOOLCHAIN_NAME}/wx
/setup.h
42191 cat >>$CONFIG_STATUS <<\_ACEOF
42193 { (exit 0); exit 0; }
42195 chmod +x
$CONFIG_STATUS
42196 ac_clean_files
=$ac_clean_files_save
42199 # configure is writing to config.log, and then calls config.status.
42200 # config.status does its own redirection, appending to config.log.
42201 # Unfortunately, on DOS this fails, as config.log is still kept open
42202 # by configure, so config.status won't be able to write to it; its
42203 # output is simply discarded. So we exec the FD to /dev/null,
42204 # effectively closing config.log, so it can be properly (re)opened and
42205 # appended to by config.status. When coming back to configure, we
42206 # need to make the FD available again.
42207 if test "$no_create" != yes; then
42209 ac_config_status_args
=
42210 test "$silent" = yes &&
42211 ac_config_status_args
="$ac_config_status_args --quiet"
42213 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
42215 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
42216 # would make configure fail if this is the last instruction.
42217 $ac_cs_success || { (exit 1); exit 1; }
42221 # CONFIG_SUBDIRS section.
42223 if test "$no_recursion" != yes; then
42225 # Remove --cache-file and --srcdir arguments so they do not pile up.
42226 ac_sub_configure_args
=
42228 for ac_arg
in $ac_configure_args; do
42229 if test -n "$ac_prev"; then
42234 -cache-file | --cache-file | --cache-fil | --cache-fi \
42235 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
42236 ac_prev
=cache_file
;;
42237 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
42238 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* \
42241 --config-cache | -C)
42243 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
42245 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
42247 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
42249 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
42251 *) ac_sub_configure_args
="$ac_sub_configure_args $ac_arg" ;;
42255 # Always prepend --prefix to ensure using the same prefix
42256 # in subdir configurations.
42257 ac_sub_configure_args
="--prefix=$prefix $ac_sub_configure_args"
42260 for ac_dir
in : $subdirs; do test "x$ac_dir" = x
: && continue
42262 # Do not complain, so a configure script can configure whichever
42263 # parts of a large source tree are present.
42264 test -d $srcdir/$ac_dir || continue
42266 { echo "$as_me:$LINENO: configuring in $ac_dir" >&5
42267 echo "$as_me: configuring in $ac_dir" >&6;}
42268 { if $as_mkdir_p; then
42273 while test ! -d "$as_dir"; do
42274 as_dirs
="$as_dir $as_dirs"
42275 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
42276 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
42277 X"$as_dir" : 'X\(//\)[^/]' \| \
42278 X"$as_dir" : 'X\(//\)$' \| \
42279 X"$as_dir" : 'X\(/\)' \| \
42280 . : '\(.\)' 2>/dev/null ||
42282 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
42283 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
42284 /^X\(\/\/\)$/{ s//\1/; q; }
42285 /^X\(\/\).*/{ s//\1/; q; }
42288 test ! -n "$as_dirs" || mkdir $as_dirs
42289 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
42290 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
42291 { (exit 1); exit 1; }; }; }
42295 if test "$ac_dir" != .
; then
42296 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
42297 # A "../" for each directory in $ac_dir_suffix.
42298 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
42300 ac_dir_suffix
= ac_top_builddir
=
42304 .
) # No --srcdir option. We are building in place.
42306 if test -z "$ac_top_builddir"; then
42309 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
42311 [\\/]* | ?
:[\\/]* ) # Absolute path.
42312 ac_srcdir
=$srcdir$ac_dir_suffix;
42313 ac_top_srcdir
=$srcdir ;;
42314 *) # Relative path.
42315 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
42316 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
42319 # Do not use `cd foo && pwd` to compute absolute paths, because
42320 # the directories may not exist.
42322 .
) ac_abs_builddir
="$ac_dir";;
42325 .
) ac_abs_builddir
=`pwd`;;
42326 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
42327 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
42330 case $ac_abs_builddir in
42331 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
42333 case ${ac_top_builddir}.
in
42334 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
42335 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
42336 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
42339 case $ac_abs_builddir in
42340 .
) ac_abs_srcdir
=$ac_srcdir;;
42343 .
) ac_abs_srcdir
=$ac_abs_builddir;;
42344 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
42345 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
42348 case $ac_abs_builddir in
42349 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
42351 case $ac_top_srcdir in
42352 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
42353 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
42354 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
42361 # Check for guested configure; otherwise get Cygnus style configure.
42362 if test -f $ac_srcdir/configure.gnu
; then
42363 ac_sub_configure
="$SHELL '$ac_srcdir/configure.gnu'"
42364 elif test -f $ac_srcdir/configure
; then
42365 ac_sub_configure
="$SHELL '$ac_srcdir/configure'"
42366 elif test -f $ac_srcdir/configure.
in; then
42367 ac_sub_configure
=$ac_configure
42369 { echo "$as_me:$LINENO: WARNING: no configuration information is in $ac_dir" >&5
42370 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;}
42374 # The recursion is here.
42375 if test -n "$ac_sub_configure"; then
42376 # Make the cache file name correct relative to the subdirectory.
42377 case $cache_file in
42378 [\\/]* | ?
:[\\/]* ) ac_sub_cache_file
=$cache_file ;;
42379 *) # Relative path.
42380 ac_sub_cache_file
=$ac_top_builddir$cache_file ;;
42383 { echo "$as_me:$LINENO: running $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&5
42384 echo "$as_me: running $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;}
42385 # The eval makes quoting arguments work.
42386 eval $ac_sub_configure $ac_sub_configure_args \
42387 --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir ||
42388 { { echo "$as_me:$LINENO: error: $ac_sub_configure failed for $ac_dir" >&5
42389 echo "$as_me: error: $ac_sub_configure failed for $ac_dir" >&2;}
42390 { (exit 1); exit 1; }; }
42399 echo "Configured wxWindows ${WX_VERSION} for \`${host}'"
42401 echo " Which GUI toolkit should wxWindows use? ${TOOLKIT_LOWERCASE:-base only}"
42402 echo " Should wxWindows be compiled into single library? ${wxUSE_MONOLITHIC:-yes}"
42404 echo " Should wxWindows be compiled in debug mode? ${wxUSE_DEBUG:-no}"
42405 echo " Should wxWindows be linked as a shared library? ${wxUSE_SHARED:-no}"
42406 echo " Should wxWindows be compiled in Unicode mode? ${wxUSE_UNICODE:-no}"
42408 echo " What level of wxWindows compatibility should be enabled?"
42409 echo " wxWindows 2.2 ${WXWIN_COMPATIBILITY_2_2:-no}"
42410 echo " wxWindows 2.4 ${WXWIN_COMPATIBILITY_2_4:-yes}"
42412 echo " Which libraries should wxWindows use?"
42413 echo " jpeg ${wxUSE_LIBJPEG-none}"
42414 echo " png ${wxUSE_LIBPNG-none}"
42415 echo " regex ${wxUSE_REGEX}"
42416 echo " tiff ${wxUSE_LIBTIFF-none}"
42417 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
42418 echo " xpm ${wxUSE_LIBXPM-none}"
42420 echo " zlib ${wxUSE_ZLIB}"
42421 echo " odbc ${wxUSE_ODBC}"
42422 echo " expat ${wxUSE_EXPAT}"
42423 echo " libmspack ${wxUSE_LIBMSPACK}"
42424 echo " sdl ${wxUSE_LIBSDL}"