2 # From configure.in Id: configure.in.
3 # Guess values for system-dependent variables and create Makefiles.
4 # Generated by GNU Autoconf 2.59 for wxWindows 2.5.1.
6 # Report bugs to <wx-dev@lists.wxwindows.org>.
8 # Copyright (C) 2003 Free Software Foundation, Inc.
9 # This configure script is free software; the Free Software Foundation
10 # gives unlimited permission to copy, distribute and modify it.
11 ## --------------------- ##
12 ## M4sh Initialization. ##
13 ## --------------------- ##
15 # Be Bourne compatible
16 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
19 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
20 # is contrary to our usage. Disable this feature.
21 alias -g '${1+"$@"}'='"$@"'
22 elif test -n "${BASH_VERSION+set}" && (set -o posix
) >/dev
/null
2>&1; then
25 DUALCASE
=1; export DUALCASE
# for MKS sh
27 # Support unset when possible.
28 if ( (MAIL
=60; unset MAIL
) || exit) >/dev
/null
2>&1; then
35 # Work around bugs in pre-3.0 UWIN ksh.
36 $as_unset ENV MAIL MAILPATH
43 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
44 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
47 if (set +x
; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
48 eval $as_var=C
; export $as_var
54 # Required to use basename.
55 if expr a
: '\(a\)' >/dev
/null
2>&1; then
61 if (basename /) >/dev
/null
2>&1 && test "X`basename / 2>&1`" = "X/"; then
68 # Name of the executable.
69 as_me
=`$as_basename "$0" ||
70 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
71 X"$0" : 'X\(//\)$' \| \
72 X"$0" : 'X\(/\)$' \| \
73 . : '\(.\)' 2>/dev/null ||
75 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
76 /^X\/\(\/\/\)$/{ s//\1/; q; }
77 /^X\/\(\/\).*/{ s//\1/; q; }
81 # PATH needs CR, and LINENO needs CR and PATH.
82 # Avoid depending upon Character Ranges.
83 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
84 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
85 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
86 as_cr_digits
='0123456789'
87 as_cr_alnum
=$as_cr_Letters$as_cr_digits
89 # The user is always right.
90 if test "${PATH_SEPARATOR+set}" != set; then
91 echo "#! /bin/sh" >conf$$.sh
92 echo "exit 0" >>conf$$.sh
94 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
105 as_lineno_3
=`(expr $as_lineno_1 + 1) 2>/dev/null`
106 test "x$as_lineno_1" != "x$as_lineno_2" &&
107 test "x$as_lineno_3" = "x$as_lineno_2" || {
108 # Find who we are. Look in the path if we contain no path at all
111 *[\\/]* ) as_myself
=$0 ;;
112 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
116 test -z "$as_dir" && as_dir
=.
117 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
122 # We did not find ourselves, most probably we were run as `sh COMMAND'
123 # in which case we are not to be found in the path.
124 if test "x$as_myself" = x
; then
127 if test ! -f "$as_myself"; then
128 { echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2
129 { (exit 1); exit 1; }; }
131 case $CONFIG_SHELL in
133 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
134 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
137 test -z "$as_dir" && as_dir
=.
138 for as_base
in sh bash ksh sh5
; do
141 if ("$as_dir/$as_base" -c '
144 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
145 test "x$as_lineno_1" != "x$as_lineno_2" &&
146 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev
/null
; then
147 $as_unset BASH_ENV
|| test "${BASH_ENV+set}" != set || { BASH_ENV
=; export BASH_ENV
; }
148 $as_unset ENV
|| test "${ENV+set}" != set || { ENV
=; export ENV
; }
149 CONFIG_SHELL
=$as_dir/$as_base
151 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
159 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
160 # uniformly replaced by the line number. The first 'sed' inserts a
161 # line-number line before each line; the second 'sed' does the real
162 # work. The second script uses 'N' to pair each line-number line
163 # with the numbered line, and appends trailing '-' during
164 # substitution so that $LINENO is not a special case at line end.
165 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
166 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
167 sed '=' <$as_myself |
172 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
175 s,^['$as_cr_digits']*\n,,
177 chmod +x
$as_me.lineno
||
178 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
179 { (exit 1); exit 1; }; }
181 # Don't try to exec as it changes $[0], causing all sort of problems
182 # (the dirname of $[0] is not the place where we might find the
183 # original and so on. Autoconf is especially sensible to this).
185 # Exit status is that of the last command.
190 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
191 *c
*,-n*) ECHO_N
= ECHO_C
='
193 *c
*,* ) ECHO_N
=-n ECHO_C
= ECHO_T
= ;;
194 *) ECHO_N
= ECHO_C
='\c' ECHO_T
= ;;
197 if expr a
: '\(a\)' >/dev
/null
2>&1; then
203 rm -f conf$$ conf$$.exe conf$$.
file
205 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
206 # We could just check for DJGPP; but this test a) works b) is more generic
207 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
208 if test -f conf$$.exe
; then
209 # Don't use ln at all; we don't have any links
214 elif ln conf$$.
file conf$$
2>/dev
/null
; then
219 rm -f conf$$ conf$$.exe conf$$.
file
221 if mkdir -p .
2>/dev
/null
; then
224 test -d .
/-p && rmdir .
/-p
228 as_executable_p
="test -f"
230 # Sed expression to map a string onto a valid CPP name.
231 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
233 # Sed expression to map a string onto a valid variable name.
234 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
238 # We need space, tab and new line, in precisely that order.
248 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
249 # so uname gets run too.
250 ac_hostname
=`(hostname || uname -n) 2>/dev/null | sed 1q`
257 ac_default_prefix
=/usr
/local
258 ac_config_libobj_dir
=.
263 SHELL
=${CONFIG_SHELL-/bin/sh}
265 # Maximum number of lines to put in a shell here document.
266 # This variable seems obsolete. It should probably be removed, and
267 # only ac_max_sed_lines should be used.
268 : ${ac_max_here_lines=38}
270 # Identity of this package.
271 PACKAGE_NAME
='wxWindows'
272 PACKAGE_TARNAME
='wxwindows'
273 PACKAGE_VERSION
='2.5.1'
274 PACKAGE_STRING
='wxWindows 2.5.1'
275 PACKAGE_BUGREPORT
='wx-dev@lists.wxwindows.org'
277 ac_unique_file
="wx-config.in"
278 # Factoring default headers for most tests.
279 ac_includes_default
="\
282 # include <sys/types.h>
285 # include <sys/stat.h>
296 # if !STDC_HEADERS && HAVE_MEMORY_H
302 # include <strings.h>
305 # include <inttypes.h>
315 ac_subdirs_all
="$ac_subdirs_all src/expat"
316 ac_subst_vars
='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS build build_cpu build_vendor build_os host host_cpu host_vendor host_os target target_cpu target_vendor target_os CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT CPP EGREP CXX CXXFLAGS ac_ct_CXX RANLIB ac_ct_RANLIB AR INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA STRIP IF_GNU_MAKE LN_S CXXCPP subdirs PKG_CONFIG GTK_CFLAGS GTK_LIBS GTK_CONFIG PANGOFT2_CFLAGS PANGOFT2_LIBS X_CFLAGS X_PRE_LIBS X_LIBS X_EXTRA_LIBS PANGOX_CFLAGS PANGOX_LIBS PANGOXFT_CFLAGS PANGOXFT_LIBS RESCOMP DEREZ SETFILE LIBICONV EXTRALIBS_ESD SDL_CONFIG SDL_CFLAGS SDL_LIBS CORE_BASE_LIBS CORE_GUI_LIBS wxUSE_ZLIB wxUSE_REGEX wxUSE_EXPAT wxUSE_ODBC wxUSE_LIBJPEG wxUSE_LIBPNG wxUSE_LIBTIFF VENDOR OFFICIAL_BUILD WXUNIV MONOLITHIC USE_PLUGINS EXTRALIBS EXTRALIBS_XML EXTRALIBS_HTML EXTRALIBS_ODBC EXTRALIBS_GUI EXTRALIBS_OPENGL EXTRALIBS_SDL WITH_PLUGIN_SDL UNICODE BUILD DEBUG_INFO DEBUG_FLAG SHARED TOOLKIT_LOWERCASE TOOLKIT_VERSION SAMPLES_RPATH_FLAG SAMPLES_RPATH_POSTLINK HOST_SUFFIX CPPUNIT_CFLAGS CPPUNIT_LIBS SET_MAKE MAKE_SET ac_ct_AR ac_ct_STRIP NM ac_ct_NM INSTALL_DIR LDFLAGS_GUI PLATFORM_UNIX PLATFORM_WIN32 PLATFORM_MSDOS PLATFORM_MAC PLATFORM_MACOSX PLATFORM_OS2 SO_SUFFIX SO_SUFFIX_MODULE LIBPREFIX DLLPREFIX DLLPREFIX_MODULE AIX_CXX_LD SHARED_LD_CC SHARED_LD_CXX SHARED_LD_MODULE_CC SHARED_LD_MODULE_CXX PIC_FLAG USE_SOVERSION USE_SOVERLINUX USE_SOVERSOLARIS USE_MACVERSION USE_SOSYMLINKS SONAME_FLAG DEPS_TRACKING GCC_PCH COND_BUILD_DEBUG COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT COND_BUILD_DEBUG_UNICODE_0 COND_BUILD_DEBUG_UNICODE_1 COND_BUILD_RELEASE COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT COND_BUILD_RELEASE_UNICODE_0 COND_BUILD_RELEASE_UNICODE_1 COND_DEBUG_FLAG_1 COND_DEBUG_INFO_0 COND_DEBUG_INFO_1 COND_DEPS_TRACKING_0 COND_DEPS_TRACKING_1 COND_GCC_PCH_1 COND_MONOLITHIC_0 COND_MONOLITHIC_0_SHARED_0 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_ODBC_1 COND_MONOLITHIC_0_SHARED_0_USE_HTML_1 COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1 COND_MONOLITHIC_0_SHARED_1 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_ODBC_1 COND_MONOLITHIC_0_SHARED_1_USE_HTML_1 COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1 COND_MONOLITHIC_0_USE_ODBC_1 COND_MONOLITHIC_1 COND_MONOLITHIC_1_SHARED_0 COND_MONOLITHIC_1_SHARED_1 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1 COND_PLATFORM_MACOSX_1 COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA COND_PLATFORM_MACOSX_1_TOOLKIT_GTK COND_PLATFORM_MACOSX_1_TOOLKIT_MAC COND_PLATFORM_MACOSX_1_USE_GUI_1 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1 COND_PLATFORM_MAC_1 COND_PLATFORM_OS2_1 COND_PLATFORM_UNIX_0 COND_PLATFORM_UNIX_1 COND_PLATFORM_UNIX_1_USE_GUI_1 COND_PLATFORM_UNIX_1_USE_PLUGINS_0 COND_PLATFORM_WIN32_0 COND_PLATFORM_WIN32_1 COND_SHARED_0 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN COND_SHARED_0_WXUSE_EXPAT_BUILTIN COND_SHARED_0_WXUSE_ODBC_BUILTIN COND_SHARED_0_WXUSE_REGEX_BUILTIN COND_SHARED_0_WXUSE_ZLIB_BUILTIN COND_SHARED_1 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1 COND_TOOLKIT_COCOA COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0 COND_TOOLKIT_GTK COND_TOOLKIT_GTK_USE_GUI_1 COND_TOOLKIT_GTK_USE_GUI_1_WXUNIV_0 COND_TOOLKIT_MAC COND_TOOLKIT_MAC_USE_GUI_1 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0 COND_TOOLKIT_MGL COND_TOOLKIT_MGL_USE_GUI_1 COND_TOOLKIT_MOTIF COND_TOOLKIT_MOTIF_USE_GUI_1 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0 COND_TOOLKIT_MSW COND_TOOLKIT_MSW_USE_GUI_1 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0 COND_TOOLKIT_PM COND_TOOLKIT_PM_USE_GUI_1 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0 COND_TOOLKIT_X11 COND_TOOLKIT_X11_USE_GUI_1 COND_UNICODE_1 COND_USE_EXCEPTIONS_0 COND_USE_EXCEPTIONS_1 COND_USE_GUI_0 COND_USE_GUI_1 COND_USE_GUI_1_WXUNIV_0 COND_USE_GUI_1_WXUNIV_1 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN COND_USE_ODBC_1 COND_USE_PLUGINS_0 COND_USE_SOSYMLINKS_1 COND_USE_SOVERLINUX_1 COND_USE_SOVERSION_0 COND_USE_SOVERSOLARIS_1 COND_WITH_PLUGIN_SDL_1 COND_WITH_SDL_1 COND_WXUNIV_1 COND_WXUSE_EXPAT_BUILTIN COND_WXUSE_LIBJPEG_BUILTIN COND_WXUSE_LIBPNG_BUILTIN COND_WXUSE_LIBTIFF_BUILTIN COND_WXUSE_ODBC_BUILTIN COND_WXUSE_REGEX_BUILTIN COND_WXUSE_ZLIB_BUILTIN PATH_IFS WX_MAJOR_VERSION_NUMBER WX_MINOR_VERSION_NUMBER WX_RELEASE_NUMBER WX_LIBRARY_NAME_STATIC WX_LIBRARY_NAME_SHARED WX_LIBRARY_BASENAME_NOGUI WX_LIBRARY_BASENAME_GUI WX_LIBRARY_IMPORTLIB WX_TARGET_LIBRARY WX_LIBRARY_LINK1 WX_LIBRARY_LINK2 PROGRAM_EXT WX_LIBRARY_NAME_STATIC_GL WX_LIBRARY_NAME_SHARED_GL WX_TARGET_LIBRARY_GL WX_LIBRARY_LINK1_GL WX_LIBRARY_LINK2_GL WX_ALL WX_ALL_INSTALLED SHARED_LD WX_TARGET_LIBRARY_TYPE STATIC_FLAG WXDEBUG_DEFINE USE_GUI AFMINSTALL WIN32INSTALL TOOLKIT TOOLKIT_DIR TOOLKIT_VPATH TOOLCHAIN_NAME TOOLCHAIN_DEFS TOOLCHAIN_DLL_DEFS top_builddir_wxconfig cross_compiling WXCONFIG_EXTRALIBS WXCONFIG_LIBS WXCONFIG_LIBS_GL WXCONFIG_LIBS_STATIC WXCONFIG_LIBS_STATIC_GL WXCONFIG_INCLUDE WXCONFIG_RPATH WXCONFIG_LDFLAGS_GUI WX_LARGEFILE_FLAGS CODE_GEN_FLAGS CODE_GEN_FLAGS_CXX ALL_OBJECTS ALL_HEADERS ALL_SOURCES GUIDIST PORT_FILES DISTDIR SAMPLES_SUBDIRS LDFLAGS_GL LDFLAGS_VERSIONING LDFLAGS_EXE OPENGL_LIBS DMALLOC_LIBS WX_VERSION_TAG RESFLAGS RESPROGRAMOBJ WX_RESOURCES_MACOSX_ASCII WX_RESOURCES_MACOSX_DATA LIBWXMACRES MACRESCOMP MACSETFILE MACRESWXCONFIG GCC GCC_SEARCHES_USR_LOCAL_INCLUDE DLLTOOL AS LD MAKEINFO INSTALL_LIBRARY CPPUNIT_CONFIG LIBOBJS LTLIBOBJS'
319 # Initialize some variables set by options.
321 ac_init_version
=false
322 # The variables have the same names as the options, with
323 # dashes changed to underlines.
331 program_transform_name
=s
,x
,x
,
339 # Installation directory options.
340 # These are left unexpanded so users can "make install exec_prefix=/foo"
341 # and all the variables that are supposed to be based on exec_prefix
342 # by default will actually change.
343 # Use braces instead of parens because sh, perl, etc. also accept them.
344 bindir
='${exec_prefix}/bin'
345 sbindir
='${exec_prefix}/sbin'
346 libexecdir
='${exec_prefix}/libexec'
347 datadir
='${prefix}/share'
348 sysconfdir
='${prefix}/etc'
349 sharedstatedir
='${prefix}/com'
350 localstatedir
='${prefix}/var'
351 libdir
='${exec_prefix}/lib'
352 includedir
='${prefix}/include'
353 oldincludedir
='/usr/include'
354 infodir
='${prefix}/info'
355 mandir
='${prefix}/man'
360 # If the previous option needs an argument, assign it.
361 if test -n "$ac_prev"; then
362 eval "$ac_prev=\$ac_option"
367 ac_optarg
=`expr "x$ac_option" : 'x[^=]*=\(.*\)'`
369 # Accept the important Cygnus configure options, so we can diagnose typos.
373 -bindir | --bindir | --bindi | --bind | --bin | --bi)
375 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
378 -build | --build | --buil | --bui | --bu)
379 ac_prev
=build_alias
;;
380 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
381 build_alias
=$ac_optarg ;;
383 -cache-file | --cache-file | --cache-fil | --cache-fi \
384 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
385 ac_prev
=cache_file
;;
386 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
387 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
388 cache_file
=$ac_optarg ;;
391 cache_file
=config.cache
;;
393 -datadir | --datadir | --datadi | --datad | --data | --dat | --da)
395 -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
397 datadir
=$ac_optarg ;;
399 -disable-* | --disable-*)
400 ac_feature
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
401 # Reject names that are not valid shell variable names.
402 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
403 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
404 { (exit 1); exit 1; }; }
405 ac_feature
=`echo $ac_feature | sed 's/-/_/g'`
406 eval "enable_$ac_feature=no" ;;
408 -enable-* | --enable-*)
409 ac_feature
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
410 # Reject names that are not valid shell variable names.
411 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
412 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
413 { (exit 1); exit 1; }; }
414 ac_feature
=`echo $ac_feature | sed 's/-/_/g'`
416 *=*) ac_optarg
=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
419 eval "enable_$ac_feature='$ac_optarg'" ;;
421 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
422 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
423 | --exec | --exe | --ex)
424 ac_prev
=exec_prefix
;;
425 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
426 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
427 | --exec=* | --exe=* | --ex=*)
428 exec_prefix
=$ac_optarg ;;
430 -gas | --gas | --ga | --g)
431 # Obsolete; use --with-gas.
434 -help | --help | --hel | --he | -h)
436 -help=r
* | --help=r
* | --hel=r
* | --he=r
* | -hr*)
437 ac_init_help
=recursive
;;
438 -help=s
* | --help=s
* | --hel=s
* | --he=s
* | -hs*)
439 ac_init_help
=short
;;
441 -host | --host | --hos | --ho)
442 ac_prev
=host_alias
;;
443 -host=* | --host=* | --hos=* | --ho=*)
444 host_alias
=$ac_optarg ;;
446 -includedir | --includedir | --includedi | --included | --include \
447 | --includ | --inclu | --incl | --inc)
448 ac_prev
=includedir
;;
449 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
450 | --includ=* | --inclu=* | --incl=* | --inc=*)
451 includedir
=$ac_optarg ;;
453 -infodir | --infodir | --infodi | --infod | --info | --inf)
455 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
456 infodir
=$ac_optarg ;;
458 -libdir | --libdir | --libdi | --libd)
460 -libdir=* | --libdir=* | --libdi=* | --libd=*)
463 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
464 | --libexe | --libex | --libe)
465 ac_prev
=libexecdir
;;
466 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
467 | --libexe=* | --libex=* | --libe=*)
468 libexecdir
=$ac_optarg ;;
470 -localstatedir | --localstatedir | --localstatedi | --localstated \
471 | --localstate | --localstat | --localsta | --localst \
472 | --locals | --local | --loca | --loc | --lo)
473 ac_prev
=localstatedir
;;
474 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
475 | --localstate=* | --localstat=* | --localsta=* | --localst=* \
476 | --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
477 localstatedir
=$ac_optarg ;;
479 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
481 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
485 # Obsolete; use --without-fp.
488 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
489 | --no-cr | --no-c | -n)
492 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
493 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
496 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
497 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
498 | --oldin | --oldi | --old | --ol | --o)
499 ac_prev
=oldincludedir
;;
500 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
501 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
502 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
503 oldincludedir
=$ac_optarg ;;
505 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
507 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
510 -program-prefix | --program-prefix | --program-prefi | --program-pref \
511 | --program-pre | --program-pr | --program-p)
512 ac_prev
=program_prefix
;;
513 -program-prefix=* | --program-prefix=* | --program-prefi=* \
514 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
515 program_prefix
=$ac_optarg ;;
517 -program-suffix | --program-suffix | --program-suffi | --program-suff \
518 | --program-suf | --program-su | --program-s)
519 ac_prev
=program_suffix
;;
520 -program-suffix=* | --program-suffix=* | --program-suffi=* \
521 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
522 program_suffix
=$ac_optarg ;;
524 -program-transform-name | --program-transform-name \
525 | --program-transform-nam | --program-transform-na \
526 | --program-transform-n | --program-transform- \
527 | --program-transform | --program-transfor \
528 | --program-transfo | --program-transf \
529 | --program-trans | --program-tran \
530 | --progr-tra | --program-tr | --program-t)
531 ac_prev
=program_transform_name
;;
532 -program-transform-name=* | --program-transform-name=* \
533 | --program-transform-nam=* | --program-transform-na=* \
534 | --program-transform-n=* | --program-transform-=* \
535 | --program-transform=* | --program-transfor=* \
536 | --program-transfo=* | --program-transf=* \
537 | --program-trans=* | --program-tran=* \
538 | --progr-tra=* | --program-tr=* | --program-t=*)
539 program_transform_name
=$ac_optarg ;;
541 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
542 | -silent | --silent | --silen | --sile | --sil)
545 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
547 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
549 sbindir
=$ac_optarg ;;
551 -sharedstatedir | --sharedstatedir | --sharedstatedi \
552 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
553 | --sharedst | --shareds | --shared | --share | --shar \
555 ac_prev
=sharedstatedir
;;
556 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
557 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
558 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
560 sharedstatedir
=$ac_optarg ;;
562 -site | --site | --sit)
564 -site=* | --site=* | --sit=*)
567 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
569 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
572 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
573 | --syscon | --sysco | --sysc | --sys | --sy)
574 ac_prev
=sysconfdir
;;
575 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
576 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
577 sysconfdir
=$ac_optarg ;;
579 -target | --target | --targe | --targ | --tar | --ta | --t)
580 ac_prev
=target_alias
;;
581 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
582 target_alias
=$ac_optarg ;;
584 -v | -verbose | --verbose | --verbos | --verbo | --verb)
587 -version | --version | --versio | --versi | --vers | -V)
591 ac_package
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
592 # Reject names that are not valid shell variable names.
593 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
594 { echo "$as_me: error: invalid package name: $ac_package" >&2
595 { (exit 1); exit 1; }; }
596 ac_package
=`echo $ac_package| sed 's/-/_/g'`
598 *=*) ac_optarg
=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
601 eval "with_$ac_package='$ac_optarg'" ;;
603 -without-* | --without-*)
604 ac_package
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
605 # Reject names that are not valid shell variable names.
606 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
607 { echo "$as_me: error: invalid package name: $ac_package" >&2
608 { (exit 1); exit 1; }; }
609 ac_package
=`echo $ac_package | sed 's/-/_/g'`
610 eval "with_$ac_package=no" ;;
613 # Obsolete; use --with-x.
616 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
617 | --x-incl | --x-inc | --x-in | --x-i)
618 ac_prev
=x_includes
;;
619 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
620 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
621 x_includes
=$ac_optarg ;;
623 -x-libraries | --x-libraries | --x-librarie | --x-librari \
624 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
625 ac_prev
=x_libraries
;;
626 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
627 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
628 x_libraries
=$ac_optarg ;;
630 -*) { echo "$as_me: error: unrecognized option: $ac_option
631 Try \`$0 --help' for more information." >&2
632 { (exit 1); exit 1; }; }
636 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
637 # Reject names that are not valid shell variable names.
638 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev
/null
&&
639 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
640 { (exit 1); exit 1; }; }
641 ac_optarg
=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`
642 eval "$ac_envvar='$ac_optarg'"
646 # FIXME: should be removed in autoconf 3.0.
647 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
648 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
649 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
650 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
656 if test -n "$ac_prev"; then
657 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
658 { echo "$as_me: error: missing argument to $ac_option" >&2
659 { (exit 1); exit 1; }; }
662 # Be sure to have absolute paths.
663 for ac_var
in exec_prefix prefix
665 eval ac_val
=$
`echo $ac_var`
667 [\\/$
]* | ?
:[\\/]* | NONE
| '' ) ;;
668 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
669 { (exit 1); exit 1; }; };;
673 # Be sure to have absolute paths.
674 for ac_var
in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
675 localstatedir libdir includedir oldincludedir infodir mandir
677 eval ac_val
=$
`echo $ac_var`
679 [\\/$
]* | ?
:[\\/]* ) ;;
680 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
681 { (exit 1); exit 1; }; };;
685 # There might be people who depend on the old broken behavior: `$host'
686 # used to hold the argument of --host etc.
687 # FIXME: To remove some day.
692 # FIXME: To remove some day.
693 if test "x$host_alias" != x
; then
694 if test "x$build_alias" = x
; then
695 cross_compiling
=maybe
696 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
697 If a cross compiler is detected then cross compile mode will be used." >&2
698 elif test "x$build_alias" != "x$host_alias"; then
704 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
706 test "$silent" = yes && exec 6>/dev
/null
709 # Find the source files, if location was not specified.
710 if test -z "$srcdir"; then
711 ac_srcdir_defaulted
=yes
712 # Try the directory containing this script, then its parent.
713 ac_confdir
=`(dirname "$0") 2>/dev/null ||
714 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
715 X"$0" : 'X\(//\)[^/]' \| \
716 X"$0" : 'X\(//\)$' \| \
717 X"$0" : 'X\(/\)' \| \
718 . : '\(.\)' 2>/dev/null ||
720 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
721 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
722 /^X\(\/\/\)$/{ s//\1/; q; }
723 /^X\(\/\).*/{ s//\1/; q; }
726 if test ! -r $srcdir/$ac_unique_file; then
730 ac_srcdir_defaulted
=no
732 if test ! -r $srcdir/$ac_unique_file; then
733 if test "$ac_srcdir_defaulted" = yes; then
734 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2
735 { (exit 1); exit 1; }; }
737 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
738 { (exit 1); exit 1; }; }
741 (cd $srcdir && test -r .
/$ac_unique_file) 2>/dev
/null
||
742 { echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2
743 { (exit 1); exit 1; }; }
744 srcdir
=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
745 ac_env_build_alias_set
=${build_alias+set}
746 ac_env_build_alias_value
=$build_alias
747 ac_cv_env_build_alias_set
=${build_alias+set}
748 ac_cv_env_build_alias_value
=$build_alias
749 ac_env_host_alias_set
=${host_alias+set}
750 ac_env_host_alias_value
=$host_alias
751 ac_cv_env_host_alias_set
=${host_alias+set}
752 ac_cv_env_host_alias_value
=$host_alias
753 ac_env_target_alias_set
=${target_alias+set}
754 ac_env_target_alias_value
=$target_alias
755 ac_cv_env_target_alias_set
=${target_alias+set}
756 ac_cv_env_target_alias_value
=$target_alias
757 ac_env_CC_set
=${CC+set}
759 ac_cv_env_CC_set
=${CC+set}
760 ac_cv_env_CC_value
=$CC
761 ac_env_CFLAGS_set
=${CFLAGS+set}
762 ac_env_CFLAGS_value
=$CFLAGS
763 ac_cv_env_CFLAGS_set
=${CFLAGS+set}
764 ac_cv_env_CFLAGS_value
=$CFLAGS
765 ac_env_LDFLAGS_set
=${LDFLAGS+set}
766 ac_env_LDFLAGS_value
=$LDFLAGS
767 ac_cv_env_LDFLAGS_set
=${LDFLAGS+set}
768 ac_cv_env_LDFLAGS_value
=$LDFLAGS
769 ac_env_CPPFLAGS_set
=${CPPFLAGS+set}
770 ac_env_CPPFLAGS_value
=$CPPFLAGS
771 ac_cv_env_CPPFLAGS_set
=${CPPFLAGS+set}
772 ac_cv_env_CPPFLAGS_value
=$CPPFLAGS
773 ac_env_CPP_set
=${CPP+set}
774 ac_env_CPP_value
=$CPP
775 ac_cv_env_CPP_set
=${CPP+set}
776 ac_cv_env_CPP_value
=$CPP
777 ac_env_CXX_set
=${CXX+set}
778 ac_env_CXX_value
=$CXX
779 ac_cv_env_CXX_set
=${CXX+set}
780 ac_cv_env_CXX_value
=$CXX
781 ac_env_CXXFLAGS_set
=${CXXFLAGS+set}
782 ac_env_CXXFLAGS_value
=$CXXFLAGS
783 ac_cv_env_CXXFLAGS_set
=${CXXFLAGS+set}
784 ac_cv_env_CXXFLAGS_value
=$CXXFLAGS
785 ac_env_CXXCPP_set
=${CXXCPP+set}
786 ac_env_CXXCPP_value
=$CXXCPP
787 ac_cv_env_CXXCPP_set
=${CXXCPP+set}
788 ac_cv_env_CXXCPP_value
=$CXXCPP
791 # Report the --help message.
793 if test "$ac_init_help" = "long"; then
794 # Omit some internal or obsolete options to make the list less imposing.
795 # This message is too long to be a string in the A/UX 3.1 sh.
797 \`configure' configures wxWindows 2.5.1 to adapt to many kinds of systems.
799 Usage: $0 [OPTION]... [VAR=VALUE]...
801 To assign environment variables (e.g., CC, CFLAGS...), specify them as
802 VAR=VALUE. See below for descriptions of some of the useful variables.
804 Defaults for the options are specified in brackets.
807 -h, --help display this help and exit
808 --help=short display options specific to this package
809 --help=recursive display the short help of all the included packages
810 -V, --version display version information and exit
811 -q, --quiet, --silent do not print \`checking...' messages
812 --cache-file=FILE cache test results in FILE [disabled]
813 -C, --config-cache alias for \`--cache-file=config.cache'
814 -n, --no-create do not create output files
815 --srcdir=DIR find the sources in DIR [configure dir or \`..']
820 Installation directories:
821 --prefix=PREFIX install architecture-independent files in PREFIX
823 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
826 By default, \`make install' will install all the files in
827 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
828 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
829 for instance \`--prefix=\$HOME'.
831 For better control, use the options below.
833 Fine tuning of the installation directories:
834 --bindir=DIR user executables [EPREFIX/bin]
835 --sbindir=DIR system admin executables [EPREFIX/sbin]
836 --libexecdir=DIR program executables [EPREFIX/libexec]
837 --datadir=DIR read-only architecture-independent data [PREFIX/share]
838 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
839 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
840 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
841 --libdir=DIR object code libraries [EPREFIX/lib]
842 --includedir=DIR C header files [PREFIX/include]
843 --oldincludedir=DIR C header files for non-gcc [/usr/include]
844 --infodir=DIR info documentation [PREFIX/info]
845 --mandir=DIR man documentation [PREFIX/man]
851 --x-includes=DIR X include files are
in DIR
852 --x-libraries=DIR X library files are
in DIR
855 --build=BUILD configure
for building on BUILD
[guessed
]
856 --host=HOST cross
-compile to build programs to run on HOST
[BUILD
]
857 --target=TARGET configure
for building compilers
for TARGET
[HOST
]
861 if test -n "$ac_init_help"; then
862 case $ac_init_help in
863 short
| recursive
) echo "Configuration of wxWindows 2.5.1:";;
868 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
869 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
870 --enable-gui use GUI classes
871 --enable-monolithic build wxWindows as single library
872 --enable-plugins build parts of wxWindows as loadable components
873 --enable-universal use wxWindows GUI controls instead of native ones
874 --enable-nanox use NanoX
875 --enable-gtk2 use GTK
+ 2.0 if available
(EXPERIMENTAL
)
876 --enable-gpe use GNOME PDA Environment features
if possible
877 --enable-shared create shared library code
878 --enable-optimise create optimised code
879 --enable-debug same as debug_flag and debug_info
880 --enable-stl use STL
for containers
881 --enable-debug_flag set __WXDEBUG__ flag
(recommended
for developers
!)
882 --enable-debug_info create code with debugging information
883 --enable-debug_gdb create code with extra GDB debugging information
884 --enable-debug_cntxt use wxDebugContext
885 --enable-mem_tracing create code with memory tracing
886 --enable-profile create code with profiling information
887 --enable-no_rtti create code without RTTI information
888 --enable-no_exceptions create code without C
++ exceptions handling
889 --enable-permissive compile code disregarding strict ANSI
890 --enable-no_deps create code without dependency information
891 --enable-compat22 enable wxWindows
2.2 compatibility
892 --disable-compat24 disable wxWindows
2.4 compatibility
893 --enable-rpath=DIR output the rpath flag from wx
-config
894 --enable-intl use internationalization system
895 --enable-config use wxConfig
(and derived
) classes
896 --enable-protocols use wxProtocol and derived classes
897 --enable-ftp use wxFTP
(requires wxProtocol
898 --enable-http use wxHTTP
(requires wxProtocol
899 --enable-fileproto use wxFileProto class
(requires wxProtocol
900 --enable-sockets use socket
/network classes
901 --enable-ole use OLE classes
(Win32 only
)
902 --enable-dataobj use data object classes
903 --enable-ipc use interprocess communication
(wxSocket etc.
)
904 --enable-apple_ieee use the Apple IEEE codec
905 --enable-catch_segvs catch signals
in wxApp
::OnFatalException
(Unix only
)
906 --enable-cmdline use wxCmdLineParser class
907 --enable-datetime use wxDateTime class
908 --enable-dialupman use dialup network classes
909 --enable-dynlib use wxLibrary class
for DLL loading
910 --enable-dynamicloader use
(new
) wxDynamicLibrary class
911 --enable-exceptions build exception
-safe library
912 --enable-ffile use wxFFile class
913 --enable-file use wxFile class
914 --enable-filesystem use virtual
file systems classes
915 --enable-fontmap use font encodings conversion classes
916 --enable-fs_inet use virtual HTTP
/FTP filesystems
917 --enable-fs_zip use virtual ZIP filesystems
918 --enable-geometry use geometry class
919 --enable-log use logging system
920 --enable-longlong use wxLongLong class
921 --enable-mimetype use wxMimeTypesManager
922 --enable-mslu use MS Layer
for Unicode on Windows
9x
(Win32 only
)
923 --enable-snglinst use wxSingleInstanceChecker class
924 --enable-streams use wxStream etc classes
925 --enable-std_iostreams use standard C
++ stream classes
926 --enable-stopwatch use wxStopWatch class
927 --enable-sysoptions use wxSystemOptions
928 --enable-textbuf use wxTextBuffer class
929 --enable-textfile use wxTextFile class
930 --enable-timer use wxTimer class
931 --enable-unicode compile wxString with Unicode support
932 --enable-sound use wxSound class
933 --enable-wxprintfv use wxWindows implementation of vprintf
()
934 --enable-zipstream use wxZipInputStream
935 --enable-gzstream use wxGzipInputStream
936 --enable-url use wxURL class
937 --enable-protocol use wxProtocol class
938 --enable-protocol-http HTTP support
in wxProtocol
939 --enable-protocol-ftp FTP support
in wxProtocol
940 --enable-protocol-file FILE support
in wxProtocol
941 --enable-threads use threads
942 --enable-docview use document view architecture
943 --enable-help use
help subsystem
944 --enable-mshtmlhelp use MS HTML Help
(win32
)
945 --enable-html use wxHTML sub
-library
946 --enable-htmlhelp use wxHTML
-based help
947 --enable-constraints use layout
-constraints system
948 --enable-printarch use printing architecture
949 --enable-mdi use multiple document interface architecture
950 --enable-loggui use standard GUI logger
951 --enable-logwin use wxLogWindow
952 --enable-logdialog use wxLogDialog
953 --enable-postscript use wxPostscriptDC device context
(default
for gtk
+)
954 --enable-prologio not available
; see contrib
955 --enable-resources not available
; see contrib
956 --enable-clipboard use wxClipboard class
957 --enable-dnd use Drag
'n'Drop classes
958 --enable-metafile use win32 metafiles
959 --enable-controls use all usual controls
960 --enable-accel use accelerators
961 --enable-button use wxButton class
962 --enable-bmpbutton use wxBitmapButton class
963 --enable-calendar use wxCalendarCtrl class
964 --enable-caret use wxCaret class
965 --enable-checkbox use wxCheckBox class
966 --enable-checklst use wxCheckListBox
(listbox with checkboxes
) class
967 --enable-choice use wxChoice class
968 --enable-combobox use wxComboBox class
969 --enable-display use wxDisplay class
970 --enable-gauge use wxGauge class
971 --enable-grid use wxGrid class
972 --enable-imaglist use wxImageList class
973 --enable-listbook use wxListbook class
974 --enable-listbox use wxListBox class
975 --enable-listctrl use wxListCtrl class
976 --enable-notebook use wxNotebook class
977 --enable-radiobox use wxRadioBox class
978 --enable-radiobtn use wxRadioButton class
979 --enable-sash use wxSashWindow class
980 --enable-scrollbar use wxScrollBar class and scrollable windows
981 --enable-slider use wxSlider class
982 --enable-spinbtn use wxSpinButton class
983 --enable-spinctrl use wxSpinCtrl class
984 --enable-splitter use wxSplitterWindow class
985 --enable-statbmp use wxStaticBitmap class
986 --enable-statbox use wxStaticBox class
987 --enable-statline use wxStaticLine class
988 --enable-stattext use wxStaticText class
989 --enable-statusbar use wxStatusBar class
990 --enable-tabdialog use wxTabControl class
991 --enable-textctrl use wxTextCtrl class
992 --enable-togglebtn use wxToggleButton class
993 --enable-toolbar use wxToolBar class
994 --enable-tbarnative use native wxToolBar class
995 --enable-tbarsmpl use wxToolBarSimple class
996 --enable-treectrl use wxTreeCtrl class
997 --enable-tipwindow use wxTipWindow class
998 --enable-popupwin use wxPopUpWindow class
999 --enable-commondlg use all common dialogs
1000 --enable-choicedlg use wxChoiceDialog
1001 --enable-coldlg use wxColourDialog
1002 --enable-filedlg use wxFileDialog
1003 --enable-finddlg use wxFindReplaceDialog
1004 --enable-fontdlg use wxFontDialog
1005 --enable-dirdlg use wxDirDialog
1006 --enable-msgdlg use wxMessageDialog
1007 --enable-numberdlg use wxNumberEntryDialog
1008 --enable-splash use wxSplashScreen
1009 --enable-textdlg use wxTextDialog
1010 --enable-tipdlg use startup tips
1011 --enable-progressdlg use wxProgressDialog
1012 --enable-wizarddlg use wxWizard
1013 --enable-menus use wxMenu
/wxMenuBar
/wxMenuItem classes
1014 --enable-miniframe use wxMiniFrame class
1015 --enable-tooltips use wxToolTip class
1016 --enable-splines use spline drawing code
1017 --enable-validators use wxValidator and derived classes
1018 --enable-busyinfo use wxBusyInfo
1019 --enable-joystick use wxJoystick
(Linux only
)
1020 --enable-metafiles use wxMetaFile
(Windows only
)
1021 --enable-dragimage use wxDragImage
1022 --enable-accessibility enable accessibility support
1023 --enable-palette use wxPalette class
1024 --enable-image use wxImage class
1025 --enable-gif use gif images
(GIF
file format
)
1026 --enable-pcx use pcx images
(PCX
file format
)
1027 --enable-iff use iff images
(IFF
file format
)
1028 --enable-pnm use pnm images
(PNM
file format
)
1029 --enable-xpm use xpm images
(XPM
file format
)
1030 --enable-icocur use Windows ICO and CUR formats
1031 --enable-official_build official build of wxWindows
(win32 DLL only
)
1032 --enable-vendor=VENDOR vendor name
(win32 DLL only
)
1033 --disable-largefile omit support
for large files
1034 --disable-gtktest do not try to compile and run a
test GTK
+ program
1035 --disable-gtktest Do not try to compile and run a
test GTK program
1036 --disable-sdltest Do not try to compile and run a
test SDL program
1037 --disable-precomp-headers don
't use precompiled headers even if compiler can
1040 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1041 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1043 --with-motif use Motif/Lesstif
1044 --with-mac use Mac OS X
1045 --with-cocoa use Cocoa
1046 --with-wine use Wine
1047 --with-msw use MS-Windows
1048 --with-pm use OS/2 Presentation Manager
1049 --with-mgl use SciTech MGL
1050 --with-microwin use MicroWindows
1052 --with-libpng use libpng (PNG image format)
1053 --with-libjpeg use libjpeg (JPEG file format)
1054 --with-libtiff use libtiff (TIFF file format)
1055 --with-libxpm use libxpm (XPM file format)
1056 --with-libmspack use libmspack (CHM help files loading)
1057 --with-sdl use SDL for audio on Unix
1058 --with-opengl use OpenGL (or Mesa)
1059 --with-dmalloc use dmalloc library (http://dmalloc.com/)
1060 --with-regex enable support for wxRegEx class
1061 --with-zlib use zlib for LZW compression
1062 --with-odbc use the IODBC and wxODBC classes
1063 --with-expat enable XML support using expat parser
1064 --with-gtk-prefix=PFX Prefix where GTK is installed (optional)
1065 --with-gtk-exec-prefix=PFX Exec prefix where GTK is installed (optional)
1066 --with-x use the X Window System
1067 --with-libiconv-prefix=DIR search for libiconv in DIR/include and DIR/lib
1068 --with-sdl-prefix=PFX Prefix where SDL is installed (optional)
1069 --with-sdl-exec-prefix=PFX Exec prefix where SDL is installed (optional)
1070 --with-cppunit-prefix=PFX Prefix where CppUnit is installed (optional)
1071 --with-cppunit-exec-prefix=PFX Exec prefix where CppUnit is installed (optional)
1073 Some influential environment variables:
1074 CC C compiler command
1075 CFLAGS C compiler flags
1076 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1077 nonstandard directory <lib dir>
1078 CPPFLAGS C/C++ preprocessor flags, e.g. -I<include dir> if you have
1079 headers in a nonstandard directory <include dir>
1081 CXX C++ compiler command
1082 CXXFLAGS C++ compiler flags
1083 CXXCPP C++ preprocessor
1085 Use these variables to override the choices made by `configure' or to
help
1086 it to
find libraries and programs with nonstandard names
/locations.
1088 Report bugs to
<wx
-dev@lists.wxwindows.org
>.
1092 if test "$ac_init_help" = "recursive"; then
1093 # If there are subdirs, report their specific --help.
1095 for ac_dir
in : $ac_subdirs_all; do test "x$ac_dir" = x
: && continue
1096 test -d $ac_dir || continue
1099 if test "$ac_dir" != .
; then
1100 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
1101 # A "../" for each directory in $ac_dir_suffix.
1102 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
1104 ac_dir_suffix
= ac_top_builddir
=
1108 .
) # No --srcdir option. We are building in place.
1110 if test -z "$ac_top_builddir"; then
1113 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
1115 [\\/]* | ?
:[\\/]* ) # Absolute path.
1116 ac_srcdir
=$srcdir$ac_dir_suffix;
1117 ac_top_srcdir
=$srcdir ;;
1119 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
1120 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
1123 # Do not use `cd foo && pwd` to compute absolute paths, because
1124 # the directories may not exist.
1126 .
) ac_abs_builddir
="$ac_dir";;
1129 .
) ac_abs_builddir
=`pwd`;;
1130 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
1131 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
1134 case $ac_abs_builddir in
1135 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
1137 case ${ac_top_builddir}.
in
1138 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
1139 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
1140 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
1143 case $ac_abs_builddir in
1144 .
) ac_abs_srcdir
=$ac_srcdir;;
1147 .
) ac_abs_srcdir
=$ac_abs_builddir;;
1148 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
1149 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
1152 case $ac_abs_builddir in
1153 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
1155 case $ac_top_srcdir in
1156 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
1157 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
1158 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
1163 # Check for guested configure; otherwise get Cygnus style configure.
1164 if test -f $ac_srcdir/configure.gnu
; then
1166 $SHELL $ac_srcdir/configure.gnu
--help=recursive
1167 elif test -f $ac_srcdir/configure
; then
1169 $SHELL $ac_srcdir/configure
--help=recursive
1170 elif test -f $ac_srcdir/configure.ac
||
1171 test -f $ac_srcdir/configure.
in; then
1173 $ac_configure --help
1175 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1181 test -n "$ac_init_help" && exit 0
1182 if $ac_init_version; then
1184 wxWindows configure
2.5.1
1185 generated by GNU Autoconf
2.59
1187 Copyright
(C
) 2003 Free Software Foundation
, Inc.
1188 This configure
script is free software
; the Free Software Foundation
1189 gives unlimited permission to copy
, distribute and modify it.
1195 This file contains any messages produced by compilers while
1196 running configure, to aid debugging if configure makes a mistake.
1198 It was created by wxWindows $as_me 2.5.1, which was
1199 generated by GNU Autoconf 2.59. Invocation command line was
1210 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1211 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1212 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1213 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1214 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1216 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1217 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1219 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1220 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1221 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1222 hostinfo = `(hostinfo) 2>/dev/null || echo unknown`
1223 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1224 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1225 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1229 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1233 test -z "$as_dir" && as_dir
=.
1234 echo "PATH: $as_dir"
1249 # Keep a trace of the command line.
1250 # Strip out --no-create and --no-recursion so they do not pile up.
1251 # Strip out --silent because we don't want to record it for future runs.
1252 # Also quote any args containing shell meta-characters.
1253 # Make two passes to allow for proper duplicate-argument suppression.
1258 ac_must_keep_next
=false
1264 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1265 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1266 | -silent | --silent | --silen | --sile | --sil)
1268 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1269 ac_arg
=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1272 1) ac_configure_args0
="$ac_configure_args0 '$ac_arg'" ;;
1274 ac_configure_args1
="$ac_configure_args1 '$ac_arg'"
1275 if test $ac_must_keep_next = true
; then
1276 ac_must_keep_next
=false
# Got value, back to normal.
1279 *=* | --config-cache | -C | -disable-* | --disable-* \
1280 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1281 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1282 | -with-* | --with-* | -without-* | --without-* | --x)
1283 case "$ac_configure_args0 " in
1284 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1287 -* ) ac_must_keep_next
=true
;;
1290 ac_configure_args
="$ac_configure_args$ac_sep'$ac_arg'"
1291 # Get rid of the leading space.
1297 $as_unset ac_configure_args0
|| test "${ac_configure_args0+set}" != set || { ac_configure_args0
=; export ac_configure_args0
; }
1298 $as_unset ac_configure_args1
|| test "${ac_configure_args1+set}" != set || { ac_configure_args1
=; export ac_configure_args1
; }
1300 # When interrupted or exit'd, cleanup temporary files, and complete
1301 # config.log. We remove comments because anyway the quotes in there
1302 # would cause problems or look ugly.
1303 # WARNING: Be sure not to use single quotes in there, as some shells,
1304 # such as our DU 5.0 friend, will then `close' the trap.
1305 trap 'exit_status=$?
1306 # Save into config.log some information that might help in debugging.
1311 ## ---------------- ##
1312 ## Cache variables. ##
1313 ## ---------------- ##
1316 # The following way of writing the cache mishandles newlines in values,
1319 case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1322 "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1323 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1327 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1334 ## ----------------- ##
1335 ## Output variables. ##
1336 ## ----------------- ##
1339 for ac_var in $ac_subst_vars
1341 eval ac_val=$`echo $ac_var`
1342 echo "$ac_var='"'"'$ac_val'"'"'"
1346 if test -n "$ac_subst_files"; then
1353 for ac_var in $ac_subst_files
1355 eval ac_val=$`echo $ac_var`
1356 echo "$ac_var='"'"'$ac_val'"'"'"
1361 if test -s confdefs.h; then
1368 sed "/^$/d" confdefs.h | sort
1371 test "$ac_signal" != 0 &&
1372 echo "$as_me: caught signal $ac_signal"
1373 echo "$as_me: exit $exit_status"
1375 rm -f core *.core &&
1376 rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
1379 for ac_signal
in 1 2 13 15; do
1380 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1384 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1385 rm -rf conftest
* confdefs.h
1386 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
1389 # Predefined preprocessor variables.
1391 cat >>confdefs.h
<<_ACEOF
1392 #define PACKAGE_NAME "$PACKAGE_NAME"
1396 cat >>confdefs.h
<<_ACEOF
1397 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1401 cat >>confdefs.h
<<_ACEOF
1402 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1406 cat >>confdefs.h
<<_ACEOF
1407 #define PACKAGE_STRING "$PACKAGE_STRING"
1411 cat >>confdefs.h
<<_ACEOF
1412 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1416 # Let the site file select an alternate cache file if it wants to.
1417 # Prefer explicitly selected file to automatically selected ones.
1418 if test -z "$CONFIG_SITE"; then
1419 if test "x$prefix" != xNONE
; then
1420 CONFIG_SITE
="$prefix/share/config.site $prefix/etc/config.site"
1422 CONFIG_SITE
="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1425 for ac_site_file
in $CONFIG_SITE; do
1426 if test -r "$ac_site_file"; then
1427 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1428 echo "$as_me: loading site script $ac_site_file" >&6;}
1429 sed 's/^/| /' "$ac_site_file" >&5
1434 if test -r "$cache_file"; then
1435 # Some versions of bash will fail to source /dev/null (special
1436 # files actually), so we avoid doing that.
1437 if test -f "$cache_file"; then
1438 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1439 echo "$as_me: loading cache $cache_file" >&6;}
1441 [\\/]* | ?
:[\\/]* ) .
$cache_file;;
1442 *) . .
/$cache_file;;
1446 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1447 echo "$as_me: creating cache $cache_file" >&6;}
1451 # Check that the precious variables saved in the cache have kept the same
1453 ac_cache_corrupted
=false
1454 for ac_var
in `(set) 2>&1 |
1455 sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
1456 eval ac_old_set
=\
$ac_cv_env_${ac_var}_set
1457 eval ac_new_set
=\
$ac_env_${ac_var}_set
1458 eval ac_old_val
="\$ac_cv_env_${ac_var}_value"
1459 eval ac_new_val
="\$ac_env_${ac_var}_value"
1460 case $ac_old_set,$ac_new_set in
1462 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1463 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1464 ac_cache_corrupted
=: ;;
1466 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1467 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1468 ac_cache_corrupted
=: ;;
1471 if test "x$ac_old_val" != "x$ac_new_val"; then
1472 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1473 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1474 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1475 echo "$as_me: former value: $ac_old_val" >&2;}
1476 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1477 echo "$as_me: current value: $ac_new_val" >&2;}
1478 ac_cache_corrupted
=:
1481 # Pass precious variables to config.status.
1482 if test "$ac_new_set" = set; then
1484 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1485 ac_arg
=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1486 *) ac_arg
=$ac_var=$ac_new_val ;;
1488 case " $ac_configure_args " in
1489 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1490 *) ac_configure_args
="$ac_configure_args '$ac_arg'" ;;
1494 if $ac_cache_corrupted; then
1495 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1496 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1497 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1498 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1499 { (exit 1); exit 1; }; }
1503 ac_cpp
='$CPP $CPPFLAGS'
1504 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1505 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1506 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
1538 for ac_dir
in $srcdir $srcdir/..
$srcdir/..
/..
; do
1539 if test -f $ac_dir/install-sh; then
1541 ac_install_sh
="$ac_aux_dir/install-sh -c"
1543 elif test -f $ac_dir/install.sh
; then
1545 ac_install_sh
="$ac_aux_dir/install.sh -c"
1547 elif test -f $ac_dir/shtool
; then
1549 ac_install_sh
="$ac_aux_dir/shtool install -c"
1553 if test -z "$ac_aux_dir"; then
1554 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
1555 echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
1556 { (exit 1); exit 1; }; }
1558 ac_config_guess
="$SHELL $ac_aux_dir/config.guess"
1559 ac_config_sub
="$SHELL $ac_aux_dir/config.sub"
1560 ac_configure
="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
1562 # Make sure we can run config.sub.
1563 $ac_config_sub sun4
>/dev
/null
2>&1 ||
1564 { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
1565 echo "$as_me: error: cannot run $ac_config_sub" >&2;}
1566 { (exit 1); exit 1; }; }
1568 echo "$as_me:$LINENO: checking build system type" >&5
1569 echo $ECHO_N "checking build system type... $ECHO_C" >&6
1570 if test "${ac_cv_build+set}" = set; then
1571 echo $ECHO_N "(cached) $ECHO_C" >&6
1573 ac_cv_build_alias
=$build_alias
1574 test -z "$ac_cv_build_alias" &&
1575 ac_cv_build_alias
=`$ac_config_guess`
1576 test -z "$ac_cv_build_alias" &&
1577 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
1578 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
1579 { (exit 1); exit 1; }; }
1580 ac_cv_build
=`$ac_config_sub $ac_cv_build_alias` ||
1581 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
1582 echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
1583 { (exit 1); exit 1; }; }
1586 echo "$as_me:$LINENO: result: $ac_cv_build" >&5
1587 echo "${ECHO_T}$ac_cv_build" >&6
1589 build_cpu
=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1590 build_vendor
=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1591 build_os
=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1594 echo "$as_me:$LINENO: checking host system type" >&5
1595 echo $ECHO_N "checking host system type... $ECHO_C" >&6
1596 if test "${ac_cv_host+set}" = set; then
1597 echo $ECHO_N "(cached) $ECHO_C" >&6
1599 ac_cv_host_alias
=$host_alias
1600 test -z "$ac_cv_host_alias" &&
1601 ac_cv_host_alias
=$ac_cv_build_alias
1602 ac_cv_host
=`$ac_config_sub $ac_cv_host_alias` ||
1603 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
1604 echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
1605 { (exit 1); exit 1; }; }
1608 echo "$as_me:$LINENO: result: $ac_cv_host" >&5
1609 echo "${ECHO_T}$ac_cv_host" >&6
1611 host_cpu
=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1612 host_vendor
=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1613 host_os
=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1616 echo "$as_me:$LINENO: checking target system type" >&5
1617 echo $ECHO_N "checking target system type... $ECHO_C" >&6
1618 if test "${ac_cv_target+set}" = set; then
1619 echo $ECHO_N "(cached) $ECHO_C" >&6
1621 ac_cv_target_alias
=$target_alias
1622 test "x$ac_cv_target_alias" = "x" &&
1623 ac_cv_target_alias
=$ac_cv_host_alias
1624 ac_cv_target
=`$ac_config_sub $ac_cv_target_alias` ||
1625 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_target_alias failed" >&5
1626 echo "$as_me: error: $ac_config_sub $ac_cv_target_alias failed" >&2;}
1627 { (exit 1); exit 1; }; }
1630 echo "$as_me:$LINENO: result: $ac_cv_target" >&5
1631 echo "${ECHO_T}$ac_cv_target" >&6
1632 target
=$ac_cv_target
1633 target_cpu
=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1634 target_vendor
=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1635 target_os
=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1638 # The aliases save the names the user supplied, while $host etc.
1639 # will get canonicalized.
1640 test -n "$target_alias" &&
1641 test "$program_prefix$program_suffix$program_transform_name" = \
1643 program_prefix
=${target_alias}-
1647 WX_MAJOR_VERSION_NUMBER
=2
1648 WX_MINOR_VERSION_NUMBER
=5
1651 WX_VERSION
=$WX_MAJOR_VERSION_NUMBER.
$WX_MINOR_VERSION_NUMBER.
$WX_RELEASE_NUMBER
1652 WX_RELEASE
=$WX_MAJOR_VERSION_NUMBER.
$WX_MINOR_VERSION_NUMBER
1654 WX_MSW_VERSION
=$WX_MAJOR_VERSION_NUMBER$WX_MINOR_VERSION_NUMBER$WX_RELEASE_NUMBER
1670 USE_BSD
= USE_DARWIN
= USE_FREEBSD
=
1676 USE_SOLARIS
= USE_SUN
= USE_SUNOS
= USE_SVR4
= USE_SYSV
= USE_VMS
=
1682 NEEDS_D_REENTRANT_FOR_R_FUNCS
=0
1684 ALL_TOOLKITS
="COCOA GTK MAC MGL MICROWIN MOTIF MSW PM X11"
1686 DEFAULT_wxUSE_COCOA
=0
1690 DEFAULT_wxUSE_MICROWIN
=0
1691 DEFAULT_wxUSE_MOTIF
=0
1696 DEFAULT_DEFAULT_wxUSE_COCOA
=0
1697 DEFAULT_DEFAULT_wxUSE_GTK
=0
1698 DEFAULT_DEFAULT_wxUSE_MAC
=0
1699 DEFAULT_DEFAULT_wxUSE_MGL
=0
1700 DEFAULT_DEFAULT_wxUSE_MICROWIN
=0
1701 DEFAULT_DEFAULT_wxUSE_MOTIF
=0
1702 DEFAULT_DEFAULT_wxUSE_MSW
=0
1703 DEFAULT_DEFAULT_wxUSE_PM
=0
1704 DEFAULT_DEFAULT_wxUSE_X11
=0
1709 SAMPLES_RPATH_POSTLINK
=
1714 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1715 NEEDS_D_REENTRANT_FOR_R_FUNCS
=1
1717 cat >>confdefs.h
<<\_ACEOF
1724 cat >>confdefs.h
<<\_ACEOF
1729 if test "x$TMP" = "xalpha"; then
1731 cat >>confdefs.h
<<\_ACEOF
1736 DEFAULT_DEFAULT_wxUSE_GTK
=1
1738 *-*-gnu* | *-*-k*bsd
*-gnu )
1741 if test "x$TMP" = "xalpha"; then
1743 cat >>confdefs.h
<<\_ACEOF
1748 DEFAULT_DEFAULT_wxUSE_GTK
=1
1750 *-*-irix5* | *-*-irix6* )
1753 cat >>confdefs.h
<<\_ACEOF
1757 cat >>confdefs.h
<<\_ACEOF
1761 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1767 cat >>confdefs.h
<<\_ACEOF
1771 cat >>confdefs.h
<<\_ACEOF
1772 #define __SOLARIS__ 1
1775 cat >>confdefs.h
<<\_ACEOF
1779 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1780 NEEDS_D_REENTRANT_FOR_R_FUNCS
=1
1786 cat >>confdefs.h
<<\_ACEOF
1790 cat >>confdefs.h
<<\_ACEOF
1794 cat >>confdefs.h
<<\_ACEOF
1798 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1803 cat >>confdefs.h
<<\_ACEOF
1804 #define __FREEBSD__ 1
1807 cat >>confdefs.h
<<\_ACEOF
1811 DEFAULT_DEFAULT_wxUSE_GTK
=1
1816 cat >>confdefs.h
<<\_ACEOF
1817 #define __OPENBSD__ 1
1820 cat >>confdefs.h
<<\_ACEOF
1824 DEFAULT_DEFAULT_wxUSE_GTK
=1
1829 cat >>confdefs.h
<<\_ACEOF
1830 #define __NETBSD__ 1
1833 cat >>confdefs.h
<<\_ACEOF
1837 DEFAULT_DEFAULT_wxUSE_GTK
=1
1842 cat >>confdefs.h
<<\_ACEOF
1846 cat >>confdefs.h
<<\_ACEOF
1850 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1851 NEEDS_D_REENTRANT_FOR_R_FUNCS
=1
1856 cat >>confdefs.h
<<\_ACEOF
1860 cat >>confdefs.h
<<\_ACEOF
1864 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1869 cat >>confdefs.h
<<\_ACEOF
1873 cat >>confdefs.h
<<\_ACEOF
1877 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1884 cat >>confdefs.h
<<\_ACEOF
1888 cat >>confdefs.h
<<\_ACEOF
1892 cat >>confdefs.h
<<\_ACEOF
1896 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1903 cat >>confdefs.h
<<\_ACEOF
1904 #define __UNIXWARE__ 1
1909 *-*-cygwin* | *-*-mingw32* )
1913 DEFAULT_DEFAULT_wxUSE_MSW
=1
1919 cat >>confdefs.h
<<\_ACEOF
1924 DEFAULT_DEFAULT_wxUSE_MGL
=1
1925 LIBS
="$LIBS -lstdc++"
1928 *-pc-os2_emx | *-pc-os2-emx )
1929 cat >>confdefs.h
<<\_ACEOF
1934 cat >>confdefs.h
<<\_ACEOF
1939 DEFAULT_DEFAULT_wxUSE_PM
=1
1941 LDFLAGS
="$LDFLAGS -Zcrtdll"
1942 ac_executable_extensions
=".exe"
1943 export ac_executable_extensions
1947 for ac_dir
in $PATH; do
1949 if test -z "$ac_TEMP_PATH"; then
1950 ac_TEMP_PATH
="$ac_dir"
1952 ac_TEMP_PATH
="$ac_TEMP_PATH/$ac_dir"
1955 export PATH
="$ac_TEMP_PATH"
1963 cat >>confdefs.h
<<\_ACEOF
1967 cat >>confdefs.h
<<\_ACEOF
1968 #define __DARWIN__ 1
1971 cat >>confdefs.h
<<\_ACEOF
1972 #define __POWERPC__ 1
1975 cat >>confdefs.h
<<\_ACEOF
1976 #define TARGET_CARBON 1
1979 DEFAULT_DEFAULT_wxUSE_MAC
=1
1984 cat >>confdefs.h
<<\_ACEOF
1991 { { echo "$as_me:$LINENO: error: unknown system type ${host}." >&5
1992 echo "$as_me: error: unknown system type ${host}." >&2;}
1993 { (exit 1); exit 1; }; }
1999 wx_arg_cache_file
="configarg.cache"
2000 echo "loading argument cache $wx_arg_cache_file"
2001 rm -f ${wx_arg_cache_file}.tmp
2002 touch ${wx_arg_cache_file}.tmp
2003 touch ${wx_arg_cache_file}
2007 if test $DEBUG_CONFIGURE = 1; then
2008 DEFAULT_wxUSE_UNIVERSAL
=no
2009 DEFAULT_wxUSE_STL
=no
2011 DEFAULT_wxUSE_NANOX
=no
2013 DEFAULT_wxUSE_THREADS
=yes
2015 DEFAULT_wxUSE_SHARED
=yes
2016 DEFAULT_wxUSE_OPTIMISE
=no
2017 DEFAULT_wxUSE_PROFILE
=no
2018 DEFAULT_wxUSE_NO_DEPS
=no
2019 DEFAULT_wxUSE_NO_RTTI
=no
2020 DEFAULT_wxUSE_NO_EXCEPTIONS
=no
2021 DEFAULT_wxUSE_PERMISSIVE
=no
2022 DEFAULT_wxUSE_DEBUG_FLAG
=yes
2023 DEFAULT_wxUSE_DEBUG_INFO
=yes
2024 DEFAULT_wxUSE_DEBUG_GDB
=yes
2025 DEFAULT_wxUSE_MEM_TRACING
=no
2026 DEFAULT_wxUSE_DEBUG_CONTEXT
=no
2027 DEFAULT_wxUSE_DMALLOC
=no
2028 DEFAULT_wxUSE_APPLE_IEEE
=no
2030 DEFAULT_wxUSE_EXCEPTIONS
=no
2031 DEFAULT_wxUSE_LOG
=yes
2032 DEFAULT_wxUSE_LOGWINDOW
=no
2033 DEFAULT_wxUSE_LOGGUI
=no
2034 DEFAULT_wxUSE_LOGDIALOG
=no
2036 DEFAULT_wxUSE_GUI
=yes
2037 DEFAULT_wxUSE_CONTROLS
=no
2039 DEFAULT_wxUSE_REGEX
=no
2040 DEFAULT_wxUSE_XML
=no
2041 DEFAULT_wxUSE_EXPAT
=no
2042 DEFAULT_wxUSE_ZLIB
=no
2043 DEFAULT_wxUSE_LIBPNG
=no
2044 DEFAULT_wxUSE_LIBJPEG
=no
2045 DEFAULT_wxUSE_LIBTIFF
=no
2046 DEFAULT_wxUSE_LIBXPM
=no
2047 DEFAULT_wxUSE_LIBMSPACK
=no
2048 DEFAULT_wxUSE_LIBSDL
=no
2049 DEFAULT_wxUSE_ODBC
=no
2050 DEFAULT_wxUSE_OPENGL
=no
2052 DEFAULT_wxUSE_ON_FATAL_EXCEPTION
=no
2053 DEFAULT_wxUSE_SNGLINST_CHECKER
=no
2054 DEFAULT_wxUSE_STD_IOSTREAM
=no
2055 DEFAULT_wxUSE_CMDLINE_PARSER
=no
2056 DEFAULT_wxUSE_DATETIME
=no
2057 DEFAULT_wxUSE_TIMER
=no
2058 DEFAULT_wxUSE_STOPWATCH
=no
2059 DEFAULT_wxUSE_FILE
=no
2060 DEFAULT_wxUSE_FFILE
=no
2061 DEFAULT_wxUSE_TEXTBUFFER
=no
2062 DEFAULT_wxUSE_TEXTFILE
=no
2063 DEFAULT_wxUSE_SOUND
=no
2064 DEFAULT_wxUSE_INTL
=no
2065 DEFAULT_wxUSE_CONFIG
=no
2066 DEFAULT_wxUSE_FONTMAP
=no
2067 DEFAULT_wxUSE_STREAMS
=no
2068 DEFAULT_wxUSE_SOCKETS
=no
2069 DEFAULT_wxUSE_OLE
=no
2070 DEFAULT_wxUSE_DATAOBJ
=no
2071 DEFAULT_wxUSE_DIALUP_MANAGER
=no
2072 DEFAULT_wxUSE_JOYSTICK
=no
2073 DEFAULT_wxUSE_DYNLIB_CLASS
=no
2074 DEFAULT_wxUSE_DYNAMIC_LOADER
=no
2075 DEFAULT_wxUSE_LONGLONG
=no
2076 DEFAULT_wxUSE_GEOMETRY
=no
2078 DEFAULT_wxUSE_AFM_FOR_POSTSCRIPT
=no
2079 DEFAULT_wxUSE_NORMALIZED_PS_FONTS
=no
2080 DEFAULT_wxUSE_POSTSCRIPT
=no
2082 DEFAULT_wxUSE_CLIPBOARD
=no
2083 DEFAULT_wxUSE_TOOLTIPS
=no
2084 DEFAULT_wxUSE_DRAG_AND_DROP
=no
2085 DEFAULT_wxUSE_DRAGIMAGE
=no
2086 DEFAULT_wxUSE_SPLINES
=no
2088 DEFAULT_wxUSE_MDI_ARCHITECTURE
=no
2089 DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE
=no
2090 DEFAULT_wxUSE_PRINTING_ARCHITECTURE
=no
2092 DEFAULT_wxUSE_RESOURCES
=no
2093 DEFAULT_wxUSE_CONSTRAINTS
=no
2094 DEFAULT_wxUSE_IPC
=no
2095 DEFAULT_wxUSE_HELP
=no
2096 DEFAULT_wxUSE_MS_HTML_HELP
=no
2097 DEFAULT_wxUSE_WXHTML_HELP
=no
2098 DEFAULT_wxUSE_TREELAYOUT
=no
2099 DEFAULT_wxUSE_METAFILE
=no
2100 DEFAULT_wxUSE_MIMETYPE
=no
2101 DEFAULT_wxUSE_SYSTEM_OPTIONS
=no
2102 DEFAULT_wxUSE_PROTOCOL
=no
2103 DEFAULT_wxUSE_PROTOCOL_HTTP
=no
2104 DEFAULT_wxUSE_PROTOCOL_FTP
=no
2105 DEFAULT_wxUSE_PROTOCOL_FILE
=no
2106 DEFAULT_wxUSE_URL
=no
2108 DEFAULT_wxUSE_COMMONDLGS
=no
2109 DEFAULT_wxUSE_CHOICEDLG
=no
2110 DEFAULT_wxUSE_COLOURDLG
=no
2111 DEFAULT_wxUSE_DIRDLG
=no
2112 DEFAULT_wxUSE_FILEDLG
=no
2113 DEFAULT_wxUSE_FINDREPLDLG
=no
2114 DEFAULT_wxUSE_FONTDLG
=no
2115 DEFAULT_wxUSE_MSGDLG
=no
2116 DEFAULT_wxUSE_NUMBERDLG
=no
2117 DEFAULT_wxUSE_TEXTDLG
=no
2118 DEFAULT_wxUSE_SPLASH
=no
2119 DEFAULT_wxUSE_STARTUP_TIPS
=no
2120 DEFAULT_wxUSE_PROGRESSDLG
=no
2121 DEFAULT_wxUSE_WIZARDDLG
=no
2123 DEFAULT_wxUSE_MENUS
=no
2124 DEFAULT_wxUSE_MINIFRAME
=no
2125 DEFAULT_wxUSE_HTML
=no
2126 DEFAULT_wxUSE_FILESYSTEM
=no
2127 DEFAULT_wxUSE_FS_INET
=no
2128 DEFAULT_wxUSE_FS_ZIP
=no
2129 DEFAULT_wxUSE_BUSYINFO
=no
2130 DEFAULT_wxUSE_ZIPSTREAM
=no
2131 DEFAULT_wxUSE_GZSTREAM
=no
2132 DEFAULT_wxUSE_VALIDATORS
=no
2134 DEFAULT_wxUSE_ACCEL
=no
2135 DEFAULT_wxUSE_BUTTON
=no
2136 DEFAULT_wxUSE_BMPBUTTON
=no
2137 DEFAULT_wxUSE_CALCTRL
=no
2138 DEFAULT_wxUSE_CARET
=no
2139 DEFAULT_wxUSE_CHECKBOX
=no
2140 DEFAULT_wxUSE_CHECKLST
=no
2141 DEFAULT_wxUSE_CHOICE
=no
2142 DEFAULT_wxUSE_COMBOBOX
=no
2143 DEFAULT_wxUSE_DISPLAY
=no
2144 DEFAULT_wxUSE_GAUGE
=no
2145 DEFAULT_wxUSE_GRID
=no
2146 DEFAULT_wxUSE_IMAGLIST
=no
2147 DEFAULT_wxUSE_LISTBOOK
=no
2148 DEFAULT_wxUSE_LISTBOX
=no
2149 DEFAULT_wxUSE_LISTCTRL
=no
2150 DEFAULT_wxUSE_NOTEBOOK
=no
2151 DEFAULT_wxUSE_RADIOBOX
=no
2152 DEFAULT_wxUSE_RADIOBTN
=no
2153 DEFAULT_wxUSE_SASH
=no
2154 DEFAULT_wxUSE_SCROLLBAR
=no
2155 DEFAULT_wxUSE_SLIDER
=no
2156 DEFAULT_wxUSE_SPINBTN
=no
2157 DEFAULT_wxUSE_SPINCTRL
=no
2158 DEFAULT_wxUSE_SPLITTER
=no
2159 DEFAULT_wxUSE_STATBMP
=no
2160 DEFAULT_wxUSE_STATBOX
=no
2161 DEFAULT_wxUSE_STATLINE
=no
2162 DEFAULT_wxUSE_STATTEXT
=no
2163 DEFAULT_wxUSE_STATUSBAR
=yes
2164 DEFAULT_wxUSE_TABDIALOG
=no
2165 DEFAULT_wxUSE_TEXTCTRL
=no
2166 DEFAULT_wxUSE_TOGGLEBTN
=no
2167 DEFAULT_wxUSE_TOOLBAR
=no
2168 DEFAULT_wxUSE_TOOLBAR_NATIVE
=no
2169 DEFAULT_wxUSE_TOOLBAR_SIMPLE
=no
2170 DEFAULT_wxUSE_TREECTRL
=no
2171 DEFAULT_wxUSE_POPUPWIN
=no
2172 DEFAULT_wxUSE_TIPWINDOW
=no
2174 DEFAULT_wxUSE_UNICODE
=no
2175 DEFAULT_wxUSE_UNICODE_MSLU
=no
2176 DEFAULT_wxUSE_WCSRTOMBS
=no
2178 DEFAULT_wxUSE_PALETTE
=no
2179 DEFAULT_wxUSE_IMAGE
=no
2180 DEFAULT_wxUSE_GIF
=no
2181 DEFAULT_wxUSE_PCX
=no
2182 DEFAULT_wxUSE_PNM
=no
2183 DEFAULT_wxUSE_IFF
=no
2184 DEFAULT_wxUSE_XPM
=no
2185 DEFAULT_wxUSE_ICO_CUR
=no
2186 DEFAULT_wxUSE_ACCESSIBILITY
=no
2188 DEFAULT_wxUSE_MONOLITHIC
=no
2189 DEFAULT_wxUSE_PLUGINS
=no
2190 DEFAULT_wxUSE_OFFICIAL_BUILD
=no
2192 DEFAULT_wxUSE_UNIVERSAL
=no
2193 DEFAULT_wxUSE_STL
=no
2195 DEFAULT_wxUSE_NANOX
=no
2197 DEFAULT_wxUSE_THREADS
=yes
2199 DEFAULT_wxUSE_SHARED
=yes
2200 DEFAULT_wxUSE_OPTIMISE
=yes
2201 DEFAULT_wxUSE_PROFILE
=no
2202 DEFAULT_wxUSE_NO_DEPS
=no
2203 DEFAULT_wxUSE_NO_RTTI
=no
2204 DEFAULT_wxUSE_NO_EXCEPTIONS
=no
2205 DEFAULT_wxUSE_PERMISSIVE
=no
2206 DEFAULT_wxUSE_DEBUG_FLAG
=no
2207 DEFAULT_wxUSE_DEBUG_INFO
=no
2208 DEFAULT_wxUSE_DEBUG_GDB
=no
2209 DEFAULT_wxUSE_MEM_TRACING
=no
2210 DEFAULT_wxUSE_DEBUG_CONTEXT
=no
2211 DEFAULT_wxUSE_DMALLOC
=no
2212 DEFAULT_wxUSE_APPLE_IEEE
=yes
2214 DEFAULT_wxUSE_EXCEPTIONS
=yes
2215 DEFAULT_wxUSE_LOG
=yes
2216 DEFAULT_wxUSE_LOGWINDOW
=yes
2217 DEFAULT_wxUSE_LOGGUI
=yes
2218 DEFAULT_wxUSE_LOGDIALOG
=yes
2220 DEFAULT_wxUSE_GUI
=yes
2222 DEFAULT_wxUSE_REGEX
=yes
2223 DEFAULT_wxUSE_XML
=yes
2224 DEFAULT_wxUSE_EXPAT
=yes
2225 DEFAULT_wxUSE_ZLIB
=yes
2226 DEFAULT_wxUSE_LIBPNG
=yes
2227 DEFAULT_wxUSE_LIBJPEG
=yes
2228 DEFAULT_wxUSE_LIBTIFF
=yes
2229 DEFAULT_wxUSE_LIBXPM
=yes
2230 DEFAULT_wxUSE_LIBMSPACK
=yes
2231 DEFAULT_wxUSE_LIBSDL
=no
2232 DEFAULT_wxUSE_ODBC
=no
2233 DEFAULT_wxUSE_OPENGL
=no
2235 DEFAULT_wxUSE_ON_FATAL_EXCEPTION
=yes
2236 DEFAULT_wxUSE_SNGLINST_CHECKER
=yes
2237 DEFAULT_wxUSE_STD_IOSTREAM
=no
2238 DEFAULT_wxUSE_CMDLINE_PARSER
=yes
2239 DEFAULT_wxUSE_DATETIME
=yes
2240 DEFAULT_wxUSE_TIMER
=yes
2241 DEFAULT_wxUSE_STOPWATCH
=yes
2242 DEFAULT_wxUSE_FILE
=yes
2243 DEFAULT_wxUSE_FFILE
=yes
2244 DEFAULT_wxUSE_TEXTBUFFER
=yes
2245 DEFAULT_wxUSE_TEXTFILE
=yes
2246 DEFAULT_wxUSE_SOUND
=yes
2247 DEFAULT_wxUSE_INTL
=yes
2248 DEFAULT_wxUSE_CONFIG
=yes
2249 DEFAULT_wxUSE_FONTMAP
=yes
2250 DEFAULT_wxUSE_STREAMS
=yes
2251 DEFAULT_wxUSE_SOCKETS
=yes
2252 DEFAULT_wxUSE_OLE
=yes
2253 DEFAULT_wxUSE_DATAOBJ
=yes
2254 DEFAULT_wxUSE_DIALUP_MANAGER
=yes
2255 DEFAULT_wxUSE_JOYSTICK
=yes
2256 DEFAULT_wxUSE_DYNLIB_CLASS
=yes
2257 DEFAULT_wxUSE_DYNAMIC_LOADER
=yes
2258 DEFAULT_wxUSE_LONGLONG
=yes
2259 DEFAULT_wxUSE_GEOMETRY
=yes
2261 DEFAULT_wxUSE_AFM_FOR_POSTSCRIPT
=yes
2262 DEFAULT_wxUSE_NORMALIZED_PS_FONTS
=yes
2263 DEFAULT_wxUSE_POSTSCRIPT
=yes
2265 DEFAULT_wxUSE_CLIPBOARD
=yes
2266 DEFAULT_wxUSE_TOOLTIPS
=yes
2267 DEFAULT_wxUSE_DRAG_AND_DROP
=yes
2268 DEFAULT_wxUSE_DRAGIMAGE
=yes
2269 DEFAULT_wxUSE_SPLINES
=yes
2271 DEFAULT_wxUSE_MDI_ARCHITECTURE
=yes
2272 DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE
=yes
2273 DEFAULT_wxUSE_PRINTING_ARCHITECTURE
=yes
2275 DEFAULT_wxUSE_RESOURCES
=no
2276 DEFAULT_wxUSE_CONSTRAINTS
=yes
2277 DEFAULT_wxUSE_IPC
=yes
2278 DEFAULT_wxUSE_HELP
=yes
2279 DEFAULT_wxUSE_MS_HTML_HELP
=yes
2280 DEFAULT_wxUSE_WXHTML_HELP
=yes
2281 DEFAULT_wxUSE_TREELAYOUT
=yes
2282 DEFAULT_wxUSE_METAFILE
=yes
2283 DEFAULT_wxUSE_MIMETYPE
=yes
2284 DEFAULT_wxUSE_SYSTEM_OPTIONS
=yes
2285 DEFAULT_wxUSE_PROTOCOL
=yes
2286 DEFAULT_wxUSE_PROTOCOL_HTTP
=yes
2287 DEFAULT_wxUSE_PROTOCOL_FTP
=yes
2288 DEFAULT_wxUSE_PROTOCOL_FILE
=yes
2289 DEFAULT_wxUSE_URL
=yes
2291 DEFAULT_wxUSE_COMMONDLGS
=yes
2292 DEFAULT_wxUSE_CHOICEDLG
=yes
2293 DEFAULT_wxUSE_COLOURDLG
=yes
2294 DEFAULT_wxUSE_DIRDLG
=yes
2295 DEFAULT_wxUSE_FILEDLG
=yes
2296 DEFAULT_wxUSE_FINDREPLDLG
=yes
2297 DEFAULT_wxUSE_FONTDLG
=yes
2298 DEFAULT_wxUSE_MSGDLG
=yes
2299 DEFAULT_wxUSE_NUMBERDLG
=yes
2300 DEFAULT_wxUSE_TEXTDLG
=yes
2301 DEFAULT_wxUSE_SPLASH
=yes
2302 DEFAULT_wxUSE_STARTUP_TIPS
=yes
2303 DEFAULT_wxUSE_PROGRESSDLG
=yes
2304 DEFAULT_wxUSE_WIZARDDLG
=yes
2306 DEFAULT_wxUSE_MENUS
=yes
2307 DEFAULT_wxUSE_MINIFRAME
=yes
2308 DEFAULT_wxUSE_HTML
=yes
2309 DEFAULT_wxUSE_FILESYSTEM
=yes
2310 DEFAULT_wxUSE_FS_INET
=yes
2311 DEFAULT_wxUSE_FS_ZIP
=yes
2312 DEFAULT_wxUSE_BUSYINFO
=yes
2313 DEFAULT_wxUSE_ZIPSTREAM
=yes
2314 DEFAULT_wxUSE_GZSTREAM
=yes
2315 DEFAULT_wxUSE_VALIDATORS
=yes
2317 DEFAULT_wxUSE_ACCEL
=yes
2318 DEFAULT_wxUSE_BUTTON
=yes
2319 DEFAULT_wxUSE_BMPBUTTON
=yes
2320 DEFAULT_wxUSE_CALCTRL
=yes
2321 DEFAULT_wxUSE_CARET
=yes
2322 DEFAULT_wxUSE_CHECKBOX
=yes
2323 DEFAULT_wxUSE_CHECKLST
=yes
2324 DEFAULT_wxUSE_CHOICE
=yes
2325 DEFAULT_wxUSE_COMBOBOX
=yes
2326 DEFAULT_wxUSE_DISPLAY
=no
2327 DEFAULT_wxUSE_GAUGE
=yes
2328 DEFAULT_wxUSE_GRID
=yes
2329 DEFAULT_wxUSE_IMAGLIST
=yes
2330 DEFAULT_wxUSE_LISTBOOK
=yes
2331 DEFAULT_wxUSE_LISTBOX
=yes
2332 DEFAULT_wxUSE_LISTCTRL
=yes
2333 DEFAULT_wxUSE_NOTEBOOK
=yes
2334 DEFAULT_wxUSE_RADIOBOX
=yes
2335 DEFAULT_wxUSE_RADIOBTN
=yes
2336 DEFAULT_wxUSE_SASH
=yes
2337 DEFAULT_wxUSE_SCROLLBAR
=yes
2338 DEFAULT_wxUSE_SLIDER
=yes
2339 DEFAULT_wxUSE_SPINBTN
=yes
2340 DEFAULT_wxUSE_SPINCTRL
=yes
2341 DEFAULT_wxUSE_SPLITTER
=yes
2342 DEFAULT_wxUSE_STATBMP
=yes
2343 DEFAULT_wxUSE_STATBOX
=yes
2344 DEFAULT_wxUSE_STATLINE
=yes
2345 DEFAULT_wxUSE_STATTEXT
=yes
2346 DEFAULT_wxUSE_STATUSBAR
=yes
2347 DEFAULT_wxUSE_TABDIALOG
=no
2348 DEFAULT_wxUSE_TEXTCTRL
=yes
2349 DEFAULT_wxUSE_TOGGLEBTN
=yes
2350 DEFAULT_wxUSE_TOOLBAR
=yes
2351 DEFAULT_wxUSE_TOOLBAR_NATIVE
=yes
2352 DEFAULT_wxUSE_TOOLBAR_SIMPLE
=yes
2353 DEFAULT_wxUSE_TREECTRL
=yes
2354 DEFAULT_wxUSE_POPUPWIN
=yes
2355 DEFAULT_wxUSE_TIPWINDOW
=yes
2357 DEFAULT_wxUSE_UNICODE
=no
2358 DEFAULT_wxUSE_UNICODE_MSLU
=yes
2359 DEFAULT_wxUSE_WCSRTOMBS
=no
2361 DEFAULT_wxUSE_PALETTE
=yes
2362 DEFAULT_wxUSE_IMAGE
=yes
2363 DEFAULT_wxUSE_GIF
=yes
2364 DEFAULT_wxUSE_PCX
=yes
2365 DEFAULT_wxUSE_IFF
=no
2366 DEFAULT_wxUSE_PNM
=yes
2367 DEFAULT_wxUSE_XPM
=yes
2368 DEFAULT_wxUSE_ICO_CUR
=yes
2369 DEFAULT_wxUSE_ACCESSIBILITY
=no
2371 DEFAULT_wxUSE_MONOLITHIC
=no
2372 DEFAULT_wxUSE_PLUGINS
=no
2373 DEFAULT_wxUSE_OFFICIAL_BUILD
=no
2378 for toolkit
in `echo $ALL_TOOLKITS`; do
2379 LINE
=`grep "wxUSE_$toolkit=" ${wx_arg_cache_file}`
2380 if test "x$LINE" != "x" ; then
2381 has_toolkit_in_cache
=1
2382 eval "DEFAULT_$LINE"
2383 eval "CACHE_$toolkit=1"
2390 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gui" >&5
2391 echo $ECHO_N "checking for --${enablestring:-enable}-gui... $ECHO_C" >&6
2393 # Check whether --enable-gui or --disable-gui was given.
2394 if test "${enable_gui+set}" = set; then
2395 enableval
="$enable_gui"
2397 if test "$enableval" = yes; then
2398 ac_cv_use_gui
='wxUSE_GUI=yes'
2400 ac_cv_use_gui
='wxUSE_GUI=no'
2405 LINE
=`grep "wxUSE_GUI" ${wx_arg_cache_file}`
2406 if test "x$LINE" != x
; then
2407 eval "DEFAULT_$LINE"
2412 ac_cv_use_gui
='wxUSE_GUI='$DEFAULT_wxUSE_GUI
2416 eval "$ac_cv_use_gui"
2417 if test "$no_cache" != 1; then
2418 echo $ac_cv_use_gui >> ${wx_arg_cache_file}.tmp
2421 if test "$wxUSE_GUI" = yes; then
2422 echo "$as_me:$LINENO: result: yes" >&5
2423 echo "${ECHO_T}yes" >&6
2425 echo "$as_me:$LINENO: result: no" >&5
2426 echo "${ECHO_T}no" >&6
2431 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-monolithic" >&5
2432 echo $ECHO_N "checking for --${enablestring:-enable}-monolithic... $ECHO_C" >&6
2434 # Check whether --enable-monolithic or --disable-monolithic was given.
2435 if test "${enable_monolithic+set}" = set; then
2436 enableval
="$enable_monolithic"
2438 if test "$enableval" = yes; then
2439 ac_cv_use_monolithic
='wxUSE_MONOLITHIC=yes'
2441 ac_cv_use_monolithic
='wxUSE_MONOLITHIC=no'
2446 LINE
=`grep "wxUSE_MONOLITHIC" ${wx_arg_cache_file}`
2447 if test "x$LINE" != x
; then
2448 eval "DEFAULT_$LINE"
2453 ac_cv_use_monolithic
='wxUSE_MONOLITHIC='$DEFAULT_wxUSE_MONOLITHIC
2457 eval "$ac_cv_use_monolithic"
2458 if test "$no_cache" != 1; then
2459 echo $ac_cv_use_monolithic >> ${wx_arg_cache_file}.tmp
2462 if test "$wxUSE_MONOLITHIC" = yes; then
2463 echo "$as_me:$LINENO: result: yes" >&5
2464 echo "${ECHO_T}yes" >&6
2466 echo "$as_me:$LINENO: result: no" >&5
2467 echo "${ECHO_T}no" >&6
2472 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-plugins" >&5
2473 echo $ECHO_N "checking for --${enablestring:-enable}-plugins... $ECHO_C" >&6
2475 # Check whether --enable-plugins or --disable-plugins was given.
2476 if test "${enable_plugins+set}" = set; then
2477 enableval
="$enable_plugins"
2479 if test "$enableval" = yes; then
2480 ac_cv_use_plugins
='wxUSE_PLUGINS=yes'
2482 ac_cv_use_plugins
='wxUSE_PLUGINS=no'
2487 LINE
=`grep "wxUSE_PLUGINS" ${wx_arg_cache_file}`
2488 if test "x$LINE" != x
; then
2489 eval "DEFAULT_$LINE"
2494 ac_cv_use_plugins
='wxUSE_PLUGINS='$DEFAULT_wxUSE_PLUGINS
2498 eval "$ac_cv_use_plugins"
2499 if test "$no_cache" != 1; then
2500 echo $ac_cv_use_plugins >> ${wx_arg_cache_file}.tmp
2503 if test "$wxUSE_PLUGINS" = yes; then
2504 echo "$as_me:$LINENO: result: yes" >&5
2505 echo "${ECHO_T}yes" >&6
2507 echo "$as_me:$LINENO: result: no" >&5
2508 echo "${ECHO_T}no" >&6
2512 if test "$wxUSE_GUI" = "yes"; then
2516 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-universal" >&5
2517 echo $ECHO_N "checking for --${enablestring:-enable}-universal... $ECHO_C" >&6
2519 # Check whether --enable-universal or --disable-universal was given.
2520 if test "${enable_universal+set}" = set; then
2521 enableval
="$enable_universal"
2523 if test "$enableval" = yes; then
2524 ac_cv_use_universal
='wxUSE_UNIVERSAL=yes'
2526 ac_cv_use_universal
='wxUSE_UNIVERSAL=no'
2531 LINE
=`grep "wxUSE_UNIVERSAL" ${wx_arg_cache_file}`
2532 if test "x$LINE" != x
; then
2533 eval "DEFAULT_$LINE"
2538 ac_cv_use_universal
='wxUSE_UNIVERSAL='$DEFAULT_wxUSE_UNIVERSAL
2542 eval "$ac_cv_use_universal"
2543 if test "$no_cache" != 1; then
2544 echo $ac_cv_use_universal >> ${wx_arg_cache_file}.tmp
2547 if test "$wxUSE_UNIVERSAL" = yes; then
2548 echo "$as_me:$LINENO: result: yes" >&5
2549 echo "${ECHO_T}yes" >&6
2551 echo "$as_me:$LINENO: result: no" >&5
2552 echo "${ECHO_T}no" >&6
2556 # Check whether --with-gtk or --without-gtk was given.
2557 if test "${with_gtk+set}" = set; then
2559 wxUSE_GTK
="$withval" CACHE_GTK
=1 TOOLKIT_GIVEN
=1
2562 # Check whether --with-motif or --without-motif was given.
2563 if test "${with_motif+set}" = set; then
2564 withval
="$with_motif"
2565 wxUSE_MOTIF
="$withval" CACHE_MOTIF
=1 TOOLKIT_GIVEN
=1
2568 # Check whether --with-mac or --without-mac was given.
2569 if test "${with_mac+set}" = set; then
2571 wxUSE_MAC
="$withval" TOOLKIT_GIVEN
=1
2574 # Check whether --with-cocoa or --without-cocoa was given.
2575 if test "${with_cocoa+set}" = set; then
2576 withval
="$with_cocoa"
2577 wxUSE_COCOA
="$withval" TOOLKIT_GIVEN
=1
2580 # Check whether --with-wine or --without-wine was given.
2581 if test "${with_wine+set}" = set; then
2582 withval
="$with_wine"
2583 wxUSE_WINE
="$withval" CACHE_WINE
=1
2586 # Check whether --with-msw or --without-msw was given.
2587 if test "${with_msw+set}" = set; then
2589 wxUSE_MSW
="$withval" CACHE_MSW
=1 TOOLKIT_GIVEN
=1
2592 # Check whether --with-pm or --without-pm was given.
2593 if test "${with_pm+set}" = set; then
2595 wxUSE_PM
="$withval" CACHE_PM
=1 TOOLKIT_GIVEN
=1
2598 # Check whether --with-mgl or --without-mgl was given.
2599 if test "${with_mgl+set}" = set; then
2601 wxUSE_MGL
="$withval" wxUSE_UNIVERSAL
="yes" CACHE_MGL
=1 TOOLKIT_GIVEN
=1
2604 # Check whether --with-microwin or --without-microwin was given.
2605 if test "${with_microwin+set}" = set; then
2606 withval
="$with_microwin"
2607 wxUSE_MICROWIN
="$withval" CACHE_MICROWIN
=1 TOOLKIT_GIVEN
=1
2610 # Check whether --with-x11 or --without-x11 was given.
2611 if test "${with_x11+set}" = set; then
2613 wxUSE_X11
="$withval" wxUSE_UNIVERSAL
="yes" CACHE_X11
=1 TOOLKIT_GIVEN
=1
2617 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-nanox" >&5
2618 echo $ECHO_N "checking for --${enablestring:-enable}-nanox... $ECHO_C" >&6
2620 # Check whether --enable-nanox or --disable-nanox was given.
2621 if test "${enable_nanox+set}" = set; then
2622 enableval
="$enable_nanox"
2624 if test "$enableval" = yes; then
2625 ac_cv_use_nanox
='wxUSE_NANOX=yes'
2627 ac_cv_use_nanox
='wxUSE_NANOX=no'
2632 LINE
=`grep "wxUSE_NANOX" ${wx_arg_cache_file}`
2633 if test "x$LINE" != x
; then
2634 eval "DEFAULT_$LINE"
2639 ac_cv_use_nanox
='wxUSE_NANOX='$DEFAULT_wxUSE_NANOX
2643 eval "$ac_cv_use_nanox"
2644 if test "$no_cache" != 1; then
2645 echo $ac_cv_use_nanox >> ${wx_arg_cache_file}.tmp
2648 if test "$wxUSE_NANOX" = yes; then
2649 echo "$as_me:$LINENO: result: yes" >&5
2650 echo "${ECHO_T}yes" >&6
2652 echo "$as_me:$LINENO: result: no" >&5
2653 echo "${ECHO_T}no" >&6
2659 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gtk2" >&5
2660 echo $ECHO_N "checking for --${enablestring:-enable}-gtk2... $ECHO_C" >&6
2662 # Check whether --enable-gtk2 or --disable-gtk2 was given.
2663 if test "${enable_gtk2+set}" = set; then
2664 enableval
="$enable_gtk2"
2666 if test "$enableval" = yes; then
2667 ac_cv_use_gtk2
='wxUSE_GTK2=yes'
2669 ac_cv_use_gtk2
='wxUSE_GTK2=no'
2674 LINE
=`grep "wxUSE_GTK2" ${wx_arg_cache_file}`
2675 if test "x$LINE" != x
; then
2676 eval "DEFAULT_$LINE"
2681 ac_cv_use_gtk2
='wxUSE_GTK2='$DEFAULT_wxUSE_GTK2
2685 eval "$ac_cv_use_gtk2"
2686 if test "$no_cache" != 1; then
2687 echo $ac_cv_use_gtk2 >> ${wx_arg_cache_file}.tmp
2690 if test "$wxUSE_GTK2" = yes; then
2691 echo "$as_me:$LINENO: result: yes" >&5
2692 echo "${ECHO_T}yes" >&6
2694 echo "$as_me:$LINENO: result: no" >&5
2695 echo "${ECHO_T}no" >&6
2700 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gpe" >&5
2701 echo $ECHO_N "checking for --${enablestring:-enable}-gpe... $ECHO_C" >&6
2703 # Check whether --enable-gpe or --disable-gpe was given.
2704 if test "${enable_gpe+set}" = set; then
2705 enableval
="$enable_gpe"
2707 if test "$enableval" = yes; then
2708 ac_cv_use_gpe
='wxUSE_GPE=yes'
2710 ac_cv_use_gpe
='wxUSE_GPE=no'
2715 LINE
=`grep "wxUSE_GPE" ${wx_arg_cache_file}`
2716 if test "x$LINE" != x
; then
2717 eval "DEFAULT_$LINE"
2722 ac_cv_use_gpe
='wxUSE_GPE='$DEFAULT_wxUSE_GPE
2726 eval "$ac_cv_use_gpe"
2727 if test "$no_cache" != 1; then
2728 echo $ac_cv_use_gpe >> ${wx_arg_cache_file}.tmp
2731 if test "$wxUSE_GPE" = yes; then
2732 echo "$as_me:$LINENO: result: yes" >&5
2733 echo "${ECHO_T}yes" >&6
2735 echo "$as_me:$LINENO: result: no" >&5
2736 echo "${ECHO_T}no" >&6
2741 echo "$as_me:$LINENO: checking for --with-libpng" >&5
2742 echo $ECHO_N "checking for --with-libpng... $ECHO_C" >&6
2745 # Check whether --with-libpng or --without-libpng was given.
2746 if test "${with_libpng+set}" = set; then
2747 withval
="$with_libpng"
2749 if test "$withval" = yes; then
2750 ac_cv_use_libpng
='wxUSE_LIBPNG=yes'
2751 elif test "$withval" = no
; then
2752 ac_cv_use_libpng
='wxUSE_LIBPNG=no'
2753 elif test "$withval" = sys
; then
2754 ac_cv_use_libpng
='wxUSE_LIBPNG=sys'
2755 elif test "$withval" = builtin; then
2756 ac_cv_use_libpng
='wxUSE_LIBPNG=builtin'
2758 { { echo "$as_me:$LINENO: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&5
2759 echo "$as_me: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&2;}
2760 { (exit 1); exit 1; }; }
2765 LINE
=`grep "wxUSE_LIBPNG" ${wx_arg_cache_file}`
2766 if test "x$LINE" != x
; then
2767 eval "DEFAULT_$LINE"
2772 ac_cv_use_libpng
='wxUSE_LIBPNG='$DEFAULT_wxUSE_LIBPNG
2776 eval "$ac_cv_use_libpng"
2777 if test "$no_cache" != 1; then
2778 echo $ac_cv_use_libpng >> ${wx_arg_cache_file}.tmp
2781 if test "$wxUSE_LIBPNG" = yes; then
2782 echo "$as_me:$LINENO: result: yes" >&5
2783 echo "${ECHO_T}yes" >&6
2784 elif test "$wxUSE_LIBPNG" = no
; then
2785 echo "$as_me:$LINENO: result: no" >&5
2786 echo "${ECHO_T}no" >&6
2787 elif test "$wxUSE_LIBPNG" = sys
; then
2788 echo "$as_me:$LINENO: result: system version" >&5
2789 echo "${ECHO_T}system version" >&6
2790 elif test "$wxUSE_LIBPNG" = builtin; then
2791 echo "$as_me:$LINENO: result: builtin version" >&5
2792 echo "${ECHO_T}builtin version" >&6
2794 { { echo "$as_me:$LINENO: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&5
2795 echo "$as_me: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&2;}
2796 { (exit 1); exit 1; }; }
2800 echo "$as_me:$LINENO: checking for --with-libjpeg" >&5
2801 echo $ECHO_N "checking for --with-libjpeg... $ECHO_C" >&6
2804 # Check whether --with-libjpeg or --without-libjpeg was given.
2805 if test "${with_libjpeg+set}" = set; then
2806 withval
="$with_libjpeg"
2808 if test "$withval" = yes; then
2809 ac_cv_use_libjpeg
='wxUSE_LIBJPEG=yes'
2810 elif test "$withval" = no
; then
2811 ac_cv_use_libjpeg
='wxUSE_LIBJPEG=no'
2812 elif test "$withval" = sys
; then
2813 ac_cv_use_libjpeg
='wxUSE_LIBJPEG=sys'
2814 elif test "$withval" = builtin; then
2815 ac_cv_use_libjpeg
='wxUSE_LIBJPEG=builtin'
2817 { { echo "$as_me:$LINENO: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&5
2818 echo "$as_me: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&2;}
2819 { (exit 1); exit 1; }; }
2824 LINE
=`grep "wxUSE_LIBJPEG" ${wx_arg_cache_file}`
2825 if test "x$LINE" != x
; then
2826 eval "DEFAULT_$LINE"
2831 ac_cv_use_libjpeg
='wxUSE_LIBJPEG='$DEFAULT_wxUSE_LIBJPEG
2835 eval "$ac_cv_use_libjpeg"
2836 if test "$no_cache" != 1; then
2837 echo $ac_cv_use_libjpeg >> ${wx_arg_cache_file}.tmp
2840 if test "$wxUSE_LIBJPEG" = yes; then
2841 echo "$as_me:$LINENO: result: yes" >&5
2842 echo "${ECHO_T}yes" >&6
2843 elif test "$wxUSE_LIBJPEG" = no
; then
2844 echo "$as_me:$LINENO: result: no" >&5
2845 echo "${ECHO_T}no" >&6
2846 elif test "$wxUSE_LIBJPEG" = sys
; then
2847 echo "$as_me:$LINENO: result: system version" >&5
2848 echo "${ECHO_T}system version" >&6
2849 elif test "$wxUSE_LIBJPEG" = builtin; then
2850 echo "$as_me:$LINENO: result: builtin version" >&5
2851 echo "${ECHO_T}builtin version" >&6
2853 { { echo "$as_me:$LINENO: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&5
2854 echo "$as_me: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&2;}
2855 { (exit 1); exit 1; }; }
2859 echo "$as_me:$LINENO: checking for --with-libtiff" >&5
2860 echo $ECHO_N "checking for --with-libtiff... $ECHO_C" >&6
2863 # Check whether --with-libtiff or --without-libtiff was given.
2864 if test "${with_libtiff+set}" = set; then
2865 withval
="$with_libtiff"
2867 if test "$withval" = yes; then
2868 ac_cv_use_libtiff
='wxUSE_LIBTIFF=yes'
2869 elif test "$withval" = no
; then
2870 ac_cv_use_libtiff
='wxUSE_LIBTIFF=no'
2871 elif test "$withval" = sys
; then
2872 ac_cv_use_libtiff
='wxUSE_LIBTIFF=sys'
2873 elif test "$withval" = builtin; then
2874 ac_cv_use_libtiff
='wxUSE_LIBTIFF=builtin'
2876 { { echo "$as_me:$LINENO: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&5
2877 echo "$as_me: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&2;}
2878 { (exit 1); exit 1; }; }
2883 LINE
=`grep "wxUSE_LIBTIFF" ${wx_arg_cache_file}`
2884 if test "x$LINE" != x
; then
2885 eval "DEFAULT_$LINE"
2890 ac_cv_use_libtiff
='wxUSE_LIBTIFF='$DEFAULT_wxUSE_LIBTIFF
2894 eval "$ac_cv_use_libtiff"
2895 if test "$no_cache" != 1; then
2896 echo $ac_cv_use_libtiff >> ${wx_arg_cache_file}.tmp
2899 if test "$wxUSE_LIBTIFF" = yes; then
2900 echo "$as_me:$LINENO: result: yes" >&5
2901 echo "${ECHO_T}yes" >&6
2902 elif test "$wxUSE_LIBTIFF" = no
; then
2903 echo "$as_me:$LINENO: result: no" >&5
2904 echo "${ECHO_T}no" >&6
2905 elif test "$wxUSE_LIBTIFF" = sys
; then
2906 echo "$as_me:$LINENO: result: system version" >&5
2907 echo "${ECHO_T}system version" >&6
2908 elif test "$wxUSE_LIBTIFF" = builtin; then
2909 echo "$as_me:$LINENO: result: builtin version" >&5
2910 echo "${ECHO_T}builtin version" >&6
2912 { { echo "$as_me:$LINENO: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&5
2913 echo "$as_me: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&2;}
2914 { (exit 1); exit 1; }; }
2918 echo "$as_me:$LINENO: checking for --with-libxpm" >&5
2919 echo $ECHO_N "checking for --with-libxpm... $ECHO_C" >&6
2922 # Check whether --with-libxpm or --without-libxpm was given.
2923 if test "${with_libxpm+set}" = set; then
2924 withval
="$with_libxpm"
2926 if test "$withval" = yes; then
2927 ac_cv_use_libxpm
='wxUSE_LIBXPM=yes'
2928 elif test "$withval" = no
; then
2929 ac_cv_use_libxpm
='wxUSE_LIBXPM=no'
2930 elif test "$withval" = sys
; then
2931 ac_cv_use_libxpm
='wxUSE_LIBXPM=sys'
2932 elif test "$withval" = builtin; then
2933 ac_cv_use_libxpm
='wxUSE_LIBXPM=builtin'
2935 { { echo "$as_me:$LINENO: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&5
2936 echo "$as_me: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&2;}
2937 { (exit 1); exit 1; }; }
2942 LINE
=`grep "wxUSE_LIBXPM" ${wx_arg_cache_file}`
2943 if test "x$LINE" != x
; then
2944 eval "DEFAULT_$LINE"
2949 ac_cv_use_libxpm
='wxUSE_LIBXPM='$DEFAULT_wxUSE_LIBXPM
2953 eval "$ac_cv_use_libxpm"
2954 if test "$no_cache" != 1; then
2955 echo $ac_cv_use_libxpm >> ${wx_arg_cache_file}.tmp
2958 if test "$wxUSE_LIBXPM" = yes; then
2959 echo "$as_me:$LINENO: result: yes" >&5
2960 echo "${ECHO_T}yes" >&6
2961 elif test "$wxUSE_LIBXPM" = no
; then
2962 echo "$as_me:$LINENO: result: no" >&5
2963 echo "${ECHO_T}no" >&6
2964 elif test "$wxUSE_LIBXPM" = sys
; then
2965 echo "$as_me:$LINENO: result: system version" >&5
2966 echo "${ECHO_T}system version" >&6
2967 elif test "$wxUSE_LIBXPM" = builtin; then
2968 echo "$as_me:$LINENO: result: builtin version" >&5
2969 echo "${ECHO_T}builtin version" >&6
2971 { { echo "$as_me:$LINENO: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&5
2972 echo "$as_me: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&2;}
2973 { (exit 1); exit 1; }; }
2977 echo "$as_me:$LINENO: checking for --with-libmspack" >&5
2978 echo $ECHO_N "checking for --with-libmspack... $ECHO_C" >&6
2981 # Check whether --with-libmspack or --without-libmspack was given.
2982 if test "${with_libmspack+set}" = set; then
2983 withval
="$with_libmspack"
2985 if test "$withval" = yes; then
2986 ac_cv_use_libmspack
='wxUSE_LIBMSPACK=yes'
2988 ac_cv_use_libmspack
='wxUSE_LIBMSPACK=no'
2993 LINE
=`grep "wxUSE_LIBMSPACK" ${wx_arg_cache_file}`
2994 if test "x$LINE" != x
; then
2995 eval "DEFAULT_$LINE"
3000 ac_cv_use_libmspack
='wxUSE_LIBMSPACK='$DEFAULT_wxUSE_LIBMSPACK
3004 eval "$ac_cv_use_libmspack"
3005 if test "$no_cache" != 1; then
3006 echo $ac_cv_use_libmspack >> ${wx_arg_cache_file}.tmp
3009 if test "$wxUSE_LIBMSPACK" = yes; then
3010 echo "$as_me:$LINENO: result: yes" >&5
3011 echo "${ECHO_T}yes" >&6
3013 echo "$as_me:$LINENO: result: no" >&5
3014 echo "${ECHO_T}no" >&6
3018 echo "$as_me:$LINENO: checking for --with-sdl" >&5
3019 echo $ECHO_N "checking for --with-sdl... $ECHO_C" >&6
3022 # Check whether --with-sdl or --without-sdl was given.
3023 if test "${with_sdl+set}" = set; then
3026 if test "$withval" = yes; then
3027 ac_cv_use_sdl
='wxUSE_LIBSDL=yes'
3029 ac_cv_use_sdl
='wxUSE_LIBSDL=no'
3034 LINE
=`grep "wxUSE_LIBSDL" ${wx_arg_cache_file}`
3035 if test "x$LINE" != x
; then
3036 eval "DEFAULT_$LINE"
3041 ac_cv_use_sdl
='wxUSE_LIBSDL='$DEFAULT_wxUSE_LIBSDL
3045 eval "$ac_cv_use_sdl"
3046 if test "$no_cache" != 1; then
3047 echo $ac_cv_use_sdl >> ${wx_arg_cache_file}.tmp
3050 if test "$wxUSE_LIBSDL" = yes; then
3051 echo "$as_me:$LINENO: result: yes" >&5
3052 echo "${ECHO_T}yes" >&6
3054 echo "$as_me:$LINENO: result: no" >&5
3055 echo "${ECHO_T}no" >&6
3059 echo "$as_me:$LINENO: checking for --with-opengl" >&5
3060 echo $ECHO_N "checking for --with-opengl... $ECHO_C" >&6
3063 # Check whether --with-opengl or --without-opengl was given.
3064 if test "${with_opengl+set}" = set; then
3065 withval
="$with_opengl"
3067 if test "$withval" = yes; then
3068 ac_cv_use_opengl
='wxUSE_OPENGL=yes'
3070 ac_cv_use_opengl
='wxUSE_OPENGL=no'
3075 LINE
=`grep "wxUSE_OPENGL" ${wx_arg_cache_file}`
3076 if test "x$LINE" != x
; then
3077 eval "DEFAULT_$LINE"
3082 ac_cv_use_opengl
='wxUSE_OPENGL='$DEFAULT_wxUSE_OPENGL
3086 eval "$ac_cv_use_opengl"
3087 if test "$no_cache" != 1; then
3088 echo $ac_cv_use_opengl >> ${wx_arg_cache_file}.tmp
3091 if test "$wxUSE_OPENGL" = yes; then
3092 echo "$as_me:$LINENO: result: yes" >&5
3093 echo "${ECHO_T}yes" >&6
3095 echo "$as_me:$LINENO: result: no" >&5
3096 echo "${ECHO_T}no" >&6
3103 echo "$as_me:$LINENO: checking for --with-dmalloc" >&5
3104 echo $ECHO_N "checking for --with-dmalloc... $ECHO_C" >&6
3107 # Check whether --with-dmalloc or --without-dmalloc was given.
3108 if test "${with_dmalloc+set}" = set; then
3109 withval
="$with_dmalloc"
3111 if test "$withval" = yes; then
3112 ac_cv_use_dmalloc
='wxUSE_DMALLOC=yes'
3114 ac_cv_use_dmalloc
='wxUSE_DMALLOC=no'
3119 LINE
=`grep "wxUSE_DMALLOC" ${wx_arg_cache_file}`
3120 if test "x$LINE" != x
; then
3121 eval "DEFAULT_$LINE"
3126 ac_cv_use_dmalloc
='wxUSE_DMALLOC='$DEFAULT_wxUSE_DMALLOC
3130 eval "$ac_cv_use_dmalloc"
3131 if test "$no_cache" != 1; then
3132 echo $ac_cv_use_dmalloc >> ${wx_arg_cache_file}.tmp
3135 if test "$wxUSE_DMALLOC" = yes; then
3136 echo "$as_me:$LINENO: result: yes" >&5
3137 echo "${ECHO_T}yes" >&6
3139 echo "$as_me:$LINENO: result: no" >&5
3140 echo "${ECHO_T}no" >&6
3144 echo "$as_me:$LINENO: checking for --with-regex" >&5
3145 echo $ECHO_N "checking for --with-regex... $ECHO_C" >&6
3148 # Check whether --with-regex or --without-regex was given.
3149 if test "${with_regex+set}" = set; then
3150 withval
="$with_regex"
3152 if test "$withval" = yes; then
3153 ac_cv_use_regex
='wxUSE_REGEX=yes'
3154 elif test "$withval" = no
; then
3155 ac_cv_use_regex
='wxUSE_REGEX=no'
3156 elif test "$withval" = sys
; then
3157 ac_cv_use_regex
='wxUSE_REGEX=sys'
3158 elif test "$withval" = builtin; then
3159 ac_cv_use_regex
='wxUSE_REGEX=builtin'
3161 { { echo "$as_me:$LINENO: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&5
3162 echo "$as_me: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&2;}
3163 { (exit 1); exit 1; }; }
3168 LINE
=`grep "wxUSE_REGEX" ${wx_arg_cache_file}`
3169 if test "x$LINE" != x
; then
3170 eval "DEFAULT_$LINE"
3175 ac_cv_use_regex
='wxUSE_REGEX='$DEFAULT_wxUSE_REGEX
3179 eval "$ac_cv_use_regex"
3180 if test "$no_cache" != 1; then
3181 echo $ac_cv_use_regex >> ${wx_arg_cache_file}.tmp
3184 if test "$wxUSE_REGEX" = yes; then
3185 echo "$as_me:$LINENO: result: yes" >&5
3186 echo "${ECHO_T}yes" >&6
3187 elif test "$wxUSE_REGEX" = no
; then
3188 echo "$as_me:$LINENO: result: no" >&5
3189 echo "${ECHO_T}no" >&6
3190 elif test "$wxUSE_REGEX" = sys
; then
3191 echo "$as_me:$LINENO: result: system version" >&5
3192 echo "${ECHO_T}system version" >&6
3193 elif test "$wxUSE_REGEX" = builtin; then
3194 echo "$as_me:$LINENO: result: builtin version" >&5
3195 echo "${ECHO_T}builtin version" >&6
3197 { { echo "$as_me:$LINENO: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&5
3198 echo "$as_me: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&2;}
3199 { (exit 1); exit 1; }; }
3203 echo "$as_me:$LINENO: checking for --with-zlib" >&5
3204 echo $ECHO_N "checking for --with-zlib... $ECHO_C" >&6
3207 # Check whether --with-zlib or --without-zlib was given.
3208 if test "${with_zlib+set}" = set; then
3209 withval
="$with_zlib"
3211 if test "$withval" = yes; then
3212 ac_cv_use_zlib
='wxUSE_ZLIB=yes'
3213 elif test "$withval" = no
; then
3214 ac_cv_use_zlib
='wxUSE_ZLIB=no'
3215 elif test "$withval" = sys
; then
3216 ac_cv_use_zlib
='wxUSE_ZLIB=sys'
3217 elif test "$withval" = builtin; then
3218 ac_cv_use_zlib
='wxUSE_ZLIB=builtin'
3220 { { echo "$as_me:$LINENO: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&5
3221 echo "$as_me: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&2;}
3222 { (exit 1); exit 1; }; }
3227 LINE
=`grep "wxUSE_ZLIB" ${wx_arg_cache_file}`
3228 if test "x$LINE" != x
; then
3229 eval "DEFAULT_$LINE"
3234 ac_cv_use_zlib
='wxUSE_ZLIB='$DEFAULT_wxUSE_ZLIB
3238 eval "$ac_cv_use_zlib"
3239 if test "$no_cache" != 1; then
3240 echo $ac_cv_use_zlib >> ${wx_arg_cache_file}.tmp
3243 if test "$wxUSE_ZLIB" = yes; then
3244 echo "$as_me:$LINENO: result: yes" >&5
3245 echo "${ECHO_T}yes" >&6
3246 elif test "$wxUSE_ZLIB" = no
; then
3247 echo "$as_me:$LINENO: result: no" >&5
3248 echo "${ECHO_T}no" >&6
3249 elif test "$wxUSE_ZLIB" = sys
; then
3250 echo "$as_me:$LINENO: result: system version" >&5
3251 echo "${ECHO_T}system version" >&6
3252 elif test "$wxUSE_ZLIB" = builtin; then
3253 echo "$as_me:$LINENO: result: builtin version" >&5
3254 echo "${ECHO_T}builtin version" >&6
3256 { { echo "$as_me:$LINENO: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&5
3257 echo "$as_me: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&2;}
3258 { (exit 1); exit 1; }; }
3262 echo "$as_me:$LINENO: checking for --with-odbc" >&5
3263 echo $ECHO_N "checking for --with-odbc... $ECHO_C" >&6
3266 # Check whether --with-odbc or --without-odbc was given.
3267 if test "${with_odbc+set}" = set; then
3268 withval
="$with_odbc"
3270 if test "$withval" = yes; then
3271 ac_cv_use_odbc
='wxUSE_ODBC=yes'
3272 elif test "$withval" = no
; then
3273 ac_cv_use_odbc
='wxUSE_ODBC=no'
3274 elif test "$withval" = sys
; then
3275 ac_cv_use_odbc
='wxUSE_ODBC=sys'
3276 elif test "$withval" = builtin; then
3277 ac_cv_use_odbc
='wxUSE_ODBC=builtin'
3279 { { echo "$as_me:$LINENO: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&5
3280 echo "$as_me: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&2;}
3281 { (exit 1); exit 1; }; }
3286 LINE
=`grep "wxUSE_ODBC" ${wx_arg_cache_file}`
3287 if test "x$LINE" != x
; then
3288 eval "DEFAULT_$LINE"
3293 ac_cv_use_odbc
='wxUSE_ODBC='$DEFAULT_wxUSE_ODBC
3297 eval "$ac_cv_use_odbc"
3298 if test "$no_cache" != 1; then
3299 echo $ac_cv_use_odbc >> ${wx_arg_cache_file}.tmp
3302 if test "$wxUSE_ODBC" = yes; then
3303 echo "$as_me:$LINENO: result: yes" >&5
3304 echo "${ECHO_T}yes" >&6
3305 elif test "$wxUSE_ODBC" = no
; then
3306 echo "$as_me:$LINENO: result: no" >&5
3307 echo "${ECHO_T}no" >&6
3308 elif test "$wxUSE_ODBC" = sys
; then
3309 echo "$as_me:$LINENO: result: system version" >&5
3310 echo "${ECHO_T}system version" >&6
3311 elif test "$wxUSE_ODBC" = builtin; then
3312 echo "$as_me:$LINENO: result: builtin version" >&5
3313 echo "${ECHO_T}builtin version" >&6
3315 { { echo "$as_me:$LINENO: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&5
3316 echo "$as_me: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&2;}
3317 { (exit 1); exit 1; }; }
3321 echo "$as_me:$LINENO: checking for --with-expat" >&5
3322 echo $ECHO_N "checking for --with-expat... $ECHO_C" >&6
3325 # Check whether --with-expat or --without-expat was given.
3326 if test "${with_expat+set}" = set; then
3327 withval
="$with_expat"
3329 if test "$withval" = yes; then
3330 ac_cv_use_expat
='wxUSE_EXPAT=yes'
3331 elif test "$withval" = no
; then
3332 ac_cv_use_expat
='wxUSE_EXPAT=no'
3333 elif test "$withval" = sys
; then
3334 ac_cv_use_expat
='wxUSE_EXPAT=sys'
3335 elif test "$withval" = builtin; then
3336 ac_cv_use_expat
='wxUSE_EXPAT=builtin'
3338 { { echo "$as_me:$LINENO: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&5
3339 echo "$as_me: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&2;}
3340 { (exit 1); exit 1; }; }
3345 LINE
=`grep "wxUSE_EXPAT" ${wx_arg_cache_file}`
3346 if test "x$LINE" != x
; then
3347 eval "DEFAULT_$LINE"
3352 ac_cv_use_expat
='wxUSE_EXPAT='$DEFAULT_wxUSE_EXPAT
3356 eval "$ac_cv_use_expat"
3357 if test "$no_cache" != 1; then
3358 echo $ac_cv_use_expat >> ${wx_arg_cache_file}.tmp
3361 if test "$wxUSE_EXPAT" = yes; then
3362 echo "$as_me:$LINENO: result: yes" >&5
3363 echo "${ECHO_T}yes" >&6
3364 elif test "$wxUSE_EXPAT" = no
; then
3365 echo "$as_me:$LINENO: result: no" >&5
3366 echo "${ECHO_T}no" >&6
3367 elif test "$wxUSE_EXPAT" = sys
; then
3368 echo "$as_me:$LINENO: result: system version" >&5
3369 echo "${ECHO_T}system version" >&6
3370 elif test "$wxUSE_EXPAT" = builtin; then
3371 echo "$as_me:$LINENO: result: builtin version" >&5
3372 echo "${ECHO_T}builtin version" >&6
3374 { { echo "$as_me:$LINENO: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&5
3375 echo "$as_me: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&2;}
3376 { (exit 1); exit 1; }; }
3383 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-shared" >&5
3384 echo $ECHO_N "checking for --${enablestring:-enable}-shared... $ECHO_C" >&6
3386 # Check whether --enable-shared or --disable-shared was given.
3387 if test "${enable_shared+set}" = set; then
3388 enableval
="$enable_shared"
3390 if test "$enableval" = yes; then
3391 ac_cv_use_shared
='wxUSE_SHARED=yes'
3393 ac_cv_use_shared
='wxUSE_SHARED=no'
3398 LINE
=`grep "wxUSE_SHARED" ${wx_arg_cache_file}`
3399 if test "x$LINE" != x
; then
3400 eval "DEFAULT_$LINE"
3405 ac_cv_use_shared
='wxUSE_SHARED='$DEFAULT_wxUSE_SHARED
3409 eval "$ac_cv_use_shared"
3410 if test "$no_cache" != 1; then
3411 echo $ac_cv_use_shared >> ${wx_arg_cache_file}.tmp
3414 if test "$wxUSE_SHARED" = yes; then
3415 echo "$as_me:$LINENO: result: yes" >&5
3416 echo "${ECHO_T}yes" >&6
3418 echo "$as_me:$LINENO: result: no" >&5
3419 echo "${ECHO_T}no" >&6
3424 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-optimise" >&5
3425 echo $ECHO_N "checking for --${enablestring:-enable}-optimise... $ECHO_C" >&6
3427 # Check whether --enable-optimise or --disable-optimise was given.
3428 if test "${enable_optimise+set}" = set; then
3429 enableval
="$enable_optimise"
3431 if test "$enableval" = yes; then
3432 ac_cv_use_optimise
='wxUSE_OPTIMISE=yes'
3434 ac_cv_use_optimise
='wxUSE_OPTIMISE=no'
3439 LINE
=`grep "wxUSE_OPTIMISE" ${wx_arg_cache_file}`
3440 if test "x$LINE" != x
; then
3441 eval "DEFAULT_$LINE"
3446 ac_cv_use_optimise
='wxUSE_OPTIMISE='$DEFAULT_wxUSE_OPTIMISE
3450 eval "$ac_cv_use_optimise"
3451 if test "$no_cache" != 1; then
3452 echo $ac_cv_use_optimise >> ${wx_arg_cache_file}.tmp
3455 if test "$wxUSE_OPTIMISE" = yes; then
3456 echo "$as_me:$LINENO: result: yes" >&5
3457 echo "${ECHO_T}yes" >&6
3459 echo "$as_me:$LINENO: result: no" >&5
3460 echo "${ECHO_T}no" >&6
3465 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug" >&5
3466 echo $ECHO_N "checking for --${enablestring:-enable}-debug... $ECHO_C" >&6
3468 # Check whether --enable-debug or --disable-debug was given.
3469 if test "${enable_debug+set}" = set; then
3470 enableval
="$enable_debug"
3472 if test "$enableval" = yes; then
3473 ac_cv_use_debug
='wxUSE_DEBUG=yes'
3475 ac_cv_use_debug
='wxUSE_DEBUG=no'
3480 LINE
=`grep "wxUSE_DEBUG" ${wx_arg_cache_file}`
3481 if test "x$LINE" != x
; then
3482 eval "DEFAULT_$LINE"
3487 ac_cv_use_debug
='wxUSE_DEBUG='$DEFAULT_wxUSE_DEBUG
3491 eval "$ac_cv_use_debug"
3492 if test "$no_cache" != 1; then
3493 echo $ac_cv_use_debug >> ${wx_arg_cache_file}.tmp
3496 if test "$wxUSE_DEBUG" = yes; then
3497 echo "$as_me:$LINENO: result: yes" >&5
3498 echo "${ECHO_T}yes" >&6
3500 echo "$as_me:$LINENO: result: no" >&5
3501 echo "${ECHO_T}no" >&6
3506 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stl" >&5
3507 echo $ECHO_N "checking for --${enablestring:-enable}-stl... $ECHO_C" >&6
3509 # Check whether --enable-stl or --disable-stl was given.
3510 if test "${enable_stl+set}" = set; then
3511 enableval
="$enable_stl"
3513 if test "$enableval" = yes; then
3514 ac_cv_use_stl
='wxUSE_STL=yes'
3516 ac_cv_use_stl
='wxUSE_STL=no'
3521 LINE
=`grep "wxUSE_STL" ${wx_arg_cache_file}`
3522 if test "x$LINE" != x
; then
3523 eval "DEFAULT_$LINE"
3528 ac_cv_use_stl
='wxUSE_STL='$DEFAULT_wxUSE_STL
3532 eval "$ac_cv_use_stl"
3533 if test "$no_cache" != 1; then
3534 echo $ac_cv_use_stl >> ${wx_arg_cache_file}.tmp
3537 if test "$wxUSE_STL" = yes; then
3538 echo "$as_me:$LINENO: result: yes" >&5
3539 echo "${ECHO_T}yes" >&6
3541 echo "$as_me:$LINENO: result: no" >&5
3542 echo "${ECHO_T}no" >&6
3546 if test "$wxUSE_DEBUG" = "yes"; then
3547 DEFAULT_wxUSE_DEBUG_FLAG
=yes
3548 DEFAULT_wxUSE_DEBUG_INFO
=yes
3550 elif test "$wxUSE_DEBUG" = "no"; then
3551 DEFAULT_wxUSE_DEBUG_FLAG
=no
3552 DEFAULT_wxUSE_DEBUG_INFO
=no
3558 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_flag" >&5
3559 echo $ECHO_N "checking for --${enablestring:-enable}-debug_flag... $ECHO_C" >&6
3561 # Check whether --enable-debug_flag or --disable-debug_flag was given.
3562 if test "${enable_debug_flag+set}" = set; then
3563 enableval
="$enable_debug_flag"
3565 if test "$enableval" = yes; then
3566 ac_cv_use_debug_flag
='wxUSE_DEBUG_FLAG=yes'
3568 ac_cv_use_debug_flag
='wxUSE_DEBUG_FLAG=no'
3573 LINE
=`grep "wxUSE_DEBUG_FLAG" ${wx_arg_cache_file}`
3574 if test "x$LINE" != x
; then
3575 eval "DEFAULT_$LINE"
3580 ac_cv_use_debug_flag
='wxUSE_DEBUG_FLAG='$DEFAULT_wxUSE_DEBUG_FLAG
3584 eval "$ac_cv_use_debug_flag"
3585 if test "$no_cache" != 1; then
3586 echo $ac_cv_use_debug_flag >> ${wx_arg_cache_file}.tmp
3589 if test "$wxUSE_DEBUG_FLAG" = 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 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_info" >&5
3600 echo $ECHO_N "checking for --${enablestring:-enable}-debug_info... $ECHO_C" >&6
3602 # Check whether --enable-debug_info or --disable-debug_info was given.
3603 if test "${enable_debug_info+set}" = set; then
3604 enableval
="$enable_debug_info"
3606 if test "$enableval" = yes; then
3607 ac_cv_use_debug_info
='wxUSE_DEBUG_INFO=yes'
3609 ac_cv_use_debug_info
='wxUSE_DEBUG_INFO=no'
3614 LINE
=`grep "wxUSE_DEBUG_INFO" ${wx_arg_cache_file}`
3615 if test "x$LINE" != x
; then
3616 eval "DEFAULT_$LINE"
3621 ac_cv_use_debug_info
='wxUSE_DEBUG_INFO='$DEFAULT_wxUSE_DEBUG_INFO
3625 eval "$ac_cv_use_debug_info"
3626 if test "$no_cache" != 1; then
3627 echo $ac_cv_use_debug_info >> ${wx_arg_cache_file}.tmp
3630 if test "$wxUSE_DEBUG_INFO" = yes; then
3631 echo "$as_me:$LINENO: result: yes" >&5
3632 echo "${ECHO_T}yes" >&6
3634 echo "$as_me:$LINENO: result: no" >&5
3635 echo "${ECHO_T}no" >&6
3640 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_gdb" >&5
3641 echo $ECHO_N "checking for --${enablestring:-enable}-debug_gdb... $ECHO_C" >&6
3643 # Check whether --enable-debug_gdb or --disable-debug_gdb was given.
3644 if test "${enable_debug_gdb+set}" = set; then
3645 enableval
="$enable_debug_gdb"
3647 if test "$enableval" = yes; then
3648 ac_cv_use_debug_gdb
='wxUSE_DEBUG_GDB=yes'
3650 ac_cv_use_debug_gdb
='wxUSE_DEBUG_GDB=no'
3655 LINE
=`grep "wxUSE_DEBUG_GDB" ${wx_arg_cache_file}`
3656 if test "x$LINE" != x
; then
3657 eval "DEFAULT_$LINE"
3662 ac_cv_use_debug_gdb
='wxUSE_DEBUG_GDB='$DEFAULT_wxUSE_DEBUG_GDB
3666 eval "$ac_cv_use_debug_gdb"
3667 if test "$no_cache" != 1; then
3668 echo $ac_cv_use_debug_gdb >> ${wx_arg_cache_file}.tmp
3671 if test "$wxUSE_DEBUG_GDB" = yes; then
3672 echo "$as_me:$LINENO: result: yes" >&5
3673 echo "${ECHO_T}yes" >&6
3675 echo "$as_me:$LINENO: result: no" >&5
3676 echo "${ECHO_T}no" >&6
3681 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_cntxt" >&5
3682 echo $ECHO_N "checking for --${enablestring:-enable}-debug_cntxt... $ECHO_C" >&6
3684 # Check whether --enable-debug_cntxt or --disable-debug_cntxt was given.
3685 if test "${enable_debug_cntxt+set}" = set; then
3686 enableval
="$enable_debug_cntxt"
3688 if test "$enableval" = yes; then
3689 ac_cv_use_debug_cntxt
='wxUSE_DEBUG_CONTEXT=yes'
3691 ac_cv_use_debug_cntxt
='wxUSE_DEBUG_CONTEXT=no'
3696 LINE
=`grep "wxUSE_DEBUG_CONTEXT" ${wx_arg_cache_file}`
3697 if test "x$LINE" != x
; then
3698 eval "DEFAULT_$LINE"
3703 ac_cv_use_debug_cntxt
='wxUSE_DEBUG_CONTEXT='$DEFAULT_wxUSE_DEBUG_CONTEXT
3707 eval "$ac_cv_use_debug_cntxt"
3708 if test "$no_cache" != 1; then
3709 echo $ac_cv_use_debug_cntxt >> ${wx_arg_cache_file}.tmp
3712 if test "$wxUSE_DEBUG_CONTEXT" = yes; then
3713 echo "$as_me:$LINENO: result: yes" >&5
3714 echo "${ECHO_T}yes" >&6
3716 echo "$as_me:$LINENO: result: no" >&5
3717 echo "${ECHO_T}no" >&6
3722 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mem_tracing" >&5
3723 echo $ECHO_N "checking for --${enablestring:-enable}-mem_tracing... $ECHO_C" >&6
3725 # Check whether --enable-mem_tracing or --disable-mem_tracing was given.
3726 if test "${enable_mem_tracing+set}" = set; then
3727 enableval
="$enable_mem_tracing"
3729 if test "$enableval" = yes; then
3730 ac_cv_use_mem_tracing
='wxUSE_MEM_TRACING=yes'
3732 ac_cv_use_mem_tracing
='wxUSE_MEM_TRACING=no'
3737 LINE
=`grep "wxUSE_MEM_TRACING" ${wx_arg_cache_file}`
3738 if test "x$LINE" != x
; then
3739 eval "DEFAULT_$LINE"
3744 ac_cv_use_mem_tracing
='wxUSE_MEM_TRACING='$DEFAULT_wxUSE_MEM_TRACING
3748 eval "$ac_cv_use_mem_tracing"
3749 if test "$no_cache" != 1; then
3750 echo $ac_cv_use_mem_tracing >> ${wx_arg_cache_file}.tmp
3753 if test "$wxUSE_MEM_TRACING" = yes; then
3754 echo "$as_me:$LINENO: result: yes" >&5
3755 echo "${ECHO_T}yes" >&6
3757 echo "$as_me:$LINENO: result: no" >&5
3758 echo "${ECHO_T}no" >&6
3763 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-profile" >&5
3764 echo $ECHO_N "checking for --${enablestring:-enable}-profile... $ECHO_C" >&6
3766 # Check whether --enable-profile or --disable-profile was given.
3767 if test "${enable_profile+set}" = set; then
3768 enableval
="$enable_profile"
3770 if test "$enableval" = yes; then
3771 ac_cv_use_profile
='wxUSE_PROFILE=yes'
3773 ac_cv_use_profile
='wxUSE_PROFILE=no'
3778 LINE
=`grep "wxUSE_PROFILE" ${wx_arg_cache_file}`
3779 if test "x$LINE" != x
; then
3780 eval "DEFAULT_$LINE"
3785 ac_cv_use_profile
='wxUSE_PROFILE='$DEFAULT_wxUSE_PROFILE
3789 eval "$ac_cv_use_profile"
3790 if test "$no_cache" != 1; then
3791 echo $ac_cv_use_profile >> ${wx_arg_cache_file}.tmp
3794 if test "$wxUSE_PROFILE" = yes; then
3795 echo "$as_me:$LINENO: result: yes" >&5
3796 echo "${ECHO_T}yes" >&6
3798 echo "$as_me:$LINENO: result: no" >&5
3799 echo "${ECHO_T}no" >&6
3804 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_rtti" >&5
3805 echo $ECHO_N "checking for --${enablestring:-enable}-no_rtti... $ECHO_C" >&6
3807 # Check whether --enable-no_rtti or --disable-no_rtti was given.
3808 if test "${enable_no_rtti+set}" = set; then
3809 enableval
="$enable_no_rtti"
3811 if test "$enableval" = yes; then
3812 ac_cv_use_no_rtti
='wxUSE_NO_RTTI=yes'
3814 ac_cv_use_no_rtti
='wxUSE_NO_RTTI=no'
3819 LINE
=`grep "wxUSE_NO_RTTI" ${wx_arg_cache_file}`
3820 if test "x$LINE" != x
; then
3821 eval "DEFAULT_$LINE"
3826 ac_cv_use_no_rtti
='wxUSE_NO_RTTI='$DEFAULT_wxUSE_NO_RTTI
3830 eval "$ac_cv_use_no_rtti"
3831 if test "$no_cache" != 1; then
3832 echo $ac_cv_use_no_rtti >> ${wx_arg_cache_file}.tmp
3835 if test "$wxUSE_NO_RTTI" = yes; then
3836 echo "$as_me:$LINENO: result: yes" >&5
3837 echo "${ECHO_T}yes" >&6
3839 echo "$as_me:$LINENO: result: no" >&5
3840 echo "${ECHO_T}no" >&6
3845 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_exceptions" >&5
3846 echo $ECHO_N "checking for --${enablestring:-enable}-no_exceptions... $ECHO_C" >&6
3848 # Check whether --enable-no_exceptions or --disable-no_exceptions was given.
3849 if test "${enable_no_exceptions+set}" = set; then
3850 enableval
="$enable_no_exceptions"
3852 if test "$enableval" = yes; then
3853 ac_cv_use_no_exceptions
='wxUSE_NO_EXCEPTIONS=yes'
3855 ac_cv_use_no_exceptions
='wxUSE_NO_EXCEPTIONS=no'
3860 LINE
=`grep "wxUSE_NO_EXCEPTIONS" ${wx_arg_cache_file}`
3861 if test "x$LINE" != x
; then
3862 eval "DEFAULT_$LINE"
3867 ac_cv_use_no_exceptions
='wxUSE_NO_EXCEPTIONS='$DEFAULT_wxUSE_NO_EXCEPTIONS
3871 eval "$ac_cv_use_no_exceptions"
3872 if test "$no_cache" != 1; then
3873 echo $ac_cv_use_no_exceptions >> ${wx_arg_cache_file}.tmp
3876 if test "$wxUSE_NO_EXCEPTIONS" = yes; then
3877 echo "$as_me:$LINENO: result: yes" >&5
3878 echo "${ECHO_T}yes" >&6
3880 echo "$as_me:$LINENO: result: no" >&5
3881 echo "${ECHO_T}no" >&6
3886 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-permissive" >&5
3887 echo $ECHO_N "checking for --${enablestring:-enable}-permissive... $ECHO_C" >&6
3889 # Check whether --enable-permissive or --disable-permissive was given.
3890 if test "${enable_permissive+set}" = set; then
3891 enableval
="$enable_permissive"
3893 if test "$enableval" = yes; then
3894 ac_cv_use_permissive
='wxUSE_PERMISSIVE=yes'
3896 ac_cv_use_permissive
='wxUSE_PERMISSIVE=no'
3901 LINE
=`grep "wxUSE_PERMISSIVE" ${wx_arg_cache_file}`
3902 if test "x$LINE" != x
; then
3903 eval "DEFAULT_$LINE"
3908 ac_cv_use_permissive
='wxUSE_PERMISSIVE='$DEFAULT_wxUSE_PERMISSIVE
3912 eval "$ac_cv_use_permissive"
3913 if test "$no_cache" != 1; then
3914 echo $ac_cv_use_permissive >> ${wx_arg_cache_file}.tmp
3917 if test "$wxUSE_PERMISSIVE" = yes; then
3918 echo "$as_me:$LINENO: result: yes" >&5
3919 echo "${ECHO_T}yes" >&6
3921 echo "$as_me:$LINENO: result: no" >&5
3922 echo "${ECHO_T}no" >&6
3927 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_deps" >&5
3928 echo $ECHO_N "checking for --${enablestring:-enable}-no_deps... $ECHO_C" >&6
3930 # Check whether --enable-no_deps or --disable-no_deps was given.
3931 if test "${enable_no_deps+set}" = set; then
3932 enableval
="$enable_no_deps"
3934 if test "$enableval" = yes; then
3935 ac_cv_use_no_deps
='wxUSE_NO_DEPS=yes'
3937 ac_cv_use_no_deps
='wxUSE_NO_DEPS=no'
3942 LINE
=`grep "wxUSE_NO_DEPS" ${wx_arg_cache_file}`
3943 if test "x$LINE" != x
; then
3944 eval "DEFAULT_$LINE"
3949 ac_cv_use_no_deps
='wxUSE_NO_DEPS='$DEFAULT_wxUSE_NO_DEPS
3953 eval "$ac_cv_use_no_deps"
3954 if test "$no_cache" != 1; then
3955 echo $ac_cv_use_no_deps >> ${wx_arg_cache_file}.tmp
3958 if test "$wxUSE_NO_DEPS" = yes; then
3959 echo "$as_me:$LINENO: result: yes" >&5
3960 echo "${ECHO_T}yes" >&6
3962 echo "$as_me:$LINENO: result: no" >&5
3963 echo "${ECHO_T}no" >&6
3969 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-compat22" >&5
3970 echo $ECHO_N "checking for --${enablestring:-enable}-compat22... $ECHO_C" >&6
3972 # Check whether --enable-compat22 or --disable-compat22 was given.
3973 if test "${enable_compat22+set}" = set; then
3974 enableval
="$enable_compat22"
3976 if test "$enableval" = yes; then
3977 ac_cv_use_compat22
='WXWIN_COMPATIBILITY_2_2=yes'
3979 ac_cv_use_compat22
='WXWIN_COMPATIBILITY_2_2=no'
3984 LINE
=`grep "WXWIN_COMPATIBILITY_2_2" ${wx_arg_cache_file}`
3985 if test "x$LINE" != x
; then
3986 eval "DEFAULT_$LINE"
3991 ac_cv_use_compat22
='WXWIN_COMPATIBILITY_2_2='$DEFAULT_WXWIN_COMPATIBILITY_2_2
3995 eval "$ac_cv_use_compat22"
3996 if test "$no_cache" != 1; then
3997 echo $ac_cv_use_compat22 >> ${wx_arg_cache_file}.tmp
4000 if test "$WXWIN_COMPATIBILITY_2_2" = yes; then
4001 echo "$as_me:$LINENO: result: yes" >&5
4002 echo "${ECHO_T}yes" >&6
4004 echo "$as_me:$LINENO: result: no" >&5
4005 echo "${ECHO_T}no" >&6
4009 enablestring
=disable
4010 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-compat24" >&5
4011 echo $ECHO_N "checking for --${enablestring:-enable}-compat24... $ECHO_C" >&6
4013 # Check whether --enable-compat24 or --disable-compat24 was given.
4014 if test "${enable_compat24+set}" = set; then
4015 enableval
="$enable_compat24"
4017 if test "$enableval" = yes; then
4018 ac_cv_use_compat24
='WXWIN_COMPATIBILITY_2_4=yes'
4020 ac_cv_use_compat24
='WXWIN_COMPATIBILITY_2_4=no'
4025 LINE
=`grep "WXWIN_COMPATIBILITY_2_4" ${wx_arg_cache_file}`
4026 if test "x$LINE" != x
; then
4027 eval "DEFAULT_$LINE"
4032 ac_cv_use_compat24
='WXWIN_COMPATIBILITY_2_4='$DEFAULT_WXWIN_COMPATIBILITY_2_4
4036 eval "$ac_cv_use_compat24"
4037 if test "$no_cache" != 1; then
4038 echo $ac_cv_use_compat24 >> ${wx_arg_cache_file}.tmp
4041 if test "$WXWIN_COMPATIBILITY_2_4" = yes; then
4042 echo "$as_me:$LINENO: result: yes" >&5
4043 echo "${ECHO_T}yes" >&6
4045 echo "$as_me:$LINENO: result: no" >&5
4046 echo "${ECHO_T}no" >&6
4050 # Check whether --enable-rpath or --disable-rpath was given.
4051 if test "${enable_rpath+set}" = set; then
4052 enableval
="$enable_rpath"
4053 wxRPATH_DIR
="$enableval"
4056 if test "$wxRPATH_DIR" != "" -a "$wxRPATH_DIR" != "disable"; then
4057 WXCONFIG_RPATH
="-Wl,-rpath -Wl,$wxRPATH_DIR"
4064 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-intl" >&5
4065 echo $ECHO_N "checking for --${enablestring:-enable}-intl... $ECHO_C" >&6
4067 # Check whether --enable-intl or --disable-intl was given.
4068 if test "${enable_intl+set}" = set; then
4069 enableval
="$enable_intl"
4071 if test "$enableval" = yes; then
4072 ac_cv_use_intl
='wxUSE_INTL=yes'
4074 ac_cv_use_intl
='wxUSE_INTL=no'
4079 LINE
=`grep "wxUSE_INTL" ${wx_arg_cache_file}`
4080 if test "x$LINE" != x
; then
4081 eval "DEFAULT_$LINE"
4086 ac_cv_use_intl
='wxUSE_INTL='$DEFAULT_wxUSE_INTL
4090 eval "$ac_cv_use_intl"
4091 if test "$no_cache" != 1; then
4092 echo $ac_cv_use_intl >> ${wx_arg_cache_file}.tmp
4095 if test "$wxUSE_INTL" = yes; then
4096 echo "$as_me:$LINENO: result: yes" >&5
4097 echo "${ECHO_T}yes" >&6
4099 echo "$as_me:$LINENO: result: no" >&5
4100 echo "${ECHO_T}no" >&6
4105 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-config" >&5
4106 echo $ECHO_N "checking for --${enablestring:-enable}-config... $ECHO_C" >&6
4108 # Check whether --enable-config or --disable-config was given.
4109 if test "${enable_config+set}" = set; then
4110 enableval
="$enable_config"
4112 if test "$enableval" = yes; then
4113 ac_cv_use_config
='wxUSE_CONFIG=yes'
4115 ac_cv_use_config
='wxUSE_CONFIG=no'
4120 LINE
=`grep "wxUSE_CONFIG" ${wx_arg_cache_file}`
4121 if test "x$LINE" != x
; then
4122 eval "DEFAULT_$LINE"
4127 ac_cv_use_config
='wxUSE_CONFIG='$DEFAULT_wxUSE_CONFIG
4131 eval "$ac_cv_use_config"
4132 if test "$no_cache" != 1; then
4133 echo $ac_cv_use_config >> ${wx_arg_cache_file}.tmp
4136 if test "$wxUSE_CONFIG" = yes; then
4137 echo "$as_me:$LINENO: result: yes" >&5
4138 echo "${ECHO_T}yes" >&6
4140 echo "$as_me:$LINENO: result: no" >&5
4141 echo "${ECHO_T}no" >&6
4147 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocols" >&5
4148 echo $ECHO_N "checking for --${enablestring:-enable}-protocols... $ECHO_C" >&6
4150 # Check whether --enable-protocols or --disable-protocols was given.
4151 if test "${enable_protocols+set}" = set; then
4152 enableval
="$enable_protocols"
4154 if test "$enableval" = yes; then
4155 ac_cv_use_protocols
='wxUSE_PROTOCOL=yes'
4157 ac_cv_use_protocols
='wxUSE_PROTOCOL=no'
4162 LINE
=`grep "wxUSE_PROTOCOL" ${wx_arg_cache_file}`
4163 if test "x$LINE" != x
; then
4164 eval "DEFAULT_$LINE"
4169 ac_cv_use_protocols
='wxUSE_PROTOCOL='$DEFAULT_wxUSE_PROTOCOL
4173 eval "$ac_cv_use_protocols"
4174 if test "$no_cache" != 1; then
4175 echo $ac_cv_use_protocols >> ${wx_arg_cache_file}.tmp
4178 if test "$wxUSE_PROTOCOL" = yes; then
4179 echo "$as_me:$LINENO: result: yes" >&5
4180 echo "${ECHO_T}yes" >&6
4182 echo "$as_me:$LINENO: result: no" >&5
4183 echo "${ECHO_T}no" >&6
4188 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ftp" >&5
4189 echo $ECHO_N "checking for --${enablestring:-enable}-ftp... $ECHO_C" >&6
4191 # Check whether --enable-ftp or --disable-ftp was given.
4192 if test "${enable_ftp+set}" = set; then
4193 enableval
="$enable_ftp"
4195 if test "$enableval" = yes; then
4196 ac_cv_use_ftp
='wxUSE_PROTOCOL_FTP=yes'
4198 ac_cv_use_ftp
='wxUSE_PROTOCOL_FTP=no'
4203 LINE
=`grep "wxUSE_PROTOCOL_FTP" ${wx_arg_cache_file}`
4204 if test "x$LINE" != x
; then
4205 eval "DEFAULT_$LINE"
4210 ac_cv_use_ftp
='wxUSE_PROTOCOL_FTP='$DEFAULT_wxUSE_PROTOCOL_FTP
4214 eval "$ac_cv_use_ftp"
4215 if test "$no_cache" != 1; then
4216 echo $ac_cv_use_ftp >> ${wx_arg_cache_file}.tmp
4219 if test "$wxUSE_PROTOCOL_FTP" = yes; then
4220 echo "$as_me:$LINENO: result: yes" >&5
4221 echo "${ECHO_T}yes" >&6
4223 echo "$as_me:$LINENO: result: no" >&5
4224 echo "${ECHO_T}no" >&6
4229 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-http" >&5
4230 echo $ECHO_N "checking for --${enablestring:-enable}-http... $ECHO_C" >&6
4232 # Check whether --enable-http or --disable-http was given.
4233 if test "${enable_http+set}" = set; then
4234 enableval
="$enable_http"
4236 if test "$enableval" = yes; then
4237 ac_cv_use_http
='wxUSE_PROTOCOL_HTTP=yes'
4239 ac_cv_use_http
='wxUSE_PROTOCOL_HTTP=no'
4244 LINE
=`grep "wxUSE_PROTOCOL_HTTP" ${wx_arg_cache_file}`
4245 if test "x$LINE" != x
; then
4246 eval "DEFAULT_$LINE"
4251 ac_cv_use_http
='wxUSE_PROTOCOL_HTTP='$DEFAULT_wxUSE_PROTOCOL_HTTP
4255 eval "$ac_cv_use_http"
4256 if test "$no_cache" != 1; then
4257 echo $ac_cv_use_http >> ${wx_arg_cache_file}.tmp
4260 if test "$wxUSE_PROTOCOL_HTTP" = yes; then
4261 echo "$as_me:$LINENO: result: yes" >&5
4262 echo "${ECHO_T}yes" >&6
4264 echo "$as_me:$LINENO: result: no" >&5
4265 echo "${ECHO_T}no" >&6
4270 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fileproto" >&5
4271 echo $ECHO_N "checking for --${enablestring:-enable}-fileproto... $ECHO_C" >&6
4273 # Check whether --enable-fileproto or --disable-fileproto was given.
4274 if test "${enable_fileproto+set}" = set; then
4275 enableval
="$enable_fileproto"
4277 if test "$enableval" = yes; then
4278 ac_cv_use_fileproto
='wxUSE_PROTOCOL_FILE=yes'
4280 ac_cv_use_fileproto
='wxUSE_PROTOCOL_FILE=no'
4285 LINE
=`grep "wxUSE_PROTOCOL_FILE" ${wx_arg_cache_file}`
4286 if test "x$LINE" != x
; then
4287 eval "DEFAULT_$LINE"
4292 ac_cv_use_fileproto
='wxUSE_PROTOCOL_FILE='$DEFAULT_wxUSE_PROTOCOL_FILE
4296 eval "$ac_cv_use_fileproto"
4297 if test "$no_cache" != 1; then
4298 echo $ac_cv_use_fileproto >> ${wx_arg_cache_file}.tmp
4301 if test "$wxUSE_PROTOCOL_FILE" = yes; then
4302 echo "$as_me:$LINENO: result: yes" >&5
4303 echo "${ECHO_T}yes" >&6
4305 echo "$as_me:$LINENO: result: no" >&5
4306 echo "${ECHO_T}no" >&6
4311 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sockets" >&5
4312 echo $ECHO_N "checking for --${enablestring:-enable}-sockets... $ECHO_C" >&6
4314 # Check whether --enable-sockets or --disable-sockets was given.
4315 if test "${enable_sockets+set}" = set; then
4316 enableval
="$enable_sockets"
4318 if test "$enableval" = yes; then
4319 ac_cv_use_sockets
='wxUSE_SOCKETS=yes'
4321 ac_cv_use_sockets
='wxUSE_SOCKETS=no'
4326 LINE
=`grep "wxUSE_SOCKETS" ${wx_arg_cache_file}`
4327 if test "x$LINE" != x
; then
4328 eval "DEFAULT_$LINE"
4333 ac_cv_use_sockets
='wxUSE_SOCKETS='$DEFAULT_wxUSE_SOCKETS
4337 eval "$ac_cv_use_sockets"
4338 if test "$no_cache" != 1; then
4339 echo $ac_cv_use_sockets >> ${wx_arg_cache_file}.tmp
4342 if test "$wxUSE_SOCKETS" = yes; then
4343 echo "$as_me:$LINENO: result: yes" >&5
4344 echo "${ECHO_T}yes" >&6
4346 echo "$as_me:$LINENO: result: no" >&5
4347 echo "${ECHO_T}no" >&6
4352 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ole" >&5
4353 echo $ECHO_N "checking for --${enablestring:-enable}-ole... $ECHO_C" >&6
4355 # Check whether --enable-ole or --disable-ole was given.
4356 if test "${enable_ole+set}" = set; then
4357 enableval
="$enable_ole"
4359 if test "$enableval" = yes; then
4360 ac_cv_use_ole
='wxUSE_OLE=yes'
4362 ac_cv_use_ole
='wxUSE_OLE=no'
4367 LINE
=`grep "wxUSE_OLE" ${wx_arg_cache_file}`
4368 if test "x$LINE" != x
; then
4369 eval "DEFAULT_$LINE"
4374 ac_cv_use_ole
='wxUSE_OLE='$DEFAULT_wxUSE_OLE
4378 eval "$ac_cv_use_ole"
4379 if test "$no_cache" != 1; then
4380 echo $ac_cv_use_ole >> ${wx_arg_cache_file}.tmp
4383 if test "$wxUSE_OLE" = yes; then
4384 echo "$as_me:$LINENO: result: yes" >&5
4385 echo "${ECHO_T}yes" >&6
4387 echo "$as_me:$LINENO: result: no" >&5
4388 echo "${ECHO_T}no" >&6
4393 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dataobj" >&5
4394 echo $ECHO_N "checking for --${enablestring:-enable}-dataobj... $ECHO_C" >&6
4396 # Check whether --enable-dataobj or --disable-dataobj was given.
4397 if test "${enable_dataobj+set}" = set; then
4398 enableval
="$enable_dataobj"
4400 if test "$enableval" = yes; then
4401 ac_cv_use_dataobj
='wxUSE_DATAOBJ=yes'
4403 ac_cv_use_dataobj
='wxUSE_DATAOBJ=no'
4408 LINE
=`grep "wxUSE_DATAOBJ" ${wx_arg_cache_file}`
4409 if test "x$LINE" != x
; then
4410 eval "DEFAULT_$LINE"
4415 ac_cv_use_dataobj
='wxUSE_DATAOBJ='$DEFAULT_wxUSE_DATAOBJ
4419 eval "$ac_cv_use_dataobj"
4420 if test "$no_cache" != 1; then
4421 echo $ac_cv_use_dataobj >> ${wx_arg_cache_file}.tmp
4424 if test "$wxUSE_DATAOBJ" = yes; then
4425 echo "$as_me:$LINENO: result: yes" >&5
4426 echo "${ECHO_T}yes" >&6
4428 echo "$as_me:$LINENO: result: no" >&5
4429 echo "${ECHO_T}no" >&6
4435 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ipc" >&5
4436 echo $ECHO_N "checking for --${enablestring:-enable}-ipc... $ECHO_C" >&6
4438 # Check whether --enable-ipc or --disable-ipc was given.
4439 if test "${enable_ipc+set}" = set; then
4440 enableval
="$enable_ipc"
4442 if test "$enableval" = yes; then
4443 ac_cv_use_ipc
='wxUSE_IPC=yes'
4445 ac_cv_use_ipc
='wxUSE_IPC=no'
4450 LINE
=`grep "wxUSE_IPC" ${wx_arg_cache_file}`
4451 if test "x$LINE" != x
; then
4452 eval "DEFAULT_$LINE"
4457 ac_cv_use_ipc
='wxUSE_IPC='$DEFAULT_wxUSE_IPC
4461 eval "$ac_cv_use_ipc"
4462 if test "$no_cache" != 1; then
4463 echo $ac_cv_use_ipc >> ${wx_arg_cache_file}.tmp
4466 if test "$wxUSE_IPC" = yes; then
4467 echo "$as_me:$LINENO: result: yes" >&5
4468 echo "${ECHO_T}yes" >&6
4470 echo "$as_me:$LINENO: result: no" >&5
4471 echo "${ECHO_T}no" >&6
4477 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-apple_ieee" >&5
4478 echo $ECHO_N "checking for --${enablestring:-enable}-apple_ieee... $ECHO_C" >&6
4480 # Check whether --enable-apple_ieee or --disable-apple_ieee was given.
4481 if test "${enable_apple_ieee+set}" = set; then
4482 enableval
="$enable_apple_ieee"
4484 if test "$enableval" = yes; then
4485 ac_cv_use_apple_ieee
='wxUSE_APPLE_IEEE=yes'
4487 ac_cv_use_apple_ieee
='wxUSE_APPLE_IEEE=no'
4492 LINE
=`grep "wxUSE_APPLE_IEEE" ${wx_arg_cache_file}`
4493 if test "x$LINE" != x
; then
4494 eval "DEFAULT_$LINE"
4499 ac_cv_use_apple_ieee
='wxUSE_APPLE_IEEE='$DEFAULT_wxUSE_APPLE_IEEE
4503 eval "$ac_cv_use_apple_ieee"
4504 if test "$no_cache" != 1; then
4505 echo $ac_cv_use_apple_ieee >> ${wx_arg_cache_file}.tmp
4508 if test "$wxUSE_APPLE_IEEE" = yes; then
4509 echo "$as_me:$LINENO: result: yes" >&5
4510 echo "${ECHO_T}yes" >&6
4512 echo "$as_me:$LINENO: result: no" >&5
4513 echo "${ECHO_T}no" >&6
4518 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-catch_segvs" >&5
4519 echo $ECHO_N "checking for --${enablestring:-enable}-catch_segvs... $ECHO_C" >&6
4521 # Check whether --enable-catch_segvs or --disable-catch_segvs was given.
4522 if test "${enable_catch_segvs+set}" = set; then
4523 enableval
="$enable_catch_segvs"
4525 if test "$enableval" = yes; then
4526 ac_cv_use_catch_segvs
='wxUSE_ON_FATAL_EXCEPTION=yes'
4528 ac_cv_use_catch_segvs
='wxUSE_ON_FATAL_EXCEPTION=no'
4533 LINE
=`grep "wxUSE_ON_FATAL_EXCEPTION" ${wx_arg_cache_file}`
4534 if test "x$LINE" != x
; then
4535 eval "DEFAULT_$LINE"
4540 ac_cv_use_catch_segvs
='wxUSE_ON_FATAL_EXCEPTION='$DEFAULT_wxUSE_ON_FATAL_EXCEPTION
4544 eval "$ac_cv_use_catch_segvs"
4545 if test "$no_cache" != 1; then
4546 echo $ac_cv_use_catch_segvs >> ${wx_arg_cache_file}.tmp
4549 if test "$wxUSE_ON_FATAL_EXCEPTION" = yes; then
4550 echo "$as_me:$LINENO: result: yes" >&5
4551 echo "${ECHO_T}yes" >&6
4553 echo "$as_me:$LINENO: result: no" >&5
4554 echo "${ECHO_T}no" >&6
4559 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-cmdline" >&5
4560 echo $ECHO_N "checking for --${enablestring:-enable}-cmdline... $ECHO_C" >&6
4562 # Check whether --enable-cmdline or --disable-cmdline was given.
4563 if test "${enable_cmdline+set}" = set; then
4564 enableval
="$enable_cmdline"
4566 if test "$enableval" = yes; then
4567 ac_cv_use_cmdline
='wxUSE_CMDLINE_PARSER=yes'
4569 ac_cv_use_cmdline
='wxUSE_CMDLINE_PARSER=no'
4574 LINE
=`grep "wxUSE_CMDLINE_PARSER" ${wx_arg_cache_file}`
4575 if test "x$LINE" != x
; then
4576 eval "DEFAULT_$LINE"
4581 ac_cv_use_cmdline
='wxUSE_CMDLINE_PARSER='$DEFAULT_wxUSE_CMDLINE_PARSER
4585 eval "$ac_cv_use_cmdline"
4586 if test "$no_cache" != 1; then
4587 echo $ac_cv_use_cmdline >> ${wx_arg_cache_file}.tmp
4590 if test "$wxUSE_CMDLINE_PARSER" = yes; then
4591 echo "$as_me:$LINENO: result: yes" >&5
4592 echo "${ECHO_T}yes" >&6
4594 echo "$as_me:$LINENO: result: no" >&5
4595 echo "${ECHO_T}no" >&6
4600 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-datetime" >&5
4601 echo $ECHO_N "checking for --${enablestring:-enable}-datetime... $ECHO_C" >&6
4603 # Check whether --enable-datetime or --disable-datetime was given.
4604 if test "${enable_datetime+set}" = set; then
4605 enableval
="$enable_datetime"
4607 if test "$enableval" = yes; then
4608 ac_cv_use_datetime
='wxUSE_DATETIME=yes'
4610 ac_cv_use_datetime
='wxUSE_DATETIME=no'
4615 LINE
=`grep "wxUSE_DATETIME" ${wx_arg_cache_file}`
4616 if test "x$LINE" != x
; then
4617 eval "DEFAULT_$LINE"
4622 ac_cv_use_datetime
='wxUSE_DATETIME='$DEFAULT_wxUSE_DATETIME
4626 eval "$ac_cv_use_datetime"
4627 if test "$no_cache" != 1; then
4628 echo $ac_cv_use_datetime >> ${wx_arg_cache_file}.tmp
4631 if test "$wxUSE_DATETIME" = yes; then
4632 echo "$as_me:$LINENO: result: yes" >&5
4633 echo "${ECHO_T}yes" >&6
4635 echo "$as_me:$LINENO: result: no" >&5
4636 echo "${ECHO_T}no" >&6
4641 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dialupman" >&5
4642 echo $ECHO_N "checking for --${enablestring:-enable}-dialupman... $ECHO_C" >&6
4644 # Check whether --enable-dialupman or --disable-dialupman was given.
4645 if test "${enable_dialupman+set}" = set; then
4646 enableval
="$enable_dialupman"
4648 if test "$enableval" = yes; then
4649 ac_cv_use_dialupman
='wxUSE_DIALUP_MANAGER=yes'
4651 ac_cv_use_dialupman
='wxUSE_DIALUP_MANAGER=no'
4656 LINE
=`grep "wxUSE_DIALUP_MANAGER" ${wx_arg_cache_file}`
4657 if test "x$LINE" != x
; then
4658 eval "DEFAULT_$LINE"
4663 ac_cv_use_dialupman
='wxUSE_DIALUP_MANAGER='$DEFAULT_wxUSE_DIALUP_MANAGER
4667 eval "$ac_cv_use_dialupman"
4668 if test "$no_cache" != 1; then
4669 echo $ac_cv_use_dialupman >> ${wx_arg_cache_file}.tmp
4672 if test "$wxUSE_DIALUP_MANAGER" = yes; then
4673 echo "$as_me:$LINENO: result: yes" >&5
4674 echo "${ECHO_T}yes" >&6
4676 echo "$as_me:$LINENO: result: no" >&5
4677 echo "${ECHO_T}no" >&6
4682 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dynlib" >&5
4683 echo $ECHO_N "checking for --${enablestring:-enable}-dynlib... $ECHO_C" >&6
4685 # Check whether --enable-dynlib or --disable-dynlib was given.
4686 if test "${enable_dynlib+set}" = set; then
4687 enableval
="$enable_dynlib"
4689 if test "$enableval" = yes; then
4690 ac_cv_use_dynlib
='wxUSE_DYNLIB_CLASS=yes'
4692 ac_cv_use_dynlib
='wxUSE_DYNLIB_CLASS=no'
4697 LINE
=`grep "wxUSE_DYNLIB_CLASS" ${wx_arg_cache_file}`
4698 if test "x$LINE" != x
; then
4699 eval "DEFAULT_$LINE"
4704 ac_cv_use_dynlib
='wxUSE_DYNLIB_CLASS='$DEFAULT_wxUSE_DYNLIB_CLASS
4708 eval "$ac_cv_use_dynlib"
4709 if test "$no_cache" != 1; then
4710 echo $ac_cv_use_dynlib >> ${wx_arg_cache_file}.tmp
4713 if test "$wxUSE_DYNLIB_CLASS" = yes; then
4714 echo "$as_me:$LINENO: result: yes" >&5
4715 echo "${ECHO_T}yes" >&6
4717 echo "$as_me:$LINENO: result: no" >&5
4718 echo "${ECHO_T}no" >&6
4723 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dynamicloader" >&5
4724 echo $ECHO_N "checking for --${enablestring:-enable}-dynamicloader... $ECHO_C" >&6
4726 # Check whether --enable-dynamicloader or --disable-dynamicloader was given.
4727 if test "${enable_dynamicloader+set}" = set; then
4728 enableval
="$enable_dynamicloader"
4730 if test "$enableval" = yes; then
4731 ac_cv_use_dynamicloader
='wxUSE_DYNAMIC_LOADER=yes'
4733 ac_cv_use_dynamicloader
='wxUSE_DYNAMIC_LOADER=no'
4738 LINE
=`grep "wxUSE_DYNAMIC_LOADER" ${wx_arg_cache_file}`
4739 if test "x$LINE" != x
; then
4740 eval "DEFAULT_$LINE"
4745 ac_cv_use_dynamicloader
='wxUSE_DYNAMIC_LOADER='$DEFAULT_wxUSE_DYNAMIC_LOADER
4749 eval "$ac_cv_use_dynamicloader"
4750 if test "$no_cache" != 1; then
4751 echo $ac_cv_use_dynamicloader >> ${wx_arg_cache_file}.tmp
4754 if test "$wxUSE_DYNAMIC_LOADER" = yes; then
4755 echo "$as_me:$LINENO: result: yes" >&5
4756 echo "${ECHO_T}yes" >&6
4758 echo "$as_me:$LINENO: result: no" >&5
4759 echo "${ECHO_T}no" >&6
4764 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-exceptions" >&5
4765 echo $ECHO_N "checking for --${enablestring:-enable}-exceptions... $ECHO_C" >&6
4767 # Check whether --enable-exceptions or --disable-exceptions was given.
4768 if test "${enable_exceptions+set}" = set; then
4769 enableval
="$enable_exceptions"
4771 if test "$enableval" = yes; then
4772 ac_cv_use_exceptions
='wxUSE_EXCEPTIONS=yes'
4774 ac_cv_use_exceptions
='wxUSE_EXCEPTIONS=no'
4779 LINE
=`grep "wxUSE_EXCEPTIONS" ${wx_arg_cache_file}`
4780 if test "x$LINE" != x
; then
4781 eval "DEFAULT_$LINE"
4786 ac_cv_use_exceptions
='wxUSE_EXCEPTIONS='$DEFAULT_wxUSE_EXCEPTIONS
4790 eval "$ac_cv_use_exceptions"
4791 if test "$no_cache" != 1; then
4792 echo $ac_cv_use_exceptions >> ${wx_arg_cache_file}.tmp
4795 if test "$wxUSE_EXCEPTIONS" = yes; then
4796 echo "$as_me:$LINENO: result: yes" >&5
4797 echo "${ECHO_T}yes" >&6
4799 echo "$as_me:$LINENO: result: no" >&5
4800 echo "${ECHO_T}no" >&6
4805 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ffile" >&5
4806 echo $ECHO_N "checking for --${enablestring:-enable}-ffile... $ECHO_C" >&6
4808 # Check whether --enable-ffile or --disable-ffile was given.
4809 if test "${enable_ffile+set}" = set; then
4810 enableval
="$enable_ffile"
4812 if test "$enableval" = yes; then
4813 ac_cv_use_ffile
='wxUSE_FFILE=yes'
4815 ac_cv_use_ffile
='wxUSE_FFILE=no'
4820 LINE
=`grep "wxUSE_FFILE" ${wx_arg_cache_file}`
4821 if test "x$LINE" != x
; then
4822 eval "DEFAULT_$LINE"
4827 ac_cv_use_ffile
='wxUSE_FFILE='$DEFAULT_wxUSE_FFILE
4831 eval "$ac_cv_use_ffile"
4832 if test "$no_cache" != 1; then
4833 echo $ac_cv_use_ffile >> ${wx_arg_cache_file}.tmp
4836 if test "$wxUSE_FFILE" = yes; then
4837 echo "$as_me:$LINENO: result: yes" >&5
4838 echo "${ECHO_T}yes" >&6
4840 echo "$as_me:$LINENO: result: no" >&5
4841 echo "${ECHO_T}no" >&6
4846 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-file" >&5
4847 echo $ECHO_N "checking for --${enablestring:-enable}-file... $ECHO_C" >&6
4849 # Check whether --enable-file or --disable-file was given.
4850 if test "${enable_file+set}" = set; then
4851 enableval
="$enable_file"
4853 if test "$enableval" = yes; then
4854 ac_cv_use_file
='wxUSE_FILE=yes'
4856 ac_cv_use_file
='wxUSE_FILE=no'
4861 LINE
=`grep "wxUSE_FILE" ${wx_arg_cache_file}`
4862 if test "x$LINE" != x
; then
4863 eval "DEFAULT_$LINE"
4868 ac_cv_use_file
='wxUSE_FILE='$DEFAULT_wxUSE_FILE
4872 eval "$ac_cv_use_file"
4873 if test "$no_cache" != 1; then
4874 echo $ac_cv_use_file >> ${wx_arg_cache_file}.tmp
4877 if test "$wxUSE_FILE" = yes; then
4878 echo "$as_me:$LINENO: result: yes" >&5
4879 echo "${ECHO_T}yes" >&6
4881 echo "$as_me:$LINENO: result: no" >&5
4882 echo "${ECHO_T}no" >&6
4887 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filesystem" >&5
4888 echo $ECHO_N "checking for --${enablestring:-enable}-filesystem... $ECHO_C" >&6
4890 # Check whether --enable-filesystem or --disable-filesystem was given.
4891 if test "${enable_filesystem+set}" = set; then
4892 enableval
="$enable_filesystem"
4894 if test "$enableval" = yes; then
4895 ac_cv_use_filesystem
='wxUSE_FILESYSTEM=yes'
4897 ac_cv_use_filesystem
='wxUSE_FILESYSTEM=no'
4902 LINE
=`grep "wxUSE_FILESYSTEM" ${wx_arg_cache_file}`
4903 if test "x$LINE" != x
; then
4904 eval "DEFAULT_$LINE"
4909 ac_cv_use_filesystem
='wxUSE_FILESYSTEM='$DEFAULT_wxUSE_FILESYSTEM
4913 eval "$ac_cv_use_filesystem"
4914 if test "$no_cache" != 1; then
4915 echo $ac_cv_use_filesystem >> ${wx_arg_cache_file}.tmp
4918 if test "$wxUSE_FILESYSTEM" = yes; then
4919 echo "$as_me:$LINENO: result: yes" >&5
4920 echo "${ECHO_T}yes" >&6
4922 echo "$as_me:$LINENO: result: no" >&5
4923 echo "${ECHO_T}no" >&6
4928 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontmap" >&5
4929 echo $ECHO_N "checking for --${enablestring:-enable}-fontmap... $ECHO_C" >&6
4931 # Check whether --enable-fontmap or --disable-fontmap was given.
4932 if test "${enable_fontmap+set}" = set; then
4933 enableval
="$enable_fontmap"
4935 if test "$enableval" = yes; then
4936 ac_cv_use_fontmap
='wxUSE_FONTMAP=yes'
4938 ac_cv_use_fontmap
='wxUSE_FONTMAP=no'
4943 LINE
=`grep "wxUSE_FONTMAP" ${wx_arg_cache_file}`
4944 if test "x$LINE" != x
; then
4945 eval "DEFAULT_$LINE"
4950 ac_cv_use_fontmap
='wxUSE_FONTMAP='$DEFAULT_wxUSE_FONTMAP
4954 eval "$ac_cv_use_fontmap"
4955 if test "$no_cache" != 1; then
4956 echo $ac_cv_use_fontmap >> ${wx_arg_cache_file}.tmp
4959 if test "$wxUSE_FONTMAP" = yes; then
4960 echo "$as_me:$LINENO: result: yes" >&5
4961 echo "${ECHO_T}yes" >&6
4963 echo "$as_me:$LINENO: result: no" >&5
4964 echo "${ECHO_T}no" >&6
4969 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_inet" >&5
4970 echo $ECHO_N "checking for --${enablestring:-enable}-fs_inet... $ECHO_C" >&6
4972 # Check whether --enable-fs_inet or --disable-fs_inet was given.
4973 if test "${enable_fs_inet+set}" = set; then
4974 enableval
="$enable_fs_inet"
4976 if test "$enableval" = yes; then
4977 ac_cv_use_fs_inet
='wxUSE_FS_INET=yes'
4979 ac_cv_use_fs_inet
='wxUSE_FS_INET=no'
4984 LINE
=`grep "wxUSE_FS_INET" ${wx_arg_cache_file}`
4985 if test "x$LINE" != x
; then
4986 eval "DEFAULT_$LINE"
4991 ac_cv_use_fs_inet
='wxUSE_FS_INET='$DEFAULT_wxUSE_FS_INET
4995 eval "$ac_cv_use_fs_inet"
4996 if test "$no_cache" != 1; then
4997 echo $ac_cv_use_fs_inet >> ${wx_arg_cache_file}.tmp
5000 if test "$wxUSE_FS_INET" = yes; then
5001 echo "$as_me:$LINENO: result: yes" >&5
5002 echo "${ECHO_T}yes" >&6
5004 echo "$as_me:$LINENO: result: no" >&5
5005 echo "${ECHO_T}no" >&6
5010 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_zip" >&5
5011 echo $ECHO_N "checking for --${enablestring:-enable}-fs_zip... $ECHO_C" >&6
5013 # Check whether --enable-fs_zip or --disable-fs_zip was given.
5014 if test "${enable_fs_zip+set}" = set; then
5015 enableval
="$enable_fs_zip"
5017 if test "$enableval" = yes; then
5018 ac_cv_use_fs_zip
='wxUSE_FS_ZIP=yes'
5020 ac_cv_use_fs_zip
='wxUSE_FS_ZIP=no'
5025 LINE
=`grep "wxUSE_FS_ZIP" ${wx_arg_cache_file}`
5026 if test "x$LINE" != x
; then
5027 eval "DEFAULT_$LINE"
5032 ac_cv_use_fs_zip
='wxUSE_FS_ZIP='$DEFAULT_wxUSE_FS_ZIP
5036 eval "$ac_cv_use_fs_zip"
5037 if test "$no_cache" != 1; then
5038 echo $ac_cv_use_fs_zip >> ${wx_arg_cache_file}.tmp
5041 if test "$wxUSE_FS_ZIP" = yes; then
5042 echo "$as_me:$LINENO: result: yes" >&5
5043 echo "${ECHO_T}yes" >&6
5045 echo "$as_me:$LINENO: result: no" >&5
5046 echo "${ECHO_T}no" >&6
5051 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-geometry" >&5
5052 echo $ECHO_N "checking for --${enablestring:-enable}-geometry... $ECHO_C" >&6
5054 # Check whether --enable-geometry or --disable-geometry was given.
5055 if test "${enable_geometry+set}" = set; then
5056 enableval
="$enable_geometry"
5058 if test "$enableval" = yes; then
5059 ac_cv_use_geometry
='wxUSE_GEOMETRY=yes'
5061 ac_cv_use_geometry
='wxUSE_GEOMETRY=no'
5066 LINE
=`grep "wxUSE_GEOMETRY" ${wx_arg_cache_file}`
5067 if test "x$LINE" != x
; then
5068 eval "DEFAULT_$LINE"
5073 ac_cv_use_geometry
='wxUSE_GEOMETRY='$DEFAULT_wxUSE_GEOMETRY
5077 eval "$ac_cv_use_geometry"
5078 if test "$no_cache" != 1; then
5079 echo $ac_cv_use_geometry >> ${wx_arg_cache_file}.tmp
5082 if test "$wxUSE_GEOMETRY" = yes; then
5083 echo "$as_me:$LINENO: result: yes" >&5
5084 echo "${ECHO_T}yes" >&6
5086 echo "$as_me:$LINENO: result: no" >&5
5087 echo "${ECHO_T}no" >&6
5092 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-log" >&5
5093 echo $ECHO_N "checking for --${enablestring:-enable}-log... $ECHO_C" >&6
5095 # Check whether --enable-log or --disable-log was given.
5096 if test "${enable_log+set}" = set; then
5097 enableval
="$enable_log"
5099 if test "$enableval" = yes; then
5100 ac_cv_use_log
='wxUSE_LOG=yes'
5102 ac_cv_use_log
='wxUSE_LOG=no'
5107 LINE
=`grep "wxUSE_LOG" ${wx_arg_cache_file}`
5108 if test "x$LINE" != x
; then
5109 eval "DEFAULT_$LINE"
5114 ac_cv_use_log
='wxUSE_LOG='$DEFAULT_wxUSE_LOG
5118 eval "$ac_cv_use_log"
5119 if test "$no_cache" != 1; then
5120 echo $ac_cv_use_log >> ${wx_arg_cache_file}.tmp
5123 if test "$wxUSE_LOG" = yes; then
5124 echo "$as_me:$LINENO: result: yes" >&5
5125 echo "${ECHO_T}yes" >&6
5127 echo "$as_me:$LINENO: result: no" >&5
5128 echo "${ECHO_T}no" >&6
5133 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-longlong" >&5
5134 echo $ECHO_N "checking for --${enablestring:-enable}-longlong... $ECHO_C" >&6
5136 # Check whether --enable-longlong or --disable-longlong was given.
5137 if test "${enable_longlong+set}" = set; then
5138 enableval
="$enable_longlong"
5140 if test "$enableval" = yes; then
5141 ac_cv_use_longlong
='wxUSE_LONGLONG=yes'
5143 ac_cv_use_longlong
='wxUSE_LONGLONG=no'
5148 LINE
=`grep "wxUSE_LONGLONG" ${wx_arg_cache_file}`
5149 if test "x$LINE" != x
; then
5150 eval "DEFAULT_$LINE"
5155 ac_cv_use_longlong
='wxUSE_LONGLONG='$DEFAULT_wxUSE_LONGLONG
5159 eval "$ac_cv_use_longlong"
5160 if test "$no_cache" != 1; then
5161 echo $ac_cv_use_longlong >> ${wx_arg_cache_file}.tmp
5164 if test "$wxUSE_LONGLONG" = yes; then
5165 echo "$as_me:$LINENO: result: yes" >&5
5166 echo "${ECHO_T}yes" >&6
5168 echo "$as_me:$LINENO: result: no" >&5
5169 echo "${ECHO_T}no" >&6
5174 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mimetype" >&5
5175 echo $ECHO_N "checking for --${enablestring:-enable}-mimetype... $ECHO_C" >&6
5177 # Check whether --enable-mimetype or --disable-mimetype was given.
5178 if test "${enable_mimetype+set}" = set; then
5179 enableval
="$enable_mimetype"
5181 if test "$enableval" = yes; then
5182 ac_cv_use_mimetype
='wxUSE_MIMETYPE=yes'
5184 ac_cv_use_mimetype
='wxUSE_MIMETYPE=no'
5189 LINE
=`grep "wxUSE_MIMETYPE" ${wx_arg_cache_file}`
5190 if test "x$LINE" != x
; then
5191 eval "DEFAULT_$LINE"
5196 ac_cv_use_mimetype
='wxUSE_MIMETYPE='$DEFAULT_wxUSE_MIMETYPE
5200 eval "$ac_cv_use_mimetype"
5201 if test "$no_cache" != 1; then
5202 echo $ac_cv_use_mimetype >> ${wx_arg_cache_file}.tmp
5205 if test "$wxUSE_MIMETYPE" = yes; then
5206 echo "$as_me:$LINENO: result: yes" >&5
5207 echo "${ECHO_T}yes" >&6
5209 echo "$as_me:$LINENO: result: no" >&5
5210 echo "${ECHO_T}no" >&6
5215 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mslu" >&5
5216 echo $ECHO_N "checking for --${enablestring:-enable}-mslu... $ECHO_C" >&6
5218 # Check whether --enable-mslu or --disable-mslu was given.
5219 if test "${enable_mslu+set}" = set; then
5220 enableval
="$enable_mslu"
5222 if test "$enableval" = yes; then
5223 ac_cv_use_mslu
='wxUSE_UNICODE_MSLU=yes'
5225 ac_cv_use_mslu
='wxUSE_UNICODE_MSLU=no'
5230 LINE
=`grep "wxUSE_UNICODE_MSLU" ${wx_arg_cache_file}`
5231 if test "x$LINE" != x
; then
5232 eval "DEFAULT_$LINE"
5237 ac_cv_use_mslu
='wxUSE_UNICODE_MSLU='$DEFAULT_wxUSE_UNICODE_MSLU
5241 eval "$ac_cv_use_mslu"
5242 if test "$no_cache" != 1; then
5243 echo $ac_cv_use_mslu >> ${wx_arg_cache_file}.tmp
5246 if test "$wxUSE_UNICODE_MSLU" = yes; then
5247 echo "$as_me:$LINENO: result: yes" >&5
5248 echo "${ECHO_T}yes" >&6
5250 echo "$as_me:$LINENO: result: no" >&5
5251 echo "${ECHO_T}no" >&6
5256 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-snglinst" >&5
5257 echo $ECHO_N "checking for --${enablestring:-enable}-snglinst... $ECHO_C" >&6
5259 # Check whether --enable-snglinst or --disable-snglinst was given.
5260 if test "${enable_snglinst+set}" = set; then
5261 enableval
="$enable_snglinst"
5263 if test "$enableval" = yes; then
5264 ac_cv_use_snglinst
='wxUSE_SNGLINST_CHECKER=yes'
5266 ac_cv_use_snglinst
='wxUSE_SNGLINST_CHECKER=no'
5271 LINE
=`grep "wxUSE_SNGLINST_CHECKER" ${wx_arg_cache_file}`
5272 if test "x$LINE" != x
; then
5273 eval "DEFAULT_$LINE"
5278 ac_cv_use_snglinst
='wxUSE_SNGLINST_CHECKER='$DEFAULT_wxUSE_SNGLINST_CHECKER
5282 eval "$ac_cv_use_snglinst"
5283 if test "$no_cache" != 1; then
5284 echo $ac_cv_use_snglinst >> ${wx_arg_cache_file}.tmp
5287 if test "$wxUSE_SNGLINST_CHECKER" = yes; then
5288 echo "$as_me:$LINENO: result: yes" >&5
5289 echo "${ECHO_T}yes" >&6
5291 echo "$as_me:$LINENO: result: no" >&5
5292 echo "${ECHO_T}no" >&6
5297 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-streams" >&5
5298 echo $ECHO_N "checking for --${enablestring:-enable}-streams... $ECHO_C" >&6
5300 # Check whether --enable-streams or --disable-streams was given.
5301 if test "${enable_streams+set}" = set; then
5302 enableval
="$enable_streams"
5304 if test "$enableval" = yes; then
5305 ac_cv_use_streams
='wxUSE_STREAMS=yes'
5307 ac_cv_use_streams
='wxUSE_STREAMS=no'
5312 LINE
=`grep "wxUSE_STREAMS" ${wx_arg_cache_file}`
5313 if test "x$LINE" != x
; then
5314 eval "DEFAULT_$LINE"
5319 ac_cv_use_streams
='wxUSE_STREAMS='$DEFAULT_wxUSE_STREAMS
5323 eval "$ac_cv_use_streams"
5324 if test "$no_cache" != 1; then
5325 echo $ac_cv_use_streams >> ${wx_arg_cache_file}.tmp
5328 if test "$wxUSE_STREAMS" = yes; then
5329 echo "$as_me:$LINENO: result: yes" >&5
5330 echo "${ECHO_T}yes" >&6
5332 echo "$as_me:$LINENO: result: no" >&5
5333 echo "${ECHO_T}no" >&6
5338 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-std_iostreams" >&5
5339 echo $ECHO_N "checking for --${enablestring:-enable}-std_iostreams... $ECHO_C" >&6
5341 # Check whether --enable-std_iostreams or --disable-std_iostreams was given.
5342 if test "${enable_std_iostreams+set}" = set; then
5343 enableval
="$enable_std_iostreams"
5345 if test "$enableval" = yes; then
5346 ac_cv_use_std_iostreams
='wxUSE_STD_IOSTREAM=yes'
5348 ac_cv_use_std_iostreams
='wxUSE_STD_IOSTREAM=no'
5353 LINE
=`grep "wxUSE_STD_IOSTREAM" ${wx_arg_cache_file}`
5354 if test "x$LINE" != x
; then
5355 eval "DEFAULT_$LINE"
5360 ac_cv_use_std_iostreams
='wxUSE_STD_IOSTREAM='$DEFAULT_wxUSE_STD_IOSTREAM
5364 eval "$ac_cv_use_std_iostreams"
5365 if test "$no_cache" != 1; then
5366 echo $ac_cv_use_std_iostreams >> ${wx_arg_cache_file}.tmp
5369 if test "$wxUSE_STD_IOSTREAM" = yes; then
5370 echo "$as_me:$LINENO: result: yes" >&5
5371 echo "${ECHO_T}yes" >&6
5373 echo "$as_me:$LINENO: result: no" >&5
5374 echo "${ECHO_T}no" >&6
5379 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stopwatch" >&5
5380 echo $ECHO_N "checking for --${enablestring:-enable}-stopwatch... $ECHO_C" >&6
5382 # Check whether --enable-stopwatch or --disable-stopwatch was given.
5383 if test "${enable_stopwatch+set}" = set; then
5384 enableval
="$enable_stopwatch"
5386 if test "$enableval" = yes; then
5387 ac_cv_use_stopwatch
='wxUSE_STOPWATCH=yes'
5389 ac_cv_use_stopwatch
='wxUSE_STOPWATCH=no'
5394 LINE
=`grep "wxUSE_STOPWATCH" ${wx_arg_cache_file}`
5395 if test "x$LINE" != x
; then
5396 eval "DEFAULT_$LINE"
5401 ac_cv_use_stopwatch
='wxUSE_STOPWATCH='$DEFAULT_wxUSE_STOPWATCH
5405 eval "$ac_cv_use_stopwatch"
5406 if test "$no_cache" != 1; then
5407 echo $ac_cv_use_stopwatch >> ${wx_arg_cache_file}.tmp
5410 if test "$wxUSE_STOPWATCH" = yes; then
5411 echo "$as_me:$LINENO: result: yes" >&5
5412 echo "${ECHO_T}yes" >&6
5414 echo "$as_me:$LINENO: result: no" >&5
5415 echo "${ECHO_T}no" >&6
5420 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-system_options" >&5
5421 echo $ECHO_N "checking for --${enablestring:-enable}-system_options... $ECHO_C" >&6
5423 # Check whether --enable-system_options or --disable-system_options was given.
5424 if test "${enable_system_options+set}" = set; then
5425 enableval
="$enable_system_options"
5427 if test "$enableval" = yes; then
5428 ac_cv_use_system_options
='wxUSE_SYSTEM_OPTIONS=yes'
5430 ac_cv_use_system_options
='wxUSE_SYSTEM_OPTIONS=no'
5435 LINE
=`grep "wxUSE_SYSTEM_OPTIONS" ${wx_arg_cache_file}`
5436 if test "x$LINE" != x
; then
5437 eval "DEFAULT_$LINE"
5442 ac_cv_use_system_options
='wxUSE_SYSTEM_OPTIONS='$DEFAULT_wxUSE_SYSTEM_OPTIONS
5446 eval "$ac_cv_use_system_options"
5447 if test "$no_cache" != 1; then
5448 echo $ac_cv_use_system_options >> ${wx_arg_cache_file}.tmp
5451 if test "$wxUSE_SYSTEM_OPTIONS" = yes; then
5452 echo "$as_me:$LINENO: result: yes" >&5
5453 echo "${ECHO_T}yes" >&6
5455 echo "$as_me:$LINENO: result: no" >&5
5456 echo "${ECHO_T}no" >&6
5461 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textbuf" >&5
5462 echo $ECHO_N "checking for --${enablestring:-enable}-textbuf... $ECHO_C" >&6
5464 # Check whether --enable-textbuf or --disable-textbuf was given.
5465 if test "${enable_textbuf+set}" = set; then
5466 enableval
="$enable_textbuf"
5468 if test "$enableval" = yes; then
5469 ac_cv_use_textbuf
='wxUSE_TEXTBUFFER=yes'
5471 ac_cv_use_textbuf
='wxUSE_TEXTBUFFER=no'
5476 LINE
=`grep "wxUSE_TEXTBUFFER" ${wx_arg_cache_file}`
5477 if test "x$LINE" != x
; then
5478 eval "DEFAULT_$LINE"
5483 ac_cv_use_textbuf
='wxUSE_TEXTBUFFER='$DEFAULT_wxUSE_TEXTBUFFER
5487 eval "$ac_cv_use_textbuf"
5488 if test "$no_cache" != 1; then
5489 echo $ac_cv_use_textbuf >> ${wx_arg_cache_file}.tmp
5492 if test "$wxUSE_TEXTBUFFER" = yes; then
5493 echo "$as_me:$LINENO: result: yes" >&5
5494 echo "${ECHO_T}yes" >&6
5496 echo "$as_me:$LINENO: result: no" >&5
5497 echo "${ECHO_T}no" >&6
5502 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textfile" >&5
5503 echo $ECHO_N "checking for --${enablestring:-enable}-textfile... $ECHO_C" >&6
5505 # Check whether --enable-textfile or --disable-textfile was given.
5506 if test "${enable_textfile+set}" = set; then
5507 enableval
="$enable_textfile"
5509 if test "$enableval" = yes; then
5510 ac_cv_use_textfile
='wxUSE_TEXTFILE=yes'
5512 ac_cv_use_textfile
='wxUSE_TEXTFILE=no'
5517 LINE
=`grep "wxUSE_TEXTFILE" ${wx_arg_cache_file}`
5518 if test "x$LINE" != x
; then
5519 eval "DEFAULT_$LINE"
5524 ac_cv_use_textfile
='wxUSE_TEXTFILE='$DEFAULT_wxUSE_TEXTFILE
5528 eval "$ac_cv_use_textfile"
5529 if test "$no_cache" != 1; then
5530 echo $ac_cv_use_textfile >> ${wx_arg_cache_file}.tmp
5533 if test "$wxUSE_TEXTFILE" = yes; then
5534 echo "$as_me:$LINENO: result: yes" >&5
5535 echo "${ECHO_T}yes" >&6
5537 echo "$as_me:$LINENO: result: no" >&5
5538 echo "${ECHO_T}no" >&6
5543 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-timer" >&5
5544 echo $ECHO_N "checking for --${enablestring:-enable}-timer... $ECHO_C" >&6
5546 # Check whether --enable-timer or --disable-timer was given.
5547 if test "${enable_timer+set}" = set; then
5548 enableval
="$enable_timer"
5550 if test "$enableval" = yes; then
5551 ac_cv_use_timer
='wxUSE_TIMER=yes'
5553 ac_cv_use_timer
='wxUSE_TIMER=no'
5558 LINE
=`grep "wxUSE_TIMER" ${wx_arg_cache_file}`
5559 if test "x$LINE" != x
; then
5560 eval "DEFAULT_$LINE"
5565 ac_cv_use_timer
='wxUSE_TIMER='$DEFAULT_wxUSE_TIMER
5569 eval "$ac_cv_use_timer"
5570 if test "$no_cache" != 1; then
5571 echo $ac_cv_use_timer >> ${wx_arg_cache_file}.tmp
5574 if test "$wxUSE_TIMER" = yes; then
5575 echo "$as_me:$LINENO: result: yes" >&5
5576 echo "${ECHO_T}yes" >&6
5578 echo "$as_me:$LINENO: result: no" >&5
5579 echo "${ECHO_T}no" >&6
5584 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-unicode" >&5
5585 echo $ECHO_N "checking for --${enablestring:-enable}-unicode... $ECHO_C" >&6
5587 # Check whether --enable-unicode or --disable-unicode was given.
5588 if test "${enable_unicode+set}" = set; then
5589 enableval
="$enable_unicode"
5591 if test "$enableval" = yes; then
5592 ac_cv_use_unicode
='wxUSE_UNICODE=yes'
5594 ac_cv_use_unicode
='wxUSE_UNICODE=no'
5599 LINE
=`grep "wxUSE_UNICODE" ${wx_arg_cache_file}`
5600 if test "x$LINE" != x
; then
5601 eval "DEFAULT_$LINE"
5606 ac_cv_use_unicode
='wxUSE_UNICODE='$DEFAULT_wxUSE_UNICODE
5610 eval "$ac_cv_use_unicode"
5611 if test "$no_cache" != 1; then
5612 echo $ac_cv_use_unicode >> ${wx_arg_cache_file}.tmp
5615 if test "$wxUSE_UNICODE" = yes; then
5616 echo "$as_me:$LINENO: result: yes" >&5
5617 echo "${ECHO_T}yes" >&6
5619 echo "$as_me:$LINENO: result: no" >&5
5620 echo "${ECHO_T}no" >&6
5625 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sound" >&5
5626 echo $ECHO_N "checking for --${enablestring:-enable}-sound... $ECHO_C" >&6
5628 # Check whether --enable-sound or --disable-sound was given.
5629 if test "${enable_sound+set}" = set; then
5630 enableval
="$enable_sound"
5632 if test "$enableval" = yes; then
5633 ac_cv_use_sound
='wxUSE_SOUND=yes'
5635 ac_cv_use_sound
='wxUSE_SOUND=no'
5640 LINE
=`grep "wxUSE_SOUND" ${wx_arg_cache_file}`
5641 if test "x$LINE" != x
; then
5642 eval "DEFAULT_$LINE"
5647 ac_cv_use_sound
='wxUSE_SOUND='$DEFAULT_wxUSE_SOUND
5651 eval "$ac_cv_use_sound"
5652 if test "$no_cache" != 1; then
5653 echo $ac_cv_use_sound >> ${wx_arg_cache_file}.tmp
5656 if test "$wxUSE_SOUND" = yes; then
5657 echo "$as_me:$LINENO: result: yes" >&5
5658 echo "${ECHO_T}yes" >&6
5660 echo "$as_me:$LINENO: result: no" >&5
5661 echo "${ECHO_T}no" >&6
5666 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-wxprintfv" >&5
5667 echo $ECHO_N "checking for --${enablestring:-enable}-wxprintfv... $ECHO_C" >&6
5669 # Check whether --enable-wxprintfv or --disable-wxprintfv was given.
5670 if test "${enable_wxprintfv+set}" = set; then
5671 enableval
="$enable_wxprintfv"
5673 if test "$enableval" = yes; then
5674 ac_cv_use_wxprintfv
='wxUSE_EXPERIMENTAL_PRINTF=yes'
5676 ac_cv_use_wxprintfv
='wxUSE_EXPERIMENTAL_PRINTF=no'
5681 LINE
=`grep "wxUSE_EXPERIMENTAL_PRINTF" ${wx_arg_cache_file}`
5682 if test "x$LINE" != x
; then
5683 eval "DEFAULT_$LINE"
5688 ac_cv_use_wxprintfv
='wxUSE_EXPERIMENTAL_PRINTF='$DEFAULT_wxUSE_EXPERIMENTAL_PRINTF
5692 eval "$ac_cv_use_wxprintfv"
5693 if test "$no_cache" != 1; then
5694 echo $ac_cv_use_wxprintfv >> ${wx_arg_cache_file}.tmp
5697 if test "$wxUSE_EXPERIMENTAL_PRINTF" = yes; then
5698 echo "$as_me:$LINENO: result: yes" >&5
5699 echo "${ECHO_T}yes" >&6
5701 echo "$as_me:$LINENO: result: no" >&5
5702 echo "${ECHO_T}no" >&6
5707 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-zipstream" >&5
5708 echo $ECHO_N "checking for --${enablestring:-enable}-zipstream... $ECHO_C" >&6
5710 # Check whether --enable-zipstream or --disable-zipstream was given.
5711 if test "${enable_zipstream+set}" = set; then
5712 enableval
="$enable_zipstream"
5714 if test "$enableval" = yes; then
5715 ac_cv_use_zipstream
='wxUSE_ZIPSTREAM=yes'
5717 ac_cv_use_zipstream
='wxUSE_ZIPSTREAM=no'
5722 LINE
=`grep "wxUSE_ZIPSTREAM" ${wx_arg_cache_file}`
5723 if test "x$LINE" != x
; then
5724 eval "DEFAULT_$LINE"
5729 ac_cv_use_zipstream
='wxUSE_ZIPSTREAM='$DEFAULT_wxUSE_ZIPSTREAM
5733 eval "$ac_cv_use_zipstream"
5734 if test "$no_cache" != 1; then
5735 echo $ac_cv_use_zipstream >> ${wx_arg_cache_file}.tmp
5738 if test "$wxUSE_ZIPSTREAM" = yes; then
5739 echo "$as_me:$LINENO: result: yes" >&5
5740 echo "${ECHO_T}yes" >&6
5742 echo "$as_me:$LINENO: result: no" >&5
5743 echo "${ECHO_T}no" >&6
5748 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gzstream" >&5
5749 echo $ECHO_N "checking for --${enablestring:-enable}-gzstream... $ECHO_C" >&6
5751 # Check whether --enable-gzstream or --disable-gzstream was given.
5752 if test "${enable_gzstream+set}" = set; then
5753 enableval
="$enable_gzstream"
5755 if test "$enableval" = yes; then
5756 ac_cv_use_gzstream
='wxUSE_GZSTREAM=yes'
5758 ac_cv_use_gzstream
='wxUSE_GZSTREAM=no'
5763 LINE
=`grep "wxUSE_GZSTREAM" ${wx_arg_cache_file}`
5764 if test "x$LINE" != x
; then
5765 eval "DEFAULT_$LINE"
5770 ac_cv_use_gzstream
='wxUSE_GZSTREAM='$DEFAULT_wxUSE_GZSTREAM
5774 eval "$ac_cv_use_gzstream"
5775 if test "$no_cache" != 1; then
5776 echo $ac_cv_use_gzstream >> ${wx_arg_cache_file}.tmp
5779 if test "$wxUSE_GZSTREAM" = yes; then
5780 echo "$as_me:$LINENO: result: yes" >&5
5781 echo "${ECHO_T}yes" >&6
5783 echo "$as_me:$LINENO: result: no" >&5
5784 echo "${ECHO_T}no" >&6
5790 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-url" >&5
5791 echo $ECHO_N "checking for --${enablestring:-enable}-url... $ECHO_C" >&6
5793 # Check whether --enable-url or --disable-url was given.
5794 if test "${enable_url+set}" = set; then
5795 enableval
="$enable_url"
5797 if test "$enableval" = yes; then
5798 ac_cv_use_url
='wxUSE_URL=yes'
5800 ac_cv_use_url
='wxUSE_URL=no'
5805 LINE
=`grep "wxUSE_URL" ${wx_arg_cache_file}`
5806 if test "x$LINE" != x
; then
5807 eval "DEFAULT_$LINE"
5812 ac_cv_use_url
='wxUSE_URL='$DEFAULT_wxUSE_URL
5816 eval "$ac_cv_use_url"
5817 if test "$no_cache" != 1; then
5818 echo $ac_cv_use_url >> ${wx_arg_cache_file}.tmp
5821 if test "$wxUSE_URL" = yes; then
5822 echo "$as_me:$LINENO: result: yes" >&5
5823 echo "${ECHO_T}yes" >&6
5825 echo "$as_me:$LINENO: result: no" >&5
5826 echo "${ECHO_T}no" >&6
5831 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol" >&5
5832 echo $ECHO_N "checking for --${enablestring:-enable}-protocol... $ECHO_C" >&6
5834 # Check whether --enable-protocol or --disable-protocol was given.
5835 if test "${enable_protocol+set}" = set; then
5836 enableval
="$enable_protocol"
5838 if test "$enableval" = yes; then
5839 ac_cv_use_protocol
='wxUSE_PROTOCOL=yes'
5841 ac_cv_use_protocol
='wxUSE_PROTOCOL=no'
5846 LINE
=`grep "wxUSE_PROTOCOL" ${wx_arg_cache_file}`
5847 if test "x$LINE" != x
; then
5848 eval "DEFAULT_$LINE"
5853 ac_cv_use_protocol
='wxUSE_PROTOCOL='$DEFAULT_wxUSE_PROTOCOL
5857 eval "$ac_cv_use_protocol"
5858 if test "$no_cache" != 1; then
5859 echo $ac_cv_use_protocol >> ${wx_arg_cache_file}.tmp
5862 if test "$wxUSE_PROTOCOL" = yes; then
5863 echo "$as_me:$LINENO: result: yes" >&5
5864 echo "${ECHO_T}yes" >&6
5866 echo "$as_me:$LINENO: result: no" >&5
5867 echo "${ECHO_T}no" >&6
5872 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_http" >&5
5873 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_http... $ECHO_C" >&6
5875 # Check whether --enable-protocol_http or --disable-protocol_http was given.
5876 if test "${enable_protocol_http+set}" = set; then
5877 enableval
="$enable_protocol_http"
5879 if test "$enableval" = yes; then
5880 ac_cv_use_protocol_http
='wxUSE_PROTOCOL_HTTP=yes'
5882 ac_cv_use_protocol_http
='wxUSE_PROTOCOL_HTTP=no'
5887 LINE
=`grep "wxUSE_PROTOCOL_HTTP" ${wx_arg_cache_file}`
5888 if test "x$LINE" != x
; then
5889 eval "DEFAULT_$LINE"
5894 ac_cv_use_protocol_http
='wxUSE_PROTOCOL_HTTP='$DEFAULT_wxUSE_PROTOCOL_HTTP
5898 eval "$ac_cv_use_protocol_http"
5899 if test "$no_cache" != 1; then
5900 echo $ac_cv_use_protocol_http >> ${wx_arg_cache_file}.tmp
5903 if test "$wxUSE_PROTOCOL_HTTP" = yes; then
5904 echo "$as_me:$LINENO: result: yes" >&5
5905 echo "${ECHO_T}yes" >&6
5907 echo "$as_me:$LINENO: result: no" >&5
5908 echo "${ECHO_T}no" >&6
5913 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_ftp" >&5
5914 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_ftp... $ECHO_C" >&6
5916 # Check whether --enable-protocol_ftp or --disable-protocol_ftp was given.
5917 if test "${enable_protocol_ftp+set}" = set; then
5918 enableval
="$enable_protocol_ftp"
5920 if test "$enableval" = yes; then
5921 ac_cv_use_protocol_ftp
='wxUSE_PROTOCOL_FTP=yes'
5923 ac_cv_use_protocol_ftp
='wxUSE_PROTOCOL_FTP=no'
5928 LINE
=`grep "wxUSE_PROTOCOL_FTP" ${wx_arg_cache_file}`
5929 if test "x$LINE" != x
; then
5930 eval "DEFAULT_$LINE"
5935 ac_cv_use_protocol_ftp
='wxUSE_PROTOCOL_FTP='$DEFAULT_wxUSE_PROTOCOL_FTP
5939 eval "$ac_cv_use_protocol_ftp"
5940 if test "$no_cache" != 1; then
5941 echo $ac_cv_use_protocol_ftp >> ${wx_arg_cache_file}.tmp
5944 if test "$wxUSE_PROTOCOL_FTP" = yes; then
5945 echo "$as_me:$LINENO: result: yes" >&5
5946 echo "${ECHO_T}yes" >&6
5948 echo "$as_me:$LINENO: result: no" >&5
5949 echo "${ECHO_T}no" >&6
5954 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_file" >&5
5955 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_file... $ECHO_C" >&6
5957 # Check whether --enable-protocol_file or --disable-protocol_file was given.
5958 if test "${enable_protocol_file+set}" = set; then
5959 enableval
="$enable_protocol_file"
5961 if test "$enableval" = yes; then
5962 ac_cv_use_protocol_file
='wxUSE_PROTOCOL_FILE=yes'
5964 ac_cv_use_protocol_file
='wxUSE_PROTOCOL_FILE=no'
5969 LINE
=`grep "wxUSE_PROTOCOL_FILE" ${wx_arg_cache_file}`
5970 if test "x$LINE" != x
; then
5971 eval "DEFAULT_$LINE"
5976 ac_cv_use_protocol_file
='wxUSE_PROTOCOL_FILE='$DEFAULT_wxUSE_PROTOCOL_FILE
5980 eval "$ac_cv_use_protocol_file"
5981 if test "$no_cache" != 1; then
5982 echo $ac_cv_use_protocol_file >> ${wx_arg_cache_file}.tmp
5985 if test "$wxUSE_PROTOCOL_FILE" = yes; then
5986 echo "$as_me:$LINENO: result: yes" >&5
5987 echo "${ECHO_T}yes" >&6
5989 echo "$as_me:$LINENO: result: no" >&5
5990 echo "${ECHO_T}no" >&6
5998 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-threads" >&5
5999 echo $ECHO_N "checking for --${enablestring:-enable}-threads... $ECHO_C" >&6
6001 # Check whether --enable-threads or --disable-threads was given.
6002 if test "${enable_threads+set}" = set; then
6003 enableval
="$enable_threads"
6005 if test "$enableval" = yes; then
6006 ac_cv_use_threads
='wxUSE_THREADS=yes'
6008 ac_cv_use_threads
='wxUSE_THREADS=no'
6013 LINE
=`grep "wxUSE_THREADS" ${wx_arg_cache_file}`
6014 if test "x$LINE" != x
; then
6015 eval "DEFAULT_$LINE"
6020 ac_cv_use_threads
='wxUSE_THREADS='$DEFAULT_wxUSE_THREADS
6024 eval "$ac_cv_use_threads"
6025 if test "$no_cache" != 1; then
6026 echo $ac_cv_use_threads >> ${wx_arg_cache_file}.tmp
6029 if test "$wxUSE_THREADS" = yes; then
6030 echo "$as_me:$LINENO: result: yes" >&5
6031 echo "${ECHO_T}yes" >&6
6033 echo "$as_me:$LINENO: result: no" >&5
6034 echo "${ECHO_T}no" >&6
6038 if test "$wxUSE_GUI" = "yes"; then
6043 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-docview" >&5
6044 echo $ECHO_N "checking for --${enablestring:-enable}-docview... $ECHO_C" >&6
6046 # Check whether --enable-docview or --disable-docview was given.
6047 if test "${enable_docview+set}" = set; then
6048 enableval
="$enable_docview"
6050 if test "$enableval" = yes; then
6051 ac_cv_use_docview
='wxUSE_DOC_VIEW_ARCHITECTURE=yes'
6053 ac_cv_use_docview
='wxUSE_DOC_VIEW_ARCHITECTURE=no'
6058 LINE
=`grep "wxUSE_DOC_VIEW_ARCHITECTURE" ${wx_arg_cache_file}`
6059 if test "x$LINE" != x
; then
6060 eval "DEFAULT_$LINE"
6065 ac_cv_use_docview
='wxUSE_DOC_VIEW_ARCHITECTURE='$DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE
6069 eval "$ac_cv_use_docview"
6070 if test "$no_cache" != 1; then
6071 echo $ac_cv_use_docview >> ${wx_arg_cache_file}.tmp
6074 if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = yes; then
6075 echo "$as_me:$LINENO: result: yes" >&5
6076 echo "${ECHO_T}yes" >&6
6078 echo "$as_me:$LINENO: result: no" >&5
6079 echo "${ECHO_T}no" >&6
6084 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-help" >&5
6085 echo $ECHO_N "checking for --${enablestring:-enable}-help... $ECHO_C" >&6
6087 # Check whether --enable-help or --disable-help was given.
6088 if test "${enable_help+set}" = set; then
6089 enableval
="$enable_help"
6091 if test "$enableval" = yes; then
6092 ac_cv_use_help
='wxUSE_HELP=yes'
6094 ac_cv_use_help
='wxUSE_HELP=no'
6099 LINE
=`grep "wxUSE_HELP" ${wx_arg_cache_file}`
6100 if test "x$LINE" != x
; then
6101 eval "DEFAULT_$LINE"
6106 ac_cv_use_help
='wxUSE_HELP='$DEFAULT_wxUSE_HELP
6110 eval "$ac_cv_use_help"
6111 if test "$no_cache" != 1; then
6112 echo $ac_cv_use_help >> ${wx_arg_cache_file}.tmp
6115 if test "$wxUSE_HELP" = yes; then
6116 echo "$as_me:$LINENO: result: yes" >&5
6117 echo "${ECHO_T}yes" >&6
6119 echo "$as_me:$LINENO: result: no" >&5
6120 echo "${ECHO_T}no" >&6
6125 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mshtmlhelp" >&5
6126 echo $ECHO_N "checking for --${enablestring:-enable}-mshtmlhelp... $ECHO_C" >&6
6128 # Check whether --enable-mshtmlhelp or --disable-mshtmlhelp was given.
6129 if test "${enable_mshtmlhelp+set}" = set; then
6130 enableval
="$enable_mshtmlhelp"
6132 if test "$enableval" = yes; then
6133 ac_cv_use_mshtmlhelp
='wxUSE_MS_HTML_HELP=yes'
6135 ac_cv_use_mshtmlhelp
='wxUSE_MS_HTML_HELP=no'
6140 LINE
=`grep "wxUSE_MS_HTML_HELP" ${wx_arg_cache_file}`
6141 if test "x$LINE" != x
; then
6142 eval "DEFAULT_$LINE"
6147 ac_cv_use_mshtmlhelp
='wxUSE_MS_HTML_HELP='$DEFAULT_wxUSE_MS_HTML_HELP
6151 eval "$ac_cv_use_mshtmlhelp"
6152 if test "$no_cache" != 1; then
6153 echo $ac_cv_use_mshtmlhelp >> ${wx_arg_cache_file}.tmp
6156 if test "$wxUSE_MS_HTML_HELP" = yes; then
6157 echo "$as_me:$LINENO: result: yes" >&5
6158 echo "${ECHO_T}yes" >&6
6160 echo "$as_me:$LINENO: result: no" >&5
6161 echo "${ECHO_T}no" >&6
6166 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-html" >&5
6167 echo $ECHO_N "checking for --${enablestring:-enable}-html... $ECHO_C" >&6
6169 # Check whether --enable-html or --disable-html was given.
6170 if test "${enable_html+set}" = set; then
6171 enableval
="$enable_html"
6173 if test "$enableval" = yes; then
6174 ac_cv_use_html
='wxUSE_HTML=yes'
6176 ac_cv_use_html
='wxUSE_HTML=no'
6181 LINE
=`grep "wxUSE_HTML" ${wx_arg_cache_file}`
6182 if test "x$LINE" != x
; then
6183 eval "DEFAULT_$LINE"
6188 ac_cv_use_html
='wxUSE_HTML='$DEFAULT_wxUSE_HTML
6192 eval "$ac_cv_use_html"
6193 if test "$no_cache" != 1; then
6194 echo $ac_cv_use_html >> ${wx_arg_cache_file}.tmp
6197 if test "$wxUSE_HTML" = yes; then
6198 echo "$as_me:$LINENO: result: yes" >&5
6199 echo "${ECHO_T}yes" >&6
6201 echo "$as_me:$LINENO: result: no" >&5
6202 echo "${ECHO_T}no" >&6
6207 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-htmlhelp" >&5
6208 echo $ECHO_N "checking for --${enablestring:-enable}-htmlhelp... $ECHO_C" >&6
6210 # Check whether --enable-htmlhelp or --disable-htmlhelp was given.
6211 if test "${enable_htmlhelp+set}" = set; then
6212 enableval
="$enable_htmlhelp"
6214 if test "$enableval" = yes; then
6215 ac_cv_use_htmlhelp
='wxUSE_WXHTML_HELP=yes'
6217 ac_cv_use_htmlhelp
='wxUSE_WXHTML_HELP=no'
6222 LINE
=`grep "wxUSE_WXHTML_HELP" ${wx_arg_cache_file}`
6223 if test "x$LINE" != x
; then
6224 eval "DEFAULT_$LINE"
6229 ac_cv_use_htmlhelp
='wxUSE_WXHTML_HELP='$DEFAULT_wxUSE_WXHTML_HELP
6233 eval "$ac_cv_use_htmlhelp"
6234 if test "$no_cache" != 1; then
6235 echo $ac_cv_use_htmlhelp >> ${wx_arg_cache_file}.tmp
6238 if test "$wxUSE_WXHTML_HELP" = yes; then
6239 echo "$as_me:$LINENO: result: yes" >&5
6240 echo "${ECHO_T}yes" >&6
6242 echo "$as_me:$LINENO: result: no" >&5
6243 echo "${ECHO_T}no" >&6
6248 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-constraints" >&5
6249 echo $ECHO_N "checking for --${enablestring:-enable}-constraints... $ECHO_C" >&6
6251 # Check whether --enable-constraints or --disable-constraints was given.
6252 if test "${enable_constraints+set}" = set; then
6253 enableval
="$enable_constraints"
6255 if test "$enableval" = yes; then
6256 ac_cv_use_constraints
='wxUSE_CONSTRAINTS=yes'
6258 ac_cv_use_constraints
='wxUSE_CONSTRAINTS=no'
6263 LINE
=`grep "wxUSE_CONSTRAINTS" ${wx_arg_cache_file}`
6264 if test "x$LINE" != x
; then
6265 eval "DEFAULT_$LINE"
6270 ac_cv_use_constraints
='wxUSE_CONSTRAINTS='$DEFAULT_wxUSE_CONSTRAINTS
6274 eval "$ac_cv_use_constraints"
6275 if test "$no_cache" != 1; then
6276 echo $ac_cv_use_constraints >> ${wx_arg_cache_file}.tmp
6279 if test "$wxUSE_CONSTRAINTS" = yes; then
6280 echo "$as_me:$LINENO: result: yes" >&5
6281 echo "${ECHO_T}yes" >&6
6283 echo "$as_me:$LINENO: result: no" >&5
6284 echo "${ECHO_T}no" >&6
6289 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-printarch" >&5
6290 echo $ECHO_N "checking for --${enablestring:-enable}-printarch... $ECHO_C" >&6
6292 # Check whether --enable-printarch or --disable-printarch was given.
6293 if test "${enable_printarch+set}" = set; then
6294 enableval
="$enable_printarch"
6296 if test "$enableval" = yes; then
6297 ac_cv_use_printarch
='wxUSE_PRINTING_ARCHITECTURE=yes'
6299 ac_cv_use_printarch
='wxUSE_PRINTING_ARCHITECTURE=no'
6304 LINE
=`grep "wxUSE_PRINTING_ARCHITECTURE" ${wx_arg_cache_file}`
6305 if test "x$LINE" != x
; then
6306 eval "DEFAULT_$LINE"
6311 ac_cv_use_printarch
='wxUSE_PRINTING_ARCHITECTURE='$DEFAULT_wxUSE_PRINTING_ARCHITECTURE
6315 eval "$ac_cv_use_printarch"
6316 if test "$no_cache" != 1; then
6317 echo $ac_cv_use_printarch >> ${wx_arg_cache_file}.tmp
6320 if test "$wxUSE_PRINTING_ARCHITECTURE" = yes; then
6321 echo "$as_me:$LINENO: result: yes" >&5
6322 echo "${ECHO_T}yes" >&6
6324 echo "$as_me:$LINENO: result: no" >&5
6325 echo "${ECHO_T}no" >&6
6330 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mdi" >&5
6331 echo $ECHO_N "checking for --${enablestring:-enable}-mdi... $ECHO_C" >&6
6333 # Check whether --enable-mdi or --disable-mdi was given.
6334 if test "${enable_mdi+set}" = set; then
6335 enableval
="$enable_mdi"
6337 if test "$enableval" = yes; then
6338 ac_cv_use_mdi
='wxUSE_MDI_ARCHITECTURE=yes'
6340 ac_cv_use_mdi
='wxUSE_MDI_ARCHITECTURE=no'
6345 LINE
=`grep "wxUSE_MDI_ARCHITECTURE" ${wx_arg_cache_file}`
6346 if test "x$LINE" != x
; then
6347 eval "DEFAULT_$LINE"
6352 ac_cv_use_mdi
='wxUSE_MDI_ARCHITECTURE='$DEFAULT_wxUSE_MDI_ARCHITECTURE
6356 eval "$ac_cv_use_mdi"
6357 if test "$no_cache" != 1; then
6358 echo $ac_cv_use_mdi >> ${wx_arg_cache_file}.tmp
6361 if test "$wxUSE_MDI_ARCHITECTURE" = yes; then
6362 echo "$as_me:$LINENO: result: yes" >&5
6363 echo "${ECHO_T}yes" >&6
6365 echo "$as_me:$LINENO: result: no" >&5
6366 echo "${ECHO_T}no" >&6
6371 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-loggui" >&5
6372 echo $ECHO_N "checking for --${enablestring:-enable}-loggui... $ECHO_C" >&6
6374 # Check whether --enable-loggui or --disable-loggui was given.
6375 if test "${enable_loggui+set}" = set; then
6376 enableval
="$enable_loggui"
6378 if test "$enableval" = yes; then
6379 ac_cv_use_loggui
='wxUSE_LOGGUI=yes'
6381 ac_cv_use_loggui
='wxUSE_LOGGUI=no'
6386 LINE
=`grep "wxUSE_LOGGUI" ${wx_arg_cache_file}`
6387 if test "x$LINE" != x
; then
6388 eval "DEFAULT_$LINE"
6393 ac_cv_use_loggui
='wxUSE_LOGGUI='$DEFAULT_wxUSE_LOGGUI
6397 eval "$ac_cv_use_loggui"
6398 if test "$no_cache" != 1; then
6399 echo $ac_cv_use_loggui >> ${wx_arg_cache_file}.tmp
6402 if test "$wxUSE_LOGGUI" = yes; then
6403 echo "$as_me:$LINENO: result: yes" >&5
6404 echo "${ECHO_T}yes" >&6
6406 echo "$as_me:$LINENO: result: no" >&5
6407 echo "${ECHO_T}no" >&6
6412 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-logwin" >&5
6413 echo $ECHO_N "checking for --${enablestring:-enable}-logwin... $ECHO_C" >&6
6415 # Check whether --enable-logwin or --disable-logwin was given.
6416 if test "${enable_logwin+set}" = set; then
6417 enableval
="$enable_logwin"
6419 if test "$enableval" = yes; then
6420 ac_cv_use_logwin
='wxUSE_LOGWINDOW=yes'
6422 ac_cv_use_logwin
='wxUSE_LOGWINDOW=no'
6427 LINE
=`grep "wxUSE_LOGWINDOW" ${wx_arg_cache_file}`
6428 if test "x$LINE" != x
; then
6429 eval "DEFAULT_$LINE"
6434 ac_cv_use_logwin
='wxUSE_LOGWINDOW='$DEFAULT_wxUSE_LOGWINDOW
6438 eval "$ac_cv_use_logwin"
6439 if test "$no_cache" != 1; then
6440 echo $ac_cv_use_logwin >> ${wx_arg_cache_file}.tmp
6443 if test "$wxUSE_LOGWINDOW" = yes; then
6444 echo "$as_me:$LINENO: result: yes" >&5
6445 echo "${ECHO_T}yes" >&6
6447 echo "$as_me:$LINENO: result: no" >&5
6448 echo "${ECHO_T}no" >&6
6453 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-logdialog" >&5
6454 echo $ECHO_N "checking for --${enablestring:-enable}-logdialog... $ECHO_C" >&6
6456 # Check whether --enable-logdialog or --disable-logdialog was given.
6457 if test "${enable_logdialog+set}" = set; then
6458 enableval
="$enable_logdialog"
6460 if test "$enableval" = yes; then
6461 ac_cv_use_logdialog
='wxUSE_LOGDIALOG=yes'
6463 ac_cv_use_logdialog
='wxUSE_LOGDIALOG=no'
6468 LINE
=`grep "wxUSE_LOGDIALOG" ${wx_arg_cache_file}`
6469 if test "x$LINE" != x
; then
6470 eval "DEFAULT_$LINE"
6475 ac_cv_use_logdialog
='wxUSE_LOGDIALOG='$DEFAULT_wxUSE_LOGDIALOG
6479 eval "$ac_cv_use_logdialog"
6480 if test "$no_cache" != 1; then
6481 echo $ac_cv_use_logdialog >> ${wx_arg_cache_file}.tmp
6484 if test "$wxUSE_LOGDIALOG" = yes; then
6485 echo "$as_me:$LINENO: result: yes" >&5
6486 echo "${ECHO_T}yes" >&6
6488 echo "$as_me:$LINENO: result: no" >&5
6489 echo "${ECHO_T}no" >&6
6495 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-postscript" >&5
6496 echo $ECHO_N "checking for --${enablestring:-enable}-postscript... $ECHO_C" >&6
6498 # Check whether --enable-postscript or --disable-postscript was given.
6499 if test "${enable_postscript+set}" = set; then
6500 enableval
="$enable_postscript"
6502 if test "$enableval" = yes; then
6503 ac_cv_use_postscript
='wxUSE_POSTSCRIPT=yes'
6505 ac_cv_use_postscript
='wxUSE_POSTSCRIPT=no'
6510 LINE
=`grep "wxUSE_POSTSCRIPT" ${wx_arg_cache_file}`
6511 if test "x$LINE" != x
; then
6512 eval "DEFAULT_$LINE"
6517 ac_cv_use_postscript
='wxUSE_POSTSCRIPT='$DEFAULT_wxUSE_POSTSCRIPT
6521 eval "$ac_cv_use_postscript"
6522 if test "$no_cache" != 1; then
6523 echo $ac_cv_use_postscript >> ${wx_arg_cache_file}.tmp
6526 if test "$wxUSE_POSTSCRIPT" = yes; then
6527 echo "$as_me:$LINENO: result: yes" >&5
6528 echo "${ECHO_T}yes" >&6
6530 echo "$as_me:$LINENO: result: no" >&5
6531 echo "${ECHO_T}no" >&6
6539 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-prologio" >&5
6540 echo $ECHO_N "checking for --${enablestring:-enable}-prologio... $ECHO_C" >&6
6542 # Check whether --enable-prologio or --disable-prologio was given.
6543 if test "${enable_prologio+set}" = set; then
6544 enableval
="$enable_prologio"
6546 if test "$enableval" = yes; then
6547 ac_cv_use_prologio
='wxUSE_PROLOGIO=yes'
6549 ac_cv_use_prologio
='wxUSE_PROLOGIO=no'
6554 LINE
=`grep "wxUSE_PROLOGIO" ${wx_arg_cache_file}`
6555 if test "x$LINE" != x
; then
6556 eval "DEFAULT_$LINE"
6561 ac_cv_use_prologio
='wxUSE_PROLOGIO='$DEFAULT_wxUSE_PROLOGIO
6565 eval "$ac_cv_use_prologio"
6566 if test "$no_cache" != 1; then
6567 echo $ac_cv_use_prologio >> ${wx_arg_cache_file}.tmp
6570 if test "$wxUSE_PROLOGIO" = yes; then
6571 echo "$as_me:$LINENO: result: yes" >&5
6572 echo "${ECHO_T}yes" >&6
6574 echo "$as_me:$LINENO: result: no" >&5
6575 echo "${ECHO_T}no" >&6
6580 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-resources" >&5
6581 echo $ECHO_N "checking for --${enablestring:-enable}-resources... $ECHO_C" >&6
6583 # Check whether --enable-resources or --disable-resources was given.
6584 if test "${enable_resources+set}" = set; then
6585 enableval
="$enable_resources"
6587 if test "$enableval" = yes; then
6588 ac_cv_use_resources
='wxUSE_RESOURCES=yes'
6590 ac_cv_use_resources
='wxUSE_RESOURCES=no'
6595 LINE
=`grep "wxUSE_RESOURCES" ${wx_arg_cache_file}`
6596 if test "x$LINE" != x
; then
6597 eval "DEFAULT_$LINE"
6602 ac_cv_use_resources
='wxUSE_RESOURCES='$DEFAULT_wxUSE_RESOURCES
6606 eval "$ac_cv_use_resources"
6607 if test "$no_cache" != 1; then
6608 echo $ac_cv_use_resources >> ${wx_arg_cache_file}.tmp
6611 if test "$wxUSE_RESOURCES" = yes; then
6612 echo "$as_me:$LINENO: result: yes" >&5
6613 echo "${ECHO_T}yes" >&6
6615 echo "$as_me:$LINENO: result: no" >&5
6616 echo "${ECHO_T}no" >&6
6623 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-clipboard" >&5
6624 echo $ECHO_N "checking for --${enablestring:-enable}-clipboard... $ECHO_C" >&6
6626 # Check whether --enable-clipboard or --disable-clipboard was given.
6627 if test "${enable_clipboard+set}" = set; then
6628 enableval
="$enable_clipboard"
6630 if test "$enableval" = yes; then
6631 ac_cv_use_clipboard
='wxUSE_CLIPBOARD=yes'
6633 ac_cv_use_clipboard
='wxUSE_CLIPBOARD=no'
6638 LINE
=`grep "wxUSE_CLIPBOARD" ${wx_arg_cache_file}`
6639 if test "x$LINE" != x
; then
6640 eval "DEFAULT_$LINE"
6645 ac_cv_use_clipboard
='wxUSE_CLIPBOARD='$DEFAULT_wxUSE_CLIPBOARD
6649 eval "$ac_cv_use_clipboard"
6650 if test "$no_cache" != 1; then
6651 echo $ac_cv_use_clipboard >> ${wx_arg_cache_file}.tmp
6654 if test "$wxUSE_CLIPBOARD" = yes; then
6655 echo "$as_me:$LINENO: result: yes" >&5
6656 echo "${ECHO_T}yes" >&6
6658 echo "$as_me:$LINENO: result: no" >&5
6659 echo "${ECHO_T}no" >&6
6664 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dnd" >&5
6665 echo $ECHO_N "checking for --${enablestring:-enable}-dnd... $ECHO_C" >&6
6667 # Check whether --enable-dnd or --disable-dnd was given.
6668 if test "${enable_dnd+set}" = set; then
6669 enableval
="$enable_dnd"
6671 if test "$enableval" = yes; then
6672 ac_cv_use_dnd
='wxUSE_DRAG_AND_DROP=yes'
6674 ac_cv_use_dnd
='wxUSE_DRAG_AND_DROP=no'
6679 LINE
=`grep "wxUSE_DRAG_AND_DROP" ${wx_arg_cache_file}`
6680 if test "x$LINE" != x
; then
6681 eval "DEFAULT_$LINE"
6686 ac_cv_use_dnd
='wxUSE_DRAG_AND_DROP='$DEFAULT_wxUSE_DRAG_AND_DROP
6690 eval "$ac_cv_use_dnd"
6691 if test "$no_cache" != 1; then
6692 echo $ac_cv_use_dnd >> ${wx_arg_cache_file}.tmp
6695 if test "$wxUSE_DRAG_AND_DROP" = yes; then
6696 echo "$as_me:$LINENO: result: yes" >&5
6697 echo "${ECHO_T}yes" >&6
6699 echo "$as_me:$LINENO: result: no" >&5
6700 echo "${ECHO_T}no" >&6
6705 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-metafile" >&5
6706 echo $ECHO_N "checking for --${enablestring:-enable}-metafile... $ECHO_C" >&6
6708 # Check whether --enable-metafile or --disable-metafile was given.
6709 if test "${enable_metafile+set}" = set; then
6710 enableval
="$enable_metafile"
6712 if test "$enableval" = yes; then
6713 ac_cv_use_metafile
='wxUSE_METAFILE=yes'
6715 ac_cv_use_metafile
='wxUSE_METAFILE=no'
6720 LINE
=`grep "wxUSE_METAFILE" ${wx_arg_cache_file}`
6721 if test "x$LINE" != x
; then
6722 eval "DEFAULT_$LINE"
6727 ac_cv_use_metafile
='wxUSE_METAFILE='$DEFAULT_wxUSE_METAFILE
6731 eval "$ac_cv_use_metafile"
6732 if test "$no_cache" != 1; then
6733 echo $ac_cv_use_metafile >> ${wx_arg_cache_file}.tmp
6736 if test "$wxUSE_METAFILE" = yes; then
6737 echo "$as_me:$LINENO: result: yes" >&5
6738 echo "${ECHO_T}yes" >&6
6740 echo "$as_me:$LINENO: result: no" >&5
6741 echo "${ECHO_T}no" >&6
6749 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-controls" >&5
6750 echo $ECHO_N "checking for --${enablestring:-enable}-controls... $ECHO_C" >&6
6752 # Check whether --enable-controls or --disable-controls was given.
6753 if test "${enable_controls+set}" = set; then
6754 enableval
="$enable_controls"
6756 if test "$enableval" = yes; then
6757 ac_cv_use_controls
='wxUSE_CONTROLS=yes'
6759 ac_cv_use_controls
='wxUSE_CONTROLS=no'
6764 LINE
=`grep "wxUSE_CONTROLS" ${wx_arg_cache_file}`
6765 if test "x$LINE" != x
; then
6766 eval "DEFAULT_$LINE"
6771 ac_cv_use_controls
='wxUSE_CONTROLS='$DEFAULT_wxUSE_CONTROLS
6775 eval "$ac_cv_use_controls"
6776 if test "$no_cache" != 1; then
6777 echo $ac_cv_use_controls >> ${wx_arg_cache_file}.tmp
6780 if test "$wxUSE_CONTROLS" = yes; then
6781 echo "$as_me:$LINENO: result: yes" >&5
6782 echo "${ECHO_T}yes" >&6
6784 echo "$as_me:$LINENO: result: no" >&5
6785 echo "${ECHO_T}no" >&6
6789 if test "$wxUSE_CONTROLS" = "yes"; then
6790 DEFAULT_wxUSE_ACCEL
=yes
6791 DEFAULT_wxUSE_BMPBUTTON
=yes
6792 DEFAULT_wxUSE_BUTTON
=yes
6793 DEFAULT_wxUSE_CALCTRL
=no
6794 DEFAULT_wxUSE_CARET
=yes
6795 DEFAULT_wxUSE_COMBOBOX
=yes
6796 DEFAULT_wxUSE_CHECKBOX
=yes
6797 DEFAULT_wxUSE_CHECKLISTBOX
=yes
6798 DEFAULT_wxUSE_CHOICE
=yes
6799 DEFAULT_wxUSE_GAUGE
=yes
6800 DEFAULT_wxUSE_GRID
=yes
6801 DEFAULT_wxUSE_IMAGLIST
=yes
6802 DEFAULT_wxUSE_LISTBOOK
=yes
6803 DEFAULT_wxUSE_LISTBOX
=yes
6804 DEFAULT_wxUSE_LISTCTRL
=yes
6805 DEFAULT_wxUSE_NOTEBOOK
=yes
6806 DEFAULT_wxUSE_RADIOBOX
=yes
6807 DEFAULT_wxUSE_RADIOBTN
=yes
6808 DEFAULT_wxUSE_SASH
=yes
6809 DEFAULT_wxUSE_SCROLLBAR
=yes
6810 DEFAULT_wxUSE_SLIDER
=yes
6811 DEFAULT_wxUSE_SPINBTN
=yes
6812 DEFAULT_wxUSE_SPINCTRL
=yes
6813 DEFAULT_wxUSE_SPLITTER
=yes
6814 DEFAULT_wxUSE_STATBMP
=yes
6815 DEFAULT_wxUSE_STATBOX
=yes
6816 DEFAULT_wxUSE_STATLINE
=yes
6817 DEFAULT_wxUSE_STATUSBAR
=yes
6818 DEFAULT_wxUSE_TAB_DIALOG
=yes
6819 DEFAULT_wxUSE_TOGGLEBTN
=yes
6820 DEFAULT_wxUSE_TOOLBAR
=yes
6821 DEFAULT_wxUSE_TOOLBAR_NATIVE
=yes
6822 DEFAULT_wxUSE_TOOLBAR_SIMPLE
=yes
6823 DEFAULT_wxUSE_TOOLTIPS
=yes
6824 DEFAULT_wxUSE_TREECTRL
=yes
6825 DEFAULT_wxUSE_POPUPWIN
=yes
6826 DEFAULT_wxUSE_TIPWINDOW
=yes
6827 elif test "$wxUSE_CONTROLS" = "no"; then
6828 DEFAULT_wxUSE_ACCEL
=no
6829 DEFAULT_wxUSE_BMPBUTTON
=no
6830 DEFAULT_wxUSE_BUTTON
=no
6831 DEFAULT_wxUSE_CALCTRL
=no
6832 DEFAULT_wxUSE_CARET
=no
6833 DEFAULT_wxUSE_COMBOBOX
=no
6834 DEFAULT_wxUSE_CHECKBOX
=no
6835 DEFAULT_wxUSE_CHECKLISTBOX
=no
6836 DEFAULT_wxUSE_CHOICE
=no
6837 DEFAULT_wxUSE_GAUGE
=no
6838 DEFAULT_wxUSE_GRID
=no
6839 DEFAULT_wxUSE_IMAGLIST
=no
6840 DEFAULT_wxUSE_LISTBOOK
=no
6841 DEFAULT_wxUSE_LISTBOX
=no
6842 DEFAULT_wxUSE_LISTCTRL
=no
6843 DEFAULT_wxUSE_NOTEBOOK
=no
6844 DEFAULT_wxUSE_RADIOBOX
=no
6845 DEFAULT_wxUSE_RADIOBTN
=no
6846 DEFAULT_wxUSE_SASH
=no
6847 DEFAULT_wxUSE_SCROLLBAR
=no
6848 DEFAULT_wxUSE_SLIDER
=no
6849 DEFAULT_wxUSE_SPINBTN
=no
6850 DEFAULT_wxUSE_SPINCTRL
=no
6851 DEFAULT_wxUSE_SPLITTER
=no
6852 DEFAULT_wxUSE_STATBMP
=no
6853 DEFAULT_wxUSE_STATBOX
=no
6854 DEFAULT_wxUSE_STATLINE
=no
6855 DEFAULT_wxUSE_STATUSBAR
=no
6856 DEFAULT_wxUSE_TAB_DIALOG
=no
6857 DEFAULT_wxUSE_TOGGLEBTN
=no
6858 DEFAULT_wxUSE_TOOLBAR
=no
6859 DEFAULT_wxUSE_TOOLBAR_NATIVE
=no
6860 DEFAULT_wxUSE_TOOLBAR_SIMPLE
=no
6861 DEFAULT_wxUSE_TOOLTIPS
=no
6862 DEFAULT_wxUSE_TREECTRL
=no
6863 DEFAULT_wxUSE_POPUPWIN
=no
6864 DEFAULT_wxUSE_TIPWINDOW
=no
6867 ## FIXME: This is a blatant hack
6868 if test "x$wxUSE_COCOA" != "x" -a "$wxUSE_COCOA" != "0" ; then
6869 wxUSE_PRINTING_ARCHITECTURE
=no
6870 wxUSE_DRAG_AND_DROP
=no
6871 # Generic notebook requires tab dialog
6872 DEFAULT_wxUSE_TABDIALOG
=yes
6873 DEFAULT_wxUSE_SCROLLBAR
=no
6874 DEFAULT_wxUSE_TOOLTIPS
=no
6875 DEFAULT_wxUSE_DRAGIMAGE
=no
6880 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-accel" >&5
6881 echo $ECHO_N "checking for --${enablestring:-enable}-accel... $ECHO_C" >&6
6883 # Check whether --enable-accel or --disable-accel was given.
6884 if test "${enable_accel+set}" = set; then
6885 enableval
="$enable_accel"
6887 if test "$enableval" = yes; then
6888 ac_cv_use_accel
='wxUSE_ACCEL=yes'
6890 ac_cv_use_accel
='wxUSE_ACCEL=no'
6895 LINE
=`grep "wxUSE_ACCEL" ${wx_arg_cache_file}`
6896 if test "x$LINE" != x
; then
6897 eval "DEFAULT_$LINE"
6902 ac_cv_use_accel
='wxUSE_ACCEL='$DEFAULT_wxUSE_ACCEL
6906 eval "$ac_cv_use_accel"
6907 if test "$no_cache" != 1; then
6908 echo $ac_cv_use_accel >> ${wx_arg_cache_file}.tmp
6911 if test "$wxUSE_ACCEL" = yes; then
6912 echo "$as_me:$LINENO: result: yes" >&5
6913 echo "${ECHO_T}yes" >&6
6915 echo "$as_me:$LINENO: result: no" >&5
6916 echo "${ECHO_T}no" >&6
6921 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-button" >&5
6922 echo $ECHO_N "checking for --${enablestring:-enable}-button... $ECHO_C" >&6
6924 # Check whether --enable-button or --disable-button was given.
6925 if test "${enable_button+set}" = set; then
6926 enableval
="$enable_button"
6928 if test "$enableval" = yes; then
6929 ac_cv_use_button
='wxUSE_BUTTON=yes'
6931 ac_cv_use_button
='wxUSE_BUTTON=no'
6936 LINE
=`grep "wxUSE_BUTTON" ${wx_arg_cache_file}`
6937 if test "x$LINE" != x
; then
6938 eval "DEFAULT_$LINE"
6943 ac_cv_use_button
='wxUSE_BUTTON='$DEFAULT_wxUSE_BUTTON
6947 eval "$ac_cv_use_button"
6948 if test "$no_cache" != 1; then
6949 echo $ac_cv_use_button >> ${wx_arg_cache_file}.tmp
6952 if test "$wxUSE_BUTTON" = yes; then
6953 echo "$as_me:$LINENO: result: yes" >&5
6954 echo "${ECHO_T}yes" >&6
6956 echo "$as_me:$LINENO: result: no" >&5
6957 echo "${ECHO_T}no" >&6
6962 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-bmpbutton" >&5
6963 echo $ECHO_N "checking for --${enablestring:-enable}-bmpbutton... $ECHO_C" >&6
6965 # Check whether --enable-bmpbutton or --disable-bmpbutton was given.
6966 if test "${enable_bmpbutton+set}" = set; then
6967 enableval
="$enable_bmpbutton"
6969 if test "$enableval" = yes; then
6970 ac_cv_use_bmpbutton
='wxUSE_BMPBUTTON=yes'
6972 ac_cv_use_bmpbutton
='wxUSE_BMPBUTTON=no'
6977 LINE
=`grep "wxUSE_BMPBUTTON" ${wx_arg_cache_file}`
6978 if test "x$LINE" != x
; then
6979 eval "DEFAULT_$LINE"
6984 ac_cv_use_bmpbutton
='wxUSE_BMPBUTTON='$DEFAULT_wxUSE_BMPBUTTON
6988 eval "$ac_cv_use_bmpbutton"
6989 if test "$no_cache" != 1; then
6990 echo $ac_cv_use_bmpbutton >> ${wx_arg_cache_file}.tmp
6993 if test "$wxUSE_BMPBUTTON" = yes; then
6994 echo "$as_me:$LINENO: result: yes" >&5
6995 echo "${ECHO_T}yes" >&6
6997 echo "$as_me:$LINENO: result: no" >&5
6998 echo "${ECHO_T}no" >&6
7003 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-calendar" >&5
7004 echo $ECHO_N "checking for --${enablestring:-enable}-calendar... $ECHO_C" >&6
7006 # Check whether --enable-calendar or --disable-calendar was given.
7007 if test "${enable_calendar+set}" = set; then
7008 enableval
="$enable_calendar"
7010 if test "$enableval" = yes; then
7011 ac_cv_use_calendar
='wxUSE_CALCTRL=yes'
7013 ac_cv_use_calendar
='wxUSE_CALCTRL=no'
7018 LINE
=`grep "wxUSE_CALCTRL" ${wx_arg_cache_file}`
7019 if test "x$LINE" != x
; then
7020 eval "DEFAULT_$LINE"
7025 ac_cv_use_calendar
='wxUSE_CALCTRL='$DEFAULT_wxUSE_CALCTRL
7029 eval "$ac_cv_use_calendar"
7030 if test "$no_cache" != 1; then
7031 echo $ac_cv_use_calendar >> ${wx_arg_cache_file}.tmp
7034 if test "$wxUSE_CALCTRL" = yes; then
7035 echo "$as_me:$LINENO: result: yes" >&5
7036 echo "${ECHO_T}yes" >&6
7038 echo "$as_me:$LINENO: result: no" >&5
7039 echo "${ECHO_T}no" >&6
7044 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-caret" >&5
7045 echo $ECHO_N "checking for --${enablestring:-enable}-caret... $ECHO_C" >&6
7047 # Check whether --enable-caret or --disable-caret was given.
7048 if test "${enable_caret+set}" = set; then
7049 enableval
="$enable_caret"
7051 if test "$enableval" = yes; then
7052 ac_cv_use_caret
='wxUSE_CARET=yes'
7054 ac_cv_use_caret
='wxUSE_CARET=no'
7059 LINE
=`grep "wxUSE_CARET" ${wx_arg_cache_file}`
7060 if test "x$LINE" != x
; then
7061 eval "DEFAULT_$LINE"
7066 ac_cv_use_caret
='wxUSE_CARET='$DEFAULT_wxUSE_CARET
7070 eval "$ac_cv_use_caret"
7071 if test "$no_cache" != 1; then
7072 echo $ac_cv_use_caret >> ${wx_arg_cache_file}.tmp
7075 if test "$wxUSE_CARET" = yes; then
7076 echo "$as_me:$LINENO: result: yes" >&5
7077 echo "${ECHO_T}yes" >&6
7079 echo "$as_me:$LINENO: result: no" >&5
7080 echo "${ECHO_T}no" >&6
7085 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-checkbox" >&5
7086 echo $ECHO_N "checking for --${enablestring:-enable}-checkbox... $ECHO_C" >&6
7088 # Check whether --enable-checkbox or --disable-checkbox was given.
7089 if test "${enable_checkbox+set}" = set; then
7090 enableval
="$enable_checkbox"
7092 if test "$enableval" = yes; then
7093 ac_cv_use_checkbox
='wxUSE_CHECKBOX=yes'
7095 ac_cv_use_checkbox
='wxUSE_CHECKBOX=no'
7100 LINE
=`grep "wxUSE_CHECKBOX" ${wx_arg_cache_file}`
7101 if test "x$LINE" != x
; then
7102 eval "DEFAULT_$LINE"
7107 ac_cv_use_checkbox
='wxUSE_CHECKBOX='$DEFAULT_wxUSE_CHECKBOX
7111 eval "$ac_cv_use_checkbox"
7112 if test "$no_cache" != 1; then
7113 echo $ac_cv_use_checkbox >> ${wx_arg_cache_file}.tmp
7116 if test "$wxUSE_CHECKBOX" = yes; then
7117 echo "$as_me:$LINENO: result: yes" >&5
7118 echo "${ECHO_T}yes" >&6
7120 echo "$as_me:$LINENO: result: no" >&5
7121 echo "${ECHO_T}no" >&6
7126 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-checklst" >&5
7127 echo $ECHO_N "checking for --${enablestring:-enable}-checklst... $ECHO_C" >&6
7129 # Check whether --enable-checklst or --disable-checklst was given.
7130 if test "${enable_checklst+set}" = set; then
7131 enableval
="$enable_checklst"
7133 if test "$enableval" = yes; then
7134 ac_cv_use_checklst
='wxUSE_CHECKLST=yes'
7136 ac_cv_use_checklst
='wxUSE_CHECKLST=no'
7141 LINE
=`grep "wxUSE_CHECKLST" ${wx_arg_cache_file}`
7142 if test "x$LINE" != x
; then
7143 eval "DEFAULT_$LINE"
7148 ac_cv_use_checklst
='wxUSE_CHECKLST='$DEFAULT_wxUSE_CHECKLST
7152 eval "$ac_cv_use_checklst"
7153 if test "$no_cache" != 1; then
7154 echo $ac_cv_use_checklst >> ${wx_arg_cache_file}.tmp
7157 if test "$wxUSE_CHECKLST" = yes; then
7158 echo "$as_me:$LINENO: result: yes" >&5
7159 echo "${ECHO_T}yes" >&6
7161 echo "$as_me:$LINENO: result: no" >&5
7162 echo "${ECHO_T}no" >&6
7167 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choice" >&5
7168 echo $ECHO_N "checking for --${enablestring:-enable}-choice... $ECHO_C" >&6
7170 # Check whether --enable-choice or --disable-choice was given.
7171 if test "${enable_choice+set}" = set; then
7172 enableval
="$enable_choice"
7174 if test "$enableval" = yes; then
7175 ac_cv_use_choice
='wxUSE_CHOICE=yes'
7177 ac_cv_use_choice
='wxUSE_CHOICE=no'
7182 LINE
=`grep "wxUSE_CHOICE" ${wx_arg_cache_file}`
7183 if test "x$LINE" != x
; then
7184 eval "DEFAULT_$LINE"
7189 ac_cv_use_choice
='wxUSE_CHOICE='$DEFAULT_wxUSE_CHOICE
7193 eval "$ac_cv_use_choice"
7194 if test "$no_cache" != 1; then
7195 echo $ac_cv_use_choice >> ${wx_arg_cache_file}.tmp
7198 if test "$wxUSE_CHOICE" = yes; then
7199 echo "$as_me:$LINENO: result: yes" >&5
7200 echo "${ECHO_T}yes" >&6
7202 echo "$as_me:$LINENO: result: no" >&5
7203 echo "${ECHO_T}no" >&6
7208 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-combobox" >&5
7209 echo $ECHO_N "checking for --${enablestring:-enable}-combobox... $ECHO_C" >&6
7211 # Check whether --enable-combobox or --disable-combobox was given.
7212 if test "${enable_combobox+set}" = set; then
7213 enableval
="$enable_combobox"
7215 if test "$enableval" = yes; then
7216 ac_cv_use_combobox
='wxUSE_COMBOBOX=yes'
7218 ac_cv_use_combobox
='wxUSE_COMBOBOX=no'
7223 LINE
=`grep "wxUSE_COMBOBOX" ${wx_arg_cache_file}`
7224 if test "x$LINE" != x
; then
7225 eval "DEFAULT_$LINE"
7230 ac_cv_use_combobox
='wxUSE_COMBOBOX='$DEFAULT_wxUSE_COMBOBOX
7234 eval "$ac_cv_use_combobox"
7235 if test "$no_cache" != 1; then
7236 echo $ac_cv_use_combobox >> ${wx_arg_cache_file}.tmp
7239 if test "$wxUSE_COMBOBOX" = yes; then
7240 echo "$as_me:$LINENO: result: yes" >&5
7241 echo "${ECHO_T}yes" >&6
7243 echo "$as_me:$LINENO: result: no" >&5
7244 echo "${ECHO_T}no" >&6
7249 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-display" >&5
7250 echo $ECHO_N "checking for --${enablestring:-enable}-display... $ECHO_C" >&6
7252 # Check whether --enable-display or --disable-display was given.
7253 if test "${enable_display+set}" = set; then
7254 enableval
="$enable_display"
7256 if test "$enableval" = yes; then
7257 ac_cv_use_display
='wxUSE_DISPLAY=yes'
7259 ac_cv_use_display
='wxUSE_DISPLAY=no'
7264 LINE
=`grep "wxUSE_DISPLAY" ${wx_arg_cache_file}`
7265 if test "x$LINE" != x
; then
7266 eval "DEFAULT_$LINE"
7271 ac_cv_use_display
='wxUSE_DISPLAY='$DEFAULT_wxUSE_DISPLAY
7275 eval "$ac_cv_use_display"
7276 if test "$no_cache" != 1; then
7277 echo $ac_cv_use_display >> ${wx_arg_cache_file}.tmp
7280 if test "$wxUSE_DISPLAY" = yes; then
7281 echo "$as_me:$LINENO: result: yes" >&5
7282 echo "${ECHO_T}yes" >&6
7284 echo "$as_me:$LINENO: result: no" >&5
7285 echo "${ECHO_T}no" >&6
7290 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gauge" >&5
7291 echo $ECHO_N "checking for --${enablestring:-enable}-gauge... $ECHO_C" >&6
7293 # Check whether --enable-gauge or --disable-gauge was given.
7294 if test "${enable_gauge+set}" = set; then
7295 enableval
="$enable_gauge"
7297 if test "$enableval" = yes; then
7298 ac_cv_use_gauge
='wxUSE_GAUGE=yes'
7300 ac_cv_use_gauge
='wxUSE_GAUGE=no'
7305 LINE
=`grep "wxUSE_GAUGE" ${wx_arg_cache_file}`
7306 if test "x$LINE" != x
; then
7307 eval "DEFAULT_$LINE"
7312 ac_cv_use_gauge
='wxUSE_GAUGE='$DEFAULT_wxUSE_GAUGE
7316 eval "$ac_cv_use_gauge"
7317 if test "$no_cache" != 1; then
7318 echo $ac_cv_use_gauge >> ${wx_arg_cache_file}.tmp
7321 if test "$wxUSE_GAUGE" = yes; then
7322 echo "$as_me:$LINENO: result: yes" >&5
7323 echo "${ECHO_T}yes" >&6
7325 echo "$as_me:$LINENO: result: no" >&5
7326 echo "${ECHO_T}no" >&6
7331 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-grid" >&5
7332 echo $ECHO_N "checking for --${enablestring:-enable}-grid... $ECHO_C" >&6
7334 # Check whether --enable-grid or --disable-grid was given.
7335 if test "${enable_grid+set}" = set; then
7336 enableval
="$enable_grid"
7338 if test "$enableval" = yes; then
7339 ac_cv_use_grid
='wxUSE_GRID=yes'
7341 ac_cv_use_grid
='wxUSE_GRID=no'
7346 LINE
=`grep "wxUSE_GRID" ${wx_arg_cache_file}`
7347 if test "x$LINE" != x
; then
7348 eval "DEFAULT_$LINE"
7353 ac_cv_use_grid
='wxUSE_GRID='$DEFAULT_wxUSE_GRID
7357 eval "$ac_cv_use_grid"
7358 if test "$no_cache" != 1; then
7359 echo $ac_cv_use_grid >> ${wx_arg_cache_file}.tmp
7362 if test "$wxUSE_GRID" = yes; then
7363 echo "$as_me:$LINENO: result: yes" >&5
7364 echo "${ECHO_T}yes" >&6
7366 echo "$as_me:$LINENO: result: no" >&5
7367 echo "${ECHO_T}no" >&6
7372 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-imaglist" >&5
7373 echo $ECHO_N "checking for --${enablestring:-enable}-imaglist... $ECHO_C" >&6
7375 # Check whether --enable-imaglist or --disable-imaglist was given.
7376 if test "${enable_imaglist+set}" = set; then
7377 enableval
="$enable_imaglist"
7379 if test "$enableval" = yes; then
7380 ac_cv_use_imaglist
='wxUSE_IMAGLIST=yes'
7382 ac_cv_use_imaglist
='wxUSE_IMAGLIST=no'
7387 LINE
=`grep "wxUSE_IMAGLIST" ${wx_arg_cache_file}`
7388 if test "x$LINE" != x
; then
7389 eval "DEFAULT_$LINE"
7394 ac_cv_use_imaglist
='wxUSE_IMAGLIST='$DEFAULT_wxUSE_IMAGLIST
7398 eval "$ac_cv_use_imaglist"
7399 if test "$no_cache" != 1; then
7400 echo $ac_cv_use_imaglist >> ${wx_arg_cache_file}.tmp
7403 if test "$wxUSE_IMAGLIST" = yes; then
7404 echo "$as_me:$LINENO: result: yes" >&5
7405 echo "${ECHO_T}yes" >&6
7407 echo "$as_me:$LINENO: result: no" >&5
7408 echo "${ECHO_T}no" >&6
7413 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listbook" >&5
7414 echo $ECHO_N "checking for --${enablestring:-enable}-listbook... $ECHO_C" >&6
7416 # Check whether --enable-listbook or --disable-listbook was given.
7417 if test "${enable_listbook+set}" = set; then
7418 enableval
="$enable_listbook"
7420 if test "$enableval" = yes; then
7421 ac_cv_use_listbook
='wxUSE_LISTBOOK=yes'
7423 ac_cv_use_listbook
='wxUSE_LISTBOOK=no'
7428 LINE
=`grep "wxUSE_LISTBOOK" ${wx_arg_cache_file}`
7429 if test "x$LINE" != x
; then
7430 eval "DEFAULT_$LINE"
7435 ac_cv_use_listbook
='wxUSE_LISTBOOK='$DEFAULT_wxUSE_LISTBOOK
7439 eval "$ac_cv_use_listbook"
7440 if test "$no_cache" != 1; then
7441 echo $ac_cv_use_listbook >> ${wx_arg_cache_file}.tmp
7444 if test "$wxUSE_LISTBOOK" = yes; then
7445 echo "$as_me:$LINENO: result: yes" >&5
7446 echo "${ECHO_T}yes" >&6
7448 echo "$as_me:$LINENO: result: no" >&5
7449 echo "${ECHO_T}no" >&6
7454 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listbox" >&5
7455 echo $ECHO_N "checking for --${enablestring:-enable}-listbox... $ECHO_C" >&6
7457 # Check whether --enable-listbox or --disable-listbox was given.
7458 if test "${enable_listbox+set}" = set; then
7459 enableval
="$enable_listbox"
7461 if test "$enableval" = yes; then
7462 ac_cv_use_listbox
='wxUSE_LISTBOX=yes'
7464 ac_cv_use_listbox
='wxUSE_LISTBOX=no'
7469 LINE
=`grep "wxUSE_LISTBOX" ${wx_arg_cache_file}`
7470 if test "x$LINE" != x
; then
7471 eval "DEFAULT_$LINE"
7476 ac_cv_use_listbox
='wxUSE_LISTBOX='$DEFAULT_wxUSE_LISTBOX
7480 eval "$ac_cv_use_listbox"
7481 if test "$no_cache" != 1; then
7482 echo $ac_cv_use_listbox >> ${wx_arg_cache_file}.tmp
7485 if test "$wxUSE_LISTBOX" = yes; then
7486 echo "$as_me:$LINENO: result: yes" >&5
7487 echo "${ECHO_T}yes" >&6
7489 echo "$as_me:$LINENO: result: no" >&5
7490 echo "${ECHO_T}no" >&6
7495 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listctrl" >&5
7496 echo $ECHO_N "checking for --${enablestring:-enable}-listctrl... $ECHO_C" >&6
7498 # Check whether --enable-listctrl or --disable-listctrl was given.
7499 if test "${enable_listctrl+set}" = set; then
7500 enableval
="$enable_listctrl"
7502 if test "$enableval" = yes; then
7503 ac_cv_use_listctrl
='wxUSE_LISTCTRL=yes'
7505 ac_cv_use_listctrl
='wxUSE_LISTCTRL=no'
7510 LINE
=`grep "wxUSE_LISTCTRL" ${wx_arg_cache_file}`
7511 if test "x$LINE" != x
; then
7512 eval "DEFAULT_$LINE"
7517 ac_cv_use_listctrl
='wxUSE_LISTCTRL='$DEFAULT_wxUSE_LISTCTRL
7521 eval "$ac_cv_use_listctrl"
7522 if test "$no_cache" != 1; then
7523 echo $ac_cv_use_listctrl >> ${wx_arg_cache_file}.tmp
7526 if test "$wxUSE_LISTCTRL" = yes; then
7527 echo "$as_me:$LINENO: result: yes" >&5
7528 echo "${ECHO_T}yes" >&6
7530 echo "$as_me:$LINENO: result: no" >&5
7531 echo "${ECHO_T}no" >&6
7536 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-notebook" >&5
7537 echo $ECHO_N "checking for --${enablestring:-enable}-notebook... $ECHO_C" >&6
7539 # Check whether --enable-notebook or --disable-notebook was given.
7540 if test "${enable_notebook+set}" = set; then
7541 enableval
="$enable_notebook"
7543 if test "$enableval" = yes; then
7544 ac_cv_use_notebook
='wxUSE_NOTEBOOK=yes'
7546 ac_cv_use_notebook
='wxUSE_NOTEBOOK=no'
7551 LINE
=`grep "wxUSE_NOTEBOOK" ${wx_arg_cache_file}`
7552 if test "x$LINE" != x
; then
7553 eval "DEFAULT_$LINE"
7558 ac_cv_use_notebook
='wxUSE_NOTEBOOK='$DEFAULT_wxUSE_NOTEBOOK
7562 eval "$ac_cv_use_notebook"
7563 if test "$no_cache" != 1; then
7564 echo $ac_cv_use_notebook >> ${wx_arg_cache_file}.tmp
7567 if test "$wxUSE_NOTEBOOK" = yes; then
7568 echo "$as_me:$LINENO: result: yes" >&5
7569 echo "${ECHO_T}yes" >&6
7571 echo "$as_me:$LINENO: result: no" >&5
7572 echo "${ECHO_T}no" >&6
7577 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-radiobox" >&5
7578 echo $ECHO_N "checking for --${enablestring:-enable}-radiobox... $ECHO_C" >&6
7580 # Check whether --enable-radiobox or --disable-radiobox was given.
7581 if test "${enable_radiobox+set}" = set; then
7582 enableval
="$enable_radiobox"
7584 if test "$enableval" = yes; then
7585 ac_cv_use_radiobox
='wxUSE_RADIOBOX=yes'
7587 ac_cv_use_radiobox
='wxUSE_RADIOBOX=no'
7592 LINE
=`grep "wxUSE_RADIOBOX" ${wx_arg_cache_file}`
7593 if test "x$LINE" != x
; then
7594 eval "DEFAULT_$LINE"
7599 ac_cv_use_radiobox
='wxUSE_RADIOBOX='$DEFAULT_wxUSE_RADIOBOX
7603 eval "$ac_cv_use_radiobox"
7604 if test "$no_cache" != 1; then
7605 echo $ac_cv_use_radiobox >> ${wx_arg_cache_file}.tmp
7608 if test "$wxUSE_RADIOBOX" = yes; then
7609 echo "$as_me:$LINENO: result: yes" >&5
7610 echo "${ECHO_T}yes" >&6
7612 echo "$as_me:$LINENO: result: no" >&5
7613 echo "${ECHO_T}no" >&6
7618 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-radiobtn" >&5
7619 echo $ECHO_N "checking for --${enablestring:-enable}-radiobtn... $ECHO_C" >&6
7621 # Check whether --enable-radiobtn or --disable-radiobtn was given.
7622 if test "${enable_radiobtn+set}" = set; then
7623 enableval
="$enable_radiobtn"
7625 if test "$enableval" = yes; then
7626 ac_cv_use_radiobtn
='wxUSE_RADIOBTN=yes'
7628 ac_cv_use_radiobtn
='wxUSE_RADIOBTN=no'
7633 LINE
=`grep "wxUSE_RADIOBTN" ${wx_arg_cache_file}`
7634 if test "x$LINE" != x
; then
7635 eval "DEFAULT_$LINE"
7640 ac_cv_use_radiobtn
='wxUSE_RADIOBTN='$DEFAULT_wxUSE_RADIOBTN
7644 eval "$ac_cv_use_radiobtn"
7645 if test "$no_cache" != 1; then
7646 echo $ac_cv_use_radiobtn >> ${wx_arg_cache_file}.tmp
7649 if test "$wxUSE_RADIOBTN" = yes; then
7650 echo "$as_me:$LINENO: result: yes" >&5
7651 echo "${ECHO_T}yes" >&6
7653 echo "$as_me:$LINENO: result: no" >&5
7654 echo "${ECHO_T}no" >&6
7659 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sash" >&5
7660 echo $ECHO_N "checking for --${enablestring:-enable}-sash... $ECHO_C" >&6
7662 # Check whether --enable-sash or --disable-sash was given.
7663 if test "${enable_sash+set}" = set; then
7664 enableval
="$enable_sash"
7666 if test "$enableval" = yes; then
7667 ac_cv_use_sash
='wxUSE_SASH=yes'
7669 ac_cv_use_sash
='wxUSE_SASH=no'
7674 LINE
=`grep "wxUSE_SASH" ${wx_arg_cache_file}`
7675 if test "x$LINE" != x
; then
7676 eval "DEFAULT_$LINE"
7681 ac_cv_use_sash
='wxUSE_SASH='$DEFAULT_wxUSE_SASH
7685 eval "$ac_cv_use_sash"
7686 if test "$no_cache" != 1; then
7687 echo $ac_cv_use_sash >> ${wx_arg_cache_file}.tmp
7690 if test "$wxUSE_SASH" = yes; then
7691 echo "$as_me:$LINENO: result: yes" >&5
7692 echo "${ECHO_T}yes" >&6
7694 echo "$as_me:$LINENO: result: no" >&5
7695 echo "${ECHO_T}no" >&6
7700 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-scrollbar" >&5
7701 echo $ECHO_N "checking for --${enablestring:-enable}-scrollbar... $ECHO_C" >&6
7703 # Check whether --enable-scrollbar or --disable-scrollbar was given.
7704 if test "${enable_scrollbar+set}" = set; then
7705 enableval
="$enable_scrollbar"
7707 if test "$enableval" = yes; then
7708 ac_cv_use_scrollbar
='wxUSE_SCROLLBAR=yes'
7710 ac_cv_use_scrollbar
='wxUSE_SCROLLBAR=no'
7715 LINE
=`grep "wxUSE_SCROLLBAR" ${wx_arg_cache_file}`
7716 if test "x$LINE" != x
; then
7717 eval "DEFAULT_$LINE"
7722 ac_cv_use_scrollbar
='wxUSE_SCROLLBAR='$DEFAULT_wxUSE_SCROLLBAR
7726 eval "$ac_cv_use_scrollbar"
7727 if test "$no_cache" != 1; then
7728 echo $ac_cv_use_scrollbar >> ${wx_arg_cache_file}.tmp
7731 if test "$wxUSE_SCROLLBAR" = yes; then
7732 echo "$as_me:$LINENO: result: yes" >&5
7733 echo "${ECHO_T}yes" >&6
7735 echo "$as_me:$LINENO: result: no" >&5
7736 echo "${ECHO_T}no" >&6
7741 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-slider" >&5
7742 echo $ECHO_N "checking for --${enablestring:-enable}-slider... $ECHO_C" >&6
7744 # Check whether --enable-slider or --disable-slider was given.
7745 if test "${enable_slider+set}" = set; then
7746 enableval
="$enable_slider"
7748 if test "$enableval" = yes; then
7749 ac_cv_use_slider
='wxUSE_SLIDER=yes'
7751 ac_cv_use_slider
='wxUSE_SLIDER=no'
7756 LINE
=`grep "wxUSE_SLIDER" ${wx_arg_cache_file}`
7757 if test "x$LINE" != x
; then
7758 eval "DEFAULT_$LINE"
7763 ac_cv_use_slider
='wxUSE_SLIDER='$DEFAULT_wxUSE_SLIDER
7767 eval "$ac_cv_use_slider"
7768 if test "$no_cache" != 1; then
7769 echo $ac_cv_use_slider >> ${wx_arg_cache_file}.tmp
7772 if test "$wxUSE_SLIDER" = yes; then
7773 echo "$as_me:$LINENO: result: yes" >&5
7774 echo "${ECHO_T}yes" >&6
7776 echo "$as_me:$LINENO: result: no" >&5
7777 echo "${ECHO_T}no" >&6
7782 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-spinbtn" >&5
7783 echo $ECHO_N "checking for --${enablestring:-enable}-spinbtn... $ECHO_C" >&6
7785 # Check whether --enable-spinbtn or --disable-spinbtn was given.
7786 if test "${enable_spinbtn+set}" = set; then
7787 enableval
="$enable_spinbtn"
7789 if test "$enableval" = yes; then
7790 ac_cv_use_spinbtn
='wxUSE_SPINBTN=yes'
7792 ac_cv_use_spinbtn
='wxUSE_SPINBTN=no'
7797 LINE
=`grep "wxUSE_SPINBTN" ${wx_arg_cache_file}`
7798 if test "x$LINE" != x
; then
7799 eval "DEFAULT_$LINE"
7804 ac_cv_use_spinbtn
='wxUSE_SPINBTN='$DEFAULT_wxUSE_SPINBTN
7808 eval "$ac_cv_use_spinbtn"
7809 if test "$no_cache" != 1; then
7810 echo $ac_cv_use_spinbtn >> ${wx_arg_cache_file}.tmp
7813 if test "$wxUSE_SPINBTN" = yes; then
7814 echo "$as_me:$LINENO: result: yes" >&5
7815 echo "${ECHO_T}yes" >&6
7817 echo "$as_me:$LINENO: result: no" >&5
7818 echo "${ECHO_T}no" >&6
7823 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-spinctrl" >&5
7824 echo $ECHO_N "checking for --${enablestring:-enable}-spinctrl... $ECHO_C" >&6
7826 # Check whether --enable-spinctrl or --disable-spinctrl was given.
7827 if test "${enable_spinctrl+set}" = set; then
7828 enableval
="$enable_spinctrl"
7830 if test "$enableval" = yes; then
7831 ac_cv_use_spinctrl
='wxUSE_SPINCTRL=yes'
7833 ac_cv_use_spinctrl
='wxUSE_SPINCTRL=no'
7838 LINE
=`grep "wxUSE_SPINCTRL" ${wx_arg_cache_file}`
7839 if test "x$LINE" != x
; then
7840 eval "DEFAULT_$LINE"
7845 ac_cv_use_spinctrl
='wxUSE_SPINCTRL='$DEFAULT_wxUSE_SPINCTRL
7849 eval "$ac_cv_use_spinctrl"
7850 if test "$no_cache" != 1; then
7851 echo $ac_cv_use_spinctrl >> ${wx_arg_cache_file}.tmp
7854 if test "$wxUSE_SPINCTRL" = yes; then
7855 echo "$as_me:$LINENO: result: yes" >&5
7856 echo "${ECHO_T}yes" >&6
7858 echo "$as_me:$LINENO: result: no" >&5
7859 echo "${ECHO_T}no" >&6
7864 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splitter" >&5
7865 echo $ECHO_N "checking for --${enablestring:-enable}-splitter... $ECHO_C" >&6
7867 # Check whether --enable-splitter or --disable-splitter was given.
7868 if test "${enable_splitter+set}" = set; then
7869 enableval
="$enable_splitter"
7871 if test "$enableval" = yes; then
7872 ac_cv_use_splitter
='wxUSE_SPLITTER=yes'
7874 ac_cv_use_splitter
='wxUSE_SPLITTER=no'
7879 LINE
=`grep "wxUSE_SPLITTER" ${wx_arg_cache_file}`
7880 if test "x$LINE" != x
; then
7881 eval "DEFAULT_$LINE"
7886 ac_cv_use_splitter
='wxUSE_SPLITTER='$DEFAULT_wxUSE_SPLITTER
7890 eval "$ac_cv_use_splitter"
7891 if test "$no_cache" != 1; then
7892 echo $ac_cv_use_splitter >> ${wx_arg_cache_file}.tmp
7895 if test "$wxUSE_SPLITTER" = yes; then
7896 echo "$as_me:$LINENO: result: yes" >&5
7897 echo "${ECHO_T}yes" >&6
7899 echo "$as_me:$LINENO: result: no" >&5
7900 echo "${ECHO_T}no" >&6
7905 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statbmp" >&5
7906 echo $ECHO_N "checking for --${enablestring:-enable}-statbmp... $ECHO_C" >&6
7908 # Check whether --enable-statbmp or --disable-statbmp was given.
7909 if test "${enable_statbmp+set}" = set; then
7910 enableval
="$enable_statbmp"
7912 if test "$enableval" = yes; then
7913 ac_cv_use_statbmp
='wxUSE_STATBMP=yes'
7915 ac_cv_use_statbmp
='wxUSE_STATBMP=no'
7920 LINE
=`grep "wxUSE_STATBMP" ${wx_arg_cache_file}`
7921 if test "x$LINE" != x
; then
7922 eval "DEFAULT_$LINE"
7927 ac_cv_use_statbmp
='wxUSE_STATBMP='$DEFAULT_wxUSE_STATBMP
7931 eval "$ac_cv_use_statbmp"
7932 if test "$no_cache" != 1; then
7933 echo $ac_cv_use_statbmp >> ${wx_arg_cache_file}.tmp
7936 if test "$wxUSE_STATBMP" = yes; then
7937 echo "$as_me:$LINENO: result: yes" >&5
7938 echo "${ECHO_T}yes" >&6
7940 echo "$as_me:$LINENO: result: no" >&5
7941 echo "${ECHO_T}no" >&6
7946 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statbox" >&5
7947 echo $ECHO_N "checking for --${enablestring:-enable}-statbox... $ECHO_C" >&6
7949 # Check whether --enable-statbox or --disable-statbox was given.
7950 if test "${enable_statbox+set}" = set; then
7951 enableval
="$enable_statbox"
7953 if test "$enableval" = yes; then
7954 ac_cv_use_statbox
='wxUSE_STATBOX=yes'
7956 ac_cv_use_statbox
='wxUSE_STATBOX=no'
7961 LINE
=`grep "wxUSE_STATBOX" ${wx_arg_cache_file}`
7962 if test "x$LINE" != x
; then
7963 eval "DEFAULT_$LINE"
7968 ac_cv_use_statbox
='wxUSE_STATBOX='$DEFAULT_wxUSE_STATBOX
7972 eval "$ac_cv_use_statbox"
7973 if test "$no_cache" != 1; then
7974 echo $ac_cv_use_statbox >> ${wx_arg_cache_file}.tmp
7977 if test "$wxUSE_STATBOX" = yes; then
7978 echo "$as_me:$LINENO: result: yes" >&5
7979 echo "${ECHO_T}yes" >&6
7981 echo "$as_me:$LINENO: result: no" >&5
7982 echo "${ECHO_T}no" >&6
7987 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statline" >&5
7988 echo $ECHO_N "checking for --${enablestring:-enable}-statline... $ECHO_C" >&6
7990 # Check whether --enable-statline or --disable-statline was given.
7991 if test "${enable_statline+set}" = set; then
7992 enableval
="$enable_statline"
7994 if test "$enableval" = yes; then
7995 ac_cv_use_statline
='wxUSE_STATLINE=yes'
7997 ac_cv_use_statline
='wxUSE_STATLINE=no'
8002 LINE
=`grep "wxUSE_STATLINE" ${wx_arg_cache_file}`
8003 if test "x$LINE" != x
; then
8004 eval "DEFAULT_$LINE"
8009 ac_cv_use_statline
='wxUSE_STATLINE='$DEFAULT_wxUSE_STATLINE
8013 eval "$ac_cv_use_statline"
8014 if test "$no_cache" != 1; then
8015 echo $ac_cv_use_statline >> ${wx_arg_cache_file}.tmp
8018 if test "$wxUSE_STATLINE" = yes; then
8019 echo "$as_me:$LINENO: result: yes" >&5
8020 echo "${ECHO_T}yes" >&6
8022 echo "$as_me:$LINENO: result: no" >&5
8023 echo "${ECHO_T}no" >&6
8028 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stattext" >&5
8029 echo $ECHO_N "checking for --${enablestring:-enable}-stattext... $ECHO_C" >&6
8031 # Check whether --enable-stattext or --disable-stattext was given.
8032 if test "${enable_stattext+set}" = set; then
8033 enableval
="$enable_stattext"
8035 if test "$enableval" = yes; then
8036 ac_cv_use_stattext
='wxUSE_STATTEXT=yes'
8038 ac_cv_use_stattext
='wxUSE_STATTEXT=no'
8043 LINE
=`grep "wxUSE_STATTEXT" ${wx_arg_cache_file}`
8044 if test "x$LINE" != x
; then
8045 eval "DEFAULT_$LINE"
8050 ac_cv_use_stattext
='wxUSE_STATTEXT='$DEFAULT_wxUSE_STATTEXT
8054 eval "$ac_cv_use_stattext"
8055 if test "$no_cache" != 1; then
8056 echo $ac_cv_use_stattext >> ${wx_arg_cache_file}.tmp
8059 if test "$wxUSE_STATTEXT" = yes; then
8060 echo "$as_me:$LINENO: result: yes" >&5
8061 echo "${ECHO_T}yes" >&6
8063 echo "$as_me:$LINENO: result: no" >&5
8064 echo "${ECHO_T}no" >&6
8069 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statusbar" >&5
8070 echo $ECHO_N "checking for --${enablestring:-enable}-statusbar... $ECHO_C" >&6
8072 # Check whether --enable-statusbar or --disable-statusbar was given.
8073 if test "${enable_statusbar+set}" = set; then
8074 enableval
="$enable_statusbar"
8076 if test "$enableval" = yes; then
8077 ac_cv_use_statusbar
='wxUSE_STATUSBAR=yes'
8079 ac_cv_use_statusbar
='wxUSE_STATUSBAR=no'
8084 LINE
=`grep "wxUSE_STATUSBAR" ${wx_arg_cache_file}`
8085 if test "x$LINE" != x
; then
8086 eval "DEFAULT_$LINE"
8091 ac_cv_use_statusbar
='wxUSE_STATUSBAR='$DEFAULT_wxUSE_STATUSBAR
8095 eval "$ac_cv_use_statusbar"
8096 if test "$no_cache" != 1; then
8097 echo $ac_cv_use_statusbar >> ${wx_arg_cache_file}.tmp
8100 if test "$wxUSE_STATUSBAR" = yes; then
8101 echo "$as_me:$LINENO: result: yes" >&5
8102 echo "${ECHO_T}yes" >&6
8104 echo "$as_me:$LINENO: result: no" >&5
8105 echo "${ECHO_T}no" >&6
8110 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tabdialog" >&5
8111 echo $ECHO_N "checking for --${enablestring:-enable}-tabdialog... $ECHO_C" >&6
8113 # Check whether --enable-tabdialog or --disable-tabdialog was given.
8114 if test "${enable_tabdialog+set}" = set; then
8115 enableval
="$enable_tabdialog"
8117 if test "$enableval" = yes; then
8118 ac_cv_use_tabdialog
='wxUSE_TABDIALOG=yes'
8120 ac_cv_use_tabdialog
='wxUSE_TABDIALOG=no'
8125 LINE
=`grep "wxUSE_TABDIALOG" ${wx_arg_cache_file}`
8126 if test "x$LINE" != x
; then
8127 eval "DEFAULT_$LINE"
8132 ac_cv_use_tabdialog
='wxUSE_TABDIALOG='$DEFAULT_wxUSE_TABDIALOG
8136 eval "$ac_cv_use_tabdialog"
8137 if test "$no_cache" != 1; then
8138 echo $ac_cv_use_tabdialog >> ${wx_arg_cache_file}.tmp
8141 if test "$wxUSE_TABDIALOG" = yes; then
8142 echo "$as_me:$LINENO: result: yes" >&5
8143 echo "${ECHO_T}yes" >&6
8145 echo "$as_me:$LINENO: result: no" >&5
8146 echo "${ECHO_T}no" >&6
8151 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textctrl" >&5
8152 echo $ECHO_N "checking for --${enablestring:-enable}-textctrl... $ECHO_C" >&6
8154 # Check whether --enable-textctrl or --disable-textctrl was given.
8155 if test "${enable_textctrl+set}" = set; then
8156 enableval
="$enable_textctrl"
8158 if test "$enableval" = yes; then
8159 ac_cv_use_textctrl
='wxUSE_TEXTCTRL=yes'
8161 ac_cv_use_textctrl
='wxUSE_TEXTCTRL=no'
8166 LINE
=`grep "wxUSE_TEXTCTRL" ${wx_arg_cache_file}`
8167 if test "x$LINE" != x
; then
8168 eval "DEFAULT_$LINE"
8173 ac_cv_use_textctrl
='wxUSE_TEXTCTRL='$DEFAULT_wxUSE_TEXTCTRL
8177 eval "$ac_cv_use_textctrl"
8178 if test "$no_cache" != 1; then
8179 echo $ac_cv_use_textctrl >> ${wx_arg_cache_file}.tmp
8182 if test "$wxUSE_TEXTCTRL" = yes; then
8183 echo "$as_me:$LINENO: result: yes" >&5
8184 echo "${ECHO_T}yes" >&6
8186 echo "$as_me:$LINENO: result: no" >&5
8187 echo "${ECHO_T}no" >&6
8192 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-togglebtn" >&5
8193 echo $ECHO_N "checking for --${enablestring:-enable}-togglebtn... $ECHO_C" >&6
8195 # Check whether --enable-togglebtn or --disable-togglebtn was given.
8196 if test "${enable_togglebtn+set}" = set; then
8197 enableval
="$enable_togglebtn"
8199 if test "$enableval" = yes; then
8200 ac_cv_use_togglebtn
='wxUSE_TOGGLEBTN=yes'
8202 ac_cv_use_togglebtn
='wxUSE_TOGGLEBTN=no'
8207 LINE
=`grep "wxUSE_TOGGLEBTN" ${wx_arg_cache_file}`
8208 if test "x$LINE" != x
; then
8209 eval "DEFAULT_$LINE"
8214 ac_cv_use_togglebtn
='wxUSE_TOGGLEBTN='$DEFAULT_wxUSE_TOGGLEBTN
8218 eval "$ac_cv_use_togglebtn"
8219 if test "$no_cache" != 1; then
8220 echo $ac_cv_use_togglebtn >> ${wx_arg_cache_file}.tmp
8223 if test "$wxUSE_TOGGLEBTN" = yes; then
8224 echo "$as_me:$LINENO: result: yes" >&5
8225 echo "${ECHO_T}yes" >&6
8227 echo "$as_me:$LINENO: result: no" >&5
8228 echo "${ECHO_T}no" >&6
8233 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-toolbar" >&5
8234 echo $ECHO_N "checking for --${enablestring:-enable}-toolbar... $ECHO_C" >&6
8236 # Check whether --enable-toolbar or --disable-toolbar was given.
8237 if test "${enable_toolbar+set}" = set; then
8238 enableval
="$enable_toolbar"
8240 if test "$enableval" = yes; then
8241 ac_cv_use_toolbar
='wxUSE_TOOLBAR=yes'
8243 ac_cv_use_toolbar
='wxUSE_TOOLBAR=no'
8248 LINE
=`grep "wxUSE_TOOLBAR" ${wx_arg_cache_file}`
8249 if test "x$LINE" != x
; then
8250 eval "DEFAULT_$LINE"
8255 ac_cv_use_toolbar
='wxUSE_TOOLBAR='$DEFAULT_wxUSE_TOOLBAR
8259 eval "$ac_cv_use_toolbar"
8260 if test "$no_cache" != 1; then
8261 echo $ac_cv_use_toolbar >> ${wx_arg_cache_file}.tmp
8264 if test "$wxUSE_TOOLBAR" = yes; then
8265 echo "$as_me:$LINENO: result: yes" >&5
8266 echo "${ECHO_T}yes" >&6
8268 echo "$as_me:$LINENO: result: no" >&5
8269 echo "${ECHO_T}no" >&6
8274 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tbarnative" >&5
8275 echo $ECHO_N "checking for --${enablestring:-enable}-tbarnative... $ECHO_C" >&6
8277 # Check whether --enable-tbarnative or --disable-tbarnative was given.
8278 if test "${enable_tbarnative+set}" = set; then
8279 enableval
="$enable_tbarnative"
8281 if test "$enableval" = yes; then
8282 ac_cv_use_tbarnative
='wxUSE_TOOLBAR_NATIVE=yes'
8284 ac_cv_use_tbarnative
='wxUSE_TOOLBAR_NATIVE=no'
8289 LINE
=`grep "wxUSE_TOOLBAR_NATIVE" ${wx_arg_cache_file}`
8290 if test "x$LINE" != x
; then
8291 eval "DEFAULT_$LINE"
8296 ac_cv_use_tbarnative
='wxUSE_TOOLBAR_NATIVE='$DEFAULT_wxUSE_TOOLBAR_NATIVE
8300 eval "$ac_cv_use_tbarnative"
8301 if test "$no_cache" != 1; then
8302 echo $ac_cv_use_tbarnative >> ${wx_arg_cache_file}.tmp
8305 if test "$wxUSE_TOOLBAR_NATIVE" = yes; then
8306 echo "$as_me:$LINENO: result: yes" >&5
8307 echo "${ECHO_T}yes" >&6
8309 echo "$as_me:$LINENO: result: no" >&5
8310 echo "${ECHO_T}no" >&6
8315 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tbarsmpl" >&5
8316 echo $ECHO_N "checking for --${enablestring:-enable}-tbarsmpl... $ECHO_C" >&6
8318 # Check whether --enable-tbarsmpl or --disable-tbarsmpl was given.
8319 if test "${enable_tbarsmpl+set}" = set; then
8320 enableval
="$enable_tbarsmpl"
8322 if test "$enableval" = yes; then
8323 ac_cv_use_tbarsmpl
='wxUSE_TOOLBAR_SIMPLE=yes'
8325 ac_cv_use_tbarsmpl
='wxUSE_TOOLBAR_SIMPLE=no'
8330 LINE
=`grep "wxUSE_TOOLBAR_SIMPLE" ${wx_arg_cache_file}`
8331 if test "x$LINE" != x
; then
8332 eval "DEFAULT_$LINE"
8337 ac_cv_use_tbarsmpl
='wxUSE_TOOLBAR_SIMPLE='$DEFAULT_wxUSE_TOOLBAR_SIMPLE
8341 eval "$ac_cv_use_tbarsmpl"
8342 if test "$no_cache" != 1; then
8343 echo $ac_cv_use_tbarsmpl >> ${wx_arg_cache_file}.tmp
8346 if test "$wxUSE_TOOLBAR_SIMPLE" = yes; then
8347 echo "$as_me:$LINENO: result: yes" >&5
8348 echo "${ECHO_T}yes" >&6
8350 echo "$as_me:$LINENO: result: no" >&5
8351 echo "${ECHO_T}no" >&6
8356 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-treectrl" >&5
8357 echo $ECHO_N "checking for --${enablestring:-enable}-treectrl... $ECHO_C" >&6
8359 # Check whether --enable-treectrl or --disable-treectrl was given.
8360 if test "${enable_treectrl+set}" = set; then
8361 enableval
="$enable_treectrl"
8363 if test "$enableval" = yes; then
8364 ac_cv_use_treectrl
='wxUSE_TREECTRL=yes'
8366 ac_cv_use_treectrl
='wxUSE_TREECTRL=no'
8371 LINE
=`grep "wxUSE_TREECTRL" ${wx_arg_cache_file}`
8372 if test "x$LINE" != x
; then
8373 eval "DEFAULT_$LINE"
8378 ac_cv_use_treectrl
='wxUSE_TREECTRL='$DEFAULT_wxUSE_TREECTRL
8382 eval "$ac_cv_use_treectrl"
8383 if test "$no_cache" != 1; then
8384 echo $ac_cv_use_treectrl >> ${wx_arg_cache_file}.tmp
8387 if test "$wxUSE_TREECTRL" = yes; then
8388 echo "$as_me:$LINENO: result: yes" >&5
8389 echo "${ECHO_T}yes" >&6
8391 echo "$as_me:$LINENO: result: no" >&5
8392 echo "${ECHO_T}no" >&6
8397 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tipwindow" >&5
8398 echo $ECHO_N "checking for --${enablestring:-enable}-tipwindow... $ECHO_C" >&6
8400 # Check whether --enable-tipwindow or --disable-tipwindow was given.
8401 if test "${enable_tipwindow+set}" = set; then
8402 enableval
="$enable_tipwindow"
8404 if test "$enableval" = yes; then
8405 ac_cv_use_tipwindow
='wxUSE_TIPWINDOW=yes'
8407 ac_cv_use_tipwindow
='wxUSE_TIPWINDOW=no'
8412 LINE
=`grep "wxUSE_TIPWINDOW" ${wx_arg_cache_file}`
8413 if test "x$LINE" != x
; then
8414 eval "DEFAULT_$LINE"
8419 ac_cv_use_tipwindow
='wxUSE_TIPWINDOW='$DEFAULT_wxUSE_TIPWINDOW
8423 eval "$ac_cv_use_tipwindow"
8424 if test "$no_cache" != 1; then
8425 echo $ac_cv_use_tipwindow >> ${wx_arg_cache_file}.tmp
8428 if test "$wxUSE_TIPWINDOW" = yes; then
8429 echo "$as_me:$LINENO: result: yes" >&5
8430 echo "${ECHO_T}yes" >&6
8432 echo "$as_me:$LINENO: result: no" >&5
8433 echo "${ECHO_T}no" >&6
8438 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-popupwin" >&5
8439 echo $ECHO_N "checking for --${enablestring:-enable}-popupwin... $ECHO_C" >&6
8441 # Check whether --enable-popupwin or --disable-popupwin was given.
8442 if test "${enable_popupwin+set}" = set; then
8443 enableval
="$enable_popupwin"
8445 if test "$enableval" = yes; then
8446 ac_cv_use_popupwin
='wxUSE_POPUPWIN=yes'
8448 ac_cv_use_popupwin
='wxUSE_POPUPWIN=no'
8453 LINE
=`grep "wxUSE_POPUPWIN" ${wx_arg_cache_file}`
8454 if test "x$LINE" != x
; then
8455 eval "DEFAULT_$LINE"
8460 ac_cv_use_popupwin
='wxUSE_POPUPWIN='$DEFAULT_wxUSE_POPUPWIN
8464 eval "$ac_cv_use_popupwin"
8465 if test "$no_cache" != 1; then
8466 echo $ac_cv_use_popupwin >> ${wx_arg_cache_file}.tmp
8469 if test "$wxUSE_POPUPWIN" = yes; then
8470 echo "$as_me:$LINENO: result: yes" >&5
8471 echo "${ECHO_T}yes" >&6
8473 echo "$as_me:$LINENO: result: no" >&5
8474 echo "${ECHO_T}no" >&6
8481 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-commondlg" >&5
8482 echo $ECHO_N "checking for --${enablestring:-enable}-commondlg... $ECHO_C" >&6
8484 # Check whether --enable-commondlg or --disable-commondlg was given.
8485 if test "${enable_commondlg+set}" = set; then
8486 enableval
="$enable_commondlg"
8488 if test "$enableval" = yes; then
8489 ac_cv_use_commondlg
='wxUSE_COMMONDLGS=yes'
8491 ac_cv_use_commondlg
='wxUSE_COMMONDLGS=no'
8496 LINE
=`grep "wxUSE_COMMONDLGS" ${wx_arg_cache_file}`
8497 if test "x$LINE" != x
; then
8498 eval "DEFAULT_$LINE"
8503 ac_cv_use_commondlg
='wxUSE_COMMONDLGS='$DEFAULT_wxUSE_COMMONDLGS
8507 eval "$ac_cv_use_commondlg"
8508 if test "$no_cache" != 1; then
8509 echo $ac_cv_use_commondlg >> ${wx_arg_cache_file}.tmp
8512 if test "$wxUSE_COMMONDLGS" = yes; then
8513 echo "$as_me:$LINENO: result: yes" >&5
8514 echo "${ECHO_T}yes" >&6
8516 echo "$as_me:$LINENO: result: no" >&5
8517 echo "${ECHO_T}no" >&6
8522 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choicedlg" >&5
8523 echo $ECHO_N "checking for --${enablestring:-enable}-choicedlg... $ECHO_C" >&6
8525 # Check whether --enable-choicedlg or --disable-choicedlg was given.
8526 if test "${enable_choicedlg+set}" = set; then
8527 enableval
="$enable_choicedlg"
8529 if test "$enableval" = yes; then
8530 ac_cv_use_choicedlg
='wxUSE_CHOICEDLG=yes'
8532 ac_cv_use_choicedlg
='wxUSE_CHOICEDLG=no'
8537 LINE
=`grep "wxUSE_CHOICEDLG" ${wx_arg_cache_file}`
8538 if test "x$LINE" != x
; then
8539 eval "DEFAULT_$LINE"
8544 ac_cv_use_choicedlg
='wxUSE_CHOICEDLG='$DEFAULT_wxUSE_CHOICEDLG
8548 eval "$ac_cv_use_choicedlg"
8549 if test "$no_cache" != 1; then
8550 echo $ac_cv_use_choicedlg >> ${wx_arg_cache_file}.tmp
8553 if test "$wxUSE_CHOICEDLG" = yes; then
8554 echo "$as_me:$LINENO: result: yes" >&5
8555 echo "${ECHO_T}yes" >&6
8557 echo "$as_me:$LINENO: result: no" >&5
8558 echo "${ECHO_T}no" >&6
8563 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-coldlg" >&5
8564 echo $ECHO_N "checking for --${enablestring:-enable}-coldlg... $ECHO_C" >&6
8566 # Check whether --enable-coldlg or --disable-coldlg was given.
8567 if test "${enable_coldlg+set}" = set; then
8568 enableval
="$enable_coldlg"
8570 if test "$enableval" = yes; then
8571 ac_cv_use_coldlg
='wxUSE_COLOURDLG=yes'
8573 ac_cv_use_coldlg
='wxUSE_COLOURDLG=no'
8578 LINE
=`grep "wxUSE_COLOURDLG" ${wx_arg_cache_file}`
8579 if test "x$LINE" != x
; then
8580 eval "DEFAULT_$LINE"
8585 ac_cv_use_coldlg
='wxUSE_COLOURDLG='$DEFAULT_wxUSE_COLOURDLG
8589 eval "$ac_cv_use_coldlg"
8590 if test "$no_cache" != 1; then
8591 echo $ac_cv_use_coldlg >> ${wx_arg_cache_file}.tmp
8594 if test "$wxUSE_COLOURDLG" = yes; then
8595 echo "$as_me:$LINENO: result: yes" >&5
8596 echo "${ECHO_T}yes" >&6
8598 echo "$as_me:$LINENO: result: no" >&5
8599 echo "${ECHO_T}no" >&6
8604 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filedlg" >&5
8605 echo $ECHO_N "checking for --${enablestring:-enable}-filedlg... $ECHO_C" >&6
8607 # Check whether --enable-filedlg or --disable-filedlg was given.
8608 if test "${enable_filedlg+set}" = set; then
8609 enableval
="$enable_filedlg"
8611 if test "$enableval" = yes; then
8612 ac_cv_use_filedlg
='wxUSE_FILEDLG=yes'
8614 ac_cv_use_filedlg
='wxUSE_FILEDLG=no'
8619 LINE
=`grep "wxUSE_FILEDLG" ${wx_arg_cache_file}`
8620 if test "x$LINE" != x
; then
8621 eval "DEFAULT_$LINE"
8626 ac_cv_use_filedlg
='wxUSE_FILEDLG='$DEFAULT_wxUSE_FILEDLG
8630 eval "$ac_cv_use_filedlg"
8631 if test "$no_cache" != 1; then
8632 echo $ac_cv_use_filedlg >> ${wx_arg_cache_file}.tmp
8635 if test "$wxUSE_FILEDLG" = yes; then
8636 echo "$as_me:$LINENO: result: yes" >&5
8637 echo "${ECHO_T}yes" >&6
8639 echo "$as_me:$LINENO: result: no" >&5
8640 echo "${ECHO_T}no" >&6
8645 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-finddlg" >&5
8646 echo $ECHO_N "checking for --${enablestring:-enable}-finddlg... $ECHO_C" >&6
8648 # Check whether --enable-finddlg or --disable-finddlg was given.
8649 if test "${enable_finddlg+set}" = set; then
8650 enableval
="$enable_finddlg"
8652 if test "$enableval" = yes; then
8653 ac_cv_use_finddlg
='wxUSE_FINDREPLDLG=yes'
8655 ac_cv_use_finddlg
='wxUSE_FINDREPLDLG=no'
8660 LINE
=`grep "wxUSE_FINDREPLDLG" ${wx_arg_cache_file}`
8661 if test "x$LINE" != x
; then
8662 eval "DEFAULT_$LINE"
8667 ac_cv_use_finddlg
='wxUSE_FINDREPLDLG='$DEFAULT_wxUSE_FINDREPLDLG
8671 eval "$ac_cv_use_finddlg"
8672 if test "$no_cache" != 1; then
8673 echo $ac_cv_use_finddlg >> ${wx_arg_cache_file}.tmp
8676 if test "$wxUSE_FINDREPLDLG" = yes; then
8677 echo "$as_me:$LINENO: result: yes" >&5
8678 echo "${ECHO_T}yes" >&6
8680 echo "$as_me:$LINENO: result: no" >&5
8681 echo "${ECHO_T}no" >&6
8686 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontdlg" >&5
8687 echo $ECHO_N "checking for --${enablestring:-enable}-fontdlg... $ECHO_C" >&6
8689 # Check whether --enable-fontdlg or --disable-fontdlg was given.
8690 if test "${enable_fontdlg+set}" = set; then
8691 enableval
="$enable_fontdlg"
8693 if test "$enableval" = yes; then
8694 ac_cv_use_fontdlg
='wxUSE_FONTDLG=yes'
8696 ac_cv_use_fontdlg
='wxUSE_FONTDLG=no'
8701 LINE
=`grep "wxUSE_FONTDLG" ${wx_arg_cache_file}`
8702 if test "x$LINE" != x
; then
8703 eval "DEFAULT_$LINE"
8708 ac_cv_use_fontdlg
='wxUSE_FONTDLG='$DEFAULT_wxUSE_FONTDLG
8712 eval "$ac_cv_use_fontdlg"
8713 if test "$no_cache" != 1; then
8714 echo $ac_cv_use_fontdlg >> ${wx_arg_cache_file}.tmp
8717 if test "$wxUSE_FONTDLG" = yes; then
8718 echo "$as_me:$LINENO: result: yes" >&5
8719 echo "${ECHO_T}yes" >&6
8721 echo "$as_me:$LINENO: result: no" >&5
8722 echo "${ECHO_T}no" >&6
8727 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dirdlg" >&5
8728 echo $ECHO_N "checking for --${enablestring:-enable}-dirdlg... $ECHO_C" >&6
8730 # Check whether --enable-dirdlg or --disable-dirdlg was given.
8731 if test "${enable_dirdlg+set}" = set; then
8732 enableval
="$enable_dirdlg"
8734 if test "$enableval" = yes; then
8735 ac_cv_use_dirdlg
='wxUSE_DIRDLG=yes'
8737 ac_cv_use_dirdlg
='wxUSE_DIRDLG=no'
8742 LINE
=`grep "wxUSE_DIRDLG" ${wx_arg_cache_file}`
8743 if test "x$LINE" != x
; then
8744 eval "DEFAULT_$LINE"
8749 ac_cv_use_dirdlg
='wxUSE_DIRDLG='$DEFAULT_wxUSE_DIRDLG
8753 eval "$ac_cv_use_dirdlg"
8754 if test "$no_cache" != 1; then
8755 echo $ac_cv_use_dirdlg >> ${wx_arg_cache_file}.tmp
8758 if test "$wxUSE_DIRDLG" = yes; then
8759 echo "$as_me:$LINENO: result: yes" >&5
8760 echo "${ECHO_T}yes" >&6
8762 echo "$as_me:$LINENO: result: no" >&5
8763 echo "${ECHO_T}no" >&6
8768 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-msgdlg" >&5
8769 echo $ECHO_N "checking for --${enablestring:-enable}-msgdlg... $ECHO_C" >&6
8771 # Check whether --enable-msgdlg or --disable-msgdlg was given.
8772 if test "${enable_msgdlg+set}" = set; then
8773 enableval
="$enable_msgdlg"
8775 if test "$enableval" = yes; then
8776 ac_cv_use_msgdlg
='wxUSE_MSGDLG=yes'
8778 ac_cv_use_msgdlg
='wxUSE_MSGDLG=no'
8783 LINE
=`grep "wxUSE_MSGDLG" ${wx_arg_cache_file}`
8784 if test "x$LINE" != x
; then
8785 eval "DEFAULT_$LINE"
8790 ac_cv_use_msgdlg
='wxUSE_MSGDLG='$DEFAULT_wxUSE_MSGDLG
8794 eval "$ac_cv_use_msgdlg"
8795 if test "$no_cache" != 1; then
8796 echo $ac_cv_use_msgdlg >> ${wx_arg_cache_file}.tmp
8799 if test "$wxUSE_MSGDLG" = yes; then
8800 echo "$as_me:$LINENO: result: yes" >&5
8801 echo "${ECHO_T}yes" >&6
8803 echo "$as_me:$LINENO: result: no" >&5
8804 echo "${ECHO_T}no" >&6
8809 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-numberdlg" >&5
8810 echo $ECHO_N "checking for --${enablestring:-enable}-numberdlg... $ECHO_C" >&6
8812 # Check whether --enable-numberdlg or --disable-numberdlg was given.
8813 if test "${enable_numberdlg+set}" = set; then
8814 enableval
="$enable_numberdlg"
8816 if test "$enableval" = yes; then
8817 ac_cv_use_numberdlg
='wxUSE_NUMBERDLG=yes'
8819 ac_cv_use_numberdlg
='wxUSE_NUMBERDLG=no'
8824 LINE
=`grep "wxUSE_NUMBERDLG" ${wx_arg_cache_file}`
8825 if test "x$LINE" != x
; then
8826 eval "DEFAULT_$LINE"
8831 ac_cv_use_numberdlg
='wxUSE_NUMBERDLG='$DEFAULT_wxUSE_NUMBERDLG
8835 eval "$ac_cv_use_numberdlg"
8836 if test "$no_cache" != 1; then
8837 echo $ac_cv_use_numberdlg >> ${wx_arg_cache_file}.tmp
8840 if test "$wxUSE_NUMBERDLG" = yes; then
8841 echo "$as_me:$LINENO: result: yes" >&5
8842 echo "${ECHO_T}yes" >&6
8844 echo "$as_me:$LINENO: result: no" >&5
8845 echo "${ECHO_T}no" >&6
8850 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splash" >&5
8851 echo $ECHO_N "checking for --${enablestring:-enable}-splash... $ECHO_C" >&6
8853 # Check whether --enable-splash or --disable-splash was given.
8854 if test "${enable_splash+set}" = set; then
8855 enableval
="$enable_splash"
8857 if test "$enableval" = yes; then
8858 ac_cv_use_splash
='wxUSE_SPLASH=yes'
8860 ac_cv_use_splash
='wxUSE_SPLASH=no'
8865 LINE
=`grep "wxUSE_SPLASH" ${wx_arg_cache_file}`
8866 if test "x$LINE" != x
; then
8867 eval "DEFAULT_$LINE"
8872 ac_cv_use_splash
='wxUSE_SPLASH='$DEFAULT_wxUSE_SPLASH
8876 eval "$ac_cv_use_splash"
8877 if test "$no_cache" != 1; then
8878 echo $ac_cv_use_splash >> ${wx_arg_cache_file}.tmp
8881 if test "$wxUSE_SPLASH" = yes; then
8882 echo "$as_me:$LINENO: result: yes" >&5
8883 echo "${ECHO_T}yes" >&6
8885 echo "$as_me:$LINENO: result: no" >&5
8886 echo "${ECHO_T}no" >&6
8891 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textdlg" >&5
8892 echo $ECHO_N "checking for --${enablestring:-enable}-textdlg... $ECHO_C" >&6
8894 # Check whether --enable-textdlg or --disable-textdlg was given.
8895 if test "${enable_textdlg+set}" = set; then
8896 enableval
="$enable_textdlg"
8898 if test "$enableval" = yes; then
8899 ac_cv_use_textdlg
='wxUSE_TEXTDLG=yes'
8901 ac_cv_use_textdlg
='wxUSE_TEXTDLG=no'
8906 LINE
=`grep "wxUSE_TEXTDLG" ${wx_arg_cache_file}`
8907 if test "x$LINE" != x
; then
8908 eval "DEFAULT_$LINE"
8913 ac_cv_use_textdlg
='wxUSE_TEXTDLG='$DEFAULT_wxUSE_TEXTDLG
8917 eval "$ac_cv_use_textdlg"
8918 if test "$no_cache" != 1; then
8919 echo $ac_cv_use_textdlg >> ${wx_arg_cache_file}.tmp
8922 if test "$wxUSE_TEXTDLG" = yes; then
8923 echo "$as_me:$LINENO: result: yes" >&5
8924 echo "${ECHO_T}yes" >&6
8926 echo "$as_me:$LINENO: result: no" >&5
8927 echo "${ECHO_T}no" >&6
8932 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tipdlg" >&5
8933 echo $ECHO_N "checking for --${enablestring:-enable}-tipdlg... $ECHO_C" >&6
8935 # Check whether --enable-tipdlg or --disable-tipdlg was given.
8936 if test "${enable_tipdlg+set}" = set; then
8937 enableval
="$enable_tipdlg"
8939 if test "$enableval" = yes; then
8940 ac_cv_use_tipdlg
='wxUSE_STARTUP_TIPS=yes'
8942 ac_cv_use_tipdlg
='wxUSE_STARTUP_TIPS=no'
8947 LINE
=`grep "wxUSE_STARTUP_TIPS" ${wx_arg_cache_file}`
8948 if test "x$LINE" != x
; then
8949 eval "DEFAULT_$LINE"
8954 ac_cv_use_tipdlg
='wxUSE_STARTUP_TIPS='$DEFAULT_wxUSE_STARTUP_TIPS
8958 eval "$ac_cv_use_tipdlg"
8959 if test "$no_cache" != 1; then
8960 echo $ac_cv_use_tipdlg >> ${wx_arg_cache_file}.tmp
8963 if test "$wxUSE_STARTUP_TIPS" = yes; then
8964 echo "$as_me:$LINENO: result: yes" >&5
8965 echo "${ECHO_T}yes" >&6
8967 echo "$as_me:$LINENO: result: no" >&5
8968 echo "${ECHO_T}no" >&6
8973 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-progressdlg" >&5
8974 echo $ECHO_N "checking for --${enablestring:-enable}-progressdlg... $ECHO_C" >&6
8976 # Check whether --enable-progressdlg or --disable-progressdlg was given.
8977 if test "${enable_progressdlg+set}" = set; then
8978 enableval
="$enable_progressdlg"
8980 if test "$enableval" = yes; then
8981 ac_cv_use_progressdlg
='wxUSE_PROGRESSDLG=yes'
8983 ac_cv_use_progressdlg
='wxUSE_PROGRESSDLG=no'
8988 LINE
=`grep "wxUSE_PROGRESSDLG" ${wx_arg_cache_file}`
8989 if test "x$LINE" != x
; then
8990 eval "DEFAULT_$LINE"
8995 ac_cv_use_progressdlg
='wxUSE_PROGRESSDLG='$DEFAULT_wxUSE_PROGRESSDLG
8999 eval "$ac_cv_use_progressdlg"
9000 if test "$no_cache" != 1; then
9001 echo $ac_cv_use_progressdlg >> ${wx_arg_cache_file}.tmp
9004 if test "$wxUSE_PROGRESSDLG" = yes; then
9005 echo "$as_me:$LINENO: result: yes" >&5
9006 echo "${ECHO_T}yes" >&6
9008 echo "$as_me:$LINENO: result: no" >&5
9009 echo "${ECHO_T}no" >&6
9014 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-wizarddlg" >&5
9015 echo $ECHO_N "checking for --${enablestring:-enable}-wizarddlg... $ECHO_C" >&6
9017 # Check whether --enable-wizarddlg or --disable-wizarddlg was given.
9018 if test "${enable_wizarddlg+set}" = set; then
9019 enableval
="$enable_wizarddlg"
9021 if test "$enableval" = yes; then
9022 ac_cv_use_wizarddlg
='wxUSE_WIZARDDLG=yes'
9024 ac_cv_use_wizarddlg
='wxUSE_WIZARDDLG=no'
9029 LINE
=`grep "wxUSE_WIZARDDLG" ${wx_arg_cache_file}`
9030 if test "x$LINE" != x
; then
9031 eval "DEFAULT_$LINE"
9036 ac_cv_use_wizarddlg
='wxUSE_WIZARDDLG='$DEFAULT_wxUSE_WIZARDDLG
9040 eval "$ac_cv_use_wizarddlg"
9041 if test "$no_cache" != 1; then
9042 echo $ac_cv_use_wizarddlg >> ${wx_arg_cache_file}.tmp
9045 if test "$wxUSE_WIZARDDLG" = yes; then
9046 echo "$as_me:$LINENO: result: yes" >&5
9047 echo "${ECHO_T}yes" >&6
9049 echo "$as_me:$LINENO: result: no" >&5
9050 echo "${ECHO_T}no" >&6
9057 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-menus" >&5
9058 echo $ECHO_N "checking for --${enablestring:-enable}-menus... $ECHO_C" >&6
9060 # Check whether --enable-menus or --disable-menus was given.
9061 if test "${enable_menus+set}" = set; then
9062 enableval
="$enable_menus"
9064 if test "$enableval" = yes; then
9065 ac_cv_use_menus
='wxUSE_MENUS=yes'
9067 ac_cv_use_menus
='wxUSE_MENUS=no'
9072 LINE
=`grep "wxUSE_MENUS" ${wx_arg_cache_file}`
9073 if test "x$LINE" != x
; then
9074 eval "DEFAULT_$LINE"
9079 ac_cv_use_menus
='wxUSE_MENUS='$DEFAULT_wxUSE_MENUS
9083 eval "$ac_cv_use_menus"
9084 if test "$no_cache" != 1; then
9085 echo $ac_cv_use_menus >> ${wx_arg_cache_file}.tmp
9088 if test "$wxUSE_MENUS" = yes; then
9089 echo "$as_me:$LINENO: result: yes" >&5
9090 echo "${ECHO_T}yes" >&6
9092 echo "$as_me:$LINENO: result: no" >&5
9093 echo "${ECHO_T}no" >&6
9098 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-miniframe" >&5
9099 echo $ECHO_N "checking for --${enablestring:-enable}-miniframe... $ECHO_C" >&6
9101 # Check whether --enable-miniframe or --disable-miniframe was given.
9102 if test "${enable_miniframe+set}" = set; then
9103 enableval
="$enable_miniframe"
9105 if test "$enableval" = yes; then
9106 ac_cv_use_miniframe
='wxUSE_MINIFRAME=yes'
9108 ac_cv_use_miniframe
='wxUSE_MINIFRAME=no'
9113 LINE
=`grep "wxUSE_MINIFRAME" ${wx_arg_cache_file}`
9114 if test "x$LINE" != x
; then
9115 eval "DEFAULT_$LINE"
9120 ac_cv_use_miniframe
='wxUSE_MINIFRAME='$DEFAULT_wxUSE_MINIFRAME
9124 eval "$ac_cv_use_miniframe"
9125 if test "$no_cache" != 1; then
9126 echo $ac_cv_use_miniframe >> ${wx_arg_cache_file}.tmp
9129 if test "$wxUSE_MINIFRAME" = yes; then
9130 echo "$as_me:$LINENO: result: yes" >&5
9131 echo "${ECHO_T}yes" >&6
9133 echo "$as_me:$LINENO: result: no" >&5
9134 echo "${ECHO_T}no" >&6
9139 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tooltips" >&5
9140 echo $ECHO_N "checking for --${enablestring:-enable}-tooltips... $ECHO_C" >&6
9142 # Check whether --enable-tooltips or --disable-tooltips was given.
9143 if test "${enable_tooltips+set}" = set; then
9144 enableval
="$enable_tooltips"
9146 if test "$enableval" = yes; then
9147 ac_cv_use_tooltips
='wxUSE_TOOLTIPS=yes'
9149 ac_cv_use_tooltips
='wxUSE_TOOLTIPS=no'
9154 LINE
=`grep "wxUSE_TOOLTIPS" ${wx_arg_cache_file}`
9155 if test "x$LINE" != x
; then
9156 eval "DEFAULT_$LINE"
9161 ac_cv_use_tooltips
='wxUSE_TOOLTIPS='$DEFAULT_wxUSE_TOOLTIPS
9165 eval "$ac_cv_use_tooltips"
9166 if test "$no_cache" != 1; then
9167 echo $ac_cv_use_tooltips >> ${wx_arg_cache_file}.tmp
9170 if test "$wxUSE_TOOLTIPS" = yes; then
9171 echo "$as_me:$LINENO: result: yes" >&5
9172 echo "${ECHO_T}yes" >&6
9174 echo "$as_me:$LINENO: result: no" >&5
9175 echo "${ECHO_T}no" >&6
9180 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splines" >&5
9181 echo $ECHO_N "checking for --${enablestring:-enable}-splines... $ECHO_C" >&6
9183 # Check whether --enable-splines or --disable-splines was given.
9184 if test "${enable_splines+set}" = set; then
9185 enableval
="$enable_splines"
9187 if test "$enableval" = yes; then
9188 ac_cv_use_splines
='wxUSE_SPLINES=yes'
9190 ac_cv_use_splines
='wxUSE_SPLINES=no'
9195 LINE
=`grep "wxUSE_SPLINES" ${wx_arg_cache_file}`
9196 if test "x$LINE" != x
; then
9197 eval "DEFAULT_$LINE"
9202 ac_cv_use_splines
='wxUSE_SPLINES='$DEFAULT_wxUSE_SPLINES
9206 eval "$ac_cv_use_splines"
9207 if test "$no_cache" != 1; then
9208 echo $ac_cv_use_splines >> ${wx_arg_cache_file}.tmp
9211 if test "$wxUSE_SPLINES" = yes; then
9212 echo "$as_me:$LINENO: result: yes" >&5
9213 echo "${ECHO_T}yes" >&6
9215 echo "$as_me:$LINENO: result: no" >&5
9216 echo "${ECHO_T}no" >&6
9221 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-validators" >&5
9222 echo $ECHO_N "checking for --${enablestring:-enable}-validators... $ECHO_C" >&6
9224 # Check whether --enable-validators or --disable-validators was given.
9225 if test "${enable_validators+set}" = set; then
9226 enableval
="$enable_validators"
9228 if test "$enableval" = yes; then
9229 ac_cv_use_validators
='wxUSE_VALIDATORS=yes'
9231 ac_cv_use_validators
='wxUSE_VALIDATORS=no'
9236 LINE
=`grep "wxUSE_VALIDATORS" ${wx_arg_cache_file}`
9237 if test "x$LINE" != x
; then
9238 eval "DEFAULT_$LINE"
9243 ac_cv_use_validators
='wxUSE_VALIDATORS='$DEFAULT_wxUSE_VALIDATORS
9247 eval "$ac_cv_use_validators"
9248 if test "$no_cache" != 1; then
9249 echo $ac_cv_use_validators >> ${wx_arg_cache_file}.tmp
9252 if test "$wxUSE_VALIDATORS" = yes; then
9253 echo "$as_me:$LINENO: result: yes" >&5
9254 echo "${ECHO_T}yes" >&6
9256 echo "$as_me:$LINENO: result: no" >&5
9257 echo "${ECHO_T}no" >&6
9262 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-busyinfo" >&5
9263 echo $ECHO_N "checking for --${enablestring:-enable}-busyinfo... $ECHO_C" >&6
9265 # Check whether --enable-busyinfo or --disable-busyinfo was given.
9266 if test "${enable_busyinfo+set}" = set; then
9267 enableval
="$enable_busyinfo"
9269 if test "$enableval" = yes; then
9270 ac_cv_use_busyinfo
='wxUSE_BUSYINFO=yes'
9272 ac_cv_use_busyinfo
='wxUSE_BUSYINFO=no'
9277 LINE
=`grep "wxUSE_BUSYINFO" ${wx_arg_cache_file}`
9278 if test "x$LINE" != x
; then
9279 eval "DEFAULT_$LINE"
9284 ac_cv_use_busyinfo
='wxUSE_BUSYINFO='$DEFAULT_wxUSE_BUSYINFO
9288 eval "$ac_cv_use_busyinfo"
9289 if test "$no_cache" != 1; then
9290 echo $ac_cv_use_busyinfo >> ${wx_arg_cache_file}.tmp
9293 if test "$wxUSE_BUSYINFO" = yes; then
9294 echo "$as_me:$LINENO: result: yes" >&5
9295 echo "${ECHO_T}yes" >&6
9297 echo "$as_me:$LINENO: result: no" >&5
9298 echo "${ECHO_T}no" >&6
9303 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-joystick" >&5
9304 echo $ECHO_N "checking for --${enablestring:-enable}-joystick... $ECHO_C" >&6
9306 # Check whether --enable-joystick or --disable-joystick was given.
9307 if test "${enable_joystick+set}" = set; then
9308 enableval
="$enable_joystick"
9310 if test "$enableval" = yes; then
9311 ac_cv_use_joystick
='wxUSE_JOYSTICK=yes'
9313 ac_cv_use_joystick
='wxUSE_JOYSTICK=no'
9318 LINE
=`grep "wxUSE_JOYSTICK" ${wx_arg_cache_file}`
9319 if test "x$LINE" != x
; then
9320 eval "DEFAULT_$LINE"
9325 ac_cv_use_joystick
='wxUSE_JOYSTICK='$DEFAULT_wxUSE_JOYSTICK
9329 eval "$ac_cv_use_joystick"
9330 if test "$no_cache" != 1; then
9331 echo $ac_cv_use_joystick >> ${wx_arg_cache_file}.tmp
9334 if test "$wxUSE_JOYSTICK" = yes; then
9335 echo "$as_me:$LINENO: result: yes" >&5
9336 echo "${ECHO_T}yes" >&6
9338 echo "$as_me:$LINENO: result: no" >&5
9339 echo "${ECHO_T}no" >&6
9344 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-metafile" >&5
9345 echo $ECHO_N "checking for --${enablestring:-enable}-metafile... $ECHO_C" >&6
9347 # Check whether --enable-metafile or --disable-metafile was given.
9348 if test "${enable_metafile+set}" = set; then
9349 enableval
="$enable_metafile"
9351 if test "$enableval" = yes; then
9352 ac_cv_use_metafile
='wxUSE_METAFILE=yes'
9354 ac_cv_use_metafile
='wxUSE_METAFILE=no'
9359 LINE
=`grep "wxUSE_METAFILE" ${wx_arg_cache_file}`
9360 if test "x$LINE" != x
; then
9361 eval "DEFAULT_$LINE"
9366 ac_cv_use_metafile
='wxUSE_METAFILE='$DEFAULT_wxUSE_METAFILE
9370 eval "$ac_cv_use_metafile"
9371 if test "$no_cache" != 1; then
9372 echo $ac_cv_use_metafile >> ${wx_arg_cache_file}.tmp
9375 if test "$wxUSE_METAFILE" = yes; then
9376 echo "$as_me:$LINENO: result: yes" >&5
9377 echo "${ECHO_T}yes" >&6
9379 echo "$as_me:$LINENO: result: no" >&5
9380 echo "${ECHO_T}no" >&6
9385 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dragimage" >&5
9386 echo $ECHO_N "checking for --${enablestring:-enable}-dragimage... $ECHO_C" >&6
9388 # Check whether --enable-dragimage or --disable-dragimage was given.
9389 if test "${enable_dragimage+set}" = set; then
9390 enableval
="$enable_dragimage"
9392 if test "$enableval" = yes; then
9393 ac_cv_use_dragimage
='wxUSE_DRAGIMAGE=yes'
9395 ac_cv_use_dragimage
='wxUSE_DRAGIMAGE=no'
9400 LINE
=`grep "wxUSE_DRAGIMAGE" ${wx_arg_cache_file}`
9401 if test "x$LINE" != x
; then
9402 eval "DEFAULT_$LINE"
9407 ac_cv_use_dragimage
='wxUSE_DRAGIMAGE='$DEFAULT_wxUSE_DRAGIMAGE
9411 eval "$ac_cv_use_dragimage"
9412 if test "$no_cache" != 1; then
9413 echo $ac_cv_use_dragimage >> ${wx_arg_cache_file}.tmp
9416 if test "$wxUSE_DRAGIMAGE" = yes; then
9417 echo "$as_me:$LINENO: result: yes" >&5
9418 echo "${ECHO_T}yes" >&6
9420 echo "$as_me:$LINENO: result: no" >&5
9421 echo "${ECHO_T}no" >&6
9426 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-accessibility" >&5
9427 echo $ECHO_N "checking for --${enablestring:-enable}-accessibility... $ECHO_C" >&6
9429 # Check whether --enable-accessibility or --disable-accessibility was given.
9430 if test "${enable_accessibility+set}" = set; then
9431 enableval
="$enable_accessibility"
9433 if test "$enableval" = yes; then
9434 ac_cv_use_accessibility
='wxUSE_ACCESSIBILITY=yes'
9436 ac_cv_use_accessibility
='wxUSE_ACCESSIBILITY=no'
9441 LINE
=`grep "wxUSE_ACCESSIBILITY" ${wx_arg_cache_file}`
9442 if test "x$LINE" != x
; then
9443 eval "DEFAULT_$LINE"
9448 ac_cv_use_accessibility
='wxUSE_ACCESSIBILITY='$DEFAULT_wxUSE_ACCESSIBILITY
9452 eval "$ac_cv_use_accessibility"
9453 if test "$no_cache" != 1; then
9454 echo $ac_cv_use_accessibility >> ${wx_arg_cache_file}.tmp
9457 if test "$wxUSE_ACCESSIBILITY" = yes; then
9458 echo "$as_me:$LINENO: result: yes" >&5
9459 echo "${ECHO_T}yes" >&6
9461 echo "$as_me:$LINENO: result: no" >&5
9462 echo "${ECHO_T}no" >&6
9469 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-palette" >&5
9470 echo $ECHO_N "checking for --${enablestring:-enable}-palette... $ECHO_C" >&6
9472 # Check whether --enable-palette or --disable-palette was given.
9473 if test "${enable_palette+set}" = set; then
9474 enableval
="$enable_palette"
9476 if test "$enableval" = yes; then
9477 ac_cv_use_palette
='wxUSE_PALETTE=yes'
9479 ac_cv_use_palette
='wxUSE_PALETTE=no'
9484 LINE
=`grep "wxUSE_PALETTE" ${wx_arg_cache_file}`
9485 if test "x$LINE" != x
; then
9486 eval "DEFAULT_$LINE"
9491 ac_cv_use_palette
='wxUSE_PALETTE='$DEFAULT_wxUSE_PALETTE
9495 eval "$ac_cv_use_palette"
9496 if test "$no_cache" != 1; then
9497 echo $ac_cv_use_palette >> ${wx_arg_cache_file}.tmp
9500 if test "$wxUSE_PALETTE" = yes; then
9501 echo "$as_me:$LINENO: result: yes" >&5
9502 echo "${ECHO_T}yes" >&6
9504 echo "$as_me:$LINENO: result: no" >&5
9505 echo "${ECHO_T}no" >&6
9510 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-image" >&5
9511 echo $ECHO_N "checking for --${enablestring:-enable}-image... $ECHO_C" >&6
9513 # Check whether --enable-image or --disable-image was given.
9514 if test "${enable_image+set}" = set; then
9515 enableval
="$enable_image"
9517 if test "$enableval" = yes; then
9518 ac_cv_use_image
='wxUSE_IMAGE=yes'
9520 ac_cv_use_image
='wxUSE_IMAGE=no'
9525 LINE
=`grep "wxUSE_IMAGE" ${wx_arg_cache_file}`
9526 if test "x$LINE" != x
; then
9527 eval "DEFAULT_$LINE"
9532 ac_cv_use_image
='wxUSE_IMAGE='$DEFAULT_wxUSE_IMAGE
9536 eval "$ac_cv_use_image"
9537 if test "$no_cache" != 1; then
9538 echo $ac_cv_use_image >> ${wx_arg_cache_file}.tmp
9541 if test "$wxUSE_IMAGE" = yes; then
9542 echo "$as_me:$LINENO: result: yes" >&5
9543 echo "${ECHO_T}yes" >&6
9545 echo "$as_me:$LINENO: result: no" >&5
9546 echo "${ECHO_T}no" >&6
9551 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gif" >&5
9552 echo $ECHO_N "checking for --${enablestring:-enable}-gif... $ECHO_C" >&6
9554 # Check whether --enable-gif or --disable-gif was given.
9555 if test "${enable_gif+set}" = set; then
9556 enableval
="$enable_gif"
9558 if test "$enableval" = yes; then
9559 ac_cv_use_gif
='wxUSE_GIF=yes'
9561 ac_cv_use_gif
='wxUSE_GIF=no'
9566 LINE
=`grep "wxUSE_GIF" ${wx_arg_cache_file}`
9567 if test "x$LINE" != x
; then
9568 eval "DEFAULT_$LINE"
9573 ac_cv_use_gif
='wxUSE_GIF='$DEFAULT_wxUSE_GIF
9577 eval "$ac_cv_use_gif"
9578 if test "$no_cache" != 1; then
9579 echo $ac_cv_use_gif >> ${wx_arg_cache_file}.tmp
9582 if test "$wxUSE_GIF" = yes; then
9583 echo "$as_me:$LINENO: result: yes" >&5
9584 echo "${ECHO_T}yes" >&6
9586 echo "$as_me:$LINENO: result: no" >&5
9587 echo "${ECHO_T}no" >&6
9592 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-pcx" >&5
9593 echo $ECHO_N "checking for --${enablestring:-enable}-pcx... $ECHO_C" >&6
9595 # Check whether --enable-pcx or --disable-pcx was given.
9596 if test "${enable_pcx+set}" = set; then
9597 enableval
="$enable_pcx"
9599 if test "$enableval" = yes; then
9600 ac_cv_use_pcx
='wxUSE_PCX=yes'
9602 ac_cv_use_pcx
='wxUSE_PCX=no'
9607 LINE
=`grep "wxUSE_PCX" ${wx_arg_cache_file}`
9608 if test "x$LINE" != x
; then
9609 eval "DEFAULT_$LINE"
9614 ac_cv_use_pcx
='wxUSE_PCX='$DEFAULT_wxUSE_PCX
9618 eval "$ac_cv_use_pcx"
9619 if test "$no_cache" != 1; then
9620 echo $ac_cv_use_pcx >> ${wx_arg_cache_file}.tmp
9623 if test "$wxUSE_PCX" = yes; then
9624 echo "$as_me:$LINENO: result: yes" >&5
9625 echo "${ECHO_T}yes" >&6
9627 echo "$as_me:$LINENO: result: no" >&5
9628 echo "${ECHO_T}no" >&6
9633 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-iff" >&5
9634 echo $ECHO_N "checking for --${enablestring:-enable}-iff... $ECHO_C" >&6
9636 # Check whether --enable-iff or --disable-iff was given.
9637 if test "${enable_iff+set}" = set; then
9638 enableval
="$enable_iff"
9640 if test "$enableval" = yes; then
9641 ac_cv_use_iff
='wxUSE_IFF=yes'
9643 ac_cv_use_iff
='wxUSE_IFF=no'
9648 LINE
=`grep "wxUSE_IFF" ${wx_arg_cache_file}`
9649 if test "x$LINE" != x
; then
9650 eval "DEFAULT_$LINE"
9655 ac_cv_use_iff
='wxUSE_IFF='$DEFAULT_wxUSE_IFF
9659 eval "$ac_cv_use_iff"
9660 if test "$no_cache" != 1; then
9661 echo $ac_cv_use_iff >> ${wx_arg_cache_file}.tmp
9664 if test "$wxUSE_IFF" = yes; then
9665 echo "$as_me:$LINENO: result: yes" >&5
9666 echo "${ECHO_T}yes" >&6
9668 echo "$as_me:$LINENO: result: no" >&5
9669 echo "${ECHO_T}no" >&6
9674 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-pnm" >&5
9675 echo $ECHO_N "checking for --${enablestring:-enable}-pnm... $ECHO_C" >&6
9677 # Check whether --enable-pnm or --disable-pnm was given.
9678 if test "${enable_pnm+set}" = set; then
9679 enableval
="$enable_pnm"
9681 if test "$enableval" = yes; then
9682 ac_cv_use_pnm
='wxUSE_PNM=yes'
9684 ac_cv_use_pnm
='wxUSE_PNM=no'
9689 LINE
=`grep "wxUSE_PNM" ${wx_arg_cache_file}`
9690 if test "x$LINE" != x
; then
9691 eval "DEFAULT_$LINE"
9696 ac_cv_use_pnm
='wxUSE_PNM='$DEFAULT_wxUSE_PNM
9700 eval "$ac_cv_use_pnm"
9701 if test "$no_cache" != 1; then
9702 echo $ac_cv_use_pnm >> ${wx_arg_cache_file}.tmp
9705 if test "$wxUSE_PNM" = yes; then
9706 echo "$as_me:$LINENO: result: yes" >&5
9707 echo "${ECHO_T}yes" >&6
9709 echo "$as_me:$LINENO: result: no" >&5
9710 echo "${ECHO_T}no" >&6
9715 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-xpm" >&5
9716 echo $ECHO_N "checking for --${enablestring:-enable}-xpm... $ECHO_C" >&6
9718 # Check whether --enable-xpm or --disable-xpm was given.
9719 if test "${enable_xpm+set}" = set; then
9720 enableval
="$enable_xpm"
9722 if test "$enableval" = yes; then
9723 ac_cv_use_xpm
='wxUSE_XPM=yes'
9725 ac_cv_use_xpm
='wxUSE_XPM=no'
9730 LINE
=`grep "wxUSE_XPM" ${wx_arg_cache_file}`
9731 if test "x$LINE" != x
; then
9732 eval "DEFAULT_$LINE"
9737 ac_cv_use_xpm
='wxUSE_XPM='$DEFAULT_wxUSE_XPM
9741 eval "$ac_cv_use_xpm"
9742 if test "$no_cache" != 1; then
9743 echo $ac_cv_use_xpm >> ${wx_arg_cache_file}.tmp
9746 if test "$wxUSE_XPM" = yes; then
9747 echo "$as_me:$LINENO: result: yes" >&5
9748 echo "${ECHO_T}yes" >&6
9750 echo "$as_me:$LINENO: result: no" >&5
9751 echo "${ECHO_T}no" >&6
9756 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ico_cur" >&5
9757 echo $ECHO_N "checking for --${enablestring:-enable}-ico_cur... $ECHO_C" >&6
9759 # Check whether --enable-ico_cur or --disable-ico_cur was given.
9760 if test "${enable_ico_cur+set}" = set; then
9761 enableval
="$enable_ico_cur"
9763 if test "$enableval" = yes; then
9764 ac_cv_use_ico_cur
='wxUSE_ICO_CUR=yes'
9766 ac_cv_use_ico_cur
='wxUSE_ICO_CUR=no'
9771 LINE
=`grep "wxUSE_ICO_CUR" ${wx_arg_cache_file}`
9772 if test "x$LINE" != x
; then
9773 eval "DEFAULT_$LINE"
9778 ac_cv_use_ico_cur
='wxUSE_ICO_CUR='$DEFAULT_wxUSE_ICO_CUR
9782 eval "$ac_cv_use_ico_cur"
9783 if test "$no_cache" != 1; then
9784 echo $ac_cv_use_ico_cur >> ${wx_arg_cache_file}.tmp
9787 if test "$wxUSE_ICO_CUR" = yes; then
9788 echo "$as_me:$LINENO: result: yes" >&5
9789 echo "${ECHO_T}yes" >&6
9791 echo "$as_me:$LINENO: result: no" >&5
9792 echo "${ECHO_T}no" >&6
9801 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-official_build" >&5
9802 echo $ECHO_N "checking for --${enablestring:-enable}-official_build... $ECHO_C" >&6
9804 # Check whether --enable-official_build or --disable-official_build was given.
9805 if test "${enable_official_build+set}" = set; then
9806 enableval
="$enable_official_build"
9808 if test "$enableval" = yes; then
9809 ac_cv_use_official_build
='wxUSE_OFFICIAL_BUILD=yes'
9811 ac_cv_use_official_build
='wxUSE_OFFICIAL_BUILD=no'
9816 LINE
=`grep "wxUSE_OFFICIAL_BUILD" ${wx_arg_cache_file}`
9817 if test "x$LINE" != x
; then
9818 eval "DEFAULT_$LINE"
9823 ac_cv_use_official_build
='wxUSE_OFFICIAL_BUILD='$DEFAULT_wxUSE_OFFICIAL_BUILD
9827 eval "$ac_cv_use_official_build"
9828 if test "$no_cache" != 1; then
9829 echo $ac_cv_use_official_build >> ${wx_arg_cache_file}.tmp
9832 if test "$wxUSE_OFFICIAL_BUILD" = yes; then
9833 echo "$as_me:$LINENO: result: yes" >&5
9834 echo "${ECHO_T}yes" >&6
9836 echo "$as_me:$LINENO: result: no" >&5
9837 echo "${ECHO_T}no" >&6
9840 # Check whether --enable-vendor or --disable-vendor was given.
9841 if test "${enable_vendor+set}" = set; then
9842 enableval
="$enable_vendor"
9845 if test "x$VENDOR" = "x"; then
9850 *-pc-os2_emx | *-pc-os2-emx )
9860 echo "saving argument cache $wx_arg_cache_file"
9861 mv ${wx_arg_cache_file}.tmp
${wx_arg_cache_file}
9865 echo "$as_me:$LINENO: checking for toolkit" >&5
9866 echo $ECHO_N "checking for toolkit... $ECHO_C" >&6
9868 # In Wine, we need to default to MSW, not GTK or MOTIF
9869 if test "$wxUSE_WINE" = "yes"; then
9870 DEFAULT_DEFAULT_wxUSE_GTK
=0
9871 DEFAULT_DEFAULT_wxUSE_MOTIF
=0
9872 DEFAULT_DEFAULT_wxUSE_MSW
=1
9876 if test "$wxUSE_GUI" = "yes"; then
9878 if test "$USE_BEOS" = 1; then
9879 { { echo "$as_me:$LINENO: error: BeOS GUI is not supported yet, use --disable-gui" >&5
9880 echo "$as_me: error: BeOS GUI is not supported yet, use --disable-gui" >&2;}
9881 { (exit 1); exit 1; }; }
9884 if test "$TOOLKIT_GIVEN" = 1; then
9885 for toolkit
in `echo $ALL_TOOLKITS`; do
9887 eval "value=\$${var}"
9888 eval "$var=`echo \$value | sed -e "s
/yes
/1/" -e "s
/no
/0/"`"
9891 for toolkit
in `echo $ALL_TOOLKITS`; do
9892 if test "$has_toolkit_in_cache" != 1; then
9893 var
=DEFAULT_DEFAULT_wxUSE_
$toolkit
9895 var
=DEFAULT_wxUSE_
$toolkit
9897 eval "wxUSE_$toolkit=\$${var}"
9901 NUM_TOOLKITS
=`expr ${wxUSE_COCOA:-0} + ${wxUSE_GTK:-0} + ${wxUSE_MAC:-0} \
9902 + ${wxUSE_MGL:-0} + ${wxUSE_MICROWIN:-0} \
9903 + ${wxUSE_MOTIF:-0} + ${wxUSE_MSW:-0} + ${wxUSE_X11:-0}`
9906 *-pc-os2_emx | *-pc-os2-emx )
9907 NUM_TOOLKITS
=`expr ${NUM_TOOLKITS} + ${wxUSE_PM:-0}`
9910 case "$NUM_TOOLKITS" in
9914 { { echo "$as_me:$LINENO: error: Please specify a toolkit -- cannot determine the default for ${host}" >&5
9915 echo "$as_me: error: Please specify a toolkit -- cannot determine the default for ${host}" >&2;}
9916 { (exit 1); exit 1; }; }
9919 { { echo "$as_me:$LINENO: error: Please specify at most one toolkit (maybe some are cached in configarg.cache?)" >&5
9920 echo "$as_me: error: Please specify at most one toolkit (maybe some are cached in configarg.cache?)" >&2;}
9921 { (exit 1); exit 1; }; }
9924 for toolkit
in `echo $ALL_TOOLKITS`; do
9926 eval "value=\$${var}"
9927 if test "x$value" != x
; then
9928 cache_var
=CACHE_
$toolkit
9929 eval "cache=\$${cache_var}"
9930 if test "$cache" = 1; then
9931 echo "$var=$value" >> ${wx_arg_cache_file}
9933 if test "$value" = 1; then
9934 toolkit_echo
=`echo $toolkit | tr "[A-Z]" "[a-z]"`
9935 echo "$as_me:$LINENO: result: $toolkit_echo" >&5
9936 echo "${ECHO_T}$toolkit_echo" >&6
9941 if test "x$host_alias" != "x"; then
9942 echo "$as_me:$LINENO: result: base ($host_alias hosted) only" >&5
9943 echo "${ECHO_T}base ($host_alias hosted) only" >&6
9945 echo "$as_me:$LINENO: result: base only" >&5
9946 echo "${ECHO_T}base only" >&6
9954 if test "$wxUSE_MSW" = 1 ; then
9965 if test "$wxUSE_WINE" = "yes"; then
9970 LDFLAGS_GUI
="-mwindows"
9973 if test "$wants_win32" = 1 ; then
9976 cat >>confdefs.h
<<\_ACEOF
9980 cat >>confdefs.h
<<\_ACEOF
9984 cat >>confdefs.h
<<\_ACEOF
9985 #define __WINDOWS__ 1
9988 cat >>confdefs.h
<<\_ACEOF
9989 #define __GNUWIN32__ 1
9992 cat >>confdefs.h
<<\_ACEOF
9996 cat >>confdefs.h
<<\_ACEOF
9997 #define WINVER 0x0400
10001 if test "$doesnt_want_win32" = 1 ; then
10006 if test "$USE_UNIX" = 1 ; then
10008 cat >>confdefs.h
<<\_ACEOF
10015 cat >confcache
<<\_ACEOF
10016 # This file is a shell script that caches the results of configure
10017 # tests run on this system so they can be shared between configure
10018 # scripts and configure runs, see configure's option --config-cache.
10019 # It is not useful on other systems. If it contains results you don't
10020 # want to keep, you may remove or edit it.
10022 # config.status only pays attention to the cache file if you give it
10023 # the --recheck option to rerun configure.
10025 # `ac_cv_env_foo' variables (set or unset) will be overridden when
10026 # loading this file, other *unset* `ac_cv_foo' will be assigned the
10027 # following values.
10031 # The following way of writing the cache mishandles newlines in values,
10032 # but we know of no workaround that is simple, portable, and efficient.
10033 # So, don't put newlines in cache variables' values.
10034 # Ultrix sh set writes to stderr and can't be redirected directly,
10035 # and sets the high bit in the cache file unless we assign to the vars.
10038 case `(ac_space=' '; set | grep ac_space) 2>&1` in
10040 # `set' does not quote correctly, so add quotes (double-quote
10041 # substitution turns \\\\ into \\, and sed turns \\ into \).
10044 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
10047 # `set' quotes correctly as required by POSIX, so do not add quotes.
10049 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
10056 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
10058 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
10060 if diff $cache_file confcache
>/dev
/null
2>&1; then :; else
10061 if test -w $cache_file; then
10062 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
10063 cat confcache
>$cache_file
10065 echo "not updating unwritable cache $cache_file"
10070 if test "$build" != "$host" ; then
10071 if test "$USE_WIN32" = 1 -o "$USE_DOS" = 1 -o "$USE_UNIX"; then
10073 CXX
=$host_alias-c++
10075 RANLIB
=$host_alias-ranlib
10076 DLLTOOL
=$host_alias-dlltool
10077 RESCOMP
=$host_alias-windres
10080 STRIP
=$host_alias-strip
10082 { { echo "$as_me:$LINENO: error: $build_alias -> $host_alias cross compilation not supported yet." >&5
10083 echo "$as_me: error: $build_alias -> $host_alias cross compilation not supported yet." >&2;}
10084 { (exit 1); exit 1; }; }
10090 ac_cpp
='$CPP $CPPFLAGS'
10091 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10092 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10093 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
10094 if test -n "$ac_tool_prefix"; then
10095 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
10096 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
10097 echo "$as_me:$LINENO: checking for $ac_word" >&5
10098 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10099 if test "${ac_cv_prog_CC+set}" = set; then
10100 echo $ECHO_N "(cached) $ECHO_C" >&6
10102 if test -n "$CC"; then
10103 ac_cv_prog_CC
="$CC" # Let the user override the test.
10105 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10106 for as_dir
in $PATH
10109 test -z "$as_dir" && as_dir
=.
10110 for ac_exec_ext
in '' $ac_executable_extensions; do
10111 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10112 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
10113 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10122 if test -n "$CC"; then
10123 echo "$as_me:$LINENO: result: $CC" >&5
10124 echo "${ECHO_T}$CC" >&6
10126 echo "$as_me:$LINENO: result: no" >&5
10127 echo "${ECHO_T}no" >&6
10131 if test -z "$ac_cv_prog_CC"; then
10133 # Extract the first word of "gcc", so it can be a program name with args.
10134 set dummy gcc
; ac_word
=$2
10135 echo "$as_me:$LINENO: checking for $ac_word" >&5
10136 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10137 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
10138 echo $ECHO_N "(cached) $ECHO_C" >&6
10140 if test -n "$ac_ct_CC"; then
10141 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
10143 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10144 for as_dir
in $PATH
10147 test -z "$as_dir" && as_dir
=.
10148 for ac_exec_ext
in '' $ac_executable_extensions; do
10149 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10150 ac_cv_prog_ac_ct_CC
="gcc"
10151 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10159 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
10160 if test -n "$ac_ct_CC"; then
10161 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
10162 echo "${ECHO_T}$ac_ct_CC" >&6
10164 echo "$as_me:$LINENO: result: no" >&5
10165 echo "${ECHO_T}no" >&6
10170 CC
="$ac_cv_prog_CC"
10173 if test -z "$CC"; then
10174 if test -n "$ac_tool_prefix"; then
10175 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
10176 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
10177 echo "$as_me:$LINENO: checking for $ac_word" >&5
10178 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10179 if test "${ac_cv_prog_CC+set}" = set; then
10180 echo $ECHO_N "(cached) $ECHO_C" >&6
10182 if test -n "$CC"; then
10183 ac_cv_prog_CC
="$CC" # Let the user override the test.
10185 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10186 for as_dir
in $PATH
10189 test -z "$as_dir" && as_dir
=.
10190 for ac_exec_ext
in '' $ac_executable_extensions; do
10191 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10192 ac_cv_prog_CC
="${ac_tool_prefix}cc"
10193 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10202 if test -n "$CC"; then
10203 echo "$as_me:$LINENO: result: $CC" >&5
10204 echo "${ECHO_T}$CC" >&6
10206 echo "$as_me:$LINENO: result: no" >&5
10207 echo "${ECHO_T}no" >&6
10211 if test -z "$ac_cv_prog_CC"; then
10213 # Extract the first word of "cc", so it can be a program name with args.
10214 set dummy cc
; ac_word
=$2
10215 echo "$as_me:$LINENO: checking for $ac_word" >&5
10216 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10217 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
10218 echo $ECHO_N "(cached) $ECHO_C" >&6
10220 if test -n "$ac_ct_CC"; then
10221 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
10223 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10224 for as_dir
in $PATH
10227 test -z "$as_dir" && as_dir
=.
10228 for ac_exec_ext
in '' $ac_executable_extensions; do
10229 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10230 ac_cv_prog_ac_ct_CC
="cc"
10231 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10239 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
10240 if test -n "$ac_ct_CC"; then
10241 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
10242 echo "${ECHO_T}$ac_ct_CC" >&6
10244 echo "$as_me:$LINENO: result: no" >&5
10245 echo "${ECHO_T}no" >&6
10250 CC
="$ac_cv_prog_CC"
10254 if test -z "$CC"; then
10255 # Extract the first word of "cc", so it can be a program name with args.
10256 set dummy cc
; ac_word
=$2
10257 echo "$as_me:$LINENO: checking for $ac_word" >&5
10258 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10259 if test "${ac_cv_prog_CC+set}" = set; then
10260 echo $ECHO_N "(cached) $ECHO_C" >&6
10262 if test -n "$CC"; then
10263 ac_cv_prog_CC
="$CC" # Let the user override the test.
10265 ac_prog_rejected
=no
10266 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10267 for as_dir
in $PATH
10270 test -z "$as_dir" && as_dir
=.
10271 for ac_exec_ext
in '' $ac_executable_extensions; do
10272 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10273 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
10274 ac_prog_rejected
=yes
10278 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10284 if test $ac_prog_rejected = yes; then
10285 # We found a bogon in the path, so make sure we never use it.
10286 set dummy
$ac_cv_prog_CC
10288 if test $# != 0; then
10289 # We chose a different compiler from the bogus one.
10290 # However, it has the same basename, so the bogon will be chosen
10291 # first if we set CC to just the basename; use the full file name.
10293 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
10299 if test -n "$CC"; then
10300 echo "$as_me:$LINENO: result: $CC" >&5
10301 echo "${ECHO_T}$CC" >&6
10303 echo "$as_me:$LINENO: result: no" >&5
10304 echo "${ECHO_T}no" >&6
10308 if test -z "$CC"; then
10309 if test -n "$ac_tool_prefix"; then
10312 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
10313 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
10314 echo "$as_me:$LINENO: checking for $ac_word" >&5
10315 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10316 if test "${ac_cv_prog_CC+set}" = set; then
10317 echo $ECHO_N "(cached) $ECHO_C" >&6
10319 if test -n "$CC"; then
10320 ac_cv_prog_CC
="$CC" # Let the user override the test.
10322 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10323 for as_dir
in $PATH
10326 test -z "$as_dir" && as_dir
=.
10327 for ac_exec_ext
in '' $ac_executable_extensions; do
10328 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10329 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
10330 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10339 if test -n "$CC"; then
10340 echo "$as_me:$LINENO: result: $CC" >&5
10341 echo "${ECHO_T}$CC" >&6
10343 echo "$as_me:$LINENO: result: no" >&5
10344 echo "${ECHO_T}no" >&6
10347 test -n "$CC" && break
10350 if test -z "$CC"; then
10354 # Extract the first word of "$ac_prog", so it can be a program name with args.
10355 set dummy
$ac_prog; ac_word
=$2
10356 echo "$as_me:$LINENO: checking for $ac_word" >&5
10357 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10358 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
10359 echo $ECHO_N "(cached) $ECHO_C" >&6
10361 if test -n "$ac_ct_CC"; then
10362 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
10364 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10365 for as_dir
in $PATH
10368 test -z "$as_dir" && as_dir
=.
10369 for ac_exec_ext
in '' $ac_executable_extensions; do
10370 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10371 ac_cv_prog_ac_ct_CC
="$ac_prog"
10372 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10380 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
10381 if test -n "$ac_ct_CC"; then
10382 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
10383 echo "${ECHO_T}$ac_ct_CC" >&6
10385 echo "$as_me:$LINENO: result: no" >&5
10386 echo "${ECHO_T}no" >&6
10389 test -n "$ac_ct_CC" && break
10398 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
10399 See \`config.log' for more details." >&5
10400 echo "$as_me: error: no acceptable C compiler found in \$PATH
10401 See \`config.log' for more details." >&2;}
10402 { (exit 1); exit 1; }; }
10404 # Provide some information about the compiler.
10405 echo "$as_me:$LINENO:" \
10406 "checking for C compiler version" >&5
10407 ac_compiler
=`set X $ac_compile; echo $2`
10408 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
10409 (eval $ac_compiler --version </dev
/null
>&5) 2>&5
10411 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10412 (exit $ac_status); }
10413 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
10414 (eval $ac_compiler -v </dev
/null
>&5) 2>&5
10416 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10417 (exit $ac_status); }
10418 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
10419 (eval $ac_compiler -V </dev
/null
>&5) 2>&5
10421 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10422 (exit $ac_status); }
10424 cat >conftest.
$ac_ext <<_ACEOF
10427 cat confdefs.h
>>conftest.
$ac_ext
10428 cat >>conftest.
$ac_ext <<_ACEOF
10429 /* end confdefs.h. */
10439 ac_clean_files_save
=$ac_clean_files
10440 ac_clean_files
="$ac_clean_files a.out a.exe b.out"
10441 # Try to create an executable without -o first, disregard a.out.
10442 # It will help us diagnose broken compilers, and finding out an intuition
10444 echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
10445 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6
10446 ac_link_default
=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
10447 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
10448 (eval $ac_link_default) 2>&5
10450 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10451 (exit $ac_status); }; then
10452 # Find the output, starting from the most likely. This scheme is
10453 # not robust to junk in `.', hence go to wildcards (a.*) only as a last
10456 # Be careful to initialize this variable, since it used to be cached.
10457 # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
10459 # b.out is created by i960 compilers.
10460 for ac_file
in a_out.exe a.exe conftest.exe a.out conftest a.
* conftest.
* b.out
10462 test -f "$ac_file" || continue
10464 *.
$ac_ext | *.xcoff
| *.tds
| *.d
| *.pdb
| *.xSYM
| *.bb
| *.bbg
| *.o
| *.obj
)
10467 # This is the source file.
10470 # We found the default executable, but exeext='' is most
10474 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
10475 # FIXME: I believe we export ac_cv_exeext for Libtool,
10476 # but it would be cool to find out if it's true. Does anybody
10477 # maintain Libtool? --akim.
10478 export ac_cv_exeext
10485 echo "$as_me: failed program was:" >&5
10486 sed 's/^/| /' conftest.
$ac_ext >&5
10488 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
10489 See \`config.log' for more details." >&5
10490 echo "$as_me: error: C compiler cannot create executables
10491 See \`config.log' for more details." >&2;}
10492 { (exit 77); exit 77; }; }
10495 ac_exeext
=$ac_cv_exeext
10496 echo "$as_me:$LINENO: result: $ac_file" >&5
10497 echo "${ECHO_T}$ac_file" >&6
10499 # Check the compiler produces executables we can run. If not, either
10500 # the compiler is broken, or we cross compile.
10501 echo "$as_me:$LINENO: checking whether the C compiler works" >&5
10502 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
10503 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
10504 # If not cross compiling, check that we can run a simple program.
10505 if test "$cross_compiling" != yes; then
10506 if { ac_try
='./$ac_file'
10507 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10508 (eval $ac_try) 2>&5
10510 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10511 (exit $ac_status); }; }; then
10514 if test "$cross_compiling" = maybe
; then
10515 cross_compiling
=yes
10517 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
10518 If you meant to cross compile, use \`--host'.
10519 See \`config.log' for more details." >&5
10520 echo "$as_me: error: cannot run C compiled programs.
10521 If you meant to cross compile, use \`--host'.
10522 See \`config.log' for more details." >&2;}
10523 { (exit 1); exit 1; }; }
10527 echo "$as_me:$LINENO: result: yes" >&5
10528 echo "${ECHO_T}yes" >&6
10530 rm -f a.out a.exe conftest
$ac_cv_exeext b.out
10531 ac_clean_files
=$ac_clean_files_save
10532 # Check the compiler produces executables we can run. If not, either
10533 # the compiler is broken, or we cross compile.
10534 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
10535 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
10536 echo "$as_me:$LINENO: result: $cross_compiling" >&5
10537 echo "${ECHO_T}$cross_compiling" >&6
10539 echo "$as_me:$LINENO: checking for suffix of executables" >&5
10540 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
10541 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10542 (eval $ac_link) 2>&5
10544 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10545 (exit $ac_status); }; then
10546 # If both `conftest.exe' and `conftest' are `present' (well, observable)
10547 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
10548 # work properly (i.e., refer to `conftest.exe'), while it won't with
10550 for ac_file
in conftest.exe conftest conftest.
*; do
10551 test -f "$ac_file" || continue
10553 *.
$ac_ext | *.xcoff
| *.tds
| *.d
| *.pdb
| *.xSYM
| *.bb
| *.bbg
| *.o
| *.obj
) ;;
10554 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
10555 export ac_cv_exeext
10561 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
10562 See \`config.log' for more details." >&5
10563 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
10564 See \`config.log' for more details." >&2;}
10565 { (exit 1); exit 1; }; }
10568 rm -f conftest
$ac_cv_exeext
10569 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
10570 echo "${ECHO_T}$ac_cv_exeext" >&6
10572 rm -f conftest.
$ac_ext
10573 EXEEXT
=$ac_cv_exeext
10575 echo "$as_me:$LINENO: checking for suffix of object files" >&5
10576 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
10577 if test "${ac_cv_objext+set}" = set; then
10578 echo $ECHO_N "(cached) $ECHO_C" >&6
10580 cat >conftest.
$ac_ext <<_ACEOF
10583 cat confdefs.h
>>conftest.
$ac_ext
10584 cat >>conftest.
$ac_ext <<_ACEOF
10585 /* end confdefs.h. */
10595 rm -f conftest.o conftest.obj
10596 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10597 (eval $ac_compile) 2>&5
10599 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10600 (exit $ac_status); }; then
10601 for ac_file
in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
10603 *.
$ac_ext | *.xcoff
| *.tds
| *.d
| *.pdb
| *.xSYM
| *.bb
| *.bbg
) ;;
10604 *) ac_cv_objext
=`expr "$ac_file" : '.*\.\(.*\)'`
10609 echo "$as_me: failed program was:" >&5
10610 sed 's/^/| /' conftest.
$ac_ext >&5
10612 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
10613 See \`config.log' for more details." >&5
10614 echo "$as_me: error: cannot compute suffix of object files: cannot compile
10615 See \`config.log' for more details." >&2;}
10616 { (exit 1); exit 1; }; }
10619 rm -f conftest.
$ac_cv_objext conftest.
$ac_ext
10621 echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
10622 echo "${ECHO_T}$ac_cv_objext" >&6
10623 OBJEXT
=$ac_cv_objext
10625 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
10626 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
10627 if test "${ac_cv_c_compiler_gnu+set}" = set; then
10628 echo $ECHO_N "(cached) $ECHO_C" >&6
10630 cat >conftest.
$ac_ext <<_ACEOF
10633 cat confdefs.h
>>conftest.
$ac_ext
10634 cat >>conftest.
$ac_ext <<_ACEOF
10635 /* end confdefs.h. */
10648 rm -f conftest.
$ac_objext
10649 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10650 (eval $ac_compile) 2>conftest.er1
10652 grep -v '^ *+' conftest.er1
>conftest.err
10654 cat conftest.err
>&5
10655 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10656 (exit $ac_status); } &&
10657 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10658 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10659 (eval $ac_try) 2>&5
10661 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10662 (exit $ac_status); }; } &&
10663 { ac_try
='test -s conftest.$ac_objext'
10664 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10665 (eval $ac_try) 2>&5
10667 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10668 (exit $ac_status); }; }; then
10669 ac_compiler_gnu
=yes
10671 echo "$as_me: failed program was:" >&5
10672 sed 's/^/| /' conftest.
$ac_ext >&5
10676 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
10677 ac_cv_c_compiler_gnu
=$ac_compiler_gnu
10680 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
10681 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
10682 GCC
=`test $ac_compiler_gnu = yes && echo yes`
10683 ac_test_CFLAGS
=${CFLAGS+set}
10684 ac_save_CFLAGS
=$CFLAGS
10686 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
10687 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
10688 if test "${ac_cv_prog_cc_g+set}" = set; then
10689 echo $ECHO_N "(cached) $ECHO_C" >&6
10691 cat >conftest.
$ac_ext <<_ACEOF
10694 cat confdefs.h
>>conftest.
$ac_ext
10695 cat >>conftest.
$ac_ext <<_ACEOF
10696 /* end confdefs.h. */
10706 rm -f conftest.
$ac_objext
10707 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10708 (eval $ac_compile) 2>conftest.er1
10710 grep -v '^ *+' conftest.er1
>conftest.err
10712 cat conftest.err
>&5
10713 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10714 (exit $ac_status); } &&
10715 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10716 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10717 (eval $ac_try) 2>&5
10719 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10720 (exit $ac_status); }; } &&
10721 { ac_try
='test -s conftest.$ac_objext'
10722 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10723 (eval $ac_try) 2>&5
10725 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10726 (exit $ac_status); }; }; then
10727 ac_cv_prog_cc_g
=yes
10729 echo "$as_me: failed program was:" >&5
10730 sed 's/^/| /' conftest.
$ac_ext >&5
10734 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
10736 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
10737 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
10738 if test "$ac_test_CFLAGS" = set; then
10739 CFLAGS
=$ac_save_CFLAGS
10740 elif test $ac_cv_prog_cc_g = yes; then
10741 if test "$GCC" = yes; then
10747 if test "$GCC" = yes; then
10753 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
10754 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
10755 if test "${ac_cv_prog_cc_stdc+set}" = set; then
10756 echo $ECHO_N "(cached) $ECHO_C" >&6
10758 ac_cv_prog_cc_stdc
=no
10760 cat >conftest.
$ac_ext <<_ACEOF
10763 cat confdefs.h
>>conftest.
$ac_ext
10764 cat >>conftest.
$ac_ext <<_ACEOF
10765 /* end confdefs.h. */
10766 #include <stdarg.h>
10768 #include <sys/types.h>
10769 #include <sys/stat.h>
10770 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
10771 struct buf { int x; };
10772 FILE * (*rcsopen) (struct buf *, struct stat *, int);
10773 static char *e (p, i)
10779 static char *f (char * (*g) (char **, int), char **p, ...)
10784 s = g (p, va_arg (v,int));
10789 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
10790 function prototypes and stuff, but not '\xHH' hex character constants.
10791 These don't provoke an error unfortunately, instead are silently treated
10792 as 'x'. The following induces an error, until -std1 is added to get
10793 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
10794 array size at least. It's necessary to write '\x00'==0 to get something
10795 that's true only with -std1. */
10796 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
10798 int test (int i, double x);
10799 struct s1 {int (*f) (int a);};
10800 struct s2 {int (*f) (double a);};
10801 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
10807 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
10812 # Don't try gcc -ansi; that turns off useful extensions and
10813 # breaks some systems' header files.
10814 # AIX -qlanglvl=ansi
10815 # Ultrix and OSF/1 -std1
10816 # HP-UX 10.20 and later -Ae
10817 # HP-UX older versions -Aa -D_HPUX_SOURCE
10818 # SVR4 -Xc -D__EXTENSIONS__
10819 for ac_arg
in "" -qlanglvl=ansi
-std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
10821 CC
="$ac_save_CC $ac_arg"
10822 rm -f conftest.
$ac_objext
10823 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10824 (eval $ac_compile) 2>conftest.er1
10826 grep -v '^ *+' conftest.er1
>conftest.err
10828 cat conftest.err
>&5
10829 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10830 (exit $ac_status); } &&
10831 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10832 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10833 (eval $ac_try) 2>&5
10835 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10836 (exit $ac_status); }; } &&
10837 { ac_try
='test -s conftest.$ac_objext'
10838 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10839 (eval $ac_try) 2>&5
10841 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10842 (exit $ac_status); }; }; then
10843 ac_cv_prog_cc_stdc
=$ac_arg
10846 echo "$as_me: failed program was:" >&5
10847 sed 's/^/| /' conftest.
$ac_ext >&5
10850 rm -f conftest.err conftest.
$ac_objext
10852 rm -f conftest.
$ac_ext conftest.
$ac_objext
10857 case "x$ac_cv_prog_cc_stdc" in
10859 echo "$as_me:$LINENO: result: none needed" >&5
10860 echo "${ECHO_T}none needed" >&6 ;;
10862 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
10863 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
10864 CC
="$CC $ac_cv_prog_cc_stdc" ;;
10867 # Some people use a C++ compiler to compile C. Since we use `exit',
10868 # in C++ we need to declare it. In case someone uses the same compiler
10869 # for both compiling C and C++ we need to have the C++ compiler decide
10870 # the declaration of exit, since it's the most demanding environment.
10871 cat >conftest.
$ac_ext <<_ACEOF
10872 #ifndef __cplusplus
10876 rm -f conftest.
$ac_objext
10877 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10878 (eval $ac_compile) 2>conftest.er1
10880 grep -v '^ *+' conftest.er1
>conftest.err
10882 cat conftest.err
>&5
10883 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10884 (exit $ac_status); } &&
10885 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10886 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10887 (eval $ac_try) 2>&5
10889 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10890 (exit $ac_status); }; } &&
10891 { ac_try
='test -s conftest.$ac_objext'
10892 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10893 (eval $ac_try) 2>&5
10895 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10896 (exit $ac_status); }; }; then
10897 for ac_declaration
in \
10899 'extern "C" void std::exit (int) throw (); using std::exit;' \
10900 'extern "C" void std::exit (int); using std::exit;' \
10901 'extern "C" void exit (int) throw ();' \
10902 'extern "C" void exit (int);' \
10905 cat >conftest.
$ac_ext <<_ACEOF
10908 cat confdefs.h
>>conftest.
$ac_ext
10909 cat >>conftest.
$ac_ext <<_ACEOF
10910 /* end confdefs.h. */
10912 #include <stdlib.h>
10921 rm -f conftest.
$ac_objext
10922 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10923 (eval $ac_compile) 2>conftest.er1
10925 grep -v '^ *+' conftest.er1
>conftest.err
10927 cat conftest.err
>&5
10928 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10929 (exit $ac_status); } &&
10930 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10931 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10932 (eval $ac_try) 2>&5
10934 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10935 (exit $ac_status); }; } &&
10936 { ac_try
='test -s conftest.$ac_objext'
10937 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10938 (eval $ac_try) 2>&5
10940 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10941 (exit $ac_status); }; }; then
10944 echo "$as_me: failed program was:" >&5
10945 sed 's/^/| /' conftest.
$ac_ext >&5
10949 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
10950 cat >conftest.
$ac_ext <<_ACEOF
10953 cat confdefs.h
>>conftest.
$ac_ext
10954 cat >>conftest.
$ac_ext <<_ACEOF
10955 /* end confdefs.h. */
10965 rm -f conftest.
$ac_objext
10966 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10967 (eval $ac_compile) 2>conftest.er1
10969 grep -v '^ *+' conftest.er1
>conftest.err
10971 cat conftest.err
>&5
10972 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10973 (exit $ac_status); } &&
10974 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10975 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10976 (eval $ac_try) 2>&5
10978 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10979 (exit $ac_status); }; } &&
10980 { ac_try
='test -s conftest.$ac_objext'
10981 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10982 (eval $ac_try) 2>&5
10984 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10985 (exit $ac_status); }; }; then
10988 echo "$as_me: failed program was:" >&5
10989 sed 's/^/| /' conftest.
$ac_ext >&5
10992 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
10995 if test -n "$ac_declaration"; then
10996 echo '#ifdef __cplusplus' >>confdefs.h
10997 echo $ac_declaration >>confdefs.h
10998 echo '#endif' >>confdefs.h
11002 echo "$as_me: failed program was:" >&5
11003 sed 's/^/| /' conftest.
$ac_ext >&5
11006 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11008 ac_cpp
='$CPP $CPPFLAGS'
11009 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11010 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11011 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
11016 ac_cpp
='$CPP $CPPFLAGS'
11017 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11018 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11019 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
11020 echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
11021 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
11022 # On Suns, sometimes $CPP names a directory.
11023 if test -n "$CPP" && test -d "$CPP"; then
11026 if test -z "$CPP"; then
11027 if test "${ac_cv_prog_CPP+set}" = set; then
11028 echo $ECHO_N "(cached) $ECHO_C" >&6
11030 # Double quotes because CPP needs to be expanded
11031 for CPP
in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
11033 ac_preproc_ok
=false
11034 for ac_c_preproc_warn_flag
in '' yes
11036 # Use a header file that comes with gcc, so configuring glibc
11037 # with a fresh cross-compiler works.
11038 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11039 # <limits.h> exists even on freestanding compilers.
11040 # On the NeXT, cc -E runs the code through the compiler's parser,
11041 # not just through cpp. "Syntax error" is here to catch this case.
11042 cat >conftest.
$ac_ext <<_ACEOF
11045 cat confdefs.h
>>conftest.
$ac_ext
11046 cat >>conftest.
$ac_ext <<_ACEOF
11047 /* end confdefs.h. */
11049 # include <limits.h>
11051 # include <assert.h>
11055 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
11056 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
11058 grep -v '^ *+' conftest.er1
>conftest.err
11060 cat conftest.err
>&5
11061 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11062 (exit $ac_status); } >/dev
/null
; then
11063 if test -s conftest.err
; then
11064 ac_cpp_err
=$ac_c_preproc_warn_flag
11065 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
11072 if test -z "$ac_cpp_err"; then
11075 echo "$as_me: failed program was:" >&5
11076 sed 's/^/| /' conftest.
$ac_ext >&5
11078 # Broken: fails on valid input.
11081 rm -f conftest.err conftest.
$ac_ext
11083 # OK, works on sane cases. Now check whether non-existent headers
11084 # can be detected and how.
11085 cat >conftest.
$ac_ext <<_ACEOF
11088 cat confdefs.h
>>conftest.
$ac_ext
11089 cat >>conftest.
$ac_ext <<_ACEOF
11090 /* end confdefs.h. */
11091 #include <ac_nonexistent.h>
11093 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
11094 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
11096 grep -v '^ *+' conftest.er1
>conftest.err
11098 cat conftest.err
>&5
11099 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11100 (exit $ac_status); } >/dev
/null
; then
11101 if test -s conftest.err
; then
11102 ac_cpp_err
=$ac_c_preproc_warn_flag
11103 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
11110 if test -z "$ac_cpp_err"; then
11111 # Broken: success on invalid input.
11114 echo "$as_me: failed program was:" >&5
11115 sed 's/^/| /' conftest.
$ac_ext >&5
11117 # Passes both tests.
11121 rm -f conftest.err conftest.
$ac_ext
11124 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
11125 rm -f conftest.err conftest.
$ac_ext
11126 if $ac_preproc_ok; then
11131 ac_cv_prog_CPP
=$CPP
11134 CPP
=$ac_cv_prog_CPP
11136 ac_cv_prog_CPP
=$CPP
11138 echo "$as_me:$LINENO: result: $CPP" >&5
11139 echo "${ECHO_T}$CPP" >&6
11140 ac_preproc_ok
=false
11141 for ac_c_preproc_warn_flag
in '' yes
11143 # Use a header file that comes with gcc, so configuring glibc
11144 # with a fresh cross-compiler works.
11145 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11146 # <limits.h> exists even on freestanding compilers.
11147 # On the NeXT, cc -E runs the code through the compiler's parser,
11148 # not just through cpp. "Syntax error" is here to catch this case.
11149 cat >conftest.
$ac_ext <<_ACEOF
11152 cat confdefs.h
>>conftest.
$ac_ext
11153 cat >>conftest.
$ac_ext <<_ACEOF
11154 /* end confdefs.h. */
11156 # include <limits.h>
11158 # include <assert.h>
11162 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
11163 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
11165 grep -v '^ *+' conftest.er1
>conftest.err
11167 cat conftest.err
>&5
11168 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11169 (exit $ac_status); } >/dev
/null
; then
11170 if test -s conftest.err
; then
11171 ac_cpp_err
=$ac_c_preproc_warn_flag
11172 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
11179 if test -z "$ac_cpp_err"; then
11182 echo "$as_me: failed program was:" >&5
11183 sed 's/^/| /' conftest.
$ac_ext >&5
11185 # Broken: fails on valid input.
11188 rm -f conftest.err conftest.
$ac_ext
11190 # OK, works on sane cases. Now check whether non-existent headers
11191 # can be detected and how.
11192 cat >conftest.
$ac_ext <<_ACEOF
11195 cat confdefs.h
>>conftest.
$ac_ext
11196 cat >>conftest.
$ac_ext <<_ACEOF
11197 /* end confdefs.h. */
11198 #include <ac_nonexistent.h>
11200 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
11201 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
11203 grep -v '^ *+' conftest.er1
>conftest.err
11205 cat conftest.err
>&5
11206 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11207 (exit $ac_status); } >/dev
/null
; then
11208 if test -s conftest.err
; then
11209 ac_cpp_err
=$ac_c_preproc_warn_flag
11210 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
11217 if test -z "$ac_cpp_err"; then
11218 # Broken: success on invalid input.
11221 echo "$as_me: failed program was:" >&5
11222 sed 's/^/| /' conftest.
$ac_ext >&5
11224 # Passes both tests.
11228 rm -f conftest.err conftest.
$ac_ext
11231 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
11232 rm -f conftest.err conftest.
$ac_ext
11233 if $ac_preproc_ok; then
11236 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
11237 See \`config.log' for more details." >&5
11238 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
11239 See \`config.log' for more details." >&2;}
11240 { (exit 1); exit 1; }; }
11244 ac_cpp
='$CPP $CPPFLAGS'
11245 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11246 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11247 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
11250 echo "$as_me:$LINENO: checking for egrep" >&5
11251 echo $ECHO_N "checking for egrep... $ECHO_C" >&6
11252 if test "${ac_cv_prog_egrep+set}" = set; then
11253 echo $ECHO_N "(cached) $ECHO_C" >&6
11255 if echo a
| (grep -E '(a|b)') >/dev
/null
2>&1
11256 then ac_cv_prog_egrep
='grep -E'
11257 else ac_cv_prog_egrep
='egrep'
11260 echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
11261 echo "${ECHO_T}$ac_cv_prog_egrep" >&6
11262 EGREP
=$ac_cv_prog_egrep
11265 if test $ac_cv_c_compiler_gnu = yes; then
11266 echo "$as_me:$LINENO: checking whether $CC needs -traditional" >&5
11267 echo $ECHO_N "checking whether $CC needs -traditional... $ECHO_C" >&6
11268 if test "${ac_cv_prog_gcc_traditional+set}" = set; then
11269 echo $ECHO_N "(cached) $ECHO_C" >&6
11271 ac_pattern
="Autoconf.*'x'"
11272 cat >conftest.
$ac_ext <<_ACEOF
11275 cat confdefs.h
>>conftest.
$ac_ext
11276 cat >>conftest.
$ac_ext <<_ACEOF
11277 /* end confdefs.h. */
11281 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
11282 $EGREP "$ac_pattern" >/dev
/null
2>&1; then
11283 ac_cv_prog_gcc_traditional
=yes
11285 ac_cv_prog_gcc_traditional
=no
11290 if test $ac_cv_prog_gcc_traditional = no
; then
11291 cat >conftest.
$ac_ext <<_ACEOF
11294 cat confdefs.h
>>conftest.
$ac_ext
11295 cat >>conftest.
$ac_ext <<_ACEOF
11296 /* end confdefs.h. */
11297 #include <termio.h>
11300 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
11301 $EGREP "$ac_pattern" >/dev
/null
2>&1; then
11302 ac_cv_prog_gcc_traditional
=yes
11308 echo "$as_me:$LINENO: result: $ac_cv_prog_gcc_traditional" >&5
11309 echo "${ECHO_T}$ac_cv_prog_gcc_traditional" >&6
11310 if test $ac_cv_prog_gcc_traditional = yes; then
11311 CC
="$CC -traditional"
11319 ac_cpp
='$CXXCPP $CPPFLAGS'
11320 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11321 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11322 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
11325 CXXFLAGS
=${CXXFLAGS:=}
11327 ac_cpp
='$CXXCPP $CPPFLAGS'
11328 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11329 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11330 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
11331 if test -n "$ac_tool_prefix"; then
11332 for ac_prog
in $CCC g
++ c
++ gpp aCC CC cxx cc
++ cl FCC KCC RCC xlC_r xlC
11334 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
11335 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
11336 echo "$as_me:$LINENO: checking for $ac_word" >&5
11337 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11338 if test "${ac_cv_prog_CXX+set}" = set; then
11339 echo $ECHO_N "(cached) $ECHO_C" >&6
11341 if test -n "$CXX"; then
11342 ac_cv_prog_CXX
="$CXX" # Let the user override the test.
11344 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11345 for as_dir
in $PATH
11348 test -z "$as_dir" && as_dir
=.
11349 for ac_exec_ext
in '' $ac_executable_extensions; do
11350 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11351 ac_cv_prog_CXX
="$ac_tool_prefix$ac_prog"
11352 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11360 CXX
=$ac_cv_prog_CXX
11361 if test -n "$CXX"; then
11362 echo "$as_me:$LINENO: result: $CXX" >&5
11363 echo "${ECHO_T}$CXX" >&6
11365 echo "$as_me:$LINENO: result: no" >&5
11366 echo "${ECHO_T}no" >&6
11369 test -n "$CXX" && break
11372 if test -z "$CXX"; then
11374 for ac_prog
in $CCC g
++ c
++ gpp aCC CC cxx cc
++ cl FCC KCC RCC xlC_r xlC
11376 # Extract the first word of "$ac_prog", so it can be a program name with args.
11377 set dummy
$ac_prog; ac_word
=$2
11378 echo "$as_me:$LINENO: checking for $ac_word" >&5
11379 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11380 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
11381 echo $ECHO_N "(cached) $ECHO_C" >&6
11383 if test -n "$ac_ct_CXX"; then
11384 ac_cv_prog_ac_ct_CXX
="$ac_ct_CXX" # Let the user override the test.
11386 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11387 for as_dir
in $PATH
11390 test -z "$as_dir" && as_dir
=.
11391 for ac_exec_ext
in '' $ac_executable_extensions; do
11392 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11393 ac_cv_prog_ac_ct_CXX
="$ac_prog"
11394 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11402 ac_ct_CXX
=$ac_cv_prog_ac_ct_CXX
11403 if test -n "$ac_ct_CXX"; then
11404 echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
11405 echo "${ECHO_T}$ac_ct_CXX" >&6
11407 echo "$as_me:$LINENO: result: no" >&5
11408 echo "${ECHO_T}no" >&6
11411 test -n "$ac_ct_CXX" && break
11413 test -n "$ac_ct_CXX" || ac_ct_CXX
="g++"
11419 # Provide some information about the compiler.
11420 echo "$as_me:$LINENO:" \
11421 "checking for C++ compiler version" >&5
11422 ac_compiler
=`set X $ac_compile; echo $2`
11423 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
11424 (eval $ac_compiler --version </dev
/null
>&5) 2>&5
11426 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11427 (exit $ac_status); }
11428 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
11429 (eval $ac_compiler -v </dev
/null
>&5) 2>&5
11431 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11432 (exit $ac_status); }
11433 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
11434 (eval $ac_compiler -V </dev
/null
>&5) 2>&5
11436 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11437 (exit $ac_status); }
11439 echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
11440 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6
11441 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
11442 echo $ECHO_N "(cached) $ECHO_C" >&6
11444 cat >conftest.
$ac_ext <<_ACEOF
11447 cat confdefs.h
>>conftest.
$ac_ext
11448 cat >>conftest.
$ac_ext <<_ACEOF
11449 /* end confdefs.h. */
11462 rm -f conftest.
$ac_objext
11463 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11464 (eval $ac_compile) 2>conftest.er1
11466 grep -v '^ *+' conftest.er1
>conftest.err
11468 cat conftest.err
>&5
11469 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11470 (exit $ac_status); } &&
11471 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
11472 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11473 (eval $ac_try) 2>&5
11475 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11476 (exit $ac_status); }; } &&
11477 { ac_try
='test -s conftest.$ac_objext'
11478 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11479 (eval $ac_try) 2>&5
11481 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11482 (exit $ac_status); }; }; then
11483 ac_compiler_gnu
=yes
11485 echo "$as_me: failed program was:" >&5
11486 sed 's/^/| /' conftest.
$ac_ext >&5
11490 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11491 ac_cv_cxx_compiler_gnu
=$ac_compiler_gnu
11494 echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
11495 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6
11496 GXX
=`test $ac_compiler_gnu = yes && echo yes`
11497 ac_test_CXXFLAGS
=${CXXFLAGS+set}
11498 ac_save_CXXFLAGS
=$CXXFLAGS
11500 echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
11501 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6
11502 if test "${ac_cv_prog_cxx_g+set}" = set; then
11503 echo $ECHO_N "(cached) $ECHO_C" >&6
11505 cat >conftest.
$ac_ext <<_ACEOF
11508 cat confdefs.h
>>conftest.
$ac_ext
11509 cat >>conftest.
$ac_ext <<_ACEOF
11510 /* end confdefs.h. */
11520 rm -f conftest.
$ac_objext
11521 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11522 (eval $ac_compile) 2>conftest.er1
11524 grep -v '^ *+' conftest.er1
>conftest.err
11526 cat conftest.err
>&5
11527 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11528 (exit $ac_status); } &&
11529 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
11530 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11531 (eval $ac_try) 2>&5
11533 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11534 (exit $ac_status); }; } &&
11535 { ac_try
='test -s conftest.$ac_objext'
11536 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11537 (eval $ac_try) 2>&5
11539 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11540 (exit $ac_status); }; }; then
11541 ac_cv_prog_cxx_g
=yes
11543 echo "$as_me: failed program was:" >&5
11544 sed 's/^/| /' conftest.
$ac_ext >&5
11546 ac_cv_prog_cxx_g
=no
11548 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11550 echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
11551 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6
11552 if test "$ac_test_CXXFLAGS" = set; then
11553 CXXFLAGS
=$ac_save_CXXFLAGS
11554 elif test $ac_cv_prog_cxx_g = yes; then
11555 if test "$GXX" = yes; then
11561 if test "$GXX" = yes; then
11567 for ac_declaration
in \
11569 'extern "C" void std::exit (int) throw (); using std::exit;' \
11570 'extern "C" void std::exit (int); using std::exit;' \
11571 'extern "C" void exit (int) throw ();' \
11572 'extern "C" void exit (int);' \
11575 cat >conftest.
$ac_ext <<_ACEOF
11578 cat confdefs.h
>>conftest.
$ac_ext
11579 cat >>conftest.
$ac_ext <<_ACEOF
11580 /* end confdefs.h. */
11582 #include <stdlib.h>
11591 rm -f conftest.
$ac_objext
11592 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11593 (eval $ac_compile) 2>conftest.er1
11595 grep -v '^ *+' conftest.er1
>conftest.err
11597 cat conftest.err
>&5
11598 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11599 (exit $ac_status); } &&
11600 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
11601 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11602 (eval $ac_try) 2>&5
11604 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11605 (exit $ac_status); }; } &&
11606 { ac_try
='test -s conftest.$ac_objext'
11607 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11608 (eval $ac_try) 2>&5
11610 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11611 (exit $ac_status); }; }; then
11614 echo "$as_me: failed program was:" >&5
11615 sed 's/^/| /' conftest.
$ac_ext >&5
11619 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11620 cat >conftest.
$ac_ext <<_ACEOF
11623 cat confdefs.h
>>conftest.
$ac_ext
11624 cat >>conftest.
$ac_ext <<_ACEOF
11625 /* end confdefs.h. */
11635 rm -f conftest.
$ac_objext
11636 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11637 (eval $ac_compile) 2>conftest.er1
11639 grep -v '^ *+' conftest.er1
>conftest.err
11641 cat conftest.err
>&5
11642 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11643 (exit $ac_status); } &&
11644 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
11645 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11646 (eval $ac_try) 2>&5
11648 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11649 (exit $ac_status); }; } &&
11650 { ac_try
='test -s conftest.$ac_objext'
11651 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11652 (eval $ac_try) 2>&5
11654 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11655 (exit $ac_status); }; }; then
11658 echo "$as_me: failed program was:" >&5
11659 sed 's/^/| /' conftest.
$ac_ext >&5
11662 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11665 if test -n "$ac_declaration"; then
11666 echo '#ifdef __cplusplus' >>confdefs.h
11667 echo $ac_declaration >>confdefs.h
11668 echo '#endif' >>confdefs.h
11672 ac_cpp
='$CXXCPP $CPPFLAGS'
11673 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11674 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11675 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
11679 ac_cpp
='$CPP $CPPFLAGS'
11680 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11681 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11682 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
11685 echo "$as_me:$LINENO: checking for /usr/local/include in default include path" >&5
11686 echo $ECHO_N "checking for /usr/local/include in default include path... $ECHO_C" >&6
11687 GCC_SEARCHES_USR_LOCAL_INCLUDE
="no"
11688 if test "$GCC" = "yes" ; then
11689 echo | gcc
-v -x c
++ -E - 2>&1 | sed -n '/^#include </,$p' | \
11690 sed -n '1,/End of search list\./p' | \
11691 grep '^ */usr/local/include$' 2>&1 /dev
/null \
11692 && GCC_SEARCHES_USR_LOCAL_INCLUDE
="yes"
11694 echo "$as_me:$LINENO: result: $GCC_SEARCHES_USR_LOCAL_INCLUDE" >&5
11695 echo "${ECHO_T}$GCC_SEARCHES_USR_LOCAL_INCLUDE" >&6
11697 if test -n "$ac_tool_prefix"; then
11698 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
11699 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
11700 echo "$as_me:$LINENO: checking for $ac_word" >&5
11701 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11702 if test "${ac_cv_prog_RANLIB+set}" = set; then
11703 echo $ECHO_N "(cached) $ECHO_C" >&6
11705 if test -n "$RANLIB"; then
11706 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
11708 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11709 for as_dir
in $PATH
11712 test -z "$as_dir" && as_dir
=.
11713 for ac_exec_ext
in '' $ac_executable_extensions; do
11714 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11715 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
11716 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11724 RANLIB
=$ac_cv_prog_RANLIB
11725 if test -n "$RANLIB"; then
11726 echo "$as_me:$LINENO: result: $RANLIB" >&5
11727 echo "${ECHO_T}$RANLIB" >&6
11729 echo "$as_me:$LINENO: result: no" >&5
11730 echo "${ECHO_T}no" >&6
11734 if test -z "$ac_cv_prog_RANLIB"; then
11735 ac_ct_RANLIB
=$RANLIB
11736 # Extract the first word of "ranlib", so it can be a program name with args.
11737 set dummy ranlib
; ac_word
=$2
11738 echo "$as_me:$LINENO: checking for $ac_word" >&5
11739 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11740 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
11741 echo $ECHO_N "(cached) $ECHO_C" >&6
11743 if test -n "$ac_ct_RANLIB"; then
11744 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
11746 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11747 for as_dir
in $PATH
11750 test -z "$as_dir" && as_dir
=.
11751 for ac_exec_ext
in '' $ac_executable_extensions; do
11752 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11753 ac_cv_prog_ac_ct_RANLIB
="ranlib"
11754 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11760 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB
=":"
11763 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
11764 if test -n "$ac_ct_RANLIB"; then
11765 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
11766 echo "${ECHO_T}$ac_ct_RANLIB" >&6
11768 echo "$as_me:$LINENO: result: no" >&5
11769 echo "${ECHO_T}no" >&6
11772 RANLIB
=$ac_ct_RANLIB
11774 RANLIB
="$ac_cv_prog_RANLIB"
11778 # Extract the first word of "ar", so it can be a program name with args.
11779 set dummy
ar; ac_word
=$2
11780 echo "$as_me:$LINENO: checking for $ac_word" >&5
11781 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11782 if test "${ac_cv_prog_AR+set}" = set; then
11783 echo $ECHO_N "(cached) $ECHO_C" >&6
11785 if test -n "$AR"; then
11786 ac_cv_prog_AR
="$AR" # Let the user override the test.
11788 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11789 for as_dir
in $PATH
11792 test -z "$as_dir" && as_dir
=.
11793 for ac_exec_ext
in '' $ac_executable_extensions; do
11794 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11796 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11805 if test -n "$AR"; then
11806 echo "$as_me:$LINENO: result: $AR" >&5
11807 echo "${ECHO_T}$AR" >&6
11809 echo "$as_me:$LINENO: result: no" >&5
11810 echo "${ECHO_T}no" >&6
11813 if test "x$AR" = "x" ; then
11814 { { echo "$as_me:$LINENO: error: ar is needed to build wxWindows" >&5
11815 echo "$as_me: error: ar is needed to build wxWindows" >&2;}
11816 { (exit 1); exit 1; }; }
11819 # Find a good install program. We prefer a C program (faster),
11820 # so one script is as good as another. But avoid the broken or
11821 # incompatible versions:
11822 # SysV /etc/install, /usr/sbin/install
11823 # SunOS /usr/etc/install
11824 # IRIX /sbin/install
11826 # AmigaOS /C/install, which installs bootblocks on floppy discs
11827 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
11828 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
11829 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
11830 # OS/2's system install, which has a completely different semantic
11831 # ./install, which can be erroneously created by make from ./install.sh.
11832 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
11833 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
11834 if test -z "$INSTALL"; then
11835 if test "${ac_cv_path_install+set}" = set; then
11836 echo $ECHO_N "(cached) $ECHO_C" >&6
11838 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11839 for as_dir
in $PATH
11842 test -z "$as_dir" && as_dir
=.
11843 # Account for people who put trailing slashes in PATH elements.
11845 .
/ | .
// | /cC
/* | \
11846 /etc
/* | /usr
/sbin
/* | /usr
/etc
/* | /sbin
/* | /usr
/afsws
/bin
/* | \
11847 ?
:\\/os2
\\/install\\/* | ?
:\\/OS2
\\/INSTALL
\\/* | \
11850 # OSF1 and SCO ODT 3.0 have their own names for install.
11851 # Don't use installbsd from OSF since it installs stuff as root
11853 for ac_prog
in ginstall scoinst
install; do
11854 for ac_exec_ext
in '' $ac_executable_extensions; do
11855 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
11856 if test $ac_prog = install &&
11857 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
11858 # AIX install. It has an incompatible calling convention.
11860 elif test $ac_prog = install &&
11861 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
11862 # program-specific install script used by HP pwplus--don't use.
11865 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
11877 if test "${ac_cv_path_install+set}" = set; then
11878 INSTALL
=$ac_cv_path_install
11880 # As a last resort, use the slow shell script. We don't cache a
11881 # path for INSTALL within a source directory, because that will
11882 # break other packages using the cache if that directory is
11883 # removed, or if the path is relative.
11884 INSTALL
=$ac_install_sh
11887 echo "$as_me:$LINENO: result: $INSTALL" >&5
11888 echo "${ECHO_T}$INSTALL" >&6
11890 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
11891 # It thinks the first close brace ends the variable substitution.
11892 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
11894 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
11896 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
11902 ?
:* ) # Drive letter, considered as absolute.
11905 INSTALL
=`pwd`/${INSTALL} ;;
11910 INSTALL_DIR
="mkdir"
11913 *) INSTALL_DIR
="$INSTALL -d"
11920 powerpc
-*-darwin* )
11921 INSTALL_PROGRAM
="cp -fp"
11922 INSTALL_DATA
="cp -fp"
11928 # Extract the first word of "strip", so it can be a program name with args.
11929 set dummy strip
; ac_word
=$2
11930 echo "$as_me:$LINENO: checking for $ac_word" >&5
11931 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11932 if test "${ac_cv_prog_STRIP+set}" = set; then
11933 echo $ECHO_N "(cached) $ECHO_C" >&6
11935 if test -n "$STRIP"; then
11936 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
11938 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11939 for as_dir
in $PATH
11942 test -z "$as_dir" && as_dir
=.
11943 for ac_exec_ext
in '' $ac_executable_extensions; do
11944 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11945 ac_cv_prog_STRIP
="strip"
11946 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11952 test -z "$ac_cv_prog_STRIP" && ac_cv_prog_STRIP
="true"
11955 STRIP
=$ac_cv_prog_STRIP
11956 if test -n "$STRIP"; then
11957 echo "$as_me:$LINENO: result: $STRIP" >&5
11958 echo "${ECHO_T}$STRIP" >&6
11960 echo "$as_me:$LINENO: result: no" >&5
11961 echo "${ECHO_T}no" >&6
11965 echo "$as_me:$LINENO: checking if make is GNU make" >&5
11966 echo $ECHO_N "checking if make is GNU make... $ECHO_C" >&6
11967 if test "${wx_cv_prog_makeisgnu+set}" = set; then
11968 echo $ECHO_N "(cached) $ECHO_C" >&6
11971 if ( ${SHELL-sh} -c "${MAKE-make} --version" 2> /dev
/null
|
11972 egrep -s GNU
> /dev
/null
); then
11973 wx_cv_prog_makeisgnu
="yes"
11975 wx_cv_prog_makeisgnu
="no"
11979 echo "$as_me:$LINENO: result: $wx_cv_prog_makeisgnu" >&5
11980 echo "${ECHO_T}$wx_cv_prog_makeisgnu" >&6
11982 if test "x$wx_cv_prog_makeisgnu" = "xyes"; then
11990 if test "x$wx_cv_prog_makeisgnu" != "xyes"; then
11991 echo "$as_me:$LINENO: checking if make supports VPATH" >&5
11992 echo $ECHO_N "checking if make supports VPATH... $ECHO_C" >&6
11993 if test "${wx_cv_prog_makevpath+set}" = set; then
11994 echo $ECHO_N "(cached) $ECHO_C" >&6
11997 cat - << EOF > confMake
12003 if test ! -d sub
; then
12006 echo dummy
> sub
/file
12007 ${MAKE-make} -f confMake VPATH
=sub
2>&5 > /dev
/null
12009 rm -f sub
/file check final_file confMake
12011 if test "$RESULT" = 0; then
12012 wx_cv_prog_makevpath
="yes"
12014 wx_cv_prog_makevpath
="no"
12018 echo "$as_me:$LINENO: result: $wx_cv_prog_makevpath" >&5
12019 echo "${ECHO_T}$wx_cv_prog_makevpath" >&6
12021 if test "x$wx_cv_prog_makevpath" != "xyes"; then
12022 { { echo "$as_me:$LINENO: error:
12023 You need a make-utility that is able to use the variable
12025 If your version of make does not support VPATH correctly,
12026 please install GNU-make (possibly as gmake), and start
12027 configure with the following command:
12028 export MAKE=gmake; ./configure for sh-type shells
12029 setenv MAKE gmake; ./configure for csh-type shells
12030 Also please do remember to use gmake in this case every time
12031 you are trying to compile.
12033 echo "$as_me: error:
12034 You need a make-utility that is able to use the variable
12036 If your version of make does not support VPATH correctly,
12037 please install GNU-make (possibly as gmake), and start
12038 configure with the following command:
12039 export MAKE=gmake; ./configure for sh-type shells
12040 setenv MAKE gmake; ./configure for csh-type shells
12041 Also please do remember to use gmake in this case every time
12042 you are trying to compile.
12044 { (exit 1); exit 1; }; }
12046 echo "$as_me:$LINENO: checking whether ln -s works" >&5
12047 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
12049 if test "$LN_S" = "ln -s"; then
12050 echo "$as_me:$LINENO: result: yes" >&5
12051 echo "${ECHO_T}yes" >&6
12053 echo "$as_me:$LINENO: result: no, using $LN_S" >&5
12054 echo "${ECHO_T}no, using $LN_S" >&6
12060 *-pc-os2_emx | *-pc-os2-emx )
12061 if test "$wxUSE_MOTIF" = 1 -o "$wxUSE_GTK" = 1 -o "$wxUSE_X11" = 1; then
12062 echo "$as_me:$LINENO: checking for drand48 in -lcExt" >&5
12063 echo $ECHO_N "checking for drand48 in -lcExt... $ECHO_C" >&6
12064 if test "${ac_cv_lib_cExt_drand48+set}" = set; then
12065 echo $ECHO_N "(cached) $ECHO_C" >&6
12067 ac_check_lib_save_LIBS
=$LIBS
12068 LIBS
="-lcExt $LIBS"
12069 cat >conftest.
$ac_ext <<_ACEOF
12072 cat confdefs.h
>>conftest.
$ac_ext
12073 cat >>conftest.
$ac_ext <<_ACEOF
12074 /* end confdefs.h. */
12076 /* Override any gcc2 internal prototype to avoid an error. */
12080 /* We use char because int might match the return type of a gcc2
12081 builtin and then its argument prototype would still apply. */
12091 rm -f conftest.
$ac_objext conftest
$ac_exeext
12092 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12093 (eval $ac_link) 2>conftest.er1
12095 grep -v '^ *+' conftest.er1
>conftest.err
12097 cat conftest.err
>&5
12098 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12099 (exit $ac_status); } &&
12100 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12101 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12102 (eval $ac_try) 2>&5
12104 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12105 (exit $ac_status); }; } &&
12106 { ac_try
='test -s conftest$ac_exeext'
12107 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12108 (eval $ac_try) 2>&5
12110 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12111 (exit $ac_status); }; }; then
12112 ac_cv_lib_cExt_drand48
=yes
12114 echo "$as_me: failed program was:" >&5
12115 sed 's/^/| /' conftest.
$ac_ext >&5
12117 ac_cv_lib_cExt_drand48
=no
12119 rm -f conftest.err conftest.
$ac_objext \
12120 conftest
$ac_exeext conftest.
$ac_ext
12121 LIBS
=$ac_check_lib_save_LIBS
12123 echo "$as_me:$LINENO: result: $ac_cv_lib_cExt_drand48" >&5
12124 echo "${ECHO_T}$ac_cv_lib_cExt_drand48" >&6
12125 if test $ac_cv_lib_cExt_drand48 = yes; then
12126 LIBS
="$LIBS -lcExt"
12130 RESPROGRAMOBJ
="\${top_srcdir}/include/wx/os2/wx.res"
12132 echo "$as_me:$LINENO: checking for gcc version" >&5
12133 echo $ECHO_N "checking for gcc version... $ECHO_C" >&6
12134 if test "${wx_cv_gccversion+set}" = set; then
12135 echo $ECHO_N "(cached) $ECHO_C" >&6
12138 cat >conftest.
$ac_ext <<_ACEOF
12141 cat confdefs.h
>>conftest.
$ac_ext
12142 cat >>conftest.
$ac_ext <<_ACEOF
12143 /* end confdefs.h. */
12157 rm -f conftest.
$ac_objext
12158 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12159 (eval $ac_compile) 2>conftest.er1
12161 grep -v '^ *+' conftest.er1
>conftest.err
12163 cat conftest.err
>&5
12164 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12165 (exit $ac_status); } &&
12166 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12167 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12168 (eval $ac_try) 2>&5
12170 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12171 (exit $ac_status); }; } &&
12172 { ac_try
='test -s conftest.$ac_objext'
12173 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12174 (eval $ac_try) 2>&5
12176 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12177 (exit $ac_status); }; }; then
12179 cat >conftest.
$ac_ext <<_ACEOF
12182 cat confdefs.h
>>conftest.
$ac_ext
12183 cat >>conftest.
$ac_ext <<_ACEOF
12184 /* end confdefs.h. */
12190 #if (__GNUC__==3) && ((__GNUC_MINOR__ < 2) || ((__GNUC_MINOR__==2) && (__GNUC_PATCHLEVEL__<2)))
12191 #error intermediate gcc
12198 rm -f conftest.
$ac_objext
12199 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12200 (eval $ac_compile) 2>conftest.er1
12202 grep -v '^ *+' conftest.er1
>conftest.err
12204 cat conftest.err
>&5
12205 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12206 (exit $ac_status); } &&
12207 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12208 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12209 (eval $ac_try) 2>&5
12211 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12212 (exit $ac_status); }; } &&
12213 { ac_try
='test -s conftest.$ac_objext'
12214 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12215 (eval $ac_try) 2>&5
12217 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12218 (exit $ac_status); }; }; then
12220 wx_cv_gccversion
=Innotek
12223 echo "$as_me: failed program was:" >&5
12224 sed 's/^/| /' conftest.
$ac_ext >&5
12231 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12234 echo "$as_me: failed program was:" >&5
12235 sed 's/^/| /' conftest.
$ac_ext >&5
12242 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12245 echo "$as_me:$LINENO: result: $wx_cv_gccversion" >&5
12246 echo "${ECHO_T}$wx_cv_gccversion" >&6
12247 if test "$wx_cv_gccversion" = "2"; then
12248 LIBS
="$LIBS -lstdcpp"
12249 LDFLAGS
="$LDFLAGS -Zsysv-signals"
12251 if test "$wx_cv_gccversion" = "3"; then
12252 LIBS
="$LIBS -lstdcxx"
12253 LDFLAGS
="$LDFLAGS -Zsysv-signals"
12255 LIBS
="$LIBS -lstdc++"
12264 ac_cpp
='$CXXCPP $CPPFLAGS'
12265 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12266 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12267 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
12271 echo "$as_me:$LINENO: checking for strcasecmp() in string.h" >&5
12272 echo $ECHO_N "checking for strcasecmp() in string.h... $ECHO_C" >&6
12273 if test "${ac_cv_string_strcasecmp+set}" = set; then
12274 echo $ECHO_N "(cached) $ECHO_C" >&6
12277 cat >conftest.
$ac_ext <<_ACEOF
12280 cat confdefs.h
>>conftest.
$ac_ext
12281 cat >>conftest.
$ac_ext <<_ACEOF
12282 /* end confdefs.h. */
12284 #include <string.h>
12290 strcasecmp("foo", "bar");
12296 rm -f conftest.
$ac_objext conftest
$ac_exeext
12297 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12298 (eval $ac_link) 2>conftest.er1
12300 grep -v '^ *+' conftest.er1
>conftest.err
12302 cat conftest.err
>&5
12303 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12304 (exit $ac_status); } &&
12305 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
12306 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12307 (eval $ac_try) 2>&5
12309 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12310 (exit $ac_status); }; } &&
12311 { ac_try
='test -s conftest$ac_exeext'
12312 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12313 (eval $ac_try) 2>&5
12315 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12316 (exit $ac_status); }; }; then
12317 ac_cv_string_strcasecmp
=yes
12319 echo "$as_me: failed program was:" >&5
12320 sed 's/^/| /' conftest.
$ac_ext >&5
12322 ac_cv_string_strcasecmp
=no
12325 rm -f conftest.err conftest.
$ac_objext \
12326 conftest
$ac_exeext conftest.
$ac_ext
12329 echo "$as_me:$LINENO: result: $ac_cv_string_strcasecmp" >&5
12330 echo "${ECHO_T}$ac_cv_string_strcasecmp" >&6
12332 if test x
"$ac_cv_string_strcasecmp" = "xyes"; then
12333 cat >>confdefs.h
<<\_ACEOF
12334 #define HAVE_STRCASECMP_IN_STRING_H 1
12338 echo "$as_me:$LINENO: checking for strcasecmp() in strings.h" >&5
12339 echo $ECHO_N "checking for strcasecmp() in strings.h... $ECHO_C" >&6
12340 if test "${ac_cv_strings_strcasecmp+set}" = set; then
12341 echo $ECHO_N "(cached) $ECHO_C" >&6
12344 cat >conftest.
$ac_ext <<_ACEOF
12347 cat confdefs.h
>>conftest.
$ac_ext
12348 cat >>conftest.
$ac_ext <<_ACEOF
12349 /* end confdefs.h. */
12351 #include <strings.h>
12357 strcasecmp("foo", "bar");
12363 rm -f conftest.
$ac_objext conftest
$ac_exeext
12364 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12365 (eval $ac_link) 2>conftest.er1
12367 grep -v '^ *+' conftest.er1
>conftest.err
12369 cat conftest.err
>&5
12370 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12371 (exit $ac_status); } &&
12372 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
12373 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12374 (eval $ac_try) 2>&5
12376 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12377 (exit $ac_status); }; } &&
12378 { ac_try
='test -s conftest$ac_exeext'
12379 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12380 (eval $ac_try) 2>&5
12382 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12383 (exit $ac_status); }; }; then
12384 ac_cv_strings_strcasecmp
=yes
12386 echo "$as_me: failed program was:" >&5
12387 sed 's/^/| /' conftest.
$ac_ext >&5
12389 ac_cv_strings_strcasecmp
=no
12392 rm -f conftest.err conftest.
$ac_objext \
12393 conftest
$ac_exeext conftest.
$ac_ext
12396 echo "$as_me:$LINENO: result: $ac_cv_strings_strcasecmp" >&5
12397 echo "${ECHO_T}$ac_cv_strings_strcasecmp" >&6
12399 if test x
"$ac_cv_string_strcasecmp" = "xyes"; then
12400 cat >>confdefs.h
<<\_ACEOF
12401 #define HAVE_STRCASECMP_IN_STRINGS_H 1
12405 { { echo "$as_me:$LINENO: error: No case-insensitive string comparison function found." >&5
12406 echo "$as_me: error: No case-insensitive string comparison function found." >&2;}
12407 { (exit 1); exit 1; }; }
12412 ac_cpp
='$CPP $CPPFLAGS'
12413 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12414 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12415 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
12421 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
12422 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
12423 if test "${ac_cv_header_stdc+set}" = set; then
12424 echo $ECHO_N "(cached) $ECHO_C" >&6
12426 cat >conftest.
$ac_ext <<_ACEOF
12429 cat confdefs.h
>>conftest.
$ac_ext
12430 cat >>conftest.
$ac_ext <<_ACEOF
12431 /* end confdefs.h. */
12432 #include <stdlib.h>
12433 #include <stdarg.h>
12434 #include <string.h>
12445 rm -f conftest.
$ac_objext
12446 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12447 (eval $ac_compile) 2>conftest.er1
12449 grep -v '^ *+' conftest.er1
>conftest.err
12451 cat conftest.err
>&5
12452 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12453 (exit $ac_status); } &&
12454 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12455 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12456 (eval $ac_try) 2>&5
12458 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12459 (exit $ac_status); }; } &&
12460 { ac_try
='test -s conftest.$ac_objext'
12461 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12462 (eval $ac_try) 2>&5
12464 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12465 (exit $ac_status); }; }; then
12466 ac_cv_header_stdc
=yes
12468 echo "$as_me: failed program was:" >&5
12469 sed 's/^/| /' conftest.
$ac_ext >&5
12471 ac_cv_header_stdc
=no
12473 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12475 if test $ac_cv_header_stdc = yes; then
12476 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
12477 cat >conftest.
$ac_ext <<_ACEOF
12480 cat confdefs.h
>>conftest.
$ac_ext
12481 cat >>conftest.
$ac_ext <<_ACEOF
12482 /* end confdefs.h. */
12483 #include <string.h>
12486 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
12487 $EGREP "memchr" >/dev
/null
2>&1; then
12490 ac_cv_header_stdc
=no
12496 if test $ac_cv_header_stdc = yes; then
12497 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
12498 cat >conftest.
$ac_ext <<_ACEOF
12501 cat confdefs.h
>>conftest.
$ac_ext
12502 cat >>conftest.
$ac_ext <<_ACEOF
12503 /* end confdefs.h. */
12504 #include <stdlib.h>
12507 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
12508 $EGREP "free" >/dev
/null
2>&1; then
12511 ac_cv_header_stdc
=no
12517 if test $ac_cv_header_stdc = yes; then
12518 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
12519 if test "$cross_compiling" = yes; then
12522 cat >conftest.
$ac_ext <<_ACEOF
12525 cat confdefs.h
>>conftest.
$ac_ext
12526 cat >>conftest.
$ac_ext <<_ACEOF
12527 /* end confdefs.h. */
12529 #if ((' ' & 0x0FF) == 0x020)
12530 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
12531 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
12533 # define ISLOWER(c) \
12534 (('a' <= (c) && (c) <= 'i') \
12535 || ('j' <= (c) && (c) <= 'r') \
12536 || ('s' <= (c) && (c) <= 'z'))
12537 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
12540 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
12545 for (i = 0; i < 256; i++)
12546 if (XOR (islower (i), ISLOWER (i))
12547 || toupper (i) != TOUPPER (i))
12552 rm -f conftest
$ac_exeext
12553 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12554 (eval $ac_link) 2>&5
12556 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12557 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
12558 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12559 (eval $ac_try) 2>&5
12561 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12562 (exit $ac_status); }; }; then
12565 echo "$as_me: program exited with status $ac_status" >&5
12566 echo "$as_me: failed program was:" >&5
12567 sed 's/^/| /' conftest.
$ac_ext >&5
12569 ( exit $ac_status )
12570 ac_cv_header_stdc
=no
12572 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
12576 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
12577 echo "${ECHO_T}$ac_cv_header_stdc" >&6
12578 if test $ac_cv_header_stdc = yes; then
12580 cat >>confdefs.h
<<\_ACEOF
12581 #define STDC_HEADERS 1
12586 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
12596 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
12597 inttypes.h stdint.h unistd.h
12599 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
12600 echo "$as_me:$LINENO: checking for $ac_header" >&5
12601 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12602 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12603 echo $ECHO_N "(cached) $ECHO_C" >&6
12605 cat >conftest.
$ac_ext <<_ACEOF
12608 cat confdefs.h
>>conftest.
$ac_ext
12609 cat >>conftest.
$ac_ext <<_ACEOF
12610 /* end confdefs.h. */
12611 $ac_includes_default
12613 #include <$ac_header>
12615 rm -f conftest.
$ac_objext
12616 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12617 (eval $ac_compile) 2>conftest.er1
12619 grep -v '^ *+' conftest.er1
>conftest.err
12621 cat conftest.err
>&5
12622 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12623 (exit $ac_status); } &&
12624 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12625 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12626 (eval $ac_try) 2>&5
12628 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12629 (exit $ac_status); }; } &&
12630 { ac_try
='test -s conftest.$ac_objext'
12631 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12632 (eval $ac_try) 2>&5
12634 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12635 (exit $ac_status); }; }; then
12636 eval "$as_ac_Header=yes"
12638 echo "$as_me: failed program was:" >&5
12639 sed 's/^/| /' conftest.
$ac_ext >&5
12641 eval "$as_ac_Header=no"
12643 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12645 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12646 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12647 if test `eval echo '${'$as_ac_Header'}'` = yes; then
12648 cat >>confdefs.h
<<_ACEOF
12649 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
12658 for ac_header
in stdlib.h
12660 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
12661 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12662 echo "$as_me:$LINENO: checking for $ac_header" >&5
12663 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12664 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12665 echo $ECHO_N "(cached) $ECHO_C" >&6
12667 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12668 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12670 # Is the header compilable?
12671 echo "$as_me:$LINENO: checking $ac_header usability" >&5
12672 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
12673 cat >conftest.
$ac_ext <<_ACEOF
12676 cat confdefs.h
>>conftest.
$ac_ext
12677 cat >>conftest.
$ac_ext <<_ACEOF
12678 /* end confdefs.h. */
12679 $ac_includes_default
12680 #include <$ac_header>
12682 rm -f conftest.
$ac_objext
12683 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12684 (eval $ac_compile) 2>conftest.er1
12686 grep -v '^ *+' conftest.er1
>conftest.err
12688 cat conftest.err
>&5
12689 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12690 (exit $ac_status); } &&
12691 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12692 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12693 (eval $ac_try) 2>&5
12695 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12696 (exit $ac_status); }; } &&
12697 { ac_try
='test -s conftest.$ac_objext'
12698 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12699 (eval $ac_try) 2>&5
12701 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12702 (exit $ac_status); }; }; then
12703 ac_header_compiler
=yes
12705 echo "$as_me: failed program was:" >&5
12706 sed 's/^/| /' conftest.
$ac_ext >&5
12708 ac_header_compiler
=no
12710 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12711 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
12712 echo "${ECHO_T}$ac_header_compiler" >&6
12714 # Is the header present?
12715 echo "$as_me:$LINENO: checking $ac_header presence" >&5
12716 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
12717 cat >conftest.
$ac_ext <<_ACEOF
12720 cat confdefs.h
>>conftest.
$ac_ext
12721 cat >>conftest.
$ac_ext <<_ACEOF
12722 /* end confdefs.h. */
12723 #include <$ac_header>
12725 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
12726 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
12728 grep -v '^ *+' conftest.er1
>conftest.err
12730 cat conftest.err
>&5
12731 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12732 (exit $ac_status); } >/dev
/null
; then
12733 if test -s conftest.err
; then
12734 ac_cpp_err
=$ac_c_preproc_warn_flag
12735 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
12742 if test -z "$ac_cpp_err"; then
12743 ac_header_preproc
=yes
12745 echo "$as_me: failed program was:" >&5
12746 sed 's/^/| /' conftest.
$ac_ext >&5
12748 ac_header_preproc
=no
12750 rm -f conftest.err conftest.
$ac_ext
12751 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
12752 echo "${ECHO_T}$ac_header_preproc" >&6
12754 # So? What about this header?
12755 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
12757 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
12758 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
12759 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
12760 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
12761 ac_header_preproc
=yes
12764 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
12765 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
12766 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
12767 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
12768 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
12769 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
12770 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
12771 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
12772 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12773 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
12774 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
12775 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
12778 ## ----------------------------------------- ##
12779 ## Report this to wx-dev@lists.wxwindows.org ##
12780 ## ----------------------------------------- ##
12783 sed "s/^/$as_me: WARNING: /" >&2
12786 echo "$as_me:$LINENO: checking for $ac_header" >&5
12787 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12788 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12789 echo $ECHO_N "(cached) $ECHO_C" >&6
12791 eval "$as_ac_Header=\$ac_header_preproc"
12793 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12794 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12797 if test `eval echo '${'$as_ac_Header'}'` = yes; then
12798 cat >>confdefs.h
<<_ACEOF
12799 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
12807 for ac_header
in malloc.h
12809 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
12810 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12811 echo "$as_me:$LINENO: checking for $ac_header" >&5
12812 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12813 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12814 echo $ECHO_N "(cached) $ECHO_C" >&6
12816 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12817 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12819 # Is the header compilable?
12820 echo "$as_me:$LINENO: checking $ac_header usability" >&5
12821 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
12822 cat >conftest.
$ac_ext <<_ACEOF
12825 cat confdefs.h
>>conftest.
$ac_ext
12826 cat >>conftest.
$ac_ext <<_ACEOF
12827 /* end confdefs.h. */
12828 $ac_includes_default
12829 #include <$ac_header>
12831 rm -f conftest.
$ac_objext
12832 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12833 (eval $ac_compile) 2>conftest.er1
12835 grep -v '^ *+' conftest.er1
>conftest.err
12837 cat conftest.err
>&5
12838 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12839 (exit $ac_status); } &&
12840 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12841 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12842 (eval $ac_try) 2>&5
12844 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12845 (exit $ac_status); }; } &&
12846 { ac_try
='test -s conftest.$ac_objext'
12847 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12848 (eval $ac_try) 2>&5
12850 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12851 (exit $ac_status); }; }; then
12852 ac_header_compiler
=yes
12854 echo "$as_me: failed program was:" >&5
12855 sed 's/^/| /' conftest.
$ac_ext >&5
12857 ac_header_compiler
=no
12859 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12860 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
12861 echo "${ECHO_T}$ac_header_compiler" >&6
12863 # Is the header present?
12864 echo "$as_me:$LINENO: checking $ac_header presence" >&5
12865 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
12866 cat >conftest.
$ac_ext <<_ACEOF
12869 cat confdefs.h
>>conftest.
$ac_ext
12870 cat >>conftest.
$ac_ext <<_ACEOF
12871 /* end confdefs.h. */
12872 #include <$ac_header>
12874 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
12875 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
12877 grep -v '^ *+' conftest.er1
>conftest.err
12879 cat conftest.err
>&5
12880 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12881 (exit $ac_status); } >/dev
/null
; then
12882 if test -s conftest.err
; then
12883 ac_cpp_err
=$ac_c_preproc_warn_flag
12884 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
12891 if test -z "$ac_cpp_err"; then
12892 ac_header_preproc
=yes
12894 echo "$as_me: failed program was:" >&5
12895 sed 's/^/| /' conftest.
$ac_ext >&5
12897 ac_header_preproc
=no
12899 rm -f conftest.err conftest.
$ac_ext
12900 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
12901 echo "${ECHO_T}$ac_header_preproc" >&6
12903 # So? What about this header?
12904 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
12906 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
12907 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
12908 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
12909 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
12910 ac_header_preproc
=yes
12913 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
12914 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
12915 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
12916 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
12917 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
12918 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
12919 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
12920 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
12921 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12922 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
12923 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
12924 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
12927 ## ----------------------------------------- ##
12928 ## Report this to wx-dev@lists.wxwindows.org ##
12929 ## ----------------------------------------- ##
12932 sed "s/^/$as_me: WARNING: /" >&2
12935 echo "$as_me:$LINENO: checking for $ac_header" >&5
12936 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12937 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12938 echo $ECHO_N "(cached) $ECHO_C" >&6
12940 eval "$as_ac_Header=\$ac_header_preproc"
12942 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12943 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12946 if test `eval echo '${'$as_ac_Header'}'` = yes; then
12947 cat >>confdefs.h
<<_ACEOF
12948 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
12956 for ac_header
in unistd.h
12958 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
12959 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12960 echo "$as_me:$LINENO: checking for $ac_header" >&5
12961 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12962 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12963 echo $ECHO_N "(cached) $ECHO_C" >&6
12965 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12966 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12968 # Is the header compilable?
12969 echo "$as_me:$LINENO: checking $ac_header usability" >&5
12970 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
12971 cat >conftest.
$ac_ext <<_ACEOF
12974 cat confdefs.h
>>conftest.
$ac_ext
12975 cat >>conftest.
$ac_ext <<_ACEOF
12976 /* end confdefs.h. */
12977 $ac_includes_default
12978 #include <$ac_header>
12980 rm -f conftest.
$ac_objext
12981 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12982 (eval $ac_compile) 2>conftest.er1
12984 grep -v '^ *+' conftest.er1
>conftest.err
12986 cat conftest.err
>&5
12987 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12988 (exit $ac_status); } &&
12989 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12990 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12991 (eval $ac_try) 2>&5
12993 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12994 (exit $ac_status); }; } &&
12995 { ac_try
='test -s conftest.$ac_objext'
12996 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12997 (eval $ac_try) 2>&5
12999 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13000 (exit $ac_status); }; }; then
13001 ac_header_compiler
=yes
13003 echo "$as_me: failed program was:" >&5
13004 sed 's/^/| /' conftest.
$ac_ext >&5
13006 ac_header_compiler
=no
13008 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13009 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
13010 echo "${ECHO_T}$ac_header_compiler" >&6
13012 # Is the header present?
13013 echo "$as_me:$LINENO: checking $ac_header presence" >&5
13014 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
13015 cat >conftest.
$ac_ext <<_ACEOF
13018 cat confdefs.h
>>conftest.
$ac_ext
13019 cat >>conftest.
$ac_ext <<_ACEOF
13020 /* end confdefs.h. */
13021 #include <$ac_header>
13023 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
13024 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
13026 grep -v '^ *+' conftest.er1
>conftest.err
13028 cat conftest.err
>&5
13029 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13030 (exit $ac_status); } >/dev
/null
; then
13031 if test -s conftest.err
; then
13032 ac_cpp_err
=$ac_c_preproc_warn_flag
13033 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
13040 if test -z "$ac_cpp_err"; then
13041 ac_header_preproc
=yes
13043 echo "$as_me: failed program was:" >&5
13044 sed 's/^/| /' conftest.
$ac_ext >&5
13046 ac_header_preproc
=no
13048 rm -f conftest.err conftest.
$ac_ext
13049 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
13050 echo "${ECHO_T}$ac_header_preproc" >&6
13052 # So? What about this header?
13053 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
13055 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
13056 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
13057 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
13058 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
13059 ac_header_preproc
=yes
13062 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
13063 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
13064 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
13065 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
13066 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
13067 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
13068 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
13069 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
13070 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
13071 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
13072 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
13073 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
13076 ## ----------------------------------------- ##
13077 ## Report this to wx-dev@lists.wxwindows.org ##
13078 ## ----------------------------------------- ##
13081 sed "s/^/$as_me: WARNING: /" >&2
13084 echo "$as_me:$LINENO: checking for $ac_header" >&5
13085 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13086 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13087 echo $ECHO_N "(cached) $ECHO_C" >&6
13089 eval "$as_ac_Header=\$ac_header_preproc"
13091 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13092 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13095 if test `eval echo '${'$as_ac_Header'}'` = yes; then
13096 cat >>confdefs.h
<<_ACEOF
13097 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
13105 for ac_header
in wchar.h
13107 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
13108 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13109 echo "$as_me:$LINENO: checking for $ac_header" >&5
13110 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13111 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13112 echo $ECHO_N "(cached) $ECHO_C" >&6
13114 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13115 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13117 # Is the header compilable?
13118 echo "$as_me:$LINENO: checking $ac_header usability" >&5
13119 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
13120 cat >conftest.
$ac_ext <<_ACEOF
13123 cat confdefs.h
>>conftest.
$ac_ext
13124 cat >>conftest.
$ac_ext <<_ACEOF
13125 /* end confdefs.h. */
13126 $ac_includes_default
13127 #include <$ac_header>
13129 rm -f conftest.
$ac_objext
13130 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13131 (eval $ac_compile) 2>conftest.er1
13133 grep -v '^ *+' conftest.er1
>conftest.err
13135 cat conftest.err
>&5
13136 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13137 (exit $ac_status); } &&
13138 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13139 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13140 (eval $ac_try) 2>&5
13142 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13143 (exit $ac_status); }; } &&
13144 { ac_try
='test -s conftest.$ac_objext'
13145 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13146 (eval $ac_try) 2>&5
13148 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13149 (exit $ac_status); }; }; then
13150 ac_header_compiler
=yes
13152 echo "$as_me: failed program was:" >&5
13153 sed 's/^/| /' conftest.
$ac_ext >&5
13155 ac_header_compiler
=no
13157 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13158 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
13159 echo "${ECHO_T}$ac_header_compiler" >&6
13161 # Is the header present?
13162 echo "$as_me:$LINENO: checking $ac_header presence" >&5
13163 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
13164 cat >conftest.
$ac_ext <<_ACEOF
13167 cat confdefs.h
>>conftest.
$ac_ext
13168 cat >>conftest.
$ac_ext <<_ACEOF
13169 /* end confdefs.h. */
13170 #include <$ac_header>
13172 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
13173 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
13175 grep -v '^ *+' conftest.er1
>conftest.err
13177 cat conftest.err
>&5
13178 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13179 (exit $ac_status); } >/dev
/null
; then
13180 if test -s conftest.err
; then
13181 ac_cpp_err
=$ac_c_preproc_warn_flag
13182 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
13189 if test -z "$ac_cpp_err"; then
13190 ac_header_preproc
=yes
13192 echo "$as_me: failed program was:" >&5
13193 sed 's/^/| /' conftest.
$ac_ext >&5
13195 ac_header_preproc
=no
13197 rm -f conftest.err conftest.
$ac_ext
13198 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
13199 echo "${ECHO_T}$ac_header_preproc" >&6
13201 # So? What about this header?
13202 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
13204 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
13205 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
13206 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
13207 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
13208 ac_header_preproc
=yes
13211 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
13212 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
13213 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
13214 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
13215 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
13216 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
13217 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
13218 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
13219 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
13220 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
13221 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
13222 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
13225 ## ----------------------------------------- ##
13226 ## Report this to wx-dev@lists.wxwindows.org ##
13227 ## ----------------------------------------- ##
13230 sed "s/^/$as_me: WARNING: /" >&2
13233 echo "$as_me:$LINENO: checking for $ac_header" >&5
13234 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13235 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13236 echo $ECHO_N "(cached) $ECHO_C" >&6
13238 eval "$as_ac_Header=\$ac_header_preproc"
13240 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13241 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13244 if test `eval echo '${'$as_ac_Header'}'` = yes; then
13245 cat >>confdefs.h
<<_ACEOF
13246 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
13254 if test "$ac_cv_header_wchar_h" != "yes"; then
13256 for ac_header
in wcstr.h
13258 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
13259 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13260 echo "$as_me:$LINENO: checking for $ac_header" >&5
13261 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13262 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13263 echo $ECHO_N "(cached) $ECHO_C" >&6
13265 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13266 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13268 # Is the header compilable?
13269 echo "$as_me:$LINENO: checking $ac_header usability" >&5
13270 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
13271 cat >conftest.
$ac_ext <<_ACEOF
13274 cat confdefs.h
>>conftest.
$ac_ext
13275 cat >>conftest.
$ac_ext <<_ACEOF
13276 /* end confdefs.h. */
13277 $ac_includes_default
13278 #include <$ac_header>
13280 rm -f conftest.
$ac_objext
13281 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13282 (eval $ac_compile) 2>conftest.er1
13284 grep -v '^ *+' conftest.er1
>conftest.err
13286 cat conftest.err
>&5
13287 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13288 (exit $ac_status); } &&
13289 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13290 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13291 (eval $ac_try) 2>&5
13293 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13294 (exit $ac_status); }; } &&
13295 { ac_try
='test -s conftest.$ac_objext'
13296 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13297 (eval $ac_try) 2>&5
13299 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13300 (exit $ac_status); }; }; then
13301 ac_header_compiler
=yes
13303 echo "$as_me: failed program was:" >&5
13304 sed 's/^/| /' conftest.
$ac_ext >&5
13306 ac_header_compiler
=no
13308 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13309 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
13310 echo "${ECHO_T}$ac_header_compiler" >&6
13312 # Is the header present?
13313 echo "$as_me:$LINENO: checking $ac_header presence" >&5
13314 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
13315 cat >conftest.
$ac_ext <<_ACEOF
13318 cat confdefs.h
>>conftest.
$ac_ext
13319 cat >>conftest.
$ac_ext <<_ACEOF
13320 /* end confdefs.h. */
13321 #include <$ac_header>
13323 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
13324 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
13326 grep -v '^ *+' conftest.er1
>conftest.err
13328 cat conftest.err
>&5
13329 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13330 (exit $ac_status); } >/dev
/null
; then
13331 if test -s conftest.err
; then
13332 ac_cpp_err
=$ac_c_preproc_warn_flag
13333 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
13340 if test -z "$ac_cpp_err"; then
13341 ac_header_preproc
=yes
13343 echo "$as_me: failed program was:" >&5
13344 sed 's/^/| /' conftest.
$ac_ext >&5
13346 ac_header_preproc
=no
13348 rm -f conftest.err conftest.
$ac_ext
13349 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
13350 echo "${ECHO_T}$ac_header_preproc" >&6
13352 # So? What about this header?
13353 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
13355 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
13356 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
13357 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
13358 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
13359 ac_header_preproc
=yes
13362 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
13363 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
13364 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
13365 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
13366 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
13367 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
13368 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
13369 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
13370 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
13371 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
13372 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
13373 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
13376 ## ----------------------------------------- ##
13377 ## Report this to wx-dev@lists.wxwindows.org ##
13378 ## ----------------------------------------- ##
13381 sed "s/^/$as_me: WARNING: /" >&2
13384 echo "$as_me:$LINENO: checking for $ac_header" >&5
13385 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13386 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13387 echo $ECHO_N "(cached) $ECHO_C" >&6
13389 eval "$as_ac_Header=\$ac_header_preproc"
13391 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13392 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13395 if test `eval echo '${'$as_ac_Header'}'` = yes; then
13396 cat >>confdefs.h
<<_ACEOF
13397 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
13407 for ac_header
in fnmatch.h
13409 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
13410 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13411 echo "$as_me:$LINENO: checking for $ac_header" >&5
13412 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13413 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13414 echo $ECHO_N "(cached) $ECHO_C" >&6
13416 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13417 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13419 # Is the header compilable?
13420 echo "$as_me:$LINENO: checking $ac_header usability" >&5
13421 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
13422 cat >conftest.
$ac_ext <<_ACEOF
13425 cat confdefs.h
>>conftest.
$ac_ext
13426 cat >>conftest.
$ac_ext <<_ACEOF
13427 /* end confdefs.h. */
13428 $ac_includes_default
13429 #include <$ac_header>
13431 rm -f conftest.
$ac_objext
13432 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13433 (eval $ac_compile) 2>conftest.er1
13435 grep -v '^ *+' conftest.er1
>conftest.err
13437 cat conftest.err
>&5
13438 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13439 (exit $ac_status); } &&
13440 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13441 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13442 (eval $ac_try) 2>&5
13444 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13445 (exit $ac_status); }; } &&
13446 { ac_try
='test -s conftest.$ac_objext'
13447 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13448 (eval $ac_try) 2>&5
13450 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13451 (exit $ac_status); }; }; then
13452 ac_header_compiler
=yes
13454 echo "$as_me: failed program was:" >&5
13455 sed 's/^/| /' conftest.
$ac_ext >&5
13457 ac_header_compiler
=no
13459 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13460 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
13461 echo "${ECHO_T}$ac_header_compiler" >&6
13463 # Is the header present?
13464 echo "$as_me:$LINENO: checking $ac_header presence" >&5
13465 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
13466 cat >conftest.
$ac_ext <<_ACEOF
13469 cat confdefs.h
>>conftest.
$ac_ext
13470 cat >>conftest.
$ac_ext <<_ACEOF
13471 /* end confdefs.h. */
13472 #include <$ac_header>
13474 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
13475 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
13477 grep -v '^ *+' conftest.er1
>conftest.err
13479 cat conftest.err
>&5
13480 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13481 (exit $ac_status); } >/dev
/null
; then
13482 if test -s conftest.err
; then
13483 ac_cpp_err
=$ac_c_preproc_warn_flag
13484 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
13491 if test -z "$ac_cpp_err"; then
13492 ac_header_preproc
=yes
13494 echo "$as_me: failed program was:" >&5
13495 sed 's/^/| /' conftest.
$ac_ext >&5
13497 ac_header_preproc
=no
13499 rm -f conftest.err conftest.
$ac_ext
13500 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
13501 echo "${ECHO_T}$ac_header_preproc" >&6
13503 # So? What about this header?
13504 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
13506 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
13507 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
13508 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
13509 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
13510 ac_header_preproc
=yes
13513 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
13514 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
13515 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
13516 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
13517 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
13518 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
13519 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
13520 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
13521 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
13522 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
13523 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
13524 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
13527 ## ----------------------------------------- ##
13528 ## Report this to wx-dev@lists.wxwindows.org ##
13529 ## ----------------------------------------- ##
13532 sed "s/^/$as_me: WARNING: /" >&2
13535 echo "$as_me:$LINENO: checking for $ac_header" >&5
13536 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13537 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13538 echo $ECHO_N "(cached) $ECHO_C" >&6
13540 eval "$as_ac_Header=\$ac_header_preproc"
13542 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13543 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13546 if test `eval echo '${'$as_ac_Header'}'` = yes; then
13547 cat >>confdefs.h
<<_ACEOF
13548 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
13556 if test "x$ac_cv_header_fnmatch_h" = "xyes"; then
13558 for ac_func
in fnmatch
13560 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
13561 echo "$as_me:$LINENO: checking for $ac_func" >&5
13562 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
13563 if eval "test \"\${$as_ac_var+set}\" = set"; then
13564 echo $ECHO_N "(cached) $ECHO_C" >&6
13566 cat >conftest.
$ac_ext <<_ACEOF
13569 cat confdefs.h
>>conftest.
$ac_ext
13570 cat >>conftest.
$ac_ext <<_ACEOF
13571 /* end confdefs.h. */
13572 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
13573 For example, HP-UX 11i <limits.h> declares gettimeofday. */
13574 #define $ac_func innocuous_$ac_func
13576 /* System header to define __stub macros and hopefully few prototypes,
13577 which can conflict with char $ac_func (); below.
13578 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13579 <limits.h> exists even on freestanding compilers. */
13582 # include <limits.h>
13584 # include <assert.h>
13589 /* Override any gcc2 internal prototype to avoid an error. */
13594 /* We use char because int might match the return type of a gcc2
13595 builtin and then its argument prototype would still apply. */
13597 /* The GNU C library defines this for functions which it implements
13598 to always fail with ENOSYS. Some functions are actually named
13599 something starting with __ and the normal name is an alias. */
13600 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13603 char (*f) () = $ac_func;
13612 return f != $ac_func;
13617 rm -f conftest.
$ac_objext conftest
$ac_exeext
13618 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13619 (eval $ac_link) 2>conftest.er1
13621 grep -v '^ *+' conftest.er1
>conftest.err
13623 cat conftest.err
>&5
13624 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13625 (exit $ac_status); } &&
13626 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13627 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13628 (eval $ac_try) 2>&5
13630 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13631 (exit $ac_status); }; } &&
13632 { ac_try
='test -s conftest$ac_exeext'
13633 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13634 (eval $ac_try) 2>&5
13636 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13637 (exit $ac_status); }; }; then
13638 eval "$as_ac_var=yes"
13640 echo "$as_me: failed program was:" >&5
13641 sed 's/^/| /' conftest.
$ac_ext >&5
13643 eval "$as_ac_var=no"
13645 rm -f conftest.err conftest.
$ac_objext \
13646 conftest
$ac_exeext conftest.
$ac_ext
13648 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
13649 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
13650 if test `eval echo '${'$as_ac_var'}'` = yes; then
13651 cat >>confdefs.h
<<_ACEOF
13652 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
13661 for ac_header
in langinfo.h
13663 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
13664 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13665 echo "$as_me:$LINENO: checking for $ac_header" >&5
13666 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13667 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13668 echo $ECHO_N "(cached) $ECHO_C" >&6
13670 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13671 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13673 # Is the header compilable?
13674 echo "$as_me:$LINENO: checking $ac_header usability" >&5
13675 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
13676 cat >conftest.
$ac_ext <<_ACEOF
13679 cat confdefs.h
>>conftest.
$ac_ext
13680 cat >>conftest.
$ac_ext <<_ACEOF
13681 /* end confdefs.h. */
13682 $ac_includes_default
13683 #include <$ac_header>
13685 rm -f conftest.
$ac_objext
13686 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13687 (eval $ac_compile) 2>conftest.er1
13689 grep -v '^ *+' conftest.er1
>conftest.err
13691 cat conftest.err
>&5
13692 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13693 (exit $ac_status); } &&
13694 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13695 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13696 (eval $ac_try) 2>&5
13698 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13699 (exit $ac_status); }; } &&
13700 { ac_try
='test -s conftest.$ac_objext'
13701 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13702 (eval $ac_try) 2>&5
13704 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13705 (exit $ac_status); }; }; then
13706 ac_header_compiler
=yes
13708 echo "$as_me: failed program was:" >&5
13709 sed 's/^/| /' conftest.
$ac_ext >&5
13711 ac_header_compiler
=no
13713 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13714 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
13715 echo "${ECHO_T}$ac_header_compiler" >&6
13717 # Is the header present?
13718 echo "$as_me:$LINENO: checking $ac_header presence" >&5
13719 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
13720 cat >conftest.
$ac_ext <<_ACEOF
13723 cat confdefs.h
>>conftest.
$ac_ext
13724 cat >>conftest.
$ac_ext <<_ACEOF
13725 /* end confdefs.h. */
13726 #include <$ac_header>
13728 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
13729 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
13731 grep -v '^ *+' conftest.er1
>conftest.err
13733 cat conftest.err
>&5
13734 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13735 (exit $ac_status); } >/dev
/null
; then
13736 if test -s conftest.err
; then
13737 ac_cpp_err
=$ac_c_preproc_warn_flag
13738 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
13745 if test -z "$ac_cpp_err"; then
13746 ac_header_preproc
=yes
13748 echo "$as_me: failed program was:" >&5
13749 sed 's/^/| /' conftest.
$ac_ext >&5
13751 ac_header_preproc
=no
13753 rm -f conftest.err conftest.
$ac_ext
13754 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
13755 echo "${ECHO_T}$ac_header_preproc" >&6
13757 # So? What about this header?
13758 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
13760 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
13761 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
13762 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
13763 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
13764 ac_header_preproc
=yes
13767 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
13768 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
13769 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
13770 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
13771 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
13772 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
13773 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
13774 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
13775 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
13776 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
13777 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
13778 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
13781 ## ----------------------------------------- ##
13782 ## Report this to wx-dev@lists.wxwindows.org ##
13783 ## ----------------------------------------- ##
13786 sed "s/^/$as_me: WARNING: /" >&2
13789 echo "$as_me:$LINENO: checking for $ac_header" >&5
13790 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13791 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13792 echo $ECHO_N "(cached) $ECHO_C" >&6
13794 eval "$as_ac_Header=\$ac_header_preproc"
13796 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13797 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13800 if test `eval echo '${'$as_ac_Header'}'` = yes; then
13801 cat >>confdefs.h
<<_ACEOF
13802 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
13811 *-pc-os2_emx | *-pc-os2-emx )
13812 if test $ac_cv_header_langinfo_h = "yes"; then
13813 LIBS
="$LIBS -lintl"
13818 if test "$wxUSE_GUI" = "yes"; then
13819 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_PM" != 1; then
13821 for ac_header
in X
11/Xlib.h
13823 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
13824 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13825 echo "$as_me:$LINENO: checking for $ac_header" >&5
13826 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13827 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13828 echo $ECHO_N "(cached) $ECHO_C" >&6
13830 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13831 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13833 # Is the header compilable?
13834 echo "$as_me:$LINENO: checking $ac_header usability" >&5
13835 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
13836 cat >conftest.
$ac_ext <<_ACEOF
13839 cat confdefs.h
>>conftest.
$ac_ext
13840 cat >>conftest.
$ac_ext <<_ACEOF
13841 /* end confdefs.h. */
13842 $ac_includes_default
13843 #include <$ac_header>
13845 rm -f conftest.
$ac_objext
13846 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13847 (eval $ac_compile) 2>conftest.er1
13849 grep -v '^ *+' conftest.er1
>conftest.err
13851 cat conftest.err
>&5
13852 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13853 (exit $ac_status); } &&
13854 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13855 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13856 (eval $ac_try) 2>&5
13858 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13859 (exit $ac_status); }; } &&
13860 { ac_try
='test -s conftest.$ac_objext'
13861 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13862 (eval $ac_try) 2>&5
13864 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13865 (exit $ac_status); }; }; then
13866 ac_header_compiler
=yes
13868 echo "$as_me: failed program was:" >&5
13869 sed 's/^/| /' conftest.
$ac_ext >&5
13871 ac_header_compiler
=no
13873 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13874 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
13875 echo "${ECHO_T}$ac_header_compiler" >&6
13877 # Is the header present?
13878 echo "$as_me:$LINENO: checking $ac_header presence" >&5
13879 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
13880 cat >conftest.
$ac_ext <<_ACEOF
13883 cat confdefs.h
>>conftest.
$ac_ext
13884 cat >>conftest.
$ac_ext <<_ACEOF
13885 /* end confdefs.h. */
13886 #include <$ac_header>
13888 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
13889 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
13891 grep -v '^ *+' conftest.er1
>conftest.err
13893 cat conftest.err
>&5
13894 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13895 (exit $ac_status); } >/dev
/null
; then
13896 if test -s conftest.err
; then
13897 ac_cpp_err
=$ac_c_preproc_warn_flag
13898 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
13905 if test -z "$ac_cpp_err"; then
13906 ac_header_preproc
=yes
13908 echo "$as_me: failed program was:" >&5
13909 sed 's/^/| /' conftest.
$ac_ext >&5
13911 ac_header_preproc
=no
13913 rm -f conftest.err conftest.
$ac_ext
13914 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
13915 echo "${ECHO_T}$ac_header_preproc" >&6
13917 # So? What about this header?
13918 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
13920 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
13921 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
13922 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
13923 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
13924 ac_header_preproc
=yes
13927 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
13928 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
13929 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
13930 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
13931 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
13932 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
13933 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
13934 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
13935 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
13936 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
13937 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
13938 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
13941 ## ----------------------------------------- ##
13942 ## Report this to wx-dev@lists.wxwindows.org ##
13943 ## ----------------------------------------- ##
13946 sed "s/^/$as_me: WARNING: /" >&2
13949 echo "$as_me:$LINENO: checking for $ac_header" >&5
13950 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13951 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13952 echo $ECHO_N "(cached) $ECHO_C" >&6
13954 eval "$as_ac_Header=\$ac_header_preproc"
13956 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13957 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13960 if test `eval echo '${'$as_ac_Header'}'` = yes; then
13961 cat >>confdefs.h
<<_ACEOF
13962 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
13970 for ac_header
in X
11/XKBlib.h
13972 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
13973 echo "$as_me:$LINENO: checking for $ac_header" >&5
13974 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13975 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13976 echo $ECHO_N "(cached) $ECHO_C" >&6
13978 cat >conftest.
$ac_ext <<_ACEOF
13981 cat confdefs.h
>>conftest.
$ac_ext
13982 cat >>conftest.
$ac_ext <<_ACEOF
13983 /* end confdefs.h. */
13985 #if HAVE_X11_XLIB_H
13986 #include <X11/Xlib.h>
13990 #include <$ac_header>
13992 rm -f conftest.
$ac_objext
13993 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13994 (eval $ac_compile) 2>conftest.er1
13996 grep -v '^ *+' conftest.er1
>conftest.err
13998 cat conftest.err
>&5
13999 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14000 (exit $ac_status); } &&
14001 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14002 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14003 (eval $ac_try) 2>&5
14005 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14006 (exit $ac_status); }; } &&
14007 { ac_try
='test -s conftest.$ac_objext'
14008 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14009 (eval $ac_try) 2>&5
14011 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14012 (exit $ac_status); }; }; then
14013 eval "$as_ac_Header=yes"
14015 echo "$as_me: failed program was:" >&5
14016 sed 's/^/| /' conftest.
$ac_ext >&5
14018 eval "$as_ac_Header=no"
14020 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14022 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
14023 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
14024 if test `eval echo '${'$as_ac_Header'}'` = yes; then
14025 cat >>confdefs.h
<<_ACEOF
14026 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
14037 echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
14038 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6
14039 if test "${ac_cv_c_const+set}" = set; then
14040 echo $ECHO_N "(cached) $ECHO_C" >&6
14042 cat >conftest.
$ac_ext <<_ACEOF
14045 cat confdefs.h
>>conftest.
$ac_ext
14046 cat >>conftest.
$ac_ext <<_ACEOF
14047 /* end confdefs.h. */
14052 /* FIXME: Include the comments suggested by Paul. */
14053 #ifndef __cplusplus
14054 /* Ultrix mips cc rejects this. */
14055 typedef int charset[2];
14057 /* SunOS 4.1.1 cc rejects this. */
14058 char const *const *ccp;
14060 /* NEC SVR4.0.2 mips cc rejects this. */
14061 struct point {int x, y;};
14062 static struct point const zero = {0,0};
14063 /* AIX XL C 1.02.0.0 rejects this.
14064 It does not let you subtract one const X* pointer from another in
14065 an arm of an if-expression whose if-part is not a constant
14067 const char *g = "string";
14068 ccp = &g + (g ? g-g : 0);
14069 /* HPUX 7.0 cc rejects these. */
14072 ccp = (char const *const *) p;
14073 { /* SCO 3.2v4 cc rejects this. */
14075 char const *s = 0 ? (char *) 0 : (char const *) 0;
14079 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
14080 int x[] = {25, 17};
14081 const int *foo = &x[0];
14084 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
14085 typedef const int *iptr;
14089 { /* AIX XL C 1.02.0.0 rejects this saying
14090 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
14091 struct s { int j; const int *ap[3]; };
14092 struct s *b; b->j = 5;
14094 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
14095 const int foo = 10;
14103 rm -f conftest.
$ac_objext
14104 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14105 (eval $ac_compile) 2>conftest.er1
14107 grep -v '^ *+' conftest.er1
>conftest.err
14109 cat conftest.err
>&5
14110 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14111 (exit $ac_status); } &&
14112 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14113 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14114 (eval $ac_try) 2>&5
14116 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14117 (exit $ac_status); }; } &&
14118 { ac_try
='test -s conftest.$ac_objext'
14119 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14120 (eval $ac_try) 2>&5
14122 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14123 (exit $ac_status); }; }; then
14126 echo "$as_me: failed program was:" >&5
14127 sed 's/^/| /' conftest.
$ac_ext >&5
14131 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14133 echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
14134 echo "${ECHO_T}$ac_cv_c_const" >&6
14135 if test $ac_cv_c_const = no
; then
14137 cat >>confdefs.h
<<\_ACEOF
14143 echo "$as_me:$LINENO: checking for inline" >&5
14144 echo $ECHO_N "checking for inline... $ECHO_C" >&6
14145 if test "${ac_cv_c_inline+set}" = set; then
14146 echo $ECHO_N "(cached) $ECHO_C" >&6
14149 for ac_kw
in inline __inline__ __inline
; do
14150 cat >conftest.
$ac_ext <<_ACEOF
14153 cat confdefs.h
>>conftest.
$ac_ext
14154 cat >>conftest.
$ac_ext <<_ACEOF
14155 /* end confdefs.h. */
14156 #ifndef __cplusplus
14158 static $ac_kw foo_t static_foo () {return 0; }
14159 $ac_kw foo_t foo () {return 0; }
14163 rm -f conftest.
$ac_objext
14164 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14165 (eval $ac_compile) 2>conftest.er1
14167 grep -v '^ *+' conftest.er1
>conftest.err
14169 cat conftest.err
>&5
14170 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14171 (exit $ac_status); } &&
14172 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14173 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14174 (eval $ac_try) 2>&5
14176 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14177 (exit $ac_status); }; } &&
14178 { ac_try
='test -s conftest.$ac_objext'
14179 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14180 (eval $ac_try) 2>&5
14182 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14183 (exit $ac_status); }; }; then
14184 ac_cv_c_inline
=$ac_kw; break
14186 echo "$as_me: failed program was:" >&5
14187 sed 's/^/| /' conftest.
$ac_ext >&5
14190 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14194 echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
14195 echo "${ECHO_T}$ac_cv_c_inline" >&6
14198 case $ac_cv_c_inline in
14201 case $ac_cv_c_inline in
14203 *) ac_val
=$ac_cv_c_inline;;
14205 cat >>confdefs.h
<<_ACEOF
14206 #ifndef __cplusplus
14207 #define inline $ac_val
14214 echo "$as_me:$LINENO: checking for char" >&5
14215 echo $ECHO_N "checking for char... $ECHO_C" >&6
14216 if test "${ac_cv_type_char+set}" = set; then
14217 echo $ECHO_N "(cached) $ECHO_C" >&6
14219 cat >conftest.
$ac_ext <<_ACEOF
14222 cat confdefs.h
>>conftest.
$ac_ext
14223 cat >>conftest.
$ac_ext <<_ACEOF
14224 /* end confdefs.h. */
14225 $ac_includes_default
14237 rm -f conftest.
$ac_objext
14238 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14239 (eval $ac_compile) 2>conftest.er1
14241 grep -v '^ *+' conftest.er1
>conftest.err
14243 cat conftest.err
>&5
14244 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14245 (exit $ac_status); } &&
14246 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14247 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14248 (eval $ac_try) 2>&5
14250 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14251 (exit $ac_status); }; } &&
14252 { ac_try
='test -s conftest.$ac_objext'
14253 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14254 (eval $ac_try) 2>&5
14256 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14257 (exit $ac_status); }; }; then
14258 ac_cv_type_char
=yes
14260 echo "$as_me: failed program was:" >&5
14261 sed 's/^/| /' conftest.
$ac_ext >&5
14265 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14267 echo "$as_me:$LINENO: result: $ac_cv_type_char" >&5
14268 echo "${ECHO_T}$ac_cv_type_char" >&6
14270 echo "$as_me:$LINENO: checking size of char" >&5
14271 echo $ECHO_N "checking size of char... $ECHO_C" >&6
14272 if test "${ac_cv_sizeof_char+set}" = set; then
14273 echo $ECHO_N "(cached) $ECHO_C" >&6
14275 if test "$ac_cv_type_char" = yes; then
14276 # The cast to unsigned long works around a bug in the HP C Compiler
14277 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
14278 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
14279 # This bug is HP SR number 8606223364.
14280 if test "$cross_compiling" = yes; then
14281 # Depending upon the size, compute the lo and hi bounds.
14282 cat >conftest.
$ac_ext <<_ACEOF
14285 cat confdefs.h
>>conftest.
$ac_ext
14286 cat >>conftest.
$ac_ext <<_ACEOF
14287 /* end confdefs.h. */
14288 $ac_includes_default
14292 static int test_array [1 - 2 * !(((long) (sizeof (char))) >= 0)];
14299 rm -f conftest.
$ac_objext
14300 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14301 (eval $ac_compile) 2>conftest.er1
14303 grep -v '^ *+' conftest.er1
>conftest.err
14305 cat conftest.err
>&5
14306 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14307 (exit $ac_status); } &&
14308 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
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); }; } &&
14314 { ac_try
='test -s conftest.$ac_objext'
14315 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14316 (eval $ac_try) 2>&5
14318 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14319 (exit $ac_status); }; }; then
14322 cat >conftest.
$ac_ext <<_ACEOF
14325 cat confdefs.h
>>conftest.
$ac_ext
14326 cat >>conftest.
$ac_ext <<_ACEOF
14327 /* end confdefs.h. */
14328 $ac_includes_default
14332 static int test_array [1 - 2 * !(((long) (sizeof (char))) <= $ac_mid)];
14339 rm -f conftest.
$ac_objext
14340 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14341 (eval $ac_compile) 2>conftest.er1
14343 grep -v '^ *+' conftest.er1
>conftest.err
14345 cat conftest.err
>&5
14346 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14347 (exit $ac_status); } &&
14348 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14349 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14350 (eval $ac_try) 2>&5
14352 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14353 (exit $ac_status); }; } &&
14354 { ac_try
='test -s conftest.$ac_objext'
14355 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14356 (eval $ac_try) 2>&5
14358 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14359 (exit $ac_status); }; }; then
14360 ac_hi
=$ac_mid; break
14362 echo "$as_me: failed program was:" >&5
14363 sed 's/^/| /' conftest.
$ac_ext >&5
14365 ac_lo
=`expr $ac_mid + 1`
14366 if test $ac_lo -le $ac_mid; then
14370 ac_mid
=`expr 2 '*' $ac_mid + 1`
14372 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14375 echo "$as_me: failed program was:" >&5
14376 sed 's/^/| /' conftest.
$ac_ext >&5
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))) < 0)];
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
14418 cat >conftest.
$ac_ext <<_ACEOF
14421 cat confdefs.h
>>conftest.
$ac_ext
14422 cat >>conftest.
$ac_ext <<_ACEOF
14423 /* end confdefs.h. */
14424 $ac_includes_default
14428 static int test_array [1 - 2 * !(((long) (sizeof (char))) >= $ac_mid)];
14435 rm -f conftest.
$ac_objext
14436 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14437 (eval $ac_compile) 2>conftest.er1
14439 grep -v '^ *+' conftest.er1
>conftest.err
14441 cat conftest.err
>&5
14442 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14443 (exit $ac_status); } &&
14444 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14445 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14446 (eval $ac_try) 2>&5
14448 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14449 (exit $ac_status); }; } &&
14450 { ac_try
='test -s conftest.$ac_objext'
14451 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14452 (eval $ac_try) 2>&5
14454 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14455 (exit $ac_status); }; }; then
14456 ac_lo
=$ac_mid; break
14458 echo "$as_me: failed program was:" >&5
14459 sed 's/^/| /' conftest.
$ac_ext >&5
14461 ac_hi
=`expr '(' $ac_mid ')' - 1`
14462 if test $ac_mid -le $ac_hi; then
14466 ac_mid
=`expr 2 '*' $ac_mid`
14468 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14471 echo "$as_me: failed program was:" >&5
14472 sed 's/^/| /' conftest.
$ac_ext >&5
14476 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14478 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14479 # Binary search between lo and hi bounds.
14480 while test "x$ac_lo" != "x$ac_hi"; do
14481 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
14482 cat >conftest.
$ac_ext <<_ACEOF
14485 cat confdefs.h
>>conftest.
$ac_ext
14486 cat >>conftest.
$ac_ext <<_ACEOF
14487 /* end confdefs.h. */
14488 $ac_includes_default
14492 static int test_array [1 - 2 * !(((long) (sizeof (char))) <= $ac_mid)];
14499 rm -f conftest.
$ac_objext
14500 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14501 (eval $ac_compile) 2>conftest.er1
14503 grep -v '^ *+' conftest.er1
>conftest.err
14505 cat conftest.err
>&5
14506 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14507 (exit $ac_status); } &&
14508 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14509 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14510 (eval $ac_try) 2>&5
14512 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14513 (exit $ac_status); }; } &&
14514 { ac_try
='test -s conftest.$ac_objext'
14515 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14516 (eval $ac_try) 2>&5
14518 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14519 (exit $ac_status); }; }; then
14522 echo "$as_me: failed program was:" >&5
14523 sed 's/^/| /' conftest.
$ac_ext >&5
14525 ac_lo
=`expr '(' $ac_mid ')' + 1`
14527 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14530 ?
*) ac_cv_sizeof_char
=$ac_lo;;
14531 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (char), 77
14532 See \`config.log' for more details." >&5
14533 echo "$as_me: error: cannot compute sizeof (char), 77
14534 See \`config.log' for more details." >&2;}
14535 { (exit 1); exit 1; }; } ;;
14538 if test "$cross_compiling" = yes; then
14539 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
14540 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
14541 { (exit 1); exit 1; }; }
14543 cat >conftest.
$ac_ext <<_ACEOF
14546 cat confdefs.h
>>conftest.
$ac_ext
14547 cat >>conftest.
$ac_ext <<_ACEOF
14548 /* end confdefs.h. */
14549 $ac_includes_default
14550 long longval () { return (long) (sizeof (char)); }
14551 unsigned long ulongval () { return (long) (sizeof (char)); }
14553 #include <stdlib.h>
14558 FILE *f = fopen ("conftest.val", "w");
14561 if (((long) (sizeof (char))) < 0)
14563 long i = longval ();
14564 if (i != ((long) (sizeof (char))))
14566 fprintf (f, "%ld\n", i);
14570 unsigned long i = ulongval ();
14571 if (i != ((long) (sizeof (char))))
14573 fprintf (f, "%lu\n", i);
14575 exit (ferror (f) || fclose (f) != 0);
14581 rm -f conftest
$ac_exeext
14582 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14583 (eval $ac_link) 2>&5
14585 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14586 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
14587 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14588 (eval $ac_try) 2>&5
14590 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14591 (exit $ac_status); }; }; then
14592 ac_cv_sizeof_char
=`cat conftest.val`
14594 echo "$as_me: program exited with status $ac_status" >&5
14595 echo "$as_me: failed program was:" >&5
14596 sed 's/^/| /' conftest.
$ac_ext >&5
14598 ( exit $ac_status )
14599 { { echo "$as_me:$LINENO: error: cannot compute sizeof (char), 77
14600 See \`config.log' for more details." >&5
14601 echo "$as_me: error: cannot compute sizeof (char), 77
14602 See \`config.log' for more details." >&2;}
14603 { (exit 1); exit 1; }; }
14605 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
14610 ac_cv_sizeof_char
=0
14613 echo "$as_me:$LINENO: result: $ac_cv_sizeof_char" >&5
14614 echo "${ECHO_T}$ac_cv_sizeof_char" >&6
14615 cat >>confdefs.h
<<_ACEOF
14616 #define SIZEOF_CHAR $ac_cv_sizeof_char
14620 echo "$as_me:$LINENO: checking for short" >&5
14621 echo $ECHO_N "checking for short... $ECHO_C" >&6
14622 if test "${ac_cv_type_short+set}" = set; then
14623 echo $ECHO_N "(cached) $ECHO_C" >&6
14625 cat >conftest.
$ac_ext <<_ACEOF
14628 cat confdefs.h
>>conftest.
$ac_ext
14629 cat >>conftest.
$ac_ext <<_ACEOF
14630 /* end confdefs.h. */
14631 $ac_includes_default
14637 if (sizeof (short))
14643 rm -f conftest.
$ac_objext
14644 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14645 (eval $ac_compile) 2>conftest.er1
14647 grep -v '^ *+' conftest.er1
>conftest.err
14649 cat conftest.err
>&5
14650 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14651 (exit $ac_status); } &&
14652 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14653 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14654 (eval $ac_try) 2>&5
14656 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14657 (exit $ac_status); }; } &&
14658 { ac_try
='test -s conftest.$ac_objext'
14659 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14660 (eval $ac_try) 2>&5
14662 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14663 (exit $ac_status); }; }; then
14664 ac_cv_type_short
=yes
14666 echo "$as_me: failed program was:" >&5
14667 sed 's/^/| /' conftest.
$ac_ext >&5
14669 ac_cv_type_short
=no
14671 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14673 echo "$as_me:$LINENO: result: $ac_cv_type_short" >&5
14674 echo "${ECHO_T}$ac_cv_type_short" >&6
14676 echo "$as_me:$LINENO: checking size of short" >&5
14677 echo $ECHO_N "checking size of short... $ECHO_C" >&6
14678 if test "${ac_cv_sizeof_short+set}" = set; then
14679 echo $ECHO_N "(cached) $ECHO_C" >&6
14681 if test "$ac_cv_type_short" = yes; then
14682 # The cast to unsigned long works around a bug in the HP C Compiler
14683 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
14684 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
14685 # This bug is HP SR number 8606223364.
14686 if test "$cross_compiling" = yes; then
14687 # Depending upon the size, compute the lo and hi bounds.
14688 cat >conftest.
$ac_ext <<_ACEOF
14691 cat confdefs.h
>>conftest.
$ac_ext
14692 cat >>conftest.
$ac_ext <<_ACEOF
14693 /* end confdefs.h. */
14694 $ac_includes_default
14698 static int test_array [1 - 2 * !(((long) (sizeof (short))) >= 0)];
14705 rm -f conftest.
$ac_objext
14706 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14707 (eval $ac_compile) 2>conftest.er1
14709 grep -v '^ *+' conftest.er1
>conftest.err
14711 cat conftest.err
>&5
14712 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14713 (exit $ac_status); } &&
14714 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14715 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14716 (eval $ac_try) 2>&5
14718 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14719 (exit $ac_status); }; } &&
14720 { ac_try
='test -s conftest.$ac_objext'
14721 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14722 (eval $ac_try) 2>&5
14724 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14725 (exit $ac_status); }; }; then
14728 cat >conftest.
$ac_ext <<_ACEOF
14731 cat confdefs.h
>>conftest.
$ac_ext
14732 cat >>conftest.
$ac_ext <<_ACEOF
14733 /* end confdefs.h. */
14734 $ac_includes_default
14738 static int test_array [1 - 2 * !(((long) (sizeof (short))) <= $ac_mid)];
14745 rm -f conftest.
$ac_objext
14746 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14747 (eval $ac_compile) 2>conftest.er1
14749 grep -v '^ *+' conftest.er1
>conftest.err
14751 cat conftest.err
>&5
14752 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14753 (exit $ac_status); } &&
14754 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14755 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14756 (eval $ac_try) 2>&5
14758 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14759 (exit $ac_status); }; } &&
14760 { ac_try
='test -s conftest.$ac_objext'
14761 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14762 (eval $ac_try) 2>&5
14764 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14765 (exit $ac_status); }; }; then
14766 ac_hi
=$ac_mid; break
14768 echo "$as_me: failed program was:" >&5
14769 sed 's/^/| /' conftest.
$ac_ext >&5
14771 ac_lo
=`expr $ac_mid + 1`
14772 if test $ac_lo -le $ac_mid; then
14776 ac_mid
=`expr 2 '*' $ac_mid + 1`
14778 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14781 echo "$as_me: failed program was:" >&5
14782 sed 's/^/| /' conftest.
$ac_ext >&5
14784 cat >conftest.
$ac_ext <<_ACEOF
14787 cat confdefs.h
>>conftest.
$ac_ext
14788 cat >>conftest.
$ac_ext <<_ACEOF
14789 /* end confdefs.h. */
14790 $ac_includes_default
14794 static int test_array [1 - 2 * !(((long) (sizeof (short))) < 0)];
14801 rm -f conftest.
$ac_objext
14802 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14803 (eval $ac_compile) 2>conftest.er1
14805 grep -v '^ *+' conftest.er1
>conftest.err
14807 cat conftest.err
>&5
14808 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14809 (exit $ac_status); } &&
14810 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14811 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14812 (eval $ac_try) 2>&5
14814 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14815 (exit $ac_status); }; } &&
14816 { ac_try
='test -s conftest.$ac_objext'
14817 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14818 (eval $ac_try) 2>&5
14820 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14821 (exit $ac_status); }; }; then
14824 cat >conftest.
$ac_ext <<_ACEOF
14827 cat confdefs.h
>>conftest.
$ac_ext
14828 cat >>conftest.
$ac_ext <<_ACEOF
14829 /* end confdefs.h. */
14830 $ac_includes_default
14834 static int test_array [1 - 2 * !(((long) (sizeof (short))) >= $ac_mid)];
14841 rm -f conftest.
$ac_objext
14842 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14843 (eval $ac_compile) 2>conftest.er1
14845 grep -v '^ *+' conftest.er1
>conftest.err
14847 cat conftest.err
>&5
14848 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14849 (exit $ac_status); } &&
14850 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14851 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14852 (eval $ac_try) 2>&5
14854 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14855 (exit $ac_status); }; } &&
14856 { ac_try
='test -s conftest.$ac_objext'
14857 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14858 (eval $ac_try) 2>&5
14860 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14861 (exit $ac_status); }; }; then
14862 ac_lo
=$ac_mid; break
14864 echo "$as_me: failed program was:" >&5
14865 sed 's/^/| /' conftest.
$ac_ext >&5
14867 ac_hi
=`expr '(' $ac_mid ')' - 1`
14868 if test $ac_mid -le $ac_hi; then
14872 ac_mid
=`expr 2 '*' $ac_mid`
14874 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14877 echo "$as_me: failed program was:" >&5
14878 sed 's/^/| /' conftest.
$ac_ext >&5
14882 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14884 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14885 # Binary search between lo and hi bounds.
14886 while test "x$ac_lo" != "x$ac_hi"; do
14887 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
14888 cat >conftest.
$ac_ext <<_ACEOF
14891 cat confdefs.h
>>conftest.
$ac_ext
14892 cat >>conftest.
$ac_ext <<_ACEOF
14893 /* end confdefs.h. */
14894 $ac_includes_default
14898 static int test_array [1 - 2 * !(((long) (sizeof (short))) <= $ac_mid)];
14905 rm -f conftest.
$ac_objext
14906 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14907 (eval $ac_compile) 2>conftest.er1
14909 grep -v '^ *+' conftest.er1
>conftest.err
14911 cat conftest.err
>&5
14912 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14913 (exit $ac_status); } &&
14914 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14915 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14916 (eval $ac_try) 2>&5
14918 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14919 (exit $ac_status); }; } &&
14920 { ac_try
='test -s conftest.$ac_objext'
14921 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14922 (eval $ac_try) 2>&5
14924 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14925 (exit $ac_status); }; }; then
14928 echo "$as_me: failed program was:" >&5
14929 sed 's/^/| /' conftest.
$ac_ext >&5
14931 ac_lo
=`expr '(' $ac_mid ')' + 1`
14933 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14936 ?
*) ac_cv_sizeof_short
=$ac_lo;;
14937 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (short), 77
14938 See \`config.log' for more details." >&5
14939 echo "$as_me: error: cannot compute sizeof (short), 77
14940 See \`config.log' for more details." >&2;}
14941 { (exit 1); exit 1; }; } ;;
14944 if test "$cross_compiling" = yes; then
14945 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
14946 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
14947 { (exit 1); exit 1; }; }
14949 cat >conftest.
$ac_ext <<_ACEOF
14952 cat confdefs.h
>>conftest.
$ac_ext
14953 cat >>conftest.
$ac_ext <<_ACEOF
14954 /* end confdefs.h. */
14955 $ac_includes_default
14956 long longval () { return (long) (sizeof (short)); }
14957 unsigned long ulongval () { return (long) (sizeof (short)); }
14959 #include <stdlib.h>
14964 FILE *f = fopen ("conftest.val", "w");
14967 if (((long) (sizeof (short))) < 0)
14969 long i = longval ();
14970 if (i != ((long) (sizeof (short))))
14972 fprintf (f, "%ld\n", i);
14976 unsigned long i = ulongval ();
14977 if (i != ((long) (sizeof (short))))
14979 fprintf (f, "%lu\n", i);
14981 exit (ferror (f) || fclose (f) != 0);
14987 rm -f conftest
$ac_exeext
14988 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14989 (eval $ac_link) 2>&5
14991 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14992 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
14993 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14994 (eval $ac_try) 2>&5
14996 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14997 (exit $ac_status); }; }; then
14998 ac_cv_sizeof_short
=`cat conftest.val`
15000 echo "$as_me: program exited with status $ac_status" >&5
15001 echo "$as_me: failed program was:" >&5
15002 sed 's/^/| /' conftest.
$ac_ext >&5
15004 ( exit $ac_status )
15005 { { echo "$as_me:$LINENO: error: cannot compute sizeof (short), 77
15006 See \`config.log' for more details." >&5
15007 echo "$as_me: error: cannot compute sizeof (short), 77
15008 See \`config.log' for more details." >&2;}
15009 { (exit 1); exit 1; }; }
15011 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
15016 ac_cv_sizeof_short
=0
15019 echo "$as_me:$LINENO: result: $ac_cv_sizeof_short" >&5
15020 echo "${ECHO_T}$ac_cv_sizeof_short" >&6
15021 cat >>confdefs.h
<<_ACEOF
15022 #define SIZEOF_SHORT $ac_cv_sizeof_short
15026 echo "$as_me:$LINENO: checking for void *" >&5
15027 echo $ECHO_N "checking for void *... $ECHO_C" >&6
15028 if test "${ac_cv_type_void_p+set}" = set; then
15029 echo $ECHO_N "(cached) $ECHO_C" >&6
15031 cat >conftest.
$ac_ext <<_ACEOF
15034 cat confdefs.h
>>conftest.
$ac_ext
15035 cat >>conftest.
$ac_ext <<_ACEOF
15036 /* end confdefs.h. */
15037 $ac_includes_default
15043 if (sizeof (void *))
15049 rm -f conftest.
$ac_objext
15050 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15051 (eval $ac_compile) 2>conftest.er1
15053 grep -v '^ *+' conftest.er1
>conftest.err
15055 cat conftest.err
>&5
15056 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15057 (exit $ac_status); } &&
15058 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15059 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15060 (eval $ac_try) 2>&5
15062 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15063 (exit $ac_status); }; } &&
15064 { ac_try
='test -s conftest.$ac_objext'
15065 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15066 (eval $ac_try) 2>&5
15068 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15069 (exit $ac_status); }; }; then
15070 ac_cv_type_void_p
=yes
15072 echo "$as_me: failed program was:" >&5
15073 sed 's/^/| /' conftest.
$ac_ext >&5
15075 ac_cv_type_void_p
=no
15077 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15079 echo "$as_me:$LINENO: result: $ac_cv_type_void_p" >&5
15080 echo "${ECHO_T}$ac_cv_type_void_p" >&6
15082 echo "$as_me:$LINENO: checking size of void *" >&5
15083 echo $ECHO_N "checking size of void *... $ECHO_C" >&6
15084 if test "${ac_cv_sizeof_void_p+set}" = set; then
15085 echo $ECHO_N "(cached) $ECHO_C" >&6
15087 if test "$ac_cv_type_void_p" = yes; then
15088 # The cast to unsigned long works around a bug in the HP C Compiler
15089 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
15090 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
15091 # This bug is HP SR number 8606223364.
15092 if test "$cross_compiling" = yes; then
15093 # Depending upon the size, compute the lo and hi bounds.
15094 cat >conftest.
$ac_ext <<_ACEOF
15097 cat confdefs.h
>>conftest.
$ac_ext
15098 cat >>conftest.
$ac_ext <<_ACEOF
15099 /* end confdefs.h. */
15100 $ac_includes_default
15104 static int test_array [1 - 2 * !(((long) (sizeof (void *))) >= 0)];
15111 rm -f conftest.
$ac_objext
15112 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15113 (eval $ac_compile) 2>conftest.er1
15115 grep -v '^ *+' conftest.er1
>conftest.err
15117 cat conftest.err
>&5
15118 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15119 (exit $ac_status); } &&
15120 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15121 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15122 (eval $ac_try) 2>&5
15124 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15125 (exit $ac_status); }; } &&
15126 { ac_try
='test -s conftest.$ac_objext'
15127 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15128 (eval $ac_try) 2>&5
15130 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15131 (exit $ac_status); }; }; then
15134 cat >conftest.
$ac_ext <<_ACEOF
15137 cat confdefs.h
>>conftest.
$ac_ext
15138 cat >>conftest.
$ac_ext <<_ACEOF
15139 /* end confdefs.h. */
15140 $ac_includes_default
15144 static int test_array [1 - 2 * !(((long) (sizeof (void *))) <= $ac_mid)];
15151 rm -f conftest.
$ac_objext
15152 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15153 (eval $ac_compile) 2>conftest.er1
15155 grep -v '^ *+' conftest.er1
>conftest.err
15157 cat conftest.err
>&5
15158 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15159 (exit $ac_status); } &&
15160 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15161 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15162 (eval $ac_try) 2>&5
15164 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15165 (exit $ac_status); }; } &&
15166 { ac_try
='test -s conftest.$ac_objext'
15167 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15168 (eval $ac_try) 2>&5
15170 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15171 (exit $ac_status); }; }; then
15172 ac_hi
=$ac_mid; break
15174 echo "$as_me: failed program was:" >&5
15175 sed 's/^/| /' conftest.
$ac_ext >&5
15177 ac_lo
=`expr $ac_mid + 1`
15178 if test $ac_lo -le $ac_mid; then
15182 ac_mid
=`expr 2 '*' $ac_mid + 1`
15184 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15187 echo "$as_me: failed program was:" >&5
15188 sed 's/^/| /' conftest.
$ac_ext >&5
15190 cat >conftest.
$ac_ext <<_ACEOF
15193 cat confdefs.h
>>conftest.
$ac_ext
15194 cat >>conftest.
$ac_ext <<_ACEOF
15195 /* end confdefs.h. */
15196 $ac_includes_default
15200 static int test_array [1 - 2 * !(((long) (sizeof (void *))) < 0)];
15207 rm -f conftest.
$ac_objext
15208 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15209 (eval $ac_compile) 2>conftest.er1
15211 grep -v '^ *+' conftest.er1
>conftest.err
15213 cat conftest.err
>&5
15214 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15215 (exit $ac_status); } &&
15216 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15217 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15218 (eval $ac_try) 2>&5
15220 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15221 (exit $ac_status); }; } &&
15222 { ac_try
='test -s conftest.$ac_objext'
15223 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15224 (eval $ac_try) 2>&5
15226 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15227 (exit $ac_status); }; }; then
15230 cat >conftest.
$ac_ext <<_ACEOF
15233 cat confdefs.h
>>conftest.
$ac_ext
15234 cat >>conftest.
$ac_ext <<_ACEOF
15235 /* end confdefs.h. */
15236 $ac_includes_default
15240 static int test_array [1 - 2 * !(((long) (sizeof (void *))) >= $ac_mid)];
15247 rm -f conftest.
$ac_objext
15248 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15249 (eval $ac_compile) 2>conftest.er1
15251 grep -v '^ *+' conftest.er1
>conftest.err
15253 cat conftest.err
>&5
15254 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15255 (exit $ac_status); } &&
15256 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15257 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15258 (eval $ac_try) 2>&5
15260 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15261 (exit $ac_status); }; } &&
15262 { ac_try
='test -s conftest.$ac_objext'
15263 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15264 (eval $ac_try) 2>&5
15266 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15267 (exit $ac_status); }; }; then
15268 ac_lo
=$ac_mid; break
15270 echo "$as_me: failed program was:" >&5
15271 sed 's/^/| /' conftest.
$ac_ext >&5
15273 ac_hi
=`expr '(' $ac_mid ')' - 1`
15274 if test $ac_mid -le $ac_hi; then
15278 ac_mid
=`expr 2 '*' $ac_mid`
15280 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15283 echo "$as_me: failed program was:" >&5
15284 sed 's/^/| /' conftest.
$ac_ext >&5
15288 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15290 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15291 # Binary search between lo and hi bounds.
15292 while test "x$ac_lo" != "x$ac_hi"; do
15293 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
15294 cat >conftest.
$ac_ext <<_ACEOF
15297 cat confdefs.h
>>conftest.
$ac_ext
15298 cat >>conftest.
$ac_ext <<_ACEOF
15299 /* end confdefs.h. */
15300 $ac_includes_default
15304 static int test_array [1 - 2 * !(((long) (sizeof (void *))) <= $ac_mid)];
15311 rm -f conftest.
$ac_objext
15312 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15313 (eval $ac_compile) 2>conftest.er1
15315 grep -v '^ *+' conftest.er1
>conftest.err
15317 cat conftest.err
>&5
15318 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15319 (exit $ac_status); } &&
15320 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15321 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15322 (eval $ac_try) 2>&5
15324 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15325 (exit $ac_status); }; } &&
15326 { ac_try
='test -s conftest.$ac_objext'
15327 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15328 (eval $ac_try) 2>&5
15330 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15331 (exit $ac_status); }; }; then
15334 echo "$as_me: failed program was:" >&5
15335 sed 's/^/| /' conftest.
$ac_ext >&5
15337 ac_lo
=`expr '(' $ac_mid ')' + 1`
15339 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15342 ?
*) ac_cv_sizeof_void_p
=$ac_lo;;
15343 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *), 77
15344 See \`config.log' for more details." >&5
15345 echo "$as_me: error: cannot compute sizeof (void *), 77
15346 See \`config.log' for more details." >&2;}
15347 { (exit 1); exit 1; }; } ;;
15350 if test "$cross_compiling" = yes; then
15351 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
15352 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
15353 { (exit 1); exit 1; }; }
15355 cat >conftest.
$ac_ext <<_ACEOF
15358 cat confdefs.h
>>conftest.
$ac_ext
15359 cat >>conftest.
$ac_ext <<_ACEOF
15360 /* end confdefs.h. */
15361 $ac_includes_default
15362 long longval () { return (long) (sizeof (void *)); }
15363 unsigned long ulongval () { return (long) (sizeof (void *)); }
15365 #include <stdlib.h>
15370 FILE *f = fopen ("conftest.val", "w");
15373 if (((long) (sizeof (void *))) < 0)
15375 long i = longval ();
15376 if (i != ((long) (sizeof (void *))))
15378 fprintf (f, "%ld\n", i);
15382 unsigned long i = ulongval ();
15383 if (i != ((long) (sizeof (void *))))
15385 fprintf (f, "%lu\n", i);
15387 exit (ferror (f) || fclose (f) != 0);
15393 rm -f conftest
$ac_exeext
15394 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15395 (eval $ac_link) 2>&5
15397 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15398 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
15399 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15400 (eval $ac_try) 2>&5
15402 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15403 (exit $ac_status); }; }; then
15404 ac_cv_sizeof_void_p
=`cat conftest.val`
15406 echo "$as_me: program exited with status $ac_status" >&5
15407 echo "$as_me: failed program was:" >&5
15408 sed 's/^/| /' conftest.
$ac_ext >&5
15410 ( exit $ac_status )
15411 { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *), 77
15412 See \`config.log' for more details." >&5
15413 echo "$as_me: error: cannot compute sizeof (void *), 77
15414 See \`config.log' for more details." >&2;}
15415 { (exit 1); exit 1; }; }
15417 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
15422 ac_cv_sizeof_void_p
=0
15425 echo "$as_me:$LINENO: result: $ac_cv_sizeof_void_p" >&5
15426 echo "${ECHO_T}$ac_cv_sizeof_void_p" >&6
15427 cat >>confdefs.h
<<_ACEOF
15428 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
15432 echo "$as_me:$LINENO: checking for int" >&5
15433 echo $ECHO_N "checking for int... $ECHO_C" >&6
15434 if test "${ac_cv_type_int+set}" = set; then
15435 echo $ECHO_N "(cached) $ECHO_C" >&6
15437 cat >conftest.
$ac_ext <<_ACEOF
15440 cat confdefs.h
>>conftest.
$ac_ext
15441 cat >>conftest.
$ac_ext <<_ACEOF
15442 /* end confdefs.h. */
15443 $ac_includes_default
15455 rm -f conftest.
$ac_objext
15456 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15457 (eval $ac_compile) 2>conftest.er1
15459 grep -v '^ *+' conftest.er1
>conftest.err
15461 cat conftest.err
>&5
15462 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15463 (exit $ac_status); } &&
15464 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15465 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15466 (eval $ac_try) 2>&5
15468 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15469 (exit $ac_status); }; } &&
15470 { ac_try
='test -s conftest.$ac_objext'
15471 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15472 (eval $ac_try) 2>&5
15474 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15475 (exit $ac_status); }; }; then
15478 echo "$as_me: failed program was:" >&5
15479 sed 's/^/| /' conftest.
$ac_ext >&5
15483 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15485 echo "$as_me:$LINENO: result: $ac_cv_type_int" >&5
15486 echo "${ECHO_T}$ac_cv_type_int" >&6
15488 echo "$as_me:$LINENO: checking size of int" >&5
15489 echo $ECHO_N "checking size of int... $ECHO_C" >&6
15490 if test "${ac_cv_sizeof_int+set}" = set; then
15491 echo $ECHO_N "(cached) $ECHO_C" >&6
15493 if test "$ac_cv_type_int" = yes; then
15494 # The cast to unsigned long works around a bug in the HP C Compiler
15495 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
15496 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
15497 # This bug is HP SR number 8606223364.
15498 if test "$cross_compiling" = yes; then
15499 # Depending upon the size, compute the lo and hi bounds.
15500 cat >conftest.
$ac_ext <<_ACEOF
15503 cat confdefs.h
>>conftest.
$ac_ext
15504 cat >>conftest.
$ac_ext <<_ACEOF
15505 /* end confdefs.h. */
15506 $ac_includes_default
15510 static int test_array [1 - 2 * !(((long) (sizeof (int))) >= 0)];
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 cat >conftest.
$ac_ext <<_ACEOF
15543 cat confdefs.h
>>conftest.
$ac_ext
15544 cat >>conftest.
$ac_ext <<_ACEOF
15545 /* end confdefs.h. */
15546 $ac_includes_default
15550 static int test_array [1 - 2 * !(((long) (sizeof (int))) <= $ac_mid)];
15557 rm -f conftest.
$ac_objext
15558 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15559 (eval $ac_compile) 2>conftest.er1
15561 grep -v '^ *+' conftest.er1
>conftest.err
15563 cat conftest.err
>&5
15564 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15565 (exit $ac_status); } &&
15566 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15567 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15568 (eval $ac_try) 2>&5
15570 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15571 (exit $ac_status); }; } &&
15572 { ac_try
='test -s conftest.$ac_objext'
15573 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15574 (eval $ac_try) 2>&5
15576 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15577 (exit $ac_status); }; }; then
15578 ac_hi
=$ac_mid; break
15580 echo "$as_me: failed program was:" >&5
15581 sed 's/^/| /' conftest.
$ac_ext >&5
15583 ac_lo
=`expr $ac_mid + 1`
15584 if test $ac_lo -le $ac_mid; then
15588 ac_mid
=`expr 2 '*' $ac_mid + 1`
15590 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15593 echo "$as_me: failed program was:" >&5
15594 sed 's/^/| /' conftest.
$ac_ext >&5
15596 cat >conftest.
$ac_ext <<_ACEOF
15599 cat confdefs.h
>>conftest.
$ac_ext
15600 cat >>conftest.
$ac_ext <<_ACEOF
15601 /* end confdefs.h. */
15602 $ac_includes_default
15606 static int test_array [1 - 2 * !(((long) (sizeof (int))) < 0)];
15613 rm -f conftest.
$ac_objext
15614 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15615 (eval $ac_compile) 2>conftest.er1
15617 grep -v '^ *+' conftest.er1
>conftest.err
15619 cat conftest.err
>&5
15620 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15621 (exit $ac_status); } &&
15622 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15623 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15624 (eval $ac_try) 2>&5
15626 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15627 (exit $ac_status); }; } &&
15628 { ac_try
='test -s conftest.$ac_objext'
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); }; }; then
15636 cat >conftest.
$ac_ext <<_ACEOF
15639 cat confdefs.h
>>conftest.
$ac_ext
15640 cat >>conftest.
$ac_ext <<_ACEOF
15641 /* end confdefs.h. */
15642 $ac_includes_default
15646 static int test_array [1 - 2 * !(((long) (sizeof (int))) >= $ac_mid)];
15653 rm -f conftest.
$ac_objext
15654 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15655 (eval $ac_compile) 2>conftest.er1
15657 grep -v '^ *+' conftest.er1
>conftest.err
15659 cat conftest.err
>&5
15660 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15661 (exit $ac_status); } &&
15662 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15663 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15664 (eval $ac_try) 2>&5
15666 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15667 (exit $ac_status); }; } &&
15668 { ac_try
='test -s conftest.$ac_objext'
15669 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15670 (eval $ac_try) 2>&5
15672 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15673 (exit $ac_status); }; }; then
15674 ac_lo
=$ac_mid; break
15676 echo "$as_me: failed program was:" >&5
15677 sed 's/^/| /' conftest.
$ac_ext >&5
15679 ac_hi
=`expr '(' $ac_mid ')' - 1`
15680 if test $ac_mid -le $ac_hi; then
15684 ac_mid
=`expr 2 '*' $ac_mid`
15686 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15689 echo "$as_me: failed program was:" >&5
15690 sed 's/^/| /' conftest.
$ac_ext >&5
15694 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15696 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15697 # Binary search between lo and hi bounds.
15698 while test "x$ac_lo" != "x$ac_hi"; do
15699 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
15700 cat >conftest.
$ac_ext <<_ACEOF
15703 cat confdefs.h
>>conftest.
$ac_ext
15704 cat >>conftest.
$ac_ext <<_ACEOF
15705 /* end confdefs.h. */
15706 $ac_includes_default
15710 static int test_array [1 - 2 * !(((long) (sizeof (int))) <= $ac_mid)];
15717 rm -f conftest.
$ac_objext
15718 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15719 (eval $ac_compile) 2>conftest.er1
15721 grep -v '^ *+' conftest.er1
>conftest.err
15723 cat conftest.err
>&5
15724 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15725 (exit $ac_status); } &&
15726 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15727 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15728 (eval $ac_try) 2>&5
15730 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15731 (exit $ac_status); }; } &&
15732 { ac_try
='test -s conftest.$ac_objext'
15733 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15734 (eval $ac_try) 2>&5
15736 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15737 (exit $ac_status); }; }; then
15740 echo "$as_me: failed program was:" >&5
15741 sed 's/^/| /' conftest.
$ac_ext >&5
15743 ac_lo
=`expr '(' $ac_mid ')' + 1`
15745 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15748 ?
*) ac_cv_sizeof_int
=$ac_lo;;
15749 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (int), 77
15750 See \`config.log' for more details." >&5
15751 echo "$as_me: error: cannot compute sizeof (int), 77
15752 See \`config.log' for more details." >&2;}
15753 { (exit 1); exit 1; }; } ;;
15756 if test "$cross_compiling" = yes; then
15757 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
15758 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
15759 { (exit 1); exit 1; }; }
15761 cat >conftest.
$ac_ext <<_ACEOF
15764 cat confdefs.h
>>conftest.
$ac_ext
15765 cat >>conftest.
$ac_ext <<_ACEOF
15766 /* end confdefs.h. */
15767 $ac_includes_default
15768 long longval () { return (long) (sizeof (int)); }
15769 unsigned long ulongval () { return (long) (sizeof (int)); }
15771 #include <stdlib.h>
15776 FILE *f = fopen ("conftest.val", "w");
15779 if (((long) (sizeof (int))) < 0)
15781 long i = longval ();
15782 if (i != ((long) (sizeof (int))))
15784 fprintf (f, "%ld\n", i);
15788 unsigned long i = ulongval ();
15789 if (i != ((long) (sizeof (int))))
15791 fprintf (f, "%lu\n", i);
15793 exit (ferror (f) || fclose (f) != 0);
15799 rm -f conftest
$ac_exeext
15800 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15801 (eval $ac_link) 2>&5
15803 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15804 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
15805 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15806 (eval $ac_try) 2>&5
15808 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15809 (exit $ac_status); }; }; then
15810 ac_cv_sizeof_int
=`cat conftest.val`
15812 echo "$as_me: program exited with status $ac_status" >&5
15813 echo "$as_me: failed program was:" >&5
15814 sed 's/^/| /' conftest.
$ac_ext >&5
15816 ( exit $ac_status )
15817 { { echo "$as_me:$LINENO: error: cannot compute sizeof (int), 77
15818 See \`config.log' for more details." >&5
15819 echo "$as_me: error: cannot compute sizeof (int), 77
15820 See \`config.log' for more details." >&2;}
15821 { (exit 1); exit 1; }; }
15823 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
15831 echo "$as_me:$LINENO: result: $ac_cv_sizeof_int" >&5
15832 echo "${ECHO_T}$ac_cv_sizeof_int" >&6
15833 cat >>confdefs.h
<<_ACEOF
15834 #define SIZEOF_INT $ac_cv_sizeof_int
15838 echo "$as_me:$LINENO: checking for long" >&5
15839 echo $ECHO_N "checking for long... $ECHO_C" >&6
15840 if test "${ac_cv_type_long+set}" = set; then
15841 echo $ECHO_N "(cached) $ECHO_C" >&6
15843 cat >conftest.
$ac_ext <<_ACEOF
15846 cat confdefs.h
>>conftest.
$ac_ext
15847 cat >>conftest.
$ac_ext <<_ACEOF
15848 /* end confdefs.h. */
15849 $ac_includes_default
15861 rm -f conftest.
$ac_objext
15862 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15863 (eval $ac_compile) 2>conftest.er1
15865 grep -v '^ *+' conftest.er1
>conftest.err
15867 cat conftest.err
>&5
15868 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15869 (exit $ac_status); } &&
15870 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15871 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15872 (eval $ac_try) 2>&5
15874 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15875 (exit $ac_status); }; } &&
15876 { ac_try
='test -s conftest.$ac_objext'
15877 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15878 (eval $ac_try) 2>&5
15880 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15881 (exit $ac_status); }; }; then
15882 ac_cv_type_long
=yes
15884 echo "$as_me: failed program was:" >&5
15885 sed 's/^/| /' conftest.
$ac_ext >&5
15889 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15891 echo "$as_me:$LINENO: result: $ac_cv_type_long" >&5
15892 echo "${ECHO_T}$ac_cv_type_long" >&6
15894 echo "$as_me:$LINENO: checking size of long" >&5
15895 echo $ECHO_N "checking size of long... $ECHO_C" >&6
15896 if test "${ac_cv_sizeof_long+set}" = set; then
15897 echo $ECHO_N "(cached) $ECHO_C" >&6
15899 if test "$ac_cv_type_long" = yes; then
15900 # The cast to unsigned long works around a bug in the HP C Compiler
15901 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
15902 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
15903 # This bug is HP SR number 8606223364.
15904 if test "$cross_compiling" = yes; then
15905 # Depending upon the size, compute the lo and hi bounds.
15906 cat >conftest.
$ac_ext <<_ACEOF
15909 cat confdefs.h
>>conftest.
$ac_ext
15910 cat >>conftest.
$ac_ext <<_ACEOF
15911 /* end confdefs.h. */
15912 $ac_includes_default
15916 static int test_array [1 - 2 * !(((long) (sizeof (long))) >= 0)];
15923 rm -f conftest.
$ac_objext
15924 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15925 (eval $ac_compile) 2>conftest.er1
15927 grep -v '^ *+' conftest.er1
>conftest.err
15929 cat conftest.err
>&5
15930 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15931 (exit $ac_status); } &&
15932 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15933 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15934 (eval $ac_try) 2>&5
15936 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15937 (exit $ac_status); }; } &&
15938 { ac_try
='test -s conftest.$ac_objext'
15939 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15940 (eval $ac_try) 2>&5
15942 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15943 (exit $ac_status); }; }; then
15946 cat >conftest.
$ac_ext <<_ACEOF
15949 cat confdefs.h
>>conftest.
$ac_ext
15950 cat >>conftest.
$ac_ext <<_ACEOF
15951 /* end confdefs.h. */
15952 $ac_includes_default
15956 static int test_array [1 - 2 * !(((long) (sizeof (long))) <= $ac_mid)];
15963 rm -f conftest.
$ac_objext
15964 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15965 (eval $ac_compile) 2>conftest.er1
15967 grep -v '^ *+' conftest.er1
>conftest.err
15969 cat conftest.err
>&5
15970 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15971 (exit $ac_status); } &&
15972 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15973 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15974 (eval $ac_try) 2>&5
15976 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15977 (exit $ac_status); }; } &&
15978 { ac_try
='test -s conftest.$ac_objext'
15979 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15980 (eval $ac_try) 2>&5
15982 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15983 (exit $ac_status); }; }; then
15984 ac_hi
=$ac_mid; break
15986 echo "$as_me: failed program was:" >&5
15987 sed 's/^/| /' conftest.
$ac_ext >&5
15989 ac_lo
=`expr $ac_mid + 1`
15990 if test $ac_lo -le $ac_mid; then
15994 ac_mid
=`expr 2 '*' $ac_mid + 1`
15996 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15999 echo "$as_me: failed program was:" >&5
16000 sed 's/^/| /' conftest.
$ac_ext >&5
16002 cat >conftest.
$ac_ext <<_ACEOF
16005 cat confdefs.h
>>conftest.
$ac_ext
16006 cat >>conftest.
$ac_ext <<_ACEOF
16007 /* end confdefs.h. */
16008 $ac_includes_default
16012 static int test_array [1 - 2 * !(((long) (sizeof (long))) < 0)];
16019 rm -f conftest.
$ac_objext
16020 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16021 (eval $ac_compile) 2>conftest.er1
16023 grep -v '^ *+' conftest.er1
>conftest.err
16025 cat conftest.err
>&5
16026 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16027 (exit $ac_status); } &&
16028 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16029 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16030 (eval $ac_try) 2>&5
16032 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16033 (exit $ac_status); }; } &&
16034 { ac_try
='test -s conftest.$ac_objext'
16035 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16036 (eval $ac_try) 2>&5
16038 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16039 (exit $ac_status); }; }; then
16042 cat >conftest.
$ac_ext <<_ACEOF
16045 cat confdefs.h
>>conftest.
$ac_ext
16046 cat >>conftest.
$ac_ext <<_ACEOF
16047 /* end confdefs.h. */
16048 $ac_includes_default
16052 static int test_array [1 - 2 * !(((long) (sizeof (long))) >= $ac_mid)];
16059 rm -f conftest.
$ac_objext
16060 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16061 (eval $ac_compile) 2>conftest.er1
16063 grep -v '^ *+' conftest.er1
>conftest.err
16065 cat conftest.err
>&5
16066 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16067 (exit $ac_status); } &&
16068 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16069 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16070 (eval $ac_try) 2>&5
16072 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16073 (exit $ac_status); }; } &&
16074 { ac_try
='test -s conftest.$ac_objext'
16075 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16076 (eval $ac_try) 2>&5
16078 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16079 (exit $ac_status); }; }; then
16080 ac_lo
=$ac_mid; break
16082 echo "$as_me: failed program was:" >&5
16083 sed 's/^/| /' conftest.
$ac_ext >&5
16085 ac_hi
=`expr '(' $ac_mid ')' - 1`
16086 if test $ac_mid -le $ac_hi; then
16090 ac_mid
=`expr 2 '*' $ac_mid`
16092 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16095 echo "$as_me: failed program was:" >&5
16096 sed 's/^/| /' conftest.
$ac_ext >&5
16100 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16102 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16103 # Binary search between lo and hi bounds.
16104 while test "x$ac_lo" != "x$ac_hi"; do
16105 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
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
16146 echo "$as_me: failed program was:" >&5
16147 sed 's/^/| /' conftest.
$ac_ext >&5
16149 ac_lo
=`expr '(' $ac_mid ')' + 1`
16151 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16154 ?
*) ac_cv_sizeof_long
=$ac_lo;;
16155 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long), 77
16156 See \`config.log' for more details." >&5
16157 echo "$as_me: error: cannot compute sizeof (long), 77
16158 See \`config.log' for more details." >&2;}
16159 { (exit 1); exit 1; }; } ;;
16162 if test "$cross_compiling" = yes; then
16163 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
16164 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
16165 { (exit 1); exit 1; }; }
16167 cat >conftest.
$ac_ext <<_ACEOF
16170 cat confdefs.h
>>conftest.
$ac_ext
16171 cat >>conftest.
$ac_ext <<_ACEOF
16172 /* end confdefs.h. */
16173 $ac_includes_default
16174 long longval () { return (long) (sizeof (long)); }
16175 unsigned long ulongval () { return (long) (sizeof (long)); }
16177 #include <stdlib.h>
16182 FILE *f = fopen ("conftest.val", "w");
16185 if (((long) (sizeof (long))) < 0)
16187 long i = longval ();
16188 if (i != ((long) (sizeof (long))))
16190 fprintf (f, "%ld\n", i);
16194 unsigned long i = ulongval ();
16195 if (i != ((long) (sizeof (long))))
16197 fprintf (f, "%lu\n", i);
16199 exit (ferror (f) || fclose (f) != 0);
16205 rm -f conftest
$ac_exeext
16206 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16207 (eval $ac_link) 2>&5
16209 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16210 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
16211 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16212 (eval $ac_try) 2>&5
16214 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16215 (exit $ac_status); }; }; then
16216 ac_cv_sizeof_long
=`cat conftest.val`
16218 echo "$as_me: program exited with status $ac_status" >&5
16219 echo "$as_me: failed program was:" >&5
16220 sed 's/^/| /' conftest.
$ac_ext >&5
16222 ( exit $ac_status )
16223 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long), 77
16224 See \`config.log' for more details." >&5
16225 echo "$as_me: error: cannot compute sizeof (long), 77
16226 See \`config.log' for more details." >&2;}
16227 { (exit 1); exit 1; }; }
16229 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
16234 ac_cv_sizeof_long
=0
16237 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long" >&5
16238 echo "${ECHO_T}$ac_cv_sizeof_long" >&6
16239 cat >>confdefs.h
<<_ACEOF
16240 #define SIZEOF_LONG $ac_cv_sizeof_long
16244 echo "$as_me:$LINENO: checking for size_t" >&5
16245 echo $ECHO_N "checking for size_t... $ECHO_C" >&6
16246 if test "${ac_cv_type_size_t+set}" = set; then
16247 echo $ECHO_N "(cached) $ECHO_C" >&6
16249 cat >conftest.
$ac_ext <<_ACEOF
16252 cat confdefs.h
>>conftest.
$ac_ext
16253 cat >>conftest.
$ac_ext <<_ACEOF
16254 /* end confdefs.h. */
16255 $ac_includes_default
16261 if (sizeof (size_t))
16267 rm -f conftest.
$ac_objext
16268 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16269 (eval $ac_compile) 2>conftest.er1
16271 grep -v '^ *+' conftest.er1
>conftest.err
16273 cat conftest.err
>&5
16274 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16275 (exit $ac_status); } &&
16276 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
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); }; } &&
16282 { ac_try
='test -s conftest.$ac_objext'
16283 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16284 (eval $ac_try) 2>&5
16286 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16287 (exit $ac_status); }; }; then
16288 ac_cv_type_size_t
=yes
16290 echo "$as_me: failed program was:" >&5
16291 sed 's/^/| /' conftest.
$ac_ext >&5
16293 ac_cv_type_size_t
=no
16295 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16297 echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
16298 echo "${ECHO_T}$ac_cv_type_size_t" >&6
16300 echo "$as_me:$LINENO: checking size of size_t" >&5
16301 echo $ECHO_N "checking size of size_t... $ECHO_C" >&6
16302 if test "${ac_cv_sizeof_size_t+set}" = set; then
16303 echo $ECHO_N "(cached) $ECHO_C" >&6
16305 if test "$ac_cv_type_size_t" = yes; then
16306 # The cast to unsigned long works around a bug in the HP C Compiler
16307 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
16308 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
16309 # This bug is HP SR number 8606223364.
16310 if test "$cross_compiling" = yes; then
16311 # Depending upon the size, compute the lo and hi bounds.
16312 cat >conftest.
$ac_ext <<_ACEOF
16315 cat confdefs.h
>>conftest.
$ac_ext
16316 cat >>conftest.
$ac_ext <<_ACEOF
16317 /* end confdefs.h. */
16318 $ac_includes_default
16322 static int test_array [1 - 2 * !(((long) (sizeof (size_t))) >= 0)];
16329 rm -f conftest.
$ac_objext
16330 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16331 (eval $ac_compile) 2>conftest.er1
16333 grep -v '^ *+' conftest.er1
>conftest.err
16335 cat conftest.err
>&5
16336 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16337 (exit $ac_status); } &&
16338 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16339 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16340 (eval $ac_try) 2>&5
16342 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16343 (exit $ac_status); }; } &&
16344 { ac_try
='test -s conftest.$ac_objext'
16345 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16346 (eval $ac_try) 2>&5
16348 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16349 (exit $ac_status); }; }; then
16352 cat >conftest.
$ac_ext <<_ACEOF
16355 cat confdefs.h
>>conftest.
$ac_ext
16356 cat >>conftest.
$ac_ext <<_ACEOF
16357 /* end confdefs.h. */
16358 $ac_includes_default
16362 static int test_array [1 - 2 * !(((long) (sizeof (size_t))) <= $ac_mid)];
16369 rm -f conftest.
$ac_objext
16370 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16371 (eval $ac_compile) 2>conftest.er1
16373 grep -v '^ *+' conftest.er1
>conftest.err
16375 cat conftest.err
>&5
16376 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16377 (exit $ac_status); } &&
16378 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16379 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16380 (eval $ac_try) 2>&5
16382 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16383 (exit $ac_status); }; } &&
16384 { ac_try
='test -s conftest.$ac_objext'
16385 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16386 (eval $ac_try) 2>&5
16388 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16389 (exit $ac_status); }; }; then
16390 ac_hi
=$ac_mid; break
16392 echo "$as_me: failed program was:" >&5
16393 sed 's/^/| /' conftest.
$ac_ext >&5
16395 ac_lo
=`expr $ac_mid + 1`
16396 if test $ac_lo -le $ac_mid; then
16400 ac_mid
=`expr 2 '*' $ac_mid + 1`
16402 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16405 echo "$as_me: failed program was:" >&5
16406 sed 's/^/| /' conftest.
$ac_ext >&5
16408 cat >conftest.
$ac_ext <<_ACEOF
16411 cat confdefs.h
>>conftest.
$ac_ext
16412 cat >>conftest.
$ac_ext <<_ACEOF
16413 /* end confdefs.h. */
16414 $ac_includes_default
16418 static int test_array [1 - 2 * !(((long) (sizeof (size_t))) < 0)];
16425 rm -f conftest.
$ac_objext
16426 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16427 (eval $ac_compile) 2>conftest.er1
16429 grep -v '^ *+' conftest.er1
>conftest.err
16431 cat conftest.err
>&5
16432 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16433 (exit $ac_status); } &&
16434 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16435 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16436 (eval $ac_try) 2>&5
16438 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16439 (exit $ac_status); }; } &&
16440 { ac_try
='test -s conftest.$ac_objext'
16441 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16442 (eval $ac_try) 2>&5
16444 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16445 (exit $ac_status); }; }; then
16448 cat >conftest.
$ac_ext <<_ACEOF
16451 cat confdefs.h
>>conftest.
$ac_ext
16452 cat >>conftest.
$ac_ext <<_ACEOF
16453 /* end confdefs.h. */
16454 $ac_includes_default
16458 static int test_array [1 - 2 * !(((long) (sizeof (size_t))) >= $ac_mid)];
16465 rm -f conftest.
$ac_objext
16466 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16467 (eval $ac_compile) 2>conftest.er1
16469 grep -v '^ *+' conftest.er1
>conftest.err
16471 cat conftest.err
>&5
16472 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16473 (exit $ac_status); } &&
16474 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16475 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16476 (eval $ac_try) 2>&5
16478 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16479 (exit $ac_status); }; } &&
16480 { ac_try
='test -s conftest.$ac_objext'
16481 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16482 (eval $ac_try) 2>&5
16484 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16485 (exit $ac_status); }; }; then
16486 ac_lo
=$ac_mid; break
16488 echo "$as_me: failed program was:" >&5
16489 sed 's/^/| /' conftest.
$ac_ext >&5
16491 ac_hi
=`expr '(' $ac_mid ')' - 1`
16492 if test $ac_mid -le $ac_hi; then
16496 ac_mid
=`expr 2 '*' $ac_mid`
16498 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16501 echo "$as_me: failed program was:" >&5
16502 sed 's/^/| /' conftest.
$ac_ext >&5
16506 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16508 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16509 # Binary search between lo and hi bounds.
16510 while test "x$ac_lo" != "x$ac_hi"; do
16511 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
16512 cat >conftest.
$ac_ext <<_ACEOF
16515 cat confdefs.h
>>conftest.
$ac_ext
16516 cat >>conftest.
$ac_ext <<_ACEOF
16517 /* end confdefs.h. */
16518 $ac_includes_default
16522 static int test_array [1 - 2 * !(((long) (sizeof (size_t))) <= $ac_mid)];
16529 rm -f conftest.
$ac_objext
16530 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16531 (eval $ac_compile) 2>conftest.er1
16533 grep -v '^ *+' conftest.er1
>conftest.err
16535 cat conftest.err
>&5
16536 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16537 (exit $ac_status); } &&
16538 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16539 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16540 (eval $ac_try) 2>&5
16542 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16543 (exit $ac_status); }; } &&
16544 { ac_try
='test -s conftest.$ac_objext'
16545 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16546 (eval $ac_try) 2>&5
16548 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16549 (exit $ac_status); }; }; then
16552 echo "$as_me: failed program was:" >&5
16553 sed 's/^/| /' conftest.
$ac_ext >&5
16555 ac_lo
=`expr '(' $ac_mid ')' + 1`
16557 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16560 ?
*) ac_cv_sizeof_size_t
=$ac_lo;;
16561 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (size_t), 77
16562 See \`config.log' for more details." >&5
16563 echo "$as_me: error: cannot compute sizeof (size_t), 77
16564 See \`config.log' for more details." >&2;}
16565 { (exit 1); exit 1; }; } ;;
16568 if test "$cross_compiling" = yes; then
16569 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
16570 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
16571 { (exit 1); exit 1; }; }
16573 cat >conftest.
$ac_ext <<_ACEOF
16576 cat confdefs.h
>>conftest.
$ac_ext
16577 cat >>conftest.
$ac_ext <<_ACEOF
16578 /* end confdefs.h. */
16579 $ac_includes_default
16580 long longval () { return (long) (sizeof (size_t)); }
16581 unsigned long ulongval () { return (long) (sizeof (size_t)); }
16583 #include <stdlib.h>
16588 FILE *f = fopen ("conftest.val", "w");
16591 if (((long) (sizeof (size_t))) < 0)
16593 long i = longval ();
16594 if (i != ((long) (sizeof (size_t))))
16596 fprintf (f, "%ld\n", i);
16600 unsigned long i = ulongval ();
16601 if (i != ((long) (sizeof (size_t))))
16603 fprintf (f, "%lu\n", i);
16605 exit (ferror (f) || fclose (f) != 0);
16611 rm -f conftest
$ac_exeext
16612 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16613 (eval $ac_link) 2>&5
16615 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16616 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
16617 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16618 (eval $ac_try) 2>&5
16620 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16621 (exit $ac_status); }; }; then
16622 ac_cv_sizeof_size_t
=`cat conftest.val`
16624 echo "$as_me: program exited with status $ac_status" >&5
16625 echo "$as_me: failed program was:" >&5
16626 sed 's/^/| /' conftest.
$ac_ext >&5
16628 ( exit $ac_status )
16629 { { echo "$as_me:$LINENO: error: cannot compute sizeof (size_t), 77
16630 See \`config.log' for more details." >&5
16631 echo "$as_me: error: cannot compute sizeof (size_t), 77
16632 See \`config.log' for more details." >&2;}
16633 { (exit 1); exit 1; }; }
16635 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
16640 ac_cv_sizeof_size_t
=0
16643 echo "$as_me:$LINENO: result: $ac_cv_sizeof_size_t" >&5
16644 echo "${ECHO_T}$ac_cv_sizeof_size_t" >&6
16645 cat >>confdefs.h
<<_ACEOF
16646 #define SIZEOF_SIZE_T $ac_cv_sizeof_size_t
16653 echo "$as_me:$LINENO: checking for long long" >&5
16654 echo $ECHO_N "checking for long long... $ECHO_C" >&6
16655 if test "${ac_cv_type_long_long+set}" = set; then
16656 echo $ECHO_N "(cached) $ECHO_C" >&6
16658 cat >conftest.
$ac_ext <<_ACEOF
16661 cat confdefs.h
>>conftest.
$ac_ext
16662 cat >>conftest.
$ac_ext <<_ACEOF
16663 /* end confdefs.h. */
16664 $ac_includes_default
16668 if ((long long *) 0)
16670 if (sizeof (long long))
16676 rm -f conftest.
$ac_objext
16677 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16678 (eval $ac_compile) 2>conftest.er1
16680 grep -v '^ *+' conftest.er1
>conftest.err
16682 cat conftest.err
>&5
16683 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16684 (exit $ac_status); } &&
16685 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16686 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16687 (eval $ac_try) 2>&5
16689 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16690 (exit $ac_status); }; } &&
16691 { ac_try
='test -s conftest.$ac_objext'
16692 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16693 (eval $ac_try) 2>&5
16695 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16696 (exit $ac_status); }; }; then
16697 ac_cv_type_long_long
=yes
16699 echo "$as_me: failed program was:" >&5
16700 sed 's/^/| /' conftest.
$ac_ext >&5
16702 ac_cv_type_long_long
=no
16704 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16706 echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
16707 echo "${ECHO_T}$ac_cv_type_long_long" >&6
16709 echo "$as_me:$LINENO: checking size of long long" >&5
16710 echo $ECHO_N "checking size of long long... $ECHO_C" >&6
16711 if test "${ac_cv_sizeof_long_long+set}" = set; then
16712 echo $ECHO_N "(cached) $ECHO_C" >&6
16714 if test "$ac_cv_type_long_long" = yes; then
16715 # The cast to unsigned long works around a bug in the HP C Compiler
16716 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
16717 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
16718 # This bug is HP SR number 8606223364.
16719 if test "$cross_compiling" = yes; then
16720 # Depending upon the size, compute the lo and hi bounds.
16721 cat >conftest.
$ac_ext <<_ACEOF
16724 cat confdefs.h
>>conftest.
$ac_ext
16725 cat >>conftest.
$ac_ext <<_ACEOF
16726 /* end confdefs.h. */
16727 $ac_includes_default
16731 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= 0)];
16738 rm -f conftest.
$ac_objext
16739 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16740 (eval $ac_compile) 2>conftest.er1
16742 grep -v '^ *+' conftest.er1
>conftest.err
16744 cat conftest.err
>&5
16745 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16746 (exit $ac_status); } &&
16747 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16748 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16749 (eval $ac_try) 2>&5
16751 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16752 (exit $ac_status); }; } &&
16753 { ac_try
='test -s conftest.$ac_objext'
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); }; }; then
16761 cat >conftest.
$ac_ext <<_ACEOF
16764 cat confdefs.h
>>conftest.
$ac_ext
16765 cat >>conftest.
$ac_ext <<_ACEOF
16766 /* end confdefs.h. */
16767 $ac_includes_default
16771 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
16778 rm -f conftest.
$ac_objext
16779 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16780 (eval $ac_compile) 2>conftest.er1
16782 grep -v '^ *+' conftest.er1
>conftest.err
16784 cat conftest.err
>&5
16785 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16786 (exit $ac_status); } &&
16787 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16788 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16789 (eval $ac_try) 2>&5
16791 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16792 (exit $ac_status); }; } &&
16793 { ac_try
='test -s conftest.$ac_objext'
16794 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16795 (eval $ac_try) 2>&5
16797 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16798 (exit $ac_status); }; }; then
16799 ac_hi
=$ac_mid; break
16801 echo "$as_me: failed program was:" >&5
16802 sed 's/^/| /' conftest.
$ac_ext >&5
16804 ac_lo
=`expr $ac_mid + 1`
16805 if test $ac_lo -le $ac_mid; then
16809 ac_mid
=`expr 2 '*' $ac_mid + 1`
16811 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16814 echo "$as_me: failed program was:" >&5
16815 sed 's/^/| /' conftest.
$ac_ext >&5
16817 cat >conftest.
$ac_ext <<_ACEOF
16820 cat confdefs.h
>>conftest.
$ac_ext
16821 cat >>conftest.
$ac_ext <<_ACEOF
16822 /* end confdefs.h. */
16823 $ac_includes_default
16827 static int test_array [1 - 2 * !(((long) (sizeof (long long))) < 0)];
16834 rm -f conftest.
$ac_objext
16835 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16836 (eval $ac_compile) 2>conftest.er1
16838 grep -v '^ *+' conftest.er1
>conftest.err
16840 cat conftest.err
>&5
16841 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16842 (exit $ac_status); } &&
16843 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16844 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16845 (eval $ac_try) 2>&5
16847 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16848 (exit $ac_status); }; } &&
16849 { ac_try
='test -s conftest.$ac_objext'
16850 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16851 (eval $ac_try) 2>&5
16853 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16854 (exit $ac_status); }; }; then
16857 cat >conftest.
$ac_ext <<_ACEOF
16860 cat confdefs.h
>>conftest.
$ac_ext
16861 cat >>conftest.
$ac_ext <<_ACEOF
16862 /* end confdefs.h. */
16863 $ac_includes_default
16867 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= $ac_mid)];
16874 rm -f conftest.
$ac_objext
16875 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16876 (eval $ac_compile) 2>conftest.er1
16878 grep -v '^ *+' conftest.er1
>conftest.err
16880 cat conftest.err
>&5
16881 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16882 (exit $ac_status); } &&
16883 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16884 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16885 (eval $ac_try) 2>&5
16887 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16888 (exit $ac_status); }; } &&
16889 { ac_try
='test -s conftest.$ac_objext'
16890 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16891 (eval $ac_try) 2>&5
16893 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16894 (exit $ac_status); }; }; then
16895 ac_lo
=$ac_mid; break
16897 echo "$as_me: failed program was:" >&5
16898 sed 's/^/| /' conftest.
$ac_ext >&5
16900 ac_hi
=`expr '(' $ac_mid ')' - 1`
16901 if test $ac_mid -le $ac_hi; then
16905 ac_mid
=`expr 2 '*' $ac_mid`
16907 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16910 echo "$as_me: failed program was:" >&5
16911 sed 's/^/| /' conftest.
$ac_ext >&5
16915 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16917 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16918 # Binary search between lo and hi bounds.
16919 while test "x$ac_lo" != "x$ac_hi"; do
16920 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
16921 cat >conftest.
$ac_ext <<_ACEOF
16924 cat confdefs.h
>>conftest.
$ac_ext
16925 cat >>conftest.
$ac_ext <<_ACEOF
16926 /* end confdefs.h. */
16927 $ac_includes_default
16931 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
16938 rm -f conftest.
$ac_objext
16939 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16940 (eval $ac_compile) 2>conftest.er1
16942 grep -v '^ *+' conftest.er1
>conftest.err
16944 cat conftest.err
>&5
16945 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16946 (exit $ac_status); } &&
16947 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16948 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16949 (eval $ac_try) 2>&5
16951 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16952 (exit $ac_status); }; } &&
16953 { ac_try
='test -s conftest.$ac_objext'
16954 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16955 (eval $ac_try) 2>&5
16957 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16958 (exit $ac_status); }; }; then
16961 echo "$as_me: failed program was:" >&5
16962 sed 's/^/| /' conftest.
$ac_ext >&5
16964 ac_lo
=`expr '(' $ac_mid ')' + 1`
16966 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16969 ?
*) ac_cv_sizeof_long_long
=$ac_lo;;
16970 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
16971 See \`config.log' for more details." >&5
16972 echo "$as_me: error: cannot compute sizeof (long long), 77
16973 See \`config.log' for more details." >&2;}
16974 { (exit 1); exit 1; }; } ;;
16977 if test "$cross_compiling" = yes; then
16978 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
16979 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
16980 { (exit 1); exit 1; }; }
16982 cat >conftest.
$ac_ext <<_ACEOF
16985 cat confdefs.h
>>conftest.
$ac_ext
16986 cat >>conftest.
$ac_ext <<_ACEOF
16987 /* end confdefs.h. */
16988 $ac_includes_default
16989 long longval () { return (long) (sizeof (long long)); }
16990 unsigned long ulongval () { return (long) (sizeof (long long)); }
16992 #include <stdlib.h>
16997 FILE *f = fopen ("conftest.val", "w");
17000 if (((long) (sizeof (long long))) < 0)
17002 long i = longval ();
17003 if (i != ((long) (sizeof (long long))))
17005 fprintf (f, "%ld\n", i);
17009 unsigned long i = ulongval ();
17010 if (i != ((long) (sizeof (long long))))
17012 fprintf (f, "%lu\n", i);
17014 exit (ferror (f) || fclose (f) != 0);
17020 rm -f conftest
$ac_exeext
17021 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17022 (eval $ac_link) 2>&5
17024 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17025 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
17026 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17027 (eval $ac_try) 2>&5
17029 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17030 (exit $ac_status); }; }; then
17031 ac_cv_sizeof_long_long
=`cat conftest.val`
17033 echo "$as_me: program exited with status $ac_status" >&5
17034 echo "$as_me: failed program was:" >&5
17035 sed 's/^/| /' conftest.
$ac_ext >&5
17037 ( exit $ac_status )
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; }; }
17044 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
17049 ac_cv_sizeof_long_long
=0
17052 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
17053 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6
17054 cat >>confdefs.h
<<_ACEOF
17055 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
17061 echo "$as_me:$LINENO: checking for long long" >&5
17062 echo $ECHO_N "checking for long long... $ECHO_C" >&6
17063 if test "${ac_cv_type_long_long+set}" = set; then
17064 echo $ECHO_N "(cached) $ECHO_C" >&6
17066 cat >conftest.
$ac_ext <<_ACEOF
17069 cat confdefs.h
>>conftest.
$ac_ext
17070 cat >>conftest.
$ac_ext <<_ACEOF
17071 /* end confdefs.h. */
17072 $ac_includes_default
17076 if ((long long *) 0)
17078 if (sizeof (long long))
17084 rm -f conftest.
$ac_objext
17085 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17086 (eval $ac_compile) 2>conftest.er1
17088 grep -v '^ *+' conftest.er1
>conftest.err
17090 cat conftest.err
>&5
17091 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17092 (exit $ac_status); } &&
17093 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17094 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17095 (eval $ac_try) 2>&5
17097 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17098 (exit $ac_status); }; } &&
17099 { ac_try
='test -s conftest.$ac_objext'
17100 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17101 (eval $ac_try) 2>&5
17103 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17104 (exit $ac_status); }; }; then
17105 ac_cv_type_long_long
=yes
17107 echo "$as_me: failed program was:" >&5
17108 sed 's/^/| /' conftest.
$ac_ext >&5
17110 ac_cv_type_long_long
=no
17112 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17114 echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
17115 echo "${ECHO_T}$ac_cv_type_long_long" >&6
17117 echo "$as_me:$LINENO: checking size of long long" >&5
17118 echo $ECHO_N "checking size of long long... $ECHO_C" >&6
17119 if test "${ac_cv_sizeof_long_long+set}" = set; then
17120 echo $ECHO_N "(cached) $ECHO_C" >&6
17122 if test "$ac_cv_type_long_long" = yes; then
17123 # The cast to unsigned long works around a bug in the HP C Compiler
17124 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
17125 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
17126 # This bug is HP SR number 8606223364.
17127 if test "$cross_compiling" = yes; then
17128 # Depending upon the size, compute the lo and hi bounds.
17129 cat >conftest.
$ac_ext <<_ACEOF
17132 cat confdefs.h
>>conftest.
$ac_ext
17133 cat >>conftest.
$ac_ext <<_ACEOF
17134 /* end confdefs.h. */
17135 $ac_includes_default
17139 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= 0)];
17146 rm -f conftest.
$ac_objext
17147 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17148 (eval $ac_compile) 2>conftest.er1
17150 grep -v '^ *+' conftest.er1
>conftest.err
17152 cat conftest.err
>&5
17153 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17154 (exit $ac_status); } &&
17155 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17156 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17157 (eval $ac_try) 2>&5
17159 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17160 (exit $ac_status); }; } &&
17161 { ac_try
='test -s conftest.$ac_objext'
17162 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17163 (eval $ac_try) 2>&5
17165 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17166 (exit $ac_status); }; }; then
17169 cat >conftest.
$ac_ext <<_ACEOF
17172 cat confdefs.h
>>conftest.
$ac_ext
17173 cat >>conftest.
$ac_ext <<_ACEOF
17174 /* end confdefs.h. */
17175 $ac_includes_default
17179 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
17186 rm -f conftest.
$ac_objext
17187 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17188 (eval $ac_compile) 2>conftest.er1
17190 grep -v '^ *+' conftest.er1
>conftest.err
17192 cat conftest.err
>&5
17193 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17194 (exit $ac_status); } &&
17195 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17196 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17197 (eval $ac_try) 2>&5
17199 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17200 (exit $ac_status); }; } &&
17201 { ac_try
='test -s conftest.$ac_objext'
17202 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17203 (eval $ac_try) 2>&5
17205 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17206 (exit $ac_status); }; }; then
17207 ac_hi
=$ac_mid; break
17209 echo "$as_me: failed program was:" >&5
17210 sed 's/^/| /' conftest.
$ac_ext >&5
17212 ac_lo
=`expr $ac_mid + 1`
17213 if test $ac_lo -le $ac_mid; then
17217 ac_mid
=`expr 2 '*' $ac_mid + 1`
17219 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17222 echo "$as_me: failed program was:" >&5
17223 sed 's/^/| /' conftest.
$ac_ext >&5
17225 cat >conftest.
$ac_ext <<_ACEOF
17228 cat confdefs.h
>>conftest.
$ac_ext
17229 cat >>conftest.
$ac_ext <<_ACEOF
17230 /* end confdefs.h. */
17231 $ac_includes_default
17235 static int test_array [1 - 2 * !(((long) (sizeof (long long))) < 0)];
17242 rm -f conftest.
$ac_objext
17243 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17244 (eval $ac_compile) 2>conftest.er1
17246 grep -v '^ *+' conftest.er1
>conftest.err
17248 cat conftest.err
>&5
17249 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17250 (exit $ac_status); } &&
17251 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17252 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17253 (eval $ac_try) 2>&5
17255 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17256 (exit $ac_status); }; } &&
17257 { ac_try
='test -s conftest.$ac_objext'
17258 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17259 (eval $ac_try) 2>&5
17261 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17262 (exit $ac_status); }; }; then
17265 cat >conftest.
$ac_ext <<_ACEOF
17268 cat confdefs.h
>>conftest.
$ac_ext
17269 cat >>conftest.
$ac_ext <<_ACEOF
17270 /* end confdefs.h. */
17271 $ac_includes_default
17275 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= $ac_mid)];
17282 rm -f conftest.
$ac_objext
17283 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17284 (eval $ac_compile) 2>conftest.er1
17286 grep -v '^ *+' conftest.er1
>conftest.err
17288 cat conftest.err
>&5
17289 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17290 (exit $ac_status); } &&
17291 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17292 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17293 (eval $ac_try) 2>&5
17295 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17296 (exit $ac_status); }; } &&
17297 { ac_try
='test -s conftest.$ac_objext'
17298 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17299 (eval $ac_try) 2>&5
17301 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17302 (exit $ac_status); }; }; then
17303 ac_lo
=$ac_mid; break
17305 echo "$as_me: failed program was:" >&5
17306 sed 's/^/| /' conftest.
$ac_ext >&5
17308 ac_hi
=`expr '(' $ac_mid ')' - 1`
17309 if test $ac_mid -le $ac_hi; then
17313 ac_mid
=`expr 2 '*' $ac_mid`
17315 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17318 echo "$as_me: failed program was:" >&5
17319 sed 's/^/| /' conftest.
$ac_ext >&5
17323 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17325 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17326 # Binary search between lo and hi bounds.
17327 while test "x$ac_lo" != "x$ac_hi"; do
17328 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
17329 cat >conftest.
$ac_ext <<_ACEOF
17332 cat confdefs.h
>>conftest.
$ac_ext
17333 cat >>conftest.
$ac_ext <<_ACEOF
17334 /* end confdefs.h. */
17335 $ac_includes_default
17339 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
17346 rm -f conftest.
$ac_objext
17347 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17348 (eval $ac_compile) 2>conftest.er1
17350 grep -v '^ *+' conftest.er1
>conftest.err
17352 cat conftest.err
>&5
17353 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17354 (exit $ac_status); } &&
17355 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17356 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17357 (eval $ac_try) 2>&5
17359 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17360 (exit $ac_status); }; } &&
17361 { ac_try
='test -s conftest.$ac_objext'
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); }; }; then
17369 echo "$as_me: failed program was:" >&5
17370 sed 's/^/| /' conftest.
$ac_ext >&5
17372 ac_lo
=`expr '(' $ac_mid ')' + 1`
17374 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17377 ?
*) ac_cv_sizeof_long_long
=$ac_lo;;
17378 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
17379 See \`config.log' for more details." >&5
17380 echo "$as_me: error: cannot compute sizeof (long long), 77
17381 See \`config.log' for more details." >&2;}
17382 { (exit 1); exit 1; }; } ;;
17385 if test "$cross_compiling" = yes; then
17386 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
17387 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
17388 { (exit 1); exit 1; }; }
17390 cat >conftest.
$ac_ext <<_ACEOF
17393 cat confdefs.h
>>conftest.
$ac_ext
17394 cat >>conftest.
$ac_ext <<_ACEOF
17395 /* end confdefs.h. */
17396 $ac_includes_default
17397 long longval () { return (long) (sizeof (long long)); }
17398 unsigned long ulongval () { return (long) (sizeof (long long)); }
17400 #include <stdlib.h>
17405 FILE *f = fopen ("conftest.val", "w");
17408 if (((long) (sizeof (long long))) < 0)
17410 long i = longval ();
17411 if (i != ((long) (sizeof (long long))))
17413 fprintf (f, "%ld\n", i);
17417 unsigned long i = ulongval ();
17418 if (i != ((long) (sizeof (long long))))
17420 fprintf (f, "%lu\n", i);
17422 exit (ferror (f) || fclose (f) != 0);
17428 rm -f conftest
$ac_exeext
17429 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17430 (eval $ac_link) 2>&5
17432 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17433 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
17434 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17435 (eval $ac_try) 2>&5
17437 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17438 (exit $ac_status); }; }; then
17439 ac_cv_sizeof_long_long
=`cat conftest.val`
17441 echo "$as_me: program exited with status $ac_status" >&5
17442 echo "$as_me: failed program was:" >&5
17443 sed 's/^/| /' conftest.
$ac_ext >&5
17445 ( exit $ac_status )
17446 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
17447 See \`config.log' for more details." >&5
17448 echo "$as_me: error: cannot compute sizeof (long long), 77
17449 See \`config.log' for more details." >&2;}
17450 { (exit 1); exit 1; }; }
17452 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
17457 ac_cv_sizeof_long_long
=0
17460 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
17461 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6
17462 cat >>confdefs.h
<<_ACEOF
17463 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
17467 if test "$ac_cv_sizeof_long_long" != "0"; then
17468 CPPFLAGS
="$CPPFLAGS -D_INCLUDE_LONGLONG"
17472 echo "$as_me:$LINENO: checking for long long" >&5
17473 echo $ECHO_N "checking for long long... $ECHO_C" >&6
17474 if test "${ac_cv_type_long_long+set}" = set; then
17475 echo $ECHO_N "(cached) $ECHO_C" >&6
17477 cat >conftest.
$ac_ext <<_ACEOF
17480 cat confdefs.h
>>conftest.
$ac_ext
17481 cat >>conftest.
$ac_ext <<_ACEOF
17482 /* end confdefs.h. */
17483 $ac_includes_default
17487 if ((long long *) 0)
17489 if (sizeof (long long))
17495 rm -f conftest.
$ac_objext
17496 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17497 (eval $ac_compile) 2>conftest.er1
17499 grep -v '^ *+' conftest.er1
>conftest.err
17501 cat conftest.err
>&5
17502 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17503 (exit $ac_status); } &&
17504 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17505 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17506 (eval $ac_try) 2>&5
17508 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17509 (exit $ac_status); }; } &&
17510 { ac_try
='test -s conftest.$ac_objext'
17511 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17512 (eval $ac_try) 2>&5
17514 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17515 (exit $ac_status); }; }; then
17516 ac_cv_type_long_long
=yes
17518 echo "$as_me: failed program was:" >&5
17519 sed 's/^/| /' conftest.
$ac_ext >&5
17521 ac_cv_type_long_long
=no
17523 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17525 echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
17526 echo "${ECHO_T}$ac_cv_type_long_long" >&6
17528 echo "$as_me:$LINENO: checking size of long long" >&5
17529 echo $ECHO_N "checking size of long long... $ECHO_C" >&6
17530 if test "${ac_cv_sizeof_long_long+set}" = set; then
17531 echo $ECHO_N "(cached) $ECHO_C" >&6
17533 if test "$ac_cv_type_long_long" = yes; then
17534 # The cast to unsigned long works around a bug in the HP C Compiler
17535 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
17536 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
17537 # This bug is HP SR number 8606223364.
17538 if test "$cross_compiling" = yes; then
17539 # Depending upon the size, compute the lo and hi bounds.
17540 cat >conftest.
$ac_ext <<_ACEOF
17543 cat confdefs.h
>>conftest.
$ac_ext
17544 cat >>conftest.
$ac_ext <<_ACEOF
17545 /* end confdefs.h. */
17546 $ac_includes_default
17550 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= 0)];
17557 rm -f conftest.
$ac_objext
17558 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17559 (eval $ac_compile) 2>conftest.er1
17561 grep -v '^ *+' conftest.er1
>conftest.err
17563 cat conftest.err
>&5
17564 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17565 (exit $ac_status); } &&
17566 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17567 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17568 (eval $ac_try) 2>&5
17570 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17571 (exit $ac_status); }; } &&
17572 { ac_try
='test -s conftest.$ac_objext'
17573 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17574 (eval $ac_try) 2>&5
17576 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17577 (exit $ac_status); }; }; then
17580 cat >conftest.
$ac_ext <<_ACEOF
17583 cat confdefs.h
>>conftest.
$ac_ext
17584 cat >>conftest.
$ac_ext <<_ACEOF
17585 /* end confdefs.h. */
17586 $ac_includes_default
17590 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
17597 rm -f conftest.
$ac_objext
17598 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17599 (eval $ac_compile) 2>conftest.er1
17601 grep -v '^ *+' conftest.er1
>conftest.err
17603 cat conftest.err
>&5
17604 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17605 (exit $ac_status); } &&
17606 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17607 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17608 (eval $ac_try) 2>&5
17610 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17611 (exit $ac_status); }; } &&
17612 { ac_try
='test -s conftest.$ac_objext'
17613 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17614 (eval $ac_try) 2>&5
17616 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17617 (exit $ac_status); }; }; then
17618 ac_hi
=$ac_mid; break
17620 echo "$as_me: failed program was:" >&5
17621 sed 's/^/| /' conftest.
$ac_ext >&5
17623 ac_lo
=`expr $ac_mid + 1`
17624 if test $ac_lo -le $ac_mid; then
17628 ac_mid
=`expr 2 '*' $ac_mid + 1`
17630 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17633 echo "$as_me: failed program was:" >&5
17634 sed 's/^/| /' conftest.
$ac_ext >&5
17636 cat >conftest.
$ac_ext <<_ACEOF
17639 cat confdefs.h
>>conftest.
$ac_ext
17640 cat >>conftest.
$ac_ext <<_ACEOF
17641 /* end confdefs.h. */
17642 $ac_includes_default
17646 static int test_array [1 - 2 * !(((long) (sizeof (long long))) < 0)];
17653 rm -f conftest.
$ac_objext
17654 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17655 (eval $ac_compile) 2>conftest.er1
17657 grep -v '^ *+' conftest.er1
>conftest.err
17659 cat conftest.err
>&5
17660 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17661 (exit $ac_status); } &&
17662 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17663 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17664 (eval $ac_try) 2>&5
17666 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17667 (exit $ac_status); }; } &&
17668 { ac_try
='test -s conftest.$ac_objext'
17669 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17670 (eval $ac_try) 2>&5
17672 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17673 (exit $ac_status); }; }; then
17676 cat >conftest.
$ac_ext <<_ACEOF
17679 cat confdefs.h
>>conftest.
$ac_ext
17680 cat >>conftest.
$ac_ext <<_ACEOF
17681 /* end confdefs.h. */
17682 $ac_includes_default
17686 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= $ac_mid)];
17693 rm -f conftest.
$ac_objext
17694 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17695 (eval $ac_compile) 2>conftest.er1
17697 grep -v '^ *+' conftest.er1
>conftest.err
17699 cat conftest.err
>&5
17700 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17701 (exit $ac_status); } &&
17702 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17703 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17704 (eval $ac_try) 2>&5
17706 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17707 (exit $ac_status); }; } &&
17708 { ac_try
='test -s conftest.$ac_objext'
17709 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17710 (eval $ac_try) 2>&5
17712 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17713 (exit $ac_status); }; }; then
17714 ac_lo
=$ac_mid; break
17716 echo "$as_me: failed program was:" >&5
17717 sed 's/^/| /' conftest.
$ac_ext >&5
17719 ac_hi
=`expr '(' $ac_mid ')' - 1`
17720 if test $ac_mid -le $ac_hi; then
17724 ac_mid
=`expr 2 '*' $ac_mid`
17726 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17729 echo "$as_me: failed program was:" >&5
17730 sed 's/^/| /' conftest.
$ac_ext >&5
17734 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17736 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17737 # Binary search between lo and hi bounds.
17738 while test "x$ac_lo" != "x$ac_hi"; do
17739 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
17740 cat >conftest.
$ac_ext <<_ACEOF
17743 cat confdefs.h
>>conftest.
$ac_ext
17744 cat >>conftest.
$ac_ext <<_ACEOF
17745 /* end confdefs.h. */
17746 $ac_includes_default
17750 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
17757 rm -f conftest.
$ac_objext
17758 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17759 (eval $ac_compile) 2>conftest.er1
17761 grep -v '^ *+' conftest.er1
>conftest.err
17763 cat conftest.err
>&5
17764 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17765 (exit $ac_status); } &&
17766 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17767 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17768 (eval $ac_try) 2>&5
17770 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17771 (exit $ac_status); }; } &&
17772 { ac_try
='test -s conftest.$ac_objext'
17773 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17774 (eval $ac_try) 2>&5
17776 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17777 (exit $ac_status); }; }; then
17780 echo "$as_me: failed program was:" >&5
17781 sed 's/^/| /' conftest.
$ac_ext >&5
17783 ac_lo
=`expr '(' $ac_mid ')' + 1`
17785 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17788 ?
*) ac_cv_sizeof_long_long
=$ac_lo;;
17789 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
17790 See \`config.log' for more details." >&5
17791 echo "$as_me: error: cannot compute sizeof (long long), 77
17792 See \`config.log' for more details." >&2;}
17793 { (exit 1); exit 1; }; } ;;
17796 if test "$cross_compiling" = yes; then
17797 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
17798 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
17799 { (exit 1); exit 1; }; }
17801 cat >conftest.
$ac_ext <<_ACEOF
17804 cat confdefs.h
>>conftest.
$ac_ext
17805 cat >>conftest.
$ac_ext <<_ACEOF
17806 /* end confdefs.h. */
17807 $ac_includes_default
17808 long longval () { return (long) (sizeof (long long)); }
17809 unsigned long ulongval () { return (long) (sizeof (long long)); }
17811 #include <stdlib.h>
17816 FILE *f = fopen ("conftest.val", "w");
17819 if (((long) (sizeof (long long))) < 0)
17821 long i = longval ();
17822 if (i != ((long) (sizeof (long long))))
17824 fprintf (f, "%ld\n", i);
17828 unsigned long i = ulongval ();
17829 if (i != ((long) (sizeof (long long))))
17831 fprintf (f, "%lu\n", i);
17833 exit (ferror (f) || fclose (f) != 0);
17839 rm -f conftest
$ac_exeext
17840 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17841 (eval $ac_link) 2>&5
17843 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17844 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
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
17850 ac_cv_sizeof_long_long
=`cat conftest.val`
17852 echo "$as_me: program exited with status $ac_status" >&5
17853 echo "$as_me: failed program was:" >&5
17854 sed 's/^/| /' conftest.
$ac_ext >&5
17856 ( exit $ac_status )
17857 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
17858 See \`config.log' for more details." >&5
17859 echo "$as_me: error: cannot compute sizeof (long long), 77
17860 See \`config.log' for more details." >&2;}
17861 { (exit 1); exit 1; }; }
17863 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
17868 ac_cv_sizeof_long_long
=0
17871 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
17872 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6
17873 cat >>confdefs.h
<<_ACEOF
17874 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
17880 echo "$as_me:$LINENO: checking size of wchar_t" >&5
17881 echo $ECHO_N "checking size of wchar_t... $ECHO_C" >&6
17882 if test "${wx_cv_sizeof_wchar_t+set}" = set; then
17883 echo $ECHO_N "(cached) $ECHO_C" >&6
17886 if test "$cross_compiling" = yes; then
17890 wx_cv_sizeof_wchar_t
=0
17893 wx_cv_sizeof_wchar_t
=4
17899 cat >conftest.
$ac_ext <<_ACEOF
17902 cat confdefs.h
>>conftest.
$ac_ext
17903 cat >>conftest.
$ac_ext <<_ACEOF
17904 /* end confdefs.h. */
17906 /* DJGPP only has fake wchar_t: */
17908 # error "fake wchar_t"
17910 #ifdef HAVE_WCHAR_H
17912 # include <stddef.h>
17914 # include <wchar.h>
17916 #ifdef HAVE_STDLIB_H
17917 # include <stdlib.h>
17922 FILE *f=fopen("conftestval", "w");
17924 fprintf(f, "%i", sizeof(wchar_t));
17929 rm -f conftest
$ac_exeext
17930 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17931 (eval $ac_link) 2>&5
17933 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17934 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
17935 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17936 (eval $ac_try) 2>&5
17938 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17939 (exit $ac_status); }; }; then
17940 wx_cv_sizeof_wchar_t
=`cat conftestval`
17942 echo "$as_me: program exited with status $ac_status" >&5
17943 echo "$as_me: failed program was:" >&5
17944 sed 's/^/| /' conftest.
$ac_ext >&5
17946 ( exit $ac_status )
17947 wx_cv_sizeof_wchar_t
=0
17949 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
17953 echo "$as_me:$LINENO: result: $wx_cv_sizeof_wchar_t" >&5
17954 echo "${ECHO_T}$wx_cv_sizeof_wchar_t" >&6
17956 cat >>confdefs.h
<<_ACEOF
17957 #define SIZEOF_WCHAR_T $wx_cv_sizeof_wchar_t
17961 # Check whether --enable-largefile or --disable-largefile was given.
17962 if test "${enable_largefile+set}" = set; then
17963 enableval
="$enable_largefile"
17966 if test "$enable_largefile" != no
; then
17969 echo "$as_me:$LINENO: checking for _FILE_OFFSET_BITS value needed for large files" >&5
17970 echo $ECHO_N "checking for _FILE_OFFSET_BITS value needed for large files... $ECHO_C" >&6
17971 if test "${ac_cv_sys_file_offset_bits+set}" = set; then
17972 echo $ECHO_N "(cached) $ECHO_C" >&6
17975 cat >conftest.
$ac_ext <<_ACEOF
17978 cat confdefs.h
>>conftest.
$ac_ext
17979 cat >>conftest.
$ac_ext <<_ACEOF
17980 /* end confdefs.h. */
17981 #define _FILE_OFFSET_BITS 64
17982 #include <sys/types.h>
17987 unsigned int field: sizeof(off_t) == 8;
17994 rm -f conftest.
$ac_objext
17995 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17996 (eval $ac_compile) 2>conftest.er1
17998 grep -v '^ *+' conftest.er1
>conftest.err
18000 cat conftest.err
>&5
18001 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18002 (exit $ac_status); } &&
18003 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18004 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18005 (eval $ac_try) 2>&5
18007 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18008 (exit $ac_status); }; } &&
18009 { ac_try
='test -s conftest.$ac_objext'
18010 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18011 (eval $ac_try) 2>&5
18013 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18014 (exit $ac_status); }; }; then
18015 ac_cv_sys_file_offset_bits
=64
18017 echo "$as_me: failed program was:" >&5
18018 sed 's/^/| /' conftest.
$ac_ext >&5
18020 ac_cv_sys_file_offset_bits
=no
18022 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18026 echo "$as_me:$LINENO: result: $ac_cv_sys_file_offset_bits" >&5
18027 echo "${ECHO_T}$ac_cv_sys_file_offset_bits" >&6
18029 if test "$ac_cv_sys_file_offset_bits" != no
; then
18031 cat >>confdefs.h
<<_ACEOF
18032 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
18037 if test "x$wx_largefile" != "xyes"; then
18039 echo "$as_me:$LINENO: checking for _LARGE_FILES value needed for large files" >&5
18040 echo $ECHO_N "checking for _LARGE_FILES value needed for large files... $ECHO_C" >&6
18041 if test "${ac_cv_sys_large_files+set}" = set; then
18042 echo $ECHO_N "(cached) $ECHO_C" >&6
18045 cat >conftest.
$ac_ext <<_ACEOF
18048 cat confdefs.h
>>conftest.
$ac_ext
18049 cat >>conftest.
$ac_ext <<_ACEOF
18050 /* end confdefs.h. */
18051 #define _LARGE_FILES 1
18052 #include <sys/types.h>
18057 unsigned int field: sizeof(off_t) == 8;
18064 rm -f conftest.
$ac_objext
18065 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18066 (eval $ac_compile) 2>conftest.er1
18068 grep -v '^ *+' conftest.er1
>conftest.err
18070 cat conftest.err
>&5
18071 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18072 (exit $ac_status); } &&
18073 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18074 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18075 (eval $ac_try) 2>&5
18077 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18078 (exit $ac_status); }; } &&
18079 { ac_try
='test -s conftest.$ac_objext'
18080 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18081 (eval $ac_try) 2>&5
18083 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18084 (exit $ac_status); }; }; then
18085 ac_cv_sys_large_files
=1
18087 echo "$as_me: failed program was:" >&5
18088 sed 's/^/| /' conftest.
$ac_ext >&5
18090 ac_cv_sys_large_files
=no
18092 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18096 echo "$as_me:$LINENO: result: $ac_cv_sys_large_files" >&5
18097 echo "${ECHO_T}$ac_cv_sys_large_files" >&6
18099 if test "$ac_cv_sys_large_files" != no
; then
18101 cat >>confdefs.h
<<_ACEOF
18102 #define _LARGE_FILES $ac_cv_sys_large_files
18109 echo "$as_me:$LINENO: checking if large file support is available" >&5
18110 echo $ECHO_N "checking if large file support is available... $ECHO_C" >&6
18111 if test "x$wx_largefile" = "xyes"; then
18112 cat >>confdefs.h
<<\_ACEOF
18113 #define HAVE_LARGEFILE_SUPPORT 1
18117 echo "$as_me:$LINENO: result: $wx_largefile" >&5
18118 echo "${ECHO_T}$wx_largefile" >&6
18122 if test "x$wx_largefile" = "xyes"; then
18123 if test "x$ac_cv_sys_file_offset_bits" = "x64"; then
18124 WX_LARGEFILE_FLAGS
="-D_FILE_OFFSET_BITS=64 -D_LARGE_FILES"
18126 WX_LARGEFILE_FLAGS
="-D_LARGE_FILES"
18128 CPPFLAGS
="$CPPFLAGS $WX_LARGEFILE_FLAGS"
18131 echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5
18132 echo $ECHO_N "checking whether byte ordering is bigendian... $ECHO_C" >&6
18133 if test "${ac_cv_c_bigendian+set}" = set; then
18134 echo $ECHO_N "(cached) $ECHO_C" >&6
18136 ac_cv_c_bigendian
=unknown
18137 # See if sys/param.h defines the BYTE_ORDER macro.
18138 cat >conftest.
$ac_ext <<_ACEOF
18141 cat confdefs.h
>>conftest.
$ac_ext
18142 cat >>conftest.
$ac_ext <<_ACEOF
18143 /* end confdefs.h. */
18144 #include <sys/types.h>
18145 #include <sys/param.h>
18150 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN
18151 bogus endian macros
18157 rm -f conftest.
$ac_objext
18158 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18159 (eval $ac_compile) 2>conftest.er1
18161 grep -v '^ *+' conftest.er1
>conftest.err
18163 cat conftest.err
>&5
18164 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18165 (exit $ac_status); } &&
18166 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18167 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18168 (eval $ac_try) 2>&5
18170 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18171 (exit $ac_status); }; } &&
18172 { ac_try
='test -s conftest.$ac_objext'
18173 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18174 (eval $ac_try) 2>&5
18176 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18177 (exit $ac_status); }; }; then
18178 # It does; now see whether it defined to BIG_ENDIAN or not.
18179 cat >conftest.
$ac_ext <<_ACEOF
18182 cat confdefs.h
>>conftest.
$ac_ext
18183 cat >>conftest.
$ac_ext <<_ACEOF
18184 /* end confdefs.h. */
18185 #include <sys/types.h>
18186 #include <sys/param.h>
18191 #if BYTE_ORDER != BIG_ENDIAN
18198 rm -f conftest.
$ac_objext
18199 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18200 (eval $ac_compile) 2>conftest.er1
18202 grep -v '^ *+' conftest.er1
>conftest.err
18204 cat conftest.err
>&5
18205 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18206 (exit $ac_status); } &&
18207 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18208 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18209 (eval $ac_try) 2>&5
18211 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18212 (exit $ac_status); }; } &&
18213 { ac_try
='test -s conftest.$ac_objext'
18214 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18215 (eval $ac_try) 2>&5
18217 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18218 (exit $ac_status); }; }; then
18219 ac_cv_c_bigendian
=yes
18221 echo "$as_me: failed program was:" >&5
18222 sed 's/^/| /' conftest.
$ac_ext >&5
18224 ac_cv_c_bigendian
=no
18226 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18228 echo "$as_me: failed program was:" >&5
18229 sed 's/^/| /' conftest.
$ac_ext >&5
18232 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18233 if test $ac_cv_c_bigendian = unknown
; then
18234 if test "$cross_compiling" = yes; then
18235 ac_cv_c_bigendian
=unknown
18237 cat >conftest.
$ac_ext <<_ACEOF
18240 cat confdefs.h
>>conftest.
$ac_ext
18241 cat >>conftest.
$ac_ext <<_ACEOF
18242 /* end confdefs.h. */
18244 /* Are we little or big endian? From Harbison&Steele. */
18248 char c[sizeof (long)];
18251 exit (u.c[sizeof (long) - 1] == 1);
18254 rm -f conftest
$ac_exeext
18255 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18256 (eval $ac_link) 2>&5
18258 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18259 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
18260 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18261 (eval $ac_try) 2>&5
18263 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18264 (exit $ac_status); }; }; then
18265 ac_cv_c_bigendian
=no
18267 echo "$as_me: program exited with status $ac_status" >&5
18268 echo "$as_me: failed program was:" >&5
18269 sed 's/^/| /' conftest.
$ac_ext >&5
18271 ( exit $ac_status )
18272 ac_cv_c_bigendian
=yes
18274 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
18278 echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5
18279 echo "${ECHO_T}$ac_cv_c_bigendian" >&6
18280 if test $ac_cv_c_bigendian = unknown
; then
18281 { 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
18282 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;}
18284 if test $ac_cv_c_bigendian = yes; then
18285 cat >>confdefs.h
<<\_ACEOF
18286 #define WORDS_BIGENDIAN 1
18293 ac_cpp
='$CXXCPP $CPPFLAGS'
18294 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18295 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18296 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
18297 echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5
18298 echo $ECHO_N "checking how to run the C++ preprocessor... $ECHO_C" >&6
18299 if test -z "$CXXCPP"; then
18300 if test "${ac_cv_prog_CXXCPP+set}" = set; then
18301 echo $ECHO_N "(cached) $ECHO_C" >&6
18303 # Double quotes because CXXCPP needs to be expanded
18304 for CXXCPP
in "$CXX -E" "/lib/cpp"
18306 ac_preproc_ok
=false
18307 for ac_cxx_preproc_warn_flag
in '' yes
18309 # Use a header file that comes with gcc, so configuring glibc
18310 # with a fresh cross-compiler works.
18311 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
18312 # <limits.h> exists even on freestanding compilers.
18313 # On the NeXT, cc -E runs the code through the compiler's parser,
18314 # not just through cpp. "Syntax error" is here to catch this case.
18315 cat >conftest.
$ac_ext <<_ACEOF
18318 cat confdefs.h
>>conftest.
$ac_ext
18319 cat >>conftest.
$ac_ext <<_ACEOF
18320 /* end confdefs.h. */
18322 # include <limits.h>
18324 # include <assert.h>
18328 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
18329 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
18331 grep -v '^ *+' conftest.er1
>conftest.err
18333 cat conftest.err
>&5
18334 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18335 (exit $ac_status); } >/dev
/null
; then
18336 if test -s conftest.err
; then
18337 ac_cpp_err
=$ac_cxx_preproc_warn_flag
18338 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
18345 if test -z "$ac_cpp_err"; then
18348 echo "$as_me: failed program was:" >&5
18349 sed 's/^/| /' conftest.
$ac_ext >&5
18351 # Broken: fails on valid input.
18354 rm -f conftest.err conftest.
$ac_ext
18356 # OK, works on sane cases. Now check whether non-existent headers
18357 # can be detected and how.
18358 cat >conftest.
$ac_ext <<_ACEOF
18361 cat confdefs.h
>>conftest.
$ac_ext
18362 cat >>conftest.
$ac_ext <<_ACEOF
18363 /* end confdefs.h. */
18364 #include <ac_nonexistent.h>
18366 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
18367 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
18369 grep -v '^ *+' conftest.er1
>conftest.err
18371 cat conftest.err
>&5
18372 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18373 (exit $ac_status); } >/dev
/null
; then
18374 if test -s conftest.err
; then
18375 ac_cpp_err
=$ac_cxx_preproc_warn_flag
18376 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
18383 if test -z "$ac_cpp_err"; then
18384 # Broken: success on invalid input.
18387 echo "$as_me: failed program was:" >&5
18388 sed 's/^/| /' conftest.
$ac_ext >&5
18390 # Passes both tests.
18394 rm -f conftest.err conftest.
$ac_ext
18397 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
18398 rm -f conftest.err conftest.
$ac_ext
18399 if $ac_preproc_ok; then
18404 ac_cv_prog_CXXCPP
=$CXXCPP
18407 CXXCPP
=$ac_cv_prog_CXXCPP
18409 ac_cv_prog_CXXCPP
=$CXXCPP
18411 echo "$as_me:$LINENO: result: $CXXCPP" >&5
18412 echo "${ECHO_T}$CXXCPP" >&6
18413 ac_preproc_ok
=false
18414 for ac_cxx_preproc_warn_flag
in '' yes
18416 # Use a header file that comes with gcc, so configuring glibc
18417 # with a fresh cross-compiler works.
18418 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
18419 # <limits.h> exists even on freestanding compilers.
18420 # On the NeXT, cc -E runs the code through the compiler's parser,
18421 # not just through cpp. "Syntax error" is here to catch this case.
18422 cat >conftest.
$ac_ext <<_ACEOF
18425 cat confdefs.h
>>conftest.
$ac_ext
18426 cat >>conftest.
$ac_ext <<_ACEOF
18427 /* end confdefs.h. */
18429 # include <limits.h>
18431 # include <assert.h>
18435 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
18436 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
18438 grep -v '^ *+' conftest.er1
>conftest.err
18440 cat conftest.err
>&5
18441 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18442 (exit $ac_status); } >/dev
/null
; then
18443 if test -s conftest.err
; then
18444 ac_cpp_err
=$ac_cxx_preproc_warn_flag
18445 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
18452 if test -z "$ac_cpp_err"; then
18455 echo "$as_me: failed program was:" >&5
18456 sed 's/^/| /' conftest.
$ac_ext >&5
18458 # Broken: fails on valid input.
18461 rm -f conftest.err conftest.
$ac_ext
18463 # OK, works on sane cases. Now check whether non-existent headers
18464 # can be detected and how.
18465 cat >conftest.
$ac_ext <<_ACEOF
18468 cat confdefs.h
>>conftest.
$ac_ext
18469 cat >>conftest.
$ac_ext <<_ACEOF
18470 /* end confdefs.h. */
18471 #include <ac_nonexistent.h>
18473 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
18474 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
18476 grep -v '^ *+' conftest.er1
>conftest.err
18478 cat conftest.err
>&5
18479 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18480 (exit $ac_status); } >/dev
/null
; then
18481 if test -s conftest.err
; then
18482 ac_cpp_err
=$ac_cxx_preproc_warn_flag
18483 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
18490 if test -z "$ac_cpp_err"; then
18491 # Broken: success on invalid input.
18494 echo "$as_me: failed program was:" >&5
18495 sed 's/^/| /' conftest.
$ac_ext >&5
18497 # Passes both tests.
18501 rm -f conftest.err conftest.
$ac_ext
18504 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
18505 rm -f conftest.err conftest.
$ac_ext
18506 if $ac_preproc_ok; then
18509 { { echo "$as_me:$LINENO: error: C++ preprocessor \"$CXXCPP\" fails sanity check
18510 See \`config.log' for more details." >&5
18511 echo "$as_me: error: C++ preprocessor \"$CXXCPP\" fails sanity check
18512 See \`config.log' for more details." >&2;}
18513 { (exit 1); exit 1; }; }
18517 ac_cpp
='$CXXCPP $CPPFLAGS'
18518 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18519 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18520 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
18524 if test "$cross_compiling" = "yes"; then
18525 cat >>confdefs.h
<<\_ACEOF
18526 #define wxUSE_IOSTREAMH 1
18533 ac_cpp
='$CXXCPP $CPPFLAGS'
18534 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18535 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18536 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
18540 for ac_header
in iostream
18542 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
18543 if eval "test \"\${$as_ac_Header+set}\" = set"; then
18544 echo "$as_me:$LINENO: checking for $ac_header" >&5
18545 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
18546 if eval "test \"\${$as_ac_Header+set}\" = set"; then
18547 echo $ECHO_N "(cached) $ECHO_C" >&6
18549 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
18550 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
18552 # Is the header compilable?
18553 echo "$as_me:$LINENO: checking $ac_header usability" >&5
18554 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
18555 cat >conftest.
$ac_ext <<_ACEOF
18558 cat confdefs.h
>>conftest.
$ac_ext
18559 cat >>conftest.
$ac_ext <<_ACEOF
18560 /* end confdefs.h. */
18561 $ac_includes_default
18562 #include <$ac_header>
18564 rm -f conftest.
$ac_objext
18565 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18566 (eval $ac_compile) 2>conftest.er1
18568 grep -v '^ *+' conftest.er1
>conftest.err
18570 cat conftest.err
>&5
18571 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18572 (exit $ac_status); } &&
18573 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
18574 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18575 (eval $ac_try) 2>&5
18577 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18578 (exit $ac_status); }; } &&
18579 { ac_try
='test -s conftest.$ac_objext'
18580 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18581 (eval $ac_try) 2>&5
18583 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18584 (exit $ac_status); }; }; then
18585 ac_header_compiler
=yes
18587 echo "$as_me: failed program was:" >&5
18588 sed 's/^/| /' conftest.
$ac_ext >&5
18590 ac_header_compiler
=no
18592 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18593 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
18594 echo "${ECHO_T}$ac_header_compiler" >&6
18596 # Is the header present?
18597 echo "$as_me:$LINENO: checking $ac_header presence" >&5
18598 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
18599 cat >conftest.
$ac_ext <<_ACEOF
18602 cat confdefs.h
>>conftest.
$ac_ext
18603 cat >>conftest.
$ac_ext <<_ACEOF
18604 /* end confdefs.h. */
18605 #include <$ac_header>
18607 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
18608 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
18610 grep -v '^ *+' conftest.er1
>conftest.err
18612 cat conftest.err
>&5
18613 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18614 (exit $ac_status); } >/dev
/null
; then
18615 if test -s conftest.err
; then
18616 ac_cpp_err
=$ac_cxx_preproc_warn_flag
18617 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
18624 if test -z "$ac_cpp_err"; then
18625 ac_header_preproc
=yes
18627 echo "$as_me: failed program was:" >&5
18628 sed 's/^/| /' conftest.
$ac_ext >&5
18630 ac_header_preproc
=no
18632 rm -f conftest.err conftest.
$ac_ext
18633 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
18634 echo "${ECHO_T}$ac_header_preproc" >&6
18636 # So? What about this header?
18637 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
18639 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
18640 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
18641 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
18642 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
18643 ac_header_preproc
=yes
18646 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
18647 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
18648 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
18649 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
18650 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
18651 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
18652 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
18653 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
18654 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
18655 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
18656 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
18657 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
18660 ## ----------------------------------------- ##
18661 ## Report this to wx-dev@lists.wxwindows.org ##
18662 ## ----------------------------------------- ##
18665 sed "s/^/$as_me: WARNING: /" >&2
18668 echo "$as_me:$LINENO: checking for $ac_header" >&5
18669 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
18670 if eval "test \"\${$as_ac_Header+set}\" = set"; then
18671 echo $ECHO_N "(cached) $ECHO_C" >&6
18673 eval "$as_ac_Header=\$ac_header_preproc"
18675 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
18676 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
18679 if test `eval echo '${'$as_ac_Header'}'` = yes; then
18680 cat >>confdefs.h
<<_ACEOF
18681 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
18689 if test "$ac_cv_header_iostream" = "yes" ; then
18692 cat >>confdefs.h
<<\_ACEOF
18693 #define wxUSE_IOSTREAMH 1
18699 ac_cpp
='$CPP $CPPFLAGS'
18700 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18701 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18702 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
18708 echo "$as_me:$LINENO: checking if C++ compiler supports bool" >&5
18709 echo $ECHO_N "checking if C++ compiler supports bool... $ECHO_C" >&6
18710 if test "${wx_cv_cpp_bool+set}" = set; then
18711 echo $ECHO_N "(cached) $ECHO_C" >&6
18717 ac_cpp
='$CXXCPP $CPPFLAGS'
18718 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18719 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18720 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
18723 cat >conftest.
$ac_ext <<_ACEOF
18726 cat confdefs.h
>>conftest.
$ac_ext
18727 cat >>conftest.
$ac_ext <<_ACEOF
18728 /* end confdefs.h. */
18743 rm -f conftest.
$ac_objext
18744 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18745 (eval $ac_compile) 2>conftest.er1
18747 grep -v '^ *+' conftest.er1
>conftest.err
18749 cat conftest.err
>&5
18750 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18751 (exit $ac_status); } &&
18752 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
18753 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18754 (eval $ac_try) 2>&5
18756 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18757 (exit $ac_status); }; } &&
18758 { ac_try
='test -s conftest.$ac_objext'
18759 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18760 (eval $ac_try) 2>&5
18762 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18763 (exit $ac_status); }; }; then
18768 echo "$as_me: failed program was:" >&5
18769 sed 's/^/| /' conftest.
$ac_ext >&5
18776 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18779 ac_cpp
='$CPP $CPPFLAGS'
18780 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18781 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18782 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
18786 echo "$as_me:$LINENO: result: $wx_cv_cpp_bool" >&5
18787 echo "${ECHO_T}$wx_cv_cpp_bool" >&6
18789 if test "$wx_cv_cpp_bool" = "yes"; then
18790 cat >>confdefs.h
<<\_ACEOF
18791 #define HAVE_BOOL 1
18798 echo "$as_me:$LINENO: checking if C++ compiler supports the explicit keyword" >&5
18799 echo $ECHO_N "checking if C++ compiler supports the explicit keyword... $ECHO_C" >&6
18800 if test "${wx_cv_explicit+set}" = set; then
18801 echo $ECHO_N "(cached) $ECHO_C" >&6
18807 ac_cpp
='$CXXCPP $CPPFLAGS'
18808 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18809 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18810 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
18813 cat >conftest.
$ac_ext <<_ACEOF
18816 cat confdefs.h
>>conftest.
$ac_ext
18817 cat >>conftest.
$ac_ext <<_ACEOF
18818 /* end confdefs.h. */
18820 class Foo { public: explicit Foo(int) {} };
18832 rm -f conftest.
$ac_objext
18833 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18834 (eval $ac_compile) 2>conftest.er1
18836 grep -v '^ *+' conftest.er1
>conftest.err
18838 cat conftest.err
>&5
18839 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18840 (exit $ac_status); } &&
18841 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
18842 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18843 (eval $ac_try) 2>&5
18845 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18846 (exit $ac_status); }; } &&
18847 { ac_try
='test -s conftest.$ac_objext'
18848 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18849 (eval $ac_try) 2>&5
18851 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18852 (exit $ac_status); }; }; then
18854 cat >conftest.
$ac_ext <<_ACEOF
18857 cat confdefs.h
>>conftest.
$ac_ext
18858 cat >>conftest.
$ac_ext <<_ACEOF
18859 /* end confdefs.h. */
18861 class Foo { public: explicit Foo(int) {} };
18862 static void TakeFoo(const Foo& foo) { }
18875 rm -f conftest.
$ac_objext
18876 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18877 (eval $ac_compile) 2>conftest.er1
18879 grep -v '^ *+' conftest.er1
>conftest.err
18881 cat conftest.err
>&5
18882 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18883 (exit $ac_status); } &&
18884 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
18885 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18886 (eval $ac_try) 2>&5
18888 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18889 (exit $ac_status); }; } &&
18890 { ac_try
='test -s conftest.$ac_objext'
18891 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18892 (eval $ac_try) 2>&5
18894 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18895 (exit $ac_status); }; }; then
18898 echo "$as_me: failed program was:" >&5
18899 sed 's/^/| /' conftest.
$ac_ext >&5
18904 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18907 echo "$as_me: failed program was:" >&5
18908 sed 's/^/| /' conftest.
$ac_ext >&5
18913 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18916 ac_cpp
='$CPP $CPPFLAGS'
18917 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18918 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18919 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
18923 echo "$as_me:$LINENO: result: $wx_cv_explicit" >&5
18924 echo "${ECHO_T}$wx_cv_explicit" >&6
18926 if test "$wx_cv_explicit" = "yes"; then
18927 cat >>confdefs.h
<<\_ACEOF
18928 #define HAVE_EXPLICIT 1
18934 echo "$as_me:$LINENO: checking whether the compiler supports const_cast<>" >&5
18935 echo $ECHO_N "checking whether the compiler supports const_cast<>... $ECHO_C" >&6
18936 if test "${ac_cv_cxx_const_cast+set}" = set; then
18937 echo $ECHO_N "(cached) $ECHO_C" >&6
18942 ac_cpp
='$CXXCPP $CPPFLAGS'
18943 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18944 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18945 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
18947 cat >conftest.
$ac_ext <<_ACEOF
18950 cat confdefs.h
>>conftest.
$ac_ext
18951 cat >>conftest.
$ac_ext <<_ACEOF
18952 /* end confdefs.h. */
18957 int x = 0;const int& y = x;int& z = const_cast<int&>(y);return z;
18962 rm -f conftest.
$ac_objext
18963 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18964 (eval $ac_compile) 2>conftest.er1
18966 grep -v '^ *+' conftest.er1
>conftest.err
18968 cat conftest.err
>&5
18969 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18970 (exit $ac_status); } &&
18971 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
18972 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18973 (eval $ac_try) 2>&5
18975 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18976 (exit $ac_status); }; } &&
18977 { ac_try
='test -s conftest.$ac_objext'
18978 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18979 (eval $ac_try) 2>&5
18981 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18982 (exit $ac_status); }; }; then
18983 ac_cv_cxx_const_cast
=yes
18985 echo "$as_me: failed program was:" >&5
18986 sed 's/^/| /' conftest.
$ac_ext >&5
18988 ac_cv_cxx_const_cast
=no
18990 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18992 ac_cpp
='$CPP $CPPFLAGS'
18993 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18994 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18995 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
18999 echo "$as_me:$LINENO: result: $ac_cv_cxx_const_cast" >&5
19000 echo "${ECHO_T}$ac_cv_cxx_const_cast" >&6
19001 if test "$ac_cv_cxx_const_cast" = yes; then
19003 cat >>confdefs.h
<<\_ACEOF
19004 #define HAVE_CONST_CAST
19009 echo "$as_me:$LINENO: checking whether the compiler supports static_cast<>" >&5
19010 echo $ECHO_N "checking whether the compiler supports static_cast<>... $ECHO_C" >&6
19011 if test "${ac_cv_cxx_static_cast+set}" = set; then
19012 echo $ECHO_N "(cached) $ECHO_C" >&6
19017 ac_cpp
='$CXXCPP $CPPFLAGS'
19018 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19019 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19020 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
19022 cat >conftest.
$ac_ext <<_ACEOF
19025 cat confdefs.h
>>conftest.
$ac_ext
19026 cat >>conftest.
$ac_ext <<_ACEOF
19027 /* end confdefs.h. */
19028 #include <typeinfo>
19029 class Base { public : Base () {} virtual void f () = 0; };
19030 class Derived : public Base { public : Derived () {} virtual void f () {} };
19031 int g (Derived&) { return 0; }
19036 Derived d; Base& b = d; Derived& s = static_cast<Derived&> (b); return g (s);
19041 rm -f conftest.
$ac_objext
19042 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19043 (eval $ac_compile) 2>conftest.er1
19045 grep -v '^ *+' conftest.er1
>conftest.err
19047 cat conftest.err
>&5
19048 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19049 (exit $ac_status); } &&
19050 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
19051 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19052 (eval $ac_try) 2>&5
19054 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19055 (exit $ac_status); }; } &&
19056 { ac_try
='test -s conftest.$ac_objext'
19057 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19058 (eval $ac_try) 2>&5
19060 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19061 (exit $ac_status); }; }; then
19062 ac_cv_cxx_static_cast
=yes
19064 echo "$as_me: failed program was:" >&5
19065 sed 's/^/| /' conftest.
$ac_ext >&5
19067 ac_cv_cxx_static_cast
=no
19069 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19071 ac_cpp
='$CPP $CPPFLAGS'
19072 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19073 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19074 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
19078 echo "$as_me:$LINENO: result: $ac_cv_cxx_static_cast" >&5
19079 echo "${ECHO_T}$ac_cv_cxx_static_cast" >&6
19080 if test "$ac_cv_cxx_static_cast" = yes; then
19082 cat >>confdefs.h
<<\_ACEOF
19083 #define HAVE_STATIC_CAST
19089 if test "$wxUSE_STL" = "yes"; then
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
19097 echo "$as_me:$LINENO: checking for basic STL functionality" >&5
19098 echo $ECHO_N "checking for basic STL functionality... $ECHO_C" >&6
19099 cat >conftest.
$ac_ext <<_ACEOF
19102 cat confdefs.h
>>conftest.
$ac_ext
19103 cat >>conftest.
$ac_ext <<_ACEOF
19104 /* end confdefs.h. */
19106 #include <functional>
19107 #include <algorithm>
19113 std::vector<int> moo;
19114 std::list<int> foo;
19115 std::vector<int>::iterator it =
19116 std::find_if(moo.begin(), moo.end(),
19117 std::bind2nd(std::less<int>(), 3));
19122 rm -f conftest.
$ac_objext
19123 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19124 (eval $ac_compile) 2>conftest.er1
19126 grep -v '^ *+' conftest.er1
>conftest.err
19128 cat conftest.err
>&5
19129 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19130 (exit $ac_status); } &&
19131 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
19132 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19133 (eval $ac_try) 2>&5
19135 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19136 (exit $ac_status); }; } &&
19137 { ac_try
='test -s conftest.$ac_objext'
19138 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19139 (eval $ac_try) 2>&5
19141 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19142 (exit $ac_status); }; }; then
19143 echo "$as_me:$LINENO: result: yes" >&5
19144 echo "${ECHO_T}yes" >&6
19146 echo "$as_me: failed program was:" >&5
19147 sed 's/^/| /' conftest.
$ac_ext >&5
19149 echo "$as_me:$LINENO: result: no" >&5
19150 echo "${ECHO_T}no" >&6
19151 { { echo "$as_me:$LINENO: error: Basic STL functionality missing" >&5
19152 echo "$as_me: error: Basic STL functionality missing" >&2;}
19153 { (exit 1); exit 1; }; }
19155 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19157 echo "$as_me:$LINENO: checking for std::wstring in <string>" >&5
19158 echo $ECHO_N "checking for std::wstring in <string>... $ECHO_C" >&6
19159 cat >conftest.
$ac_ext <<_ACEOF
19162 cat confdefs.h
>>conftest.
$ac_ext
19163 cat >>conftest.
$ac_ext <<_ACEOF
19164 /* end confdefs.h. */
19174 rm -f conftest.
$ac_objext
19175 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19176 (eval $ac_compile) 2>conftest.er1
19178 grep -v '^ *+' conftest.er1
>conftest.err
19180 cat conftest.err
>&5
19181 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19182 (exit $ac_status); } &&
19183 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
19184 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19185 (eval $ac_try) 2>&5
19187 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19188 (exit $ac_status); }; } &&
19189 { ac_try
='test -s conftest.$ac_objext'
19190 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19191 (eval $ac_try) 2>&5
19193 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19194 (exit $ac_status); }; }; then
19195 echo "$as_me:$LINENO: result: yes" >&5
19196 echo "${ECHO_T}yes" >&6
19197 cat >>confdefs.h
<<\_ACEOF
19198 #define HAVE_STD_WSTRING 1
19202 echo "$as_me: failed program was:" >&5
19203 sed 's/^/| /' conftest.
$ac_ext >&5
19205 echo "$as_me:$LINENO: result: no" >&5
19206 echo "${ECHO_T}no" >&6
19208 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19210 echo "$as_me:$LINENO: checking for compliant std::string::compare" >&5
19211 echo $ECHO_N "checking for compliant std::string::compare... $ECHO_C" >&6
19212 cat >conftest.
$ac_ext <<_ACEOF
19215 cat confdefs.h
>>conftest.
$ac_ext
19216 cat >>conftest.
$ac_ext <<_ACEOF
19217 /* end confdefs.h. */
19222 std::string foo, bar;
19224 foo.compare(1, 1, bar);
19225 foo.compare(1, 1, bar, 1, 1);
19227 foo.compare(1, 1, "");
19228 foo.compare(1, 1, "", 2);
19233 rm -f conftest.
$ac_objext
19234 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19235 (eval $ac_compile) 2>conftest.er1
19237 grep -v '^ *+' conftest.er1
>conftest.err
19239 cat conftest.err
>&5
19240 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19241 (exit $ac_status); } &&
19242 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
19243 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19244 (eval $ac_try) 2>&5
19246 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19247 (exit $ac_status); }; } &&
19248 { ac_try
='test -s conftest.$ac_objext'
19249 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19250 (eval $ac_try) 2>&5
19252 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19253 (exit $ac_status); }; }; then
19254 echo "$as_me:$LINENO: result: yes" >&5
19255 echo "${ECHO_T}yes" >&6
19256 cat >>confdefs.h
<<\_ACEOF
19257 #define HAVE_STD_STRING_COMPARE 1
19261 echo "$as_me: failed program was:" >&5
19262 sed 's/^/| /' conftest.
$ac_ext >&5
19264 echo "$as_me:$LINENO: result: no" >&5
19265 echo "${ECHO_T}no" >&6
19267 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19270 ac_cpp
='$CPP $CPPFLAGS'
19271 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19272 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19273 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
19279 /usr/local/include \
19281 /usr/Motif-2.1/include \
19282 /usr/Motif-1.2/include \
19283 /usr/include/Motif1.2 \
19284 /opt/xpm/include/X11 \
19285 /opt/GBxpm/include/ \
19286 /opt/GBxpm/X11/include/ \
19289 /usr/openwin/include \
19293 /usr/X11R6/include \
19294 /usr/X11R6.4/include \
19295 /usr/X11R5/include \
19296 /usr/X11R4/include \
19298 /usr/include/X11R6 \
19299 /usr/include/X11R5 \
19300 /usr/include/X11R4 \
19302 /usr/local/X11R6/include \
19303 /usr/local/X11R5/include \
19304 /usr/local/X11R4/include \
19306 /usr/local/include/X11R6 \
19307 /usr/local/include/X11R5 \
19308 /usr/local/include/X11R4 \
19312 /usr/local/X11/include \
19313 /usr/local/include/X11 \
19315 /usr/X386/include \
19316 /usr/x386/include \
19317 /usr/XFree86/include/X11 \
19319 X:/XFree86/include \
19320 X:/XFree86/include/X11 \
19323 /usr/local/include/gtk \
19324 /usr/include/glib \
19325 /usr/local/include/glib \
19328 /usr/local/include/qt \
19330 /usr/local/arm/3.3.2/include \
19332 /usr/include/windows \
19333 /usr/include/wine \
19334 /usr/local/include/wine \
19336 /usr/unsupported/include \
19337 /usr/athena/include \
19338 /usr/local/x11r5/include \
19339 /usr/lpp/Xamples/include \
19341 /usr/openwin/share/include"
19343 SEARCH_LIB
="/usr/lib /usr/lib32 `echo "$SEARCH_INCLUDE" | sed s/include/lib/g` /usr/lib64 /usr/X11R6/lib64"
19346 cat >confcache
<<\_ACEOF
19347 # This file is a shell script that caches the results of configure
19348 # tests run on this system so they can be shared between configure
19349 # scripts and configure runs, see configure's option --config-cache.
19350 # It is not useful on other systems. If it contains results you don't
19351 # want to keep, you may remove or edit it.
19353 # config.status only pays attention to the cache file if you give it
19354 # the --recheck option to rerun configure.
19356 # `ac_cv_env_foo' variables (set or unset) will be overridden when
19357 # loading this file, other *unset* `ac_cv_foo' will be assigned the
19358 # following values.
19362 # The following way of writing the cache mishandles newlines in values,
19363 # but we know of no workaround that is simple, portable, and efficient.
19364 # So, don't put newlines in cache variables' values.
19365 # Ultrix sh set writes to stderr and can't be redirected directly,
19366 # and sets the high bit in the cache file unless we assign to the vars.
19369 case `(ac_space=' '; set | grep ac_space) 2>&1` in
19371 # `set' does not quote correctly, so add quotes (double-quote
19372 # substitution turns \\\\ into \\, and sed turns \\ into \).
19375 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
19378 # `set' quotes correctly as required by POSIX, so do not add quotes.
19380 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
19387 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
19389 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
19391 if diff $cache_file confcache
>/dev
/null
2>&1; then :; else
19392 if test -w $cache_file; then
19393 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
19394 cat confcache
>$cache_file
19396 echo "not updating unwritable cache $cache_file"
19401 if test "$USE_LINUX" = 1 -o "$USE_GNU" = 1; then
19402 echo "$as_me:$LINENO: checking for glibc 2.1 or later" >&5
19403 echo $ECHO_N "checking for glibc 2.1 or later... $ECHO_C" >&6
19404 if test "${wx_cv_lib_glibc21+set}" = set; then
19405 echo $ECHO_N "(cached) $ECHO_C" >&6
19408 cat >conftest.
$ac_ext <<_ACEOF
19411 cat confdefs.h
>>conftest.
$ac_ext
19412 cat >>conftest.
$ac_ext <<_ACEOF
19413 /* end confdefs.h. */
19414 #include <features.h>
19419 #if (__GLIBC__ < 2) || (__GLIBC_MINOR__ < 1)
19420 #error not glibc2.1
19427 rm -f conftest.
$ac_objext
19428 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19429 (eval $ac_compile) 2>conftest.er1
19431 grep -v '^ *+' conftest.er1
>conftest.err
19433 cat conftest.err
>&5
19434 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19435 (exit $ac_status); } &&
19436 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19437 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19438 (eval $ac_try) 2>&5
19440 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19441 (exit $ac_status); }; } &&
19442 { ac_try
='test -s conftest.$ac_objext'
19443 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19444 (eval $ac_try) 2>&5
19446 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19447 (exit $ac_status); }; }; then
19449 wx_cv_lib_glibc21
=yes
19452 echo "$as_me: failed program was:" >&5
19453 sed 's/^/| /' conftest.
$ac_ext >&5
19456 wx_cv_lib_glibc21
=no
19460 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19463 echo "$as_me:$LINENO: result: $wx_cv_lib_glibc21" >&5
19464 echo "${ECHO_T}$wx_cv_lib_glibc21" >&6
19465 if test "$wx_cv_lib_glibc21" = "yes"; then
19466 cat >>confdefs.h
<<\_ACEOF
19467 #define wxHAVE_GLIBC2 1
19473 if test "x$wx_cv_lib_glibc21" = "xyes"; then
19474 if test "$wxUSE_UNICODE" = "yes" -o "$wxUSE_THREADS" = "yes"; then
19475 cat >>confdefs.h
<<\_ACEOF
19476 #define _GNU_SOURCE 1
19484 if test "$wxUSE_REGEX" != "no"; then
19485 cat >>confdefs.h
<<\_ACEOF
19486 #define wxUSE_REGEX 1
19490 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_REGEX" = "yes"; then
19491 { echo "$as_me:$LINENO: WARNING: Defaulting to the the builtin regex library for Unicode build." >&5
19492 echo "$as_me: WARNING: Defaulting to the the builtin regex library for Unicode build." >&2;}
19493 wxUSE_REGEX
=builtin
19496 if test "$wxUSE_REGEX" = "sys" -o "$wxUSE_REGEX" = "yes" ; then
19497 if test "${ac_cv_header_regex_h+set}" = set; then
19498 echo "$as_me:$LINENO: checking for regex.h" >&5
19499 echo $ECHO_N "checking for regex.h... $ECHO_C" >&6
19500 if test "${ac_cv_header_regex_h+set}" = set; then
19501 echo $ECHO_N "(cached) $ECHO_C" >&6
19503 echo "$as_me:$LINENO: result: $ac_cv_header_regex_h" >&5
19504 echo "${ECHO_T}$ac_cv_header_regex_h" >&6
19506 # Is the header compilable?
19507 echo "$as_me:$LINENO: checking regex.h usability" >&5
19508 echo $ECHO_N "checking regex.h usability... $ECHO_C" >&6
19509 cat >conftest.
$ac_ext <<_ACEOF
19512 cat confdefs.h
>>conftest.
$ac_ext
19513 cat >>conftest.
$ac_ext <<_ACEOF
19514 /* end confdefs.h. */
19515 $ac_includes_default
19518 rm -f conftest.
$ac_objext
19519 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19520 (eval $ac_compile) 2>conftest.er1
19522 grep -v '^ *+' conftest.er1
>conftest.err
19524 cat conftest.err
>&5
19525 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19526 (exit $ac_status); } &&
19527 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19528 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19529 (eval $ac_try) 2>&5
19531 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19532 (exit $ac_status); }; } &&
19533 { ac_try
='test -s conftest.$ac_objext'
19534 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19535 (eval $ac_try) 2>&5
19537 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19538 (exit $ac_status); }; }; then
19539 ac_header_compiler
=yes
19541 echo "$as_me: failed program was:" >&5
19542 sed 's/^/| /' conftest.
$ac_ext >&5
19544 ac_header_compiler
=no
19546 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19547 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
19548 echo "${ECHO_T}$ac_header_compiler" >&6
19550 # Is the header present?
19551 echo "$as_me:$LINENO: checking regex.h presence" >&5
19552 echo $ECHO_N "checking regex.h presence... $ECHO_C" >&6
19553 cat >conftest.
$ac_ext <<_ACEOF
19556 cat confdefs.h
>>conftest.
$ac_ext
19557 cat >>conftest.
$ac_ext <<_ACEOF
19558 /* end confdefs.h. */
19561 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
19562 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
19564 grep -v '^ *+' conftest.er1
>conftest.err
19566 cat conftest.err
>&5
19567 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19568 (exit $ac_status); } >/dev
/null
; then
19569 if test -s conftest.err
; then
19570 ac_cpp_err
=$ac_c_preproc_warn_flag
19571 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
19578 if test -z "$ac_cpp_err"; then
19579 ac_header_preproc
=yes
19581 echo "$as_me: failed program was:" >&5
19582 sed 's/^/| /' conftest.
$ac_ext >&5
19584 ac_header_preproc
=no
19586 rm -f conftest.err conftest.
$ac_ext
19587 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
19588 echo "${ECHO_T}$ac_header_preproc" >&6
19590 # So? What about this header?
19591 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
19593 { echo "$as_me:$LINENO: WARNING: regex.h: accepted by the compiler, rejected by the preprocessor!" >&5
19594 echo "$as_me: WARNING: regex.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
19595 { echo "$as_me:$LINENO: WARNING: regex.h: proceeding with the compiler's result" >&5
19596 echo "$as_me: WARNING: regex.h: proceeding with the compiler's result" >&2;}
19597 ac_header_preproc
=yes
19600 { echo "$as_me:$LINENO: WARNING: regex.h: present but cannot be compiled" >&5
19601 echo "$as_me: WARNING: regex.h: present but cannot be compiled" >&2;}
19602 { echo "$as_me:$LINENO: WARNING: regex.h: check for missing prerequisite headers?" >&5
19603 echo "$as_me: WARNING: regex.h: check for missing prerequisite headers?" >&2;}
19604 { echo "$as_me:$LINENO: WARNING: regex.h: see the Autoconf documentation" >&5
19605 echo "$as_me: WARNING: regex.h: see the Autoconf documentation" >&2;}
19606 { echo "$as_me:$LINENO: WARNING: regex.h: section \"Present But Cannot Be Compiled\"" >&5
19607 echo "$as_me: WARNING: regex.h: section \"Present But Cannot Be Compiled\"" >&2;}
19608 { echo "$as_me:$LINENO: WARNING: regex.h: proceeding with the preprocessor's result" >&5
19609 echo "$as_me: WARNING: regex.h: proceeding with the preprocessor's result" >&2;}
19610 { echo "$as_me:$LINENO: WARNING: regex.h: in the future, the compiler will take precedence" >&5
19611 echo "$as_me: WARNING: regex.h: in the future, the compiler will take precedence" >&2;}
19614 ## ----------------------------------------- ##
19615 ## Report this to wx-dev@lists.wxwindows.org ##
19616 ## ----------------------------------------- ##
19619 sed "s/^/$as_me: WARNING: /" >&2
19622 echo "$as_me:$LINENO: checking for regex.h" >&5
19623 echo $ECHO_N "checking for regex.h... $ECHO_C" >&6
19624 if test "${ac_cv_header_regex_h+set}" = set; then
19625 echo $ECHO_N "(cached) $ECHO_C" >&6
19627 ac_cv_header_regex_h
=$ac_header_preproc
19629 echo "$as_me:$LINENO: result: $ac_cv_header_regex_h" >&5
19630 echo "${ECHO_T}$ac_cv_header_regex_h" >&6
19633 if test $ac_cv_header_regex_h = yes; then
19635 for ac_func
in regcomp
19637 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
19638 echo "$as_me:$LINENO: checking for $ac_func" >&5
19639 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
19640 if eval "test \"\${$as_ac_var+set}\" = set"; then
19641 echo $ECHO_N "(cached) $ECHO_C" >&6
19643 cat >conftest.
$ac_ext <<_ACEOF
19646 cat confdefs.h
>>conftest.
$ac_ext
19647 cat >>conftest.
$ac_ext <<_ACEOF
19648 /* end confdefs.h. */
19649 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
19650 For example, HP-UX 11i <limits.h> declares gettimeofday. */
19651 #define $ac_func innocuous_$ac_func
19653 /* System header to define __stub macros and hopefully few prototypes,
19654 which can conflict with char $ac_func (); below.
19655 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
19656 <limits.h> exists even on freestanding compilers. */
19659 # include <limits.h>
19661 # include <assert.h>
19666 /* Override any gcc2 internal prototype to avoid an error. */
19671 /* We use char because int might match the return type of a gcc2
19672 builtin and then its argument prototype would still apply. */
19674 /* The GNU C library defines this for functions which it implements
19675 to always fail with ENOSYS. Some functions are actually named
19676 something starting with __ and the normal name is an alias. */
19677 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19680 char (*f) () = $ac_func;
19689 return f != $ac_func;
19694 rm -f conftest.
$ac_objext conftest
$ac_exeext
19695 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19696 (eval $ac_link) 2>conftest.er1
19698 grep -v '^ *+' conftest.er1
>conftest.err
19700 cat conftest.err
>&5
19701 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19702 (exit $ac_status); } &&
19703 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19704 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19705 (eval $ac_try) 2>&5
19707 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19708 (exit $ac_status); }; } &&
19709 { ac_try
='test -s conftest$ac_exeext'
19710 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19711 (eval $ac_try) 2>&5
19713 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19714 (exit $ac_status); }; }; then
19715 eval "$as_ac_var=yes"
19717 echo "$as_me: failed program was:" >&5
19718 sed 's/^/| /' conftest.
$ac_ext >&5
19720 eval "$as_ac_var=no"
19722 rm -f conftest.err conftest.
$ac_objext \
19723 conftest
$ac_exeext conftest.
$ac_ext
19725 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
19726 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
19727 if test `eval echo '${'$as_ac_var'}'` = yes; then
19728 cat >>confdefs.h
<<_ACEOF
19729 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
19739 if test "x$ac_cv_func_regcomp" != "xyes"; then
19740 if test "$wxUSE_REGEX" = "sys" ; then
19741 { { echo "$as_me:$LINENO: error: system regex library not found! Use --with-regex to use built-in version" >&5
19742 echo "$as_me: error: system regex library not found! Use --with-regex to use built-in version" >&2;}
19743 { (exit 1); exit 1; }; }
19745 { echo "$as_me:$LINENO: WARNING: system regex library not found, will use built-in instead" >&5
19746 echo "$as_me: WARNING: system regex library not found, will use built-in instead" >&2;}
19747 wxUSE_REGEX
=builtin
19751 cat >>confdefs.h
<<\_ACEOF
19752 #define WX_NO_REGEX_ADVANCED 1
19761 if test "$wxUSE_ZLIB" != "no" ; then
19762 cat >>confdefs.h
<<\_ACEOF
19763 #define wxUSE_ZLIB 1
19767 if test "$wxUSE_ZLIB" = "sys" -o "$wxUSE_ZLIB" = "yes" ; then
19768 if test "$USE_DARWIN" = 1; then
19769 system_zlib_h_ok
="yes"
19771 echo "$as_me:$LINENO: checking for zlib.h >= 1.1.4" >&5
19772 echo $ECHO_N "checking for zlib.h >= 1.1.4... $ECHO_C" >&6
19773 if test "${ac_cv_header_zlib_h+set}" = set; then
19774 echo $ECHO_N "(cached) $ECHO_C" >&6
19776 if test "$cross_compiling" = yes; then
19777 unset ac_cv_header_zlib_h
19780 cat >conftest.
$ac_ext <<_ACEOF
19783 cat confdefs.h
>>conftest.
$ac_ext
19784 cat >>conftest.
$ac_ext <<_ACEOF
19785 /* end confdefs.h. */
19792 FILE *f=fopen("conftestval", "w");
19795 ZLIB_VERSION[0] == '1' &&
19796 (ZLIB_VERSION[2] > '1' ||
19797 (ZLIB_VERSION[2] == '1' &&
19798 ZLIB_VERSION[4] >= '4')) ? "yes" : "no");
19803 rm -f conftest
$ac_exeext
19804 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19805 (eval $ac_link) 2>&5
19807 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19808 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
19809 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19810 (eval $ac_try) 2>&5
19812 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19813 (exit $ac_status); }; }; then
19814 ac_cv_header_zlib_h
=`cat conftestval`
19816 echo "$as_me: program exited with status $ac_status" >&5
19817 echo "$as_me: failed program was:" >&5
19818 sed 's/^/| /' conftest.
$ac_ext >&5
19820 ( exit $ac_status )
19821 ac_cv_header_zlib_h
=no
19823 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
19827 echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
19828 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6
19829 if test "${ac_cv_header_zlib_h+set}" = set; then
19830 echo "$as_me:$LINENO: checking for zlib.h" >&5
19831 echo $ECHO_N "checking for zlib.h... $ECHO_C" >&6
19832 if test "${ac_cv_header_zlib_h+set}" = set; then
19833 echo $ECHO_N "(cached) $ECHO_C" >&6
19835 echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
19836 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6
19838 # Is the header compilable?
19839 echo "$as_me:$LINENO: checking zlib.h usability" >&5
19840 echo $ECHO_N "checking zlib.h usability... $ECHO_C" >&6
19841 cat >conftest.
$ac_ext <<_ACEOF
19844 cat confdefs.h
>>conftest.
$ac_ext
19845 cat >>conftest.
$ac_ext <<_ACEOF
19846 /* end confdefs.h. */
19847 $ac_includes_default
19850 rm -f conftest.
$ac_objext
19851 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19852 (eval $ac_compile) 2>conftest.er1
19854 grep -v '^ *+' conftest.er1
>conftest.err
19856 cat conftest.err
>&5
19857 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19858 (exit $ac_status); } &&
19859 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19860 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19861 (eval $ac_try) 2>&5
19863 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19864 (exit $ac_status); }; } &&
19865 { ac_try
='test -s conftest.$ac_objext'
19866 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19867 (eval $ac_try) 2>&5
19869 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19870 (exit $ac_status); }; }; then
19871 ac_header_compiler
=yes
19873 echo "$as_me: failed program was:" >&5
19874 sed 's/^/| /' conftest.
$ac_ext >&5
19876 ac_header_compiler
=no
19878 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19879 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
19880 echo "${ECHO_T}$ac_header_compiler" >&6
19882 # Is the header present?
19883 echo "$as_me:$LINENO: checking zlib.h presence" >&5
19884 echo $ECHO_N "checking zlib.h presence... $ECHO_C" >&6
19885 cat >conftest.
$ac_ext <<_ACEOF
19888 cat confdefs.h
>>conftest.
$ac_ext
19889 cat >>conftest.
$ac_ext <<_ACEOF
19890 /* end confdefs.h. */
19893 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
19894 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
19896 grep -v '^ *+' conftest.er1
>conftest.err
19898 cat conftest.err
>&5
19899 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19900 (exit $ac_status); } >/dev
/null
; then
19901 if test -s conftest.err
; then
19902 ac_cpp_err
=$ac_c_preproc_warn_flag
19903 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
19910 if test -z "$ac_cpp_err"; then
19911 ac_header_preproc
=yes
19913 echo "$as_me: failed program was:" >&5
19914 sed 's/^/| /' conftest.
$ac_ext >&5
19916 ac_header_preproc
=no
19918 rm -f conftest.err conftest.
$ac_ext
19919 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
19920 echo "${ECHO_T}$ac_header_preproc" >&6
19922 # So? What about this header?
19923 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
19925 { echo "$as_me:$LINENO: WARNING: zlib.h: accepted by the compiler, rejected by the preprocessor!" >&5
19926 echo "$as_me: WARNING: zlib.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
19927 { echo "$as_me:$LINENO: WARNING: zlib.h: proceeding with the compiler's result" >&5
19928 echo "$as_me: WARNING: zlib.h: proceeding with the compiler's result" >&2;}
19929 ac_header_preproc
=yes
19932 { echo "$as_me:$LINENO: WARNING: zlib.h: present but cannot be compiled" >&5
19933 echo "$as_me: WARNING: zlib.h: present but cannot be compiled" >&2;}
19934 { echo "$as_me:$LINENO: WARNING: zlib.h: check for missing prerequisite headers?" >&5
19935 echo "$as_me: WARNING: zlib.h: check for missing prerequisite headers?" >&2;}
19936 { echo "$as_me:$LINENO: WARNING: zlib.h: see the Autoconf documentation" >&5
19937 echo "$as_me: WARNING: zlib.h: see the Autoconf documentation" >&2;}
19938 { echo "$as_me:$LINENO: WARNING: zlib.h: section \"Present But Cannot Be Compiled\"" >&5
19939 echo "$as_me: WARNING: zlib.h: section \"Present But Cannot Be Compiled\"" >&2;}
19940 { echo "$as_me:$LINENO: WARNING: zlib.h: proceeding with the preprocessor's result" >&5
19941 echo "$as_me: WARNING: zlib.h: proceeding with the preprocessor's result" >&2;}
19942 { echo "$as_me:$LINENO: WARNING: zlib.h: in the future, the compiler will take precedence" >&5
19943 echo "$as_me: WARNING: zlib.h: in the future, the compiler will take precedence" >&2;}
19946 ## ----------------------------------------- ##
19947 ## Report this to wx-dev@lists.wxwindows.org ##
19948 ## ----------------------------------------- ##
19951 sed "s/^/$as_me: WARNING: /" >&2
19954 echo "$as_me:$LINENO: checking for zlib.h" >&5
19955 echo $ECHO_N "checking for zlib.h... $ECHO_C" >&6
19956 if test "${ac_cv_header_zlib_h+set}" = set; then
19957 echo $ECHO_N "(cached) $ECHO_C" >&6
19959 ac_cv_header_zlib_h
=$ac_header_preproc
19961 echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
19962 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6
19968 system_zlib_h_ok
=$ac_cv_header_zlib_h
19971 if test "$system_zlib_h_ok" = "yes"; then
19972 echo "$as_me:$LINENO: checking for deflate in -lz" >&5
19973 echo $ECHO_N "checking for deflate in -lz... $ECHO_C" >&6
19974 if test "${ac_cv_lib_z_deflate+set}" = set; then
19975 echo $ECHO_N "(cached) $ECHO_C" >&6
19977 ac_check_lib_save_LIBS
=$LIBS
19979 cat >conftest.
$ac_ext <<_ACEOF
19982 cat confdefs.h
>>conftest.
$ac_ext
19983 cat >>conftest.
$ac_ext <<_ACEOF
19984 /* end confdefs.h. */
19986 /* Override any gcc2 internal prototype to avoid an error. */
19990 /* We use char because int might match the return type of a gcc2
19991 builtin and then its argument prototype would still apply. */
20001 rm -f conftest.
$ac_objext conftest
$ac_exeext
20002 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20003 (eval $ac_link) 2>conftest.er1
20005 grep -v '^ *+' conftest.er1
>conftest.err
20007 cat conftest.err
>&5
20008 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20009 (exit $ac_status); } &&
20010 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20011 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20012 (eval $ac_try) 2>&5
20014 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20015 (exit $ac_status); }; } &&
20016 { ac_try
='test -s conftest$ac_exeext'
20017 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20018 (eval $ac_try) 2>&5
20020 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20021 (exit $ac_status); }; }; then
20022 ac_cv_lib_z_deflate
=yes
20024 echo "$as_me: failed program was:" >&5
20025 sed 's/^/| /' conftest.
$ac_ext >&5
20027 ac_cv_lib_z_deflate
=no
20029 rm -f conftest.err conftest.
$ac_objext \
20030 conftest
$ac_exeext conftest.
$ac_ext
20031 LIBS
=$ac_check_lib_save_LIBS
20033 echo "$as_me:$LINENO: result: $ac_cv_lib_z_deflate" >&5
20034 echo "${ECHO_T}$ac_cv_lib_z_deflate" >&6
20035 if test $ac_cv_lib_z_deflate = yes; then
20041 if test "x$ZLIB_LINK" = "x" ; then
20042 if test "$wxUSE_ZLIB" = "sys" ; then
20043 { { echo "$as_me:$LINENO: error: zlib library not found or too old! Use --with-zlib=builtin to use built-in version" >&5
20044 echo "$as_me: error: zlib library not found or too old! Use --with-zlib=builtin to use built-in version" >&2;}
20045 { (exit 1); exit 1; }; }
20047 { echo "$as_me:$LINENO: WARNING: zlib library not found or too old, will use built-in instead" >&5
20048 echo "$as_me: WARNING: zlib library not found or too old, will use built-in instead" >&2;}
20059 if test "$wxUSE_LIBPNG" != "no" ; then
20060 cat >>confdefs.h
<<\_ACEOF
20061 #define wxUSE_LIBPNG 1
20065 if test "$wxUSE_MGL" = 1 -a "$wxUSE_LIBPNG" = "builtin" ; then
20066 { echo "$as_me:$LINENO: WARNING: wxMGL doesn't work with builtin png library, will use MGL one instead" >&5
20067 echo "$as_me: WARNING: wxMGL doesn't work with builtin png library, will use MGL one instead" >&2;}
20071 if test "$wxUSE_MGL" != 1 -a "$wxUSE_LIBPNG" = "sys" -a "$wxUSE_ZLIB" != "sys" ; then
20072 { echo "$as_me:$LINENO: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&5
20073 echo "$as_me: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&2;}
20074 wxUSE_LIBPNG
=builtin
20077 if test "$wxUSE_MGL" != 1 ; then
20078 if test "$wxUSE_LIBPNG" = "sys" -o "$wxUSE_LIBPNG" = "yes" ; then
20079 echo "$as_me:$LINENO: checking for png.h > 0.90" >&5
20080 echo $ECHO_N "checking for png.h > 0.90... $ECHO_C" >&6
20081 if test "${ac_cv_header_png_h+set}" = set; then
20082 echo $ECHO_N "(cached) $ECHO_C" >&6
20084 if test "$cross_compiling" = yes; then
20085 unset ac_cv_header_png_h
20088 cat >conftest.
$ac_ext <<_ACEOF
20091 cat confdefs.h
>>conftest.
$ac_ext
20092 cat >>conftest.
$ac_ext <<_ACEOF
20093 /* end confdefs.h. */
20100 FILE *f=fopen("conftestval", "w");
20103 PNG_LIBPNG_VER > 90 ? "yes" : "no");
20108 rm -f conftest
$ac_exeext
20109 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20110 (eval $ac_link) 2>&5
20112 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20113 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
20114 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20115 (eval $ac_try) 2>&5
20117 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20118 (exit $ac_status); }; }; then
20119 ac_cv_header_png_h
=`cat conftestval`
20121 echo "$as_me: program exited with status $ac_status" >&5
20122 echo "$as_me: failed program was:" >&5
20123 sed 's/^/| /' conftest.
$ac_ext >&5
20125 ( exit $ac_status )
20126 ac_cv_header_png_h
=no
20128 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
20132 echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
20133 echo "${ECHO_T}$ac_cv_header_png_h" >&6
20134 if test "${ac_cv_header_png_h+set}" = set; then
20135 echo "$as_me:$LINENO: checking for png.h" >&5
20136 echo $ECHO_N "checking for png.h... $ECHO_C" >&6
20137 if test "${ac_cv_header_png_h+set}" = set; then
20138 echo $ECHO_N "(cached) $ECHO_C" >&6
20140 echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
20141 echo "${ECHO_T}$ac_cv_header_png_h" >&6
20143 # Is the header compilable?
20144 echo "$as_me:$LINENO: checking png.h usability" >&5
20145 echo $ECHO_N "checking png.h usability... $ECHO_C" >&6
20146 cat >conftest.
$ac_ext <<_ACEOF
20149 cat confdefs.h
>>conftest.
$ac_ext
20150 cat >>conftest.
$ac_ext <<_ACEOF
20151 /* end confdefs.h. */
20152 $ac_includes_default
20155 rm -f conftest.
$ac_objext
20156 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20157 (eval $ac_compile) 2>conftest.er1
20159 grep -v '^ *+' conftest.er1
>conftest.err
20161 cat conftest.err
>&5
20162 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20163 (exit $ac_status); } &&
20164 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20165 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20166 (eval $ac_try) 2>&5
20168 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20169 (exit $ac_status); }; } &&
20170 { ac_try
='test -s conftest.$ac_objext'
20171 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20172 (eval $ac_try) 2>&5
20174 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20175 (exit $ac_status); }; }; then
20176 ac_header_compiler
=yes
20178 echo "$as_me: failed program was:" >&5
20179 sed 's/^/| /' conftest.
$ac_ext >&5
20181 ac_header_compiler
=no
20183 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20184 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
20185 echo "${ECHO_T}$ac_header_compiler" >&6
20187 # Is the header present?
20188 echo "$as_me:$LINENO: checking png.h presence" >&5
20189 echo $ECHO_N "checking png.h presence... $ECHO_C" >&6
20190 cat >conftest.
$ac_ext <<_ACEOF
20193 cat confdefs.h
>>conftest.
$ac_ext
20194 cat >>conftest.
$ac_ext <<_ACEOF
20195 /* end confdefs.h. */
20198 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
20199 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
20201 grep -v '^ *+' conftest.er1
>conftest.err
20203 cat conftest.err
>&5
20204 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20205 (exit $ac_status); } >/dev
/null
; then
20206 if test -s conftest.err
; then
20207 ac_cpp_err
=$ac_c_preproc_warn_flag
20208 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
20215 if test -z "$ac_cpp_err"; then
20216 ac_header_preproc
=yes
20218 echo "$as_me: failed program was:" >&5
20219 sed 's/^/| /' conftest.
$ac_ext >&5
20221 ac_header_preproc
=no
20223 rm -f conftest.err conftest.
$ac_ext
20224 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
20225 echo "${ECHO_T}$ac_header_preproc" >&6
20227 # So? What about this header?
20228 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
20230 { echo "$as_me:$LINENO: WARNING: png.h: accepted by the compiler, rejected by the preprocessor!" >&5
20231 echo "$as_me: WARNING: png.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
20232 { echo "$as_me:$LINENO: WARNING: png.h: proceeding with the compiler's result" >&5
20233 echo "$as_me: WARNING: png.h: proceeding with the compiler's result" >&2;}
20234 ac_header_preproc
=yes
20237 { echo "$as_me:$LINENO: WARNING: png.h: present but cannot be compiled" >&5
20238 echo "$as_me: WARNING: png.h: present but cannot be compiled" >&2;}
20239 { echo "$as_me:$LINENO: WARNING: png.h: check for missing prerequisite headers?" >&5
20240 echo "$as_me: WARNING: png.h: check for missing prerequisite headers?" >&2;}
20241 { echo "$as_me:$LINENO: WARNING: png.h: see the Autoconf documentation" >&5
20242 echo "$as_me: WARNING: png.h: see the Autoconf documentation" >&2;}
20243 { echo "$as_me:$LINENO: WARNING: png.h: section \"Present But Cannot Be Compiled\"" >&5
20244 echo "$as_me: WARNING: png.h: section \"Present But Cannot Be Compiled\"" >&2;}
20245 { echo "$as_me:$LINENO: WARNING: png.h: proceeding with the preprocessor's result" >&5
20246 echo "$as_me: WARNING: png.h: proceeding with the preprocessor's result" >&2;}
20247 { echo "$as_me:$LINENO: WARNING: png.h: in the future, the compiler will take precedence" >&5
20248 echo "$as_me: WARNING: png.h: in the future, the compiler will take precedence" >&2;}
20251 ## ----------------------------------------- ##
20252 ## Report this to wx-dev@lists.wxwindows.org ##
20253 ## ----------------------------------------- ##
20256 sed "s/^/$as_me: WARNING: /" >&2
20259 echo "$as_me:$LINENO: checking for png.h" >&5
20260 echo $ECHO_N "checking for png.h... $ECHO_C" >&6
20261 if test "${ac_cv_header_png_h+set}" = set; then
20262 echo $ECHO_N "(cached) $ECHO_C" >&6
20264 ac_cv_header_png_h
=$ac_header_preproc
20266 echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
20267 echo "${ECHO_T}$ac_cv_header_png_h" >&6
20273 if test "$ac_cv_header_png_h" = "yes"; then
20274 echo "$as_me:$LINENO: checking for png_check_sig in -lpng" >&5
20275 echo $ECHO_N "checking for png_check_sig in -lpng... $ECHO_C" >&6
20276 if test "${ac_cv_lib_png_png_check_sig+set}" = set; then
20277 echo $ECHO_N "(cached) $ECHO_C" >&6
20279 ac_check_lib_save_LIBS
=$LIBS
20280 LIBS
="-lpng -lz -lm $LIBS"
20281 cat >conftest.
$ac_ext <<_ACEOF
20284 cat confdefs.h
>>conftest.
$ac_ext
20285 cat >>conftest.
$ac_ext <<_ACEOF
20286 /* end confdefs.h. */
20288 /* Override any gcc2 internal prototype to avoid an error. */
20292 /* We use char because int might match the return type of a gcc2
20293 builtin and then its argument prototype would still apply. */
20294 char png_check_sig ();
20303 rm -f conftest.
$ac_objext conftest
$ac_exeext
20304 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20305 (eval $ac_link) 2>conftest.er1
20307 grep -v '^ *+' conftest.er1
>conftest.err
20309 cat conftest.err
>&5
20310 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20311 (exit $ac_status); } &&
20312 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20313 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20314 (eval $ac_try) 2>&5
20316 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20317 (exit $ac_status); }; } &&
20318 { ac_try
='test -s conftest$ac_exeext'
20319 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20320 (eval $ac_try) 2>&5
20322 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20323 (exit $ac_status); }; }; then
20324 ac_cv_lib_png_png_check_sig
=yes
20326 echo "$as_me: failed program was:" >&5
20327 sed 's/^/| /' conftest.
$ac_ext >&5
20329 ac_cv_lib_png_png_check_sig
=no
20331 rm -f conftest.err conftest.
$ac_objext \
20332 conftest
$ac_exeext conftest.
$ac_ext
20333 LIBS
=$ac_check_lib_save_LIBS
20335 echo "$as_me:$LINENO: result: $ac_cv_lib_png_png_check_sig" >&5
20336 echo "${ECHO_T}$ac_cv_lib_png_png_check_sig" >&6
20337 if test $ac_cv_lib_png_png_check_sig = yes; then
20343 if test "x$PNG_LINK" = "x" ; then
20344 if test "$wxUSE_LIBPNG" = "sys" ; then
20345 { { echo "$as_me:$LINENO: error: system png library not found or too old! Use --with-libpng=builtin to use built-in version" >&5
20346 echo "$as_me: error: system png library not found or too old! Use --with-libpng=builtin to use built-in version" >&2;}
20347 { (exit 1); exit 1; }; }
20349 { echo "$as_me:$LINENO: WARNING: system png library not found or too old, will use built-in instead" >&5
20350 echo "$as_me: WARNING: system png library not found or too old, will use built-in instead" >&2;}
20351 wxUSE_LIBPNG
=builtin
20359 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS png"
20364 if test "$wxUSE_LIBJPEG" != "no" ; then
20365 cat >>confdefs.h
<<\_ACEOF
20366 #define wxUSE_LIBJPEG 1
20370 if test "$wxUSE_MGL" = 1 -a "$wxUSE_LIBJPEG" = "builtin" ; then
20371 { echo "$as_me:$LINENO: WARNING: wxMGL doesn't work with builtin jpeg library, will use MGL one instead" >&5
20372 echo "$as_me: WARNING: wxMGL doesn't work with builtin jpeg library, will use MGL one instead" >&2;}
20376 if test "$wxUSE_MGL" != 1 ; then
20377 if test "$wxUSE_LIBJPEG" = "sys" -o "$wxUSE_LIBJPEG" = "yes" ; then
20378 echo "$as_me:$LINENO: checking for jpeglib.h" >&5
20379 echo $ECHO_N "checking for jpeglib.h... $ECHO_C" >&6
20380 if test "${ac_cv_header_jpeglib_h+set}" = set; then
20381 echo $ECHO_N "(cached) $ECHO_C" >&6
20383 cat >conftest.
$ac_ext <<_ACEOF
20386 cat confdefs.h
>>conftest.
$ac_ext
20387 cat >>conftest.
$ac_ext <<_ACEOF
20388 /* end confdefs.h. */
20390 #undef HAVE_STDLIB_H
20392 #include <jpeglib.h>
20403 rm -f conftest.
$ac_objext
20404 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20405 (eval $ac_compile) 2>conftest.er1
20407 grep -v '^ *+' conftest.er1
>conftest.err
20409 cat conftest.err
>&5
20410 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20411 (exit $ac_status); } &&
20412 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20413 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20414 (eval $ac_try) 2>&5
20416 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20417 (exit $ac_status); }; } &&
20418 { ac_try
='test -s conftest.$ac_objext'
20419 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20420 (eval $ac_try) 2>&5
20422 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20423 (exit $ac_status); }; }; then
20424 ac_cv_header_jpeglib_h
=yes
20426 echo "$as_me: failed program was:" >&5
20427 sed 's/^/| /' conftest.
$ac_ext >&5
20429 ac_cv_header_jpeglib_h
=no
20432 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20436 echo "$as_me:$LINENO: result: $ac_cv_header_jpeglib_h" >&5
20437 echo "${ECHO_T}$ac_cv_header_jpeglib_h" >&6
20439 if test "$ac_cv_header_jpeglib_h" = "yes"; then
20440 echo "$as_me:$LINENO: checking for jpeg_read_header in -ljpeg" >&5
20441 echo $ECHO_N "checking for jpeg_read_header in -ljpeg... $ECHO_C" >&6
20442 if test "${ac_cv_lib_jpeg_jpeg_read_header+set}" = set; then
20443 echo $ECHO_N "(cached) $ECHO_C" >&6
20445 ac_check_lib_save_LIBS
=$LIBS
20446 LIBS
="-ljpeg $LIBS"
20447 cat >conftest.
$ac_ext <<_ACEOF
20450 cat confdefs.h
>>conftest.
$ac_ext
20451 cat >>conftest.
$ac_ext <<_ACEOF
20452 /* end confdefs.h. */
20454 /* Override any gcc2 internal prototype to avoid an error. */
20458 /* We use char because int might match the return type of a gcc2
20459 builtin and then its argument prototype would still apply. */
20460 char jpeg_read_header ();
20464 jpeg_read_header ();
20469 rm -f conftest.
$ac_objext conftest
$ac_exeext
20470 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20471 (eval $ac_link) 2>conftest.er1
20473 grep -v '^ *+' conftest.er1
>conftest.err
20475 cat conftest.err
>&5
20476 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20477 (exit $ac_status); } &&
20478 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20479 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20480 (eval $ac_try) 2>&5
20482 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20483 (exit $ac_status); }; } &&
20484 { ac_try
='test -s conftest$ac_exeext'
20485 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20486 (eval $ac_try) 2>&5
20488 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20489 (exit $ac_status); }; }; then
20490 ac_cv_lib_jpeg_jpeg_read_header
=yes
20492 echo "$as_me: failed program was:" >&5
20493 sed 's/^/| /' conftest.
$ac_ext >&5
20495 ac_cv_lib_jpeg_jpeg_read_header
=no
20497 rm -f conftest.err conftest.
$ac_objext \
20498 conftest
$ac_exeext conftest.
$ac_ext
20499 LIBS
=$ac_check_lib_save_LIBS
20501 echo "$as_me:$LINENO: result: $ac_cv_lib_jpeg_jpeg_read_header" >&5
20502 echo "${ECHO_T}$ac_cv_lib_jpeg_jpeg_read_header" >&6
20503 if test $ac_cv_lib_jpeg_jpeg_read_header = yes; then
20504 JPEG_LINK
=" -ljpeg"
20509 if test "x$JPEG_LINK" = "x" ; then
20510 if test "$wxUSE_LIBJPEG" = "sys" ; then
20511 { { echo "$as_me:$LINENO: error: system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" >&5
20512 echo "$as_me: error: system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" >&2;}
20513 { (exit 1); exit 1; }; }
20515 { echo "$as_me:$LINENO: WARNING: system jpeg library not found, will use built-in instead" >&5
20516 echo "$as_me: WARNING: system jpeg library not found, will use built-in instead" >&2;}
20517 wxUSE_LIBJPEG
=builtin
20528 TIFF_PREREQ_LINKS
=-lm
20529 if test "$wxUSE_LIBTIFF" != "no" ; then
20530 cat >>confdefs.h
<<\_ACEOF
20531 #define wxUSE_LIBTIFF 1
20535 if test "$wxUSE_LIBTIFF" = "sys" -o "$wxUSE_LIBTIFF" = "yes" ; then
20536 if test "$wxUSE_LIBJPEG" = "sys"; then
20537 TIFF_PREREQ_LINKS
="$TIFF_PREREQ_LINKS $JPEG_LINK"
20539 if test "$wxUSE_ZLIB" = "sys"; then
20540 TIFF_PREREQ_LINKS
="$TIFF_PREREQ_LINKS $ZLIB_LINK"
20542 if test "${ac_cv_header_tiffio_h+set}" = set; then
20543 echo "$as_me:$LINENO: checking for tiffio.h" >&5
20544 echo $ECHO_N "checking for tiffio.h... $ECHO_C" >&6
20545 if test "${ac_cv_header_tiffio_h+set}" = set; then
20546 echo $ECHO_N "(cached) $ECHO_C" >&6
20548 echo "$as_me:$LINENO: result: $ac_cv_header_tiffio_h" >&5
20549 echo "${ECHO_T}$ac_cv_header_tiffio_h" >&6
20551 # Is the header compilable?
20552 echo "$as_me:$LINENO: checking tiffio.h usability" >&5
20553 echo $ECHO_N "checking tiffio.h usability... $ECHO_C" >&6
20554 cat >conftest.
$ac_ext <<_ACEOF
20557 cat confdefs.h
>>conftest.
$ac_ext
20558 cat >>conftest.
$ac_ext <<_ACEOF
20559 /* end confdefs.h. */
20560 $ac_includes_default
20561 #include <tiffio.h>
20563 rm -f conftest.
$ac_objext
20564 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20565 (eval $ac_compile) 2>conftest.er1
20567 grep -v '^ *+' conftest.er1
>conftest.err
20569 cat conftest.err
>&5
20570 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20571 (exit $ac_status); } &&
20572 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20573 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20574 (eval $ac_try) 2>&5
20576 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20577 (exit $ac_status); }; } &&
20578 { ac_try
='test -s conftest.$ac_objext'
20579 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20580 (eval $ac_try) 2>&5
20582 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20583 (exit $ac_status); }; }; then
20584 ac_header_compiler
=yes
20586 echo "$as_me: failed program was:" >&5
20587 sed 's/^/| /' conftest.
$ac_ext >&5
20589 ac_header_compiler
=no
20591 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20592 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
20593 echo "${ECHO_T}$ac_header_compiler" >&6
20595 # Is the header present?
20596 echo "$as_me:$LINENO: checking tiffio.h presence" >&5
20597 echo $ECHO_N "checking tiffio.h presence... $ECHO_C" >&6
20598 cat >conftest.
$ac_ext <<_ACEOF
20601 cat confdefs.h
>>conftest.
$ac_ext
20602 cat >>conftest.
$ac_ext <<_ACEOF
20603 /* end confdefs.h. */
20604 #include <tiffio.h>
20606 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
20607 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
20609 grep -v '^ *+' conftest.er1
>conftest.err
20611 cat conftest.err
>&5
20612 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20613 (exit $ac_status); } >/dev
/null
; then
20614 if test -s conftest.err
; then
20615 ac_cpp_err
=$ac_c_preproc_warn_flag
20616 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
20623 if test -z "$ac_cpp_err"; then
20624 ac_header_preproc
=yes
20626 echo "$as_me: failed program was:" >&5
20627 sed 's/^/| /' conftest.
$ac_ext >&5
20629 ac_header_preproc
=no
20631 rm -f conftest.err conftest.
$ac_ext
20632 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
20633 echo "${ECHO_T}$ac_header_preproc" >&6
20635 # So? What about this header?
20636 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
20638 { echo "$as_me:$LINENO: WARNING: tiffio.h: accepted by the compiler, rejected by the preprocessor!" >&5
20639 echo "$as_me: WARNING: tiffio.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
20640 { echo "$as_me:$LINENO: WARNING: tiffio.h: proceeding with the compiler's result" >&5
20641 echo "$as_me: WARNING: tiffio.h: proceeding with the compiler's result" >&2;}
20642 ac_header_preproc
=yes
20645 { echo "$as_me:$LINENO: WARNING: tiffio.h: present but cannot be compiled" >&5
20646 echo "$as_me: WARNING: tiffio.h: present but cannot be compiled" >&2;}
20647 { echo "$as_me:$LINENO: WARNING: tiffio.h: check for missing prerequisite headers?" >&5
20648 echo "$as_me: WARNING: tiffio.h: check for missing prerequisite headers?" >&2;}
20649 { echo "$as_me:$LINENO: WARNING: tiffio.h: see the Autoconf documentation" >&5
20650 echo "$as_me: WARNING: tiffio.h: see the Autoconf documentation" >&2;}
20651 { echo "$as_me:$LINENO: WARNING: tiffio.h: section \"Present But Cannot Be Compiled\"" >&5
20652 echo "$as_me: WARNING: tiffio.h: section \"Present But Cannot Be Compiled\"" >&2;}
20653 { echo "$as_me:$LINENO: WARNING: tiffio.h: proceeding with the preprocessor's result" >&5
20654 echo "$as_me: WARNING: tiffio.h: proceeding with the preprocessor's result" >&2;}
20655 { echo "$as_me:$LINENO: WARNING: tiffio.h: in the future, the compiler will take precedence" >&5
20656 echo "$as_me: WARNING: tiffio.h: in the future, the compiler will take precedence" >&2;}
20659 ## ----------------------------------------- ##
20660 ## Report this to wx-dev@lists.wxwindows.org ##
20661 ## ----------------------------------------- ##
20664 sed "s/^/$as_me: WARNING: /" >&2
20667 echo "$as_me:$LINENO: checking for tiffio.h" >&5
20668 echo $ECHO_N "checking for tiffio.h... $ECHO_C" >&6
20669 if test "${ac_cv_header_tiffio_h+set}" = set; then
20670 echo $ECHO_N "(cached) $ECHO_C" >&6
20672 ac_cv_header_tiffio_h
=$ac_header_preproc
20674 echo "$as_me:$LINENO: result: $ac_cv_header_tiffio_h" >&5
20675 echo "${ECHO_T}$ac_cv_header_tiffio_h" >&6
20678 if test $ac_cv_header_tiffio_h = yes; then
20680 echo "$as_me:$LINENO: checking for TIFFError in -ltiff" >&5
20681 echo $ECHO_N "checking for TIFFError in -ltiff... $ECHO_C" >&6
20682 if test "${ac_cv_lib_tiff_TIFFError+set}" = set; then
20683 echo $ECHO_N "(cached) $ECHO_C" >&6
20685 ac_check_lib_save_LIBS
=$LIBS
20686 LIBS
="-ltiff $TIFF_PREREQ_LINKS $LIBS"
20687 cat >conftest.
$ac_ext <<_ACEOF
20690 cat confdefs.h
>>conftest.
$ac_ext
20691 cat >>conftest.
$ac_ext <<_ACEOF
20692 /* end confdefs.h. */
20694 /* Override any gcc2 internal prototype to avoid an error. */
20698 /* We use char because int might match the return type of a gcc2
20699 builtin and then its argument prototype would still apply. */
20709 rm -f conftest.
$ac_objext conftest
$ac_exeext
20710 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20711 (eval $ac_link) 2>conftest.er1
20713 grep -v '^ *+' conftest.er1
>conftest.err
20715 cat conftest.err
>&5
20716 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20717 (exit $ac_status); } &&
20718 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20719 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20720 (eval $ac_try) 2>&5
20722 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20723 (exit $ac_status); }; } &&
20724 { ac_try
='test -s conftest$ac_exeext'
20725 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20726 (eval $ac_try) 2>&5
20728 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20729 (exit $ac_status); }; }; then
20730 ac_cv_lib_tiff_TIFFError
=yes
20732 echo "$as_me: failed program was:" >&5
20733 sed 's/^/| /' conftest.
$ac_ext >&5
20735 ac_cv_lib_tiff_TIFFError
=no
20737 rm -f conftest.err conftest.
$ac_objext \
20738 conftest
$ac_exeext conftest.
$ac_ext
20739 LIBS
=$ac_check_lib_save_LIBS
20741 echo "$as_me:$LINENO: result: $ac_cv_lib_tiff_TIFFError" >&5
20742 echo "${ECHO_T}$ac_cv_lib_tiff_TIFFError" >&6
20743 if test $ac_cv_lib_tiff_TIFFError = yes; then
20744 TIFF_LINK
=" -ltiff"
20753 if test "x$TIFF_LINK" = "x" ; then
20754 if test "$wxUSE_LIBTIFF" = "sys" ; then
20755 { { echo "$as_me:$LINENO: error: system tiff library not found! Use --with-libtiff=builtin to use built-in version" >&5
20756 echo "$as_me: error: system tiff library not found! Use --with-libtiff=builtin to use built-in version" >&2;}
20757 { (exit 1); exit 1; }; }
20759 { echo "$as_me:$LINENO: WARNING: system tiff library not found, will use built-in instead" >&5
20760 echo "$as_me: WARNING: system tiff library not found, will use built-in instead" >&2;}
20761 wxUSE_LIBTIFF
=builtin
20770 if test "$wxUSE_EXPAT" != "no"; then
20772 cat >>confdefs.h
<<\_ACEOF
20773 #define wxUSE_EXPAT 1
20776 cat >>confdefs.h
<<\_ACEOF
20777 #define wxUSE_XML 1
20781 if test "$wxUSE_EXPAT" = "sys" -o "$wxUSE_EXPAT" = "yes" ; then
20782 if test "${ac_cv_header_expat_h+set}" = set; then
20783 echo "$as_me:$LINENO: checking for expat.h" >&5
20784 echo $ECHO_N "checking for expat.h... $ECHO_C" >&6
20785 if test "${ac_cv_header_expat_h+set}" = set; then
20786 echo $ECHO_N "(cached) $ECHO_C" >&6
20788 echo "$as_me:$LINENO: result: $ac_cv_header_expat_h" >&5
20789 echo "${ECHO_T}$ac_cv_header_expat_h" >&6
20791 # Is the header compilable?
20792 echo "$as_me:$LINENO: checking expat.h usability" >&5
20793 echo $ECHO_N "checking expat.h usability... $ECHO_C" >&6
20794 cat >conftest.
$ac_ext <<_ACEOF
20797 cat confdefs.h
>>conftest.
$ac_ext
20798 cat >>conftest.
$ac_ext <<_ACEOF
20799 /* end confdefs.h. */
20800 $ac_includes_default
20803 rm -f conftest.
$ac_objext
20804 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20805 (eval $ac_compile) 2>conftest.er1
20807 grep -v '^ *+' conftest.er1
>conftest.err
20809 cat conftest.err
>&5
20810 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20811 (exit $ac_status); } &&
20812 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20813 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20814 (eval $ac_try) 2>&5
20816 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20817 (exit $ac_status); }; } &&
20818 { ac_try
='test -s conftest.$ac_objext'
20819 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20820 (eval $ac_try) 2>&5
20822 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20823 (exit $ac_status); }; }; then
20824 ac_header_compiler
=yes
20826 echo "$as_me: failed program was:" >&5
20827 sed 's/^/| /' conftest.
$ac_ext >&5
20829 ac_header_compiler
=no
20831 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20832 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
20833 echo "${ECHO_T}$ac_header_compiler" >&6
20835 # Is the header present?
20836 echo "$as_me:$LINENO: checking expat.h presence" >&5
20837 echo $ECHO_N "checking expat.h presence... $ECHO_C" >&6
20838 cat >conftest.
$ac_ext <<_ACEOF
20841 cat confdefs.h
>>conftest.
$ac_ext
20842 cat >>conftest.
$ac_ext <<_ACEOF
20843 /* end confdefs.h. */
20846 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
20847 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
20849 grep -v '^ *+' conftest.er1
>conftest.err
20851 cat conftest.err
>&5
20852 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20853 (exit $ac_status); } >/dev
/null
; then
20854 if test -s conftest.err
; then
20855 ac_cpp_err
=$ac_c_preproc_warn_flag
20856 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
20863 if test -z "$ac_cpp_err"; then
20864 ac_header_preproc
=yes
20866 echo "$as_me: failed program was:" >&5
20867 sed 's/^/| /' conftest.
$ac_ext >&5
20869 ac_header_preproc
=no
20871 rm -f conftest.err conftest.
$ac_ext
20872 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
20873 echo "${ECHO_T}$ac_header_preproc" >&6
20875 # So? What about this header?
20876 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
20878 { echo "$as_me:$LINENO: WARNING: expat.h: accepted by the compiler, rejected by the preprocessor!" >&5
20879 echo "$as_me: WARNING: expat.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
20880 { echo "$as_me:$LINENO: WARNING: expat.h: proceeding with the compiler's result" >&5
20881 echo "$as_me: WARNING: expat.h: proceeding with the compiler's result" >&2;}
20882 ac_header_preproc
=yes
20885 { echo "$as_me:$LINENO: WARNING: expat.h: present but cannot be compiled" >&5
20886 echo "$as_me: WARNING: expat.h: present but cannot be compiled" >&2;}
20887 { echo "$as_me:$LINENO: WARNING: expat.h: check for missing prerequisite headers?" >&5
20888 echo "$as_me: WARNING: expat.h: check for missing prerequisite headers?" >&2;}
20889 { echo "$as_me:$LINENO: WARNING: expat.h: see the Autoconf documentation" >&5
20890 echo "$as_me: WARNING: expat.h: see the Autoconf documentation" >&2;}
20891 { echo "$as_me:$LINENO: WARNING: expat.h: section \"Present But Cannot Be Compiled\"" >&5
20892 echo "$as_me: WARNING: expat.h: section \"Present But Cannot Be Compiled\"" >&2;}
20893 { echo "$as_me:$LINENO: WARNING: expat.h: proceeding with the preprocessor's result" >&5
20894 echo "$as_me: WARNING: expat.h: proceeding with the preprocessor's result" >&2;}
20895 { echo "$as_me:$LINENO: WARNING: expat.h: in the future, the compiler will take precedence" >&5
20896 echo "$as_me: WARNING: expat.h: in the future, the compiler will take precedence" >&2;}
20899 ## ----------------------------------------- ##
20900 ## Report this to wx-dev@lists.wxwindows.org ##
20901 ## ----------------------------------------- ##
20904 sed "s/^/$as_me: WARNING: /" >&2
20907 echo "$as_me:$LINENO: checking for expat.h" >&5
20908 echo $ECHO_N "checking for expat.h... $ECHO_C" >&6
20909 if test "${ac_cv_header_expat_h+set}" = set; then
20910 echo $ECHO_N "(cached) $ECHO_C" >&6
20912 ac_cv_header_expat_h
=$ac_header_preproc
20914 echo "$as_me:$LINENO: result: $ac_cv_header_expat_h" >&5
20915 echo "${ECHO_T}$ac_cv_header_expat_h" >&6
20918 if test $ac_cv_header_expat_h = yes; then
20923 if test "x$found_expat_h" = "x1"; then
20924 echo "$as_me:$LINENO: checking if expat.h is valid C++ header" >&5
20925 echo $ECHO_N "checking if expat.h is valid C++ header... $ECHO_C" >&6
20926 if test "${wx_cv_expat_is_not_broken+set}" = set; then
20927 echo $ECHO_N "(cached) $ECHO_C" >&6
20933 ac_cpp
='$CXXCPP $CPPFLAGS'
20934 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20935 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20936 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
20938 cat >conftest.
$ac_ext <<_ACEOF
20941 cat confdefs.h
>>conftest.
$ac_ext
20942 cat >>conftest.
$ac_ext <<_ACEOF
20943 /* end confdefs.h. */
20953 rm -f conftest.
$ac_objext
20954 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20955 (eval $ac_compile) 2>conftest.er1
20957 grep -v '^ *+' conftest.er1
>conftest.err
20959 cat conftest.err
>&5
20960 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20961 (exit $ac_status); } &&
20962 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
20963 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20964 (eval $ac_try) 2>&5
20966 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20967 (exit $ac_status); }; } &&
20968 { ac_try
='test -s conftest.$ac_objext'
20969 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20970 (eval $ac_try) 2>&5
20972 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20973 (exit $ac_status); }; }; then
20974 wx_cv_expat_is_not_broken
=yes
20976 echo "$as_me: failed program was:" >&5
20977 sed 's/^/| /' conftest.
$ac_ext >&5
20979 wx_cv_expat_is_not_broken
=no
20982 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20984 ac_cpp
='$CPP $CPPFLAGS'
20985 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20986 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20987 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
20992 echo "$as_me:$LINENO: result: $wx_cv_expat_is_not_broken" >&5
20993 echo "${ECHO_T}$wx_cv_expat_is_not_broken" >&6
20994 if test "$wx_cv_expat_is_not_broken" = "yes" ; then
20995 echo "$as_me:$LINENO: checking for XML_ParserCreate in -lexpat" >&5
20996 echo $ECHO_N "checking for XML_ParserCreate in -lexpat... $ECHO_C" >&6
20997 if test "${ac_cv_lib_expat_XML_ParserCreate+set}" = set; then
20998 echo $ECHO_N "(cached) $ECHO_C" >&6
21000 ac_check_lib_save_LIBS
=$LIBS
21001 LIBS
="-lexpat $LIBS"
21002 cat >conftest.
$ac_ext <<_ACEOF
21005 cat confdefs.h
>>conftest.
$ac_ext
21006 cat >>conftest.
$ac_ext <<_ACEOF
21007 /* end confdefs.h. */
21009 /* Override any gcc2 internal prototype to avoid an error. */
21013 /* We use char because int might match the return type of a gcc2
21014 builtin and then its argument prototype would still apply. */
21015 char XML_ParserCreate ();
21019 XML_ParserCreate ();
21024 rm -f conftest.
$ac_objext conftest
$ac_exeext
21025 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21026 (eval $ac_link) 2>conftest.er1
21028 grep -v '^ *+' conftest.er1
>conftest.err
21030 cat conftest.err
>&5
21031 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21032 (exit $ac_status); } &&
21033 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
21034 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21035 (eval $ac_try) 2>&5
21037 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21038 (exit $ac_status); }; } &&
21039 { ac_try
='test -s conftest$ac_exeext'
21040 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21041 (eval $ac_try) 2>&5
21043 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21044 (exit $ac_status); }; }; then
21045 ac_cv_lib_expat_XML_ParserCreate
=yes
21047 echo "$as_me: failed program was:" >&5
21048 sed 's/^/| /' conftest.
$ac_ext >&5
21050 ac_cv_lib_expat_XML_ParserCreate
=no
21052 rm -f conftest.err conftest.
$ac_objext \
21053 conftest
$ac_exeext conftest.
$ac_ext
21054 LIBS
=$ac_check_lib_save_LIBS
21056 echo "$as_me:$LINENO: result: $ac_cv_lib_expat_XML_ParserCreate" >&5
21057 echo "${ECHO_T}$ac_cv_lib_expat_XML_ParserCreate" >&6
21058 if test $ac_cv_lib_expat_XML_ParserCreate = yes; then
21059 EXPAT_LINK
=" -lexpat"
21064 if test "x$EXPAT_LINK" = "x" ; then
21065 if test "$wxUSE_EXPAT" = "sys" ; then
21066 { { echo "$as_me:$LINENO: error: system expat library not found! Use --with-expat=builtin to use built-in version" >&5
21067 echo "$as_me: error: system expat library not found! Use --with-expat=builtin to use built-in version" >&2;}
21068 { (exit 1); exit 1; }; }
21070 { echo "$as_me:$LINENO: WARNING: system expat library not found, will use built-in instead" >&5
21071 echo "$as_me: WARNING: system expat library not found, will use built-in instead" >&2;}
21072 wxUSE_EXPAT
=builtin
21078 if test "$wxUSE_EXPAT" = "builtin" ; then
21081 subdirs
="$subdirs src/expat"
21088 if test "$wxUSE_LIBMSPACK" != "no"; then
21090 if test "${ac_cv_header_mspack_h+set}" = set; then
21091 echo "$as_me:$LINENO: checking for mspack.h" >&5
21092 echo $ECHO_N "checking for mspack.h... $ECHO_C" >&6
21093 if test "${ac_cv_header_mspack_h+set}" = set; then
21094 echo $ECHO_N "(cached) $ECHO_C" >&6
21096 echo "$as_me:$LINENO: result: $ac_cv_header_mspack_h" >&5
21097 echo "${ECHO_T}$ac_cv_header_mspack_h" >&6
21099 # Is the header compilable?
21100 echo "$as_me:$LINENO: checking mspack.h usability" >&5
21101 echo $ECHO_N "checking mspack.h usability... $ECHO_C" >&6
21102 cat >conftest.
$ac_ext <<_ACEOF
21105 cat confdefs.h
>>conftest.
$ac_ext
21106 cat >>conftest.
$ac_ext <<_ACEOF
21107 /* end confdefs.h. */
21108 $ac_includes_default
21109 #include <mspack.h>
21111 rm -f conftest.
$ac_objext
21112 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21113 (eval $ac_compile) 2>conftest.er1
21115 grep -v '^ *+' conftest.er1
>conftest.err
21117 cat conftest.err
>&5
21118 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21119 (exit $ac_status); } &&
21120 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
21121 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21122 (eval $ac_try) 2>&5
21124 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21125 (exit $ac_status); }; } &&
21126 { ac_try
='test -s conftest.$ac_objext'
21127 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21128 (eval $ac_try) 2>&5
21130 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21131 (exit $ac_status); }; }; then
21132 ac_header_compiler
=yes
21134 echo "$as_me: failed program was:" >&5
21135 sed 's/^/| /' conftest.
$ac_ext >&5
21137 ac_header_compiler
=no
21139 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21140 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
21141 echo "${ECHO_T}$ac_header_compiler" >&6
21143 # Is the header present?
21144 echo "$as_me:$LINENO: checking mspack.h presence" >&5
21145 echo $ECHO_N "checking mspack.h presence... $ECHO_C" >&6
21146 cat >conftest.
$ac_ext <<_ACEOF
21149 cat confdefs.h
>>conftest.
$ac_ext
21150 cat >>conftest.
$ac_ext <<_ACEOF
21151 /* end confdefs.h. */
21152 #include <mspack.h>
21154 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
21155 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
21157 grep -v '^ *+' conftest.er1
>conftest.err
21159 cat conftest.err
>&5
21160 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21161 (exit $ac_status); } >/dev
/null
; then
21162 if test -s conftest.err
; then
21163 ac_cpp_err
=$ac_c_preproc_warn_flag
21164 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
21171 if test -z "$ac_cpp_err"; then
21172 ac_header_preproc
=yes
21174 echo "$as_me: failed program was:" >&5
21175 sed 's/^/| /' conftest.
$ac_ext >&5
21177 ac_header_preproc
=no
21179 rm -f conftest.err conftest.
$ac_ext
21180 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
21181 echo "${ECHO_T}$ac_header_preproc" >&6
21183 # So? What about this header?
21184 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
21186 { echo "$as_me:$LINENO: WARNING: mspack.h: accepted by the compiler, rejected by the preprocessor!" >&5
21187 echo "$as_me: WARNING: mspack.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
21188 { echo "$as_me:$LINENO: WARNING: mspack.h: proceeding with the compiler's result" >&5
21189 echo "$as_me: WARNING: mspack.h: proceeding with the compiler's result" >&2;}
21190 ac_header_preproc
=yes
21193 { echo "$as_me:$LINENO: WARNING: mspack.h: present but cannot be compiled" >&5
21194 echo "$as_me: WARNING: mspack.h: present but cannot be compiled" >&2;}
21195 { echo "$as_me:$LINENO: WARNING: mspack.h: check for missing prerequisite headers?" >&5
21196 echo "$as_me: WARNING: mspack.h: check for missing prerequisite headers?" >&2;}
21197 { echo "$as_me:$LINENO: WARNING: mspack.h: see the Autoconf documentation" >&5
21198 echo "$as_me: WARNING: mspack.h: see the Autoconf documentation" >&2;}
21199 { echo "$as_me:$LINENO: WARNING: mspack.h: section \"Present But Cannot Be Compiled\"" >&5
21200 echo "$as_me: WARNING: mspack.h: section \"Present But Cannot Be Compiled\"" >&2;}
21201 { echo "$as_me:$LINENO: WARNING: mspack.h: proceeding with the preprocessor's result" >&5
21202 echo "$as_me: WARNING: mspack.h: proceeding with the preprocessor's result" >&2;}
21203 { echo "$as_me:$LINENO: WARNING: mspack.h: in the future, the compiler will take precedence" >&5
21204 echo "$as_me: WARNING: mspack.h: in the future, the compiler will take precedence" >&2;}
21207 ## ----------------------------------------- ##
21208 ## Report this to wx-dev@lists.wxwindows.org ##
21209 ## ----------------------------------------- ##
21212 sed "s/^/$as_me: WARNING: /" >&2
21215 echo "$as_me:$LINENO: checking for mspack.h" >&5
21216 echo $ECHO_N "checking for mspack.h... $ECHO_C" >&6
21217 if test "${ac_cv_header_mspack_h+set}" = set; then
21218 echo $ECHO_N "(cached) $ECHO_C" >&6
21220 ac_cv_header_mspack_h
=$ac_header_preproc
21222 echo "$as_me:$LINENO: result: $ac_cv_header_mspack_h" >&5
21223 echo "${ECHO_T}$ac_cv_header_mspack_h" >&6
21226 if test $ac_cv_header_mspack_h = yes; then
21231 if test "x$found_mspack_h" = "x1"; then
21232 echo "$as_me:$LINENO: checking for mspack_create_chm_decompressor in -lmspack" >&5
21233 echo $ECHO_N "checking for mspack_create_chm_decompressor in -lmspack... $ECHO_C" >&6
21234 if test "${ac_cv_lib_mspack_mspack_create_chm_decompressor+set}" = set; then
21235 echo $ECHO_N "(cached) $ECHO_C" >&6
21237 ac_check_lib_save_LIBS
=$LIBS
21238 LIBS
="-lmspack $LIBS"
21239 cat >conftest.
$ac_ext <<_ACEOF
21242 cat confdefs.h
>>conftest.
$ac_ext
21243 cat >>conftest.
$ac_ext <<_ACEOF
21244 /* end confdefs.h. */
21246 /* Override any gcc2 internal prototype to avoid an error. */
21250 /* We use char because int might match the return type of a gcc2
21251 builtin and then its argument prototype would still apply. */
21252 char mspack_create_chm_decompressor ();
21256 mspack_create_chm_decompressor ();
21261 rm -f conftest.
$ac_objext conftest
$ac_exeext
21262 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21263 (eval $ac_link) 2>conftest.er1
21265 grep -v '^ *+' conftest.er1
>conftest.err
21267 cat conftest.err
>&5
21268 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21269 (exit $ac_status); } &&
21270 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
21271 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21272 (eval $ac_try) 2>&5
21274 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21275 (exit $ac_status); }; } &&
21276 { ac_try
='test -s conftest$ac_exeext'
21277 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21278 (eval $ac_try) 2>&5
21280 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21281 (exit $ac_status); }; }; then
21282 ac_cv_lib_mspack_mspack_create_chm_decompressor
=yes
21284 echo "$as_me: failed program was:" >&5
21285 sed 's/^/| /' conftest.
$ac_ext >&5
21287 ac_cv_lib_mspack_mspack_create_chm_decompressor
=no
21289 rm -f conftest.err conftest.
$ac_objext \
21290 conftest
$ac_exeext conftest.
$ac_ext
21291 LIBS
=$ac_check_lib_save_LIBS
21293 echo "$as_me:$LINENO: result: $ac_cv_lib_mspack_mspack_create_chm_decompressor" >&5
21294 echo "${ECHO_T}$ac_cv_lib_mspack_mspack_create_chm_decompressor" >&6
21295 if test $ac_cv_lib_mspack_mspack_create_chm_decompressor = yes; then
21296 MSPACK_LINK
=" -lmspack"
21300 if test "x$MSPACK_LINK" = "x" ; then
21303 cat >>confdefs.h
<<\_ACEOF
21304 #define wxUSE_LIBMSPACK 1
21319 if test "$USE_WIN32" = 1 ; then
21321 for ac_header
in w32api.h
21323 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
21324 if eval "test \"\${$as_ac_Header+set}\" = set"; then
21325 echo "$as_me:$LINENO: checking for $ac_header" >&5
21326 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
21327 if eval "test \"\${$as_ac_Header+set}\" = set"; then
21328 echo $ECHO_N "(cached) $ECHO_C" >&6
21330 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
21331 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
21333 # Is the header compilable?
21334 echo "$as_me:$LINENO: checking $ac_header usability" >&5
21335 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
21336 cat >conftest.
$ac_ext <<_ACEOF
21339 cat confdefs.h
>>conftest.
$ac_ext
21340 cat >>conftest.
$ac_ext <<_ACEOF
21341 /* end confdefs.h. */
21342 $ac_includes_default
21343 #include <$ac_header>
21345 rm -f conftest.
$ac_objext
21346 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21347 (eval $ac_compile) 2>conftest.er1
21349 grep -v '^ *+' conftest.er1
>conftest.err
21351 cat conftest.err
>&5
21352 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21353 (exit $ac_status); } &&
21354 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
21355 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21356 (eval $ac_try) 2>&5
21358 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21359 (exit $ac_status); }; } &&
21360 { ac_try
='test -s conftest.$ac_objext'
21361 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21362 (eval $ac_try) 2>&5
21364 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21365 (exit $ac_status); }; }; then
21366 ac_header_compiler
=yes
21368 echo "$as_me: failed program was:" >&5
21369 sed 's/^/| /' conftest.
$ac_ext >&5
21371 ac_header_compiler
=no
21373 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21374 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
21375 echo "${ECHO_T}$ac_header_compiler" >&6
21377 # Is the header present?
21378 echo "$as_me:$LINENO: checking $ac_header presence" >&5
21379 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
21380 cat >conftest.
$ac_ext <<_ACEOF
21383 cat confdefs.h
>>conftest.
$ac_ext
21384 cat >>conftest.
$ac_ext <<_ACEOF
21385 /* end confdefs.h. */
21386 #include <$ac_header>
21388 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
21389 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
21391 grep -v '^ *+' conftest.er1
>conftest.err
21393 cat conftest.err
>&5
21394 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21395 (exit $ac_status); } >/dev
/null
; then
21396 if test -s conftest.err
; then
21397 ac_cpp_err
=$ac_c_preproc_warn_flag
21398 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
21405 if test -z "$ac_cpp_err"; then
21406 ac_header_preproc
=yes
21408 echo "$as_me: failed program was:" >&5
21409 sed 's/^/| /' conftest.
$ac_ext >&5
21411 ac_header_preproc
=no
21413 rm -f conftest.err conftest.
$ac_ext
21414 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
21415 echo "${ECHO_T}$ac_header_preproc" >&6
21417 # So? What about this header?
21418 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
21420 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
21421 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
21422 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
21423 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
21424 ac_header_preproc
=yes
21427 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
21428 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
21429 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
21430 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
21431 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
21432 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
21433 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
21434 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
21435 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
21436 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
21437 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
21438 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
21441 ## ----------------------------------------- ##
21442 ## Report this to wx-dev@lists.wxwindows.org ##
21443 ## ----------------------------------------- ##
21446 sed "s/^/$as_me: WARNING: /" >&2
21449 echo "$as_me:$LINENO: checking for $ac_header" >&5
21450 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
21451 if eval "test \"\${$as_ac_Header+set}\" = set"; then
21452 echo $ECHO_N "(cached) $ECHO_C" >&6
21454 eval "$as_ac_Header=\$ac_header_preproc"
21456 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
21457 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
21460 if test `eval echo '${'$as_ac_Header'}'` = yes; then
21461 cat >>confdefs.h
<<_ACEOF
21462 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
21469 if test "${ac_cv_header_windows_h+set}" = set; then
21470 echo "$as_me:$LINENO: checking for windows.h" >&5
21471 echo $ECHO_N "checking for windows.h... $ECHO_C" >&6
21472 if test "${ac_cv_header_windows_h+set}" = set; then
21473 echo $ECHO_N "(cached) $ECHO_C" >&6
21475 echo "$as_me:$LINENO: result: $ac_cv_header_windows_h" >&5
21476 echo "${ECHO_T}$ac_cv_header_windows_h" >&6
21478 # Is the header compilable?
21479 echo "$as_me:$LINENO: checking windows.h usability" >&5
21480 echo $ECHO_N "checking windows.h usability... $ECHO_C" >&6
21481 cat >conftest.
$ac_ext <<_ACEOF
21484 cat confdefs.h
>>conftest.
$ac_ext
21485 cat >>conftest.
$ac_ext <<_ACEOF
21486 /* end confdefs.h. */
21487 $ac_includes_default
21488 #include <windows.h>
21490 rm -f conftest.
$ac_objext
21491 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21492 (eval $ac_compile) 2>conftest.er1
21494 grep -v '^ *+' conftest.er1
>conftest.err
21496 cat conftest.err
>&5
21497 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21498 (exit $ac_status); } &&
21499 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
21500 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21501 (eval $ac_try) 2>&5
21503 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21504 (exit $ac_status); }; } &&
21505 { ac_try
='test -s conftest.$ac_objext'
21506 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21507 (eval $ac_try) 2>&5
21509 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21510 (exit $ac_status); }; }; then
21511 ac_header_compiler
=yes
21513 echo "$as_me: failed program was:" >&5
21514 sed 's/^/| /' conftest.
$ac_ext >&5
21516 ac_header_compiler
=no
21518 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21519 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
21520 echo "${ECHO_T}$ac_header_compiler" >&6
21522 # Is the header present?
21523 echo "$as_me:$LINENO: checking windows.h presence" >&5
21524 echo $ECHO_N "checking windows.h presence... $ECHO_C" >&6
21525 cat >conftest.
$ac_ext <<_ACEOF
21528 cat confdefs.h
>>conftest.
$ac_ext
21529 cat >>conftest.
$ac_ext <<_ACEOF
21530 /* end confdefs.h. */
21531 #include <windows.h>
21533 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
21534 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
21536 grep -v '^ *+' conftest.er1
>conftest.err
21538 cat conftest.err
>&5
21539 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21540 (exit $ac_status); } >/dev
/null
; then
21541 if test -s conftest.err
; then
21542 ac_cpp_err
=$ac_c_preproc_warn_flag
21543 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
21550 if test -z "$ac_cpp_err"; then
21551 ac_header_preproc
=yes
21553 echo "$as_me: failed program was:" >&5
21554 sed 's/^/| /' conftest.
$ac_ext >&5
21556 ac_header_preproc
=no
21558 rm -f conftest.err conftest.
$ac_ext
21559 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
21560 echo "${ECHO_T}$ac_header_preproc" >&6
21562 # So? What about this header?
21563 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
21565 { echo "$as_me:$LINENO: WARNING: windows.h: accepted by the compiler, rejected by the preprocessor!" >&5
21566 echo "$as_me: WARNING: windows.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
21567 { echo "$as_me:$LINENO: WARNING: windows.h: proceeding with the compiler's result" >&5
21568 echo "$as_me: WARNING: windows.h: proceeding with the compiler's result" >&2;}
21569 ac_header_preproc
=yes
21572 { echo "$as_me:$LINENO: WARNING: windows.h: present but cannot be compiled" >&5
21573 echo "$as_me: WARNING: windows.h: present but cannot be compiled" >&2;}
21574 { echo "$as_me:$LINENO: WARNING: windows.h: check for missing prerequisite headers?" >&5
21575 echo "$as_me: WARNING: windows.h: check for missing prerequisite headers?" >&2;}
21576 { echo "$as_me:$LINENO: WARNING: windows.h: see the Autoconf documentation" >&5
21577 echo "$as_me: WARNING: windows.h: see the Autoconf documentation" >&2;}
21578 { echo "$as_me:$LINENO: WARNING: windows.h: section \"Present But Cannot Be Compiled\"" >&5
21579 echo "$as_me: WARNING: windows.h: section \"Present But Cannot Be Compiled\"" >&2;}
21580 { echo "$as_me:$LINENO: WARNING: windows.h: proceeding with the preprocessor's result" >&5
21581 echo "$as_me: WARNING: windows.h: proceeding with the preprocessor's result" >&2;}
21582 { echo "$as_me:$LINENO: WARNING: windows.h: in the future, the compiler will take precedence" >&5
21583 echo "$as_me: WARNING: windows.h: in the future, the compiler will take precedence" >&2;}
21586 ## ----------------------------------------- ##
21587 ## Report this to wx-dev@lists.wxwindows.org ##
21588 ## ----------------------------------------- ##
21591 sed "s/^/$as_me: WARNING: /" >&2
21594 echo "$as_me:$LINENO: checking for windows.h" >&5
21595 echo $ECHO_N "checking for windows.h... $ECHO_C" >&6
21596 if test "${ac_cv_header_windows_h+set}" = set; then
21597 echo $ECHO_N "(cached) $ECHO_C" >&6
21599 ac_cv_header_windows_h
=$ac_header_preproc
21601 echo "$as_me:$LINENO: result: $ac_cv_header_windows_h" >&5
21602 echo "${ECHO_T}$ac_cv_header_windows_h" >&6
21605 if test $ac_cv_header_windows_h = yes; then
21609 { { echo "$as_me:$LINENO: error: please set CFLAGS to contain the location of windows.h" >&5
21610 echo "$as_me: error: please set CFLAGS to contain the location of windows.h" >&2;}
21611 { (exit 1); exit 1; }; }
21617 LIBS
="$LIBS -lwinspool -lwinmm -lshell32 -lcomctl32 -lcomdlg32 -lctl3d32 -ladvapi32 -lwsock32 -lgdi32"
21619 if test "$wxUSE_ACCESSIBILITY" = "yes" ; then
21620 LIBS
="$LIBS -loleacc"
21625 LIBS
="$LIBS -lkernel32 -luser32"
21626 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -D__WIN95__"
21629 if test "$wxUSE_ODBC" = "sys" ; then
21632 if test "$wxUSE_ODBC" = "yes" ; then
21633 LIBS
=" -lodbc32 -lole32 -loleaut32 $LIBS"
21634 cat >>confdefs.h
<<\_ACEOF
21635 #define wxUSE_ODBC 1
21640 RESFLAGS
="--include-dir \$(top_srcdir)/include --include-dir \$(top_srcdir)/\$(program_dir) --define __WIN32__ --define __WIN95__ --define __GNUWIN32__"
21641 RESPROGRAMOBJ
="\$(PROGRAM)_resources.o"
21643 WIN32INSTALL
=win32install
21646 if test "$wxUSE_GUI" = "yes"; then
21656 if test "$wxUSE_MSW" = 1 ; then
21662 WXCONFIG_LDFLAGS_GUI
="$LDFLAGS -Wl,--subsystem,windows -mwindows"
21666 if test "$wxUSE_GTK" = 1; then
21667 echo "$as_me:$LINENO: checking for GTK+ version" >&5
21668 echo $ECHO_N "checking for GTK+ version... $ECHO_C" >&6
21670 gtk_version_cached
=1
21671 if test "${wx_cv_lib_gtk+set}" = set; then
21672 echo $ECHO_N "(cached) $ECHO_C" >&6
21675 gtk_version_cached
=0
21676 echo "$as_me:$LINENO: result: " >&5
21677 echo "${ECHO_T}" >&6
21680 if test "$wxUSE_THREADS" = "yes"; then
21681 GTK_MODULES
=gthread
21685 if test "x$wxUSE_GTK2" = "xyes"; then
21686 # Check whether --enable-gtktest or --disable-gtktest was given.
21687 if test "${enable_gtktest+set}" = set; then
21688 enableval
="$enable_gtktest"
21694 pkg_config_args
=gtk
+-2.0
21695 for module
in .
$GTK_MODULES
21699 pkg_config_args
="$pkg_config_args gthread-2.0"
21706 # Extract the first word of "pkg-config", so it can be a program name with args.
21707 set dummy pkg
-config; ac_word
=$2
21708 echo "$as_me:$LINENO: checking for $ac_word" >&5
21709 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
21710 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
21711 echo $ECHO_N "(cached) $ECHO_C" >&6
21713 case $PKG_CONFIG in
21715 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
21718 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
21719 for as_dir
in $PATH
21722 test -z "$as_dir" && as_dir
=.
21723 for ac_exec_ext
in '' $ac_executable_extensions; do
21724 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
21725 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
21726 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
21732 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
21736 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
21738 if test -n "$PKG_CONFIG"; then
21739 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
21740 echo "${ECHO_T}$PKG_CONFIG" >&6
21742 echo "$as_me:$LINENO: result: no" >&5
21743 echo "${ECHO_T}no" >&6
21747 if test x
$PKG_CONFIG != xno
; then
21748 if pkg
-config --atleast-pkgconfig-version 0.7 ; then
21751 echo *** pkg
-config too old
; version
0.7 or better required.
21759 min_gtk_version
=2.0.0
21760 echo "$as_me:$LINENO: checking for GTK+ - version >= $min_gtk_version" >&5
21761 echo $ECHO_N "checking for GTK+ - version >= $min_gtk_version... $ECHO_C" >&6
21763 if test x
$PKG_CONFIG != xno
; then
21764 ## don't try to run the test against uninstalled libtool libs
21765 if $PKG_CONFIG --uninstalled $pkg_config_args; then
21766 echo "Will use uninstalled version of GTK+ found in PKG_CONFIG_PATH"
21770 if $PKG_CONFIG --atleast-version $min_gtk_version $pkg_config_args; then
21777 if test x
"$no_gtk" = x
; then
21778 GTK_CFLAGS
=`$PKG_CONFIG $pkg_config_args --cflags`
21779 GTK_LIBS
=`$PKG_CONFIG $pkg_config_args --libs`
21780 gtk_config_major_version
=`$PKG_CONFIG --modversion gtk+-2.0 | \
21781 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
21782 gtk_config_minor_version
=`$PKG_CONFIG --modversion gtk+-2.0 | \
21783 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
21784 gtk_config_micro_version
=`$PKG_CONFIG --modversion gtk+-2.0 | \
21785 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
21786 if test "x$enable_gtktest" = "xyes" ; then
21787 ac_save_CFLAGS
="$CFLAGS"
21788 ac_save_LIBS
="$LIBS"
21789 CFLAGS
="$CFLAGS $GTK_CFLAGS"
21790 LIBS
="$GTK_LIBS $LIBS"
21792 if test "$cross_compiling" = yes; then
21793 echo $ac_n "cross compiling; assumed OK... $ac_c"
21795 cat >conftest.
$ac_ext <<_ACEOF
21798 cat confdefs.h
>>conftest.
$ac_ext
21799 cat >>conftest.
$ac_ext <<_ACEOF
21800 /* end confdefs.h. */
21802 #include <gtk/gtk.h>
21804 #include <stdlib.h>
21809 int major, minor, micro;
21812 system ("touch conf.gtktest");
21814 /* HP/UX 9 (%@#!) writes to sscanf strings */
21815 tmp_version = g_strdup("$min_gtk_version");
21816 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
21817 printf("%s, bad version string\n", "$min_gtk_version");
21821 if ((gtk_major_version != $gtk_config_major_version) ||
21822 (gtk_minor_version != $gtk_config_minor_version) ||
21823 (gtk_micro_version != $gtk_config_micro_version))
21825 printf("\n*** 'pkg-config --modversion gtk+-2.0' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
21826 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
21827 gtk_major_version, gtk_minor_version, gtk_micro_version);
21828 printf ("*** was found! If pkg-config was correct, then it is best\n");
21829 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
21830 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
21831 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
21832 printf("*** required on your system.\n");
21833 printf("*** If pkg-config was wrong, set the environment variable PKG_CONFIG_PATH\n");
21834 printf("*** to point to the correct configuration files\n");
21836 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
21837 (gtk_minor_version != GTK_MINOR_VERSION) ||
21838 (gtk_micro_version != GTK_MICRO_VERSION))
21840 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
21841 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
21842 printf("*** library (version %d.%d.%d)\n",
21843 gtk_major_version, gtk_minor_version, gtk_micro_version);
21847 if ((gtk_major_version > major) ||
21848 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
21849 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
21855 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
21856 gtk_major_version, gtk_minor_version, gtk_micro_version);
21857 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
21858 major, minor, micro);
21859 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
21861 printf("*** If you have already installed a sufficiently new version, this error\n");
21862 printf("*** probably means that the wrong copy of the pkg-config shell script is\n");
21863 printf("*** being found. The easiest way to fix this is to remove the old version\n");
21864 printf("*** of GTK+, but you can also set the PKG_CONFIG environment to point to the\n");
21865 printf("*** correct copy of pkg-config. (In this case, you will have to\n");
21866 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
21867 printf("*** so that the correct libraries are found at run-time))\n");
21874 rm -f conftest
$ac_exeext
21875 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21876 (eval $ac_link) 2>&5
21878 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21879 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
21880 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21881 (eval $ac_try) 2>&5
21883 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21884 (exit $ac_status); }; }; then
21887 echo "$as_me: program exited with status $ac_status" >&5
21888 echo "$as_me: failed program was:" >&5
21889 sed 's/^/| /' conftest.
$ac_ext >&5
21891 ( exit $ac_status )
21894 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
21896 CFLAGS
="$ac_save_CFLAGS"
21897 LIBS
="$ac_save_LIBS"
21900 if test "x$no_gtk" = x
; then
21901 echo "$as_me:$LINENO: result: yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&5
21902 echo "${ECHO_T}yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&6
21905 echo "$as_me:$LINENO: result: no" >&5
21906 echo "${ECHO_T}no" >&6
21907 if test "$PKG_CONFIG" = "no" ; then
21908 echo "*** A new enough version of pkg-config was not found."
21909 echo "*** See http://pkgconfig.sourceforge.net"
21911 if test -f conf.gtktest
; then
21914 echo "*** Could not run GTK+ test program, checking why..."
21915 ac_save_CFLAGS
="$CFLAGS"
21916 ac_save_LIBS
="$LIBS"
21917 CFLAGS
="$CFLAGS $GTK_CFLAGS"
21918 LIBS
="$LIBS $GTK_LIBS"
21919 cat >conftest.
$ac_ext <<_ACEOF
21922 cat confdefs.h
>>conftest.
$ac_ext
21923 cat >>conftest.
$ac_ext <<_ACEOF
21924 /* end confdefs.h. */
21926 #include <gtk/gtk.h>
21932 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
21937 rm -f conftest.
$ac_objext conftest
$ac_exeext
21938 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21939 (eval $ac_link) 2>conftest.er1
21941 grep -v '^ *+' conftest.er1
>conftest.err
21943 cat conftest.err
>&5
21944 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21945 (exit $ac_status); } &&
21946 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
21947 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21948 (eval $ac_try) 2>&5
21950 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21951 (exit $ac_status); }; } &&
21952 { ac_try
='test -s conftest$ac_exeext'
21953 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21954 (eval $ac_try) 2>&5
21956 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21957 (exit $ac_status); }; }; then
21958 echo "*** The test program compiled, but did not run. This usually means"
21959 echo "*** that the run-time linker is not finding GTK+ or finding the wrong"
21960 echo "*** version of GTK+. If it is not finding GTK+, you'll need to set your"
21961 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
21962 echo "*** to the installed location Also, make sure you have run ldconfig if that"
21963 echo "*** is required on your system"
21965 echo "*** If you have an old version installed, it is best to remove it, although"
21966 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
21968 echo "$as_me: failed program was:" >&5
21969 sed 's/^/| /' conftest.
$ac_ext >&5
21971 echo "*** The test program failed to compile or link. See the file config.log for the"
21972 echo "*** exact error that occured. This usually means GTK+ is incorrectly installed."
21974 rm -f conftest.err conftest.
$ac_objext \
21975 conftest
$ac_exeext conftest.
$ac_ext
21976 CFLAGS
="$ac_save_CFLAGS"
21977 LIBS
="$ac_save_LIBS"
21990 # Check whether --with-gtk-prefix or --without-gtk-prefix was given.
21991 if test "${with_gtk_prefix+set}" = set; then
21992 withval
="$with_gtk_prefix"
21993 gtk_config_prefix
="$withval"
21995 gtk_config_prefix
=""
21998 # Check whether --with-gtk-exec-prefix or --without-gtk-exec-prefix was given.
21999 if test "${with_gtk_exec_prefix+set}" = set; then
22000 withval
="$with_gtk_exec_prefix"
22001 gtk_config_exec_prefix
="$withval"
22003 gtk_config_exec_prefix
=""
22005 # Check whether --enable-gtktest or --disable-gtktest was given.
22006 if test "${enable_gtktest+set}" = set; then
22007 enableval
="$enable_gtktest"
22013 for module
in .
$GTK_MODULES
22017 gtk_config_args
="$gtk_config_args gthread"
22022 if test x
$gtk_config_exec_prefix != x
; then
22023 gtk_config_args
="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
22024 if test x
${GTK_CONFIG+set} != xset
; then
22025 GTK_CONFIG
=$gtk_config_exec_prefix/bin
/gtk
-config
22028 if test x
$gtk_config_prefix != x
; then
22029 gtk_config_args
="$gtk_config_args --prefix=$gtk_config_prefix"
22030 if test x
${GTK_CONFIG+set} != xset
; then
22031 GTK_CONFIG
=$gtk_config_prefix/bin
/gtk
-config
22035 # Extract the first word of "gtk-config", so it can be a program name with args.
22036 set dummy gtk
-config; ac_word
=$2
22037 echo "$as_me:$LINENO: checking for $ac_word" >&5
22038 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
22039 if test "${ac_cv_path_GTK_CONFIG+set}" = set; then
22040 echo $ECHO_N "(cached) $ECHO_C" >&6
22042 case $GTK_CONFIG in
22044 ac_cv_path_GTK_CONFIG
="$GTK_CONFIG" # Let the user override the test with a path.
22047 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
22048 for as_dir
in $PATH
22051 test -z "$as_dir" && as_dir
=.
22052 for ac_exec_ext
in '' $ac_executable_extensions; do
22053 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
22054 ac_cv_path_GTK_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
22055 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
22061 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG
="no"
22065 GTK_CONFIG
=$ac_cv_path_GTK_CONFIG
22067 if test -n "$GTK_CONFIG"; then
22068 echo "$as_me:$LINENO: result: $GTK_CONFIG" >&5
22069 echo "${ECHO_T}$GTK_CONFIG" >&6
22071 echo "$as_me:$LINENO: result: no" >&5
22072 echo "${ECHO_T}no" >&6
22075 min_gtk_version
=1.2.7
22076 echo "$as_me:$LINENO: checking for GTK - version >= $min_gtk_version" >&5
22077 echo $ECHO_N "checking for GTK - version >= $min_gtk_version... $ECHO_C" >&6
22079 if test "$GTK_CONFIG" = "no" ; then
22082 GTK_CFLAGS
=`$GTK_CONFIG $gtk_config_args --cflags`
22083 GTK_LIBS
=`$GTK_CONFIG $gtk_config_args --libs`
22084 gtk_config_major_version
=`$GTK_CONFIG $gtk_config_args --version | \
22085 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
22086 gtk_config_minor_version
=`$GTK_CONFIG $gtk_config_args --version | \
22087 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
22088 gtk_config_micro_version
=`$GTK_CONFIG $gtk_config_args --version | \
22089 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
22090 if test "x$enable_gtktest" = "xyes" ; then
22091 ac_save_CFLAGS
="$CFLAGS"
22092 ac_save_LIBS
="$LIBS"
22093 CFLAGS
="$CFLAGS $GTK_CFLAGS"
22094 LIBS
="$GTK_LIBS $LIBS"
22096 if test "$cross_compiling" = yes; then
22097 echo $ac_n "cross compiling; assumed OK... $ac_c"
22099 cat >conftest.
$ac_ext <<_ACEOF
22102 cat confdefs.h
>>conftest.
$ac_ext
22103 cat >>conftest.
$ac_ext <<_ACEOF
22104 /* end confdefs.h. */
22106 #include <gtk/gtk.h>
22108 #include <stdlib.h>
22113 int major, minor, micro;
22116 system ("touch conf.gtktest");
22118 /* HP/UX 9 (%@#!) writes to sscanf strings */
22119 tmp_version = g_strdup("$min_gtk_version");
22120 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
22121 printf("%s, bad version string\n", "$min_gtk_version");
22125 if ((gtk_major_version != $gtk_config_major_version) ||
22126 (gtk_minor_version != $gtk_config_minor_version) ||
22127 (gtk_micro_version != $gtk_config_micro_version))
22129 printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
22130 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
22131 gtk_major_version, gtk_minor_version, gtk_micro_version);
22132 printf ("*** was found! If gtk-config was correct, then it is best\n");
22133 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
22134 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
22135 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
22136 printf("*** required on your system.\n");
22137 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
22138 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
22139 printf("*** before re-running configure\n");
22141 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
22142 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
22143 (gtk_minor_version != GTK_MINOR_VERSION) ||
22144 (gtk_micro_version != GTK_MICRO_VERSION))
22146 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
22147 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
22148 printf("*** library (version %d.%d.%d)\n",
22149 gtk_major_version, gtk_minor_version, gtk_micro_version);
22151 #endif /* defined (GTK_MAJOR_VERSION) ... */
22154 if ((gtk_major_version > major) ||
22155 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
22156 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
22162 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
22163 gtk_major_version, gtk_minor_version, gtk_micro_version);
22164 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
22165 major, minor, micro);
22166 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
22168 printf("*** If you have already installed a sufficiently new version, this error\n");
22169 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
22170 printf("*** being found. The easiest way to fix this is to remove the old version\n");
22171 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
22172 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
22173 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
22174 printf("*** so that the correct libraries are found at run-time))\n");
22181 rm -f conftest
$ac_exeext
22182 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22183 (eval $ac_link) 2>&5
22185 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22186 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
22187 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22188 (eval $ac_try) 2>&5
22190 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22191 (exit $ac_status); }; }; then
22194 echo "$as_me: program exited with status $ac_status" >&5
22195 echo "$as_me: failed program was:" >&5
22196 sed 's/^/| /' conftest.
$ac_ext >&5
22198 ( exit $ac_status )
22201 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
22203 CFLAGS
="$ac_save_CFLAGS"
22204 LIBS
="$ac_save_LIBS"
22207 if test "x$no_gtk" = x
; then
22208 echo "$as_me:$LINENO: result: yes" >&5
22209 echo "${ECHO_T}yes" >&6
22210 wx_cv_lib_gtk
=1.2.7
22212 echo "$as_me:$LINENO: result: no" >&5
22213 echo "${ECHO_T}no" >&6
22214 if test "$GTK_CONFIG" = "no" ; then
22215 echo "*** The gtk-config script installed by GTK could not be found"
22216 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
22217 echo "*** your path, or set the GTK_CONFIG environment variable to the"
22218 echo "*** full path to gtk-config."
22220 if test -f conf.gtktest
; then
22223 echo "*** Could not run GTK test program, checking why..."
22224 CFLAGS
="$CFLAGS $GTK_CFLAGS"
22225 LIBS
="$LIBS $GTK_LIBS"
22226 cat >conftest.
$ac_ext <<_ACEOF
22229 cat confdefs.h
>>conftest.
$ac_ext
22230 cat >>conftest.
$ac_ext <<_ACEOF
22231 /* end confdefs.h. */
22233 #include <gtk/gtk.h>
22239 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
22244 rm -f conftest.
$ac_objext conftest
$ac_exeext
22245 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22246 (eval $ac_link) 2>conftest.er1
22248 grep -v '^ *+' conftest.er1
>conftest.err
22250 cat conftest.err
>&5
22251 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22252 (exit $ac_status); } &&
22253 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
22254 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22255 (eval $ac_try) 2>&5
22257 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22258 (exit $ac_status); }; } &&
22259 { ac_try
='test -s conftest$ac_exeext'
22260 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22261 (eval $ac_try) 2>&5
22263 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22264 (exit $ac_status); }; }; then
22265 echo "*** The test program compiled, but did not run. This usually means"
22266 echo "*** that the run-time linker is not finding GTK or finding the wrong"
22267 echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
22268 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
22269 echo "*** to the installed location Also, make sure you have run ldconfig if that"
22270 echo "*** is required on your system"
22272 echo "*** If you have an old version installed, it is best to remove it, although"
22273 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
22275 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
22276 echo "*** came with the system with the command"
22278 echo "*** rpm --erase --nodeps gtk gtk-devel"
22280 echo "$as_me: failed program was:" >&5
22281 sed 's/^/| /' conftest.
$ac_ext >&5
22283 echo "*** The test program failed to compile or link. See the file config.log for the"
22284 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
22285 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
22286 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
22288 rm -f conftest.err conftest.
$ac_objext \
22289 conftest
$ac_exeext conftest.
$ac_ext
22290 CFLAGS
="$ac_save_CFLAGS"
22291 LIBS
="$ac_save_LIBS"
22303 if test -z "$wx_cv_lib_gtk"; then
22305 # Check whether --with-gtk-prefix or --without-gtk-prefix was given.
22306 if test "${with_gtk_prefix+set}" = set; then
22307 withval
="$with_gtk_prefix"
22308 gtk_config_prefix
="$withval"
22310 gtk_config_prefix
=""
22313 # Check whether --with-gtk-exec-prefix or --without-gtk-exec-prefix was given.
22314 if test "${with_gtk_exec_prefix+set}" = set; then
22315 withval
="$with_gtk_exec_prefix"
22316 gtk_config_exec_prefix
="$withval"
22318 gtk_config_exec_prefix
=""
22320 # Check whether --enable-gtktest or --disable-gtktest was given.
22321 if test "${enable_gtktest+set}" = set; then
22322 enableval
="$enable_gtktest"
22328 for module
in .
$GTK_MODULES
22332 gtk_config_args
="$gtk_config_args gthread"
22337 if test x
$gtk_config_exec_prefix != x
; then
22338 gtk_config_args
="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
22339 if test x
${GTK_CONFIG+set} != xset
; then
22340 GTK_CONFIG
=$gtk_config_exec_prefix/bin
/gtk
-config
22343 if test x
$gtk_config_prefix != x
; then
22344 gtk_config_args
="$gtk_config_args --prefix=$gtk_config_prefix"
22345 if test x
${GTK_CONFIG+set} != xset
; then
22346 GTK_CONFIG
=$gtk_config_prefix/bin
/gtk
-config
22350 # Extract the first word of "gtk-config", so it can be a program name with args.
22351 set dummy gtk
-config; ac_word
=$2
22352 echo "$as_me:$LINENO: checking for $ac_word" >&5
22353 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
22354 if test "${ac_cv_path_GTK_CONFIG+set}" = set; then
22355 echo $ECHO_N "(cached) $ECHO_C" >&6
22357 case $GTK_CONFIG in
22359 ac_cv_path_GTK_CONFIG
="$GTK_CONFIG" # Let the user override the test with a path.
22362 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
22363 for as_dir
in $PATH
22366 test -z "$as_dir" && as_dir
=.
22367 for ac_exec_ext
in '' $ac_executable_extensions; do
22368 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
22369 ac_cv_path_GTK_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
22370 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
22376 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG
="no"
22380 GTK_CONFIG
=$ac_cv_path_GTK_CONFIG
22382 if test -n "$GTK_CONFIG"; then
22383 echo "$as_me:$LINENO: result: $GTK_CONFIG" >&5
22384 echo "${ECHO_T}$GTK_CONFIG" >&6
22386 echo "$as_me:$LINENO: result: no" >&5
22387 echo "${ECHO_T}no" >&6
22390 min_gtk_version
=1.2.3
22391 echo "$as_me:$LINENO: checking for GTK - version >= $min_gtk_version" >&5
22392 echo $ECHO_N "checking for GTK - version >= $min_gtk_version... $ECHO_C" >&6
22394 if test "$GTK_CONFIG" = "no" ; then
22397 GTK_CFLAGS
=`$GTK_CONFIG $gtk_config_args --cflags`
22398 GTK_LIBS
=`$GTK_CONFIG $gtk_config_args --libs`
22399 gtk_config_major_version
=`$GTK_CONFIG $gtk_config_args --version | \
22400 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
22401 gtk_config_minor_version
=`$GTK_CONFIG $gtk_config_args --version | \
22402 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
22403 gtk_config_micro_version
=`$GTK_CONFIG $gtk_config_args --version | \
22404 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
22405 if test "x$enable_gtktest" = "xyes" ; then
22406 ac_save_CFLAGS
="$CFLAGS"
22407 ac_save_LIBS
="$LIBS"
22408 CFLAGS
="$CFLAGS $GTK_CFLAGS"
22409 LIBS
="$GTK_LIBS $LIBS"
22411 if test "$cross_compiling" = yes; then
22412 echo $ac_n "cross compiling; assumed OK... $ac_c"
22414 cat >conftest.
$ac_ext <<_ACEOF
22417 cat confdefs.h
>>conftest.
$ac_ext
22418 cat >>conftest.
$ac_ext <<_ACEOF
22419 /* end confdefs.h. */
22421 #include <gtk/gtk.h>
22423 #include <stdlib.h>
22428 int major, minor, micro;
22431 system ("touch conf.gtktest");
22433 /* HP/UX 9 (%@#!) writes to sscanf strings */
22434 tmp_version = g_strdup("$min_gtk_version");
22435 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
22436 printf("%s, bad version string\n", "$min_gtk_version");
22440 if ((gtk_major_version != $gtk_config_major_version) ||
22441 (gtk_minor_version != $gtk_config_minor_version) ||
22442 (gtk_micro_version != $gtk_config_micro_version))
22444 printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
22445 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
22446 gtk_major_version, gtk_minor_version, gtk_micro_version);
22447 printf ("*** was found! If gtk-config was correct, then it is best\n");
22448 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
22449 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
22450 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
22451 printf("*** required on your system.\n");
22452 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
22453 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
22454 printf("*** before re-running configure\n");
22456 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
22457 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
22458 (gtk_minor_version != GTK_MINOR_VERSION) ||
22459 (gtk_micro_version != GTK_MICRO_VERSION))
22461 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
22462 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
22463 printf("*** library (version %d.%d.%d)\n",
22464 gtk_major_version, gtk_minor_version, gtk_micro_version);
22466 #endif /* defined (GTK_MAJOR_VERSION) ... */
22469 if ((gtk_major_version > major) ||
22470 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
22471 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
22477 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
22478 gtk_major_version, gtk_minor_version, gtk_micro_version);
22479 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
22480 major, minor, micro);
22481 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
22483 printf("*** If you have already installed a sufficiently new version, this error\n");
22484 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
22485 printf("*** being found. The easiest way to fix this is to remove the old version\n");
22486 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
22487 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
22488 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
22489 printf("*** so that the correct libraries are found at run-time))\n");
22496 rm -f conftest
$ac_exeext
22497 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22498 (eval $ac_link) 2>&5
22500 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22501 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
22502 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22503 (eval $ac_try) 2>&5
22505 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22506 (exit $ac_status); }; }; then
22509 echo "$as_me: program exited with status $ac_status" >&5
22510 echo "$as_me: failed program was:" >&5
22511 sed 's/^/| /' conftest.
$ac_ext >&5
22513 ( exit $ac_status )
22516 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
22518 CFLAGS
="$ac_save_CFLAGS"
22519 LIBS
="$ac_save_LIBS"
22522 if test "x$no_gtk" = x
; then
22523 echo "$as_me:$LINENO: result: yes" >&5
22524 echo "${ECHO_T}yes" >&6
22525 wx_cv_lib_gtk
=1.2.3
22527 echo "$as_me:$LINENO: result: no" >&5
22528 echo "${ECHO_T}no" >&6
22529 if test "$GTK_CONFIG" = "no" ; then
22530 echo "*** The gtk-config script installed by GTK could not be found"
22531 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
22532 echo "*** your path, or set the GTK_CONFIG environment variable to the"
22533 echo "*** full path to gtk-config."
22535 if test -f conf.gtktest
; then
22538 echo "*** Could not run GTK test program, checking why..."
22539 CFLAGS
="$CFLAGS $GTK_CFLAGS"
22540 LIBS
="$LIBS $GTK_LIBS"
22541 cat >conftest.
$ac_ext <<_ACEOF
22544 cat confdefs.h
>>conftest.
$ac_ext
22545 cat >>conftest.
$ac_ext <<_ACEOF
22546 /* end confdefs.h. */
22548 #include <gtk/gtk.h>
22554 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
22559 rm -f conftest.
$ac_objext conftest
$ac_exeext
22560 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22561 (eval $ac_link) 2>conftest.er1
22563 grep -v '^ *+' conftest.er1
>conftest.err
22565 cat conftest.err
>&5
22566 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22567 (exit $ac_status); } &&
22568 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
22569 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22570 (eval $ac_try) 2>&5
22572 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22573 (exit $ac_status); }; } &&
22574 { ac_try
='test -s conftest$ac_exeext'
22575 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22576 (eval $ac_try) 2>&5
22578 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22579 (exit $ac_status); }; }; then
22580 echo "*** The test program compiled, but did not run. This usually means"
22581 echo "*** that the run-time linker is not finding GTK or finding the wrong"
22582 echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
22583 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
22584 echo "*** to the installed location Also, make sure you have run ldconfig if that"
22585 echo "*** is required on your system"
22587 echo "*** If you have an old version installed, it is best to remove it, although"
22588 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
22590 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
22591 echo "*** came with the system with the command"
22593 echo "*** rpm --erase --nodeps gtk gtk-devel"
22595 echo "$as_me: failed program was:" >&5
22596 sed 's/^/| /' conftest.
$ac_ext >&5
22598 echo "*** The test program failed to compile or link. See the file config.log for the"
22599 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
22600 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
22601 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
22603 rm -f conftest.err conftest.
$ac_objext \
22604 conftest
$ac_exeext conftest.
$ac_ext
22605 CFLAGS
="$ac_save_CFLAGS"
22606 LIBS
="$ac_save_LIBS"
22620 if test -z "$wx_cv_lib_gtk"; then
22623 wx_cv_cflags_gtk
=$GTK_CFLAGS
22624 wx_cv_libs_gtk
=$GTK_LIBS
22631 if test "$gtk_version_cached" = 1; then
22632 echo "$as_me:$LINENO: result: $wx_cv_lib_gtk" >&5
22633 echo "${ECHO_T}$wx_cv_lib_gtk" >&6
22636 case "$wx_cv_lib_gtk" in
22645 *) { { echo "$as_me:$LINENO: error:
22646 Please check that gtk-config is in path, the directory
22647 where GTK+ libraries are installed (returned by
22648 'gtk-config --libs' command) is in LD_LIBRARY_PATH or
22649 equivalent variable and GTK+ is version 1.2.3 or above.
22651 echo "$as_me: error:
22652 Please check that gtk-config is in path, the directory
22653 where GTK+ libraries are installed (returned by
22654 'gtk-config --libs' command) is in LD_LIBRARY_PATH or
22655 equivalent variable and GTK+ is version 1.2.3 or above.
22657 { (exit 1); exit 1; }; }
22661 if test "$WXGTK20" = 1; then
22662 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
22666 if test -z "$PKG_CONFIG"; then
22667 # Extract the first word of "pkg-config", so it can be a program name with args.
22668 set dummy pkg
-config; ac_word
=$2
22669 echo "$as_me:$LINENO: checking for $ac_word" >&5
22670 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
22671 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
22672 echo $ECHO_N "(cached) $ECHO_C" >&6
22674 case $PKG_CONFIG in
22676 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
22679 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
22680 for as_dir
in $PATH
22683 test -z "$as_dir" && as_dir
=.
22684 for ac_exec_ext
in '' $ac_executable_extensions; do
22685 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
22686 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
22687 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
22693 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
22697 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
22699 if test -n "$PKG_CONFIG"; then
22700 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
22701 echo "${ECHO_T}$PKG_CONFIG" >&6
22703 echo "$as_me:$LINENO: result: no" >&5
22704 echo "${ECHO_T}no" >&6
22709 if test "$PKG_CONFIG" = "no" ; then
22710 echo "*** The pkg-config script could not be found. Make sure it is"
22711 echo "*** in your path, or set the PKG_CONFIG environment variable"
22712 echo "*** to the full path to pkg-config."
22713 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
22715 PKG_CONFIG_MIN_VERSION
=0.9.0
22716 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
22717 echo "$as_me:$LINENO: checking for pangoft2" >&5
22718 echo $ECHO_N "checking for pangoft2... $ECHO_C" >&6
22720 if $PKG_CONFIG --exists "pangoft2" ; then
22721 echo "$as_me:$LINENO: result: yes" >&5
22722 echo "${ECHO_T}yes" >&6
22725 echo "$as_me:$LINENO: checking PANGOFT2_CFLAGS" >&5
22726 echo $ECHO_N "checking PANGOFT2_CFLAGS... $ECHO_C" >&6
22727 PANGOFT2_CFLAGS
=`$PKG_CONFIG --cflags "pangoft2"`
22728 echo "$as_me:$LINENO: result: $PANGOFT2_CFLAGS" >&5
22729 echo "${ECHO_T}$PANGOFT2_CFLAGS" >&6
22731 echo "$as_me:$LINENO: checking PANGOFT2_LIBS" >&5
22732 echo $ECHO_N "checking PANGOFT2_LIBS... $ECHO_C" >&6
22733 PANGOFT2_LIBS
=`$PKG_CONFIG --libs "pangoft2"`
22734 echo "$as_me:$LINENO: result: $PANGOFT2_LIBS" >&5
22735 echo "${ECHO_T}$PANGOFT2_LIBS" >&6
22739 ## If we have a custom action on failure, don't print errors, but
22740 ## do set a variable so people can do so.
22741 PANGOFT2_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoft2"`
22748 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
22749 echo "*** See http://www.freedesktop.org/software/pkgconfig"
22753 if test $succeeded = yes; then
22755 CXXFLAGS
="$CXXFLAGS $PANGOFT2_CFLAGS"
22756 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY $PANGOFT2_LIBS"
22760 { echo "$as_me:$LINENO: WARNING: pangoft2 library not found, library will be compiled without printing support" >&5
22761 echo "$as_me: WARNING: pangoft2 library not found, library will be compiled without printing support" >&2;}
22762 wxUSE_PRINTING_ARCHITECTURE
="no"
22769 if test "$wxUSE_UNICODE" = "yes"; then
22770 { echo "$as_me:$LINENO: WARNING: Unicode configuration not supported with GTK+ 1.x" >&5
22771 echo "$as_me: WARNING: Unicode configuration not supported with GTK+ 1.x" >&2;}
22776 if test "$USE_DARWIN" != 1; then
22778 for ac_func
in poll
22780 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
22781 echo "$as_me:$LINENO: checking for $ac_func" >&5
22782 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
22783 if eval "test \"\${$as_ac_var+set}\" = set"; then
22784 echo $ECHO_N "(cached) $ECHO_C" >&6
22786 cat >conftest.
$ac_ext <<_ACEOF
22789 cat confdefs.h
>>conftest.
$ac_ext
22790 cat >>conftest.
$ac_ext <<_ACEOF
22791 /* end confdefs.h. */
22792 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
22793 For example, HP-UX 11i <limits.h> declares gettimeofday. */
22794 #define $ac_func innocuous_$ac_func
22796 /* System header to define __stub macros and hopefully few prototypes,
22797 which can conflict with char $ac_func (); below.
22798 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
22799 <limits.h> exists even on freestanding compilers. */
22802 # include <limits.h>
22804 # include <assert.h>
22809 /* Override any gcc2 internal prototype to avoid an error. */
22814 /* We use char because int might match the return type of a gcc2
22815 builtin and then its argument prototype would still apply. */
22817 /* The GNU C library defines this for functions which it implements
22818 to always fail with ENOSYS. Some functions are actually named
22819 something starting with __ and the normal name is an alias. */
22820 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
22823 char (*f) () = $ac_func;
22832 return f != $ac_func;
22837 rm -f conftest.
$ac_objext conftest
$ac_exeext
22838 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22839 (eval $ac_link) 2>conftest.er1
22841 grep -v '^ *+' conftest.er1
>conftest.err
22843 cat conftest.err
>&5
22844 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22845 (exit $ac_status); } &&
22846 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
22847 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22848 (eval $ac_try) 2>&5
22850 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22851 (exit $ac_status); }; } &&
22852 { ac_try
='test -s conftest$ac_exeext'
22853 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22854 (eval $ac_try) 2>&5
22856 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22857 (exit $ac_status); }; }; then
22858 eval "$as_ac_var=yes"
22860 echo "$as_me: failed program was:" >&5
22861 sed 's/^/| /' conftest.
$ac_ext >&5
22863 eval "$as_ac_var=no"
22865 rm -f conftest.err conftest.
$ac_objext \
22866 conftest
$ac_exeext conftest.
$ac_ext
22868 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
22869 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
22870 if test `eval echo '${'$as_ac_var'}'` = yes; then
22871 cat >>confdefs.h
<<_ACEOF
22872 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
22880 TOOLKIT_INCLUDE
="$wx_cv_cflags_gtk"
22881 GUI_TK_LIBRARY
="$wx_cv_libs_gtk $GUI_TK_LIBRARY"
22883 AFMINSTALL
=afminstall
22887 echo "$as_me:$LINENO: checking for gdk_im_open in -lgdk" >&5
22888 echo $ECHO_N "checking for gdk_im_open in -lgdk... $ECHO_C" >&6
22889 if test "${ac_cv_lib_gdk_gdk_im_open+set}" = set; then
22890 echo $ECHO_N "(cached) $ECHO_C" >&6
22892 ac_check_lib_save_LIBS
=$LIBS
22894 cat >conftest.
$ac_ext <<_ACEOF
22897 cat confdefs.h
>>conftest.
$ac_ext
22898 cat >>conftest.
$ac_ext <<_ACEOF
22899 /* end confdefs.h. */
22901 /* Override any gcc2 internal prototype to avoid an error. */
22905 /* We use char because int might match the return type of a gcc2
22906 builtin and then its argument prototype would still apply. */
22907 char gdk_im_open ();
22916 rm -f conftest.
$ac_objext conftest
$ac_exeext
22917 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22918 (eval $ac_link) 2>conftest.er1
22920 grep -v '^ *+' conftest.er1
>conftest.err
22922 cat conftest.err
>&5
22923 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22924 (exit $ac_status); } &&
22925 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
22926 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22927 (eval $ac_try) 2>&5
22929 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22930 (exit $ac_status); }; } &&
22931 { ac_try
='test -s conftest$ac_exeext'
22932 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22933 (eval $ac_try) 2>&5
22935 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22936 (exit $ac_status); }; }; then
22937 ac_cv_lib_gdk_gdk_im_open
=yes
22939 echo "$as_me: failed program was:" >&5
22940 sed 's/^/| /' conftest.
$ac_ext >&5
22942 ac_cv_lib_gdk_gdk_im_open
=no
22944 rm -f conftest.err conftest.
$ac_objext \
22945 conftest
$ac_exeext conftest.
$ac_ext
22946 LIBS
=$ac_check_lib_save_LIBS
22948 echo "$as_me:$LINENO: result: $ac_cv_lib_gdk_gdk_im_open" >&5
22949 echo "${ECHO_T}$ac_cv_lib_gdk_gdk_im_open" >&6
22950 if test $ac_cv_lib_gdk_gdk_im_open = yes; then
22951 cat >>confdefs.h
<<\_ACEOF
22959 if test "$wxUSE_GPE" = "yes"; then
22960 echo "$as_me:$LINENO: checking for gpewidget library" >&5
22961 echo $ECHO_N "checking for gpewidget library... $ECHO_C" >&6
22964 for ac_dir
in $SEARCH_LIB /usr
/lib
;
22966 for ac_extension
in a so sl dylib
; do
22967 if test -f "$ac_dir/libgpewidget.$ac_extension"; then
22968 ac_find_libraries
=$ac_dir
22974 if test "$ac_find_libraries" != "" ; then
22976 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev
/null
22978 if test $result = 0; then
22981 ac_path_to_link
=" -L$ac_find_libraries"
22984 GUI_TK_LIBRARY
="-L${prefix}/lib -lgpewidget $GUI_TK_LIBRARY"
22986 echo "$as_me:$LINENO: result: found at $ac_find_libraries" >&5
22987 echo "${ECHO_T}found at $ac_find_libraries" >&6
22989 echo "$as_me:$LINENO: result: not found" >&5
22990 echo "${ECHO_T}not found" >&6
22996 if test "$wxUSE_MGL" = 1; then
22997 echo "$as_me:$LINENO: checking for SciTech MGL library" >&5
22998 echo $ECHO_N "checking for SciTech MGL library... $ECHO_C" >&6
22999 if test "x$MGL_ROOT" = x
; then
23000 echo "$as_me:$LINENO: result: not found" >&5
23001 echo "${ECHO_T}not found" >&6
23002 { { echo "$as_me:$LINENO: error: Cannot find MGL library. Make sure MGL_ROOT is set." >&5
23003 echo "$as_me: error: Cannot find MGL library. Make sure MGL_ROOT is set." >&2;}
23004 { (exit 1); exit 1; }; }
23006 echo "$as_me:$LINENO: result: $MGL_ROOT" >&5
23007 echo "${ECHO_T}$MGL_ROOT" >&6
23010 echo "$as_me:$LINENO: checking for libmgl location" >&5
23011 echo $ECHO_N "checking for libmgl location... $ECHO_C" >&6
23014 if test "x$wxUSE_SHARED" = xyes
; then
23015 mgl_os_candidates
="linux/gcc/x86/so linux/gcc/x86/a linux/gcc/glibc.so linux/gcc/glibc"
23017 mgl_os_candidates
="linux/gcc/x86/a linux/gcc/x86/so linux/gcc/glibc linux/gcc/glibc.so"
23021 mgl_os_candidates
="dos32/dj2"
23024 { { echo "$as_me:$LINENO: error: This system type ${host} is not yet supported by wxMGL." >&5
23025 echo "$as_me: error: This system type ${host} is not yet supported by wxMGL." >&2;}
23026 { (exit 1); exit 1; }; }
23032 for mgl_os_i
in $mgl_os_candidates ; do
23033 if test "x$mgl_os" = x
; then
23034 if test "$wxUSE_DEBUG_FLAG" = yes ; then
23035 if test -f $MGL_ROOT/lib
/debug
/$mgl_os_i/libmgl.a
-o \
23036 -f $MGL_ROOT/lib
/debug
/$mgl_os_i/libmgl.so
; then
23041 if test "x$mgl_lib_type" = x
; then
23042 if test -f $MGL_ROOT/lib
/release
/$mgl_os_i/libmgl.a
-o \
23043 -f $MGL_ROOT/lib
/release
/$mgl_os_i/libmgl.so
; then
23044 mgl_lib_type
=release
23051 if test "x$mgl_os" = x
; then
23052 echo "$as_me:$LINENO: result: not found" >&5
23053 echo "${ECHO_T}not found" >&6
23054 { { echo "$as_me:$LINENO: error: Cannot find MGL libraries, make sure they are compiled." >&5
23055 echo "$as_me: error: Cannot find MGL libraries, make sure they are compiled." >&2;}
23056 { (exit 1); exit 1; }; }
23058 echo "$as_me:$LINENO: result: \"$MGL_ROOT/lib/$mgl_lib_type/$mgl_os\"" >&5
23059 echo "${ECHO_T}\"$MGL_ROOT/lib/$mgl_lib_type/$mgl_os\"" >&6
23061 wxUSE_UNIVERSAL
="yes"
23063 TOOLKIT_INCLUDE
="-I$MGL_ROOT/include"
23064 GUI_TK_LIBRARY
="-L$MGL_ROOT/lib/$mgl_lib_type/$mgl_os -lmgl -lmglcpp -lpm"
23066 AFMINSTALL
=afminstall
23071 if test "$wxUSE_MICROWIN" = 1; then
23072 echo "$as_me:$LINENO: checking for MicroWindows" >&5
23073 echo $ECHO_N "checking for MicroWindows... $ECHO_C" >&6
23074 if test "x$MICROWINDOWS" = x
; then
23075 echo "$as_me:$LINENO: result: not found" >&5
23076 echo "${ECHO_T}not found" >&6
23077 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows library. Make sure MICROWINDOWS is set." >&5
23078 echo "$as_me: error: Cannot find MicroWindows library. Make sure MICROWINDOWS is set." >&2;}
23079 { (exit 1); exit 1; }; }
23081 echo "$as_me:$LINENO: result: $MICROWINDOWS" >&5
23082 echo "${ECHO_T}$MICROWINDOWS" >&6
23085 if test -f $MICROWINDOWS/lib
/libmwin.a
; then
23086 echo "$as_me:$LINENO: result: MicroWindows' libraries found." >&5
23087 echo "${ECHO_T}MicroWindows' libraries found." >&6
23089 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows libraries, make sure they are compiled." >&5
23090 echo "$as_me: error: Cannot find MicroWindows libraries, make sure they are compiled." >&2;}
23091 { (exit 1); exit 1; }; }
23094 TOOLKIT_INCLUDE
="-I$MICROWINDOWS/include"
23095 GUI_TK_LIBRARY
="-L$MICROWINDOWS/lib -lmwin -lmwengine -mwfonts -mwdrivers -mwinlib"
23097 wxUSE_UNIVERSAL
="yes"
23099 AFMINSTALL
=afminstall
23101 GUIDIST
=MICROWIN_DIST
23103 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -D__WXMSW__ -D__WIN95__ -D__WIN32__ -DMWIN -DMICROWIN_NOCONTROLS -DMICROWIN_TODO=1"
23106 if test "$wxUSE_X11" = 1; then
23107 echo "$as_me:$LINENO: checking for X" >&5
23108 echo $ECHO_N "checking for X... $ECHO_C" >&6
23111 # Check whether --with-x or --without-x was given.
23112 if test "${with_x+set}" = set; then
23116 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
23117 if test "x$with_x" = xno
; then
23118 # The user explicitly disabled X.
23121 if test "x$x_includes" != xNONE
&& test "x$x_libraries" != xNONE
; then
23122 # Both variables are already set.
23125 if test "${ac_cv_have_x+set}" = set; then
23126 echo $ECHO_N "(cached) $ECHO_C" >&6
23128 # One or both of the vars are not set, and there is no cached value.
23129 ac_x_includes
=no ac_x_libraries
=no
23130 rm -fr conftest.dir
23131 if mkdir conftest.dir
; then
23133 # Make sure to not put "make" in the Imakefile rules, since we grep it out.
23134 cat >Imakefile
<<'_ACEOF'
23136 @echo 'ac_im_incroot="${INCROOT}"; ac_im_usrlibdir="${USRLIBDIR}"; ac_im_libdir="${LIBDIR}"'
23138 if (xmkmf
) >/dev
/null
2>/dev
/null
&& test -f Makefile
; then
23139 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
23140 eval `${MAKE-make} acfindx 2>/dev/null | grep -v make`
23141 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
23142 for ac_extension
in a so sl
; do
23143 if test ! -f $ac_im_usrlibdir/libX11.
$ac_extension &&
23144 test -f $ac_im_libdir/libX11.
$ac_extension; then
23145 ac_im_usrlibdir
=$ac_im_libdir; break
23148 # Screen out bogus values from the imake configuration. They are
23149 # bogus both because they are the default anyway, and because
23150 # using them would break gcc on systems where it needs fixed includes.
23151 case $ac_im_incroot in
23153 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes
=$ac_im_incroot;;
23155 case $ac_im_usrlibdir in
23156 /usr
/lib
| /lib
) ;;
23157 *) test -d "$ac_im_usrlibdir" && ac_x_libraries
=$ac_im_usrlibdir ;;
23161 rm -fr conftest.dir
23164 # Standard set of common directories for X headers.
23165 # Check X11 before X11Rn because it is often a symlink to the current release.
23177 /usr/local/X11/include
23178 /usr/local/X11R6/include
23179 /usr/local/X11R5/include
23180 /usr/local/X11R4/include
23182 /usr/local/include/X11
23183 /usr/local/include/X11R6
23184 /usr/local/include/X11R5
23185 /usr/local/include/X11R4
23189 /usr/XFree86/include/X11
23193 /usr/unsupported/include
23194 /usr/athena/include
23195 /usr/local/x11r5/include
23196 /usr/lpp/Xamples/include
23198 /usr/openwin/include
23199 /usr/openwin/share/include'
23201 if test "$ac_x_includes" = no
; then
23202 # Guess where to find include files, by looking for Intrinsic.h.
23203 # First, try using that file with no special directory specified.
23204 cat >conftest.
$ac_ext <<_ACEOF
23207 cat confdefs.h
>>conftest.
$ac_ext
23208 cat >>conftest.
$ac_ext <<_ACEOF
23209 /* end confdefs.h. */
23210 #include <X11/Intrinsic.h>
23212 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
23213 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
23215 grep -v '^ *+' conftest.er1
>conftest.err
23217 cat conftest.err
>&5
23218 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23219 (exit $ac_status); } >/dev
/null
; then
23220 if test -s conftest.err
; then
23221 ac_cpp_err
=$ac_c_preproc_warn_flag
23222 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
23229 if test -z "$ac_cpp_err"; then
23230 # We can compile using X headers with no special include directory.
23233 echo "$as_me: failed program was:" >&5
23234 sed 's/^/| /' conftest.
$ac_ext >&5
23236 for ac_dir
in $ac_x_header_dirs; do
23237 if test -r "$ac_dir/X11/Intrinsic.h"; then
23238 ac_x_includes
=$ac_dir
23243 rm -f conftest.err conftest.
$ac_ext
23244 fi # $ac_x_includes = no
23246 if test "$ac_x_libraries" = no
; then
23247 # Check for the libraries.
23248 # See if we find them without any special options.
23249 # Don't add to $LIBS permanently.
23252 cat >conftest.
$ac_ext <<_ACEOF
23255 cat confdefs.h
>>conftest.
$ac_ext
23256 cat >>conftest.
$ac_ext <<_ACEOF
23257 /* end confdefs.h. */
23258 #include <X11/Intrinsic.h>
23267 rm -f conftest.
$ac_objext conftest
$ac_exeext
23268 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23269 (eval $ac_link) 2>conftest.er1
23271 grep -v '^ *+' conftest.er1
>conftest.err
23273 cat conftest.err
>&5
23274 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23275 (exit $ac_status); } &&
23276 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
23277 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23278 (eval $ac_try) 2>&5
23280 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23281 (exit $ac_status); }; } &&
23282 { ac_try
='test -s conftest$ac_exeext'
23283 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23284 (eval $ac_try) 2>&5
23286 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23287 (exit $ac_status); }; }; then
23289 # We can link X programs with no special library path.
23292 echo "$as_me: failed program was:" >&5
23293 sed 's/^/| /' conftest.
$ac_ext >&5
23296 for ac_dir
in `echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
23298 # Don't even attempt the hair of trying to link an X program!
23299 for ac_extension
in a so sl
; do
23300 if test -r $ac_dir/libXt.
$ac_extension; then
23301 ac_x_libraries
=$ac_dir
23307 rm -f conftest.err conftest.
$ac_objext \
23308 conftest
$ac_exeext conftest.
$ac_ext
23309 fi # $ac_x_libraries = no
23311 if test "$ac_x_includes" = no
|| test "$ac_x_libraries" = no
; then
23312 # Didn't find X anywhere. Cache the known absence of X.
23313 ac_cv_have_x
="have_x=no"
23315 # Record where we found X for the cache.
23316 ac_cv_have_x
="have_x=yes \
23317 ac_x_includes=$ac_x_includes ac_x_libraries=$ac_x_libraries"
23322 eval "$ac_cv_have_x"
23325 if test "$have_x" != yes; then
23326 echo "$as_me:$LINENO: result: $have_x" >&5
23327 echo "${ECHO_T}$have_x" >&6
23330 # If each of the values was on the command line, it overrides each guess.
23331 test "x$x_includes" = xNONE
&& x_includes
=$ac_x_includes
23332 test "x$x_libraries" = xNONE
&& x_libraries
=$ac_x_libraries
23333 # Update the cache value to reflect the command line values.
23334 ac_cv_have_x
="have_x=yes \
23335 ac_x_includes=$x_includes ac_x_libraries=$x_libraries"
23336 echo "$as_me:$LINENO: result: libraries $x_libraries, headers $x_includes" >&5
23337 echo "${ECHO_T}libraries $x_libraries, headers $x_includes" >&6
23340 if test "$no_x" = yes; then
23341 # Not all programs may use this symbol, but it does not hurt to define it.
23343 cat >>confdefs.h
<<\_ACEOF
23344 #define X_DISPLAY_MISSING 1
23347 X_CFLAGS
= X_PRE_LIBS
= X_LIBS
= X_EXTRA_LIBS
=
23349 if test -n "$x_includes"; then
23350 X_CFLAGS
="$X_CFLAGS -I$x_includes"
23353 # It would also be nice to do this for all -L options, not just this one.
23354 if test -n "$x_libraries"; then
23355 X_LIBS
="$X_LIBS -L$x_libraries"
23356 # For Solaris; some versions of Sun CC require a space after -R and
23357 # others require no space. Words are not sufficient . . . .
23358 case `(uname -sr) 2>/dev/null` in
23360 echo "$as_me:$LINENO: checking whether -R must be followed by a space" >&5
23361 echo $ECHO_N "checking whether -R must be followed by a space... $ECHO_C" >&6
23362 ac_xsave_LIBS
=$LIBS; LIBS
="$LIBS -R$x_libraries"
23363 cat >conftest.
$ac_ext <<_ACEOF
23366 cat confdefs.h
>>conftest.
$ac_ext
23367 cat >>conftest.
$ac_ext <<_ACEOF
23368 /* end confdefs.h. */
23378 rm -f conftest.
$ac_objext conftest
$ac_exeext
23379 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23380 (eval $ac_link) 2>conftest.er1
23382 grep -v '^ *+' conftest.er1
>conftest.err
23384 cat conftest.err
>&5
23385 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23386 (exit $ac_status); } &&
23387 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
23388 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23389 (eval $ac_try) 2>&5
23391 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23392 (exit $ac_status); }; } &&
23393 { ac_try
='test -s conftest$ac_exeext'
23394 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23395 (eval $ac_try) 2>&5
23397 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23398 (exit $ac_status); }; }; then
23401 echo "$as_me: failed program was:" >&5
23402 sed 's/^/| /' conftest.
$ac_ext >&5
23406 rm -f conftest.err conftest.
$ac_objext \
23407 conftest
$ac_exeext conftest.
$ac_ext
23408 if test $ac_R_nospace = yes; then
23409 echo "$as_me:$LINENO: result: no" >&5
23410 echo "${ECHO_T}no" >&6
23411 X_LIBS
="$X_LIBS -R$x_libraries"
23413 LIBS
="$ac_xsave_LIBS -R $x_libraries"
23414 cat >conftest.
$ac_ext <<_ACEOF
23417 cat confdefs.h
>>conftest.
$ac_ext
23418 cat >>conftest.
$ac_ext <<_ACEOF
23419 /* end confdefs.h. */
23429 rm -f conftest.
$ac_objext conftest
$ac_exeext
23430 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23431 (eval $ac_link) 2>conftest.er1
23433 grep -v '^ *+' conftest.er1
>conftest.err
23435 cat conftest.err
>&5
23436 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23437 (exit $ac_status); } &&
23438 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
23439 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23440 (eval $ac_try) 2>&5
23442 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23443 (exit $ac_status); }; } &&
23444 { ac_try
='test -s conftest$ac_exeext'
23445 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23446 (eval $ac_try) 2>&5
23448 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23449 (exit $ac_status); }; }; then
23452 echo "$as_me: failed program was:" >&5
23453 sed 's/^/| /' conftest.
$ac_ext >&5
23457 rm -f conftest.err conftest.
$ac_objext \
23458 conftest
$ac_exeext conftest.
$ac_ext
23459 if test $ac_R_space = yes; then
23460 echo "$as_me:$LINENO: result: yes" >&5
23461 echo "${ECHO_T}yes" >&6
23462 X_LIBS
="$X_LIBS -R $x_libraries"
23464 echo "$as_me:$LINENO: result: neither works" >&5
23465 echo "${ECHO_T}neither works" >&6
23468 LIBS
=$ac_xsave_LIBS
23472 # Check for system-dependent libraries X programs must link with.
23473 # Do this before checking for the system-independent R6 libraries
23474 # (-lICE), since we may need -lsocket or whatever for X linking.
23476 if test "$ISC" = yes; then
23477 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl_s -linet"
23479 # Martyn Johnson says this is needed for Ultrix, if the X
23480 # libraries were built with DECnet support. And Karl Berry says
23481 # the Alpha needs dnet_stub (dnet does not exist).
23482 ac_xsave_LIBS
="$LIBS"; LIBS
="$LIBS $X_LIBS -lX11"
23483 cat >conftest.
$ac_ext <<_ACEOF
23486 cat confdefs.h
>>conftest.
$ac_ext
23487 cat >>conftest.
$ac_ext <<_ACEOF
23488 /* end confdefs.h. */
23490 /* Override any gcc2 internal prototype to avoid an error. */
23494 /* We use char because int might match the return type of a gcc2
23495 builtin and then its argument prototype would still apply. */
23496 char XOpenDisplay ();
23505 rm -f conftest.
$ac_objext conftest
$ac_exeext
23506 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23507 (eval $ac_link) 2>conftest.er1
23509 grep -v '^ *+' conftest.er1
>conftest.err
23511 cat conftest.err
>&5
23512 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23513 (exit $ac_status); } &&
23514 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
23515 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23516 (eval $ac_try) 2>&5
23518 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23519 (exit $ac_status); }; } &&
23520 { ac_try
='test -s conftest$ac_exeext'
23521 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23522 (eval $ac_try) 2>&5
23524 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23525 (exit $ac_status); }; }; then
23528 echo "$as_me: failed program was:" >&5
23529 sed 's/^/| /' conftest.
$ac_ext >&5
23531 echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet" >&5
23532 echo $ECHO_N "checking for dnet_ntoa in -ldnet... $ECHO_C" >&6
23533 if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then
23534 echo $ECHO_N "(cached) $ECHO_C" >&6
23536 ac_check_lib_save_LIBS
=$LIBS
23537 LIBS
="-ldnet $LIBS"
23538 cat >conftest.
$ac_ext <<_ACEOF
23541 cat confdefs.h
>>conftest.
$ac_ext
23542 cat >>conftest.
$ac_ext <<_ACEOF
23543 /* end confdefs.h. */
23545 /* Override any gcc2 internal prototype to avoid an error. */
23549 /* We use char because int might match the return type of a gcc2
23550 builtin and then its argument prototype would still apply. */
23560 rm -f conftest.
$ac_objext conftest
$ac_exeext
23561 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23562 (eval $ac_link) 2>conftest.er1
23564 grep -v '^ *+' conftest.er1
>conftest.err
23566 cat conftest.err
>&5
23567 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23568 (exit $ac_status); } &&
23569 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
23570 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23571 (eval $ac_try) 2>&5
23573 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23574 (exit $ac_status); }; } &&
23575 { ac_try
='test -s conftest$ac_exeext'
23576 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23577 (eval $ac_try) 2>&5
23579 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23580 (exit $ac_status); }; }; then
23581 ac_cv_lib_dnet_dnet_ntoa
=yes
23583 echo "$as_me: failed program was:" >&5
23584 sed 's/^/| /' conftest.
$ac_ext >&5
23586 ac_cv_lib_dnet_dnet_ntoa
=no
23588 rm -f conftest.err conftest.
$ac_objext \
23589 conftest
$ac_exeext conftest.
$ac_ext
23590 LIBS
=$ac_check_lib_save_LIBS
23592 echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
23593 echo "${ECHO_T}$ac_cv_lib_dnet_dnet_ntoa" >&6
23594 if test $ac_cv_lib_dnet_dnet_ntoa = yes; then
23595 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet"
23598 if test $ac_cv_lib_dnet_dnet_ntoa = no
; then
23599 echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet_stub" >&5
23600 echo $ECHO_N "checking for dnet_ntoa in -ldnet_stub... $ECHO_C" >&6
23601 if test "${ac_cv_lib_dnet_stub_dnet_ntoa+set}" = set; then
23602 echo $ECHO_N "(cached) $ECHO_C" >&6
23604 ac_check_lib_save_LIBS
=$LIBS
23605 LIBS
="-ldnet_stub $LIBS"
23606 cat >conftest.
$ac_ext <<_ACEOF
23609 cat confdefs.h
>>conftest.
$ac_ext
23610 cat >>conftest.
$ac_ext <<_ACEOF
23611 /* end confdefs.h. */
23613 /* Override any gcc2 internal prototype to avoid an error. */
23617 /* We use char because int might match the return type of a gcc2
23618 builtin and then its argument prototype would still apply. */
23628 rm -f conftest.
$ac_objext conftest
$ac_exeext
23629 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23630 (eval $ac_link) 2>conftest.er1
23632 grep -v '^ *+' conftest.er1
>conftest.err
23634 cat conftest.err
>&5
23635 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23636 (exit $ac_status); } &&
23637 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
23638 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23639 (eval $ac_try) 2>&5
23641 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23642 (exit $ac_status); }; } &&
23643 { ac_try
='test -s conftest$ac_exeext'
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); }; }; then
23649 ac_cv_lib_dnet_stub_dnet_ntoa
=yes
23651 echo "$as_me: failed program was:" >&5
23652 sed 's/^/| /' conftest.
$ac_ext >&5
23654 ac_cv_lib_dnet_stub_dnet_ntoa
=no
23656 rm -f conftest.err conftest.
$ac_objext \
23657 conftest
$ac_exeext conftest.
$ac_ext
23658 LIBS
=$ac_check_lib_save_LIBS
23660 echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
23661 echo "${ECHO_T}$ac_cv_lib_dnet_stub_dnet_ntoa" >&6
23662 if test $ac_cv_lib_dnet_stub_dnet_ntoa = yes; then
23663 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet_stub"
23668 rm -f conftest.err conftest.
$ac_objext \
23669 conftest
$ac_exeext conftest.
$ac_ext
23670 LIBS
="$ac_xsave_LIBS"
23672 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
23673 # to get the SysV transport functions.
23674 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
23676 # The nsl library prevents programs from opening the X display
23677 # on Irix 5.2, according to T.E. Dickey.
23678 # The functions gethostbyname, getservbyname, and inet_addr are
23679 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
23680 echo "$as_me:$LINENO: checking for gethostbyname" >&5
23681 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6
23682 if test "${ac_cv_func_gethostbyname+set}" = set; then
23683 echo $ECHO_N "(cached) $ECHO_C" >&6
23685 cat >conftest.
$ac_ext <<_ACEOF
23688 cat confdefs.h
>>conftest.
$ac_ext
23689 cat >>conftest.
$ac_ext <<_ACEOF
23690 /* end confdefs.h. */
23691 /* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
23692 For example, HP-UX 11i <limits.h> declares gettimeofday. */
23693 #define gethostbyname innocuous_gethostbyname
23695 /* System header to define __stub macros and hopefully few prototypes,
23696 which can conflict with char gethostbyname (); below.
23697 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
23698 <limits.h> exists even on freestanding compilers. */
23701 # include <limits.h>
23703 # include <assert.h>
23706 #undef gethostbyname
23708 /* Override any gcc2 internal prototype to avoid an error. */
23713 /* We use char because int might match the return type of a gcc2
23714 builtin and then its argument prototype would still apply. */
23715 char gethostbyname ();
23716 /* The GNU C library defines this for functions which it implements
23717 to always fail with ENOSYS. Some functions are actually named
23718 something starting with __ and the normal name is an alias. */
23719 #if defined (__stub_gethostbyname) || defined (__stub___gethostbyname)
23722 char (*f) () = gethostbyname;
23731 return f != gethostbyname;
23736 rm -f conftest.
$ac_objext conftest
$ac_exeext
23737 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23738 (eval $ac_link) 2>conftest.er1
23740 grep -v '^ *+' conftest.er1
>conftest.err
23742 cat conftest.err
>&5
23743 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23744 (exit $ac_status); } &&
23745 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
23746 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23747 (eval $ac_try) 2>&5
23749 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23750 (exit $ac_status); }; } &&
23751 { ac_try
='test -s conftest$ac_exeext'
23752 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23753 (eval $ac_try) 2>&5
23755 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23756 (exit $ac_status); }; }; then
23757 ac_cv_func_gethostbyname
=yes
23759 echo "$as_me: failed program was:" >&5
23760 sed 's/^/| /' conftest.
$ac_ext >&5
23762 ac_cv_func_gethostbyname
=no
23764 rm -f conftest.err conftest.
$ac_objext \
23765 conftest
$ac_exeext conftest.
$ac_ext
23767 echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
23768 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6
23770 if test $ac_cv_func_gethostbyname = no
; then
23771 echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
23772 echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6
23773 if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
23774 echo $ECHO_N "(cached) $ECHO_C" >&6
23776 ac_check_lib_save_LIBS
=$LIBS
23778 cat >conftest.
$ac_ext <<_ACEOF
23781 cat confdefs.h
>>conftest.
$ac_ext
23782 cat >>conftest.
$ac_ext <<_ACEOF
23783 /* end confdefs.h. */
23785 /* Override any gcc2 internal prototype to avoid an error. */
23789 /* We use char because int might match the return type of a gcc2
23790 builtin and then its argument prototype would still apply. */
23791 char gethostbyname ();
23800 rm -f conftest.
$ac_objext conftest
$ac_exeext
23801 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23802 (eval $ac_link) 2>conftest.er1
23804 grep -v '^ *+' conftest.er1
>conftest.err
23806 cat conftest.err
>&5
23807 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23808 (exit $ac_status); } &&
23809 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
23810 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23811 (eval $ac_try) 2>&5
23813 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23814 (exit $ac_status); }; } &&
23815 { ac_try
='test -s conftest$ac_exeext'
23816 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23817 (eval $ac_try) 2>&5
23819 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23820 (exit $ac_status); }; }; then
23821 ac_cv_lib_nsl_gethostbyname
=yes
23823 echo "$as_me: failed program was:" >&5
23824 sed 's/^/| /' conftest.
$ac_ext >&5
23826 ac_cv_lib_nsl_gethostbyname
=no
23828 rm -f conftest.err conftest.
$ac_objext \
23829 conftest
$ac_exeext conftest.
$ac_ext
23830 LIBS
=$ac_check_lib_save_LIBS
23832 echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
23833 echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6
23834 if test $ac_cv_lib_nsl_gethostbyname = yes; then
23835 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl"
23838 if test $ac_cv_lib_nsl_gethostbyname = no
; then
23839 echo "$as_me:$LINENO: checking for gethostbyname in -lbsd" >&5
23840 echo $ECHO_N "checking for gethostbyname in -lbsd... $ECHO_C" >&6
23841 if test "${ac_cv_lib_bsd_gethostbyname+set}" = set; then
23842 echo $ECHO_N "(cached) $ECHO_C" >&6
23844 ac_check_lib_save_LIBS
=$LIBS
23846 cat >conftest.
$ac_ext <<_ACEOF
23849 cat confdefs.h
>>conftest.
$ac_ext
23850 cat >>conftest.
$ac_ext <<_ACEOF
23851 /* end confdefs.h. */
23853 /* Override any gcc2 internal prototype to avoid an error. */
23857 /* We use char because int might match the return type of a gcc2
23858 builtin and then its argument prototype would still apply. */
23859 char gethostbyname ();
23868 rm -f conftest.
$ac_objext conftest
$ac_exeext
23869 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23870 (eval $ac_link) 2>conftest.er1
23872 grep -v '^ *+' conftest.er1
>conftest.err
23874 cat conftest.err
>&5
23875 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23876 (exit $ac_status); } &&
23877 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
23878 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23879 (eval $ac_try) 2>&5
23881 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23882 (exit $ac_status); }; } &&
23883 { ac_try
='test -s conftest$ac_exeext'
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); }; }; then
23889 ac_cv_lib_bsd_gethostbyname
=yes
23891 echo "$as_me: failed program was:" >&5
23892 sed 's/^/| /' conftest.
$ac_ext >&5
23894 ac_cv_lib_bsd_gethostbyname
=no
23896 rm -f conftest.err conftest.
$ac_objext \
23897 conftest
$ac_exeext conftest.
$ac_ext
23898 LIBS
=$ac_check_lib_save_LIBS
23900 echo "$as_me:$LINENO: result: $ac_cv_lib_bsd_gethostbyname" >&5
23901 echo "${ECHO_T}$ac_cv_lib_bsd_gethostbyname" >&6
23902 if test $ac_cv_lib_bsd_gethostbyname = yes; then
23903 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lbsd"
23909 # lieder@skyler.mavd.honeywell.com says without -lsocket,
23910 # socket/setsockopt and other routines are undefined under SCO ODT
23911 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
23912 # on later versions), says Simon Leinen: it contains gethostby*
23913 # variants that don't use the name server (or something). -lsocket
23914 # must be given before -lnsl if both are needed. We assume that
23915 # if connect needs -lnsl, so does gethostbyname.
23916 echo "$as_me:$LINENO: checking for connect" >&5
23917 echo $ECHO_N "checking for connect... $ECHO_C" >&6
23918 if test "${ac_cv_func_connect+set}" = set; then
23919 echo $ECHO_N "(cached) $ECHO_C" >&6
23921 cat >conftest.
$ac_ext <<_ACEOF
23924 cat confdefs.h
>>conftest.
$ac_ext
23925 cat >>conftest.
$ac_ext <<_ACEOF
23926 /* end confdefs.h. */
23927 /* Define connect to an innocuous variant, in case <limits.h> declares connect.
23928 For example, HP-UX 11i <limits.h> declares gettimeofday. */
23929 #define connect innocuous_connect
23931 /* System header to define __stub macros and hopefully few prototypes,
23932 which can conflict with char connect (); below.
23933 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
23934 <limits.h> exists even on freestanding compilers. */
23937 # include <limits.h>
23939 # include <assert.h>
23944 /* Override any gcc2 internal prototype to avoid an error. */
23949 /* We use char because int might match the return type of a gcc2
23950 builtin and then its argument prototype would still apply. */
23952 /* The GNU C library defines this for functions which it implements
23953 to always fail with ENOSYS. Some functions are actually named
23954 something starting with __ and the normal name is an alias. */
23955 #if defined (__stub_connect) || defined (__stub___connect)
23958 char (*f) () = connect;
23967 return f != connect;
23972 rm -f conftest.
$ac_objext conftest
$ac_exeext
23973 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23974 (eval $ac_link) 2>conftest.er1
23976 grep -v '^ *+' conftest.er1
>conftest.err
23978 cat conftest.err
>&5
23979 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23980 (exit $ac_status); } &&
23981 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
23982 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23983 (eval $ac_try) 2>&5
23985 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23986 (exit $ac_status); }; } &&
23987 { ac_try
='test -s conftest$ac_exeext'
23988 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23989 (eval $ac_try) 2>&5
23991 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23992 (exit $ac_status); }; }; then
23993 ac_cv_func_connect
=yes
23995 echo "$as_me: failed program was:" >&5
23996 sed 's/^/| /' conftest.
$ac_ext >&5
23998 ac_cv_func_connect
=no
24000 rm -f conftest.err conftest.
$ac_objext \
24001 conftest
$ac_exeext conftest.
$ac_ext
24003 echo "$as_me:$LINENO: result: $ac_cv_func_connect" >&5
24004 echo "${ECHO_T}$ac_cv_func_connect" >&6
24006 if test $ac_cv_func_connect = no
; then
24007 echo "$as_me:$LINENO: checking for connect in -lsocket" >&5
24008 echo $ECHO_N "checking for connect in -lsocket... $ECHO_C" >&6
24009 if test "${ac_cv_lib_socket_connect+set}" = set; then
24010 echo $ECHO_N "(cached) $ECHO_C" >&6
24012 ac_check_lib_save_LIBS
=$LIBS
24013 LIBS
="-lsocket $X_EXTRA_LIBS $LIBS"
24014 cat >conftest.
$ac_ext <<_ACEOF
24017 cat confdefs.h
>>conftest.
$ac_ext
24018 cat >>conftest.
$ac_ext <<_ACEOF
24019 /* end confdefs.h. */
24021 /* Override any gcc2 internal prototype to avoid an error. */
24025 /* We use char because int might match the return type of a gcc2
24026 builtin and then its argument prototype would still apply. */
24036 rm -f conftest.
$ac_objext conftest
$ac_exeext
24037 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24038 (eval $ac_link) 2>conftest.er1
24040 grep -v '^ *+' conftest.er1
>conftest.err
24042 cat conftest.err
>&5
24043 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24044 (exit $ac_status); } &&
24045 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
24046 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24047 (eval $ac_try) 2>&5
24049 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24050 (exit $ac_status); }; } &&
24051 { ac_try
='test -s conftest$ac_exeext'
24052 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24053 (eval $ac_try) 2>&5
24055 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24056 (exit $ac_status); }; }; then
24057 ac_cv_lib_socket_connect
=yes
24059 echo "$as_me: failed program was:" >&5
24060 sed 's/^/| /' conftest.
$ac_ext >&5
24062 ac_cv_lib_socket_connect
=no
24064 rm -f conftest.err conftest.
$ac_objext \
24065 conftest
$ac_exeext conftest.
$ac_ext
24066 LIBS
=$ac_check_lib_save_LIBS
24068 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5
24069 echo "${ECHO_T}$ac_cv_lib_socket_connect" >&6
24070 if test $ac_cv_lib_socket_connect = yes; then
24071 X_EXTRA_LIBS
="-lsocket $X_EXTRA_LIBS"
24076 # Guillermo Gomez says -lposix is necessary on A/UX.
24077 echo "$as_me:$LINENO: checking for remove" >&5
24078 echo $ECHO_N "checking for remove... $ECHO_C" >&6
24079 if test "${ac_cv_func_remove+set}" = set; then
24080 echo $ECHO_N "(cached) $ECHO_C" >&6
24082 cat >conftest.
$ac_ext <<_ACEOF
24085 cat confdefs.h
>>conftest.
$ac_ext
24086 cat >>conftest.
$ac_ext <<_ACEOF
24087 /* end confdefs.h. */
24088 /* Define remove to an innocuous variant, in case <limits.h> declares remove.
24089 For example, HP-UX 11i <limits.h> declares gettimeofday. */
24090 #define remove innocuous_remove
24092 /* System header to define __stub macros and hopefully few prototypes,
24093 which can conflict with char remove (); below.
24094 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24095 <limits.h> exists even on freestanding compilers. */
24098 # include <limits.h>
24100 # include <assert.h>
24105 /* Override any gcc2 internal prototype to avoid an error. */
24110 /* We use char because int might match the return type of a gcc2
24111 builtin and then its argument prototype would still apply. */
24113 /* The GNU C library defines this for functions which it implements
24114 to always fail with ENOSYS. Some functions are actually named
24115 something starting with __ and the normal name is an alias. */
24116 #if defined (__stub_remove) || defined (__stub___remove)
24119 char (*f) () = remove;
24128 return f != remove;
24133 rm -f conftest.
$ac_objext conftest
$ac_exeext
24134 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24135 (eval $ac_link) 2>conftest.er1
24137 grep -v '^ *+' conftest.er1
>conftest.err
24139 cat conftest.err
>&5
24140 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24141 (exit $ac_status); } &&
24142 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
24143 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24144 (eval $ac_try) 2>&5
24146 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24147 (exit $ac_status); }; } &&
24148 { ac_try
='test -s conftest$ac_exeext'
24149 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24150 (eval $ac_try) 2>&5
24152 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24153 (exit $ac_status); }; }; then
24154 ac_cv_func_remove
=yes
24156 echo "$as_me: failed program was:" >&5
24157 sed 's/^/| /' conftest.
$ac_ext >&5
24159 ac_cv_func_remove
=no
24161 rm -f conftest.err conftest.
$ac_objext \
24162 conftest
$ac_exeext conftest.
$ac_ext
24164 echo "$as_me:$LINENO: result: $ac_cv_func_remove" >&5
24165 echo "${ECHO_T}$ac_cv_func_remove" >&6
24167 if test $ac_cv_func_remove = no
; then
24168 echo "$as_me:$LINENO: checking for remove in -lposix" >&5
24169 echo $ECHO_N "checking for remove in -lposix... $ECHO_C" >&6
24170 if test "${ac_cv_lib_posix_remove+set}" = set; then
24171 echo $ECHO_N "(cached) $ECHO_C" >&6
24173 ac_check_lib_save_LIBS
=$LIBS
24174 LIBS
="-lposix $LIBS"
24175 cat >conftest.
$ac_ext <<_ACEOF
24178 cat confdefs.h
>>conftest.
$ac_ext
24179 cat >>conftest.
$ac_ext <<_ACEOF
24180 /* end confdefs.h. */
24182 /* Override any gcc2 internal prototype to avoid an error. */
24186 /* We use char because int might match the return type of a gcc2
24187 builtin and then its argument prototype would still apply. */
24197 rm -f conftest.
$ac_objext conftest
$ac_exeext
24198 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24199 (eval $ac_link) 2>conftest.er1
24201 grep -v '^ *+' conftest.er1
>conftest.err
24203 cat conftest.err
>&5
24204 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24205 (exit $ac_status); } &&
24206 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
24207 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24208 (eval $ac_try) 2>&5
24210 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24211 (exit $ac_status); }; } &&
24212 { ac_try
='test -s conftest$ac_exeext'
24213 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24214 (eval $ac_try) 2>&5
24216 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24217 (exit $ac_status); }; }; then
24218 ac_cv_lib_posix_remove
=yes
24220 echo "$as_me: failed program was:" >&5
24221 sed 's/^/| /' conftest.
$ac_ext >&5
24223 ac_cv_lib_posix_remove
=no
24225 rm -f conftest.err conftest.
$ac_objext \
24226 conftest
$ac_exeext conftest.
$ac_ext
24227 LIBS
=$ac_check_lib_save_LIBS
24229 echo "$as_me:$LINENO: result: $ac_cv_lib_posix_remove" >&5
24230 echo "${ECHO_T}$ac_cv_lib_posix_remove" >&6
24231 if test $ac_cv_lib_posix_remove = yes; then
24232 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lposix"
24237 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
24238 echo "$as_me:$LINENO: checking for shmat" >&5
24239 echo $ECHO_N "checking for shmat... $ECHO_C" >&6
24240 if test "${ac_cv_func_shmat+set}" = set; then
24241 echo $ECHO_N "(cached) $ECHO_C" >&6
24243 cat >conftest.
$ac_ext <<_ACEOF
24246 cat confdefs.h
>>conftest.
$ac_ext
24247 cat >>conftest.
$ac_ext <<_ACEOF
24248 /* end confdefs.h. */
24249 /* Define shmat to an innocuous variant, in case <limits.h> declares shmat.
24250 For example, HP-UX 11i <limits.h> declares gettimeofday. */
24251 #define shmat innocuous_shmat
24253 /* System header to define __stub macros and hopefully few prototypes,
24254 which can conflict with char shmat (); below.
24255 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24256 <limits.h> exists even on freestanding compilers. */
24259 # include <limits.h>
24261 # include <assert.h>
24266 /* Override any gcc2 internal prototype to avoid an error. */
24271 /* We use char because int might match the return type of a gcc2
24272 builtin and then its argument prototype would still apply. */
24274 /* The GNU C library defines this for functions which it implements
24275 to always fail with ENOSYS. Some functions are actually named
24276 something starting with __ and the normal name is an alias. */
24277 #if defined (__stub_shmat) || defined (__stub___shmat)
24280 char (*f) () = shmat;
24294 rm -f conftest.
$ac_objext conftest
$ac_exeext
24295 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24296 (eval $ac_link) 2>conftest.er1
24298 grep -v '^ *+' conftest.er1
>conftest.err
24300 cat conftest.err
>&5
24301 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24302 (exit $ac_status); } &&
24303 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
24304 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24305 (eval $ac_try) 2>&5
24307 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24308 (exit $ac_status); }; } &&
24309 { ac_try
='test -s conftest$ac_exeext'
24310 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24311 (eval $ac_try) 2>&5
24313 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24314 (exit $ac_status); }; }; then
24315 ac_cv_func_shmat
=yes
24317 echo "$as_me: failed program was:" >&5
24318 sed 's/^/| /' conftest.
$ac_ext >&5
24320 ac_cv_func_shmat
=no
24322 rm -f conftest.err conftest.
$ac_objext \
24323 conftest
$ac_exeext conftest.
$ac_ext
24325 echo "$as_me:$LINENO: result: $ac_cv_func_shmat" >&5
24326 echo "${ECHO_T}$ac_cv_func_shmat" >&6
24328 if test $ac_cv_func_shmat = no
; then
24329 echo "$as_me:$LINENO: checking for shmat in -lipc" >&5
24330 echo $ECHO_N "checking for shmat in -lipc... $ECHO_C" >&6
24331 if test "${ac_cv_lib_ipc_shmat+set}" = set; then
24332 echo $ECHO_N "(cached) $ECHO_C" >&6
24334 ac_check_lib_save_LIBS
=$LIBS
24336 cat >conftest.
$ac_ext <<_ACEOF
24339 cat confdefs.h
>>conftest.
$ac_ext
24340 cat >>conftest.
$ac_ext <<_ACEOF
24341 /* end confdefs.h. */
24343 /* Override any gcc2 internal prototype to avoid an error. */
24347 /* We use char because int might match the return type of a gcc2
24348 builtin and then its argument prototype would still apply. */
24358 rm -f conftest.
$ac_objext conftest
$ac_exeext
24359 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24360 (eval $ac_link) 2>conftest.er1
24362 grep -v '^ *+' conftest.er1
>conftest.err
24364 cat conftest.err
>&5
24365 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24366 (exit $ac_status); } &&
24367 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
24368 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24369 (eval $ac_try) 2>&5
24371 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24372 (exit $ac_status); }; } &&
24373 { ac_try
='test -s conftest$ac_exeext'
24374 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24375 (eval $ac_try) 2>&5
24377 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24378 (exit $ac_status); }; }; then
24379 ac_cv_lib_ipc_shmat
=yes
24381 echo "$as_me: failed program was:" >&5
24382 sed 's/^/| /' conftest.
$ac_ext >&5
24384 ac_cv_lib_ipc_shmat
=no
24386 rm -f conftest.err conftest.
$ac_objext \
24387 conftest
$ac_exeext conftest.
$ac_ext
24388 LIBS
=$ac_check_lib_save_LIBS
24390 echo "$as_me:$LINENO: result: $ac_cv_lib_ipc_shmat" >&5
24391 echo "${ECHO_T}$ac_cv_lib_ipc_shmat" >&6
24392 if test $ac_cv_lib_ipc_shmat = yes; then
24393 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lipc"
24399 # Check for libraries that X11R6 Xt/Xaw programs need.
24400 ac_save_LDFLAGS
=$LDFLAGS
24401 test -n "$x_libraries" && LDFLAGS
="$LDFLAGS -L$x_libraries"
24402 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
24403 # check for ICE first), but we must link in the order -lSM -lICE or
24404 # we get undefined symbols. So assume we have SM if we have ICE.
24405 # These have to be linked with before -lX11, unlike the other
24406 # libraries we check for below, so use a different variable.
24407 # John Interrante, Karl Berry
24408 echo "$as_me:$LINENO: checking for IceConnectionNumber in -lICE" >&5
24409 echo $ECHO_N "checking for IceConnectionNumber in -lICE... $ECHO_C" >&6
24410 if test "${ac_cv_lib_ICE_IceConnectionNumber+set}" = set; then
24411 echo $ECHO_N "(cached) $ECHO_C" >&6
24413 ac_check_lib_save_LIBS
=$LIBS
24414 LIBS
="-lICE $X_EXTRA_LIBS $LIBS"
24415 cat >conftest.
$ac_ext <<_ACEOF
24418 cat confdefs.h
>>conftest.
$ac_ext
24419 cat >>conftest.
$ac_ext <<_ACEOF
24420 /* end confdefs.h. */
24422 /* Override any gcc2 internal prototype to avoid an error. */
24426 /* We use char because int might match the return type of a gcc2
24427 builtin and then its argument prototype would still apply. */
24428 char IceConnectionNumber ();
24432 IceConnectionNumber ();
24437 rm -f conftest.
$ac_objext conftest
$ac_exeext
24438 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24439 (eval $ac_link) 2>conftest.er1
24441 grep -v '^ *+' conftest.er1
>conftest.err
24443 cat conftest.err
>&5
24444 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24445 (exit $ac_status); } &&
24446 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
24447 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24448 (eval $ac_try) 2>&5
24450 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24451 (exit $ac_status); }; } &&
24452 { ac_try
='test -s conftest$ac_exeext'
24453 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24454 (eval $ac_try) 2>&5
24456 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24457 (exit $ac_status); }; }; then
24458 ac_cv_lib_ICE_IceConnectionNumber
=yes
24460 echo "$as_me: failed program was:" >&5
24461 sed 's/^/| /' conftest.
$ac_ext >&5
24463 ac_cv_lib_ICE_IceConnectionNumber
=no
24465 rm -f conftest.err conftest.
$ac_objext \
24466 conftest
$ac_exeext conftest.
$ac_ext
24467 LIBS
=$ac_check_lib_save_LIBS
24469 echo "$as_me:$LINENO: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
24470 echo "${ECHO_T}$ac_cv_lib_ICE_IceConnectionNumber" >&6
24471 if test $ac_cv_lib_ICE_IceConnectionNumber = yes; then
24472 X_PRE_LIBS
="$X_PRE_LIBS -lSM -lICE"
24475 LDFLAGS
=$ac_save_LDFLAGS
24480 if test "$no_x" = "yes"; then
24481 { { echo "$as_me:$LINENO: error: X11 not found" >&5
24482 echo "$as_me: error: X11 not found" >&2;}
24483 { (exit please use
--x-includes and
/or
--x-libraries options
); exit please use
--x-includes and
/or
--x-libraries options
; }; }
24486 GUI_TK_LIBRARY
="$X_LIBS"
24487 TOOLKIT_INCLUDE
="$X_CFLAGS"
24488 AFMINSTALL
=afminstall
24489 COMPILED_X_PROGRAM
=0
24491 if test "$wxUSE_NANOX" = "yes"; then
24492 echo "$as_me:$LINENO: checking for MicroWindows/NanoX distribution" >&5
24493 echo $ECHO_N "checking for MicroWindows/NanoX distribution... $ECHO_C" >&6
24494 if test "x$MICROWIN" = x
; then
24495 echo "$as_me:$LINENO: result: not found" >&5
24496 echo "${ECHO_T}not found" >&6
24497 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows library. Make sure MICROWIN is set." >&5
24498 echo "$as_me: error: Cannot find MicroWindows library. Make sure MICROWIN is set." >&2;}
24499 { (exit 1); exit 1; }; }
24501 echo "$as_me:$LINENO: result: $MICROWIN" >&5
24502 echo "${ECHO_T}$MICROWIN" >&6
24503 cat >>confdefs.h
<<\_ACEOF
24504 #define wxUSE_NANOX 1
24510 if test "$wxUSE_UNICODE" = "yes"; then
24514 if test -z "$PKG_CONFIG"; then
24515 # Extract the first word of "pkg-config", so it can be a program name with args.
24516 set dummy pkg
-config; ac_word
=$2
24517 echo "$as_me:$LINENO: checking for $ac_word" >&5
24518 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
24519 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
24520 echo $ECHO_N "(cached) $ECHO_C" >&6
24522 case $PKG_CONFIG in
24524 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
24527 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
24528 for as_dir
in $PATH
24531 test -z "$as_dir" && as_dir
=.
24532 for ac_exec_ext
in '' $ac_executable_extensions; do
24533 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
24534 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
24535 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
24541 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
24545 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
24547 if test -n "$PKG_CONFIG"; then
24548 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
24549 echo "${ECHO_T}$PKG_CONFIG" >&6
24551 echo "$as_me:$LINENO: result: no" >&5
24552 echo "${ECHO_T}no" >&6
24557 if test "$PKG_CONFIG" = "no" ; then
24558 echo "*** The pkg-config script could not be found. Make sure it is"
24559 echo "*** in your path, or set the PKG_CONFIG environment variable"
24560 echo "*** to the full path to pkg-config."
24561 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
24563 PKG_CONFIG_MIN_VERSION
=0.9.0
24564 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
24565 echo "$as_me:$LINENO: checking for pangox" >&5
24566 echo $ECHO_N "checking for pangox... $ECHO_C" >&6
24568 if $PKG_CONFIG --exists "pangox" ; then
24569 echo "$as_me:$LINENO: result: yes" >&5
24570 echo "${ECHO_T}yes" >&6
24573 echo "$as_me:$LINENO: checking PANGOX_CFLAGS" >&5
24574 echo $ECHO_N "checking PANGOX_CFLAGS... $ECHO_C" >&6
24575 PANGOX_CFLAGS
=`$PKG_CONFIG --cflags "pangox"`
24576 echo "$as_me:$LINENO: result: $PANGOX_CFLAGS" >&5
24577 echo "${ECHO_T}$PANGOX_CFLAGS" >&6
24579 echo "$as_me:$LINENO: checking PANGOX_LIBS" >&5
24580 echo $ECHO_N "checking PANGOX_LIBS... $ECHO_C" >&6
24581 PANGOX_LIBS
=`$PKG_CONFIG --libs "pangox"`
24582 echo "$as_me:$LINENO: result: $PANGOX_LIBS" >&5
24583 echo "${ECHO_T}$PANGOX_LIBS" >&6
24587 ## If we have a custom action on failure, don't print errors, but
24588 ## do set a variable so people can do so.
24589 PANGOX_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "pangox"`
24596 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
24597 echo "*** See http://www.freedesktop.org/software/pkgconfig"
24601 if test $succeeded = yes; then
24603 CXXFLAGS
="$CXXFLAGS $PANGOX_CFLAGS"
24604 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY $PANGOX_LIBS"
24608 { { echo "$as_me:$LINENO: error: pangox library not found, library cannot be compiled in Unicode mode" >&5
24609 echo "$as_me: error: pangox library not found, library cannot be compiled in Unicode mode" >&2;}
24610 { (exit 1); exit 1; }; }
24618 if test -z "$PKG_CONFIG"; then
24619 # Extract the first word of "pkg-config", so it can be a program name with args.
24620 set dummy pkg
-config; ac_word
=$2
24621 echo "$as_me:$LINENO: checking for $ac_word" >&5
24622 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
24623 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
24624 echo $ECHO_N "(cached) $ECHO_C" >&6
24626 case $PKG_CONFIG in
24628 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
24631 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
24632 for as_dir
in $PATH
24635 test -z "$as_dir" && as_dir
=.
24636 for ac_exec_ext
in '' $ac_executable_extensions; do
24637 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
24638 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
24639 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
24645 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
24649 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
24651 if test -n "$PKG_CONFIG"; then
24652 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
24653 echo "${ECHO_T}$PKG_CONFIG" >&6
24655 echo "$as_me:$LINENO: result: no" >&5
24656 echo "${ECHO_T}no" >&6
24661 if test "$PKG_CONFIG" = "no" ; then
24662 echo "*** The pkg-config script could not be found. Make sure it is"
24663 echo "*** in your path, or set the PKG_CONFIG environment variable"
24664 echo "*** to the full path to pkg-config."
24665 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
24667 PKG_CONFIG_MIN_VERSION
=0.9.0
24668 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
24669 echo "$as_me:$LINENO: checking for pangoft2" >&5
24670 echo $ECHO_N "checking for pangoft2... $ECHO_C" >&6
24672 if $PKG_CONFIG --exists "pangoft2" ; then
24673 echo "$as_me:$LINENO: result: yes" >&5
24674 echo "${ECHO_T}yes" >&6
24677 echo "$as_me:$LINENO: checking PANGOFT2_CFLAGS" >&5
24678 echo $ECHO_N "checking PANGOFT2_CFLAGS... $ECHO_C" >&6
24679 PANGOFT2_CFLAGS
=`$PKG_CONFIG --cflags "pangoft2"`
24680 echo "$as_me:$LINENO: result: $PANGOFT2_CFLAGS" >&5
24681 echo "${ECHO_T}$PANGOFT2_CFLAGS" >&6
24683 echo "$as_me:$LINENO: checking PANGOFT2_LIBS" >&5
24684 echo $ECHO_N "checking PANGOFT2_LIBS... $ECHO_C" >&6
24685 PANGOFT2_LIBS
=`$PKG_CONFIG --libs "pangoft2"`
24686 echo "$as_me:$LINENO: result: $PANGOFT2_LIBS" >&5
24687 echo "${ECHO_T}$PANGOFT2_LIBS" >&6
24691 ## If we have a custom action on failure, don't print errors, but
24692 ## do set a variable so people can do so.
24693 PANGOFT2_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoft2"`
24700 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
24701 echo "*** See http://www.freedesktop.org/software/pkgconfig"
24705 if test $succeeded = yes; then
24707 CXXFLAGS
="$CXXFLAGS $PANGOFT2_CFLAGS"
24708 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY $PANGOFT2_LIBS"
24712 { echo "$as_me:$LINENO: WARNING: pangoft2 library not found, library will be compiled without printing support" >&5
24713 echo "$as_me: WARNING: pangoft2 library not found, library will be compiled without printing support" >&2;}
24714 wxUSE_PRINTING_ARCHITECTURE
="no"
24722 if test -z "$PKG_CONFIG"; then
24723 # Extract the first word of "pkg-config", so it can be a program name with args.
24724 set dummy pkg
-config; ac_word
=$2
24725 echo "$as_me:$LINENO: checking for $ac_word" >&5
24726 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
24727 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
24728 echo $ECHO_N "(cached) $ECHO_C" >&6
24730 case $PKG_CONFIG in
24732 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
24735 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
24736 for as_dir
in $PATH
24739 test -z "$as_dir" && as_dir
=.
24740 for ac_exec_ext
in '' $ac_executable_extensions; do
24741 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
24742 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
24743 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
24749 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
24753 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
24755 if test -n "$PKG_CONFIG"; then
24756 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
24757 echo "${ECHO_T}$PKG_CONFIG" >&6
24759 echo "$as_me:$LINENO: result: no" >&5
24760 echo "${ECHO_T}no" >&6
24765 if test "$PKG_CONFIG" = "no" ; then
24766 echo "*** The pkg-config script could not be found. Make sure it is"
24767 echo "*** in your path, or set the PKG_CONFIG environment variable"
24768 echo "*** to the full path to pkg-config."
24769 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
24771 PKG_CONFIG_MIN_VERSION
=0.9.0
24772 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
24773 echo "$as_me:$LINENO: checking for pangoxft" >&5
24774 echo $ECHO_N "checking for pangoxft... $ECHO_C" >&6
24776 if $PKG_CONFIG --exists "pangoxft" ; then
24777 echo "$as_me:$LINENO: result: yes" >&5
24778 echo "${ECHO_T}yes" >&6
24781 echo "$as_me:$LINENO: checking PANGOXFT_CFLAGS" >&5
24782 echo $ECHO_N "checking PANGOXFT_CFLAGS... $ECHO_C" >&6
24783 PANGOXFT_CFLAGS
=`$PKG_CONFIG --cflags "pangoxft"`
24784 echo "$as_me:$LINENO: result: $PANGOXFT_CFLAGS" >&5
24785 echo "${ECHO_T}$PANGOXFT_CFLAGS" >&6
24787 echo "$as_me:$LINENO: checking PANGOXFT_LIBS" >&5
24788 echo $ECHO_N "checking PANGOXFT_LIBS... $ECHO_C" >&6
24789 PANGOXFT_LIBS
=`$PKG_CONFIG --libs "pangoxft"`
24790 echo "$as_me:$LINENO: result: $PANGOXFT_LIBS" >&5
24791 echo "${ECHO_T}$PANGOXFT_LIBS" >&6
24795 ## If we have a custom action on failure, don't print errors, but
24796 ## do set a variable so people can do so.
24797 PANGOXFT_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoxft"`
24804 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
24805 echo "*** See http://www.freedesktop.org/software/pkgconfig"
24809 if test $succeeded = yes; then
24811 CXXFLAGS
="$CXXFLAGS $PANGOXFT_CFLAGS"
24812 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY $PANGOXFT_LIBS"
24816 { echo "$as_me:$LINENO: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&5
24817 echo "$as_me: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&2;}
24824 wxUSE_UNIVERSAL
="yes"
24826 if test "$wxUSE_NANOX" = "yes"; then
24827 TOOLKIT_INCLUDE
="-I\$(top_srcdir)/include/wx/x11/nanox -I\$(MICROWIN)/src/include $TOOLKIT_INCLUDE"
24828 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"
24829 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY \$(MICROWIN)/src/lib/libnano-X.a"
24831 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lX11"
24834 TOOLKIT_VPATH
="\${top_srcdir}/src/x11"
24839 if test "$wxUSE_MOTIF" = 1; then
24840 if test "$no_x" = yes; then
24841 # Not all programs may use this symbol, but it does not hurt to define it.
24843 cat >>confdefs.h
<<\_ACEOF
24844 #define X_DISPLAY_MISSING 1
24847 X_CFLAGS
= X_PRE_LIBS
= X_LIBS
= X_EXTRA_LIBS
=
24849 if test -n "$x_includes"; then
24850 X_CFLAGS
="$X_CFLAGS -I$x_includes"
24853 # It would also be nice to do this for all -L options, not just this one.
24854 if test -n "$x_libraries"; then
24855 X_LIBS
="$X_LIBS -L$x_libraries"
24856 # For Solaris; some versions of Sun CC require a space after -R and
24857 # others require no space. Words are not sufficient . . . .
24858 case `(uname -sr) 2>/dev/null` in
24860 echo "$as_me:$LINENO: checking whether -R must be followed by a space" >&5
24861 echo $ECHO_N "checking whether -R must be followed by a space... $ECHO_C" >&6
24862 ac_xsave_LIBS
=$LIBS; LIBS
="$LIBS -R$x_libraries"
24863 cat >conftest.
$ac_ext <<_ACEOF
24866 cat confdefs.h
>>conftest.
$ac_ext
24867 cat >>conftest.
$ac_ext <<_ACEOF
24868 /* end confdefs.h. */
24878 rm -f conftest.
$ac_objext conftest
$ac_exeext
24879 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24880 (eval $ac_link) 2>conftest.er1
24882 grep -v '^ *+' conftest.er1
>conftest.err
24884 cat conftest.err
>&5
24885 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24886 (exit $ac_status); } &&
24887 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
24888 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24889 (eval $ac_try) 2>&5
24891 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24892 (exit $ac_status); }; } &&
24893 { ac_try
='test -s conftest$ac_exeext'
24894 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24895 (eval $ac_try) 2>&5
24897 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24898 (exit $ac_status); }; }; then
24901 echo "$as_me: failed program was:" >&5
24902 sed 's/^/| /' conftest.
$ac_ext >&5
24906 rm -f conftest.err conftest.
$ac_objext \
24907 conftest
$ac_exeext conftest.
$ac_ext
24908 if test $ac_R_nospace = yes; then
24909 echo "$as_me:$LINENO: result: no" >&5
24910 echo "${ECHO_T}no" >&6
24911 X_LIBS
="$X_LIBS -R$x_libraries"
24913 LIBS
="$ac_xsave_LIBS -R $x_libraries"
24914 cat >conftest.
$ac_ext <<_ACEOF
24917 cat confdefs.h
>>conftest.
$ac_ext
24918 cat >>conftest.
$ac_ext <<_ACEOF
24919 /* end confdefs.h. */
24929 rm -f conftest.
$ac_objext conftest
$ac_exeext
24930 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24931 (eval $ac_link) 2>conftest.er1
24933 grep -v '^ *+' conftest.er1
>conftest.err
24935 cat conftest.err
>&5
24936 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24937 (exit $ac_status); } &&
24938 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
24939 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24940 (eval $ac_try) 2>&5
24942 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24943 (exit $ac_status); }; } &&
24944 { ac_try
='test -s conftest$ac_exeext'
24945 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24946 (eval $ac_try) 2>&5
24948 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24949 (exit $ac_status); }; }; then
24952 echo "$as_me: failed program was:" >&5
24953 sed 's/^/| /' conftest.
$ac_ext >&5
24957 rm -f conftest.err conftest.
$ac_objext \
24958 conftest
$ac_exeext conftest.
$ac_ext
24959 if test $ac_R_space = yes; then
24960 echo "$as_me:$LINENO: result: yes" >&5
24961 echo "${ECHO_T}yes" >&6
24962 X_LIBS
="$X_LIBS -R $x_libraries"
24964 echo "$as_me:$LINENO: result: neither works" >&5
24965 echo "${ECHO_T}neither works" >&6
24968 LIBS
=$ac_xsave_LIBS
24972 # Check for system-dependent libraries X programs must link with.
24973 # Do this before checking for the system-independent R6 libraries
24974 # (-lICE), since we may need -lsocket or whatever for X linking.
24976 if test "$ISC" = yes; then
24977 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl_s -linet"
24979 # Martyn Johnson says this is needed for Ultrix, if the X
24980 # libraries were built with DECnet support. And Karl Berry says
24981 # the Alpha needs dnet_stub (dnet does not exist).
24982 ac_xsave_LIBS
="$LIBS"; LIBS
="$LIBS $X_LIBS -lX11"
24983 cat >conftest.
$ac_ext <<_ACEOF
24986 cat confdefs.h
>>conftest.
$ac_ext
24987 cat >>conftest.
$ac_ext <<_ACEOF
24988 /* end confdefs.h. */
24990 /* Override any gcc2 internal prototype to avoid an error. */
24994 /* We use char because int might match the return type of a gcc2
24995 builtin and then its argument prototype would still apply. */
24996 char XOpenDisplay ();
25005 rm -f conftest.
$ac_objext conftest
$ac_exeext
25006 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25007 (eval $ac_link) 2>conftest.er1
25009 grep -v '^ *+' conftest.er1
>conftest.err
25011 cat conftest.err
>&5
25012 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25013 (exit $ac_status); } &&
25014 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
25015 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25016 (eval $ac_try) 2>&5
25018 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25019 (exit $ac_status); }; } &&
25020 { ac_try
='test -s conftest$ac_exeext'
25021 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25022 (eval $ac_try) 2>&5
25024 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25025 (exit $ac_status); }; }; then
25028 echo "$as_me: failed program was:" >&5
25029 sed 's/^/| /' conftest.
$ac_ext >&5
25031 echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet" >&5
25032 echo $ECHO_N "checking for dnet_ntoa in -ldnet... $ECHO_C" >&6
25033 if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then
25034 echo $ECHO_N "(cached) $ECHO_C" >&6
25036 ac_check_lib_save_LIBS
=$LIBS
25037 LIBS
="-ldnet $LIBS"
25038 cat >conftest.
$ac_ext <<_ACEOF
25041 cat confdefs.h
>>conftest.
$ac_ext
25042 cat >>conftest.
$ac_ext <<_ACEOF
25043 /* end confdefs.h. */
25045 /* Override any gcc2 internal prototype to avoid an error. */
25049 /* We use char because int might match the return type of a gcc2
25050 builtin and then its argument prototype would still apply. */
25060 rm -f conftest.
$ac_objext conftest
$ac_exeext
25061 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25062 (eval $ac_link) 2>conftest.er1
25064 grep -v '^ *+' conftest.er1
>conftest.err
25066 cat conftest.err
>&5
25067 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25068 (exit $ac_status); } &&
25069 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
25070 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25071 (eval $ac_try) 2>&5
25073 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25074 (exit $ac_status); }; } &&
25075 { ac_try
='test -s conftest$ac_exeext'
25076 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25077 (eval $ac_try) 2>&5
25079 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25080 (exit $ac_status); }; }; then
25081 ac_cv_lib_dnet_dnet_ntoa
=yes
25083 echo "$as_me: failed program was:" >&5
25084 sed 's/^/| /' conftest.
$ac_ext >&5
25086 ac_cv_lib_dnet_dnet_ntoa
=no
25088 rm -f conftest.err conftest.
$ac_objext \
25089 conftest
$ac_exeext conftest.
$ac_ext
25090 LIBS
=$ac_check_lib_save_LIBS
25092 echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
25093 echo "${ECHO_T}$ac_cv_lib_dnet_dnet_ntoa" >&6
25094 if test $ac_cv_lib_dnet_dnet_ntoa = yes; then
25095 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet"
25098 if test $ac_cv_lib_dnet_dnet_ntoa = no
; then
25099 echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet_stub" >&5
25100 echo $ECHO_N "checking for dnet_ntoa in -ldnet_stub... $ECHO_C" >&6
25101 if test "${ac_cv_lib_dnet_stub_dnet_ntoa+set}" = set; then
25102 echo $ECHO_N "(cached) $ECHO_C" >&6
25104 ac_check_lib_save_LIBS
=$LIBS
25105 LIBS
="-ldnet_stub $LIBS"
25106 cat >conftest.
$ac_ext <<_ACEOF
25109 cat confdefs.h
>>conftest.
$ac_ext
25110 cat >>conftest.
$ac_ext <<_ACEOF
25111 /* end confdefs.h. */
25113 /* Override any gcc2 internal prototype to avoid an error. */
25117 /* We use char because int might match the return type of a gcc2
25118 builtin and then its argument prototype would still apply. */
25128 rm -f conftest.
$ac_objext conftest
$ac_exeext
25129 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25130 (eval $ac_link) 2>conftest.er1
25132 grep -v '^ *+' conftest.er1
>conftest.err
25134 cat conftest.err
>&5
25135 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25136 (exit $ac_status); } &&
25137 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
25138 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25139 (eval $ac_try) 2>&5
25141 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25142 (exit $ac_status); }; } &&
25143 { ac_try
='test -s conftest$ac_exeext'
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); }; }; then
25149 ac_cv_lib_dnet_stub_dnet_ntoa
=yes
25151 echo "$as_me: failed program was:" >&5
25152 sed 's/^/| /' conftest.
$ac_ext >&5
25154 ac_cv_lib_dnet_stub_dnet_ntoa
=no
25156 rm -f conftest.err conftest.
$ac_objext \
25157 conftest
$ac_exeext conftest.
$ac_ext
25158 LIBS
=$ac_check_lib_save_LIBS
25160 echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
25161 echo "${ECHO_T}$ac_cv_lib_dnet_stub_dnet_ntoa" >&6
25162 if test $ac_cv_lib_dnet_stub_dnet_ntoa = yes; then
25163 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet_stub"
25168 rm -f conftest.err conftest.
$ac_objext \
25169 conftest
$ac_exeext conftest.
$ac_ext
25170 LIBS
="$ac_xsave_LIBS"
25172 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
25173 # to get the SysV transport functions.
25174 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
25176 # The nsl library prevents programs from opening the X display
25177 # on Irix 5.2, according to T.E. Dickey.
25178 # The functions gethostbyname, getservbyname, and inet_addr are
25179 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
25180 echo "$as_me:$LINENO: checking for gethostbyname" >&5
25181 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6
25182 if test "${ac_cv_func_gethostbyname+set}" = set; then
25183 echo $ECHO_N "(cached) $ECHO_C" >&6
25185 cat >conftest.
$ac_ext <<_ACEOF
25188 cat confdefs.h
>>conftest.
$ac_ext
25189 cat >>conftest.
$ac_ext <<_ACEOF
25190 /* end confdefs.h. */
25191 /* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
25192 For example, HP-UX 11i <limits.h> declares gettimeofday. */
25193 #define gethostbyname innocuous_gethostbyname
25195 /* System header to define __stub macros and hopefully few prototypes,
25196 which can conflict with char gethostbyname (); below.
25197 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25198 <limits.h> exists even on freestanding compilers. */
25201 # include <limits.h>
25203 # include <assert.h>
25206 #undef gethostbyname
25208 /* Override any gcc2 internal prototype to avoid an error. */
25213 /* We use char because int might match the return type of a gcc2
25214 builtin and then its argument prototype would still apply. */
25215 char gethostbyname ();
25216 /* The GNU C library defines this for functions which it implements
25217 to always fail with ENOSYS. Some functions are actually named
25218 something starting with __ and the normal name is an alias. */
25219 #if defined (__stub_gethostbyname) || defined (__stub___gethostbyname)
25222 char (*f) () = gethostbyname;
25231 return f != gethostbyname;
25236 rm -f conftest.
$ac_objext conftest
$ac_exeext
25237 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25238 (eval $ac_link) 2>conftest.er1
25240 grep -v '^ *+' conftest.er1
>conftest.err
25242 cat conftest.err
>&5
25243 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25244 (exit $ac_status); } &&
25245 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
25246 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25247 (eval $ac_try) 2>&5
25249 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25250 (exit $ac_status); }; } &&
25251 { ac_try
='test -s conftest$ac_exeext'
25252 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25253 (eval $ac_try) 2>&5
25255 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25256 (exit $ac_status); }; }; then
25257 ac_cv_func_gethostbyname
=yes
25259 echo "$as_me: failed program was:" >&5
25260 sed 's/^/| /' conftest.
$ac_ext >&5
25262 ac_cv_func_gethostbyname
=no
25264 rm -f conftest.err conftest.
$ac_objext \
25265 conftest
$ac_exeext conftest.
$ac_ext
25267 echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
25268 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6
25270 if test $ac_cv_func_gethostbyname = no
; then
25271 echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
25272 echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6
25273 if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
25274 echo $ECHO_N "(cached) $ECHO_C" >&6
25276 ac_check_lib_save_LIBS
=$LIBS
25278 cat >conftest.
$ac_ext <<_ACEOF
25281 cat confdefs.h
>>conftest.
$ac_ext
25282 cat >>conftest.
$ac_ext <<_ACEOF
25283 /* end confdefs.h. */
25285 /* Override any gcc2 internal prototype to avoid an error. */
25289 /* We use char because int might match the return type of a gcc2
25290 builtin and then its argument prototype would still apply. */
25291 char gethostbyname ();
25300 rm -f conftest.
$ac_objext conftest
$ac_exeext
25301 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25302 (eval $ac_link) 2>conftest.er1
25304 grep -v '^ *+' conftest.er1
>conftest.err
25306 cat conftest.err
>&5
25307 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25308 (exit $ac_status); } &&
25309 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
25310 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25311 (eval $ac_try) 2>&5
25313 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25314 (exit $ac_status); }; } &&
25315 { ac_try
='test -s conftest$ac_exeext'
25316 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25317 (eval $ac_try) 2>&5
25319 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25320 (exit $ac_status); }; }; then
25321 ac_cv_lib_nsl_gethostbyname
=yes
25323 echo "$as_me: failed program was:" >&5
25324 sed 's/^/| /' conftest.
$ac_ext >&5
25326 ac_cv_lib_nsl_gethostbyname
=no
25328 rm -f conftest.err conftest.
$ac_objext \
25329 conftest
$ac_exeext conftest.
$ac_ext
25330 LIBS
=$ac_check_lib_save_LIBS
25332 echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
25333 echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6
25334 if test $ac_cv_lib_nsl_gethostbyname = yes; then
25335 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl"
25338 if test $ac_cv_lib_nsl_gethostbyname = no
; then
25339 echo "$as_me:$LINENO: checking for gethostbyname in -lbsd" >&5
25340 echo $ECHO_N "checking for gethostbyname in -lbsd... $ECHO_C" >&6
25341 if test "${ac_cv_lib_bsd_gethostbyname+set}" = set; then
25342 echo $ECHO_N "(cached) $ECHO_C" >&6
25344 ac_check_lib_save_LIBS
=$LIBS
25346 cat >conftest.
$ac_ext <<_ACEOF
25349 cat confdefs.h
>>conftest.
$ac_ext
25350 cat >>conftest.
$ac_ext <<_ACEOF
25351 /* end confdefs.h. */
25353 /* Override any gcc2 internal prototype to avoid an error. */
25357 /* We use char because int might match the return type of a gcc2
25358 builtin and then its argument prototype would still apply. */
25359 char gethostbyname ();
25368 rm -f conftest.
$ac_objext conftest
$ac_exeext
25369 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25370 (eval $ac_link) 2>conftest.er1
25372 grep -v '^ *+' conftest.er1
>conftest.err
25374 cat conftest.err
>&5
25375 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25376 (exit $ac_status); } &&
25377 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
25378 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25379 (eval $ac_try) 2>&5
25381 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25382 (exit $ac_status); }; } &&
25383 { ac_try
='test -s conftest$ac_exeext'
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); }; }; then
25389 ac_cv_lib_bsd_gethostbyname
=yes
25391 echo "$as_me: failed program was:" >&5
25392 sed 's/^/| /' conftest.
$ac_ext >&5
25394 ac_cv_lib_bsd_gethostbyname
=no
25396 rm -f conftest.err conftest.
$ac_objext \
25397 conftest
$ac_exeext conftest.
$ac_ext
25398 LIBS
=$ac_check_lib_save_LIBS
25400 echo "$as_me:$LINENO: result: $ac_cv_lib_bsd_gethostbyname" >&5
25401 echo "${ECHO_T}$ac_cv_lib_bsd_gethostbyname" >&6
25402 if test $ac_cv_lib_bsd_gethostbyname = yes; then
25403 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lbsd"
25409 # lieder@skyler.mavd.honeywell.com says without -lsocket,
25410 # socket/setsockopt and other routines are undefined under SCO ODT
25411 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
25412 # on later versions), says Simon Leinen: it contains gethostby*
25413 # variants that don't use the name server (or something). -lsocket
25414 # must be given before -lnsl if both are needed. We assume that
25415 # if connect needs -lnsl, so does gethostbyname.
25416 echo "$as_me:$LINENO: checking for connect" >&5
25417 echo $ECHO_N "checking for connect... $ECHO_C" >&6
25418 if test "${ac_cv_func_connect+set}" = set; then
25419 echo $ECHO_N "(cached) $ECHO_C" >&6
25421 cat >conftest.
$ac_ext <<_ACEOF
25424 cat confdefs.h
>>conftest.
$ac_ext
25425 cat >>conftest.
$ac_ext <<_ACEOF
25426 /* end confdefs.h. */
25427 /* Define connect to an innocuous variant, in case <limits.h> declares connect.
25428 For example, HP-UX 11i <limits.h> declares gettimeofday. */
25429 #define connect innocuous_connect
25431 /* System header to define __stub macros and hopefully few prototypes,
25432 which can conflict with char connect (); below.
25433 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25434 <limits.h> exists even on freestanding compilers. */
25437 # include <limits.h>
25439 # include <assert.h>
25444 /* Override any gcc2 internal prototype to avoid an error. */
25449 /* We use char because int might match the return type of a gcc2
25450 builtin and then its argument prototype would still apply. */
25452 /* The GNU C library defines this for functions which it implements
25453 to always fail with ENOSYS. Some functions are actually named
25454 something starting with __ and the normal name is an alias. */
25455 #if defined (__stub_connect) || defined (__stub___connect)
25458 char (*f) () = connect;
25467 return f != connect;
25472 rm -f conftest.
$ac_objext conftest
$ac_exeext
25473 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25474 (eval $ac_link) 2>conftest.er1
25476 grep -v '^ *+' conftest.er1
>conftest.err
25478 cat conftest.err
>&5
25479 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25480 (exit $ac_status); } &&
25481 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
25482 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25483 (eval $ac_try) 2>&5
25485 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25486 (exit $ac_status); }; } &&
25487 { ac_try
='test -s conftest$ac_exeext'
25488 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25489 (eval $ac_try) 2>&5
25491 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25492 (exit $ac_status); }; }; then
25493 ac_cv_func_connect
=yes
25495 echo "$as_me: failed program was:" >&5
25496 sed 's/^/| /' conftest.
$ac_ext >&5
25498 ac_cv_func_connect
=no
25500 rm -f conftest.err conftest.
$ac_objext \
25501 conftest
$ac_exeext conftest.
$ac_ext
25503 echo "$as_me:$LINENO: result: $ac_cv_func_connect" >&5
25504 echo "${ECHO_T}$ac_cv_func_connect" >&6
25506 if test $ac_cv_func_connect = no
; then
25507 echo "$as_me:$LINENO: checking for connect in -lsocket" >&5
25508 echo $ECHO_N "checking for connect in -lsocket... $ECHO_C" >&6
25509 if test "${ac_cv_lib_socket_connect+set}" = set; then
25510 echo $ECHO_N "(cached) $ECHO_C" >&6
25512 ac_check_lib_save_LIBS
=$LIBS
25513 LIBS
="-lsocket $X_EXTRA_LIBS $LIBS"
25514 cat >conftest.
$ac_ext <<_ACEOF
25517 cat confdefs.h
>>conftest.
$ac_ext
25518 cat >>conftest.
$ac_ext <<_ACEOF
25519 /* end confdefs.h. */
25521 /* Override any gcc2 internal prototype to avoid an error. */
25525 /* We use char because int might match the return type of a gcc2
25526 builtin and then its argument prototype would still apply. */
25536 rm -f conftest.
$ac_objext conftest
$ac_exeext
25537 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25538 (eval $ac_link) 2>conftest.er1
25540 grep -v '^ *+' conftest.er1
>conftest.err
25542 cat conftest.err
>&5
25543 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25544 (exit $ac_status); } &&
25545 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
25546 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25547 (eval $ac_try) 2>&5
25549 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25550 (exit $ac_status); }; } &&
25551 { ac_try
='test -s conftest$ac_exeext'
25552 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25553 (eval $ac_try) 2>&5
25555 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25556 (exit $ac_status); }; }; then
25557 ac_cv_lib_socket_connect
=yes
25559 echo "$as_me: failed program was:" >&5
25560 sed 's/^/| /' conftest.
$ac_ext >&5
25562 ac_cv_lib_socket_connect
=no
25564 rm -f conftest.err conftest.
$ac_objext \
25565 conftest
$ac_exeext conftest.
$ac_ext
25566 LIBS
=$ac_check_lib_save_LIBS
25568 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5
25569 echo "${ECHO_T}$ac_cv_lib_socket_connect" >&6
25570 if test $ac_cv_lib_socket_connect = yes; then
25571 X_EXTRA_LIBS
="-lsocket $X_EXTRA_LIBS"
25576 # Guillermo Gomez says -lposix is necessary on A/UX.
25577 echo "$as_me:$LINENO: checking for remove" >&5
25578 echo $ECHO_N "checking for remove... $ECHO_C" >&6
25579 if test "${ac_cv_func_remove+set}" = set; then
25580 echo $ECHO_N "(cached) $ECHO_C" >&6
25582 cat >conftest.
$ac_ext <<_ACEOF
25585 cat confdefs.h
>>conftest.
$ac_ext
25586 cat >>conftest.
$ac_ext <<_ACEOF
25587 /* end confdefs.h. */
25588 /* Define remove to an innocuous variant, in case <limits.h> declares remove.
25589 For example, HP-UX 11i <limits.h> declares gettimeofday. */
25590 #define remove innocuous_remove
25592 /* System header to define __stub macros and hopefully few prototypes,
25593 which can conflict with char remove (); below.
25594 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25595 <limits.h> exists even on freestanding compilers. */
25598 # include <limits.h>
25600 # include <assert.h>
25605 /* Override any gcc2 internal prototype to avoid an error. */
25610 /* We use char because int might match the return type of a gcc2
25611 builtin and then its argument prototype would still apply. */
25613 /* The GNU C library defines this for functions which it implements
25614 to always fail with ENOSYS. Some functions are actually named
25615 something starting with __ and the normal name is an alias. */
25616 #if defined (__stub_remove) || defined (__stub___remove)
25619 char (*f) () = remove;
25628 return f != remove;
25633 rm -f conftest.
$ac_objext conftest
$ac_exeext
25634 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25635 (eval $ac_link) 2>conftest.er1
25637 grep -v '^ *+' conftest.er1
>conftest.err
25639 cat conftest.err
>&5
25640 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25641 (exit $ac_status); } &&
25642 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
25643 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25644 (eval $ac_try) 2>&5
25646 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25647 (exit $ac_status); }; } &&
25648 { ac_try
='test -s conftest$ac_exeext'
25649 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25650 (eval $ac_try) 2>&5
25652 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25653 (exit $ac_status); }; }; then
25654 ac_cv_func_remove
=yes
25656 echo "$as_me: failed program was:" >&5
25657 sed 's/^/| /' conftest.
$ac_ext >&5
25659 ac_cv_func_remove
=no
25661 rm -f conftest.err conftest.
$ac_objext \
25662 conftest
$ac_exeext conftest.
$ac_ext
25664 echo "$as_me:$LINENO: result: $ac_cv_func_remove" >&5
25665 echo "${ECHO_T}$ac_cv_func_remove" >&6
25667 if test $ac_cv_func_remove = no
; then
25668 echo "$as_me:$LINENO: checking for remove in -lposix" >&5
25669 echo $ECHO_N "checking for remove in -lposix... $ECHO_C" >&6
25670 if test "${ac_cv_lib_posix_remove+set}" = set; then
25671 echo $ECHO_N "(cached) $ECHO_C" >&6
25673 ac_check_lib_save_LIBS
=$LIBS
25674 LIBS
="-lposix $LIBS"
25675 cat >conftest.
$ac_ext <<_ACEOF
25678 cat confdefs.h
>>conftest.
$ac_ext
25679 cat >>conftest.
$ac_ext <<_ACEOF
25680 /* end confdefs.h. */
25682 /* Override any gcc2 internal prototype to avoid an error. */
25686 /* We use char because int might match the return type of a gcc2
25687 builtin and then its argument prototype would still apply. */
25697 rm -f conftest.
$ac_objext conftest
$ac_exeext
25698 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25699 (eval $ac_link) 2>conftest.er1
25701 grep -v '^ *+' conftest.er1
>conftest.err
25703 cat conftest.err
>&5
25704 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25705 (exit $ac_status); } &&
25706 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
25707 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25708 (eval $ac_try) 2>&5
25710 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25711 (exit $ac_status); }; } &&
25712 { ac_try
='test -s conftest$ac_exeext'
25713 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25714 (eval $ac_try) 2>&5
25716 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25717 (exit $ac_status); }; }; then
25718 ac_cv_lib_posix_remove
=yes
25720 echo "$as_me: failed program was:" >&5
25721 sed 's/^/| /' conftest.
$ac_ext >&5
25723 ac_cv_lib_posix_remove
=no
25725 rm -f conftest.err conftest.
$ac_objext \
25726 conftest
$ac_exeext conftest.
$ac_ext
25727 LIBS
=$ac_check_lib_save_LIBS
25729 echo "$as_me:$LINENO: result: $ac_cv_lib_posix_remove" >&5
25730 echo "${ECHO_T}$ac_cv_lib_posix_remove" >&6
25731 if test $ac_cv_lib_posix_remove = yes; then
25732 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lposix"
25737 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
25738 echo "$as_me:$LINENO: checking for shmat" >&5
25739 echo $ECHO_N "checking for shmat... $ECHO_C" >&6
25740 if test "${ac_cv_func_shmat+set}" = set; then
25741 echo $ECHO_N "(cached) $ECHO_C" >&6
25743 cat >conftest.
$ac_ext <<_ACEOF
25746 cat confdefs.h
>>conftest.
$ac_ext
25747 cat >>conftest.
$ac_ext <<_ACEOF
25748 /* end confdefs.h. */
25749 /* Define shmat to an innocuous variant, in case <limits.h> declares shmat.
25750 For example, HP-UX 11i <limits.h> declares gettimeofday. */
25751 #define shmat innocuous_shmat
25753 /* System header to define __stub macros and hopefully few prototypes,
25754 which can conflict with char shmat (); below.
25755 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25756 <limits.h> exists even on freestanding compilers. */
25759 # include <limits.h>
25761 # include <assert.h>
25766 /* Override any gcc2 internal prototype to avoid an error. */
25771 /* We use char because int might match the return type of a gcc2
25772 builtin and then its argument prototype would still apply. */
25774 /* The GNU C library defines this for functions which it implements
25775 to always fail with ENOSYS. Some functions are actually named
25776 something starting with __ and the normal name is an alias. */
25777 #if defined (__stub_shmat) || defined (__stub___shmat)
25780 char (*f) () = shmat;
25794 rm -f conftest.
$ac_objext conftest
$ac_exeext
25795 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25796 (eval $ac_link) 2>conftest.er1
25798 grep -v '^ *+' conftest.er1
>conftest.err
25800 cat conftest.err
>&5
25801 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25802 (exit $ac_status); } &&
25803 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
25804 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25805 (eval $ac_try) 2>&5
25807 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25808 (exit $ac_status); }; } &&
25809 { ac_try
='test -s conftest$ac_exeext'
25810 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25811 (eval $ac_try) 2>&5
25813 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25814 (exit $ac_status); }; }; then
25815 ac_cv_func_shmat
=yes
25817 echo "$as_me: failed program was:" >&5
25818 sed 's/^/| /' conftest.
$ac_ext >&5
25820 ac_cv_func_shmat
=no
25822 rm -f conftest.err conftest.
$ac_objext \
25823 conftest
$ac_exeext conftest.
$ac_ext
25825 echo "$as_me:$LINENO: result: $ac_cv_func_shmat" >&5
25826 echo "${ECHO_T}$ac_cv_func_shmat" >&6
25828 if test $ac_cv_func_shmat = no
; then
25829 echo "$as_me:$LINENO: checking for shmat in -lipc" >&5
25830 echo $ECHO_N "checking for shmat in -lipc... $ECHO_C" >&6
25831 if test "${ac_cv_lib_ipc_shmat+set}" = set; then
25832 echo $ECHO_N "(cached) $ECHO_C" >&6
25834 ac_check_lib_save_LIBS
=$LIBS
25836 cat >conftest.
$ac_ext <<_ACEOF
25839 cat confdefs.h
>>conftest.
$ac_ext
25840 cat >>conftest.
$ac_ext <<_ACEOF
25841 /* end confdefs.h. */
25843 /* Override any gcc2 internal prototype to avoid an error. */
25847 /* We use char because int might match the return type of a gcc2
25848 builtin and then its argument prototype would still apply. */
25858 rm -f conftest.
$ac_objext conftest
$ac_exeext
25859 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25860 (eval $ac_link) 2>conftest.er1
25862 grep -v '^ *+' conftest.er1
>conftest.err
25864 cat conftest.err
>&5
25865 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25866 (exit $ac_status); } &&
25867 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
25868 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25869 (eval $ac_try) 2>&5
25871 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25872 (exit $ac_status); }; } &&
25873 { ac_try
='test -s conftest$ac_exeext'
25874 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25875 (eval $ac_try) 2>&5
25877 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25878 (exit $ac_status); }; }; then
25879 ac_cv_lib_ipc_shmat
=yes
25881 echo "$as_me: failed program was:" >&5
25882 sed 's/^/| /' conftest.
$ac_ext >&5
25884 ac_cv_lib_ipc_shmat
=no
25886 rm -f conftest.err conftest.
$ac_objext \
25887 conftest
$ac_exeext conftest.
$ac_ext
25888 LIBS
=$ac_check_lib_save_LIBS
25890 echo "$as_me:$LINENO: result: $ac_cv_lib_ipc_shmat" >&5
25891 echo "${ECHO_T}$ac_cv_lib_ipc_shmat" >&6
25892 if test $ac_cv_lib_ipc_shmat = yes; then
25893 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lipc"
25899 # Check for libraries that X11R6 Xt/Xaw programs need.
25900 ac_save_LDFLAGS
=$LDFLAGS
25901 test -n "$x_libraries" && LDFLAGS
="$LDFLAGS -L$x_libraries"
25902 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
25903 # check for ICE first), but we must link in the order -lSM -lICE or
25904 # we get undefined symbols. So assume we have SM if we have ICE.
25905 # These have to be linked with before -lX11, unlike the other
25906 # libraries we check for below, so use a different variable.
25907 # John Interrante, Karl Berry
25908 echo "$as_me:$LINENO: checking for IceConnectionNumber in -lICE" >&5
25909 echo $ECHO_N "checking for IceConnectionNumber in -lICE... $ECHO_C" >&6
25910 if test "${ac_cv_lib_ICE_IceConnectionNumber+set}" = set; then
25911 echo $ECHO_N "(cached) $ECHO_C" >&6
25913 ac_check_lib_save_LIBS
=$LIBS
25914 LIBS
="-lICE $X_EXTRA_LIBS $LIBS"
25915 cat >conftest.
$ac_ext <<_ACEOF
25918 cat confdefs.h
>>conftest.
$ac_ext
25919 cat >>conftest.
$ac_ext <<_ACEOF
25920 /* end confdefs.h. */
25922 /* Override any gcc2 internal prototype to avoid an error. */
25926 /* We use char because int might match the return type of a gcc2
25927 builtin and then its argument prototype would still apply. */
25928 char IceConnectionNumber ();
25932 IceConnectionNumber ();
25937 rm -f conftest.
$ac_objext conftest
$ac_exeext
25938 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25939 (eval $ac_link) 2>conftest.er1
25941 grep -v '^ *+' conftest.er1
>conftest.err
25943 cat conftest.err
>&5
25944 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25945 (exit $ac_status); } &&
25946 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
25947 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25948 (eval $ac_try) 2>&5
25950 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25951 (exit $ac_status); }; } &&
25952 { ac_try
='test -s conftest$ac_exeext'
25953 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25954 (eval $ac_try) 2>&5
25956 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25957 (exit $ac_status); }; }; then
25958 ac_cv_lib_ICE_IceConnectionNumber
=yes
25960 echo "$as_me: failed program was:" >&5
25961 sed 's/^/| /' conftest.
$ac_ext >&5
25963 ac_cv_lib_ICE_IceConnectionNumber
=no
25965 rm -f conftest.err conftest.
$ac_objext \
25966 conftest
$ac_exeext conftest.
$ac_ext
25967 LIBS
=$ac_check_lib_save_LIBS
25969 echo "$as_me:$LINENO: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
25970 echo "${ECHO_T}$ac_cv_lib_ICE_IceConnectionNumber" >&6
25971 if test $ac_cv_lib_ICE_IceConnectionNumber = yes; then
25972 X_PRE_LIBS
="$X_PRE_LIBS -lSM -lICE"
25975 LDFLAGS
=$ac_save_LDFLAGS
25980 if test "$no_x" = "yes"; then
25981 { { echo "$as_me:$LINENO: error: X11 not found" >&5
25982 echo "$as_me: error: X11 not found" >&2;}
25983 { (exit please use
--x-includes and
/or
--x-libraries options
); exit please use
--x-includes and
/or
--x-libraries options
; }; }
25986 GUI_TK_LIBRARY
=`echo $X_LIBS | sed 's/ -LNONE//'`
25987 TOOLKIT_INCLUDE
=`echo $X_CFLAGS | sed 's/ -INONE//'`
25988 AFMINSTALL
=afminstall
25989 COMPILED_X_PROGRAM
=0
25991 echo "$as_me:$LINENO: checking for Motif/Lesstif headers" >&5
25992 echo $ECHO_N "checking for Motif/Lesstif headers... $ECHO_C" >&6
25995 for ac_dir
in $SEARCH_INCLUDE /usr
/include
;
25997 if test -f "$ac_dir/Xm/Xm.h"; then
25998 ac_find_includes
=$ac_dir
26003 if test "$ac_find_includes" != "" ; then
26004 echo "$as_me:$LINENO: result: found in $ac_find_includes" >&5
26005 echo "${ECHO_T}found in $ac_find_includes" >&6
26007 if test "x$ac_find_includes" = "x/usr/include"; then
26008 ac_path_to_include
=""
26010 echo "$TOOLKIT_INCLUDE" | grep "\-I$ac_find_includes" > /dev
/null
26012 if test $result = 0; then
26013 ac_path_to_include
=""
26015 ac_path_to_include
=" -I$ac_find_includes"
26019 TOOLKIT_INCLUDE
="$TOOLKIT_INCLUDE$ac_path_to_include"
26021 cat >conftest.
$ac_ext <<_ACEOF
26024 cat confdefs.h
>>conftest.
$ac_ext
26025 cat >>conftest.
$ac_ext <<_ACEOF
26026 /* end confdefs.h. */
26035 version = xmUseVersion;
26041 rm -f conftest.
$ac_objext
26042 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26043 (eval $ac_compile) 2>conftest.er1
26045 grep -v '^ *+' conftest.er1
>conftest.err
26047 cat conftest.err
>&5
26048 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26049 (exit $ac_status); } &&
26050 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
26051 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26052 (eval $ac_try) 2>&5
26054 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26055 (exit $ac_status); }; } &&
26056 { ac_try
='test -s conftest.$ac_objext'
26057 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26058 (eval $ac_try) 2>&5
26060 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26061 (exit $ac_status); }; }; then
26063 echo "$as_me:$LINENO: result: found in default search path" >&5
26064 echo "${ECHO_T}found in default search path" >&6
26065 COMPILED_X_PROGRAM
=1
26068 echo "$as_me: failed program was:" >&5
26069 sed 's/^/| /' conftest.
$ac_ext >&5
26072 echo "$as_me:$LINENO: result: no" >&5
26073 echo "${ECHO_T}no" >&6
26074 { { echo "$as_me:$LINENO: error: please set CFLAGS to contain the location of Xm/Xm.h" >&5
26075 echo "$as_me: error: please set CFLAGS to contain the location of Xm/Xm.h" >&2;}
26076 { (exit 1); exit 1; }; }
26080 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
26083 if test "$COMPILED_X_PROGRAM" = 0; then
26084 echo "$as_me:$LINENO: checking for Motif/Lesstif library" >&5
26085 echo $ECHO_N "checking for Motif/Lesstif library... $ECHO_C" >&6
26088 for ac_dir
in $SEARCH_LIB /usr
/lib
;
26090 for ac_extension
in a so sl dylib
; do
26091 if test -f "$ac_dir/libXm.$ac_extension"; then
26092 ac_find_libraries
=$ac_dir
26098 if test "$ac_find_libraries" != "" ; then
26099 echo "$as_me:$LINENO: result: found at $ac_find_libraries" >&5
26100 echo "${ECHO_T}found at $ac_find_libraries" >&6
26103 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev
/null
26105 if test $result = 0; then
26108 ac_path_to_link
=" -L$ac_find_libraries"
26111 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY$ac_path_to_link"
26113 save_CFLAGS
=$CFLAGS
26114 CFLAGS
="$CFLAGS $TOOLKIT_INCLUDE"
26116 cat >conftest.
$ac_ext <<_ACEOF
26119 cat confdefs.h
>>conftest.
$ac_ext
26120 cat >>conftest.
$ac_ext <<_ACEOF
26121 /* end confdefs.h. */
26130 version = xmUseVersion;
26136 rm -f conftest.
$ac_objext
26137 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26138 (eval $ac_compile) 2>conftest.er1
26140 grep -v '^ *+' conftest.er1
>conftest.err
26142 cat conftest.err
>&5
26143 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26144 (exit $ac_status); } &&
26145 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
26146 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26147 (eval $ac_try) 2>&5
26149 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26150 (exit $ac_status); }; } &&
26151 { ac_try
='test -s conftest.$ac_objext'
26152 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26153 (eval $ac_try) 2>&5
26155 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26156 (exit $ac_status); }; }; then
26158 echo "$as_me:$LINENO: result: found in default search path" >&5
26159 echo "${ECHO_T}found in default search path" >&6
26160 COMPILED_X_PROGRAM
=1
26163 echo "$as_me: failed program was:" >&5
26164 sed 's/^/| /' conftest.
$ac_ext >&5
26167 echo "$as_me:$LINENO: result: no" >&5
26168 echo "${ECHO_T}no" >&6
26169 { { echo "$as_me:$LINENO: error: please set LDFLAGS to contain the location of libXm" >&5
26170 echo "$as_me: error: please set LDFLAGS to contain the location of libXm" >&2;}
26171 { (exit 1); exit 1; }; }
26175 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
26177 CFLAGS
=$save_CFLAGS
26181 echo "$as_me:$LINENO: checking if we need -lXp and/or -lSM -lICE" >&5
26182 echo $ECHO_N "checking if we need -lXp and/or -lSM -lICE... $ECHO_C" >&6
26186 for libp
in "" " -lXp"; do
26187 if test "$libs_found" = "0"; then
26188 for libsm_ice
in "" " -lSM -lICE"; do
26189 if test "$libs_found" = "0"; then
26191 LIBS
="$GUI_TK_LIBRARY -lXm ${libp} -lXmu -lXext -lXt${libsm_ice} -lX11"
26192 save_CFLAGS
=$CFLAGS
26193 CFLAGS
="$CFLAGS $TOOLKIT_INCLUDE"
26195 cat >conftest.
$ac_ext <<_ACEOF
26198 cat confdefs.h
>>conftest.
$ac_ext
26199 cat >>conftest.
$ac_ext <<_ACEOF
26200 /* end confdefs.h. */
26203 #include <Xm/List.h>
26209 XmString string = NULL;
26212 XmListAddItem(w, string, position);
26218 rm -f conftest.
$ac_objext conftest
$ac_exeext
26219 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26220 (eval $ac_link) 2>conftest.er1
26222 grep -v '^ *+' conftest.er1
>conftest.err
26224 cat conftest.err
>&5
26225 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26226 (exit $ac_status); } &&
26227 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
26228 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26229 (eval $ac_try) 2>&5
26231 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26232 (exit $ac_status); }; } &&
26233 { ac_try
='test -s conftest$ac_exeext'
26234 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26235 (eval $ac_try) 2>&5
26237 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26238 (exit $ac_status); }; }; then
26241 libsm_ice_link
="$libsm_ice"
26242 echo "$as_me:$LINENO: result: need${libp_link}${libsm_ice_link}" >&5
26243 echo "${ECHO_T}need${libp_link}${libsm_ice_link}" >&6
26247 echo "$as_me: failed program was:" >&5
26248 sed 's/^/| /' conftest.
$ac_ext >&5
26253 rm -f conftest.err conftest.
$ac_objext \
26254 conftest
$ac_exeext conftest.
$ac_ext
26257 CFLAGS
=$save_CFLAGS
26263 if test "$libs_found" = "0"; then
26264 echo "$as_me:$LINENO: result: can't find the right libraries" >&5
26265 echo "${ECHO_T}can't find the right libraries" >&6
26266 { { echo "$as_me:$LINENO: error: can't link a simple motif program" >&5
26267 echo "$as_me: error: can't link a simple motif program" >&2;}
26268 { (exit 1); exit 1; }; }
26271 save_CFLAGS
=$CFLAGS
26272 CFLAGS
="$CFLAGS $TOOLKIT_INCLUDE"
26273 echo "$as_me:$LINENO: checking for Motif 2" >&5
26274 echo $ECHO_N "checking for Motif 2... $ECHO_C" >&6
26275 cat >conftest.
$ac_ext <<_ACEOF
26278 cat confdefs.h
>>conftest.
$ac_ext
26279 cat >>conftest.
$ac_ext <<_ACEOF
26280 /* end confdefs.h. */
26288 #if XmVersion < 2000
26289 #error "Not Motif 2"
26296 rm -f conftest.
$ac_objext
26297 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26298 (eval $ac_compile) 2>conftest.er1
26300 grep -v '^ *+' conftest.er1
>conftest.err
26302 cat conftest.err
>&5
26303 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26304 (exit $ac_status); } &&
26305 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
26306 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26307 (eval $ac_try) 2>&5
26309 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26310 (exit $ac_status); }; } &&
26311 { ac_try
='test -s conftest.$ac_objext'
26312 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26313 (eval $ac_try) 2>&5
26315 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26316 (exit $ac_status); }; }; then
26318 cat >>confdefs.h
<<\_ACEOF
26319 #define __WXMOTIF20__ 1
26322 echo "$as_me:$LINENO: result: found" >&5
26323 echo "${ECHO_T}found" >&6
26326 echo "$as_me: failed program was:" >&5
26327 sed 's/^/| /' conftest.
$ac_ext >&5
26330 cat >>confdefs.h
<<\_ACEOF
26331 #define __WXMOTIF20__ 0
26334 echo "$as_me:$LINENO: result: not found" >&5
26335 echo "${ECHO_T}not found" >&6
26338 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
26339 CFLAGS
=$save_CFLAGS
26341 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lXm${libp_link} -lXmu -lXext -lXt${libsm_ice_link} -lX11"
26342 TOOLKIT_VPATH
="\${top_srcdir}/src/motif${PATH_IFS}\${top_srcdir}/src/motif/xmcombo${PATH_IFS}\${top_srcdir}/src/x11"
26347 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
26348 if test "$wxUSE_LIBXPM" = "sys"; then
26349 echo "$as_me:$LINENO: checking for Xpm library" >&5
26350 echo $ECHO_N "checking for Xpm library... $ECHO_C" >&6
26353 for ac_dir
in $SEARCH_LIB /usr
/lib
;
26355 for ac_extension
in a so sl dylib
; do
26356 if test -f "$ac_dir/libXpm.$ac_extension"; then
26357 ac_find_libraries
=$ac_dir
26363 if test "$ac_find_libraries" != "" ; then
26365 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev
/null
26367 if test $result = 0; then
26370 ac_path_to_link
=" -L$ac_find_libraries"
26373 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY$ac_path_to_link"
26374 echo "$as_me:$LINENO: result: found at $ac_find_libraries" >&5
26375 echo "${ECHO_T}found at $ac_find_libraries" >&6
26377 echo "$as_me:$LINENO: checking for X11/xpm.h" >&5
26378 echo $ECHO_N "checking for X11/xpm.h... $ECHO_C" >&6
26379 if test "${wx_cv_x11_xpm_h+set}" = set; then
26380 echo $ECHO_N "(cached) $ECHO_C" >&6
26383 save_CFLAGS
=$CFLAGS
26384 CFLAGS
="$CFLAGS $TOOLKIT_INCLUDE"
26386 cat >conftest.
$ac_ext <<_ACEOF
26389 cat confdefs.h
>>conftest.
$ac_ext
26390 cat >>conftest.
$ac_ext <<_ACEOF
26391 /* end confdefs.h. */
26393 #include <X11/xpm.h>
26400 version = XpmLibraryVersion();
26406 rm -f conftest.
$ac_objext
26407 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26408 (eval $ac_compile) 2>conftest.er1
26410 grep -v '^ *+' conftest.er1
>conftest.err
26412 cat conftest.err
>&5
26413 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26414 (exit $ac_status); } &&
26415 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
26416 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26417 (eval $ac_try) 2>&5
26419 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26420 (exit $ac_status); }; } &&
26421 { ac_try
='test -s conftest.$ac_objext'
26422 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26423 (eval $ac_try) 2>&5
26425 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26426 (exit $ac_status); }; }; then
26427 wx_cv_x11_xpm_h
=yes
26429 echo "$as_me: failed program was:" >&5
26430 sed 's/^/| /' conftest.
$ac_ext >&5
26435 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
26437 CFLAGS
=$save_CFLAGS
26441 echo "$as_me:$LINENO: result: $wx_cv_x11_xpm_h" >&5
26442 echo "${ECHO_T}$wx_cv_x11_xpm_h" >&6
26444 if test $wx_cv_x11_xpm_h = "yes"; then
26445 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lXpm"
26446 cat >>confdefs.h
<<\_ACEOF
26447 #define wxHAVE_LIB_XPM 1
26451 { echo "$as_me:$LINENO: WARNING: built-in less efficient XPM decoder will be used" >&5
26452 echo "$as_me: WARNING: built-in less efficient XPM decoder will be used" >&2;}
26458 echo "$as_me:$LINENO: checking for XShapeQueryExtension in -lXext" >&5
26459 echo $ECHO_N "checking for XShapeQueryExtension in -lXext... $ECHO_C" >&6
26460 if test "${ac_cv_lib_Xext_XShapeQueryExtension+set}" = set; then
26461 echo $ECHO_N "(cached) $ECHO_C" >&6
26463 ac_check_lib_save_LIBS
=$LIBS
26464 LIBS
="-lXext $GUI_TK_LIBRARY -lX11 $LIBS"
26465 cat >conftest.
$ac_ext <<_ACEOF
26468 cat confdefs.h
>>conftest.
$ac_ext
26469 cat >>conftest.
$ac_ext <<_ACEOF
26470 /* end confdefs.h. */
26472 /* Override any gcc2 internal prototype to avoid an error. */
26476 /* We use char because int might match the return type of a gcc2
26477 builtin and then its argument prototype would still apply. */
26478 char XShapeQueryExtension ();
26482 XShapeQueryExtension ();
26487 rm -f conftest.
$ac_objext conftest
$ac_exeext
26488 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26489 (eval $ac_link) 2>conftest.er1
26491 grep -v '^ *+' conftest.er1
>conftest.err
26493 cat conftest.err
>&5
26494 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26495 (exit $ac_status); } &&
26496 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
26497 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26498 (eval $ac_try) 2>&5
26500 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26501 (exit $ac_status); }; } &&
26502 { ac_try
='test -s conftest$ac_exeext'
26503 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26504 (eval $ac_try) 2>&5
26506 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26507 (exit $ac_status); }; }; then
26508 ac_cv_lib_Xext_XShapeQueryExtension
=yes
26510 echo "$as_me: failed program was:" >&5
26511 sed 's/^/| /' conftest.
$ac_ext >&5
26513 ac_cv_lib_Xext_XShapeQueryExtension
=no
26515 rm -f conftest.err conftest.
$ac_objext \
26516 conftest
$ac_exeext conftest.
$ac_ext
26517 LIBS
=$ac_check_lib_save_LIBS
26519 echo "$as_me:$LINENO: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
26520 echo "${ECHO_T}$ac_cv_lib_Xext_XShapeQueryExtension" >&6
26521 if test $ac_cv_lib_Xext_XShapeQueryExtension = yes; then
26523 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lXext"
26529 if test "$wxHAVE_XEXT_LIB" = 1; then
26530 save_CFLAGS
="$CFLAGS"
26531 CFLAGS
="$CFLAGS $TOOLKIT_INCLUDE"
26533 echo "$as_me:$LINENO: checking for X11/extensions/shape.h" >&5
26534 echo $ECHO_N "checking for X11/extensions/shape.h... $ECHO_C" >&6
26535 cat >conftest.
$ac_ext <<_ACEOF
26538 cat confdefs.h
>>conftest.
$ac_ext
26539 cat >>conftest.
$ac_ext <<_ACEOF
26540 /* end confdefs.h. */
26542 #include <X11/Xlib.h>
26543 #include <X11/extensions/shape.h>
26549 int dummy1, dummy2;
26550 XShapeQueryExtension((Display*)NULL,
26551 (int*)NULL, (int*)NULL);
26557 rm -f conftest.
$ac_objext
26558 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26559 (eval $ac_compile) 2>conftest.er1
26561 grep -v '^ *+' conftest.er1
>conftest.err
26563 cat conftest.err
>&5
26564 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26565 (exit $ac_status); } &&
26566 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
26567 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26568 (eval $ac_try) 2>&5
26570 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26571 (exit $ac_status); }; } &&
26572 { ac_try
='test -s conftest.$ac_objext'
26573 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26574 (eval $ac_try) 2>&5
26576 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26577 (exit $ac_status); }; }; then
26579 cat >>confdefs.h
<<\_ACEOF
26580 #define HAVE_XSHAPE 1
26583 echo "$as_me:$LINENO: result: found" >&5
26584 echo "${ECHO_T}found" >&6
26587 echo "$as_me: failed program was:" >&5
26588 sed 's/^/| /' conftest.
$ac_ext >&5
26591 echo "$as_me:$LINENO: result: not found" >&5
26592 echo "${ECHO_T}not found" >&6
26595 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
26596 CFLAGS
="$save_CFLAGS"
26601 if test "$wxUSE_MAC" = 1; then
26602 echo "$as_me:$LINENO: checking for compiler syntax to enable Pascal strings" >&5
26603 echo $ECHO_N "checking for compiler syntax to enable Pascal strings... $ECHO_C" >&6
26604 if test "$GCC" = yes; then
26605 echo "$as_me:$LINENO: result: gcc" >&5
26606 echo "${ECHO_T}gcc" >&6
26607 CPPFLAGS_PASCAL
="-fpascal-strings"
26608 elif test "`echo $CXX | sed -e 's@.*/@@'`" = "xlC"; then
26609 echo "$as_me:$LINENO: result: xlc" >&5
26610 echo "${ECHO_T}xlc" >&6
26611 CPPFLAGS_PASCAL
="-qmacpstr"
26613 echo "$as_me:$LINENO: result: none" >&5
26614 echo "${ECHO_T}none" >&6
26617 CPPFLAGS
="$CPPFLAGS $CPPFLAGS_PASCAL -I\${top_srcdir}/src/mac/morefilex -I/Developer/Headers/FlatCarbon"
26619 TOOLKIT_VPATH
="\${top_srcdir}/src/mac${PATH_IFS}\${top_srcdir}/src/mac/morefilex"
26622 WXBASEPORT
="_carbon"
26625 if test "$wxUSE_COCOA" = 1; then
26626 TOOLKIT_VPATH
="\${top_srcdir}/src/cocoa"
26631 if test "$wxUSE_PM" = 1; then
26636 if test "$TOOLKIT" = "PM" ; then
26639 TOOLKIT_DIR
=`echo ${TOOLKIT} | tr "[A-Z]" "[a-z]"`
26642 PORT_FILES
="\${top_srcdir}/src/\$(TOOLKITDIR)/files.lst"
26644 if test "$wxUSE_UNIVERSAL" = "yes"; then
26645 ALL_OBJECTS
="\$(GUI_LOWLEVEL_OBJS) \${UNIVOBJS}"
26647 ALL_SOURCES
="\$(ALL_SOURCES) \${UNIV_SOURCES}"
26648 ALL_HEADERS
="\$(ALL_HEADERS) \${UNIV_HEADERS}"
26650 PORT_FILES
="${PORT_FILES} \${top_srcdir}/src/univ/files.lst"
26651 if test "$wxUSE_X11" = 1; then
26652 TOOLKIT_VPATH
="\${top_srcdir}/src/${TOOLKIT_DIR}${PATH_IFS}\${top_srcdir}/src/univ${PATH_IFS}\${top_srcdir}/src/univ/themes"
26654 TOOLKIT_VPATH
="\${top_srcdir}/src/univ${PATH_IFS}\${top_srcdir}/src/univ/themes${PATH_IFS}\${top_srcdir}/src/${TOOLKIT_DIR}"
26656 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -D__WXUNIVERSAL__"
26659 ALL_OBJECTS
="\$(GUIOBJS)"
26660 ALL_SOURCES
="\$(ALL_SOURCES)"
26661 ALL_HEADERS
="\$(ALL_HEADERS)"
26664 ALL_OBJECTS
="${ALL_OBJECTS} \$(COMMONOBJS) \$(GENERICOBJS)"
26666 if test "$TOOLKIT" != "MSW" -a "$USE_DOS" != 1; then
26667 ALL_OBJECTS
="${ALL_OBJECTS} \$(UNIXOBJS)"
26670 if test "$wxUSE_HTML" = "yes"; then
26671 ALL_OBJECTS
="${ALL_OBJECTS} \$(HTMLOBJS)"
26674 if test "$wxUSE_LIBJPEG" = "builtin" ; then
26675 ALL_OBJECTS
="${ALL_OBJECTS} \$(JPEGOBJS)"
26677 if test "$wxUSE_LIBTIFF" = "builtin" ; then
26678 ALL_OBJECTS
="${ALL_OBJECTS} \$(TIFFOBJS)"
26680 if test "$wxUSE_LIBPNG" = "builtin" ; then
26681 ALL_OBJECTS
="${ALL_OBJECTS} \$(PNGOBJS)"
26684 GUIDIST
="${GUIDIST} SAMPLES_DIST DEMOS_DIST UTILS_DIST MISC_DIST"
26685 DISTDIR
="wx\$(TOOLKIT)"
26691 if test "$USE_WIN32" = 1 ; then
26692 ALL_OBJECTS
="\${BASE_OBJS} \${BASE_MSW_OBJS}"
26693 TOOLKIT_VPATH
="\${top_srcdir}/src/msw"
26697 ALL_OBJECTS
="\${BASE_OBJS} \${BASE_UNIX_OBJS}"
26698 TOOLKIT_VPATH
="\${top_srcdir}/src/unix"
26701 ALL_SOURCES
="\$(ALL_SOURCES)"
26702 ALL_HEADERS
="\$(ALL_HEADERS)"
26704 PORT_FILES
="\${top_srcdir}/src/files.lst"
26706 GUIDIST
="BASE_DIST"
26716 if test "$TOOLKIT" != "MSW" ; then
26718 if test "$wxUSE_ODBC" = "sys" -o "$wxUSE_ODBC" = "yes" ; then
26720 if test "${ac_cv_header_sql_h+set}" = set; then
26721 echo "$as_me:$LINENO: checking for sql.h" >&5
26722 echo $ECHO_N "checking for sql.h... $ECHO_C" >&6
26723 if test "${ac_cv_header_sql_h+set}" = set; then
26724 echo $ECHO_N "(cached) $ECHO_C" >&6
26726 echo "$as_me:$LINENO: result: $ac_cv_header_sql_h" >&5
26727 echo "${ECHO_T}$ac_cv_header_sql_h" >&6
26729 # Is the header compilable?
26730 echo "$as_me:$LINENO: checking sql.h usability" >&5
26731 echo $ECHO_N "checking sql.h usability... $ECHO_C" >&6
26732 cat >conftest.
$ac_ext <<_ACEOF
26735 cat confdefs.h
>>conftest.
$ac_ext
26736 cat >>conftest.
$ac_ext <<_ACEOF
26737 /* end confdefs.h. */
26738 $ac_includes_default
26741 rm -f conftest.
$ac_objext
26742 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26743 (eval $ac_compile) 2>conftest.er1
26745 grep -v '^ *+' conftest.er1
>conftest.err
26747 cat conftest.err
>&5
26748 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26749 (exit $ac_status); } &&
26750 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
26751 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26752 (eval $ac_try) 2>&5
26754 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26755 (exit $ac_status); }; } &&
26756 { ac_try
='test -s conftest.$ac_objext'
26757 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26758 (eval $ac_try) 2>&5
26760 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26761 (exit $ac_status); }; }; then
26762 ac_header_compiler
=yes
26764 echo "$as_me: failed program was:" >&5
26765 sed 's/^/| /' conftest.
$ac_ext >&5
26767 ac_header_compiler
=no
26769 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
26770 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
26771 echo "${ECHO_T}$ac_header_compiler" >&6
26773 # Is the header present?
26774 echo "$as_me:$LINENO: checking sql.h presence" >&5
26775 echo $ECHO_N "checking sql.h presence... $ECHO_C" >&6
26776 cat >conftest.
$ac_ext <<_ACEOF
26779 cat confdefs.h
>>conftest.
$ac_ext
26780 cat >>conftest.
$ac_ext <<_ACEOF
26781 /* end confdefs.h. */
26784 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
26785 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
26787 grep -v '^ *+' conftest.er1
>conftest.err
26789 cat conftest.err
>&5
26790 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26791 (exit $ac_status); } >/dev
/null
; then
26792 if test -s conftest.err
; then
26793 ac_cpp_err
=$ac_c_preproc_warn_flag
26794 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
26801 if test -z "$ac_cpp_err"; then
26802 ac_header_preproc
=yes
26804 echo "$as_me: failed program was:" >&5
26805 sed 's/^/| /' conftest.
$ac_ext >&5
26807 ac_header_preproc
=no
26809 rm -f conftest.err conftest.
$ac_ext
26810 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
26811 echo "${ECHO_T}$ac_header_preproc" >&6
26813 # So? What about this header?
26814 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
26816 { echo "$as_me:$LINENO: WARNING: sql.h: accepted by the compiler, rejected by the preprocessor!" >&5
26817 echo "$as_me: WARNING: sql.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
26818 { echo "$as_me:$LINENO: WARNING: sql.h: proceeding with the compiler's result" >&5
26819 echo "$as_me: WARNING: sql.h: proceeding with the compiler's result" >&2;}
26820 ac_header_preproc
=yes
26823 { echo "$as_me:$LINENO: WARNING: sql.h: present but cannot be compiled" >&5
26824 echo "$as_me: WARNING: sql.h: present but cannot be compiled" >&2;}
26825 { echo "$as_me:$LINENO: WARNING: sql.h: check for missing prerequisite headers?" >&5
26826 echo "$as_me: WARNING: sql.h: check for missing prerequisite headers?" >&2;}
26827 { echo "$as_me:$LINENO: WARNING: sql.h: see the Autoconf documentation" >&5
26828 echo "$as_me: WARNING: sql.h: see the Autoconf documentation" >&2;}
26829 { echo "$as_me:$LINENO: WARNING: sql.h: section \"Present But Cannot Be Compiled\"" >&5
26830 echo "$as_me: WARNING: sql.h: section \"Present But Cannot Be Compiled\"" >&2;}
26831 { echo "$as_me:$LINENO: WARNING: sql.h: proceeding with the preprocessor's result" >&5
26832 echo "$as_me: WARNING: sql.h: proceeding with the preprocessor's result" >&2;}
26833 { echo "$as_me:$LINENO: WARNING: sql.h: in the future, the compiler will take precedence" >&5
26834 echo "$as_me: WARNING: sql.h: in the future, the compiler will take precedence" >&2;}
26837 ## ----------------------------------------- ##
26838 ## Report this to wx-dev@lists.wxwindows.org ##
26839 ## ----------------------------------------- ##
26842 sed "s/^/$as_me: WARNING: /" >&2
26845 echo "$as_me:$LINENO: checking for sql.h" >&5
26846 echo $ECHO_N "checking for sql.h... $ECHO_C" >&6
26847 if test "${ac_cv_header_sql_h+set}" = set; then
26848 echo $ECHO_N "(cached) $ECHO_C" >&6
26850 ac_cv_header_sql_h
=$ac_header_preproc
26852 echo "$as_me:$LINENO: result: $ac_cv_header_sql_h" >&5
26853 echo "${ECHO_T}$ac_cv_header_sql_h" >&6
26856 if test $ac_cv_header_sql_h = yes; then
26861 if test "x$found_sql_h" = "x1" ; then
26862 echo "$as_me:$LINENO: checking for SQLAllocEnv in -liodbc" >&5
26863 echo $ECHO_N "checking for SQLAllocEnv in -liodbc... $ECHO_C" >&6
26864 if test "${ac_cv_lib_iodbc_SQLAllocEnv+set}" = set; then
26865 echo $ECHO_N "(cached) $ECHO_C" >&6
26867 ac_check_lib_save_LIBS
=$LIBS
26868 LIBS
="-liodbc $LIBS"
26869 cat >conftest.
$ac_ext <<_ACEOF
26872 cat confdefs.h
>>conftest.
$ac_ext
26873 cat >>conftest.
$ac_ext <<_ACEOF
26874 /* end confdefs.h. */
26876 /* Override any gcc2 internal prototype to avoid an error. */
26880 /* We use char because int might match the return type of a gcc2
26881 builtin and then its argument prototype would still apply. */
26882 char SQLAllocEnv ();
26891 rm -f conftest.
$ac_objext conftest
$ac_exeext
26892 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26893 (eval $ac_link) 2>conftest.er1
26895 grep -v '^ *+' conftest.er1
>conftest.err
26897 cat conftest.err
>&5
26898 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26899 (exit $ac_status); } &&
26900 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
26901 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26902 (eval $ac_try) 2>&5
26904 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26905 (exit $ac_status); }; } &&
26906 { ac_try
='test -s conftest$ac_exeext'
26907 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26908 (eval $ac_try) 2>&5
26910 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26911 (exit $ac_status); }; }; then
26912 ac_cv_lib_iodbc_SQLAllocEnv
=yes
26914 echo "$as_me: failed program was:" >&5
26915 sed 's/^/| /' conftest.
$ac_ext >&5
26917 ac_cv_lib_iodbc_SQLAllocEnv
=no
26919 rm -f conftest.err conftest.
$ac_objext \
26920 conftest
$ac_exeext conftest.
$ac_ext
26921 LIBS
=$ac_check_lib_save_LIBS
26923 echo "$as_me:$LINENO: result: $ac_cv_lib_iodbc_SQLAllocEnv" >&5
26924 echo "${ECHO_T}$ac_cv_lib_iodbc_SQLAllocEnv" >&6
26925 if test $ac_cv_lib_iodbc_SQLAllocEnv = yes; then
26926 ODBC_LINK
=" -liodbc"
26929 echo "$as_me:$LINENO: checking for SQLAllocEnv in -lunixodbc" >&5
26930 echo $ECHO_N "checking for SQLAllocEnv in -lunixodbc... $ECHO_C" >&6
26931 if test "${ac_cv_lib_unixodbc_SQLAllocEnv+set}" = set; then
26932 echo $ECHO_N "(cached) $ECHO_C" >&6
26934 ac_check_lib_save_LIBS
=$LIBS
26935 LIBS
="-lunixodbc $LIBS"
26936 cat >conftest.
$ac_ext <<_ACEOF
26939 cat confdefs.h
>>conftest.
$ac_ext
26940 cat >>conftest.
$ac_ext <<_ACEOF
26941 /* end confdefs.h. */
26943 /* Override any gcc2 internal prototype to avoid an error. */
26947 /* We use char because int might match the return type of a gcc2
26948 builtin and then its argument prototype would still apply. */
26949 char SQLAllocEnv ();
26958 rm -f conftest.
$ac_objext conftest
$ac_exeext
26959 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26960 (eval $ac_link) 2>conftest.er1
26962 grep -v '^ *+' conftest.er1
>conftest.err
26964 cat conftest.err
>&5
26965 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26966 (exit $ac_status); } &&
26967 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
26968 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26969 (eval $ac_try) 2>&5
26971 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26972 (exit $ac_status); }; } &&
26973 { ac_try
='test -s conftest$ac_exeext'
26974 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26975 (eval $ac_try) 2>&5
26977 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26978 (exit $ac_status); }; }; then
26979 ac_cv_lib_unixodbc_SQLAllocEnv
=yes
26981 echo "$as_me: failed program was:" >&5
26982 sed 's/^/| /' conftest.
$ac_ext >&5
26984 ac_cv_lib_unixodbc_SQLAllocEnv
=no
26986 rm -f conftest.err conftest.
$ac_objext \
26987 conftest
$ac_exeext conftest.
$ac_ext
26988 LIBS
=$ac_check_lib_save_LIBS
26990 echo "$as_me:$LINENO: result: $ac_cv_lib_unixodbc_SQLAllocEnv" >&5
26991 echo "${ECHO_T}$ac_cv_lib_unixodbc_SQLAllocEnv" >&6
26992 if test $ac_cv_lib_unixodbc_SQLAllocEnv = yes; then
26993 ODBC_LINK
=" -lunixodbc"
26996 echo "$as_me:$LINENO: checking for SQLAllocEnv in -lodbc" >&5
26997 echo $ECHO_N "checking for SQLAllocEnv in -lodbc... $ECHO_C" >&6
26998 if test "${ac_cv_lib_odbc_SQLAllocEnv+set}" = set; then
26999 echo $ECHO_N "(cached) $ECHO_C" >&6
27001 ac_check_lib_save_LIBS
=$LIBS
27002 LIBS
="-lodbc $LIBS"
27003 cat >conftest.
$ac_ext <<_ACEOF
27006 cat confdefs.h
>>conftest.
$ac_ext
27007 cat >>conftest.
$ac_ext <<_ACEOF
27008 /* end confdefs.h. */
27010 /* Override any gcc2 internal prototype to avoid an error. */
27014 /* We use char because int might match the return type of a gcc2
27015 builtin and then its argument prototype would still apply. */
27016 char SQLAllocEnv ();
27025 rm -f conftest.
$ac_objext conftest
$ac_exeext
27026 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27027 (eval $ac_link) 2>conftest.er1
27029 grep -v '^ *+' conftest.er1
>conftest.err
27031 cat conftest.err
>&5
27032 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27033 (exit $ac_status); } &&
27034 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
27035 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27036 (eval $ac_try) 2>&5
27038 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27039 (exit $ac_status); }; } &&
27040 { ac_try
='test -s conftest$ac_exeext'
27041 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27042 (eval $ac_try) 2>&5
27044 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27045 (exit $ac_status); }; }; then
27046 ac_cv_lib_odbc_SQLAllocEnv
=yes
27048 echo "$as_me: failed program was:" >&5
27049 sed 's/^/| /' conftest.
$ac_ext >&5
27051 ac_cv_lib_odbc_SQLAllocEnv
=no
27053 rm -f conftest.err conftest.
$ac_objext \
27054 conftest
$ac_exeext conftest.
$ac_ext
27055 LIBS
=$ac_check_lib_save_LIBS
27057 echo "$as_me:$LINENO: result: $ac_cv_lib_odbc_SQLAllocEnv" >&5
27058 echo "${ECHO_T}$ac_cv_lib_odbc_SQLAllocEnv" >&6
27059 if test $ac_cv_lib_odbc_SQLAllocEnv = yes; then
27060 ODBC_LINK
=" -lodbc"
27070 if test "x$ODBC_LINK" = "x" ; then
27071 if test "$wxUSE_ODBC" = "sys" ; then
27072 { { echo "$as_me:$LINENO: error: system ODBC library not found! Use --with-odbc=builtin to use built-in version" >&5
27073 echo "$as_me: error: system ODBC library not found! Use --with-odbc=builtin to use built-in version" >&2;}
27074 { (exit 1); exit 1; }; }
27076 { echo "$as_me:$LINENO: WARNING: system ODBC library not found, will use built-in instead" >&5
27077 echo "$as_me: WARNING: system ODBC library not found, will use built-in instead" >&2;}
27084 if test "$wxUSE_ODBC" != "no" ; then
27085 cat >>confdefs.h
<<\_ACEOF
27086 #define wxUSE_ODBC 1
27089 if test "$wxUSE_ODBC" = "builtin" ; then
27090 cat >>confdefs.h
<<\_ACEOF
27091 #define wxUSE_BUILTIN_IODBC 1
27095 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS db"
27097 WXODBCFLAG
="-D_IODBC_"
27101 if test "$wxUSE_REGEX" = "builtin" ; then
27102 ALL_OBJECTS
="${ALL_OBJECTS} \$(REGEXOBJS)"
27104 if test "$wxUSE_ZLIB" = "builtin" ; then
27105 ALL_OBJECTS
="${ALL_OBJECTS} \$(ZLIBOBJS)"
27108 if test "$wxUSE_DISPLAY" = "yes"; then
27109 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_MAC" != 1; then
27110 echo "$as_me:$LINENO: checking for Xinerama" >&5
27111 echo $ECHO_N "checking for Xinerama... $ECHO_C" >&6
27114 for ac_dir
in $SEARCH_LIB /usr
/lib
;
27116 for ac_extension
in a so sl dylib
; do
27117 if test -f "$ac_dir/libXinerama.$ac_extension"; then
27118 ac_find_libraries
=$ac_dir
27124 if test "$ac_find_libraries" != "" ; then
27126 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev
/null
27128 if test $result = 0; then
27131 ac_path_to_link
=" -L$ac_find_libraries"
27134 if test "$ac_path_to_link" != " -L/usr/lib" ; then
27135 LDFLAGS
="$LDFLAGS $ac_path_to_link"
27137 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lXinerama"
27138 echo "$as_me:$LINENO: result: yes" >&5
27139 echo "${ECHO_T}yes" >&6
27141 echo "$as_me:$LINENO: checking for Xxf86vm extension" >&5
27142 echo $ECHO_N "checking for Xxf86vm extension... $ECHO_C" >&6
27145 for ac_dir
in $SEARCH_LIB /usr
/lib
;
27147 for ac_extension
in a so sl dylib
; do
27148 if test -f "$ac_dir/libXxf86vm.$ac_extension"; then
27149 ac_find_libraries
=$ac_dir
27155 if test "$ac_find_libraries" != "" ; then
27156 echo "$as_me:$LINENO: result: yes" >&5
27157 echo "${ECHO_T}yes" >&6
27159 for ac_header
in X
11/extensions
/xf86vmode.h
27161 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
27162 echo "$as_me:$LINENO: checking for $ac_header" >&5
27163 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
27164 if eval "test \"\${$as_ac_Header+set}\" = set"; then
27165 echo $ECHO_N "(cached) $ECHO_C" >&6
27167 cat >conftest.
$ac_ext <<_ACEOF
27170 cat confdefs.h
>>conftest.
$ac_ext
27171 cat >>conftest.
$ac_ext <<_ACEOF
27172 /* end confdefs.h. */
27174 #if HAVE_X11_XLIB_H
27175 #include <X11/Xlib.h>
27179 #include <$ac_header>
27181 rm -f conftest.
$ac_objext
27182 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27183 (eval $ac_compile) 2>conftest.er1
27185 grep -v '^ *+' conftest.er1
>conftest.err
27187 cat conftest.err
>&5
27188 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27189 (exit $ac_status); } &&
27190 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
27191 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27192 (eval $ac_try) 2>&5
27194 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27195 (exit $ac_status); }; } &&
27196 { ac_try
='test -s conftest.$ac_objext'
27197 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27198 (eval $ac_try) 2>&5
27200 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27201 (exit $ac_status); }; }; then
27202 eval "$as_ac_Header=yes"
27204 echo "$as_me: failed program was:" >&5
27205 sed 's/^/| /' conftest.
$ac_ext >&5
27207 eval "$as_ac_Header=no"
27209 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
27211 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
27212 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
27213 if test `eval echo '${'$as_ac_Header'}'` = yes; then
27214 cat >>confdefs.h
<<_ACEOF
27215 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
27218 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lXxf86vm"
27225 echo "$as_me:$LINENO: result: no" >&5
27226 echo "${ECHO_T}no" >&6
27230 echo "$as_me:$LINENO: result: no" >&5
27231 echo "${ECHO_T}no" >&6
27232 { echo "$as_me:$LINENO: WARNING: \"*** Xinerama not found; disabling wxDisplay\"" >&5
27233 echo "$as_me: WARNING: \"*** Xinerama not found; disabling wxDisplay\"" >&2;}
27241 if test "$wxUSE_OPENGL" = "yes"; then
27242 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = "1"; then
27243 OPENGL_LIBS
="-framework OpenGL -framework AGL"
27244 elif test "$wxUSE_MSW" = 1; then
27245 OPENGL_LIBS
="-lopengl32 -lglu32"
27250 for ac_dir
in $SEARCH_INCLUDE /usr
/include
;
27252 if test -f "$ac_dir/GL/gl.h"; then
27253 ac_find_includes
=$ac_dir
27258 if test "$ac_find_includes" != "" ; then
27259 echo "$as_me:$LINENO: result: found in $ac_find_includes" >&5
27260 echo "${ECHO_T}found in $ac_find_includes" >&6
27262 if test "x$ac_find_includes" = "x/usr/include"; then
27263 ac_path_to_include
=""
27265 echo "$CPPFLAGS" | grep "\-I$ac_find_includes" > /dev
/null
27267 if test $result = 0; then
27268 ac_path_to_include
=""
27270 ac_path_to_include
=" -I$ac_find_includes"
27274 CPPFLAGS
="$CPPFLAGS$ac_path_to_include"
27277 if test "${ac_cv_header_GL_gl_h+set}" = set; then
27278 echo "$as_me:$LINENO: checking for GL/gl.h" >&5
27279 echo $ECHO_N "checking for GL/gl.h... $ECHO_C" >&6
27280 if test "${ac_cv_header_GL_gl_h+set}" = set; then
27281 echo $ECHO_N "(cached) $ECHO_C" >&6
27283 echo "$as_me:$LINENO: result: $ac_cv_header_GL_gl_h" >&5
27284 echo "${ECHO_T}$ac_cv_header_GL_gl_h" >&6
27286 # Is the header compilable?
27287 echo "$as_me:$LINENO: checking GL/gl.h usability" >&5
27288 echo $ECHO_N "checking GL/gl.h usability... $ECHO_C" >&6
27289 cat >conftest.
$ac_ext <<_ACEOF
27292 cat confdefs.h
>>conftest.
$ac_ext
27293 cat >>conftest.
$ac_ext <<_ACEOF
27294 /* end confdefs.h. */
27295 $ac_includes_default
27298 rm -f conftest.
$ac_objext
27299 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27300 (eval $ac_compile) 2>conftest.er1
27302 grep -v '^ *+' conftest.er1
>conftest.err
27304 cat conftest.err
>&5
27305 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27306 (exit $ac_status); } &&
27307 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
27308 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27309 (eval $ac_try) 2>&5
27311 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27312 (exit $ac_status); }; } &&
27313 { ac_try
='test -s conftest.$ac_objext'
27314 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27315 (eval $ac_try) 2>&5
27317 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27318 (exit $ac_status); }; }; then
27319 ac_header_compiler
=yes
27321 echo "$as_me: failed program was:" >&5
27322 sed 's/^/| /' conftest.
$ac_ext >&5
27324 ac_header_compiler
=no
27326 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
27327 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
27328 echo "${ECHO_T}$ac_header_compiler" >&6
27330 # Is the header present?
27331 echo "$as_me:$LINENO: checking GL/gl.h presence" >&5
27332 echo $ECHO_N "checking GL/gl.h presence... $ECHO_C" >&6
27333 cat >conftest.
$ac_ext <<_ACEOF
27336 cat confdefs.h
>>conftest.
$ac_ext
27337 cat >>conftest.
$ac_ext <<_ACEOF
27338 /* end confdefs.h. */
27341 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
27342 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
27344 grep -v '^ *+' conftest.er1
>conftest.err
27346 cat conftest.err
>&5
27347 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27348 (exit $ac_status); } >/dev
/null
; then
27349 if test -s conftest.err
; then
27350 ac_cpp_err
=$ac_c_preproc_warn_flag
27351 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
27358 if test -z "$ac_cpp_err"; then
27359 ac_header_preproc
=yes
27361 echo "$as_me: failed program was:" >&5
27362 sed 's/^/| /' conftest.
$ac_ext >&5
27364 ac_header_preproc
=no
27366 rm -f conftest.err conftest.
$ac_ext
27367 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
27368 echo "${ECHO_T}$ac_header_preproc" >&6
27370 # So? What about this header?
27371 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
27373 { echo "$as_me:$LINENO: WARNING: GL/gl.h: accepted by the compiler, rejected by the preprocessor!" >&5
27374 echo "$as_me: WARNING: GL/gl.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
27375 { echo "$as_me:$LINENO: WARNING: GL/gl.h: proceeding with the compiler's result" >&5
27376 echo "$as_me: WARNING: GL/gl.h: proceeding with the compiler's result" >&2;}
27377 ac_header_preproc
=yes
27380 { echo "$as_me:$LINENO: WARNING: GL/gl.h: present but cannot be compiled" >&5
27381 echo "$as_me: WARNING: GL/gl.h: present but cannot be compiled" >&2;}
27382 { echo "$as_me:$LINENO: WARNING: GL/gl.h: check for missing prerequisite headers?" >&5
27383 echo "$as_me: WARNING: GL/gl.h: check for missing prerequisite headers?" >&2;}
27384 { echo "$as_me:$LINENO: WARNING: GL/gl.h: see the Autoconf documentation" >&5
27385 echo "$as_me: WARNING: GL/gl.h: see the Autoconf documentation" >&2;}
27386 { echo "$as_me:$LINENO: WARNING: GL/gl.h: section \"Present But Cannot Be Compiled\"" >&5
27387 echo "$as_me: WARNING: GL/gl.h: section \"Present But Cannot Be Compiled\"" >&2;}
27388 { echo "$as_me:$LINENO: WARNING: GL/gl.h: proceeding with the preprocessor's result" >&5
27389 echo "$as_me: WARNING: GL/gl.h: proceeding with the preprocessor's result" >&2;}
27390 { echo "$as_me:$LINENO: WARNING: GL/gl.h: in the future, the compiler will take precedence" >&5
27391 echo "$as_me: WARNING: GL/gl.h: in the future, the compiler will take precedence" >&2;}
27394 ## ----------------------------------------- ##
27395 ## Report this to wx-dev@lists.wxwindows.org ##
27396 ## ----------------------------------------- ##
27399 sed "s/^/$as_me: WARNING: /" >&2
27402 echo "$as_me:$LINENO: checking for GL/gl.h" >&5
27403 echo $ECHO_N "checking for GL/gl.h... $ECHO_C" >&6
27404 if test "${ac_cv_header_GL_gl_h+set}" = set; then
27405 echo $ECHO_N "(cached) $ECHO_C" >&6
27407 ac_cv_header_GL_gl_h
=$ac_header_preproc
27409 echo "$as_me:$LINENO: result: $ac_cv_header_GL_gl_h" >&5
27410 echo "${ECHO_T}$ac_cv_header_GL_gl_h" >&6
27413 if test $ac_cv_header_GL_gl_h = yes; then
27417 echo "$as_me:$LINENO: checking for -lGL" >&5
27418 echo $ECHO_N "checking for -lGL... $ECHO_C" >&6
27421 for ac_dir
in $SEARCH_LIB /usr
/lib
;
27423 for ac_extension
in a so sl dylib
; do
27424 if test -f "$ac_dir/libGL.$ac_extension"; then
27425 ac_find_libraries
=$ac_dir
27431 if test "$ac_find_libraries" != "" ; then
27433 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev
/null
27435 if test $result = 0; then
27438 ac_path_to_link
=" -L$ac_find_libraries"
27441 if test "$ac_path_to_link" != " -L/usr/lib" ; then
27442 LDFLAGS_GL
="$ac_path_to_link"
27447 for ac_dir
in $SEARCH_LIB /usr
/lib
;
27449 for ac_extension
in a so sl dylib
; do
27450 if test -f "$ac_dir/libGLU.$ac_extension"; then
27451 ac_find_libraries
=$ac_dir
27457 if test "$ac_find_libraries" != "" ; then
27459 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev
/null
27461 if test $result = 0; then
27464 ac_path_to_link
=" -L$ac_find_libraries"
27467 if test "$ac_path_to_link" != " -L/usr/lib" -a \
27468 "$ac_path_to_link" != "$LDFLAGS_GL"; then
27469 LDFLAGS_GL
="$LDFLAGS_GL$ac_path_to_link"
27473 OPENGL_LIBS
="-lGL -lGLU"
27474 echo "$as_me:$LINENO: result: yes" >&5
27475 echo "${ECHO_T}yes" >&6
27479 if test "$found_gl" != 1; then
27480 echo "$as_me:$LINENO: result: no" >&5
27481 echo "${ECHO_T}no" >&6
27482 echo "$as_me:$LINENO: checking for -lMesaGL" >&5
27483 echo $ECHO_N "checking for -lMesaGL... $ECHO_C" >&6
27486 for ac_dir
in $SEARCH_LIB /usr
/lib
;
27488 for ac_extension
in a so sl dylib
; do
27489 if test -f "$ac_dir/libMesaGL.$ac_extension"; then
27490 ac_find_libraries
=$ac_dir
27496 if test "$ac_find_libraries" != "" ; then
27498 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev
/null
27500 if test $result = 0; then
27503 ac_path_to_link
=" -L$ac_find_libraries"
27506 LDFLAGS_GL
="$LDFLAGS$ac_path_to_link"
27507 OPENGL_LIBS
="-lMesaGL -lMesaGLU"
27508 echo "$as_me:$LINENO: result: yes" >&5
27509 echo "${ECHO_T}yes" >&6
27511 echo "$as_me:$LINENO: result: no" >&5
27512 echo "${ECHO_T}no" >&6
27520 if test "x$OPENGL_LIBS" = "x"; then
27521 { { echo "$as_me:$LINENO: error: OpenGL libraries not available" >&5
27522 echo "$as_me: error: OpenGL libraries not available" >&2;}
27523 { (exit 1); exit 1; }; }
27527 if test "$wxUSE_OPENGL" = "yes"; then
27529 cat >>confdefs.h
<<\_ACEOF
27530 #define wxUSE_OPENGL 1
27533 cat >>confdefs.h
<<\_ACEOF
27534 #define wxUSE_GLCANVAS 1
27537 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS opengl opengl/cube opengl/penguin opengl/isosurf"
27541 if test -z "$TOOLKIT_VPATH" ; then
27542 TOOLKIT_VPATH
="\${top_srcdir}/src/${TOOLKIT_DIR}"
27545 if test -n "$TOOLKIT" ; then
27546 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -D__WX${TOOLKIT}__"
27550 lib_unicode_suffix
=
27551 if test "$wxUSE_UNICODE" = "yes"; then
27552 lib_unicode_suffix
=u
27558 if test "$wxUSE_DEBUG_FLAG" = "yes"; then
27564 if test "$wxUSE_DEBUG_INFO" = "yes"; then
27568 WX_VERSION_TAG
=`echo WX${lib_unicode_suffix}${lib_debug_suffix}_${WX_RELEASE} | tr "[a-z]" "[A-Z]"`
27570 TOOLCHAIN_NAME
="${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}-${WX_RELEASE}"
27571 TOOLCHAIN_NAME_GL
="${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}_gl-${WX_RELEASE}"
27573 if test "$cross_compiling" = "yes"; then
27574 TOOLCHAIN_NAME
="${TOOLCHAIN_NAME}-${host_alias}"
27575 TOOLCHAIN_NAME_GL
="${TOOLCHAIN_NAME_GL}-${host_alias}"
27576 HOST_SUFFIX
="-${host_alias}"
27579 WX_LIBRARY
="wx_${TOOLCHAIN_NAME}"
27580 WX_LIBRARY_GL
="wx_${TOOLCHAIN_NAME_GL}"
27581 WX_LIBRARY_BASENAME_NOGUI
="wx_base${WXBASEPORT}${lib_unicode_suffix}${lib_debug_suffix}"
27582 WX_LIBRARY_BASENAME_GUI
="wx_${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}"
27584 WX_LIBRARY_NAME_SHARED
="lib${WX_LIBRARY}.${SO_SUFFIX}.${WX_CURRENT}.${WX_REVISION}.${WX_AGE}"
27585 WX_LIBRARY_NAME_SHARED_GL
="lib${WX_LIBRARY_GL}.${SO_SUFFIX}.${WX_CURRENT}.${WX_REVISION}.${WX_AGE}"
27587 WX_LIBRARY_LINK1
="lib${WX_LIBRARY}.${SO_SUFFIX}.${WX_CURRENT}"
27588 WX_LIBRARY_LINK2
="lib${WX_LIBRARY}.${SO_SUFFIX}"
27589 WX_LIBRARY_LINK1_GL
="lib${WX_LIBRARY_GL}.${SO_SUFFIX}.${WX_CURRENT}"
27590 WX_LIBRARY_LINK2_GL
="lib${WX_LIBRARY_GL}.${SO_SUFFIX}"
27593 *-*-cygwin* | *-*-mingw32* )
27594 WX_LIBRARY_NAME_SHARED
="lib${WX_LIBRARY}.${SO_SUFFIX}"
27595 WX_LIBRARY_NAME_SHARED_GL
="lib${WX_LIBRARY_GL}.${SO_SUFFIX}"
27600 WX_LIBRARY_NAME_SHARED
="lib${WX_LIBRARY}.${WX_CURRENT}.${WX_REVISION}.${WX_AGE}.${SO_SUFFIX}"
27601 WX_LIBRARY_NAME_SHARED_GL
="lib${WX_LIBRARY_GL}.${WX_CURRENT}.${WX_REVISION}.${WX_AGE}.${SO_SUFFIX}"
27603 WX_LIBRARY_LINK1
="lib${WX_LIBRARY}.${WX_CURRENT}.${SO_SUFFIX}"
27604 WX_LIBRARY_LINK2
="lib${WX_LIBRARY}.${SO_SUFFIX}"
27605 WX_LIBRARY_LINK1_GL
="lib${WX_LIBRARY_GL}.${WX_CURRENT}.${SO_SUFFIX}"
27606 WX_LIBRARY_LINK2_GL
="lib${WX_LIBRARY_GL}.${SO_SUFFIX}"
27608 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = "1"; then
27609 WX_RESOURCES_MACOSX_ASCII
="lib${WX_LIBRARY}.${WX_CURRENT}.r"
27610 WX_RESOURCES_MACOSX_DATA
="lib${WX_LIBRARY}.${WX_CURRENT}.rsrc"
27615 WX_LIBRARY_NAME_STATIC
="lib${WX_LIBRARY}.a"
27616 WX_LIBRARY_NAME_STATIC_GL
="lib${WX_LIBRARY_GL}.a"
27618 WXCONFIG_LIBS
="-l${WX_LIBRARY}"
27619 WXCONFIG_LIBS_STATIC
="lib${WX_LIBRARY}.a"
27621 if test "$wxUSE_OPENGL" = "yes"; then
27622 WXCONFIG_LIBS_GL
="-l${WX_LIBRARY_GL} ${OPENGL_LIBS}"
27623 WXCONFIG_LIBS_STATIC_GL
="lib${WX_LIBRARY_GL}.a ${OPENGL_LIBS}"
27628 if test "$wxUSE_SHARED" = "yes"; then
27630 *-pc-os2_emx | *-pc-os2-emx | \
27633 { echo "$as_me:$LINENO: WARNING: Host system doesn't support shared libraries, disabling" >&5
27634 echo "$as_me: WARNING: Host system doesn't support shared libraries, disabling" >&2;}
27640 if test "$wxUSE_SHARED" = "yes"; then
27644 found_versioning
=no
27647 if test $found_versioning = no
; then
27648 echo "$as_me:$LINENO: checking if the linker accepts --version-script" >&5
27649 echo $ECHO_N "checking if the linker accepts --version-script... $ECHO_C" >&6
27650 if test "${wx_cv_version_script+set}" = set; then
27651 echo $ECHO_N "(cached) $ECHO_C" >&6
27654 echo "VER_1 { *; };" >conftest.sym
27655 echo "int main() { return 0; }" >conftest.cpp
27658 $CXX -o conftest.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
27659 -Wl,--version-script,conftest.sym >/dev/null 2>conftest.stderr'
27660 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27661 (eval $ac_try) 2>&5
27663 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27664 (exit $ac_status); }; } ; then
27665 if test -s conftest.stderr
; then
27666 wx_cv_version_script
=no
27668 wx_cv_version_script
=yes
27671 wx_cv_version_script
=no
27673 rm -f conftest.output conftest.stderr conftest.sym conftest.cpp
27676 echo "$as_me:$LINENO: result: $wx_cv_version_script" >&5
27677 echo "${ECHO_T}$wx_cv_version_script" >&6
27678 if test $wx_cv_version_script = yes ; then
27679 LDFLAGS_VERSIONING
="-Wl,--version-script,\$(top_builddir)version-script"
27685 *-*-linux* | *-*-gnu* )
27686 SAMPLES_RPATH_FLAG
="-Wl,-rpath,\$(top_builddir)lib"
27690 if test "$GCC" = yes ; then
27691 CPPFLAGS
="$CPPFLAGS -isystem /usr/openwin/include"
27693 saveLdflags
="$LDFLAGS"
27694 LDFLAGS
="$saveLdflags -Wl,-rpath,/"
27695 echo "$as_me:$LINENO: checking if the linker accepts -rpath" >&5
27696 echo $ECHO_N "checking if the linker accepts -rpath... $ECHO_C" >&6
27697 cat >conftest.
$ac_ext <<_ACEOF
27700 cat confdefs.h
>>conftest.
$ac_ext
27701 cat >>conftest.
$ac_ext <<_ACEOF
27702 /* end confdefs.h. */
27712 rm -f conftest.
$ac_objext conftest
$ac_exeext
27713 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27714 (eval $ac_link) 2>conftest.er1
27716 grep -v '^ *+' conftest.er1
>conftest.err
27718 cat conftest.err
>&5
27719 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27720 (exit $ac_status); } &&
27721 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
27722 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27723 (eval $ac_try) 2>&5
27725 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27726 (exit $ac_status); }; } &&
27727 { ac_try
='test -s conftest$ac_exeext'
27728 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27729 (eval $ac_try) 2>&5
27731 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27732 (exit $ac_status); }; }; then
27734 echo "$as_me:$LINENO: result: yes" >&5
27735 echo "${ECHO_T}yes" >&6
27736 SAMPLES_RPATH_FLAG
="-Wl,-rpath,\$(top_builddir)lib"
27739 echo "$as_me: failed program was:" >&5
27740 sed 's/^/| /' conftest.
$ac_ext >&5
27743 echo "$as_me:$LINENO: result: no" >&5
27744 echo "${ECHO_T}no" >&6
27745 echo "$as_me:$LINENO: checking if the linker accepts -R" >&5
27746 echo $ECHO_N "checking if the linker accepts -R... $ECHO_C" >&6
27747 LDFLAGS
="$saveLdflags -Wl,-R,/"
27748 cat >conftest.
$ac_ext <<_ACEOF
27751 cat confdefs.h
>>conftest.
$ac_ext
27752 cat >>conftest.
$ac_ext <<_ACEOF
27753 /* end confdefs.h. */
27763 rm -f conftest.
$ac_objext conftest
$ac_exeext
27764 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27765 (eval $ac_link) 2>conftest.er1
27767 grep -v '^ *+' conftest.er1
>conftest.err
27769 cat conftest.err
>&5
27770 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27771 (exit $ac_status); } &&
27772 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
27773 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27774 (eval $ac_try) 2>&5
27776 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27777 (exit $ac_status); }; } &&
27778 { ac_try
='test -s conftest$ac_exeext'
27779 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27780 (eval $ac_try) 2>&5
27782 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27783 (exit $ac_status); }; }; then
27785 echo "$as_me:$LINENO: result: yes" >&5
27786 echo "${ECHO_T}yes" >&6
27787 SAMPLES_RPATH_FLAG
="-Wl,-R,\$(top_builddir)lib"
27789 echo "$as_me: failed program was:" >&5
27790 sed 's/^/| /' conftest.
$ac_ext >&5
27793 echo "$as_me:$LINENO: result: no" >&5
27794 echo "${ECHO_T}no" >&6
27797 rm -f conftest.err conftest.
$ac_objext \
27798 conftest
$ac_exeext conftest.
$ac_ext
27801 rm -f conftest.err conftest.
$ac_objext \
27802 conftest
$ac_exeext conftest.
$ac_ext
27803 LDFLAGS
="$saveLdflags"
27805 SHARED_LD
="${CXX} -G -o"
27807 SAMPLES_RPATH_FLAG
="-R\$(top_builddir)lib"
27811 powerpc
-*-darwin* )
27812 SAMPLES_RPATH_POSTLINK
="\$(top_builddir)change-install-names \$(LIBDIRNAME) \$(prefix) \$@"
27813 cat <<EOF >change-install-names
27815 libnames=\`cd \${1} ; ls -1 | grep '\.[0-9][0-9]*\.dylib\$'\`
27816 inst_cmd="install_name_tool "
27817 for i in \${libnames} ; do
27818 inst_cmd="\${inst_cmd} -change \${2}/lib/\${i} \${1}/\${i}"
27822 chmod +x change
-install-names
27827 if test "x$WX_TARGET_LIBRARY" = "x"; then
27828 WX_TARGET_LIBRARY
="${WX_LIBRARY_NAME_SHARED}"
27829 WX_TARGET_LIBRARY_GL
="${WX_LIBRARY_NAME_SHARED_GL}"
27832 WX_TARGET_LIBRARY_TYPE
="so"
27833 INSTALL_LIBRARY
='$(INSTALL_PROGRAM)'
27836 if test "$wxUSE_SHARED" = "no"; then
27838 if test "$wxUSE_GUI" = "no" -o "$USE_WIN32" = 1 ; then
27839 WX_ALL_INSTALLED
="${WX_ALL_INSTALLED} preinstall"
27842 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1 ; then
27843 WX_ALL_INSTALLED
="${WX_ALL_INSTALLED} preinstall"
27846 if test "$wxUSE_OPENGL" = "yes"; then
27847 WX_ALL_INSTALLED
="${WX_ALL_INSTALLED} preinstall_gl"
27848 WX_ALL
="\$(build_libdir)/${WX_LIBRARY_NAME_STATIC} \$(build_libdir)/${WX_LIBRARY_NAME_STATIC_GL}"
27850 WX_ALL
="\$(build_libdir)/${WX_LIBRARY_NAME_STATIC}"
27853 WX_TARGET_LIBRARY
="${WX_LIBRARY_NAME_STATIC}"
27854 WX_TARGET_LIBRARY_GL
="${WX_LIBRARY_NAME_STATIC_GL}"
27856 WX_TARGET_LIBRARY_TYPE
="a"
27857 INSTALL_LIBRARY
='$(INSTALL_DATA)'
27864 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1; then
27865 LIBWXMACRES
="\$(top_builddir)lib/${WX_RESOURCES_MACOSX_ASCII}"
27866 WX_ALL
="${WX_ALL} ${LIBWXMACRES}"
27867 WX_ALL_INSTALLED
="${WX_ALL_INSTALLED} preinstall_res"
27869 # Extract the first word of "Rez", so it can be a program name with args.
27870 set dummy Rez
; ac_word
=$2
27871 echo "$as_me:$LINENO: checking for $ac_word" >&5
27872 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
27873 if test "${ac_cv_prog_RESCOMP+set}" = set; then
27874 echo $ECHO_N "(cached) $ECHO_C" >&6
27876 if test -n "$RESCOMP"; then
27877 ac_cv_prog_RESCOMP
="$RESCOMP" # Let the user override the test.
27879 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
27880 for as_dir
in $PATH
27883 test -z "$as_dir" && as_dir
=.
27884 for ac_exec_ext
in '' $ac_executable_extensions; do
27885 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
27886 ac_cv_prog_RESCOMP
="Rez"
27887 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
27893 test -z "$ac_cv_prog_RESCOMP" && ac_cv_prog_RESCOMP
="/Developer/Tools/Rez"
27896 RESCOMP
=$ac_cv_prog_RESCOMP
27897 if test -n "$RESCOMP"; then
27898 echo "$as_me:$LINENO: result: $RESCOMP" >&5
27899 echo "${ECHO_T}$RESCOMP" >&6
27901 echo "$as_me:$LINENO: result: no" >&5
27902 echo "${ECHO_T}no" >&6
27905 # Extract the first word of "DeRez", so it can be a program name with args.
27906 set dummy DeRez
; ac_word
=$2
27907 echo "$as_me:$LINENO: checking for $ac_word" >&5
27908 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
27909 if test "${ac_cv_prog_DEREZ+set}" = set; then
27910 echo $ECHO_N "(cached) $ECHO_C" >&6
27912 if test -n "$DEREZ"; then
27913 ac_cv_prog_DEREZ
="$DEREZ" # Let the user override the test.
27915 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
27916 for as_dir
in $PATH
27919 test -z "$as_dir" && as_dir
=.
27920 for ac_exec_ext
in '' $ac_executable_extensions; do
27921 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
27922 ac_cv_prog_DEREZ
="DeRez"
27923 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
27929 test -z "$ac_cv_prog_DEREZ" && ac_cv_prog_DEREZ
="/Developer/Tools/DeRez"
27932 DEREZ
=$ac_cv_prog_DEREZ
27933 if test -n "$DEREZ"; then
27934 echo "$as_me:$LINENO: result: $DEREZ" >&5
27935 echo "${ECHO_T}$DEREZ" >&6
27937 echo "$as_me:$LINENO: result: no" >&5
27938 echo "${ECHO_T}no" >&6
27941 # Extract the first word of "SetFile", so it can be a program name with args.
27942 set dummy SetFile
; ac_word
=$2
27943 echo "$as_me:$LINENO: checking for $ac_word" >&5
27944 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
27945 if test "${ac_cv_prog_SETFILE+set}" = set; then
27946 echo $ECHO_N "(cached) $ECHO_C" >&6
27948 if test -n "$SETFILE"; then
27949 ac_cv_prog_SETFILE
="$SETFILE" # Let the user override the test.
27951 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
27952 for as_dir
in $PATH
27955 test -z "$as_dir" && as_dir
=.
27956 for ac_exec_ext
in '' $ac_executable_extensions; do
27957 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
27958 ac_cv_prog_SETFILE
="SetFile"
27959 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
27965 test -z "$ac_cv_prog_SETFILE" && ac_cv_prog_SETFILE
="/Developer/Tools/SetFile"
27968 SETFILE
=$ac_cv_prog_SETFILE
27969 if test -n "$SETFILE"; then
27970 echo "$as_me:$LINENO: result: $SETFILE" >&5
27971 echo "${ECHO_T}$SETFILE" >&6
27973 echo "$as_me:$LINENO: result: no" >&5
27974 echo "${ECHO_T}no" >&6
27978 MACSETFILE
="\$(SETFILE)"
27980 if test "$wxUSE_MAC" = 1; then
27981 MACRESCOMP
="\$(RESCOMP) -d __DARWIN__ -t APPL Carbon.r ${LIBWXMACRES} -o"
27983 MACRESWXCONFIG
="${RESCOMP} -d __DARWIN__ -t APPL Carbon.r \\\${exec_prefix}/lib/${WX_RESOURCES_MACOSX_ASCII} -o"
27985 MACRESCOMP
="echo -n | \$(RESCOMP) -d __DARWIN__ -t APPL ${LIBWXMACRES} -o"
27986 MACRESWXCONFIG
="echo -n \\\| ${RESCOMP} -d __DARWIN__ -t APPL \\\${exec_prefix}/lib/${WX_RESOURCES_MACOSX_ASCII} -o"
27992 if test "$wxUSE_PM" = 1; then
27993 MACRESCOMP
="emxbind -ep"
28001 echo "$as_me:$LINENO: checking for mode_t" >&5
28002 echo $ECHO_N "checking for mode_t... $ECHO_C" >&6
28003 if test "${ac_cv_type_mode_t+set}" = set; then
28004 echo $ECHO_N "(cached) $ECHO_C" >&6
28006 cat >conftest.
$ac_ext <<_ACEOF
28009 cat confdefs.h
>>conftest.
$ac_ext
28010 cat >>conftest.
$ac_ext <<_ACEOF
28011 /* end confdefs.h. */
28012 $ac_includes_default
28018 if (sizeof (mode_t))
28024 rm -f conftest.
$ac_objext
28025 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28026 (eval $ac_compile) 2>conftest.er1
28028 grep -v '^ *+' conftest.er1
>conftest.err
28030 cat conftest.err
>&5
28031 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28032 (exit $ac_status); } &&
28033 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
28034 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28035 (eval $ac_try) 2>&5
28037 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28038 (exit $ac_status); }; } &&
28039 { ac_try
='test -s conftest.$ac_objext'
28040 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28041 (eval $ac_try) 2>&5
28043 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28044 (exit $ac_status); }; }; then
28045 ac_cv_type_mode_t
=yes
28047 echo "$as_me: failed program was:" >&5
28048 sed 's/^/| /' conftest.
$ac_ext >&5
28050 ac_cv_type_mode_t
=no
28052 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
28054 echo "$as_me:$LINENO: result: $ac_cv_type_mode_t" >&5
28055 echo "${ECHO_T}$ac_cv_type_mode_t" >&6
28056 if test $ac_cv_type_mode_t = yes; then
28060 cat >>confdefs.h
<<_ACEOF
28066 echo "$as_me:$LINENO: checking for off_t" >&5
28067 echo $ECHO_N "checking for off_t... $ECHO_C" >&6
28068 if test "${ac_cv_type_off_t+set}" = set; then
28069 echo $ECHO_N "(cached) $ECHO_C" >&6
28071 cat >conftest.
$ac_ext <<_ACEOF
28074 cat confdefs.h
>>conftest.
$ac_ext
28075 cat >>conftest.
$ac_ext <<_ACEOF
28076 /* end confdefs.h. */
28077 $ac_includes_default
28083 if (sizeof (off_t))
28089 rm -f conftest.
$ac_objext
28090 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28091 (eval $ac_compile) 2>conftest.er1
28093 grep -v '^ *+' conftest.er1
>conftest.err
28095 cat conftest.err
>&5
28096 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28097 (exit $ac_status); } &&
28098 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
28099 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28100 (eval $ac_try) 2>&5
28102 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28103 (exit $ac_status); }; } &&
28104 { ac_try
='test -s conftest.$ac_objext'
28105 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28106 (eval $ac_try) 2>&5
28108 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28109 (exit $ac_status); }; }; then
28110 ac_cv_type_off_t
=yes
28112 echo "$as_me: failed program was:" >&5
28113 sed 's/^/| /' conftest.
$ac_ext >&5
28115 ac_cv_type_off_t
=no
28117 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
28119 echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
28120 echo "${ECHO_T}$ac_cv_type_off_t" >&6
28121 if test $ac_cv_type_off_t = yes; then
28125 cat >>confdefs.h
<<_ACEOF
28131 echo "$as_me:$LINENO: checking for pid_t" >&5
28132 echo $ECHO_N "checking for pid_t... $ECHO_C" >&6
28133 if test "${ac_cv_type_pid_t+set}" = set; then
28134 echo $ECHO_N "(cached) $ECHO_C" >&6
28136 cat >conftest.
$ac_ext <<_ACEOF
28139 cat confdefs.h
>>conftest.
$ac_ext
28140 cat >>conftest.
$ac_ext <<_ACEOF
28141 /* end confdefs.h. */
28142 $ac_includes_default
28148 if (sizeof (pid_t))
28154 rm -f conftest.
$ac_objext
28155 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28156 (eval $ac_compile) 2>conftest.er1
28158 grep -v '^ *+' conftest.er1
>conftest.err
28160 cat conftest.err
>&5
28161 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28162 (exit $ac_status); } &&
28163 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
28164 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28165 (eval $ac_try) 2>&5
28167 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28168 (exit $ac_status); }; } &&
28169 { ac_try
='test -s conftest.$ac_objext'
28170 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28171 (eval $ac_try) 2>&5
28173 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28174 (exit $ac_status); }; }; then
28175 ac_cv_type_pid_t
=yes
28177 echo "$as_me: failed program was:" >&5
28178 sed 's/^/| /' conftest.
$ac_ext >&5
28180 ac_cv_type_pid_t
=no
28182 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
28184 echo "$as_me:$LINENO: result: $ac_cv_type_pid_t" >&5
28185 echo "${ECHO_T}$ac_cv_type_pid_t" >&6
28186 if test $ac_cv_type_pid_t = yes; then
28190 cat >>confdefs.h
<<_ACEOF
28196 echo "$as_me:$LINENO: checking for size_t" >&5
28197 echo $ECHO_N "checking for size_t... $ECHO_C" >&6
28198 if test "${ac_cv_type_size_t+set}" = set; then
28199 echo $ECHO_N "(cached) $ECHO_C" >&6
28201 cat >conftest.
$ac_ext <<_ACEOF
28204 cat confdefs.h
>>conftest.
$ac_ext
28205 cat >>conftest.
$ac_ext <<_ACEOF
28206 /* end confdefs.h. */
28207 $ac_includes_default
28213 if (sizeof (size_t))
28219 rm -f conftest.
$ac_objext
28220 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28221 (eval $ac_compile) 2>conftest.er1
28223 grep -v '^ *+' conftest.er1
>conftest.err
28225 cat conftest.err
>&5
28226 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28227 (exit $ac_status); } &&
28228 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
28229 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28230 (eval $ac_try) 2>&5
28232 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28233 (exit $ac_status); }; } &&
28234 { ac_try
='test -s conftest.$ac_objext'
28235 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28236 (eval $ac_try) 2>&5
28238 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28239 (exit $ac_status); }; }; then
28240 ac_cv_type_size_t
=yes
28242 echo "$as_me: failed program was:" >&5
28243 sed 's/^/| /' conftest.
$ac_ext >&5
28245 ac_cv_type_size_t
=no
28247 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
28249 echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
28250 echo "${ECHO_T}$ac_cv_type_size_t" >&6
28251 if test $ac_cv_type_size_t = yes; then
28255 cat >>confdefs.h
<<_ACEOF
28256 #define size_t unsigned
28261 echo "$as_me:$LINENO: checking for uid_t in sys/types.h" >&5
28262 echo $ECHO_N "checking for uid_t in sys/types.h... $ECHO_C" >&6
28263 if test "${ac_cv_type_uid_t+set}" = set; then
28264 echo $ECHO_N "(cached) $ECHO_C" >&6
28266 cat >conftest.
$ac_ext <<_ACEOF
28269 cat confdefs.h
>>conftest.
$ac_ext
28270 cat >>conftest.
$ac_ext <<_ACEOF
28271 /* end confdefs.h. */
28272 #include <sys/types.h>
28275 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
28276 $EGREP "uid_t" >/dev
/null
2>&1; then
28277 ac_cv_type_uid_t
=yes
28279 ac_cv_type_uid_t
=no
28284 echo "$as_me:$LINENO: result: $ac_cv_type_uid_t" >&5
28285 echo "${ECHO_T}$ac_cv_type_uid_t" >&6
28286 if test $ac_cv_type_uid_t = no
; then
28288 cat >>confdefs.h
<<\_ACEOF
28293 cat >>confdefs.h
<<\_ACEOF
28303 ac_cpp
='$CXXCPP $CPPFLAGS'
28304 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28305 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28306 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
28308 echo "$as_me:$LINENO: checking if size_t is unsigned int" >&5
28309 echo $ECHO_N "checking if size_t is unsigned int... $ECHO_C" >&6
28310 if test "${wx_cv_size_t_is_uint+set}" = set; then
28311 echo $ECHO_N "(cached) $ECHO_C" >&6
28314 cat >conftest.
$ac_ext <<_ACEOF
28317 cat confdefs.h
>>conftest.
$ac_ext
28318 cat >>conftest.
$ac_ext <<_ACEOF
28319 /* end confdefs.h. */
28320 #include <stddef.h>
28327 struct Foo { void foo(size_t); void foo(unsigned int); };
28335 rm -f conftest.
$ac_objext
28336 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28337 (eval $ac_compile) 2>conftest.er1
28339 grep -v '^ *+' conftest.er1
>conftest.err
28341 cat conftest.err
>&5
28342 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28343 (exit $ac_status); } &&
28344 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
28345 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28346 (eval $ac_try) 2>&5
28348 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28349 (exit $ac_status); }; } &&
28350 { ac_try
='test -s conftest.$ac_objext'
28351 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28352 (eval $ac_try) 2>&5
28354 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28355 (exit $ac_status); }; }; then
28356 wx_cv_size_t_is_uint
=no
28358 echo "$as_me: failed program was:" >&5
28359 sed 's/^/| /' conftest.
$ac_ext >&5
28361 wx_cv_size_t_is_uint
=yes
28364 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
28368 echo "$as_me:$LINENO: result: $wx_cv_size_t_is_uint" >&5
28369 echo "${ECHO_T}$wx_cv_size_t_is_uint" >&6
28371 if test "$wx_cv_size_t_is_uint" = "yes"; then
28372 cat >>confdefs.h
<<\_ACEOF
28373 #define wxSIZE_T_IS_UINT 1
28377 echo "$as_me:$LINENO: checking if size_t is unsigned long" >&5
28378 echo $ECHO_N "checking if size_t is unsigned long... $ECHO_C" >&6
28379 if test "${wx_cv_size_t_is_ulong+set}" = set; then
28380 echo $ECHO_N "(cached) $ECHO_C" >&6
28382 cat >conftest.
$ac_ext <<_ACEOF
28385 cat confdefs.h
>>conftest.
$ac_ext
28386 cat >>conftest.
$ac_ext <<_ACEOF
28387 /* end confdefs.h. */
28388 #include <stddef.h>
28395 struct Foo { void foo(size_t); void foo(unsigned long); };
28403 rm -f conftest.
$ac_objext
28404 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28405 (eval $ac_compile) 2>conftest.er1
28407 grep -v '^ *+' conftest.er1
>conftest.err
28409 cat conftest.err
>&5
28410 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28411 (exit $ac_status); } &&
28412 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
28413 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28414 (eval $ac_try) 2>&5
28416 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28417 (exit $ac_status); }; } &&
28418 { ac_try
='test -s conftest.$ac_objext'
28419 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28420 (eval $ac_try) 2>&5
28422 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28423 (exit $ac_status); }; }; then
28424 wx_cv_size_t_is_ulong
=no
28426 echo "$as_me: failed program was:" >&5
28427 sed 's/^/| /' conftest.
$ac_ext >&5
28429 wx_cv_size_t_is_ulong
=yes
28432 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
28435 echo "$as_me:$LINENO: result: $wx_cv_size_t_is_ulong" >&5
28436 echo "${ECHO_T}$wx_cv_size_t_is_ulong" >&6
28438 if test "$wx_cv_size_t_is_ulong" = "yes"; then
28439 cat >>confdefs.h
<<\_ACEOF
28440 #define wxSIZE_T_IS_ULONG 1
28447 ac_cpp
='$CPP $CPPFLAGS'
28448 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28449 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28450 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
28454 echo "$as_me:$LINENO: checking for pw_gecos in struct passwd" >&5
28455 echo $ECHO_N "checking for pw_gecos in struct passwd... $ECHO_C" >&6
28456 if test "${wx_cv_struct_pw_gecos+set}" = set; then
28457 echo $ECHO_N "(cached) $ECHO_C" >&6
28460 cat >conftest.
$ac_ext <<_ACEOF
28463 cat confdefs.h
>>conftest.
$ac_ext
28464 cat >>conftest.
$ac_ext <<_ACEOF
28465 /* end confdefs.h. */
28479 rm -f conftest.
$ac_objext
28480 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28481 (eval $ac_compile) 2>conftest.er1
28483 grep -v '^ *+' conftest.er1
>conftest.err
28485 cat conftest.err
>&5
28486 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28487 (exit $ac_status); } &&
28488 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
28489 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28490 (eval $ac_try) 2>&5
28492 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28493 (exit $ac_status); }; } &&
28494 { ac_try
='test -s conftest.$ac_objext'
28495 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28496 (eval $ac_try) 2>&5
28498 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28499 (exit $ac_status); }; }; then
28501 wx_cv_struct_pw_gecos
=yes
28504 echo "$as_me: failed program was:" >&5
28505 sed 's/^/| /' conftest.
$ac_ext >&5
28508 wx_cv_struct_pw_gecos
=no
28512 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
28516 echo "$as_me:$LINENO: result: $wx_cv_struct_pw_gecos" >&5
28517 echo "${ECHO_T}$wx_cv_struct_pw_gecos" >&6
28519 if test "$wx_cv_struct_pw_gecos" = "yes"; then
28520 cat >>confdefs.h
<<\_ACEOF
28521 #define HAVE_PW_GECOS 1
28527 if test "$wx_cv_sizeof_wchar_t" != "0"; then
28528 cat >>confdefs.h
<<\_ACEOF
28529 #define wxUSE_WCHAR_T 1
28536 for ac_func
in wcslen
28538 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28539 echo "$as_me:$LINENO: checking for $ac_func" >&5
28540 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
28541 if eval "test \"\${$as_ac_var+set}\" = set"; then
28542 echo $ECHO_N "(cached) $ECHO_C" >&6
28544 cat >conftest.
$ac_ext <<_ACEOF
28547 cat confdefs.h
>>conftest.
$ac_ext
28548 cat >>conftest.
$ac_ext <<_ACEOF
28549 /* end confdefs.h. */
28550 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
28551 For example, HP-UX 11i <limits.h> declares gettimeofday. */
28552 #define $ac_func innocuous_$ac_func
28554 /* System header to define __stub macros and hopefully few prototypes,
28555 which can conflict with char $ac_func (); below.
28556 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28557 <limits.h> exists even on freestanding compilers. */
28560 # include <limits.h>
28562 # include <assert.h>
28567 /* Override any gcc2 internal prototype to avoid an error. */
28572 /* We use char because int might match the return type of a gcc2
28573 builtin and then its argument prototype would still apply. */
28575 /* The GNU C library defines this for functions which it implements
28576 to always fail with ENOSYS. Some functions are actually named
28577 something starting with __ and the normal name is an alias. */
28578 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
28581 char (*f) () = $ac_func;
28590 return f != $ac_func;
28595 rm -f conftest.
$ac_objext conftest
$ac_exeext
28596 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28597 (eval $ac_link) 2>conftest.er1
28599 grep -v '^ *+' conftest.er1
>conftest.err
28601 cat conftest.err
>&5
28602 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28603 (exit $ac_status); } &&
28604 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
28605 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28606 (eval $ac_try) 2>&5
28608 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28609 (exit $ac_status); }; } &&
28610 { ac_try
='test -s conftest$ac_exeext'
28611 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28612 (eval $ac_try) 2>&5
28614 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28615 (exit $ac_status); }; }; then
28616 eval "$as_ac_var=yes"
28618 echo "$as_me: failed program was:" >&5
28619 sed 's/^/| /' conftest.
$ac_ext >&5
28621 eval "$as_ac_var=no"
28623 rm -f conftest.err conftest.
$ac_objext \
28624 conftest
$ac_exeext conftest.
$ac_ext
28626 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
28627 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
28628 if test `eval echo '${'$as_ac_var'}'` = yes; then
28629 cat >>confdefs.h
<<_ACEOF
28630 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28637 if test "$WCSLEN_FOUND" = 0; then
28638 if test "$TOOLKIT" = "MSW"; then
28639 echo "$as_me:$LINENO: checking for wcslen in -lmsvcrt" >&5
28640 echo $ECHO_N "checking for wcslen in -lmsvcrt... $ECHO_C" >&6
28641 if test "${ac_cv_lib_msvcrt_wcslen+set}" = set; then
28642 echo $ECHO_N "(cached) $ECHO_C" >&6
28644 ac_check_lib_save_LIBS
=$LIBS
28645 LIBS
="-lmsvcrt $LIBS"
28646 cat >conftest.
$ac_ext <<_ACEOF
28649 cat confdefs.h
>>conftest.
$ac_ext
28650 cat >>conftest.
$ac_ext <<_ACEOF
28651 /* end confdefs.h. */
28653 /* Override any gcc2 internal prototype to avoid an error. */
28657 /* We use char because int might match the return type of a gcc2
28658 builtin and then its argument prototype would still apply. */
28668 rm -f conftest.
$ac_objext conftest
$ac_exeext
28669 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28670 (eval $ac_link) 2>conftest.er1
28672 grep -v '^ *+' conftest.er1
>conftest.err
28674 cat conftest.err
>&5
28675 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28676 (exit $ac_status); } &&
28677 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
28678 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28679 (eval $ac_try) 2>&5
28681 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28682 (exit $ac_status); }; } &&
28683 { ac_try
='test -s conftest$ac_exeext'
28684 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28685 (eval $ac_try) 2>&5
28687 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28688 (exit $ac_status); }; }; then
28689 ac_cv_lib_msvcrt_wcslen
=yes
28691 echo "$as_me: failed program was:" >&5
28692 sed 's/^/| /' conftest.
$ac_ext >&5
28694 ac_cv_lib_msvcrt_wcslen
=no
28696 rm -f conftest.err conftest.
$ac_objext \
28697 conftest
$ac_exeext conftest.
$ac_ext
28698 LIBS
=$ac_check_lib_save_LIBS
28700 echo "$as_me:$LINENO: result: $ac_cv_lib_msvcrt_wcslen" >&5
28701 echo "${ECHO_T}$ac_cv_lib_msvcrt_wcslen" >&6
28702 if test $ac_cv_lib_msvcrt_wcslen = yes; then
28707 echo "$as_me:$LINENO: checking for wcslen in -lw" >&5
28708 echo $ECHO_N "checking for wcslen in -lw... $ECHO_C" >&6
28709 if test "${ac_cv_lib_w_wcslen+set}" = set; then
28710 echo $ECHO_N "(cached) $ECHO_C" >&6
28712 ac_check_lib_save_LIBS
=$LIBS
28714 cat >conftest.
$ac_ext <<_ACEOF
28717 cat confdefs.h
>>conftest.
$ac_ext
28718 cat >>conftest.
$ac_ext <<_ACEOF
28719 /* end confdefs.h. */
28721 /* Override any gcc2 internal prototype to avoid an error. */
28725 /* We use char because int might match the return type of a gcc2
28726 builtin and then its argument prototype would still apply. */
28736 rm -f conftest.
$ac_objext conftest
$ac_exeext
28737 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28738 (eval $ac_link) 2>conftest.er1
28740 grep -v '^ *+' conftest.er1
>conftest.err
28742 cat conftest.err
>&5
28743 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28744 (exit $ac_status); } &&
28745 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
28746 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28747 (eval $ac_try) 2>&5
28749 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28750 (exit $ac_status); }; } &&
28751 { ac_try
='test -s conftest$ac_exeext'
28752 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28753 (eval $ac_try) 2>&5
28755 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28756 (exit $ac_status); }; }; then
28757 ac_cv_lib_w_wcslen
=yes
28759 echo "$as_me: failed program was:" >&5
28760 sed 's/^/| /' conftest.
$ac_ext >&5
28762 ac_cv_lib_w_wcslen
=no
28764 rm -f conftest.err conftest.
$ac_objext \
28765 conftest
$ac_exeext conftest.
$ac_ext
28766 LIBS
=$ac_check_lib_save_LIBS
28768 echo "$as_me:$LINENO: result: $ac_cv_lib_w_wcslen" >&5
28769 echo "${ECHO_T}$ac_cv_lib_w_wcslen" >&6
28770 if test $ac_cv_lib_w_wcslen = yes; then
28780 if test "$WCSLEN_FOUND" = 1; then
28781 cat >>confdefs.h
<<\_ACEOF
28782 #define HAVE_WCSLEN 1
28788 for ac_func
in wcsrtombs
28790 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28791 echo "$as_me:$LINENO: checking for $ac_func" >&5
28792 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
28793 if eval "test \"\${$as_ac_var+set}\" = set"; then
28794 echo $ECHO_N "(cached) $ECHO_C" >&6
28796 cat >conftest.
$ac_ext <<_ACEOF
28799 cat confdefs.h
>>conftest.
$ac_ext
28800 cat >>conftest.
$ac_ext <<_ACEOF
28801 /* end confdefs.h. */
28802 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
28803 For example, HP-UX 11i <limits.h> declares gettimeofday. */
28804 #define $ac_func innocuous_$ac_func
28806 /* System header to define __stub macros and hopefully few prototypes,
28807 which can conflict with char $ac_func (); below.
28808 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28809 <limits.h> exists even on freestanding compilers. */
28812 # include <limits.h>
28814 # include <assert.h>
28819 /* Override any gcc2 internal prototype to avoid an error. */
28824 /* We use char because int might match the return type of a gcc2
28825 builtin and then its argument prototype would still apply. */
28827 /* The GNU C library defines this for functions which it implements
28828 to always fail with ENOSYS. Some functions are actually named
28829 something starting with __ and the normal name is an alias. */
28830 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
28833 char (*f) () = $ac_func;
28842 return f != $ac_func;
28847 rm -f conftest.
$ac_objext conftest
$ac_exeext
28848 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28849 (eval $ac_link) 2>conftest.er1
28851 grep -v '^ *+' conftest.er1
>conftest.err
28853 cat conftest.err
>&5
28854 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28855 (exit $ac_status); } &&
28856 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
28857 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28858 (eval $ac_try) 2>&5
28860 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28861 (exit $ac_status); }; } &&
28862 { ac_try
='test -s conftest$ac_exeext'
28863 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28864 (eval $ac_try) 2>&5
28866 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28867 (exit $ac_status); }; }; then
28868 eval "$as_ac_var=yes"
28870 echo "$as_me: failed program was:" >&5
28871 sed 's/^/| /' conftest.
$ac_ext >&5
28873 eval "$as_ac_var=no"
28875 rm -f conftest.err conftest.
$ac_objext \
28876 conftest
$ac_exeext conftest.
$ac_ext
28878 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
28879 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
28880 if test `eval echo '${'$as_ac_var'}'` = yes; then
28881 cat >>confdefs.h
<<_ACEOF
28882 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28889 { echo "$as_me:$LINENO: WARNING: Wide character support is unavailable" >&5
28890 echo "$as_me: WARNING: Wide character support is unavailable" >&2;}
28896 ac_cpp
='$CXXCPP $CPPFLAGS'
28897 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28898 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28899 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
28903 for ac_func
in vsnprintf
28905 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28906 echo "$as_me:$LINENO: checking for $ac_func" >&5
28907 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
28908 if eval "test \"\${$as_ac_var+set}\" = set"; then
28909 echo $ECHO_N "(cached) $ECHO_C" >&6
28911 cat >conftest.
$ac_ext <<_ACEOF
28914 cat confdefs.h
>>conftest.
$ac_ext
28915 cat >>conftest.
$ac_ext <<_ACEOF
28916 /* end confdefs.h. */
28917 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
28918 For example, HP-UX 11i <limits.h> declares gettimeofday. */
28919 #define $ac_func innocuous_$ac_func
28921 /* System header to define __stub macros and hopefully few prototypes,
28922 which can conflict with char $ac_func (); below.
28923 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28924 <limits.h> exists even on freestanding compilers. */
28927 # include <limits.h>
28929 # include <assert.h>
28934 /* Override any gcc2 internal prototype to avoid an error. */
28939 /* We use char because int might match the return type of a gcc2
28940 builtin and then its argument prototype would still apply. */
28942 /* The GNU C library defines this for functions which it implements
28943 to always fail with ENOSYS. Some functions are actually named
28944 something starting with __ and the normal name is an alias. */
28945 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
28948 char (*f) () = $ac_func;
28957 return f != $ac_func;
28962 rm -f conftest.
$ac_objext conftest
$ac_exeext
28963 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28964 (eval $ac_link) 2>conftest.er1
28966 grep -v '^ *+' conftest.er1
>conftest.err
28968 cat conftest.err
>&5
28969 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28970 (exit $ac_status); } &&
28971 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
28972 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28973 (eval $ac_try) 2>&5
28975 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28976 (exit $ac_status); }; } &&
28977 { ac_try
='test -s conftest$ac_exeext'
28978 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28979 (eval $ac_try) 2>&5
28981 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28982 (exit $ac_status); }; }; then
28983 eval "$as_ac_var=yes"
28985 echo "$as_me: failed program was:" >&5
28986 sed 's/^/| /' conftest.
$ac_ext >&5
28988 eval "$as_ac_var=no"
28990 rm -f conftest.err conftest.
$ac_objext \
28991 conftest
$ac_exeext conftest.
$ac_ext
28993 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
28994 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
28995 if test `eval echo '${'$as_ac_var'}'` = yes; then
28996 cat >>confdefs.h
<<_ACEOF
28997 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
29004 if test "$ac_cv_func_vsnprintf" = "yes"; then
29005 echo "$as_me:$LINENO: checking for vsnprintf declaration" >&5
29006 echo $ECHO_N "checking for vsnprintf declaration... $ECHO_C" >&6
29007 if test "${wx_cv_func_vsnprintf_decl+set}" = set; then
29008 echo $ECHO_N "(cached) $ECHO_C" >&6
29011 cat >conftest.
$ac_ext <<_ACEOF
29014 cat confdefs.h
>>conftest.
$ac_ext
29015 cat >>conftest.
$ac_ext <<_ACEOF
29016 /* end confdefs.h. */
29019 #include <stdarg.h>
29027 vsnprintf(buf, 10u, "%s", ap);
29033 rm -f conftest.
$ac_objext
29034 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29035 (eval $ac_compile) 2>conftest.er1
29037 grep -v '^ *+' conftest.er1
>conftest.err
29039 cat conftest.err
>&5
29040 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29041 (exit $ac_status); } &&
29042 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
29043 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29044 (eval $ac_try) 2>&5
29046 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29047 (exit $ac_status); }; } &&
29048 { ac_try
='test -s conftest.$ac_objext'
29049 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29050 (eval $ac_try) 2>&5
29052 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29053 (exit $ac_status); }; }; then
29054 wx_cv_func_vsnprintf_decl
=yes
29056 echo "$as_me: failed program was:" >&5
29057 sed 's/^/| /' conftest.
$ac_ext >&5
29059 wx_cv_func_vsnprintf_decl
=no
29062 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
29066 echo "$as_me:$LINENO: result: $wx_cv_func_vsnprintf_decl" >&5
29067 echo "${ECHO_T}$wx_cv_func_vsnprintf_decl" >&6
29069 if test "$wx_cv_func_vsnprintf_decl" = "yes"; then
29070 cat >>confdefs.h
<<\_ACEOF
29071 #define HAVE_VSNPRINTF_DECL 1
29077 if test "$wxUSE_UNICODE" = yes; then
29081 for ac_func
in fputwc wprintf vswprintf
29083 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
29084 echo "$as_me:$LINENO: checking for $ac_func" >&5
29085 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
29086 if eval "test \"\${$as_ac_var+set}\" = set"; then
29087 echo $ECHO_N "(cached) $ECHO_C" >&6
29089 cat >conftest.
$ac_ext <<_ACEOF
29092 cat confdefs.h
>>conftest.
$ac_ext
29093 cat >>conftest.
$ac_ext <<_ACEOF
29094 /* end confdefs.h. */
29095 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
29096 For example, HP-UX 11i <limits.h> declares gettimeofday. */
29097 #define $ac_func innocuous_$ac_func
29099 /* System header to define __stub macros and hopefully few prototypes,
29100 which can conflict with char $ac_func (); below.
29101 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29102 <limits.h> exists even on freestanding compilers. */
29105 # include <limits.h>
29107 # include <assert.h>
29112 /* Override any gcc2 internal prototype to avoid an error. */
29117 /* We use char because int might match the return type of a gcc2
29118 builtin and then its argument prototype would still apply. */
29120 /* The GNU C library defines this for functions which it implements
29121 to always fail with ENOSYS. Some functions are actually named
29122 something starting with __ and the normal name is an alias. */
29123 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
29126 char (*f) () = $ac_func;
29135 return f != $ac_func;
29140 rm -f conftest.
$ac_objext conftest
$ac_exeext
29141 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29142 (eval $ac_link) 2>conftest.er1
29144 grep -v '^ *+' conftest.er1
>conftest.err
29146 cat conftest.err
>&5
29147 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29148 (exit $ac_status); } &&
29149 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
29150 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29151 (eval $ac_try) 2>&5
29153 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29154 (exit $ac_status); }; } &&
29155 { ac_try
='test -s conftest$ac_exeext'
29156 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29157 (eval $ac_try) 2>&5
29159 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29160 (exit $ac_status); }; }; then
29161 eval "$as_ac_var=yes"
29163 echo "$as_me: failed program was:" >&5
29164 sed 's/^/| /' conftest.
$ac_ext >&5
29166 eval "$as_ac_var=no"
29168 rm -f conftest.err conftest.
$ac_objext \
29169 conftest
$ac_exeext conftest.
$ac_ext
29171 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
29172 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
29173 if test `eval echo '${'$as_ac_var'}'` = yes; then
29174 cat >>confdefs.h
<<_ACEOF
29175 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
29182 echo "$as_me:$LINENO: checking for _vsnwprintf" >&5
29183 echo $ECHO_N "checking for _vsnwprintf... $ECHO_C" >&6
29184 cat >conftest.
$ac_ext <<_ACEOF
29187 cat confdefs.h
>>conftest.
$ac_ext
29188 cat >>conftest.
$ac_ext <<_ACEOF
29189 /* end confdefs.h. */
29199 rm -f conftest.
$ac_objext
29200 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29201 (eval $ac_compile) 2>conftest.er1
29203 grep -v '^ *+' conftest.er1
>conftest.err
29205 cat conftest.err
>&5
29206 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29207 (exit $ac_status); } &&
29208 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
29209 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29210 (eval $ac_try) 2>&5
29212 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29213 (exit $ac_status); }; } &&
29214 { ac_try
='test -s conftest.$ac_objext'
29215 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29216 (eval $ac_try) 2>&5
29218 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29219 (exit $ac_status); }; }; then
29220 echo "$as_me:$LINENO: result: yes" >&5
29221 echo "${ECHO_T}yes" >&6
29222 cat >>confdefs.h
<<\_ACEOF
29223 #define HAVE__VSNWPRINTF 1
29227 echo "$as_me: failed program was:" >&5
29228 sed 's/^/| /' conftest.
$ac_ext >&5
29230 echo "$as_me:$LINENO: result: no" >&5
29231 echo "${ECHO_T}no" >&6
29233 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext;
29237 ac_cpp
='$CPP $CPPFLAGS'
29238 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29239 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29240 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
29245 if test "$TOOLKIT" != "MSW"; then
29251 ac_cpp
='$CXXCPP $CPPFLAGS'
29252 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29253 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29254 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
29259 # Check whether --with-libiconv-prefix or --without-libiconv-prefix was given.
29260 if test "${with_libiconv_prefix+set}" = set; then
29261 withval
="$with_libiconv_prefix"
29263 for dir
in `echo "$withval" | tr : ' '`; do
29264 if test -d $dir/include
; then CPPFLAGS
="$CPPFLAGS -I$dir/include"; fi
29265 if test -d $dir/lib
; then LDFLAGS
="$LDFLAGS -L$dir/lib"; fi
29270 echo "$as_me:$LINENO: checking for iconv" >&5
29271 echo $ECHO_N "checking for iconv... $ECHO_C" >&6
29272 if test "${am_cv_func_iconv+set}" = set; then
29273 echo $ECHO_N "(cached) $ECHO_C" >&6
29276 am_cv_func_iconv
="no, consider installing GNU libiconv"
29278 cat >conftest.
$ac_ext <<_ACEOF
29281 cat confdefs.h
>>conftest.
$ac_ext
29282 cat >>conftest.
$ac_ext <<_ACEOF
29283 /* end confdefs.h. */
29284 #include <stdlib.h>
29289 iconv_t cd = iconv_open("","");
29290 iconv(cd,NULL,NULL,NULL,NULL);
29296 rm -f conftest.
$ac_objext conftest
$ac_exeext
29297 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29298 (eval $ac_link) 2>conftest.er1
29300 grep -v '^ *+' conftest.er1
>conftest.err
29302 cat conftest.err
>&5
29303 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29304 (exit $ac_status); } &&
29305 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
29306 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29307 (eval $ac_try) 2>&5
29309 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29310 (exit $ac_status); }; } &&
29311 { ac_try
='test -s conftest$ac_exeext'
29312 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29313 (eval $ac_try) 2>&5
29315 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29316 (exit $ac_status); }; }; then
29317 am_cv_func_iconv
=yes
29319 echo "$as_me: failed program was:" >&5
29320 sed 's/^/| /' conftest.
$ac_ext >&5
29323 rm -f conftest.err conftest.
$ac_objext \
29324 conftest
$ac_exeext conftest.
$ac_ext
29325 if test "$am_cv_func_iconv" != yes; then
29326 am_save_LIBS
="$LIBS"
29327 LIBS
="$LIBS -liconv"
29328 cat >conftest.
$ac_ext <<_ACEOF
29331 cat confdefs.h
>>conftest.
$ac_ext
29332 cat >>conftest.
$ac_ext <<_ACEOF
29333 /* end confdefs.h. */
29334 #include <stdlib.h>
29339 iconv_t cd = iconv_open("","");
29340 iconv(cd,NULL,NULL,NULL,NULL);
29346 rm -f conftest.
$ac_objext conftest
$ac_exeext
29347 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29348 (eval $ac_link) 2>conftest.er1
29350 grep -v '^ *+' conftest.er1
>conftest.err
29352 cat conftest.err
>&5
29353 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29354 (exit $ac_status); } &&
29355 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
29356 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29357 (eval $ac_try) 2>&5
29359 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29360 (exit $ac_status); }; } &&
29361 { ac_try
='test -s conftest$ac_exeext'
29362 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29363 (eval $ac_try) 2>&5
29365 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29366 (exit $ac_status); }; }; then
29367 am_cv_lib_iconv
=yes
29368 am_cv_func_iconv
=yes
29370 echo "$as_me: failed program was:" >&5
29371 sed 's/^/| /' conftest.
$ac_ext >&5
29374 rm -f conftest.err conftest.
$ac_objext \
29375 conftest
$ac_exeext conftest.
$ac_ext
29376 LIBS
="$am_save_LIBS"
29380 echo "$as_me:$LINENO: result: $am_cv_func_iconv" >&5
29381 echo "${ECHO_T}$am_cv_func_iconv" >&6
29382 if test "$am_cv_func_iconv" = yes; then
29384 cat >>confdefs.h
<<\_ACEOF
29385 #define HAVE_ICONV 1
29388 echo "$as_me:$LINENO: checking if iconv needs const" >&5
29389 echo $ECHO_N "checking if iconv needs const... $ECHO_C" >&6
29390 if test "${wx_cv_func_iconv_const+set}" = set; then
29391 echo $ECHO_N "(cached) $ECHO_C" >&6
29393 cat >conftest.
$ac_ext <<_ACEOF
29396 cat confdefs.h
>>conftest.
$ac_ext
29397 cat >>conftest.
$ac_ext <<_ACEOF
29398 /* end confdefs.h. */
29400 #include <stdlib.h>
29406 #if defined(__STDC__) || defined(__cplusplus)
29407 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
29420 rm -f conftest.
$ac_objext
29421 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29422 (eval $ac_compile) 2>conftest.er1
29424 grep -v '^ *+' conftest.er1
>conftest.err
29426 cat conftest.err
>&5
29427 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29428 (exit $ac_status); } &&
29429 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
29430 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29431 (eval $ac_try) 2>&5
29433 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29434 (exit $ac_status); }; } &&
29435 { ac_try
='test -s conftest.$ac_objext'
29436 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29437 (eval $ac_try) 2>&5
29439 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29440 (exit $ac_status); }; }; then
29441 wx_cv_func_iconv_const
="no"
29443 echo "$as_me: failed program was:" >&5
29444 sed 's/^/| /' conftest.
$ac_ext >&5
29446 wx_cv_func_iconv_const
="yes"
29449 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
29452 echo "$as_me:$LINENO: result: $wx_cv_func_iconv_const" >&5
29453 echo "${ECHO_T}$wx_cv_func_iconv_const" >&6
29456 if test "x$wx_cv_func_iconv_const" = "xyes"; then
29457 iconv_const
="const"
29461 cat >>confdefs.h
<<_ACEOF
29462 #define ICONV_CONST $iconv_const
29467 if test "$am_cv_lib_iconv" = yes; then
29472 LIBS
="$LIBICONV $LIBS"
29474 ac_cpp
='$CPP $CPPFLAGS'
29475 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29476 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29477 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
29480 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes" -a "$wxUSE_UNIX" = "yes"; then
29482 for ac_func
in sigaction
29484 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
29485 echo "$as_me:$LINENO: checking for $ac_func" >&5
29486 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
29487 if eval "test \"\${$as_ac_var+set}\" = set"; then
29488 echo $ECHO_N "(cached) $ECHO_C" >&6
29490 cat >conftest.
$ac_ext <<_ACEOF
29493 cat confdefs.h
>>conftest.
$ac_ext
29494 cat >>conftest.
$ac_ext <<_ACEOF
29495 /* end confdefs.h. */
29496 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
29497 For example, HP-UX 11i <limits.h> declares gettimeofday. */
29498 #define $ac_func innocuous_$ac_func
29500 /* System header to define __stub macros and hopefully few prototypes,
29501 which can conflict with char $ac_func (); below.
29502 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29503 <limits.h> exists even on freestanding compilers. */
29506 # include <limits.h>
29508 # include <assert.h>
29513 /* Override any gcc2 internal prototype to avoid an error. */
29518 /* We use char because int might match the return type of a gcc2
29519 builtin and then its argument prototype would still apply. */
29521 /* The GNU C library defines this for functions which it implements
29522 to always fail with ENOSYS. Some functions are actually named
29523 something starting with __ and the normal name is an alias. */
29524 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
29527 char (*f) () = $ac_func;
29536 return f != $ac_func;
29541 rm -f conftest.
$ac_objext conftest
$ac_exeext
29542 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29543 (eval $ac_link) 2>conftest.er1
29545 grep -v '^ *+' conftest.er1
>conftest.err
29547 cat conftest.err
>&5
29548 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29549 (exit $ac_status); } &&
29550 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
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); }; } &&
29556 { ac_try
='test -s conftest$ac_exeext'
29557 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29558 (eval $ac_try) 2>&5
29560 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29561 (exit $ac_status); }; }; then
29562 eval "$as_ac_var=yes"
29564 echo "$as_me: failed program was:" >&5
29565 sed 's/^/| /' conftest.
$ac_ext >&5
29567 eval "$as_ac_var=no"
29569 rm -f conftest.err conftest.
$ac_objext \
29570 conftest
$ac_exeext conftest.
$ac_ext
29572 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
29573 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
29574 if test `eval echo '${'$as_ac_var'}'` = yes; then
29575 cat >>confdefs.h
<<_ACEOF
29576 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
29583 if test "$ac_cv_func_sigaction" = "no"; then
29584 { echo "$as_me:$LINENO: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&5
29585 echo "$as_me: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&2;}
29586 wxUSE_ON_FATAL_EXCEPTION
=no
29589 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
29593 ac_cpp
='$CXXCPP $CPPFLAGS'
29594 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29595 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29596 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
29599 echo "$as_me:$LINENO: checking for sa_handler type" >&5
29600 echo $ECHO_N "checking for sa_handler type... $ECHO_C" >&6
29601 if test "${wx_cv_type_sa_handler+set}" = set; then
29602 echo $ECHO_N "(cached) $ECHO_C" >&6
29605 cat >conftest.
$ac_ext <<_ACEOF
29608 cat confdefs.h
>>conftest.
$ac_ext
29609 cat >>conftest.
$ac_ext <<_ACEOF
29610 /* end confdefs.h. */
29611 #include <signal.h>
29616 extern void testSigHandler(int);
29618 struct sigaction sa;
29619 sa.sa_handler = testSigHandler;
29625 rm -f conftest.
$ac_objext
29626 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29627 (eval $ac_compile) 2>conftest.er1
29629 grep -v '^ *+' conftest.er1
>conftest.err
29631 cat conftest.err
>&5
29632 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29633 (exit $ac_status); } &&
29634 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
29635 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29636 (eval $ac_try) 2>&5
29638 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29639 (exit $ac_status); }; } &&
29640 { ac_try
='test -s conftest.$ac_objext'
29641 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29642 (eval $ac_try) 2>&5
29644 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29645 (exit $ac_status); }; }; then
29647 wx_cv_type_sa_handler
=int
29650 echo "$as_me: failed program was:" >&5
29651 sed 's/^/| /' conftest.
$ac_ext >&5
29654 wx_cv_type_sa_handler
=void
29657 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
29660 echo "$as_me:$LINENO: result: $wx_cv_type_sa_handler" >&5
29661 echo "${ECHO_T}$wx_cv_type_sa_handler" >&6
29664 ac_cpp
='$CPP $CPPFLAGS'
29665 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29666 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29667 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
29670 cat >>confdefs.h
<<_ACEOF
29671 #define wxTYPE_SA_HANDLER $wx_cv_type_sa_handler
29679 for ac_func
in mkstemp mktemp
29681 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
29682 echo "$as_me:$LINENO: checking for $ac_func" >&5
29683 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
29684 if eval "test \"\${$as_ac_var+set}\" = set"; then
29685 echo $ECHO_N "(cached) $ECHO_C" >&6
29687 cat >conftest.
$ac_ext <<_ACEOF
29690 cat confdefs.h
>>conftest.
$ac_ext
29691 cat >>conftest.
$ac_ext <<_ACEOF
29692 /* end confdefs.h. */
29693 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
29694 For example, HP-UX 11i <limits.h> declares gettimeofday. */
29695 #define $ac_func innocuous_$ac_func
29697 /* System header to define __stub macros and hopefully few prototypes,
29698 which can conflict with char $ac_func (); below.
29699 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29700 <limits.h> exists even on freestanding compilers. */
29703 # include <limits.h>
29705 # include <assert.h>
29710 /* Override any gcc2 internal prototype to avoid an error. */
29715 /* We use char because int might match the return type of a gcc2
29716 builtin and then its argument prototype would still apply. */
29718 /* The GNU C library defines this for functions which it implements
29719 to always fail with ENOSYS. Some functions are actually named
29720 something starting with __ and the normal name is an alias. */
29721 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
29724 char (*f) () = $ac_func;
29733 return f != $ac_func;
29738 rm -f conftest.
$ac_objext conftest
$ac_exeext
29739 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29740 (eval $ac_link) 2>conftest.er1
29742 grep -v '^ *+' conftest.er1
>conftest.err
29744 cat conftest.err
>&5
29745 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29746 (exit $ac_status); } &&
29747 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
29748 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29749 (eval $ac_try) 2>&5
29751 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29752 (exit $ac_status); }; } &&
29753 { ac_try
='test -s conftest$ac_exeext'
29754 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29755 (eval $ac_try) 2>&5
29757 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29758 (exit $ac_status); }; }; then
29759 eval "$as_ac_var=yes"
29761 echo "$as_me: failed program was:" >&5
29762 sed 's/^/| /' conftest.
$ac_ext >&5
29764 eval "$as_ac_var=no"
29766 rm -f conftest.err conftest.
$ac_objext \
29767 conftest
$ac_exeext conftest.
$ac_ext
29769 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
29770 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
29771 if test `eval echo '${'$as_ac_var'}'` = yes; then
29772 cat >>confdefs.h
<<_ACEOF
29773 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
29780 echo "$as_me:$LINENO: checking for statfs" >&5
29781 echo $ECHO_N "checking for statfs... $ECHO_C" >&6
29782 if test "${wx_cv_func_statfs+set}" = set; then
29783 echo $ECHO_N "(cached) $ECHO_C" >&6
29785 cat >conftest.
$ac_ext <<_ACEOF
29788 cat confdefs.h
>>conftest.
$ac_ext
29789 cat >>conftest.
$ac_ext <<_ACEOF
29790 /* end confdefs.h. */
29792 #if defined(__BSD__)
29793 #include <sys/param.h>
29794 #include <sys/mount.h>
29796 #include <sys/vfs.h>
29814 rm -f conftest.
$ac_objext
29815 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29816 (eval $ac_compile) 2>conftest.er1
29818 grep -v '^ *+' conftest.er1
>conftest.err
29820 cat conftest.err
>&5
29821 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29822 (exit $ac_status); } &&
29823 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
29824 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29825 (eval $ac_try) 2>&5
29827 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29828 (exit $ac_status); }; } &&
29829 { ac_try
='test -s conftest.$ac_objext'
29830 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29831 (eval $ac_try) 2>&5
29833 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29834 (exit $ac_status); }; }; then
29836 wx_cv_func_statfs
=yes
29839 echo "$as_me: failed program was:" >&5
29840 sed 's/^/| /' conftest.
$ac_ext >&5
29843 wx_cv_func_statfs
=no
29847 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
29850 echo "$as_me:$LINENO: result: $wx_cv_func_statfs" >&5
29851 echo "${ECHO_T}$wx_cv_func_statfs" >&6
29853 if test "$wx_cv_func_statfs" = "yes"; then
29854 wx_cv_type_statvfs_t
="struct statfs"
29855 cat >>confdefs.h
<<\_ACEOF
29856 #define HAVE_STATFS 1
29860 echo "$as_me:$LINENO: checking for statvfs" >&5
29861 echo $ECHO_N "checking for statvfs... $ECHO_C" >&6
29862 if test "${wx_cv_func_statvfs+set}" = set; then
29863 echo $ECHO_N "(cached) $ECHO_C" >&6
29865 cat >conftest.
$ac_ext <<_ACEOF
29868 cat confdefs.h
>>conftest.
$ac_ext
29869 cat >>conftest.
$ac_ext <<_ACEOF
29870 /* end confdefs.h. */
29872 #include <stddef.h>
29873 #include <sys/statvfs.h>
29879 statvfs("/", NULL);
29885 rm -f conftest.
$ac_objext
29886 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29887 (eval $ac_compile) 2>conftest.er1
29889 grep -v '^ *+' conftest.er1
>conftest.err
29891 cat conftest.err
>&5
29892 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29893 (exit $ac_status); } &&
29894 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
29895 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29896 (eval $ac_try) 2>&5
29898 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29899 (exit $ac_status); }; } &&
29900 { ac_try
='test -s conftest.$ac_objext'
29901 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29902 (eval $ac_try) 2>&5
29904 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29905 (exit $ac_status); }; }; then
29906 wx_cv_func_statvfs
=yes
29908 echo "$as_me: failed program was:" >&5
29909 sed 's/^/| /' conftest.
$ac_ext >&5
29911 wx_cv_func_statvfs
=no
29914 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
29917 echo "$as_me:$LINENO: result: $wx_cv_func_statvfs" >&5
29918 echo "${ECHO_T}$wx_cv_func_statvfs" >&6
29920 if test "$wx_cv_func_statvfs" = "yes"; then
29924 ac_cpp
='$CXXCPP $CPPFLAGS'
29925 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29926 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29927 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
29930 echo "$as_me:$LINENO: checking for statvfs argument type" >&5
29931 echo $ECHO_N "checking for statvfs argument type... $ECHO_C" >&6
29932 if test "${wx_cv_type_statvfs_t+set}" = set; then
29933 echo $ECHO_N "(cached) $ECHO_C" >&6
29935 cat >conftest.
$ac_ext <<_ACEOF
29938 cat confdefs.h
>>conftest.
$ac_ext
29939 cat >>conftest.
$ac_ext <<_ACEOF
29940 /* end confdefs.h. */
29942 #include <sys/statvfs.h>
29959 rm -f conftest.
$ac_objext
29960 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29961 (eval $ac_compile) 2>conftest.er1
29963 grep -v '^ *+' conftest.er1
>conftest.err
29965 cat conftest.err
>&5
29966 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29967 (exit $ac_status); } &&
29968 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
29969 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29970 (eval $ac_try) 2>&5
29972 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29973 (exit $ac_status); }; } &&
29974 { ac_try
='test -s conftest.$ac_objext'
29975 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29976 (eval $ac_try) 2>&5
29978 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29979 (exit $ac_status); }; }; then
29980 wx_cv_type_statvfs_t
=statvfs_t
29982 echo "$as_me: failed program was:" >&5
29983 sed 's/^/| /' conftest.
$ac_ext >&5
29986 cat >conftest.
$ac_ext <<_ACEOF
29989 cat confdefs.h
>>conftest.
$ac_ext
29990 cat >>conftest.
$ac_ext <<_ACEOF
29991 /* end confdefs.h. */
29993 #include <sys/statvfs.h>
30010 rm -f conftest.
$ac_objext
30011 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30012 (eval $ac_compile) 2>conftest.er1
30014 grep -v '^ *+' conftest.er1
>conftest.err
30016 cat conftest.err
>&5
30017 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30018 (exit $ac_status); } &&
30019 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
30020 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30021 (eval $ac_try) 2>&5
30023 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30024 (exit $ac_status); }; } &&
30025 { ac_try
='test -s conftest.$ac_objext'
30026 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30027 (eval $ac_try) 2>&5
30029 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30030 (exit $ac_status); }; }; then
30031 wx_cv_type_statvfs_t
="struct statvfs"
30033 echo "$as_me: failed program was:" >&5
30034 sed 's/^/| /' conftest.
$ac_ext >&5
30036 wx_cv_type_statvfs_t
="unknown"
30039 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
30043 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
30046 echo "$as_me:$LINENO: result: $wx_cv_type_statvfs_t" >&5
30047 echo "${ECHO_T}$wx_cv_type_statvfs_t" >&6
30050 ac_cpp
='$CPP $CPPFLAGS'
30051 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30052 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30053 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
30056 if test "$wx_cv_type_statvfs_t" != "unknown"; then
30057 cat >>confdefs.h
<<\_ACEOF
30058 #define HAVE_STATVFS 1
30063 wx_cv_type_statvfs_t
="unknown"
30067 if test "$wx_cv_type_statvfs_t" != "unknown"; then
30068 cat >>confdefs.h
<<_ACEOF
30069 #define WX_STATFS_T $wx_cv_type_statvfs_t
30073 { echo "$as_me:$LINENO: WARNING: wxGetDiskSpace() function won't work without statfs()" >&5
30074 echo "$as_me: WARNING: wxGetDiskSpace() function won't work without statfs()" >&2;}
30077 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
30080 for ac_func
in fcntl flock
30082 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
30083 echo "$as_me:$LINENO: checking for $ac_func" >&5
30084 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
30085 if eval "test \"\${$as_ac_var+set}\" = set"; then
30086 echo $ECHO_N "(cached) $ECHO_C" >&6
30088 cat >conftest.
$ac_ext <<_ACEOF
30091 cat confdefs.h
>>conftest.
$ac_ext
30092 cat >>conftest.
$ac_ext <<_ACEOF
30093 /* end confdefs.h. */
30094 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
30095 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30096 #define $ac_func innocuous_$ac_func
30098 /* System header to define __stub macros and hopefully few prototypes,
30099 which can conflict with char $ac_func (); below.
30100 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30101 <limits.h> exists even on freestanding compilers. */
30104 # include <limits.h>
30106 # include <assert.h>
30111 /* Override any gcc2 internal prototype to avoid an error. */
30116 /* We use char because int might match the return type of a gcc2
30117 builtin and then its argument prototype would still apply. */
30119 /* The GNU C library defines this for functions which it implements
30120 to always fail with ENOSYS. Some functions are actually named
30121 something starting with __ and the normal name is an alias. */
30122 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
30125 char (*f) () = $ac_func;
30134 return f != $ac_func;
30139 rm -f conftest.
$ac_objext conftest
$ac_exeext
30140 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30141 (eval $ac_link) 2>conftest.er1
30143 grep -v '^ *+' conftest.er1
>conftest.err
30145 cat conftest.err
>&5
30146 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30147 (exit $ac_status); } &&
30148 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
30149 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30150 (eval $ac_try) 2>&5
30152 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30153 (exit $ac_status); }; } &&
30154 { ac_try
='test -s conftest$ac_exeext'
30155 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30156 (eval $ac_try) 2>&5
30158 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30159 (exit $ac_status); }; }; then
30160 eval "$as_ac_var=yes"
30162 echo "$as_me: failed program was:" >&5
30163 sed 's/^/| /' conftest.
$ac_ext >&5
30165 eval "$as_ac_var=no"
30167 rm -f conftest.err conftest.
$ac_objext \
30168 conftest
$ac_exeext conftest.
$ac_ext
30170 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
30171 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
30172 if test `eval echo '${'$as_ac_var'}'` = yes; then
30173 cat >>confdefs.h
<<_ACEOF
30174 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
30181 if test "$ac_cv_func_fcntl" != "yes" -a "$ac_cv_func_flock" != "yes"; then
30182 { echo "$as_me:$LINENO: WARNING: wxSingleInstanceChecker not available" >&5
30183 echo "$as_me: WARNING: wxSingleInstanceChecker not available" >&2;}
30184 wxUSE_SNGLINST_CHECKER
=no
30189 for ac_func
in timegm
30191 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
30192 echo "$as_me:$LINENO: checking for $ac_func" >&5
30193 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
30194 if eval "test \"\${$as_ac_var+set}\" = set"; then
30195 echo $ECHO_N "(cached) $ECHO_C" >&6
30197 cat >conftest.
$ac_ext <<_ACEOF
30200 cat confdefs.h
>>conftest.
$ac_ext
30201 cat >>conftest.
$ac_ext <<_ACEOF
30202 /* end confdefs.h. */
30203 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
30204 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30205 #define $ac_func innocuous_$ac_func
30207 /* System header to define __stub macros and hopefully few prototypes,
30208 which can conflict with char $ac_func (); below.
30209 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30210 <limits.h> exists even on freestanding compilers. */
30213 # include <limits.h>
30215 # include <assert.h>
30220 /* Override any gcc2 internal prototype to avoid an error. */
30225 /* We use char because int might match the return type of a gcc2
30226 builtin and then its argument prototype would still apply. */
30228 /* The GNU C library defines this for functions which it implements
30229 to always fail with ENOSYS. Some functions are actually named
30230 something starting with __ and the normal name is an alias. */
30231 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
30234 char (*f) () = $ac_func;
30243 return f != $ac_func;
30248 rm -f conftest.
$ac_objext conftest
$ac_exeext
30249 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30250 (eval $ac_link) 2>conftest.er1
30252 grep -v '^ *+' conftest.er1
>conftest.err
30254 cat conftest.err
>&5
30255 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30256 (exit $ac_status); } &&
30257 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
30258 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30259 (eval $ac_try) 2>&5
30261 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30262 (exit $ac_status); }; } &&
30263 { ac_try
='test -s conftest$ac_exeext'
30264 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30265 (eval $ac_try) 2>&5
30267 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30268 (exit $ac_status); }; }; then
30269 eval "$as_ac_var=yes"
30271 echo "$as_me: failed program was:" >&5
30272 sed 's/^/| /' conftest.
$ac_ext >&5
30274 eval "$as_ac_var=no"
30276 rm -f conftest.err conftest.
$ac_objext \
30277 conftest
$ac_exeext conftest.
$ac_ext
30279 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
30280 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
30281 if test `eval echo '${'$as_ac_var'}'` = yes; then
30282 cat >>confdefs.h
<<_ACEOF
30283 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
30292 for ac_func
in putenv setenv
30294 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
30295 echo "$as_me:$LINENO: checking for $ac_func" >&5
30296 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
30297 if eval "test \"\${$as_ac_var+set}\" = set"; then
30298 echo $ECHO_N "(cached) $ECHO_C" >&6
30300 cat >conftest.
$ac_ext <<_ACEOF
30303 cat confdefs.h
>>conftest.
$ac_ext
30304 cat >>conftest.
$ac_ext <<_ACEOF
30305 /* end confdefs.h. */
30306 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
30307 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30308 #define $ac_func innocuous_$ac_func
30310 /* System header to define __stub macros and hopefully few prototypes,
30311 which can conflict with char $ac_func (); below.
30312 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30313 <limits.h> exists even on freestanding compilers. */
30316 # include <limits.h>
30318 # include <assert.h>
30323 /* Override any gcc2 internal prototype to avoid an error. */
30328 /* We use char because int might match the return type of a gcc2
30329 builtin and then its argument prototype would still apply. */
30331 /* The GNU C library defines this for functions which it implements
30332 to always fail with ENOSYS. Some functions are actually named
30333 something starting with __ and the normal name is an alias. */
30334 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
30337 char (*f) () = $ac_func;
30346 return f != $ac_func;
30351 rm -f conftest.
$ac_objext conftest
$ac_exeext
30352 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30353 (eval $ac_link) 2>conftest.er1
30355 grep -v '^ *+' conftest.er1
>conftest.err
30357 cat conftest.err
>&5
30358 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30359 (exit $ac_status); } &&
30360 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
30361 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30362 (eval $ac_try) 2>&5
30364 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30365 (exit $ac_status); }; } &&
30366 { ac_try
='test -s conftest$ac_exeext'
30367 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30368 (eval $ac_try) 2>&5
30370 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30371 (exit $ac_status); }; }; then
30372 eval "$as_ac_var=yes"
30374 echo "$as_me: failed program was:" >&5
30375 sed 's/^/| /' conftest.
$ac_ext >&5
30377 eval "$as_ac_var=no"
30379 rm -f conftest.err conftest.
$ac_objext \
30380 conftest
$ac_exeext conftest.
$ac_ext
30382 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
30383 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
30384 if test `eval echo '${'$as_ac_var'}'` = yes; then
30385 cat >>confdefs.h
<<_ACEOF
30386 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
30393 HAVE_SOME_SLEEP_FUNC
=0
30394 if test "$USE_BEOS" = 1; then
30395 cat >>confdefs.h
<<\_ACEOF
30396 #define HAVE_SLEEP 1
30399 HAVE_SOME_SLEEP_FUNC
=1
30402 if test "$USE_DARWIN" = 1; then
30403 cat >>confdefs.h
<<\_ACEOF
30404 #define HAVE_USLEEP 1
30407 HAVE_SOME_SLEEP_FUNC
=1
30410 if test "$HAVE_SOME_SLEEP_FUNC" != 1; then
30413 for ac_func
in nanosleep
30415 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
30416 echo "$as_me:$LINENO: checking for $ac_func" >&5
30417 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
30418 if eval "test \"\${$as_ac_var+set}\" = set"; then
30419 echo $ECHO_N "(cached) $ECHO_C" >&6
30421 cat >conftest.
$ac_ext <<_ACEOF
30424 cat confdefs.h
>>conftest.
$ac_ext
30425 cat >>conftest.
$ac_ext <<_ACEOF
30426 /* end confdefs.h. */
30427 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
30428 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30429 #define $ac_func innocuous_$ac_func
30431 /* System header to define __stub macros and hopefully few prototypes,
30432 which can conflict with char $ac_func (); below.
30433 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30434 <limits.h> exists even on freestanding compilers. */
30437 # include <limits.h>
30439 # include <assert.h>
30444 /* Override any gcc2 internal prototype to avoid an error. */
30449 /* We use char because int might match the return type of a gcc2
30450 builtin and then its argument prototype would still apply. */
30452 /* The GNU C library defines this for functions which it implements
30453 to always fail with ENOSYS. Some functions are actually named
30454 something starting with __ and the normal name is an alias. */
30455 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
30458 char (*f) () = $ac_func;
30467 return f != $ac_func;
30472 rm -f conftest.
$ac_objext conftest
$ac_exeext
30473 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30474 (eval $ac_link) 2>conftest.er1
30476 grep -v '^ *+' conftest.er1
>conftest.err
30478 cat conftest.err
>&5
30479 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30480 (exit $ac_status); } &&
30481 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
30482 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30483 (eval $ac_try) 2>&5
30485 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30486 (exit $ac_status); }; } &&
30487 { ac_try
='test -s conftest$ac_exeext'
30488 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30489 (eval $ac_try) 2>&5
30491 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30492 (exit $ac_status); }; }; then
30493 eval "$as_ac_var=yes"
30495 echo "$as_me: failed program was:" >&5
30496 sed 's/^/| /' conftest.
$ac_ext >&5
30498 eval "$as_ac_var=no"
30500 rm -f conftest.err conftest.
$ac_objext \
30501 conftest
$ac_exeext conftest.
$ac_ext
30503 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
30504 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
30505 if test `eval echo '${'$as_ac_var'}'` = yes; then
30506 cat >>confdefs.h
<<_ACEOF
30507 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
30509 cat >>confdefs.h
<<\_ACEOF
30510 #define HAVE_NANOSLEEP 1
30515 echo "$as_me:$LINENO: checking for nanosleep in -lposix4" >&5
30516 echo $ECHO_N "checking for nanosleep in -lposix4... $ECHO_C" >&6
30517 if test "${ac_cv_lib_posix4_nanosleep+set}" = set; then
30518 echo $ECHO_N "(cached) $ECHO_C" >&6
30520 ac_check_lib_save_LIBS
=$LIBS
30521 LIBS
="-lposix4 $LIBS"
30522 cat >conftest.
$ac_ext <<_ACEOF
30525 cat confdefs.h
>>conftest.
$ac_ext
30526 cat >>conftest.
$ac_ext <<_ACEOF
30527 /* end confdefs.h. */
30529 /* Override any gcc2 internal prototype to avoid an error. */
30533 /* We use char because int might match the return type of a gcc2
30534 builtin and then its argument prototype would still apply. */
30544 rm -f conftest.
$ac_objext conftest
$ac_exeext
30545 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30546 (eval $ac_link) 2>conftest.er1
30548 grep -v '^ *+' conftest.er1
>conftest.err
30550 cat conftest.err
>&5
30551 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30552 (exit $ac_status); } &&
30553 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
30554 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30555 (eval $ac_try) 2>&5
30557 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30558 (exit $ac_status); }; } &&
30559 { ac_try
='test -s conftest$ac_exeext'
30560 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30561 (eval $ac_try) 2>&5
30563 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30564 (exit $ac_status); }; }; then
30565 ac_cv_lib_posix4_nanosleep
=yes
30567 echo "$as_me: failed program was:" >&5
30568 sed 's/^/| /' conftest.
$ac_ext >&5
30570 ac_cv_lib_posix4_nanosleep
=no
30572 rm -f conftest.err conftest.
$ac_objext \
30573 conftest
$ac_exeext conftest.
$ac_ext
30574 LIBS
=$ac_check_lib_save_LIBS
30576 echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_nanosleep" >&5
30577 echo "${ECHO_T}$ac_cv_lib_posix4_nanosleep" >&6
30578 if test $ac_cv_lib_posix4_nanosleep = yes; then
30580 cat >>confdefs.h
<<\_ACEOF
30581 #define HAVE_NANOSLEEP 1
30584 POSIX4_LINK
=" -lposix4"
30589 for ac_func
in usleep
30591 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
30592 echo "$as_me:$LINENO: checking for $ac_func" >&5
30593 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
30594 if eval "test \"\${$as_ac_var+set}\" = set"; then
30595 echo $ECHO_N "(cached) $ECHO_C" >&6
30597 cat >conftest.
$ac_ext <<_ACEOF
30600 cat confdefs.h
>>conftest.
$ac_ext
30601 cat >>conftest.
$ac_ext <<_ACEOF
30602 /* end confdefs.h. */
30603 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
30604 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30605 #define $ac_func innocuous_$ac_func
30607 /* System header to define __stub macros and hopefully few prototypes,
30608 which can conflict with char $ac_func (); below.
30609 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30610 <limits.h> exists even on freestanding compilers. */
30613 # include <limits.h>
30615 # include <assert.h>
30620 /* Override any gcc2 internal prototype to avoid an error. */
30625 /* We use char because int might match the return type of a gcc2
30626 builtin and then its argument prototype would still apply. */
30628 /* The GNU C library defines this for functions which it implements
30629 to always fail with ENOSYS. Some functions are actually named
30630 something starting with __ and the normal name is an alias. */
30631 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
30634 char (*f) () = $ac_func;
30643 return f != $ac_func;
30648 rm -f conftest.
$ac_objext conftest
$ac_exeext
30649 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30650 (eval $ac_link) 2>conftest.er1
30652 grep -v '^ *+' conftest.er1
>conftest.err
30654 cat conftest.err
>&5
30655 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30656 (exit $ac_status); } &&
30657 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
30658 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30659 (eval $ac_try) 2>&5
30661 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30662 (exit $ac_status); }; } &&
30663 { ac_try
='test -s conftest$ac_exeext'
30664 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30665 (eval $ac_try) 2>&5
30667 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30668 (exit $ac_status); }; }; then
30669 eval "$as_ac_var=yes"
30671 echo "$as_me: failed program was:" >&5
30672 sed 's/^/| /' conftest.
$ac_ext >&5
30674 eval "$as_ac_var=no"
30676 rm -f conftest.err conftest.
$ac_objext \
30677 conftest
$ac_exeext conftest.
$ac_ext
30679 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
30680 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
30681 if test `eval echo '${'$as_ac_var'}'` = yes; then
30682 cat >>confdefs.h
<<_ACEOF
30683 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
30685 cat >>confdefs.h
<<\_ACEOF
30686 #define HAVE_USLEEP 1
30690 { echo "$as_me:$LINENO: WARNING: wxSleep() function will not work" >&5
30691 echo "$as_me: WARNING: wxSleep() function will not work" >&2;}
30709 for ac_func
in uname gethostname
30711 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
30712 echo "$as_me:$LINENO: checking for $ac_func" >&5
30713 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
30714 if eval "test \"\${$as_ac_var+set}\" = set"; then
30715 echo $ECHO_N "(cached) $ECHO_C" >&6
30717 cat >conftest.
$ac_ext <<_ACEOF
30720 cat confdefs.h
>>conftest.
$ac_ext
30721 cat >>conftest.
$ac_ext <<_ACEOF
30722 /* end confdefs.h. */
30723 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
30724 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30725 #define $ac_func innocuous_$ac_func
30727 /* System header to define __stub macros and hopefully few prototypes,
30728 which can conflict with char $ac_func (); below.
30729 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30730 <limits.h> exists even on freestanding compilers. */
30733 # include <limits.h>
30735 # include <assert.h>
30740 /* Override any gcc2 internal prototype to avoid an error. */
30745 /* We use char because int might match the return type of a gcc2
30746 builtin and then its argument prototype would still apply. */
30748 /* The GNU C library defines this for functions which it implements
30749 to always fail with ENOSYS. Some functions are actually named
30750 something starting with __ and the normal name is an alias. */
30751 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
30754 char (*f) () = $ac_func;
30763 return f != $ac_func;
30768 rm -f conftest.
$ac_objext conftest
$ac_exeext
30769 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30770 (eval $ac_link) 2>conftest.er1
30772 grep -v '^ *+' conftest.er1
>conftest.err
30774 cat conftest.err
>&5
30775 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30776 (exit $ac_status); } &&
30777 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
30778 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30779 (eval $ac_try) 2>&5
30781 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30782 (exit $ac_status); }; } &&
30783 { ac_try
='test -s conftest$ac_exeext'
30784 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30785 (eval $ac_try) 2>&5
30787 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30788 (exit $ac_status); }; }; then
30789 eval "$as_ac_var=yes"
30791 echo "$as_me: failed program was:" >&5
30792 sed 's/^/| /' conftest.
$ac_ext >&5
30794 eval "$as_ac_var=no"
30796 rm -f conftest.err conftest.
$ac_objext \
30797 conftest
$ac_exeext conftest.
$ac_ext
30799 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
30800 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
30801 if test `eval echo '${'$as_ac_var'}'` = yes; then
30802 cat >>confdefs.h
<<_ACEOF
30803 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
30813 ac_cpp
='$CXXCPP $CPPFLAGS'
30814 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30815 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30816 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
30820 for ac_func
in strtok_r
30822 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
30823 echo "$as_me:$LINENO: checking for $ac_func" >&5
30824 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
30825 if eval "test \"\${$as_ac_var+set}\" = set"; then
30826 echo $ECHO_N "(cached) $ECHO_C" >&6
30828 cat >conftest.
$ac_ext <<_ACEOF
30831 cat confdefs.h
>>conftest.
$ac_ext
30832 cat >>conftest.
$ac_ext <<_ACEOF
30833 /* end confdefs.h. */
30834 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
30835 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30836 #define $ac_func innocuous_$ac_func
30838 /* System header to define __stub macros and hopefully few prototypes,
30839 which can conflict with char $ac_func (); below.
30840 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30841 <limits.h> exists even on freestanding compilers. */
30844 # include <limits.h>
30846 # include <assert.h>
30851 /* Override any gcc2 internal prototype to avoid an error. */
30856 /* We use char because int might match the return type of a gcc2
30857 builtin and then its argument prototype would still apply. */
30859 /* The GNU C library defines this for functions which it implements
30860 to always fail with ENOSYS. Some functions are actually named
30861 something starting with __ and the normal name is an alias. */
30862 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
30865 char (*f) () = $ac_func;
30874 return f != $ac_func;
30879 rm -f conftest.
$ac_objext conftest
$ac_exeext
30880 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30881 (eval $ac_link) 2>conftest.er1
30883 grep -v '^ *+' conftest.er1
>conftest.err
30885 cat conftest.err
>&5
30886 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30887 (exit $ac_status); } &&
30888 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
30889 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30890 (eval $ac_try) 2>&5
30892 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30893 (exit $ac_status); }; } &&
30894 { ac_try
='test -s conftest$ac_exeext'
30895 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30896 (eval $ac_try) 2>&5
30898 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30899 (exit $ac_status); }; }; then
30900 eval "$as_ac_var=yes"
30902 echo "$as_me: failed program was:" >&5
30903 sed 's/^/| /' conftest.
$ac_ext >&5
30905 eval "$as_ac_var=no"
30907 rm -f conftest.err conftest.
$ac_objext \
30908 conftest
$ac_exeext conftest.
$ac_ext
30910 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
30911 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
30912 if test `eval echo '${'$as_ac_var'}'` = yes; then
30913 cat >>confdefs.h
<<_ACEOF
30914 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
30922 ac_cpp
='$CPP $CPPFLAGS'
30923 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30924 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30925 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
30930 for ac_func
in inet_addr
30932 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
30933 echo "$as_me:$LINENO: checking for $ac_func" >&5
30934 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
30935 if eval "test \"\${$as_ac_var+set}\" = set"; then
30936 echo $ECHO_N "(cached) $ECHO_C" >&6
30938 cat >conftest.
$ac_ext <<_ACEOF
30941 cat confdefs.h
>>conftest.
$ac_ext
30942 cat >>conftest.
$ac_ext <<_ACEOF
30943 /* end confdefs.h. */
30944 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
30945 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30946 #define $ac_func innocuous_$ac_func
30948 /* System header to define __stub macros and hopefully few prototypes,
30949 which can conflict with char $ac_func (); below.
30950 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30951 <limits.h> exists even on freestanding compilers. */
30954 # include <limits.h>
30956 # include <assert.h>
30961 /* Override any gcc2 internal prototype to avoid an error. */
30966 /* We use char because int might match the return type of a gcc2
30967 builtin and then its argument prototype would still apply. */
30969 /* The GNU C library defines this for functions which it implements
30970 to always fail with ENOSYS. Some functions are actually named
30971 something starting with __ and the normal name is an alias. */
30972 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
30975 char (*f) () = $ac_func;
30984 return f != $ac_func;
30989 rm -f conftest.
$ac_objext conftest
$ac_exeext
30990 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30991 (eval $ac_link) 2>conftest.er1
30993 grep -v '^ *+' conftest.er1
>conftest.err
30995 cat conftest.err
>&5
30996 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30997 (exit $ac_status); } &&
30998 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
30999 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31000 (eval $ac_try) 2>&5
31002 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31003 (exit $ac_status); }; } &&
31004 { ac_try
='test -s conftest$ac_exeext'
31005 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31006 (eval $ac_try) 2>&5
31008 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31009 (exit $ac_status); }; }; then
31010 eval "$as_ac_var=yes"
31012 echo "$as_me: failed program was:" >&5
31013 sed 's/^/| /' conftest.
$ac_ext >&5
31015 eval "$as_ac_var=no"
31017 rm -f conftest.err conftest.
$ac_objext \
31018 conftest
$ac_exeext conftest.
$ac_ext
31020 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
31021 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
31022 if test `eval echo '${'$as_ac_var'}'` = yes; then
31023 cat >>confdefs.h
<<_ACEOF
31024 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31026 cat >>confdefs.h
<<\_ACEOF
31027 #define HAVE_INET_ADDR 1
31032 echo "$as_me:$LINENO: checking for inet_addr in -lnsl" >&5
31033 echo $ECHO_N "checking for inet_addr in -lnsl... $ECHO_C" >&6
31034 if test "${ac_cv_lib_nsl_inet_addr+set}" = set; then
31035 echo $ECHO_N "(cached) $ECHO_C" >&6
31037 ac_check_lib_save_LIBS
=$LIBS
31039 cat >conftest.
$ac_ext <<_ACEOF
31042 cat confdefs.h
>>conftest.
$ac_ext
31043 cat >>conftest.
$ac_ext <<_ACEOF
31044 /* end confdefs.h. */
31046 /* Override any gcc2 internal prototype to avoid an error. */
31050 /* We use char because int might match the return type of a gcc2
31051 builtin and then its argument prototype would still apply. */
31061 rm -f conftest.
$ac_objext conftest
$ac_exeext
31062 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31063 (eval $ac_link) 2>conftest.er1
31065 grep -v '^ *+' conftest.er1
>conftest.err
31067 cat conftest.err
>&5
31068 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31069 (exit $ac_status); } &&
31070 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
31071 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31072 (eval $ac_try) 2>&5
31074 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31075 (exit $ac_status); }; } &&
31076 { ac_try
='test -s conftest$ac_exeext'
31077 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31078 (eval $ac_try) 2>&5
31080 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31081 (exit $ac_status); }; }; then
31082 ac_cv_lib_nsl_inet_addr
=yes
31084 echo "$as_me: failed program was:" >&5
31085 sed 's/^/| /' conftest.
$ac_ext >&5
31087 ac_cv_lib_nsl_inet_addr
=no
31089 rm -f conftest.err conftest.
$ac_objext \
31090 conftest
$ac_exeext conftest.
$ac_ext
31091 LIBS
=$ac_check_lib_save_LIBS
31093 echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_inet_addr" >&5
31094 echo "${ECHO_T}$ac_cv_lib_nsl_inet_addr" >&6
31095 if test $ac_cv_lib_nsl_inet_addr = yes; then
31099 echo "$as_me:$LINENO: checking for inet_addr in -lresolv" >&5
31100 echo $ECHO_N "checking for inet_addr in -lresolv... $ECHO_C" >&6
31101 if test "${ac_cv_lib_resolv_inet_addr+set}" = set; then
31102 echo $ECHO_N "(cached) $ECHO_C" >&6
31104 ac_check_lib_save_LIBS
=$LIBS
31105 LIBS
="-lresolv $LIBS"
31106 cat >conftest.
$ac_ext <<_ACEOF
31109 cat confdefs.h
>>conftest.
$ac_ext
31110 cat >>conftest.
$ac_ext <<_ACEOF
31111 /* end confdefs.h. */
31113 /* Override any gcc2 internal prototype to avoid an error. */
31117 /* We use char because int might match the return type of a gcc2
31118 builtin and then its argument prototype would still apply. */
31128 rm -f conftest.
$ac_objext conftest
$ac_exeext
31129 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31130 (eval $ac_link) 2>conftest.er1
31132 grep -v '^ *+' conftest.er1
>conftest.err
31134 cat conftest.err
>&5
31135 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31136 (exit $ac_status); } &&
31137 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
31138 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31139 (eval $ac_try) 2>&5
31141 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31142 (exit $ac_status); }; } &&
31143 { ac_try
='test -s conftest$ac_exeext'
31144 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31145 (eval $ac_try) 2>&5
31147 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31148 (exit $ac_status); }; }; then
31149 ac_cv_lib_resolv_inet_addr
=yes
31151 echo "$as_me: failed program was:" >&5
31152 sed 's/^/| /' conftest.
$ac_ext >&5
31154 ac_cv_lib_resolv_inet_addr
=no
31156 rm -f conftest.err conftest.
$ac_objext \
31157 conftest
$ac_exeext conftest.
$ac_ext
31158 LIBS
=$ac_check_lib_save_LIBS
31160 echo "$as_me:$LINENO: result: $ac_cv_lib_resolv_inet_addr" >&5
31161 echo "${ECHO_T}$ac_cv_lib_resolv_inet_addr" >&6
31162 if test $ac_cv_lib_resolv_inet_addr = yes; then
31166 echo "$as_me:$LINENO: checking for inet_addr in -lsocket" >&5
31167 echo $ECHO_N "checking for inet_addr in -lsocket... $ECHO_C" >&6
31168 if test "${ac_cv_lib_socket_inet_addr+set}" = set; then
31169 echo $ECHO_N "(cached) $ECHO_C" >&6
31171 ac_check_lib_save_LIBS
=$LIBS
31172 LIBS
="-lsocket $LIBS"
31173 cat >conftest.
$ac_ext <<_ACEOF
31176 cat confdefs.h
>>conftest.
$ac_ext
31177 cat >>conftest.
$ac_ext <<_ACEOF
31178 /* end confdefs.h. */
31180 /* Override any gcc2 internal prototype to avoid an error. */
31184 /* We use char because int might match the return type of a gcc2
31185 builtin and then its argument prototype would still apply. */
31195 rm -f conftest.
$ac_objext conftest
$ac_exeext
31196 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31197 (eval $ac_link) 2>conftest.er1
31199 grep -v '^ *+' conftest.er1
>conftest.err
31201 cat conftest.err
>&5
31202 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31203 (exit $ac_status); } &&
31204 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
31205 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31206 (eval $ac_try) 2>&5
31208 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31209 (exit $ac_status); }; } &&
31210 { ac_try
='test -s conftest$ac_exeext'
31211 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31212 (eval $ac_try) 2>&5
31214 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31215 (exit $ac_status); }; }; then
31216 ac_cv_lib_socket_inet_addr
=yes
31218 echo "$as_me: failed program was:" >&5
31219 sed 's/^/| /' conftest.
$ac_ext >&5
31221 ac_cv_lib_socket_inet_addr
=no
31223 rm -f conftest.err conftest.
$ac_objext \
31224 conftest
$ac_exeext conftest.
$ac_ext
31225 LIBS
=$ac_check_lib_save_LIBS
31227 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_inet_addr" >&5
31228 echo "${ECHO_T}$ac_cv_lib_socket_inet_addr" >&6
31229 if test $ac_cv_lib_socket_inet_addr = yes; then
31249 for ac_func
in inet_aton
31251 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31252 echo "$as_me:$LINENO: checking for $ac_func" >&5
31253 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
31254 if eval "test \"\${$as_ac_var+set}\" = set"; then
31255 echo $ECHO_N "(cached) $ECHO_C" >&6
31257 cat >conftest.
$ac_ext <<_ACEOF
31260 cat confdefs.h
>>conftest.
$ac_ext
31261 cat >>conftest.
$ac_ext <<_ACEOF
31262 /* end confdefs.h. */
31263 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
31264 For example, HP-UX 11i <limits.h> declares gettimeofday. */
31265 #define $ac_func innocuous_$ac_func
31267 /* System header to define __stub macros and hopefully few prototypes,
31268 which can conflict with char $ac_func (); below.
31269 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31270 <limits.h> exists even on freestanding compilers. */
31273 # include <limits.h>
31275 # include <assert.h>
31280 /* Override any gcc2 internal prototype to avoid an error. */
31285 /* We use char because int might match the return type of a gcc2
31286 builtin and then its argument prototype would still apply. */
31288 /* The GNU C library defines this for functions which it implements
31289 to always fail with ENOSYS. Some functions are actually named
31290 something starting with __ and the normal name is an alias. */
31291 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
31294 char (*f) () = $ac_func;
31303 return f != $ac_func;
31308 rm -f conftest.
$ac_objext conftest
$ac_exeext
31309 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31310 (eval $ac_link) 2>conftest.er1
31312 grep -v '^ *+' conftest.er1
>conftest.err
31314 cat conftest.err
>&5
31315 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31316 (exit $ac_status); } &&
31317 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
31318 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31319 (eval $ac_try) 2>&5
31321 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31322 (exit $ac_status); }; } &&
31323 { ac_try
='test -s conftest$ac_exeext'
31324 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31325 (eval $ac_try) 2>&5
31327 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31328 (exit $ac_status); }; }; then
31329 eval "$as_ac_var=yes"
31331 echo "$as_me: failed program was:" >&5
31332 sed 's/^/| /' conftest.
$ac_ext >&5
31334 eval "$as_ac_var=no"
31336 rm -f conftest.err conftest.
$ac_objext \
31337 conftest
$ac_exeext conftest.
$ac_ext
31339 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
31340 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
31341 if test `eval echo '${'$as_ac_var'}'` = yes; then
31342 cat >>confdefs.h
<<_ACEOF
31343 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31345 cat >>confdefs.h
<<\_ACEOF
31346 #define HAVE_INET_ATON 1
31351 as_ac_Lib
=`echo "ac_cv_lib_$INET_LINK''_inet_aton" | $as_tr_sh`
31352 echo "$as_me:$LINENO: checking for inet_aton in -l$INET_LINK" >&5
31353 echo $ECHO_N "checking for inet_aton in -l$INET_LINK... $ECHO_C" >&6
31354 if eval "test \"\${$as_ac_Lib+set}\" = set"; then
31355 echo $ECHO_N "(cached) $ECHO_C" >&6
31357 ac_check_lib_save_LIBS
=$LIBS
31358 LIBS
="-l$INET_LINK $LIBS"
31359 cat >conftest.
$ac_ext <<_ACEOF
31362 cat confdefs.h
>>conftest.
$ac_ext
31363 cat >>conftest.
$ac_ext <<_ACEOF
31364 /* end confdefs.h. */
31366 /* Override any gcc2 internal prototype to avoid an error. */
31370 /* We use char because int might match the return type of a gcc2
31371 builtin and then its argument prototype would still apply. */
31381 rm -f conftest.
$ac_objext conftest
$ac_exeext
31382 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31383 (eval $ac_link) 2>conftest.er1
31385 grep -v '^ *+' conftest.er1
>conftest.err
31387 cat conftest.err
>&5
31388 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31389 (exit $ac_status); } &&
31390 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
31391 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31392 (eval $ac_try) 2>&5
31394 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31395 (exit $ac_status); }; } &&
31396 { ac_try
='test -s conftest$ac_exeext'
31397 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31398 (eval $ac_try) 2>&5
31400 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31401 (exit $ac_status); }; }; then
31402 eval "$as_ac_Lib=yes"
31404 echo "$as_me: failed program was:" >&5
31405 sed 's/^/| /' conftest.
$ac_ext >&5
31407 eval "$as_ac_Lib=no"
31409 rm -f conftest.err conftest.
$ac_objext \
31410 conftest
$ac_exeext conftest.
$ac_ext
31411 LIBS
=$ac_check_lib_save_LIBS
31413 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Lib'}'`" >&5
31414 echo "${ECHO_T}`eval echo '${'$as_ac_Lib'}'`" >&6
31415 if test `eval echo '${'$as_ac_Lib'}'` = yes; then
31416 cat >>confdefs.h
<<\_ACEOF
31417 #define HAVE_INET_ATON 1
31427 if test "x$INET_LINK" != "x"; then
31428 cat >>confdefs.h
<<\_ACEOF
31429 #define HAVE_INET_ADDR 1
31432 INET_LINK
=" -l$INET_LINK"
31440 echo "$as_me:$LINENO: checking for esd_close in -lesd" >&5
31441 echo $ECHO_N "checking for esd_close in -lesd... $ECHO_C" >&6
31442 if test "${ac_cv_lib_esd_esd_close+set}" = set; then
31443 echo $ECHO_N "(cached) $ECHO_C" >&6
31445 ac_check_lib_save_LIBS
=$LIBS
31447 cat >conftest.
$ac_ext <<_ACEOF
31450 cat confdefs.h
>>conftest.
$ac_ext
31451 cat >>conftest.
$ac_ext <<_ACEOF
31452 /* end confdefs.h. */
31454 /* Override any gcc2 internal prototype to avoid an error. */
31458 /* We use char because int might match the return type of a gcc2
31459 builtin and then its argument prototype would still apply. */
31469 rm -f conftest.
$ac_objext conftest
$ac_exeext
31470 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31471 (eval $ac_link) 2>conftest.er1
31473 grep -v '^ *+' conftest.er1
>conftest.err
31475 cat conftest.err
>&5
31476 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31477 (exit $ac_status); } &&
31478 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
31479 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31480 (eval $ac_try) 2>&5
31482 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31483 (exit $ac_status); }; } &&
31484 { ac_try
='test -s conftest$ac_exeext'
31485 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31486 (eval $ac_try) 2>&5
31488 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31489 (exit $ac_status); }; }; then
31490 ac_cv_lib_esd_esd_close
=yes
31492 echo "$as_me: failed program was:" >&5
31493 sed 's/^/| /' conftest.
$ac_ext >&5
31495 ac_cv_lib_esd_esd_close
=no
31497 rm -f conftest.err conftest.
$ac_objext \
31498 conftest
$ac_exeext conftest.
$ac_ext
31499 LIBS
=$ac_check_lib_save_LIBS
31501 echo "$as_me:$LINENO: result: $ac_cv_lib_esd_esd_close" >&5
31502 echo "${ECHO_T}$ac_cv_lib_esd_esd_close" >&6
31503 if test $ac_cv_lib_esd_esd_close = yes; then
31506 for ac_header
in esd.h
31508 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
31509 if eval "test \"\${$as_ac_Header+set}\" = set"; then
31510 echo "$as_me:$LINENO: checking for $ac_header" >&5
31511 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
31512 if eval "test \"\${$as_ac_Header+set}\" = set"; then
31513 echo $ECHO_N "(cached) $ECHO_C" >&6
31515 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
31516 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
31518 # Is the header compilable?
31519 echo "$as_me:$LINENO: checking $ac_header usability" >&5
31520 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
31521 cat >conftest.
$ac_ext <<_ACEOF
31524 cat confdefs.h
>>conftest.
$ac_ext
31525 cat >>conftest.
$ac_ext <<_ACEOF
31526 /* end confdefs.h. */
31527 $ac_includes_default
31528 #include <$ac_header>
31530 rm -f conftest.
$ac_objext
31531 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31532 (eval $ac_compile) 2>conftest.er1
31534 grep -v '^ *+' conftest.er1
>conftest.err
31536 cat conftest.err
>&5
31537 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31538 (exit $ac_status); } &&
31539 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
31540 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31541 (eval $ac_try) 2>&5
31543 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31544 (exit $ac_status); }; } &&
31545 { ac_try
='test -s conftest.$ac_objext'
31546 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31547 (eval $ac_try) 2>&5
31549 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31550 (exit $ac_status); }; }; then
31551 ac_header_compiler
=yes
31553 echo "$as_me: failed program was:" >&5
31554 sed 's/^/| /' conftest.
$ac_ext >&5
31556 ac_header_compiler
=no
31558 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
31559 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
31560 echo "${ECHO_T}$ac_header_compiler" >&6
31562 # Is the header present?
31563 echo "$as_me:$LINENO: checking $ac_header presence" >&5
31564 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
31565 cat >conftest.
$ac_ext <<_ACEOF
31568 cat confdefs.h
>>conftest.
$ac_ext
31569 cat >>conftest.
$ac_ext <<_ACEOF
31570 /* end confdefs.h. */
31571 #include <$ac_header>
31573 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
31574 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
31576 grep -v '^ *+' conftest.er1
>conftest.err
31578 cat conftest.err
>&5
31579 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31580 (exit $ac_status); } >/dev
/null
; then
31581 if test -s conftest.err
; then
31582 ac_cpp_err
=$ac_c_preproc_warn_flag
31583 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
31590 if test -z "$ac_cpp_err"; then
31591 ac_header_preproc
=yes
31593 echo "$as_me: failed program was:" >&5
31594 sed 's/^/| /' conftest.
$ac_ext >&5
31596 ac_header_preproc
=no
31598 rm -f conftest.err conftest.
$ac_ext
31599 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
31600 echo "${ECHO_T}$ac_header_preproc" >&6
31602 # So? What about this header?
31603 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
31605 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
31606 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
31607 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
31608 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
31609 ac_header_preproc
=yes
31612 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
31613 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
31614 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
31615 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
31616 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
31617 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
31618 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
31619 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
31620 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
31621 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
31622 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
31623 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
31626 ## ----------------------------------------- ##
31627 ## Report this to wx-dev@lists.wxwindows.org ##
31628 ## ----------------------------------------- ##
31631 sed "s/^/$as_me: WARNING: /" >&2
31634 echo "$as_me:$LINENO: checking for $ac_header" >&5
31635 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
31636 if eval "test \"\${$as_ac_Header+set}\" = set"; then
31637 echo $ECHO_N "(cached) $ECHO_C" >&6
31639 eval "$as_ac_Header=\$ac_header_preproc"
31641 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
31642 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
31645 if test `eval echo '${'$as_ac_Header'}'` = yes; then
31646 cat >>confdefs.h
<<_ACEOF
31647 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
31650 EXTRALIBS_ESD
="-lesd"
31661 echo "$as_me:$LINENO: checking for known CD-ROM interface" >&5
31662 echo $ECHO_N "checking for known CD-ROM interface... $ECHO_C" >&6
31663 cat >conftest.
$ac_ext <<_ACEOF
31666 cat confdefs.h
>>conftest.
$ac_ext
31667 cat >>conftest.
$ac_ext <<_ACEOF
31668 /* end confdefs.h. */
31670 #include <linux/cdrom.h>
31673 #include <sys/cdio.h>
31679 struct cdrom_tocentry entry, old_entry;
31684 rm -f conftest.
$ac_objext
31685 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31686 (eval $ac_compile) 2>conftest.er1
31688 grep -v '^ *+' conftest.er1
>conftest.err
31690 cat conftest.err
>&5
31691 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31692 (exit $ac_status); } &&
31693 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
31694 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31695 (eval $ac_try) 2>&5
31697 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31698 (exit $ac_status); }; } &&
31699 { ac_try
='test -s conftest.$ac_objext'
31700 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31701 (eval $ac_try) 2>&5
31703 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31704 (exit $ac_status); }; }; then
31705 echo "$as_me:$LINENO: result: yes" >&5
31706 echo "${ECHO_T}yes" >&6
31707 cat >>confdefs.h
<<\_ACEOF
31708 #define HAVE_KNOWN_CDROM_INTERFACE 1
31712 echo "$as_me: failed program was:" >&5
31713 sed 's/^/| /' conftest.
$ac_ext >&5
31715 echo "$as_me:$LINENO: result: no" >&5
31716 echo "${ECHO_T}no" >&6
31718 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
31721 cat >confcache
<<\_ACEOF
31722 # This file is a shell script that caches the results of configure
31723 # tests run on this system so they can be shared between configure
31724 # scripts and configure runs, see configure's option --config-cache.
31725 # It is not useful on other systems. If it contains results you don't
31726 # want to keep, you may remove or edit it.
31728 # config.status only pays attention to the cache file if you give it
31729 # the --recheck option to rerun configure.
31731 # `ac_cv_env_foo' variables (set or unset) will be overridden when
31732 # loading this file, other *unset* `ac_cv_foo' will be assigned the
31733 # following values.
31737 # The following way of writing the cache mishandles newlines in values,
31738 # but we know of no workaround that is simple, portable, and efficient.
31739 # So, don't put newlines in cache variables' values.
31740 # Ultrix sh set writes to stderr and can't be redirected directly,
31741 # and sets the high bit in the cache file unless we assign to the vars.
31744 case `(ac_space=' '; set | grep ac_space) 2>&1` in
31746 # `set' does not quote correctly, so add quotes (double-quote
31747 # substitution turns \\\\ into \\, and sed turns \\ into \).
31750 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
31753 # `set' quotes correctly as required by POSIX, so do not add quotes.
31755 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
31762 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
31764 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
31766 if diff $cache_file confcache
>/dev
/null
2>&1; then :; else
31767 if test -w $cache_file; then
31768 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
31769 cat confcache
>$cache_file
31771 echo "not updating unwritable cache $cache_file"
31778 if test "$TOOLKIT" != "MSW" -a "$USE_OS2" != 1; then
31784 if test "$wxUSE_THREADS" = "yes" ; then
31785 if test "$USE_BEOS" = 1; then
31786 { echo "$as_me:$LINENO: WARNING: BeOS threads are not yet supported... disabled" >&5
31787 echo "$as_me: WARNING: BeOS threads are not yet supported... disabled" >&2;}
31792 if test "$wxUSE_THREADS" = "yes" ; then
31795 THREAD_OPTS
="-pthread"
31797 *-*-solaris2* | *-*-sunos4* )
31798 if test "x$GCC" = "xyes"; then
31799 THREAD_OPTS
="-pthreads $THREAD_OPTS"
31801 THREAD_OPTS
="-mt $THREAD_OPTS"
31805 THREAD_OPTS
="-kthread lthread $THREAD_OPTS c_r"
31807 *-*-darwin* | *-*-cygwin* )
31811 THREAD_OPTS
="pthreads"
31814 if test "x$GCC" != "xyes"; then
31820 if test "x$GCC" = "xyes"; then
31826 if test "x$GCC" != "xyes"; then
31827 THREAD_OPTS
="-Ethread"
31832 THREAD_OPTS
="$THREAD_OPTS pthread none"
31835 for flag
in $THREAD_OPTS; do
31838 echo "$as_me:$LINENO: checking whether pthreads work without any flags" >&5
31839 echo $ECHO_N "checking whether pthreads work without any flags... $ECHO_C" >&6
31843 echo "$as_me:$LINENO: checking whether pthreads work with $flag" >&5
31844 echo $ECHO_N "checking whether pthreads work with $flag... $ECHO_C" >&6
31845 THREADS_CFLAGS
="$flag"
31849 echo "$as_me:$LINENO: checking for the pthreads library -l$flag" >&5
31850 echo $ECHO_N "checking for the pthreads library -l$flag... $ECHO_C" >&6
31851 THREADS_LINK
="-l$flag"
31856 save_CFLAGS
="$CFLAGS"
31857 LIBS
="$THREADS_LINK $LIBS"
31858 CFLAGS
="$THREADS_CFLAGS $CFLAGS"
31860 cat >conftest.
$ac_ext <<_ACEOF
31863 cat confdefs.h
>>conftest.
$ac_ext
31864 cat >>conftest.
$ac_ext <<_ACEOF
31865 /* end confdefs.h. */
31866 #include <pthread.h>
31870 pthread_create(0,0,0,0);
31875 rm -f conftest.
$ac_objext conftest
$ac_exeext
31876 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31877 (eval $ac_link) 2>conftest.er1
31879 grep -v '^ *+' conftest.er1
>conftest.err
31881 cat conftest.err
>&5
31882 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31883 (exit $ac_status); } &&
31884 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
31885 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31886 (eval $ac_try) 2>&5
31888 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31889 (exit $ac_status); }; } &&
31890 { ac_try
='test -s conftest$ac_exeext'
31891 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31892 (eval $ac_try) 2>&5
31894 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31895 (exit $ac_status); }; }; then
31898 echo "$as_me: failed program was:" >&5
31899 sed 's/^/| /' conftest.
$ac_ext >&5
31902 rm -f conftest.err conftest.
$ac_objext \
31903 conftest
$ac_exeext conftest.
$ac_ext
31906 CFLAGS
="$save_CFLAGS"
31908 echo "$as_me:$LINENO: result: $THREADS_OK" >&5
31909 echo "${ECHO_T}$THREADS_OK" >&6
31910 if test "x$THREADS_OK" = "xyes"; then
31918 if test "x$THREADS_OK" != "xyes"; then
31920 { echo "$as_me:$LINENO: WARNING: No thread support on this system... disabled" >&5
31921 echo "$as_me: WARNING: No thread support on this system... disabled" >&2;}
31923 LDFLAGS
="$THREADS_CFLAGS $LDFLAGS"
31924 LIBS
="$THREADS_LINK $LIBS"
31926 echo "$as_me:$LINENO: checking if more special flags are required for pthreads" >&5
31927 echo $ECHO_N "checking if more special flags are required for pthreads... $ECHO_C" >&6
31931 LDFLAGS
="-L/usr/lib/threads $LDFLAGS"
31932 flag
="-D_THREAD_SAFE"
31935 flag
="-D_THREAD_SAFE"
31938 flag
="-D_REENTRANT"
31939 if test "x$GCC" != "xyes"; then
31940 flag
="$flag -D_RWSTD_MULTI_THREAD"
31943 *solaris
* | alpha
*-osf*)
31944 flag
="-D_REENTRANT"
31947 echo "$as_me:$LINENO: result: ${flag}" >&5
31948 echo "${ECHO_T}${flag}" >&6
31949 if test "x$flag" != xno
; then
31950 THREADS_CFLAGS
="$THREADS_CFLAGS $flag"
31953 if test "x$THREADS_CFLAGS" != "x"; then
31954 CFLAGS
="$CFLAGS $THREADS_CFLAGS"
31955 CXXFLAGS
="$CXXFLAGS $THREADS_CFLAGS"
31960 if test "$wxUSE_THREADS" = "yes" ; then
31962 for ac_func
in thr_setconcurrency
31964 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31965 echo "$as_me:$LINENO: checking for $ac_func" >&5
31966 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
31967 if eval "test \"\${$as_ac_var+set}\" = set"; then
31968 echo $ECHO_N "(cached) $ECHO_C" >&6
31970 cat >conftest.
$ac_ext <<_ACEOF
31973 cat confdefs.h
>>conftest.
$ac_ext
31974 cat >>conftest.
$ac_ext <<_ACEOF
31975 /* end confdefs.h. */
31976 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
31977 For example, HP-UX 11i <limits.h> declares gettimeofday. */
31978 #define $ac_func innocuous_$ac_func
31980 /* System header to define __stub macros and hopefully few prototypes,
31981 which can conflict with char $ac_func (); below.
31982 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31983 <limits.h> exists even on freestanding compilers. */
31986 # include <limits.h>
31988 # include <assert.h>
31993 /* Override any gcc2 internal prototype to avoid an error. */
31998 /* We use char because int might match the return type of a gcc2
31999 builtin and then its argument prototype would still apply. */
32001 /* The GNU C library defines this for functions which it implements
32002 to always fail with ENOSYS. Some functions are actually named
32003 something starting with __ and the normal name is an alias. */
32004 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
32007 char (*f) () = $ac_func;
32016 return f != $ac_func;
32021 rm -f conftest.
$ac_objext conftest
$ac_exeext
32022 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32023 (eval $ac_link) 2>conftest.er1
32025 grep -v '^ *+' conftest.er1
>conftest.err
32027 cat conftest.err
>&5
32028 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32029 (exit $ac_status); } &&
32030 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
32031 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32032 (eval $ac_try) 2>&5
32034 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32035 (exit $ac_status); }; } &&
32036 { ac_try
='test -s conftest$ac_exeext'
32037 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32038 (eval $ac_try) 2>&5
32040 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32041 (exit $ac_status); }; }; then
32042 eval "$as_ac_var=yes"
32044 echo "$as_me: failed program was:" >&5
32045 sed 's/^/| /' conftest.
$ac_ext >&5
32047 eval "$as_ac_var=no"
32049 rm -f conftest.err conftest.
$ac_objext \
32050 conftest
$ac_exeext conftest.
$ac_ext
32052 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
32053 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
32054 if test `eval echo '${'$as_ac_var'}'` = yes; then
32055 cat >>confdefs.h
<<_ACEOF
32056 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
32064 for ac_header
in sched.h
32066 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
32067 if eval "test \"\${$as_ac_Header+set}\" = set"; then
32068 echo "$as_me:$LINENO: checking for $ac_header" >&5
32069 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
32070 if eval "test \"\${$as_ac_Header+set}\" = set"; then
32071 echo $ECHO_N "(cached) $ECHO_C" >&6
32073 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
32074 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
32076 # Is the header compilable?
32077 echo "$as_me:$LINENO: checking $ac_header usability" >&5
32078 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
32079 cat >conftest.
$ac_ext <<_ACEOF
32082 cat confdefs.h
>>conftest.
$ac_ext
32083 cat >>conftest.
$ac_ext <<_ACEOF
32084 /* end confdefs.h. */
32085 $ac_includes_default
32086 #include <$ac_header>
32088 rm -f conftest.
$ac_objext
32089 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32090 (eval $ac_compile) 2>conftest.er1
32092 grep -v '^ *+' conftest.er1
>conftest.err
32094 cat conftest.err
>&5
32095 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32096 (exit $ac_status); } &&
32097 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
32098 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32099 (eval $ac_try) 2>&5
32101 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32102 (exit $ac_status); }; } &&
32103 { ac_try
='test -s conftest.$ac_objext'
32104 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32105 (eval $ac_try) 2>&5
32107 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32108 (exit $ac_status); }; }; then
32109 ac_header_compiler
=yes
32111 echo "$as_me: failed program was:" >&5
32112 sed 's/^/| /' conftest.
$ac_ext >&5
32114 ac_header_compiler
=no
32116 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
32117 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
32118 echo "${ECHO_T}$ac_header_compiler" >&6
32120 # Is the header present?
32121 echo "$as_me:$LINENO: checking $ac_header presence" >&5
32122 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
32123 cat >conftest.
$ac_ext <<_ACEOF
32126 cat confdefs.h
>>conftest.
$ac_ext
32127 cat >>conftest.
$ac_ext <<_ACEOF
32128 /* end confdefs.h. */
32129 #include <$ac_header>
32131 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
32132 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
32134 grep -v '^ *+' conftest.er1
>conftest.err
32136 cat conftest.err
>&5
32137 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32138 (exit $ac_status); } >/dev
/null
; then
32139 if test -s conftest.err
; then
32140 ac_cpp_err
=$ac_c_preproc_warn_flag
32141 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
32148 if test -z "$ac_cpp_err"; then
32149 ac_header_preproc
=yes
32151 echo "$as_me: failed program was:" >&5
32152 sed 's/^/| /' conftest.
$ac_ext >&5
32154 ac_header_preproc
=no
32156 rm -f conftest.err conftest.
$ac_ext
32157 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
32158 echo "${ECHO_T}$ac_header_preproc" >&6
32160 # So? What about this header?
32161 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
32163 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
32164 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
32165 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
32166 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
32167 ac_header_preproc
=yes
32170 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
32171 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
32172 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
32173 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
32174 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
32175 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
32176 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
32177 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
32178 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
32179 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
32180 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
32181 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
32184 ## ----------------------------------------- ##
32185 ## Report this to wx-dev@lists.wxwindows.org ##
32186 ## ----------------------------------------- ##
32189 sed "s/^/$as_me: WARNING: /" >&2
32192 echo "$as_me:$LINENO: checking for $ac_header" >&5
32193 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
32194 if eval "test \"\${$as_ac_Header+set}\" = set"; then
32195 echo $ECHO_N "(cached) $ECHO_C" >&6
32197 eval "$as_ac_Header=\$ac_header_preproc"
32199 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
32200 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
32203 if test `eval echo '${'$as_ac_Header'}'` = yes; then
32204 cat >>confdefs.h
<<_ACEOF
32205 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
32212 if test "$ac_cv_header_sched_h" = "yes"; then
32213 echo "$as_me:$LINENO: checking for sched_yield" >&5
32214 echo $ECHO_N "checking for sched_yield... $ECHO_C" >&6
32215 if test "${ac_cv_func_sched_yield+set}" = set; then
32216 echo $ECHO_N "(cached) $ECHO_C" >&6
32218 cat >conftest.
$ac_ext <<_ACEOF
32221 cat confdefs.h
>>conftest.
$ac_ext
32222 cat >>conftest.
$ac_ext <<_ACEOF
32223 /* end confdefs.h. */
32224 /* Define sched_yield to an innocuous variant, in case <limits.h> declares sched_yield.
32225 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32226 #define sched_yield innocuous_sched_yield
32228 /* System header to define __stub macros and hopefully few prototypes,
32229 which can conflict with char sched_yield (); below.
32230 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32231 <limits.h> exists even on freestanding compilers. */
32234 # include <limits.h>
32236 # include <assert.h>
32241 /* Override any gcc2 internal prototype to avoid an error. */
32246 /* We use char because int might match the return type of a gcc2
32247 builtin and then its argument prototype would still apply. */
32248 char sched_yield ();
32249 /* The GNU C library defines this for functions which it implements
32250 to always fail with ENOSYS. Some functions are actually named
32251 something starting with __ and the normal name is an alias. */
32252 #if defined (__stub_sched_yield) || defined (__stub___sched_yield)
32255 char (*f) () = sched_yield;
32264 return f != sched_yield;
32269 rm -f conftest.
$ac_objext conftest
$ac_exeext
32270 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32271 (eval $ac_link) 2>conftest.er1
32273 grep -v '^ *+' conftest.er1
>conftest.err
32275 cat conftest.err
>&5
32276 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32277 (exit $ac_status); } &&
32278 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
32279 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32280 (eval $ac_try) 2>&5
32282 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32283 (exit $ac_status); }; } &&
32284 { ac_try
='test -s conftest$ac_exeext'
32285 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32286 (eval $ac_try) 2>&5
32288 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32289 (exit $ac_status); }; }; then
32290 ac_cv_func_sched_yield
=yes
32292 echo "$as_me: failed program was:" >&5
32293 sed 's/^/| /' conftest.
$ac_ext >&5
32295 ac_cv_func_sched_yield
=no
32297 rm -f conftest.err conftest.
$ac_objext \
32298 conftest
$ac_exeext conftest.
$ac_ext
32300 echo "$as_me:$LINENO: result: $ac_cv_func_sched_yield" >&5
32301 echo "${ECHO_T}$ac_cv_func_sched_yield" >&6
32302 if test $ac_cv_func_sched_yield = yes; then
32303 cat >>confdefs.h
<<\_ACEOF
32304 #define HAVE_SCHED_YIELD 1
32309 echo "$as_me:$LINENO: checking for sched_yield in -lposix4" >&5
32310 echo $ECHO_N "checking for sched_yield in -lposix4... $ECHO_C" >&6
32311 if test "${ac_cv_lib_posix4_sched_yield+set}" = set; then
32312 echo $ECHO_N "(cached) $ECHO_C" >&6
32314 ac_check_lib_save_LIBS
=$LIBS
32315 LIBS
="-lposix4 $LIBS"
32316 cat >conftest.
$ac_ext <<_ACEOF
32319 cat confdefs.h
>>conftest.
$ac_ext
32320 cat >>conftest.
$ac_ext <<_ACEOF
32321 /* end confdefs.h. */
32323 /* Override any gcc2 internal prototype to avoid an error. */
32327 /* We use char because int might match the return type of a gcc2
32328 builtin and then its argument prototype would still apply. */
32329 char sched_yield ();
32338 rm -f conftest.
$ac_objext conftest
$ac_exeext
32339 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32340 (eval $ac_link) 2>conftest.er1
32342 grep -v '^ *+' conftest.er1
>conftest.err
32344 cat conftest.err
>&5
32345 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32346 (exit $ac_status); } &&
32347 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
32348 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32349 (eval $ac_try) 2>&5
32351 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32352 (exit $ac_status); }; } &&
32353 { ac_try
='test -s conftest$ac_exeext'
32354 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32355 (eval $ac_try) 2>&5
32357 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32358 (exit $ac_status); }; }; then
32359 ac_cv_lib_posix4_sched_yield
=yes
32361 echo "$as_me: failed program was:" >&5
32362 sed 's/^/| /' conftest.
$ac_ext >&5
32364 ac_cv_lib_posix4_sched_yield
=no
32366 rm -f conftest.err conftest.
$ac_objext \
32367 conftest
$ac_exeext conftest.
$ac_ext
32368 LIBS
=$ac_check_lib_save_LIBS
32370 echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_sched_yield" >&5
32371 echo "${ECHO_T}$ac_cv_lib_posix4_sched_yield" >&6
32372 if test $ac_cv_lib_posix4_sched_yield = yes; then
32373 cat >>confdefs.h
<<\_ACEOF
32374 #define HAVE_SCHED_YIELD 1
32376 POSIX4_LINK
=" -lposix4"
32378 { echo "$as_me:$LINENO: WARNING: wxThread::Yield will not work properly" >&5
32379 echo "$as_me: WARNING: wxThread::Yield will not work properly" >&2;}
32390 echo "$as_me:$LINENO: checking for pthread_attr_getschedpolicy" >&5
32391 echo $ECHO_N "checking for pthread_attr_getschedpolicy... $ECHO_C" >&6
32392 if test "${ac_cv_func_pthread_attr_getschedpolicy+set}" = set; then
32393 echo $ECHO_N "(cached) $ECHO_C" >&6
32395 cat >conftest.
$ac_ext <<_ACEOF
32398 cat confdefs.h
>>conftest.
$ac_ext
32399 cat >>conftest.
$ac_ext <<_ACEOF
32400 /* end confdefs.h. */
32401 /* Define pthread_attr_getschedpolicy to an innocuous variant, in case <limits.h> declares pthread_attr_getschedpolicy.
32402 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32403 #define pthread_attr_getschedpolicy innocuous_pthread_attr_getschedpolicy
32405 /* System header to define __stub macros and hopefully few prototypes,
32406 which can conflict with char pthread_attr_getschedpolicy (); below.
32407 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32408 <limits.h> exists even on freestanding compilers. */
32411 # include <limits.h>
32413 # include <assert.h>
32416 #undef pthread_attr_getschedpolicy
32418 /* Override any gcc2 internal prototype to avoid an error. */
32423 /* We use char because int might match the return type of a gcc2
32424 builtin and then its argument prototype would still apply. */
32425 char pthread_attr_getschedpolicy ();
32426 /* The GNU C library defines this for functions which it implements
32427 to always fail with ENOSYS. Some functions are actually named
32428 something starting with __ and the normal name is an alias. */
32429 #if defined (__stub_pthread_attr_getschedpolicy) || defined (__stub___pthread_attr_getschedpolicy)
32432 char (*f) () = pthread_attr_getschedpolicy;
32441 return f != pthread_attr_getschedpolicy;
32446 rm -f conftest.
$ac_objext conftest
$ac_exeext
32447 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32448 (eval $ac_link) 2>conftest.er1
32450 grep -v '^ *+' conftest.er1
>conftest.err
32452 cat conftest.err
>&5
32453 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32454 (exit $ac_status); } &&
32455 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
32456 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32457 (eval $ac_try) 2>&5
32459 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32460 (exit $ac_status); }; } &&
32461 { ac_try
='test -s conftest$ac_exeext'
32462 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32463 (eval $ac_try) 2>&5
32465 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32466 (exit $ac_status); }; }; then
32467 ac_cv_func_pthread_attr_getschedpolicy
=yes
32469 echo "$as_me: failed program was:" >&5
32470 sed 's/^/| /' conftest.
$ac_ext >&5
32472 ac_cv_func_pthread_attr_getschedpolicy
=no
32474 rm -f conftest.err conftest.
$ac_objext \
32475 conftest
$ac_exeext conftest.
$ac_ext
32477 echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_getschedpolicy" >&5
32478 echo "${ECHO_T}$ac_cv_func_pthread_attr_getschedpolicy" >&6
32479 if test $ac_cv_func_pthread_attr_getschedpolicy = yes; then
32480 echo "$as_me:$LINENO: checking for pthread_attr_setschedparam" >&5
32481 echo $ECHO_N "checking for pthread_attr_setschedparam... $ECHO_C" >&6
32482 if test "${ac_cv_func_pthread_attr_setschedparam+set}" = set; then
32483 echo $ECHO_N "(cached) $ECHO_C" >&6
32485 cat >conftest.
$ac_ext <<_ACEOF
32488 cat confdefs.h
>>conftest.
$ac_ext
32489 cat >>conftest.
$ac_ext <<_ACEOF
32490 /* end confdefs.h. */
32491 /* Define pthread_attr_setschedparam to an innocuous variant, in case <limits.h> declares pthread_attr_setschedparam.
32492 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32493 #define pthread_attr_setschedparam innocuous_pthread_attr_setschedparam
32495 /* System header to define __stub macros and hopefully few prototypes,
32496 which can conflict with char pthread_attr_setschedparam (); below.
32497 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32498 <limits.h> exists even on freestanding compilers. */
32501 # include <limits.h>
32503 # include <assert.h>
32506 #undef pthread_attr_setschedparam
32508 /* Override any gcc2 internal prototype to avoid an error. */
32513 /* We use char because int might match the return type of a gcc2
32514 builtin and then its argument prototype would still apply. */
32515 char pthread_attr_setschedparam ();
32516 /* The GNU C library defines this for functions which it implements
32517 to always fail with ENOSYS. Some functions are actually named
32518 something starting with __ and the normal name is an alias. */
32519 #if defined (__stub_pthread_attr_setschedparam) || defined (__stub___pthread_attr_setschedparam)
32522 char (*f) () = pthread_attr_setschedparam;
32531 return f != pthread_attr_setschedparam;
32536 rm -f conftest.
$ac_objext conftest
$ac_exeext
32537 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32538 (eval $ac_link) 2>conftest.er1
32540 grep -v '^ *+' conftest.er1
>conftest.err
32542 cat conftest.err
>&5
32543 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32544 (exit $ac_status); } &&
32545 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
32546 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32547 (eval $ac_try) 2>&5
32549 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32550 (exit $ac_status); }; } &&
32551 { ac_try
='test -s conftest$ac_exeext'
32552 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32553 (eval $ac_try) 2>&5
32555 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32556 (exit $ac_status); }; }; then
32557 ac_cv_func_pthread_attr_setschedparam
=yes
32559 echo "$as_me: failed program was:" >&5
32560 sed 's/^/| /' conftest.
$ac_ext >&5
32562 ac_cv_func_pthread_attr_setschedparam
=no
32564 rm -f conftest.err conftest.
$ac_objext \
32565 conftest
$ac_exeext conftest.
$ac_ext
32567 echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_setschedparam" >&5
32568 echo "${ECHO_T}$ac_cv_func_pthread_attr_setschedparam" >&6
32569 if test $ac_cv_func_pthread_attr_setschedparam = yes; then
32570 echo "$as_me:$LINENO: checking for sched_get_priority_max" >&5
32571 echo $ECHO_N "checking for sched_get_priority_max... $ECHO_C" >&6
32572 if test "${ac_cv_func_sched_get_priority_max+set}" = set; then
32573 echo $ECHO_N "(cached) $ECHO_C" >&6
32575 cat >conftest.
$ac_ext <<_ACEOF
32578 cat confdefs.h
>>conftest.
$ac_ext
32579 cat >>conftest.
$ac_ext <<_ACEOF
32580 /* end confdefs.h. */
32581 /* Define sched_get_priority_max to an innocuous variant, in case <limits.h> declares sched_get_priority_max.
32582 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32583 #define sched_get_priority_max innocuous_sched_get_priority_max
32585 /* System header to define __stub macros and hopefully few prototypes,
32586 which can conflict with char sched_get_priority_max (); below.
32587 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32588 <limits.h> exists even on freestanding compilers. */
32591 # include <limits.h>
32593 # include <assert.h>
32596 #undef sched_get_priority_max
32598 /* Override any gcc2 internal prototype to avoid an error. */
32603 /* We use char because int might match the return type of a gcc2
32604 builtin and then its argument prototype would still apply. */
32605 char sched_get_priority_max ();
32606 /* The GNU C library defines this for functions which it implements
32607 to always fail with ENOSYS. Some functions are actually named
32608 something starting with __ and the normal name is an alias. */
32609 #if defined (__stub_sched_get_priority_max) || defined (__stub___sched_get_priority_max)
32612 char (*f) () = sched_get_priority_max;
32621 return f != sched_get_priority_max;
32626 rm -f conftest.
$ac_objext conftest
$ac_exeext
32627 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32628 (eval $ac_link) 2>conftest.er1
32630 grep -v '^ *+' conftest.er1
>conftest.err
32632 cat conftest.err
>&5
32633 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32634 (exit $ac_status); } &&
32635 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
32636 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32637 (eval $ac_try) 2>&5
32639 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32640 (exit $ac_status); }; } &&
32641 { ac_try
='test -s conftest$ac_exeext'
32642 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32643 (eval $ac_try) 2>&5
32645 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32646 (exit $ac_status); }; }; then
32647 ac_cv_func_sched_get_priority_max
=yes
32649 echo "$as_me: failed program was:" >&5
32650 sed 's/^/| /' conftest.
$ac_ext >&5
32652 ac_cv_func_sched_get_priority_max
=no
32654 rm -f conftest.err conftest.
$ac_objext \
32655 conftest
$ac_exeext conftest.
$ac_ext
32657 echo "$as_me:$LINENO: result: $ac_cv_func_sched_get_priority_max" >&5
32658 echo "${ECHO_T}$ac_cv_func_sched_get_priority_max" >&6
32659 if test $ac_cv_func_sched_get_priority_max = yes; then
32662 echo "$as_me:$LINENO: checking for sched_get_priority_max in -lposix4" >&5
32663 echo $ECHO_N "checking for sched_get_priority_max in -lposix4... $ECHO_C" >&6
32664 if test "${ac_cv_lib_posix4_sched_get_priority_max+set}" = set; then
32665 echo $ECHO_N "(cached) $ECHO_C" >&6
32667 ac_check_lib_save_LIBS
=$LIBS
32668 LIBS
="-lposix4 $LIBS"
32669 cat >conftest.
$ac_ext <<_ACEOF
32672 cat confdefs.h
>>conftest.
$ac_ext
32673 cat >>conftest.
$ac_ext <<_ACEOF
32674 /* end confdefs.h. */
32676 /* Override any gcc2 internal prototype to avoid an error. */
32680 /* We use char because int might match the return type of a gcc2
32681 builtin and then its argument prototype would still apply. */
32682 char sched_get_priority_max ();
32686 sched_get_priority_max ();
32691 rm -f conftest.
$ac_objext conftest
$ac_exeext
32692 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32693 (eval $ac_link) 2>conftest.er1
32695 grep -v '^ *+' conftest.er1
>conftest.err
32697 cat conftest.err
>&5
32698 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32699 (exit $ac_status); } &&
32700 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
32701 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32702 (eval $ac_try) 2>&5
32704 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32705 (exit $ac_status); }; } &&
32706 { ac_try
='test -s conftest$ac_exeext'
32707 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32708 (eval $ac_try) 2>&5
32710 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32711 (exit $ac_status); }; }; then
32712 ac_cv_lib_posix4_sched_get_priority_max
=yes
32714 echo "$as_me: failed program was:" >&5
32715 sed 's/^/| /' conftest.
$ac_ext >&5
32717 ac_cv_lib_posix4_sched_get_priority_max
=no
32719 rm -f conftest.err conftest.
$ac_objext \
32720 conftest
$ac_exeext conftest.
$ac_ext
32721 LIBS
=$ac_check_lib_save_LIBS
32723 echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_sched_get_priority_max" >&5
32724 echo "${ECHO_T}$ac_cv_lib_posix4_sched_get_priority_max" >&6
32725 if test $ac_cv_lib_posix4_sched_get_priority_max = yes; then
32728 POSIX4_LINK
=" -lposix4"
32742 if test "$HAVE_PRIOR_FUNCS" = 1; then
32743 cat >>confdefs.h
<<\_ACEOF
32744 #define HAVE_THREAD_PRIORITY_FUNCTIONS 1
32748 { echo "$as_me:$LINENO: WARNING: Setting thread priority will not work" >&5
32749 echo "$as_me: WARNING: Setting thread priority will not work" >&2;}
32752 echo "$as_me:$LINENO: checking for pthread_cancel" >&5
32753 echo $ECHO_N "checking for pthread_cancel... $ECHO_C" >&6
32754 if test "${ac_cv_func_pthread_cancel+set}" = set; then
32755 echo $ECHO_N "(cached) $ECHO_C" >&6
32757 cat >conftest.
$ac_ext <<_ACEOF
32760 cat confdefs.h
>>conftest.
$ac_ext
32761 cat >>conftest.
$ac_ext <<_ACEOF
32762 /* end confdefs.h. */
32763 /* Define pthread_cancel to an innocuous variant, in case <limits.h> declares pthread_cancel.
32764 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32765 #define pthread_cancel innocuous_pthread_cancel
32767 /* System header to define __stub macros and hopefully few prototypes,
32768 which can conflict with char pthread_cancel (); below.
32769 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32770 <limits.h> exists even on freestanding compilers. */
32773 # include <limits.h>
32775 # include <assert.h>
32778 #undef pthread_cancel
32780 /* Override any gcc2 internal prototype to avoid an error. */
32785 /* We use char because int might match the return type of a gcc2
32786 builtin and then its argument prototype would still apply. */
32787 char pthread_cancel ();
32788 /* The GNU C library defines this for functions which it implements
32789 to always fail with ENOSYS. Some functions are actually named
32790 something starting with __ and the normal name is an alias. */
32791 #if defined (__stub_pthread_cancel) || defined (__stub___pthread_cancel)
32794 char (*f) () = pthread_cancel;
32803 return f != pthread_cancel;
32808 rm -f conftest.
$ac_objext conftest
$ac_exeext
32809 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32810 (eval $ac_link) 2>conftest.er1
32812 grep -v '^ *+' conftest.er1
>conftest.err
32814 cat conftest.err
>&5
32815 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32816 (exit $ac_status); } &&
32817 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
32818 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32819 (eval $ac_try) 2>&5
32821 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32822 (exit $ac_status); }; } &&
32823 { ac_try
='test -s conftest$ac_exeext'
32824 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32825 (eval $ac_try) 2>&5
32827 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32828 (exit $ac_status); }; }; then
32829 ac_cv_func_pthread_cancel
=yes
32831 echo "$as_me: failed program was:" >&5
32832 sed 's/^/| /' conftest.
$ac_ext >&5
32834 ac_cv_func_pthread_cancel
=no
32836 rm -f conftest.err conftest.
$ac_objext \
32837 conftest
$ac_exeext conftest.
$ac_ext
32839 echo "$as_me:$LINENO: result: $ac_cv_func_pthread_cancel" >&5
32840 echo "${ECHO_T}$ac_cv_func_pthread_cancel" >&6
32841 if test $ac_cv_func_pthread_cancel = yes; then
32842 cat >>confdefs.h
<<\_ACEOF
32843 #define HAVE_PTHREAD_CANCEL 1
32847 { echo "$as_me:$LINENO: WARNING: wxThread::Kill() will not work properly" >&5
32848 echo "$as_me: WARNING: wxThread::Kill() will not work properly" >&2;}
32854 echo "$as_me:$LINENO: checking for pthread_mutexattr_t" >&5
32855 echo $ECHO_N "checking for pthread_mutexattr_t... $ECHO_C" >&6
32856 if test "${wx_cv_type_pthread_mutexattr_t+set}" = set; then
32857 echo $ECHO_N "(cached) $ECHO_C" >&6
32860 cat >conftest.
$ac_ext <<_ACEOF
32863 cat confdefs.h
>>conftest.
$ac_ext
32864 cat >>conftest.
$ac_ext <<_ACEOF
32865 /* end confdefs.h. */
32866 #include <pthread.h>
32871 pthread_mutexattr_t attr;
32872 pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE);
32878 rm -f conftest.
$ac_objext
32879 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32880 (eval $ac_compile) 2>conftest.er1
32882 grep -v '^ *+' conftest.er1
>conftest.err
32884 cat conftest.err
>&5
32885 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32886 (exit $ac_status); } &&
32887 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
32888 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32889 (eval $ac_try) 2>&5
32891 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32892 (exit $ac_status); }; } &&
32893 { ac_try
='test -s conftest.$ac_objext'
32894 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32895 (eval $ac_try) 2>&5
32897 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32898 (exit $ac_status); }; }; then
32900 wx_cv_type_pthread_mutexattr_t
=yes
32903 echo "$as_me: failed program was:" >&5
32904 sed 's/^/| /' conftest.
$ac_ext >&5
32907 wx_cv_type_pthread_mutexattr_t
=no
32911 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
32914 echo "$as_me:$LINENO: result: $wx_cv_type_pthread_mutexattr_t" >&5
32915 echo "${ECHO_T}$wx_cv_type_pthread_mutexattr_t" >&6
32917 if test "$wx_cv_type_pthread_mutexattr_t" = "yes"; then
32918 cat >>confdefs.h
<<\_ACEOF
32919 #define HAVE_PTHREAD_MUTEXATTR_T 1
32923 echo "$as_me:$LINENO: checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER" >&5
32924 echo $ECHO_N "checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER... $ECHO_C" >&6
32925 if test "${wx_cv_type_pthread_rec_mutex_init+set}" = set; then
32926 echo $ECHO_N "(cached) $ECHO_C" >&6
32929 cat >conftest.
$ac_ext <<_ACEOF
32932 cat confdefs.h
>>conftest.
$ac_ext
32933 cat >>conftest.
$ac_ext <<_ACEOF
32934 /* end confdefs.h. */
32935 #include <pthread.h>
32940 pthread_mutex_t attr = PTHREAD_RECURSIVE_MUTEX_INITIALIZER_NP;
32946 rm -f conftest.
$ac_objext
32947 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32948 (eval $ac_compile) 2>conftest.er1
32950 grep -v '^ *+' conftest.er1
>conftest.err
32952 cat conftest.err
>&5
32953 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32954 (exit $ac_status); } &&
32955 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
32956 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32957 (eval $ac_try) 2>&5
32959 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32960 (exit $ac_status); }; } &&
32961 { ac_try
='test -s conftest.$ac_objext'
32962 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32963 (eval $ac_try) 2>&5
32965 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32966 (exit $ac_status); }; }; then
32968 wx_cv_type_pthread_rec_mutex_init
=yes
32971 echo "$as_me: failed program was:" >&5
32972 sed 's/^/| /' conftest.
$ac_ext >&5
32975 wx_cv_type_pthread_rec_mutex_init
=no
32979 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
32982 echo "$as_me:$LINENO: result: $wx_cv_type_pthread_rec_mutex_init" >&5
32983 echo "${ECHO_T}$wx_cv_type_pthread_rec_mutex_init" >&6
32984 if test "$wx_cv_type_pthread_rec_mutex_init" = "yes"; then
32985 cat >>confdefs.h
<<\_ACEOF
32986 #define HAVE_PTHREAD_RECURSIVE_MUTEX_INITIALIZER 1
32990 { echo "$as_me:$LINENO: WARNING: wxMutex won't be recursive on this platform" >&5
32991 echo "$as_me: WARNING: wxMutex won't be recursive on this platform" >&2;}
32997 if test "$wxUSE_THREADS" = "yes" ; then
33000 echo "$as_me:$LINENO: checking if compiler supports -mthreads" >&5
33001 echo $ECHO_N "checking if compiler supports -mthreads... $ECHO_C" >&6
33002 if test "${wx_cv_cflags_mthread+set}" = set; then
33003 echo $ECHO_N "(cached) $ECHO_C" >&6
33006 CFLAGS_OLD
="$CFLAGS"
33007 CFLAGS
="$CFLAGS -mthreads"
33008 cat >conftest.
$ac_ext <<_ACEOF
33011 cat confdefs.h
>>conftest.
$ac_ext
33012 cat >>conftest.
$ac_ext <<_ACEOF
33013 /* end confdefs.h. */
33023 rm -f conftest.
$ac_objext
33024 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33025 (eval $ac_compile) 2>conftest.er1
33027 grep -v '^ *+' conftest.er1
>conftest.err
33029 cat conftest.err
>&5
33030 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33031 (exit $ac_status); } &&
33032 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
33033 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33034 (eval $ac_try) 2>&5
33036 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33037 (exit $ac_status); }; } &&
33038 { ac_try
='test -s conftest.$ac_objext'
33039 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33040 (eval $ac_try) 2>&5
33042 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33043 (exit $ac_status); }; }; then
33044 wx_cv_cflags_mthread
=yes
33046 echo "$as_me: failed program was:" >&5
33047 sed 's/^/| /' conftest.
$ac_ext >&5
33049 wx_cv_cflags_mthread
=no
33052 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
33056 echo "$as_me:$LINENO: result: $wx_cv_cflags_mthread" >&5
33057 echo "${ECHO_T}$wx_cv_cflags_mthread" >&6
33059 if test "$wx_cv_cflags_mthread" = "yes"; then
33060 CXXFLAGS
="$CXXFLAGS -mthreads"
33061 TOOLCHAIN_DEFS
="$TOOLCHAIN_DEFS -mthreads"
33062 LDFLAGS
="$LDFLAGS -mthreads"
33064 CFLAGS
="$CFLAGS_OLD"
33068 CFLAGS
="$CFLAGS -Zmt -D__ST_MT_ERRNO__"
33069 CXXFLAGS
="$CXXFLAGS -Zmt -D__ST_MT_ERRNO__"
33070 LDFLAGS
="$LDFLAGS -Zmt"
33076 if test "$wxUSE_THREADS" = "yes"; then
33077 cat >>confdefs.h
<<\_ACEOF
33078 #define wxUSE_THREADS 1
33082 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS thread"
33084 if test "$ac_cv_func_strtok_r" = "yes"; then
33085 echo "$as_me:$LINENO: checking if -D_REENTRANT is needed" >&5
33086 echo $ECHO_N "checking if -D_REENTRANT is needed... $ECHO_C" >&6
33087 if test "$NEEDS_D_REENTRANT_FOR_R_FUNCS" = 1; then
33088 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -D_REENTRANT"
33089 echo "$as_me:$LINENO: result: yes" >&5
33090 echo "${ECHO_T}yes" >&6
33092 echo "$as_me:$LINENO: result: no" >&5
33093 echo "${ECHO_T}no" >&6
33098 if test "$WXGTK20" = 1 ; then
33099 cat >>confdefs.h
<<_ACEOF
33100 #define __WXGTK20__ $WXGTK20
33106 if test "$WXGTK12" = 1 ; then
33107 cat >>confdefs.h
<<_ACEOF
33108 #define __WXGTK12__ $WXGTK12
33113 if test "$WXGTK127" = 1 ; then
33114 cat >>confdefs.h
<<_ACEOF
33115 #define __WXGTK127__ $WXGTK127
33120 if test "$WXGPE" = 1 ; then
33121 cat >>confdefs.h
<<_ACEOF
33122 #define __WXGPE__ $WXGPE
33129 if test "$wxUSE_DEBUG_INFO" = "yes" ; then
33134 if test "$wxUSE_DEBUG_GDB" = "yes" ; then
33135 wxUSE_DEBUG_INFO
=yes
33139 if test "$wxUSE_DEBUG_FLAG" = "yes" ; then
33140 cat >>confdefs.h
<<\_ACEOF
33144 WXDEBUG_DEFINE
="-D__WXDEBUG__"
33146 if test "$wxUSE_GTK" = 1 ; then
33147 WXDEBUG_DEFINE
="-DGTK_NO_CHECK_CASTS"
33151 if test "$wxUSE_MEM_TRACING" = "yes" ; then
33152 cat >>confdefs.h
<<\_ACEOF
33153 #define wxUSE_MEMORY_TRACING 1
33156 cat >>confdefs.h
<<\_ACEOF
33157 #define wxUSE_GLOBAL_MEMORY_OPERATORS 1
33160 cat >>confdefs.h
<<\_ACEOF
33161 #define wxUSE_DEBUG_NEW_ALWAYS 1
33164 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS memcheck"
33167 if test "$wxUSE_DMALLOC" = "yes" ; then
33168 DMALLOC_LIBS
="-ldmalloc"
33172 if test "$wxUSE_PROFILE" = "yes" ; then
33177 CODE_GEN_FLAGS_CXX
=
33178 if test "$GCC" = "yes" ; then
33179 if test "$wxUSE_NO_RTTI" = "yes" ; then
33180 CODE_GEN_FLAGS_CXX
="$CODE_GEN_FLAGS_CXX -fno-rtti"
33182 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
33183 CODE_GEN_FLAGS_CXX
="$CODE_GEN_FLAGS_CXX -fno-exceptions"
33185 if test "$wxUSE_PERMISSIVE" = "yes" ; then
33186 CODE_GEN_FLAGS
="$CODE_GEN_FLAGS -fpermissive"
33191 CODE_GEN_FLAGS
="$CODE_GEN_FLAGS -mminimal-toc"
33194 CODE_GEN_FLAGS
="$CODE_GEN_FLAGS -ffunction-sections"
33200 if test "$wxUSE_OPTIMISE" = "no" ; then
33201 if test "$GCC" = yes ; then
33205 if test "$GCC" = yes ; then
33209 i586
-*-*|i686
-*-* )
33210 OPTIMISE
="${OPTIMISE} "
33219 if test "x$WXWIN_COMPATIBILITY_2_2" = "xyes"; then
33220 cat >>confdefs.h
<<\_ACEOF
33221 #define WXWIN_COMPATIBILITY_2_2 1
33225 WXWIN_COMPATIBILITY_2_4
="yes"
33228 if test "x$WXWIN_COMPATIBILITY_2_4" != "xno"; then
33229 cat >>confdefs.h
<<\_ACEOF
33230 #define WXWIN_COMPATIBILITY_2_4 1
33236 if test "$wxUSE_GUI" = "yes"; then
33237 cat >>confdefs.h
<<\_ACEOF
33238 #define wxUSE_GUI 1
33243 cat >>confdefs.h
<<\_ACEOF
33244 #define wxUSE_NOGUI 1
33250 if test "$wxUSE_UNIX" = "yes"; then
33251 cat >>confdefs.h
<<\_ACEOF
33252 #define wxUSE_UNIX 1
33258 if test "$TOOLKIT" != "MSW" -a "$USE_OS2" != 1; then
33262 if test "$wxUSE_DYNAMIC_LOADER" = "yes" -o "$wxUSE_DYNLIB_CLASS" = "yes" ; then
33263 if test "$USE_DARWIN" = 1; then
33267 for ac_func
in dlopen
33269 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33270 echo "$as_me:$LINENO: checking for $ac_func" >&5
33271 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33272 if eval "test \"\${$as_ac_var+set}\" = set"; then
33273 echo $ECHO_N "(cached) $ECHO_C" >&6
33275 cat >conftest.
$ac_ext <<_ACEOF
33278 cat confdefs.h
>>conftest.
$ac_ext
33279 cat >>conftest.
$ac_ext <<_ACEOF
33280 /* end confdefs.h. */
33281 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
33282 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33283 #define $ac_func innocuous_$ac_func
33285 /* System header to define __stub macros and hopefully few prototypes,
33286 which can conflict with char $ac_func (); below.
33287 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33288 <limits.h> exists even on freestanding compilers. */
33291 # include <limits.h>
33293 # include <assert.h>
33298 /* Override any gcc2 internal prototype to avoid an error. */
33303 /* We use char because int might match the return type of a gcc2
33304 builtin and then its argument prototype would still apply. */
33306 /* The GNU C library defines this for functions which it implements
33307 to always fail with ENOSYS. Some functions are actually named
33308 something starting with __ and the normal name is an alias. */
33309 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33312 char (*f) () = $ac_func;
33321 return f != $ac_func;
33326 rm -f conftest.
$ac_objext conftest
$ac_exeext
33327 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33328 (eval $ac_link) 2>conftest.er1
33330 grep -v '^ *+' conftest.er1
>conftest.err
33332 cat conftest.err
>&5
33333 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33334 (exit $ac_status); } &&
33335 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
33336 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33337 (eval $ac_try) 2>&5
33339 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33340 (exit $ac_status); }; } &&
33341 { ac_try
='test -s conftest$ac_exeext'
33342 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33343 (eval $ac_try) 2>&5
33345 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33346 (exit $ac_status); }; }; then
33347 eval "$as_ac_var=yes"
33349 echo "$as_me: failed program was:" >&5
33350 sed 's/^/| /' conftest.
$ac_ext >&5
33352 eval "$as_ac_var=no"
33354 rm -f conftest.err conftest.
$ac_objext \
33355 conftest
$ac_exeext conftest.
$ac_ext
33357 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33358 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33359 if test `eval echo '${'$as_ac_var'}'` = yes; then
33360 cat >>confdefs.h
<<_ACEOF
33361 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33364 cat >>confdefs.h
<<\_ACEOF
33365 #define HAVE_DLOPEN 1
33372 echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
33373 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
33374 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
33375 echo $ECHO_N "(cached) $ECHO_C" >&6
33377 ac_check_lib_save_LIBS
=$LIBS
33379 cat >conftest.
$ac_ext <<_ACEOF
33382 cat confdefs.h
>>conftest.
$ac_ext
33383 cat >>conftest.
$ac_ext <<_ACEOF
33384 /* end confdefs.h. */
33386 /* Override any gcc2 internal prototype to avoid an error. */
33390 /* We use char because int might match the return type of a gcc2
33391 builtin and then its argument prototype would still apply. */
33401 rm -f conftest.
$ac_objext conftest
$ac_exeext
33402 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33403 (eval $ac_link) 2>conftest.er1
33405 grep -v '^ *+' conftest.er1
>conftest.err
33407 cat conftest.err
>&5
33408 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33409 (exit $ac_status); } &&
33410 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
33411 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33412 (eval $ac_try) 2>&5
33414 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33415 (exit $ac_status); }; } &&
33416 { ac_try
='test -s conftest$ac_exeext'
33417 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33418 (eval $ac_try) 2>&5
33420 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33421 (exit $ac_status); }; }; then
33422 ac_cv_lib_dl_dlopen
=yes
33424 echo "$as_me: failed program was:" >&5
33425 sed 's/^/| /' conftest.
$ac_ext >&5
33427 ac_cv_lib_dl_dlopen
=no
33429 rm -f conftest.err conftest.
$ac_objext \
33430 conftest
$ac_exeext conftest.
$ac_ext
33431 LIBS
=$ac_check_lib_save_LIBS
33433 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
33434 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
33435 if test $ac_cv_lib_dl_dlopen = yes; then
33437 cat >>confdefs.h
<<\_ACEOF
33438 #define HAVE_DLOPEN 1
33442 DL_LINK
=" -ldl$DL_LINK"
33447 for ac_func
in shl_load
33449 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33450 echo "$as_me:$LINENO: checking for $ac_func" >&5
33451 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33452 if eval "test \"\${$as_ac_var+set}\" = set"; then
33453 echo $ECHO_N "(cached) $ECHO_C" >&6
33455 cat >conftest.
$ac_ext <<_ACEOF
33458 cat confdefs.h
>>conftest.
$ac_ext
33459 cat >>conftest.
$ac_ext <<_ACEOF
33460 /* end confdefs.h. */
33461 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
33462 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33463 #define $ac_func innocuous_$ac_func
33465 /* System header to define __stub macros and hopefully few prototypes,
33466 which can conflict with char $ac_func (); below.
33467 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33468 <limits.h> exists even on freestanding compilers. */
33471 # include <limits.h>
33473 # include <assert.h>
33478 /* Override any gcc2 internal prototype to avoid an error. */
33483 /* We use char because int might match the return type of a gcc2
33484 builtin and then its argument prototype would still apply. */
33486 /* The GNU C library defines this for functions which it implements
33487 to always fail with ENOSYS. Some functions are actually named
33488 something starting with __ and the normal name is an alias. */
33489 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33492 char (*f) () = $ac_func;
33501 return f != $ac_func;
33506 rm -f conftest.
$ac_objext conftest
$ac_exeext
33507 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33508 (eval $ac_link) 2>conftest.er1
33510 grep -v '^ *+' conftest.er1
>conftest.err
33512 cat conftest.err
>&5
33513 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33514 (exit $ac_status); } &&
33515 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
33516 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33517 (eval $ac_try) 2>&5
33519 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33520 (exit $ac_status); }; } &&
33521 { ac_try
='test -s conftest$ac_exeext'
33522 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33523 (eval $ac_try) 2>&5
33525 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33526 (exit $ac_status); }; }; then
33527 eval "$as_ac_var=yes"
33529 echo "$as_me: failed program was:" >&5
33530 sed 's/^/| /' conftest.
$ac_ext >&5
33532 eval "$as_ac_var=no"
33534 rm -f conftest.err conftest.
$ac_objext \
33535 conftest
$ac_exeext conftest.
$ac_ext
33537 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33538 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33539 if test `eval echo '${'$as_ac_var'}'` = yes; then
33540 cat >>confdefs.h
<<_ACEOF
33541 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33544 cat >>confdefs.h
<<\_ACEOF
33545 #define HAVE_SHL_LOAD 1
33552 echo "$as_me:$LINENO: checking for dld in -lshl_load" >&5
33553 echo $ECHO_N "checking for dld in -lshl_load... $ECHO_C" >&6
33554 if test "${ac_cv_lib_shl_load_dld+set}" = set; then
33555 echo $ECHO_N "(cached) $ECHO_C" >&6
33557 ac_check_lib_save_LIBS
=$LIBS
33558 LIBS
="-lshl_load $LIBS"
33559 cat >conftest.
$ac_ext <<_ACEOF
33562 cat confdefs.h
>>conftest.
$ac_ext
33563 cat >>conftest.
$ac_ext <<_ACEOF
33564 /* end confdefs.h. */
33566 /* Override any gcc2 internal prototype to avoid an error. */
33570 /* We use char because int might match the return type of a gcc2
33571 builtin and then its argument prototype would still apply. */
33581 rm -f conftest.
$ac_objext conftest
$ac_exeext
33582 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33583 (eval $ac_link) 2>conftest.er1
33585 grep -v '^ *+' conftest.er1
>conftest.err
33587 cat conftest.err
>&5
33588 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33589 (exit $ac_status); } &&
33590 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
33591 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33592 (eval $ac_try) 2>&5
33594 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33595 (exit $ac_status); }; } &&
33596 { ac_try
='test -s conftest$ac_exeext'
33597 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33598 (eval $ac_try) 2>&5
33600 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33601 (exit $ac_status); }; }; then
33602 ac_cv_lib_shl_load_dld
=yes
33604 echo "$as_me: failed program was:" >&5
33605 sed 's/^/| /' conftest.
$ac_ext >&5
33607 ac_cv_lib_shl_load_dld
=no
33609 rm -f conftest.err conftest.
$ac_objext \
33610 conftest
$ac_exeext conftest.
$ac_ext
33611 LIBS
=$ac_check_lib_save_LIBS
33613 echo "$as_me:$LINENO: result: $ac_cv_lib_shl_load_dld" >&5
33614 echo "${ECHO_T}$ac_cv_lib_shl_load_dld" >&6
33615 if test $ac_cv_lib_shl_load_dld = yes; then
33618 DL_LINK
=" -ldld$DL_LINK"
33634 if test "$HAVE_DL_FUNCS" = 1; then
33636 for ac_func
in dlerror
33638 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33639 echo "$as_me:$LINENO: checking for $ac_func" >&5
33640 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33641 if eval "test \"\${$as_ac_var+set}\" = set"; then
33642 echo $ECHO_N "(cached) $ECHO_C" >&6
33644 cat >conftest.
$ac_ext <<_ACEOF
33647 cat confdefs.h
>>conftest.
$ac_ext
33648 cat >>conftest.
$ac_ext <<_ACEOF
33649 /* end confdefs.h. */
33650 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
33651 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33652 #define $ac_func innocuous_$ac_func
33654 /* System header to define __stub macros and hopefully few prototypes,
33655 which can conflict with char $ac_func (); below.
33656 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33657 <limits.h> exists even on freestanding compilers. */
33660 # include <limits.h>
33662 # include <assert.h>
33667 /* Override any gcc2 internal prototype to avoid an error. */
33672 /* We use char because int might match the return type of a gcc2
33673 builtin and then its argument prototype would still apply. */
33675 /* The GNU C library defines this for functions which it implements
33676 to always fail with ENOSYS. Some functions are actually named
33677 something starting with __ and the normal name is an alias. */
33678 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33681 char (*f) () = $ac_func;
33690 return f != $ac_func;
33695 rm -f conftest.
$ac_objext conftest
$ac_exeext
33696 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33697 (eval $ac_link) 2>conftest.er1
33699 grep -v '^ *+' conftest.er1
>conftest.err
33701 cat conftest.err
>&5
33702 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33703 (exit $ac_status); } &&
33704 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
33705 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33706 (eval $ac_try) 2>&5
33708 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33709 (exit $ac_status); }; } &&
33710 { ac_try
='test -s conftest$ac_exeext'
33711 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33712 (eval $ac_try) 2>&5
33714 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33715 (exit $ac_status); }; }; then
33716 eval "$as_ac_var=yes"
33718 echo "$as_me: failed program was:" >&5
33719 sed 's/^/| /' conftest.
$ac_ext >&5
33721 eval "$as_ac_var=no"
33723 rm -f conftest.err conftest.
$ac_objext \
33724 conftest
$ac_exeext conftest.
$ac_ext
33726 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33727 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33728 if test `eval echo '${'$as_ac_var'}'` = yes; then
33729 cat >>confdefs.h
<<_ACEOF
33730 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33732 cat >>confdefs.h
<<\_ACEOF
33733 #define HAVE_DLERROR 1
33738 echo "$as_me:$LINENO: checking for dlerror in -ldl" >&5
33739 echo $ECHO_N "checking for dlerror in -ldl... $ECHO_C" >&6
33740 if test "${ac_cv_lib_dl_dlerror+set}" = set; then
33741 echo $ECHO_N "(cached) $ECHO_C" >&6
33743 ac_check_lib_save_LIBS
=$LIBS
33745 cat >conftest.
$ac_ext <<_ACEOF
33748 cat confdefs.h
>>conftest.
$ac_ext
33749 cat >>conftest.
$ac_ext <<_ACEOF
33750 /* end confdefs.h. */
33752 /* Override any gcc2 internal prototype to avoid an error. */
33756 /* We use char because int might match the return type of a gcc2
33757 builtin and then its argument prototype would still apply. */
33767 rm -f conftest.
$ac_objext conftest
$ac_exeext
33768 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33769 (eval $ac_link) 2>conftest.er1
33771 grep -v '^ *+' conftest.er1
>conftest.err
33773 cat conftest.err
>&5
33774 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33775 (exit $ac_status); } &&
33776 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
33777 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33778 (eval $ac_try) 2>&5
33780 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33781 (exit $ac_status); }; } &&
33782 { ac_try
='test -s conftest$ac_exeext'
33783 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33784 (eval $ac_try) 2>&5
33786 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33787 (exit $ac_status); }; }; then
33788 ac_cv_lib_dl_dlerror
=yes
33790 echo "$as_me: failed program was:" >&5
33791 sed 's/^/| /' conftest.
$ac_ext >&5
33793 ac_cv_lib_dl_dlerror
=no
33795 rm -f conftest.err conftest.
$ac_objext \
33796 conftest
$ac_exeext conftest.
$ac_ext
33797 LIBS
=$ac_check_lib_save_LIBS
33799 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlerror" >&5
33800 echo "${ECHO_T}$ac_cv_lib_dl_dlerror" >&6
33801 if test $ac_cv_lib_dl_dlerror = yes; then
33802 cat >>confdefs.h
<<\_ACEOF
33803 #define HAVE_DLERROR 1
33816 if test "$HAVE_DL_FUNCS" = 0; then
33817 if test "$HAVE_SHL_FUNCS" = 0; then
33818 if test "$USE_UNIX" = 1; then
33819 { echo "$as_me:$LINENO: WARNING: Missing dynamic loading support, several features will be disabled" >&5
33820 echo "$as_me: WARNING: Missing dynamic loading support, several features will be disabled" >&2;}
33821 wxUSE_DYNAMIC_LOADER
=no
33822 wxUSE_DYNLIB_CLASS
=no
33824 { echo "$as_me:$LINENO: WARNING: Assuming wxLibrary class works on this platform" >&5
33825 echo "$as_me: WARNING: Assuming wxLibrary class works on this platform" >&2;}
33832 if test "$wxUSE_DYNAMIC_LOADER" = "yes" ; then
33833 cat >>confdefs.h
<<\_ACEOF
33834 #define wxUSE_DYNAMIC_LOADER 1
33838 if test "$wxUSE_DYNLIB_CLASS" = "yes" ; then
33839 cat >>confdefs.h
<<\_ACEOF
33840 #define wxUSE_DYNLIB_CLASS 1
33847 if test "$wxUSE_PLUGINS" = "yes" ; then
33848 if test "$wxUSE_SHARED" = "no" ; then
33849 { echo "$as_me:$LINENO: WARNING: plugins supported only in shared build, disabling" >&5
33850 echo "$as_me: WARNING: plugins supported only in shared build, disabling" >&2;}
33853 if test "$wxUSE_MONOLITHIC" = "yes" ; then
33854 { echo "$as_me:$LINENO: WARNING: plugins not supported monolithic build, disabling" >&5
33855 echo "$as_me: WARNING: plugins not supported monolithic build, disabling" >&2;}
33858 if test "$wxUSE_DYNLIB_CLASS" = "no" ; then
33859 { echo "$as_me:$LINENO: WARNING: plugins require wxDynamicLibrary, disabling" >&5
33860 echo "$as_me: WARNING: plugins require wxDynamicLibrary, disabling" >&2;}
33863 if test "$wxUSE_PLUGINS" = "yes" ; then
33864 cat >>confdefs.h
<<\_ACEOF
33865 #define wxUSE_PLUGINS 1
33872 if test "$wxUSE_STL" = "yes"; then
33873 cat >>confdefs.h
<<\_ACEOF
33874 #define wxUSE_STL 1
33879 if test "$wxUSE_APPLE_IEEE" = "yes"; then
33880 cat >>confdefs.h
<<\_ACEOF
33881 #define wxUSE_APPLE_IEEE 1
33886 if test "$wxUSE_TIMER" = "yes"; then
33887 cat >>confdefs.h
<<\_ACEOF
33888 #define wxUSE_TIMER 1
33894 if test "$wxUSE_SOUND" = "yes"; then
33895 if test "$USE_UNIX" = "1" ; then
33897 for ac_header
in sys
/soundcard.h
33899 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
33900 if eval "test \"\${$as_ac_Header+set}\" = set"; then
33901 echo "$as_me:$LINENO: checking for $ac_header" >&5
33902 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
33903 if eval "test \"\${$as_ac_Header+set}\" = set"; then
33904 echo $ECHO_N "(cached) $ECHO_C" >&6
33906 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
33907 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
33909 # Is the header compilable?
33910 echo "$as_me:$LINENO: checking $ac_header usability" >&5
33911 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
33912 cat >conftest.
$ac_ext <<_ACEOF
33915 cat confdefs.h
>>conftest.
$ac_ext
33916 cat >>conftest.
$ac_ext <<_ACEOF
33917 /* end confdefs.h. */
33918 $ac_includes_default
33919 #include <$ac_header>
33921 rm -f conftest.
$ac_objext
33922 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33923 (eval $ac_compile) 2>conftest.er1
33925 grep -v '^ *+' conftest.er1
>conftest.err
33927 cat conftest.err
>&5
33928 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33929 (exit $ac_status); } &&
33930 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
33931 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33932 (eval $ac_try) 2>&5
33934 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33935 (exit $ac_status); }; } &&
33936 { ac_try
='test -s conftest.$ac_objext'
33937 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33938 (eval $ac_try) 2>&5
33940 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33941 (exit $ac_status); }; }; then
33942 ac_header_compiler
=yes
33944 echo "$as_me: failed program was:" >&5
33945 sed 's/^/| /' conftest.
$ac_ext >&5
33947 ac_header_compiler
=no
33949 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
33950 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
33951 echo "${ECHO_T}$ac_header_compiler" >&6
33953 # Is the header present?
33954 echo "$as_me:$LINENO: checking $ac_header presence" >&5
33955 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
33956 cat >conftest.
$ac_ext <<_ACEOF
33959 cat confdefs.h
>>conftest.
$ac_ext
33960 cat >>conftest.
$ac_ext <<_ACEOF
33961 /* end confdefs.h. */
33962 #include <$ac_header>
33964 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
33965 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
33967 grep -v '^ *+' conftest.er1
>conftest.err
33969 cat conftest.err
>&5
33970 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33971 (exit $ac_status); } >/dev
/null
; then
33972 if test -s conftest.err
; then
33973 ac_cpp_err
=$ac_c_preproc_warn_flag
33974 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
33981 if test -z "$ac_cpp_err"; then
33982 ac_header_preproc
=yes
33984 echo "$as_me: failed program was:" >&5
33985 sed 's/^/| /' conftest.
$ac_ext >&5
33987 ac_header_preproc
=no
33989 rm -f conftest.err conftest.
$ac_ext
33990 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
33991 echo "${ECHO_T}$ac_header_preproc" >&6
33993 # So? What about this header?
33994 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
33996 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
33997 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
33998 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
33999 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
34000 ac_header_preproc
=yes
34003 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
34004 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
34005 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
34006 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
34007 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
34008 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
34009 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
34010 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
34011 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
34012 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
34013 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
34014 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
34017 ## ----------------------------------------- ##
34018 ## Report this to wx-dev@lists.wxwindows.org ##
34019 ## ----------------------------------------- ##
34022 sed "s/^/$as_me: WARNING: /" >&2
34025 echo "$as_me:$LINENO: checking for $ac_header" >&5
34026 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
34027 if eval "test \"\${$as_ac_Header+set}\" = set"; then
34028 echo $ECHO_N "(cached) $ECHO_C" >&6
34030 eval "$as_ac_Header=\$ac_header_preproc"
34032 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
34033 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
34036 if test `eval echo '${'$as_ac_Header'}'` = yes; then
34037 cat >>confdefs.h
<<_ACEOF
34038 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
34046 if test "$wxUSE_LIBSDL" != "no"; then
34048 # Check whether --with-sdl-prefix or --without-sdl-prefix was given.
34049 if test "${with_sdl_prefix+set}" = set; then
34050 withval
="$with_sdl_prefix"
34051 sdl_prefix
="$withval"
34056 # Check whether --with-sdl-exec-prefix or --without-sdl-exec-prefix was given.
34057 if test "${with_sdl_exec_prefix+set}" = set; then
34058 withval
="$with_sdl_exec_prefix"
34059 sdl_exec_prefix
="$withval"
34063 # Check whether --enable-sdltest or --disable-sdltest was given.
34064 if test "${enable_sdltest+set}" = set; then
34065 enableval
="$enable_sdltest"
34071 if test x
$sdl_exec_prefix != x
; then
34072 sdl_args
="$sdl_args --exec-prefix=$sdl_exec_prefix"
34073 if test x
${SDL_CONFIG+set} != xset
; then
34074 SDL_CONFIG
=$sdl_exec_prefix/bin
/sdl
-config
34077 if test x
$sdl_prefix != x
; then
34078 sdl_args
="$sdl_args --prefix=$sdl_prefix"
34079 if test x
${SDL_CONFIG+set} != xset
; then
34080 SDL_CONFIG
=$sdl_prefix/bin
/sdl
-config
34085 PATH
="$prefix/bin:$prefix/usr/bin:$PATH"
34086 # Extract the first word of "sdl-config", so it can be a program name with args.
34087 set dummy sdl
-config; ac_word
=$2
34088 echo "$as_me:$LINENO: checking for $ac_word" >&5
34089 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
34090 if test "${ac_cv_path_SDL_CONFIG+set}" = set; then
34091 echo $ECHO_N "(cached) $ECHO_C" >&6
34093 case $SDL_CONFIG in
34095 ac_cv_path_SDL_CONFIG
="$SDL_CONFIG" # Let the user override the test with a path.
34098 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
34099 for as_dir
in $PATH
34102 test -z "$as_dir" && as_dir
=.
34103 for ac_exec_ext
in '' $ac_executable_extensions; do
34104 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
34105 ac_cv_path_SDL_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
34106 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
34112 test -z "$ac_cv_path_SDL_CONFIG" && ac_cv_path_SDL_CONFIG
="no"
34116 SDL_CONFIG
=$ac_cv_path_SDL_CONFIG
34118 if test -n "$SDL_CONFIG"; then
34119 echo "$as_me:$LINENO: result: $SDL_CONFIG" >&5
34120 echo "${ECHO_T}$SDL_CONFIG" >&6
34122 echo "$as_me:$LINENO: result: no" >&5
34123 echo "${ECHO_T}no" >&6
34126 min_sdl_version
=1.2.0
34127 echo "$as_me:$LINENO: checking for SDL - version >= $min_sdl_version" >&5
34128 echo $ECHO_N "checking for SDL - version >= $min_sdl_version... $ECHO_C" >&6
34130 if test "$SDL_CONFIG" = "no" ; then
34133 SDL_CFLAGS
=`$SDL_CONFIG $sdlconf_args --cflags`
34134 SDL_LIBS
=`$SDL_CONFIG $sdlconf_args --libs`
34136 sdl_major_version
=`$SDL_CONFIG $sdl_args --version | \
34137 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
34138 sdl_minor_version
=`$SDL_CONFIG $sdl_args --version | \
34139 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
34140 sdl_micro_version
=`$SDL_CONFIG $sdl_config_args --version | \
34141 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
34142 if test "x$enable_sdltest" = "xyes" ; then
34143 ac_save_CFLAGS
="$CFLAGS"
34144 ac_save_LIBS
="$LIBS"
34145 CFLAGS
="$CFLAGS $SDL_CFLAGS"
34146 LIBS
="$LIBS $SDL_LIBS"
34148 if test "$cross_compiling" = yes; then
34149 echo $ac_n "cross compiling; assumed OK... $ac_c"
34151 cat >conftest.
$ac_ext <<_ACEOF
34154 cat confdefs.h
>>conftest.
$ac_ext
34155 cat >>conftest.
$ac_ext <<_ACEOF
34156 /* end confdefs.h. */
34159 #include <stdlib.h>
34160 #include <string.h>
34164 my_strdup (char *str)
34170 new_str = (char *)malloc ((strlen (str) + 1) * sizeof(char));
34171 strcpy (new_str, str);
34179 int main (int argc, char *argv[])
34181 int major, minor, micro;
34184 /* This hangs on some systems (?)
34185 system ("touch conf.sdltest");
34187 { FILE *fp = fopen("conf.sdltest", "a"); if ( fp ) fclose(fp); }
34189 /* HP/UX 9 (%@#!) writes to sscanf strings */
34190 tmp_version = my_strdup("$min_sdl_version");
34191 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
34192 printf("%s, bad version string\n", "$min_sdl_version");
34196 if (($sdl_major_version > major) ||
34197 (($sdl_major_version == major) && ($sdl_minor_version > minor)) ||
34198 (($sdl_major_version == major) && ($sdl_minor_version == minor) && ($sdl_micro_version >= micro)))
34204 printf("\n*** 'sdl-config --version' returned %d.%d.%d, but the minimum version\n", $sdl_major_version, $sdl_minor_version, $sdl_micro_version);
34205 printf("*** of SDL required is %d.%d.%d. If sdl-config is correct, then it is\n", major, minor, micro);
34206 printf("*** best to upgrade to the required version.\n");
34207 printf("*** If sdl-config was wrong, set the environment variable SDL_CONFIG\n");
34208 printf("*** to point to the correct copy of sdl-config, and remove the file\n");
34209 printf("*** config.cache before re-running configure\n");
34216 rm -f conftest
$ac_exeext
34217 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34218 (eval $ac_link) 2>&5
34220 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34221 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
34222 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34223 (eval $ac_try) 2>&5
34225 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34226 (exit $ac_status); }; }; then
34229 echo "$as_me: program exited with status $ac_status" >&5
34230 echo "$as_me: failed program was:" >&5
34231 sed 's/^/| /' conftest.
$ac_ext >&5
34233 ( exit $ac_status )
34236 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
34238 CFLAGS
="$ac_save_CFLAGS"
34239 LIBS
="$ac_save_LIBS"
34242 if test "x$no_sdl" = x
; then
34243 echo "$as_me:$LINENO: result: yes" >&5
34244 echo "${ECHO_T}yes" >&6
34246 EXTRALIBS_SDL
="$SDL_LIBS"
34247 CXXFLAGS
="$CXXFLAGS $SDL_CFLAGS"
34248 cat >>confdefs.h
<<\_ACEOF
34249 #define wxUSE_LIBSDL 1
34254 echo "$as_me:$LINENO: result: no" >&5
34255 echo "${ECHO_T}no" >&6
34256 if test "$SDL_CONFIG" = "no" ; then
34257 echo "*** The sdl-config script installed by SDL could not be found"
34258 echo "*** If SDL was installed in PREFIX, make sure PREFIX/bin is in"
34259 echo "*** your path, or set the SDL_CONFIG environment variable to the"
34260 echo "*** full path to sdl-config."
34262 if test -f conf.sdltest
; then
34265 echo "*** Could not run SDL test program, checking why..."
34266 CFLAGS
="$CFLAGS $SDL_CFLAGS"
34267 LIBS
="$LIBS $SDL_LIBS"
34268 cat >conftest.
$ac_ext <<_ACEOF
34271 cat confdefs.h
>>conftest.
$ac_ext
34272 cat >>conftest.
$ac_ext <<_ACEOF
34273 /* end confdefs.h. */
34278 int main(int argc, char *argv[])
34281 #define main K_and_R_C_main
34291 rm -f conftest.
$ac_objext conftest
$ac_exeext
34292 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34293 (eval $ac_link) 2>conftest.er1
34295 grep -v '^ *+' conftest.er1
>conftest.err
34297 cat conftest.err
>&5
34298 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34299 (exit $ac_status); } &&
34300 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
34301 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34302 (eval $ac_try) 2>&5
34304 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34305 (exit $ac_status); }; } &&
34306 { ac_try
='test -s conftest$ac_exeext'
34307 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34308 (eval $ac_try) 2>&5
34310 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34311 (exit $ac_status); }; }; then
34312 echo "*** The test program compiled, but did not run. This usually means"
34313 echo "*** that the run-time linker is not finding SDL or finding the wrong"
34314 echo "*** version of SDL. If it is not finding SDL, you'll need to set your"
34315 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
34316 echo "*** to the installed location Also, make sure you have run ldconfig if that"
34317 echo "*** is required on your system"
34319 echo "*** If you have an old version installed, it is best to remove it, although"
34320 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
34322 echo "$as_me: failed program was:" >&5
34323 sed 's/^/| /' conftest.
$ac_ext >&5
34325 echo "*** The test program failed to compile or link. See the file config.log for the"
34326 echo "*** exact error that occured. This usually means SDL was incorrectly installed"
34327 echo "*** or that you have moved SDL since it was installed. In the latter case, you"
34328 echo "*** may want to edit the sdl-config script: $SDL_CONFIG"
34330 rm -f conftest.err conftest.
$ac_objext \
34331 conftest
$ac_exeext conftest.
$ac_ext
34332 CFLAGS
="$ac_save_CFLAGS"
34333 LIBS
="$ac_save_LIBS"
34344 if test "$wxUSE_LIBSDL" = "yes" -a "$wxUSE_PLUGINS" = "yes" ; then
34350 cat >>confdefs.h
<<\_ACEOF
34351 #define wxUSE_SOUND 1
34354 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS sound"
34357 if test "$wxUSE_CMDLINE_PARSER" = "yes"; then
34358 cat >>confdefs.h
<<\_ACEOF
34359 #define wxUSE_CMDLINE_PARSER 1
34364 if test "$wxUSE_STOPWATCH" = "yes"; then
34365 cat >>confdefs.h
<<\_ACEOF
34366 #define wxUSE_STOPWATCH 1
34371 if test "$wxUSE_DATETIME" = "yes"; then
34372 cat >>confdefs.h
<<\_ACEOF
34373 #define wxUSE_DATETIME 1
34378 if test "$wxUSE_FILE" = "yes"; then
34379 cat >>confdefs.h
<<\_ACEOF
34380 #define wxUSE_FILE 1
34385 if test "$wxUSE_FFILE" = "yes"; then
34386 cat >>confdefs.h
<<\_ACEOF
34387 #define wxUSE_FFILE 1
34392 if test "$wxUSE_FILESYSTEM" = "yes"; then
34393 cat >>confdefs.h
<<\_ACEOF
34394 #define wxUSE_FILESYSTEM 1
34399 if test "$wxUSE_FS_ZIP" = "yes"; then
34400 cat >>confdefs.h
<<\_ACEOF
34401 #define wxUSE_FS_ZIP 1
34406 if test "$wxUSE_ZIPSTREAM" = "yes"; then
34407 cat >>confdefs.h
<<\_ACEOF
34408 #define wxUSE_ZIPSTREAM 1
34413 if test "$wxUSE_GZSTREAM" = "yes"; then
34414 cat >>confdefs.h
<<\_ACEOF
34415 #define wxUSE_GZSTREAM 1
34420 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
34421 cat >>confdefs.h
<<\_ACEOF
34422 #define wxUSE_ON_FATAL_EXCEPTION 1
34427 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
34428 cat >>confdefs.h
<<\_ACEOF
34429 #define wxUSE_SNGLINST_CHECKER 1
34434 if test "$wxUSE_BUSYINFO" = "yes"; then
34435 cat >>confdefs.h
<<\_ACEOF
34436 #define wxUSE_BUSYINFO 1
34441 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
34442 cat >>confdefs.h
<<\_ACEOF
34443 #define wxUSE_STD_IOSTREAM 1
34448 if test "$wxUSE_TEXTBUFFER" = "yes"; then
34449 cat >>confdefs.h
<<\_ACEOF
34450 #define wxUSE_TEXTBUFFER 1
34455 if test "$wxUSE_TEXTFILE" = "yes"; then
34456 if test "$wxUSE_FILE" != "yes" -o "$wxUSE_TEXTBUFFER" != "yes" ; then
34457 { echo "$as_me:$LINENO: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&5
34458 echo "$as_me: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&2;}
34460 cat >>confdefs.h
<<\_ACEOF
34461 #define wxUSE_TEXTFILE 1
34467 if test "$wxUSE_CONFIG" = "yes" ; then
34468 if test "$wxUSE_TEXTFILE" != "yes"; then
34469 { echo "$as_me:$LINENO: WARNING: wxConfig requires wxTextFile... disabled" >&5
34470 echo "$as_me: WARNING: wxConfig requires wxTextFile... disabled" >&2;}
34472 cat >>confdefs.h
<<\_ACEOF
34473 #define wxUSE_CONFIG 1
34476 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS config"
34480 if test "$wxUSE_INTL" = "yes" ; then
34481 if test "$wxUSE_FILE" != "yes"; then
34482 { echo "$as_me:$LINENO: WARNING: I18n code requires wxFile... disabled" >&5
34483 echo "$as_me: WARNING: I18n code requires wxFile... disabled" >&2;}
34485 cat >>confdefs.h
<<\_ACEOF
34486 #define wxUSE_INTL 1
34489 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS internat"
34490 GUIDIST
="$GUIDIST INTL_DIST"
34494 if test "$wxUSE_LOG" = "yes"; then
34495 cat >>confdefs.h
<<\_ACEOF
34496 #define wxUSE_LOG 1
34500 if test "$wxUSE_LOGGUI" = "yes"; then
34501 cat >>confdefs.h
<<\_ACEOF
34502 #define wxUSE_LOGGUI 1
34507 if test "$wxUSE_LOGWINDOW" = "yes"; then
34508 cat >>confdefs.h
<<\_ACEOF
34509 #define wxUSE_LOGWINDOW 1
34514 if test "$wxUSE_LOGDIALOG" = "yes"; then
34515 cat >>confdefs.h
<<\_ACEOF
34516 #define wxUSE_LOG_DIALOG 1
34522 if test "$wxUSE_LONGLONG" = "yes"; then
34523 cat >>confdefs.h
<<\_ACEOF
34524 #define wxUSE_LONGLONG 1
34529 if test "$wxUSE_GEOMETRY" = "yes"; then
34530 cat >>confdefs.h
<<\_ACEOF
34531 #define wxUSE_GEOMETRY 1
34536 if test "$wxUSE_DIALUP_MANAGER" = "yes" ; then
34537 cat >>confdefs.h
<<\_ACEOF
34538 #define wxUSE_DIALUP_MANAGER 1
34541 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS dialup"
34544 if test "$wxUSE_STREAMS" = "yes" ; then
34545 cat >>confdefs.h
<<\_ACEOF
34546 #define wxUSE_STREAMS 1
34552 if test "$wxUSE_DATETIME" = "yes"; then
34554 for ac_func
in strptime
34556 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34557 echo "$as_me:$LINENO: checking for $ac_func" >&5
34558 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
34559 if eval "test \"\${$as_ac_var+set}\" = set"; then
34560 echo $ECHO_N "(cached) $ECHO_C" >&6
34562 cat >conftest.
$ac_ext <<_ACEOF
34565 cat confdefs.h
>>conftest.
$ac_ext
34566 cat >>conftest.
$ac_ext <<_ACEOF
34567 /* end confdefs.h. */
34568 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34569 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34570 #define $ac_func innocuous_$ac_func
34572 /* System header to define __stub macros and hopefully few prototypes,
34573 which can conflict with char $ac_func (); below.
34574 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34575 <limits.h> exists even on freestanding compilers. */
34578 # include <limits.h>
34580 # include <assert.h>
34585 /* Override any gcc2 internal prototype to avoid an error. */
34590 /* We use char because int might match the return type of a gcc2
34591 builtin and then its argument prototype would still apply. */
34593 /* The GNU C library defines this for functions which it implements
34594 to always fail with ENOSYS. Some functions are actually named
34595 something starting with __ and the normal name is an alias. */
34596 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
34599 char (*f) () = $ac_func;
34608 return f != $ac_func;
34613 rm -f conftest.
$ac_objext conftest
$ac_exeext
34614 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34615 (eval $ac_link) 2>conftest.er1
34617 grep -v '^ *+' conftest.er1
>conftest.err
34619 cat conftest.err
>&5
34620 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34621 (exit $ac_status); } &&
34622 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
34623 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34624 (eval $ac_try) 2>&5
34626 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34627 (exit $ac_status); }; } &&
34628 { ac_try
='test -s conftest$ac_exeext'
34629 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34630 (eval $ac_try) 2>&5
34632 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34633 (exit $ac_status); }; }; then
34634 eval "$as_ac_var=yes"
34636 echo "$as_me: failed program was:" >&5
34637 sed 's/^/| /' conftest.
$ac_ext >&5
34639 eval "$as_ac_var=no"
34641 rm -f conftest.err conftest.
$ac_objext \
34642 conftest
$ac_exeext conftest.
$ac_ext
34644 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
34645 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
34646 if test `eval echo '${'$as_ac_var'}'` = yes; then
34647 cat >>confdefs.h
<<_ACEOF
34648 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34655 echo "$as_me:$LINENO: checking for timezone variable in <time.h>" >&5
34656 echo $ECHO_N "checking for timezone variable in <time.h>... $ECHO_C" >&6
34657 if test "${wx_cv_var_timezone+set}" = set; then
34658 echo $ECHO_N "(cached) $ECHO_C" >&6
34661 cat >conftest.
$ac_ext <<_ACEOF
34664 cat confdefs.h
>>conftest.
$ac_ext
34665 cat >>conftest.
$ac_ext <<_ACEOF
34666 /* end confdefs.h. */
34681 rm -f conftest.
$ac_objext
34682 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34683 (eval $ac_compile) 2>conftest.er1
34685 grep -v '^ *+' conftest.er1
>conftest.err
34687 cat conftest.err
>&5
34688 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34689 (exit $ac_status); } &&
34690 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
34691 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34692 (eval $ac_try) 2>&5
34694 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34695 (exit $ac_status); }; } &&
34696 { ac_try
='test -s conftest.$ac_objext'
34697 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34698 (eval $ac_try) 2>&5
34700 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34701 (exit $ac_status); }; }; then
34703 wx_cv_var_timezone
=timezone
34706 echo "$as_me: failed program was:" >&5
34707 sed 's/^/| /' conftest.
$ac_ext >&5
34710 cat >conftest.
$ac_ext <<_ACEOF
34713 cat confdefs.h
>>conftest.
$ac_ext
34714 cat >>conftest.
$ac_ext <<_ACEOF
34715 /* end confdefs.h. */
34730 rm -f conftest.
$ac_objext
34731 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34732 (eval $ac_compile) 2>conftest.er1
34734 grep -v '^ *+' conftest.er1
>conftest.err
34736 cat conftest.err
>&5
34737 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34738 (exit $ac_status); } &&
34739 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
34740 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34741 (eval $ac_try) 2>&5
34743 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34744 (exit $ac_status); }; } &&
34745 { ac_try
='test -s conftest.$ac_objext'
34746 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34747 (eval $ac_try) 2>&5
34749 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34750 (exit $ac_status); }; }; then
34752 wx_cv_var_timezone
=_timezone
34755 echo "$as_me: failed program was:" >&5
34756 sed 's/^/| /' conftest.
$ac_ext >&5
34759 cat >conftest.
$ac_ext <<_ACEOF
34762 cat confdefs.h
>>conftest.
$ac_ext
34763 cat >>conftest.
$ac_ext <<_ACEOF
34764 /* end confdefs.h. */
34779 rm -f conftest.
$ac_objext
34780 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34781 (eval $ac_compile) 2>conftest.er1
34783 grep -v '^ *+' conftest.er1
>conftest.err
34785 cat conftest.err
>&5
34786 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34787 (exit $ac_status); } &&
34788 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
34789 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34790 (eval $ac_try) 2>&5
34792 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34793 (exit $ac_status); }; } &&
34794 { ac_try
='test -s conftest.$ac_objext'
34795 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34796 (eval $ac_try) 2>&5
34798 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34799 (exit $ac_status); }; }; then
34801 wx_cv_var_timezone
=__timezone
34804 echo "$as_me: failed program was:" >&5
34805 sed 's/^/| /' conftest.
$ac_ext >&5
34808 if test "$USE_DOS" = 0 ; then
34809 { echo "$as_me:$LINENO: WARNING: no timezone variable" >&5
34810 echo "$as_me: WARNING: no timezone variable" >&2;}
34815 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
34819 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
34823 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
34827 echo "$as_me:$LINENO: result: $wx_cv_var_timezone" >&5
34828 echo "${ECHO_T}$wx_cv_var_timezone" >&6
34830 if test "x$wx_cv_var_timezone" != x
; then
34831 cat >>confdefs.h
<<_ACEOF
34832 #define WX_TIMEZONE $wx_cv_var_timezone
34838 for ac_func
in localtime
34840 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34841 echo "$as_me:$LINENO: checking for $ac_func" >&5
34842 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
34843 if eval "test \"\${$as_ac_var+set}\" = set"; then
34844 echo $ECHO_N "(cached) $ECHO_C" >&6
34846 cat >conftest.
$ac_ext <<_ACEOF
34849 cat confdefs.h
>>conftest.
$ac_ext
34850 cat >>conftest.
$ac_ext <<_ACEOF
34851 /* end confdefs.h. */
34852 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34853 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34854 #define $ac_func innocuous_$ac_func
34856 /* System header to define __stub macros and hopefully few prototypes,
34857 which can conflict with char $ac_func (); below.
34858 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34859 <limits.h> exists even on freestanding compilers. */
34862 # include <limits.h>
34864 # include <assert.h>
34869 /* Override any gcc2 internal prototype to avoid an error. */
34874 /* We use char because int might match the return type of a gcc2
34875 builtin and then its argument prototype would still apply. */
34877 /* The GNU C library defines this for functions which it implements
34878 to always fail with ENOSYS. Some functions are actually named
34879 something starting with __ and the normal name is an alias. */
34880 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
34883 char (*f) () = $ac_func;
34892 return f != $ac_func;
34897 rm -f conftest.
$ac_objext conftest
$ac_exeext
34898 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34899 (eval $ac_link) 2>conftest.er1
34901 grep -v '^ *+' conftest.er1
>conftest.err
34903 cat conftest.err
>&5
34904 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34905 (exit $ac_status); } &&
34906 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
34907 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34908 (eval $ac_try) 2>&5
34910 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34911 (exit $ac_status); }; } &&
34912 { ac_try
='test -s conftest$ac_exeext'
34913 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34914 (eval $ac_try) 2>&5
34916 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34917 (exit $ac_status); }; }; then
34918 eval "$as_ac_var=yes"
34920 echo "$as_me: failed program was:" >&5
34921 sed 's/^/| /' conftest.
$ac_ext >&5
34923 eval "$as_ac_var=no"
34925 rm -f conftest.err conftest.
$ac_objext \
34926 conftest
$ac_exeext conftest.
$ac_ext
34928 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
34929 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
34930 if test `eval echo '${'$as_ac_var'}'` = yes; then
34931 cat >>confdefs.h
<<_ACEOF
34932 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34939 if test "$ac_cv_func_localtime" = "yes"; then
34940 echo "$as_me:$LINENO: checking for tm_gmtoff in struct tm" >&5
34941 echo $ECHO_N "checking for tm_gmtoff in struct tm... $ECHO_C" >&6
34942 if test "${wx_cv_struct_tm_has_gmtoff+set}" = set; then
34943 echo $ECHO_N "(cached) $ECHO_C" >&6
34946 cat >conftest.
$ac_ext <<_ACEOF
34949 cat confdefs.h
>>conftest.
$ac_ext
34950 cat >>conftest.
$ac_ext <<_ACEOF
34951 /* end confdefs.h. */
34966 rm -f conftest.
$ac_objext
34967 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34968 (eval $ac_compile) 2>conftest.er1
34970 grep -v '^ *+' conftest.er1
>conftest.err
34972 cat conftest.err
>&5
34973 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34974 (exit $ac_status); } &&
34975 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
34976 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34977 (eval $ac_try) 2>&5
34979 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34980 (exit $ac_status); }; } &&
34981 { ac_try
='test -s conftest.$ac_objext'
34982 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34983 (eval $ac_try) 2>&5
34985 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34986 (exit $ac_status); }; }; then
34988 wx_cv_struct_tm_has_gmtoff
=yes
34991 echo "$as_me: failed program was:" >&5
34992 sed 's/^/| /' conftest.
$ac_ext >&5
34994 wx_cv_struct_tm_has_gmtoff
=no
34997 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
35000 echo "$as_me:$LINENO: result: $wx_cv_struct_tm_has_gmtoff" >&5
35001 echo "${ECHO_T}$wx_cv_struct_tm_has_gmtoff" >&6
35004 if test "$wx_cv_struct_tm_has_gmtoff" = "yes"; then
35005 cat >>confdefs.h
<<\_ACEOF
35006 #define WX_GMTOFF_IN_TM 1
35013 for ac_func
in gettimeofday ftime
35015 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35016 echo "$as_me:$LINENO: checking for $ac_func" >&5
35017 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
35018 if eval "test \"\${$as_ac_var+set}\" = set"; then
35019 echo $ECHO_N "(cached) $ECHO_C" >&6
35021 cat >conftest.
$ac_ext <<_ACEOF
35024 cat confdefs.h
>>conftest.
$ac_ext
35025 cat >>conftest.
$ac_ext <<_ACEOF
35026 /* end confdefs.h. */
35027 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35028 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35029 #define $ac_func innocuous_$ac_func
35031 /* System header to define __stub macros and hopefully few prototypes,
35032 which can conflict with char $ac_func (); below.
35033 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35034 <limits.h> exists even on freestanding compilers. */
35037 # include <limits.h>
35039 # include <assert.h>
35044 /* Override any gcc2 internal prototype to avoid an error. */
35049 /* We use char because int might match the return type of a gcc2
35050 builtin and then its argument prototype would still apply. */
35052 /* The GNU C library defines this for functions which it implements
35053 to always fail with ENOSYS. Some functions are actually named
35054 something starting with __ and the normal name is an alias. */
35055 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
35058 char (*f) () = $ac_func;
35067 return f != $ac_func;
35072 rm -f conftest.
$ac_objext conftest
$ac_exeext
35073 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35074 (eval $ac_link) 2>conftest.er1
35076 grep -v '^ *+' conftest.er1
>conftest.err
35078 cat conftest.err
>&5
35079 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35080 (exit $ac_status); } &&
35081 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
35082 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35083 (eval $ac_try) 2>&5
35085 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35086 (exit $ac_status); }; } &&
35087 { ac_try
='test -s conftest$ac_exeext'
35088 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35089 (eval $ac_try) 2>&5
35091 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35092 (exit $ac_status); }; }; then
35093 eval "$as_ac_var=yes"
35095 echo "$as_me: failed program was:" >&5
35096 sed 's/^/| /' conftest.
$ac_ext >&5
35098 eval "$as_ac_var=no"
35100 rm -f conftest.err conftest.
$ac_objext \
35101 conftest
$ac_exeext conftest.
$ac_ext
35103 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
35104 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
35105 if test `eval echo '${'$as_ac_var'}'` = yes; then
35106 cat >>confdefs.h
<<_ACEOF
35107 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35114 if test "$ac_cv_func_gettimeofday" = "yes"; then
35115 echo "$as_me:$LINENO: checking whether gettimeofday takes two arguments" >&5
35116 echo $ECHO_N "checking whether gettimeofday takes two arguments... $ECHO_C" >&6
35117 if test "${wx_cv_func_gettimeofday_has_2_args+set}" = set; then
35118 echo $ECHO_N "(cached) $ECHO_C" >&6
35124 ac_cpp
='$CXXCPP $CPPFLAGS'
35125 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35126 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35127 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
35130 cat >conftest.
$ac_ext <<_ACEOF
35133 cat confdefs.h
>>conftest.
$ac_ext
35134 cat >>conftest.
$ac_ext <<_ACEOF
35135 /* end confdefs.h. */
35137 #include <sys/time.h>
35138 #include <unistd.h>
35145 gettimeofday(&tv, NULL);
35151 rm -f conftest.
$ac_objext
35152 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35153 (eval $ac_compile) 2>conftest.er1
35155 grep -v '^ *+' conftest.er1
>conftest.err
35157 cat conftest.err
>&5
35158 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35159 (exit $ac_status); } &&
35160 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
35161 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35162 (eval $ac_try) 2>&5
35164 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35165 (exit $ac_status); }; } &&
35166 { ac_try
='test -s conftest.$ac_objext'
35167 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35168 (eval $ac_try) 2>&5
35170 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35171 (exit $ac_status); }; }; then
35172 wx_cv_func_gettimeofday_has_2_args
=yes
35174 echo "$as_me: failed program was:" >&5
35175 sed 's/^/| /' conftest.
$ac_ext >&5
35177 cat >conftest.
$ac_ext <<_ACEOF
35180 cat confdefs.h
>>conftest.
$ac_ext
35181 cat >>conftest.
$ac_ext <<_ACEOF
35182 /* end confdefs.h. */
35184 #include <sys/time.h>
35185 #include <unistd.h>
35198 rm -f conftest.
$ac_objext
35199 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35200 (eval $ac_compile) 2>conftest.er1
35202 grep -v '^ *+' conftest.er1
>conftest.err
35204 cat conftest.err
>&5
35205 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35206 (exit $ac_status); } &&
35207 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
35208 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35209 (eval $ac_try) 2>&5
35211 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35212 (exit $ac_status); }; } &&
35213 { ac_try
='test -s conftest.$ac_objext'
35214 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35215 (eval $ac_try) 2>&5
35217 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35218 (exit $ac_status); }; }; then
35219 wx_cv_func_gettimeofday_has_2_args
=no
35221 echo "$as_me: failed program was:" >&5
35222 sed 's/^/| /' conftest.
$ac_ext >&5
35225 { echo "$as_me:$LINENO: WARNING: failed to determine number of gettimeofday() arguments" >&5
35226 echo "$as_me: WARNING: failed to determine number of gettimeofday() arguments" >&2;}
35227 wx_cv_func_gettimeofday_has_2_args
=unknown
35231 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
35234 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
35236 ac_cpp
='$CPP $CPPFLAGS'
35237 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35238 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35239 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
35243 echo "$as_me:$LINENO: result: $wx_cv_func_gettimeofday_has_2_args" >&5
35244 echo "${ECHO_T}$wx_cv_func_gettimeofday_has_2_args" >&6
35246 if test "$wx_cv_func_gettimeofday_has_2_args" != "yes"; then
35247 cat >>confdefs.h
<<\_ACEOF
35248 #define WX_GETTIMEOFDAY_NO_TZ 1
35254 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS typetest"
35258 if test "$wxUSE_SOCKETS" = "yes"; then
35259 if test "$wxUSE_MGL" = "1"; then
35260 { echo "$as_me:$LINENO: WARNING: wxSocket not yet supported under MGL... disabled" >&5
35261 echo "$as_me: WARNING: wxSocket not yet supported under MGL... disabled" >&2;}
35266 if test "$wxUSE_SOCKETS" = "yes"; then
35267 if test "$TOOLKIT" != "MSW"; then
35268 echo "$as_me:$LINENO: checking for socket" >&5
35269 echo $ECHO_N "checking for socket... $ECHO_C" >&6
35270 if test "${ac_cv_func_socket+set}" = set; then
35271 echo $ECHO_N "(cached) $ECHO_C" >&6
35273 cat >conftest.
$ac_ext <<_ACEOF
35276 cat confdefs.h
>>conftest.
$ac_ext
35277 cat >>conftest.
$ac_ext <<_ACEOF
35278 /* end confdefs.h. */
35279 /* Define socket to an innocuous variant, in case <limits.h> declares socket.
35280 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35281 #define socket innocuous_socket
35283 /* System header to define __stub macros and hopefully few prototypes,
35284 which can conflict with char socket (); below.
35285 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35286 <limits.h> exists even on freestanding compilers. */
35289 # include <limits.h>
35291 # include <assert.h>
35296 /* Override any gcc2 internal prototype to avoid an error. */
35301 /* We use char because int might match the return type of a gcc2
35302 builtin and then its argument prototype would still apply. */
35304 /* The GNU C library defines this for functions which it implements
35305 to always fail with ENOSYS. Some functions are actually named
35306 something starting with __ and the normal name is an alias. */
35307 #if defined (__stub_socket) || defined (__stub___socket)
35310 char (*f) () = socket;
35319 return f != socket;
35324 rm -f conftest.
$ac_objext conftest
$ac_exeext
35325 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35326 (eval $ac_link) 2>conftest.er1
35328 grep -v '^ *+' conftest.er1
>conftest.err
35330 cat conftest.err
>&5
35331 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35332 (exit $ac_status); } &&
35333 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
35334 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35335 (eval $ac_try) 2>&5
35337 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35338 (exit $ac_status); }; } &&
35339 { ac_try
='test -s conftest$ac_exeext'
35340 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35341 (eval $ac_try) 2>&5
35343 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35344 (exit $ac_status); }; }; then
35345 ac_cv_func_socket
=yes
35347 echo "$as_me: failed program was:" >&5
35348 sed 's/^/| /' conftest.
$ac_ext >&5
35350 ac_cv_func_socket
=no
35352 rm -f conftest.err conftest.
$ac_objext \
35353 conftest
$ac_exeext conftest.
$ac_ext
35355 echo "$as_me:$LINENO: result: $ac_cv_func_socket" >&5
35356 echo "${ECHO_T}$ac_cv_func_socket" >&6
35357 if test $ac_cv_func_socket = yes; then
35361 echo "$as_me:$LINENO: checking for socket in -lsocket" >&5
35362 echo $ECHO_N "checking for socket in -lsocket... $ECHO_C" >&6
35363 if test "${ac_cv_lib_socket_socket+set}" = set; then
35364 echo $ECHO_N "(cached) $ECHO_C" >&6
35366 ac_check_lib_save_LIBS
=$LIBS
35367 LIBS
="-lsocket $LIBS"
35368 cat >conftest.
$ac_ext <<_ACEOF
35371 cat confdefs.h
>>conftest.
$ac_ext
35372 cat >>conftest.
$ac_ext <<_ACEOF
35373 /* end confdefs.h. */
35375 /* Override any gcc2 internal prototype to avoid an error. */
35379 /* We use char because int might match the return type of a gcc2
35380 builtin and then its argument prototype would still apply. */
35390 rm -f conftest.
$ac_objext conftest
$ac_exeext
35391 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35392 (eval $ac_link) 2>conftest.er1
35394 grep -v '^ *+' conftest.er1
>conftest.err
35396 cat conftest.err
>&5
35397 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35398 (exit $ac_status); } &&
35399 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
35400 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35401 (eval $ac_try) 2>&5
35403 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35404 (exit $ac_status); }; } &&
35405 { ac_try
='test -s conftest$ac_exeext'
35406 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35407 (eval $ac_try) 2>&5
35409 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35410 (exit $ac_status); }; }; then
35411 ac_cv_lib_socket_socket
=yes
35413 echo "$as_me: failed program was:" >&5
35414 sed 's/^/| /' conftest.
$ac_ext >&5
35416 ac_cv_lib_socket_socket
=no
35418 rm -f conftest.err conftest.
$ac_objext \
35419 conftest
$ac_exeext conftest.
$ac_ext
35420 LIBS
=$ac_check_lib_save_LIBS
35422 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_socket" >&5
35423 echo "${ECHO_T}$ac_cv_lib_socket_socket" >&6
35424 if test $ac_cv_lib_socket_socket = yes; then
35425 if test "$INET_LINK" != " -lsocket"; then
35426 INET_LINK
="$INET_LINK -lsocket"
35430 { echo "$as_me:$LINENO: WARNING: socket library not found - sockets will be disabled" >&5
35431 echo "$as_me: WARNING: socket library not found - sockets will be disabled" >&2;}
35444 if test "$wxUSE_SOCKETS" = "yes" ; then
35445 if test "$TOOLKIT" != "MSW"; then
35446 echo "$as_me:$LINENO: checking what is the type of the third argument of getsockname" >&5
35447 echo $ECHO_N "checking what is the type of the third argument of getsockname... $ECHO_C" >&6
35448 if test "${wx_cv_type_getsockname3+set}" = set; then
35449 echo $ECHO_N "(cached) $ECHO_C" >&6
35452 cat >conftest.
$ac_ext <<_ACEOF
35455 cat confdefs.h
>>conftest.
$ac_ext
35456 cat >>conftest.
$ac_ext <<_ACEOF
35457 /* end confdefs.h. */
35459 #include <sys/types.h>
35460 #include <sys/socket.h>
35467 getsockname(0, 0, &len);
35473 rm -f conftest.
$ac_objext
35474 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35475 (eval $ac_compile) 2>conftest.er1
35477 grep -v '^ *+' conftest.er1
>conftest.err
35479 cat conftest.err
>&5
35480 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35481 (exit $ac_status); } &&
35482 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
35483 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35484 (eval $ac_try) 2>&5
35486 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35487 (exit $ac_status); }; } &&
35488 { ac_try
='test -s conftest.$ac_objext'
35489 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35490 (eval $ac_try) 2>&5
35492 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35493 (exit $ac_status); }; }; then
35494 wx_cv_type_getsockname3
=socklen_t
35496 echo "$as_me: failed program was:" >&5
35497 sed 's/^/| /' conftest.
$ac_ext >&5
35500 CFLAGS_OLD
="$CFLAGS"
35501 if test "$GCC" = yes ; then
35502 CFLAGS
="$CFLAGS -Werror"
35505 cat >conftest.
$ac_ext <<_ACEOF
35508 cat confdefs.h
>>conftest.
$ac_ext
35509 cat >>conftest.
$ac_ext <<_ACEOF
35510 /* end confdefs.h. */
35512 #include <sys/types.h>
35513 #include <sys/socket.h>
35520 getsockname(0, 0, &len);
35526 rm -f conftest.
$ac_objext
35527 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35528 (eval $ac_compile) 2>conftest.er1
35530 grep -v '^ *+' conftest.er1
>conftest.err
35532 cat conftest.err
>&5
35533 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35534 (exit $ac_status); } &&
35535 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
35536 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35537 (eval $ac_try) 2>&5
35539 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35540 (exit $ac_status); }; } &&
35541 { ac_try
='test -s conftest.$ac_objext'
35542 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35543 (eval $ac_try) 2>&5
35545 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35546 (exit $ac_status); }; }; then
35547 wx_cv_type_getsockname3
=size_t
35549 echo "$as_me: failed program was:" >&5
35550 sed 's/^/| /' conftest.
$ac_ext >&5
35552 cat >conftest.
$ac_ext <<_ACEOF
35555 cat confdefs.h
>>conftest.
$ac_ext
35556 cat >>conftest.
$ac_ext <<_ACEOF
35557 /* end confdefs.h. */
35559 #include <sys/types.h>
35560 #include <sys/socket.h>
35567 getsockname(0, 0, &len);
35573 rm -f conftest.
$ac_objext
35574 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35575 (eval $ac_compile) 2>conftest.er1
35577 grep -v '^ *+' conftest.er1
>conftest.err
35579 cat conftest.err
>&5
35580 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35581 (exit $ac_status); } &&
35582 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
35583 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35584 (eval $ac_try) 2>&5
35586 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35587 (exit $ac_status); }; } &&
35588 { ac_try
='test -s conftest.$ac_objext'
35589 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35590 (eval $ac_try) 2>&5
35592 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35593 (exit $ac_status); }; }; then
35594 wx_cv_type_getsockname3
=int
35596 echo "$as_me: failed program was:" >&5
35597 sed 's/^/| /' conftest.
$ac_ext >&5
35599 wx_cv_type_getsockname3
=unknown
35602 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
35605 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
35607 CFLAGS
="$CFLAGS_OLD"
35611 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
35614 echo "$as_me:$LINENO: result: $wx_cv_type_getsockname3" >&5
35615 echo "${ECHO_T}$wx_cv_type_getsockname3" >&6
35617 if test "$wx_cv_type_getsockname3" = "unknown"; then
35619 { echo "$as_me:$LINENO: WARNING: Couldn't find socklen_t synonym for this system" >&5
35620 echo "$as_me: WARNING: Couldn't find socklen_t synonym for this system" >&2;}
35622 cat >>confdefs.h
<<_ACEOF
35623 #define SOCKLEN_T $wx_cv_type_getsockname3
35630 if test "$wxUSE_SOCKETS" = "yes" ; then
35631 cat >>confdefs.h
<<\_ACEOF
35632 #define wxUSE_SOCKETS 1
35635 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS sockets"
35638 if test "$wxUSE_PROTOCOL" = "yes"; then
35639 if test "$wxUSE_SOCKETS" != "yes"; then
35640 { echo "$as_me:$LINENO: WARNING: Protocol classes require sockets... disabled" >&5
35641 echo "$as_me: WARNING: Protocol classes require sockets... disabled" >&2;}
35646 if test "$wxUSE_PROTOCOL" = "yes"; then
35647 cat >>confdefs.h
<<\_ACEOF
35648 #define wxUSE_PROTOCOL 1
35652 if test "$wxUSE_PROTOCOL_HTTP" = "yes"; then
35653 cat >>confdefs.h
<<\_ACEOF
35654 #define wxUSE_PROTOCOL_HTTP 1
35658 if test "$wxUSE_PROTOCOL_FTP" = "yes"; then
35659 cat >>confdefs.h
<<\_ACEOF
35660 #define wxUSE_PROTOCOL_FTP 1
35664 if test "$wxUSE_PROTOCOL_FILE" = "yes"; then
35665 cat >>confdefs.h
<<\_ACEOF
35666 #define wxUSE_PROTOCOL_FILE 1
35671 if test "$wxUSE_FS_INET" = "yes"; then
35672 { echo "$as_me:$LINENO: WARNING: HTTP filesystem require protocol classes... disabled" >&5
35673 echo "$as_me: WARNING: HTTP filesystem require protocol classes... disabled" >&2;}
35678 if test "$wxUSE_URL" = "yes"; then
35679 if test "$wxUSE_PROTOCOL" != "yes"; then
35680 { echo "$as_me:$LINENO: WARNING: wxURL class requires wxProtocol... disabled" >&5
35681 echo "$as_me: WARNING: wxURL class requires wxProtocol... disabled" >&2;}
35684 if test "$wxUSE_URL" = "yes"; then
35685 cat >>confdefs.h
<<\_ACEOF
35686 #define wxUSE_URL 1
35692 if test "$wxUSE_FS_INET" = "yes"; then
35693 cat >>confdefs.h
<<\_ACEOF
35694 #define wxUSE_FS_INET 1
35700 if test "$wxUSE_GUI" = "yes"; then
35702 if test "$TOOLKIT" = "MAC" -o "$TOOLKIT" = "COCOA"; then
35703 { echo "$as_me:$LINENO: WARNING: Joystick not yet supported under Mac OS X... disabled" >&5
35704 echo "$as_me: WARNING: Joystick not yet supported under Mac OS X... disabled" >&2;}
35708 if test "$TOOLKIT" != "MSW"; then
35709 if test "$wxUSE_JOYSTICK" = "yes"; then
35711 for ac_header
in linux
/joystick.h
35713 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
35714 if eval "test \"\${$as_ac_Header+set}\" = set"; then
35715 echo "$as_me:$LINENO: checking for $ac_header" >&5
35716 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
35717 if eval "test \"\${$as_ac_Header+set}\" = set"; then
35718 echo $ECHO_N "(cached) $ECHO_C" >&6
35720 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
35721 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
35723 # Is the header compilable?
35724 echo "$as_me:$LINENO: checking $ac_header usability" >&5
35725 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
35726 cat >conftest.
$ac_ext <<_ACEOF
35729 cat confdefs.h
>>conftest.
$ac_ext
35730 cat >>conftest.
$ac_ext <<_ACEOF
35731 /* end confdefs.h. */
35732 $ac_includes_default
35733 #include <$ac_header>
35735 rm -f conftest.
$ac_objext
35736 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35737 (eval $ac_compile) 2>conftest.er1
35739 grep -v '^ *+' conftest.er1
>conftest.err
35741 cat conftest.err
>&5
35742 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35743 (exit $ac_status); } &&
35744 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
35745 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35746 (eval $ac_try) 2>&5
35748 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35749 (exit $ac_status); }; } &&
35750 { ac_try
='test -s conftest.$ac_objext'
35751 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35752 (eval $ac_try) 2>&5
35754 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35755 (exit $ac_status); }; }; then
35756 ac_header_compiler
=yes
35758 echo "$as_me: failed program was:" >&5
35759 sed 's/^/| /' conftest.
$ac_ext >&5
35761 ac_header_compiler
=no
35763 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
35764 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
35765 echo "${ECHO_T}$ac_header_compiler" >&6
35767 # Is the header present?
35768 echo "$as_me:$LINENO: checking $ac_header presence" >&5
35769 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
35770 cat >conftest.
$ac_ext <<_ACEOF
35773 cat confdefs.h
>>conftest.
$ac_ext
35774 cat >>conftest.
$ac_ext <<_ACEOF
35775 /* end confdefs.h. */
35776 #include <$ac_header>
35778 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
35779 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
35781 grep -v '^ *+' conftest.er1
>conftest.err
35783 cat conftest.err
>&5
35784 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35785 (exit $ac_status); } >/dev
/null
; then
35786 if test -s conftest.err
; then
35787 ac_cpp_err
=$ac_c_preproc_warn_flag
35788 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
35795 if test -z "$ac_cpp_err"; then
35796 ac_header_preproc
=yes
35798 echo "$as_me: failed program was:" >&5
35799 sed 's/^/| /' conftest.
$ac_ext >&5
35801 ac_header_preproc
=no
35803 rm -f conftest.err conftest.
$ac_ext
35804 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
35805 echo "${ECHO_T}$ac_header_preproc" >&6
35807 # So? What about this header?
35808 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
35810 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
35811 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
35812 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
35813 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
35814 ac_header_preproc
=yes
35817 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
35818 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
35819 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
35820 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
35821 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
35822 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
35823 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
35824 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
35825 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
35826 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
35827 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
35828 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
35831 ## ----------------------------------------- ##
35832 ## Report this to wx-dev@lists.wxwindows.org ##
35833 ## ----------------------------------------- ##
35836 sed "s/^/$as_me: WARNING: /" >&2
35839 echo "$as_me:$LINENO: checking for $ac_header" >&5
35840 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
35841 if eval "test \"\${$as_ac_Header+set}\" = set"; then
35842 echo $ECHO_N "(cached) $ECHO_C" >&6
35844 eval "$as_ac_Header=\$ac_header_preproc"
35846 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
35847 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
35850 if test `eval echo '${'$as_ac_Header'}'` = yes; then
35851 cat >>confdefs.h
<<_ACEOF
35852 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
35859 if test "$ac_cv_header_linux_joystick_h" != "yes"; then
35861 { echo "$as_me:$LINENO: WARNING: Joystick not supported by this system... disabled" >&5
35862 echo "$as_me: WARNING: Joystick not supported by this system... disabled" >&2;}
35867 if test "$wxUSE_JOYSTICK" = "yes"; then
35868 cat >>confdefs.h
<<\_ACEOF
35869 #define wxUSE_JOYSTICK 1
35872 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS joytest"
35878 if test "$wxUSE_FONTMAP" = "yes" ; then
35879 cat >>confdefs.h
<<\_ACEOF
35880 #define wxUSE_FONTMAP 1
35885 if test "$wxUSE_UNICODE" = "yes" ; then
35886 cat >>confdefs.h
<<\_ACEOF
35887 #define wxUSE_UNICODE 1
35891 if test "$USE_WIN32" != 1; then
35892 wxUSE_UNICODE_MSLU
=no
35895 if test "$USE_WIN32" = 1 -a "$wxUSE_UNICODE_MSLU" = "yes"; then
35896 echo "$as_me:$LINENO: checking for main in -lunicows" >&5
35897 echo $ECHO_N "checking for main in -lunicows... $ECHO_C" >&6
35898 if test "${ac_cv_lib_unicows_main+set}" = set; then
35899 echo $ECHO_N "(cached) $ECHO_C" >&6
35901 ac_check_lib_save_LIBS
=$LIBS
35902 LIBS
="-lunicows $LIBS"
35903 cat >conftest.
$ac_ext <<_ACEOF
35906 cat confdefs.h
>>conftest.
$ac_ext
35907 cat >>conftest.
$ac_ext <<_ACEOF
35908 /* end confdefs.h. */
35919 rm -f conftest.
$ac_objext conftest
$ac_exeext
35920 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35921 (eval $ac_link) 2>conftest.er1
35923 grep -v '^ *+' conftest.er1
>conftest.err
35925 cat conftest.err
>&5
35926 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35927 (exit $ac_status); } &&
35928 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
35929 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35930 (eval $ac_try) 2>&5
35932 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35933 (exit $ac_status); }; } &&
35934 { ac_try
='test -s conftest$ac_exeext'
35935 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35936 (eval $ac_try) 2>&5
35938 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35939 (exit $ac_status); }; }; then
35940 ac_cv_lib_unicows_main
=yes
35942 echo "$as_me: failed program was:" >&5
35943 sed 's/^/| /' conftest.
$ac_ext >&5
35945 ac_cv_lib_unicows_main
=no
35947 rm -f conftest.err conftest.
$ac_objext \
35948 conftest
$ac_exeext conftest.
$ac_ext
35949 LIBS
=$ac_check_lib_save_LIBS
35951 echo "$as_me:$LINENO: result: $ac_cv_lib_unicows_main" >&5
35952 echo "${ECHO_T}$ac_cv_lib_unicows_main" >&6
35953 if test $ac_cv_lib_unicows_main = yes; then
35955 cat >>confdefs.h
<<\_ACEOF
35956 #define wxUSE_UNICODE_MSLU 1
35962 { echo "$as_me:$LINENO: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
35963 Applications will only run on Windows NT/2000/XP!" >&5
35964 echo "$as_me: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
35965 Applications will only run on Windows NT/2000/XP!" >&2;}
35966 wxUSE_UNICODE_MSLU
=no
35973 if test "$wxUSE_wxUSE_EXPERIMENTAL_PRINTF" = "yes"; then
35974 cat >>confdefs.h
<<\_ACEOF
35975 #define wxUSE_EXPERIMENTAL_PRINTF 1
35981 if test "$wxUSE_POSTSCRIPT" = "yes" ; then
35982 cat >>confdefs.h
<<\_ACEOF
35983 #define wxUSE_POSTSCRIPT 1
35988 cat >>confdefs.h
<<\_ACEOF
35989 #define wxUSE_AFM_FOR_POSTSCRIPT 1
35993 cat >>confdefs.h
<<\_ACEOF
35994 #define wxUSE_NORMALIZED_PS_FONTS 1
35999 if test "$wxUSE_CONSTRAINTS" = "yes"; then
36000 cat >>confdefs.h
<<\_ACEOF
36001 #define wxUSE_CONSTRAINTS 1
36004 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS layout"
36007 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
36008 cat >>confdefs.h
<<\_ACEOF
36009 #define wxUSE_MDI_ARCHITECTURE 1
36012 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS mdi"
36015 if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = "yes" ; then
36016 cat >>confdefs.h
<<\_ACEOF
36017 #define wxUSE_DOC_VIEW_ARCHITECTURE 1
36020 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS docview"
36021 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
36022 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS docvwmdi"
36026 if test "$wxUSE_HELP" = "yes"; then
36027 cat >>confdefs.h
<<\_ACEOF
36028 #define wxUSE_HELP 1
36031 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS help"
36033 if test "$wxUSE_MSW" = 1; then
36034 if test "$wxUSE_MS_HTML_HELP" = "yes"; then
36035 cat >>confdefs.h
<<\_ACEOF
36036 #define wxUSE_MS_HTML_HELP 1
36042 if test "$wxUSE_WXHTML_HELP" = "yes"; then
36043 if test "$wxUSE_HTML" = "yes"; then
36044 cat >>confdefs.h
<<\_ACEOF
36045 #define wxUSE_WXHTML_HELP 1
36049 { echo "$as_me:$LINENO: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&5
36050 echo "$as_me: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&2;}
36051 wxUSE_WXHTML_HELP
=no
36056 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
36057 if test "$wxUSE_CONSTRAINTS" != "yes"; then
36058 { echo "$as_me:$LINENO: WARNING: Printing support cannot be used without constraints so it won't be compiled without it" >&5
36059 echo "$as_me: WARNING: Printing support cannot be used without constraints so it won't be compiled without it" >&2;}
36061 cat >>confdefs.h
<<\_ACEOF
36062 #define wxUSE_PRINTING_ARCHITECTURE 1
36066 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS printing"
36069 if test "$wxUSE_PROLOGIO" = "yes" -o "$wxUSE_RESOURCES" = "yes"; then
36070 { { echo "$as_me:$LINENO: error: wxExpr and old-style resources are now available in contrib only" >&5
36071 echo "$as_me: error: wxExpr and old-style resources are now available in contrib only" >&2;}
36072 { (exit 1); exit 1; }; }
36076 if test "$USE_WIN32" = 1 -a \
( "$wxUSE_DATAOBJ" = "yes" \
36077 -o "$wxUSE_CLIPBOARD" = "yes" \
36078 -o "$wxUSE_OLE" = "yes" \
36079 -o "$wxUSE_DRAG_AND_DROP" = "yes" \
) ; then
36081 for ac_header
in ole2.h
36083 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
36084 if eval "test \"\${$as_ac_Header+set}\" = set"; then
36085 echo "$as_me:$LINENO: checking for $ac_header" >&5
36086 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
36087 if eval "test \"\${$as_ac_Header+set}\" = set"; then
36088 echo $ECHO_N "(cached) $ECHO_C" >&6
36090 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
36091 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
36093 # Is the header compilable?
36094 echo "$as_me:$LINENO: checking $ac_header usability" >&5
36095 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
36096 cat >conftest.
$ac_ext <<_ACEOF
36099 cat confdefs.h
>>conftest.
$ac_ext
36100 cat >>conftest.
$ac_ext <<_ACEOF
36101 /* end confdefs.h. */
36102 $ac_includes_default
36103 #include <$ac_header>
36105 rm -f conftest.
$ac_objext
36106 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36107 (eval $ac_compile) 2>conftest.er1
36109 grep -v '^ *+' conftest.er1
>conftest.err
36111 cat conftest.err
>&5
36112 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36113 (exit $ac_status); } &&
36114 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
36115 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36116 (eval $ac_try) 2>&5
36118 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36119 (exit $ac_status); }; } &&
36120 { ac_try
='test -s conftest.$ac_objext'
36121 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36122 (eval $ac_try) 2>&5
36124 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36125 (exit $ac_status); }; }; then
36126 ac_header_compiler
=yes
36128 echo "$as_me: failed program was:" >&5
36129 sed 's/^/| /' conftest.
$ac_ext >&5
36131 ac_header_compiler
=no
36133 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
36134 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
36135 echo "${ECHO_T}$ac_header_compiler" >&6
36137 # Is the header present?
36138 echo "$as_me:$LINENO: checking $ac_header presence" >&5
36139 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
36140 cat >conftest.
$ac_ext <<_ACEOF
36143 cat confdefs.h
>>conftest.
$ac_ext
36144 cat >>conftest.
$ac_ext <<_ACEOF
36145 /* end confdefs.h. */
36146 #include <$ac_header>
36148 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
36149 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
36151 grep -v '^ *+' conftest.er1
>conftest.err
36153 cat conftest.err
>&5
36154 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36155 (exit $ac_status); } >/dev
/null
; then
36156 if test -s conftest.err
; then
36157 ac_cpp_err
=$ac_c_preproc_warn_flag
36158 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
36165 if test -z "$ac_cpp_err"; then
36166 ac_header_preproc
=yes
36168 echo "$as_me: failed program was:" >&5
36169 sed 's/^/| /' conftest.
$ac_ext >&5
36171 ac_header_preproc
=no
36173 rm -f conftest.err conftest.
$ac_ext
36174 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
36175 echo "${ECHO_T}$ac_header_preproc" >&6
36177 # So? What about this header?
36178 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
36180 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
36181 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
36182 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
36183 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
36184 ac_header_preproc
=yes
36187 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
36188 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
36189 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
36190 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
36191 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
36192 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
36193 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
36194 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
36195 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
36196 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
36197 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
36198 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
36201 ## ----------------------------------------- ##
36202 ## Report this to wx-dev@lists.wxwindows.org ##
36203 ## ----------------------------------------- ##
36206 sed "s/^/$as_me: WARNING: /" >&2
36209 echo "$as_me:$LINENO: checking for $ac_header" >&5
36210 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
36211 if eval "test \"\${$as_ac_Header+set}\" = set"; then
36212 echo $ECHO_N "(cached) $ECHO_C" >&6
36214 eval "$as_ac_Header=\$ac_header_preproc"
36216 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
36217 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
36220 if test `eval echo '${'$as_ac_Header'}'` = yes; then
36221 cat >>confdefs.h
<<_ACEOF
36222 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
36230 if test "$ac_cv_header_ole2_h" = "yes" ; then
36231 if test "$GCC" = yes ; then
36235 ac_cpp
='$CXXCPP $CPPFLAGS'
36236 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36237 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36238 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
36241 echo "$as_me:$LINENO: checking if g++ requires -fvtable-thunks" >&5
36242 echo $ECHO_N "checking if g++ requires -fvtable-thunks... $ECHO_C" >&6
36243 cat >conftest.
$ac_ext <<_ACEOF
36246 cat confdefs.h
>>conftest.
$ac_ext
36247 cat >>conftest.
$ac_ext <<_ACEOF
36248 /* end confdefs.h. */
36249 #include <windows.h>
36259 rm -f conftest.
$ac_objext
36260 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36261 (eval $ac_compile) 2>conftest.er1
36263 grep -v '^ *+' conftest.er1
>conftest.err
36265 cat conftest.err
>&5
36266 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36267 (exit $ac_status); } &&
36268 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
36269 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36270 (eval $ac_try) 2>&5
36272 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36273 (exit $ac_status); }; } &&
36274 { ac_try
='test -s conftest.$ac_objext'
36275 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36276 (eval $ac_try) 2>&5
36278 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36279 (exit $ac_status); }; }; then
36280 echo "$as_me:$LINENO: result: no" >&5
36281 echo "${ECHO_T}no" >&6
36283 echo "$as_me: failed program was:" >&5
36284 sed 's/^/| /' conftest.
$ac_ext >&5
36286 echo "$as_me:$LINENO: result: yes" >&5
36287 echo "${ECHO_T}yes" >&6
36288 CODE_GEN_FLAGS_CXX
="$CODE_GEN_FLAGS_CXX -fvtable-thunks"
36290 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
36292 ac_cpp
='$CPP $CPPFLAGS'
36293 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36294 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36295 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
36297 ALL_OBJECTS
="$ALL_OBJECTS \$(OLEOBJS)"
36298 LIBS
=" -lrpcrt4 -loleaut32 -lole32 -luuid$LIBS"
36299 if test "$wxUSE_OLE" = "yes" ; then
36300 cat >>confdefs.h
<<\_ACEOF
36301 #define wxUSE_OLE 1
36307 if test "$wxUSE_DATAOBJ" = "yes" ; then
36308 cat >>confdefs.h
<<\_ACEOF
36309 #define wxUSE_DATAOBJ 1
36314 { echo "$as_me:$LINENO: WARNING: Some features disabled because OLE headers not found" >&5
36315 echo "$as_me: WARNING: Some features disabled because OLE headers not found" >&2;}
36318 wxUSE_DRAG_AND_DROP
=no
36323 if test "$wxUSE_METAFILE" = "yes"; then
36324 cat >>confdefs.h
<<\_ACEOF
36325 #define wxUSE_METAFILE 1
36329 cat >>confdefs.h
<<\_ACEOF
36330 #define wxUSE_ENH_METAFILE 1
36336 if test "$wxUSE_IPC" = "yes"; then
36337 if test "$wxUSE_SOCKETS" != "yes"; then
36338 { echo "$as_me:$LINENO: WARNING: wxWindows IPC classes require sockets... disabled" >&5
36339 echo "$as_me: WARNING: wxWindows IPC classes require sockets... disabled" >&2;}
36342 cat >>confdefs.h
<<\_ACEOF
36343 #define wxUSE_IPC 1
36348 if test "$wxUSE_CLIPBOARD" = "yes"; then
36349 if test "$wxUSE_MGL" = 1; then
36350 { echo "$as_me:$LINENO: WARNING: Clipboard not yet supported under MGL... disabled" >&5
36351 echo "$as_me: WARNING: Clipboard not yet supported under MGL... disabled" >&2;}
36355 if test "$wxUSE_CLIPBOARD" = "yes"; then
36356 cat >>confdefs.h
<<\_ACEOF
36357 #define wxUSE_CLIPBOARD 1
36361 cat >>confdefs.h
<<\_ACEOF
36362 #define wxUSE_DATAOBJ 1
36368 if test "$wxUSE_DRAG_AND_DROP" = "yes" ; then
36369 if test "$wxUSE_GTK" = 1; then
36370 if test "$WXGTK12" != 1; then
36371 { echo "$as_me:$LINENO: WARNING: Drag and drop is only supported under GTK+ 1.2... disabled" >&5
36372 echo "$as_me: WARNING: Drag and drop is only supported under GTK+ 1.2... disabled" >&2;}
36373 wxUSE_DRAG_AND_DROP
=no
36377 if test "$wxUSE_MOTIF" = 1; then
36378 { echo "$as_me:$LINENO: WARNING: Drag and drop not yet supported under Motif... disabled" >&5
36379 echo "$as_me: WARNING: Drag and drop not yet supported under Motif... disabled" >&2;}
36380 wxUSE_DRAG_AND_DROP
=no
36383 if test "$wxUSE_X11" = 1; then
36384 { echo "$as_me:$LINENO: WARNING: Drag and drop not yet supported under X11... disabled" >&5
36385 echo "$as_me: WARNING: Drag and drop not yet supported under X11... disabled" >&2;}
36386 wxUSE_DRAG_AND_DROP
=no
36389 if test "$wxUSE_MGL" = 1; then
36390 { echo "$as_me:$LINENO: WARNING: Drag and drop not yet supported under MGL... disabled" >&5
36391 echo "$as_me: WARNING: Drag and drop not yet supported under MGL... disabled" >&2;}
36392 wxUSE_DRAG_AND_DROP
=no
36395 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
36396 cat >>confdefs.h
<<\_ACEOF
36397 #define wxUSE_DRAG_AND_DROP 1
36404 if test "$wxUSE_DRAG_AND_DROP" = "yes" -o "$wxUSE_CLIPBOARD" = "yes"; then
36405 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS dnd"
36408 if test "$wxUSE_SPLINES" = "yes" ; then
36409 cat >>confdefs.h
<<\_ACEOF
36410 #define wxUSE_SPLINES 1
36417 if test "$wxUSE_CONTROLS" = "yes"; then
36421 if test "$wxUSE_ACCEL" = "yes"; then
36422 cat >>confdefs.h
<<\_ACEOF
36423 #define wxUSE_ACCEL 1
36429 if test "$wxUSE_BUTTON" = "yes"; then
36430 cat >>confdefs.h
<<\_ACEOF
36431 #define wxUSE_BUTTON 1
36437 if test "$wxUSE_BMPBUTTON" = "yes"; then
36438 cat >>confdefs.h
<<\_ACEOF
36439 #define wxUSE_BMPBUTTON 1
36445 if test "$wxUSE_CALCTRL" = "yes"; then
36446 cat >>confdefs.h
<<\_ACEOF
36447 #define wxUSE_CALENDARCTRL 1
36451 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS calendar"
36454 if test "$wxUSE_CARET" = "yes"; then
36455 cat >>confdefs.h
<<\_ACEOF
36456 #define wxUSE_CARET 1
36460 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS caret"
36463 if test "$wxUSE_COMBOBOX" = "yes"; then
36464 cat >>confdefs.h
<<\_ACEOF
36465 #define wxUSE_COMBOBOX 1
36471 if test "$wxUSE_CHOICE" = "yes"; then
36472 cat >>confdefs.h
<<\_ACEOF
36473 #define wxUSE_CHOICE 1
36479 if test "$wxUSE_CHECKBOX" = "yes"; then
36480 cat >>confdefs.h
<<\_ACEOF
36481 #define wxUSE_CHECKBOX 1
36487 if test "$wxUSE_CHECKLST" = "yes"; then
36488 cat >>confdefs.h
<<\_ACEOF
36489 #define wxUSE_CHECKLISTBOX 1
36493 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS checklst"
36496 if test "$wxUSE_DISPLAY" = "yes"; then
36497 cat >>confdefs.h
<<\_ACEOF
36498 #define wxUSE_DISPLAY 1
36501 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS display"
36504 if test "$wxUSE_GAUGE" = "yes"; then
36505 cat >>confdefs.h
<<\_ACEOF
36506 #define wxUSE_GAUGE 1
36512 if test "$wxUSE_GRID" = "yes"; then
36513 cat >>confdefs.h
<<\_ACEOF
36514 #define wxUSE_GRID 1
36518 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS grid"
36521 if test "$wxUSE_IMAGLIST" = "yes"; then
36522 cat >>confdefs.h
<<\_ACEOF
36523 #define wxUSE_IMAGLIST 1
36528 if test "$wxUSE_LISTBOOK" = "yes"; then
36529 cat >>confdefs.h
<<\_ACEOF
36530 #define wxUSE_LISTBOOK 1
36536 if test "$wxUSE_LISTBOX" = "yes"; then
36537 cat >>confdefs.h
<<\_ACEOF
36538 #define wxUSE_LISTBOX 1
36544 if test "$wxUSE_LISTCTRL" = "yes"; then
36545 if test "$wxUSE_IMAGLIST" = "yes"; then
36546 cat >>confdefs.h
<<\_ACEOF
36547 #define wxUSE_LISTCTRL 1
36551 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS listctrl"
36553 { echo "$as_me:$LINENO: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&5
36554 echo "$as_me: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&2;}
36558 if test "$wxUSE_NOTEBOOK" = "yes"; then
36559 cat >>confdefs.h
<<\_ACEOF
36560 #define wxUSE_NOTEBOOK 1
36564 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS notebook"
36568 if test "$wxUSE_RADIOBOX" = "yes"; then
36569 cat >>confdefs.h
<<\_ACEOF
36570 #define wxUSE_RADIOBOX 1
36576 if test "$wxUSE_RADIOBTN" = "yes"; then
36577 cat >>confdefs.h
<<\_ACEOF
36578 #define wxUSE_RADIOBTN 1
36584 if test "$wxUSE_SASH" = "yes"; then
36585 cat >>confdefs.h
<<\_ACEOF
36586 #define wxUSE_SASH 1
36589 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS sashtest"
36592 if test "$wxUSE_SCROLLBAR" = "yes"; then
36593 cat >>confdefs.h
<<\_ACEOF
36594 #define wxUSE_SCROLLBAR 1
36598 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS scroll scrollsub"
36601 if test "$wxUSE_SLIDER" = "yes"; then
36602 cat >>confdefs.h
<<\_ACEOF
36603 #define wxUSE_SLIDER 1
36609 if test "$wxUSE_SPINBTN" = "yes"; then
36610 cat >>confdefs.h
<<\_ACEOF
36611 #define wxUSE_SPINBTN 1
36617 if test "$wxUSE_SPINCTRL" = "yes"; then
36618 cat >>confdefs.h
<<\_ACEOF
36619 #define wxUSE_SPINCTRL 1
36625 if test "$wxUSE_SPLITTER" = "yes"; then
36626 cat >>confdefs.h
<<\_ACEOF
36627 #define wxUSE_SPLITTER 1
36630 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS splitter"
36633 if test "$wxUSE_STATBMP" = "yes"; then
36634 cat >>confdefs.h
<<\_ACEOF
36635 #define wxUSE_STATBMP 1
36641 if test "$wxUSE_STATBOX" = "yes"; then
36642 cat >>confdefs.h
<<\_ACEOF
36643 #define wxUSE_STATBOX 1
36649 if test "$wxUSE_STATTEXT" = "yes"; then
36650 cat >>confdefs.h
<<\_ACEOF
36651 #define wxUSE_STATTEXT 1
36657 if test "$wxUSE_STATLINE" = "yes"; then
36658 cat >>confdefs.h
<<\_ACEOF
36659 #define wxUSE_STATLINE 1
36665 if test "$wxUSE_STATUSBAR" = "yes"; then
36666 cat >>confdefs.h
<<\_ACEOF
36667 #define wxUSE_STATUSBAR 1
36672 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS statbar"
36675 if test "$wxUSE_TABDIALOG" = "yes"; then
36676 cat >>confdefs.h
<<\_ACEOF
36677 #define wxUSE_TAB_DIALOG 1
36680 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS tab"
36683 if test "$wxUSE_TEXTCTRL" = "yes"; then
36684 cat >>confdefs.h
<<\_ACEOF
36685 #define wxUSE_TEXTCTRL 1
36689 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS text"
36692 if test "$wxUSE_TOGGLEBTN" = "yes"; then
36693 if test "$wxUSE_COCOA" = 1 ; then
36694 { echo "$as_me:$LINENO: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&5
36695 echo "$as_me: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&2;}
36698 if test "$wxUSE_UNIVERSAL" = "yes"; then
36699 { echo "$as_me:$LINENO: WARNING: Toggle button not yet supported under wxUniversal... disabled" >&5
36700 echo "$as_me: WARNING: Toggle button not yet supported under wxUniversal... disabled" >&2;}
36704 if test "$wxUSE_TOGGLEBTN" = "yes"; then
36705 cat >>confdefs.h
<<\_ACEOF
36706 #define wxUSE_TOGGLEBTN 1
36713 if test "$wxUSE_TOOLBAR_SIMPLE" = "yes"; then
36714 cat >>confdefs.h
<<\_ACEOF
36715 #define wxUSE_TOOLBAR_SIMPLE 1
36718 wxUSE_TOOLBAR
="yes"
36722 if test "$wxUSE_TOOLBAR" = "yes"; then
36723 cat >>confdefs.h
<<\_ACEOF
36724 #define wxUSE_TOOLBAR 1
36729 if test "$wxUSE_TOOLBAR_SIMPLE" != "yes"; then
36730 wxUSE_TOOLBAR_NATIVE
="yes"
36733 if test "$wxUSE_TOOLBAR_NATIVE" = "yes"; then
36734 cat >>confdefs.h
<<\_ACEOF
36735 #define wxUSE_TOOLBAR_NATIVE 1
36741 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS toolbar"
36744 if test "$wxUSE_TOOLTIPS" = "yes"; then
36745 if test "$wxUSE_MOTIF" = 1; then
36746 { echo "$as_me:$LINENO: WARNING: wxTooltip not supported yet under Motif... disabled" >&5
36747 echo "$as_me: WARNING: wxTooltip not supported yet under Motif... disabled" >&2;}
36749 if test "$wxUSE_UNIVERSAL" = "yes"; then
36750 { echo "$as_me:$LINENO: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&5
36751 echo "$as_me: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&2;}
36753 cat >>confdefs.h
<<\_ACEOF
36754 #define wxUSE_TOOLTIPS 1
36761 if test "$wxUSE_TREECTRL" = "yes"; then
36762 if test "$wxUSE_IMAGLIST" = "yes"; then
36763 cat >>confdefs.h
<<\_ACEOF
36764 #define wxUSE_TREECTRL 1
36768 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS treectrl"
36770 { echo "$as_me:$LINENO: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&5
36771 echo "$as_me: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&2;}
36775 if test "$wxUSE_POPUPWIN" = "yes"; then
36776 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1 ; then
36777 { echo "$as_me:$LINENO: WARNING: Popup window not yet supported under Mac OS X... disabled" >&5
36778 echo "$as_me: WARNING: Popup window not yet supported under Mac OS X... disabled" >&2;}
36780 if test "$wxUSE_PM" = 1; then
36781 { echo "$as_me:$LINENO: WARNING: wxPopupWindow not yet supported under PM... disabled" >&5
36782 echo "$as_me: WARNING: wxPopupWindow not yet supported under PM... disabled" >&2;}
36784 cat >>confdefs.h
<<\_ACEOF
36785 #define wxUSE_POPUPWIN 1
36794 if test "$wxUSE_TIPWINDOW" = "yes"; then
36795 if test "$wxUSE_PM" = 1; then
36796 { echo "$as_me:$LINENO: WARNING: wxTipWindow not yet supported under PM... disabled" >&5
36797 echo "$as_me: WARNING: wxTipWindow not yet supported under PM... disabled" >&2;}
36799 cat >>confdefs.h
<<\_ACEOF
36800 #define wxUSE_TIPWINDOW 1
36806 if test "$USES_CONTROLS" = 1; then
36807 cat >>confdefs.h
<<\_ACEOF
36808 #define wxUSE_CONTROLS 1
36814 if test "$wxUSE_ACCESSIBILITY" = "yes"; then
36815 cat >>confdefs.h
<<\_ACEOF
36816 #define wxUSE_ACCESSIBILITY 1
36819 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS access"
36822 if test "$wxUSE_DRAGIMAGE" = "yes"; then
36823 cat >>confdefs.h
<<\_ACEOF
36824 #define wxUSE_DRAGIMAGE 1
36827 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS dragimag"
36830 if test "$wxUSE_EXCEPTIONS" = "yes"; then
36831 cat >>confdefs.h
<<\_ACEOF
36832 #define wxUSE_EXCEPTIONS 1
36838 if test "$wxUSE_HTML" = "yes"; then
36839 cat >>confdefs.h
<<\_ACEOF
36840 #define wxUSE_HTML 1
36844 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS html html/about html/help html/helpview html/printing html/test html/virtual html/widget html/zip htlbox"
36847 if test "$wxUSE_MENUS" = "yes"; then
36848 cat >>confdefs.h
<<\_ACEOF
36849 #define wxUSE_MENUS 1
36852 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS menu"
36855 if test "$wxUSE_METAFILE" = "yes"; then
36856 cat >>confdefs.h
<<\_ACEOF
36857 #define wxUSE_METAFILE 1
36862 if test "$wxUSE_MIMETYPE" = "yes"; then
36863 cat >>confdefs.h
<<\_ACEOF
36864 #define wxUSE_MIMETYPE 1
36869 if test "$wxUSE_MINIFRAME" = "yes"; then
36870 cat >>confdefs.h
<<\_ACEOF
36871 #define wxUSE_MINIFRAME 1
36874 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS minifram"
36877 if test "$wxUSE_SYSTEM_OPTIONS" = "yes"; then
36878 cat >>confdefs.h
<<\_ACEOF
36879 #define wxUSE_SYSTEM_OPTIONS 1
36882 if test "$TOOLKIT" = "MSW" -o "$TOOLKIT" = "GTK" -o "$TOOLKIT" = "X11" -o \
36883 "$TOOLKIT" = "MOTIF"; then
36884 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS taskbar"
36889 if test "$wxUSE_VALIDATORS" = "yes"; then
36890 cat >>confdefs.h
<<\_ACEOF
36891 #define wxUSE_VALIDATORS 1
36894 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS validate"
36897 if test "$wxUSE_PALETTE" = "yes" ; then
36898 cat >>confdefs.h
<<\_ACEOF
36899 #define wxUSE_PALETTE 1
36904 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_MSLU" = "yes" ; then
36905 LIBS
=" -lunicows $LIBS"
36909 if test "$wxUSE_IMAGE" = "yes" ; then
36910 cat >>confdefs.h
<<\_ACEOF
36911 #define wxUSE_IMAGE 1
36915 if test "$wxUSE_GIF" = "yes" ; then
36916 cat >>confdefs.h
<<\_ACEOF
36917 #define wxUSE_GIF 1
36922 if test "$wxUSE_PCX" = "yes" ; then
36923 cat >>confdefs.h
<<\_ACEOF
36924 #define wxUSE_PCX 1
36929 if test "$wxUSE_IFF" = "yes" ; then
36930 cat >>confdefs.h
<<\_ACEOF
36931 #define wxUSE_IFF 1
36936 if test "$wxUSE_PNM" = "yes" ; then
36937 cat >>confdefs.h
<<\_ACEOF
36938 #define wxUSE_PNM 1
36943 if test "$wxUSE_XPM" = "yes" ; then
36944 cat >>confdefs.h
<<\_ACEOF
36945 #define wxUSE_XPM 1
36950 if test "$wxUSE_ICO_CUR" = "yes" ; then
36951 cat >>confdefs.h
<<\_ACEOF
36952 #define wxUSE_ICO_CUR 1
36959 if test "$wxUSE_CHOICEDLG" = "yes"; then
36960 cat >>confdefs.h
<<\_ACEOF
36961 #define wxUSE_CHOICEDLG 1
36966 if test "$wxUSE_COLOURDLG" = "yes"; then
36967 cat >>confdefs.h
<<\_ACEOF
36968 #define wxUSE_COLOURDLG 1
36973 if test "$wxUSE_FILEDLG" = "yes"; then
36974 cat >>confdefs.h
<<\_ACEOF
36975 #define wxUSE_FILEDLG 1
36980 if test "$wxUSE_FINDREPLDLG" = "yes"; then
36981 cat >>confdefs.h
<<\_ACEOF
36982 #define wxUSE_FINDREPLDLG 1
36987 if test "$wxUSE_FONTDLG" = "yes"; then
36988 cat >>confdefs.h
<<\_ACEOF
36989 #define wxUSE_FONTDLG 1
36994 if test "$wxUSE_DIRDLG" = "yes"; then
36995 if test "$wxUSE_TREECTRL" != "yes"; then
36996 { echo "$as_me:$LINENO: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&5
36997 echo "$as_me: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&2;}
36999 cat >>confdefs.h
<<\_ACEOF
37000 #define wxUSE_DIRDLG 1
37006 if test "$wxUSE_MSGDLG" = "yes"; then
37007 cat >>confdefs.h
<<\_ACEOF
37008 #define wxUSE_MSGDLG 1
37013 if test "$wxUSE_NUMBERDLG" = "yes"; then
37014 cat >>confdefs.h
<<\_ACEOF
37015 #define wxUSE_NUMBERDLG 1
37020 if test "$wxUSE_PROGRESSDLG" = "yes"; then
37021 if test "$wxUSE_CONSTRAINTS" != "yes"; then
37022 { echo "$as_me:$LINENO: WARNING: wxProgressDialog requires constraints so it won't be compiled without them" >&5
37023 echo "$as_me: WARNING: wxProgressDialog requires constraints so it won't be compiled without them" >&2;}
37025 cat >>confdefs.h
<<\_ACEOF
37026 #define wxUSE_PROGRESSDLG 1
37032 if test "$wxUSE_SPLASH" = "yes"; then
37033 cat >>confdefs.h
<<\_ACEOF
37034 #define wxUSE_SPLASH 1
37039 if test "$wxUSE_STARTUP_TIPS" = "yes"; then
37040 if test "$wxUSE_CONSTRAINTS" != "yes"; then
37041 { echo "$as_me:$LINENO: WARNING: Startup tips requires constraints and won't be compiled without them" >&5
37042 echo "$as_me: WARNING: Startup tips requires constraints and won't be compiled without them" >&2;}
37044 cat >>confdefs.h
<<\_ACEOF
37045 #define wxUSE_STARTUP_TIPS 1
37051 if test "$wxUSE_TEXTDLG" = "yes"; then
37052 cat >>confdefs.h
<<\_ACEOF
37053 #define wxUSE_TEXTDLG 1
37058 if test "$wxUSE_WIZARDDLG" = "yes"; then
37059 cat >>confdefs.h
<<\_ACEOF
37060 #define wxUSE_WIZARDDLG 1
37063 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS wizard"
37067 if test "$cross_compiling" = "yes"; then
37070 OSINFO
=`uname -s -r -m`
37071 OSINFO
="\"$OSINFO\""
37074 cat >>confdefs.h
<<_ACEOF
37075 #define WXWIN_OS_DESCRIPTION $OSINFO
37080 if test "x$prefix" != "xNONE"; then
37083 wxPREFIX
=$ac_default_prefix
37086 cat >>confdefs.h
<<_ACEOF
37087 #define wxINSTALL_PREFIX "$wxPREFIX"
37091 top_builddir_wxconfig
=`pwd`
37095 CORE_BASE_LIBS
="net base"
37096 CORE_GUI_LIBS
="adv core"
37098 if test "$wxUSE_XML" = "yes" ; then
37099 CORE_BASE_LIBS
="xml $CORE_BASE_LIBS"
37101 if test "$wxUSE_ODBC" != "no" ; then
37102 CORE_BASE_LIBS
="odbc $CORE_BASE_LIBS"
37103 CORE_GUI_LIBS
="dbgrid $CORE_GUI_LIBS"
37105 if test "$wxUSE_HTML" = "yes" ; then
37106 CORE_GUI_LIBS
="html $CORE_GUI_LIBS"
37109 if test "$wxUSE_GUI" != "yes"; then
37120 if test "$wxUSE_MAC" = 1 ; then
37121 LDFLAGS
="$LDFLAGS -framework Carbon -framework System"
37123 if test "$wxUSE_COCOA" = 1 ; then
37124 LDFLAGS
="$LDFLAGS -framework Cocoa -framework System"
37128 LIBS
="$ZLIB_LINK $POSIX4_LINK $INET_LINK $WCHAR_LINK $DL_LINK $LIBS"
37135 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37136 echo "$as_me:$LINENO: checking for $ac_func" >&5
37137 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
37138 if eval "test \"\${$as_ac_var+set}\" = set"; then
37139 echo $ECHO_N "(cached) $ECHO_C" >&6
37141 cat >conftest.
$ac_ext <<_ACEOF
37144 cat confdefs.h
>>conftest.
$ac_ext
37145 cat >>conftest.
$ac_ext <<_ACEOF
37146 /* end confdefs.h. */
37147 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37148 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37149 #define $ac_func innocuous_$ac_func
37151 /* System header to define __stub macros and hopefully few prototypes,
37152 which can conflict with char $ac_func (); below.
37153 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37154 <limits.h> exists even on freestanding compilers. */
37157 # include <limits.h>
37159 # include <assert.h>
37164 /* Override any gcc2 internal prototype to avoid an error. */
37169 /* We use char because int might match the return type of a gcc2
37170 builtin and then its argument prototype would still apply. */
37172 /* The GNU C library defines this for functions which it implements
37173 to always fail with ENOSYS. Some functions are actually named
37174 something starting with __ and the normal name is an alias. */
37175 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
37178 char (*f) () = $ac_func;
37187 return f != $ac_func;
37192 rm -f conftest.
$ac_objext conftest
$ac_exeext
37193 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37194 (eval $ac_link) 2>conftest.er1
37196 grep -v '^ *+' conftest.er1
>conftest.err
37198 cat conftest.err
>&5
37199 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37200 (exit $ac_status); } &&
37201 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
37202 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37203 (eval $ac_try) 2>&5
37205 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37206 (exit $ac_status); }; } &&
37207 { ac_try
='test -s conftest$ac_exeext'
37208 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37209 (eval $ac_try) 2>&5
37211 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37212 (exit $ac_status); }; }; then
37213 eval "$as_ac_var=yes"
37215 echo "$as_me: failed program was:" >&5
37216 sed 's/^/| /' conftest.
$ac_ext >&5
37218 eval "$as_ac_var=no"
37220 rm -f conftest.err conftest.
$ac_objext \
37221 conftest
$ac_exeext conftest.
$ac_ext
37223 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
37224 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
37225 if test `eval echo '${'$as_ac_var'}'` = yes; then
37226 cat >>confdefs.h
<<_ACEOF
37227 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37234 for ac_func
in floor
37236 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37237 echo "$as_me:$LINENO: checking for $ac_func" >&5
37238 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
37239 if eval "test \"\${$as_ac_var+set}\" = set"; then
37240 echo $ECHO_N "(cached) $ECHO_C" >&6
37242 cat >conftest.
$ac_ext <<_ACEOF
37245 cat confdefs.h
>>conftest.
$ac_ext
37246 cat >>conftest.
$ac_ext <<_ACEOF
37247 /* end confdefs.h. */
37248 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37249 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37250 #define $ac_func innocuous_$ac_func
37252 /* System header to define __stub macros and hopefully few prototypes,
37253 which can conflict with char $ac_func (); below.
37254 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37255 <limits.h> exists even on freestanding compilers. */
37258 # include <limits.h>
37260 # include <assert.h>
37265 /* Override any gcc2 internal prototype to avoid an error. */
37270 /* We use char because int might match the return type of a gcc2
37271 builtin and then its argument prototype would still apply. */
37273 /* The GNU C library defines this for functions which it implements
37274 to always fail with ENOSYS. Some functions are actually named
37275 something starting with __ and the normal name is an alias. */
37276 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
37279 char (*f) () = $ac_func;
37288 return f != $ac_func;
37293 rm -f conftest.
$ac_objext conftest
$ac_exeext
37294 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37295 (eval $ac_link) 2>conftest.er1
37297 grep -v '^ *+' conftest.er1
>conftest.err
37299 cat conftest.err
>&5
37300 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37301 (exit $ac_status); } &&
37302 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
37303 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37304 (eval $ac_try) 2>&5
37306 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37307 (exit $ac_status); }; } &&
37308 { ac_try
='test -s conftest$ac_exeext'
37309 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37310 (eval $ac_try) 2>&5
37312 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37313 (exit $ac_status); }; }; then
37314 eval "$as_ac_var=yes"
37316 echo "$as_me: failed program was:" >&5
37317 sed 's/^/| /' conftest.
$ac_ext >&5
37319 eval "$as_ac_var=no"
37321 rm -f conftest.err conftest.
$ac_objext \
37322 conftest
$ac_exeext conftest.
$ac_ext
37324 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
37325 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
37326 if test `eval echo '${'$as_ac_var'}'` = yes; then
37327 cat >>confdefs.h
<<_ACEOF
37328 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37334 echo "$as_me:$LINENO: checking if floating point functions link without -lm" >&5
37335 echo $ECHO_N "checking if floating point functions link without -lm... $ECHO_C" >&6
37336 if test "$have_cos" = 1 -a "$have_floor" = 1; then
37337 echo "$as_me:$LINENO: result: yes" >&5
37338 echo "${ECHO_T}yes" >&6
37340 echo "$as_me:$LINENO: result: no" >&5
37341 echo "${ECHO_T}no" >&6
37343 # use different functions to avoid configure caching
37349 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37350 echo "$as_me:$LINENO: checking for $ac_func" >&5
37351 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
37352 if eval "test \"\${$as_ac_var+set}\" = set"; then
37353 echo $ECHO_N "(cached) $ECHO_C" >&6
37355 cat >conftest.
$ac_ext <<_ACEOF
37358 cat confdefs.h
>>conftest.
$ac_ext
37359 cat >>conftest.
$ac_ext <<_ACEOF
37360 /* end confdefs.h. */
37361 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37362 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37363 #define $ac_func innocuous_$ac_func
37365 /* System header to define __stub macros and hopefully few prototypes,
37366 which can conflict with char $ac_func (); below.
37367 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37368 <limits.h> exists even on freestanding compilers. */
37371 # include <limits.h>
37373 # include <assert.h>
37378 /* Override any gcc2 internal prototype to avoid an error. */
37383 /* We use char because int might match the return type of a gcc2
37384 builtin and then its argument prototype would still apply. */
37386 /* The GNU C library defines this for functions which it implements
37387 to always fail with ENOSYS. Some functions are actually named
37388 something starting with __ and the normal name is an alias. */
37389 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
37392 char (*f) () = $ac_func;
37401 return f != $ac_func;
37406 rm -f conftest.
$ac_objext conftest
$ac_exeext
37407 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37408 (eval $ac_link) 2>conftest.er1
37410 grep -v '^ *+' conftest.er1
>conftest.err
37412 cat conftest.err
>&5
37413 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37414 (exit $ac_status); } &&
37415 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
37416 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37417 (eval $ac_try) 2>&5
37419 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37420 (exit $ac_status); }; } &&
37421 { ac_try
='test -s conftest$ac_exeext'
37422 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37423 (eval $ac_try) 2>&5
37425 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37426 (exit $ac_status); }; }; then
37427 eval "$as_ac_var=yes"
37429 echo "$as_me: failed program was:" >&5
37430 sed 's/^/| /' conftest.
$ac_ext >&5
37432 eval "$as_ac_var=no"
37434 rm -f conftest.err conftest.
$ac_objext \
37435 conftest
$ac_exeext conftest.
$ac_ext
37437 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
37438 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
37439 if test `eval echo '${'$as_ac_var'}'` = yes; then
37440 cat >>confdefs.h
<<_ACEOF
37441 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37448 for ac_func
in ceil
37450 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37451 echo "$as_me:$LINENO: checking for $ac_func" >&5
37452 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
37453 if eval "test \"\${$as_ac_var+set}\" = set"; then
37454 echo $ECHO_N "(cached) $ECHO_C" >&6
37456 cat >conftest.
$ac_ext <<_ACEOF
37459 cat confdefs.h
>>conftest.
$ac_ext
37460 cat >>conftest.
$ac_ext <<_ACEOF
37461 /* end confdefs.h. */
37462 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37463 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37464 #define $ac_func innocuous_$ac_func
37466 /* System header to define __stub macros and hopefully few prototypes,
37467 which can conflict with char $ac_func (); below.
37468 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37469 <limits.h> exists even on freestanding compilers. */
37472 # include <limits.h>
37474 # include <assert.h>
37479 /* Override any gcc2 internal prototype to avoid an error. */
37484 /* We use char because int might match the return type of a gcc2
37485 builtin and then its argument prototype would still apply. */
37487 /* The GNU C library defines this for functions which it implements
37488 to always fail with ENOSYS. Some functions are actually named
37489 something starting with __ and the normal name is an alias. */
37490 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
37493 char (*f) () = $ac_func;
37502 return f != $ac_func;
37507 rm -f conftest.
$ac_objext conftest
$ac_exeext
37508 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37509 (eval $ac_link) 2>conftest.er1
37511 grep -v '^ *+' conftest.er1
>conftest.err
37513 cat conftest.err
>&5
37514 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37515 (exit $ac_status); } &&
37516 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
37517 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37518 (eval $ac_try) 2>&5
37520 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37521 (exit $ac_status); }; } &&
37522 { ac_try
='test -s conftest$ac_exeext'
37523 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37524 (eval $ac_try) 2>&5
37526 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37527 (exit $ac_status); }; }; then
37528 eval "$as_ac_var=yes"
37530 echo "$as_me: failed program was:" >&5
37531 sed 's/^/| /' conftest.
$ac_ext >&5
37533 eval "$as_ac_var=no"
37535 rm -f conftest.err conftest.
$ac_objext \
37536 conftest
$ac_exeext conftest.
$ac_ext
37538 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
37539 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
37540 if test `eval echo '${'$as_ac_var'}'` = yes; then
37541 cat >>confdefs.h
<<_ACEOF
37542 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37548 echo "$as_me:$LINENO: checking if floating point functions link with -lm" >&5
37549 echo $ECHO_N "checking if floating point functions link with -lm... $ECHO_C" >&6
37550 if test "$have_sin" = 1 -a "$have_ceil" = 1; then
37551 echo "$as_me:$LINENO: result: yes" >&5
37552 echo "${ECHO_T}yes" >&6
37554 echo "$as_me:$LINENO: result: no" >&5
37555 echo "${ECHO_T}no" >&6
37556 # not sure we should warn the user, crash, etc.
37560 if test "$wxUSE_GUI" = "yes"; then
37563 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS artprov controls dialogs \
37564 drawing dynamic erase event exec font image \
37565 minimal propsize rotate shaped widgets render"
37567 if test "$wxUSE_MONOLITHIC" != "yes"; then
37568 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS console"
37571 SAMPLES_SUBDIRS
="console"
37575 INCLUDES
="-I\${top_builddir}lib/wx/include/${TOOLCHAIN_NAME} \
37576 -I\${top_srcdir}/include $TOOLKIT_INCLUDE"
37578 if test "$GXX" = yes ; then
37579 CXXWARNINGS
="-Wall"
37582 EXTRA_CFLAGS
="$WXDEBUG $WXODBCFLAG $PROFILE $OPTIMISE"
37584 CPPFLAGS
=`echo $WXDEBUG_DEFINE $INCLUDES $CPPFLAGS | sed 's/ \\+/ /g'`
37585 CFLAGS
=`echo $CODE_GEN_FLAGS $EXTRA_CFLAGS $CFLAGS $CXXWARNINGS | sed 's/ \\+/ /g'`
37586 CXXFLAGS
=`echo $CODE_GEN_FLAGS $CODE_GEN_FLAGS_CXX $EXTRA_CFLAGS $CXXFLAGS $CXXWARNINGS | sed 's/ \+/ /g'`
37589 LIBS
=`echo $LIBS | sed 's/ \+/ /g'`
37590 EXTRALIBS
="$LDFLAGS $LDFLAGS_VERSIONING $LIBS $DMALLOC_LIBS"
37591 EXTRALIBS_XML
="$EXPAT_LINK"
37592 EXTRALIBS_HTML
="$MSPACK_LINK"
37593 EXTRALIBS_ODBC
="$ODBC_LINK"
37594 if test "$wxUSE_GUI" = "yes"; then
37595 EXTRALIBS_GUI
=`echo $GUI_TK_LIBRARY $PNG_LINK $JPEG_LINK $TIFF_LINK | sed 's/ \+/ /g'`
37597 if test "$wxUSE_OPENGL" = "yes"; then
37598 EXTRALIBS_OPENGL
="$LDFLAGS_GL $OPENGL_LIBS"
37601 LDFLAGS
="$LDFLAGS $PROFILE"
37603 if test "$wxUSE_GTK" = 1; then
37606 WXCONFIG_INCLUDE
="$TOOLKIT_INCLUDE"
37609 WXCONFIG_EXTRALIBS
="$LIBS"
37611 if test "$wxUSE_REGEX" = "builtin" ; then
37612 wxconfig_3rdparty
="$wxconfig_3rdparty regex${lib_unicode_suffix}"
37614 if test "$wxUSE_EXPAT" = "builtin" ; then
37615 wxconfig_3rdparty
="$wxconfig_3rdparty expat"
37617 if test "$wxUSE_ODBC" = "builtin" ; then
37618 wxconfig_3rdparty
="$wxconfig_3rdparty odbc"
37620 if test "$wxUSE_LIBTIFF" = "builtin" ; then
37621 wxconfig_3rdparty
="$wxconfig_3rdparty tiff"
37623 if test "$wxUSE_LIBJPEG" = "builtin" ; then
37624 wxconfig_3rdparty
="$wxconfig_3rdparty jpeg"
37626 if test "$wxUSE_LIBPNG" = "builtin" ; then
37627 wxconfig_3rdparty
="$wxconfig_3rdparty png"
37629 if test "$wxUSE_ZLIB" = "builtin" ; then
37630 wxconfig_3rdparty
="$wxconfig_3rdparty zlib"
37632 if test "$wxUSE_ODBC" = "builtin" ; then
37633 wxconfig_3rdparty
="$wxconfig_3rdparty odbc"
37636 for i
in $wxconfig_3rdparty ; do
37637 WXCONFIG_EXTRALIBS
="$WXCONFIG_EXTRALIBS -lwx${i}${lib_debug_suffix}${HOST_SUFFIX}"
37641 if test "x$wxUSE_UNIVERSAL" = "xyes" ; then
37655 if test $wxUSE_MONOLITHIC = "yes" ; then
37661 if test $wxUSE_PLUGINS = "yes" ; then
37667 if test $wxUSE_ODBC != "no" ; then
37673 if test $wxUSE_OFFICIAL_BUILD = "yes" ; then
37699 TOOLKIT_LOWERCASE
=`echo $TOOLKIT | tr "[A-Z]" "[a-z]"`
37709 if test "x$BAKEFILE_HOST" = "x"; then
37710 BAKEFILE_HOST
="${host}"
37713 if test "x$BAKEFILE_CHECK_BASICS" != "xno"; then
37715 if test -n "$ac_tool_prefix"; then
37716 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
37717 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
37718 echo "$as_me:$LINENO: checking for $ac_word" >&5
37719 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
37720 if test "${ac_cv_prog_RANLIB+set}" = set; then
37721 echo $ECHO_N "(cached) $ECHO_C" >&6
37723 if test -n "$RANLIB"; then
37724 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
37726 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
37727 for as_dir
in $PATH
37730 test -z "$as_dir" && as_dir
=.
37731 for ac_exec_ext
in '' $ac_executable_extensions; do
37732 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
37733 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
37734 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
37742 RANLIB
=$ac_cv_prog_RANLIB
37743 if test -n "$RANLIB"; then
37744 echo "$as_me:$LINENO: result: $RANLIB" >&5
37745 echo "${ECHO_T}$RANLIB" >&6
37747 echo "$as_me:$LINENO: result: no" >&5
37748 echo "${ECHO_T}no" >&6
37752 if test -z "$ac_cv_prog_RANLIB"; then
37753 ac_ct_RANLIB
=$RANLIB
37754 # Extract the first word of "ranlib", so it can be a program name with args.
37755 set dummy ranlib
; ac_word
=$2
37756 echo "$as_me:$LINENO: checking for $ac_word" >&5
37757 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
37758 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
37759 echo $ECHO_N "(cached) $ECHO_C" >&6
37761 if test -n "$ac_ct_RANLIB"; then
37762 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
37764 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
37765 for as_dir
in $PATH
37768 test -z "$as_dir" && as_dir
=.
37769 for ac_exec_ext
in '' $ac_executable_extensions; do
37770 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
37771 ac_cv_prog_ac_ct_RANLIB
="ranlib"
37772 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
37778 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB
=":"
37781 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
37782 if test -n "$ac_ct_RANLIB"; then
37783 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
37784 echo "${ECHO_T}$ac_ct_RANLIB" >&6
37786 echo "$as_me:$LINENO: result: no" >&5
37787 echo "${ECHO_T}no" >&6
37790 RANLIB
=$ac_ct_RANLIB
37792 RANLIB
="$ac_cv_prog_RANLIB"
37795 # Find a good install program. We prefer a C program (faster),
37796 # so one script is as good as another. But avoid the broken or
37797 # incompatible versions:
37798 # SysV /etc/install, /usr/sbin/install
37799 # SunOS /usr/etc/install
37800 # IRIX /sbin/install
37802 # AmigaOS /C/install, which installs bootblocks on floppy discs
37803 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
37804 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
37805 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
37806 # OS/2's system install, which has a completely different semantic
37807 # ./install, which can be erroneously created by make from ./install.sh.
37808 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
37809 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
37810 if test -z "$INSTALL"; then
37811 if test "${ac_cv_path_install+set}" = set; then
37812 echo $ECHO_N "(cached) $ECHO_C" >&6
37814 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
37815 for as_dir
in $PATH
37818 test -z "$as_dir" && as_dir
=.
37819 # Account for people who put trailing slashes in PATH elements.
37821 .
/ | .
// | /cC
/* | \
37822 /etc
/* | /usr
/sbin
/* | /usr
/etc
/* | /sbin
/* | /usr
/afsws
/bin
/* | \
37823 ?
:\\/os2
\\/install\\/* | ?
:\\/OS2
\\/INSTALL
\\/* | \
37826 # OSF1 and SCO ODT 3.0 have their own names for install.
37827 # Don't use installbsd from OSF since it installs stuff as root
37829 for ac_prog
in ginstall scoinst
install; do
37830 for ac_exec_ext
in '' $ac_executable_extensions; do
37831 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
37832 if test $ac_prog = install &&
37833 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
37834 # AIX install. It has an incompatible calling convention.
37836 elif test $ac_prog = install &&
37837 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
37838 # program-specific install script used by HP pwplus--don't use.
37841 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
37853 if test "${ac_cv_path_install+set}" = set; then
37854 INSTALL
=$ac_cv_path_install
37856 # As a last resort, use the slow shell script. We don't cache a
37857 # path for INSTALL within a source directory, because that will
37858 # break other packages using the cache if that directory is
37859 # removed, or if the path is relative.
37860 INSTALL
=$ac_install_sh
37863 echo "$as_me:$LINENO: result: $INSTALL" >&5
37864 echo "${ECHO_T}$INSTALL" >&6
37866 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
37867 # It thinks the first close brace ends the variable substitution.
37868 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
37870 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
37872 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
37874 echo "$as_me:$LINENO: checking whether ln -s works" >&5
37875 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
37877 if test "$LN_S" = "ln -s"; then
37878 echo "$as_me:$LINENO: result: yes" >&5
37879 echo "${ECHO_T}yes" >&6
37881 echo "$as_me:$LINENO: result: no, using $LN_S" >&5
37882 echo "${ECHO_T}no, using $LN_S" >&6
37886 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
37887 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
37888 set dummy
${MAKE-make}; ac_make
=`echo "$2" | sed 'y,:./+-,___p_,'`
37889 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
37890 echo $ECHO_N "(cached) $ECHO_C" >&6
37892 cat >conftest.
make <<\_ACEOF
37894 @
echo 'ac_maketemp="$(MAKE)"'
37896 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
37897 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
37898 if test -n "$ac_maketemp"; then
37899 eval ac_cv_prog_make_
${ac_make}_set
=yes
37901 eval ac_cv_prog_make_
${ac_make}_set
=no
37903 rm -f conftest.
make
37905 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
37906 echo "$as_me:$LINENO: result: yes" >&5
37907 echo "${ECHO_T}yes" >&6
37910 echo "$as_me:$LINENO: result: no" >&5
37911 echo "${ECHO_T}no" >&6
37912 SET_MAKE
="MAKE=${MAKE-make}"
37917 if test -n "$ac_tool_prefix"; then
37918 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
37919 set dummy
${ac_tool_prefix}ar; ac_word
=$2
37920 echo "$as_me:$LINENO: checking for $ac_word" >&5
37921 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
37922 if test "${ac_cv_prog_AR+set}" = set; then
37923 echo $ECHO_N "(cached) $ECHO_C" >&6
37925 if test -n "$AR"; then
37926 ac_cv_prog_AR
="$AR" # Let the user override the test.
37928 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
37929 for as_dir
in $PATH
37932 test -z "$as_dir" && as_dir
=.
37933 for ac_exec_ext
in '' $ac_executable_extensions; do
37934 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
37935 ac_cv_prog_AR
="${ac_tool_prefix}ar"
37936 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
37945 if test -n "$AR"; then
37946 echo "$as_me:$LINENO: result: $AR" >&5
37947 echo "${ECHO_T}$AR" >&6
37949 echo "$as_me:$LINENO: result: no" >&5
37950 echo "${ECHO_T}no" >&6
37954 if test -z "$ac_cv_prog_AR"; then
37956 # Extract the first word of "ar", so it can be a program name with args.
37957 set dummy
ar; ac_word
=$2
37958 echo "$as_me:$LINENO: checking for $ac_word" >&5
37959 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
37960 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
37961 echo $ECHO_N "(cached) $ECHO_C" >&6
37963 if test -n "$ac_ct_AR"; then
37964 ac_cv_prog_ac_ct_AR
="$ac_ct_AR" # Let the user override the test.
37966 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
37967 for as_dir
in $PATH
37970 test -z "$as_dir" && as_dir
=.
37971 for ac_exec_ext
in '' $ac_executable_extensions; do
37972 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
37973 ac_cv_prog_ac_ct_AR
="ar"
37974 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
37980 test -z "$ac_cv_prog_ac_ct_AR" && ac_cv_prog_ac_ct_AR
="ar"
37983 ac_ct_AR
=$ac_cv_prog_ac_ct_AR
37984 if test -n "$ac_ct_AR"; then
37985 echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
37986 echo "${ECHO_T}$ac_ct_AR" >&6
37988 echo "$as_me:$LINENO: result: no" >&5
37989 echo "${ECHO_T}no" >&6
37994 AR
="$ac_cv_prog_AR"
37997 if test -n "$ac_tool_prefix"; then
37998 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
37999 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
38000 echo "$as_me:$LINENO: checking for $ac_word" >&5
38001 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
38002 if test "${ac_cv_prog_STRIP+set}" = set; then
38003 echo $ECHO_N "(cached) $ECHO_C" >&6
38005 if test -n "$STRIP"; then
38006 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
38008 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
38009 for as_dir
in $PATH
38012 test -z "$as_dir" && as_dir
=.
38013 for ac_exec_ext
in '' $ac_executable_extensions; do
38014 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
38015 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
38016 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
38024 STRIP
=$ac_cv_prog_STRIP
38025 if test -n "$STRIP"; then
38026 echo "$as_me:$LINENO: result: $STRIP" >&5
38027 echo "${ECHO_T}$STRIP" >&6
38029 echo "$as_me:$LINENO: result: no" >&5
38030 echo "${ECHO_T}no" >&6
38034 if test -z "$ac_cv_prog_STRIP"; then
38036 # Extract the first word of "strip", so it can be a program name with args.
38037 set dummy strip
; ac_word
=$2
38038 echo "$as_me:$LINENO: checking for $ac_word" >&5
38039 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
38040 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
38041 echo $ECHO_N "(cached) $ECHO_C" >&6
38043 if test -n "$ac_ct_STRIP"; then
38044 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
38046 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
38047 for as_dir
in $PATH
38050 test -z "$as_dir" && as_dir
=.
38051 for ac_exec_ext
in '' $ac_executable_extensions; do
38052 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
38053 ac_cv_prog_ac_ct_STRIP
="strip"
38054 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
38060 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP
=":"
38063 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
38064 if test -n "$ac_ct_STRIP"; then
38065 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
38066 echo "${ECHO_T}$ac_ct_STRIP" >&6
38068 echo "$as_me:$LINENO: result: no" >&5
38069 echo "${ECHO_T}no" >&6
38074 STRIP
="$ac_cv_prog_STRIP"
38077 if test -n "$ac_tool_prefix"; then
38078 # Extract the first word of "${ac_tool_prefix}nm", so it can be a program name with args.
38079 set dummy
${ac_tool_prefix}nm
; ac_word
=$2
38080 echo "$as_me:$LINENO: checking for $ac_word" >&5
38081 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
38082 if test "${ac_cv_prog_NM+set}" = set; then
38083 echo $ECHO_N "(cached) $ECHO_C" >&6
38085 if test -n "$NM"; then
38086 ac_cv_prog_NM
="$NM" # Let the user override the test.
38088 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
38089 for as_dir
in $PATH
38092 test -z "$as_dir" && as_dir
=.
38093 for ac_exec_ext
in '' $ac_executable_extensions; do
38094 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
38095 ac_cv_prog_NM
="${ac_tool_prefix}nm"
38096 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
38105 if test -n "$NM"; then
38106 echo "$as_me:$LINENO: result: $NM" >&5
38107 echo "${ECHO_T}$NM" >&6
38109 echo "$as_me:$LINENO: result: no" >&5
38110 echo "${ECHO_T}no" >&6
38114 if test -z "$ac_cv_prog_NM"; then
38116 # Extract the first word of "nm", so it can be a program name with args.
38117 set dummy nm
; ac_word
=$2
38118 echo "$as_me:$LINENO: checking for $ac_word" >&5
38119 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
38120 if test "${ac_cv_prog_ac_ct_NM+set}" = set; then
38121 echo $ECHO_N "(cached) $ECHO_C" >&6
38123 if test -n "$ac_ct_NM"; then
38124 ac_cv_prog_ac_ct_NM
="$ac_ct_NM" # Let the user override the test.
38126 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
38127 for as_dir
in $PATH
38130 test -z "$as_dir" && as_dir
=.
38131 for ac_exec_ext
in '' $ac_executable_extensions; do
38132 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
38133 ac_cv_prog_ac_ct_NM
="nm"
38134 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
38140 test -z "$ac_cv_prog_ac_ct_NM" && ac_cv_prog_ac_ct_NM
=":"
38143 ac_ct_NM
=$ac_cv_prog_ac_ct_NM
38144 if test -n "$ac_ct_NM"; then
38145 echo "$as_me:$LINENO: result: $ac_ct_NM" >&5
38146 echo "${ECHO_T}$ac_ct_NM" >&6
38148 echo "$as_me:$LINENO: result: no" >&5
38149 echo "${ECHO_T}no" >&6
38154 NM
="$ac_cv_prog_NM"
38158 case ${BAKEFILE_HOST} in
38160 INSTALL_DIR
="mkdir"
38162 *) INSTALL_DIR
="$INSTALL -d"
38168 case ${BAKEFILE_HOST} in
38169 *-*-cygwin* | *-*-mingw32* )
38170 LDFLAGS_GUI
="-Wl,--subsystem,windows -mwindows"
38176 echo "$as_me:$LINENO: checking if make is GNU make" >&5
38177 echo $ECHO_N "checking if make is GNU make... $ECHO_C" >&6
38178 if test "${bakefile_cv_prog_makeisgnu+set}" = set; then
38179 echo $ECHO_N "(cached) $ECHO_C" >&6
38182 if ( ${SHELL-sh} -c "${MAKE-make} --version" 2> /dev
/null
|
38183 egrep -s GNU
> /dev
/null
); then
38184 bakefile_cv_prog_makeisgnu
="yes"
38186 bakefile_cv_prog_makeisgnu
="no"
38190 echo "$as_me:$LINENO: result: $bakefile_cv_prog_makeisgnu" >&5
38191 echo "${ECHO_T}$bakefile_cv_prog_makeisgnu" >&6
38193 if test "x$bakefile_cv_prog_makeisgnu" = "xyes"; then
38208 if test "x$BAKEFILE_FORCE_PLATFORM" = "x"; then
38209 case "${BAKEFILE_HOST}" in
38210 *-*-cygwin* | *-*-mingw32* )
38216 *-pc-os2_emx | *-pc-os2-emx )
38219 powerpc
-*-darwin* )
38228 case "$BAKEFILE_FORCE_PLATFORM" in
38246 { { echo "$as_me:$LINENO: error: Unknown platform: $BAKEFILE_FORCE_PLATFORM" >&5
38247 echo "$as_me: error: Unknown platform: $BAKEFILE_FORCE_PLATFORM" >&2;}
38248 { (exit 1); exit 1; }; }
38262 SO_SUFFIX_MODULE
="so"
38268 case "${BAKEFILE_HOST}" in
38271 SO_SUFFIX_MODULE
="sl"
38275 SO_SUFFIX_MODULE
="a"
38277 *-*-cygwin* | *-*-mingw32* )
38279 SO_SUFFIX_MODULE
="dll"
38287 *-pc-os2_emx | *-pc-os2-emx )
38292 powerpc
-*-darwin* )
38294 SO_SUFFIX_MODULE
="bundle"
38306 SHARED_LD_CC
="\$(CC) -shared -o"
38307 SHARED_LD_CXX
="\$(CXX) -shared -o"
38309 if test "x$GCC" = "xyes"; then
38313 case "${BAKEFILE_HOST}" in
38315 if test "x$GCC" = "xyes"; then
38316 SHARED_LD_CC
="${CC} -shared ${PIC_FLAG} -o"
38317 SHARED_LD_CXX
="${CXX} -shared ${PIC_FLAG} -o"
38319 LDFLAGS
="$LDFLAGS -L/usr/lib"
38321 SHARED_LD_CC
="${CC} -b -o"
38322 SHARED_LD_CXX
="${CXX} -b -o"
38328 if test "x$GCC" != "xyes"; then
38329 echo "$as_me:$LINENO: checking for Intel compiler" >&5
38330 echo $ECHO_N "checking for Intel compiler... $ECHO_C" >&6
38331 if test "${bakefile_cv_prog_icc+set}" = set; then
38332 echo $ECHO_N "(cached) $ECHO_C" >&6
38335 cat >conftest.
$ac_ext <<_ACEOF
38338 cat confdefs.h
>>conftest.
$ac_ext
38339 cat >>conftest.
$ac_ext <<_ACEOF
38340 /* end confdefs.h. */
38346 #ifndef __INTEL_COMPILER
38354 rm -f conftest.
$ac_objext
38355 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
38356 (eval $ac_compile) 2>conftest.er1
38358 grep -v '^ *+' conftest.er1
>conftest.err
38360 cat conftest.err
>&5
38361 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38362 (exit $ac_status); } &&
38363 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
38364 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38365 (eval $ac_try) 2>&5
38367 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38368 (exit $ac_status); }; } &&
38369 { ac_try
='test -s conftest.$ac_objext'
38370 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38371 (eval $ac_try) 2>&5
38373 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38374 (exit $ac_status); }; }; then
38375 bakefile_cv_prog_icc
=yes
38377 echo "$as_me: failed program was:" >&5
38378 sed 's/^/| /' conftest.
$ac_ext >&5
38380 bakefile_cv_prog_icc
=no
38383 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
38386 echo "$as_me:$LINENO: result: $bakefile_cv_prog_icc" >&5
38387 echo "${ECHO_T}$bakefile_cv_prog_icc" >&6
38388 if test "$bakefile_cv_prog_icc" = "yes"; then
38395 if test "x$GCC" != xyes
; then
38396 SHARED_LD_CC
="${CC} -G -o"
38397 SHARED_LD_CXX
="${CXX} -G -o"
38403 CFLAGS
="$CFLAGS -fno-common"
38404 CXXFLAGS
="$CXXFLAGS -fno-common"
38407 echo "$as_me:$LINENO: checking for gcc 3.1 or later" >&5
38408 echo $ECHO_N "checking for gcc 3.1 or later... $ECHO_C" >&6
38409 if test "${wx_cv_gcc31+set}" = set; then
38410 echo $ECHO_N "(cached) $ECHO_C" >&6
38413 cat >conftest.
$ac_ext <<_ACEOF
38416 cat confdefs.h
>>conftest.
$ac_ext
38417 cat >>conftest.
$ac_ext <<_ACEOF
38418 /* end confdefs.h. */
38424 #if (__GNUC__ < 3) || \
38425 ((__GNUC__ == 3) && (__GNUC_MINOR__ < 1))
38433 rm -f conftest.
$ac_objext
38434 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
38435 (eval $ac_compile) 2>conftest.er1
38437 grep -v '^ *+' conftest.er1
>conftest.err
38439 cat conftest.err
>&5
38440 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38441 (exit $ac_status); } &&
38442 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
38443 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38444 (eval $ac_try) 2>&5
38446 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38447 (exit $ac_status); }; } &&
38448 { ac_try
='test -s conftest.$ac_objext'
38449 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38450 (eval $ac_try) 2>&5
38452 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38453 (exit $ac_status); }; }; then
38458 echo "$as_me: failed program was:" >&5
38459 sed 's/^/| /' conftest.
$ac_ext >&5
38466 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
38469 echo "$as_me:$LINENO: result: $wx_cv_gcc31" >&5
38470 echo "${ECHO_T}$wx_cv_gcc31" >&6
38471 if test "$wx_cv_gcc31" = "no"; then
38472 cat <<EOF >shared-ld-sh
38474 #-----------------------------------------------------------------------------
38475 #-- Name: distrib/mac/shared-ld-sh
38476 #-- Purpose: Link a mach-o dynamic shared library for Darwin / Mac OS X
38477 #-- Author: Gilles Depeyrot
38478 #-- Copyright: (c) 2002 Gilles Depeyrot
38479 #-- Licence: any use permitted
38480 #-----------------------------------------------------------------------------
38485 linking_flag="-dynamiclib"
38487 while test \${#} -gt 0; do
38494 -o|-compatibility_version|-current_version|-framework|-undefined|-install_name)
38495 # collect these options and values
38496 args="\${args} \${1} \${2}"
38500 -l*|-L*|-flat_namespace|-headerpad_max_install_names)
38501 # collect these options
38502 args="\${args} \${1}"
38505 -dynamiclib|-bundle)
38506 linking_flag="\${1}"
38510 echo "shared-ld: unhandled option '\${1}'"
38514 *.o | *.a | *.dylib)
38515 # collect object files
38516 objects="\${objects} \${1}"
38520 echo "shared-ld: unhandled argument '\${1}'"
38529 # Link one module containing all the others
38531 if test \${verbose} = 1; then
38532 echo "c++ -r -keep_private_externs -nostdlib \${objects} -o master.\$\$.o"
38534 c++ -r -keep_private_externs -nostdlib \${objects} -o master.\$\$.o
38536 if test \${status} != 0; then
38541 # Link the shared library from the single module created
38543 if test \${verbose} = 1; then
38544 echo "cc \${linking_flag} master.\$\$.o \${args}"
38546 c++ \${linking_flag} master.\$\$.o \${args}
38548 if test \${status} != 0; then
38553 # Remove intermediate module
38555 rm -f master.\$\$.o
38559 chmod +x shared
-ld-sh
38561 SHARED_LD_CC
="`pwd`/shared-ld-sh -dynamiclib -headerpad_max_install_names -o"
38562 SHARED_LD_MODULE_CC
="`pwd`/shared-ld-sh -bundle -headerpad_max_install_names -o"
38563 SHARED_LD_CXX
="$SHARED_LD_CC"
38564 SHARED_LD_MODULE_CXX
="$SHARED_LD_MODULE_CC"
38566 SHARED_LD_CC
="\${CC} -dynamiclib -single_module -headerpad_max_install_names -o"
38567 SHARED_LD_MODULE_CC
="\${CC} -bundle -single_module -headerpad_max_install_names -o"
38568 SHARED_LD_CXX
="\${CXX} -dynamiclib -single_module -headerpad_max_install_names -o"
38569 SHARED_LD_MODULE_CXX
="\${CXX} -bundle -single_module -headerpad_max_install_names -o"
38572 PIC_FLAG
="-dynamic -fPIC"
38576 if test "x$GCC" != "xyes"; then
38577 # Extract the first word of "makeC++SharedLib", so it can be a program name with args.
38578 set dummy makeC
++SharedLib
; ac_word
=$2
38579 echo "$as_me:$LINENO: checking for $ac_word" >&5
38580 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
38581 if test "${ac_cv_prog_AIX_CXX_LD+set}" = set; then
38582 echo $ECHO_N "(cached) $ECHO_C" >&6
38584 if test -n "$AIX_CXX_LD"; then
38585 ac_cv_prog_AIX_CXX_LD
="$AIX_CXX_LD" # Let the user override the test.
38587 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
38588 for as_dir
in $PATH
38591 test -z "$as_dir" && as_dir
=.
38592 for ac_exec_ext
in '' $ac_executable_extensions; do
38593 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
38594 ac_cv_prog_AIX_CXX_LD
="makeC++SharedLib"
38595 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
38601 test -z "$ac_cv_prog_AIX_CXX_LD" && ac_cv_prog_AIX_CXX_LD
="/usr/lpp/xlC/bin/makeC++SharedLib"
38604 AIX_CXX_LD
=$ac_cv_prog_AIX_CXX_LD
38605 if test -n "$AIX_CXX_LD"; then
38606 echo "$as_me:$LINENO: result: $AIX_CXX_LD" >&5
38607 echo "${ECHO_T}$AIX_CXX_LD" >&6
38609 echo "$as_me:$LINENO: result: no" >&5
38610 echo "${ECHO_T}no" >&6
38613 SHARED_LD_CC
="$AIX_CC_LD -p 0 -o"
38614 SHARED_LD_CXX
="$AIX_CXX_LD -p 0 -o"
38619 SHARED_LD_CC
="${LD} -shared -o"
38620 SHARED_LD_CXX
="${LD} -shared -o"
38624 if test "x$GCC" != "xyes"; then
38629 *-*-cygwin* | *-*-mingw32* )
38633 *-*-freebsd* | *-*-openbsd* | *-*-netbsd* | \
38637 *-pc-os2_emx | *-pc-os2-emx | \
38642 { { echo "$as_me:$LINENO: error: unknown system type $BAKEFILE_HOST." >&5
38643 echo "$as_me: error: unknown system type $BAKEFILE_HOST." >&2;}
38644 { (exit 1); exit 1; }; }
38647 if test "x$SHARED_LD_MODULE_CC" = "x" ; then
38648 SHARED_LD_MODULE_CC
="$SHARED_LD_CC"
38650 if test "x$SHARED_LD_MODULE_CXX" = "x" ; then
38651 SHARED_LD_MODULE_CXX
="$SHARED_LD_CXX"
38668 case "${BAKEFILE_HOST}" in
38670 SONAME_FLAG
="-Wl,-soname,"
38698 echo "$as_me:$LINENO: checking for dependency tracking method" >&5
38699 echo $ECHO_N "checking for dependency tracking method... $ECHO_C" >&6
38702 if test "x$GCC" = "xyes"; then
38705 case "${BAKEFILE_HOST}" in
38706 powerpc
-*-darwin* )
38707 DEPSFLAG_GCC
="-no-cpp-precomp -MMD"
38710 DEPSFLAG_GCC
="-MMD"
38713 echo "$as_me:$LINENO: result: gcc" >&5
38714 echo "${ECHO_T}gcc" >&6
38716 echo "$as_me:$LINENO: result: none" >&5
38717 echo "${ECHO_T}none" >&6
38720 if test $DEPS_TRACKING = 1 ; then
38724 # This script is part of Bakefile (http://bakefile.sourceforge.net) autoconf
38725 # script. It is used to track C/C++ files dependencies in portable way.
38727 # Permission is given to use this file in any way.
38731 DEPSFLAG_GCC="$DEPSFLAG_GCC"
38735 if test \$DEPSMODE = gcc ; then
38736 \${*} \${DEPSFLAG_GCC}
38738 if test \${status} != 0 ; then
38741 # move created file to the location we want it in:
38742 while test \${#} -gt 0; do
38756 depfile=\`basename \$srcfile | sed -e 's/\..*$/.d/g'\`
38757 depobjname=\`echo \$depfile |sed -e 's/\.d/.o/g'\`
38758 if test -f \$depfile ; then
38759 sed -e "s,\$depobjname:,\$objfile:,g" \$depfile >\${DEPSDIR}/\${objfile}.d
38762 depfile=\`basename \$objfile | sed -e 's/\..*$/.d/g'\`
38763 if test -f \$depfile ; then
38764 sed -e "/^\$objfile/!s,\$depobjname:,\$objfile:,g" \$depfile >\${DEPSDIR}/\${objfile}.d
38783 case ${BAKEFILE_HOST} in
38784 *-*-cygwin* | *-*-mingw32* )
38785 if test "$build" != "$host" ; then
38786 RESCOMP
=$host_alias-windres
38788 # Extract the first word of "windres", so it can be a program name with args.
38789 set dummy windres
; ac_word
=$2
38790 echo "$as_me:$LINENO: checking for $ac_word" >&5
38791 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
38792 if test "${ac_cv_prog_RESCOMP+set}" = set; then
38793 echo $ECHO_N "(cached) $ECHO_C" >&6
38795 if test -n "$RESCOMP"; then
38796 ac_cv_prog_RESCOMP
="$RESCOMP" # Let the user override the test.
38798 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
38799 for as_dir
in $PATH
38802 test -z "$as_dir" && as_dir
=.
38803 for ac_exec_ext
in '' $ac_executable_extensions; do
38804 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
38805 ac_cv_prog_RESCOMP
="windres"
38806 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
38812 test -z "$ac_cv_prog_RESCOMP" && ac_cv_prog_RESCOMP
="windres"
38815 RESCOMP
=$ac_cv_prog_RESCOMP
38816 if test -n "$RESCOMP"; then
38817 echo "$as_me:$LINENO: result: $RESCOMP" >&5
38818 echo "${ECHO_T}$RESCOMP" >&6
38820 echo "$as_me:$LINENO: result: no" >&5
38821 echo "${ECHO_T}no" >&6
38828 # Extract the first word of "Rez", so it can be a program name with args.
38829 set dummy Rez
; ac_word
=$2
38830 echo "$as_me:$LINENO: checking for $ac_word" >&5
38831 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
38832 if test "${ac_cv_prog_RESCOMP+set}" = set; then
38833 echo $ECHO_N "(cached) $ECHO_C" >&6
38835 if test -n "$RESCOMP"; then
38836 ac_cv_prog_RESCOMP
="$RESCOMP" # Let the user override the test.
38838 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
38839 for as_dir
in $PATH
38842 test -z "$as_dir" && as_dir
=.
38843 for ac_exec_ext
in '' $ac_executable_extensions; do
38844 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
38845 ac_cv_prog_RESCOMP
="Rez"
38846 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
38852 test -z "$ac_cv_prog_RESCOMP" && ac_cv_prog_RESCOMP
="/Developer/Tools/Rez"
38855 RESCOMP
=$ac_cv_prog_RESCOMP
38856 if test -n "$RESCOMP"; then
38857 echo "$as_me:$LINENO: result: $RESCOMP" >&5
38858 echo "${ECHO_T}$RESCOMP" >&6
38860 echo "$as_me:$LINENO: result: no" >&5
38861 echo "${ECHO_T}no" >&6
38864 # Extract the first word of "SetFile", so it can be a program name with args.
38865 set dummy SetFile
; ac_word
=$2
38866 echo "$as_me:$LINENO: checking for $ac_word" >&5
38867 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
38868 if test "${ac_cv_prog_SETFILE+set}" = set; then
38869 echo $ECHO_N "(cached) $ECHO_C" >&6
38871 if test -n "$SETFILE"; then
38872 ac_cv_prog_SETFILE
="$SETFILE" # Let the user override the test.
38874 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
38875 for as_dir
in $PATH
38878 test -z "$as_dir" && as_dir
=.
38879 for ac_exec_ext
in '' $ac_executable_extensions; do
38880 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
38881 ac_cv_prog_SETFILE
="SetFile"
38882 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
38888 test -z "$ac_cv_prog_SETFILE" && ac_cv_prog_SETFILE
="/Developer/Tools/SetFile"
38891 SETFILE
=$ac_cv_prog_SETFILE
38892 if test -n "$SETFILE"; then
38893 echo "$as_me:$LINENO: result: $SETFILE" >&5
38894 echo "${ECHO_T}$SETFILE" >&6
38896 echo "$as_me:$LINENO: result: no" >&5
38897 echo "${ECHO_T}no" >&6
38910 # Check whether --enable-precomp-headers or --disable-precomp-headers was given.
38911 if test "${enable_precomp_headers+set}" = set; then
38912 enableval
="$enable_precomp_headers"
38913 bk_use_pch
="$enableval"
38918 if test "x$bk_use_pch" = "x" -o "x$bk_use_pch" = "xyes" ; then
38919 if test "x$GCC" = "xyes"; then
38920 echo "$as_me:$LINENO: checking if the compiler supports precompiled headers" >&5
38921 echo $ECHO_N "checking if the compiler supports precompiled headers... $ECHO_C" >&6
38922 cat >conftest.
$ac_ext <<_ACEOF
38925 cat confdefs.h
>>conftest.
$ac_ext
38926 cat >>conftest.
$ac_ext <<_ACEOF
38927 /* end confdefs.h. */
38933 #if !defined(__GNUC__) || !defined(__GNUC_MINOR__)
38934 #error "no pch support"
38937 #error "no pch support"
38939 #if (__GNUC__ == 3) && \
38940 ((!defined(__APPLE_CC__) && (__GNUC_MINOR__ < 4)) || \
38941 ( defined(__APPLE_CC__) && (__GNUC_MINOR__ < 3)))
38942 #error "no pch support"
38949 rm -f conftest.
$ac_objext
38950 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
38951 (eval $ac_compile) 2>conftest.er1
38953 grep -v '^ *+' conftest.er1
>conftest.err
38955 cat conftest.err
>&5
38956 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38957 (exit $ac_status); } &&
38958 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
38959 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38960 (eval $ac_try) 2>&5
38962 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38963 (exit $ac_status); }; } &&
38964 { ac_try
='test -s conftest.$ac_objext'
38965 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38966 (eval $ac_try) 2>&5
38968 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38969 (exit $ac_status); }; }; then
38971 echo "$as_me:$LINENO: result: yes" >&5
38972 echo "${ECHO_T}yes" >&6
38973 CPPFLAGS
="-fpch-deps $CPPFLAGS"
38977 echo "$as_me: failed program was:" >&5
38978 sed 's/^/| /' conftest.
$ac_ext >&5
38981 echo "$as_me:$LINENO: result: no" >&5
38982 echo "${ECHO_T}no" >&6
38985 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
38986 if test $GCC_PCH = 1 ; then
38987 cat <<EOF >bk-make-pch
38990 # This script is part of Bakefile (http://bakefile.sourceforge.net) autoconf
38991 # script. It is used to generated precompiled headers.
38993 # Permission is given to use this file in any way.
39002 while test \${#} -gt 0; do
39005 incdir=\`echo \${1} | sed -e 's/-I\(.*\)/\1/g'\`
39006 if test "x\${headerfile}" = "x" -a -f "\${incdir}/\${header}" ; then
39007 headerfile="\${incdir}/\${header}"
39011 compiler="\${compiler} \${1}"
39015 if test "x\${headerfile}" = "x" ; then
39016 echo "error: can't find header \${header} in include paths" >2
39018 if test -f \${outfile} ; then
39021 mkdir -p \`dirname \${outfile}\`
39023 depsfile=".deps/\`basename \${outfile}\`.d"
39025 # can do this because gcc is >= 3.4:
39026 \${compiler} -o \${outfile} -MMD -MF "\${depsfile}" "\${headerfile}"
39030 chmod +x bk
-make-pch
39039 COND_BUILD_DEBUG
="#"
39040 if test "x$BUILD" = "xdebug" ; then
39041 COND_BUILD_DEBUG
=""
39044 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT
="#"
39045 if test "x$BUILD" = "xdebug" -a "x$DEBUG_FLAG" = "xdefault" ; then
39046 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT
=""
39049 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT
="#"
39050 if test "x$BUILD" = "xdebug" -a "x$DEBUG_INFO" = "xdefault" ; then
39051 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT
=""
39054 COND_BUILD_DEBUG_UNICODE_0
="#"
39055 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x0" ; then
39056 COND_BUILD_DEBUG_UNICODE_0
=""
39059 COND_BUILD_DEBUG_UNICODE_1
="#"
39060 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x1" ; then
39061 COND_BUILD_DEBUG_UNICODE_1
=""
39064 COND_BUILD_RELEASE
="#"
39065 if test "x$BUILD" = "xrelease" ; then
39066 COND_BUILD_RELEASE
=""
39069 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT
="#"
39070 if test "x$BUILD" = "xrelease" -a "x$DEBUG_INFO" = "xdefault" ; then
39071 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT
=""
39074 COND_BUILD_RELEASE_UNICODE_0
="#"
39075 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x0" ; then
39076 COND_BUILD_RELEASE_UNICODE_0
=""
39079 COND_BUILD_RELEASE_UNICODE_1
="#"
39080 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x1" ; then
39081 COND_BUILD_RELEASE_UNICODE_1
=""
39084 COND_DEBUG_FLAG_1
="#"
39085 if test "x$DEBUG_FLAG" = "x1" ; then
39086 COND_DEBUG_FLAG_1
=""
39089 COND_DEBUG_INFO_0
="#"
39090 if test "x$DEBUG_INFO" = "x0" ; then
39091 COND_DEBUG_INFO_0
=""
39094 COND_DEBUG_INFO_1
="#"
39095 if test "x$DEBUG_INFO" = "x1" ; then
39096 COND_DEBUG_INFO_1
=""
39099 COND_DEPS_TRACKING_0
="#"
39100 if test "x$DEPS_TRACKING" = "x0" ; then
39101 COND_DEPS_TRACKING_0
=""
39104 COND_DEPS_TRACKING_1
="#"
39105 if test "x$DEPS_TRACKING" = "x1" ; then
39106 COND_DEPS_TRACKING_1
=""
39110 if test "x$GCC_PCH" = "x1" ; then
39114 COND_MONOLITHIC_0
="#"
39115 if test "x$MONOLITHIC" = "x0" ; then
39116 COND_MONOLITHIC_0
=""
39119 COND_MONOLITHIC_0_SHARED_0
="#"
39120 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" ; then
39121 COND_MONOLITHIC_0_SHARED_0
=""
39124 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1
="#"
39125 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" ; then
39126 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1
=""
39129 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_ODBC_1
="#"
39130 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_ODBC" = "x1" ; then
39131 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_ODBC_1
=""
39134 COND_MONOLITHIC_0_SHARED_0_USE_HTML_1
="#"
39135 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_HTML" = "x1" ; then
39136 COND_MONOLITHIC_0_SHARED_0_USE_HTML_1
=""
39139 COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1
="#"
39140 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_ODBC" = "x1" ; then
39141 COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1
=""
39144 COND_MONOLITHIC_0_SHARED_1
="#"
39145 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" ; then
39146 COND_MONOLITHIC_0_SHARED_1
=""
39149 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1
="#"
39150 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" ; then
39151 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1
=""
39154 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_ODBC_1
="#"
39155 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_ODBC" = "x1" ; then
39156 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_ODBC_1
=""
39159 COND_MONOLITHIC_0_SHARED_1_USE_HTML_1
="#"
39160 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_HTML" = "x1" ; then
39161 COND_MONOLITHIC_0_SHARED_1_USE_HTML_1
=""
39164 COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1
="#"
39165 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_ODBC" = "x1" ; then
39166 COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1
=""
39169 COND_MONOLITHIC_0_USE_ODBC_1
="#"
39170 if test "x$MONOLITHIC" = "x0" -a "x$USE_ODBC" = "x1" ; then
39171 COND_MONOLITHIC_0_USE_ODBC_1
=""
39174 COND_MONOLITHIC_1
="#"
39175 if test "x$MONOLITHIC" = "x1" ; then
39176 COND_MONOLITHIC_1
=""
39179 COND_MONOLITHIC_1_SHARED_0
="#"
39180 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x0" ; then
39181 COND_MONOLITHIC_1_SHARED_0
=""
39184 COND_MONOLITHIC_1_SHARED_1
="#"
39185 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x1" ; then
39186 COND_MONOLITHIC_1_SHARED_1
=""
39189 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1
="#"
39190 if test "x$OFFICIAL_BUILD" = "x0" -a "x$PLATFORM_WIN32" = "x1" ; then
39191 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1
=""
39194 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1
="#"
39195 if test "x$OFFICIAL_BUILD" = "x1" -a "x$PLATFORM_WIN32" = "x1" ; then
39196 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1
=""
39199 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1
="#"
39200 if test "x$PLATFORM_MACOSX" = "x0" -a "x$USE_SOVERSION" = "x1" ; then
39201 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1
=""
39204 COND_PLATFORM_MACOSX_1
="#"
39205 if test "x$PLATFORM_MACOSX" = "x1" ; then
39206 COND_PLATFORM_MACOSX_1
=""
39209 COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA
="#"
39210 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xCOCOA" ; then
39211 COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA
=""
39214 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK
="#"
39215 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xGTK" ; then
39216 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK
=""
39219 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC
="#"
39220 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMAC" ; then
39221 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC
=""
39224 COND_PLATFORM_MACOSX_1_USE_GUI_1
="#"
39225 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_GUI" = "x1" ; then
39226 COND_PLATFORM_MACOSX_1_USE_GUI_1
=""
39229 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1
="#"
39230 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_SOVERSION" = "x1" ; then
39231 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1
=""
39234 COND_PLATFORM_MAC_1
="#"
39235 if test "x$PLATFORM_MAC" = "x1" ; then
39236 COND_PLATFORM_MAC_1
=""
39239 COND_PLATFORM_OS2_1
="#"
39240 if test "x$PLATFORM_OS2" = "x1" ; then
39241 COND_PLATFORM_OS2_1
=""
39244 COND_PLATFORM_UNIX_0
="#"
39245 if test "x$PLATFORM_UNIX" = "x0" ; then
39246 COND_PLATFORM_UNIX_0
=""
39249 COND_PLATFORM_UNIX_1
="#"
39250 if test "x$PLATFORM_UNIX" = "x1" ; then
39251 COND_PLATFORM_UNIX_1
=""
39254 COND_PLATFORM_UNIX_1_USE_GUI_1
="#"
39255 if test "x$PLATFORM_UNIX" = "x1" -a "x$USE_GUI" = "x1" ; then
39256 COND_PLATFORM_UNIX_1_USE_GUI_1
=""
39259 COND_PLATFORM_UNIX_1_USE_PLUGINS_0
="#"
39260 if test "x$PLATFORM_UNIX" = "x1" -a "x$USE_PLUGINS" = "x0" ; then
39261 COND_PLATFORM_UNIX_1_USE_PLUGINS_0
=""
39264 COND_PLATFORM_WIN32_0
="#"
39265 if test "x$PLATFORM_WIN32" = "x0" ; then
39266 COND_PLATFORM_WIN32_0
=""
39269 COND_PLATFORM_WIN32_1
="#"
39270 if test "x$PLATFORM_WIN32" = "x1" ; then
39271 COND_PLATFORM_WIN32_1
=""
39275 if test "x$SHARED" = "x0" ; then
39279 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1
="#"
39280 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
39281 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1
=""
39284 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN
="#"
39285 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
39286 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN
=""
39289 COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN
="#"
39290 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
39291 COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN
=""
39294 COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN
="#"
39295 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
39296 COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN
=""
39299 COND_SHARED_0_WXUSE_EXPAT_BUILTIN
="#"
39300 if test "x$SHARED" = "x0" -a "x$wxUSE_EXPAT" = "xbuiltin" ; then
39301 COND_SHARED_0_WXUSE_EXPAT_BUILTIN
=""
39304 COND_SHARED_0_WXUSE_ODBC_BUILTIN
="#"
39305 if test "x$SHARED" = "x0" -a "x$wxUSE_ODBC" = "xbuiltin" ; then
39306 COND_SHARED_0_WXUSE_ODBC_BUILTIN
=""
39309 COND_SHARED_0_WXUSE_REGEX_BUILTIN
="#"
39310 if test "x$SHARED" = "x0" -a "x$wxUSE_REGEX" = "xbuiltin" ; then
39311 COND_SHARED_0_WXUSE_REGEX_BUILTIN
=""
39314 COND_SHARED_0_WXUSE_ZLIB_BUILTIN
="#"
39315 if test "x$SHARED" = "x0" -a "x$wxUSE_ZLIB" = "xbuiltin" ; then
39316 COND_SHARED_0_WXUSE_ZLIB_BUILTIN
=""
39320 if test "x$SHARED" = "x1" ; then
39324 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1
="#"
39325 if test "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
39326 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1
=""
39329 COND_TOOLKIT_COCOA
="#"
39330 if test "x$TOOLKIT" = "xCOCOA" ; then
39331 COND_TOOLKIT_COCOA
=""
39334 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0
="#"
39335 if test "x$TOOLKIT" = "xCOCOA" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
39336 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0
=""
39339 COND_TOOLKIT_GTK
="#"
39340 if test "x$TOOLKIT" = "xGTK" ; then
39341 COND_TOOLKIT_GTK
=""
39344 COND_TOOLKIT_GTK_USE_GUI_1
="#"
39345 if test "x$TOOLKIT" = "xGTK" -a "x$USE_GUI" = "x1" ; then
39346 COND_TOOLKIT_GTK_USE_GUI_1
=""
39349 COND_TOOLKIT_GTK_USE_GUI_1_WXUNIV_0
="#"
39350 if test "x$TOOLKIT" = "xGTK" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
39351 COND_TOOLKIT_GTK_USE_GUI_1_WXUNIV_0
=""
39354 COND_TOOLKIT_MAC
="#"
39355 if test "x$TOOLKIT" = "xMAC" ; then
39356 COND_TOOLKIT_MAC
=""
39359 COND_TOOLKIT_MAC_USE_GUI_1
="#"
39360 if test "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" ; then
39361 COND_TOOLKIT_MAC_USE_GUI_1
=""
39364 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0
="#"
39365 if test "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
39366 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0
=""
39369 COND_TOOLKIT_MGL
="#"
39370 if test "x$TOOLKIT" = "xMGL" ; then
39371 COND_TOOLKIT_MGL
=""
39374 COND_TOOLKIT_MGL_USE_GUI_1
="#"
39375 if test "x$TOOLKIT" = "xMGL" -a "x$USE_GUI" = "x1" ; then
39376 COND_TOOLKIT_MGL_USE_GUI_1
=""
39379 COND_TOOLKIT_MOTIF
="#"
39380 if test "x$TOOLKIT" = "xMOTIF" ; then
39381 COND_TOOLKIT_MOTIF
=""
39384 COND_TOOLKIT_MOTIF_USE_GUI_1
="#"
39385 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" ; then
39386 COND_TOOLKIT_MOTIF_USE_GUI_1
=""
39389 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0
="#"
39390 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
39391 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0
=""
39394 COND_TOOLKIT_MSW
="#"
39395 if test "x$TOOLKIT" = "xMSW" ; then
39396 COND_TOOLKIT_MSW
=""
39399 COND_TOOLKIT_MSW_USE_GUI_1
="#"
39400 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" ; then
39401 COND_TOOLKIT_MSW_USE_GUI_1
=""
39404 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0
="#"
39405 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
39406 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0
=""
39409 COND_TOOLKIT_PM
="#"
39410 if test "x$TOOLKIT" = "xPM" ; then
39414 COND_TOOLKIT_PM_USE_GUI_1
="#"
39415 if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" ; then
39416 COND_TOOLKIT_PM_USE_GUI_1
=""
39419 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0
="#"
39420 if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
39421 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0
=""
39424 COND_TOOLKIT_X11
="#"
39425 if test "x$TOOLKIT" = "xX11" ; then
39426 COND_TOOLKIT_X11
=""
39429 COND_TOOLKIT_X11_USE_GUI_1
="#"
39430 if test "x$TOOLKIT" = "xX11" -a "x$USE_GUI" = "x1" ; then
39431 COND_TOOLKIT_X11_USE_GUI_1
=""
39435 if test "x$UNICODE" = "x1" ; then
39439 COND_USE_EXCEPTIONS_0
="#"
39440 if test "x$USE_EXCEPTIONS" = "x0" ; then
39441 COND_USE_EXCEPTIONS_0
=""
39444 COND_USE_EXCEPTIONS_1
="#"
39445 if test "x$USE_EXCEPTIONS" = "x1" ; then
39446 COND_USE_EXCEPTIONS_1
=""
39450 if test "x$USE_GUI" = "x0" ; then
39455 if test "x$USE_GUI" = "x1" ; then
39459 COND_USE_GUI_1_WXUNIV_0
="#"
39460 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
39461 COND_USE_GUI_1_WXUNIV_0
=""
39464 COND_USE_GUI_1_WXUNIV_1
="#"
39465 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x1" ; then
39466 COND_USE_GUI_1_WXUNIV_1
=""
39469 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN
="#"
39470 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
39471 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN
=""
39474 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN
="#"
39475 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
39476 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN
=""
39479 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN
="#"
39480 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
39481 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN
=""
39484 COND_USE_ODBC_1
="#"
39485 if test "x$USE_ODBC" = "x1" ; then
39489 COND_USE_PLUGINS_0
="#"
39490 if test "x$USE_PLUGINS" = "x0" ; then
39491 COND_USE_PLUGINS_0
=""
39494 COND_USE_SOSYMLINKS_1
="#"
39495 if test "x$USE_SOSYMLINKS" = "x1" ; then
39496 COND_USE_SOSYMLINKS_1
=""
39499 COND_USE_SOVERLINUX_1
="#"
39500 if test "x$USE_SOVERLINUX" = "x1" ; then
39501 COND_USE_SOVERLINUX_1
=""
39504 COND_USE_SOVERSION_0
="#"
39505 if test "x$USE_SOVERSION" = "x0" ; then
39506 COND_USE_SOVERSION_0
=""
39509 COND_USE_SOVERSOLARIS_1
="#"
39510 if test "x$USE_SOVERSOLARIS" = "x1" ; then
39511 COND_USE_SOVERSOLARIS_1
=""
39514 COND_WITH_PLUGIN_SDL_1
="#"
39515 if test "x$WITH_PLUGIN_SDL" = "x1" ; then
39516 COND_WITH_PLUGIN_SDL_1
=""
39519 COND_WITH_SDL_1
="#"
39520 if test "x$WITH_SDL" = "x1" ; then
39525 if test "x$WXUNIV" = "x1" ; then
39529 COND_WXUSE_EXPAT_BUILTIN
="#"
39530 if test "x$wxUSE_EXPAT" = "xbuiltin" ; then
39531 COND_WXUSE_EXPAT_BUILTIN
=""
39534 COND_WXUSE_LIBJPEG_BUILTIN
="#"
39535 if test "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
39536 COND_WXUSE_LIBJPEG_BUILTIN
=""
39539 COND_WXUSE_LIBPNG_BUILTIN
="#"
39540 if test "x$wxUSE_LIBPNG" = "xbuiltin" ; then
39541 COND_WXUSE_LIBPNG_BUILTIN
=""
39544 COND_WXUSE_LIBTIFF_BUILTIN
="#"
39545 if test "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
39546 COND_WXUSE_LIBTIFF_BUILTIN
=""
39549 COND_WXUSE_ODBC_BUILTIN
="#"
39550 if test "x$wxUSE_ODBC" = "xbuiltin" ; then
39551 COND_WXUSE_ODBC_BUILTIN
=""
39554 COND_WXUSE_REGEX_BUILTIN
="#"
39555 if test "x$wxUSE_REGEX" = "xbuiltin" ; then
39556 COND_WXUSE_REGEX_BUILTIN
=""
39559 COND_WXUSE_ZLIB_BUILTIN
="#"
39560 if test "x$wxUSE_ZLIB" = "xbuiltin" ; then
39561 COND_WXUSE_ZLIB_BUILTIN
=""
39568 if test $GCC_PCH = 1 ; then
39569 CODE_GEN_FLAGS
="-DWX_PRECOMP -DNO_GCC_PRAGMA $CODE_GEN_FLAGS"
39570 CPPFLAGS
="-DWX_PRECOMP -DNO_GCC_PRAGMA $CPPFLAGS"
39573 powerpc
-*-darwin* )
39574 CODE_GEN_FLAGS
="-DNO_GCC_PRAGMA $CODE_GEN_FLAGS"
39575 CPPFLAGS
="-DNO_GCC_PRAGMA $CPPFLAGS"
39581 SAMPLES_SUBDIRS
="`echo $SAMPLES_SUBDIRS | tr -s ' ' | tr ' ' '\n' | sort | uniq | tr '\n' ' '| tr -d '\r'`"
39682 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
39683 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
39684 set dummy
${MAKE-make}; ac_make
=`echo "$2" | sed 'y,:./+-,___p_,'`
39685 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
39686 echo $ECHO_N "(cached) $ECHO_C" >&6
39688 cat >conftest.
make <<\_ACEOF
39690 @
echo 'ac_maketemp="$(MAKE)"'
39692 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
39693 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
39694 if test -n "$ac_maketemp"; then
39695 eval ac_cv_prog_make_
${ac_make}_set
=yes
39697 eval ac_cv_prog_make_
${ac_make}_set
=no
39699 rm -f conftest.
make
39701 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
39702 echo "$as_me:$LINENO: result: yes" >&5
39703 echo "${ECHO_T}yes" >&6
39706 echo "$as_me:$LINENO: result: no" >&5
39707 echo "${ECHO_T}no" >&6
39708 SET_MAKE
="MAKE=${MAKE-make}"
39712 if test -f lib
/wx
/include
/${TOOLCHAIN_NAME}/wx
/setup.h
; then
39713 mv -f lib
/wx
/include
/${TOOLCHAIN_NAME}/wx
/setup.h setup.h
39716 ac_config_headers
="$ac_config_headers setup.h"
39719 ac_config_files
="$ac_config_files wx-config version-script Makefile"
39722 ac_config_commands
="$ac_config_commands default"
39726 if test "$wxUSE_GUI" = "yes"; then
39727 SUBDIRS
="samples demos utils contrib"
39728 else SUBDIRS
="samples utils"
39733 # Check whether --with-cppunit-prefix or --without-cppunit-prefix was given.
39734 if test "${with_cppunit_prefix+set}" = set; then
39735 withval
="$with_cppunit_prefix"
39736 cppunit_config_prefix
="$withval"
39738 cppunit_config_prefix
=""
39741 # Check whether --with-cppunit-exec-prefix or --without-cppunit-exec-prefix was given.
39742 if test "${with_cppunit_exec_prefix+set}" = set; then
39743 withval
="$with_cppunit_exec_prefix"
39744 cppunit_config_exec_prefix
="$withval"
39746 cppunit_config_exec_prefix
=""
39749 if test x
$cppunit_config_exec_prefix != x
; then
39750 cppunit_config_args
="$cppunit_config_args --exec-prefix=$cppunit_config_exec_prefix"
39751 if test x
${CPPUNIT_CONFIG+set} != xset
; then
39752 CPPUNIT_CONFIG
=$cppunit_config_exec_prefix/bin
/cppunit
-config
39755 if test x
$cppunit_config_prefix != x
; then
39756 cppunit_config_args
="$cppunit_config_args --prefix=$cppunit_config_prefix"
39757 if test x
${CPPUNIT_CONFIG+set} != xset
; then
39758 CPPUNIT_CONFIG
=$cppunit_config_prefix/bin
/cppunit
-config
39762 # Extract the first word of "cppunit-config", so it can be a program name with args.
39763 set dummy cppunit
-config; ac_word
=$2
39764 echo "$as_me:$LINENO: checking for $ac_word" >&5
39765 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
39766 if test "${ac_cv_path_CPPUNIT_CONFIG+set}" = set; then
39767 echo $ECHO_N "(cached) $ECHO_C" >&6
39769 case $CPPUNIT_CONFIG in
39771 ac_cv_path_CPPUNIT_CONFIG
="$CPPUNIT_CONFIG" # Let the user override the test with a path.
39774 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
39775 for as_dir
in $PATH
39778 test -z "$as_dir" && as_dir
=.
39779 for ac_exec_ext
in '' $ac_executable_extensions; do
39780 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
39781 ac_cv_path_CPPUNIT_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
39782 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
39788 test -z "$ac_cv_path_CPPUNIT_CONFIG" && ac_cv_path_CPPUNIT_CONFIG
="no"
39792 CPPUNIT_CONFIG
=$ac_cv_path_CPPUNIT_CONFIG
39794 if test -n "$CPPUNIT_CONFIG"; then
39795 echo "$as_me:$LINENO: result: $CPPUNIT_CONFIG" >&5
39796 echo "${ECHO_T}$CPPUNIT_CONFIG" >&6
39798 echo "$as_me:$LINENO: result: no" >&5
39799 echo "${ECHO_T}no" >&6
39802 cppunit_version_min
=1.8.0
39804 echo "$as_me:$LINENO: checking for Cppunit - version >= $cppunit_version_min" >&5
39805 echo $ECHO_N "checking for Cppunit - version >= $cppunit_version_min... $ECHO_C" >&6
39807 if test "$CPPUNIT_CONFIG" = "no" ; then
39810 CPPUNIT_CFLAGS
=`$CPPUNIT_CONFIG --cflags`
39811 CPPUNIT_LIBS
=`$CPPUNIT_CONFIG --libs`
39812 cppunit_version
=`$CPPUNIT_CONFIG --version`
39814 cppunit_major_version
=`echo $cppunit_version | \
39815 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
39816 cppunit_minor_version
=`echo $cppunit_version | \
39817 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
39818 cppunit_micro_version
=`echo $cppunit_version | \
39819 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
39821 cppunit_major_min
=`echo $cppunit_version_min | \
39822 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
39823 cppunit_minor_min
=`echo $cppunit_version_min | \
39824 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
39825 cppunit_micro_min
=`echo $cppunit_version_min | \
39826 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
39828 cppunit_version_proper
=`expr \
39829 $cppunit_major_version \> $cppunit_major_min \| \
39830 $cppunit_major_version \= $cppunit_major_min \& \
39831 $cppunit_minor_version \> $cppunit_minor_min \| \
39832 $cppunit_major_version \= $cppunit_major_min \& \
39833 $cppunit_minor_version \= $cppunit_minor_min \& \
39834 $cppunit_micro_version \>= $cppunit_micro_min `
39836 if test "$cppunit_version_proper" = "1" ; then
39837 echo "$as_me:$LINENO: result: $cppunit_major_version.$cppunit_minor_version.$cppunit_micro_version" >&5
39838 echo "${ECHO_T}$cppunit_major_version.$cppunit_minor_version.$cppunit_micro_version" >&6
39840 echo "$as_me:$LINENO: result: no" >&5
39841 echo "${ECHO_T}no" >&6
39846 if test "x$no_cppunit" = x
; then
39847 SUBDIRS
="$SUBDIRS tests"
39858 for subdir
in `echo $SUBDIRS`; do
39859 if test -d ${srcdir}/${subdir} ; then
39860 if test "$wxUSE_GUI" = "yes"; then
39861 if test ${subdir} = "samples"; then
39862 makefiles
="samples/Makefile.in $makefiles"
39863 for sample
in `echo $SAMPLES_SUBDIRS`; do
39864 if test -d $srcdir/samples
/$sample; then
39865 makefiles
="samples/$sample/Makefile.in $makefiles"
39868 else makefiles
=`(cd $srcdir ; find $subdir -name Makefile.in)`
39870 else if test ${subdir} = "samples"; then
39871 makefiles
="samples/Makefile.in samples/console/Makefile.in"
39872 elif test ${subdir} = "utils"; then
39873 makefiles
="utils/HelpGen/Makefile.in \
39874 utils/HelpGen/src/Makefile.in \
39875 utils/tex2rtf/Makefile.in \
39876 utils/tex2rtf/src/Makefile.in"
39877 else makefiles
=`(cd $srcdir ; find $subdir -name Makefile.in)`
39881 for mkin
in $makefiles ; do
39882 mk
=`echo $mkin | sed 's/Makefile\.in/Makefile/g'`
39883 ac_config_files
="$ac_config_files $mk"
39890 cat >confcache
<<\_ACEOF
39891 # This file is a shell script that caches the results of configure
39892 # tests run on this system so they can be shared between configure
39893 # scripts and configure runs, see configure's option --config-cache.
39894 # It is not useful on other systems. If it contains results you don't
39895 # want to keep, you may remove or edit it.
39897 # config.status only pays attention to the cache file if you give it
39898 # the --recheck option to rerun configure.
39900 # `ac_cv_env_foo' variables (set or unset) will be overridden when
39901 # loading this file, other *unset* `ac_cv_foo' will be assigned the
39902 # following values.
39906 # The following way of writing the cache mishandles newlines in values,
39907 # but we know of no workaround that is simple, portable, and efficient.
39908 # So, don't put newlines in cache variables' values.
39909 # Ultrix sh set writes to stderr and can't be redirected directly,
39910 # and sets the high bit in the cache file unless we assign to the vars.
39913 case `(ac_space=' '; set | grep ac_space) 2>&1` in
39915 # `set' does not quote correctly, so add quotes (double-quote
39916 # substitution turns \\\\ into \\, and sed turns \\ into \).
39919 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
39922 # `set' quotes correctly as required by POSIX, so do not add quotes.
39924 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
39931 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
39933 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
39935 if diff $cache_file confcache
>/dev
/null
2>&1; then :; else
39936 if test -w $cache_file; then
39937 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
39938 cat confcache
>$cache_file
39940 echo "not updating unwritable cache $cache_file"
39945 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
39946 # Let make expand exec_prefix.
39947 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
39949 # VPATH may cause trouble with some makes, so we remove $(srcdir),
39950 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
39951 # trailing colons and then remove the whole line if VPATH becomes empty
39952 # (actually we leave an empty line to preserve line numbers).
39953 if test "x$srcdir" = x.
; then
39954 ac_vpsub
='/^[ ]*VPATH[ ]*=/{
39955 s/:*\$(srcdir):*/:/;
39956 s/:*\${srcdir}:*/:/;
39958 s/^\([^=]*=[ ]*\):*/\1/;
39964 DEFS
=-DHAVE_CONFIG_H
39968 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
39969 # 1. Remove the extension, and $U if already installed.
39970 ac_i
=`echo "$ac_i" |
39971 sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
39973 ac_libobjs
="$ac_libobjs $ac_i\$U.$ac_objext"
39974 ac_ltlibobjs
="$ac_ltlibobjs $ac_i"'$U.lo'
39976 LIBOBJS
=$ac_libobjs
39978 LTLIBOBJS
=$ac_ltlibobjs
39982 : ${CONFIG_STATUS=./config.status}
39983 ac_clean_files_save
=$ac_clean_files
39984 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
39985 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
39986 echo "$as_me: creating $CONFIG_STATUS" >&6;}
39987 cat >$CONFIG_STATUS <<_ACEOF
39989 # Generated by $as_me.
39990 # Run this file to recreate the current configuration.
39991 # Compiler output produced by configure, useful for debugging
39992 # configure, is in config.log if it exists.
39995 ac_cs_recheck=false
39997 SHELL=\${CONFIG_SHELL-$SHELL}
40000 cat >>$CONFIG_STATUS <<\_ACEOF
40001 ## --------------------- ##
40002 ## M4sh Initialization. ##
40003 ## --------------------- ##
40005 # Be Bourne compatible
40006 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
40009 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
40010 # is contrary to our usage. Disable this feature.
40011 alias -g '${1+"$@"}'='"$@"'
40012 elif test -n "${BASH_VERSION+set}" && (set -o posix
) >/dev
/null
2>&1; then
40015 DUALCASE
=1; export DUALCASE
# for MKS sh
40017 # Support unset when possible.
40018 if ( (MAIL
=60; unset MAIL
) || exit) >/dev
/null
2>&1; then
40025 # Work around bugs in pre-3.0 UWIN ksh.
40026 $as_unset ENV MAIL MAILPATH
40033 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
40034 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
40035 LC_TELEPHONE LC_TIME
40037 if (set +x
; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
40038 eval $as_var=C
; export $as_var
40044 # Required to use basename.
40045 if expr a
: '\(a\)' >/dev
/null
2>&1; then
40051 if (basename /) >/dev
/null
2>&1 && test "X`basename / 2>&1`" = "X/"; then
40052 as_basename
=basename
40058 # Name of the executable.
40059 as_me
=`$as_basename "$0" ||
40060 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
40061 X"$0" : 'X\(//\)$' \| \
40062 X"$0" : 'X\(/\)$' \| \
40063 . : '\(.\)' 2>/dev/null ||
40065 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
40066 /^X\/\(\/\/\)$/{ s//\1/; q; }
40067 /^X\/\(\/\).*/{ s//\1/; q; }
40071 # PATH needs CR, and LINENO needs CR and PATH.
40072 # Avoid depending upon Character Ranges.
40073 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
40074 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
40075 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
40076 as_cr_digits
='0123456789'
40077 as_cr_alnum
=$as_cr_Letters$as_cr_digits
40079 # The user is always right.
40080 if test "${PATH_SEPARATOR+set}" != set; then
40081 echo "#! /bin/sh" >conf$$.sh
40082 echo "exit 0" >>conf$$.sh
40084 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
40093 as_lineno_1
=$LINENO
40094 as_lineno_2
=$LINENO
40095 as_lineno_3
=`(expr $as_lineno_1 + 1) 2>/dev/null`
40096 test "x$as_lineno_1" != "x$as_lineno_2" &&
40097 test "x$as_lineno_3" = "x$as_lineno_2" || {
40098 # Find who we are. Look in the path if we contain no path at all
40101 *[\\/]* ) as_myself
=$0 ;;
40102 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
40103 for as_dir
in $PATH
40106 test -z "$as_dir" && as_dir
=.
40107 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
40112 # We did not find ourselves, most probably we were run as `sh COMMAND'
40113 # in which case we are not to be found in the path.
40114 if test "x$as_myself" = x
; then
40117 if test ! -f "$as_myself"; then
40118 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
40119 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
40120 { (exit 1); exit 1; }; }
40122 case $CONFIG_SHELL in
40124 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
40125 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
40128 test -z "$as_dir" && as_dir
=.
40129 for as_base
in sh bash ksh sh5
; do
40132 if ("$as_dir/$as_base" -c '
40133 as_lineno_1=$LINENO
40134 as_lineno_2=$LINENO
40135 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
40136 test "x$as_lineno_1" != "x$as_lineno_2" &&
40137 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev
/null
; then
40138 $as_unset BASH_ENV
|| test "${BASH_ENV+set}" != set || { BASH_ENV
=; export BASH_ENV
; }
40139 $as_unset ENV
|| test "${ENV+set}" != set || { ENV
=; export ENV
; }
40140 CONFIG_SHELL
=$as_dir/$as_base
40141 export CONFIG_SHELL
40142 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
40150 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
40151 # uniformly replaced by the line number. The first 'sed' inserts a
40152 # line-number line before each line; the second 'sed' does the real
40153 # work. The second script uses 'N' to pair each line-number line
40154 # with the numbered line, and appends trailing '-' during
40155 # substitution so that $LINENO is not a special case at line end.
40156 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
40157 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
40158 sed '=' <$as_myself |
40163 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
40166 s,^['$as_cr_digits']*\n,,
40167 ' >$as_me.lineno
&&
40168 chmod +x
$as_me.lineno
||
40169 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
40170 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
40171 { (exit 1); exit 1; }; }
40173 # Don't try to exec as it changes $[0], causing all sort of problems
40174 # (the dirname of $[0] is not the place where we might find the
40175 # original and so on. Autoconf is especially sensible to this).
40177 # Exit status is that of the last command.
40182 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
40183 *c
*,-n*) ECHO_N
= ECHO_C
='
40185 *c
*,* ) ECHO_N
=-n ECHO_C
= ECHO_T
= ;;
40186 *) ECHO_N
= ECHO_C
='\c' ECHO_T
= ;;
40189 if expr a
: '\(a\)' >/dev
/null
2>&1; then
40195 rm -f conf$$ conf$$.exe conf$$.
file
40197 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
40198 # We could just check for DJGPP; but this test a) works b) is more generic
40199 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
40200 if test -f conf$$.exe
; then
40201 # Don't use ln at all; we don't have any links
40206 elif ln conf$$.
file conf$$
2>/dev
/null
; then
40211 rm -f conf$$ conf$$.exe conf$$.
file
40213 if mkdir -p .
2>/dev
/null
; then
40216 test -d .
/-p && rmdir .
/-p
40220 as_executable_p
="test -f"
40222 # Sed expression to map a string onto a valid CPP name.
40223 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
40225 # Sed expression to map a string onto a valid variable name.
40226 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
40230 # We need space, tab and new line, in precisely that order.
40240 # Open the log real soon, to keep \$[0] and so on meaningful, and to
40241 # report actual input values of CONFIG_FILES etc. instead of their
40242 # values after options handling. Logging --version etc. is OK.
40246 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
40247 ## Running $as_me. ##
40252 This file was extended by wxWindows $as_me 2.5.1, which was
40253 generated by GNU Autoconf 2.59. Invocation command line was
40255 CONFIG_FILES = $CONFIG_FILES
40256 CONFIG_HEADERS = $CONFIG_HEADERS
40257 CONFIG_LINKS = $CONFIG_LINKS
40258 CONFIG_COMMANDS = $CONFIG_COMMANDS
40262 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
40266 # Files that config.status was made for.
40267 if test -n "$ac_config_files"; then
40268 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
40271 if test -n "$ac_config_headers"; then
40272 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
40275 if test -n "$ac_config_links"; then
40276 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
40279 if test -n "$ac_config_commands"; then
40280 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
40283 cat >>$CONFIG_STATUS <<\_ACEOF
40286 \`$as_me' instantiates files from templates according to the
40287 current configuration.
40289 Usage: $0 [OPTIONS] [FILE]...
40291 -h, --help print this help, then exit
40292 -V, --version print version number, then exit
40293 -q, --quiet do not print progress messages
40294 -d, --debug don't remove temporary files
40295 --recheck update $as_me by reconfiguring in the same conditions
40296 --file=FILE[:TEMPLATE]
40297 instantiate the configuration file FILE
40298 --header=FILE[:TEMPLATE]
40299 instantiate the configuration header FILE
40301 Configuration files:
40304 Configuration headers:
40307 Configuration commands:
40310 Report bugs to <bug-autoconf@gnu.org>."
40313 cat >>$CONFIG_STATUS <<_ACEOF
40315 wxWindows config.status 2.5.1
40316 configured by $0, generated by GNU Autoconf 2.59,
40317 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
40319 Copyright (C) 2003 Free Software Foundation, Inc.
40320 This config.status script is free software; the Free Software Foundation
40321 gives unlimited permission to copy, distribute and modify it."
40326 cat >>$CONFIG_STATUS <<\_ACEOF
40327 # If no file are specified by the user, then we need to provide default
40328 # value. By we need to know if files were specified by the user.
40334 ac_option
=`expr "x$1" : 'x\([^=]*\)='`
40335 ac_optarg
=`expr "x$1" : 'x[^=]*=\(.*\)'`
40343 *) # This is not an option, so the user has probably given explicit
40346 ac_need_defaults
=false
;;
40350 # Handling of the options.
40352 cat >>$CONFIG_STATUS <<\_ACEOF
40353 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
40355 --version | --vers* | -V )
40356 echo "$ac_cs_version"; exit 0 ;;
40358 # Conflict between --help and --header
40359 { { echo "$as_me:$LINENO: error: ambiguous option: $1
40360 Try \`$0 --help' for more information." >&5
40361 echo "$as_me: error: ambiguous option: $1
40362 Try \`$0 --help' for more information." >&2;}
40363 { (exit 1); exit 1; }; };;
40364 --help | --hel | -h )
40365 echo "$ac_cs_usage"; exit 0 ;;
40366 --debug | --d* | -d )
40368 --file | --fil | --fi | --f )
40370 CONFIG_FILES
="$CONFIG_FILES $ac_optarg"
40371 ac_need_defaults
=false
;;
40372 --header | --heade | --head | --hea )
40374 CONFIG_HEADERS
="$CONFIG_HEADERS $ac_optarg"
40375 ac_need_defaults
=false
;;
40376 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
40377 | -silent | --silent | --silen | --sile | --sil | --si | --s)
40380 # This is an error.
40381 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
40382 Try \`$0 --help' for more information." >&5
40383 echo "$as_me: error: unrecognized option: $1
40384 Try \`$0 --help' for more information." >&2;}
40385 { (exit 1); exit 1; }; } ;;
40387 *) ac_config_targets
="$ac_config_targets $1" ;;
40393 ac_configure_extra_args
=
40395 if $ac_cs_silent; then
40397 ac_configure_extra_args
="$ac_configure_extra_args --silent"
40401 cat >>$CONFIG_STATUS <<_ACEOF
40402 if \$ac_cs_recheck; then
40403 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
40404 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
40409 cat >>$CONFIG_STATUS <<_ACEOF
40411 # INIT-COMMANDS section.
40415 TOOLCHAIN_NAME="${TOOLCHAIN_NAME}"
40424 cat >>$CONFIG_STATUS <<\_ACEOF
40425 for ac_config_target
in $ac_config_targets
40427 case "$ac_config_target" in
40428 # Handling of arguments.
40429 "wx-config" ) CONFIG_FILES
="$CONFIG_FILES wx-config" ;;
40430 "version-script" ) CONFIG_FILES
="$CONFIG_FILES version-script" ;;
40431 "Makefile" ) CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
40432 "$mk" ) CONFIG_FILES
="$CONFIG_FILES $mk" ;;
40433 "default" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS default" ;;
40434 "setup.h" ) CONFIG_HEADERS
="$CONFIG_HEADERS setup.h" ;;
40435 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
40436 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
40437 { (exit 1); exit 1; }; };;
40441 # If the user did not use the arguments to specify the items to instantiate,
40442 # then the envvar interface is used. Set only those that are not.
40443 # We use the long form for the default assignment because of an extremely
40444 # bizarre bug on SunOS 4.1.3.
40445 if $ac_need_defaults; then
40446 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
40447 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
40448 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
40451 # Have a temporary directory for convenience. Make it in the build tree
40452 # simply because there is no reason to put it here, and in addition,
40453 # creating and moving files from /tmp can sometimes cause problems.
40454 # Create a temporary directory, and hook for its removal unless debugging.
40457 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
40458 trap '{ (exit 1); exit 1; }' 1 2 13 15
40461 # Create a (secure) tmp directory for tmp files.
40464 tmp
=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
40465 test -n "$tmp" && test -d "$tmp"
40468 tmp
=.
/confstat$$
-$RANDOM
40469 (umask 077 && mkdir $tmp)
40472 echo "$me: cannot create a temporary directory in ." >&2
40473 { (exit 1); exit 1; }
40478 cat >>$CONFIG_STATUS <<_ACEOF
40481 # CONFIG_FILES section.
40484 # No need to generate the scripts if there are no CONFIG_FILES.
40485 # This happens for instance when ./config.status config.h
40486 if test -n "\$CONFIG_FILES"; then
40487 # Protect against being on the right side of a sed subst in config.status.
40488 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
40489 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
40490 s,@SHELL@,$SHELL,;t t
40491 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
40492 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
40493 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
40494 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
40495 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
40496 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
40497 s,@exec_prefix@,$exec_prefix,;t t
40498 s,@prefix@,$prefix,;t t
40499 s,@program_transform_name@,$program_transform_name,;t t
40500 s,@bindir@,$bindir,;t t
40501 s,@sbindir@,$sbindir,;t t
40502 s,@libexecdir@,$libexecdir,;t t
40503 s,@datadir@,$datadir,;t t
40504 s,@sysconfdir@,$sysconfdir,;t t
40505 s,@sharedstatedir@,$sharedstatedir,;t t
40506 s,@localstatedir@,$localstatedir,;t t
40507 s,@libdir@,$libdir,;t t
40508 s,@includedir@,$includedir,;t t
40509 s,@oldincludedir@,$oldincludedir,;t t
40510 s,@infodir@,$infodir,;t t
40511 s,@mandir@,$mandir,;t t
40512 s,@build_alias@,$build_alias,;t t
40513 s,@host_alias@,$host_alias,;t t
40514 s,@target_alias@,$target_alias,;t t
40515 s,@DEFS@,$DEFS,;t t
40516 s,@ECHO_C@,$ECHO_C,;t t
40517 s,@ECHO_N@,$ECHO_N,;t t
40518 s,@ECHO_T@,$ECHO_T,;t t
40519 s,@LIBS@,$LIBS,;t t
40520 s,@build@,$build,;t t
40521 s,@build_cpu@,$build_cpu,;t t
40522 s,@build_vendor@,$build_vendor,;t t
40523 s,@build_os@,$build_os,;t t
40524 s,@host@,$host,;t t
40525 s,@host_cpu@,$host_cpu,;t t
40526 s,@host_vendor@,$host_vendor,;t t
40527 s,@host_os@,$host_os,;t t
40528 s,@target@,$target,;t t
40529 s,@target_cpu@,$target_cpu,;t t
40530 s,@target_vendor@,$target_vendor,;t t
40531 s,@target_os@,$target_os,;t t
40533 s,@CFLAGS@,$CFLAGS,;t t
40534 s,@LDFLAGS@,$LDFLAGS,;t t
40535 s,@CPPFLAGS@,$CPPFLAGS,;t t
40536 s,@ac_ct_CC@,$ac_ct_CC,;t t
40537 s,@EXEEXT@,$EXEEXT,;t t
40538 s,@OBJEXT@,$OBJEXT,;t t
40540 s,@EGREP@,$EGREP,;t t
40542 s,@CXXFLAGS@,$CXXFLAGS,;t t
40543 s,@ac_ct_CXX@,$ac_ct_CXX,;t t
40544 s,@RANLIB@,$RANLIB,;t t
40545 s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
40547 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
40548 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
40549 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
40550 s,@STRIP@,$STRIP,;t t
40551 s,@IF_GNU_MAKE@,$IF_GNU_MAKE,;t t
40552 s,@LN_S@,$LN_S,;t t
40553 s,@CXXCPP@,$CXXCPP,;t t
40554 s,@subdirs@,$subdirs,;t t
40555 s,@PKG_CONFIG@,$PKG_CONFIG,;t t
40556 s,@GTK_CFLAGS@,$GTK_CFLAGS,;t t
40557 s,@GTK_LIBS@,$GTK_LIBS,;t t
40558 s,@GTK_CONFIG@,$GTK_CONFIG,;t t
40559 s,@PANGOFT2_CFLAGS@,$PANGOFT2_CFLAGS,;t t
40560 s,@PANGOFT2_LIBS@,$PANGOFT2_LIBS,;t t
40561 s,@X_CFLAGS@,$X_CFLAGS,;t t
40562 s,@X_PRE_LIBS@,$X_PRE_LIBS,;t t
40563 s,@X_LIBS@,$X_LIBS,;t t
40564 s,@X_EXTRA_LIBS@,$X_EXTRA_LIBS,;t t
40565 s,@PANGOX_CFLAGS@,$PANGOX_CFLAGS,;t t
40566 s,@PANGOX_LIBS@,$PANGOX_LIBS,;t t
40567 s,@PANGOXFT_CFLAGS@,$PANGOXFT_CFLAGS,;t t
40568 s,@PANGOXFT_LIBS@,$PANGOXFT_LIBS,;t t
40569 s,@RESCOMP@,$RESCOMP,;t t
40570 s,@DEREZ@,$DEREZ,;t t
40571 s,@SETFILE@,$SETFILE,;t t
40572 s,@LIBICONV@,$LIBICONV,;t t
40573 s,@EXTRALIBS_ESD@,$EXTRALIBS_ESD,;t t
40574 s,@SDL_CONFIG@,$SDL_CONFIG,;t t
40575 s,@SDL_CFLAGS@,$SDL_CFLAGS,;t t
40576 s,@SDL_LIBS@,$SDL_LIBS,;t t
40577 s,@CORE_BASE_LIBS@,$CORE_BASE_LIBS,;t t
40578 s,@CORE_GUI_LIBS@,$CORE_GUI_LIBS,;t t
40579 s,@wxUSE_ZLIB@,$wxUSE_ZLIB,;t t
40580 s,@wxUSE_REGEX@,$wxUSE_REGEX,;t t
40581 s,@wxUSE_EXPAT@,$wxUSE_EXPAT,;t t
40582 s,@wxUSE_ODBC@,$wxUSE_ODBC,;t t
40583 s,@wxUSE_LIBJPEG@,$wxUSE_LIBJPEG,;t t
40584 s,@wxUSE_LIBPNG@,$wxUSE_LIBPNG,;t t
40585 s,@wxUSE_LIBTIFF@,$wxUSE_LIBTIFF,;t t
40586 s,@VENDOR@,$VENDOR,;t t
40587 s,@OFFICIAL_BUILD@,$OFFICIAL_BUILD,;t t
40588 s,@WXUNIV@,$WXUNIV,;t t
40589 s,@MONOLITHIC@,$MONOLITHIC,;t t
40590 s,@USE_PLUGINS@,$USE_PLUGINS,;t t
40591 s,@EXTRALIBS@,$EXTRALIBS,;t t
40592 s,@EXTRALIBS_XML@,$EXTRALIBS_XML,;t t
40593 s,@EXTRALIBS_HTML@,$EXTRALIBS_HTML,;t t
40594 s,@EXTRALIBS_ODBC@,$EXTRALIBS_ODBC,;t t
40595 s,@EXTRALIBS_GUI@,$EXTRALIBS_GUI,;t t
40596 s,@EXTRALIBS_OPENGL@,$EXTRALIBS_OPENGL,;t t
40597 s,@EXTRALIBS_SDL@,$EXTRALIBS_SDL,;t t
40598 s,@WITH_PLUGIN_SDL@,$WITH_PLUGIN_SDL,;t t
40599 s,@UNICODE@,$UNICODE,;t t
40600 s,@BUILD@,$BUILD,;t t
40601 s,@DEBUG_INFO@,$DEBUG_INFO,;t t
40602 s,@DEBUG_FLAG@,$DEBUG_FLAG,;t t
40603 s,@SHARED@,$SHARED,;t t
40604 s,@TOOLKIT_LOWERCASE@,$TOOLKIT_LOWERCASE,;t t
40605 s,@TOOLKIT_VERSION@,$TOOLKIT_VERSION,;t t
40606 s,@SAMPLES_RPATH_FLAG@,$SAMPLES_RPATH_FLAG,;t t
40607 s,@SAMPLES_RPATH_POSTLINK@,$SAMPLES_RPATH_POSTLINK,;t t
40608 s,@HOST_SUFFIX@,$HOST_SUFFIX,;t t
40609 s,@CPPUNIT_CFLAGS@,$CPPUNIT_CFLAGS,;t t
40610 s,@CPPUNIT_LIBS@,$CPPUNIT_LIBS,;t t
40611 s,@SET_MAKE@,$SET_MAKE,;t t
40612 s,@MAKE_SET@,$MAKE_SET,;t t
40613 s,@ac_ct_AR@,$ac_ct_AR,;t t
40614 s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
40616 s,@ac_ct_NM@,$ac_ct_NM,;t t
40617 s,@INSTALL_DIR@,$INSTALL_DIR,;t t
40618 s,@LDFLAGS_GUI@,$LDFLAGS_GUI,;t t
40619 s,@PLATFORM_UNIX@,$PLATFORM_UNIX,;t t
40620 s,@PLATFORM_WIN32@,$PLATFORM_WIN32,;t t
40621 s,@PLATFORM_MSDOS@,$PLATFORM_MSDOS,;t t
40622 s,@PLATFORM_MAC@,$PLATFORM_MAC,;t t
40623 s,@PLATFORM_MACOSX@,$PLATFORM_MACOSX,;t t
40624 s,@PLATFORM_OS2@,$PLATFORM_OS2,;t t
40625 s,@SO_SUFFIX@,$SO_SUFFIX,;t t
40626 s,@SO_SUFFIX_MODULE@,$SO_SUFFIX_MODULE,;t t
40627 s,@LIBPREFIX@,$LIBPREFIX,;t t
40628 s,@DLLPREFIX@,$DLLPREFIX,;t t
40629 s,@DLLPREFIX_MODULE@,$DLLPREFIX_MODULE,;t t
40630 s,@AIX_CXX_LD@,$AIX_CXX_LD,;t t
40631 s,@SHARED_LD_CC@,$SHARED_LD_CC,;t t
40632 s,@SHARED_LD_CXX@,$SHARED_LD_CXX,;t t
40633 s,@SHARED_LD_MODULE_CC@,$SHARED_LD_MODULE_CC,;t t
40634 s,@SHARED_LD_MODULE_CXX@,$SHARED_LD_MODULE_CXX,;t t
40635 s,@PIC_FLAG@,$PIC_FLAG,;t t
40636 s,@USE_SOVERSION@,$USE_SOVERSION,;t t
40637 s,@USE_SOVERLINUX@,$USE_SOVERLINUX,;t t
40638 s,@USE_SOVERSOLARIS@,$USE_SOVERSOLARIS,;t t
40639 s,@USE_MACVERSION@,$USE_MACVERSION,;t t
40640 s,@USE_SOSYMLINKS@,$USE_SOSYMLINKS,;t t
40641 s,@SONAME_FLAG@,$SONAME_FLAG,;t t
40642 s,@DEPS_TRACKING@,$DEPS_TRACKING,;t t
40643 s,@GCC_PCH@,$GCC_PCH,;t t
40644 s,@COND_BUILD_DEBUG@,$COND_BUILD_DEBUG,;t t
40645 s,@COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT@,$COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT,;t t
40646 s,@COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT@,$COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT,;t t
40647 s,@COND_BUILD_DEBUG_UNICODE_0@,$COND_BUILD_DEBUG_UNICODE_0,;t t
40648 s,@COND_BUILD_DEBUG_UNICODE_1@,$COND_BUILD_DEBUG_UNICODE_1,;t t
40649 s,@COND_BUILD_RELEASE@,$COND_BUILD_RELEASE,;t t
40650 s,@COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT@,$COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT,;t t
40651 s,@COND_BUILD_RELEASE_UNICODE_0@,$COND_BUILD_RELEASE_UNICODE_0,;t t
40652 s,@COND_BUILD_RELEASE_UNICODE_1@,$COND_BUILD_RELEASE_UNICODE_1,;t t
40653 s,@COND_DEBUG_FLAG_1@,$COND_DEBUG_FLAG_1,;t t
40654 s,@COND_DEBUG_INFO_0@,$COND_DEBUG_INFO_0,;t t
40655 s,@COND_DEBUG_INFO_1@,$COND_DEBUG_INFO_1,;t t
40656 s,@COND_DEPS_TRACKING_0@,$COND_DEPS_TRACKING_0,;t t
40657 s,@COND_DEPS_TRACKING_1@,$COND_DEPS_TRACKING_1,;t t
40658 s,@COND_GCC_PCH_1@,$COND_GCC_PCH_1,;t t
40659 s,@COND_MONOLITHIC_0@,$COND_MONOLITHIC_0,;t t
40660 s,@COND_MONOLITHIC_0_SHARED_0@,$COND_MONOLITHIC_0_SHARED_0,;t t
40661 s,@COND_MONOLITHIC_0_SHARED_0_USE_GUI_1@,$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1,;t t
40662 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
40663 s,@COND_MONOLITHIC_0_SHARED_0_USE_HTML_1@,$COND_MONOLITHIC_0_SHARED_0_USE_HTML_1,;t t
40664 s,@COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1@,$COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1,;t t
40665 s,@COND_MONOLITHIC_0_SHARED_1@,$COND_MONOLITHIC_0_SHARED_1,;t t
40666 s,@COND_MONOLITHIC_0_SHARED_1_USE_GUI_1@,$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1,;t t
40667 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
40668 s,@COND_MONOLITHIC_0_SHARED_1_USE_HTML_1@,$COND_MONOLITHIC_0_SHARED_1_USE_HTML_1,;t t
40669 s,@COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1@,$COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1,;t t
40670 s,@COND_MONOLITHIC_0_USE_ODBC_1@,$COND_MONOLITHIC_0_USE_ODBC_1,;t t
40671 s,@COND_MONOLITHIC_1@,$COND_MONOLITHIC_1,;t t
40672 s,@COND_MONOLITHIC_1_SHARED_0@,$COND_MONOLITHIC_1_SHARED_0,;t t
40673 s,@COND_MONOLITHIC_1_SHARED_1@,$COND_MONOLITHIC_1_SHARED_1,;t t
40674 s,@COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1@,$COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1,;t t
40675 s,@COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1@,$COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1,;t t
40676 s,@COND_PLATFORM_MACOSX_0_USE_SOVERSION_1@,$COND_PLATFORM_MACOSX_0_USE_SOVERSION_1,;t t
40677 s,@COND_PLATFORM_MACOSX_1@,$COND_PLATFORM_MACOSX_1,;t t
40678 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA@,$COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA,;t t
40679 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_GTK@,$COND_PLATFORM_MACOSX_1_TOOLKIT_GTK,;t t
40680 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_MAC@,$COND_PLATFORM_MACOSX_1_TOOLKIT_MAC,;t t
40681 s,@COND_PLATFORM_MACOSX_1_USE_GUI_1@,$COND_PLATFORM_MACOSX_1_USE_GUI_1,;t t
40682 s,@COND_PLATFORM_MACOSX_1_USE_SOVERSION_1@,$COND_PLATFORM_MACOSX_1_USE_SOVERSION_1,;t t
40683 s,@COND_PLATFORM_MAC_1@,$COND_PLATFORM_MAC_1,;t t
40684 s,@COND_PLATFORM_OS2_1@,$COND_PLATFORM_OS2_1,;t t
40685 s,@COND_PLATFORM_UNIX_0@,$COND_PLATFORM_UNIX_0,;t t
40686 s,@COND_PLATFORM_UNIX_1@,$COND_PLATFORM_UNIX_1,;t t
40687 s,@COND_PLATFORM_UNIX_1_USE_GUI_1@,$COND_PLATFORM_UNIX_1_USE_GUI_1,;t t
40688 s,@COND_PLATFORM_UNIX_1_USE_PLUGINS_0@,$COND_PLATFORM_UNIX_1_USE_PLUGINS_0,;t t
40689 s,@COND_PLATFORM_WIN32_0@,$COND_PLATFORM_WIN32_0,;t t
40690 s,@COND_PLATFORM_WIN32_1@,$COND_PLATFORM_WIN32_1,;t t
40691 s,@COND_SHARED_0@,$COND_SHARED_0,;t t
40692 s,@COND_SHARED_0_USE_GUI_1_USE_OPENGL_1@,$COND_SHARED_0_USE_GUI_1_USE_OPENGL_1,;t t
40693 s,@COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN@,$COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN,;t t
40694 s,@COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN@,$COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN,;t t
40695 s,@COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN@,$COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN,;t t
40696 s,@COND_SHARED_0_WXUSE_EXPAT_BUILTIN@,$COND_SHARED_0_WXUSE_EXPAT_BUILTIN,;t t
40697 s,@COND_SHARED_0_WXUSE_ODBC_BUILTIN@,$COND_SHARED_0_WXUSE_ODBC_BUILTIN,;t t
40698 s,@COND_SHARED_0_WXUSE_REGEX_BUILTIN@,$COND_SHARED_0_WXUSE_REGEX_BUILTIN,;t t
40699 s,@COND_SHARED_0_WXUSE_ZLIB_BUILTIN@,$COND_SHARED_0_WXUSE_ZLIB_BUILTIN,;t t
40700 s,@COND_SHARED_1@,$COND_SHARED_1,;t t
40701 s,@COND_SHARED_1_USE_GUI_1_USE_OPENGL_1@,$COND_SHARED_1_USE_GUI_1_USE_OPENGL_1,;t t
40702 s,@COND_TOOLKIT_COCOA@,$COND_TOOLKIT_COCOA,;t t
40703 s,@COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0,;t t
40704 s,@COND_TOOLKIT_GTK@,$COND_TOOLKIT_GTK,;t t
40705 s,@COND_TOOLKIT_GTK_USE_GUI_1@,$COND_TOOLKIT_GTK_USE_GUI_1,;t t
40706 s,@COND_TOOLKIT_GTK_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_GTK_USE_GUI_1_WXUNIV_0,;t t
40707 s,@COND_TOOLKIT_MAC@,$COND_TOOLKIT_MAC,;t t
40708 s,@COND_TOOLKIT_MAC_USE_GUI_1@,$COND_TOOLKIT_MAC_USE_GUI_1,;t t
40709 s,@COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0,;t t
40710 s,@COND_TOOLKIT_MGL@,$COND_TOOLKIT_MGL,;t t
40711 s,@COND_TOOLKIT_MGL_USE_GUI_1@,$COND_TOOLKIT_MGL_USE_GUI_1,;t t
40712 s,@COND_TOOLKIT_MOTIF@,$COND_TOOLKIT_MOTIF,;t t
40713 s,@COND_TOOLKIT_MOTIF_USE_GUI_1@,$COND_TOOLKIT_MOTIF_USE_GUI_1,;t t
40714 s,@COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0,;t t
40715 s,@COND_TOOLKIT_MSW@,$COND_TOOLKIT_MSW,;t t
40716 s,@COND_TOOLKIT_MSW_USE_GUI_1@,$COND_TOOLKIT_MSW_USE_GUI_1,;t t
40717 s,@COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0,;t t
40718 s,@COND_TOOLKIT_PM@,$COND_TOOLKIT_PM,;t t
40719 s,@COND_TOOLKIT_PM_USE_GUI_1@,$COND_TOOLKIT_PM_USE_GUI_1,;t t
40720 s,@COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0,;t t
40721 s,@COND_TOOLKIT_X11@,$COND_TOOLKIT_X11,;t t
40722 s,@COND_TOOLKIT_X11_USE_GUI_1@,$COND_TOOLKIT_X11_USE_GUI_1,;t t
40723 s,@COND_UNICODE_1@,$COND_UNICODE_1,;t t
40724 s,@COND_USE_EXCEPTIONS_0@,$COND_USE_EXCEPTIONS_0,;t t
40725 s,@COND_USE_EXCEPTIONS_1@,$COND_USE_EXCEPTIONS_1,;t t
40726 s,@COND_USE_GUI_0@,$COND_USE_GUI_0,;t t
40727 s,@COND_USE_GUI_1@,$COND_USE_GUI_1,;t t
40728 s,@COND_USE_GUI_1_WXUNIV_0@,$COND_USE_GUI_1_WXUNIV_0,;t t
40729 s,@COND_USE_GUI_1_WXUNIV_1@,$COND_USE_GUI_1_WXUNIV_1,;t t
40730 s,@COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN@,$COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN,;t t
40731 s,@COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN@,$COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN,;t t
40732 s,@COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN@,$COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN,;t t
40733 s,@COND_USE_ODBC_1@,$COND_USE_ODBC_1,;t t
40734 s,@COND_USE_PLUGINS_0@,$COND_USE_PLUGINS_0,;t t
40735 s,@COND_USE_SOSYMLINKS_1@,$COND_USE_SOSYMLINKS_1,;t t
40736 s,@COND_USE_SOVERLINUX_1@,$COND_USE_SOVERLINUX_1,;t t
40737 s,@COND_USE_SOVERSION_0@,$COND_USE_SOVERSION_0,;t t
40738 s,@COND_USE_SOVERSOLARIS_1@,$COND_USE_SOVERSOLARIS_1,;t t
40739 s,@COND_WITH_PLUGIN_SDL_1@,$COND_WITH_PLUGIN_SDL_1,;t t
40740 s,@COND_WITH_SDL_1@,$COND_WITH_SDL_1,;t t
40741 s,@COND_WXUNIV_1@,$COND_WXUNIV_1,;t t
40742 s,@COND_WXUSE_EXPAT_BUILTIN@,$COND_WXUSE_EXPAT_BUILTIN,;t t
40743 s,@COND_WXUSE_LIBJPEG_BUILTIN@,$COND_WXUSE_LIBJPEG_BUILTIN,;t t
40744 s,@COND_WXUSE_LIBPNG_BUILTIN@,$COND_WXUSE_LIBPNG_BUILTIN,;t t
40745 s,@COND_WXUSE_LIBTIFF_BUILTIN@,$COND_WXUSE_LIBTIFF_BUILTIN,;t t
40746 s,@COND_WXUSE_ODBC_BUILTIN@,$COND_WXUSE_ODBC_BUILTIN,;t t
40747 s,@COND_WXUSE_REGEX_BUILTIN@,$COND_WXUSE_REGEX_BUILTIN,;t t
40748 s,@COND_WXUSE_ZLIB_BUILTIN@,$COND_WXUSE_ZLIB_BUILTIN,;t t
40749 s,@PATH_IFS@,$PATH_IFS,;t t
40750 s,@WX_MAJOR_VERSION_NUMBER@,$WX_MAJOR_VERSION_NUMBER,;t t
40751 s,@WX_MINOR_VERSION_NUMBER@,$WX_MINOR_VERSION_NUMBER,;t t
40752 s,@WX_RELEASE_NUMBER@,$WX_RELEASE_NUMBER,;t t
40753 s,@WX_LIBRARY_NAME_STATIC@,$WX_LIBRARY_NAME_STATIC,;t t
40754 s,@WX_LIBRARY_NAME_SHARED@,$WX_LIBRARY_NAME_SHARED,;t t
40755 s,@WX_LIBRARY_BASENAME_NOGUI@,$WX_LIBRARY_BASENAME_NOGUI,;t t
40756 s,@WX_LIBRARY_BASENAME_GUI@,$WX_LIBRARY_BASENAME_GUI,;t t
40757 s,@WX_LIBRARY_IMPORTLIB@,$WX_LIBRARY_IMPORTLIB,;t t
40758 s,@WX_TARGET_LIBRARY@,$WX_TARGET_LIBRARY,;t t
40759 s,@WX_LIBRARY_LINK1@,$WX_LIBRARY_LINK1,;t t
40760 s,@WX_LIBRARY_LINK2@,$WX_LIBRARY_LINK2,;t t
40761 s,@PROGRAM_EXT@,$PROGRAM_EXT,;t t
40762 s,@WX_LIBRARY_NAME_STATIC_GL@,$WX_LIBRARY_NAME_STATIC_GL,;t t
40763 s,@WX_LIBRARY_NAME_SHARED_GL@,$WX_LIBRARY_NAME_SHARED_GL,;t t
40764 s,@WX_TARGET_LIBRARY_GL@,$WX_TARGET_LIBRARY_GL,;t t
40765 s,@WX_LIBRARY_LINK1_GL@,$WX_LIBRARY_LINK1_GL,;t t
40766 s,@WX_LIBRARY_LINK2_GL@,$WX_LIBRARY_LINK2_GL,;t t
40767 s,@WX_ALL@,$WX_ALL,;t t
40768 s,@WX_ALL_INSTALLED@,$WX_ALL_INSTALLED,;t t
40769 s,@SHARED_LD@,$SHARED_LD,;t t
40770 s,@WX_TARGET_LIBRARY_TYPE@,$WX_TARGET_LIBRARY_TYPE,;t t
40771 s,@STATIC_FLAG@,$STATIC_FLAG,;t t
40772 s,@WXDEBUG_DEFINE@,$WXDEBUG_DEFINE,;t t
40773 s,@USE_GUI@,$USE_GUI,;t t
40774 s,@AFMINSTALL@,$AFMINSTALL,;t t
40775 s,@WIN32INSTALL@,$WIN32INSTALL,;t t
40776 s,@TOOLKIT@,$TOOLKIT,;t t
40777 s,@TOOLKIT_DIR@,$TOOLKIT_DIR,;t t
40778 s,@TOOLKIT_VPATH@,$TOOLKIT_VPATH,;t t
40779 s,@TOOLCHAIN_NAME@,$TOOLCHAIN_NAME,;t t
40780 s,@TOOLCHAIN_DEFS@,$TOOLCHAIN_DEFS,;t t
40781 s,@TOOLCHAIN_DLL_DEFS@,$TOOLCHAIN_DLL_DEFS,;t t
40782 s,@top_builddir_wxconfig@,$top_builddir_wxconfig,;t t
40783 s,@cross_compiling@,$cross_compiling,;t t
40784 s,@WXCONFIG_EXTRALIBS@,$WXCONFIG_EXTRALIBS,;t t
40785 s,@WXCONFIG_LIBS@,$WXCONFIG_LIBS,;t t
40786 s,@WXCONFIG_LIBS_GL@,$WXCONFIG_LIBS_GL,;t t
40787 s,@WXCONFIG_LIBS_STATIC@,$WXCONFIG_LIBS_STATIC,;t t
40788 s,@WXCONFIG_LIBS_STATIC_GL@,$WXCONFIG_LIBS_STATIC_GL,;t t
40789 s,@WXCONFIG_INCLUDE@,$WXCONFIG_INCLUDE,;t t
40790 s,@WXCONFIG_RPATH@,$WXCONFIG_RPATH,;t t
40791 s,@WXCONFIG_LDFLAGS_GUI@,$WXCONFIG_LDFLAGS_GUI,;t t
40792 s,@WX_LARGEFILE_FLAGS@,$WX_LARGEFILE_FLAGS,;t t
40793 s,@CODE_GEN_FLAGS@,$CODE_GEN_FLAGS,;t t
40794 s,@CODE_GEN_FLAGS_CXX@,$CODE_GEN_FLAGS_CXX,;t t
40795 s,@ALL_OBJECTS@,$ALL_OBJECTS,;t t
40796 s,@ALL_HEADERS@,$ALL_HEADERS,;t t
40797 s,@ALL_SOURCES@,$ALL_SOURCES,;t t
40798 s,@GUIDIST@,$GUIDIST,;t t
40799 s,@PORT_FILES@,$PORT_FILES,;t t
40800 s,@DISTDIR@,$DISTDIR,;t t
40801 s,@SAMPLES_SUBDIRS@,$SAMPLES_SUBDIRS,;t t
40802 s,@LDFLAGS_GL@,$LDFLAGS_GL,;t t
40803 s,@LDFLAGS_VERSIONING@,$LDFLAGS_VERSIONING,;t t
40804 s,@LDFLAGS_EXE@,$LDFLAGS_EXE,;t t
40805 s,@OPENGL_LIBS@,$OPENGL_LIBS,;t t
40806 s,@DMALLOC_LIBS@,$DMALLOC_LIBS,;t t
40807 s,@WX_VERSION_TAG@,$WX_VERSION_TAG,;t t
40808 s,@RESFLAGS@,$RESFLAGS,;t t
40809 s,@RESPROGRAMOBJ@,$RESPROGRAMOBJ,;t t
40810 s,@WX_RESOURCES_MACOSX_ASCII@,$WX_RESOURCES_MACOSX_ASCII,;t t
40811 s,@WX_RESOURCES_MACOSX_DATA@,$WX_RESOURCES_MACOSX_DATA,;t t
40812 s,@LIBWXMACRES@,$LIBWXMACRES,;t t
40813 s,@MACRESCOMP@,$MACRESCOMP,;t t
40814 s,@MACSETFILE@,$MACSETFILE,;t t
40815 s,@MACRESWXCONFIG@,$MACRESWXCONFIG,;t t
40817 s,@GCC_SEARCHES_USR_LOCAL_INCLUDE@,$GCC_SEARCHES_USR_LOCAL_INCLUDE,;t t
40818 s,@DLLTOOL@,$DLLTOOL,;t t
40821 s,@MAKEINFO@,$MAKEINFO,;t t
40822 s,@INSTALL_LIBRARY@,$INSTALL_LIBRARY,;t t
40823 s,@CPPUNIT_CONFIG@,$CPPUNIT_CONFIG,;t t
40824 s,@LIBOBJS@,$LIBOBJS,;t t
40825 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
40830 cat >>$CONFIG_STATUS <<\_ACEOF
40831 # Split the substitutions into bite-sized pieces for seds with
40832 # small command number limits, like on Digital OSF/1 and HP-UX.
40833 ac_max_sed_lines
=48
40834 ac_sed_frag
=1 # Number of current file.
40835 ac_beg
=1 # First line for current file.
40836 ac_end
=$ac_max_sed_lines # Line after last line for current file.
40839 while $ac_more_lines; do
40840 if test $ac_beg -gt 1; then
40841 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
40843 sed "${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
40845 if test ! -s $tmp/subs.frag
; then
40846 ac_more_lines
=false
40848 # The purpose of the label and of the branching condition is to
40849 # speed up the sed processing (if there are no `@' at all, there
40850 # is no need to browse any of the substitutions).
40851 # These are the two extra sed commands mentioned above.
40853 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag
) >$tmp/subs
-$ac_sed_frag.
sed
40854 if test -z "$ac_sed_cmds"; then
40855 ac_sed_cmds
="sed -f $tmp/subs-$ac_sed_frag.sed"
40857 ac_sed_cmds
="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
40859 ac_sed_frag
=`expr $ac_sed_frag + 1`
40861 ac_end
=`expr $ac_end + $ac_max_sed_lines`
40864 if test -z "$ac_sed_cmds"; then
40867 fi # test -n "$CONFIG_FILES"
40870 cat >>$CONFIG_STATUS <<\_ACEOF
40871 for ac_file
in : $CONFIG_FILES; do test "x$ac_file" = x
: && continue
40872 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
40874 - | *:- | *:-:* ) # input from stdin
40876 ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
40877 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
40878 *:* ) ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
40879 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
40880 * ) ac_file_in
=$ac_file.
in ;;
40883 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
40884 ac_dir
=`(dirname "$ac_file") 2>/dev/null ||
40885 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
40886 X"$ac_file" : 'X\(//\)[^/]' \| \
40887 X"$ac_file" : 'X\(//\)$' \| \
40888 X"$ac_file" : 'X\(/\)' \| \
40889 . : '\(.\)' 2>/dev/null ||
40891 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
40892 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
40893 /^X\(\/\/\)$/{ s//\1/; q; }
40894 /^X\(\/\).*/{ s//\1/; q; }
40896 { if $as_mkdir_p; then
40901 while test ! -d "$as_dir"; do
40902 as_dirs
="$as_dir $as_dirs"
40903 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
40904 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
40905 X"$as_dir" : 'X\(//\)[^/]' \| \
40906 X"$as_dir" : 'X\(//\)$' \| \
40907 X"$as_dir" : 'X\(/\)' \| \
40908 . : '\(.\)' 2>/dev/null ||
40910 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
40911 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
40912 /^X\(\/\/\)$/{ s//\1/; q; }
40913 /^X\(\/\).*/{ s//\1/; q; }
40916 test ! -n "$as_dirs" || mkdir $as_dirs
40917 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
40918 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
40919 { (exit 1); exit 1; }; }; }
40923 if test "$ac_dir" != .
; then
40924 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
40925 # A "../" for each directory in $ac_dir_suffix.
40926 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
40928 ac_dir_suffix
= ac_top_builddir
=
40932 .
) # No --srcdir option. We are building in place.
40934 if test -z "$ac_top_builddir"; then
40937 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
40939 [\\/]* | ?
:[\\/]* ) # Absolute path.
40940 ac_srcdir
=$srcdir$ac_dir_suffix;
40941 ac_top_srcdir
=$srcdir ;;
40942 *) # Relative path.
40943 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
40944 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
40947 # Do not use `cd foo && pwd` to compute absolute paths, because
40948 # the directories may not exist.
40950 .
) ac_abs_builddir
="$ac_dir";;
40953 .
) ac_abs_builddir
=`pwd`;;
40954 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
40955 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
40958 case $ac_abs_builddir in
40959 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
40961 case ${ac_top_builddir}.
in
40962 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
40963 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
40964 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
40967 case $ac_abs_builddir in
40968 .
) ac_abs_srcdir
=$ac_srcdir;;
40971 .
) ac_abs_srcdir
=$ac_abs_builddir;;
40972 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
40973 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
40976 case $ac_abs_builddir in
40977 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
40979 case $ac_top_srcdir in
40980 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
40981 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
40982 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
40988 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
40989 *) ac_INSTALL
=$ac_top_builddir$INSTALL ;;
40992 # Let's still pretend it is `configure' which instantiates (i.e., don't
40993 # use $as_me), people would be surprised to read:
40994 # /* config.h. Generated by config.status. */
40995 if test x
"$ac_file" = x
-; then
40998 configure_input
="$ac_file. "
41000 configure_input
=$configure_input"Generated from `echo $ac_file_in |
41001 sed 's,.*/,,'` by configure."
41003 # First look for the input files in the build tree, otherwise in the
41005 ac_file_inputs
=`IFS=:
41006 for f in $ac_file_in; do
41008 -) echo $tmp/stdin ;;
41010 # Absolute (can't be DOS-style, as IFS=:)
41011 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
41012 echo "$as_me: error: cannot find input file: $f" >&2;}
41013 { (exit 1); exit 1; }; }
41016 if test -f "$f"; then
41019 elif test -f "$srcdir/$f"; then
41024 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
41025 echo "$as_me: error: cannot find input file: $f" >&2;}
41026 { (exit 1); exit 1; }; }
41029 done` || { (exit 1); exit 1; }
41031 if test x
"$ac_file" != x
-; then
41032 { echo "$as_me:$LINENO: creating $ac_file" >&5
41033 echo "$as_me: creating $ac_file" >&6;}
41037 cat >>$CONFIG_STATUS <<_ACEOF
41041 cat >>$CONFIG_STATUS <<\_ACEOF
41043 /@
[a
-zA-Z_][a
-zA-Z_0-9]*@
/!b
41044 s
,@configure_input@
,$configure_input,;t t
41045 s
,@srcdir@
,$ac_srcdir,;t t
41046 s
,@abs_srcdir@
,$ac_abs_srcdir,;t t
41047 s
,@top_srcdir@
,$ac_top_srcdir,;t t
41048 s
,@abs_top_srcdir@
,$ac_abs_top_srcdir,;t t
41049 s
,@builddir@
,$ac_builddir,;t t
41050 s
,@abs_builddir@
,$ac_abs_builddir,;t t
41051 s
,@top_builddir@
,$ac_top_builddir,;t t
41052 s
,@abs_top_builddir@
,$ac_abs_top_builddir,;t t
41053 s
,@INSTALL@
,$ac_INSTALL,;t t
41054 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
41056 if test x"$ac_file" != x-; then
41057 mv $tmp/out $ac_file
41065 cat >>$CONFIG_STATUS <<\_ACEOF
41068 # CONFIG_HEADER section.
41071 # These sed commands are passed to sed as "A NAME B NAME C VALUE D
", where
41072 # NAME is the cpp macro being defined and VALUE is the value it is being given.
41074 # ac_d sets the value in "#define NAME VALUE" lines.
41075 ac_dA
='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
41076 ac_dB
='[ ].*$,\1#\2'
41079 # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
41080 ac_uA
='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
41081 ac_uB
='$,\1#\2define\3'
41085 for ac_file
in : $CONFIG_HEADERS; do test "x$ac_file" = x
: && continue
41086 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
41088 - | *:- | *:-:* ) # input from stdin
41090 ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
41091 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
41092 *:* ) ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
41093 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
41094 * ) ac_file_in
=$ac_file.
in ;;
41097 test x
"$ac_file" != x
- && { echo "$as_me:$LINENO: creating $ac_file" >&5
41098 echo "$as_me: creating $ac_file" >&6;}
41100 # First look for the input files in the build tree, otherwise in the
41102 ac_file_inputs
=`IFS=:
41103 for f in $ac_file_in; do
41105 -) echo $tmp/stdin ;;
41107 # Absolute (can't be DOS-style, as IFS=:)
41108 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
41109 echo "$as_me: error: cannot find input file: $f" >&2;}
41110 { (exit 1); exit 1; }; }
41111 # Do quote $f, to prevent DOS paths from being IFS'd.
41114 if test -f "$f"; then
41117 elif test -f "$srcdir/$f"; then
41122 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
41123 echo "$as_me: error: cannot find input file: $f" >&2;}
41124 { (exit 1); exit 1; }; }
41127 done` || { (exit 1); exit 1; }
41128 # Remove the trailing spaces.
41129 sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
41133 # Transform confdefs.h into two sed scripts, `conftest.defines' and
41134 # `conftest.undefs', that substitutes the proper values into
41135 # config.h.in to produce config.h. The first handles `#define'
41136 # templates, and the second `#undef' templates.
41137 # And first: Protect against being on the right side of a sed subst in
41138 # config.status. Protect against being in an unquoted here document
41139 # in config.status.
41140 rm -f conftest.defines conftest.undefs
41141 # Using a here document instead of a string reduces the quoting nightmare.
41142 # Putting comments in sed scripts is not portable.
41144 # `end' is used to avoid that the second main sed command (meant for
41145 # 0-ary CPP macros) applies to n-ary macro definitions.
41146 # See the Autoconf documentation for `clear'.
41147 cat >confdef2sed.
sed <<\_ACEOF
41152 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
41154 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
41157 # If some macros were called several times there might be several times
41158 # the same #defines, which is useless. Nevertheless, we may not want to
41159 # sort them, since we want the *last* AC-DEFINE to be honored.
41160 uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
41161 sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
41162 rm -f confdef2sed.sed
41164 # This sed command replaces #undef with comments. This is necessary, for
41165 # example, in the case of _POSIX_SOURCE, which is predefined and required
41166 # on some systems where configure will not decide to define it.
41167 cat >>conftest.undefs <<\_ACEOF
41168 s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
41171 # Break up conftest.defines because some shells have a limit on the size
41172 # of here documents, and old seds have small limits too (100 cmds).
41173 echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
41174 echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
41175 echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
41176 echo ' :' >>$CONFIG_STATUS
41177 rm -f conftest.tail
41178 while grep . conftest.defines >/dev/null
41180 # Write a limited-size here document to $tmp/defines.sed.
41181 echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
41182 # Speed up: don't consider the non `#define' lines.
41183 echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
41184 # Work around the forget-to-reset-the-flag bug.
41185 echo 't clr' >>$CONFIG_STATUS
41186 echo ': clr' >>$CONFIG_STATUS
41187 sed ${ac_max_here_lines}q conftest.defines
>>$CONFIG_STATUS
41189 sed -f $tmp/defines.sed $tmp/in >$tmp/out
41191 mv $tmp/out $tmp/in
41193 sed 1,${ac_max_here_lines}d conftest.defines
>conftest.
tail
41194 rm -f conftest.defines
41195 mv conftest.
tail conftest.defines
41197 rm -f conftest.defines
41198 echo ' fi # grep' >>$CONFIG_STATUS
41199 echo >>$CONFIG_STATUS
41201 # Break up conftest.undefs because some shells have a limit on the size
41202 # of here documents, and old seds have small limits too (100 cmds).
41203 echo ' # Handle all the #undef templates' >>$CONFIG_STATUS
41204 rm -f conftest.
tail
41205 while grep . conftest.undefs
>/dev
/null
41207 # Write a limited-size here document to $tmp/undefs.sed.
41208 echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
41209 # Speed up: don't consider the non
`#undef'
41210 echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
41211 # Work around the forget-to-reset-the-flag bug.
41212 echo 't clr' >>$CONFIG_STATUS
41213 echo ': clr' >>$CONFIG_STATUS
41214 sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
41216 sed -f $tmp/undefs.sed $tmp/in >$tmp/out
41218 mv $tmp/out $tmp/in
41220 sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
41221 rm -f conftest.undefs
41222 mv conftest.tail conftest.undefs
41224 rm -f conftest.undefs
41226 cat >>$CONFIG_STATUS <<\_ACEOF
41227 # Let's still pretend it is `configure
' which instantiates (i.e., don't
41228 # use $as_me), people would be surprised to read:
41229 # /* config.h. Generated by config.status. */
41230 if test x
"$ac_file" = x
-; then
41231 echo "/* Generated by configure. */" >$tmp/config.h
41233 echo "/* $ac_file. Generated by configure. */" >$tmp/config.h
41235 cat $tmp/in >>$tmp/config.h
41237 if test x
"$ac_file" != x
-; then
41238 if diff $ac_file $tmp/config.h
>/dev
/null
2>&1; then
41239 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
41240 echo "$as_me: $ac_file is unchanged" >&6;}
41242 ac_dir
=`(dirname "$ac_file") 2>/dev/null ||
41243 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
41244 X"$ac_file" : 'X\(//\)[^/]' \| \
41245 X"$ac_file" : 'X\(//\)$' \| \
41246 X"$ac_file" : 'X\(/\)' \| \
41247 . : '\(.\)' 2>/dev/null ||
41249 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
41250 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
41251 /^X\(\/\/\)$/{ s//\1/; q; }
41252 /^X\(\/\).*/{ s//\1/; q; }
41254 { if $as_mkdir_p; then
41259 while test ! -d "$as_dir"; do
41260 as_dirs
="$as_dir $as_dirs"
41261 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
41262 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
41263 X"$as_dir" : 'X\(//\)[^/]' \| \
41264 X"$as_dir" : 'X\(//\)$' \| \
41265 X"$as_dir" : 'X\(/\)' \| \
41266 . : '\(.\)' 2>/dev/null ||
41268 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
41269 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
41270 /^X\(\/\/\)$/{ s//\1/; q; }
41271 /^X\(\/\).*/{ s//\1/; q; }
41274 test ! -n "$as_dirs" || mkdir $as_dirs
41275 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
41276 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
41277 { (exit 1); exit 1; }; }; }
41280 mv $tmp/config.h
$ac_file
41284 rm -f $tmp/config.h
41288 cat >>$CONFIG_STATUS <<\_ACEOF
41291 # CONFIG_COMMANDS section.
41293 for ac_file
in : $CONFIG_COMMANDS; do test "x$ac_file" = x
: && continue
41294 ac_dest
=`echo "$ac_file" | sed 's,:.*,,'`
41295 ac_source
=`echo "$ac_file" | sed 's,[^:]*:,,'`
41296 ac_dir
=`(dirname "$ac_dest") 2>/dev/null ||
41297 $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
41298 X"$ac_dest" : 'X\(//\)[^/]' \| \
41299 X"$ac_dest" : 'X\(//\)$' \| \
41300 X"$ac_dest" : 'X\(/\)' \| \
41301 . : '\(.\)' 2>/dev/null ||
41303 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
41304 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
41305 /^X\(\/\/\)$/{ s//\1/; q; }
41306 /^X\(\/\).*/{ s//\1/; q; }
41308 { if $as_mkdir_p; then
41313 while test ! -d "$as_dir"; do
41314 as_dirs
="$as_dir $as_dirs"
41315 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
41316 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
41317 X"$as_dir" : 'X\(//\)[^/]' \| \
41318 X"$as_dir" : 'X\(//\)$' \| \
41319 X"$as_dir" : 'X\(/\)' \| \
41320 . : '\(.\)' 2>/dev/null ||
41322 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
41323 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
41324 /^X\(\/\/\)$/{ s//\1/; q; }
41325 /^X\(\/\).*/{ s//\1/; q; }
41328 test ! -n "$as_dirs" || mkdir $as_dirs
41329 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
41330 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
41331 { (exit 1); exit 1; }; }; }
41335 if test "$ac_dir" != .
; then
41336 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
41337 # A "../" for each directory in $ac_dir_suffix.
41338 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
41340 ac_dir_suffix
= ac_top_builddir
=
41344 .
) # No --srcdir option. We are building in place.
41346 if test -z "$ac_top_builddir"; then
41349 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
41351 [\\/]* | ?
:[\\/]* ) # Absolute path.
41352 ac_srcdir
=$srcdir$ac_dir_suffix;
41353 ac_top_srcdir
=$srcdir ;;
41354 *) # Relative path.
41355 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
41356 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
41359 # Do not use `cd foo && pwd` to compute absolute paths, because
41360 # the directories may not exist.
41362 .
) ac_abs_builddir
="$ac_dir";;
41365 .
) ac_abs_builddir
=`pwd`;;
41366 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
41367 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
41370 case $ac_abs_builddir in
41371 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
41373 case ${ac_top_builddir}.
in
41374 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
41375 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
41376 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
41379 case $ac_abs_builddir in
41380 .
) ac_abs_srcdir
=$ac_srcdir;;
41383 .
) ac_abs_srcdir
=$ac_abs_builddir;;
41384 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
41385 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
41388 case $ac_abs_builddir in
41389 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
41391 case $ac_top_srcdir in
41392 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
41393 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
41394 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
41399 { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
41400 echo "$as_me: executing $ac_dest commands" >&6;}
41403 if test ! -h wx
-config; then
41405 mv wx
-config wx
${TOOLCHAIN_NAME}-config
41406 ${LN_S} wx
${TOOLCHAIN_NAME}-config wx
-config
41409 if test ! -d lib
; then
41412 if test ! -d lib
/wx
; then
41415 if test ! -d lib
/wx
/include
; then
41416 mkdir lib
/wx
/include
41418 if test ! -d lib
/wx
/include
/${TOOLCHAIN_NAME}; then
41419 mkdir lib
/wx
/include
/${TOOLCHAIN_NAME}
41421 if test ! -d lib
/wx
/include
/${TOOLCHAIN_NAME}/wx
; then
41422 mkdir lib
/wx
/include
/${TOOLCHAIN_NAME}/wx
41424 if test -f setup.h
; then
41425 mv -f setup.h lib
/wx
/include
/${TOOLCHAIN_NAME}/wx
/setup.h
41432 cat >>$CONFIG_STATUS <<\_ACEOF
41434 { (exit 0); exit 0; }
41436 chmod +x
$CONFIG_STATUS
41437 ac_clean_files
=$ac_clean_files_save
41440 # configure is writing to config.log, and then calls config.status.
41441 # config.status does its own redirection, appending to config.log.
41442 # Unfortunately, on DOS this fails, as config.log is still kept open
41443 # by configure, so config.status won't be able to write to it; its
41444 # output is simply discarded. So we exec the FD to /dev/null,
41445 # effectively closing config.log, so it can be properly (re)opened and
41446 # appended to by config.status. When coming back to configure, we
41447 # need to make the FD available again.
41448 if test "$no_create" != yes; then
41450 ac_config_status_args
=
41451 test "$silent" = yes &&
41452 ac_config_status_args
="$ac_config_status_args --quiet"
41454 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
41456 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
41457 # would make configure fail if this is the last instruction.
41458 $ac_cs_success || { (exit 1); exit 1; }
41462 # CONFIG_SUBDIRS section.
41464 if test "$no_recursion" != yes; then
41466 # Remove --cache-file and --srcdir arguments so they do not pile up.
41467 ac_sub_configure_args
=
41469 for ac_arg
in $ac_configure_args; do
41470 if test -n "$ac_prev"; then
41475 -cache-file | --cache-file | --cache-fil | --cache-fi \
41476 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
41477 ac_prev
=cache_file
;;
41478 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
41479 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* \
41482 --config-cache | -C)
41484 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
41486 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
41488 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
41490 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
41492 *) ac_sub_configure_args
="$ac_sub_configure_args $ac_arg" ;;
41496 # Always prepend --prefix to ensure using the same prefix
41497 # in subdir configurations.
41498 ac_sub_configure_args
="--prefix=$prefix $ac_sub_configure_args"
41501 for ac_dir
in : $subdirs; do test "x$ac_dir" = x
: && continue
41503 # Do not complain, so a configure script can configure whichever
41504 # parts of a large source tree are present.
41505 test -d $srcdir/$ac_dir || continue
41507 { echo "$as_me:$LINENO: configuring in $ac_dir" >&5
41508 echo "$as_me: configuring in $ac_dir" >&6;}
41509 { if $as_mkdir_p; then
41514 while test ! -d "$as_dir"; do
41515 as_dirs
="$as_dir $as_dirs"
41516 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
41517 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
41518 X"$as_dir" : 'X\(//\)[^/]' \| \
41519 X"$as_dir" : 'X\(//\)$' \| \
41520 X"$as_dir" : 'X\(/\)' \| \
41521 . : '\(.\)' 2>/dev/null ||
41523 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
41524 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
41525 /^X\(\/\/\)$/{ s//\1/; q; }
41526 /^X\(\/\).*/{ s//\1/; q; }
41529 test ! -n "$as_dirs" || mkdir $as_dirs
41530 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
41531 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
41532 { (exit 1); exit 1; }; }; }
41536 if test "$ac_dir" != .
; then
41537 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
41538 # A "../" for each directory in $ac_dir_suffix.
41539 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
41541 ac_dir_suffix
= ac_top_builddir
=
41545 .
) # No --srcdir option. We are building in place.
41547 if test -z "$ac_top_builddir"; then
41550 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
41552 [\\/]* | ?
:[\\/]* ) # Absolute path.
41553 ac_srcdir
=$srcdir$ac_dir_suffix;
41554 ac_top_srcdir
=$srcdir ;;
41555 *) # Relative path.
41556 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
41557 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
41560 # Do not use `cd foo && pwd` to compute absolute paths, because
41561 # the directories may not exist.
41563 .
) ac_abs_builddir
="$ac_dir";;
41566 .
) ac_abs_builddir
=`pwd`;;
41567 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
41568 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
41571 case $ac_abs_builddir in
41572 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
41574 case ${ac_top_builddir}.
in
41575 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
41576 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
41577 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
41580 case $ac_abs_builddir in
41581 .
) ac_abs_srcdir
=$ac_srcdir;;
41584 .
) ac_abs_srcdir
=$ac_abs_builddir;;
41585 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
41586 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
41589 case $ac_abs_builddir in
41590 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
41592 case $ac_top_srcdir in
41593 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
41594 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
41595 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
41602 # Check for guested configure; otherwise get Cygnus style configure.
41603 if test -f $ac_srcdir/configure.gnu
; then
41604 ac_sub_configure
="$SHELL '$ac_srcdir/configure.gnu'"
41605 elif test -f $ac_srcdir/configure
; then
41606 ac_sub_configure
="$SHELL '$ac_srcdir/configure'"
41607 elif test -f $ac_srcdir/configure.
in; then
41608 ac_sub_configure
=$ac_configure
41610 { echo "$as_me:$LINENO: WARNING: no configuration information is in $ac_dir" >&5
41611 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;}
41615 # The recursion is here.
41616 if test -n "$ac_sub_configure"; then
41617 # Make the cache file name correct relative to the subdirectory.
41618 case $cache_file in
41619 [\\/]* | ?
:[\\/]* ) ac_sub_cache_file
=$cache_file ;;
41620 *) # Relative path.
41621 ac_sub_cache_file
=$ac_top_builddir$cache_file ;;
41624 { echo "$as_me:$LINENO: running $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&5
41625 echo "$as_me: running $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;}
41626 # The eval makes quoting arguments work.
41627 eval $ac_sub_configure $ac_sub_configure_args \
41628 --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir ||
41629 { { echo "$as_me:$LINENO: error: $ac_sub_configure failed for $ac_dir" >&5
41630 echo "$as_me: error: $ac_sub_configure failed for $ac_dir" >&2;}
41631 { (exit 1); exit 1; }; }
41640 echo "Configured wxWindows ${WX_VERSION} for \`${host}'"
41642 echo " Which GUI toolkit should wxWindows use? ${TOOLKIT_LOWERCASE:-base only}"
41643 echo " Should wxWindows be compiled into single library? ${wxUSE_MONOLITHIC:-yes}"
41645 echo " Should wxWindows be compiled in debug mode? ${wxUSE_DEBUG:-no}"
41646 echo " Should wxWindows be linked as a shared library? ${wxUSE_SHARED:-no}"
41647 echo " Should wxWindows be compiled in Unicode mode? ${wxUSE_UNICODE:-no}"
41649 echo " What level of wxWindows compatibility should be enabled?"
41650 echo " wxWindows 2.2 ${WXWIN_COMPATIBILITY_2_2:-no}"
41651 echo " wxWindows 2.4 ${WXWIN_COMPATIBILITY_2_4:-yes}"
41653 echo " Which libraries should wxWindows use?"
41654 echo " jpeg ${wxUSE_LIBJPEG-none}"
41655 echo " png ${wxUSE_LIBPNG-none}"
41656 echo " regex ${wxUSE_REGEX}"
41657 echo " tiff ${wxUSE_LIBTIFF-none}"
41658 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
41659 echo " xpm ${wxUSE_LIBXPM-none}"
41661 echo " zlib ${wxUSE_ZLIB}"
41662 echo " odbc ${wxUSE_ODBC}"
41663 echo " expat ${wxUSE_EXPAT}"
41664 echo " libmspack ${wxUSE_LIBMSPACK}"
41665 echo " sdl ${wxUSE_LIBSDL}"