2 # From configure.in Id: configure.in.
3 # Guess values for system-dependent variables and create Makefiles.
4 # Generated by GNU Autoconf 2.59 for wxWindows 2.5.1.
6 # Report bugs to <wx-dev@lists.wxwindows.org>.
8 # Copyright (C) 2003 Free Software Foundation, Inc.
9 # This configure script is free software; the Free Software Foundation
10 # gives unlimited permission to copy, distribute and modify it.
11 ## --------------------- ##
12 ## M4sh Initialization. ##
13 ## --------------------- ##
15 # Be Bourne compatible
16 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
19 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
20 # is contrary to our usage. Disable this feature.
21 alias -g '${1+"$@"}'='"$@"'
22 elif test -n "${BASH_VERSION+set}" && (set -o posix
) >/dev
/null
2>&1; then
25 DUALCASE
=1; export DUALCASE
# for MKS sh
27 # Support unset when possible.
28 if ( (MAIL
=60; unset MAIL
) || exit) >/dev
/null
2>&1; then
35 # Work around bugs in pre-3.0 UWIN ksh.
36 $as_unset ENV MAIL MAILPATH
43 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
44 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
47 if (set +x
; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
48 eval $as_var=C
; export $as_var
54 # Required to use basename.
55 if expr a
: '\(a\)' >/dev
/null
2>&1; then
61 if (basename /) >/dev
/null
2>&1 && test "X`basename / 2>&1`" = "X/"; then
68 # Name of the executable.
69 as_me
=`$as_basename "$0" ||
70 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
71 X"$0" : 'X\(//\)$' \| \
72 X"$0" : 'X\(/\)$' \| \
73 . : '\(.\)' 2>/dev/null ||
75 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
76 /^X\/\(\/\/\)$/{ s//\1/; q; }
77 /^X\/\(\/\).*/{ s//\1/; q; }
81 # PATH needs CR, and LINENO needs CR and PATH.
82 # Avoid depending upon Character Ranges.
83 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
84 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
85 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
86 as_cr_digits
='0123456789'
87 as_cr_alnum
=$as_cr_Letters$as_cr_digits
89 # The user is always right.
90 if test "${PATH_SEPARATOR+set}" != set; then
91 echo "#! /bin/sh" >conf$$.sh
92 echo "exit 0" >>conf$$.sh
94 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
105 as_lineno_3
=`(expr $as_lineno_1 + 1) 2>/dev/null`
106 test "x$as_lineno_1" != "x$as_lineno_2" &&
107 test "x$as_lineno_3" = "x$as_lineno_2" || {
108 # Find who we are. Look in the path if we contain no path at all
111 *[\\/]* ) as_myself
=$0 ;;
112 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
116 test -z "$as_dir" && as_dir
=.
117 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
122 # We did not find ourselves, most probably we were run as `sh COMMAND'
123 # in which case we are not to be found in the path.
124 if test "x$as_myself" = x
; then
127 if test ! -f "$as_myself"; then
128 { echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2
129 { (exit 1); exit 1; }; }
131 case $CONFIG_SHELL in
133 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
134 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
137 test -z "$as_dir" && as_dir
=.
138 for as_base
in sh bash ksh sh5
; do
141 if ("$as_dir/$as_base" -c '
144 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
145 test "x$as_lineno_1" != "x$as_lineno_2" &&
146 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev
/null
; then
147 $as_unset BASH_ENV
|| test "${BASH_ENV+set}" != set || { BASH_ENV
=; export BASH_ENV
; }
148 $as_unset ENV
|| test "${ENV+set}" != set || { ENV
=; export ENV
; }
149 CONFIG_SHELL
=$as_dir/$as_base
151 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
159 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
160 # uniformly replaced by the line number. The first 'sed' inserts a
161 # line-number line before each line; the second 'sed' does the real
162 # work. The second script uses 'N' to pair each line-number line
163 # with the numbered line, and appends trailing '-' during
164 # substitution so that $LINENO is not a special case at line end.
165 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
166 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
167 sed '=' <$as_myself |
172 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
175 s,^['$as_cr_digits']*\n,,
177 chmod +x
$as_me.lineno
||
178 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
179 { (exit 1); exit 1; }; }
181 # Don't try to exec as it changes $[0], causing all sort of problems
182 # (the dirname of $[0] is not the place where we might find the
183 # original and so on. Autoconf is especially sensible to this).
185 # Exit status is that of the last command.
190 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
191 *c
*,-n*) ECHO_N
= ECHO_C
='
193 *c
*,* ) ECHO_N
=-n ECHO_C
= ECHO_T
= ;;
194 *) ECHO_N
= ECHO_C
='\c' ECHO_T
= ;;
197 if expr a
: '\(a\)' >/dev
/null
2>&1; then
203 rm -f conf$$ conf$$.exe conf$$.
file
205 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
206 # We could just check for DJGPP; but this test a) works b) is more generic
207 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
208 if test -f conf$$.exe
; then
209 # Don't use ln at all; we don't have any links
214 elif ln conf$$.
file conf$$
2>/dev
/null
; then
219 rm -f conf$$ conf$$.exe conf$$.
file
221 if mkdir -p .
2>/dev
/null
; then
224 test -d .
/-p && rmdir .
/-p
228 as_executable_p
="test -f"
230 # Sed expression to map a string onto a valid CPP name.
231 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
233 # Sed expression to map a string onto a valid variable name.
234 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
238 # We need space, tab and new line, in precisely that order.
248 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
249 # so uname gets run too.
250 ac_hostname
=`(hostname || uname -n) 2>/dev/null | sed 1q`
257 ac_default_prefix
=/usr
/local
258 ac_config_libobj_dir
=.
263 SHELL
=${CONFIG_SHELL-/bin/sh}
265 # Maximum number of lines to put in a shell here document.
266 # This variable seems obsolete. It should probably be removed, and
267 # only ac_max_sed_lines should be used.
268 : ${ac_max_here_lines=38}
270 # Identity of this package.
271 PACKAGE_NAME
='wxWindows'
272 PACKAGE_TARNAME
='wxwindows'
273 PACKAGE_VERSION
='2.5.1'
274 PACKAGE_STRING
='wxWindows 2.5.1'
275 PACKAGE_BUGREPORT
='wx-dev@lists.wxwindows.org'
277 ac_unique_file
="wx-config.in"
278 # Factoring default headers for most tests.
279 ac_includes_default
="\
282 # include <sys/types.h>
285 # include <sys/stat.h>
296 # if !STDC_HEADERS && HAVE_MEMORY_H
302 # include <strings.h>
305 # include <inttypes.h>
315 ac_subdirs_all
="$ac_subdirs_all src/expat"
316 ac_subst_vars
='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS build build_cpu build_vendor build_os host host_cpu host_vendor host_os target target_cpu target_vendor target_os CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT CPP EGREP CXX CXXFLAGS ac_ct_CXX RANLIB ac_ct_RANLIB AR INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA STRIP IF_GNU_MAKE LN_S CXXCPP subdirs PKG_CONFIG GTK_CFLAGS GTK_LIBS GTK_CONFIG PANGOFT2_CFLAGS PANGOFT2_LIBS X_CFLAGS X_PRE_LIBS X_LIBS X_EXTRA_LIBS PANGOX_CFLAGS PANGOX_LIBS PANGOXFT_CFLAGS PANGOXFT_LIBS RESCOMP DEREZ SETFILE LIBICONV EXTRALIBS_ESD SDL_CONFIG SDL_CFLAGS SDL_LIBS CORE_BASE_LIBS CORE_GUI_LIBS wxUSE_ZLIB wxUSE_REGEX wxUSE_EXPAT wxUSE_ODBC wxUSE_LIBJPEG wxUSE_LIBPNG wxUSE_LIBTIFF VENDOR OFFICIAL_BUILD WXUNIV MONOLITHIC USE_PLUGINS EXTRALIBS EXTRALIBS_XML EXTRALIBS_HTML EXTRALIBS_ODBC EXTRALIBS_GUI EXTRALIBS_OPENGL EXTRALIBS_SDL WITH_PLUGIN_SDL UNICODE BUILD DEBUG_INFO DEBUG_FLAG SHARED TOOLKIT_LOWERCASE TOOLKIT_VERSION SAMPLES_RPATH_FLAG SAMPLES_RPATH_POSTLINK HOST_SUFFIX CPPUNIT_CFLAGS CPPUNIT_LIBS SET_MAKE MAKE_SET ac_ct_AR ac_ct_STRIP NM ac_ct_NM INSTALL_DIR LDFLAGS_GUI PLATFORM_UNIX PLATFORM_WIN32 PLATFORM_MSDOS PLATFORM_MAC PLATFORM_MACOSX PLATFORM_OS2 SO_SUFFIX SO_SUFFIX_MODULE LIBPREFIX DLLPREFIX DLLPREFIX_MODULE AIX_CXX_LD SHARED_LD_CC SHARED_LD_CXX SHARED_LD_MODULE_CC SHARED_LD_MODULE_CXX PIC_FLAG USE_SOVERSION USE_SOVERLINUX USE_SOVERSOLARIS USE_MACVERSION USE_SOSYMLINKS SONAME_FLAG DEPS_TRACKING GCC_PCH COND_BUILD_DEBUG COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT COND_BUILD_DEBUG_UNICODE_0 COND_BUILD_DEBUG_UNICODE_1 COND_BUILD_RELEASE COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT COND_BUILD_RELEASE_UNICODE_0 COND_BUILD_RELEASE_UNICODE_1 COND_DEBUG_FLAG_1 COND_DEBUG_INFO_0 COND_DEBUG_INFO_1 COND_DEPS_TRACKING_0 COND_DEPS_TRACKING_1 COND_GCC_PCH_1 COND_MONOLITHIC_0 COND_MONOLITHIC_0_SHARED_0 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_ODBC_1 COND_MONOLITHIC_0_SHARED_0_USE_HTML_1 COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1 COND_MONOLITHIC_0_SHARED_1 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_ODBC_1 COND_MONOLITHIC_0_SHARED_1_USE_HTML_1 COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1 COND_MONOLITHIC_0_USE_ODBC_1 COND_MONOLITHIC_1 COND_MONOLITHIC_1_SHARED_0 COND_MONOLITHIC_1_SHARED_1 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1 COND_PLATFORM_MACOSX_1 COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA COND_PLATFORM_MACOSX_1_TOOLKIT_GTK COND_PLATFORM_MACOSX_1_TOOLKIT_MAC COND_PLATFORM_MACOSX_1_USE_GUI_1 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1 COND_PLATFORM_MAC_1 COND_PLATFORM_OS2_1 COND_PLATFORM_UNIX_0 COND_PLATFORM_UNIX_1 COND_PLATFORM_UNIX_1_USE_GUI_1 COND_PLATFORM_UNIX_1_USE_PLUGINS_0 COND_PLATFORM_WIN32_0 COND_PLATFORM_WIN32_1 COND_SHARED_0 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN COND_SHARED_0_WXUSE_EXPAT_BUILTIN COND_SHARED_0_WXUSE_ODBC_BUILTIN COND_SHARED_0_WXUSE_REGEX_BUILTIN COND_SHARED_0_WXUSE_ZLIB_BUILTIN COND_SHARED_1 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1 COND_TOOLKIT_COCOA COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0 COND_TOOLKIT_GTK COND_TOOLKIT_GTK_USE_GUI_1 COND_TOOLKIT_GTK_USE_GUI_1_WXUNIV_0 COND_TOOLKIT_MAC COND_TOOLKIT_MAC_USE_GUI_1 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0 COND_TOOLKIT_MGL COND_TOOLKIT_MGL_USE_GUI_1 COND_TOOLKIT_MOTIF COND_TOOLKIT_MOTIF_USE_GUI_1 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0 COND_TOOLKIT_MSW COND_TOOLKIT_MSW_USE_GUI_1 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0 COND_TOOLKIT_PM COND_TOOLKIT_PM_USE_GUI_1 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0 COND_TOOLKIT_X11 COND_TOOLKIT_X11_USE_GUI_1 COND_UNICODE_1 COND_USE_EXCEPTIONS_0 COND_USE_EXCEPTIONS_1 COND_USE_GUI_0 COND_USE_GUI_1 COND_USE_GUI_1_WXUNIV_0 COND_USE_GUI_1_WXUNIV_1 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN COND_USE_ODBC_1 COND_USE_PLUGINS_0 COND_USE_SOSYMLINKS_1 COND_USE_SOVERLINUX_1 COND_USE_SOVERSION_0 COND_USE_SOVERSOLARIS_1 COND_WITH_PLUGIN_SDL_1 COND_WITH_SDL_1 COND_WXUNIV_1 COND_WXUSE_EXPAT_BUILTIN COND_WXUSE_LIBJPEG_BUILTIN COND_WXUSE_LIBPNG_BUILTIN COND_WXUSE_LIBTIFF_BUILTIN COND_WXUSE_ODBC_BUILTIN COND_WXUSE_REGEX_BUILTIN COND_WXUSE_ZLIB_BUILTIN PATH_IFS WX_MAJOR_VERSION_NUMBER WX_MINOR_VERSION_NUMBER WX_RELEASE_NUMBER WX_LIBRARY_NAME_STATIC WX_LIBRARY_NAME_SHARED WX_LIBRARY_BASENAME_NOGUI WX_LIBRARY_BASENAME_GUI WX_LIBRARY_IMPORTLIB WX_TARGET_LIBRARY WX_LIBRARY_LINK1 WX_LIBRARY_LINK2 PROGRAM_EXT WX_LIBRARY_NAME_STATIC_GL WX_LIBRARY_NAME_SHARED_GL WX_TARGET_LIBRARY_GL WX_LIBRARY_LINK1_GL WX_LIBRARY_LINK2_GL WX_ALL WX_ALL_INSTALLED SHARED_LD WX_TARGET_LIBRARY_TYPE STATIC_FLAG WXDEBUG_DEFINE USE_GUI AFMINSTALL WIN32INSTALL TOOLKIT TOOLKIT_DIR TOOLKIT_VPATH TOOLCHAIN_NAME TOOLCHAIN_DEFS TOOLCHAIN_DLL_DEFS top_builddir_wxconfig cross_compiling WXCONFIG_EXTRALIBS WXCONFIG_LIBS WXCONFIG_LIBS_GL WXCONFIG_LIBS_STATIC WXCONFIG_LIBS_STATIC_GL WXCONFIG_INCLUDE WXCONFIG_RPATH WXCONFIG_LDFLAGS_GUI WX_LARGEFILE_FLAGS CODE_GEN_FLAGS CODE_GEN_FLAGS_CXX ALL_OBJECTS ALL_HEADERS ALL_SOURCES GUIDIST PORT_FILES DISTDIR SAMPLES_SUBDIRS LDFLAGS_GL LDFLAGS_VERSIONING LDFLAGS_EXE OPENGL_LIBS DMALLOC_LIBS WX_VERSION_TAG RESFLAGS RESPROGRAMOBJ WX_RESOURCES_MACOSX_ASCII WX_RESOURCES_MACOSX_DATA LIBWXMACRES MACRESCOMP MACSETFILE MACRESWXCONFIG GCC GCC_SEARCHES_USR_LOCAL_INCLUDE DLLTOOL AS LD MAKEINFO INSTALL_LIBRARY CPPUNIT_CONFIG LIBOBJS LTLIBOBJS'
319 # Initialize some variables set by options.
321 ac_init_version
=false
322 # The variables have the same names as the options, with
323 # dashes changed to underlines.
331 program_transform_name
=s
,x
,x
,
339 # Installation directory options.
340 # These are left unexpanded so users can "make install exec_prefix=/foo"
341 # and all the variables that are supposed to be based on exec_prefix
342 # by default will actually change.
343 # Use braces instead of parens because sh, perl, etc. also accept them.
344 bindir
='${exec_prefix}/bin'
345 sbindir
='${exec_prefix}/sbin'
346 libexecdir
='${exec_prefix}/libexec'
347 datadir
='${prefix}/share'
348 sysconfdir
='${prefix}/etc'
349 sharedstatedir
='${prefix}/com'
350 localstatedir
='${prefix}/var'
351 libdir
='${exec_prefix}/lib'
352 includedir
='${prefix}/include'
353 oldincludedir
='/usr/include'
354 infodir
='${prefix}/info'
355 mandir
='${prefix}/man'
360 # If the previous option needs an argument, assign it.
361 if test -n "$ac_prev"; then
362 eval "$ac_prev=\$ac_option"
367 ac_optarg
=`expr "x$ac_option" : 'x[^=]*=\(.*\)'`
369 # Accept the important Cygnus configure options, so we can diagnose typos.
373 -bindir | --bindir | --bindi | --bind | --bin | --bi)
375 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
378 -build | --build | --buil | --bui | --bu)
379 ac_prev
=build_alias
;;
380 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
381 build_alias
=$ac_optarg ;;
383 -cache-file | --cache-file | --cache-fil | --cache-fi \
384 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
385 ac_prev
=cache_file
;;
386 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
387 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
388 cache_file
=$ac_optarg ;;
391 cache_file
=config.cache
;;
393 -datadir | --datadir | --datadi | --datad | --data | --dat | --da)
395 -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
397 datadir
=$ac_optarg ;;
399 -disable-* | --disable-*)
400 ac_feature
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
401 # Reject names that are not valid shell variable names.
402 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
403 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
404 { (exit 1); exit 1; }; }
405 ac_feature
=`echo $ac_feature | sed 's/-/_/g'`
406 eval "enable_$ac_feature=no" ;;
408 -enable-* | --enable-*)
409 ac_feature
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
410 # Reject names that are not valid shell variable names.
411 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
412 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
413 { (exit 1); exit 1; }; }
414 ac_feature
=`echo $ac_feature | sed 's/-/_/g'`
416 *=*) ac_optarg
=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
419 eval "enable_$ac_feature='$ac_optarg'" ;;
421 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
422 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
423 | --exec | --exe | --ex)
424 ac_prev
=exec_prefix
;;
425 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
426 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
427 | --exec=* | --exe=* | --ex=*)
428 exec_prefix
=$ac_optarg ;;
430 -gas | --gas | --ga | --g)
431 # Obsolete; use --with-gas.
434 -help | --help | --hel | --he | -h)
436 -help=r
* | --help=r
* | --hel=r
* | --he=r
* | -hr*)
437 ac_init_help
=recursive
;;
438 -help=s
* | --help=s
* | --hel=s
* | --he=s
* | -hs*)
439 ac_init_help
=short
;;
441 -host | --host | --hos | --ho)
442 ac_prev
=host_alias
;;
443 -host=* | --host=* | --hos=* | --ho=*)
444 host_alias
=$ac_optarg ;;
446 -includedir | --includedir | --includedi | --included | --include \
447 | --includ | --inclu | --incl | --inc)
448 ac_prev
=includedir
;;
449 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
450 | --includ=* | --inclu=* | --incl=* | --inc=*)
451 includedir
=$ac_optarg ;;
453 -infodir | --infodir | --infodi | --infod | --info | --inf)
455 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
456 infodir
=$ac_optarg ;;
458 -libdir | --libdir | --libdi | --libd)
460 -libdir=* | --libdir=* | --libdi=* | --libd=*)
463 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
464 | --libexe | --libex | --libe)
465 ac_prev
=libexecdir
;;
466 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
467 | --libexe=* | --libex=* | --libe=*)
468 libexecdir
=$ac_optarg ;;
470 -localstatedir | --localstatedir | --localstatedi | --localstated \
471 | --localstate | --localstat | --localsta | --localst \
472 | --locals | --local | --loca | --loc | --lo)
473 ac_prev
=localstatedir
;;
474 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
475 | --localstate=* | --localstat=* | --localsta=* | --localst=* \
476 | --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
477 localstatedir
=$ac_optarg ;;
479 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
481 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
485 # Obsolete; use --without-fp.
488 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
489 | --no-cr | --no-c | -n)
492 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
493 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
496 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
497 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
498 | --oldin | --oldi | --old | --ol | --o)
499 ac_prev
=oldincludedir
;;
500 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
501 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
502 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
503 oldincludedir
=$ac_optarg ;;
505 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
507 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
510 -program-prefix | --program-prefix | --program-prefi | --program-pref \
511 | --program-pre | --program-pr | --program-p)
512 ac_prev
=program_prefix
;;
513 -program-prefix=* | --program-prefix=* | --program-prefi=* \
514 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
515 program_prefix
=$ac_optarg ;;
517 -program-suffix | --program-suffix | --program-suffi | --program-suff \
518 | --program-suf | --program-su | --program-s)
519 ac_prev
=program_suffix
;;
520 -program-suffix=* | --program-suffix=* | --program-suffi=* \
521 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
522 program_suffix
=$ac_optarg ;;
524 -program-transform-name | --program-transform-name \
525 | --program-transform-nam | --program-transform-na \
526 | --program-transform-n | --program-transform- \
527 | --program-transform | --program-transfor \
528 | --program-transfo | --program-transf \
529 | --program-trans | --program-tran \
530 | --progr-tra | --program-tr | --program-t)
531 ac_prev
=program_transform_name
;;
532 -program-transform-name=* | --program-transform-name=* \
533 | --program-transform-nam=* | --program-transform-na=* \
534 | --program-transform-n=* | --program-transform-=* \
535 | --program-transform=* | --program-transfor=* \
536 | --program-transfo=* | --program-transf=* \
537 | --program-trans=* | --program-tran=* \
538 | --progr-tra=* | --program-tr=* | --program-t=*)
539 program_transform_name
=$ac_optarg ;;
541 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
542 | -silent | --silent | --silen | --sile | --sil)
545 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
547 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
549 sbindir
=$ac_optarg ;;
551 -sharedstatedir | --sharedstatedir | --sharedstatedi \
552 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
553 | --sharedst | --shareds | --shared | --share | --shar \
555 ac_prev
=sharedstatedir
;;
556 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
557 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
558 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
560 sharedstatedir
=$ac_optarg ;;
562 -site | --site | --sit)
564 -site=* | --site=* | --sit=*)
567 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
569 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
572 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
573 | --syscon | --sysco | --sysc | --sys | --sy)
574 ac_prev
=sysconfdir
;;
575 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
576 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
577 sysconfdir
=$ac_optarg ;;
579 -target | --target | --targe | --targ | --tar | --ta | --t)
580 ac_prev
=target_alias
;;
581 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
582 target_alias
=$ac_optarg ;;
584 -v | -verbose | --verbose | --verbos | --verbo | --verb)
587 -version | --version | --versio | --versi | --vers | -V)
591 ac_package
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
592 # Reject names that are not valid shell variable names.
593 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
594 { echo "$as_me: error: invalid package name: $ac_package" >&2
595 { (exit 1); exit 1; }; }
596 ac_package
=`echo $ac_package| sed 's/-/_/g'`
598 *=*) ac_optarg
=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
601 eval "with_$ac_package='$ac_optarg'" ;;
603 -without-* | --without-*)
604 ac_package
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
605 # Reject names that are not valid shell variable names.
606 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
607 { echo "$as_me: error: invalid package name: $ac_package" >&2
608 { (exit 1); exit 1; }; }
609 ac_package
=`echo $ac_package | sed 's/-/_/g'`
610 eval "with_$ac_package=no" ;;
613 # Obsolete; use --with-x.
616 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
617 | --x-incl | --x-inc | --x-in | --x-i)
618 ac_prev
=x_includes
;;
619 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
620 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
621 x_includes
=$ac_optarg ;;
623 -x-libraries | --x-libraries | --x-librarie | --x-librari \
624 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
625 ac_prev
=x_libraries
;;
626 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
627 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
628 x_libraries
=$ac_optarg ;;
630 -*) { echo "$as_me: error: unrecognized option: $ac_option
631 Try \`$0 --help' for more information." >&2
632 { (exit 1); exit 1; }; }
636 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
637 # Reject names that are not valid shell variable names.
638 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev
/null
&&
639 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
640 { (exit 1); exit 1; }; }
641 ac_optarg
=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`
642 eval "$ac_envvar='$ac_optarg'"
646 # FIXME: should be removed in autoconf 3.0.
647 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
648 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
649 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
650 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
656 if test -n "$ac_prev"; then
657 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
658 { echo "$as_me: error: missing argument to $ac_option" >&2
659 { (exit 1); exit 1; }; }
662 # Be sure to have absolute paths.
663 for ac_var
in exec_prefix prefix
665 eval ac_val
=$
`echo $ac_var`
667 [\\/$
]* | ?
:[\\/]* | NONE
| '' ) ;;
668 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
669 { (exit 1); exit 1; }; };;
673 # Be sure to have absolute paths.
674 for ac_var
in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
675 localstatedir libdir includedir oldincludedir infodir mandir
677 eval ac_val
=$
`echo $ac_var`
679 [\\/$
]* | ?
:[\\/]* ) ;;
680 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
681 { (exit 1); exit 1; }; };;
685 # There might be people who depend on the old broken behavior: `$host'
686 # used to hold the argument of --host etc.
687 # FIXME: To remove some day.
692 # FIXME: To remove some day.
693 if test "x$host_alias" != x
; then
694 if test "x$build_alias" = x
; then
695 cross_compiling
=maybe
696 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
697 If a cross compiler is detected then cross compile mode will be used." >&2
698 elif test "x$build_alias" != "x$host_alias"; then
704 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
706 test "$silent" = yes && exec 6>/dev
/null
709 # Find the source files, if location was not specified.
710 if test -z "$srcdir"; then
711 ac_srcdir_defaulted
=yes
712 # Try the directory containing this script, then its parent.
713 ac_confdir
=`(dirname "$0") 2>/dev/null ||
714 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
715 X"$0" : 'X\(//\)[^/]' \| \
716 X"$0" : 'X\(//\)$' \| \
717 X"$0" : 'X\(/\)' \| \
718 . : '\(.\)' 2>/dev/null ||
720 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
721 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
722 /^X\(\/\/\)$/{ s//\1/; q; }
723 /^X\(\/\).*/{ s//\1/; q; }
726 if test ! -r $srcdir/$ac_unique_file; then
730 ac_srcdir_defaulted
=no
732 if test ! -r $srcdir/$ac_unique_file; then
733 if test "$ac_srcdir_defaulted" = yes; then
734 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2
735 { (exit 1); exit 1; }; }
737 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
738 { (exit 1); exit 1; }; }
741 (cd $srcdir && test -r .
/$ac_unique_file) 2>/dev
/null
||
742 { echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2
743 { (exit 1); exit 1; }; }
744 srcdir
=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
745 ac_env_build_alias_set
=${build_alias+set}
746 ac_env_build_alias_value
=$build_alias
747 ac_cv_env_build_alias_set
=${build_alias+set}
748 ac_cv_env_build_alias_value
=$build_alias
749 ac_env_host_alias_set
=${host_alias+set}
750 ac_env_host_alias_value
=$host_alias
751 ac_cv_env_host_alias_set
=${host_alias+set}
752 ac_cv_env_host_alias_value
=$host_alias
753 ac_env_target_alias_set
=${target_alias+set}
754 ac_env_target_alias_value
=$target_alias
755 ac_cv_env_target_alias_set
=${target_alias+set}
756 ac_cv_env_target_alias_value
=$target_alias
757 ac_env_CC_set
=${CC+set}
759 ac_cv_env_CC_set
=${CC+set}
760 ac_cv_env_CC_value
=$CC
761 ac_env_CFLAGS_set
=${CFLAGS+set}
762 ac_env_CFLAGS_value
=$CFLAGS
763 ac_cv_env_CFLAGS_set
=${CFLAGS+set}
764 ac_cv_env_CFLAGS_value
=$CFLAGS
765 ac_env_LDFLAGS_set
=${LDFLAGS+set}
766 ac_env_LDFLAGS_value
=$LDFLAGS
767 ac_cv_env_LDFLAGS_set
=${LDFLAGS+set}
768 ac_cv_env_LDFLAGS_value
=$LDFLAGS
769 ac_env_CPPFLAGS_set
=${CPPFLAGS+set}
770 ac_env_CPPFLAGS_value
=$CPPFLAGS
771 ac_cv_env_CPPFLAGS_set
=${CPPFLAGS+set}
772 ac_cv_env_CPPFLAGS_value
=$CPPFLAGS
773 ac_env_CPP_set
=${CPP+set}
774 ac_env_CPP_value
=$CPP
775 ac_cv_env_CPP_set
=${CPP+set}
776 ac_cv_env_CPP_value
=$CPP
777 ac_env_CXX_set
=${CXX+set}
778 ac_env_CXX_value
=$CXX
779 ac_cv_env_CXX_set
=${CXX+set}
780 ac_cv_env_CXX_value
=$CXX
781 ac_env_CXXFLAGS_set
=${CXXFLAGS+set}
782 ac_env_CXXFLAGS_value
=$CXXFLAGS
783 ac_cv_env_CXXFLAGS_set
=${CXXFLAGS+set}
784 ac_cv_env_CXXFLAGS_value
=$CXXFLAGS
785 ac_env_CXXCPP_set
=${CXXCPP+set}
786 ac_env_CXXCPP_value
=$CXXCPP
787 ac_cv_env_CXXCPP_set
=${CXXCPP+set}
788 ac_cv_env_CXXCPP_value
=$CXXCPP
791 # Report the --help message.
793 if test "$ac_init_help" = "long"; then
794 # Omit some internal or obsolete options to make the list less imposing.
795 # This message is too long to be a string in the A/UX 3.1 sh.
797 \`configure' configures wxWindows 2.5.1 to adapt to many kinds of systems.
799 Usage: $0 [OPTION]... [VAR=VALUE]...
801 To assign environment variables (e.g., CC, CFLAGS...), specify them as
802 VAR=VALUE. See below for descriptions of some of the useful variables.
804 Defaults for the options are specified in brackets.
807 -h, --help display this help and exit
808 --help=short display options specific to this package
809 --help=recursive display the short help of all the included packages
810 -V, --version display version information and exit
811 -q, --quiet, --silent do not print \`checking...' messages
812 --cache-file=FILE cache test results in FILE [disabled]
813 -C, --config-cache alias for \`--cache-file=config.cache'
814 -n, --no-create do not create output files
815 --srcdir=DIR find the sources in DIR [configure dir or \`..']
820 Installation directories:
821 --prefix=PREFIX install architecture-independent files in PREFIX
823 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
826 By default, \`make install' will install all the files in
827 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
828 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
829 for instance \`--prefix=\$HOME'.
831 For better control, use the options below.
833 Fine tuning of the installation directories:
834 --bindir=DIR user executables [EPREFIX/bin]
835 --sbindir=DIR system admin executables [EPREFIX/sbin]
836 --libexecdir=DIR program executables [EPREFIX/libexec]
837 --datadir=DIR read-only architecture-independent data [PREFIX/share]
838 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
839 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
840 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
841 --libdir=DIR object code libraries [EPREFIX/lib]
842 --includedir=DIR C header files [PREFIX/include]
843 --oldincludedir=DIR C header files for non-gcc [/usr/include]
844 --infodir=DIR info documentation [PREFIX/info]
845 --mandir=DIR man documentation [PREFIX/man]
851 --x-includes=DIR X include files are
in DIR
852 --x-libraries=DIR X library files are
in DIR
855 --build=BUILD configure
for building on BUILD
[guessed
]
856 --host=HOST cross
-compile to build programs to run on HOST
[BUILD
]
857 --target=TARGET configure
for building compilers
for TARGET
[HOST
]
861 if test -n "$ac_init_help"; then
862 case $ac_init_help in
863 short
| recursive
) echo "Configuration of wxWindows 2.5.1:";;
868 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
869 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
870 --enable-gui use GUI classes
871 --enable-monolithic build wxWindows as single library
872 --enable-plugins build parts of wxWindows as loadable components
873 --enable-universal use wxWindows GUI controls instead of native ones
874 --enable-nanox use NanoX
875 --enable-gtk2 use GTK
+ 2.0 if available
(EXPERIMENTAL
)
876 --enable-gpe use GNOME PDA Environment features
if possible
877 --enable-shared create shared library code
878 --enable-optimise create optimised code
879 --enable-debug same as debug_flag and debug_info
880 --enable-stl use STL
for containers
881 --enable-omf use OMF object format
882 --enable-debug_flag set __WXDEBUG__ flag
(recommended
for developers
!)
883 --enable-debug_info create code with debugging information
884 --enable-debug_gdb create code with extra GDB debugging information
885 --enable-debug_cntxt use wxDebugContext
886 --enable-mem_tracing create code with memory tracing
887 --enable-profile create code with profiling information
888 --enable-no_rtti create code without RTTI information
889 --enable-no_exceptions create code without C
++ exceptions handling
890 --enable-permissive compile code disregarding strict ANSI
891 --enable-no_deps create code without dependency information
892 --enable-compat22 enable wxWindows
2.2 compatibility
893 --disable-compat24 disable wxWindows
2.4 compatibility
894 --enable-rpath=DIR output the rpath flag from wx
-config
895 --enable-intl use internationalization system
896 --enable-config use wxConfig
(and derived
) classes
897 --enable-protocols use wxProtocol and derived classes
898 --enable-ftp use wxFTP
(requires wxProtocol
899 --enable-http use wxHTTP
(requires wxProtocol
900 --enable-fileproto use wxFileProto class
(requires wxProtocol
901 --enable-sockets use socket
/network classes
902 --enable-ole use OLE classes
(Win32 only
)
903 --enable-dataobj use data object classes
904 --enable-ipc use interprocess communication
(wxSocket etc.
)
905 --enable-apple_ieee use the Apple IEEE codec
906 --enable-catch_segvs catch signals
in wxApp
::OnFatalException
(Unix only
)
907 --enable-cmdline use wxCmdLineParser class
908 --enable-datetime use wxDateTime class
909 --enable-dialupman use dialup network classes
910 --enable-dynlib use wxLibrary class
for DLL loading
911 --enable-dynamicloader use
(new
) wxDynamicLibrary class
912 --enable-exceptions build exception
-safe library
913 --enable-ffile use wxFFile class
914 --enable-file use wxFile class
915 --enable-filesystem use virtual
file systems classes
916 --enable-fontmap use font encodings conversion classes
917 --enable-fs_inet use virtual HTTP
/FTP filesystems
918 --enable-fs_zip use virtual ZIP filesystems
919 --enable-geometry use geometry class
920 --enable-log use logging system
921 --enable-longlong use wxLongLong class
922 --enable-mimetype use wxMimeTypesManager
923 --enable-mslu use MS Layer
for Unicode on Windows
9x
(Win32 only
)
924 --enable-snglinst use wxSingleInstanceChecker class
925 --enable-streams use wxStream etc classes
926 --enable-std_iostreams use standard C
++ stream classes
927 --enable-stopwatch use wxStopWatch class
928 --enable-sysoptions use wxSystemOptions
929 --enable-textbuf use wxTextBuffer class
930 --enable-textfile use wxTextFile class
931 --enable-timer use wxTimer class
932 --enable-unicode compile wxString with Unicode support
933 --enable-sound use wxSound class
934 --enable-wxprintfv use wxWindows implementation of vprintf
()
935 --enable-zipstream use wxZipInputStream
936 --enable-gzstream use wxGzipInputStream
937 --enable-url use wxURL class
938 --enable-protocol use wxProtocol class
939 --enable-protocol-http HTTP support
in wxProtocol
940 --enable-protocol-ftp FTP support
in wxProtocol
941 --enable-protocol-file FILE support
in wxProtocol
942 --enable-threads use threads
943 --enable-docview use document view architecture
944 --enable-help use
help subsystem
945 --enable-mshtmlhelp use MS HTML Help
(win32
)
946 --enable-html use wxHTML sub
-library
947 --enable-htmlhelp use wxHTML
-based help
948 --enable-constraints use layout
-constraints system
949 --enable-printarch use printing architecture
950 --enable-mdi use multiple document interface architecture
951 --enable-loggui use standard GUI logger
952 --enable-logwin use wxLogWindow
953 --enable-logdialog use wxLogDialog
954 --enable-postscript use wxPostscriptDC device context
(default
for gtk
+)
955 --enable-prologio not available
; see contrib
956 --enable-resources not available
; see contrib
957 --enable-clipboard use wxClipboard class
958 --enable-dnd use Drag
'n'Drop classes
959 --enable-metafile use win32 metafiles
960 --enable-controls use all usual controls
961 --enable-accel use accelerators
962 --enable-button use wxButton class
963 --enable-bmpbutton use wxBitmapButton class
964 --enable-calendar use wxCalendarCtrl class
965 --enable-caret use wxCaret class
966 --enable-checkbox use wxCheckBox class
967 --enable-checklst use wxCheckListBox
(listbox with checkboxes
) class
968 --enable-choice use wxChoice class
969 --enable-combobox use wxComboBox class
970 --enable-display use wxDisplay class
971 --enable-gauge use wxGauge class
972 --enable-grid use wxGrid class
973 --enable-imaglist use wxImageList class
974 --enable-listbook use wxListbook class
975 --enable-listbox use wxListBox class
976 --enable-listctrl use wxListCtrl class
977 --enable-notebook use wxNotebook class
978 --enable-radiobox use wxRadioBox class
979 --enable-radiobtn use wxRadioButton class
980 --enable-sash use wxSashWindow class
981 --enable-scrollbar use wxScrollBar class and scrollable windows
982 --enable-slider use wxSlider class
983 --enable-spinbtn use wxSpinButton class
984 --enable-spinctrl use wxSpinCtrl class
985 --enable-splitter use wxSplitterWindow class
986 --enable-statbmp use wxStaticBitmap class
987 --enable-statbox use wxStaticBox class
988 --enable-statline use wxStaticLine class
989 --enable-stattext use wxStaticText class
990 --enable-statusbar use wxStatusBar class
991 --enable-tabdialog use wxTabControl class
992 --enable-textctrl use wxTextCtrl class
993 --enable-togglebtn use wxToggleButton class
994 --enable-toolbar use wxToolBar class
995 --enable-tbarnative use native wxToolBar class
996 --enable-tbarsmpl use wxToolBarSimple class
997 --enable-treectrl use wxTreeCtrl class
998 --enable-tipwindow use wxTipWindow class
999 --enable-popupwin use wxPopUpWindow class
1000 --enable-commondlg use all common dialogs
1001 --enable-choicedlg use wxChoiceDialog
1002 --enable-coldlg use wxColourDialog
1003 --enable-filedlg use wxFileDialog
1004 --enable-finddlg use wxFindReplaceDialog
1005 --enable-fontdlg use wxFontDialog
1006 --enable-dirdlg use wxDirDialog
1007 --enable-msgdlg use wxMessageDialog
1008 --enable-numberdlg use wxNumberEntryDialog
1009 --enable-splash use wxSplashScreen
1010 --enable-textdlg use wxTextDialog
1011 --enable-tipdlg use startup tips
1012 --enable-progressdlg use wxProgressDialog
1013 --enable-wizarddlg use wxWizard
1014 --enable-menus use wxMenu
/wxMenuBar
/wxMenuItem classes
1015 --enable-miniframe use wxMiniFrame class
1016 --enable-tooltips use wxToolTip class
1017 --enable-splines use spline drawing code
1018 --enable-validators use wxValidator and derived classes
1019 --enable-busyinfo use wxBusyInfo
1020 --enable-joystick use wxJoystick
(Linux only
)
1021 --enable-metafiles use wxMetaFile
(Windows only
)
1022 --enable-dragimage use wxDragImage
1023 --enable-accessibility enable accessibility support
1024 --enable-palette use wxPalette class
1025 --enable-image use wxImage class
1026 --enable-gif use gif images
(GIF
file format
)
1027 --enable-pcx use pcx images
(PCX
file format
)
1028 --enable-iff use iff images
(IFF
file format
)
1029 --enable-pnm use pnm images
(PNM
file format
)
1030 --enable-xpm use xpm images
(XPM
file format
)
1031 --enable-icocur use Windows ICO and CUR formats
1032 --enable-official_build official build of wxWindows
(win32 DLL only
)
1033 --enable-vendor=VENDOR vendor name
(win32 DLL only
)
1034 --disable-largefile omit support
for large files
1035 --disable-gtktest do not try to compile and run a
test GTK
+ program
1036 --disable-gtktest Do not try to compile and run a
test GTK program
1037 --disable-sdltest Do not try to compile and run a
test SDL program
1038 --disable-precomp-headers don
't use precompiled headers even if compiler can
1041 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1042 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1044 --with-motif use Motif/Lesstif
1045 --with-mac use Mac OS X
1046 --with-cocoa use Cocoa
1047 --with-wine use Wine
1048 --with-msw use MS-Windows
1049 --with-pm use OS/2 Presentation Manager
1050 --with-mgl use SciTech MGL
1051 --with-microwin use MicroWindows
1053 --with-libpng use libpng (PNG image format)
1054 --with-libjpeg use libjpeg (JPEG file format)
1055 --with-libtiff use libtiff (TIFF file format)
1056 --with-libxpm use libxpm (XPM file format)
1057 --with-libmspack use libmspack (CHM help files loading)
1058 --with-sdl use SDL for audio on Unix
1059 --with-opengl use OpenGL (or Mesa)
1060 --with-dmalloc use dmalloc library (http://dmalloc.com/)
1061 --with-regex enable support for wxRegEx class
1062 --with-zlib use zlib for LZW compression
1063 --with-odbc use the IODBC and wxODBC classes
1064 --with-expat enable XML support using expat parser
1065 --with-gtk-prefix=PFX Prefix where GTK is installed (optional)
1066 --with-gtk-exec-prefix=PFX Exec prefix where GTK is installed (optional)
1067 --with-x use the X Window System
1068 --with-libiconv-prefix=DIR search for libiconv in DIR/include and DIR/lib
1069 --with-sdl-prefix=PFX Prefix where SDL is installed (optional)
1070 --with-sdl-exec-prefix=PFX Exec prefix where SDL is installed (optional)
1071 --with-cppunit-prefix=PFX Prefix where CppUnit is installed (optional)
1072 --with-cppunit-exec-prefix=PFX Exec prefix where CppUnit is installed (optional)
1074 Some influential environment variables:
1075 CC C compiler command
1076 CFLAGS C compiler flags
1077 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1078 nonstandard directory <lib dir>
1079 CPPFLAGS C/C++ preprocessor flags, e.g. -I<include dir> if you have
1080 headers in a nonstandard directory <include dir>
1082 CXX C++ compiler command
1083 CXXFLAGS C++ compiler flags
1084 CXXCPP C++ preprocessor
1086 Use these variables to override the choices made by `configure' or to
help
1087 it to
find libraries and programs with nonstandard names
/locations.
1089 Report bugs to
<wx
-dev@lists.wxwindows.org
>.
1093 if test "$ac_init_help" = "recursive"; then
1094 # If there are subdirs, report their specific --help.
1096 for ac_dir
in : $ac_subdirs_all; do test "x$ac_dir" = x
: && continue
1097 test -d $ac_dir || continue
1100 if test "$ac_dir" != .
; then
1101 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
1102 # A "../" for each directory in $ac_dir_suffix.
1103 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
1105 ac_dir_suffix
= ac_top_builddir
=
1109 .
) # No --srcdir option. We are building in place.
1111 if test -z "$ac_top_builddir"; then
1114 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
1116 [\\/]* | ?
:[\\/]* ) # Absolute path.
1117 ac_srcdir
=$srcdir$ac_dir_suffix;
1118 ac_top_srcdir
=$srcdir ;;
1120 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
1121 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
1124 # Do not use `cd foo && pwd` to compute absolute paths, because
1125 # the directories may not exist.
1127 .
) ac_abs_builddir
="$ac_dir";;
1130 .
) ac_abs_builddir
=`pwd`;;
1131 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
1132 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
1135 case $ac_abs_builddir in
1136 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
1138 case ${ac_top_builddir}.
in
1139 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
1140 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
1141 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
1144 case $ac_abs_builddir in
1145 .
) ac_abs_srcdir
=$ac_srcdir;;
1148 .
) ac_abs_srcdir
=$ac_abs_builddir;;
1149 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
1150 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
1153 case $ac_abs_builddir in
1154 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
1156 case $ac_top_srcdir in
1157 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
1158 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
1159 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
1164 # Check for guested configure; otherwise get Cygnus style configure.
1165 if test -f $ac_srcdir/configure.gnu
; then
1167 $SHELL $ac_srcdir/configure.gnu
--help=recursive
1168 elif test -f $ac_srcdir/configure
; then
1170 $SHELL $ac_srcdir/configure
--help=recursive
1171 elif test -f $ac_srcdir/configure.ac
||
1172 test -f $ac_srcdir/configure.
in; then
1174 $ac_configure --help
1176 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1182 test -n "$ac_init_help" && exit 0
1183 if $ac_init_version; then
1185 wxWindows configure
2.5.1
1186 generated by GNU Autoconf
2.59
1188 Copyright
(C
) 2003 Free Software Foundation
, Inc.
1189 This configure
script is free software
; the Free Software Foundation
1190 gives unlimited permission to copy
, distribute and modify it.
1196 This file contains any messages produced by compilers while
1197 running configure, to aid debugging if configure makes a mistake.
1199 It was created by wxWindows $as_me 2.5.1, which was
1200 generated by GNU Autoconf 2.59. Invocation command line was
1211 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1212 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1213 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1214 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1215 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1217 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1218 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1220 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1221 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1222 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1223 hostinfo = `(hostinfo) 2>/dev/null || echo unknown`
1224 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1225 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1226 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1230 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1234 test -z "$as_dir" && as_dir
=.
1235 echo "PATH: $as_dir"
1250 # Keep a trace of the command line.
1251 # Strip out --no-create and --no-recursion so they do not pile up.
1252 # Strip out --silent because we don't want to record it for future runs.
1253 # Also quote any args containing shell meta-characters.
1254 # Make two passes to allow for proper duplicate-argument suppression.
1259 ac_must_keep_next
=false
1265 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1266 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1267 | -silent | --silent | --silen | --sile | --sil)
1269 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1270 ac_arg
=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1273 1) ac_configure_args0
="$ac_configure_args0 '$ac_arg'" ;;
1275 ac_configure_args1
="$ac_configure_args1 '$ac_arg'"
1276 if test $ac_must_keep_next = true
; then
1277 ac_must_keep_next
=false
# Got value, back to normal.
1280 *=* | --config-cache | -C | -disable-* | --disable-* \
1281 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1282 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1283 | -with-* | --with-* | -without-* | --without-* | --x)
1284 case "$ac_configure_args0 " in
1285 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1288 -* ) ac_must_keep_next
=true
;;
1291 ac_configure_args
="$ac_configure_args$ac_sep'$ac_arg'"
1292 # Get rid of the leading space.
1298 $as_unset ac_configure_args0
|| test "${ac_configure_args0+set}" != set || { ac_configure_args0
=; export ac_configure_args0
; }
1299 $as_unset ac_configure_args1
|| test "${ac_configure_args1+set}" != set || { ac_configure_args1
=; export ac_configure_args1
; }
1301 # When interrupted or exit'd, cleanup temporary files, and complete
1302 # config.log. We remove comments because anyway the quotes in there
1303 # would cause problems or look ugly.
1304 # WARNING: Be sure not to use single quotes in there, as some shells,
1305 # such as our DU 5.0 friend, will then `close' the trap.
1306 trap 'exit_status=$?
1307 # Save into config.log some information that might help in debugging.
1312 ## ---------------- ##
1313 ## Cache variables. ##
1314 ## ---------------- ##
1317 # The following way of writing the cache mishandles newlines in values,
1320 case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1323 "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1324 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1328 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1335 ## ----------------- ##
1336 ## Output variables. ##
1337 ## ----------------- ##
1340 for ac_var in $ac_subst_vars
1342 eval ac_val=$`echo $ac_var`
1343 echo "$ac_var='"'"'$ac_val'"'"'"
1347 if test -n "$ac_subst_files"; then
1354 for ac_var in $ac_subst_files
1356 eval ac_val=$`echo $ac_var`
1357 echo "$ac_var='"'"'$ac_val'"'"'"
1362 if test -s confdefs.h; then
1369 sed "/^$/d" confdefs.h | sort
1372 test "$ac_signal" != 0 &&
1373 echo "$as_me: caught signal $ac_signal"
1374 echo "$as_me: exit $exit_status"
1376 rm -f core *.core &&
1377 rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
1380 for ac_signal
in 1 2 13 15; do
1381 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1385 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1386 rm -rf conftest
* confdefs.h
1387 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
1390 # Predefined preprocessor variables.
1392 cat >>confdefs.h
<<_ACEOF
1393 #define PACKAGE_NAME "$PACKAGE_NAME"
1397 cat >>confdefs.h
<<_ACEOF
1398 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1402 cat >>confdefs.h
<<_ACEOF
1403 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1407 cat >>confdefs.h
<<_ACEOF
1408 #define PACKAGE_STRING "$PACKAGE_STRING"
1412 cat >>confdefs.h
<<_ACEOF
1413 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1417 # Let the site file select an alternate cache file if it wants to.
1418 # Prefer explicitly selected file to automatically selected ones.
1419 if test -z "$CONFIG_SITE"; then
1420 if test "x$prefix" != xNONE
; then
1421 CONFIG_SITE
="$prefix/share/config.site $prefix/etc/config.site"
1423 CONFIG_SITE
="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1426 for ac_site_file
in $CONFIG_SITE; do
1427 if test -r "$ac_site_file"; then
1428 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1429 echo "$as_me: loading site script $ac_site_file" >&6;}
1430 sed 's/^/| /' "$ac_site_file" >&5
1435 if test -r "$cache_file"; then
1436 # Some versions of bash will fail to source /dev/null (special
1437 # files actually), so we avoid doing that.
1438 if test -f "$cache_file"; then
1439 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1440 echo "$as_me: loading cache $cache_file" >&6;}
1442 [\\/]* | ?
:[\\/]* ) .
$cache_file;;
1443 *) . .
/$cache_file;;
1447 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1448 echo "$as_me: creating cache $cache_file" >&6;}
1452 # Check that the precious variables saved in the cache have kept the same
1454 ac_cache_corrupted
=false
1455 for ac_var
in `(set) 2>&1 |
1456 sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
1457 eval ac_old_set
=\
$ac_cv_env_${ac_var}_set
1458 eval ac_new_set
=\
$ac_env_${ac_var}_set
1459 eval ac_old_val
="\$ac_cv_env_${ac_var}_value"
1460 eval ac_new_val
="\$ac_env_${ac_var}_value"
1461 case $ac_old_set,$ac_new_set in
1463 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1464 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1465 ac_cache_corrupted
=: ;;
1467 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1468 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1469 ac_cache_corrupted
=: ;;
1472 if test "x$ac_old_val" != "x$ac_new_val"; then
1473 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1474 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1475 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1476 echo "$as_me: former value: $ac_old_val" >&2;}
1477 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1478 echo "$as_me: current value: $ac_new_val" >&2;}
1479 ac_cache_corrupted
=:
1482 # Pass precious variables to config.status.
1483 if test "$ac_new_set" = set; then
1485 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1486 ac_arg
=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1487 *) ac_arg
=$ac_var=$ac_new_val ;;
1489 case " $ac_configure_args " in
1490 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1491 *) ac_configure_args
="$ac_configure_args '$ac_arg'" ;;
1495 if $ac_cache_corrupted; then
1496 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1497 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1498 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1499 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1500 { (exit 1); exit 1; }; }
1504 ac_cpp
='$CPP $CPPFLAGS'
1505 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1506 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1507 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
1539 for ac_dir
in $srcdir $srcdir/..
$srcdir/..
/..
; do
1540 if test -f $ac_dir/install-sh; then
1542 ac_install_sh
="$ac_aux_dir/install-sh -c"
1544 elif test -f $ac_dir/install.sh
; then
1546 ac_install_sh
="$ac_aux_dir/install.sh -c"
1548 elif test -f $ac_dir/shtool
; then
1550 ac_install_sh
="$ac_aux_dir/shtool install -c"
1554 if test -z "$ac_aux_dir"; then
1555 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
1556 echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
1557 { (exit 1); exit 1; }; }
1559 ac_config_guess
="$SHELL $ac_aux_dir/config.guess"
1560 ac_config_sub
="$SHELL $ac_aux_dir/config.sub"
1561 ac_configure
="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
1563 # Make sure we can run config.sub.
1564 $ac_config_sub sun4
>/dev
/null
2>&1 ||
1565 { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
1566 echo "$as_me: error: cannot run $ac_config_sub" >&2;}
1567 { (exit 1); exit 1; }; }
1569 echo "$as_me:$LINENO: checking build system type" >&5
1570 echo $ECHO_N "checking build system type... $ECHO_C" >&6
1571 if test "${ac_cv_build+set}" = set; then
1572 echo $ECHO_N "(cached) $ECHO_C" >&6
1574 ac_cv_build_alias
=$build_alias
1575 test -z "$ac_cv_build_alias" &&
1576 ac_cv_build_alias
=`$ac_config_guess`
1577 test -z "$ac_cv_build_alias" &&
1578 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
1579 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
1580 { (exit 1); exit 1; }; }
1581 ac_cv_build
=`$ac_config_sub $ac_cv_build_alias` ||
1582 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
1583 echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
1584 { (exit 1); exit 1; }; }
1587 echo "$as_me:$LINENO: result: $ac_cv_build" >&5
1588 echo "${ECHO_T}$ac_cv_build" >&6
1590 build_cpu
=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1591 build_vendor
=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1592 build_os
=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1595 echo "$as_me:$LINENO: checking host system type" >&5
1596 echo $ECHO_N "checking host system type... $ECHO_C" >&6
1597 if test "${ac_cv_host+set}" = set; then
1598 echo $ECHO_N "(cached) $ECHO_C" >&6
1600 ac_cv_host_alias
=$host_alias
1601 test -z "$ac_cv_host_alias" &&
1602 ac_cv_host_alias
=$ac_cv_build_alias
1603 ac_cv_host
=`$ac_config_sub $ac_cv_host_alias` ||
1604 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
1605 echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
1606 { (exit 1); exit 1; }; }
1609 echo "$as_me:$LINENO: result: $ac_cv_host" >&5
1610 echo "${ECHO_T}$ac_cv_host" >&6
1612 host_cpu
=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1613 host_vendor
=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1614 host_os
=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1617 echo "$as_me:$LINENO: checking target system type" >&5
1618 echo $ECHO_N "checking target system type... $ECHO_C" >&6
1619 if test "${ac_cv_target+set}" = set; then
1620 echo $ECHO_N "(cached) $ECHO_C" >&6
1622 ac_cv_target_alias
=$target_alias
1623 test "x$ac_cv_target_alias" = "x" &&
1624 ac_cv_target_alias
=$ac_cv_host_alias
1625 ac_cv_target
=`$ac_config_sub $ac_cv_target_alias` ||
1626 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_target_alias failed" >&5
1627 echo "$as_me: error: $ac_config_sub $ac_cv_target_alias failed" >&2;}
1628 { (exit 1); exit 1; }; }
1631 echo "$as_me:$LINENO: result: $ac_cv_target" >&5
1632 echo "${ECHO_T}$ac_cv_target" >&6
1633 target
=$ac_cv_target
1634 target_cpu
=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1635 target_vendor
=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1636 target_os
=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1639 # The aliases save the names the user supplied, while $host etc.
1640 # will get canonicalized.
1641 test -n "$target_alias" &&
1642 test "$program_prefix$program_suffix$program_transform_name" = \
1644 program_prefix
=${target_alias}-
1648 WX_MAJOR_VERSION_NUMBER
=2
1649 WX_MINOR_VERSION_NUMBER
=5
1652 WX_VERSION
=$WX_MAJOR_VERSION_NUMBER.
$WX_MINOR_VERSION_NUMBER.
$WX_RELEASE_NUMBER
1653 WX_RELEASE
=$WX_MAJOR_VERSION_NUMBER.
$WX_MINOR_VERSION_NUMBER
1655 WX_MSW_VERSION
=$WX_MAJOR_VERSION_NUMBER$WX_MINOR_VERSION_NUMBER$WX_RELEASE_NUMBER
1671 USE_BSD
= USE_DARWIN
= USE_FREEBSD
=
1677 USE_SOLARIS
= USE_SUN
= USE_SUNOS
= USE_SVR4
= USE_SYSV
= USE_VMS
=
1683 NEEDS_D_REENTRANT_FOR_R_FUNCS
=0
1685 ALL_TOOLKITS
="COCOA GTK MAC MGL MICROWIN MOTIF MSW PM X11"
1687 DEFAULT_wxUSE_COCOA
=0
1691 DEFAULT_wxUSE_MICROWIN
=0
1692 DEFAULT_wxUSE_MOTIF
=0
1697 DEFAULT_DEFAULT_wxUSE_COCOA
=0
1698 DEFAULT_DEFAULT_wxUSE_GTK
=0
1699 DEFAULT_DEFAULT_wxUSE_MAC
=0
1700 DEFAULT_DEFAULT_wxUSE_MGL
=0
1701 DEFAULT_DEFAULT_wxUSE_MICROWIN
=0
1702 DEFAULT_DEFAULT_wxUSE_MOTIF
=0
1703 DEFAULT_DEFAULT_wxUSE_MSW
=0
1704 DEFAULT_DEFAULT_wxUSE_PM
=0
1705 DEFAULT_DEFAULT_wxUSE_X11
=0
1710 SAMPLES_RPATH_POSTLINK
=
1715 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1716 NEEDS_D_REENTRANT_FOR_R_FUNCS
=1
1718 cat >>confdefs.h
<<\_ACEOF
1725 cat >>confdefs.h
<<\_ACEOF
1730 if test "x$TMP" = "xalpha"; then
1732 cat >>confdefs.h
<<\_ACEOF
1737 DEFAULT_DEFAULT_wxUSE_GTK
=1
1739 *-*-gnu* | *-*-k*bsd
*-gnu )
1742 if test "x$TMP" = "xalpha"; then
1744 cat >>confdefs.h
<<\_ACEOF
1749 DEFAULT_DEFAULT_wxUSE_GTK
=1
1751 *-*-irix5* | *-*-irix6* )
1754 cat >>confdefs.h
<<\_ACEOF
1758 cat >>confdefs.h
<<\_ACEOF
1762 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1768 cat >>confdefs.h
<<\_ACEOF
1772 cat >>confdefs.h
<<\_ACEOF
1773 #define __SOLARIS__ 1
1776 cat >>confdefs.h
<<\_ACEOF
1780 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1781 NEEDS_D_REENTRANT_FOR_R_FUNCS
=1
1787 cat >>confdefs.h
<<\_ACEOF
1791 cat >>confdefs.h
<<\_ACEOF
1795 cat >>confdefs.h
<<\_ACEOF
1799 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1804 cat >>confdefs.h
<<\_ACEOF
1805 #define __FREEBSD__ 1
1808 cat >>confdefs.h
<<\_ACEOF
1812 DEFAULT_DEFAULT_wxUSE_GTK
=1
1817 cat >>confdefs.h
<<\_ACEOF
1818 #define __OPENBSD__ 1
1821 cat >>confdefs.h
<<\_ACEOF
1825 DEFAULT_DEFAULT_wxUSE_GTK
=1
1830 cat >>confdefs.h
<<\_ACEOF
1831 #define __NETBSD__ 1
1834 cat >>confdefs.h
<<\_ACEOF
1838 DEFAULT_DEFAULT_wxUSE_GTK
=1
1843 cat >>confdefs.h
<<\_ACEOF
1847 cat >>confdefs.h
<<\_ACEOF
1851 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1852 NEEDS_D_REENTRANT_FOR_R_FUNCS
=1
1857 cat >>confdefs.h
<<\_ACEOF
1861 cat >>confdefs.h
<<\_ACEOF
1865 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1870 cat >>confdefs.h
<<\_ACEOF
1874 cat >>confdefs.h
<<\_ACEOF
1878 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1885 cat >>confdefs.h
<<\_ACEOF
1889 cat >>confdefs.h
<<\_ACEOF
1893 cat >>confdefs.h
<<\_ACEOF
1897 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1904 cat >>confdefs.h
<<\_ACEOF
1905 #define __UNIXWARE__ 1
1910 *-*-cygwin* | *-*-mingw32* )
1914 DEFAULT_DEFAULT_wxUSE_MSW
=1
1920 cat >>confdefs.h
<<\_ACEOF
1925 DEFAULT_DEFAULT_wxUSE_MGL
=1
1926 LIBS
="$LIBS -lstdc++"
1929 *-pc-os2_emx | *-pc-os2-emx )
1930 cat >>confdefs.h
<<\_ACEOF
1935 cat >>confdefs.h
<<\_ACEOF
1940 DEFAULT_DEFAULT_wxUSE_PM
=1
1942 LDFLAGS
="$LDFLAGS -Zcrtdll"
1943 ac_executable_extensions
=".exe"
1944 export ac_executable_extensions
1948 for ac_dir
in $PATH; do
1950 if test -z "$ac_TEMP_PATH"; then
1951 ac_TEMP_PATH
="$ac_dir"
1953 ac_TEMP_PATH
="$ac_TEMP_PATH/$ac_dir"
1956 export PATH
="$ac_TEMP_PATH"
1964 cat >>confdefs.h
<<\_ACEOF
1968 cat >>confdefs.h
<<\_ACEOF
1969 #define __DARWIN__ 1
1972 cat >>confdefs.h
<<\_ACEOF
1973 #define __POWERPC__ 1
1976 cat >>confdefs.h
<<\_ACEOF
1977 #define TARGET_CARBON 1
1980 DEFAULT_DEFAULT_wxUSE_MAC
=1
1985 cat >>confdefs.h
<<\_ACEOF
1992 { { echo "$as_me:$LINENO: error: unknown system type ${host}." >&5
1993 echo "$as_me: error: unknown system type ${host}." >&2;}
1994 { (exit 1); exit 1; }; }
2000 wx_arg_cache_file
="configarg.cache"
2001 echo "loading argument cache $wx_arg_cache_file"
2002 rm -f ${wx_arg_cache_file}.tmp
2003 touch ${wx_arg_cache_file}.tmp
2004 touch ${wx_arg_cache_file}
2008 if test $DEBUG_CONFIGURE = 1; then
2009 DEFAULT_wxUSE_UNIVERSAL
=no
2010 DEFAULT_wxUSE_STL
=no
2012 DEFAULT_wxUSE_NANOX
=no
2014 DEFAULT_wxUSE_THREADS
=yes
2016 DEFAULT_wxUSE_SHARED
=yes
2017 DEFAULT_wxUSE_OPTIMISE
=no
2018 DEFAULT_wxUSE_PROFILE
=no
2019 DEFAULT_wxUSE_NO_DEPS
=no
2020 DEFAULT_wxUSE_NO_RTTI
=no
2021 DEFAULT_wxUSE_NO_EXCEPTIONS
=no
2022 DEFAULT_wxUSE_PERMISSIVE
=no
2023 DEFAULT_wxUSE_DEBUG_FLAG
=yes
2024 DEFAULT_wxUSE_DEBUG_INFO
=yes
2025 DEFAULT_wxUSE_DEBUG_GDB
=yes
2026 DEFAULT_wxUSE_MEM_TRACING
=no
2027 DEFAULT_wxUSE_DEBUG_CONTEXT
=no
2028 DEFAULT_wxUSE_DMALLOC
=no
2029 DEFAULT_wxUSE_APPLE_IEEE
=no
2031 DEFAULT_wxUSE_EXCEPTIONS
=no
2032 DEFAULT_wxUSE_LOG
=yes
2033 DEFAULT_wxUSE_LOGWINDOW
=no
2034 DEFAULT_wxUSE_LOGGUI
=no
2035 DEFAULT_wxUSE_LOGDIALOG
=no
2037 DEFAULT_wxUSE_GUI
=yes
2038 DEFAULT_wxUSE_CONTROLS
=no
2040 DEFAULT_wxUSE_REGEX
=no
2041 DEFAULT_wxUSE_XML
=no
2042 DEFAULT_wxUSE_EXPAT
=no
2043 DEFAULT_wxUSE_ZLIB
=no
2044 DEFAULT_wxUSE_LIBPNG
=no
2045 DEFAULT_wxUSE_LIBJPEG
=no
2046 DEFAULT_wxUSE_LIBTIFF
=no
2047 DEFAULT_wxUSE_LIBXPM
=no
2048 DEFAULT_wxUSE_LIBMSPACK
=no
2049 DEFAULT_wxUSE_LIBSDL
=no
2050 DEFAULT_wxUSE_ODBC
=no
2051 DEFAULT_wxUSE_OPENGL
=no
2053 DEFAULT_wxUSE_ON_FATAL_EXCEPTION
=no
2054 DEFAULT_wxUSE_SNGLINST_CHECKER
=no
2055 DEFAULT_wxUSE_STD_IOSTREAM
=no
2056 DEFAULT_wxUSE_CMDLINE_PARSER
=no
2057 DEFAULT_wxUSE_DATETIME
=no
2058 DEFAULT_wxUSE_TIMER
=no
2059 DEFAULT_wxUSE_STOPWATCH
=no
2060 DEFAULT_wxUSE_FILE
=no
2061 DEFAULT_wxUSE_FFILE
=no
2062 DEFAULT_wxUSE_TEXTBUFFER
=no
2063 DEFAULT_wxUSE_TEXTFILE
=no
2064 DEFAULT_wxUSE_SOUND
=no
2065 DEFAULT_wxUSE_INTL
=no
2066 DEFAULT_wxUSE_CONFIG
=no
2067 DEFAULT_wxUSE_FONTMAP
=no
2068 DEFAULT_wxUSE_STREAMS
=no
2069 DEFAULT_wxUSE_SOCKETS
=no
2070 DEFAULT_wxUSE_OLE
=no
2071 DEFAULT_wxUSE_DATAOBJ
=no
2072 DEFAULT_wxUSE_DIALUP_MANAGER
=no
2073 DEFAULT_wxUSE_JOYSTICK
=no
2074 DEFAULT_wxUSE_DYNLIB_CLASS
=no
2075 DEFAULT_wxUSE_DYNAMIC_LOADER
=no
2076 DEFAULT_wxUSE_LONGLONG
=no
2077 DEFAULT_wxUSE_GEOMETRY
=no
2079 DEFAULT_wxUSE_AFM_FOR_POSTSCRIPT
=no
2080 DEFAULT_wxUSE_NORMALIZED_PS_FONTS
=no
2081 DEFAULT_wxUSE_POSTSCRIPT
=no
2083 DEFAULT_wxUSE_CLIPBOARD
=no
2084 DEFAULT_wxUSE_TOOLTIPS
=no
2085 DEFAULT_wxUSE_DRAG_AND_DROP
=no
2086 DEFAULT_wxUSE_DRAGIMAGE
=no
2087 DEFAULT_wxUSE_SPLINES
=no
2089 DEFAULT_wxUSE_MDI_ARCHITECTURE
=no
2090 DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE
=no
2091 DEFAULT_wxUSE_PRINTING_ARCHITECTURE
=no
2093 DEFAULT_wxUSE_RESOURCES
=no
2094 DEFAULT_wxUSE_CONSTRAINTS
=no
2095 DEFAULT_wxUSE_IPC
=no
2096 DEFAULT_wxUSE_HELP
=no
2097 DEFAULT_wxUSE_MS_HTML_HELP
=no
2098 DEFAULT_wxUSE_WXHTML_HELP
=no
2099 DEFAULT_wxUSE_TREELAYOUT
=no
2100 DEFAULT_wxUSE_METAFILE
=no
2101 DEFAULT_wxUSE_MIMETYPE
=no
2102 DEFAULT_wxUSE_SYSTEM_OPTIONS
=no
2103 DEFAULT_wxUSE_PROTOCOL
=no
2104 DEFAULT_wxUSE_PROTOCOL_HTTP
=no
2105 DEFAULT_wxUSE_PROTOCOL_FTP
=no
2106 DEFAULT_wxUSE_PROTOCOL_FILE
=no
2107 DEFAULT_wxUSE_URL
=no
2109 DEFAULT_wxUSE_COMMONDLGS
=no
2110 DEFAULT_wxUSE_CHOICEDLG
=no
2111 DEFAULT_wxUSE_COLOURDLG
=no
2112 DEFAULT_wxUSE_DIRDLG
=no
2113 DEFAULT_wxUSE_FILEDLG
=no
2114 DEFAULT_wxUSE_FINDREPLDLG
=no
2115 DEFAULT_wxUSE_FONTDLG
=no
2116 DEFAULT_wxUSE_MSGDLG
=no
2117 DEFAULT_wxUSE_NUMBERDLG
=no
2118 DEFAULT_wxUSE_TEXTDLG
=no
2119 DEFAULT_wxUSE_SPLASH
=no
2120 DEFAULT_wxUSE_STARTUP_TIPS
=no
2121 DEFAULT_wxUSE_PROGRESSDLG
=no
2122 DEFAULT_wxUSE_WIZARDDLG
=no
2124 DEFAULT_wxUSE_MENUS
=no
2125 DEFAULT_wxUSE_MINIFRAME
=no
2126 DEFAULT_wxUSE_HTML
=no
2127 DEFAULT_wxUSE_FILESYSTEM
=no
2128 DEFAULT_wxUSE_FS_INET
=no
2129 DEFAULT_wxUSE_FS_ZIP
=no
2130 DEFAULT_wxUSE_BUSYINFO
=no
2131 DEFAULT_wxUSE_ZIPSTREAM
=no
2132 DEFAULT_wxUSE_GZSTREAM
=no
2133 DEFAULT_wxUSE_VALIDATORS
=no
2135 DEFAULT_wxUSE_ACCEL
=no
2136 DEFAULT_wxUSE_BUTTON
=no
2137 DEFAULT_wxUSE_BMPBUTTON
=no
2138 DEFAULT_wxUSE_CALCTRL
=no
2139 DEFAULT_wxUSE_CARET
=no
2140 DEFAULT_wxUSE_CHECKBOX
=no
2141 DEFAULT_wxUSE_CHECKLST
=no
2142 DEFAULT_wxUSE_CHOICE
=no
2143 DEFAULT_wxUSE_COMBOBOX
=no
2144 DEFAULT_wxUSE_DISPLAY
=no
2145 DEFAULT_wxUSE_GAUGE
=no
2146 DEFAULT_wxUSE_GRID
=no
2147 DEFAULT_wxUSE_IMAGLIST
=no
2148 DEFAULT_wxUSE_LISTBOOK
=no
2149 DEFAULT_wxUSE_LISTBOX
=no
2150 DEFAULT_wxUSE_LISTCTRL
=no
2151 DEFAULT_wxUSE_NOTEBOOK
=no
2152 DEFAULT_wxUSE_RADIOBOX
=no
2153 DEFAULT_wxUSE_RADIOBTN
=no
2154 DEFAULT_wxUSE_SASH
=no
2155 DEFAULT_wxUSE_SCROLLBAR
=no
2156 DEFAULT_wxUSE_SLIDER
=no
2157 DEFAULT_wxUSE_SPINBTN
=no
2158 DEFAULT_wxUSE_SPINCTRL
=no
2159 DEFAULT_wxUSE_SPLITTER
=no
2160 DEFAULT_wxUSE_STATBMP
=no
2161 DEFAULT_wxUSE_STATBOX
=no
2162 DEFAULT_wxUSE_STATLINE
=no
2163 DEFAULT_wxUSE_STATTEXT
=no
2164 DEFAULT_wxUSE_STATUSBAR
=yes
2165 DEFAULT_wxUSE_TABDIALOG
=no
2166 DEFAULT_wxUSE_TEXTCTRL
=no
2167 DEFAULT_wxUSE_TOGGLEBTN
=no
2168 DEFAULT_wxUSE_TOOLBAR
=no
2169 DEFAULT_wxUSE_TOOLBAR_NATIVE
=no
2170 DEFAULT_wxUSE_TOOLBAR_SIMPLE
=no
2171 DEFAULT_wxUSE_TREECTRL
=no
2172 DEFAULT_wxUSE_POPUPWIN
=no
2173 DEFAULT_wxUSE_TIPWINDOW
=no
2175 DEFAULT_wxUSE_UNICODE
=no
2176 DEFAULT_wxUSE_UNICODE_MSLU
=no
2177 DEFAULT_wxUSE_WCSRTOMBS
=no
2179 DEFAULT_wxUSE_PALETTE
=no
2180 DEFAULT_wxUSE_IMAGE
=no
2181 DEFAULT_wxUSE_GIF
=no
2182 DEFAULT_wxUSE_PCX
=no
2183 DEFAULT_wxUSE_PNM
=no
2184 DEFAULT_wxUSE_IFF
=no
2185 DEFAULT_wxUSE_XPM
=no
2186 DEFAULT_wxUSE_ICO_CUR
=no
2187 DEFAULT_wxUSE_ACCESSIBILITY
=no
2189 DEFAULT_wxUSE_MONOLITHIC
=no
2190 DEFAULT_wxUSE_PLUGINS
=no
2191 DEFAULT_wxUSE_OFFICIAL_BUILD
=no
2193 DEFAULT_wxUSE_UNIVERSAL
=no
2194 DEFAULT_wxUSE_STL
=no
2196 DEFAULT_wxUSE_NANOX
=no
2198 DEFAULT_wxUSE_THREADS
=yes
2200 DEFAULT_wxUSE_SHARED
=yes
2201 DEFAULT_wxUSE_OPTIMISE
=yes
2202 DEFAULT_wxUSE_PROFILE
=no
2203 DEFAULT_wxUSE_NO_DEPS
=no
2204 DEFAULT_wxUSE_NO_RTTI
=no
2205 DEFAULT_wxUSE_NO_EXCEPTIONS
=no
2206 DEFAULT_wxUSE_PERMISSIVE
=no
2207 DEFAULT_wxUSE_DEBUG_FLAG
=no
2208 DEFAULT_wxUSE_DEBUG_INFO
=no
2209 DEFAULT_wxUSE_DEBUG_GDB
=no
2210 DEFAULT_wxUSE_MEM_TRACING
=no
2211 DEFAULT_wxUSE_DEBUG_CONTEXT
=no
2212 DEFAULT_wxUSE_DMALLOC
=no
2213 DEFAULT_wxUSE_APPLE_IEEE
=yes
2215 DEFAULT_wxUSE_EXCEPTIONS
=yes
2216 DEFAULT_wxUSE_LOG
=yes
2217 DEFAULT_wxUSE_LOGWINDOW
=yes
2218 DEFAULT_wxUSE_LOGGUI
=yes
2219 DEFAULT_wxUSE_LOGDIALOG
=yes
2221 DEFAULT_wxUSE_GUI
=yes
2223 DEFAULT_wxUSE_REGEX
=yes
2224 DEFAULT_wxUSE_XML
=yes
2225 DEFAULT_wxUSE_EXPAT
=yes
2226 DEFAULT_wxUSE_ZLIB
=yes
2227 DEFAULT_wxUSE_LIBPNG
=yes
2228 DEFAULT_wxUSE_LIBJPEG
=yes
2229 DEFAULT_wxUSE_LIBTIFF
=yes
2230 DEFAULT_wxUSE_LIBXPM
=yes
2231 DEFAULT_wxUSE_LIBMSPACK
=yes
2232 DEFAULT_wxUSE_LIBSDL
=no
2233 DEFAULT_wxUSE_ODBC
=no
2234 DEFAULT_wxUSE_OPENGL
=no
2236 DEFAULT_wxUSE_ON_FATAL_EXCEPTION
=yes
2237 DEFAULT_wxUSE_SNGLINST_CHECKER
=yes
2238 DEFAULT_wxUSE_STD_IOSTREAM
=no
2239 DEFAULT_wxUSE_CMDLINE_PARSER
=yes
2240 DEFAULT_wxUSE_DATETIME
=yes
2241 DEFAULT_wxUSE_TIMER
=yes
2242 DEFAULT_wxUSE_STOPWATCH
=yes
2243 DEFAULT_wxUSE_FILE
=yes
2244 DEFAULT_wxUSE_FFILE
=yes
2245 DEFAULT_wxUSE_TEXTBUFFER
=yes
2246 DEFAULT_wxUSE_TEXTFILE
=yes
2247 DEFAULT_wxUSE_SOUND
=yes
2248 DEFAULT_wxUSE_INTL
=yes
2249 DEFAULT_wxUSE_CONFIG
=yes
2250 DEFAULT_wxUSE_FONTMAP
=yes
2251 DEFAULT_wxUSE_STREAMS
=yes
2252 DEFAULT_wxUSE_SOCKETS
=yes
2253 DEFAULT_wxUSE_OLE
=yes
2254 DEFAULT_wxUSE_DATAOBJ
=yes
2255 DEFAULT_wxUSE_DIALUP_MANAGER
=yes
2256 DEFAULT_wxUSE_JOYSTICK
=yes
2257 DEFAULT_wxUSE_DYNLIB_CLASS
=yes
2258 DEFAULT_wxUSE_DYNAMIC_LOADER
=yes
2259 DEFAULT_wxUSE_LONGLONG
=yes
2260 DEFAULT_wxUSE_GEOMETRY
=yes
2262 DEFAULT_wxUSE_AFM_FOR_POSTSCRIPT
=yes
2263 DEFAULT_wxUSE_NORMALIZED_PS_FONTS
=yes
2264 DEFAULT_wxUSE_POSTSCRIPT
=yes
2266 DEFAULT_wxUSE_CLIPBOARD
=yes
2267 DEFAULT_wxUSE_TOOLTIPS
=yes
2268 DEFAULT_wxUSE_DRAG_AND_DROP
=yes
2269 DEFAULT_wxUSE_DRAGIMAGE
=yes
2270 DEFAULT_wxUSE_SPLINES
=yes
2272 DEFAULT_wxUSE_MDI_ARCHITECTURE
=yes
2273 DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE
=yes
2274 DEFAULT_wxUSE_PRINTING_ARCHITECTURE
=yes
2276 DEFAULT_wxUSE_RESOURCES
=no
2277 DEFAULT_wxUSE_CONSTRAINTS
=yes
2278 DEFAULT_wxUSE_IPC
=yes
2279 DEFAULT_wxUSE_HELP
=yes
2280 DEFAULT_wxUSE_MS_HTML_HELP
=yes
2281 DEFAULT_wxUSE_WXHTML_HELP
=yes
2282 DEFAULT_wxUSE_TREELAYOUT
=yes
2283 DEFAULT_wxUSE_METAFILE
=yes
2284 DEFAULT_wxUSE_MIMETYPE
=yes
2285 DEFAULT_wxUSE_SYSTEM_OPTIONS
=yes
2286 DEFAULT_wxUSE_PROTOCOL
=yes
2287 DEFAULT_wxUSE_PROTOCOL_HTTP
=yes
2288 DEFAULT_wxUSE_PROTOCOL_FTP
=yes
2289 DEFAULT_wxUSE_PROTOCOL_FILE
=yes
2290 DEFAULT_wxUSE_URL
=yes
2292 DEFAULT_wxUSE_COMMONDLGS
=yes
2293 DEFAULT_wxUSE_CHOICEDLG
=yes
2294 DEFAULT_wxUSE_COLOURDLG
=yes
2295 DEFAULT_wxUSE_DIRDLG
=yes
2296 DEFAULT_wxUSE_FILEDLG
=yes
2297 DEFAULT_wxUSE_FINDREPLDLG
=yes
2298 DEFAULT_wxUSE_FONTDLG
=yes
2299 DEFAULT_wxUSE_MSGDLG
=yes
2300 DEFAULT_wxUSE_NUMBERDLG
=yes
2301 DEFAULT_wxUSE_TEXTDLG
=yes
2302 DEFAULT_wxUSE_SPLASH
=yes
2303 DEFAULT_wxUSE_STARTUP_TIPS
=yes
2304 DEFAULT_wxUSE_PROGRESSDLG
=yes
2305 DEFAULT_wxUSE_WIZARDDLG
=yes
2307 DEFAULT_wxUSE_MENUS
=yes
2308 DEFAULT_wxUSE_MINIFRAME
=yes
2309 DEFAULT_wxUSE_HTML
=yes
2310 DEFAULT_wxUSE_FILESYSTEM
=yes
2311 DEFAULT_wxUSE_FS_INET
=yes
2312 DEFAULT_wxUSE_FS_ZIP
=yes
2313 DEFAULT_wxUSE_BUSYINFO
=yes
2314 DEFAULT_wxUSE_ZIPSTREAM
=yes
2315 DEFAULT_wxUSE_GZSTREAM
=yes
2316 DEFAULT_wxUSE_VALIDATORS
=yes
2318 DEFAULT_wxUSE_ACCEL
=yes
2319 DEFAULT_wxUSE_BUTTON
=yes
2320 DEFAULT_wxUSE_BMPBUTTON
=yes
2321 DEFAULT_wxUSE_CALCTRL
=yes
2322 DEFAULT_wxUSE_CARET
=yes
2323 DEFAULT_wxUSE_CHECKBOX
=yes
2324 DEFAULT_wxUSE_CHECKLST
=yes
2325 DEFAULT_wxUSE_CHOICE
=yes
2326 DEFAULT_wxUSE_COMBOBOX
=yes
2327 DEFAULT_wxUSE_DISPLAY
=yes
2328 DEFAULT_wxUSE_GAUGE
=yes
2329 DEFAULT_wxUSE_GRID
=yes
2330 DEFAULT_wxUSE_IMAGLIST
=yes
2331 DEFAULT_wxUSE_LISTBOOK
=yes
2332 DEFAULT_wxUSE_LISTBOX
=yes
2333 DEFAULT_wxUSE_LISTCTRL
=yes
2334 DEFAULT_wxUSE_NOTEBOOK
=yes
2335 DEFAULT_wxUSE_RADIOBOX
=yes
2336 DEFAULT_wxUSE_RADIOBTN
=yes
2337 DEFAULT_wxUSE_SASH
=yes
2338 DEFAULT_wxUSE_SCROLLBAR
=yes
2339 DEFAULT_wxUSE_SLIDER
=yes
2340 DEFAULT_wxUSE_SPINBTN
=yes
2341 DEFAULT_wxUSE_SPINCTRL
=yes
2342 DEFAULT_wxUSE_SPLITTER
=yes
2343 DEFAULT_wxUSE_STATBMP
=yes
2344 DEFAULT_wxUSE_STATBOX
=yes
2345 DEFAULT_wxUSE_STATLINE
=yes
2346 DEFAULT_wxUSE_STATTEXT
=yes
2347 DEFAULT_wxUSE_STATUSBAR
=yes
2348 DEFAULT_wxUSE_TABDIALOG
=no
2349 DEFAULT_wxUSE_TEXTCTRL
=yes
2350 DEFAULT_wxUSE_TOGGLEBTN
=yes
2351 DEFAULT_wxUSE_TOOLBAR
=yes
2352 DEFAULT_wxUSE_TOOLBAR_NATIVE
=yes
2353 DEFAULT_wxUSE_TOOLBAR_SIMPLE
=yes
2354 DEFAULT_wxUSE_TREECTRL
=yes
2355 DEFAULT_wxUSE_POPUPWIN
=yes
2356 DEFAULT_wxUSE_TIPWINDOW
=yes
2358 DEFAULT_wxUSE_UNICODE
=no
2359 DEFAULT_wxUSE_UNICODE_MSLU
=yes
2360 DEFAULT_wxUSE_WCSRTOMBS
=no
2362 DEFAULT_wxUSE_PALETTE
=yes
2363 DEFAULT_wxUSE_IMAGE
=yes
2364 DEFAULT_wxUSE_GIF
=yes
2365 DEFAULT_wxUSE_PCX
=yes
2366 DEFAULT_wxUSE_IFF
=no
2367 DEFAULT_wxUSE_PNM
=yes
2368 DEFAULT_wxUSE_XPM
=yes
2369 DEFAULT_wxUSE_ICO_CUR
=yes
2370 DEFAULT_wxUSE_ACCESSIBILITY
=no
2372 DEFAULT_wxUSE_MONOLITHIC
=no
2373 DEFAULT_wxUSE_PLUGINS
=no
2374 DEFAULT_wxUSE_OFFICIAL_BUILD
=no
2379 for toolkit
in `echo $ALL_TOOLKITS`; do
2380 LINE
=`grep "wxUSE_$toolkit=" ${wx_arg_cache_file}`
2381 if test "x$LINE" != "x" ; then
2382 has_toolkit_in_cache
=1
2383 eval "DEFAULT_$LINE"
2384 eval "CACHE_$toolkit=1"
2391 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gui" >&5
2392 echo $ECHO_N "checking for --${enablestring:-enable}-gui... $ECHO_C" >&6
2394 # Check whether --enable-gui or --disable-gui was given.
2395 if test "${enable_gui+set}" = set; then
2396 enableval
="$enable_gui"
2398 if test "$enableval" = yes; then
2399 ac_cv_use_gui
='wxUSE_GUI=yes'
2401 ac_cv_use_gui
='wxUSE_GUI=no'
2406 LINE
=`grep "wxUSE_GUI" ${wx_arg_cache_file}`
2407 if test "x$LINE" != x
; then
2408 eval "DEFAULT_$LINE"
2413 ac_cv_use_gui
='wxUSE_GUI='$DEFAULT_wxUSE_GUI
2417 eval "$ac_cv_use_gui"
2418 if test "$no_cache" != 1; then
2419 echo $ac_cv_use_gui >> ${wx_arg_cache_file}.tmp
2422 if test "$wxUSE_GUI" = yes; then
2423 echo "$as_me:$LINENO: result: yes" >&5
2424 echo "${ECHO_T}yes" >&6
2426 echo "$as_me:$LINENO: result: no" >&5
2427 echo "${ECHO_T}no" >&6
2432 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-monolithic" >&5
2433 echo $ECHO_N "checking for --${enablestring:-enable}-monolithic... $ECHO_C" >&6
2435 # Check whether --enable-monolithic or --disable-monolithic was given.
2436 if test "${enable_monolithic+set}" = set; then
2437 enableval
="$enable_monolithic"
2439 if test "$enableval" = yes; then
2440 ac_cv_use_monolithic
='wxUSE_MONOLITHIC=yes'
2442 ac_cv_use_monolithic
='wxUSE_MONOLITHIC=no'
2447 LINE
=`grep "wxUSE_MONOLITHIC" ${wx_arg_cache_file}`
2448 if test "x$LINE" != x
; then
2449 eval "DEFAULT_$LINE"
2454 ac_cv_use_monolithic
='wxUSE_MONOLITHIC='$DEFAULT_wxUSE_MONOLITHIC
2458 eval "$ac_cv_use_monolithic"
2459 if test "$no_cache" != 1; then
2460 echo $ac_cv_use_monolithic >> ${wx_arg_cache_file}.tmp
2463 if test "$wxUSE_MONOLITHIC" = yes; then
2464 echo "$as_me:$LINENO: result: yes" >&5
2465 echo "${ECHO_T}yes" >&6
2467 echo "$as_me:$LINENO: result: no" >&5
2468 echo "${ECHO_T}no" >&6
2473 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-plugins" >&5
2474 echo $ECHO_N "checking for --${enablestring:-enable}-plugins... $ECHO_C" >&6
2476 # Check whether --enable-plugins or --disable-plugins was given.
2477 if test "${enable_plugins+set}" = set; then
2478 enableval
="$enable_plugins"
2480 if test "$enableval" = yes; then
2481 ac_cv_use_plugins
='wxUSE_PLUGINS=yes'
2483 ac_cv_use_plugins
='wxUSE_PLUGINS=no'
2488 LINE
=`grep "wxUSE_PLUGINS" ${wx_arg_cache_file}`
2489 if test "x$LINE" != x
; then
2490 eval "DEFAULT_$LINE"
2495 ac_cv_use_plugins
='wxUSE_PLUGINS='$DEFAULT_wxUSE_PLUGINS
2499 eval "$ac_cv_use_plugins"
2500 if test "$no_cache" != 1; then
2501 echo $ac_cv_use_plugins >> ${wx_arg_cache_file}.tmp
2504 if test "$wxUSE_PLUGINS" = yes; then
2505 echo "$as_me:$LINENO: result: yes" >&5
2506 echo "${ECHO_T}yes" >&6
2508 echo "$as_me:$LINENO: result: no" >&5
2509 echo "${ECHO_T}no" >&6
2513 if test "$wxUSE_GUI" = "yes"; then
2517 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-universal" >&5
2518 echo $ECHO_N "checking for --${enablestring:-enable}-universal... $ECHO_C" >&6
2520 # Check whether --enable-universal or --disable-universal was given.
2521 if test "${enable_universal+set}" = set; then
2522 enableval
="$enable_universal"
2524 if test "$enableval" = yes; then
2525 ac_cv_use_universal
='wxUSE_UNIVERSAL=yes'
2527 ac_cv_use_universal
='wxUSE_UNIVERSAL=no'
2532 LINE
=`grep "wxUSE_UNIVERSAL" ${wx_arg_cache_file}`
2533 if test "x$LINE" != x
; then
2534 eval "DEFAULT_$LINE"
2539 ac_cv_use_universal
='wxUSE_UNIVERSAL='$DEFAULT_wxUSE_UNIVERSAL
2543 eval "$ac_cv_use_universal"
2544 if test "$no_cache" != 1; then
2545 echo $ac_cv_use_universal >> ${wx_arg_cache_file}.tmp
2548 if test "$wxUSE_UNIVERSAL" = yes; then
2549 echo "$as_me:$LINENO: result: yes" >&5
2550 echo "${ECHO_T}yes" >&6
2552 echo "$as_me:$LINENO: result: no" >&5
2553 echo "${ECHO_T}no" >&6
2557 # Check whether --with-gtk or --without-gtk was given.
2558 if test "${with_gtk+set}" = set; then
2560 wxUSE_GTK
="$withval" CACHE_GTK
=1 TOOLKIT_GIVEN
=1
2563 # Check whether --with-motif or --without-motif was given.
2564 if test "${with_motif+set}" = set; then
2565 withval
="$with_motif"
2566 wxUSE_MOTIF
="$withval" CACHE_MOTIF
=1 TOOLKIT_GIVEN
=1
2569 # Check whether --with-mac or --without-mac was given.
2570 if test "${with_mac+set}" = set; then
2572 wxUSE_MAC
="$withval" TOOLKIT_GIVEN
=1
2575 # Check whether --with-cocoa or --without-cocoa was given.
2576 if test "${with_cocoa+set}" = set; then
2577 withval
="$with_cocoa"
2578 wxUSE_COCOA
="$withval" TOOLKIT_GIVEN
=1
2581 # Check whether --with-wine or --without-wine was given.
2582 if test "${with_wine+set}" = set; then
2583 withval
="$with_wine"
2584 wxUSE_WINE
="$withval" CACHE_WINE
=1
2587 # Check whether --with-msw or --without-msw was given.
2588 if test "${with_msw+set}" = set; then
2590 wxUSE_MSW
="$withval" CACHE_MSW
=1 TOOLKIT_GIVEN
=1
2593 # Check whether --with-pm or --without-pm was given.
2594 if test "${with_pm+set}" = set; then
2596 wxUSE_PM
="$withval" CACHE_PM
=1 TOOLKIT_GIVEN
=1
2599 # Check whether --with-mgl or --without-mgl was given.
2600 if test "${with_mgl+set}" = set; then
2602 wxUSE_MGL
="$withval" wxUSE_UNIVERSAL
="yes" CACHE_MGL
=1 TOOLKIT_GIVEN
=1
2605 # Check whether --with-microwin or --without-microwin was given.
2606 if test "${with_microwin+set}" = set; then
2607 withval
="$with_microwin"
2608 wxUSE_MICROWIN
="$withval" CACHE_MICROWIN
=1 TOOLKIT_GIVEN
=1
2611 # Check whether --with-x11 or --without-x11 was given.
2612 if test "${with_x11+set}" = set; then
2614 wxUSE_X11
="$withval" wxUSE_UNIVERSAL
="yes" CACHE_X11
=1 TOOLKIT_GIVEN
=1
2618 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-nanox" >&5
2619 echo $ECHO_N "checking for --${enablestring:-enable}-nanox... $ECHO_C" >&6
2621 # Check whether --enable-nanox or --disable-nanox was given.
2622 if test "${enable_nanox+set}" = set; then
2623 enableval
="$enable_nanox"
2625 if test "$enableval" = yes; then
2626 ac_cv_use_nanox
='wxUSE_NANOX=yes'
2628 ac_cv_use_nanox
='wxUSE_NANOX=no'
2633 LINE
=`grep "wxUSE_NANOX" ${wx_arg_cache_file}`
2634 if test "x$LINE" != x
; then
2635 eval "DEFAULT_$LINE"
2640 ac_cv_use_nanox
='wxUSE_NANOX='$DEFAULT_wxUSE_NANOX
2644 eval "$ac_cv_use_nanox"
2645 if test "$no_cache" != 1; then
2646 echo $ac_cv_use_nanox >> ${wx_arg_cache_file}.tmp
2649 if test "$wxUSE_NANOX" = yes; then
2650 echo "$as_me:$LINENO: result: yes" >&5
2651 echo "${ECHO_T}yes" >&6
2653 echo "$as_me:$LINENO: result: no" >&5
2654 echo "${ECHO_T}no" >&6
2660 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gtk2" >&5
2661 echo $ECHO_N "checking for --${enablestring:-enable}-gtk2... $ECHO_C" >&6
2663 # Check whether --enable-gtk2 or --disable-gtk2 was given.
2664 if test "${enable_gtk2+set}" = set; then
2665 enableval
="$enable_gtk2"
2667 if test "$enableval" = yes; then
2668 ac_cv_use_gtk2
='wxUSE_GTK2=yes'
2670 ac_cv_use_gtk2
='wxUSE_GTK2=no'
2675 LINE
=`grep "wxUSE_GTK2" ${wx_arg_cache_file}`
2676 if test "x$LINE" != x
; then
2677 eval "DEFAULT_$LINE"
2682 ac_cv_use_gtk2
='wxUSE_GTK2='$DEFAULT_wxUSE_GTK2
2686 eval "$ac_cv_use_gtk2"
2687 if test "$no_cache" != 1; then
2688 echo $ac_cv_use_gtk2 >> ${wx_arg_cache_file}.tmp
2691 if test "$wxUSE_GTK2" = yes; then
2692 echo "$as_me:$LINENO: result: yes" >&5
2693 echo "${ECHO_T}yes" >&6
2695 echo "$as_me:$LINENO: result: no" >&5
2696 echo "${ECHO_T}no" >&6
2701 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gpe" >&5
2702 echo $ECHO_N "checking for --${enablestring:-enable}-gpe... $ECHO_C" >&6
2704 # Check whether --enable-gpe or --disable-gpe was given.
2705 if test "${enable_gpe+set}" = set; then
2706 enableval
="$enable_gpe"
2708 if test "$enableval" = yes; then
2709 ac_cv_use_gpe
='wxUSE_GPE=yes'
2711 ac_cv_use_gpe
='wxUSE_GPE=no'
2716 LINE
=`grep "wxUSE_GPE" ${wx_arg_cache_file}`
2717 if test "x$LINE" != x
; then
2718 eval "DEFAULT_$LINE"
2723 ac_cv_use_gpe
='wxUSE_GPE='$DEFAULT_wxUSE_GPE
2727 eval "$ac_cv_use_gpe"
2728 if test "$no_cache" != 1; then
2729 echo $ac_cv_use_gpe >> ${wx_arg_cache_file}.tmp
2732 if test "$wxUSE_GPE" = yes; then
2733 echo "$as_me:$LINENO: result: yes" >&5
2734 echo "${ECHO_T}yes" >&6
2736 echo "$as_me:$LINENO: result: no" >&5
2737 echo "${ECHO_T}no" >&6
2742 echo "$as_me:$LINENO: checking for --with-libpng" >&5
2743 echo $ECHO_N "checking for --with-libpng... $ECHO_C" >&6
2746 # Check whether --with-libpng or --without-libpng was given.
2747 if test "${with_libpng+set}" = set; then
2748 withval
="$with_libpng"
2750 if test "$withval" = yes; then
2751 ac_cv_use_libpng
='wxUSE_LIBPNG=yes'
2752 elif test "$withval" = no
; then
2753 ac_cv_use_libpng
='wxUSE_LIBPNG=no'
2754 elif test "$withval" = sys
; then
2755 ac_cv_use_libpng
='wxUSE_LIBPNG=sys'
2756 elif test "$withval" = builtin; then
2757 ac_cv_use_libpng
='wxUSE_LIBPNG=builtin'
2759 { { echo "$as_me:$LINENO: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&5
2760 echo "$as_me: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&2;}
2761 { (exit 1); exit 1; }; }
2766 LINE
=`grep "wxUSE_LIBPNG" ${wx_arg_cache_file}`
2767 if test "x$LINE" != x
; then
2768 eval "DEFAULT_$LINE"
2773 ac_cv_use_libpng
='wxUSE_LIBPNG='$DEFAULT_wxUSE_LIBPNG
2777 eval "$ac_cv_use_libpng"
2778 if test "$no_cache" != 1; then
2779 echo $ac_cv_use_libpng >> ${wx_arg_cache_file}.tmp
2782 if test "$wxUSE_LIBPNG" = yes; then
2783 echo "$as_me:$LINENO: result: yes" >&5
2784 echo "${ECHO_T}yes" >&6
2785 elif test "$wxUSE_LIBPNG" = no
; then
2786 echo "$as_me:$LINENO: result: no" >&5
2787 echo "${ECHO_T}no" >&6
2788 elif test "$wxUSE_LIBPNG" = sys
; then
2789 echo "$as_me:$LINENO: result: system version" >&5
2790 echo "${ECHO_T}system version" >&6
2791 elif test "$wxUSE_LIBPNG" = builtin; then
2792 echo "$as_me:$LINENO: result: builtin version" >&5
2793 echo "${ECHO_T}builtin version" >&6
2795 { { echo "$as_me:$LINENO: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&5
2796 echo "$as_me: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&2;}
2797 { (exit 1); exit 1; }; }
2801 echo "$as_me:$LINENO: checking for --with-libjpeg" >&5
2802 echo $ECHO_N "checking for --with-libjpeg... $ECHO_C" >&6
2805 # Check whether --with-libjpeg or --without-libjpeg was given.
2806 if test "${with_libjpeg+set}" = set; then
2807 withval
="$with_libjpeg"
2809 if test "$withval" = yes; then
2810 ac_cv_use_libjpeg
='wxUSE_LIBJPEG=yes'
2811 elif test "$withval" = no
; then
2812 ac_cv_use_libjpeg
='wxUSE_LIBJPEG=no'
2813 elif test "$withval" = sys
; then
2814 ac_cv_use_libjpeg
='wxUSE_LIBJPEG=sys'
2815 elif test "$withval" = builtin; then
2816 ac_cv_use_libjpeg
='wxUSE_LIBJPEG=builtin'
2818 { { echo "$as_me:$LINENO: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&5
2819 echo "$as_me: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&2;}
2820 { (exit 1); exit 1; }; }
2825 LINE
=`grep "wxUSE_LIBJPEG" ${wx_arg_cache_file}`
2826 if test "x$LINE" != x
; then
2827 eval "DEFAULT_$LINE"
2832 ac_cv_use_libjpeg
='wxUSE_LIBJPEG='$DEFAULT_wxUSE_LIBJPEG
2836 eval "$ac_cv_use_libjpeg"
2837 if test "$no_cache" != 1; then
2838 echo $ac_cv_use_libjpeg >> ${wx_arg_cache_file}.tmp
2841 if test "$wxUSE_LIBJPEG" = yes; then
2842 echo "$as_me:$LINENO: result: yes" >&5
2843 echo "${ECHO_T}yes" >&6
2844 elif test "$wxUSE_LIBJPEG" = no
; then
2845 echo "$as_me:$LINENO: result: no" >&5
2846 echo "${ECHO_T}no" >&6
2847 elif test "$wxUSE_LIBJPEG" = sys
; then
2848 echo "$as_me:$LINENO: result: system version" >&5
2849 echo "${ECHO_T}system version" >&6
2850 elif test "$wxUSE_LIBJPEG" = builtin; then
2851 echo "$as_me:$LINENO: result: builtin version" >&5
2852 echo "${ECHO_T}builtin version" >&6
2854 { { echo "$as_me:$LINENO: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&5
2855 echo "$as_me: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&2;}
2856 { (exit 1); exit 1; }; }
2860 echo "$as_me:$LINENO: checking for --with-libtiff" >&5
2861 echo $ECHO_N "checking for --with-libtiff... $ECHO_C" >&6
2864 # Check whether --with-libtiff or --without-libtiff was given.
2865 if test "${with_libtiff+set}" = set; then
2866 withval
="$with_libtiff"
2868 if test "$withval" = yes; then
2869 ac_cv_use_libtiff
='wxUSE_LIBTIFF=yes'
2870 elif test "$withval" = no
; then
2871 ac_cv_use_libtiff
='wxUSE_LIBTIFF=no'
2872 elif test "$withval" = sys
; then
2873 ac_cv_use_libtiff
='wxUSE_LIBTIFF=sys'
2874 elif test "$withval" = builtin; then
2875 ac_cv_use_libtiff
='wxUSE_LIBTIFF=builtin'
2877 { { echo "$as_me:$LINENO: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&5
2878 echo "$as_me: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&2;}
2879 { (exit 1); exit 1; }; }
2884 LINE
=`grep "wxUSE_LIBTIFF" ${wx_arg_cache_file}`
2885 if test "x$LINE" != x
; then
2886 eval "DEFAULT_$LINE"
2891 ac_cv_use_libtiff
='wxUSE_LIBTIFF='$DEFAULT_wxUSE_LIBTIFF
2895 eval "$ac_cv_use_libtiff"
2896 if test "$no_cache" != 1; then
2897 echo $ac_cv_use_libtiff >> ${wx_arg_cache_file}.tmp
2900 if test "$wxUSE_LIBTIFF" = yes; then
2901 echo "$as_me:$LINENO: result: yes" >&5
2902 echo "${ECHO_T}yes" >&6
2903 elif test "$wxUSE_LIBTIFF" = no
; then
2904 echo "$as_me:$LINENO: result: no" >&5
2905 echo "${ECHO_T}no" >&6
2906 elif test "$wxUSE_LIBTIFF" = sys
; then
2907 echo "$as_me:$LINENO: result: system version" >&5
2908 echo "${ECHO_T}system version" >&6
2909 elif test "$wxUSE_LIBTIFF" = builtin; then
2910 echo "$as_me:$LINENO: result: builtin version" >&5
2911 echo "${ECHO_T}builtin version" >&6
2913 { { echo "$as_me:$LINENO: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&5
2914 echo "$as_me: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&2;}
2915 { (exit 1); exit 1; }; }
2919 echo "$as_me:$LINENO: checking for --with-libxpm" >&5
2920 echo $ECHO_N "checking for --with-libxpm... $ECHO_C" >&6
2923 # Check whether --with-libxpm or --without-libxpm was given.
2924 if test "${with_libxpm+set}" = set; then
2925 withval
="$with_libxpm"
2927 if test "$withval" = yes; then
2928 ac_cv_use_libxpm
='wxUSE_LIBXPM=yes'
2929 elif test "$withval" = no
; then
2930 ac_cv_use_libxpm
='wxUSE_LIBXPM=no'
2931 elif test "$withval" = sys
; then
2932 ac_cv_use_libxpm
='wxUSE_LIBXPM=sys'
2933 elif test "$withval" = builtin; then
2934 ac_cv_use_libxpm
='wxUSE_LIBXPM=builtin'
2936 { { echo "$as_me:$LINENO: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&5
2937 echo "$as_me: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&2;}
2938 { (exit 1); exit 1; }; }
2943 LINE
=`grep "wxUSE_LIBXPM" ${wx_arg_cache_file}`
2944 if test "x$LINE" != x
; then
2945 eval "DEFAULT_$LINE"
2950 ac_cv_use_libxpm
='wxUSE_LIBXPM='$DEFAULT_wxUSE_LIBXPM
2954 eval "$ac_cv_use_libxpm"
2955 if test "$no_cache" != 1; then
2956 echo $ac_cv_use_libxpm >> ${wx_arg_cache_file}.tmp
2959 if test "$wxUSE_LIBXPM" = yes; then
2960 echo "$as_me:$LINENO: result: yes" >&5
2961 echo "${ECHO_T}yes" >&6
2962 elif test "$wxUSE_LIBXPM" = no
; then
2963 echo "$as_me:$LINENO: result: no" >&5
2964 echo "${ECHO_T}no" >&6
2965 elif test "$wxUSE_LIBXPM" = sys
; then
2966 echo "$as_me:$LINENO: result: system version" >&5
2967 echo "${ECHO_T}system version" >&6
2968 elif test "$wxUSE_LIBXPM" = builtin; then
2969 echo "$as_me:$LINENO: result: builtin version" >&5
2970 echo "${ECHO_T}builtin version" >&6
2972 { { echo "$as_me:$LINENO: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&5
2973 echo "$as_me: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&2;}
2974 { (exit 1); exit 1; }; }
2978 echo "$as_me:$LINENO: checking for --with-libmspack" >&5
2979 echo $ECHO_N "checking for --with-libmspack... $ECHO_C" >&6
2982 # Check whether --with-libmspack or --without-libmspack was given.
2983 if test "${with_libmspack+set}" = set; then
2984 withval
="$with_libmspack"
2986 if test "$withval" = yes; then
2987 ac_cv_use_libmspack
='wxUSE_LIBMSPACK=yes'
2989 ac_cv_use_libmspack
='wxUSE_LIBMSPACK=no'
2994 LINE
=`grep "wxUSE_LIBMSPACK" ${wx_arg_cache_file}`
2995 if test "x$LINE" != x
; then
2996 eval "DEFAULT_$LINE"
3001 ac_cv_use_libmspack
='wxUSE_LIBMSPACK='$DEFAULT_wxUSE_LIBMSPACK
3005 eval "$ac_cv_use_libmspack"
3006 if test "$no_cache" != 1; then
3007 echo $ac_cv_use_libmspack >> ${wx_arg_cache_file}.tmp
3010 if test "$wxUSE_LIBMSPACK" = yes; then
3011 echo "$as_me:$LINENO: result: yes" >&5
3012 echo "${ECHO_T}yes" >&6
3014 echo "$as_me:$LINENO: result: no" >&5
3015 echo "${ECHO_T}no" >&6
3019 echo "$as_me:$LINENO: checking for --with-sdl" >&5
3020 echo $ECHO_N "checking for --with-sdl... $ECHO_C" >&6
3023 # Check whether --with-sdl or --without-sdl was given.
3024 if test "${with_sdl+set}" = set; then
3027 if test "$withval" = yes; then
3028 ac_cv_use_sdl
='wxUSE_LIBSDL=yes'
3030 ac_cv_use_sdl
='wxUSE_LIBSDL=no'
3035 LINE
=`grep "wxUSE_LIBSDL" ${wx_arg_cache_file}`
3036 if test "x$LINE" != x
; then
3037 eval "DEFAULT_$LINE"
3042 ac_cv_use_sdl
='wxUSE_LIBSDL='$DEFAULT_wxUSE_LIBSDL
3046 eval "$ac_cv_use_sdl"
3047 if test "$no_cache" != 1; then
3048 echo $ac_cv_use_sdl >> ${wx_arg_cache_file}.tmp
3051 if test "$wxUSE_LIBSDL" = yes; then
3052 echo "$as_me:$LINENO: result: yes" >&5
3053 echo "${ECHO_T}yes" >&6
3055 echo "$as_me:$LINENO: result: no" >&5
3056 echo "${ECHO_T}no" >&6
3060 echo "$as_me:$LINENO: checking for --with-opengl" >&5
3061 echo $ECHO_N "checking for --with-opengl... $ECHO_C" >&6
3064 # Check whether --with-opengl or --without-opengl was given.
3065 if test "${with_opengl+set}" = set; then
3066 withval
="$with_opengl"
3068 if test "$withval" = yes; then
3069 ac_cv_use_opengl
='wxUSE_OPENGL=yes'
3071 ac_cv_use_opengl
='wxUSE_OPENGL=no'
3076 LINE
=`grep "wxUSE_OPENGL" ${wx_arg_cache_file}`
3077 if test "x$LINE" != x
; then
3078 eval "DEFAULT_$LINE"
3083 ac_cv_use_opengl
='wxUSE_OPENGL='$DEFAULT_wxUSE_OPENGL
3087 eval "$ac_cv_use_opengl"
3088 if test "$no_cache" != 1; then
3089 echo $ac_cv_use_opengl >> ${wx_arg_cache_file}.tmp
3092 if test "$wxUSE_OPENGL" = yes; then
3093 echo "$as_me:$LINENO: result: yes" >&5
3094 echo "${ECHO_T}yes" >&6
3096 echo "$as_me:$LINENO: result: no" >&5
3097 echo "${ECHO_T}no" >&6
3104 echo "$as_me:$LINENO: checking for --with-dmalloc" >&5
3105 echo $ECHO_N "checking for --with-dmalloc... $ECHO_C" >&6
3108 # Check whether --with-dmalloc or --without-dmalloc was given.
3109 if test "${with_dmalloc+set}" = set; then
3110 withval
="$with_dmalloc"
3112 if test "$withval" = yes; then
3113 ac_cv_use_dmalloc
='wxUSE_DMALLOC=yes'
3115 ac_cv_use_dmalloc
='wxUSE_DMALLOC=no'
3120 LINE
=`grep "wxUSE_DMALLOC" ${wx_arg_cache_file}`
3121 if test "x$LINE" != x
; then
3122 eval "DEFAULT_$LINE"
3127 ac_cv_use_dmalloc
='wxUSE_DMALLOC='$DEFAULT_wxUSE_DMALLOC
3131 eval "$ac_cv_use_dmalloc"
3132 if test "$no_cache" != 1; then
3133 echo $ac_cv_use_dmalloc >> ${wx_arg_cache_file}.tmp
3136 if test "$wxUSE_DMALLOC" = yes; then
3137 echo "$as_me:$LINENO: result: yes" >&5
3138 echo "${ECHO_T}yes" >&6
3140 echo "$as_me:$LINENO: result: no" >&5
3141 echo "${ECHO_T}no" >&6
3145 echo "$as_me:$LINENO: checking for --with-regex" >&5
3146 echo $ECHO_N "checking for --with-regex... $ECHO_C" >&6
3149 # Check whether --with-regex or --without-regex was given.
3150 if test "${with_regex+set}" = set; then
3151 withval
="$with_regex"
3153 if test "$withval" = yes; then
3154 ac_cv_use_regex
='wxUSE_REGEX=yes'
3155 elif test "$withval" = no
; then
3156 ac_cv_use_regex
='wxUSE_REGEX=no'
3157 elif test "$withval" = sys
; then
3158 ac_cv_use_regex
='wxUSE_REGEX=sys'
3159 elif test "$withval" = builtin; then
3160 ac_cv_use_regex
='wxUSE_REGEX=builtin'
3162 { { echo "$as_me:$LINENO: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&5
3163 echo "$as_me: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&2;}
3164 { (exit 1); exit 1; }; }
3169 LINE
=`grep "wxUSE_REGEX" ${wx_arg_cache_file}`
3170 if test "x$LINE" != x
; then
3171 eval "DEFAULT_$LINE"
3176 ac_cv_use_regex
='wxUSE_REGEX='$DEFAULT_wxUSE_REGEX
3180 eval "$ac_cv_use_regex"
3181 if test "$no_cache" != 1; then
3182 echo $ac_cv_use_regex >> ${wx_arg_cache_file}.tmp
3185 if test "$wxUSE_REGEX" = yes; then
3186 echo "$as_me:$LINENO: result: yes" >&5
3187 echo "${ECHO_T}yes" >&6
3188 elif test "$wxUSE_REGEX" = no
; then
3189 echo "$as_me:$LINENO: result: no" >&5
3190 echo "${ECHO_T}no" >&6
3191 elif test "$wxUSE_REGEX" = sys
; then
3192 echo "$as_me:$LINENO: result: system version" >&5
3193 echo "${ECHO_T}system version" >&6
3194 elif test "$wxUSE_REGEX" = builtin; then
3195 echo "$as_me:$LINENO: result: builtin version" >&5
3196 echo "${ECHO_T}builtin version" >&6
3198 { { echo "$as_me:$LINENO: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&5
3199 echo "$as_me: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&2;}
3200 { (exit 1); exit 1; }; }
3204 echo "$as_me:$LINENO: checking for --with-zlib" >&5
3205 echo $ECHO_N "checking for --with-zlib... $ECHO_C" >&6
3208 # Check whether --with-zlib or --without-zlib was given.
3209 if test "${with_zlib+set}" = set; then
3210 withval
="$with_zlib"
3212 if test "$withval" = yes; then
3213 ac_cv_use_zlib
='wxUSE_ZLIB=yes'
3214 elif test "$withval" = no
; then
3215 ac_cv_use_zlib
='wxUSE_ZLIB=no'
3216 elif test "$withval" = sys
; then
3217 ac_cv_use_zlib
='wxUSE_ZLIB=sys'
3218 elif test "$withval" = builtin; then
3219 ac_cv_use_zlib
='wxUSE_ZLIB=builtin'
3221 { { echo "$as_me:$LINENO: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&5
3222 echo "$as_me: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&2;}
3223 { (exit 1); exit 1; }; }
3228 LINE
=`grep "wxUSE_ZLIB" ${wx_arg_cache_file}`
3229 if test "x$LINE" != x
; then
3230 eval "DEFAULT_$LINE"
3235 ac_cv_use_zlib
='wxUSE_ZLIB='$DEFAULT_wxUSE_ZLIB
3239 eval "$ac_cv_use_zlib"
3240 if test "$no_cache" != 1; then
3241 echo $ac_cv_use_zlib >> ${wx_arg_cache_file}.tmp
3244 if test "$wxUSE_ZLIB" = yes; then
3245 echo "$as_me:$LINENO: result: yes" >&5
3246 echo "${ECHO_T}yes" >&6
3247 elif test "$wxUSE_ZLIB" = no
; then
3248 echo "$as_me:$LINENO: result: no" >&5
3249 echo "${ECHO_T}no" >&6
3250 elif test "$wxUSE_ZLIB" = sys
; then
3251 echo "$as_me:$LINENO: result: system version" >&5
3252 echo "${ECHO_T}system version" >&6
3253 elif test "$wxUSE_ZLIB" = builtin; then
3254 echo "$as_me:$LINENO: result: builtin version" >&5
3255 echo "${ECHO_T}builtin version" >&6
3257 { { echo "$as_me:$LINENO: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&5
3258 echo "$as_me: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&2;}
3259 { (exit 1); exit 1; }; }
3263 echo "$as_me:$LINENO: checking for --with-odbc" >&5
3264 echo $ECHO_N "checking for --with-odbc... $ECHO_C" >&6
3267 # Check whether --with-odbc or --without-odbc was given.
3268 if test "${with_odbc+set}" = set; then
3269 withval
="$with_odbc"
3271 if test "$withval" = yes; then
3272 ac_cv_use_odbc
='wxUSE_ODBC=yes'
3273 elif test "$withval" = no
; then
3274 ac_cv_use_odbc
='wxUSE_ODBC=no'
3275 elif test "$withval" = sys
; then
3276 ac_cv_use_odbc
='wxUSE_ODBC=sys'
3277 elif test "$withval" = builtin; then
3278 ac_cv_use_odbc
='wxUSE_ODBC=builtin'
3280 { { echo "$as_me:$LINENO: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&5
3281 echo "$as_me: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&2;}
3282 { (exit 1); exit 1; }; }
3287 LINE
=`grep "wxUSE_ODBC" ${wx_arg_cache_file}`
3288 if test "x$LINE" != x
; then
3289 eval "DEFAULT_$LINE"
3294 ac_cv_use_odbc
='wxUSE_ODBC='$DEFAULT_wxUSE_ODBC
3298 eval "$ac_cv_use_odbc"
3299 if test "$no_cache" != 1; then
3300 echo $ac_cv_use_odbc >> ${wx_arg_cache_file}.tmp
3303 if test "$wxUSE_ODBC" = yes; then
3304 echo "$as_me:$LINENO: result: yes" >&5
3305 echo "${ECHO_T}yes" >&6
3306 elif test "$wxUSE_ODBC" = no
; then
3307 echo "$as_me:$LINENO: result: no" >&5
3308 echo "${ECHO_T}no" >&6
3309 elif test "$wxUSE_ODBC" = sys
; then
3310 echo "$as_me:$LINENO: result: system version" >&5
3311 echo "${ECHO_T}system version" >&6
3312 elif test "$wxUSE_ODBC" = builtin; then
3313 echo "$as_me:$LINENO: result: builtin version" >&5
3314 echo "${ECHO_T}builtin version" >&6
3316 { { echo "$as_me:$LINENO: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&5
3317 echo "$as_me: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&2;}
3318 { (exit 1); exit 1; }; }
3322 echo "$as_me:$LINENO: checking for --with-expat" >&5
3323 echo $ECHO_N "checking for --with-expat... $ECHO_C" >&6
3326 # Check whether --with-expat or --without-expat was given.
3327 if test "${with_expat+set}" = set; then
3328 withval
="$with_expat"
3330 if test "$withval" = yes; then
3331 ac_cv_use_expat
='wxUSE_EXPAT=yes'
3332 elif test "$withval" = no
; then
3333 ac_cv_use_expat
='wxUSE_EXPAT=no'
3334 elif test "$withval" = sys
; then
3335 ac_cv_use_expat
='wxUSE_EXPAT=sys'
3336 elif test "$withval" = builtin; then
3337 ac_cv_use_expat
='wxUSE_EXPAT=builtin'
3339 { { echo "$as_me:$LINENO: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&5
3340 echo "$as_me: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&2;}
3341 { (exit 1); exit 1; }; }
3346 LINE
=`grep "wxUSE_EXPAT" ${wx_arg_cache_file}`
3347 if test "x$LINE" != x
; then
3348 eval "DEFAULT_$LINE"
3353 ac_cv_use_expat
='wxUSE_EXPAT='$DEFAULT_wxUSE_EXPAT
3357 eval "$ac_cv_use_expat"
3358 if test "$no_cache" != 1; then
3359 echo $ac_cv_use_expat >> ${wx_arg_cache_file}.tmp
3362 if test "$wxUSE_EXPAT" = yes; then
3363 echo "$as_me:$LINENO: result: yes" >&5
3364 echo "${ECHO_T}yes" >&6
3365 elif test "$wxUSE_EXPAT" = no
; then
3366 echo "$as_me:$LINENO: result: no" >&5
3367 echo "${ECHO_T}no" >&6
3368 elif test "$wxUSE_EXPAT" = sys
; then
3369 echo "$as_me:$LINENO: result: system version" >&5
3370 echo "${ECHO_T}system version" >&6
3371 elif test "$wxUSE_EXPAT" = builtin; then
3372 echo "$as_me:$LINENO: result: builtin version" >&5
3373 echo "${ECHO_T}builtin version" >&6
3375 { { echo "$as_me:$LINENO: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&5
3376 echo "$as_me: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&2;}
3377 { (exit 1); exit 1; }; }
3384 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-shared" >&5
3385 echo $ECHO_N "checking for --${enablestring:-enable}-shared... $ECHO_C" >&6
3387 # Check whether --enable-shared or --disable-shared was given.
3388 if test "${enable_shared+set}" = set; then
3389 enableval
="$enable_shared"
3391 if test "$enableval" = yes; then
3392 ac_cv_use_shared
='wxUSE_SHARED=yes'
3394 ac_cv_use_shared
='wxUSE_SHARED=no'
3399 LINE
=`grep "wxUSE_SHARED" ${wx_arg_cache_file}`
3400 if test "x$LINE" != x
; then
3401 eval "DEFAULT_$LINE"
3406 ac_cv_use_shared
='wxUSE_SHARED='$DEFAULT_wxUSE_SHARED
3410 eval "$ac_cv_use_shared"
3411 if test "$no_cache" != 1; then
3412 echo $ac_cv_use_shared >> ${wx_arg_cache_file}.tmp
3415 if test "$wxUSE_SHARED" = yes; then
3416 echo "$as_me:$LINENO: result: yes" >&5
3417 echo "${ECHO_T}yes" >&6
3419 echo "$as_me:$LINENO: result: no" >&5
3420 echo "${ECHO_T}no" >&6
3425 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-optimise" >&5
3426 echo $ECHO_N "checking for --${enablestring:-enable}-optimise... $ECHO_C" >&6
3428 # Check whether --enable-optimise or --disable-optimise was given.
3429 if test "${enable_optimise+set}" = set; then
3430 enableval
="$enable_optimise"
3432 if test "$enableval" = yes; then
3433 ac_cv_use_optimise
='wxUSE_OPTIMISE=yes'
3435 ac_cv_use_optimise
='wxUSE_OPTIMISE=no'
3440 LINE
=`grep "wxUSE_OPTIMISE" ${wx_arg_cache_file}`
3441 if test "x$LINE" != x
; then
3442 eval "DEFAULT_$LINE"
3447 ac_cv_use_optimise
='wxUSE_OPTIMISE='$DEFAULT_wxUSE_OPTIMISE
3451 eval "$ac_cv_use_optimise"
3452 if test "$no_cache" != 1; then
3453 echo $ac_cv_use_optimise >> ${wx_arg_cache_file}.tmp
3456 if test "$wxUSE_OPTIMISE" = yes; then
3457 echo "$as_me:$LINENO: result: yes" >&5
3458 echo "${ECHO_T}yes" >&6
3460 echo "$as_me:$LINENO: result: no" >&5
3461 echo "${ECHO_T}no" >&6
3466 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug" >&5
3467 echo $ECHO_N "checking for --${enablestring:-enable}-debug... $ECHO_C" >&6
3469 # Check whether --enable-debug or --disable-debug was given.
3470 if test "${enable_debug+set}" = set; then
3471 enableval
="$enable_debug"
3473 if test "$enableval" = yes; then
3474 ac_cv_use_debug
='wxUSE_DEBUG=yes'
3476 ac_cv_use_debug
='wxUSE_DEBUG=no'
3481 LINE
=`grep "wxUSE_DEBUG" ${wx_arg_cache_file}`
3482 if test "x$LINE" != x
; then
3483 eval "DEFAULT_$LINE"
3488 ac_cv_use_debug
='wxUSE_DEBUG='$DEFAULT_wxUSE_DEBUG
3492 eval "$ac_cv_use_debug"
3493 if test "$no_cache" != 1; then
3494 echo $ac_cv_use_debug >> ${wx_arg_cache_file}.tmp
3497 if test "$wxUSE_DEBUG" = yes; then
3498 echo "$as_me:$LINENO: result: yes" >&5
3499 echo "${ECHO_T}yes" >&6
3501 echo "$as_me:$LINENO: result: no" >&5
3502 echo "${ECHO_T}no" >&6
3507 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stl" >&5
3508 echo $ECHO_N "checking for --${enablestring:-enable}-stl... $ECHO_C" >&6
3510 # Check whether --enable-stl or --disable-stl was given.
3511 if test "${enable_stl+set}" = set; then
3512 enableval
="$enable_stl"
3514 if test "$enableval" = yes; then
3515 ac_cv_use_stl
='wxUSE_STL=yes'
3517 ac_cv_use_stl
='wxUSE_STL=no'
3522 LINE
=`grep "wxUSE_STL" ${wx_arg_cache_file}`
3523 if test "x$LINE" != x
; then
3524 eval "DEFAULT_$LINE"
3529 ac_cv_use_stl
='wxUSE_STL='$DEFAULT_wxUSE_STL
3533 eval "$ac_cv_use_stl"
3534 if test "$no_cache" != 1; then
3535 echo $ac_cv_use_stl >> ${wx_arg_cache_file}.tmp
3538 if test "$wxUSE_STL" = yes; then
3539 echo "$as_me:$LINENO: result: yes" >&5
3540 echo "${ECHO_T}yes" >&6
3542 echo "$as_me:$LINENO: result: no" >&5
3543 echo "${ECHO_T}no" >&6
3546 if test "$USE_OS2" = "1"; then
3549 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-omf" >&5
3550 echo $ECHO_N "checking for --${enablestring:-enable}-omf... $ECHO_C" >&6
3552 # Check whether --enable-omf or --disable-omf was given.
3553 if test "${enable_omf+set}" = set; then
3554 enableval
="$enable_omf"
3556 if test "$enableval" = yes; then
3557 ac_cv_use_omf
='wxUSE_OMF=yes'
3559 ac_cv_use_omf
='wxUSE_OMF=no'
3564 LINE
=`grep "wxUSE_OMF" ${wx_arg_cache_file}`
3565 if test "x$LINE" != x
; then
3566 eval "DEFAULT_$LINE"
3571 ac_cv_use_omf
='wxUSE_OMF='$DEFAULT_wxUSE_OMF
3575 eval "$ac_cv_use_omf"
3576 if test "$no_cache" != 1; then
3577 echo $ac_cv_use_omf >> ${wx_arg_cache_file}.tmp
3580 if test "$wxUSE_OMF" = yes; then
3581 echo "$as_me:$LINENO: result: yes" >&5
3582 echo "${ECHO_T}yes" >&6
3584 echo "$as_me:$LINENO: result: no" >&5
3585 echo "${ECHO_T}no" >&6
3590 if test "$wxUSE_DEBUG" = "yes"; then
3591 DEFAULT_wxUSE_DEBUG_FLAG
=yes
3592 DEFAULT_wxUSE_DEBUG_INFO
=yes
3594 elif test "$wxUSE_DEBUG" = "no"; then
3595 DEFAULT_wxUSE_DEBUG_FLAG
=no
3596 DEFAULT_wxUSE_DEBUG_INFO
=no
3602 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_flag" >&5
3603 echo $ECHO_N "checking for --${enablestring:-enable}-debug_flag... $ECHO_C" >&6
3605 # Check whether --enable-debug_flag or --disable-debug_flag was given.
3606 if test "${enable_debug_flag+set}" = set; then
3607 enableval
="$enable_debug_flag"
3609 if test "$enableval" = yes; then
3610 ac_cv_use_debug_flag
='wxUSE_DEBUG_FLAG=yes'
3612 ac_cv_use_debug_flag
='wxUSE_DEBUG_FLAG=no'
3617 LINE
=`grep "wxUSE_DEBUG_FLAG" ${wx_arg_cache_file}`
3618 if test "x$LINE" != x
; then
3619 eval "DEFAULT_$LINE"
3624 ac_cv_use_debug_flag
='wxUSE_DEBUG_FLAG='$DEFAULT_wxUSE_DEBUG_FLAG
3628 eval "$ac_cv_use_debug_flag"
3629 if test "$no_cache" != 1; then
3630 echo $ac_cv_use_debug_flag >> ${wx_arg_cache_file}.tmp
3633 if test "$wxUSE_DEBUG_FLAG" = yes; then
3634 echo "$as_me:$LINENO: result: yes" >&5
3635 echo "${ECHO_T}yes" >&6
3637 echo "$as_me:$LINENO: result: no" >&5
3638 echo "${ECHO_T}no" >&6
3643 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_info" >&5
3644 echo $ECHO_N "checking for --${enablestring:-enable}-debug_info... $ECHO_C" >&6
3646 # Check whether --enable-debug_info or --disable-debug_info was given.
3647 if test "${enable_debug_info+set}" = set; then
3648 enableval
="$enable_debug_info"
3650 if test "$enableval" = yes; then
3651 ac_cv_use_debug_info
='wxUSE_DEBUG_INFO=yes'
3653 ac_cv_use_debug_info
='wxUSE_DEBUG_INFO=no'
3658 LINE
=`grep "wxUSE_DEBUG_INFO" ${wx_arg_cache_file}`
3659 if test "x$LINE" != x
; then
3660 eval "DEFAULT_$LINE"
3665 ac_cv_use_debug_info
='wxUSE_DEBUG_INFO='$DEFAULT_wxUSE_DEBUG_INFO
3669 eval "$ac_cv_use_debug_info"
3670 if test "$no_cache" != 1; then
3671 echo $ac_cv_use_debug_info >> ${wx_arg_cache_file}.tmp
3674 if test "$wxUSE_DEBUG_INFO" = yes; then
3675 echo "$as_me:$LINENO: result: yes" >&5
3676 echo "${ECHO_T}yes" >&6
3678 echo "$as_me:$LINENO: result: no" >&5
3679 echo "${ECHO_T}no" >&6
3684 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_gdb" >&5
3685 echo $ECHO_N "checking for --${enablestring:-enable}-debug_gdb... $ECHO_C" >&6
3687 # Check whether --enable-debug_gdb or --disable-debug_gdb was given.
3688 if test "${enable_debug_gdb+set}" = set; then
3689 enableval
="$enable_debug_gdb"
3691 if test "$enableval" = yes; then
3692 ac_cv_use_debug_gdb
='wxUSE_DEBUG_GDB=yes'
3694 ac_cv_use_debug_gdb
='wxUSE_DEBUG_GDB=no'
3699 LINE
=`grep "wxUSE_DEBUG_GDB" ${wx_arg_cache_file}`
3700 if test "x$LINE" != x
; then
3701 eval "DEFAULT_$LINE"
3706 ac_cv_use_debug_gdb
='wxUSE_DEBUG_GDB='$DEFAULT_wxUSE_DEBUG_GDB
3710 eval "$ac_cv_use_debug_gdb"
3711 if test "$no_cache" != 1; then
3712 echo $ac_cv_use_debug_gdb >> ${wx_arg_cache_file}.tmp
3715 if test "$wxUSE_DEBUG_GDB" = yes; then
3716 echo "$as_me:$LINENO: result: yes" >&5
3717 echo "${ECHO_T}yes" >&6
3719 echo "$as_me:$LINENO: result: no" >&5
3720 echo "${ECHO_T}no" >&6
3725 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_cntxt" >&5
3726 echo $ECHO_N "checking for --${enablestring:-enable}-debug_cntxt... $ECHO_C" >&6
3728 # Check whether --enable-debug_cntxt or --disable-debug_cntxt was given.
3729 if test "${enable_debug_cntxt+set}" = set; then
3730 enableval
="$enable_debug_cntxt"
3732 if test "$enableval" = yes; then
3733 ac_cv_use_debug_cntxt
='wxUSE_DEBUG_CONTEXT=yes'
3735 ac_cv_use_debug_cntxt
='wxUSE_DEBUG_CONTEXT=no'
3740 LINE
=`grep "wxUSE_DEBUG_CONTEXT" ${wx_arg_cache_file}`
3741 if test "x$LINE" != x
; then
3742 eval "DEFAULT_$LINE"
3747 ac_cv_use_debug_cntxt
='wxUSE_DEBUG_CONTEXT='$DEFAULT_wxUSE_DEBUG_CONTEXT
3751 eval "$ac_cv_use_debug_cntxt"
3752 if test "$no_cache" != 1; then
3753 echo $ac_cv_use_debug_cntxt >> ${wx_arg_cache_file}.tmp
3756 if test "$wxUSE_DEBUG_CONTEXT" = yes; then
3757 echo "$as_me:$LINENO: result: yes" >&5
3758 echo "${ECHO_T}yes" >&6
3760 echo "$as_me:$LINENO: result: no" >&5
3761 echo "${ECHO_T}no" >&6
3766 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mem_tracing" >&5
3767 echo $ECHO_N "checking for --${enablestring:-enable}-mem_tracing... $ECHO_C" >&6
3769 # Check whether --enable-mem_tracing or --disable-mem_tracing was given.
3770 if test "${enable_mem_tracing+set}" = set; then
3771 enableval
="$enable_mem_tracing"
3773 if test "$enableval" = yes; then
3774 ac_cv_use_mem_tracing
='wxUSE_MEM_TRACING=yes'
3776 ac_cv_use_mem_tracing
='wxUSE_MEM_TRACING=no'
3781 LINE
=`grep "wxUSE_MEM_TRACING" ${wx_arg_cache_file}`
3782 if test "x$LINE" != x
; then
3783 eval "DEFAULT_$LINE"
3788 ac_cv_use_mem_tracing
='wxUSE_MEM_TRACING='$DEFAULT_wxUSE_MEM_TRACING
3792 eval "$ac_cv_use_mem_tracing"
3793 if test "$no_cache" != 1; then
3794 echo $ac_cv_use_mem_tracing >> ${wx_arg_cache_file}.tmp
3797 if test "$wxUSE_MEM_TRACING" = yes; then
3798 echo "$as_me:$LINENO: result: yes" >&5
3799 echo "${ECHO_T}yes" >&6
3801 echo "$as_me:$LINENO: result: no" >&5
3802 echo "${ECHO_T}no" >&6
3807 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-profile" >&5
3808 echo $ECHO_N "checking for --${enablestring:-enable}-profile... $ECHO_C" >&6
3810 # Check whether --enable-profile or --disable-profile was given.
3811 if test "${enable_profile+set}" = set; then
3812 enableval
="$enable_profile"
3814 if test "$enableval" = yes; then
3815 ac_cv_use_profile
='wxUSE_PROFILE=yes'
3817 ac_cv_use_profile
='wxUSE_PROFILE=no'
3822 LINE
=`grep "wxUSE_PROFILE" ${wx_arg_cache_file}`
3823 if test "x$LINE" != x
; then
3824 eval "DEFAULT_$LINE"
3829 ac_cv_use_profile
='wxUSE_PROFILE='$DEFAULT_wxUSE_PROFILE
3833 eval "$ac_cv_use_profile"
3834 if test "$no_cache" != 1; then
3835 echo $ac_cv_use_profile >> ${wx_arg_cache_file}.tmp
3838 if test "$wxUSE_PROFILE" = yes; then
3839 echo "$as_me:$LINENO: result: yes" >&5
3840 echo "${ECHO_T}yes" >&6
3842 echo "$as_me:$LINENO: result: no" >&5
3843 echo "${ECHO_T}no" >&6
3848 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_rtti" >&5
3849 echo $ECHO_N "checking for --${enablestring:-enable}-no_rtti... $ECHO_C" >&6
3851 # Check whether --enable-no_rtti or --disable-no_rtti was given.
3852 if test "${enable_no_rtti+set}" = set; then
3853 enableval
="$enable_no_rtti"
3855 if test "$enableval" = yes; then
3856 ac_cv_use_no_rtti
='wxUSE_NO_RTTI=yes'
3858 ac_cv_use_no_rtti
='wxUSE_NO_RTTI=no'
3863 LINE
=`grep "wxUSE_NO_RTTI" ${wx_arg_cache_file}`
3864 if test "x$LINE" != x
; then
3865 eval "DEFAULT_$LINE"
3870 ac_cv_use_no_rtti
='wxUSE_NO_RTTI='$DEFAULT_wxUSE_NO_RTTI
3874 eval "$ac_cv_use_no_rtti"
3875 if test "$no_cache" != 1; then
3876 echo $ac_cv_use_no_rtti >> ${wx_arg_cache_file}.tmp
3879 if test "$wxUSE_NO_RTTI" = yes; then
3880 echo "$as_me:$LINENO: result: yes" >&5
3881 echo "${ECHO_T}yes" >&6
3883 echo "$as_me:$LINENO: result: no" >&5
3884 echo "${ECHO_T}no" >&6
3889 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_exceptions" >&5
3890 echo $ECHO_N "checking for --${enablestring:-enable}-no_exceptions... $ECHO_C" >&6
3892 # Check whether --enable-no_exceptions or --disable-no_exceptions was given.
3893 if test "${enable_no_exceptions+set}" = set; then
3894 enableval
="$enable_no_exceptions"
3896 if test "$enableval" = yes; then
3897 ac_cv_use_no_exceptions
='wxUSE_NO_EXCEPTIONS=yes'
3899 ac_cv_use_no_exceptions
='wxUSE_NO_EXCEPTIONS=no'
3904 LINE
=`grep "wxUSE_NO_EXCEPTIONS" ${wx_arg_cache_file}`
3905 if test "x$LINE" != x
; then
3906 eval "DEFAULT_$LINE"
3911 ac_cv_use_no_exceptions
='wxUSE_NO_EXCEPTIONS='$DEFAULT_wxUSE_NO_EXCEPTIONS
3915 eval "$ac_cv_use_no_exceptions"
3916 if test "$no_cache" != 1; then
3917 echo $ac_cv_use_no_exceptions >> ${wx_arg_cache_file}.tmp
3920 if test "$wxUSE_NO_EXCEPTIONS" = yes; then
3921 echo "$as_me:$LINENO: result: yes" >&5
3922 echo "${ECHO_T}yes" >&6
3924 echo "$as_me:$LINENO: result: no" >&5
3925 echo "${ECHO_T}no" >&6
3930 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-permissive" >&5
3931 echo $ECHO_N "checking for --${enablestring:-enable}-permissive... $ECHO_C" >&6
3933 # Check whether --enable-permissive or --disable-permissive was given.
3934 if test "${enable_permissive+set}" = set; then
3935 enableval
="$enable_permissive"
3937 if test "$enableval" = yes; then
3938 ac_cv_use_permissive
='wxUSE_PERMISSIVE=yes'
3940 ac_cv_use_permissive
='wxUSE_PERMISSIVE=no'
3945 LINE
=`grep "wxUSE_PERMISSIVE" ${wx_arg_cache_file}`
3946 if test "x$LINE" != x
; then
3947 eval "DEFAULT_$LINE"
3952 ac_cv_use_permissive
='wxUSE_PERMISSIVE='$DEFAULT_wxUSE_PERMISSIVE
3956 eval "$ac_cv_use_permissive"
3957 if test "$no_cache" != 1; then
3958 echo $ac_cv_use_permissive >> ${wx_arg_cache_file}.tmp
3961 if test "$wxUSE_PERMISSIVE" = yes; then
3962 echo "$as_me:$LINENO: result: yes" >&5
3963 echo "${ECHO_T}yes" >&6
3965 echo "$as_me:$LINENO: result: no" >&5
3966 echo "${ECHO_T}no" >&6
3971 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_deps" >&5
3972 echo $ECHO_N "checking for --${enablestring:-enable}-no_deps... $ECHO_C" >&6
3974 # Check whether --enable-no_deps or --disable-no_deps was given.
3975 if test "${enable_no_deps+set}" = set; then
3976 enableval
="$enable_no_deps"
3978 if test "$enableval" = yes; then
3979 ac_cv_use_no_deps
='wxUSE_NO_DEPS=yes'
3981 ac_cv_use_no_deps
='wxUSE_NO_DEPS=no'
3986 LINE
=`grep "wxUSE_NO_DEPS" ${wx_arg_cache_file}`
3987 if test "x$LINE" != x
; then
3988 eval "DEFAULT_$LINE"
3993 ac_cv_use_no_deps
='wxUSE_NO_DEPS='$DEFAULT_wxUSE_NO_DEPS
3997 eval "$ac_cv_use_no_deps"
3998 if test "$no_cache" != 1; then
3999 echo $ac_cv_use_no_deps >> ${wx_arg_cache_file}.tmp
4002 if test "$wxUSE_NO_DEPS" = yes; then
4003 echo "$as_me:$LINENO: result: yes" >&5
4004 echo "${ECHO_T}yes" >&6
4006 echo "$as_me:$LINENO: result: no" >&5
4007 echo "${ECHO_T}no" >&6
4013 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-compat22" >&5
4014 echo $ECHO_N "checking for --${enablestring:-enable}-compat22... $ECHO_C" >&6
4016 # Check whether --enable-compat22 or --disable-compat22 was given.
4017 if test "${enable_compat22+set}" = set; then
4018 enableval
="$enable_compat22"
4020 if test "$enableval" = yes; then
4021 ac_cv_use_compat22
='WXWIN_COMPATIBILITY_2_2=yes'
4023 ac_cv_use_compat22
='WXWIN_COMPATIBILITY_2_2=no'
4028 LINE
=`grep "WXWIN_COMPATIBILITY_2_2" ${wx_arg_cache_file}`
4029 if test "x$LINE" != x
; then
4030 eval "DEFAULT_$LINE"
4035 ac_cv_use_compat22
='WXWIN_COMPATIBILITY_2_2='$DEFAULT_WXWIN_COMPATIBILITY_2_2
4039 eval "$ac_cv_use_compat22"
4040 if test "$no_cache" != 1; then
4041 echo $ac_cv_use_compat22 >> ${wx_arg_cache_file}.tmp
4044 if test "$WXWIN_COMPATIBILITY_2_2" = yes; then
4045 echo "$as_me:$LINENO: result: yes" >&5
4046 echo "${ECHO_T}yes" >&6
4048 echo "$as_me:$LINENO: result: no" >&5
4049 echo "${ECHO_T}no" >&6
4053 enablestring
=disable
4054 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-compat24" >&5
4055 echo $ECHO_N "checking for --${enablestring:-enable}-compat24... $ECHO_C" >&6
4057 # Check whether --enable-compat24 or --disable-compat24 was given.
4058 if test "${enable_compat24+set}" = set; then
4059 enableval
="$enable_compat24"
4061 if test "$enableval" = yes; then
4062 ac_cv_use_compat24
='WXWIN_COMPATIBILITY_2_4=yes'
4064 ac_cv_use_compat24
='WXWIN_COMPATIBILITY_2_4=no'
4069 LINE
=`grep "WXWIN_COMPATIBILITY_2_4" ${wx_arg_cache_file}`
4070 if test "x$LINE" != x
; then
4071 eval "DEFAULT_$LINE"
4076 ac_cv_use_compat24
='WXWIN_COMPATIBILITY_2_4='$DEFAULT_WXWIN_COMPATIBILITY_2_4
4080 eval "$ac_cv_use_compat24"
4081 if test "$no_cache" != 1; then
4082 echo $ac_cv_use_compat24 >> ${wx_arg_cache_file}.tmp
4085 if test "$WXWIN_COMPATIBILITY_2_4" = yes; then
4086 echo "$as_me:$LINENO: result: yes" >&5
4087 echo "${ECHO_T}yes" >&6
4089 echo "$as_me:$LINENO: result: no" >&5
4090 echo "${ECHO_T}no" >&6
4094 # Check whether --enable-rpath or --disable-rpath was given.
4095 if test "${enable_rpath+set}" = set; then
4096 enableval
="$enable_rpath"
4097 wxRPATH_DIR
="$enableval"
4100 if test "$wxRPATH_DIR" != "" -a "$wxRPATH_DIR" != "disable"; then
4101 WXCONFIG_RPATH
="-Wl,-rpath -Wl,$wxRPATH_DIR"
4108 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-intl" >&5
4109 echo $ECHO_N "checking for --${enablestring:-enable}-intl... $ECHO_C" >&6
4111 # Check whether --enable-intl or --disable-intl was given.
4112 if test "${enable_intl+set}" = set; then
4113 enableval
="$enable_intl"
4115 if test "$enableval" = yes; then
4116 ac_cv_use_intl
='wxUSE_INTL=yes'
4118 ac_cv_use_intl
='wxUSE_INTL=no'
4123 LINE
=`grep "wxUSE_INTL" ${wx_arg_cache_file}`
4124 if test "x$LINE" != x
; then
4125 eval "DEFAULT_$LINE"
4130 ac_cv_use_intl
='wxUSE_INTL='$DEFAULT_wxUSE_INTL
4134 eval "$ac_cv_use_intl"
4135 if test "$no_cache" != 1; then
4136 echo $ac_cv_use_intl >> ${wx_arg_cache_file}.tmp
4139 if test "$wxUSE_INTL" = yes; then
4140 echo "$as_me:$LINENO: result: yes" >&5
4141 echo "${ECHO_T}yes" >&6
4143 echo "$as_me:$LINENO: result: no" >&5
4144 echo "${ECHO_T}no" >&6
4149 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-config" >&5
4150 echo $ECHO_N "checking for --${enablestring:-enable}-config... $ECHO_C" >&6
4152 # Check whether --enable-config or --disable-config was given.
4153 if test "${enable_config+set}" = set; then
4154 enableval
="$enable_config"
4156 if test "$enableval" = yes; then
4157 ac_cv_use_config
='wxUSE_CONFIG=yes'
4159 ac_cv_use_config
='wxUSE_CONFIG=no'
4164 LINE
=`grep "wxUSE_CONFIG" ${wx_arg_cache_file}`
4165 if test "x$LINE" != x
; then
4166 eval "DEFAULT_$LINE"
4171 ac_cv_use_config
='wxUSE_CONFIG='$DEFAULT_wxUSE_CONFIG
4175 eval "$ac_cv_use_config"
4176 if test "$no_cache" != 1; then
4177 echo $ac_cv_use_config >> ${wx_arg_cache_file}.tmp
4180 if test "$wxUSE_CONFIG" = yes; then
4181 echo "$as_me:$LINENO: result: yes" >&5
4182 echo "${ECHO_T}yes" >&6
4184 echo "$as_me:$LINENO: result: no" >&5
4185 echo "${ECHO_T}no" >&6
4191 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocols" >&5
4192 echo $ECHO_N "checking for --${enablestring:-enable}-protocols... $ECHO_C" >&6
4194 # Check whether --enable-protocols or --disable-protocols was given.
4195 if test "${enable_protocols+set}" = set; then
4196 enableval
="$enable_protocols"
4198 if test "$enableval" = yes; then
4199 ac_cv_use_protocols
='wxUSE_PROTOCOL=yes'
4201 ac_cv_use_protocols
='wxUSE_PROTOCOL=no'
4206 LINE
=`grep "wxUSE_PROTOCOL" ${wx_arg_cache_file}`
4207 if test "x$LINE" != x
; then
4208 eval "DEFAULT_$LINE"
4213 ac_cv_use_protocols
='wxUSE_PROTOCOL='$DEFAULT_wxUSE_PROTOCOL
4217 eval "$ac_cv_use_protocols"
4218 if test "$no_cache" != 1; then
4219 echo $ac_cv_use_protocols >> ${wx_arg_cache_file}.tmp
4222 if test "$wxUSE_PROTOCOL" = yes; then
4223 echo "$as_me:$LINENO: result: yes" >&5
4224 echo "${ECHO_T}yes" >&6
4226 echo "$as_me:$LINENO: result: no" >&5
4227 echo "${ECHO_T}no" >&6
4232 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ftp" >&5
4233 echo $ECHO_N "checking for --${enablestring:-enable}-ftp... $ECHO_C" >&6
4235 # Check whether --enable-ftp or --disable-ftp was given.
4236 if test "${enable_ftp+set}" = set; then
4237 enableval
="$enable_ftp"
4239 if test "$enableval" = yes; then
4240 ac_cv_use_ftp
='wxUSE_PROTOCOL_FTP=yes'
4242 ac_cv_use_ftp
='wxUSE_PROTOCOL_FTP=no'
4247 LINE
=`grep "wxUSE_PROTOCOL_FTP" ${wx_arg_cache_file}`
4248 if test "x$LINE" != x
; then
4249 eval "DEFAULT_$LINE"
4254 ac_cv_use_ftp
='wxUSE_PROTOCOL_FTP='$DEFAULT_wxUSE_PROTOCOL_FTP
4258 eval "$ac_cv_use_ftp"
4259 if test "$no_cache" != 1; then
4260 echo $ac_cv_use_ftp >> ${wx_arg_cache_file}.tmp
4263 if test "$wxUSE_PROTOCOL_FTP" = yes; then
4264 echo "$as_me:$LINENO: result: yes" >&5
4265 echo "${ECHO_T}yes" >&6
4267 echo "$as_me:$LINENO: result: no" >&5
4268 echo "${ECHO_T}no" >&6
4273 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-http" >&5
4274 echo $ECHO_N "checking for --${enablestring:-enable}-http... $ECHO_C" >&6
4276 # Check whether --enable-http or --disable-http was given.
4277 if test "${enable_http+set}" = set; then
4278 enableval
="$enable_http"
4280 if test "$enableval" = yes; then
4281 ac_cv_use_http
='wxUSE_PROTOCOL_HTTP=yes'
4283 ac_cv_use_http
='wxUSE_PROTOCOL_HTTP=no'
4288 LINE
=`grep "wxUSE_PROTOCOL_HTTP" ${wx_arg_cache_file}`
4289 if test "x$LINE" != x
; then
4290 eval "DEFAULT_$LINE"
4295 ac_cv_use_http
='wxUSE_PROTOCOL_HTTP='$DEFAULT_wxUSE_PROTOCOL_HTTP
4299 eval "$ac_cv_use_http"
4300 if test "$no_cache" != 1; then
4301 echo $ac_cv_use_http >> ${wx_arg_cache_file}.tmp
4304 if test "$wxUSE_PROTOCOL_HTTP" = yes; then
4305 echo "$as_me:$LINENO: result: yes" >&5
4306 echo "${ECHO_T}yes" >&6
4308 echo "$as_me:$LINENO: result: no" >&5
4309 echo "${ECHO_T}no" >&6
4314 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fileproto" >&5
4315 echo $ECHO_N "checking for --${enablestring:-enable}-fileproto... $ECHO_C" >&6
4317 # Check whether --enable-fileproto or --disable-fileproto was given.
4318 if test "${enable_fileproto+set}" = set; then
4319 enableval
="$enable_fileproto"
4321 if test "$enableval" = yes; then
4322 ac_cv_use_fileproto
='wxUSE_PROTOCOL_FILE=yes'
4324 ac_cv_use_fileproto
='wxUSE_PROTOCOL_FILE=no'
4329 LINE
=`grep "wxUSE_PROTOCOL_FILE" ${wx_arg_cache_file}`
4330 if test "x$LINE" != x
; then
4331 eval "DEFAULT_$LINE"
4336 ac_cv_use_fileproto
='wxUSE_PROTOCOL_FILE='$DEFAULT_wxUSE_PROTOCOL_FILE
4340 eval "$ac_cv_use_fileproto"
4341 if test "$no_cache" != 1; then
4342 echo $ac_cv_use_fileproto >> ${wx_arg_cache_file}.tmp
4345 if test "$wxUSE_PROTOCOL_FILE" = yes; then
4346 echo "$as_me:$LINENO: result: yes" >&5
4347 echo "${ECHO_T}yes" >&6
4349 echo "$as_me:$LINENO: result: no" >&5
4350 echo "${ECHO_T}no" >&6
4355 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sockets" >&5
4356 echo $ECHO_N "checking for --${enablestring:-enable}-sockets... $ECHO_C" >&6
4358 # Check whether --enable-sockets or --disable-sockets was given.
4359 if test "${enable_sockets+set}" = set; then
4360 enableval
="$enable_sockets"
4362 if test "$enableval" = yes; then
4363 ac_cv_use_sockets
='wxUSE_SOCKETS=yes'
4365 ac_cv_use_sockets
='wxUSE_SOCKETS=no'
4370 LINE
=`grep "wxUSE_SOCKETS" ${wx_arg_cache_file}`
4371 if test "x$LINE" != x
; then
4372 eval "DEFAULT_$LINE"
4377 ac_cv_use_sockets
='wxUSE_SOCKETS='$DEFAULT_wxUSE_SOCKETS
4381 eval "$ac_cv_use_sockets"
4382 if test "$no_cache" != 1; then
4383 echo $ac_cv_use_sockets >> ${wx_arg_cache_file}.tmp
4386 if test "$wxUSE_SOCKETS" = yes; then
4387 echo "$as_me:$LINENO: result: yes" >&5
4388 echo "${ECHO_T}yes" >&6
4390 echo "$as_me:$LINENO: result: no" >&5
4391 echo "${ECHO_T}no" >&6
4396 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ole" >&5
4397 echo $ECHO_N "checking for --${enablestring:-enable}-ole... $ECHO_C" >&6
4399 # Check whether --enable-ole or --disable-ole was given.
4400 if test "${enable_ole+set}" = set; then
4401 enableval
="$enable_ole"
4403 if test "$enableval" = yes; then
4404 ac_cv_use_ole
='wxUSE_OLE=yes'
4406 ac_cv_use_ole
='wxUSE_OLE=no'
4411 LINE
=`grep "wxUSE_OLE" ${wx_arg_cache_file}`
4412 if test "x$LINE" != x
; then
4413 eval "DEFAULT_$LINE"
4418 ac_cv_use_ole
='wxUSE_OLE='$DEFAULT_wxUSE_OLE
4422 eval "$ac_cv_use_ole"
4423 if test "$no_cache" != 1; then
4424 echo $ac_cv_use_ole >> ${wx_arg_cache_file}.tmp
4427 if test "$wxUSE_OLE" = yes; then
4428 echo "$as_me:$LINENO: result: yes" >&5
4429 echo "${ECHO_T}yes" >&6
4431 echo "$as_me:$LINENO: result: no" >&5
4432 echo "${ECHO_T}no" >&6
4437 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dataobj" >&5
4438 echo $ECHO_N "checking for --${enablestring:-enable}-dataobj... $ECHO_C" >&6
4440 # Check whether --enable-dataobj or --disable-dataobj was given.
4441 if test "${enable_dataobj+set}" = set; then
4442 enableval
="$enable_dataobj"
4444 if test "$enableval" = yes; then
4445 ac_cv_use_dataobj
='wxUSE_DATAOBJ=yes'
4447 ac_cv_use_dataobj
='wxUSE_DATAOBJ=no'
4452 LINE
=`grep "wxUSE_DATAOBJ" ${wx_arg_cache_file}`
4453 if test "x$LINE" != x
; then
4454 eval "DEFAULT_$LINE"
4459 ac_cv_use_dataobj
='wxUSE_DATAOBJ='$DEFAULT_wxUSE_DATAOBJ
4463 eval "$ac_cv_use_dataobj"
4464 if test "$no_cache" != 1; then
4465 echo $ac_cv_use_dataobj >> ${wx_arg_cache_file}.tmp
4468 if test "$wxUSE_DATAOBJ" = yes; then
4469 echo "$as_me:$LINENO: result: yes" >&5
4470 echo "${ECHO_T}yes" >&6
4472 echo "$as_me:$LINENO: result: no" >&5
4473 echo "${ECHO_T}no" >&6
4479 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ipc" >&5
4480 echo $ECHO_N "checking for --${enablestring:-enable}-ipc... $ECHO_C" >&6
4482 # Check whether --enable-ipc or --disable-ipc was given.
4483 if test "${enable_ipc+set}" = set; then
4484 enableval
="$enable_ipc"
4486 if test "$enableval" = yes; then
4487 ac_cv_use_ipc
='wxUSE_IPC=yes'
4489 ac_cv_use_ipc
='wxUSE_IPC=no'
4494 LINE
=`grep "wxUSE_IPC" ${wx_arg_cache_file}`
4495 if test "x$LINE" != x
; then
4496 eval "DEFAULT_$LINE"
4501 ac_cv_use_ipc
='wxUSE_IPC='$DEFAULT_wxUSE_IPC
4505 eval "$ac_cv_use_ipc"
4506 if test "$no_cache" != 1; then
4507 echo $ac_cv_use_ipc >> ${wx_arg_cache_file}.tmp
4510 if test "$wxUSE_IPC" = yes; then
4511 echo "$as_me:$LINENO: result: yes" >&5
4512 echo "${ECHO_T}yes" >&6
4514 echo "$as_me:$LINENO: result: no" >&5
4515 echo "${ECHO_T}no" >&6
4521 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-apple_ieee" >&5
4522 echo $ECHO_N "checking for --${enablestring:-enable}-apple_ieee... $ECHO_C" >&6
4524 # Check whether --enable-apple_ieee or --disable-apple_ieee was given.
4525 if test "${enable_apple_ieee+set}" = set; then
4526 enableval
="$enable_apple_ieee"
4528 if test "$enableval" = yes; then
4529 ac_cv_use_apple_ieee
='wxUSE_APPLE_IEEE=yes'
4531 ac_cv_use_apple_ieee
='wxUSE_APPLE_IEEE=no'
4536 LINE
=`grep "wxUSE_APPLE_IEEE" ${wx_arg_cache_file}`
4537 if test "x$LINE" != x
; then
4538 eval "DEFAULT_$LINE"
4543 ac_cv_use_apple_ieee
='wxUSE_APPLE_IEEE='$DEFAULT_wxUSE_APPLE_IEEE
4547 eval "$ac_cv_use_apple_ieee"
4548 if test "$no_cache" != 1; then
4549 echo $ac_cv_use_apple_ieee >> ${wx_arg_cache_file}.tmp
4552 if test "$wxUSE_APPLE_IEEE" = yes; then
4553 echo "$as_me:$LINENO: result: yes" >&5
4554 echo "${ECHO_T}yes" >&6
4556 echo "$as_me:$LINENO: result: no" >&5
4557 echo "${ECHO_T}no" >&6
4562 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-catch_segvs" >&5
4563 echo $ECHO_N "checking for --${enablestring:-enable}-catch_segvs... $ECHO_C" >&6
4565 # Check whether --enable-catch_segvs or --disable-catch_segvs was given.
4566 if test "${enable_catch_segvs+set}" = set; then
4567 enableval
="$enable_catch_segvs"
4569 if test "$enableval" = yes; then
4570 ac_cv_use_catch_segvs
='wxUSE_ON_FATAL_EXCEPTION=yes'
4572 ac_cv_use_catch_segvs
='wxUSE_ON_FATAL_EXCEPTION=no'
4577 LINE
=`grep "wxUSE_ON_FATAL_EXCEPTION" ${wx_arg_cache_file}`
4578 if test "x$LINE" != x
; then
4579 eval "DEFAULT_$LINE"
4584 ac_cv_use_catch_segvs
='wxUSE_ON_FATAL_EXCEPTION='$DEFAULT_wxUSE_ON_FATAL_EXCEPTION
4588 eval "$ac_cv_use_catch_segvs"
4589 if test "$no_cache" != 1; then
4590 echo $ac_cv_use_catch_segvs >> ${wx_arg_cache_file}.tmp
4593 if test "$wxUSE_ON_FATAL_EXCEPTION" = yes; then
4594 echo "$as_me:$LINENO: result: yes" >&5
4595 echo "${ECHO_T}yes" >&6
4597 echo "$as_me:$LINENO: result: no" >&5
4598 echo "${ECHO_T}no" >&6
4603 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-cmdline" >&5
4604 echo $ECHO_N "checking for --${enablestring:-enable}-cmdline... $ECHO_C" >&6
4606 # Check whether --enable-cmdline or --disable-cmdline was given.
4607 if test "${enable_cmdline+set}" = set; then
4608 enableval
="$enable_cmdline"
4610 if test "$enableval" = yes; then
4611 ac_cv_use_cmdline
='wxUSE_CMDLINE_PARSER=yes'
4613 ac_cv_use_cmdline
='wxUSE_CMDLINE_PARSER=no'
4618 LINE
=`grep "wxUSE_CMDLINE_PARSER" ${wx_arg_cache_file}`
4619 if test "x$LINE" != x
; then
4620 eval "DEFAULT_$LINE"
4625 ac_cv_use_cmdline
='wxUSE_CMDLINE_PARSER='$DEFAULT_wxUSE_CMDLINE_PARSER
4629 eval "$ac_cv_use_cmdline"
4630 if test "$no_cache" != 1; then
4631 echo $ac_cv_use_cmdline >> ${wx_arg_cache_file}.tmp
4634 if test "$wxUSE_CMDLINE_PARSER" = yes; then
4635 echo "$as_me:$LINENO: result: yes" >&5
4636 echo "${ECHO_T}yes" >&6
4638 echo "$as_me:$LINENO: result: no" >&5
4639 echo "${ECHO_T}no" >&6
4644 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-datetime" >&5
4645 echo $ECHO_N "checking for --${enablestring:-enable}-datetime... $ECHO_C" >&6
4647 # Check whether --enable-datetime or --disable-datetime was given.
4648 if test "${enable_datetime+set}" = set; then
4649 enableval
="$enable_datetime"
4651 if test "$enableval" = yes; then
4652 ac_cv_use_datetime
='wxUSE_DATETIME=yes'
4654 ac_cv_use_datetime
='wxUSE_DATETIME=no'
4659 LINE
=`grep "wxUSE_DATETIME" ${wx_arg_cache_file}`
4660 if test "x$LINE" != x
; then
4661 eval "DEFAULT_$LINE"
4666 ac_cv_use_datetime
='wxUSE_DATETIME='$DEFAULT_wxUSE_DATETIME
4670 eval "$ac_cv_use_datetime"
4671 if test "$no_cache" != 1; then
4672 echo $ac_cv_use_datetime >> ${wx_arg_cache_file}.tmp
4675 if test "$wxUSE_DATETIME" = yes; then
4676 echo "$as_me:$LINENO: result: yes" >&5
4677 echo "${ECHO_T}yes" >&6
4679 echo "$as_me:$LINENO: result: no" >&5
4680 echo "${ECHO_T}no" >&6
4685 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dialupman" >&5
4686 echo $ECHO_N "checking for --${enablestring:-enable}-dialupman... $ECHO_C" >&6
4688 # Check whether --enable-dialupman or --disable-dialupman was given.
4689 if test "${enable_dialupman+set}" = set; then
4690 enableval
="$enable_dialupman"
4692 if test "$enableval" = yes; then
4693 ac_cv_use_dialupman
='wxUSE_DIALUP_MANAGER=yes'
4695 ac_cv_use_dialupman
='wxUSE_DIALUP_MANAGER=no'
4700 LINE
=`grep "wxUSE_DIALUP_MANAGER" ${wx_arg_cache_file}`
4701 if test "x$LINE" != x
; then
4702 eval "DEFAULT_$LINE"
4707 ac_cv_use_dialupman
='wxUSE_DIALUP_MANAGER='$DEFAULT_wxUSE_DIALUP_MANAGER
4711 eval "$ac_cv_use_dialupman"
4712 if test "$no_cache" != 1; then
4713 echo $ac_cv_use_dialupman >> ${wx_arg_cache_file}.tmp
4716 if test "$wxUSE_DIALUP_MANAGER" = yes; then
4717 echo "$as_me:$LINENO: result: yes" >&5
4718 echo "${ECHO_T}yes" >&6
4720 echo "$as_me:$LINENO: result: no" >&5
4721 echo "${ECHO_T}no" >&6
4726 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dynlib" >&5
4727 echo $ECHO_N "checking for --${enablestring:-enable}-dynlib... $ECHO_C" >&6
4729 # Check whether --enable-dynlib or --disable-dynlib was given.
4730 if test "${enable_dynlib+set}" = set; then
4731 enableval
="$enable_dynlib"
4733 if test "$enableval" = yes; then
4734 ac_cv_use_dynlib
='wxUSE_DYNLIB_CLASS=yes'
4736 ac_cv_use_dynlib
='wxUSE_DYNLIB_CLASS=no'
4741 LINE
=`grep "wxUSE_DYNLIB_CLASS" ${wx_arg_cache_file}`
4742 if test "x$LINE" != x
; then
4743 eval "DEFAULT_$LINE"
4748 ac_cv_use_dynlib
='wxUSE_DYNLIB_CLASS='$DEFAULT_wxUSE_DYNLIB_CLASS
4752 eval "$ac_cv_use_dynlib"
4753 if test "$no_cache" != 1; then
4754 echo $ac_cv_use_dynlib >> ${wx_arg_cache_file}.tmp
4757 if test "$wxUSE_DYNLIB_CLASS" = yes; then
4758 echo "$as_me:$LINENO: result: yes" >&5
4759 echo "${ECHO_T}yes" >&6
4761 echo "$as_me:$LINENO: result: no" >&5
4762 echo "${ECHO_T}no" >&6
4767 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dynamicloader" >&5
4768 echo $ECHO_N "checking for --${enablestring:-enable}-dynamicloader... $ECHO_C" >&6
4770 # Check whether --enable-dynamicloader or --disable-dynamicloader was given.
4771 if test "${enable_dynamicloader+set}" = set; then
4772 enableval
="$enable_dynamicloader"
4774 if test "$enableval" = yes; then
4775 ac_cv_use_dynamicloader
='wxUSE_DYNAMIC_LOADER=yes'
4777 ac_cv_use_dynamicloader
='wxUSE_DYNAMIC_LOADER=no'
4782 LINE
=`grep "wxUSE_DYNAMIC_LOADER" ${wx_arg_cache_file}`
4783 if test "x$LINE" != x
; then
4784 eval "DEFAULT_$LINE"
4789 ac_cv_use_dynamicloader
='wxUSE_DYNAMIC_LOADER='$DEFAULT_wxUSE_DYNAMIC_LOADER
4793 eval "$ac_cv_use_dynamicloader"
4794 if test "$no_cache" != 1; then
4795 echo $ac_cv_use_dynamicloader >> ${wx_arg_cache_file}.tmp
4798 if test "$wxUSE_DYNAMIC_LOADER" = yes; then
4799 echo "$as_me:$LINENO: result: yes" >&5
4800 echo "${ECHO_T}yes" >&6
4802 echo "$as_me:$LINENO: result: no" >&5
4803 echo "${ECHO_T}no" >&6
4808 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-exceptions" >&5
4809 echo $ECHO_N "checking for --${enablestring:-enable}-exceptions... $ECHO_C" >&6
4811 # Check whether --enable-exceptions or --disable-exceptions was given.
4812 if test "${enable_exceptions+set}" = set; then
4813 enableval
="$enable_exceptions"
4815 if test "$enableval" = yes; then
4816 ac_cv_use_exceptions
='wxUSE_EXCEPTIONS=yes'
4818 ac_cv_use_exceptions
='wxUSE_EXCEPTIONS=no'
4823 LINE
=`grep "wxUSE_EXCEPTIONS" ${wx_arg_cache_file}`
4824 if test "x$LINE" != x
; then
4825 eval "DEFAULT_$LINE"
4830 ac_cv_use_exceptions
='wxUSE_EXCEPTIONS='$DEFAULT_wxUSE_EXCEPTIONS
4834 eval "$ac_cv_use_exceptions"
4835 if test "$no_cache" != 1; then
4836 echo $ac_cv_use_exceptions >> ${wx_arg_cache_file}.tmp
4839 if test "$wxUSE_EXCEPTIONS" = yes; then
4840 echo "$as_me:$LINENO: result: yes" >&5
4841 echo "${ECHO_T}yes" >&6
4843 echo "$as_me:$LINENO: result: no" >&5
4844 echo "${ECHO_T}no" >&6
4849 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ffile" >&5
4850 echo $ECHO_N "checking for --${enablestring:-enable}-ffile... $ECHO_C" >&6
4852 # Check whether --enable-ffile or --disable-ffile was given.
4853 if test "${enable_ffile+set}" = set; then
4854 enableval
="$enable_ffile"
4856 if test "$enableval" = yes; then
4857 ac_cv_use_ffile
='wxUSE_FFILE=yes'
4859 ac_cv_use_ffile
='wxUSE_FFILE=no'
4864 LINE
=`grep "wxUSE_FFILE" ${wx_arg_cache_file}`
4865 if test "x$LINE" != x
; then
4866 eval "DEFAULT_$LINE"
4871 ac_cv_use_ffile
='wxUSE_FFILE='$DEFAULT_wxUSE_FFILE
4875 eval "$ac_cv_use_ffile"
4876 if test "$no_cache" != 1; then
4877 echo $ac_cv_use_ffile >> ${wx_arg_cache_file}.tmp
4880 if test "$wxUSE_FFILE" = yes; then
4881 echo "$as_me:$LINENO: result: yes" >&5
4882 echo "${ECHO_T}yes" >&6
4884 echo "$as_me:$LINENO: result: no" >&5
4885 echo "${ECHO_T}no" >&6
4890 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-file" >&5
4891 echo $ECHO_N "checking for --${enablestring:-enable}-file... $ECHO_C" >&6
4893 # Check whether --enable-file or --disable-file was given.
4894 if test "${enable_file+set}" = set; then
4895 enableval
="$enable_file"
4897 if test "$enableval" = yes; then
4898 ac_cv_use_file
='wxUSE_FILE=yes'
4900 ac_cv_use_file
='wxUSE_FILE=no'
4905 LINE
=`grep "wxUSE_FILE" ${wx_arg_cache_file}`
4906 if test "x$LINE" != x
; then
4907 eval "DEFAULT_$LINE"
4912 ac_cv_use_file
='wxUSE_FILE='$DEFAULT_wxUSE_FILE
4916 eval "$ac_cv_use_file"
4917 if test "$no_cache" != 1; then
4918 echo $ac_cv_use_file >> ${wx_arg_cache_file}.tmp
4921 if test "$wxUSE_FILE" = yes; then
4922 echo "$as_me:$LINENO: result: yes" >&5
4923 echo "${ECHO_T}yes" >&6
4925 echo "$as_me:$LINENO: result: no" >&5
4926 echo "${ECHO_T}no" >&6
4931 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filesystem" >&5
4932 echo $ECHO_N "checking for --${enablestring:-enable}-filesystem... $ECHO_C" >&6
4934 # Check whether --enable-filesystem or --disable-filesystem was given.
4935 if test "${enable_filesystem+set}" = set; then
4936 enableval
="$enable_filesystem"
4938 if test "$enableval" = yes; then
4939 ac_cv_use_filesystem
='wxUSE_FILESYSTEM=yes'
4941 ac_cv_use_filesystem
='wxUSE_FILESYSTEM=no'
4946 LINE
=`grep "wxUSE_FILESYSTEM" ${wx_arg_cache_file}`
4947 if test "x$LINE" != x
; then
4948 eval "DEFAULT_$LINE"
4953 ac_cv_use_filesystem
='wxUSE_FILESYSTEM='$DEFAULT_wxUSE_FILESYSTEM
4957 eval "$ac_cv_use_filesystem"
4958 if test "$no_cache" != 1; then
4959 echo $ac_cv_use_filesystem >> ${wx_arg_cache_file}.tmp
4962 if test "$wxUSE_FILESYSTEM" = yes; then
4963 echo "$as_me:$LINENO: result: yes" >&5
4964 echo "${ECHO_T}yes" >&6
4966 echo "$as_me:$LINENO: result: no" >&5
4967 echo "${ECHO_T}no" >&6
4972 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontmap" >&5
4973 echo $ECHO_N "checking for --${enablestring:-enable}-fontmap... $ECHO_C" >&6
4975 # Check whether --enable-fontmap or --disable-fontmap was given.
4976 if test "${enable_fontmap+set}" = set; then
4977 enableval
="$enable_fontmap"
4979 if test "$enableval" = yes; then
4980 ac_cv_use_fontmap
='wxUSE_FONTMAP=yes'
4982 ac_cv_use_fontmap
='wxUSE_FONTMAP=no'
4987 LINE
=`grep "wxUSE_FONTMAP" ${wx_arg_cache_file}`
4988 if test "x$LINE" != x
; then
4989 eval "DEFAULT_$LINE"
4994 ac_cv_use_fontmap
='wxUSE_FONTMAP='$DEFAULT_wxUSE_FONTMAP
4998 eval "$ac_cv_use_fontmap"
4999 if test "$no_cache" != 1; then
5000 echo $ac_cv_use_fontmap >> ${wx_arg_cache_file}.tmp
5003 if test "$wxUSE_FONTMAP" = yes; then
5004 echo "$as_me:$LINENO: result: yes" >&5
5005 echo "${ECHO_T}yes" >&6
5007 echo "$as_me:$LINENO: result: no" >&5
5008 echo "${ECHO_T}no" >&6
5013 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_inet" >&5
5014 echo $ECHO_N "checking for --${enablestring:-enable}-fs_inet... $ECHO_C" >&6
5016 # Check whether --enable-fs_inet or --disable-fs_inet was given.
5017 if test "${enable_fs_inet+set}" = set; then
5018 enableval
="$enable_fs_inet"
5020 if test "$enableval" = yes; then
5021 ac_cv_use_fs_inet
='wxUSE_FS_INET=yes'
5023 ac_cv_use_fs_inet
='wxUSE_FS_INET=no'
5028 LINE
=`grep "wxUSE_FS_INET" ${wx_arg_cache_file}`
5029 if test "x$LINE" != x
; then
5030 eval "DEFAULT_$LINE"
5035 ac_cv_use_fs_inet
='wxUSE_FS_INET='$DEFAULT_wxUSE_FS_INET
5039 eval "$ac_cv_use_fs_inet"
5040 if test "$no_cache" != 1; then
5041 echo $ac_cv_use_fs_inet >> ${wx_arg_cache_file}.tmp
5044 if test "$wxUSE_FS_INET" = yes; then
5045 echo "$as_me:$LINENO: result: yes" >&5
5046 echo "${ECHO_T}yes" >&6
5048 echo "$as_me:$LINENO: result: no" >&5
5049 echo "${ECHO_T}no" >&6
5054 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_zip" >&5
5055 echo $ECHO_N "checking for --${enablestring:-enable}-fs_zip... $ECHO_C" >&6
5057 # Check whether --enable-fs_zip or --disable-fs_zip was given.
5058 if test "${enable_fs_zip+set}" = set; then
5059 enableval
="$enable_fs_zip"
5061 if test "$enableval" = yes; then
5062 ac_cv_use_fs_zip
='wxUSE_FS_ZIP=yes'
5064 ac_cv_use_fs_zip
='wxUSE_FS_ZIP=no'
5069 LINE
=`grep "wxUSE_FS_ZIP" ${wx_arg_cache_file}`
5070 if test "x$LINE" != x
; then
5071 eval "DEFAULT_$LINE"
5076 ac_cv_use_fs_zip
='wxUSE_FS_ZIP='$DEFAULT_wxUSE_FS_ZIP
5080 eval "$ac_cv_use_fs_zip"
5081 if test "$no_cache" != 1; then
5082 echo $ac_cv_use_fs_zip >> ${wx_arg_cache_file}.tmp
5085 if test "$wxUSE_FS_ZIP" = yes; then
5086 echo "$as_me:$LINENO: result: yes" >&5
5087 echo "${ECHO_T}yes" >&6
5089 echo "$as_me:$LINENO: result: no" >&5
5090 echo "${ECHO_T}no" >&6
5095 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-geometry" >&5
5096 echo $ECHO_N "checking for --${enablestring:-enable}-geometry... $ECHO_C" >&6
5098 # Check whether --enable-geometry or --disable-geometry was given.
5099 if test "${enable_geometry+set}" = set; then
5100 enableval
="$enable_geometry"
5102 if test "$enableval" = yes; then
5103 ac_cv_use_geometry
='wxUSE_GEOMETRY=yes'
5105 ac_cv_use_geometry
='wxUSE_GEOMETRY=no'
5110 LINE
=`grep "wxUSE_GEOMETRY" ${wx_arg_cache_file}`
5111 if test "x$LINE" != x
; then
5112 eval "DEFAULT_$LINE"
5117 ac_cv_use_geometry
='wxUSE_GEOMETRY='$DEFAULT_wxUSE_GEOMETRY
5121 eval "$ac_cv_use_geometry"
5122 if test "$no_cache" != 1; then
5123 echo $ac_cv_use_geometry >> ${wx_arg_cache_file}.tmp
5126 if test "$wxUSE_GEOMETRY" = yes; then
5127 echo "$as_me:$LINENO: result: yes" >&5
5128 echo "${ECHO_T}yes" >&6
5130 echo "$as_me:$LINENO: result: no" >&5
5131 echo "${ECHO_T}no" >&6
5136 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-log" >&5
5137 echo $ECHO_N "checking for --${enablestring:-enable}-log... $ECHO_C" >&6
5139 # Check whether --enable-log or --disable-log was given.
5140 if test "${enable_log+set}" = set; then
5141 enableval
="$enable_log"
5143 if test "$enableval" = yes; then
5144 ac_cv_use_log
='wxUSE_LOG=yes'
5146 ac_cv_use_log
='wxUSE_LOG=no'
5151 LINE
=`grep "wxUSE_LOG" ${wx_arg_cache_file}`
5152 if test "x$LINE" != x
; then
5153 eval "DEFAULT_$LINE"
5158 ac_cv_use_log
='wxUSE_LOG='$DEFAULT_wxUSE_LOG
5162 eval "$ac_cv_use_log"
5163 if test "$no_cache" != 1; then
5164 echo $ac_cv_use_log >> ${wx_arg_cache_file}.tmp
5167 if test "$wxUSE_LOG" = yes; then
5168 echo "$as_me:$LINENO: result: yes" >&5
5169 echo "${ECHO_T}yes" >&6
5171 echo "$as_me:$LINENO: result: no" >&5
5172 echo "${ECHO_T}no" >&6
5177 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-longlong" >&5
5178 echo $ECHO_N "checking for --${enablestring:-enable}-longlong... $ECHO_C" >&6
5180 # Check whether --enable-longlong or --disable-longlong was given.
5181 if test "${enable_longlong+set}" = set; then
5182 enableval
="$enable_longlong"
5184 if test "$enableval" = yes; then
5185 ac_cv_use_longlong
='wxUSE_LONGLONG=yes'
5187 ac_cv_use_longlong
='wxUSE_LONGLONG=no'
5192 LINE
=`grep "wxUSE_LONGLONG" ${wx_arg_cache_file}`
5193 if test "x$LINE" != x
; then
5194 eval "DEFAULT_$LINE"
5199 ac_cv_use_longlong
='wxUSE_LONGLONG='$DEFAULT_wxUSE_LONGLONG
5203 eval "$ac_cv_use_longlong"
5204 if test "$no_cache" != 1; then
5205 echo $ac_cv_use_longlong >> ${wx_arg_cache_file}.tmp
5208 if test "$wxUSE_LONGLONG" = yes; then
5209 echo "$as_me:$LINENO: result: yes" >&5
5210 echo "${ECHO_T}yes" >&6
5212 echo "$as_me:$LINENO: result: no" >&5
5213 echo "${ECHO_T}no" >&6
5218 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mimetype" >&5
5219 echo $ECHO_N "checking for --${enablestring:-enable}-mimetype... $ECHO_C" >&6
5221 # Check whether --enable-mimetype or --disable-mimetype was given.
5222 if test "${enable_mimetype+set}" = set; then
5223 enableval
="$enable_mimetype"
5225 if test "$enableval" = yes; then
5226 ac_cv_use_mimetype
='wxUSE_MIMETYPE=yes'
5228 ac_cv_use_mimetype
='wxUSE_MIMETYPE=no'
5233 LINE
=`grep "wxUSE_MIMETYPE" ${wx_arg_cache_file}`
5234 if test "x$LINE" != x
; then
5235 eval "DEFAULT_$LINE"
5240 ac_cv_use_mimetype
='wxUSE_MIMETYPE='$DEFAULT_wxUSE_MIMETYPE
5244 eval "$ac_cv_use_mimetype"
5245 if test "$no_cache" != 1; then
5246 echo $ac_cv_use_mimetype >> ${wx_arg_cache_file}.tmp
5249 if test "$wxUSE_MIMETYPE" = yes; then
5250 echo "$as_me:$LINENO: result: yes" >&5
5251 echo "${ECHO_T}yes" >&6
5253 echo "$as_me:$LINENO: result: no" >&5
5254 echo "${ECHO_T}no" >&6
5259 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mslu" >&5
5260 echo $ECHO_N "checking for --${enablestring:-enable}-mslu... $ECHO_C" >&6
5262 # Check whether --enable-mslu or --disable-mslu was given.
5263 if test "${enable_mslu+set}" = set; then
5264 enableval
="$enable_mslu"
5266 if test "$enableval" = yes; then
5267 ac_cv_use_mslu
='wxUSE_UNICODE_MSLU=yes'
5269 ac_cv_use_mslu
='wxUSE_UNICODE_MSLU=no'
5274 LINE
=`grep "wxUSE_UNICODE_MSLU" ${wx_arg_cache_file}`
5275 if test "x$LINE" != x
; then
5276 eval "DEFAULT_$LINE"
5281 ac_cv_use_mslu
='wxUSE_UNICODE_MSLU='$DEFAULT_wxUSE_UNICODE_MSLU
5285 eval "$ac_cv_use_mslu"
5286 if test "$no_cache" != 1; then
5287 echo $ac_cv_use_mslu >> ${wx_arg_cache_file}.tmp
5290 if test "$wxUSE_UNICODE_MSLU" = yes; then
5291 echo "$as_me:$LINENO: result: yes" >&5
5292 echo "${ECHO_T}yes" >&6
5294 echo "$as_me:$LINENO: result: no" >&5
5295 echo "${ECHO_T}no" >&6
5300 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-snglinst" >&5
5301 echo $ECHO_N "checking for --${enablestring:-enable}-snglinst... $ECHO_C" >&6
5303 # Check whether --enable-snglinst or --disable-snglinst was given.
5304 if test "${enable_snglinst+set}" = set; then
5305 enableval
="$enable_snglinst"
5307 if test "$enableval" = yes; then
5308 ac_cv_use_snglinst
='wxUSE_SNGLINST_CHECKER=yes'
5310 ac_cv_use_snglinst
='wxUSE_SNGLINST_CHECKER=no'
5315 LINE
=`grep "wxUSE_SNGLINST_CHECKER" ${wx_arg_cache_file}`
5316 if test "x$LINE" != x
; then
5317 eval "DEFAULT_$LINE"
5322 ac_cv_use_snglinst
='wxUSE_SNGLINST_CHECKER='$DEFAULT_wxUSE_SNGLINST_CHECKER
5326 eval "$ac_cv_use_snglinst"
5327 if test "$no_cache" != 1; then
5328 echo $ac_cv_use_snglinst >> ${wx_arg_cache_file}.tmp
5331 if test "$wxUSE_SNGLINST_CHECKER" = yes; then
5332 echo "$as_me:$LINENO: result: yes" >&5
5333 echo "${ECHO_T}yes" >&6
5335 echo "$as_me:$LINENO: result: no" >&5
5336 echo "${ECHO_T}no" >&6
5341 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-streams" >&5
5342 echo $ECHO_N "checking for --${enablestring:-enable}-streams... $ECHO_C" >&6
5344 # Check whether --enable-streams or --disable-streams was given.
5345 if test "${enable_streams+set}" = set; then
5346 enableval
="$enable_streams"
5348 if test "$enableval" = yes; then
5349 ac_cv_use_streams
='wxUSE_STREAMS=yes'
5351 ac_cv_use_streams
='wxUSE_STREAMS=no'
5356 LINE
=`grep "wxUSE_STREAMS" ${wx_arg_cache_file}`
5357 if test "x$LINE" != x
; then
5358 eval "DEFAULT_$LINE"
5363 ac_cv_use_streams
='wxUSE_STREAMS='$DEFAULT_wxUSE_STREAMS
5367 eval "$ac_cv_use_streams"
5368 if test "$no_cache" != 1; then
5369 echo $ac_cv_use_streams >> ${wx_arg_cache_file}.tmp
5372 if test "$wxUSE_STREAMS" = yes; then
5373 echo "$as_me:$LINENO: result: yes" >&5
5374 echo "${ECHO_T}yes" >&6
5376 echo "$as_me:$LINENO: result: no" >&5
5377 echo "${ECHO_T}no" >&6
5382 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-std_iostreams" >&5
5383 echo $ECHO_N "checking for --${enablestring:-enable}-std_iostreams... $ECHO_C" >&6
5385 # Check whether --enable-std_iostreams or --disable-std_iostreams was given.
5386 if test "${enable_std_iostreams+set}" = set; then
5387 enableval
="$enable_std_iostreams"
5389 if test "$enableval" = yes; then
5390 ac_cv_use_std_iostreams
='wxUSE_STD_IOSTREAM=yes'
5392 ac_cv_use_std_iostreams
='wxUSE_STD_IOSTREAM=no'
5397 LINE
=`grep "wxUSE_STD_IOSTREAM" ${wx_arg_cache_file}`
5398 if test "x$LINE" != x
; then
5399 eval "DEFAULT_$LINE"
5404 ac_cv_use_std_iostreams
='wxUSE_STD_IOSTREAM='$DEFAULT_wxUSE_STD_IOSTREAM
5408 eval "$ac_cv_use_std_iostreams"
5409 if test "$no_cache" != 1; then
5410 echo $ac_cv_use_std_iostreams >> ${wx_arg_cache_file}.tmp
5413 if test "$wxUSE_STD_IOSTREAM" = yes; then
5414 echo "$as_me:$LINENO: result: yes" >&5
5415 echo "${ECHO_T}yes" >&6
5417 echo "$as_me:$LINENO: result: no" >&5
5418 echo "${ECHO_T}no" >&6
5423 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stopwatch" >&5
5424 echo $ECHO_N "checking for --${enablestring:-enable}-stopwatch... $ECHO_C" >&6
5426 # Check whether --enable-stopwatch or --disable-stopwatch was given.
5427 if test "${enable_stopwatch+set}" = set; then
5428 enableval
="$enable_stopwatch"
5430 if test "$enableval" = yes; then
5431 ac_cv_use_stopwatch
='wxUSE_STOPWATCH=yes'
5433 ac_cv_use_stopwatch
='wxUSE_STOPWATCH=no'
5438 LINE
=`grep "wxUSE_STOPWATCH" ${wx_arg_cache_file}`
5439 if test "x$LINE" != x
; then
5440 eval "DEFAULT_$LINE"
5445 ac_cv_use_stopwatch
='wxUSE_STOPWATCH='$DEFAULT_wxUSE_STOPWATCH
5449 eval "$ac_cv_use_stopwatch"
5450 if test "$no_cache" != 1; then
5451 echo $ac_cv_use_stopwatch >> ${wx_arg_cache_file}.tmp
5454 if test "$wxUSE_STOPWATCH" = yes; then
5455 echo "$as_me:$LINENO: result: yes" >&5
5456 echo "${ECHO_T}yes" >&6
5458 echo "$as_me:$LINENO: result: no" >&5
5459 echo "${ECHO_T}no" >&6
5464 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-system_options" >&5
5465 echo $ECHO_N "checking for --${enablestring:-enable}-system_options... $ECHO_C" >&6
5467 # Check whether --enable-system_options or --disable-system_options was given.
5468 if test "${enable_system_options+set}" = set; then
5469 enableval
="$enable_system_options"
5471 if test "$enableval" = yes; then
5472 ac_cv_use_system_options
='wxUSE_SYSTEM_OPTIONS=yes'
5474 ac_cv_use_system_options
='wxUSE_SYSTEM_OPTIONS=no'
5479 LINE
=`grep "wxUSE_SYSTEM_OPTIONS" ${wx_arg_cache_file}`
5480 if test "x$LINE" != x
; then
5481 eval "DEFAULT_$LINE"
5486 ac_cv_use_system_options
='wxUSE_SYSTEM_OPTIONS='$DEFAULT_wxUSE_SYSTEM_OPTIONS
5490 eval "$ac_cv_use_system_options"
5491 if test "$no_cache" != 1; then
5492 echo $ac_cv_use_system_options >> ${wx_arg_cache_file}.tmp
5495 if test "$wxUSE_SYSTEM_OPTIONS" = yes; then
5496 echo "$as_me:$LINENO: result: yes" >&5
5497 echo "${ECHO_T}yes" >&6
5499 echo "$as_me:$LINENO: result: no" >&5
5500 echo "${ECHO_T}no" >&6
5505 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textbuf" >&5
5506 echo $ECHO_N "checking for --${enablestring:-enable}-textbuf... $ECHO_C" >&6
5508 # Check whether --enable-textbuf or --disable-textbuf was given.
5509 if test "${enable_textbuf+set}" = set; then
5510 enableval
="$enable_textbuf"
5512 if test "$enableval" = yes; then
5513 ac_cv_use_textbuf
='wxUSE_TEXTBUFFER=yes'
5515 ac_cv_use_textbuf
='wxUSE_TEXTBUFFER=no'
5520 LINE
=`grep "wxUSE_TEXTBUFFER" ${wx_arg_cache_file}`
5521 if test "x$LINE" != x
; then
5522 eval "DEFAULT_$LINE"
5527 ac_cv_use_textbuf
='wxUSE_TEXTBUFFER='$DEFAULT_wxUSE_TEXTBUFFER
5531 eval "$ac_cv_use_textbuf"
5532 if test "$no_cache" != 1; then
5533 echo $ac_cv_use_textbuf >> ${wx_arg_cache_file}.tmp
5536 if test "$wxUSE_TEXTBUFFER" = yes; then
5537 echo "$as_me:$LINENO: result: yes" >&5
5538 echo "${ECHO_T}yes" >&6
5540 echo "$as_me:$LINENO: result: no" >&5
5541 echo "${ECHO_T}no" >&6
5546 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textfile" >&5
5547 echo $ECHO_N "checking for --${enablestring:-enable}-textfile... $ECHO_C" >&6
5549 # Check whether --enable-textfile or --disable-textfile was given.
5550 if test "${enable_textfile+set}" = set; then
5551 enableval
="$enable_textfile"
5553 if test "$enableval" = yes; then
5554 ac_cv_use_textfile
='wxUSE_TEXTFILE=yes'
5556 ac_cv_use_textfile
='wxUSE_TEXTFILE=no'
5561 LINE
=`grep "wxUSE_TEXTFILE" ${wx_arg_cache_file}`
5562 if test "x$LINE" != x
; then
5563 eval "DEFAULT_$LINE"
5568 ac_cv_use_textfile
='wxUSE_TEXTFILE='$DEFAULT_wxUSE_TEXTFILE
5572 eval "$ac_cv_use_textfile"
5573 if test "$no_cache" != 1; then
5574 echo $ac_cv_use_textfile >> ${wx_arg_cache_file}.tmp
5577 if test "$wxUSE_TEXTFILE" = yes; then
5578 echo "$as_me:$LINENO: result: yes" >&5
5579 echo "${ECHO_T}yes" >&6
5581 echo "$as_me:$LINENO: result: no" >&5
5582 echo "${ECHO_T}no" >&6
5587 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-timer" >&5
5588 echo $ECHO_N "checking for --${enablestring:-enable}-timer... $ECHO_C" >&6
5590 # Check whether --enable-timer or --disable-timer was given.
5591 if test "${enable_timer+set}" = set; then
5592 enableval
="$enable_timer"
5594 if test "$enableval" = yes; then
5595 ac_cv_use_timer
='wxUSE_TIMER=yes'
5597 ac_cv_use_timer
='wxUSE_TIMER=no'
5602 LINE
=`grep "wxUSE_TIMER" ${wx_arg_cache_file}`
5603 if test "x$LINE" != x
; then
5604 eval "DEFAULT_$LINE"
5609 ac_cv_use_timer
='wxUSE_TIMER='$DEFAULT_wxUSE_TIMER
5613 eval "$ac_cv_use_timer"
5614 if test "$no_cache" != 1; then
5615 echo $ac_cv_use_timer >> ${wx_arg_cache_file}.tmp
5618 if test "$wxUSE_TIMER" = yes; then
5619 echo "$as_me:$LINENO: result: yes" >&5
5620 echo "${ECHO_T}yes" >&6
5622 echo "$as_me:$LINENO: result: no" >&5
5623 echo "${ECHO_T}no" >&6
5628 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-unicode" >&5
5629 echo $ECHO_N "checking for --${enablestring:-enable}-unicode... $ECHO_C" >&6
5631 # Check whether --enable-unicode or --disable-unicode was given.
5632 if test "${enable_unicode+set}" = set; then
5633 enableval
="$enable_unicode"
5635 if test "$enableval" = yes; then
5636 ac_cv_use_unicode
='wxUSE_UNICODE=yes'
5638 ac_cv_use_unicode
='wxUSE_UNICODE=no'
5643 LINE
=`grep "wxUSE_UNICODE" ${wx_arg_cache_file}`
5644 if test "x$LINE" != x
; then
5645 eval "DEFAULT_$LINE"
5650 ac_cv_use_unicode
='wxUSE_UNICODE='$DEFAULT_wxUSE_UNICODE
5654 eval "$ac_cv_use_unicode"
5655 if test "$no_cache" != 1; then
5656 echo $ac_cv_use_unicode >> ${wx_arg_cache_file}.tmp
5659 if test "$wxUSE_UNICODE" = yes; then
5660 echo "$as_me:$LINENO: result: yes" >&5
5661 echo "${ECHO_T}yes" >&6
5663 echo "$as_me:$LINENO: result: no" >&5
5664 echo "${ECHO_T}no" >&6
5669 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sound" >&5
5670 echo $ECHO_N "checking for --${enablestring:-enable}-sound... $ECHO_C" >&6
5672 # Check whether --enable-sound or --disable-sound was given.
5673 if test "${enable_sound+set}" = set; then
5674 enableval
="$enable_sound"
5676 if test "$enableval" = yes; then
5677 ac_cv_use_sound
='wxUSE_SOUND=yes'
5679 ac_cv_use_sound
='wxUSE_SOUND=no'
5684 LINE
=`grep "wxUSE_SOUND" ${wx_arg_cache_file}`
5685 if test "x$LINE" != x
; then
5686 eval "DEFAULT_$LINE"
5691 ac_cv_use_sound
='wxUSE_SOUND='$DEFAULT_wxUSE_SOUND
5695 eval "$ac_cv_use_sound"
5696 if test "$no_cache" != 1; then
5697 echo $ac_cv_use_sound >> ${wx_arg_cache_file}.tmp
5700 if test "$wxUSE_SOUND" = yes; then
5701 echo "$as_me:$LINENO: result: yes" >&5
5702 echo "${ECHO_T}yes" >&6
5704 echo "$as_me:$LINENO: result: no" >&5
5705 echo "${ECHO_T}no" >&6
5710 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-wxprintfv" >&5
5711 echo $ECHO_N "checking for --${enablestring:-enable}-wxprintfv... $ECHO_C" >&6
5713 # Check whether --enable-wxprintfv or --disable-wxprintfv was given.
5714 if test "${enable_wxprintfv+set}" = set; then
5715 enableval
="$enable_wxprintfv"
5717 if test "$enableval" = yes; then
5718 ac_cv_use_wxprintfv
='wxUSE_EXPERIMENTAL_PRINTF=yes'
5720 ac_cv_use_wxprintfv
='wxUSE_EXPERIMENTAL_PRINTF=no'
5725 LINE
=`grep "wxUSE_EXPERIMENTAL_PRINTF" ${wx_arg_cache_file}`
5726 if test "x$LINE" != x
; then
5727 eval "DEFAULT_$LINE"
5732 ac_cv_use_wxprintfv
='wxUSE_EXPERIMENTAL_PRINTF='$DEFAULT_wxUSE_EXPERIMENTAL_PRINTF
5736 eval "$ac_cv_use_wxprintfv"
5737 if test "$no_cache" != 1; then
5738 echo $ac_cv_use_wxprintfv >> ${wx_arg_cache_file}.tmp
5741 if test "$wxUSE_EXPERIMENTAL_PRINTF" = yes; then
5742 echo "$as_me:$LINENO: result: yes" >&5
5743 echo "${ECHO_T}yes" >&6
5745 echo "$as_me:$LINENO: result: no" >&5
5746 echo "${ECHO_T}no" >&6
5751 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-zipstream" >&5
5752 echo $ECHO_N "checking for --${enablestring:-enable}-zipstream... $ECHO_C" >&6
5754 # Check whether --enable-zipstream or --disable-zipstream was given.
5755 if test "${enable_zipstream+set}" = set; then
5756 enableval
="$enable_zipstream"
5758 if test "$enableval" = yes; then
5759 ac_cv_use_zipstream
='wxUSE_ZIPSTREAM=yes'
5761 ac_cv_use_zipstream
='wxUSE_ZIPSTREAM=no'
5766 LINE
=`grep "wxUSE_ZIPSTREAM" ${wx_arg_cache_file}`
5767 if test "x$LINE" != x
; then
5768 eval "DEFAULT_$LINE"
5773 ac_cv_use_zipstream
='wxUSE_ZIPSTREAM='$DEFAULT_wxUSE_ZIPSTREAM
5777 eval "$ac_cv_use_zipstream"
5778 if test "$no_cache" != 1; then
5779 echo $ac_cv_use_zipstream >> ${wx_arg_cache_file}.tmp
5782 if test "$wxUSE_ZIPSTREAM" = yes; then
5783 echo "$as_me:$LINENO: result: yes" >&5
5784 echo "${ECHO_T}yes" >&6
5786 echo "$as_me:$LINENO: result: no" >&5
5787 echo "${ECHO_T}no" >&6
5792 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gzstream" >&5
5793 echo $ECHO_N "checking for --${enablestring:-enable}-gzstream... $ECHO_C" >&6
5795 # Check whether --enable-gzstream or --disable-gzstream was given.
5796 if test "${enable_gzstream+set}" = set; then
5797 enableval
="$enable_gzstream"
5799 if test "$enableval" = yes; then
5800 ac_cv_use_gzstream
='wxUSE_GZSTREAM=yes'
5802 ac_cv_use_gzstream
='wxUSE_GZSTREAM=no'
5807 LINE
=`grep "wxUSE_GZSTREAM" ${wx_arg_cache_file}`
5808 if test "x$LINE" != x
; then
5809 eval "DEFAULT_$LINE"
5814 ac_cv_use_gzstream
='wxUSE_GZSTREAM='$DEFAULT_wxUSE_GZSTREAM
5818 eval "$ac_cv_use_gzstream"
5819 if test "$no_cache" != 1; then
5820 echo $ac_cv_use_gzstream >> ${wx_arg_cache_file}.tmp
5823 if test "$wxUSE_GZSTREAM" = yes; then
5824 echo "$as_me:$LINENO: result: yes" >&5
5825 echo "${ECHO_T}yes" >&6
5827 echo "$as_me:$LINENO: result: no" >&5
5828 echo "${ECHO_T}no" >&6
5834 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-url" >&5
5835 echo $ECHO_N "checking for --${enablestring:-enable}-url... $ECHO_C" >&6
5837 # Check whether --enable-url or --disable-url was given.
5838 if test "${enable_url+set}" = set; then
5839 enableval
="$enable_url"
5841 if test "$enableval" = yes; then
5842 ac_cv_use_url
='wxUSE_URL=yes'
5844 ac_cv_use_url
='wxUSE_URL=no'
5849 LINE
=`grep "wxUSE_URL" ${wx_arg_cache_file}`
5850 if test "x$LINE" != x
; then
5851 eval "DEFAULT_$LINE"
5856 ac_cv_use_url
='wxUSE_URL='$DEFAULT_wxUSE_URL
5860 eval "$ac_cv_use_url"
5861 if test "$no_cache" != 1; then
5862 echo $ac_cv_use_url >> ${wx_arg_cache_file}.tmp
5865 if test "$wxUSE_URL" = yes; then
5866 echo "$as_me:$LINENO: result: yes" >&5
5867 echo "${ECHO_T}yes" >&6
5869 echo "$as_me:$LINENO: result: no" >&5
5870 echo "${ECHO_T}no" >&6
5875 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol" >&5
5876 echo $ECHO_N "checking for --${enablestring:-enable}-protocol... $ECHO_C" >&6
5878 # Check whether --enable-protocol or --disable-protocol was given.
5879 if test "${enable_protocol+set}" = set; then
5880 enableval
="$enable_protocol"
5882 if test "$enableval" = yes; then
5883 ac_cv_use_protocol
='wxUSE_PROTOCOL=yes'
5885 ac_cv_use_protocol
='wxUSE_PROTOCOL=no'
5890 LINE
=`grep "wxUSE_PROTOCOL" ${wx_arg_cache_file}`
5891 if test "x$LINE" != x
; then
5892 eval "DEFAULT_$LINE"
5897 ac_cv_use_protocol
='wxUSE_PROTOCOL='$DEFAULT_wxUSE_PROTOCOL
5901 eval "$ac_cv_use_protocol"
5902 if test "$no_cache" != 1; then
5903 echo $ac_cv_use_protocol >> ${wx_arg_cache_file}.tmp
5906 if test "$wxUSE_PROTOCOL" = yes; then
5907 echo "$as_me:$LINENO: result: yes" >&5
5908 echo "${ECHO_T}yes" >&6
5910 echo "$as_me:$LINENO: result: no" >&5
5911 echo "${ECHO_T}no" >&6
5916 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_http" >&5
5917 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_http... $ECHO_C" >&6
5919 # Check whether --enable-protocol_http or --disable-protocol_http was given.
5920 if test "${enable_protocol_http+set}" = set; then
5921 enableval
="$enable_protocol_http"
5923 if test "$enableval" = yes; then
5924 ac_cv_use_protocol_http
='wxUSE_PROTOCOL_HTTP=yes'
5926 ac_cv_use_protocol_http
='wxUSE_PROTOCOL_HTTP=no'
5931 LINE
=`grep "wxUSE_PROTOCOL_HTTP" ${wx_arg_cache_file}`
5932 if test "x$LINE" != x
; then
5933 eval "DEFAULT_$LINE"
5938 ac_cv_use_protocol_http
='wxUSE_PROTOCOL_HTTP='$DEFAULT_wxUSE_PROTOCOL_HTTP
5942 eval "$ac_cv_use_protocol_http"
5943 if test "$no_cache" != 1; then
5944 echo $ac_cv_use_protocol_http >> ${wx_arg_cache_file}.tmp
5947 if test "$wxUSE_PROTOCOL_HTTP" = yes; then
5948 echo "$as_me:$LINENO: result: yes" >&5
5949 echo "${ECHO_T}yes" >&6
5951 echo "$as_me:$LINENO: result: no" >&5
5952 echo "${ECHO_T}no" >&6
5957 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_ftp" >&5
5958 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_ftp... $ECHO_C" >&6
5960 # Check whether --enable-protocol_ftp or --disable-protocol_ftp was given.
5961 if test "${enable_protocol_ftp+set}" = set; then
5962 enableval
="$enable_protocol_ftp"
5964 if test "$enableval" = yes; then
5965 ac_cv_use_protocol_ftp
='wxUSE_PROTOCOL_FTP=yes'
5967 ac_cv_use_protocol_ftp
='wxUSE_PROTOCOL_FTP=no'
5972 LINE
=`grep "wxUSE_PROTOCOL_FTP" ${wx_arg_cache_file}`
5973 if test "x$LINE" != x
; then
5974 eval "DEFAULT_$LINE"
5979 ac_cv_use_protocol_ftp
='wxUSE_PROTOCOL_FTP='$DEFAULT_wxUSE_PROTOCOL_FTP
5983 eval "$ac_cv_use_protocol_ftp"
5984 if test "$no_cache" != 1; then
5985 echo $ac_cv_use_protocol_ftp >> ${wx_arg_cache_file}.tmp
5988 if test "$wxUSE_PROTOCOL_FTP" = yes; then
5989 echo "$as_me:$LINENO: result: yes" >&5
5990 echo "${ECHO_T}yes" >&6
5992 echo "$as_me:$LINENO: result: no" >&5
5993 echo "${ECHO_T}no" >&6
5998 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_file" >&5
5999 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_file... $ECHO_C" >&6
6001 # Check whether --enable-protocol_file or --disable-protocol_file was given.
6002 if test "${enable_protocol_file+set}" = set; then
6003 enableval
="$enable_protocol_file"
6005 if test "$enableval" = yes; then
6006 ac_cv_use_protocol_file
='wxUSE_PROTOCOL_FILE=yes'
6008 ac_cv_use_protocol_file
='wxUSE_PROTOCOL_FILE=no'
6013 LINE
=`grep "wxUSE_PROTOCOL_FILE" ${wx_arg_cache_file}`
6014 if test "x$LINE" != x
; then
6015 eval "DEFAULT_$LINE"
6020 ac_cv_use_protocol_file
='wxUSE_PROTOCOL_FILE='$DEFAULT_wxUSE_PROTOCOL_FILE
6024 eval "$ac_cv_use_protocol_file"
6025 if test "$no_cache" != 1; then
6026 echo $ac_cv_use_protocol_file >> ${wx_arg_cache_file}.tmp
6029 if test "$wxUSE_PROTOCOL_FILE" = yes; then
6030 echo "$as_me:$LINENO: result: yes" >&5
6031 echo "${ECHO_T}yes" >&6
6033 echo "$as_me:$LINENO: result: no" >&5
6034 echo "${ECHO_T}no" >&6
6042 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-threads" >&5
6043 echo $ECHO_N "checking for --${enablestring:-enable}-threads... $ECHO_C" >&6
6045 # Check whether --enable-threads or --disable-threads was given.
6046 if test "${enable_threads+set}" = set; then
6047 enableval
="$enable_threads"
6049 if test "$enableval" = yes; then
6050 ac_cv_use_threads
='wxUSE_THREADS=yes'
6052 ac_cv_use_threads
='wxUSE_THREADS=no'
6057 LINE
=`grep "wxUSE_THREADS" ${wx_arg_cache_file}`
6058 if test "x$LINE" != x
; then
6059 eval "DEFAULT_$LINE"
6064 ac_cv_use_threads
='wxUSE_THREADS='$DEFAULT_wxUSE_THREADS
6068 eval "$ac_cv_use_threads"
6069 if test "$no_cache" != 1; then
6070 echo $ac_cv_use_threads >> ${wx_arg_cache_file}.tmp
6073 if test "$wxUSE_THREADS" = yes; then
6074 echo "$as_me:$LINENO: result: yes" >&5
6075 echo "${ECHO_T}yes" >&6
6077 echo "$as_me:$LINENO: result: no" >&5
6078 echo "${ECHO_T}no" >&6
6082 if test "$wxUSE_GUI" = "yes"; then
6087 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-docview" >&5
6088 echo $ECHO_N "checking for --${enablestring:-enable}-docview... $ECHO_C" >&6
6090 # Check whether --enable-docview or --disable-docview was given.
6091 if test "${enable_docview+set}" = set; then
6092 enableval
="$enable_docview"
6094 if test "$enableval" = yes; then
6095 ac_cv_use_docview
='wxUSE_DOC_VIEW_ARCHITECTURE=yes'
6097 ac_cv_use_docview
='wxUSE_DOC_VIEW_ARCHITECTURE=no'
6102 LINE
=`grep "wxUSE_DOC_VIEW_ARCHITECTURE" ${wx_arg_cache_file}`
6103 if test "x$LINE" != x
; then
6104 eval "DEFAULT_$LINE"
6109 ac_cv_use_docview
='wxUSE_DOC_VIEW_ARCHITECTURE='$DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE
6113 eval "$ac_cv_use_docview"
6114 if test "$no_cache" != 1; then
6115 echo $ac_cv_use_docview >> ${wx_arg_cache_file}.tmp
6118 if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = yes; then
6119 echo "$as_me:$LINENO: result: yes" >&5
6120 echo "${ECHO_T}yes" >&6
6122 echo "$as_me:$LINENO: result: no" >&5
6123 echo "${ECHO_T}no" >&6
6128 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-help" >&5
6129 echo $ECHO_N "checking for --${enablestring:-enable}-help... $ECHO_C" >&6
6131 # Check whether --enable-help or --disable-help was given.
6132 if test "${enable_help+set}" = set; then
6133 enableval
="$enable_help"
6135 if test "$enableval" = yes; then
6136 ac_cv_use_help
='wxUSE_HELP=yes'
6138 ac_cv_use_help
='wxUSE_HELP=no'
6143 LINE
=`grep "wxUSE_HELP" ${wx_arg_cache_file}`
6144 if test "x$LINE" != x
; then
6145 eval "DEFAULT_$LINE"
6150 ac_cv_use_help
='wxUSE_HELP='$DEFAULT_wxUSE_HELP
6154 eval "$ac_cv_use_help"
6155 if test "$no_cache" != 1; then
6156 echo $ac_cv_use_help >> ${wx_arg_cache_file}.tmp
6159 if test "$wxUSE_HELP" = yes; then
6160 echo "$as_me:$LINENO: result: yes" >&5
6161 echo "${ECHO_T}yes" >&6
6163 echo "$as_me:$LINENO: result: no" >&5
6164 echo "${ECHO_T}no" >&6
6169 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mshtmlhelp" >&5
6170 echo $ECHO_N "checking for --${enablestring:-enable}-mshtmlhelp... $ECHO_C" >&6
6172 # Check whether --enable-mshtmlhelp or --disable-mshtmlhelp was given.
6173 if test "${enable_mshtmlhelp+set}" = set; then
6174 enableval
="$enable_mshtmlhelp"
6176 if test "$enableval" = yes; then
6177 ac_cv_use_mshtmlhelp
='wxUSE_MS_HTML_HELP=yes'
6179 ac_cv_use_mshtmlhelp
='wxUSE_MS_HTML_HELP=no'
6184 LINE
=`grep "wxUSE_MS_HTML_HELP" ${wx_arg_cache_file}`
6185 if test "x$LINE" != x
; then
6186 eval "DEFAULT_$LINE"
6191 ac_cv_use_mshtmlhelp
='wxUSE_MS_HTML_HELP='$DEFAULT_wxUSE_MS_HTML_HELP
6195 eval "$ac_cv_use_mshtmlhelp"
6196 if test "$no_cache" != 1; then
6197 echo $ac_cv_use_mshtmlhelp >> ${wx_arg_cache_file}.tmp
6200 if test "$wxUSE_MS_HTML_HELP" = yes; then
6201 echo "$as_me:$LINENO: result: yes" >&5
6202 echo "${ECHO_T}yes" >&6
6204 echo "$as_me:$LINENO: result: no" >&5
6205 echo "${ECHO_T}no" >&6
6210 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-html" >&5
6211 echo $ECHO_N "checking for --${enablestring:-enable}-html... $ECHO_C" >&6
6213 # Check whether --enable-html or --disable-html was given.
6214 if test "${enable_html+set}" = set; then
6215 enableval
="$enable_html"
6217 if test "$enableval" = yes; then
6218 ac_cv_use_html
='wxUSE_HTML=yes'
6220 ac_cv_use_html
='wxUSE_HTML=no'
6225 LINE
=`grep "wxUSE_HTML" ${wx_arg_cache_file}`
6226 if test "x$LINE" != x
; then
6227 eval "DEFAULT_$LINE"
6232 ac_cv_use_html
='wxUSE_HTML='$DEFAULT_wxUSE_HTML
6236 eval "$ac_cv_use_html"
6237 if test "$no_cache" != 1; then
6238 echo $ac_cv_use_html >> ${wx_arg_cache_file}.tmp
6241 if test "$wxUSE_HTML" = yes; then
6242 echo "$as_me:$LINENO: result: yes" >&5
6243 echo "${ECHO_T}yes" >&6
6245 echo "$as_me:$LINENO: result: no" >&5
6246 echo "${ECHO_T}no" >&6
6251 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-htmlhelp" >&5
6252 echo $ECHO_N "checking for --${enablestring:-enable}-htmlhelp... $ECHO_C" >&6
6254 # Check whether --enable-htmlhelp or --disable-htmlhelp was given.
6255 if test "${enable_htmlhelp+set}" = set; then
6256 enableval
="$enable_htmlhelp"
6258 if test "$enableval" = yes; then
6259 ac_cv_use_htmlhelp
='wxUSE_WXHTML_HELP=yes'
6261 ac_cv_use_htmlhelp
='wxUSE_WXHTML_HELP=no'
6266 LINE
=`grep "wxUSE_WXHTML_HELP" ${wx_arg_cache_file}`
6267 if test "x$LINE" != x
; then
6268 eval "DEFAULT_$LINE"
6273 ac_cv_use_htmlhelp
='wxUSE_WXHTML_HELP='$DEFAULT_wxUSE_WXHTML_HELP
6277 eval "$ac_cv_use_htmlhelp"
6278 if test "$no_cache" != 1; then
6279 echo $ac_cv_use_htmlhelp >> ${wx_arg_cache_file}.tmp
6282 if test "$wxUSE_WXHTML_HELP" = yes; then
6283 echo "$as_me:$LINENO: result: yes" >&5
6284 echo "${ECHO_T}yes" >&6
6286 echo "$as_me:$LINENO: result: no" >&5
6287 echo "${ECHO_T}no" >&6
6292 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-constraints" >&5
6293 echo $ECHO_N "checking for --${enablestring:-enable}-constraints... $ECHO_C" >&6
6295 # Check whether --enable-constraints or --disable-constraints was given.
6296 if test "${enable_constraints+set}" = set; then
6297 enableval
="$enable_constraints"
6299 if test "$enableval" = yes; then
6300 ac_cv_use_constraints
='wxUSE_CONSTRAINTS=yes'
6302 ac_cv_use_constraints
='wxUSE_CONSTRAINTS=no'
6307 LINE
=`grep "wxUSE_CONSTRAINTS" ${wx_arg_cache_file}`
6308 if test "x$LINE" != x
; then
6309 eval "DEFAULT_$LINE"
6314 ac_cv_use_constraints
='wxUSE_CONSTRAINTS='$DEFAULT_wxUSE_CONSTRAINTS
6318 eval "$ac_cv_use_constraints"
6319 if test "$no_cache" != 1; then
6320 echo $ac_cv_use_constraints >> ${wx_arg_cache_file}.tmp
6323 if test "$wxUSE_CONSTRAINTS" = yes; then
6324 echo "$as_me:$LINENO: result: yes" >&5
6325 echo "${ECHO_T}yes" >&6
6327 echo "$as_me:$LINENO: result: no" >&5
6328 echo "${ECHO_T}no" >&6
6333 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-printarch" >&5
6334 echo $ECHO_N "checking for --${enablestring:-enable}-printarch... $ECHO_C" >&6
6336 # Check whether --enable-printarch or --disable-printarch was given.
6337 if test "${enable_printarch+set}" = set; then
6338 enableval
="$enable_printarch"
6340 if test "$enableval" = yes; then
6341 ac_cv_use_printarch
='wxUSE_PRINTING_ARCHITECTURE=yes'
6343 ac_cv_use_printarch
='wxUSE_PRINTING_ARCHITECTURE=no'
6348 LINE
=`grep "wxUSE_PRINTING_ARCHITECTURE" ${wx_arg_cache_file}`
6349 if test "x$LINE" != x
; then
6350 eval "DEFAULT_$LINE"
6355 ac_cv_use_printarch
='wxUSE_PRINTING_ARCHITECTURE='$DEFAULT_wxUSE_PRINTING_ARCHITECTURE
6359 eval "$ac_cv_use_printarch"
6360 if test "$no_cache" != 1; then
6361 echo $ac_cv_use_printarch >> ${wx_arg_cache_file}.tmp
6364 if test "$wxUSE_PRINTING_ARCHITECTURE" = yes; then
6365 echo "$as_me:$LINENO: result: yes" >&5
6366 echo "${ECHO_T}yes" >&6
6368 echo "$as_me:$LINENO: result: no" >&5
6369 echo "${ECHO_T}no" >&6
6374 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mdi" >&5
6375 echo $ECHO_N "checking for --${enablestring:-enable}-mdi... $ECHO_C" >&6
6377 # Check whether --enable-mdi or --disable-mdi was given.
6378 if test "${enable_mdi+set}" = set; then
6379 enableval
="$enable_mdi"
6381 if test "$enableval" = yes; then
6382 ac_cv_use_mdi
='wxUSE_MDI_ARCHITECTURE=yes'
6384 ac_cv_use_mdi
='wxUSE_MDI_ARCHITECTURE=no'
6389 LINE
=`grep "wxUSE_MDI_ARCHITECTURE" ${wx_arg_cache_file}`
6390 if test "x$LINE" != x
; then
6391 eval "DEFAULT_$LINE"
6396 ac_cv_use_mdi
='wxUSE_MDI_ARCHITECTURE='$DEFAULT_wxUSE_MDI_ARCHITECTURE
6400 eval "$ac_cv_use_mdi"
6401 if test "$no_cache" != 1; then
6402 echo $ac_cv_use_mdi >> ${wx_arg_cache_file}.tmp
6405 if test "$wxUSE_MDI_ARCHITECTURE" = yes; then
6406 echo "$as_me:$LINENO: result: yes" >&5
6407 echo "${ECHO_T}yes" >&6
6409 echo "$as_me:$LINENO: result: no" >&5
6410 echo "${ECHO_T}no" >&6
6415 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-loggui" >&5
6416 echo $ECHO_N "checking for --${enablestring:-enable}-loggui... $ECHO_C" >&6
6418 # Check whether --enable-loggui or --disable-loggui was given.
6419 if test "${enable_loggui+set}" = set; then
6420 enableval
="$enable_loggui"
6422 if test "$enableval" = yes; then
6423 ac_cv_use_loggui
='wxUSE_LOGGUI=yes'
6425 ac_cv_use_loggui
='wxUSE_LOGGUI=no'
6430 LINE
=`grep "wxUSE_LOGGUI" ${wx_arg_cache_file}`
6431 if test "x$LINE" != x
; then
6432 eval "DEFAULT_$LINE"
6437 ac_cv_use_loggui
='wxUSE_LOGGUI='$DEFAULT_wxUSE_LOGGUI
6441 eval "$ac_cv_use_loggui"
6442 if test "$no_cache" != 1; then
6443 echo $ac_cv_use_loggui >> ${wx_arg_cache_file}.tmp
6446 if test "$wxUSE_LOGGUI" = yes; then
6447 echo "$as_me:$LINENO: result: yes" >&5
6448 echo "${ECHO_T}yes" >&6
6450 echo "$as_me:$LINENO: result: no" >&5
6451 echo "${ECHO_T}no" >&6
6456 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-logwin" >&5
6457 echo $ECHO_N "checking for --${enablestring:-enable}-logwin... $ECHO_C" >&6
6459 # Check whether --enable-logwin or --disable-logwin was given.
6460 if test "${enable_logwin+set}" = set; then
6461 enableval
="$enable_logwin"
6463 if test "$enableval" = yes; then
6464 ac_cv_use_logwin
='wxUSE_LOGWINDOW=yes'
6466 ac_cv_use_logwin
='wxUSE_LOGWINDOW=no'
6471 LINE
=`grep "wxUSE_LOGWINDOW" ${wx_arg_cache_file}`
6472 if test "x$LINE" != x
; then
6473 eval "DEFAULT_$LINE"
6478 ac_cv_use_logwin
='wxUSE_LOGWINDOW='$DEFAULT_wxUSE_LOGWINDOW
6482 eval "$ac_cv_use_logwin"
6483 if test "$no_cache" != 1; then
6484 echo $ac_cv_use_logwin >> ${wx_arg_cache_file}.tmp
6487 if test "$wxUSE_LOGWINDOW" = yes; then
6488 echo "$as_me:$LINENO: result: yes" >&5
6489 echo "${ECHO_T}yes" >&6
6491 echo "$as_me:$LINENO: result: no" >&5
6492 echo "${ECHO_T}no" >&6
6497 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-logdialog" >&5
6498 echo $ECHO_N "checking for --${enablestring:-enable}-logdialog... $ECHO_C" >&6
6500 # Check whether --enable-logdialog or --disable-logdialog was given.
6501 if test "${enable_logdialog+set}" = set; then
6502 enableval
="$enable_logdialog"
6504 if test "$enableval" = yes; then
6505 ac_cv_use_logdialog
='wxUSE_LOGDIALOG=yes'
6507 ac_cv_use_logdialog
='wxUSE_LOGDIALOG=no'
6512 LINE
=`grep "wxUSE_LOGDIALOG" ${wx_arg_cache_file}`
6513 if test "x$LINE" != x
; then
6514 eval "DEFAULT_$LINE"
6519 ac_cv_use_logdialog
='wxUSE_LOGDIALOG='$DEFAULT_wxUSE_LOGDIALOG
6523 eval "$ac_cv_use_logdialog"
6524 if test "$no_cache" != 1; then
6525 echo $ac_cv_use_logdialog >> ${wx_arg_cache_file}.tmp
6528 if test "$wxUSE_LOGDIALOG" = yes; then
6529 echo "$as_me:$LINENO: result: yes" >&5
6530 echo "${ECHO_T}yes" >&6
6532 echo "$as_me:$LINENO: result: no" >&5
6533 echo "${ECHO_T}no" >&6
6539 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-postscript" >&5
6540 echo $ECHO_N "checking for --${enablestring:-enable}-postscript... $ECHO_C" >&6
6542 # Check whether --enable-postscript or --disable-postscript was given.
6543 if test "${enable_postscript+set}" = set; then
6544 enableval
="$enable_postscript"
6546 if test "$enableval" = yes; then
6547 ac_cv_use_postscript
='wxUSE_POSTSCRIPT=yes'
6549 ac_cv_use_postscript
='wxUSE_POSTSCRIPT=no'
6554 LINE
=`grep "wxUSE_POSTSCRIPT" ${wx_arg_cache_file}`
6555 if test "x$LINE" != x
; then
6556 eval "DEFAULT_$LINE"
6561 ac_cv_use_postscript
='wxUSE_POSTSCRIPT='$DEFAULT_wxUSE_POSTSCRIPT
6565 eval "$ac_cv_use_postscript"
6566 if test "$no_cache" != 1; then
6567 echo $ac_cv_use_postscript >> ${wx_arg_cache_file}.tmp
6570 if test "$wxUSE_POSTSCRIPT" = yes; then
6571 echo "$as_me:$LINENO: result: yes" >&5
6572 echo "${ECHO_T}yes" >&6
6574 echo "$as_me:$LINENO: result: no" >&5
6575 echo "${ECHO_T}no" >&6
6583 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-prologio" >&5
6584 echo $ECHO_N "checking for --${enablestring:-enable}-prologio... $ECHO_C" >&6
6586 # Check whether --enable-prologio or --disable-prologio was given.
6587 if test "${enable_prologio+set}" = set; then
6588 enableval
="$enable_prologio"
6590 if test "$enableval" = yes; then
6591 ac_cv_use_prologio
='wxUSE_PROLOGIO=yes'
6593 ac_cv_use_prologio
='wxUSE_PROLOGIO=no'
6598 LINE
=`grep "wxUSE_PROLOGIO" ${wx_arg_cache_file}`
6599 if test "x$LINE" != x
; then
6600 eval "DEFAULT_$LINE"
6605 ac_cv_use_prologio
='wxUSE_PROLOGIO='$DEFAULT_wxUSE_PROLOGIO
6609 eval "$ac_cv_use_prologio"
6610 if test "$no_cache" != 1; then
6611 echo $ac_cv_use_prologio >> ${wx_arg_cache_file}.tmp
6614 if test "$wxUSE_PROLOGIO" = yes; then
6615 echo "$as_me:$LINENO: result: yes" >&5
6616 echo "${ECHO_T}yes" >&6
6618 echo "$as_me:$LINENO: result: no" >&5
6619 echo "${ECHO_T}no" >&6
6624 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-resources" >&5
6625 echo $ECHO_N "checking for --${enablestring:-enable}-resources... $ECHO_C" >&6
6627 # Check whether --enable-resources or --disable-resources was given.
6628 if test "${enable_resources+set}" = set; then
6629 enableval
="$enable_resources"
6631 if test "$enableval" = yes; then
6632 ac_cv_use_resources
='wxUSE_RESOURCES=yes'
6634 ac_cv_use_resources
='wxUSE_RESOURCES=no'
6639 LINE
=`grep "wxUSE_RESOURCES" ${wx_arg_cache_file}`
6640 if test "x$LINE" != x
; then
6641 eval "DEFAULT_$LINE"
6646 ac_cv_use_resources
='wxUSE_RESOURCES='$DEFAULT_wxUSE_RESOURCES
6650 eval "$ac_cv_use_resources"
6651 if test "$no_cache" != 1; then
6652 echo $ac_cv_use_resources >> ${wx_arg_cache_file}.tmp
6655 if test "$wxUSE_RESOURCES" = yes; then
6656 echo "$as_me:$LINENO: result: yes" >&5
6657 echo "${ECHO_T}yes" >&6
6659 echo "$as_me:$LINENO: result: no" >&5
6660 echo "${ECHO_T}no" >&6
6667 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-clipboard" >&5
6668 echo $ECHO_N "checking for --${enablestring:-enable}-clipboard... $ECHO_C" >&6
6670 # Check whether --enable-clipboard or --disable-clipboard was given.
6671 if test "${enable_clipboard+set}" = set; then
6672 enableval
="$enable_clipboard"
6674 if test "$enableval" = yes; then
6675 ac_cv_use_clipboard
='wxUSE_CLIPBOARD=yes'
6677 ac_cv_use_clipboard
='wxUSE_CLIPBOARD=no'
6682 LINE
=`grep "wxUSE_CLIPBOARD" ${wx_arg_cache_file}`
6683 if test "x$LINE" != x
; then
6684 eval "DEFAULT_$LINE"
6689 ac_cv_use_clipboard
='wxUSE_CLIPBOARD='$DEFAULT_wxUSE_CLIPBOARD
6693 eval "$ac_cv_use_clipboard"
6694 if test "$no_cache" != 1; then
6695 echo $ac_cv_use_clipboard >> ${wx_arg_cache_file}.tmp
6698 if test "$wxUSE_CLIPBOARD" = yes; then
6699 echo "$as_me:$LINENO: result: yes" >&5
6700 echo "${ECHO_T}yes" >&6
6702 echo "$as_me:$LINENO: result: no" >&5
6703 echo "${ECHO_T}no" >&6
6708 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dnd" >&5
6709 echo $ECHO_N "checking for --${enablestring:-enable}-dnd... $ECHO_C" >&6
6711 # Check whether --enable-dnd or --disable-dnd was given.
6712 if test "${enable_dnd+set}" = set; then
6713 enableval
="$enable_dnd"
6715 if test "$enableval" = yes; then
6716 ac_cv_use_dnd
='wxUSE_DRAG_AND_DROP=yes'
6718 ac_cv_use_dnd
='wxUSE_DRAG_AND_DROP=no'
6723 LINE
=`grep "wxUSE_DRAG_AND_DROP" ${wx_arg_cache_file}`
6724 if test "x$LINE" != x
; then
6725 eval "DEFAULT_$LINE"
6730 ac_cv_use_dnd
='wxUSE_DRAG_AND_DROP='$DEFAULT_wxUSE_DRAG_AND_DROP
6734 eval "$ac_cv_use_dnd"
6735 if test "$no_cache" != 1; then
6736 echo $ac_cv_use_dnd >> ${wx_arg_cache_file}.tmp
6739 if test "$wxUSE_DRAG_AND_DROP" = yes; then
6740 echo "$as_me:$LINENO: result: yes" >&5
6741 echo "${ECHO_T}yes" >&6
6743 echo "$as_me:$LINENO: result: no" >&5
6744 echo "${ECHO_T}no" >&6
6749 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-metafile" >&5
6750 echo $ECHO_N "checking for --${enablestring:-enable}-metafile... $ECHO_C" >&6
6752 # Check whether --enable-metafile or --disable-metafile was given.
6753 if test "${enable_metafile+set}" = set; then
6754 enableval
="$enable_metafile"
6756 if test "$enableval" = yes; then
6757 ac_cv_use_metafile
='wxUSE_METAFILE=yes'
6759 ac_cv_use_metafile
='wxUSE_METAFILE=no'
6764 LINE
=`grep "wxUSE_METAFILE" ${wx_arg_cache_file}`
6765 if test "x$LINE" != x
; then
6766 eval "DEFAULT_$LINE"
6771 ac_cv_use_metafile
='wxUSE_METAFILE='$DEFAULT_wxUSE_METAFILE
6775 eval "$ac_cv_use_metafile"
6776 if test "$no_cache" != 1; then
6777 echo $ac_cv_use_metafile >> ${wx_arg_cache_file}.tmp
6780 if test "$wxUSE_METAFILE" = yes; then
6781 echo "$as_me:$LINENO: result: yes" >&5
6782 echo "${ECHO_T}yes" >&6
6784 echo "$as_me:$LINENO: result: no" >&5
6785 echo "${ECHO_T}no" >&6
6793 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-controls" >&5
6794 echo $ECHO_N "checking for --${enablestring:-enable}-controls... $ECHO_C" >&6
6796 # Check whether --enable-controls or --disable-controls was given.
6797 if test "${enable_controls+set}" = set; then
6798 enableval
="$enable_controls"
6800 if test "$enableval" = yes; then
6801 ac_cv_use_controls
='wxUSE_CONTROLS=yes'
6803 ac_cv_use_controls
='wxUSE_CONTROLS=no'
6808 LINE
=`grep "wxUSE_CONTROLS" ${wx_arg_cache_file}`
6809 if test "x$LINE" != x
; then
6810 eval "DEFAULT_$LINE"
6815 ac_cv_use_controls
='wxUSE_CONTROLS='$DEFAULT_wxUSE_CONTROLS
6819 eval "$ac_cv_use_controls"
6820 if test "$no_cache" != 1; then
6821 echo $ac_cv_use_controls >> ${wx_arg_cache_file}.tmp
6824 if test "$wxUSE_CONTROLS" = yes; then
6825 echo "$as_me:$LINENO: result: yes" >&5
6826 echo "${ECHO_T}yes" >&6
6828 echo "$as_me:$LINENO: result: no" >&5
6829 echo "${ECHO_T}no" >&6
6833 if test "$wxUSE_CONTROLS" = "yes"; then
6834 DEFAULT_wxUSE_ACCEL
=yes
6835 DEFAULT_wxUSE_BMPBUTTON
=yes
6836 DEFAULT_wxUSE_BUTTON
=yes
6837 DEFAULT_wxUSE_CALCTRL
=no
6838 DEFAULT_wxUSE_CARET
=yes
6839 DEFAULT_wxUSE_COMBOBOX
=yes
6840 DEFAULT_wxUSE_CHECKBOX
=yes
6841 DEFAULT_wxUSE_CHECKLISTBOX
=yes
6842 DEFAULT_wxUSE_CHOICE
=yes
6843 DEFAULT_wxUSE_GAUGE
=yes
6844 DEFAULT_wxUSE_GRID
=yes
6845 DEFAULT_wxUSE_IMAGLIST
=yes
6846 DEFAULT_wxUSE_LISTBOOK
=yes
6847 DEFAULT_wxUSE_LISTBOX
=yes
6848 DEFAULT_wxUSE_LISTCTRL
=yes
6849 DEFAULT_wxUSE_NOTEBOOK
=yes
6850 DEFAULT_wxUSE_RADIOBOX
=yes
6851 DEFAULT_wxUSE_RADIOBTN
=yes
6852 DEFAULT_wxUSE_SASH
=yes
6853 DEFAULT_wxUSE_SCROLLBAR
=yes
6854 DEFAULT_wxUSE_SLIDER
=yes
6855 DEFAULT_wxUSE_SPINBTN
=yes
6856 DEFAULT_wxUSE_SPINCTRL
=yes
6857 DEFAULT_wxUSE_SPLITTER
=yes
6858 DEFAULT_wxUSE_STATBMP
=yes
6859 DEFAULT_wxUSE_STATBOX
=yes
6860 DEFAULT_wxUSE_STATLINE
=yes
6861 DEFAULT_wxUSE_STATUSBAR
=yes
6862 DEFAULT_wxUSE_TAB_DIALOG
=yes
6863 DEFAULT_wxUSE_TOGGLEBTN
=yes
6864 DEFAULT_wxUSE_TOOLBAR
=yes
6865 DEFAULT_wxUSE_TOOLBAR_NATIVE
=yes
6866 DEFAULT_wxUSE_TOOLBAR_SIMPLE
=yes
6867 DEFAULT_wxUSE_TOOLTIPS
=yes
6868 DEFAULT_wxUSE_TREECTRL
=yes
6869 DEFAULT_wxUSE_POPUPWIN
=yes
6870 DEFAULT_wxUSE_TIPWINDOW
=yes
6871 elif test "$wxUSE_CONTROLS" = "no"; then
6872 DEFAULT_wxUSE_ACCEL
=no
6873 DEFAULT_wxUSE_BMPBUTTON
=no
6874 DEFAULT_wxUSE_BUTTON
=no
6875 DEFAULT_wxUSE_CALCTRL
=no
6876 DEFAULT_wxUSE_CARET
=no
6877 DEFAULT_wxUSE_COMBOBOX
=no
6878 DEFAULT_wxUSE_CHECKBOX
=no
6879 DEFAULT_wxUSE_CHECKLISTBOX
=no
6880 DEFAULT_wxUSE_CHOICE
=no
6881 DEFAULT_wxUSE_GAUGE
=no
6882 DEFAULT_wxUSE_GRID
=no
6883 DEFAULT_wxUSE_IMAGLIST
=no
6884 DEFAULT_wxUSE_LISTBOOK
=no
6885 DEFAULT_wxUSE_LISTBOX
=no
6886 DEFAULT_wxUSE_LISTCTRL
=no
6887 DEFAULT_wxUSE_NOTEBOOK
=no
6888 DEFAULT_wxUSE_RADIOBOX
=no
6889 DEFAULT_wxUSE_RADIOBTN
=no
6890 DEFAULT_wxUSE_SASH
=no
6891 DEFAULT_wxUSE_SCROLLBAR
=no
6892 DEFAULT_wxUSE_SLIDER
=no
6893 DEFAULT_wxUSE_SPINBTN
=no
6894 DEFAULT_wxUSE_SPINCTRL
=no
6895 DEFAULT_wxUSE_SPLITTER
=no
6896 DEFAULT_wxUSE_STATBMP
=no
6897 DEFAULT_wxUSE_STATBOX
=no
6898 DEFAULT_wxUSE_STATLINE
=no
6899 DEFAULT_wxUSE_STATUSBAR
=no
6900 DEFAULT_wxUSE_TAB_DIALOG
=no
6901 DEFAULT_wxUSE_TOGGLEBTN
=no
6902 DEFAULT_wxUSE_TOOLBAR
=no
6903 DEFAULT_wxUSE_TOOLBAR_NATIVE
=no
6904 DEFAULT_wxUSE_TOOLBAR_SIMPLE
=no
6905 DEFAULT_wxUSE_TOOLTIPS
=no
6906 DEFAULT_wxUSE_TREECTRL
=no
6907 DEFAULT_wxUSE_POPUPWIN
=no
6908 DEFAULT_wxUSE_TIPWINDOW
=no
6911 ## FIXME: This is a blatant hack
6912 if test "x$wxUSE_COCOA" != "x" -a "$wxUSE_COCOA" != "0" ; then
6913 wxUSE_PRINTING_ARCHITECTURE
=no
6914 wxUSE_DRAG_AND_DROP
=no
6915 # Generic notebook requires tab dialog
6916 DEFAULT_wxUSE_TABDIALOG
=yes
6917 DEFAULT_wxUSE_SCROLLBAR
=no
6918 DEFAULT_wxUSE_TOOLTIPS
=no
6919 DEFAULT_wxUSE_DRAGIMAGE
=no
6924 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-accel" >&5
6925 echo $ECHO_N "checking for --${enablestring:-enable}-accel... $ECHO_C" >&6
6927 # Check whether --enable-accel or --disable-accel was given.
6928 if test "${enable_accel+set}" = set; then
6929 enableval
="$enable_accel"
6931 if test "$enableval" = yes; then
6932 ac_cv_use_accel
='wxUSE_ACCEL=yes'
6934 ac_cv_use_accel
='wxUSE_ACCEL=no'
6939 LINE
=`grep "wxUSE_ACCEL" ${wx_arg_cache_file}`
6940 if test "x$LINE" != x
; then
6941 eval "DEFAULT_$LINE"
6946 ac_cv_use_accel
='wxUSE_ACCEL='$DEFAULT_wxUSE_ACCEL
6950 eval "$ac_cv_use_accel"
6951 if test "$no_cache" != 1; then
6952 echo $ac_cv_use_accel >> ${wx_arg_cache_file}.tmp
6955 if test "$wxUSE_ACCEL" = yes; then
6956 echo "$as_me:$LINENO: result: yes" >&5
6957 echo "${ECHO_T}yes" >&6
6959 echo "$as_me:$LINENO: result: no" >&5
6960 echo "${ECHO_T}no" >&6
6965 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-button" >&5
6966 echo $ECHO_N "checking for --${enablestring:-enable}-button... $ECHO_C" >&6
6968 # Check whether --enable-button or --disable-button was given.
6969 if test "${enable_button+set}" = set; then
6970 enableval
="$enable_button"
6972 if test "$enableval" = yes; then
6973 ac_cv_use_button
='wxUSE_BUTTON=yes'
6975 ac_cv_use_button
='wxUSE_BUTTON=no'
6980 LINE
=`grep "wxUSE_BUTTON" ${wx_arg_cache_file}`
6981 if test "x$LINE" != x
; then
6982 eval "DEFAULT_$LINE"
6987 ac_cv_use_button
='wxUSE_BUTTON='$DEFAULT_wxUSE_BUTTON
6991 eval "$ac_cv_use_button"
6992 if test "$no_cache" != 1; then
6993 echo $ac_cv_use_button >> ${wx_arg_cache_file}.tmp
6996 if test "$wxUSE_BUTTON" = yes; then
6997 echo "$as_me:$LINENO: result: yes" >&5
6998 echo "${ECHO_T}yes" >&6
7000 echo "$as_me:$LINENO: result: no" >&5
7001 echo "${ECHO_T}no" >&6
7006 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-bmpbutton" >&5
7007 echo $ECHO_N "checking for --${enablestring:-enable}-bmpbutton... $ECHO_C" >&6
7009 # Check whether --enable-bmpbutton or --disable-bmpbutton was given.
7010 if test "${enable_bmpbutton+set}" = set; then
7011 enableval
="$enable_bmpbutton"
7013 if test "$enableval" = yes; then
7014 ac_cv_use_bmpbutton
='wxUSE_BMPBUTTON=yes'
7016 ac_cv_use_bmpbutton
='wxUSE_BMPBUTTON=no'
7021 LINE
=`grep "wxUSE_BMPBUTTON" ${wx_arg_cache_file}`
7022 if test "x$LINE" != x
; then
7023 eval "DEFAULT_$LINE"
7028 ac_cv_use_bmpbutton
='wxUSE_BMPBUTTON='$DEFAULT_wxUSE_BMPBUTTON
7032 eval "$ac_cv_use_bmpbutton"
7033 if test "$no_cache" != 1; then
7034 echo $ac_cv_use_bmpbutton >> ${wx_arg_cache_file}.tmp
7037 if test "$wxUSE_BMPBUTTON" = yes; then
7038 echo "$as_me:$LINENO: result: yes" >&5
7039 echo "${ECHO_T}yes" >&6
7041 echo "$as_me:$LINENO: result: no" >&5
7042 echo "${ECHO_T}no" >&6
7047 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-calendar" >&5
7048 echo $ECHO_N "checking for --${enablestring:-enable}-calendar... $ECHO_C" >&6
7050 # Check whether --enable-calendar or --disable-calendar was given.
7051 if test "${enable_calendar+set}" = set; then
7052 enableval
="$enable_calendar"
7054 if test "$enableval" = yes; then
7055 ac_cv_use_calendar
='wxUSE_CALCTRL=yes'
7057 ac_cv_use_calendar
='wxUSE_CALCTRL=no'
7062 LINE
=`grep "wxUSE_CALCTRL" ${wx_arg_cache_file}`
7063 if test "x$LINE" != x
; then
7064 eval "DEFAULT_$LINE"
7069 ac_cv_use_calendar
='wxUSE_CALCTRL='$DEFAULT_wxUSE_CALCTRL
7073 eval "$ac_cv_use_calendar"
7074 if test "$no_cache" != 1; then
7075 echo $ac_cv_use_calendar >> ${wx_arg_cache_file}.tmp
7078 if test "$wxUSE_CALCTRL" = yes; then
7079 echo "$as_me:$LINENO: result: yes" >&5
7080 echo "${ECHO_T}yes" >&6
7082 echo "$as_me:$LINENO: result: no" >&5
7083 echo "${ECHO_T}no" >&6
7088 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-caret" >&5
7089 echo $ECHO_N "checking for --${enablestring:-enable}-caret... $ECHO_C" >&6
7091 # Check whether --enable-caret or --disable-caret was given.
7092 if test "${enable_caret+set}" = set; then
7093 enableval
="$enable_caret"
7095 if test "$enableval" = yes; then
7096 ac_cv_use_caret
='wxUSE_CARET=yes'
7098 ac_cv_use_caret
='wxUSE_CARET=no'
7103 LINE
=`grep "wxUSE_CARET" ${wx_arg_cache_file}`
7104 if test "x$LINE" != x
; then
7105 eval "DEFAULT_$LINE"
7110 ac_cv_use_caret
='wxUSE_CARET='$DEFAULT_wxUSE_CARET
7114 eval "$ac_cv_use_caret"
7115 if test "$no_cache" != 1; then
7116 echo $ac_cv_use_caret >> ${wx_arg_cache_file}.tmp
7119 if test "$wxUSE_CARET" = yes; then
7120 echo "$as_me:$LINENO: result: yes" >&5
7121 echo "${ECHO_T}yes" >&6
7123 echo "$as_me:$LINENO: result: no" >&5
7124 echo "${ECHO_T}no" >&6
7129 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-checkbox" >&5
7130 echo $ECHO_N "checking for --${enablestring:-enable}-checkbox... $ECHO_C" >&6
7132 # Check whether --enable-checkbox or --disable-checkbox was given.
7133 if test "${enable_checkbox+set}" = set; then
7134 enableval
="$enable_checkbox"
7136 if test "$enableval" = yes; then
7137 ac_cv_use_checkbox
='wxUSE_CHECKBOX=yes'
7139 ac_cv_use_checkbox
='wxUSE_CHECKBOX=no'
7144 LINE
=`grep "wxUSE_CHECKBOX" ${wx_arg_cache_file}`
7145 if test "x$LINE" != x
; then
7146 eval "DEFAULT_$LINE"
7151 ac_cv_use_checkbox
='wxUSE_CHECKBOX='$DEFAULT_wxUSE_CHECKBOX
7155 eval "$ac_cv_use_checkbox"
7156 if test "$no_cache" != 1; then
7157 echo $ac_cv_use_checkbox >> ${wx_arg_cache_file}.tmp
7160 if test "$wxUSE_CHECKBOX" = yes; then
7161 echo "$as_me:$LINENO: result: yes" >&5
7162 echo "${ECHO_T}yes" >&6
7164 echo "$as_me:$LINENO: result: no" >&5
7165 echo "${ECHO_T}no" >&6
7170 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-checklst" >&5
7171 echo $ECHO_N "checking for --${enablestring:-enable}-checklst... $ECHO_C" >&6
7173 # Check whether --enable-checklst or --disable-checklst was given.
7174 if test "${enable_checklst+set}" = set; then
7175 enableval
="$enable_checklst"
7177 if test "$enableval" = yes; then
7178 ac_cv_use_checklst
='wxUSE_CHECKLST=yes'
7180 ac_cv_use_checklst
='wxUSE_CHECKLST=no'
7185 LINE
=`grep "wxUSE_CHECKLST" ${wx_arg_cache_file}`
7186 if test "x$LINE" != x
; then
7187 eval "DEFAULT_$LINE"
7192 ac_cv_use_checklst
='wxUSE_CHECKLST='$DEFAULT_wxUSE_CHECKLST
7196 eval "$ac_cv_use_checklst"
7197 if test "$no_cache" != 1; then
7198 echo $ac_cv_use_checklst >> ${wx_arg_cache_file}.tmp
7201 if test "$wxUSE_CHECKLST" = yes; then
7202 echo "$as_me:$LINENO: result: yes" >&5
7203 echo "${ECHO_T}yes" >&6
7205 echo "$as_me:$LINENO: result: no" >&5
7206 echo "${ECHO_T}no" >&6
7211 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choice" >&5
7212 echo $ECHO_N "checking for --${enablestring:-enable}-choice... $ECHO_C" >&6
7214 # Check whether --enable-choice or --disable-choice was given.
7215 if test "${enable_choice+set}" = set; then
7216 enableval
="$enable_choice"
7218 if test "$enableval" = yes; then
7219 ac_cv_use_choice
='wxUSE_CHOICE=yes'
7221 ac_cv_use_choice
='wxUSE_CHOICE=no'
7226 LINE
=`grep "wxUSE_CHOICE" ${wx_arg_cache_file}`
7227 if test "x$LINE" != x
; then
7228 eval "DEFAULT_$LINE"
7233 ac_cv_use_choice
='wxUSE_CHOICE='$DEFAULT_wxUSE_CHOICE
7237 eval "$ac_cv_use_choice"
7238 if test "$no_cache" != 1; then
7239 echo $ac_cv_use_choice >> ${wx_arg_cache_file}.tmp
7242 if test "$wxUSE_CHOICE" = yes; then
7243 echo "$as_me:$LINENO: result: yes" >&5
7244 echo "${ECHO_T}yes" >&6
7246 echo "$as_me:$LINENO: result: no" >&5
7247 echo "${ECHO_T}no" >&6
7252 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-combobox" >&5
7253 echo $ECHO_N "checking for --${enablestring:-enable}-combobox... $ECHO_C" >&6
7255 # Check whether --enable-combobox or --disable-combobox was given.
7256 if test "${enable_combobox+set}" = set; then
7257 enableval
="$enable_combobox"
7259 if test "$enableval" = yes; then
7260 ac_cv_use_combobox
='wxUSE_COMBOBOX=yes'
7262 ac_cv_use_combobox
='wxUSE_COMBOBOX=no'
7267 LINE
=`grep "wxUSE_COMBOBOX" ${wx_arg_cache_file}`
7268 if test "x$LINE" != x
; then
7269 eval "DEFAULT_$LINE"
7274 ac_cv_use_combobox
='wxUSE_COMBOBOX='$DEFAULT_wxUSE_COMBOBOX
7278 eval "$ac_cv_use_combobox"
7279 if test "$no_cache" != 1; then
7280 echo $ac_cv_use_combobox >> ${wx_arg_cache_file}.tmp
7283 if test "$wxUSE_COMBOBOX" = yes; then
7284 echo "$as_me:$LINENO: result: yes" >&5
7285 echo "${ECHO_T}yes" >&6
7287 echo "$as_me:$LINENO: result: no" >&5
7288 echo "${ECHO_T}no" >&6
7293 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-display" >&5
7294 echo $ECHO_N "checking for --${enablestring:-enable}-display... $ECHO_C" >&6
7296 # Check whether --enable-display or --disable-display was given.
7297 if test "${enable_display+set}" = set; then
7298 enableval
="$enable_display"
7300 if test "$enableval" = yes; then
7301 ac_cv_use_display
='wxUSE_DISPLAY=yes'
7303 ac_cv_use_display
='wxUSE_DISPLAY=no'
7308 LINE
=`grep "wxUSE_DISPLAY" ${wx_arg_cache_file}`
7309 if test "x$LINE" != x
; then
7310 eval "DEFAULT_$LINE"
7315 ac_cv_use_display
='wxUSE_DISPLAY='$DEFAULT_wxUSE_DISPLAY
7319 eval "$ac_cv_use_display"
7320 if test "$no_cache" != 1; then
7321 echo $ac_cv_use_display >> ${wx_arg_cache_file}.tmp
7324 if test "$wxUSE_DISPLAY" = yes; then
7325 echo "$as_me:$LINENO: result: yes" >&5
7326 echo "${ECHO_T}yes" >&6
7328 echo "$as_me:$LINENO: result: no" >&5
7329 echo "${ECHO_T}no" >&6
7334 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gauge" >&5
7335 echo $ECHO_N "checking for --${enablestring:-enable}-gauge... $ECHO_C" >&6
7337 # Check whether --enable-gauge or --disable-gauge was given.
7338 if test "${enable_gauge+set}" = set; then
7339 enableval
="$enable_gauge"
7341 if test "$enableval" = yes; then
7342 ac_cv_use_gauge
='wxUSE_GAUGE=yes'
7344 ac_cv_use_gauge
='wxUSE_GAUGE=no'
7349 LINE
=`grep "wxUSE_GAUGE" ${wx_arg_cache_file}`
7350 if test "x$LINE" != x
; then
7351 eval "DEFAULT_$LINE"
7356 ac_cv_use_gauge
='wxUSE_GAUGE='$DEFAULT_wxUSE_GAUGE
7360 eval "$ac_cv_use_gauge"
7361 if test "$no_cache" != 1; then
7362 echo $ac_cv_use_gauge >> ${wx_arg_cache_file}.tmp
7365 if test "$wxUSE_GAUGE" = yes; then
7366 echo "$as_me:$LINENO: result: yes" >&5
7367 echo "${ECHO_T}yes" >&6
7369 echo "$as_me:$LINENO: result: no" >&5
7370 echo "${ECHO_T}no" >&6
7375 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-grid" >&5
7376 echo $ECHO_N "checking for --${enablestring:-enable}-grid... $ECHO_C" >&6
7378 # Check whether --enable-grid or --disable-grid was given.
7379 if test "${enable_grid+set}" = set; then
7380 enableval
="$enable_grid"
7382 if test "$enableval" = yes; then
7383 ac_cv_use_grid
='wxUSE_GRID=yes'
7385 ac_cv_use_grid
='wxUSE_GRID=no'
7390 LINE
=`grep "wxUSE_GRID" ${wx_arg_cache_file}`
7391 if test "x$LINE" != x
; then
7392 eval "DEFAULT_$LINE"
7397 ac_cv_use_grid
='wxUSE_GRID='$DEFAULT_wxUSE_GRID
7401 eval "$ac_cv_use_grid"
7402 if test "$no_cache" != 1; then
7403 echo $ac_cv_use_grid >> ${wx_arg_cache_file}.tmp
7406 if test "$wxUSE_GRID" = yes; then
7407 echo "$as_me:$LINENO: result: yes" >&5
7408 echo "${ECHO_T}yes" >&6
7410 echo "$as_me:$LINENO: result: no" >&5
7411 echo "${ECHO_T}no" >&6
7416 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-imaglist" >&5
7417 echo $ECHO_N "checking for --${enablestring:-enable}-imaglist... $ECHO_C" >&6
7419 # Check whether --enable-imaglist or --disable-imaglist was given.
7420 if test "${enable_imaglist+set}" = set; then
7421 enableval
="$enable_imaglist"
7423 if test "$enableval" = yes; then
7424 ac_cv_use_imaglist
='wxUSE_IMAGLIST=yes'
7426 ac_cv_use_imaglist
='wxUSE_IMAGLIST=no'
7431 LINE
=`grep "wxUSE_IMAGLIST" ${wx_arg_cache_file}`
7432 if test "x$LINE" != x
; then
7433 eval "DEFAULT_$LINE"
7438 ac_cv_use_imaglist
='wxUSE_IMAGLIST='$DEFAULT_wxUSE_IMAGLIST
7442 eval "$ac_cv_use_imaglist"
7443 if test "$no_cache" != 1; then
7444 echo $ac_cv_use_imaglist >> ${wx_arg_cache_file}.tmp
7447 if test "$wxUSE_IMAGLIST" = yes; then
7448 echo "$as_me:$LINENO: result: yes" >&5
7449 echo "${ECHO_T}yes" >&6
7451 echo "$as_me:$LINENO: result: no" >&5
7452 echo "${ECHO_T}no" >&6
7457 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listbook" >&5
7458 echo $ECHO_N "checking for --${enablestring:-enable}-listbook... $ECHO_C" >&6
7460 # Check whether --enable-listbook or --disable-listbook was given.
7461 if test "${enable_listbook+set}" = set; then
7462 enableval
="$enable_listbook"
7464 if test "$enableval" = yes; then
7465 ac_cv_use_listbook
='wxUSE_LISTBOOK=yes'
7467 ac_cv_use_listbook
='wxUSE_LISTBOOK=no'
7472 LINE
=`grep "wxUSE_LISTBOOK" ${wx_arg_cache_file}`
7473 if test "x$LINE" != x
; then
7474 eval "DEFAULT_$LINE"
7479 ac_cv_use_listbook
='wxUSE_LISTBOOK='$DEFAULT_wxUSE_LISTBOOK
7483 eval "$ac_cv_use_listbook"
7484 if test "$no_cache" != 1; then
7485 echo $ac_cv_use_listbook >> ${wx_arg_cache_file}.tmp
7488 if test "$wxUSE_LISTBOOK" = yes; then
7489 echo "$as_me:$LINENO: result: yes" >&5
7490 echo "${ECHO_T}yes" >&6
7492 echo "$as_me:$LINENO: result: no" >&5
7493 echo "${ECHO_T}no" >&6
7498 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listbox" >&5
7499 echo $ECHO_N "checking for --${enablestring:-enable}-listbox... $ECHO_C" >&6
7501 # Check whether --enable-listbox or --disable-listbox was given.
7502 if test "${enable_listbox+set}" = set; then
7503 enableval
="$enable_listbox"
7505 if test "$enableval" = yes; then
7506 ac_cv_use_listbox
='wxUSE_LISTBOX=yes'
7508 ac_cv_use_listbox
='wxUSE_LISTBOX=no'
7513 LINE
=`grep "wxUSE_LISTBOX" ${wx_arg_cache_file}`
7514 if test "x$LINE" != x
; then
7515 eval "DEFAULT_$LINE"
7520 ac_cv_use_listbox
='wxUSE_LISTBOX='$DEFAULT_wxUSE_LISTBOX
7524 eval "$ac_cv_use_listbox"
7525 if test "$no_cache" != 1; then
7526 echo $ac_cv_use_listbox >> ${wx_arg_cache_file}.tmp
7529 if test "$wxUSE_LISTBOX" = yes; then
7530 echo "$as_me:$LINENO: result: yes" >&5
7531 echo "${ECHO_T}yes" >&6
7533 echo "$as_me:$LINENO: result: no" >&5
7534 echo "${ECHO_T}no" >&6
7539 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listctrl" >&5
7540 echo $ECHO_N "checking for --${enablestring:-enable}-listctrl... $ECHO_C" >&6
7542 # Check whether --enable-listctrl or --disable-listctrl was given.
7543 if test "${enable_listctrl+set}" = set; then
7544 enableval
="$enable_listctrl"
7546 if test "$enableval" = yes; then
7547 ac_cv_use_listctrl
='wxUSE_LISTCTRL=yes'
7549 ac_cv_use_listctrl
='wxUSE_LISTCTRL=no'
7554 LINE
=`grep "wxUSE_LISTCTRL" ${wx_arg_cache_file}`
7555 if test "x$LINE" != x
; then
7556 eval "DEFAULT_$LINE"
7561 ac_cv_use_listctrl
='wxUSE_LISTCTRL='$DEFAULT_wxUSE_LISTCTRL
7565 eval "$ac_cv_use_listctrl"
7566 if test "$no_cache" != 1; then
7567 echo $ac_cv_use_listctrl >> ${wx_arg_cache_file}.tmp
7570 if test "$wxUSE_LISTCTRL" = yes; then
7571 echo "$as_me:$LINENO: result: yes" >&5
7572 echo "${ECHO_T}yes" >&6
7574 echo "$as_me:$LINENO: result: no" >&5
7575 echo "${ECHO_T}no" >&6
7580 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-notebook" >&5
7581 echo $ECHO_N "checking for --${enablestring:-enable}-notebook... $ECHO_C" >&6
7583 # Check whether --enable-notebook or --disable-notebook was given.
7584 if test "${enable_notebook+set}" = set; then
7585 enableval
="$enable_notebook"
7587 if test "$enableval" = yes; then
7588 ac_cv_use_notebook
='wxUSE_NOTEBOOK=yes'
7590 ac_cv_use_notebook
='wxUSE_NOTEBOOK=no'
7595 LINE
=`grep "wxUSE_NOTEBOOK" ${wx_arg_cache_file}`
7596 if test "x$LINE" != x
; then
7597 eval "DEFAULT_$LINE"
7602 ac_cv_use_notebook
='wxUSE_NOTEBOOK='$DEFAULT_wxUSE_NOTEBOOK
7606 eval "$ac_cv_use_notebook"
7607 if test "$no_cache" != 1; then
7608 echo $ac_cv_use_notebook >> ${wx_arg_cache_file}.tmp
7611 if test "$wxUSE_NOTEBOOK" = yes; then
7612 echo "$as_me:$LINENO: result: yes" >&5
7613 echo "${ECHO_T}yes" >&6
7615 echo "$as_me:$LINENO: result: no" >&5
7616 echo "${ECHO_T}no" >&6
7621 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-radiobox" >&5
7622 echo $ECHO_N "checking for --${enablestring:-enable}-radiobox... $ECHO_C" >&6
7624 # Check whether --enable-radiobox or --disable-radiobox was given.
7625 if test "${enable_radiobox+set}" = set; then
7626 enableval
="$enable_radiobox"
7628 if test "$enableval" = yes; then
7629 ac_cv_use_radiobox
='wxUSE_RADIOBOX=yes'
7631 ac_cv_use_radiobox
='wxUSE_RADIOBOX=no'
7636 LINE
=`grep "wxUSE_RADIOBOX" ${wx_arg_cache_file}`
7637 if test "x$LINE" != x
; then
7638 eval "DEFAULT_$LINE"
7643 ac_cv_use_radiobox
='wxUSE_RADIOBOX='$DEFAULT_wxUSE_RADIOBOX
7647 eval "$ac_cv_use_radiobox"
7648 if test "$no_cache" != 1; then
7649 echo $ac_cv_use_radiobox >> ${wx_arg_cache_file}.tmp
7652 if test "$wxUSE_RADIOBOX" = yes; then
7653 echo "$as_me:$LINENO: result: yes" >&5
7654 echo "${ECHO_T}yes" >&6
7656 echo "$as_me:$LINENO: result: no" >&5
7657 echo "${ECHO_T}no" >&6
7662 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-radiobtn" >&5
7663 echo $ECHO_N "checking for --${enablestring:-enable}-radiobtn... $ECHO_C" >&6
7665 # Check whether --enable-radiobtn or --disable-radiobtn was given.
7666 if test "${enable_radiobtn+set}" = set; then
7667 enableval
="$enable_radiobtn"
7669 if test "$enableval" = yes; then
7670 ac_cv_use_radiobtn
='wxUSE_RADIOBTN=yes'
7672 ac_cv_use_radiobtn
='wxUSE_RADIOBTN=no'
7677 LINE
=`grep "wxUSE_RADIOBTN" ${wx_arg_cache_file}`
7678 if test "x$LINE" != x
; then
7679 eval "DEFAULT_$LINE"
7684 ac_cv_use_radiobtn
='wxUSE_RADIOBTN='$DEFAULT_wxUSE_RADIOBTN
7688 eval "$ac_cv_use_radiobtn"
7689 if test "$no_cache" != 1; then
7690 echo $ac_cv_use_radiobtn >> ${wx_arg_cache_file}.tmp
7693 if test "$wxUSE_RADIOBTN" = yes; then
7694 echo "$as_me:$LINENO: result: yes" >&5
7695 echo "${ECHO_T}yes" >&6
7697 echo "$as_me:$LINENO: result: no" >&5
7698 echo "${ECHO_T}no" >&6
7703 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sash" >&5
7704 echo $ECHO_N "checking for --${enablestring:-enable}-sash... $ECHO_C" >&6
7706 # Check whether --enable-sash or --disable-sash was given.
7707 if test "${enable_sash+set}" = set; then
7708 enableval
="$enable_sash"
7710 if test "$enableval" = yes; then
7711 ac_cv_use_sash
='wxUSE_SASH=yes'
7713 ac_cv_use_sash
='wxUSE_SASH=no'
7718 LINE
=`grep "wxUSE_SASH" ${wx_arg_cache_file}`
7719 if test "x$LINE" != x
; then
7720 eval "DEFAULT_$LINE"
7725 ac_cv_use_sash
='wxUSE_SASH='$DEFAULT_wxUSE_SASH
7729 eval "$ac_cv_use_sash"
7730 if test "$no_cache" != 1; then
7731 echo $ac_cv_use_sash >> ${wx_arg_cache_file}.tmp
7734 if test "$wxUSE_SASH" = yes; then
7735 echo "$as_me:$LINENO: result: yes" >&5
7736 echo "${ECHO_T}yes" >&6
7738 echo "$as_me:$LINENO: result: no" >&5
7739 echo "${ECHO_T}no" >&6
7744 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-scrollbar" >&5
7745 echo $ECHO_N "checking for --${enablestring:-enable}-scrollbar... $ECHO_C" >&6
7747 # Check whether --enable-scrollbar or --disable-scrollbar was given.
7748 if test "${enable_scrollbar+set}" = set; then
7749 enableval
="$enable_scrollbar"
7751 if test "$enableval" = yes; then
7752 ac_cv_use_scrollbar
='wxUSE_SCROLLBAR=yes'
7754 ac_cv_use_scrollbar
='wxUSE_SCROLLBAR=no'
7759 LINE
=`grep "wxUSE_SCROLLBAR" ${wx_arg_cache_file}`
7760 if test "x$LINE" != x
; then
7761 eval "DEFAULT_$LINE"
7766 ac_cv_use_scrollbar
='wxUSE_SCROLLBAR='$DEFAULT_wxUSE_SCROLLBAR
7770 eval "$ac_cv_use_scrollbar"
7771 if test "$no_cache" != 1; then
7772 echo $ac_cv_use_scrollbar >> ${wx_arg_cache_file}.tmp
7775 if test "$wxUSE_SCROLLBAR" = yes; then
7776 echo "$as_me:$LINENO: result: yes" >&5
7777 echo "${ECHO_T}yes" >&6
7779 echo "$as_me:$LINENO: result: no" >&5
7780 echo "${ECHO_T}no" >&6
7785 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-slider" >&5
7786 echo $ECHO_N "checking for --${enablestring:-enable}-slider... $ECHO_C" >&6
7788 # Check whether --enable-slider or --disable-slider was given.
7789 if test "${enable_slider+set}" = set; then
7790 enableval
="$enable_slider"
7792 if test "$enableval" = yes; then
7793 ac_cv_use_slider
='wxUSE_SLIDER=yes'
7795 ac_cv_use_slider
='wxUSE_SLIDER=no'
7800 LINE
=`grep "wxUSE_SLIDER" ${wx_arg_cache_file}`
7801 if test "x$LINE" != x
; then
7802 eval "DEFAULT_$LINE"
7807 ac_cv_use_slider
='wxUSE_SLIDER='$DEFAULT_wxUSE_SLIDER
7811 eval "$ac_cv_use_slider"
7812 if test "$no_cache" != 1; then
7813 echo $ac_cv_use_slider >> ${wx_arg_cache_file}.tmp
7816 if test "$wxUSE_SLIDER" = yes; then
7817 echo "$as_me:$LINENO: result: yes" >&5
7818 echo "${ECHO_T}yes" >&6
7820 echo "$as_me:$LINENO: result: no" >&5
7821 echo "${ECHO_T}no" >&6
7826 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-spinbtn" >&5
7827 echo $ECHO_N "checking for --${enablestring:-enable}-spinbtn... $ECHO_C" >&6
7829 # Check whether --enable-spinbtn or --disable-spinbtn was given.
7830 if test "${enable_spinbtn+set}" = set; then
7831 enableval
="$enable_spinbtn"
7833 if test "$enableval" = yes; then
7834 ac_cv_use_spinbtn
='wxUSE_SPINBTN=yes'
7836 ac_cv_use_spinbtn
='wxUSE_SPINBTN=no'
7841 LINE
=`grep "wxUSE_SPINBTN" ${wx_arg_cache_file}`
7842 if test "x$LINE" != x
; then
7843 eval "DEFAULT_$LINE"
7848 ac_cv_use_spinbtn
='wxUSE_SPINBTN='$DEFAULT_wxUSE_SPINBTN
7852 eval "$ac_cv_use_spinbtn"
7853 if test "$no_cache" != 1; then
7854 echo $ac_cv_use_spinbtn >> ${wx_arg_cache_file}.tmp
7857 if test "$wxUSE_SPINBTN" = yes; then
7858 echo "$as_me:$LINENO: result: yes" >&5
7859 echo "${ECHO_T}yes" >&6
7861 echo "$as_me:$LINENO: result: no" >&5
7862 echo "${ECHO_T}no" >&6
7867 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-spinctrl" >&5
7868 echo $ECHO_N "checking for --${enablestring:-enable}-spinctrl... $ECHO_C" >&6
7870 # Check whether --enable-spinctrl or --disable-spinctrl was given.
7871 if test "${enable_spinctrl+set}" = set; then
7872 enableval
="$enable_spinctrl"
7874 if test "$enableval" = yes; then
7875 ac_cv_use_spinctrl
='wxUSE_SPINCTRL=yes'
7877 ac_cv_use_spinctrl
='wxUSE_SPINCTRL=no'
7882 LINE
=`grep "wxUSE_SPINCTRL" ${wx_arg_cache_file}`
7883 if test "x$LINE" != x
; then
7884 eval "DEFAULT_$LINE"
7889 ac_cv_use_spinctrl
='wxUSE_SPINCTRL='$DEFAULT_wxUSE_SPINCTRL
7893 eval "$ac_cv_use_spinctrl"
7894 if test "$no_cache" != 1; then
7895 echo $ac_cv_use_spinctrl >> ${wx_arg_cache_file}.tmp
7898 if test "$wxUSE_SPINCTRL" = yes; then
7899 echo "$as_me:$LINENO: result: yes" >&5
7900 echo "${ECHO_T}yes" >&6
7902 echo "$as_me:$LINENO: result: no" >&5
7903 echo "${ECHO_T}no" >&6
7908 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splitter" >&5
7909 echo $ECHO_N "checking for --${enablestring:-enable}-splitter... $ECHO_C" >&6
7911 # Check whether --enable-splitter or --disable-splitter was given.
7912 if test "${enable_splitter+set}" = set; then
7913 enableval
="$enable_splitter"
7915 if test "$enableval" = yes; then
7916 ac_cv_use_splitter
='wxUSE_SPLITTER=yes'
7918 ac_cv_use_splitter
='wxUSE_SPLITTER=no'
7923 LINE
=`grep "wxUSE_SPLITTER" ${wx_arg_cache_file}`
7924 if test "x$LINE" != x
; then
7925 eval "DEFAULT_$LINE"
7930 ac_cv_use_splitter
='wxUSE_SPLITTER='$DEFAULT_wxUSE_SPLITTER
7934 eval "$ac_cv_use_splitter"
7935 if test "$no_cache" != 1; then
7936 echo $ac_cv_use_splitter >> ${wx_arg_cache_file}.tmp
7939 if test "$wxUSE_SPLITTER" = yes; then
7940 echo "$as_me:$LINENO: result: yes" >&5
7941 echo "${ECHO_T}yes" >&6
7943 echo "$as_me:$LINENO: result: no" >&5
7944 echo "${ECHO_T}no" >&6
7949 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statbmp" >&5
7950 echo $ECHO_N "checking for --${enablestring:-enable}-statbmp... $ECHO_C" >&6
7952 # Check whether --enable-statbmp or --disable-statbmp was given.
7953 if test "${enable_statbmp+set}" = set; then
7954 enableval
="$enable_statbmp"
7956 if test "$enableval" = yes; then
7957 ac_cv_use_statbmp
='wxUSE_STATBMP=yes'
7959 ac_cv_use_statbmp
='wxUSE_STATBMP=no'
7964 LINE
=`grep "wxUSE_STATBMP" ${wx_arg_cache_file}`
7965 if test "x$LINE" != x
; then
7966 eval "DEFAULT_$LINE"
7971 ac_cv_use_statbmp
='wxUSE_STATBMP='$DEFAULT_wxUSE_STATBMP
7975 eval "$ac_cv_use_statbmp"
7976 if test "$no_cache" != 1; then
7977 echo $ac_cv_use_statbmp >> ${wx_arg_cache_file}.tmp
7980 if test "$wxUSE_STATBMP" = yes; then
7981 echo "$as_me:$LINENO: result: yes" >&5
7982 echo "${ECHO_T}yes" >&6
7984 echo "$as_me:$LINENO: result: no" >&5
7985 echo "${ECHO_T}no" >&6
7990 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statbox" >&5
7991 echo $ECHO_N "checking for --${enablestring:-enable}-statbox... $ECHO_C" >&6
7993 # Check whether --enable-statbox or --disable-statbox was given.
7994 if test "${enable_statbox+set}" = set; then
7995 enableval
="$enable_statbox"
7997 if test "$enableval" = yes; then
7998 ac_cv_use_statbox
='wxUSE_STATBOX=yes'
8000 ac_cv_use_statbox
='wxUSE_STATBOX=no'
8005 LINE
=`grep "wxUSE_STATBOX" ${wx_arg_cache_file}`
8006 if test "x$LINE" != x
; then
8007 eval "DEFAULT_$LINE"
8012 ac_cv_use_statbox
='wxUSE_STATBOX='$DEFAULT_wxUSE_STATBOX
8016 eval "$ac_cv_use_statbox"
8017 if test "$no_cache" != 1; then
8018 echo $ac_cv_use_statbox >> ${wx_arg_cache_file}.tmp
8021 if test "$wxUSE_STATBOX" = yes; then
8022 echo "$as_me:$LINENO: result: yes" >&5
8023 echo "${ECHO_T}yes" >&6
8025 echo "$as_me:$LINENO: result: no" >&5
8026 echo "${ECHO_T}no" >&6
8031 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statline" >&5
8032 echo $ECHO_N "checking for --${enablestring:-enable}-statline... $ECHO_C" >&6
8034 # Check whether --enable-statline or --disable-statline was given.
8035 if test "${enable_statline+set}" = set; then
8036 enableval
="$enable_statline"
8038 if test "$enableval" = yes; then
8039 ac_cv_use_statline
='wxUSE_STATLINE=yes'
8041 ac_cv_use_statline
='wxUSE_STATLINE=no'
8046 LINE
=`grep "wxUSE_STATLINE" ${wx_arg_cache_file}`
8047 if test "x$LINE" != x
; then
8048 eval "DEFAULT_$LINE"
8053 ac_cv_use_statline
='wxUSE_STATLINE='$DEFAULT_wxUSE_STATLINE
8057 eval "$ac_cv_use_statline"
8058 if test "$no_cache" != 1; then
8059 echo $ac_cv_use_statline >> ${wx_arg_cache_file}.tmp
8062 if test "$wxUSE_STATLINE" = yes; then
8063 echo "$as_me:$LINENO: result: yes" >&5
8064 echo "${ECHO_T}yes" >&6
8066 echo "$as_me:$LINENO: result: no" >&5
8067 echo "${ECHO_T}no" >&6
8072 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stattext" >&5
8073 echo $ECHO_N "checking for --${enablestring:-enable}-stattext... $ECHO_C" >&6
8075 # Check whether --enable-stattext or --disable-stattext was given.
8076 if test "${enable_stattext+set}" = set; then
8077 enableval
="$enable_stattext"
8079 if test "$enableval" = yes; then
8080 ac_cv_use_stattext
='wxUSE_STATTEXT=yes'
8082 ac_cv_use_stattext
='wxUSE_STATTEXT=no'
8087 LINE
=`grep "wxUSE_STATTEXT" ${wx_arg_cache_file}`
8088 if test "x$LINE" != x
; then
8089 eval "DEFAULT_$LINE"
8094 ac_cv_use_stattext
='wxUSE_STATTEXT='$DEFAULT_wxUSE_STATTEXT
8098 eval "$ac_cv_use_stattext"
8099 if test "$no_cache" != 1; then
8100 echo $ac_cv_use_stattext >> ${wx_arg_cache_file}.tmp
8103 if test "$wxUSE_STATTEXT" = yes; then
8104 echo "$as_me:$LINENO: result: yes" >&5
8105 echo "${ECHO_T}yes" >&6
8107 echo "$as_me:$LINENO: result: no" >&5
8108 echo "${ECHO_T}no" >&6
8113 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statusbar" >&5
8114 echo $ECHO_N "checking for --${enablestring:-enable}-statusbar... $ECHO_C" >&6
8116 # Check whether --enable-statusbar or --disable-statusbar was given.
8117 if test "${enable_statusbar+set}" = set; then
8118 enableval
="$enable_statusbar"
8120 if test "$enableval" = yes; then
8121 ac_cv_use_statusbar
='wxUSE_STATUSBAR=yes'
8123 ac_cv_use_statusbar
='wxUSE_STATUSBAR=no'
8128 LINE
=`grep "wxUSE_STATUSBAR" ${wx_arg_cache_file}`
8129 if test "x$LINE" != x
; then
8130 eval "DEFAULT_$LINE"
8135 ac_cv_use_statusbar
='wxUSE_STATUSBAR='$DEFAULT_wxUSE_STATUSBAR
8139 eval "$ac_cv_use_statusbar"
8140 if test "$no_cache" != 1; then
8141 echo $ac_cv_use_statusbar >> ${wx_arg_cache_file}.tmp
8144 if test "$wxUSE_STATUSBAR" = yes; then
8145 echo "$as_me:$LINENO: result: yes" >&5
8146 echo "${ECHO_T}yes" >&6
8148 echo "$as_me:$LINENO: result: no" >&5
8149 echo "${ECHO_T}no" >&6
8154 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tabdialog" >&5
8155 echo $ECHO_N "checking for --${enablestring:-enable}-tabdialog... $ECHO_C" >&6
8157 # Check whether --enable-tabdialog or --disable-tabdialog was given.
8158 if test "${enable_tabdialog+set}" = set; then
8159 enableval
="$enable_tabdialog"
8161 if test "$enableval" = yes; then
8162 ac_cv_use_tabdialog
='wxUSE_TABDIALOG=yes'
8164 ac_cv_use_tabdialog
='wxUSE_TABDIALOG=no'
8169 LINE
=`grep "wxUSE_TABDIALOG" ${wx_arg_cache_file}`
8170 if test "x$LINE" != x
; then
8171 eval "DEFAULT_$LINE"
8176 ac_cv_use_tabdialog
='wxUSE_TABDIALOG='$DEFAULT_wxUSE_TABDIALOG
8180 eval "$ac_cv_use_tabdialog"
8181 if test "$no_cache" != 1; then
8182 echo $ac_cv_use_tabdialog >> ${wx_arg_cache_file}.tmp
8185 if test "$wxUSE_TABDIALOG" = yes; then
8186 echo "$as_me:$LINENO: result: yes" >&5
8187 echo "${ECHO_T}yes" >&6
8189 echo "$as_me:$LINENO: result: no" >&5
8190 echo "${ECHO_T}no" >&6
8195 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textctrl" >&5
8196 echo $ECHO_N "checking for --${enablestring:-enable}-textctrl... $ECHO_C" >&6
8198 # Check whether --enable-textctrl or --disable-textctrl was given.
8199 if test "${enable_textctrl+set}" = set; then
8200 enableval
="$enable_textctrl"
8202 if test "$enableval" = yes; then
8203 ac_cv_use_textctrl
='wxUSE_TEXTCTRL=yes'
8205 ac_cv_use_textctrl
='wxUSE_TEXTCTRL=no'
8210 LINE
=`grep "wxUSE_TEXTCTRL" ${wx_arg_cache_file}`
8211 if test "x$LINE" != x
; then
8212 eval "DEFAULT_$LINE"
8217 ac_cv_use_textctrl
='wxUSE_TEXTCTRL='$DEFAULT_wxUSE_TEXTCTRL
8221 eval "$ac_cv_use_textctrl"
8222 if test "$no_cache" != 1; then
8223 echo $ac_cv_use_textctrl >> ${wx_arg_cache_file}.tmp
8226 if test "$wxUSE_TEXTCTRL" = yes; then
8227 echo "$as_me:$LINENO: result: yes" >&5
8228 echo "${ECHO_T}yes" >&6
8230 echo "$as_me:$LINENO: result: no" >&5
8231 echo "${ECHO_T}no" >&6
8236 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-togglebtn" >&5
8237 echo $ECHO_N "checking for --${enablestring:-enable}-togglebtn... $ECHO_C" >&6
8239 # Check whether --enable-togglebtn or --disable-togglebtn was given.
8240 if test "${enable_togglebtn+set}" = set; then
8241 enableval
="$enable_togglebtn"
8243 if test "$enableval" = yes; then
8244 ac_cv_use_togglebtn
='wxUSE_TOGGLEBTN=yes'
8246 ac_cv_use_togglebtn
='wxUSE_TOGGLEBTN=no'
8251 LINE
=`grep "wxUSE_TOGGLEBTN" ${wx_arg_cache_file}`
8252 if test "x$LINE" != x
; then
8253 eval "DEFAULT_$LINE"
8258 ac_cv_use_togglebtn
='wxUSE_TOGGLEBTN='$DEFAULT_wxUSE_TOGGLEBTN
8262 eval "$ac_cv_use_togglebtn"
8263 if test "$no_cache" != 1; then
8264 echo $ac_cv_use_togglebtn >> ${wx_arg_cache_file}.tmp
8267 if test "$wxUSE_TOGGLEBTN" = yes; then
8268 echo "$as_me:$LINENO: result: yes" >&5
8269 echo "${ECHO_T}yes" >&6
8271 echo "$as_me:$LINENO: result: no" >&5
8272 echo "${ECHO_T}no" >&6
8277 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-toolbar" >&5
8278 echo $ECHO_N "checking for --${enablestring:-enable}-toolbar... $ECHO_C" >&6
8280 # Check whether --enable-toolbar or --disable-toolbar was given.
8281 if test "${enable_toolbar+set}" = set; then
8282 enableval
="$enable_toolbar"
8284 if test "$enableval" = yes; then
8285 ac_cv_use_toolbar
='wxUSE_TOOLBAR=yes'
8287 ac_cv_use_toolbar
='wxUSE_TOOLBAR=no'
8292 LINE
=`grep "wxUSE_TOOLBAR" ${wx_arg_cache_file}`
8293 if test "x$LINE" != x
; then
8294 eval "DEFAULT_$LINE"
8299 ac_cv_use_toolbar
='wxUSE_TOOLBAR='$DEFAULT_wxUSE_TOOLBAR
8303 eval "$ac_cv_use_toolbar"
8304 if test "$no_cache" != 1; then
8305 echo $ac_cv_use_toolbar >> ${wx_arg_cache_file}.tmp
8308 if test "$wxUSE_TOOLBAR" = yes; then
8309 echo "$as_me:$LINENO: result: yes" >&5
8310 echo "${ECHO_T}yes" >&6
8312 echo "$as_me:$LINENO: result: no" >&5
8313 echo "${ECHO_T}no" >&6
8318 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tbarnative" >&5
8319 echo $ECHO_N "checking for --${enablestring:-enable}-tbarnative... $ECHO_C" >&6
8321 # Check whether --enable-tbarnative or --disable-tbarnative was given.
8322 if test "${enable_tbarnative+set}" = set; then
8323 enableval
="$enable_tbarnative"
8325 if test "$enableval" = yes; then
8326 ac_cv_use_tbarnative
='wxUSE_TOOLBAR_NATIVE=yes'
8328 ac_cv_use_tbarnative
='wxUSE_TOOLBAR_NATIVE=no'
8333 LINE
=`grep "wxUSE_TOOLBAR_NATIVE" ${wx_arg_cache_file}`
8334 if test "x$LINE" != x
; then
8335 eval "DEFAULT_$LINE"
8340 ac_cv_use_tbarnative
='wxUSE_TOOLBAR_NATIVE='$DEFAULT_wxUSE_TOOLBAR_NATIVE
8344 eval "$ac_cv_use_tbarnative"
8345 if test "$no_cache" != 1; then
8346 echo $ac_cv_use_tbarnative >> ${wx_arg_cache_file}.tmp
8349 if test "$wxUSE_TOOLBAR_NATIVE" = yes; then
8350 echo "$as_me:$LINENO: result: yes" >&5
8351 echo "${ECHO_T}yes" >&6
8353 echo "$as_me:$LINENO: result: no" >&5
8354 echo "${ECHO_T}no" >&6
8359 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tbarsmpl" >&5
8360 echo $ECHO_N "checking for --${enablestring:-enable}-tbarsmpl... $ECHO_C" >&6
8362 # Check whether --enable-tbarsmpl or --disable-tbarsmpl was given.
8363 if test "${enable_tbarsmpl+set}" = set; then
8364 enableval
="$enable_tbarsmpl"
8366 if test "$enableval" = yes; then
8367 ac_cv_use_tbarsmpl
='wxUSE_TOOLBAR_SIMPLE=yes'
8369 ac_cv_use_tbarsmpl
='wxUSE_TOOLBAR_SIMPLE=no'
8374 LINE
=`grep "wxUSE_TOOLBAR_SIMPLE" ${wx_arg_cache_file}`
8375 if test "x$LINE" != x
; then
8376 eval "DEFAULT_$LINE"
8381 ac_cv_use_tbarsmpl
='wxUSE_TOOLBAR_SIMPLE='$DEFAULT_wxUSE_TOOLBAR_SIMPLE
8385 eval "$ac_cv_use_tbarsmpl"
8386 if test "$no_cache" != 1; then
8387 echo $ac_cv_use_tbarsmpl >> ${wx_arg_cache_file}.tmp
8390 if test "$wxUSE_TOOLBAR_SIMPLE" = yes; then
8391 echo "$as_me:$LINENO: result: yes" >&5
8392 echo "${ECHO_T}yes" >&6
8394 echo "$as_me:$LINENO: result: no" >&5
8395 echo "${ECHO_T}no" >&6
8400 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-treectrl" >&5
8401 echo $ECHO_N "checking for --${enablestring:-enable}-treectrl... $ECHO_C" >&6
8403 # Check whether --enable-treectrl or --disable-treectrl was given.
8404 if test "${enable_treectrl+set}" = set; then
8405 enableval
="$enable_treectrl"
8407 if test "$enableval" = yes; then
8408 ac_cv_use_treectrl
='wxUSE_TREECTRL=yes'
8410 ac_cv_use_treectrl
='wxUSE_TREECTRL=no'
8415 LINE
=`grep "wxUSE_TREECTRL" ${wx_arg_cache_file}`
8416 if test "x$LINE" != x
; then
8417 eval "DEFAULT_$LINE"
8422 ac_cv_use_treectrl
='wxUSE_TREECTRL='$DEFAULT_wxUSE_TREECTRL
8426 eval "$ac_cv_use_treectrl"
8427 if test "$no_cache" != 1; then
8428 echo $ac_cv_use_treectrl >> ${wx_arg_cache_file}.tmp
8431 if test "$wxUSE_TREECTRL" = yes; then
8432 echo "$as_me:$LINENO: result: yes" >&5
8433 echo "${ECHO_T}yes" >&6
8435 echo "$as_me:$LINENO: result: no" >&5
8436 echo "${ECHO_T}no" >&6
8441 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tipwindow" >&5
8442 echo $ECHO_N "checking for --${enablestring:-enable}-tipwindow... $ECHO_C" >&6
8444 # Check whether --enable-tipwindow or --disable-tipwindow was given.
8445 if test "${enable_tipwindow+set}" = set; then
8446 enableval
="$enable_tipwindow"
8448 if test "$enableval" = yes; then
8449 ac_cv_use_tipwindow
='wxUSE_TIPWINDOW=yes'
8451 ac_cv_use_tipwindow
='wxUSE_TIPWINDOW=no'
8456 LINE
=`grep "wxUSE_TIPWINDOW" ${wx_arg_cache_file}`
8457 if test "x$LINE" != x
; then
8458 eval "DEFAULT_$LINE"
8463 ac_cv_use_tipwindow
='wxUSE_TIPWINDOW='$DEFAULT_wxUSE_TIPWINDOW
8467 eval "$ac_cv_use_tipwindow"
8468 if test "$no_cache" != 1; then
8469 echo $ac_cv_use_tipwindow >> ${wx_arg_cache_file}.tmp
8472 if test "$wxUSE_TIPWINDOW" = yes; then
8473 echo "$as_me:$LINENO: result: yes" >&5
8474 echo "${ECHO_T}yes" >&6
8476 echo "$as_me:$LINENO: result: no" >&5
8477 echo "${ECHO_T}no" >&6
8482 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-popupwin" >&5
8483 echo $ECHO_N "checking for --${enablestring:-enable}-popupwin... $ECHO_C" >&6
8485 # Check whether --enable-popupwin or --disable-popupwin was given.
8486 if test "${enable_popupwin+set}" = set; then
8487 enableval
="$enable_popupwin"
8489 if test "$enableval" = yes; then
8490 ac_cv_use_popupwin
='wxUSE_POPUPWIN=yes'
8492 ac_cv_use_popupwin
='wxUSE_POPUPWIN=no'
8497 LINE
=`grep "wxUSE_POPUPWIN" ${wx_arg_cache_file}`
8498 if test "x$LINE" != x
; then
8499 eval "DEFAULT_$LINE"
8504 ac_cv_use_popupwin
='wxUSE_POPUPWIN='$DEFAULT_wxUSE_POPUPWIN
8508 eval "$ac_cv_use_popupwin"
8509 if test "$no_cache" != 1; then
8510 echo $ac_cv_use_popupwin >> ${wx_arg_cache_file}.tmp
8513 if test "$wxUSE_POPUPWIN" = yes; then
8514 echo "$as_me:$LINENO: result: yes" >&5
8515 echo "${ECHO_T}yes" >&6
8517 echo "$as_me:$LINENO: result: no" >&5
8518 echo "${ECHO_T}no" >&6
8525 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-commondlg" >&5
8526 echo $ECHO_N "checking for --${enablestring:-enable}-commondlg... $ECHO_C" >&6
8528 # Check whether --enable-commondlg or --disable-commondlg was given.
8529 if test "${enable_commondlg+set}" = set; then
8530 enableval
="$enable_commondlg"
8532 if test "$enableval" = yes; then
8533 ac_cv_use_commondlg
='wxUSE_COMMONDLGS=yes'
8535 ac_cv_use_commondlg
='wxUSE_COMMONDLGS=no'
8540 LINE
=`grep "wxUSE_COMMONDLGS" ${wx_arg_cache_file}`
8541 if test "x$LINE" != x
; then
8542 eval "DEFAULT_$LINE"
8547 ac_cv_use_commondlg
='wxUSE_COMMONDLGS='$DEFAULT_wxUSE_COMMONDLGS
8551 eval "$ac_cv_use_commondlg"
8552 if test "$no_cache" != 1; then
8553 echo $ac_cv_use_commondlg >> ${wx_arg_cache_file}.tmp
8556 if test "$wxUSE_COMMONDLGS" = yes; then
8557 echo "$as_me:$LINENO: result: yes" >&5
8558 echo "${ECHO_T}yes" >&6
8560 echo "$as_me:$LINENO: result: no" >&5
8561 echo "${ECHO_T}no" >&6
8566 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choicedlg" >&5
8567 echo $ECHO_N "checking for --${enablestring:-enable}-choicedlg... $ECHO_C" >&6
8569 # Check whether --enable-choicedlg or --disable-choicedlg was given.
8570 if test "${enable_choicedlg+set}" = set; then
8571 enableval
="$enable_choicedlg"
8573 if test "$enableval" = yes; then
8574 ac_cv_use_choicedlg
='wxUSE_CHOICEDLG=yes'
8576 ac_cv_use_choicedlg
='wxUSE_CHOICEDLG=no'
8581 LINE
=`grep "wxUSE_CHOICEDLG" ${wx_arg_cache_file}`
8582 if test "x$LINE" != x
; then
8583 eval "DEFAULT_$LINE"
8588 ac_cv_use_choicedlg
='wxUSE_CHOICEDLG='$DEFAULT_wxUSE_CHOICEDLG
8592 eval "$ac_cv_use_choicedlg"
8593 if test "$no_cache" != 1; then
8594 echo $ac_cv_use_choicedlg >> ${wx_arg_cache_file}.tmp
8597 if test "$wxUSE_CHOICEDLG" = yes; then
8598 echo "$as_me:$LINENO: result: yes" >&5
8599 echo "${ECHO_T}yes" >&6
8601 echo "$as_me:$LINENO: result: no" >&5
8602 echo "${ECHO_T}no" >&6
8607 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-coldlg" >&5
8608 echo $ECHO_N "checking for --${enablestring:-enable}-coldlg... $ECHO_C" >&6
8610 # Check whether --enable-coldlg or --disable-coldlg was given.
8611 if test "${enable_coldlg+set}" = set; then
8612 enableval
="$enable_coldlg"
8614 if test "$enableval" = yes; then
8615 ac_cv_use_coldlg
='wxUSE_COLOURDLG=yes'
8617 ac_cv_use_coldlg
='wxUSE_COLOURDLG=no'
8622 LINE
=`grep "wxUSE_COLOURDLG" ${wx_arg_cache_file}`
8623 if test "x$LINE" != x
; then
8624 eval "DEFAULT_$LINE"
8629 ac_cv_use_coldlg
='wxUSE_COLOURDLG='$DEFAULT_wxUSE_COLOURDLG
8633 eval "$ac_cv_use_coldlg"
8634 if test "$no_cache" != 1; then
8635 echo $ac_cv_use_coldlg >> ${wx_arg_cache_file}.tmp
8638 if test "$wxUSE_COLOURDLG" = yes; then
8639 echo "$as_me:$LINENO: result: yes" >&5
8640 echo "${ECHO_T}yes" >&6
8642 echo "$as_me:$LINENO: result: no" >&5
8643 echo "${ECHO_T}no" >&6
8648 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filedlg" >&5
8649 echo $ECHO_N "checking for --${enablestring:-enable}-filedlg... $ECHO_C" >&6
8651 # Check whether --enable-filedlg or --disable-filedlg was given.
8652 if test "${enable_filedlg+set}" = set; then
8653 enableval
="$enable_filedlg"
8655 if test "$enableval" = yes; then
8656 ac_cv_use_filedlg
='wxUSE_FILEDLG=yes'
8658 ac_cv_use_filedlg
='wxUSE_FILEDLG=no'
8663 LINE
=`grep "wxUSE_FILEDLG" ${wx_arg_cache_file}`
8664 if test "x$LINE" != x
; then
8665 eval "DEFAULT_$LINE"
8670 ac_cv_use_filedlg
='wxUSE_FILEDLG='$DEFAULT_wxUSE_FILEDLG
8674 eval "$ac_cv_use_filedlg"
8675 if test "$no_cache" != 1; then
8676 echo $ac_cv_use_filedlg >> ${wx_arg_cache_file}.tmp
8679 if test "$wxUSE_FILEDLG" = yes; then
8680 echo "$as_me:$LINENO: result: yes" >&5
8681 echo "${ECHO_T}yes" >&6
8683 echo "$as_me:$LINENO: result: no" >&5
8684 echo "${ECHO_T}no" >&6
8689 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-finddlg" >&5
8690 echo $ECHO_N "checking for --${enablestring:-enable}-finddlg... $ECHO_C" >&6
8692 # Check whether --enable-finddlg or --disable-finddlg was given.
8693 if test "${enable_finddlg+set}" = set; then
8694 enableval
="$enable_finddlg"
8696 if test "$enableval" = yes; then
8697 ac_cv_use_finddlg
='wxUSE_FINDREPLDLG=yes'
8699 ac_cv_use_finddlg
='wxUSE_FINDREPLDLG=no'
8704 LINE
=`grep "wxUSE_FINDREPLDLG" ${wx_arg_cache_file}`
8705 if test "x$LINE" != x
; then
8706 eval "DEFAULT_$LINE"
8711 ac_cv_use_finddlg
='wxUSE_FINDREPLDLG='$DEFAULT_wxUSE_FINDREPLDLG
8715 eval "$ac_cv_use_finddlg"
8716 if test "$no_cache" != 1; then
8717 echo $ac_cv_use_finddlg >> ${wx_arg_cache_file}.tmp
8720 if test "$wxUSE_FINDREPLDLG" = yes; then
8721 echo "$as_me:$LINENO: result: yes" >&5
8722 echo "${ECHO_T}yes" >&6
8724 echo "$as_me:$LINENO: result: no" >&5
8725 echo "${ECHO_T}no" >&6
8730 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontdlg" >&5
8731 echo $ECHO_N "checking for --${enablestring:-enable}-fontdlg... $ECHO_C" >&6
8733 # Check whether --enable-fontdlg or --disable-fontdlg was given.
8734 if test "${enable_fontdlg+set}" = set; then
8735 enableval
="$enable_fontdlg"
8737 if test "$enableval" = yes; then
8738 ac_cv_use_fontdlg
='wxUSE_FONTDLG=yes'
8740 ac_cv_use_fontdlg
='wxUSE_FONTDLG=no'
8745 LINE
=`grep "wxUSE_FONTDLG" ${wx_arg_cache_file}`
8746 if test "x$LINE" != x
; then
8747 eval "DEFAULT_$LINE"
8752 ac_cv_use_fontdlg
='wxUSE_FONTDLG='$DEFAULT_wxUSE_FONTDLG
8756 eval "$ac_cv_use_fontdlg"
8757 if test "$no_cache" != 1; then
8758 echo $ac_cv_use_fontdlg >> ${wx_arg_cache_file}.tmp
8761 if test "$wxUSE_FONTDLG" = yes; then
8762 echo "$as_me:$LINENO: result: yes" >&5
8763 echo "${ECHO_T}yes" >&6
8765 echo "$as_me:$LINENO: result: no" >&5
8766 echo "${ECHO_T}no" >&6
8771 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dirdlg" >&5
8772 echo $ECHO_N "checking for --${enablestring:-enable}-dirdlg... $ECHO_C" >&6
8774 # Check whether --enable-dirdlg or --disable-dirdlg was given.
8775 if test "${enable_dirdlg+set}" = set; then
8776 enableval
="$enable_dirdlg"
8778 if test "$enableval" = yes; then
8779 ac_cv_use_dirdlg
='wxUSE_DIRDLG=yes'
8781 ac_cv_use_dirdlg
='wxUSE_DIRDLG=no'
8786 LINE
=`grep "wxUSE_DIRDLG" ${wx_arg_cache_file}`
8787 if test "x$LINE" != x
; then
8788 eval "DEFAULT_$LINE"
8793 ac_cv_use_dirdlg
='wxUSE_DIRDLG='$DEFAULT_wxUSE_DIRDLG
8797 eval "$ac_cv_use_dirdlg"
8798 if test "$no_cache" != 1; then
8799 echo $ac_cv_use_dirdlg >> ${wx_arg_cache_file}.tmp
8802 if test "$wxUSE_DIRDLG" = yes; then
8803 echo "$as_me:$LINENO: result: yes" >&5
8804 echo "${ECHO_T}yes" >&6
8806 echo "$as_me:$LINENO: result: no" >&5
8807 echo "${ECHO_T}no" >&6
8812 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-msgdlg" >&5
8813 echo $ECHO_N "checking for --${enablestring:-enable}-msgdlg... $ECHO_C" >&6
8815 # Check whether --enable-msgdlg or --disable-msgdlg was given.
8816 if test "${enable_msgdlg+set}" = set; then
8817 enableval
="$enable_msgdlg"
8819 if test "$enableval" = yes; then
8820 ac_cv_use_msgdlg
='wxUSE_MSGDLG=yes'
8822 ac_cv_use_msgdlg
='wxUSE_MSGDLG=no'
8827 LINE
=`grep "wxUSE_MSGDLG" ${wx_arg_cache_file}`
8828 if test "x$LINE" != x
; then
8829 eval "DEFAULT_$LINE"
8834 ac_cv_use_msgdlg
='wxUSE_MSGDLG='$DEFAULT_wxUSE_MSGDLG
8838 eval "$ac_cv_use_msgdlg"
8839 if test "$no_cache" != 1; then
8840 echo $ac_cv_use_msgdlg >> ${wx_arg_cache_file}.tmp
8843 if test "$wxUSE_MSGDLG" = yes; then
8844 echo "$as_me:$LINENO: result: yes" >&5
8845 echo "${ECHO_T}yes" >&6
8847 echo "$as_me:$LINENO: result: no" >&5
8848 echo "${ECHO_T}no" >&6
8853 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-numberdlg" >&5
8854 echo $ECHO_N "checking for --${enablestring:-enable}-numberdlg... $ECHO_C" >&6
8856 # Check whether --enable-numberdlg or --disable-numberdlg was given.
8857 if test "${enable_numberdlg+set}" = set; then
8858 enableval
="$enable_numberdlg"
8860 if test "$enableval" = yes; then
8861 ac_cv_use_numberdlg
='wxUSE_NUMBERDLG=yes'
8863 ac_cv_use_numberdlg
='wxUSE_NUMBERDLG=no'
8868 LINE
=`grep "wxUSE_NUMBERDLG" ${wx_arg_cache_file}`
8869 if test "x$LINE" != x
; then
8870 eval "DEFAULT_$LINE"
8875 ac_cv_use_numberdlg
='wxUSE_NUMBERDLG='$DEFAULT_wxUSE_NUMBERDLG
8879 eval "$ac_cv_use_numberdlg"
8880 if test "$no_cache" != 1; then
8881 echo $ac_cv_use_numberdlg >> ${wx_arg_cache_file}.tmp
8884 if test "$wxUSE_NUMBERDLG" = yes; then
8885 echo "$as_me:$LINENO: result: yes" >&5
8886 echo "${ECHO_T}yes" >&6
8888 echo "$as_me:$LINENO: result: no" >&5
8889 echo "${ECHO_T}no" >&6
8894 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splash" >&5
8895 echo $ECHO_N "checking for --${enablestring:-enable}-splash... $ECHO_C" >&6
8897 # Check whether --enable-splash or --disable-splash was given.
8898 if test "${enable_splash+set}" = set; then
8899 enableval
="$enable_splash"
8901 if test "$enableval" = yes; then
8902 ac_cv_use_splash
='wxUSE_SPLASH=yes'
8904 ac_cv_use_splash
='wxUSE_SPLASH=no'
8909 LINE
=`grep "wxUSE_SPLASH" ${wx_arg_cache_file}`
8910 if test "x$LINE" != x
; then
8911 eval "DEFAULT_$LINE"
8916 ac_cv_use_splash
='wxUSE_SPLASH='$DEFAULT_wxUSE_SPLASH
8920 eval "$ac_cv_use_splash"
8921 if test "$no_cache" != 1; then
8922 echo $ac_cv_use_splash >> ${wx_arg_cache_file}.tmp
8925 if test "$wxUSE_SPLASH" = yes; then
8926 echo "$as_me:$LINENO: result: yes" >&5
8927 echo "${ECHO_T}yes" >&6
8929 echo "$as_me:$LINENO: result: no" >&5
8930 echo "${ECHO_T}no" >&6
8935 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textdlg" >&5
8936 echo $ECHO_N "checking for --${enablestring:-enable}-textdlg... $ECHO_C" >&6
8938 # Check whether --enable-textdlg or --disable-textdlg was given.
8939 if test "${enable_textdlg+set}" = set; then
8940 enableval
="$enable_textdlg"
8942 if test "$enableval" = yes; then
8943 ac_cv_use_textdlg
='wxUSE_TEXTDLG=yes'
8945 ac_cv_use_textdlg
='wxUSE_TEXTDLG=no'
8950 LINE
=`grep "wxUSE_TEXTDLG" ${wx_arg_cache_file}`
8951 if test "x$LINE" != x
; then
8952 eval "DEFAULT_$LINE"
8957 ac_cv_use_textdlg
='wxUSE_TEXTDLG='$DEFAULT_wxUSE_TEXTDLG
8961 eval "$ac_cv_use_textdlg"
8962 if test "$no_cache" != 1; then
8963 echo $ac_cv_use_textdlg >> ${wx_arg_cache_file}.tmp
8966 if test "$wxUSE_TEXTDLG" = yes; then
8967 echo "$as_me:$LINENO: result: yes" >&5
8968 echo "${ECHO_T}yes" >&6
8970 echo "$as_me:$LINENO: result: no" >&5
8971 echo "${ECHO_T}no" >&6
8976 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tipdlg" >&5
8977 echo $ECHO_N "checking for --${enablestring:-enable}-tipdlg... $ECHO_C" >&6
8979 # Check whether --enable-tipdlg or --disable-tipdlg was given.
8980 if test "${enable_tipdlg+set}" = set; then
8981 enableval
="$enable_tipdlg"
8983 if test "$enableval" = yes; then
8984 ac_cv_use_tipdlg
='wxUSE_STARTUP_TIPS=yes'
8986 ac_cv_use_tipdlg
='wxUSE_STARTUP_TIPS=no'
8991 LINE
=`grep "wxUSE_STARTUP_TIPS" ${wx_arg_cache_file}`
8992 if test "x$LINE" != x
; then
8993 eval "DEFAULT_$LINE"
8998 ac_cv_use_tipdlg
='wxUSE_STARTUP_TIPS='$DEFAULT_wxUSE_STARTUP_TIPS
9002 eval "$ac_cv_use_tipdlg"
9003 if test "$no_cache" != 1; then
9004 echo $ac_cv_use_tipdlg >> ${wx_arg_cache_file}.tmp
9007 if test "$wxUSE_STARTUP_TIPS" = yes; then
9008 echo "$as_me:$LINENO: result: yes" >&5
9009 echo "${ECHO_T}yes" >&6
9011 echo "$as_me:$LINENO: result: no" >&5
9012 echo "${ECHO_T}no" >&6
9017 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-progressdlg" >&5
9018 echo $ECHO_N "checking for --${enablestring:-enable}-progressdlg... $ECHO_C" >&6
9020 # Check whether --enable-progressdlg or --disable-progressdlg was given.
9021 if test "${enable_progressdlg+set}" = set; then
9022 enableval
="$enable_progressdlg"
9024 if test "$enableval" = yes; then
9025 ac_cv_use_progressdlg
='wxUSE_PROGRESSDLG=yes'
9027 ac_cv_use_progressdlg
='wxUSE_PROGRESSDLG=no'
9032 LINE
=`grep "wxUSE_PROGRESSDLG" ${wx_arg_cache_file}`
9033 if test "x$LINE" != x
; then
9034 eval "DEFAULT_$LINE"
9039 ac_cv_use_progressdlg
='wxUSE_PROGRESSDLG='$DEFAULT_wxUSE_PROGRESSDLG
9043 eval "$ac_cv_use_progressdlg"
9044 if test "$no_cache" != 1; then
9045 echo $ac_cv_use_progressdlg >> ${wx_arg_cache_file}.tmp
9048 if test "$wxUSE_PROGRESSDLG" = yes; then
9049 echo "$as_me:$LINENO: result: yes" >&5
9050 echo "${ECHO_T}yes" >&6
9052 echo "$as_me:$LINENO: result: no" >&5
9053 echo "${ECHO_T}no" >&6
9058 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-wizarddlg" >&5
9059 echo $ECHO_N "checking for --${enablestring:-enable}-wizarddlg... $ECHO_C" >&6
9061 # Check whether --enable-wizarddlg or --disable-wizarddlg was given.
9062 if test "${enable_wizarddlg+set}" = set; then
9063 enableval
="$enable_wizarddlg"
9065 if test "$enableval" = yes; then
9066 ac_cv_use_wizarddlg
='wxUSE_WIZARDDLG=yes'
9068 ac_cv_use_wizarddlg
='wxUSE_WIZARDDLG=no'
9073 LINE
=`grep "wxUSE_WIZARDDLG" ${wx_arg_cache_file}`
9074 if test "x$LINE" != x
; then
9075 eval "DEFAULT_$LINE"
9080 ac_cv_use_wizarddlg
='wxUSE_WIZARDDLG='$DEFAULT_wxUSE_WIZARDDLG
9084 eval "$ac_cv_use_wizarddlg"
9085 if test "$no_cache" != 1; then
9086 echo $ac_cv_use_wizarddlg >> ${wx_arg_cache_file}.tmp
9089 if test "$wxUSE_WIZARDDLG" = yes; then
9090 echo "$as_me:$LINENO: result: yes" >&5
9091 echo "${ECHO_T}yes" >&6
9093 echo "$as_me:$LINENO: result: no" >&5
9094 echo "${ECHO_T}no" >&6
9101 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-menus" >&5
9102 echo $ECHO_N "checking for --${enablestring:-enable}-menus... $ECHO_C" >&6
9104 # Check whether --enable-menus or --disable-menus was given.
9105 if test "${enable_menus+set}" = set; then
9106 enableval
="$enable_menus"
9108 if test "$enableval" = yes; then
9109 ac_cv_use_menus
='wxUSE_MENUS=yes'
9111 ac_cv_use_menus
='wxUSE_MENUS=no'
9116 LINE
=`grep "wxUSE_MENUS" ${wx_arg_cache_file}`
9117 if test "x$LINE" != x
; then
9118 eval "DEFAULT_$LINE"
9123 ac_cv_use_menus
='wxUSE_MENUS='$DEFAULT_wxUSE_MENUS
9127 eval "$ac_cv_use_menus"
9128 if test "$no_cache" != 1; then
9129 echo $ac_cv_use_menus >> ${wx_arg_cache_file}.tmp
9132 if test "$wxUSE_MENUS" = yes; then
9133 echo "$as_me:$LINENO: result: yes" >&5
9134 echo "${ECHO_T}yes" >&6
9136 echo "$as_me:$LINENO: result: no" >&5
9137 echo "${ECHO_T}no" >&6
9142 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-miniframe" >&5
9143 echo $ECHO_N "checking for --${enablestring:-enable}-miniframe... $ECHO_C" >&6
9145 # Check whether --enable-miniframe or --disable-miniframe was given.
9146 if test "${enable_miniframe+set}" = set; then
9147 enableval
="$enable_miniframe"
9149 if test "$enableval" = yes; then
9150 ac_cv_use_miniframe
='wxUSE_MINIFRAME=yes'
9152 ac_cv_use_miniframe
='wxUSE_MINIFRAME=no'
9157 LINE
=`grep "wxUSE_MINIFRAME" ${wx_arg_cache_file}`
9158 if test "x$LINE" != x
; then
9159 eval "DEFAULT_$LINE"
9164 ac_cv_use_miniframe
='wxUSE_MINIFRAME='$DEFAULT_wxUSE_MINIFRAME
9168 eval "$ac_cv_use_miniframe"
9169 if test "$no_cache" != 1; then
9170 echo $ac_cv_use_miniframe >> ${wx_arg_cache_file}.tmp
9173 if test "$wxUSE_MINIFRAME" = yes; then
9174 echo "$as_me:$LINENO: result: yes" >&5
9175 echo "${ECHO_T}yes" >&6
9177 echo "$as_me:$LINENO: result: no" >&5
9178 echo "${ECHO_T}no" >&6
9183 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tooltips" >&5
9184 echo $ECHO_N "checking for --${enablestring:-enable}-tooltips... $ECHO_C" >&6
9186 # Check whether --enable-tooltips or --disable-tooltips was given.
9187 if test "${enable_tooltips+set}" = set; then
9188 enableval
="$enable_tooltips"
9190 if test "$enableval" = yes; then
9191 ac_cv_use_tooltips
='wxUSE_TOOLTIPS=yes'
9193 ac_cv_use_tooltips
='wxUSE_TOOLTIPS=no'
9198 LINE
=`grep "wxUSE_TOOLTIPS" ${wx_arg_cache_file}`
9199 if test "x$LINE" != x
; then
9200 eval "DEFAULT_$LINE"
9205 ac_cv_use_tooltips
='wxUSE_TOOLTIPS='$DEFAULT_wxUSE_TOOLTIPS
9209 eval "$ac_cv_use_tooltips"
9210 if test "$no_cache" != 1; then
9211 echo $ac_cv_use_tooltips >> ${wx_arg_cache_file}.tmp
9214 if test "$wxUSE_TOOLTIPS" = yes; then
9215 echo "$as_me:$LINENO: result: yes" >&5
9216 echo "${ECHO_T}yes" >&6
9218 echo "$as_me:$LINENO: result: no" >&5
9219 echo "${ECHO_T}no" >&6
9224 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splines" >&5
9225 echo $ECHO_N "checking for --${enablestring:-enable}-splines... $ECHO_C" >&6
9227 # Check whether --enable-splines or --disable-splines was given.
9228 if test "${enable_splines+set}" = set; then
9229 enableval
="$enable_splines"
9231 if test "$enableval" = yes; then
9232 ac_cv_use_splines
='wxUSE_SPLINES=yes'
9234 ac_cv_use_splines
='wxUSE_SPLINES=no'
9239 LINE
=`grep "wxUSE_SPLINES" ${wx_arg_cache_file}`
9240 if test "x$LINE" != x
; then
9241 eval "DEFAULT_$LINE"
9246 ac_cv_use_splines
='wxUSE_SPLINES='$DEFAULT_wxUSE_SPLINES
9250 eval "$ac_cv_use_splines"
9251 if test "$no_cache" != 1; then
9252 echo $ac_cv_use_splines >> ${wx_arg_cache_file}.tmp
9255 if test "$wxUSE_SPLINES" = yes; then
9256 echo "$as_me:$LINENO: result: yes" >&5
9257 echo "${ECHO_T}yes" >&6
9259 echo "$as_me:$LINENO: result: no" >&5
9260 echo "${ECHO_T}no" >&6
9265 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-validators" >&5
9266 echo $ECHO_N "checking for --${enablestring:-enable}-validators... $ECHO_C" >&6
9268 # Check whether --enable-validators or --disable-validators was given.
9269 if test "${enable_validators+set}" = set; then
9270 enableval
="$enable_validators"
9272 if test "$enableval" = yes; then
9273 ac_cv_use_validators
='wxUSE_VALIDATORS=yes'
9275 ac_cv_use_validators
='wxUSE_VALIDATORS=no'
9280 LINE
=`grep "wxUSE_VALIDATORS" ${wx_arg_cache_file}`
9281 if test "x$LINE" != x
; then
9282 eval "DEFAULT_$LINE"
9287 ac_cv_use_validators
='wxUSE_VALIDATORS='$DEFAULT_wxUSE_VALIDATORS
9291 eval "$ac_cv_use_validators"
9292 if test "$no_cache" != 1; then
9293 echo $ac_cv_use_validators >> ${wx_arg_cache_file}.tmp
9296 if test "$wxUSE_VALIDATORS" = yes; then
9297 echo "$as_me:$LINENO: result: yes" >&5
9298 echo "${ECHO_T}yes" >&6
9300 echo "$as_me:$LINENO: result: no" >&5
9301 echo "${ECHO_T}no" >&6
9306 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-busyinfo" >&5
9307 echo $ECHO_N "checking for --${enablestring:-enable}-busyinfo... $ECHO_C" >&6
9309 # Check whether --enable-busyinfo or --disable-busyinfo was given.
9310 if test "${enable_busyinfo+set}" = set; then
9311 enableval
="$enable_busyinfo"
9313 if test "$enableval" = yes; then
9314 ac_cv_use_busyinfo
='wxUSE_BUSYINFO=yes'
9316 ac_cv_use_busyinfo
='wxUSE_BUSYINFO=no'
9321 LINE
=`grep "wxUSE_BUSYINFO" ${wx_arg_cache_file}`
9322 if test "x$LINE" != x
; then
9323 eval "DEFAULT_$LINE"
9328 ac_cv_use_busyinfo
='wxUSE_BUSYINFO='$DEFAULT_wxUSE_BUSYINFO
9332 eval "$ac_cv_use_busyinfo"
9333 if test "$no_cache" != 1; then
9334 echo $ac_cv_use_busyinfo >> ${wx_arg_cache_file}.tmp
9337 if test "$wxUSE_BUSYINFO" = yes; then
9338 echo "$as_me:$LINENO: result: yes" >&5
9339 echo "${ECHO_T}yes" >&6
9341 echo "$as_me:$LINENO: result: no" >&5
9342 echo "${ECHO_T}no" >&6
9347 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-joystick" >&5
9348 echo $ECHO_N "checking for --${enablestring:-enable}-joystick... $ECHO_C" >&6
9350 # Check whether --enable-joystick or --disable-joystick was given.
9351 if test "${enable_joystick+set}" = set; then
9352 enableval
="$enable_joystick"
9354 if test "$enableval" = yes; then
9355 ac_cv_use_joystick
='wxUSE_JOYSTICK=yes'
9357 ac_cv_use_joystick
='wxUSE_JOYSTICK=no'
9362 LINE
=`grep "wxUSE_JOYSTICK" ${wx_arg_cache_file}`
9363 if test "x$LINE" != x
; then
9364 eval "DEFAULT_$LINE"
9369 ac_cv_use_joystick
='wxUSE_JOYSTICK='$DEFAULT_wxUSE_JOYSTICK
9373 eval "$ac_cv_use_joystick"
9374 if test "$no_cache" != 1; then
9375 echo $ac_cv_use_joystick >> ${wx_arg_cache_file}.tmp
9378 if test "$wxUSE_JOYSTICK" = yes; then
9379 echo "$as_me:$LINENO: result: yes" >&5
9380 echo "${ECHO_T}yes" >&6
9382 echo "$as_me:$LINENO: result: no" >&5
9383 echo "${ECHO_T}no" >&6
9388 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-metafile" >&5
9389 echo $ECHO_N "checking for --${enablestring:-enable}-metafile... $ECHO_C" >&6
9391 # Check whether --enable-metafile or --disable-metafile was given.
9392 if test "${enable_metafile+set}" = set; then
9393 enableval
="$enable_metafile"
9395 if test "$enableval" = yes; then
9396 ac_cv_use_metafile
='wxUSE_METAFILE=yes'
9398 ac_cv_use_metafile
='wxUSE_METAFILE=no'
9403 LINE
=`grep "wxUSE_METAFILE" ${wx_arg_cache_file}`
9404 if test "x$LINE" != x
; then
9405 eval "DEFAULT_$LINE"
9410 ac_cv_use_metafile
='wxUSE_METAFILE='$DEFAULT_wxUSE_METAFILE
9414 eval "$ac_cv_use_metafile"
9415 if test "$no_cache" != 1; then
9416 echo $ac_cv_use_metafile >> ${wx_arg_cache_file}.tmp
9419 if test "$wxUSE_METAFILE" = yes; then
9420 echo "$as_me:$LINENO: result: yes" >&5
9421 echo "${ECHO_T}yes" >&6
9423 echo "$as_me:$LINENO: result: no" >&5
9424 echo "${ECHO_T}no" >&6
9429 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dragimage" >&5
9430 echo $ECHO_N "checking for --${enablestring:-enable}-dragimage... $ECHO_C" >&6
9432 # Check whether --enable-dragimage or --disable-dragimage was given.
9433 if test "${enable_dragimage+set}" = set; then
9434 enableval
="$enable_dragimage"
9436 if test "$enableval" = yes; then
9437 ac_cv_use_dragimage
='wxUSE_DRAGIMAGE=yes'
9439 ac_cv_use_dragimage
='wxUSE_DRAGIMAGE=no'
9444 LINE
=`grep "wxUSE_DRAGIMAGE" ${wx_arg_cache_file}`
9445 if test "x$LINE" != x
; then
9446 eval "DEFAULT_$LINE"
9451 ac_cv_use_dragimage
='wxUSE_DRAGIMAGE='$DEFAULT_wxUSE_DRAGIMAGE
9455 eval "$ac_cv_use_dragimage"
9456 if test "$no_cache" != 1; then
9457 echo $ac_cv_use_dragimage >> ${wx_arg_cache_file}.tmp
9460 if test "$wxUSE_DRAGIMAGE" = yes; then
9461 echo "$as_me:$LINENO: result: yes" >&5
9462 echo "${ECHO_T}yes" >&6
9464 echo "$as_me:$LINENO: result: no" >&5
9465 echo "${ECHO_T}no" >&6
9470 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-accessibility" >&5
9471 echo $ECHO_N "checking for --${enablestring:-enable}-accessibility... $ECHO_C" >&6
9473 # Check whether --enable-accessibility or --disable-accessibility was given.
9474 if test "${enable_accessibility+set}" = set; then
9475 enableval
="$enable_accessibility"
9477 if test "$enableval" = yes; then
9478 ac_cv_use_accessibility
='wxUSE_ACCESSIBILITY=yes'
9480 ac_cv_use_accessibility
='wxUSE_ACCESSIBILITY=no'
9485 LINE
=`grep "wxUSE_ACCESSIBILITY" ${wx_arg_cache_file}`
9486 if test "x$LINE" != x
; then
9487 eval "DEFAULT_$LINE"
9492 ac_cv_use_accessibility
='wxUSE_ACCESSIBILITY='$DEFAULT_wxUSE_ACCESSIBILITY
9496 eval "$ac_cv_use_accessibility"
9497 if test "$no_cache" != 1; then
9498 echo $ac_cv_use_accessibility >> ${wx_arg_cache_file}.tmp
9501 if test "$wxUSE_ACCESSIBILITY" = yes; then
9502 echo "$as_me:$LINENO: result: yes" >&5
9503 echo "${ECHO_T}yes" >&6
9505 echo "$as_me:$LINENO: result: no" >&5
9506 echo "${ECHO_T}no" >&6
9513 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-palette" >&5
9514 echo $ECHO_N "checking for --${enablestring:-enable}-palette... $ECHO_C" >&6
9516 # Check whether --enable-palette or --disable-palette was given.
9517 if test "${enable_palette+set}" = set; then
9518 enableval
="$enable_palette"
9520 if test "$enableval" = yes; then
9521 ac_cv_use_palette
='wxUSE_PALETTE=yes'
9523 ac_cv_use_palette
='wxUSE_PALETTE=no'
9528 LINE
=`grep "wxUSE_PALETTE" ${wx_arg_cache_file}`
9529 if test "x$LINE" != x
; then
9530 eval "DEFAULT_$LINE"
9535 ac_cv_use_palette
='wxUSE_PALETTE='$DEFAULT_wxUSE_PALETTE
9539 eval "$ac_cv_use_palette"
9540 if test "$no_cache" != 1; then
9541 echo $ac_cv_use_palette >> ${wx_arg_cache_file}.tmp
9544 if test "$wxUSE_PALETTE" = yes; then
9545 echo "$as_me:$LINENO: result: yes" >&5
9546 echo "${ECHO_T}yes" >&6
9548 echo "$as_me:$LINENO: result: no" >&5
9549 echo "${ECHO_T}no" >&6
9554 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-image" >&5
9555 echo $ECHO_N "checking for --${enablestring:-enable}-image... $ECHO_C" >&6
9557 # Check whether --enable-image or --disable-image was given.
9558 if test "${enable_image+set}" = set; then
9559 enableval
="$enable_image"
9561 if test "$enableval" = yes; then
9562 ac_cv_use_image
='wxUSE_IMAGE=yes'
9564 ac_cv_use_image
='wxUSE_IMAGE=no'
9569 LINE
=`grep "wxUSE_IMAGE" ${wx_arg_cache_file}`
9570 if test "x$LINE" != x
; then
9571 eval "DEFAULT_$LINE"
9576 ac_cv_use_image
='wxUSE_IMAGE='$DEFAULT_wxUSE_IMAGE
9580 eval "$ac_cv_use_image"
9581 if test "$no_cache" != 1; then
9582 echo $ac_cv_use_image >> ${wx_arg_cache_file}.tmp
9585 if test "$wxUSE_IMAGE" = yes; then
9586 echo "$as_me:$LINENO: result: yes" >&5
9587 echo "${ECHO_T}yes" >&6
9589 echo "$as_me:$LINENO: result: no" >&5
9590 echo "${ECHO_T}no" >&6
9595 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gif" >&5
9596 echo $ECHO_N "checking for --${enablestring:-enable}-gif... $ECHO_C" >&6
9598 # Check whether --enable-gif or --disable-gif was given.
9599 if test "${enable_gif+set}" = set; then
9600 enableval
="$enable_gif"
9602 if test "$enableval" = yes; then
9603 ac_cv_use_gif
='wxUSE_GIF=yes'
9605 ac_cv_use_gif
='wxUSE_GIF=no'
9610 LINE
=`grep "wxUSE_GIF" ${wx_arg_cache_file}`
9611 if test "x$LINE" != x
; then
9612 eval "DEFAULT_$LINE"
9617 ac_cv_use_gif
='wxUSE_GIF='$DEFAULT_wxUSE_GIF
9621 eval "$ac_cv_use_gif"
9622 if test "$no_cache" != 1; then
9623 echo $ac_cv_use_gif >> ${wx_arg_cache_file}.tmp
9626 if test "$wxUSE_GIF" = yes; then
9627 echo "$as_me:$LINENO: result: yes" >&5
9628 echo "${ECHO_T}yes" >&6
9630 echo "$as_me:$LINENO: result: no" >&5
9631 echo "${ECHO_T}no" >&6
9636 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-pcx" >&5
9637 echo $ECHO_N "checking for --${enablestring:-enable}-pcx... $ECHO_C" >&6
9639 # Check whether --enable-pcx or --disable-pcx was given.
9640 if test "${enable_pcx+set}" = set; then
9641 enableval
="$enable_pcx"
9643 if test "$enableval" = yes; then
9644 ac_cv_use_pcx
='wxUSE_PCX=yes'
9646 ac_cv_use_pcx
='wxUSE_PCX=no'
9651 LINE
=`grep "wxUSE_PCX" ${wx_arg_cache_file}`
9652 if test "x$LINE" != x
; then
9653 eval "DEFAULT_$LINE"
9658 ac_cv_use_pcx
='wxUSE_PCX='$DEFAULT_wxUSE_PCX
9662 eval "$ac_cv_use_pcx"
9663 if test "$no_cache" != 1; then
9664 echo $ac_cv_use_pcx >> ${wx_arg_cache_file}.tmp
9667 if test "$wxUSE_PCX" = yes; then
9668 echo "$as_me:$LINENO: result: yes" >&5
9669 echo "${ECHO_T}yes" >&6
9671 echo "$as_me:$LINENO: result: no" >&5
9672 echo "${ECHO_T}no" >&6
9677 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-iff" >&5
9678 echo $ECHO_N "checking for --${enablestring:-enable}-iff... $ECHO_C" >&6
9680 # Check whether --enable-iff or --disable-iff was given.
9681 if test "${enable_iff+set}" = set; then
9682 enableval
="$enable_iff"
9684 if test "$enableval" = yes; then
9685 ac_cv_use_iff
='wxUSE_IFF=yes'
9687 ac_cv_use_iff
='wxUSE_IFF=no'
9692 LINE
=`grep "wxUSE_IFF" ${wx_arg_cache_file}`
9693 if test "x$LINE" != x
; then
9694 eval "DEFAULT_$LINE"
9699 ac_cv_use_iff
='wxUSE_IFF='$DEFAULT_wxUSE_IFF
9703 eval "$ac_cv_use_iff"
9704 if test "$no_cache" != 1; then
9705 echo $ac_cv_use_iff >> ${wx_arg_cache_file}.tmp
9708 if test "$wxUSE_IFF" = yes; then
9709 echo "$as_me:$LINENO: result: yes" >&5
9710 echo "${ECHO_T}yes" >&6
9712 echo "$as_me:$LINENO: result: no" >&5
9713 echo "${ECHO_T}no" >&6
9718 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-pnm" >&5
9719 echo $ECHO_N "checking for --${enablestring:-enable}-pnm... $ECHO_C" >&6
9721 # Check whether --enable-pnm or --disable-pnm was given.
9722 if test "${enable_pnm+set}" = set; then
9723 enableval
="$enable_pnm"
9725 if test "$enableval" = yes; then
9726 ac_cv_use_pnm
='wxUSE_PNM=yes'
9728 ac_cv_use_pnm
='wxUSE_PNM=no'
9733 LINE
=`grep "wxUSE_PNM" ${wx_arg_cache_file}`
9734 if test "x$LINE" != x
; then
9735 eval "DEFAULT_$LINE"
9740 ac_cv_use_pnm
='wxUSE_PNM='$DEFAULT_wxUSE_PNM
9744 eval "$ac_cv_use_pnm"
9745 if test "$no_cache" != 1; then
9746 echo $ac_cv_use_pnm >> ${wx_arg_cache_file}.tmp
9749 if test "$wxUSE_PNM" = yes; then
9750 echo "$as_me:$LINENO: result: yes" >&5
9751 echo "${ECHO_T}yes" >&6
9753 echo "$as_me:$LINENO: result: no" >&5
9754 echo "${ECHO_T}no" >&6
9759 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-xpm" >&5
9760 echo $ECHO_N "checking for --${enablestring:-enable}-xpm... $ECHO_C" >&6
9762 # Check whether --enable-xpm or --disable-xpm was given.
9763 if test "${enable_xpm+set}" = set; then
9764 enableval
="$enable_xpm"
9766 if test "$enableval" = yes; then
9767 ac_cv_use_xpm
='wxUSE_XPM=yes'
9769 ac_cv_use_xpm
='wxUSE_XPM=no'
9774 LINE
=`grep "wxUSE_XPM" ${wx_arg_cache_file}`
9775 if test "x$LINE" != x
; then
9776 eval "DEFAULT_$LINE"
9781 ac_cv_use_xpm
='wxUSE_XPM='$DEFAULT_wxUSE_XPM
9785 eval "$ac_cv_use_xpm"
9786 if test "$no_cache" != 1; then
9787 echo $ac_cv_use_xpm >> ${wx_arg_cache_file}.tmp
9790 if test "$wxUSE_XPM" = yes; then
9791 echo "$as_me:$LINENO: result: yes" >&5
9792 echo "${ECHO_T}yes" >&6
9794 echo "$as_me:$LINENO: result: no" >&5
9795 echo "${ECHO_T}no" >&6
9800 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ico_cur" >&5
9801 echo $ECHO_N "checking for --${enablestring:-enable}-ico_cur... $ECHO_C" >&6
9803 # Check whether --enable-ico_cur or --disable-ico_cur was given.
9804 if test "${enable_ico_cur+set}" = set; then
9805 enableval
="$enable_ico_cur"
9807 if test "$enableval" = yes; then
9808 ac_cv_use_ico_cur
='wxUSE_ICO_CUR=yes'
9810 ac_cv_use_ico_cur
='wxUSE_ICO_CUR=no'
9815 LINE
=`grep "wxUSE_ICO_CUR" ${wx_arg_cache_file}`
9816 if test "x$LINE" != x
; then
9817 eval "DEFAULT_$LINE"
9822 ac_cv_use_ico_cur
='wxUSE_ICO_CUR='$DEFAULT_wxUSE_ICO_CUR
9826 eval "$ac_cv_use_ico_cur"
9827 if test "$no_cache" != 1; then
9828 echo $ac_cv_use_ico_cur >> ${wx_arg_cache_file}.tmp
9831 if test "$wxUSE_ICO_CUR" = yes; then
9832 echo "$as_me:$LINENO: result: yes" >&5
9833 echo "${ECHO_T}yes" >&6
9835 echo "$as_me:$LINENO: result: no" >&5
9836 echo "${ECHO_T}no" >&6
9845 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-official_build" >&5
9846 echo $ECHO_N "checking for --${enablestring:-enable}-official_build... $ECHO_C" >&6
9848 # Check whether --enable-official_build or --disable-official_build was given.
9849 if test "${enable_official_build+set}" = set; then
9850 enableval
="$enable_official_build"
9852 if test "$enableval" = yes; then
9853 ac_cv_use_official_build
='wxUSE_OFFICIAL_BUILD=yes'
9855 ac_cv_use_official_build
='wxUSE_OFFICIAL_BUILD=no'
9860 LINE
=`grep "wxUSE_OFFICIAL_BUILD" ${wx_arg_cache_file}`
9861 if test "x$LINE" != x
; then
9862 eval "DEFAULT_$LINE"
9867 ac_cv_use_official_build
='wxUSE_OFFICIAL_BUILD='$DEFAULT_wxUSE_OFFICIAL_BUILD
9871 eval "$ac_cv_use_official_build"
9872 if test "$no_cache" != 1; then
9873 echo $ac_cv_use_official_build >> ${wx_arg_cache_file}.tmp
9876 if test "$wxUSE_OFFICIAL_BUILD" = yes; then
9877 echo "$as_me:$LINENO: result: yes" >&5
9878 echo "${ECHO_T}yes" >&6
9880 echo "$as_me:$LINENO: result: no" >&5
9881 echo "${ECHO_T}no" >&6
9884 # Check whether --enable-vendor or --disable-vendor was given.
9885 if test "${enable_vendor+set}" = set; then
9886 enableval
="$enable_vendor"
9889 if test "x$VENDOR" = "x"; then
9894 *-pc-os2_emx | *-pc-os2-emx )
9896 if test "$wxUSE_OMF" = "yes"; then
9899 LDFLAGS
="-Zomf $LDFLAGS"
9900 CFLAGS
="-Zomf $CFLAGS"
9901 CXXFLAGS
="-Zomf $CXXFLAGS"
9911 echo "saving argument cache $wx_arg_cache_file"
9912 mv ${wx_arg_cache_file}.tmp
${wx_arg_cache_file}
9916 echo "$as_me:$LINENO: checking for toolkit" >&5
9917 echo $ECHO_N "checking for toolkit... $ECHO_C" >&6
9919 # In Wine, we need to default to MSW, not GTK or MOTIF
9920 if test "$wxUSE_WINE" = "yes"; then
9921 DEFAULT_DEFAULT_wxUSE_GTK
=0
9922 DEFAULT_DEFAULT_wxUSE_MOTIF
=0
9923 DEFAULT_DEFAULT_wxUSE_MSW
=1
9927 if test "$wxUSE_GUI" = "yes"; then
9929 if test "$USE_BEOS" = 1; then
9930 { { echo "$as_me:$LINENO: error: BeOS GUI is not supported yet, use --disable-gui" >&5
9931 echo "$as_me: error: BeOS GUI is not supported yet, use --disable-gui" >&2;}
9932 { (exit 1); exit 1; }; }
9935 if test "$TOOLKIT_GIVEN" = 1; then
9936 for toolkit
in `echo $ALL_TOOLKITS`; do
9938 eval "value=\$${var}"
9939 eval "$var=`echo \$value | sed -e "s
/yes
/1/" -e "s
/no
/0/"`"
9942 for toolkit
in `echo $ALL_TOOLKITS`; do
9943 if test "$has_toolkit_in_cache" != 1; then
9944 var
=DEFAULT_DEFAULT_wxUSE_
$toolkit
9946 var
=DEFAULT_wxUSE_
$toolkit
9948 eval "wxUSE_$toolkit=\$${var}"
9952 NUM_TOOLKITS
=`expr ${wxUSE_COCOA:-0} + ${wxUSE_GTK:-0} + ${wxUSE_MAC:-0} \
9953 + ${wxUSE_MGL:-0} + ${wxUSE_MICROWIN:-0} \
9954 + ${wxUSE_MOTIF:-0} + ${wxUSE_MSW:-0} + ${wxUSE_X11:-0}`
9957 *-pc-os2_emx | *-pc-os2-emx )
9958 NUM_TOOLKITS
=`expr ${NUM_TOOLKITS} + ${wxUSE_PM:-0}`
9961 case "$NUM_TOOLKITS" in
9965 { { echo "$as_me:$LINENO: error: Please specify a toolkit -- cannot determine the default for ${host}" >&5
9966 echo "$as_me: error: Please specify a toolkit -- cannot determine the default for ${host}" >&2;}
9967 { (exit 1); exit 1; }; }
9970 { { echo "$as_me:$LINENO: error: Please specify at most one toolkit (maybe some are cached in configarg.cache?)" >&5
9971 echo "$as_me: error: Please specify at most one toolkit (maybe some are cached in configarg.cache?)" >&2;}
9972 { (exit 1); exit 1; }; }
9975 for toolkit
in `echo $ALL_TOOLKITS`; do
9977 eval "value=\$${var}"
9978 if test "x$value" != x
; then
9979 cache_var
=CACHE_
$toolkit
9980 eval "cache=\$${cache_var}"
9981 if test "$cache" = 1; then
9982 echo "$var=$value" >> ${wx_arg_cache_file}
9984 if test "$value" = 1; then
9985 toolkit_echo
=`echo $toolkit | tr "[A-Z]" "[a-z]"`
9986 echo "$as_me:$LINENO: result: $toolkit_echo" >&5
9987 echo "${ECHO_T}$toolkit_echo" >&6
9992 if test "x$host_alias" != "x"; then
9993 echo "$as_me:$LINENO: result: base ($host_alias hosted) only" >&5
9994 echo "${ECHO_T}base ($host_alias hosted) only" >&6
9996 echo "$as_me:$LINENO: result: base only" >&5
9997 echo "${ECHO_T}base only" >&6
10002 doesnt_want_win32
=0
10005 if test "$wxUSE_MSW" = 1 ; then
10008 doesnt_want_win32
=1
10016 if test "$wxUSE_WINE" = "yes"; then
10021 LDFLAGS_GUI
="-mwindows"
10024 if test "$wants_win32" = 1 ; then
10027 cat >>confdefs.h
<<\_ACEOF
10028 #define __WIN32__ 1
10031 cat >>confdefs.h
<<\_ACEOF
10032 #define __WIN95__ 1
10035 cat >>confdefs.h
<<\_ACEOF
10036 #define __WINDOWS__ 1
10039 cat >>confdefs.h
<<\_ACEOF
10040 #define __GNUWIN32__ 1
10043 cat >>confdefs.h
<<\_ACEOF
10047 cat >>confdefs.h
<<\_ACEOF
10048 #define WINVER 0x0400
10052 if test "$doesnt_want_win32" = 1 ; then
10057 if test "$USE_UNIX" = 1 ; then
10059 cat >>confdefs.h
<<\_ACEOF
10066 cat >confcache
<<\_ACEOF
10067 # This file is a shell script that caches the results of configure
10068 # tests run on this system so they can be shared between configure
10069 # scripts and configure runs, see configure's option --config-cache.
10070 # It is not useful on other systems. If it contains results you don't
10071 # want to keep, you may remove or edit it.
10073 # config.status only pays attention to the cache file if you give it
10074 # the --recheck option to rerun configure.
10076 # `ac_cv_env_foo' variables (set or unset) will be overridden when
10077 # loading this file, other *unset* `ac_cv_foo' will be assigned the
10078 # following values.
10082 # The following way of writing the cache mishandles newlines in values,
10083 # but we know of no workaround that is simple, portable, and efficient.
10084 # So, don't put newlines in cache variables' values.
10085 # Ultrix sh set writes to stderr and can't be redirected directly,
10086 # and sets the high bit in the cache file unless we assign to the vars.
10089 case `(ac_space=' '; set | grep ac_space) 2>&1` in
10091 # `set' does not quote correctly, so add quotes (double-quote
10092 # substitution turns \\\\ into \\, and sed turns \\ into \).
10095 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
10098 # `set' quotes correctly as required by POSIX, so do not add quotes.
10100 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
10107 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
10109 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
10111 if diff $cache_file confcache
>/dev
/null
2>&1; then :; else
10112 if test -w $cache_file; then
10113 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
10114 cat confcache
>$cache_file
10116 echo "not updating unwritable cache $cache_file"
10121 if test "$build" != "$host" ; then
10122 if test "$USE_WIN32" = 1 -o "$USE_DOS" = 1 -o "$USE_UNIX"; then
10124 CXX
=$host_alias-c++
10126 RANLIB
=$host_alias-ranlib
10127 DLLTOOL
=$host_alias-dlltool
10128 RESCOMP
=$host_alias-windres
10131 STRIP
=$host_alias-strip
10133 { { echo "$as_me:$LINENO: error: $build_alias -> $host_alias cross compilation not supported yet." >&5
10134 echo "$as_me: error: $build_alias -> $host_alias cross compilation not supported yet." >&2;}
10135 { (exit 1); exit 1; }; }
10141 ac_cpp
='$CPP $CPPFLAGS'
10142 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10143 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10144 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
10145 if test -n "$ac_tool_prefix"; then
10146 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
10147 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
10148 echo "$as_me:$LINENO: checking for $ac_word" >&5
10149 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10150 if test "${ac_cv_prog_CC+set}" = set; then
10151 echo $ECHO_N "(cached) $ECHO_C" >&6
10153 if test -n "$CC"; then
10154 ac_cv_prog_CC
="$CC" # Let the user override the test.
10156 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10157 for as_dir
in $PATH
10160 test -z "$as_dir" && as_dir
=.
10161 for ac_exec_ext
in '' $ac_executable_extensions; do
10162 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10163 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
10164 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10173 if test -n "$CC"; then
10174 echo "$as_me:$LINENO: result: $CC" >&5
10175 echo "${ECHO_T}$CC" >&6
10177 echo "$as_me:$LINENO: result: no" >&5
10178 echo "${ECHO_T}no" >&6
10182 if test -z "$ac_cv_prog_CC"; then
10184 # Extract the first word of "gcc", so it can be a program name with args.
10185 set dummy gcc
; ac_word
=$2
10186 echo "$as_me:$LINENO: checking for $ac_word" >&5
10187 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10188 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
10189 echo $ECHO_N "(cached) $ECHO_C" >&6
10191 if test -n "$ac_ct_CC"; then
10192 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
10194 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10195 for as_dir
in $PATH
10198 test -z "$as_dir" && as_dir
=.
10199 for ac_exec_ext
in '' $ac_executable_extensions; do
10200 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10201 ac_cv_prog_ac_ct_CC
="gcc"
10202 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10210 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
10211 if test -n "$ac_ct_CC"; then
10212 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
10213 echo "${ECHO_T}$ac_ct_CC" >&6
10215 echo "$as_me:$LINENO: result: no" >&5
10216 echo "${ECHO_T}no" >&6
10221 CC
="$ac_cv_prog_CC"
10224 if test -z "$CC"; then
10225 if test -n "$ac_tool_prefix"; then
10226 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
10227 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
10228 echo "$as_me:$LINENO: checking for $ac_word" >&5
10229 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10230 if test "${ac_cv_prog_CC+set}" = set; then
10231 echo $ECHO_N "(cached) $ECHO_C" >&6
10233 if test -n "$CC"; then
10234 ac_cv_prog_CC
="$CC" # Let the user override the test.
10236 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10237 for as_dir
in $PATH
10240 test -z "$as_dir" && as_dir
=.
10241 for ac_exec_ext
in '' $ac_executable_extensions; do
10242 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10243 ac_cv_prog_CC
="${ac_tool_prefix}cc"
10244 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10253 if test -n "$CC"; then
10254 echo "$as_me:$LINENO: result: $CC" >&5
10255 echo "${ECHO_T}$CC" >&6
10257 echo "$as_me:$LINENO: result: no" >&5
10258 echo "${ECHO_T}no" >&6
10262 if test -z "$ac_cv_prog_CC"; then
10264 # Extract the first word of "cc", so it can be a program name with args.
10265 set dummy cc
; ac_word
=$2
10266 echo "$as_me:$LINENO: checking for $ac_word" >&5
10267 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10268 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
10269 echo $ECHO_N "(cached) $ECHO_C" >&6
10271 if test -n "$ac_ct_CC"; then
10272 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
10274 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10275 for as_dir
in $PATH
10278 test -z "$as_dir" && as_dir
=.
10279 for ac_exec_ext
in '' $ac_executable_extensions; do
10280 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10281 ac_cv_prog_ac_ct_CC
="cc"
10282 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10290 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
10291 if test -n "$ac_ct_CC"; then
10292 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
10293 echo "${ECHO_T}$ac_ct_CC" >&6
10295 echo "$as_me:$LINENO: result: no" >&5
10296 echo "${ECHO_T}no" >&6
10301 CC
="$ac_cv_prog_CC"
10305 if test -z "$CC"; then
10306 # Extract the first word of "cc", so it can be a program name with args.
10307 set dummy cc
; ac_word
=$2
10308 echo "$as_me:$LINENO: checking for $ac_word" >&5
10309 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10310 if test "${ac_cv_prog_CC+set}" = set; then
10311 echo $ECHO_N "(cached) $ECHO_C" >&6
10313 if test -n "$CC"; then
10314 ac_cv_prog_CC
="$CC" # Let the user override the test.
10316 ac_prog_rejected
=no
10317 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10318 for as_dir
in $PATH
10321 test -z "$as_dir" && as_dir
=.
10322 for ac_exec_ext
in '' $ac_executable_extensions; do
10323 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10324 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
10325 ac_prog_rejected
=yes
10329 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10335 if test $ac_prog_rejected = yes; then
10336 # We found a bogon in the path, so make sure we never use it.
10337 set dummy
$ac_cv_prog_CC
10339 if test $# != 0; then
10340 # We chose a different compiler from the bogus one.
10341 # However, it has the same basename, so the bogon will be chosen
10342 # first if we set CC to just the basename; use the full file name.
10344 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
10350 if test -n "$CC"; then
10351 echo "$as_me:$LINENO: result: $CC" >&5
10352 echo "${ECHO_T}$CC" >&6
10354 echo "$as_me:$LINENO: result: no" >&5
10355 echo "${ECHO_T}no" >&6
10359 if test -z "$CC"; then
10360 if test -n "$ac_tool_prefix"; then
10363 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
10364 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
10365 echo "$as_me:$LINENO: checking for $ac_word" >&5
10366 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10367 if test "${ac_cv_prog_CC+set}" = set; then
10368 echo $ECHO_N "(cached) $ECHO_C" >&6
10370 if test -n "$CC"; then
10371 ac_cv_prog_CC
="$CC" # Let the user override the test.
10373 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10374 for as_dir
in $PATH
10377 test -z "$as_dir" && as_dir
=.
10378 for ac_exec_ext
in '' $ac_executable_extensions; do
10379 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10380 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
10381 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10390 if test -n "$CC"; then
10391 echo "$as_me:$LINENO: result: $CC" >&5
10392 echo "${ECHO_T}$CC" >&6
10394 echo "$as_me:$LINENO: result: no" >&5
10395 echo "${ECHO_T}no" >&6
10398 test -n "$CC" && break
10401 if test -z "$CC"; then
10405 # Extract the first word of "$ac_prog", so it can be a program name with args.
10406 set dummy
$ac_prog; ac_word
=$2
10407 echo "$as_me:$LINENO: checking for $ac_word" >&5
10408 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10409 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
10410 echo $ECHO_N "(cached) $ECHO_C" >&6
10412 if test -n "$ac_ct_CC"; then
10413 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
10415 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10416 for as_dir
in $PATH
10419 test -z "$as_dir" && as_dir
=.
10420 for ac_exec_ext
in '' $ac_executable_extensions; do
10421 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10422 ac_cv_prog_ac_ct_CC
="$ac_prog"
10423 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10431 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
10432 if test -n "$ac_ct_CC"; then
10433 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
10434 echo "${ECHO_T}$ac_ct_CC" >&6
10436 echo "$as_me:$LINENO: result: no" >&5
10437 echo "${ECHO_T}no" >&6
10440 test -n "$ac_ct_CC" && break
10449 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
10450 See \`config.log' for more details." >&5
10451 echo "$as_me: error: no acceptable C compiler found in \$PATH
10452 See \`config.log' for more details." >&2;}
10453 { (exit 1); exit 1; }; }
10455 # Provide some information about the compiler.
10456 echo "$as_me:$LINENO:" \
10457 "checking for C compiler version" >&5
10458 ac_compiler
=`set X $ac_compile; echo $2`
10459 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
10460 (eval $ac_compiler --version </dev
/null
>&5) 2>&5
10462 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10463 (exit $ac_status); }
10464 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
10465 (eval $ac_compiler -v </dev
/null
>&5) 2>&5
10467 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10468 (exit $ac_status); }
10469 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
10470 (eval $ac_compiler -V </dev
/null
>&5) 2>&5
10472 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10473 (exit $ac_status); }
10475 cat >conftest.
$ac_ext <<_ACEOF
10478 cat confdefs.h
>>conftest.
$ac_ext
10479 cat >>conftest.
$ac_ext <<_ACEOF
10480 /* end confdefs.h. */
10490 ac_clean_files_save
=$ac_clean_files
10491 ac_clean_files
="$ac_clean_files a.out a.exe b.out"
10492 # Try to create an executable without -o first, disregard a.out.
10493 # It will help us diagnose broken compilers, and finding out an intuition
10495 echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
10496 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6
10497 ac_link_default
=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
10498 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
10499 (eval $ac_link_default) 2>&5
10501 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10502 (exit $ac_status); }; then
10503 # Find the output, starting from the most likely. This scheme is
10504 # not robust to junk in `.', hence go to wildcards (a.*) only as a last
10507 # Be careful to initialize this variable, since it used to be cached.
10508 # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
10510 # b.out is created by i960 compilers.
10511 for ac_file
in a_out.exe a.exe conftest.exe a.out conftest a.
* conftest.
* b.out
10513 test -f "$ac_file" || continue
10515 *.
$ac_ext | *.xcoff
| *.tds
| *.d
| *.pdb
| *.xSYM
| *.bb
| *.bbg
| *.o
| *.obj
)
10518 # This is the source file.
10521 # We found the default executable, but exeext='' is most
10525 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
10526 # FIXME: I believe we export ac_cv_exeext for Libtool,
10527 # but it would be cool to find out if it's true. Does anybody
10528 # maintain Libtool? --akim.
10529 export ac_cv_exeext
10536 echo "$as_me: failed program was:" >&5
10537 sed 's/^/| /' conftest.
$ac_ext >&5
10539 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
10540 See \`config.log' for more details." >&5
10541 echo "$as_me: error: C compiler cannot create executables
10542 See \`config.log' for more details." >&2;}
10543 { (exit 77); exit 77; }; }
10546 ac_exeext
=$ac_cv_exeext
10547 echo "$as_me:$LINENO: result: $ac_file" >&5
10548 echo "${ECHO_T}$ac_file" >&6
10550 # Check the compiler produces executables we can run. If not, either
10551 # the compiler is broken, or we cross compile.
10552 echo "$as_me:$LINENO: checking whether the C compiler works" >&5
10553 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
10554 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
10555 # If not cross compiling, check that we can run a simple program.
10556 if test "$cross_compiling" != yes; then
10557 if { ac_try
='./$ac_file'
10558 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10559 (eval $ac_try) 2>&5
10561 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10562 (exit $ac_status); }; }; then
10565 if test "$cross_compiling" = maybe
; then
10566 cross_compiling
=yes
10568 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
10569 If you meant to cross compile, use \`--host'.
10570 See \`config.log' for more details." >&5
10571 echo "$as_me: error: cannot run C compiled programs.
10572 If you meant to cross compile, use \`--host'.
10573 See \`config.log' for more details." >&2;}
10574 { (exit 1); exit 1; }; }
10578 echo "$as_me:$LINENO: result: yes" >&5
10579 echo "${ECHO_T}yes" >&6
10581 rm -f a.out a.exe conftest
$ac_cv_exeext b.out
10582 ac_clean_files
=$ac_clean_files_save
10583 # Check the compiler produces executables we can run. If not, either
10584 # the compiler is broken, or we cross compile.
10585 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
10586 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
10587 echo "$as_me:$LINENO: result: $cross_compiling" >&5
10588 echo "${ECHO_T}$cross_compiling" >&6
10590 echo "$as_me:$LINENO: checking for suffix of executables" >&5
10591 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
10592 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10593 (eval $ac_link) 2>&5
10595 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10596 (exit $ac_status); }; then
10597 # If both `conftest.exe' and `conftest' are `present' (well, observable)
10598 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
10599 # work properly (i.e., refer to `conftest.exe'), while it won't with
10601 for ac_file
in conftest.exe conftest conftest.
*; do
10602 test -f "$ac_file" || continue
10604 *.
$ac_ext | *.xcoff
| *.tds
| *.d
| *.pdb
| *.xSYM
| *.bb
| *.bbg
| *.o
| *.obj
) ;;
10605 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
10606 export ac_cv_exeext
10612 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
10613 See \`config.log' for more details." >&5
10614 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
10615 See \`config.log' for more details." >&2;}
10616 { (exit 1); exit 1; }; }
10619 rm -f conftest
$ac_cv_exeext
10620 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
10621 echo "${ECHO_T}$ac_cv_exeext" >&6
10623 rm -f conftest.
$ac_ext
10624 EXEEXT
=$ac_cv_exeext
10626 echo "$as_me:$LINENO: checking for suffix of object files" >&5
10627 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
10628 if test "${ac_cv_objext+set}" = set; then
10629 echo $ECHO_N "(cached) $ECHO_C" >&6
10631 cat >conftest.
$ac_ext <<_ACEOF
10634 cat confdefs.h
>>conftest.
$ac_ext
10635 cat >>conftest.
$ac_ext <<_ACEOF
10636 /* end confdefs.h. */
10646 rm -f conftest.o conftest.obj
10647 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10648 (eval $ac_compile) 2>&5
10650 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10651 (exit $ac_status); }; then
10652 for ac_file
in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
10654 *.
$ac_ext | *.xcoff
| *.tds
| *.d
| *.pdb
| *.xSYM
| *.bb
| *.bbg
) ;;
10655 *) ac_cv_objext
=`expr "$ac_file" : '.*\.\(.*\)'`
10660 echo "$as_me: failed program was:" >&5
10661 sed 's/^/| /' conftest.
$ac_ext >&5
10663 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
10664 See \`config.log' for more details." >&5
10665 echo "$as_me: error: cannot compute suffix of object files: cannot compile
10666 See \`config.log' for more details." >&2;}
10667 { (exit 1); exit 1; }; }
10670 rm -f conftest.
$ac_cv_objext conftest.
$ac_ext
10672 echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
10673 echo "${ECHO_T}$ac_cv_objext" >&6
10674 OBJEXT
=$ac_cv_objext
10676 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
10677 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
10678 if test "${ac_cv_c_compiler_gnu+set}" = set; then
10679 echo $ECHO_N "(cached) $ECHO_C" >&6
10681 cat >conftest.
$ac_ext <<_ACEOF
10684 cat confdefs.h
>>conftest.
$ac_ext
10685 cat >>conftest.
$ac_ext <<_ACEOF
10686 /* end confdefs.h. */
10699 rm -f conftest.
$ac_objext
10700 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10701 (eval $ac_compile) 2>conftest.er1
10703 grep -v '^ *+' conftest.er1
>conftest.err
10705 cat conftest.err
>&5
10706 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10707 (exit $ac_status); } &&
10708 { ac_try
='test -z "$ac_c_werror_flag"
10709 || test ! -s conftest.err'
10710 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10711 (eval $ac_try) 2>&5
10713 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10714 (exit $ac_status); }; } &&
10715 { ac_try
='test -s conftest.$ac_objext'
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); }; }; then
10721 ac_compiler_gnu
=yes
10723 echo "$as_me: failed program was:" >&5
10724 sed 's/^/| /' conftest.
$ac_ext >&5
10728 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
10729 ac_cv_c_compiler_gnu
=$ac_compiler_gnu
10732 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
10733 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
10734 GCC
=`test $ac_compiler_gnu = yes && echo yes`
10735 ac_test_CFLAGS
=${CFLAGS+set}
10736 ac_save_CFLAGS
=$CFLAGS
10738 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
10739 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
10740 if test "${ac_cv_prog_cc_g+set}" = set; then
10741 echo $ECHO_N "(cached) $ECHO_C" >&6
10743 cat >conftest.
$ac_ext <<_ACEOF
10746 cat confdefs.h
>>conftest.
$ac_ext
10747 cat >>conftest.
$ac_ext <<_ACEOF
10748 /* end confdefs.h. */
10758 rm -f conftest.
$ac_objext
10759 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10760 (eval $ac_compile) 2>conftest.er1
10762 grep -v '^ *+' conftest.er1
>conftest.err
10764 cat conftest.err
>&5
10765 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10766 (exit $ac_status); } &&
10767 { ac_try
='test -z "$ac_c_werror_flag"
10768 || test ! -s conftest.err'
10769 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10770 (eval $ac_try) 2>&5
10772 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10773 (exit $ac_status); }; } &&
10774 { ac_try
='test -s conftest.$ac_objext'
10775 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10776 (eval $ac_try) 2>&5
10778 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10779 (exit $ac_status); }; }; then
10780 ac_cv_prog_cc_g
=yes
10782 echo "$as_me: failed program was:" >&5
10783 sed 's/^/| /' conftest.
$ac_ext >&5
10787 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
10789 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
10790 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
10791 if test "$ac_test_CFLAGS" = set; then
10792 CFLAGS
=$ac_save_CFLAGS
10793 elif test $ac_cv_prog_cc_g = yes; then
10794 if test "$GCC" = yes; then
10800 if test "$GCC" = yes; then
10806 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
10807 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
10808 if test "${ac_cv_prog_cc_stdc+set}" = set; then
10809 echo $ECHO_N "(cached) $ECHO_C" >&6
10811 ac_cv_prog_cc_stdc
=no
10813 cat >conftest.
$ac_ext <<_ACEOF
10816 cat confdefs.h
>>conftest.
$ac_ext
10817 cat >>conftest.
$ac_ext <<_ACEOF
10818 /* end confdefs.h. */
10819 #include <stdarg.h>
10821 #include <sys/types.h>
10822 #include <sys/stat.h>
10823 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
10824 struct buf { int x; };
10825 FILE * (*rcsopen) (struct buf *, struct stat *, int);
10826 static char *e (p, i)
10832 static char *f (char * (*g) (char **, int), char **p, ...)
10837 s = g (p, va_arg (v,int));
10842 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
10843 function prototypes and stuff, but not '\xHH' hex character constants.
10844 These don't provoke an error unfortunately, instead are silently treated
10845 as 'x'. The following induces an error, until -std1 is added to get
10846 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
10847 array size at least. It's necessary to write '\x00'==0 to get something
10848 that's true only with -std1. */
10849 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
10851 int test (int i, double x);
10852 struct s1 {int (*f) (int a);};
10853 struct s2 {int (*f) (double a);};
10854 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
10860 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
10865 # Don't try gcc -ansi; that turns off useful extensions and
10866 # breaks some systems' header files.
10867 # AIX -qlanglvl=ansi
10868 # Ultrix and OSF/1 -std1
10869 # HP-UX 10.20 and later -Ae
10870 # HP-UX older versions -Aa -D_HPUX_SOURCE
10871 # SVR4 -Xc -D__EXTENSIONS__
10872 for ac_arg
in "" -qlanglvl=ansi
-std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
10874 CC
="$ac_save_CC $ac_arg"
10875 rm -f conftest.
$ac_objext
10876 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10877 (eval $ac_compile) 2>conftest.er1
10879 grep -v '^ *+' conftest.er1
>conftest.err
10881 cat conftest.err
>&5
10882 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10883 (exit $ac_status); } &&
10884 { ac_try
='test -z "$ac_c_werror_flag"
10885 || 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 ac_cv_prog_cc_stdc
=$ac_arg
10900 echo "$as_me: failed program was:" >&5
10901 sed 's/^/| /' conftest.
$ac_ext >&5
10904 rm -f conftest.err conftest.
$ac_objext
10906 rm -f conftest.
$ac_ext conftest.
$ac_objext
10911 case "x$ac_cv_prog_cc_stdc" in
10913 echo "$as_me:$LINENO: result: none needed" >&5
10914 echo "${ECHO_T}none needed" >&6 ;;
10916 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
10917 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
10918 CC
="$CC $ac_cv_prog_cc_stdc" ;;
10921 # Some people use a C++ compiler to compile C. Since we use `exit',
10922 # in C++ we need to declare it. In case someone uses the same compiler
10923 # for both compiling C and C++ we need to have the C++ compiler decide
10924 # the declaration of exit, since it's the most demanding environment.
10925 cat >conftest.
$ac_ext <<_ACEOF
10926 #ifndef __cplusplus
10930 rm -f conftest.
$ac_objext
10931 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10932 (eval $ac_compile) 2>conftest.er1
10934 grep -v '^ *+' conftest.er1
>conftest.err
10936 cat conftest.err
>&5
10937 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10938 (exit $ac_status); } &&
10939 { ac_try
='test -z "$ac_c_werror_flag"
10940 || test ! -s conftest.err'
10941 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10942 (eval $ac_try) 2>&5
10944 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10945 (exit $ac_status); }; } &&
10946 { ac_try
='test -s conftest.$ac_objext'
10947 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10948 (eval $ac_try) 2>&5
10950 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10951 (exit $ac_status); }; }; then
10952 for ac_declaration
in \
10954 'extern "C" void std::exit (int) throw (); using std::exit;' \
10955 'extern "C" void std::exit (int); using std::exit;' \
10956 'extern "C" void exit (int) throw ();' \
10957 'extern "C" void exit (int);' \
10960 cat >conftest.
$ac_ext <<_ACEOF
10963 cat confdefs.h
>>conftest.
$ac_ext
10964 cat >>conftest.
$ac_ext <<_ACEOF
10965 /* end confdefs.h. */
10967 #include <stdlib.h>
10976 rm -f conftest.
$ac_objext
10977 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10978 (eval $ac_compile) 2>conftest.er1
10980 grep -v '^ *+' conftest.er1
>conftest.err
10982 cat conftest.err
>&5
10983 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10984 (exit $ac_status); } &&
10985 { ac_try
='test -z "$ac_c_werror_flag"
10986 || test ! -s conftest.err'
10987 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10988 (eval $ac_try) 2>&5
10990 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10991 (exit $ac_status); }; } &&
10992 { ac_try
='test -s conftest.$ac_objext'
10993 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10994 (eval $ac_try) 2>&5
10996 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10997 (exit $ac_status); }; }; then
11000 echo "$as_me: failed program was:" >&5
11001 sed 's/^/| /' conftest.
$ac_ext >&5
11005 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11006 cat >conftest.
$ac_ext <<_ACEOF
11009 cat confdefs.h
>>conftest.
$ac_ext
11010 cat >>conftest.
$ac_ext <<_ACEOF
11011 /* end confdefs.h. */
11021 rm -f conftest.
$ac_objext
11022 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11023 (eval $ac_compile) 2>conftest.er1
11025 grep -v '^ *+' conftest.er1
>conftest.err
11027 cat conftest.err
>&5
11028 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11029 (exit $ac_status); } &&
11030 { ac_try
='test -z "$ac_c_werror_flag"
11031 || test ! -s conftest.err'
11032 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11033 (eval $ac_try) 2>&5
11035 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11036 (exit $ac_status); }; } &&
11037 { ac_try
='test -s conftest.$ac_objext'
11038 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11039 (eval $ac_try) 2>&5
11041 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11042 (exit $ac_status); }; }; then
11045 echo "$as_me: failed program was:" >&5
11046 sed 's/^/| /' conftest.
$ac_ext >&5
11049 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11052 if test -n "$ac_declaration"; then
11053 echo '#ifdef __cplusplus' >>confdefs.h
11054 echo $ac_declaration >>confdefs.h
11055 echo '#endif' >>confdefs.h
11059 echo "$as_me: failed program was:" >&5
11060 sed 's/^/| /' conftest.
$ac_ext >&5
11063 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11065 ac_cpp
='$CPP $CPPFLAGS'
11066 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11067 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11068 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
11073 ac_cpp
='$CPP $CPPFLAGS'
11074 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11075 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11076 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
11077 echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
11078 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
11079 # On Suns, sometimes $CPP names a directory.
11080 if test -n "$CPP" && test -d "$CPP"; then
11083 if test -z "$CPP"; then
11084 if test "${ac_cv_prog_CPP+set}" = set; then
11085 echo $ECHO_N "(cached) $ECHO_C" >&6
11087 # Double quotes because CPP needs to be expanded
11088 for CPP
in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
11090 ac_preproc_ok
=false
11091 for ac_c_preproc_warn_flag
in '' yes
11093 # Use a header file that comes with gcc, so configuring glibc
11094 # with a fresh cross-compiler works.
11095 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11096 # <limits.h> exists even on freestanding compilers.
11097 # On the NeXT, cc -E runs the code through the compiler's parser,
11098 # not just through cpp. "Syntax error" is here to catch this case.
11099 cat >conftest.
$ac_ext <<_ACEOF
11102 cat confdefs.h
>>conftest.
$ac_ext
11103 cat >>conftest.
$ac_ext <<_ACEOF
11104 /* end confdefs.h. */
11106 # include <limits.h>
11108 # include <assert.h>
11112 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
11113 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
11115 grep -v '^ *+' conftest.er1
>conftest.err
11117 cat conftest.err
>&5
11118 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11119 (exit $ac_status); } >/dev
/null
; then
11120 if test -s conftest.err
; then
11121 ac_cpp_err
=$ac_c_preproc_warn_flag
11122 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
11129 if test -z "$ac_cpp_err"; then
11132 echo "$as_me: failed program was:" >&5
11133 sed 's/^/| /' conftest.
$ac_ext >&5
11135 # Broken: fails on valid input.
11138 rm -f conftest.err conftest.
$ac_ext
11140 # OK, works on sane cases. Now check whether non-existent headers
11141 # can be detected and how.
11142 cat >conftest.
$ac_ext <<_ACEOF
11145 cat confdefs.h
>>conftest.
$ac_ext
11146 cat >>conftest.
$ac_ext <<_ACEOF
11147 /* end confdefs.h. */
11148 #include <ac_nonexistent.h>
11150 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
11151 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
11153 grep -v '^ *+' conftest.er1
>conftest.err
11155 cat conftest.err
>&5
11156 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11157 (exit $ac_status); } >/dev
/null
; then
11158 if test -s conftest.err
; then
11159 ac_cpp_err
=$ac_c_preproc_warn_flag
11160 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
11167 if test -z "$ac_cpp_err"; then
11168 # Broken: success on invalid input.
11171 echo "$as_me: failed program was:" >&5
11172 sed 's/^/| /' conftest.
$ac_ext >&5
11174 # Passes both tests.
11178 rm -f conftest.err conftest.
$ac_ext
11181 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
11182 rm -f conftest.err conftest.
$ac_ext
11183 if $ac_preproc_ok; then
11188 ac_cv_prog_CPP
=$CPP
11191 CPP
=$ac_cv_prog_CPP
11193 ac_cv_prog_CPP
=$CPP
11195 echo "$as_me:$LINENO: result: $CPP" >&5
11196 echo "${ECHO_T}$CPP" >&6
11197 ac_preproc_ok
=false
11198 for ac_c_preproc_warn_flag
in '' yes
11200 # Use a header file that comes with gcc, so configuring glibc
11201 # with a fresh cross-compiler works.
11202 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11203 # <limits.h> exists even on freestanding compilers.
11204 # On the NeXT, cc -E runs the code through the compiler's parser,
11205 # not just through cpp. "Syntax error" is here to catch this case.
11206 cat >conftest.
$ac_ext <<_ACEOF
11209 cat confdefs.h
>>conftest.
$ac_ext
11210 cat >>conftest.
$ac_ext <<_ACEOF
11211 /* end confdefs.h. */
11213 # include <limits.h>
11215 # include <assert.h>
11219 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
11220 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
11222 grep -v '^ *+' conftest.er1
>conftest.err
11224 cat conftest.err
>&5
11225 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11226 (exit $ac_status); } >/dev
/null
; then
11227 if test -s conftest.err
; then
11228 ac_cpp_err
=$ac_c_preproc_warn_flag
11229 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
11236 if test -z "$ac_cpp_err"; then
11239 echo "$as_me: failed program was:" >&5
11240 sed 's/^/| /' conftest.
$ac_ext >&5
11242 # Broken: fails on valid input.
11245 rm -f conftest.err conftest.
$ac_ext
11247 # OK, works on sane cases. Now check whether non-existent headers
11248 # can be detected and how.
11249 cat >conftest.
$ac_ext <<_ACEOF
11252 cat confdefs.h
>>conftest.
$ac_ext
11253 cat >>conftest.
$ac_ext <<_ACEOF
11254 /* end confdefs.h. */
11255 #include <ac_nonexistent.h>
11257 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
11258 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
11260 grep -v '^ *+' conftest.er1
>conftest.err
11262 cat conftest.err
>&5
11263 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11264 (exit $ac_status); } >/dev
/null
; then
11265 if test -s conftest.err
; then
11266 ac_cpp_err
=$ac_c_preproc_warn_flag
11267 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
11274 if test -z "$ac_cpp_err"; then
11275 # Broken: success on invalid input.
11278 echo "$as_me: failed program was:" >&5
11279 sed 's/^/| /' conftest.
$ac_ext >&5
11281 # Passes both tests.
11285 rm -f conftest.err conftest.
$ac_ext
11288 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
11289 rm -f conftest.err conftest.
$ac_ext
11290 if $ac_preproc_ok; then
11293 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
11294 See \`config.log' for more details." >&5
11295 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
11296 See \`config.log' for more details." >&2;}
11297 { (exit 1); exit 1; }; }
11301 ac_cpp
='$CPP $CPPFLAGS'
11302 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11303 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11304 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
11307 echo "$as_me:$LINENO: checking for egrep" >&5
11308 echo $ECHO_N "checking for egrep... $ECHO_C" >&6
11309 if test "${ac_cv_prog_egrep+set}" = set; then
11310 echo $ECHO_N "(cached) $ECHO_C" >&6
11312 if echo a
| (grep -E '(a|b)') >/dev
/null
2>&1
11313 then ac_cv_prog_egrep
='grep -E'
11314 else ac_cv_prog_egrep
='egrep'
11317 echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
11318 echo "${ECHO_T}$ac_cv_prog_egrep" >&6
11319 EGREP
=$ac_cv_prog_egrep
11322 if test $ac_cv_c_compiler_gnu = yes; then
11323 echo "$as_me:$LINENO: checking whether $CC needs -traditional" >&5
11324 echo $ECHO_N "checking whether $CC needs -traditional... $ECHO_C" >&6
11325 if test "${ac_cv_prog_gcc_traditional+set}" = set; then
11326 echo $ECHO_N "(cached) $ECHO_C" >&6
11328 ac_pattern
="Autoconf.*'x'"
11329 cat >conftest.
$ac_ext <<_ACEOF
11332 cat confdefs.h
>>conftest.
$ac_ext
11333 cat >>conftest.
$ac_ext <<_ACEOF
11334 /* end confdefs.h. */
11338 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
11339 $EGREP "$ac_pattern" >/dev
/null
2>&1; then
11340 ac_cv_prog_gcc_traditional
=yes
11342 ac_cv_prog_gcc_traditional
=no
11347 if test $ac_cv_prog_gcc_traditional = no
; then
11348 cat >conftest.
$ac_ext <<_ACEOF
11351 cat confdefs.h
>>conftest.
$ac_ext
11352 cat >>conftest.
$ac_ext <<_ACEOF
11353 /* end confdefs.h. */
11354 #include <termio.h>
11357 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
11358 $EGREP "$ac_pattern" >/dev
/null
2>&1; then
11359 ac_cv_prog_gcc_traditional
=yes
11365 echo "$as_me:$LINENO: result: $ac_cv_prog_gcc_traditional" >&5
11366 echo "${ECHO_T}$ac_cv_prog_gcc_traditional" >&6
11367 if test $ac_cv_prog_gcc_traditional = yes; then
11368 CC
="$CC -traditional"
11376 ac_cpp
='$CXXCPP $CPPFLAGS'
11377 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11378 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11379 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
11382 CXXFLAGS
=${CXXFLAGS:=}
11384 ac_cpp
='$CXXCPP $CPPFLAGS'
11385 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11386 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11387 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
11388 if test -n "$ac_tool_prefix"; then
11389 for ac_prog
in $CCC g
++ c
++ gpp aCC CC cxx cc
++ cl FCC KCC RCC xlC_r xlC
11391 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
11392 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
11393 echo "$as_me:$LINENO: checking for $ac_word" >&5
11394 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11395 if test "${ac_cv_prog_CXX+set}" = set; then
11396 echo $ECHO_N "(cached) $ECHO_C" >&6
11398 if test -n "$CXX"; then
11399 ac_cv_prog_CXX
="$CXX" # Let the user override the test.
11401 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11402 for as_dir
in $PATH
11405 test -z "$as_dir" && as_dir
=.
11406 for ac_exec_ext
in '' $ac_executable_extensions; do
11407 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11408 ac_cv_prog_CXX
="$ac_tool_prefix$ac_prog"
11409 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11417 CXX
=$ac_cv_prog_CXX
11418 if test -n "$CXX"; then
11419 echo "$as_me:$LINENO: result: $CXX" >&5
11420 echo "${ECHO_T}$CXX" >&6
11422 echo "$as_me:$LINENO: result: no" >&5
11423 echo "${ECHO_T}no" >&6
11426 test -n "$CXX" && break
11429 if test -z "$CXX"; then
11431 for ac_prog
in $CCC g
++ c
++ gpp aCC CC cxx cc
++ cl FCC KCC RCC xlC_r xlC
11433 # Extract the first word of "$ac_prog", so it can be a program name with args.
11434 set dummy
$ac_prog; ac_word
=$2
11435 echo "$as_me:$LINENO: checking for $ac_word" >&5
11436 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11437 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
11438 echo $ECHO_N "(cached) $ECHO_C" >&6
11440 if test -n "$ac_ct_CXX"; then
11441 ac_cv_prog_ac_ct_CXX
="$ac_ct_CXX" # Let the user override the test.
11443 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11444 for as_dir
in $PATH
11447 test -z "$as_dir" && as_dir
=.
11448 for ac_exec_ext
in '' $ac_executable_extensions; do
11449 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11450 ac_cv_prog_ac_ct_CXX
="$ac_prog"
11451 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11459 ac_ct_CXX
=$ac_cv_prog_ac_ct_CXX
11460 if test -n "$ac_ct_CXX"; then
11461 echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
11462 echo "${ECHO_T}$ac_ct_CXX" >&6
11464 echo "$as_me:$LINENO: result: no" >&5
11465 echo "${ECHO_T}no" >&6
11468 test -n "$ac_ct_CXX" && break
11470 test -n "$ac_ct_CXX" || ac_ct_CXX
="g++"
11476 # Provide some information about the compiler.
11477 echo "$as_me:$LINENO:" \
11478 "checking for C++ compiler version" >&5
11479 ac_compiler
=`set X $ac_compile; echo $2`
11480 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
11481 (eval $ac_compiler --version </dev
/null
>&5) 2>&5
11483 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11484 (exit $ac_status); }
11485 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
11486 (eval $ac_compiler -v </dev
/null
>&5) 2>&5
11488 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11489 (exit $ac_status); }
11490 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
11491 (eval $ac_compiler -V </dev
/null
>&5) 2>&5
11493 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11494 (exit $ac_status); }
11496 echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
11497 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6
11498 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
11499 echo $ECHO_N "(cached) $ECHO_C" >&6
11501 cat >conftest.
$ac_ext <<_ACEOF
11504 cat confdefs.h
>>conftest.
$ac_ext
11505 cat >>conftest.
$ac_ext <<_ACEOF
11506 /* end confdefs.h. */
11519 rm -f conftest.
$ac_objext
11520 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11521 (eval $ac_compile) 2>conftest.er1
11523 grep -v '^ *+' conftest.er1
>conftest.err
11525 cat conftest.err
>&5
11526 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11527 (exit $ac_status); } &&
11528 { ac_try
='test -z "$ac_cxx_werror_flag"
11529 || 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_compiler_gnu
=yes
11543 echo "$as_me: failed program was:" >&5
11544 sed 's/^/| /' conftest.
$ac_ext >&5
11548 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11549 ac_cv_cxx_compiler_gnu
=$ac_compiler_gnu
11552 echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
11553 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6
11554 GXX
=`test $ac_compiler_gnu = yes && echo yes`
11555 ac_test_CXXFLAGS
=${CXXFLAGS+set}
11556 ac_save_CXXFLAGS
=$CXXFLAGS
11558 echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
11559 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6
11560 if test "${ac_cv_prog_cxx_g+set}" = set; then
11561 echo $ECHO_N "(cached) $ECHO_C" >&6
11563 cat >conftest.
$ac_ext <<_ACEOF
11566 cat confdefs.h
>>conftest.
$ac_ext
11567 cat >>conftest.
$ac_ext <<_ACEOF
11568 /* end confdefs.h. */
11578 rm -f conftest.
$ac_objext
11579 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11580 (eval $ac_compile) 2>conftest.er1
11582 grep -v '^ *+' conftest.er1
>conftest.err
11584 cat conftest.err
>&5
11585 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11586 (exit $ac_status); } &&
11587 { ac_try
='test -z "$ac_cxx_werror_flag"
11588 || test ! -s conftest.err'
11589 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11590 (eval $ac_try) 2>&5
11592 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11593 (exit $ac_status); }; } &&
11594 { ac_try
='test -s conftest.$ac_objext'
11595 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11596 (eval $ac_try) 2>&5
11598 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11599 (exit $ac_status); }; }; then
11600 ac_cv_prog_cxx_g
=yes
11602 echo "$as_me: failed program was:" >&5
11603 sed 's/^/| /' conftest.
$ac_ext >&5
11605 ac_cv_prog_cxx_g
=no
11607 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11609 echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
11610 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6
11611 if test "$ac_test_CXXFLAGS" = set; then
11612 CXXFLAGS
=$ac_save_CXXFLAGS
11613 elif test $ac_cv_prog_cxx_g = yes; then
11614 if test "$GXX" = yes; then
11620 if test "$GXX" = yes; then
11626 for ac_declaration
in \
11628 'extern "C" void std::exit (int) throw (); using std::exit;' \
11629 'extern "C" void std::exit (int); using std::exit;' \
11630 'extern "C" void exit (int) throw ();' \
11631 'extern "C" void exit (int);' \
11634 cat >conftest.
$ac_ext <<_ACEOF
11637 cat confdefs.h
>>conftest.
$ac_ext
11638 cat >>conftest.
$ac_ext <<_ACEOF
11639 /* end confdefs.h. */
11641 #include <stdlib.h>
11650 rm -f conftest.
$ac_objext
11651 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11652 (eval $ac_compile) 2>conftest.er1
11654 grep -v '^ *+' conftest.er1
>conftest.err
11656 cat conftest.err
>&5
11657 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11658 (exit $ac_status); } &&
11659 { ac_try
='test -z "$ac_cxx_werror_flag"
11660 || test ! -s conftest.err'
11661 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11662 (eval $ac_try) 2>&5
11664 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11665 (exit $ac_status); }; } &&
11666 { ac_try
='test -s conftest.$ac_objext'
11667 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11668 (eval $ac_try) 2>&5
11670 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11671 (exit $ac_status); }; }; then
11674 echo "$as_me: failed program was:" >&5
11675 sed 's/^/| /' conftest.
$ac_ext >&5
11679 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11680 cat >conftest.
$ac_ext <<_ACEOF
11683 cat confdefs.h
>>conftest.
$ac_ext
11684 cat >>conftest.
$ac_ext <<_ACEOF
11685 /* end confdefs.h. */
11695 rm -f conftest.
$ac_objext
11696 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11697 (eval $ac_compile) 2>conftest.er1
11699 grep -v '^ *+' conftest.er1
>conftest.err
11701 cat conftest.err
>&5
11702 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11703 (exit $ac_status); } &&
11704 { ac_try
='test -z "$ac_cxx_werror_flag"
11705 || test ! -s conftest.err'
11706 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11707 (eval $ac_try) 2>&5
11709 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11710 (exit $ac_status); }; } &&
11711 { ac_try
='test -s conftest.$ac_objext'
11712 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11713 (eval $ac_try) 2>&5
11715 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11716 (exit $ac_status); }; }; then
11719 echo "$as_me: failed program was:" >&5
11720 sed 's/^/| /' conftest.
$ac_ext >&5
11723 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11726 if test -n "$ac_declaration"; then
11727 echo '#ifdef __cplusplus' >>confdefs.h
11728 echo $ac_declaration >>confdefs.h
11729 echo '#endif' >>confdefs.h
11733 ac_cpp
='$CXXCPP $CPPFLAGS'
11734 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11735 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11736 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
11740 ac_cpp
='$CPP $CPPFLAGS'
11741 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11742 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11743 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
11746 echo "$as_me:$LINENO: checking for /usr/local/include in default include path" >&5
11747 echo $ECHO_N "checking for /usr/local/include in default include path... $ECHO_C" >&6
11748 GCC_SEARCHES_USR_LOCAL_INCLUDE
="no"
11749 if test "$GCC" = "yes" ; then
11750 echo | gcc
-v -x c
++ -E - 2>&1 | sed -n '/^#include </,$p' | \
11751 sed -n '1,/End of search list\./p' | \
11752 grep '^ */usr/local/include$' 2>&1 /dev
/null \
11753 && GCC_SEARCHES_USR_LOCAL_INCLUDE
="yes"
11755 echo "$as_me:$LINENO: result: $GCC_SEARCHES_USR_LOCAL_INCLUDE" >&5
11756 echo "${ECHO_T}$GCC_SEARCHES_USR_LOCAL_INCLUDE" >&6
11758 if test -n "$ac_tool_prefix"; then
11759 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
11760 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
11761 echo "$as_me:$LINENO: checking for $ac_word" >&5
11762 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11763 if test "${ac_cv_prog_RANLIB+set}" = set; then
11764 echo $ECHO_N "(cached) $ECHO_C" >&6
11766 if test -n "$RANLIB"; then
11767 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
11769 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11770 for as_dir
in $PATH
11773 test -z "$as_dir" && as_dir
=.
11774 for ac_exec_ext
in '' $ac_executable_extensions; do
11775 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11776 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
11777 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11785 RANLIB
=$ac_cv_prog_RANLIB
11786 if test -n "$RANLIB"; then
11787 echo "$as_me:$LINENO: result: $RANLIB" >&5
11788 echo "${ECHO_T}$RANLIB" >&6
11790 echo "$as_me:$LINENO: result: no" >&5
11791 echo "${ECHO_T}no" >&6
11795 if test -z "$ac_cv_prog_RANLIB"; then
11796 ac_ct_RANLIB
=$RANLIB
11797 # Extract the first word of "ranlib", so it can be a program name with args.
11798 set dummy ranlib
; ac_word
=$2
11799 echo "$as_me:$LINENO: checking for $ac_word" >&5
11800 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11801 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
11802 echo $ECHO_N "(cached) $ECHO_C" >&6
11804 if test -n "$ac_ct_RANLIB"; then
11805 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
11807 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11808 for as_dir
in $PATH
11811 test -z "$as_dir" && as_dir
=.
11812 for ac_exec_ext
in '' $ac_executable_extensions; do
11813 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11814 ac_cv_prog_ac_ct_RANLIB
="ranlib"
11815 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11821 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB
=":"
11824 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
11825 if test -n "$ac_ct_RANLIB"; then
11826 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
11827 echo "${ECHO_T}$ac_ct_RANLIB" >&6
11829 echo "$as_me:$LINENO: result: no" >&5
11830 echo "${ECHO_T}no" >&6
11833 RANLIB
=$ac_ct_RANLIB
11835 RANLIB
="$ac_cv_prog_RANLIB"
11839 # Extract the first word of "ar", so it can be a program name with args.
11840 set dummy
ar; ac_word
=$2
11841 echo "$as_me:$LINENO: checking for $ac_word" >&5
11842 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11843 if test "${ac_cv_prog_AR+set}" = set; then
11844 echo $ECHO_N "(cached) $ECHO_C" >&6
11846 if test -n "$AR"; then
11847 ac_cv_prog_AR
="$AR" # Let the user override the test.
11849 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11850 for as_dir
in $PATH
11853 test -z "$as_dir" && as_dir
=.
11854 for ac_exec_ext
in '' $ac_executable_extensions; do
11855 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11857 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11866 if test -n "$AR"; then
11867 echo "$as_me:$LINENO: result: $AR" >&5
11868 echo "${ECHO_T}$AR" >&6
11870 echo "$as_me:$LINENO: result: no" >&5
11871 echo "${ECHO_T}no" >&6
11874 if test "x$AR" = "x" ; then
11875 { { echo "$as_me:$LINENO: error: ar is needed to build wxWindows" >&5
11876 echo "$as_me: error: ar is needed to build wxWindows" >&2;}
11877 { (exit 1); exit 1; }; }
11880 # Find a good install program. We prefer a C program (faster),
11881 # so one script is as good as another. But avoid the broken or
11882 # incompatible versions:
11883 # SysV /etc/install, /usr/sbin/install
11884 # SunOS /usr/etc/install
11885 # IRIX /sbin/install
11887 # AmigaOS /C/install, which installs bootblocks on floppy discs
11888 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
11889 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
11890 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
11891 # OS/2's system install, which has a completely different semantic
11892 # ./install, which can be erroneously created by make from ./install.sh.
11893 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
11894 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
11895 if test -z "$INSTALL"; then
11896 if test "${ac_cv_path_install+set}" = set; then
11897 echo $ECHO_N "(cached) $ECHO_C" >&6
11899 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11900 for as_dir
in $PATH
11903 test -z "$as_dir" && as_dir
=.
11904 # Account for people who put trailing slashes in PATH elements.
11906 .
/ | .
// | /cC
/* | \
11907 /etc
/* | /usr
/sbin
/* | /usr
/etc
/* | /sbin
/* | /usr
/afsws
/bin
/* | \
11908 ?
:\\/os2
\\/install\\/* | ?
:\\/OS2
\\/INSTALL
\\/* | \
11911 # OSF1 and SCO ODT 3.0 have their own names for install.
11912 # Don't use installbsd from OSF since it installs stuff as root
11914 for ac_prog
in ginstall scoinst
install; do
11915 for ac_exec_ext
in '' $ac_executable_extensions; do
11916 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
11917 if test $ac_prog = install &&
11918 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
11919 # AIX install. It has an incompatible calling convention.
11921 elif test $ac_prog = install &&
11922 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
11923 # program-specific install script used by HP pwplus--don't use.
11926 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
11938 if test "${ac_cv_path_install+set}" = set; then
11939 INSTALL
=$ac_cv_path_install
11941 # As a last resort, use the slow shell script. We don't cache a
11942 # path for INSTALL within a source directory, because that will
11943 # break other packages using the cache if that directory is
11944 # removed, or if the path is relative.
11945 INSTALL
=$ac_install_sh
11948 echo "$as_me:$LINENO: result: $INSTALL" >&5
11949 echo "${ECHO_T}$INSTALL" >&6
11951 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
11952 # It thinks the first close brace ends the variable substitution.
11953 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
11955 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
11957 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
11963 ?
:* ) # Drive letter, considered as absolute.
11966 INSTALL
=`pwd`/${INSTALL} ;;
11971 INSTALL_DIR
="mkdir"
11974 *) INSTALL_DIR
="$INSTALL -d"
11981 powerpc
-*-darwin* )
11982 INSTALL_PROGRAM
="cp -fp"
11983 INSTALL_DATA
="cp -fp"
11989 # Extract the first word of "strip", so it can be a program name with args.
11990 set dummy strip
; ac_word
=$2
11991 echo "$as_me:$LINENO: checking for $ac_word" >&5
11992 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11993 if test "${ac_cv_prog_STRIP+set}" = set; then
11994 echo $ECHO_N "(cached) $ECHO_C" >&6
11996 if test -n "$STRIP"; then
11997 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
11999 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12000 for as_dir
in $PATH
12003 test -z "$as_dir" && as_dir
=.
12004 for ac_exec_ext
in '' $ac_executable_extensions; do
12005 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12006 ac_cv_prog_STRIP
="strip"
12007 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12013 test -z "$ac_cv_prog_STRIP" && ac_cv_prog_STRIP
="true"
12016 STRIP
=$ac_cv_prog_STRIP
12017 if test -n "$STRIP"; then
12018 echo "$as_me:$LINENO: result: $STRIP" >&5
12019 echo "${ECHO_T}$STRIP" >&6
12021 echo "$as_me:$LINENO: result: no" >&5
12022 echo "${ECHO_T}no" >&6
12026 echo "$as_me:$LINENO: checking if make is GNU make" >&5
12027 echo $ECHO_N "checking if make is GNU make... $ECHO_C" >&6
12028 if test "${wx_cv_prog_makeisgnu+set}" = set; then
12029 echo $ECHO_N "(cached) $ECHO_C" >&6
12032 if ( ${SHELL-sh} -c "${MAKE-make} --version" 2> /dev
/null
|
12033 egrep -s GNU
> /dev
/null
); then
12034 wx_cv_prog_makeisgnu
="yes"
12036 wx_cv_prog_makeisgnu
="no"
12040 echo "$as_me:$LINENO: result: $wx_cv_prog_makeisgnu" >&5
12041 echo "${ECHO_T}$wx_cv_prog_makeisgnu" >&6
12043 if test "x$wx_cv_prog_makeisgnu" = "xyes"; then
12051 if test "x$wx_cv_prog_makeisgnu" != "xyes"; then
12052 echo "$as_me:$LINENO: checking if make supports VPATH" >&5
12053 echo $ECHO_N "checking if make supports VPATH... $ECHO_C" >&6
12054 if test "${wx_cv_prog_makevpath+set}" = set; then
12055 echo $ECHO_N "(cached) $ECHO_C" >&6
12058 cat - << EOF > confMake
12064 if test ! -d sub
; then
12067 echo dummy
> sub
/file
12068 ${MAKE-make} -f confMake VPATH
=sub
2>&5 > /dev
/null
12070 rm -f sub
/file check final_file confMake
12072 if test "$RESULT" = 0; then
12073 wx_cv_prog_makevpath
="yes"
12075 wx_cv_prog_makevpath
="no"
12079 echo "$as_me:$LINENO: result: $wx_cv_prog_makevpath" >&5
12080 echo "${ECHO_T}$wx_cv_prog_makevpath" >&6
12082 if test "x$wx_cv_prog_makevpath" != "xyes"; then
12083 { { echo "$as_me:$LINENO: error:
12084 You need a make-utility that is able to use the variable
12086 If your version of make does not support VPATH correctly,
12087 please install GNU-make (possibly as gmake), and start
12088 configure with the following command:
12089 export MAKE=gmake; ./configure for sh-type shells
12090 setenv MAKE gmake; ./configure for csh-type shells
12091 Also please do remember to use gmake in this case every time
12092 you are trying to compile.
12094 echo "$as_me: error:
12095 You need a make-utility that is able to use the variable
12097 If your version of make does not support VPATH correctly,
12098 please install GNU-make (possibly as gmake), and start
12099 configure with the following command:
12100 export MAKE=gmake; ./configure for sh-type shells
12101 setenv MAKE gmake; ./configure for csh-type shells
12102 Also please do remember to use gmake in this case every time
12103 you are trying to compile.
12105 { (exit 1); exit 1; }; }
12107 echo "$as_me:$LINENO: checking whether ln -s works" >&5
12108 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
12110 if test "$LN_S" = "ln -s"; then
12111 echo "$as_me:$LINENO: result: yes" >&5
12112 echo "${ECHO_T}yes" >&6
12114 echo "$as_me:$LINENO: result: no, using $LN_S" >&5
12115 echo "${ECHO_T}no, using $LN_S" >&6
12121 *-pc-os2_emx | *-pc-os2-emx )
12122 if test "$wxUSE_MOTIF" = 1 -o "$wxUSE_GTK" = 1 -o "$wxUSE_X11" = 1; then
12123 echo "$as_me:$LINENO: checking for drand48 in -lcExt" >&5
12124 echo $ECHO_N "checking for drand48 in -lcExt... $ECHO_C" >&6
12125 if test "${ac_cv_lib_cExt_drand48+set}" = set; then
12126 echo $ECHO_N "(cached) $ECHO_C" >&6
12128 ac_check_lib_save_LIBS
=$LIBS
12129 LIBS
="-lcExt $LIBS"
12130 cat >conftest.
$ac_ext <<_ACEOF
12133 cat confdefs.h
>>conftest.
$ac_ext
12134 cat >>conftest.
$ac_ext <<_ACEOF
12135 /* end confdefs.h. */
12137 /* Override any gcc2 internal prototype to avoid an error. */
12141 /* We use char because int might match the return type of a gcc2
12142 builtin and then its argument prototype would still apply. */
12152 rm -f conftest.
$ac_objext conftest
$ac_exeext
12153 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12154 (eval $ac_link) 2>conftest.er1
12156 grep -v '^ *+' conftest.er1
>conftest.err
12158 cat conftest.err
>&5
12159 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12160 (exit $ac_status); } &&
12161 { ac_try
='test -z "$ac_c_werror_flag"
12162 || test ! -s conftest.err'
12163 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12164 (eval $ac_try) 2>&5
12166 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12167 (exit $ac_status); }; } &&
12168 { ac_try
='test -s conftest$ac_exeext'
12169 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12170 (eval $ac_try) 2>&5
12172 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12173 (exit $ac_status); }; }; then
12174 ac_cv_lib_cExt_drand48
=yes
12176 echo "$as_me: failed program was:" >&5
12177 sed 's/^/| /' conftest.
$ac_ext >&5
12179 ac_cv_lib_cExt_drand48
=no
12181 rm -f conftest.err conftest.
$ac_objext \
12182 conftest
$ac_exeext conftest.
$ac_ext
12183 LIBS
=$ac_check_lib_save_LIBS
12185 echo "$as_me:$LINENO: result: $ac_cv_lib_cExt_drand48" >&5
12186 echo "${ECHO_T}$ac_cv_lib_cExt_drand48" >&6
12187 if test $ac_cv_lib_cExt_drand48 = yes; then
12188 LIBS
="$LIBS -lcExt"
12192 RESPROGRAMOBJ
="\${top_srcdir}/include/wx/os2/wx.res"
12194 echo "$as_me:$LINENO: checking for gcc version" >&5
12195 echo $ECHO_N "checking for gcc version... $ECHO_C" >&6
12196 if test "${wx_cv_gccversion+set}" = set; then
12197 echo $ECHO_N "(cached) $ECHO_C" >&6
12200 cat >conftest.
$ac_ext <<_ACEOF
12203 cat confdefs.h
>>conftest.
$ac_ext
12204 cat >>conftest.
$ac_ext <<_ACEOF
12205 /* end confdefs.h. */
12219 rm -f conftest.
$ac_objext
12220 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12221 (eval $ac_compile) 2>conftest.er1
12223 grep -v '^ *+' conftest.er1
>conftest.err
12225 cat conftest.err
>&5
12226 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12227 (exit $ac_status); } &&
12228 { ac_try
='test -z "$ac_c_werror_flag"
12229 || test ! -s conftest.err'
12230 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12231 (eval $ac_try) 2>&5
12233 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12234 (exit $ac_status); }; } &&
12235 { ac_try
='test -s conftest.$ac_objext'
12236 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12237 (eval $ac_try) 2>&5
12239 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12240 (exit $ac_status); }; }; then
12242 cat >conftest.
$ac_ext <<_ACEOF
12245 cat confdefs.h
>>conftest.
$ac_ext
12246 cat >>conftest.
$ac_ext <<_ACEOF
12247 /* end confdefs.h. */
12253 #if (__GNUC__==3) && ((__GNUC_MINOR__ < 2) || ((__GNUC_MINOR__==2) && (__GNUC_PATCHLEVEL__<2)))
12254 #error intermediate gcc
12261 rm -f conftest.
$ac_objext
12262 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12263 (eval $ac_compile) 2>conftest.er1
12265 grep -v '^ *+' conftest.er1
>conftest.err
12267 cat conftest.err
>&5
12268 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12269 (exit $ac_status); } &&
12270 { ac_try
='test -z "$ac_c_werror_flag"
12271 || test ! -s conftest.err'
12272 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12273 (eval $ac_try) 2>&5
12275 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12276 (exit $ac_status); }; } &&
12277 { ac_try
='test -s conftest.$ac_objext'
12278 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12279 (eval $ac_try) 2>&5
12281 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12282 (exit $ac_status); }; }; then
12284 wx_cv_gccversion
=Innotek
12287 echo "$as_me: failed program was:" >&5
12288 sed 's/^/| /' conftest.
$ac_ext >&5
12295 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12298 echo "$as_me: failed program was:" >&5
12299 sed 's/^/| /' conftest.
$ac_ext >&5
12306 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12309 echo "$as_me:$LINENO: result: $wx_cv_gccversion" >&5
12310 echo "${ECHO_T}$wx_cv_gccversion" >&6
12311 if test "$wx_cv_gccversion" = "2"; then
12312 LIBS
="$LIBS -lstdcpp"
12313 LDFLAGS
="$LDFLAGS -Zsysv-signals"
12315 if test "$wx_cv_gccversion" = "3"; then
12316 LIBS
="$LIBS -lstdcxx"
12317 LDFLAGS
="$LDFLAGS -Zsysv-signals"
12319 LIBS
="$LIBS -lstdc++"
12322 if test "$wxUSE_OMF" = "yes"; then
12323 LDFLAGS
="$LDFLAGS -Zlinker /PMTYPE:PM -Zlinker /EXEPACK"
12331 ac_cpp
='$CXXCPP $CPPFLAGS'
12332 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12333 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12334 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
12338 echo "$as_me:$LINENO: checking for strcasecmp() in string.h" >&5
12339 echo $ECHO_N "checking for strcasecmp() in string.h... $ECHO_C" >&6
12340 if test "${ac_cv_string_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 <string.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"
12373 || test ! -s conftest.err'
12374 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12375 (eval $ac_try) 2>&5
12377 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12378 (exit $ac_status); }; } &&
12379 { ac_try
='test -s conftest$ac_exeext'
12380 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12381 (eval $ac_try) 2>&5
12383 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12384 (exit $ac_status); }; }; then
12385 ac_cv_string_strcasecmp
=yes
12387 echo "$as_me: failed program was:" >&5
12388 sed 's/^/| /' conftest.
$ac_ext >&5
12390 ac_cv_string_strcasecmp
=no
12393 rm -f conftest.err conftest.
$ac_objext \
12394 conftest
$ac_exeext conftest.
$ac_ext
12397 echo "$as_me:$LINENO: result: $ac_cv_string_strcasecmp" >&5
12398 echo "${ECHO_T}$ac_cv_string_strcasecmp" >&6
12400 if test x
"$ac_cv_string_strcasecmp" = "xyes"; then
12401 cat >>confdefs.h
<<\_ACEOF
12402 #define HAVE_STRCASECMP_IN_STRING_H 1
12406 echo "$as_me:$LINENO: checking for strcasecmp() in strings.h" >&5
12407 echo $ECHO_N "checking for strcasecmp() in strings.h... $ECHO_C" >&6
12408 if test "${ac_cv_strings_strcasecmp+set}" = set; then
12409 echo $ECHO_N "(cached) $ECHO_C" >&6
12412 cat >conftest.
$ac_ext <<_ACEOF
12415 cat confdefs.h
>>conftest.
$ac_ext
12416 cat >>conftest.
$ac_ext <<_ACEOF
12417 /* end confdefs.h. */
12419 #include <strings.h>
12425 strcasecmp("foo", "bar");
12431 rm -f conftest.
$ac_objext conftest
$ac_exeext
12432 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12433 (eval $ac_link) 2>conftest.er1
12435 grep -v '^ *+' conftest.er1
>conftest.err
12437 cat conftest.err
>&5
12438 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12439 (exit $ac_status); } &&
12440 { ac_try
='test -z "$ac_cxx_werror_flag"
12441 || test ! -s conftest.err'
12442 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12443 (eval $ac_try) 2>&5
12445 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12446 (exit $ac_status); }; } &&
12447 { ac_try
='test -s conftest$ac_exeext'
12448 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12449 (eval $ac_try) 2>&5
12451 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12452 (exit $ac_status); }; }; then
12453 ac_cv_strings_strcasecmp
=yes
12455 echo "$as_me: failed program was:" >&5
12456 sed 's/^/| /' conftest.
$ac_ext >&5
12458 ac_cv_strings_strcasecmp
=no
12461 rm -f conftest.err conftest.
$ac_objext \
12462 conftest
$ac_exeext conftest.
$ac_ext
12465 echo "$as_me:$LINENO: result: $ac_cv_strings_strcasecmp" >&5
12466 echo "${ECHO_T}$ac_cv_strings_strcasecmp" >&6
12468 if test x
"$ac_cv_string_strcasecmp" = "xyes"; then
12469 cat >>confdefs.h
<<\_ACEOF
12470 #define HAVE_STRCASECMP_IN_STRINGS_H 1
12474 { { echo "$as_me:$LINENO: error: No case-insensitive string comparison function found." >&5
12475 echo "$as_me: error: No case-insensitive string comparison function found." >&2;}
12476 { (exit 1); exit 1; }; }
12481 ac_cpp
='$CPP $CPPFLAGS'
12482 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12483 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12484 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
12490 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
12491 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
12492 if test "${ac_cv_header_stdc+set}" = set; then
12493 echo $ECHO_N "(cached) $ECHO_C" >&6
12495 cat >conftest.
$ac_ext <<_ACEOF
12498 cat confdefs.h
>>conftest.
$ac_ext
12499 cat >>conftest.
$ac_ext <<_ACEOF
12500 /* end confdefs.h. */
12501 #include <stdlib.h>
12502 #include <stdarg.h>
12503 #include <string.h>
12514 rm -f conftest.
$ac_objext
12515 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12516 (eval $ac_compile) 2>conftest.er1
12518 grep -v '^ *+' conftest.er1
>conftest.err
12520 cat conftest.err
>&5
12521 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12522 (exit $ac_status); } &&
12523 { ac_try
='test -z "$ac_c_werror_flag"
12524 || test ! -s conftest.err'
12525 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12526 (eval $ac_try) 2>&5
12528 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12529 (exit $ac_status); }; } &&
12530 { ac_try
='test -s conftest.$ac_objext'
12531 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12532 (eval $ac_try) 2>&5
12534 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12535 (exit $ac_status); }; }; then
12536 ac_cv_header_stdc
=yes
12538 echo "$as_me: failed program was:" >&5
12539 sed 's/^/| /' conftest.
$ac_ext >&5
12541 ac_cv_header_stdc
=no
12543 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12545 if test $ac_cv_header_stdc = yes; then
12546 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
12547 cat >conftest.
$ac_ext <<_ACEOF
12550 cat confdefs.h
>>conftest.
$ac_ext
12551 cat >>conftest.
$ac_ext <<_ACEOF
12552 /* end confdefs.h. */
12553 #include <string.h>
12556 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
12557 $EGREP "memchr" >/dev
/null
2>&1; then
12560 ac_cv_header_stdc
=no
12566 if test $ac_cv_header_stdc = yes; then
12567 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
12568 cat >conftest.
$ac_ext <<_ACEOF
12571 cat confdefs.h
>>conftest.
$ac_ext
12572 cat >>conftest.
$ac_ext <<_ACEOF
12573 /* end confdefs.h. */
12574 #include <stdlib.h>
12577 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
12578 $EGREP "free" >/dev
/null
2>&1; then
12581 ac_cv_header_stdc
=no
12587 if test $ac_cv_header_stdc = yes; then
12588 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
12589 if test "$cross_compiling" = yes; then
12592 cat >conftest.
$ac_ext <<_ACEOF
12595 cat confdefs.h
>>conftest.
$ac_ext
12596 cat >>conftest.
$ac_ext <<_ACEOF
12597 /* end confdefs.h. */
12599 #if ((' ' & 0x0FF) == 0x020)
12600 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
12601 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
12603 # define ISLOWER(c) \
12604 (('a' <= (c) && (c) <= 'i') \
12605 || ('j' <= (c) && (c) <= 'r') \
12606 || ('s' <= (c) && (c) <= 'z'))
12607 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
12610 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
12615 for (i = 0; i < 256; i++)
12616 if (XOR (islower (i), ISLOWER (i))
12617 || toupper (i) != TOUPPER (i))
12622 rm -f conftest
$ac_exeext
12623 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12624 (eval $ac_link) 2>&5
12626 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12627 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
12628 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12629 (eval $ac_try) 2>&5
12631 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12632 (exit $ac_status); }; }; then
12635 echo "$as_me: program exited with status $ac_status" >&5
12636 echo "$as_me: failed program was:" >&5
12637 sed 's/^/| /' conftest.
$ac_ext >&5
12639 ( exit $ac_status )
12640 ac_cv_header_stdc
=no
12642 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
12646 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
12647 echo "${ECHO_T}$ac_cv_header_stdc" >&6
12648 if test $ac_cv_header_stdc = yes; then
12650 cat >>confdefs.h
<<\_ACEOF
12651 #define STDC_HEADERS 1
12656 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
12666 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
12667 inttypes.h stdint.h unistd.h
12669 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
12670 echo "$as_me:$LINENO: checking for $ac_header" >&5
12671 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12672 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12673 echo $ECHO_N "(cached) $ECHO_C" >&6
12675 cat >conftest.
$ac_ext <<_ACEOF
12678 cat confdefs.h
>>conftest.
$ac_ext
12679 cat >>conftest.
$ac_ext <<_ACEOF
12680 /* end confdefs.h. */
12681 $ac_includes_default
12683 #include <$ac_header>
12685 rm -f conftest.
$ac_objext
12686 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12687 (eval $ac_compile) 2>conftest.er1
12689 grep -v '^ *+' conftest.er1
>conftest.err
12691 cat conftest.err
>&5
12692 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12693 (exit $ac_status); } &&
12694 { ac_try
='test -z "$ac_c_werror_flag"
12695 || test ! -s conftest.err'
12696 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12697 (eval $ac_try) 2>&5
12699 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12700 (exit $ac_status); }; } &&
12701 { ac_try
='test -s conftest.$ac_objext'
12702 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12703 (eval $ac_try) 2>&5
12705 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12706 (exit $ac_status); }; }; then
12707 eval "$as_ac_Header=yes"
12709 echo "$as_me: failed program was:" >&5
12710 sed 's/^/| /' conftest.
$ac_ext >&5
12712 eval "$as_ac_Header=no"
12714 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12716 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12717 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12718 if test `eval echo '${'$as_ac_Header'}'` = yes; then
12719 cat >>confdefs.h
<<_ACEOF
12720 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
12729 for ac_header
in stdlib.h
12731 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
12732 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12733 echo "$as_me:$LINENO: checking for $ac_header" >&5
12734 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12735 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12736 echo $ECHO_N "(cached) $ECHO_C" >&6
12738 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12739 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12741 # Is the header compilable?
12742 echo "$as_me:$LINENO: checking $ac_header usability" >&5
12743 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
12744 cat >conftest.
$ac_ext <<_ACEOF
12747 cat confdefs.h
>>conftest.
$ac_ext
12748 cat >>conftest.
$ac_ext <<_ACEOF
12749 /* end confdefs.h. */
12750 $ac_includes_default
12751 #include <$ac_header>
12753 rm -f conftest.
$ac_objext
12754 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12755 (eval $ac_compile) 2>conftest.er1
12757 grep -v '^ *+' conftest.er1
>conftest.err
12759 cat conftest.err
>&5
12760 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12761 (exit $ac_status); } &&
12762 { ac_try
='test -z "$ac_c_werror_flag"
12763 || test ! -s conftest.err'
12764 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12765 (eval $ac_try) 2>&5
12767 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12768 (exit $ac_status); }; } &&
12769 { ac_try
='test -s conftest.$ac_objext'
12770 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12771 (eval $ac_try) 2>&5
12773 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12774 (exit $ac_status); }; }; then
12775 ac_header_compiler
=yes
12777 echo "$as_me: failed program was:" >&5
12778 sed 's/^/| /' conftest.
$ac_ext >&5
12780 ac_header_compiler
=no
12782 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12783 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
12784 echo "${ECHO_T}$ac_header_compiler" >&6
12786 # Is the header present?
12787 echo "$as_me:$LINENO: checking $ac_header presence" >&5
12788 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
12789 cat >conftest.
$ac_ext <<_ACEOF
12792 cat confdefs.h
>>conftest.
$ac_ext
12793 cat >>conftest.
$ac_ext <<_ACEOF
12794 /* end confdefs.h. */
12795 #include <$ac_header>
12797 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
12798 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
12800 grep -v '^ *+' conftest.er1
>conftest.err
12802 cat conftest.err
>&5
12803 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12804 (exit $ac_status); } >/dev
/null
; then
12805 if test -s conftest.err
; then
12806 ac_cpp_err
=$ac_c_preproc_warn_flag
12807 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
12814 if test -z "$ac_cpp_err"; then
12815 ac_header_preproc
=yes
12817 echo "$as_me: failed program was:" >&5
12818 sed 's/^/| /' conftest.
$ac_ext >&5
12820 ac_header_preproc
=no
12822 rm -f conftest.err conftest.
$ac_ext
12823 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
12824 echo "${ECHO_T}$ac_header_preproc" >&6
12826 # So? What about this header?
12827 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
12829 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
12830 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
12831 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
12832 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
12833 ac_header_preproc
=yes
12836 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
12837 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
12838 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
12839 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
12840 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
12841 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
12842 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
12843 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
12844 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12845 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
12846 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
12847 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
12850 ## ----------------------------------------- ##
12851 ## Report this to wx-dev@lists.wxwindows.org ##
12852 ## ----------------------------------------- ##
12855 sed "s/^/$as_me: WARNING: /" >&2
12858 echo "$as_me:$LINENO: checking for $ac_header" >&5
12859 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12860 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12861 echo $ECHO_N "(cached) $ECHO_C" >&6
12863 eval "$as_ac_Header=\$ac_header_preproc"
12865 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12866 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12869 if test `eval echo '${'$as_ac_Header'}'` = yes; then
12870 cat >>confdefs.h
<<_ACEOF
12871 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
12879 for ac_header
in malloc.h
12881 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
12882 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12883 echo "$as_me:$LINENO: checking for $ac_header" >&5
12884 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12885 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12886 echo $ECHO_N "(cached) $ECHO_C" >&6
12888 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12889 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12891 # Is the header compilable?
12892 echo "$as_me:$LINENO: checking $ac_header usability" >&5
12893 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
12894 cat >conftest.
$ac_ext <<_ACEOF
12897 cat confdefs.h
>>conftest.
$ac_ext
12898 cat >>conftest.
$ac_ext <<_ACEOF
12899 /* end confdefs.h. */
12900 $ac_includes_default
12901 #include <$ac_header>
12903 rm -f conftest.
$ac_objext
12904 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12905 (eval $ac_compile) 2>conftest.er1
12907 grep -v '^ *+' conftest.er1
>conftest.err
12909 cat conftest.err
>&5
12910 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12911 (exit $ac_status); } &&
12912 { ac_try
='test -z "$ac_c_werror_flag"
12913 || test ! -s conftest.err'
12914 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12915 (eval $ac_try) 2>&5
12917 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12918 (exit $ac_status); }; } &&
12919 { ac_try
='test -s conftest.$ac_objext'
12920 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12921 (eval $ac_try) 2>&5
12923 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12924 (exit $ac_status); }; }; then
12925 ac_header_compiler
=yes
12927 echo "$as_me: failed program was:" >&5
12928 sed 's/^/| /' conftest.
$ac_ext >&5
12930 ac_header_compiler
=no
12932 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12933 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
12934 echo "${ECHO_T}$ac_header_compiler" >&6
12936 # Is the header present?
12937 echo "$as_me:$LINENO: checking $ac_header presence" >&5
12938 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
12939 cat >conftest.
$ac_ext <<_ACEOF
12942 cat confdefs.h
>>conftest.
$ac_ext
12943 cat >>conftest.
$ac_ext <<_ACEOF
12944 /* end confdefs.h. */
12945 #include <$ac_header>
12947 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
12948 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
12950 grep -v '^ *+' conftest.er1
>conftest.err
12952 cat conftest.err
>&5
12953 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12954 (exit $ac_status); } >/dev
/null
; then
12955 if test -s conftest.err
; then
12956 ac_cpp_err
=$ac_c_preproc_warn_flag
12957 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
12964 if test -z "$ac_cpp_err"; then
12965 ac_header_preproc
=yes
12967 echo "$as_me: failed program was:" >&5
12968 sed 's/^/| /' conftest.
$ac_ext >&5
12970 ac_header_preproc
=no
12972 rm -f conftest.err conftest.
$ac_ext
12973 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
12974 echo "${ECHO_T}$ac_header_preproc" >&6
12976 # So? What about this header?
12977 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
12979 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
12980 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
12981 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
12982 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
12983 ac_header_preproc
=yes
12986 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
12987 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
12988 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
12989 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
12990 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
12991 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
12992 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
12993 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
12994 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12995 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
12996 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
12997 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
13000 ## ----------------------------------------- ##
13001 ## Report this to wx-dev@lists.wxwindows.org ##
13002 ## ----------------------------------------- ##
13005 sed "s/^/$as_me: WARNING: /" >&2
13008 echo "$as_me:$LINENO: checking for $ac_header" >&5
13009 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13010 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13011 echo $ECHO_N "(cached) $ECHO_C" >&6
13013 eval "$as_ac_Header=\$ac_header_preproc"
13015 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13016 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13019 if test `eval echo '${'$as_ac_Header'}'` = yes; then
13020 cat >>confdefs.h
<<_ACEOF
13021 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
13029 for ac_header
in unistd.h
13031 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
13032 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13033 echo "$as_me:$LINENO: checking for $ac_header" >&5
13034 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13035 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13036 echo $ECHO_N "(cached) $ECHO_C" >&6
13038 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13039 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13041 # Is the header compilable?
13042 echo "$as_me:$LINENO: checking $ac_header usability" >&5
13043 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
13044 cat >conftest.
$ac_ext <<_ACEOF
13047 cat confdefs.h
>>conftest.
$ac_ext
13048 cat >>conftest.
$ac_ext <<_ACEOF
13049 /* end confdefs.h. */
13050 $ac_includes_default
13051 #include <$ac_header>
13053 rm -f conftest.
$ac_objext
13054 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13055 (eval $ac_compile) 2>conftest.er1
13057 grep -v '^ *+' conftest.er1
>conftest.err
13059 cat conftest.err
>&5
13060 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13061 (exit $ac_status); } &&
13062 { ac_try
='test -z "$ac_c_werror_flag"
13063 || test ! -s conftest.err'
13064 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13065 (eval $ac_try) 2>&5
13067 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13068 (exit $ac_status); }; } &&
13069 { ac_try
='test -s conftest.$ac_objext'
13070 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13071 (eval $ac_try) 2>&5
13073 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13074 (exit $ac_status); }; }; then
13075 ac_header_compiler
=yes
13077 echo "$as_me: failed program was:" >&5
13078 sed 's/^/| /' conftest.
$ac_ext >&5
13080 ac_header_compiler
=no
13082 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13083 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
13084 echo "${ECHO_T}$ac_header_compiler" >&6
13086 # Is the header present?
13087 echo "$as_me:$LINENO: checking $ac_header presence" >&5
13088 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
13089 cat >conftest.
$ac_ext <<_ACEOF
13092 cat confdefs.h
>>conftest.
$ac_ext
13093 cat >>conftest.
$ac_ext <<_ACEOF
13094 /* end confdefs.h. */
13095 #include <$ac_header>
13097 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
13098 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
13100 grep -v '^ *+' conftest.er1
>conftest.err
13102 cat conftest.err
>&5
13103 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13104 (exit $ac_status); } >/dev
/null
; then
13105 if test -s conftest.err
; then
13106 ac_cpp_err
=$ac_c_preproc_warn_flag
13107 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
13114 if test -z "$ac_cpp_err"; then
13115 ac_header_preproc
=yes
13117 echo "$as_me: failed program was:" >&5
13118 sed 's/^/| /' conftest.
$ac_ext >&5
13120 ac_header_preproc
=no
13122 rm -f conftest.err conftest.
$ac_ext
13123 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
13124 echo "${ECHO_T}$ac_header_preproc" >&6
13126 # So? What about this header?
13127 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
13129 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
13130 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
13131 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
13132 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
13133 ac_header_preproc
=yes
13136 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
13137 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
13138 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
13139 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
13140 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
13141 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
13142 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
13143 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
13144 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
13145 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
13146 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
13147 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
13150 ## ----------------------------------------- ##
13151 ## Report this to wx-dev@lists.wxwindows.org ##
13152 ## ----------------------------------------- ##
13155 sed "s/^/$as_me: WARNING: /" >&2
13158 echo "$as_me:$LINENO: checking for $ac_header" >&5
13159 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13160 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13161 echo $ECHO_N "(cached) $ECHO_C" >&6
13163 eval "$as_ac_Header=\$ac_header_preproc"
13165 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13166 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13169 if test `eval echo '${'$as_ac_Header'}'` = yes; then
13170 cat >>confdefs.h
<<_ACEOF
13171 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
13179 for ac_header
in wchar.h
13181 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
13182 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13183 echo "$as_me:$LINENO: checking for $ac_header" >&5
13184 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13185 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13186 echo $ECHO_N "(cached) $ECHO_C" >&6
13188 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13189 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13191 # Is the header compilable?
13192 echo "$as_me:$LINENO: checking $ac_header usability" >&5
13193 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
13194 cat >conftest.
$ac_ext <<_ACEOF
13197 cat confdefs.h
>>conftest.
$ac_ext
13198 cat >>conftest.
$ac_ext <<_ACEOF
13199 /* end confdefs.h. */
13200 $ac_includes_default
13201 #include <$ac_header>
13203 rm -f conftest.
$ac_objext
13204 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13205 (eval $ac_compile) 2>conftest.er1
13207 grep -v '^ *+' conftest.er1
>conftest.err
13209 cat conftest.err
>&5
13210 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13211 (exit $ac_status); } &&
13212 { ac_try
='test -z "$ac_c_werror_flag"
13213 || test ! -s conftest.err'
13214 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13215 (eval $ac_try) 2>&5
13217 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13218 (exit $ac_status); }; } &&
13219 { ac_try
='test -s conftest.$ac_objext'
13220 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13221 (eval $ac_try) 2>&5
13223 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13224 (exit $ac_status); }; }; then
13225 ac_header_compiler
=yes
13227 echo "$as_me: failed program was:" >&5
13228 sed 's/^/| /' conftest.
$ac_ext >&5
13230 ac_header_compiler
=no
13232 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13233 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
13234 echo "${ECHO_T}$ac_header_compiler" >&6
13236 # Is the header present?
13237 echo "$as_me:$LINENO: checking $ac_header presence" >&5
13238 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
13239 cat >conftest.
$ac_ext <<_ACEOF
13242 cat confdefs.h
>>conftest.
$ac_ext
13243 cat >>conftest.
$ac_ext <<_ACEOF
13244 /* end confdefs.h. */
13245 #include <$ac_header>
13247 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
13248 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
13250 grep -v '^ *+' conftest.er1
>conftest.err
13252 cat conftest.err
>&5
13253 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13254 (exit $ac_status); } >/dev
/null
; then
13255 if test -s conftest.err
; then
13256 ac_cpp_err
=$ac_c_preproc_warn_flag
13257 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
13264 if test -z "$ac_cpp_err"; then
13265 ac_header_preproc
=yes
13267 echo "$as_me: failed program was:" >&5
13268 sed 's/^/| /' conftest.
$ac_ext >&5
13270 ac_header_preproc
=no
13272 rm -f conftest.err conftest.
$ac_ext
13273 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
13274 echo "${ECHO_T}$ac_header_preproc" >&6
13276 # So? What about this header?
13277 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
13279 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
13280 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
13281 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
13282 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
13283 ac_header_preproc
=yes
13286 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
13287 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
13288 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
13289 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
13290 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
13291 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
13292 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
13293 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
13294 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
13295 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
13296 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
13297 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
13300 ## ----------------------------------------- ##
13301 ## Report this to wx-dev@lists.wxwindows.org ##
13302 ## ----------------------------------------- ##
13305 sed "s/^/$as_me: WARNING: /" >&2
13308 echo "$as_me:$LINENO: checking for $ac_header" >&5
13309 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13310 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13311 echo $ECHO_N "(cached) $ECHO_C" >&6
13313 eval "$as_ac_Header=\$ac_header_preproc"
13315 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13316 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13319 if test `eval echo '${'$as_ac_Header'}'` = yes; then
13320 cat >>confdefs.h
<<_ACEOF
13321 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
13329 if test "$ac_cv_header_wchar_h" != "yes"; then
13331 for ac_header
in wcstr.h
13333 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
13334 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13335 echo "$as_me:$LINENO: checking for $ac_header" >&5
13336 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13337 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13338 echo $ECHO_N "(cached) $ECHO_C" >&6
13340 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13341 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13343 # Is the header compilable?
13344 echo "$as_me:$LINENO: checking $ac_header usability" >&5
13345 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
13346 cat >conftest.
$ac_ext <<_ACEOF
13349 cat confdefs.h
>>conftest.
$ac_ext
13350 cat >>conftest.
$ac_ext <<_ACEOF
13351 /* end confdefs.h. */
13352 $ac_includes_default
13353 #include <$ac_header>
13355 rm -f conftest.
$ac_objext
13356 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13357 (eval $ac_compile) 2>conftest.er1
13359 grep -v '^ *+' conftest.er1
>conftest.err
13361 cat conftest.err
>&5
13362 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13363 (exit $ac_status); } &&
13364 { ac_try
='test -z "$ac_c_werror_flag"
13365 || test ! -s conftest.err'
13366 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13367 (eval $ac_try) 2>&5
13369 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13370 (exit $ac_status); }; } &&
13371 { ac_try
='test -s conftest.$ac_objext'
13372 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13373 (eval $ac_try) 2>&5
13375 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13376 (exit $ac_status); }; }; then
13377 ac_header_compiler
=yes
13379 echo "$as_me: failed program was:" >&5
13380 sed 's/^/| /' conftest.
$ac_ext >&5
13382 ac_header_compiler
=no
13384 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13385 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
13386 echo "${ECHO_T}$ac_header_compiler" >&6
13388 # Is the header present?
13389 echo "$as_me:$LINENO: checking $ac_header presence" >&5
13390 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
13391 cat >conftest.
$ac_ext <<_ACEOF
13394 cat confdefs.h
>>conftest.
$ac_ext
13395 cat >>conftest.
$ac_ext <<_ACEOF
13396 /* end confdefs.h. */
13397 #include <$ac_header>
13399 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
13400 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
13402 grep -v '^ *+' conftest.er1
>conftest.err
13404 cat conftest.err
>&5
13405 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13406 (exit $ac_status); } >/dev
/null
; then
13407 if test -s conftest.err
; then
13408 ac_cpp_err
=$ac_c_preproc_warn_flag
13409 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
13416 if test -z "$ac_cpp_err"; then
13417 ac_header_preproc
=yes
13419 echo "$as_me: failed program was:" >&5
13420 sed 's/^/| /' conftest.
$ac_ext >&5
13422 ac_header_preproc
=no
13424 rm -f conftest.err conftest.
$ac_ext
13425 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
13426 echo "${ECHO_T}$ac_header_preproc" >&6
13428 # So? What about this header?
13429 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
13431 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
13432 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
13433 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
13434 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
13435 ac_header_preproc
=yes
13438 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
13439 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
13440 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
13441 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
13442 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
13443 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
13444 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
13445 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
13446 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
13447 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
13448 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
13449 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
13452 ## ----------------------------------------- ##
13453 ## Report this to wx-dev@lists.wxwindows.org ##
13454 ## ----------------------------------------- ##
13457 sed "s/^/$as_me: WARNING: /" >&2
13460 echo "$as_me:$LINENO: checking for $ac_header" >&5
13461 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13462 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13463 echo $ECHO_N "(cached) $ECHO_C" >&6
13465 eval "$as_ac_Header=\$ac_header_preproc"
13467 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13468 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13471 if test `eval echo '${'$as_ac_Header'}'` = yes; then
13472 cat >>confdefs.h
<<_ACEOF
13473 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
13483 for ac_header
in fnmatch.h
13485 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
13486 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13487 echo "$as_me:$LINENO: checking for $ac_header" >&5
13488 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13489 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13490 echo $ECHO_N "(cached) $ECHO_C" >&6
13492 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13493 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13495 # Is the header compilable?
13496 echo "$as_me:$LINENO: checking $ac_header usability" >&5
13497 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
13498 cat >conftest.
$ac_ext <<_ACEOF
13501 cat confdefs.h
>>conftest.
$ac_ext
13502 cat >>conftest.
$ac_ext <<_ACEOF
13503 /* end confdefs.h. */
13504 $ac_includes_default
13505 #include <$ac_header>
13507 rm -f conftest.
$ac_objext
13508 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13509 (eval $ac_compile) 2>conftest.er1
13511 grep -v '^ *+' conftest.er1
>conftest.err
13513 cat conftest.err
>&5
13514 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13515 (exit $ac_status); } &&
13516 { ac_try
='test -z "$ac_c_werror_flag"
13517 || test ! -s conftest.err'
13518 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13519 (eval $ac_try) 2>&5
13521 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13522 (exit $ac_status); }; } &&
13523 { ac_try
='test -s conftest.$ac_objext'
13524 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13525 (eval $ac_try) 2>&5
13527 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13528 (exit $ac_status); }; }; then
13529 ac_header_compiler
=yes
13531 echo "$as_me: failed program was:" >&5
13532 sed 's/^/| /' conftest.
$ac_ext >&5
13534 ac_header_compiler
=no
13536 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13537 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
13538 echo "${ECHO_T}$ac_header_compiler" >&6
13540 # Is the header present?
13541 echo "$as_me:$LINENO: checking $ac_header presence" >&5
13542 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
13543 cat >conftest.
$ac_ext <<_ACEOF
13546 cat confdefs.h
>>conftest.
$ac_ext
13547 cat >>conftest.
$ac_ext <<_ACEOF
13548 /* end confdefs.h. */
13549 #include <$ac_header>
13551 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
13552 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
13554 grep -v '^ *+' conftest.er1
>conftest.err
13556 cat conftest.err
>&5
13557 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13558 (exit $ac_status); } >/dev
/null
; then
13559 if test -s conftest.err
; then
13560 ac_cpp_err
=$ac_c_preproc_warn_flag
13561 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
13568 if test -z "$ac_cpp_err"; then
13569 ac_header_preproc
=yes
13571 echo "$as_me: failed program was:" >&5
13572 sed 's/^/| /' conftest.
$ac_ext >&5
13574 ac_header_preproc
=no
13576 rm -f conftest.err conftest.
$ac_ext
13577 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
13578 echo "${ECHO_T}$ac_header_preproc" >&6
13580 # So? What about this header?
13581 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
13583 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
13584 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
13585 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
13586 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
13587 ac_header_preproc
=yes
13590 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
13591 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
13592 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
13593 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
13594 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
13595 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
13596 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
13597 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
13598 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
13599 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
13600 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
13601 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
13604 ## ----------------------------------------- ##
13605 ## Report this to wx-dev@lists.wxwindows.org ##
13606 ## ----------------------------------------- ##
13609 sed "s/^/$as_me: WARNING: /" >&2
13612 echo "$as_me:$LINENO: checking for $ac_header" >&5
13613 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13614 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13615 echo $ECHO_N "(cached) $ECHO_C" >&6
13617 eval "$as_ac_Header=\$ac_header_preproc"
13619 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13620 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13623 if test `eval echo '${'$as_ac_Header'}'` = yes; then
13624 cat >>confdefs.h
<<_ACEOF
13625 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
13633 if test "x$ac_cv_header_fnmatch_h" = "xyes"; then
13635 for ac_func
in fnmatch
13637 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
13638 echo "$as_me:$LINENO: checking for $ac_func" >&5
13639 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
13640 if eval "test \"\${$as_ac_var+set}\" = set"; then
13641 echo $ECHO_N "(cached) $ECHO_C" >&6
13643 cat >conftest.
$ac_ext <<_ACEOF
13646 cat confdefs.h
>>conftest.
$ac_ext
13647 cat >>conftest.
$ac_ext <<_ACEOF
13648 /* end confdefs.h. */
13649 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
13650 For example, HP-UX 11i <limits.h> declares gettimeofday. */
13651 #define $ac_func innocuous_$ac_func
13653 /* System header to define __stub macros and hopefully few prototypes,
13654 which can conflict with char $ac_func (); below.
13655 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13656 <limits.h> exists even on freestanding compilers. */
13659 # include <limits.h>
13661 # include <assert.h>
13666 /* Override any gcc2 internal prototype to avoid an error. */
13671 /* We use char because int might match the return type of a gcc2
13672 builtin and then its argument prototype would still apply. */
13674 /* The GNU C library defines this for functions which it implements
13675 to always fail with ENOSYS. Some functions are actually named
13676 something starting with __ and the normal name is an alias. */
13677 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13680 char (*f) () = $ac_func;
13689 return f != $ac_func;
13694 rm -f conftest.
$ac_objext conftest
$ac_exeext
13695 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13696 (eval $ac_link) 2>conftest.er1
13698 grep -v '^ *+' conftest.er1
>conftest.err
13700 cat conftest.err
>&5
13701 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13702 (exit $ac_status); } &&
13703 { ac_try
='test -z "$ac_c_werror_flag"
13704 || test ! -s conftest.err'
13705 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13706 (eval $ac_try) 2>&5
13708 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13709 (exit $ac_status); }; } &&
13710 { ac_try
='test -s conftest$ac_exeext'
13711 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13712 (eval $ac_try) 2>&5
13714 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13715 (exit $ac_status); }; }; then
13716 eval "$as_ac_var=yes"
13718 echo "$as_me: failed program was:" >&5
13719 sed 's/^/| /' conftest.
$ac_ext >&5
13721 eval "$as_ac_var=no"
13723 rm -f conftest.err conftest.
$ac_objext \
13724 conftest
$ac_exeext conftest.
$ac_ext
13726 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
13727 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
13728 if test `eval echo '${'$as_ac_var'}'` = yes; then
13729 cat >>confdefs.h
<<_ACEOF
13730 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
13739 for ac_header
in langinfo.h
13741 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
13742 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13743 echo "$as_me:$LINENO: checking for $ac_header" >&5
13744 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13745 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13746 echo $ECHO_N "(cached) $ECHO_C" >&6
13748 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13749 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13751 # Is the header compilable?
13752 echo "$as_me:$LINENO: checking $ac_header usability" >&5
13753 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
13754 cat >conftest.
$ac_ext <<_ACEOF
13757 cat confdefs.h
>>conftest.
$ac_ext
13758 cat >>conftest.
$ac_ext <<_ACEOF
13759 /* end confdefs.h. */
13760 $ac_includes_default
13761 #include <$ac_header>
13763 rm -f conftest.
$ac_objext
13764 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13765 (eval $ac_compile) 2>conftest.er1
13767 grep -v '^ *+' conftest.er1
>conftest.err
13769 cat conftest.err
>&5
13770 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13771 (exit $ac_status); } &&
13772 { ac_try
='test -z "$ac_c_werror_flag"
13773 || test ! -s conftest.err'
13774 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13775 (eval $ac_try) 2>&5
13777 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13778 (exit $ac_status); }; } &&
13779 { ac_try
='test -s conftest.$ac_objext'
13780 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13781 (eval $ac_try) 2>&5
13783 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13784 (exit $ac_status); }; }; then
13785 ac_header_compiler
=yes
13787 echo "$as_me: failed program was:" >&5
13788 sed 's/^/| /' conftest.
$ac_ext >&5
13790 ac_header_compiler
=no
13792 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13793 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
13794 echo "${ECHO_T}$ac_header_compiler" >&6
13796 # Is the header present?
13797 echo "$as_me:$LINENO: checking $ac_header presence" >&5
13798 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
13799 cat >conftest.
$ac_ext <<_ACEOF
13802 cat confdefs.h
>>conftest.
$ac_ext
13803 cat >>conftest.
$ac_ext <<_ACEOF
13804 /* end confdefs.h. */
13805 #include <$ac_header>
13807 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
13808 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
13810 grep -v '^ *+' conftest.er1
>conftest.err
13812 cat conftest.err
>&5
13813 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13814 (exit $ac_status); } >/dev
/null
; then
13815 if test -s conftest.err
; then
13816 ac_cpp_err
=$ac_c_preproc_warn_flag
13817 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
13824 if test -z "$ac_cpp_err"; then
13825 ac_header_preproc
=yes
13827 echo "$as_me: failed program was:" >&5
13828 sed 's/^/| /' conftest.
$ac_ext >&5
13830 ac_header_preproc
=no
13832 rm -f conftest.err conftest.
$ac_ext
13833 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
13834 echo "${ECHO_T}$ac_header_preproc" >&6
13836 # So? What about this header?
13837 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
13839 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
13840 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
13841 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
13842 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
13843 ac_header_preproc
=yes
13846 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
13847 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
13848 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
13849 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
13850 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
13851 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
13852 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
13853 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
13854 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
13855 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
13856 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
13857 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
13860 ## ----------------------------------------- ##
13861 ## Report this to wx-dev@lists.wxwindows.org ##
13862 ## ----------------------------------------- ##
13865 sed "s/^/$as_me: WARNING: /" >&2
13868 echo "$as_me:$LINENO: checking for $ac_header" >&5
13869 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13870 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13871 echo $ECHO_N "(cached) $ECHO_C" >&6
13873 eval "$as_ac_Header=\$ac_header_preproc"
13875 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13876 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13879 if test `eval echo '${'$as_ac_Header'}'` = yes; then
13880 cat >>confdefs.h
<<_ACEOF
13881 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
13890 *-pc-os2_emx | *-pc-os2-emx )
13891 if test $ac_cv_header_langinfo_h = "yes"; then
13892 LIBS
="$LIBS -lintl"
13897 if test "$wxUSE_GUI" = "yes"; then
13898 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_PM" != 1; then
13900 for ac_header
in X
11/Xlib.h
13902 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
13903 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13904 echo "$as_me:$LINENO: checking for $ac_header" >&5
13905 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13906 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13907 echo $ECHO_N "(cached) $ECHO_C" >&6
13909 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13910 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13912 # Is the header compilable?
13913 echo "$as_me:$LINENO: checking $ac_header usability" >&5
13914 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
13915 cat >conftest.
$ac_ext <<_ACEOF
13918 cat confdefs.h
>>conftest.
$ac_ext
13919 cat >>conftest.
$ac_ext <<_ACEOF
13920 /* end confdefs.h. */
13921 $ac_includes_default
13922 #include <$ac_header>
13924 rm -f conftest.
$ac_objext
13925 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13926 (eval $ac_compile) 2>conftest.er1
13928 grep -v '^ *+' conftest.er1
>conftest.err
13930 cat conftest.err
>&5
13931 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13932 (exit $ac_status); } &&
13933 { ac_try
='test -z "$ac_c_werror_flag"
13934 || test ! -s conftest.err'
13935 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13936 (eval $ac_try) 2>&5
13938 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13939 (exit $ac_status); }; } &&
13940 { ac_try
='test -s conftest.$ac_objext'
13941 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13942 (eval $ac_try) 2>&5
13944 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13945 (exit $ac_status); }; }; then
13946 ac_header_compiler
=yes
13948 echo "$as_me: failed program was:" >&5
13949 sed 's/^/| /' conftest.
$ac_ext >&5
13951 ac_header_compiler
=no
13953 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13954 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
13955 echo "${ECHO_T}$ac_header_compiler" >&6
13957 # Is the header present?
13958 echo "$as_me:$LINENO: checking $ac_header presence" >&5
13959 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
13960 cat >conftest.
$ac_ext <<_ACEOF
13963 cat confdefs.h
>>conftest.
$ac_ext
13964 cat >>conftest.
$ac_ext <<_ACEOF
13965 /* end confdefs.h. */
13966 #include <$ac_header>
13968 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
13969 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
13971 grep -v '^ *+' conftest.er1
>conftest.err
13973 cat conftest.err
>&5
13974 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13975 (exit $ac_status); } >/dev
/null
; then
13976 if test -s conftest.err
; then
13977 ac_cpp_err
=$ac_c_preproc_warn_flag
13978 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
13985 if test -z "$ac_cpp_err"; then
13986 ac_header_preproc
=yes
13988 echo "$as_me: failed program was:" >&5
13989 sed 's/^/| /' conftest.
$ac_ext >&5
13991 ac_header_preproc
=no
13993 rm -f conftest.err conftest.
$ac_ext
13994 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
13995 echo "${ECHO_T}$ac_header_preproc" >&6
13997 # So? What about this header?
13998 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
14000 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
14001 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
14002 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
14003 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
14004 ac_header_preproc
=yes
14007 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
14008 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
14009 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
14010 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
14011 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
14012 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
14013 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
14014 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
14015 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
14016 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
14017 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
14018 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
14021 ## ----------------------------------------- ##
14022 ## Report this to wx-dev@lists.wxwindows.org ##
14023 ## ----------------------------------------- ##
14026 sed "s/^/$as_me: WARNING: /" >&2
14029 echo "$as_me:$LINENO: checking for $ac_header" >&5
14030 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
14031 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14032 echo $ECHO_N "(cached) $ECHO_C" >&6
14034 eval "$as_ac_Header=\$ac_header_preproc"
14036 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
14037 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
14040 if test `eval echo '${'$as_ac_Header'}'` = yes; then
14041 cat >>confdefs.h
<<_ACEOF
14042 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
14050 for ac_header
in X
11/XKBlib.h
14052 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
14053 echo "$as_me:$LINENO: checking for $ac_header" >&5
14054 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
14055 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14056 echo $ECHO_N "(cached) $ECHO_C" >&6
14058 cat >conftest.
$ac_ext <<_ACEOF
14061 cat confdefs.h
>>conftest.
$ac_ext
14062 cat >>conftest.
$ac_ext <<_ACEOF
14063 /* end confdefs.h. */
14065 #if HAVE_X11_XLIB_H
14066 #include <X11/Xlib.h>
14070 #include <$ac_header>
14072 rm -f conftest.
$ac_objext
14073 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14074 (eval $ac_compile) 2>conftest.er1
14076 grep -v '^ *+' conftest.er1
>conftest.err
14078 cat conftest.err
>&5
14079 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14080 (exit $ac_status); } &&
14081 { ac_try
='test -z "$ac_c_werror_flag"
14082 || test ! -s conftest.err'
14083 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14084 (eval $ac_try) 2>&5
14086 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14087 (exit $ac_status); }; } &&
14088 { ac_try
='test -s conftest.$ac_objext'
14089 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14090 (eval $ac_try) 2>&5
14092 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14093 (exit $ac_status); }; }; then
14094 eval "$as_ac_Header=yes"
14096 echo "$as_me: failed program was:" >&5
14097 sed 's/^/| /' conftest.
$ac_ext >&5
14099 eval "$as_ac_Header=no"
14101 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14103 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
14104 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
14105 if test `eval echo '${'$as_ac_Header'}'` = yes; then
14106 cat >>confdefs.h
<<_ACEOF
14107 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
14118 echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
14119 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6
14120 if test "${ac_cv_c_const+set}" = set; then
14121 echo $ECHO_N "(cached) $ECHO_C" >&6
14123 cat >conftest.
$ac_ext <<_ACEOF
14126 cat confdefs.h
>>conftest.
$ac_ext
14127 cat >>conftest.
$ac_ext <<_ACEOF
14128 /* end confdefs.h. */
14133 /* FIXME: Include the comments suggested by Paul. */
14134 #ifndef __cplusplus
14135 /* Ultrix mips cc rejects this. */
14136 typedef int charset[2];
14138 /* SunOS 4.1.1 cc rejects this. */
14139 char const *const *ccp;
14141 /* NEC SVR4.0.2 mips cc rejects this. */
14142 struct point {int x, y;};
14143 static struct point const zero = {0,0};
14144 /* AIX XL C 1.02.0.0 rejects this.
14145 It does not let you subtract one const X* pointer from another in
14146 an arm of an if-expression whose if-part is not a constant
14148 const char *g = "string";
14149 ccp = &g + (g ? g-g : 0);
14150 /* HPUX 7.0 cc rejects these. */
14153 ccp = (char const *const *) p;
14154 { /* SCO 3.2v4 cc rejects this. */
14156 char const *s = 0 ? (char *) 0 : (char const *) 0;
14160 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
14161 int x[] = {25, 17};
14162 const int *foo = &x[0];
14165 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
14166 typedef const int *iptr;
14170 { /* AIX XL C 1.02.0.0 rejects this saying
14171 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
14172 struct s { int j; const int *ap[3]; };
14173 struct s *b; b->j = 5;
14175 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
14176 const int foo = 10;
14184 rm -f conftest.
$ac_objext
14185 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14186 (eval $ac_compile) 2>conftest.er1
14188 grep -v '^ *+' conftest.er1
>conftest.err
14190 cat conftest.err
>&5
14191 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14192 (exit $ac_status); } &&
14193 { ac_try
='test -z "$ac_c_werror_flag"
14194 || test ! -s conftest.err'
14195 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14196 (eval $ac_try) 2>&5
14198 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14199 (exit $ac_status); }; } &&
14200 { ac_try
='test -s conftest.$ac_objext'
14201 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14202 (eval $ac_try) 2>&5
14204 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14205 (exit $ac_status); }; }; then
14208 echo "$as_me: failed program was:" >&5
14209 sed 's/^/| /' conftest.
$ac_ext >&5
14213 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14215 echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
14216 echo "${ECHO_T}$ac_cv_c_const" >&6
14217 if test $ac_cv_c_const = no
; then
14219 cat >>confdefs.h
<<\_ACEOF
14225 echo "$as_me:$LINENO: checking for inline" >&5
14226 echo $ECHO_N "checking for inline... $ECHO_C" >&6
14227 if test "${ac_cv_c_inline+set}" = set; then
14228 echo $ECHO_N "(cached) $ECHO_C" >&6
14231 for ac_kw
in inline __inline__ __inline
; do
14232 cat >conftest.
$ac_ext <<_ACEOF
14235 cat confdefs.h
>>conftest.
$ac_ext
14236 cat >>conftest.
$ac_ext <<_ACEOF
14237 /* end confdefs.h. */
14238 #ifndef __cplusplus
14240 static $ac_kw foo_t static_foo () {return 0; }
14241 $ac_kw foo_t foo () {return 0; }
14245 rm -f conftest.
$ac_objext
14246 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14247 (eval $ac_compile) 2>conftest.er1
14249 grep -v '^ *+' conftest.er1
>conftest.err
14251 cat conftest.err
>&5
14252 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14253 (exit $ac_status); } &&
14254 { ac_try
='test -z "$ac_c_werror_flag"
14255 || test ! -s conftest.err'
14256 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14257 (eval $ac_try) 2>&5
14259 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14260 (exit $ac_status); }; } &&
14261 { ac_try
='test -s conftest.$ac_objext'
14262 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14263 (eval $ac_try) 2>&5
14265 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14266 (exit $ac_status); }; }; then
14267 ac_cv_c_inline
=$ac_kw; break
14269 echo "$as_me: failed program was:" >&5
14270 sed 's/^/| /' conftest.
$ac_ext >&5
14273 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14277 echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
14278 echo "${ECHO_T}$ac_cv_c_inline" >&6
14281 case $ac_cv_c_inline in
14284 case $ac_cv_c_inline in
14286 *) ac_val
=$ac_cv_c_inline;;
14288 cat >>confdefs.h
<<_ACEOF
14289 #ifndef __cplusplus
14290 #define inline $ac_val
14297 echo "$as_me:$LINENO: checking for char" >&5
14298 echo $ECHO_N "checking for char... $ECHO_C" >&6
14299 if test "${ac_cv_type_char+set}" = set; then
14300 echo $ECHO_N "(cached) $ECHO_C" >&6
14302 cat >conftest.
$ac_ext <<_ACEOF
14305 cat confdefs.h
>>conftest.
$ac_ext
14306 cat >>conftest.
$ac_ext <<_ACEOF
14307 /* end confdefs.h. */
14308 $ac_includes_default
14320 rm -f conftest.
$ac_objext
14321 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14322 (eval $ac_compile) 2>conftest.er1
14324 grep -v '^ *+' conftest.er1
>conftest.err
14326 cat conftest.err
>&5
14327 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14328 (exit $ac_status); } &&
14329 { ac_try
='test -z "$ac_c_werror_flag"
14330 || test ! -s conftest.err'
14331 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14332 (eval $ac_try) 2>&5
14334 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14335 (exit $ac_status); }; } &&
14336 { ac_try
='test -s conftest.$ac_objext'
14337 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14338 (eval $ac_try) 2>&5
14340 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14341 (exit $ac_status); }; }; then
14342 ac_cv_type_char
=yes
14344 echo "$as_me: failed program was:" >&5
14345 sed 's/^/| /' conftest.
$ac_ext >&5
14349 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14351 echo "$as_me:$LINENO: result: $ac_cv_type_char" >&5
14352 echo "${ECHO_T}$ac_cv_type_char" >&6
14354 echo "$as_me:$LINENO: checking size of char" >&5
14355 echo $ECHO_N "checking size of char... $ECHO_C" >&6
14356 if test "${ac_cv_sizeof_char+set}" = set; then
14357 echo $ECHO_N "(cached) $ECHO_C" >&6
14359 if test "$ac_cv_type_char" = yes; then
14360 # The cast to unsigned long works around a bug in the HP C Compiler
14361 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
14362 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
14363 # This bug is HP SR number 8606223364.
14364 if test "$cross_compiling" = yes; then
14365 # Depending upon the size, compute the lo and hi bounds.
14366 cat >conftest.
$ac_ext <<_ACEOF
14369 cat confdefs.h
>>conftest.
$ac_ext
14370 cat >>conftest.
$ac_ext <<_ACEOF
14371 /* end confdefs.h. */
14372 $ac_includes_default
14376 static int test_array [1 - 2 * !(((long) (sizeof (char))) >= 0)];
14383 rm -f conftest.
$ac_objext
14384 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14385 (eval $ac_compile) 2>conftest.er1
14387 grep -v '^ *+' conftest.er1
>conftest.err
14389 cat conftest.err
>&5
14390 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14391 (exit $ac_status); } &&
14392 { ac_try
='test -z "$ac_c_werror_flag"
14393 || test ! -s conftest.err'
14394 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14395 (eval $ac_try) 2>&5
14397 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14398 (exit $ac_status); }; } &&
14399 { ac_try
='test -s conftest.$ac_objext'
14400 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14401 (eval $ac_try) 2>&5
14403 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14404 (exit $ac_status); }; }; then
14407 cat >conftest.
$ac_ext <<_ACEOF
14410 cat confdefs.h
>>conftest.
$ac_ext
14411 cat >>conftest.
$ac_ext <<_ACEOF
14412 /* end confdefs.h. */
14413 $ac_includes_default
14417 static int test_array [1 - 2 * !(((long) (sizeof (char))) <= $ac_mid)];
14424 rm -f conftest.
$ac_objext
14425 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14426 (eval $ac_compile) 2>conftest.er1
14428 grep -v '^ *+' conftest.er1
>conftest.err
14430 cat conftest.err
>&5
14431 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14432 (exit $ac_status); } &&
14433 { ac_try
='test -z "$ac_c_werror_flag"
14434 || test ! -s conftest.err'
14435 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14436 (eval $ac_try) 2>&5
14438 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14439 (exit $ac_status); }; } &&
14440 { ac_try
='test -s conftest.$ac_objext'
14441 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14442 (eval $ac_try) 2>&5
14444 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14445 (exit $ac_status); }; }; then
14446 ac_hi
=$ac_mid; break
14448 echo "$as_me: failed program was:" >&5
14449 sed 's/^/| /' conftest.
$ac_ext >&5
14451 ac_lo
=`expr $ac_mid + 1`
14452 if test $ac_lo -le $ac_mid; then
14456 ac_mid
=`expr 2 '*' $ac_mid + 1`
14458 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14461 echo "$as_me: failed program was:" >&5
14462 sed 's/^/| /' conftest.
$ac_ext >&5
14464 cat >conftest.
$ac_ext <<_ACEOF
14467 cat confdefs.h
>>conftest.
$ac_ext
14468 cat >>conftest.
$ac_ext <<_ACEOF
14469 /* end confdefs.h. */
14470 $ac_includes_default
14474 static int test_array [1 - 2 * !(((long) (sizeof (char))) < 0)];
14481 rm -f conftest.
$ac_objext
14482 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14483 (eval $ac_compile) 2>conftest.er1
14485 grep -v '^ *+' conftest.er1
>conftest.err
14487 cat conftest.err
>&5
14488 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14489 (exit $ac_status); } &&
14490 { ac_try
='test -z "$ac_c_werror_flag"
14491 || test ! -s conftest.err'
14492 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14493 (eval $ac_try) 2>&5
14495 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14496 (exit $ac_status); }; } &&
14497 { ac_try
='test -s conftest.$ac_objext'
14498 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14499 (eval $ac_try) 2>&5
14501 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14502 (exit $ac_status); }; }; then
14505 cat >conftest.
$ac_ext <<_ACEOF
14508 cat confdefs.h
>>conftest.
$ac_ext
14509 cat >>conftest.
$ac_ext <<_ACEOF
14510 /* end confdefs.h. */
14511 $ac_includes_default
14515 static int test_array [1 - 2 * !(((long) (sizeof (char))) >= $ac_mid)];
14522 rm -f conftest.
$ac_objext
14523 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14524 (eval $ac_compile) 2>conftest.er1
14526 grep -v '^ *+' conftest.er1
>conftest.err
14528 cat conftest.err
>&5
14529 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14530 (exit $ac_status); } &&
14531 { ac_try
='test -z "$ac_c_werror_flag"
14532 || test ! -s conftest.err'
14533 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14534 (eval $ac_try) 2>&5
14536 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14537 (exit $ac_status); }; } &&
14538 { ac_try
='test -s conftest.$ac_objext'
14539 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14540 (eval $ac_try) 2>&5
14542 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14543 (exit $ac_status); }; }; then
14544 ac_lo
=$ac_mid; break
14546 echo "$as_me: failed program was:" >&5
14547 sed 's/^/| /' conftest.
$ac_ext >&5
14549 ac_hi
=`expr '(' $ac_mid ')' - 1`
14550 if test $ac_mid -le $ac_hi; then
14554 ac_mid
=`expr 2 '*' $ac_mid`
14556 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14559 echo "$as_me: failed program was:" >&5
14560 sed 's/^/| /' conftest.
$ac_ext >&5
14564 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14566 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14567 # Binary search between lo and hi bounds.
14568 while test "x$ac_lo" != "x$ac_hi"; do
14569 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
14570 cat >conftest.
$ac_ext <<_ACEOF
14573 cat confdefs.h
>>conftest.
$ac_ext
14574 cat >>conftest.
$ac_ext <<_ACEOF
14575 /* end confdefs.h. */
14576 $ac_includes_default
14580 static int test_array [1 - 2 * !(((long) (sizeof (char))) <= $ac_mid)];
14587 rm -f conftest.
$ac_objext
14588 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14589 (eval $ac_compile) 2>conftest.er1
14591 grep -v '^ *+' conftest.er1
>conftest.err
14593 cat conftest.err
>&5
14594 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14595 (exit $ac_status); } &&
14596 { ac_try
='test -z "$ac_c_werror_flag"
14597 || test ! -s conftest.err'
14598 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14599 (eval $ac_try) 2>&5
14601 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14602 (exit $ac_status); }; } &&
14603 { ac_try
='test -s conftest.$ac_objext'
14604 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14605 (eval $ac_try) 2>&5
14607 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14608 (exit $ac_status); }; }; then
14611 echo "$as_me: failed program was:" >&5
14612 sed 's/^/| /' conftest.
$ac_ext >&5
14614 ac_lo
=`expr '(' $ac_mid ')' + 1`
14616 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14619 ?
*) ac_cv_sizeof_char
=$ac_lo;;
14620 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (char), 77
14621 See \`config.log' for more details." >&5
14622 echo "$as_me: error: cannot compute sizeof (char), 77
14623 See \`config.log' for more details." >&2;}
14624 { (exit 1); exit 1; }; } ;;
14627 if test "$cross_compiling" = yes; then
14628 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
14629 See \`config.log' for more details." >&5
14630 echo "$as_me: error: cannot run test program while cross compiling
14631 See \`config.log' for more details." >&2;}
14632 { (exit 1); exit 1; }; }
14634 cat >conftest.
$ac_ext <<_ACEOF
14637 cat confdefs.h
>>conftest.
$ac_ext
14638 cat >>conftest.
$ac_ext <<_ACEOF
14639 /* end confdefs.h. */
14640 $ac_includes_default
14641 long longval () { return (long) (sizeof (char)); }
14642 unsigned long ulongval () { return (long) (sizeof (char)); }
14644 #include <stdlib.h>
14649 FILE *f = fopen ("conftest.val", "w");
14652 if (((long) (sizeof (char))) < 0)
14654 long i = longval ();
14655 if (i != ((long) (sizeof (char))))
14657 fprintf (f, "%ld\n", i);
14661 unsigned long i = ulongval ();
14662 if (i != ((long) (sizeof (char))))
14664 fprintf (f, "%lu\n", i);
14666 exit (ferror (f) || fclose (f) != 0);
14672 rm -f conftest
$ac_exeext
14673 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14674 (eval $ac_link) 2>&5
14676 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14677 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
14678 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14679 (eval $ac_try) 2>&5
14681 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14682 (exit $ac_status); }; }; then
14683 ac_cv_sizeof_char
=`cat conftest.val`
14685 echo "$as_me: program exited with status $ac_status" >&5
14686 echo "$as_me: failed program was:" >&5
14687 sed 's/^/| /' conftest.
$ac_ext >&5
14689 ( exit $ac_status )
14690 { { echo "$as_me:$LINENO: error: cannot compute sizeof (char), 77
14691 See \`config.log' for more details." >&5
14692 echo "$as_me: error: cannot compute sizeof (char), 77
14693 See \`config.log' for more details." >&2;}
14694 { (exit 1); exit 1; }; }
14696 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
14701 ac_cv_sizeof_char
=0
14704 echo "$as_me:$LINENO: result: $ac_cv_sizeof_char" >&5
14705 echo "${ECHO_T}$ac_cv_sizeof_char" >&6
14706 cat >>confdefs.h
<<_ACEOF
14707 #define SIZEOF_CHAR $ac_cv_sizeof_char
14711 echo "$as_me:$LINENO: checking for short" >&5
14712 echo $ECHO_N "checking for short... $ECHO_C" >&6
14713 if test "${ac_cv_type_short+set}" = set; then
14714 echo $ECHO_N "(cached) $ECHO_C" >&6
14716 cat >conftest.
$ac_ext <<_ACEOF
14719 cat confdefs.h
>>conftest.
$ac_ext
14720 cat >>conftest.
$ac_ext <<_ACEOF
14721 /* end confdefs.h. */
14722 $ac_includes_default
14728 if (sizeof (short))
14734 rm -f conftest.
$ac_objext
14735 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14736 (eval $ac_compile) 2>conftest.er1
14738 grep -v '^ *+' conftest.er1
>conftest.err
14740 cat conftest.err
>&5
14741 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14742 (exit $ac_status); } &&
14743 { ac_try
='test -z "$ac_c_werror_flag"
14744 || test ! -s conftest.err'
14745 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14746 (eval $ac_try) 2>&5
14748 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14749 (exit $ac_status); }; } &&
14750 { ac_try
='test -s conftest.$ac_objext'
14751 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14752 (eval $ac_try) 2>&5
14754 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14755 (exit $ac_status); }; }; then
14756 ac_cv_type_short
=yes
14758 echo "$as_me: failed program was:" >&5
14759 sed 's/^/| /' conftest.
$ac_ext >&5
14761 ac_cv_type_short
=no
14763 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14765 echo "$as_me:$LINENO: result: $ac_cv_type_short" >&5
14766 echo "${ECHO_T}$ac_cv_type_short" >&6
14768 echo "$as_me:$LINENO: checking size of short" >&5
14769 echo $ECHO_N "checking size of short... $ECHO_C" >&6
14770 if test "${ac_cv_sizeof_short+set}" = set; then
14771 echo $ECHO_N "(cached) $ECHO_C" >&6
14773 if test "$ac_cv_type_short" = yes; then
14774 # The cast to unsigned long works around a bug in the HP C Compiler
14775 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
14776 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
14777 # This bug is HP SR number 8606223364.
14778 if test "$cross_compiling" = yes; then
14779 # Depending upon the size, compute the lo and hi bounds.
14780 cat >conftest.
$ac_ext <<_ACEOF
14783 cat confdefs.h
>>conftest.
$ac_ext
14784 cat >>conftest.
$ac_ext <<_ACEOF
14785 /* end confdefs.h. */
14786 $ac_includes_default
14790 static int test_array [1 - 2 * !(((long) (sizeof (short))) >= 0)];
14797 rm -f conftest.
$ac_objext
14798 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14799 (eval $ac_compile) 2>conftest.er1
14801 grep -v '^ *+' conftest.er1
>conftest.err
14803 cat conftest.err
>&5
14804 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14805 (exit $ac_status); } &&
14806 { ac_try
='test -z "$ac_c_werror_flag"
14807 || test ! -s conftest.err'
14808 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14809 (eval $ac_try) 2>&5
14811 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14812 (exit $ac_status); }; } &&
14813 { ac_try
='test -s conftest.$ac_objext'
14814 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14815 (eval $ac_try) 2>&5
14817 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14818 (exit $ac_status); }; }; then
14821 cat >conftest.
$ac_ext <<_ACEOF
14824 cat confdefs.h
>>conftest.
$ac_ext
14825 cat >>conftest.
$ac_ext <<_ACEOF
14826 /* end confdefs.h. */
14827 $ac_includes_default
14831 static int test_array [1 - 2 * !(((long) (sizeof (short))) <= $ac_mid)];
14838 rm -f conftest.
$ac_objext
14839 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14840 (eval $ac_compile) 2>conftest.er1
14842 grep -v '^ *+' conftest.er1
>conftest.err
14844 cat conftest.err
>&5
14845 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14846 (exit $ac_status); } &&
14847 { ac_try
='test -z "$ac_c_werror_flag"
14848 || test ! -s conftest.err'
14849 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14850 (eval $ac_try) 2>&5
14852 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14853 (exit $ac_status); }; } &&
14854 { ac_try
='test -s conftest.$ac_objext'
14855 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14856 (eval $ac_try) 2>&5
14858 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14859 (exit $ac_status); }; }; then
14860 ac_hi
=$ac_mid; break
14862 echo "$as_me: failed program was:" >&5
14863 sed 's/^/| /' conftest.
$ac_ext >&5
14865 ac_lo
=`expr $ac_mid + 1`
14866 if test $ac_lo -le $ac_mid; then
14870 ac_mid
=`expr 2 '*' $ac_mid + 1`
14872 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14875 echo "$as_me: failed program was:" >&5
14876 sed 's/^/| /' conftest.
$ac_ext >&5
14878 cat >conftest.
$ac_ext <<_ACEOF
14881 cat confdefs.h
>>conftest.
$ac_ext
14882 cat >>conftest.
$ac_ext <<_ACEOF
14883 /* end confdefs.h. */
14884 $ac_includes_default
14888 static int test_array [1 - 2 * !(((long) (sizeof (short))) < 0)];
14895 rm -f conftest.
$ac_objext
14896 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14897 (eval $ac_compile) 2>conftest.er1
14899 grep -v '^ *+' conftest.er1
>conftest.err
14901 cat conftest.err
>&5
14902 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14903 (exit $ac_status); } &&
14904 { ac_try
='test -z "$ac_c_werror_flag"
14905 || test ! -s conftest.err'
14906 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14907 (eval $ac_try) 2>&5
14909 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14910 (exit $ac_status); }; } &&
14911 { ac_try
='test -s conftest.$ac_objext'
14912 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14913 (eval $ac_try) 2>&5
14915 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14916 (exit $ac_status); }; }; then
14919 cat >conftest.
$ac_ext <<_ACEOF
14922 cat confdefs.h
>>conftest.
$ac_ext
14923 cat >>conftest.
$ac_ext <<_ACEOF
14924 /* end confdefs.h. */
14925 $ac_includes_default
14929 static int test_array [1 - 2 * !(((long) (sizeof (short))) >= $ac_mid)];
14936 rm -f conftest.
$ac_objext
14937 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14938 (eval $ac_compile) 2>conftest.er1
14940 grep -v '^ *+' conftest.er1
>conftest.err
14942 cat conftest.err
>&5
14943 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14944 (exit $ac_status); } &&
14945 { ac_try
='test -z "$ac_c_werror_flag"
14946 || test ! -s conftest.err'
14947 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14948 (eval $ac_try) 2>&5
14950 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14951 (exit $ac_status); }; } &&
14952 { ac_try
='test -s conftest.$ac_objext'
14953 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14954 (eval $ac_try) 2>&5
14956 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14957 (exit $ac_status); }; }; then
14958 ac_lo
=$ac_mid; break
14960 echo "$as_me: failed program was:" >&5
14961 sed 's/^/| /' conftest.
$ac_ext >&5
14963 ac_hi
=`expr '(' $ac_mid ')' - 1`
14964 if test $ac_mid -le $ac_hi; then
14968 ac_mid
=`expr 2 '*' $ac_mid`
14970 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14973 echo "$as_me: failed program was:" >&5
14974 sed 's/^/| /' conftest.
$ac_ext >&5
14978 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14980 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14981 # Binary search between lo and hi bounds.
14982 while test "x$ac_lo" != "x$ac_hi"; do
14983 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
14984 cat >conftest.
$ac_ext <<_ACEOF
14987 cat confdefs.h
>>conftest.
$ac_ext
14988 cat >>conftest.
$ac_ext <<_ACEOF
14989 /* end confdefs.h. */
14990 $ac_includes_default
14994 static int test_array [1 - 2 * !(((long) (sizeof (short))) <= $ac_mid)];
15001 rm -f conftest.
$ac_objext
15002 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15003 (eval $ac_compile) 2>conftest.er1
15005 grep -v '^ *+' conftest.er1
>conftest.err
15007 cat conftest.err
>&5
15008 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15009 (exit $ac_status); } &&
15010 { ac_try
='test -z "$ac_c_werror_flag"
15011 || test ! -s conftest.err'
15012 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15013 (eval $ac_try) 2>&5
15015 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15016 (exit $ac_status); }; } &&
15017 { ac_try
='test -s conftest.$ac_objext'
15018 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15019 (eval $ac_try) 2>&5
15021 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15022 (exit $ac_status); }; }; then
15025 echo "$as_me: failed program was:" >&5
15026 sed 's/^/| /' conftest.
$ac_ext >&5
15028 ac_lo
=`expr '(' $ac_mid ')' + 1`
15030 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15033 ?
*) ac_cv_sizeof_short
=$ac_lo;;
15034 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (short), 77
15035 See \`config.log' for more details." >&5
15036 echo "$as_me: error: cannot compute sizeof (short), 77
15037 See \`config.log' for more details." >&2;}
15038 { (exit 1); exit 1; }; } ;;
15041 if test "$cross_compiling" = yes; then
15042 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
15043 See \`config.log' for more details." >&5
15044 echo "$as_me: error: cannot run test program while cross compiling
15045 See \`config.log' for more details." >&2;}
15046 { (exit 1); exit 1; }; }
15048 cat >conftest.
$ac_ext <<_ACEOF
15051 cat confdefs.h
>>conftest.
$ac_ext
15052 cat >>conftest.
$ac_ext <<_ACEOF
15053 /* end confdefs.h. */
15054 $ac_includes_default
15055 long longval () { return (long) (sizeof (short)); }
15056 unsigned long ulongval () { return (long) (sizeof (short)); }
15058 #include <stdlib.h>
15063 FILE *f = fopen ("conftest.val", "w");
15066 if (((long) (sizeof (short))) < 0)
15068 long i = longval ();
15069 if (i != ((long) (sizeof (short))))
15071 fprintf (f, "%ld\n", i);
15075 unsigned long i = ulongval ();
15076 if (i != ((long) (sizeof (short))))
15078 fprintf (f, "%lu\n", i);
15080 exit (ferror (f) || fclose (f) != 0);
15086 rm -f conftest
$ac_exeext
15087 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15088 (eval $ac_link) 2>&5
15090 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15091 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
15092 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15093 (eval $ac_try) 2>&5
15095 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15096 (exit $ac_status); }; }; then
15097 ac_cv_sizeof_short
=`cat conftest.val`
15099 echo "$as_me: program exited with status $ac_status" >&5
15100 echo "$as_me: failed program was:" >&5
15101 sed 's/^/| /' conftest.
$ac_ext >&5
15103 ( exit $ac_status )
15104 { { echo "$as_me:$LINENO: error: cannot compute sizeof (short), 77
15105 See \`config.log' for more details." >&5
15106 echo "$as_me: error: cannot compute sizeof (short), 77
15107 See \`config.log' for more details." >&2;}
15108 { (exit 1); exit 1; }; }
15110 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
15115 ac_cv_sizeof_short
=0
15118 echo "$as_me:$LINENO: result: $ac_cv_sizeof_short" >&5
15119 echo "${ECHO_T}$ac_cv_sizeof_short" >&6
15120 cat >>confdefs.h
<<_ACEOF
15121 #define SIZEOF_SHORT $ac_cv_sizeof_short
15125 echo "$as_me:$LINENO: checking for void *" >&5
15126 echo $ECHO_N "checking for void *... $ECHO_C" >&6
15127 if test "${ac_cv_type_void_p+set}" = set; then
15128 echo $ECHO_N "(cached) $ECHO_C" >&6
15130 cat >conftest.
$ac_ext <<_ACEOF
15133 cat confdefs.h
>>conftest.
$ac_ext
15134 cat >>conftest.
$ac_ext <<_ACEOF
15135 /* end confdefs.h. */
15136 $ac_includes_default
15142 if (sizeof (void *))
15148 rm -f conftest.
$ac_objext
15149 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15150 (eval $ac_compile) 2>conftest.er1
15152 grep -v '^ *+' conftest.er1
>conftest.err
15154 cat conftest.err
>&5
15155 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15156 (exit $ac_status); } &&
15157 { ac_try
='test -z "$ac_c_werror_flag"
15158 || test ! -s conftest.err'
15159 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15160 (eval $ac_try) 2>&5
15162 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15163 (exit $ac_status); }; } &&
15164 { ac_try
='test -s conftest.$ac_objext'
15165 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15166 (eval $ac_try) 2>&5
15168 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15169 (exit $ac_status); }; }; then
15170 ac_cv_type_void_p
=yes
15172 echo "$as_me: failed program was:" >&5
15173 sed 's/^/| /' conftest.
$ac_ext >&5
15175 ac_cv_type_void_p
=no
15177 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15179 echo "$as_me:$LINENO: result: $ac_cv_type_void_p" >&5
15180 echo "${ECHO_T}$ac_cv_type_void_p" >&6
15182 echo "$as_me:$LINENO: checking size of void *" >&5
15183 echo $ECHO_N "checking size of void *... $ECHO_C" >&6
15184 if test "${ac_cv_sizeof_void_p+set}" = set; then
15185 echo $ECHO_N "(cached) $ECHO_C" >&6
15187 if test "$ac_cv_type_void_p" = yes; then
15188 # The cast to unsigned long works around a bug in the HP C Compiler
15189 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
15190 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
15191 # This bug is HP SR number 8606223364.
15192 if test "$cross_compiling" = yes; then
15193 # Depending upon the size, compute the lo and hi bounds.
15194 cat >conftest.
$ac_ext <<_ACEOF
15197 cat confdefs.h
>>conftest.
$ac_ext
15198 cat >>conftest.
$ac_ext <<_ACEOF
15199 /* end confdefs.h. */
15200 $ac_includes_default
15204 static int test_array [1 - 2 * !(((long) (sizeof (void *))) >= 0)];
15211 rm -f conftest.
$ac_objext
15212 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15213 (eval $ac_compile) 2>conftest.er1
15215 grep -v '^ *+' conftest.er1
>conftest.err
15217 cat conftest.err
>&5
15218 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15219 (exit $ac_status); } &&
15220 { ac_try
='test -z "$ac_c_werror_flag"
15221 || test ! -s conftest.err'
15222 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15223 (eval $ac_try) 2>&5
15225 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15226 (exit $ac_status); }; } &&
15227 { ac_try
='test -s conftest.$ac_objext'
15228 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15229 (eval $ac_try) 2>&5
15231 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15232 (exit $ac_status); }; }; then
15235 cat >conftest.
$ac_ext <<_ACEOF
15238 cat confdefs.h
>>conftest.
$ac_ext
15239 cat >>conftest.
$ac_ext <<_ACEOF
15240 /* end confdefs.h. */
15241 $ac_includes_default
15245 static int test_array [1 - 2 * !(((long) (sizeof (void *))) <= $ac_mid)];
15252 rm -f conftest.
$ac_objext
15253 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15254 (eval $ac_compile) 2>conftest.er1
15256 grep -v '^ *+' conftest.er1
>conftest.err
15258 cat conftest.err
>&5
15259 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15260 (exit $ac_status); } &&
15261 { ac_try
='test -z "$ac_c_werror_flag"
15262 || test ! -s conftest.err'
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); }; } &&
15268 { ac_try
='test -s conftest.$ac_objext'
15269 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15270 (eval $ac_try) 2>&5
15272 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15273 (exit $ac_status); }; }; then
15274 ac_hi
=$ac_mid; break
15276 echo "$as_me: failed program was:" >&5
15277 sed 's/^/| /' conftest.
$ac_ext >&5
15279 ac_lo
=`expr $ac_mid + 1`
15280 if test $ac_lo -le $ac_mid; then
15284 ac_mid
=`expr 2 '*' $ac_mid + 1`
15286 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15289 echo "$as_me: failed program was:" >&5
15290 sed 's/^/| /' conftest.
$ac_ext >&5
15292 cat >conftest.
$ac_ext <<_ACEOF
15295 cat confdefs.h
>>conftest.
$ac_ext
15296 cat >>conftest.
$ac_ext <<_ACEOF
15297 /* end confdefs.h. */
15298 $ac_includes_default
15302 static int test_array [1 - 2 * !(((long) (sizeof (void *))) < 0)];
15309 rm -f conftest.
$ac_objext
15310 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15311 (eval $ac_compile) 2>conftest.er1
15313 grep -v '^ *+' conftest.er1
>conftest.err
15315 cat conftest.err
>&5
15316 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15317 (exit $ac_status); } &&
15318 { ac_try
='test -z "$ac_c_werror_flag"
15319 || test ! -s conftest.err'
15320 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15321 (eval $ac_try) 2>&5
15323 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15324 (exit $ac_status); }; } &&
15325 { ac_try
='test -s conftest.$ac_objext'
15326 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15327 (eval $ac_try) 2>&5
15329 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15330 (exit $ac_status); }; }; then
15333 cat >conftest.
$ac_ext <<_ACEOF
15336 cat confdefs.h
>>conftest.
$ac_ext
15337 cat >>conftest.
$ac_ext <<_ACEOF
15338 /* end confdefs.h. */
15339 $ac_includes_default
15343 static int test_array [1 - 2 * !(((long) (sizeof (void *))) >= $ac_mid)];
15350 rm -f conftest.
$ac_objext
15351 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15352 (eval $ac_compile) 2>conftest.er1
15354 grep -v '^ *+' conftest.er1
>conftest.err
15356 cat conftest.err
>&5
15357 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15358 (exit $ac_status); } &&
15359 { ac_try
='test -z "$ac_c_werror_flag"
15360 || test ! -s conftest.err'
15361 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15362 (eval $ac_try) 2>&5
15364 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15365 (exit $ac_status); }; } &&
15366 { ac_try
='test -s conftest.$ac_objext'
15367 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15368 (eval $ac_try) 2>&5
15370 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15371 (exit $ac_status); }; }; then
15372 ac_lo
=$ac_mid; break
15374 echo "$as_me: failed program was:" >&5
15375 sed 's/^/| /' conftest.
$ac_ext >&5
15377 ac_hi
=`expr '(' $ac_mid ')' - 1`
15378 if test $ac_mid -le $ac_hi; then
15382 ac_mid
=`expr 2 '*' $ac_mid`
15384 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15387 echo "$as_me: failed program was:" >&5
15388 sed 's/^/| /' conftest.
$ac_ext >&5
15392 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15394 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15395 # Binary search between lo and hi bounds.
15396 while test "x$ac_lo" != "x$ac_hi"; do
15397 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
15398 cat >conftest.
$ac_ext <<_ACEOF
15401 cat confdefs.h
>>conftest.
$ac_ext
15402 cat >>conftest.
$ac_ext <<_ACEOF
15403 /* end confdefs.h. */
15404 $ac_includes_default
15408 static int test_array [1 - 2 * !(((long) (sizeof (void *))) <= $ac_mid)];
15415 rm -f conftest.
$ac_objext
15416 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15417 (eval $ac_compile) 2>conftest.er1
15419 grep -v '^ *+' conftest.er1
>conftest.err
15421 cat conftest.err
>&5
15422 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15423 (exit $ac_status); } &&
15424 { ac_try
='test -z "$ac_c_werror_flag"
15425 || test ! -s conftest.err'
15426 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15427 (eval $ac_try) 2>&5
15429 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15430 (exit $ac_status); }; } &&
15431 { ac_try
='test -s conftest.$ac_objext'
15432 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15433 (eval $ac_try) 2>&5
15435 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15436 (exit $ac_status); }; }; then
15439 echo "$as_me: failed program was:" >&5
15440 sed 's/^/| /' conftest.
$ac_ext >&5
15442 ac_lo
=`expr '(' $ac_mid ')' + 1`
15444 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15447 ?
*) ac_cv_sizeof_void_p
=$ac_lo;;
15448 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *), 77
15449 See \`config.log' for more details." >&5
15450 echo "$as_me: error: cannot compute sizeof (void *), 77
15451 See \`config.log' for more details." >&2;}
15452 { (exit 1); exit 1; }; } ;;
15455 if test "$cross_compiling" = yes; then
15456 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
15457 See \`config.log' for more details." >&5
15458 echo "$as_me: error: cannot run test program while cross compiling
15459 See \`config.log' for more details." >&2;}
15460 { (exit 1); exit 1; }; }
15462 cat >conftest.
$ac_ext <<_ACEOF
15465 cat confdefs.h
>>conftest.
$ac_ext
15466 cat >>conftest.
$ac_ext <<_ACEOF
15467 /* end confdefs.h. */
15468 $ac_includes_default
15469 long longval () { return (long) (sizeof (void *)); }
15470 unsigned long ulongval () { return (long) (sizeof (void *)); }
15472 #include <stdlib.h>
15477 FILE *f = fopen ("conftest.val", "w");
15480 if (((long) (sizeof (void *))) < 0)
15482 long i = longval ();
15483 if (i != ((long) (sizeof (void *))))
15485 fprintf (f, "%ld\n", i);
15489 unsigned long i = ulongval ();
15490 if (i != ((long) (sizeof (void *))))
15492 fprintf (f, "%lu\n", i);
15494 exit (ferror (f) || fclose (f) != 0);
15500 rm -f conftest
$ac_exeext
15501 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15502 (eval $ac_link) 2>&5
15504 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15505 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
15506 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15507 (eval $ac_try) 2>&5
15509 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15510 (exit $ac_status); }; }; then
15511 ac_cv_sizeof_void_p
=`cat conftest.val`
15513 echo "$as_me: program exited with status $ac_status" >&5
15514 echo "$as_me: failed program was:" >&5
15515 sed 's/^/| /' conftest.
$ac_ext >&5
15517 ( exit $ac_status )
15518 { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *), 77
15519 See \`config.log' for more details." >&5
15520 echo "$as_me: error: cannot compute sizeof (void *), 77
15521 See \`config.log' for more details." >&2;}
15522 { (exit 1); exit 1; }; }
15524 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
15529 ac_cv_sizeof_void_p
=0
15532 echo "$as_me:$LINENO: result: $ac_cv_sizeof_void_p" >&5
15533 echo "${ECHO_T}$ac_cv_sizeof_void_p" >&6
15534 cat >>confdefs.h
<<_ACEOF
15535 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
15539 echo "$as_me:$LINENO: checking for int" >&5
15540 echo $ECHO_N "checking for int... $ECHO_C" >&6
15541 if test "${ac_cv_type_int+set}" = set; then
15542 echo $ECHO_N "(cached) $ECHO_C" >&6
15544 cat >conftest.
$ac_ext <<_ACEOF
15547 cat confdefs.h
>>conftest.
$ac_ext
15548 cat >>conftest.
$ac_ext <<_ACEOF
15549 /* end confdefs.h. */
15550 $ac_includes_default
15562 rm -f conftest.
$ac_objext
15563 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15564 (eval $ac_compile) 2>conftest.er1
15566 grep -v '^ *+' conftest.er1
>conftest.err
15568 cat conftest.err
>&5
15569 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15570 (exit $ac_status); } &&
15571 { ac_try
='test -z "$ac_c_werror_flag"
15572 || test ! -s conftest.err'
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); }; } &&
15578 { ac_try
='test -s conftest.$ac_objext'
15579 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15580 (eval $ac_try) 2>&5
15582 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15583 (exit $ac_status); }; }; then
15586 echo "$as_me: failed program was:" >&5
15587 sed 's/^/| /' conftest.
$ac_ext >&5
15591 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15593 echo "$as_me:$LINENO: result: $ac_cv_type_int" >&5
15594 echo "${ECHO_T}$ac_cv_type_int" >&6
15596 echo "$as_me:$LINENO: checking size of int" >&5
15597 echo $ECHO_N "checking size of int... $ECHO_C" >&6
15598 if test "${ac_cv_sizeof_int+set}" = set; then
15599 echo $ECHO_N "(cached) $ECHO_C" >&6
15601 if test "$ac_cv_type_int" = yes; then
15602 # The cast to unsigned long works around a bug in the HP C Compiler
15603 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
15604 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
15605 # This bug is HP SR number 8606223364.
15606 if test "$cross_compiling" = yes; then
15607 # Depending upon the size, compute the lo and hi bounds.
15608 cat >conftest.
$ac_ext <<_ACEOF
15611 cat confdefs.h
>>conftest.
$ac_ext
15612 cat >>conftest.
$ac_ext <<_ACEOF
15613 /* end confdefs.h. */
15614 $ac_includes_default
15618 static int test_array [1 - 2 * !(((long) (sizeof (int))) >= 0)];
15625 rm -f conftest.
$ac_objext
15626 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15627 (eval $ac_compile) 2>conftest.er1
15629 grep -v '^ *+' conftest.er1
>conftest.err
15631 cat conftest.err
>&5
15632 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15633 (exit $ac_status); } &&
15634 { ac_try
='test -z "$ac_c_werror_flag"
15635 || test ! -s conftest.err'
15636 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15637 (eval $ac_try) 2>&5
15639 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15640 (exit $ac_status); }; } &&
15641 { ac_try
='test -s conftest.$ac_objext'
15642 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15643 (eval $ac_try) 2>&5
15645 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15646 (exit $ac_status); }; }; then
15649 cat >conftest.
$ac_ext <<_ACEOF
15652 cat confdefs.h
>>conftest.
$ac_ext
15653 cat >>conftest.
$ac_ext <<_ACEOF
15654 /* end confdefs.h. */
15655 $ac_includes_default
15659 static int test_array [1 - 2 * !(((long) (sizeof (int))) <= $ac_mid)];
15666 rm -f conftest.
$ac_objext
15667 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15668 (eval $ac_compile) 2>conftest.er1
15670 grep -v '^ *+' conftest.er1
>conftest.err
15672 cat conftest.err
>&5
15673 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15674 (exit $ac_status); } &&
15675 { ac_try
='test -z "$ac_c_werror_flag"
15676 || test ! -s conftest.err'
15677 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15678 (eval $ac_try) 2>&5
15680 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15681 (exit $ac_status); }; } &&
15682 { ac_try
='test -s conftest.$ac_objext'
15683 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15684 (eval $ac_try) 2>&5
15686 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15687 (exit $ac_status); }; }; then
15688 ac_hi
=$ac_mid; break
15690 echo "$as_me: failed program was:" >&5
15691 sed 's/^/| /' conftest.
$ac_ext >&5
15693 ac_lo
=`expr $ac_mid + 1`
15694 if test $ac_lo -le $ac_mid; then
15698 ac_mid
=`expr 2 '*' $ac_mid + 1`
15700 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15703 echo "$as_me: failed program was:" >&5
15704 sed 's/^/| /' conftest.
$ac_ext >&5
15706 cat >conftest.
$ac_ext <<_ACEOF
15709 cat confdefs.h
>>conftest.
$ac_ext
15710 cat >>conftest.
$ac_ext <<_ACEOF
15711 /* end confdefs.h. */
15712 $ac_includes_default
15716 static int test_array [1 - 2 * !(((long) (sizeof (int))) < 0)];
15723 rm -f conftest.
$ac_objext
15724 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15725 (eval $ac_compile) 2>conftest.er1
15727 grep -v '^ *+' conftest.er1
>conftest.err
15729 cat conftest.err
>&5
15730 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15731 (exit $ac_status); } &&
15732 { ac_try
='test -z "$ac_c_werror_flag"
15733 || test ! -s conftest.err'
15734 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15735 (eval $ac_try) 2>&5
15737 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15738 (exit $ac_status); }; } &&
15739 { ac_try
='test -s conftest.$ac_objext'
15740 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15741 (eval $ac_try) 2>&5
15743 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15744 (exit $ac_status); }; }; then
15747 cat >conftest.
$ac_ext <<_ACEOF
15750 cat confdefs.h
>>conftest.
$ac_ext
15751 cat >>conftest.
$ac_ext <<_ACEOF
15752 /* end confdefs.h. */
15753 $ac_includes_default
15757 static int test_array [1 - 2 * !(((long) (sizeof (int))) >= $ac_mid)];
15764 rm -f conftest.
$ac_objext
15765 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15766 (eval $ac_compile) 2>conftest.er1
15768 grep -v '^ *+' conftest.er1
>conftest.err
15770 cat conftest.err
>&5
15771 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15772 (exit $ac_status); } &&
15773 { ac_try
='test -z "$ac_c_werror_flag"
15774 || test ! -s conftest.err'
15775 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15776 (eval $ac_try) 2>&5
15778 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15779 (exit $ac_status); }; } &&
15780 { ac_try
='test -s conftest.$ac_objext'
15781 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15782 (eval $ac_try) 2>&5
15784 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15785 (exit $ac_status); }; }; then
15786 ac_lo
=$ac_mid; break
15788 echo "$as_me: failed program was:" >&5
15789 sed 's/^/| /' conftest.
$ac_ext >&5
15791 ac_hi
=`expr '(' $ac_mid ')' - 1`
15792 if test $ac_mid -le $ac_hi; then
15796 ac_mid
=`expr 2 '*' $ac_mid`
15798 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15801 echo "$as_me: failed program was:" >&5
15802 sed 's/^/| /' conftest.
$ac_ext >&5
15806 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15808 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15809 # Binary search between lo and hi bounds.
15810 while test "x$ac_lo" != "x$ac_hi"; do
15811 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
15812 cat >conftest.
$ac_ext <<_ACEOF
15815 cat confdefs.h
>>conftest.
$ac_ext
15816 cat >>conftest.
$ac_ext <<_ACEOF
15817 /* end confdefs.h. */
15818 $ac_includes_default
15822 static int test_array [1 - 2 * !(((long) (sizeof (int))) <= $ac_mid)];
15829 rm -f conftest.
$ac_objext
15830 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15831 (eval $ac_compile) 2>conftest.er1
15833 grep -v '^ *+' conftest.er1
>conftest.err
15835 cat conftest.err
>&5
15836 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15837 (exit $ac_status); } &&
15838 { ac_try
='test -z "$ac_c_werror_flag"
15839 || test ! -s conftest.err'
15840 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15841 (eval $ac_try) 2>&5
15843 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15844 (exit $ac_status); }; } &&
15845 { ac_try
='test -s conftest.$ac_objext'
15846 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15847 (eval $ac_try) 2>&5
15849 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15850 (exit $ac_status); }; }; then
15853 echo "$as_me: failed program was:" >&5
15854 sed 's/^/| /' conftest.
$ac_ext >&5
15856 ac_lo
=`expr '(' $ac_mid ')' + 1`
15858 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15861 ?
*) ac_cv_sizeof_int
=$ac_lo;;
15862 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (int), 77
15863 See \`config.log' for more details." >&5
15864 echo "$as_me: error: cannot compute sizeof (int), 77
15865 See \`config.log' for more details." >&2;}
15866 { (exit 1); exit 1; }; } ;;
15869 if test "$cross_compiling" = yes; then
15870 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
15871 See \`config.log' for more details." >&5
15872 echo "$as_me: error: cannot run test program while cross compiling
15873 See \`config.log' for more details." >&2;}
15874 { (exit 1); exit 1; }; }
15876 cat >conftest.
$ac_ext <<_ACEOF
15879 cat confdefs.h
>>conftest.
$ac_ext
15880 cat >>conftest.
$ac_ext <<_ACEOF
15881 /* end confdefs.h. */
15882 $ac_includes_default
15883 long longval () { return (long) (sizeof (int)); }
15884 unsigned long ulongval () { return (long) (sizeof (int)); }
15886 #include <stdlib.h>
15891 FILE *f = fopen ("conftest.val", "w");
15894 if (((long) (sizeof (int))) < 0)
15896 long i = longval ();
15897 if (i != ((long) (sizeof (int))))
15899 fprintf (f, "%ld\n", i);
15903 unsigned long i = ulongval ();
15904 if (i != ((long) (sizeof (int))))
15906 fprintf (f, "%lu\n", i);
15908 exit (ferror (f) || fclose (f) != 0);
15914 rm -f conftest
$ac_exeext
15915 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15916 (eval $ac_link) 2>&5
15918 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15919 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
15920 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15921 (eval $ac_try) 2>&5
15923 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15924 (exit $ac_status); }; }; then
15925 ac_cv_sizeof_int
=`cat conftest.val`
15927 echo "$as_me: program exited with status $ac_status" >&5
15928 echo "$as_me: failed program was:" >&5
15929 sed 's/^/| /' conftest.
$ac_ext >&5
15931 ( exit $ac_status )
15932 { { echo "$as_me:$LINENO: error: cannot compute sizeof (int), 77
15933 See \`config.log' for more details." >&5
15934 echo "$as_me: error: cannot compute sizeof (int), 77
15935 See \`config.log' for more details." >&2;}
15936 { (exit 1); exit 1; }; }
15938 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
15946 echo "$as_me:$LINENO: result: $ac_cv_sizeof_int" >&5
15947 echo "${ECHO_T}$ac_cv_sizeof_int" >&6
15948 cat >>confdefs.h
<<_ACEOF
15949 #define SIZEOF_INT $ac_cv_sizeof_int
15953 echo "$as_me:$LINENO: checking for long" >&5
15954 echo $ECHO_N "checking for long... $ECHO_C" >&6
15955 if test "${ac_cv_type_long+set}" = set; then
15956 echo $ECHO_N "(cached) $ECHO_C" >&6
15958 cat >conftest.
$ac_ext <<_ACEOF
15961 cat confdefs.h
>>conftest.
$ac_ext
15962 cat >>conftest.
$ac_ext <<_ACEOF
15963 /* end confdefs.h. */
15964 $ac_includes_default
15976 rm -f conftest.
$ac_objext
15977 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15978 (eval $ac_compile) 2>conftest.er1
15980 grep -v '^ *+' conftest.er1
>conftest.err
15982 cat conftest.err
>&5
15983 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15984 (exit $ac_status); } &&
15985 { ac_try
='test -z "$ac_c_werror_flag"
15986 || test ! -s conftest.err'
15987 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15988 (eval $ac_try) 2>&5
15990 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15991 (exit $ac_status); }; } &&
15992 { ac_try
='test -s conftest.$ac_objext'
15993 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15994 (eval $ac_try) 2>&5
15996 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15997 (exit $ac_status); }; }; then
15998 ac_cv_type_long
=yes
16000 echo "$as_me: failed program was:" >&5
16001 sed 's/^/| /' conftest.
$ac_ext >&5
16005 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16007 echo "$as_me:$LINENO: result: $ac_cv_type_long" >&5
16008 echo "${ECHO_T}$ac_cv_type_long" >&6
16010 echo "$as_me:$LINENO: checking size of long" >&5
16011 echo $ECHO_N "checking size of long... $ECHO_C" >&6
16012 if test "${ac_cv_sizeof_long+set}" = set; then
16013 echo $ECHO_N "(cached) $ECHO_C" >&6
16015 if test "$ac_cv_type_long" = yes; then
16016 # The cast to unsigned long works around a bug in the HP C Compiler
16017 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
16018 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
16019 # This bug is HP SR number 8606223364.
16020 if test "$cross_compiling" = yes; then
16021 # Depending upon the size, compute the lo and hi bounds.
16022 cat >conftest.
$ac_ext <<_ACEOF
16025 cat confdefs.h
>>conftest.
$ac_ext
16026 cat >>conftest.
$ac_ext <<_ACEOF
16027 /* end confdefs.h. */
16028 $ac_includes_default
16032 static int test_array [1 - 2 * !(((long) (sizeof (long))) >= 0)];
16039 rm -f conftest.
$ac_objext
16040 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16041 (eval $ac_compile) 2>conftest.er1
16043 grep -v '^ *+' conftest.er1
>conftest.err
16045 cat conftest.err
>&5
16046 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16047 (exit $ac_status); } &&
16048 { ac_try
='test -z "$ac_c_werror_flag"
16049 || test ! -s conftest.err'
16050 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16051 (eval $ac_try) 2>&5
16053 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16054 (exit $ac_status); }; } &&
16055 { ac_try
='test -s conftest.$ac_objext'
16056 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16057 (eval $ac_try) 2>&5
16059 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16060 (exit $ac_status); }; }; then
16063 cat >conftest.
$ac_ext <<_ACEOF
16066 cat confdefs.h
>>conftest.
$ac_ext
16067 cat >>conftest.
$ac_ext <<_ACEOF
16068 /* end confdefs.h. */
16069 $ac_includes_default
16073 static int test_array [1 - 2 * !(((long) (sizeof (long))) <= $ac_mid)];
16080 rm -f conftest.
$ac_objext
16081 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16082 (eval $ac_compile) 2>conftest.er1
16084 grep -v '^ *+' conftest.er1
>conftest.err
16086 cat conftest.err
>&5
16087 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16088 (exit $ac_status); } &&
16089 { ac_try
='test -z "$ac_c_werror_flag"
16090 || test ! -s conftest.err'
16091 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16092 (eval $ac_try) 2>&5
16094 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16095 (exit $ac_status); }; } &&
16096 { ac_try
='test -s conftest.$ac_objext'
16097 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16098 (eval $ac_try) 2>&5
16100 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16101 (exit $ac_status); }; }; then
16102 ac_hi
=$ac_mid; break
16104 echo "$as_me: failed program was:" >&5
16105 sed 's/^/| /' conftest.
$ac_ext >&5
16107 ac_lo
=`expr $ac_mid + 1`
16108 if test $ac_lo -le $ac_mid; then
16112 ac_mid
=`expr 2 '*' $ac_mid + 1`
16114 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16117 echo "$as_me: failed program was:" >&5
16118 sed 's/^/| /' conftest.
$ac_ext >&5
16120 cat >conftest.
$ac_ext <<_ACEOF
16123 cat confdefs.h
>>conftest.
$ac_ext
16124 cat >>conftest.
$ac_ext <<_ACEOF
16125 /* end confdefs.h. */
16126 $ac_includes_default
16130 static int test_array [1 - 2 * !(((long) (sizeof (long))) < 0)];
16137 rm -f conftest.
$ac_objext
16138 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16139 (eval $ac_compile) 2>conftest.er1
16141 grep -v '^ *+' conftest.er1
>conftest.err
16143 cat conftest.err
>&5
16144 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16145 (exit $ac_status); } &&
16146 { ac_try
='test -z "$ac_c_werror_flag"
16147 || test ! -s conftest.err'
16148 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16149 (eval $ac_try) 2>&5
16151 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16152 (exit $ac_status); }; } &&
16153 { ac_try
='test -s conftest.$ac_objext'
16154 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16155 (eval $ac_try) 2>&5
16157 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16158 (exit $ac_status); }; }; then
16161 cat >conftest.
$ac_ext <<_ACEOF
16164 cat confdefs.h
>>conftest.
$ac_ext
16165 cat >>conftest.
$ac_ext <<_ACEOF
16166 /* end confdefs.h. */
16167 $ac_includes_default
16171 static int test_array [1 - 2 * !(((long) (sizeof (long))) >= $ac_mid)];
16178 rm -f conftest.
$ac_objext
16179 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16180 (eval $ac_compile) 2>conftest.er1
16182 grep -v '^ *+' conftest.er1
>conftest.err
16184 cat conftest.err
>&5
16185 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16186 (exit $ac_status); } &&
16187 { ac_try
='test -z "$ac_c_werror_flag"
16188 || test ! -s conftest.err'
16189 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16190 (eval $ac_try) 2>&5
16192 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16193 (exit $ac_status); }; } &&
16194 { ac_try
='test -s conftest.$ac_objext'
16195 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16196 (eval $ac_try) 2>&5
16198 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16199 (exit $ac_status); }; }; then
16200 ac_lo
=$ac_mid; break
16202 echo "$as_me: failed program was:" >&5
16203 sed 's/^/| /' conftest.
$ac_ext >&5
16205 ac_hi
=`expr '(' $ac_mid ')' - 1`
16206 if test $ac_mid -le $ac_hi; then
16210 ac_mid
=`expr 2 '*' $ac_mid`
16212 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16215 echo "$as_me: failed program was:" >&5
16216 sed 's/^/| /' conftest.
$ac_ext >&5
16220 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16222 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16223 # Binary search between lo and hi bounds.
16224 while test "x$ac_lo" != "x$ac_hi"; do
16225 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
16226 cat >conftest.
$ac_ext <<_ACEOF
16229 cat confdefs.h
>>conftest.
$ac_ext
16230 cat >>conftest.
$ac_ext <<_ACEOF
16231 /* end confdefs.h. */
16232 $ac_includes_default
16236 static int test_array [1 - 2 * !(((long) (sizeof (long))) <= $ac_mid)];
16243 rm -f conftest.
$ac_objext
16244 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16245 (eval $ac_compile) 2>conftest.er1
16247 grep -v '^ *+' conftest.er1
>conftest.err
16249 cat conftest.err
>&5
16250 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16251 (exit $ac_status); } &&
16252 { ac_try
='test -z "$ac_c_werror_flag"
16253 || test ! -s conftest.err'
16254 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16255 (eval $ac_try) 2>&5
16257 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16258 (exit $ac_status); }; } &&
16259 { ac_try
='test -s conftest.$ac_objext'
16260 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16261 (eval $ac_try) 2>&5
16263 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16264 (exit $ac_status); }; }; then
16267 echo "$as_me: failed program was:" >&5
16268 sed 's/^/| /' conftest.
$ac_ext >&5
16270 ac_lo
=`expr '(' $ac_mid ')' + 1`
16272 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16275 ?
*) ac_cv_sizeof_long
=$ac_lo;;
16276 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long), 77
16277 See \`config.log' for more details." >&5
16278 echo "$as_me: error: cannot compute sizeof (long), 77
16279 See \`config.log' for more details." >&2;}
16280 { (exit 1); exit 1; }; } ;;
16283 if test "$cross_compiling" = yes; then
16284 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
16285 See \`config.log' for more details." >&5
16286 echo "$as_me: error: cannot run test program while cross compiling
16287 See \`config.log' for more details." >&2;}
16288 { (exit 1); exit 1; }; }
16290 cat >conftest.
$ac_ext <<_ACEOF
16293 cat confdefs.h
>>conftest.
$ac_ext
16294 cat >>conftest.
$ac_ext <<_ACEOF
16295 /* end confdefs.h. */
16296 $ac_includes_default
16297 long longval () { return (long) (sizeof (long)); }
16298 unsigned long ulongval () { return (long) (sizeof (long)); }
16300 #include <stdlib.h>
16305 FILE *f = fopen ("conftest.val", "w");
16308 if (((long) (sizeof (long))) < 0)
16310 long i = longval ();
16311 if (i != ((long) (sizeof (long))))
16313 fprintf (f, "%ld\n", i);
16317 unsigned long i = ulongval ();
16318 if (i != ((long) (sizeof (long))))
16320 fprintf (f, "%lu\n", i);
16322 exit (ferror (f) || fclose (f) != 0);
16328 rm -f conftest
$ac_exeext
16329 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16330 (eval $ac_link) 2>&5
16332 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16333 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
16334 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16335 (eval $ac_try) 2>&5
16337 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16338 (exit $ac_status); }; }; then
16339 ac_cv_sizeof_long
=`cat conftest.val`
16341 echo "$as_me: program exited with status $ac_status" >&5
16342 echo "$as_me: failed program was:" >&5
16343 sed 's/^/| /' conftest.
$ac_ext >&5
16345 ( exit $ac_status )
16346 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long), 77
16347 See \`config.log' for more details." >&5
16348 echo "$as_me: error: cannot compute sizeof (long), 77
16349 See \`config.log' for more details." >&2;}
16350 { (exit 1); exit 1; }; }
16352 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
16357 ac_cv_sizeof_long
=0
16360 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long" >&5
16361 echo "${ECHO_T}$ac_cv_sizeof_long" >&6
16362 cat >>confdefs.h
<<_ACEOF
16363 #define SIZEOF_LONG $ac_cv_sizeof_long
16367 echo "$as_me:$LINENO: checking for size_t" >&5
16368 echo $ECHO_N "checking for size_t... $ECHO_C" >&6
16369 if test "${ac_cv_type_size_t+set}" = set; then
16370 echo $ECHO_N "(cached) $ECHO_C" >&6
16372 cat >conftest.
$ac_ext <<_ACEOF
16375 cat confdefs.h
>>conftest.
$ac_ext
16376 cat >>conftest.
$ac_ext <<_ACEOF
16377 /* end confdefs.h. */
16378 $ac_includes_default
16384 if (sizeof (size_t))
16390 rm -f conftest.
$ac_objext
16391 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16392 (eval $ac_compile) 2>conftest.er1
16394 grep -v '^ *+' conftest.er1
>conftest.err
16396 cat conftest.err
>&5
16397 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16398 (exit $ac_status); } &&
16399 { ac_try
='test -z "$ac_c_werror_flag"
16400 || test ! -s conftest.err'
16401 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16402 (eval $ac_try) 2>&5
16404 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16405 (exit $ac_status); }; } &&
16406 { ac_try
='test -s conftest.$ac_objext'
16407 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16408 (eval $ac_try) 2>&5
16410 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16411 (exit $ac_status); }; }; then
16412 ac_cv_type_size_t
=yes
16414 echo "$as_me: failed program was:" >&5
16415 sed 's/^/| /' conftest.
$ac_ext >&5
16417 ac_cv_type_size_t
=no
16419 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16421 echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
16422 echo "${ECHO_T}$ac_cv_type_size_t" >&6
16424 echo "$as_me:$LINENO: checking size of size_t" >&5
16425 echo $ECHO_N "checking size of size_t... $ECHO_C" >&6
16426 if test "${ac_cv_sizeof_size_t+set}" = set; then
16427 echo $ECHO_N "(cached) $ECHO_C" >&6
16429 if test "$ac_cv_type_size_t" = yes; then
16430 # The cast to unsigned long works around a bug in the HP C Compiler
16431 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
16432 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
16433 # This bug is HP SR number 8606223364.
16434 if test "$cross_compiling" = yes; then
16435 # Depending upon the size, compute the lo and hi bounds.
16436 cat >conftest.
$ac_ext <<_ACEOF
16439 cat confdefs.h
>>conftest.
$ac_ext
16440 cat >>conftest.
$ac_ext <<_ACEOF
16441 /* end confdefs.h. */
16442 $ac_includes_default
16446 static int test_array [1 - 2 * !(((long) (sizeof (size_t))) >= 0)];
16453 rm -f conftest.
$ac_objext
16454 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16455 (eval $ac_compile) 2>conftest.er1
16457 grep -v '^ *+' conftest.er1
>conftest.err
16459 cat conftest.err
>&5
16460 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16461 (exit $ac_status); } &&
16462 { ac_try
='test -z "$ac_c_werror_flag"
16463 || test ! -s conftest.err'
16464 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16465 (eval $ac_try) 2>&5
16467 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16468 (exit $ac_status); }; } &&
16469 { ac_try
='test -s conftest.$ac_objext'
16470 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16471 (eval $ac_try) 2>&5
16473 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16474 (exit $ac_status); }; }; then
16477 cat >conftest.
$ac_ext <<_ACEOF
16480 cat confdefs.h
>>conftest.
$ac_ext
16481 cat >>conftest.
$ac_ext <<_ACEOF
16482 /* end confdefs.h. */
16483 $ac_includes_default
16487 static int test_array [1 - 2 * !(((long) (sizeof (size_t))) <= $ac_mid)];
16494 rm -f conftest.
$ac_objext
16495 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16496 (eval $ac_compile) 2>conftest.er1
16498 grep -v '^ *+' conftest.er1
>conftest.err
16500 cat conftest.err
>&5
16501 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16502 (exit $ac_status); } &&
16503 { ac_try
='test -z "$ac_c_werror_flag"
16504 || test ! -s conftest.err'
16505 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16506 (eval $ac_try) 2>&5
16508 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16509 (exit $ac_status); }; } &&
16510 { ac_try
='test -s conftest.$ac_objext'
16511 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16512 (eval $ac_try) 2>&5
16514 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16515 (exit $ac_status); }; }; then
16516 ac_hi
=$ac_mid; break
16518 echo "$as_me: failed program was:" >&5
16519 sed 's/^/| /' conftest.
$ac_ext >&5
16521 ac_lo
=`expr $ac_mid + 1`
16522 if test $ac_lo -le $ac_mid; then
16526 ac_mid
=`expr 2 '*' $ac_mid + 1`
16528 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16531 echo "$as_me: failed program was:" >&5
16532 sed 's/^/| /' conftest.
$ac_ext >&5
16534 cat >conftest.
$ac_ext <<_ACEOF
16537 cat confdefs.h
>>conftest.
$ac_ext
16538 cat >>conftest.
$ac_ext <<_ACEOF
16539 /* end confdefs.h. */
16540 $ac_includes_default
16544 static int test_array [1 - 2 * !(((long) (sizeof (size_t))) < 0)];
16551 rm -f conftest.
$ac_objext
16552 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16553 (eval $ac_compile) 2>conftest.er1
16555 grep -v '^ *+' conftest.er1
>conftest.err
16557 cat conftest.err
>&5
16558 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16559 (exit $ac_status); } &&
16560 { ac_try
='test -z "$ac_c_werror_flag"
16561 || test ! -s conftest.err'
16562 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16563 (eval $ac_try) 2>&5
16565 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16566 (exit $ac_status); }; } &&
16567 { ac_try
='test -s conftest.$ac_objext'
16568 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16569 (eval $ac_try) 2>&5
16571 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16572 (exit $ac_status); }; }; then
16575 cat >conftest.
$ac_ext <<_ACEOF
16578 cat confdefs.h
>>conftest.
$ac_ext
16579 cat >>conftest.
$ac_ext <<_ACEOF
16580 /* end confdefs.h. */
16581 $ac_includes_default
16585 static int test_array [1 - 2 * !(((long) (sizeof (size_t))) >= $ac_mid)];
16592 rm -f conftest.
$ac_objext
16593 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16594 (eval $ac_compile) 2>conftest.er1
16596 grep -v '^ *+' conftest.er1
>conftest.err
16598 cat conftest.err
>&5
16599 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16600 (exit $ac_status); } &&
16601 { ac_try
='test -z "$ac_c_werror_flag"
16602 || test ! -s conftest.err'
16603 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16604 (eval $ac_try) 2>&5
16606 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16607 (exit $ac_status); }; } &&
16608 { ac_try
='test -s conftest.$ac_objext'
16609 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16610 (eval $ac_try) 2>&5
16612 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16613 (exit $ac_status); }; }; then
16614 ac_lo
=$ac_mid; break
16616 echo "$as_me: failed program was:" >&5
16617 sed 's/^/| /' conftest.
$ac_ext >&5
16619 ac_hi
=`expr '(' $ac_mid ')' - 1`
16620 if test $ac_mid -le $ac_hi; then
16624 ac_mid
=`expr 2 '*' $ac_mid`
16626 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16629 echo "$as_me: failed program was:" >&5
16630 sed 's/^/| /' conftest.
$ac_ext >&5
16634 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16636 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16637 # Binary search between lo and hi bounds.
16638 while test "x$ac_lo" != "x$ac_hi"; do
16639 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
16640 cat >conftest.
$ac_ext <<_ACEOF
16643 cat confdefs.h
>>conftest.
$ac_ext
16644 cat >>conftest.
$ac_ext <<_ACEOF
16645 /* end confdefs.h. */
16646 $ac_includes_default
16650 static int test_array [1 - 2 * !(((long) (sizeof (size_t))) <= $ac_mid)];
16657 rm -f conftest.
$ac_objext
16658 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16659 (eval $ac_compile) 2>conftest.er1
16661 grep -v '^ *+' conftest.er1
>conftest.err
16663 cat conftest.err
>&5
16664 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16665 (exit $ac_status); } &&
16666 { ac_try
='test -z "$ac_c_werror_flag"
16667 || test ! -s conftest.err'
16668 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16669 (eval $ac_try) 2>&5
16671 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16672 (exit $ac_status); }; } &&
16673 { ac_try
='test -s conftest.$ac_objext'
16674 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16675 (eval $ac_try) 2>&5
16677 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16678 (exit $ac_status); }; }; then
16681 echo "$as_me: failed program was:" >&5
16682 sed 's/^/| /' conftest.
$ac_ext >&5
16684 ac_lo
=`expr '(' $ac_mid ')' + 1`
16686 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16689 ?
*) ac_cv_sizeof_size_t
=$ac_lo;;
16690 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (size_t), 77
16691 See \`config.log' for more details." >&5
16692 echo "$as_me: error: cannot compute sizeof (size_t), 77
16693 See \`config.log' for more details." >&2;}
16694 { (exit 1); exit 1; }; } ;;
16697 if test "$cross_compiling" = yes; then
16698 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
16699 See \`config.log' for more details." >&5
16700 echo "$as_me: error: cannot run test program while cross compiling
16701 See \`config.log' for more details." >&2;}
16702 { (exit 1); exit 1; }; }
16704 cat >conftest.
$ac_ext <<_ACEOF
16707 cat confdefs.h
>>conftest.
$ac_ext
16708 cat >>conftest.
$ac_ext <<_ACEOF
16709 /* end confdefs.h. */
16710 $ac_includes_default
16711 long longval () { return (long) (sizeof (size_t)); }
16712 unsigned long ulongval () { return (long) (sizeof (size_t)); }
16714 #include <stdlib.h>
16719 FILE *f = fopen ("conftest.val", "w");
16722 if (((long) (sizeof (size_t))) < 0)
16724 long i = longval ();
16725 if (i != ((long) (sizeof (size_t))))
16727 fprintf (f, "%ld\n", i);
16731 unsigned long i = ulongval ();
16732 if (i != ((long) (sizeof (size_t))))
16734 fprintf (f, "%lu\n", i);
16736 exit (ferror (f) || fclose (f) != 0);
16742 rm -f conftest
$ac_exeext
16743 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16744 (eval $ac_link) 2>&5
16746 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16747 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
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); }; }; then
16753 ac_cv_sizeof_size_t
=`cat conftest.val`
16755 echo "$as_me: program exited with status $ac_status" >&5
16756 echo "$as_me: failed program was:" >&5
16757 sed 's/^/| /' conftest.
$ac_ext >&5
16759 ( exit $ac_status )
16760 { { echo "$as_me:$LINENO: error: cannot compute sizeof (size_t), 77
16761 See \`config.log' for more details." >&5
16762 echo "$as_me: error: cannot compute sizeof (size_t), 77
16763 See \`config.log' for more details." >&2;}
16764 { (exit 1); exit 1; }; }
16766 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
16771 ac_cv_sizeof_size_t
=0
16774 echo "$as_me:$LINENO: result: $ac_cv_sizeof_size_t" >&5
16775 echo "${ECHO_T}$ac_cv_sizeof_size_t" >&6
16776 cat >>confdefs.h
<<_ACEOF
16777 #define SIZEOF_SIZE_T $ac_cv_sizeof_size_t
16784 echo "$as_me:$LINENO: checking for long long" >&5
16785 echo $ECHO_N "checking for long long... $ECHO_C" >&6
16786 if test "${ac_cv_type_long_long+set}" = set; then
16787 echo $ECHO_N "(cached) $ECHO_C" >&6
16789 cat >conftest.
$ac_ext <<_ACEOF
16792 cat confdefs.h
>>conftest.
$ac_ext
16793 cat >>conftest.
$ac_ext <<_ACEOF
16794 /* end confdefs.h. */
16795 $ac_includes_default
16799 if ((long long *) 0)
16801 if (sizeof (long long))
16807 rm -f conftest.
$ac_objext
16808 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16809 (eval $ac_compile) 2>conftest.er1
16811 grep -v '^ *+' conftest.er1
>conftest.err
16813 cat conftest.err
>&5
16814 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16815 (exit $ac_status); } &&
16816 { ac_try
='test -z "$ac_c_werror_flag"
16817 || test ! -s conftest.err'
16818 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16819 (eval $ac_try) 2>&5
16821 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16822 (exit $ac_status); }; } &&
16823 { ac_try
='test -s conftest.$ac_objext'
16824 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16825 (eval $ac_try) 2>&5
16827 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16828 (exit $ac_status); }; }; then
16829 ac_cv_type_long_long
=yes
16831 echo "$as_me: failed program was:" >&5
16832 sed 's/^/| /' conftest.
$ac_ext >&5
16834 ac_cv_type_long_long
=no
16836 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16838 echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
16839 echo "${ECHO_T}$ac_cv_type_long_long" >&6
16841 echo "$as_me:$LINENO: checking size of long long" >&5
16842 echo $ECHO_N "checking size of long long... $ECHO_C" >&6
16843 if test "${ac_cv_sizeof_long_long+set}" = set; then
16844 echo $ECHO_N "(cached) $ECHO_C" >&6
16846 if test "$ac_cv_type_long_long" = yes; then
16847 # The cast to unsigned long works around a bug in the HP C Compiler
16848 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
16849 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
16850 # This bug is HP SR number 8606223364.
16851 if test "$cross_compiling" = yes; then
16852 # Depending upon the size, compute the lo and hi bounds.
16853 cat >conftest.
$ac_ext <<_ACEOF
16856 cat confdefs.h
>>conftest.
$ac_ext
16857 cat >>conftest.
$ac_ext <<_ACEOF
16858 /* end confdefs.h. */
16859 $ac_includes_default
16863 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= 0)];
16870 rm -f conftest.
$ac_objext
16871 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16872 (eval $ac_compile) 2>conftest.er1
16874 grep -v '^ *+' conftest.er1
>conftest.err
16876 cat conftest.err
>&5
16877 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16878 (exit $ac_status); } &&
16879 { ac_try
='test -z "$ac_c_werror_flag"
16880 || test ! -s conftest.err'
16881 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16882 (eval $ac_try) 2>&5
16884 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16885 (exit $ac_status); }; } &&
16886 { ac_try
='test -s conftest.$ac_objext'
16887 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16888 (eval $ac_try) 2>&5
16890 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16891 (exit $ac_status); }; }; then
16894 cat >conftest.
$ac_ext <<_ACEOF
16897 cat confdefs.h
>>conftest.
$ac_ext
16898 cat >>conftest.
$ac_ext <<_ACEOF
16899 /* end confdefs.h. */
16900 $ac_includes_default
16904 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
16911 rm -f conftest.
$ac_objext
16912 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16913 (eval $ac_compile) 2>conftest.er1
16915 grep -v '^ *+' conftest.er1
>conftest.err
16917 cat conftest.err
>&5
16918 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16919 (exit $ac_status); } &&
16920 { ac_try
='test -z "$ac_c_werror_flag"
16921 || test ! -s conftest.err'
16922 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16923 (eval $ac_try) 2>&5
16925 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16926 (exit $ac_status); }; } &&
16927 { ac_try
='test -s conftest.$ac_objext'
16928 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16929 (eval $ac_try) 2>&5
16931 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16932 (exit $ac_status); }; }; then
16933 ac_hi
=$ac_mid; break
16935 echo "$as_me: failed program was:" >&5
16936 sed 's/^/| /' conftest.
$ac_ext >&5
16938 ac_lo
=`expr $ac_mid + 1`
16939 if test $ac_lo -le $ac_mid; then
16943 ac_mid
=`expr 2 '*' $ac_mid + 1`
16945 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16948 echo "$as_me: failed program was:" >&5
16949 sed 's/^/| /' conftest.
$ac_ext >&5
16951 cat >conftest.
$ac_ext <<_ACEOF
16954 cat confdefs.h
>>conftest.
$ac_ext
16955 cat >>conftest.
$ac_ext <<_ACEOF
16956 /* end confdefs.h. */
16957 $ac_includes_default
16961 static int test_array [1 - 2 * !(((long) (sizeof (long long))) < 0)];
16968 rm -f conftest.
$ac_objext
16969 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16970 (eval $ac_compile) 2>conftest.er1
16972 grep -v '^ *+' conftest.er1
>conftest.err
16974 cat conftest.err
>&5
16975 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16976 (exit $ac_status); } &&
16977 { ac_try
='test -z "$ac_c_werror_flag"
16978 || test ! -s conftest.err'
16979 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16980 (eval $ac_try) 2>&5
16982 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16983 (exit $ac_status); }; } &&
16984 { ac_try
='test -s conftest.$ac_objext'
16985 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16986 (eval $ac_try) 2>&5
16988 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16989 (exit $ac_status); }; }; then
16992 cat >conftest.
$ac_ext <<_ACEOF
16995 cat confdefs.h
>>conftest.
$ac_ext
16996 cat >>conftest.
$ac_ext <<_ACEOF
16997 /* end confdefs.h. */
16998 $ac_includes_default
17002 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= $ac_mid)];
17009 rm -f conftest.
$ac_objext
17010 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17011 (eval $ac_compile) 2>conftest.er1
17013 grep -v '^ *+' conftest.er1
>conftest.err
17015 cat conftest.err
>&5
17016 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17017 (exit $ac_status); } &&
17018 { ac_try
='test -z "$ac_c_werror_flag"
17019 || test ! -s conftest.err'
17020 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17021 (eval $ac_try) 2>&5
17023 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17024 (exit $ac_status); }; } &&
17025 { ac_try
='test -s conftest.$ac_objext'
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_lo
=$ac_mid; break
17033 echo "$as_me: failed program was:" >&5
17034 sed 's/^/| /' conftest.
$ac_ext >&5
17036 ac_hi
=`expr '(' $ac_mid ')' - 1`
17037 if test $ac_mid -le $ac_hi; then
17041 ac_mid
=`expr 2 '*' $ac_mid`
17043 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17046 echo "$as_me: failed program was:" >&5
17047 sed 's/^/| /' conftest.
$ac_ext >&5
17051 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17053 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17054 # Binary search between lo and hi bounds.
17055 while test "x$ac_lo" != "x$ac_hi"; do
17056 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
17057 cat >conftest.
$ac_ext <<_ACEOF
17060 cat confdefs.h
>>conftest.
$ac_ext
17061 cat >>conftest.
$ac_ext <<_ACEOF
17062 /* end confdefs.h. */
17063 $ac_includes_default
17067 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
17074 rm -f conftest.
$ac_objext
17075 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17076 (eval $ac_compile) 2>conftest.er1
17078 grep -v '^ *+' conftest.er1
>conftest.err
17080 cat conftest.err
>&5
17081 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17082 (exit $ac_status); } &&
17083 { ac_try
='test -z "$ac_c_werror_flag"
17084 || test ! -s conftest.err'
17085 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17086 (eval $ac_try) 2>&5
17088 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17089 (exit $ac_status); }; } &&
17090 { ac_try
='test -s conftest.$ac_objext'
17091 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17092 (eval $ac_try) 2>&5
17094 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17095 (exit $ac_status); }; }; then
17098 echo "$as_me: failed program was:" >&5
17099 sed 's/^/| /' conftest.
$ac_ext >&5
17101 ac_lo
=`expr '(' $ac_mid ')' + 1`
17103 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17106 ?
*) ac_cv_sizeof_long_long
=$ac_lo;;
17107 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
17108 See \`config.log' for more details." >&5
17109 echo "$as_me: error: cannot compute sizeof (long long), 77
17110 See \`config.log' for more details." >&2;}
17111 { (exit 1); exit 1; }; } ;;
17114 if test "$cross_compiling" = yes; then
17115 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
17116 See \`config.log' for more details." >&5
17117 echo "$as_me: error: cannot run test program while cross compiling
17118 See \`config.log' for more details." >&2;}
17119 { (exit 1); exit 1; }; }
17121 cat >conftest.
$ac_ext <<_ACEOF
17124 cat confdefs.h
>>conftest.
$ac_ext
17125 cat >>conftest.
$ac_ext <<_ACEOF
17126 /* end confdefs.h. */
17127 $ac_includes_default
17128 long longval () { return (long) (sizeof (long long)); }
17129 unsigned long ulongval () { return (long) (sizeof (long long)); }
17131 #include <stdlib.h>
17136 FILE *f = fopen ("conftest.val", "w");
17139 if (((long) (sizeof (long long))) < 0)
17141 long i = longval ();
17142 if (i != ((long) (sizeof (long long))))
17144 fprintf (f, "%ld\n", i);
17148 unsigned long i = ulongval ();
17149 if (i != ((long) (sizeof (long long))))
17151 fprintf (f, "%lu\n", i);
17153 exit (ferror (f) || fclose (f) != 0);
17159 rm -f conftest
$ac_exeext
17160 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17161 (eval $ac_link) 2>&5
17163 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17164 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
17165 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17166 (eval $ac_try) 2>&5
17168 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17169 (exit $ac_status); }; }; then
17170 ac_cv_sizeof_long_long
=`cat conftest.val`
17172 echo "$as_me: program exited with status $ac_status" >&5
17173 echo "$as_me: failed program was:" >&5
17174 sed 's/^/| /' conftest.
$ac_ext >&5
17176 ( exit $ac_status )
17177 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
17178 See \`config.log' for more details." >&5
17179 echo "$as_me: error: cannot compute sizeof (long long), 77
17180 See \`config.log' for more details." >&2;}
17181 { (exit 1); exit 1; }; }
17183 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
17188 ac_cv_sizeof_long_long
=0
17191 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
17192 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6
17193 cat >>confdefs.h
<<_ACEOF
17194 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
17200 echo "$as_me:$LINENO: checking for long long" >&5
17201 echo $ECHO_N "checking for long long... $ECHO_C" >&6
17202 if test "${ac_cv_type_long_long+set}" = set; then
17203 echo $ECHO_N "(cached) $ECHO_C" >&6
17205 cat >conftest.
$ac_ext <<_ACEOF
17208 cat confdefs.h
>>conftest.
$ac_ext
17209 cat >>conftest.
$ac_ext <<_ACEOF
17210 /* end confdefs.h. */
17211 $ac_includes_default
17215 if ((long long *) 0)
17217 if (sizeof (long long))
17223 rm -f conftest.
$ac_objext
17224 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17225 (eval $ac_compile) 2>conftest.er1
17227 grep -v '^ *+' conftest.er1
>conftest.err
17229 cat conftest.err
>&5
17230 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17231 (exit $ac_status); } &&
17232 { ac_try
='test -z "$ac_c_werror_flag"
17233 || test ! -s conftest.err'
17234 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17235 (eval $ac_try) 2>&5
17237 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17238 (exit $ac_status); }; } &&
17239 { ac_try
='test -s conftest.$ac_objext'
17240 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17241 (eval $ac_try) 2>&5
17243 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17244 (exit $ac_status); }; }; then
17245 ac_cv_type_long_long
=yes
17247 echo "$as_me: failed program was:" >&5
17248 sed 's/^/| /' conftest.
$ac_ext >&5
17250 ac_cv_type_long_long
=no
17252 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17254 echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
17255 echo "${ECHO_T}$ac_cv_type_long_long" >&6
17257 echo "$as_me:$LINENO: checking size of long long" >&5
17258 echo $ECHO_N "checking size of long long... $ECHO_C" >&6
17259 if test "${ac_cv_sizeof_long_long+set}" = set; then
17260 echo $ECHO_N "(cached) $ECHO_C" >&6
17262 if test "$ac_cv_type_long_long" = yes; then
17263 # The cast to unsigned long works around a bug in the HP C Compiler
17264 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
17265 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
17266 # This bug is HP SR number 8606223364.
17267 if test "$cross_compiling" = yes; then
17268 # Depending upon the size, compute the lo and hi bounds.
17269 cat >conftest.
$ac_ext <<_ACEOF
17272 cat confdefs.h
>>conftest.
$ac_ext
17273 cat >>conftest.
$ac_ext <<_ACEOF
17274 /* end confdefs.h. */
17275 $ac_includes_default
17279 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= 0)];
17286 rm -f conftest.
$ac_objext
17287 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17288 (eval $ac_compile) 2>conftest.er1
17290 grep -v '^ *+' conftest.er1
>conftest.err
17292 cat conftest.err
>&5
17293 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17294 (exit $ac_status); } &&
17295 { ac_try
='test -z "$ac_c_werror_flag"
17296 || test ! -s conftest.err'
17297 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17298 (eval $ac_try) 2>&5
17300 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17301 (exit $ac_status); }; } &&
17302 { ac_try
='test -s conftest.$ac_objext'
17303 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17304 (eval $ac_try) 2>&5
17306 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17307 (exit $ac_status); }; }; then
17310 cat >conftest.
$ac_ext <<_ACEOF
17313 cat confdefs.h
>>conftest.
$ac_ext
17314 cat >>conftest.
$ac_ext <<_ACEOF
17315 /* end confdefs.h. */
17316 $ac_includes_default
17320 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
17327 rm -f conftest.
$ac_objext
17328 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17329 (eval $ac_compile) 2>conftest.er1
17331 grep -v '^ *+' conftest.er1
>conftest.err
17333 cat conftest.err
>&5
17334 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17335 (exit $ac_status); } &&
17336 { ac_try
='test -z "$ac_c_werror_flag"
17337 || test ! -s conftest.err'
17338 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17339 (eval $ac_try) 2>&5
17341 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17342 (exit $ac_status); }; } &&
17343 { ac_try
='test -s conftest.$ac_objext'
17344 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17345 (eval $ac_try) 2>&5
17347 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17348 (exit $ac_status); }; }; then
17349 ac_hi
=$ac_mid; break
17351 echo "$as_me: failed program was:" >&5
17352 sed 's/^/| /' conftest.
$ac_ext >&5
17354 ac_lo
=`expr $ac_mid + 1`
17355 if test $ac_lo -le $ac_mid; then
17359 ac_mid
=`expr 2 '*' $ac_mid + 1`
17361 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17364 echo "$as_me: failed program was:" >&5
17365 sed 's/^/| /' conftest.
$ac_ext >&5
17367 cat >conftest.
$ac_ext <<_ACEOF
17370 cat confdefs.h
>>conftest.
$ac_ext
17371 cat >>conftest.
$ac_ext <<_ACEOF
17372 /* end confdefs.h. */
17373 $ac_includes_default
17377 static int test_array [1 - 2 * !(((long) (sizeof (long long))) < 0)];
17384 rm -f conftest.
$ac_objext
17385 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17386 (eval $ac_compile) 2>conftest.er1
17388 grep -v '^ *+' conftest.er1
>conftest.err
17390 cat conftest.err
>&5
17391 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17392 (exit $ac_status); } &&
17393 { ac_try
='test -z "$ac_c_werror_flag"
17394 || test ! -s conftest.err'
17395 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17396 (eval $ac_try) 2>&5
17398 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17399 (exit $ac_status); }; } &&
17400 { ac_try
='test -s conftest.$ac_objext'
17401 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17402 (eval $ac_try) 2>&5
17404 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17405 (exit $ac_status); }; }; then
17408 cat >conftest.
$ac_ext <<_ACEOF
17411 cat confdefs.h
>>conftest.
$ac_ext
17412 cat >>conftest.
$ac_ext <<_ACEOF
17413 /* end confdefs.h. */
17414 $ac_includes_default
17418 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= $ac_mid)];
17425 rm -f conftest.
$ac_objext
17426 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17427 (eval $ac_compile) 2>conftest.er1
17429 grep -v '^ *+' conftest.er1
>conftest.err
17431 cat conftest.err
>&5
17432 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17433 (exit $ac_status); } &&
17434 { ac_try
='test -z "$ac_c_werror_flag"
17435 || test ! -s conftest.err'
17436 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17437 (eval $ac_try) 2>&5
17439 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17440 (exit $ac_status); }; } &&
17441 { ac_try
='test -s conftest.$ac_objext'
17442 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17443 (eval $ac_try) 2>&5
17445 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17446 (exit $ac_status); }; }; then
17447 ac_lo
=$ac_mid; break
17449 echo "$as_me: failed program was:" >&5
17450 sed 's/^/| /' conftest.
$ac_ext >&5
17452 ac_hi
=`expr '(' $ac_mid ')' - 1`
17453 if test $ac_mid -le $ac_hi; then
17457 ac_mid
=`expr 2 '*' $ac_mid`
17459 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17462 echo "$as_me: failed program was:" >&5
17463 sed 's/^/| /' conftest.
$ac_ext >&5
17467 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17469 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17470 # Binary search between lo and hi bounds.
17471 while test "x$ac_lo" != "x$ac_hi"; do
17472 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
17473 cat >conftest.
$ac_ext <<_ACEOF
17476 cat confdefs.h
>>conftest.
$ac_ext
17477 cat >>conftest.
$ac_ext <<_ACEOF
17478 /* end confdefs.h. */
17479 $ac_includes_default
17483 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
17490 rm -f conftest.
$ac_objext
17491 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17492 (eval $ac_compile) 2>conftest.er1
17494 grep -v '^ *+' conftest.er1
>conftest.err
17496 cat conftest.err
>&5
17497 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17498 (exit $ac_status); } &&
17499 { ac_try
='test -z "$ac_c_werror_flag"
17500 || test ! -s conftest.err'
17501 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17502 (eval $ac_try) 2>&5
17504 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17505 (exit $ac_status); }; } &&
17506 { ac_try
='test -s conftest.$ac_objext'
17507 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17508 (eval $ac_try) 2>&5
17510 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17511 (exit $ac_status); }; }; then
17514 echo "$as_me: failed program was:" >&5
17515 sed 's/^/| /' conftest.
$ac_ext >&5
17517 ac_lo
=`expr '(' $ac_mid ')' + 1`
17519 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17522 ?
*) ac_cv_sizeof_long_long
=$ac_lo;;
17523 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
17524 See \`config.log' for more details." >&5
17525 echo "$as_me: error: cannot compute sizeof (long long), 77
17526 See \`config.log' for more details." >&2;}
17527 { (exit 1); exit 1; }; } ;;
17530 if test "$cross_compiling" = yes; then
17531 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
17532 See \`config.log' for more details." >&5
17533 echo "$as_me: error: cannot run test program while cross compiling
17534 See \`config.log' for more details." >&2;}
17535 { (exit 1); exit 1; }; }
17537 cat >conftest.
$ac_ext <<_ACEOF
17540 cat confdefs.h
>>conftest.
$ac_ext
17541 cat >>conftest.
$ac_ext <<_ACEOF
17542 /* end confdefs.h. */
17543 $ac_includes_default
17544 long longval () { return (long) (sizeof (long long)); }
17545 unsigned long ulongval () { return (long) (sizeof (long long)); }
17547 #include <stdlib.h>
17552 FILE *f = fopen ("conftest.val", "w");
17555 if (((long) (sizeof (long long))) < 0)
17557 long i = longval ();
17558 if (i != ((long) (sizeof (long long))))
17560 fprintf (f, "%ld\n", i);
17564 unsigned long i = ulongval ();
17565 if (i != ((long) (sizeof (long long))))
17567 fprintf (f, "%lu\n", i);
17569 exit (ferror (f) || fclose (f) != 0);
17575 rm -f conftest
$ac_exeext
17576 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17577 (eval $ac_link) 2>&5
17579 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17580 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
17581 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17582 (eval $ac_try) 2>&5
17584 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17585 (exit $ac_status); }; }; then
17586 ac_cv_sizeof_long_long
=`cat conftest.val`
17588 echo "$as_me: program exited with status $ac_status" >&5
17589 echo "$as_me: failed program was:" >&5
17590 sed 's/^/| /' conftest.
$ac_ext >&5
17592 ( exit $ac_status )
17593 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
17594 See \`config.log' for more details." >&5
17595 echo "$as_me: error: cannot compute sizeof (long long), 77
17596 See \`config.log' for more details." >&2;}
17597 { (exit 1); exit 1; }; }
17599 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
17604 ac_cv_sizeof_long_long
=0
17607 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
17608 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6
17609 cat >>confdefs.h
<<_ACEOF
17610 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
17614 if test "$ac_cv_sizeof_long_long" != "0"; then
17615 CPPFLAGS
="$CPPFLAGS -D_INCLUDE_LONGLONG"
17619 echo "$as_me:$LINENO: checking for long long" >&5
17620 echo $ECHO_N "checking for long long... $ECHO_C" >&6
17621 if test "${ac_cv_type_long_long+set}" = set; then
17622 echo $ECHO_N "(cached) $ECHO_C" >&6
17624 cat >conftest.
$ac_ext <<_ACEOF
17627 cat confdefs.h
>>conftest.
$ac_ext
17628 cat >>conftest.
$ac_ext <<_ACEOF
17629 /* end confdefs.h. */
17630 $ac_includes_default
17634 if ((long long *) 0)
17636 if (sizeof (long long))
17642 rm -f conftest.
$ac_objext
17643 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17644 (eval $ac_compile) 2>conftest.er1
17646 grep -v '^ *+' conftest.er1
>conftest.err
17648 cat conftest.err
>&5
17649 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17650 (exit $ac_status); } &&
17651 { ac_try
='test -z "$ac_c_werror_flag"
17652 || test ! -s conftest.err'
17653 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17654 (eval $ac_try) 2>&5
17656 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17657 (exit $ac_status); }; } &&
17658 { ac_try
='test -s conftest.$ac_objext'
17659 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17660 (eval $ac_try) 2>&5
17662 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17663 (exit $ac_status); }; }; then
17664 ac_cv_type_long_long
=yes
17666 echo "$as_me: failed program was:" >&5
17667 sed 's/^/| /' conftest.
$ac_ext >&5
17669 ac_cv_type_long_long
=no
17671 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17673 echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
17674 echo "${ECHO_T}$ac_cv_type_long_long" >&6
17676 echo "$as_me:$LINENO: checking size of long long" >&5
17677 echo $ECHO_N "checking size of long long... $ECHO_C" >&6
17678 if test "${ac_cv_sizeof_long_long+set}" = set; then
17679 echo $ECHO_N "(cached) $ECHO_C" >&6
17681 if test "$ac_cv_type_long_long" = yes; then
17682 # The cast to unsigned long works around a bug in the HP C Compiler
17683 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
17684 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
17685 # This bug is HP SR number 8606223364.
17686 if test "$cross_compiling" = yes; then
17687 # Depending upon the size, compute the lo and hi bounds.
17688 cat >conftest.
$ac_ext <<_ACEOF
17691 cat confdefs.h
>>conftest.
$ac_ext
17692 cat >>conftest.
$ac_ext <<_ACEOF
17693 /* end confdefs.h. */
17694 $ac_includes_default
17698 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= 0)];
17705 rm -f conftest.
$ac_objext
17706 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17707 (eval $ac_compile) 2>conftest.er1
17709 grep -v '^ *+' conftest.er1
>conftest.err
17711 cat conftest.err
>&5
17712 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17713 (exit $ac_status); } &&
17714 { ac_try
='test -z "$ac_c_werror_flag"
17715 || test ! -s conftest.err'
17716 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17717 (eval $ac_try) 2>&5
17719 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17720 (exit $ac_status); }; } &&
17721 { ac_try
='test -s conftest.$ac_objext'
17722 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17723 (eval $ac_try) 2>&5
17725 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17726 (exit $ac_status); }; }; then
17729 cat >conftest.
$ac_ext <<_ACEOF
17732 cat confdefs.h
>>conftest.
$ac_ext
17733 cat >>conftest.
$ac_ext <<_ACEOF
17734 /* end confdefs.h. */
17735 $ac_includes_default
17739 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
17746 rm -f conftest.
$ac_objext
17747 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17748 (eval $ac_compile) 2>conftest.er1
17750 grep -v '^ *+' conftest.er1
>conftest.err
17752 cat conftest.err
>&5
17753 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17754 (exit $ac_status); } &&
17755 { ac_try
='test -z "$ac_c_werror_flag"
17756 || test ! -s conftest.err'
17757 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17758 (eval $ac_try) 2>&5
17760 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17761 (exit $ac_status); }; } &&
17762 { ac_try
='test -s conftest.$ac_objext'
17763 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17764 (eval $ac_try) 2>&5
17766 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17767 (exit $ac_status); }; }; then
17768 ac_hi
=$ac_mid; break
17770 echo "$as_me: failed program was:" >&5
17771 sed 's/^/| /' conftest.
$ac_ext >&5
17773 ac_lo
=`expr $ac_mid + 1`
17774 if test $ac_lo -le $ac_mid; then
17778 ac_mid
=`expr 2 '*' $ac_mid + 1`
17780 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17783 echo "$as_me: failed program was:" >&5
17784 sed 's/^/| /' conftest.
$ac_ext >&5
17786 cat >conftest.
$ac_ext <<_ACEOF
17789 cat confdefs.h
>>conftest.
$ac_ext
17790 cat >>conftest.
$ac_ext <<_ACEOF
17791 /* end confdefs.h. */
17792 $ac_includes_default
17796 static int test_array [1 - 2 * !(((long) (sizeof (long long))) < 0)];
17803 rm -f conftest.
$ac_objext
17804 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17805 (eval $ac_compile) 2>conftest.er1
17807 grep -v '^ *+' conftest.er1
>conftest.err
17809 cat conftest.err
>&5
17810 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17811 (exit $ac_status); } &&
17812 { ac_try
='test -z "$ac_c_werror_flag"
17813 || test ! -s conftest.err'
17814 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17815 (eval $ac_try) 2>&5
17817 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17818 (exit $ac_status); }; } &&
17819 { ac_try
='test -s conftest.$ac_objext'
17820 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17821 (eval $ac_try) 2>&5
17823 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17824 (exit $ac_status); }; }; then
17827 cat >conftest.
$ac_ext <<_ACEOF
17830 cat confdefs.h
>>conftest.
$ac_ext
17831 cat >>conftest.
$ac_ext <<_ACEOF
17832 /* end confdefs.h. */
17833 $ac_includes_default
17837 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= $ac_mid)];
17844 rm -f conftest.
$ac_objext
17845 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17846 (eval $ac_compile) 2>conftest.er1
17848 grep -v '^ *+' conftest.er1
>conftest.err
17850 cat conftest.err
>&5
17851 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17852 (exit $ac_status); } &&
17853 { ac_try
='test -z "$ac_c_werror_flag"
17854 || test ! -s conftest.err'
17855 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17856 (eval $ac_try) 2>&5
17858 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17859 (exit $ac_status); }; } &&
17860 { ac_try
='test -s conftest.$ac_objext'
17861 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17862 (eval $ac_try) 2>&5
17864 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17865 (exit $ac_status); }; }; then
17866 ac_lo
=$ac_mid; break
17868 echo "$as_me: failed program was:" >&5
17869 sed 's/^/| /' conftest.
$ac_ext >&5
17871 ac_hi
=`expr '(' $ac_mid ')' - 1`
17872 if test $ac_mid -le $ac_hi; then
17876 ac_mid
=`expr 2 '*' $ac_mid`
17878 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17881 echo "$as_me: failed program was:" >&5
17882 sed 's/^/| /' conftest.
$ac_ext >&5
17886 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17888 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17889 # Binary search between lo and hi bounds.
17890 while test "x$ac_lo" != "x$ac_hi"; do
17891 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
17892 cat >conftest.
$ac_ext <<_ACEOF
17895 cat confdefs.h
>>conftest.
$ac_ext
17896 cat >>conftest.
$ac_ext <<_ACEOF
17897 /* end confdefs.h. */
17898 $ac_includes_default
17902 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
17909 rm -f conftest.
$ac_objext
17910 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17911 (eval $ac_compile) 2>conftest.er1
17913 grep -v '^ *+' conftest.er1
>conftest.err
17915 cat conftest.err
>&5
17916 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17917 (exit $ac_status); } &&
17918 { ac_try
='test -z "$ac_c_werror_flag"
17919 || test ! -s conftest.err'
17920 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17921 (eval $ac_try) 2>&5
17923 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17924 (exit $ac_status); }; } &&
17925 { ac_try
='test -s conftest.$ac_objext'
17926 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17927 (eval $ac_try) 2>&5
17929 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17930 (exit $ac_status); }; }; then
17933 echo "$as_me: failed program was:" >&5
17934 sed 's/^/| /' conftest.
$ac_ext >&5
17936 ac_lo
=`expr '(' $ac_mid ')' + 1`
17938 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17941 ?
*) ac_cv_sizeof_long_long
=$ac_lo;;
17942 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
17943 See \`config.log' for more details." >&5
17944 echo "$as_me: error: cannot compute sizeof (long long), 77
17945 See \`config.log' for more details." >&2;}
17946 { (exit 1); exit 1; }; } ;;
17949 if test "$cross_compiling" = yes; then
17950 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
17951 See \`config.log' for more details." >&5
17952 echo "$as_me: error: cannot run test program while cross compiling
17953 See \`config.log' for more details." >&2;}
17954 { (exit 1); exit 1; }; }
17956 cat >conftest.
$ac_ext <<_ACEOF
17959 cat confdefs.h
>>conftest.
$ac_ext
17960 cat >>conftest.
$ac_ext <<_ACEOF
17961 /* end confdefs.h. */
17962 $ac_includes_default
17963 long longval () { return (long) (sizeof (long long)); }
17964 unsigned long ulongval () { return (long) (sizeof (long long)); }
17966 #include <stdlib.h>
17971 FILE *f = fopen ("conftest.val", "w");
17974 if (((long) (sizeof (long long))) < 0)
17976 long i = longval ();
17977 if (i != ((long) (sizeof (long long))))
17979 fprintf (f, "%ld\n", i);
17983 unsigned long i = ulongval ();
17984 if (i != ((long) (sizeof (long long))))
17986 fprintf (f, "%lu\n", i);
17988 exit (ferror (f) || fclose (f) != 0);
17994 rm -f conftest
$ac_exeext
17995 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17996 (eval $ac_link) 2>&5
17998 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17999 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
18000 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18001 (eval $ac_try) 2>&5
18003 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18004 (exit $ac_status); }; }; then
18005 ac_cv_sizeof_long_long
=`cat conftest.val`
18007 echo "$as_me: program exited with status $ac_status" >&5
18008 echo "$as_me: failed program was:" >&5
18009 sed 's/^/| /' conftest.
$ac_ext >&5
18011 ( exit $ac_status )
18012 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
18013 See \`config.log' for more details." >&5
18014 echo "$as_me: error: cannot compute sizeof (long long), 77
18015 See \`config.log' for more details." >&2;}
18016 { (exit 1); exit 1; }; }
18018 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
18023 ac_cv_sizeof_long_long
=0
18026 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
18027 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6
18028 cat >>confdefs.h
<<_ACEOF
18029 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
18035 echo "$as_me:$LINENO: checking size of wchar_t" >&5
18036 echo $ECHO_N "checking size of wchar_t... $ECHO_C" >&6
18037 if test "${wx_cv_sizeof_wchar_t+set}" = set; then
18038 echo $ECHO_N "(cached) $ECHO_C" >&6
18041 if test "$cross_compiling" = yes; then
18045 wx_cv_sizeof_wchar_t
=0
18048 wx_cv_sizeof_wchar_t
=4
18054 cat >conftest.
$ac_ext <<_ACEOF
18057 cat confdefs.h
>>conftest.
$ac_ext
18058 cat >>conftest.
$ac_ext <<_ACEOF
18059 /* end confdefs.h. */
18061 /* DJGPP only has fake wchar_t: */
18063 # error "fake wchar_t"
18065 #ifdef HAVE_WCHAR_H
18067 # include <stddef.h>
18069 # include <wchar.h>
18071 #ifdef HAVE_STDLIB_H
18072 # include <stdlib.h>
18077 FILE *f=fopen("conftestval", "w");
18079 fprintf(f, "%i", sizeof(wchar_t));
18084 rm -f conftest
$ac_exeext
18085 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18086 (eval $ac_link) 2>&5
18088 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18089 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
18090 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18091 (eval $ac_try) 2>&5
18093 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18094 (exit $ac_status); }; }; then
18095 wx_cv_sizeof_wchar_t
=`cat conftestval`
18097 echo "$as_me: program exited with status $ac_status" >&5
18098 echo "$as_me: failed program was:" >&5
18099 sed 's/^/| /' conftest.
$ac_ext >&5
18101 ( exit $ac_status )
18102 wx_cv_sizeof_wchar_t
=0
18104 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
18108 echo "$as_me:$LINENO: result: $wx_cv_sizeof_wchar_t" >&5
18109 echo "${ECHO_T}$wx_cv_sizeof_wchar_t" >&6
18111 cat >>confdefs.h
<<_ACEOF
18112 #define SIZEOF_WCHAR_T $wx_cv_sizeof_wchar_t
18116 # Check whether --enable-largefile or --disable-largefile was given.
18117 if test "${enable_largefile+set}" = set; then
18118 enableval
="$enable_largefile"
18121 if test "$enable_largefile" != no
; then
18124 echo "$as_me:$LINENO: checking for _FILE_OFFSET_BITS value needed for large files" >&5
18125 echo $ECHO_N "checking for _FILE_OFFSET_BITS value needed for large files... $ECHO_C" >&6
18126 if test "${ac_cv_sys_file_offset_bits+set}" = set; then
18127 echo $ECHO_N "(cached) $ECHO_C" >&6
18130 cat >conftest.
$ac_ext <<_ACEOF
18133 cat confdefs.h
>>conftest.
$ac_ext
18134 cat >>conftest.
$ac_ext <<_ACEOF
18135 /* end confdefs.h. */
18136 #define _FILE_OFFSET_BITS 64
18137 #include <sys/types.h>
18142 unsigned int field: sizeof(off_t) == 8;
18149 rm -f conftest.
$ac_objext
18150 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18151 (eval $ac_compile) 2>conftest.er1
18153 grep -v '^ *+' conftest.er1
>conftest.err
18155 cat conftest.err
>&5
18156 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18157 (exit $ac_status); } &&
18158 { ac_try
='test -z "$ac_c_werror_flag"
18159 || test ! -s conftest.err'
18160 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18161 (eval $ac_try) 2>&5
18163 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18164 (exit $ac_status); }; } &&
18165 { ac_try
='test -s conftest.$ac_objext'
18166 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18167 (eval $ac_try) 2>&5
18169 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18170 (exit $ac_status); }; }; then
18171 ac_cv_sys_file_offset_bits
=64
18173 echo "$as_me: failed program was:" >&5
18174 sed 's/^/| /' conftest.
$ac_ext >&5
18176 ac_cv_sys_file_offset_bits
=no
18178 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18182 echo "$as_me:$LINENO: result: $ac_cv_sys_file_offset_bits" >&5
18183 echo "${ECHO_T}$ac_cv_sys_file_offset_bits" >&6
18185 if test "$ac_cv_sys_file_offset_bits" != no
; then
18187 cat >>confdefs.h
<<_ACEOF
18188 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
18193 if test "x$wx_largefile" != "xyes"; then
18195 echo "$as_me:$LINENO: checking for _LARGE_FILES value needed for large files" >&5
18196 echo $ECHO_N "checking for _LARGE_FILES value needed for large files... $ECHO_C" >&6
18197 if test "${ac_cv_sys_large_files+set}" = set; then
18198 echo $ECHO_N "(cached) $ECHO_C" >&6
18201 cat >conftest.
$ac_ext <<_ACEOF
18204 cat confdefs.h
>>conftest.
$ac_ext
18205 cat >>conftest.
$ac_ext <<_ACEOF
18206 /* end confdefs.h. */
18207 #define _LARGE_FILES 1
18208 #include <sys/types.h>
18213 unsigned int field: sizeof(off_t) == 8;
18220 rm -f conftest.
$ac_objext
18221 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18222 (eval $ac_compile) 2>conftest.er1
18224 grep -v '^ *+' conftest.er1
>conftest.err
18226 cat conftest.err
>&5
18227 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18228 (exit $ac_status); } &&
18229 { ac_try
='test -z "$ac_c_werror_flag"
18230 || test ! -s conftest.err'
18231 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18232 (eval $ac_try) 2>&5
18234 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18235 (exit $ac_status); }; } &&
18236 { ac_try
='test -s conftest.$ac_objext'
18237 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18238 (eval $ac_try) 2>&5
18240 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18241 (exit $ac_status); }; }; then
18242 ac_cv_sys_large_files
=1
18244 echo "$as_me: failed program was:" >&5
18245 sed 's/^/| /' conftest.
$ac_ext >&5
18247 ac_cv_sys_large_files
=no
18249 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18253 echo "$as_me:$LINENO: result: $ac_cv_sys_large_files" >&5
18254 echo "${ECHO_T}$ac_cv_sys_large_files" >&6
18256 if test "$ac_cv_sys_large_files" != no
; then
18258 cat >>confdefs.h
<<_ACEOF
18259 #define _LARGE_FILES $ac_cv_sys_large_files
18266 echo "$as_me:$LINENO: checking if large file support is available" >&5
18267 echo $ECHO_N "checking if large file support is available... $ECHO_C" >&6
18268 if test "x$wx_largefile" = "xyes"; then
18269 cat >>confdefs.h
<<\_ACEOF
18270 #define HAVE_LARGEFILE_SUPPORT 1
18274 echo "$as_me:$LINENO: result: $wx_largefile" >&5
18275 echo "${ECHO_T}$wx_largefile" >&6
18279 if test "x$wx_largefile" = "xyes"; then
18280 if test "x$ac_cv_sys_file_offset_bits" = "x64"; then
18281 WX_LARGEFILE_FLAGS
="-D_FILE_OFFSET_BITS=64 -D_LARGE_FILES"
18283 WX_LARGEFILE_FLAGS
="-D_LARGE_FILES"
18285 CPPFLAGS
="$CPPFLAGS $WX_LARGEFILE_FLAGS"
18288 echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5
18289 echo $ECHO_N "checking whether byte ordering is bigendian... $ECHO_C" >&6
18290 if test "${ac_cv_c_bigendian+set}" = set; then
18291 echo $ECHO_N "(cached) $ECHO_C" >&6
18293 ac_cv_c_bigendian
=unknown
18294 # See if sys/param.h defines the BYTE_ORDER macro.
18295 cat >conftest.
$ac_ext <<_ACEOF
18298 cat confdefs.h
>>conftest.
$ac_ext
18299 cat >>conftest.
$ac_ext <<_ACEOF
18300 /* end confdefs.h. */
18301 #include <sys/types.h>
18302 #include <sys/param.h>
18307 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN
18308 bogus endian macros
18314 rm -f conftest.
$ac_objext
18315 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18316 (eval $ac_compile) 2>conftest.er1
18318 grep -v '^ *+' conftest.er1
>conftest.err
18320 cat conftest.err
>&5
18321 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18322 (exit $ac_status); } &&
18323 { ac_try
='test -z "$ac_c_werror_flag"
18324 || test ! -s conftest.err'
18325 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18326 (eval $ac_try) 2>&5
18328 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18329 (exit $ac_status); }; } &&
18330 { ac_try
='test -s conftest.$ac_objext'
18331 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18332 (eval $ac_try) 2>&5
18334 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18335 (exit $ac_status); }; }; then
18336 # It does; now see whether it defined to BIG_ENDIAN or not.
18337 cat >conftest.
$ac_ext <<_ACEOF
18340 cat confdefs.h
>>conftest.
$ac_ext
18341 cat >>conftest.
$ac_ext <<_ACEOF
18342 /* end confdefs.h. */
18343 #include <sys/types.h>
18344 #include <sys/param.h>
18349 #if BYTE_ORDER != BIG_ENDIAN
18356 rm -f conftest.
$ac_objext
18357 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18358 (eval $ac_compile) 2>conftest.er1
18360 grep -v '^ *+' conftest.er1
>conftest.err
18362 cat conftest.err
>&5
18363 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18364 (exit $ac_status); } &&
18365 { ac_try
='test -z "$ac_c_werror_flag"
18366 || test ! -s conftest.err'
18367 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18368 (eval $ac_try) 2>&5
18370 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18371 (exit $ac_status); }; } &&
18372 { ac_try
='test -s conftest.$ac_objext'
18373 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18374 (eval $ac_try) 2>&5
18376 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18377 (exit $ac_status); }; }; then
18378 ac_cv_c_bigendian
=yes
18380 echo "$as_me: failed program was:" >&5
18381 sed 's/^/| /' conftest.
$ac_ext >&5
18383 ac_cv_c_bigendian
=no
18385 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18387 echo "$as_me: failed program was:" >&5
18388 sed 's/^/| /' conftest.
$ac_ext >&5
18391 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18392 if test $ac_cv_c_bigendian = unknown
; then
18393 if test "$cross_compiling" = yes; then
18394 ac_cv_c_bigendian
=unknown
18396 cat >conftest.
$ac_ext <<_ACEOF
18399 cat confdefs.h
>>conftest.
$ac_ext
18400 cat >>conftest.
$ac_ext <<_ACEOF
18401 /* end confdefs.h. */
18403 /* Are we little or big endian? From Harbison&Steele. */
18407 char c[sizeof (long)];
18410 exit (u.c[sizeof (long) - 1] == 1);
18413 rm -f conftest
$ac_exeext
18414 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18415 (eval $ac_link) 2>&5
18417 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18418 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
18419 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18420 (eval $ac_try) 2>&5
18422 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18423 (exit $ac_status); }; }; then
18424 ac_cv_c_bigendian
=no
18426 echo "$as_me: program exited with status $ac_status" >&5
18427 echo "$as_me: failed program was:" >&5
18428 sed 's/^/| /' conftest.
$ac_ext >&5
18430 ( exit $ac_status )
18431 ac_cv_c_bigendian
=yes
18433 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
18437 echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5
18438 echo "${ECHO_T}$ac_cv_c_bigendian" >&6
18439 if test $ac_cv_c_bigendian = unknown
; then
18440 { 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
18441 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;}
18443 if test $ac_cv_c_bigendian = yes; then
18444 cat >>confdefs.h
<<\_ACEOF
18445 #define WORDS_BIGENDIAN 1
18452 ac_cpp
='$CXXCPP $CPPFLAGS'
18453 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18454 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18455 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
18456 echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5
18457 echo $ECHO_N "checking how to run the C++ preprocessor... $ECHO_C" >&6
18458 if test -z "$CXXCPP"; then
18459 if test "${ac_cv_prog_CXXCPP+set}" = set; then
18460 echo $ECHO_N "(cached) $ECHO_C" >&6
18462 # Double quotes because CXXCPP needs to be expanded
18463 for CXXCPP
in "$CXX -E" "/lib/cpp"
18465 ac_preproc_ok
=false
18466 for ac_cxx_preproc_warn_flag
in '' yes
18468 # Use a header file that comes with gcc, so configuring glibc
18469 # with a fresh cross-compiler works.
18470 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
18471 # <limits.h> exists even on freestanding compilers.
18472 # On the NeXT, cc -E runs the code through the compiler's parser,
18473 # not just through cpp. "Syntax error" is here to catch this case.
18474 cat >conftest.
$ac_ext <<_ACEOF
18477 cat confdefs.h
>>conftest.
$ac_ext
18478 cat >>conftest.
$ac_ext <<_ACEOF
18479 /* end confdefs.h. */
18481 # include <limits.h>
18483 # include <assert.h>
18487 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
18488 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
18490 grep -v '^ *+' conftest.er1
>conftest.err
18492 cat conftest.err
>&5
18493 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18494 (exit $ac_status); } >/dev
/null
; then
18495 if test -s conftest.err
; then
18496 ac_cpp_err
=$ac_cxx_preproc_warn_flag
18497 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
18504 if test -z "$ac_cpp_err"; then
18507 echo "$as_me: failed program was:" >&5
18508 sed 's/^/| /' conftest.
$ac_ext >&5
18510 # Broken: fails on valid input.
18513 rm -f conftest.err conftest.
$ac_ext
18515 # OK, works on sane cases. Now check whether non-existent headers
18516 # can be detected and how.
18517 cat >conftest.
$ac_ext <<_ACEOF
18520 cat confdefs.h
>>conftest.
$ac_ext
18521 cat >>conftest.
$ac_ext <<_ACEOF
18522 /* end confdefs.h. */
18523 #include <ac_nonexistent.h>
18525 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
18526 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
18528 grep -v '^ *+' conftest.er1
>conftest.err
18530 cat conftest.err
>&5
18531 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18532 (exit $ac_status); } >/dev
/null
; then
18533 if test -s conftest.err
; then
18534 ac_cpp_err
=$ac_cxx_preproc_warn_flag
18535 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
18542 if test -z "$ac_cpp_err"; then
18543 # Broken: success on invalid input.
18546 echo "$as_me: failed program was:" >&5
18547 sed 's/^/| /' conftest.
$ac_ext >&5
18549 # Passes both tests.
18553 rm -f conftest.err conftest.
$ac_ext
18556 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
18557 rm -f conftest.err conftest.
$ac_ext
18558 if $ac_preproc_ok; then
18563 ac_cv_prog_CXXCPP
=$CXXCPP
18566 CXXCPP
=$ac_cv_prog_CXXCPP
18568 ac_cv_prog_CXXCPP
=$CXXCPP
18570 echo "$as_me:$LINENO: result: $CXXCPP" >&5
18571 echo "${ECHO_T}$CXXCPP" >&6
18572 ac_preproc_ok
=false
18573 for ac_cxx_preproc_warn_flag
in '' yes
18575 # Use a header file that comes with gcc, so configuring glibc
18576 # with a fresh cross-compiler works.
18577 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
18578 # <limits.h> exists even on freestanding compilers.
18579 # On the NeXT, cc -E runs the code through the compiler's parser,
18580 # not just through cpp. "Syntax error" is here to catch this case.
18581 cat >conftest.
$ac_ext <<_ACEOF
18584 cat confdefs.h
>>conftest.
$ac_ext
18585 cat >>conftest.
$ac_ext <<_ACEOF
18586 /* end confdefs.h. */
18588 # include <limits.h>
18590 # include <assert.h>
18594 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
18595 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
18597 grep -v '^ *+' conftest.er1
>conftest.err
18599 cat conftest.err
>&5
18600 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18601 (exit $ac_status); } >/dev
/null
; then
18602 if test -s conftest.err
; then
18603 ac_cpp_err
=$ac_cxx_preproc_warn_flag
18604 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
18611 if test -z "$ac_cpp_err"; then
18614 echo "$as_me: failed program was:" >&5
18615 sed 's/^/| /' conftest.
$ac_ext >&5
18617 # Broken: fails on valid input.
18620 rm -f conftest.err conftest.
$ac_ext
18622 # OK, works on sane cases. Now check whether non-existent headers
18623 # can be detected and how.
18624 cat >conftest.
$ac_ext <<_ACEOF
18627 cat confdefs.h
>>conftest.
$ac_ext
18628 cat >>conftest.
$ac_ext <<_ACEOF
18629 /* end confdefs.h. */
18630 #include <ac_nonexistent.h>
18632 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
18633 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
18635 grep -v '^ *+' conftest.er1
>conftest.err
18637 cat conftest.err
>&5
18638 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18639 (exit $ac_status); } >/dev
/null
; then
18640 if test -s conftest.err
; then
18641 ac_cpp_err
=$ac_cxx_preproc_warn_flag
18642 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
18649 if test -z "$ac_cpp_err"; then
18650 # Broken: success on invalid input.
18653 echo "$as_me: failed program was:" >&5
18654 sed 's/^/| /' conftest.
$ac_ext >&5
18656 # Passes both tests.
18660 rm -f conftest.err conftest.
$ac_ext
18663 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
18664 rm -f conftest.err conftest.
$ac_ext
18665 if $ac_preproc_ok; then
18668 { { echo "$as_me:$LINENO: error: C++ preprocessor \"$CXXCPP\" fails sanity check
18669 See \`config.log' for more details." >&5
18670 echo "$as_me: error: C++ preprocessor \"$CXXCPP\" fails sanity check
18671 See \`config.log' for more details." >&2;}
18672 { (exit 1); exit 1; }; }
18676 ac_cpp
='$CXXCPP $CPPFLAGS'
18677 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18678 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18679 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
18686 ac_cpp
='$CXXCPP $CPPFLAGS'
18687 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18688 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18689 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
18693 for ac_header
in iostream
18695 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
18696 if eval "test \"\${$as_ac_Header+set}\" = set"; then
18697 echo "$as_me:$LINENO: checking for $ac_header" >&5
18698 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
18699 if eval "test \"\${$as_ac_Header+set}\" = set"; then
18700 echo $ECHO_N "(cached) $ECHO_C" >&6
18702 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
18703 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
18705 # Is the header compilable?
18706 echo "$as_me:$LINENO: checking $ac_header usability" >&5
18707 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
18708 cat >conftest.
$ac_ext <<_ACEOF
18711 cat confdefs.h
>>conftest.
$ac_ext
18712 cat >>conftest.
$ac_ext <<_ACEOF
18713 /* end confdefs.h. */
18714 $ac_includes_default
18715 #include <$ac_header>
18717 rm -f conftest.
$ac_objext
18718 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18719 (eval $ac_compile) 2>conftest.er1
18721 grep -v '^ *+' conftest.er1
>conftest.err
18723 cat conftest.err
>&5
18724 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18725 (exit $ac_status); } &&
18726 { ac_try
='test -z "$ac_cxx_werror_flag"
18727 || test ! -s conftest.err'
18728 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18729 (eval $ac_try) 2>&5
18731 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18732 (exit $ac_status); }; } &&
18733 { ac_try
='test -s conftest.$ac_objext'
18734 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18735 (eval $ac_try) 2>&5
18737 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18738 (exit $ac_status); }; }; then
18739 ac_header_compiler
=yes
18741 echo "$as_me: failed program was:" >&5
18742 sed 's/^/| /' conftest.
$ac_ext >&5
18744 ac_header_compiler
=no
18746 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18747 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
18748 echo "${ECHO_T}$ac_header_compiler" >&6
18750 # Is the header present?
18751 echo "$as_me:$LINENO: checking $ac_header presence" >&5
18752 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
18753 cat >conftest.
$ac_ext <<_ACEOF
18756 cat confdefs.h
>>conftest.
$ac_ext
18757 cat >>conftest.
$ac_ext <<_ACEOF
18758 /* end confdefs.h. */
18759 #include <$ac_header>
18761 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
18762 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
18764 grep -v '^ *+' conftest.er1
>conftest.err
18766 cat conftest.err
>&5
18767 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18768 (exit $ac_status); } >/dev
/null
; then
18769 if test -s conftest.err
; then
18770 ac_cpp_err
=$ac_cxx_preproc_warn_flag
18771 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
18778 if test -z "$ac_cpp_err"; then
18779 ac_header_preproc
=yes
18781 echo "$as_me: failed program was:" >&5
18782 sed 's/^/| /' conftest.
$ac_ext >&5
18784 ac_header_preproc
=no
18786 rm -f conftest.err conftest.
$ac_ext
18787 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
18788 echo "${ECHO_T}$ac_header_preproc" >&6
18790 # So? What about this header?
18791 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
18793 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
18794 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
18795 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
18796 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
18797 ac_header_preproc
=yes
18800 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
18801 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
18802 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
18803 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
18804 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
18805 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
18806 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
18807 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
18808 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
18809 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
18810 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
18811 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
18814 ## ----------------------------------------- ##
18815 ## Report this to wx-dev@lists.wxwindows.org ##
18816 ## ----------------------------------------- ##
18819 sed "s/^/$as_me: WARNING: /" >&2
18822 echo "$as_me:$LINENO: checking for $ac_header" >&5
18823 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
18824 if eval "test \"\${$as_ac_Header+set}\" = set"; then
18825 echo $ECHO_N "(cached) $ECHO_C" >&6
18827 eval "$as_ac_Header=\$ac_header_preproc"
18829 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
18830 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
18833 if test `eval echo '${'$as_ac_Header'}'` = yes; then
18834 cat >>confdefs.h
<<_ACEOF
18835 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
18843 if test "$ac_cv_header_iostream" = "yes" ; then
18846 cat >>confdefs.h
<<\_ACEOF
18847 #define wxUSE_IOSTREAMH 1
18853 ac_cpp
='$CPP $CPPFLAGS'
18854 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18855 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18856 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
18861 echo "$as_me:$LINENO: checking if C++ compiler supports bool" >&5
18862 echo $ECHO_N "checking if C++ compiler supports bool... $ECHO_C" >&6
18863 if test "${wx_cv_cpp_bool+set}" = set; then
18864 echo $ECHO_N "(cached) $ECHO_C" >&6
18870 ac_cpp
='$CXXCPP $CPPFLAGS'
18871 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18872 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18873 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
18876 cat >conftest.
$ac_ext <<_ACEOF
18879 cat confdefs.h
>>conftest.
$ac_ext
18880 cat >>conftest.
$ac_ext <<_ACEOF
18881 /* end confdefs.h. */
18896 rm -f conftest.
$ac_objext
18897 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18898 (eval $ac_compile) 2>conftest.er1
18900 grep -v '^ *+' conftest.er1
>conftest.err
18902 cat conftest.err
>&5
18903 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18904 (exit $ac_status); } &&
18905 { ac_try
='test -z "$ac_cxx_werror_flag"
18906 || test ! -s conftest.err'
18907 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18908 (eval $ac_try) 2>&5
18910 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18911 (exit $ac_status); }; } &&
18912 { ac_try
='test -s conftest.$ac_objext'
18913 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18914 (eval $ac_try) 2>&5
18916 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18917 (exit $ac_status); }; }; then
18922 echo "$as_me: failed program was:" >&5
18923 sed 's/^/| /' conftest.
$ac_ext >&5
18930 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18933 ac_cpp
='$CPP $CPPFLAGS'
18934 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18935 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18936 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
18940 echo "$as_me:$LINENO: result: $wx_cv_cpp_bool" >&5
18941 echo "${ECHO_T}$wx_cv_cpp_bool" >&6
18943 if test "$wx_cv_cpp_bool" = "yes"; then
18944 cat >>confdefs.h
<<\_ACEOF
18945 #define HAVE_BOOL 1
18952 echo "$as_me:$LINENO: checking if C++ compiler supports the explicit keyword" >&5
18953 echo $ECHO_N "checking if C++ compiler supports the explicit keyword... $ECHO_C" >&6
18954 if test "${wx_cv_explicit+set}" = set; then
18955 echo $ECHO_N "(cached) $ECHO_C" >&6
18961 ac_cpp
='$CXXCPP $CPPFLAGS'
18962 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18963 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18964 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
18967 cat >conftest.
$ac_ext <<_ACEOF
18970 cat confdefs.h
>>conftest.
$ac_ext
18971 cat >>conftest.
$ac_ext <<_ACEOF
18972 /* end confdefs.h. */
18974 class Foo { public: explicit Foo(int) {} };
18986 rm -f conftest.
$ac_objext
18987 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18988 (eval $ac_compile) 2>conftest.er1
18990 grep -v '^ *+' conftest.er1
>conftest.err
18992 cat conftest.err
>&5
18993 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18994 (exit $ac_status); } &&
18995 { ac_try
='test -z "$ac_cxx_werror_flag"
18996 || test ! -s conftest.err'
18997 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18998 (eval $ac_try) 2>&5
19000 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19001 (exit $ac_status); }; } &&
19002 { ac_try
='test -s conftest.$ac_objext'
19003 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19004 (eval $ac_try) 2>&5
19006 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19007 (exit $ac_status); }; }; then
19009 cat >conftest.
$ac_ext <<_ACEOF
19012 cat confdefs.h
>>conftest.
$ac_ext
19013 cat >>conftest.
$ac_ext <<_ACEOF
19014 /* end confdefs.h. */
19016 class Foo { public: explicit Foo(int) {} };
19017 static void TakeFoo(const Foo& foo) { }
19030 rm -f conftest.
$ac_objext
19031 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19032 (eval $ac_compile) 2>conftest.er1
19034 grep -v '^ *+' conftest.er1
>conftest.err
19036 cat conftest.err
>&5
19037 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19038 (exit $ac_status); } &&
19039 { ac_try
='test -z "$ac_cxx_werror_flag"
19040 || test ! -s conftest.err'
19041 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19042 (eval $ac_try) 2>&5
19044 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19045 (exit $ac_status); }; } &&
19046 { ac_try
='test -s conftest.$ac_objext'
19047 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19048 (eval $ac_try) 2>&5
19050 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19051 (exit $ac_status); }; }; then
19054 echo "$as_me: failed program was:" >&5
19055 sed 's/^/| /' conftest.
$ac_ext >&5
19060 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19063 echo "$as_me: failed program was:" >&5
19064 sed 's/^/| /' conftest.
$ac_ext >&5
19069 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19072 ac_cpp
='$CPP $CPPFLAGS'
19073 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19074 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19075 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
19079 echo "$as_me:$LINENO: result: $wx_cv_explicit" >&5
19080 echo "${ECHO_T}$wx_cv_explicit" >&6
19082 if test "$wx_cv_explicit" = "yes"; then
19083 cat >>confdefs.h
<<\_ACEOF
19084 #define HAVE_EXPLICIT 1
19090 echo "$as_me:$LINENO: checking whether the compiler supports const_cast<>" >&5
19091 echo $ECHO_N "checking whether the compiler supports const_cast<>... $ECHO_C" >&6
19092 if test "${ac_cv_cxx_const_cast+set}" = set; then
19093 echo $ECHO_N "(cached) $ECHO_C" >&6
19098 ac_cpp
='$CXXCPP $CPPFLAGS'
19099 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19100 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19101 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
19103 cat >conftest.
$ac_ext <<_ACEOF
19106 cat confdefs.h
>>conftest.
$ac_ext
19107 cat >>conftest.
$ac_ext <<_ACEOF
19108 /* end confdefs.h. */
19113 int x = 0;const int& y = x;int& z = const_cast<int&>(y);return z;
19118 rm -f conftest.
$ac_objext
19119 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19120 (eval $ac_compile) 2>conftest.er1
19122 grep -v '^ *+' conftest.er1
>conftest.err
19124 cat conftest.err
>&5
19125 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19126 (exit $ac_status); } &&
19127 { ac_try
='test -z "$ac_cxx_werror_flag"
19128 || test ! -s conftest.err'
19129 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19130 (eval $ac_try) 2>&5
19132 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19133 (exit $ac_status); }; } &&
19134 { ac_try
='test -s conftest.$ac_objext'
19135 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19136 (eval $ac_try) 2>&5
19138 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19139 (exit $ac_status); }; }; then
19140 ac_cv_cxx_const_cast
=yes
19142 echo "$as_me: failed program was:" >&5
19143 sed 's/^/| /' conftest.
$ac_ext >&5
19145 ac_cv_cxx_const_cast
=no
19147 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19149 ac_cpp
='$CPP $CPPFLAGS'
19150 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19151 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19152 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
19156 echo "$as_me:$LINENO: result: $ac_cv_cxx_const_cast" >&5
19157 echo "${ECHO_T}$ac_cv_cxx_const_cast" >&6
19158 if test "$ac_cv_cxx_const_cast" = yes; then
19160 cat >>confdefs.h
<<\_ACEOF
19161 #define HAVE_CONST_CAST
19166 echo "$as_me:$LINENO: checking whether the compiler supports static_cast<>" >&5
19167 echo $ECHO_N "checking whether the compiler supports static_cast<>... $ECHO_C" >&6
19168 if test "${ac_cv_cxx_static_cast+set}" = set; then
19169 echo $ECHO_N "(cached) $ECHO_C" >&6
19174 ac_cpp
='$CXXCPP $CPPFLAGS'
19175 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19176 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19177 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
19179 cat >conftest.
$ac_ext <<_ACEOF
19182 cat confdefs.h
>>conftest.
$ac_ext
19183 cat >>conftest.
$ac_ext <<_ACEOF
19184 /* end confdefs.h. */
19185 #include <typeinfo>
19186 class Base { public : Base () {} virtual void f () = 0; };
19187 class Derived : public Base { public : Derived () {} virtual void f () {} };
19188 int g (Derived&) { return 0; }
19193 Derived d; Base& b = d; Derived& s = static_cast<Derived&> (b); return g (s);
19198 rm -f conftest.
$ac_objext
19199 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19200 (eval $ac_compile) 2>conftest.er1
19202 grep -v '^ *+' conftest.er1
>conftest.err
19204 cat conftest.err
>&5
19205 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19206 (exit $ac_status); } &&
19207 { ac_try
='test -z "$ac_cxx_werror_flag"
19208 || test ! -s conftest.err'
19209 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19210 (eval $ac_try) 2>&5
19212 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19213 (exit $ac_status); }; } &&
19214 { ac_try
='test -s conftest.$ac_objext'
19215 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19216 (eval $ac_try) 2>&5
19218 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19219 (exit $ac_status); }; }; then
19220 ac_cv_cxx_static_cast
=yes
19222 echo "$as_me: failed program was:" >&5
19223 sed 's/^/| /' conftest.
$ac_ext >&5
19225 ac_cv_cxx_static_cast
=no
19227 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19229 ac_cpp
='$CPP $CPPFLAGS'
19230 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19231 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19232 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
19236 echo "$as_me:$LINENO: result: $ac_cv_cxx_static_cast" >&5
19237 echo "${ECHO_T}$ac_cv_cxx_static_cast" >&6
19238 if test "$ac_cv_cxx_static_cast" = yes; then
19240 cat >>confdefs.h
<<\_ACEOF
19241 #define HAVE_STATIC_CAST
19247 if test "$wxUSE_STL" = "yes"; then
19249 ac_cpp
='$CXXCPP $CPPFLAGS'
19250 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19251 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19252 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
19255 echo "$as_me:$LINENO: checking for basic STL functionality" >&5
19256 echo $ECHO_N "checking for basic STL functionality... $ECHO_C" >&6
19257 cat >conftest.
$ac_ext <<_ACEOF
19260 cat confdefs.h
>>conftest.
$ac_ext
19261 cat >>conftest.
$ac_ext <<_ACEOF
19262 /* end confdefs.h. */
19264 #include <functional>
19265 #include <algorithm>
19271 std::vector<int> moo;
19272 std::list<int> foo;
19273 std::vector<int>::iterator it =
19274 std::find_if(moo.begin(), moo.end(),
19275 std::bind2nd(std::less<int>(), 3));
19280 rm -f conftest.
$ac_objext
19281 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19282 (eval $ac_compile) 2>conftest.er1
19284 grep -v '^ *+' conftest.er1
>conftest.err
19286 cat conftest.err
>&5
19287 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19288 (exit $ac_status); } &&
19289 { ac_try
='test -z "$ac_cxx_werror_flag"
19290 || test ! -s conftest.err'
19291 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19292 (eval $ac_try) 2>&5
19294 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19295 (exit $ac_status); }; } &&
19296 { ac_try
='test -s conftest.$ac_objext'
19297 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19298 (eval $ac_try) 2>&5
19300 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19301 (exit $ac_status); }; }; then
19302 echo "$as_me:$LINENO: result: yes" >&5
19303 echo "${ECHO_T}yes" >&6
19305 echo "$as_me: failed program was:" >&5
19306 sed 's/^/| /' conftest.
$ac_ext >&5
19308 echo "$as_me:$LINENO: result: no" >&5
19309 echo "${ECHO_T}no" >&6
19310 { { echo "$as_me:$LINENO: error: Basic STL functionality missing" >&5
19311 echo "$as_me: error: Basic STL functionality missing" >&2;}
19312 { (exit 1); exit 1; }; }
19314 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19316 echo "$as_me:$LINENO: checking for std::wstring in <string>" >&5
19317 echo $ECHO_N "checking for std::wstring in <string>... $ECHO_C" >&6
19318 cat >conftest.
$ac_ext <<_ACEOF
19321 cat confdefs.h
>>conftest.
$ac_ext
19322 cat >>conftest.
$ac_ext <<_ACEOF
19323 /* end confdefs.h. */
19333 rm -f conftest.
$ac_objext
19334 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19335 (eval $ac_compile) 2>conftest.er1
19337 grep -v '^ *+' conftest.er1
>conftest.err
19339 cat conftest.err
>&5
19340 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19341 (exit $ac_status); } &&
19342 { ac_try
='test -z "$ac_cxx_werror_flag"
19343 || test ! -s conftest.err'
19344 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19345 (eval $ac_try) 2>&5
19347 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19348 (exit $ac_status); }; } &&
19349 { ac_try
='test -s conftest.$ac_objext'
19350 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19351 (eval $ac_try) 2>&5
19353 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19354 (exit $ac_status); }; }; then
19355 echo "$as_me:$LINENO: result: yes" >&5
19356 echo "${ECHO_T}yes" >&6
19357 cat >>confdefs.h
<<\_ACEOF
19358 #define HAVE_STD_WSTRING 1
19362 echo "$as_me: failed program was:" >&5
19363 sed 's/^/| /' conftest.
$ac_ext >&5
19365 echo "$as_me:$LINENO: result: no" >&5
19366 echo "${ECHO_T}no" >&6
19368 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19370 echo "$as_me:$LINENO: checking for compliant std::string::compare" >&5
19371 echo $ECHO_N "checking for compliant std::string::compare... $ECHO_C" >&6
19372 cat >conftest.
$ac_ext <<_ACEOF
19375 cat confdefs.h
>>conftest.
$ac_ext
19376 cat >>conftest.
$ac_ext <<_ACEOF
19377 /* end confdefs.h. */
19382 std::string foo, bar;
19384 foo.compare(1, 1, bar);
19385 foo.compare(1, 1, bar, 1, 1);
19387 foo.compare(1, 1, "");
19388 foo.compare(1, 1, "", 2);
19393 rm -f conftest.
$ac_objext
19394 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19395 (eval $ac_compile) 2>conftest.er1
19397 grep -v '^ *+' conftest.er1
>conftest.err
19399 cat conftest.err
>&5
19400 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19401 (exit $ac_status); } &&
19402 { ac_try
='test -z "$ac_cxx_werror_flag"
19403 || test ! -s conftest.err'
19404 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19405 (eval $ac_try) 2>&5
19407 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19408 (exit $ac_status); }; } &&
19409 { ac_try
='test -s conftest.$ac_objext'
19410 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19411 (eval $ac_try) 2>&5
19413 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19414 (exit $ac_status); }; }; then
19415 echo "$as_me:$LINENO: result: yes" >&5
19416 echo "${ECHO_T}yes" >&6
19417 cat >>confdefs.h
<<\_ACEOF
19418 #define HAVE_STD_STRING_COMPARE 1
19422 echo "$as_me: failed program was:" >&5
19423 sed 's/^/| /' conftest.
$ac_ext >&5
19425 echo "$as_me:$LINENO: result: no" >&5
19426 echo "${ECHO_T}no" >&6
19428 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19431 ac_cpp
='$CPP $CPPFLAGS'
19432 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19433 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19434 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
19440 /usr/local/include \
19442 /usr/Motif-2.1/include \
19443 /usr/Motif-1.2/include \
19444 /usr/include/Motif1.2 \
19445 /opt/xpm/include/X11 \
19446 /opt/GBxpm/include/ \
19447 /opt/GBxpm/X11/include/ \
19450 /usr/openwin/include \
19454 /usr/X11R6/include \
19455 /usr/X11R6.4/include \
19456 /usr/X11R5/include \
19457 /usr/X11R4/include \
19459 /usr/include/X11R6 \
19460 /usr/include/X11R5 \
19461 /usr/include/X11R4 \
19463 /usr/local/X11R6/include \
19464 /usr/local/X11R5/include \
19465 /usr/local/X11R4/include \
19467 /usr/local/include/X11R6 \
19468 /usr/local/include/X11R5 \
19469 /usr/local/include/X11R4 \
19473 /usr/local/X11/include \
19474 /usr/local/include/X11 \
19476 /usr/X386/include \
19477 /usr/x386/include \
19478 /usr/XFree86/include/X11 \
19480 X:/XFree86/include \
19481 X:/XFree86/include/X11 \
19484 /usr/local/include/gtk \
19485 /usr/include/glib \
19486 /usr/local/include/glib \
19489 /usr/local/include/qt \
19491 /usr/local/arm/3.3.2/include \
19493 /usr/include/windows \
19494 /usr/include/wine \
19495 /usr/local/include/wine \
19497 /usr/unsupported/include \
19498 /usr/athena/include \
19499 /usr/local/x11r5/include \
19500 /usr/lpp/Xamples/include \
19502 /usr/openwin/share/include"
19504 SEARCH_LIB
="/usr/lib /usr/lib32 `echo "$SEARCH_INCLUDE" | sed s/include/lib/g` /usr/lib64 /usr/X11R6/lib64"
19507 cat >confcache
<<\_ACEOF
19508 # This file is a shell script that caches the results of configure
19509 # tests run on this system so they can be shared between configure
19510 # scripts and configure runs, see configure's option --config-cache.
19511 # It is not useful on other systems. If it contains results you don't
19512 # want to keep, you may remove or edit it.
19514 # config.status only pays attention to the cache file if you give it
19515 # the --recheck option to rerun configure.
19517 # `ac_cv_env_foo' variables (set or unset) will be overridden when
19518 # loading this file, other *unset* `ac_cv_foo' will be assigned the
19519 # following values.
19523 # The following way of writing the cache mishandles newlines in values,
19524 # but we know of no workaround that is simple, portable, and efficient.
19525 # So, don't put newlines in cache variables' values.
19526 # Ultrix sh set writes to stderr and can't be redirected directly,
19527 # and sets the high bit in the cache file unless we assign to the vars.
19530 case `(ac_space=' '; set | grep ac_space) 2>&1` in
19532 # `set' does not quote correctly, so add quotes (double-quote
19533 # substitution turns \\\\ into \\, and sed turns \\ into \).
19536 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
19539 # `set' quotes correctly as required by POSIX, so do not add quotes.
19541 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
19548 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
19550 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
19552 if diff $cache_file confcache
>/dev
/null
2>&1; then :; else
19553 if test -w $cache_file; then
19554 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
19555 cat confcache
>$cache_file
19557 echo "not updating unwritable cache $cache_file"
19562 if test "$USE_LINUX" = 1 -o "$USE_GNU" = 1; then
19563 echo "$as_me:$LINENO: checking for glibc 2.1 or later" >&5
19564 echo $ECHO_N "checking for glibc 2.1 or later... $ECHO_C" >&6
19565 if test "${wx_cv_lib_glibc21+set}" = set; then
19566 echo $ECHO_N "(cached) $ECHO_C" >&6
19569 cat >conftest.
$ac_ext <<_ACEOF
19572 cat confdefs.h
>>conftest.
$ac_ext
19573 cat >>conftest.
$ac_ext <<_ACEOF
19574 /* end confdefs.h. */
19575 #include <features.h>
19580 #if (__GLIBC__ < 2) || (__GLIBC_MINOR__ < 1)
19581 #error not glibc2.1
19588 rm -f conftest.
$ac_objext
19589 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19590 (eval $ac_compile) 2>conftest.er1
19592 grep -v '^ *+' conftest.er1
>conftest.err
19594 cat conftest.err
>&5
19595 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19596 (exit $ac_status); } &&
19597 { ac_try
='test -z "$ac_c_werror_flag"
19598 || test ! -s conftest.err'
19599 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19600 (eval $ac_try) 2>&5
19602 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19603 (exit $ac_status); }; } &&
19604 { ac_try
='test -s conftest.$ac_objext'
19605 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19606 (eval $ac_try) 2>&5
19608 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19609 (exit $ac_status); }; }; then
19611 wx_cv_lib_glibc21
=yes
19614 echo "$as_me: failed program was:" >&5
19615 sed 's/^/| /' conftest.
$ac_ext >&5
19618 wx_cv_lib_glibc21
=no
19622 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19625 echo "$as_me:$LINENO: result: $wx_cv_lib_glibc21" >&5
19626 echo "${ECHO_T}$wx_cv_lib_glibc21" >&6
19627 if test "$wx_cv_lib_glibc21" = "yes"; then
19628 cat >>confdefs.h
<<\_ACEOF
19629 #define wxHAVE_GLIBC2 1
19635 if test "x$wx_cv_lib_glibc21" = "xyes"; then
19636 if test "$wxUSE_UNICODE" = "yes" -o "$wxUSE_THREADS" = "yes"; then
19637 cat >>confdefs.h
<<\_ACEOF
19638 #define _GNU_SOURCE 1
19646 if test "$wxUSE_REGEX" != "no"; then
19647 cat >>confdefs.h
<<\_ACEOF
19648 #define wxUSE_REGEX 1
19652 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_REGEX" = "yes"; then
19653 { echo "$as_me:$LINENO: WARNING: Defaulting to the the builtin regex library for Unicode build." >&5
19654 echo "$as_me: WARNING: Defaulting to the the builtin regex library for Unicode build." >&2;}
19655 wxUSE_REGEX
=builtin
19658 if test "$wxUSE_REGEX" = "sys" -o "$wxUSE_REGEX" = "yes" ; then
19659 if test "${ac_cv_header_regex_h+set}" = set; then
19660 echo "$as_me:$LINENO: checking for regex.h" >&5
19661 echo $ECHO_N "checking for regex.h... $ECHO_C" >&6
19662 if test "${ac_cv_header_regex_h+set}" = set; then
19663 echo $ECHO_N "(cached) $ECHO_C" >&6
19665 echo "$as_me:$LINENO: result: $ac_cv_header_regex_h" >&5
19666 echo "${ECHO_T}$ac_cv_header_regex_h" >&6
19668 # Is the header compilable?
19669 echo "$as_me:$LINENO: checking regex.h usability" >&5
19670 echo $ECHO_N "checking regex.h usability... $ECHO_C" >&6
19671 cat >conftest.
$ac_ext <<_ACEOF
19674 cat confdefs.h
>>conftest.
$ac_ext
19675 cat >>conftest.
$ac_ext <<_ACEOF
19676 /* end confdefs.h. */
19677 $ac_includes_default
19680 rm -f conftest.
$ac_objext
19681 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19682 (eval $ac_compile) 2>conftest.er1
19684 grep -v '^ *+' conftest.er1
>conftest.err
19686 cat conftest.err
>&5
19687 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19688 (exit $ac_status); } &&
19689 { ac_try
='test -z "$ac_c_werror_flag"
19690 || test ! -s conftest.err'
19691 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19692 (eval $ac_try) 2>&5
19694 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19695 (exit $ac_status); }; } &&
19696 { ac_try
='test -s conftest.$ac_objext'
19697 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19698 (eval $ac_try) 2>&5
19700 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19701 (exit $ac_status); }; }; then
19702 ac_header_compiler
=yes
19704 echo "$as_me: failed program was:" >&5
19705 sed 's/^/| /' conftest.
$ac_ext >&5
19707 ac_header_compiler
=no
19709 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19710 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
19711 echo "${ECHO_T}$ac_header_compiler" >&6
19713 # Is the header present?
19714 echo "$as_me:$LINENO: checking regex.h presence" >&5
19715 echo $ECHO_N "checking regex.h presence... $ECHO_C" >&6
19716 cat >conftest.
$ac_ext <<_ACEOF
19719 cat confdefs.h
>>conftest.
$ac_ext
19720 cat >>conftest.
$ac_ext <<_ACEOF
19721 /* end confdefs.h. */
19724 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
19725 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
19727 grep -v '^ *+' conftest.er1
>conftest.err
19729 cat conftest.err
>&5
19730 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19731 (exit $ac_status); } >/dev
/null
; then
19732 if test -s conftest.err
; then
19733 ac_cpp_err
=$ac_c_preproc_warn_flag
19734 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
19741 if test -z "$ac_cpp_err"; then
19742 ac_header_preproc
=yes
19744 echo "$as_me: failed program was:" >&5
19745 sed 's/^/| /' conftest.
$ac_ext >&5
19747 ac_header_preproc
=no
19749 rm -f conftest.err conftest.
$ac_ext
19750 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
19751 echo "${ECHO_T}$ac_header_preproc" >&6
19753 # So? What about this header?
19754 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
19756 { echo "$as_me:$LINENO: WARNING: regex.h: accepted by the compiler, rejected by the preprocessor!" >&5
19757 echo "$as_me: WARNING: regex.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
19758 { echo "$as_me:$LINENO: WARNING: regex.h: proceeding with the compiler's result" >&5
19759 echo "$as_me: WARNING: regex.h: proceeding with the compiler's result" >&2;}
19760 ac_header_preproc
=yes
19763 { echo "$as_me:$LINENO: WARNING: regex.h: present but cannot be compiled" >&5
19764 echo "$as_me: WARNING: regex.h: present but cannot be compiled" >&2;}
19765 { echo "$as_me:$LINENO: WARNING: regex.h: check for missing prerequisite headers?" >&5
19766 echo "$as_me: WARNING: regex.h: check for missing prerequisite headers?" >&2;}
19767 { echo "$as_me:$LINENO: WARNING: regex.h: see the Autoconf documentation" >&5
19768 echo "$as_me: WARNING: regex.h: see the Autoconf documentation" >&2;}
19769 { echo "$as_me:$LINENO: WARNING: regex.h: section \"Present But Cannot Be Compiled\"" >&5
19770 echo "$as_me: WARNING: regex.h: section \"Present But Cannot Be Compiled\"" >&2;}
19771 { echo "$as_me:$LINENO: WARNING: regex.h: proceeding with the preprocessor's result" >&5
19772 echo "$as_me: WARNING: regex.h: proceeding with the preprocessor's result" >&2;}
19773 { echo "$as_me:$LINENO: WARNING: regex.h: in the future, the compiler will take precedence" >&5
19774 echo "$as_me: WARNING: regex.h: in the future, the compiler will take precedence" >&2;}
19777 ## ----------------------------------------- ##
19778 ## Report this to wx-dev@lists.wxwindows.org ##
19779 ## ----------------------------------------- ##
19782 sed "s/^/$as_me: WARNING: /" >&2
19785 echo "$as_me:$LINENO: checking for regex.h" >&5
19786 echo $ECHO_N "checking for regex.h... $ECHO_C" >&6
19787 if test "${ac_cv_header_regex_h+set}" = set; then
19788 echo $ECHO_N "(cached) $ECHO_C" >&6
19790 ac_cv_header_regex_h
=$ac_header_preproc
19792 echo "$as_me:$LINENO: result: $ac_cv_header_regex_h" >&5
19793 echo "${ECHO_T}$ac_cv_header_regex_h" >&6
19796 if test $ac_cv_header_regex_h = yes; then
19798 for ac_func
in regcomp
19800 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
19801 echo "$as_me:$LINENO: checking for $ac_func" >&5
19802 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
19803 if eval "test \"\${$as_ac_var+set}\" = set"; then
19804 echo $ECHO_N "(cached) $ECHO_C" >&6
19806 cat >conftest.
$ac_ext <<_ACEOF
19809 cat confdefs.h
>>conftest.
$ac_ext
19810 cat >>conftest.
$ac_ext <<_ACEOF
19811 /* end confdefs.h. */
19812 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
19813 For example, HP-UX 11i <limits.h> declares gettimeofday. */
19814 #define $ac_func innocuous_$ac_func
19816 /* System header to define __stub macros and hopefully few prototypes,
19817 which can conflict with char $ac_func (); below.
19818 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
19819 <limits.h> exists even on freestanding compilers. */
19822 # include <limits.h>
19824 # include <assert.h>
19829 /* Override any gcc2 internal prototype to avoid an error. */
19834 /* We use char because int might match the return type of a gcc2
19835 builtin and then its argument prototype would still apply. */
19837 /* The GNU C library defines this for functions which it implements
19838 to always fail with ENOSYS. Some functions are actually named
19839 something starting with __ and the normal name is an alias. */
19840 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19843 char (*f) () = $ac_func;
19852 return f != $ac_func;
19857 rm -f conftest.
$ac_objext conftest
$ac_exeext
19858 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19859 (eval $ac_link) 2>conftest.er1
19861 grep -v '^ *+' conftest.er1
>conftest.err
19863 cat conftest.err
>&5
19864 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19865 (exit $ac_status); } &&
19866 { ac_try
='test -z "$ac_c_werror_flag"
19867 || test ! -s conftest.err'
19868 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19869 (eval $ac_try) 2>&5
19871 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19872 (exit $ac_status); }; } &&
19873 { ac_try
='test -s conftest$ac_exeext'
19874 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19875 (eval $ac_try) 2>&5
19877 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19878 (exit $ac_status); }; }; then
19879 eval "$as_ac_var=yes"
19881 echo "$as_me: failed program was:" >&5
19882 sed 's/^/| /' conftest.
$ac_ext >&5
19884 eval "$as_ac_var=no"
19886 rm -f conftest.err conftest.
$ac_objext \
19887 conftest
$ac_exeext conftest.
$ac_ext
19889 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
19890 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
19891 if test `eval echo '${'$as_ac_var'}'` = yes; then
19892 cat >>confdefs.h
<<_ACEOF
19893 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
19903 if test "x$ac_cv_func_regcomp" != "xyes"; then
19904 if test "$wxUSE_REGEX" = "sys" ; then
19905 { { echo "$as_me:$LINENO: error: system regex library not found! Use --with-regex to use built-in version" >&5
19906 echo "$as_me: error: system regex library not found! Use --with-regex to use built-in version" >&2;}
19907 { (exit 1); exit 1; }; }
19909 { echo "$as_me:$LINENO: WARNING: system regex library not found, will use built-in instead" >&5
19910 echo "$as_me: WARNING: system regex library not found, will use built-in instead" >&2;}
19911 wxUSE_REGEX
=builtin
19915 cat >>confdefs.h
<<\_ACEOF
19916 #define WX_NO_REGEX_ADVANCED 1
19925 if test "$wxUSE_ZLIB" != "no" ; then
19926 cat >>confdefs.h
<<\_ACEOF
19927 #define wxUSE_ZLIB 1
19931 if test "$wxUSE_ZLIB" = "sys" -o "$wxUSE_ZLIB" = "yes" ; then
19932 if test "$USE_DARWIN" = 1; then
19933 system_zlib_h_ok
="yes"
19935 echo "$as_me:$LINENO: checking for zlib.h >= 1.1.4" >&5
19936 echo $ECHO_N "checking for zlib.h >= 1.1.4... $ECHO_C" >&6
19937 if test "${ac_cv_header_zlib_h+set}" = set; then
19938 echo $ECHO_N "(cached) $ECHO_C" >&6
19940 if test "$cross_compiling" = yes; then
19941 unset ac_cv_header_zlib_h
19944 cat >conftest.
$ac_ext <<_ACEOF
19947 cat confdefs.h
>>conftest.
$ac_ext
19948 cat >>conftest.
$ac_ext <<_ACEOF
19949 /* end confdefs.h. */
19956 FILE *f=fopen("conftestval", "w");
19959 ZLIB_VERSION[0] == '1' &&
19960 (ZLIB_VERSION[2] > '1' ||
19961 (ZLIB_VERSION[2] == '1' &&
19962 ZLIB_VERSION[4] >= '4')) ? "yes" : "no");
19967 rm -f conftest
$ac_exeext
19968 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19969 (eval $ac_link) 2>&5
19971 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19972 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
19973 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19974 (eval $ac_try) 2>&5
19976 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19977 (exit $ac_status); }; }; then
19978 ac_cv_header_zlib_h
=`cat conftestval`
19980 echo "$as_me: program exited with status $ac_status" >&5
19981 echo "$as_me: failed program was:" >&5
19982 sed 's/^/| /' conftest.
$ac_ext >&5
19984 ( exit $ac_status )
19985 ac_cv_header_zlib_h
=no
19987 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
19991 echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
19992 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6
19993 if test "${ac_cv_header_zlib_h+set}" = set; then
19994 echo "$as_me:$LINENO: checking for zlib.h" >&5
19995 echo $ECHO_N "checking for zlib.h... $ECHO_C" >&6
19996 if test "${ac_cv_header_zlib_h+set}" = set; then
19997 echo $ECHO_N "(cached) $ECHO_C" >&6
19999 echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
20000 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6
20002 # Is the header compilable?
20003 echo "$as_me:$LINENO: checking zlib.h usability" >&5
20004 echo $ECHO_N "checking zlib.h usability... $ECHO_C" >&6
20005 cat >conftest.
$ac_ext <<_ACEOF
20008 cat confdefs.h
>>conftest.
$ac_ext
20009 cat >>conftest.
$ac_ext <<_ACEOF
20010 /* end confdefs.h. */
20011 $ac_includes_default
20014 rm -f conftest.
$ac_objext
20015 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20016 (eval $ac_compile) 2>conftest.er1
20018 grep -v '^ *+' conftest.er1
>conftest.err
20020 cat conftest.err
>&5
20021 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20022 (exit $ac_status); } &&
20023 { ac_try
='test -z "$ac_c_werror_flag"
20024 || test ! -s conftest.err'
20025 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20026 (eval $ac_try) 2>&5
20028 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20029 (exit $ac_status); }; } &&
20030 { ac_try
='test -s conftest.$ac_objext'
20031 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20032 (eval $ac_try) 2>&5
20034 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20035 (exit $ac_status); }; }; then
20036 ac_header_compiler
=yes
20038 echo "$as_me: failed program was:" >&5
20039 sed 's/^/| /' conftest.
$ac_ext >&5
20041 ac_header_compiler
=no
20043 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20044 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
20045 echo "${ECHO_T}$ac_header_compiler" >&6
20047 # Is the header present?
20048 echo "$as_me:$LINENO: checking zlib.h presence" >&5
20049 echo $ECHO_N "checking zlib.h presence... $ECHO_C" >&6
20050 cat >conftest.
$ac_ext <<_ACEOF
20053 cat confdefs.h
>>conftest.
$ac_ext
20054 cat >>conftest.
$ac_ext <<_ACEOF
20055 /* end confdefs.h. */
20058 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
20059 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
20061 grep -v '^ *+' conftest.er1
>conftest.err
20063 cat conftest.err
>&5
20064 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20065 (exit $ac_status); } >/dev
/null
; then
20066 if test -s conftest.err
; then
20067 ac_cpp_err
=$ac_c_preproc_warn_flag
20068 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
20075 if test -z "$ac_cpp_err"; then
20076 ac_header_preproc
=yes
20078 echo "$as_me: failed program was:" >&5
20079 sed 's/^/| /' conftest.
$ac_ext >&5
20081 ac_header_preproc
=no
20083 rm -f conftest.err conftest.
$ac_ext
20084 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
20085 echo "${ECHO_T}$ac_header_preproc" >&6
20087 # So? What about this header?
20088 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
20090 { echo "$as_me:$LINENO: WARNING: zlib.h: accepted by the compiler, rejected by the preprocessor!" >&5
20091 echo "$as_me: WARNING: zlib.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
20092 { echo "$as_me:$LINENO: WARNING: zlib.h: proceeding with the compiler's result" >&5
20093 echo "$as_me: WARNING: zlib.h: proceeding with the compiler's result" >&2;}
20094 ac_header_preproc
=yes
20097 { echo "$as_me:$LINENO: WARNING: zlib.h: present but cannot be compiled" >&5
20098 echo "$as_me: WARNING: zlib.h: present but cannot be compiled" >&2;}
20099 { echo "$as_me:$LINENO: WARNING: zlib.h: check for missing prerequisite headers?" >&5
20100 echo "$as_me: WARNING: zlib.h: check for missing prerequisite headers?" >&2;}
20101 { echo "$as_me:$LINENO: WARNING: zlib.h: see the Autoconf documentation" >&5
20102 echo "$as_me: WARNING: zlib.h: see the Autoconf documentation" >&2;}
20103 { echo "$as_me:$LINENO: WARNING: zlib.h: section \"Present But Cannot Be Compiled\"" >&5
20104 echo "$as_me: WARNING: zlib.h: section \"Present But Cannot Be Compiled\"" >&2;}
20105 { echo "$as_me:$LINENO: WARNING: zlib.h: proceeding with the preprocessor's result" >&5
20106 echo "$as_me: WARNING: zlib.h: proceeding with the preprocessor's result" >&2;}
20107 { echo "$as_me:$LINENO: WARNING: zlib.h: in the future, the compiler will take precedence" >&5
20108 echo "$as_me: WARNING: zlib.h: in the future, the compiler will take precedence" >&2;}
20111 ## ----------------------------------------- ##
20112 ## Report this to wx-dev@lists.wxwindows.org ##
20113 ## ----------------------------------------- ##
20116 sed "s/^/$as_me: WARNING: /" >&2
20119 echo "$as_me:$LINENO: checking for zlib.h" >&5
20120 echo $ECHO_N "checking for zlib.h... $ECHO_C" >&6
20121 if test "${ac_cv_header_zlib_h+set}" = set; then
20122 echo $ECHO_N "(cached) $ECHO_C" >&6
20124 ac_cv_header_zlib_h
=$ac_header_preproc
20126 echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
20127 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6
20133 system_zlib_h_ok
=$ac_cv_header_zlib_h
20136 if test "$system_zlib_h_ok" = "yes"; then
20137 echo "$as_me:$LINENO: checking for deflate in -lz" >&5
20138 echo $ECHO_N "checking for deflate in -lz... $ECHO_C" >&6
20139 if test "${ac_cv_lib_z_deflate+set}" = set; then
20140 echo $ECHO_N "(cached) $ECHO_C" >&6
20142 ac_check_lib_save_LIBS
=$LIBS
20144 cat >conftest.
$ac_ext <<_ACEOF
20147 cat confdefs.h
>>conftest.
$ac_ext
20148 cat >>conftest.
$ac_ext <<_ACEOF
20149 /* end confdefs.h. */
20151 /* Override any gcc2 internal prototype to avoid an error. */
20155 /* We use char because int might match the return type of a gcc2
20156 builtin and then its argument prototype would still apply. */
20166 rm -f conftest.
$ac_objext conftest
$ac_exeext
20167 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20168 (eval $ac_link) 2>conftest.er1
20170 grep -v '^ *+' conftest.er1
>conftest.err
20172 cat conftest.err
>&5
20173 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20174 (exit $ac_status); } &&
20175 { ac_try
='test -z "$ac_c_werror_flag"
20176 || test ! -s conftest.err'
20177 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20178 (eval $ac_try) 2>&5
20180 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20181 (exit $ac_status); }; } &&
20182 { ac_try
='test -s conftest$ac_exeext'
20183 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20184 (eval $ac_try) 2>&5
20186 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20187 (exit $ac_status); }; }; then
20188 ac_cv_lib_z_deflate
=yes
20190 echo "$as_me: failed program was:" >&5
20191 sed 's/^/| /' conftest.
$ac_ext >&5
20193 ac_cv_lib_z_deflate
=no
20195 rm -f conftest.err conftest.
$ac_objext \
20196 conftest
$ac_exeext conftest.
$ac_ext
20197 LIBS
=$ac_check_lib_save_LIBS
20199 echo "$as_me:$LINENO: result: $ac_cv_lib_z_deflate" >&5
20200 echo "${ECHO_T}$ac_cv_lib_z_deflate" >&6
20201 if test $ac_cv_lib_z_deflate = yes; then
20207 if test "x$ZLIB_LINK" = "x" ; then
20208 if test "$wxUSE_ZLIB" = "sys" ; then
20209 { { echo "$as_me:$LINENO: error: zlib library not found or too old! Use --with-zlib=builtin to use built-in version" >&5
20210 echo "$as_me: error: zlib library not found or too old! Use --with-zlib=builtin to use built-in version" >&2;}
20211 { (exit 1); exit 1; }; }
20213 { echo "$as_me:$LINENO: WARNING: zlib library not found or too old, will use built-in instead" >&5
20214 echo "$as_me: WARNING: zlib library not found or too old, will use built-in instead" >&2;}
20225 if test "$wxUSE_LIBPNG" != "no" ; then
20226 cat >>confdefs.h
<<\_ACEOF
20227 #define wxUSE_LIBPNG 1
20231 if test "$wxUSE_MGL" = 1 -a "$wxUSE_LIBPNG" = "builtin" ; then
20232 { echo "$as_me:$LINENO: WARNING: wxMGL doesn't work with builtin png library, will use MGL one instead" >&5
20233 echo "$as_me: WARNING: wxMGL doesn't work with builtin png library, will use MGL one instead" >&2;}
20237 if test "$wxUSE_MGL" != 1 -a "$wxUSE_LIBPNG" = "sys" -a "$wxUSE_ZLIB" != "sys" ; then
20238 { echo "$as_me:$LINENO: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&5
20239 echo "$as_me: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&2;}
20240 wxUSE_LIBPNG
=builtin
20243 if test "$wxUSE_MGL" != 1 ; then
20244 if test "$wxUSE_LIBPNG" = "sys" -o "$wxUSE_LIBPNG" = "yes" ; then
20245 echo "$as_me:$LINENO: checking for png.h > 0.90" >&5
20246 echo $ECHO_N "checking for png.h > 0.90... $ECHO_C" >&6
20247 if test "${ac_cv_header_png_h+set}" = set; then
20248 echo $ECHO_N "(cached) $ECHO_C" >&6
20250 if test "$cross_compiling" = yes; then
20251 unset ac_cv_header_png_h
20254 cat >conftest.
$ac_ext <<_ACEOF
20257 cat confdefs.h
>>conftest.
$ac_ext
20258 cat >>conftest.
$ac_ext <<_ACEOF
20259 /* end confdefs.h. */
20266 FILE *f=fopen("conftestval", "w");
20269 PNG_LIBPNG_VER > 90 ? "yes" : "no");
20274 rm -f conftest
$ac_exeext
20275 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20276 (eval $ac_link) 2>&5
20278 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20279 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
20280 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20281 (eval $ac_try) 2>&5
20283 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20284 (exit $ac_status); }; }; then
20285 ac_cv_header_png_h
=`cat conftestval`
20287 echo "$as_me: program exited with status $ac_status" >&5
20288 echo "$as_me: failed program was:" >&5
20289 sed 's/^/| /' conftest.
$ac_ext >&5
20291 ( exit $ac_status )
20292 ac_cv_header_png_h
=no
20294 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
20298 echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
20299 echo "${ECHO_T}$ac_cv_header_png_h" >&6
20300 if test "${ac_cv_header_png_h+set}" = set; then
20301 echo "$as_me:$LINENO: checking for png.h" >&5
20302 echo $ECHO_N "checking for png.h... $ECHO_C" >&6
20303 if test "${ac_cv_header_png_h+set}" = set; then
20304 echo $ECHO_N "(cached) $ECHO_C" >&6
20306 echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
20307 echo "${ECHO_T}$ac_cv_header_png_h" >&6
20309 # Is the header compilable?
20310 echo "$as_me:$LINENO: checking png.h usability" >&5
20311 echo $ECHO_N "checking png.h usability... $ECHO_C" >&6
20312 cat >conftest.
$ac_ext <<_ACEOF
20315 cat confdefs.h
>>conftest.
$ac_ext
20316 cat >>conftest.
$ac_ext <<_ACEOF
20317 /* end confdefs.h. */
20318 $ac_includes_default
20321 rm -f conftest.
$ac_objext
20322 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20323 (eval $ac_compile) 2>conftest.er1
20325 grep -v '^ *+' conftest.er1
>conftest.err
20327 cat conftest.err
>&5
20328 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20329 (exit $ac_status); } &&
20330 { ac_try
='test -z "$ac_c_werror_flag"
20331 || test ! -s conftest.err'
20332 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20333 (eval $ac_try) 2>&5
20335 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20336 (exit $ac_status); }; } &&
20337 { ac_try
='test -s conftest.$ac_objext'
20338 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20339 (eval $ac_try) 2>&5
20341 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20342 (exit $ac_status); }; }; then
20343 ac_header_compiler
=yes
20345 echo "$as_me: failed program was:" >&5
20346 sed 's/^/| /' conftest.
$ac_ext >&5
20348 ac_header_compiler
=no
20350 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20351 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
20352 echo "${ECHO_T}$ac_header_compiler" >&6
20354 # Is the header present?
20355 echo "$as_me:$LINENO: checking png.h presence" >&5
20356 echo $ECHO_N "checking png.h presence... $ECHO_C" >&6
20357 cat >conftest.
$ac_ext <<_ACEOF
20360 cat confdefs.h
>>conftest.
$ac_ext
20361 cat >>conftest.
$ac_ext <<_ACEOF
20362 /* end confdefs.h. */
20365 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
20366 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
20368 grep -v '^ *+' conftest.er1
>conftest.err
20370 cat conftest.err
>&5
20371 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20372 (exit $ac_status); } >/dev
/null
; then
20373 if test -s conftest.err
; then
20374 ac_cpp_err
=$ac_c_preproc_warn_flag
20375 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
20382 if test -z "$ac_cpp_err"; then
20383 ac_header_preproc
=yes
20385 echo "$as_me: failed program was:" >&5
20386 sed 's/^/| /' conftest.
$ac_ext >&5
20388 ac_header_preproc
=no
20390 rm -f conftest.err conftest.
$ac_ext
20391 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
20392 echo "${ECHO_T}$ac_header_preproc" >&6
20394 # So? What about this header?
20395 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
20397 { echo "$as_me:$LINENO: WARNING: png.h: accepted by the compiler, rejected by the preprocessor!" >&5
20398 echo "$as_me: WARNING: png.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
20399 { echo "$as_me:$LINENO: WARNING: png.h: proceeding with the compiler's result" >&5
20400 echo "$as_me: WARNING: png.h: proceeding with the compiler's result" >&2;}
20401 ac_header_preproc
=yes
20404 { echo "$as_me:$LINENO: WARNING: png.h: present but cannot be compiled" >&5
20405 echo "$as_me: WARNING: png.h: present but cannot be compiled" >&2;}
20406 { echo "$as_me:$LINENO: WARNING: png.h: check for missing prerequisite headers?" >&5
20407 echo "$as_me: WARNING: png.h: check for missing prerequisite headers?" >&2;}
20408 { echo "$as_me:$LINENO: WARNING: png.h: see the Autoconf documentation" >&5
20409 echo "$as_me: WARNING: png.h: see the Autoconf documentation" >&2;}
20410 { echo "$as_me:$LINENO: WARNING: png.h: section \"Present But Cannot Be Compiled\"" >&5
20411 echo "$as_me: WARNING: png.h: section \"Present But Cannot Be Compiled\"" >&2;}
20412 { echo "$as_me:$LINENO: WARNING: png.h: proceeding with the preprocessor's result" >&5
20413 echo "$as_me: WARNING: png.h: proceeding with the preprocessor's result" >&2;}
20414 { echo "$as_me:$LINENO: WARNING: png.h: in the future, the compiler will take precedence" >&5
20415 echo "$as_me: WARNING: png.h: in the future, the compiler will take precedence" >&2;}
20418 ## ----------------------------------------- ##
20419 ## Report this to wx-dev@lists.wxwindows.org ##
20420 ## ----------------------------------------- ##
20423 sed "s/^/$as_me: WARNING: /" >&2
20426 echo "$as_me:$LINENO: checking for png.h" >&5
20427 echo $ECHO_N "checking for png.h... $ECHO_C" >&6
20428 if test "${ac_cv_header_png_h+set}" = set; then
20429 echo $ECHO_N "(cached) $ECHO_C" >&6
20431 ac_cv_header_png_h
=$ac_header_preproc
20433 echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
20434 echo "${ECHO_T}$ac_cv_header_png_h" >&6
20440 if test "$ac_cv_header_png_h" = "yes"; then
20441 echo "$as_me:$LINENO: checking for png_check_sig in -lpng" >&5
20442 echo $ECHO_N "checking for png_check_sig in -lpng... $ECHO_C" >&6
20443 if test "${ac_cv_lib_png_png_check_sig+set}" = set; then
20444 echo $ECHO_N "(cached) $ECHO_C" >&6
20446 ac_check_lib_save_LIBS
=$LIBS
20447 LIBS
="-lpng -lz -lm $LIBS"
20448 cat >conftest.
$ac_ext <<_ACEOF
20451 cat confdefs.h
>>conftest.
$ac_ext
20452 cat >>conftest.
$ac_ext <<_ACEOF
20453 /* end confdefs.h. */
20455 /* Override any gcc2 internal prototype to avoid an error. */
20459 /* We use char because int might match the return type of a gcc2
20460 builtin and then its argument prototype would still apply. */
20461 char png_check_sig ();
20470 rm -f conftest.
$ac_objext conftest
$ac_exeext
20471 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20472 (eval $ac_link) 2>conftest.er1
20474 grep -v '^ *+' conftest.er1
>conftest.err
20476 cat conftest.err
>&5
20477 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20478 (exit $ac_status); } &&
20479 { ac_try
='test -z "$ac_c_werror_flag"
20480 || test ! -s conftest.err'
20481 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20482 (eval $ac_try) 2>&5
20484 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20485 (exit $ac_status); }; } &&
20486 { ac_try
='test -s conftest$ac_exeext'
20487 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20488 (eval $ac_try) 2>&5
20490 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20491 (exit $ac_status); }; }; then
20492 ac_cv_lib_png_png_check_sig
=yes
20494 echo "$as_me: failed program was:" >&5
20495 sed 's/^/| /' conftest.
$ac_ext >&5
20497 ac_cv_lib_png_png_check_sig
=no
20499 rm -f conftest.err conftest.
$ac_objext \
20500 conftest
$ac_exeext conftest.
$ac_ext
20501 LIBS
=$ac_check_lib_save_LIBS
20503 echo "$as_me:$LINENO: result: $ac_cv_lib_png_png_check_sig" >&5
20504 echo "${ECHO_T}$ac_cv_lib_png_png_check_sig" >&6
20505 if test $ac_cv_lib_png_png_check_sig = yes; then
20511 if test "x$PNG_LINK" = "x" ; then
20512 if test "$wxUSE_LIBPNG" = "sys" ; then
20513 { { echo "$as_me:$LINENO: error: system png library not found or too old! Use --with-libpng=builtin to use built-in version" >&5
20514 echo "$as_me: error: system png library not found or too old! Use --with-libpng=builtin to use built-in version" >&2;}
20515 { (exit 1); exit 1; }; }
20517 { echo "$as_me:$LINENO: WARNING: system png library not found or too old, will use built-in instead" >&5
20518 echo "$as_me: WARNING: system png library not found or too old, will use built-in instead" >&2;}
20519 wxUSE_LIBPNG
=builtin
20527 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS png"
20532 if test "$wxUSE_LIBJPEG" != "no" ; then
20533 cat >>confdefs.h
<<\_ACEOF
20534 #define wxUSE_LIBJPEG 1
20538 if test "$wxUSE_MGL" = 1 -a "$wxUSE_LIBJPEG" = "builtin" ; then
20539 { echo "$as_me:$LINENO: WARNING: wxMGL doesn't work with builtin jpeg library, will use MGL one instead" >&5
20540 echo "$as_me: WARNING: wxMGL doesn't work with builtin jpeg library, will use MGL one instead" >&2;}
20544 if test "$wxUSE_MGL" != 1 ; then
20545 if test "$wxUSE_LIBJPEG" = "sys" -o "$wxUSE_LIBJPEG" = "yes" ; then
20546 echo "$as_me:$LINENO: checking for jpeglib.h" >&5
20547 echo $ECHO_N "checking for jpeglib.h... $ECHO_C" >&6
20548 if test "${ac_cv_header_jpeglib_h+set}" = set; then
20549 echo $ECHO_N "(cached) $ECHO_C" >&6
20551 cat >conftest.
$ac_ext <<_ACEOF
20554 cat confdefs.h
>>conftest.
$ac_ext
20555 cat >>conftest.
$ac_ext <<_ACEOF
20556 /* end confdefs.h. */
20558 #undef HAVE_STDLIB_H
20560 #include <jpeglib.h>
20571 rm -f conftest.
$ac_objext
20572 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20573 (eval $ac_compile) 2>conftest.er1
20575 grep -v '^ *+' conftest.er1
>conftest.err
20577 cat conftest.err
>&5
20578 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20579 (exit $ac_status); } &&
20580 { ac_try
='test -z "$ac_c_werror_flag"
20581 || test ! -s conftest.err'
20582 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20583 (eval $ac_try) 2>&5
20585 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20586 (exit $ac_status); }; } &&
20587 { ac_try
='test -s conftest.$ac_objext'
20588 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20589 (eval $ac_try) 2>&5
20591 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20592 (exit $ac_status); }; }; then
20593 ac_cv_header_jpeglib_h
=yes
20595 echo "$as_me: failed program was:" >&5
20596 sed 's/^/| /' conftest.
$ac_ext >&5
20598 ac_cv_header_jpeglib_h
=no
20601 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20605 echo "$as_me:$LINENO: result: $ac_cv_header_jpeglib_h" >&5
20606 echo "${ECHO_T}$ac_cv_header_jpeglib_h" >&6
20608 if test "$ac_cv_header_jpeglib_h" = "yes"; then
20609 echo "$as_me:$LINENO: checking for jpeg_read_header in -ljpeg" >&5
20610 echo $ECHO_N "checking for jpeg_read_header in -ljpeg... $ECHO_C" >&6
20611 if test "${ac_cv_lib_jpeg_jpeg_read_header+set}" = set; then
20612 echo $ECHO_N "(cached) $ECHO_C" >&6
20614 ac_check_lib_save_LIBS
=$LIBS
20615 LIBS
="-ljpeg $LIBS"
20616 cat >conftest.
$ac_ext <<_ACEOF
20619 cat confdefs.h
>>conftest.
$ac_ext
20620 cat >>conftest.
$ac_ext <<_ACEOF
20621 /* end confdefs.h. */
20623 /* Override any gcc2 internal prototype to avoid an error. */
20627 /* We use char because int might match the return type of a gcc2
20628 builtin and then its argument prototype would still apply. */
20629 char jpeg_read_header ();
20633 jpeg_read_header ();
20638 rm -f conftest.
$ac_objext conftest
$ac_exeext
20639 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20640 (eval $ac_link) 2>conftest.er1
20642 grep -v '^ *+' conftest.er1
>conftest.err
20644 cat conftest.err
>&5
20645 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20646 (exit $ac_status); } &&
20647 { ac_try
='test -z "$ac_c_werror_flag"
20648 || test ! -s conftest.err'
20649 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20650 (eval $ac_try) 2>&5
20652 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20653 (exit $ac_status); }; } &&
20654 { ac_try
='test -s conftest$ac_exeext'
20655 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20656 (eval $ac_try) 2>&5
20658 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20659 (exit $ac_status); }; }; then
20660 ac_cv_lib_jpeg_jpeg_read_header
=yes
20662 echo "$as_me: failed program was:" >&5
20663 sed 's/^/| /' conftest.
$ac_ext >&5
20665 ac_cv_lib_jpeg_jpeg_read_header
=no
20667 rm -f conftest.err conftest.
$ac_objext \
20668 conftest
$ac_exeext conftest.
$ac_ext
20669 LIBS
=$ac_check_lib_save_LIBS
20671 echo "$as_me:$LINENO: result: $ac_cv_lib_jpeg_jpeg_read_header" >&5
20672 echo "${ECHO_T}$ac_cv_lib_jpeg_jpeg_read_header" >&6
20673 if test $ac_cv_lib_jpeg_jpeg_read_header = yes; then
20674 JPEG_LINK
=" -ljpeg"
20679 if test "x$JPEG_LINK" = "x" ; then
20680 if test "$wxUSE_LIBJPEG" = "sys" ; then
20681 { { echo "$as_me:$LINENO: error: system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" >&5
20682 echo "$as_me: error: system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" >&2;}
20683 { (exit 1); exit 1; }; }
20685 { echo "$as_me:$LINENO: WARNING: system jpeg library not found, will use built-in instead" >&5
20686 echo "$as_me: WARNING: system jpeg library not found, will use built-in instead" >&2;}
20687 wxUSE_LIBJPEG
=builtin
20698 TIFF_PREREQ_LINKS
=-lm
20699 if test "$wxUSE_LIBTIFF" != "no" ; then
20700 cat >>confdefs.h
<<\_ACEOF
20701 #define wxUSE_LIBTIFF 1
20705 if test "$wxUSE_LIBTIFF" = "sys" -o "$wxUSE_LIBTIFF" = "yes" ; then
20706 if test "$wxUSE_LIBJPEG" = "sys"; then
20707 TIFF_PREREQ_LINKS
="$TIFF_PREREQ_LINKS $JPEG_LINK"
20709 if test "$wxUSE_ZLIB" = "sys"; then
20710 TIFF_PREREQ_LINKS
="$TIFF_PREREQ_LINKS $ZLIB_LINK"
20712 if test "${ac_cv_header_tiffio_h+set}" = set; then
20713 echo "$as_me:$LINENO: checking for tiffio.h" >&5
20714 echo $ECHO_N "checking for tiffio.h... $ECHO_C" >&6
20715 if test "${ac_cv_header_tiffio_h+set}" = set; then
20716 echo $ECHO_N "(cached) $ECHO_C" >&6
20718 echo "$as_me:$LINENO: result: $ac_cv_header_tiffio_h" >&5
20719 echo "${ECHO_T}$ac_cv_header_tiffio_h" >&6
20721 # Is the header compilable?
20722 echo "$as_me:$LINENO: checking tiffio.h usability" >&5
20723 echo $ECHO_N "checking tiffio.h usability... $ECHO_C" >&6
20724 cat >conftest.
$ac_ext <<_ACEOF
20727 cat confdefs.h
>>conftest.
$ac_ext
20728 cat >>conftest.
$ac_ext <<_ACEOF
20729 /* end confdefs.h. */
20730 $ac_includes_default
20731 #include <tiffio.h>
20733 rm -f conftest.
$ac_objext
20734 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20735 (eval $ac_compile) 2>conftest.er1
20737 grep -v '^ *+' conftest.er1
>conftest.err
20739 cat conftest.err
>&5
20740 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20741 (exit $ac_status); } &&
20742 { ac_try
='test -z "$ac_c_werror_flag"
20743 || test ! -s conftest.err'
20744 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20745 (eval $ac_try) 2>&5
20747 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20748 (exit $ac_status); }; } &&
20749 { ac_try
='test -s conftest.$ac_objext'
20750 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20751 (eval $ac_try) 2>&5
20753 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20754 (exit $ac_status); }; }; then
20755 ac_header_compiler
=yes
20757 echo "$as_me: failed program was:" >&5
20758 sed 's/^/| /' conftest.
$ac_ext >&5
20760 ac_header_compiler
=no
20762 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20763 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
20764 echo "${ECHO_T}$ac_header_compiler" >&6
20766 # Is the header present?
20767 echo "$as_me:$LINENO: checking tiffio.h presence" >&5
20768 echo $ECHO_N "checking tiffio.h presence... $ECHO_C" >&6
20769 cat >conftest.
$ac_ext <<_ACEOF
20772 cat confdefs.h
>>conftest.
$ac_ext
20773 cat >>conftest.
$ac_ext <<_ACEOF
20774 /* end confdefs.h. */
20775 #include <tiffio.h>
20777 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
20778 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
20780 grep -v '^ *+' conftest.er1
>conftest.err
20782 cat conftest.err
>&5
20783 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20784 (exit $ac_status); } >/dev
/null
; then
20785 if test -s conftest.err
; then
20786 ac_cpp_err
=$ac_c_preproc_warn_flag
20787 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
20794 if test -z "$ac_cpp_err"; then
20795 ac_header_preproc
=yes
20797 echo "$as_me: failed program was:" >&5
20798 sed 's/^/| /' conftest.
$ac_ext >&5
20800 ac_header_preproc
=no
20802 rm -f conftest.err conftest.
$ac_ext
20803 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
20804 echo "${ECHO_T}$ac_header_preproc" >&6
20806 # So? What about this header?
20807 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
20809 { echo "$as_me:$LINENO: WARNING: tiffio.h: accepted by the compiler, rejected by the preprocessor!" >&5
20810 echo "$as_me: WARNING: tiffio.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
20811 { echo "$as_me:$LINENO: WARNING: tiffio.h: proceeding with the compiler's result" >&5
20812 echo "$as_me: WARNING: tiffio.h: proceeding with the compiler's result" >&2;}
20813 ac_header_preproc
=yes
20816 { echo "$as_me:$LINENO: WARNING: tiffio.h: present but cannot be compiled" >&5
20817 echo "$as_me: WARNING: tiffio.h: present but cannot be compiled" >&2;}
20818 { echo "$as_me:$LINENO: WARNING: tiffio.h: check for missing prerequisite headers?" >&5
20819 echo "$as_me: WARNING: tiffio.h: check for missing prerequisite headers?" >&2;}
20820 { echo "$as_me:$LINENO: WARNING: tiffio.h: see the Autoconf documentation" >&5
20821 echo "$as_me: WARNING: tiffio.h: see the Autoconf documentation" >&2;}
20822 { echo "$as_me:$LINENO: WARNING: tiffio.h: section \"Present But Cannot Be Compiled\"" >&5
20823 echo "$as_me: WARNING: tiffio.h: section \"Present But Cannot Be Compiled\"" >&2;}
20824 { echo "$as_me:$LINENO: WARNING: tiffio.h: proceeding with the preprocessor's result" >&5
20825 echo "$as_me: WARNING: tiffio.h: proceeding with the preprocessor's result" >&2;}
20826 { echo "$as_me:$LINENO: WARNING: tiffio.h: in the future, the compiler will take precedence" >&5
20827 echo "$as_me: WARNING: tiffio.h: in the future, the compiler will take precedence" >&2;}
20830 ## ----------------------------------------- ##
20831 ## Report this to wx-dev@lists.wxwindows.org ##
20832 ## ----------------------------------------- ##
20835 sed "s/^/$as_me: WARNING: /" >&2
20838 echo "$as_me:$LINENO: checking for tiffio.h" >&5
20839 echo $ECHO_N "checking for tiffio.h... $ECHO_C" >&6
20840 if test "${ac_cv_header_tiffio_h+set}" = set; then
20841 echo $ECHO_N "(cached) $ECHO_C" >&6
20843 ac_cv_header_tiffio_h
=$ac_header_preproc
20845 echo "$as_me:$LINENO: result: $ac_cv_header_tiffio_h" >&5
20846 echo "${ECHO_T}$ac_cv_header_tiffio_h" >&6
20849 if test $ac_cv_header_tiffio_h = yes; then
20851 echo "$as_me:$LINENO: checking for TIFFError in -ltiff" >&5
20852 echo $ECHO_N "checking for TIFFError in -ltiff... $ECHO_C" >&6
20853 if test "${ac_cv_lib_tiff_TIFFError+set}" = set; then
20854 echo $ECHO_N "(cached) $ECHO_C" >&6
20856 ac_check_lib_save_LIBS
=$LIBS
20857 LIBS
="-ltiff $TIFF_PREREQ_LINKS $LIBS"
20858 cat >conftest.
$ac_ext <<_ACEOF
20861 cat confdefs.h
>>conftest.
$ac_ext
20862 cat >>conftest.
$ac_ext <<_ACEOF
20863 /* end confdefs.h. */
20865 /* Override any gcc2 internal prototype to avoid an error. */
20869 /* We use char because int might match the return type of a gcc2
20870 builtin and then its argument prototype would still apply. */
20880 rm -f conftest.
$ac_objext conftest
$ac_exeext
20881 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20882 (eval $ac_link) 2>conftest.er1
20884 grep -v '^ *+' conftest.er1
>conftest.err
20886 cat conftest.err
>&5
20887 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20888 (exit $ac_status); } &&
20889 { ac_try
='test -z "$ac_c_werror_flag"
20890 || test ! -s conftest.err'
20891 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20892 (eval $ac_try) 2>&5
20894 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20895 (exit $ac_status); }; } &&
20896 { ac_try
='test -s conftest$ac_exeext'
20897 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20898 (eval $ac_try) 2>&5
20900 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20901 (exit $ac_status); }; }; then
20902 ac_cv_lib_tiff_TIFFError
=yes
20904 echo "$as_me: failed program was:" >&5
20905 sed 's/^/| /' conftest.
$ac_ext >&5
20907 ac_cv_lib_tiff_TIFFError
=no
20909 rm -f conftest.err conftest.
$ac_objext \
20910 conftest
$ac_exeext conftest.
$ac_ext
20911 LIBS
=$ac_check_lib_save_LIBS
20913 echo "$as_me:$LINENO: result: $ac_cv_lib_tiff_TIFFError" >&5
20914 echo "${ECHO_T}$ac_cv_lib_tiff_TIFFError" >&6
20915 if test $ac_cv_lib_tiff_TIFFError = yes; then
20916 TIFF_LINK
=" -ltiff"
20925 if test "x$TIFF_LINK" = "x" ; then
20926 if test "$wxUSE_LIBTIFF" = "sys" ; then
20927 { { echo "$as_me:$LINENO: error: system tiff library not found! Use --with-libtiff=builtin to use built-in version" >&5
20928 echo "$as_me: error: system tiff library not found! Use --with-libtiff=builtin to use built-in version" >&2;}
20929 { (exit 1); exit 1; }; }
20931 { echo "$as_me:$LINENO: WARNING: system tiff library not found, will use built-in instead" >&5
20932 echo "$as_me: WARNING: system tiff library not found, will use built-in instead" >&2;}
20933 wxUSE_LIBTIFF
=builtin
20942 if test "$wxUSE_EXPAT" != "no"; then
20944 cat >>confdefs.h
<<\_ACEOF
20945 #define wxUSE_EXPAT 1
20948 cat >>confdefs.h
<<\_ACEOF
20949 #define wxUSE_XML 1
20953 if test "$wxUSE_EXPAT" = "sys" -o "$wxUSE_EXPAT" = "yes" ; then
20954 if test "${ac_cv_header_expat_h+set}" = set; then
20955 echo "$as_me:$LINENO: checking for expat.h" >&5
20956 echo $ECHO_N "checking for expat.h... $ECHO_C" >&6
20957 if test "${ac_cv_header_expat_h+set}" = set; then
20958 echo $ECHO_N "(cached) $ECHO_C" >&6
20960 echo "$as_me:$LINENO: result: $ac_cv_header_expat_h" >&5
20961 echo "${ECHO_T}$ac_cv_header_expat_h" >&6
20963 # Is the header compilable?
20964 echo "$as_me:$LINENO: checking expat.h usability" >&5
20965 echo $ECHO_N "checking expat.h usability... $ECHO_C" >&6
20966 cat >conftest.
$ac_ext <<_ACEOF
20969 cat confdefs.h
>>conftest.
$ac_ext
20970 cat >>conftest.
$ac_ext <<_ACEOF
20971 /* end confdefs.h. */
20972 $ac_includes_default
20975 rm -f conftest.
$ac_objext
20976 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20977 (eval $ac_compile) 2>conftest.er1
20979 grep -v '^ *+' conftest.er1
>conftest.err
20981 cat conftest.err
>&5
20982 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20983 (exit $ac_status); } &&
20984 { ac_try
='test -z "$ac_c_werror_flag"
20985 || test ! -s conftest.err'
20986 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20987 (eval $ac_try) 2>&5
20989 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20990 (exit $ac_status); }; } &&
20991 { ac_try
='test -s conftest.$ac_objext'
20992 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20993 (eval $ac_try) 2>&5
20995 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20996 (exit $ac_status); }; }; then
20997 ac_header_compiler
=yes
20999 echo "$as_me: failed program was:" >&5
21000 sed 's/^/| /' conftest.
$ac_ext >&5
21002 ac_header_compiler
=no
21004 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21005 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
21006 echo "${ECHO_T}$ac_header_compiler" >&6
21008 # Is the header present?
21009 echo "$as_me:$LINENO: checking expat.h presence" >&5
21010 echo $ECHO_N "checking expat.h presence... $ECHO_C" >&6
21011 cat >conftest.
$ac_ext <<_ACEOF
21014 cat confdefs.h
>>conftest.
$ac_ext
21015 cat >>conftest.
$ac_ext <<_ACEOF
21016 /* end confdefs.h. */
21019 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
21020 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
21022 grep -v '^ *+' conftest.er1
>conftest.err
21024 cat conftest.err
>&5
21025 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21026 (exit $ac_status); } >/dev
/null
; then
21027 if test -s conftest.err
; then
21028 ac_cpp_err
=$ac_c_preproc_warn_flag
21029 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
21036 if test -z "$ac_cpp_err"; then
21037 ac_header_preproc
=yes
21039 echo "$as_me: failed program was:" >&5
21040 sed 's/^/| /' conftest.
$ac_ext >&5
21042 ac_header_preproc
=no
21044 rm -f conftest.err conftest.
$ac_ext
21045 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
21046 echo "${ECHO_T}$ac_header_preproc" >&6
21048 # So? What about this header?
21049 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
21051 { echo "$as_me:$LINENO: WARNING: expat.h: accepted by the compiler, rejected by the preprocessor!" >&5
21052 echo "$as_me: WARNING: expat.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
21053 { echo "$as_me:$LINENO: WARNING: expat.h: proceeding with the compiler's result" >&5
21054 echo "$as_me: WARNING: expat.h: proceeding with the compiler's result" >&2;}
21055 ac_header_preproc
=yes
21058 { echo "$as_me:$LINENO: WARNING: expat.h: present but cannot be compiled" >&5
21059 echo "$as_me: WARNING: expat.h: present but cannot be compiled" >&2;}
21060 { echo "$as_me:$LINENO: WARNING: expat.h: check for missing prerequisite headers?" >&5
21061 echo "$as_me: WARNING: expat.h: check for missing prerequisite headers?" >&2;}
21062 { echo "$as_me:$LINENO: WARNING: expat.h: see the Autoconf documentation" >&5
21063 echo "$as_me: WARNING: expat.h: see the Autoconf documentation" >&2;}
21064 { echo "$as_me:$LINENO: WARNING: expat.h: section \"Present But Cannot Be Compiled\"" >&5
21065 echo "$as_me: WARNING: expat.h: section \"Present But Cannot Be Compiled\"" >&2;}
21066 { echo "$as_me:$LINENO: WARNING: expat.h: proceeding with the preprocessor's result" >&5
21067 echo "$as_me: WARNING: expat.h: proceeding with the preprocessor's result" >&2;}
21068 { echo "$as_me:$LINENO: WARNING: expat.h: in the future, the compiler will take precedence" >&5
21069 echo "$as_me: WARNING: expat.h: in the future, the compiler will take precedence" >&2;}
21072 ## ----------------------------------------- ##
21073 ## Report this to wx-dev@lists.wxwindows.org ##
21074 ## ----------------------------------------- ##
21077 sed "s/^/$as_me: WARNING: /" >&2
21080 echo "$as_me:$LINENO: checking for expat.h" >&5
21081 echo $ECHO_N "checking for expat.h... $ECHO_C" >&6
21082 if test "${ac_cv_header_expat_h+set}" = set; then
21083 echo $ECHO_N "(cached) $ECHO_C" >&6
21085 ac_cv_header_expat_h
=$ac_header_preproc
21087 echo "$as_me:$LINENO: result: $ac_cv_header_expat_h" >&5
21088 echo "${ECHO_T}$ac_cv_header_expat_h" >&6
21091 if test $ac_cv_header_expat_h = yes; then
21096 if test "x$found_expat_h" = "x1"; then
21097 echo "$as_me:$LINENO: checking if expat.h is valid C++ header" >&5
21098 echo $ECHO_N "checking if expat.h is valid C++ header... $ECHO_C" >&6
21099 if test "${wx_cv_expat_is_not_broken+set}" = set; then
21100 echo $ECHO_N "(cached) $ECHO_C" >&6
21106 ac_cpp
='$CXXCPP $CPPFLAGS'
21107 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21108 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21109 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
21111 cat >conftest.
$ac_ext <<_ACEOF
21114 cat confdefs.h
>>conftest.
$ac_ext
21115 cat >>conftest.
$ac_ext <<_ACEOF
21116 /* end confdefs.h. */
21126 rm -f conftest.
$ac_objext
21127 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21128 (eval $ac_compile) 2>conftest.er1
21130 grep -v '^ *+' conftest.er1
>conftest.err
21132 cat conftest.err
>&5
21133 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21134 (exit $ac_status); } &&
21135 { ac_try
='test -z "$ac_cxx_werror_flag"
21136 || test ! -s conftest.err'
21137 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21138 (eval $ac_try) 2>&5
21140 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21141 (exit $ac_status); }; } &&
21142 { ac_try
='test -s conftest.$ac_objext'
21143 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21144 (eval $ac_try) 2>&5
21146 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21147 (exit $ac_status); }; }; then
21148 wx_cv_expat_is_not_broken
=yes
21150 echo "$as_me: failed program was:" >&5
21151 sed 's/^/| /' conftest.
$ac_ext >&5
21153 wx_cv_expat_is_not_broken
=no
21156 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21158 ac_cpp
='$CPP $CPPFLAGS'
21159 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21160 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21161 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
21166 echo "$as_me:$LINENO: result: $wx_cv_expat_is_not_broken" >&5
21167 echo "${ECHO_T}$wx_cv_expat_is_not_broken" >&6
21168 if test "$wx_cv_expat_is_not_broken" = "yes" ; then
21169 echo "$as_me:$LINENO: checking for XML_ParserCreate in -lexpat" >&5
21170 echo $ECHO_N "checking for XML_ParserCreate in -lexpat... $ECHO_C" >&6
21171 if test "${ac_cv_lib_expat_XML_ParserCreate+set}" = set; then
21172 echo $ECHO_N "(cached) $ECHO_C" >&6
21174 ac_check_lib_save_LIBS
=$LIBS
21175 LIBS
="-lexpat $LIBS"
21176 cat >conftest.
$ac_ext <<_ACEOF
21179 cat confdefs.h
>>conftest.
$ac_ext
21180 cat >>conftest.
$ac_ext <<_ACEOF
21181 /* end confdefs.h. */
21183 /* Override any gcc2 internal prototype to avoid an error. */
21187 /* We use char because int might match the return type of a gcc2
21188 builtin and then its argument prototype would still apply. */
21189 char XML_ParserCreate ();
21193 XML_ParserCreate ();
21198 rm -f conftest.
$ac_objext conftest
$ac_exeext
21199 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21200 (eval $ac_link) 2>conftest.er1
21202 grep -v '^ *+' conftest.er1
>conftest.err
21204 cat conftest.err
>&5
21205 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21206 (exit $ac_status); } &&
21207 { ac_try
='test -z "$ac_c_werror_flag"
21208 || test ! -s conftest.err'
21209 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21210 (eval $ac_try) 2>&5
21212 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21213 (exit $ac_status); }; } &&
21214 { ac_try
='test -s conftest$ac_exeext'
21215 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21216 (eval $ac_try) 2>&5
21218 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21219 (exit $ac_status); }; }; then
21220 ac_cv_lib_expat_XML_ParserCreate
=yes
21222 echo "$as_me: failed program was:" >&5
21223 sed 's/^/| /' conftest.
$ac_ext >&5
21225 ac_cv_lib_expat_XML_ParserCreate
=no
21227 rm -f conftest.err conftest.
$ac_objext \
21228 conftest
$ac_exeext conftest.
$ac_ext
21229 LIBS
=$ac_check_lib_save_LIBS
21231 echo "$as_me:$LINENO: result: $ac_cv_lib_expat_XML_ParserCreate" >&5
21232 echo "${ECHO_T}$ac_cv_lib_expat_XML_ParserCreate" >&6
21233 if test $ac_cv_lib_expat_XML_ParserCreate = yes; then
21234 EXPAT_LINK
=" -lexpat"
21239 if test "x$EXPAT_LINK" = "x" ; then
21240 if test "$wxUSE_EXPAT" = "sys" ; then
21241 { { echo "$as_me:$LINENO: error: system expat library not found! Use --with-expat=builtin to use built-in version" >&5
21242 echo "$as_me: error: system expat library not found! Use --with-expat=builtin to use built-in version" >&2;}
21243 { (exit 1); exit 1; }; }
21245 { echo "$as_me:$LINENO: WARNING: system expat library not found, will use built-in instead" >&5
21246 echo "$as_me: WARNING: system expat library not found, will use built-in instead" >&2;}
21247 wxUSE_EXPAT
=builtin
21253 if test "$wxUSE_EXPAT" = "builtin" ; then
21256 subdirs
="$subdirs src/expat"
21263 if test "$wxUSE_LIBMSPACK" != "no"; then
21265 if test "${ac_cv_header_mspack_h+set}" = set; then
21266 echo "$as_me:$LINENO: checking for mspack.h" >&5
21267 echo $ECHO_N "checking for mspack.h... $ECHO_C" >&6
21268 if test "${ac_cv_header_mspack_h+set}" = set; then
21269 echo $ECHO_N "(cached) $ECHO_C" >&6
21271 echo "$as_me:$LINENO: result: $ac_cv_header_mspack_h" >&5
21272 echo "${ECHO_T}$ac_cv_header_mspack_h" >&6
21274 # Is the header compilable?
21275 echo "$as_me:$LINENO: checking mspack.h usability" >&5
21276 echo $ECHO_N "checking mspack.h usability... $ECHO_C" >&6
21277 cat >conftest.
$ac_ext <<_ACEOF
21280 cat confdefs.h
>>conftest.
$ac_ext
21281 cat >>conftest.
$ac_ext <<_ACEOF
21282 /* end confdefs.h. */
21283 $ac_includes_default
21284 #include <mspack.h>
21286 rm -f conftest.
$ac_objext
21287 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21288 (eval $ac_compile) 2>conftest.er1
21290 grep -v '^ *+' conftest.er1
>conftest.err
21292 cat conftest.err
>&5
21293 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21294 (exit $ac_status); } &&
21295 { ac_try
='test -z "$ac_c_werror_flag"
21296 || test ! -s conftest.err'
21297 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21298 (eval $ac_try) 2>&5
21300 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21301 (exit $ac_status); }; } &&
21302 { ac_try
='test -s conftest.$ac_objext'
21303 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21304 (eval $ac_try) 2>&5
21306 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21307 (exit $ac_status); }; }; then
21308 ac_header_compiler
=yes
21310 echo "$as_me: failed program was:" >&5
21311 sed 's/^/| /' conftest.
$ac_ext >&5
21313 ac_header_compiler
=no
21315 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21316 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
21317 echo "${ECHO_T}$ac_header_compiler" >&6
21319 # Is the header present?
21320 echo "$as_me:$LINENO: checking mspack.h presence" >&5
21321 echo $ECHO_N "checking mspack.h presence... $ECHO_C" >&6
21322 cat >conftest.
$ac_ext <<_ACEOF
21325 cat confdefs.h
>>conftest.
$ac_ext
21326 cat >>conftest.
$ac_ext <<_ACEOF
21327 /* end confdefs.h. */
21328 #include <mspack.h>
21330 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
21331 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
21333 grep -v '^ *+' conftest.er1
>conftest.err
21335 cat conftest.err
>&5
21336 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21337 (exit $ac_status); } >/dev
/null
; then
21338 if test -s conftest.err
; then
21339 ac_cpp_err
=$ac_c_preproc_warn_flag
21340 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
21347 if test -z "$ac_cpp_err"; then
21348 ac_header_preproc
=yes
21350 echo "$as_me: failed program was:" >&5
21351 sed 's/^/| /' conftest.
$ac_ext >&5
21353 ac_header_preproc
=no
21355 rm -f conftest.err conftest.
$ac_ext
21356 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
21357 echo "${ECHO_T}$ac_header_preproc" >&6
21359 # So? What about this header?
21360 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
21362 { echo "$as_me:$LINENO: WARNING: mspack.h: accepted by the compiler, rejected by the preprocessor!" >&5
21363 echo "$as_me: WARNING: mspack.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
21364 { echo "$as_me:$LINENO: WARNING: mspack.h: proceeding with the compiler's result" >&5
21365 echo "$as_me: WARNING: mspack.h: proceeding with the compiler's result" >&2;}
21366 ac_header_preproc
=yes
21369 { echo "$as_me:$LINENO: WARNING: mspack.h: present but cannot be compiled" >&5
21370 echo "$as_me: WARNING: mspack.h: present but cannot be compiled" >&2;}
21371 { echo "$as_me:$LINENO: WARNING: mspack.h: check for missing prerequisite headers?" >&5
21372 echo "$as_me: WARNING: mspack.h: check for missing prerequisite headers?" >&2;}
21373 { echo "$as_me:$LINENO: WARNING: mspack.h: see the Autoconf documentation" >&5
21374 echo "$as_me: WARNING: mspack.h: see the Autoconf documentation" >&2;}
21375 { echo "$as_me:$LINENO: WARNING: mspack.h: section \"Present But Cannot Be Compiled\"" >&5
21376 echo "$as_me: WARNING: mspack.h: section \"Present But Cannot Be Compiled\"" >&2;}
21377 { echo "$as_me:$LINENO: WARNING: mspack.h: proceeding with the preprocessor's result" >&5
21378 echo "$as_me: WARNING: mspack.h: proceeding with the preprocessor's result" >&2;}
21379 { echo "$as_me:$LINENO: WARNING: mspack.h: in the future, the compiler will take precedence" >&5
21380 echo "$as_me: WARNING: mspack.h: in the future, the compiler will take precedence" >&2;}
21383 ## ----------------------------------------- ##
21384 ## Report this to wx-dev@lists.wxwindows.org ##
21385 ## ----------------------------------------- ##
21388 sed "s/^/$as_me: WARNING: /" >&2
21391 echo "$as_me:$LINENO: checking for mspack.h" >&5
21392 echo $ECHO_N "checking for mspack.h... $ECHO_C" >&6
21393 if test "${ac_cv_header_mspack_h+set}" = set; then
21394 echo $ECHO_N "(cached) $ECHO_C" >&6
21396 ac_cv_header_mspack_h
=$ac_header_preproc
21398 echo "$as_me:$LINENO: result: $ac_cv_header_mspack_h" >&5
21399 echo "${ECHO_T}$ac_cv_header_mspack_h" >&6
21402 if test $ac_cv_header_mspack_h = yes; then
21407 if test "x$found_mspack_h" = "x1"; then
21408 echo "$as_me:$LINENO: checking for mspack_create_chm_decompressor in -lmspack" >&5
21409 echo $ECHO_N "checking for mspack_create_chm_decompressor in -lmspack... $ECHO_C" >&6
21410 if test "${ac_cv_lib_mspack_mspack_create_chm_decompressor+set}" = set; then
21411 echo $ECHO_N "(cached) $ECHO_C" >&6
21413 ac_check_lib_save_LIBS
=$LIBS
21414 LIBS
="-lmspack $LIBS"
21415 cat >conftest.
$ac_ext <<_ACEOF
21418 cat confdefs.h
>>conftest.
$ac_ext
21419 cat >>conftest.
$ac_ext <<_ACEOF
21420 /* end confdefs.h. */
21422 /* Override any gcc2 internal prototype to avoid an error. */
21426 /* We use char because int might match the return type of a gcc2
21427 builtin and then its argument prototype would still apply. */
21428 char mspack_create_chm_decompressor ();
21432 mspack_create_chm_decompressor ();
21437 rm -f conftest.
$ac_objext conftest
$ac_exeext
21438 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21439 (eval $ac_link) 2>conftest.er1
21441 grep -v '^ *+' conftest.er1
>conftest.err
21443 cat conftest.err
>&5
21444 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21445 (exit $ac_status); } &&
21446 { ac_try
='test -z "$ac_c_werror_flag"
21447 || test ! -s conftest.err'
21448 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21449 (eval $ac_try) 2>&5
21451 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21452 (exit $ac_status); }; } &&
21453 { ac_try
='test -s conftest$ac_exeext'
21454 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21455 (eval $ac_try) 2>&5
21457 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21458 (exit $ac_status); }; }; then
21459 ac_cv_lib_mspack_mspack_create_chm_decompressor
=yes
21461 echo "$as_me: failed program was:" >&5
21462 sed 's/^/| /' conftest.
$ac_ext >&5
21464 ac_cv_lib_mspack_mspack_create_chm_decompressor
=no
21466 rm -f conftest.err conftest.
$ac_objext \
21467 conftest
$ac_exeext conftest.
$ac_ext
21468 LIBS
=$ac_check_lib_save_LIBS
21470 echo "$as_me:$LINENO: result: $ac_cv_lib_mspack_mspack_create_chm_decompressor" >&5
21471 echo "${ECHO_T}$ac_cv_lib_mspack_mspack_create_chm_decompressor" >&6
21472 if test $ac_cv_lib_mspack_mspack_create_chm_decompressor = yes; then
21473 MSPACK_LINK
=" -lmspack"
21477 if test "x$MSPACK_LINK" = "x" ; then
21480 cat >>confdefs.h
<<\_ACEOF
21481 #define wxUSE_LIBMSPACK 1
21496 if test "$USE_WIN32" = 1 ; then
21498 for ac_header
in w32api.h
21500 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
21501 if eval "test \"\${$as_ac_Header+set}\" = set"; then
21502 echo "$as_me:$LINENO: checking for $ac_header" >&5
21503 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
21504 if eval "test \"\${$as_ac_Header+set}\" = set"; then
21505 echo $ECHO_N "(cached) $ECHO_C" >&6
21507 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
21508 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
21510 # Is the header compilable?
21511 echo "$as_me:$LINENO: checking $ac_header usability" >&5
21512 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
21513 cat >conftest.
$ac_ext <<_ACEOF
21516 cat confdefs.h
>>conftest.
$ac_ext
21517 cat >>conftest.
$ac_ext <<_ACEOF
21518 /* end confdefs.h. */
21519 $ac_includes_default
21520 #include <$ac_header>
21522 rm -f conftest.
$ac_objext
21523 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21524 (eval $ac_compile) 2>conftest.er1
21526 grep -v '^ *+' conftest.er1
>conftest.err
21528 cat conftest.err
>&5
21529 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21530 (exit $ac_status); } &&
21531 { ac_try
='test -z "$ac_c_werror_flag"
21532 || test ! -s conftest.err'
21533 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21534 (eval $ac_try) 2>&5
21536 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21537 (exit $ac_status); }; } &&
21538 { ac_try
='test -s conftest.$ac_objext'
21539 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21540 (eval $ac_try) 2>&5
21542 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21543 (exit $ac_status); }; }; then
21544 ac_header_compiler
=yes
21546 echo "$as_me: failed program was:" >&5
21547 sed 's/^/| /' conftest.
$ac_ext >&5
21549 ac_header_compiler
=no
21551 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21552 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
21553 echo "${ECHO_T}$ac_header_compiler" >&6
21555 # Is the header present?
21556 echo "$as_me:$LINENO: checking $ac_header presence" >&5
21557 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
21558 cat >conftest.
$ac_ext <<_ACEOF
21561 cat confdefs.h
>>conftest.
$ac_ext
21562 cat >>conftest.
$ac_ext <<_ACEOF
21563 /* end confdefs.h. */
21564 #include <$ac_header>
21566 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
21567 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
21569 grep -v '^ *+' conftest.er1
>conftest.err
21571 cat conftest.err
>&5
21572 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21573 (exit $ac_status); } >/dev
/null
; then
21574 if test -s conftest.err
; then
21575 ac_cpp_err
=$ac_c_preproc_warn_flag
21576 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
21583 if test -z "$ac_cpp_err"; then
21584 ac_header_preproc
=yes
21586 echo "$as_me: failed program was:" >&5
21587 sed 's/^/| /' conftest.
$ac_ext >&5
21589 ac_header_preproc
=no
21591 rm -f conftest.err conftest.
$ac_ext
21592 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
21593 echo "${ECHO_T}$ac_header_preproc" >&6
21595 # So? What about this header?
21596 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
21598 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
21599 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
21600 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
21601 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
21602 ac_header_preproc
=yes
21605 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
21606 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
21607 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
21608 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
21609 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
21610 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
21611 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
21612 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
21613 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
21614 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
21615 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
21616 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
21619 ## ----------------------------------------- ##
21620 ## Report this to wx-dev@lists.wxwindows.org ##
21621 ## ----------------------------------------- ##
21624 sed "s/^/$as_me: WARNING: /" >&2
21627 echo "$as_me:$LINENO: checking for $ac_header" >&5
21628 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
21629 if eval "test \"\${$as_ac_Header+set}\" = set"; then
21630 echo $ECHO_N "(cached) $ECHO_C" >&6
21632 eval "$as_ac_Header=\$ac_header_preproc"
21634 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
21635 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
21638 if test `eval echo '${'$as_ac_Header'}'` = yes; then
21639 cat >>confdefs.h
<<_ACEOF
21640 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
21647 if test "${ac_cv_header_windows_h+set}" = set; then
21648 echo "$as_me:$LINENO: checking for windows.h" >&5
21649 echo $ECHO_N "checking for windows.h... $ECHO_C" >&6
21650 if test "${ac_cv_header_windows_h+set}" = set; then
21651 echo $ECHO_N "(cached) $ECHO_C" >&6
21653 echo "$as_me:$LINENO: result: $ac_cv_header_windows_h" >&5
21654 echo "${ECHO_T}$ac_cv_header_windows_h" >&6
21656 # Is the header compilable?
21657 echo "$as_me:$LINENO: checking windows.h usability" >&5
21658 echo $ECHO_N "checking windows.h usability... $ECHO_C" >&6
21659 cat >conftest.
$ac_ext <<_ACEOF
21662 cat confdefs.h
>>conftest.
$ac_ext
21663 cat >>conftest.
$ac_ext <<_ACEOF
21664 /* end confdefs.h. */
21665 $ac_includes_default
21666 #include <windows.h>
21668 rm -f conftest.
$ac_objext
21669 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21670 (eval $ac_compile) 2>conftest.er1
21672 grep -v '^ *+' conftest.er1
>conftest.err
21674 cat conftest.err
>&5
21675 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21676 (exit $ac_status); } &&
21677 { ac_try
='test -z "$ac_c_werror_flag"
21678 || test ! -s conftest.err'
21679 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21680 (eval $ac_try) 2>&5
21682 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21683 (exit $ac_status); }; } &&
21684 { ac_try
='test -s conftest.$ac_objext'
21685 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21686 (eval $ac_try) 2>&5
21688 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21689 (exit $ac_status); }; }; then
21690 ac_header_compiler
=yes
21692 echo "$as_me: failed program was:" >&5
21693 sed 's/^/| /' conftest.
$ac_ext >&5
21695 ac_header_compiler
=no
21697 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21698 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
21699 echo "${ECHO_T}$ac_header_compiler" >&6
21701 # Is the header present?
21702 echo "$as_me:$LINENO: checking windows.h presence" >&5
21703 echo $ECHO_N "checking windows.h presence... $ECHO_C" >&6
21704 cat >conftest.
$ac_ext <<_ACEOF
21707 cat confdefs.h
>>conftest.
$ac_ext
21708 cat >>conftest.
$ac_ext <<_ACEOF
21709 /* end confdefs.h. */
21710 #include <windows.h>
21712 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
21713 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
21715 grep -v '^ *+' conftest.er1
>conftest.err
21717 cat conftest.err
>&5
21718 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21719 (exit $ac_status); } >/dev
/null
; then
21720 if test -s conftest.err
; then
21721 ac_cpp_err
=$ac_c_preproc_warn_flag
21722 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
21729 if test -z "$ac_cpp_err"; then
21730 ac_header_preproc
=yes
21732 echo "$as_me: failed program was:" >&5
21733 sed 's/^/| /' conftest.
$ac_ext >&5
21735 ac_header_preproc
=no
21737 rm -f conftest.err conftest.
$ac_ext
21738 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
21739 echo "${ECHO_T}$ac_header_preproc" >&6
21741 # So? What about this header?
21742 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
21744 { echo "$as_me:$LINENO: WARNING: windows.h: accepted by the compiler, rejected by the preprocessor!" >&5
21745 echo "$as_me: WARNING: windows.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
21746 { echo "$as_me:$LINENO: WARNING: windows.h: proceeding with the compiler's result" >&5
21747 echo "$as_me: WARNING: windows.h: proceeding with the compiler's result" >&2;}
21748 ac_header_preproc
=yes
21751 { echo "$as_me:$LINENO: WARNING: windows.h: present but cannot be compiled" >&5
21752 echo "$as_me: WARNING: windows.h: present but cannot be compiled" >&2;}
21753 { echo "$as_me:$LINENO: WARNING: windows.h: check for missing prerequisite headers?" >&5
21754 echo "$as_me: WARNING: windows.h: check for missing prerequisite headers?" >&2;}
21755 { echo "$as_me:$LINENO: WARNING: windows.h: see the Autoconf documentation" >&5
21756 echo "$as_me: WARNING: windows.h: see the Autoconf documentation" >&2;}
21757 { echo "$as_me:$LINENO: WARNING: windows.h: section \"Present But Cannot Be Compiled\"" >&5
21758 echo "$as_me: WARNING: windows.h: section \"Present But Cannot Be Compiled\"" >&2;}
21759 { echo "$as_me:$LINENO: WARNING: windows.h: proceeding with the preprocessor's result" >&5
21760 echo "$as_me: WARNING: windows.h: proceeding with the preprocessor's result" >&2;}
21761 { echo "$as_me:$LINENO: WARNING: windows.h: in the future, the compiler will take precedence" >&5
21762 echo "$as_me: WARNING: windows.h: in the future, the compiler will take precedence" >&2;}
21765 ## ----------------------------------------- ##
21766 ## Report this to wx-dev@lists.wxwindows.org ##
21767 ## ----------------------------------------- ##
21770 sed "s/^/$as_me: WARNING: /" >&2
21773 echo "$as_me:$LINENO: checking for windows.h" >&5
21774 echo $ECHO_N "checking for windows.h... $ECHO_C" >&6
21775 if test "${ac_cv_header_windows_h+set}" = set; then
21776 echo $ECHO_N "(cached) $ECHO_C" >&6
21778 ac_cv_header_windows_h
=$ac_header_preproc
21780 echo "$as_me:$LINENO: result: $ac_cv_header_windows_h" >&5
21781 echo "${ECHO_T}$ac_cv_header_windows_h" >&6
21784 if test $ac_cv_header_windows_h = yes; then
21788 { { echo "$as_me:$LINENO: error: please set CFLAGS to contain the location of windows.h" >&5
21789 echo "$as_me: error: please set CFLAGS to contain the location of windows.h" >&2;}
21790 { (exit 1); exit 1; }; }
21796 LIBS
="$LIBS -lwinspool -lwinmm -lshell32 -lcomctl32 -lcomdlg32 -lctl3d32 -ladvapi32 -lwsock32 -lgdi32"
21798 if test "$wxUSE_ACCESSIBILITY" = "yes" ; then
21799 LIBS
="$LIBS -loleacc"
21804 LIBS
="$LIBS -lkernel32 -luser32"
21805 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -D__WIN95__"
21808 if test "$wxUSE_ODBC" = "sys" ; then
21811 if test "$wxUSE_ODBC" = "yes" ; then
21812 LIBS
=" -lodbc32 -lole32 -loleaut32 $LIBS"
21813 cat >>confdefs.h
<<\_ACEOF
21814 #define wxUSE_ODBC 1
21819 RESFLAGS
="--include-dir \$(top_srcdir)/include --include-dir \$(top_srcdir)/\$(program_dir) --define __WIN32__ --define __WIN95__ --define __GNUWIN32__"
21820 RESPROGRAMOBJ
="\$(PROGRAM)_resources.o"
21822 WIN32INSTALL
=win32install
21825 if test "$wxUSE_GUI" = "yes"; then
21835 if test "$wxUSE_MSW" = 1 ; then
21841 WXCONFIG_LDFLAGS_GUI
="$LDFLAGS -Wl,--subsystem,windows -mwindows"
21845 if test "$wxUSE_GTK" = 1; then
21846 echo "$as_me:$LINENO: checking for GTK+ version" >&5
21847 echo $ECHO_N "checking for GTK+ version... $ECHO_C" >&6
21849 gtk_version_cached
=1
21850 if test "${wx_cv_lib_gtk+set}" = set; then
21851 echo $ECHO_N "(cached) $ECHO_C" >&6
21854 gtk_version_cached
=0
21855 echo "$as_me:$LINENO: result: " >&5
21856 echo "${ECHO_T}" >&6
21859 if test "$wxUSE_THREADS" = "yes"; then
21860 GTK_MODULES
=gthread
21864 if test "x$wxUSE_GTK2" = "xyes"; then
21865 # Check whether --enable-gtktest or --disable-gtktest was given.
21866 if test "${enable_gtktest+set}" = set; then
21867 enableval
="$enable_gtktest"
21873 pkg_config_args
=gtk
+-2.0
21874 for module
in .
$GTK_MODULES
21878 pkg_config_args
="$pkg_config_args gthread-2.0"
21885 # Extract the first word of "pkg-config", so it can be a program name with args.
21886 set dummy pkg
-config; ac_word
=$2
21887 echo "$as_me:$LINENO: checking for $ac_word" >&5
21888 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
21889 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
21890 echo $ECHO_N "(cached) $ECHO_C" >&6
21892 case $PKG_CONFIG in
21894 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
21897 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
21898 for as_dir
in $PATH
21901 test -z "$as_dir" && as_dir
=.
21902 for ac_exec_ext
in '' $ac_executable_extensions; do
21903 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
21904 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
21905 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
21911 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
21915 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
21917 if test -n "$PKG_CONFIG"; then
21918 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
21919 echo "${ECHO_T}$PKG_CONFIG" >&6
21921 echo "$as_me:$LINENO: result: no" >&5
21922 echo "${ECHO_T}no" >&6
21926 if test x
$PKG_CONFIG != xno
; then
21927 if pkg
-config --atleast-pkgconfig-version 0.7 ; then
21930 echo *** pkg
-config too old
; version
0.7 or better required.
21938 min_gtk_version
=2.0.0
21939 echo "$as_me:$LINENO: checking for GTK+ - version >= $min_gtk_version" >&5
21940 echo $ECHO_N "checking for GTK+ - version >= $min_gtk_version... $ECHO_C" >&6
21942 if test x
$PKG_CONFIG != xno
; then
21943 ## don't try to run the test against uninstalled libtool libs
21944 if $PKG_CONFIG --uninstalled $pkg_config_args; then
21945 echo "Will use uninstalled version of GTK+ found in PKG_CONFIG_PATH"
21949 if $PKG_CONFIG --atleast-version $min_gtk_version $pkg_config_args; then
21956 if test x
"$no_gtk" = x
; then
21957 GTK_CFLAGS
=`$PKG_CONFIG $pkg_config_args --cflags`
21958 GTK_LIBS
=`$PKG_CONFIG $pkg_config_args --libs`
21959 gtk_config_major_version
=`$PKG_CONFIG --modversion gtk+-2.0 | \
21960 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
21961 gtk_config_minor_version
=`$PKG_CONFIG --modversion gtk+-2.0 | \
21962 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
21963 gtk_config_micro_version
=`$PKG_CONFIG --modversion gtk+-2.0 | \
21964 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
21965 if test "x$enable_gtktest" = "xyes" ; then
21966 ac_save_CFLAGS
="$CFLAGS"
21967 ac_save_LIBS
="$LIBS"
21968 CFLAGS
="$CFLAGS $GTK_CFLAGS"
21969 LIBS
="$GTK_LIBS $LIBS"
21971 if test "$cross_compiling" = yes; then
21972 echo $ac_n "cross compiling; assumed OK... $ac_c"
21974 cat >conftest.
$ac_ext <<_ACEOF
21977 cat confdefs.h
>>conftest.
$ac_ext
21978 cat >>conftest.
$ac_ext <<_ACEOF
21979 /* end confdefs.h. */
21981 #include <gtk/gtk.h>
21983 #include <stdlib.h>
21988 int major, minor, micro;
21991 system ("touch conf.gtktest");
21993 /* HP/UX 9 (%@#!) writes to sscanf strings */
21994 tmp_version = g_strdup("$min_gtk_version");
21995 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
21996 printf("%s, bad version string\n", "$min_gtk_version");
22000 if ((gtk_major_version != $gtk_config_major_version) ||
22001 (gtk_minor_version != $gtk_config_minor_version) ||
22002 (gtk_micro_version != $gtk_config_micro_version))
22004 printf("\n*** 'pkg-config --modversion gtk+-2.0' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
22005 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
22006 gtk_major_version, gtk_minor_version, gtk_micro_version);
22007 printf ("*** was found! If pkg-config was correct, then it is best\n");
22008 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
22009 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
22010 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
22011 printf("*** required on your system.\n");
22012 printf("*** If pkg-config was wrong, set the environment variable PKG_CONFIG_PATH\n");
22013 printf("*** to point to the correct configuration files\n");
22015 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
22016 (gtk_minor_version != GTK_MINOR_VERSION) ||
22017 (gtk_micro_version != GTK_MICRO_VERSION))
22019 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
22020 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
22021 printf("*** library (version %d.%d.%d)\n",
22022 gtk_major_version, gtk_minor_version, gtk_micro_version);
22026 if ((gtk_major_version > major) ||
22027 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
22028 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
22034 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
22035 gtk_major_version, gtk_minor_version, gtk_micro_version);
22036 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
22037 major, minor, micro);
22038 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
22040 printf("*** If you have already installed a sufficiently new version, this error\n");
22041 printf("*** probably means that the wrong copy of the pkg-config shell script is\n");
22042 printf("*** being found. The easiest way to fix this is to remove the old version\n");
22043 printf("*** of GTK+, but you can also set the PKG_CONFIG environment to point to the\n");
22044 printf("*** correct copy of pkg-config. (In this case, you will have to\n");
22045 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
22046 printf("*** so that the correct libraries are found at run-time))\n");
22053 rm -f conftest
$ac_exeext
22054 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22055 (eval $ac_link) 2>&5
22057 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22058 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
22059 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22060 (eval $ac_try) 2>&5
22062 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22063 (exit $ac_status); }; }; then
22066 echo "$as_me: program exited with status $ac_status" >&5
22067 echo "$as_me: failed program was:" >&5
22068 sed 's/^/| /' conftest.
$ac_ext >&5
22070 ( exit $ac_status )
22073 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
22075 CFLAGS
="$ac_save_CFLAGS"
22076 LIBS
="$ac_save_LIBS"
22079 if test "x$no_gtk" = x
; then
22080 echo "$as_me:$LINENO: result: yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&5
22081 echo "${ECHO_T}yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&6
22084 echo "$as_me:$LINENO: result: no" >&5
22085 echo "${ECHO_T}no" >&6
22086 if test "$PKG_CONFIG" = "no" ; then
22087 echo "*** A new enough version of pkg-config was not found."
22088 echo "*** See http://pkgconfig.sourceforge.net"
22090 if test -f conf.gtktest
; then
22093 echo "*** Could not run GTK+ test program, checking why..."
22094 ac_save_CFLAGS
="$CFLAGS"
22095 ac_save_LIBS
="$LIBS"
22096 CFLAGS
="$CFLAGS $GTK_CFLAGS"
22097 LIBS
="$LIBS $GTK_LIBS"
22098 cat >conftest.
$ac_ext <<_ACEOF
22101 cat confdefs.h
>>conftest.
$ac_ext
22102 cat >>conftest.
$ac_ext <<_ACEOF
22103 /* end confdefs.h. */
22105 #include <gtk/gtk.h>
22111 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
22116 rm -f conftest.
$ac_objext conftest
$ac_exeext
22117 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22118 (eval $ac_link) 2>conftest.er1
22120 grep -v '^ *+' conftest.er1
>conftest.err
22122 cat conftest.err
>&5
22123 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22124 (exit $ac_status); } &&
22125 { ac_try
='test -z "$ac_c_werror_flag"
22126 || test ! -s conftest.err'
22127 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22128 (eval $ac_try) 2>&5
22130 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22131 (exit $ac_status); }; } &&
22132 { ac_try
='test -s conftest$ac_exeext'
22133 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22134 (eval $ac_try) 2>&5
22136 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22137 (exit $ac_status); }; }; then
22138 echo "*** The test program compiled, but did not run. This usually means"
22139 echo "*** that the run-time linker is not finding GTK+ or finding the wrong"
22140 echo "*** version of GTK+. If it is not finding GTK+, you'll need to set your"
22141 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
22142 echo "*** to the installed location Also, make sure you have run ldconfig if that"
22143 echo "*** is required on your system"
22145 echo "*** If you have an old version installed, it is best to remove it, although"
22146 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
22148 echo "$as_me: failed program was:" >&5
22149 sed 's/^/| /' conftest.
$ac_ext >&5
22151 echo "*** The test program failed to compile or link. See the file config.log for the"
22152 echo "*** exact error that occured. This usually means GTK+ is incorrectly installed."
22154 rm -f conftest.err conftest.
$ac_objext \
22155 conftest
$ac_exeext conftest.
$ac_ext
22156 CFLAGS
="$ac_save_CFLAGS"
22157 LIBS
="$ac_save_LIBS"
22170 # Check whether --with-gtk-prefix or --without-gtk-prefix was given.
22171 if test "${with_gtk_prefix+set}" = set; then
22172 withval
="$with_gtk_prefix"
22173 gtk_config_prefix
="$withval"
22175 gtk_config_prefix
=""
22178 # Check whether --with-gtk-exec-prefix or --without-gtk-exec-prefix was given.
22179 if test "${with_gtk_exec_prefix+set}" = set; then
22180 withval
="$with_gtk_exec_prefix"
22181 gtk_config_exec_prefix
="$withval"
22183 gtk_config_exec_prefix
=""
22185 # Check whether --enable-gtktest or --disable-gtktest was given.
22186 if test "${enable_gtktest+set}" = set; then
22187 enableval
="$enable_gtktest"
22193 for module
in .
$GTK_MODULES
22197 gtk_config_args
="$gtk_config_args gthread"
22202 if test x
$gtk_config_exec_prefix != x
; then
22203 gtk_config_args
="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
22204 if test x
${GTK_CONFIG+set} != xset
; then
22205 GTK_CONFIG
=$gtk_config_exec_prefix/bin
/gtk
-config
22208 if test x
$gtk_config_prefix != x
; then
22209 gtk_config_args
="$gtk_config_args --prefix=$gtk_config_prefix"
22210 if test x
${GTK_CONFIG+set} != xset
; then
22211 GTK_CONFIG
=$gtk_config_prefix/bin
/gtk
-config
22215 # Extract the first word of "gtk-config", so it can be a program name with args.
22216 set dummy gtk
-config; ac_word
=$2
22217 echo "$as_me:$LINENO: checking for $ac_word" >&5
22218 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
22219 if test "${ac_cv_path_GTK_CONFIG+set}" = set; then
22220 echo $ECHO_N "(cached) $ECHO_C" >&6
22222 case $GTK_CONFIG in
22224 ac_cv_path_GTK_CONFIG
="$GTK_CONFIG" # Let the user override the test with a path.
22227 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
22228 for as_dir
in $PATH
22231 test -z "$as_dir" && as_dir
=.
22232 for ac_exec_ext
in '' $ac_executable_extensions; do
22233 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
22234 ac_cv_path_GTK_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
22235 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
22241 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG
="no"
22245 GTK_CONFIG
=$ac_cv_path_GTK_CONFIG
22247 if test -n "$GTK_CONFIG"; then
22248 echo "$as_me:$LINENO: result: $GTK_CONFIG" >&5
22249 echo "${ECHO_T}$GTK_CONFIG" >&6
22251 echo "$as_me:$LINENO: result: no" >&5
22252 echo "${ECHO_T}no" >&6
22255 min_gtk_version
=1.2.7
22256 echo "$as_me:$LINENO: checking for GTK - version >= $min_gtk_version" >&5
22257 echo $ECHO_N "checking for GTK - version >= $min_gtk_version... $ECHO_C" >&6
22259 if test "$GTK_CONFIG" = "no" ; then
22262 GTK_CFLAGS
=`$GTK_CONFIG $gtk_config_args --cflags`
22263 GTK_LIBS
=`$GTK_CONFIG $gtk_config_args --libs`
22264 gtk_config_major_version
=`$GTK_CONFIG $gtk_config_args --version | \
22265 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
22266 gtk_config_minor_version
=`$GTK_CONFIG $gtk_config_args --version | \
22267 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
22268 gtk_config_micro_version
=`$GTK_CONFIG $gtk_config_args --version | \
22269 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
22270 if test "x$enable_gtktest" = "xyes" ; then
22271 ac_save_CFLAGS
="$CFLAGS"
22272 ac_save_LIBS
="$LIBS"
22273 CFLAGS
="$CFLAGS $GTK_CFLAGS"
22274 LIBS
="$GTK_LIBS $LIBS"
22276 if test "$cross_compiling" = yes; then
22277 echo $ac_n "cross compiling; assumed OK... $ac_c"
22279 cat >conftest.
$ac_ext <<_ACEOF
22282 cat confdefs.h
>>conftest.
$ac_ext
22283 cat >>conftest.
$ac_ext <<_ACEOF
22284 /* end confdefs.h. */
22286 #include <gtk/gtk.h>
22288 #include <stdlib.h>
22293 int major, minor, micro;
22296 system ("touch conf.gtktest");
22298 /* HP/UX 9 (%@#!) writes to sscanf strings */
22299 tmp_version = g_strdup("$min_gtk_version");
22300 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
22301 printf("%s, bad version string\n", "$min_gtk_version");
22305 if ((gtk_major_version != $gtk_config_major_version) ||
22306 (gtk_minor_version != $gtk_config_minor_version) ||
22307 (gtk_micro_version != $gtk_config_micro_version))
22309 printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
22310 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
22311 gtk_major_version, gtk_minor_version, gtk_micro_version);
22312 printf ("*** was found! If gtk-config was correct, then it is best\n");
22313 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
22314 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
22315 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
22316 printf("*** required on your system.\n");
22317 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
22318 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
22319 printf("*** before re-running configure\n");
22321 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
22322 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
22323 (gtk_minor_version != GTK_MINOR_VERSION) ||
22324 (gtk_micro_version != GTK_MICRO_VERSION))
22326 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
22327 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
22328 printf("*** library (version %d.%d.%d)\n",
22329 gtk_major_version, gtk_minor_version, gtk_micro_version);
22331 #endif /* defined (GTK_MAJOR_VERSION) ... */
22334 if ((gtk_major_version > major) ||
22335 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
22336 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
22342 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
22343 gtk_major_version, gtk_minor_version, gtk_micro_version);
22344 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
22345 major, minor, micro);
22346 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
22348 printf("*** If you have already installed a sufficiently new version, this error\n");
22349 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
22350 printf("*** being found. The easiest way to fix this is to remove the old version\n");
22351 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
22352 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
22353 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
22354 printf("*** so that the correct libraries are found at run-time))\n");
22361 rm -f conftest
$ac_exeext
22362 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22363 (eval $ac_link) 2>&5
22365 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22366 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
22367 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22368 (eval $ac_try) 2>&5
22370 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22371 (exit $ac_status); }; }; then
22374 echo "$as_me: program exited with status $ac_status" >&5
22375 echo "$as_me: failed program was:" >&5
22376 sed 's/^/| /' conftest.
$ac_ext >&5
22378 ( exit $ac_status )
22381 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
22383 CFLAGS
="$ac_save_CFLAGS"
22384 LIBS
="$ac_save_LIBS"
22387 if test "x$no_gtk" = x
; then
22388 echo "$as_me:$LINENO: result: yes" >&5
22389 echo "${ECHO_T}yes" >&6
22390 wx_cv_lib_gtk
=1.2.7
22392 echo "$as_me:$LINENO: result: no" >&5
22393 echo "${ECHO_T}no" >&6
22394 if test "$GTK_CONFIG" = "no" ; then
22395 echo "*** The gtk-config script installed by GTK could not be found"
22396 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
22397 echo "*** your path, or set the GTK_CONFIG environment variable to the"
22398 echo "*** full path to gtk-config."
22400 if test -f conf.gtktest
; then
22403 echo "*** Could not run GTK test program, checking why..."
22404 CFLAGS
="$CFLAGS $GTK_CFLAGS"
22405 LIBS
="$LIBS $GTK_LIBS"
22406 cat >conftest.
$ac_ext <<_ACEOF
22409 cat confdefs.h
>>conftest.
$ac_ext
22410 cat >>conftest.
$ac_ext <<_ACEOF
22411 /* end confdefs.h. */
22413 #include <gtk/gtk.h>
22419 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
22424 rm -f conftest.
$ac_objext conftest
$ac_exeext
22425 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22426 (eval $ac_link) 2>conftest.er1
22428 grep -v '^ *+' conftest.er1
>conftest.err
22430 cat conftest.err
>&5
22431 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22432 (exit $ac_status); } &&
22433 { ac_try
='test -z "$ac_c_werror_flag"
22434 || test ! -s conftest.err'
22435 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22436 (eval $ac_try) 2>&5
22438 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22439 (exit $ac_status); }; } &&
22440 { ac_try
='test -s conftest$ac_exeext'
22441 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22442 (eval $ac_try) 2>&5
22444 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22445 (exit $ac_status); }; }; then
22446 echo "*** The test program compiled, but did not run. This usually means"
22447 echo "*** that the run-time linker is not finding GTK or finding the wrong"
22448 echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
22449 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
22450 echo "*** to the installed location Also, make sure you have run ldconfig if that"
22451 echo "*** is required on your system"
22453 echo "*** If you have an old version installed, it is best to remove it, although"
22454 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
22456 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
22457 echo "*** came with the system with the command"
22459 echo "*** rpm --erase --nodeps gtk gtk-devel"
22461 echo "$as_me: failed program was:" >&5
22462 sed 's/^/| /' conftest.
$ac_ext >&5
22464 echo "*** The test program failed to compile or link. See the file config.log for the"
22465 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
22466 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
22467 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
22469 rm -f conftest.err conftest.
$ac_objext \
22470 conftest
$ac_exeext conftest.
$ac_ext
22471 CFLAGS
="$ac_save_CFLAGS"
22472 LIBS
="$ac_save_LIBS"
22484 if test -z "$wx_cv_lib_gtk"; then
22486 # Check whether --with-gtk-prefix or --without-gtk-prefix was given.
22487 if test "${with_gtk_prefix+set}" = set; then
22488 withval
="$with_gtk_prefix"
22489 gtk_config_prefix
="$withval"
22491 gtk_config_prefix
=""
22494 # Check whether --with-gtk-exec-prefix or --without-gtk-exec-prefix was given.
22495 if test "${with_gtk_exec_prefix+set}" = set; then
22496 withval
="$with_gtk_exec_prefix"
22497 gtk_config_exec_prefix
="$withval"
22499 gtk_config_exec_prefix
=""
22501 # Check whether --enable-gtktest or --disable-gtktest was given.
22502 if test "${enable_gtktest+set}" = set; then
22503 enableval
="$enable_gtktest"
22509 for module
in .
$GTK_MODULES
22513 gtk_config_args
="$gtk_config_args gthread"
22518 if test x
$gtk_config_exec_prefix != x
; then
22519 gtk_config_args
="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
22520 if test x
${GTK_CONFIG+set} != xset
; then
22521 GTK_CONFIG
=$gtk_config_exec_prefix/bin
/gtk
-config
22524 if test x
$gtk_config_prefix != x
; then
22525 gtk_config_args
="$gtk_config_args --prefix=$gtk_config_prefix"
22526 if test x
${GTK_CONFIG+set} != xset
; then
22527 GTK_CONFIG
=$gtk_config_prefix/bin
/gtk
-config
22531 # Extract the first word of "gtk-config", so it can be a program name with args.
22532 set dummy gtk
-config; ac_word
=$2
22533 echo "$as_me:$LINENO: checking for $ac_word" >&5
22534 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
22535 if test "${ac_cv_path_GTK_CONFIG+set}" = set; then
22536 echo $ECHO_N "(cached) $ECHO_C" >&6
22538 case $GTK_CONFIG in
22540 ac_cv_path_GTK_CONFIG
="$GTK_CONFIG" # Let the user override the test with a path.
22543 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
22544 for as_dir
in $PATH
22547 test -z "$as_dir" && as_dir
=.
22548 for ac_exec_ext
in '' $ac_executable_extensions; do
22549 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
22550 ac_cv_path_GTK_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
22551 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
22557 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG
="no"
22561 GTK_CONFIG
=$ac_cv_path_GTK_CONFIG
22563 if test -n "$GTK_CONFIG"; then
22564 echo "$as_me:$LINENO: result: $GTK_CONFIG" >&5
22565 echo "${ECHO_T}$GTK_CONFIG" >&6
22567 echo "$as_me:$LINENO: result: no" >&5
22568 echo "${ECHO_T}no" >&6
22571 min_gtk_version
=1.2.3
22572 echo "$as_me:$LINENO: checking for GTK - version >= $min_gtk_version" >&5
22573 echo $ECHO_N "checking for GTK - version >= $min_gtk_version... $ECHO_C" >&6
22575 if test "$GTK_CONFIG" = "no" ; then
22578 GTK_CFLAGS
=`$GTK_CONFIG $gtk_config_args --cflags`
22579 GTK_LIBS
=`$GTK_CONFIG $gtk_config_args --libs`
22580 gtk_config_major_version
=`$GTK_CONFIG $gtk_config_args --version | \
22581 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
22582 gtk_config_minor_version
=`$GTK_CONFIG $gtk_config_args --version | \
22583 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
22584 gtk_config_micro_version
=`$GTK_CONFIG $gtk_config_args --version | \
22585 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
22586 if test "x$enable_gtktest" = "xyes" ; then
22587 ac_save_CFLAGS
="$CFLAGS"
22588 ac_save_LIBS
="$LIBS"
22589 CFLAGS
="$CFLAGS $GTK_CFLAGS"
22590 LIBS
="$GTK_LIBS $LIBS"
22592 if test "$cross_compiling" = yes; then
22593 echo $ac_n "cross compiling; assumed OK... $ac_c"
22595 cat >conftest.
$ac_ext <<_ACEOF
22598 cat confdefs.h
>>conftest.
$ac_ext
22599 cat >>conftest.
$ac_ext <<_ACEOF
22600 /* end confdefs.h. */
22602 #include <gtk/gtk.h>
22604 #include <stdlib.h>
22609 int major, minor, micro;
22612 system ("touch conf.gtktest");
22614 /* HP/UX 9 (%@#!) writes to sscanf strings */
22615 tmp_version = g_strdup("$min_gtk_version");
22616 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
22617 printf("%s, bad version string\n", "$min_gtk_version");
22621 if ((gtk_major_version != $gtk_config_major_version) ||
22622 (gtk_minor_version != $gtk_config_minor_version) ||
22623 (gtk_micro_version != $gtk_config_micro_version))
22625 printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
22626 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
22627 gtk_major_version, gtk_minor_version, gtk_micro_version);
22628 printf ("*** was found! If gtk-config was correct, then it is best\n");
22629 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
22630 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
22631 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
22632 printf("*** required on your system.\n");
22633 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
22634 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
22635 printf("*** before re-running configure\n");
22637 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
22638 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
22639 (gtk_minor_version != GTK_MINOR_VERSION) ||
22640 (gtk_micro_version != GTK_MICRO_VERSION))
22642 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
22643 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
22644 printf("*** library (version %d.%d.%d)\n",
22645 gtk_major_version, gtk_minor_version, gtk_micro_version);
22647 #endif /* defined (GTK_MAJOR_VERSION) ... */
22650 if ((gtk_major_version > major) ||
22651 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
22652 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
22658 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
22659 gtk_major_version, gtk_minor_version, gtk_micro_version);
22660 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
22661 major, minor, micro);
22662 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
22664 printf("*** If you have already installed a sufficiently new version, this error\n");
22665 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
22666 printf("*** being found. The easiest way to fix this is to remove the old version\n");
22667 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
22668 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
22669 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
22670 printf("*** so that the correct libraries are found at run-time))\n");
22677 rm -f conftest
$ac_exeext
22678 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22679 (eval $ac_link) 2>&5
22681 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22682 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
22683 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22684 (eval $ac_try) 2>&5
22686 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22687 (exit $ac_status); }; }; then
22690 echo "$as_me: program exited with status $ac_status" >&5
22691 echo "$as_me: failed program was:" >&5
22692 sed 's/^/| /' conftest.
$ac_ext >&5
22694 ( exit $ac_status )
22697 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
22699 CFLAGS
="$ac_save_CFLAGS"
22700 LIBS
="$ac_save_LIBS"
22703 if test "x$no_gtk" = x
; then
22704 echo "$as_me:$LINENO: result: yes" >&5
22705 echo "${ECHO_T}yes" >&6
22706 wx_cv_lib_gtk
=1.2.3
22708 echo "$as_me:$LINENO: result: no" >&5
22709 echo "${ECHO_T}no" >&6
22710 if test "$GTK_CONFIG" = "no" ; then
22711 echo "*** The gtk-config script installed by GTK could not be found"
22712 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
22713 echo "*** your path, or set the GTK_CONFIG environment variable to the"
22714 echo "*** full path to gtk-config."
22716 if test -f conf.gtktest
; then
22719 echo "*** Could not run GTK test program, checking why..."
22720 CFLAGS
="$CFLAGS $GTK_CFLAGS"
22721 LIBS
="$LIBS $GTK_LIBS"
22722 cat >conftest.
$ac_ext <<_ACEOF
22725 cat confdefs.h
>>conftest.
$ac_ext
22726 cat >>conftest.
$ac_ext <<_ACEOF
22727 /* end confdefs.h. */
22729 #include <gtk/gtk.h>
22735 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
22740 rm -f conftest.
$ac_objext conftest
$ac_exeext
22741 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22742 (eval $ac_link) 2>conftest.er1
22744 grep -v '^ *+' conftest.er1
>conftest.err
22746 cat conftest.err
>&5
22747 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22748 (exit $ac_status); } &&
22749 { ac_try
='test -z "$ac_c_werror_flag"
22750 || test ! -s conftest.err'
22751 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22752 (eval $ac_try) 2>&5
22754 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22755 (exit $ac_status); }; } &&
22756 { ac_try
='test -s conftest$ac_exeext'
22757 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22758 (eval $ac_try) 2>&5
22760 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22761 (exit $ac_status); }; }; then
22762 echo "*** The test program compiled, but did not run. This usually means"
22763 echo "*** that the run-time linker is not finding GTK or finding the wrong"
22764 echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
22765 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
22766 echo "*** to the installed location Also, make sure you have run ldconfig if that"
22767 echo "*** is required on your system"
22769 echo "*** If you have an old version installed, it is best to remove it, although"
22770 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
22772 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
22773 echo "*** came with the system with the command"
22775 echo "*** rpm --erase --nodeps gtk gtk-devel"
22777 echo "$as_me: failed program was:" >&5
22778 sed 's/^/| /' conftest.
$ac_ext >&5
22780 echo "*** The test program failed to compile or link. See the file config.log for the"
22781 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
22782 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
22783 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
22785 rm -f conftest.err conftest.
$ac_objext \
22786 conftest
$ac_exeext conftest.
$ac_ext
22787 CFLAGS
="$ac_save_CFLAGS"
22788 LIBS
="$ac_save_LIBS"
22802 if test -z "$wx_cv_lib_gtk"; then
22805 wx_cv_cflags_gtk
=$GTK_CFLAGS
22806 wx_cv_libs_gtk
=$GTK_LIBS
22813 if test "$gtk_version_cached" = 1; then
22814 echo "$as_me:$LINENO: result: $wx_cv_lib_gtk" >&5
22815 echo "${ECHO_T}$wx_cv_lib_gtk" >&6
22818 case "$wx_cv_lib_gtk" in
22827 *) { { echo "$as_me:$LINENO: error:
22828 Please check that gtk-config is in path, the directory
22829 where GTK+ libraries are installed (returned by
22830 'gtk-config --libs' command) is in LD_LIBRARY_PATH or
22831 equivalent variable and GTK+ is version 1.2.3 or above.
22833 echo "$as_me: error:
22834 Please check that gtk-config is in path, the directory
22835 where GTK+ libraries are installed (returned by
22836 'gtk-config --libs' command) is in LD_LIBRARY_PATH or
22837 equivalent variable and GTK+ is version 1.2.3 or above.
22839 { (exit 1); exit 1; }; }
22843 if test "$WXGTK20" = 1; then
22844 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
22848 if test -z "$PKG_CONFIG"; then
22849 # Extract the first word of "pkg-config", so it can be a program name with args.
22850 set dummy pkg
-config; ac_word
=$2
22851 echo "$as_me:$LINENO: checking for $ac_word" >&5
22852 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
22853 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
22854 echo $ECHO_N "(cached) $ECHO_C" >&6
22856 case $PKG_CONFIG in
22858 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
22861 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
22862 for as_dir
in $PATH
22865 test -z "$as_dir" && as_dir
=.
22866 for ac_exec_ext
in '' $ac_executable_extensions; do
22867 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
22868 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
22869 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
22875 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
22879 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
22881 if test -n "$PKG_CONFIG"; then
22882 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
22883 echo "${ECHO_T}$PKG_CONFIG" >&6
22885 echo "$as_me:$LINENO: result: no" >&5
22886 echo "${ECHO_T}no" >&6
22891 if test "$PKG_CONFIG" = "no" ; then
22892 echo "*** The pkg-config script could not be found. Make sure it is"
22893 echo "*** in your path, or set the PKG_CONFIG environment variable"
22894 echo "*** to the full path to pkg-config."
22895 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
22897 PKG_CONFIG_MIN_VERSION
=0.9.0
22898 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
22899 echo "$as_me:$LINENO: checking for pangoft2" >&5
22900 echo $ECHO_N "checking for pangoft2... $ECHO_C" >&6
22902 if $PKG_CONFIG --exists "pangoft2" ; then
22903 echo "$as_me:$LINENO: result: yes" >&5
22904 echo "${ECHO_T}yes" >&6
22907 echo "$as_me:$LINENO: checking PANGOFT2_CFLAGS" >&5
22908 echo $ECHO_N "checking PANGOFT2_CFLAGS... $ECHO_C" >&6
22909 PANGOFT2_CFLAGS
=`$PKG_CONFIG --cflags "pangoft2"`
22910 echo "$as_me:$LINENO: result: $PANGOFT2_CFLAGS" >&5
22911 echo "${ECHO_T}$PANGOFT2_CFLAGS" >&6
22913 echo "$as_me:$LINENO: checking PANGOFT2_LIBS" >&5
22914 echo $ECHO_N "checking PANGOFT2_LIBS... $ECHO_C" >&6
22915 PANGOFT2_LIBS
=`$PKG_CONFIG --libs "pangoft2"`
22916 echo "$as_me:$LINENO: result: $PANGOFT2_LIBS" >&5
22917 echo "${ECHO_T}$PANGOFT2_LIBS" >&6
22921 ## If we have a custom action on failure, don't print errors, but
22922 ## do set a variable so people can do so.
22923 PANGOFT2_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoft2"`
22930 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
22931 echo "*** See http://www.freedesktop.org/software/pkgconfig"
22935 if test $succeeded = yes; then
22937 CXXFLAGS
="$CXXFLAGS $PANGOFT2_CFLAGS"
22938 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY $PANGOFT2_LIBS"
22942 { echo "$as_me:$LINENO: WARNING: pangoft2 library not found, library will be compiled without printing support" >&5
22943 echo "$as_me: WARNING: pangoft2 library not found, library will be compiled without printing support" >&2;}
22944 wxUSE_PRINTING_ARCHITECTURE
="no"
22951 if test "$wxUSE_UNICODE" = "yes"; then
22952 { echo "$as_me:$LINENO: WARNING: Unicode configuration not supported with GTK+ 1.x" >&5
22953 echo "$as_me: WARNING: Unicode configuration not supported with GTK+ 1.x" >&2;}
22958 if test "$USE_DARWIN" != 1; then
22960 for ac_func
in poll
22962 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
22963 echo "$as_me:$LINENO: checking for $ac_func" >&5
22964 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
22965 if eval "test \"\${$as_ac_var+set}\" = set"; then
22966 echo $ECHO_N "(cached) $ECHO_C" >&6
22968 cat >conftest.
$ac_ext <<_ACEOF
22971 cat confdefs.h
>>conftest.
$ac_ext
22972 cat >>conftest.
$ac_ext <<_ACEOF
22973 /* end confdefs.h. */
22974 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
22975 For example, HP-UX 11i <limits.h> declares gettimeofday. */
22976 #define $ac_func innocuous_$ac_func
22978 /* System header to define __stub macros and hopefully few prototypes,
22979 which can conflict with char $ac_func (); below.
22980 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
22981 <limits.h> exists even on freestanding compilers. */
22984 # include <limits.h>
22986 # include <assert.h>
22991 /* Override any gcc2 internal prototype to avoid an error. */
22996 /* We use char because int might match the return type of a gcc2
22997 builtin and then its argument prototype would still apply. */
22999 /* The GNU C library defines this for functions which it implements
23000 to always fail with ENOSYS. Some functions are actually named
23001 something starting with __ and the normal name is an alias. */
23002 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
23005 char (*f) () = $ac_func;
23014 return f != $ac_func;
23019 rm -f conftest.
$ac_objext conftest
$ac_exeext
23020 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23021 (eval $ac_link) 2>conftest.er1
23023 grep -v '^ *+' conftest.er1
>conftest.err
23025 cat conftest.err
>&5
23026 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23027 (exit $ac_status); } &&
23028 { ac_try
='test -z "$ac_c_werror_flag"
23029 || test ! -s conftest.err'
23030 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23031 (eval $ac_try) 2>&5
23033 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23034 (exit $ac_status); }; } &&
23035 { ac_try
='test -s conftest$ac_exeext'
23036 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23037 (eval $ac_try) 2>&5
23039 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23040 (exit $ac_status); }; }; then
23041 eval "$as_ac_var=yes"
23043 echo "$as_me: failed program was:" >&5
23044 sed 's/^/| /' conftest.
$ac_ext >&5
23046 eval "$as_ac_var=no"
23048 rm -f conftest.err conftest.
$ac_objext \
23049 conftest
$ac_exeext conftest.
$ac_ext
23051 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
23052 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
23053 if test `eval echo '${'$as_ac_var'}'` = yes; then
23054 cat >>confdefs.h
<<_ACEOF
23055 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
23063 TOOLKIT_INCLUDE
="$wx_cv_cflags_gtk"
23064 GUI_TK_LIBRARY
="$wx_cv_libs_gtk $GUI_TK_LIBRARY"
23066 AFMINSTALL
=afminstall
23070 echo "$as_me:$LINENO: checking for gdk_im_open in -lgdk" >&5
23071 echo $ECHO_N "checking for gdk_im_open in -lgdk... $ECHO_C" >&6
23072 if test "${ac_cv_lib_gdk_gdk_im_open+set}" = set; then
23073 echo $ECHO_N "(cached) $ECHO_C" >&6
23075 ac_check_lib_save_LIBS
=$LIBS
23077 cat >conftest.
$ac_ext <<_ACEOF
23080 cat confdefs.h
>>conftest.
$ac_ext
23081 cat >>conftest.
$ac_ext <<_ACEOF
23082 /* end confdefs.h. */
23084 /* Override any gcc2 internal prototype to avoid an error. */
23088 /* We use char because int might match the return type of a gcc2
23089 builtin and then its argument prototype would still apply. */
23090 char gdk_im_open ();
23099 rm -f conftest.
$ac_objext conftest
$ac_exeext
23100 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23101 (eval $ac_link) 2>conftest.er1
23103 grep -v '^ *+' conftest.er1
>conftest.err
23105 cat conftest.err
>&5
23106 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23107 (exit $ac_status); } &&
23108 { ac_try
='test -z "$ac_c_werror_flag"
23109 || test ! -s conftest.err'
23110 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23111 (eval $ac_try) 2>&5
23113 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23114 (exit $ac_status); }; } &&
23115 { ac_try
='test -s conftest$ac_exeext'
23116 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23117 (eval $ac_try) 2>&5
23119 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23120 (exit $ac_status); }; }; then
23121 ac_cv_lib_gdk_gdk_im_open
=yes
23123 echo "$as_me: failed program was:" >&5
23124 sed 's/^/| /' conftest.
$ac_ext >&5
23126 ac_cv_lib_gdk_gdk_im_open
=no
23128 rm -f conftest.err conftest.
$ac_objext \
23129 conftest
$ac_exeext conftest.
$ac_ext
23130 LIBS
=$ac_check_lib_save_LIBS
23132 echo "$as_me:$LINENO: result: $ac_cv_lib_gdk_gdk_im_open" >&5
23133 echo "${ECHO_T}$ac_cv_lib_gdk_gdk_im_open" >&6
23134 if test $ac_cv_lib_gdk_gdk_im_open = yes; then
23135 cat >>confdefs.h
<<\_ACEOF
23143 if test "$wxUSE_GPE" = "yes"; then
23144 echo "$as_me:$LINENO: checking for gpewidget library" >&5
23145 echo $ECHO_N "checking for gpewidget library... $ECHO_C" >&6
23148 for ac_dir
in $SEARCH_LIB /usr
/lib
;
23150 for ac_extension
in a so sl dylib
; do
23151 if test -f "$ac_dir/libgpewidget.$ac_extension"; then
23152 ac_find_libraries
=$ac_dir
23158 if test "$ac_find_libraries" != "" ; then
23160 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev
/null
23162 if test $result = 0; then
23165 ac_path_to_link
=" -L$ac_find_libraries"
23168 GUI_TK_LIBRARY
="-L${prefix}/lib -lgpewidget $GUI_TK_LIBRARY"
23170 echo "$as_me:$LINENO: result: found at $ac_find_libraries" >&5
23171 echo "${ECHO_T}found at $ac_find_libraries" >&6
23173 echo "$as_me:$LINENO: result: not found" >&5
23174 echo "${ECHO_T}not found" >&6
23180 if test "$wxUSE_MGL" = 1; then
23181 echo "$as_me:$LINENO: checking for SciTech MGL library" >&5
23182 echo $ECHO_N "checking for SciTech MGL library... $ECHO_C" >&6
23183 if test "x$MGL_ROOT" = x
; then
23184 echo "$as_me:$LINENO: result: not found" >&5
23185 echo "${ECHO_T}not found" >&6
23186 { { echo "$as_me:$LINENO: error: Cannot find MGL library. Make sure MGL_ROOT is set." >&5
23187 echo "$as_me: error: Cannot find MGL library. Make sure MGL_ROOT is set." >&2;}
23188 { (exit 1); exit 1; }; }
23190 echo "$as_me:$LINENO: result: $MGL_ROOT" >&5
23191 echo "${ECHO_T}$MGL_ROOT" >&6
23194 echo "$as_me:$LINENO: checking for libmgl location" >&5
23195 echo $ECHO_N "checking for libmgl location... $ECHO_C" >&6
23198 if test "x$wxUSE_SHARED" = xyes
; then
23199 mgl_os_candidates
="linux/gcc/x86/so linux/gcc/x86/a linux/gcc/glibc.so linux/gcc/glibc"
23201 mgl_os_candidates
="linux/gcc/x86/a linux/gcc/x86/so linux/gcc/glibc linux/gcc/glibc.so"
23205 mgl_os_candidates
="dos32/dj2"
23208 { { echo "$as_me:$LINENO: error: This system type ${host} is not yet supported by wxMGL." >&5
23209 echo "$as_me: error: This system type ${host} is not yet supported by wxMGL." >&2;}
23210 { (exit 1); exit 1; }; }
23216 for mgl_os_i
in $mgl_os_candidates ; do
23217 if test "x$mgl_os" = x
; then
23218 if test "$wxUSE_DEBUG_FLAG" = yes ; then
23219 if test -f $MGL_ROOT/lib
/debug
/$mgl_os_i/libmgl.a
-o \
23220 -f $MGL_ROOT/lib
/debug
/$mgl_os_i/libmgl.so
; then
23225 if test "x$mgl_lib_type" = x
; then
23226 if test -f $MGL_ROOT/lib
/release
/$mgl_os_i/libmgl.a
-o \
23227 -f $MGL_ROOT/lib
/release
/$mgl_os_i/libmgl.so
; then
23228 mgl_lib_type
=release
23235 if test "x$mgl_os" = x
; then
23236 echo "$as_me:$LINENO: result: not found" >&5
23237 echo "${ECHO_T}not found" >&6
23238 { { echo "$as_me:$LINENO: error: Cannot find MGL libraries, make sure they are compiled." >&5
23239 echo "$as_me: error: Cannot find MGL libraries, make sure they are compiled." >&2;}
23240 { (exit 1); exit 1; }; }
23242 echo "$as_me:$LINENO: result: \"$MGL_ROOT/lib/$mgl_lib_type/$mgl_os\"" >&5
23243 echo "${ECHO_T}\"$MGL_ROOT/lib/$mgl_lib_type/$mgl_os\"" >&6
23245 wxUSE_UNIVERSAL
="yes"
23247 TOOLKIT_INCLUDE
="-I$MGL_ROOT/include"
23248 GUI_TK_LIBRARY
="-L$MGL_ROOT/lib/$mgl_lib_type/$mgl_os -lmgl -lmglcpp -lpm"
23250 AFMINSTALL
=afminstall
23255 if test "$wxUSE_MICROWIN" = 1; then
23256 echo "$as_me:$LINENO: checking for MicroWindows" >&5
23257 echo $ECHO_N "checking for MicroWindows... $ECHO_C" >&6
23258 if test "x$MICROWINDOWS" = x
; then
23259 echo "$as_me:$LINENO: result: not found" >&5
23260 echo "${ECHO_T}not found" >&6
23261 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows library. Make sure MICROWINDOWS is set." >&5
23262 echo "$as_me: error: Cannot find MicroWindows library. Make sure MICROWINDOWS is set." >&2;}
23263 { (exit 1); exit 1; }; }
23265 echo "$as_me:$LINENO: result: $MICROWINDOWS" >&5
23266 echo "${ECHO_T}$MICROWINDOWS" >&6
23269 if test -f $MICROWINDOWS/lib
/libmwin.a
; then
23270 echo "$as_me:$LINENO: result: MicroWindows' libraries found." >&5
23271 echo "${ECHO_T}MicroWindows' libraries found." >&6
23273 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows libraries, make sure they are compiled." >&5
23274 echo "$as_me: error: Cannot find MicroWindows libraries, make sure they are compiled." >&2;}
23275 { (exit 1); exit 1; }; }
23278 TOOLKIT_INCLUDE
="-I$MICROWINDOWS/include"
23279 GUI_TK_LIBRARY
="-L$MICROWINDOWS/lib -lmwin -lmwengine -mwfonts -mwdrivers -mwinlib"
23281 wxUSE_UNIVERSAL
="yes"
23283 AFMINSTALL
=afminstall
23285 GUIDIST
=MICROWIN_DIST
23287 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -D__WXMSW__ -D__WIN95__ -D__WIN32__ -DMWIN -DMICROWIN_NOCONTROLS -DMICROWIN_TODO=1"
23290 if test "$wxUSE_X11" = 1; then
23291 echo "$as_me:$LINENO: checking for X" >&5
23292 echo $ECHO_N "checking for X... $ECHO_C" >&6
23295 # Check whether --with-x or --without-x was given.
23296 if test "${with_x+set}" = set; then
23300 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
23301 if test "x$with_x" = xno
; then
23302 # The user explicitly disabled X.
23305 if test "x$x_includes" != xNONE
&& test "x$x_libraries" != xNONE
; then
23306 # Both variables are already set.
23309 if test "${ac_cv_have_x+set}" = set; then
23310 echo $ECHO_N "(cached) $ECHO_C" >&6
23312 # One or both of the vars are not set, and there is no cached value.
23313 ac_x_includes
=no ac_x_libraries
=no
23314 rm -fr conftest.dir
23315 if mkdir conftest.dir
; then
23317 # Make sure to not put "make" in the Imakefile rules, since we grep it out.
23318 cat >Imakefile
<<'_ACEOF'
23320 @echo 'ac_im_incroot="${INCROOT}"; ac_im_usrlibdir="${USRLIBDIR}"; ac_im_libdir="${LIBDIR}"'
23322 if (xmkmf
) >/dev
/null
2>/dev
/null
&& test -f Makefile
; then
23323 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
23324 eval `${MAKE-make} acfindx 2>/dev/null | grep -v make`
23325 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
23326 for ac_extension
in a so sl
; do
23327 if test ! -f $ac_im_usrlibdir/libX11.
$ac_extension &&
23328 test -f $ac_im_libdir/libX11.
$ac_extension; then
23329 ac_im_usrlibdir
=$ac_im_libdir; break
23332 # Screen out bogus values from the imake configuration. They are
23333 # bogus both because they are the default anyway, and because
23334 # using them would break gcc on systems where it needs fixed includes.
23335 case $ac_im_incroot in
23337 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes
=$ac_im_incroot;;
23339 case $ac_im_usrlibdir in
23340 /usr
/lib
| /lib
) ;;
23341 *) test -d "$ac_im_usrlibdir" && ac_x_libraries
=$ac_im_usrlibdir ;;
23345 rm -fr conftest.dir
23348 # Standard set of common directories for X headers.
23349 # Check X11 before X11Rn because it is often a symlink to the current release.
23361 /usr/local/X11/include
23362 /usr/local/X11R6/include
23363 /usr/local/X11R5/include
23364 /usr/local/X11R4/include
23366 /usr/local/include/X11
23367 /usr/local/include/X11R6
23368 /usr/local/include/X11R5
23369 /usr/local/include/X11R4
23373 /usr/XFree86/include/X11
23377 /usr/unsupported/include
23378 /usr/athena/include
23379 /usr/local/x11r5/include
23380 /usr/lpp/Xamples/include
23382 /usr/openwin/include
23383 /usr/openwin/share/include'
23385 if test "$ac_x_includes" = no
; then
23386 # Guess where to find include files, by looking for Intrinsic.h.
23387 # First, try using that file with no special directory specified.
23388 cat >conftest.
$ac_ext <<_ACEOF
23391 cat confdefs.h
>>conftest.
$ac_ext
23392 cat >>conftest.
$ac_ext <<_ACEOF
23393 /* end confdefs.h. */
23394 #include <X11/Intrinsic.h>
23396 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
23397 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
23399 grep -v '^ *+' conftest.er1
>conftest.err
23401 cat conftest.err
>&5
23402 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23403 (exit $ac_status); } >/dev
/null
; then
23404 if test -s conftest.err
; then
23405 ac_cpp_err
=$ac_c_preproc_warn_flag
23406 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
23413 if test -z "$ac_cpp_err"; then
23414 # We can compile using X headers with no special include directory.
23417 echo "$as_me: failed program was:" >&5
23418 sed 's/^/| /' conftest.
$ac_ext >&5
23420 for ac_dir
in $ac_x_header_dirs; do
23421 if test -r "$ac_dir/X11/Intrinsic.h"; then
23422 ac_x_includes
=$ac_dir
23427 rm -f conftest.err conftest.
$ac_ext
23428 fi # $ac_x_includes = no
23430 if test "$ac_x_libraries" = no
; then
23431 # Check for the libraries.
23432 # See if we find them without any special options.
23433 # Don't add to $LIBS permanently.
23436 cat >conftest.
$ac_ext <<_ACEOF
23439 cat confdefs.h
>>conftest.
$ac_ext
23440 cat >>conftest.
$ac_ext <<_ACEOF
23441 /* end confdefs.h. */
23442 #include <X11/Intrinsic.h>
23451 rm -f conftest.
$ac_objext conftest
$ac_exeext
23452 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23453 (eval $ac_link) 2>conftest.er1
23455 grep -v '^ *+' conftest.er1
>conftest.err
23457 cat conftest.err
>&5
23458 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23459 (exit $ac_status); } &&
23460 { ac_try
='test -z "$ac_c_werror_flag"
23461 || test ! -s conftest.err'
23462 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23463 (eval $ac_try) 2>&5
23465 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23466 (exit $ac_status); }; } &&
23467 { ac_try
='test -s conftest$ac_exeext'
23468 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23469 (eval $ac_try) 2>&5
23471 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23472 (exit $ac_status); }; }; then
23474 # We can link X programs with no special library path.
23477 echo "$as_me: failed program was:" >&5
23478 sed 's/^/| /' conftest.
$ac_ext >&5
23481 for ac_dir
in `echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
23483 # Don't even attempt the hair of trying to link an X program!
23484 for ac_extension
in a so sl
; do
23485 if test -r $ac_dir/libXt.
$ac_extension; then
23486 ac_x_libraries
=$ac_dir
23492 rm -f conftest.err conftest.
$ac_objext \
23493 conftest
$ac_exeext conftest.
$ac_ext
23494 fi # $ac_x_libraries = no
23496 if test "$ac_x_includes" = no
|| test "$ac_x_libraries" = no
; then
23497 # Didn't find X anywhere. Cache the known absence of X.
23498 ac_cv_have_x
="have_x=no"
23500 # Record where we found X for the cache.
23501 ac_cv_have_x
="have_x=yes \
23502 ac_x_includes=$ac_x_includes ac_x_libraries=$ac_x_libraries"
23507 eval "$ac_cv_have_x"
23510 if test "$have_x" != yes; then
23511 echo "$as_me:$LINENO: result: $have_x" >&5
23512 echo "${ECHO_T}$have_x" >&6
23515 # If each of the values was on the command line, it overrides each guess.
23516 test "x$x_includes" = xNONE
&& x_includes
=$ac_x_includes
23517 test "x$x_libraries" = xNONE
&& x_libraries
=$ac_x_libraries
23518 # Update the cache value to reflect the command line values.
23519 ac_cv_have_x
="have_x=yes \
23520 ac_x_includes=$x_includes ac_x_libraries=$x_libraries"
23521 echo "$as_me:$LINENO: result: libraries $x_libraries, headers $x_includes" >&5
23522 echo "${ECHO_T}libraries $x_libraries, headers $x_includes" >&6
23525 if test "$no_x" = yes; then
23526 # Not all programs may use this symbol, but it does not hurt to define it.
23528 cat >>confdefs.h
<<\_ACEOF
23529 #define X_DISPLAY_MISSING 1
23532 X_CFLAGS
= X_PRE_LIBS
= X_LIBS
= X_EXTRA_LIBS
=
23534 if test -n "$x_includes"; then
23535 X_CFLAGS
="$X_CFLAGS -I$x_includes"
23538 # It would also be nice to do this for all -L options, not just this one.
23539 if test -n "$x_libraries"; then
23540 X_LIBS
="$X_LIBS -L$x_libraries"
23541 # For Solaris; some versions of Sun CC require a space after -R and
23542 # others require no space. Words are not sufficient . . . .
23543 case `(uname -sr) 2>/dev/null` in
23545 echo "$as_me:$LINENO: checking whether -R must be followed by a space" >&5
23546 echo $ECHO_N "checking whether -R must be followed by a space... $ECHO_C" >&6
23547 ac_xsave_LIBS
=$LIBS; LIBS
="$LIBS -R$x_libraries"
23548 cat >conftest.
$ac_ext <<_ACEOF
23551 cat confdefs.h
>>conftest.
$ac_ext
23552 cat >>conftest.
$ac_ext <<_ACEOF
23553 /* end confdefs.h. */
23563 rm -f conftest.
$ac_objext conftest
$ac_exeext
23564 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23565 (eval $ac_link) 2>conftest.er1
23567 grep -v '^ *+' conftest.er1
>conftest.err
23569 cat conftest.err
>&5
23570 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23571 (exit $ac_status); } &&
23572 { ac_try
='test -z "$ac_c_werror_flag"
23573 || test ! -s conftest.err'
23574 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23575 (eval $ac_try) 2>&5
23577 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23578 (exit $ac_status); }; } &&
23579 { ac_try
='test -s conftest$ac_exeext'
23580 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23581 (eval $ac_try) 2>&5
23583 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23584 (exit $ac_status); }; }; then
23587 echo "$as_me: failed program was:" >&5
23588 sed 's/^/| /' conftest.
$ac_ext >&5
23592 rm -f conftest.err conftest.
$ac_objext \
23593 conftest
$ac_exeext conftest.
$ac_ext
23594 if test $ac_R_nospace = yes; then
23595 echo "$as_me:$LINENO: result: no" >&5
23596 echo "${ECHO_T}no" >&6
23597 X_LIBS
="$X_LIBS -R$x_libraries"
23599 LIBS
="$ac_xsave_LIBS -R $x_libraries"
23600 cat >conftest.
$ac_ext <<_ACEOF
23603 cat confdefs.h
>>conftest.
$ac_ext
23604 cat >>conftest.
$ac_ext <<_ACEOF
23605 /* end confdefs.h. */
23615 rm -f conftest.
$ac_objext conftest
$ac_exeext
23616 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23617 (eval $ac_link) 2>conftest.er1
23619 grep -v '^ *+' conftest.er1
>conftest.err
23621 cat conftest.err
>&5
23622 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23623 (exit $ac_status); } &&
23624 { ac_try
='test -z "$ac_c_werror_flag"
23625 || test ! -s conftest.err'
23626 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23627 (eval $ac_try) 2>&5
23629 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23630 (exit $ac_status); }; } &&
23631 { ac_try
='test -s conftest$ac_exeext'
23632 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23633 (eval $ac_try) 2>&5
23635 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23636 (exit $ac_status); }; }; then
23639 echo "$as_me: failed program was:" >&5
23640 sed 's/^/| /' conftest.
$ac_ext >&5
23644 rm -f conftest.err conftest.
$ac_objext \
23645 conftest
$ac_exeext conftest.
$ac_ext
23646 if test $ac_R_space = yes; then
23647 echo "$as_me:$LINENO: result: yes" >&5
23648 echo "${ECHO_T}yes" >&6
23649 X_LIBS
="$X_LIBS -R $x_libraries"
23651 echo "$as_me:$LINENO: result: neither works" >&5
23652 echo "${ECHO_T}neither works" >&6
23655 LIBS
=$ac_xsave_LIBS
23659 # Check for system-dependent libraries X programs must link with.
23660 # Do this before checking for the system-independent R6 libraries
23661 # (-lICE), since we may need -lsocket or whatever for X linking.
23663 if test "$ISC" = yes; then
23664 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl_s -linet"
23666 # Martyn Johnson says this is needed for Ultrix, if the X
23667 # libraries were built with DECnet support. And Karl Berry says
23668 # the Alpha needs dnet_stub (dnet does not exist).
23669 ac_xsave_LIBS
="$LIBS"; LIBS
="$LIBS $X_LIBS -lX11"
23670 cat >conftest.
$ac_ext <<_ACEOF
23673 cat confdefs.h
>>conftest.
$ac_ext
23674 cat >>conftest.
$ac_ext <<_ACEOF
23675 /* end confdefs.h. */
23677 /* Override any gcc2 internal prototype to avoid an error. */
23681 /* We use char because int might match the return type of a gcc2
23682 builtin and then its argument prototype would still apply. */
23683 char XOpenDisplay ();
23692 rm -f conftest.
$ac_objext conftest
$ac_exeext
23693 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23694 (eval $ac_link) 2>conftest.er1
23696 grep -v '^ *+' conftest.er1
>conftest.err
23698 cat conftest.err
>&5
23699 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23700 (exit $ac_status); } &&
23701 { ac_try
='test -z "$ac_c_werror_flag"
23702 || test ! -s conftest.err'
23703 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23704 (eval $ac_try) 2>&5
23706 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23707 (exit $ac_status); }; } &&
23708 { ac_try
='test -s conftest$ac_exeext'
23709 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23710 (eval $ac_try) 2>&5
23712 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23713 (exit $ac_status); }; }; then
23716 echo "$as_me: failed program was:" >&5
23717 sed 's/^/| /' conftest.
$ac_ext >&5
23719 echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet" >&5
23720 echo $ECHO_N "checking for dnet_ntoa in -ldnet... $ECHO_C" >&6
23721 if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then
23722 echo $ECHO_N "(cached) $ECHO_C" >&6
23724 ac_check_lib_save_LIBS
=$LIBS
23725 LIBS
="-ldnet $LIBS"
23726 cat >conftest.
$ac_ext <<_ACEOF
23729 cat confdefs.h
>>conftest.
$ac_ext
23730 cat >>conftest.
$ac_ext <<_ACEOF
23731 /* end confdefs.h. */
23733 /* Override any gcc2 internal prototype to avoid an error. */
23737 /* We use char because int might match the return type of a gcc2
23738 builtin and then its argument prototype would still apply. */
23748 rm -f conftest.
$ac_objext conftest
$ac_exeext
23749 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23750 (eval $ac_link) 2>conftest.er1
23752 grep -v '^ *+' conftest.er1
>conftest.err
23754 cat conftest.err
>&5
23755 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23756 (exit $ac_status); } &&
23757 { ac_try
='test -z "$ac_c_werror_flag"
23758 || test ! -s conftest.err'
23759 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23760 (eval $ac_try) 2>&5
23762 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23763 (exit $ac_status); }; } &&
23764 { ac_try
='test -s conftest$ac_exeext'
23765 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23766 (eval $ac_try) 2>&5
23768 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23769 (exit $ac_status); }; }; then
23770 ac_cv_lib_dnet_dnet_ntoa
=yes
23772 echo "$as_me: failed program was:" >&5
23773 sed 's/^/| /' conftest.
$ac_ext >&5
23775 ac_cv_lib_dnet_dnet_ntoa
=no
23777 rm -f conftest.err conftest.
$ac_objext \
23778 conftest
$ac_exeext conftest.
$ac_ext
23779 LIBS
=$ac_check_lib_save_LIBS
23781 echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
23782 echo "${ECHO_T}$ac_cv_lib_dnet_dnet_ntoa" >&6
23783 if test $ac_cv_lib_dnet_dnet_ntoa = yes; then
23784 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet"
23787 if test $ac_cv_lib_dnet_dnet_ntoa = no
; then
23788 echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet_stub" >&5
23789 echo $ECHO_N "checking for dnet_ntoa in -ldnet_stub... $ECHO_C" >&6
23790 if test "${ac_cv_lib_dnet_stub_dnet_ntoa+set}" = set; then
23791 echo $ECHO_N "(cached) $ECHO_C" >&6
23793 ac_check_lib_save_LIBS
=$LIBS
23794 LIBS
="-ldnet_stub $LIBS"
23795 cat >conftest.
$ac_ext <<_ACEOF
23798 cat confdefs.h
>>conftest.
$ac_ext
23799 cat >>conftest.
$ac_ext <<_ACEOF
23800 /* end confdefs.h. */
23802 /* Override any gcc2 internal prototype to avoid an error. */
23806 /* We use char because int might match the return type of a gcc2
23807 builtin and then its argument prototype would still apply. */
23817 rm -f conftest.
$ac_objext conftest
$ac_exeext
23818 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23819 (eval $ac_link) 2>conftest.er1
23821 grep -v '^ *+' conftest.er1
>conftest.err
23823 cat conftest.err
>&5
23824 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23825 (exit $ac_status); } &&
23826 { ac_try
='test -z "$ac_c_werror_flag"
23827 || test ! -s conftest.err'
23828 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23829 (eval $ac_try) 2>&5
23831 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23832 (exit $ac_status); }; } &&
23833 { ac_try
='test -s conftest$ac_exeext'
23834 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23835 (eval $ac_try) 2>&5
23837 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23838 (exit $ac_status); }; }; then
23839 ac_cv_lib_dnet_stub_dnet_ntoa
=yes
23841 echo "$as_me: failed program was:" >&5
23842 sed 's/^/| /' conftest.
$ac_ext >&5
23844 ac_cv_lib_dnet_stub_dnet_ntoa
=no
23846 rm -f conftest.err conftest.
$ac_objext \
23847 conftest
$ac_exeext conftest.
$ac_ext
23848 LIBS
=$ac_check_lib_save_LIBS
23850 echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
23851 echo "${ECHO_T}$ac_cv_lib_dnet_stub_dnet_ntoa" >&6
23852 if test $ac_cv_lib_dnet_stub_dnet_ntoa = yes; then
23853 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet_stub"
23858 rm -f conftest.err conftest.
$ac_objext \
23859 conftest
$ac_exeext conftest.
$ac_ext
23860 LIBS
="$ac_xsave_LIBS"
23862 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
23863 # to get the SysV transport functions.
23864 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
23866 # The nsl library prevents programs from opening the X display
23867 # on Irix 5.2, according to T.E. Dickey.
23868 # The functions gethostbyname, getservbyname, and inet_addr are
23869 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
23870 echo "$as_me:$LINENO: checking for gethostbyname" >&5
23871 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6
23872 if test "${ac_cv_func_gethostbyname+set}" = set; then
23873 echo $ECHO_N "(cached) $ECHO_C" >&6
23875 cat >conftest.
$ac_ext <<_ACEOF
23878 cat confdefs.h
>>conftest.
$ac_ext
23879 cat >>conftest.
$ac_ext <<_ACEOF
23880 /* end confdefs.h. */
23881 /* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
23882 For example, HP-UX 11i <limits.h> declares gettimeofday. */
23883 #define gethostbyname innocuous_gethostbyname
23885 /* System header to define __stub macros and hopefully few prototypes,
23886 which can conflict with char gethostbyname (); below.
23887 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
23888 <limits.h> exists even on freestanding compilers. */
23891 # include <limits.h>
23893 # include <assert.h>
23896 #undef gethostbyname
23898 /* Override any gcc2 internal prototype to avoid an error. */
23903 /* We use char because int might match the return type of a gcc2
23904 builtin and then its argument prototype would still apply. */
23905 char gethostbyname ();
23906 /* The GNU C library defines this for functions which it implements
23907 to always fail with ENOSYS. Some functions are actually named
23908 something starting with __ and the normal name is an alias. */
23909 #if defined (__stub_gethostbyname) || defined (__stub___gethostbyname)
23912 char (*f) () = gethostbyname;
23921 return f != gethostbyname;
23926 rm -f conftest.
$ac_objext conftest
$ac_exeext
23927 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23928 (eval $ac_link) 2>conftest.er1
23930 grep -v '^ *+' conftest.er1
>conftest.err
23932 cat conftest.err
>&5
23933 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23934 (exit $ac_status); } &&
23935 { ac_try
='test -z "$ac_c_werror_flag"
23936 || test ! -s conftest.err'
23937 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23938 (eval $ac_try) 2>&5
23940 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23941 (exit $ac_status); }; } &&
23942 { ac_try
='test -s conftest$ac_exeext'
23943 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23944 (eval $ac_try) 2>&5
23946 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23947 (exit $ac_status); }; }; then
23948 ac_cv_func_gethostbyname
=yes
23950 echo "$as_me: failed program was:" >&5
23951 sed 's/^/| /' conftest.
$ac_ext >&5
23953 ac_cv_func_gethostbyname
=no
23955 rm -f conftest.err conftest.
$ac_objext \
23956 conftest
$ac_exeext conftest.
$ac_ext
23958 echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
23959 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6
23961 if test $ac_cv_func_gethostbyname = no
; then
23962 echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
23963 echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6
23964 if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
23965 echo $ECHO_N "(cached) $ECHO_C" >&6
23967 ac_check_lib_save_LIBS
=$LIBS
23969 cat >conftest.
$ac_ext <<_ACEOF
23972 cat confdefs.h
>>conftest.
$ac_ext
23973 cat >>conftest.
$ac_ext <<_ACEOF
23974 /* end confdefs.h. */
23976 /* Override any gcc2 internal prototype to avoid an error. */
23980 /* We use char because int might match the return type of a gcc2
23981 builtin and then its argument prototype would still apply. */
23982 char gethostbyname ();
23991 rm -f conftest.
$ac_objext conftest
$ac_exeext
23992 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23993 (eval $ac_link) 2>conftest.er1
23995 grep -v '^ *+' conftest.er1
>conftest.err
23997 cat conftest.err
>&5
23998 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23999 (exit $ac_status); } &&
24000 { ac_try
='test -z "$ac_c_werror_flag"
24001 || test ! -s conftest.err'
24002 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24003 (eval $ac_try) 2>&5
24005 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24006 (exit $ac_status); }; } &&
24007 { ac_try
='test -s conftest$ac_exeext'
24008 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24009 (eval $ac_try) 2>&5
24011 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24012 (exit $ac_status); }; }; then
24013 ac_cv_lib_nsl_gethostbyname
=yes
24015 echo "$as_me: failed program was:" >&5
24016 sed 's/^/| /' conftest.
$ac_ext >&5
24018 ac_cv_lib_nsl_gethostbyname
=no
24020 rm -f conftest.err conftest.
$ac_objext \
24021 conftest
$ac_exeext conftest.
$ac_ext
24022 LIBS
=$ac_check_lib_save_LIBS
24024 echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
24025 echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6
24026 if test $ac_cv_lib_nsl_gethostbyname = yes; then
24027 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl"
24030 if test $ac_cv_lib_nsl_gethostbyname = no
; then
24031 echo "$as_me:$LINENO: checking for gethostbyname in -lbsd" >&5
24032 echo $ECHO_N "checking for gethostbyname in -lbsd... $ECHO_C" >&6
24033 if test "${ac_cv_lib_bsd_gethostbyname+set}" = set; then
24034 echo $ECHO_N "(cached) $ECHO_C" >&6
24036 ac_check_lib_save_LIBS
=$LIBS
24038 cat >conftest.
$ac_ext <<_ACEOF
24041 cat confdefs.h
>>conftest.
$ac_ext
24042 cat >>conftest.
$ac_ext <<_ACEOF
24043 /* end confdefs.h. */
24045 /* Override any gcc2 internal prototype to avoid an error. */
24049 /* We use char because int might match the return type of a gcc2
24050 builtin and then its argument prototype would still apply. */
24051 char gethostbyname ();
24060 rm -f conftest.
$ac_objext conftest
$ac_exeext
24061 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24062 (eval $ac_link) 2>conftest.er1
24064 grep -v '^ *+' conftest.er1
>conftest.err
24066 cat conftest.err
>&5
24067 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24068 (exit $ac_status); } &&
24069 { ac_try
='test -z "$ac_c_werror_flag"
24070 || test ! -s conftest.err'
24071 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24072 (eval $ac_try) 2>&5
24074 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24075 (exit $ac_status); }; } &&
24076 { ac_try
='test -s conftest$ac_exeext'
24077 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24078 (eval $ac_try) 2>&5
24080 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24081 (exit $ac_status); }; }; then
24082 ac_cv_lib_bsd_gethostbyname
=yes
24084 echo "$as_me: failed program was:" >&5
24085 sed 's/^/| /' conftest.
$ac_ext >&5
24087 ac_cv_lib_bsd_gethostbyname
=no
24089 rm -f conftest.err conftest.
$ac_objext \
24090 conftest
$ac_exeext conftest.
$ac_ext
24091 LIBS
=$ac_check_lib_save_LIBS
24093 echo "$as_me:$LINENO: result: $ac_cv_lib_bsd_gethostbyname" >&5
24094 echo "${ECHO_T}$ac_cv_lib_bsd_gethostbyname" >&6
24095 if test $ac_cv_lib_bsd_gethostbyname = yes; then
24096 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lbsd"
24102 # lieder@skyler.mavd.honeywell.com says without -lsocket,
24103 # socket/setsockopt and other routines are undefined under SCO ODT
24104 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
24105 # on later versions), says Simon Leinen: it contains gethostby*
24106 # variants that don't use the name server (or something). -lsocket
24107 # must be given before -lnsl if both are needed. We assume that
24108 # if connect needs -lnsl, so does gethostbyname.
24109 echo "$as_me:$LINENO: checking for connect" >&5
24110 echo $ECHO_N "checking for connect... $ECHO_C" >&6
24111 if test "${ac_cv_func_connect+set}" = set; then
24112 echo $ECHO_N "(cached) $ECHO_C" >&6
24114 cat >conftest.
$ac_ext <<_ACEOF
24117 cat confdefs.h
>>conftest.
$ac_ext
24118 cat >>conftest.
$ac_ext <<_ACEOF
24119 /* end confdefs.h. */
24120 /* Define connect to an innocuous variant, in case <limits.h> declares connect.
24121 For example, HP-UX 11i <limits.h> declares gettimeofday. */
24122 #define connect innocuous_connect
24124 /* System header to define __stub macros and hopefully few prototypes,
24125 which can conflict with char connect (); below.
24126 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24127 <limits.h> exists even on freestanding compilers. */
24130 # include <limits.h>
24132 # include <assert.h>
24137 /* Override any gcc2 internal prototype to avoid an error. */
24142 /* We use char because int might match the return type of a gcc2
24143 builtin and then its argument prototype would still apply. */
24145 /* The GNU C library defines this for functions which it implements
24146 to always fail with ENOSYS. Some functions are actually named
24147 something starting with __ and the normal name is an alias. */
24148 #if defined (__stub_connect) || defined (__stub___connect)
24151 char (*f) () = connect;
24160 return f != connect;
24165 rm -f conftest.
$ac_objext conftest
$ac_exeext
24166 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24167 (eval $ac_link) 2>conftest.er1
24169 grep -v '^ *+' conftest.er1
>conftest.err
24171 cat conftest.err
>&5
24172 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24173 (exit $ac_status); } &&
24174 { ac_try
='test -z "$ac_c_werror_flag"
24175 || test ! -s conftest.err'
24176 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24177 (eval $ac_try) 2>&5
24179 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24180 (exit $ac_status); }; } &&
24181 { ac_try
='test -s conftest$ac_exeext'
24182 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24183 (eval $ac_try) 2>&5
24185 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24186 (exit $ac_status); }; }; then
24187 ac_cv_func_connect
=yes
24189 echo "$as_me: failed program was:" >&5
24190 sed 's/^/| /' conftest.
$ac_ext >&5
24192 ac_cv_func_connect
=no
24194 rm -f conftest.err conftest.
$ac_objext \
24195 conftest
$ac_exeext conftest.
$ac_ext
24197 echo "$as_me:$LINENO: result: $ac_cv_func_connect" >&5
24198 echo "${ECHO_T}$ac_cv_func_connect" >&6
24200 if test $ac_cv_func_connect = no
; then
24201 echo "$as_me:$LINENO: checking for connect in -lsocket" >&5
24202 echo $ECHO_N "checking for connect in -lsocket... $ECHO_C" >&6
24203 if test "${ac_cv_lib_socket_connect+set}" = set; then
24204 echo $ECHO_N "(cached) $ECHO_C" >&6
24206 ac_check_lib_save_LIBS
=$LIBS
24207 LIBS
="-lsocket $X_EXTRA_LIBS $LIBS"
24208 cat >conftest.
$ac_ext <<_ACEOF
24211 cat confdefs.h
>>conftest.
$ac_ext
24212 cat >>conftest.
$ac_ext <<_ACEOF
24213 /* end confdefs.h. */
24215 /* Override any gcc2 internal prototype to avoid an error. */
24219 /* We use char because int might match the return type of a gcc2
24220 builtin and then its argument prototype would still apply. */
24230 rm -f conftest.
$ac_objext conftest
$ac_exeext
24231 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24232 (eval $ac_link) 2>conftest.er1
24234 grep -v '^ *+' conftest.er1
>conftest.err
24236 cat conftest.err
>&5
24237 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24238 (exit $ac_status); } &&
24239 { ac_try
='test -z "$ac_c_werror_flag"
24240 || test ! -s conftest.err'
24241 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24242 (eval $ac_try) 2>&5
24244 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24245 (exit $ac_status); }; } &&
24246 { ac_try
='test -s conftest$ac_exeext'
24247 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24248 (eval $ac_try) 2>&5
24250 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24251 (exit $ac_status); }; }; then
24252 ac_cv_lib_socket_connect
=yes
24254 echo "$as_me: failed program was:" >&5
24255 sed 's/^/| /' conftest.
$ac_ext >&5
24257 ac_cv_lib_socket_connect
=no
24259 rm -f conftest.err conftest.
$ac_objext \
24260 conftest
$ac_exeext conftest.
$ac_ext
24261 LIBS
=$ac_check_lib_save_LIBS
24263 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5
24264 echo "${ECHO_T}$ac_cv_lib_socket_connect" >&6
24265 if test $ac_cv_lib_socket_connect = yes; then
24266 X_EXTRA_LIBS
="-lsocket $X_EXTRA_LIBS"
24271 # Guillermo Gomez says -lposix is necessary on A/UX.
24272 echo "$as_me:$LINENO: checking for remove" >&5
24273 echo $ECHO_N "checking for remove... $ECHO_C" >&6
24274 if test "${ac_cv_func_remove+set}" = set; then
24275 echo $ECHO_N "(cached) $ECHO_C" >&6
24277 cat >conftest.
$ac_ext <<_ACEOF
24280 cat confdefs.h
>>conftest.
$ac_ext
24281 cat >>conftest.
$ac_ext <<_ACEOF
24282 /* end confdefs.h. */
24283 /* Define remove to an innocuous variant, in case <limits.h> declares remove.
24284 For example, HP-UX 11i <limits.h> declares gettimeofday. */
24285 #define remove innocuous_remove
24287 /* System header to define __stub macros and hopefully few prototypes,
24288 which can conflict with char remove (); below.
24289 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24290 <limits.h> exists even on freestanding compilers. */
24293 # include <limits.h>
24295 # include <assert.h>
24300 /* Override any gcc2 internal prototype to avoid an error. */
24305 /* We use char because int might match the return type of a gcc2
24306 builtin and then its argument prototype would still apply. */
24308 /* The GNU C library defines this for functions which it implements
24309 to always fail with ENOSYS. Some functions are actually named
24310 something starting with __ and the normal name is an alias. */
24311 #if defined (__stub_remove) || defined (__stub___remove)
24314 char (*f) () = remove;
24323 return f != remove;
24328 rm -f conftest.
$ac_objext conftest
$ac_exeext
24329 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24330 (eval $ac_link) 2>conftest.er1
24332 grep -v '^ *+' conftest.er1
>conftest.err
24334 cat conftest.err
>&5
24335 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24336 (exit $ac_status); } &&
24337 { ac_try
='test -z "$ac_c_werror_flag"
24338 || test ! -s conftest.err'
24339 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24340 (eval $ac_try) 2>&5
24342 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24343 (exit $ac_status); }; } &&
24344 { ac_try
='test -s conftest$ac_exeext'
24345 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24346 (eval $ac_try) 2>&5
24348 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24349 (exit $ac_status); }; }; then
24350 ac_cv_func_remove
=yes
24352 echo "$as_me: failed program was:" >&5
24353 sed 's/^/| /' conftest.
$ac_ext >&5
24355 ac_cv_func_remove
=no
24357 rm -f conftest.err conftest.
$ac_objext \
24358 conftest
$ac_exeext conftest.
$ac_ext
24360 echo "$as_me:$LINENO: result: $ac_cv_func_remove" >&5
24361 echo "${ECHO_T}$ac_cv_func_remove" >&6
24363 if test $ac_cv_func_remove = no
; then
24364 echo "$as_me:$LINENO: checking for remove in -lposix" >&5
24365 echo $ECHO_N "checking for remove in -lposix... $ECHO_C" >&6
24366 if test "${ac_cv_lib_posix_remove+set}" = set; then
24367 echo $ECHO_N "(cached) $ECHO_C" >&6
24369 ac_check_lib_save_LIBS
=$LIBS
24370 LIBS
="-lposix $LIBS"
24371 cat >conftest.
$ac_ext <<_ACEOF
24374 cat confdefs.h
>>conftest.
$ac_ext
24375 cat >>conftest.
$ac_ext <<_ACEOF
24376 /* end confdefs.h. */
24378 /* Override any gcc2 internal prototype to avoid an error. */
24382 /* We use char because int might match the return type of a gcc2
24383 builtin and then its argument prototype would still apply. */
24393 rm -f conftest.
$ac_objext conftest
$ac_exeext
24394 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24395 (eval $ac_link) 2>conftest.er1
24397 grep -v '^ *+' conftest.er1
>conftest.err
24399 cat conftest.err
>&5
24400 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24401 (exit $ac_status); } &&
24402 { ac_try
='test -z "$ac_c_werror_flag"
24403 || test ! -s conftest.err'
24404 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24405 (eval $ac_try) 2>&5
24407 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24408 (exit $ac_status); }; } &&
24409 { ac_try
='test -s conftest$ac_exeext'
24410 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24411 (eval $ac_try) 2>&5
24413 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24414 (exit $ac_status); }; }; then
24415 ac_cv_lib_posix_remove
=yes
24417 echo "$as_me: failed program was:" >&5
24418 sed 's/^/| /' conftest.
$ac_ext >&5
24420 ac_cv_lib_posix_remove
=no
24422 rm -f conftest.err conftest.
$ac_objext \
24423 conftest
$ac_exeext conftest.
$ac_ext
24424 LIBS
=$ac_check_lib_save_LIBS
24426 echo "$as_me:$LINENO: result: $ac_cv_lib_posix_remove" >&5
24427 echo "${ECHO_T}$ac_cv_lib_posix_remove" >&6
24428 if test $ac_cv_lib_posix_remove = yes; then
24429 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lposix"
24434 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
24435 echo "$as_me:$LINENO: checking for shmat" >&5
24436 echo $ECHO_N "checking for shmat... $ECHO_C" >&6
24437 if test "${ac_cv_func_shmat+set}" = set; then
24438 echo $ECHO_N "(cached) $ECHO_C" >&6
24440 cat >conftest.
$ac_ext <<_ACEOF
24443 cat confdefs.h
>>conftest.
$ac_ext
24444 cat >>conftest.
$ac_ext <<_ACEOF
24445 /* end confdefs.h. */
24446 /* Define shmat to an innocuous variant, in case <limits.h> declares shmat.
24447 For example, HP-UX 11i <limits.h> declares gettimeofday. */
24448 #define shmat innocuous_shmat
24450 /* System header to define __stub macros and hopefully few prototypes,
24451 which can conflict with char shmat (); below.
24452 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24453 <limits.h> exists even on freestanding compilers. */
24456 # include <limits.h>
24458 # include <assert.h>
24463 /* Override any gcc2 internal prototype to avoid an error. */
24468 /* We use char because int might match the return type of a gcc2
24469 builtin and then its argument prototype would still apply. */
24471 /* The GNU C library defines this for functions which it implements
24472 to always fail with ENOSYS. Some functions are actually named
24473 something starting with __ and the normal name is an alias. */
24474 #if defined (__stub_shmat) || defined (__stub___shmat)
24477 char (*f) () = shmat;
24491 rm -f conftest.
$ac_objext conftest
$ac_exeext
24492 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24493 (eval $ac_link) 2>conftest.er1
24495 grep -v '^ *+' conftest.er1
>conftest.err
24497 cat conftest.err
>&5
24498 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24499 (exit $ac_status); } &&
24500 { ac_try
='test -z "$ac_c_werror_flag"
24501 || test ! -s conftest.err'
24502 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24503 (eval $ac_try) 2>&5
24505 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24506 (exit $ac_status); }; } &&
24507 { ac_try
='test -s conftest$ac_exeext'
24508 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24509 (eval $ac_try) 2>&5
24511 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24512 (exit $ac_status); }; }; then
24513 ac_cv_func_shmat
=yes
24515 echo "$as_me: failed program was:" >&5
24516 sed 's/^/| /' conftest.
$ac_ext >&5
24518 ac_cv_func_shmat
=no
24520 rm -f conftest.err conftest.
$ac_objext \
24521 conftest
$ac_exeext conftest.
$ac_ext
24523 echo "$as_me:$LINENO: result: $ac_cv_func_shmat" >&5
24524 echo "${ECHO_T}$ac_cv_func_shmat" >&6
24526 if test $ac_cv_func_shmat = no
; then
24527 echo "$as_me:$LINENO: checking for shmat in -lipc" >&5
24528 echo $ECHO_N "checking for shmat in -lipc... $ECHO_C" >&6
24529 if test "${ac_cv_lib_ipc_shmat+set}" = set; then
24530 echo $ECHO_N "(cached) $ECHO_C" >&6
24532 ac_check_lib_save_LIBS
=$LIBS
24534 cat >conftest.
$ac_ext <<_ACEOF
24537 cat confdefs.h
>>conftest.
$ac_ext
24538 cat >>conftest.
$ac_ext <<_ACEOF
24539 /* end confdefs.h. */
24541 /* Override any gcc2 internal prototype to avoid an error. */
24545 /* We use char because int might match the return type of a gcc2
24546 builtin and then its argument prototype would still apply. */
24556 rm -f conftest.
$ac_objext conftest
$ac_exeext
24557 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24558 (eval $ac_link) 2>conftest.er1
24560 grep -v '^ *+' conftest.er1
>conftest.err
24562 cat conftest.err
>&5
24563 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24564 (exit $ac_status); } &&
24565 { ac_try
='test -z "$ac_c_werror_flag"
24566 || test ! -s conftest.err'
24567 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24568 (eval $ac_try) 2>&5
24570 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24571 (exit $ac_status); }; } &&
24572 { ac_try
='test -s conftest$ac_exeext'
24573 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24574 (eval $ac_try) 2>&5
24576 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24577 (exit $ac_status); }; }; then
24578 ac_cv_lib_ipc_shmat
=yes
24580 echo "$as_me: failed program was:" >&5
24581 sed 's/^/| /' conftest.
$ac_ext >&5
24583 ac_cv_lib_ipc_shmat
=no
24585 rm -f conftest.err conftest.
$ac_objext \
24586 conftest
$ac_exeext conftest.
$ac_ext
24587 LIBS
=$ac_check_lib_save_LIBS
24589 echo "$as_me:$LINENO: result: $ac_cv_lib_ipc_shmat" >&5
24590 echo "${ECHO_T}$ac_cv_lib_ipc_shmat" >&6
24591 if test $ac_cv_lib_ipc_shmat = yes; then
24592 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lipc"
24598 # Check for libraries that X11R6 Xt/Xaw programs need.
24599 ac_save_LDFLAGS
=$LDFLAGS
24600 test -n "$x_libraries" && LDFLAGS
="$LDFLAGS -L$x_libraries"
24601 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
24602 # check for ICE first), but we must link in the order -lSM -lICE or
24603 # we get undefined symbols. So assume we have SM if we have ICE.
24604 # These have to be linked with before -lX11, unlike the other
24605 # libraries we check for below, so use a different variable.
24606 # John Interrante, Karl Berry
24607 echo "$as_me:$LINENO: checking for IceConnectionNumber in -lICE" >&5
24608 echo $ECHO_N "checking for IceConnectionNumber in -lICE... $ECHO_C" >&6
24609 if test "${ac_cv_lib_ICE_IceConnectionNumber+set}" = set; then
24610 echo $ECHO_N "(cached) $ECHO_C" >&6
24612 ac_check_lib_save_LIBS
=$LIBS
24613 LIBS
="-lICE $X_EXTRA_LIBS $LIBS"
24614 cat >conftest.
$ac_ext <<_ACEOF
24617 cat confdefs.h
>>conftest.
$ac_ext
24618 cat >>conftest.
$ac_ext <<_ACEOF
24619 /* end confdefs.h. */
24621 /* Override any gcc2 internal prototype to avoid an error. */
24625 /* We use char because int might match the return type of a gcc2
24626 builtin and then its argument prototype would still apply. */
24627 char IceConnectionNumber ();
24631 IceConnectionNumber ();
24636 rm -f conftest.
$ac_objext conftest
$ac_exeext
24637 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24638 (eval $ac_link) 2>conftest.er1
24640 grep -v '^ *+' conftest.er1
>conftest.err
24642 cat conftest.err
>&5
24643 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24644 (exit $ac_status); } &&
24645 { ac_try
='test -z "$ac_c_werror_flag"
24646 || test ! -s conftest.err'
24647 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24648 (eval $ac_try) 2>&5
24650 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24651 (exit $ac_status); }; } &&
24652 { ac_try
='test -s conftest$ac_exeext'
24653 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24654 (eval $ac_try) 2>&5
24656 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24657 (exit $ac_status); }; }; then
24658 ac_cv_lib_ICE_IceConnectionNumber
=yes
24660 echo "$as_me: failed program was:" >&5
24661 sed 's/^/| /' conftest.
$ac_ext >&5
24663 ac_cv_lib_ICE_IceConnectionNumber
=no
24665 rm -f conftest.err conftest.
$ac_objext \
24666 conftest
$ac_exeext conftest.
$ac_ext
24667 LIBS
=$ac_check_lib_save_LIBS
24669 echo "$as_me:$LINENO: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
24670 echo "${ECHO_T}$ac_cv_lib_ICE_IceConnectionNumber" >&6
24671 if test $ac_cv_lib_ICE_IceConnectionNumber = yes; then
24672 X_PRE_LIBS
="$X_PRE_LIBS -lSM -lICE"
24675 LDFLAGS
=$ac_save_LDFLAGS
24680 if test "$no_x" = "yes"; then
24681 { { echo "$as_me:$LINENO: error: X11 not found" >&5
24682 echo "$as_me: error: X11 not found" >&2;}
24683 { (exit please use
--x-includes and
/or
--x-libraries options
); exit please use
--x-includes and
/or
--x-libraries options
; }; }
24686 GUI_TK_LIBRARY
="$X_LIBS"
24687 TOOLKIT_INCLUDE
="$X_CFLAGS"
24688 AFMINSTALL
=afminstall
24689 COMPILED_X_PROGRAM
=0
24691 if test "$wxUSE_NANOX" = "yes"; then
24692 echo "$as_me:$LINENO: checking for MicroWindows/NanoX distribution" >&5
24693 echo $ECHO_N "checking for MicroWindows/NanoX distribution... $ECHO_C" >&6
24694 if test "x$MICROWIN" = x
; then
24695 echo "$as_me:$LINENO: result: not found" >&5
24696 echo "${ECHO_T}not found" >&6
24697 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows library. Make sure MICROWIN is set." >&5
24698 echo "$as_me: error: Cannot find MicroWindows library. Make sure MICROWIN is set." >&2;}
24699 { (exit 1); exit 1; }; }
24701 echo "$as_me:$LINENO: result: $MICROWIN" >&5
24702 echo "${ECHO_T}$MICROWIN" >&6
24703 cat >>confdefs.h
<<\_ACEOF
24704 #define wxUSE_NANOX 1
24710 if test "$wxUSE_UNICODE" = "yes"; then
24714 if test -z "$PKG_CONFIG"; then
24715 # Extract the first word of "pkg-config", so it can be a program name with args.
24716 set dummy pkg
-config; ac_word
=$2
24717 echo "$as_me:$LINENO: checking for $ac_word" >&5
24718 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
24719 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
24720 echo $ECHO_N "(cached) $ECHO_C" >&6
24722 case $PKG_CONFIG in
24724 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
24727 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
24728 for as_dir
in $PATH
24731 test -z "$as_dir" && as_dir
=.
24732 for ac_exec_ext
in '' $ac_executable_extensions; do
24733 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
24734 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
24735 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
24741 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
24745 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
24747 if test -n "$PKG_CONFIG"; then
24748 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
24749 echo "${ECHO_T}$PKG_CONFIG" >&6
24751 echo "$as_me:$LINENO: result: no" >&5
24752 echo "${ECHO_T}no" >&6
24757 if test "$PKG_CONFIG" = "no" ; then
24758 echo "*** The pkg-config script could not be found. Make sure it is"
24759 echo "*** in your path, or set the PKG_CONFIG environment variable"
24760 echo "*** to the full path to pkg-config."
24761 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
24763 PKG_CONFIG_MIN_VERSION
=0.9.0
24764 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
24765 echo "$as_me:$LINENO: checking for pangox" >&5
24766 echo $ECHO_N "checking for pangox... $ECHO_C" >&6
24768 if $PKG_CONFIG --exists "pangox" ; then
24769 echo "$as_me:$LINENO: result: yes" >&5
24770 echo "${ECHO_T}yes" >&6
24773 echo "$as_me:$LINENO: checking PANGOX_CFLAGS" >&5
24774 echo $ECHO_N "checking PANGOX_CFLAGS... $ECHO_C" >&6
24775 PANGOX_CFLAGS
=`$PKG_CONFIG --cflags "pangox"`
24776 echo "$as_me:$LINENO: result: $PANGOX_CFLAGS" >&5
24777 echo "${ECHO_T}$PANGOX_CFLAGS" >&6
24779 echo "$as_me:$LINENO: checking PANGOX_LIBS" >&5
24780 echo $ECHO_N "checking PANGOX_LIBS... $ECHO_C" >&6
24781 PANGOX_LIBS
=`$PKG_CONFIG --libs "pangox"`
24782 echo "$as_me:$LINENO: result: $PANGOX_LIBS" >&5
24783 echo "${ECHO_T}$PANGOX_LIBS" >&6
24787 ## If we have a custom action on failure, don't print errors, but
24788 ## do set a variable so people can do so.
24789 PANGOX_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "pangox"`
24796 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
24797 echo "*** See http://www.freedesktop.org/software/pkgconfig"
24801 if test $succeeded = yes; then
24803 CXXFLAGS
="$CXXFLAGS $PANGOX_CFLAGS"
24804 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY $PANGOX_LIBS"
24808 { { echo "$as_me:$LINENO: error: pangox library not found, library cannot be compiled in Unicode mode" >&5
24809 echo "$as_me: error: pangox library not found, library cannot be compiled in Unicode mode" >&2;}
24810 { (exit 1); exit 1; }; }
24818 if test -z "$PKG_CONFIG"; then
24819 # Extract the first word of "pkg-config", so it can be a program name with args.
24820 set dummy pkg
-config; ac_word
=$2
24821 echo "$as_me:$LINENO: checking for $ac_word" >&5
24822 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
24823 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
24824 echo $ECHO_N "(cached) $ECHO_C" >&6
24826 case $PKG_CONFIG in
24828 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
24831 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
24832 for as_dir
in $PATH
24835 test -z "$as_dir" && as_dir
=.
24836 for ac_exec_ext
in '' $ac_executable_extensions; do
24837 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
24838 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
24839 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
24845 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
24849 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
24851 if test -n "$PKG_CONFIG"; then
24852 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
24853 echo "${ECHO_T}$PKG_CONFIG" >&6
24855 echo "$as_me:$LINENO: result: no" >&5
24856 echo "${ECHO_T}no" >&6
24861 if test "$PKG_CONFIG" = "no" ; then
24862 echo "*** The pkg-config script could not be found. Make sure it is"
24863 echo "*** in your path, or set the PKG_CONFIG environment variable"
24864 echo "*** to the full path to pkg-config."
24865 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
24867 PKG_CONFIG_MIN_VERSION
=0.9.0
24868 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
24869 echo "$as_me:$LINENO: checking for pangoft2" >&5
24870 echo $ECHO_N "checking for pangoft2... $ECHO_C" >&6
24872 if $PKG_CONFIG --exists "pangoft2" ; then
24873 echo "$as_me:$LINENO: result: yes" >&5
24874 echo "${ECHO_T}yes" >&6
24877 echo "$as_me:$LINENO: checking PANGOFT2_CFLAGS" >&5
24878 echo $ECHO_N "checking PANGOFT2_CFLAGS... $ECHO_C" >&6
24879 PANGOFT2_CFLAGS
=`$PKG_CONFIG --cflags "pangoft2"`
24880 echo "$as_me:$LINENO: result: $PANGOFT2_CFLAGS" >&5
24881 echo "${ECHO_T}$PANGOFT2_CFLAGS" >&6
24883 echo "$as_me:$LINENO: checking PANGOFT2_LIBS" >&5
24884 echo $ECHO_N "checking PANGOFT2_LIBS... $ECHO_C" >&6
24885 PANGOFT2_LIBS
=`$PKG_CONFIG --libs "pangoft2"`
24886 echo "$as_me:$LINENO: result: $PANGOFT2_LIBS" >&5
24887 echo "${ECHO_T}$PANGOFT2_LIBS" >&6
24891 ## If we have a custom action on failure, don't print errors, but
24892 ## do set a variable so people can do so.
24893 PANGOFT2_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoft2"`
24900 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
24901 echo "*** See http://www.freedesktop.org/software/pkgconfig"
24905 if test $succeeded = yes; then
24907 CXXFLAGS
="$CXXFLAGS $PANGOFT2_CFLAGS"
24908 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY $PANGOFT2_LIBS"
24912 { echo "$as_me:$LINENO: WARNING: pangoft2 library not found, library will be compiled without printing support" >&5
24913 echo "$as_me: WARNING: pangoft2 library not found, library will be compiled without printing support" >&2;}
24914 wxUSE_PRINTING_ARCHITECTURE
="no"
24922 if test -z "$PKG_CONFIG"; then
24923 # Extract the first word of "pkg-config", so it can be a program name with args.
24924 set dummy pkg
-config; ac_word
=$2
24925 echo "$as_me:$LINENO: checking for $ac_word" >&5
24926 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
24927 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
24928 echo $ECHO_N "(cached) $ECHO_C" >&6
24930 case $PKG_CONFIG in
24932 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
24935 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
24936 for as_dir
in $PATH
24939 test -z "$as_dir" && as_dir
=.
24940 for ac_exec_ext
in '' $ac_executable_extensions; do
24941 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
24942 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
24943 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
24949 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
24953 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
24955 if test -n "$PKG_CONFIG"; then
24956 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
24957 echo "${ECHO_T}$PKG_CONFIG" >&6
24959 echo "$as_me:$LINENO: result: no" >&5
24960 echo "${ECHO_T}no" >&6
24965 if test "$PKG_CONFIG" = "no" ; then
24966 echo "*** The pkg-config script could not be found. Make sure it is"
24967 echo "*** in your path, or set the PKG_CONFIG environment variable"
24968 echo "*** to the full path to pkg-config."
24969 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
24971 PKG_CONFIG_MIN_VERSION
=0.9.0
24972 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
24973 echo "$as_me:$LINENO: checking for pangoxft" >&5
24974 echo $ECHO_N "checking for pangoxft... $ECHO_C" >&6
24976 if $PKG_CONFIG --exists "pangoxft" ; then
24977 echo "$as_me:$LINENO: result: yes" >&5
24978 echo "${ECHO_T}yes" >&6
24981 echo "$as_me:$LINENO: checking PANGOXFT_CFLAGS" >&5
24982 echo $ECHO_N "checking PANGOXFT_CFLAGS... $ECHO_C" >&6
24983 PANGOXFT_CFLAGS
=`$PKG_CONFIG --cflags "pangoxft"`
24984 echo "$as_me:$LINENO: result: $PANGOXFT_CFLAGS" >&5
24985 echo "${ECHO_T}$PANGOXFT_CFLAGS" >&6
24987 echo "$as_me:$LINENO: checking PANGOXFT_LIBS" >&5
24988 echo $ECHO_N "checking PANGOXFT_LIBS... $ECHO_C" >&6
24989 PANGOXFT_LIBS
=`$PKG_CONFIG --libs "pangoxft"`
24990 echo "$as_me:$LINENO: result: $PANGOXFT_LIBS" >&5
24991 echo "${ECHO_T}$PANGOXFT_LIBS" >&6
24995 ## If we have a custom action on failure, don't print errors, but
24996 ## do set a variable so people can do so.
24997 PANGOXFT_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoxft"`
25004 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
25005 echo "*** See http://www.freedesktop.org/software/pkgconfig"
25009 if test $succeeded = yes; then
25011 CXXFLAGS
="$CXXFLAGS $PANGOXFT_CFLAGS"
25012 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY $PANGOXFT_LIBS"
25016 { echo "$as_me:$LINENO: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&5
25017 echo "$as_me: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&2;}
25024 wxUSE_UNIVERSAL
="yes"
25026 if test "$wxUSE_NANOX" = "yes"; then
25027 TOOLKIT_INCLUDE
="-I\$(top_srcdir)/include/wx/x11/nanox -I\$(MICROWIN)/src/include $TOOLKIT_INCLUDE"
25028 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"
25029 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY \$(MICROWIN)/src/lib/libnano-X.a"
25031 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lX11"
25034 TOOLKIT_VPATH
="\${top_srcdir}/src/x11"
25039 if test "$wxUSE_MOTIF" = 1; then
25040 if test "$no_x" = yes; then
25041 # Not all programs may use this symbol, but it does not hurt to define it.
25043 cat >>confdefs.h
<<\_ACEOF
25044 #define X_DISPLAY_MISSING 1
25047 X_CFLAGS
= X_PRE_LIBS
= X_LIBS
= X_EXTRA_LIBS
=
25049 if test -n "$x_includes"; then
25050 X_CFLAGS
="$X_CFLAGS -I$x_includes"
25053 # It would also be nice to do this for all -L options, not just this one.
25054 if test -n "$x_libraries"; then
25055 X_LIBS
="$X_LIBS -L$x_libraries"
25056 # For Solaris; some versions of Sun CC require a space after -R and
25057 # others require no space. Words are not sufficient . . . .
25058 case `(uname -sr) 2>/dev/null` in
25060 echo "$as_me:$LINENO: checking whether -R must be followed by a space" >&5
25061 echo $ECHO_N "checking whether -R must be followed by a space... $ECHO_C" >&6
25062 ac_xsave_LIBS
=$LIBS; LIBS
="$LIBS -R$x_libraries"
25063 cat >conftest.
$ac_ext <<_ACEOF
25066 cat confdefs.h
>>conftest.
$ac_ext
25067 cat >>conftest.
$ac_ext <<_ACEOF
25068 /* end confdefs.h. */
25078 rm -f conftest.
$ac_objext conftest
$ac_exeext
25079 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25080 (eval $ac_link) 2>conftest.er1
25082 grep -v '^ *+' conftest.er1
>conftest.err
25084 cat conftest.err
>&5
25085 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25086 (exit $ac_status); } &&
25087 { ac_try
='test -z "$ac_c_werror_flag"
25088 || test ! -s conftest.err'
25089 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25090 (eval $ac_try) 2>&5
25092 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25093 (exit $ac_status); }; } &&
25094 { ac_try
='test -s conftest$ac_exeext'
25095 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25096 (eval $ac_try) 2>&5
25098 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25099 (exit $ac_status); }; }; then
25102 echo "$as_me: failed program was:" >&5
25103 sed 's/^/| /' conftest.
$ac_ext >&5
25107 rm -f conftest.err conftest.
$ac_objext \
25108 conftest
$ac_exeext conftest.
$ac_ext
25109 if test $ac_R_nospace = yes; then
25110 echo "$as_me:$LINENO: result: no" >&5
25111 echo "${ECHO_T}no" >&6
25112 X_LIBS
="$X_LIBS -R$x_libraries"
25114 LIBS
="$ac_xsave_LIBS -R $x_libraries"
25115 cat >conftest.
$ac_ext <<_ACEOF
25118 cat confdefs.h
>>conftest.
$ac_ext
25119 cat >>conftest.
$ac_ext <<_ACEOF
25120 /* end confdefs.h. */
25130 rm -f conftest.
$ac_objext conftest
$ac_exeext
25131 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25132 (eval $ac_link) 2>conftest.er1
25134 grep -v '^ *+' conftest.er1
>conftest.err
25136 cat conftest.err
>&5
25137 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25138 (exit $ac_status); } &&
25139 { ac_try
='test -z "$ac_c_werror_flag"
25140 || test ! -s conftest.err'
25141 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25142 (eval $ac_try) 2>&5
25144 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25145 (exit $ac_status); }; } &&
25146 { ac_try
='test -s conftest$ac_exeext'
25147 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25148 (eval $ac_try) 2>&5
25150 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25151 (exit $ac_status); }; }; then
25154 echo "$as_me: failed program was:" >&5
25155 sed 's/^/| /' conftest.
$ac_ext >&5
25159 rm -f conftest.err conftest.
$ac_objext \
25160 conftest
$ac_exeext conftest.
$ac_ext
25161 if test $ac_R_space = yes; then
25162 echo "$as_me:$LINENO: result: yes" >&5
25163 echo "${ECHO_T}yes" >&6
25164 X_LIBS
="$X_LIBS -R $x_libraries"
25166 echo "$as_me:$LINENO: result: neither works" >&5
25167 echo "${ECHO_T}neither works" >&6
25170 LIBS
=$ac_xsave_LIBS
25174 # Check for system-dependent libraries X programs must link with.
25175 # Do this before checking for the system-independent R6 libraries
25176 # (-lICE), since we may need -lsocket or whatever for X linking.
25178 if test "$ISC" = yes; then
25179 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl_s -linet"
25181 # Martyn Johnson says this is needed for Ultrix, if the X
25182 # libraries were built with DECnet support. And Karl Berry says
25183 # the Alpha needs dnet_stub (dnet does not exist).
25184 ac_xsave_LIBS
="$LIBS"; LIBS
="$LIBS $X_LIBS -lX11"
25185 cat >conftest.
$ac_ext <<_ACEOF
25188 cat confdefs.h
>>conftest.
$ac_ext
25189 cat >>conftest.
$ac_ext <<_ACEOF
25190 /* end confdefs.h. */
25192 /* Override any gcc2 internal prototype to avoid an error. */
25196 /* We use char because int might match the return type of a gcc2
25197 builtin and then its argument prototype would still apply. */
25198 char XOpenDisplay ();
25207 rm -f conftest.
$ac_objext conftest
$ac_exeext
25208 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25209 (eval $ac_link) 2>conftest.er1
25211 grep -v '^ *+' conftest.er1
>conftest.err
25213 cat conftest.err
>&5
25214 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25215 (exit $ac_status); } &&
25216 { ac_try
='test -z "$ac_c_werror_flag"
25217 || test ! -s conftest.err'
25218 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25219 (eval $ac_try) 2>&5
25221 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25222 (exit $ac_status); }; } &&
25223 { ac_try
='test -s conftest$ac_exeext'
25224 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25225 (eval $ac_try) 2>&5
25227 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25228 (exit $ac_status); }; }; then
25231 echo "$as_me: failed program was:" >&5
25232 sed 's/^/| /' conftest.
$ac_ext >&5
25234 echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet" >&5
25235 echo $ECHO_N "checking for dnet_ntoa in -ldnet... $ECHO_C" >&6
25236 if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then
25237 echo $ECHO_N "(cached) $ECHO_C" >&6
25239 ac_check_lib_save_LIBS
=$LIBS
25240 LIBS
="-ldnet $LIBS"
25241 cat >conftest.
$ac_ext <<_ACEOF
25244 cat confdefs.h
>>conftest.
$ac_ext
25245 cat >>conftest.
$ac_ext <<_ACEOF
25246 /* end confdefs.h. */
25248 /* Override any gcc2 internal prototype to avoid an error. */
25252 /* We use char because int might match the return type of a gcc2
25253 builtin and then its argument prototype would still apply. */
25263 rm -f conftest.
$ac_objext conftest
$ac_exeext
25264 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25265 (eval $ac_link) 2>conftest.er1
25267 grep -v '^ *+' conftest.er1
>conftest.err
25269 cat conftest.err
>&5
25270 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25271 (exit $ac_status); } &&
25272 { ac_try
='test -z "$ac_c_werror_flag"
25273 || test ! -s conftest.err'
25274 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25275 (eval $ac_try) 2>&5
25277 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25278 (exit $ac_status); }; } &&
25279 { ac_try
='test -s conftest$ac_exeext'
25280 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25281 (eval $ac_try) 2>&5
25283 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25284 (exit $ac_status); }; }; then
25285 ac_cv_lib_dnet_dnet_ntoa
=yes
25287 echo "$as_me: failed program was:" >&5
25288 sed 's/^/| /' conftest.
$ac_ext >&5
25290 ac_cv_lib_dnet_dnet_ntoa
=no
25292 rm -f conftest.err conftest.
$ac_objext \
25293 conftest
$ac_exeext conftest.
$ac_ext
25294 LIBS
=$ac_check_lib_save_LIBS
25296 echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
25297 echo "${ECHO_T}$ac_cv_lib_dnet_dnet_ntoa" >&6
25298 if test $ac_cv_lib_dnet_dnet_ntoa = yes; then
25299 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet"
25302 if test $ac_cv_lib_dnet_dnet_ntoa = no
; then
25303 echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet_stub" >&5
25304 echo $ECHO_N "checking for dnet_ntoa in -ldnet_stub... $ECHO_C" >&6
25305 if test "${ac_cv_lib_dnet_stub_dnet_ntoa+set}" = set; then
25306 echo $ECHO_N "(cached) $ECHO_C" >&6
25308 ac_check_lib_save_LIBS
=$LIBS
25309 LIBS
="-ldnet_stub $LIBS"
25310 cat >conftest.
$ac_ext <<_ACEOF
25313 cat confdefs.h
>>conftest.
$ac_ext
25314 cat >>conftest.
$ac_ext <<_ACEOF
25315 /* end confdefs.h. */
25317 /* Override any gcc2 internal prototype to avoid an error. */
25321 /* We use char because int might match the return type of a gcc2
25322 builtin and then its argument prototype would still apply. */
25332 rm -f conftest.
$ac_objext conftest
$ac_exeext
25333 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25334 (eval $ac_link) 2>conftest.er1
25336 grep -v '^ *+' conftest.er1
>conftest.err
25338 cat conftest.err
>&5
25339 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25340 (exit $ac_status); } &&
25341 { ac_try
='test -z "$ac_c_werror_flag"
25342 || test ! -s conftest.err'
25343 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25344 (eval $ac_try) 2>&5
25346 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25347 (exit $ac_status); }; } &&
25348 { ac_try
='test -s conftest$ac_exeext'
25349 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25350 (eval $ac_try) 2>&5
25352 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25353 (exit $ac_status); }; }; then
25354 ac_cv_lib_dnet_stub_dnet_ntoa
=yes
25356 echo "$as_me: failed program was:" >&5
25357 sed 's/^/| /' conftest.
$ac_ext >&5
25359 ac_cv_lib_dnet_stub_dnet_ntoa
=no
25361 rm -f conftest.err conftest.
$ac_objext \
25362 conftest
$ac_exeext conftest.
$ac_ext
25363 LIBS
=$ac_check_lib_save_LIBS
25365 echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
25366 echo "${ECHO_T}$ac_cv_lib_dnet_stub_dnet_ntoa" >&6
25367 if test $ac_cv_lib_dnet_stub_dnet_ntoa = yes; then
25368 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet_stub"
25373 rm -f conftest.err conftest.
$ac_objext \
25374 conftest
$ac_exeext conftest.
$ac_ext
25375 LIBS
="$ac_xsave_LIBS"
25377 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
25378 # to get the SysV transport functions.
25379 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
25381 # The nsl library prevents programs from opening the X display
25382 # on Irix 5.2, according to T.E. Dickey.
25383 # The functions gethostbyname, getservbyname, and inet_addr are
25384 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
25385 echo "$as_me:$LINENO: checking for gethostbyname" >&5
25386 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6
25387 if test "${ac_cv_func_gethostbyname+set}" = set; then
25388 echo $ECHO_N "(cached) $ECHO_C" >&6
25390 cat >conftest.
$ac_ext <<_ACEOF
25393 cat confdefs.h
>>conftest.
$ac_ext
25394 cat >>conftest.
$ac_ext <<_ACEOF
25395 /* end confdefs.h. */
25396 /* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
25397 For example, HP-UX 11i <limits.h> declares gettimeofday. */
25398 #define gethostbyname innocuous_gethostbyname
25400 /* System header to define __stub macros and hopefully few prototypes,
25401 which can conflict with char gethostbyname (); below.
25402 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25403 <limits.h> exists even on freestanding compilers. */
25406 # include <limits.h>
25408 # include <assert.h>
25411 #undef gethostbyname
25413 /* Override any gcc2 internal prototype to avoid an error. */
25418 /* We use char because int might match the return type of a gcc2
25419 builtin and then its argument prototype would still apply. */
25420 char gethostbyname ();
25421 /* The GNU C library defines this for functions which it implements
25422 to always fail with ENOSYS. Some functions are actually named
25423 something starting with __ and the normal name is an alias. */
25424 #if defined (__stub_gethostbyname) || defined (__stub___gethostbyname)
25427 char (*f) () = gethostbyname;
25436 return f != gethostbyname;
25441 rm -f conftest.
$ac_objext conftest
$ac_exeext
25442 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25443 (eval $ac_link) 2>conftest.er1
25445 grep -v '^ *+' conftest.er1
>conftest.err
25447 cat conftest.err
>&5
25448 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25449 (exit $ac_status); } &&
25450 { ac_try
='test -z "$ac_c_werror_flag"
25451 || test ! -s conftest.err'
25452 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25453 (eval $ac_try) 2>&5
25455 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25456 (exit $ac_status); }; } &&
25457 { ac_try
='test -s conftest$ac_exeext'
25458 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25459 (eval $ac_try) 2>&5
25461 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25462 (exit $ac_status); }; }; then
25463 ac_cv_func_gethostbyname
=yes
25465 echo "$as_me: failed program was:" >&5
25466 sed 's/^/| /' conftest.
$ac_ext >&5
25468 ac_cv_func_gethostbyname
=no
25470 rm -f conftest.err conftest.
$ac_objext \
25471 conftest
$ac_exeext conftest.
$ac_ext
25473 echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
25474 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6
25476 if test $ac_cv_func_gethostbyname = no
; then
25477 echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
25478 echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6
25479 if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
25480 echo $ECHO_N "(cached) $ECHO_C" >&6
25482 ac_check_lib_save_LIBS
=$LIBS
25484 cat >conftest.
$ac_ext <<_ACEOF
25487 cat confdefs.h
>>conftest.
$ac_ext
25488 cat >>conftest.
$ac_ext <<_ACEOF
25489 /* end confdefs.h. */
25491 /* Override any gcc2 internal prototype to avoid an error. */
25495 /* We use char because int might match the return type of a gcc2
25496 builtin and then its argument prototype would still apply. */
25497 char gethostbyname ();
25506 rm -f conftest.
$ac_objext conftest
$ac_exeext
25507 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25508 (eval $ac_link) 2>conftest.er1
25510 grep -v '^ *+' conftest.er1
>conftest.err
25512 cat conftest.err
>&5
25513 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25514 (exit $ac_status); } &&
25515 { ac_try
='test -z "$ac_c_werror_flag"
25516 || test ! -s conftest.err'
25517 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25518 (eval $ac_try) 2>&5
25520 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25521 (exit $ac_status); }; } &&
25522 { ac_try
='test -s conftest$ac_exeext'
25523 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25524 (eval $ac_try) 2>&5
25526 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25527 (exit $ac_status); }; }; then
25528 ac_cv_lib_nsl_gethostbyname
=yes
25530 echo "$as_me: failed program was:" >&5
25531 sed 's/^/| /' conftest.
$ac_ext >&5
25533 ac_cv_lib_nsl_gethostbyname
=no
25535 rm -f conftest.err conftest.
$ac_objext \
25536 conftest
$ac_exeext conftest.
$ac_ext
25537 LIBS
=$ac_check_lib_save_LIBS
25539 echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
25540 echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6
25541 if test $ac_cv_lib_nsl_gethostbyname = yes; then
25542 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl"
25545 if test $ac_cv_lib_nsl_gethostbyname = no
; then
25546 echo "$as_me:$LINENO: checking for gethostbyname in -lbsd" >&5
25547 echo $ECHO_N "checking for gethostbyname in -lbsd... $ECHO_C" >&6
25548 if test "${ac_cv_lib_bsd_gethostbyname+set}" = set; then
25549 echo $ECHO_N "(cached) $ECHO_C" >&6
25551 ac_check_lib_save_LIBS
=$LIBS
25553 cat >conftest.
$ac_ext <<_ACEOF
25556 cat confdefs.h
>>conftest.
$ac_ext
25557 cat >>conftest.
$ac_ext <<_ACEOF
25558 /* end confdefs.h. */
25560 /* Override any gcc2 internal prototype to avoid an error. */
25564 /* We use char because int might match the return type of a gcc2
25565 builtin and then its argument prototype would still apply. */
25566 char gethostbyname ();
25575 rm -f conftest.
$ac_objext conftest
$ac_exeext
25576 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25577 (eval $ac_link) 2>conftest.er1
25579 grep -v '^ *+' conftest.er1
>conftest.err
25581 cat conftest.err
>&5
25582 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25583 (exit $ac_status); } &&
25584 { ac_try
='test -z "$ac_c_werror_flag"
25585 || test ! -s conftest.err'
25586 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25587 (eval $ac_try) 2>&5
25589 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25590 (exit $ac_status); }; } &&
25591 { ac_try
='test -s conftest$ac_exeext'
25592 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25593 (eval $ac_try) 2>&5
25595 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25596 (exit $ac_status); }; }; then
25597 ac_cv_lib_bsd_gethostbyname
=yes
25599 echo "$as_me: failed program was:" >&5
25600 sed 's/^/| /' conftest.
$ac_ext >&5
25602 ac_cv_lib_bsd_gethostbyname
=no
25604 rm -f conftest.err conftest.
$ac_objext \
25605 conftest
$ac_exeext conftest.
$ac_ext
25606 LIBS
=$ac_check_lib_save_LIBS
25608 echo "$as_me:$LINENO: result: $ac_cv_lib_bsd_gethostbyname" >&5
25609 echo "${ECHO_T}$ac_cv_lib_bsd_gethostbyname" >&6
25610 if test $ac_cv_lib_bsd_gethostbyname = yes; then
25611 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lbsd"
25617 # lieder@skyler.mavd.honeywell.com says without -lsocket,
25618 # socket/setsockopt and other routines are undefined under SCO ODT
25619 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
25620 # on later versions), says Simon Leinen: it contains gethostby*
25621 # variants that don't use the name server (or something). -lsocket
25622 # must be given before -lnsl if both are needed. We assume that
25623 # if connect needs -lnsl, so does gethostbyname.
25624 echo "$as_me:$LINENO: checking for connect" >&5
25625 echo $ECHO_N "checking for connect... $ECHO_C" >&6
25626 if test "${ac_cv_func_connect+set}" = set; then
25627 echo $ECHO_N "(cached) $ECHO_C" >&6
25629 cat >conftest.
$ac_ext <<_ACEOF
25632 cat confdefs.h
>>conftest.
$ac_ext
25633 cat >>conftest.
$ac_ext <<_ACEOF
25634 /* end confdefs.h. */
25635 /* Define connect to an innocuous variant, in case <limits.h> declares connect.
25636 For example, HP-UX 11i <limits.h> declares gettimeofday. */
25637 #define connect innocuous_connect
25639 /* System header to define __stub macros and hopefully few prototypes,
25640 which can conflict with char connect (); below.
25641 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25642 <limits.h> exists even on freestanding compilers. */
25645 # include <limits.h>
25647 # include <assert.h>
25652 /* Override any gcc2 internal prototype to avoid an error. */
25657 /* We use char because int might match the return type of a gcc2
25658 builtin and then its argument prototype would still apply. */
25660 /* The GNU C library defines this for functions which it implements
25661 to always fail with ENOSYS. Some functions are actually named
25662 something starting with __ and the normal name is an alias. */
25663 #if defined (__stub_connect) || defined (__stub___connect)
25666 char (*f) () = connect;
25675 return f != connect;
25680 rm -f conftest.
$ac_objext conftest
$ac_exeext
25681 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25682 (eval $ac_link) 2>conftest.er1
25684 grep -v '^ *+' conftest.er1
>conftest.err
25686 cat conftest.err
>&5
25687 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25688 (exit $ac_status); } &&
25689 { ac_try
='test -z "$ac_c_werror_flag"
25690 || test ! -s conftest.err'
25691 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25692 (eval $ac_try) 2>&5
25694 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25695 (exit $ac_status); }; } &&
25696 { ac_try
='test -s conftest$ac_exeext'
25697 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25698 (eval $ac_try) 2>&5
25700 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25701 (exit $ac_status); }; }; then
25702 ac_cv_func_connect
=yes
25704 echo "$as_me: failed program was:" >&5
25705 sed 's/^/| /' conftest.
$ac_ext >&5
25707 ac_cv_func_connect
=no
25709 rm -f conftest.err conftest.
$ac_objext \
25710 conftest
$ac_exeext conftest.
$ac_ext
25712 echo "$as_me:$LINENO: result: $ac_cv_func_connect" >&5
25713 echo "${ECHO_T}$ac_cv_func_connect" >&6
25715 if test $ac_cv_func_connect = no
; then
25716 echo "$as_me:$LINENO: checking for connect in -lsocket" >&5
25717 echo $ECHO_N "checking for connect in -lsocket... $ECHO_C" >&6
25718 if test "${ac_cv_lib_socket_connect+set}" = set; then
25719 echo $ECHO_N "(cached) $ECHO_C" >&6
25721 ac_check_lib_save_LIBS
=$LIBS
25722 LIBS
="-lsocket $X_EXTRA_LIBS $LIBS"
25723 cat >conftest.
$ac_ext <<_ACEOF
25726 cat confdefs.h
>>conftest.
$ac_ext
25727 cat >>conftest.
$ac_ext <<_ACEOF
25728 /* end confdefs.h. */
25730 /* Override any gcc2 internal prototype to avoid an error. */
25734 /* We use char because int might match the return type of a gcc2
25735 builtin and then its argument prototype would still apply. */
25745 rm -f conftest.
$ac_objext conftest
$ac_exeext
25746 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25747 (eval $ac_link) 2>conftest.er1
25749 grep -v '^ *+' conftest.er1
>conftest.err
25751 cat conftest.err
>&5
25752 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25753 (exit $ac_status); } &&
25754 { ac_try
='test -z "$ac_c_werror_flag"
25755 || test ! -s conftest.err'
25756 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25757 (eval $ac_try) 2>&5
25759 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25760 (exit $ac_status); }; } &&
25761 { ac_try
='test -s conftest$ac_exeext'
25762 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25763 (eval $ac_try) 2>&5
25765 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25766 (exit $ac_status); }; }; then
25767 ac_cv_lib_socket_connect
=yes
25769 echo "$as_me: failed program was:" >&5
25770 sed 's/^/| /' conftest.
$ac_ext >&5
25772 ac_cv_lib_socket_connect
=no
25774 rm -f conftest.err conftest.
$ac_objext \
25775 conftest
$ac_exeext conftest.
$ac_ext
25776 LIBS
=$ac_check_lib_save_LIBS
25778 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5
25779 echo "${ECHO_T}$ac_cv_lib_socket_connect" >&6
25780 if test $ac_cv_lib_socket_connect = yes; then
25781 X_EXTRA_LIBS
="-lsocket $X_EXTRA_LIBS"
25786 # Guillermo Gomez says -lposix is necessary on A/UX.
25787 echo "$as_me:$LINENO: checking for remove" >&5
25788 echo $ECHO_N "checking for remove... $ECHO_C" >&6
25789 if test "${ac_cv_func_remove+set}" = set; then
25790 echo $ECHO_N "(cached) $ECHO_C" >&6
25792 cat >conftest.
$ac_ext <<_ACEOF
25795 cat confdefs.h
>>conftest.
$ac_ext
25796 cat >>conftest.
$ac_ext <<_ACEOF
25797 /* end confdefs.h. */
25798 /* Define remove to an innocuous variant, in case <limits.h> declares remove.
25799 For example, HP-UX 11i <limits.h> declares gettimeofday. */
25800 #define remove innocuous_remove
25802 /* System header to define __stub macros and hopefully few prototypes,
25803 which can conflict with char remove (); below.
25804 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25805 <limits.h> exists even on freestanding compilers. */
25808 # include <limits.h>
25810 # include <assert.h>
25815 /* Override any gcc2 internal prototype to avoid an error. */
25820 /* We use char because int might match the return type of a gcc2
25821 builtin and then its argument prototype would still apply. */
25823 /* The GNU C library defines this for functions which it implements
25824 to always fail with ENOSYS. Some functions are actually named
25825 something starting with __ and the normal name is an alias. */
25826 #if defined (__stub_remove) || defined (__stub___remove)
25829 char (*f) () = remove;
25838 return f != remove;
25843 rm -f conftest.
$ac_objext conftest
$ac_exeext
25844 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25845 (eval $ac_link) 2>conftest.er1
25847 grep -v '^ *+' conftest.er1
>conftest.err
25849 cat conftest.err
>&5
25850 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25851 (exit $ac_status); } &&
25852 { ac_try
='test -z "$ac_c_werror_flag"
25853 || test ! -s conftest.err'
25854 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25855 (eval $ac_try) 2>&5
25857 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25858 (exit $ac_status); }; } &&
25859 { ac_try
='test -s conftest$ac_exeext'
25860 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25861 (eval $ac_try) 2>&5
25863 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25864 (exit $ac_status); }; }; then
25865 ac_cv_func_remove
=yes
25867 echo "$as_me: failed program was:" >&5
25868 sed 's/^/| /' conftest.
$ac_ext >&5
25870 ac_cv_func_remove
=no
25872 rm -f conftest.err conftest.
$ac_objext \
25873 conftest
$ac_exeext conftest.
$ac_ext
25875 echo "$as_me:$LINENO: result: $ac_cv_func_remove" >&5
25876 echo "${ECHO_T}$ac_cv_func_remove" >&6
25878 if test $ac_cv_func_remove = no
; then
25879 echo "$as_me:$LINENO: checking for remove in -lposix" >&5
25880 echo $ECHO_N "checking for remove in -lposix... $ECHO_C" >&6
25881 if test "${ac_cv_lib_posix_remove+set}" = set; then
25882 echo $ECHO_N "(cached) $ECHO_C" >&6
25884 ac_check_lib_save_LIBS
=$LIBS
25885 LIBS
="-lposix $LIBS"
25886 cat >conftest.
$ac_ext <<_ACEOF
25889 cat confdefs.h
>>conftest.
$ac_ext
25890 cat >>conftest.
$ac_ext <<_ACEOF
25891 /* end confdefs.h. */
25893 /* Override any gcc2 internal prototype to avoid an error. */
25897 /* We use char because int might match the return type of a gcc2
25898 builtin and then its argument prototype would still apply. */
25908 rm -f conftest.
$ac_objext conftest
$ac_exeext
25909 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25910 (eval $ac_link) 2>conftest.er1
25912 grep -v '^ *+' conftest.er1
>conftest.err
25914 cat conftest.err
>&5
25915 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25916 (exit $ac_status); } &&
25917 { ac_try
='test -z "$ac_c_werror_flag"
25918 || test ! -s conftest.err'
25919 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25920 (eval $ac_try) 2>&5
25922 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25923 (exit $ac_status); }; } &&
25924 { ac_try
='test -s conftest$ac_exeext'
25925 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25926 (eval $ac_try) 2>&5
25928 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25929 (exit $ac_status); }; }; then
25930 ac_cv_lib_posix_remove
=yes
25932 echo "$as_me: failed program was:" >&5
25933 sed 's/^/| /' conftest.
$ac_ext >&5
25935 ac_cv_lib_posix_remove
=no
25937 rm -f conftest.err conftest.
$ac_objext \
25938 conftest
$ac_exeext conftest.
$ac_ext
25939 LIBS
=$ac_check_lib_save_LIBS
25941 echo "$as_me:$LINENO: result: $ac_cv_lib_posix_remove" >&5
25942 echo "${ECHO_T}$ac_cv_lib_posix_remove" >&6
25943 if test $ac_cv_lib_posix_remove = yes; then
25944 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lposix"
25949 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
25950 echo "$as_me:$LINENO: checking for shmat" >&5
25951 echo $ECHO_N "checking for shmat... $ECHO_C" >&6
25952 if test "${ac_cv_func_shmat+set}" = set; then
25953 echo $ECHO_N "(cached) $ECHO_C" >&6
25955 cat >conftest.
$ac_ext <<_ACEOF
25958 cat confdefs.h
>>conftest.
$ac_ext
25959 cat >>conftest.
$ac_ext <<_ACEOF
25960 /* end confdefs.h. */
25961 /* Define shmat to an innocuous variant, in case <limits.h> declares shmat.
25962 For example, HP-UX 11i <limits.h> declares gettimeofday. */
25963 #define shmat innocuous_shmat
25965 /* System header to define __stub macros and hopefully few prototypes,
25966 which can conflict with char shmat (); below.
25967 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25968 <limits.h> exists even on freestanding compilers. */
25971 # include <limits.h>
25973 # include <assert.h>
25978 /* Override any gcc2 internal prototype to avoid an error. */
25983 /* We use char because int might match the return type of a gcc2
25984 builtin and then its argument prototype would still apply. */
25986 /* The GNU C library defines this for functions which it implements
25987 to always fail with ENOSYS. Some functions are actually named
25988 something starting with __ and the normal name is an alias. */
25989 #if defined (__stub_shmat) || defined (__stub___shmat)
25992 char (*f) () = shmat;
26006 rm -f conftest.
$ac_objext conftest
$ac_exeext
26007 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26008 (eval $ac_link) 2>conftest.er1
26010 grep -v '^ *+' conftest.er1
>conftest.err
26012 cat conftest.err
>&5
26013 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26014 (exit $ac_status); } &&
26015 { ac_try
='test -z "$ac_c_werror_flag"
26016 || test ! -s conftest.err'
26017 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26018 (eval $ac_try) 2>&5
26020 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26021 (exit $ac_status); }; } &&
26022 { ac_try
='test -s conftest$ac_exeext'
26023 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26024 (eval $ac_try) 2>&5
26026 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26027 (exit $ac_status); }; }; then
26028 ac_cv_func_shmat
=yes
26030 echo "$as_me: failed program was:" >&5
26031 sed 's/^/| /' conftest.
$ac_ext >&5
26033 ac_cv_func_shmat
=no
26035 rm -f conftest.err conftest.
$ac_objext \
26036 conftest
$ac_exeext conftest.
$ac_ext
26038 echo "$as_me:$LINENO: result: $ac_cv_func_shmat" >&5
26039 echo "${ECHO_T}$ac_cv_func_shmat" >&6
26041 if test $ac_cv_func_shmat = no
; then
26042 echo "$as_me:$LINENO: checking for shmat in -lipc" >&5
26043 echo $ECHO_N "checking for shmat in -lipc... $ECHO_C" >&6
26044 if test "${ac_cv_lib_ipc_shmat+set}" = set; then
26045 echo $ECHO_N "(cached) $ECHO_C" >&6
26047 ac_check_lib_save_LIBS
=$LIBS
26049 cat >conftest.
$ac_ext <<_ACEOF
26052 cat confdefs.h
>>conftest.
$ac_ext
26053 cat >>conftest.
$ac_ext <<_ACEOF
26054 /* end confdefs.h. */
26056 /* Override any gcc2 internal prototype to avoid an error. */
26060 /* We use char because int might match the return type of a gcc2
26061 builtin and then its argument prototype would still apply. */
26071 rm -f conftest.
$ac_objext conftest
$ac_exeext
26072 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26073 (eval $ac_link) 2>conftest.er1
26075 grep -v '^ *+' conftest.er1
>conftest.err
26077 cat conftest.err
>&5
26078 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26079 (exit $ac_status); } &&
26080 { ac_try
='test -z "$ac_c_werror_flag"
26081 || test ! -s conftest.err'
26082 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26083 (eval $ac_try) 2>&5
26085 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26086 (exit $ac_status); }; } &&
26087 { ac_try
='test -s conftest$ac_exeext'
26088 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26089 (eval $ac_try) 2>&5
26091 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26092 (exit $ac_status); }; }; then
26093 ac_cv_lib_ipc_shmat
=yes
26095 echo "$as_me: failed program was:" >&5
26096 sed 's/^/| /' conftest.
$ac_ext >&5
26098 ac_cv_lib_ipc_shmat
=no
26100 rm -f conftest.err conftest.
$ac_objext \
26101 conftest
$ac_exeext conftest.
$ac_ext
26102 LIBS
=$ac_check_lib_save_LIBS
26104 echo "$as_me:$LINENO: result: $ac_cv_lib_ipc_shmat" >&5
26105 echo "${ECHO_T}$ac_cv_lib_ipc_shmat" >&6
26106 if test $ac_cv_lib_ipc_shmat = yes; then
26107 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lipc"
26113 # Check for libraries that X11R6 Xt/Xaw programs need.
26114 ac_save_LDFLAGS
=$LDFLAGS
26115 test -n "$x_libraries" && LDFLAGS
="$LDFLAGS -L$x_libraries"
26116 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
26117 # check for ICE first), but we must link in the order -lSM -lICE or
26118 # we get undefined symbols. So assume we have SM if we have ICE.
26119 # These have to be linked with before -lX11, unlike the other
26120 # libraries we check for below, so use a different variable.
26121 # John Interrante, Karl Berry
26122 echo "$as_me:$LINENO: checking for IceConnectionNumber in -lICE" >&5
26123 echo $ECHO_N "checking for IceConnectionNumber in -lICE... $ECHO_C" >&6
26124 if test "${ac_cv_lib_ICE_IceConnectionNumber+set}" = set; then
26125 echo $ECHO_N "(cached) $ECHO_C" >&6
26127 ac_check_lib_save_LIBS
=$LIBS
26128 LIBS
="-lICE $X_EXTRA_LIBS $LIBS"
26129 cat >conftest.
$ac_ext <<_ACEOF
26132 cat confdefs.h
>>conftest.
$ac_ext
26133 cat >>conftest.
$ac_ext <<_ACEOF
26134 /* end confdefs.h. */
26136 /* Override any gcc2 internal prototype to avoid an error. */
26140 /* We use char because int might match the return type of a gcc2
26141 builtin and then its argument prototype would still apply. */
26142 char IceConnectionNumber ();
26146 IceConnectionNumber ();
26151 rm -f conftest.
$ac_objext conftest
$ac_exeext
26152 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26153 (eval $ac_link) 2>conftest.er1
26155 grep -v '^ *+' conftest.er1
>conftest.err
26157 cat conftest.err
>&5
26158 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26159 (exit $ac_status); } &&
26160 { ac_try
='test -z "$ac_c_werror_flag"
26161 || test ! -s conftest.err'
26162 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26163 (eval $ac_try) 2>&5
26165 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26166 (exit $ac_status); }; } &&
26167 { ac_try
='test -s conftest$ac_exeext'
26168 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26169 (eval $ac_try) 2>&5
26171 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26172 (exit $ac_status); }; }; then
26173 ac_cv_lib_ICE_IceConnectionNumber
=yes
26175 echo "$as_me: failed program was:" >&5
26176 sed 's/^/| /' conftest.
$ac_ext >&5
26178 ac_cv_lib_ICE_IceConnectionNumber
=no
26180 rm -f conftest.err conftest.
$ac_objext \
26181 conftest
$ac_exeext conftest.
$ac_ext
26182 LIBS
=$ac_check_lib_save_LIBS
26184 echo "$as_me:$LINENO: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
26185 echo "${ECHO_T}$ac_cv_lib_ICE_IceConnectionNumber" >&6
26186 if test $ac_cv_lib_ICE_IceConnectionNumber = yes; then
26187 X_PRE_LIBS
="$X_PRE_LIBS -lSM -lICE"
26190 LDFLAGS
=$ac_save_LDFLAGS
26195 if test "$no_x" = "yes"; then
26196 { { echo "$as_me:$LINENO: error: X11 not found" >&5
26197 echo "$as_me: error: X11 not found" >&2;}
26198 { (exit please use
--x-includes and
/or
--x-libraries options
); exit please use
--x-includes and
/or
--x-libraries options
; }; }
26201 GUI_TK_LIBRARY
=`echo $X_LIBS | sed 's/ -LNONE//'`
26202 TOOLKIT_INCLUDE
=`echo $X_CFLAGS | sed 's/ -INONE//'`
26203 AFMINSTALL
=afminstall
26204 COMPILED_X_PROGRAM
=0
26206 echo "$as_me:$LINENO: checking for Motif/Lesstif headers" >&5
26207 echo $ECHO_N "checking for Motif/Lesstif headers... $ECHO_C" >&6
26210 for ac_dir
in $SEARCH_INCLUDE /usr
/include
;
26212 if test -f "$ac_dir/Xm/Xm.h"; then
26213 ac_find_includes
=$ac_dir
26218 if test "$ac_find_includes" != "" ; then
26219 echo "$as_me:$LINENO: result: found in $ac_find_includes" >&5
26220 echo "${ECHO_T}found in $ac_find_includes" >&6
26222 if test "x$ac_find_includes" = "x/usr/include"; then
26223 ac_path_to_include
=""
26225 echo "$TOOLKIT_INCLUDE" | grep "\-I$ac_find_includes" > /dev
/null
26227 if test $result = 0; then
26228 ac_path_to_include
=""
26230 ac_path_to_include
=" -I$ac_find_includes"
26234 TOOLKIT_INCLUDE
="$TOOLKIT_INCLUDE$ac_path_to_include"
26236 cat >conftest.
$ac_ext <<_ACEOF
26239 cat confdefs.h
>>conftest.
$ac_ext
26240 cat >>conftest.
$ac_ext <<_ACEOF
26241 /* end confdefs.h. */
26250 version = xmUseVersion;
26256 rm -f conftest.
$ac_objext
26257 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26258 (eval $ac_compile) 2>conftest.er1
26260 grep -v '^ *+' conftest.er1
>conftest.err
26262 cat conftest.err
>&5
26263 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26264 (exit $ac_status); } &&
26265 { ac_try
='test -z "$ac_c_werror_flag"
26266 || test ! -s conftest.err'
26267 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26268 (eval $ac_try) 2>&5
26270 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26271 (exit $ac_status); }; } &&
26272 { ac_try
='test -s conftest.$ac_objext'
26273 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26274 (eval $ac_try) 2>&5
26276 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26277 (exit $ac_status); }; }; then
26279 echo "$as_me:$LINENO: result: found in default search path" >&5
26280 echo "${ECHO_T}found in default search path" >&6
26281 COMPILED_X_PROGRAM
=1
26284 echo "$as_me: failed program was:" >&5
26285 sed 's/^/| /' conftest.
$ac_ext >&5
26288 echo "$as_me:$LINENO: result: no" >&5
26289 echo "${ECHO_T}no" >&6
26290 { { echo "$as_me:$LINENO: error: please set CFLAGS to contain the location of Xm/Xm.h" >&5
26291 echo "$as_me: error: please set CFLAGS to contain the location of Xm/Xm.h" >&2;}
26292 { (exit 1); exit 1; }; }
26296 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
26299 if test "$COMPILED_X_PROGRAM" = 0; then
26300 echo "$as_me:$LINENO: checking for Motif/Lesstif library" >&5
26301 echo $ECHO_N "checking for Motif/Lesstif library... $ECHO_C" >&6
26304 for ac_dir
in $SEARCH_LIB /usr
/lib
;
26306 for ac_extension
in a so sl dylib
; do
26307 if test -f "$ac_dir/libXm.$ac_extension"; then
26308 ac_find_libraries
=$ac_dir
26314 if test "$ac_find_libraries" != "" ; then
26315 echo "$as_me:$LINENO: result: found at $ac_find_libraries" >&5
26316 echo "${ECHO_T}found at $ac_find_libraries" >&6
26319 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev
/null
26321 if test $result = 0; then
26324 ac_path_to_link
=" -L$ac_find_libraries"
26327 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY$ac_path_to_link"
26329 save_CFLAGS
=$CFLAGS
26330 CFLAGS
="$CFLAGS $TOOLKIT_INCLUDE"
26332 cat >conftest.
$ac_ext <<_ACEOF
26335 cat confdefs.h
>>conftest.
$ac_ext
26336 cat >>conftest.
$ac_ext <<_ACEOF
26337 /* end confdefs.h. */
26346 version = xmUseVersion;
26352 rm -f conftest.
$ac_objext
26353 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26354 (eval $ac_compile) 2>conftest.er1
26356 grep -v '^ *+' conftest.er1
>conftest.err
26358 cat conftest.err
>&5
26359 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26360 (exit $ac_status); } &&
26361 { ac_try
='test -z "$ac_c_werror_flag"
26362 || test ! -s conftest.err'
26363 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26364 (eval $ac_try) 2>&5
26366 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26367 (exit $ac_status); }; } &&
26368 { ac_try
='test -s conftest.$ac_objext'
26369 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26370 (eval $ac_try) 2>&5
26372 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26373 (exit $ac_status); }; }; then
26375 echo "$as_me:$LINENO: result: found in default search path" >&5
26376 echo "${ECHO_T}found in default search path" >&6
26377 COMPILED_X_PROGRAM
=1
26380 echo "$as_me: failed program was:" >&5
26381 sed 's/^/| /' conftest.
$ac_ext >&5
26384 echo "$as_me:$LINENO: result: no" >&5
26385 echo "${ECHO_T}no" >&6
26386 { { echo "$as_me:$LINENO: error: please set LDFLAGS to contain the location of libXm" >&5
26387 echo "$as_me: error: please set LDFLAGS to contain the location of libXm" >&2;}
26388 { (exit 1); exit 1; }; }
26392 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
26394 CFLAGS
=$save_CFLAGS
26398 echo "$as_me:$LINENO: checking if we need -lXp and/or -lSM -lICE" >&5
26399 echo $ECHO_N "checking if we need -lXp and/or -lSM -lICE... $ECHO_C" >&6
26403 for libp
in "" " -lXp"; do
26404 if test "$libs_found" = "0"; then
26405 for libsm_ice
in "" " -lSM -lICE"; do
26406 if test "$libs_found" = "0"; then
26408 LIBS
="$GUI_TK_LIBRARY -lXm ${libp} -lXmu -lXext -lXt${libsm_ice} -lX11"
26409 save_CFLAGS
=$CFLAGS
26410 CFLAGS
="$CFLAGS $TOOLKIT_INCLUDE"
26412 cat >conftest.
$ac_ext <<_ACEOF
26415 cat confdefs.h
>>conftest.
$ac_ext
26416 cat >>conftest.
$ac_ext <<_ACEOF
26417 /* end confdefs.h. */
26420 #include <Xm/List.h>
26426 XmString string = NULL;
26429 XmListAddItem(w, string, position);
26435 rm -f conftest.
$ac_objext conftest
$ac_exeext
26436 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26437 (eval $ac_link) 2>conftest.er1
26439 grep -v '^ *+' conftest.er1
>conftest.err
26441 cat conftest.err
>&5
26442 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26443 (exit $ac_status); } &&
26444 { ac_try
='test -z "$ac_c_werror_flag"
26445 || test ! -s conftest.err'
26446 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26447 (eval $ac_try) 2>&5
26449 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26450 (exit $ac_status); }; } &&
26451 { ac_try
='test -s conftest$ac_exeext'
26452 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26453 (eval $ac_try) 2>&5
26455 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26456 (exit $ac_status); }; }; then
26459 libsm_ice_link
="$libsm_ice"
26460 echo "$as_me:$LINENO: result: need${libp_link}${libsm_ice_link}" >&5
26461 echo "${ECHO_T}need${libp_link}${libsm_ice_link}" >&6
26465 echo "$as_me: failed program was:" >&5
26466 sed 's/^/| /' conftest.
$ac_ext >&5
26471 rm -f conftest.err conftest.
$ac_objext \
26472 conftest
$ac_exeext conftest.
$ac_ext
26475 CFLAGS
=$save_CFLAGS
26481 if test "$libs_found" = "0"; then
26482 echo "$as_me:$LINENO: result: can't find the right libraries" >&5
26483 echo "${ECHO_T}can't find the right libraries" >&6
26484 { { echo "$as_me:$LINENO: error: can't link a simple motif program" >&5
26485 echo "$as_me: error: can't link a simple motif program" >&2;}
26486 { (exit 1); exit 1; }; }
26489 save_CFLAGS
=$CFLAGS
26490 CFLAGS
="$CFLAGS $TOOLKIT_INCLUDE"
26491 echo "$as_me:$LINENO: checking for Motif 2" >&5
26492 echo $ECHO_N "checking for Motif 2... $ECHO_C" >&6
26493 cat >conftest.
$ac_ext <<_ACEOF
26496 cat confdefs.h
>>conftest.
$ac_ext
26497 cat >>conftest.
$ac_ext <<_ACEOF
26498 /* end confdefs.h. */
26506 #if XmVersion < 2000
26507 #error "Not Motif 2"
26514 rm -f conftest.
$ac_objext
26515 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26516 (eval $ac_compile) 2>conftest.er1
26518 grep -v '^ *+' conftest.er1
>conftest.err
26520 cat conftest.err
>&5
26521 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26522 (exit $ac_status); } &&
26523 { ac_try
='test -z "$ac_c_werror_flag"
26524 || test ! -s conftest.err'
26525 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26526 (eval $ac_try) 2>&5
26528 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26529 (exit $ac_status); }; } &&
26530 { ac_try
='test -s conftest.$ac_objext'
26531 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26532 (eval $ac_try) 2>&5
26534 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26535 (exit $ac_status); }; }; then
26537 cat >>confdefs.h
<<\_ACEOF
26538 #define __WXMOTIF20__ 1
26541 echo "$as_me:$LINENO: result: found" >&5
26542 echo "${ECHO_T}found" >&6
26545 echo "$as_me: failed program was:" >&5
26546 sed 's/^/| /' conftest.
$ac_ext >&5
26549 cat >>confdefs.h
<<\_ACEOF
26550 #define __WXMOTIF20__ 0
26553 echo "$as_me:$LINENO: result: not found" >&5
26554 echo "${ECHO_T}not found" >&6
26557 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
26558 CFLAGS
=$save_CFLAGS
26560 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lXm${libp_link} -lXmu -lXext -lXt${libsm_ice_link} -lX11"
26561 TOOLKIT_VPATH
="\${top_srcdir}/src/motif${PATH_IFS}\${top_srcdir}/src/motif/xmcombo${PATH_IFS}\${top_srcdir}/src/x11"
26566 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
26567 if test "$wxUSE_LIBXPM" = "sys"; then
26568 echo "$as_me:$LINENO: checking for Xpm library" >&5
26569 echo $ECHO_N "checking for Xpm library... $ECHO_C" >&6
26572 for ac_dir
in $SEARCH_LIB /usr
/lib
;
26574 for ac_extension
in a so sl dylib
; do
26575 if test -f "$ac_dir/libXpm.$ac_extension"; then
26576 ac_find_libraries
=$ac_dir
26582 if test "$ac_find_libraries" != "" ; then
26584 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev
/null
26586 if test $result = 0; then
26589 ac_path_to_link
=" -L$ac_find_libraries"
26592 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY$ac_path_to_link"
26593 echo "$as_me:$LINENO: result: found at $ac_find_libraries" >&5
26594 echo "${ECHO_T}found at $ac_find_libraries" >&6
26596 echo "$as_me:$LINENO: checking for X11/xpm.h" >&5
26597 echo $ECHO_N "checking for X11/xpm.h... $ECHO_C" >&6
26598 if test "${wx_cv_x11_xpm_h+set}" = set; then
26599 echo $ECHO_N "(cached) $ECHO_C" >&6
26602 save_CFLAGS
=$CFLAGS
26603 CFLAGS
="$CFLAGS $TOOLKIT_INCLUDE"
26605 cat >conftest.
$ac_ext <<_ACEOF
26608 cat confdefs.h
>>conftest.
$ac_ext
26609 cat >>conftest.
$ac_ext <<_ACEOF
26610 /* end confdefs.h. */
26612 #include <X11/xpm.h>
26619 version = XpmLibraryVersion();
26625 rm -f conftest.
$ac_objext
26626 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26627 (eval $ac_compile) 2>conftest.er1
26629 grep -v '^ *+' conftest.er1
>conftest.err
26631 cat conftest.err
>&5
26632 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26633 (exit $ac_status); } &&
26634 { ac_try
='test -z "$ac_c_werror_flag"
26635 || test ! -s conftest.err'
26636 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26637 (eval $ac_try) 2>&5
26639 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26640 (exit $ac_status); }; } &&
26641 { ac_try
='test -s conftest.$ac_objext'
26642 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26643 (eval $ac_try) 2>&5
26645 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26646 (exit $ac_status); }; }; then
26647 wx_cv_x11_xpm_h
=yes
26649 echo "$as_me: failed program was:" >&5
26650 sed 's/^/| /' conftest.
$ac_ext >&5
26655 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
26657 CFLAGS
=$save_CFLAGS
26661 echo "$as_me:$LINENO: result: $wx_cv_x11_xpm_h" >&5
26662 echo "${ECHO_T}$wx_cv_x11_xpm_h" >&6
26664 if test $wx_cv_x11_xpm_h = "yes"; then
26665 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lXpm"
26666 cat >>confdefs.h
<<\_ACEOF
26667 #define wxHAVE_LIB_XPM 1
26671 { echo "$as_me:$LINENO: WARNING: built-in less efficient XPM decoder will be used" >&5
26672 echo "$as_me: WARNING: built-in less efficient XPM decoder will be used" >&2;}
26678 echo "$as_me:$LINENO: checking for XShapeQueryExtension in -lXext" >&5
26679 echo $ECHO_N "checking for XShapeQueryExtension in -lXext... $ECHO_C" >&6
26680 if test "${ac_cv_lib_Xext_XShapeQueryExtension+set}" = set; then
26681 echo $ECHO_N "(cached) $ECHO_C" >&6
26683 ac_check_lib_save_LIBS
=$LIBS
26684 LIBS
="-lXext $GUI_TK_LIBRARY -lX11 $LIBS"
26685 cat >conftest.
$ac_ext <<_ACEOF
26688 cat confdefs.h
>>conftest.
$ac_ext
26689 cat >>conftest.
$ac_ext <<_ACEOF
26690 /* end confdefs.h. */
26692 /* Override any gcc2 internal prototype to avoid an error. */
26696 /* We use char because int might match the return type of a gcc2
26697 builtin and then its argument prototype would still apply. */
26698 char XShapeQueryExtension ();
26702 XShapeQueryExtension ();
26707 rm -f conftest.
$ac_objext conftest
$ac_exeext
26708 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26709 (eval $ac_link) 2>conftest.er1
26711 grep -v '^ *+' conftest.er1
>conftest.err
26713 cat conftest.err
>&5
26714 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26715 (exit $ac_status); } &&
26716 { ac_try
='test -z "$ac_c_werror_flag"
26717 || test ! -s conftest.err'
26718 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26719 (eval $ac_try) 2>&5
26721 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26722 (exit $ac_status); }; } &&
26723 { ac_try
='test -s conftest$ac_exeext'
26724 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26725 (eval $ac_try) 2>&5
26727 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26728 (exit $ac_status); }; }; then
26729 ac_cv_lib_Xext_XShapeQueryExtension
=yes
26731 echo "$as_me: failed program was:" >&5
26732 sed 's/^/| /' conftest.
$ac_ext >&5
26734 ac_cv_lib_Xext_XShapeQueryExtension
=no
26736 rm -f conftest.err conftest.
$ac_objext \
26737 conftest
$ac_exeext conftest.
$ac_ext
26738 LIBS
=$ac_check_lib_save_LIBS
26740 echo "$as_me:$LINENO: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
26741 echo "${ECHO_T}$ac_cv_lib_Xext_XShapeQueryExtension" >&6
26742 if test $ac_cv_lib_Xext_XShapeQueryExtension = yes; then
26744 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lXext"
26750 if test "$wxHAVE_XEXT_LIB" = 1; then
26751 save_CFLAGS
="$CFLAGS"
26752 CFLAGS
="$CFLAGS $TOOLKIT_INCLUDE"
26754 echo "$as_me:$LINENO: checking for X11/extensions/shape.h" >&5
26755 echo $ECHO_N "checking for X11/extensions/shape.h... $ECHO_C" >&6
26756 cat >conftest.
$ac_ext <<_ACEOF
26759 cat confdefs.h
>>conftest.
$ac_ext
26760 cat >>conftest.
$ac_ext <<_ACEOF
26761 /* end confdefs.h. */
26763 #include <X11/Xlib.h>
26764 #include <X11/extensions/shape.h>
26770 int dummy1, dummy2;
26771 XShapeQueryExtension((Display*)NULL,
26772 (int*)NULL, (int*)NULL);
26778 rm -f conftest.
$ac_objext
26779 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26780 (eval $ac_compile) 2>conftest.er1
26782 grep -v '^ *+' conftest.er1
>conftest.err
26784 cat conftest.err
>&5
26785 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26786 (exit $ac_status); } &&
26787 { ac_try
='test -z "$ac_c_werror_flag"
26788 || test ! -s conftest.err'
26789 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26790 (eval $ac_try) 2>&5
26792 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26793 (exit $ac_status); }; } &&
26794 { ac_try
='test -s conftest.$ac_objext'
26795 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26796 (eval $ac_try) 2>&5
26798 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26799 (exit $ac_status); }; }; then
26801 cat >>confdefs.h
<<\_ACEOF
26802 #define HAVE_XSHAPE 1
26805 echo "$as_me:$LINENO: result: found" >&5
26806 echo "${ECHO_T}found" >&6
26809 echo "$as_me: failed program was:" >&5
26810 sed 's/^/| /' conftest.
$ac_ext >&5
26813 echo "$as_me:$LINENO: result: not found" >&5
26814 echo "${ECHO_T}not found" >&6
26817 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
26818 CFLAGS
="$save_CFLAGS"
26823 if test "$wxUSE_MAC" = 1; then
26824 echo "$as_me:$LINENO: checking for compiler syntax to enable Pascal strings" >&5
26825 echo $ECHO_N "checking for compiler syntax to enable Pascal strings... $ECHO_C" >&6
26826 if test "$GCC" = yes; then
26827 echo "$as_me:$LINENO: result: gcc" >&5
26828 echo "${ECHO_T}gcc" >&6
26829 CPPFLAGS_PASCAL
="-fpascal-strings"
26830 elif test "`echo $CXX | sed -e 's@.*/@@'`" = "xlC"; then
26831 echo "$as_me:$LINENO: result: xlc" >&5
26832 echo "${ECHO_T}xlc" >&6
26833 CPPFLAGS_PASCAL
="-qmacpstr"
26835 echo "$as_me:$LINENO: result: none" >&5
26836 echo "${ECHO_T}none" >&6
26839 CPPFLAGS
="$CPPFLAGS $CPPFLAGS_PASCAL -I\${top_srcdir}/src/mac/morefilex -I/Developer/Headers/FlatCarbon"
26841 TOOLKIT_VPATH
="\${top_srcdir}/src/mac${PATH_IFS}\${top_srcdir}/src/mac/morefilex"
26844 WXBASEPORT
="_carbon"
26847 if test "$wxUSE_COCOA" = 1; then
26848 TOOLKIT_VPATH
="\${top_srcdir}/src/cocoa"
26853 if test "$wxUSE_PM" = 1; then
26858 if test "$TOOLKIT" = "PM" ; then
26861 TOOLKIT_DIR
=`echo ${TOOLKIT} | tr "[A-Z]" "[a-z]"`
26864 PORT_FILES
="\${top_srcdir}/src/\$(TOOLKITDIR)/files.lst"
26866 if test "$wxUSE_UNIVERSAL" = "yes"; then
26867 ALL_OBJECTS
="\$(GUI_LOWLEVEL_OBJS) \${UNIVOBJS}"
26869 ALL_SOURCES
="\$(ALL_SOURCES) \${UNIV_SOURCES}"
26870 ALL_HEADERS
="\$(ALL_HEADERS) \${UNIV_HEADERS}"
26872 PORT_FILES
="${PORT_FILES} \${top_srcdir}/src/univ/files.lst"
26873 if test "$wxUSE_X11" = 1; then
26874 TOOLKIT_VPATH
="\${top_srcdir}/src/${TOOLKIT_DIR}${PATH_IFS}\${top_srcdir}/src/univ${PATH_IFS}\${top_srcdir}/src/univ/themes"
26876 TOOLKIT_VPATH
="\${top_srcdir}/src/univ${PATH_IFS}\${top_srcdir}/src/univ/themes${PATH_IFS}\${top_srcdir}/src/${TOOLKIT_DIR}"
26878 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -D__WXUNIVERSAL__"
26881 ALL_OBJECTS
="\$(GUIOBJS)"
26882 ALL_SOURCES
="\$(ALL_SOURCES)"
26883 ALL_HEADERS
="\$(ALL_HEADERS)"
26886 ALL_OBJECTS
="${ALL_OBJECTS} \$(COMMONOBJS) \$(GENERICOBJS)"
26888 if test "$TOOLKIT" != "MSW" -a "$USE_DOS" != 1; then
26889 ALL_OBJECTS
="${ALL_OBJECTS} \$(UNIXOBJS)"
26892 if test "$wxUSE_HTML" = "yes"; then
26893 ALL_OBJECTS
="${ALL_OBJECTS} \$(HTMLOBJS)"
26896 if test "$wxUSE_LIBJPEG" = "builtin" ; then
26897 ALL_OBJECTS
="${ALL_OBJECTS} \$(JPEGOBJS)"
26899 if test "$wxUSE_LIBTIFF" = "builtin" ; then
26900 ALL_OBJECTS
="${ALL_OBJECTS} \$(TIFFOBJS)"
26902 if test "$wxUSE_LIBPNG" = "builtin" ; then
26903 ALL_OBJECTS
="${ALL_OBJECTS} \$(PNGOBJS)"
26906 GUIDIST
="${GUIDIST} SAMPLES_DIST DEMOS_DIST UTILS_DIST MISC_DIST"
26907 DISTDIR
="wx\$(TOOLKIT)"
26913 if test "$USE_WIN32" = 1 ; then
26914 ALL_OBJECTS
="\${BASE_OBJS} \${BASE_MSW_OBJS}"
26915 TOOLKIT_VPATH
="\${top_srcdir}/src/msw"
26919 ALL_OBJECTS
="\${BASE_OBJS} \${BASE_UNIX_OBJS}"
26920 TOOLKIT_VPATH
="\${top_srcdir}/src/unix"
26923 ALL_SOURCES
="\$(ALL_SOURCES)"
26924 ALL_HEADERS
="\$(ALL_HEADERS)"
26926 PORT_FILES
="\${top_srcdir}/src/files.lst"
26928 GUIDIST
="BASE_DIST"
26938 if test "$TOOLKIT" != "MSW" ; then
26940 if test "$wxUSE_ODBC" = "sys" -o "$wxUSE_ODBC" = "yes" ; then
26942 if test "${ac_cv_header_sql_h+set}" = set; then
26943 echo "$as_me:$LINENO: checking for sql.h" >&5
26944 echo $ECHO_N "checking for sql.h... $ECHO_C" >&6
26945 if test "${ac_cv_header_sql_h+set}" = set; then
26946 echo $ECHO_N "(cached) $ECHO_C" >&6
26948 echo "$as_me:$LINENO: result: $ac_cv_header_sql_h" >&5
26949 echo "${ECHO_T}$ac_cv_header_sql_h" >&6
26951 # Is the header compilable?
26952 echo "$as_me:$LINENO: checking sql.h usability" >&5
26953 echo $ECHO_N "checking sql.h usability... $ECHO_C" >&6
26954 cat >conftest.
$ac_ext <<_ACEOF
26957 cat confdefs.h
>>conftest.
$ac_ext
26958 cat >>conftest.
$ac_ext <<_ACEOF
26959 /* end confdefs.h. */
26960 $ac_includes_default
26963 rm -f conftest.
$ac_objext
26964 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26965 (eval $ac_compile) 2>conftest.er1
26967 grep -v '^ *+' conftest.er1
>conftest.err
26969 cat conftest.err
>&5
26970 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26971 (exit $ac_status); } &&
26972 { ac_try
='test -z "$ac_c_werror_flag"
26973 || test ! -s conftest.err'
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); }; } &&
26979 { ac_try
='test -s conftest.$ac_objext'
26980 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26981 (eval $ac_try) 2>&5
26983 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26984 (exit $ac_status); }; }; then
26985 ac_header_compiler
=yes
26987 echo "$as_me: failed program was:" >&5
26988 sed 's/^/| /' conftest.
$ac_ext >&5
26990 ac_header_compiler
=no
26992 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
26993 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
26994 echo "${ECHO_T}$ac_header_compiler" >&6
26996 # Is the header present?
26997 echo "$as_me:$LINENO: checking sql.h presence" >&5
26998 echo $ECHO_N "checking sql.h presence... $ECHO_C" >&6
26999 cat >conftest.
$ac_ext <<_ACEOF
27002 cat confdefs.h
>>conftest.
$ac_ext
27003 cat >>conftest.
$ac_ext <<_ACEOF
27004 /* end confdefs.h. */
27007 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
27008 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
27010 grep -v '^ *+' conftest.er1
>conftest.err
27012 cat conftest.err
>&5
27013 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27014 (exit $ac_status); } >/dev
/null
; then
27015 if test -s conftest.err
; then
27016 ac_cpp_err
=$ac_c_preproc_warn_flag
27017 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
27024 if test -z "$ac_cpp_err"; then
27025 ac_header_preproc
=yes
27027 echo "$as_me: failed program was:" >&5
27028 sed 's/^/| /' conftest.
$ac_ext >&5
27030 ac_header_preproc
=no
27032 rm -f conftest.err conftest.
$ac_ext
27033 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
27034 echo "${ECHO_T}$ac_header_preproc" >&6
27036 # So? What about this header?
27037 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
27039 { echo "$as_me:$LINENO: WARNING: sql.h: accepted by the compiler, rejected by the preprocessor!" >&5
27040 echo "$as_me: WARNING: sql.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
27041 { echo "$as_me:$LINENO: WARNING: sql.h: proceeding with the compiler's result" >&5
27042 echo "$as_me: WARNING: sql.h: proceeding with the compiler's result" >&2;}
27043 ac_header_preproc
=yes
27046 { echo "$as_me:$LINENO: WARNING: sql.h: present but cannot be compiled" >&5
27047 echo "$as_me: WARNING: sql.h: present but cannot be compiled" >&2;}
27048 { echo "$as_me:$LINENO: WARNING: sql.h: check for missing prerequisite headers?" >&5
27049 echo "$as_me: WARNING: sql.h: check for missing prerequisite headers?" >&2;}
27050 { echo "$as_me:$LINENO: WARNING: sql.h: see the Autoconf documentation" >&5
27051 echo "$as_me: WARNING: sql.h: see the Autoconf documentation" >&2;}
27052 { echo "$as_me:$LINENO: WARNING: sql.h: section \"Present But Cannot Be Compiled\"" >&5
27053 echo "$as_me: WARNING: sql.h: section \"Present But Cannot Be Compiled\"" >&2;}
27054 { echo "$as_me:$LINENO: WARNING: sql.h: proceeding with the preprocessor's result" >&5
27055 echo "$as_me: WARNING: sql.h: proceeding with the preprocessor's result" >&2;}
27056 { echo "$as_me:$LINENO: WARNING: sql.h: in the future, the compiler will take precedence" >&5
27057 echo "$as_me: WARNING: sql.h: in the future, the compiler will take precedence" >&2;}
27060 ## ----------------------------------------- ##
27061 ## Report this to wx-dev@lists.wxwindows.org ##
27062 ## ----------------------------------------- ##
27065 sed "s/^/$as_me: WARNING: /" >&2
27068 echo "$as_me:$LINENO: checking for sql.h" >&5
27069 echo $ECHO_N "checking for sql.h... $ECHO_C" >&6
27070 if test "${ac_cv_header_sql_h+set}" = set; then
27071 echo $ECHO_N "(cached) $ECHO_C" >&6
27073 ac_cv_header_sql_h
=$ac_header_preproc
27075 echo "$as_me:$LINENO: result: $ac_cv_header_sql_h" >&5
27076 echo "${ECHO_T}$ac_cv_header_sql_h" >&6
27079 if test $ac_cv_header_sql_h = yes; then
27084 if test "x$found_sql_h" = "x1" ; then
27085 echo "$as_me:$LINENO: checking for SQLAllocEnv in -liodbc" >&5
27086 echo $ECHO_N "checking for SQLAllocEnv in -liodbc... $ECHO_C" >&6
27087 if test "${ac_cv_lib_iodbc_SQLAllocEnv+set}" = set; then
27088 echo $ECHO_N "(cached) $ECHO_C" >&6
27090 ac_check_lib_save_LIBS
=$LIBS
27091 LIBS
="-liodbc $LIBS"
27092 cat >conftest.
$ac_ext <<_ACEOF
27095 cat confdefs.h
>>conftest.
$ac_ext
27096 cat >>conftest.
$ac_ext <<_ACEOF
27097 /* end confdefs.h. */
27099 /* Override any gcc2 internal prototype to avoid an error. */
27103 /* We use char because int might match the return type of a gcc2
27104 builtin and then its argument prototype would still apply. */
27105 char SQLAllocEnv ();
27114 rm -f conftest.
$ac_objext conftest
$ac_exeext
27115 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27116 (eval $ac_link) 2>conftest.er1
27118 grep -v '^ *+' conftest.er1
>conftest.err
27120 cat conftest.err
>&5
27121 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27122 (exit $ac_status); } &&
27123 { ac_try
='test -z "$ac_c_werror_flag"
27124 || test ! -s conftest.err'
27125 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27126 (eval $ac_try) 2>&5
27128 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27129 (exit $ac_status); }; } &&
27130 { ac_try
='test -s conftest$ac_exeext'
27131 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27132 (eval $ac_try) 2>&5
27134 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27135 (exit $ac_status); }; }; then
27136 ac_cv_lib_iodbc_SQLAllocEnv
=yes
27138 echo "$as_me: failed program was:" >&5
27139 sed 's/^/| /' conftest.
$ac_ext >&5
27141 ac_cv_lib_iodbc_SQLAllocEnv
=no
27143 rm -f conftest.err conftest.
$ac_objext \
27144 conftest
$ac_exeext conftest.
$ac_ext
27145 LIBS
=$ac_check_lib_save_LIBS
27147 echo "$as_me:$LINENO: result: $ac_cv_lib_iodbc_SQLAllocEnv" >&5
27148 echo "${ECHO_T}$ac_cv_lib_iodbc_SQLAllocEnv" >&6
27149 if test $ac_cv_lib_iodbc_SQLAllocEnv = yes; then
27150 ODBC_LINK
=" -liodbc"
27153 echo "$as_me:$LINENO: checking for SQLAllocEnv in -lunixodbc" >&5
27154 echo $ECHO_N "checking for SQLAllocEnv in -lunixodbc... $ECHO_C" >&6
27155 if test "${ac_cv_lib_unixodbc_SQLAllocEnv+set}" = set; then
27156 echo $ECHO_N "(cached) $ECHO_C" >&6
27158 ac_check_lib_save_LIBS
=$LIBS
27159 LIBS
="-lunixodbc $LIBS"
27160 cat >conftest.
$ac_ext <<_ACEOF
27163 cat confdefs.h
>>conftest.
$ac_ext
27164 cat >>conftest.
$ac_ext <<_ACEOF
27165 /* end confdefs.h. */
27167 /* Override any gcc2 internal prototype to avoid an error. */
27171 /* We use char because int might match the return type of a gcc2
27172 builtin and then its argument prototype would still apply. */
27173 char SQLAllocEnv ();
27182 rm -f conftest.
$ac_objext conftest
$ac_exeext
27183 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27184 (eval $ac_link) 2>conftest.er1
27186 grep -v '^ *+' conftest.er1
>conftest.err
27188 cat conftest.err
>&5
27189 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27190 (exit $ac_status); } &&
27191 { ac_try
='test -z "$ac_c_werror_flag"
27192 || test ! -s conftest.err'
27193 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27194 (eval $ac_try) 2>&5
27196 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27197 (exit $ac_status); }; } &&
27198 { ac_try
='test -s conftest$ac_exeext'
27199 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27200 (eval $ac_try) 2>&5
27202 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27203 (exit $ac_status); }; }; then
27204 ac_cv_lib_unixodbc_SQLAllocEnv
=yes
27206 echo "$as_me: failed program was:" >&5
27207 sed 's/^/| /' conftest.
$ac_ext >&5
27209 ac_cv_lib_unixodbc_SQLAllocEnv
=no
27211 rm -f conftest.err conftest.
$ac_objext \
27212 conftest
$ac_exeext conftest.
$ac_ext
27213 LIBS
=$ac_check_lib_save_LIBS
27215 echo "$as_me:$LINENO: result: $ac_cv_lib_unixodbc_SQLAllocEnv" >&5
27216 echo "${ECHO_T}$ac_cv_lib_unixodbc_SQLAllocEnv" >&6
27217 if test $ac_cv_lib_unixodbc_SQLAllocEnv = yes; then
27218 ODBC_LINK
=" -lunixodbc"
27221 echo "$as_me:$LINENO: checking for SQLAllocEnv in -lodbc" >&5
27222 echo $ECHO_N "checking for SQLAllocEnv in -lodbc... $ECHO_C" >&6
27223 if test "${ac_cv_lib_odbc_SQLAllocEnv+set}" = set; then
27224 echo $ECHO_N "(cached) $ECHO_C" >&6
27226 ac_check_lib_save_LIBS
=$LIBS
27227 LIBS
="-lodbc $LIBS"
27228 cat >conftest.
$ac_ext <<_ACEOF
27231 cat confdefs.h
>>conftest.
$ac_ext
27232 cat >>conftest.
$ac_ext <<_ACEOF
27233 /* end confdefs.h. */
27235 /* Override any gcc2 internal prototype to avoid an error. */
27239 /* We use char because int might match the return type of a gcc2
27240 builtin and then its argument prototype would still apply. */
27241 char SQLAllocEnv ();
27250 rm -f conftest.
$ac_objext conftest
$ac_exeext
27251 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27252 (eval $ac_link) 2>conftest.er1
27254 grep -v '^ *+' conftest.er1
>conftest.err
27256 cat conftest.err
>&5
27257 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27258 (exit $ac_status); } &&
27259 { ac_try
='test -z "$ac_c_werror_flag"
27260 || test ! -s conftest.err'
27261 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27262 (eval $ac_try) 2>&5
27264 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27265 (exit $ac_status); }; } &&
27266 { ac_try
='test -s conftest$ac_exeext'
27267 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27268 (eval $ac_try) 2>&5
27270 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27271 (exit $ac_status); }; }; then
27272 ac_cv_lib_odbc_SQLAllocEnv
=yes
27274 echo "$as_me: failed program was:" >&5
27275 sed 's/^/| /' conftest.
$ac_ext >&5
27277 ac_cv_lib_odbc_SQLAllocEnv
=no
27279 rm -f conftest.err conftest.
$ac_objext \
27280 conftest
$ac_exeext conftest.
$ac_ext
27281 LIBS
=$ac_check_lib_save_LIBS
27283 echo "$as_me:$LINENO: result: $ac_cv_lib_odbc_SQLAllocEnv" >&5
27284 echo "${ECHO_T}$ac_cv_lib_odbc_SQLAllocEnv" >&6
27285 if test $ac_cv_lib_odbc_SQLAllocEnv = yes; then
27286 ODBC_LINK
=" -lodbc"
27296 if test "x$ODBC_LINK" = "x" ; then
27297 if test "$wxUSE_ODBC" = "sys" ; then
27298 { { echo "$as_me:$LINENO: error: system ODBC library not found! Use --with-odbc=builtin to use built-in version" >&5
27299 echo "$as_me: error: system ODBC library not found! Use --with-odbc=builtin to use built-in version" >&2;}
27300 { (exit 1); exit 1; }; }
27302 { echo "$as_me:$LINENO: WARNING: system ODBC library not found, will use built-in instead" >&5
27303 echo "$as_me: WARNING: system ODBC library not found, will use built-in instead" >&2;}
27310 if test "$wxUSE_ODBC" != "no" ; then
27311 cat >>confdefs.h
<<\_ACEOF
27312 #define wxUSE_ODBC 1
27315 if test "$wxUSE_ODBC" = "builtin" ; then
27316 cat >>confdefs.h
<<\_ACEOF
27317 #define wxUSE_BUILTIN_IODBC 1
27321 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS db"
27323 WXODBCFLAG
="-D_IODBC_"
27327 if test "$wxUSE_REGEX" = "builtin" ; then
27328 ALL_OBJECTS
="${ALL_OBJECTS} \$(REGEXOBJS)"
27330 if test "$wxUSE_ZLIB" = "builtin" ; then
27331 ALL_OBJECTS
="${ALL_OBJECTS} \$(ZLIBOBJS)"
27334 if test "$wxUSE_DISPLAY" = "yes"; then
27335 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_MAC" != 1; then
27336 echo "$as_me:$LINENO: checking for Xinerama" >&5
27337 echo $ECHO_N "checking for Xinerama... $ECHO_C" >&6
27340 for ac_dir
in $SEARCH_LIB /usr
/lib
;
27342 for ac_extension
in a so sl dylib
; do
27343 if test -f "$ac_dir/libXinerama.$ac_extension"; then
27344 ac_find_libraries
=$ac_dir
27350 if test "$ac_find_libraries" != "" ; then
27352 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev
/null
27354 if test $result = 0; then
27357 ac_path_to_link
=" -L$ac_find_libraries"
27360 if test "$ac_path_to_link" != " -L/usr/lib" ; then
27361 LDFLAGS
="$LDFLAGS $ac_path_to_link"
27363 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lXinerama"
27364 echo "$as_me:$LINENO: result: yes" >&5
27365 echo "${ECHO_T}yes" >&6
27367 echo "$as_me:$LINENO: checking for Xxf86vm extension" >&5
27368 echo $ECHO_N "checking for Xxf86vm extension... $ECHO_C" >&6
27371 for ac_dir
in $SEARCH_LIB /usr
/lib
;
27373 for ac_extension
in a so sl dylib
; do
27374 if test -f "$ac_dir/libXxf86vm.$ac_extension"; then
27375 ac_find_libraries
=$ac_dir
27381 if test "$ac_find_libraries" != "" ; then
27382 echo "$as_me:$LINENO: result: yes" >&5
27383 echo "${ECHO_T}yes" >&6
27385 for ac_header
in X
11/extensions
/xf86vmode.h
27387 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
27388 echo "$as_me:$LINENO: checking for $ac_header" >&5
27389 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
27390 if eval "test \"\${$as_ac_Header+set}\" = set"; then
27391 echo $ECHO_N "(cached) $ECHO_C" >&6
27393 cat >conftest.
$ac_ext <<_ACEOF
27396 cat confdefs.h
>>conftest.
$ac_ext
27397 cat >>conftest.
$ac_ext <<_ACEOF
27398 /* end confdefs.h. */
27400 #if HAVE_X11_XLIB_H
27401 #include <X11/Xlib.h>
27405 #include <$ac_header>
27407 rm -f conftest.
$ac_objext
27408 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27409 (eval $ac_compile) 2>conftest.er1
27411 grep -v '^ *+' conftest.er1
>conftest.err
27413 cat conftest.err
>&5
27414 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27415 (exit $ac_status); } &&
27416 { ac_try
='test -z "$ac_c_werror_flag"
27417 || test ! -s conftest.err'
27418 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27419 (eval $ac_try) 2>&5
27421 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27422 (exit $ac_status); }; } &&
27423 { ac_try
='test -s conftest.$ac_objext'
27424 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27425 (eval $ac_try) 2>&5
27427 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27428 (exit $ac_status); }; }; then
27429 eval "$as_ac_Header=yes"
27431 echo "$as_me: failed program was:" >&5
27432 sed 's/^/| /' conftest.
$ac_ext >&5
27434 eval "$as_ac_Header=no"
27436 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
27438 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
27439 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
27440 if test `eval echo '${'$as_ac_Header'}'` = yes; then
27441 cat >>confdefs.h
<<_ACEOF
27442 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
27445 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lXxf86vm"
27452 echo "$as_me:$LINENO: result: no" >&5
27453 echo "${ECHO_T}no" >&6
27457 echo "$as_me:$LINENO: result: no" >&5
27458 echo "${ECHO_T}no" >&6
27459 { echo "$as_me:$LINENO: WARNING: \"*** Xinerama not found; disabling wxDisplay\"" >&5
27460 echo "$as_me: WARNING: \"*** Xinerama not found; disabling wxDisplay\"" >&2;}
27468 if test "$wxUSE_OPENGL" = "yes"; then
27469 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = "1"; then
27470 OPENGL_LIBS
="-framework OpenGL -framework AGL"
27471 elif test "$wxUSE_MSW" = 1; then
27472 OPENGL_LIBS
="-lopengl32 -lglu32"
27477 for ac_dir
in $SEARCH_INCLUDE /usr
/include
;
27479 if test -f "$ac_dir/GL/gl.h"; then
27480 ac_find_includes
=$ac_dir
27485 if test "$ac_find_includes" != "" ; then
27486 echo "$as_me:$LINENO: result: found in $ac_find_includes" >&5
27487 echo "${ECHO_T}found in $ac_find_includes" >&6
27489 if test "x$ac_find_includes" = "x/usr/include"; then
27490 ac_path_to_include
=""
27492 echo "$CPPFLAGS" | grep "\-I$ac_find_includes" > /dev
/null
27494 if test $result = 0; then
27495 ac_path_to_include
=""
27497 ac_path_to_include
=" -I$ac_find_includes"
27501 CPPFLAGS
="$CPPFLAGS$ac_path_to_include"
27504 if test "${ac_cv_header_GL_gl_h+set}" = set; then
27505 echo "$as_me:$LINENO: checking for GL/gl.h" >&5
27506 echo $ECHO_N "checking for GL/gl.h... $ECHO_C" >&6
27507 if test "${ac_cv_header_GL_gl_h+set}" = set; then
27508 echo $ECHO_N "(cached) $ECHO_C" >&6
27510 echo "$as_me:$LINENO: result: $ac_cv_header_GL_gl_h" >&5
27511 echo "${ECHO_T}$ac_cv_header_GL_gl_h" >&6
27513 # Is the header compilable?
27514 echo "$as_me:$LINENO: checking GL/gl.h usability" >&5
27515 echo $ECHO_N "checking GL/gl.h usability... $ECHO_C" >&6
27516 cat >conftest.
$ac_ext <<_ACEOF
27519 cat confdefs.h
>>conftest.
$ac_ext
27520 cat >>conftest.
$ac_ext <<_ACEOF
27521 /* end confdefs.h. */
27522 $ac_includes_default
27525 rm -f conftest.
$ac_objext
27526 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27527 (eval $ac_compile) 2>conftest.er1
27529 grep -v '^ *+' conftest.er1
>conftest.err
27531 cat conftest.err
>&5
27532 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27533 (exit $ac_status); } &&
27534 { ac_try
='test -z "$ac_c_werror_flag"
27535 || test ! -s conftest.err'
27536 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27537 (eval $ac_try) 2>&5
27539 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27540 (exit $ac_status); }; } &&
27541 { ac_try
='test -s conftest.$ac_objext'
27542 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27543 (eval $ac_try) 2>&5
27545 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27546 (exit $ac_status); }; }; then
27547 ac_header_compiler
=yes
27549 echo "$as_me: failed program was:" >&5
27550 sed 's/^/| /' conftest.
$ac_ext >&5
27552 ac_header_compiler
=no
27554 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
27555 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
27556 echo "${ECHO_T}$ac_header_compiler" >&6
27558 # Is the header present?
27559 echo "$as_me:$LINENO: checking GL/gl.h presence" >&5
27560 echo $ECHO_N "checking GL/gl.h presence... $ECHO_C" >&6
27561 cat >conftest.
$ac_ext <<_ACEOF
27564 cat confdefs.h
>>conftest.
$ac_ext
27565 cat >>conftest.
$ac_ext <<_ACEOF
27566 /* end confdefs.h. */
27569 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
27570 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
27572 grep -v '^ *+' conftest.er1
>conftest.err
27574 cat conftest.err
>&5
27575 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27576 (exit $ac_status); } >/dev
/null
; then
27577 if test -s conftest.err
; then
27578 ac_cpp_err
=$ac_c_preproc_warn_flag
27579 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
27586 if test -z "$ac_cpp_err"; then
27587 ac_header_preproc
=yes
27589 echo "$as_me: failed program was:" >&5
27590 sed 's/^/| /' conftest.
$ac_ext >&5
27592 ac_header_preproc
=no
27594 rm -f conftest.err conftest.
$ac_ext
27595 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
27596 echo "${ECHO_T}$ac_header_preproc" >&6
27598 # So? What about this header?
27599 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
27601 { echo "$as_me:$LINENO: WARNING: GL/gl.h: accepted by the compiler, rejected by the preprocessor!" >&5
27602 echo "$as_me: WARNING: GL/gl.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
27603 { echo "$as_me:$LINENO: WARNING: GL/gl.h: proceeding with the compiler's result" >&5
27604 echo "$as_me: WARNING: GL/gl.h: proceeding with the compiler's result" >&2;}
27605 ac_header_preproc
=yes
27608 { echo "$as_me:$LINENO: WARNING: GL/gl.h: present but cannot be compiled" >&5
27609 echo "$as_me: WARNING: GL/gl.h: present but cannot be compiled" >&2;}
27610 { echo "$as_me:$LINENO: WARNING: GL/gl.h: check for missing prerequisite headers?" >&5
27611 echo "$as_me: WARNING: GL/gl.h: check for missing prerequisite headers?" >&2;}
27612 { echo "$as_me:$LINENO: WARNING: GL/gl.h: see the Autoconf documentation" >&5
27613 echo "$as_me: WARNING: GL/gl.h: see the Autoconf documentation" >&2;}
27614 { echo "$as_me:$LINENO: WARNING: GL/gl.h: section \"Present But Cannot Be Compiled\"" >&5
27615 echo "$as_me: WARNING: GL/gl.h: section \"Present But Cannot Be Compiled\"" >&2;}
27616 { echo "$as_me:$LINENO: WARNING: GL/gl.h: proceeding with the preprocessor's result" >&5
27617 echo "$as_me: WARNING: GL/gl.h: proceeding with the preprocessor's result" >&2;}
27618 { echo "$as_me:$LINENO: WARNING: GL/gl.h: in the future, the compiler will take precedence" >&5
27619 echo "$as_me: WARNING: GL/gl.h: in the future, the compiler will take precedence" >&2;}
27622 ## ----------------------------------------- ##
27623 ## Report this to wx-dev@lists.wxwindows.org ##
27624 ## ----------------------------------------- ##
27627 sed "s/^/$as_me: WARNING: /" >&2
27630 echo "$as_me:$LINENO: checking for GL/gl.h" >&5
27631 echo $ECHO_N "checking for GL/gl.h... $ECHO_C" >&6
27632 if test "${ac_cv_header_GL_gl_h+set}" = set; then
27633 echo $ECHO_N "(cached) $ECHO_C" >&6
27635 ac_cv_header_GL_gl_h
=$ac_header_preproc
27637 echo "$as_me:$LINENO: result: $ac_cv_header_GL_gl_h" >&5
27638 echo "${ECHO_T}$ac_cv_header_GL_gl_h" >&6
27641 if test $ac_cv_header_GL_gl_h = yes; then
27645 echo "$as_me:$LINENO: checking for -lGL" >&5
27646 echo $ECHO_N "checking for -lGL... $ECHO_C" >&6
27649 for ac_dir
in $SEARCH_LIB /usr
/lib
;
27651 for ac_extension
in a so sl dylib
; do
27652 if test -f "$ac_dir/libGL.$ac_extension"; then
27653 ac_find_libraries
=$ac_dir
27659 if test "$ac_find_libraries" != "" ; then
27661 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev
/null
27663 if test $result = 0; then
27666 ac_path_to_link
=" -L$ac_find_libraries"
27669 if test "$ac_path_to_link" != " -L/usr/lib" ; then
27670 LDFLAGS_GL
="$ac_path_to_link"
27675 for ac_dir
in $SEARCH_LIB /usr
/lib
;
27677 for ac_extension
in a so sl dylib
; do
27678 if test -f "$ac_dir/libGLU.$ac_extension"; then
27679 ac_find_libraries
=$ac_dir
27685 if test "$ac_find_libraries" != "" ; then
27687 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev
/null
27689 if test $result = 0; then
27692 ac_path_to_link
=" -L$ac_find_libraries"
27695 if test "$ac_path_to_link" != " -L/usr/lib" -a \
27696 "$ac_path_to_link" != "$LDFLAGS_GL"; then
27697 LDFLAGS_GL
="$LDFLAGS_GL$ac_path_to_link"
27701 OPENGL_LIBS
="-lGL -lGLU"
27702 echo "$as_me:$LINENO: result: yes" >&5
27703 echo "${ECHO_T}yes" >&6
27707 if test "$found_gl" != 1; then
27708 echo "$as_me:$LINENO: result: no" >&5
27709 echo "${ECHO_T}no" >&6
27710 echo "$as_me:$LINENO: checking for -lMesaGL" >&5
27711 echo $ECHO_N "checking for -lMesaGL... $ECHO_C" >&6
27714 for ac_dir
in $SEARCH_LIB /usr
/lib
;
27716 for ac_extension
in a so sl dylib
; do
27717 if test -f "$ac_dir/libMesaGL.$ac_extension"; then
27718 ac_find_libraries
=$ac_dir
27724 if test "$ac_find_libraries" != "" ; then
27726 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev
/null
27728 if test $result = 0; then
27731 ac_path_to_link
=" -L$ac_find_libraries"
27734 LDFLAGS_GL
="$LDFLAGS$ac_path_to_link"
27735 OPENGL_LIBS
="-lMesaGL -lMesaGLU"
27736 echo "$as_me:$LINENO: result: yes" >&5
27737 echo "${ECHO_T}yes" >&6
27739 echo "$as_me:$LINENO: result: no" >&5
27740 echo "${ECHO_T}no" >&6
27748 if test "x$OPENGL_LIBS" = "x"; then
27749 { { echo "$as_me:$LINENO: error: OpenGL libraries not available" >&5
27750 echo "$as_me: error: OpenGL libraries not available" >&2;}
27751 { (exit 1); exit 1; }; }
27755 if test "$wxUSE_OPENGL" = "yes"; then
27757 cat >>confdefs.h
<<\_ACEOF
27758 #define wxUSE_OPENGL 1
27761 cat >>confdefs.h
<<\_ACEOF
27762 #define wxUSE_GLCANVAS 1
27765 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS opengl opengl/cube opengl/penguin opengl/isosurf"
27769 if test -z "$TOOLKIT_VPATH" ; then
27770 TOOLKIT_VPATH
="\${top_srcdir}/src/${TOOLKIT_DIR}"
27773 if test -n "$TOOLKIT" ; then
27774 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -D__WX${TOOLKIT}__"
27778 lib_unicode_suffix
=
27779 if test "$wxUSE_UNICODE" = "yes"; then
27780 lib_unicode_suffix
=u
27786 if test "$wxUSE_DEBUG_FLAG" = "yes"; then
27792 if test "$wxUSE_DEBUG_INFO" = "yes"; then
27796 WX_VERSION_TAG
=`echo WX${lib_unicode_suffix}${lib_debug_suffix}_${WX_RELEASE} | tr "[a-z]" "[A-Z]"`
27798 TOOLCHAIN_NAME
="${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}-${WX_RELEASE}"
27799 TOOLCHAIN_NAME_GL
="${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}_gl-${WX_RELEASE}"
27801 if test "$cross_compiling" = "yes"; then
27802 TOOLCHAIN_NAME
="${TOOLCHAIN_NAME}-${host_alias}"
27803 TOOLCHAIN_NAME_GL
="${TOOLCHAIN_NAME_GL}-${host_alias}"
27804 HOST_SUFFIX
="-${host_alias}"
27807 WX_LIBRARY
="wx_${TOOLCHAIN_NAME}"
27808 WX_LIBRARY_GL
="wx_${TOOLCHAIN_NAME_GL}"
27809 WX_LIBRARY_BASENAME_NOGUI
="wx_base${WXBASEPORT}${lib_unicode_suffix}${lib_debug_suffix}"
27810 WX_LIBRARY_BASENAME_GUI
="wx_${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}"
27812 WX_LIBRARY_NAME_SHARED
="lib${WX_LIBRARY}.${SO_SUFFIX}.${WX_CURRENT}.${WX_REVISION}.${WX_AGE}"
27813 WX_LIBRARY_NAME_SHARED_GL
="lib${WX_LIBRARY_GL}.${SO_SUFFIX}.${WX_CURRENT}.${WX_REVISION}.${WX_AGE}"
27815 WX_LIBRARY_LINK1
="lib${WX_LIBRARY}.${SO_SUFFIX}.${WX_CURRENT}"
27816 WX_LIBRARY_LINK2
="lib${WX_LIBRARY}.${SO_SUFFIX}"
27817 WX_LIBRARY_LINK1_GL
="lib${WX_LIBRARY_GL}.${SO_SUFFIX}.${WX_CURRENT}"
27818 WX_LIBRARY_LINK2_GL
="lib${WX_LIBRARY_GL}.${SO_SUFFIX}"
27821 *-*-cygwin* | *-*-mingw32* )
27822 WX_LIBRARY_NAME_SHARED
="lib${WX_LIBRARY}.${SO_SUFFIX}"
27823 WX_LIBRARY_NAME_SHARED_GL
="lib${WX_LIBRARY_GL}.${SO_SUFFIX}"
27828 WX_LIBRARY_NAME_SHARED
="lib${WX_LIBRARY}.${WX_CURRENT}.${WX_REVISION}.${WX_AGE}.${SO_SUFFIX}"
27829 WX_LIBRARY_NAME_SHARED_GL
="lib${WX_LIBRARY_GL}.${WX_CURRENT}.${WX_REVISION}.${WX_AGE}.${SO_SUFFIX}"
27831 WX_LIBRARY_LINK1
="lib${WX_LIBRARY}.${WX_CURRENT}.${SO_SUFFIX}"
27832 WX_LIBRARY_LINK2
="lib${WX_LIBRARY}.${SO_SUFFIX}"
27833 WX_LIBRARY_LINK1_GL
="lib${WX_LIBRARY_GL}.${WX_CURRENT}.${SO_SUFFIX}"
27834 WX_LIBRARY_LINK2_GL
="lib${WX_LIBRARY_GL}.${SO_SUFFIX}"
27836 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = "1"; then
27837 WX_RESOURCES_MACOSX_ASCII
="lib${WX_LIBRARY}.${WX_CURRENT}.r"
27838 WX_RESOURCES_MACOSX_DATA
="lib${WX_LIBRARY}.${WX_CURRENT}.rsrc"
27843 WX_LIBRARY_NAME_STATIC
="lib${WX_LIBRARY}.a"
27844 WX_LIBRARY_NAME_STATIC_GL
="lib${WX_LIBRARY_GL}.a"
27846 WXCONFIG_LIBS
="-l${WX_LIBRARY}"
27847 WXCONFIG_LIBS_STATIC
="lib${WX_LIBRARY}.a"
27849 if test "$wxUSE_OPENGL" = "yes"; then
27850 WXCONFIG_LIBS_GL
="-l${WX_LIBRARY_GL} ${OPENGL_LIBS}"
27851 WXCONFIG_LIBS_STATIC_GL
="lib${WX_LIBRARY_GL}.a ${OPENGL_LIBS}"
27856 if test "$wxUSE_SHARED" = "yes"; then
27860 { echo "$as_me:$LINENO: WARNING: Host system doesn't support shared libraries, disabling" >&5
27861 echo "$as_me: WARNING: Host system doesn't support shared libraries, disabling" >&2;}
27867 if test "$wxUSE_SHARED" = "yes"; then
27871 found_versioning
=no
27874 if test $found_versioning = no
; then
27875 echo "$as_me:$LINENO: checking if the linker accepts --version-script" >&5
27876 echo $ECHO_N "checking if the linker accepts --version-script... $ECHO_C" >&6
27877 if test "${wx_cv_version_script+set}" = set; then
27878 echo $ECHO_N "(cached) $ECHO_C" >&6
27881 echo "VER_1 { *; };" >conftest.sym
27882 echo "int main() { return 0; }" >conftest.cpp
27885 $CXX -o conftest.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
27886 -Wl,--version-script,conftest.sym >/dev/null 2>conftest.stderr'
27887 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27888 (eval $ac_try) 2>&5
27890 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27891 (exit $ac_status); }; } ; then
27892 if test -s conftest.stderr
; then
27893 wx_cv_version_script
=no
27895 wx_cv_version_script
=yes
27898 wx_cv_version_script
=no
27900 rm -f conftest.output conftest.stderr conftest.sym conftest.cpp
27903 echo "$as_me:$LINENO: result: $wx_cv_version_script" >&5
27904 echo "${ECHO_T}$wx_cv_version_script" >&6
27905 if test $wx_cv_version_script = yes ; then
27906 LDFLAGS_VERSIONING
="-Wl,--version-script,\$(top_builddir)version-script"
27912 *-*-linux* | *-*-gnu* )
27913 SAMPLES_RPATH_FLAG
="-Wl,-rpath,\$(top_builddir)lib"
27917 if test "$GCC" = yes ; then
27918 CPPFLAGS
="$CPPFLAGS -isystem /usr/openwin/include"
27920 saveLdflags
="$LDFLAGS"
27921 LDFLAGS
="$saveLdflags -Wl,-rpath,/"
27922 echo "$as_me:$LINENO: checking if the linker accepts -rpath" >&5
27923 echo $ECHO_N "checking if the linker accepts -rpath... $ECHO_C" >&6
27924 cat >conftest.
$ac_ext <<_ACEOF
27927 cat confdefs.h
>>conftest.
$ac_ext
27928 cat >>conftest.
$ac_ext <<_ACEOF
27929 /* end confdefs.h. */
27939 rm -f conftest.
$ac_objext conftest
$ac_exeext
27940 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27941 (eval $ac_link) 2>conftest.er1
27943 grep -v '^ *+' conftest.er1
>conftest.err
27945 cat conftest.err
>&5
27946 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27947 (exit $ac_status); } &&
27948 { ac_try
='test -z "$ac_c_werror_flag"
27949 || test ! -s conftest.err'
27950 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27951 (eval $ac_try) 2>&5
27953 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27954 (exit $ac_status); }; } &&
27955 { ac_try
='test -s conftest$ac_exeext'
27956 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27957 (eval $ac_try) 2>&5
27959 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27960 (exit $ac_status); }; }; then
27962 echo "$as_me:$LINENO: result: yes" >&5
27963 echo "${ECHO_T}yes" >&6
27964 SAMPLES_RPATH_FLAG
="-Wl,-rpath,\$(top_builddir)lib"
27967 echo "$as_me: failed program was:" >&5
27968 sed 's/^/| /' conftest.
$ac_ext >&5
27971 echo "$as_me:$LINENO: result: no" >&5
27972 echo "${ECHO_T}no" >&6
27973 echo "$as_me:$LINENO: checking if the linker accepts -R" >&5
27974 echo $ECHO_N "checking if the linker accepts -R... $ECHO_C" >&6
27975 LDFLAGS
="$saveLdflags -Wl,-R,/"
27976 cat >conftest.
$ac_ext <<_ACEOF
27979 cat confdefs.h
>>conftest.
$ac_ext
27980 cat >>conftest.
$ac_ext <<_ACEOF
27981 /* end confdefs.h. */
27991 rm -f conftest.
$ac_objext conftest
$ac_exeext
27992 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27993 (eval $ac_link) 2>conftest.er1
27995 grep -v '^ *+' conftest.er1
>conftest.err
27997 cat conftest.err
>&5
27998 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27999 (exit $ac_status); } &&
28000 { ac_try
='test -z "$ac_c_werror_flag"
28001 || test ! -s conftest.err'
28002 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28003 (eval $ac_try) 2>&5
28005 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28006 (exit $ac_status); }; } &&
28007 { ac_try
='test -s conftest$ac_exeext'
28008 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28009 (eval $ac_try) 2>&5
28011 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28012 (exit $ac_status); }; }; then
28014 echo "$as_me:$LINENO: result: yes" >&5
28015 echo "${ECHO_T}yes" >&6
28016 SAMPLES_RPATH_FLAG
="-Wl,-R,\$(top_builddir)lib"
28018 echo "$as_me: failed program was:" >&5
28019 sed 's/^/| /' conftest.
$ac_ext >&5
28022 echo "$as_me:$LINENO: result: no" >&5
28023 echo "${ECHO_T}no" >&6
28026 rm -f conftest.err conftest.
$ac_objext \
28027 conftest
$ac_exeext conftest.
$ac_ext
28030 rm -f conftest.err conftest.
$ac_objext \
28031 conftest
$ac_exeext conftest.
$ac_ext
28032 LDFLAGS
="$saveLdflags"
28034 SHARED_LD
="${CXX} -G -o"
28036 SAMPLES_RPATH_FLAG
="-R\$(top_builddir)lib"
28040 powerpc
-*-darwin* )
28041 SAMPLES_RPATH_POSTLINK
="\$(top_builddir)change-install-names \$(LIBDIRNAME) \$(prefix) \$@"
28042 cat <<EOF >change-install-names
28044 libnames=\`cd \${1} ; ls -1 | grep '\.[0-9][0-9]*\.dylib\$'\`
28045 inst_cmd="install_name_tool "
28046 for i in \${libnames} ; do
28047 inst_cmd="\${inst_cmd} -change \${2}/lib/\${i} \${1}/\${i}"
28051 chmod +x change
-install-names
28054 *-*-cygwin* | *-*-mingw32* )
28055 TOOLCHAIN_DLL_DEFS
="${TOOLCHAIN_DLL_DEFS} -DWXUSINGDLL=1"
28060 if test "x$WX_TARGET_LIBRARY" = "x"; then
28061 WX_TARGET_LIBRARY
="${WX_LIBRARY_NAME_SHARED}"
28062 WX_TARGET_LIBRARY_GL
="${WX_LIBRARY_NAME_SHARED_GL}"
28065 WX_TARGET_LIBRARY_TYPE
="so"
28066 INSTALL_LIBRARY
='$(INSTALL_PROGRAM)'
28069 if test "$wxUSE_SHARED" = "no"; then
28071 if test "$wxUSE_GUI" = "no" -o "$USE_WIN32" = 1 ; then
28072 WX_ALL_INSTALLED
="${WX_ALL_INSTALLED} preinstall"
28075 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1 ; then
28076 WX_ALL_INSTALLED
="${WX_ALL_INSTALLED} preinstall"
28079 if test "$wxUSE_OPENGL" = "yes"; then
28080 WX_ALL_INSTALLED
="${WX_ALL_INSTALLED} preinstall_gl"
28081 WX_ALL
="\$(build_libdir)/${WX_LIBRARY_NAME_STATIC} \$(build_libdir)/${WX_LIBRARY_NAME_STATIC_GL}"
28083 WX_ALL
="\$(build_libdir)/${WX_LIBRARY_NAME_STATIC}"
28086 WX_TARGET_LIBRARY
="${WX_LIBRARY_NAME_STATIC}"
28087 WX_TARGET_LIBRARY_GL
="${WX_LIBRARY_NAME_STATIC_GL}"
28089 WX_TARGET_LIBRARY_TYPE
="a"
28090 INSTALL_LIBRARY
='$(INSTALL_DATA)'
28097 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1; then
28098 LIBWXMACRES
="\$(top_builddir)lib/${WX_RESOURCES_MACOSX_ASCII}"
28099 WX_ALL
="${WX_ALL} ${LIBWXMACRES}"
28100 WX_ALL_INSTALLED
="${WX_ALL_INSTALLED} preinstall_res"
28102 # Extract the first word of "Rez", so it can be a program name with args.
28103 set dummy Rez
; ac_word
=$2
28104 echo "$as_me:$LINENO: checking for $ac_word" >&5
28105 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
28106 if test "${ac_cv_prog_RESCOMP+set}" = set; then
28107 echo $ECHO_N "(cached) $ECHO_C" >&6
28109 if test -n "$RESCOMP"; then
28110 ac_cv_prog_RESCOMP
="$RESCOMP" # Let the user override the test.
28112 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
28113 for as_dir
in $PATH
28116 test -z "$as_dir" && as_dir
=.
28117 for ac_exec_ext
in '' $ac_executable_extensions; do
28118 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
28119 ac_cv_prog_RESCOMP
="Rez"
28120 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
28126 test -z "$ac_cv_prog_RESCOMP" && ac_cv_prog_RESCOMP
="/Developer/Tools/Rez"
28129 RESCOMP
=$ac_cv_prog_RESCOMP
28130 if test -n "$RESCOMP"; then
28131 echo "$as_me:$LINENO: result: $RESCOMP" >&5
28132 echo "${ECHO_T}$RESCOMP" >&6
28134 echo "$as_me:$LINENO: result: no" >&5
28135 echo "${ECHO_T}no" >&6
28138 # Extract the first word of "DeRez", so it can be a program name with args.
28139 set dummy DeRez
; ac_word
=$2
28140 echo "$as_me:$LINENO: checking for $ac_word" >&5
28141 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
28142 if test "${ac_cv_prog_DEREZ+set}" = set; then
28143 echo $ECHO_N "(cached) $ECHO_C" >&6
28145 if test -n "$DEREZ"; then
28146 ac_cv_prog_DEREZ
="$DEREZ" # Let the user override the test.
28148 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
28149 for as_dir
in $PATH
28152 test -z "$as_dir" && as_dir
=.
28153 for ac_exec_ext
in '' $ac_executable_extensions; do
28154 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
28155 ac_cv_prog_DEREZ
="DeRez"
28156 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
28162 test -z "$ac_cv_prog_DEREZ" && ac_cv_prog_DEREZ
="/Developer/Tools/DeRez"
28165 DEREZ
=$ac_cv_prog_DEREZ
28166 if test -n "$DEREZ"; then
28167 echo "$as_me:$LINENO: result: $DEREZ" >&5
28168 echo "${ECHO_T}$DEREZ" >&6
28170 echo "$as_me:$LINENO: result: no" >&5
28171 echo "${ECHO_T}no" >&6
28174 # Extract the first word of "SetFile", so it can be a program name with args.
28175 set dummy SetFile
; ac_word
=$2
28176 echo "$as_me:$LINENO: checking for $ac_word" >&5
28177 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
28178 if test "${ac_cv_prog_SETFILE+set}" = set; then
28179 echo $ECHO_N "(cached) $ECHO_C" >&6
28181 if test -n "$SETFILE"; then
28182 ac_cv_prog_SETFILE
="$SETFILE" # Let the user override the test.
28184 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
28185 for as_dir
in $PATH
28188 test -z "$as_dir" && as_dir
=.
28189 for ac_exec_ext
in '' $ac_executable_extensions; do
28190 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
28191 ac_cv_prog_SETFILE
="SetFile"
28192 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
28198 test -z "$ac_cv_prog_SETFILE" && ac_cv_prog_SETFILE
="/Developer/Tools/SetFile"
28201 SETFILE
=$ac_cv_prog_SETFILE
28202 if test -n "$SETFILE"; then
28203 echo "$as_me:$LINENO: result: $SETFILE" >&5
28204 echo "${ECHO_T}$SETFILE" >&6
28206 echo "$as_me:$LINENO: result: no" >&5
28207 echo "${ECHO_T}no" >&6
28211 MACSETFILE
="\$(SETFILE)"
28213 if test "$wxUSE_MAC" = 1; then
28214 MACRESCOMP
="\$(RESCOMP) -d __DARWIN__ -t APPL Carbon.r ${LIBWXMACRES} -o"
28216 MACRESWXCONFIG
="${RESCOMP} -d __DARWIN__ -t APPL Carbon.r \\\${exec_prefix}/lib/${WX_RESOURCES_MACOSX_ASCII} -o"
28218 MACRESCOMP
="echo -n | \$(RESCOMP) -d __DARWIN__ -t APPL ${LIBWXMACRES} -o"
28219 MACRESWXCONFIG
="echo -n \\\| ${RESCOMP} -d __DARWIN__ -t APPL \\\${exec_prefix}/lib/${WX_RESOURCES_MACOSX_ASCII} -o"
28225 if test "$wxUSE_PM" = 1; then
28226 MACRESCOMP
="emxbind -ep"
28234 echo "$as_me:$LINENO: checking for mode_t" >&5
28235 echo $ECHO_N "checking for mode_t... $ECHO_C" >&6
28236 if test "${ac_cv_type_mode_t+set}" = set; then
28237 echo $ECHO_N "(cached) $ECHO_C" >&6
28239 cat >conftest.
$ac_ext <<_ACEOF
28242 cat confdefs.h
>>conftest.
$ac_ext
28243 cat >>conftest.
$ac_ext <<_ACEOF
28244 /* end confdefs.h. */
28245 $ac_includes_default
28251 if (sizeof (mode_t))
28257 rm -f conftest.
$ac_objext
28258 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28259 (eval $ac_compile) 2>conftest.er1
28261 grep -v '^ *+' conftest.er1
>conftest.err
28263 cat conftest.err
>&5
28264 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28265 (exit $ac_status); } &&
28266 { ac_try
='test -z "$ac_c_werror_flag"
28267 || test ! -s conftest.err'
28268 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28269 (eval $ac_try) 2>&5
28271 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28272 (exit $ac_status); }; } &&
28273 { ac_try
='test -s conftest.$ac_objext'
28274 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28275 (eval $ac_try) 2>&5
28277 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28278 (exit $ac_status); }; }; then
28279 ac_cv_type_mode_t
=yes
28281 echo "$as_me: failed program was:" >&5
28282 sed 's/^/| /' conftest.
$ac_ext >&5
28284 ac_cv_type_mode_t
=no
28286 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
28288 echo "$as_me:$LINENO: result: $ac_cv_type_mode_t" >&5
28289 echo "${ECHO_T}$ac_cv_type_mode_t" >&6
28290 if test $ac_cv_type_mode_t = yes; then
28294 cat >>confdefs.h
<<_ACEOF
28300 echo "$as_me:$LINENO: checking for off_t" >&5
28301 echo $ECHO_N "checking for off_t... $ECHO_C" >&6
28302 if test "${ac_cv_type_off_t+set}" = set; then
28303 echo $ECHO_N "(cached) $ECHO_C" >&6
28305 cat >conftest.
$ac_ext <<_ACEOF
28308 cat confdefs.h
>>conftest.
$ac_ext
28309 cat >>conftest.
$ac_ext <<_ACEOF
28310 /* end confdefs.h. */
28311 $ac_includes_default
28317 if (sizeof (off_t))
28323 rm -f conftest.
$ac_objext
28324 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28325 (eval $ac_compile) 2>conftest.er1
28327 grep -v '^ *+' conftest.er1
>conftest.err
28329 cat conftest.err
>&5
28330 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28331 (exit $ac_status); } &&
28332 { ac_try
='test -z "$ac_c_werror_flag"
28333 || test ! -s conftest.err'
28334 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28335 (eval $ac_try) 2>&5
28337 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28338 (exit $ac_status); }; } &&
28339 { ac_try
='test -s conftest.$ac_objext'
28340 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28341 (eval $ac_try) 2>&5
28343 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28344 (exit $ac_status); }; }; then
28345 ac_cv_type_off_t
=yes
28347 echo "$as_me: failed program was:" >&5
28348 sed 's/^/| /' conftest.
$ac_ext >&5
28350 ac_cv_type_off_t
=no
28352 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
28354 echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
28355 echo "${ECHO_T}$ac_cv_type_off_t" >&6
28356 if test $ac_cv_type_off_t = yes; then
28360 cat >>confdefs.h
<<_ACEOF
28366 echo "$as_me:$LINENO: checking for pid_t" >&5
28367 echo $ECHO_N "checking for pid_t... $ECHO_C" >&6
28368 if test "${ac_cv_type_pid_t+set}" = set; then
28369 echo $ECHO_N "(cached) $ECHO_C" >&6
28371 cat >conftest.
$ac_ext <<_ACEOF
28374 cat confdefs.h
>>conftest.
$ac_ext
28375 cat >>conftest.
$ac_ext <<_ACEOF
28376 /* end confdefs.h. */
28377 $ac_includes_default
28383 if (sizeof (pid_t))
28389 rm -f conftest.
$ac_objext
28390 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28391 (eval $ac_compile) 2>conftest.er1
28393 grep -v '^ *+' conftest.er1
>conftest.err
28395 cat conftest.err
>&5
28396 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28397 (exit $ac_status); } &&
28398 { ac_try
='test -z "$ac_c_werror_flag"
28399 || test ! -s conftest.err'
28400 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28401 (eval $ac_try) 2>&5
28403 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28404 (exit $ac_status); }; } &&
28405 { ac_try
='test -s conftest.$ac_objext'
28406 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28407 (eval $ac_try) 2>&5
28409 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28410 (exit $ac_status); }; }; then
28411 ac_cv_type_pid_t
=yes
28413 echo "$as_me: failed program was:" >&5
28414 sed 's/^/| /' conftest.
$ac_ext >&5
28416 ac_cv_type_pid_t
=no
28418 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
28420 echo "$as_me:$LINENO: result: $ac_cv_type_pid_t" >&5
28421 echo "${ECHO_T}$ac_cv_type_pid_t" >&6
28422 if test $ac_cv_type_pid_t = yes; then
28426 cat >>confdefs.h
<<_ACEOF
28432 echo "$as_me:$LINENO: checking for size_t" >&5
28433 echo $ECHO_N "checking for size_t... $ECHO_C" >&6
28434 if test "${ac_cv_type_size_t+set}" = set; then
28435 echo $ECHO_N "(cached) $ECHO_C" >&6
28437 cat >conftest.
$ac_ext <<_ACEOF
28440 cat confdefs.h
>>conftest.
$ac_ext
28441 cat >>conftest.
$ac_ext <<_ACEOF
28442 /* end confdefs.h. */
28443 $ac_includes_default
28449 if (sizeof (size_t))
28455 rm -f conftest.
$ac_objext
28456 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28457 (eval $ac_compile) 2>conftest.er1
28459 grep -v '^ *+' conftest.er1
>conftest.err
28461 cat conftest.err
>&5
28462 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28463 (exit $ac_status); } &&
28464 { ac_try
='test -z "$ac_c_werror_flag"
28465 || test ! -s conftest.err'
28466 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28467 (eval $ac_try) 2>&5
28469 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28470 (exit $ac_status); }; } &&
28471 { ac_try
='test -s conftest.$ac_objext'
28472 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28473 (eval $ac_try) 2>&5
28475 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28476 (exit $ac_status); }; }; then
28477 ac_cv_type_size_t
=yes
28479 echo "$as_me: failed program was:" >&5
28480 sed 's/^/| /' conftest.
$ac_ext >&5
28482 ac_cv_type_size_t
=no
28484 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
28486 echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
28487 echo "${ECHO_T}$ac_cv_type_size_t" >&6
28488 if test $ac_cv_type_size_t = yes; then
28492 cat >>confdefs.h
<<_ACEOF
28493 #define size_t unsigned
28498 echo "$as_me:$LINENO: checking for uid_t in sys/types.h" >&5
28499 echo $ECHO_N "checking for uid_t in sys/types.h... $ECHO_C" >&6
28500 if test "${ac_cv_type_uid_t+set}" = set; then
28501 echo $ECHO_N "(cached) $ECHO_C" >&6
28503 cat >conftest.
$ac_ext <<_ACEOF
28506 cat confdefs.h
>>conftest.
$ac_ext
28507 cat >>conftest.
$ac_ext <<_ACEOF
28508 /* end confdefs.h. */
28509 #include <sys/types.h>
28512 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
28513 $EGREP "uid_t" >/dev
/null
2>&1; then
28514 ac_cv_type_uid_t
=yes
28516 ac_cv_type_uid_t
=no
28521 echo "$as_me:$LINENO: result: $ac_cv_type_uid_t" >&5
28522 echo "${ECHO_T}$ac_cv_type_uid_t" >&6
28523 if test $ac_cv_type_uid_t = no
; then
28525 cat >>confdefs.h
<<\_ACEOF
28530 cat >>confdefs.h
<<\_ACEOF
28540 ac_cpp
='$CXXCPP $CPPFLAGS'
28541 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28542 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28543 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
28545 echo "$as_me:$LINENO: checking if size_t is unsigned int" >&5
28546 echo $ECHO_N "checking if size_t is unsigned int... $ECHO_C" >&6
28547 if test "${wx_cv_size_t_is_uint+set}" = set; then
28548 echo $ECHO_N "(cached) $ECHO_C" >&6
28551 cat >conftest.
$ac_ext <<_ACEOF
28554 cat confdefs.h
>>conftest.
$ac_ext
28555 cat >>conftest.
$ac_ext <<_ACEOF
28556 /* end confdefs.h. */
28557 #include <stddef.h>
28564 struct Foo { void foo(size_t); void foo(unsigned int); };
28572 rm -f conftest.
$ac_objext
28573 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28574 (eval $ac_compile) 2>conftest.er1
28576 grep -v '^ *+' conftest.er1
>conftest.err
28578 cat conftest.err
>&5
28579 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28580 (exit $ac_status); } &&
28581 { ac_try
='test -z "$ac_cxx_werror_flag"
28582 || test ! -s conftest.err'
28583 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28584 (eval $ac_try) 2>&5
28586 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28587 (exit $ac_status); }; } &&
28588 { ac_try
='test -s conftest.$ac_objext'
28589 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28590 (eval $ac_try) 2>&5
28592 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28593 (exit $ac_status); }; }; then
28594 wx_cv_size_t_is_uint
=no
28596 echo "$as_me: failed program was:" >&5
28597 sed 's/^/| /' conftest.
$ac_ext >&5
28599 wx_cv_size_t_is_uint
=yes
28602 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
28606 echo "$as_me:$LINENO: result: $wx_cv_size_t_is_uint" >&5
28607 echo "${ECHO_T}$wx_cv_size_t_is_uint" >&6
28609 if test "$wx_cv_size_t_is_uint" = "yes"; then
28610 cat >>confdefs.h
<<\_ACEOF
28611 #define wxSIZE_T_IS_UINT 1
28615 echo "$as_me:$LINENO: checking if size_t is unsigned long" >&5
28616 echo $ECHO_N "checking if size_t is unsigned long... $ECHO_C" >&6
28617 if test "${wx_cv_size_t_is_ulong+set}" = set; then
28618 echo $ECHO_N "(cached) $ECHO_C" >&6
28620 cat >conftest.
$ac_ext <<_ACEOF
28623 cat confdefs.h
>>conftest.
$ac_ext
28624 cat >>conftest.
$ac_ext <<_ACEOF
28625 /* end confdefs.h. */
28626 #include <stddef.h>
28633 struct Foo { void foo(size_t); void foo(unsigned long); };
28641 rm -f conftest.
$ac_objext
28642 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28643 (eval $ac_compile) 2>conftest.er1
28645 grep -v '^ *+' conftest.er1
>conftest.err
28647 cat conftest.err
>&5
28648 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28649 (exit $ac_status); } &&
28650 { ac_try
='test -z "$ac_cxx_werror_flag"
28651 || test ! -s conftest.err'
28652 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28653 (eval $ac_try) 2>&5
28655 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28656 (exit $ac_status); }; } &&
28657 { ac_try
='test -s conftest.$ac_objext'
28658 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28659 (eval $ac_try) 2>&5
28661 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28662 (exit $ac_status); }; }; then
28663 wx_cv_size_t_is_ulong
=no
28665 echo "$as_me: failed program was:" >&5
28666 sed 's/^/| /' conftest.
$ac_ext >&5
28668 wx_cv_size_t_is_ulong
=yes
28671 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
28674 echo "$as_me:$LINENO: result: $wx_cv_size_t_is_ulong" >&5
28675 echo "${ECHO_T}$wx_cv_size_t_is_ulong" >&6
28677 if test "$wx_cv_size_t_is_ulong" = "yes"; then
28678 cat >>confdefs.h
<<\_ACEOF
28679 #define wxSIZE_T_IS_ULONG 1
28686 ac_cpp
='$CPP $CPPFLAGS'
28687 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28688 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28689 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
28693 echo "$as_me:$LINENO: checking for pw_gecos in struct passwd" >&5
28694 echo $ECHO_N "checking for pw_gecos in struct passwd... $ECHO_C" >&6
28695 if test "${wx_cv_struct_pw_gecos+set}" = set; then
28696 echo $ECHO_N "(cached) $ECHO_C" >&6
28699 cat >conftest.
$ac_ext <<_ACEOF
28702 cat confdefs.h
>>conftest.
$ac_ext
28703 cat >>conftest.
$ac_ext <<_ACEOF
28704 /* end confdefs.h. */
28718 rm -f conftest.
$ac_objext
28719 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28720 (eval $ac_compile) 2>conftest.er1
28722 grep -v '^ *+' conftest.er1
>conftest.err
28724 cat conftest.err
>&5
28725 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28726 (exit $ac_status); } &&
28727 { ac_try
='test -z "$ac_c_werror_flag"
28728 || test ! -s conftest.err'
28729 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28730 (eval $ac_try) 2>&5
28732 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28733 (exit $ac_status); }; } &&
28734 { ac_try
='test -s conftest.$ac_objext'
28735 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28736 (eval $ac_try) 2>&5
28738 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28739 (exit $ac_status); }; }; then
28741 wx_cv_struct_pw_gecos
=yes
28744 echo "$as_me: failed program was:" >&5
28745 sed 's/^/| /' conftest.
$ac_ext >&5
28748 wx_cv_struct_pw_gecos
=no
28752 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
28756 echo "$as_me:$LINENO: result: $wx_cv_struct_pw_gecos" >&5
28757 echo "${ECHO_T}$wx_cv_struct_pw_gecos" >&6
28759 if test "$wx_cv_struct_pw_gecos" = "yes"; then
28760 cat >>confdefs.h
<<\_ACEOF
28761 #define HAVE_PW_GECOS 1
28767 if test "$wx_cv_sizeof_wchar_t" != "0"; then
28768 cat >>confdefs.h
<<\_ACEOF
28769 #define wxUSE_WCHAR_T 1
28776 for ac_func
in wcslen
28778 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28779 echo "$as_me:$LINENO: checking for $ac_func" >&5
28780 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
28781 if eval "test \"\${$as_ac_var+set}\" = set"; then
28782 echo $ECHO_N "(cached) $ECHO_C" >&6
28784 cat >conftest.
$ac_ext <<_ACEOF
28787 cat confdefs.h
>>conftest.
$ac_ext
28788 cat >>conftest.
$ac_ext <<_ACEOF
28789 /* end confdefs.h. */
28790 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
28791 For example, HP-UX 11i <limits.h> declares gettimeofday. */
28792 #define $ac_func innocuous_$ac_func
28794 /* System header to define __stub macros and hopefully few prototypes,
28795 which can conflict with char $ac_func (); below.
28796 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28797 <limits.h> exists even on freestanding compilers. */
28800 # include <limits.h>
28802 # include <assert.h>
28807 /* Override any gcc2 internal prototype to avoid an error. */
28812 /* We use char because int might match the return type of a gcc2
28813 builtin and then its argument prototype would still apply. */
28815 /* The GNU C library defines this for functions which it implements
28816 to always fail with ENOSYS. Some functions are actually named
28817 something starting with __ and the normal name is an alias. */
28818 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
28821 char (*f) () = $ac_func;
28830 return f != $ac_func;
28835 rm -f conftest.
$ac_objext conftest
$ac_exeext
28836 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28837 (eval $ac_link) 2>conftest.er1
28839 grep -v '^ *+' conftest.er1
>conftest.err
28841 cat conftest.err
>&5
28842 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28843 (exit $ac_status); } &&
28844 { ac_try
='test -z "$ac_c_werror_flag"
28845 || test ! -s conftest.err'
28846 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28847 (eval $ac_try) 2>&5
28849 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28850 (exit $ac_status); }; } &&
28851 { ac_try
='test -s conftest$ac_exeext'
28852 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28853 (eval $ac_try) 2>&5
28855 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28856 (exit $ac_status); }; }; then
28857 eval "$as_ac_var=yes"
28859 echo "$as_me: failed program was:" >&5
28860 sed 's/^/| /' conftest.
$ac_ext >&5
28862 eval "$as_ac_var=no"
28864 rm -f conftest.err conftest.
$ac_objext \
28865 conftest
$ac_exeext conftest.
$ac_ext
28867 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
28868 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
28869 if test `eval echo '${'$as_ac_var'}'` = yes; then
28870 cat >>confdefs.h
<<_ACEOF
28871 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28878 if test "$WCSLEN_FOUND" = 0; then
28879 if test "$TOOLKIT" = "MSW"; then
28880 echo "$as_me:$LINENO: checking for wcslen in -lmsvcrt" >&5
28881 echo $ECHO_N "checking for wcslen in -lmsvcrt... $ECHO_C" >&6
28882 if test "${ac_cv_lib_msvcrt_wcslen+set}" = set; then
28883 echo $ECHO_N "(cached) $ECHO_C" >&6
28885 ac_check_lib_save_LIBS
=$LIBS
28886 LIBS
="-lmsvcrt $LIBS"
28887 cat >conftest.
$ac_ext <<_ACEOF
28890 cat confdefs.h
>>conftest.
$ac_ext
28891 cat >>conftest.
$ac_ext <<_ACEOF
28892 /* end confdefs.h. */
28894 /* Override any gcc2 internal prototype to avoid an error. */
28898 /* We use char because int might match the return type of a gcc2
28899 builtin and then its argument prototype would still apply. */
28909 rm -f conftest.
$ac_objext conftest
$ac_exeext
28910 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28911 (eval $ac_link) 2>conftest.er1
28913 grep -v '^ *+' conftest.er1
>conftest.err
28915 cat conftest.err
>&5
28916 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28917 (exit $ac_status); } &&
28918 { ac_try
='test -z "$ac_c_werror_flag"
28919 || test ! -s conftest.err'
28920 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28921 (eval $ac_try) 2>&5
28923 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28924 (exit $ac_status); }; } &&
28925 { ac_try
='test -s conftest$ac_exeext'
28926 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28927 (eval $ac_try) 2>&5
28929 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28930 (exit $ac_status); }; }; then
28931 ac_cv_lib_msvcrt_wcslen
=yes
28933 echo "$as_me: failed program was:" >&5
28934 sed 's/^/| /' conftest.
$ac_ext >&5
28936 ac_cv_lib_msvcrt_wcslen
=no
28938 rm -f conftest.err conftest.
$ac_objext \
28939 conftest
$ac_exeext conftest.
$ac_ext
28940 LIBS
=$ac_check_lib_save_LIBS
28942 echo "$as_me:$LINENO: result: $ac_cv_lib_msvcrt_wcslen" >&5
28943 echo "${ECHO_T}$ac_cv_lib_msvcrt_wcslen" >&6
28944 if test $ac_cv_lib_msvcrt_wcslen = yes; then
28949 echo "$as_me:$LINENO: checking for wcslen in -lw" >&5
28950 echo $ECHO_N "checking for wcslen in -lw... $ECHO_C" >&6
28951 if test "${ac_cv_lib_w_wcslen+set}" = set; then
28952 echo $ECHO_N "(cached) $ECHO_C" >&6
28954 ac_check_lib_save_LIBS
=$LIBS
28956 cat >conftest.
$ac_ext <<_ACEOF
28959 cat confdefs.h
>>conftest.
$ac_ext
28960 cat >>conftest.
$ac_ext <<_ACEOF
28961 /* end confdefs.h. */
28963 /* Override any gcc2 internal prototype to avoid an error. */
28967 /* We use char because int might match the return type of a gcc2
28968 builtin and then its argument prototype would still apply. */
28978 rm -f conftest.
$ac_objext conftest
$ac_exeext
28979 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28980 (eval $ac_link) 2>conftest.er1
28982 grep -v '^ *+' conftest.er1
>conftest.err
28984 cat conftest.err
>&5
28985 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28986 (exit $ac_status); } &&
28987 { ac_try
='test -z "$ac_c_werror_flag"
28988 || test ! -s conftest.err'
28989 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28990 (eval $ac_try) 2>&5
28992 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28993 (exit $ac_status); }; } &&
28994 { ac_try
='test -s conftest$ac_exeext'
28995 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28996 (eval $ac_try) 2>&5
28998 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28999 (exit $ac_status); }; }; then
29000 ac_cv_lib_w_wcslen
=yes
29002 echo "$as_me: failed program was:" >&5
29003 sed 's/^/| /' conftest.
$ac_ext >&5
29005 ac_cv_lib_w_wcslen
=no
29007 rm -f conftest.err conftest.
$ac_objext \
29008 conftest
$ac_exeext conftest.
$ac_ext
29009 LIBS
=$ac_check_lib_save_LIBS
29011 echo "$as_me:$LINENO: result: $ac_cv_lib_w_wcslen" >&5
29012 echo "${ECHO_T}$ac_cv_lib_w_wcslen" >&6
29013 if test $ac_cv_lib_w_wcslen = yes; then
29023 if test "$WCSLEN_FOUND" = 1; then
29024 cat >>confdefs.h
<<\_ACEOF
29025 #define HAVE_WCSLEN 1
29031 for ac_func
in wcsrtombs
29033 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
29034 echo "$as_me:$LINENO: checking for $ac_func" >&5
29035 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
29036 if eval "test \"\${$as_ac_var+set}\" = set"; then
29037 echo $ECHO_N "(cached) $ECHO_C" >&6
29039 cat >conftest.
$ac_ext <<_ACEOF
29042 cat confdefs.h
>>conftest.
$ac_ext
29043 cat >>conftest.
$ac_ext <<_ACEOF
29044 /* end confdefs.h. */
29045 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
29046 For example, HP-UX 11i <limits.h> declares gettimeofday. */
29047 #define $ac_func innocuous_$ac_func
29049 /* System header to define __stub macros and hopefully few prototypes,
29050 which can conflict with char $ac_func (); below.
29051 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29052 <limits.h> exists even on freestanding compilers. */
29055 # include <limits.h>
29057 # include <assert.h>
29062 /* Override any gcc2 internal prototype to avoid an error. */
29067 /* We use char because int might match the return type of a gcc2
29068 builtin and then its argument prototype would still apply. */
29070 /* The GNU C library defines this for functions which it implements
29071 to always fail with ENOSYS. Some functions are actually named
29072 something starting with __ and the normal name is an alias. */
29073 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
29076 char (*f) () = $ac_func;
29085 return f != $ac_func;
29090 rm -f conftest.
$ac_objext conftest
$ac_exeext
29091 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29092 (eval $ac_link) 2>conftest.er1
29094 grep -v '^ *+' conftest.er1
>conftest.err
29096 cat conftest.err
>&5
29097 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29098 (exit $ac_status); } &&
29099 { ac_try
='test -z "$ac_c_werror_flag"
29100 || test ! -s conftest.err'
29101 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29102 (eval $ac_try) 2>&5
29104 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29105 (exit $ac_status); }; } &&
29106 { ac_try
='test -s conftest$ac_exeext'
29107 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29108 (eval $ac_try) 2>&5
29110 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29111 (exit $ac_status); }; }; then
29112 eval "$as_ac_var=yes"
29114 echo "$as_me: failed program was:" >&5
29115 sed 's/^/| /' conftest.
$ac_ext >&5
29117 eval "$as_ac_var=no"
29119 rm -f conftest.err conftest.
$ac_objext \
29120 conftest
$ac_exeext conftest.
$ac_ext
29122 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
29123 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
29124 if test `eval echo '${'$as_ac_var'}'` = yes; then
29125 cat >>confdefs.h
<<_ACEOF
29126 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
29133 { echo "$as_me:$LINENO: WARNING: Wide character support is unavailable" >&5
29134 echo "$as_me: WARNING: Wide character support is unavailable" >&2;}
29140 ac_cpp
='$CXXCPP $CPPFLAGS'
29141 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29142 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29143 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
29147 for ac_func
in vsnprintf
29149 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
29150 echo "$as_me:$LINENO: checking for $ac_func" >&5
29151 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
29152 if eval "test \"\${$as_ac_var+set}\" = set"; then
29153 echo $ECHO_N "(cached) $ECHO_C" >&6
29155 cat >conftest.
$ac_ext <<_ACEOF
29158 cat confdefs.h
>>conftest.
$ac_ext
29159 cat >>conftest.
$ac_ext <<_ACEOF
29160 /* end confdefs.h. */
29161 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
29162 For example, HP-UX 11i <limits.h> declares gettimeofday. */
29163 #define $ac_func innocuous_$ac_func
29165 /* System header to define __stub macros and hopefully few prototypes,
29166 which can conflict with char $ac_func (); below.
29167 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29168 <limits.h> exists even on freestanding compilers. */
29171 # include <limits.h>
29173 # include <assert.h>
29178 /* Override any gcc2 internal prototype to avoid an error. */
29183 /* We use char because int might match the return type of a gcc2
29184 builtin and then its argument prototype would still apply. */
29186 /* The GNU C library defines this for functions which it implements
29187 to always fail with ENOSYS. Some functions are actually named
29188 something starting with __ and the normal name is an alias. */
29189 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
29192 char (*f) () = $ac_func;
29201 return f != $ac_func;
29206 rm -f conftest.
$ac_objext conftest
$ac_exeext
29207 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29208 (eval $ac_link) 2>conftest.er1
29210 grep -v '^ *+' conftest.er1
>conftest.err
29212 cat conftest.err
>&5
29213 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29214 (exit $ac_status); } &&
29215 { ac_try
='test -z "$ac_cxx_werror_flag"
29216 || test ! -s conftest.err'
29217 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29218 (eval $ac_try) 2>&5
29220 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29221 (exit $ac_status); }; } &&
29222 { ac_try
='test -s conftest$ac_exeext'
29223 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29224 (eval $ac_try) 2>&5
29226 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29227 (exit $ac_status); }; }; then
29228 eval "$as_ac_var=yes"
29230 echo "$as_me: failed program was:" >&5
29231 sed 's/^/| /' conftest.
$ac_ext >&5
29233 eval "$as_ac_var=no"
29235 rm -f conftest.err conftest.
$ac_objext \
29236 conftest
$ac_exeext conftest.
$ac_ext
29238 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
29239 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
29240 if test `eval echo '${'$as_ac_var'}'` = yes; then
29241 cat >>confdefs.h
<<_ACEOF
29242 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
29249 if test "$ac_cv_func_vsnprintf" = "yes"; then
29250 echo "$as_me:$LINENO: checking for vsnprintf declaration" >&5
29251 echo $ECHO_N "checking for vsnprintf declaration... $ECHO_C" >&6
29252 if test "${wx_cv_func_vsnprintf_decl+set}" = set; then
29253 echo $ECHO_N "(cached) $ECHO_C" >&6
29256 cat >conftest.
$ac_ext <<_ACEOF
29259 cat confdefs.h
>>conftest.
$ac_ext
29260 cat >>conftest.
$ac_ext <<_ACEOF
29261 /* end confdefs.h. */
29264 #include <stdarg.h>
29272 vsnprintf(buf, 10u, "%s", ap);
29278 rm -f conftest.
$ac_objext
29279 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29280 (eval $ac_compile) 2>conftest.er1
29282 grep -v '^ *+' conftest.er1
>conftest.err
29284 cat conftest.err
>&5
29285 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29286 (exit $ac_status); } &&
29287 { ac_try
='test -z "$ac_cxx_werror_flag"
29288 || test ! -s conftest.err'
29289 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29290 (eval $ac_try) 2>&5
29292 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29293 (exit $ac_status); }; } &&
29294 { ac_try
='test -s conftest.$ac_objext'
29295 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29296 (eval $ac_try) 2>&5
29298 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29299 (exit $ac_status); }; }; then
29300 wx_cv_func_vsnprintf_decl
=yes
29302 echo "$as_me: failed program was:" >&5
29303 sed 's/^/| /' conftest.
$ac_ext >&5
29305 wx_cv_func_vsnprintf_decl
=no
29308 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
29312 echo "$as_me:$LINENO: result: $wx_cv_func_vsnprintf_decl" >&5
29313 echo "${ECHO_T}$wx_cv_func_vsnprintf_decl" >&6
29315 if test "$wx_cv_func_vsnprintf_decl" = "yes"; then
29316 cat >>confdefs.h
<<\_ACEOF
29317 #define HAVE_VSNPRINTF_DECL 1
29323 if test "$wxUSE_UNICODE" = yes; then
29327 for ac_func
in fputwc wprintf vswprintf
29329 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
29330 echo "$as_me:$LINENO: checking for $ac_func" >&5
29331 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
29332 if eval "test \"\${$as_ac_var+set}\" = set"; then
29333 echo $ECHO_N "(cached) $ECHO_C" >&6
29335 cat >conftest.
$ac_ext <<_ACEOF
29338 cat confdefs.h
>>conftest.
$ac_ext
29339 cat >>conftest.
$ac_ext <<_ACEOF
29340 /* end confdefs.h. */
29341 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
29342 For example, HP-UX 11i <limits.h> declares gettimeofday. */
29343 #define $ac_func innocuous_$ac_func
29345 /* System header to define __stub macros and hopefully few prototypes,
29346 which can conflict with char $ac_func (); below.
29347 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29348 <limits.h> exists even on freestanding compilers. */
29351 # include <limits.h>
29353 # include <assert.h>
29358 /* Override any gcc2 internal prototype to avoid an error. */
29363 /* We use char because int might match the return type of a gcc2
29364 builtin and then its argument prototype would still apply. */
29366 /* The GNU C library defines this for functions which it implements
29367 to always fail with ENOSYS. Some functions are actually named
29368 something starting with __ and the normal name is an alias. */
29369 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
29372 char (*f) () = $ac_func;
29381 return f != $ac_func;
29386 rm -f conftest.
$ac_objext conftest
$ac_exeext
29387 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29388 (eval $ac_link) 2>conftest.er1
29390 grep -v '^ *+' conftest.er1
>conftest.err
29392 cat conftest.err
>&5
29393 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29394 (exit $ac_status); } &&
29395 { ac_try
='test -z "$ac_cxx_werror_flag"
29396 || test ! -s conftest.err'
29397 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29398 (eval $ac_try) 2>&5
29400 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29401 (exit $ac_status); }; } &&
29402 { ac_try
='test -s conftest$ac_exeext'
29403 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29404 (eval $ac_try) 2>&5
29406 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29407 (exit $ac_status); }; }; then
29408 eval "$as_ac_var=yes"
29410 echo "$as_me: failed program was:" >&5
29411 sed 's/^/| /' conftest.
$ac_ext >&5
29413 eval "$as_ac_var=no"
29415 rm -f conftest.err conftest.
$ac_objext \
29416 conftest
$ac_exeext conftest.
$ac_ext
29418 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
29419 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
29420 if test `eval echo '${'$as_ac_var'}'` = yes; then
29421 cat >>confdefs.h
<<_ACEOF
29422 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
29429 echo "$as_me:$LINENO: checking for _vsnwprintf" >&5
29430 echo $ECHO_N "checking for _vsnwprintf... $ECHO_C" >&6
29431 cat >conftest.
$ac_ext <<_ACEOF
29434 cat confdefs.h
>>conftest.
$ac_ext
29435 cat >>conftest.
$ac_ext <<_ACEOF
29436 /* end confdefs.h. */
29446 rm -f conftest.
$ac_objext
29447 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29448 (eval $ac_compile) 2>conftest.er1
29450 grep -v '^ *+' conftest.er1
>conftest.err
29452 cat conftest.err
>&5
29453 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29454 (exit $ac_status); } &&
29455 { ac_try
='test -z "$ac_cxx_werror_flag"
29456 || test ! -s conftest.err'
29457 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29458 (eval $ac_try) 2>&5
29460 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29461 (exit $ac_status); }; } &&
29462 { ac_try
='test -s conftest.$ac_objext'
29463 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29464 (eval $ac_try) 2>&5
29466 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29467 (exit $ac_status); }; }; then
29468 echo "$as_me:$LINENO: result: yes" >&5
29469 echo "${ECHO_T}yes" >&6
29470 cat >>confdefs.h
<<\_ACEOF
29471 #define HAVE__VSNWPRINTF 1
29475 echo "$as_me: failed program was:" >&5
29476 sed 's/^/| /' conftest.
$ac_ext >&5
29478 echo "$as_me:$LINENO: result: no" >&5
29479 echo "${ECHO_T}no" >&6
29481 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext;
29485 ac_cpp
='$CPP $CPPFLAGS'
29486 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29487 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29488 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
29493 if test "$TOOLKIT" != "MSW"; then
29499 ac_cpp
='$CXXCPP $CPPFLAGS'
29500 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29501 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29502 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
29507 # Check whether --with-libiconv-prefix or --without-libiconv-prefix was given.
29508 if test "${with_libiconv_prefix+set}" = set; then
29509 withval
="$with_libiconv_prefix"
29511 for dir
in `echo "$withval" | tr : ' '`; do
29512 if test -d $dir/include
; then CPPFLAGS
="$CPPFLAGS -I$dir/include"; fi
29513 if test -d $dir/lib
; then LDFLAGS
="$LDFLAGS -L$dir/lib"; fi
29518 echo "$as_me:$LINENO: checking for iconv" >&5
29519 echo $ECHO_N "checking for iconv... $ECHO_C" >&6
29520 if test "${am_cv_func_iconv+set}" = set; then
29521 echo $ECHO_N "(cached) $ECHO_C" >&6
29524 am_cv_func_iconv
="no, consider installing GNU libiconv"
29526 cat >conftest.
$ac_ext <<_ACEOF
29529 cat confdefs.h
>>conftest.
$ac_ext
29530 cat >>conftest.
$ac_ext <<_ACEOF
29531 /* end confdefs.h. */
29532 #include <stdlib.h>
29537 iconv_t cd = iconv_open("","");
29538 iconv(cd,NULL,NULL,NULL,NULL);
29544 rm -f conftest.
$ac_objext conftest
$ac_exeext
29545 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29546 (eval $ac_link) 2>conftest.er1
29548 grep -v '^ *+' conftest.er1
>conftest.err
29550 cat conftest.err
>&5
29551 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29552 (exit $ac_status); } &&
29553 { ac_try
='test -z "$ac_cxx_werror_flag"
29554 || test ! -s conftest.err'
29555 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29556 (eval $ac_try) 2>&5
29558 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29559 (exit $ac_status); }; } &&
29560 { ac_try
='test -s conftest$ac_exeext'
29561 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29562 (eval $ac_try) 2>&5
29564 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29565 (exit $ac_status); }; }; then
29566 am_cv_func_iconv
=yes
29568 echo "$as_me: failed program was:" >&5
29569 sed 's/^/| /' conftest.
$ac_ext >&5
29572 rm -f conftest.err conftest.
$ac_objext \
29573 conftest
$ac_exeext conftest.
$ac_ext
29574 if test "$am_cv_func_iconv" != yes; then
29575 am_save_LIBS
="$LIBS"
29576 LIBS
="$LIBS -liconv"
29577 cat >conftest.
$ac_ext <<_ACEOF
29580 cat confdefs.h
>>conftest.
$ac_ext
29581 cat >>conftest.
$ac_ext <<_ACEOF
29582 /* end confdefs.h. */
29583 #include <stdlib.h>
29588 iconv_t cd = iconv_open("","");
29589 iconv(cd,NULL,NULL,NULL,NULL);
29595 rm -f conftest.
$ac_objext conftest
$ac_exeext
29596 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29597 (eval $ac_link) 2>conftest.er1
29599 grep -v '^ *+' conftest.er1
>conftest.err
29601 cat conftest.err
>&5
29602 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29603 (exit $ac_status); } &&
29604 { ac_try
='test -z "$ac_cxx_werror_flag"
29605 || test ! -s conftest.err'
29606 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29607 (eval $ac_try) 2>&5
29609 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29610 (exit $ac_status); }; } &&
29611 { ac_try
='test -s conftest$ac_exeext'
29612 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29613 (eval $ac_try) 2>&5
29615 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29616 (exit $ac_status); }; }; then
29617 am_cv_lib_iconv
=yes
29618 am_cv_func_iconv
=yes
29620 echo "$as_me: failed program was:" >&5
29621 sed 's/^/| /' conftest.
$ac_ext >&5
29624 rm -f conftest.err conftest.
$ac_objext \
29625 conftest
$ac_exeext conftest.
$ac_ext
29626 LIBS
="$am_save_LIBS"
29630 echo "$as_me:$LINENO: result: $am_cv_func_iconv" >&5
29631 echo "${ECHO_T}$am_cv_func_iconv" >&6
29632 if test "$am_cv_func_iconv" = yes; then
29634 cat >>confdefs.h
<<\_ACEOF
29635 #define HAVE_ICONV 1
29638 echo "$as_me:$LINENO: checking if iconv needs const" >&5
29639 echo $ECHO_N "checking if iconv needs const... $ECHO_C" >&6
29640 if test "${wx_cv_func_iconv_const+set}" = set; then
29641 echo $ECHO_N "(cached) $ECHO_C" >&6
29643 cat >conftest.
$ac_ext <<_ACEOF
29646 cat confdefs.h
>>conftest.
$ac_ext
29647 cat >>conftest.
$ac_ext <<_ACEOF
29648 /* end confdefs.h. */
29650 #include <stdlib.h>
29656 #if defined(__STDC__) || defined(__cplusplus)
29657 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
29670 rm -f conftest.
$ac_objext
29671 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29672 (eval $ac_compile) 2>conftest.er1
29674 grep -v '^ *+' conftest.er1
>conftest.err
29676 cat conftest.err
>&5
29677 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29678 (exit $ac_status); } &&
29679 { ac_try
='test -z "$ac_cxx_werror_flag"
29680 || test ! -s conftest.err'
29681 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29682 (eval $ac_try) 2>&5
29684 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29685 (exit $ac_status); }; } &&
29686 { ac_try
='test -s conftest.$ac_objext'
29687 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29688 (eval $ac_try) 2>&5
29690 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29691 (exit $ac_status); }; }; then
29692 wx_cv_func_iconv_const
="no"
29694 echo "$as_me: failed program was:" >&5
29695 sed 's/^/| /' conftest.
$ac_ext >&5
29697 wx_cv_func_iconv_const
="yes"
29700 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
29703 echo "$as_me:$LINENO: result: $wx_cv_func_iconv_const" >&5
29704 echo "${ECHO_T}$wx_cv_func_iconv_const" >&6
29707 if test "x$wx_cv_func_iconv_const" = "xyes"; then
29708 iconv_const
="const"
29712 cat >>confdefs.h
<<_ACEOF
29713 #define ICONV_CONST $iconv_const
29718 if test "$am_cv_lib_iconv" = yes; then
29723 LIBS
="$LIBICONV $LIBS"
29725 ac_cpp
='$CPP $CPPFLAGS'
29726 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29727 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29728 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
29731 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes" -a "$wxUSE_UNIX" = "yes"; then
29733 for ac_func
in sigaction
29735 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
29736 echo "$as_me:$LINENO: checking for $ac_func" >&5
29737 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
29738 if eval "test \"\${$as_ac_var+set}\" = set"; then
29739 echo $ECHO_N "(cached) $ECHO_C" >&6
29741 cat >conftest.
$ac_ext <<_ACEOF
29744 cat confdefs.h
>>conftest.
$ac_ext
29745 cat >>conftest.
$ac_ext <<_ACEOF
29746 /* end confdefs.h. */
29747 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
29748 For example, HP-UX 11i <limits.h> declares gettimeofday. */
29749 #define $ac_func innocuous_$ac_func
29751 /* System header to define __stub macros and hopefully few prototypes,
29752 which can conflict with char $ac_func (); below.
29753 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29754 <limits.h> exists even on freestanding compilers. */
29757 # include <limits.h>
29759 # include <assert.h>
29764 /* Override any gcc2 internal prototype to avoid an error. */
29769 /* We use char because int might match the return type of a gcc2
29770 builtin and then its argument prototype would still apply. */
29772 /* The GNU C library defines this for functions which it implements
29773 to always fail with ENOSYS. Some functions are actually named
29774 something starting with __ and the normal name is an alias. */
29775 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
29778 char (*f) () = $ac_func;
29787 return f != $ac_func;
29792 rm -f conftest.
$ac_objext conftest
$ac_exeext
29793 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29794 (eval $ac_link) 2>conftest.er1
29796 grep -v '^ *+' conftest.er1
>conftest.err
29798 cat conftest.err
>&5
29799 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29800 (exit $ac_status); } &&
29801 { ac_try
='test -z "$ac_c_werror_flag"
29802 || test ! -s conftest.err'
29803 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29804 (eval $ac_try) 2>&5
29806 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29807 (exit $ac_status); }; } &&
29808 { ac_try
='test -s conftest$ac_exeext'
29809 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29810 (eval $ac_try) 2>&5
29812 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29813 (exit $ac_status); }; }; then
29814 eval "$as_ac_var=yes"
29816 echo "$as_me: failed program was:" >&5
29817 sed 's/^/| /' conftest.
$ac_ext >&5
29819 eval "$as_ac_var=no"
29821 rm -f conftest.err conftest.
$ac_objext \
29822 conftest
$ac_exeext conftest.
$ac_ext
29824 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
29825 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
29826 if test `eval echo '${'$as_ac_var'}'` = yes; then
29827 cat >>confdefs.h
<<_ACEOF
29828 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
29835 if test "$ac_cv_func_sigaction" = "no"; then
29836 { echo "$as_me:$LINENO: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&5
29837 echo "$as_me: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&2;}
29838 wxUSE_ON_FATAL_EXCEPTION
=no
29841 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
29845 ac_cpp
='$CXXCPP $CPPFLAGS'
29846 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29847 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29848 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
29851 echo "$as_me:$LINENO: checking for sa_handler type" >&5
29852 echo $ECHO_N "checking for sa_handler type... $ECHO_C" >&6
29853 if test "${wx_cv_type_sa_handler+set}" = set; then
29854 echo $ECHO_N "(cached) $ECHO_C" >&6
29857 cat >conftest.
$ac_ext <<_ACEOF
29860 cat confdefs.h
>>conftest.
$ac_ext
29861 cat >>conftest.
$ac_ext <<_ACEOF
29862 /* end confdefs.h. */
29863 #include <signal.h>
29868 extern void testSigHandler(int);
29870 struct sigaction sa;
29871 sa.sa_handler = testSigHandler;
29877 rm -f conftest.
$ac_objext
29878 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29879 (eval $ac_compile) 2>conftest.er1
29881 grep -v '^ *+' conftest.er1
>conftest.err
29883 cat conftest.err
>&5
29884 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29885 (exit $ac_status); } &&
29886 { ac_try
='test -z "$ac_cxx_werror_flag"
29887 || test ! -s conftest.err'
29888 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29889 (eval $ac_try) 2>&5
29891 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29892 (exit $ac_status); }; } &&
29893 { ac_try
='test -s conftest.$ac_objext'
29894 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29895 (eval $ac_try) 2>&5
29897 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29898 (exit $ac_status); }; }; then
29900 wx_cv_type_sa_handler
=int
29903 echo "$as_me: failed program was:" >&5
29904 sed 's/^/| /' conftest.
$ac_ext >&5
29907 wx_cv_type_sa_handler
=void
29910 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
29913 echo "$as_me:$LINENO: result: $wx_cv_type_sa_handler" >&5
29914 echo "${ECHO_T}$wx_cv_type_sa_handler" >&6
29917 ac_cpp
='$CPP $CPPFLAGS'
29918 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29919 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29920 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
29923 cat >>confdefs.h
<<_ACEOF
29924 #define wxTYPE_SA_HANDLER $wx_cv_type_sa_handler
29932 for ac_func
in mkstemp mktemp
29934 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
29935 echo "$as_me:$LINENO: checking for $ac_func" >&5
29936 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
29937 if eval "test \"\${$as_ac_var+set}\" = set"; then
29938 echo $ECHO_N "(cached) $ECHO_C" >&6
29940 cat >conftest.
$ac_ext <<_ACEOF
29943 cat confdefs.h
>>conftest.
$ac_ext
29944 cat >>conftest.
$ac_ext <<_ACEOF
29945 /* end confdefs.h. */
29946 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
29947 For example, HP-UX 11i <limits.h> declares gettimeofday. */
29948 #define $ac_func innocuous_$ac_func
29950 /* System header to define __stub macros and hopefully few prototypes,
29951 which can conflict with char $ac_func (); below.
29952 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29953 <limits.h> exists even on freestanding compilers. */
29956 # include <limits.h>
29958 # include <assert.h>
29963 /* Override any gcc2 internal prototype to avoid an error. */
29968 /* We use char because int might match the return type of a gcc2
29969 builtin and then its argument prototype would still apply. */
29971 /* The GNU C library defines this for functions which it implements
29972 to always fail with ENOSYS. Some functions are actually named
29973 something starting with __ and the normal name is an alias. */
29974 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
29977 char (*f) () = $ac_func;
29986 return f != $ac_func;
29991 rm -f conftest.
$ac_objext conftest
$ac_exeext
29992 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29993 (eval $ac_link) 2>conftest.er1
29995 grep -v '^ *+' conftest.er1
>conftest.err
29997 cat conftest.err
>&5
29998 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29999 (exit $ac_status); } &&
30000 { ac_try
='test -z "$ac_c_werror_flag"
30001 || test ! -s conftest.err'
30002 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30003 (eval $ac_try) 2>&5
30005 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30006 (exit $ac_status); }; } &&
30007 { ac_try
='test -s conftest$ac_exeext'
30008 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30009 (eval $ac_try) 2>&5
30011 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30012 (exit $ac_status); }; }; then
30013 eval "$as_ac_var=yes"
30015 echo "$as_me: failed program was:" >&5
30016 sed 's/^/| /' conftest.
$ac_ext >&5
30018 eval "$as_ac_var=no"
30020 rm -f conftest.err conftest.
$ac_objext \
30021 conftest
$ac_exeext conftest.
$ac_ext
30023 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
30024 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
30025 if test `eval echo '${'$as_ac_var'}'` = yes; then
30026 cat >>confdefs.h
<<_ACEOF
30027 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
30034 echo "$as_me:$LINENO: checking for statfs" >&5
30035 echo $ECHO_N "checking for statfs... $ECHO_C" >&6
30036 if test "${wx_cv_func_statfs+set}" = set; then
30037 echo $ECHO_N "(cached) $ECHO_C" >&6
30039 cat >conftest.
$ac_ext <<_ACEOF
30042 cat confdefs.h
>>conftest.
$ac_ext
30043 cat >>conftest.
$ac_ext <<_ACEOF
30044 /* end confdefs.h. */
30046 #if defined(__BSD__)
30047 #include <sys/param.h>
30048 #include <sys/mount.h>
30050 #include <sys/vfs.h>
30068 rm -f conftest.
$ac_objext
30069 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30070 (eval $ac_compile) 2>conftest.er1
30072 grep -v '^ *+' conftest.er1
>conftest.err
30074 cat conftest.err
>&5
30075 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30076 (exit $ac_status); } &&
30077 { ac_try
='test -z "$ac_c_werror_flag"
30078 || test ! -s conftest.err'
30079 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30080 (eval $ac_try) 2>&5
30082 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30083 (exit $ac_status); }; } &&
30084 { ac_try
='test -s conftest.$ac_objext'
30085 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30086 (eval $ac_try) 2>&5
30088 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30089 (exit $ac_status); }; }; then
30091 wx_cv_func_statfs
=yes
30094 echo "$as_me: failed program was:" >&5
30095 sed 's/^/| /' conftest.
$ac_ext >&5
30098 wx_cv_func_statfs
=no
30102 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
30105 echo "$as_me:$LINENO: result: $wx_cv_func_statfs" >&5
30106 echo "${ECHO_T}$wx_cv_func_statfs" >&6
30108 if test "$wx_cv_func_statfs" = "yes"; then
30109 wx_cv_type_statvfs_t
="struct statfs"
30110 cat >>confdefs.h
<<\_ACEOF
30111 #define HAVE_STATFS 1
30115 echo "$as_me:$LINENO: checking for statvfs" >&5
30116 echo $ECHO_N "checking for statvfs... $ECHO_C" >&6
30117 if test "${wx_cv_func_statvfs+set}" = set; then
30118 echo $ECHO_N "(cached) $ECHO_C" >&6
30120 cat >conftest.
$ac_ext <<_ACEOF
30123 cat confdefs.h
>>conftest.
$ac_ext
30124 cat >>conftest.
$ac_ext <<_ACEOF
30125 /* end confdefs.h. */
30127 #include <stddef.h>
30128 #include <sys/statvfs.h>
30134 statvfs("/", NULL);
30140 rm -f conftest.
$ac_objext
30141 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30142 (eval $ac_compile) 2>conftest.er1
30144 grep -v '^ *+' conftest.er1
>conftest.err
30146 cat conftest.err
>&5
30147 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30148 (exit $ac_status); } &&
30149 { ac_try
='test -z "$ac_c_werror_flag"
30150 || test ! -s conftest.err'
30151 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30152 (eval $ac_try) 2>&5
30154 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30155 (exit $ac_status); }; } &&
30156 { ac_try
='test -s conftest.$ac_objext'
30157 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30158 (eval $ac_try) 2>&5
30160 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30161 (exit $ac_status); }; }; then
30162 wx_cv_func_statvfs
=yes
30164 echo "$as_me: failed program was:" >&5
30165 sed 's/^/| /' conftest.
$ac_ext >&5
30167 wx_cv_func_statvfs
=no
30170 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
30173 echo "$as_me:$LINENO: result: $wx_cv_func_statvfs" >&5
30174 echo "${ECHO_T}$wx_cv_func_statvfs" >&6
30176 if test "$wx_cv_func_statvfs" = "yes"; then
30180 ac_cpp
='$CXXCPP $CPPFLAGS'
30181 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30182 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30183 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
30186 echo "$as_me:$LINENO: checking for statvfs argument type" >&5
30187 echo $ECHO_N "checking for statvfs argument type... $ECHO_C" >&6
30188 if test "${wx_cv_type_statvfs_t+set}" = set; then
30189 echo $ECHO_N "(cached) $ECHO_C" >&6
30191 cat >conftest.
$ac_ext <<_ACEOF
30194 cat confdefs.h
>>conftest.
$ac_ext
30195 cat >>conftest.
$ac_ext <<_ACEOF
30196 /* end confdefs.h. */
30198 #include <sys/statvfs.h>
30215 rm -f conftest.
$ac_objext
30216 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30217 (eval $ac_compile) 2>conftest.er1
30219 grep -v '^ *+' conftest.er1
>conftest.err
30221 cat conftest.err
>&5
30222 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30223 (exit $ac_status); } &&
30224 { ac_try
='test -z "$ac_cxx_werror_flag"
30225 || test ! -s conftest.err'
30226 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30227 (eval $ac_try) 2>&5
30229 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30230 (exit $ac_status); }; } &&
30231 { ac_try
='test -s conftest.$ac_objext'
30232 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30233 (eval $ac_try) 2>&5
30235 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30236 (exit $ac_status); }; }; then
30237 wx_cv_type_statvfs_t
=statvfs_t
30239 echo "$as_me: failed program was:" >&5
30240 sed 's/^/| /' conftest.
$ac_ext >&5
30243 cat >conftest.
$ac_ext <<_ACEOF
30246 cat confdefs.h
>>conftest.
$ac_ext
30247 cat >>conftest.
$ac_ext <<_ACEOF
30248 /* end confdefs.h. */
30250 #include <sys/statvfs.h>
30267 rm -f conftest.
$ac_objext
30268 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30269 (eval $ac_compile) 2>conftest.er1
30271 grep -v '^ *+' conftest.er1
>conftest.err
30273 cat conftest.err
>&5
30274 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30275 (exit $ac_status); } &&
30276 { ac_try
='test -z "$ac_cxx_werror_flag"
30277 || test ! -s conftest.err'
30278 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30279 (eval $ac_try) 2>&5
30281 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30282 (exit $ac_status); }; } &&
30283 { ac_try
='test -s conftest.$ac_objext'
30284 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30285 (eval $ac_try) 2>&5
30287 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30288 (exit $ac_status); }; }; then
30289 wx_cv_type_statvfs_t
="struct statvfs"
30291 echo "$as_me: failed program was:" >&5
30292 sed 's/^/| /' conftest.
$ac_ext >&5
30294 wx_cv_type_statvfs_t
="unknown"
30297 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
30301 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
30304 echo "$as_me:$LINENO: result: $wx_cv_type_statvfs_t" >&5
30305 echo "${ECHO_T}$wx_cv_type_statvfs_t" >&6
30308 ac_cpp
='$CPP $CPPFLAGS'
30309 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30310 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30311 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
30314 if test "$wx_cv_type_statvfs_t" != "unknown"; then
30315 cat >>confdefs.h
<<\_ACEOF
30316 #define HAVE_STATVFS 1
30321 wx_cv_type_statvfs_t
="unknown"
30325 if test "$wx_cv_type_statvfs_t" != "unknown"; then
30326 cat >>confdefs.h
<<_ACEOF
30327 #define WX_STATFS_T $wx_cv_type_statvfs_t
30331 { echo "$as_me:$LINENO: WARNING: wxGetDiskSpace() function won't work without statfs()" >&5
30332 echo "$as_me: WARNING: wxGetDiskSpace() function won't work without statfs()" >&2;}
30335 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
30338 for ac_func
in fcntl flock
30340 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
30341 echo "$as_me:$LINENO: checking for $ac_func" >&5
30342 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
30343 if eval "test \"\${$as_ac_var+set}\" = set"; then
30344 echo $ECHO_N "(cached) $ECHO_C" >&6
30346 cat >conftest.
$ac_ext <<_ACEOF
30349 cat confdefs.h
>>conftest.
$ac_ext
30350 cat >>conftest.
$ac_ext <<_ACEOF
30351 /* end confdefs.h. */
30352 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
30353 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30354 #define $ac_func innocuous_$ac_func
30356 /* System header to define __stub macros and hopefully few prototypes,
30357 which can conflict with char $ac_func (); below.
30358 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30359 <limits.h> exists even on freestanding compilers. */
30362 # include <limits.h>
30364 # include <assert.h>
30369 /* Override any gcc2 internal prototype to avoid an error. */
30374 /* We use char because int might match the return type of a gcc2
30375 builtin and then its argument prototype would still apply. */
30377 /* The GNU C library defines this for functions which it implements
30378 to always fail with ENOSYS. Some functions are actually named
30379 something starting with __ and the normal name is an alias. */
30380 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
30383 char (*f) () = $ac_func;
30392 return f != $ac_func;
30397 rm -f conftest.
$ac_objext conftest
$ac_exeext
30398 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30399 (eval $ac_link) 2>conftest.er1
30401 grep -v '^ *+' conftest.er1
>conftest.err
30403 cat conftest.err
>&5
30404 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30405 (exit $ac_status); } &&
30406 { ac_try
='test -z "$ac_c_werror_flag"
30407 || test ! -s conftest.err'
30408 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30409 (eval $ac_try) 2>&5
30411 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30412 (exit $ac_status); }; } &&
30413 { ac_try
='test -s conftest$ac_exeext'
30414 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30415 (eval $ac_try) 2>&5
30417 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30418 (exit $ac_status); }; }; then
30419 eval "$as_ac_var=yes"
30421 echo "$as_me: failed program was:" >&5
30422 sed 's/^/| /' conftest.
$ac_ext >&5
30424 eval "$as_ac_var=no"
30426 rm -f conftest.err conftest.
$ac_objext \
30427 conftest
$ac_exeext conftest.
$ac_ext
30429 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
30430 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
30431 if test `eval echo '${'$as_ac_var'}'` = yes; then
30432 cat >>confdefs.h
<<_ACEOF
30433 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
30440 if test "$ac_cv_func_fcntl" != "yes" -a "$ac_cv_func_flock" != "yes"; then
30441 { echo "$as_me:$LINENO: WARNING: wxSingleInstanceChecker not available" >&5
30442 echo "$as_me: WARNING: wxSingleInstanceChecker not available" >&2;}
30443 wxUSE_SNGLINST_CHECKER
=no
30448 for ac_func
in timegm
30450 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
30451 echo "$as_me:$LINENO: checking for $ac_func" >&5
30452 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
30453 if eval "test \"\${$as_ac_var+set}\" = set"; then
30454 echo $ECHO_N "(cached) $ECHO_C" >&6
30456 cat >conftest.
$ac_ext <<_ACEOF
30459 cat confdefs.h
>>conftest.
$ac_ext
30460 cat >>conftest.
$ac_ext <<_ACEOF
30461 /* end confdefs.h. */
30462 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
30463 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30464 #define $ac_func innocuous_$ac_func
30466 /* System header to define __stub macros and hopefully few prototypes,
30467 which can conflict with char $ac_func (); below.
30468 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30469 <limits.h> exists even on freestanding compilers. */
30472 # include <limits.h>
30474 # include <assert.h>
30479 /* Override any gcc2 internal prototype to avoid an error. */
30484 /* We use char because int might match the return type of a gcc2
30485 builtin and then its argument prototype would still apply. */
30487 /* The GNU C library defines this for functions which it implements
30488 to always fail with ENOSYS. Some functions are actually named
30489 something starting with __ and the normal name is an alias. */
30490 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
30493 char (*f) () = $ac_func;
30502 return f != $ac_func;
30507 rm -f conftest.
$ac_objext conftest
$ac_exeext
30508 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30509 (eval $ac_link) 2>conftest.er1
30511 grep -v '^ *+' conftest.er1
>conftest.err
30513 cat conftest.err
>&5
30514 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30515 (exit $ac_status); } &&
30516 { ac_try
='test -z "$ac_c_werror_flag"
30517 || test ! -s conftest.err'
30518 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30519 (eval $ac_try) 2>&5
30521 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30522 (exit $ac_status); }; } &&
30523 { ac_try
='test -s conftest$ac_exeext'
30524 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30525 (eval $ac_try) 2>&5
30527 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30528 (exit $ac_status); }; }; then
30529 eval "$as_ac_var=yes"
30531 echo "$as_me: failed program was:" >&5
30532 sed 's/^/| /' conftest.
$ac_ext >&5
30534 eval "$as_ac_var=no"
30536 rm -f conftest.err conftest.
$ac_objext \
30537 conftest
$ac_exeext conftest.
$ac_ext
30539 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
30540 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
30541 if test `eval echo '${'$as_ac_var'}'` = yes; then
30542 cat >>confdefs.h
<<_ACEOF
30543 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
30552 for ac_func
in putenv setenv
30554 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
30555 echo "$as_me:$LINENO: checking for $ac_func" >&5
30556 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
30557 if eval "test \"\${$as_ac_var+set}\" = set"; then
30558 echo $ECHO_N "(cached) $ECHO_C" >&6
30560 cat >conftest.
$ac_ext <<_ACEOF
30563 cat confdefs.h
>>conftest.
$ac_ext
30564 cat >>conftest.
$ac_ext <<_ACEOF
30565 /* end confdefs.h. */
30566 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
30567 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30568 #define $ac_func innocuous_$ac_func
30570 /* System header to define __stub macros and hopefully few prototypes,
30571 which can conflict with char $ac_func (); below.
30572 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30573 <limits.h> exists even on freestanding compilers. */
30576 # include <limits.h>
30578 # include <assert.h>
30583 /* Override any gcc2 internal prototype to avoid an error. */
30588 /* We use char because int might match the return type of a gcc2
30589 builtin and then its argument prototype would still apply. */
30591 /* The GNU C library defines this for functions which it implements
30592 to always fail with ENOSYS. Some functions are actually named
30593 something starting with __ and the normal name is an alias. */
30594 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
30597 char (*f) () = $ac_func;
30606 return f != $ac_func;
30611 rm -f conftest.
$ac_objext conftest
$ac_exeext
30612 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30613 (eval $ac_link) 2>conftest.er1
30615 grep -v '^ *+' conftest.er1
>conftest.err
30617 cat conftest.err
>&5
30618 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30619 (exit $ac_status); } &&
30620 { ac_try
='test -z "$ac_c_werror_flag"
30621 || test ! -s conftest.err'
30622 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30623 (eval $ac_try) 2>&5
30625 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30626 (exit $ac_status); }; } &&
30627 { ac_try
='test -s conftest$ac_exeext'
30628 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30629 (eval $ac_try) 2>&5
30631 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30632 (exit $ac_status); }; }; then
30633 eval "$as_ac_var=yes"
30635 echo "$as_me: failed program was:" >&5
30636 sed 's/^/| /' conftest.
$ac_ext >&5
30638 eval "$as_ac_var=no"
30640 rm -f conftest.err conftest.
$ac_objext \
30641 conftest
$ac_exeext conftest.
$ac_ext
30643 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
30644 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
30645 if test `eval echo '${'$as_ac_var'}'` = yes; then
30646 cat >>confdefs.h
<<_ACEOF
30647 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
30654 HAVE_SOME_SLEEP_FUNC
=0
30655 if test "$USE_BEOS" = 1; then
30656 cat >>confdefs.h
<<\_ACEOF
30657 #define HAVE_SLEEP 1
30660 HAVE_SOME_SLEEP_FUNC
=1
30663 if test "$USE_DARWIN" = 1; then
30664 cat >>confdefs.h
<<\_ACEOF
30665 #define HAVE_USLEEP 1
30668 HAVE_SOME_SLEEP_FUNC
=1
30671 if test "$HAVE_SOME_SLEEP_FUNC" != 1; then
30674 for ac_func
in nanosleep
30676 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
30677 echo "$as_me:$LINENO: checking for $ac_func" >&5
30678 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
30679 if eval "test \"\${$as_ac_var+set}\" = set"; then
30680 echo $ECHO_N "(cached) $ECHO_C" >&6
30682 cat >conftest.
$ac_ext <<_ACEOF
30685 cat confdefs.h
>>conftest.
$ac_ext
30686 cat >>conftest.
$ac_ext <<_ACEOF
30687 /* end confdefs.h. */
30688 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
30689 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30690 #define $ac_func innocuous_$ac_func
30692 /* System header to define __stub macros and hopefully few prototypes,
30693 which can conflict with char $ac_func (); below.
30694 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30695 <limits.h> exists even on freestanding compilers. */
30698 # include <limits.h>
30700 # include <assert.h>
30705 /* Override any gcc2 internal prototype to avoid an error. */
30710 /* We use char because int might match the return type of a gcc2
30711 builtin and then its argument prototype would still apply. */
30713 /* The GNU C library defines this for functions which it implements
30714 to always fail with ENOSYS. Some functions are actually named
30715 something starting with __ and the normal name is an alias. */
30716 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
30719 char (*f) () = $ac_func;
30728 return f != $ac_func;
30733 rm -f conftest.
$ac_objext conftest
$ac_exeext
30734 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30735 (eval $ac_link) 2>conftest.er1
30737 grep -v '^ *+' conftest.er1
>conftest.err
30739 cat conftest.err
>&5
30740 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30741 (exit $ac_status); } &&
30742 { ac_try
='test -z "$ac_c_werror_flag"
30743 || test ! -s conftest.err'
30744 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30745 (eval $ac_try) 2>&5
30747 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30748 (exit $ac_status); }; } &&
30749 { ac_try
='test -s conftest$ac_exeext'
30750 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30751 (eval $ac_try) 2>&5
30753 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30754 (exit $ac_status); }; }; then
30755 eval "$as_ac_var=yes"
30757 echo "$as_me: failed program was:" >&5
30758 sed 's/^/| /' conftest.
$ac_ext >&5
30760 eval "$as_ac_var=no"
30762 rm -f conftest.err conftest.
$ac_objext \
30763 conftest
$ac_exeext conftest.
$ac_ext
30765 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
30766 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
30767 if test `eval echo '${'$as_ac_var'}'` = yes; then
30768 cat >>confdefs.h
<<_ACEOF
30769 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
30771 cat >>confdefs.h
<<\_ACEOF
30772 #define HAVE_NANOSLEEP 1
30777 echo "$as_me:$LINENO: checking for nanosleep in -lposix4" >&5
30778 echo $ECHO_N "checking for nanosleep in -lposix4... $ECHO_C" >&6
30779 if test "${ac_cv_lib_posix4_nanosleep+set}" = set; then
30780 echo $ECHO_N "(cached) $ECHO_C" >&6
30782 ac_check_lib_save_LIBS
=$LIBS
30783 LIBS
="-lposix4 $LIBS"
30784 cat >conftest.
$ac_ext <<_ACEOF
30787 cat confdefs.h
>>conftest.
$ac_ext
30788 cat >>conftest.
$ac_ext <<_ACEOF
30789 /* end confdefs.h. */
30791 /* Override any gcc2 internal prototype to avoid an error. */
30795 /* We use char because int might match the return type of a gcc2
30796 builtin and then its argument prototype would still apply. */
30806 rm -f conftest.
$ac_objext conftest
$ac_exeext
30807 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30808 (eval $ac_link) 2>conftest.er1
30810 grep -v '^ *+' conftest.er1
>conftest.err
30812 cat conftest.err
>&5
30813 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30814 (exit $ac_status); } &&
30815 { ac_try
='test -z "$ac_c_werror_flag"
30816 || test ! -s conftest.err'
30817 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30818 (eval $ac_try) 2>&5
30820 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30821 (exit $ac_status); }; } &&
30822 { ac_try
='test -s conftest$ac_exeext'
30823 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30824 (eval $ac_try) 2>&5
30826 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30827 (exit $ac_status); }; }; then
30828 ac_cv_lib_posix4_nanosleep
=yes
30830 echo "$as_me: failed program was:" >&5
30831 sed 's/^/| /' conftest.
$ac_ext >&5
30833 ac_cv_lib_posix4_nanosleep
=no
30835 rm -f conftest.err conftest.
$ac_objext \
30836 conftest
$ac_exeext conftest.
$ac_ext
30837 LIBS
=$ac_check_lib_save_LIBS
30839 echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_nanosleep" >&5
30840 echo "${ECHO_T}$ac_cv_lib_posix4_nanosleep" >&6
30841 if test $ac_cv_lib_posix4_nanosleep = yes; then
30843 cat >>confdefs.h
<<\_ACEOF
30844 #define HAVE_NANOSLEEP 1
30847 POSIX4_LINK
=" -lposix4"
30852 for ac_func
in usleep
30854 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
30855 echo "$as_me:$LINENO: checking for $ac_func" >&5
30856 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
30857 if eval "test \"\${$as_ac_var+set}\" = set"; then
30858 echo $ECHO_N "(cached) $ECHO_C" >&6
30860 cat >conftest.
$ac_ext <<_ACEOF
30863 cat confdefs.h
>>conftest.
$ac_ext
30864 cat >>conftest.
$ac_ext <<_ACEOF
30865 /* end confdefs.h. */
30866 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
30867 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30868 #define $ac_func innocuous_$ac_func
30870 /* System header to define __stub macros and hopefully few prototypes,
30871 which can conflict with char $ac_func (); below.
30872 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30873 <limits.h> exists even on freestanding compilers. */
30876 # include <limits.h>
30878 # include <assert.h>
30883 /* Override any gcc2 internal prototype to avoid an error. */
30888 /* We use char because int might match the return type of a gcc2
30889 builtin and then its argument prototype would still apply. */
30891 /* The GNU C library defines this for functions which it implements
30892 to always fail with ENOSYS. Some functions are actually named
30893 something starting with __ and the normal name is an alias. */
30894 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
30897 char (*f) () = $ac_func;
30906 return f != $ac_func;
30911 rm -f conftest.
$ac_objext conftest
$ac_exeext
30912 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30913 (eval $ac_link) 2>conftest.er1
30915 grep -v '^ *+' conftest.er1
>conftest.err
30917 cat conftest.err
>&5
30918 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30919 (exit $ac_status); } &&
30920 { ac_try
='test -z "$ac_c_werror_flag"
30921 || test ! -s conftest.err'
30922 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30923 (eval $ac_try) 2>&5
30925 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30926 (exit $ac_status); }; } &&
30927 { ac_try
='test -s conftest$ac_exeext'
30928 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30929 (eval $ac_try) 2>&5
30931 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30932 (exit $ac_status); }; }; then
30933 eval "$as_ac_var=yes"
30935 echo "$as_me: failed program was:" >&5
30936 sed 's/^/| /' conftest.
$ac_ext >&5
30938 eval "$as_ac_var=no"
30940 rm -f conftest.err conftest.
$ac_objext \
30941 conftest
$ac_exeext conftest.
$ac_ext
30943 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
30944 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
30945 if test `eval echo '${'$as_ac_var'}'` = yes; then
30946 cat >>confdefs.h
<<_ACEOF
30947 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
30949 cat >>confdefs.h
<<\_ACEOF
30950 #define HAVE_USLEEP 1
30954 { echo "$as_me:$LINENO: WARNING: wxSleep() function will not work" >&5
30955 echo "$as_me: WARNING: wxSleep() function will not work" >&2;}
30973 for ac_func
in uname gethostname
30975 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
30976 echo "$as_me:$LINENO: checking for $ac_func" >&5
30977 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
30978 if eval "test \"\${$as_ac_var+set}\" = set"; then
30979 echo $ECHO_N "(cached) $ECHO_C" >&6
30981 cat >conftest.
$ac_ext <<_ACEOF
30984 cat confdefs.h
>>conftest.
$ac_ext
30985 cat >>conftest.
$ac_ext <<_ACEOF
30986 /* end confdefs.h. */
30987 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
30988 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30989 #define $ac_func innocuous_$ac_func
30991 /* System header to define __stub macros and hopefully few prototypes,
30992 which can conflict with char $ac_func (); below.
30993 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30994 <limits.h> exists even on freestanding compilers. */
30997 # include <limits.h>
30999 # include <assert.h>
31004 /* Override any gcc2 internal prototype to avoid an error. */
31009 /* We use char because int might match the return type of a gcc2
31010 builtin and then its argument prototype would still apply. */
31012 /* The GNU C library defines this for functions which it implements
31013 to always fail with ENOSYS. Some functions are actually named
31014 something starting with __ and the normal name is an alias. */
31015 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
31018 char (*f) () = $ac_func;
31027 return f != $ac_func;
31032 rm -f conftest.
$ac_objext conftest
$ac_exeext
31033 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31034 (eval $ac_link) 2>conftest.er1
31036 grep -v '^ *+' conftest.er1
>conftest.err
31038 cat conftest.err
>&5
31039 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31040 (exit $ac_status); } &&
31041 { ac_try
='test -z "$ac_c_werror_flag"
31042 || test ! -s conftest.err'
31043 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31044 (eval $ac_try) 2>&5
31046 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31047 (exit $ac_status); }; } &&
31048 { ac_try
='test -s conftest$ac_exeext'
31049 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31050 (eval $ac_try) 2>&5
31052 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31053 (exit $ac_status); }; }; then
31054 eval "$as_ac_var=yes"
31056 echo "$as_me: failed program was:" >&5
31057 sed 's/^/| /' conftest.
$ac_ext >&5
31059 eval "$as_ac_var=no"
31061 rm -f conftest.err conftest.
$ac_objext \
31062 conftest
$ac_exeext conftest.
$ac_ext
31064 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
31065 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
31066 if test `eval echo '${'$as_ac_var'}'` = yes; then
31067 cat >>confdefs.h
<<_ACEOF
31068 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31078 ac_cpp
='$CXXCPP $CPPFLAGS'
31079 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31080 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31081 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
31085 for ac_func
in strtok_r
31087 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31088 echo "$as_me:$LINENO: checking for $ac_func" >&5
31089 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
31090 if eval "test \"\${$as_ac_var+set}\" = set"; then
31091 echo $ECHO_N "(cached) $ECHO_C" >&6
31093 cat >conftest.
$ac_ext <<_ACEOF
31096 cat confdefs.h
>>conftest.
$ac_ext
31097 cat >>conftest.
$ac_ext <<_ACEOF
31098 /* end confdefs.h. */
31099 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
31100 For example, HP-UX 11i <limits.h> declares gettimeofday. */
31101 #define $ac_func innocuous_$ac_func
31103 /* System header to define __stub macros and hopefully few prototypes,
31104 which can conflict with char $ac_func (); below.
31105 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31106 <limits.h> exists even on freestanding compilers. */
31109 # include <limits.h>
31111 # include <assert.h>
31116 /* Override any gcc2 internal prototype to avoid an error. */
31121 /* We use char because int might match the return type of a gcc2
31122 builtin and then its argument prototype would still apply. */
31124 /* The GNU C library defines this for functions which it implements
31125 to always fail with ENOSYS. Some functions are actually named
31126 something starting with __ and the normal name is an alias. */
31127 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
31130 char (*f) () = $ac_func;
31139 return f != $ac_func;
31144 rm -f conftest.
$ac_objext conftest
$ac_exeext
31145 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31146 (eval $ac_link) 2>conftest.er1
31148 grep -v '^ *+' conftest.er1
>conftest.err
31150 cat conftest.err
>&5
31151 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31152 (exit $ac_status); } &&
31153 { ac_try
='test -z "$ac_cxx_werror_flag"
31154 || test ! -s conftest.err'
31155 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31156 (eval $ac_try) 2>&5
31158 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31159 (exit $ac_status); }; } &&
31160 { ac_try
='test -s conftest$ac_exeext'
31161 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31162 (eval $ac_try) 2>&5
31164 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31165 (exit $ac_status); }; }; then
31166 eval "$as_ac_var=yes"
31168 echo "$as_me: failed program was:" >&5
31169 sed 's/^/| /' conftest.
$ac_ext >&5
31171 eval "$as_ac_var=no"
31173 rm -f conftest.err conftest.
$ac_objext \
31174 conftest
$ac_exeext conftest.
$ac_ext
31176 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
31177 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
31178 if test `eval echo '${'$as_ac_var'}'` = yes; then
31179 cat >>confdefs.h
<<_ACEOF
31180 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31188 ac_cpp
='$CPP $CPPFLAGS'
31189 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31190 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31191 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
31196 for ac_func
in inet_addr
31198 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31199 echo "$as_me:$LINENO: checking for $ac_func" >&5
31200 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
31201 if eval "test \"\${$as_ac_var+set}\" = set"; then
31202 echo $ECHO_N "(cached) $ECHO_C" >&6
31204 cat >conftest.
$ac_ext <<_ACEOF
31207 cat confdefs.h
>>conftest.
$ac_ext
31208 cat >>conftest.
$ac_ext <<_ACEOF
31209 /* end confdefs.h. */
31210 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
31211 For example, HP-UX 11i <limits.h> declares gettimeofday. */
31212 #define $ac_func innocuous_$ac_func
31214 /* System header to define __stub macros and hopefully few prototypes,
31215 which can conflict with char $ac_func (); below.
31216 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31217 <limits.h> exists even on freestanding compilers. */
31220 # include <limits.h>
31222 # include <assert.h>
31227 /* Override any gcc2 internal prototype to avoid an error. */
31232 /* We use char because int might match the return type of a gcc2
31233 builtin and then its argument prototype would still apply. */
31235 /* The GNU C library defines this for functions which it implements
31236 to always fail with ENOSYS. Some functions are actually named
31237 something starting with __ and the normal name is an alias. */
31238 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
31241 char (*f) () = $ac_func;
31250 return f != $ac_func;
31255 rm -f conftest.
$ac_objext conftest
$ac_exeext
31256 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31257 (eval $ac_link) 2>conftest.er1
31259 grep -v '^ *+' conftest.er1
>conftest.err
31261 cat conftest.err
>&5
31262 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31263 (exit $ac_status); } &&
31264 { ac_try
='test -z "$ac_c_werror_flag"
31265 || test ! -s conftest.err'
31266 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31267 (eval $ac_try) 2>&5
31269 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31270 (exit $ac_status); }; } &&
31271 { ac_try
='test -s conftest$ac_exeext'
31272 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31273 (eval $ac_try) 2>&5
31275 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31276 (exit $ac_status); }; }; then
31277 eval "$as_ac_var=yes"
31279 echo "$as_me: failed program was:" >&5
31280 sed 's/^/| /' conftest.
$ac_ext >&5
31282 eval "$as_ac_var=no"
31284 rm -f conftest.err conftest.
$ac_objext \
31285 conftest
$ac_exeext conftest.
$ac_ext
31287 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
31288 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
31289 if test `eval echo '${'$as_ac_var'}'` = yes; then
31290 cat >>confdefs.h
<<_ACEOF
31291 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31293 cat >>confdefs.h
<<\_ACEOF
31294 #define HAVE_INET_ADDR 1
31299 echo "$as_me:$LINENO: checking for inet_addr in -lnsl" >&5
31300 echo $ECHO_N "checking for inet_addr in -lnsl... $ECHO_C" >&6
31301 if test "${ac_cv_lib_nsl_inet_addr+set}" = set; then
31302 echo $ECHO_N "(cached) $ECHO_C" >&6
31304 ac_check_lib_save_LIBS
=$LIBS
31306 cat >conftest.
$ac_ext <<_ACEOF
31309 cat confdefs.h
>>conftest.
$ac_ext
31310 cat >>conftest.
$ac_ext <<_ACEOF
31311 /* end confdefs.h. */
31313 /* Override any gcc2 internal prototype to avoid an error. */
31317 /* We use char because int might match the return type of a gcc2
31318 builtin and then its argument prototype would still apply. */
31328 rm -f conftest.
$ac_objext conftest
$ac_exeext
31329 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31330 (eval $ac_link) 2>conftest.er1
31332 grep -v '^ *+' conftest.er1
>conftest.err
31334 cat conftest.err
>&5
31335 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31336 (exit $ac_status); } &&
31337 { ac_try
='test -z "$ac_c_werror_flag"
31338 || test ! -s conftest.err'
31339 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31340 (eval $ac_try) 2>&5
31342 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31343 (exit $ac_status); }; } &&
31344 { ac_try
='test -s conftest$ac_exeext'
31345 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31346 (eval $ac_try) 2>&5
31348 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31349 (exit $ac_status); }; }; then
31350 ac_cv_lib_nsl_inet_addr
=yes
31352 echo "$as_me: failed program was:" >&5
31353 sed 's/^/| /' conftest.
$ac_ext >&5
31355 ac_cv_lib_nsl_inet_addr
=no
31357 rm -f conftest.err conftest.
$ac_objext \
31358 conftest
$ac_exeext conftest.
$ac_ext
31359 LIBS
=$ac_check_lib_save_LIBS
31361 echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_inet_addr" >&5
31362 echo "${ECHO_T}$ac_cv_lib_nsl_inet_addr" >&6
31363 if test $ac_cv_lib_nsl_inet_addr = yes; then
31367 echo "$as_me:$LINENO: checking for inet_addr in -lresolv" >&5
31368 echo $ECHO_N "checking for inet_addr in -lresolv... $ECHO_C" >&6
31369 if test "${ac_cv_lib_resolv_inet_addr+set}" = set; then
31370 echo $ECHO_N "(cached) $ECHO_C" >&6
31372 ac_check_lib_save_LIBS
=$LIBS
31373 LIBS
="-lresolv $LIBS"
31374 cat >conftest.
$ac_ext <<_ACEOF
31377 cat confdefs.h
>>conftest.
$ac_ext
31378 cat >>conftest.
$ac_ext <<_ACEOF
31379 /* end confdefs.h. */
31381 /* Override any gcc2 internal prototype to avoid an error. */
31385 /* We use char because int might match the return type of a gcc2
31386 builtin and then its argument prototype would still apply. */
31396 rm -f conftest.
$ac_objext conftest
$ac_exeext
31397 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31398 (eval $ac_link) 2>conftest.er1
31400 grep -v '^ *+' conftest.er1
>conftest.err
31402 cat conftest.err
>&5
31403 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31404 (exit $ac_status); } &&
31405 { ac_try
='test -z "$ac_c_werror_flag"
31406 || test ! -s conftest.err'
31407 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31408 (eval $ac_try) 2>&5
31410 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31411 (exit $ac_status); }; } &&
31412 { ac_try
='test -s conftest$ac_exeext'
31413 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31414 (eval $ac_try) 2>&5
31416 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31417 (exit $ac_status); }; }; then
31418 ac_cv_lib_resolv_inet_addr
=yes
31420 echo "$as_me: failed program was:" >&5
31421 sed 's/^/| /' conftest.
$ac_ext >&5
31423 ac_cv_lib_resolv_inet_addr
=no
31425 rm -f conftest.err conftest.
$ac_objext \
31426 conftest
$ac_exeext conftest.
$ac_ext
31427 LIBS
=$ac_check_lib_save_LIBS
31429 echo "$as_me:$LINENO: result: $ac_cv_lib_resolv_inet_addr" >&5
31430 echo "${ECHO_T}$ac_cv_lib_resolv_inet_addr" >&6
31431 if test $ac_cv_lib_resolv_inet_addr = yes; then
31435 echo "$as_me:$LINENO: checking for inet_addr in -lsocket" >&5
31436 echo $ECHO_N "checking for inet_addr in -lsocket... $ECHO_C" >&6
31437 if test "${ac_cv_lib_socket_inet_addr+set}" = set; then
31438 echo $ECHO_N "(cached) $ECHO_C" >&6
31440 ac_check_lib_save_LIBS
=$LIBS
31441 LIBS
="-lsocket $LIBS"
31442 cat >conftest.
$ac_ext <<_ACEOF
31445 cat confdefs.h
>>conftest.
$ac_ext
31446 cat >>conftest.
$ac_ext <<_ACEOF
31447 /* end confdefs.h. */
31449 /* Override any gcc2 internal prototype to avoid an error. */
31453 /* We use char because int might match the return type of a gcc2
31454 builtin and then its argument prototype would still apply. */
31464 rm -f conftest.
$ac_objext conftest
$ac_exeext
31465 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31466 (eval $ac_link) 2>conftest.er1
31468 grep -v '^ *+' conftest.er1
>conftest.err
31470 cat conftest.err
>&5
31471 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31472 (exit $ac_status); } &&
31473 { ac_try
='test -z "$ac_c_werror_flag"
31474 || test ! -s conftest.err'
31475 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31476 (eval $ac_try) 2>&5
31478 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31479 (exit $ac_status); }; } &&
31480 { ac_try
='test -s conftest$ac_exeext'
31481 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31482 (eval $ac_try) 2>&5
31484 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31485 (exit $ac_status); }; }; then
31486 ac_cv_lib_socket_inet_addr
=yes
31488 echo "$as_me: failed program was:" >&5
31489 sed 's/^/| /' conftest.
$ac_ext >&5
31491 ac_cv_lib_socket_inet_addr
=no
31493 rm -f conftest.err conftest.
$ac_objext \
31494 conftest
$ac_exeext conftest.
$ac_ext
31495 LIBS
=$ac_check_lib_save_LIBS
31497 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_inet_addr" >&5
31498 echo "${ECHO_T}$ac_cv_lib_socket_inet_addr" >&6
31499 if test $ac_cv_lib_socket_inet_addr = yes; then
31519 for ac_func
in inet_aton
31521 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31522 echo "$as_me:$LINENO: checking for $ac_func" >&5
31523 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
31524 if eval "test \"\${$as_ac_var+set}\" = set"; then
31525 echo $ECHO_N "(cached) $ECHO_C" >&6
31527 cat >conftest.
$ac_ext <<_ACEOF
31530 cat confdefs.h
>>conftest.
$ac_ext
31531 cat >>conftest.
$ac_ext <<_ACEOF
31532 /* end confdefs.h. */
31533 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
31534 For example, HP-UX 11i <limits.h> declares gettimeofday. */
31535 #define $ac_func innocuous_$ac_func
31537 /* System header to define __stub macros and hopefully few prototypes,
31538 which can conflict with char $ac_func (); below.
31539 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31540 <limits.h> exists even on freestanding compilers. */
31543 # include <limits.h>
31545 # include <assert.h>
31550 /* Override any gcc2 internal prototype to avoid an error. */
31555 /* We use char because int might match the return type of a gcc2
31556 builtin and then its argument prototype would still apply. */
31558 /* The GNU C library defines this for functions which it implements
31559 to always fail with ENOSYS. Some functions are actually named
31560 something starting with __ and the normal name is an alias. */
31561 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
31564 char (*f) () = $ac_func;
31573 return f != $ac_func;
31578 rm -f conftest.
$ac_objext conftest
$ac_exeext
31579 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31580 (eval $ac_link) 2>conftest.er1
31582 grep -v '^ *+' conftest.er1
>conftest.err
31584 cat conftest.err
>&5
31585 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31586 (exit $ac_status); } &&
31587 { ac_try
='test -z "$ac_c_werror_flag"
31588 || test ! -s conftest.err'
31589 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31590 (eval $ac_try) 2>&5
31592 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31593 (exit $ac_status); }; } &&
31594 { ac_try
='test -s conftest$ac_exeext'
31595 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31596 (eval $ac_try) 2>&5
31598 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31599 (exit $ac_status); }; }; then
31600 eval "$as_ac_var=yes"
31602 echo "$as_me: failed program was:" >&5
31603 sed 's/^/| /' conftest.
$ac_ext >&5
31605 eval "$as_ac_var=no"
31607 rm -f conftest.err conftest.
$ac_objext \
31608 conftest
$ac_exeext conftest.
$ac_ext
31610 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
31611 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
31612 if test `eval echo '${'$as_ac_var'}'` = yes; then
31613 cat >>confdefs.h
<<_ACEOF
31614 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31616 cat >>confdefs.h
<<\_ACEOF
31617 #define HAVE_INET_ATON 1
31622 as_ac_Lib
=`echo "ac_cv_lib_$INET_LINK''_inet_aton" | $as_tr_sh`
31623 echo "$as_me:$LINENO: checking for inet_aton in -l$INET_LINK" >&5
31624 echo $ECHO_N "checking for inet_aton in -l$INET_LINK... $ECHO_C" >&6
31625 if eval "test \"\${$as_ac_Lib+set}\" = set"; then
31626 echo $ECHO_N "(cached) $ECHO_C" >&6
31628 ac_check_lib_save_LIBS
=$LIBS
31629 LIBS
="-l$INET_LINK $LIBS"
31630 cat >conftest.
$ac_ext <<_ACEOF
31633 cat confdefs.h
>>conftest.
$ac_ext
31634 cat >>conftest.
$ac_ext <<_ACEOF
31635 /* end confdefs.h. */
31637 /* Override any gcc2 internal prototype to avoid an error. */
31641 /* We use char because int might match the return type of a gcc2
31642 builtin and then its argument prototype would still apply. */
31652 rm -f conftest.
$ac_objext conftest
$ac_exeext
31653 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31654 (eval $ac_link) 2>conftest.er1
31656 grep -v '^ *+' conftest.er1
>conftest.err
31658 cat conftest.err
>&5
31659 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31660 (exit $ac_status); } &&
31661 { ac_try
='test -z "$ac_c_werror_flag"
31662 || test ! -s conftest.err'
31663 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31664 (eval $ac_try) 2>&5
31666 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31667 (exit $ac_status); }; } &&
31668 { ac_try
='test -s conftest$ac_exeext'
31669 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31670 (eval $ac_try) 2>&5
31672 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31673 (exit $ac_status); }; }; then
31674 eval "$as_ac_Lib=yes"
31676 echo "$as_me: failed program was:" >&5
31677 sed 's/^/| /' conftest.
$ac_ext >&5
31679 eval "$as_ac_Lib=no"
31681 rm -f conftest.err conftest.
$ac_objext \
31682 conftest
$ac_exeext conftest.
$ac_ext
31683 LIBS
=$ac_check_lib_save_LIBS
31685 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Lib'}'`" >&5
31686 echo "${ECHO_T}`eval echo '${'$as_ac_Lib'}'`" >&6
31687 if test `eval echo '${'$as_ac_Lib'}'` = yes; then
31688 cat >>confdefs.h
<<\_ACEOF
31689 #define HAVE_INET_ATON 1
31699 if test "x$INET_LINK" != "x"; then
31700 cat >>confdefs.h
<<\_ACEOF
31701 #define HAVE_INET_ADDR 1
31704 INET_LINK
=" -l$INET_LINK"
31712 echo "$as_me:$LINENO: checking for esd_close in -lesd" >&5
31713 echo $ECHO_N "checking for esd_close in -lesd... $ECHO_C" >&6
31714 if test "${ac_cv_lib_esd_esd_close+set}" = set; then
31715 echo $ECHO_N "(cached) $ECHO_C" >&6
31717 ac_check_lib_save_LIBS
=$LIBS
31719 cat >conftest.
$ac_ext <<_ACEOF
31722 cat confdefs.h
>>conftest.
$ac_ext
31723 cat >>conftest.
$ac_ext <<_ACEOF
31724 /* end confdefs.h. */
31726 /* Override any gcc2 internal prototype to avoid an error. */
31730 /* We use char because int might match the return type of a gcc2
31731 builtin and then its argument prototype would still apply. */
31741 rm -f conftest.
$ac_objext conftest
$ac_exeext
31742 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31743 (eval $ac_link) 2>conftest.er1
31745 grep -v '^ *+' conftest.er1
>conftest.err
31747 cat conftest.err
>&5
31748 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31749 (exit $ac_status); } &&
31750 { ac_try
='test -z "$ac_c_werror_flag"
31751 || test ! -s conftest.err'
31752 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31753 (eval $ac_try) 2>&5
31755 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31756 (exit $ac_status); }; } &&
31757 { ac_try
='test -s conftest$ac_exeext'
31758 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31759 (eval $ac_try) 2>&5
31761 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31762 (exit $ac_status); }; }; then
31763 ac_cv_lib_esd_esd_close
=yes
31765 echo "$as_me: failed program was:" >&5
31766 sed 's/^/| /' conftest.
$ac_ext >&5
31768 ac_cv_lib_esd_esd_close
=no
31770 rm -f conftest.err conftest.
$ac_objext \
31771 conftest
$ac_exeext conftest.
$ac_ext
31772 LIBS
=$ac_check_lib_save_LIBS
31774 echo "$as_me:$LINENO: result: $ac_cv_lib_esd_esd_close" >&5
31775 echo "${ECHO_T}$ac_cv_lib_esd_esd_close" >&6
31776 if test $ac_cv_lib_esd_esd_close = yes; then
31779 for ac_header
in esd.h
31781 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
31782 if eval "test \"\${$as_ac_Header+set}\" = set"; then
31783 echo "$as_me:$LINENO: checking for $ac_header" >&5
31784 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
31785 if eval "test \"\${$as_ac_Header+set}\" = set"; then
31786 echo $ECHO_N "(cached) $ECHO_C" >&6
31788 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
31789 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
31791 # Is the header compilable?
31792 echo "$as_me:$LINENO: checking $ac_header usability" >&5
31793 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
31794 cat >conftest.
$ac_ext <<_ACEOF
31797 cat confdefs.h
>>conftest.
$ac_ext
31798 cat >>conftest.
$ac_ext <<_ACEOF
31799 /* end confdefs.h. */
31800 $ac_includes_default
31801 #include <$ac_header>
31803 rm -f conftest.
$ac_objext
31804 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31805 (eval $ac_compile) 2>conftest.er1
31807 grep -v '^ *+' conftest.er1
>conftest.err
31809 cat conftest.err
>&5
31810 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31811 (exit $ac_status); } &&
31812 { ac_try
='test -z "$ac_c_werror_flag"
31813 || test ! -s conftest.err'
31814 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31815 (eval $ac_try) 2>&5
31817 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31818 (exit $ac_status); }; } &&
31819 { ac_try
='test -s conftest.$ac_objext'
31820 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31821 (eval $ac_try) 2>&5
31823 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31824 (exit $ac_status); }; }; then
31825 ac_header_compiler
=yes
31827 echo "$as_me: failed program was:" >&5
31828 sed 's/^/| /' conftest.
$ac_ext >&5
31830 ac_header_compiler
=no
31832 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
31833 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
31834 echo "${ECHO_T}$ac_header_compiler" >&6
31836 # Is the header present?
31837 echo "$as_me:$LINENO: checking $ac_header presence" >&5
31838 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
31839 cat >conftest.
$ac_ext <<_ACEOF
31842 cat confdefs.h
>>conftest.
$ac_ext
31843 cat >>conftest.
$ac_ext <<_ACEOF
31844 /* end confdefs.h. */
31845 #include <$ac_header>
31847 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
31848 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
31850 grep -v '^ *+' conftest.er1
>conftest.err
31852 cat conftest.err
>&5
31853 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31854 (exit $ac_status); } >/dev
/null
; then
31855 if test -s conftest.err
; then
31856 ac_cpp_err
=$ac_c_preproc_warn_flag
31857 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
31864 if test -z "$ac_cpp_err"; then
31865 ac_header_preproc
=yes
31867 echo "$as_me: failed program was:" >&5
31868 sed 's/^/| /' conftest.
$ac_ext >&5
31870 ac_header_preproc
=no
31872 rm -f conftest.err conftest.
$ac_ext
31873 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
31874 echo "${ECHO_T}$ac_header_preproc" >&6
31876 # So? What about this header?
31877 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
31879 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
31880 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
31881 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
31882 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
31883 ac_header_preproc
=yes
31886 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
31887 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
31888 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
31889 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
31890 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
31891 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
31892 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
31893 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
31894 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
31895 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
31896 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
31897 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
31900 ## ----------------------------------------- ##
31901 ## Report this to wx-dev@lists.wxwindows.org ##
31902 ## ----------------------------------------- ##
31905 sed "s/^/$as_me: WARNING: /" >&2
31908 echo "$as_me:$LINENO: checking for $ac_header" >&5
31909 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
31910 if eval "test \"\${$as_ac_Header+set}\" = set"; then
31911 echo $ECHO_N "(cached) $ECHO_C" >&6
31913 eval "$as_ac_Header=\$ac_header_preproc"
31915 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
31916 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
31919 if test `eval echo '${'$as_ac_Header'}'` = yes; then
31920 cat >>confdefs.h
<<_ACEOF
31921 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
31924 EXTRALIBS_ESD
="-lesd"
31935 echo "$as_me:$LINENO: checking for known CD-ROM interface" >&5
31936 echo $ECHO_N "checking for known CD-ROM interface... $ECHO_C" >&6
31937 cat >conftest.
$ac_ext <<_ACEOF
31940 cat confdefs.h
>>conftest.
$ac_ext
31941 cat >>conftest.
$ac_ext <<_ACEOF
31942 /* end confdefs.h. */
31944 #include <linux/cdrom.h>
31947 #include <sys/cdio.h>
31953 struct cdrom_tocentry entry, old_entry;
31958 rm -f conftest.
$ac_objext
31959 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31960 (eval $ac_compile) 2>conftest.er1
31962 grep -v '^ *+' conftest.er1
>conftest.err
31964 cat conftest.err
>&5
31965 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31966 (exit $ac_status); } &&
31967 { ac_try
='test -z "$ac_c_werror_flag"
31968 || test ! -s conftest.err'
31969 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31970 (eval $ac_try) 2>&5
31972 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31973 (exit $ac_status); }; } &&
31974 { ac_try
='test -s conftest.$ac_objext'
31975 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31976 (eval $ac_try) 2>&5
31978 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31979 (exit $ac_status); }; }; then
31980 echo "$as_me:$LINENO: result: yes" >&5
31981 echo "${ECHO_T}yes" >&6
31982 cat >>confdefs.h
<<\_ACEOF
31983 #define HAVE_KNOWN_CDROM_INTERFACE 1
31987 echo "$as_me: failed program was:" >&5
31988 sed 's/^/| /' conftest.
$ac_ext >&5
31990 echo "$as_me:$LINENO: result: no" >&5
31991 echo "${ECHO_T}no" >&6
31993 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
31996 cat >confcache
<<\_ACEOF
31997 # This file is a shell script that caches the results of configure
31998 # tests run on this system so they can be shared between configure
31999 # scripts and configure runs, see configure's option --config-cache.
32000 # It is not useful on other systems. If it contains results you don't
32001 # want to keep, you may remove or edit it.
32003 # config.status only pays attention to the cache file if you give it
32004 # the --recheck option to rerun configure.
32006 # `ac_cv_env_foo' variables (set or unset) will be overridden when
32007 # loading this file, other *unset* `ac_cv_foo' will be assigned the
32008 # following values.
32012 # The following way of writing the cache mishandles newlines in values,
32013 # but we know of no workaround that is simple, portable, and efficient.
32014 # So, don't put newlines in cache variables' values.
32015 # Ultrix sh set writes to stderr and can't be redirected directly,
32016 # and sets the high bit in the cache file unless we assign to the vars.
32019 case `(ac_space=' '; set | grep ac_space) 2>&1` in
32021 # `set' does not quote correctly, so add quotes (double-quote
32022 # substitution turns \\\\ into \\, and sed turns \\ into \).
32025 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
32028 # `set' quotes correctly as required by POSIX, so do not add quotes.
32030 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
32037 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
32039 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
32041 if diff $cache_file confcache
>/dev
/null
2>&1; then :; else
32042 if test -w $cache_file; then
32043 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
32044 cat confcache
>$cache_file
32046 echo "not updating unwritable cache $cache_file"
32053 if test "$TOOLKIT" != "MSW" -a "$USE_OS2" != 1; then
32059 if test "$wxUSE_THREADS" = "yes" ; then
32060 if test "$USE_BEOS" = 1; then
32061 { echo "$as_me:$LINENO: WARNING: BeOS threads are not yet supported... disabled" >&5
32062 echo "$as_me: WARNING: BeOS threads are not yet supported... disabled" >&2;}
32067 if test "$wxUSE_THREADS" = "yes" ; then
32070 THREAD_OPTS
="-pthread"
32072 *-*-solaris2* | *-*-sunos4* )
32073 if test "x$GCC" = "xyes"; then
32074 THREAD_OPTS
="-pthreads $THREAD_OPTS"
32076 THREAD_OPTS
="-mt $THREAD_OPTS"
32080 THREAD_OPTS
="-kthread lthread $THREAD_OPTS c_r"
32082 *-*-darwin* | *-*-cygwin* )
32086 THREAD_OPTS
="pthreads"
32089 if test "x$GCC" != "xyes"; then
32095 if test "x$GCC" = "xyes"; then
32101 if test "x$GCC" != "xyes"; then
32102 THREAD_OPTS
="-Ethread"
32107 THREAD_OPTS
="$THREAD_OPTS pthread none"
32110 for flag
in $THREAD_OPTS; do
32113 echo "$as_me:$LINENO: checking whether pthreads work without any flags" >&5
32114 echo $ECHO_N "checking whether pthreads work without any flags... $ECHO_C" >&6
32118 echo "$as_me:$LINENO: checking whether pthreads work with $flag" >&5
32119 echo $ECHO_N "checking whether pthreads work with $flag... $ECHO_C" >&6
32120 THREADS_CFLAGS
="$flag"
32124 echo "$as_me:$LINENO: checking for the pthreads library -l$flag" >&5
32125 echo $ECHO_N "checking for the pthreads library -l$flag... $ECHO_C" >&6
32126 THREADS_LINK
="-l$flag"
32131 save_CFLAGS
="$CFLAGS"
32132 LIBS
="$THREADS_LINK $LIBS"
32133 CFLAGS
="$THREADS_CFLAGS $CFLAGS"
32135 cat >conftest.
$ac_ext <<_ACEOF
32138 cat confdefs.h
>>conftest.
$ac_ext
32139 cat >>conftest.
$ac_ext <<_ACEOF
32140 /* end confdefs.h. */
32141 #include <pthread.h>
32145 pthread_create(0,0,0,0);
32150 rm -f conftest.
$ac_objext conftest
$ac_exeext
32151 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32152 (eval $ac_link) 2>conftest.er1
32154 grep -v '^ *+' conftest.er1
>conftest.err
32156 cat conftest.err
>&5
32157 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32158 (exit $ac_status); } &&
32159 { ac_try
='test -z "$ac_c_werror_flag"
32160 || test ! -s conftest.err'
32161 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32162 (eval $ac_try) 2>&5
32164 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32165 (exit $ac_status); }; } &&
32166 { ac_try
='test -s conftest$ac_exeext'
32167 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32168 (eval $ac_try) 2>&5
32170 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32171 (exit $ac_status); }; }; then
32174 echo "$as_me: failed program was:" >&5
32175 sed 's/^/| /' conftest.
$ac_ext >&5
32178 rm -f conftest.err conftest.
$ac_objext \
32179 conftest
$ac_exeext conftest.
$ac_ext
32182 CFLAGS
="$save_CFLAGS"
32184 echo "$as_me:$LINENO: result: $THREADS_OK" >&5
32185 echo "${ECHO_T}$THREADS_OK" >&6
32186 if test "x$THREADS_OK" = "xyes"; then
32194 if test "x$THREADS_OK" != "xyes"; then
32196 { echo "$as_me:$LINENO: WARNING: No thread support on this system... disabled" >&5
32197 echo "$as_me: WARNING: No thread support on this system... disabled" >&2;}
32199 LDFLAGS
="$THREADS_CFLAGS $LDFLAGS"
32200 LIBS
="$THREADS_LINK $LIBS"
32202 echo "$as_me:$LINENO: checking if more special flags are required for pthreads" >&5
32203 echo $ECHO_N "checking if more special flags are required for pthreads... $ECHO_C" >&6
32207 LDFLAGS
="-L/usr/lib/threads $LDFLAGS"
32208 flag
="-D_THREAD_SAFE"
32211 flag
="-D_THREAD_SAFE"
32214 flag
="-D_REENTRANT"
32215 if test "x$GCC" != "xyes"; then
32216 flag
="$flag -D_RWSTD_MULTI_THREAD"
32219 *solaris
* | alpha
*-osf*)
32220 flag
="-D_REENTRANT"
32223 echo "$as_me:$LINENO: result: ${flag}" >&5
32224 echo "${ECHO_T}${flag}" >&6
32225 if test "x$flag" != xno
; then
32226 THREADS_CFLAGS
="$THREADS_CFLAGS $flag"
32229 if test "x$THREADS_CFLAGS" != "x"; then
32230 CFLAGS
="$CFLAGS $THREADS_CFLAGS"
32231 CXXFLAGS
="$CXXFLAGS $THREADS_CFLAGS"
32236 if test "$wxUSE_THREADS" = "yes" ; then
32238 for ac_func
in thr_setconcurrency
32240 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
32241 echo "$as_me:$LINENO: checking for $ac_func" >&5
32242 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
32243 if eval "test \"\${$as_ac_var+set}\" = set"; then
32244 echo $ECHO_N "(cached) $ECHO_C" >&6
32246 cat >conftest.
$ac_ext <<_ACEOF
32249 cat confdefs.h
>>conftest.
$ac_ext
32250 cat >>conftest.
$ac_ext <<_ACEOF
32251 /* end confdefs.h. */
32252 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
32253 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32254 #define $ac_func innocuous_$ac_func
32256 /* System header to define __stub macros and hopefully few prototypes,
32257 which can conflict with char $ac_func (); below.
32258 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32259 <limits.h> exists even on freestanding compilers. */
32262 # include <limits.h>
32264 # include <assert.h>
32269 /* Override any gcc2 internal prototype to avoid an error. */
32274 /* We use char because int might match the return type of a gcc2
32275 builtin and then its argument prototype would still apply. */
32277 /* The GNU C library defines this for functions which it implements
32278 to always fail with ENOSYS. Some functions are actually named
32279 something starting with __ and the normal name is an alias. */
32280 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
32283 char (*f) () = $ac_func;
32292 return f != $ac_func;
32297 rm -f conftest.
$ac_objext conftest
$ac_exeext
32298 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32299 (eval $ac_link) 2>conftest.er1
32301 grep -v '^ *+' conftest.er1
>conftest.err
32303 cat conftest.err
>&5
32304 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32305 (exit $ac_status); } &&
32306 { ac_try
='test -z "$ac_c_werror_flag"
32307 || test ! -s conftest.err'
32308 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32309 (eval $ac_try) 2>&5
32311 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32312 (exit $ac_status); }; } &&
32313 { ac_try
='test -s conftest$ac_exeext'
32314 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32315 (eval $ac_try) 2>&5
32317 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32318 (exit $ac_status); }; }; then
32319 eval "$as_ac_var=yes"
32321 echo "$as_me: failed program was:" >&5
32322 sed 's/^/| /' conftest.
$ac_ext >&5
32324 eval "$as_ac_var=no"
32326 rm -f conftest.err conftest.
$ac_objext \
32327 conftest
$ac_exeext conftest.
$ac_ext
32329 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
32330 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
32331 if test `eval echo '${'$as_ac_var'}'` = yes; then
32332 cat >>confdefs.h
<<_ACEOF
32333 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
32341 for ac_header
in sched.h
32343 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
32344 if eval "test \"\${$as_ac_Header+set}\" = set"; then
32345 echo "$as_me:$LINENO: checking for $ac_header" >&5
32346 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
32347 if eval "test \"\${$as_ac_Header+set}\" = set"; then
32348 echo $ECHO_N "(cached) $ECHO_C" >&6
32350 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
32351 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
32353 # Is the header compilable?
32354 echo "$as_me:$LINENO: checking $ac_header usability" >&5
32355 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
32356 cat >conftest.
$ac_ext <<_ACEOF
32359 cat confdefs.h
>>conftest.
$ac_ext
32360 cat >>conftest.
$ac_ext <<_ACEOF
32361 /* end confdefs.h. */
32362 $ac_includes_default
32363 #include <$ac_header>
32365 rm -f conftest.
$ac_objext
32366 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32367 (eval $ac_compile) 2>conftest.er1
32369 grep -v '^ *+' conftest.er1
>conftest.err
32371 cat conftest.err
>&5
32372 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32373 (exit $ac_status); } &&
32374 { ac_try
='test -z "$ac_c_werror_flag"
32375 || test ! -s conftest.err'
32376 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32377 (eval $ac_try) 2>&5
32379 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32380 (exit $ac_status); }; } &&
32381 { ac_try
='test -s conftest.$ac_objext'
32382 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32383 (eval $ac_try) 2>&5
32385 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32386 (exit $ac_status); }; }; then
32387 ac_header_compiler
=yes
32389 echo "$as_me: failed program was:" >&5
32390 sed 's/^/| /' conftest.
$ac_ext >&5
32392 ac_header_compiler
=no
32394 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
32395 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
32396 echo "${ECHO_T}$ac_header_compiler" >&6
32398 # Is the header present?
32399 echo "$as_me:$LINENO: checking $ac_header presence" >&5
32400 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
32401 cat >conftest.
$ac_ext <<_ACEOF
32404 cat confdefs.h
>>conftest.
$ac_ext
32405 cat >>conftest.
$ac_ext <<_ACEOF
32406 /* end confdefs.h. */
32407 #include <$ac_header>
32409 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
32410 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
32412 grep -v '^ *+' conftest.er1
>conftest.err
32414 cat conftest.err
>&5
32415 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32416 (exit $ac_status); } >/dev
/null
; then
32417 if test -s conftest.err
; then
32418 ac_cpp_err
=$ac_c_preproc_warn_flag
32419 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
32426 if test -z "$ac_cpp_err"; then
32427 ac_header_preproc
=yes
32429 echo "$as_me: failed program was:" >&5
32430 sed 's/^/| /' conftest.
$ac_ext >&5
32432 ac_header_preproc
=no
32434 rm -f conftest.err conftest.
$ac_ext
32435 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
32436 echo "${ECHO_T}$ac_header_preproc" >&6
32438 # So? What about this header?
32439 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
32441 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
32442 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
32443 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
32444 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
32445 ac_header_preproc
=yes
32448 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
32449 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
32450 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
32451 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
32452 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
32453 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
32454 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
32455 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
32456 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
32457 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
32458 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
32459 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
32462 ## ----------------------------------------- ##
32463 ## Report this to wx-dev@lists.wxwindows.org ##
32464 ## ----------------------------------------- ##
32467 sed "s/^/$as_me: WARNING: /" >&2
32470 echo "$as_me:$LINENO: checking for $ac_header" >&5
32471 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
32472 if eval "test \"\${$as_ac_Header+set}\" = set"; then
32473 echo $ECHO_N "(cached) $ECHO_C" >&6
32475 eval "$as_ac_Header=\$ac_header_preproc"
32477 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
32478 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
32481 if test `eval echo '${'$as_ac_Header'}'` = yes; then
32482 cat >>confdefs.h
<<_ACEOF
32483 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
32490 if test "$ac_cv_header_sched_h" = "yes"; then
32491 echo "$as_me:$LINENO: checking for sched_yield" >&5
32492 echo $ECHO_N "checking for sched_yield... $ECHO_C" >&6
32493 if test "${ac_cv_func_sched_yield+set}" = set; then
32494 echo $ECHO_N "(cached) $ECHO_C" >&6
32496 cat >conftest.
$ac_ext <<_ACEOF
32499 cat confdefs.h
>>conftest.
$ac_ext
32500 cat >>conftest.
$ac_ext <<_ACEOF
32501 /* end confdefs.h. */
32502 /* Define sched_yield to an innocuous variant, in case <limits.h> declares sched_yield.
32503 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32504 #define sched_yield innocuous_sched_yield
32506 /* System header to define __stub macros and hopefully few prototypes,
32507 which can conflict with char sched_yield (); below.
32508 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32509 <limits.h> exists even on freestanding compilers. */
32512 # include <limits.h>
32514 # include <assert.h>
32519 /* Override any gcc2 internal prototype to avoid an error. */
32524 /* We use char because int might match the return type of a gcc2
32525 builtin and then its argument prototype would still apply. */
32526 char sched_yield ();
32527 /* The GNU C library defines this for functions which it implements
32528 to always fail with ENOSYS. Some functions are actually named
32529 something starting with __ and the normal name is an alias. */
32530 #if defined (__stub_sched_yield) || defined (__stub___sched_yield)
32533 char (*f) () = sched_yield;
32542 return f != sched_yield;
32547 rm -f conftest.
$ac_objext conftest
$ac_exeext
32548 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32549 (eval $ac_link) 2>conftest.er1
32551 grep -v '^ *+' conftest.er1
>conftest.err
32553 cat conftest.err
>&5
32554 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32555 (exit $ac_status); } &&
32556 { ac_try
='test -z "$ac_c_werror_flag"
32557 || test ! -s conftest.err'
32558 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32559 (eval $ac_try) 2>&5
32561 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32562 (exit $ac_status); }; } &&
32563 { ac_try
='test -s conftest$ac_exeext'
32564 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32565 (eval $ac_try) 2>&5
32567 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32568 (exit $ac_status); }; }; then
32569 ac_cv_func_sched_yield
=yes
32571 echo "$as_me: failed program was:" >&5
32572 sed 's/^/| /' conftest.
$ac_ext >&5
32574 ac_cv_func_sched_yield
=no
32576 rm -f conftest.err conftest.
$ac_objext \
32577 conftest
$ac_exeext conftest.
$ac_ext
32579 echo "$as_me:$LINENO: result: $ac_cv_func_sched_yield" >&5
32580 echo "${ECHO_T}$ac_cv_func_sched_yield" >&6
32581 if test $ac_cv_func_sched_yield = yes; then
32582 cat >>confdefs.h
<<\_ACEOF
32583 #define HAVE_SCHED_YIELD 1
32588 echo "$as_me:$LINENO: checking for sched_yield in -lposix4" >&5
32589 echo $ECHO_N "checking for sched_yield in -lposix4... $ECHO_C" >&6
32590 if test "${ac_cv_lib_posix4_sched_yield+set}" = set; then
32591 echo $ECHO_N "(cached) $ECHO_C" >&6
32593 ac_check_lib_save_LIBS
=$LIBS
32594 LIBS
="-lposix4 $LIBS"
32595 cat >conftest.
$ac_ext <<_ACEOF
32598 cat confdefs.h
>>conftest.
$ac_ext
32599 cat >>conftest.
$ac_ext <<_ACEOF
32600 /* end confdefs.h. */
32602 /* Override any gcc2 internal prototype to avoid an error. */
32606 /* We use char because int might match the return type of a gcc2
32607 builtin and then its argument prototype would still apply. */
32608 char sched_yield ();
32617 rm -f conftest.
$ac_objext conftest
$ac_exeext
32618 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32619 (eval $ac_link) 2>conftest.er1
32621 grep -v '^ *+' conftest.er1
>conftest.err
32623 cat conftest.err
>&5
32624 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32625 (exit $ac_status); } &&
32626 { ac_try
='test -z "$ac_c_werror_flag"
32627 || test ! -s conftest.err'
32628 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32629 (eval $ac_try) 2>&5
32631 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32632 (exit $ac_status); }; } &&
32633 { ac_try
='test -s conftest$ac_exeext'
32634 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32635 (eval $ac_try) 2>&5
32637 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32638 (exit $ac_status); }; }; then
32639 ac_cv_lib_posix4_sched_yield
=yes
32641 echo "$as_me: failed program was:" >&5
32642 sed 's/^/| /' conftest.
$ac_ext >&5
32644 ac_cv_lib_posix4_sched_yield
=no
32646 rm -f conftest.err conftest.
$ac_objext \
32647 conftest
$ac_exeext conftest.
$ac_ext
32648 LIBS
=$ac_check_lib_save_LIBS
32650 echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_sched_yield" >&5
32651 echo "${ECHO_T}$ac_cv_lib_posix4_sched_yield" >&6
32652 if test $ac_cv_lib_posix4_sched_yield = yes; then
32653 cat >>confdefs.h
<<\_ACEOF
32654 #define HAVE_SCHED_YIELD 1
32656 POSIX4_LINK
=" -lposix4"
32658 { echo "$as_me:$LINENO: WARNING: wxThread::Yield will not work properly" >&5
32659 echo "$as_me: WARNING: wxThread::Yield will not work properly" >&2;}
32670 echo "$as_me:$LINENO: checking for pthread_attr_getschedpolicy" >&5
32671 echo $ECHO_N "checking for pthread_attr_getschedpolicy... $ECHO_C" >&6
32672 if test "${ac_cv_func_pthread_attr_getschedpolicy+set}" = set; then
32673 echo $ECHO_N "(cached) $ECHO_C" >&6
32675 cat >conftest.
$ac_ext <<_ACEOF
32678 cat confdefs.h
>>conftest.
$ac_ext
32679 cat >>conftest.
$ac_ext <<_ACEOF
32680 /* end confdefs.h. */
32681 /* Define pthread_attr_getschedpolicy to an innocuous variant, in case <limits.h> declares pthread_attr_getschedpolicy.
32682 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32683 #define pthread_attr_getschedpolicy innocuous_pthread_attr_getschedpolicy
32685 /* System header to define __stub macros and hopefully few prototypes,
32686 which can conflict with char pthread_attr_getschedpolicy (); below.
32687 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32688 <limits.h> exists even on freestanding compilers. */
32691 # include <limits.h>
32693 # include <assert.h>
32696 #undef pthread_attr_getschedpolicy
32698 /* Override any gcc2 internal prototype to avoid an error. */
32703 /* We use char because int might match the return type of a gcc2
32704 builtin and then its argument prototype would still apply. */
32705 char pthread_attr_getschedpolicy ();
32706 /* The GNU C library defines this for functions which it implements
32707 to always fail with ENOSYS. Some functions are actually named
32708 something starting with __ and the normal name is an alias. */
32709 #if defined (__stub_pthread_attr_getschedpolicy) || defined (__stub___pthread_attr_getschedpolicy)
32712 char (*f) () = pthread_attr_getschedpolicy;
32721 return f != pthread_attr_getschedpolicy;
32726 rm -f conftest.
$ac_objext conftest
$ac_exeext
32727 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32728 (eval $ac_link) 2>conftest.er1
32730 grep -v '^ *+' conftest.er1
>conftest.err
32732 cat conftest.err
>&5
32733 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32734 (exit $ac_status); } &&
32735 { ac_try
='test -z "$ac_c_werror_flag"
32736 || test ! -s conftest.err'
32737 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32738 (eval $ac_try) 2>&5
32740 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32741 (exit $ac_status); }; } &&
32742 { ac_try
='test -s conftest$ac_exeext'
32743 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32744 (eval $ac_try) 2>&5
32746 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32747 (exit $ac_status); }; }; then
32748 ac_cv_func_pthread_attr_getschedpolicy
=yes
32750 echo "$as_me: failed program was:" >&5
32751 sed 's/^/| /' conftest.
$ac_ext >&5
32753 ac_cv_func_pthread_attr_getschedpolicy
=no
32755 rm -f conftest.err conftest.
$ac_objext \
32756 conftest
$ac_exeext conftest.
$ac_ext
32758 echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_getschedpolicy" >&5
32759 echo "${ECHO_T}$ac_cv_func_pthread_attr_getschedpolicy" >&6
32760 if test $ac_cv_func_pthread_attr_getschedpolicy = yes; then
32761 echo "$as_me:$LINENO: checking for pthread_attr_setschedparam" >&5
32762 echo $ECHO_N "checking for pthread_attr_setschedparam... $ECHO_C" >&6
32763 if test "${ac_cv_func_pthread_attr_setschedparam+set}" = set; then
32764 echo $ECHO_N "(cached) $ECHO_C" >&6
32766 cat >conftest.
$ac_ext <<_ACEOF
32769 cat confdefs.h
>>conftest.
$ac_ext
32770 cat >>conftest.
$ac_ext <<_ACEOF
32771 /* end confdefs.h. */
32772 /* Define pthread_attr_setschedparam to an innocuous variant, in case <limits.h> declares pthread_attr_setschedparam.
32773 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32774 #define pthread_attr_setschedparam innocuous_pthread_attr_setschedparam
32776 /* System header to define __stub macros and hopefully few prototypes,
32777 which can conflict with char pthread_attr_setschedparam (); below.
32778 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32779 <limits.h> exists even on freestanding compilers. */
32782 # include <limits.h>
32784 # include <assert.h>
32787 #undef pthread_attr_setschedparam
32789 /* Override any gcc2 internal prototype to avoid an error. */
32794 /* We use char because int might match the return type of a gcc2
32795 builtin and then its argument prototype would still apply. */
32796 char pthread_attr_setschedparam ();
32797 /* The GNU C library defines this for functions which it implements
32798 to always fail with ENOSYS. Some functions are actually named
32799 something starting with __ and the normal name is an alias. */
32800 #if defined (__stub_pthread_attr_setschedparam) || defined (__stub___pthread_attr_setschedparam)
32803 char (*f) () = pthread_attr_setschedparam;
32812 return f != pthread_attr_setschedparam;
32817 rm -f conftest.
$ac_objext conftest
$ac_exeext
32818 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32819 (eval $ac_link) 2>conftest.er1
32821 grep -v '^ *+' conftest.er1
>conftest.err
32823 cat conftest.err
>&5
32824 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32825 (exit $ac_status); } &&
32826 { ac_try
='test -z "$ac_c_werror_flag"
32827 || test ! -s conftest.err'
32828 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32829 (eval $ac_try) 2>&5
32831 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32832 (exit $ac_status); }; } &&
32833 { ac_try
='test -s conftest$ac_exeext'
32834 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32835 (eval $ac_try) 2>&5
32837 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32838 (exit $ac_status); }; }; then
32839 ac_cv_func_pthread_attr_setschedparam
=yes
32841 echo "$as_me: failed program was:" >&5
32842 sed 's/^/| /' conftest.
$ac_ext >&5
32844 ac_cv_func_pthread_attr_setschedparam
=no
32846 rm -f conftest.err conftest.
$ac_objext \
32847 conftest
$ac_exeext conftest.
$ac_ext
32849 echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_setschedparam" >&5
32850 echo "${ECHO_T}$ac_cv_func_pthread_attr_setschedparam" >&6
32851 if test $ac_cv_func_pthread_attr_setschedparam = yes; then
32852 echo "$as_me:$LINENO: checking for sched_get_priority_max" >&5
32853 echo $ECHO_N "checking for sched_get_priority_max... $ECHO_C" >&6
32854 if test "${ac_cv_func_sched_get_priority_max+set}" = set; then
32855 echo $ECHO_N "(cached) $ECHO_C" >&6
32857 cat >conftest.
$ac_ext <<_ACEOF
32860 cat confdefs.h
>>conftest.
$ac_ext
32861 cat >>conftest.
$ac_ext <<_ACEOF
32862 /* end confdefs.h. */
32863 /* Define sched_get_priority_max to an innocuous variant, in case <limits.h> declares sched_get_priority_max.
32864 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32865 #define sched_get_priority_max innocuous_sched_get_priority_max
32867 /* System header to define __stub macros and hopefully few prototypes,
32868 which can conflict with char sched_get_priority_max (); below.
32869 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32870 <limits.h> exists even on freestanding compilers. */
32873 # include <limits.h>
32875 # include <assert.h>
32878 #undef sched_get_priority_max
32880 /* Override any gcc2 internal prototype to avoid an error. */
32885 /* We use char because int might match the return type of a gcc2
32886 builtin and then its argument prototype would still apply. */
32887 char sched_get_priority_max ();
32888 /* The GNU C library defines this for functions which it implements
32889 to always fail with ENOSYS. Some functions are actually named
32890 something starting with __ and the normal name is an alias. */
32891 #if defined (__stub_sched_get_priority_max) || defined (__stub___sched_get_priority_max)
32894 char (*f) () = sched_get_priority_max;
32903 return f != sched_get_priority_max;
32908 rm -f conftest.
$ac_objext conftest
$ac_exeext
32909 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32910 (eval $ac_link) 2>conftest.er1
32912 grep -v '^ *+' conftest.er1
>conftest.err
32914 cat conftest.err
>&5
32915 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32916 (exit $ac_status); } &&
32917 { ac_try
='test -z "$ac_c_werror_flag"
32918 || test ! -s conftest.err'
32919 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32920 (eval $ac_try) 2>&5
32922 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32923 (exit $ac_status); }; } &&
32924 { ac_try
='test -s conftest$ac_exeext'
32925 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32926 (eval $ac_try) 2>&5
32928 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32929 (exit $ac_status); }; }; then
32930 ac_cv_func_sched_get_priority_max
=yes
32932 echo "$as_me: failed program was:" >&5
32933 sed 's/^/| /' conftest.
$ac_ext >&5
32935 ac_cv_func_sched_get_priority_max
=no
32937 rm -f conftest.err conftest.
$ac_objext \
32938 conftest
$ac_exeext conftest.
$ac_ext
32940 echo "$as_me:$LINENO: result: $ac_cv_func_sched_get_priority_max" >&5
32941 echo "${ECHO_T}$ac_cv_func_sched_get_priority_max" >&6
32942 if test $ac_cv_func_sched_get_priority_max = yes; then
32945 echo "$as_me:$LINENO: checking for sched_get_priority_max in -lposix4" >&5
32946 echo $ECHO_N "checking for sched_get_priority_max in -lposix4... $ECHO_C" >&6
32947 if test "${ac_cv_lib_posix4_sched_get_priority_max+set}" = set; then
32948 echo $ECHO_N "(cached) $ECHO_C" >&6
32950 ac_check_lib_save_LIBS
=$LIBS
32951 LIBS
="-lposix4 $LIBS"
32952 cat >conftest.
$ac_ext <<_ACEOF
32955 cat confdefs.h
>>conftest.
$ac_ext
32956 cat >>conftest.
$ac_ext <<_ACEOF
32957 /* end confdefs.h. */
32959 /* Override any gcc2 internal prototype to avoid an error. */
32963 /* We use char because int might match the return type of a gcc2
32964 builtin and then its argument prototype would still apply. */
32965 char sched_get_priority_max ();
32969 sched_get_priority_max ();
32974 rm -f conftest.
$ac_objext conftest
$ac_exeext
32975 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32976 (eval $ac_link) 2>conftest.er1
32978 grep -v '^ *+' conftest.er1
>conftest.err
32980 cat conftest.err
>&5
32981 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32982 (exit $ac_status); } &&
32983 { ac_try
='test -z "$ac_c_werror_flag"
32984 || test ! -s conftest.err'
32985 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32986 (eval $ac_try) 2>&5
32988 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32989 (exit $ac_status); }; } &&
32990 { ac_try
='test -s conftest$ac_exeext'
32991 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32992 (eval $ac_try) 2>&5
32994 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32995 (exit $ac_status); }; }; then
32996 ac_cv_lib_posix4_sched_get_priority_max
=yes
32998 echo "$as_me: failed program was:" >&5
32999 sed 's/^/| /' conftest.
$ac_ext >&5
33001 ac_cv_lib_posix4_sched_get_priority_max
=no
33003 rm -f conftest.err conftest.
$ac_objext \
33004 conftest
$ac_exeext conftest.
$ac_ext
33005 LIBS
=$ac_check_lib_save_LIBS
33007 echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_sched_get_priority_max" >&5
33008 echo "${ECHO_T}$ac_cv_lib_posix4_sched_get_priority_max" >&6
33009 if test $ac_cv_lib_posix4_sched_get_priority_max = yes; then
33012 POSIX4_LINK
=" -lposix4"
33026 if test "$HAVE_PRIOR_FUNCS" = 1; then
33027 cat >>confdefs.h
<<\_ACEOF
33028 #define HAVE_THREAD_PRIORITY_FUNCTIONS 1
33032 { echo "$as_me:$LINENO: WARNING: Setting thread priority will not work" >&5
33033 echo "$as_me: WARNING: Setting thread priority will not work" >&2;}
33036 echo "$as_me:$LINENO: checking for pthread_cancel" >&5
33037 echo $ECHO_N "checking for pthread_cancel... $ECHO_C" >&6
33038 if test "${ac_cv_func_pthread_cancel+set}" = set; then
33039 echo $ECHO_N "(cached) $ECHO_C" >&6
33041 cat >conftest.
$ac_ext <<_ACEOF
33044 cat confdefs.h
>>conftest.
$ac_ext
33045 cat >>conftest.
$ac_ext <<_ACEOF
33046 /* end confdefs.h. */
33047 /* Define pthread_cancel to an innocuous variant, in case <limits.h> declares pthread_cancel.
33048 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33049 #define pthread_cancel innocuous_pthread_cancel
33051 /* System header to define __stub macros and hopefully few prototypes,
33052 which can conflict with char pthread_cancel (); below.
33053 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33054 <limits.h> exists even on freestanding compilers. */
33057 # include <limits.h>
33059 # include <assert.h>
33062 #undef pthread_cancel
33064 /* Override any gcc2 internal prototype to avoid an error. */
33069 /* We use char because int might match the return type of a gcc2
33070 builtin and then its argument prototype would still apply. */
33071 char pthread_cancel ();
33072 /* The GNU C library defines this for functions which it implements
33073 to always fail with ENOSYS. Some functions are actually named
33074 something starting with __ and the normal name is an alias. */
33075 #if defined (__stub_pthread_cancel) || defined (__stub___pthread_cancel)
33078 char (*f) () = pthread_cancel;
33087 return f != pthread_cancel;
33092 rm -f conftest.
$ac_objext conftest
$ac_exeext
33093 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33094 (eval $ac_link) 2>conftest.er1
33096 grep -v '^ *+' conftest.er1
>conftest.err
33098 cat conftest.err
>&5
33099 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33100 (exit $ac_status); } &&
33101 { ac_try
='test -z "$ac_c_werror_flag"
33102 || test ! -s conftest.err'
33103 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33104 (eval $ac_try) 2>&5
33106 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33107 (exit $ac_status); }; } &&
33108 { ac_try
='test -s conftest$ac_exeext'
33109 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33110 (eval $ac_try) 2>&5
33112 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33113 (exit $ac_status); }; }; then
33114 ac_cv_func_pthread_cancel
=yes
33116 echo "$as_me: failed program was:" >&5
33117 sed 's/^/| /' conftest.
$ac_ext >&5
33119 ac_cv_func_pthread_cancel
=no
33121 rm -f conftest.err conftest.
$ac_objext \
33122 conftest
$ac_exeext conftest.
$ac_ext
33124 echo "$as_me:$LINENO: result: $ac_cv_func_pthread_cancel" >&5
33125 echo "${ECHO_T}$ac_cv_func_pthread_cancel" >&6
33126 if test $ac_cv_func_pthread_cancel = yes; then
33127 cat >>confdefs.h
<<\_ACEOF
33128 #define HAVE_PTHREAD_CANCEL 1
33132 { echo "$as_me:$LINENO: WARNING: wxThread::Kill() will not work properly" >&5
33133 echo "$as_me: WARNING: wxThread::Kill() will not work properly" >&2;}
33139 echo "$as_me:$LINENO: checking for pthread_mutexattr_t" >&5
33140 echo $ECHO_N "checking for pthread_mutexattr_t... $ECHO_C" >&6
33141 if test "${wx_cv_type_pthread_mutexattr_t+set}" = set; then
33142 echo $ECHO_N "(cached) $ECHO_C" >&6
33145 cat >conftest.
$ac_ext <<_ACEOF
33148 cat confdefs.h
>>conftest.
$ac_ext
33149 cat >>conftest.
$ac_ext <<_ACEOF
33150 /* end confdefs.h. */
33151 #include <pthread.h>
33156 pthread_mutexattr_t attr;
33157 pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE);
33163 rm -f conftest.
$ac_objext
33164 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33165 (eval $ac_compile) 2>conftest.er1
33167 grep -v '^ *+' conftest.er1
>conftest.err
33169 cat conftest.err
>&5
33170 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33171 (exit $ac_status); } &&
33172 { ac_try
='test -z "$ac_c_werror_flag"
33173 || test ! -s conftest.err'
33174 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33175 (eval $ac_try) 2>&5
33177 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33178 (exit $ac_status); }; } &&
33179 { ac_try
='test -s conftest.$ac_objext'
33180 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33181 (eval $ac_try) 2>&5
33183 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33184 (exit $ac_status); }; }; then
33186 wx_cv_type_pthread_mutexattr_t
=yes
33189 echo "$as_me: failed program was:" >&5
33190 sed 's/^/| /' conftest.
$ac_ext >&5
33193 wx_cv_type_pthread_mutexattr_t
=no
33197 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
33200 echo "$as_me:$LINENO: result: $wx_cv_type_pthread_mutexattr_t" >&5
33201 echo "${ECHO_T}$wx_cv_type_pthread_mutexattr_t" >&6
33203 if test "$wx_cv_type_pthread_mutexattr_t" = "yes"; then
33204 cat >>confdefs.h
<<\_ACEOF
33205 #define HAVE_PTHREAD_MUTEXATTR_T 1
33209 echo "$as_me:$LINENO: checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER" >&5
33210 echo $ECHO_N "checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER... $ECHO_C" >&6
33211 if test "${wx_cv_type_pthread_rec_mutex_init+set}" = set; then
33212 echo $ECHO_N "(cached) $ECHO_C" >&6
33215 cat >conftest.
$ac_ext <<_ACEOF
33218 cat confdefs.h
>>conftest.
$ac_ext
33219 cat >>conftest.
$ac_ext <<_ACEOF
33220 /* end confdefs.h. */
33221 #include <pthread.h>
33226 pthread_mutex_t attr = PTHREAD_RECURSIVE_MUTEX_INITIALIZER_NP;
33232 rm -f conftest.
$ac_objext
33233 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33234 (eval $ac_compile) 2>conftest.er1
33236 grep -v '^ *+' conftest.er1
>conftest.err
33238 cat conftest.err
>&5
33239 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33240 (exit $ac_status); } &&
33241 { ac_try
='test -z "$ac_c_werror_flag"
33242 || test ! -s conftest.err'
33243 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33244 (eval $ac_try) 2>&5
33246 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33247 (exit $ac_status); }; } &&
33248 { ac_try
='test -s conftest.$ac_objext'
33249 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33250 (eval $ac_try) 2>&5
33252 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33253 (exit $ac_status); }; }; then
33255 wx_cv_type_pthread_rec_mutex_init
=yes
33258 echo "$as_me: failed program was:" >&5
33259 sed 's/^/| /' conftest.
$ac_ext >&5
33262 wx_cv_type_pthread_rec_mutex_init
=no
33266 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
33269 echo "$as_me:$LINENO: result: $wx_cv_type_pthread_rec_mutex_init" >&5
33270 echo "${ECHO_T}$wx_cv_type_pthread_rec_mutex_init" >&6
33271 if test "$wx_cv_type_pthread_rec_mutex_init" = "yes"; then
33272 cat >>confdefs.h
<<\_ACEOF
33273 #define HAVE_PTHREAD_RECURSIVE_MUTEX_INITIALIZER 1
33277 { echo "$as_me:$LINENO: WARNING: wxMutex won't be recursive on this platform" >&5
33278 echo "$as_me: WARNING: wxMutex won't be recursive on this platform" >&2;}
33284 if test "$wxUSE_THREADS" = "yes" ; then
33287 echo "$as_me:$LINENO: checking if compiler supports -mthreads" >&5
33288 echo $ECHO_N "checking if compiler supports -mthreads... $ECHO_C" >&6
33289 if test "${wx_cv_cflags_mthread+set}" = set; then
33290 echo $ECHO_N "(cached) $ECHO_C" >&6
33293 CFLAGS_OLD
="$CFLAGS"
33294 CFLAGS
="$CFLAGS -mthreads"
33295 cat >conftest.
$ac_ext <<_ACEOF
33298 cat confdefs.h
>>conftest.
$ac_ext
33299 cat >>conftest.
$ac_ext <<_ACEOF
33300 /* end confdefs.h. */
33310 rm -f conftest.
$ac_objext
33311 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33312 (eval $ac_compile) 2>conftest.er1
33314 grep -v '^ *+' conftest.er1
>conftest.err
33316 cat conftest.err
>&5
33317 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33318 (exit $ac_status); } &&
33319 { ac_try
='test -z "$ac_c_werror_flag"
33320 || test ! -s conftest.err'
33321 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33322 (eval $ac_try) 2>&5
33324 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33325 (exit $ac_status); }; } &&
33326 { ac_try
='test -s conftest.$ac_objext'
33327 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33328 (eval $ac_try) 2>&5
33330 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33331 (exit $ac_status); }; }; then
33332 wx_cv_cflags_mthread
=yes
33334 echo "$as_me: failed program was:" >&5
33335 sed 's/^/| /' conftest.
$ac_ext >&5
33337 wx_cv_cflags_mthread
=no
33340 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
33344 echo "$as_me:$LINENO: result: $wx_cv_cflags_mthread" >&5
33345 echo "${ECHO_T}$wx_cv_cflags_mthread" >&6
33347 if test "$wx_cv_cflags_mthread" = "yes"; then
33348 CXXFLAGS
="$CXXFLAGS -mthreads"
33349 TOOLCHAIN_DEFS
="$TOOLCHAIN_DEFS -mthreads"
33350 LDFLAGS
="$LDFLAGS -mthreads"
33352 CFLAGS
="$CFLAGS_OLD"
33356 CFLAGS
="$CFLAGS -Zmt -D__ST_MT_ERRNO__"
33357 CXXFLAGS
="$CXXFLAGS -Zmt -D__ST_MT_ERRNO__"
33358 LDFLAGS
="$LDFLAGS -Zmt"
33364 if test "$wxUSE_THREADS" = "yes"; then
33365 cat >>confdefs.h
<<\_ACEOF
33366 #define wxUSE_THREADS 1
33370 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS thread"
33372 if test "$ac_cv_func_strtok_r" = "yes"; then
33373 echo "$as_me:$LINENO: checking if -D_REENTRANT is needed" >&5
33374 echo $ECHO_N "checking if -D_REENTRANT is needed... $ECHO_C" >&6
33375 if test "$NEEDS_D_REENTRANT_FOR_R_FUNCS" = 1; then
33376 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -D_REENTRANT"
33377 echo "$as_me:$LINENO: result: yes" >&5
33378 echo "${ECHO_T}yes" >&6
33380 echo "$as_me:$LINENO: result: no" >&5
33381 echo "${ECHO_T}no" >&6
33386 if test "$WXGTK20" = 1 ; then
33387 cat >>confdefs.h
<<_ACEOF
33388 #define __WXGTK20__ $WXGTK20
33394 if test "$WXGTK12" = 1 ; then
33395 cat >>confdefs.h
<<_ACEOF
33396 #define __WXGTK12__ $WXGTK12
33401 if test "$WXGTK127" = 1 ; then
33402 cat >>confdefs.h
<<_ACEOF
33403 #define __WXGTK127__ $WXGTK127
33408 if test "$WXGPE" = 1 ; then
33409 cat >>confdefs.h
<<_ACEOF
33410 #define __WXGPE__ $WXGPE
33417 if test "$wxUSE_DEBUG_INFO" = "yes" ; then
33422 if test "$wxUSE_DEBUG_GDB" = "yes" ; then
33423 wxUSE_DEBUG_INFO
=yes
33427 if test "$wxUSE_DEBUG_FLAG" = "yes" ; then
33428 cat >>confdefs.h
<<\_ACEOF
33432 WXDEBUG_DEFINE
="-D__WXDEBUG__"
33434 if test "$wxUSE_GTK" = 1 ; then
33435 WXDEBUG_DEFINE
="-DGTK_NO_CHECK_CASTS"
33439 if test "$wxUSE_MEM_TRACING" = "yes" ; then
33440 cat >>confdefs.h
<<\_ACEOF
33441 #define wxUSE_MEMORY_TRACING 1
33444 cat >>confdefs.h
<<\_ACEOF
33445 #define wxUSE_GLOBAL_MEMORY_OPERATORS 1
33448 cat >>confdefs.h
<<\_ACEOF
33449 #define wxUSE_DEBUG_NEW_ALWAYS 1
33452 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS memcheck"
33455 if test "$wxUSE_DMALLOC" = "yes" ; then
33456 DMALLOC_LIBS
="-ldmalloc"
33460 if test "$wxUSE_PROFILE" = "yes" ; then
33465 CODE_GEN_FLAGS_CXX
=
33466 if test "$GCC" = "yes" ; then
33467 if test "$wxUSE_NO_RTTI" = "yes" ; then
33468 CODE_GEN_FLAGS_CXX
="$CODE_GEN_FLAGS_CXX -fno-rtti"
33470 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
33471 CODE_GEN_FLAGS_CXX
="$CODE_GEN_FLAGS_CXX -fno-exceptions"
33473 if test "$wxUSE_PERMISSIVE" = "yes" ; then
33474 CODE_GEN_FLAGS
="$CODE_GEN_FLAGS -fpermissive"
33479 CODE_GEN_FLAGS
="$CODE_GEN_FLAGS -mminimal-toc"
33482 CODE_GEN_FLAGS
="$CODE_GEN_FLAGS -ffunction-sections"
33488 if test "$wxUSE_OPTIMISE" = "no" ; then
33489 if test "$GCC" = yes ; then
33493 if test "$GCC" = yes ; then
33497 i586
-*-*|i686
-*-* )
33498 OPTIMISE
="${OPTIMISE} "
33507 if test "x$WXWIN_COMPATIBILITY_2_2" = "xyes"; then
33508 cat >>confdefs.h
<<\_ACEOF
33509 #define WXWIN_COMPATIBILITY_2_2 1
33513 WXWIN_COMPATIBILITY_2_4
="yes"
33516 if test "x$WXWIN_COMPATIBILITY_2_4" != "xno"; then
33517 cat >>confdefs.h
<<\_ACEOF
33518 #define WXWIN_COMPATIBILITY_2_4 1
33524 if test "$wxUSE_GUI" = "yes"; then
33525 cat >>confdefs.h
<<\_ACEOF
33526 #define wxUSE_GUI 1
33531 cat >>confdefs.h
<<\_ACEOF
33532 #define wxUSE_NOGUI 1
33538 if test "$wxUSE_UNIX" = "yes"; then
33539 cat >>confdefs.h
<<\_ACEOF
33540 #define wxUSE_UNIX 1
33546 if test "$TOOLKIT" != "MSW" -a "$USE_OS2" != 1; then
33550 if test "$wxUSE_DYNAMIC_LOADER" = "yes" -o "$wxUSE_DYNLIB_CLASS" = "yes" ; then
33551 if test "$USE_DARWIN" = 1; then
33555 for ac_func
in dlopen
33557 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33558 echo "$as_me:$LINENO: checking for $ac_func" >&5
33559 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33560 if eval "test \"\${$as_ac_var+set}\" = set"; then
33561 echo $ECHO_N "(cached) $ECHO_C" >&6
33563 cat >conftest.
$ac_ext <<_ACEOF
33566 cat confdefs.h
>>conftest.
$ac_ext
33567 cat >>conftest.
$ac_ext <<_ACEOF
33568 /* end confdefs.h. */
33569 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
33570 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33571 #define $ac_func innocuous_$ac_func
33573 /* System header to define __stub macros and hopefully few prototypes,
33574 which can conflict with char $ac_func (); below.
33575 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33576 <limits.h> exists even on freestanding compilers. */
33579 # include <limits.h>
33581 # include <assert.h>
33586 /* Override any gcc2 internal prototype to avoid an error. */
33591 /* We use char because int might match the return type of a gcc2
33592 builtin and then its argument prototype would still apply. */
33594 /* The GNU C library defines this for functions which it implements
33595 to always fail with ENOSYS. Some functions are actually named
33596 something starting with __ and the normal name is an alias. */
33597 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33600 char (*f) () = $ac_func;
33609 return f != $ac_func;
33614 rm -f conftest.
$ac_objext conftest
$ac_exeext
33615 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33616 (eval $ac_link) 2>conftest.er1
33618 grep -v '^ *+' conftest.er1
>conftest.err
33620 cat conftest.err
>&5
33621 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33622 (exit $ac_status); } &&
33623 { ac_try
='test -z "$ac_c_werror_flag"
33624 || test ! -s conftest.err'
33625 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33626 (eval $ac_try) 2>&5
33628 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33629 (exit $ac_status); }; } &&
33630 { ac_try
='test -s conftest$ac_exeext'
33631 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33632 (eval $ac_try) 2>&5
33634 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33635 (exit $ac_status); }; }; then
33636 eval "$as_ac_var=yes"
33638 echo "$as_me: failed program was:" >&5
33639 sed 's/^/| /' conftest.
$ac_ext >&5
33641 eval "$as_ac_var=no"
33643 rm -f conftest.err conftest.
$ac_objext \
33644 conftest
$ac_exeext conftest.
$ac_ext
33646 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33647 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33648 if test `eval echo '${'$as_ac_var'}'` = yes; then
33649 cat >>confdefs.h
<<_ACEOF
33650 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33653 cat >>confdefs.h
<<\_ACEOF
33654 #define HAVE_DLOPEN 1
33661 echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
33662 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
33663 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
33664 echo $ECHO_N "(cached) $ECHO_C" >&6
33666 ac_check_lib_save_LIBS
=$LIBS
33668 cat >conftest.
$ac_ext <<_ACEOF
33671 cat confdefs.h
>>conftest.
$ac_ext
33672 cat >>conftest.
$ac_ext <<_ACEOF
33673 /* end confdefs.h. */
33675 /* Override any gcc2 internal prototype to avoid an error. */
33679 /* We use char because int might match the return type of a gcc2
33680 builtin and then its argument prototype would still apply. */
33690 rm -f conftest.
$ac_objext conftest
$ac_exeext
33691 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33692 (eval $ac_link) 2>conftest.er1
33694 grep -v '^ *+' conftest.er1
>conftest.err
33696 cat conftest.err
>&5
33697 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33698 (exit $ac_status); } &&
33699 { ac_try
='test -z "$ac_c_werror_flag"
33700 || test ! -s conftest.err'
33701 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33702 (eval $ac_try) 2>&5
33704 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33705 (exit $ac_status); }; } &&
33706 { ac_try
='test -s conftest$ac_exeext'
33707 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33708 (eval $ac_try) 2>&5
33710 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33711 (exit $ac_status); }; }; then
33712 ac_cv_lib_dl_dlopen
=yes
33714 echo "$as_me: failed program was:" >&5
33715 sed 's/^/| /' conftest.
$ac_ext >&5
33717 ac_cv_lib_dl_dlopen
=no
33719 rm -f conftest.err conftest.
$ac_objext \
33720 conftest
$ac_exeext conftest.
$ac_ext
33721 LIBS
=$ac_check_lib_save_LIBS
33723 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
33724 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
33725 if test $ac_cv_lib_dl_dlopen = yes; then
33727 cat >>confdefs.h
<<\_ACEOF
33728 #define HAVE_DLOPEN 1
33732 DL_LINK
=" -ldl$DL_LINK"
33737 for ac_func
in shl_load
33739 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33740 echo "$as_me:$LINENO: checking for $ac_func" >&5
33741 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33742 if eval "test \"\${$as_ac_var+set}\" = set"; then
33743 echo $ECHO_N "(cached) $ECHO_C" >&6
33745 cat >conftest.
$ac_ext <<_ACEOF
33748 cat confdefs.h
>>conftest.
$ac_ext
33749 cat >>conftest.
$ac_ext <<_ACEOF
33750 /* end confdefs.h. */
33751 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
33752 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33753 #define $ac_func innocuous_$ac_func
33755 /* System header to define __stub macros and hopefully few prototypes,
33756 which can conflict with char $ac_func (); below.
33757 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33758 <limits.h> exists even on freestanding compilers. */
33761 # include <limits.h>
33763 # include <assert.h>
33768 /* Override any gcc2 internal prototype to avoid an error. */
33773 /* We use char because int might match the return type of a gcc2
33774 builtin and then its argument prototype would still apply. */
33776 /* The GNU C library defines this for functions which it implements
33777 to always fail with ENOSYS. Some functions are actually named
33778 something starting with __ and the normal name is an alias. */
33779 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33782 char (*f) () = $ac_func;
33791 return f != $ac_func;
33796 rm -f conftest.
$ac_objext conftest
$ac_exeext
33797 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33798 (eval $ac_link) 2>conftest.er1
33800 grep -v '^ *+' conftest.er1
>conftest.err
33802 cat conftest.err
>&5
33803 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33804 (exit $ac_status); } &&
33805 { ac_try
='test -z "$ac_c_werror_flag"
33806 || test ! -s conftest.err'
33807 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33808 (eval $ac_try) 2>&5
33810 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33811 (exit $ac_status); }; } &&
33812 { ac_try
='test -s conftest$ac_exeext'
33813 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33814 (eval $ac_try) 2>&5
33816 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33817 (exit $ac_status); }; }; then
33818 eval "$as_ac_var=yes"
33820 echo "$as_me: failed program was:" >&5
33821 sed 's/^/| /' conftest.
$ac_ext >&5
33823 eval "$as_ac_var=no"
33825 rm -f conftest.err conftest.
$ac_objext \
33826 conftest
$ac_exeext conftest.
$ac_ext
33828 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33829 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33830 if test `eval echo '${'$as_ac_var'}'` = yes; then
33831 cat >>confdefs.h
<<_ACEOF
33832 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33835 cat >>confdefs.h
<<\_ACEOF
33836 #define HAVE_SHL_LOAD 1
33843 echo "$as_me:$LINENO: checking for dld in -lshl_load" >&5
33844 echo $ECHO_N "checking for dld in -lshl_load... $ECHO_C" >&6
33845 if test "${ac_cv_lib_shl_load_dld+set}" = set; then
33846 echo $ECHO_N "(cached) $ECHO_C" >&6
33848 ac_check_lib_save_LIBS
=$LIBS
33849 LIBS
="-lshl_load $LIBS"
33850 cat >conftest.
$ac_ext <<_ACEOF
33853 cat confdefs.h
>>conftest.
$ac_ext
33854 cat >>conftest.
$ac_ext <<_ACEOF
33855 /* end confdefs.h. */
33857 /* Override any gcc2 internal prototype to avoid an error. */
33861 /* We use char because int might match the return type of a gcc2
33862 builtin and then its argument prototype would still apply. */
33872 rm -f conftest.
$ac_objext conftest
$ac_exeext
33873 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33874 (eval $ac_link) 2>conftest.er1
33876 grep -v '^ *+' conftest.er1
>conftest.err
33878 cat conftest.err
>&5
33879 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33880 (exit $ac_status); } &&
33881 { ac_try
='test -z "$ac_c_werror_flag"
33882 || test ! -s conftest.err'
33883 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33884 (eval $ac_try) 2>&5
33886 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33887 (exit $ac_status); }; } &&
33888 { ac_try
='test -s conftest$ac_exeext'
33889 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33890 (eval $ac_try) 2>&5
33892 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33893 (exit $ac_status); }; }; then
33894 ac_cv_lib_shl_load_dld
=yes
33896 echo "$as_me: failed program was:" >&5
33897 sed 's/^/| /' conftest.
$ac_ext >&5
33899 ac_cv_lib_shl_load_dld
=no
33901 rm -f conftest.err conftest.
$ac_objext \
33902 conftest
$ac_exeext conftest.
$ac_ext
33903 LIBS
=$ac_check_lib_save_LIBS
33905 echo "$as_me:$LINENO: result: $ac_cv_lib_shl_load_dld" >&5
33906 echo "${ECHO_T}$ac_cv_lib_shl_load_dld" >&6
33907 if test $ac_cv_lib_shl_load_dld = yes; then
33910 DL_LINK
=" -ldld$DL_LINK"
33926 if test "$HAVE_DL_FUNCS" = 1; then
33928 for ac_func
in dlerror
33930 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33931 echo "$as_me:$LINENO: checking for $ac_func" >&5
33932 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33933 if eval "test \"\${$as_ac_var+set}\" = set"; then
33934 echo $ECHO_N "(cached) $ECHO_C" >&6
33936 cat >conftest.
$ac_ext <<_ACEOF
33939 cat confdefs.h
>>conftest.
$ac_ext
33940 cat >>conftest.
$ac_ext <<_ACEOF
33941 /* end confdefs.h. */
33942 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
33943 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33944 #define $ac_func innocuous_$ac_func
33946 /* System header to define __stub macros and hopefully few prototypes,
33947 which can conflict with char $ac_func (); below.
33948 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33949 <limits.h> exists even on freestanding compilers. */
33952 # include <limits.h>
33954 # include <assert.h>
33959 /* Override any gcc2 internal prototype to avoid an error. */
33964 /* We use char because int might match the return type of a gcc2
33965 builtin and then its argument prototype would still apply. */
33967 /* The GNU C library defines this for functions which it implements
33968 to always fail with ENOSYS. Some functions are actually named
33969 something starting with __ and the normal name is an alias. */
33970 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33973 char (*f) () = $ac_func;
33982 return f != $ac_func;
33987 rm -f conftest.
$ac_objext conftest
$ac_exeext
33988 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33989 (eval $ac_link) 2>conftest.er1
33991 grep -v '^ *+' conftest.er1
>conftest.err
33993 cat conftest.err
>&5
33994 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33995 (exit $ac_status); } &&
33996 { ac_try
='test -z "$ac_c_werror_flag"
33997 || test ! -s conftest.err'
33998 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33999 (eval $ac_try) 2>&5
34001 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34002 (exit $ac_status); }; } &&
34003 { ac_try
='test -s conftest$ac_exeext'
34004 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34005 (eval $ac_try) 2>&5
34007 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34008 (exit $ac_status); }; }; then
34009 eval "$as_ac_var=yes"
34011 echo "$as_me: failed program was:" >&5
34012 sed 's/^/| /' conftest.
$ac_ext >&5
34014 eval "$as_ac_var=no"
34016 rm -f conftest.err conftest.
$ac_objext \
34017 conftest
$ac_exeext conftest.
$ac_ext
34019 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
34020 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
34021 if test `eval echo '${'$as_ac_var'}'` = yes; then
34022 cat >>confdefs.h
<<_ACEOF
34023 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34025 cat >>confdefs.h
<<\_ACEOF
34026 #define HAVE_DLERROR 1
34031 echo "$as_me:$LINENO: checking for dlerror in -ldl" >&5
34032 echo $ECHO_N "checking for dlerror in -ldl... $ECHO_C" >&6
34033 if test "${ac_cv_lib_dl_dlerror+set}" = set; then
34034 echo $ECHO_N "(cached) $ECHO_C" >&6
34036 ac_check_lib_save_LIBS
=$LIBS
34038 cat >conftest.
$ac_ext <<_ACEOF
34041 cat confdefs.h
>>conftest.
$ac_ext
34042 cat >>conftest.
$ac_ext <<_ACEOF
34043 /* end confdefs.h. */
34045 /* Override any gcc2 internal prototype to avoid an error. */
34049 /* We use char because int might match the return type of a gcc2
34050 builtin and then its argument prototype would still apply. */
34060 rm -f conftest.
$ac_objext conftest
$ac_exeext
34061 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34062 (eval $ac_link) 2>conftest.er1
34064 grep -v '^ *+' conftest.er1
>conftest.err
34066 cat conftest.err
>&5
34067 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34068 (exit $ac_status); } &&
34069 { ac_try
='test -z "$ac_c_werror_flag"
34070 || test ! -s conftest.err'
34071 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34072 (eval $ac_try) 2>&5
34074 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34075 (exit $ac_status); }; } &&
34076 { ac_try
='test -s conftest$ac_exeext'
34077 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34078 (eval $ac_try) 2>&5
34080 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34081 (exit $ac_status); }; }; then
34082 ac_cv_lib_dl_dlerror
=yes
34084 echo "$as_me: failed program was:" >&5
34085 sed 's/^/| /' conftest.
$ac_ext >&5
34087 ac_cv_lib_dl_dlerror
=no
34089 rm -f conftest.err conftest.
$ac_objext \
34090 conftest
$ac_exeext conftest.
$ac_ext
34091 LIBS
=$ac_check_lib_save_LIBS
34093 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlerror" >&5
34094 echo "${ECHO_T}$ac_cv_lib_dl_dlerror" >&6
34095 if test $ac_cv_lib_dl_dlerror = yes; then
34096 cat >>confdefs.h
<<\_ACEOF
34097 #define HAVE_DLERROR 1
34110 if test "$HAVE_DL_FUNCS" = 0; then
34111 if test "$HAVE_SHL_FUNCS" = 0; then
34112 if test "$USE_UNIX" = 1; then
34113 { echo "$as_me:$LINENO: WARNING: Missing dynamic loading support, several features will be disabled" >&5
34114 echo "$as_me: WARNING: Missing dynamic loading support, several features will be disabled" >&2;}
34115 wxUSE_DYNAMIC_LOADER
=no
34116 wxUSE_DYNLIB_CLASS
=no
34118 { echo "$as_me:$LINENO: WARNING: Assuming wxLibrary class works on this platform" >&5
34119 echo "$as_me: WARNING: Assuming wxLibrary class works on this platform" >&2;}
34126 if test "$wxUSE_DYNAMIC_LOADER" = "yes" ; then
34127 cat >>confdefs.h
<<\_ACEOF
34128 #define wxUSE_DYNAMIC_LOADER 1
34132 if test "$wxUSE_DYNLIB_CLASS" = "yes" ; then
34133 cat >>confdefs.h
<<\_ACEOF
34134 #define wxUSE_DYNLIB_CLASS 1
34141 if test "$wxUSE_PLUGINS" = "yes" ; then
34142 if test "$wxUSE_SHARED" = "no" ; then
34143 { echo "$as_me:$LINENO: WARNING: plugins supported only in shared build, disabling" >&5
34144 echo "$as_me: WARNING: plugins supported only in shared build, disabling" >&2;}
34147 if test "$wxUSE_MONOLITHIC" = "yes" ; then
34148 { echo "$as_me:$LINENO: WARNING: plugins not supported monolithic build, disabling" >&5
34149 echo "$as_me: WARNING: plugins not supported monolithic build, disabling" >&2;}
34152 if test "$wxUSE_DYNLIB_CLASS" = "no" ; then
34153 { echo "$as_me:$LINENO: WARNING: plugins require wxDynamicLibrary, disabling" >&5
34154 echo "$as_me: WARNING: plugins require wxDynamicLibrary, disabling" >&2;}
34157 if test "$wxUSE_PLUGINS" = "yes" ; then
34158 cat >>confdefs.h
<<\_ACEOF
34159 #define wxUSE_PLUGINS 1
34166 if test "$wxUSE_STL" = "yes"; then
34167 cat >>confdefs.h
<<\_ACEOF
34168 #define wxUSE_STL 1
34173 if test "$wxUSE_APPLE_IEEE" = "yes"; then
34174 cat >>confdefs.h
<<\_ACEOF
34175 #define wxUSE_APPLE_IEEE 1
34180 if test "$wxUSE_TIMER" = "yes"; then
34181 cat >>confdefs.h
<<\_ACEOF
34182 #define wxUSE_TIMER 1
34188 if test "$wxUSE_SOUND" = "yes"; then
34189 if test "$USE_UNIX" = "1" ; then
34191 for ac_header
in sys
/soundcard.h
34193 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
34194 if eval "test \"\${$as_ac_Header+set}\" = set"; then
34195 echo "$as_me:$LINENO: checking for $ac_header" >&5
34196 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
34197 if eval "test \"\${$as_ac_Header+set}\" = set"; then
34198 echo $ECHO_N "(cached) $ECHO_C" >&6
34200 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
34201 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
34203 # Is the header compilable?
34204 echo "$as_me:$LINENO: checking $ac_header usability" >&5
34205 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
34206 cat >conftest.
$ac_ext <<_ACEOF
34209 cat confdefs.h
>>conftest.
$ac_ext
34210 cat >>conftest.
$ac_ext <<_ACEOF
34211 /* end confdefs.h. */
34212 $ac_includes_default
34213 #include <$ac_header>
34215 rm -f conftest.
$ac_objext
34216 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34217 (eval $ac_compile) 2>conftest.er1
34219 grep -v '^ *+' conftest.er1
>conftest.err
34221 cat conftest.err
>&5
34222 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34223 (exit $ac_status); } &&
34224 { ac_try
='test -z "$ac_c_werror_flag"
34225 || test ! -s conftest.err'
34226 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34227 (eval $ac_try) 2>&5
34229 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34230 (exit $ac_status); }; } &&
34231 { ac_try
='test -s conftest.$ac_objext'
34232 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34233 (eval $ac_try) 2>&5
34235 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34236 (exit $ac_status); }; }; then
34237 ac_header_compiler
=yes
34239 echo "$as_me: failed program was:" >&5
34240 sed 's/^/| /' conftest.
$ac_ext >&5
34242 ac_header_compiler
=no
34244 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
34245 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
34246 echo "${ECHO_T}$ac_header_compiler" >&6
34248 # Is the header present?
34249 echo "$as_me:$LINENO: checking $ac_header presence" >&5
34250 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
34251 cat >conftest.
$ac_ext <<_ACEOF
34254 cat confdefs.h
>>conftest.
$ac_ext
34255 cat >>conftest.
$ac_ext <<_ACEOF
34256 /* end confdefs.h. */
34257 #include <$ac_header>
34259 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
34260 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
34262 grep -v '^ *+' conftest.er1
>conftest.err
34264 cat conftest.err
>&5
34265 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34266 (exit $ac_status); } >/dev
/null
; then
34267 if test -s conftest.err
; then
34268 ac_cpp_err
=$ac_c_preproc_warn_flag
34269 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
34276 if test -z "$ac_cpp_err"; then
34277 ac_header_preproc
=yes
34279 echo "$as_me: failed program was:" >&5
34280 sed 's/^/| /' conftest.
$ac_ext >&5
34282 ac_header_preproc
=no
34284 rm -f conftest.err conftest.
$ac_ext
34285 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
34286 echo "${ECHO_T}$ac_header_preproc" >&6
34288 # So? What about this header?
34289 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
34291 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
34292 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
34293 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
34294 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
34295 ac_header_preproc
=yes
34298 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
34299 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
34300 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
34301 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
34302 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
34303 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
34304 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
34305 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
34306 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
34307 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
34308 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
34309 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
34312 ## ----------------------------------------- ##
34313 ## Report this to wx-dev@lists.wxwindows.org ##
34314 ## ----------------------------------------- ##
34317 sed "s/^/$as_me: WARNING: /" >&2
34320 echo "$as_me:$LINENO: checking for $ac_header" >&5
34321 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
34322 if eval "test \"\${$as_ac_Header+set}\" = set"; then
34323 echo $ECHO_N "(cached) $ECHO_C" >&6
34325 eval "$as_ac_Header=\$ac_header_preproc"
34327 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
34328 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
34331 if test `eval echo '${'$as_ac_Header'}'` = yes; then
34332 cat >>confdefs.h
<<_ACEOF
34333 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
34341 if test "$wxUSE_LIBSDL" != "no"; then
34343 # Check whether --with-sdl-prefix or --without-sdl-prefix was given.
34344 if test "${with_sdl_prefix+set}" = set; then
34345 withval
="$with_sdl_prefix"
34346 sdl_prefix
="$withval"
34351 # Check whether --with-sdl-exec-prefix or --without-sdl-exec-prefix was given.
34352 if test "${with_sdl_exec_prefix+set}" = set; then
34353 withval
="$with_sdl_exec_prefix"
34354 sdl_exec_prefix
="$withval"
34358 # Check whether --enable-sdltest or --disable-sdltest was given.
34359 if test "${enable_sdltest+set}" = set; then
34360 enableval
="$enable_sdltest"
34366 if test x
$sdl_exec_prefix != x
; then
34367 sdl_args
="$sdl_args --exec-prefix=$sdl_exec_prefix"
34368 if test x
${SDL_CONFIG+set} != xset
; then
34369 SDL_CONFIG
=$sdl_exec_prefix/bin
/sdl
-config
34372 if test x
$sdl_prefix != x
; then
34373 sdl_args
="$sdl_args --prefix=$sdl_prefix"
34374 if test x
${SDL_CONFIG+set} != xset
; then
34375 SDL_CONFIG
=$sdl_prefix/bin
/sdl
-config
34380 PATH
="$prefix/bin:$prefix/usr/bin:$PATH"
34381 # Extract the first word of "sdl-config", so it can be a program name with args.
34382 set dummy sdl
-config; ac_word
=$2
34383 echo "$as_me:$LINENO: checking for $ac_word" >&5
34384 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
34385 if test "${ac_cv_path_SDL_CONFIG+set}" = set; then
34386 echo $ECHO_N "(cached) $ECHO_C" >&6
34388 case $SDL_CONFIG in
34390 ac_cv_path_SDL_CONFIG
="$SDL_CONFIG" # Let the user override the test with a path.
34393 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
34394 for as_dir
in $PATH
34397 test -z "$as_dir" && as_dir
=.
34398 for ac_exec_ext
in '' $ac_executable_extensions; do
34399 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
34400 ac_cv_path_SDL_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
34401 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
34407 test -z "$ac_cv_path_SDL_CONFIG" && ac_cv_path_SDL_CONFIG
="no"
34411 SDL_CONFIG
=$ac_cv_path_SDL_CONFIG
34413 if test -n "$SDL_CONFIG"; then
34414 echo "$as_me:$LINENO: result: $SDL_CONFIG" >&5
34415 echo "${ECHO_T}$SDL_CONFIG" >&6
34417 echo "$as_me:$LINENO: result: no" >&5
34418 echo "${ECHO_T}no" >&6
34421 min_sdl_version
=1.2.0
34422 echo "$as_me:$LINENO: checking for SDL - version >= $min_sdl_version" >&5
34423 echo $ECHO_N "checking for SDL - version >= $min_sdl_version... $ECHO_C" >&6
34425 if test "$SDL_CONFIG" = "no" ; then
34428 SDL_CFLAGS
=`$SDL_CONFIG $sdlconf_args --cflags`
34429 SDL_LIBS
=`$SDL_CONFIG $sdlconf_args --libs`
34431 sdl_major_version
=`$SDL_CONFIG $sdl_args --version | \
34432 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
34433 sdl_minor_version
=`$SDL_CONFIG $sdl_args --version | \
34434 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
34435 sdl_micro_version
=`$SDL_CONFIG $sdl_config_args --version | \
34436 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
34437 if test "x$enable_sdltest" = "xyes" ; then
34438 ac_save_CFLAGS
="$CFLAGS"
34439 ac_save_LIBS
="$LIBS"
34440 CFLAGS
="$CFLAGS $SDL_CFLAGS"
34441 LIBS
="$LIBS $SDL_LIBS"
34443 if test "$cross_compiling" = yes; then
34444 echo $ac_n "cross compiling; assumed OK... $ac_c"
34446 cat >conftest.
$ac_ext <<_ACEOF
34449 cat confdefs.h
>>conftest.
$ac_ext
34450 cat >>conftest.
$ac_ext <<_ACEOF
34451 /* end confdefs.h. */
34454 #include <stdlib.h>
34455 #include <string.h>
34459 my_strdup (char *str)
34465 new_str = (char *)malloc ((strlen (str) + 1) * sizeof(char));
34466 strcpy (new_str, str);
34474 int main (int argc, char *argv[])
34476 int major, minor, micro;
34479 /* This hangs on some systems (?)
34480 system ("touch conf.sdltest");
34482 { FILE *fp = fopen("conf.sdltest", "a"); if ( fp ) fclose(fp); }
34484 /* HP/UX 9 (%@#!) writes to sscanf strings */
34485 tmp_version = my_strdup("$min_sdl_version");
34486 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
34487 printf("%s, bad version string\n", "$min_sdl_version");
34491 if (($sdl_major_version > major) ||
34492 (($sdl_major_version == major) && ($sdl_minor_version > minor)) ||
34493 (($sdl_major_version == major) && ($sdl_minor_version == minor) && ($sdl_micro_version >= micro)))
34499 printf("\n*** 'sdl-config --version' returned %d.%d.%d, but the minimum version\n", $sdl_major_version, $sdl_minor_version, $sdl_micro_version);
34500 printf("*** of SDL required is %d.%d.%d. If sdl-config is correct, then it is\n", major, minor, micro);
34501 printf("*** best to upgrade to the required version.\n");
34502 printf("*** If sdl-config was wrong, set the environment variable SDL_CONFIG\n");
34503 printf("*** to point to the correct copy of sdl-config, and remove the file\n");
34504 printf("*** config.cache before re-running configure\n");
34511 rm -f conftest
$ac_exeext
34512 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34513 (eval $ac_link) 2>&5
34515 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34516 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
34517 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34518 (eval $ac_try) 2>&5
34520 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34521 (exit $ac_status); }; }; then
34524 echo "$as_me: program exited with status $ac_status" >&5
34525 echo "$as_me: failed program was:" >&5
34526 sed 's/^/| /' conftest.
$ac_ext >&5
34528 ( exit $ac_status )
34531 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
34533 CFLAGS
="$ac_save_CFLAGS"
34534 LIBS
="$ac_save_LIBS"
34537 if test "x$no_sdl" = x
; then
34538 echo "$as_me:$LINENO: result: yes" >&5
34539 echo "${ECHO_T}yes" >&6
34541 EXTRALIBS_SDL
="$SDL_LIBS"
34542 CXXFLAGS
="$CXXFLAGS $SDL_CFLAGS"
34543 cat >>confdefs.h
<<\_ACEOF
34544 #define wxUSE_LIBSDL 1
34549 echo "$as_me:$LINENO: result: no" >&5
34550 echo "${ECHO_T}no" >&6
34551 if test "$SDL_CONFIG" = "no" ; then
34552 echo "*** The sdl-config script installed by SDL could not be found"
34553 echo "*** If SDL was installed in PREFIX, make sure PREFIX/bin is in"
34554 echo "*** your path, or set the SDL_CONFIG environment variable to the"
34555 echo "*** full path to sdl-config."
34557 if test -f conf.sdltest
; then
34560 echo "*** Could not run SDL test program, checking why..."
34561 CFLAGS
="$CFLAGS $SDL_CFLAGS"
34562 LIBS
="$LIBS $SDL_LIBS"
34563 cat >conftest.
$ac_ext <<_ACEOF
34566 cat confdefs.h
>>conftest.
$ac_ext
34567 cat >>conftest.
$ac_ext <<_ACEOF
34568 /* end confdefs.h. */
34573 int main(int argc, char *argv[])
34576 #define main K_and_R_C_main
34586 rm -f conftest.
$ac_objext conftest
$ac_exeext
34587 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34588 (eval $ac_link) 2>conftest.er1
34590 grep -v '^ *+' conftest.er1
>conftest.err
34592 cat conftest.err
>&5
34593 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34594 (exit $ac_status); } &&
34595 { ac_try
='test -z "$ac_c_werror_flag"
34596 || test ! -s conftest.err'
34597 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34598 (eval $ac_try) 2>&5
34600 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34601 (exit $ac_status); }; } &&
34602 { ac_try
='test -s conftest$ac_exeext'
34603 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34604 (eval $ac_try) 2>&5
34606 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34607 (exit $ac_status); }; }; then
34608 echo "*** The test program compiled, but did not run. This usually means"
34609 echo "*** that the run-time linker is not finding SDL or finding the wrong"
34610 echo "*** version of SDL. If it is not finding SDL, you'll need to set your"
34611 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
34612 echo "*** to the installed location Also, make sure you have run ldconfig if that"
34613 echo "*** is required on your system"
34615 echo "*** If you have an old version installed, it is best to remove it, although"
34616 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
34618 echo "$as_me: failed program was:" >&5
34619 sed 's/^/| /' conftest.
$ac_ext >&5
34621 echo "*** The test program failed to compile or link. See the file config.log for the"
34622 echo "*** exact error that occured. This usually means SDL was incorrectly installed"
34623 echo "*** or that you have moved SDL since it was installed. In the latter case, you"
34624 echo "*** may want to edit the sdl-config script: $SDL_CONFIG"
34626 rm -f conftest.err conftest.
$ac_objext \
34627 conftest
$ac_exeext conftest.
$ac_ext
34628 CFLAGS
="$ac_save_CFLAGS"
34629 LIBS
="$ac_save_LIBS"
34640 if test "$wxUSE_LIBSDL" = "yes" -a "$wxUSE_PLUGINS" = "yes" ; then
34646 cat >>confdefs.h
<<\_ACEOF
34647 #define wxUSE_SOUND 1
34650 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS sound"
34653 if test "$wxUSE_CMDLINE_PARSER" = "yes"; then
34654 cat >>confdefs.h
<<\_ACEOF
34655 #define wxUSE_CMDLINE_PARSER 1
34660 if test "$wxUSE_STOPWATCH" = "yes"; then
34661 cat >>confdefs.h
<<\_ACEOF
34662 #define wxUSE_STOPWATCH 1
34667 if test "$wxUSE_DATETIME" = "yes"; then
34668 cat >>confdefs.h
<<\_ACEOF
34669 #define wxUSE_DATETIME 1
34674 if test "$wxUSE_FILE" = "yes"; then
34675 cat >>confdefs.h
<<\_ACEOF
34676 #define wxUSE_FILE 1
34681 if test "$wxUSE_FFILE" = "yes"; then
34682 cat >>confdefs.h
<<\_ACEOF
34683 #define wxUSE_FFILE 1
34688 if test "$wxUSE_FILESYSTEM" = "yes"; then
34689 cat >>confdefs.h
<<\_ACEOF
34690 #define wxUSE_FILESYSTEM 1
34695 if test "$wxUSE_FS_ZIP" = "yes"; then
34696 cat >>confdefs.h
<<\_ACEOF
34697 #define wxUSE_FS_ZIP 1
34702 if test "$wxUSE_ZIPSTREAM" = "yes"; then
34703 cat >>confdefs.h
<<\_ACEOF
34704 #define wxUSE_ZIPSTREAM 1
34709 if test "$wxUSE_GZSTREAM" = "yes"; then
34710 cat >>confdefs.h
<<\_ACEOF
34711 #define wxUSE_GZSTREAM 1
34716 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
34717 cat >>confdefs.h
<<\_ACEOF
34718 #define wxUSE_ON_FATAL_EXCEPTION 1
34723 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
34724 cat >>confdefs.h
<<\_ACEOF
34725 #define wxUSE_SNGLINST_CHECKER 1
34730 if test "$wxUSE_BUSYINFO" = "yes"; then
34731 cat >>confdefs.h
<<\_ACEOF
34732 #define wxUSE_BUSYINFO 1
34737 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
34738 cat >>confdefs.h
<<\_ACEOF
34739 #define wxUSE_STD_IOSTREAM 1
34744 if test "$wxUSE_TEXTBUFFER" = "yes"; then
34745 cat >>confdefs.h
<<\_ACEOF
34746 #define wxUSE_TEXTBUFFER 1
34751 if test "$wxUSE_TEXTFILE" = "yes"; then
34752 if test "$wxUSE_FILE" != "yes" -o "$wxUSE_TEXTBUFFER" != "yes" ; then
34753 { echo "$as_me:$LINENO: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&5
34754 echo "$as_me: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&2;}
34756 cat >>confdefs.h
<<\_ACEOF
34757 #define wxUSE_TEXTFILE 1
34763 if test "$wxUSE_CONFIG" = "yes" ; then
34764 if test "$wxUSE_TEXTFILE" != "yes"; then
34765 { echo "$as_me:$LINENO: WARNING: wxConfig requires wxTextFile... disabled" >&5
34766 echo "$as_me: WARNING: wxConfig requires wxTextFile... disabled" >&2;}
34768 cat >>confdefs.h
<<\_ACEOF
34769 #define wxUSE_CONFIG 1
34772 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS config"
34776 if test "$wxUSE_INTL" = "yes" ; then
34777 if test "$wxUSE_FILE" != "yes"; then
34778 { echo "$as_me:$LINENO: WARNING: I18n code requires wxFile... disabled" >&5
34779 echo "$as_me: WARNING: I18n code requires wxFile... disabled" >&2;}
34781 cat >>confdefs.h
<<\_ACEOF
34782 #define wxUSE_INTL 1
34785 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS internat"
34786 GUIDIST
="$GUIDIST INTL_DIST"
34790 if test "$wxUSE_LOG" = "yes"; then
34791 cat >>confdefs.h
<<\_ACEOF
34792 #define wxUSE_LOG 1
34796 if test "$wxUSE_LOGGUI" = "yes"; then
34797 cat >>confdefs.h
<<\_ACEOF
34798 #define wxUSE_LOGGUI 1
34803 if test "$wxUSE_LOGWINDOW" = "yes"; then
34804 cat >>confdefs.h
<<\_ACEOF
34805 #define wxUSE_LOGWINDOW 1
34810 if test "$wxUSE_LOGDIALOG" = "yes"; then
34811 cat >>confdefs.h
<<\_ACEOF
34812 #define wxUSE_LOG_DIALOG 1
34818 if test "$wxUSE_LONGLONG" = "yes"; then
34819 cat >>confdefs.h
<<\_ACEOF
34820 #define wxUSE_LONGLONG 1
34825 if test "$wxUSE_GEOMETRY" = "yes"; then
34826 cat >>confdefs.h
<<\_ACEOF
34827 #define wxUSE_GEOMETRY 1
34832 if test "$wxUSE_DIALUP_MANAGER" = "yes" ; then
34833 cat >>confdefs.h
<<\_ACEOF
34834 #define wxUSE_DIALUP_MANAGER 1
34837 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS dialup"
34840 if test "$wxUSE_STREAMS" = "yes" ; then
34841 cat >>confdefs.h
<<\_ACEOF
34842 #define wxUSE_STREAMS 1
34848 if test "$wxUSE_DATETIME" = "yes"; then
34850 for ac_func
in strptime
34852 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34853 echo "$as_me:$LINENO: checking for $ac_func" >&5
34854 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
34855 if eval "test \"\${$as_ac_var+set}\" = set"; then
34856 echo $ECHO_N "(cached) $ECHO_C" >&6
34858 cat >conftest.
$ac_ext <<_ACEOF
34861 cat confdefs.h
>>conftest.
$ac_ext
34862 cat >>conftest.
$ac_ext <<_ACEOF
34863 /* end confdefs.h. */
34864 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34865 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34866 #define $ac_func innocuous_$ac_func
34868 /* System header to define __stub macros and hopefully few prototypes,
34869 which can conflict with char $ac_func (); below.
34870 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34871 <limits.h> exists even on freestanding compilers. */
34874 # include <limits.h>
34876 # include <assert.h>
34881 /* Override any gcc2 internal prototype to avoid an error. */
34886 /* We use char because int might match the return type of a gcc2
34887 builtin and then its argument prototype would still apply. */
34889 /* The GNU C library defines this for functions which it implements
34890 to always fail with ENOSYS. Some functions are actually named
34891 something starting with __ and the normal name is an alias. */
34892 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
34895 char (*f) () = $ac_func;
34904 return f != $ac_func;
34909 rm -f conftest.
$ac_objext conftest
$ac_exeext
34910 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34911 (eval $ac_link) 2>conftest.er1
34913 grep -v '^ *+' conftest.er1
>conftest.err
34915 cat conftest.err
>&5
34916 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34917 (exit $ac_status); } &&
34918 { ac_try
='test -z "$ac_c_werror_flag"
34919 || test ! -s conftest.err'
34920 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34921 (eval $ac_try) 2>&5
34923 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34924 (exit $ac_status); }; } &&
34925 { ac_try
='test -s conftest$ac_exeext'
34926 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34927 (eval $ac_try) 2>&5
34929 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34930 (exit $ac_status); }; }; then
34931 eval "$as_ac_var=yes"
34933 echo "$as_me: failed program was:" >&5
34934 sed 's/^/| /' conftest.
$ac_ext >&5
34936 eval "$as_ac_var=no"
34938 rm -f conftest.err conftest.
$ac_objext \
34939 conftest
$ac_exeext conftest.
$ac_ext
34941 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
34942 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
34943 if test `eval echo '${'$as_ac_var'}'` = yes; then
34944 cat >>confdefs.h
<<_ACEOF
34945 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34952 echo "$as_me:$LINENO: checking for timezone variable in <time.h>" >&5
34953 echo $ECHO_N "checking for timezone variable in <time.h>... $ECHO_C" >&6
34954 if test "${wx_cv_var_timezone+set}" = set; then
34955 echo $ECHO_N "(cached) $ECHO_C" >&6
34958 cat >conftest.
$ac_ext <<_ACEOF
34961 cat confdefs.h
>>conftest.
$ac_ext
34962 cat >>conftest.
$ac_ext <<_ACEOF
34963 /* end confdefs.h. */
34978 rm -f conftest.
$ac_objext
34979 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34980 (eval $ac_compile) 2>conftest.er1
34982 grep -v '^ *+' conftest.er1
>conftest.err
34984 cat conftest.err
>&5
34985 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34986 (exit $ac_status); } &&
34987 { ac_try
='test -z "$ac_c_werror_flag"
34988 || test ! -s conftest.err'
34989 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34990 (eval $ac_try) 2>&5
34992 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34993 (exit $ac_status); }; } &&
34994 { ac_try
='test -s conftest.$ac_objext'
34995 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34996 (eval $ac_try) 2>&5
34998 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34999 (exit $ac_status); }; }; then
35001 wx_cv_var_timezone
=timezone
35004 echo "$as_me: failed program was:" >&5
35005 sed 's/^/| /' conftest.
$ac_ext >&5
35008 cat >conftest.
$ac_ext <<_ACEOF
35011 cat confdefs.h
>>conftest.
$ac_ext
35012 cat >>conftest.
$ac_ext <<_ACEOF
35013 /* end confdefs.h. */
35028 rm -f conftest.
$ac_objext
35029 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35030 (eval $ac_compile) 2>conftest.er1
35032 grep -v '^ *+' conftest.er1
>conftest.err
35034 cat conftest.err
>&5
35035 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35036 (exit $ac_status); } &&
35037 { ac_try
='test -z "$ac_c_werror_flag"
35038 || test ! -s conftest.err'
35039 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35040 (eval $ac_try) 2>&5
35042 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35043 (exit $ac_status); }; } &&
35044 { ac_try
='test -s conftest.$ac_objext'
35045 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35046 (eval $ac_try) 2>&5
35048 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35049 (exit $ac_status); }; }; then
35051 wx_cv_var_timezone
=_timezone
35054 echo "$as_me: failed program was:" >&5
35055 sed 's/^/| /' conftest.
$ac_ext >&5
35058 cat >conftest.
$ac_ext <<_ACEOF
35061 cat confdefs.h
>>conftest.
$ac_ext
35062 cat >>conftest.
$ac_ext <<_ACEOF
35063 /* end confdefs.h. */
35078 rm -f conftest.
$ac_objext
35079 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35080 (eval $ac_compile) 2>conftest.er1
35082 grep -v '^ *+' conftest.er1
>conftest.err
35084 cat conftest.err
>&5
35085 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35086 (exit $ac_status); } &&
35087 { ac_try
='test -z "$ac_c_werror_flag"
35088 || test ! -s conftest.err'
35089 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35090 (eval $ac_try) 2>&5
35092 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35093 (exit $ac_status); }; } &&
35094 { ac_try
='test -s conftest.$ac_objext'
35095 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35096 (eval $ac_try) 2>&5
35098 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35099 (exit $ac_status); }; }; then
35101 wx_cv_var_timezone
=__timezone
35104 echo "$as_me: failed program was:" >&5
35105 sed 's/^/| /' conftest.
$ac_ext >&5
35108 if test "$USE_DOS" = 0 ; then
35109 { echo "$as_me:$LINENO: WARNING: no timezone variable" >&5
35110 echo "$as_me: WARNING: no timezone variable" >&2;}
35115 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
35119 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
35123 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
35127 echo "$as_me:$LINENO: result: $wx_cv_var_timezone" >&5
35128 echo "${ECHO_T}$wx_cv_var_timezone" >&6
35130 if test "x$wx_cv_var_timezone" != x
; then
35131 cat >>confdefs.h
<<_ACEOF
35132 #define WX_TIMEZONE $wx_cv_var_timezone
35138 for ac_func
in localtime
35140 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35141 echo "$as_me:$LINENO: checking for $ac_func" >&5
35142 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
35143 if eval "test \"\${$as_ac_var+set}\" = set"; then
35144 echo $ECHO_N "(cached) $ECHO_C" >&6
35146 cat >conftest.
$ac_ext <<_ACEOF
35149 cat confdefs.h
>>conftest.
$ac_ext
35150 cat >>conftest.
$ac_ext <<_ACEOF
35151 /* end confdefs.h. */
35152 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35153 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35154 #define $ac_func innocuous_$ac_func
35156 /* System header to define __stub macros and hopefully few prototypes,
35157 which can conflict with char $ac_func (); below.
35158 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35159 <limits.h> exists even on freestanding compilers. */
35162 # include <limits.h>
35164 # include <assert.h>
35169 /* Override any gcc2 internal prototype to avoid an error. */
35174 /* We use char because int might match the return type of a gcc2
35175 builtin and then its argument prototype would still apply. */
35177 /* The GNU C library defines this for functions which it implements
35178 to always fail with ENOSYS. Some functions are actually named
35179 something starting with __ and the normal name is an alias. */
35180 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
35183 char (*f) () = $ac_func;
35192 return f != $ac_func;
35197 rm -f conftest.
$ac_objext conftest
$ac_exeext
35198 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35199 (eval $ac_link) 2>conftest.er1
35201 grep -v '^ *+' conftest.er1
>conftest.err
35203 cat conftest.err
>&5
35204 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35205 (exit $ac_status); } &&
35206 { ac_try
='test -z "$ac_c_werror_flag"
35207 || 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_exeext'
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 eval "$as_ac_var=yes"
35221 echo "$as_me: failed program was:" >&5
35222 sed 's/^/| /' conftest.
$ac_ext >&5
35224 eval "$as_ac_var=no"
35226 rm -f conftest.err conftest.
$ac_objext \
35227 conftest
$ac_exeext conftest.
$ac_ext
35229 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
35230 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
35231 if test `eval echo '${'$as_ac_var'}'` = yes; then
35232 cat >>confdefs.h
<<_ACEOF
35233 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35240 if test "$ac_cv_func_localtime" = "yes"; then
35241 echo "$as_me:$LINENO: checking for tm_gmtoff in struct tm" >&5
35242 echo $ECHO_N "checking for tm_gmtoff in struct tm... $ECHO_C" >&6
35243 if test "${wx_cv_struct_tm_has_gmtoff+set}" = set; then
35244 echo $ECHO_N "(cached) $ECHO_C" >&6
35247 cat >conftest.
$ac_ext <<_ACEOF
35250 cat confdefs.h
>>conftest.
$ac_ext
35251 cat >>conftest.
$ac_ext <<_ACEOF
35252 /* end confdefs.h. */
35267 rm -f conftest.
$ac_objext
35268 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35269 (eval $ac_compile) 2>conftest.er1
35271 grep -v '^ *+' conftest.er1
>conftest.err
35273 cat conftest.err
>&5
35274 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35275 (exit $ac_status); } &&
35276 { ac_try
='test -z "$ac_c_werror_flag"
35277 || test ! -s conftest.err'
35278 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35279 (eval $ac_try) 2>&5
35281 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35282 (exit $ac_status); }; } &&
35283 { ac_try
='test -s conftest.$ac_objext'
35284 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35285 (eval $ac_try) 2>&5
35287 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35288 (exit $ac_status); }; }; then
35290 wx_cv_struct_tm_has_gmtoff
=yes
35293 echo "$as_me: failed program was:" >&5
35294 sed 's/^/| /' conftest.
$ac_ext >&5
35296 wx_cv_struct_tm_has_gmtoff
=no
35299 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
35302 echo "$as_me:$LINENO: result: $wx_cv_struct_tm_has_gmtoff" >&5
35303 echo "${ECHO_T}$wx_cv_struct_tm_has_gmtoff" >&6
35306 if test "$wx_cv_struct_tm_has_gmtoff" = "yes"; then
35307 cat >>confdefs.h
<<\_ACEOF
35308 #define WX_GMTOFF_IN_TM 1
35315 for ac_func
in gettimeofday ftime
35317 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35318 echo "$as_me:$LINENO: checking for $ac_func" >&5
35319 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
35320 if eval "test \"\${$as_ac_var+set}\" = set"; then
35321 echo $ECHO_N "(cached) $ECHO_C" >&6
35323 cat >conftest.
$ac_ext <<_ACEOF
35326 cat confdefs.h
>>conftest.
$ac_ext
35327 cat >>conftest.
$ac_ext <<_ACEOF
35328 /* end confdefs.h. */
35329 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35330 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35331 #define $ac_func innocuous_$ac_func
35333 /* System header to define __stub macros and hopefully few prototypes,
35334 which can conflict with char $ac_func (); below.
35335 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35336 <limits.h> exists even on freestanding compilers. */
35339 # include <limits.h>
35341 # include <assert.h>
35346 /* Override any gcc2 internal prototype to avoid an error. */
35351 /* We use char because int might match the return type of a gcc2
35352 builtin and then its argument prototype would still apply. */
35354 /* The GNU C library defines this for functions which it implements
35355 to always fail with ENOSYS. Some functions are actually named
35356 something starting with __ and the normal name is an alias. */
35357 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
35360 char (*f) () = $ac_func;
35369 return f != $ac_func;
35374 rm -f conftest.
$ac_objext conftest
$ac_exeext
35375 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35376 (eval $ac_link) 2>conftest.er1
35378 grep -v '^ *+' conftest.er1
>conftest.err
35380 cat conftest.err
>&5
35381 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35382 (exit $ac_status); } &&
35383 { ac_try
='test -z "$ac_c_werror_flag"
35384 || test ! -s conftest.err'
35385 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35386 (eval $ac_try) 2>&5
35388 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35389 (exit $ac_status); }; } &&
35390 { ac_try
='test -s conftest$ac_exeext'
35391 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35392 (eval $ac_try) 2>&5
35394 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35395 (exit $ac_status); }; }; then
35396 eval "$as_ac_var=yes"
35398 echo "$as_me: failed program was:" >&5
35399 sed 's/^/| /' conftest.
$ac_ext >&5
35401 eval "$as_ac_var=no"
35403 rm -f conftest.err conftest.
$ac_objext \
35404 conftest
$ac_exeext conftest.
$ac_ext
35406 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
35407 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
35408 if test `eval echo '${'$as_ac_var'}'` = yes; then
35409 cat >>confdefs.h
<<_ACEOF
35410 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35417 if test "$ac_cv_func_gettimeofday" = "yes"; then
35418 echo "$as_me:$LINENO: checking whether gettimeofday takes two arguments" >&5
35419 echo $ECHO_N "checking whether gettimeofday takes two arguments... $ECHO_C" >&6
35420 if test "${wx_cv_func_gettimeofday_has_2_args+set}" = set; then
35421 echo $ECHO_N "(cached) $ECHO_C" >&6
35427 ac_cpp
='$CXXCPP $CPPFLAGS'
35428 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35429 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35430 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
35433 cat >conftest.
$ac_ext <<_ACEOF
35436 cat confdefs.h
>>conftest.
$ac_ext
35437 cat >>conftest.
$ac_ext <<_ACEOF
35438 /* end confdefs.h. */
35440 #include <sys/time.h>
35441 #include <unistd.h>
35448 gettimeofday(&tv, NULL);
35454 rm -f conftest.
$ac_objext
35455 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35456 (eval $ac_compile) 2>conftest.er1
35458 grep -v '^ *+' conftest.er1
>conftest.err
35460 cat conftest.err
>&5
35461 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35462 (exit $ac_status); } &&
35463 { ac_try
='test -z "$ac_cxx_werror_flag"
35464 || test ! -s conftest.err'
35465 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35466 (eval $ac_try) 2>&5
35468 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35469 (exit $ac_status); }; } &&
35470 { ac_try
='test -s conftest.$ac_objext'
35471 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35472 (eval $ac_try) 2>&5
35474 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35475 (exit $ac_status); }; }; then
35476 wx_cv_func_gettimeofday_has_2_args
=yes
35478 echo "$as_me: failed program was:" >&5
35479 sed 's/^/| /' conftest.
$ac_ext >&5
35481 cat >conftest.
$ac_ext <<_ACEOF
35484 cat confdefs.h
>>conftest.
$ac_ext
35485 cat >>conftest.
$ac_ext <<_ACEOF
35486 /* end confdefs.h. */
35488 #include <sys/time.h>
35489 #include <unistd.h>
35502 rm -f conftest.
$ac_objext
35503 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35504 (eval $ac_compile) 2>conftest.er1
35506 grep -v '^ *+' conftest.er1
>conftest.err
35508 cat conftest.err
>&5
35509 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35510 (exit $ac_status); } &&
35511 { ac_try
='test -z "$ac_cxx_werror_flag"
35512 || test ! -s conftest.err'
35513 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35514 (eval $ac_try) 2>&5
35516 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35517 (exit $ac_status); }; } &&
35518 { ac_try
='test -s conftest.$ac_objext'
35519 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35520 (eval $ac_try) 2>&5
35522 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35523 (exit $ac_status); }; }; then
35524 wx_cv_func_gettimeofday_has_2_args
=no
35526 echo "$as_me: failed program was:" >&5
35527 sed 's/^/| /' conftest.
$ac_ext >&5
35530 { echo "$as_me:$LINENO: WARNING: failed to determine number of gettimeofday() arguments" >&5
35531 echo "$as_me: WARNING: failed to determine number of gettimeofday() arguments" >&2;}
35532 wx_cv_func_gettimeofday_has_2_args
=unknown
35536 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
35539 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
35541 ac_cpp
='$CPP $CPPFLAGS'
35542 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35543 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35544 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
35548 echo "$as_me:$LINENO: result: $wx_cv_func_gettimeofday_has_2_args" >&5
35549 echo "${ECHO_T}$wx_cv_func_gettimeofday_has_2_args" >&6
35551 if test "$wx_cv_func_gettimeofday_has_2_args" != "yes"; then
35552 cat >>confdefs.h
<<\_ACEOF
35553 #define WX_GETTIMEOFDAY_NO_TZ 1
35559 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS typetest"
35563 if test "$wxUSE_SOCKETS" = "yes"; then
35564 if test "$wxUSE_MGL" = "1"; then
35565 { echo "$as_me:$LINENO: WARNING: wxSocket not yet supported under MGL... disabled" >&5
35566 echo "$as_me: WARNING: wxSocket not yet supported under MGL... disabled" >&2;}
35571 if test "$wxUSE_SOCKETS" = "yes"; then
35572 if test "$TOOLKIT" != "MSW"; then
35573 echo "$as_me:$LINENO: checking for socket" >&5
35574 echo $ECHO_N "checking for socket... $ECHO_C" >&6
35575 if test "${ac_cv_func_socket+set}" = set; then
35576 echo $ECHO_N "(cached) $ECHO_C" >&6
35578 cat >conftest.
$ac_ext <<_ACEOF
35581 cat confdefs.h
>>conftest.
$ac_ext
35582 cat >>conftest.
$ac_ext <<_ACEOF
35583 /* end confdefs.h. */
35584 /* Define socket to an innocuous variant, in case <limits.h> declares socket.
35585 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35586 #define socket innocuous_socket
35588 /* System header to define __stub macros and hopefully few prototypes,
35589 which can conflict with char socket (); below.
35590 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35591 <limits.h> exists even on freestanding compilers. */
35594 # include <limits.h>
35596 # include <assert.h>
35601 /* Override any gcc2 internal prototype to avoid an error. */
35606 /* We use char because int might match the return type of a gcc2
35607 builtin and then its argument prototype would still apply. */
35609 /* The GNU C library defines this for functions which it implements
35610 to always fail with ENOSYS. Some functions are actually named
35611 something starting with __ and the normal name is an alias. */
35612 #if defined (__stub_socket) || defined (__stub___socket)
35615 char (*f) () = socket;
35624 return f != socket;
35629 rm -f conftest.
$ac_objext conftest
$ac_exeext
35630 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35631 (eval $ac_link) 2>conftest.er1
35633 grep -v '^ *+' conftest.er1
>conftest.err
35635 cat conftest.err
>&5
35636 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35637 (exit $ac_status); } &&
35638 { ac_try
='test -z "$ac_c_werror_flag"
35639 || test ! -s conftest.err'
35640 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35641 (eval $ac_try) 2>&5
35643 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35644 (exit $ac_status); }; } &&
35645 { ac_try
='test -s conftest$ac_exeext'
35646 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35647 (eval $ac_try) 2>&5
35649 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35650 (exit $ac_status); }; }; then
35651 ac_cv_func_socket
=yes
35653 echo "$as_me: failed program was:" >&5
35654 sed 's/^/| /' conftest.
$ac_ext >&5
35656 ac_cv_func_socket
=no
35658 rm -f conftest.err conftest.
$ac_objext \
35659 conftest
$ac_exeext conftest.
$ac_ext
35661 echo "$as_me:$LINENO: result: $ac_cv_func_socket" >&5
35662 echo "${ECHO_T}$ac_cv_func_socket" >&6
35663 if test $ac_cv_func_socket = yes; then
35667 echo "$as_me:$LINENO: checking for socket in -lsocket" >&5
35668 echo $ECHO_N "checking for socket in -lsocket... $ECHO_C" >&6
35669 if test "${ac_cv_lib_socket_socket+set}" = set; then
35670 echo $ECHO_N "(cached) $ECHO_C" >&6
35672 ac_check_lib_save_LIBS
=$LIBS
35673 LIBS
="-lsocket $LIBS"
35674 cat >conftest.
$ac_ext <<_ACEOF
35677 cat confdefs.h
>>conftest.
$ac_ext
35678 cat >>conftest.
$ac_ext <<_ACEOF
35679 /* end confdefs.h. */
35681 /* Override any gcc2 internal prototype to avoid an error. */
35685 /* We use char because int might match the return type of a gcc2
35686 builtin and then its argument prototype would still apply. */
35696 rm -f conftest.
$ac_objext conftest
$ac_exeext
35697 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35698 (eval $ac_link) 2>conftest.er1
35700 grep -v '^ *+' conftest.er1
>conftest.err
35702 cat conftest.err
>&5
35703 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35704 (exit $ac_status); } &&
35705 { ac_try
='test -z "$ac_c_werror_flag"
35706 || test ! -s conftest.err'
35707 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35708 (eval $ac_try) 2>&5
35710 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35711 (exit $ac_status); }; } &&
35712 { ac_try
='test -s conftest$ac_exeext'
35713 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35714 (eval $ac_try) 2>&5
35716 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35717 (exit $ac_status); }; }; then
35718 ac_cv_lib_socket_socket
=yes
35720 echo "$as_me: failed program was:" >&5
35721 sed 's/^/| /' conftest.
$ac_ext >&5
35723 ac_cv_lib_socket_socket
=no
35725 rm -f conftest.err conftest.
$ac_objext \
35726 conftest
$ac_exeext conftest.
$ac_ext
35727 LIBS
=$ac_check_lib_save_LIBS
35729 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_socket" >&5
35730 echo "${ECHO_T}$ac_cv_lib_socket_socket" >&6
35731 if test $ac_cv_lib_socket_socket = yes; then
35732 if test "$INET_LINK" != " -lsocket"; then
35733 INET_LINK
="$INET_LINK -lsocket"
35737 { echo "$as_me:$LINENO: WARNING: socket library not found - sockets will be disabled" >&5
35738 echo "$as_me: WARNING: socket library not found - sockets will be disabled" >&2;}
35751 if test "$wxUSE_SOCKETS" = "yes" ; then
35752 if test "$TOOLKIT" != "MSW"; then
35753 echo "$as_me:$LINENO: checking what is the type of the third argument of getsockname" >&5
35754 echo $ECHO_N "checking what is the type of the third argument of getsockname... $ECHO_C" >&6
35755 if test "${wx_cv_type_getsockname3+set}" = set; then
35756 echo $ECHO_N "(cached) $ECHO_C" >&6
35759 cat >conftest.
$ac_ext <<_ACEOF
35762 cat confdefs.h
>>conftest.
$ac_ext
35763 cat >>conftest.
$ac_ext <<_ACEOF
35764 /* end confdefs.h. */
35766 #include <sys/types.h>
35767 #include <sys/socket.h>
35774 getsockname(0, 0, &len);
35780 rm -f conftest.
$ac_objext
35781 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35782 (eval $ac_compile) 2>conftest.er1
35784 grep -v '^ *+' conftest.er1
>conftest.err
35786 cat conftest.err
>&5
35787 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35788 (exit $ac_status); } &&
35789 { ac_try
='test -z "$ac_c_werror_flag"
35790 || test ! -s conftest.err'
35791 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35792 (eval $ac_try) 2>&5
35794 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35795 (exit $ac_status); }; } &&
35796 { ac_try
='test -s conftest.$ac_objext'
35797 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35798 (eval $ac_try) 2>&5
35800 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35801 (exit $ac_status); }; }; then
35802 wx_cv_type_getsockname3
=socklen_t
35804 echo "$as_me: failed program was:" >&5
35805 sed 's/^/| /' conftest.
$ac_ext >&5
35808 CFLAGS_OLD
="$CFLAGS"
35809 if test "$GCC" = yes ; then
35810 CFLAGS
="$CFLAGS -Werror"
35813 cat >conftest.
$ac_ext <<_ACEOF
35816 cat confdefs.h
>>conftest.
$ac_ext
35817 cat >>conftest.
$ac_ext <<_ACEOF
35818 /* end confdefs.h. */
35820 #include <sys/types.h>
35821 #include <sys/socket.h>
35828 getsockname(0, 0, &len);
35834 rm -f conftest.
$ac_objext
35835 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35836 (eval $ac_compile) 2>conftest.er1
35838 grep -v '^ *+' conftest.er1
>conftest.err
35840 cat conftest.err
>&5
35841 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35842 (exit $ac_status); } &&
35843 { ac_try
='test -z "$ac_c_werror_flag"
35844 || test ! -s conftest.err'
35845 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35846 (eval $ac_try) 2>&5
35848 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35849 (exit $ac_status); }; } &&
35850 { ac_try
='test -s conftest.$ac_objext'
35851 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35852 (eval $ac_try) 2>&5
35854 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35855 (exit $ac_status); }; }; then
35856 wx_cv_type_getsockname3
=size_t
35858 echo "$as_me: failed program was:" >&5
35859 sed 's/^/| /' conftest.
$ac_ext >&5
35861 cat >conftest.
$ac_ext <<_ACEOF
35864 cat confdefs.h
>>conftest.
$ac_ext
35865 cat >>conftest.
$ac_ext <<_ACEOF
35866 /* end confdefs.h. */
35868 #include <sys/types.h>
35869 #include <sys/socket.h>
35876 getsockname(0, 0, &len);
35882 rm -f conftest.
$ac_objext
35883 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35884 (eval $ac_compile) 2>conftest.er1
35886 grep -v '^ *+' conftest.er1
>conftest.err
35888 cat conftest.err
>&5
35889 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35890 (exit $ac_status); } &&
35891 { ac_try
='test -z "$ac_c_werror_flag"
35892 || test ! -s conftest.err'
35893 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35894 (eval $ac_try) 2>&5
35896 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35897 (exit $ac_status); }; } &&
35898 { ac_try
='test -s conftest.$ac_objext'
35899 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35900 (eval $ac_try) 2>&5
35902 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35903 (exit $ac_status); }; }; then
35904 wx_cv_type_getsockname3
=int
35906 echo "$as_me: failed program was:" >&5
35907 sed 's/^/| /' conftest.
$ac_ext >&5
35909 wx_cv_type_getsockname3
=unknown
35912 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
35915 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
35917 CFLAGS
="$CFLAGS_OLD"
35921 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
35924 echo "$as_me:$LINENO: result: $wx_cv_type_getsockname3" >&5
35925 echo "${ECHO_T}$wx_cv_type_getsockname3" >&6
35927 if test "$wx_cv_type_getsockname3" = "unknown"; then
35929 { echo "$as_me:$LINENO: WARNING: Couldn't find socklen_t synonym for this system" >&5
35930 echo "$as_me: WARNING: Couldn't find socklen_t synonym for this system" >&2;}
35932 cat >>confdefs.h
<<_ACEOF
35933 #define SOCKLEN_T $wx_cv_type_getsockname3
35940 if test "$wxUSE_SOCKETS" = "yes" ; then
35941 cat >>confdefs.h
<<\_ACEOF
35942 #define wxUSE_SOCKETS 1
35945 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS sockets"
35948 if test "$wxUSE_PROTOCOL" = "yes"; then
35949 if test "$wxUSE_SOCKETS" != "yes"; then
35950 { echo "$as_me:$LINENO: WARNING: Protocol classes require sockets... disabled" >&5
35951 echo "$as_me: WARNING: Protocol classes require sockets... disabled" >&2;}
35956 if test "$wxUSE_PROTOCOL" = "yes"; then
35957 cat >>confdefs.h
<<\_ACEOF
35958 #define wxUSE_PROTOCOL 1
35962 if test "$wxUSE_PROTOCOL_HTTP" = "yes"; then
35963 cat >>confdefs.h
<<\_ACEOF
35964 #define wxUSE_PROTOCOL_HTTP 1
35968 if test "$wxUSE_PROTOCOL_FTP" = "yes"; then
35969 cat >>confdefs.h
<<\_ACEOF
35970 #define wxUSE_PROTOCOL_FTP 1
35974 if test "$wxUSE_PROTOCOL_FILE" = "yes"; then
35975 cat >>confdefs.h
<<\_ACEOF
35976 #define wxUSE_PROTOCOL_FILE 1
35981 if test "$wxUSE_FS_INET" = "yes"; then
35982 { echo "$as_me:$LINENO: WARNING: HTTP filesystem require protocol classes... disabled" >&5
35983 echo "$as_me: WARNING: HTTP filesystem require protocol classes... disabled" >&2;}
35988 if test "$wxUSE_URL" = "yes"; then
35989 if test "$wxUSE_PROTOCOL" != "yes"; then
35990 { echo "$as_me:$LINENO: WARNING: wxURL class requires wxProtocol... disabled" >&5
35991 echo "$as_me: WARNING: wxURL class requires wxProtocol... disabled" >&2;}
35994 if test "$wxUSE_URL" = "yes"; then
35995 cat >>confdefs.h
<<\_ACEOF
35996 #define wxUSE_URL 1
36002 if test "$wxUSE_FS_INET" = "yes"; then
36003 cat >>confdefs.h
<<\_ACEOF
36004 #define wxUSE_FS_INET 1
36010 if test "$wxUSE_GUI" = "yes"; then
36012 if test "$TOOLKIT" = "MAC" -o "$TOOLKIT" = "COCOA"; then
36013 { echo "$as_me:$LINENO: WARNING: Joystick not yet supported under Mac OS X... disabled" >&5
36014 echo "$as_me: WARNING: Joystick not yet supported under Mac OS X... disabled" >&2;}
36018 if test "$TOOLKIT" != "MSW"; then
36019 if test "$wxUSE_JOYSTICK" = "yes"; then
36021 for ac_header
in linux
/joystick.h
36023 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
36024 if eval "test \"\${$as_ac_Header+set}\" = set"; then
36025 echo "$as_me:$LINENO: checking for $ac_header" >&5
36026 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
36027 if eval "test \"\${$as_ac_Header+set}\" = set"; then
36028 echo $ECHO_N "(cached) $ECHO_C" >&6
36030 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
36031 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
36033 # Is the header compilable?
36034 echo "$as_me:$LINENO: checking $ac_header usability" >&5
36035 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
36036 cat >conftest.
$ac_ext <<_ACEOF
36039 cat confdefs.h
>>conftest.
$ac_ext
36040 cat >>conftest.
$ac_ext <<_ACEOF
36041 /* end confdefs.h. */
36042 $ac_includes_default
36043 #include <$ac_header>
36045 rm -f conftest.
$ac_objext
36046 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36047 (eval $ac_compile) 2>conftest.er1
36049 grep -v '^ *+' conftest.er1
>conftest.err
36051 cat conftest.err
>&5
36052 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36053 (exit $ac_status); } &&
36054 { ac_try
='test -z "$ac_c_werror_flag"
36055 || test ! -s conftest.err'
36056 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36057 (eval $ac_try) 2>&5
36059 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36060 (exit $ac_status); }; } &&
36061 { ac_try
='test -s conftest.$ac_objext'
36062 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36063 (eval $ac_try) 2>&5
36065 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36066 (exit $ac_status); }; }; then
36067 ac_header_compiler
=yes
36069 echo "$as_me: failed program was:" >&5
36070 sed 's/^/| /' conftest.
$ac_ext >&5
36072 ac_header_compiler
=no
36074 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
36075 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
36076 echo "${ECHO_T}$ac_header_compiler" >&6
36078 # Is the header present?
36079 echo "$as_me:$LINENO: checking $ac_header presence" >&5
36080 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
36081 cat >conftest.
$ac_ext <<_ACEOF
36084 cat confdefs.h
>>conftest.
$ac_ext
36085 cat >>conftest.
$ac_ext <<_ACEOF
36086 /* end confdefs.h. */
36087 #include <$ac_header>
36089 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
36090 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
36092 grep -v '^ *+' conftest.er1
>conftest.err
36094 cat conftest.err
>&5
36095 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36096 (exit $ac_status); } >/dev
/null
; then
36097 if test -s conftest.err
; then
36098 ac_cpp_err
=$ac_c_preproc_warn_flag
36099 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
36106 if test -z "$ac_cpp_err"; then
36107 ac_header_preproc
=yes
36109 echo "$as_me: failed program was:" >&5
36110 sed 's/^/| /' conftest.
$ac_ext >&5
36112 ac_header_preproc
=no
36114 rm -f conftest.err conftest.
$ac_ext
36115 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
36116 echo "${ECHO_T}$ac_header_preproc" >&6
36118 # So? What about this header?
36119 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
36121 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
36122 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
36123 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
36124 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
36125 ac_header_preproc
=yes
36128 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
36129 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
36130 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
36131 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
36132 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
36133 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
36134 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
36135 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
36136 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
36137 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
36138 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
36139 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
36142 ## ----------------------------------------- ##
36143 ## Report this to wx-dev@lists.wxwindows.org ##
36144 ## ----------------------------------------- ##
36147 sed "s/^/$as_me: WARNING: /" >&2
36150 echo "$as_me:$LINENO: checking for $ac_header" >&5
36151 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
36152 if eval "test \"\${$as_ac_Header+set}\" = set"; then
36153 echo $ECHO_N "(cached) $ECHO_C" >&6
36155 eval "$as_ac_Header=\$ac_header_preproc"
36157 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
36158 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
36161 if test `eval echo '${'$as_ac_Header'}'` = yes; then
36162 cat >>confdefs.h
<<_ACEOF
36163 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
36170 if test "$ac_cv_header_linux_joystick_h" != "yes"; then
36172 { echo "$as_me:$LINENO: WARNING: Joystick not supported by this system... disabled" >&5
36173 echo "$as_me: WARNING: Joystick not supported by this system... disabled" >&2;}
36178 if test "$wxUSE_JOYSTICK" = "yes"; then
36179 cat >>confdefs.h
<<\_ACEOF
36180 #define wxUSE_JOYSTICK 1
36183 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS joytest"
36189 if test "$wxUSE_FONTMAP" = "yes" ; then
36190 cat >>confdefs.h
<<\_ACEOF
36191 #define wxUSE_FONTMAP 1
36196 if test "$wxUSE_UNICODE" = "yes" ; then
36197 cat >>confdefs.h
<<\_ACEOF
36198 #define wxUSE_UNICODE 1
36202 if test "$USE_WIN32" != 1; then
36203 wxUSE_UNICODE_MSLU
=no
36206 if test "$USE_WIN32" = 1 -a "$wxUSE_UNICODE_MSLU" = "yes"; then
36207 echo "$as_me:$LINENO: checking for main in -lunicows" >&5
36208 echo $ECHO_N "checking for main in -lunicows... $ECHO_C" >&6
36209 if test "${ac_cv_lib_unicows_main+set}" = set; then
36210 echo $ECHO_N "(cached) $ECHO_C" >&6
36212 ac_check_lib_save_LIBS
=$LIBS
36213 LIBS
="-lunicows $LIBS"
36214 cat >conftest.
$ac_ext <<_ACEOF
36217 cat confdefs.h
>>conftest.
$ac_ext
36218 cat >>conftest.
$ac_ext <<_ACEOF
36219 /* end confdefs.h. */
36230 rm -f conftest.
$ac_objext conftest
$ac_exeext
36231 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36232 (eval $ac_link) 2>conftest.er1
36234 grep -v '^ *+' conftest.er1
>conftest.err
36236 cat conftest.err
>&5
36237 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36238 (exit $ac_status); } &&
36239 { ac_try
='test -z "$ac_c_werror_flag"
36240 || test ! -s conftest.err'
36241 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36242 (eval $ac_try) 2>&5
36244 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36245 (exit $ac_status); }; } &&
36246 { ac_try
='test -s conftest$ac_exeext'
36247 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36248 (eval $ac_try) 2>&5
36250 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36251 (exit $ac_status); }; }; then
36252 ac_cv_lib_unicows_main
=yes
36254 echo "$as_me: failed program was:" >&5
36255 sed 's/^/| /' conftest.
$ac_ext >&5
36257 ac_cv_lib_unicows_main
=no
36259 rm -f conftest.err conftest.
$ac_objext \
36260 conftest
$ac_exeext conftest.
$ac_ext
36261 LIBS
=$ac_check_lib_save_LIBS
36263 echo "$as_me:$LINENO: result: $ac_cv_lib_unicows_main" >&5
36264 echo "${ECHO_T}$ac_cv_lib_unicows_main" >&6
36265 if test $ac_cv_lib_unicows_main = yes; then
36267 cat >>confdefs.h
<<\_ACEOF
36268 #define wxUSE_UNICODE_MSLU 1
36274 { echo "$as_me:$LINENO: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
36275 Applications will only run on Windows NT/2000/XP!" >&5
36276 echo "$as_me: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
36277 Applications will only run on Windows NT/2000/XP!" >&2;}
36278 wxUSE_UNICODE_MSLU
=no
36285 if test "$wxUSE_wxUSE_EXPERIMENTAL_PRINTF" = "yes"; then
36286 cat >>confdefs.h
<<\_ACEOF
36287 #define wxUSE_EXPERIMENTAL_PRINTF 1
36293 if test "$wxUSE_POSTSCRIPT" = "yes" ; then
36294 cat >>confdefs.h
<<\_ACEOF
36295 #define wxUSE_POSTSCRIPT 1
36300 cat >>confdefs.h
<<\_ACEOF
36301 #define wxUSE_AFM_FOR_POSTSCRIPT 1
36305 cat >>confdefs.h
<<\_ACEOF
36306 #define wxUSE_NORMALIZED_PS_FONTS 1
36311 if test "$wxUSE_CONSTRAINTS" = "yes"; then
36312 cat >>confdefs.h
<<\_ACEOF
36313 #define wxUSE_CONSTRAINTS 1
36316 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS layout"
36319 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
36320 cat >>confdefs.h
<<\_ACEOF
36321 #define wxUSE_MDI_ARCHITECTURE 1
36324 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS mdi"
36327 if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = "yes" ; then
36328 cat >>confdefs.h
<<\_ACEOF
36329 #define wxUSE_DOC_VIEW_ARCHITECTURE 1
36332 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS docview"
36333 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
36334 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS docvwmdi"
36338 if test "$wxUSE_HELP" = "yes"; then
36339 cat >>confdefs.h
<<\_ACEOF
36340 #define wxUSE_HELP 1
36343 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS help"
36345 if test "$wxUSE_MSW" = 1; then
36346 if test "$wxUSE_MS_HTML_HELP" = "yes"; then
36347 cat >>confdefs.h
<<\_ACEOF
36348 #define wxUSE_MS_HTML_HELP 1
36354 if test "$wxUSE_WXHTML_HELP" = "yes"; then
36355 if test "$wxUSE_HTML" = "yes"; then
36356 cat >>confdefs.h
<<\_ACEOF
36357 #define wxUSE_WXHTML_HELP 1
36361 { echo "$as_me:$LINENO: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&5
36362 echo "$as_me: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&2;}
36363 wxUSE_WXHTML_HELP
=no
36368 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
36369 if test "$wxUSE_CONSTRAINTS" != "yes"; then
36370 { echo "$as_me:$LINENO: WARNING: Printing support cannot be used without constraints so it won't be compiled without it" >&5
36371 echo "$as_me: WARNING: Printing support cannot be used without constraints so it won't be compiled without it" >&2;}
36373 cat >>confdefs.h
<<\_ACEOF
36374 #define wxUSE_PRINTING_ARCHITECTURE 1
36378 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS printing"
36381 if test "$wxUSE_PROLOGIO" = "yes" -o "$wxUSE_RESOURCES" = "yes"; then
36382 { { echo "$as_me:$LINENO: error: wxExpr and old-style resources are now available in contrib only" >&5
36383 echo "$as_me: error: wxExpr and old-style resources are now available in contrib only" >&2;}
36384 { (exit 1); exit 1; }; }
36388 if test "$USE_WIN32" = 1 -a \
( "$wxUSE_DATAOBJ" = "yes" \
36389 -o "$wxUSE_CLIPBOARD" = "yes" \
36390 -o "$wxUSE_OLE" = "yes" \
36391 -o "$wxUSE_DRAG_AND_DROP" = "yes" \
) ; then
36393 for ac_header
in ole2.h
36395 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
36396 if eval "test \"\${$as_ac_Header+set}\" = set"; then
36397 echo "$as_me:$LINENO: checking for $ac_header" >&5
36398 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
36399 if eval "test \"\${$as_ac_Header+set}\" = set"; then
36400 echo $ECHO_N "(cached) $ECHO_C" >&6
36402 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
36403 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
36405 # Is the header compilable?
36406 echo "$as_me:$LINENO: checking $ac_header usability" >&5
36407 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
36408 cat >conftest.
$ac_ext <<_ACEOF
36411 cat confdefs.h
>>conftest.
$ac_ext
36412 cat >>conftest.
$ac_ext <<_ACEOF
36413 /* end confdefs.h. */
36414 $ac_includes_default
36415 #include <$ac_header>
36417 rm -f conftest.
$ac_objext
36418 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36419 (eval $ac_compile) 2>conftest.er1
36421 grep -v '^ *+' conftest.er1
>conftest.err
36423 cat conftest.err
>&5
36424 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36425 (exit $ac_status); } &&
36426 { ac_try
='test -z "$ac_c_werror_flag"
36427 || test ! -s conftest.err'
36428 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36429 (eval $ac_try) 2>&5
36431 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36432 (exit $ac_status); }; } &&
36433 { ac_try
='test -s conftest.$ac_objext'
36434 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36435 (eval $ac_try) 2>&5
36437 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36438 (exit $ac_status); }; }; then
36439 ac_header_compiler
=yes
36441 echo "$as_me: failed program was:" >&5
36442 sed 's/^/| /' conftest.
$ac_ext >&5
36444 ac_header_compiler
=no
36446 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
36447 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
36448 echo "${ECHO_T}$ac_header_compiler" >&6
36450 # Is the header present?
36451 echo "$as_me:$LINENO: checking $ac_header presence" >&5
36452 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
36453 cat >conftest.
$ac_ext <<_ACEOF
36456 cat confdefs.h
>>conftest.
$ac_ext
36457 cat >>conftest.
$ac_ext <<_ACEOF
36458 /* end confdefs.h. */
36459 #include <$ac_header>
36461 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
36462 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
36464 grep -v '^ *+' conftest.er1
>conftest.err
36466 cat conftest.err
>&5
36467 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36468 (exit $ac_status); } >/dev
/null
; then
36469 if test -s conftest.err
; then
36470 ac_cpp_err
=$ac_c_preproc_warn_flag
36471 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
36478 if test -z "$ac_cpp_err"; then
36479 ac_header_preproc
=yes
36481 echo "$as_me: failed program was:" >&5
36482 sed 's/^/| /' conftest.
$ac_ext >&5
36484 ac_header_preproc
=no
36486 rm -f conftest.err conftest.
$ac_ext
36487 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
36488 echo "${ECHO_T}$ac_header_preproc" >&6
36490 # So? What about this header?
36491 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
36493 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
36494 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
36495 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
36496 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
36497 ac_header_preproc
=yes
36500 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
36501 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
36502 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
36503 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
36504 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
36505 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
36506 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
36507 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
36508 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
36509 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
36510 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
36511 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
36514 ## ----------------------------------------- ##
36515 ## Report this to wx-dev@lists.wxwindows.org ##
36516 ## ----------------------------------------- ##
36519 sed "s/^/$as_me: WARNING: /" >&2
36522 echo "$as_me:$LINENO: checking for $ac_header" >&5
36523 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
36524 if eval "test \"\${$as_ac_Header+set}\" = set"; then
36525 echo $ECHO_N "(cached) $ECHO_C" >&6
36527 eval "$as_ac_Header=\$ac_header_preproc"
36529 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
36530 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
36533 if test `eval echo '${'$as_ac_Header'}'` = yes; then
36534 cat >>confdefs.h
<<_ACEOF
36535 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
36543 if test "$ac_cv_header_ole2_h" = "yes" ; then
36544 if test "$GCC" = yes ; then
36548 ac_cpp
='$CXXCPP $CPPFLAGS'
36549 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36550 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36551 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
36554 echo "$as_me:$LINENO: checking if g++ requires -fvtable-thunks" >&5
36555 echo $ECHO_N "checking if g++ requires -fvtable-thunks... $ECHO_C" >&6
36556 cat >conftest.
$ac_ext <<_ACEOF
36559 cat confdefs.h
>>conftest.
$ac_ext
36560 cat >>conftest.
$ac_ext <<_ACEOF
36561 /* end confdefs.h. */
36562 #include <windows.h>
36572 rm -f conftest.
$ac_objext
36573 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36574 (eval $ac_compile) 2>conftest.er1
36576 grep -v '^ *+' conftest.er1
>conftest.err
36578 cat conftest.err
>&5
36579 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36580 (exit $ac_status); } &&
36581 { ac_try
='test -z "$ac_cxx_werror_flag"
36582 || test ! -s conftest.err'
36583 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36584 (eval $ac_try) 2>&5
36586 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36587 (exit $ac_status); }; } &&
36588 { ac_try
='test -s conftest.$ac_objext'
36589 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36590 (eval $ac_try) 2>&5
36592 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36593 (exit $ac_status); }; }; then
36594 echo "$as_me:$LINENO: result: no" >&5
36595 echo "${ECHO_T}no" >&6
36597 echo "$as_me: failed program was:" >&5
36598 sed 's/^/| /' conftest.
$ac_ext >&5
36600 echo "$as_me:$LINENO: result: yes" >&5
36601 echo "${ECHO_T}yes" >&6
36602 CODE_GEN_FLAGS_CXX
="$CODE_GEN_FLAGS_CXX -fvtable-thunks"
36604 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
36606 ac_cpp
='$CPP $CPPFLAGS'
36607 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36608 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36609 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
36611 ALL_OBJECTS
="$ALL_OBJECTS \$(OLEOBJS)"
36612 LIBS
=" -lrpcrt4 -loleaut32 -lole32 -luuid$LIBS"
36613 if test "$wxUSE_OLE" = "yes" ; then
36614 cat >>confdefs.h
<<\_ACEOF
36615 #define wxUSE_OLE 1
36621 if test "$wxUSE_DATAOBJ" = "yes" ; then
36622 cat >>confdefs.h
<<\_ACEOF
36623 #define wxUSE_DATAOBJ 1
36628 { echo "$as_me:$LINENO: WARNING: Some features disabled because OLE headers not found" >&5
36629 echo "$as_me: WARNING: Some features disabled because OLE headers not found" >&2;}
36632 wxUSE_DRAG_AND_DROP
=no
36637 if test "$wxUSE_METAFILE" = "yes"; then
36638 cat >>confdefs.h
<<\_ACEOF
36639 #define wxUSE_METAFILE 1
36643 cat >>confdefs.h
<<\_ACEOF
36644 #define wxUSE_ENH_METAFILE 1
36650 if test "$wxUSE_IPC" = "yes"; then
36651 if test "$wxUSE_SOCKETS" != "yes"; then
36652 { echo "$as_me:$LINENO: WARNING: wxWindows IPC classes require sockets... disabled" >&5
36653 echo "$as_me: WARNING: wxWindows IPC classes require sockets... disabled" >&2;}
36656 cat >>confdefs.h
<<\_ACEOF
36657 #define wxUSE_IPC 1
36662 if test "$wxUSE_CLIPBOARD" = "yes"; then
36663 if test "$wxUSE_MGL" = 1; then
36664 { echo "$as_me:$LINENO: WARNING: Clipboard not yet supported under MGL... disabled" >&5
36665 echo "$as_me: WARNING: Clipboard not yet supported under MGL... disabled" >&2;}
36669 if test "$wxUSE_CLIPBOARD" = "yes"; then
36670 cat >>confdefs.h
<<\_ACEOF
36671 #define wxUSE_CLIPBOARD 1
36675 cat >>confdefs.h
<<\_ACEOF
36676 #define wxUSE_DATAOBJ 1
36682 if test "$wxUSE_DRAG_AND_DROP" = "yes" ; then
36683 if test "$wxUSE_GTK" = 1; then
36684 if test "$WXGTK12" != 1; then
36685 { echo "$as_me:$LINENO: WARNING: Drag and drop is only supported under GTK+ 1.2... disabled" >&5
36686 echo "$as_me: WARNING: Drag and drop is only supported under GTK+ 1.2... disabled" >&2;}
36687 wxUSE_DRAG_AND_DROP
=no
36691 if test "$wxUSE_MOTIF" = 1; then
36692 { echo "$as_me:$LINENO: WARNING: Drag and drop not yet supported under Motif... disabled" >&5
36693 echo "$as_me: WARNING: Drag and drop not yet supported under Motif... disabled" >&2;}
36694 wxUSE_DRAG_AND_DROP
=no
36697 if test "$wxUSE_X11" = 1; then
36698 { echo "$as_me:$LINENO: WARNING: Drag and drop not yet supported under X11... disabled" >&5
36699 echo "$as_me: WARNING: Drag and drop not yet supported under X11... disabled" >&2;}
36700 wxUSE_DRAG_AND_DROP
=no
36703 if test "$wxUSE_MGL" = 1; then
36704 { echo "$as_me:$LINENO: WARNING: Drag and drop not yet supported under MGL... disabled" >&5
36705 echo "$as_me: WARNING: Drag and drop not yet supported under MGL... disabled" >&2;}
36706 wxUSE_DRAG_AND_DROP
=no
36709 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
36710 cat >>confdefs.h
<<\_ACEOF
36711 #define wxUSE_DRAG_AND_DROP 1
36718 if test "$wxUSE_DRAG_AND_DROP" = "yes" -o "$wxUSE_CLIPBOARD" = "yes"; then
36719 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS dnd"
36722 if test "$wxUSE_SPLINES" = "yes" ; then
36723 cat >>confdefs.h
<<\_ACEOF
36724 #define wxUSE_SPLINES 1
36731 if test "$wxUSE_CONTROLS" = "yes"; then
36735 if test "$wxUSE_ACCEL" = "yes"; then
36736 cat >>confdefs.h
<<\_ACEOF
36737 #define wxUSE_ACCEL 1
36743 if test "$wxUSE_BUTTON" = "yes"; then
36744 cat >>confdefs.h
<<\_ACEOF
36745 #define wxUSE_BUTTON 1
36751 if test "$wxUSE_BMPBUTTON" = "yes"; then
36752 cat >>confdefs.h
<<\_ACEOF
36753 #define wxUSE_BMPBUTTON 1
36759 if test "$wxUSE_CALCTRL" = "yes"; then
36760 cat >>confdefs.h
<<\_ACEOF
36761 #define wxUSE_CALENDARCTRL 1
36765 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS calendar"
36768 if test "$wxUSE_CARET" = "yes"; then
36769 cat >>confdefs.h
<<\_ACEOF
36770 #define wxUSE_CARET 1
36774 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS caret"
36777 if test "$wxUSE_COMBOBOX" = "yes"; then
36778 cat >>confdefs.h
<<\_ACEOF
36779 #define wxUSE_COMBOBOX 1
36785 if test "$wxUSE_CHOICE" = "yes"; then
36786 cat >>confdefs.h
<<\_ACEOF
36787 #define wxUSE_CHOICE 1
36793 if test "$wxUSE_CHECKBOX" = "yes"; then
36794 cat >>confdefs.h
<<\_ACEOF
36795 #define wxUSE_CHECKBOX 1
36801 if test "$wxUSE_CHECKLST" = "yes"; then
36802 cat >>confdefs.h
<<\_ACEOF
36803 #define wxUSE_CHECKLISTBOX 1
36807 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS checklst"
36810 if test "$wxUSE_DISPLAY" = "yes"; then
36811 cat >>confdefs.h
<<\_ACEOF
36812 #define wxUSE_DISPLAY 1
36815 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS display"
36818 if test "$wxUSE_GAUGE" = "yes"; then
36819 cat >>confdefs.h
<<\_ACEOF
36820 #define wxUSE_GAUGE 1
36826 if test "$wxUSE_GRID" = "yes"; then
36827 cat >>confdefs.h
<<\_ACEOF
36828 #define wxUSE_GRID 1
36832 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS grid"
36835 if test "$wxUSE_IMAGLIST" = "yes"; then
36836 cat >>confdefs.h
<<\_ACEOF
36837 #define wxUSE_IMAGLIST 1
36842 if test "$wxUSE_LISTBOOK" = "yes"; then
36843 cat >>confdefs.h
<<\_ACEOF
36844 #define wxUSE_LISTBOOK 1
36850 if test "$wxUSE_LISTBOX" = "yes"; then
36851 cat >>confdefs.h
<<\_ACEOF
36852 #define wxUSE_LISTBOX 1
36858 if test "$wxUSE_LISTCTRL" = "yes"; then
36859 if test "$wxUSE_IMAGLIST" = "yes"; then
36860 cat >>confdefs.h
<<\_ACEOF
36861 #define wxUSE_LISTCTRL 1
36865 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS listctrl"
36867 { echo "$as_me:$LINENO: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&5
36868 echo "$as_me: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&2;}
36872 if test "$wxUSE_NOTEBOOK" = "yes"; then
36873 cat >>confdefs.h
<<\_ACEOF
36874 #define wxUSE_NOTEBOOK 1
36878 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS notebook"
36882 if test "$wxUSE_RADIOBOX" = "yes"; then
36883 cat >>confdefs.h
<<\_ACEOF
36884 #define wxUSE_RADIOBOX 1
36890 if test "$wxUSE_RADIOBTN" = "yes"; then
36891 cat >>confdefs.h
<<\_ACEOF
36892 #define wxUSE_RADIOBTN 1
36898 if test "$wxUSE_SASH" = "yes"; then
36899 cat >>confdefs.h
<<\_ACEOF
36900 #define wxUSE_SASH 1
36903 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS sashtest"
36906 if test "$wxUSE_SCROLLBAR" = "yes"; then
36907 cat >>confdefs.h
<<\_ACEOF
36908 #define wxUSE_SCROLLBAR 1
36912 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS scroll scrollsub"
36915 if test "$wxUSE_SLIDER" = "yes"; then
36916 cat >>confdefs.h
<<\_ACEOF
36917 #define wxUSE_SLIDER 1
36923 if test "$wxUSE_SPINBTN" = "yes"; then
36924 cat >>confdefs.h
<<\_ACEOF
36925 #define wxUSE_SPINBTN 1
36931 if test "$wxUSE_SPINCTRL" = "yes"; then
36932 cat >>confdefs.h
<<\_ACEOF
36933 #define wxUSE_SPINCTRL 1
36939 if test "$wxUSE_SPLITTER" = "yes"; then
36940 cat >>confdefs.h
<<\_ACEOF
36941 #define wxUSE_SPLITTER 1
36944 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS splitter"
36947 if test "$wxUSE_STATBMP" = "yes"; then
36948 cat >>confdefs.h
<<\_ACEOF
36949 #define wxUSE_STATBMP 1
36955 if test "$wxUSE_STATBOX" = "yes"; then
36956 cat >>confdefs.h
<<\_ACEOF
36957 #define wxUSE_STATBOX 1
36963 if test "$wxUSE_STATTEXT" = "yes"; then
36964 cat >>confdefs.h
<<\_ACEOF
36965 #define wxUSE_STATTEXT 1
36971 if test "$wxUSE_STATLINE" = "yes"; then
36972 cat >>confdefs.h
<<\_ACEOF
36973 #define wxUSE_STATLINE 1
36979 if test "$wxUSE_STATUSBAR" = "yes"; then
36980 cat >>confdefs.h
<<\_ACEOF
36981 #define wxUSE_STATUSBAR 1
36986 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS statbar"
36989 if test "$wxUSE_TABDIALOG" = "yes"; then
36990 cat >>confdefs.h
<<\_ACEOF
36991 #define wxUSE_TAB_DIALOG 1
36994 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS tab"
36997 if test "$wxUSE_TEXTCTRL" = "yes"; then
36998 cat >>confdefs.h
<<\_ACEOF
36999 #define wxUSE_TEXTCTRL 1
37003 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS text"
37006 if test "$wxUSE_TOGGLEBTN" = "yes"; then
37007 if test "$wxUSE_COCOA" = 1 ; then
37008 { echo "$as_me:$LINENO: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&5
37009 echo "$as_me: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&2;}
37012 if test "$wxUSE_UNIVERSAL" = "yes"; then
37013 { echo "$as_me:$LINENO: WARNING: Toggle button not yet supported under wxUniversal... disabled" >&5
37014 echo "$as_me: WARNING: Toggle button not yet supported under wxUniversal... disabled" >&2;}
37018 if test "$wxUSE_TOGGLEBTN" = "yes"; then
37019 cat >>confdefs.h
<<\_ACEOF
37020 #define wxUSE_TOGGLEBTN 1
37027 if test "$wxUSE_TOOLBAR_SIMPLE" = "yes"; then
37028 cat >>confdefs.h
<<\_ACEOF
37029 #define wxUSE_TOOLBAR_SIMPLE 1
37032 wxUSE_TOOLBAR
="yes"
37036 if test "$wxUSE_TOOLBAR" = "yes"; then
37037 cat >>confdefs.h
<<\_ACEOF
37038 #define wxUSE_TOOLBAR 1
37043 if test "$wxUSE_TOOLBAR_SIMPLE" != "yes"; then
37044 wxUSE_TOOLBAR_NATIVE
="yes"
37047 if test "$wxUSE_TOOLBAR_NATIVE" = "yes"; then
37048 cat >>confdefs.h
<<\_ACEOF
37049 #define wxUSE_TOOLBAR_NATIVE 1
37055 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS toolbar"
37058 if test "$wxUSE_TOOLTIPS" = "yes"; then
37059 if test "$wxUSE_MOTIF" = 1; then
37060 { echo "$as_me:$LINENO: WARNING: wxTooltip not supported yet under Motif... disabled" >&5
37061 echo "$as_me: WARNING: wxTooltip not supported yet under Motif... disabled" >&2;}
37063 if test "$wxUSE_UNIVERSAL" = "yes"; then
37064 { echo "$as_me:$LINENO: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&5
37065 echo "$as_me: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&2;}
37067 cat >>confdefs.h
<<\_ACEOF
37068 #define wxUSE_TOOLTIPS 1
37075 if test "$wxUSE_TREECTRL" = "yes"; then
37076 if test "$wxUSE_IMAGLIST" = "yes"; then
37077 cat >>confdefs.h
<<\_ACEOF
37078 #define wxUSE_TREECTRL 1
37082 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS treectrl"
37084 { echo "$as_me:$LINENO: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&5
37085 echo "$as_me: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&2;}
37089 if test "$wxUSE_POPUPWIN" = "yes"; then
37090 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1 ; then
37091 { echo "$as_me:$LINENO: WARNING: Popup window not yet supported under Mac OS X... disabled" >&5
37092 echo "$as_me: WARNING: Popup window not yet supported under Mac OS X... disabled" >&2;}
37094 if test "$wxUSE_PM" = 1; then
37095 { echo "$as_me:$LINENO: WARNING: wxPopupWindow not yet supported under PM... disabled" >&5
37096 echo "$as_me: WARNING: wxPopupWindow not yet supported under PM... disabled" >&2;}
37098 cat >>confdefs.h
<<\_ACEOF
37099 #define wxUSE_POPUPWIN 1
37108 if test "$wxUSE_TIPWINDOW" = "yes"; then
37109 if test "$wxUSE_PM" = 1; then
37110 { echo "$as_me:$LINENO: WARNING: wxTipWindow not yet supported under PM... disabled" >&5
37111 echo "$as_me: WARNING: wxTipWindow not yet supported under PM... disabled" >&2;}
37113 cat >>confdefs.h
<<\_ACEOF
37114 #define wxUSE_TIPWINDOW 1
37120 if test "$USES_CONTROLS" = 1; then
37121 cat >>confdefs.h
<<\_ACEOF
37122 #define wxUSE_CONTROLS 1
37128 if test "$wxUSE_ACCESSIBILITY" = "yes"; then
37129 cat >>confdefs.h
<<\_ACEOF
37130 #define wxUSE_ACCESSIBILITY 1
37133 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS access"
37136 if test "$wxUSE_DRAGIMAGE" = "yes"; then
37137 cat >>confdefs.h
<<\_ACEOF
37138 #define wxUSE_DRAGIMAGE 1
37141 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS dragimag"
37144 if test "$wxUSE_EXCEPTIONS" = "yes"; then
37145 cat >>confdefs.h
<<\_ACEOF
37146 #define wxUSE_EXCEPTIONS 1
37152 if test "$wxUSE_HTML" = "yes"; then
37153 cat >>confdefs.h
<<\_ACEOF
37154 #define wxUSE_HTML 1
37158 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS html html/about html/help html/helpview html/printing html/test html/virtual html/widget html/zip htlbox"
37161 if test "$wxUSE_MENUS" = "yes"; then
37162 cat >>confdefs.h
<<\_ACEOF
37163 #define wxUSE_MENUS 1
37166 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS menu"
37169 if test "$wxUSE_METAFILE" = "yes"; then
37170 cat >>confdefs.h
<<\_ACEOF
37171 #define wxUSE_METAFILE 1
37176 if test "$wxUSE_MIMETYPE" = "yes"; then
37177 cat >>confdefs.h
<<\_ACEOF
37178 #define wxUSE_MIMETYPE 1
37183 if test "$wxUSE_MINIFRAME" = "yes"; then
37184 cat >>confdefs.h
<<\_ACEOF
37185 #define wxUSE_MINIFRAME 1
37188 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS minifram"
37191 if test "$wxUSE_SYSTEM_OPTIONS" = "yes"; then
37192 cat >>confdefs.h
<<\_ACEOF
37193 #define wxUSE_SYSTEM_OPTIONS 1
37196 if test "$TOOLKIT" = "MSW" -o "$TOOLKIT" = "GTK" -o "$TOOLKIT" = "X11" -o \
37197 "$TOOLKIT" = "MOTIF"; then
37198 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS taskbar"
37203 if test "$wxUSE_VALIDATORS" = "yes"; then
37204 cat >>confdefs.h
<<\_ACEOF
37205 #define wxUSE_VALIDATORS 1
37208 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS validate"
37211 if test "$wxUSE_PALETTE" = "yes" ; then
37212 cat >>confdefs.h
<<\_ACEOF
37213 #define wxUSE_PALETTE 1
37218 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_MSLU" = "yes" ; then
37219 LIBS
=" -lunicows $LIBS"
37223 if test "$wxUSE_IMAGE" = "yes" ; then
37224 cat >>confdefs.h
<<\_ACEOF
37225 #define wxUSE_IMAGE 1
37229 if test "$wxUSE_GIF" = "yes" ; then
37230 cat >>confdefs.h
<<\_ACEOF
37231 #define wxUSE_GIF 1
37236 if test "$wxUSE_PCX" = "yes" ; then
37237 cat >>confdefs.h
<<\_ACEOF
37238 #define wxUSE_PCX 1
37243 if test "$wxUSE_IFF" = "yes" ; then
37244 cat >>confdefs.h
<<\_ACEOF
37245 #define wxUSE_IFF 1
37250 if test "$wxUSE_PNM" = "yes" ; then
37251 cat >>confdefs.h
<<\_ACEOF
37252 #define wxUSE_PNM 1
37257 if test "$wxUSE_XPM" = "yes" ; then
37258 cat >>confdefs.h
<<\_ACEOF
37259 #define wxUSE_XPM 1
37264 if test "$wxUSE_ICO_CUR" = "yes" ; then
37265 cat >>confdefs.h
<<\_ACEOF
37266 #define wxUSE_ICO_CUR 1
37273 if test "$wxUSE_CHOICEDLG" = "yes"; then
37274 cat >>confdefs.h
<<\_ACEOF
37275 #define wxUSE_CHOICEDLG 1
37280 if test "$wxUSE_COLOURDLG" = "yes"; then
37281 cat >>confdefs.h
<<\_ACEOF
37282 #define wxUSE_COLOURDLG 1
37287 if test "$wxUSE_FILEDLG" = "yes"; then
37288 cat >>confdefs.h
<<\_ACEOF
37289 #define wxUSE_FILEDLG 1
37294 if test "$wxUSE_FINDREPLDLG" = "yes"; then
37295 cat >>confdefs.h
<<\_ACEOF
37296 #define wxUSE_FINDREPLDLG 1
37301 if test "$wxUSE_FONTDLG" = "yes"; then
37302 cat >>confdefs.h
<<\_ACEOF
37303 #define wxUSE_FONTDLG 1
37308 if test "$wxUSE_DIRDLG" = "yes"; then
37309 if test "$wxUSE_TREECTRL" != "yes"; then
37310 { echo "$as_me:$LINENO: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&5
37311 echo "$as_me: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&2;}
37313 cat >>confdefs.h
<<\_ACEOF
37314 #define wxUSE_DIRDLG 1
37320 if test "$wxUSE_MSGDLG" = "yes"; then
37321 cat >>confdefs.h
<<\_ACEOF
37322 #define wxUSE_MSGDLG 1
37327 if test "$wxUSE_NUMBERDLG" = "yes"; then
37328 cat >>confdefs.h
<<\_ACEOF
37329 #define wxUSE_NUMBERDLG 1
37334 if test "$wxUSE_PROGRESSDLG" = "yes"; then
37335 if test "$wxUSE_CONSTRAINTS" != "yes"; then
37336 { echo "$as_me:$LINENO: WARNING: wxProgressDialog requires constraints so it won't be compiled without them" >&5
37337 echo "$as_me: WARNING: wxProgressDialog requires constraints so it won't be compiled without them" >&2;}
37339 cat >>confdefs.h
<<\_ACEOF
37340 #define wxUSE_PROGRESSDLG 1
37346 if test "$wxUSE_SPLASH" = "yes"; then
37347 cat >>confdefs.h
<<\_ACEOF
37348 #define wxUSE_SPLASH 1
37353 if test "$wxUSE_STARTUP_TIPS" = "yes"; then
37354 if test "$wxUSE_CONSTRAINTS" != "yes"; then
37355 { echo "$as_me:$LINENO: WARNING: Startup tips requires constraints and won't be compiled without them" >&5
37356 echo "$as_me: WARNING: Startup tips requires constraints and won't be compiled without them" >&2;}
37358 cat >>confdefs.h
<<\_ACEOF
37359 #define wxUSE_STARTUP_TIPS 1
37365 if test "$wxUSE_TEXTDLG" = "yes"; then
37366 cat >>confdefs.h
<<\_ACEOF
37367 #define wxUSE_TEXTDLG 1
37372 if test "$wxUSE_WIZARDDLG" = "yes"; then
37373 cat >>confdefs.h
<<\_ACEOF
37374 #define wxUSE_WIZARDDLG 1
37377 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS wizard"
37381 if test "$cross_compiling" = "yes"; then
37384 OSINFO
=`uname -s -r -m`
37385 OSINFO
="\"$OSINFO\""
37388 cat >>confdefs.h
<<_ACEOF
37389 #define WXWIN_OS_DESCRIPTION $OSINFO
37394 if test "x$prefix" != "xNONE"; then
37397 wxPREFIX
=$ac_default_prefix
37400 cat >>confdefs.h
<<_ACEOF
37401 #define wxINSTALL_PREFIX "$wxPREFIX"
37405 top_builddir_wxconfig
=`pwd`
37409 CORE_BASE_LIBS
="net base"
37410 CORE_GUI_LIBS
="adv core"
37412 if test "$wxUSE_XML" = "yes" ; then
37413 CORE_BASE_LIBS
="xml $CORE_BASE_LIBS"
37415 if test "$wxUSE_ODBC" != "no" ; then
37416 CORE_BASE_LIBS
="odbc $CORE_BASE_LIBS"
37417 CORE_GUI_LIBS
="dbgrid $CORE_GUI_LIBS"
37419 if test "$wxUSE_HTML" = "yes" ; then
37420 CORE_GUI_LIBS
="html $CORE_GUI_LIBS"
37423 if test "$wxUSE_GUI" != "yes"; then
37434 if test "$wxUSE_MAC" = 1 ; then
37435 LDFLAGS
="$LDFLAGS -framework Carbon -framework System"
37437 if test "$wxUSE_COCOA" = 1 ; then
37438 LDFLAGS
="$LDFLAGS -framework Cocoa -framework System"
37442 LIBS
="$ZLIB_LINK $POSIX4_LINK $INET_LINK $WCHAR_LINK $DL_LINK $LIBS"
37449 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37450 echo "$as_me:$LINENO: checking for $ac_func" >&5
37451 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
37452 if eval "test \"\${$as_ac_var+set}\" = set"; then
37453 echo $ECHO_N "(cached) $ECHO_C" >&6
37455 cat >conftest.
$ac_ext <<_ACEOF
37458 cat confdefs.h
>>conftest.
$ac_ext
37459 cat >>conftest.
$ac_ext <<_ACEOF
37460 /* end confdefs.h. */
37461 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37462 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37463 #define $ac_func innocuous_$ac_func
37465 /* System header to define __stub macros and hopefully few prototypes,
37466 which can conflict with char $ac_func (); below.
37467 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37468 <limits.h> exists even on freestanding compilers. */
37471 # include <limits.h>
37473 # include <assert.h>
37478 /* Override any gcc2 internal prototype to avoid an error. */
37483 /* We use char because int might match the return type of a gcc2
37484 builtin and then its argument prototype would still apply. */
37486 /* The GNU C library defines this for functions which it implements
37487 to always fail with ENOSYS. Some functions are actually named
37488 something starting with __ and the normal name is an alias. */
37489 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
37492 char (*f) () = $ac_func;
37501 return f != $ac_func;
37506 rm -f conftest.
$ac_objext conftest
$ac_exeext
37507 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37508 (eval $ac_link) 2>conftest.er1
37510 grep -v '^ *+' conftest.er1
>conftest.err
37512 cat conftest.err
>&5
37513 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37514 (exit $ac_status); } &&
37515 { ac_try
='test -z "$ac_c_werror_flag"
37516 || 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
37549 for ac_func
in floor
37551 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37552 echo "$as_me:$LINENO: checking for $ac_func" >&5
37553 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
37554 if eval "test \"\${$as_ac_var+set}\" = set"; then
37555 echo $ECHO_N "(cached) $ECHO_C" >&6
37557 cat >conftest.
$ac_ext <<_ACEOF
37560 cat confdefs.h
>>conftest.
$ac_ext
37561 cat >>conftest.
$ac_ext <<_ACEOF
37562 /* end confdefs.h. */
37563 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37564 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37565 #define $ac_func innocuous_$ac_func
37567 /* System header to define __stub macros and hopefully few prototypes,
37568 which can conflict with char $ac_func (); below.
37569 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37570 <limits.h> exists even on freestanding compilers. */
37573 # include <limits.h>
37575 # include <assert.h>
37580 /* Override any gcc2 internal prototype to avoid an error. */
37585 /* We use char because int might match the return type of a gcc2
37586 builtin and then its argument prototype would still apply. */
37588 /* The GNU C library defines this for functions which it implements
37589 to always fail with ENOSYS. Some functions are actually named
37590 something starting with __ and the normal name is an alias. */
37591 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
37594 char (*f) () = $ac_func;
37603 return f != $ac_func;
37608 rm -f conftest.
$ac_objext conftest
$ac_exeext
37609 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37610 (eval $ac_link) 2>conftest.er1
37612 grep -v '^ *+' conftest.er1
>conftest.err
37614 cat conftest.err
>&5
37615 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37616 (exit $ac_status); } &&
37617 { ac_try
='test -z "$ac_c_werror_flag"
37618 || test ! -s conftest.err'
37619 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37620 (eval $ac_try) 2>&5
37622 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37623 (exit $ac_status); }; } &&
37624 { ac_try
='test -s conftest$ac_exeext'
37625 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37626 (eval $ac_try) 2>&5
37628 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37629 (exit $ac_status); }; }; then
37630 eval "$as_ac_var=yes"
37632 echo "$as_me: failed program was:" >&5
37633 sed 's/^/| /' conftest.
$ac_ext >&5
37635 eval "$as_ac_var=no"
37637 rm -f conftest.err conftest.
$ac_objext \
37638 conftest
$ac_exeext conftest.
$ac_ext
37640 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
37641 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
37642 if test `eval echo '${'$as_ac_var'}'` = yes; then
37643 cat >>confdefs.h
<<_ACEOF
37644 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37650 echo "$as_me:$LINENO: checking if floating point functions link without -lm" >&5
37651 echo $ECHO_N "checking if floating point functions link without -lm... $ECHO_C" >&6
37652 if test "$have_cos" = 1 -a "$have_floor" = 1; then
37653 echo "$as_me:$LINENO: result: yes" >&5
37654 echo "${ECHO_T}yes" >&6
37656 echo "$as_me:$LINENO: result: no" >&5
37657 echo "${ECHO_T}no" >&6
37659 # use different functions to avoid configure caching
37665 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37666 echo "$as_me:$LINENO: checking for $ac_func" >&5
37667 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
37668 if eval "test \"\${$as_ac_var+set}\" = set"; then
37669 echo $ECHO_N "(cached) $ECHO_C" >&6
37671 cat >conftest.
$ac_ext <<_ACEOF
37674 cat confdefs.h
>>conftest.
$ac_ext
37675 cat >>conftest.
$ac_ext <<_ACEOF
37676 /* end confdefs.h. */
37677 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37678 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37679 #define $ac_func innocuous_$ac_func
37681 /* System header to define __stub macros and hopefully few prototypes,
37682 which can conflict with char $ac_func (); below.
37683 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37684 <limits.h> exists even on freestanding compilers. */
37687 # include <limits.h>
37689 # include <assert.h>
37694 /* Override any gcc2 internal prototype to avoid an error. */
37699 /* We use char because int might match the return type of a gcc2
37700 builtin and then its argument prototype would still apply. */
37702 /* The GNU C library defines this for functions which it implements
37703 to always fail with ENOSYS. Some functions are actually named
37704 something starting with __ and the normal name is an alias. */
37705 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
37708 char (*f) () = $ac_func;
37717 return f != $ac_func;
37722 rm -f conftest.
$ac_objext conftest
$ac_exeext
37723 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37724 (eval $ac_link) 2>conftest.er1
37726 grep -v '^ *+' conftest.er1
>conftest.err
37728 cat conftest.err
>&5
37729 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37730 (exit $ac_status); } &&
37731 { ac_try
='test -z "$ac_c_werror_flag"
37732 || test ! -s conftest.err'
37733 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37734 (eval $ac_try) 2>&5
37736 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37737 (exit $ac_status); }; } &&
37738 { ac_try
='test -s conftest$ac_exeext'
37739 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37740 (eval $ac_try) 2>&5
37742 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37743 (exit $ac_status); }; }; then
37744 eval "$as_ac_var=yes"
37746 echo "$as_me: failed program was:" >&5
37747 sed 's/^/| /' conftest.
$ac_ext >&5
37749 eval "$as_ac_var=no"
37751 rm -f conftest.err conftest.
$ac_objext \
37752 conftest
$ac_exeext conftest.
$ac_ext
37754 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
37755 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
37756 if test `eval echo '${'$as_ac_var'}'` = yes; then
37757 cat >>confdefs.h
<<_ACEOF
37758 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37765 for ac_func
in ceil
37767 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37768 echo "$as_me:$LINENO: checking for $ac_func" >&5
37769 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
37770 if eval "test \"\${$as_ac_var+set}\" = set"; then
37771 echo $ECHO_N "(cached) $ECHO_C" >&6
37773 cat >conftest.
$ac_ext <<_ACEOF
37776 cat confdefs.h
>>conftest.
$ac_ext
37777 cat >>conftest.
$ac_ext <<_ACEOF
37778 /* end confdefs.h. */
37779 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37780 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37781 #define $ac_func innocuous_$ac_func
37783 /* System header to define __stub macros and hopefully few prototypes,
37784 which can conflict with char $ac_func (); below.
37785 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37786 <limits.h> exists even on freestanding compilers. */
37789 # include <limits.h>
37791 # include <assert.h>
37796 /* Override any gcc2 internal prototype to avoid an error. */
37801 /* We use char because int might match the return type of a gcc2
37802 builtin and then its argument prototype would still apply. */
37804 /* The GNU C library defines this for functions which it implements
37805 to always fail with ENOSYS. Some functions are actually named
37806 something starting with __ and the normal name is an alias. */
37807 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
37810 char (*f) () = $ac_func;
37819 return f != $ac_func;
37824 rm -f conftest.
$ac_objext conftest
$ac_exeext
37825 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37826 (eval $ac_link) 2>conftest.er1
37828 grep -v '^ *+' conftest.er1
>conftest.err
37830 cat conftest.err
>&5
37831 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37832 (exit $ac_status); } &&
37833 { ac_try
='test -z "$ac_c_werror_flag"
37834 || test ! -s conftest.err'
37835 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37836 (eval $ac_try) 2>&5
37838 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37839 (exit $ac_status); }; } &&
37840 { ac_try
='test -s conftest$ac_exeext'
37841 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37842 (eval $ac_try) 2>&5
37844 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37845 (exit $ac_status); }; }; then
37846 eval "$as_ac_var=yes"
37848 echo "$as_me: failed program was:" >&5
37849 sed 's/^/| /' conftest.
$ac_ext >&5
37851 eval "$as_ac_var=no"
37853 rm -f conftest.err conftest.
$ac_objext \
37854 conftest
$ac_exeext conftest.
$ac_ext
37856 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
37857 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
37858 if test `eval echo '${'$as_ac_var'}'` = yes; then
37859 cat >>confdefs.h
<<_ACEOF
37860 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37866 echo "$as_me:$LINENO: checking if floating point functions link with -lm" >&5
37867 echo $ECHO_N "checking if floating point functions link with -lm... $ECHO_C" >&6
37868 if test "$have_sin" = 1 -a "$have_ceil" = 1; then
37869 echo "$as_me:$LINENO: result: yes" >&5
37870 echo "${ECHO_T}yes" >&6
37872 echo "$as_me:$LINENO: result: no" >&5
37873 echo "${ECHO_T}no" >&6
37874 # not sure we should warn the user, crash, etc.
37878 if test "$wxUSE_GUI" = "yes"; then
37881 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS artprov controls dialogs \
37882 drawing dynamic erase event exec font image \
37883 minimal propsize rotate shaped widgets render"
37885 if test "$wxUSE_MONOLITHIC" != "yes"; then
37886 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS console"
37889 SAMPLES_SUBDIRS
="console"
37893 INCLUDES
="-I\${top_builddir}lib/wx/include/${TOOLCHAIN_NAME} \
37894 -I\${top_srcdir}/include $TOOLKIT_INCLUDE"
37896 if test "$GXX" = yes ; then
37897 CXXWARNINGS
="-Wall"
37900 EXTRA_CFLAGS
="$WXDEBUG $WXODBCFLAG $PROFILE $OPTIMISE"
37902 CPPFLAGS
=`echo $WXDEBUG_DEFINE $INCLUDES $CPPFLAGS | sed 's/ \\+/ /g'`
37903 CFLAGS
=`echo $CODE_GEN_FLAGS $EXTRA_CFLAGS $CFLAGS $CXXWARNINGS | sed 's/ \\+/ /g'`
37904 CXXFLAGS
=`echo $CODE_GEN_FLAGS $CODE_GEN_FLAGS_CXX $EXTRA_CFLAGS $CXXFLAGS $CXXWARNINGS | sed 's/ \+/ /g'`
37907 LIBS
=`echo $LIBS | sed 's/ \+/ /g'`
37908 EXTRALIBS
="$LDFLAGS $LDFLAGS_VERSIONING $LIBS $DMALLOC_LIBS"
37909 EXTRALIBS_XML
="$EXPAT_LINK"
37910 EXTRALIBS_HTML
="$MSPACK_LINK"
37911 EXTRALIBS_ODBC
="$ODBC_LINK"
37912 if test "$wxUSE_GUI" = "yes"; then
37913 EXTRALIBS_GUI
=`echo $GUI_TK_LIBRARY $PNG_LINK $JPEG_LINK $TIFF_LINK | sed 's/ \+/ /g'`
37915 if test "$wxUSE_OPENGL" = "yes"; then
37916 EXTRALIBS_OPENGL
="$LDFLAGS_GL $OPENGL_LIBS"
37919 LDFLAGS
="$LDFLAGS $PROFILE"
37921 if test "$wxUSE_GTK" = 1; then
37924 WXCONFIG_INCLUDE
="$TOOLKIT_INCLUDE"
37927 WXCONFIG_EXTRALIBS
="$LIBS"
37929 if test "$wxUSE_REGEX" = "builtin" ; then
37930 wxconfig_3rdparty
="$wxconfig_3rdparty regex${lib_unicode_suffix}"
37932 if test "$wxUSE_EXPAT" = "builtin" ; then
37933 wxconfig_3rdparty
="$wxconfig_3rdparty expat"
37935 if test "$wxUSE_ODBC" = "builtin" ; then
37936 wxconfig_3rdparty
="$wxconfig_3rdparty odbc"
37938 if test "$wxUSE_LIBTIFF" = "builtin" ; then
37939 wxconfig_3rdparty
="$wxconfig_3rdparty tiff"
37941 if test "$wxUSE_LIBJPEG" = "builtin" ; then
37942 wxconfig_3rdparty
="$wxconfig_3rdparty jpeg"
37944 if test "$wxUSE_LIBPNG" = "builtin" ; then
37945 wxconfig_3rdparty
="$wxconfig_3rdparty png"
37947 if test "$wxUSE_ZLIB" = "builtin" ; then
37948 wxconfig_3rdparty
="$wxconfig_3rdparty zlib"
37950 if test "$wxUSE_ODBC" = "builtin" ; then
37951 wxconfig_3rdparty
="$wxconfig_3rdparty odbc"
37954 for i
in $wxconfig_3rdparty ; do
37955 WXCONFIG_EXTRALIBS
="$WXCONFIG_EXTRALIBS -lwx${i}${lib_debug_suffix}${HOST_SUFFIX}"
37959 if test "x$wxUSE_UNIVERSAL" = "xyes" ; then
37973 if test $wxUSE_MONOLITHIC = "yes" ; then
37979 if test $wxUSE_PLUGINS = "yes" ; then
37985 if test $wxUSE_ODBC != "no" ; then
37991 if test $wxUSE_OFFICIAL_BUILD = "yes" ; then
38017 TOOLKIT_LOWERCASE
=`echo $TOOLKIT | tr "[A-Z]" "[a-z]"`
38027 if test "x$BAKEFILE_HOST" = "x"; then
38028 BAKEFILE_HOST
="${host}"
38031 if test "x$BAKEFILE_CHECK_BASICS" != "xno"; then
38033 if test -n "$ac_tool_prefix"; then
38034 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
38035 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
38036 echo "$as_me:$LINENO: checking for $ac_word" >&5
38037 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
38038 if test "${ac_cv_prog_RANLIB+set}" = set; then
38039 echo $ECHO_N "(cached) $ECHO_C" >&6
38041 if test -n "$RANLIB"; then
38042 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
38044 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
38045 for as_dir
in $PATH
38048 test -z "$as_dir" && as_dir
=.
38049 for ac_exec_ext
in '' $ac_executable_extensions; do
38050 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
38051 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
38052 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
38060 RANLIB
=$ac_cv_prog_RANLIB
38061 if test -n "$RANLIB"; then
38062 echo "$as_me:$LINENO: result: $RANLIB" >&5
38063 echo "${ECHO_T}$RANLIB" >&6
38065 echo "$as_me:$LINENO: result: no" >&5
38066 echo "${ECHO_T}no" >&6
38070 if test -z "$ac_cv_prog_RANLIB"; then
38071 ac_ct_RANLIB
=$RANLIB
38072 # Extract the first word of "ranlib", so it can be a program name with args.
38073 set dummy ranlib
; ac_word
=$2
38074 echo "$as_me:$LINENO: checking for $ac_word" >&5
38075 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
38076 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
38077 echo $ECHO_N "(cached) $ECHO_C" >&6
38079 if test -n "$ac_ct_RANLIB"; then
38080 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
38082 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
38083 for as_dir
in $PATH
38086 test -z "$as_dir" && as_dir
=.
38087 for ac_exec_ext
in '' $ac_executable_extensions; do
38088 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
38089 ac_cv_prog_ac_ct_RANLIB
="ranlib"
38090 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
38096 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB
=":"
38099 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
38100 if test -n "$ac_ct_RANLIB"; then
38101 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
38102 echo "${ECHO_T}$ac_ct_RANLIB" >&6
38104 echo "$as_me:$LINENO: result: no" >&5
38105 echo "${ECHO_T}no" >&6
38108 RANLIB
=$ac_ct_RANLIB
38110 RANLIB
="$ac_cv_prog_RANLIB"
38113 # Find a good install program. We prefer a C program (faster),
38114 # so one script is as good as another. But avoid the broken or
38115 # incompatible versions:
38116 # SysV /etc/install, /usr/sbin/install
38117 # SunOS /usr/etc/install
38118 # IRIX /sbin/install
38120 # AmigaOS /C/install, which installs bootblocks on floppy discs
38121 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
38122 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
38123 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
38124 # OS/2's system install, which has a completely different semantic
38125 # ./install, which can be erroneously created by make from ./install.sh.
38126 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
38127 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
38128 if test -z "$INSTALL"; then
38129 if test "${ac_cv_path_install+set}" = set; then
38130 echo $ECHO_N "(cached) $ECHO_C" >&6
38132 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
38133 for as_dir
in $PATH
38136 test -z "$as_dir" && as_dir
=.
38137 # Account for people who put trailing slashes in PATH elements.
38139 .
/ | .
// | /cC
/* | \
38140 /etc
/* | /usr
/sbin
/* | /usr
/etc
/* | /sbin
/* | /usr
/afsws
/bin
/* | \
38141 ?
:\\/os2
\\/install\\/* | ?
:\\/OS2
\\/INSTALL
\\/* | \
38144 # OSF1 and SCO ODT 3.0 have their own names for install.
38145 # Don't use installbsd from OSF since it installs stuff as root
38147 for ac_prog
in ginstall scoinst
install; do
38148 for ac_exec_ext
in '' $ac_executable_extensions; do
38149 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
38150 if test $ac_prog = install &&
38151 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
38152 # AIX install. It has an incompatible calling convention.
38154 elif test $ac_prog = install &&
38155 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
38156 # program-specific install script used by HP pwplus--don't use.
38159 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
38171 if test "${ac_cv_path_install+set}" = set; then
38172 INSTALL
=$ac_cv_path_install
38174 # As a last resort, use the slow shell script. We don't cache a
38175 # path for INSTALL within a source directory, because that will
38176 # break other packages using the cache if that directory is
38177 # removed, or if the path is relative.
38178 INSTALL
=$ac_install_sh
38181 echo "$as_me:$LINENO: result: $INSTALL" >&5
38182 echo "${ECHO_T}$INSTALL" >&6
38184 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
38185 # It thinks the first close brace ends the variable substitution.
38186 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
38188 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
38190 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
38192 echo "$as_me:$LINENO: checking whether ln -s works" >&5
38193 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
38195 if test "$LN_S" = "ln -s"; then
38196 echo "$as_me:$LINENO: result: yes" >&5
38197 echo "${ECHO_T}yes" >&6
38199 echo "$as_me:$LINENO: result: no, using $LN_S" >&5
38200 echo "${ECHO_T}no, using $LN_S" >&6
38204 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
38205 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
38206 set dummy
${MAKE-make}; ac_make
=`echo "$2" | sed 'y,:./+-,___p_,'`
38207 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
38208 echo $ECHO_N "(cached) $ECHO_C" >&6
38210 cat >conftest.
make <<\_ACEOF
38212 @
echo 'ac_maketemp="$(MAKE)"'
38214 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
38215 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
38216 if test -n "$ac_maketemp"; then
38217 eval ac_cv_prog_make_
${ac_make}_set
=yes
38219 eval ac_cv_prog_make_
${ac_make}_set
=no
38221 rm -f conftest.
make
38223 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
38224 echo "$as_me:$LINENO: result: yes" >&5
38225 echo "${ECHO_T}yes" >&6
38228 echo "$as_me:$LINENO: result: no" >&5
38229 echo "${ECHO_T}no" >&6
38230 SET_MAKE
="MAKE=${MAKE-make}"
38235 if test -n "$ac_tool_prefix"; then
38236 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
38237 set dummy
${ac_tool_prefix}ar; ac_word
=$2
38238 echo "$as_me:$LINENO: checking for $ac_word" >&5
38239 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
38240 if test "${ac_cv_prog_AR+set}" = set; then
38241 echo $ECHO_N "(cached) $ECHO_C" >&6
38243 if test -n "$AR"; then
38244 ac_cv_prog_AR
="$AR" # Let the user override the test.
38246 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
38247 for as_dir
in $PATH
38250 test -z "$as_dir" && as_dir
=.
38251 for ac_exec_ext
in '' $ac_executable_extensions; do
38252 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
38253 ac_cv_prog_AR
="${ac_tool_prefix}ar"
38254 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
38263 if test -n "$AR"; then
38264 echo "$as_me:$LINENO: result: $AR" >&5
38265 echo "${ECHO_T}$AR" >&6
38267 echo "$as_me:$LINENO: result: no" >&5
38268 echo "${ECHO_T}no" >&6
38272 if test -z "$ac_cv_prog_AR"; then
38274 # Extract the first word of "ar", so it can be a program name with args.
38275 set dummy
ar; ac_word
=$2
38276 echo "$as_me:$LINENO: checking for $ac_word" >&5
38277 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
38278 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
38279 echo $ECHO_N "(cached) $ECHO_C" >&6
38281 if test -n "$ac_ct_AR"; then
38282 ac_cv_prog_ac_ct_AR
="$ac_ct_AR" # Let the user override the test.
38284 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
38285 for as_dir
in $PATH
38288 test -z "$as_dir" && as_dir
=.
38289 for ac_exec_ext
in '' $ac_executable_extensions; do
38290 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
38291 ac_cv_prog_ac_ct_AR
="ar"
38292 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
38298 test -z "$ac_cv_prog_ac_ct_AR" && ac_cv_prog_ac_ct_AR
="ar"
38301 ac_ct_AR
=$ac_cv_prog_ac_ct_AR
38302 if test -n "$ac_ct_AR"; then
38303 echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
38304 echo "${ECHO_T}$ac_ct_AR" >&6
38306 echo "$as_me:$LINENO: result: no" >&5
38307 echo "${ECHO_T}no" >&6
38312 AR
="$ac_cv_prog_AR"
38315 if test -n "$ac_tool_prefix"; then
38316 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
38317 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
38318 echo "$as_me:$LINENO: checking for $ac_word" >&5
38319 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
38320 if test "${ac_cv_prog_STRIP+set}" = set; then
38321 echo $ECHO_N "(cached) $ECHO_C" >&6
38323 if test -n "$STRIP"; then
38324 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
38326 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
38327 for as_dir
in $PATH
38330 test -z "$as_dir" && as_dir
=.
38331 for ac_exec_ext
in '' $ac_executable_extensions; do
38332 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
38333 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
38334 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
38342 STRIP
=$ac_cv_prog_STRIP
38343 if test -n "$STRIP"; then
38344 echo "$as_me:$LINENO: result: $STRIP" >&5
38345 echo "${ECHO_T}$STRIP" >&6
38347 echo "$as_me:$LINENO: result: no" >&5
38348 echo "${ECHO_T}no" >&6
38352 if test -z "$ac_cv_prog_STRIP"; then
38354 # Extract the first word of "strip", so it can be a program name with args.
38355 set dummy strip
; ac_word
=$2
38356 echo "$as_me:$LINENO: checking for $ac_word" >&5
38357 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
38358 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
38359 echo $ECHO_N "(cached) $ECHO_C" >&6
38361 if test -n "$ac_ct_STRIP"; then
38362 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
38364 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
38365 for as_dir
in $PATH
38368 test -z "$as_dir" && as_dir
=.
38369 for ac_exec_ext
in '' $ac_executable_extensions; do
38370 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
38371 ac_cv_prog_ac_ct_STRIP
="strip"
38372 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
38378 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP
=":"
38381 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
38382 if test -n "$ac_ct_STRIP"; then
38383 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
38384 echo "${ECHO_T}$ac_ct_STRIP" >&6
38386 echo "$as_me:$LINENO: result: no" >&5
38387 echo "${ECHO_T}no" >&6
38392 STRIP
="$ac_cv_prog_STRIP"
38395 if test -n "$ac_tool_prefix"; then
38396 # Extract the first word of "${ac_tool_prefix}nm", so it can be a program name with args.
38397 set dummy
${ac_tool_prefix}nm
; ac_word
=$2
38398 echo "$as_me:$LINENO: checking for $ac_word" >&5
38399 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
38400 if test "${ac_cv_prog_NM+set}" = set; then
38401 echo $ECHO_N "(cached) $ECHO_C" >&6
38403 if test -n "$NM"; then
38404 ac_cv_prog_NM
="$NM" # Let the user override the test.
38406 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
38407 for as_dir
in $PATH
38410 test -z "$as_dir" && as_dir
=.
38411 for ac_exec_ext
in '' $ac_executable_extensions; do
38412 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
38413 ac_cv_prog_NM
="${ac_tool_prefix}nm"
38414 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
38423 if test -n "$NM"; then
38424 echo "$as_me:$LINENO: result: $NM" >&5
38425 echo "${ECHO_T}$NM" >&6
38427 echo "$as_me:$LINENO: result: no" >&5
38428 echo "${ECHO_T}no" >&6
38432 if test -z "$ac_cv_prog_NM"; then
38434 # Extract the first word of "nm", so it can be a program name with args.
38435 set dummy nm
; ac_word
=$2
38436 echo "$as_me:$LINENO: checking for $ac_word" >&5
38437 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
38438 if test "${ac_cv_prog_ac_ct_NM+set}" = set; then
38439 echo $ECHO_N "(cached) $ECHO_C" >&6
38441 if test -n "$ac_ct_NM"; then
38442 ac_cv_prog_ac_ct_NM
="$ac_ct_NM" # Let the user override the test.
38444 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
38445 for as_dir
in $PATH
38448 test -z "$as_dir" && as_dir
=.
38449 for ac_exec_ext
in '' $ac_executable_extensions; do
38450 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
38451 ac_cv_prog_ac_ct_NM
="nm"
38452 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
38458 test -z "$ac_cv_prog_ac_ct_NM" && ac_cv_prog_ac_ct_NM
=":"
38461 ac_ct_NM
=$ac_cv_prog_ac_ct_NM
38462 if test -n "$ac_ct_NM"; then
38463 echo "$as_me:$LINENO: result: $ac_ct_NM" >&5
38464 echo "${ECHO_T}$ac_ct_NM" >&6
38466 echo "$as_me:$LINENO: result: no" >&5
38467 echo "${ECHO_T}no" >&6
38472 NM
="$ac_cv_prog_NM"
38476 case ${BAKEFILE_HOST} in
38478 INSTALL_DIR
="mkdir"
38480 *) INSTALL_DIR
="$INSTALL -d"
38486 case ${BAKEFILE_HOST} in
38487 *-*-cygwin* | *-*-mingw32* )
38488 LDFLAGS_GUI
="-Wl,--subsystem,windows -mwindows"
38494 echo "$as_me:$LINENO: checking if make is GNU make" >&5
38495 echo $ECHO_N "checking if make is GNU make... $ECHO_C" >&6
38496 if test "${bakefile_cv_prog_makeisgnu+set}" = set; then
38497 echo $ECHO_N "(cached) $ECHO_C" >&6
38500 if ( ${SHELL-sh} -c "${MAKE-make} --version" 2> /dev
/null
|
38501 egrep -s GNU
> /dev
/null
); then
38502 bakefile_cv_prog_makeisgnu
="yes"
38504 bakefile_cv_prog_makeisgnu
="no"
38508 echo "$as_me:$LINENO: result: $bakefile_cv_prog_makeisgnu" >&5
38509 echo "${ECHO_T}$bakefile_cv_prog_makeisgnu" >&6
38511 if test "x$bakefile_cv_prog_makeisgnu" = "xyes"; then
38526 if test "x$BAKEFILE_FORCE_PLATFORM" = "x"; then
38527 case "${BAKEFILE_HOST}" in
38528 *-*-cygwin* | *-*-mingw32* )
38534 *-pc-os2_emx | *-pc-os2-emx )
38537 powerpc
-*-darwin* )
38546 case "$BAKEFILE_FORCE_PLATFORM" in
38564 { { echo "$as_me:$LINENO: error: Unknown platform: $BAKEFILE_FORCE_PLATFORM" >&5
38565 echo "$as_me: error: Unknown platform: $BAKEFILE_FORCE_PLATFORM" >&2;}
38566 { (exit 1); exit 1; }; }
38580 SO_SUFFIX_MODULE
="so"
38586 case "${BAKEFILE_HOST}" in
38589 SO_SUFFIX_MODULE
="sl"
38593 SO_SUFFIX_MODULE
="a"
38595 *-*-cygwin* | *-*-mingw32* )
38597 SO_SUFFIX_MODULE
="dll"
38605 *-pc-os2_emx | *-pc-os2-emx )
38610 powerpc
-*-darwin* )
38612 SO_SUFFIX_MODULE
="bundle"
38624 SHARED_LD_CC
="\$(CC) -shared -o"
38625 SHARED_LD_CXX
="\$(CXX) -shared -o"
38627 if test "x$GCC" = "xyes"; then
38631 case "${BAKEFILE_HOST}" in
38633 if test "x$GCC" = "xyes"; then
38634 SHARED_LD_CC
="${CC} -shared ${PIC_FLAG} -o"
38635 SHARED_LD_CXX
="${CXX} -shared ${PIC_FLAG} -o"
38637 LDFLAGS
="$LDFLAGS -L/usr/lib"
38639 SHARED_LD_CC
="${CC} -b -o"
38640 SHARED_LD_CXX
="${CXX} -b -o"
38646 if test "x$GCC" != "xyes"; then
38647 echo "$as_me:$LINENO: checking for Intel compiler" >&5
38648 echo $ECHO_N "checking for Intel compiler... $ECHO_C" >&6
38649 if test "${bakefile_cv_prog_icc+set}" = set; then
38650 echo $ECHO_N "(cached) $ECHO_C" >&6
38653 cat >conftest.
$ac_ext <<_ACEOF
38656 cat confdefs.h
>>conftest.
$ac_ext
38657 cat >>conftest.
$ac_ext <<_ACEOF
38658 /* end confdefs.h. */
38664 #ifndef __INTEL_COMPILER
38672 rm -f conftest.
$ac_objext
38673 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
38674 (eval $ac_compile) 2>conftest.er1
38676 grep -v '^ *+' conftest.er1
>conftest.err
38678 cat conftest.err
>&5
38679 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38680 (exit $ac_status); } &&
38681 { ac_try
='test -z "$ac_c_werror_flag"
38682 || test ! -s conftest.err'
38683 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38684 (eval $ac_try) 2>&5
38686 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38687 (exit $ac_status); }; } &&
38688 { ac_try
='test -s conftest.$ac_objext'
38689 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38690 (eval $ac_try) 2>&5
38692 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38693 (exit $ac_status); }; }; then
38694 bakefile_cv_prog_icc
=yes
38696 echo "$as_me: failed program was:" >&5
38697 sed 's/^/| /' conftest.
$ac_ext >&5
38699 bakefile_cv_prog_icc
=no
38702 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
38705 echo "$as_me:$LINENO: result: $bakefile_cv_prog_icc" >&5
38706 echo "${ECHO_T}$bakefile_cv_prog_icc" >&6
38707 if test "$bakefile_cv_prog_icc" = "yes"; then
38714 if test "x$GCC" != xyes
; then
38715 SHARED_LD_CC
="${CC} -G -o"
38716 SHARED_LD_CXX
="${CXX} -G -o"
38722 CFLAGS
="$CFLAGS -fno-common"
38723 CXXFLAGS
="$CXXFLAGS -fno-common"
38726 echo "$as_me:$LINENO: checking for gcc 3.1 or later" >&5
38727 echo $ECHO_N "checking for gcc 3.1 or later... $ECHO_C" >&6
38728 if test "${wx_cv_gcc31+set}" = set; then
38729 echo $ECHO_N "(cached) $ECHO_C" >&6
38732 cat >conftest.
$ac_ext <<_ACEOF
38735 cat confdefs.h
>>conftest.
$ac_ext
38736 cat >>conftest.
$ac_ext <<_ACEOF
38737 /* end confdefs.h. */
38743 #if (__GNUC__ < 3) || \
38744 ((__GNUC__ == 3) && (__GNUC_MINOR__ < 1))
38752 rm -f conftest.
$ac_objext
38753 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
38754 (eval $ac_compile) 2>conftest.er1
38756 grep -v '^ *+' conftest.er1
>conftest.err
38758 cat conftest.err
>&5
38759 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38760 (exit $ac_status); } &&
38761 { ac_try
='test -z "$ac_c_werror_flag"
38762 || test ! -s conftest.err'
38763 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38764 (eval $ac_try) 2>&5
38766 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38767 (exit $ac_status); }; } &&
38768 { ac_try
='test -s conftest.$ac_objext'
38769 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38770 (eval $ac_try) 2>&5
38772 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38773 (exit $ac_status); }; }; then
38778 echo "$as_me: failed program was:" >&5
38779 sed 's/^/| /' conftest.
$ac_ext >&5
38786 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
38789 echo "$as_me:$LINENO: result: $wx_cv_gcc31" >&5
38790 echo "${ECHO_T}$wx_cv_gcc31" >&6
38791 if test "$wx_cv_gcc31" = "no"; then
38792 cat <<EOF >shared-ld-sh
38794 #-----------------------------------------------------------------------------
38795 #-- Name: distrib/mac/shared-ld-sh
38796 #-- Purpose: Link a mach-o dynamic shared library for Darwin / Mac OS X
38797 #-- Author: Gilles Depeyrot
38798 #-- Copyright: (c) 2002 Gilles Depeyrot
38799 #-- Licence: any use permitted
38800 #-----------------------------------------------------------------------------
38805 linking_flag="-dynamiclib"
38807 while test \${#} -gt 0; do
38814 -o|-compatibility_version|-current_version|-framework|-undefined|-install_name)
38815 # collect these options and values
38816 args="\${args} \${1} \${2}"
38820 -l*|-L*|-flat_namespace|-headerpad_max_install_names)
38821 # collect these options
38822 args="\${args} \${1}"
38825 -dynamiclib|-bundle)
38826 linking_flag="\${1}"
38830 echo "shared-ld: unhandled option '\${1}'"
38834 *.o | *.a | *.dylib)
38835 # collect object files
38836 objects="\${objects} \${1}"
38840 echo "shared-ld: unhandled argument '\${1}'"
38849 # Link one module containing all the others
38851 if test \${verbose} = 1; then
38852 echo "c++ -r -keep_private_externs -nostdlib \${objects} -o master.\$\$.o"
38854 c++ -r -keep_private_externs -nostdlib \${objects} -o master.\$\$.o
38856 if test \${status} != 0; then
38861 # Link the shared library from the single module created
38863 if test \${verbose} = 1; then
38864 echo "cc \${linking_flag} master.\$\$.o \${args}"
38866 c++ \${linking_flag} master.\$\$.o \${args}
38868 if test \${status} != 0; then
38873 # Remove intermediate module
38875 rm -f master.\$\$.o
38879 chmod +x shared
-ld-sh
38881 SHARED_LD_CC
="`pwd`/shared-ld-sh -dynamiclib -headerpad_max_install_names -o"
38882 SHARED_LD_MODULE_CC
="`pwd`/shared-ld-sh -bundle -headerpad_max_install_names -o"
38883 SHARED_LD_CXX
="$SHARED_LD_CC"
38884 SHARED_LD_MODULE_CXX
="$SHARED_LD_MODULE_CC"
38886 SHARED_LD_CC
="\${CC} -dynamiclib -single_module -headerpad_max_install_names -o"
38887 SHARED_LD_MODULE_CC
="\${CC} -bundle -single_module -headerpad_max_install_names -o"
38888 SHARED_LD_CXX
="\${CXX} -dynamiclib -single_module -headerpad_max_install_names -o"
38889 SHARED_LD_MODULE_CXX
="\${CXX} -bundle -single_module -headerpad_max_install_names -o"
38892 PIC_FLAG
="-dynamic -fPIC"
38896 if test "x$GCC" != "xyes"; then
38897 # Extract the first word of "makeC++SharedLib", so it can be a program name with args.
38898 set dummy makeC
++SharedLib
; ac_word
=$2
38899 echo "$as_me:$LINENO: checking for $ac_word" >&5
38900 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
38901 if test "${ac_cv_prog_AIX_CXX_LD+set}" = set; then
38902 echo $ECHO_N "(cached) $ECHO_C" >&6
38904 if test -n "$AIX_CXX_LD"; then
38905 ac_cv_prog_AIX_CXX_LD
="$AIX_CXX_LD" # Let the user override the test.
38907 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
38908 for as_dir
in $PATH
38911 test -z "$as_dir" && as_dir
=.
38912 for ac_exec_ext
in '' $ac_executable_extensions; do
38913 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
38914 ac_cv_prog_AIX_CXX_LD
="makeC++SharedLib"
38915 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
38921 test -z "$ac_cv_prog_AIX_CXX_LD" && ac_cv_prog_AIX_CXX_LD
="/usr/lpp/xlC/bin/makeC++SharedLib"
38924 AIX_CXX_LD
=$ac_cv_prog_AIX_CXX_LD
38925 if test -n "$AIX_CXX_LD"; then
38926 echo "$as_me:$LINENO: result: $AIX_CXX_LD" >&5
38927 echo "${ECHO_T}$AIX_CXX_LD" >&6
38929 echo "$as_me:$LINENO: result: no" >&5
38930 echo "${ECHO_T}no" >&6
38933 SHARED_LD_CC
="$AIX_CC_LD -p 0 -o"
38934 SHARED_LD_CXX
="$AIX_CXX_LD -p 0 -o"
38939 SHARED_LD_CC
="${LD} -shared -o"
38940 SHARED_LD_CXX
="${LD} -shared -o"
38944 if test "x$GCC" != "xyes"; then
38949 *-*-cygwin* | *-*-mingw32* )
38953 *-*-freebsd* | *-*-openbsd* | *-*-netbsd* | \
38957 *-pc-os2_emx | *-pc-os2-emx | \
38962 { { echo "$as_me:$LINENO: error: unknown system type $BAKEFILE_HOST." >&5
38963 echo "$as_me: error: unknown system type $BAKEFILE_HOST." >&2;}
38964 { (exit 1); exit 1; }; }
38967 if test "x$SHARED_LD_MODULE_CC" = "x" ; then
38968 SHARED_LD_MODULE_CC
="$SHARED_LD_CC"
38970 if test "x$SHARED_LD_MODULE_CXX" = "x" ; then
38971 SHARED_LD_MODULE_CXX
="$SHARED_LD_CXX"
38988 case "${BAKEFILE_HOST}" in
38990 SONAME_FLAG
="-Wl,-soname,"
39018 echo "$as_me:$LINENO: checking for dependency tracking method" >&5
39019 echo $ECHO_N "checking for dependency tracking method... $ECHO_C" >&6
39022 if test "x$GCC" = "xyes"; then
39025 case "${BAKEFILE_HOST}" in
39026 powerpc
-*-darwin* )
39027 DEPSFLAG_GCC
="-no-cpp-precomp -MMD"
39030 DEPSFLAG_GCC
="-MMD"
39033 echo "$as_me:$LINENO: result: gcc" >&5
39034 echo "${ECHO_T}gcc" >&6
39036 echo "$as_me:$LINENO: result: none" >&5
39037 echo "${ECHO_T}none" >&6
39040 if test $DEPS_TRACKING = 1 ; then
39044 # This script is part of Bakefile (http://bakefile.sourceforge.net) autoconf
39045 # script. It is used to track C/C++ files dependencies in portable way.
39047 # Permission is given to use this file in any way.
39051 DEPSFLAG_GCC="$DEPSFLAG_GCC"
39055 if test \$DEPSMODE = gcc ; then
39056 \${*} \${DEPSFLAG_GCC}
39058 if test \${status} != 0 ; then
39061 # move created file to the location we want it in:
39062 while test \${#} -gt 0; do
39076 depfile=\`basename \$srcfile | sed -e 's/\..*$/.d/g'\`
39077 depobjname=\`echo \$depfile |sed -e 's/\.d/.o/g'\`
39078 if test -f \$depfile ; then
39079 sed -e "s,\$depobjname:,\$objfile:,g" \$depfile >\${DEPSDIR}/\${objfile}.d
39082 depfile=\`basename \$objfile | sed -e 's/\..*$/.d/g'\`
39083 if test -f \$depfile ; then
39084 sed -e "/^\$objfile/!s,\$depobjname:,\$objfile:,g" \$depfile >\${DEPSDIR}/\${objfile}.d
39103 case ${BAKEFILE_HOST} in
39104 *-*-cygwin* | *-*-mingw32* )
39105 if test "$build" != "$host" ; then
39106 RESCOMP
=$host_alias-windres
39108 # Extract the first word of "windres", so it can be a program name with args.
39109 set dummy windres
; ac_word
=$2
39110 echo "$as_me:$LINENO: checking for $ac_word" >&5
39111 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
39112 if test "${ac_cv_prog_RESCOMP+set}" = set; then
39113 echo $ECHO_N "(cached) $ECHO_C" >&6
39115 if test -n "$RESCOMP"; then
39116 ac_cv_prog_RESCOMP
="$RESCOMP" # Let the user override the test.
39118 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
39119 for as_dir
in $PATH
39122 test -z "$as_dir" && as_dir
=.
39123 for ac_exec_ext
in '' $ac_executable_extensions; do
39124 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
39125 ac_cv_prog_RESCOMP
="windres"
39126 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
39132 test -z "$ac_cv_prog_RESCOMP" && ac_cv_prog_RESCOMP
="windres"
39135 RESCOMP
=$ac_cv_prog_RESCOMP
39136 if test -n "$RESCOMP"; then
39137 echo "$as_me:$LINENO: result: $RESCOMP" >&5
39138 echo "${ECHO_T}$RESCOMP" >&6
39140 echo "$as_me:$LINENO: result: no" >&5
39141 echo "${ECHO_T}no" >&6
39148 # Extract the first word of "Rez", so it can be a program name with args.
39149 set dummy Rez
; ac_word
=$2
39150 echo "$as_me:$LINENO: checking for $ac_word" >&5
39151 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
39152 if test "${ac_cv_prog_RESCOMP+set}" = set; then
39153 echo $ECHO_N "(cached) $ECHO_C" >&6
39155 if test -n "$RESCOMP"; then
39156 ac_cv_prog_RESCOMP
="$RESCOMP" # Let the user override the test.
39158 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
39159 for as_dir
in $PATH
39162 test -z "$as_dir" && as_dir
=.
39163 for ac_exec_ext
in '' $ac_executable_extensions; do
39164 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
39165 ac_cv_prog_RESCOMP
="Rez"
39166 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
39172 test -z "$ac_cv_prog_RESCOMP" && ac_cv_prog_RESCOMP
="/Developer/Tools/Rez"
39175 RESCOMP
=$ac_cv_prog_RESCOMP
39176 if test -n "$RESCOMP"; then
39177 echo "$as_me:$LINENO: result: $RESCOMP" >&5
39178 echo "${ECHO_T}$RESCOMP" >&6
39180 echo "$as_me:$LINENO: result: no" >&5
39181 echo "${ECHO_T}no" >&6
39184 # Extract the first word of "SetFile", so it can be a program name with args.
39185 set dummy SetFile
; ac_word
=$2
39186 echo "$as_me:$LINENO: checking for $ac_word" >&5
39187 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
39188 if test "${ac_cv_prog_SETFILE+set}" = set; then
39189 echo $ECHO_N "(cached) $ECHO_C" >&6
39191 if test -n "$SETFILE"; then
39192 ac_cv_prog_SETFILE
="$SETFILE" # Let the user override the test.
39194 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
39195 for as_dir
in $PATH
39198 test -z "$as_dir" && as_dir
=.
39199 for ac_exec_ext
in '' $ac_executable_extensions; do
39200 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
39201 ac_cv_prog_SETFILE
="SetFile"
39202 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
39208 test -z "$ac_cv_prog_SETFILE" && ac_cv_prog_SETFILE
="/Developer/Tools/SetFile"
39211 SETFILE
=$ac_cv_prog_SETFILE
39212 if test -n "$SETFILE"; then
39213 echo "$as_me:$LINENO: result: $SETFILE" >&5
39214 echo "${ECHO_T}$SETFILE" >&6
39216 echo "$as_me:$LINENO: result: no" >&5
39217 echo "${ECHO_T}no" >&6
39230 # Check whether --enable-precomp-headers or --disable-precomp-headers was given.
39231 if test "${enable_precomp_headers+set}" = set; then
39232 enableval
="$enable_precomp_headers"
39233 bk_use_pch
="$enableval"
39238 if test "x$bk_use_pch" = "x" -o "x$bk_use_pch" = "xyes" ; then
39239 if test "x$GCC" = "xyes"; then
39240 echo "$as_me:$LINENO: checking if the compiler supports precompiled headers" >&5
39241 echo $ECHO_N "checking if the compiler supports precompiled headers... $ECHO_C" >&6
39242 cat >conftest.
$ac_ext <<_ACEOF
39245 cat confdefs.h
>>conftest.
$ac_ext
39246 cat >>conftest.
$ac_ext <<_ACEOF
39247 /* end confdefs.h. */
39253 #if !defined(__GNUC__) || !defined(__GNUC_MINOR__)
39254 #error "no pch support"
39257 #error "no pch support"
39259 #if (__GNUC__ == 3) && \
39260 ((!defined(__APPLE_CC__) && (__GNUC_MINOR__ < 4)) || \
39261 ( defined(__APPLE_CC__) && (__GNUC_MINOR__ < 3)))
39262 #error "no pch support"
39269 rm -f conftest.
$ac_objext
39270 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39271 (eval $ac_compile) 2>conftest.er1
39273 grep -v '^ *+' conftest.er1
>conftest.err
39275 cat conftest.err
>&5
39276 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39277 (exit $ac_status); } &&
39278 { ac_try
='test -z "$ac_c_werror_flag"
39279 || test ! -s conftest.err'
39280 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39281 (eval $ac_try) 2>&5
39283 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39284 (exit $ac_status); }; } &&
39285 { ac_try
='test -s conftest.$ac_objext'
39286 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39287 (eval $ac_try) 2>&5
39289 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39290 (exit $ac_status); }; }; then
39292 echo "$as_me:$LINENO: result: yes" >&5
39293 echo "${ECHO_T}yes" >&6
39294 CPPFLAGS
="-fpch-deps $CPPFLAGS"
39298 echo "$as_me: failed program was:" >&5
39299 sed 's/^/| /' conftest.
$ac_ext >&5
39302 echo "$as_me:$LINENO: result: no" >&5
39303 echo "${ECHO_T}no" >&6
39306 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
39307 if test $GCC_PCH = 1 ; then
39308 cat <<EOF >bk-make-pch
39311 # This script is part of Bakefile (http://bakefile.sourceforge.net) autoconf
39312 # script. It is used to generated precompiled headers.
39314 # Permission is given to use this file in any way.
39323 while test \${#} -gt 0; do
39326 incdir=\`echo \${1} | sed -e 's/-I\(.*\)/\1/g'\`
39327 if test "x\${headerfile}" = "x" -a -f "\${incdir}/\${header}" ; then
39328 headerfile="\${incdir}/\${header}"
39332 compiler="\${compiler} \${1}"
39336 if test "x\${headerfile}" = "x" ; then
39337 echo "error: can't find header \${header} in include paths" >2
39339 if test -f \${outfile} ; then
39342 mkdir -p \`dirname \${outfile}\`
39344 depsfile=".deps/\`basename \${outfile}\`.d"
39346 # can do this because gcc is >= 3.4:
39347 \${compiler} -o \${outfile} -MMD -MF "\${depsfile}" "\${headerfile}"
39351 chmod +x bk
-make-pch
39360 COND_BUILD_DEBUG
="#"
39361 if test "x$BUILD" = "xdebug" ; then
39362 COND_BUILD_DEBUG
=""
39365 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT
="#"
39366 if test "x$BUILD" = "xdebug" -a "x$DEBUG_FLAG" = "xdefault" ; then
39367 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT
=""
39370 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT
="#"
39371 if test "x$BUILD" = "xdebug" -a "x$DEBUG_INFO" = "xdefault" ; then
39372 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT
=""
39375 COND_BUILD_DEBUG_UNICODE_0
="#"
39376 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x0" ; then
39377 COND_BUILD_DEBUG_UNICODE_0
=""
39380 COND_BUILD_DEBUG_UNICODE_1
="#"
39381 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x1" ; then
39382 COND_BUILD_DEBUG_UNICODE_1
=""
39385 COND_BUILD_RELEASE
="#"
39386 if test "x$BUILD" = "xrelease" ; then
39387 COND_BUILD_RELEASE
=""
39390 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT
="#"
39391 if test "x$BUILD" = "xrelease" -a "x$DEBUG_INFO" = "xdefault" ; then
39392 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT
=""
39395 COND_BUILD_RELEASE_UNICODE_0
="#"
39396 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x0" ; then
39397 COND_BUILD_RELEASE_UNICODE_0
=""
39400 COND_BUILD_RELEASE_UNICODE_1
="#"
39401 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x1" ; then
39402 COND_BUILD_RELEASE_UNICODE_1
=""
39405 COND_DEBUG_FLAG_1
="#"
39406 if test "x$DEBUG_FLAG" = "x1" ; then
39407 COND_DEBUG_FLAG_1
=""
39410 COND_DEBUG_INFO_0
="#"
39411 if test "x$DEBUG_INFO" = "x0" ; then
39412 COND_DEBUG_INFO_0
=""
39415 COND_DEBUG_INFO_1
="#"
39416 if test "x$DEBUG_INFO" = "x1" ; then
39417 COND_DEBUG_INFO_1
=""
39420 COND_DEPS_TRACKING_0
="#"
39421 if test "x$DEPS_TRACKING" = "x0" ; then
39422 COND_DEPS_TRACKING_0
=""
39425 COND_DEPS_TRACKING_1
="#"
39426 if test "x$DEPS_TRACKING" = "x1" ; then
39427 COND_DEPS_TRACKING_1
=""
39431 if test "x$GCC_PCH" = "x1" ; then
39435 COND_MONOLITHIC_0
="#"
39436 if test "x$MONOLITHIC" = "x0" ; then
39437 COND_MONOLITHIC_0
=""
39440 COND_MONOLITHIC_0_SHARED_0
="#"
39441 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" ; then
39442 COND_MONOLITHIC_0_SHARED_0
=""
39445 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1
="#"
39446 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" ; then
39447 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1
=""
39450 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_ODBC_1
="#"
39451 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_ODBC" = "x1" ; then
39452 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_ODBC_1
=""
39455 COND_MONOLITHIC_0_SHARED_0_USE_HTML_1
="#"
39456 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_HTML" = "x1" ; then
39457 COND_MONOLITHIC_0_SHARED_0_USE_HTML_1
=""
39460 COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1
="#"
39461 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_ODBC" = "x1" ; then
39462 COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1
=""
39465 COND_MONOLITHIC_0_SHARED_1
="#"
39466 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" ; then
39467 COND_MONOLITHIC_0_SHARED_1
=""
39470 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1
="#"
39471 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" ; then
39472 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1
=""
39475 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_ODBC_1
="#"
39476 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_ODBC" = "x1" ; then
39477 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_ODBC_1
=""
39480 COND_MONOLITHIC_0_SHARED_1_USE_HTML_1
="#"
39481 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_HTML" = "x1" ; then
39482 COND_MONOLITHIC_0_SHARED_1_USE_HTML_1
=""
39485 COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1
="#"
39486 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_ODBC" = "x1" ; then
39487 COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1
=""
39490 COND_MONOLITHIC_0_USE_ODBC_1
="#"
39491 if test "x$MONOLITHIC" = "x0" -a "x$USE_ODBC" = "x1" ; then
39492 COND_MONOLITHIC_0_USE_ODBC_1
=""
39495 COND_MONOLITHIC_1
="#"
39496 if test "x$MONOLITHIC" = "x1" ; then
39497 COND_MONOLITHIC_1
=""
39500 COND_MONOLITHIC_1_SHARED_0
="#"
39501 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x0" ; then
39502 COND_MONOLITHIC_1_SHARED_0
=""
39505 COND_MONOLITHIC_1_SHARED_1
="#"
39506 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x1" ; then
39507 COND_MONOLITHIC_1_SHARED_1
=""
39510 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1
="#"
39511 if test "x$OFFICIAL_BUILD" = "x0" -a "x$PLATFORM_WIN32" = "x1" ; then
39512 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1
=""
39515 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1
="#"
39516 if test "x$OFFICIAL_BUILD" = "x1" -a "x$PLATFORM_WIN32" = "x1" ; then
39517 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1
=""
39520 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1
="#"
39521 if test "x$PLATFORM_MACOSX" = "x0" -a "x$USE_SOVERSION" = "x1" ; then
39522 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1
=""
39525 COND_PLATFORM_MACOSX_1
="#"
39526 if test "x$PLATFORM_MACOSX" = "x1" ; then
39527 COND_PLATFORM_MACOSX_1
=""
39530 COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA
="#"
39531 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xCOCOA" ; then
39532 COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA
=""
39535 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK
="#"
39536 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xGTK" ; then
39537 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK
=""
39540 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC
="#"
39541 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMAC" ; then
39542 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC
=""
39545 COND_PLATFORM_MACOSX_1_USE_GUI_1
="#"
39546 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_GUI" = "x1" ; then
39547 COND_PLATFORM_MACOSX_1_USE_GUI_1
=""
39550 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1
="#"
39551 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_SOVERSION" = "x1" ; then
39552 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1
=""
39555 COND_PLATFORM_MAC_1
="#"
39556 if test "x$PLATFORM_MAC" = "x1" ; then
39557 COND_PLATFORM_MAC_1
=""
39560 COND_PLATFORM_OS2_1
="#"
39561 if test "x$PLATFORM_OS2" = "x1" ; then
39562 COND_PLATFORM_OS2_1
=""
39565 COND_PLATFORM_UNIX_0
="#"
39566 if test "x$PLATFORM_UNIX" = "x0" ; then
39567 COND_PLATFORM_UNIX_0
=""
39570 COND_PLATFORM_UNIX_1
="#"
39571 if test "x$PLATFORM_UNIX" = "x1" ; then
39572 COND_PLATFORM_UNIX_1
=""
39575 COND_PLATFORM_UNIX_1_USE_GUI_1
="#"
39576 if test "x$PLATFORM_UNIX" = "x1" -a "x$USE_GUI" = "x1" ; then
39577 COND_PLATFORM_UNIX_1_USE_GUI_1
=""
39580 COND_PLATFORM_UNIX_1_USE_PLUGINS_0
="#"
39581 if test "x$PLATFORM_UNIX" = "x1" -a "x$USE_PLUGINS" = "x0" ; then
39582 COND_PLATFORM_UNIX_1_USE_PLUGINS_0
=""
39585 COND_PLATFORM_WIN32_0
="#"
39586 if test "x$PLATFORM_WIN32" = "x0" ; then
39587 COND_PLATFORM_WIN32_0
=""
39590 COND_PLATFORM_WIN32_1
="#"
39591 if test "x$PLATFORM_WIN32" = "x1" ; then
39592 COND_PLATFORM_WIN32_1
=""
39596 if test "x$SHARED" = "x0" ; then
39600 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1
="#"
39601 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
39602 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1
=""
39605 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN
="#"
39606 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
39607 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN
=""
39610 COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN
="#"
39611 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
39612 COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN
=""
39615 COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN
="#"
39616 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
39617 COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN
=""
39620 COND_SHARED_0_WXUSE_EXPAT_BUILTIN
="#"
39621 if test "x$SHARED" = "x0" -a "x$wxUSE_EXPAT" = "xbuiltin" ; then
39622 COND_SHARED_0_WXUSE_EXPAT_BUILTIN
=""
39625 COND_SHARED_0_WXUSE_ODBC_BUILTIN
="#"
39626 if test "x$SHARED" = "x0" -a "x$wxUSE_ODBC" = "xbuiltin" ; then
39627 COND_SHARED_0_WXUSE_ODBC_BUILTIN
=""
39630 COND_SHARED_0_WXUSE_REGEX_BUILTIN
="#"
39631 if test "x$SHARED" = "x0" -a "x$wxUSE_REGEX" = "xbuiltin" ; then
39632 COND_SHARED_0_WXUSE_REGEX_BUILTIN
=""
39635 COND_SHARED_0_WXUSE_ZLIB_BUILTIN
="#"
39636 if test "x$SHARED" = "x0" -a "x$wxUSE_ZLIB" = "xbuiltin" ; then
39637 COND_SHARED_0_WXUSE_ZLIB_BUILTIN
=""
39641 if test "x$SHARED" = "x1" ; then
39645 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1
="#"
39646 if test "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
39647 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1
=""
39650 COND_TOOLKIT_COCOA
="#"
39651 if test "x$TOOLKIT" = "xCOCOA" ; then
39652 COND_TOOLKIT_COCOA
=""
39655 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0
="#"
39656 if test "x$TOOLKIT" = "xCOCOA" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
39657 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0
=""
39660 COND_TOOLKIT_GTK
="#"
39661 if test "x$TOOLKIT" = "xGTK" ; then
39662 COND_TOOLKIT_GTK
=""
39665 COND_TOOLKIT_GTK_USE_GUI_1
="#"
39666 if test "x$TOOLKIT" = "xGTK" -a "x$USE_GUI" = "x1" ; then
39667 COND_TOOLKIT_GTK_USE_GUI_1
=""
39670 COND_TOOLKIT_GTK_USE_GUI_1_WXUNIV_0
="#"
39671 if test "x$TOOLKIT" = "xGTK" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
39672 COND_TOOLKIT_GTK_USE_GUI_1_WXUNIV_0
=""
39675 COND_TOOLKIT_MAC
="#"
39676 if test "x$TOOLKIT" = "xMAC" ; then
39677 COND_TOOLKIT_MAC
=""
39680 COND_TOOLKIT_MAC_USE_GUI_1
="#"
39681 if test "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" ; then
39682 COND_TOOLKIT_MAC_USE_GUI_1
=""
39685 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0
="#"
39686 if test "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
39687 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0
=""
39690 COND_TOOLKIT_MGL
="#"
39691 if test "x$TOOLKIT" = "xMGL" ; then
39692 COND_TOOLKIT_MGL
=""
39695 COND_TOOLKIT_MGL_USE_GUI_1
="#"
39696 if test "x$TOOLKIT" = "xMGL" -a "x$USE_GUI" = "x1" ; then
39697 COND_TOOLKIT_MGL_USE_GUI_1
=""
39700 COND_TOOLKIT_MOTIF
="#"
39701 if test "x$TOOLKIT" = "xMOTIF" ; then
39702 COND_TOOLKIT_MOTIF
=""
39705 COND_TOOLKIT_MOTIF_USE_GUI_1
="#"
39706 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" ; then
39707 COND_TOOLKIT_MOTIF_USE_GUI_1
=""
39710 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0
="#"
39711 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
39712 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0
=""
39715 COND_TOOLKIT_MSW
="#"
39716 if test "x$TOOLKIT" = "xMSW" ; then
39717 COND_TOOLKIT_MSW
=""
39720 COND_TOOLKIT_MSW_USE_GUI_1
="#"
39721 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" ; then
39722 COND_TOOLKIT_MSW_USE_GUI_1
=""
39725 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0
="#"
39726 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
39727 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0
=""
39730 COND_TOOLKIT_PM
="#"
39731 if test "x$TOOLKIT" = "xPM" ; then
39735 COND_TOOLKIT_PM_USE_GUI_1
="#"
39736 if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" ; then
39737 COND_TOOLKIT_PM_USE_GUI_1
=""
39740 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0
="#"
39741 if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
39742 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0
=""
39745 COND_TOOLKIT_X11
="#"
39746 if test "x$TOOLKIT" = "xX11" ; then
39747 COND_TOOLKIT_X11
=""
39750 COND_TOOLKIT_X11_USE_GUI_1
="#"
39751 if test "x$TOOLKIT" = "xX11" -a "x$USE_GUI" = "x1" ; then
39752 COND_TOOLKIT_X11_USE_GUI_1
=""
39756 if test "x$UNICODE" = "x1" ; then
39760 COND_USE_EXCEPTIONS_0
="#"
39761 if test "x$USE_EXCEPTIONS" = "x0" ; then
39762 COND_USE_EXCEPTIONS_0
=""
39765 COND_USE_EXCEPTIONS_1
="#"
39766 if test "x$USE_EXCEPTIONS" = "x1" ; then
39767 COND_USE_EXCEPTIONS_1
=""
39771 if test "x$USE_GUI" = "x0" ; then
39776 if test "x$USE_GUI" = "x1" ; then
39780 COND_USE_GUI_1_WXUNIV_0
="#"
39781 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
39782 COND_USE_GUI_1_WXUNIV_0
=""
39785 COND_USE_GUI_1_WXUNIV_1
="#"
39786 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x1" ; then
39787 COND_USE_GUI_1_WXUNIV_1
=""
39790 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN
="#"
39791 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
39792 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN
=""
39795 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN
="#"
39796 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
39797 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN
=""
39800 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN
="#"
39801 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
39802 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN
=""
39805 COND_USE_ODBC_1
="#"
39806 if test "x$USE_ODBC" = "x1" ; then
39810 COND_USE_PLUGINS_0
="#"
39811 if test "x$USE_PLUGINS" = "x0" ; then
39812 COND_USE_PLUGINS_0
=""
39815 COND_USE_SOSYMLINKS_1
="#"
39816 if test "x$USE_SOSYMLINKS" = "x1" ; then
39817 COND_USE_SOSYMLINKS_1
=""
39820 COND_USE_SOVERLINUX_1
="#"
39821 if test "x$USE_SOVERLINUX" = "x1" ; then
39822 COND_USE_SOVERLINUX_1
=""
39825 COND_USE_SOVERSION_0
="#"
39826 if test "x$USE_SOVERSION" = "x0" ; then
39827 COND_USE_SOVERSION_0
=""
39830 COND_USE_SOVERSOLARIS_1
="#"
39831 if test "x$USE_SOVERSOLARIS" = "x1" ; then
39832 COND_USE_SOVERSOLARIS_1
=""
39835 COND_WITH_PLUGIN_SDL_1
="#"
39836 if test "x$WITH_PLUGIN_SDL" = "x1" ; then
39837 COND_WITH_PLUGIN_SDL_1
=""
39840 COND_WITH_SDL_1
="#"
39841 if test "x$WITH_SDL" = "x1" ; then
39846 if test "x$WXUNIV" = "x1" ; then
39850 COND_WXUSE_EXPAT_BUILTIN
="#"
39851 if test "x$wxUSE_EXPAT" = "xbuiltin" ; then
39852 COND_WXUSE_EXPAT_BUILTIN
=""
39855 COND_WXUSE_LIBJPEG_BUILTIN
="#"
39856 if test "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
39857 COND_WXUSE_LIBJPEG_BUILTIN
=""
39860 COND_WXUSE_LIBPNG_BUILTIN
="#"
39861 if test "x$wxUSE_LIBPNG" = "xbuiltin" ; then
39862 COND_WXUSE_LIBPNG_BUILTIN
=""
39865 COND_WXUSE_LIBTIFF_BUILTIN
="#"
39866 if test "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
39867 COND_WXUSE_LIBTIFF_BUILTIN
=""
39870 COND_WXUSE_ODBC_BUILTIN
="#"
39871 if test "x$wxUSE_ODBC" = "xbuiltin" ; then
39872 COND_WXUSE_ODBC_BUILTIN
=""
39875 COND_WXUSE_REGEX_BUILTIN
="#"
39876 if test "x$wxUSE_REGEX" = "xbuiltin" ; then
39877 COND_WXUSE_REGEX_BUILTIN
=""
39880 COND_WXUSE_ZLIB_BUILTIN
="#"
39881 if test "x$wxUSE_ZLIB" = "xbuiltin" ; then
39882 COND_WXUSE_ZLIB_BUILTIN
=""
39889 if test $GCC_PCH = 1 ; then
39890 CODE_GEN_FLAGS
="-DWX_PRECOMP -DNO_GCC_PRAGMA $CODE_GEN_FLAGS"
39891 CPPFLAGS
="-DWX_PRECOMP -DNO_GCC_PRAGMA $CPPFLAGS"
39894 powerpc
-*-darwin* )
39895 CODE_GEN_FLAGS
="-DNO_GCC_PRAGMA $CODE_GEN_FLAGS"
39896 CPPFLAGS
="-DNO_GCC_PRAGMA $CPPFLAGS"
39902 SAMPLES_SUBDIRS
="`echo $SAMPLES_SUBDIRS | tr -s ' ' | tr ' ' '\n' | sort | uniq | tr '\n' ' '| tr -d '\r'`"
40003 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
40004 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
40005 set dummy
${MAKE-make}; ac_make
=`echo "$2" | sed 'y,:./+-,___p_,'`
40006 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
40007 echo $ECHO_N "(cached) $ECHO_C" >&6
40009 cat >conftest.
make <<\_ACEOF
40011 @
echo 'ac_maketemp="$(MAKE)"'
40013 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
40014 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
40015 if test -n "$ac_maketemp"; then
40016 eval ac_cv_prog_make_
${ac_make}_set
=yes
40018 eval ac_cv_prog_make_
${ac_make}_set
=no
40020 rm -f conftest.
make
40022 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
40023 echo "$as_me:$LINENO: result: yes" >&5
40024 echo "${ECHO_T}yes" >&6
40027 echo "$as_me:$LINENO: result: no" >&5
40028 echo "${ECHO_T}no" >&6
40029 SET_MAKE
="MAKE=${MAKE-make}"
40033 if test -f lib
/wx
/include
/${TOOLCHAIN_NAME}/wx
/setup.h
; then
40034 mv -f lib
/wx
/include
/${TOOLCHAIN_NAME}/wx
/setup.h setup.h
40037 ac_config_headers
="$ac_config_headers setup.h"
40040 ac_config_files
="$ac_config_files wx-config version-script Makefile"
40043 ac_config_commands
="$ac_config_commands default"
40047 if test "$wxUSE_GUI" = "yes"; then
40048 SUBDIRS
="samples demos utils contrib"
40049 else SUBDIRS
="samples utils"
40054 # Check whether --with-cppunit-prefix or --without-cppunit-prefix was given.
40055 if test "${with_cppunit_prefix+set}" = set; then
40056 withval
="$with_cppunit_prefix"
40057 cppunit_config_prefix
="$withval"
40059 cppunit_config_prefix
=""
40062 # Check whether --with-cppunit-exec-prefix or --without-cppunit-exec-prefix was given.
40063 if test "${with_cppunit_exec_prefix+set}" = set; then
40064 withval
="$with_cppunit_exec_prefix"
40065 cppunit_config_exec_prefix
="$withval"
40067 cppunit_config_exec_prefix
=""
40070 if test x
$cppunit_config_exec_prefix != x
; then
40071 cppunit_config_args
="$cppunit_config_args --exec-prefix=$cppunit_config_exec_prefix"
40072 if test x
${CPPUNIT_CONFIG+set} != xset
; then
40073 CPPUNIT_CONFIG
=$cppunit_config_exec_prefix/bin
/cppunit
-config
40076 if test x
$cppunit_config_prefix != x
; then
40077 cppunit_config_args
="$cppunit_config_args --prefix=$cppunit_config_prefix"
40078 if test x
${CPPUNIT_CONFIG+set} != xset
; then
40079 CPPUNIT_CONFIG
=$cppunit_config_prefix/bin
/cppunit
-config
40083 # Extract the first word of "cppunit-config", so it can be a program name with args.
40084 set dummy cppunit
-config; ac_word
=$2
40085 echo "$as_me:$LINENO: checking for $ac_word" >&5
40086 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
40087 if test "${ac_cv_path_CPPUNIT_CONFIG+set}" = set; then
40088 echo $ECHO_N "(cached) $ECHO_C" >&6
40090 case $CPPUNIT_CONFIG in
40092 ac_cv_path_CPPUNIT_CONFIG
="$CPPUNIT_CONFIG" # Let the user override the test with a path.
40095 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
40096 for as_dir
in $PATH
40099 test -z "$as_dir" && as_dir
=.
40100 for ac_exec_ext
in '' $ac_executable_extensions; do
40101 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
40102 ac_cv_path_CPPUNIT_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
40103 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
40109 test -z "$ac_cv_path_CPPUNIT_CONFIG" && ac_cv_path_CPPUNIT_CONFIG
="no"
40113 CPPUNIT_CONFIG
=$ac_cv_path_CPPUNIT_CONFIG
40115 if test -n "$CPPUNIT_CONFIG"; then
40116 echo "$as_me:$LINENO: result: $CPPUNIT_CONFIG" >&5
40117 echo "${ECHO_T}$CPPUNIT_CONFIG" >&6
40119 echo "$as_me:$LINENO: result: no" >&5
40120 echo "${ECHO_T}no" >&6
40123 cppunit_version_min
=1.8.0
40125 echo "$as_me:$LINENO: checking for Cppunit - version >= $cppunit_version_min" >&5
40126 echo $ECHO_N "checking for Cppunit - version >= $cppunit_version_min... $ECHO_C" >&6
40128 if test "$CPPUNIT_CONFIG" = "no" ; then
40131 CPPUNIT_CFLAGS
=`$CPPUNIT_CONFIG --cflags`
40132 CPPUNIT_LIBS
=`$CPPUNIT_CONFIG --libs`
40133 cppunit_version
=`$CPPUNIT_CONFIG --version`
40135 cppunit_major_version
=`echo $cppunit_version | \
40136 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
40137 cppunit_minor_version
=`echo $cppunit_version | \
40138 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
40139 cppunit_micro_version
=`echo $cppunit_version | \
40140 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
40142 cppunit_major_min
=`echo $cppunit_version_min | \
40143 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
40144 cppunit_minor_min
=`echo $cppunit_version_min | \
40145 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
40146 cppunit_micro_min
=`echo $cppunit_version_min | \
40147 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
40149 cppunit_version_proper
=`expr \
40150 $cppunit_major_version \> $cppunit_major_min \| \
40151 $cppunit_major_version \= $cppunit_major_min \& \
40152 $cppunit_minor_version \> $cppunit_minor_min \| \
40153 $cppunit_major_version \= $cppunit_major_min \& \
40154 $cppunit_minor_version \= $cppunit_minor_min \& \
40155 $cppunit_micro_version \>= $cppunit_micro_min `
40157 if test "$cppunit_version_proper" = "1" ; then
40158 echo "$as_me:$LINENO: result: $cppunit_major_version.$cppunit_minor_version.$cppunit_micro_version" >&5
40159 echo "${ECHO_T}$cppunit_major_version.$cppunit_minor_version.$cppunit_micro_version" >&6
40161 echo "$as_me:$LINENO: result: no" >&5
40162 echo "${ECHO_T}no" >&6
40167 if test "x$no_cppunit" = x
; then
40168 SUBDIRS
="$SUBDIRS tests"
40179 for subdir
in `echo $SUBDIRS`; do
40180 if test -d ${srcdir}/${subdir} ; then
40181 if test "$wxUSE_GUI" = "yes"; then
40182 if test ${subdir} = "samples"; then
40183 makefiles
="samples/Makefile.in $makefiles"
40184 for sample
in `echo $SAMPLES_SUBDIRS`; do
40185 if test -d $srcdir/samples
/$sample; then
40186 makefiles
="samples/$sample/Makefile.in $makefiles"
40189 else makefiles
=`(cd $srcdir ; find $subdir -name Makefile.in)`
40191 else if test ${subdir} = "samples"; then
40192 makefiles
="samples/Makefile.in samples/console/Makefile.in"
40193 elif test ${subdir} = "utils"; then
40194 makefiles
="utils/HelpGen/Makefile.in \
40195 utils/HelpGen/src/Makefile.in \
40196 utils/tex2rtf/Makefile.in \
40197 utils/tex2rtf/src/Makefile.in"
40198 else makefiles
=`(cd $srcdir ; find $subdir -name Makefile.in)`
40202 for mkin
in $makefiles ; do
40203 mk
=`echo $mkin | sed 's/Makefile\.in/Makefile/g'`
40204 ac_config_files
="$ac_config_files $mk"
40211 cat >confcache
<<\_ACEOF
40212 # This file is a shell script that caches the results of configure
40213 # tests run on this system so they can be shared between configure
40214 # scripts and configure runs, see configure's option --config-cache.
40215 # It is not useful on other systems. If it contains results you don't
40216 # want to keep, you may remove or edit it.
40218 # config.status only pays attention to the cache file if you give it
40219 # the --recheck option to rerun configure.
40221 # `ac_cv_env_foo' variables (set or unset) will be overridden when
40222 # loading this file, other *unset* `ac_cv_foo' will be assigned the
40223 # following values.
40227 # The following way of writing the cache mishandles newlines in values,
40228 # but we know of no workaround that is simple, portable, and efficient.
40229 # So, don't put newlines in cache variables' values.
40230 # Ultrix sh set writes to stderr and can't be redirected directly,
40231 # and sets the high bit in the cache file unless we assign to the vars.
40234 case `(ac_space=' '; set | grep ac_space) 2>&1` in
40236 # `set' does not quote correctly, so add quotes (double-quote
40237 # substitution turns \\\\ into \\, and sed turns \\ into \).
40240 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
40243 # `set' quotes correctly as required by POSIX, so do not add quotes.
40245 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
40252 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
40254 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
40256 if diff $cache_file confcache
>/dev
/null
2>&1; then :; else
40257 if test -w $cache_file; then
40258 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
40259 cat confcache
>$cache_file
40261 echo "not updating unwritable cache $cache_file"
40266 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
40267 # Let make expand exec_prefix.
40268 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
40270 # VPATH may cause trouble with some makes, so we remove $(srcdir),
40271 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
40272 # trailing colons and then remove the whole line if VPATH becomes empty
40273 # (actually we leave an empty line to preserve line numbers).
40274 if test "x$srcdir" = x.
; then
40275 ac_vpsub
='/^[ ]*VPATH[ ]*=/{
40276 s/:*\$(srcdir):*/:/;
40277 s/:*\${srcdir}:*/:/;
40279 s/^\([^=]*=[ ]*\):*/\1/;
40285 DEFS
=-DHAVE_CONFIG_H
40289 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
40290 # 1. Remove the extension, and $U if already installed.
40291 ac_i
=`echo "$ac_i" |
40292 sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
40294 ac_libobjs
="$ac_libobjs $ac_i\$U.$ac_objext"
40295 ac_ltlibobjs
="$ac_ltlibobjs $ac_i"'$U.lo'
40297 LIBOBJS
=$ac_libobjs
40299 LTLIBOBJS
=$ac_ltlibobjs
40303 : ${CONFIG_STATUS=./config.status}
40304 ac_clean_files_save
=$ac_clean_files
40305 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
40306 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
40307 echo "$as_me: creating $CONFIG_STATUS" >&6;}
40308 cat >$CONFIG_STATUS <<_ACEOF
40310 # Generated by $as_me.
40311 # Run this file to recreate the current configuration.
40312 # Compiler output produced by configure, useful for debugging
40313 # configure, is in config.log if it exists.
40316 ac_cs_recheck=false
40318 SHELL=\${CONFIG_SHELL-$SHELL}
40321 cat >>$CONFIG_STATUS <<\_ACEOF
40322 ## --------------------- ##
40323 ## M4sh Initialization. ##
40324 ## --------------------- ##
40326 # Be Bourne compatible
40327 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
40330 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
40331 # is contrary to our usage. Disable this feature.
40332 alias -g '${1+"$@"}'='"$@"'
40333 elif test -n "${BASH_VERSION+set}" && (set -o posix
) >/dev
/null
2>&1; then
40336 DUALCASE
=1; export DUALCASE
# for MKS sh
40338 # Support unset when possible.
40339 if ( (MAIL
=60; unset MAIL
) || exit) >/dev
/null
2>&1; then
40346 # Work around bugs in pre-3.0 UWIN ksh.
40347 $as_unset ENV MAIL MAILPATH
40354 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
40355 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
40356 LC_TELEPHONE LC_TIME
40358 if (set +x
; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
40359 eval $as_var=C
; export $as_var
40365 # Required to use basename.
40366 if expr a
: '\(a\)' >/dev
/null
2>&1; then
40372 if (basename /) >/dev
/null
2>&1 && test "X`basename / 2>&1`" = "X/"; then
40373 as_basename
=basename
40379 # Name of the executable.
40380 as_me
=`$as_basename "$0" ||
40381 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
40382 X"$0" : 'X\(//\)$' \| \
40383 X"$0" : 'X\(/\)$' \| \
40384 . : '\(.\)' 2>/dev/null ||
40386 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
40387 /^X\/\(\/\/\)$/{ s//\1/; q; }
40388 /^X\/\(\/\).*/{ s//\1/; q; }
40392 # PATH needs CR, and LINENO needs CR and PATH.
40393 # Avoid depending upon Character Ranges.
40394 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
40395 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
40396 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
40397 as_cr_digits
='0123456789'
40398 as_cr_alnum
=$as_cr_Letters$as_cr_digits
40400 # The user is always right.
40401 if test "${PATH_SEPARATOR+set}" != set; then
40402 echo "#! /bin/sh" >conf$$.sh
40403 echo "exit 0" >>conf$$.sh
40405 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
40414 as_lineno_1
=$LINENO
40415 as_lineno_2
=$LINENO
40416 as_lineno_3
=`(expr $as_lineno_1 + 1) 2>/dev/null`
40417 test "x$as_lineno_1" != "x$as_lineno_2" &&
40418 test "x$as_lineno_3" = "x$as_lineno_2" || {
40419 # Find who we are. Look in the path if we contain no path at all
40422 *[\\/]* ) as_myself
=$0 ;;
40423 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
40424 for as_dir
in $PATH
40427 test -z "$as_dir" && as_dir
=.
40428 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
40433 # We did not find ourselves, most probably we were run as `sh COMMAND'
40434 # in which case we are not to be found in the path.
40435 if test "x$as_myself" = x
; then
40438 if test ! -f "$as_myself"; then
40439 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
40440 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
40441 { (exit 1); exit 1; }; }
40443 case $CONFIG_SHELL in
40445 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
40446 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
40449 test -z "$as_dir" && as_dir
=.
40450 for as_base
in sh bash ksh sh5
; do
40453 if ("$as_dir/$as_base" -c '
40454 as_lineno_1=$LINENO
40455 as_lineno_2=$LINENO
40456 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
40457 test "x$as_lineno_1" != "x$as_lineno_2" &&
40458 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev
/null
; then
40459 $as_unset BASH_ENV
|| test "${BASH_ENV+set}" != set || { BASH_ENV
=; export BASH_ENV
; }
40460 $as_unset ENV
|| test "${ENV+set}" != set || { ENV
=; export ENV
; }
40461 CONFIG_SHELL
=$as_dir/$as_base
40462 export CONFIG_SHELL
40463 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
40471 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
40472 # uniformly replaced by the line number. The first 'sed' inserts a
40473 # line-number line before each line; the second 'sed' does the real
40474 # work. The second script uses 'N' to pair each line-number line
40475 # with the numbered line, and appends trailing '-' during
40476 # substitution so that $LINENO is not a special case at line end.
40477 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
40478 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
40479 sed '=' <$as_myself |
40484 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
40487 s,^['$as_cr_digits']*\n,,
40488 ' >$as_me.lineno
&&
40489 chmod +x
$as_me.lineno
||
40490 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
40491 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
40492 { (exit 1); exit 1; }; }
40494 # Don't try to exec as it changes $[0], causing all sort of problems
40495 # (the dirname of $[0] is not the place where we might find the
40496 # original and so on. Autoconf is especially sensible to this).
40498 # Exit status is that of the last command.
40503 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
40504 *c
*,-n*) ECHO_N
= ECHO_C
='
40506 *c
*,* ) ECHO_N
=-n ECHO_C
= ECHO_T
= ;;
40507 *) ECHO_N
= ECHO_C
='\c' ECHO_T
= ;;
40510 if expr a
: '\(a\)' >/dev
/null
2>&1; then
40516 rm -f conf$$ conf$$.exe conf$$.
file
40518 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
40519 # We could just check for DJGPP; but this test a) works b) is more generic
40520 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
40521 if test -f conf$$.exe
; then
40522 # Don't use ln at all; we don't have any links
40527 elif ln conf$$.
file conf$$
2>/dev
/null
; then
40532 rm -f conf$$ conf$$.exe conf$$.
file
40534 if mkdir -p .
2>/dev
/null
; then
40537 test -d .
/-p && rmdir .
/-p
40541 as_executable_p
="test -f"
40543 # Sed expression to map a string onto a valid CPP name.
40544 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
40546 # Sed expression to map a string onto a valid variable name.
40547 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
40551 # We need space, tab and new line, in precisely that order.
40561 # Open the log real soon, to keep \$[0] and so on meaningful, and to
40562 # report actual input values of CONFIG_FILES etc. instead of their
40563 # values after options handling. Logging --version etc. is OK.
40567 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
40568 ## Running $as_me. ##
40573 This file was extended by wxWindows $as_me 2.5.1, which was
40574 generated by GNU Autoconf 2.59. Invocation command line was
40576 CONFIG_FILES = $CONFIG_FILES
40577 CONFIG_HEADERS = $CONFIG_HEADERS
40578 CONFIG_LINKS = $CONFIG_LINKS
40579 CONFIG_COMMANDS = $CONFIG_COMMANDS
40583 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
40587 # Files that config.status was made for.
40588 if test -n "$ac_config_files"; then
40589 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
40592 if test -n "$ac_config_headers"; then
40593 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
40596 if test -n "$ac_config_links"; then
40597 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
40600 if test -n "$ac_config_commands"; then
40601 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
40604 cat >>$CONFIG_STATUS <<\_ACEOF
40607 \`$as_me' instantiates files from templates according to the
40608 current configuration.
40610 Usage: $0 [OPTIONS] [FILE]...
40612 -h, --help print this help, then exit
40613 -V, --version print version number, then exit
40614 -q, --quiet do not print progress messages
40615 -d, --debug don't remove temporary files
40616 --recheck update $as_me by reconfiguring in the same conditions
40617 --file=FILE[:TEMPLATE]
40618 instantiate the configuration file FILE
40619 --header=FILE[:TEMPLATE]
40620 instantiate the configuration header FILE
40622 Configuration files:
40625 Configuration headers:
40628 Configuration commands:
40631 Report bugs to <bug-autoconf@gnu.org>."
40634 cat >>$CONFIG_STATUS <<_ACEOF
40636 wxWindows config.status 2.5.1
40637 configured by $0, generated by GNU Autoconf 2.59,
40638 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
40640 Copyright (C) 2003 Free Software Foundation, Inc.
40641 This config.status script is free software; the Free Software Foundation
40642 gives unlimited permission to copy, distribute and modify it."
40647 cat >>$CONFIG_STATUS <<\_ACEOF
40648 # If no file are specified by the user, then we need to provide default
40649 # value. By we need to know if files were specified by the user.
40655 ac_option
=`expr "x$1" : 'x\([^=]*\)='`
40656 ac_optarg
=`expr "x$1" : 'x[^=]*=\(.*\)'`
40664 *) # This is not an option, so the user has probably given explicit
40667 ac_need_defaults
=false
;;
40671 # Handling of the options.
40673 cat >>$CONFIG_STATUS <<\_ACEOF
40674 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
40676 --version | --vers* | -V )
40677 echo "$ac_cs_version"; exit 0 ;;
40679 # Conflict between --help and --header
40680 { { echo "$as_me:$LINENO: error: ambiguous option: $1
40681 Try \`$0 --help' for more information." >&5
40682 echo "$as_me: error: ambiguous option: $1
40683 Try \`$0 --help' for more information." >&2;}
40684 { (exit 1); exit 1; }; };;
40685 --help | --hel | -h )
40686 echo "$ac_cs_usage"; exit 0 ;;
40687 --debug | --d* | -d )
40689 --file | --fil | --fi | --f )
40691 CONFIG_FILES
="$CONFIG_FILES $ac_optarg"
40692 ac_need_defaults
=false
;;
40693 --header | --heade | --head | --hea )
40695 CONFIG_HEADERS
="$CONFIG_HEADERS $ac_optarg"
40696 ac_need_defaults
=false
;;
40697 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
40698 | -silent | --silent | --silen | --sile | --sil | --si | --s)
40701 # This is an error.
40702 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
40703 Try \`$0 --help' for more information." >&5
40704 echo "$as_me: error: unrecognized option: $1
40705 Try \`$0 --help' for more information." >&2;}
40706 { (exit 1); exit 1; }; } ;;
40708 *) ac_config_targets
="$ac_config_targets $1" ;;
40714 ac_configure_extra_args
=
40716 if $ac_cs_silent; then
40718 ac_configure_extra_args
="$ac_configure_extra_args --silent"
40722 cat >>$CONFIG_STATUS <<_ACEOF
40723 if \$ac_cs_recheck; then
40724 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
40725 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
40730 cat >>$CONFIG_STATUS <<_ACEOF
40732 # INIT-COMMANDS section.
40736 TOOLCHAIN_NAME="${TOOLCHAIN_NAME}"
40745 cat >>$CONFIG_STATUS <<\_ACEOF
40746 for ac_config_target
in $ac_config_targets
40748 case "$ac_config_target" in
40749 # Handling of arguments.
40750 "wx-config" ) CONFIG_FILES
="$CONFIG_FILES wx-config" ;;
40751 "version-script" ) CONFIG_FILES
="$CONFIG_FILES version-script" ;;
40752 "Makefile" ) CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
40753 "$mk" ) CONFIG_FILES
="$CONFIG_FILES $mk" ;;
40754 "default" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS default" ;;
40755 "setup.h" ) CONFIG_HEADERS
="$CONFIG_HEADERS setup.h" ;;
40756 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
40757 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
40758 { (exit 1); exit 1; }; };;
40762 # If the user did not use the arguments to specify the items to instantiate,
40763 # then the envvar interface is used. Set only those that are not.
40764 # We use the long form for the default assignment because of an extremely
40765 # bizarre bug on SunOS 4.1.3.
40766 if $ac_need_defaults; then
40767 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
40768 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
40769 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
40772 # Have a temporary directory for convenience. Make it in the build tree
40773 # simply because there is no reason to put it here, and in addition,
40774 # creating and moving files from /tmp can sometimes cause problems.
40775 # Create a temporary directory, and hook for its removal unless debugging.
40778 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
40779 trap '{ (exit 1); exit 1; }' 1 2 13 15
40782 # Create a (secure) tmp directory for tmp files.
40785 tmp
=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
40786 test -n "$tmp" && test -d "$tmp"
40789 tmp
=.
/confstat$$
-$RANDOM
40790 (umask 077 && mkdir $tmp)
40793 echo "$me: cannot create a temporary directory in ." >&2
40794 { (exit 1); exit 1; }
40799 cat >>$CONFIG_STATUS <<_ACEOF
40802 # CONFIG_FILES section.
40805 # No need to generate the scripts if there are no CONFIG_FILES.
40806 # This happens for instance when ./config.status config.h
40807 if test -n "\$CONFIG_FILES"; then
40808 # Protect against being on the right side of a sed subst in config.status.
40809 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
40810 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
40811 s,@SHELL@,$SHELL,;t t
40812 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
40813 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
40814 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
40815 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
40816 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
40817 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
40818 s,@exec_prefix@,$exec_prefix,;t t
40819 s,@prefix@,$prefix,;t t
40820 s,@program_transform_name@,$program_transform_name,;t t
40821 s,@bindir@,$bindir,;t t
40822 s,@sbindir@,$sbindir,;t t
40823 s,@libexecdir@,$libexecdir,;t t
40824 s,@datadir@,$datadir,;t t
40825 s,@sysconfdir@,$sysconfdir,;t t
40826 s,@sharedstatedir@,$sharedstatedir,;t t
40827 s,@localstatedir@,$localstatedir,;t t
40828 s,@libdir@,$libdir,;t t
40829 s,@includedir@,$includedir,;t t
40830 s,@oldincludedir@,$oldincludedir,;t t
40831 s,@infodir@,$infodir,;t t
40832 s,@mandir@,$mandir,;t t
40833 s,@build_alias@,$build_alias,;t t
40834 s,@host_alias@,$host_alias,;t t
40835 s,@target_alias@,$target_alias,;t t
40836 s,@DEFS@,$DEFS,;t t
40837 s,@ECHO_C@,$ECHO_C,;t t
40838 s,@ECHO_N@,$ECHO_N,;t t
40839 s,@ECHO_T@,$ECHO_T,;t t
40840 s,@LIBS@,$LIBS,;t t
40841 s,@build@,$build,;t t
40842 s,@build_cpu@,$build_cpu,;t t
40843 s,@build_vendor@,$build_vendor,;t t
40844 s,@build_os@,$build_os,;t t
40845 s,@host@,$host,;t t
40846 s,@host_cpu@,$host_cpu,;t t
40847 s,@host_vendor@,$host_vendor,;t t
40848 s,@host_os@,$host_os,;t t
40849 s,@target@,$target,;t t
40850 s,@target_cpu@,$target_cpu,;t t
40851 s,@target_vendor@,$target_vendor,;t t
40852 s,@target_os@,$target_os,;t t
40854 s,@CFLAGS@,$CFLAGS,;t t
40855 s,@LDFLAGS@,$LDFLAGS,;t t
40856 s,@CPPFLAGS@,$CPPFLAGS,;t t
40857 s,@ac_ct_CC@,$ac_ct_CC,;t t
40858 s,@EXEEXT@,$EXEEXT,;t t
40859 s,@OBJEXT@,$OBJEXT,;t t
40861 s,@EGREP@,$EGREP,;t t
40863 s,@CXXFLAGS@,$CXXFLAGS,;t t
40864 s,@ac_ct_CXX@,$ac_ct_CXX,;t t
40865 s,@RANLIB@,$RANLIB,;t t
40866 s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
40868 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
40869 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
40870 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
40871 s,@STRIP@,$STRIP,;t t
40872 s,@IF_GNU_MAKE@,$IF_GNU_MAKE,;t t
40873 s,@LN_S@,$LN_S,;t t
40874 s,@CXXCPP@,$CXXCPP,;t t
40875 s,@subdirs@,$subdirs,;t t
40876 s,@PKG_CONFIG@,$PKG_CONFIG,;t t
40877 s,@GTK_CFLAGS@,$GTK_CFLAGS,;t t
40878 s,@GTK_LIBS@,$GTK_LIBS,;t t
40879 s,@GTK_CONFIG@,$GTK_CONFIG,;t t
40880 s,@PANGOFT2_CFLAGS@,$PANGOFT2_CFLAGS,;t t
40881 s,@PANGOFT2_LIBS@,$PANGOFT2_LIBS,;t t
40882 s,@X_CFLAGS@,$X_CFLAGS,;t t
40883 s,@X_PRE_LIBS@,$X_PRE_LIBS,;t t
40884 s,@X_LIBS@,$X_LIBS,;t t
40885 s,@X_EXTRA_LIBS@,$X_EXTRA_LIBS,;t t
40886 s,@PANGOX_CFLAGS@,$PANGOX_CFLAGS,;t t
40887 s,@PANGOX_LIBS@,$PANGOX_LIBS,;t t
40888 s,@PANGOXFT_CFLAGS@,$PANGOXFT_CFLAGS,;t t
40889 s,@PANGOXFT_LIBS@,$PANGOXFT_LIBS,;t t
40890 s,@RESCOMP@,$RESCOMP,;t t
40891 s,@DEREZ@,$DEREZ,;t t
40892 s,@SETFILE@,$SETFILE,;t t
40893 s,@LIBICONV@,$LIBICONV,;t t
40894 s,@EXTRALIBS_ESD@,$EXTRALIBS_ESD,;t t
40895 s,@SDL_CONFIG@,$SDL_CONFIG,;t t
40896 s,@SDL_CFLAGS@,$SDL_CFLAGS,;t t
40897 s,@SDL_LIBS@,$SDL_LIBS,;t t
40898 s,@CORE_BASE_LIBS@,$CORE_BASE_LIBS,;t t
40899 s,@CORE_GUI_LIBS@,$CORE_GUI_LIBS,;t t
40900 s,@wxUSE_ZLIB@,$wxUSE_ZLIB,;t t
40901 s,@wxUSE_REGEX@,$wxUSE_REGEX,;t t
40902 s,@wxUSE_EXPAT@,$wxUSE_EXPAT,;t t
40903 s,@wxUSE_ODBC@,$wxUSE_ODBC,;t t
40904 s,@wxUSE_LIBJPEG@,$wxUSE_LIBJPEG,;t t
40905 s,@wxUSE_LIBPNG@,$wxUSE_LIBPNG,;t t
40906 s,@wxUSE_LIBTIFF@,$wxUSE_LIBTIFF,;t t
40907 s,@VENDOR@,$VENDOR,;t t
40908 s,@OFFICIAL_BUILD@,$OFFICIAL_BUILD,;t t
40909 s,@WXUNIV@,$WXUNIV,;t t
40910 s,@MONOLITHIC@,$MONOLITHIC,;t t
40911 s,@USE_PLUGINS@,$USE_PLUGINS,;t t
40912 s,@EXTRALIBS@,$EXTRALIBS,;t t
40913 s,@EXTRALIBS_XML@,$EXTRALIBS_XML,;t t
40914 s,@EXTRALIBS_HTML@,$EXTRALIBS_HTML,;t t
40915 s,@EXTRALIBS_ODBC@,$EXTRALIBS_ODBC,;t t
40916 s,@EXTRALIBS_GUI@,$EXTRALIBS_GUI,;t t
40917 s,@EXTRALIBS_OPENGL@,$EXTRALIBS_OPENGL,;t t
40918 s,@EXTRALIBS_SDL@,$EXTRALIBS_SDL,;t t
40919 s,@WITH_PLUGIN_SDL@,$WITH_PLUGIN_SDL,;t t
40920 s,@UNICODE@,$UNICODE,;t t
40921 s,@BUILD@,$BUILD,;t t
40922 s,@DEBUG_INFO@,$DEBUG_INFO,;t t
40923 s,@DEBUG_FLAG@,$DEBUG_FLAG,;t t
40924 s,@SHARED@,$SHARED,;t t
40925 s,@TOOLKIT_LOWERCASE@,$TOOLKIT_LOWERCASE,;t t
40926 s,@TOOLKIT_VERSION@,$TOOLKIT_VERSION,;t t
40927 s,@SAMPLES_RPATH_FLAG@,$SAMPLES_RPATH_FLAG,;t t
40928 s,@SAMPLES_RPATH_POSTLINK@,$SAMPLES_RPATH_POSTLINK,;t t
40929 s,@HOST_SUFFIX@,$HOST_SUFFIX,;t t
40930 s,@CPPUNIT_CFLAGS@,$CPPUNIT_CFLAGS,;t t
40931 s,@CPPUNIT_LIBS@,$CPPUNIT_LIBS,;t t
40932 s,@SET_MAKE@,$SET_MAKE,;t t
40933 s,@MAKE_SET@,$MAKE_SET,;t t
40934 s,@ac_ct_AR@,$ac_ct_AR,;t t
40935 s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
40937 s,@ac_ct_NM@,$ac_ct_NM,;t t
40938 s,@INSTALL_DIR@,$INSTALL_DIR,;t t
40939 s,@LDFLAGS_GUI@,$LDFLAGS_GUI,;t t
40940 s,@PLATFORM_UNIX@,$PLATFORM_UNIX,;t t
40941 s,@PLATFORM_WIN32@,$PLATFORM_WIN32,;t t
40942 s,@PLATFORM_MSDOS@,$PLATFORM_MSDOS,;t t
40943 s,@PLATFORM_MAC@,$PLATFORM_MAC,;t t
40944 s,@PLATFORM_MACOSX@,$PLATFORM_MACOSX,;t t
40945 s,@PLATFORM_OS2@,$PLATFORM_OS2,;t t
40946 s,@SO_SUFFIX@,$SO_SUFFIX,;t t
40947 s,@SO_SUFFIX_MODULE@,$SO_SUFFIX_MODULE,;t t
40948 s,@LIBPREFIX@,$LIBPREFIX,;t t
40949 s,@DLLPREFIX@,$DLLPREFIX,;t t
40950 s,@DLLPREFIX_MODULE@,$DLLPREFIX_MODULE,;t t
40951 s,@AIX_CXX_LD@,$AIX_CXX_LD,;t t
40952 s,@SHARED_LD_CC@,$SHARED_LD_CC,;t t
40953 s,@SHARED_LD_CXX@,$SHARED_LD_CXX,;t t
40954 s,@SHARED_LD_MODULE_CC@,$SHARED_LD_MODULE_CC,;t t
40955 s,@SHARED_LD_MODULE_CXX@,$SHARED_LD_MODULE_CXX,;t t
40956 s,@PIC_FLAG@,$PIC_FLAG,;t t
40957 s,@USE_SOVERSION@,$USE_SOVERSION,;t t
40958 s,@USE_SOVERLINUX@,$USE_SOVERLINUX,;t t
40959 s,@USE_SOVERSOLARIS@,$USE_SOVERSOLARIS,;t t
40960 s,@USE_MACVERSION@,$USE_MACVERSION,;t t
40961 s,@USE_SOSYMLINKS@,$USE_SOSYMLINKS,;t t
40962 s,@SONAME_FLAG@,$SONAME_FLAG,;t t
40963 s,@DEPS_TRACKING@,$DEPS_TRACKING,;t t
40964 s,@GCC_PCH@,$GCC_PCH,;t t
40965 s,@COND_BUILD_DEBUG@,$COND_BUILD_DEBUG,;t t
40966 s,@COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT@,$COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT,;t t
40967 s,@COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT@,$COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT,;t t
40968 s,@COND_BUILD_DEBUG_UNICODE_0@,$COND_BUILD_DEBUG_UNICODE_0,;t t
40969 s,@COND_BUILD_DEBUG_UNICODE_1@,$COND_BUILD_DEBUG_UNICODE_1,;t t
40970 s,@COND_BUILD_RELEASE@,$COND_BUILD_RELEASE,;t t
40971 s,@COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT@,$COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT,;t t
40972 s,@COND_BUILD_RELEASE_UNICODE_0@,$COND_BUILD_RELEASE_UNICODE_0,;t t
40973 s,@COND_BUILD_RELEASE_UNICODE_1@,$COND_BUILD_RELEASE_UNICODE_1,;t t
40974 s,@COND_DEBUG_FLAG_1@,$COND_DEBUG_FLAG_1,;t t
40975 s,@COND_DEBUG_INFO_0@,$COND_DEBUG_INFO_0,;t t
40976 s,@COND_DEBUG_INFO_1@,$COND_DEBUG_INFO_1,;t t
40977 s,@COND_DEPS_TRACKING_0@,$COND_DEPS_TRACKING_0,;t t
40978 s,@COND_DEPS_TRACKING_1@,$COND_DEPS_TRACKING_1,;t t
40979 s,@COND_GCC_PCH_1@,$COND_GCC_PCH_1,;t t
40980 s,@COND_MONOLITHIC_0@,$COND_MONOLITHIC_0,;t t
40981 s,@COND_MONOLITHIC_0_SHARED_0@,$COND_MONOLITHIC_0_SHARED_0,;t t
40982 s,@COND_MONOLITHIC_0_SHARED_0_USE_GUI_1@,$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1,;t t
40983 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
40984 s,@COND_MONOLITHIC_0_SHARED_0_USE_HTML_1@,$COND_MONOLITHIC_0_SHARED_0_USE_HTML_1,;t t
40985 s,@COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1@,$COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1,;t t
40986 s,@COND_MONOLITHIC_0_SHARED_1@,$COND_MONOLITHIC_0_SHARED_1,;t t
40987 s,@COND_MONOLITHIC_0_SHARED_1_USE_GUI_1@,$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1,;t t
40988 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
40989 s,@COND_MONOLITHIC_0_SHARED_1_USE_HTML_1@,$COND_MONOLITHIC_0_SHARED_1_USE_HTML_1,;t t
40990 s,@COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1@,$COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1,;t t
40991 s,@COND_MONOLITHIC_0_USE_ODBC_1@,$COND_MONOLITHIC_0_USE_ODBC_1,;t t
40992 s,@COND_MONOLITHIC_1@,$COND_MONOLITHIC_1,;t t
40993 s,@COND_MONOLITHIC_1_SHARED_0@,$COND_MONOLITHIC_1_SHARED_0,;t t
40994 s,@COND_MONOLITHIC_1_SHARED_1@,$COND_MONOLITHIC_1_SHARED_1,;t t
40995 s,@COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1@,$COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1,;t t
40996 s,@COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1@,$COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1,;t t
40997 s,@COND_PLATFORM_MACOSX_0_USE_SOVERSION_1@,$COND_PLATFORM_MACOSX_0_USE_SOVERSION_1,;t t
40998 s,@COND_PLATFORM_MACOSX_1@,$COND_PLATFORM_MACOSX_1,;t t
40999 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA@,$COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA,;t t
41000 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_GTK@,$COND_PLATFORM_MACOSX_1_TOOLKIT_GTK,;t t
41001 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_MAC@,$COND_PLATFORM_MACOSX_1_TOOLKIT_MAC,;t t
41002 s,@COND_PLATFORM_MACOSX_1_USE_GUI_1@,$COND_PLATFORM_MACOSX_1_USE_GUI_1,;t t
41003 s,@COND_PLATFORM_MACOSX_1_USE_SOVERSION_1@,$COND_PLATFORM_MACOSX_1_USE_SOVERSION_1,;t t
41004 s,@COND_PLATFORM_MAC_1@,$COND_PLATFORM_MAC_1,;t t
41005 s,@COND_PLATFORM_OS2_1@,$COND_PLATFORM_OS2_1,;t t
41006 s,@COND_PLATFORM_UNIX_0@,$COND_PLATFORM_UNIX_0,;t t
41007 s,@COND_PLATFORM_UNIX_1@,$COND_PLATFORM_UNIX_1,;t t
41008 s,@COND_PLATFORM_UNIX_1_USE_GUI_1@,$COND_PLATFORM_UNIX_1_USE_GUI_1,;t t
41009 s,@COND_PLATFORM_UNIX_1_USE_PLUGINS_0@,$COND_PLATFORM_UNIX_1_USE_PLUGINS_0,;t t
41010 s,@COND_PLATFORM_WIN32_0@,$COND_PLATFORM_WIN32_0,;t t
41011 s,@COND_PLATFORM_WIN32_1@,$COND_PLATFORM_WIN32_1,;t t
41012 s,@COND_SHARED_0@,$COND_SHARED_0,;t t
41013 s,@COND_SHARED_0_USE_GUI_1_USE_OPENGL_1@,$COND_SHARED_0_USE_GUI_1_USE_OPENGL_1,;t t
41014 s,@COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN@,$COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN,;t t
41015 s,@COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN@,$COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN,;t t
41016 s,@COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN@,$COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN,;t t
41017 s,@COND_SHARED_0_WXUSE_EXPAT_BUILTIN@,$COND_SHARED_0_WXUSE_EXPAT_BUILTIN,;t t
41018 s,@COND_SHARED_0_WXUSE_ODBC_BUILTIN@,$COND_SHARED_0_WXUSE_ODBC_BUILTIN,;t t
41019 s,@COND_SHARED_0_WXUSE_REGEX_BUILTIN@,$COND_SHARED_0_WXUSE_REGEX_BUILTIN,;t t
41020 s,@COND_SHARED_0_WXUSE_ZLIB_BUILTIN@,$COND_SHARED_0_WXUSE_ZLIB_BUILTIN,;t t
41021 s,@COND_SHARED_1@,$COND_SHARED_1,;t t
41022 s,@COND_SHARED_1_USE_GUI_1_USE_OPENGL_1@,$COND_SHARED_1_USE_GUI_1_USE_OPENGL_1,;t t
41023 s,@COND_TOOLKIT_COCOA@,$COND_TOOLKIT_COCOA,;t t
41024 s,@COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0,;t t
41025 s,@COND_TOOLKIT_GTK@,$COND_TOOLKIT_GTK,;t t
41026 s,@COND_TOOLKIT_GTK_USE_GUI_1@,$COND_TOOLKIT_GTK_USE_GUI_1,;t t
41027 s,@COND_TOOLKIT_GTK_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_GTK_USE_GUI_1_WXUNIV_0,;t t
41028 s,@COND_TOOLKIT_MAC@,$COND_TOOLKIT_MAC,;t t
41029 s,@COND_TOOLKIT_MAC_USE_GUI_1@,$COND_TOOLKIT_MAC_USE_GUI_1,;t t
41030 s,@COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0,;t t
41031 s,@COND_TOOLKIT_MGL@,$COND_TOOLKIT_MGL,;t t
41032 s,@COND_TOOLKIT_MGL_USE_GUI_1@,$COND_TOOLKIT_MGL_USE_GUI_1,;t t
41033 s,@COND_TOOLKIT_MOTIF@,$COND_TOOLKIT_MOTIF,;t t
41034 s,@COND_TOOLKIT_MOTIF_USE_GUI_1@,$COND_TOOLKIT_MOTIF_USE_GUI_1,;t t
41035 s,@COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0,;t t
41036 s,@COND_TOOLKIT_MSW@,$COND_TOOLKIT_MSW,;t t
41037 s,@COND_TOOLKIT_MSW_USE_GUI_1@,$COND_TOOLKIT_MSW_USE_GUI_1,;t t
41038 s,@COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0,;t t
41039 s,@COND_TOOLKIT_PM@,$COND_TOOLKIT_PM,;t t
41040 s,@COND_TOOLKIT_PM_USE_GUI_1@,$COND_TOOLKIT_PM_USE_GUI_1,;t t
41041 s,@COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0,;t t
41042 s,@COND_TOOLKIT_X11@,$COND_TOOLKIT_X11,;t t
41043 s,@COND_TOOLKIT_X11_USE_GUI_1@,$COND_TOOLKIT_X11_USE_GUI_1,;t t
41044 s,@COND_UNICODE_1@,$COND_UNICODE_1,;t t
41045 s,@COND_USE_EXCEPTIONS_0@,$COND_USE_EXCEPTIONS_0,;t t
41046 s,@COND_USE_EXCEPTIONS_1@,$COND_USE_EXCEPTIONS_1,;t t
41047 s,@COND_USE_GUI_0@,$COND_USE_GUI_0,;t t
41048 s,@COND_USE_GUI_1@,$COND_USE_GUI_1,;t t
41049 s,@COND_USE_GUI_1_WXUNIV_0@,$COND_USE_GUI_1_WXUNIV_0,;t t
41050 s,@COND_USE_GUI_1_WXUNIV_1@,$COND_USE_GUI_1_WXUNIV_1,;t t
41051 s,@COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN@,$COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN,;t t
41052 s,@COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN@,$COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN,;t t
41053 s,@COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN@,$COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN,;t t
41054 s,@COND_USE_ODBC_1@,$COND_USE_ODBC_1,;t t
41055 s,@COND_USE_PLUGINS_0@,$COND_USE_PLUGINS_0,;t t
41056 s,@COND_USE_SOSYMLINKS_1@,$COND_USE_SOSYMLINKS_1,;t t
41057 s,@COND_USE_SOVERLINUX_1@,$COND_USE_SOVERLINUX_1,;t t
41058 s,@COND_USE_SOVERSION_0@,$COND_USE_SOVERSION_0,;t t
41059 s,@COND_USE_SOVERSOLARIS_1@,$COND_USE_SOVERSOLARIS_1,;t t
41060 s,@COND_WITH_PLUGIN_SDL_1@,$COND_WITH_PLUGIN_SDL_1,;t t
41061 s,@COND_WITH_SDL_1@,$COND_WITH_SDL_1,;t t
41062 s,@COND_WXUNIV_1@,$COND_WXUNIV_1,;t t
41063 s,@COND_WXUSE_EXPAT_BUILTIN@,$COND_WXUSE_EXPAT_BUILTIN,;t t
41064 s,@COND_WXUSE_LIBJPEG_BUILTIN@,$COND_WXUSE_LIBJPEG_BUILTIN,;t t
41065 s,@COND_WXUSE_LIBPNG_BUILTIN@,$COND_WXUSE_LIBPNG_BUILTIN,;t t
41066 s,@COND_WXUSE_LIBTIFF_BUILTIN@,$COND_WXUSE_LIBTIFF_BUILTIN,;t t
41067 s,@COND_WXUSE_ODBC_BUILTIN@,$COND_WXUSE_ODBC_BUILTIN,;t t
41068 s,@COND_WXUSE_REGEX_BUILTIN@,$COND_WXUSE_REGEX_BUILTIN,;t t
41069 s,@COND_WXUSE_ZLIB_BUILTIN@,$COND_WXUSE_ZLIB_BUILTIN,;t t
41070 s,@PATH_IFS@,$PATH_IFS,;t t
41071 s,@WX_MAJOR_VERSION_NUMBER@,$WX_MAJOR_VERSION_NUMBER,;t t
41072 s,@WX_MINOR_VERSION_NUMBER@,$WX_MINOR_VERSION_NUMBER,;t t
41073 s,@WX_RELEASE_NUMBER@,$WX_RELEASE_NUMBER,;t t
41074 s,@WX_LIBRARY_NAME_STATIC@,$WX_LIBRARY_NAME_STATIC,;t t
41075 s,@WX_LIBRARY_NAME_SHARED@,$WX_LIBRARY_NAME_SHARED,;t t
41076 s,@WX_LIBRARY_BASENAME_NOGUI@,$WX_LIBRARY_BASENAME_NOGUI,;t t
41077 s,@WX_LIBRARY_BASENAME_GUI@,$WX_LIBRARY_BASENAME_GUI,;t t
41078 s,@WX_LIBRARY_IMPORTLIB@,$WX_LIBRARY_IMPORTLIB,;t t
41079 s,@WX_TARGET_LIBRARY@,$WX_TARGET_LIBRARY,;t t
41080 s,@WX_LIBRARY_LINK1@,$WX_LIBRARY_LINK1,;t t
41081 s,@WX_LIBRARY_LINK2@,$WX_LIBRARY_LINK2,;t t
41082 s,@PROGRAM_EXT@,$PROGRAM_EXT,;t t
41083 s,@WX_LIBRARY_NAME_STATIC_GL@,$WX_LIBRARY_NAME_STATIC_GL,;t t
41084 s,@WX_LIBRARY_NAME_SHARED_GL@,$WX_LIBRARY_NAME_SHARED_GL,;t t
41085 s,@WX_TARGET_LIBRARY_GL@,$WX_TARGET_LIBRARY_GL,;t t
41086 s,@WX_LIBRARY_LINK1_GL@,$WX_LIBRARY_LINK1_GL,;t t
41087 s,@WX_LIBRARY_LINK2_GL@,$WX_LIBRARY_LINK2_GL,;t t
41088 s,@WX_ALL@,$WX_ALL,;t t
41089 s,@WX_ALL_INSTALLED@,$WX_ALL_INSTALLED,;t t
41090 s,@SHARED_LD@,$SHARED_LD,;t t
41091 s,@WX_TARGET_LIBRARY_TYPE@,$WX_TARGET_LIBRARY_TYPE,;t t
41092 s,@STATIC_FLAG@,$STATIC_FLAG,;t t
41093 s,@WXDEBUG_DEFINE@,$WXDEBUG_DEFINE,;t t
41094 s,@USE_GUI@,$USE_GUI,;t t
41095 s,@AFMINSTALL@,$AFMINSTALL,;t t
41096 s,@WIN32INSTALL@,$WIN32INSTALL,;t t
41097 s,@TOOLKIT@,$TOOLKIT,;t t
41098 s,@TOOLKIT_DIR@,$TOOLKIT_DIR,;t t
41099 s,@TOOLKIT_VPATH@,$TOOLKIT_VPATH,;t t
41100 s,@TOOLCHAIN_NAME@,$TOOLCHAIN_NAME,;t t
41101 s,@TOOLCHAIN_DEFS@,$TOOLCHAIN_DEFS,;t t
41102 s,@TOOLCHAIN_DLL_DEFS@,$TOOLCHAIN_DLL_DEFS,;t t
41103 s,@top_builddir_wxconfig@,$top_builddir_wxconfig,;t t
41104 s,@cross_compiling@,$cross_compiling,;t t
41105 s,@WXCONFIG_EXTRALIBS@,$WXCONFIG_EXTRALIBS,;t t
41106 s,@WXCONFIG_LIBS@,$WXCONFIG_LIBS,;t t
41107 s,@WXCONFIG_LIBS_GL@,$WXCONFIG_LIBS_GL,;t t
41108 s,@WXCONFIG_LIBS_STATIC@,$WXCONFIG_LIBS_STATIC,;t t
41109 s,@WXCONFIG_LIBS_STATIC_GL@,$WXCONFIG_LIBS_STATIC_GL,;t t
41110 s,@WXCONFIG_INCLUDE@,$WXCONFIG_INCLUDE,;t t
41111 s,@WXCONFIG_RPATH@,$WXCONFIG_RPATH,;t t
41112 s,@WXCONFIG_LDFLAGS_GUI@,$WXCONFIG_LDFLAGS_GUI,;t t
41113 s,@WX_LARGEFILE_FLAGS@,$WX_LARGEFILE_FLAGS,;t t
41114 s,@CODE_GEN_FLAGS@,$CODE_GEN_FLAGS,;t t
41115 s,@CODE_GEN_FLAGS_CXX@,$CODE_GEN_FLAGS_CXX,;t t
41116 s,@ALL_OBJECTS@,$ALL_OBJECTS,;t t
41117 s,@ALL_HEADERS@,$ALL_HEADERS,;t t
41118 s,@ALL_SOURCES@,$ALL_SOURCES,;t t
41119 s,@GUIDIST@,$GUIDIST,;t t
41120 s,@PORT_FILES@,$PORT_FILES,;t t
41121 s,@DISTDIR@,$DISTDIR,;t t
41122 s,@SAMPLES_SUBDIRS@,$SAMPLES_SUBDIRS,;t t
41123 s,@LDFLAGS_GL@,$LDFLAGS_GL,;t t
41124 s,@LDFLAGS_VERSIONING@,$LDFLAGS_VERSIONING,;t t
41125 s,@LDFLAGS_EXE@,$LDFLAGS_EXE,;t t
41126 s,@OPENGL_LIBS@,$OPENGL_LIBS,;t t
41127 s,@DMALLOC_LIBS@,$DMALLOC_LIBS,;t t
41128 s,@WX_VERSION_TAG@,$WX_VERSION_TAG,;t t
41129 s,@RESFLAGS@,$RESFLAGS,;t t
41130 s,@RESPROGRAMOBJ@,$RESPROGRAMOBJ,;t t
41131 s,@WX_RESOURCES_MACOSX_ASCII@,$WX_RESOURCES_MACOSX_ASCII,;t t
41132 s,@WX_RESOURCES_MACOSX_DATA@,$WX_RESOURCES_MACOSX_DATA,;t t
41133 s,@LIBWXMACRES@,$LIBWXMACRES,;t t
41134 s,@MACRESCOMP@,$MACRESCOMP,;t t
41135 s,@MACSETFILE@,$MACSETFILE,;t t
41136 s,@MACRESWXCONFIG@,$MACRESWXCONFIG,;t t
41138 s,@GCC_SEARCHES_USR_LOCAL_INCLUDE@,$GCC_SEARCHES_USR_LOCAL_INCLUDE,;t t
41139 s,@DLLTOOL@,$DLLTOOL,;t t
41142 s,@MAKEINFO@,$MAKEINFO,;t t
41143 s,@INSTALL_LIBRARY@,$INSTALL_LIBRARY,;t t
41144 s,@CPPUNIT_CONFIG@,$CPPUNIT_CONFIG,;t t
41145 s,@LIBOBJS@,$LIBOBJS,;t t
41146 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
41151 cat >>$CONFIG_STATUS <<\_ACEOF
41152 # Split the substitutions into bite-sized pieces for seds with
41153 # small command number limits, like on Digital OSF/1 and HP-UX.
41154 ac_max_sed_lines
=48
41155 ac_sed_frag
=1 # Number of current file.
41156 ac_beg
=1 # First line for current file.
41157 ac_end
=$ac_max_sed_lines # Line after last line for current file.
41160 while $ac_more_lines; do
41161 if test $ac_beg -gt 1; then
41162 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
41164 sed "${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
41166 if test ! -s $tmp/subs.frag
; then
41167 ac_more_lines
=false
41169 # The purpose of the label and of the branching condition is to
41170 # speed up the sed processing (if there are no `@' at all, there
41171 # is no need to browse any of the substitutions).
41172 # These are the two extra sed commands mentioned above.
41174 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag
) >$tmp/subs
-$ac_sed_frag.
sed
41175 if test -z "$ac_sed_cmds"; then
41176 ac_sed_cmds
="sed -f $tmp/subs-$ac_sed_frag.sed"
41178 ac_sed_cmds
="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
41180 ac_sed_frag
=`expr $ac_sed_frag + 1`
41182 ac_end
=`expr $ac_end + $ac_max_sed_lines`
41185 if test -z "$ac_sed_cmds"; then
41188 fi # test -n "$CONFIG_FILES"
41191 cat >>$CONFIG_STATUS <<\_ACEOF
41192 for ac_file
in : $CONFIG_FILES; do test "x$ac_file" = x
: && continue
41193 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
41195 - | *:- | *:-:* ) # input from stdin
41197 ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
41198 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
41199 *:* ) ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
41200 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
41201 * ) ac_file_in
=$ac_file.
in ;;
41204 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
41205 ac_dir
=`(dirname "$ac_file") 2>/dev/null ||
41206 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
41207 X"$ac_file" : 'X\(//\)[^/]' \| \
41208 X"$ac_file" : 'X\(//\)$' \| \
41209 X"$ac_file" : 'X\(/\)' \| \
41210 . : '\(.\)' 2>/dev/null ||
41212 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
41213 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
41214 /^X\(\/\/\)$/{ s//\1/; q; }
41215 /^X\(\/\).*/{ s//\1/; q; }
41217 { if $as_mkdir_p; then
41222 while test ! -d "$as_dir"; do
41223 as_dirs
="$as_dir $as_dirs"
41224 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
41225 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
41226 X"$as_dir" : 'X\(//\)[^/]' \| \
41227 X"$as_dir" : 'X\(//\)$' \| \
41228 X"$as_dir" : 'X\(/\)' \| \
41229 . : '\(.\)' 2>/dev/null ||
41231 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
41232 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
41233 /^X\(\/\/\)$/{ s//\1/; q; }
41234 /^X\(\/\).*/{ s//\1/; q; }
41237 test ! -n "$as_dirs" || mkdir $as_dirs
41238 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
41239 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
41240 { (exit 1); exit 1; }; }; }
41244 if test "$ac_dir" != .
; then
41245 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
41246 # A "../" for each directory in $ac_dir_suffix.
41247 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
41249 ac_dir_suffix
= ac_top_builddir
=
41253 .
) # No --srcdir option. We are building in place.
41255 if test -z "$ac_top_builddir"; then
41258 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
41260 [\\/]* | ?
:[\\/]* ) # Absolute path.
41261 ac_srcdir
=$srcdir$ac_dir_suffix;
41262 ac_top_srcdir
=$srcdir ;;
41263 *) # Relative path.
41264 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
41265 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
41268 # Do not use `cd foo && pwd` to compute absolute paths, because
41269 # the directories may not exist.
41271 .
) ac_abs_builddir
="$ac_dir";;
41274 .
) ac_abs_builddir
=`pwd`;;
41275 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
41276 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
41279 case $ac_abs_builddir in
41280 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
41282 case ${ac_top_builddir}.
in
41283 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
41284 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
41285 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
41288 case $ac_abs_builddir in
41289 .
) ac_abs_srcdir
=$ac_srcdir;;
41292 .
) ac_abs_srcdir
=$ac_abs_builddir;;
41293 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
41294 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
41297 case $ac_abs_builddir in
41298 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
41300 case $ac_top_srcdir in
41301 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
41302 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
41303 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
41309 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
41310 *) ac_INSTALL
=$ac_top_builddir$INSTALL ;;
41313 if test x
"$ac_file" != x
-; then
41314 { echo "$as_me:$LINENO: creating $ac_file" >&5
41315 echo "$as_me: creating $ac_file" >&6;}
41318 # Let's still pretend it is `configure' which instantiates (i.e., don't
41319 # use $as_me), people would be surprised to read:
41320 # /* config.h. Generated by config.status. */
41321 if test x
"$ac_file" = x
-; then
41324 configure_input
="$ac_file. "
41326 configure_input
=$configure_input"Generated from `echo $ac_file_in |
41327 sed 's,.*/,,'` by configure."
41329 # First look for the input files in the build tree, otherwise in the
41331 ac_file_inputs
=`IFS=:
41332 for f in $ac_file_in; do
41334 -) echo $tmp/stdin ;;
41336 # Absolute (can't be DOS-style, as IFS=:)
41337 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
41338 echo "$as_me: error: cannot find input file: $f" >&2;}
41339 { (exit 1); exit 1; }; }
41342 if test -f "$f"; then
41345 elif test -f "$srcdir/$f"; then
41350 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
41351 echo "$as_me: error: cannot find input file: $f" >&2;}
41352 { (exit 1); exit 1; }; }
41355 done` || { (exit 1); exit 1; }
41357 cat >>$CONFIG_STATUS <<_ACEOF
41361 cat >>$CONFIG_STATUS <<\_ACEOF
41363 /@
[a
-zA-Z_][a
-zA-Z_0-9]*@
/!b
41364 s
,@configure_input@
,$configure_input,;t t
41365 s
,@srcdir@
,$ac_srcdir,;t t
41366 s
,@abs_srcdir@
,$ac_abs_srcdir,;t t
41367 s
,@top_srcdir@
,$ac_top_srcdir,;t t
41368 s
,@abs_top_srcdir@
,$ac_abs_top_srcdir,;t t
41369 s
,@builddir@
,$ac_builddir,;t t
41370 s
,@abs_builddir@
,$ac_abs_builddir,;t t
41371 s
,@top_builddir@
,$ac_top_builddir,;t t
41372 s
,@abs_top_builddir@
,$ac_abs_top_builddir,;t t
41373 s
,@INSTALL@
,$ac_INSTALL,;t t
41374 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
41376 if test x"$ac_file" != x-; then
41377 mv $tmp/out $ac_file
41385 cat >>$CONFIG_STATUS <<\_ACEOF
41388 # CONFIG_HEADER section.
41391 # These sed commands are passed to sed as "A NAME B NAME C VALUE D
", where
41392 # NAME is the cpp macro being defined and VALUE is the value it is being given.
41394 # ac_d sets the value in "#define NAME VALUE" lines.
41395 ac_dA
='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
41396 ac_dB
='[ ].*$,\1#\2'
41399 # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
41400 ac_uA
='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
41401 ac_uB
='$,\1#\2define\3'
41405 for ac_file
in : $CONFIG_HEADERS; do test "x$ac_file" = x
: && continue
41406 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
41408 - | *:- | *:-:* ) # input from stdin
41410 ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
41411 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
41412 *:* ) ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
41413 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
41414 * ) ac_file_in
=$ac_file.
in ;;
41417 test x
"$ac_file" != x
- && { echo "$as_me:$LINENO: creating $ac_file" >&5
41418 echo "$as_me: creating $ac_file" >&6;}
41420 # First look for the input files in the build tree, otherwise in the
41422 ac_file_inputs
=`IFS=:
41423 for f in $ac_file_in; do
41425 -) echo $tmp/stdin ;;
41427 # Absolute (can't be DOS-style, as IFS=:)
41428 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
41429 echo "$as_me: error: cannot find input file: $f" >&2;}
41430 { (exit 1); exit 1; }; }
41431 # Do quote $f, to prevent DOS paths from being IFS'd.
41434 if test -f "$f"; then
41437 elif test -f "$srcdir/$f"; then
41442 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
41443 echo "$as_me: error: cannot find input file: $f" >&2;}
41444 { (exit 1); exit 1; }; }
41447 done` || { (exit 1); exit 1; }
41448 # Remove the trailing spaces.
41449 sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
41453 # Transform confdefs.h into two sed scripts, `conftest.defines' and
41454 # `conftest.undefs', that substitutes the proper values into
41455 # config.h.in to produce config.h. The first handles `#define'
41456 # templates, and the second `#undef' templates.
41457 # And first: Protect against being on the right side of a sed subst in
41458 # config.status. Protect against being in an unquoted here document
41459 # in config.status.
41460 rm -f conftest.defines conftest.undefs
41461 # Using a here document instead of a string reduces the quoting nightmare.
41462 # Putting comments in sed scripts is not portable.
41464 # `end' is used to avoid that the second main sed command (meant for
41465 # 0-ary CPP macros) applies to n-ary macro definitions.
41466 # See the Autoconf documentation for `clear'.
41467 cat >confdef2sed.
sed <<\_ACEOF
41472 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
41474 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
41477 # If some macros were called several times there might be several times
41478 # the same #defines, which is useless. Nevertheless, we may not want to
41479 # sort them, since we want the *last* AC-DEFINE to be honored.
41480 uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
41481 sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
41482 rm -f confdef2sed.sed
41484 # This sed command replaces #undef with comments. This is necessary, for
41485 # example, in the case of _POSIX_SOURCE, which is predefined and required
41486 # on some systems where configure will not decide to define it.
41487 cat >>conftest.undefs <<\_ACEOF
41488 s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
41491 # Break up conftest.defines because some shells have a limit on the size
41492 # of here documents, and old seds have small limits too (100 cmds).
41493 echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
41494 echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
41495 echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
41496 echo ' :' >>$CONFIG_STATUS
41497 rm -f conftest.tail
41498 while grep . conftest.defines >/dev/null
41500 # Write a limited-size here document to $tmp/defines.sed.
41501 echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
41502 # Speed up: don't consider the non `#define' lines.
41503 echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
41504 # Work around the forget-to-reset-the-flag bug.
41505 echo 't clr' >>$CONFIG_STATUS
41506 echo ': clr' >>$CONFIG_STATUS
41507 sed ${ac_max_here_lines}q conftest.defines
>>$CONFIG_STATUS
41509 sed -f $tmp/defines.sed $tmp/in >$tmp/out
41511 mv $tmp/out $tmp/in
41513 sed 1,${ac_max_here_lines}d conftest.defines
>conftest.
tail
41514 rm -f conftest.defines
41515 mv conftest.
tail conftest.defines
41517 rm -f conftest.defines
41518 echo ' fi # grep' >>$CONFIG_STATUS
41519 echo >>$CONFIG_STATUS
41521 # Break up conftest.undefs because some shells have a limit on the size
41522 # of here documents, and old seds have small limits too (100 cmds).
41523 echo ' # Handle all the #undef templates' >>$CONFIG_STATUS
41524 rm -f conftest.
tail
41525 while grep . conftest.undefs
>/dev
/null
41527 # Write a limited-size here document to $tmp/undefs.sed.
41528 echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
41529 # Speed up: don't consider the non
`#undef'
41530 echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
41531 # Work around the forget-to-reset-the-flag bug.
41532 echo 't clr' >>$CONFIG_STATUS
41533 echo ': clr' >>$CONFIG_STATUS
41534 sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
41536 sed -f $tmp/undefs.sed $tmp/in >$tmp/out
41538 mv $tmp/out $tmp/in
41540 sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
41541 rm -f conftest.undefs
41542 mv conftest.tail conftest.undefs
41544 rm -f conftest.undefs
41546 cat >>$CONFIG_STATUS <<\_ACEOF
41547 # Let's still pretend it is `configure
' which instantiates (i.e., don't
41548 # use $as_me), people would be surprised to read:
41549 # /* config.h. Generated by config.status. */
41550 if test x
"$ac_file" = x
-; then
41551 echo "/* Generated by configure. */" >$tmp/config.h
41553 echo "/* $ac_file. Generated by configure. */" >$tmp/config.h
41555 cat $tmp/in >>$tmp/config.h
41557 if test x
"$ac_file" != x
-; then
41558 if diff $ac_file $tmp/config.h
>/dev
/null
2>&1; then
41559 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
41560 echo "$as_me: $ac_file is unchanged" >&6;}
41562 ac_dir
=`(dirname "$ac_file") 2>/dev/null ||
41563 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
41564 X"$ac_file" : 'X\(//\)[^/]' \| \
41565 X"$ac_file" : 'X\(//\)$' \| \
41566 X"$ac_file" : 'X\(/\)' \| \
41567 . : '\(.\)' 2>/dev/null ||
41569 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
41570 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
41571 /^X\(\/\/\)$/{ s//\1/; q; }
41572 /^X\(\/\).*/{ s//\1/; q; }
41574 { if $as_mkdir_p; then
41579 while test ! -d "$as_dir"; do
41580 as_dirs
="$as_dir $as_dirs"
41581 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
41582 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
41583 X"$as_dir" : 'X\(//\)[^/]' \| \
41584 X"$as_dir" : 'X\(//\)$' \| \
41585 X"$as_dir" : 'X\(/\)' \| \
41586 . : '\(.\)' 2>/dev/null ||
41588 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
41589 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
41590 /^X\(\/\/\)$/{ s//\1/; q; }
41591 /^X\(\/\).*/{ s//\1/; q; }
41594 test ! -n "$as_dirs" || mkdir $as_dirs
41595 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
41596 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
41597 { (exit 1); exit 1; }; }; }
41600 mv $tmp/config.h
$ac_file
41604 rm -f $tmp/config.h
41608 cat >>$CONFIG_STATUS <<\_ACEOF
41611 # CONFIG_COMMANDS section.
41613 for ac_file
in : $CONFIG_COMMANDS; do test "x$ac_file" = x
: && continue
41614 ac_dest
=`echo "$ac_file" | sed 's,:.*,,'`
41615 ac_source
=`echo "$ac_file" | sed 's,[^:]*:,,'`
41616 ac_dir
=`(dirname "$ac_dest") 2>/dev/null ||
41617 $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
41618 X"$ac_dest" : 'X\(//\)[^/]' \| \
41619 X"$ac_dest" : 'X\(//\)$' \| \
41620 X"$ac_dest" : 'X\(/\)' \| \
41621 . : '\(.\)' 2>/dev/null ||
41623 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
41624 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
41625 /^X\(\/\/\)$/{ s//\1/; q; }
41626 /^X\(\/\).*/{ s//\1/; q; }
41628 { if $as_mkdir_p; then
41633 while test ! -d "$as_dir"; do
41634 as_dirs
="$as_dir $as_dirs"
41635 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
41636 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
41637 X"$as_dir" : 'X\(//\)[^/]' \| \
41638 X"$as_dir" : 'X\(//\)$' \| \
41639 X"$as_dir" : 'X\(/\)' \| \
41640 . : '\(.\)' 2>/dev/null ||
41642 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
41643 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
41644 /^X\(\/\/\)$/{ s//\1/; q; }
41645 /^X\(\/\).*/{ s//\1/; q; }
41648 test ! -n "$as_dirs" || mkdir $as_dirs
41649 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
41650 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
41651 { (exit 1); exit 1; }; }; }
41655 if test "$ac_dir" != .
; then
41656 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
41657 # A "../" for each directory in $ac_dir_suffix.
41658 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
41660 ac_dir_suffix
= ac_top_builddir
=
41664 .
) # No --srcdir option. We are building in place.
41666 if test -z "$ac_top_builddir"; then
41669 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
41671 [\\/]* | ?
:[\\/]* ) # Absolute path.
41672 ac_srcdir
=$srcdir$ac_dir_suffix;
41673 ac_top_srcdir
=$srcdir ;;
41674 *) # Relative path.
41675 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
41676 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
41679 # Do not use `cd foo && pwd` to compute absolute paths, because
41680 # the directories may not exist.
41682 .
) ac_abs_builddir
="$ac_dir";;
41685 .
) ac_abs_builddir
=`pwd`;;
41686 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
41687 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
41690 case $ac_abs_builddir in
41691 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
41693 case ${ac_top_builddir}.
in
41694 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
41695 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
41696 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
41699 case $ac_abs_builddir in
41700 .
) ac_abs_srcdir
=$ac_srcdir;;
41703 .
) ac_abs_srcdir
=$ac_abs_builddir;;
41704 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
41705 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
41708 case $ac_abs_builddir in
41709 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
41711 case $ac_top_srcdir in
41712 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
41713 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
41714 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
41719 { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
41720 echo "$as_me: executing $ac_dest commands" >&6;}
41723 if test ! -h wx
-config; then
41725 mv wx
-config wx
${TOOLCHAIN_NAME}-config
41726 ${LN_S} wx
${TOOLCHAIN_NAME}-config wx
-config
41729 if test ! -d lib
; then
41732 if test ! -d lib
/wx
; then
41735 if test ! -d lib
/wx
/include
; then
41736 mkdir lib
/wx
/include
41738 if test ! -d lib
/wx
/include
/${TOOLCHAIN_NAME}; then
41739 mkdir lib
/wx
/include
/${TOOLCHAIN_NAME}
41741 if test ! -d lib
/wx
/include
/${TOOLCHAIN_NAME}/wx
; then
41742 mkdir lib
/wx
/include
/${TOOLCHAIN_NAME}/wx
41744 if test -f setup.h
; then
41745 mv -f setup.h lib
/wx
/include
/${TOOLCHAIN_NAME}/wx
/setup.h
41752 cat >>$CONFIG_STATUS <<\_ACEOF
41754 { (exit 0); exit 0; }
41756 chmod +x
$CONFIG_STATUS
41757 ac_clean_files
=$ac_clean_files_save
41760 # configure is writing to config.log, and then calls config.status.
41761 # config.status does its own redirection, appending to config.log.
41762 # Unfortunately, on DOS this fails, as config.log is still kept open
41763 # by configure, so config.status won't be able to write to it; its
41764 # output is simply discarded. So we exec the FD to /dev/null,
41765 # effectively closing config.log, so it can be properly (re)opened and
41766 # appended to by config.status. When coming back to configure, we
41767 # need to make the FD available again.
41768 if test "$no_create" != yes; then
41770 ac_config_status_args
=
41771 test "$silent" = yes &&
41772 ac_config_status_args
="$ac_config_status_args --quiet"
41774 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
41776 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
41777 # would make configure fail if this is the last instruction.
41778 $ac_cs_success || { (exit 1); exit 1; }
41782 # CONFIG_SUBDIRS section.
41784 if test "$no_recursion" != yes; then
41786 # Remove --cache-file and --srcdir arguments so they do not pile up.
41787 ac_sub_configure_args
=
41789 for ac_arg
in $ac_configure_args; do
41790 if test -n "$ac_prev"; then
41795 -cache-file | --cache-file | --cache-fil | --cache-fi \
41796 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
41797 ac_prev
=cache_file
;;
41798 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
41799 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* \
41802 --config-cache | -C)
41804 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
41806 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
41808 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
41810 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
41812 *) ac_sub_configure_args
="$ac_sub_configure_args $ac_arg" ;;
41816 # Always prepend --prefix to ensure using the same prefix
41817 # in subdir configurations.
41818 ac_sub_configure_args
="--prefix=$prefix $ac_sub_configure_args"
41821 for ac_dir
in : $subdirs; do test "x$ac_dir" = x
: && continue
41823 # Do not complain, so a configure script can configure whichever
41824 # parts of a large source tree are present.
41825 test -d $srcdir/$ac_dir || continue
41827 { echo "$as_me:$LINENO: configuring in $ac_dir" >&5
41828 echo "$as_me: configuring in $ac_dir" >&6;}
41829 { if $as_mkdir_p; then
41834 while test ! -d "$as_dir"; do
41835 as_dirs
="$as_dir $as_dirs"
41836 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
41837 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
41838 X"$as_dir" : 'X\(//\)[^/]' \| \
41839 X"$as_dir" : 'X\(//\)$' \| \
41840 X"$as_dir" : 'X\(/\)' \| \
41841 . : '\(.\)' 2>/dev/null ||
41843 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
41844 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
41845 /^X\(\/\/\)$/{ s//\1/; q; }
41846 /^X\(\/\).*/{ s//\1/; q; }
41849 test ! -n "$as_dirs" || mkdir $as_dirs
41850 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
41851 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
41852 { (exit 1); exit 1; }; }; }
41856 if test "$ac_dir" != .
; then
41857 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
41858 # A "../" for each directory in $ac_dir_suffix.
41859 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
41861 ac_dir_suffix
= ac_top_builddir
=
41865 .
) # No --srcdir option. We are building in place.
41867 if test -z "$ac_top_builddir"; then
41870 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
41872 [\\/]* | ?
:[\\/]* ) # Absolute path.
41873 ac_srcdir
=$srcdir$ac_dir_suffix;
41874 ac_top_srcdir
=$srcdir ;;
41875 *) # Relative path.
41876 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
41877 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
41880 # Do not use `cd foo && pwd` to compute absolute paths, because
41881 # the directories may not exist.
41883 .
) ac_abs_builddir
="$ac_dir";;
41886 .
) ac_abs_builddir
=`pwd`;;
41887 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
41888 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
41891 case $ac_abs_builddir in
41892 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
41894 case ${ac_top_builddir}.
in
41895 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
41896 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
41897 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
41900 case $ac_abs_builddir in
41901 .
) ac_abs_srcdir
=$ac_srcdir;;
41904 .
) ac_abs_srcdir
=$ac_abs_builddir;;
41905 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
41906 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
41909 case $ac_abs_builddir in
41910 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
41912 case $ac_top_srcdir in
41913 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
41914 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
41915 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
41922 # Check for guested configure; otherwise get Cygnus style configure.
41923 if test -f $ac_srcdir/configure.gnu
; then
41924 ac_sub_configure
="$SHELL '$ac_srcdir/configure.gnu'"
41925 elif test -f $ac_srcdir/configure
; then
41926 ac_sub_configure
="$SHELL '$ac_srcdir/configure'"
41927 elif test -f $ac_srcdir/configure.
in; then
41928 ac_sub_configure
=$ac_configure
41930 { echo "$as_me:$LINENO: WARNING: no configuration information is in $ac_dir" >&5
41931 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;}
41935 # The recursion is here.
41936 if test -n "$ac_sub_configure"; then
41937 # Make the cache file name correct relative to the subdirectory.
41938 case $cache_file in
41939 [\\/]* | ?
:[\\/]* ) ac_sub_cache_file
=$cache_file ;;
41940 *) # Relative path.
41941 ac_sub_cache_file
=$ac_top_builddir$cache_file ;;
41944 { echo "$as_me:$LINENO: running $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&5
41945 echo "$as_me: running $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;}
41946 # The eval makes quoting arguments work.
41947 eval $ac_sub_configure $ac_sub_configure_args \
41948 --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir ||
41949 { { echo "$as_me:$LINENO: error: $ac_sub_configure failed for $ac_dir" >&5
41950 echo "$as_me: error: $ac_sub_configure failed for $ac_dir" >&2;}
41951 { (exit 1); exit 1; }; }
41960 echo "Configured wxWindows ${WX_VERSION} for \`${host}'"
41962 echo " Which GUI toolkit should wxWindows use? ${TOOLKIT_LOWERCASE:-base only}"
41963 echo " Should wxWindows be compiled into single library? ${wxUSE_MONOLITHIC:-yes}"
41965 echo " Should wxWindows be compiled in debug mode? ${wxUSE_DEBUG:-no}"
41966 echo " Should wxWindows be linked as a shared library? ${wxUSE_SHARED:-no}"
41967 echo " Should wxWindows be compiled in Unicode mode? ${wxUSE_UNICODE:-no}"
41969 echo " What level of wxWindows compatibility should be enabled?"
41970 echo " wxWindows 2.2 ${WXWIN_COMPATIBILITY_2_2:-no}"
41971 echo " wxWindows 2.4 ${WXWIN_COMPATIBILITY_2_4:-yes}"
41973 echo " Which libraries should wxWindows use?"
41974 echo " jpeg ${wxUSE_LIBJPEG-none}"
41975 echo " png ${wxUSE_LIBPNG-none}"
41976 echo " regex ${wxUSE_REGEX}"
41977 echo " tiff ${wxUSE_LIBTIFF-none}"
41978 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
41979 echo " xpm ${wxUSE_LIBXPM-none}"
41981 echo " zlib ${wxUSE_ZLIB}"
41982 echo " odbc ${wxUSE_ODBC}"
41983 echo " expat ${wxUSE_EXPAT}"
41984 echo " libmspack ${wxUSE_LIBMSPACK}"
41985 echo " sdl ${wxUSE_LIBSDL}"